OwlCyberSecurity - MANAGER
Edit File: wcsettings-deprecation.js
(()=>{"use strict";var e={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),window.wp.element;const t=window.wp.i18n,o=window.wc.wcSettings,n=["wcAdminSettings","preloadSettings"],i=(0,o.getSetting)("admin",{}),r=Object.keys(i).reduce(((e,t)=>(n.includes(t)||(e[t]=i[t]),e)),{}),c={onboarding:{profile:"Deprecated: wcSettings.admin.onboarding.profile is deprecated. It is planned to be released in WooCommerce 10.0.0. Please use `getProfileItems` from the onboarding store. See https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/data/src/onboarding for more information.",euCountries:"Deprecated: wcSettings.admin.onboarding.euCountries is deprecated. Please use `/wc/v3/data/continents/eu` from the REST API. See https://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-continents for more information.",localInfo:'Deprecated: wcSettings.admin.onboarding.localInfo is deprecated. Please use `include WC()->plugin_path() . "/i18n/locale-info.php"` instead.',currencySymbols:'"Deprecated: wcSettings.admin.onboarding.currencySymbols is deprecated. Please use get_woocommerce_currency_symbols() function instead.'}};(0,o.getSetting)("adminUrl"),(0,o.getSetting)("countries"),(0,o.getSetting)("currency"),(0,o.getSetting)("locale"),(0,o.getSetting)("siteTitle"),(0,o.getSetting)("wcAssetUrl"),function(e,o=!1,i=e=>e){if(n.includes(e))throw new Error((0,t.__)("Mutable settings should be accessed via data store.","woocommerce"));i(r.hasOwnProperty(e)?r[e]:o,o)}("orderStatuses"),window.wcSettings&&c&&Object.keys(c).length,(window.wc=window.wc||{}).wcsettingsDeprecation=e})();