티스토리 수익 글 보기

티스토리 수익 글 보기

/* For license information please see https://prod.adobeccstatic.com/License/LICENSE.txt */ /*! For license information please see UniversalNav.js.LICENSE.txt */ (()=>{var e,t,r={61:(e,t,r)=>{“use strict”;r.d(t,{Z:()=>n});const n={componentVsContentMap:{“app-switcher”:”AppLauncherPopover”,help:”HelpPopover”},componentVsLoaderMap:{profile:”ProfileLoader”,notifications:”NotificationLoader”},componentVsTooltipMap:{“app-switcher”:”APP_LAUNCHER_TOOLTIP”,help:”HELP_MENU_TOOLTIP”,cart:”CART_TOOLTIP”},THEMES:{LIGHT:”light”,DARK:”dark”,EXPRESS:”express”},childrenOrder:[“cart”,”help”,”notifications”,”app-switcher”,”profile”],unavCompVsWorkflowMap:{“app-switcher”:”App Switcher”,help:”Help”,notifications:”Notifications”,profile:”Profile”,cart:”Cart”},universalNavSentenceCase:”Universal Nav”,universalNavHyphenCase:”universal-nav”}},498:(e,t,r)=>{“use strict”;function n(e){return n=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},n(e)}function o(e,t){for(var r=0;rc});const c=new(i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}(this,e),this.observers=[],this.activeComponentState={isOpen:void 0,component:void 0},this.isTrayExperience=void 0,this.setTrayExperience=function(e){t.isTrayExperience=e},this.setActiveComponentState=function(e,r){var n=!1;if(e)t.activeComponentState={isOpen:!0,component:r},n=!0;else{var o=t.activeComponentState;o.isOpen&&o.component===r&&(t.activeComponentState={isOpen:void 0,component:void 0},n=!0)}n&&t.observers.forEach((function(e){return e(t.activeComponentState.isOpen,t.isTrayExperience)}))},this.getActiveComponentState=function(){return t.activeComponentState},this.registerObserver=function(e){t.observers.push(e)},this.cleanup=function(){t.observers=[],t.activeComponentState={isOpen:void 0,component:void 0},t.isTrayExperience=void 0}})))},99:(e,t,r)=>{“use strict”;function n(e){return n=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},n(e)}function o(e,t){for(var r=0;rc});const c=new(i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}(this,e),this.observers=[],this.setJarvisLoaded=function(){t.isJarvisLoaded=!0,t.observers.forEach((function(e){return e()}))},this.getJarvisLoaded=function(){return t.isJarvisLoaded},this.registerObserver=function(e){t.observers.push(e)},this.cleanup=function(){t.observers=[],t.isJarvisLoaded=void 0}})))},509:(e,t,r)=>{“use strict”;function n(e){return n=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},n(e)}function o(e,t){for(var r=0;rc});const c=new(i((function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}(this,e),this.observers=[],this.setLocaleStrings=function(e){t.localeStrings=e,t.observers.forEach((function(t){return t(e)}))},this.getLocaleStrings=function(){return t.localeStrings},this.registerObserver=function(e){t.observers.push(e)},this.unRegisterObserver=function(e){t.observers=t.observers.filter((function(t){return t!==e}))},this.cleanup=function(){t.observers=[],t.localeStrings=void 0}})))},323:(e,t,r)=>{“use strict”;r.d(t,{Z:()=>u});var n=r(61);function o(e){return o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},o(e)}function i(e,t){for(var r=0;r{“use strict”;r.d(t,{Z:()=>s});var n=r(61);function o(e){return o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},o(e)}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c=”function”==typeof Symbol?Symbol:{},u=c.iterator||”@@iterator”,s=c.asyncIterator||”@@asyncIterator”,l=c.toStringTag||”@@toStringTag”;function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},””)}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),c=new N(n||[]);return a(i,”_invoke”,{value:T(e,r,c)}),i}function v(e,t,r){try{return{type:”normal”,arg:e.call(t,r)}}catch(e){return{type:”throw”,arg:e}}}t.wrap=p;var d=”suspendedStart”,h=”suspendedYield”,y=”executing”,m=”completed”,b={};function g(){}function w(){}function x(){}var S={};f(S,u,(function(){return this}));var L=Object.getPrototypeOf,E=L&&L(L(I([])));E&&E!==r&&n.call(E,u)&&(S=E);var k=x.prototype=g.prototype=Object.create(S);function _(e){[“next”,”throw”,”return”].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,a,c,u){var s=v(e[i],e,a);if(“throw”!==s.type){var l=s.arg,f=l.value;return f&&”object”==o(f)&&n.call(f,”__await”)?t.resolve(f.__await).then((function(e){r(“next”,e,c,u)}),(function(e){r(“throw”,e,c,u)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return r(“throw”,e,c,u)}))}u(s.arg)}var i;a(this,”_invoke”,{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function T(t,r,n){var o=d;return function(i,a){if(o===y)throw new Error(“Generator is already running”);if(o===m){if(“throw”===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===b)continue;return u}}if(“next”===n.method)n.sent=n._sent=n.arg;else if(“throw”===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else”return”===n.method&&n.abrupt(“return”,n.arg);o=y;var s=v(t,r,n);if(“normal”===s.type){if(o=n.done?m:h,s.arg===b)continue;return{value:s.arg,done:n.done}}”throw”===s.type&&(o=m,n.method=”throw”,n.arg=s.arg)}}}function O(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,”throw”===n&&t.iterator.return&&(r.method=”return”,r.arg=e,O(t,r),”throw”===r.method)||”return”!==n&&(r.method=”throw”,r.arg=new TypeError(“The iterator does not provide a ‘”+n+”‘ method”)),b;var i=v(o,t.iterator,r.arg);if(“throw”===i.type)return r.method=”throw”,r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,”return”!==r.method&&(r.method=”next”,r.arg=e),r.delegate=null,b):a:(r.method=”throw”,r.arg=new TypeError(“iterator result is not an object”),r.delegate=null,b)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type=”normal”,delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:”root”}],e.forEach(j,this),this.reset(!0)}function I(t){if(t||””===t){var r=t[u];if(r)return r.call(t);if(“function”==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i=0;–i){var a=this.tryEntries[i],c=a.completion;if(“root”===a.tryLoc)return o(“end”);if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;–r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;–t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;–t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if(“throw”===n.type){var o=n.arg;C(r)}return o}}throw new Error(“illegal catch attempt”)},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},”next”===this.method&&(this.arg=e),b}},t}function a(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function c(e,t){for(var r=0;r{“use strict”;r.d(t,{k:()=>n});var n=function(e){return document.createRange().createContextualFragment(e).children[0]}},861:(e,t,r)=>{“use strict”;r.d(t,{Z:()=>c});var n=r(338);function o(e){return o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},o(e)}function i(e,t){for(var r=0;r{“use strict”;r.d(t,{Z:()=>n});const n={log:function(){var e;window.UniversalNav.debug&&(e=console).log.apply(e,arguments)},error:function(){var e;(e=console).error.apply(e,arguments)}}},675:(e,t,r)=>{var n={“./JarvisLoader”:[564,”JarvisLoader”],”./JarvisLoader.js”:[564,”JarvisLoader”],”./NotificationLoader”:[600,”NotificationLoader”],”./NotificationLoader.js”:[600,”NotificationLoader”],”./ProfileLoader”:[642,”ProfileLoader”],”./ProfileLoader.js”:[642,”ProfileLoader”]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error(“Cannot find module ‘”+e+”‘”);throw t.code=”MODULE_NOT_FOUND”,t}));var t=n[e],o=t[0];return r.e(t[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=675,e.exports=o}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e].call(i.exports,i,i.exports,o),i.exports}o.m=r,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>e+”.”+{validator:”e01d2a342312f0b605aa”,localization:”2c0ab46fc5493b7f2230″,”svg-icons”:”38d295428c1adcfddb22″,JarvisLoader:”16a27b721357bbce610e”,”vendors-node_modules_intl_adobe-locales_dist_adobe-locales_js”:”8ccfeb63296714371feb”,createCartComponent:”dfd40e391e67429a8928″,UniversalNavComponentLayout:”f3972b7df5d7beb97f25″,profile:”0de16df9d004749a0bea”,loadExternalComponent:”5ae94c42819b35084636″,”vendors-node_modules_cchome_ingest-react_index_js”:”fd95c5dbb8ec4999b767″,AnalyticsProvider:”cbca8fd8f62fa3cd2a75″,NotificationLoader:”5a50e1d5a103be08d39e”,ProfileLoader:”7c40042432cc65c6336a”,TrayLayout:”0dd376169d046c1b62ba”,PopoverLayout:”7f85596a572361b58e55″,”vendors-node_modules_react-dom_index_js”:”8cd1c193ee2d08b54a3c”,AppLauncherPopover:”d3189e9835cc9208a433″,HelpPopover:”2d263d1b88b5c80f01d8″}[e]+”.bundle.js”,o.miniCssF=e=>”UniversalNavComponentLayout”===e?”layout.bundle.css”:”profile”===e?e+”.bundle.css”:”TrayLayout”===e?”tray.bundle.css”:”PopoverLayout”===e?”popover.bundle.css”:”AppLauncherPopover”===e?”app-switcher.bundle.css”:”HelpPopover”===e?”help.bundle.css”:void 0,o.g=function(){if(“object”==typeof globalThis)return globalThis;try{return this||new Function(“return this”)()}catch(e){if(“object”==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t=”universal-nav:”,o.l=(r,n,i,a)=>{if(e[r])e[r].push(n);else{var c,u;if(void 0!==i)for(var s=document.getElementsByTagName(“script”),l=0;l{c.onerror=c.onload=null,clearTimeout(v);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(n))),t)return t(n)},v=setTimeout(p.bind(null,void 0,{type:”timeout”,target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),u&&document.head.appendChild(c)}},o.r=e=>{“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+””);var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(“script”);if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n–].src}if(!e)throw new Error(“Automatic publicPath is not supported in this browser”);e=e.replace(/#.*$/,””).replace(/\?.*$/,””).replace(/\/[^\/]+$/,”/”),o.p=e})(),(()=>{if(“undefined”!=typeof document){var e={UniversalNav:0};o.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{UniversalNavComponentLayout:1,profile:1,TrayLayout:1,PopoverLayout:1,AppLauncherPopover:1,HelpPopover:1}[t]&&r.push(e[t]=(e=>new Promise(((t,r)=>{var n=o.miniCssF(e),i=o.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName(“link”),n=0;n{var i=document.createElement(“link”);i.rel=”stylesheet”,i.type=”text/css”,i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,”load”===r.type)n();else{var a=r&&(“load”===r.type?”missing”:r.type),c=r&&r.target&&r.target.href||t,u=new Error(“Loading CSS chunk “+e+” failed.\n(“+c+”)”);u.code=”CSS_CHUNK_LOAD_FAILED”,u.type=a,u.request=c,i.parentNode&&i.parentNode.removeChild(i),o(u)}},i.href=t,document.head.appendChild(i)})(e,i,0,t,r)})))(t).then((()=>{e[t]=0}),(r=>{throw delete e[t],r})))}}})(),(()=>{var e={UniversalNav:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=i);var a=o.p+o.u(t),c=new Error;o.l(a,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&(“load”===r.type?”missing”:r.type),a=r&&r.target&&r.target.src;c.message=”Loading chunk “+t+” failed.\n(“+i+”: “+a+”)”,c.name=”ChunkLoadError”,c.type=i,c.request=a,n[1](c)}}),”chunk-“+t,t)}};var t=(t,r)=>{var n,i,[a,c,u]=r,s=0;if(a.some((t=>0!==e[t]))){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);u&&u(o)}for(t&&t(r);s{“use strict”;var e=o(61),t=o(610),r=o(509),n=o(625),i=o(323),a=o(99),c=o(861),u=o(338),s=o(498);function l(e){return l=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},l(e)}function f(e,t){var r=”undefined”!=typeof Symbol&&e[Symbol.iterator]||e[“@@iterator”];if(!r){if(Array.isArray(e)||(r=p(e))||t&&e&&”number”==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError(“Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function p(e,t){if(e){if(“string”==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return”Object”===r&&e.constructor&&(r=e.constructor.name),”Map”===r||”Set”===r?Array.from(e):”Arguments”===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;–i){var a=this.tryEntries[i],c=a.completion;if(“root”===a.tryLoc)return o(“end”);if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev=0;–r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;–t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;–t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if(“throw”===n.type){var o=n.arg;C(r)}return o}}throw new Error(“illegal catch attempt”)},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},”next”===this.method&&(this.arg=e),b}},t}function h(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,c,”next”,e)}function c(e){h(i,n,o,a,c,”throw”,e)}a(void 0)}))}}var m=function(){i.Z.cleanup(),a.Z.cleanup(),r.Z.cleanup(),s.Z.cleanup()};window.UniversalNav=function(){var e=y(d().mark((function e(r){var o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x(r);case 2:o=e.sent,window.UniversalNav.reload=y(d().mark((function e(){var t,n=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:r,e.next=3,x(t);case 3:o=e.sent;case 4:case”end”:return e.stop()}}),e)}))),window.UniversalNav.changeTheme=i.Z.setTheme,window.UniversalNav.updateChildAttribute=function(e,t,r){switch(e){case”profile”:b(e).then((function(e){e.default.onChildAttributeChange(t,r)}));break;case”app-switcher”:case”help”:break;default:throw new Error(“UniversalNav: child does not exists”)}},window.UniversalNav.getComponent=function(){var e=y(d().mark((function e(r){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n={id:””,isOpen:!1},e.t0=r,e.next=”app-switcher”===e.t0||”help”===e.t0?4:”profile”===e.t0||”notifications”===e.t0?7:8;break;case 4:return n.id=t.Z.getUnavComponentId(r),n.isOpen=s.Z.getActiveComponentState().component===r,e.abrupt(“return”,n);case 7:throw new Error(“UniversalNav: method for the child component is not supported”);case 8:throw new Error(“UniversalNav: component does not exist”);case 9:case”end”:return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),window.UniversalNav.toggleDivider=function(e){if(o){var t=o.querySelector(“.universal-nav-divider”);if(e){if(!t){var r=(0,n.k)(“
\n
“);o.prepend(r)}}else null==t||t.remove()}};case 8:case”end”:return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();var b=function(t){var r=e.Z.componentVsLoaderMap[t];return o(675)(“./”.concat(r))},g=function(t){var r=t.universalNavComponentName,n=t.showTrayExperience,o=void 0!==n&&n,i=e.Z.unavCompVsWorkflowMap[r]||e.Z.universalNavSentenceCase;return{event:{type:”init”,subtype:”component”,subcategory:r?e.Z.universalNavSentenceCase:”Init”,workflow:i,value:o?”tray”:”popover”},source:{name:r||e.Z.universalNavHyphenCase}}},w=function(){var e=y(d().mark((function e(r,n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.Z.getAnalyticsProvider();case 2:e.sent.batchEvent(g({universalNavComponentName:r,showTrayExperience:n}));case 4:case”end”:return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();function x(e){return S.apply(this,arguments)}function S(){return(S=y(d().mark((function r(a){var l,h,b,x,S,E,k,_,P,T,O,j,C,N,I,A,Z,U,M;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t.Z.yieldToMain();case 2:if(null!==(l=localStorage)&&void 0!==l&&l.getItem(“debugUnav”)&&(window.UniversalNav.debug={config:a}),m(),c.Z.init(a),!a.isUserLoggedOut){r.next=9;break}h=!1,r.next=18;break;case 9:return r.prev=9,r.next=12,c.Z.isSignedInUser();case 12:h=r.sent,r.next=18;break;case 15:r.prev=15,r.t0=r.catch(9),u.Z.error(“UniversalNav: Error in isSignedInUser – “,r.t0);case 18:return r.next=20,t.Z.yieldToMain();case 20:return b=o.e(“validator”).then(o.bind(o,239)),r.next=23,b;case 23:return r.sent.default(a),x=a.target,S=a.theme,a.env,E=a.children,k=a.onReady,_=a.showTrayExperience,s.Z.setTrayExperience(_),E.sort((function(t,r){return e.Z.childrenOrder.indexOf(t.name)-e.Z.childrenOrder.indexOf(r.name)})),r.next=30,t.Z.yieldToMain();case 30:return r.next=32,o.e(“localization”).then(o.bind(o,397));case 32:r.sent.default.setupLocaleStrings(a.locale,””),i.Z.setTheme(S),P=(0,n.k)(“
\n
\n
“)),T=P.querySelector(“#universal-nav”),a.isSectionDividerRequired&&(O=(0,n.k)(“
\n
“),T.append(O)),j=function(t){var r,n;(r=T.classList).remove.apply(r,function(e){if(Array.isArray(e))return v(e)}(n=Object.values(e.Z.THEMES).map((function(e){return”universal-nav-“.concat(e)})))||function(e){if(“undefined”!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[“@@iterator”])return Array.from(e)}(n)||p(n)||function(){throw new TypeError(“Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()),T.classList.add(“universal-nav-“.concat(t))},i.Z.registerObserver(j),C=function(e,t){t&&(e?document.body.classList.add(“unav-no-scroll”):document.body.classList.remove(“unav-no-scroll”))},s.Z.registerObserver(C),N=document.getElementsByTagName(“html”)[0],I=”rtl”===N.getAttribute(“dir”),A=[],Z=f(E),r.prev=46,M=d().mark((function r(){var i,c,u,s,l,f,p,v,y,m,b,g,x;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=U.value,r.next=3,t.Z.yieldToMain();case 3:return c=i.name,u=i.attributes,r.next=7,o.e(“svg-icons”).then(o.bind(o,546));case 7:if(s=r.sent.default,l=s[c],”jarvis”===c&&(f=i.attributes)&&o.e(“JarvisLoader”).then(o.bind(o,564)).then((function(e){e.default.init(a,f,h)})),”cart”!==c){r.next=18;break}return r.next=13,Promise.all([o.e(“vendors-node_modules_intl_adobe-locales_dist_adobe-locales_js”),o.e(“createCartComponent”)]).then(o.bind(o,821));case 13:return p=r.sent.default,r.next=16,p(c,l,T,a,u);case 16:r.next=55;break;case 18:if(!l){r.next=28;break}if(!l){r.next=26;break}return r.next=22,o.e(“UniversalNavComponentLayout”).then(o.bind(o,2));case 22:return v=r.sent.default,r.next=25,v(c,l,T,a,u,h,I);case 25:t.Z.executeWhenIdle((function(){return w(c,_)}));case 26:r.next=55;break;case 28:if(!e.Z.componentVsLoaderMap[c]){r.next=55;break}if(“profile”!==c){r.next=47;break}if(!h){r.next=35;break}return r.next=33,L(c,a,u,T,_,A);case 33:r.next=45;break;case 35:y=t.Z.getCTAMode(a.mode),m=(0,n.k)(“
“)),b=’
‘,g=(0,n.k)(“
\n
“),!0===u.isSignUpRequired&&g.appendChild((0,n.k)(b)),g.appendChild((0,n.k)(b)),T.append(g),x=function(){g.remove(),T.append(m)},o.e(“profile”).then(o.bind(o,684)).then((function(e){e.default(a,u,m,x)})),t.Z.executeWhenIdle((function(){return w(c,_)}));case 45:r.next=55;break;case 47:if(“notifications”!==c){r.next=53;break}if(!h){r.next=51;break}return r.next=51,L(c,a,u,T);case 51:r.next=55;break;case 53:return r.next=55,L(c,a,u,T);case 55:case”end”:return r.stop()}}),r)})),Z.s();case 49:if((U=Z.n()).done){r.next=53;break}return r.delegateYield(M(),”t1″,51);case 51:r.next=49;break;case 53:r.next=58;break;case 55:r.prev=55,r.t2=r.catch(46),Z.e(r.t2);case 58:return r.prev=58,Z.f(),r.finish(58);case 61:return””!==x.innerHTML&&(x.innerHTML=””),x.appendChild(P),t.Z.executeWhenIdle(y(d().mark((function e(){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.Z.getAnalyticsProvider();case 2:(r=e.sent).init(a,h),r.sendAnalytics(g({showTrayExperience:_}));case 5:case”end”:return e.stop()}}),e)})))),r.next=66,Promise.all(A);case 66:return t.Z.executeWhenIdle((function(){“function”==typeof k&&k()})),r.abrupt(“return”,T);case 68:case”end”:return r.stop()}}),r,null,[[9,15],[46,55,58,61]])})))).apply(this,arguments)}function L(e,t,r,n,o){return E.apply(this,arguments)}function E(){return E=y(d().mark((function e(r,n,i,a,c){var u,s=arguments;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=s.length>5&&void 0!==s[5]?s[5]:[],e.next=3,o.e(“loadExternalComponent”).then(o.bind(o,879));case 3:(0,e.sent.default)(r,n,i,a,b,u),t.Z.executeWhenIdle((function(){return w(r,c)}));case 6:case”end”:return e.stop()}}),e)}))),E.apply(this,arguments)}})()})();