Current Path : /home/church/www/aecedeals.com/wp-content/themes/hello-elementor/assets/js/ |
Current File : /home/church/www/aecedeals.com/wp-content/themes/hello-elementor/assets/js/hello-admin.min.js.map |
{"version":3,"file":"hello-admin.min.js","mappings":"4GASEA,EAAAA,YATyBC,EAAIC,QAAOC,QAAOC,UAASC,SAAQC,UAE5DC,MAAAC,cAAA,OAAKC,UAAU,iCACdF,MAAAC,cAAA,OAAKE,IAAMR,EAAQS,IAAI,cACvBJ,MAAAC,cAAA,KAAGC,UAAU,wCAAyCN,GACtDI,MAAAC,cAAA,KAAGC,UAAU,0CAA2CL,GACxDG,MAAAC,cAAA,KAAGC,UAAU,iCAAiCG,KAAON,EAAOO,OAAO,SAASC,IAAI,cAAeT,G,iHCNlG,IAAAU,EAAAC,EAAA,KACAC,EAAAD,EAAA,KACAE,EAAAF,EAAA,KACAG,EAAAH,EAAA,KACAI,EAAAC,EAAAL,EAAA,MACAM,EAAAN,EAAA,KACAO,EAAAP,EAAA,KACAQ,EAAAR,EAAA,KAEA,MAAMS,QAAUA,KACf,MAAMC,GAAU,EAAAC,EAAAA,YACbC,GACDA,EAAQC,EAAAA,OACNC,aACAC,QAAUC,GAAY,aAAeA,EAAOC,QAC/C,KAGK,aAAEC,IAAiB,EAAAC,EAAAA,aAAaN,EAAAA,OAEtC,OACCtB,MAAAC,cAACc,EAAAc,aAAY,CACZ3B,UAAU,oBACViB,QAAUA,EACVW,SAAWH,GACV,EAIEI,EAAW,CAChBC,qBAAsB,wBACtBC,UAAW,aACXC,cAAe,iBACfC,WAAY,cACZC,YAAa,eACbC,YAAa,gBAuGZ5C,EAAAA,aApG0B6C,KAC3B,MAAQC,EAAWC,IAAiB,EAAAC,EAAAA,WAAU,IACtCC,EAAcC,IAAoB,EAAAF,EAAAA,UAAU,CAAC,GAE/CG,EAAiB,2BA8DvB,OAzBA,EAAAC,EAAAA,YAAW,KAkBLN,GAjBiBO,WACrB,UACOC,EAAAA,QAAIC,YACV,MAAMC,EAAW,IAAIF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Y,CAGjDjH,QAAS,CAAC,GAOX,OAHAoH,EAAoBH,GAAUL,EAAQA,EAAO5G,QAASgH,qBAG/CJ,EAAO5G,OACf,CCrBAgH,oBAAoBK,EAAKrH,IACH,oBAAXsH,QAA0BA,OAAOC,aAC1CzD,OAAO0D,eAAexH,EAASsH,OAAOC,YAAa,CAAEtD,MAAO,WAE7DH,OAAO0D,eAAexH,EAAS,aAAc,CAAEiE,OAAO,GAAO,E,mBCL9DjD,oBAAA,KACA,IAAAyG,EAAAzG,oBAAA,KACA0G,EAAA1G,oBAAA,KAEA,MAAM2G,IAAMA,IACJpH,MAAAC,cAACkH,EAAA7E,aAAY,MAGrB+E,SAASC,iBAAkB,oBAAoB,KAC9C,MAAMC,EAAcF,SAASG,eAAgB,4BAExCD,IACJ,EAAAE,EAAAA,QACCzH,MAAAC,cAACmH,IAAG,MACJG,EAEF,G","sources":["webpack://elementor-hello-theme/./assets/dev/js/admin/components/action-links.js","webpack://elementor-hello-theme/./assets/dev/js/admin/pages/settings-page.js","webpack://elementor-hello-theme/./assets/dev/js/admin/panels/action-links-panel.js","webpack://elementor-hello-theme/./assets/dev/js/admin/panels/settings-panel.js","webpack://elementor-hello-theme/external window \"React\"","webpack://elementor-hello-theme/external window [\"wp\",\"api\"]","webpack://elementor-hello-theme/external window [\"wp\",\"components\"]","webpack://elementor-hello-theme/external window [\"wp\",\"data\"]","webpack://elementor-hello-theme/external window [\"wp\",\"element\"]","webpack://elementor-hello-theme/external window [\"wp\",\"i18n\"]","webpack://elementor-hello-theme/external window [\"wp\",\"notices\"]","webpack://elementor-hello-theme/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://elementor-hello-theme/webpack/bootstrap","webpack://elementor-hello-theme/webpack/runtime/make namespace object","webpack://elementor-hello-theme/./assets/dev/js/admin/hello-admin.js"],"sourcesContent":["export const ActionLinks = ( { image, title, message, button, link } ) => {\n\treturn (\n\t\t<div className=\"hello_elementor__action_links\">\n\t\t\t<img src={ image } alt=\"Elementor\" />\n\t\t\t<p className=\"hello_elementor__action_links__title\">{ title }</p>\n\t\t\t<p className=\"hello_elementor__action_links__message\">{ message }</p>\n\t\t\t<a className=\"components-button is-secondary\" href={ link } target=\"_blank\" rel=\"noreferrer\">{ button }</a>\n\t\t</div>\n\t);\n};\n","import { useState, useEffect, Fragment } from 'react';\nimport { store as noticesStore } from '@wordpress/notices';\nimport { dispatch, useDispatch, useSelect } from '@wordpress/data';\nimport { __ } from '@wordpress/i18n';\nimport api from '@wordpress/api';\nimport { Button, Panel, Placeholder, Spinner, SnackbarList } from '@wordpress/components';\nimport { SettingsPanel } from './../panels/settings-panel.js';\nimport { ActionLinksPanel } from '../panels/action-links-panel.js';\n\nconst Notices = () => {\n\tconst notices = useSelect(\n\t\t( select ) =>\n\t\t\tselect( noticesStore )\n\t\t\t\t.getNotices()\n\t\t\t\t.filter( ( notice ) => 'snackbar' === notice.type ),\n\t\t[],\n\t);\n\n\tconst { removeNotice } = useDispatch( noticesStore );\n\n\treturn (\n\t\t<SnackbarList\n\t\t\tclassName=\"edit-site-notices\"\n\t\t\tnotices={ notices }\n\t\t\tonRemove={ removeNotice }\n\t\t/>\n\t);\n};\n\nconst SETTINGS = {\n\tDESCRIPTION_META_TAG: '_description_meta_tag',\n\tSKIP_LINK: '_skip_link',\n\tHEADER_FOOTER: '_header_footer',\n\tPAGE_TITLE: '_page_title',\n\tHELLO_STYLE: '_hello_style',\n\tHELLO_THEME: '_hello_theme',\n};\n\nexport const SettingsPage = () => {\n\tconst [ hasLoaded, setHasLoaded ] = useState( false );\n\tconst [ settingsData, setSettingsData ] = useState( {} );\n\n\tconst settingsPrefix = 'hello_elementor_settings';\n\n\t/**\n\t * Update settings data.\n\t *\n\t * @param {string} settingsName\n\t * @param {string} settingsValue\n\t */\n\tconst updateSettings = ( settingsName, settingsValue ) => {\n\t\tsetSettingsData( {\n\t\t\t...settingsData,\n\t\t\t[ settingsName ]: settingsValue,\n\t\t} );\n\t};\n\n\t/**\n\t * Save settings to server.\n\t */\n\tconst saveSettings = () => {\n\t\tconst data = {};\n\n\t\tObject.values( SETTINGS ).forEach( ( value ) => data[ `${ settingsPrefix }${ value }` ] = settingsData[ value ] ? 'true' : '' );\n\n\t\tconst settings = new api.models.Settings( data );\n\n\t\tsettings.save();\n\n\t\tdispatch( 'core/notices' ).createNotice(\n\t\t\t'success',\n\t\t\t__( 'Settings Saved', 'hello-elementor' ),\n\t\t\t{\n\t\t\t\ttype: 'snackbar',\n\t\t\t\tisDismissible: true,\n\t\t\t},\n\t\t);\n\t};\n\n\tuseEffect( () => {\n\t\tconst fetchSettings = async () => {\n\t\t\ttry {\n\t\t\t\tawait api.loadPromise;\n\t\t\t\tconst settings = new api.models.Settings();\n\t\t\t\tconst response = await settings.fetch();\n\n\t\t\t\tconst data = {};\n\t\t\t\tObject.values( SETTINGS ).forEach( ( value ) => data[ value ] = response[ `${ settingsPrefix }${ value }` ] );\n\n\t\t\t\tsetSettingsData( data );\n\t\t\t\tsetHasLoaded( true );\n\t\t\t} catch ( error ) {\n\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\tconsole.error( error );\n\t\t\t}\n\t\t};\n\n\t\tif ( hasLoaded ) {\n\t\t\treturn;\n\t\t}\n\n\t\tfetchSettings();\n\t}, [ settingsData ] );\n\n\tif ( ! hasLoaded ) {\n\t\treturn (\n\t\t\t<Placeholder>\n\t\t\t\t<Spinner />\n\t\t\t</Placeholder>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Fragment>\n\t\t\t<div className=\"hello_elementor__header\">\n\t\t\t\t<div className=\"hello_elementor__container\">\n\t\t\t\t\t<div className=\"hello_elementor__title\">\n\t\t\t\t\t\t<h1>{ __( 'Hello Theme Settings', 'hello-elementor' ) }</h1>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div className=\"hello_elementor__main\">\n\t\t\t\t<Panel>\n\n\t\t\t\t\t<SettingsPanel { ...{ SETTINGS, settingsData, updateSettings } } />\n\n\t\t\t\t\t<Button isPrimary onClick={ saveSettings }>\n\t\t\t\t\t\t{ __( 'Save Settings', 'hello-elementor' ) }\n\t\t\t\t\t</Button>\n\n\t\t\t\t</Panel>\n\t\t\t\t<ActionLinksPanel />\n\t\t\t</div>\n\t\t\t<div className=\"hello_elementor__notices\">\n\t\t\t\t<Notices />\n\t\t\t</div>\n\t\t</Fragment>\n\t);\n};\n","import { __ } from '@wordpress/i18n';\nimport { ActionLinks } from '../components/action-links.js';\n\nconst actionLinks = {\n\t'install-elementor':\n\t\t{\n\t\t\timage: helloAdminData.templateDirectoryURI + '/assets/images/elementor.svg',\n\t\t\ttitle: __( 'Install Elementor', 'hello-elementor' ),\n\t\t\tmessage: __( 'Create cross-site header & footer using Elementor.', 'hello-elementor' ),\n\t\t\tbutton: __( 'Install Elementor', 'hello-elementor' ),\n\t\t\tlink: helloAdminData.actionLinkURL,\n\t\t},\n\t'activate-elementor':\n\t\t{\n\t\t\timage: helloAdminData.templateDirectoryURI + '/assets/images/elementor.svg',\n\t\t\ttitle: __( 'Activate Elementor', 'hello-elementor' ),\n\t\t\tmessage: __( 'Create cross-site header & footer using Elementor.', 'hello-elementor' ),\n\t\t\tbutton: __( 'Activate Elementor', 'hello-elementor' ),\n\t\t\tlink: helloAdminData.actionLinkURL,\n\t\t},\n\t'activate-header-footer-experiment':\n\t\t{\n\t\t\timage: helloAdminData.templateDirectoryURI + '/assets/images/elementor.svg',\n\t\t\ttitle: __( 'Style using Elementor', 'hello-elementor' ),\n\t\t\tmessage: __( 'Design your cross-site header & footer from Elementor’s \"Site Settings\" panel.', 'hello-elementor' ),\n\t\t\tbutton: __( 'Activate Hello theme header & footer experiment', 'hello-elementor' ),\n\t\t\tlink: helloAdminData.actionLinkURL,\n\t\t},\n\t'style-header-footer':\n\t\t{\n\t\t\timage: helloAdminData.templateDirectoryURI + '/assets/images/elementor.svg',\n\t\t\ttitle: __( 'Style cross-site header & footer', 'hello-elementor' ),\n\t\t\tmessage: __( 'Customize your cross-site header & footer from Elementor’s \"Site Settings\" panel.', 'hello-elementor' ),\n\t\t\tbutton: __( 'Start Designing', 'hello-elementor' ),\n\t\t\tlink: helloAdminData.actionLinkURL,\n\t\t},\n};\n\nexport const ActionLinksPanel = () => {\n\tif ( ! helloAdminData.actionLinkType ) {\n\t\treturn;\n\t}\n\n\treturn <ActionLinks { ...actionLinks[ helloAdminData.actionLinkType ] } />;\n};\n","import { __ } from '@wordpress/i18n';\nimport { PanelBody, ToggleControl, Notice, Dashicon } from '@wordpress/components';\n\nexport const SettingsPanel = ( { SETTINGS, settingsData, updateSettings } ) => {\n\tconst protocol = window.location.protocol || 'https:';\n\tconst hostname = window.location.hostname || 'example.com';\n\tconst prefix = protocol + '//' + hostname;\n\n\treturn (\n\t\t<PanelBody title={ __( 'Hello Theme Settings', 'hello-elementor' ) } >\n\n\t\t\t<Notice status=\"warning\" isDismissible=\"false\">\n\t\t\t\t<Dashicon icon=\"flag\" />\n\t\t\t\t{ __( 'Be cautious, disabling some of the following options may break your website.', 'hello-elementor' ) }\n\t\t\t</Notice>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Disable description meta tag', 'hello-elementor' ) }\n\t\t\t\thelp={ __( 'Remove the description meta tag in singular content pages that contain an excerpt.', 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.DESCRIPTION_META_TAG ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.DESCRIPTION_META_TAG, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <meta name="description" content="..." /> </code>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Disable skip link', 'hello-elementor' ) }\n\t\t\t\thelp={ __( 'Remove the \"Skip to content\" link used by screen-readers and users navigating with a keyboard.', 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.SKIP_LINK ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.SKIP_LINK, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <a class="skip-link screen-reader-text" href="#content"> Skip to content </a> </code>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Disable cross-site header & footer', 'hello-elementor' ) }\n\t\t\t\thelp={ __( 'Remove the header & footer sections from all pages, and their CSS/JS files.', 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.HEADER_FOOTER ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.HEADER_FOOTER, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <header id="site-header" class="site-header"> ... </header> </code>\n\t\t\t<code className=\"code-example\"> <footer id="site-footer" class="site-footer"> ... </footer> </code>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Disable page title', 'hello-elementor' ) }\n\t\t\t\thelp={ __( 'Remove the section above the content that contains the main heading of the page.', 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.PAGE_TITLE ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.PAGE_TITLE, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <header class="page-header"> <h1 class="entry-title"> Post title </h1> </header> </code>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Unregister Hello style.css', 'hello-elementor' ) }\n\t\t\t\thelp={ __( \"Disable Hello theme's style.css file which contains CSS reset rules for unified cross-browser view.\", 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.HELLO_STYLE ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.HELLO_STYLE, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <link rel="stylesheet" href="{ prefix }/wp-content/themes/hello-elementor/style.min.css" /> </code>\n\n\t\t\t<ToggleControl\n\t\t\t\tlabel={ __( 'Unregister Hello theme.css', 'hello-elementor' ) }\n\t\t\t\thelp={ __( \"Disable Hello theme's theme.css file which contains CSS rules that style WordPress elements.\", 'hello-elementor' ) }\n\t\t\t\tchecked={ !! settingsData[ SETTINGS.HELLO_THEME ] || false }\n\t\t\t\tonChange={ ( value ) => updateSettings( SETTINGS.HELLO_THEME, value ) }\n\t\t\t/>\n\t\t\t<code className=\"code-example\"> <link rel="stylesheet" href="{ prefix }/wp-content/themes/hello-elementor/theme.min.css" /> </code>\n\n\t\t</PanelBody>\n\t);\n};\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"api\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"notices\"];","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;","// 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","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import './hello-admin.scss';\nimport { render } from '@wordpress/element';\nimport { SettingsPage } from './pages/settings-page.js';\n\nconst App = () => {\n\treturn <SettingsPage />;\n};\n\ndocument.addEventListener( 'DOMContentLoaded', () => {\n\tconst rootElement = document.getElementById( 'hello-elementor-settings' );\n\n\tif ( rootElement ) {\n\t\trender(\n\t\t\t<App />,\n\t\t\trootElement,\n\t\t);\n\t}\n} );\n"],"names":["exports","ActionLinks","image","title","message","button","link","React","createElement","className","src","alt","href","target","rel","_react","require","_notices","_data","_i18n","_api","_interopRequireDefault","_components","_settingsPanel","_actionLinksPanel","Notices","notices","useSelect","select","noticesStore","getNotices","filter","notice","type","removeNotice","useDispatch","SnackbarList","onRemove","SETTINGS","DESCRIPTION_META_TAG","SKIP_LINK","HEADER_FOOTER","PAGE_TITLE","HELLO_STYLE","HELLO_THEME","SettingsPage","hasLoaded","setHasLoaded","useState","settingsData","setSettingsData","settingsPrefix","useEffect","async","api","loadPromise","settings","models","Settings","response","fetch","data","Object","values","forEach","value","error","console","fetchSettings","Fragment","__","Panel","SettingsPanel","updateSettings","settingsName","settingsValue","Button","isPrimary","onClick","saveSettings","save","dispatch","createNotice","isDismissible","ActionLinksPanel","Placeholder","Spinner","_actionLinks","actionLinks","helloAdminData","templateDirectoryURI","actionLinkURL","actionLinkType","prefix","window","location","protocol","hostname","PanelBody","Notice","status","Dashicon","icon","ToggleControl","label","help","checked","onChange","module","obj","__esModule","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","r","Symbol","toStringTag","defineProperty","_element","_settingsPage","App","document","addEventListener","rootElement","getElementById","render"],"sourceRoot":""}