1(self["FC.EcomwebpackJsonp"]=self["FC.EcomwebpackJsonp"]||[]).push([[1248],{63082:(e,n,t)=>{"use strict";function r(e){return e||(e=0),new Promise((function(n){return setTimeout(n,e)}))}function o(){return Math.random().toString(36).substring(2)}t.r(n),t.d(n,{BroadcastChannel:()=>B,beLeader:()=>Y,clearNodeFolder:()=>O,createLeaderElection:()=>q,enforceOptions:()=>A});var i=0,a=0;function s(){var e=(new Date).getTime();return e===i?1e3*e+ ++a:(i=e,a=0,1e3*e)}var u="[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0);const c={create:function(e){var n={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return n.bc.onmessage=function(e){n.messagesCallback&&n.messagesCallback(e.data)},n},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,n){e.messagesCallback=n},postMessage:function(e,n){try{return e.bc.postMessage(n,!1),Promise.resolve()}catch(e){return Promise.reject(e)}},canBeUsed:function(){if(u&&"undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:s};var l=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var n=this;this.timeMap.set(e,d()),this.set.add(e),setTimeout((function(){!function(e){var n=d()-e.ttl,t=e.set[Symbol.iterator]();for(;;){var r=t.next().value;if(!r)return;if(!(e.timeMap.get(r)<n))return;e.timeMap.delete(r),e.set.delete(r)}}(n)}),0)},e.prototype.clear=function(){this.set.clear(),this.timeMap.clear()},e}();function d(){return(new Date).getTime()}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=JSON.parse(JSON.stringify(e));return void 0===n.webWorkerSupport&&(n.webWorkerSupport=!0),n.idb||(n.idb={}),n.idb.ttl||(n.idb.ttl=45e3),n.idb.fallbackInterval||(n.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(n.idb.onclose=e.idb.onclose),n.localstorage||(n.localstorage={}),n.localstorage.removeTimeout||(n.localstorage.removeTimeout=6e4),e.methods&&(n.methods=e.methods),n.node||(n.node={}),n.node.ttl||(n.node.ttl=12e4),void 0===n.node.useFastPath&&(n.node.useFastPath=!0),n}var h="messages";function p(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function m(e,n){var t=e.transaction(h).objectStore(h),r=[];return new Promise((function(e){(function(){try{var e=IDBKeyRange.bound(n+1,1/0);return t.openCursor(e)}catch(e){return t.openCursor()}}()).onsuccess=function(t){var o=t.target.result;o?o.value.id<n+1?o.continue(n+1):(r.push(o.value),o.continue()):e(r)}}))}function v(e,n){return function(e,n){var t=(new Date).getTime()-n,r=e.transaction(h).objectStore(h),o=[];return new Promise((function(e){r.openCursor().onsuccess=function(n){var r=n.target.result;if(r){var i=r.value;if(!(i.time<t))return void e(o);o.push(i),r.continue()}else e(o)}}))}(e,n).then((function(n){return Promise.all(n.map((function(n){return function(e,n){var t=e.transaction([h],"readwrite").objectStore(h).delete(n);return new Promise((function(e){t.onsuccess=function(){return e()}}))}(e,n.id)})))}))}function w(e){e.closed||g(e).then((function(){return r(e.options.idb.fallbackInterval)})).then((function(){return w(e)}))}function g(e){return e.closed?Promise.resolve():e.messagesCallback?m(e.db,e.lastCursorId).then((function(n){var t=n.filter((function(e){return!!e})).map((function(n){return n.id>e.lastCursorId&&(e.lastCursorId=n.id),n})).filter((function(n){return function(e,n){return!(e.uuid===n.uuid||n.eMIs.has(e.id)||e.data.time<n.messagesCallbackTime)}(n,e)})).sort((function(e,n){return e.time-n.time}));return t.forEach((function(n){e.messagesCallback&&(e.eMIs.add(n.id),e.messagesCallback(n.data))})),Promise.resolve()})):Promise.resolve()}const _={create:function(e,n){return n=f(n),function(e){var n="pubkey.broadcast-channel-0-"+e,t=p().open(n,1);return t.onupgradeneeded=function(e){e.target.result.createObjectStore(h,{keyPath:"id",autoIncrement:!0})},new Promise((function(e,n){t.onerror=function(e){return n(e)},t.onsuccess=function(){e(t.result)}}))}(e).then((function(t){var r={closed:!1,lastCursorId:0,channelName:e,options:n,uuid:o(),eMIs:new l(2*n.idb.ttl),writeBlockPromise:Promise.resolve(),messagesCallback:null,readQueuePromises:[],db:t};return t.onclose=function(){r.closed=!0,n.idb.onclose&&n.idb.onclose()},w(r),r}))},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,n,t){e.messagesCallbackTime=t,e.messagesCallback=n,g(e)},postMessage:function(e,n){return e.writeBlockPromise=e.writeBlockPromise.then((function(){return function(e,n,t){var r={uuid:n,time:(new Date).getTime(),data:t},o=e.transaction([h],"readwrite");return new Promise((function(e,n){o.oncomplete=function(){return e()},o.onerror=function(e){return n(e)},o.objectStore(h).add(r)}))}(e.db,e.uuid,n)})).then((function(){var n,t;0===(n=0,t=10,Math.floor(Math.random()*(t-n+1)+n))&&v(e.db,e.options.idb.ttl)})),e.writeBlockPromise},canBeUsed:function(){return!u&&!!p()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:s};function b(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function y(e){return"pubkey.broadcastChannel-"+e}function k(){if(u)return!1;var e=b();if(!e)return!1;try{var n="__broadcastchannel_check";e.setItem(n,"works"),e.removeItem(n)}catch(e){return!1}return!0}const E={create:function(e,n){if(n=f(n),!k())throw new Error("BroadcastChannel: localstorage c
1annot be used");var t=o(),r=new l(n.localstorage.removeTimeout),i={channelName:e,uuid:t,eMIs:r};return i.listener=function(e,n){var t=y(e),r=function(e){e.key===t&&n(JSON.parse(e.newValue))};return window.addEventListener("storage",r),r}(e,(function(e){i.messagesCallback&&e.uuid!==t&&e.token&&!r.has(e.token)&&(e.data.time&&e.data.time<i.messagesCallbackTime||(r.add(e.token),i.messagesCallback(e.data)))})),i},close:function(e){var n;n=e.listener,window.removeEventListener("storage",n)},onMessage:function(e,n,t){e.messagesCallbackTime=t,e.messagesCallback=n},postMessage:function(e,n){return new Promise((function(t){r().then((function(){var r=y(e.channelName),i={token:o(),time:(new Date).getTime(),data:n,uuid:e.uuid},a=JSON.stringify(i);b().setItem(r,a);var s=document.createEvent("Event");s.initEvent("storage",!0,!0),s.key=r,s.newValue=a,window.dispatchEvent(s),t()}))}))},canBeUsed:k,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:s};var L=s,C=new Set;const S={create:function(e){var n={name:e,messagesCallback:null};return C.add(n),n},close:function(e){C.delete(e)},onMessage:function(e,n){e.messagesCallback=n},postMessage:function(e,n){return new Promise((function(t){return setTimeout((function(){Array.from(C).filter((function(n){return n.name===e.name})).filter((function(n){return n!==e})).filter((function(e){return!!e.messagesCallback})).forEach((function(e){return e.messagesCallback(n)})),t()}),5)}))},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:L};var P=[c,_,E];if(u){var M=t(44595);
1"function"==typeof M.canBeUsed&&P.push(M)}function I(e){var n=[].concat(e.methods,P).filter(Boolean);if(e.type){if("simulate"===e.type)return S;var t=n.find((function(n){return n.type===e.type}));if(t)return t;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||u||(n=n.filter((function(e){return"idb"!==e.type})));var r=n.find((function(e){return e.canBeUsed()}));if(r)return r;throw new Error("No useable methode found:"+JSON.stringify(P.map((function(e){return e.type}))))}var T,B=function(e,n){var t,r,o;this.name=e,T&&(n=T),this.options=f(n),this.method=I(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,r=(t=this).method.create(t.name,t.options),(o=r)&&"function"==typeof o.then?(t._prepP=r,r.then((function(e){t._state=e}))):t._state=r};function O(e){var n=I(e=f(e));return"node"===n.type?n.clearNodeFolder().then((function(){return!0})):Promise.resolve(!1)}function A(e){T=e}function D(e,n,t){var r={time:e.method.microSeconds(),type:n,data:t};return(e._prepP?e._prepP:Promise.resolve()).then((function(){var n=e.method.postMessage(e._state,r);return e._uMP.add(n),n.catch().then((function(){return e._uMP.delete(n)})),n}))}function N(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function x(e,n,t){e._addEL[n].push(t),function(e){if(!e._iL&&N(e)){var n=function(n){e._addEL[n.type].forEach((function(e){n.time>=e.time&&e.fn(n.data)}))},t=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,n,t)})):(e._iL=!0,e.method.onMessage(e._state,n,t))}}(e)}function $(e,n,t){e._addEL[n]=e._addEL[n].filter((function(e){return e!==t})),function(e){if(e._iL&&!N(e)){e._iL=!1;var n=e.method.microSeconds();e.method.onMessage(e._state,null,n)}}(e)}B._pubkey=!0,B.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return D(this,"message",e)},postInternal:function(e){return D(this,"internal",e)},set onmessage(e){var n={time:this.method.microSeconds(),fn:e};$(this,"message",this._onML),e&&"function"==typeof e?(this._onML=n,x(this,"message",n)):this._onML=null},addEventListener:function(e,n){x(this,e,{time:this.method.microSeconds(),fn:n})},removeEventListener:function(e,n){$(this,e,this._addEL[e].find((function(e){return e.fn===n})))},close:function(){var e=this;if(!this.closed){this.closed=!0;var n=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],n.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};var j=t(73302),J=t.n(j);const F={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}};var R=t(65050),U=t.n(R),W=J()?U():F,z=new Set,G=!1;function K(){var e=[];return z.forEach((function(n){e.push(n()),z.delete(n)})),Promise.all(e)}const V={add:function(e){if(G||(G=!0,W.add(K)),"function"!=typeof e)throw new Error("Listener is no function");return z.add(e),{remove:function(){return z.delete(e)},run:function(){return z.delete(e),e()}}},runAll:K,removeAll:function(){z.clear()},getSize:function(){return z.size}};var X=function(e,n){this._channel=e,this._options=n,this.isLeader=!1,this.isDead=!1,this.token=o(),this._isApl=!1,this._reApply=!1,this._unl=[],this._lstns=[],this._invs=[],this._dpL=function(){},this._dpLC=!1};function Q(e,n){var t={context:"leader",action:n,token:e.token};return e._channel.postInternal(t)}function Y(e){e.isLeader=!0;var n=V.add((function(){return e.die()}));e._unl.push(n);var t=function(n){"leader"===n.context&&"apply"===n.action&&Q(e,"tell"),"leader"!==n.context||"tell"!==n.action||e._dpLC||(e._dpLC=!0,e._dpL(),Q(e,"tell"))};return e._channel.addEventListener("internal",t),e._lstns.push(t),Q(e,"tell")}function q(e,n){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");n=function(e,n){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=n.method.averageResponseTime(n.options)),e}(n,e);var t=new X(e,n);return e._befC.push((function(){return t.die()})),e._leaderElector=t,t}X.prototype={applyOnce:function(){var e=this;if(this.isLeader)return Promise.resolve(!1);if(this.isDead)return Promise.resolve(!1);if(this._isApl)return this._reApply=!0,Promise.resolve(!1);this._isApl=!0;var n=!1,t=[],o=function(r){"leader"===r.context&&r.token!=e.token&&(t.push(r),"apply"===r.action&&r.token>e.token&&(n=!0),"tell"===r.action&&(n=!0))};return this._channel.addEventListener("internal",o),Q(this,"apply").then((function(){return r(e._options.responseTime)})).then((function(){return n?Promise.reject(new Error):Q(e,"apply")})).then((function(){return r(e._options.responseTime)})).then((function(){return n?Promise.reject(new Error):Q(e)})).then((function(){return Y(e)})).then((function(){return!0})).catch((function(){return!1})).then((function(n){return e._channel.removeEventListener("internal",o),e._isApl=!1,!n&&e._reApply?(e._reApply=!1,e.applyOnce()):n}))},awaitLeadership:function(){var e;return this._aLP||(this._aLP=(e=this).isLeader?Promise.resolve():new Promise((function(n){var t=!1;function r(){t||(t=!0,clearInterval(o),e._channel.removeEventListener("internal",i),n(!0))}e.applyOnce().then((function(){e.isLeader&&r()}));var o=setInterval((function(){e.applyOnce().then((function(){e.isLeader&&r()}))}),e._options.fallbackInterval);e._invs.push(o);var i=function(n){"leader"===n.context&&"death"===n.action&&e.applyOnce().then((function(){e.isLeader&&r()}))};e._channel.addEventListener("internal",i),e._lstns.push(i)}))),this._aLP},set onduplicate(e){this._dpL=e},die:function(){var e=this;if(!this.isDead)return this.isDead=!0,this._lstns.forEach((function(n){return e._channel.removeEventListener("internal",n)}
1)),this._invs.forEach((function(e){return clearInterval(e)})),this._unl.forEach((function(e){e.remove()})),Q(this,"death")}}},73302:e=>{e.exports=!1},81248:(e,n,t)=>{"use strict";n.UX=n.K3=void 0;var r=t(63082),o=0,i="&_GET_INIT_STATE",a="&_SEND_INIT_STATE",s="&_RECEIVE_INIT_STATE",u="&_INIT_MESSAGE_LISTENER",c={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,n){return n}};function l(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function d(){return""+l()+l()+"-"+l()+"-"+l()+"-"+l()+"-"+l()+l()+l()}var f=d();function h(e){var n=e;return n.$uuid=d(),n.$wuid=f,n}function p(e){var n=e.predicate,t=e.blacklist,r=e.whitelist,o=function(){return!0};return n&&"function"==typeof n?o=n:Array.isArray(t)?o=function(e){return t.indexOf(e.type)<0}:Array.isArray(r)&&(o=function(e){return r.indexOf(e.type)>=0}),o}function m(e){var n=e.channel,t=e.dispatch,r=e.allowed,u=!1,c={};this.handleOnMessage=function(e){var n;e.$wuid!==f&&(e.type!==s&&e.$uuid&&e.$uuid!==o&&(e.type!==i||c[e.$wuid]?e.type!==a||c[e.$wuid]?r(e)&&(o=e.$uuid,t(Object.assign(e,{$isSync:!0}))):u||(u=!0,t((n=e.payload,{type:s,payload:n}))):(c[e.$wuid]=!0,t({type:a}))))},this.messageChannel=n,this.messageChannel.onmessage=this.handleOnMessage}n.K3=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,n=p(e),t=new r.BroadcastChannel(e.channel,e.broadcastChannelOption),s=e.prepareState||c.prepareState,u=null;return function(e){var r=e.getState,c=e.dispatch;return function(e){return function(l){if(u||(u=new m({channel:t,dispatch:c,allowed:n})),l&&!l.$uuid){var d=h(l);o=d.$uuid;try{if(l.type===a)return r()&&(d.payload=s(r()),t.postMessage(d)),e(l);(n(d)||l.type===i)&&t.postMessage(d)}catch(e){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(l,{$isSync:void 0!==l.$isSync&&l.$isSync}))}}}};var v=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.receiveState;return function(t,r){var o=t;return r.type===s&&(o=n(t,r.payload)),e(o,r)}};n.UX=function(e){(0,e.dispatch)({type:u})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.