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/editor/component.js","webpack://elementor-hello-theme/./assets/dev/js/editor/hooks/ui/controls-hook.js","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/typeof.js","webpack://elementor-hello-theme/webpack/bootstrap","webpack://elementor-hello-theme/./assets/dev/js/editor/hello-editor.js"],"sourcesContent":["import ControlsHook from './hooks/ui/controls-hook';\nexport default class extends $e.modules.ComponentBase {\n\tpages = {};\n\n\tgetNamespace() {\n\t\treturn 'hello-elementor';\n\t}\n\n\tdefaultHooks() {\n\t\treturn this.importHooks( { ControlsHook } );\n\t}\n}\n","export default class ControlsHook extends $e.modules.hookUI.After {\n\tgetCommand() {\n\t\t// Command to listen.\n\t\treturn 'document/elements/settings';\n\t}\n\n\tgetId() {\n\t\t// Unique id for the hook.\n\t\treturn 'hello-elementor-editor-controls-handler';\n\t}\n\n\t/**\n\t * Get Hello Elementor Theme Controls\n\t *\n\t * Returns an object in which the keys are control IDs, and the values are the selectors of the elements that need\n\t * to be targeted in the apply() method.\n\t *\n\t * Example return value:\n\t * {\n\t * hello_elementor_show_logo: '.site-header .site-header-logo',\n\t * hello_elementor_show_menu: '.site-header .site-header-menu',\n\t * }\n\t */\n\tgetHelloThemeControls() {\n\t\treturn {\n\t\t\thello_header_logo_display: {\n\t\t\t\tselector: '.site-header .site-logo, .site-header .site-title',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_header_logo_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_menu_display: {\n\t\t\t\tselector: '.site-header .site-navigation, .site-header .site-navigation-toggle-holder',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_header_menu_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_tagline_display: {\n\t\t\t\tselector: '.site-header .site-description',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_header_tagline_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_logo_type: {\n\t\t\t\tselector: '.site-header .site-branding',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'show-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_header_logo_type.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_header_logo_type;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_layout: {\n\t\t\t\tselector: '.site-header',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'header-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_header_layout.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_header_layout;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_width: {\n\t\t\t\tselector: '.site-header',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'header-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_header_width.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_header_width;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_menu_layout: {\n\t\t\t\tselector: '.site-header',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'menu-layout-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_header_menu_layout.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_header_menu_layout;\n\n\t\t\t\t\t// No matter what, close the mobile menu\n\t\t\t\t\t$element.find( '.site-navigation-toggle-holder' ).removeClass( 'elementor-active' );\n\t\t\t\t\t$element.find( '.site-navigation-dropdown' ).removeClass( 'show' );\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_header_menu_dropdown: {\n\t\t\t\tselector: '.site-header',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'menu-dropdown-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_header_menu_dropdown.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_header_menu_dropdown;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_logo_display: {\n\t\t\t\tselector: '.site-footer .site-logo, .site-footer .site-title',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_footer_logo_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_tagline_display: {\n\t\t\t\tselector: '.site-footer .site-description',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_footer_tagline_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_menu_display: {\n\t\t\t\tselector: '.site-footer .site-navigation',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tthis.toggleShowHideClass( $element, args.settings.hello_footer_menu_display );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_copyright_display: {\n\t\t\t\tselector: '.site-footer .copyright',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst $footerContainer = $element.closest( '#site-footer' ),\n\t\t\t\t\t\tinputValue = args.settings.hello_footer_copyright_display;\n\n\t\t\t\t\tthis.toggleShowHideClass( $element, inputValue );\n\n\t\t\t\t\t$footerContainer.toggleClass( 'footer-has-copyright', 'yes' === inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_logo_type: {\n\t\t\t\tselector: '.site-footer .site-branding',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'show-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_footer_logo_type.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_footer_logo_type;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_layout: {\n\t\t\t\tselector: '.site-footer',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'footer-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_footer_layout.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_footer_layout;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_width: {\n\t\t\t\tselector: '.site-footer',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst classPrefix = 'footer-',\n\t\t\t\t\t\tinputOptions = args.container.controls.hello_footer_width.options,\n\t\t\t\t\t\tinputValue = args.settings.hello_footer_width;\n\n\t\t\t\t\tthis.toggleLayoutClass( $element, classPrefix, inputOptions, inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t\thello_footer_copyright_text: {\n\t\t\t\tselector: '.site-footer .copyright',\n\t\t\t\tcallback: ( $element, args ) => {\n\t\t\t\t\tconst inputValue = args.settings.hello_footer_copyright_text;\n\n\t\t\t\t\t$element.find( 'p' ).text( inputValue );\n\t\t\t\t},\n\t\t\t},\n\t\t};\n\t}\n\n\t/**\n\t * Toggle show and hide classes on containers\n\t *\n\t * This will remove the .show and .hide clases from the element, then apply the new class\n\t *\n\t * @param {jQuery} element\n\t * @param {string} inputValue\n\t */\n\ttoggleShowHideClass( element, inputValue ) {\n\t\telement.removeClass( 'hide' ).removeClass( 'show' ).addClass( inputValue ? 'show' : 'hide' );\n\t}\n\n\t/**\n\t * Toggle layout classes on containers\n\t *\n\t * This will cleanly set classes onto which ever container we want to target, removing the old classes and adding the new one\n\t *\n\t * @param {jQuery} element\n\t * @param {string} classPrefix\n\t * @param {Object} inputOptions\n\t * @param {string} inputValue\n\t *\n\t */\n\ttoggleLayoutClass( element, classPrefix, inputOptions, inputValue ) {\n\t\t// Loop through the possible classes and remove the one that's not in use\n\t\tObject.entries( inputOptions ).forEach( ( [ key ] ) => {\n\t\t\telement.removeClass( classPrefix + key );\n\t\t} );\n\n\t\t// Append the class which we want to use onto the element\n\t\tif ( '' !== inputValue ) {\n\t\t\telement.addClass( classPrefix + inputValue );\n\t\t}\n\t}\n\n\t/**\n\t * Set the conditions under which the hook will run.\n\t *\n\t * @param {Object} args\n\t */\n\tgetConditions( args ) {\n\t\tconst isKit = 'kit' === elementor.documents.getCurrent().config.type,\n\t\t\tchangedControls = Object.keys( args.settings ),\n\t\t\tisSingleSetting = 1 === changedControls.length;\n\n\t\t// If the document is not a kit, or there are no changed settings, or there is more than one single changed\n\t\t// setting, don't run the hook.\n\t\tif ( ! isKit || ! args.settings || ! isSingleSetting ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// If the changed control is in the list of theme controls, return true to run the hook.\n\t\t// Otherwise, return false so the hook doesn't run.\n\t\treturn !! Object.keys( this.getHelloThemeControls() ).includes( changedControls[ 0 ] );\n\t}\n\n\t/**\n\t * The hook logic.\n\t *\n\t * @param {Object} args\n\t */\n\tapply( args ) {\n\t\tconst allThemeControls = this.getHelloThemeControls(),\n\t\t\t// Extract the control ID from the passed args\n\t\t\tcontrolId = Object.keys( args.settings )[ 0 ],\n\t\t\tcontrolConfig = allThemeControls[ controlId ],\n\t\t\t// Find the element that needs to be targeted by the control.\n\t\t\t$element = elementor.$previewContents.find( controlConfig.selector );\n\n\t\tcontrolConfig.callback( $element, args );\n\t}\n}\n","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import HelloComponent from './component';\n\n$e.components.register( new HelloComponent() );\n"],"names":["_controlsHook","_interopRequireDefault","require","_default","$e","modules","ComponentBase","constructor","args","_defineProperty2","default","getNamespace","defaultHooks","importHooks","ControlsHook","exports","hookUI","After","getCommand","getId","getHelloThemeControls","hello_header_logo_display","selector","callback","$element","toggleShowHideClass","settings","hello_header_menu_display","hello_header_tagline_display","hello_header_logo_type","classPrefix","inputOptions","container","controls","options","inputValue","toggleLayoutClass","hello_header_layout","hello_header_width","hello_header_menu_layout","find","removeClass","hello_header_menu_dropdown","hello_footer_logo_display","hello_footer_tagline_display","hello_footer_menu_display","hello_footer_copyright_display","$footerContainer","closest","toggleClass","hello_footer_logo_type","hello_footer_layout","hello_footer_width","hello_footer_copyright_text","text","element","addClass","Object","entries","forEach","key","getConditions","isKit","elementor","documents","getCurrent","config","type","changedControls","keys","isSingleSetting","length","includes","apply","allThemeControls","controlId","controlConfig","$previewContents","_component","components","register","HelloComponent"],"sourceRoot":""}