PageSourceSearch

https://www.krongraciejiujitsu.com/universal/scripts-compressed/common-1f085a4bf3d5845ab2a87-min.en-US.js

js krongraciejiujitsu.com collected 2026-10-08 10:51:10 UTC 1,720,973 bytes, 68 lines download raw bytes

1(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([[68592,99119,40006,73377],{221006:function(y,f,e){"use strict";e.r(f),e.d(f,{anonymize:function(){return P},consent:function(){return h},event:function(){return u},getCurrentSessionURL:function(){return c},identify:function(){return g},init:function(){return E},isInitialized:function(){return A},log:function(){return l},restart:function(){return m},setUserVars:function(){return v},setVars:function(){return _},shutdown:function(){return p}});function s(T,I){var R=Object.keys(T);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(T);I&&(j=j.filter(function(x){return Object.getOwnPropertyDescriptor(T,x).enumerable})),R.push.apply(R,j)}return R}function n(T){for(var I=1;I<arguments.length;I++){var R=arguments[I]!=null?arguments[I]:{};I%2?s(Object(R),!0).forEach(function(j){a(T,j,R[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(R)):s(Object(R)).forEach(function(j){Object.defineProperty(T,j,Object.getOwnPropertyDescriptor(R,j))})}return T}function a(T,I,R){return I in T?Object.defineProperty(T,I,{value:R,enumerable:!0,configurable:!0,writable:!0}):T[I]=R,T}var t=function(I){var R=I.orgId,j=I.namespace,x=j===void 0?"FS":j,L=I.debug,H=I.host,G=H===void 0?"fullstory.com":H,X=I.script,K=X===void 0?"edge.fullstory.com/s/fs.js":X;if(!R)throw new Error("FullStory orgId is a required parameter");window._fs_host=G,window._fs_script=K,window._fs_org=R,window._fs_namespace=x,function(J,z,k,F,q,N,M,U){if(k in J){J.console&&J.console.log&&J.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');return}M=J[k]=function(Q,$,ee){M.q?M.q.push([Q,$,ee]):M._api(Q,$,ee)},M.q=[],N=z.createElement(F),N.async=1,N.crossOrigin="anonymous",N.src="https://"+_fs_script,U=z.getElementsByTagName(F)[0],U.parentNode.insertBefore(N,U),M.identify=function(Q,$,ee){M(q,{uid:Q},ee),$&&M(q,$,ee)},M.setUserVars=function(Q,$){M(q,Q,$)},M.event=function(Q,$,ee){M("event",{n:Q,p:$},ee)},M.anonymize=function(){M.identify(!1)},M.shutdown=function(){M("rec",!1)},M.restart=function(){M("rec",!0)},M.log=function(Q,$){M("log",[Q,$])},M.consent=function(Q){M("consent",!arguments.length||Q)},M.identifyAccount=function(Q,$){N="account",$=$||{},$.acctId=Q,M(N,$)},M.clearUserCookie=function(){},M.setVars=function(Q,$){M("setVars",[Q,$])},M._w={},U="XMLHttpRequest",M._w[U]=J[U],U="fetch",M._w[U]=J[U],J[U]&&(J[U]=function(){return M._w[U].apply(this,arguments)}),M._v="1.3.0"}(window,document,window._fs_namespace,"script","user")},r=function(){return window[window._fs_namespace]},i=function(){var I=!!r();if(!I)throw Error("FullStory is not loaded, please ensure the init function is invoked before calling FullStory API functions")},o=function(){i();for(var I=arguments.length,R=new Array(I),j=0;j<I;j++)R[j]=arguments[j];return R.every(function(x){return r()[x]})},d=function(I){return function(){if(window._fs_dev_mode){var R="FullStory is in dev mode and is not recording: ".concat(I," method not executed");return console.warn(R),R}if(o(I)){var j;return(j=r())[I].apply(j,arguments)}return console.warn("FS.".concat(I," not ready")),null}},u=d("event"),l=d("log"),c=d("getCurrentSessionURL"),g=d("identify"),v=d("setUserVars"),h=d("consent"),p=d("shutdown"),m=d("restart"),P=d("anonymize"),_=d("setVars"),b=function(I,R){var j=n({},I);if(r()){console.warn("The FullStory snippet has already been defined elsewhere (likely in the <head> element)");return}if(j.recordCrossDomainIFrames&&(window._fs_run_in_iframe=!0),j.recordOnlyThisIFrame&&(window._fs_is_outer_script=!0),j.debug===!0&&(j.script?console.warn("Ignoring `debug = true` because `script` is set"):j.script="edge.fullstory.com/s/fs-debug.js"),t(j),R&&r()("observe",{type:"start",callback:R}),j.devMode===!0){var x="FullStory was initialized in devMode and will stop recording";u("FullStory Dev Mode",{message_str:x}),p(),window._fs_dev_mode=!0,console.warn(x)}},S=function(I,R){return function(){if(window._fs_initialized){R&&console.warn(R);return}I.apply(void 0,arguments),window._fs_initialized=!0}},E=S(b,"FullStory init has already been called once, additional invocations are ignored"),A=function(){return!!window._fs_initialized}},149406:function(y,f,e){"use strict";var s=e(875832),n=e(473234);
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=i;var a=n(e(919436)),t=n(e(928937)),r=s(e(579085));function i(o,d,u,l,c){var g=t.uid(o._actionsRegistry,"".concat(d,".").concat(u));o._actionsRegistry[g]=1;var v={id:g,namespace:d,name:u},h=function(S){return o.dispatch(g,S,v)},p=function(){for(var S=arguments.length,E=new Array(S),A=0;A<S;A++)E[A]=arguments[A];var T=l.apply(c,E),I=T;return T!==void 0&&!(0,r.default)(T)&&(a.isFunction(T)?I=T(h,o):h(T)),T===void 0&&t.warn("An action was called but nothing was dispatched"),I};p.defer=function(){for(var b=arguments.length,S=new Array(b),E=0;E<b;E++)S[E]=arguments[E];return setTimeout(function(){return p.apply(null,S)})},p.id=g,p.data=v;var m=o.actions[d],P=t.uid(m,u);m[P]=p;var _=t.formatAsConstant(P);return m[_]=g,p}y.exports=f.default},919436:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isMutableObject=s,f.eachObject=n,f.assign=a,f.isFunction=void 0;var e=function(r){return typeof r=="function"};f.isFunction=e;function s(t){var r=t.constructor;return!!t&&Object.prototype.toString.call(t)==="[object Object]"&&e(r)&&!Object.isFrozen(t)&&(r instanceof r||t.type==="AltStore")}function n(t,r){r.forEach(function(i){Object.keys(Object(i)).forEach(function(o){t(o,i[o])})})}function a(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return n(function(d,u){t[d]=u},i),t}},293298:function(y,f,e){"use strict";var s=e(473234),n=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=n(e(449883)),t=n(e(721854)),r=n(e(699467)),i=n(e(506051)),o=n(e(858240)),d=n(e(4636)),u=e(511828),l=s(e(412843)),c=s(e(919436)),g=s(e(826982)),v=s(e(928937)),h=n(e(149406));function p(b){var S=m();return function(){var A=(0,i.default)(b),T;if(S){var I=(0,i.default)(this).constructor;T=Reflect.construct(A,arguments,I)}else T=A.apply(this,arguments);return(0,r.default)(this,T)}}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}var P=function(){function b(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(0,o.default)(this,b),this.config=S,this.serialize=S.serialize||JSON.stringify,this.deserialize=S.deserialize||JSON.parse,this.dispatcher=S.dispatcher||new u.Dispatcher,this.batchingFunction=S.batchingFunction||function(E){return E()},this.actions={global:{}},this.stores={},this.storeTransforms=S.storeTransforms||[],this.trapAsync=!1,this._actionsRegistry={},this._initSnapshot={},this._lastSnapshot={}}return(0,d.default)(b,[{key:"dispatch",value:function(E,A,T){var I=this;this.batchingFunction(function(){var R=Math.random().toString(18).substr(2,16);if(E.hasOwnProperty("type")&&E.hasOwnProperty("payload")){var j={id:E.type,namespace:E.type,name:E.type};return I.dispatcher.dispatch(v.fsa(R,E.type,E.payload,j))}return E.id&&E.dispatch?v.dispatch(R,E,A,I):I.dispatcher.dispatch(v.fsa(R,E,A,T))})}},{key:"createUnsavedStore",value:function(E){var A=E.displayName||"";g.createStoreConfig(this.config,E);for(var T=g.transformStore(this.storeTransforms,E),I=arguments.length,R=new Array(I>1?I-1:0),j=1;j<I;j++)R[j-1]=arguments[j];return c.isFunction(T)?g.createStoreFromClass.apply(g,[this,T,A].concat(R)):g.createStoreFromObject(this,T,A)}},{key:"createStore",value:function(E,A){var T=A||E.displayName||E.name||"";g.createStoreConfig(this.config,E);var I=g.transformStore(this.storeTransforms,E);(this.stores[T]||!T)&&(this.stores[T]?v.warn("A store named ".concat(T," already exists, double check your store ")+"names or pass in your own custom identifier for each store"):v.warn("Store name was not specified"),T=v.uid(this.stores,T));for(var R=arguments.length,j=new Array(R>2?R-2:0),x=2;x<R;x++)j[x-2]=arguments[x];var L=c.isFunction(I)?g.createStoreFromClass.apply(g,[this,I,T].concat(j)):g.createStoreFromObject(this,I,T);return this.stores[T]=L,l.saveInitialSnapshot(this,T),L}},{key:"generateActions",value:function(){for(var E={name:"global"},A=arguments.length,T=new Array(A),I=0;I<A;I++)T[I]=arguments[I];return this.createActions(T.reduce(function(R,j){return R[j]=v.dispatchIdentity,R},E))}},{key:"createAction",value:function(E,A,T){return(0,h.default)(this,"global",E,A,T)}},{key:"createActions",value:function(E){var A=this,T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I={},R=v.uid(this._actionsRegistry,E.displayName||E.name||"Unknown");if(c.isFunction(E)){c.assign(I,v.getPrototypeChain(E));for(var j=function(G){(0,t.default)(K,G);var X=p(K);function K(){(0,o.default)(this,K);for(var J=arguments.length,z=new Array(J),k=0;k<J;k++)z[k]=arguments[k];return X.call.apply(X,[this].concat(z))}return(0,d.default)(K,[{key:"generateActions",value:function(){for(var z=arguments.length,k=new Array(z),F=0;F<z;F++)k[F]=arguments[F];
1k.forEach(function(q){I[q]=v.dispatchIdentity})}}]),K}(E),x=arguments.length,L=new Array(x>2?x-2:0),H=2;H<x;H++)L[H-2]=arguments[H];c.assign(I,(0,a.default)(j,L))}else c.assign(I,E);return this.actions[R]=this.actions[R]||{},c.eachObject(function(G,X){if(!c.isFunction(X)){T[G]=X;return}T[G]=(0,h.default)(A,R,G,X,T);var K=v.formatAsConstant(G);T[K]=T[G].id},[I]),T}},{key:"takeSnapshot",value:function(){for(var E=arguments.length,A=new Array(E),T=0;T<E;T++)A[T]=arguments[T];var I=l.snapshot(this,A);return c.assign(this._lastSnapshot,I),this.serialize(I)}},{key:"rollback",value:function(){l.setAppState(this,this.serialize(this._lastSnapshot),function(E){E.lifecycle("rollback"),E.emitChange()})}},{key:"recycle",value:function(){for(var E=arguments.length,A=new Array(E),T=0;T<E;T++)A[T]=arguments[T];var I=A.length?l.filterSnapshots(this,this._initSnapshot,A):this._initSnapshot;l.setAppState(this,this.serialize(I),function(R){R.lifecycle("init"),R.emitChange()})}},{key:"flush",value:function(){var E=this.serialize(l.snapshot(this));return this.recycle(),E}},{key:"bootstrap",value:function(E){l.setAppState(this,E,function(A,T){A.lifecycle("bootstrap",T),A.emitChange()})}},{key:"prepare",value:function(E,A){var T={};if(!E.displayName)throw new ReferenceError("Store provided does not have a name");return T[E.displayName]=A,this.serialize(T)}},{key:"addActions",value:function(E,A){for(var T=arguments.length,I=new Array(T>2?T-2:0),R=2;R<T;R++)I[R-2]=arguments[R];this.actions[E]=Array.isArray(A)?this.generateActions.apply(this,A):this.createActions.apply(this,[A].concat(I))}},{key:"addStore",value:function(E,A){for(var T=arguments.length,I=new Array(T>2?T-2:0),R=2;R<T;R++)I[R-2]=arguments[R];this.createStore.apply(this,[A,E].concat(I))}},{key:"getActions",value:function(E){return this.actions[E]}},{key:"getStore",value:function(E){return this.stores[E]}}],[{key:"debug",value:function(E,A,T){var I="alt.js.org",R=T;return!R&&typeof window!="undefined"&&(R=window),typeof R!="undefined"&&(R[I]=R[I]||[],R[I].push({name:E,alt:A})),A}}]),b}(),_=P;f.default=_,y.exports=f.default},992757:function(y,f,e){"use strict";var s=e(473234),n=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=n(e(858240)),t=n(e(4636)),r=s(e(919436)),i=n(e(75857)),o=function(){function u(l,c,g,v){var h=this;(0,a.default)(this,u);var p=c.lifecycleEvents;this.transmitter=(0,i.default)(),this.lifecycle=function(_,b){p[_]&&p[_].publish(b)},this.state=g,this.alt=l,this.preventDefault=!1,this.displayName=c.displayName,this.boundListeners=c.boundListeners,this.StoreModel=v,this.reduce=c.reduce||function(_){return _},this.subscriptions=[];var m=c.output||function(_){return _};this.emitChange=function(){return h.transmitter.publish(m(h.state))};var P=function(b,S){try{return b()}catch(E){if(c.handlesOwnErrors)return h.lifecycle("error",{error:E,payload:S,state:h.state}),!1;throw E}};r.assign(this,c.publicMethods),this.dispatchToken=l.dispatcher.register(function(_){h.preventDefault=!1,h.lifecycle("beforeEach",{payload:_,state:h.state});var b=c.actionListeners[_.action];if(b||c.otherwise){var S;b?S=P(function(){return b.filter(Boolean).every(function(E){return E.call(c,_.data,_.action)!==!1})},_):S=P(function(){return c.otherwise(_.data,_.action)},_),S!==!1&&!h.preventDefault&&h.emitChange()}c.reduce&&(P(function(){var E=c.reduce(h.state,_);E!==void 0&&(h.state=E)},_),h.preventDefault||h.emitChange()),h.lifecycle("afterEach",{payload:_,state:h.state})}),this.lifecycle("init")}return(0,t.default)(u,[{key:"listen",value:function(c){var g=this;if(!r.isFunction(c))throw new TypeError("listen expects a function");var v=this.subscriptions.find(function(P){return P.cb===c});if(!v){var h=this.transmitter.subscribe(c),p=h.dispose,m={cb:c,dispose:p};this.subscriptions.push(m)}return function(){return g.unlisten(c)}}},{key:"unlisten",value:function(c){this.lifecycle("unlisten"),this.subscriptions=this.subscriptions.filter(function(g){return g.cb===c?(g.dispose(),!1):!0})}},{key:"getState",value:function(){return this.StoreModel.config.getState.call(this,this.state)}}]),u}(),d=o;f.default=d,y.exports=f.default},845505:function(y,f,e){"use strict";var s=e(473234),n=e(875832);
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=n(e(75857)),t=s(e(919436)),r={waitFor:function(){for(var d=arguments.length,u=new Array(d),l=0;l<d;l++)u[l]=arguments[l];if(!u.length)throw new ReferenceError("Dispatch tokens not provided");var c=u;u.length===1&&(c=Array.isArray(u[0])?u[0]:u);var g=c.map(function(v){return v.dispatchToken||v});this.dispatcher.waitFor(g)},exportAsync:function(d){this.registerAsync(d)},registerAsync:function(d){var u=this,l=0,c=t.isFunction(d)?d(this.alt):d,g=Object.keys(c).reduce(function(v,h){var p=c[h],m=t.isFunction(p)?p(u):p,P=["success","error","loading"];return P.forEach(function(_){if(m[_]&&!m[_].id)throw new Error("".concat(_," handler must be an action function"))}),v[h]=function(){for(var _=arguments.length,b=new Array(_),S=0;S<_;S++)b[S]=arguments[S];var E=u.getInstance().getState(),A=m.local&&m.local.apply(m,[E].concat(b)),T=m.shouldFetch?m.shouldFetch.apply(m,[E].concat(b)):A==null,I=m.interceptResponse||function(j){return j},R=function(x,L){return function(H){var G=function(){if(l-=1,x(I(H,x,b)),L)throw H;return H};return u.alt.trapAsync?function(){return G()}:G()}};return T?(l+=1,m.loading&&m.loading(I(null,m.loading,b)),m.remote.apply(m,[E].concat(b)).then(R(m.success),R(m.error,1))):(u.emitChange(),A)},v},{});this.exportPublicMethods(g),this.exportPublicMethods({isLoading:function(){return l>0}})},exportPublicMethods:function(d){var u=this;t.eachObject(function(l,c){if(!t.isFunction(c))throw new TypeError("exportPublicMethods expects a function");u.publicMethods[l]=c},[d])},emitChange:function(){this.getInstance().emitChange()},on:function(d,u){d==="error"&&(this.handlesOwnErrors=!0);var l=this.lifecycleEvents[d]||(0,a.default)();return this.lifecycleEvents[d]=l,l.subscribe(u.bind(this))},bindAction:function(d,u){if(!d)throw new ReferenceError("Invalid action reference passed in");if(!t.isFunction(u))throw new TypeError("bindAction expects a function");var l=d.id?d.id:d;this.actionListeners[l]=this.actionListeners[l]||[],this.actionListeners[l].push(u.bind(this)),this.boundListeners.push(l)},bindActions:function(d){var u=this;t.eachObject(function(l,c){var g=/./,v=l.replace(g,function(p){return"on".concat(p[0].toUpperCase())});if(u[l]&&u[v])throw new ReferenceError("You have multiple action handlers bound to an action: "+"".concat(l," and ").concat(v));var h=u[l]||u[v];h&&u.bindAction(c,h)},[d])},bindListeners:function(d){var u=this;t.eachObject(function(l,c){var g=u[l];if(!g)throw new ReferenceError("".concat(l," defined but does not exist in ").concat(u.displayName));Array.isArray(c)?c.forEach(function(v){u.bindAction(v,g)}):u.bindAction(c,g)},[d])}},i=r;f.default=i,y.exports=f.default},826982:function(y,f,e){"use strict";var s=e(473234),n=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.createStoreConfig=m,f.transformStore=P,f.createStoreFromObject=_,f.createStoreFromClass=b;var a=n(e(449883)),t=n(e(858240)),r=n(e(721854)),i=n(e(699467)),o=n(e(506051)),d=s(e(928937)),u=s(e(919436)),l=n(e(992757)),c=n(e(845505));function g(S){var E=v();return function(){var T=(0,o.default)(S),I;if(E){var R=(0,o.default)(this).constructor;I=Reflect.construct(T,arguments,R)}else I=T.apply(this,arguments);return(0,i.default)(this,I)}}function v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(S){return!1}}function h(S,E,A){if(!!A){var T=E.StoreModel.config,I=u.isFunction(A)?A(E.state):A;E.state=T.setState.call(S,E.state,I),S.alt.dispatcher.isDispatching()||S.emitChange()}}function p(S,E,A,T){return u.assign(S,c.default,{displayName:A,alt:E,dispatcher:E.dispatcher,preventDefault:function(){this.getInstance().preventDefault=!0},boundListeners:[],lifecycleEvents:{},actionListeners:{},publicMethods:{},handlesOwnErrors:!1},T)}function m(S,E){E.config=u.assign({getState:function(T){return Array.isArray(T)?T.slice():u.isMutableObject(T)?u.assign({},T):T},setState:function(T,I){return u.isMutableObject(I)?u.assign(T,I):I}},S,E.config)}function P(S,E){return S.reduce(function(A,T){return T(A)},E)}function _(S,E,A){var T=null,I=p({},S,A,u.assign({getInstance:function(){return T},setState:function(j){h(this,T,j)}},E));return I.bindListeners&&c.default.bindListeners.call(I,I.bindListeners),I.observe&&c.default.bindListeners.call(I,I.observe(S)),I.lifecycle&&u.eachObject(function(R,j){c.default.on.call(I,R,j)},[I.lifecycle]),T=u.assign(new l.default(S,I,I.state!==void 0?I.state:{},E),I.publicMethods,{displayName:A,config:E.config}),T}function b(S,E,A){var T=null,I=E.config,R=function(G){(0,r.default)(K,G);var X=g(K);function K(){(0,t.default)(this,K);for(var J=arguments.length,z=new Array(J),k=0;k<J;k++)z[k]=arguments[k];return X.call.apply(X,[this].concat(z))}return K}(E);p(R.prototype,S,A,{type:"AltStore",getInstance:function(){return T},setState:function(X){h(this,T,X)}});for(var j=arguments.length,x=new Array(j>3?j-3:0),L=3;L<j;
1L++)x[L-3]=arguments[L];var H=(0,a.default)(R,x);return I.bindListeners&&H.bindListeners(I.bindListeners),I.datasource&&H.registerAsync(I.datasource),T=u.assign(new l.default(S,H,H.state!==void 0?H.state:H,E),d.getInternalMethods(E),I.publicMethods,{displayName:A}),T}},928937:function(y,f,e){"use strict";var s=e(473234),n=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.getInternalMethods=u,f.getPrototypeChain=l,f.warn=c,f.uid=g,f.formatAsConstant=v,f.dispatchIdentity=h,f.fsa=p,f.dispatch=m;var a=n(e(346797)),t=s(e(919436));function r(_,b){var S=Object.keys(_);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(_);b&&(E=E.filter(function(A){return Object.getOwnPropertyDescriptor(_,A).enumerable})),S.push.apply(S,E)}return S}function i(_){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?r(Object(S),!0).forEach(function(E){(0,a.default)(_,E,S[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(S)):r(Object(S)).forEach(function(E){Object.defineProperty(_,E,Object.getOwnPropertyDescriptor(S,E))})}return _}var o=Object.getOwnPropertyNames(P),d=Object.getOwnPropertyNames(P.prototype);function u(_,b){var S=b?d:o,E=b?_.prototype:_;return Object.getOwnPropertyNames(E).reduce(function(A,T){return S.indexOf(T)!==-1||(A[T]=E[T]),A},{})}function l(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _.prototype===void 0?b:l(Object.getPrototypeOf(_),t.assign(u(_,!0),b))}function c(_){typeof console!="undefined"&&console.warn(new ReferenceError(_))}function g(_,b){for(var S=0,E=b;Object.hasOwnProperty.call(_,E);)E=b+String(++S);return E}function v(_){return _.replace(/[a-z]([A-Z])/g,function(b){return"".concat(b[0],"_").concat(b[1].toLowerCase())}).toUpperCase()}function h(_){if(_===void 0)return null;for(var b=arguments.length,S=new Array(b>1?b-1:0),E=1;E<b;E++)S[E-1]=arguments[E];return S.length?[_].concat(S):_}function p(_,b,S,E){return{type:b,payload:S,meta:i({dispatchId:_},E),id:_,action:b,data:S,details:E}}function m(_,b,S,E){var A=b.dispatch(S);if(A===void 0)return null;var T=b.id,I=T,R=T,j={id:T,namespace:I,name:R},x=function(H){return E.dispatch(T,H,j)};return t.isFunction(A)?A(x,E):E.dispatcher.dispatch(p(_,T,A,j))}function P(){}},412843:function(y,f,e){"use strict";var s=e(473234);Object.defineProperty(f,"__esModule",{value:!0}),f.setAppState=a,f.snapshot=t,f.saveInitialSnapshot=r,f.filterSnapshots=i;var n=s(e(919436));function a(o,d,u){var l=o.deserialize(d);n.eachObject(function(c,g){var v=o.stores[c];if(v){var h=v.StoreModel.config,p=v.state;h.onDeserialize&&(l[c]=h.onDeserialize(g)||g),n.isMutableObject(p)?(n.eachObject(function(m){return delete p[m]},[p]),n.assign(p,l[c])):v.state=l[c],u(v,v.state)}},[l])}function t(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=d.length?d:Object.keys(o.stores);return u.reduce(function(l,c){var g=c.displayName||c,v=o.stores[g],h=v.StoreModel.config;v.lifecycle("snapshot");var p=h.onSerialize&&h.onSerialize(v.state);return l[g]=p||v.getState(),l},{})}function r(o,d){var u=o.deserialize(o.serialize(o.stores[d].state));o._initSnapshot[d]=u,o._lastSnapshot[d]=u}function i(o,d,u){return u.reduce(function(l,c){var g=c.displayName||c;if(!d[g])throw new ReferenceError("".concat(g," is not a valid store"));return l[g]=d[g],l},{})}},167733:function(y){"use strict";var f=function(){function r(i,o){var d=[],u=!0,l=!1,c=void 0;try{for(var g=i[Symbol.iterator](),v;!(u=(v=g.next()).done)&&(d.push(v.value),!(o&&d.length===o));u=!0);}catch(h){l=!0,c=h}finally{try{!u&&g.return&&g.return()}finally{if(l)throw c}}return d}return function(i,o){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return r(i,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e=/^[\w\d-]+(\|[1-9]\d*){4}$/;function s(r){return r?(r^Math.random()*16>>r/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,s)}function n(r){return e.test(r)?r:null}function a(r){r=r||new Date().getTime();var i=s();return[i,r,r,r,1].join("|")}function t(r,i){var o=r.split("|"),d=f(o,5),u=d[0],l=d[1],c=d[2],g=d[3],v=d[4];return i=i||new Date().getTime(),[u,l,g,i,parseInt(v,10)+1].join("|")}y.exports={validateCvr:n,createCvr:a,updateCvr:t}},985177:function(y){"use strict";var f=/^[1-9]\d*$/;function e(n){return f.test(n)?n:null}function s(n){return n=n||new Date().getTime(),n.toString()}y.exports={validateCvt:e,createCvt:s}},492136:function(y,f,e){"use strict";var s=e(638286)(document,!1),n=e(167733),a=n.validateCvr,t=n.createCvr,r=n.updateCvr,i=e(985177),o=i.validateCvt,d=i.createCvt,u=1e3*60*60*24*365,l=1e3*60;function c(v,h){return h=h||new Date().getTime(),new Date(h+v).toUTCString()}function g(v){if(v)return t();var h=a(s.get("ss_cvr")),p=o(s.get("ss_cvt")),m=new Date().getTime(),P={cvr:{path:"/",expires:c(u*2,m)},cvt:{path:"/",expires:c(l*30,m)}};return h&&!p?(h=r(h,m),p=d(m)):h||(h=t(m),p=d(m)),s.set("ss_cvr",h,P.cvr),s.set("ss_cvt",p,P.cvt),h}y.exports={hit:g}},69037:function(y,f,e){var s=e(791484),n=e(578174),a={};for(var t in s)s.hasOwnProperty(t)&&(a[s[t]]=t);var r=y.exports={to:{}};r.get=function(d){var u=d.substring(0,3).toLowerCase(),l,c;switch(u){case"hsl":l=r.get.hsl(d),c="hsl";break;case"hwb":l=r.get.hwb(d),c="hwb";break;default:l=r.get.rgb(d),c="rgb";break}return l?{model:c,value:l}:null},r.get.rgb=function(d){if(!d)return null;var u=/^#([a-fA-F0-9]{3})$/,l=/^#([a-fA-F0-9]{6})$/,c=/^(rgba?)\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,g=/^(rgba?)\(\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,v=/(\D+)/,h=[0,0,0,1],p,m,P;if(p=d.match(u))for(p=p[1],m=0;m<3;m++)h[m]=parseInt(p[m]+p[m],16);else if(p=d.match(l))for(p=p[1],m=0;m<3;m++){var _=m*2;h[m]=parseInt(p.slice(_,_+2),16)}else if(p=d.match(c)){if(P=p[5],P&&p[1]==="rgb"||!P&&p[1]==="rgba")return null;for(m=0;m<3;m++)h[m]=parseInt(p[m+2],0);P&&(h[3]=parseFloat(P))}else if(p=d.match(g)){if(P=p[5],P&&p[1]==="rgb"||!P&&p[1]==="rgba")return null;for(m=0;m<3;m++)h[m]=Math.round(parseFloat(p[m+2])*2.55);P&&(h[3]=parseFloat(P))}else return(p=d.match(v))?p[1]==="transparent"?[0,0,0,0]:(h=s[p[1]],h?(h[3]=1,h):null):null;for(m=0;m<h.length;m++)h[m]=i(h[m],0,255);return h[3]=i(h[3],0,1),h},r.get.hsl=function(d){if(!d)return null;var u=/^(hsla?)\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,l=d.match(u);if(l){var c=l[5];if(c&&l[1]==="hsl"||!c&&l[1]==="hsla")return null;var g=c?parseFloat(c):1,v=(parseFloat(l[2])%360+360)%360,h=i(parseFloat(l[3]),0,100),p=i(parseFloat(l[4]),0,100),m=i(g,0,1);return[v,h,p,m]}return null},r.get.hwb=function(d){if(!d)return null;var u=/^hwb\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,l=d.match(u);if(l){var c=parseFloat(l[4]),g=(parseFloat(l[1])%360+360)%360,v=i(p
1arseFloat(l[2]),0,100),h=i(parseFloat(l[3]),0,100),p=i(isNaN(c)?1:c,0,1);return[g,v,h,p]}return null},r.to.hex=function(d){return"#"+o(d[0])+o(d[1])+o(d[2])},r.to.rgb=function(){var d=n(arguments);return d.length<4||d[3]===1?"rgb("+Math.round(d[0])+", "+Math.round(d[1])+", "+Math.round(d[2])+")":"rgba("+Math.round(d[0])+", "+Math.round(d[1])+", "+Math.round(d[2])+", "+d[3]+")"},r.to.rgb.percent=function(){var d=n(arguments),u=Math.round(d[0]/255*100),l=Math.round(d[1]/255*100),c=Math.round(d[2]/255*100);return d.length<4||d[3]===1?"rgb("+u+"%, "+l+"%, "+c+"%)":"rgba("+u+"%, "+l+"%, "+c+"%, "+d[3]+")"},r.to.hsl=function(){var d=n(arguments);return d.length<4||d[3]===1?"hsl("+d[0]+", "+d[1]+"%, "+d[2]+"%)":"hsla("+d[0]+", "+d[1]+"%, "+d[2]+"%, "+d[3]+")"},r.to.hwb=function(){var d=n(arguments),u="";return d.length>=4&&d[3]!==1&&(u=", "+d[3]),"hwb("+d[0]+", "+d[1]+"%, "+d[2]+"%"+u+")"},r.to.keyword=function(d){return a[d.slice(0,3)]};function i(d,u,l){return Math.min(Math.max(u,d),l)}function o(d){var u=d.toString(16).toUpperCase();return u.length<2?"0"+u:u}},714168:function(y,f,e){"use strict";e.d(f,{Z:function(){return j}});var s=e(162962),n=e.n(s),a=e(384491),t=e.n(a),r=e(995823),i=(0,r.getI18nInstance)(),o=new(n())(i),d=new(t())(i),u=o.T,l=o.Plural,c=o.FormattedCurrency,g=o.FormattedNumber,v=o.FormattedDateTime,h=o.RelativeTime,p=i.formatNumber,m=i.formatCurrency,P=i.formatCurrencyToParts,_=i.getCurrencySymbol,b=i.formatQuantity,S=i.formatDateTime,E=i.formatRelativeTime,A=i.translate,T=i.pluralize,I=d.formatIcuMessage,R={EUR:{code:"EUR",currencyName:A("Euro",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:978},USD:{code:"USD",currencyName:A("US Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:840},AUD:{code:"AUD",currencyName:A("Australian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:36},NOK:{code:"NOK",currencyName:A("Norwegian Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:578},CAD:{code:"CAD",currencyName:A("Canadian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:124},NZD:{code:"NZD",currencyName:A("New Zealand Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:554},DKK:{code:"DKK",currencyName:A("Danish Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:208},GBP:{code:"GBP",currencyName:A("Pound Sterling",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:826},HKD:{code:"HKD",currencyName:A("Hong Kong Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:344},CHF:{code:"CHF",currencyName:A("Swiss Franc",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:756},MXN:{code:"MXN",currencyName:A("Mexican Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:484},SGD:{code:"SGD",currencyName:A("SingaporeDollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:702},SEK:{code:"SEK",currencyName:A("Swedish Krona",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:752},CZK:{code:"CZK",currencyName:A("Czech Koruna",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:203},ILS:{code:"ILS",currencyName:A("Israeli New Shegel",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:376},PHP:{code:"PHP",currencyName:A("Philippine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:608},RUB:{code:"RUB",currencyName:A("Russian Ruble",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:643},PLN:{code:"PLN",currencyName:A("Polish Zloty",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:616},THB:{code:"THB",currencyName:A("Thai Baht",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:764},MYR:{code:"MYR",currencyName:A("Malaysian Ringgit",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:458},ARS:{code:"ARS",currencyName:A("Argentine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:32},BRL:{code:"BRL",currencyName:A("Brazilian Real",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:986},COP:{code:"COP",currencyName:A("Colombian Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:170},IDR:{code:"IDR",currencyName:A("Indonesian Rupiah",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:360},INR:{code:"INR",currencyName:A("Indian Rupee",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:356},JPY:{code:"JPY",currencyName:A("Yen",null,{project:"libs.Currency"}),fractionDigits:0,numericCode:392},ZAR:{code:"ZAR",currencyName:A("South African Rand",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:710}},j=R},481999:function(y,f,e){"use strict";e.d(f,{Ft:function(){return a},Gw:function(){return t},hU:function(){return r},I8:function(){return i},AM:function(){return o}});var s=e(392338),n=e.n(s);function a(d){var u=d.currencyCode,l=d.sign,c=d.value;return"".concat(l).concat(c," ").concat(u).trim()}function t(d){var u=d.sign,l=d.symbol,c=d.value;
1return"".concat(u).concat(l).concat(c).trim()}function r(d){var u=d.sign,l=d.symbol,c=d.value;return"".concat(u).concat(l," ").concat(c).trim()}function i(d){var u=d.currencyCode,l=d.sign,c=d.symbol,g=d.value;return"".concat(l).concat(c).concat(g," ").concat(u).trim()}function o(d){var u=d.sign,l=d.symbol,c=d.value;return"".concat(u).concat(c," ").concat(l).trim()}},995823:function(y,f,e){"use strict";e.r(f),e.d(f,{getI18nInstance:function(){return r},setI18nInstance:function(){return i}});var s=e(825672),n="libs.Currency";function a(o){return e(238725)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance},158709:function(y,f,e){"use strict";e.r(f),e.d(f,{CurrencyTemplates:function(){return o.F},DEFAULT_CURRENCY_TEMPLATE:function(){return i.T},MoneyFormatter:function(){return s.default},createTemplate:function(){return i.M},default:function(){return d.Z},fromCents:function(){return r},getFractionDigits:function(){return n.Z}});var s=e(638504),n=e(544552),a=e(734520),t=e.n(a);function r(u,l){var c=(0,n.Z)(l),g=parseFloat(u)/Math.pow(10,c);return new(t())(g,l)}var i=e(236577),o=e(792355),d=e(714168)},638504:function(y,f,e){"use strict";e.r(f),e.d(f,{default:function(){return T}});var s=e(392338),n=e(858240),a=e.n(n),t=e(4636),r=e.n(t),i=e(346797),o=e.n(i),d=e(970726),u=e(211184),l=e.n(u),c=e(236577),g=e(792355),v=/^(\d+)(\d{3})/;function h(I){for(var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";I.match(v);)I=I.replace(v,"$1".concat(R,"$2"));return I}var p=e(848749),m=e.n(p),P=e(544552);function _(I,R,j){return j.trimCents&&m()(I)?0:(0,P.Z)(R)}function b(I){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return I.replace(".",R)}function S(I,R){var j=Object.keys(I);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(I);R&&(x=x.filter(function(L){return Object.getOwnPropertyDescriptor(I,L).enumerable})),j.push.apply(j,x)}return j}function E(I){for(var R=1;R<arguments.length;R++){var j=arguments[R]!=null?arguments[R]:{};R%2?S(Object(j),!0).forEach(function(x){o()(I,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(j)):S(Object(j)).forEach(function(x){Object.defineProperty(I,x,Object.getOwnPropertyDescriptor(j,x))})}return I}var A={trimCents:!1,useGrouping:!0,valueOnly:!1},T=function(){function I(R){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g.F,x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;a()(this,I),o()(this,"locale",void 0),o()(this,"templates",void 0),this.templates=j[R]||{},x&&I.enableDebugging(),this.locale=R}return r()(I,[{key:"format",value:function(j){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};x=E(E({},A),x);var L=I.debug?"\uD83D\uDCB0":"",H=j.toFloat(),G=Math.abs(H),X=H<0?"-":"",K=j.currencyCode,J=E(E({},c.T),this.templates[K]),z=_(H,K,x),k=String(l()(G,z).toFixed(z));k=b(k,J.decimalSeparator),x.useGrouping&&(k=h(k,J.thousandsSeparator));var F=J.symbol;if(x.symbolOnly)return F;var q=J.formatter,N=x.valueOnly?q({symbol:"",value:k,currencyCode:"",sign:X}):q({symbol:F,value:k,currencyCode:K,sign:X});return L+N+L}}],[{key:"enableDebugging",value:function(){I.debug=!0}},{key:"disableDebugging",value:function(){I.debug=!1}}]),I}();o()(T,"debug",void 0)},792355:function(y,f,e){"use strict";e.d(f,{F:function(){return t}});var s=e(346797),n=e.n(s),a=e(481999),t=n()({"en-US":{AUD:{symbol:"A$",formatter:a.Gw},CAD:{symbol:"CA$",formatter:a.Gw},EUR:{symbol:"\u20AC",formatter:a.Gw},GBP:{symbol:"\xA3",formatter:a.Gw},HKD:{symbol:"HK$",formatter:a.Gw},USD:{symbol:"$",formatter:a.Gw}},native:{ARS:{symbol:"$",formatter:a.I8}
1,AUD:{symbol:"$",formatter:a.I8},BRL:{symbol:"R$",formatter:a.Gw},CAD:{symbol:"$",formatter:a.I8},CHF:{symbol:"CHF",formatter:a.Gw},COP:{symbol:"COL$",formatter:a.Gw},DKK:{symbol:"kr",formatter:a.AM},EUR:{symbol:"\u20AC",formatter:a.Gw},GBP:{symbol:"\xA3",formatter:a.Gw},HKD:{symbol:"HK$",formatter:a.Gw},MXN:{symbol:"$",formatter:a.Gw},NOK:{symbol:"kr",formatter:a.AM},NZD:{symbol:"$",formatter:a.Gw},SEK:{symbol:"kr",formatter:a.AM},SGD:{symbol:"S$",formatter:a.Gw},USD:{symbol:"$",formatter:a.Gw},CZK:{symbol:"K\u010D",formatter:a.AM},IDR:{symbol:"Rp",formatter:a.Gw},ILS:{symbol:"\u20AA",formatter:a.hU},INR:{symbol:"\u20B9",formatter:a.Gw},JPY:{symbol:"\xA5",formatter:a.Gw},PHP:{symbol:"Php",formatter:a.Gw},RUB:{symbol:"p.",formatter:a.AM},PLN:{symbol:"z\u0142",formatter:a.AM},THB:{symbol:"\u0E3F",formatter:a.Gw},MYR:{symbol:"RM",formatter:a.Gw},ZAR:{symbol:"R",formatter:a.Gw}}},"__test__",{AAA:{symbol:"$",decimalSeparator:",",thousandsSeparator:"."}})},236577:function(y,f,e){"use strict";e.d(f,{T:function(){return c},M:function(){return g}});var s=e(392338),n=e.n(s),a=e(346797),t=e.n(a),r=e(420651),i=e.n(r),o=e(481999),d=e(792355);function u(v,h){var p=Object.keys(v);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(v);h&&(m=m.filter(function(P){return Object.getOwnPropertyDescriptor(v,P).enumerable})),p.push.apply(p,m)}return p}function l(v){for(var h=1;h<arguments.length;h++){var p=arguments[h]!=null?arguments[h]:{};h%2?u(Object(p),!0).forEach(function(m){t()(v,m,p[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(p)):u(Object(p)).forEach(function(m){Object.defineProperty(v,m,Object.getOwnPropertyDescriptor(p,m))})}return v}var c=Object.freeze({symbol:"",thousandsSeparator:",",decimalSeparator:".",maxIntegerPlaces:15,formatter:o.Ft}),g=function(h,p){var m=i()(d.F,[h,p],{});return l(l({},c),m)}},544552:function(y,f,e){"use strict";e.d(f,{Z:function(){return a}});function s(t,r){return r in t}var n=e(714168);function a(t){return s(n.Z,t)?n.Z[t].fractionDigits:2}},238725:function(y,f,e){var s={"./libs.Currency.en-US.yaml":397530,"common/temp/node_modules/.pnpm/@[email protected]_0036f06ceee20463fa1cb800f47d02a2/node_modules/@sqs/commerce-currency/sqs-i18n-translations/strings/libs.Currency.en-US.yaml":397530};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=238725},240096:function(y,f,e){y.exports=e(433571)},102577:function(y){var f,e,s,n;function a(d){return d&&d.window===d}function t(){f=n.innerWidth,e=n.screen.availHeight,s=n.outerHeight}function r(d){return function(u){(n.innerWidth!==f||n.screen.availHeight!==e||n.outerHeight!==s)&&d(u)}}function i(d,u){u||(u=window),!n&&a(u)&&(n=u);var l=r(d);return n.addEventListener("resize",l),n.removeEventListener("resize",t),n.addEventListener("resize",t),l}function o(d){n.removeEventListener("resize",d)}y.exports={addListener:i,removeListener:o}},311462:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.AUTHENTICATED_NO_SITE_PERMISSIONS=0,n.CONFIG=1,n.ADMIN=2,n.CONFIG_CONTENT_MANAGER=11,n.CONFIG_SETTINGS=12,n.CONFIG_ACTIVITY=13,n.CONFIG_COMMERCE=14,n.CONFIG_NEWSLETTER=15,n.CONFIG_DAMASK=17,n.CONFIG_CRM=18,n.CONFIG_CHANGE_STRUCTURE=1110,n.CONFIG_TRUSTED_COMMENTER=1111,n.CONFIG_JOBS_DELETE=1112,n.CONFIG_SETTINGS_GENERAL=1210,n.CONFIG_SETTINGS_LOCALE=1211,n.CONFIG_SETTINGS_SOCIAL_ACCOUNT=1212,n.CONFIG_SETTINGS_FACEBOOK=1213,n.CONFIG_SETTINGS_SOCIAL_SETTINGS=1214,n.CONFIG_SETTINGS_MEMBER_ACCOUNTS=1215,n.CONFIG_SETTINGS_DOMAIN=1216,n.CONFIG_SETTINGS_TEMPLATE=1217,n.CONFIG_SETTINGS_IMPORT=1218,n.CONFIG_SETTINGS_CODEINJECT=1219,n.CONFIG_SETTINGS_ADVANCED=1220,n.CONFIG_SETTINGS_DEVELOPER=1221,n.CONFIG_SETTINGS_SESSIONS=1222,n.CONFIG_SETTINGS_MOBILE=1223,n.CONFIG_SETTINGS_BILLING=1224,n.CONFIG_SETTINGS_SUPPORT=1225,n.CONFIG_SETTINGS_SITE=1226,n.CONFIG_SETTINGS_LABS=1227,n.CONFIG_SETTINGS_ADVERTISING=1228,n.CONFIG_SETTINGS_USER_ACCOUNTS=1229,n.CONFIG_SETTINGS_REMOVE_WEBSITE=1230,n.CONFIG_SETTINGS_CIRCLE_LABS=1231,n.CONFIG_SETTINGS_INTERNAL_LABS=1232,n.CONFIG_SETTINGS_PROJECT_TITLE=1233,n.CONFIG_ACTIVITY_STATS=1310,n.CONFIG_ACTIVITY_COMMENTS=1311,n.CONFIG_COMMERCE_ORDERS=1410,n.CONFIG_COMMERCE_STORE_SETTINGS=1411,n.CONFIG_COMMERCE_SHIPPING=1412,n.CONFIG_COMMERCE_COUPONS=1413,n.CONFIG_COMMERCE_TAXES=1414,n.CONFIG_COMMERCE_EMAIL_NOTIFICATIONS=1415,n.CONFIG_COMMERCE_INVENTORY=1416,n.CONFIG_COMMERCE_DONATIONS=1417,n.CONFIG_COMMERCE_ACCOUNTING=1418,n.CONFIG_COMMERCE_DISCOUNTS=1419,n.CONFIG_COMMERCE_PAYMENTS=1420,n.CONFIG_COMMERCE_POS=1421,n.CONFIG_COMMERCE_PRODUCT_REVIEWS=1422,n.CONFIG_NEWSLETTER_READ_SUBSCRIBER=1510,n.CONFIG_NEWSLETTER_WRITE_SUBSCRIBER=1511,n.CONFIG_NEWSLETTER_READ_GROUP=1512,n.CONFIG_NEWSLETTER_WRITE_GROUP=1513,n.CONFIG_NEWSLETTER_READ_MESSAGE=1514,n.CONFIG_NEWSLETTER_WRITE_MESSAGE=1515,n.CONFIG_NEWSLETTER_READ_SETTINGS=1516,n.CONFIG_NEWSLETTER_WRITE_SETTINGS=1517,n.CONFIG_ACCEPT_TOS=1610,n.CONFIG_DOMAINS_REMOVE=1611,n.CONFIG_DOMAINS_ADD=1612,n.CONFIG_CRM_COMMERCE_CUSTOMERS=1810,n.CONFIG_MARKETING=1910,n.CONFIG_MARKETING_CAMPAIGNS=1911,n.CONFIG_MARKETING_LOCAL_LISTINGS=1912,n.CONFIG_SCHEDULING=1920,n.CONFIG_ASSET_LIBRARY=1921,n.CONFIG_DRAFT_PUBLISH=1930,n.CONFIG_DRAFT_CREATE=1931,n.ADMIN_GRANT_ACCESS=2010,n.ADM
1IN_BILLING_READ=2011,n.ADMIN_BILLING_WRITE=2012,n.ADMIN_READ_CUSTOMER_DATA=2013,n.ADMIN_WRITE_CUSTOMER_DATA=2014,n.ADMIN_DEV_SETTINGS=2015,n.ADMIN_MARKETING_READ=2016,n.ADMIN_MARKETING_WRITE=2017,n.ADMIN_LOGINAS=2018,n.ADMIN_TEMPLATE_SETTINGS=2019,n.ADMIN_SYSTEM_JSON_VIEW=2020,n.ADMIN_TAXONOMY=2021,n.ADMIN_CHANGE_USER_EMAIL=2022,n.ADMIN_ADD_NOTE=2023,n.ADMIN_EDIT_OTHER_NOTES=2024,n.ADMIN_EXTEND_TRIAL=2025,n.ADMIN_BIZPIPE_STATS_MOBILE_ACCESS=2026,n.ADMIN_REFERRALS_WRITE=2027,n.ADMIN_BILLING_REFUND=2028,n.ADMIN_BILLING_APPLY_EDU_DISCOUNT=2029,n.ADMIN_DEACTIVATE_SQUARESPACE_ACCOUNT=2030,n.ADMIN_BILLING_EXPIRE=2031,n.ADMIN_CHANGE_MAX_COMPS=2032,n.ADMIN_CHANGE_GUILDS=2033,n.ADMIN_DOMAIN_WRITE=2034,n.ADMIN_GOOGLE_APPS_WRITE=2035,n.ADMIN_ADD_CONTRIBUTER=2036,n.ADMIN_CHANGE_WEBSITE_OWNER=2037,n.ADMIN_REMOVE_CONTRIBUTER=2038,n.ADMIN_TAXATION_READ=2039,n.ADMIN_SUSPEND=2040,n.ADMIN_TAXATION_WRITE=2041,n.ADMIN_LOGINAS_PUBLIC=2042,n.ADMIN_MASS_REMOVAL=2043,n.ADMIN_REMOVE_SITE=2044,n.ADMIN_TERMINATE_MEMBER_ACCOUNT=2045,n.ADMIN_DOMAIN_REMOVE=2046,n.ADMIN_GOOGLE_APPS_LINK=2047,n.ADMIN_REFERRALS_READ=2048,n.ADMIN_SURVEYS=2049,n.ADMIN_REPORTING_CREDIT_TILL=2050,n.ADMIN_TWO_FACTOR=2051,n.ADMIN_READ_IDENTIFIABLE_CUSTOMER_DATA=2052,n.ADMIN_BILLING_CHANGE_PLAN=2053,n.ADMIN_CAMPAIGNS_REVIEW_EMAIL=2054,n.ADMIN_PRESERVE_MEMBER_ACCOUNT=2055,n.ADMIN_LOCK_MEMBER_ACCOUNT=2056,n.ADMIN_REDACT_SITE_USERS=2057,n.ADMIN_BILLING_MIGRATE_RIPLEY=2058,n.ADMIN_ENTERPRISE=2059,n.ADMIN_BILLING_ADD_CREDIT=2060,n.ADMIN_FRAUD_DETECTION_READ=2061,n.ADMIN_FRAUD_DETECTION_WRITE=2062,n.ADMIN_FRAUD_DETECTION_SEND_EMAIL=2063,n.ADMIN_INTERNAL_CAMPAIGNS_SENDER=2064,n.SITEL_DENY_TEST_TOGGLE=2065,n.ADMIN_BILLING_DELETE_PAYMENT_METHOD=2066,n.ADMIN_EXTENSIONS_CONSOLE=2067,n.ADMIN_EXTENSIONS_CONSOLE_INTERNAL_CLIENTS=2068})(e||(e={}));var s=e;f.default=s,y.exports=f.default},138816:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.NAVIGATION=1,n.HTML=2,n.LOGO=3,n.MAP=4,n.IMAGE=5,n.TWITTER=6,n.JOURNAL=7,n.GALLERY=8,n.FORM=9,n.GEO=10,n.INDEX=11,n.COLLECTION_LINK=12,n.LINK=13,n.TAGCLOUD=14,n.COMMENTS=16,n.FOLDER=17,n.MENU=18,n.SOCIAL_LINKS=19,n.SUMMARY=20,n.SPACER=21,n.EMBED=22,n.CODE=23,n.FOURSQUARE=24,n.INSTAGRAM=25,n.CALENDAR=26,n.POSTS_BY_AUTHOR=27,n.POSTS_BY_TAG=28,n.POSTS_BY_CATEGORY=29,n.POSTS_BY_MONTH=30,n.QUOTE=31,n.VIDEO=32,n.SEARCH=33,n.AUDIO=41,n.FIVEHUNDREDPIX=42,n.PRODUCT=43,n.MARKDOWN=44,n.FLICKR=45,n.AMAZON=46,n.HORIZONTAL_RULE=47,n.SOCIAL_ACCOUNT_LINKS=48,n.RSS=49,n.OPENTABLE=50,n.NEWSLETTER=51,n.DONATION=52,n.BUTTON=53,n.SOCIAL_ACCOUNT_LINKS_V2=54,n.SUMMARY_V2=55,n.SOUNDCLOUD=56,n.EMAIL_FOOTER=57,n.IN_BROWSER_MESSAGE_LINK=58,n.TOURDATES=59,n.ALBUM=60,n.ARCHIVE=61,n.CHART=62,n.ZOLA=63,n.ACUITY=65,n.OPENTABLE_V2=66,n.MEMBER_AREA=67,n.TOCK=68,n.ACCORDION=69,n.MARQUEE=70,n.SHAPE=71})(e||(e={}));var s=e;f.default=s,y.exports=f.default},694049:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.BUTTON_BLOCK=1,n.POPUP_OVERLAY=2})(e||(e={}));var s=e;f.default=s,y.exports=f.default},913778:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.PAGE_VIEW=1,n.SITE_SEARCH=2,n.HEARTBEAT=10,n.AUDIO=20,n.VIDEO=21})(e||(e={}));var s=e;f.default=s,y.exports=f.default},689053:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.COLLECTION_TYPE_GENERIC=1,n.COLLECTION_TYPE_SUBSCRIPTION=2,n.TWITTER=3,n.FOURSQUARE=4,n.INSTAGRAM=5,n.GALLERY_BLOCK=6,n.TEMPLATE_PAGE=7,n.SPLASH_PAGE=8,n.COLLECTION_TYPE_PAGE=10,n.FIVEHUNDREDPIX=11,n.FLICKR=12,n.PRODUCTS=13,n.SLIDE_GALLERY=15,n.SLIDE_ALBUM=16,n.SLIDE_VIDEO=17,n.ALBUM_BLOCK=18,n.PROJECT=19,n.SECTION_CATALOG=20,n.PAGE_CATALOG=21,n.ITEM_CATALOG=22,n.PORTFOLIO=23,n.LESSONS=24,n.COURSE=25,n.MOSAIC=14})(e||(e={}));var s=e;f.default=s,y.exports=f.default},340153:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.APPLEPODCAST=56,n.BANDSINTOWN=29,n.BEHANCE=30,n.CHOWNOW=49,n.CODEPEN=31,n.DISCORD_UNAUTH=81,n.DRIBBBLE=18,n.DROPBOX=9,n.DROPBOX2=40,n.DROPBOX2017=55,n.EMAIL=20,n.FACEBOOK=2,n.FACEBOOK_UNAUTH=60,n.FIVEHUNDREDPIX=16,n.FIVEHUNDREDPIX_UNAUTH=67,n.FLICKR=3,n.FLICKR_UNAUTH=63,n.FOURSQUARE=1,n.FOURSQUARE_UNAUTH=72,n.GITHUB=23,n.GITHUB_UNAUTH=73,n.GOODREADS=52,n.GOOGLE=5,n.GOOGLEAUTH2=21,n.GOOGLEDOCS2=22,n.GOOGLEPLAY=28,n.GOOGLESEARCHCONSOLE=57,n.GOOGLE_SPREADSHEET=6,n.HOUZZ=42,n.IMDB=51,n.INSTAGRAM=10,n.INSTAGRAM_2019=77,n.INSTAGRAM_UNAUTH=64,n.ITUNES=27,n.LINKEDIN=14,n.LINKEDIN_UNAUTH=65,n.MAILCHIMP=13,n.MEDIUM=32,n.MEETUP=33,n.PAYPAL_LIVE_BILLING=48,n.PAYPAL_LIVE_ONBOARDING=46,n.PAYPAL_SANDBOX_BILLING=47,n.PAYPAL_SANDBOX_ONBOARDING=45,n.PINTEREST=19,n.PINTEREST_UNAUTH=61,n.RDIO=34,n.REDDIT=43,n.SMUGMUG=17,n.SMUGMUG_UNAUTH=75,n.SNAPCHAT=50,n.SOUNDCLOUD=25,n.SOUNDCLOUD_
1UNAUTH=70,n.SPOTIFY=26,n.SPOTIFY_UNAUTH=71,n.SQUARE=76,n.SQUARE_SANDBOX=78,n.STITCHER=53,n.STRIPE=15,n.STUMBLEUPON=44,n.THEDOTS=58,n.TIDAL=54,n.TIKTOK_UNAUTH=82,n.TRIPADVISOR=59,n.TUMBLR=8,n.TUMBLR_UNAUTH=66,n.TWITCH=35,n.TWITTER=4,n.TWITTER_UNAUTH=62,n.URL=74,n.VEVO=36,n.VIMEO=12,n.VIMEO_UNAUTH=68,n.VINE=37,n.VSCO=38,n.WEGLOT=80,n.XERO=24,n.YELP=39,n.YOUTUBE=11,n.YOUTUBE_UNAUTH=69,n.FACEBOOK_COMMERCE=79})(e||(e={}));var s=e;f.default=s,y.exports=f.default},486270:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.ADD_PAGES=1,n.ADD_CONTRIBUTORS=2,n.ADD_COMMERCE_PRODUCTS=3,n.DEVELOPER_SDK=4,n.MOBILE_PORTFOLIO=5,n.COMMERCE=6,n.ACCOUNTING=7,n.SHIPSTATION_INTEGRATION=8,n.ABANDONED_CART_RECOVERY=9,n.REAL_TIME_SHIPPING_RATES=10,n.COMMERCE_TRANSACTION_FEE=11,n.FREE_GOOGLE_APPS_INBOX=12,n.GOOGLE_AD_WORDS_CREDIT=13,n.VAT_COLLECTION_BETA=14,n.MULTICURRENCY_BETA=15,n.STRICT_GOOGLE_APPS_FREE_INBOX_POLICY=16,n.CRM=17,n.AUTO_TRIGGERED_DISCOUNTS=18,n.ACUITY=19,n.COMMERCE_CHECKOUT_ON_DOMAIN=20,n.POPUP_OVERLAY=21,n.SUPPORT_CALLBACKS=22,n.FREE_GOOGLE_APPS_INBOX_WITHIN_ONE_YEAR=23,n.FREE_DOMAIN_WITHIN_ONE_YEAR=24,n.ANALYTICS_COMMERCE_ADVANCED=25,n.MOBILE_INFO_BAR=26,n.ANNOUNCEMENT_BAR=27,n.CODE_INJECTION=28,n.SITE_USER_ACCOUNTS=29,n.BLOCK_ACUITY=30,n.BLOCK_DONATION=31,n.BLOCK_OPENTABLE=32,n.BLOCK_AMAZON=33,n.BLOCK_MENU=34,n.CHOW_NOW_INTEGRATION=35,n.GOOGLE_ANALYTICS_INTEGRATION=36,n.MAILCHIMP_INTEGRATION=37,n.BLOCK_CODE=38,n.ANALYTICS_COMMERCE_BASIC=39,n.GIFT_CARDS=40,n.FORMS_API=41,n.ORDERS_API=42,n.LIMITED_USE_DISCOUNTS=43,n.ANALYTICS_BUSINESS=44,n.PRODUCTS_ON_INSTAGRAM=45,n.BLOCK_CODE_WITH_MEDIA=46,n.COMMERCE_POSTAL_CODE_SHIPPING=47,n.FACEBOOK_PIXEL=48,n.MARKETING_CAMPAIGN_TRACKER=49,n.COMMERCE_SUBSCRIPTIONS=50,n.FACEBOOK_DYNAMIC_ADS=51,n.LIMITED_AVAILABILITY_ALERTS=52,n.INVENTORY_API=53,n.COMMERCE_RESTOCK_NOTIFICATIONS=54,n.COMMERCE_RELATED_PRODUCTS=55,n.COMMERCE_POINT_OF_SALE=56,n.COMMERCE_BULK_MANAGER=57,n.TRANSACTIONS_API=58,n.EXTERNAL_LOCATION_MANAGEMENT=59,n.IN_APP_LIVE_CHAT=60,n.COVID_TEMP_GIFT_CARDS_MESSAGING=61,n.PRODUCTS_API=62,n.AUTOMATIC_TAX_CALCS=63,n.COMMERCE_AFTERPAY=64,n.PROFILES_API=65,n.COMMERCE_NATIVE_PRODUCT_REVIEWS=66,n.COMMERCE_IMPORTED_PRODUCT_REVIEWS=67,n.COMMERCE_CLEARPAY=68,n.PRIORITY_SUPPORT=69,n.COMMERCE_KLARNA=70})(e||(e={}));var s=e;f.default=s,y.exports=f.default},725771:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.ARCHED_WINDOW="arched-window",n.AWARD="award",n.BOTTOM_LEFT_CURVE="bottom-left-curve",n.CIRCLE="circle",n.DESCENDING_RAMP="descending-ramp",n.DESCENDING_STAIRS="descending-stairs",n.DIAMOND="diamond",n.EGG="egg",n.EIGHT_SIDED_SHIELD="eight-sided-shield",n.FLOWER="flower",n.FOUR_PETAL_FLOWER="four-petal-flower",n.FOUR_POINT_STAR="four-point-star",n.GEAR="gear",n.HORIZONTAL_OVAL="horizontal-oval",n.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",n.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",n.HOURGLASS="hourglass",n.KEYSTONE="keystone",n.NARROW_HORIZONTAL_STACKED_PILLS="narrow-horizontal-stacked-pills",n.NARROW_POW="narrow-pow",n.OCTAGON="octagon",n.OPEN_BOOK="open-book",n.POINTED_WINDOW="pointed-window",n.RABBET="rabbet",n.ROUNDED_PENTAGON="rounded-pentagon",n.STEPPED_CROSS="stepped-cross",n.TV="tv",n.VERTICAL_OVAL="vertical-oval",n.VERTICAL_PARALLELOGRAM="vertical-parallelogram",n.VERTICAL_RIGHT_LEANING_OVAL="vertical-right-leaning-oval",n.VERTICAL_STACKED_CIRCLES="vertical-stacked-circles",n.WIDE_EIGHT_SIDED_SHIELD="wide-eight-sided-shield",n.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",n.WIDE_OPEN_BOOK="wide-open-book",n.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var s=e;f.default=s,y.exports=f.default},885363:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.LEFT="left",n.RIGHT="right"})(e||(e={}));var s=e;f.default=s,y.exports=f.default},905143:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.IMPERIAL=1,n.METRIC=2})(e||(e={}));var s=e;f.default=s,y.exports=f.default},974183:function(y,f){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.NONE=1,n.LIGHT=2,n.DARK=3})(e||(e={}));var s=e;f.default=s,y.exports=f.default},864312:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.MAIN_CONTENT=1,n.CONTENT_COLLECTION=1,n.PAGE=2,n.SPLASH_PAGE=3,n.CONTENT_ITEM=50,n.NOT_FOUND=100,n.ERROR=101,n.SEARCH=102,n.LOCK_SCREEN=103,n.POPUP_OVERLAY=104,n.PROTECTED_CONTENT=105,n.MEMBER_AREA_ACCESS_DENIED=106,n.SHOW_CART=200,n.CHECKOUT=201,n.ORDER_CONFIRMED=202,n.DONATE=203,n.CONTRIBUTION_CONFIRMED=204,n.COMMERCE_CART_V2=205,n.SUBSCRIPTION_CONFIRMED=206,n.ORDER_RECEIVED=207,n.MEMBERSHIP_CONFIRMED=208,n.REVIEWS_REQUEST=209,n.DIGITAL_PRODUCT_COMPOSER_PREVIEW=210,n.ORDER_STATUS=211,n.NEWSLETTER_UNSUBSCRIBE=300,n.COMMERCE_EMAIL_PREVIEW=301})(e||(e={}));var s=e;f.default=s,y.exports=f.default},396491:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.NONE=1,n.SHOW=2})(e||(e={}));var s=e;f.default=s,y.exports=f.default},468044:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.PHYSICAL=1,n.DIGITAL=2,n.SERVICE=3,n.GIFT_CARD=4,n.PAYWALL=5})(e||(e={}));var s=e;f.default=s,y.exports=f.default},781206:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.TEXT=1,n.IMAGE=2,n.QUOTE=4,n.LINK=5,n.CHAT=6,n.AUDIO=7,n.VIDEO=8,n.VIDEO_DEPRECATED=9,n.REVIEW=10,n.STORE_ITEM=11,n.EVENT=12,n.THREAD=13,n.GALLERY=14,n.BINARY=15,n.CSSASSET=16,n.TWEAKASSET=17,n.DIGITALGOOD=18,n.ATTACHMENT=19,n.EXPORT_WORDPRESS=20,n.EXPORT_INTERNAL=21,n.TEXT_PROSE_MIRROR=22,n.TWEET=50,n.RSS=51,n.CHECKIN=52,n.DELICIOUS=53,n.KBARTICLE=54,n.PROJECT_ITEM=55,n.COLLECTION_TAXONOMY=56,n.SECTION_TAXONOMY=57,n.ITEM_TAXONOMY=58,n.PORTFOLIO_ITEM=59,n.EXPORT_TRANSLATABLE_STRINGS=60,n.SQSP_VIDEO=61,n.LESSON=62,n.COURSE_ITEM=63})(e||(e={}));var s=e;f.default=s,y.exports=f.default},167892:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.NONE=1,n.BLACK=2,n.WHITE=3})(e||(e={}));var s=e;f.default=s,y.exports=f.default},243187:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.ARCHED_WINDOW="arched-window",n.AWARD="award",n.CIRCLE="circle",n.DIAMOND="diamond",n.EGG="egg",n.EYE="eye",n.EIGHT_SIDED_SHIELD="eight-sided-shield",n.FLOWER="flower",n.FOUR_LEAF_CLOVER="four-leaf-clover",n.FOUR_PETAL_FLOWER="four-petal-flower",n.FOUR_POINT_STAR="four-point-star",n.GEAR="gear",n.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",n.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",n.HOURGLASS="hourglass",n.KEYSTONE="keystone",n.NARROW_CORSET="narrow-corset",n.NARROW_POW="narrow-pow",n.NARROW_RIBBON="narrow-ribbon",n.NARROW_VERTICAL_STACKED_PILLS="narrow-vertical-stacked-pills",n.OCTAGON="octagon",n.OPEN_BOOK="open-book",n.PARALLELOGRAM="parallelogram",n.PENTAGON="pentagon",n.POINTED_STAR="pointed-star",n.POINTED_WINDOW="pointed-window",n.RABBET="rabbet",n.RECTANGLE="rectangle",n.ROUNDED_ARCHED_WINDOW="rounded-arched-window",n.ROUNDED_DIAMOND="rounded-diamond",n.ROUNDED_EIGHT_POINT_STAR="rounded-eight-point-star",n.ROUNDED_FOUR_POINT_STAR="rounded-four-point-star",n.ROUNDED_PENTAGON="rounded-pentagon",n.ROUNDED_RIBBON="rounded-ribbon",n.ROUNDED_STAR="rounded-star",n.ROUNDED_TEN_POINT_STAR="rounded-ten-point-star",n.STEPPED_CROSS="stepped-cross",n.TRIANGLE="triangle",n.TV="tv",n.VERTICAL_PARALLELOGRAM="vertical-parallelogram",n.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",n.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var s=e;f.default=s,y.exports=f.default},595178:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.HEADING=1,n.SUB_HEADING=2,n.BODY=3,n.IMAGE=4,n.GALLERY=5,n.VIDEO=6,n.SOCIAL_ICONS=7,n.BUTTONS=8,n.NAVIGATION=9,n.CUSTOM_FORM=10,n.NEWSLETTER=11,n.ALBUM=12,n.MAP=13,n.LOCK=17,n.PASSWORD=18,n.TWITTER=19,n.LOGO=14,n.ACTION=15,n.FORM=16,n.POPUP_OVERLAY_ACTION=20,n.TEMP_LOCK_INJECT=100})(e||(e={}));var s=e;f.default=s,y.exports=f.default},61130:function(y,f){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.COVER_PAGE=1,n.LOCK_SCREEN=2,n.POPUP_OVERLAY=3})(e||(e={}));var s=e;f.default=s,y.exports=f.default},948232:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.EXPIRED=1,n.PASTDUE=2,n.TRIAL=3,n.BETA=4,n.REMOVED=5,n.INTERNAL=6,n.COMPED=7,n.PAID=8,n.V5_LINKED=11,n.ACTIVE_PARKING_PAGE=12,n.RESOLD=13,n.RESOLD_GRACE_PERIOD=14,n.ENTERPRISE=15})(e||(e={}));var s=e;f.default=s,y.exports=f.default},961230:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.SEVEN="7",n.SEVEN_ONE="7.1",n.EIGHT="8"})(e||(e={}));var s=e;f.default=s,y.exports=f.default},917213:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.ADMIN=1,n.BILLING=2,n.REPORTING=3,n.EDITOR=4,n.MODERATOR=6,n.COMMENTER=7,n.STORE_MANAGER=8,n.SCHEDULING=9,n.VIEWER=10,n.CAMPAIGNS_EDITOR=11,n.SCHEDULING_VIEWER=12,n.SCHEDULING_EDITOR=13,n.NONE=14,n.WEBSITE_MANAGER=15})(e||(e={}));var s=e;f.default=s,y.exports=f.default},481323:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.CLASSIC=1,n.COVER_PAGE=2,n.PARKING_PAGE=3,n.COMMERCE=4,n.ENTERPRISE=5})(e||(e={}));var s=e;f.default=s,y.exports=f.default},867623:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e;(function(n){n.PUBLISHED=1,n.SCHEDULED=2,n.NEEDS_REVIEW=3,n.DRAFT=4,n.PRIVATE=5,n.DELETED=6})(e||(e={}));var s=e;f.default=s,y.exports=f.default},529813:function(y,f,e){var s=e(420651),n=e(901956),a=e(638286),t=[],r=0,i=20,o=10,d=5e3,u=function(){if(!(!t||t.length===0)){var g=new XMLHttpRequest;g.open("POST","/api/events/RecordJavascriptErrors",!0),g.setRequestHeader("Content-type","application/json;charset=UTF-8"),g.setRequestHeader("X-CSRF-Token",a.get("crumb"));try{g.send(JSON.stringify(t))}catch(v){}t=[],r++}},l={trackUncaughtError:function(g,v,h,p,m,P,_){var b=_?_.stack:"",S={app:g,message:h,stack:b,file:p,line:m,column:P,custom:v()};this.enqueueError("interface_error_"+g,S)},enqueueError:function(g,v){var h={},p=s(window,"Static.SQUARESPACE_CONTEXT",{});if(!this.hasExceededMaxReporting()){h.websiteId=s(p,"website.id"),h.templateId=s(p,"templateId"),v.stack&&v.stack.length>d&&(v.stack=v.stack.substring(0,d)+"\n [STACK TRACE TRUNCATED]"),h.url=window.location.href||"",h.userAgent=window.navigator.userAgent;try{t.push({event:g,data:JSON.stringify(Object.assign(h,v)),timestamp:Date.now()})}catch(m){console.warn("Could not push error: ".concat(m))}this.debouncedSend()}},hasExceededMaxReporting:function(){return r>=i||t.length>=o},getStack:function(){var g=new Error;return g.stack||""},wrapAppErrorCallback:function(g){return function(){if(!g)return{};try{return g()}catch(v){return{errorInCallback:!0}}}},debouncedSend:n(u,1e3)};y.exports={bindUncaughtErrorReporter:function(g,v){g||(console.error("Error Reporter Missing App Name configuration",l.getStack()),g="unknown");var h=l.wrapAppErrorCallback(v);window.onerror&&(window.onerror=null),window.onerror=l.trackUncaughtError.bind(l,g,h)},trackCaughtError:function(g,v){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.getStack();l.enqueueError("interface_error_"+g,{app:g,message:v,stack:h})}}},633807:function(){YUI.add("@sqs/layout-engine/aspect-ratio-manager",function(y){var f=y.Base.create("AspectRatioManager",y.Base,[],{initializeBlock:function(e,s){var n=s;y.Lang.isObject(n)&&(n=n.aspectRatio),y.Lang.isValue(n)&&(e.addClass("sqs-intrinsic"),e.setStyle("paddingBottom",n+"%"),e.one("> div")&&e.one("> div").addClass("sqs-intrinsic-content"))},destroyBlock:function(e){var s=e.one(".sqs-intrinsic");s&&(s.removeClass("sqs-intrinsic"),s.setStyle("padding-bottom",null),s.one(".sqs-intrinsic-content")&&s.one(".sqs-intrinsic-content").removeClass("sqs-intrinsic-content"))},initAllBlocks:function(){var e=y.all(".sqs-block[data-aspect-ratio]:not(.sqs-block-image)");e.each(function(s){y.SQS.LayoutEngine.AspectRatioManager.initializeBlock(s.one(".sqs-block-content"),y.JSON.parse(s.getAttribute("data-aspect-ratio")))},this)}});y.namespace("SQS.LayoutEngine"),y.SQS.LayoutEngine.AspectRatioManager=new f,y.config.win.Squarespace&&y.config.win.Squarespace.onInitialize&&y.config.win.Squarespace.onInitialize(y,y.SQS.LayoutEngine.AspectRatioManager.initAllBlocks)},"1.0",{requires:["base"]})},320557:function(){YUI.add("squarespace-anim-raf",function(y){var f=y.config.win,e=f.requestAnimationFrame,s=f.cancelAnimationFrame||f.cancelRequestAnimationFrame,n=["moz","webkit"],a;for(a=0;a<n.length&&!e;a++)e=f[n[a]+"RequestAnimationFrame"],s=f[n[a]+"CancelAnimationFrame"]||f[n[a]+"CancelRequestAnimationFrame"];if(s&&e){var t=null;y.Anim._startTimer=function(){t||(t=e(y.Anim._runAnimFrame))},y.Anim._stopTimer=function(){t&&(s(t),t=null)},y.Anim._runAnimFrame=function(){t&&(t=e(y.Anim._runAnimFrame),y.Anim._runFrame())}}},"1.0",{requires:["anim"]})},828104:function(){YUI.add("squarespace-animations",function(y){y.namespace("Squarespace.Animations");var f="display-status-",e="-plugged",s="shown",n="hidden";
1y.Squarespace.Animations.Expandable=y.Base.create("expandable",y.Plugin.Base,[],{initializer:function(a){this.doBefore("show",this.open),this.doBefore("hide",this.close),this._running=!1},close:function(a){var t=this.get("host"),r=this.get("easing"),i=this.get("duration"),o,d;return a=t.inDoc()?a:!0,t.fire("close"),a?this._hardClose():this._running||(this._running=!0,t.wrap('<div class="expandable-plugin-wrapper"></div>'),d=t.ancestor(".expandable-plugin-wrapper"),d.setStyles({overflow:"hidden",height:t.get("offsetHeight")}),this._closeWrapper=d,o=new y.Anim({node:d,to:{height:0},easing:r,duration:i}),o.on("end",function(){t.inDoc()&&(t.setStyles({height:0,overflow:"hidden",display:"none"}),t.unwrap(),t.addClass("expandable-hidden")),this._running=!1,t.fire("closed")},this),this._closeAnim=o,o.run()),new y.Do.Prevent("Expandable prevented default hide.")},_hardClose:function(){var a=this.get("host");a.setStyles({height:0,overflow:"hidden",display:"none"}),a.addClass("expandable-hidden"),a.fire("closed")},_hardOpen:function(){var a=this.get("host");a.setStyles({height:null,display:null}),a.removeClass("expandable-hidden"),a.fire("opened")},open:function(a){var t=this.get("host"),r=this.get("easing"),i=this.get("duration"),o,d,u,l;return a=t.inDoc()?a:!0,t.fire("open"),a?this._hardOpen():this._running||(this._running=!0,t.getComputedStyle("display")==="none"&&t.setStyle("display",null),u=t.cloneNode(!0),u.setStyles({height:"auto",visibility:"hidden",display:null,position:"absolute",width:t.get("offsetWidth")}),t.insert(u,"before"),d=u.get("offsetHeight")+parseInt(u.getComputedStyle("marginTop"),10)+parseInt(u.getComputedStyle("marginBottom"),10),u.remove(!0),t.wrap('<div class="expandable-plugin-wrapper"></div>'),l=t.ancestor(".expandable-plugin-wrapper"),l.setStyles({overflow:"hidden",height:0}),t.setStyles({height:null,overflow:null}),this._openWrapper=l,o=new y.Anim({node:l,to:{height:d},easing:r,duration:i}),o.on("end",function(){var c=this.get("host");c&&(this._running=!1,c.unwrap(),c.removeClass("expandable-hidden"),c.fire("opened"))},this),this._openAnim=o,o.run()),new y.Do.Prevent("Expandable prevented default show.")},destructor:function(){this._closeWrapper&&this._closeWrapper.remove(!0),this._openWrapper&&this._openWrapper.remove(!0),this._openAnim&&this._openAnim.stop().destroy(),this._closeAnim&&this._closeAnim.stop().destroy()}},{NS:"expandablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong}}}),y.Squarespace.Animations.Fadeable=y.Base.create("fadeable",y.Plugin.Base,[],{initializer:function(a){this.beforeHostMethod("show",this.show),this.beforeHostMethod("hide",this.hide),this.get("host").addClass(this.name+e),this._onlyUseOpacity=a.onlyUseOpacity===void 0?!1:a.onlyUseOpacity,this._running=!1},destructor:function(){this._anim&&this._anim.stop().destroy(),this.get("host").removeClass(this.name+e)},show:function(a){return this._changeVisibility(!0,a)},hide:function(a){return this._changeVisibility(!1,a)},_changeVisibility:function(a,t){var r=this.get("host");return t=r.inDoc()?t:!0,a&&r.removeClass(f+"hidden"),t?this._hardChangeVisibility(a):(this._anim&&(this._anim.stop().destroy(),this._anim=null),a&&r.getComputedStyle("display")==="none"&&r.setStyle("display",null),this._anim=new y.Anim({node:r,to:{opacity:a?this.get("opacity"):0},easing:this.get("easing"),duration:this.get("duration")}),this._anim.onceAfter("end",function(){this._hardChangeVisibility(a),this._running=!1,!a&&!this._onlyUseOpacity&&r.getDOMNode()&&r.setStyle("display","none"),r.fire(a?"shown":"hidden"),delete this._anim},this),this._anim.run()),new y.Do.Prevent("Fadeable prevented default "+(a?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(a){var t=this.get("host");a||t.addClass(f+"hidden"),t.setStyles({opacity:a?this.get("opacity"):0}),this._anim=null,t.fire(a?s:n)}},{NS:"fadeablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong},opacity:{value:1}}}),y.Squarespace.Animations.Scalable=y.Base.create("scalable",y.Plugin.Base,[],{initializer:function(a){this.doBefore("show",this.show),this.doBefore("hide",this.hide),this._running=!1},show:function(a){return this._changeVisibility(!0,a)},hide:function(a){return this._changeVisibility(!1,a)},_changeVisibility:function(a,t){var r=this.get("host"),i=this.get("duration");if(this.fire(a?"show":"hide"),r.fire(a?"show":"hide"),a&&r.removeClass("sqs-scalable-hidden"),t=r.inDoc()?t:!0,t)this._hardChangeVisibility(a),a||r.addClass("sqs-scalable-hidden");else if(!this._running){this._running=!0;var o=!1,d=y.bind(function(){o||(o=!0,!!r.getDOMNode()&&(this._running=!1,a||r.addClass("sqs-scalable-hidden"),this.fire(a?s:n),r.fire(a?s:n)))},this);r.setStyles({transition:["opacity "+i+"s ease-out","visibility "+i+"s ease-out","transform "+i+"s ease-out"].join(", ")}),y.config.win.setTimeout(function(){!r||(a?r.setStyles({opacity:1,visibility:"visible",transform:"scale(1)"}):r.setStyles({opacity:0,visibility:"hidden",transform:"scale(0.94)"}))},1),y.config.win.setTimeout(function(){d()},1e3*i)}
1return new y.Do.Prevent("Scalable prevented default "+(a?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(a){var t=this.get("host"),r=!!(this.get("host").getDOMNode().style.transitionDuration||y.DOM.CUSTOM_STYLES.transitionDuration);r?t.setStyles({visibility:a?"visible":"hidden",opacity:a?1:0,transform:"scale("+(a?"1":"0.94")+")"}):t.setStyles({visibility:a?"visible":"hidden",opacity:a?1:0}),t.fire(a?s:n)}},{NS:"scalablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong},opacity:{value:1}}})},"1.0",{requires:["anim","anim-easing","base","plugin","transition"]})},44163:function(){YUI.add("squarespace-anims",function(y){y.namespace("Squarespace");function f(e){f.superclass.constructor.apply(this,arguments)}y.Squarespace.Anims=y.extend(f,y.Base,{initializer:function(){this._items=[]},destructor:function(){var e=[];this.each(function(s){e.push(s)}),y.Array.each(e,function(s){s.get("running")&&s.stop(!1),s.destroy()}),y.detach(this.get("id")+"|*")},add:function(e){if(!e.get("node"))throw new Error(this.name+": Animation doesn't specify a node");e.on(this.get("id")+"|end",function(s){this.remove(e)},this),this._items.push(e)},remove:function(e){if(y.Lang.isNumber(e))return this._items.splice(e,1);var s=this._items.indexOf(e);if(s!==-1)return this._items.splice(this._items.indexOf(e),1)}},{NAME:"anims"}),y.augment(f,y.ArrayList)},"1.0",{requires:["arraylist","base","base-build"]})},699856:function(){YUI.add("squarespace-attr-validators",function(y){y.namespace("Squarespace");function f(s,n,a,t){if(!1)var r}var e=y.Squarespace.AttrValidators={isBoolean:function(s,n){return y.Lang.isBoolean(s)?!0:(f.call(this,"boolean",s,n),!1)},isNumber:function(s,n){return y.Lang.isNumber(s)?!0:(f.call(this,"number",s,n),!1)},isString:function(s,n){return y.Lang.isString(s)?!0:(f.call(this,"string",s,n),!1)},isNonArrayObject:function(s,n){return y.Lang.isArray(s)?(f.call(this,"Array",s,n,"[{attrName}] Validation Error: Expected {expectedVal}, got Array instead."),!1):y.Lang.isObject(s)?!0:(f.call(this,"Object",s,n),!1)},isObject:function(s,n){return y.Lang.isObject(s)?!0:(f.call(this,"Object",s,n),!1)},isArray:function(s,n){return y.Lang.isArray(s)?!0:(f.call(this,"Array",s,n),!1)},isFunction:function(s,n){return y.Lang.isFunction(s)?!0:(f.call(this,"Function",s,n),!1)},isNode:function(s,n){return y.instanceOf(s,y.Node)?!0:(f.call(this,"Node",s,n),!1)},isNodeList:function(s,n){return y.instanceOf(s,y.NodeList)?!0:(f.call(this,"NodeList",s,n),!1)},isNullOr:function(s){return y.Lang.isFunction(s)?function(n,a){return y.Lang.isNull(n)?!0:s(n,a)}:(console.error("The validator function argument is required."),!1)},isInstanceOf:function(s){return s?y.Lang.isString(s)?(s=s.split("."),function(n,a){return n instanceof y.Squarespace.Damask.ContextGlobals.fromTop(s)||n instanceof y.Squarespace.Damask.ContextGlobals.fromFrame(s)?!0:(f.call(this,s.join("."),n,a,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}):function(n,a){return n instanceof s?!0:(f.call(this,s,n,a,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}:!1},isExtensionOf:function(s){return y.Lang.isFunction(s)?function(n,a){var t=y.Lang.isFunction(n.prototype._getClasses)&&n.prototype._getClasses();return t&&y.Array.indexOf(t,s)!==-1?!0:(f.call(this,s,n,a,"[{attrName}] Validation Error: {actualVal} is not an extension of the {expectedVal}."),!1)}:!1},isTypeOf:function(s){return s?function(n,a){return typeof n===s?!0:(f.call(this,s,n,a,'[{attrName}] Validation Error: {actualVal} is not of type "{expectedVal}".'),!1)}:!1},isValueIn:function(s){return y.Lang.isObject(s)?y.Lang.isArray(s)?function(n,a){return y.Array.indexOf(s,n)!==-1?!0:(f.call(this,s,n,a,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:function(n,a){return y.Object.values(s).indexOf(n)!==-1?!0:(f.call(this,s,n,a,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:!1}};e.isNullOrInstanceOf=function(s){return e.isNullOr(e.isInstanceOf(s))},e.isNullOrExtensionOf=function(s){return e.isNullOr(e.isExtensionOf(s))},e.isNullOrOfType=function(s){return e.isNullOr(e.isTypeOf(s))},e.isNullOrValueIn=function(s){return e.isNullOr(e.isValueIn(s))},e.isDate=e.isInstanceOf(Date),e.isNullOrString=e.isNullOr(e.isString),e.isNullOrDate=e.isNullOr(e.isDate),e.isNullOrBoolean=e.isNullOr(e.isBoolean),e.isNullOrNumber=e.isNullOr(e.isNumber),e.isNullOrObject=e.isNullOr(e.isObject),e.isNullOrNonArrayObject=e.isNullOr(e.isNonArrayObject),e.isNullOrArray=e.isNullOr(e.isArray),e.isNullOrFunction=e.isNullOr(e.isFunction),e.isNullOrNode=e.isNullOr(e.isNode),e.isNullOrNodeList=e.isNullOr(e.isNodeList)},"1.0",{requires:["squarespace-damask-context-globals"]})},354267:function(){YUI.add("squarespace-beforeunload",function(y){var f="gallery-dom0beforeunload",e=y.config.win.onbeforeunload;y.config.win.onbeforeunload=function(s){var n=s||y.config.win.event;e&&e(n);var a=new y.DOMEventFacade(n),t;if(y.fire(f,a),t=a.returnValue,t)return n.returnValue=t,t;y.config.win.onbeforeunload=e},y.Env.evt.plugins.beforeunload={on:function(s,n){var a=y.Array(arguments,0,!0);return a[0]=f,y.on.apply(y,a)}}},"1.0",{requires:[]})},610426:function(y,f,e){"use strict";e.r(f);var s=e(595079),n=e(638286),a=e.n(n),t=e(905143),r=e.n(t),i=e(468044),o=e.n(i),d=e(867623),u=e.n(d),l=e(869235),c=e.n(l),g=e(158709),v=e(981912),h=e.n(v),p=e(801182),m=e(420651),P=e.n(m),_=e(814748),b=e.n(_);YUI.add("squarespace-commerce-utils",function(S){S.namespace("Squarespace"),S.Squarespace.Commerce={COMMERCE_DATE_TIME_FORMAT:"lllLT",isExpressCheckout:function(){return Static.SQUARESPACE_CONTEXT.websiteSettings.storeSettings.expressCheckout},measurementStandard:function(){return S.Object.getValue(Static,["SQUARESPACE_CONTEXT","websiteSettings","storeSettings","measurementStandard"])},weightUnit:function(){return this.measurementStandard()===r().IMPERIAL?"lbs":"kg"},dimensionUnit:function(){return this.measurementStandard()===r().IMPERIAL?'"':"cm"},maxes:function(){return{productPrice:1e8,skuStringLength:60}},goToCheckoutPage:function(){if(!(a().get("hasCart")==="true"||S.Lang.isValue(a().get("CART")))){alert((0,l.t)("Either your session has expired or you do not have cookies enabled. We cannot continue to checkout."));return}window.top.location="/commerce/goto-checkout"},goToSubscriptionPage:function(E){!E||(window.top.location="/checkout/subscribe?cartToken="+E)},goToDonatePage:function(E){var A="/checkout/donate?donatePageId="+E;S.Squarespace.Utils.isInDamaskFrame()?window.top.location=A:window.location=A},goToGiftCardPage:function(E,A){E=encodeURIComponent(E);var T=A?encodeURIComponent(A.sku):null,I=Static.SQUARESPACE_CONTEXT.website.id,R="/checkout/giftcard?websiteId="+I+"&giftCardProductId="+E+(A?"&sku="+T:"");S.Squarespace.Utils.isInDamaskFrame()?window.top.location=R:window.location=R},isValidUSZip:function(E){return/^\d{5}$/.test(E)},variantFormat:function(E,A){for(var T=[],I=E.optionValues,R=0;R<I.length;R++){var j=I[R].value;T.push(A?j:S.Escape.html(j))}return T.join(" / ")},moneyString:function(E,A){var T=p.default.getStoreCurrency(),I=(0,g.fromCents)(E,T),R={trimZeroFractions:A};return v.moneyFormatterProviderInstance.formatter.format(I,R)},priceString:function(E){var A=this.normalPrice(E),T=E.structuredContent;switch(T.productType){case o().PHYSICAL:case o().SERVICE:return this.onSale(E)?this.variedPrices(E)?(0,l.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(E))}):this.moneyString(this.salePrice(E))+' <span class="original-price">'+this.moneyString(A)+"</span>":this.variedPrices(E)?(0,l.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(E))}):this.moneyString(A);case o().DIGITAL:return this.onSale(E)?this.moneyString(this.salePrice(E))+' <span class="original-price">'+this.moneyString(A)+"</span>":this.moneyString(A);case o().GIFT_CARD:return this.variedPrices(E)?(0,l.t)("from {startingPrice}",{startingPrice:this.moneyString(A)}):this.moneyString(A);default:break}},isFiniteSubscriptionPlan:function(E){return!!Number(E.numBilling
1Cycles)},merchantSubscriptionDetailsString:function(E){if(!E)return"";var A=E.billingPeriod.value,T=E.billingPeriod.unit.toLowerCase()+"ly",I=this.isFiniteSubscriptionPlan(E);if(I)var R=E.numBillingCycles;return P()({"magnitude == 1":{weekly:{indefinite:(0,l.t)("renews every week"),finite:(0,l.t)("renews every week for {p} payments",{p:R})},monthly:{indefinite:(0,l.t)("renews every month"),finite:(0,l.t)("renews every month for {p} payments",{p:R})},yearly:{indefinite:(0,l.t)("renews every year"),finite:(0,l.t)("renews every year for {p} payments",{p:R})}},"magnitude > 1":{weekly:{indefinite:(0,l.t)("renews every {n} weeks",{n:A}),finite:(0,l.t)("renews every {n} weeks for {p} payments",{n:A,p:R})},monthly:{indefinite:(0,l.t)("renews every {n} months",{n:A}),finite:(0,l.t)("renews every {n} months for {p} payments",{n:A,p:R})},yearly:{indefinite:(0,l.t)("renews every {n} years",{n:A}),finite:(0,l.t)("renews every {n} years for {p} payments",{n:A,p:R})}}},[A===1?"magnitude == 1":"magnitude > 1",T,I?"finite":"indefinite"])},getTotalStockRemaining:function(E){var A=E.structuredContent;if(A.productType===o().DIGITAL)return 1/0;for(var T=0,I=0;I<A.variants.length;I++){var R=A.variants[I];if(R.unlimited)return 1/0;T+=R.qtyInStock}return T},summaryFormFieldString:function(E){var A,T;S.Lang.isObject(E.values)&&(T=S.Array.reduce(S.Object.keys(E.values),{},function(G,X){return S.Object.setValue(G,X,S.Squarespace.Escaping.escapeForHtml(E.values[X]))}));function I(G){var X;switch(G){case"-2":X=(0,l.t)("Strongly Disagree");break;case"-1":X=(0,l.t)("Disagree");break;case"0":X=(0,l.t)("Neutral");break;case"1":X=(0,l.t)("Agree");break;case"2":X=(0,l.t)("Strongly Agree");break}return X}switch(E.type){case"name":A=T.First+" "+T.Last;break;case"phone":var R=T.Country;A="",R&&R!==""&&(A+="+"+R+" "),A+=T.Areacode+"-"+T.Prefix+"-"+T.Line;break;case"likert":A='<div style="padding-left:5px;">';for(var j in T){var x=T[j];A+='<div><span style="font-weight:bold;">'+j+":</span> "+I(x)+"</div>"}A+="</div>";break;case"address":A='<div style="padding-left:5px;"><div>'+T.Line1+"</div>";var L=T.Line2;L&&L!==""&&(A+="<div>"+L+"</div>"),A+="<div>"+T.City+", "+T.State+" "+T.Zip+" "+T.Country+"</div></div>";break;case"date":A=T.Month+"/"+T.Day+"/"+T.Year;break;case"time":A=(T.Hour||"00")+":"+(T.Minute||"00")+":"+(T.Second||"00")+" "+T.Ampm;break;case"checkbox":var H=E.value;!S.Lang.isValue(T)&&S.Lang.isValue(H)?T=[H]:S.Lang.isValue(T)&&(T=S.Object.values(T)),A=T.join(", ");break;default:A=S.Squarespace.Escaping.escapeForHtml(E.value);break}return A===""&&(A=(0,l.t)("N/A")),'<div style="margin-top:3px;"><span style="font-weight:bold;">'+E.rawTitle+":</span> "+A+"</div>"},hasVariants:function(E){var A=E.structuredContent;return A.productType!==o().DIGITAL&&A.variants.length>=1},variedPrices:function(E){var A=E.structuredContent;switch(A.productType){case o().PHYSICAL:case o().SERVICE:case o().GIFT_CARD:var T=A.variants;if(T.length<=1)return!1;for(var I=T[0],R=1;R<T.length;R++){var j=T[R];if(j.onSale!==I.onSale||I.onSale&&j.salePrice!==I.salePrice||j.price!==I.price)return!0}return!1;case o().DIGITAL:return!1}},onSale:function(E){var A=E.structuredContent;switch(A.productType){case o().PHYSICAL:case o().SERVICE:for(var T=A.variants,I=!1,R=0;R<T.length;R++){var j=T[R];if(j.onSale){I=!0;break}}return I;case o().DIGITAL:return A.onSale}},soldOut:function(E){var A=E.structuredContent;switch(A.productType){case o().PHYSICAL:case o().SERVICE:for(var T=A.variants,I=!0,R=0;R<T.length;R++){var j=T[R];if(j.unlimited||j.qtyInStock>0){I=!1;break}}return I;case o().DIGITAL:return!1}},normalPrice:function(E){var A=E.structuredContent,T=A.variants;switch(A.productType){case o().PHYSICAL:case o().SERVICE:if(T.length===0)return 0;for(var I=T[0].price,R=1;R<T.length;R++){var j=T[R].price;j>I&&(I=j)}return I;case o().DIGITAL:return S.Lang.isUndefined(A.priceCents)?0:A.priceCents;case o().GIFT_CARD:return T[0].price;default:break}},salePrice:function(E){var A=E.structuredContent;switch(A.productType){case o().PHYSICAL:case o().SERVICE:var T=A.variants;if(T.length===0)return 0;for(var I=null,R=0;R<T.length;R++){var j=T[R],x=j.salePrice;
1j.onSale&&(I===null||j.salePrice<I)&&(I=x)}return I;case o().DIGITAL:return S.Lang.isUndefined(A.salePriceCents)?0:A.salePriceCents}},fromPrice:function(E){var A=E.structuredContent;switch(A.productType){case o().PHYSICAL:case o().SERVICE:var T=A.variants;if(T.length===0)return 0;for(var I=T[0],R=I.onSale?I.salePrice:I.price,j=1;j<T.length;j++){var x=T[j],L=x.onSale?x.salePrice:x.price;L<R&&(R=L)}return R;case o().DIGITAL:return S.Lang.isUndefined(A.priceCents)?0:A.priceCents}},capitalizeFirst:function(E){E=E.toLowerCase();var A=E.split(new RegExp("\\s+")),T=S.Array.map(A,function(I){return I.charAt(0).toUpperCase()+I.substr(1)});return T.join(" ")},generateVariantId:function(){return b()()},generateSKU:function(){var E="",A="0123456789",T=function(){for(var I="",R=0;R<7;++R){var j=Math.floor(Math.random()*A.length);I+=A.charAt(j)}return"SQ"+I};return E=T(),E},getLabelForWorkflowState:function(E){switch(E){case u().PUBLISHED:return(0,l.t)("Available");case u().SCHEDULED:return(0,l.t)("Scheduled");case u().DRAFT:return(0,l.t)("Hidden");default:return(0,l.t)("Unsupported")}}}},"1.0",{requires:["escape","node","squarespace-escaping-utils"]})},459258:function(y,f,e){"use strict";e.r(f);var s=e(290004),n=e(201221),a=e.n(n);YUI.add("squarespace-common",function(t){},"1.0",{requires:["get","intl","@sqs/layout-engine/aspect-ratio-manager","squarespace-promises","squarespace-attr-validators","squarespace-commerce-utils","squarespace-cookie-banner-styles","squarespace-currency-symbols","squarespace-deprecated-modules","squarespace-damask-context-globals","squarespace-escmanager","squarespace-follow-buttons","squarespace-form-submit","squarespace-gallery","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-image-loader","squarespace-models-shopping-cart-facade","squarespace-plugin-lightbox2","squarespace-spinner","squarespace-ui-base","squarespace-util","squarespace-video-loader","squarespace-widgets-alert","squarespace-widgets-information","thirdparty-modernizr","yui-throttle"]})},88991:function(){YUI.add("squarespace-cookie-banner-styles",function(y){},"1.0",{requires:[]})},230295:function(){YUI.add("squarespace-currency-symbols",function(y){},"1.0",{requires:[]})},207982:function(){YUI.add("squarespace-damask-context-globals",function(y){y.namespace("Squarespace.Damask"),y.Squarespace.Damask.ContextGlobals={isDamask:function(){return y.Lang.isValue(CONFIG_PANEL)},frameWindow:function(){return y.Lang.isValue(y.config.win.frames["sqs-site-frame"])?CONFIG_PANEL.getFrameContentWindow():(console.warn("[ContextGlobals] frameWindow method called from a non-damask frame."),y.config.win)},topWindow:function(){var f=y.config.win;try{y.Lang.isValue(f.frameElement)&&f.frameElement.id==="sqs-site-frame"&&(f=f.parent)}catch(e){}return y.one(f)},fromFrame:function(f){var e=this.frameWindow();return y.Lang.isValue(f)?y.Lang.isArray(f)?y.Object.getValue(e.get(f[0]),f.slice(1)):e.get(f):e},fromTop:function(f){var e=this.topWindow();return y.Lang.isValue(f)?y.Lang.isArray(f)?y.Object.getValue(e.get(f[0]),f.slice(1)):e.get(f):e},get:function(f){return this.isDamask()?this.fromFrame(f):this.fromTop(f)},getWindow:function(){return this.isDamask()?this.frameWindow():this.topWindow()},relative:function(f,e){if(this.isDamask()){var s=this.fromFrame("Y");if(f.inDoc(s.config.doc))return this.fromFrame(e)}var n=this.fromTop("Y");return f.inDoc(n.config.doc)?this.fromTop(e):null}}},"1.0",{requires:[]})},176498:function(y,f,e){"use strict";e.r(f);var s=e(638286),n=e.n(s),a=e(869235),t=e.n(a),r=e(82070),i=e.n(r),o=e(743738),d=e.n(o);YUI.add("squarespace-data",function(u){u.io&&u.on("io:xdrReady",function(l){u.Data.TRANSPORT_READY=!0}),u.Data={DEBUG:!1,TRANSPORT_READY:!0,addCrumb:function(l){var c=n().get("crumb");if(c){var g=l.split("?"),v=g[1]?u.QueryString.parse(g[1]):{};v.crumb=c,l=g[0]+"?"+u.QueryString.stringify(v)}return l},sendForm:function(l,c,g){c.data||(c.data={});var v=l.getData();for(var h in v){var p=v[h];u.Lang.isUndefined(p)||u.Lang.isNull(p)||u.Lang.isObject(p)&&u.Object.isEmpty(p)||(u.Lang.isObject(p)&&!u.Lang.isArray(p)?c.data[h]=u.JSON.stringify(p):c.data[h]=p)}var m={dialog:l};typeof c.failure=="function"&&(m.failure=c.failure),c.failure=m,this.post(c,g)},cleanObjectForConsole:function(l){var c={};for(var g in l){var v=!1;if(u.Lang.isString(l[g])){try{v=l[g]?JSON.parse(l[g]):null}catch(h){}v&&u.Lang.isObject(v)?c[g]=v:c[g]=l[g]}else c[g]=l[g]}return c},get:function(l,c){this._go("GET",l,c)},post:function(l,c){this._go("POST",l,c)},put:function(l,c){this._go("PUT",l,c)},del:function(l,c){this._go("DELETE",l,c)},_go:function(l,c,g){if(c.context=g,c.method=l,u.Data.DEBUG,c.success||(c.success=this._genericSuccess),c.responseFormat||(c.responseFormat="json"),c.secure&&Static.SQUARESPACE_CONTEXT){var v=["squarespace.com","sqsp.com","sqsp.net","squarespace.net","sqsp6.com"],h=u.Array.some(v,function(P){return window.location.host.endsWith(P)});
1o.isSecure()||(h=!1),!h&&!c.url.startsWith("https://")&&(c.url="https://"+r.getWebsiteDomain(Static.SQUARESPACE_CONTEXT.website)+c.url),h||(c.xdr={},c.xdr.credentials=!0)}for(var p in c.data)u.Lang.isUndefined(c.data[p])&&delete c.data[p];if(c.testResponse)c.testResponseDelay?u.later(c.testResponseDelay,this,function(){u.Data._connectionSuccessRouter(c,!0,{responseText:u.JSON.stringify(c.testResponse)})}):u.Data._connectionSuccessRouter(c,!0,{responseText:u.JSON.stringify(c.testResponse)});else{var m=u.bind(function(){if(c._url=c.url,c.url=this.addCrumb(c.url),l==="POST"||l==="PUT"){if(c.json)u.Lang.isObject(c.data)&&(c.data=u.JSON.stringify(c.data)),u.Lang.isObject(c.headers)||(c.headers={}),c.headers["Content-Type"]="application/json",c.headers.charset="UTF-8";else if(!u.Lang.isString(c.data))for(var P in c.data){var _=c.data[P];u.Lang.isObject(_)&&!u.Lang.isArray(_)&&(c.data[P]=u.JSON.stringify(_))}}var b={method:l,arguments:c.arguments,data:c.data,on:{success:u.bind(u.Data._connectionSuccessRouter,u.Data,c),failure:u.bind(u.Data._connectionFailureRouter,u.Data,c)}},S=c.headers;u.Lang.isObject(S)&&(b.headers=S),c.xdr&&(b.xdr=c.xdr,b.headers={"Content-Type":(0,a.t)("application/x-www-form-urlencoded; charset=UTF-8")},b.data=u.QueryString.stringify(c.data)),c.queue?u.io.queue(c.url,b):u.io(c.url,b)},u.Data);c.testResponseDelay?u.later(c.testResponseDelay,this,m):m()}},_genericSuccess:function(l){},_connectionSuccessRouter:function(l,c,g,v){if(l.responseFormat==="json"){var h={};if(g.status!==204&&g.status!==1223)try{h=u.JSON.parse(g.responseText)}catch(p){this._error(l,{error:(0,a.t)("Internal Error: Unable to parse server response from ({url}) as JSON: {message}",{url:l.url,message:g.responseText})});return}h.error?this._error(l,h,v):(u.Data.DEBUG,l.success.apply(l.context,[h,v]))}else l.responseFormat==="raw"&&(u.Data.DEBUG,l.success.apply(l.context,[g.responseText,v]))},_connectionFailureRouter:function(l,c,g,v){if(!(!g||g.readyState!==4)){var h={400:!0,401:!0,500:!0,502:!0};if(l.responseFormat==="json"&&h[g.status]){var p;try{p=u.JSON.parse(g.responseText)}catch(P){this._error(l,{error:(0,a.t)("Internal Error: Unable to parse server response from ({sub1}) as JSON: {sub2}",{sub1:l.url,sub2:g.responseText})});return}if(p.error||p.message||p.billingErrorCode){this._error(l,p,v);return}}var m=(0,a.t)("Unable to connect\u2026");switch(g.status){case 401:case 403:m=(0,a.t)("Unauthorized request");break;case 500:case 501:m=(0,a.t)("Internal server error. Please try again later.");break;case 503:m=(0,a.t)("This service is temporarily unavailable. Please try again later.");break;default:if(l.retry){l.retry-=1,u.later(200,this,function(){u.Data._go(l.method,l,l.context)});return}break}this._error(l,{status:g.status,error:m,errorKey:u.Lang.isFunction(window.btoa)?btoa(l.url):"",network:!0})}},_error:function(l,c,g){if(u.Data.DEBUG,c.loginRequired){var v=function(){window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.fire("login-required")};u.Lang.isFunction(l.failure)?(l.loginHasPriorityOnFailure&&v(),l.failure.apply(l.context,[c,g])):v()}else c.authorizationFail?new u.Squarespace.SystemError(l.url,c,"json").show():c.crumbFail&&l._retry!==!0&&u.Squarespace.Utils.areCookiesEnabled()?(n().set("crumb",c.crumb,{path:"/"}),l._retry=!0,l.url=l._url,console.log("crumb check failed, will attempt a retry"),this._go(l.method,l,l.context)):typeof l.failure=="function"?l.failure.apply(l.context,[c,g]):u.Lang.isObject(l.failure)&&u.Lang.isFunction(l.failure.failure)?l.failure.failure.apply(l.context,[c,g]):l.failure&&l.failure.dialog&&c.errors?(l.failure.dialog.showErrors(c.errors),l.failure.failure&&l.failure.failure.apply(l.context,[c,g])):new u.Squarespace.SystemError(l.url,c,"json").show()}}},"1.0",{requires:["io","squarespace-system-error","squarespace-util"]})},32963:function(y,f,e){"use strict";e.r(f);var s=e(420651),n=e.n(s),a=e(706463),t=e.n(a),r=e(754886),i=e.n(r),o=e(490762),d=e.n(o);YUI.add("squarespace-deprecated-modules",function(l){function c(h,p,m){return function(){return console.warn('[DEPRECATED] Called `Y."'+p+"`. "+m),(0,o.measure)("deprecated_yui_module_used",{detail:p}),h.apply(this,arguments)}}function g(h,p,m){var P=n()(l,h);if(!!t()(P)){var _=p(P,h,m);i()(l,h,_)}}function v(h,p,m){var P=n()(l,h,{});Object.keys(P).forEach(function(b){var S=[h,b].join(".");g(S,p,m)})}v("Cookie",c,"Use @sqs/cookie-cutter instead.")},"1.0",{requires:["cookie"]})},679496:function(){YUI.add("squarespace-dom-emitters-resize",function(y){y.Squarespace.ResizeEmitter=y.SQS.Gallery.ResizeEmitter},"1.0",{requires:["@sqs/yui-gallery/resize-emitter"]})},668206:function(){YUI.add("squarespace-escaping-utils",function(y){y.namespace("Squarespace"),y.Squarespace.Escaping={escapeForHtml:function(f){return f&&f.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")},escapeForHtmlTag:function(f){return f&&f.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/`/g,"&#x60;")}}},"1.0",{requires:[]})},878603:function(y,f,e){"use strict";e.r(f);var s=e(406540),n=e(527304),a=[".add-page-popover"];YUI.add("squarespace-escmanager",function(t){t.Squarespace.STANDARD_CONTROL_CLASSES=[".standard-dialog-wrapper",".yui3-panel-type-tooltip",".sqsp-tooltip",".tooltip",".inline-field-title",".workflow-flyout",".page-map",".map-widget",".dialog-element",".error-message-wrapper",".squarespace-block",".sqs-block",".buttons a",".sqs-shopping-cart",".panel-menu-item",".flyout-variant-edit",".image-focal-point","a.return-button","a#deactivated-account-link",".site-chooser-glyph",".lightbox-inner",".sqs-configuration-menu .site-title-text",".sqs-configuration-menu .user-id",".sqs-add-to-cart-button",".additional-fields",".rte",".sqs-scroll-ac-item",".sqs-layout-insert-block-menu",".sqs-widgets-confirmation",".sqs-password-prompt",".tag-bubble",".sqs-fullscreen-overlay-imagepicker",".u-ActionButtons-container",".ReactModal__Overlay","."+n.LayoutEngineClassnames.ESCMANAGER_IGNORE_CLASSNAME,".CCLinkEditorModal",".CCPageDropDown",".sqs-dialog-field:not(.sqs-dialog-layout-wrapper)"],t.n
1amespace("SQS.DDWrappers").STANDARD_CONTROL_CLASSES=t.Squarespace.STANDARD_CONTROL_CLASSES,t.Squarespace.EscManager={closeTargets:[],ignores:0,attached:[],attach:function(r){r=r||t.one(t.config.win);var i=r.generateID();if(this.attached.indexOf(i)===-1){var o=t.Squarespace.EscManager;t.Squarespace.Utils.isInDamaskFrame()&&(o=t.Squarespace.Damask.ContextGlobals.fromTop("Y.Squarespace.EscManager"));var d=r;d.on("keyup",o.onKeyUp,o),d.on("click",o.onBodyClick,o),d.on("mousedown",o._onBodyDown,o),d.on("mouseup",o._onBodyUp,o),this.attached.push(i),this._disabled=!1}},destroy:function(){this.detach(),this._bodyDownTarget=null,this._bodyUpTarget=null},detach:function(r){r=r||t.one(t.config.win),r.detachAll()},onShiftEsc:function(){t.Squarespace.Utils.logout()},addIgnore:function(){this.ignores++},disable:function(){this._disabled=!0},enable:function(){this._disabled=!1},onEsc:function(r){if(!r.target.ancestor(a.join(", "))){if(this.ignores){this.ignores--;return}if(t.config.win.Static&&Static.IN_BACKEND)t.one("html").hasClass("sqs-guide-open")?window.CONFIG_PANEL.closeGuide():s.default.toggleFullScreenPreviewMode();else if(window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.getAccount())this._redirectToConfig();else{var i=t.Object.getValue(t.config.win,"Static.SQUARESPACE_CONTEXT.websiteSettings.useEscapeKeyToLogin".split("."));if(!i)return;window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.params&&(window.SQUARESPACE_LOGIN.params.disableCreateAccount=!0),t.Squarespace.Signup&&t.Squarespace.Signup.signupDialog&&t.Squarespace.Signup.signupDialog.isVisible()?t.Squarespace.Signup.signupDialog.cancel():this._redirectToConfig()}}},addTarget:function(r){this.closeTargets.push(r)},removeTarget:function(r){var i=this.closeTargets.indexOf(r);i!==-1&&this.closeTargets.splice(i,1)},onKeyUp:function(r){if(r.keyCode===27&&!this._disabled)if(r.halt(),this.closeTargets.length>0){var i=this.closeTargets.pop();this._closeTarget(i,r)}else r.shiftKey?t.later(10,this,this.onShiftEsc,r):t.later(10,this,this.onEsc,r)},_redirectToConfig:function(){var r=t.config.win.location,i="https://"+Static.SQUARESPACE_CONTEXT.website.identifier+"."+Static.SQUARESPACE_CONTEXT.appDomain+"/config/?frameUrl="+r.pathname+r.search;t.config.win.location=i},_closeTarget:function(r,i){t.Lang.isFunction(r.close)?r.close(i,function(o){o===!1&&this.closeTargets.push(r)}.bind(this)):t.Lang.isFunction(r.cancel)?r.cancel(i):t.Lang.isFunction(r.hide)&&r.hide(i)},_onBodyDown:function(r){this._bodyDownTarget=r.target},_onBodyUp:function(r){this._bodyUpTarget=r.target},_didMouseDownMouseUpMatch:function(){var r=this._bodyDownTarget===this._bodyUpTarget;return this._bodyDownTarget=null,this._bodyUpTarget=null,r},onBodyClick:function(r){if(this.closeTargets&&this.closeTargets.length>0){var i=this.closeTargets[this.closeTargets.length-1];if(!this._didMouseDownMouseUpMatch()||i.ignoreBodyClicks)return;var o=r.clientX,d=r.clientY,u=r.target.get("winWidth"),l=r.target.get("winHeight");if(o<0||o>u||d<0||d>l)return;i.activeFlyout?r.target.ancestor(i.activeFlyout.constraintClasses,!0)||(i.activeFlyout.field.closeFlyout(),i.activeFlyout=null,t.fire("target-closed",{target:i})):r.target.ancestor(t.Squarespace.STANDARD_CONTROL_CLASSES.join(", "),!0)||(t.fire("target-closed",{target:i}),r.halt(),this.closeTargets.pop(),this._closeTarget(i,r))}}},typeof window!="undefined"&&(window.ESC_MANAGER?t.Squarespace.EscManager=window.ESC_MANAGER:window.ESC_MANAGER=t.Squarespace.EscManager)},"1.0",{requires:["event","node","squarespace-damask-context-globals","squarespace-util"]})},690444:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(421918);YUI.add("squarespace-follow-button",function(t){t.namespace("Squarespace.Widgets").FollowButton=t.Base.create("followButton",t.Widget,[],{renderUI:function(){this.get("contentBox").setContent((0,a.default)('<a href="https://twitter.com/{username}" class="twitter-follow-button" data-show-count="false">'+(0,s.t)("Follow @{username}")+"</a>",{username:this.get("username")}))},syncUI:function(){var r=function(){},i=function(){this.show()};t.Get.script("https://platform.twitter.com/widgets.js",{onSuccess:i,onFailure:r,onTimeout:r,timeout:1e4,context:this,win:t.config.win})}},{ATTRS:{username:{value:""},visible:{value:!1}},CSS_PREFIX:"sqs-follow-button"})},"1.0",{requires:["base","widget"]})},495613:function(y,f,e){"use strict";e.r(f);var s=e(200119),n=e.n(s);YUI.add("squarespace-follow-buttons",function(a){a.namespace("Squarespace"),a.Squarespace.FollowButtonUtils=function(){var t=function(i){var o=i.one(".sqs-follow-button");if(o){var d=a.Widget.getByNode(o);d&&d.destroy()}},r=function(i){t(i);var o=i.getAttribute("data-username");o&&o.length&&new a.Squarespace.Widgets.FollowButton({username:o}).render(i)};return{renderAll:function(){a.all(".squarespace-follow-button").each(function(i){r(i)})}}}(),a.on("domready",function(){a.Squarespace.FollowButtonUtils.renderAll()})},"1.0",{requires:["squarespace-follow-button"]})},408381:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(646709),_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_sq
1s_enums_Flag__WEBPACK_IMPORTED_MODULE_0__),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(762379),shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(801189),shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__),_sqs_network__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(808847),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(581945),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10__),_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(527304),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(864312),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__),shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(761392),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(677640),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__),_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(533734),shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(97402);YUI.add("squarespace-form-submit",function(Y){Y.namespace("Squarespace");var FormSubmitV1=Y.Base.create("FormSubmitV1",Y.Base,[],{initializer:function(){this._submitButton=this.get("formNode").one("[type=submit]"),this._submitButtonText=this._submitButton.get("value");var y=this._getMultiFieldVal;this._typeGetterMap={date:y,name:y,time:y,address:y,phone:this._getPhoneFieldVal,radio:this._getRadioFieldVal,checkbox:this._getCheckFieldVal,select:this._getSelectVal,likert:this._getLikertVal,hidden:this._getHiddenVal},this._defaultGetter=this._getSingleFieldVal,Y.Global.publish("form:submitSuccess")},submit:function(f,e,s,n,a){var t=this.get("formNode"),r;typeof f=="object"?(r=f.formId,e=f.collectionId,s=f.objectName,n=f.isOverlayForm,a=f.submitButtonText):r=f;try{if(t.hasClass("submitting"))return;this._clearErrors(),this._lock();var i=_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_9__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().CRM_ENABLE_RECAPTCHA_V3_ENTERPRISE),o=Y.config.win.Static.SQUARESPACE_CONTEXT.pageType===_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default().SPLASH_PAGE,d=!o&&i?shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.getCaptchaContainer(this.get("formNode").getDOMNode()):_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10__.GoogleReCaptchaAPI.getCaptchaContainer(Y.config.win,this.get("formNode").getDOMNode());if(!d)this._saveFormSubmission(r,e,s,n,a);else if(o||!i){var u=_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10__.GoogleReCaptchaAPI.validate(Y.config.win,d);u?this._saveFormSubmission(r,e,s,n,a,u):this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.CAPTCHA_INCOMPLETE_ERROR,n)}else{var l=t.hasClass("newsletter-form")&&!n,c=t.hasClass("newsletter-form")&&n,g=c?shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.PROMO_POPUP:l?shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.NEWSLETTER_BLOCK:shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.FORM_BLOCK;shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.getReCaptchaToken(Y.config.win,g).then(function(v){this._saveFormSubmission(r,e,s,n,a,null,v)}.bind(this))}}catch(v){this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.SUBMIT_ERROR,n)}finally{return!1}},_createErrorNode:function(y,f){return f?Y.Node.create('<div class="field-error" style="display:inline-block">'+y+"</div>"):Y.Node.create('<div class="field-error">'+y+"</div>")},_clearErrors:function(){var y=this.get("formNode");y.all(".field-error").each(function(f){f.remove()}),y.all(".form-item.error").each(function(f){f.removeClass("error")})},_lock:function(){this.get("formNode").addClass("submitting"),this._submitButton.set("value",shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.SUBMIT_TEXT_IN_PROGRESS)},_unlock:function(){this.get("formNode").removeClass("submitting"),this._submitButton.set("value",this._submitButtonText)},_saveFormSubmission:function(y,f,e,s,n,a,t){var r={withCredentials:!0};_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/FormSubmissionKey",{},r).then(function(i){if(i.data.key){var o={key:i.data.key,formId:y,collectionId:f,objectName:e,isOverlayForm:s,submitButtonText:n,form:Y.JSON.stringify(this._getData()),captchaKey:a,recaptchaEnterpriseV3Token:t};shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__.addIntraPageEventFields(o),_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/SaveFormSubmission",o,r).then(this._submitSuccess.bind(this)).catch(function(d){this._submitFailure(d.response,s)}.bind(this))}else this._submitFailure(i,s)}.bind(this)).catch(function(i){this._submitFailure(i.response,s)}.bind(this))},_submitSuccess:function(){var y=this.get("formNode");y&&(y.hasClass("newsletter-form")||y.getById(_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_3__.FacebookPixelConstants.NEWSLETTER_OVERLAY_NODE_ID))&&shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__.trackSubscribeNewsletter(),Y.Global.fire("form:submitSuccess");var f=y.getData("success-redirect");f&&(window.history.replaceState&&window.history.propertyIsEnumerable({},document.title,window.location.href),window.location.href=f),this._unlock(),this._renderSuccess()},_submitFailure:function(y,f){var e=this.get("formNode"),s=e.hasClass("newsletter-form"),n=_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_9__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().CRM_ENABLE_RECAPTCHA_V3_ENTERPRISE)&&y.status===401&&y.data.message&&y.data.message.toLowerCase().indexOf("captcha")!==-1,a=s&&n&&!f,t=null;if(Y.Lang.isString(y)?t=y:n?t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.FAIL_CAPTCHA_ERROR:shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.errorCodes[y.status]?t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.errorCodes[y.status]:y.status===400&&y.data.errors?(Y.Object.each(y.data.errors,function(l,c){var g=e.one('[id="'+c+'"]'),v=g.one(".title");v.insert(this._createErrorNode(l),"before"),g.addClass("error")},this),s||(t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.ERROR_ABOVE)):y.data.error?t=y.data.error:t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.UNKNOWN_ERROR,t){var r=this._createErrorNode(t,a);s?e.insertBefore(r,e.one(".newsletter-form-body")):e.prepend(r),r.setAttribute("tabindex",-1),r.focus()}else{var i=e.one(".error");
1if(i){var o=i.getDOMNode().matches(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector)&&i||i.one(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector);o&&o.focus()}}var d=e.one(".captcha-container");if(d){var u=this._submitButton.getDOMNode();u&&u.getAttribute("data-captcha-bound")&&(u.disabled=!0),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_10__.GoogleReCaptchaAPI.reset(Y.config.win,d)}this._unlock()},_renderSuccess:function(){var formEl=this.get("formNode"),messageNode=formEl.one(".form-submission-text"),htmlNode=formEl.one(".form-submission-html"),postSubmitHtml=htmlNode.getData("submission-html");formEl.all("*").each(function(y){y.addClass("hidden")}),htmlNode.setHTML(postSubmitHtml),htmlNode.removeClass("hidden"),messageNode.removeClass("hidden"),messageNode.all("*").each(function(y){y.removeClass("hidden")});var movedFocus=!1;function focusOn(y){y.setAttribute("tabindex",-1),y.focus(),movedFocus=!0}if(messageNode.getDOMNode().textContent.trim().length>0?focusOn(messageNode):htmlNode.getDOMNode().textContent.trim().length>0&&focusOn(htmlNode),!movedFocus){var win=Y.config.win,formElY=formEl.getY();formElY<win.scrollY&&win.scrollTo(0,formElY-25)}htmlNode.all("script").each(function(script){if(script.hasAttribute("src")){var dupeScriptDOMNode=document.createElement("script"),attributes=script.getDOMNode().attributes;Y.Array.each(attributes,function(y){dupeScriptDOMNode[y.name]=y.value}),script.replace(dupeScriptDOMNode)}else try{eval(script.getHTML())}catch(y){}},this)},_getData:function(){var y={};return this.get("formNode").all(".form-item").each(function(f){y[f.get("id")]=this._getFieldData(f)},this),y},_getFieldData:function(y){var f=this._typeGetterMap,e=y.get("className").split(new RegExp("\\s")),s,n=!1;if(Y.Array.each(e,function(a){Y.Object.hasKey(f,a)?s=f[a]:a==="section"&&(n=!0)},this),!n)return s||(s=this._defaultGetter),s.call(this,y)},_getSingleFieldVal:function(y){var f=y.one(".field-element");return f?f.get("value"):null},_getMultiFieldVal:function(y){var f=[];return y.all(".field-element").each(function(e){f.push(e.get("value"))}),f},_getPhoneFieldVal:function(y){var f=this._getMultiFieldVal(y);return f&&f.length===3&&f.unshift(""),f},_getRadioFieldVal:function(y){return this._getCheckFieldVal(y)[0]},_getCheckFieldVal:function(y){var f=[];return y.all("input").each(function(e){e.get("checked")&&f.push(e.get("value"))},this),f},_getSelectVal:function(y){return y.one("select").get("value")},_getLikertVal:function(y){var f={};return y.all(".item").each(function(e){var s;e.all("input").each(function(n){n.get("checked")&&(s=n.get("value"))}),Y.Lang.isValue(s)&&(f[e.getAttribute("data-question")]=s)}),f},_getHiddenVal:function(y){var f;Y.Lang.isValue(this._query)||(this._query=Y.QueryString.parse(window.location.search.replace(/^\?/,"")));var e=y.get("name");return Y.Object.hasKey(this._query,e)?f=this._query[e]:f=y.get("value"),f.toString()}},{ATTRS:{formNode:{value:null,validator:Y.Squarespace.AttrValidators.isNullOrInstanceOf(Y.Node),writeOnce:"initOnly"}}});Y.Squarespace.FormSubmit=function(y){var f;return y instanceof Element?f=_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_9__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?new shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z(Y.config.win,y):new FormSubmitV1({formNode:Y.Node(y)}):f=new FormSubmitV1(y),this.submit=f.submit.bind(f),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_9__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?(this.clearErrors=f.clearErrors.bind(f),this.createErrorNode=f.createErrorNode.bind(f)):(this.clearErrors=f._clearErrors.bind(f),this.createErrorNode=f._createErrorNode.bind(f)),this}},"1.0",{requires:["base","json","node","querystring-parse","squarespace-attr-validators","squarespace-util"]})},512962:function(){var y=".js-gallery-lightbox-opener";YUI.add("squarespace-gallery-manager",function(f){var e={lightboxify:function(s,n){if(this._destroyLightbox(),!s||!n||!n.size()){this.unlightboxify(n);return}var a=!!n.item(0).ancestor(".sqs-system-gallery"),t=[];n.each(function(r,i){t.push(this._createLightboxItem(r));var o=r.getAttribute("data-click-through-url");if(!o){var d=r.one(y)||r;if(!!d){var u={index:i,slideHitArea:d,lightboxSet:t,isFromHash:a},l=this._makeOpenLightbox(u).bind(this);d.on("click",l,this),d.on("keydown",function(c){var g=c.keyCode===13,v=c.keyCode===32;(g||v)&&l(c)},this)}}},this),a&&this._openInitialSlide(n,t)},unlightboxify:function(s){if(this._destroyLightbox(),!!s){var n;s.each(function(a){n=a.one(y),n&&(n.detach("click"),n.detach("keydown"))})}},_destroyLightbox:function(){!this.lightbox||(this.lightbox.destroy(),delete this.lightbox)},_createLightboxItem:function(s){if(s.getAttribute("data-type")==="video"){var n=s.one(".sqs-video-wrapper"),a=n.videoloader.get("overlay");return a&&a.detach("click"),{content:n}}var t,r,i;return s.hasAttribute("data-title")?t=s.getAttribute("data-title"):s.one("[data-title]")?t=s.one("[data-title]").getAttribute("data-title"):s.one(".title")&&(t=s.one(".title").getHTML()),s.hasAttribute("data-description")?r=s.getAttribute("data-description"):s.one("[data-description]")?r=s.one("[data-description]").getAttribute("data-description"):s.one(".description")&&(r=s.one(".description").getHTML()),s.hasAttribute("data-lightbox-theme")?i=s.getAttribute("data-lightbox-theme"):s.one("[data-lightbox-theme]")?i=s.one("[data-lightbox-theme]").getAttribute("data-lightbox-theme"):s.one(".lightbox-theme")&&(i=s.one(".lightbox-theme").getHTML()),{theme:i,content:s.one("img"),meta:(t?"<h1>"+t+"</h1>":"")+(r||"")}},_getLightboxTheme:function(s){var n=s.ancestor("[data-lightbox-theme]",!0);return n&&n.getAttribute("data-lightbox-theme")==="light"?"light":"dark"},_makeOpenLightbox:function(s){return function(n){n.halt(),this._destroyLightbox(),this.lightbox=new f.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:s.lightboxSet,currentSetIndex:s.index,historyHash:s.isFromHash,theme:this._getLightboxTheme(s.slideHitArea)}),this.lightbox.render(),s.isFromHash&&this.lightbox._slideshow.set("currentIndex",s.index)}},_getInitialSlideId:function(s){var n=new f.HistoryHash,a=n.get("itemId");if(a)return a;
1if(s&&s.size()){var t="",r=s.item(0).ancestor(".slides");if(r)return t=r.getAttribute("data-collection-full-url"),window.location.pathname.replace(t,"")}var i=window.location.pathname.split("/");return i[i.length-1]},_getSlideIndexByLink:function(s,n){var a=-1;return s.some(function(r,i){if(r.ancestor(".sqs-layout"))return!1;var o=r.getAttribute("data-slide-url");return r.getAttribute("data-slide-id")!==n&&o!==n?!1:(a=i,!0)},this),a},_getSlideIndexByRoughUrl:function(s,n){var a=-1;return s.some(function(r,i){if(r.ancestor(".sqs-layout"))return!1;var o=r.getAttribute("data-slide-url"),d=o.substr(o.length-n.length)===n,u=o.indexOf("/"+n)>-1;return!d||!u?!1:(a=i,!0)},this),a},_openInitialSlide:function(s,n){var a=this._getInitialSlideId();if(!!a){var t=this._getSlideIndexByLink(s,a);t===-1&&(t=this._getSlideIndexByRoughUrl(s,a),t===-1)||(this._destroyLightbox(),this.lightbox=new f.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:n,currentSetIndex:t,historyHash:"yui-throttle"}),this.lightbox.render())}}};f.mix(f.SQS.Gallery.Manager,e,!0),f.Squarespace.GalleryManager=f.SQS.Gallery.Manager},"1.0",{requires:["squarespace-image-loader","squarespace-plugin-lightbox2","squarespace-video-loader","squarespace-widgets-lightbox2","@sqs/yui-gallery/manager"]})},777114:function(){YUI.add("squarespace-gallery-ng",function(y){y.namespace("Squarespace"),y.Squarespace.Gallery2=y.SQS.Gallery.Gallery2,y.Squarespace.GalleryDesigns2=y.SQS.Gallery.Designs},"1.0",{requires:["@sqs/yui-gallery"]})},544820:function(y,f,e){"use strict";e.r(f);var s=e(529813),n=e.n(s);YUI.add("squarespace-gallery",function(a){a.namespace("Squarespace");var t=!1,r=a.Squarespace.Legacy.Class;a.augment(a.Node,r.create({outerWidth:function(i){var o=parseFloat(this.getComputedStyle("marginLeft")),d=parseFloat(this.getComputedStyle("marginRight"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerWidth invoked"),this.get("offsetWidth")+o+d},outerHeight:function(i){var o=parseFloat(this.getComputedStyle("marginTop")),d=parseFloat(this.getComputedStyle("marginBottom"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerHeight invoked"),this.get("offsetHeight")+o+d}})),a.Squarespace.Gallery=r.create({defaultOpts:{previous:!1,next:!1,itemSelector:!1,startIndex:0,loop:!1,design:"off",designOptions:{},autoplay:!1,autoplayOptions:{timeout:1e3,resumeAfter:1e3,randomize:!1},currentIndex:!1,totalSlides:!1,linked:!1,keyboard:{previous:"down:37",next:"down:39"},renderWithCanvas:!1,loaderOptions:{},updateContainerHeight:!1,focusOnClick:!1},getContainer:function(){return this.elems.container},getSlide:function(i){return this.elems.slides.item(i)},getCurrentSlide:function(){return this.elems.slides.item(this.data.currentIndex)},getCurrentSlideId:function(){return this.getCurrentSlide().getAttribute("data-slide-id")||this.data.currentIndex},getSlides:function(){return this.elems.slides},initialize:function(i){n().trackCaughtError("squarespace-gallery-deprecation","Y.Squarespace.Gallery initialized!"),a.Lang.isBoolean(i.keyboard)&&i.keyboard&&delete i.keyboard,this.params=a.merge(this.defaultOpts,i),this.elems={};var o=a.one(this.params.slideshowElement);if(a.Lang.isNull(o))throw new Error("No gallery '"+this.params.slideshowElement+"' container found.");var d=this.params.itemSelector?o.all(this.params.itemSelector):o.get("children");if(this.elems.container=o,this.elems.slides=d,this.getContainer().getData("galleryInstance")){this.getContainer().getData("galleryInstance")._debug.warn("Node already bound to gallery instance.");return}if(this._debug=new a.Squarespace.Debugger({name:"Gallery",uid:!0}),this.getContainer().setData("galleryInstance",this),this.history=new a.HistoryHash,this.params.historyHash||this.history.get("itemId")){this.history=new a.HistoryHash;var u=this.history.get("itemId")||this.history.get(this.params.historyHash),l;u&&(this.elems.slides.each(function(h,p){h.getAttribute("data-slide-id")===u&&(l=p)}),a.Lang.isNumber(l)||(l=parseInt(this.history.get(this.params.historyHash),10)),this.history.get("itemId")&&this.history.replaceValue("itemId",null),a.Lang.isNumber(l)&&(this.params.startIndex=l))}if(this.data={currentIndex:this.params.startIndex,totalSlides:d.size()},this.events=[],this.data.totalSlides<=0)return!1;if(!a.Squarespace.GalleryDesigns[this.params.design]){var c=[];for(var g in a.Squarespace.GalleryDesigns)c.push(g);throw new Error("Design '"+this.params.design+"' not found. Currently loaded designs: ["+c.join(", ")+"].")}if(this.design=new a.Squarespace.GalleryDesigns[this.params.design],this.design.gallery=this,this.design.options=a.merge(this.design.options,this.params.designOptions),this.params.previous&&a.all(this.params.previous).each(function(h){this.events.push(h.on("click",function(p){p.halt(),this.previousSlide()},this))},this),this.params.next&&a.all(this.params.next).each(function(h){this.events.push(h.on("click",function(p){p.halt(),this.nextSlide()},this))},this),this.params.focusOnClick&&d.each(function(h){h.on("click",function(){this.fire("changeIndex",d.indexOf(h))},this)},this),this.params.keyboard){var v=function(){return this.params.keyboardWhenInFrame?this.getContainer().inRegion(a.one(this.params.keyboardWhenInFrame).get("region")):!0};this.params.keyboard.previous&&this.events.push(a.on("key",function(){!v.call(this)||this.previousSlide()},window,this.params.keyboard.previous,this)),this.params.keyboard.next&&this.events.push(a.on("key",function(){!v.call(this)||this.nextSlide()},window,this.params.keyboard.next,this))}this.params.linked&&a.Array.each(this.params.linked,function(h){this.linkGallery(h)},this),this.setup(),this.fire("changeIndex",this.params.startIndex),this.isInitialized=!0},linkGallery:function(i){function o(d,u){d&&this._changeIndex(u),a.Array.each(this.elems.linked,function(l){d!==l&&l._changeIndex(u)})}this.elems.linked||(this.on("changeIndex",function(d){o.call(this,!1,d)},this),this.elems.linked=[]),this.elems.linked.push(i),i.on("changeIndex",function(d){o.call(this,i,d)},this)},setup:function(){if(this.on("changeIndex",this._changeIndex),this.loadSlides(),this.design.setup(this.elems.container,this.elems.slides),this.params.autoplay){var i=this;setInterval(function(){if(i.params.autoplayOptions.randomize){for(var o=Math.ceil(Math.random()*i.data.totalSlides);o===i.data.currentIndex;)o=Math.ceil(Math.random()*i.data.totalSlides);i.fire("changeIndex",o)}else i.nextSlide()},this.params.autoplayOptions.timeout)}t&&console.log("Y.Squarespace.Gallery.setup",[this.params,this.data,this.elems]),this.params.updateContainerHeight&&this.on("changeIndex",this.updateContainerHeight)},getSlideDimension:function(i,o){var d=this.elems.slides.item(i),u=d;d.one("img,canvas")&&(u=d.one("img,canvas")),u&&d.getStyle("display")==="inline"&&(d=u);var l=o==="width"?"offsetWidth":"offsetHeight";return u.loader?u.loader.get("loaded")?u.loader.get("node").get(l):u.loader.getDimensionForValue(o,d.get(o==="width"?"offsetHeight":"offsetWidth")):d.get(l)},updateContainerHeight:function(){var i={container:this.elems.container};a.Lang.isObject(this.params.updateContainerHeight)&&(i=a.merge(i,this.params.updateContainerHeight));var o=this.getSlideDimension(this.data.currentIndex,"height");i.maxHeight&&o>i.maxHeight&&(o=i.maxHeight);var d=a.all(i.container);i.anim&&this._updateContainerHeightRanOnce?d.each(function(u){u.anim({},a.merge({to:{height:o},duration:.3,easing:a.Easing.easeOutStrong},i.anim)).run()}):d.setStyles({height:o}),this._updateContainerHeightRanOnce=!0},previousSlide:function(){var i=this.data.currentIndex-1;i<0&&!this.params.loop||this.fire("changeIndex",i)},nextSlide:function(){var i=this.data.currentIndex+1;i>=this.data.totalSlides&&!this.params.loop||this.fire("changeIndex",i)},beforeChange:function(i){this.params.loop||(this.params.next&&(i.toIndex>=this.data.totalSlides-1?a.all(this.params.next).addClass("disabled"):a.all(this.params.next).removeClass("disabled")),this.params.previous&&(i.toIndex<=0?a.all(this.params.previous).addClass("disabled"):a.all(this.params.previous).removeClass("disabled"))),this.fire("before-change",i
1)},afterChange:function(i){(this.params.currentIndex||this.params.totalSlides)&&(a.all(this.params.currentIndex).each(function(o){o.set("innerHTML",this.data.currentIndex+1)},this),a.all(this.params.totalSlides).each(function(o){o.set("innerHTML",this.data.totalSlides)},this)),this.params.historyHash&&this.history.replaceValue(this.params.historyHash,this.getCurrentSlideId()),this.fire("after-change",i)},changeIndex:function(i){this.fire("changeIndex",i)},_changeIndex:function(i){if(!a.Lang.isObject(i)&&(this.params.loop||(i<0&&(i=0),i>=this.data.totalSlides&&(i=this.data.totalSlides-1)),i<0&&(i=this.data.totalSlides+i),!(this.isInitialized&&this.data.currentIndex===i))){t&&console.log("Y.Squarespace.Gallery.changeIndex",[i]);var o=this.data.currentIndex,d=i%this.data.totalSlides,u=this.elems.slides,l=o===this.data.totalSlides-1&&d===0,c=o===0&&d===this.data.totalSlides-1,g;o<d&&!l&&!c||o>d&&l&&!c?g="fwd":(o>d&&!c||o<d&&c)&&(g="rev");var v={fromIndex:o,toIndex:d,direction:g};this.beforeChange(v),u.filter(".active").removeClass("active"),u.item(d).addClass("active"),this.fire("change",v),this.data.currentIndex=d,this.afterChange(v)}},loadSlides:function(i){var o=this.elems.container.all("img[data-src][data-image-dimensions][data-image-focal-point]");o.plug(a.Squarespace.Loader2,this.params.loaderOptions)}}),a.augment(a.Squarespace.Gallery,a.EventTarget),a.Squarespace.GalleryDesigns={},a.Squarespace.GalleryDesigns.off=r.create({gallery:!1,options:{},beforeChange:function(i){},afterChange:function(i){},change:function(i,o){},setup:function(){},getGallery:function(){return this.gallery},events:[]})},"1.0",{requires:["node","event-key","squarespace-image-loader","squarespace-legacy-class","squarespace-ui-base","history"]})},586963:function(){YUI.add("squarespace-gismo",function(y){y.Squarespace.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},y.Squarespace.GismoBase.prototype={destructor:function(){y.Object.each(this._gismoEvents,function(f,e){y.Array.invoke(f,"detach"),this._gismoEvents[e]=null},this),y.Object.each(this._timers,function(f,e){y.Array.invoke(f,"cancel"),this._timers[e]=null},this),this._anims.shift?(y.Array.invoke(this._anims,"destroy"),this._anims=null):this._anims.destructor&&this._anims.destructor()},_anim:function(f,e,s){var n=f.anim(e,s||{});return n.on("end",function(){this._anims.remove(n)},this),this._anims.push(n),n},_event:function(f,e){e=e||"generic",this._gismoEvents[e]=this._gismoEvents[e]||[],this._gismoEvents[e].push(f)},_getEvents:function(f){return this._gismoEvents[f||"generic"]},_flushEvents:function(f){var e=this._gismoEvents[f||"generic"];e&&(y.Array.invoke(e,"detach"),this._gismoEvents[f]=null)},_timer:function(f,e){e=e||"generic",this._timers[e]=this._timers[e]||[],this._timers[e].push(f)}}},"1.0",{requires:["array-invoke","squarespace-anims"]})},585684:function(y,f,e){"use strict";e.r(f);var s=e(854781);YUI.add("squarespace-image-loader",function(n){n.namespace("Squarespace"),n.Squarespace.Loader=n.Base.create("Loader",n.Base,[],{initializer:function(){this.get("frames")&&this._processFrames(),this.get("img")&&this._processImages()},_processFrames:function(){this._getNodeList("frames").each(function(a){a.getAttribute("data-embed")&&a.resizeToParent({scale:"contain",sizeOnly:!0})})},_processImages:function(){this._getNodeList("img").each(function(a){var t=!1;a.loader&&(t=!0),a.plug(n.Squarespace.Loader2,this.get("loaderOptions")||{}),t&&a.fire("refresh")},this)},_getNodeList:function(a){var t=this.get(a);return n.Lang.isString(t)?n.all(t):t.size?t:new n.NodeList(t)}},{ATTRS:{frames:{},img:{},loaderOptions:{}}}),n.Squarespace.Loader2=n.Base.create("Loader2",n.Plugin.Base,[],{initializer:function(){var a=this.get("host"),t=100,r=0;function i(){!a.inDoc()&&++r<t?n.later(10,this,i):this.load()}i.call(this),this.on("refresh",this.load,this),this.afterHostEvent("refresh",this.load,this)},_isInvalidHost:function(){return this.get("host").getDOMNode()===null||!this.get("host").inDoc()},load:function(){var a=this.get("host");if(!!a.getAttribute("src")&&a.get("complete")&&a.fire("loaded"),this.afterHostEvent("load",function(){this._isInvalidHost()||(this.get("host").removeClass("loading").addClass("loaded"),this.get("host").fire("loaded"))},this),!this._isInvalidHost()){var t=this.get("load"),r=s.default.isSevenOne()&&n.config.win.ImageLoader.loadLazy&&t!=="viewport",i=(r?n.config.win.ImageLoader.loadLazy:n.config.win.ImageLoader.load).bind(n.config.win.ImageLoader);i(a.getDOMNode(),n.merge(this.getAttrs(),{load:t}))}},getDimensionForValue:function(a,t){var r=this.get("host").getDOMNode(),i=n.config.win.ImageLoader._getDataFromNode(r);return n.config.win.ImageLoader.getDimensionForValue(a,t,i)},getBareElement:function(){var a=this.get("host"),t=n.Node.create("<img />");return t.setAttribute("data-src",a.getAttribute("data-src")),t.setAttribute("data-image-dimensions",a.getAttribute("data-image-dimensions")),t.setAttribute("data-image-focal-point",a.getAttribute("data-image-focal-point")),t.setAttribute("alt",a.getAttribute("alt")),t},destructor:function(){}},{NS:"loader",ATTRS:{stretch:{},load:{value:!0},source:{},fixedRatio:{value:!1},fitAlignment:{},fit:{value:!1,setter:function(a){a&&this.set("mode","fit")}},fill:{value:!1,setter:function(a){a&&this.set("mode","fill")}},focalPoint:{setter:function(a){return n.config.win.ImageLoader.load(this.get("host").getDOMNode(),{focalPoint:a.x+","+a.y}),a}},mode:{validator:function(a){return["fit","fill","none",null].indexOf(a)!==-1}},refreshOnResize:{value:!1},useBgImage:{validator:function(a){return n.Lang.isBoolean(a)}}}}),n.Squarespace.ImageLoadManager=new(n.Base.create("ImageLoadManager",n.Base,[],{refreshAll:function(){n.all("img[data-src]").each(function(a){a.fire("refresh")})}})),n.augment(n.Node,Class.create({refresh:function(){this.fire("refresh")}}))},"1.0",{requires:["base","node","plugin"]})},956472:function(){YUI.add("squarespace-legacy-class",function(y){y.namespace("Squarespace.Legacy"),y.Squarespace.Legacy.Class={create:function(f){var e;return f.initialize?e=function(){this.initialize.apply(this,arguments)}:e=function(){},e.prototype=f,e.extend=function(s){return Class.extend(this,s)},e.specialize=function(s,n){var a=Class.specialize(this,s);return a._parent=n,a},e},extend:function(f,e){e.initialize||(e.initialize=f.prototype.initialize);var s=Class.create(e),n=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var a in f.prototype)s.prototype[a]?typeof s.prototype[a]=="function"&&n.test(s.prototype[a])&&(s.prototype[a]=function(t,r){return function(){var i=this._super;this._super=f.prototype[t];var o=r.apply(this,arguments);return this._super=i,o}}(a,s.prototype[a])):s.prototype[a]=f.prototype[a];return s.prototype.superclass=f.prototype,s},specialize:function(f,e){var s=Class.extend(f,e);return new s}}},"1.0",{requires:[]})},600198:function(y,f,e){"use strict";e.r(f);var s=e(421918);YUI.add("squarespace-logger",function(n){var a=[],t=null,r=n.Base.create("Logger",n.Base,[],{initializer:function(){n.one(n.config.win).on("beforeunload",this.flush,this),this._syncDebugActiveElement(),this.after("debugActiveElementChange",this._syncDebugActiveElement,this)},_syncDebugActiveElement:function(){this._debugActiveElementTimer&&this._debugActiveElementTimer.cancel(),this.get("debugActiveElement")&&(this._debugActiveElementTimer=n.later(500,this,function(){this.debug({focusElement:this._getDOMNodeDescriptor(n.config.doc.activeElement)})},null,!0))},_getDOMNodeDescriptor:function(i){i=n.one(i);var o=i.get("tagName").toLowerCase(),d=i.getAttribute("id"),u=i.get("className").split(" "),l="";return u.length>0&&(l="."+u.join("."),l.length>20&&(l=l.substr(0,20)+"\u2026")),o+(d?"#"+d:"")+l},enqueue:function(i){a.push(i),this.wait()},flush:function(i){try{clearTimeout(t)}catch(o){}t=null,a.length>0&&n.Data.post({url:"/api/events/Trace",data:{data:JSON.stringify(a)},failure:function(){}}),a=[]},wait:function(){t===null&&(t=setTimeout(n.bind(this.flush,this),this.get("timerLength")))},log:function(i,o){n.Lang.isValue(i)&&this.enqueue({pageUrl:document.location.href,type:i,data:JSON.stringify(n.Lang.isValue(o)?o:{})})},trace:function(i,o){try{var d={};d.lalala()}catch(u){this.log(i,n.merge(o,{stack:u.stack}))}},debug:function(i){var o=n.one("#logger-debug")||n.one(n.config.doc.body).appendChild(n.Node.create('<div id="logger-debug"></div>'));o.setStyles({position:"fixed",right:50,top:50,background:"rgba(150,100,100,0.9)",border:"solid 1px white",color:"white",borderRadius:"3px",padding:20,zIndex:1e7,fontSize:"10px"}),o.setContent((0,s.default)('<xmp style="margin:0">{sub1}</xmp>',{sub1:JSON.stringify(i,null,2)}))}},{ATTRS:{timerLength:{value:30*1e3},debugActiveElement:{value:!1}}});n.namespace("Squarespace"),n.Squarespace.Logger||(n.Squarespace.Logger=new r)},"1.0",{requires:["base","event","io-base","node"]}
1)},845466:function(){YUI.add("squarespace-mixins-event-registrar",function(y){y.namespace("Squarespace.Mixins"),y.Squarespace.Mixins.EventRegistrar=y.Base.create("eventRegistrar",y.Base,[],{destructor:function(){y.Array.invoke(this.get("eventListeners"),"detach")},_registerEvent:function(){if(y.Lang.isArray(arguments[0]))this._registerEvent.apply(this,arguments[0]);else for(var f=0,e=arguments.length;f<e;f++)y.Lang.isValue(arguments[f])&&this.get("eventListeners").push(arguments[f])}},{ATTRS:{eventListeners:{value:[]}}})},"1.0",{requires:["array-invoke","base"]})},696338:function(y,f,e){"use strict";e.r(f);var s=e(595079),n=e(158709);YUI.add("squarespace-models-shopping-cart-facade",function(a){a.namespace("Squarespace.Singletons");var t=a.Base.create("ShoppingCartFacade",a.Base,[],{},{ATTRS:{id:{validator:a.Lang.isString},websiteId:{validator:a.Lang.isString},orderId:{validator:a.Lang.isString},created:{getter:function(r){return a.Lang.isValue(r)?new Date(r):null},setter:function(r){return a.Lang.isDate(r)?r.getTime():r},validator:a.Lang.isNumber},isPurchased:{value:!1,validator:a.Lang.isBoolean},entries:{value:[],validator:a.Lang.isArray},shippingOptions:{value:[],validator:a.Lang.isArray},selectedShippingOption:{validator:a.Lang.isObject},shippingLocation:{validator:a.Lang.isObject},applicableTaxRules:{value:[],validator:a.Lang.isArray},coupons:{value:[],validator:a.Lang.isArray},validCoupons:{value:[],validator:a.Lang.isArray},invalidCoupons:{value:[],validator:a.Lang.isArray},subtotalCents:{validator:a.Lang.isNumber,value:0},subtotalAmount:{value:(0,n.fromCents)(0,"USD")},taxCents:{validator:a.Lang.isNumber,value:0},shippingCostCents:{validator:a.Lang.isNumber,value:0},discountCents:{validator:a.Lang.isNumber,value:0},grandTotalCents:{validator:a.Lang.isNumber,value:0},totalQuantity:{validator:a.Lang.isNumber,value:0},hasDigital:{validator:a.Lang.isBoolean,value:!1},purelyDigital:{validator:a.Lang.isBoolean,value:!1},requiresShipping:{validator:a.Lang.isBoolean,value:!1}}});a.Squarespace.Singletons.ShoppingCart=new t},"1.0",{requires:["base"]})},192377:function(){YUI.add("squarespace-plugin-lightbox2",function(y){y.namespace("Squarespace.Plugin"),y.Squarespace.Lightbox2Plug=y.Squarespace.Plugin.Lightbox2=y.Base.create("Lightbox2Plug",y.Plugin.Base,[y.Squarespace.GismoBase],{initializer:function(){this._event(this.get("host").on("click",function(f){f.preventDefault();var e=this;y.use("squarespace-ui-base",function(){var s=new y.Squarespace.Lightbox2(y.merge({content:y.Node.create(e.get("host").getAttribute("data-lightbox"))},e.get("lightboxOptions")));s.render()})},this))},destructor:function(){var f=this.get("lightboxOptions.content");f instanceof y.Node&&f.destroy(!0)}},{NS:"lightbox2plugin",ATTRS:{lightboxOptions:{}}})},"1.0",{requires:["base","node","plugin","squarespace-gismo","squarespace-widgets-lightbox2"]})},588506:function(){YUI.add("squarespace-plugin-node-destroy-notifier",function(y){y.Squarespace.NodeDestroyNotifier=y.SQS.Gallery.NodeDestroyNotifier},"1.0",{requires:["@sqs/yui-gallery/node-destroy-notifier"]})},497225:function(){YUI.add("squarespace-plugin-scroll-lock",function(y){y.namespace("Squarespace.Plugin").ScrollLock=y.Base.create("ScrollLock",y.Plugin.Base,[],{initializer:function(f){var e=this.get("host"),s=e.getDOMNode();this.listener=function(n){if(n.stopPropagation(),!y.Lang.isNumber(s.scrollTop))return n.preventDefault(),!1;var a=parseInt(e.getComputedStyle("height"),10),t=s.scrollTop,r=s.scrollHeight-a,i=n.wheelDelta||-n.detail;if(t<=0&&i>0||t>=r&&i<0)return n.preventDefault(),!1},s.addEventListener?(s.addEventListener("mousewheel",this.listener),s.addEventListener("DOMMouseScroll",this.listener),s.addEventListener("MozMousePixelScroll",this.listener)):s.attachEvent&&s.attachEvent("onmousewheel",this.listener)},destructor:function(){var f=this.get("host").getDOMNode();f.removeEventListener?(f.removeEventListener("mousewheel",this.listener),f.removeEventListener("DOMMouseScroll",this.listener),f.removeEventListener("MozMousePixelScroll",this.listener)):f.detachEvent&&f.detachEvent("onmousewheel",this.listener)}},{NS:"ScrollLock",ATTRS:{}})},"1.0",{requires:["base","node","plugin"]})},740051:function(){YUI.add("squarespace-promises",function(y){function f(){}var e=y.namespace("Squarespace.Promises");e.all=function(){var s=new y.Array(arguments);return new y.Promise(function(n,a){var t=[],r=s.length,i=0,o=function(d){return function(u){i++,t[d]=u,i>=r&&n(t)}};if(r===0)return n([]);y.Array.each(s,function(d,u){y.when(d).then(o(u),a)})})},e.resolve=function(s,n){return s.then(n)},e.reject=function(s,n){return s.then(f,n)},e.rejectWith=function(s){return y.Squarespace.Promises.create(function(n,a){a(s)})},e.finish=function(s,n){return s.then(n,n)},e.chainFns=function(s,n){return function(){n=n||this;var a=s.length>0?s.shift().apply(n,arguments):y.when(),t=function(r,i){return y.Squarespace.Promises.resolve(y.when(r),y.bind(i,n))};return y.Array.reduce(s,a,t)}},e.create=function(s,n){return new y.Promise(y.bind(s,n))}},"1.0",{requires:["promise"]})},202376:function(y,f,e){"use strict";e.r(f);var s=e(309746),n=e.n(s),a=e(193580),t=e.n(a),r=e(869235),i=e.n(r),o=e(721716),d=e(854781);
1YUI.add("squarespace-public-api",function(u){u.namespace("Squarespace");var l=d.default.isSevenOne();l?(u.config.win.ImageLoader=new(t()).Builder({allowConcurrentLoads:!0}).withLazyLoading().build(),u.config.win.ImageLoader.bootstrap=u.config.win.ImageLoader.loadAllLazy):(u.config.win.ImageLoader=new(n())({allowConcurrentLoads:!0}),u.config.win.ImageLoader.bootstrap=u.config.win.ImageLoader.loadAll),u.Squarespace.Template=o.default.create({getTweakValue:function(g){if(g)return u.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[g]||u.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[g.replace("@","").replace(".","")]}}),u.augment(u.Node,u.Squarespace.Legacy.Class.create({width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")}}));var c=[];u.config.win.JSTween={tween:function(g,v){console.error((0,r.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself.")),c.push({node:g,config:v})},play:function(){c.forEach(function(g){console.error((0,r.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself."));var v=g.node,h=g.config,p={},m={},P=[],_=[];for(var b in h)p[b]=h[b].start,m[b]=h[b].stop,h[b].onStart&&P.push(h[b].onStart),h[b].onStop&&_.push(h[b].onStop);u.one(v).anim(m,{from:p,duration:h[Object.keys(h)[0]].duration,start:function(){P.forEach(function(S){S()})},end:function(){_.forEach(function(S){S()})}}).run()}),c=[]}}},"1.0",{requires:["history","node","node-event-simulate","node-load","squarespace-dom-emitters-resize","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-legacy-class","thirdparty-modernizr","yui-throttle"]})},802943:function(y,f,e){"use strict";e.r(f);var s=e(51216),n=e.n(s);YUI.add("querystring-parse",function(a,t){var r=a.namespace("QueryString");r.parse=function(i){return n().parse(i)},r.unescape=function(i){return decodeURIComponent(i.replace(/\+/g," "))}},"3.17.2",{requires:["yui-base","array-extras"]})},239886:function(y,f,e){"use strict";var s=e(464439),n=e.n(s),a=e(102258),t=e.n(a),r=e(459258),i=e(474863),o=e.n(i),d=e(51852),u=e.n(d),l=e(159585),c=e.n(l),g=e(606536),v=e.n(g),h=e(633807),p=e.n(h),m=e(922770),P=e.n(m),_=e(917645),b=e.n(_),S=e(659413),E=e.n(S),A=e(132266),T=e.n(A),I=e(756426),R=e.n(I),j=e(60471),x=e.n(j),L=e(115470),H=e.n(L),G=e(585784),X=e.n(G),K=e(786763),J=e.n(K),z=e(508996),k=e.n(z),F=e(230070),q=e.n(F),N=e(740051),M=e.n(N),U=e(244345),Q=e.n(U),$=e(287917),ee=e.n($),oe=e(699856),pe=e.n(oe),me=e(207982),Se=e.n(me),Pe=e(610426),He=e(514054),fe=e.n(He),ve=e(317375),ae=e.n(ve),le=e(68367),Ee=e.n(le),xe=e(422886),_e=e.n(xe),Re=e(239429),Be=e.n(Re),nt=e(723949),Je=e.n(nt),ue=e(383324),we=e.n(ue),We=e(134495),qe=e.n(We),Ie=e(743384),Me=e.n(Ie),Ve=e(630173),Ne=e.n(Ve),ke=e(33146),et=e.n(ke),st=e(24717),Ce=e.n(st),it=e(402359),ct=e.n(it),mt=e(353015),Ct=e.n(mt),Ht=e(657649),Rt=e.n(Ht),cn=e(668206),Cn=e.n(cn),hn=e(88991),fn=e.n(hn),_n=e(230295),Mn=e.n(_n),er=e(32963),sr=e(975042),ri=e.n(sr),Ar=e(878603),ur=e(245518),Oe=e.n(ur),Tt=e(989746),Tr=e.n(Tt),Ln=e(481133),Jr=e.n(Ln),bt=e(125057),Ur=e.n(bt),pr=e(541903),ln=e.n(pr),Cr=e(950122),ii=e.n(Cr),Qt=e(130110),zn=e.n(Qt),ai=e(105495),gr=e.n(ai),jr=e(540856),cr=e.n(jr),gn=e(559747),Et=e.n(gn),Br=e(192312),$n=e.n(Br),Pn=e(773452),An=e.n(Pn),$e=e(924999),Ue=e.n($e),re=e(931619),ie=e.n(re),de=e(621065),ye=e(878515),Ge=e.n(ye),je=e(794783),Ze=e.n(je),dt=e(568096),pt=e.n(dt),gt=e(263446),$t=e.n(gt),sn=e(605585),tr=e.n(sn),Wn=e(699993),Rn=e.n(Wn),nr=e(305531),jn=e.n(nr),mr=e(991950),lr=e.n(mr),Fr=e(918916),Gr=e.n(Fr),Zr=e(668205),oi=e.n(Zr),Hn=e(480149),Jt=e.n(Hn),Ir=e(95084),ki=e.n(Ir),$i=e(479839),se=e.n($i),Ae=e(343140),Ke=e.n(Ae),ht=e(821303),Pt=e.n(ht),Mt=e(18709),Bn=e.n(Mt),mn=e(98315),nn=e.n(mn),Xn=e(522353),yr=e.n(Xn),Qn=e(614722),Kt=e.n(Qn),Vt=e(693373),Bt=e.n(Vt),Mo=e(802943),Va=e(3299),yn=e.n(Va),ka=e(794964),Xi=e.n(ka),Qi=e(320557),Ei=e.n(Qi),bn=e(176498),$a=e(890455),si=e(679496),Xa=e.n(si),Li=e(894743),Er=e.n(Li),Ji=e(600198),ma=e(588506),Qa=e.n(ma),ya=e(989096),Ea=e.n(ya),Sa=e(202376),Kn=e(163562),Ja=e.n(Kn),rr=e(213978),ba=e.n(rr),Oa=e(354267),En=e.n(Oa),Zi=e(827476),Lo=e.n(Zi),Sn=e(277200),Si=e.n(Sn),Yi=e(859077),ic=e.n(Yi),_a=e(489565),No=e.n(_a),Uo=e(599302),Za=e.n(Uo),Pa=e(983810),qi=e.n(Pa),ui=e(687596),jo=e.n(ui),Aa=e(5129
162),Ya=e.n(Aa),Ta=e(585684),ea=e(192377),qa=e.n(ea),eo=e(586963),to=e.n(eo),Ca=e(623339),zs=e.n(Ca),Jn=e(44163),Bo=e.n(Jn),ta=e(241601),Ws=e.n(ta),Hs=e(410840),Ks=e(819406),ac=e.n(Ks),Vn=e(828104),oc=e.n(Vn),Fo=e(165221),na=e.n(Fo),Zn=e(497225),sc=e.n(Zn),Sr=e(633522),Vs=e.n(Sr),On=e(191429),bi=e.n(On),Go=e(516257),no=e(814055),ks=e(725707),ra=e.n(ks),xr=e(45686),uc=e.n(xr),$s=e(649253),cc=e.n($s),Xs=e(521956),lc=e.n(Xs),Ia=e(221634),Xe=e.n(Ia),ut=e(34813),rt=e.n(ut),St=e(398089),Wt=e.n(St),rn=e(878475),Fn=e.n(rn),dn=e(677582),zo=e.n(dn),Ni=e(773618),Rr=e.n(Ni),Nn=e(738171),fc=e.n(Nn),zr=e(43098),ro=e.n(zr),ia=e(806582),un=e.n(ia),Wo=e(156049),Qs=e.n(Wo),xa=e(591198),dc=e.n(xa),Ho=e(336412),vc=e.n(Ho),Ra=e(595853),Oi=e.n(Ra),wa=e(197091),io=e.n(wa),Da=e(543971),Js=e.n(Da),Ko=e(951513),ao=e.n(Ko),Vo=e(145191),Ma=e.n(Vo),_i=e(202905),oo=e.n(_i),Zs=e(990112),hc=e.n(Zs),Ys=e(555696),so=e.n(Ys),La=e(769087),ko=e.n(La),qs=e(597517),eu=e.n(qs),tu=e(49507),pc=e.n(tu),In=e(224848),Yn=e.n(In),nu=e(734107),gc=e.n(nu),$o=e(416376),mc=e.n($o),uo=e(292458),Na=e.n(uo),co=e(884966),ir=e.n(co),aa=e(777114),Ua=e.n(aa),ja=e(956472),oa=e.n(ja),ru=e(232630),yc=e.n(ru),Ec=e(495613),Sc=e(690444),Xo=e(408381),lo=e(544820),Yr=e(696338),fo=e(901857),ge=e.n(fo),on=e(364467),vo=e(694233),br=e(845466),Yt=e.n(br),iu=e(359498),bc=e.n(iu),au=e(712984),ci=e.n(au)},901857:function(){YUI.add("squarespace-spinner",function(y){y.namespace("Squarespace").Spinner=y.Base.create("Spinner",y.Widget,[],{renderUI:function(){this.get("boundingBox").addClass(this.get("color"));var f=this.get("size");y.Lang.isNumber(f)||this.get("boundingBox").addClass(f)},spin:function(){this.get("boundingBox").show()},stop:function(){this.get("boundingBox").hide()},addClass:function(f){this.get("boundingBox").addClass(f)}},{CSS_PREFIX:"sqs-spin",NS:"spinner",ATTRS:{size:{value:"default",setter:function(f){return y.Lang.isNumber(f)&&(this.set("width",f),this.set("height",f)),f}},color:{value:"light"}}})},"1.0",{requires:["base","widget"]})},890455:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(421918),t=e(575266),r=e.n(t);YUI.add("squarespace-system-error",function(i){i.namespace("Squarespace"),i.Squarespace.SystemError=Class.create({initialize:function(o,d,u){this.url=i.Squarespace.Escaping.escapeForHtml(o),this.data=d,this.format=u,i.config.win.__clearError=this.clear},clear:function(){i.one(".sqs-system-error").remove(),i.one(t.yuiDialogOverlaySelector+".sqs-system-error-overlay").remove()},show:function(){var o,d="";if(this.data.cleaned)o='<div style="font-weight: normal; font-size: 22px; margin-top: -2px;">'+(0,s.t)("Something Went Wrong!")+'</div><div style="font-weight: normal; font-size: 13px; padding-top: 5px;">'+(0,s.t)("Our system has encountered an error.  This exception has been automatically logged and reported.  We will return shortly.")+"</div>";else if(this.data.network){if(d=(0,s.t)("Unable to connect to Squarespace.  Please try again."),i.Lang.isString(this.data.error)&&this.data.error.length>0&&(d=this.data.error),o='<div style="font-weight: normal; font-size: 17px;">'+d+"</div>",this.url)try{i.Squarespace.Analytics.trackInternal("system_network_error",{urlRequested:this.url})}catch(v){}}else d=i.Squarespace.Escaping.escapeForHtml(this.data.error||this.data.message||""),o=(0,a.default)('<div style="font-weight: normal; font-size: 17px;">{sub1} &nbsp;<span style="color: #888;">({sub2})</span></div><br/><pre>{sub3}</pre>',{sub1:this.url,sub2:this.format.toUpperCase(),sub3:d.replace(new RegExp("\n","g"),"<br/>")});if(!i.one(".sqs-system-error")){var u='<input type="button" value="Clear" onclick="Y.config.win.__clearError();"/>',l="position: absolute; -webkit-user-select: text; left: 25px; top: 25px; right: 25px; font-size: 12px; color: #fff; padding: 26px 20px 20px 80px; border-radius: 5px; overflow: auto; height: 90%; z-index: 10000001;",c=o+'<br/><br/><input type="button" value="'+(0,s.t)("Reload Page")+'" onclick="Y.config.doc.location.reload();"/> &nbsp; ';c+=u+"<br/><br/><br/>",this.data.errorKey&&(c+='<span style="color: #777; font-size: 10px;">'+this.data.errorKey+"</span>"),this.errorEl=i.Node.create('<div class="sqs-system-error" style="'+l+'">'+c+"</div>"),i.one(i.config.doc.body).append(this.errorEl),this.overlayEl=i.Node.create('<div class="'+t.yuiDialogOverlayClassName+' sqs-system-error-overlay"></div>'),this.overlayEl.setStyles({zIndex:1e7}),i.one(i.config.doc.body).append(this.overlayEl);var g=new i.Anim({node:this.overlayEl,to:{opacity:1},duration:.35,easing:i.Easing.easeOutStrong});g.run()}}})},"1.0",{requires:["squarespace-escaping-utils","squarespace-util"]})},633522:function(){YUI.add("squarespace-touch-event-listener",function(y){y.Squarespace.TouchEventListener=y.SQS.Gallery.TouchEventListener},"1.0",{requires:["@sqs/yui-gallery/touch-event-listener"]})},814055:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(785974),t=e(575266),r=e.n(t);YUI.add("squarespace-ui-base",function(i){i.namespace("Squarespace"),i.mix(i.Node.DOM_EVENTS,{message:!0}
1),i.Squarespace.DIALOG_ZINDEX_BASE=t.zIndexes.BASE,i.Anim._intervalTime=10;var o=Number;i.Anim.DEFAULT_SETTER=function(d,u,l,c,g,v,h,p){var m=d._node,P=m._node,_=h(g,o(l),o(c)-o(l),v);m._node!==null&&(P?"style"in P&&(u in P.style||u in i.DOM.CUSTOM_STYLES)?(p=p||"",m.setStyle(u,_+p)):"attributes"in P&&u in P.attributes?m.setAttribute(u,_):u in P&&(P[u]=_):m.set?m.set(u,_):u in m&&(m[u]=_))},i.Squarespace.TextShrink=i.Base.create("TextShrink",i.Plugin.Base,[],{initializer:function(){var d=this.get("host");i.Lang.isValue(this.get("parentEl"))||this.set("parentEl",d.ancestor()),this._setupEl(),i.on("domready",this.refresh,this),this._resizeEvent=i.on("resize",function(){this._timeout&&this._timeout.cancel(),this._timeout=i.later(100,this,this.refresh)},i.config.win,this),this._tweakChange=i.Global.on("tweak:change",this.refresh,this),this._tweakSaveResetClose=i.Global.on(["tweak:save","tweak:reset","tweak:close"],this.refresh,this)},refresh:function(){this._reset(),this._setupEl(),this._adjust()},isOverflowing:function(){var d=this._getWidths();return Math.abs(d.el-d.parentEl)<=3&&(d.el=d.parentEl=Math.min(d.el,d.parentEl)),d.el>d.parentEl},_adjust:function(){var d=this.get("host"),u=this._getWidths();if(this.isOverflowing()){var l=this._getStyleValue(d,"fontSize");l=u.parentEl/u.el*l,this._setFontSize(Math.floor(l))}return!0},_setFontSize:function(d){var u=this.get("host"),l=this.get("minFontSize");l&&d<l&&(d=l),isNaN(d)||u.setStyle("fontSize",d+"px")},_getStyleValue:function(d,u){return parseInt(d.getStyle(u),10)},_getWidths:function(){var d=this.get("host"),u=this.get("parentEl"),l=d.get("scrollWidth"),c=this._getStyleValue(u,"paddingLeft")+this._getStyleValue(u,"paddingRight"),g=u.get("offsetWidth")-c;return(l===0||!i.Lang.isValue(l))&&(l=d.get("offsetWidth")),{parentEl:g,el:l}},_setupEl:function(){var d=this.get("host");d.setAttribute("data-shrink-original-size",this._getStyleValue(d,"fontSize")),this.letterSpacing=this._getStyleValue(d,"letterSpacing")/d.getAttribute("data-shrink-original-size")+"em",d.setStyle("letterSpacing",this.letterSpacing)},_reset:function(){var d=this.get("host");d.setStyles({letterSpacing:null,fontSize:null})},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._tweakChange&&this._tweakChange.detach(),this._tweakSaveResetClose&&this._tweakSaveResetClose.detach()}},{ATTRS:{minFontSize:{value:11},parentEl:{value:null}},NS:"TextShrink"}),i.Squarespace.SimpleFlexibleGrid=i.Base.create("SimpleFlexibleGrid",i.Plugin.Base,[],{initializer:function(){this._stylesheetEl=i.Node.create("<style></style>"),this.get("host").append(this._stylesheetEl),this._resizeEvent=i.on("resize",this.syncUI,i.config.win,this),this.syncUI()},syncUI:function(){var d;this.get("minWidth")?d=Math.floor(this.get("container").get("offsetWidth")/this.get("minWidth")):d=Math.ceil(this.get("container").get("offsetWidth")/this.get("maxWidth")),this._stylesheetEl.set("innerHTML",this.get("selector")+"{width:"+100/d+"% !important;}"),this.get("host").fire("simpleFlexibleGridSyncUI")},destructor:function(){this._stylesheetEl.remove(),this._resizeEvent.detach()}},{ATTRS:{container:{},selector:{},maxWidth:{},minWidth:{}},NS:"simple-flexible-grid"}),i.Squarespace.Mouse={lastX:100,lastY:100,client:{lastX:100,lastY:100},debug:function(){this.isDebugging=!0,this._debugNode||(this._debugNode=i.one(i.config.doc.body).appendChild("<div></div>"),this._debugNode.setStyles({position:"fixed",width:50,height:50,borderRadius:"50%",background:"rgba(20, 170, 255, 0.5)",marginLeft:-25,marginTop:-25,zIndex:Math.pow(10,5),pointerEvents:"none"})),this._debugNode.setStyles({top:i.Squarespace.Mouse.lastY,left:i.Squarespace.Mouse.lastX})}},i.Object.getValue(i.config.win,"Static.SQUARESPACE_CONTEXT.authenticatedAccount".split("."))&&i.on(i.UA.mobile?"touchmove":"mousemove",function(d){i.Squarespace.Mouse.lastX=d.pageX,i.Squarespace.Mouse.lastY=d.pageY,
1i.Squarespace.Mouse.client.lastX=d.clientX,i.Squarespace.Mouse.client.lastY=d.clientY,i.Squarespace.Mouse.isDebugging&&i.Squarespace.Mouse.debug()},i.one("html")),i.Squarespace.Image={loadAndFit:function(d,u){var l=new Image;l.src=u,i.one(l).on("load",function(c,g,v){g.set("src",v.src),g.resizeToParent({scale:"cover"})},this,d,l)},straighten:function(d,u,l,c){var g=(c<0?360-c:c)%360,v=g;g>=90&&(v=g%90-90),g>=180&&(v=-1*g%180-180),g>=270&&(v=g%270-90);var h=Math.abs(v)*(Math.PI/180),p;l>u?p=(u*Math.cos(h)+l*Math.sin(h))/u:p=(l*Math.cos(h)+u*Math.sin(h))/l,d.setStyle("transform","rotate("+c+"deg) scale("+Math.abs(p)+")")}},i.Squarespace.Position=Class.create({initialize:function(d){this.EDGE_MARGIN=20,this.avoidElX=d.avoidElX,this.avoidElY=d.avoidElY,this.xdir=d.xdir,this.ydir=d.ydir,this.x=d.x,this.y=d.y,this.xo=d.xo?d.xo:0,this.yo=d.yo?d.yo:0,this.w=d.w,this.h=d.h,this.initialX=this.getX(),this.initialY=this.getY()},setX:function(d){this.x=d},setY:function(d){this.y=d},getX:function(){return this.x+this.getXO()},getY:function(){return this.y+this.getYO()},getXY:function(){return[this.getX(),this.getY()]},getXAdj:function(){return this.initialX-this.getX()},getYAdj:function(){return this.initialY-this.getY()},getXO:function(){return(this.avoidElX&&this.xdir==="right"?this.avoidElX.get("offsetWidth"):0)+this.xo},getYO:function(){return(this.avoidElY&&this.ydir==="top"?-this.avoidElY.get("offsetHeight"):0)+this.yo},isRightViolation:function(){return this.x+this.w-Math.abs(this.getXO())+this.EDGE_MARGIN>i.one(document.body).get("winWidth")},isLeftViolation:function(){return this.x-Math.abs(this.getXO())-this.EDGE_MARGIN<0},isTopViolation:function(){return this.y-Math.abs(this.getYO())-this.EDGE_MARGIN<i.one(document.body).get("docScrollY")},isBottomViolation:function(){return this.y+this.h-Math.abs(this.getYO())+this.EDGE_MARGIN>i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")},reflectFix:function(){this.xdir==="right"&&this.isRightViolation()?(this.xdir="left",this.getX=function(){return this.x-this.w-this.getXO()+11}):this.xdir==="left"&&this.isLeftViolation()&&(this.xdir="right",this.getX=function(){return this.x+this.w+this.getXO()}),this.ydir==="bottom"&&this.isBottomViolation()?(this.ydir="top",this.getY=function(){return this.y-this.h-this.getYO()},console.log("bottom violation .. now "+this.getY())):this.ydir==="top"&&this.isTopViolation()&&(this.ydir="bottom",this.getY=function(){return this.y+this.h+this.getYO()},console.log("top violation")),this.getY()-this.EDGE_MARGIN<0?(this.getY=function(){return i.one(document.body).get("winHeight")-this.h-this.EDGE_MARGIN},this.ydir="bottom"):this.getY()+this.h+this.EDGE_MARGIN>i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")&&(this.getY=function(){return i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")-this.EDGE_MARGIN-this.h},this.ydir="top"),this.getX()-this.EDGE_MARGIN<0?(this.getX=function(){return this.EDGE_MARGIN},this.ydir="left"):this.getX()+this.w+this.EDGE_MARGIN>i.one(document.body).get("winWidth")&&(this.getX=function(){return i.one(document.body).get("winWidth")-this.w-this.EDGE_MARGIN},this.ydir="right"),this.getY()<i.one(document.body).get("docScrollY")&&(console.log("fixing y offscreen issues."),this.yo=i.one(document.body).get("docScrollY")+this.EDGE_MARGIN-this.y)},nudgeFix:function(){this.isRightViolation()?this.getX=function(){return i.one(document.body).get("winWidth")+i.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN}:this.isLeftViolation()&&(this.getX=function(){return this.EDGE_MARGIN}),this.isBottomViolation()?this.getY=function(){return i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN}:this.isTopViolation()&&(this.getY=function(){return this.EDGE_MARGIN})},overflowFix:function(){this.isRightViolation()?this.x=i.one(document.body).get("winWidth")+i.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN:this.isLeftViolation()&&(this.x=this.EDGE_MARGIN),this.isBottomViolation()?this.y=i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN:this.y-Math.abs(this.getXO())-this.EDGE_MARGIN<0&&(this.y=this.EDGE_MARGIN)}}),i.Squarespace.ToolTipManager={canShow:!0,disableTooltips:function(){this.canShow=!1,this.currentTip&&(this.currentTip.hide(),this.currentTip=null)},enableTooltips:function(){this.canShow=!0}
1},i.Squarespace.ToolTip=Class.create({initialize:function(d){this.params=d;var u=i.all(this.params.target);u.size()!==0&&(this.params.showTimeout===void 0&&(this.params.showTimeout=1200),this.params.width===void 0&&(this.params.width=250),this.params.style===void 0&&(this.params.style="info"),this.mouseOffset=15,this.events=[],u.each(function(l){this.events.push(l.on("mouseover",function(c){this.lastX=c.pageX,this.lastY=c.pageY,this.move(),!this.showTimer&&(this.showTimer=i.later(this.params.showTimeout,this,this.show))},this)),this.events.push(l.on("mouseout",function(c){this.showTimer&&(this.showTimer.cancel(),this.showTimer=null),this.hide()},this)),this.events.push(l.on("click",function(c){this.params.clickToShow?(this.show(),c.halt()):this.hide()},this))},this),this.events.push(i.Global.on("manager:change-mode",function(l){this.hide()},this)))},destroy:function(){for(var d=0;d<this.events.length;++d)this.events[d].detach();this.el&&(this.el.remove(),this.el=null),this.events=[],this.destroyed=!0,this.shown=!1},move:function(){!this.el||(this.position.x=this.lastX,this.position.y=this.lastY,this.a?this.el.setStyles({left:this.position.getX()+"px"}):this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()+"px"}))},show:function(){this.el||this.destroyed||this.shown||!i.Squarespace.ToolTipManager.canShow&&!this.params.dialogTooltip||(this.el=i.Node.create('<div class="sqsp-tooltip "'+this.params.style+'><div class="title">'+this.params.title+"</div></div>"),this.params.body&&this.el.append('<div class="description">'+this.params.body+"</div>"),i.one(document.body).append(this.el),this.position=new i.Squarespace.Position({xdir:"right",ydir:"bottom",x:this.lastX,y:this.lastY,xo:this.mouseOffset,yo:this.mouseOffset,w:this.el.get("offsetWidth"),h:this.el.get("offsetHeight")}),this.position.reflectFix(),this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()-this.position.yo+"px",width:this.params.width+"px",zIndex:2000000001,opacity:0}),this.params.icon&&this.el.setStyle("backgroundImage","url("+this.params.icon+")"),this.shown=!0,this.a=new i.Anim({node:this.el,to:{top:this.position.getY(),opacity:1},duration:.3,easing:i.Easing.easeOutStrong}),this.a.on("end",function(){this.a=null},this),this.a.run(),i.Squarespace.ToolTipManager.currentTip=this)},hide:function(){if(!!this.el){var d=new i.Anim({node:this.el,to:{top:this.position.getY()+15,opacity:0},duration:.3,easing:i.Easing.easeOutStrong});d.on("end",function(){this.get("node").remove()}),d.run(),this.el=null,this.a=null,this.shown=!1}}}),i.Squarespace.Lightbox=Class.create({defaultOpts:{overlayShowDuration:.35,contentShowDuration:.6,margin:0,opacity:1,transition:"fade",clickAnywhereToExit:!0,name:null,content:"<div>&nbsp;</div>",theme:"black",overlayStyle:"orb"},name:"Lightbox",initialize:function(d){this.enabled=!0,this.params=i.merge(this.defaultOpts,d),this.params.containerNode||(this.params.containerNode=i.one("body")),this.params.transition||(this.params.transition="fade"),this.params.zIndex||(i.Squarespace.DIALOG_ZINDEX_BASE+=10,this.params.zIndex=i.Squarespace.DIALOG_ZINDEX_BASE),this.events=[]},enable:function(){this.enabled=!0,this.overlayEl&&this.overlayEl.setStyle("display","block")},disable:function(){this.enabled=!1,this.overlayEl&&this.overlayEl.setStyle("display","none")},getContentEl:function(){return this.contentEl},show:function(){var d="sqs-lightbox"+(this.params.name?" sqs-lightbox-"+this.params.name:"");if(i.Lang.isArray(this.params.classNames)&&(d=d+" "+this.params.classNames.join(" ")),this.contentEl=i.Node.create('<div class="'+d+'"></div>'),i.Lang.isArray(this.params.content)?this.params.content.forEach(function(l){this.contentEl.append(l)},this):this.contentEl.append(this.params.content),this.contentEl.setStyles({position:"fixed",opacity:"0",zIndex:this.params.zIndex}),this.events.push(i.on("resize",this.position,i.one(window),this)),this.params.disableNormalClose||i.Squarespace.EscManager.addTarget(this),this.params.containerNode.append(this.contentEl),this.params.contentOnly)this._showContent();else{var u="sqs-lightbox-overlay"+(this.params.name?" sqs-lightbox-overlay-"+this.params.name:"")+" "+this.params.theme;this.params.name&&(u+=" sqs-lightbox-overlay-"+this.params.name),this.params.overlayStyle&&(u+=" sqs-lightbox-overlay-style-"+this.params.overlayStyle),i.Lang.isArray(this.params.classNames)&&(u=u+" "+this.params.classNames.join(" ")),this.overlayEl=i.Node.create('<div class="'+u+'"></div>'),this.overlayEl.setStyles({zIndex:this.params.zIndex-1}),this.params.containerNode.append(this.overlayEl),this.fire("showing"),this.a=i.Squarespace.Transitions.getTransition({el:this.overlayEl,opacity:this.params.opacity,name:"fade",direction:"in",duration:this.params.overlayShowDuration}),this.a.on("end",function(){this.fire("overlay-visible"),this.a=null,this._showContent()},this),this.a.run(),this.params.disableNormalClose?this.events.push(i.on("click",function(l){l.halt()},this.overlayEl,this)):this.events.push(i.on("click",this.close,this.overlayEl,this))}this.params.clickAnywhereToExit&&this.events.push(i.on("click",this.hide,this.contentEl,this))},position:function(){if(!!this.enabled){var d=i.one(document).get("winWidth"),u=i.one(document).get("winHeight"),l,c;d<this.naturalW+this.params.margin*2?l=d-this.params.margin*2:l=this.naturalW,u<this.naturalH+this.params.margin*2?c=u-this.params.margin*2:c=this.naturalH;var g=(d-l)/2,v=(u-c)/2;
1this.contentAttached&&(this.contentEl.setStyles({left:g+"px",top:v+"px",width:l+"px"}),this.params.noHeightConstrain||this.contentEl.setStyles({height:c+"px"}),this.resizeTarget&&this.resizeTarget.resizeToParent({scale:"contain"})),this.fire("position",{width:l,height:c,verticalWidth:d,verticalHeight:u,maxWidth:d-this.params.margin*2,maxHeight:u-this.params.margin*2})}},_showContent:function(){this.contentAttached=!0,this.resizeTarget=this.contentEl.one(".resize-target"),this.naturalW=this.contentEl.one("*").get("offsetWidth"),this.naturalH=this.params.height||this.contentEl.one("*").get("offsetHeight"),this.position(),this.fire("content-ready");var d=i.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"in",duration:this.params.contentShowDuration});d.on("end",function(){this.fire("content-visible")},this),d.run()},close:function(d){!this.params.clickAnywhereToExit&&(!d||this.overlayEl&&this.overlayEl.compareTo(d.target))||this.hide()},hide:function(){var d;!this.enabled||(this.a&&this.a.stop(),this.a=null,this.fire("hiding"),i.Squarespace.EscManager.removeTarget(this),this.overlayEl&&(d=i.Squarespace.Transitions.getTransition({el:this.overlayEl,name:"fade",direction:"out",duration:this.params.overlayShowDuration}),this.params.overlayShowDuration>this.params.contentShowDuration&&(this.a=d),d.run()),d=i.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"out",duration:this.params.contentShowDuration}),this.a||(this.a=d),d.run(),this.a.on("end",function(){this.destroy(),this.fire("hidden")},this))},destroy:function(){for(var d=0;d<this.events.length;++d)this.events[d].detach();this.contentEl&&this.contentEl.remove(),this.overlayEl&&this.overlayEl.remove(),this.contentEl=null,this.overlayEl=null,this.events=[]}}),i.augment(i.Squarespace.Lightbox,i.EventTarget),i.Squarespace.CustomAnim=Class.create({initialize:function(d){this.params=d},cancel:function(){},stop:function(){}}),i.augment(i.Squarespace.CustomAnim,i.EventTarget),i.augment(i.Squarespace.CustomAnim,i.Attribute),i.Squarespace.Transitions={STANDARD_DURATION:.3,getTransition:function(d){return!d.el||!d.el._node?new i.Anim:(d.duration||(d.duration=i.Squarespace.Transitions.STANDARD_DURATION),i.Squarespace.Transitions.transitionsByName[d.name](d))},transitionsByName:{fade:function(d){return new i.Anim({node:d.el,to:{opacity:i.Lang.isValue(d.opacity)?d.opacity:d.direction==="in"?1:0},duration:i.Squarespace.Transitions.STANDARD_DURATION,easing:i.Easing.easeOutStrong})},scale:function(d){return new(Class.extend(i.Squarespace.CustomAnim,{run:function(){d.opacity||(d.opacity=1),i.Lang.isValue(d.duration)||(d.duration=i.Squarespace.Transitions.STANDARD_DURATION);var u=this.params.el;this.params.direction==="in"?(u.setStyles({transform:"scale(.95)",opacity:0}),i.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:d.duration+"s",transitionTimingFunction:"ease-out","backface-visibility":"hidden"}),i.later(20,u,u.setStyles,{transform:"scale(1)",opacity:d.opacity})):(u.setStyles({transform:"scale(1)",opacity:d.opacity}),i.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:d.duration+"s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),i.later(20,u,u.setStyles,{transform:"scale(.95)",opacity:0})),i.later(d.duration*1e3+100,this,function(){this.fire("end",{_event:!0})})}}))(d)},none:function(d){return new(Class.extend(i.Squarespace.CustomAnim,{run:function(){this.params.direction==="in"?this.el.setStyle("opacity",1):this.el.setStyle("opacity",0),this.fire("end")}}))(d)}}},i.Squarespace.Effects={bounce:function(d){d.setStyles({transform:"scale(1)"}),i.later(10,d,d.setStyles,{transitionProperty:"transform, opacity",transitionDuration:".1s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),i.later(20,d,d.setStyles,{transform:"scale(1.1)"}),i.later(100,d,d.setStyles,{transform:"scale(1)"})},focus:function(d){d.setStyles({boxShadow:"0px 0px 0px rgb(20, 170, 255)"}
1),i.later(10,d,d.setStyles,{transitionProperty:"boxShadow",transitionDuration:".2s",transitionTimingFunction:"ease-out"}),i.later(20,d,d.setStyles,{boxShadow:"0px 0px 10px rgb(20, 170, 255)"}),i.later(200,d,d.setStyles,{boxShadow:null})},blink:function(d){var u=new i.Anim({node:d,to:{opacity:0},duration:.6,easing:i.Easing.easeOutStrong});u.on("end",function(){var l=new i.Anim({node:this.get("node"),to:{opacity:1},duration:.6,easing:i.Easing.easeOutStrong});l.on("end",function(){}),l.run()}),u.run()},shimmy:function(d){d.setStyles({transform:"translateX(0px)"}),i.UA.safari?i.later(10,d,d.setStyles,{webkitTransitionProperty:"-webkit-transform",webkitTransitionDuration:".3s",webkitTransitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}):i.later(10,d,d.setStyles,{transitionProperty:"transform",transitionDuration:".3s",transitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}),i.later(20,d,d.setStyles,{transform:"translateX(-33px)"}),i.later(200,d,d.setStyles,{transform:null})}},i.augment(i.Node,Class.create({intersectXY:function(d,u){var l=this.get("region");return l.left<d&&d<l.right&&l.top<u&&u<l.bottom},forceClass:function(d,u){this.toggleClass(d,!!u)},data:function(d){var u=this._node;if(d)for(;u;){if(u.data&&u.className.indexOf(d)!==-1)return u.data;u=u.parentNode}else for(;u;){if(u.data)return u.data;u=u.parentNode}return null},setNodeData:function(d){this._node.data=d}})),i.Squarespace.RelativeTimeDisplay=i.Base.create("RelativeTimeDisplay",i.Plugin.Base,[],{initializer:function(){this.timer=i.later(this.get("interval"),this,this.syncUI,{},!0),this.syncUI()},syncUI:function(){var d=Math.floor((new Date().getTime()-this.get("date").getTime())/1e3);d<60?d===0?this.get("host").setContent((0,s.t)("just now")):this.get("host").setContent((0,s.t)("about {secondsDifference} seconds ago",{secondsDifference:d})):this.get("host").setContent((0,a.default)(this.get("date"),!0))},destructor:function(){this.timer.cancel()}},{NS:"RelativeTimeDisplay",CSS_NAMESPACE:"sqs-action-overlay",ATTRS:{date:{valueFn:function(){return new Date}},interval:{value:5e3}}}),i.Squarespace.PositionAnimator=i.Base.create("PositionAnimator",i.Plugin.Base,[],{hold:function(){this.set("originalTop",this.get("host").get("offsetTop")),this.set("originalLeft",this.get("host").get("offsetLeft")),this.previousPosition=this.get("host").getStyle("position")},release:function(d){var u=this.get("host").get("offsetTop"),l=this.get("host").get("offsetLeft"),c=this.get("baseSpeed")+(d?0:Math.random()*.2),g=d?0:200*Math.random(),v=this.get("originalTop")-u,h=this.get("originalLeft")-l;this.get("host").setStyles({position:"relative",top:v,left:h,transition:"none"});var p=this,m=this.get("host").anim({top:0,left:0},{from:{top:v,left:h},duration:c,end:function(){!this.get("node")._node||(this.get("node").setStyles({position:this.previousPosition,top:null,left:null,transition:null}),p.get("releasedFn")&&p.get("releasedFn")(),p.fire("released"))}});i.later(g,m,m.run)},destructor:function(){}},{NS:"positionAnimator",ATTRS:{originalTop:{},originalLeft:{},releasedFn:{value:!1},baseSpeed:{value:.2}}}),i.Anim.behaviors.translate={set:function(d,u,l,c,g,v,h){var p=h(g,parseInt(l[0],10),parseInt(c[0],10)-parseInt(l[0],10),v),m=h(g,parseInt(l[1],10),parseInt(c[1],10)-parseInt(l[1],10),v);d._node.setStyles({transform:"translate("+p+"px, "+m+"px)"})},get:function(d){return[0,0]}}},"1.0",{requires:["anim","attribute","base","event-custom","node","plugin"]})},621065:function(y,f,e){"use strict";e.r(f);var s=e(481323),n=e.n(s),a=e(948232),t=e.n(a),r=e(638286),i=e.n(r),o=e(961980),d=e(523630),u=e(90496);YUI.add("squarespace-util",function(l){if(l.Squarespace.API_ROOT="/api/",l.Squarespace.REST_API_ROOT="/api/rest/",l.Squarespace.Utils={logoutAndReloadPage:function(){d.default.logout().then(function(){document.location.reload()}).catch(function(p){})},logout:function(){this.LOGGING_OUT||!Static.SQUARESPACE_CONTEXT.authenticatedAccount||(this.LOGGING_OUT=!0,d.default.logout().then(function(){l.Global.fire("squarespace:logout");var p="/";l.config.win.CONFIG_PANEL&&(p=window.CONFIG_PANEL.get("previewFrame").get("url")),document.location.href=["http://",document.location.host,p,"?logout=true"].join(""),l.Squarespace.Utils.removeSharedSSIdentity()}).catch(function(p){console.error(p)}))},getGuid:function(){var p=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return p()+p()+p()+p()+p()},getBrowserClassName:function(){var p={gecko:"browser-gecko",safari:"browser-safari",ie:"browser-msie"},m="";return l.Object.some(p,function(P,_){if(l.UA[_])return m=P,!0}),(0,u.Z)()&&(m+=" ipad-os-thirteen"),m},isCoverPageOnly:l.cached(function(){return l.Object.getValue(Static,"SQUARESPACE_CONTEXT.website.websiteType".split("."))===n().COVER_PAGE}),isParkingPage:l.cached(function(){return l.Object.getValue(Static,"SQUARESPACE_CONTEXT.website.websiteType".split("."))===n().PARKING_PAGE}
1),isIAP:l.cached(function(){return l.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","siteStatus","value"])===t().RESOLD}),isIAPGracePeriod:l.cached(function(){return l.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","siteStatus","value"])===t().RESOLD_GRACE_PERIOD}),isDeveloperModeEnabled:function(){return!!l.Object.getValue(l.config.win,"Static.SQUARESPACE_CONTEXT.website.developerMode".split("."))},isInDamaskFrame:function(){try{return(window.top.Y||window.top.YUI_NOT_YET_LOADED)&&window.top.Y!==l}catch(p){return!1}},areCookiesEnabled:function(){return l.Lang.isUndefined(this._cookiesEnabled)&&(this._cookiesEnabled="cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)),this._cookiesEnabled},storeSharedSSIdentity:function(){try{var p={identifier:l.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","identifier"])},m=btoa(JSON.stringify(p));i().set("ss_lastid",m,{domain:Static.SQUARESPACE_CONTEXT.appDomain,path:"/"})}catch(P){}},removeSharedSSIdentity:function(){try{i().set("ss_lastid",{domain:Static.SQUARESPACE_CONTEXT.appDomain,expires:new Date(0),path:"/"})}catch(p){}},onPointerAction:function(p,m,P){var _=Array.prototype.slice.call(arguments);return _.splice(1,0,"on"),l.Squarespace.Utils._attachPointerAction.apply(this,_)},_attachPointerAction:function(p,m,P,_){var b=Array.prototype.slice.call(arguments);return b.splice(0,2),b.splice(0,0,"click"),p[m].apply(p,b)}},l.Squarespace.Marketing={trackLanding:function(){var p=l.QueryString.parse(document.location.search.substring(1)),m=["source","campaign","subcampaign","channel","subchannel","refer","variation","mkwid"],P={landing:document.location.href,refer:document.referrer,rk:parseInt(Math.random()*99999999,10)};navigator.language?P.lang=navigator.language.toLowerCase():navigator.browserLanguage&&(P.lang=navigator.browserLanguage.toLowerCase()),self.screen&&(P.screen=screen.width+"x"+screen.height);for(var _=0;_<m.length;++_){var b=m[_];b in p&&(P[b]=p[b])}var S=new Image(1,1);S.src="/api/track/Track?"+l.QueryString.stringify(P)}},l.Squarespace.Analytics={trackInternal:function(p,m,P){(0,o.default)(p,m).then(P)}},l.namespace("Squarespace.Lang").isPercentage=function(p){return l.Lang.isString(p)&&p.search("%")>0},l.namespace("Squarespace.Lang").sub=function(p,m){var P=/\{\s*([^|}]+?)\s*(?:\|([^}]*))?\s*\}/g;return p.replace?p.replace(P,function(_,b){var S=l.Object.getValue(m,b.split("."));return l.Lang.isUndefined(S)?_:S}):p},!!l.Base){if(l.Color){var c=l.Color.toRGB;l.Color.re_RGBA=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*(\d+(?:\.\d+)?)\)$/i,l.Color.toRGB=function(p){return l.Color.re_RGBA.exec(p)?"rgb("+RegExp.$1+","+RegExp.$2+","+RegExp.$3+")":c(p)}}l.SQSAnim=l.Base.create("SQSAnim",l.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):l.Anim.prototype.run.call(this)}});var g=function(p,m,P,_){return p/=_/2,p<1?P/2*p*p*p+m:(p-=2,P/2*(p*p*p+2)+m)};l.augment(l.Node,Class.create({anim:function(p,m,P){return m=l.merge({node:this,duration:.5,easing:g,to:p},m),this.activeAnim&&this.activeAnim.stop(!0),this.activeAnim=new l.SQSAnim(m),this.activeAnim.on("end",function(){delete this.activeAnim},this),m.end&&this.activeAnim.on("end",m.end,P||m.context),m.start&&this.activeAnim.on("start",m.start,P||m.context),this.nodedestroynotifier||this.plug(l.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.activeAnim&&this.activeAnim.stop(!0)},context:this}),this.activeAnim},getAdjustedDimensions:function(p){var m=this;p||(p={}),p.scale||(p.scale="cover"),p.align||(p.align="center");var P=m.get("parentNode"),_=this.getAttribute("data-image-dimensions"),b,S;_?(_=_.split("x"),_={width:parseInt(_[0],10),height:parseInt(_[1],10)},b=_.width,S=_.height):(!m.getData("width")&&!m.getData("height")&&(m.setData("width",p&&p.width?parseInt(p.width,10):m.getAttribute("width")||m.get("offsetWidth")),m.setData("height",p&&p.height?parseInt(p.height,10):m.getAttribute("height")||m.get("offsetHeight"))),l.Squarespace.Lang.isPercentage(m.getData("width"))?b=P.get("offsetWidth")*(parseInt(m.getData("width"),10)/100):b=parseInt(m.getData("width"),10),l.Squarespace.Lang.isPercentage(m.getData("height"))?S=P.get("offsetHeight")*(parseInt(m.getData("height"),10)/100):S=parseInt(m.getData("height"),10));var E=p.containerWidth||P.get("offsetWidth")-(P.get("offsetWidth")-P.get("clientWidth")),A=p.containerHeight||P.get("offsetHeight")-(P.get("offsetHeight")-P.get("clientHeight")),T=b/S,I=E/A,R,j,x;p.scale&&P.getStyle("overflow")!=="hidden"&&P.setStyle("overflow","hidden"),p.sizeOnly?x=E/b:p.scale==="contain"?x=T>I?E/b:A/S:x=T>I?A/S:E/b;var L=b,H=S;return p.scale==="contain"?(L=b*x,H=S*x,R=H<A?(A-H)/2:0,j=L<E?(E-L)/2:0,p.align.indexOf("left")!==-1?j=0:p.align.indexOf("right")!==-1&&(j=E-L),p.align.indexOf("top")!==-1?R=0:p.align.indexOf("bottom")!==-1&&(R=A-H),L-=this.get("offsetWidth")-this.get("clientWidth"),H-=this.get("offsetHeight")-this.get("clientHeight")):p.scale==="cover"&&(L=b*x,H=S*x,R=H>A?(H-A)/-2:0,j=L>E?(L-E)/-2:0,p.focalPoint&&(j=Math.min(Math.max(E/2-L*p.focalPoint[0],E-L),0),R=Math.min(Math.max(A/2-H*p.focalPoint[1],A-H),0))),{top:R,left:j,width:L,height:H}},resizeToParent:function(p){var m=this.getAdjustedDimensions(p),P=this.getStyle("position");if(p.sizeOnly){this.setStyles({width:m.width,height:m.height});var _=this.one("embed");if(_&&this.one("embed").setStyles({width:m.width,height:m.height}),this.test("iframe")){var b=this.getAttribute("src");if(b)if(b.indexOf("?")!==-1){var S=b.split("?");S[1].indexOf("wmode=transparent")===-1&&this.setAttribute("src",S[0]+"?wmode=transparent&"+S[1])}else this.setAttribute("src",b+"?wmode=transparent")}_&&_.getAttribute("wmode")!=="transparent"&&this.one("embed").setAttribute("wmode","transparent")}else{var E=5;this.setStyles({position:P!=="relative"&&P!=="absolute"?"relative":P,to
1p:m.top.toFixed(E),left:m.left.toFixed(E),width:m.width.toFixed(E),height:m.height.toFixed(E)})}},width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")},setWidth:function(p){this.setStyle("width",p)},setHeight:function(p){this.setStyle("height",p)}}));var v=["Webkit","Moz","O","ms"],h=["transition","transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay","backfaceVisibility","userSelect","borderBottomLeftRadius","borderBottomRightRadius"];l.Array.each(v,function(p){l.Array.each(h,function(m){var P=p+m.charAt(0).toUpperCase()+m.slice(1);P in l.config.doc.documentElement.style&&(l.DOM.CUSTOM_STYLES[m]={set:function(_,b,S){S[P]=b,S[m]=b},get:function(_,b){l.DOM.getComputedStyle(_,P)}})})}),l.IO.prototype._destroy=function(p){l.config.win&&!p.notify&&!p.xdr&&(!p.upload&&p.c?p.c.onreadystatechange=null:p.upload&&(p.c.upload.onprogress=null,p.c.onload=null,p.c.onerror=null)),p=p.c=null}}},"1.0",{requires:["anim","base","event","io","json","jsonp","node","node-event-delegate","plugin","promise","querystring","selector","squarespace-anim-raf","squarespace-data","squarespace-dom-emitters-resize","squarespace-logger","squarespace-plugin-node-destroy-notifier","squarespace-public-api","squarespace-system-error","squarespace-ui-base","yui-later"]})},516257:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(743738),t=e.n(a);YUI.add("squarespace-video-loader",function(r){r.namespace("Squarespace"),r.Squarespace.VideoLoader=r.Base.create("VideoLoader",r.Plugin.Base,[],{initializer:function(){var i=this.get("host");i.plug(r.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this._setVariables(),this._resizeEmitter=new r.Squarespace.ResizeEmitter({timeout:1e3}),this._onFullscreenChangeHandler=this.handleFullScreenChange.bind(this),this._modeClass="video-"+this.get("mode"),i.addClass(this._modeClass),this.once("loaded",this.bindUI,this),this.get("load")&&this.load(),this.after("forceAutoplayChange",function(){this._augmentVideoSrc()})},destructor:function(){this.prefixedFullScreenEvents.forEach(function(i){r.config.doc.removeEventListener(i,this._onFullscreenChangeHandler)}.bind(this)),this._resizeEmitter.destroy()},load:function(){if(!this._loaded){this.get("type")==="invalid"&&(this._intrinsic=!1,this.get("overlay")&&(this.get("overlay").remove(),this._set("overlay",null)));var i=this.get("host"),o=this.get("mode");i.removeClass(this._modeClass),this._modeClass="video-"+o,i.addClass(this._modeClass);var d,u;if(this._intrinsic){var l=this.getWidth(),c=this.getHeight(),g;l&&c?g=c/l*100:g=56.3,d=this._getOrCreateNode(".intrinsic",'<div class="intrinsic"></div>'),u=this._getOrCreateNode(".intrinsic-inner",'<div class="intrinsic-inner"></div>'),u.setStyle("paddingBottom",g+"%");var v=i.get("parentNode"),h=v.getComputedStyle("position");o==="fit"?(i.setStyles(i.getAdjustedDimensions({scale:"contain",width:this.getWidth(),height:this.getHeight()})),h==="static"&&v.setStyle("position","relative")):o==="fill"&&h==="static"&&v.setStyle("position","relative"),this.get("overlay")?(this.get("overlay").wrap(u),u.wrap(d)):(d.appendChild(u),i.appendChild(d))}var p=this.get("overlay");if(p){p.setStyle("opacity",1);var m=p.one(".sqs-video-opaque");m||(m=r.Node.create('<div class="sqs-video-opaque"></div>'),p.appendChild(m));var P=p.one(".sqs-video-icon");P||(P=r.Node.create('<div class="sqs-video-icon"></div>'),p.appendChild(P)),this._setPlayButtonAttributes(this.get("inactive")),this.after("inactiveChange",function(b){this._setPlayButtonAttributes(b.newVal)},this);var _=p.one("img");_&&(_.fire("refresh"),_.plug(r.Squarespace.Loader2,{load:!0,mode:"fill"}),_.fire("refresh"))}else d?u.appendChild(this.get("video")):i.appendChild(this.get("video")),this._set("showingVideo",!0);this._cacheOverlayWrapperHeight(),this.fire("loaded"),this._loaded=!0}},_setPlayButtonAttributes:function(i){var o=this.get("overlay").one(".sqs-video-icon");i?(o.removeAttribute("tabindex"),o.removeAttribute("role"),o.removeAttribute("aria-label")):(o.setAttribute("tabindex",0),o.setAttribute("role","button"),o.setAttribute("aria-label",(0,s.t)("Play")))},_cacheOverlayWrapperHeight:function(){var i=this.get("host").get("parentNode"),o=i.get("offsetHeight");i.setData("cached-height",o)},_getOrCreateNode:function(i,o){var d=this.get("host").one(i);return d||r.Node.create(o)},unload:function(){var i=this.get("host");i.setStyles({top:null}),this.showOverlay(),this.get("overlay")&&this.get("overlay").remove(),this.get("video").remove(),this._intrinsic&&i.one(".intrinsic").remove(!0),this.get("overlay")&&(this.get("overlay").setStyle("opacity",0),i.appendChild(this.get("overlay"))),this._setIntrinsic(),this._loaded=!1},reload:function(){this.unload(),this.load()},handleFullScreenChange:function(i){this.isFullScreen=!this.isFullScreen},showVideoIfNotInactive:function(){this.get("inactive")||this.showVideo()},bindUI:function(){this.get("overlay")&&(this.get("overlay").on("click",this.showVideoIfNotInactive,this),this.get("overlay").one(".sqs-video-icon").on("keydown",function(i){var o=i.keyCode===13,d=i.keyCode===32;(o||d)&&this.showVideoIfNotInactive()},this)),this.after("modeChange",this.reload,this),this._resizeEmitter.on("resize",function(){if(this.get("mode")==="fit"&&this._resetFitTop(),this.get("overlay")){var i=this.get("overlay").one("img");i&&i.fire("refresh")}},this),this._resizeEmitter.on("resize:end",function(){this.get("mode")==="fit"&&!this.isFullScreen&&(this._cacheOverlayWrapperHeight(),this._resetFitTop())}
1,this),this.prefixedFullScreenEvents.forEach(function(i){r.config.doc.addEventListener(i,this._onFullscreenChangeHandler)}.bind(this)),r.Global.on("tweak:aftershow",function(){this.get("mode")==="fit"&&this._resetFitTop()},this),r.Global.after("tweak:afterclose",function(){this.get("mode")==="fit"&&setTimeout(r.bind(function(){this._resetFitTop()},this),1e3)},this)},showVideo:function(){if(!(this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!0),this._showOverlayOnOthers();var i=this.get("video");i.setStyle("opacity",0),this._intrinsic?this.get("host").one(".intrinsic-inner").appendChild(i):this.get("host").appendChild(i);var o=this.get("overlay"),d=o.one(".sqs-video-opaque");d.anim({opacity:1},{duration:1,start:function(){o.one(".sqs-video-icon").setStyle("visibility","hidden")},end:function(){this.get("video").setStyle("opacity",1),this.get("showingVideo")&&o.setStyle("visibility","hidden"),o.hasClass("no-thumb")?d.setStyle("opacity",1):d.setStyle("opacity",0),o.one(".sqs-video-icon").setStyle("visibility",null)},context:this}).run()}},showOverlay:function(){if(!(!this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!1),this.get("overlay").setStyle("opacity",0),this.get("overlay").setStyle("visibility",null);var i=this.get("video");i.anim({opacity:0},{duration:.3,start:function(){this.get("overlay").anim({opacity:1},{duration:.3}).run()},end:function(){i.remove()},context:this}).run()}},refreshVideo:function(){if(!!this.get("showingVideo")){var i=this.get("video");if(this.get("type")==="object"){i.remove();var o=this.get("host");this._intrinsic?o.one(".intrinsic-inner").appendChild(i):o.appendChild(i)}else this.get("type")==="iframe"&&i.setAttribute("src",i.getAttribute("src"))}},play:function(){if(!!this.get("apiFriendly")){var i=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":i.postMessage('{"method": "play", "value": "true"}',"*");break;case"YouTube":i.postMessage('{"event":"command","func":"playVideo","args":""}',"*");break}}},pause:function(){if(!!this.get("apiFriendly")){var i=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":i.postMessage('{"method": "pause", "value": "true"}',"*");break;case"YouTube":i.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");break}}},getWidth:function(){return this.get("video").getAttribute("width")},getHeight:function(){return this.get("video").getAttribute("height")},_setVariables:function(){var i=this.get("host");this._setIntrinsic(),this._set("overlay",i.one(".sqs-video-overlay"));var o=r.Node.create(i.getAttribute("data-html")),d=r.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,s.t)("Custom featured images only available with embedded videos. Go back into embed settings to turn off featured images.")+"</div></div>"),u=r.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,s.t)("Invalid video embed.")+"</div></div>"),l;o?o.test("iframe")?(l=o,this._set("type","iframe")):o.test("object")?(l=o,this._set("type","object")):o.one("iframe")?(l=o.one("iframe"),this._set("type","iframe")):o.one("object")?o.one("embed")?(l=o.one("object"),this._set("type","object")):(l=u,this._set("type","invali
1d")):this.get("overlay")?(l=d,this._set("type","invalid")):(l=u,this._set("type","invalid")):(l=u,this._set("type","invalid")),this._set("video",l);var c=i.getAttribute("data-provider-name");if((!c||c==="")&&this.get("type")!=="invalid"){var g=this.get("video").getAttribute("src");g.match("player.vimeo.com")?c="Vimeo":g.match("www.youtube.com")&&(c="YouTube")}this._providerName=c,this.isFullScreen=r.config.doc.fullScreen||r.config.doc.mozFullScreen||r.config.doc.webkitIsFullScreen,this.prefixedFullScreenEvents=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],this.get("type")==="invalid"?i.addClass("video-invalid"):(this._augmentVideoSrc(),i.removeClass("video-invalid"))},_setIntrinsic:function(){this._intrinsic=this.get("mode")==="none"||this.get("mode")==="fit"},_resetFitTop:function(){var i=this.get("host"),o=i.get("parentNode").get("offsetHeight");o>r.config.win.innerHeight&&(o=i.get("parentNode").getData("cached-height")||r.config.win.innerHeight);var d=i.one(".intrinsic");d.setStyle("top",null);var u=d.get("offsetHeight");i.setStyle("top",(o-u)/2+"px")},_augmentVideoSrc:function(){var i=this.get("type"),o=this.get("video"),d=i==="iframe"?o:o.one("embed")||o,u=d.test("object")?"data":"src",l=d.getAttribute(u),c=l.split("?"),g=c[0],v=c[1]||"",h=r.QueryString.parse(v),p=this._providerName;(this.get("overlay")||this.get("forceAutoplay"))&&(p===(0,s.t)("Wistia, Inc.")?h.autoPlay="true":p==="Animoto"?h.options="autostart":h.autoplay=1);var m=["Vimeo","YouTube","Wistia, Inc.","Animoto"];if((i==="object"||m.indexOf(p)!==-1)&&a.isSecure()&&(g=a.securifyURL(g)),g=g.replace("http:////","//"),g=g.replace("https:////","//"),i==="iframe")switch(p){case"YouTube":h.enablejsapi=1,this._set("apiFriendly",!0);break}l=g+"?"+r.QueryString.stringify(h),d.setAttribute(u,l)},_showOverlayOnOthers:function(){r.all(".sqs-video-wrapper").each(function(i){i!==this.get("host")&&i.videoloader.showOverlay()},this)}},{NS:"videoloader",ATTRS:{apiFriendly:{value:!1,readOnly:!0},inactive:{value:!1},load:{value:!0},mode:{value:"none",validator:function(i){return["none","fit","fill",null].indexOf(i)!==-1}},overlay:{value:null,readOnly:!0},showingVideo:{value:!1,readOnly:!0},type:{value:null,readOnly:!0},video:{value:null,readOnly:!0},forceAutoplay:{value:!1}}})},"1.0",{requires:["base","node","plugin","querystring","squarespace-dom-emitters-resize","squarespace-image-loader","squarespace-plugin-node-destroy-notifier","squarespace-ui-base"]})},364467:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s);YUI.add("squarespace-widgets-alert",function(a){a.namespace("Squarespace.Widgets");var t=a.Squarespace.Widgets.Alert=a.Base.create("alert",a.Squarespace.Widgets.Confirmation,[],{},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:a.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:a.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:a.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(r){return new t(r)},ATTRS:{className:{value:"alert"},style:{value:a.Squarespace.Widgets.Confirmation.TYPE.CONFIRM_ONLY},"strings.confirm":{value:(0,s.t)("Okay")}}})},"1.0",{requires:["base","squarespace-widgets-confirmation"]})},694233:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(581945),t=e.n(a),r=e(533734);YUI.add("squarespace-widgets-confirmation",function(i){i.namespace("Squarespace.Widgets");var o={CONFIRM_OR_REJECT:0,CONFIRM_OR_CANCEL:1,CONFIRM_ONLY:2,NO_BUTTONS:3},d=i.Squarespace.Widgets.Confirmation=i.Base.create("confirmation",i.Widget,[i.Squarespace.Mixins.EventRegistrar],{initializer:function(){this._posHelper=new i.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding")),this._resizeEmitter=new i.Squarespace.ResizeEmitter,this.get("escToCancel")&&(i.Squarespace.EscManager.addTarget(this),this.ignoreBodyClicks=!0);var u=["show","hide","confirm","reject","cancel"];i.Array.each(u,function(l){this.publish(l,{emitFacade:!0,broadcast:2})},this),this._timers=[]},destructor:function(){for(i.Squarespace.EscManager.removeTarget(this),this._resizeEmitter.destroy(),this._resizeEmitter=null,this._posHelper=null,this._overlay=null,this._buttonsNode=null,this._cancelButton=null,this._rejectButton=null,this._confirmButton=null;this._timers.length!==0;)this._timers.shift().cancel();this._timers=null,this.detachAll()},renderUI:function(){d.superclass.renderUI.call(this);var u=this.get("zIndex"),l=this.get("boundingBox"),c=this.get("contentBox"),g=this.constructor.TEMPLATE;i.Lang.isString(g)&&c.prepend(g),l.addClass(this.get("className")),i.Lang.isValue(u)&&l.setStyle("z-index",u),c.addClass("clear"),c.one(".title").setContent(this.get("strings.title"));var v=i.guid();c.one(".title").setAttribute("id",v),c.one(".message").setContent(this.get("strings.message"));var h=i.guid();c.one(".message").setAttribute("id",h),c.setAttribute("role","dialog"),c.setAttribute("aria-labelledby",v+" "+h),this._buttonsNode=c.one(".buttons"),this._renderButtons(),this.get("visible")&&this.show()},bindUI:function(){var u=i.bind(function(v){return function(p){p.halt(),this._handleResponse(v)}},this),l=i.bind(function(v){return function(p){(p.keyCode===32||p.keyCode===13)&&(p.halt(),this._handleResponse(v))}},this);i.Lang.isValue(this._confirmButton)&&(this._confirmButton.on("click",u("confirm"),this),this._confirmButton.on("keydown",l("confirm"),this)),i.Lang.isValue(this._cancelButton)&&(this._cancelButton.on("click",u("cancel"),this),this._cancelButton.on("keydown",l("cancel"),this)),i.Lang.isValue(this._rejectButton)&&(this._rejectButton.on("click",u("reject"),this),this._rejectButton.on("keydown",l("reject"),this)),this.after("positionChange",function(){this._posHelper=new i.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding"))},this),this.get("position")!==i.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE&&this._registerEvent(this._resizeEmitter.on("resize",this._updatePosition,this));var c=this.get("hideAfterTime");i.Lang.isNumber(c)&&this._registerTimer(i.later(c,this,this._hideAfterTime)),this.get("destroyOnHide")&&this.onceAfter("hide",this.destroy,this),this.before("hide",function(){this._revertFocusContainment(),i.Lang.isValue(this._overlay)&&this._overlay.remove(!0)},this),this.on("cancel",this.hide,this),this.onceAfter("confirm",this.hide,this),this.onceAfter("reject",this.hide,this)},_handleResponse:function(u){this.fire(u)},_renderButtons:function(){var u=this.get("style");u!==o.NO_BUTTONS&&(u!==o.CONFIRM_ONLY&&(this._cancelButton=this._buttonsNode.appendChild(this._createButton("cancel"))),u===o.CONFIRM_OR_REJECT&&(this._rejectButton=this._buttonsNode.appendChild(this._createButton("reject"))),this._confirmButton=this._buttonsNode.appendChild(this._createButton("confirm")))},_createButton:function(u){var l="div";return i.Node.create(i.Lang.sub('<{element}
1 role="button" tabindex="0" class="confirmation-button no-frame {type}">{sub1}</{element}>',{type:u,sub1:this.get("strings."+u),element:l}))},_updatePosition:function(){var u=this.get("boundingBox"),l=this._posHelper.fetch(u,this.get("anchor"));u.setStyles(l)},_renderOverlay:function(){var u=this.get("boundingBox"),l=this.get("zIndex")||parseInt(u.getStyle("z-index"),10);this._overlay=u.insertBefore("<div></div>",u),this._overlay.addClass(this.getClassName("overlay")),this._overlay.setStyle("z-index",l-1),this.get("showOverlay")||this._overlay.setStyle("opacity","0"),this._overlay.on("click",function(c){c.halt(),this._handleResponse("cancel")},this)},show:function(){i.Lang.isValue(this._overlay)||this._renderOverlay();var u=this.get("boundingBox");this.set("visible",!0),u.setStyle("width",this.get("width")),this._updatePosition(),u.addClass("shown"),this._revertFocusContainment=(0,r.containFocus)({container:u.getDOMNode(),root:i.one("body").getDOMNode(),setFocusOnContain:this._confirmButton&&this._confirmButton.getDOMNode()||!0}),this.fire("show")},hide:function(u){var l=function(v,h){var p=v.addClass;h&&(p=v.removeClass),i.bind(p,v,"hiding")(),i.Lang.isValue(i.UA.mobile)&&i.bind(p,v,"mobile")()},c=this.get("boundingBox"),g=function(){i.Lang.isValue(c.getDOMNode())&&c.hasClass("hiding")&&(l(c,!0),this.set("visible",!1),this.fire("hide"))};i.Lang.isBoolean(u)&&u?g.call(this):(l(c),c.once(["transitionend","oTransitionEnd","otransitionend","webkitTransitionEnd"],g,this),this._registerTimer(i.later(600,this,g)))},_hideAfterTime:function(){this.hide()},_registerTimer:function(u){this._timers.push(u)}},{CSS_PREFIX:"sqs-widgets-confirmation",TEMPLATE:'<div class="title"></div><div class="message"></div><div class="buttons"></div>',TYPE:o,ANCHOR:i.Squarespace.Widgets.PositionHelper.ANCHOR,show:function(u){return new d(u)},ATTRS:{className:{value:"question",validator:i.Lang.isString},escToCancel:{value:!0,validator:i.Lang.isBoolean},hideAfterTime:{validator:i.Squarespace.AttrValidators.isNullOrNumber},destroyOnHide:{value:!0,validator:i.Lang.isBoolean},position:{getter:function(u){return i.Lang.isValue(u)?u:i.Lang.isValue(i.UA.mobile)||a.mediaQueries.isSubDesktop()?i.Squarespace.Widgets.PositionHelper.ANCHOR.CENTER:i.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE},validator:i.Lang.isFunction},anchor:{},padding:{value:20,validator:i.Lang.isNumber},render:{valueFn:function(){var u=i.one(i.Squarespace.Damask.ContextGlobals.fromTop("Y.config.doc.body"));return i.Lang.isValue(u)?u:i.one(i.config.doc.body)}},style:{value:o.CONFIRM_OR_CANCEL,validator:i.Lang.isNumber},showOverlay:{value:!1,validator:i.Lang.isBoolean},strings:{value:{title:"",message:"",confirm:(0,s.t)("Confirm"),cancel:(0,s.t)("Cancel"),reject:(0,s.t)("Reject")}},width:{value:350},zIndex:{validator:i.Squarespace.AttrValidators.isNullOrNumber},instrumentationTitle:{value:null}}})},"1.0",{requires:["base","squarespace-damask-context-globals","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-mixins-event-registrar","squarespace-util","squarespace-widgets-position-helper"]})},45686:function(){YUI.add("squarespace-widgets-gismo",function(y){y.namespace("Squarespace.Widgets"),y.Squarespace.Widgets.Gismo=y.Base.create("Gismo",y.Widget,[y.Squarespace.GismoBase])},"1.0",{requires:["base","squarespace-gismo","widget"]})},712984:function(){YUI.add("squarespace-widgets-information",function(y){y.namespace("Squarespace.Widgets");var f=y.Squarespace.Widgets.Information=y.Base.create("information",y.Squarespace.Widgets.Confirmation,[],{_hideAfterTime:function(){this.hide(),this._handleResponse("confirm")},_renderOverlay:function(){!this.get("showOverlay")||f.superclass._renderOverlay.call(this)}},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:y.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:y.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:y.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(e){return new f(e)},ATTRS:{className:{value:"okay"},style:{value:y.Squarespace.Widgets.Confirmation.TYPE.NO_BUTTONS},position:{value:y.Squarespace.Widgets.PositionHelper.ANCHOR.TOP_RIGHT},hideAfterTime:{value:2e3},escToCancel:{value:!1}}})},"1.0",{requires:["base","squarespace-widgets-confirmation","squarespace-widgets-position-helper"]})},878475:function(){YUI.add("squarespace-widgets-lightbox2-overlay",function(y){y.namespace("Squarespace.Widgets"),y.Squarespace.Widgets.Lightbox2Overlay=y.Squarespace.Lightbox2Overlay=y.Base.create("LightboxOverlay",y.Squarespace.Widgets.Gismo,[],{destructor:function(){y.Lang.isValue(this._overlayEl)&&(this._overlayEl.destroy(!0),this._overlayEl=null)},renderUI:function(){this._overlayEl=y.Node.create('<div class="sqs-lightbox-overlay"></div>'),this._overlayEl.addClass("sqs-lightbox-overlay-"+this.get("overlayStyle")),this.get("theme")==="light"&&this._overlayEl.addClass("light"),this.get("contentBox").appendChild(this._overlayEl),this.get("contentBox").plug(y.Squarespace.Plugin.ScrollLock),this.show()},show:function(){this._overlayEl.setStyles({zIndex:"10000000"});var f=this._anim(this._overlayEl,{opacity:this.get("opacity")},{duration:this.get("speed")});f.on("end",function(){this.fire("shown")},this),f.run()},overlayHideAndDestroy:function(){this.once("hidden",this.destroy),this._hide()},_hide:function(){this.fire("hide");var f=this._anim(this._overlayEl,{opacity:0}
1,{duration:this.get("speed")});f.on("end",function(){this.fire("hidden")},this),this.get("destroyed")?this.fire("hidden"):f.run()},_getContainer:function(){return this._overlayEl}},{NS:"overlay",ATTRS:{opacity:{value:.95},overlayStyle:{value:"default"},theme:{value:"dark"},container:{getter:"_getContainer"},speed:{value:.3}}})},"1.0",{requires:["base","node","squarespace-plugin-scroll-lock","squarespace-widgets-gismo"]})},410840:function(y,f,e){"use strict";e.r(f);var s=e(869235),n=e.n(s),a=e(217802),t=e.n(a),r=e(102577),i=e.n(r),o=e(467432),d=e(533734);function u(l,c){var g=l._node,v=c._node,h=g.clientWidth,p=g.clientHeight,m=h/p,P=v.getAttribute("width"),_=v.getAttribute("height"),b=P/_,S=m>b?"height":"width";if(c.setStyle("position","relative"),c.setStyle("object-fit","contain"),S==="height"){var E=p*b;c.setStyle("width",E+"px"),c.setStyle("height",p+"px"),c.setStyle("left",h/2-E/2+"px"),c.setStyle("top","0px")}else{var A=h/b;c.setStyle("height",A+"px"),c.setStyle("width",h+"px"),c.setStyle("left","0px"),c.setStyle("top",p/2-A/2+"px")}}YUI.add("squarespace-widgets-lightbox2",function(l){l.namespace("Squarespace.Widgets"),l.Squarespace.Widgets.Lightbox2=l.Squarespace.Lightbox2=l.Base.create("Lightbox2",l.Squarespace.Widgets.Gismo,[],{initializer:function(){l.config.win.ACTIVE_LIGHTBOX=this;var c=this.get("contentBox");c.set("role","dialog"),c.set("aria-label",this.get("title")),this._overlay=new l.Squarespace.Lightbox2Overlay({theme:this.get("theme")}),this._overlay.on("hide",this.hideAndDestroy,this),this.bMobile=l.SQS.Gallery.Manager.isMobile(),this.requestUpdateHeightAndRefresh=(0,o.default)(this.updateHeightAndRefresh.bind(this))},destructor:function(){this._flushEvents(),l.Lang.isValue(this._slideshow)&&(this._slideshow.destroy(),this._slideshow=null),this._overlay.destroy(),this._overlay=null,l.config.win.ACTIVE_LIGHTBOX=null,this.crossBrowserResizeHandle&&i().removeListener(this.crossBrowserResizeHandle)},renderUI:function(){l.Squarespace.Lightbox2.superclass.renderUI.call(this),l.one("body").addClass("sqs-lightbox-open");var c=this.get("contentBox");this._overlay.render(c);var g=(0,s.t)("Close");if(this._closeEl=l.Node.create('<a class="sqs-lightbox-close" role="button" tabindex="0" aria-label="'+g+'"></a>').appendTo(c).hide(),this.get("set").length>1){if(!this.bMobile&&this.get("controls.previous")){var v=(0,s.t)("Previous Item");this._previousEl=l.Node.create('<a class="sqs-lightbox-previous" role="button" tabindex="0" aria-label="'+v+'"></a>'),c.appendChild(this._previousEl)}if(!this.bMobile&&this.get("controls.next")){var h=(0,s.t)("Next Item");this._nextEl=l.Node.create('<a class="sqs-lightbox-next" role="button" tabindex="0" aria-label="'+h+'"></a>'),c.appendChild(this._nextEl)}}else this.get("set").length||this.set("set",[{content:this.get("content"),meta:this.get("meta")}]);if(this._slideshow=this.createSlideshow(c),this._lightboxContentEl=this._slideshow.get("container"),this.bMobile){var p=(0,s.t)("Toggle Caption");this._metaTriggerEl=l.Node.create('<a class="sqs-lightbox-meta-trigger" role="button" tabindex="0" aria-label="'+p+'">&bull;</a>').appendTo(c)}this._lightboxContentEl.setStyles({opacity:1}),this._overlay.once("shown",function(){if(this.ignoreBodyClicks=!0,l.Squarespace.EscManager.addTarget(this),this._lightboxContentEl.show(),this._closeEl&&this._closeEl.show(),this._slideshow){var m=this._slideshow.get("slides").item(this._slideshow.get("currentIndex")).one(".sqs-video-wrapper");m&&m.videoloader.showVideo()}this.revertFocusContainment=(0,d.containFocus)({container:c._node})},this),c.plug(l.Squarespace.Plugin.ScrollLock)},bindClickAndKeyDownEvents:function(c,g,v){this._event(c.on("click",g,this),v),this._event(c.on("keydown",function(h){(h.keyCode===13||h.keyCode===32)&&g.call(this,h)},this),v)},bindUI:function(){if(l.Squarespace.Lightbox2.superclass.bindUI.call(this),this._slideshow.after("currentIndexChange",l.bind(function(v){this.set("currentSetIndex",v.newVal),this.syncUI()},this)),l.config.win.orientation!==void 0&&this._event(l.one(l.config.win).on("orientationchange",this.requestUpdateHeightAndRefresh,this)),this._closeEl&&this.bindClickAndKeyDownEvents(this._closeEl,function(v){v.halt(),this.hideAndDestroy(!0)}),this._metaTriggerEl&&this.bindClickAndKeyDownEvents(this._metaTriggerEl,function(){this.toggleMeta()},"meta-trigger"),this._previousEl){this.bindClickAndKeyDownEvents(this._previousEl,function(v){v.halt(),this.previous()},"previous-click");var c=l.throttle(l.bind(this.previous,this),200);this._event(l.on("key",function(v){v.halt(),c()}
1,l.config.win,"down:37",this),"keyboard")}if(this._nextEl){this.bindClickAndKeyDownEvents(this._nextEl,function(v){v.halt(),this.next()},"next-click");var g=l.throttle(l.bind(this.next,this),200);this._event(l.on("key",function(v){v.halt(),g()},l.config.win,"down:39",this),"keyboard"),this.bMobile||this.setupNavigationFade()}this.isMobile||this._event(this.get("contentBox").on("click",this.onContentBoxClick,this)),this._event(l.on("transition:scroll:tapped",function(v){this.onContentBoxClick(v.touchEvent)},this)),this.crossBrowserResizeHandle=i().addListener(this.requestUpdateHeightAndRefresh.bind(this))},syncUI:function(){var c=t()(l.config.doc).scrollTop;this.get("contentBox").setStyles({top:c,height:l.config.win.innerHeight});var g=this._slideshow._currentSlide(),v=g.one(".sqs-lightbox-meta")||this.createMetaEl(g);if(v)if(l.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.show(),this.bMobile)v.appendTo(g),v.setStyles({bottom:this.bMetaEnabled?0:"-5000px",left:0,right:0}),v.addClass("overlay-description-visible");else{var h=g.one(".sqs-lightbox-padder").get("children").item(0);v.setStyles({bottom:parseInt(h.getStyle("top"),10)-1+"px",left:h.getStyle("left"),right:parseInt(h.getStyle("left"),10)-1+"px"})}else l.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.hide()},updateHeightAndRefresh:function(){this.syncUI(),this._slideshow.refresh()},onContentBoxClick:function(c){if(!c.target.ancestor("a",!0)){if(c.halt(),c.target.ancestor(".sqs-video-wrapper")){c.target.ancestor(".sqs-video-wrapper").videoloader.showVideo();return}if(!this.bMobile){var g=l.one("body").get("winWidth"),v=l.one("body").get("winHeight"),h=.02;if(c.clientX>g*h&&c.clientX<g*(1-h)&&c.clientY>v*h&&c.clientY<v*(1-h)){if(c.clientX>=g/2&&this._nextEl){this.next();return}else if(c.clientX<l.one("body").get("winWidth")/2&&this._previousEl){this.previous();return}}}if(c.target.ancestor("img",!0))return;this.hideAndDestroy(!0)}},previous:function(){this._slideshow.previousSlide()},next:function(){this._slideshow.nextSlide()},close:function(){this.hideAndDestroy()},toggleMeta:function(){this.get("contentBox").all(".sqs-lightbox-meta").each(l.bind(function(c){this.bMetaEnabled=parseInt(c.getStyle("bottom"),10)===0,this._anim(c,{bottom:this.bMetaEnabled?"-5000px":"0"},{duration:this.get("speed")}).run(),this.bMetaEnabled=!this.bMetaEnabled},this))},hideAndDestroy:function(c){l.Lang.isBoolean(c)&&c?this._overlay.overlayHideAndDestroy():(this.once("hidden",this.destroy),this.hide()),l.one("body").removeClass("sqs-lightbox-open"),this.revertFocusContainment&&this.revertFocusContainment(),this.get("historyHash")&&this._slideshow.set("currentIndex",null)},hide:function(){var c=this.get("speed"),g;this.get("contentBox").setStyles({transition:"opacity "+c+"s ease",zIndex:889,opacity:0}),g=l.later(c*1e3,this,function(){l.Squarespace.EscManager.removeTarget(this),this.fire("hidden"),g.cancel(),g=null})},setupNavigationFade:function(){var c,g=function(){c&&c.cancel()},v=function(h){g(),h&&h.inViewportRegion()&&(h.addClass("mouseover").siblings().removeClass("mouseover"),c=l.later(500,this,function(){h&&h.inViewportRegion()&&h.removeClass("mouseover")}))};this._event(this._nextEl.on("mouseenter",function(){g()}),"nav-next-onmouse"),this._event(this._previousEl.on("mouseenter",function(){g()}),"nav-prev-onmouse"),this._event(this._lightboxContentEl.on("mousemove",l.bind(function(h){h.clientX<l.one("body").get("winWidth")/2?v(this._previousEl):v(this._nextEl)},this)),"container-hovering")},createSlideshow:function(c){for(var g=l.Node.create('<div class="sqs-lightbox-slideshow"></div>').appendTo(c),v=this.get("set"),h=0;h<v.length;h++){var p=l.Node.create('<div class="sqs-lightbox-slide"></div>').appendTo(g),m=l.Node.create('<div class="sqs-lightbox-padder"></div>').appendTo(p),P=l.one(v[h].content.cloneNode(!0)).appendTo(m).setAttribute("data-image-stretch","false").setStyle("opacity",null).removeClass("video-fill");P.getAttribute("data-loader")&&u(m,P);var _=v[h].content.ancestor();this.get("historyHash")&&_&&(_.getAttribute("data-slide-url")&&p.setAttribute("data-sli
1de-url",_.getAttribute("data-slide-url")),_.getAttribute("data-slide-id")&&p.setAttribute("data-slide-id",_.getAttribute("data-slide-id"))),P.all("iframe").remove()}var b=new l.SQS.Gallery.Gallery2({container:g,currentIndex:this.get("currentSetIndex"),loop:!this.bMobile,autoplay:!1,refreshOnResize:!0,refreshOnOrientationChange:!0,design:"stacked",keyboard:!1,designOptions:{clickBehavior:!1,easing:l.Easing.easeInOutExpo,speed:.6,autoHeight:!1,transition:this.bMobile?"scroll":"fade",transitionOptions:{direction:"horizontal",allowPageScroll:!1}},loaderOptions:{mode:"fit"},lazyLoad:!0,videoLoaderOptions:this.get("videoLoaderOptions"),historyHash:this.get("historyHash")});return b},createMetaEl:function(c){c=c.one(".sqs-lightbox-padder");var g=this.getCurrentElMeta();if(g){var v=l.Node.create('<div class="sqs-lightbox-meta"></div>');return v.appendChild(g),c.appendChild(v),this.bMobile||(this._event(c.one(":first-child").on("mouseenter",function(){v.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(c.one(":first-child").on("mouseleave",function(){v.removeClass("overlay-description-visible")},this),"meta-hovering"),this._event(v.on("mouseenter",function(){v.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(v.on("mouseleave",function(){v.removeClass("overlay-description-visible")},this),"meta-hovering")),v}},getCurrentElContent:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].content:this.get("content")},getCurrentElMeta:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].meta:this.get("meta")}},{NS:"lightbox2",ATTRS:{content:{},controls:{value:{previous:!1,next:!1}},currentSetIndex:{value:0},meta:{},padding:{value:100},set:{value:[]},speed:{value:.6},theme:{value:"dark"},title:{value:(0,s.t)("Gallery")},videoLoaderOptions:{value:{}},historyHash:{value:!1}}})},"1.0",{requires:["base","dom-style-ie","event-key","event-mouseenter","node","plugin","squarespace-animations","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-plugin-scroll-lock","squarespace-touch-event-listener","squarespace-video-loader","squarespace-widgets-gismo","squarespace-widgets-lightbox2-overlay","yui-throttle"]})},359498:function(){YUI.add("squarespace-widgets-position-helper",function(y){y.namespace("Squarespace.Widgets");var f=20;function e(l,c,g,v){var h;try{h=y.Squarespace.Damask.ContextGlobals.relative(v,"Y")}catch(b){h=y}var p=h.DOM.viewportRegion(),m=p.width,P=p.height,_={x:g,y:g};return l.x+c.width>=m&&(l.x=m-c.width-g),l.x<=_.x&&(l.x=_.x),l.y+c.height>=P&&(l.y=P-c.height-g),l.y<=_.y&&(l.y=_.y),l}function s(l,c,g){var v=l.get("className").split(" ").map(function(P){return"."+P}).join(""),h=y.all(v).size(),p=g;if(h===1)return p;var m;switch(c){case"top":case"bottom":m=l.get("offsetHeight");break;case"left":case"right":m=l.get("offsetWidth");break}return p=m*(h-1)+g*h,p}var n=function(l){var c={x:y.Squarespace.Mouse.client.lastX,y:y.Squarespace.Mouse.client.lastY},g={width:l.get("offsetWidth"),height:l.get("offsetHeight")},v=e({x:c.x-Math.floor(g.width/2),y:c.y-Math.floor(g.height/2)},g,this.padding,l);return{position:"fixed",top:v.y,left:v.x}},a=function(l){return{position:"fixed",top:s(l,"top",this.padding),left:this.padding}},t=function(l){return{position:"fixed",top:s(l,"top",this.padding),right:this.padding}},r=function(l){return{position:"fixed",bottom:s(l,"bottom",this.padding),left:this.padding}},i=function(l){return{position:"fixed",bottom:s(l,"bottom",this.padding),right:this.padding}},o=function(l,c){if(!y.Lang.isValue(c))return n(l);var g=c.getX()+c.get("offsetWidth")+this.padding,v={width:l.get("offsetWidth"),height:l.get("offsetHeight")},h=e({x:g,y:c.getY()},v,this.padding,l);return{top:h.y,left:h.x}},d=function(l){var c={x:Math.floor(y.DOM.winWidth()/2),y:Math.floor(y.DOM.winHeight()/2)},g={width:Math.floor(l.get("offsetWidth")/2),height:Math.floor(l.get("offsetHeight")/2)},v=e({x:c.x-g.width,y:c.y-g.height},g,this.padding,l);return{position:"fixed",top:v.y,left:v.x}},u={MOUSE:n,TOP_LEFT:a,TOP_RIGHT:t,BOTTOM_LEFT:r,BOTTOM_RIGHT:i,ELEMENT:o,CENTER:d};y.Squarespace.Widgets.PositionHelper=function(l,c){return{padding:c||f,fetch:function(g,v){return l.call(this,g,v)}}},y.Squarespace.Widgets.PositionHelper.ANCHOR=u}
1,"1.0",{requires:["dom-base","squarespace-damask-context-globals","squarespace-ui-base"]})},464439:function(){window.YUI_CONFIG={base:"/universal/yui3/3.17.2/",allowRollup:!1,combine:!1,fetchCSS:!1,bootstrap:!1},SQUARESPACE_ROLLUPS=window.SQUARESPACE_ROLLUPS||{}},397530:function(y){y.exports={b1cefb15f16fac503df3f3fceedc5e06:"Euro","3789725f6415ef2ceddfbc6b83fc04ad":"US Dollar","42e081709609f07ac588e1dd003e5c65":"Australian Dollar",df55757b688b358856e171715e8d1332:"Norwegian Krone",e7824f6e94cf6e9505f542a4ab5f8927:"Canadian Dollar",a0c1d7b744c642633f8405d0f5c6663f:"New Zealand Dollar","9e82060226d15053b47bb51445d8e270":"Danish Krone","3052b264edfac037a8040616ccb2897f":"Pound Sterling",a3aa04c3b1c2ad3f0204ab76e2cb5286:"Hong Kong Dollar","58315fbd08cb4905f5e6deb12983d641":"Swiss Franc","409fda210bf6729456afb4d6634e076c":"Mexican Peso",d919b1a9ba5aecd82502345d3ce73a15:"SingaporeDollar","524e38351732f98b76179b9a3c3f6edc":"Swedish Krona",ca323e7e8602a6e96651c97fe5239fee:"Czech Koruna","7541effe88bfc86ae2e2f6c2af1e5231":"Israeli New Shegel","1143e77a8117d709c6c948f011d80ae6":"Philippine Peso","01fb62e40a53a33e5d65ca11d9b3f596":"Russian Ruble","1300c30965a65bfee8b199f57b089fd7":"Polish Zloty",ad822fcc719d08203b61f2d7297e0cbc:"Thai Baht","13c914b755a73e8424a94a230ae72847":"Malaysian Ringgit","5321b280fb9e2dc6ccfee6dec92d939b":"Argentine Peso","0eaa64bf0518af1b56f1361788019021":"Brazilian Real","6f4e5612522aa84c64dd9212080b7970":"Colombian Peso","55ae299bf1fa2aa3ec2782a881e29797":"Indonesian Rupiah","84197e7d10946ba76e486c3d58885fb3":"Indian Rupee","5867da54cd7a941c1d269487d7beef33":"Yen","51a13414472b5fdcf7a78aca7785b5a1":"South African Rand"}},806990:function(y){y.exports={f0f30d83e145c2299e544b3099522e44:"Try again","4ab317428b3005b45235e56ee7952e52":"Unable to load results",e57ab92d7c7d59bac7879b6768173f9d:"File name","6374d59b53e351cc597bdb6f308c8152":"Replace","0340e8c7dd3b68223fb050892f8bd266":"Delete",d12ba73a568e7b19be2ec2dfb211cd59:"Blockquote","5997f29d9262297d2d50c139c1d84662":"Bold","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting",cf6dee68b8473ee2fbbb32e37cda3a59:"Decrease Indent","3f4ff0ebf79e6d3203ba9eef13ffd945":"Duplicate",b7044b7c3ef0d585024616a719cfa684:"Edit","49a55e2950abf20a53fa45d8e3ce80c2":"Increase Indent",f4a5e49a842d041881c4954d545c15f4:"Italic",c48e91b131d22173ec459b82724b9e70:"Layer Above","041968c09c5287e13eef9272e68a6df9":"Layer Below","97728c43b61e5543bf2fddcdb690f1ad":"Move Down","0a6e4807b225a8538977d3f1e32418ba":"Move Up","6fd139b37257a82714aa39dd2bbdcb9f":"Ordered List","2e15c9fac04cae73fc0b9b92fec18cca":"Paste With Formatting","29e233771e82810a7524b9a11dc75f85":"Redo","28e8e968fe9a11d66cb5774405e7df39":"Settings","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough",c7f2b0955d5d2bbb65fb94fb4c50b271:"Subscript","9d9f520137959df43cbc65161f4325a0":"Superscript","1ce66c14a59b4243179029d6a87cb22b":"Text Align Center","9687253e2d1f8d823207b1ae14f55190":"Text Align Left","2e14022083291fe2749fc32a0dd31fc8":"Text Align Right","374214587a58fe562f282bd87d910f48":"Underline","8e5e94ff1880763ffb58d6d02b5097ee":"Undo",f67719d3f7b8a4bfef08cff02e9cdb02:"Unordered List","186b613b9049d2a7e04fd62ad9c00fd7":{one:"{%n} selected",other:"{%n} selected"},"16eb64edf1094ae679572ffbbd2747c9":"More Options","7882ec89ba4cca31b968a7872d770537":"No results found","9a80011dc1ba3a237c2691fd6f5c9904":"Close",ff597767824016bc0114c150d6b76431:"Continue","65686533c6efd5c14c895fe5eac5ab99":"Add...","6f3604dda971f07bb57da9ed8f1f74c7":"Back",d9e07a1b6b1ef8477e421a01c62ce452:"Unable to load. Try again.",cf15f5fd78794de679f918b108299eaf:"color value","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","2077e4e46fc6729c384f71c84203e519":"Color",c594ece23f5f0fa322c76440751c9544:"{type} slider thumb","7703bb4cabe682a18285c33fe767c27e":"Add swatch",e20198dbc25f5146ada4538c745b5c41:"Remove swatch","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","09272f8adb7bef3c15f86216821503e7":"https://example.com","4ae0e29701ea00a4795705f7f4f67b8e":"Search","7fd030bff942f8f5eacf9c36e7b5cb86":"tag",a4959ad90934fe5ab29b8795813181d2:"tags","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","380e408440d5350ce9283c22e2a8f794":"Save","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists",afeb3edda64e60f7d173bc806ed5df0b:"You may only edit one {tagType} at a time","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","92b558a38285983831bb65464610e5e5":"Add {tagType} here","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}",c3217028372c185247852049760b18f8:"Edit {tagType}",ffa35ae7f040da586d8939eb0292358d:"Merge {tagType}",a7b5c41b6f9ae8df24aab7be61000ec2:"New {tagType}","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","63d751064eb90fb6e472fd79547b2fc6":"Address","11d1442e08568a65c839815601447d81":"City, State, Zip","78701bfa2ba7a789b450ebda20ec0ca7":"Country","9d1e2410516960f174defb07ee3f1c5f":"Filter by product",a77460fff4aaad92b3f81522d194d909:"By {authors}",ef1e8f0b8b6a4a0763ca66e4dc7ef3fc:"By {artists}",e9857cd422b6ef9194e9b2b031bdb776:"Starring {actors}","522807ea28a266bda049cb8637443f23":"Display Source",cab1596094df6aed2367bd5bd7bd8dec:"Type","6f28effcf4f76d080abc7893d30966bf":"Mode",c1dba888bcd3d31b52df76a31f121c4f:"Code editing is not available on Android.",f7a48a78d10d3d506472dca8b922b1f9:"Options",efe464900e7ef25fab7017e9e0af4911:"Code",ec950bb151f7f08d8465272ac1c23f82:"Add Code Here","0664e194e9297b284bbcac4e63018203":"Code editor",fd637ba0ba0cb87b366d91f80b84ce5a:"Unable to load collections",bc7be137f1fc59c5d423dc8fbc1773bf:"Your dataset must have at least one column","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row",d1e907460980b778073d990159b8fb45:"empty string","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","491
1a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","7d07f870886c600ed5bc37af39266284":"New Series","9195c6f74ed2b2dfa567f6330937cacc":"Label",aa561aef75cd3063ab9058e4287381ce:"Your dataset has been truncated to {maxRows} rows","607296b2ebd861bb21f5d171d819ae52":"Your dataset has been truncted to {maxColumns} columns","66633ba9d6dc5cff1c6d2be997e26259":"Update",c221bf00aeb374c630caff3330e5a535:"Time","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","09641cfbf347c23f2f1401c80f111c97":"Successfully located","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","993450215333ab73150f2831db4a2ce9":"Searching","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment",bc953956c9f0d80b05cbffefc18084dc:"Okay","6795c93795031ea3c966e70aa8fb6d67":"Remove",ce9ad473a45a1902d7d59291432bd77c:"Error","8914865196496d62a20e28b8f944e218":"File processing failed to complete",ffa0167016aedc8800f617213d51fc13:"File upload failed to complete","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.",fc11121d2c0b9cd040eb497150f090ac:"The file {fileName} is too large. The maximum allowed file size is {maxSize}.","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","37b0da5136508f27aeb51d39807e7cd0":"Add Image",bfd10ff05b9b5d2caa24bfe7c56e93f2:"Add Video","3ee12af588444226d8a6c70eabc1a861":"Normal","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","36db0be5456697b047ea71d4d02d61d4":"angle",cb15768afa8bd5e155c1e0e9d6fc6de4:"Key",c20bed6c7f08006c9a3f9ae14e04754b:"Value","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview",a4076f49f4f9f6c95b24a985487c3cf0:"Markdown","0141fa9f0be4194399a88f5fef0bb639":"You don't have any mailing lists. Please create one before continuing",c88fea453ce4c95d68025d0ebe76505f:"Select List","2da54f567ea151fb27983f192f2aad8c":"Disconnect","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","069be74a4cdfee594e42ea8c19cd697d":"Connected to","35faa1b1781d6eee40b5c56f42416bda":"Connect to","96c3071b61722c35b731c1d538e248e8":"[email protected]","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name",ec39193d6a268594c60c24aeac543ac3:"A List must be selected",e18a2305c03b9feb02f21eb8d07e44b5:"Disconnect MailChimp?","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.",ce5a9d2f97c93d32e21cb6a36a73dfb0:"Retry",c2416f8a5134d87050ec363288ed0d03:"List",df9be7e86078cb381ddd5ff507dabe8c:"Require double opt-in",f2d0ff0165dd94142db90c664704e7a8:"Connect",b60fd254e7986e8f740ea8af4c039df0:"Unable to connect. Please try again","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier","1c8c3ac4a67e7bf87bb1b9197b38862b":{one:"{%n} Zap connected",other:"{%n} Zaps connected"},d16871b45111bfd36e18b0ef7413f465:"Show password","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","212e00b324a1c7c5d72d865990dfddf1":"Formatting",d832399295ed36ab36c788c87697dcb7:"Heading 1",a8697f6224225817130c31996d9b002c:"Heading 2",c99a079c1ce7638c2a631036133d2d6f:"Heading 3",ec15704a9e34434bd57c23fcbd365ca5:"Heading 4","958dba67087058b4a48e8b08d11d8321":"Heading 5","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","5ec935856879645040f14c4e1adb8366":"Quote","32144adc818f13fb069a69c974e555d2":"Numbered List","1997da20c166ee10ae426e2de942b84e":"Bulleted List",eb26c105ccd50f2bbd662fcadf2df707:"Strike Through","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large",b125de8dd82b809475f4ffb299eafc69:"Left Align",d053134c28f054c41b20703bdb37d54f:"Center Align","014f07868f87665f18306a866f821b4e":"Right Align",d23a6457ddfe95a261fae253f6baddaf:"Indent List Item","23fbe79152d053260378139870172f6b":"Outdent List Item",a1a1f0c3723b927b0bde4eee49540dbb:"Link","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color",c25ab9ad01bdf00bb7f452e95e63b6f0:"Backgroun
1d Color","81d7722f3035ed5883cec1194b4c6945":"Indent","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent",f45f1b3f27ab384a8845c73b96952504:"SubScript",b321efb5ce7a2271e72c171bf15b3bdc:"superscript","8825c051a8218175fe6857bfd0142e68":"undo",e1bc8c4c42d51461bb4a0964c2a92f10:"redo","62444f8044cfff2cc1d6ce2704c905de":"Align","0206ac1674549234236fec1e3e5d40a3":"Text","74fc7fe880ed4b94e3d44a3aed8607a6":"More",e3351a087228c575cc0d85705b28d23f:"Decrement",f9822b211ebefa6e37378622271a545a:"Increment",d93f2d5359a07a3c963fc68ba1408390:"No switchable variants available","83d9a5ee9a18de4adb020cfd8354726a":"Ok","71b6c516b67aed7ce1e157767622a048":"Confirm","84ed1a818812875886ea82e56730eab6":"Discard",ca7275020461405b490ae5720dd2bda0:"You have made changes. Do you want to save or discard them?",daf528d2d7e023e01b8e6ff51dddfecd:"Review Changes","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","9bf25392999569e076b9349b042dce6e":"Network error",d68f61f4086356e95d50469b69a9c22d:"No response data from job request","43319d0ffa28e455372df25fb2889fea":"File processing failed",b0695c36098e6fd43cc9a45c711bd504:"File processing cancelled","817d9a1e978ef06982a11c8eb03a5f5f":"Close notification",d67a7a90682d75e37f3c27ee21d026b0:"Copy",e38848bae5b39dad125df53483b3877e:"Copied",ef75c1a57b1d4a43d94f68047e5ff3c4:"Clear","9e4880e6d4db61fc7740227bef8d7eae":"Download on the App Store","0c84914dfc5e8aa3d8df21590c7a5a93":"Get it on Google Play",e499ba0cffcd145c23d73a915ff418f3:'Failed to load timezone "{timeZone}". Retry connection or verify Squarespace site availability.',"585cf0c20efbdf6392e50977169b93ec":"Previous Month","0b32e7c5feff467c1bc17d36f34a9d3e":"Next Month",eaf6bc9ce7ba33165413f3c322459c06:"Select",cd0a71e417130da0adce22e20ecd695b:"Done",bcde5fb38b9213e20f3490e9b62c7001:"clear search","28394c8da1d8eaa8f22942780bac0847":"cancel","9e438efafaa98bdc1d356f98beffe3d0":"Next",c36810953715864173181f42cca8e5e3:"{currentStepNumber} of {stepCount}",b8302fe3a3f4d7531e53b59e47e367e3:"Navigate to {label}","721e0782a77212923abb2d89fdc26afb":"Color map thumb","2384a4a0e2a5214730400c656b365044":"Link Editor",f9b89a2781302453b4c84fea706541e8:"Optional",f5f7cdbd93d03c377d39d2dc86fc6cf9:"Add an email subject","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198",db97fab57a2aca7cd0515625f26e466e:"Page","481779894da47202c80a84709b2ad7f3":"Web Address","54eff37a52f8c9e9e4b646646e044e9c":"Email","4c935026efb5ca6ce50019a7f55e0c49":"Phone",c7b5c995edce272debb484a3c06682bf:"File","51b30c554db0a8684523fd96862edde4":"Pages",a48b9ccb25ed66eebf2753494b24f0ae:"Links","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","4852c876d60b3e5f297df19ebfef03d4":"Link Name","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment",c02b852487eac31511d6eaa00deafffb:"Monospace","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","0dd5449144543955db89be693d31d57f":"Medium Paragraph",e177098aea680490c086d33dc5eda903:"Large Paragraph",f117333d4b1c7838a4fc31a764138526:"Small Heading",bb7ebc4c739f0a717a26ac4837b6b869:"Medium Heading",d1a8e5e08c3ea6780699aff8f18f99b1:"Large Heading",ad2d0dc63b854af0e32e0b5e92784436:"Extra Large Heading",bad635ed8fb7219810ebde3b1a9a0efd:"Styles",be44967e5703076dbc561a8d79649e54:"Bullets","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers",f03deaabf42910ca5fd5b6e1e620af94:"Save changes",d9b60f4548586a037380e87894bd147a:"Add new preset color",a4d0b8f2606818c557192a09324a39da:"This page is locked",a80b5618f581876697eb5288659d839a:"This page available only site members",f762c2e3781aef4cdd0c2437d714f922:"No collections in this navigation.","8b47c8126228b030d2083d2b6fb04f25":"Tags","57f8d22cd814c756620c329e163a6200":"Categories","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts",ffd9fbbc58371a58cec4459cc2c2ed96:"Unable to load fonts",db39fb9157d6710250d81c38b1613997:"No results","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8962d92b3137f6e4607a410c5710c3e4":"Display",b93679c1ac66c43fec0490f125e9db13:"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif",a7e614da684a289259a757da5b11ffd5:"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide",ad6805ba5b472b9af26e2d3154e20dae:"Typekit Kit",fea729b2b5863418f65e8c43e93e3231:"Scheduled","82ec412180360729918933152c71ea4c":"Needs Review",cfe26156925fcee6678e5b61455ad18c:"Draft","4df8418beddf738dffc2e9
16e0f0a1270":"Private",ed926e73b1c30d34fa09d25d1d37281a:"CC","04a7bd5e2847095c55fe21aef7ba243a":"BCC",b4f1b32c617e24e50bb7033674cf3c8d:"Subject","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","71c84b01aa8158c57b404805381738b0":"Open in a New Window","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code",e7cc78291fd0136e5a1f76c3643c47b1:"[email protected]","010318c0a9ccc872b2586fd753629724":"Color Map","8fb62340758bb0697bc8f41a6670b543":"Alpha","589005829d1e2ededf1a0644d8ced341":"Hex",dc72bac1b531a7fbe8f86d6317fe38a4:"Saturation",b26d8808ffb5a5eaa363a2ca954052e3:"Lightness","65c49758298bd3003115b575bfc62a8d":"Red","32e7a735a2cb014aa5ffe991fab642f1":"Green","7379dba109b295fe849347f2cfc131da":"Blue","838b82f16ea03f6570f119763f42d912":"RGB",edafcde8a5ca1a13a3df7b120fd95f62:"HSL","223606f2730e3c5344b34645c43bd805":"Color format","69f9ff1d9f405b298d3b4b6715287c6f":"Select Color Format","6fcccb76d81675b1ae7f80f183618fb2":"{type} slider","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as [email protected]",b956ecc6b9594bd69c184dfbbe22f2c8:"To",f4f06cb1e212075f2986ba2ca08e1831:"Links must be formatted as www.example.com or example.com","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}","1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}",b90258a24f3d53aca75cba38a8bd3c20:"Learn More","22c9c6155c64fe02952ee31183ef8907":"Learn more.","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site's load time. Use as few as possible. {learnMoreLink}","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading",a3c0b94fefbd7fe93950ffcd33241a6b:"Existing Files","5cd58303f11dd3aa71d98ef3e0370500":"Manage","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File",def0cbd08315d1fc26bf40c7a50049b6:"Rename","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name",f3e698aa47a54daf732dd37ace0d76ec:"This can't be undone. Make sure to update all links to this file.","92f0a8337f22baf3997d5f20a17c9c76":"Delete '{filename}'?","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File",a140e097ba2c31b7eafdd5ac3883e7e1:"There was a problem while uploading your file.","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","1dcf4e15170e20de94cc73e716440378":"Load More","48693a3724983c379ea489a4942a11ea":"Upload File","4ff476d1a620c5f518f26d8d217ea9f8":"None","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","8030c7d4ef639c31baebe4305012f265":"No Results","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number",e48f2a5f37c31bee87701f0c57e3ba93:"Sort By",d5867f1ab51dabe19cd38a34a4dade09:"Unsorted"}},563622:function(y){y.exports={"10a7bdac33c0cfacb77dc380bf77e56d":"or {numInstallments} interest-free payments of {amount} with","251529e490cc8f71672b879d8687bc29":"More information","5ed1ad6425ddddce7926ac560a67e7f1":"available for orders over {amount}","6ff73a34da0878e5c2c211f893802d86":"Installments by {afterpayButton}","9f773505bb70d151e1f3504da46a16e8":"available for orders up to {amount}",a0e08d61d25e36151ba681132d6ec330:"Close Popup",dc982e89fd0ff84f89b6c640afb673c5:"Afterpay Information Popup",e57957d5526503eb0180d7fa08abfb43:"{numInstallments} interest-free payments of {amount}"}},470291:function(y){y.exports={"25715d36c9ca9d059bbf11ff729612c6":"{priceString} every month for 1 year","2c250d0489f32d561c726074e98d9c64":"{priceString} every year","42859f6128248121c17b306fa16971c7":"{priceString} every {billingPeriodValue} months for {durationValue} months","457a2a91ddb30a52adb7165b957b88ff":"{priceString} every {billingPeriodValue} weeks","46b4f499eec735aa2c2d7b58f1e7a1d5":"Unavailable","4706d1dfe81fa89aad3b4b7c5616dc84":"{priceString} every {billingPeriodValue} weeks for {durationValue} years","4aa38087a0cae1f21d31e48dd975d905":"{priceString} every week for {durationValue} years","4b3e1cb6e224ba0e35bb00ef6898c284":"{priceString} every week for {durationValue} weeks","53e6d4cacab49879c5a331593bd40434":"{priceString} every month","73971392005d45d4c5c3cef9f5f2eca5":"{priceString} every year for {durationValue} years","94eb8523959c0442994c223a91d02a4a":"{priceString} every {billingPeriodValue} months for 1 year","99025daa1dfc7337d3248543d4d6fbee":"{priceString} every {billingPeriodValue} months for {durationValue} years","9c389d07dcc5ef2603005128c1154983":"{priceString} every month for {durationValue} months",b503ccc15acfba32b443b15f9be7dc86:"{priceString} every {billingPeriodValue} years for {durationValue} years",bc4942e6eb5560957076ee72bd450a87:"{priceString} every month for {durationValue} years",c7094898f54b9d547da8e1c71ec88eca:"{priceString} every {billingPeriodValue} years",cb02edc9d115111d1e997a8436f6efad:"{priceString} every {billingPeriodValue} weeks for 1 year",d62034f3ffac6a74673302b5aef4e5c0:"{priceString} every {billingPeriodValue} months",dd21aee6f89a601924a4e78dbaa52a18:"{priceString} every {billingPeriodValue} weeks for {durationValue} weeks",e4f13be78f017226a1e6d93301bb8eb4:"{priceString} every week",f1921be45352fa2fe9386ecc5d886b39:"{priceString} every week for 1 year"}},323162:function(y){y.exports={"03ed8a0a8208f38d91ea43fcfb2674fa":"Cart","129d605196848a5638c140d2ee728388":"Checkout","177e608763b10b394a5950733243
11b9e":"Update the missing or invalid information above.","267b971d79b2fd102479491abeece7a1":"Unable to update quantity","379317016f8f9e771879bf7dd63c15b6":"Continue Shopping","4f4eb57cee331e4bce9b9b2b9e8787ec":"{price}, total price for {item}","4f7eec6a53703ee7e5f759e1d5e2a932":"{item} alert information","5594067ec2eb7899758e4961f9edc86b":"Unable to update form","5b0c6983e64dfd82f5948970fdb62cd4":"Remove {item}","76034908ec4e681b5486eb2040618f52":"Summary","7f1359b2385766869c9cbec90c29645c":"Add to cart","87bb6b3e520f3909e9e90f2386e89960":"Save","896b6eee6556a3723e31ad740e64d38a":"Shopping Cart","8dbc0b4f78369772fd9d831f990d543c":"{name} variant for {item}","8e733ed90c5bf49d5613c720508a60dd":"Please try again.","8ee71d998d748ba00e9e80234ce3a89d":"Subtotal label","90f2d72735116a9f7d4ec2aef34957bb":{one:"One item in cart",other:"{%n} items in cart"},"97a89a6a325cbc309ebe4e597f9fc1f9":"Subtotal price","9f6b08d833a751dcd0af336891007285":"No image",a4cde40c49be65e0781faad94fcbe519:"Quantity, {item}",a8958871ab8577d6667b57be6ef975ed:"{item}",b22005e29f0c7dd253328702493c917e:"Unable to open form",b97b63060e510629f77447c892a821ab:"Edit {item} details",bffdc4040665ab2a6af115da4073829a:"To check out, your order subtotal must be {subtotal} or more.",c43a6b7311c1eb75a85be7748c0cf830:"Customers also bought",ca02eaf2ea5e4b8b5f41df0576414393:{one:"More than one item in cart",other:"More than {%n} items in cart"},cadbd64edd794291e3a686905bacc208:"Unable to add item",d043e6155f48bd75d2b2c48f3b0e9258:"Please check your internet connection.",d16d3227422da60a63f98c59082c1029:"Subtotal",d16fa1f1d19313d233e2e75b13a1ddf3:"{item} image",dd5ce0a01f6e1c36fa9177510819e3d6:"Edit product details",e66ff745b1e97900c957e5a0a9f01ead:"Cancel",ea8d571cae88f8ae3cf5a6e7b007fa5f:"You have nothing in your shopping cart.",f62e405c0a46f7352e63fede4db0d913:"Okay",f8ab967379a4c6bbb037e255f201604a:"Edit Details",fd657139d48231170d72b9031b2a97c7:"Unable to remove item"}},824583:function(y){y.exports={"035d6db48366598d55c20c93e0c44ae4":"Thanks for your feedback","10d06f3cc584f88f516b460f757876b7":"You have already reviewed this purchase","14c484b8f59becfc9289037e340c3a5d":"Continue Shopping","162bc6da1abeb8f06f87b62c96d22bf7":"Something went wrong","2701f1d9dcb3d93702ea50717cce9354":"Try submitting your review again","384b3777b20b19cd61953eaa7e051043":"Review","623c88477a8b3fef5dd67843fa8dbf7e":"Submit","75e6c93da70e9792d0a01dae20499ad7":"Close",b063faac29a0c4f947fdf9586a0a1d2f:"Rating (required)",cf99e3390d505a466a43de7d194687b4:"Please select a star rating",d00161a7f82400bab5d2f6be1c43885a:{one:"Rate your other purchase",other:"Rate your other purchases"},d517f2bae8e7873c9b13cd3d52839410:"Your review request has expired",e0c04bc42f2ab551c09d41345fd25155:"Rate your purchase",e3a6618e2010bfff8207009bc3ef07b4:"There are no products to review",e4398ec9a661fe01116cd3c6bb35a7e2:"characters left",efa2df24f7875c0a02986e53f90d467c:"Describe your experience"}},433571:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.setI18nInstance=f.getI18nInstance=void 0;var s=e(825672),n="core-components";function a(o){return e(390685)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance;f.setI18nInstance=i,f.getI18nInstance=r},390685:function(y,f,e){var s={"./core-components.en-US.json":653502,"./core-components.en-US.yaml":806990,"common/temp/node_modules/.pnpm/@[email protected]_26cd38be59a6f1a4a9941ae58508fe2a/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.json":653502,"common/temp/node_modules/.pnpm/@[email protected]_26cd38be59a6f1a4a9941ae58508fe2a/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.yaml":806990};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=390685},113329:function(y,f,e){"use strict";var s=e(875832);
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=a;var n=s(e(603912));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);function a(t){var r=this;return function(i,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],u=Array.isArray(d)?d:[d],l=u.some(function(g){return g.includes("|")});if(!u.length||!l)return t.apply(r,[i].concat((0,n.default)(u)));var c=u.reduce(function(g,v){var h=v.split("|"),p=h[0],m=h[1]||h[0];return g[p]=isNaN(m)?m:parseFloat(m),g},{});return t(i,c)}}y.exports=f.default},939561:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338),e(392338);var n=s(e(858240)),a=s(e(4636)),t=s(e(302027)),r=s(e(113329)),i=e(725242),o=function(){function u(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(this,u),this.dictionary={},this.icuInstance=new t.default(l),this.icuInstance.addFormatters(this.wrapFormatters(c))}return(0,a.default)(u,[{key:"wrapFormatters",value:function(c){return Object.keys(c).reduce(function(g,v){return g[v]=new r.default(c[v]),g},{})}},{key:"compileMessage",value:function(c,g){var v=this.icuInstance.compile(c);return this.dictionary[g]=v,v}},{key:"translate",value:function(c){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=(0,i.hashCode)(c),h=this.dictionary[v];return h||(h=this.compileMessage(c,v)),h(g)}}]),u}(),d=o;f.default=d,y.exports=f.default},384491:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(939561)),a=function(){function t(r){var i=this;this.formatIcuMessage=function(o,d){return i.icuFormatter.translate(o,d)},this.icuFormatter=new n.default({pluralGenerator:function(o,d){return d?r.pluralOrdinal(o):r.plural(o)}},{formatNumber:r.formatNumber,formatCurrency:r.formatCurrency,formatDateTime:r.formatDateTime,formatRelativeTime:r.formatRelativeTime})}return t}();f.default=a,y.exports=f.default},56307:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var a=s(e(255919)),t=e(296194);function r(o){this.mf=o,this.lc=null,this.locales={},this.runtime={},this.formatters={}}r.propname=function(o,d){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(o)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(o)<0)return d?d+"."+o:o;var u=JSON.stringify(o);return d?d+"["+u+"]":u},r.funcname=function(o){var d=o.trim().replace(/\W+/g,"_");return a.default.check(d,"es2015",!0)||/^\d/.test(d)?"_"+d:d},r.bidiMarkText=function(o,d){function u(c){var g=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+g.join("|^")).test(c)}var l=JSON.stringify(u(d)?"\u200F":"\u200E");return l+" + "+o+" + "+l},r.prototype.cases=function(o,d){var u=!0,l=o.cases.map(function(c){c.key==="other"&&(u=!1);var g=c.tokens.map(function(v){return this.token(v,d)},this);return r.propname(c.key)+": "+(g.join(" + ")||'""')},this);if(u)throw new Error("No 'other' form found in "+JSON.stringify(o));return"{ "+l.join(", ")+" }"},r.prototype.token=function(o,d){if(typeof o=="string")return JSON.stringify(o);var u,l=[r.propname(o.arg,"d")];switch(o.type){case"argument":return this.mf.bidiSupport?r.bidiMarkText(l[0],this.lc):l[0];case"select":u="select",l.push(this.cases(o,this.mf.strictNumberSign?null:d)),this.runtime.select=!0;break;case"selectordinal":u="plural",l.push(0,r.funcname(this.lc),this.cases(o,o),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":u="plural",l.push(o.offset||0,r.funcname(this.lc),this.cases(o,o)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(o.key in this.mf.fmt)&&o.key in this.mf.constructor.formatters){var c=this.mf.constructor.formatters[o.key];this.mf.fmt[o.key]=typeof c(this.mf)=="function"?c(this.mf):c}if(!this.mf.fmt[o.key])throw new Error("Formatting function "+JSON.stringify(o.key)+" not found!");if(l.push(JSON.stringify(this.lc)),o.params)switch(o.params.length){case 0:break;case 1:l.push(JSON.stringify(o.params[0]));break;default:l.push(JSON.stringify(o.params));break}u=r.propname(o.key,"fmt"),this.formatters[o.key]=!0;break;case"octothorpe":if(!d)return'"#"';u="number",l=[r.propname(d.arg,"d"),JSON.stringify(d.arg)],d.offset&&l.push(d.offset),this.runtime.number=!0;break}if(!u)throw new Error("Parser error for token "+JSON.stringify(o));return u+"("+l.join(", ")+")"},r.prototype.compile=function(o,d,u){if((0,n.default)(o)!=="object"){this.lc=d;var l=u[d]||{cardinal:[],ordinal:[]},c=(0,t.parse)(o,l).map(function(p){return this.token(p)},this);return"function(d) { return "+(c.join(" + ")||'""')+"; }"}var g={};for(var v in o){var h=u.hasOwnProperty(v)?v:d;g[v]=this.compile(o[v],h,u)}return g};var i=r;f.default=i,y.exports=f.default},302027:function(y,f,e){"use strict";var s=e(875832);
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var n=s(e(569644)),a=s(e(56307)),t=s(e(258859));/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript
2 *
3 * @author Alex Sexton - @SlexAxton, Eemeli Aro
4 * @version 1.0.2
5 * @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors
6 * @license To use or fork, MIT. To contribute back, JS Foundation CLA
7 */function r(o){if(this.pluralFuncs={},o){if((0,n.default)(o)!=="object")throw new Error("Must be initialized with plural functions");for(var d in o)if(o.hasOwnProperty(d)){if(typeof o[d]!="function")throw new Error("Expected function value for locale "+JSON.stringify(d));this.pluralFuncs[d]=o[d]}}this.fmt={},this.runtime=new t.default(this)}r.defaultLocale="en",r.escape=function(o){return o.replace(/[#{}\\]/g,"\\$&")},r.formatters={number:function(d){return new Function("v,lc,p","return new Intl.NumberFormat(lc,\n    p=='integer' ? {maximumFractionDigits:0}\n  : p=='percent' ? {style:'percent'}\n  : p=='currency' ? {style:'currency', currency:'"+(d.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n  : {}).format(v)")},date:function(d,u,l){var c={day:"numeric",month:"short",year:"numeric"};switch(l){case"full":c.weekday="long";case"long":c.month="long";break;case"short":c.month="numeric"}return new Date(d).toLocaleDateString(u,c)},time:function(d,u,l){var c={second:"numeric",minute:"numeric",hour:"numeric"};switch(l){case"full":case"long":c.timeZoneName="short";break;case"short":delete c.second}return new Date(d).toLocaleTimeString(u,c)}},r.prototype.addFormatters=function(o){for(var d in o)o.hasOwnProperty(d)&&(this.fmt[d]=o[d]);return this},r.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var o in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(o)&&(this.pluralFuncs[o].cardinal=[],this.pluralFuncs[o].ordinal=[]);return this},r.prototype.setBiDiSupport=function(o){return this.bidiSupport=!!o||typeof o=="undefined",this},r.prototype.setIntlSupport=function(o){return this.intlSupport=!!o||typeof o=="undefined",this},r.prototype.setStrictNumberSign=function(o){return this.strictNumberSign=!!o||typeof o=="undefined",this.runtime.setStrictNumber(this.strictNumberSign),this},r.prototype.compile=function(o,d){function u(_,b){if(b||(b=0),(0,n.default)(_)!=="object")return _;for(var S=[],E="",A=0;A<b;++A)E+="  ";for(var T in _)S.push("\n"+E+"  "+a.default.propname(T)+": "+u(_[T],b+1));return"{"+S.join(",")+"\n"+E+"}"}var l;if(Object.keys(this.pluralFuncs).length==0)d||(d=r.defaultLocale),l={},l[d]=getPluralFunc(d,this.noPluralKeyChecks);else if(d){if(l={},l[d]=this.pluralFuncs[d],!l[d])throw new Error("Locale "+JSON.stringify(d)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else l=this.pluralFuncs,d=Object.keys(l)[0];var c=new a.default(this),g=c.compile(o,d,l);if((0,n.default)(o)!=="object"){var v=new Function("number, plural, select, fmt",a.default.funcname(d),"return "+g),h=this.runtime;return v(h.number,h.plural,h.select,this.fmt,l[d])}var p=this.runtime.toString(l,c)+"\n",m=u(g),P=new Function(p+"return "+m)();if(P.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return P.toString=function(_){switch(_||""){case"exports":var b=[];for(var S in g)b.push(a.default.propname(S,"exports")+" = "+u(g[S]));return p+b.join(";\n");case"module.exports":return p+"module.exports = "+m;case"export default":return p+"export default "+m;case"":return p+"return "+m;default:return _.indexOf(".")>-1?p+_+" = "+m:p+["(function (root, G) {",'  if (typeof define === "function" && define.amd) { define(G); }','  else if (typeof exports === "object") { module.exports = G; }',"  else { "+a.default.propname(_,"root")+" = G; }","})(this, "+m+");"].join("\n")}},P};var i=r;f.default=i,y.exports=f.default},258859:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var a=s(e(56307));function t(d){this.mf=d,this.setStrictNumber(d.strictNumberSign)}function r(d,u,l){if(!l)return d;if(isNaN(d))throw new Error("Can't apply offset:"+l+" to argument `"+u+"` with non-numerical value "+JSON.stringify(d)+".");return d-l}function i(d,u,l){if(isNaN(d))throw new Error("Argument `"+u+"` has non-numerical value "+JSON.stringify(d)+".");return d-(l||0)}t.prototype.setStrictNumber=function(d){this.number=d?i:r},t.prototype.plural=function(d,u,l,c,g){if({}.hasOwnProperty.call(c,d))return c[d];u&&(d-=u);var v=l(d,g);return v in c?c[v]:c.other},t.prototype.select=function(d,u){return{}.hasOwnProperty.call(u,d)?u[d]:u.other}
7,t.prototype.toString=function(d,u){function l(h,p){if((0,n.default)(h)!="object"){var m=h.toString().replace(/^(function )\w*/,"$1"),b=/([ \t]*)\S.*$/.exec(m);return b?m.replace(new RegExp("^"+b[1],"mg"),""):m}var P=[];for(var _ in h)p==0?P.push("var "+_+" = "+l(h[_],p+1)+";\n"):P.push(a.default.propname(_)+": "+l(h[_],p+1));if(p==0)return P.join("");if(P.length==0)return"{}";for(var b="  ";--p;)b+="  ";return"{\n"+P.join(",\n").replace(/^/gm,b)+"\n}"}var c={};Object.keys(u.locales).forEach(function(h){c[a.default.funcname(h)]=d[h]}),Object.keys(u.runtime).forEach(function(h){c[h]=this[h]},this);var g=Object.keys(u.formatters),v=this.mf.fmt;return g.length&&(c.fmt=g.reduce(function(h,p){return h[p]=v[p],h},{})),l(c,0)};var o=t;f.default=o,y.exports=f.default},725242:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.hashCode=void 0;var e=function(n){for(var a=0,t=n.length,r=0;r<t;r++)a=a*31+n.charCodeAt(r),a=a&a;return String(a)};f.hashCode=e},825672:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.transformJsonStringsToDictionary=f.setupLibrary=void 0;function e(n,a){var t;if(!n||typeof n!="string"||n==="")throw new Error("[@sqs/i18n-ui] setupLibrary: packageName is required and must be a non-empty string");if(!a||typeof a!="function")throw new Error("[@sqs/i18n-ui] package="+n+", setupLibrary requires a valid translationLoader function to be passed");return{setI18nInstance:function(r,i){i===void 0&&(i={}),t=r;var o=i.translationsLoadErrorCallback;try{t.loadTranslations(a,o,n)}catch(d){throw new Error("["+n+"] Unable to load library's translations\n"+d.message)}},getI18nInstance:function(){if(!t)throw new Error("["+n+'] An instance of I18nUI has not be initialized.\nEnsure that the consuming application/library is calling "setI18nInstance"');return t}}}f.setupLibrary=e;function s(n){return Object.keys(n).filter(function(a){return a!=="smartling"}).reduce(function(a,t){var r;return a[t]=(r=n==null?void 0:n[t])===null||r===void 0?void 0:r.translation,a},{})}f.transformJsonStringsToDictionary=s},199324:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importStar(e(32835)),a=n.numberFormatProperties,t=n.numberParseProperties,r=n.parseNumber,i=s.__importDefault(e(694545)),o=function(){function d(u){var l=this;this.getNumberSystemMetadata=function(c){c===void 0&&(c="latn");var g=l.i18nInstance.formattingCldr.General.bundle(),v=l.i18nInstance.formattingCldr.Schema.Numbers.numberSystem.get(c);return{symbols:v.symbols.mapping(g),pattern:v.decimalFormats.standard.get(g)}},this.parseNumber=function(c,g){g===void 0&&(g={});var v=l.getNumberSystemMetadata(),h=a(v.pattern,v.symbols,g),p=t(h),m=r(c,p);return l.i18nInstance.isDebugMode?i.default(m):m},this.i18nInstance=u}return d}();f.default=o,y.exports=f.default},630526:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.regexpEscape=void 0,e(392338),e(392338);var s=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")};f.regexpEscape=s},863458:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberFormatProperties=void 0,e(392338),e(392338),e(392338);var s=e(34265),n=e(453849),a=e(116526),t="0123456789",r=function(o,d,u){var l,c,g,v,h,p,m;function P(_,b){_ in u&&(m[b]=u[_])}return u=u||{},o=o.split(";"),h=o[0],l=o[1]||"-"+h,g=(0,s.numberPatternProperties)(l),c=g[0],v=g[10],p=(0,n.numberRound)(u.round),p.generatorString=function(){return"numberRound("+(u.round?'"'+u.round+'"':"")+")"},m=(0,s.numberPatternProperties)(h).concat([h,c+h+v,c,v,p,d.infinity,d.nan,(0,a.numberSymbolMap)(d),t]),P("minimumIntegerDigits",2),P("minimumFractionDigits",3),P("maximumFractionDigits",4),P("minimumSignificantDigits",5),P("maximumSignificantDigits",6),u.group===!1&&(m[8]=null),"minimumFractionDigits"in u&&!("maximumFractionDigits"in u)?m[4]=Math.max(m[3],m[4]):!("minimumFractionDigits"in u)&&"maximumFractionDigits"in u&&(m[3]=Math.min(m[3],m[4])),m};f.numberFormatProperties=r},32835:function(y,f,e){"use strict";
7Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"numberFormatProperties",{enumerable:!0,get:function(){return s.numberFormatProperties}}),Object.defineProperty(f,"numberParseProperties",{enumerable:!0,get:function(){return n.numberParseProperties}}),Object.defineProperty(f,"parseNumber",{enumerable:!0,get:function(){return a.parseNumber}});var s=e(863458),n=e(415130),a=e(933517)},451921:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.looseMatching=void 0,e(392338),e(392338);var s=e(194478),n=e(922597),a=e(40540),t=function(i){return i.replace(s.regexpCfG,"").replace(n.regexpDashG,"-").replace(a.regexpZsG," ")};f.looseMatching=t},573946:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.objectMap=void 0,e(392338),e(392338),e(392338);var s=function(a,t){return Object.keys(a).map(function(r){return t([r,a[r]])}).reduce(function(r,i){return r[i[0]]=i[1],r},{})};f.objectMap=s},415130:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberParseProperties=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(451921),n=e(573946),a=e(630526),t=e(841691),r=function(o){var d,u,l,c,g,v,h,p,m,P,_,b,S,E,A,T,I,R,j,x;return T=(0,s.looseMatching)(o[0]),p=o[4],P=o[5],m=o[6],I=o[8],R=o[9],j=(0,s.looseMatching)(o[10]),b=(0,s.looseMatching)(o[13]),S=(0,s.looseMatching)(o[14]),g=(0,s.looseMatching)(o[16]),_=(0,s.looseMatching)(o[17]),x=(0,n.objectMap)(o[18],function(L){return[L[0],(0,s.looseMatching)(L[1])]}),E=o[19],h=(0,n.objectMap)(x,function(L){return[(0,s.looseMatching)(L[0]),L[1]]}),l=E?"["+E+"]":"\\d",c=(0,a.regexpEscape)(x[","]),u=(0,a.regexpEscape)(x["."]),E&&(v=E.split("").reduce(function(L,H,G){return L[H]=String(G),L},{})),d=[T,j,b,S].map(function(L){return L.replace(/('([^']|'')+'|'')|./g,function(H,G){return G?(0,t.removeLiteralQuotes)(G):(H=H.replace(/[\-+E%\u2030]/,function(X){return x[X]}),H)})}),T=d[0],j=d[1],b=d[2],S=d[3],A=l+"+",I&&(R?d=l+"{1,"+R+"}(("+c+l+"{"+R+"})*("+c+l+"{"+I+"}))":d=l+"{1,"+I+"}("+c+l+"{"+I+"})+",A="("+d+"|"+A+")"),(!isNaN(P*m)||p)&&(d=u+l+"+",A=A+"("+d+"|"+u+")?|("+A+")?"+d,A="("+A+")"),[h,v,{infinity:new RegExp("^"+(0,a.regexpEscape)(g)),nan:new RegExp("^"+(0,a.regexpEscape)(_)),negativePrefix:new RegExp("^"+(0,a.regexpEscape)(b)),negativeSuffix:new RegExp("^"+(0,a.regexpEscape)(S)),number:new RegExp("^"+A),prefix:new RegExp("^"+(0,a.regexpEscape)(T)),suffix:new RegExp("^"+(0,a.regexpEscape)(j))}]};f.numberParseProperties=r},933517:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.parseNumber=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(451921),n=function(t,r){var i,o,d,u,l,c,g,v,h,p;i=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],d=r[0],o=r[1]||{},h=r[2],t=(0,s.looseMatching)(t);function m(_){return function(b){switch(b=b.split("").map(function(S){return d[S]||o[S]||S}).join(""),_){case"infinity":l=1/0;break;case"nan":l=NaN;break;case"number":b=b.replace(/,/g,""),l=+b;break;case"prefix":case"negativePrefix":c=b;break;case"suffix":v=b;break;case"negativeSuffix":v=b,u=!0;break;default:throw new Error("Internal error")}return""}}function P(_){return i.some(function(b){return b.every(function(S){return _.match(h[S])===null?!1:(_=_.replace(h[S],m(S)),!0)})&&!_.length})}return p=P(t,i),!p||isNaN(l)?NaN:(g=""+c+v,g.indexOf("%")!==-1?l/=100:g.indexOf("\u2030")!==-1&&(l/=1e3),u&&(l*=-1),l)};f.parseNumber=n},34265:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberPatternProperties=void 0,e(392338),e(392338),e(392338),e(392338);var s=e(175356),n=function(t){var r,i,o,d,u,l,c,g,v,h,p,m,P,_,b,S,E;if(t=t.match(s.numberPatternRe),!t)throw new Error("Invalid pattern: "+t);return m=t[1],p=t[4],d=t[5],S=t[9],E=t[11],S?S.replace(/(@+)(#*)/,function(A,T,I){h=T.length,c=h+I.length}):(o=t[8],u=t[7],o?(o.replace(/[0-9]+/,function(A){g=A}),g?(_=+("0."+g),g=g.length):g=0,l=o.length-1):(g=0,l=0),u.replace(/0+$/,function(A){v=A.length})),(r=d.lastIndexOf(","))!==-1&&(i=d.split(".")[0],P=i.length-r-1,
7(i=d.lastIndexOf(",",r-1))!==-1&&(b=r-1-i)),[m,p,v,g,l,h,c,_,P,b,E]};f.numberPatternProperties=n},175356:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberPatternRe=void 0;var e=/^(('([^']|'')*'|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/;f.numberPatternRe=e},194478:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.regexpCfG=void 0;var e=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g;f.regexpCfG=e},922597:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.regexpDashG=void 0;var e=/[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g;f.regexpDashG=e},40540:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.regexpZsG=void 0;var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g;f.regexpZsG=e},841691:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeLiteralQuotes=void 0,e(392338),e(392338),e(392338);var s=function(a){return a[0]+a[a.length-1]!=="''"?a:a==="''"?"":a.replace(/''/g,"'").slice(1,-1)};f.removeLiteralQuotes=s},453849:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.numberRound=void 0,e(392338),e(392338),e(392338),e(392338);var n=s(e(569644)),a=e(503270),t=function(i){return i=i||"round",i=i==="truncate"?a.numberTruncate:Math[i],function(o,d){var u,l;if(o=+o,isNaN(o))return NaN;if((0,n.default)(d)==="object"&&d.exponent){if(u=+d.exponent,l=1,u===0)return i(o);if(!(typeof u=="number"&&u%1==0))return NaN}else{if(l=+d||1,l===1)return i(o);if(isNaN(l))return NaN;l=l.toExponential().split("e"),u=+l[1],l=+l[0]}return o=o.toString().split("e"),o[0]=+o[0]/l,o[1]=o[1]?+o[1]-u:-u,o=i(+(o[0]+"e"+o[1])),o=o.toString().split("e"),o[0]=+o[0]*l,o[1]=o[1]?+o[1]+u:u,+(o[0]+"e"+o[1])}};f.numberRound=t},116526:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberSymbolMap=void 0;var e={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","\u2030":"perMille"},s=function(a){var t,r={};for(t in e)r[t]=a[e[t]];return r};f.numberSymbolMap=s},503270:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.numberTruncate=void 0;var e=function(n){return isNaN(n)?NaN:Math[n<0?"ceil":"floor"](n)};f.numberTruncate=e},623929:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=e(85590);function t(r){var i=r.className,o=r.formatter,d=r.value,u=r.currencyCode,l=r.options;return a.renderComponent({className:i},o(d,u,l))}t.propTypes={className:n.default.string,currencyCode:n.default.string.isRequired,options:n.default.object,formatter:n.default.func.isRequired,value:n.default.number.isRequired},f.default=t,y.exports=f.default},58500:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=e(85590);function t(r){var i=r.formatter,o=r.value,d=r.format,u=r.className;return a.renderComponent({className:u},i(o,d))}t.propTypes={value:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),format:n.default.string,className:n.default.string,formatter:n.default.func.isRequired},f.default=t,y.exports=f.default},341183:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=s.__importDefault(e(508669)),t=s.__importDefault(e(734520)),r=function(i){s.__extends(o,i);function o(){return i!==null&&i.apply(this,arguments)||this}return o.prototype.render=function(){var d=this.props,u=d.freeIfZero,l=d.freeLabel,c=d.isNegative,g=d.value,v=d.cldrCurrencyOpts,h=v===void 0?{}:v,p=d.formatter,m=s.__rest(d,["freeIfZero","freeLabel","isNegative","value","cldrCurrencyOpts","formatter"]);if(u&&!l)throw new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or <T>Free</T>');return a.default.createElement("span",s.__assign({},m),c&&"-"," ",u&&g.isZero()?l:p(g,h))},o.propTypes={freeIfZero:n.default.bool,freeLabel:function(d,u){if(!!d.freeIfZero&&d[u]===void 0)return new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or <T>Free</T>')},isNegative:n.default.bool,value:n.default.instanceOf(t.default).isRequired,cldrCurrencyOpts:n.default.object,formatter:n.default.func.isRequired},o}(a.default.PureComponent);f.default=r,y.exports=f.default},564178:function(y,f,e){"use strict";
7Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=e(85590);function t(r){var i=r.value,o=r.format,d=r.formatter,u=r.className;return a.renderComponent({className:u},d(i,o))}t.propTypes={className:n.default.string,format:n.default.object,formatter:n.default.func.isRequired,value:n.default.number.isRequired},f.default=t,y.exports=f.default},149396:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=e(85590);function t(r){var i=r.quantity,o=r.options,d=r.formatter,u=r.className;return a.renderComponent({className:u},d(i,o))}t.propTypes={className:n.default.string,formatter:n.default.func.isRequired,quantity:n.default.object.isRequired,options:n.default.object},f.default=t,y.exports=f.default},80694:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(508669)),a=s.__importDefault(e(442629)),t=s.__importDefault(e(301314)),r=s.__importDefault(e(142921)),i=e(966530),o=e(85590),d=function(u){var l=u.n,c=u.forms,g=u.locale,v=u.formatter,h=u.project,p=u.notes,m=s.__rest(u,["n","forms","locale","formatter","project","notes"]),P={},_={},b=c&&c.other?c.other:null;if(t.default(!m.hasOwnProperty("children"),"The Plural component does not support children."),typeof l!="number"||!b)return null;if(typeof b!="string")return o.renderComponent(null,b);Object.keys(m).forEach(function(I){var R=m[I];n.default.isValidElement(R)?P[I]=R:_[I]=R});var S=i.propsToOpts(h,p),E=v(c,l,_,S),A=i.parseString(Object.values(c).join(",")),T=r.default(_,function(I,R){return!A.includes("{"+R+"}")});return Object.keys(P).length>0?i.performComponentSubs(E,P,T):o.renderComponent(T,E)};d.propTypes={n:a.default.number,forms:a.default.shape({one:a.default.string,other:a.default.string.isRequired,zero:a.default.string,many:a.default.string,few:a.default.string,two:a.default.string}),formatter:a.default.func.isRequired,project:a.default.string.isRequired,notes:a.default.string},f.default=d,y.exports=f.default},68542:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(442629)),a=e(85590);function t(r){var i=r.formatter,o=r.value,d=r.from,u=r.tooltipTitle,l=r.className;return a.renderComponent({title:u,className:l},i(o,d))}t.propTypes={value:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),from:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),tooltipTitle:n.default.string,className:n.default.string,formatter:n.default.func.isRequired},f.default=t,y.exports=f.default},28281:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(508669)),a=s.__importDefault(e(442629)),t=s.__importDefault(e(142921)),r=e(966530),i=e(85590),o=function(d){var u=d.children,l=d.formatter,c=d.locale,g=d.notes,v=d.project,h=s.__rest(d,["children","formatter","locale","notes","project"]),p={},m={},P=u;if(!P)return null;if(typeof P!="string")return i.renderComponent(null,P);Object.keys(h).forEach(function(A){var T=h[A];n.default.isValidElement(T)?p[A]=T:m[A]=T});var _=r.propsToOpts(v,g),b=l(P,m,_),S=r.parseString(P),E=t.default(m,function(A,T){return!S.includes("{"+T+"}")});return Object.keys(p).length>0?r.performComponentSubs(b,p,E):i.renderComponent(E,b)};o.propTypes={children:a.default.oneOfType([a.default.string,a.default.array,a.default.element]),formatter:a.default.func.isRequired,notes:a.default.string,project:a.default.string.isRequired},f.default=o,y.exports=f.default},966530:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.propsToOpts=f.performComponentSubs=f.parseString=void 0;var s=e(491479),n=s.__importDefault(e(508669)),a=s.__importDefault(e(196269)),t=e(85590),r=/\{([^}]+)\}/g,i=function(o,d){var u=d.map(function(l){return{key:l,index:o.indexOf(l)}}).filter(function(l){var c=l.index;return c!==-1}).sort(function(l,c){return l.index-c.index});return u[0]||null};
7f.parseString=function(o){if(!o)return[];var d=o.match(r);if(d===null)return[o];for(var u=[];o.length;){var l=i(o,d);if(l===null)break;u.push(o.slice(0,l.index)),u.push(l.key),o=o.slice(l.index+(l.key?l.key.length:0))}return u.push(o),u},f.performComponentSubs=function(o,d,u){var l=f.parseString(o);return d&&(l=l.map(function(c){var g=a.default(d,function(v,h){return"{"+h+"}"===c});return g?n.default.isValidElement(d[g])&&d[g].key===null?n.default.cloneElement(d[g],{key:g}):d[g]:c})),t.renderComponentWithChildren(l,u)},f.propsToOpts=function(o,d){var u={project:o};return d&&Object.assign(u,{notes:d}),u}},85590:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.renderComponentWithChildren=f.renderComponent=void 0;var s=e(491479),n=s.__importDefault(e(508669)),a=function(r,i){return n.default.createElement("span",s.__assign({},r),i)};f.renderComponent=a;var t=function(r,i){return i===void 0&&(i={}),n.default.createElement("span",s.__assign({},i),r)};f.renderComponentWithChildren=t},162962:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(491479),n=s.__importDefault(e(508669)),a=s.__importDefault(e(58500)),t=s.__importDefault(e(68542)),r=s.__importDefault(e(623929)),i=s.__importDefault(e(564178)),o=s.__importDefault(e(149396)),d=s.__importDefault(e(341183)),u=s.__importDefault(e(28281)),l=s.__importDefault(e(80694)),c=function(){function g(v){var h=this;this.FormattedCurrency=function(p){return n.default.createElement(r.default,s.__assign({},p,{formatter:h.i18nInstance.formatCurrency}))},this.FormattedMoney=function(p){return n.default.createElement(d.default,s.__assign({},p,{formatter:h.i18nInstance.formatMoney}))},this.FormattedNumber=function(p){return n.default.createElement(i.default,s.__assign({},p,{formatter:h.i18nInstance.formatNumber}))},this.FormattedQuantity=function(p){return n.default.createElement(o.default,s.__assign({},p,{formatter:h.i18nInstance.formatQuantity}))},this.FormattedDateTime=function(p){return n.default.createElement(a.default,s.__assign({},p,{formatter:h.i18nInstance.formatDateTime}))},this.RelativeTime=function(p){return n.default.createElement(t.default,s.__assign({},p,{formatter:h.i18nInstance.formatRelativeTime}))},this.T=function(p){var m=p.children,P=p.project,_=s.__rest(p,["children","project"]);return n.default.createElement(u.default,s.__assign({},_,{project:P,formatter:h.i18nInstance.translate}),m)},this.Plural=function(p){return n.default.createElement(l.default,s.__assign({},p,{project:p.project,forms:p.forms,n:p.n,formatter:h.i18nInstance.pluralize}))},this.i18nInstance=v,this.T.displayName="TWrapper",this.Plural.displayName="PluralWrapper",this.FormattedCurrency.displayName="FormattedCurrencyWrapper",this.FormattedMoney.displayName="FormattedMoneyWrapper",this.FormattedNumber.displayName="FormattedNumberWrapper",this.FormattedQuantity.displayName="FormattedQuantityWrapper",this.FormattedDateTime.displayName="FormattedDateTimeWrapper",this.RelativeTime.displayName="RelativeTimeWrapper"}return g}();f.default=c,y.exports=f.default},173377:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var s=e(23979),n=e(442912),a=e(128766);function t(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function r(u,l){for(var c,g=0;g<l.length;g++)c=l[g],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(u,c.key,c)}function i(u,l,c){return l&&r(u.prototype,l),c&&r(u,c),u}var o=function(){function u(){var l=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};t(this,u);var c=(0,n.checkFeatureSupport)();this.doesSupportSrcset=c.doesSupportSrcset,this.doesSupportObjectFit=c.doesSupportObjectFit,this.doesSupportObjectPosition=c.doesSupportObjectPosition,this.configure(l)}return i(u,[{key:"configure",value:function(c){var g=this,v={allowConcurrentLoads:!1,debuggerEnabled:!1,sizes:s.SQUARESPACE_SIZES};Object.assign(this,v,c),this.sizes.sort(function(h,p){return p-h}
7),this.debuggerEnabled&&Object.keys(this).forEach(function(h){console.log(h,g[h])})}},{key:"load",value:function(c,g){var v=(0,n.validatedImage)(c,this);if(!v)return!1;var h=(0,a.getLoadingConfiguration)(v,g);if(h.load==="false"&&!h.forceImageUpdate)return this.debuggerEnabled&&console.warn("".concat(v,' load mode is "false".')),!1;if(h.hasImageDimensionData&&h.cropMode!=="none"){var p=(0,n.positionCroppedImage)(v,h,this);if(!p)return!1}if(v.getAttribute("srcset")){if(this.doesSupportSrcset)return this.setImageUsingSrcset(v,h);var m=(0,n.getAssetUrl)(v.getAttribute("srcset"),h);h.source=m,v.setAttribute("data-src",m)}var P=(0,n.getIntendedImageSize)(v,h,this);return typeof P!="string"||h.load==="viewport"?P:h.forceImageUpdate||(0,n.shouldUpdateResolution)(v,P)?this.setImageSource(v,h,P,g):P}},{key:"loadAll",value:function(){var c=this,g=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},v=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body;if(!v||!v.nodeName||!("querySelectorAll"in v))return new Error("".concat(v," is not a valid node."));var h=v.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");h.forEach(function(p){c.load(p,g)})}},{key:"getDimensionForValue",value:function(c,g,v){return(0,n.getDimensionForValue)(c,g,v)}},{key:"setImageSource",value:function(c,g,v,h){var p=this,m=(0,n.getUrl)(g,v);if(!m)return!1;var P=function(){(0,n.removeClass)(c,s.IMAGE_LOADING_CLASS),(0,n.removeClass)(c,s.LEGACY_IMAGE_LOADING_CLASS)},_=function(){P(),c.removeEventListener("load",_)};return c.addEventListener("load",_),this.debuggerEnabled&&c.setAttribute("data-version","module"),!(c.getAttribute("src")&&g.load!=="true"&&g.forceImageUpdate!==!0)&&((0,n.addClass)(c,s.IMAGE_LOADING_CLASS),(0,n.addClass)(c,s.LEGACY_IMAGE_LOADING_CLASS),g.hasImageDimensionData?(c.dataset.imageResolution=v,c.setAttribute("src",m),P(),g.useBgImage&&(c.parentNode.style.backgroundImage="url("+m+")"),!0):((0,n.preloadImage)(m,function(b){p.debuggerEnabled&&console.log("Loaded ".concat(m," to get image dimensions.")),c.setAttribute("data-image-dimensions",b.width+"x"+b.height),P(),p.load(c,h)},function(b,S){c.setAttribute("src",S),P(),p.debuggerEnabled&&console.log("".concat(S," failed to load."))}),!1))}},{key:"setImageUsingSrcset",value:function(c,g){var v=function(){(0,n.removeClass)(c,s.IMAGE_LOADING_CLASS),(0,n.removeClass)(c,s.LEGACY_IMAGE_LOADING_CLASS);var h;"currentSrc"in Image.prototype&&(h=(0,n.getSizeFromUrl)(c.currentSrc,g),c.setAttribute("data-image-resolution",h)),c.removeEventListener("load",v)};return c.addEventListener("load",v),c.complete&&v(),!0}},{key:"_getDataFromNode",value:function(c,g){return(0,a.getLoadingConfiguration)(c,g)}}]),u}(),d=o;f.default=d,y.exports=f.default},23979:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CROP_ARGUMENT_TO_CROP_MODE=f.FIT_ALIGNMENT_TO_OBJECT_POSITION=f.LEGACY_IMAGE_LOADING_CLASS=f.IMAGE_LOADING_CLASS=f.SQUARESPACE_SIZES=void 0;var e=[2500,1500,1e3,750,500,300,100];f.SQUARESPACE_SIZES=e;var s="sqs-image-loading";f.IMAGE_LOADING_CLASS="sqs-image-loading";var n="loading";f.LEGACY_IMAGE_LOADING_CLASS="loading";var a={horizontal:{center:"50%",left:"0%",right:"100%"},vertical:{bottom:"100%",center:"50%",top:"0%"}};f.FIT_ALIGNMENT_TO_OBJECT_POSITION=a;var t={"content-fill":"cover",fill:"cover",cover:"cover","content-fit":"contain",fit:"contain",contain:"contain"};f.CROP_ARGUMENT_TO_CROP_MODE=t},309746:function(y,f,e){"use strict";var s=n(e(173377));Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;function n(r){return r&&r.__esModule?r:{default:r}}var a=function(){return s.default},t=a();f.default=t,y.exports=f.default},193580:function(y,f,e){"use strict";e(392338),Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var s=t(e(173377)),n=t(e(576919)),a=t(e(818255));function t(l){return l&&l.__esModule?l:{default:l}}function r(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function i(l,c){for(var g,v=0;v<c.length;v++)g=c[v],g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(l,g.key,g)}function o(l,c,g){return c&&i(l.prototype,c),g&&i(l,g),l}var d=function(){return s.default.Builder=function(){var l=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},c=function(){function g(){var v=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};r(this,g),this.opts=v,this.imageloader=s.default}return o(g,[{key:"withPromises",value:function(){return this.imageloader=(0,n.default)(this.imageloader),this}},{key:"withLazyLoading",value:function(){return this.imageloader=(0,a.default)(this.imageloader),this}},{key:"build",value:function(){return new this.imageloader(this.opts)}}]),g}();return new c(l)},s.default},u=d();f.default=u,y.exports=f.default},818255:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(f,"__esMo
7dule",{value:!0}),f.default=void 0;function s(p){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},s(p)}function n(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function a(p,m){for(var P,_=0;_<m.length;_++)P=m[_],P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(p,P.key,P)}function t(p,m,P){return m&&a(p.prototype,m),P&&a(p,P),p}function r(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),m&&i(p,m)}function i(p,m){return i=Object.setPrototypeOf||function(P,_){return P.__proto__=_,P},i(p,m)}function o(p){var m=l();return function(){var P,_=c(p);if(m){var b=c(this).constructor;P=Reflect.construct(_,arguments,b)}else P=_.apply(this,arguments);return d(this,P)}}function d(p,m){return m&&(s(m)==="object"||typeof m=="function")?m:u(p)}function u(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function l(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(p){return!1}}function c(p){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},c(p)}var g={root:null,rootMargin:"200px 200px 200px 200px",thresholds:[0]},v=function(){var p=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(m){function P(){var b,S=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return n(this,P),b=_.call(this,S),b.intersectionObserverEntries=[],b.lazyLoadObserver=null,b.boundImageLoadHandler=b._unobserverOnLoad.bind(u(b)),b}r(P,m);var _=o(P);return t(P,[{key:"loadLazy",value:function(S){var E=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:g;return S&&S.tagName==="IMG"?self.IntersectionObserver?(this.lazyLoadObserver||(this.observerRootNode=A.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),A)),this._observe(S,E),this.lazyLoadObserver):(this.load(S,E),!1):new Error("No image")}},{key:"loadAllLazy",value:function(){var S=this,E=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},A=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:g;if(A===null||!A.querySelectorAll)return new Error("".concat(A," is not a valid node."));var I=A.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");return I.length===0?null:self.IntersectionObserver?(this.observerRootNode=T.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),T),I.forEach(function(R){S._observe(R,E)}),this.lazyLoadObserver):(this.loadAll(E,A),!1)}},{key:"_observe",value:function(S,E){var A=this._getTargetNode(S);return this.intersectionObserverEntries.findIndex(function(T){return T.target===A})===-1&&(S.addEventListener("load",this.boundImageLoadHandler),this.lazyLoadObserver.observe(A),void this.intersectionObserverEntries.push({target:A,params:E}))}},{key:"_onObserverChange",value:function(S){var E=this;S.forEach(function(A){A.isIntersecting&&self.requestAnimationFrame(function(){var T=A.target.tagName==="IMG"?A.target:A.target.querySelector("img"),I={};E.intersectionObserverEntries=E.intersectionObserverEntries.filter(function(R){return R.target===A.target&&(I=R.params),R.target!==A.target}),E.load(T,I),E.lazyLoadObserver.unobserve(A.target)})})}},{key:"_unobserverOnLoad",value:function(S){var E=S.currentTarget,A=this._getTargetNode(S.currentTarget);this.lazyLoadObserver.unobserve(A),E.removeEventListener("load",this.boundImageLoadHandler)}},{key:"_getTargetNode",value:function(S){var E=S.parentNode;return E===this.observerRootNode||S.offsetHeight!==0?S:E}}]),P}(p)},h=v;f.default=h,y.exports=f.default},576919:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(f,"__esMo
7dule",{value:!0}),f.default=void 0;function s(h){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},s(h)}function n(h,p){if(!(h instanceof p))throw new TypeError("Cannot call a class as a function")}function a(h,p){for(var m,P=0;P<p.length;P++)m=p[P],m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(h,m.key,m)}function t(h,p,m){return p&&a(h.prototype,p),m&&a(h,m),h}function r(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(p&&p.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),p&&i(h,p)}function i(h,p){return i=Object.setPrototypeOf||function(m,P){return m.__proto__=P,m},i(h,p)}function o(h){var p=l();return function(){var m,P=c(h);if(p){var _=c(this).constructor;m=Reflect.construct(P,arguments,_)}else m=P.apply(this,arguments);return d(this,m)}}function d(h,p){return p&&(s(p)==="object"||typeof p=="function")?p:u(h)}function u(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function l(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(h){return!1}}function c(h){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)},c(h)}var g=function(){var h=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(p){function m(){var _=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return n(this,m),P.call(this,_)}r(m,p);var P=o(m);return t(m,[{key:"loadAsync",value:function(b){var S=this,E=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};if(!b)return Promise.reject(new Error("No images"));var A,T,I=function(j,x){j.removeEventListener("load",A),j.removeEventListener("error",T),x.resolve(j)},R=function(j,x){j.removeEventListener("load",A),j.removeEventListener("error",T),x.reject(new Error(j+" not loaded"))};return new Promise(function(j,x){A=I.bind(null,b,{resolve:j,reject:x}),T=R.bind(null,b,{resolve:j,reject:x}),b.addEventListener("load",A),b.addEventListener("error",T);var L=S.load(b,E);(typeof L=="string"||L===!1)&&I(b,{resolve:j,reject:x})})}},{key:"loadAllAsync",value:function(){var b=this,S=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},E=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,A=2<arguments.length?arguments[2]:void 0;if(E===null)return Promise.reject(new Error("No root node"));var T=E.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");if(T.length===0)return Promise.reject(new Error("No images"));var I=Array.from(T).map(function(R){return b.loadAsync(R,S,A)});return Promise.all(I)}}]),m}(h)},v=g;f.default=v,y.exports=f.default},442912:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(f,"__esModule",{value:!0}),f.validatedImage=f.shouldUpdateResolution=f.removeClass=f.positionImage=f.positionCroppedImage=f.isSquarespaceUrl=f.hasClass=f.getUrl=f.getTargetDimensions=f.getSizeFromUrl=f.getOffsetForAlignment=f.getObjectPositionForAlignment=f.getIntendedImageSize=f.getImageScale=f.preloadImage=f.getDimensionForValue=f.getComputedStyle=f.getAssetUrl=f.checkFeatureSupport=f.calculateParentDimensions=f.addClass=void 0;var s=e(23979),n=e(979666);function a(K){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},a(K)}var t=function(K,J){return K.className.indexOf(J)!==-1};f.hasClass=t;var r=function(K,J){return!t(K,J)&&(K.className+=(K.className?" ":"")+J,!0)};f.addClass=r;var i=function(K,J){return!!t(K,J)&&(K.className=K.className.replace(J," ").trim(),!0)};f.removeClass=i;var o=function(K){return["?","#"].forEach(function(J){var z=K.indexOf(J);0<z&&(K=K.substring(0,z))}),-1<K.indexOf("squarespace-cdn.com")||-1<K.indexOf("squarespace.com")||-1<K.indexOf("squarespace.net")||-1<K.indexOf("sqsp.net")||-1<K.indexOf("sqspcdn.com")};f.isSquarespaceUrl=o;var d=function(K,J,z){var k=K.ownerDocument.defaultView;return K.currentStyle?K.currentStyle[z||J]:k.getComputedStyle?k.getComputedStyle(K,null).getPropertyValue(J):""};f.getComputedStyle=d;var u=function(K,J,z){var k=new Image;k.addEventListener("load",function(F){var q=F.currentTarget;J(q)}),k.addEventListener("error",function(F){z(F,K)}),k.src=K};f.preloadImage=u;var l=function(){var K=function(){var k=document.createElement("img"),F="srcset"in k;return k=null,F}(),J=function(){var k=document.createElement("div"),F="objectFit"in k.style;return k=null,F}(),z=function(){var k=document.createElement("div"),F="objectPosition"in k.style;return k=null,F}();return{doesSupportSrcset:K,doesSupportObjectPosition:z,doesSupportObjectFit:J}};f.checkFeatureSupport=l;var c=function(K,J){K.getDOMNode&&(K=K.getDOMNode());var z=K.nodeName==="IMG"&&K;if(!z)return console.warn("Element is not a valid image element."),!1;var k=t(K,s.IMAGE_LOADING_CLASS);if(k){var F=J.allowConcurrentLoads;if(J.debuggerEnabled&&console.warn("".concat(K,' contains the class "').concat(s.IMAGE_LOADING_CLASS,'"; it will ').concat(F?"":"not ","be processed.")),!F)return!1}return z};f.validatedImage=c;var g=function(K,J,z){var k=z.dimensions.width,F=z.dimensions.height;K===0&&J===0?(K=k,J=F):K===0?K=J*k/F:J===0&&(J=K*F/k);var q=K/J;return{parentWidth:K,parentHeight:J,parentRatio:q}};f.calculateParentDimensions=g;var v=function(K,J){var z=K.cropMode,k=J.parentNode,F=K.dimensions.width,q=K.dimensions.height,N=F/q,M={height:k.clientHeight,width:k.clientWidth},U=g(M.width,M.height,K),Q=U.parentRatio,$=Q.toFixed(1);J.getAttribute("data-parent-ratio")!==$&&J.setAttribute("data-parent-ratio",$);var ee;return ee=z==="cover"&&N>Q||z==="contain"&&N<Q?M.height/q:M.width/F,K.stretch||z!=="contain"||(ee=Math.min(ee,1)),ee};f.getImageScale=v;var h=function(K,J,z,k){K&&a(K)==="object"||(console.warn('Missing alignment for "content-fit" image.'),K={center:!0});var F=J;
7return F.left=K.left?0:K.right?z-F.width:F.width<z?(z-F.width)/2:0,F.top=K.top?0:K.bottom?k-F.height:F.height<k?(k-F.height)/2:0,F};f.getOffsetForAlignment=h;var p=function(K,J){var z=K.getAttribute("alt"),k=z&&0<z.length&&!K.getAttribute("src");if(k){var F=K.style.display;K.removeAttribute("alt"),K.style.display="none",K.focus(),K.style.display=F}J(),k&&K.setAttribute("alt",z)},m=function(K,J){var z=K.parentNode,k=J.cropMode,F=J.dimensions.width,q=J.dimensions.height,N=F/q,M=g(z.clientWidth,z.clientHeight,J),U=M.parentRatio,Q=M.parentWidth,$=M.parentHeight,ee={};if(J.fixedRatio)ee.unit="%",k==="cover"&&U>N||k==="contain"&&U<N?(ee.width=100,ee.height=100*(U/N),ee.top=(100-ee.height)*J.focalPoint.y,ee.left=0):(ee.width=100*(N/U),ee.height=100,ee.top=0,ee.left=(100-ee.width)*J.focalPoint.x);else{ee.unit="px";var oe=v(J,K);ee.width=F*oe,ee.height=q*oe,k==="cover"?(ee.left=Math.min(Math.max(Q/2-ee.width*J.focalPoint.x,Q-ee.width),0),ee.top=Math.min(Math.max($/2-ee.height*J.focalPoint.y,$-ee.height),0)):Object.assign(ee,h(J.fitAlignment,ee,Q,$))}return d(K,"display")==="inline"&&(K.style.fontSize="0px"),p(K,function(){ee.width-=K.offsetHeight-K.clientHeight,ee.height-=K.offsetWidth-K.clientWidth}),{top:ee.top,left:ee.left,width:ee.width,height:ee.height,unit:ee.unit}};f.getTargetDimensions=m;var P=function(K,J){var z=K.parentNode,k=J.cropMode,F=m(K,J);K.style.left=F.left+F.unit,K.style.top=F.top+F.unit,K.style.width=F.width+F.unit,K.style.height=F.height+F.unit;var q=d(z,"position");return K.style.position=q==="relative"?"absolute":"relative",k==="cover"&&(z.style.overflow="hidden"),!0};f.positionImage=P;var _=function(K){K||(console.warn('Missing alignment for "content-fit" image.'),K={center:!0});var J={horizontal:"50%",vertical:"50%"};return Object.keys(K).forEach(function(z){K[z]===!0&&(s.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[z]?J.horizontal=s.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[z]:J.vertical=s.FIT_ALIGNMENT_TO_OBJECT_POSITION.vertical[z])}),J};f.getObjectPositionForAlignment=_;var b=function(K,J,z){var k=v(J,K),F=K.parentNode,q=Math.ceil(J.dimensions.width*k),N=Math.ceil(J.dimensions.height*k),M=z==="width"?F.offsetWidth:F.offsetHeight,U=z==="width"?q:N,Q=z==="width"?J.focalPoint.x:J.focalPoint.y,$=U-M;if($===0)return Q;var ee=Math.max(Math.min(U*Q-.5*M,$),0)/$;return ee},S=function(K,J,z){var k=(K.parentNode.offsetWidth/K.parentNode.offsetHeight).toFixed(1),F=K.getAttribute("data-parent-ratio")!==k,q="".concat(J.focalPoint.x,",").concat(J.focalPoint.y),N=K.getAttribute("data-image-focal-point")!==q;return N?(K.setAttribute("data-image-focal-point",q),!0):!!F||(z.debuggerEnabled&&console.log("skipping repositioning"),!1)},E=function(K,J,z){if(J.useAdvancedPositioning&&z.doesSupportObjectFit&&z.doesSupportObjectPosition){if(!S(K,J,z))return!0;if(K.style.width="100%",K.style.height="100%",J.cropMode==="cover"){var k={x:b(K,J,"width"),y:b(K,J,"height")};K.style.objectPosition="".concat(100*k.x,"% ").concat(100*k.y,"%"),K.style.objectFit="cover"}else if(J.cropMode==="contain"){var F=_(J.fitAlignment);K.style.objectPosition="".concat(F.horizontal," ").concat(F.vertical),K.style.objectFit="contain"}return z.debuggerEnabled&&console.log("advanced position used"),J.isUsingAdvancedPositioning=!0,!0}if(J.useBgImage&&J.cropMode==="cover"&&"backgroundSize"in document.documentElement.style){if(!S(K,J,z))return!0;K.style.visibility="hidden",K.parentNode.style.backgroundSize="cover";var q={x:b(K,J,"width"),y:b(K,J,"height")};return K.parentNode.style.backgroundPosition="".concat(100*q.x,"% ").concat(100*q.y,"%"),J.
7isUsingAdvancedPositioning=!0,!0}return!1},A=function(K,J,z){var k=K.parentNode;return k?!!E(K,J,z)||P(K,J,z):(console.warn("Image element has no parentNode."),!1)};f.positionCroppedImage=A;var T=function(K,J,z){var k=z.dimensions.width,F=z.dimensions.height;if(K==="width")return k/F*J;if(K==="height")return F/k*J;throw new Error("Value for ".concat(K," is NaN."))};f.getDimensionForValue=T;var I=function(K){return K.substr(0,1).toUpperCase()+K.substr(1)},R=function(K){return typeof K=="string"&&-1<K.indexOf("%")?"percentage":isNaN(parseInt(K,10))?NaN:"number"},j=function(K,J,z){var k,F,q=function(N,M){J.cropMode==="none"&&(K.style.width=null,K.style.height=null);var U=parseFloat(K.getAttribute(N)),Q=parseFloat(K.getAttribute(N));if((!Q||isNaN(Q))&&(U=d(K,N),Q=parseFloat(U)),(!Q||isNaN(Q))&&(U=d(K,"max-"+N,"max"+I(N)),Q=parseFloat(U)),M===0||U)switch(R(U)){case"percentage":M=parseInt(U,10)/100*K.parentNode["offset"+I(N)];break;case"number":M=parseInt(U,10)}return Q||M===0||K.getAttribute("src")||(M=0),M};return J.isUsingAdvancedPositioning?(k=K.parentNode.offsetWidth,F=K.parentNode.offsetHeight):(k=K.offsetWidth,F=K.offsetHeight,p(K,function(){k=q("width",k),F=q("height",F)})),k===0&&F===0?(k=J.dimensions.width,F=J.dimensions.height):k===0?k=T("width",F,J):F===0&&(F=T("height",k,J)),J.load==="viewport"&&(K.style.width="".concat(Math.floor(k),"px"),K.style.height="".concat(Math.floor(F),"px")),(0,n.getSquarespaceSize)(J,k,F,z)};f.getIntendedImageSize=j;var x=function(K,J){var z=K.getAttribute("data-image-resolution");return J=parseInt(J,10),z=parseInt(z,10),!!(isNaN(J)||isNaN(z))||J>z};f.shouldUpdateResolution=x;var L=function(K,J){var z=K.source;if(!z||!z[0])return console.warn("Invalid or missing image source."),!1;if(J&&(z[0]==="/"||o(z))){if(K.sizeFormat==="queryString"&&z.indexOf("format="+J)===-1)return z=z+(-1<z.indexOf("?")?"&":"?")+"format="+J,z;if(K.sizeFormat==="filename"&&z.indexOf("-"+J)===-1){var k=z.slice(z.lastIndexOf("."));return z=z.replace(k,"-"+J+k),z}}return z};f.getUrl=L;var H=function(K){return K.sizeFormat==="queryString"?/(=)(\d{3,}w)*(original)*/i:/(-)(\d{3,}w)*(original)*/i},G=function(K,J){var z=H(J);return K.match(z)[2]||K.match(z)[3]};f.getSizeFromUrl=G;var X=function(K,J){var z;return J.sizeFormat==="queryString"&&(z=/(\S{1,})(\?format=)(\d{3,}w)/i),K.match(z)[1]};f.getAssetUrl=X},128766:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(f,"__esModule",{value:!0}),f.getLoadingConfiguration=void 0;var s=e(23979),n=e(442912),a=function(t){var r=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},i={dimensions:function(){if(r.dimensions)return r.dimensions;var d=t.getAttribute("data-image-dimensions");return!!d&&(d=d.split("x"))&&d.length===2?{width:parseInt(d[0],10),height:parseInt(d[1],10)}:{width:null,height:null}}(),fixedRatio:function(){if(r.fixedRatio)return r.fixedRatio;var d=t.getAttribute("data-fixed-ratio");return!!d&&d==="true"}(),focalPoint:function(){if(r.focalPoint&&!isNaN(parseFloat(r.focalPoint.x))&&!isNaN(parseFloat(r.focalPoint.y)))return r.focalPoint;var d=t.getAttribute("data-image-focal-point");return!!d&&(d=d.split(",").map(parseFloat))&&d.length===2?{x:d[0],y:d[1]}:{x:.5,y:.5}}(),load:function(){if(r.load||r.load===!1)return r.load.toString();var d=t.getAttribute("data-load");return d||"true"}(),forceImageUpdate:function(){if(r.forceImageUpdate||r.forceImageUpdate===!1)return r.forceImageUpdate;var d=t.getAttribute("data-force-image-update");return!!d&&d==="true"}(),cropMode:function(){if(r.mode)return s.CROP_ARGUMENT_TO_CROP_MODE[r.mode]||"none";var d=s.CROP_ARGUMENT_TO_CROP_MODE[t.getAttribute("data-mode")];if(d)return d;if(!t.parentNode)return"none";var u=t.parentNode.className;return-1<u.indexOf("content-fill")?s.CROP_ARGUMENT_TO_CROP_MODE["content-fill"]:-1<u.indexOf("content-fit")?s.CROP_ARGUMENT_TO_CROP_MODE["content-fit"]:"none"}(),sizeAdjustment:function(){var d=function(u){return u=parseFloat(u),isNaN(u)?1:Math.max(u,0)};return typeof r.sizeAdjustment=="undefined"?d(t.getAttribute("data-size-adjustment")):d(r.sizeAdjustment)}(),sizeFormat:function(){if(r.sizeFormat)return r.sizeFormat;var d=t.getAttribute("data-size-format");return d==="filename"?"filename":"queryString"}(),source:function(){if(r.source)return r.source;var d=t.getAttribute("data-src");if(d)return(0,n.isSquarespaceUrl)(d)&&(d=d.replace(/(http:\/\/)/g,"https://")),d}(),stretch:function(){if(typeof r.stretch!="undefined")return r.stretch;var d=t.getAttribute("data-image-stretch");return!d||d==="true"}(),useBgImage:function(){if(typeof r.useBgImage!="undefined")return r.useBgImage;var d=t.getAttribute("data-use-bg-image");return!!d&&d==="true"}(),useAdvancedPositioning:function(){if(typeof r.useAdvancedPositioning!="undefined")return r.useAdvancedPositioning;var d=t.getAttribute("data-use-advanced-positioning");return!!d&&d==="true"}()};if(i.allowSaveData="allowSaveData"in r?r.allowSaveData:t.getAttribute("data-allow-save-data")==="true",i.dprMax="dprMax"in r?r.dprMax:parseInt(t.getAttribute("data-dpr-max"),10)||1/0,i.dprMin="dprMin"in r?r.dprMin:parseInt(t.getAttribute("data-dpr-min"),10)||0,i.cropMode==="contain"&&t.parentNode){var o=r.fitAlignment||t.getAttribute("data-alignment")||t.parentNode.getAttribute("data-alignment")||"center";o&&(i.fitAlignment=["top","left","center","right","bottom"].reduce(function(d,u){return d[u]=-1<o.indexOf(u),d},{}))}return i.dimensions&&i.dimensions.width&&i.dimensions.height&&(i.hasImageDimensionData=!0),i};f.getLoadingConfiguration=a},979666:function(y,f,e){"use strict";var s=e(442912);
7Object.defineProperty(f,"__esModule",{value:!0}),f.getSquarespaceSize=void 0;function n(t){if(typeof app!="undefined"||typeof window.devicePixelRatio!="number")return t.sizeAdjustment;var r=t.allowSaveData&&"navigator"in window&&"connection"in window.navigator&&window.navigator.connection.saveData?Math.min(window.devicePixelRatio,1):window.devicePixelRatio;return Math.max(t.dprMin,Math.min(t.dprMax,r))*t.sizeAdjustment}var a=function(t,r,i,o){for(var d=(0,s.getDimensionForValue)("width",i,t),u=Math.max(d,r)*n(t),l=o.sizes.length,c=1;c<l;c++)if(u>o.sizes[c])return o.sizes[c-1]+"w";return o.sizes[l-1]+"w"};f.getSquarespaceSize=a},296194:function(y){"use strict";function f(n,a){function t(){this.constructor=n}t.prototype=a.prototype,n.prototype=new t}function e(n,a,t,r){this.message=n,this.expected=a,this.found=t,this.location=r,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,e)}f(e,Error),e.buildMessage=function(n,a){var t={literal:function(c){return'"'+i(c.text)+'"'}
7,class:function(c){var g="",v;for(v=0;v<c.parts.length;v++)g+=c.parts[v]instanceof Array?o(c.parts[v][0])+"-"+o(c.parts[v][1]):o(c.parts[v]);return"["+(c.inverted?"^":"")+g+"]"},any:function(c){return"any character"},end:function(c){return"end of input"},other:function(c){return c.description}};function r(c){return c.charCodeAt(0).toString(16).toUpperCase()}function i(c){return c.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+r(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+r(g)})}function o(c){return c.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(g){return"\\x0"+r(g)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(g){return"\\x"+r(g)})}function d(c){return t[c.type](c)}function u(c){var g=new Array(c.length),v,h;for(v=0;v<c.length;v++)g[v]=d(c[v]);if(g.sort(),g.length>0){for(v=1,h=1;v<g.length;v++)g[v-1]!==g[v]&&(g[h]=g[v],h++);g.length=h}switch(g.length){case 1:return g[0];case 2:return g[0]+" or "+g[1];default:return g.slice(0,-1).join(", ")+", or "+g[g.length-1]}}function l(c){return c?'"'+i(c)+'"':"end of input"}return"Expected "+u(n)+" but "+l(a)+" found."};function s(n,a){a=a!==void 0?a:{};var t={},r={start:Pn},i=Pn,o="#",d=Qt("#",!1),u=function(){return Ir},l=function(){return{type:"octothorpe"}},c=function(se){return se.join("")},g="{",v=Qt("{",!1),h="}",p=Qt("}",!1),m=function(se){return{type:"argument",arg:se}},P=",",_=Qt(",",!1),b="select",S=Qt("select",!1),E=function(se,Ae){return a.strictNumberSign&&(Ir=!1),Ae},A=function(se,Ae){return{type:"select",arg:se,cases:Ae}},T="plural",I=Qt("plural",!1),R="selectordinal",j=Qt("selectordinal",!1),x=function(se,Ae){return Ir=!0,Ae},L=function(se,Ae,Ke,ht){var Pt=(Ae==="selectordinal"?a.ordinal:a.cardinal)||["zero","one","two","few","many","other"];return Pt&&Pt.length&&ht.forEach(function(Mt){if(isNaN(Mt.key)&&Pt.indexOf(Mt.key)<0)throw new Error("Invalid key `"+Mt.key+"` for argument `"+se+"`. Valid "+Ae+" keys for this locale are `"+Pt.join("`, `")+"`, and explicit keys like `=0`.")}),Ir=!1,{type:Ae,arg:se,offset:Ke||0,cases:ht}},H=function(se,Ae,Ke){return{type:"function",arg:se,key:Ae,params:Ke}},G=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-,;-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,X=zn([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029",["!",","],[";","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!0,!1),K=function(se,Ae){return{key:se,tokens:Ae}},J=function(se){return se},z="offset",k=Qt("offset",!1),F=":",q=Qt(":",!1),N=function(se){return se},M="=",U=Qt("=",!1),Q=function(se){return a.strictFunctionParams},$=function(se){return se},ee=function(se){return se.replace($i,"")},oe="''",pe=Qt("''",!1),me=function(){return"'"},Se=/^[^']/,Pe=zn(["'"],!0,!1),He="'{",fe=Qt("'{",!1),ve="'",ae=Qt("'",!1),le=function(se){return"{"+se.join("")},Ee="'}",xe=Qt("'}",!1),_e=function(se){return"}"+se.join("")},Re="'#",Be=Qt("'#",!1),nt=function(se){return"#"+se.join("")},Je=function(se){return se[0]},ue=function(se){return!Ir},we=function(se){return se},We=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,qe=zn(["{","}","#","\\",["\0","\b"],["�","�"],"\x7F"],!0,!1),Ie="\\\\",Me=Qt("\\\\",!1),Ve=function(){return"\\"},Ne="\\#",ke=Qt("\\#",!1),et=function(){return"#"},st="\\{",Ce=Qt("\\{",!1),it=function(){return"{"},ct="\\}",mt=Qt("\\}",!1),Ct=function(){return"}"},Ht="\\u",Rt=Qt("\\u",!1),cn=function(se,Ae,Ke,ht){return String.fromCharCode(parseInt("0x"+se+Ae+Ke+ht))},Cn=/^[^',}]/,hn=zn(["'",",","}"],!0,!1),fn=/^[^'}]/,_n=zn(["'","}"],!0,!1),Mn=/^[0-9]/,er=zn([["0","9"]],!1,!1),sr=/^[0-9a-fA-F]/,ri=zn([["0","9"],["a","f"],["A","F"]],!1,!1),Ar=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,ur=zn([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029"],!1,!1),Oe=0,Tt=0,Tr=[{line:1,column:1}],Ln=0,Jr=[],bt=0,Ur;if("startRule"in a){if(!(a.startRule in r))throw new Error("Can't start parsing from rule \""+a.startRule+'".');i=r[a.startRule]}function pr(){return n.substring(Tt,Oe)}function ln(){return gn(Tt,Oe)}function Cr(se,Ae){throw Ae=Ae!==void 0?Ae:gn(Tt,Oe),$n([jr(se)],n.substring(Tt,Oe),Ae)}function ii(se,Ae){throw Ae=Ae!==void 0?Ae:gn(Tt,Oe),Br(se,Ae)}function Qt(se,Ae){return{type:"literal",text:se,ignoreCase:Ae}}function zn(se,Ae,Ke){return{type:"class",parts:se,inverted:Ae,ignoreCase:Ke}}function ai(){return{type:"any"}}function gr(){return{type:"end"}}function jr(se){return{type:"other",description:se}}function cr(se){var Ae=Tr[se],Ke;if(Ae)return Ae;for(Ke=se-1;!Tr[Ke];)Ke--;for(Ae=Tr[Ke],Ae={line:Ae.line,column:Ae.column};Ke<se;)n.charCodeAt(Ke)===10?(Ae.line++,Ae.column=1):Ae.column++,Ke++;return Tr[se]=Ae,Ae}function gn(se,Ae){var Ke=cr(se),ht=cr(Ae);return{start:{offset:se,line:Ke.line,column:Ke.column},end:{offset:Ae,line:ht.line,column:ht.column}}}function Et(se){Oe<Ln||(Oe>Ln&&(Ln=Oe,Jr=[]),Jr.push(se))}function Br(se,Ae){return new e(se,null,null,Ae)}function $n(se,Ae,Ke){return new e(e.buildMessage(se,Ae),se,Ae,Ke)}function Pn(){var se,Ae;for(se=[],Ae=An();Ae!==t;)se.push(Ae),Ae=An();return se}function An(){var se,Ae,Ke;if(se=$e(),se===t&&(se=Ue(),se===t&&(se=re(),se===t&&(se=ie(),se===t&&(se=Oe,n.charCo
7deAt(Oe)===35?(Ae=o,Oe++):(Ae=t,bt===0&&Et(d)),Ae!==t?(Tt=Oe,Ke=u(),Ke?Ke=void 0:Ke=t,Ke!==t?(Tt=se,Ae=l(),se=Ae):(Oe=se,se=t)):(Oe=se,se=t),se===t))))){if(se=Oe,Ae=[],Ke=lr(),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Ke=lr();else Ae=t;Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae}return se}function $e(){var se,Ae,Ke,ht,Pt,Mt;return se=Oe,n.charCodeAt(Oe)===123?(Ae=g,Oe++):(Ae=t,bt===0&&Et(v)),Ae!==t?(Ke=Jt(),Ke!==t?(ht=de(),ht!==t?(Pt=Jt(),Pt!==t?(n.charCodeAt(Oe)===125?(Mt=h,Oe++):(Mt=t,bt===0&&Et(p)),Mt!==t?(Tt=se,Ae=m(ht),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function Ue(){var se,Ae,Ke,ht,Pt,Mt,Bn,mn,nn,Xn,yr,Qn,Kt,Vt;if(se=Oe,n.charCodeAt(Oe)===123?(Ae=g,Oe++):(Ae=t,bt===0&&Et(v)),Ae!==t)if(Ke=Jt(),Ke!==t)if(ht=de(),ht!==t)if(Pt=Jt(),Pt!==t)if(n.charCodeAt(Oe)===44?(Mt=P,Oe++):(Mt=t,bt===0&&Et(_)),Mt!==t)if(Bn=Jt(),Bn!==t)if(mn=Oe,n.substr(Oe,6)===b?(nn=b,Oe+=6):(nn=t,bt===0&&Et(S)),nn!==t&&(Tt=mn,nn=E(ht,nn)),mn=nn,mn!==t)if(nn=Jt(),nn!==t)if(n.charCodeAt(Oe)===44?(Xn=P,Oe++):(Xn=t,bt===0&&Et(_)),Xn!==t)if(yr=Jt(),yr!==t){if(Qn=[],Kt=je(),Kt!==t)for(;Kt!==t;)Qn.push(Kt),Kt=je();else Qn=t;Qn!==t?(Kt=Jt(),Kt!==t?(n.charCodeAt(Oe)===125?(Vt=h,Oe++):(Vt=t,bt===0&&Et(p)),Vt!==t?(Tt=se,Ae=A(ht,Qn),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)}else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;return se}function re(){var se,Ae,Ke,ht,Pt,Mt,Bn,mn,nn,Xn,yr,Qn,Kt,Vt,Bt;if(se=Oe,n.charCodeAt(Oe)===123?(Ae=g,Oe++):(Ae=t,bt===0&&Et(v)),Ae!==t)if(Ke=Jt(),Ke!==t)if(ht=de(),ht!==t)if(Pt=Jt(),Pt!==t)if(n.charCodeAt(Oe)===44?(Mt=P,Oe++):(Mt=t,bt===0&&Et(_)),Mt!==t)if(Bn=Jt(),Bn!==t)if(mn=Oe,n.substr(Oe,6)===T?(nn=T,Oe+=6):(nn=t,bt===0&&Et(I)),nn===t&&(n.substr(Oe,13)===R?(nn=R,Oe+=13):(nn=t,bt===0&&Et(j))),nn!==t&&(Tt=mn,nn=x(ht,nn)),mn=nn,mn!==t)if(nn=Jt(),nn!==t)if(n.charCodeAt(Oe)===44?(Xn=P,Oe++):(Xn=t,bt===0&&Et(_)),Xn!==t)if(yr=Jt(),yr!==t)if(Qn=pt(),Qn===t&&(Qn=null),Qn!==t){if(Kt=[],Vt=Ze(),Vt!==t)for(;Vt!==t;)Kt.push(Vt),Vt=Ze();else Kt=t;Kt!==t?(Vt=Jt(),Vt!==t?(n.charCodeAt(Oe)===125?(Bt=h,Oe++):(Bt=t,bt===0&&Et(p)),Bt!==t?(Tt=se,Ae=L(ht,mn,Qn,Kt),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)}else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;else Oe=se,se=t;return se}function ie(){var se,Ae,Ke,ht,Pt,Mt,Bn,mn,nn,Xn,yr;return se=Oe,n.charCodeAt(Oe)===123?(Ae=g,Oe++):(Ae=t,bt===0&&Et(v)),Ae!==t?(Ke=Jt(),Ke!==t?(ht=de(),ht!==t?(Pt=Jt(),Pt!==t?(n.charCodeAt(Oe)===44?(Mt=P,Oe++):(Mt=t,bt===0&&Et(_)),Mt!==t?(Bn=Jt(),Bn!==t?(mn=Oe,nn=de(),nn!==t&&(Tt=mn,nn=E(ht,nn)),mn=nn,mn!==t?(nn=Jt(),nn!==t?(Xn=$t(),Xn!==t?(n.charCodeAt(Oe)===125?(yr=h,Oe++):(yr=t,bt===0&&Et(p)),yr!==t?(Tt=se,Ae=H(ht,mn,Xn),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function de(){var se,Ae,Ke;if(se=Oe,Ae=[],G.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(X)),Ke!==t)for(;Ke!==t;)Ae.push(Ke),G.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(X));else Ae=t;return Ae!==t?se=n.substring(se,Oe):se=Ae,se}function ye(){var se,Ae,Ke;if(se=Oe,Ae=[],Ke=Gr(),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Ke=Gr();else Ae=t;return Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae,se}function Ge(){var se,Ae,Ke;if(se=Oe,Ae=[],Ke=Zr(),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Ke=Zr();else Ae=t;return Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae,se}function je(){var se,Ae,Ke,ht,Pt;return se=Oe,Ae=Jt(),Ae!==t?(Ke=de(),Ke!==t?(ht=Jt(),ht!==t?(Pt=dt(),Pt!==t?(Tt=se,Ae=K(Ke,Pt),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function Ze(){var se,Ae,Ke,ht,Pt;return se=Oe,Ae=Jt(),Ae!==t?(Ke=gt(),Ke!==t?(ht=Jt(),ht!==t?(Pt=dt(),Pt!==t?(Tt=se,Ae=K(Ke,Pt),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function dt(){var se,Ae,Ke,ht,Pt,Mt;if(se=Oe,n.charCodeAt(Oe)===123?(Ae=g,Oe++):(Ae=t,bt===0&&Et(v)),Ae!==t)if(Ke=Oe,ht=Jt(),ht!==t?(Pt=Oe,bt++,n.charCo
7deAt(Oe)===123?(Mt=g,Oe++):(Mt=t,bt===0&&Et(v)),bt--,Mt!==t?(Oe=Pt,Pt=void 0):Pt=t,Pt!==t?(ht=[ht,Pt],Ke=ht):(Oe=Ke,Ke=t)):(Oe=Ke,Ke=t),Ke===t&&(Ke=null),Ke!==t){for(ht=[],Pt=An();Pt!==t;)ht.push(Pt),Pt=An();ht!==t?(Pt=Jt(),Pt!==t?(n.charCodeAt(Oe)===125?(Mt=h,Oe++):(Mt=t,bt===0&&Et(p)),Mt!==t?(Tt=se,Ae=J(ht),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)}else Oe=se,se=t;else Oe=se,se=t;return se}function pt(){var se,Ae,Ke,ht,Pt,Mt,Bn,mn;return se=Oe,Ae=Jt(),Ae!==t?(n.substr(Oe,6)===z?(Ke=z,Oe+=6):(Ke=t,bt===0&&Et(k)),Ke!==t?(ht=Jt(),ht!==t?(n.charCodeAt(Oe)===58?(Pt=F,Oe++):(Pt=t,bt===0&&Et(q)),Pt!==t?(Mt=Jt(),Mt!==t?(Bn=oi(),Bn!==t?(mn=Jt(),mn!==t?(Tt=se,Ae=N(Bn),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function gt(){var se,Ae,Ke;return se=de(),se===t&&(se=Oe,n.charCodeAt(Oe)===61?(Ae=M,Oe++):(Ae=t,bt===0&&Et(U)),Ae!==t?(Ke=oi(),Ke!==t?(Tt=se,Ae=N(Ke),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)),se}function $t(){var se,Ae,Ke;for(se=Oe,Ae=[],Ke=tr();Ke!==t;)Ae.push(Ke),Ke=tr();if(Ae!==t?(Tt=Oe,Ke=Q(Ae),Ke?Ke=t:Ke=void 0,Ke!==t?(Tt=se,Ae=$(Ae),se=Ae):(Oe=se,se=t)):(Oe=se,se=t),se===t){for(se=Oe,Ae=[],Ke=sn();Ke!==t;)Ae.push(Ke),Ke=sn();Ae!==t?(Tt=Oe,Ke=Q(Ae),Ke?Ke=void 0:Ke=t,Ke!==t?(Tt=se,Ae=$(Ae),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)}return se}function sn(){var se,Ae,Ke,ht;return se=Oe,Ae=Jt(),Ae!==t?(n.charCodeAt(Oe)===44?(Ke=P,Oe++):(Ke=t,bt===0&&Et(_)),Ke!==t?(ht=Ge(),ht!==t?(Tt=se,Ae=$(ht),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function tr(){var se,Ae,Ke,ht,Pt,Mt;return se=Oe,Ae=Jt(),Ae!==t?(n.charCodeAt(Oe)===44?(Ke=P,Oe++):(Ke=t,bt===0&&Et(_)),Ke!==t?(ht=Jt(),ht!==t?(Pt=ye(),Pt!==t?(Mt=Jt(),Mt!==t?(Tt=se,Ae=ee(Pt),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t),se}function Wn(){var se,Ae;return se=Oe,n.substr(Oe,2)===oe?(Ae=oe,Oe+=2):(Ae=t,bt===0&&Et(pe)),Ae!==t&&(Tt=se,Ae=me()),se=Ae,se}function Rn(){var se,Ae,Ke;if(se=Wn(),se===t){if(se=Oe,Ae=[],Se.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(Pe)),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Se.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(Pe));else Ae=t;Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae}return se}function nr(){var se,Ae,Ke,ht;if(se=Oe,n.substr(Oe,2)===He?(Ae=He,Oe+=2):(Ae=t,bt===0&&Et(fe)),Ae!==t){for(Ke=[],ht=Rn();ht!==t;)Ke.push(ht),ht=Rn();Ke!==t?(n.charCodeAt(Oe)===39?(ht=ve,Oe++):(ht=t,bt===0&&Et(ae)),ht!==t?(Tt=se,Ae=le(Ke),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)}else Oe=se,se=t;if(se===t)if(se=Oe,n.substr(Oe,2)===Ee?(Ae=Ee,Oe+=2):(Ae=t,bt===0&&Et(xe)),Ae!==t){for(Ke=[],ht=Rn();ht!==t;)Ke.push(ht),ht=Rn();Ke!==t?(n.charCodeAt(Oe)===39?(ht=ve,Oe++):(ht=t,bt===0&&Et(ae)),ht!==t?(Tt=se,Ae=_e(Ke),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)}else Oe=se,se=t;return se}function jn(){var se,Ae,Ke,ht,Pt,Mt;if(se=nr(),se===t){if(se=Oe,Ae=Oe,Ke=Oe,n.substr(Oe,2)===Re?(ht=Re,Oe+=2):(ht=t,bt===0&&Et(Be)),ht!==t){for(Pt=[],Mt=Rn();Mt!==t;)Pt.push(Mt),Mt=Rn();Pt!==t?(n.charCodeAt(Oe)===39?(Mt=ve,Oe++):(Mt=t,bt===0&&Et(ae)),Mt!==t?(Tt=Ke,ht=nt(Pt),Ke=ht):(Oe=Ke,Ke=t)):(Oe=Ke,Ke=t)}else Oe=Ke,Ke=t;Ke!==t?(Tt=Oe,ht=u(),ht?ht=void 0:ht=t,ht!==t?(Ke=[Ke,ht],Ae=Ke):(Oe=Ae,Ae=t)):(Oe=Ae,Ae=t),Ae!==t&&(Tt=se,Ae=Je(Ae)),se=Ae,se===t&&(n.charCodeAt(Oe)===39?(se=ve,Oe++):(se=t,bt===0&&Et(ae)))}return se}function mr(){var se;return se=nr(),se===t&&(n.charCodeAt(Oe)===39?(se=ve,Oe++):(se=t,bt===0&&Et(ae))),se}function lr(){var se,Ae,Ke,ht,Pt,Mt;return se=Wn(),se===t&&(se=jn(),se===t&&(se=Oe,n.charCodeAt(Oe)===35?(Ae=o,Oe++):(Ae=t,bt===0&&Et(d)),Ae!==t?(Tt=Oe,Ke=ue(Ae),Ke?Ke=void 0:Ke=t,Ke!==t?(Tt=se,Ae=we(Ae),se=Ae):(Oe=se,se=t)):(Oe=se,se=t),se===t&&(We.test(n.charAt(Oe))?(se=n.charAt(Oe),Oe++):(se=t,bt===0&&Et(qe)),se===t&&(se=Oe,n.substr(Oe,2)===Ie?(Ae=Ie,Oe+=2):(Ae=t,bt===0&&Et(Me)),Ae!==t&&(Tt=se,Ae=Ve()),se=Ae,se===t&&(se=Oe,n.substr(Oe,2)===Ne?(Ae=Ne,Oe+=2):(Ae=t,bt===0&&Et(ke)),Ae!==t&&(Tt=se,Ae=et()),se=Ae,se===t&&(se=Oe,n.substr(Oe,2)===st?(Ae=st,Oe+=2):(Ae=t,bt===0&&Et(Ce)),Ae!==t&&(Tt=se,Ae=it()),se=Ae,se===t&&(se=Oe,n.substr(Oe,2)===ct?(Ae=ct,Oe+=2):(Ae=t,bt===0&&Et(mt)),Ae!==t&&(Tt=se,Ae=Ct()),se=Ae,se===t&&(se=Oe,n.substr(Oe,2)===Ht?(Ae=Ht,Oe+=2):(Ae=t,bt===0&&Et(Rt)),Ae!==t?(Ke=Hn(),Ke!==t?(ht=Hn(),ht!==t?(Pt=Hn(),Pt!==t?(Mt=Hn(),Mt!==t?(Tt=se,Ae=cn(Ke,ht,Pt,Mt),se=Ae):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t)):(Oe=se,se=t))))))))),se}function Fr(){var se;return se=Wn(),se===t&&(se=mr()),se}function Gr(){var se,Ae,Ke;if(se=Fr(),se===t){if(se=Oe,Ae=[],Cn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(hn)),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Cn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(hn));else Ae=t;Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae}return se}function Zr(){var se,Ae,Ke;if(se=Fr(),se===t){if(se=Oe,Ae=[],fn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(_n)),Ke!==t)for(;Ke!==t;)Ae.push(Ke),fn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(_n));else Ae=t;Ae!==t&&(Tt=se,Ae=c(Ae)),se=Ae}return se}function oi(){var se,Ae,Ke;if(se=Oe,Ae=[],Mn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(er)),Ke!==t)for(;Ke!==t;)Ae.push(Ke),Mn.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(er));else Ae=t;return Ae!==t?se=n.substring(se,Oe):se=Ae,se}function Hn(){var se;return sr.test(n.charAt(Oe))?(se=n.charAt(Oe),Oe++):(se=t,bt===0&&Et(ri)),se}function Jt(){var se,Ae,Ke;for(se=Oe,Ae=[],Ar.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(ur));Ke!==t;)Ae.push(Ke),Ar.test(n.charAt(Oe))?(Ke=n.charAt(Oe),Oe++):(Ke=t,bt===0&&Et(ur));return Ae!==t?se=n.substring(se,Oe):se=Ae,se}var Ir=!1,ki="[	-\r \x85\u200E\u200F\u2028\u2029]*",$i=new RegExp("^"+ki+"|"+ki+"$","g");if(Ur=i(),Ur!==t&&Oe===n.length)return Ur;throw Ur!==t&&Oe<n.length&&Et(gr()),$n(Jr,Ln<n.length?n.charAt(Ln):null,Ln<n.length?gn(Ln,Ln+1):gn(Ln,Ln))}y.exports={SyntaxError:e,parse:s}},548316:function(y,f,e){"use strict";e.r(f),e.d(f,{default:function(){return G},dismiss:function(){return H},info:function(){return x},isNativeApp:function(){return j},sendEvent:function(){return L}});var s=e(392338),n=e(858240),a=e.n(n),t=e(4636),r=e.n(t),i=e(346797),o=e.n(i),d=e(400666),u=e(633629),l=e.n(u),c=l().parse(window.location.search,{ignoreQueryPrefix:!0}),g=c.platform,v=!!(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.isNativeApp),h=!!(window.NativeApp&&window.NativeApp.isNativeApp),p=h||v,m=g==="mobile-app"&&!p;function P(X,K){var J=Object.keys(X);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(X);K&&(z=z.filter(function(k){return Object.getOwnPropertyDescriptor(X,k).enumerable})),J.push.apply(J,z)}return J}function _(X){for(var K=1;K<arguments.length;K++){var J=arguments[K]!=null?arguments[K]:{};
7K%2?P(Object(J),!0).forEach(function(z){o()(X,z,J[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(J)):P(Object(J)).forEach(function(z){Object.defineProperty(X,z,Object.getOwnPropertyDescriptor(J,z))})}return X}var b=function(K){return function(J,z){var k=K(J);if(!k){console.error("[JS -> Native Bridge] ".concat(J," not found"));return}k(z)}},S=function(){return b(function(K){var J,z,k,F=(J=window)===null||J===void 0||(z=J.webkit)===null||z===void 0||(k=z.messageHandlers)===null||k===void 0?void 0:k[K];if(!(!F||!F.postMessage))return F.postMessage.bind(F)})},E=function(K){return b(function(J){if(!(!window.NativeApp||!window.NativeApp[J]))return function(z){return window.NativeApp[J](K,JSON.stringify(z))}})},A={},T=function(){function X(){if(a()(this,X),o()(this,"messenger",void 0),v)this.messenger=S();else if(h){var K=window.NativeApp&&window.NativeApp.getBridgeId&&window.NativeApp.getBridgeId();this.messenger=E(K)}else this.messenger=function(){throw new Error("mobile platform not correctly identified")}}return r()(X,[{key:"postMessageToNative",value:function(J){var z=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(F,q){var N=k.promiseId||z.storeRequest(F,q),M=_(_({},k),{},{promiseId:N}),U=z.messenger(J,M);if(U instanceof Error)return q(U);k.promiseId&&F(M)})}},{key:"storeRequest",value:function(J,z){var k=(0,d.v4)();return A[k]={resolve:J,reject:z},k}},{key:"retrieveRequest",value:function(J){var z=A[J];return delete A[J],z}},{key:"resolveRequest",value:function(J,z){var k=this.retrieveRequest(J);k&&k.resolve(z)}},{key:"rejectRequest",value:function(J,z){var k=this.retrieveRequest(J);k&&k.reject(z)}}]),X}(),I=T,R=new I;window.MobileWebContainer={resolve:function(K){var J=K.promiseId,z=K.response;R.resolveRequest(J,z)},reject:function(K){var J=K.promiseId,z=K.response;R.rejectRequest(J,z)}};var j=function(){return p||m},x=function(){return R.postMessageToNative("info")},L=function(K,J){return R.postMessageToNative("sendEvent",{name:K,body:J})},H=function(){return m?(window.location="squarespace-mobile://back",Promise.resolve()):R.postMessageToNative("dismiss")},G={isNativeApp:j,info:x,sendEvent:L,dismiss:H}},854153:function(y,f,e){y.exports=e(433571)},121656:function(y,f,e){y.exports=e(433571)},738398:function(y,f,e){"use strict";e.d(f,{A:function(){return t}});var s=e(392338),n={IPHONE_12_PRO_MAX:{HEIGHT:926,WIDTH:428},IPAD:{HEIGHT:1024,WIDTH:768},IPAD_PRO_13:{HEIGHT:1366,WIDTH:1024}},a=[800,1024],t={"mobile-0":["only screen and (pointer: coarse) and (orientation: portrait) and (max-device-height: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (max-device-width: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT,"px)")].join(","),"mobile-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT+1,"px) and (max-device-height: ").concat(n.IPAD.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT+1,"px) and (max-device-width: ").concat(n.IPAD.HEIGHT-1,"px)")].join(","),"tablet-0":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPAD.HEIGHT,"px) and (max-device-height: ").concat(n.IPAD_PRO_13.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPAD.HEIGHT,"px) and (max-device-width: ").concat(n.IPAD_PRO_13.HEIGHT-1,"px)")].join(","),"tablet-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPAD_PRO_13.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPAD_PRO_13.HEIGHT,"px)")].join(","),"desktop-0":"only screen and (any-pointer: fine) and (max-width: ".concat(a[0],"px)"),"desktop-50":"only screen and (any-pointer: fine) and (min-width: ".concat(a[0]+1,"px) and (max-width: ").concat(a[1],"px)"),"desktop-100":"only screen and (any-pointer: fine) and (min-width: ".concat(a[1]+1,"px)")}},352267:function(y,f,e){"use strict";e.d(f,{U:function(){return s}});var s={product:{exit:"cubic-bezier(0.40, 0, 0.68, 0.06)",entrance:"cubic-bezier(0.32, 0.94, 0.60, 1.00)",default:"cubic-bezier(0.66, 0, 0.34, 1.00)"}}},234222:function(y,f,e){"use strict";e.d(f,{C:function(){return a}});var s=e(392338),n=[9.75,11,12,14,16,19,22,28],a=n.map(function(t){return"".concat(t,"px")})},720453:function(y,f,e){"use strict";e.d(f,{v:function(){return s}});var s={book:"400",medium:"500",semibold:"600"}},247973:function(y,f,e){"use strict";e.d(f,{R:function(){return s}});var s={ui:'Clarkson, "Helvetica Neue", Helvetica, Arial, sans-serif',mono:'"SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace'}},54842:function(y,f,e){"use strict";e.r(f),e.d(f,{breakpoints:function(){return P.A},fonts:function(){return _.R},fontSizes:function(){return b.C},fontWeights:function(){return S.v},lineHeights:function(){return E.t},space:function(){return A.D},sizes:function(){return T.J},radii:function(){return I.p},easing:function(){return R.U},time:function(){return j.X},borders:function(){return X},borderWidths:function(){return K},buttonSizes:function(){return J},RosettaColor:function(){return z},colors:function(){return k},shadows:function(){return q}});var s=e(392338),n=e.n(s),a=e(346797),t=e.n(a),r=e(858240),i=e.n(r),o=e(4636),d=e.n(o),u=e(721854),l=e.n(u),c=e(699467),g=e.n(c),v=e(506051),h=e.n(v),p=e(852156),m=e.n(p),P=e(738398),_=e(247973),b=e(234222),S=e(720453),E=e(652778),A=e(66023),T=e(429257),I=e(514656),R=e(352267),j=e(194674);function x(N,M){var U=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);M&&(Q=Q.filter(function($){return Object.getOwnPropertyDescriptor(N,$).enumerable})),U.push.apply(U,Q)}return U}function L(N){for(var M=1;M<arguments.length;M++){var U=arguments[M]!=null?arguments[M]:{};
7M%2?x(Object(U),!0).forEach(function(Q){t()(N,Q,U[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(U)):x(Object(U)).forEach(function(Q){Object.defineProperty(N,Q,Object.getOwnPropertyDescriptor(U,Q))})}return N}function H(N){var M=G();return function(){var Q=h()(N),$;if(M){var ee=h()(this).constructor;$=Reflect.construct(Q,arguments,ee)}else $=Q.apply(this,arguments);return g()(this,$)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(N){return!1}}var X=[0,"1px solid","2px solid"],K=[0,1,2],J=["sizes.200","sizes.250","sizes.300"];J.small="sizes.200",J.medium="sizes.250",J.large="sizes.300";var z=function(N){l()(U,N);var M=H(U);function U(Q,$){var ee;return i()(this,U),ee=M.call(this,Q),ee.defaultValue=Q,ee["100"]=$["100"],ee["200"]=$["200"],ee["300"]=$["300"],ee["400"]=$["400"],ee["500"]=$["500"],ee["600"]=$["600"],ee["700"]=$["700"],ee["800"]=$["800"],ee["900"]=$["900"],ee["950"]=$["950"],ee}return d()(U,[{key:"valueOf",value:function(){return this.defaultValue}}]),U}(m()(String)),k={black:"#313131",white:"#ffffff",blue:new z("#4669BE",{"100":"#27438E","200":"#3356AB","300":"#4669BE","400":"#5B80D4","500":"#7097E4","600":"#8CAEF0","700":"#A8C5F7","800":"#C5D8FA","900":"#E5EFFF","950":"#F4F8FF"}),green:new z("#167C4C",{"100":"#045235","200":"#086841","300":"#167C4C","400":"#2C935E","500":"#49A972","600":"#6ABD8A","700":"#8ED1A4","800":"#B3E3C1","900":"#DCF5E2","950":"#F3FCF5"}),red:new z("#CE2C30",{"100":"#910A1B","200":"#B21923","300":"#CE2C30","400":"#E44B48","500":"#F46E67","600":"#FA8D87","700":"#FEADA8","800":"#FFCBC7","900":"#FFEAE8","950":"#FFF8F7"}),pink:{"100":"#84185D","200":"#A32771","300":"#BB3881","400":"#D65195","500":"#E770A7","600":"#F28EB8","700":"#F9AFCA","800":"#FECEDE","900":"#FFE8EF","950":"#FFF7FA"},orange:{"100":"#753515","200":"#95420E","300":"#B25000","400":"#D46300","500":"#E67F22","600":"#F09B46","700":"#F7B971","800":"#FBD5A1","900":"#FEEED3","950":"#FFF9F0"},gray:{"100":"#0E0E0E","200":"#2B2B2B","300":"#6E6E6E","400":"#6E6E6E","500":"#CCCCCC","600":"#CCCCCC","700":"#E7E7E7","800":"#E7E7E7","900":"#F2F2F2","950":"#F9F9F9"}},F={light:{"100":"0px 2px 8px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)","200":"0px 4px 16px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)","300":"0px 6px 24px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)","400":"0px 8px 32px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)","500":"0px 16px 64px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)"},dark:{"100":"0px 2px 8px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)","200":"0px 4px 16px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)","300":"0px 6px 24px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)","400":"0px 8px 32px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)","500":"0px 16px 64px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)"}},q=L(L({},F.light),F)},652778:function(y,f,e){"use strict";e.d(f,{t:function(){return a}});var s=e(392338),n=[11,16,22,24,28,32],a=n.map(function(t){return"".concat(t,"px")})},514656:function(y,f,e){"use strict";e.d(f,{p:function(){return a}});var s=e(392338),n=Object.assign([0,4,8],{circle:"50%"}),a=n.map(function(t){return"".concat(t,"px")});a.circle="50%"},429257:function(y,f,e){"use strict";e.d(f,{J:function(){return u}});var s=e(346797),n=e.n(s),a=e(375798),t=e.n(a),r=e(392338),i={sizes:{"0":0,"25":1,"50":2,"75":6,"100":11,"125":16,"150":22,"175":28,"200":36,"250":44,"300":55,"350":66,"400":77,"450":88,"700":342,"750":400,"800":480,"900":900}};function o(l,c){var g=Object.keys(l);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(l);c&&(v=v.filter(function(h){return Object.getOwnPropertyDescriptor(l,h).enumerable})),g.push.apply(g,v)}return g}function d(l){for(var c=1;c<arguments.length;c++){var g=arguments[c]!=null?arguments[c]:{};
7c%2?o(Object(g),!0).forEach(function(v){n()(l,v,g[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(g)):o(Object(g)).forEach(function(v){Object.defineProperty(l,v,Object.getOwnPropertyDescriptor(g,v))})}return l}var u={fullwidth:"100vw",sizes:Object.entries(i.sizes).reduce(function(l,c){var g=t()(c,2),v=g[0],h=g[1];return d(d({},l),{},n()({},v,"".concat(h,"px")))},{})}},66023:function(y,f,e){"use strict";e.d(f,{D:function(){return a}});var s=e(392338),n=[0,6,11,16,22,27,33,38,44,49,55],a=n.map(function(t){return"".concat(t,"px")})},194674:function(y,f,e){"use strict";e.d(f,{X:function(){return r}});var s=e(375798),n=e.n(s),a=e(392338),t={"0":0,"50":50,"100":100,"150":150,"200":200,"250":250,"300":300,"350":350,"400":400,"450":450,"500":500,"550":550,"600":600},r=Object.entries(t).reduce(function(i,o){var d=n()(o,2),u=d[0],l=d[1];return i[u]="".concat(l,"ms"),i},{})},40006:function(y,f,e){"use strict";var s=e(551269),n=c(s),a=e(328276),t=c(a),r=e(402761),i=c(r),o=e(9795),d=c(o),u=e(895832),l=c(u);function c(_){return _&&_.__esModule?_:{default:_}}var g=e(331581),v=e(493831),h=e(705660),p={mapLat:40.720882,mapLng:-74.000988,markerLat:null,markerLng:null,mapZoom:12,addressTitle:null,addressLine1:null,addressLine2:null,addressCountry:null},m={style:h.Grayscale,showLabels:!0,showTerrain:!1,draggable:!0,scrollwheel:!0,showControls:!0,disableDefaultUI:!0,markerDraggable:!1,linkOnClick:!0},P=function(){(0,l.default)(_,null,[{key:"createView",value:function(S,E,A,T){return S=(0,i.default)(S).reduce(function(I,R){var j=(0,t.default)(R,2),x=j[0],L=j[1];return L!==void 0&&(I[x]=L),I},{}),S=(0,n.default)({},m,S),E=(0,n.default)({},p,E),E.markerLat===null&&(E.markerLat=E.mapLat),E.markerLng===null&&(E.markerLng=E.mapLng),v(T).then(function(I){return new _(I,S,E,A)})}}]);function _(b,S,E,A){(0,d.default)(this,_),this.GMaps=b,this.ui=S,this.location=E,this.render(A)}return(0,l.default)(_,[{key:"render",value:function(S){var E=this.GMaps;this.container=S;var A=this.location,T=A.markerLat,I=A.markerLng,R=A.mapLat,j=A.mapLng;S.classList.add("page-map"),S.innerHTML="&nbsp;",this.markerLoc=new E.LatLng(T,I),this.mapLoc=new E.LatLng(R,j),this.locationString=this.getLocationString(),this.initMapImpl(),this.initMarkerImpl(),this.updateUIOptions()}},{key:"initMapImpl",value:function(){this.map=new this.GMaps.Map(this.container,{zoom:this.location.mapZoom,center:this.mapLoc,draggable:this.ui.draggable,scrollwheel:this.ui.scrollwheel,disableDefaultUI:this.ui.disableDefaultUI})}},{key:"initMarkerImpl",value:function(){var S=this,E=this.GMaps;this.marker=new E.Marker({map:this.map,animation:E.Animation.DROP,draggable:this.ui.markerDraggable,position:this.markerLoc,title:location.addressTitle?location.addressTitle+" "+this.locationString:this.locationString,icon:""}),E.event.addListener(this.marker,"click",function(){return S.handleMarkerClick()})}},{key:"getLocationString",value:function(){var S=this.location,E=void 0;return S.addressLine1||S.addressLine2?(E=S.addressLine1+" "+S.addressLine2,S.addressCountry&&(E+=", "+S.addressCountry)):E=S.mapLat+","+S.mapLng,E}},{key:"handleMarkerClick",value:function(){if(!(this.marker.dragging||!this.ui.linkOnClick)){var S=encodeURIComponent(this.marker.getPosition().toUrlValue()),E=encodeURIComponent(this.getLocationString()),A=encodeURIComponent(this.map.getZoom());window.open("http://maps.google.com/maps?sll="+S+"&q="+E+"&z="+A)}}},{key:"redraw",value:function(){this.GMaps.event.trigger(this.map,"resize")}},{key:"updateUIOptions",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=this.GMaps;(0,n.default)(this.ui,S);var A=this.ui,T=A.showControls,I=A.showTerrain,R=A.showLabels,j=A.draggable,x=A.disableDefaultUI,L=A.scrollwheel,H=A.markerDraggable,G=g(this.ui.style);R&&G.labels&&Array.prototype.push.apply(G.colors,G.labels);var X=void 0;G.satellite?X=E.MapTypeId.HYBRID:I?X=E.MapTypeId.TERRAIN:X=E.MapTypeId.ROADMAP;var K={mapTypeControl:!1,mapTypeId:X,overviewMapControl:!1,panControl:T,scaleControl:T,streetViewControl:!1,styles:G.colors,zoomControl:T,draggable:j,disableDefaultUI:x,scrollwheel:L};this.map.setOptions(K);var J={draggable:H};if(this.marker.setOptions(J),G.marker){var z=G.marker.imgUrl,k=G.marker.naturalWi
7dth,F=G.marker.naturalHeight;this.marker.setIcon({url:z,size:new E.Size(k,F),scaledSize:new E.Size(k/2,F/2),anchor:new E.Point(k/4,F/2)})}else this.marker.setIcon(null)}},{key:"updateLocation",value:function(S){"mapLat"in S&&"mapLng"in S&&this.updateCenter(S.mapLat,S.mapLng),"markerLat"in S&&"markerLng"in S&&this.updateMarker(S.markerLat,S.markerLng),"zoom"in S&&this.setZoom(S.zoom)}},{key:"centerMarker",value:function(){this.redraw(),this.map.setCenter(this.marker.getPosition())}},{key:"getCenter",value:function(){var S=this.map.getCenter();return{lat:S.lat(),lng:S.lng()}}},{key:"updateCenter",value:function(S,E){this.location.mapLat=S,this.location.mapLng=E,this.map.setCenter(new this.GMaps.LatLng(S,E))}},{key:"getMarkerPosition",value:function(){var S=this.marker.getPosition();return{lat:S.lat(),lng:S.lng()}}},{key:"updateMarker",value:function(S,E){this.location.markerLat=S,this.location.markerLng=E;var A=this.getLocationString();this.marker.setPosition(new this.GMaps.LatLng(S,E)),this.marker.title=location.addressTitle?location.addressTitle+" "+A:A}},{key:"setZoom",value:function(S){this.location.zoom=S,this.map.setZoom(S)}}]),_}();y.exports=P},705660:function(y){"use strict";var f={imgUrl:"universal/images-v6/icons/cover-pages-map-marker-pin-dark-2x.png",naturalWidth:48,naturalHeight:64},e={imgUrl:"../images-v6/icons/cover-pages-map-marker-pin-light-2x.png",naturalWidth:48,naturalHeight:64},s={Original:{marker:null,colors:[{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Grayscale:{marker:f,colors:[{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:51}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{gamma:2.51}
7]},{featureType:"road.arterial",elementType:"all",stylers:[{gamma:1.9}]},{featureType:"water",elementType:"all",stylers:[{gamma:1.36}]},{featureType:"road.highway",elementType:"all",stylers:[{gamma:1.33}]},{featureType:"transit.station.rail",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit.station.bus",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit",elementType:"all",stylers:[{gamma:1.2},{hue:"#0033ff"}]},{featureType:"administrative.neighborhood",elementType:"labels",stylers:[{gamma:1.43}]},{featureType:"water",elementType:"all",stylers:[{lightness:-47}]},{featureType:"all",elementType:"all",stylers:[{saturation:-100}]},{featureType:"road.arterial",elementType:"labels",stylers:[{lightness:23}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Satellite:{satellite:!0,marker:null,colors:[{stylers:[{visibility:"off"}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},MinimalDark:{marker:e,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#0f0f0f"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#1f1f1f"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#5a5a5a"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#777777"}]},{elementType:"labels.text.stroke",stylers:[{weight:2},{visibility:"on"},{color:"#1f1f1f"}]}]},MinimalLight:{marker:f,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#f2f2f2"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]},MinimalBlue:{marker:f,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#ccdee9"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]}};y.exports=s},493831:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(922125),n=t(s),a=e(962625);function t(c){return c&&c.__esModule?c:{default:c}}var r=new a.LocaleResolver,i="https://maps.googleapis.com/maps/api/js?v=3&callback=GoogleMapsApiLoadCallback",o=3e4,d=function(g,v){var h=i+"&key="+v;if(g){var p=r.resolveLocale(g);h+="&language="+p.language+"&region="+p.region}return h},u=function(g){return window.atob(g)},l=function(g,v){return v||(v=u(window.Static.SQUARESPACE_CONTEXT.gmRenderKey)),window.gMapsPromise||(window.gMapsPromise=new n.default(function(h,p){var m=setTimeout(p,o);window.GoogleMapsApiLoadCallback=function(){clearTimeout(m),h(window.google.maps),delete window.GoogleMapsApiLoadCallback};var P=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(P),P.src=d(g,v)})),window.gMapsPromise};f.default=l,y.exports=f.default},832308:function(y,f,e){y.exports=function(s){var n={};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return s[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=s,a.c=n,a.d=function(t,r,i){a.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},a.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,r){if(r&1&&(t=a(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var o in t)a.d(i,o,function(d){return t[d]}.bind(null,o));return i},a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,"a",r),r},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},a.p="",a(a.s=5)}([function(s,n){s.exports=e(638286)},function(s,n){s.exports=e(876978)},function(s,n){s.exports=e(814748)},function(s,n){s.exports=e(808847)},function(s,n){s.exports=e(392338)},function(s,n,a){"use strict";a.r(n),a.d(n,"ClientConfig",function(){}),a.d(n,"EventSource",function(){return g}),a.d(n,"SourceEnvironment",function(){return c}),a.d(n,"default",function(){return q});var t=a(4),r=a(0),i=a.n(r),o=a(1),d=a.n(o),u=a(2),l=a.n(u),c;(function(N){N.DEV="dev",N.QA="qa",N.STAGING="staging",N.PROD="prod"})(c||(c={}));var g;(function(N){N.WEB="WEB",N.IOS="IOS",N.ANDROID="ANDROID",N.SERVER="SERVER"})(g||(g={}));function v(N,M){if(!(N instanceof M))throw new TypeError("Cannot call a class as a function")}function h(N,M){for(var U=0;U<M.length;U++){var Q=M[U];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(N,Q.key,Q)}}function p(N,M,U){return M&&h(N.prototype,M),U&&h(N,U),N}function m(N,M,U){return M in N?Object.defineProperty(N,M,{value:U,enumerable:!0,configurable:!0,writable:!0}):N[M]=U,N}var P=function(){function N(){v(this,N),m(this,"_analyticsId",void 0),m(this,"_config",void 0),m(this,"_defaultPayload",void 0)}return p(N,[{key:"track",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var Q=this._generatePayload(U);
7return this._config.validateMode?this._validateEvent(Q):this._config.url?Q?this._config.useBeacon?this._sendBeacon(Q):this._sendXhr(Q):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var U=function(me){return!me||me==="null"?null:me},Q=U(i.a.get(this._config.storageKey)),$=U(this._getLocalStorageItem()),ee=U(this._analyticsId),oe=Q||$||ee||l()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(oe),oe}},{key:"_getLocalStorageItem",value:function(){var U=!1,Q=localStorage.getItem(this._config.expirationKey);if(Q){var $=new Date,ee=new Date(Q);U=$>ee}return U?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var U=window.location.pathname;return U[U.length-1]==="/"&&(U=U.substring(0,U.length-1)),U}},{key:"_generatePayload",value:function(U){return U}},{key:"_log",value:function(U){this._config.logging&&console.log(U)}},{key:"_sendBeacon",value:function(U){var Q={type:"application/x-www-form-urlencoded"},$=new Blob([d.a.stringify(U)],Q);return navigator.sendBeacon(this._config.url,$),Promise.resolve()}},{key:"_sendXhr",value:function(U,Q){var $=this;Q=Q||this._config.url;var ee=new XMLHttpRequest,oe=JSON.stringify(U),pe=new Set([200,202]);return new Promise(function(me,Se){ee.open("POST",Q,!0),ee.setRequestHeader("Content-Type","application/json"),ee.send(oe),ee.addEventListener("readystatechange",function(){ee.readyState===4&&(pe.has(ee.status)?me():($._warn("Error tracking event: HTTP Status ".concat(ee.status)),Se(new Error("Error tracking event: HTTP Status ".concat(ee.status)))))})})}},{key:"_setAnalyticsId",value:function(U){this._analyticsId=U;var Q=this._config.cookie,$=Q.path,ee=Q.secure,oe=window.location.hostname;this._config.cookie.domains.forEach(function(He){window.location.hostname.indexOf(He)>-1&&(oe=He)});var pe=new Date;pe.setDate(pe.getDate()+this._config.cookie.daysToStore);var me=pe.toUTCString();try{i.a.set(this._config.storageKey,U,{domain:oe,expires:me,path:$,secure:ee});var Se=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(Se){var Pe=new Date(0).toUTCString();i.a.set(this._config.storageKey,null,{expires:Pe})}localStorage.setItem(this._config.storageKey,U),localStorage.setItem(this._config.expirationKey,me)}catch(He){this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(U){return Promise.resolve(U)}},{key:"_warn",value:function(U){this._config.logging&&console.warn(U)}}]),N}(),_=a(3),b=a.n(_),S=function(){var M=window.location.origin;return{url:"".concat(M,"/api/events/RecordEvent"),cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1}}};function E(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(U){return typeof U}:E=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},E(N)}function A(N,M){if(N==null)return{};var U=T(N,M),Q,$;if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(N);for($=0;$<ee.length;$++)Q=ee[$],!(M.indexOf(Q)>=0)&&(!Object.prototype.propertyIsEnumerable.call(N,Q)||(U[Q]=N[Q]))}return U}function T(N,M){if(N==null)return{};var U={},Q=Object.keys(N),$,ee;for(ee=0;ee<Q.length;ee++)$=Q[ee],!(M.indexOf($)>=0)&&(U[$]=N[$]);return U}function I(N,M){var U=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);M&&(Q=Q.filter(function($){return Object.getOwnPropertyDescriptor(N,$).enumerable})),U.push.apply(U,Q)}return U}function R(N){for(var M=1;M<arguments.length;M++){var U=arguments[M]!=null?arguments[M]:{};M%2?I(Object(U),!0).forEach(function(Q){j(N,Q,U[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(U)):I(Object(U)).forEach(function(Q){Object.defineProperty(N,Q,Object.getOwnPropertyDescriptor(U,Q))})}return N}function j(N,M,U){return M in N?Object.defineProperty(N,M,{value:U,enumerable:!0,configurable:!0,writable:!0}):N[M]=U,N}function x(N,M){if(!(N instanceof M))throw new TypeError("Cannot call a class as a function")}function L(N,M){for(var U=0;U<M.length;U++){var Q=M[U];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(N,Q.key,Q)}}function H(N,M,U){return M&&L(N.prototype,M),U&&L(N,U),N}function G(N,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(M&&M.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),M&&X(N,M)}
7function X(N,M){return X=Object.setPrototypeOf||function(Q,$){return Q.__proto__=$,Q},X(N,M)}function K(N){return function(){var M=F(N),U;if(k()){var Q=F(this).constructor;U=Reflect.construct(M,arguments,Q)}else U=M.apply(this,arguments);return J(this,U)}}function J(N,M){return M&&(E(M)==="object"||typeof M=="function")?M:z(N)}function z(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}function F(N){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},F(N)}var q=function(N){G(U,N);var M=K(U);function U(Q){var $,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};x(this,U),$=M.call(this);var oe=S();return $._config=R({},oe,{},Q),$._defaultPayload=ee,$}return H(U,[{key:"_generatePayload",value:function($){var ee=window.location.hash,oe=R({},this._defaultPayload,{},$),pe=oe.websiteId,me=pe===void 0?null:pe,Se=oe.memberAccountId,Pe=Se===void 0?null:Se,He=oe.website_locale,fe=He===void 0?null:He,ve=oe.member_locale,ae=ve===void 0?null:ve,le=oe.templateId,Ee=le===void 0?null:le,xe=oe.variantId,_e=xe===void 0?null:xe,Re=A(oe,["websiteId","memberAccountId","website_locale","member_locale","templateId","variantId"]),Be=R({},Re,{},ee&&{pageHash:ee},{pagePath:this._getNormalizedPathname(),websiteId:me,templateId:Ee,variantId:_e,memberAccountId:Pe,member_locale:ae,website_locale:fe});return this._config.logging&&this._log({payload:R({},Be)}),Be}},{key:"track",value:function($){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this._config.fireEvents===!1)return Promise.resolve();var pe=this._generatePayload(ee);return this._sendXhr({eventName:$,payload:pe},oe)}},{key:"_sendXhr",value:function($,ee,oe){var pe=$.eventName,me=$.payload;return oe=oe||this._config.url,b.a.post(oe,d.a.stringify(R({crumb:i.a.get("crumb"),event:pe},ee,{data:JSON.stringify(me)})),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}},{key:"spawnTracker",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new U(this._config,R({},this._defaultPayload,{},$))}}]),U}(P)}])},906045:function(y,f,e){y.exports=function(s){var n={};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return s[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=s,a.c=n,a.d=function(t,r,i){a.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},a.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,r){if(r&1&&(t=a(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var o in t)a.d(i,o,function(d){return t[d]}.bind(null,o));return i},a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,"a",r),r},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},a.p="",a(a.s=9)}([function(s,n){var a=/^([^=]+)=([^;]*)$/,n=s.exports=function(r,i){r||(r={}),typeof r=="string"&&(r={cookie:r}),r.cookie===void 0&&(r.cookie=""),i!==!1&&(i=!0);var o=function(c){return c},d=i?escape:o,u=i?unescape:o,l={};return l.get=function(c){for(var g=r.cookie.split(/;\s*/),v=0;v<g.length;v++){var h=(g[v]||"").match(a)||[],p=u(h[1]||"");if(p===c)return u(h[2]||"")}},l.set=function(c,g,v){v||(v={});var h=d(c)+"="+d(g);return v.expires&&(h+="; expires="+v.expires),v.path&&(h+="; path="+d(v.path)),v.domain&&(h+="; domain="+d(v.domain)),v.secure&&(h+="; secure"),r.cookie=h,h},l};if(typeof document!="undefined"){var t=n(document);n.get=t.get,n.set=t.set}},function(s,n,a){"use strict";n.decode=n.parse=a(5),n.encode=n.stringify=a(6)},function(s,n,a){var t=a(7),r=a(8);function i(o,d,u){var l=d&&u||0;
7typeof o=="string"&&(d=o==="binary"?new Array(16):null,o=null),o=o||{};var c=o.random||(o.rng||t)();if(c[6]=c[6]&15|64,c[8]=c[8]&63|128,d)for(var g=0;g<16;++g)d[l+g]=c[g];return d||r(c)}s.exports=i},function(s,n){s.exports=function(a){var t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return a[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=a,r.c=t,r.d=function(i,o,d){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:d})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(o&1&&(i=r(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var d=Object.create(null);if(r.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var u in i)r.d(d,u,function(l){return i[l]}.bind(null,u));return d},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="",r(r.s=0)}([function(a,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSessionInfo=m;var i=r(1),o=l(i),d=r(4),u=l(d);function l(P){return P&&P.__esModule?P:{default:P}}var c="SS_IS_FIRST_SESSION",g="SS_HAS_LANDED",v="SS_SESSION_ID",h=["squarespace.com","squarespace.net","sqsp.net"],p=function(_,b){var S=void 0;h.forEach(function(E){window.location.hostname.indexOf(E)>-1&&(S=E)}),S=S||window.location.hostname,u.default.set(_,b,{domain:S,path:"/",secure:window.location.protocol.indexOf("https")>-1})};function m(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(typeof window!="undefined"){if(window._sessionInfo)return window._sessionInfo;try{var _=localStorage.getItem(g),b=sessionStorage.getItem(c),S=b===null,E=_===null||b==="true",A=u.default.get(v);return localStorage.setItem(g,"true"),S&&(E?sessionStorage.setItem(c,"true"):sessionStorage.setItem(c,"false")),!A&&P&&(A=(0,o.default)(),p(v,A)),window._sessionInfo={isFirstLanding:S,isFirstSession:E,sessionId:A},window._sessionInfo}catch(T){return console.warn("Unable access local/session storage."),{isFirstLanding:!1,isFirstSession:!1}}}}},function(a,t,r){var i=r(2),o=r(3);function d(u,l,c){var g=l&&c||0;typeof u=="string"&&(l=u==="binary"?new Array(16):null,u=null),u=u||{};var v=u.random||(u.rng||i)();if(v[6]=v[6]&15|64,v[8]=v[8]&63|128,l)for(var h=0;h<16;++h)l[g+h]=v[h];return l||o(v)}a.exports=d},function(a,t){var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(r){var i=new Uint8Array(16);a.exports=function(){return r(i),i}}else{var o=new Array(16);a.exports=function(){for(var u=0,l;u<16;u++)(u&3)==0&&(l=Math.random()*4294967296),o[u]=l>>>((u&3)<<3)&255;return o}}},function(a,t){for(var r=[],i=0;i<256;++i)r[i]=(i+256).toString(16).substr(1);function o(d,u){var l=u||0,c=r;return[c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]]].join("")}a.exports=o},function(a,t){var r=/^([^=]+)=([^;]*)$/,t=a.exports=function(o,d){o||(o={}),typeof o=="string"&&(o={cookie:o}),o.cookie===void 0&&(o.cookie=""),d!==!1&&(d=!0);var u=function(v){return v},l=d?escape:u,c=d?unescape:u,g={};return g.get=function(v){for(var h=o.cookie.split(/;\s*/),p=0;p<h.length;p++){var m=(h[p]||"").match(r)||[],P=c(m[1]||"");if(P===v)return c(m[2]||"")}},g.set=function(v,h,p){p||(p={});var m=l(v)+"="+l(h);return p.expires&&(m+="; expires="+p.expires),p.path&&(m+="; path="+l(p.path)),p.domain&&(m+="; domain="+l(p.domain)),p.secure&&(m+="; secure"),o.cookie=m,m},g};if(typeof document!="undefined"){var i=t(document);t.get=i.get,t.set=i.set}}])},function(s,n){s.exports=e(392338)},function(s,n,a){"use strict";function t(i,o){return Object.prototype.hasOwnProperty.call(i,o)}s.exports=function(i,o,d,u){o=o||"&",d=d||"=";var l={};
7if(typeof i!="string"||i.length===0)return l;var c=/\+/g;i=i.split(o);var g=1e3;u&&typeof u.maxKeys=="number"&&(g=u.maxKeys);var v=i.length;g>0&&v>g&&(v=g);for(var h=0;h<v;++h){var p=i[h].replace(c,"%20"),m=p.indexOf(d),P,_,b,S;m>=0?(P=p.substr(0,m),_=p.substr(m+1)):(P=p,_=""),b=decodeURIComponent(P),S=decodeURIComponent(_),t(l,b)?r(l[b])?l[b].push(S):l[b]=[l[b],S]:l[b]=S}return l};var r=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"}},function(s,n,a){"use strict";var t=function(d){switch(typeof d){case"string":return d;case"boolean":return d?"true":"false";case"number":return isFinite(d)?d:"";default:return""}};s.exports=function(d,u,l,c){return u=u||"&",l=l||"=",d===null&&(d=void 0),typeof d=="object"?i(o(d),function(g){var v=encodeURIComponent(t(g))+l;return r(d[g])?i(d[g],function(h){return v+encodeURIComponent(t(h))}).join(u):v+encodeURIComponent(t(d[g]))}).join(u):c?encodeURIComponent(t(c))+l+encodeURIComponent(t(d)):""};var r=Array.isArray||function(d){return Object.prototype.toString.call(d)==="[object Array]"};function i(d,u){if(d.map)return d.map(u);for(var l=[],c=0;c<d.length;c++)l.push(u(d[c],c));return l}var o=Object.keys||function(d){var u=[];for(var l in d)Object.prototype.hasOwnProperty.call(d,l)&&u.push(l);return u}},function(s,n){var a=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(a){var t=new Uint8Array(16);s.exports=function(){return a(t),t}}else{var r=new Array(16);s.exports=function(){for(var o=0,d;o<16;o++)(o&3)==0&&(d=Math.random()*4294967296),r[o]=d>>>((o&3)<<3)&255;return r}}},function(s,n){for(var a=[],t=0;t<256;++t)a[t]=(t+256).toString(16).substr(1);function r(i,o){var d=o||0,u=a;return[u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]]].join("")}s.exports=r},function(s,n,a){"use strict";a.r(n),a.d(n,"ClientConfig",function(){}),a.d(n,"EventSource",function(){return g}),a.d(n,"SourceEnvironment",function(){return c}),a.d(n,"default",function(){return J});var t=a(4),r=a(0),i=a.n(r),o=a(1),d=a.n(o),u=a(2),l=a.n(u),c;(function(z){z.DEV="dev",z.QA="qa",z.STAGING="staging",z.PROD="prod"})(c||(c={}));var g;(function(z){z.WEB="WEB",z.IOS="IOS",z.ANDROID="ANDROID",z.SERVER="SERVER"})(g||(g={}));function v(z,k){if(!(z instanceof k))throw new TypeError("Cannot call a class as a function")}function h(z,k){for(var F=0;F<k.length;F++){var q=k[F];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function p(z,k,F){return k&&h(z.prototype,k),F&&h(z,F),z}function m(z,k,F){return k in z?Object.defineProperty(z,k,{value:F,enumerable:!0,configurable:!0,writable:!0}):z[k]=F,z}var P=function(){function z(){v(this,z),m(this,"_analyticsId",void 0),m(this,"_config",void 0),m(this,"_defaultPayload",void 0)}return p(z,[{key:"track",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var q=this._generatePayload(F);return this._config.validateMode?this._validateEvent(q):this._config.url?q?this._config.useBeacon?this._sendBeacon(q):this._sendXhr(q):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var F=function($){return!$||$==="null"?null:$},q=F(i.a.get(this._config.storageKey)),N=F(this._getLocalStorageItem()),M=F(this._analyticsId),U=q||N||M||l()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(U),U}},{key:"_getLocalStorageItem",value:function(){var F=!1,q=localStorage.getItem(this._config.expirationKey);if(q){var N=new Date,M=new Date(q);F=N>M}return F?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var F=window.location.pathname;return F[F.length-1]==="/"&&(F=F.substring(0,F.length-1)),F}},{key:"_generatePayload",value:function(F){return F}},{key:"_log",value:function(F){this._config.logging&&console.log(F)}},{key:"_sendBeacon",value:function(F){var q={type:"application/x-www-form-urlencoded"},N=new Blob([d.a.stringify(F)],q);return navigator.sendBeacon(this._config.url,N),Promise.resolve()}},{key:"_sendXhr",value:function(F,q){var N=this;q=q||this._config.url;var M=new XMLHttpRequest,U=JSON.stringify(F),Q=new Set([200,202]);return new Promise(function($,ee){M.open("POST",q,!0),M.setRequestHeader("Content-Type","application/json"),M.send(U),M.addEventListener("readystatechange",function(){M.readyState===4&&(Q.has(M.status)?$():(N._warn("Error tracking event: HTTP Status ".concat(M.status)),ee(new Error("Error tracking event: HTTP Status ".concat(M.status)))))})})}},{key:"_setAnalyticsId",value:function(F){this._analyticsId=F;var q=this._config.cookie,N=q.path,M=q.secure,U=window.location.hostname;this._config.cookie.domains.forEach(function(pe){window.location.hostname.indexOf(pe)>-1&&(U=pe)});var Q=new Date;Q.setDate(Q.getDate()+this._config.cookie.daysToStore);var $=Q.toUTCString();try{i.a.set(this._config.storageKey,F,{domain:U,expires:$,path:N,secure:M});var ee=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(ee){var oe=new Date(0).toUTCString();i.a.set(this._config.storageKey,null,{expires:oe})}localStorage.setItem(this._config.storageKey,F),localStorage.setItem(this._config.expirationKey,$)}catch(pe){this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(F){return Promise.resolve(F)}},{key:"_warn",value:function(F){this._config.logging&&console.warn(F)}}]),z}(),_=a(3),b={actor:{type:"string",nullable:!1},action:{type:"string",nullable:!1},event_owner_team:{type:"string",nullable:!1},event_source:{type:"string",nullable:!1},object_type:{type:"string",nullable:!1},context_website_identifier:{type:"string",nullable:!0},destination_url:{type:"string",nullable:!0},object_identifier:{type:"string",nullable:!0},object_id:{type:"string",nullable:!0},object_display_name:{type:"string",nullable:!0},object_value:{type:"string",nullable:!0},indirect_object_identifier:{type:"string",nullable:!0},indirect_object_id:{type:"string",nullable:!0},indirect_object_display_name:{type:"string",nullable:!0},indirect_object_value:{type:"string",nullable:!0},indirect_object_type:{type:"string",nullable:!0},product_area:{type:"string",nullable:!0},product_page:{type:"string",nullable:!0},product_section:{type:"string",nullable:!0},product_design_identifier:{type:"string",nullable:!0},user_member_account_id:{type:"string",nullable:!0},user_session_id:{type:"string",nullable:!0},browser_locale:{type:"string",nullable:!0},member_account_locale:{type:"string",nullable:!0},website_locale:{type:"string",nullable:!0},frontsite_language:{type:"string",nullable:!0}},S=function(){var k=window.location.hostname.indexOf("squarespace.com")>-1?"https://events.squarespace.com":"https://events.stage.sqsp.net";return{customSchemaName:null,fireEvents:!0,logging:!1,url:"".concat(k,"/api/v1/events"),useBeacon:!0,storageKey:"SS_ANALYTICS_ID",expirationKey:"SS_ANALYTICS_EXPIRATION",cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1},setAnalyticsCookie:!0}};function E(z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(F){return typeof F}:E=function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},E(z)}function A(){return A=Object.assign||function(z){for(var k=1;k<arguments.length;k++){var F=arguments[k];for(var q in F)Object.prototype.hasOwnProperty.call(F,q)&&(z[q]=F[q])}return z},A.apply(this,arguments)}
7function T(z,k){if(!(z instanceof k))throw new TypeError("Cannot call a class as a function")}function I(z,k){for(var F=0;F<k.length;F++){var q=k[F];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function R(z,k,F){return k&&I(z.prototype,k),F&&I(z,F),z}function j(z,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(k&&k.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),k&&x(z,k)}function x(z,k){return x=Object.setPrototypeOf||function(q,N){return q.__proto__=N,q},x(z,k)}function L(z){return function(){var k=K(z),F;if(X()){var q=K(this).constructor;F=Reflect.construct(k,arguments,q)}else F=k.apply(this,arguments);return H(this,F)}}function H(z,k){return k&&(E(k)==="object"||typeof k=="function")?k:G(z)}function G(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(z){return!1}}function K(z){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},K(z)}var J=function(z){j(F,z);var k=L(F);function F(q){var N,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};T(this,F),N=k.call(this);var U=S();return N._config=A(U,q),N._defaultPayload=M,"sendBeacon"in navigator||(N._config.useBeacon=!1),N}return R(F,[{key:"_generatePayload",value:function(N){var M=A({},this._defaultPayload,N),U=new Date,Q=Object(_.getSessionInfo)(),$={analyticsId:this._getAnalyticsId(),commonData:"",customData:"",customSchemaName:this._config.customSchemaName},ee={browser_window_height:window.innerHeight,browser_window_width:window.innerWidth,browser_language:navigator.language,page_host:window.location.hostname,page_path:this._getNormalizedPathname(),page_query_params:window.location.search,page_referrer_url:document.referrer,resolved_locale:document.documentElement.lang||"en-US",timestamp_client:U.getTime(),user_marketing_id:i.a.get("SS_MID")||null,user_session_id:Q.sessionId||null,browser_locale:navigator.language,member_account_locale:null,website_locale:null,frontsite_language:null},oe={};for(var pe in M)if(M.hasOwnProperty(pe)){var me=M[pe];if(b.hasOwnProperty(pe)){var Se=b[pe];E(me)===Se.type||Se.nullable&&me===null?ee[pe]=me:this._warn("common field ".concat(pe," was not set or was the incorrect type"))}else oe[pe]=me}var Pe=window.Static&&window.Static.SQUARESPACE_CONTEXT;return Pe&&Pe.website&&(ee.context_website_id=Pe.website.id,ee.user_website_id=Pe.website.id),Pe&&Pe.templateId&&(ee.context_template_website_id=Pe.templateId),Pe&&Pe.authenticatedAccount&&(ee.user_member_account_id=Pe.authenticatedAccount.id),$.commonData=JSON.stringify(ee),$.customData=JSON.stringify(oe),$}},{key:"spawnTracker",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=A({},this._defaultPayload,N);return new F(this._config,M)}}]),F}(P)}])},871637:function(y,f,e){y.exports=function(s){var n={};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return s[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=s,a.c=n,a.d=function(t,r,i){a.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},a.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,r){if(r&1&&(t=a(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var o in t)a.d(i,o,function(d){return t[d]}.bind(null,o));return i},a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,"a",r),r},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},a.p="",a(a.s=10)}([function(s,n){var a=/^([^=]+)=([^;]*)$/,n=s.exports=function(r,i){r||(r={}),typeof r=="string"&&(r={cookie:r}),r.cookie===void 0&&(r.cookie=""),i!==!1&&(i=!0);var o=function(c){return c},d=i?escape:o,u=i?unescape:o,l={};return l.get=function(c){for(var g=r.cookie.split(/;\s*/),v=0;v<g.length;v++){var h=(g[v]||"").match(a)||[],p=u(h[1]||"");if(p===c)return u(h[2]||"")}},l.set=function(c,g,v){v||(v={});var h=d(c)+"="+d(g);return v.expires&&(h+="; expires="+v.expires),v.path&&(h+="; path="+d(v.path)),v.domain&&(h+="; domain="+d(v.domain)),v.secure&&(h+="; secure"),r.cookie=h,h},l};if(typeof document!="undefined"){var t=n(document);n.get=t.get,n.set=t.set}},function(s,n,a){"use strict";n.decode=n.parse=a(6),n.encode=n.stringify=a(7)},function(s,n,a){var t=a(8),r=a(9);function i(o,d,u){var l=d&&u||0;
7typeof o=="string"&&(d=o==="binary"?new Array(16):null,o=null),o=o||{};var c=o.random||(o.rng||t)();if(c[6]=c[6]&15|64,c[8]=c[8]&63|128,d)for(var g=0;g<16;++g)d[l+g]=c[g];return d||r(c)}s.exports=i},function(s,n){s.exports=function(a){var t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return a[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=a,r.c=t,r.d=function(i,o,d){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:d})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(o&1&&(i=r(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var d=Object.create(null);if(r.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var u in i)r.d(d,u,function(l){return i[l]}.bind(null,u));return d},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="",r(r.s=0)}([function(a,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSessionInfo=m;var i=r(1),o=l(i),d=r(4),u=l(d);function l(P){return P&&P.__esModule?P:{default:P}}var c="SS_IS_FIRST_SESSION",g="SS_HAS_LANDED",v="SS_SESSION_ID",h=["squarespace.com","squarespace.net","sqsp.net"],p=function(_,b){var S=void 0;h.forEach(function(E){window.location.hostname.indexOf(E)>-1&&(S=E)}),S=S||window.location.hostname,u.default.set(_,b,{domain:S,path:"/",secure:window.location.protocol.indexOf("https")>-1})};function m(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(typeof window!="undefined"){if(window._sessionInfo)return window._sessionInfo;try{var _=localStorage.getItem(g),b=sessionStorage.getItem(c),S=b===null,E=_===null||b==="true",A=u.default.get(v);return localStorage.setItem(g,"true"),S&&(E?sessionStorage.setItem(c,"true"):sessionStorage.setItem(c,"false")),!A&&P&&(A=(0,o.default)(),p(v,A)),window._sessionInfo={isFirstLanding:S,isFirstSession:E,sessionId:A},window._sessionInfo}catch(T){return console.warn("Unable access local/session storage."),{isFirstLanding:!1,isFirstSession:!1}}}}},function(a,t,r){var i=r(2),o=r(3);function d(u,l,c){var g=l&&c||0;typeof u=="string"&&(l=u==="binary"?new Array(16):null,u=null),u=u||{};var v=u.random||(u.rng||i)();if(v[6]=v[6]&15|64,v[8]=v[8]&63|128,l)for(var h=0;h<16;++h)l[g+h]=v[h];return l||o(v)}a.exports=d},function(a,t){var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(r){var i=new Uint8Array(16);a.exports=function(){return r(i),i}}else{var o=new Array(16);a.exports=function(){for(var u=0,l;u<16;u++)(u&3)==0&&(l=Math.random()*4294967296),o[u]=l>>>((u&3)<<3)&255;return o}}},function(a,t){for(var r=[],i=0;i<256;++i)r[i]=(i+256).toString(16).substr(1);function o(d,u){var l=u||0,c=r;return[c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],"-",c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]],c[d[l++]]].join("")}a.exports=o},function(a,t){var r=/^([^=]+)=([^;]*)$/,t=a.exports=function(o,d){o||(o={}),typeof o=="string"&&(o={cookie:o}),o.cookie===void 0&&(o.cookie=""),d!==!1&&(d=!0);var u=function(v){return v},l=d?escape:u,c=d?unescape:u,g={};return g.get=function(v){for(var h=o.cookie.split(/;\s*/),p=0;p<h.length;p++){var m=(h[p]||"").match(r)||[],P=c(m[1]||"");if(P===v)return c(m[2]||"")}},g.set=function(v,h,p){p||(p={});var m=l(v)+"="+l(h);return p.expires&&(m+="; expires="+p.expires),p.path&&(m+="; path="+l(p.path)),p.domain&&(m+="; domain="+l(p.domain)),p.secure&&(m+="; secure"),o.cookie=m,m},g};if(typeof document!="undefined"){var i=t(document);t.get=i.get,t.set=i.set}}])},function(s){s.exports=JSON.parse('{"a":"3.8.0"}')},function(s,n){s.exports=e(392338)},function(s,n,a){"use strict";function t(i,o){return Object.prototype.hasOwnProperty.call(i,o)}s.exports=function(i,o,d,u){o=o||"&",d=d||"=";var l={};
7if(typeof i!="string"||i.length===0)return l;var c=/\+/g;i=i.split(o);var g=1e3;u&&typeof u.maxKeys=="number"&&(g=u.maxKeys);var v=i.length;g>0&&v>g&&(v=g);for(var h=0;h<v;++h){var p=i[h].replace(c,"%20"),m=p.indexOf(d),P,_,b,S;m>=0?(P=p.substr(0,m),_=p.substr(m+1)):(P=p,_=""),b=decodeURIComponent(P),S=decodeURIComponent(_),t(l,b)?r(l[b])?l[b].push(S):l[b]=[l[b],S]:l[b]=S}return l};var r=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"}},function(s,n,a){"use strict";var t=function(d){switch(typeof d){case"string":return d;case"boolean":return d?"true":"false";case"number":return isFinite(d)?d:"";default:return""}};s.exports=function(d,u,l,c){return u=u||"&",l=l||"=",d===null&&(d=void 0),typeof d=="object"?i(o(d),function(g){var v=encodeURIComponent(t(g))+l;return r(d[g])?i(d[g],function(h){return v+encodeURIComponent(t(h))}).join(u):v+encodeURIComponent(t(d[g]))}).join(u):c?encodeURIComponent(t(c))+l+encodeURIComponent(t(d)):""};var r=Array.isArray||function(d){return Object.prototype.toString.call(d)==="[object Array]"};function i(d,u){if(d.map)return d.map(u);for(var l=[],c=0;c<d.length;c++)l.push(u(d[c],c));return l}var o=Object.keys||function(d){var u=[];for(var l in d)Object.prototype.hasOwnProperty.call(d,l)&&u.push(l);return u}},function(s,n){var a=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(a){var t=new Uint8Array(16);s.exports=function(){return a(t),t}}else{var r=new Array(16);s.exports=function(){for(var o=0,d;o<16;o++)(o&3)==0&&(d=Math.random()*4294967296),r[o]=d>>>((o&3)<<3)&255;return r}}},function(s,n){for(var a=[],t=0;t<256;++t)a[t]=(t+256).toString(16).substr(1);function r(i,o){var d=o||0,u=a;return[u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],"-",u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]],u[i[d++]]].join("")}s.exports=r},function(s,n,a){"use strict";a.r(n),a.d(n,"ClientConfig",function(){}),a.d(n,"EventSource",function(){return g}),a.d(n,"SourceEnvironment",function(){return c}),a.d(n,"default",function(){return N}),a.d(n,"SiteVisitorClient",function(){return M});var t=a(5),r=a(0),i=a.n(r),o=a(1),d=a.n(o),u=a(2),l=a.n(u),c;(function(U){U.DEV="dev",U.QA="qa",U.STAGING="staging",U.PROD="prod"})(c||(c={}));var g;(function(U){U.WEB="WEB",U.IOS="IOS",U.ANDROID="ANDROID",U.SERVER="SERVER"})(g||(g={}));function v(U,Q){if(!(U instanceof Q))throw new TypeError("Cannot call a class as a function")}function h(U,Q){for(var $=0;$<Q.length;$++){var ee=Q[$];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(U,ee.key,ee)}}function p(U,Q,$){return Q&&h(U.prototype,Q),$&&h(U,$),U}function m(U,Q,$){return Q in U?Object.defineProperty(U,Q,{value:$,enumerable:!0,configurable:!0,writable:!0}):U[Q]=$,U}var P=function(){function U(){v(this,U),m(this,"_analyticsId",void 0),m(this,"_config",void 0),m(this,"_defaultPayload",void 0)}return p(U,[{key:"track",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var ee=this._generatePayload($);return this._config.validateMode?this._validateEvent(ee):this._config.url?ee?this._config.useBeacon?this._sendBeacon(ee):this._sendXhr(ee):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var $=function(Pe){return!Pe||Pe==="null"?null:Pe},ee=$(i.a.get(this._config.storageKey)),oe=$(this._getLocalStorageItem()),pe=$(this._analyticsId),me=ee||oe||pe||l()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(me),me}},{key:"_getLocalStorageItem",value:function(){var $=!1,ee=localStorage.getItem(this._config.expirationKey);if(ee){var oe=new Date,pe=new Date(ee);$=oe>pe}return $?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var $=window.location.pathname;return $[$.length-1]==="/"&&($=$.substring(0,$.length-1)),$}},{key:"_generatePayload",value:function($){return $}},{key:"_log",value:function($){this._config.logging&&console.log($)}},{key:"_sendBeacon",value:function($){var ee={type:"application/x-www-form-urlencoded"},oe=new Blob([d.a.stringify($)],ee);return navigator.sendBeacon(this._config.url,oe),Promise.resolve()}},{key:"_sendXhr",value:function($,ee){var oe=this;ee=ee||this._config.url;var pe=new XMLHttpRequest,me=JSON.stringify($),Se=new Set([200,202]);return new Promise(function(Pe,He){pe.open("POST",ee,!0),pe.setRequestHeader("Content-Type","application/json"),pe.send(me),pe.addEventListener("readystatechange",function(){pe.readyState===4&&(Se.has(pe.status)?Pe():(oe._warn("Error tracking event: HTTP Status ".concat(pe.status)),He(new Error("Error tracking event: HTTP Status ".concat(pe.status)))))})})}},{key:"_setAnalyticsId",value:function($){this._analyticsId=$;var ee=this._config.cookie,oe=ee.path,pe=ee.secure,me=window.location.hostname;this._config.cookie.domains.forEach(function(ve){window.location.hostname.indexOf(ve)>-1&&(me=ve)});var Se=new Date;Se.setDate(Se.getDate()+this._config.cookie.daysToStore);var Pe=Se.toUTCString();try{i.a.set(this._config.storageKey,$,{domain:me,expires:Pe,path:oe,secure:pe});var He=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(He){var fe=new Date(0).toUTCString();i.a.set(this._config.storageKey,null,{expires:fe})}localStorage.setItem(this._config.storageKey,$),localStorage.setItem(this._config.expirationKey,Pe)}catch(ve){this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function($){return Promise.resolve($)}},{key:"_warn",value:function($){this._config.logging&&console.warn($)}}]),U}(),_=a(3),b=a(4),S=function(){return{devBaseDomainUrl:"https://clanker-events.stage.sqsp.net",cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1},expirationKey:"SS_ANALYTICS_EXPIRATION",fireEvents:!0,logging:!1,sourceEnvironment:c.DEV,storageKey:"SS_ANALYTICS_ID",url:"https://clanker-events.stage.sqsp.net/api/v1/clanker/events",useBeacon:!0,validateMode:!1,setAnalyticsCookie:!0}};function E(U){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function($){return typeof $}:E=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},E(U)}function A(U,Q){if(U==null)return{};var $=T(U,Q),ee,oe;if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(U);for(oe=0;oe<pe.length;oe++)ee=pe[oe],!(Q.indexOf(ee)>=0)&&(!Object.prototype.propertyIsEnumerable.call(U,ee)||($[ee]=U[ee]))}return $}function T(U,Q){if(U==null)return{};var $={},ee=Object.keys(U),oe,pe;for(pe=0;pe<ee.length;pe++)oe=ee[pe],!(Q.indexOf(oe)>=0)&&($[oe]=U[oe]);return $}function I(U,Q){var $=Object.keys(U);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(U);Q&&(ee=ee.filter(function(oe){return Object.getOwnPropertyDescriptor(U,oe).enumerable})),$.push.apply($,ee)}return $}function R(U){for(var Q=1;Q<arguments.length;Q++){var $=arguments[Q]!=null?arguments[Q]:{};
7Q%2?I(Object($),!0).forEach(function(ee){j(U,ee,$[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors($)):I(Object($)).forEach(function(ee){Object.defineProperty(U,ee,Object.getOwnPropertyDescriptor($,ee))})}return U}function j(U,Q,$){return Q in U?Object.defineProperty(U,Q,{value:$,enumerable:!0,configurable:!0,writable:!0}):U[Q]=$,U}function x(){return x=Object.assign||function(U){for(var Q=1;Q<arguments.length;Q++){var $=arguments[Q];for(var ee in $)Object.prototype.hasOwnProperty.call($,ee)&&(U[ee]=$[ee])}return U},x.apply(this,arguments)}function L(U,Q){if(!(U instanceof Q))throw new TypeError("Cannot call a class as a function")}function H(U,Q){for(var $=0;$<Q.length;$++){var ee=Q[$];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(U,ee.key,ee)}}function G(U,Q,$){return Q&&H(U.prototype,Q),$&&H(U,$),U}function X(U,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");U.prototype=Object.create(Q&&Q.prototype,{constructor:{value:U,writable:!0,configurable:!0}}),Q&&K(U,Q)}function K(U,Q){return K=Object.setPrototypeOf||function(ee,oe){return ee.__proto__=oe,ee},K(U,Q)}function J(U){return function(){var Q=q(U),$;if(F()){var ee=q(this).constructor;$=Reflect.construct(Q,arguments,ee)}else $=Q.apply(this,arguments);return z(this,$)}}function z(U,Q){return Q&&(E(Q)==="object"||typeof Q=="function")?Q:k(U)}function k(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}function q(U){return q=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},q(U)}var N=function(U){X($,U);var Q=J($);function $(ee){var oe,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};L(this,$),oe=Q.call(this);var me=S();return oe._config=x(me,ee),oe._defaultPayload=pe,"sendBeacon"in navigator||(oe._config.useBeacon=!1),oe._config.url=oe._generateUrl(),oe}return G($,[{key:"_generatePayload",value:function(oe){var pe=new Date,me=this._config.setAnalyticsCookie,Se=Object(_.getSessionInfo)(me),Pe=R({},this._defaultPayload,{},oe),He=Pe.context_website_id,fe=Pe.custom_schema_name,ve=Pe.destination_url,ae=Pe.member_account_id,le=Pe.object_identifier,Ee=Pe.resolved_locale,xe=Pe.website_locale,_e=Pe.member_account_locale,Re=A(Pe,["context_website_id","custom_schema_name","destination_url","member_account_id","object_identifier","resolved_locale","website_locale","member_account_locale"]),Be={analytics_id:this._getAnalyticsId(),browser_language:navigator.language,browser_window_height:window.innerHeight,browser_window_width:window.innerWidth,client_name:"Javascript Pipeline 2.0 Event Tracker Client",client_version:b.a,marketing_id:i.a.get("SS_MID")||null,page_host:window.location.hostname,page_path:this._getNormalizedPathname(),page_query_params:window.location.search,page_referrer_url:document.referrer,session_id:Se.sessionId||null,enduser_user_agent:navigator.userAgent,event_occurrence_timestamp:pe.getTime(),browser_locale:navigator.language};this._warnOfOverwrittenFields(Pe,Be);var nt=fe||this._config.customSchemaName,Je={eventContent:R({},Re,{},Be,{custom_schema_name:nt,source_environment:this._config.sourceEnvironment,context_website_id:He||null,destination_url:ve||null,member_account_id:ae||null,object_identifier:le||null,resolved_locale:Ee||document.documentElement.lang||"en-US",website_locale:xe||null,member_account_locale:_e||null}),eventSchemaName:nt};return this._config.logging&&this._log({payload:R({},Je)}),Je.eventContent=JSON.stringify(Je.eventContent),Je}},{key:"_warnOfOverwrittenFields",value:function(oe,pe){var me=this;Object.keys(oe).forEach(function(Se){oe.hasOwnProperty(Se)&&pe.hasOwnProperty(Se)&&me._warn("".concat(Se," is auto populated by @sqs/track-events/v2 and was overwritten"))})}},{key:"_generateUrl",value:function(){var oe=this._config,pe=oe.sourceEnvironment,me=oe.devBaseDomainUrl,Se="";switch(pe){case c.DEV:Se="".concat(me,"/api/v1/clanker/events");break;case c.QA:case c.STAGING:Se="https://clanker-events.stage.sqsp.net/api/v1/clanker/events";break;case c.PROD:Se="https://clanker-events.squarespace.com/api/v1/clanker/events";break;default:this._warn("sourceEnvironment needs to be set to one of dev, staging, or prod"),Se=""}return Se}},{key:"spawnTracker",value:function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pe=x({},this._defaultPayload,oe);return new $(this._config,pe)}},{key:"_validateEvent",value:function(oe){var pe="".concat(this._config.devBaseDomainUrl,"/api/v1/clanker/validate-event-content/").concat(this._config.customSchemaName);return this._sendXhr(oe.eventContent,pe)}}]),$}(P),M=function(U){X($,U);var Q=J($);function $(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return L(this,$),Q.call(this,R({},ee,{setAnalyticsCookie:!1}),oe)}return $}(N)}])},342592:function(y,f,e){"use strict";var s=e(875832),n=s(e(858240)),a=s(e(4636)),t=e(731761),r=e(596852),i=e(66934),o=function(){function l(c,g){if((0,n.default)(this,l),typeof c!="function")throw new Error("[Tween] First parameter needs to be a function.");var v=g.duration,h=g.easing,p=g.onEnd;if(v!==void 0&&!i(v))throw new Error("[Tween] Duration is not a finite number.");this.fn=c,this.duration=v===void 0?300:v,this.easingFn=r[h||"linear"],this.onEnd=p}return(0,a.default)(l,[{key:"start",value:function(){var g=this;this.next=t(function(){g.startTime=new Date().getTime(),g.tween()})}},{key:"end",value:function(){this.cancelNext(),this.fn(1),typeof this.onEnd=="function"&&this.onEnd()}},{key:"cancelNext",value:function(){this.next&&(t.cancel(this.next),this.next=null)}},{key:"pause",value:function(){this.next&&(this.cancelNext(),this.pausedTime=new Date().getTime())}},{key:"resume",value:function(){var g=this;!this.pausedTime||(this.next=t(function(){var v=new Date().getTime(),h=v-g.pausedT
7ime;g.startTime+=h,g.tween(),delete g.pausedTime}))}},{key:"isPaused",value:function(){return!!this.pausedTime}},{key:"isRunning",value:function(){return!!this.next}},{key:"getMultiplier",value:function(g){return this.easingFn(g,0,1,1)}},{key:"tween",value:function(){this.next=null;var g=new Date().getTime(),v=this.duration,h=g-this.startTime;if(h>=v){this.end();return}this.fn(this.getMultiplier(h/v)),this.next=t(this.tween.bind(this))}}]),l}(),d=["start","end","resume","pause","isRunning","isPaused"],u=(0,a.default)(function l(c,g){var v=this;(0,n.default)(this,l);var h=new o(c,g);d.forEach(function(p){v[p]=function(){return h[p]()}})});y.exports=u},981976:function(y,f,e){"use strict";var s=e(567020),n=["red","green","blue"],a=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var d=[],u=1/i.length;i=i.map(function(c){return d.push(c.weight||u),typeof c=="string"?s(c):c});var l={};return n.forEach(function(c){l[c]=Math.round(i.reduce(function(g,v,h){return g+v[c]*d[h]},0))}),l.alpha=i.reduce(function(c,g,v){return c+g.alpha*d[v]},0),l};y.exports=a},927826:function(y){"use strict";var f={rgb:["red","green","blue","alpha"],hsl:["hue","saturation","lightness","alpha"],hsv:["hue","saturation","value","alpha"]};y.exports=f},163295:function(y,f,e){"use strict";var s=e(413238),n=e(927826),a=function(r,i,o){var d=s.hsv.hsl(r,i,o);return d.reduce(function(u,l,c){var g=n.hsl[c];return u[g]=l,u},{})};y.exports={hsvToHsl:a}},585470:function(y,f,e){"use strict";var s=e(567020);function n(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"rgb";if(typeof a!="string")throw new TypeError(a+" is not a valid string");return typeof t!="string"&&(t="transparent"),a=a.trim(),s(a,r)||s(t,r)}y.exports=n},483448:function(y,f,e){"use strict";y.exports={averageColors:e(981976),isDark:e(927969),isLight:e(363017),parseColor:e(567020),parseGradient:e(901284),getColor:e(585470),readDominantColor:e(673026),stackColors:e(565070),stringifyColor:e(171754),isHex:e(90616).vq,isHsl:e(90616).u4,convert:e(163295)}},927969:function(y,f,e){"use strict";var s=e(567020),n=function(t){typeof t=="string"&&(t=s(t));var r=(t.red*299+t.green*587+t.blue*114)/1e3;return r<256*.65};y.exports=n},363017:function(y,f,e){"use strict";var s=e(927969),n=function(t){return!s(t)};y.exports=n},404817:function(y,f,e){"use strict";var s=e(525275);y.exports=new s("@sqs/utils/palette","green")},567020:function(y,f,e){"use strict";var s=e(69037),n=e(413238),a=e(927826),t=e(404817),r=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"rgb",u=arguments.length>2?arguments[2]:void 0;if(!Object.keys(a).includes(d))return t.error("Invalid color model: "+d),null;var l=s.get(o);if(!l)return null;var c=l.model,g=l.value,v=g;if(c!==d){var h=n[c][d],p=u===!0?h.raw(g):h(g);v=p.concat(g.slice(3))}return v.reduce(function(m,P,_){var b=a[d][_];return m[b]=P,m},{})};y.exports=r},901284:function(y,f,e){"use strict";var s=e(875832),n=s(e(375798)),a=e(791484),t=Object.keys(a),r=/\)$/,i=/(?:,\s*|\()(?!\s*\d)/,o=/\s(?=[.\w|%]+$)/,d=/(linear(-gradient)?|radial)/,u=function(c){c=c.replace(r,"").split(i);var g=c[0].match(d);if(!g)return null;var v=g[0],h=c[0].indexOf("repeating")>-1,p=c.slice(2).map(function(E){var A=E.split(o),T=(0,n.default)(A,2),I=T[0],R=T[1];return I&&R?{color:I,stop:R}:null}).filter(function(E){return E});if(p.length===0)return null;var m=c[1],P=m.split(o),_=(0,n.default)(P,2),b=_[0],S=_[1];return(b.search(/\d/)>-1||t.indexOf(b)>-1)&&p.unshift({color:b,stop:S}),{type:v,repeating:h,colorStops:p}};y.exports=u},673026:function(y){"use strict";var f=1,e=1,s=function(){var u=document.createElement("canvas");return u.width=f,u.height=e,u},n=function(u,l){var c=u.getContext("2d");c.fillStyle=l,c.fillRect(0,0,u.width,u.height)},a=function(u,l){u.getContext("2d").drawImage(l,0,0,u.width,u.height)},t=function(u,l){var c=u.getContext("2d").createLinearGradient(0,0,0,u.height);l.forEach(function(g){var v=g.color,h=g.stop;c.addColorStop(h,v)}),n(u,c)},r=function(u){u.getContext("2d").clearRect(0,0,u.width,u.height)},i=function(u){try{var l=u.getContext("2d").getImageData(0,0,u.width,u.height),c=l.data;return c}catch(g){return null}},o=function(u){var l=u.img,c=u.gradient,g=s();l?a(g,l):c&&t(g,c);var v=i(g);return r(g),v?{red:v[0],green:v[1],blue:v[2],alpha:v[3]/255}:null};y.exports=o},565070:function(y,f,e){"use strict";var s=e(585470),n=["red","green","blue"],a=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transparent",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"transparent";typeof r=="string"&&(r=s(r)),typeof i=="string"&&(i=s(i));var o=1-(1-r.alpha)*(1-i.alpha),d={alpha:o};o<.001?(n.forEach(function(g){d[g]=0}),d.alpha=0):n.forEach(function(g){d[g]=Math.round(r[g]*r.alpha+i[g]*(1-r.alpha))});for(var u=arguments.length,l=new Array(u>2?u-2:0),c=2;c<u;c++)l[c-2]=arguments[c];return l&&l.length>0?t.apply(void 0,[d].concat(l)):d};y.exports=a},171754:function(y,f,e){"use strict";var s=e(413238),n=e(69037),a=e(927826),t=e(404817),r=function(l){return Object.keys(a).find(function(c){return a[c].every(function(g){return l.hasOwnProperty(g)})})},i=function(l){var c=r(l),g=a[c].map(function(v){return l[v]});return{array:g,model:c}},o=function(l){if(l.alpha!==1)return t.error("Color must have alpha of 1 when stringifying to hex"),null;l=i(l);var c=l.array;if(l.model!=="rgb"){var g=s[l.model].rgb;c=g(l.array)}return n.to.hex(c)}
7,d=function(l,c){if(l.alpha=typeof l.alpha=="number"?l.alpha:1,c==="hex")return o(l);if(l=i(l),c=c||l.model,!l.model)return t.error("Could not determine color model."),null;if(typeof n.to[c]!="function")return t.error("No color-string support for model "+c),null;if(c===l.model)return n.to[l.model](l.array);var g=s[l.model][c],v=g(l.array).concat(l.array.slice(3));return n.to[c](v)};y.exports=d},90616:function(y,f){"use strict";var e;e={value:!0},f.u4=f.vq=void 0;var s=function(t){return t&&t.charAt&&t.charAt(0)==="#"};f.vq=s;var n=function(t){return t&&t.substring&&t.substring(0,3)==="hsl"};f.u4=n},986015:function(y,f,e){"use strict";var s=e(118074),n=function(t,r,i){for(r=s(r),i=s(i);t&&(!i||!i(t));){if(r(t))return t;t=t.parentElement}return null};y.exports=n},85129:function(y,f,e){"use strict";var s=e(986015),n=function(t,r,i){return t?s(t.parentElement,r,i):null};y.exports=n},716839:function(y,f,e){"use strict";var s=e(118074),n=function(t,r,i){r=s(r),i=s(i),t=t.parentElement;for(var o=[];t&&(!i||!i(t));)(!r||r(t))&&o.push(t),t=t.parentElement;return o};y.exports=n},521426:function(y){"use strict";var f={ELEMENT:1,TEXT:3,COMMENT:8,DOCUMENT:9,DOCTYPE:10,FRAGMENT:11};y.exports=f},118074:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(993990)),a=function(r){var i,o=r==null||(i=r.ownerDocument)===null||i===void 0?void 0:i.defaultView;return o&&r instanceof o.Node?function(d){return d===r}:r instanceof Node?function(d){return d===r}:typeof r=="string"?function(d){return(0,n.default)(d,r)}:r};f.default=a,y.exports=f.default},389597:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=d;var n=s(e(603912)),a=s(e(928757));function t(u){if(typeof Symbol=="undefined"||u[Symbol.iterator]==null){if(Array.isArray(u)||(u=r(u))){var l=0,c=function(){};return{s:c,n:function(){return l>=u.length?{done:!0}:{done:!1,value:u[l++]}},e:function(P){throw P},f:c}}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 g,v=!0,h=!1,p;return{s:function(){g=u[Symbol.iterator]()},n:function(){var P=g.next();return v=P.done,P},e:function(P){h=!0,p=P},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(h)throw p}}}}function r(u,l){if(!!u){if(typeof u=="string")return i(u,l);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return i(u,l)}}function i(u,l){(l==null||l>u.length)&&(l=u.length);for(var c=0,g=new Array(l);c<l;c++)g[c]=u[c];return g}function o(u,l){return u instanceof HTMLElement?u:typeof u=="string"?document.body.querySelector(u):u?(0,n.default)(document.body.querySelectorAll(a.default)).find(function(c){return l(c)}):null}function d(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=u.container,c=l===void 0?null:l,g=u.predicate,v=g===void 0?null:g,h=u.root,p=h===void 0?document.body:h,m=u.setFocusOnContain,P=m===void 0?!0:m,_=u.restoreFocusOnRevert,b=_===void 0?!0:_;if(!c&&!v||c&&v)throw new Error("One (and only one) of container and predicate must be set");c&&(v=function(I){return c.contains(I)});var S=document.activeElement,E=[],A=!1;return setTimeout(function(){if(!A){var T=p.querySelectorAll(a.default),I=t(T),R;try{for(I.s();!(R=I.n()).done;){var j=R.value;v(j)||(E.push({element:j,originalTabIndex:j.tabIndex}),j.tabIndex=-1)}}catch(L){I.e(L)}finally{I.f()}var x=o(P,v);x&&typeof x.focus=="function"&&x.focus()}},0),function(){A=!0;var I=t(E),R;try{for(I.s();!(R=I.n()).done;){var j=R.value;j.element.tabIndex=j.originalTabIndex}}catch(x){I.e(x)}finally{I.f()}b&&S&&typeof S.focus=="function"&&S.focus()}}y.exports=f.default},928757:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"iframe"].join(",");f.default=e,y.exports=f.default},533734:function(y,f,e){"use strict";var s=e(875832);
7Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"focusableSelector",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(f,"containFocus",{enumerable:!0,get:function(){return a.default}});var n=s(e(928757)),a=s(e(389597))},525275:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(603912)),a=s(e(4636)),t=s(e(858240)),r=!1;function i(){}function o(l,c){if(c&&typeof console[l]=="function"){for(var g,v=arguments.length,h=new Array(v>2?v-2:0),p=2;p<v;p++)h[p-2]=arguments[p];return(g=console[l]).bind.apply(g,[console].concat(h))}return i}var d=(0,a.default)(function l(c){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,l),this.start=o.apply(void 0,["groupCollapsed",v,c].concat((0,n.default)(g))),this.end=o("groupEnd",v)}),u=(0,a.default)(function l(c,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,l);
7var h="%c[".concat(c,"] %c"),p=["color: ".concat(g,"; font-weight: 300;"),"color: #000; font-weight: 400;"],m=[v,h].concat(p);this.error=o.apply(void 0,["error"].concat((0,n.default)(m))),this.info=o.apply(void 0,["info"].concat((0,n.default)(m))),this.log=o.apply(void 0,["log"].concat((0,n.default)(m))),this.warn=o.apply(void 0,["warn"].concat((0,n.default)(m))),this.group=function(P){return new d("".concat(h).concat(P),p,v)}});f.default=u,y.exports=f.default},49885:function(y){"use strict";var f=function(s,n,a){return Math.max(n,Math.min(s,a))};y.exports=f},66934:function(y){"use strict";var f=function(s){return typeof s=="number"&&!isNaN(s)&&isFinite(s)};y.exports=f},27551:function(y,f,e){"use strict";var s=e(66934),n=function(t,r){return s(t)?t:r};y.exports=n},285760:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.getColorModel=f.darken=f.lighten=f.isColor=f.toHsl=f.toHex=f.toLuma=f.spin=f.hue=f.hsl=void 0;var n=s(e(779291)),a=e(637356),t=function(p,m,P){return(0,n.default)({h:p,s:m,l:P}).toHexString()};f.hsl=t;var r=function(p){return(0,n.default)(p).toHsl().h};f.hue=r;var i=function(p,m){return(0,n.default)(p).spin(m).toHexString()};f.spin=i;var o=function(p){var m=(0,n.default)(p).toRgb(),P=m.r,_=m.g,b=m.b;return .2126*(P/255)+.7152*(_/255)+.0722*(b/255)};f.toLuma=o;var d=function(p){return(0,n.default)(p).toHexString()};f.toHex=d;var u=function(p){return(0,n.default)(p).toHslString()};f.toHsl=u;var l=function(p){return(0,n.default)(p).isValid()};f.isColor=l;var c=function(p,m){return(0,n.default)(p).lighten(m).toHexString()};f.lighten=c;var g=function(p,m){return(0,n.default)(p).darken(m).toHexString()};f.darken=g;var v=function(p){var m,P=(0,n.default)(p).getFormat();return(m=a.ColorModel[P])!==null&&m!==void 0?m:null};f.getColorModel=v},637356:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.SEED_COLOR_ID=f.SELECTOR_COLOR_AS_ORDERED_ARRAY=f.SYSTEM_COLOR_AS_ORDERED_ARRAY=f.SYSTEM_COLOR_CONFIG_MAP=f.ColorModel=f.SystemColorId=f.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=f.HEX_SALMON=f.HEX_WHITE=f.HEX_BLACK=void 0;var n=s(e(346797));function a(p,m){var P=Object.keys(p);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(p);m&&(_=_.filter(function(b){return Object.getOwnPropertyDescriptor(p,b).enumerable})),P.push.apply(P,_)}return P}function t(p){for(var m=1;m<arguments.length;m++){var P=arguments[m]!=null?arguments[m]:{};m%2?a(Object(P),!0).forEach(function(_){(0,n.default)(p,_,P[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(P)):a(Object(P)).forEach(function(_){Object.defineProperty(p,_,Object.getOwnPropertyDescriptor(P,_))})}return p}var r="#000000";f.HEX_BLACK=r;var i="#FFFFFF";f.HEX_WHITE=i;var o="#FFAABB";f.HEX_SALMON=o;var d=.34;f.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=d;var u;f.SystemColorId=u,function(p){p.white="white",p.black="black",p.accent="accent",p.lightAccent="lightAccent",p.darkAccent="darkAccent",p.safeLightAccent="safeLightAccent",p.safeDarkAccent="safeDarkAccent",p.safeInverseAccent="safeInverseAccent",p.safeInverseLightAccent="safeInverseLightAccent",p.safeInverseDarkAccent="safeInverseDarkAccent"}(u||(f.SystemColorId=u={}));var l;f.ColorModel=l,function(p){p.hex="hex",p.hsl="hsl",p.rgb="rgb"}(l||(f.ColorModel=l={}));var c=Object.freeze({white:{hideInSelector:!0,id:u.white,name:"White",order:0,readonly:!1,userVisible:!0},black:{hideInSelector:!0,id:u.black,name:"Black",order:1,readonly:!1,userVisible:!0},safeLightAccent:{hideInSelector:!1,id:u.safeLightAccent,name:"Safe\u2122 Light",order:2,readonly:!0,userVisible:!1},safeDarkAccent:{hideInSelector:!1,id:u.safeDarkAccent,name:"Safe\u2122 Dark",order:3,readonly:!0,userVisible:!1},safeInverseAccent:{hideInSelector:!1,id:u.safeInverseAccent,name:"Safe\u2122 Inverse",order:4,readonly:!0,userVisible:!1},safeInverseLightAccent:{hideInSelector:!1,id:u.safeInverseLightAccent,name:"Safe\u2122 Inverse Light",order:5,readonly:!0,userVisible:!1},safeInverseDarkAccent:{hideInSelector:!1,id:u.safeInverseDarkAccent,name:"Safe\u2122 Inverse Dark",order:6,readonly:!0,userVisible:!1},accent:{hideInSelector:!1,generatorSeed:!0,id:u.accent,name:"Accent",order:7,readonly:!1,userVisible:!0},lightAccent:{hideInSelector:!1,id:u.lightAccent,name:"Light",order:8,readonly:!1,userVisible:!0},darkAccent:{hideInSelector:!1,id:u.darkAccent,name:"Dark",order:9,readonly:!1,userVisible:!0}});f.SYSTEM_COLOR_CONFIG_MAP=c;var g=Object.values(c).sort(function(p,m){return p.order-m.order});f.SYSTEM_COLOR_AS_ORDERED_ARRAY=g;var v=g.map(function(p){var m=p.hideInSelector?!1:p.userVisible;return t({},p,{userVisible:m})});f.SELECTOR_COLOR_AS_ORDERED_ARRAY=v;var h=g.find(function(p){return p.generatorSeed}).id;f.SEED_COLOR_ID=h},444010:function(y,f,e){"use strict";var s=e(875832);
7Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.getPaletteSeedColorString=f.getPaletteColorString=f.getPaletteColorByValue=f.getPaletteColorById=f.stringifyPaletteColorValues=f.stringifyPaletteColorValue=f.parsePaletteColorValues=f.parsePaletteColorValue=f.isValidPaletteColorValue=f.arePaletteColorValuesEqual=f.logger=f.filterPaletteColorsBySystemVisible=f.sortColorsBySystemColorOrder=f.colorsArrayToMap=f.paletteMappingToCacheKey=f.colorsMapToArray=void 0;var n=s(e(569644)),a=s(e(346797)),t=s(e(375798)),r=s(e(133152)),i=e(637356),o=s(e(525275)),d=e(483448),u=e(285760);function l(X,K){var J=Object.keys(X);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(X);K&&(z=z.filter(function(k){return Object.getOwnPropertyDescriptor(X,k).enumerable})),J.push.apply(J,z)}return J}function c(X){for(var K=1;K<arguments.length;K++){var J=arguments[K]!=null?arguments[K]:{};K%2?l(Object(J),!0).forEach(function(z){(0,a.default)(X,z,J[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(J)):l(Object(J)).forEach(function(z){Object.defineProperty(X,z,Object.getOwnPropertyDescriptor(J,z))})}return X}var g=function(K){for(var J=[],z=0,k=Object.entries(K!=null?K:{});z<k.length;z++){var F=(0,t.default)(k[z],2),q=F[0],N=F[1],M=i.SystemColorId[q],U=A(N);M&&U&&J.push({id:M,value:U})}return J};f.colorsMapToArray=g;var v=function(K){return Object.keys(K).sort().map(function(J){return"".concat(J,":").concat(K[J])}).join("-")};f.paletteMappingToCacheKey=v;var h=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return K.reduce(function(J,z){var k=z.id,F=z.value;return J[k]||(J[k]=I(F)),J},{})};f.colorsArrayToMap=h;var p=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.SYSTEM_COLOR_AS_ORDERED_ARRAY,z=(0,r.default)(K,"id");return J.reduce(function(k,F){var q=F.id,N=z[q];return N&&k.push(N),k},[])};f.sortColorsBySystemColorOrder=p;var m=function(K){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.SYSTEM_COLOR_AS_ORDERED_ARRAY,z=p(K==null?void 0:K.colors,J).filter(function(k){var F=k.id;return i.SYSTEM_COLOR_CONFIG_MAP[F].userVisible});return c({},K!=null?K:{},{colors:z})};f.filterPaletteColorsBySystemVisible=m;var P=new o.default("@sqs/utils/palette","orange");f.logger=P;var _=function(K,J){var z,k,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(K==null?void 0:K.values.hue)===(J==null?void 0:J.values.hue)&&(K==null?void 0:K.values.saturation)===(J==null?void 0:J.values.saturation)&&(K==null?void 0:K.values.lightness)===(J==null?void 0:J.values.lightness)&&((z=K==null?void 0:K.values.alpha)!==null&&z!==void 0?z:1)===((k=J==null?void 0:J.values.alpha)!==null&&k!==void 0?k:1)&&(!F||(K==null?void 0:K.userFormat)===(J==null?void 0:J.userFormat))};f.arePaletteColorValuesEqual=_;var b=function(K,J,z){return Boolean(typeof K=="number"&&isFinite(K)&&K>=J&&K<=z)},S=function(K){var J;return Boolean(K&&i.ColorModel[K.userFormat]&&K.values&&b(K.values.hue,0,360)&&b(K.values.saturation,0,100)&&b(K.values.lightness,0,100)&&b((J=K.values.alpha)!==null&&J!==void 0?J:1,0,1))};f.isValidPaletteColorValue=S;var E=function(K){return Math.round(K*100)/100},A=function(K){var J;if(K==null)return null;if((0,n.default)(K)==="object")return S(K)?K:null;var z=(0,d.parseColor)(K,i.ColorModel.hsl,!0);return z?{userFormat:(J=(0,u.getColorModel)(K))!==null&&J!==void 0?J:i.ColorModel.hsl,values:c({hue:E(z.hue),saturation:E(z.saturation),lightness:E(z.lightness)}
7,z.alpha!==1?{alpha:E(z.alpha)}:{})}:null};f.parsePaletteColorValue=A;var T=function(K){return K.colors.map(function(J){return c({},J,{value:A(J.value)})})};f.parsePaletteColorValues=T;var I=function(K){if(K&&(0,n.default)(K)==="object"){var J;return S(K)&&(J=(0,d.stringifyColor)(c({},K.values),K.userFormat))!==null&&J!==void 0?J:null}return K!=null?K:null};f.stringifyPaletteColorValue=I;var R=function(K){return K.colors.map(function(J){return c({},J,{value:I(J.value)})})};f.stringifyPaletteColorValues=R;var j=function(K,J){var z;return(z=K==null?void 0:K.colors.find(function(k){return k.id===J}))!==null&&z!==void 0?z:null};f.getPaletteColorById=j;var x=function(K,J){var z;if(J==null)return null;var k=typeof J=="string"?A(J):J;return(z=K==null?void 0:K.colors.find(function(F){return _(F.value,k,!0)}))!==null&&z!==void 0?z:null};f.getPaletteColorByValue=x;var L=function(K,J){var z=j(K,J);return I(z==null?void 0:z.value)};f.getPaletteColorString=L;var H=function(K){var J;return(J=L(K,i.SEED_COLOR_ID))!==null&&J!==void 0?J:i.HEX_SALMON};f.getPaletteSeedColorString=H;var G={colorsMapToArray:g,colorsArrayToMap:h,sortColorsBySystemColorOrder:p,filterPaletteColorsBySystemVisible:m,logger:P,paletteMappingToCacheKey:v,arePaletteColorValuesEqual:_,isValidPaletteColorValue:S,parsePaletteColorValue:A,parsePaletteColorValues:T,stringifyPaletteColorValue:I,stringifyPaletteColorValues:R,getPaletteColorById:j,getPaletteColorByValue:x,getPaletteColorString:L,getPaletteSeedColorString:H};f.default=G},217802:function(y){"use strict";var f=function(s){return s.scrollingElement||s.documentElement||s.body};y.exports=f},291086:function(y,f,e){"use strict";var s=e(708317),n=e(85129),a=e(521426),t=a.DOCUMENT,r=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d&&s(o,u)?o:n(o,function(l){return s(l,u)},function(l){return l.nodeType===t})};y.exports=r},160203:function(y,f,e){"use strict";var s=e(708317),n=e(716839),a=e(521426),t=a.DOCUMENT,r=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l=[];return d&&s(o,u)&&l.push(o),l.concat(n(o,function(c){return s(c,u)},function(c){return c.nodeType===t}))};y.exports=r},649965:function(y,f,e){"use strict";y.exports={getDocScrollNode:e(217802),getScrollParent:e(291086),getScrollParents:e(160203),isScrollableNode:e(708317),normalizeScrollEmitter:e(958887),normalizeScrollSetter:e(601930),scrollIntoView:e(917311),scrollTo:e(172076)}},708317:function(y,f,e){"use strict";var s=e(420651),n=e(922315),a=e(601930),t="auto",r="scroll",i="visible",o="HTML",d=function(c,g){return c===t||c===r||c===i&&g.nodeName===o},u=function(c){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!s(c,"ownerDocument.defaultView"))return!1;var v=n(c),h=v.overflowX,p=v.overflowY;if(g===!0)return d(p,c)||d(h,c);var m=a(c),P=m.scrollHeight,_=m.scrollWidth,b=m.clientHeight,S=m.clientWidth;return c.nodeName===o&&(b=Math.min(b,c.ownerDocument.defaultView.innerHeight),S=Math.min(S,c.ownerDocument.defaultView.innerWidth)),d(p,c)&&P>b||d(h,c)&&_>S};y.exports=u},958887:function(y){"use strict";var f=function(s){return s&&s.nodeName==="HTML"?s.ownerDocument:s};y.exports=f},601930:function(y,f,e){"use strict";var s=e(521426),n=s.DOCUMENT,a=e(217802),t=function(i){return i?i.nodeType===n?a(i):i.nodeName==="HTML"?a(i.ownerDocument):i:null};y.exports=t},917311:function(y,f,e){"use strict";var s=e(875832),n=s(e(432405)),a=s(e(346797)),t=["scrollNode","anchorToTopLeft","offset"];function r(_,b){var S=Object.keys(_);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(_);b&&(E=E.filter(function(A){return Object.getOwnPropertyDescriptor(_,A).enumerable})),S.push.apply(S,E)}return S}function i(_){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{};b%2?r(Object(S),!0).forEach(function(E){(0,a.default)(_,E,S[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(S)):r(Object(S)).forEac
7h(function(E){Object.defineProperty(_,E,Object.getOwnPropertyDescriptor(S,E))})}return _}var o=e(420651),d=e(601930),u=e(291086),l=e(172076),c=e(49885),g=e(27551),v=/(body|html)/i,h=function(b,S,E,A){return b[0]-E<S[0]||A&&b[1]+E>S[1]?Math.round(b[0]-S[0]-E):b[1]+E>S[1]?Math.round(b[1]-S[1]+E):0},p=function(b){var S=b.getClientRects()[0],E=b.ownerDocument.defaultView.innerWidth,A=b.ownerDocument.defaultView.innerHeight;v.test(b.nodeName)||(E=Math.min(b.clientWidth||b.scrollWidth,E),A=Math.min(b.clientHeight||b.scrollHeight,A));var T=S.left+b.scrollLeft,I=S.top+b.scrollTop;return{width:E,height:A,left:T,top:I,right:T+E,bottom:I+A}},m=function(b,S){typeof b=="boolean"&&(b={anchorToTopLeft:b});var E=b,A=E.scrollNode,T=E.offset;return A||(A=u(S)),A=d(A),T=g(T,30),i({},b,{scrollNode:A,offset:T})},P=function(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=m(S,b),A=E.scrollNode,T=E.anchorToTopLeft,I=E.offset,R=(0,n.default)(E,t);if(!A||!o(A,"ownerDocument.defaultView"))return null;var j=b.getClientRects()[0],x=p(A),L=h([j.left,j.right],[x.left,x.right],I,T),H=h([j.top,j.bottom],[x.top,x.bottom],I,T);if(Math.abs(L)<1&&Math.abs(H)<1)return null;var G=A.scrollWidth-x.width,X=A.scrollHeight-x.height;return l(A,{left:c(A.scrollLeft+L,0,G),top:c(A.scrollTop+H,0,X)},R)};y.exports=P},172076:function(y,f,e){"use strict";var s=e(601930),n=e(49885),a=e(66934),t=e(27551),r=e(342592),i=function(){},o=function(l,c,g){a(c)&&(l.scrollLeft=c),a(g)&&(l.scrollTop=g)},d=function(l,c){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};l=s(l);var v=typeof g.onEnd=="function"?g.onEnd:i,h=t(g.minDuration,50),p=t(g.maxDuration,50),m=g.easing;if(a(c)&&(c={top:c}),m===!1)return o(l,c.left,c.top),v(),null;var P={left:l.scrollLeft,top:l.scrollTop},_=[c.left-P.left,c.top-P.top],b=Math.max.apply(null,_.map(function(E){return Math.abs(E)}).filter(a));if(b<1)return v(),null;var S=new r(function(E){var A=P.left+E*_[0],T=P.top+E*_[1];o(l,A,T)},{onEnd:v,duration:n(b,h,p),easing:typeof m=="string"&&m?m:"easeOutSine"});return S.start(),S};y.exports=d},922315:function(y,f,e){"use strict";var s=e(420651),n=function(t){var r=s(t,"ownerDocument.defaultView");return r?r.getComputedStyle(t):{}};y.exports=n},799035:function(y,f,e){"use strict";e.r(f);var s=e(708380),n=e(304807);function a(Ie,Me){var Ve=Object.keys(Ie);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(Ie);Me&&(Ne=Ne.filter(function(ke){return Object.getOwnPropertyDescriptor(Ie,ke).enumerable})),Ve.push.apply(Ve,Ne)}return Ve}function t(Ie){for(var Me=1;Me<arguments.length;Me++){var Ve=arguments[Me]!=null?arguments[Me]:{};Me%2?a(Object(Ve),!0).forEach(function(Ne){d(Ie,Ne,Ve[Ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(Ve)):a(Object(Ve)).forEach(function(Ne){Object.defineProperty(Ie,Ne,Object.getOwnPropertyDescriptor(Ve,Ne))})}return Ie}function r(Ie,Me){if(!(Ie instanceof Me))throw new TypeError("Cannot call a class as a function")}function i(Ie,Me){for(var Ve=0;Ve<Me.length;Ve++){var Ne=Me[Ve];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Ie,Ne.key,Ne)}}function o(Ie,Me,Ve){return Me&&i(Ie.prototype,Me),Ve&&i(Ie,Ve),Object.defineProperty(Ie,"prototype",{writable:!1}),Ie}function d(Ie,Me,Ve){return Me in Ie?Object.defineProperty(Ie,Me,{value:Ve,enumerable:!0,configurable:!0,writable:!0}):Ie[Me]=Ve,Ie}function u(Ie,Me){return Me={exports:{}},Ie(Me,Me.exports),Me.exports}var l=u(function(Ie){var Me=Ie.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Me)}),c=u(function(Ie){var Me=Ie.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Me)}),g=c.version,v=function(Ie){return typeof Ie=="object"?Ie!==null:typeof Ie=="function"},h=function(Ie){if(!v(Ie))throw TypeError(Ie+" is not an object!");return Ie},p=function(Ie){try{return!!Ie()}catch(Me){return!0}},m=!p(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),P=l.document,_=v(P)&&v(P.createElement),b=function(Ie){return _?P.createElement(Ie):{}},S=!m&&!p(function(){return Object.defineProperty(b("div"),"a",{get:function(){return 7}}).a!=7}),E=function(Ie,Me){if(!v(Ie))return Ie;var Ve,Ne;if(Me&&typeof(Ve=Ie.toString)=="function"&&!v(Ne=Ve.call(Ie))||typeof(Ve=Ie.valueOf)=="function"&&!v(Ne=Ve.call(Ie))||
7!Me&&typeof(Ve=Ie.toString)=="function"&&!v(Ne=Ve.call(Ie)))return Ne;throw TypeError("Can't convert object to primitive value")},A=Object.defineProperty,T=m?Object.defineProperty:function(Me,Ve,Ne){if(h(Me),Ve=E(Ve,!0),h(Ne),S)try{return A(Me,Ve,Ne)}catch(ke){}if("get"in Ne||"set"in Ne)throw TypeError("Accessors not supported!");return"value"in Ne&&(Me[Ve]=Ne.value),Me},I={f:T},R=function(Ie,Me){return{enumerable:!(Ie&1),configurable:!(Ie&2),writable:!(Ie&4),value:Me}},j=m?function(Ie,Me,Ve){return I.f(Ie,Me,R(1,Ve))}:function(Ie,Me,Ve){return Ie[Me]=Ve,Ie},x={}.hasOwnProperty,L=function(Ie,Me){return x.call(Ie,Me)},H=0,G=Math.random(),X=function(Ie){return"Symbol(".concat(Ie===void 0?"":Ie,")_",(++H+G).toString(36))},K=u(function(Ie){var Me="__core-js_shared__",Ve=l[Me]||(l[Me]={});(Ie.exports=function(Ne,ke){return Ve[Ne]||(Ve[Ne]=ke!==void 0?ke:{})})("versions",[]).push({version:c.version,mode:"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})}),J=K("native-function-to-string",Function.toString),z=u(function(Ie){var Me=X("src"),Ve="toString",Ne=(""+J).split(Ve);c.inspectSource=function(ke){return J.call(ke)},(Ie.exports=function(ke,et,st,Ce){var it=typeof st=="function";it&&(L(st,"name")||j(st,"name",et)),ke[et]!==st&&(it&&(L(st,Me)||j(st,Me,ke[et]?""+ke[et]:Ne.join(String(et)))),ke===l?ke[et]=st:Ce?ke[et]?ke[et]=st:j(ke,et,st):(delete ke[et],j(ke,et,st)))})(Function.prototype,Ve,function(){return typeof this=="function"&&this[Me]||J.call(this)})}),k=function(Ie){if(typeof Ie!="function")throw TypeError(Ie+" is not a function!");return Ie},F=function(Ie,Me,Ve){if(k(Ie),Me===void 0)return Ie;switch(Ve){case 1:return function(Ne){return Ie.call(Me,Ne)};case 2:return function(Ne,ke){return Ie.call(Me,Ne,ke)};case 3:return function(Ne,ke,et){return Ie.call(Me,Ne,ke,et)}}return function(){return Ie.apply(Me,arguments)}},q="prototype",N=function(Ie,Me,Ve){var Ne=Ie&N.F,ke=Ie&N.G,et=Ie&N.S,st=Ie&N.P,Ce=Ie&N.B,it=ke?l:et?l[Me]||(l[Me]={}):(l[Me]||{})[q],ct=ke?c:c[Me]||(c[Me]={}),mt=ct[q]||(ct[q]={}),Ct,Ht,Rt,cn;ke&&(Ve=Me);for(Ct in Ve)Ht=!Ne&&it&&it[Ct]!==void 0,Rt=(Ht?it:Ve)[Ct],cn=Ce&&Ht?F(Rt,l):st&&typeof Rt=="function"?F(Function.call,Rt):Rt,it&&z(it,Ct,Rt,Ie&N.U),ct[Ct]!=Rt&&j(ct,Ct,cn),st&&mt[Ct]!=Rt&&(mt[Ct]=Rt)};l.core=c,N.F=1,N.G=2,N.S=4,N.P=8,N.B=16,N.W=32,N.U=64,N.R=128;var M=N,U={}.toString,Q=function(Ie){return U.call(Ie).slice(8,-1)},$=Object("z").propertyIsEnumerable(0)?Object:function(Ie){return Q(Ie)=="String"?Ie.split(""):Object(Ie)},ee=function(Ie){if(Ie==null)throw TypeError("Can't call method on  "+Ie);return Ie},oe=function(Ie){return Object(ee(Ie))},pe=Math.ceil,me=Math.floor,Se=function(Ie){return isNaN(Ie=+Ie)?0:(Ie>0?me:pe)(Ie)},Pe=Math.min,He=function(Ie){return Ie>0?Pe(Se(Ie),9007199254740991):0},fe=Array.isArray||function(Me){return Q(Me)=="Array"},ve=u(function(Ie){var Me=K("wks"),Ve=l.Symbol,Ne=typeof Ve=="function",ke=Ie.exports=function(et){return Me[et]||(Me[et]=Ne&&Ve[et]||(Ne?Ve:X)("Symbol."+et))};ke.store=Me}),ae=ve("species"),le=function(Ie){var Me;return fe(Ie)&&(Me=Ie.constructor,typeof Me=="function"&&(Me===Array||fe(Me.prototype))&&(Me=void 0),v(Me)&&(Me=Me[ae],Me===null&&(Me=void 0))),Me===void 0?Array:Me},Ee=function(Ie,Me){return new(le(Ie))(Me)},xe=function(Ie,Me){var Ve=Ie==1,Ne=Ie==2,ke=Ie==3,et=Ie==4,st=Ie==6,Ce=Ie==5||st,it=Me||Ee;return function(ct,mt,Ct){for(var Ht=oe(ct),Rt=$(Ht),cn=F(mt,Ct,3),Cn=He(Rt.length),hn=0,fn=Ve?it(ct,Cn):Ne?it(ct,0):void 0,_n,Mn;Cn>hn;hn++)if((Ce||hn in Rt)&&(_n=Rt[hn],Mn=cn(_n,hn,Ht),Ie)){if(Ve)fn[hn]=Mn;else if(Mn)switch(Ie){case 3:return!0;case 5:return _n;case 6:return hn;case 2:fn.push(_n)}else if(et)return!1}return st?-1:ke||et?et:fn}},_e=function(Ie,Me){return!!Ie&&p(function(){Me?Ie.call(null,function(){},1):Ie.call(null)})},Re=xe(0),Be=_e([].forEach,!0);M(M.P+M.F*!Be,"Array",{forEach:function(Me){return Re(this,Me,arguments[1])}}),M(M.S+M.F*!m,"Object",{defineProperty:I.f});var nt=function(){},Je=function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
7ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0):!1}(),ue=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),we=function(Me){var Ve=Me,Ne=0;do Ne=Ve.offsetTop+Ne;while(Ve=Ve.offsetParent);return Ne},We=function(){function Ie(Me,Ve){var Ne=this;r(this,Ie),d(this,"onResize",function(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},st=et.shouldSkipUpdate,Ce=st===void 0?!1:st,it=Ne.props.scrollEvents;Ne.computePositionData(),Ne.pos.offsetTop=we(Ne.node),Ne.pos.offsetBottom=document.body.scrollHeight-Ne.pos.offsetTop-Ne.pos.clientHeight,!(!it||Je&&Ce)&&Ne.onUpdate(!0)}),d(this,"onScroll",function(){Ne.onUpdate(!ue)}),d(this,"onIntersect",function(et){et.forEach(function(st){var Ce=st.isIntersecting,it=Ne.props,ct=it.onIntersection,mt=it.windowRef;if(ct(Ce),Ne.onUpdate(),Ce){n.Z.on(Ne.onScroll,mt);return}n.Z.off(Ne.onScroll,mt)})}),d(this,"destroy",function(){Ne.unbindListeners()}),this.props=t(t({},this.constructor.defaultProps),Ve),this.node=Me,this.observer={intersection:null};var ke=this.props.windowRef.pageYOffset;this.pos={scrollTop:ke,top:0,bottom:0,progress:0,intersectionProgress:0,windowHeight:0,clientHeight:0,offsetTop:0,offsetBottom:0,initial:this.getNodePositionData(this.node,ke),isIntersecting:!1}}return o(Ie,[{key:"start",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){if(s.default.on(this.onResize),this.onResize({shouldSkipUpdate:!0}),Je){this.observer.intersection=new IntersectionObserver(this.onIntersect,{rootMargin:"0px 0px 0px 0px"}),this.observer.intersection.observe(this.node);return}else this.onUpdate(!0);n.Z.on(this.onScroll,this.props.windowRef)}},{key:"unbindListeners",value:function(){this.observer.intersection&&this.observer.intersection.unobserve(this.node),s.default.off(this.onResize),n.Z.off(this.onScroll)}},{key:"onUpdate",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ne=this.props,ke=Ne.scrollEvents,et=Ne.normalize,st=Ne.onIntersection,Ce=Ne.onUpdate,it=Ne.windowRef;Ve?this.pos.scrollTop=it.pageYOffset:this.computePositionData();var ct=this.pos,mt=ct.clientHeight,Ct=ct.windowHeight,Ht=ct.initial;this.pos.top=Ht.top-this.pos.scrollTop,this.pos.bottom=Ht.bottom-this.pos.scrollTop-Ct;var Rt=et?Math.min(this.pos.offsetTop,Ct):Ct,cn=et?Math.min(this.pos.offsetBottom,Ct):Ct,Cn=-this.pos.top+Rt,hn=Rt+mt+cn-Ct,fn=1-(this.pos.top+mt)/(Ct+mt),_n=Cn===hn?1:(-this.pos.top+Rt)/(Rt+mt+cn-Ct);this.pos.progress=_n<0?0:_n>1?1:_n,this.pos.intersectionProgress=fn<0?0:fn>1?1:fn,Je||(this.pos.intersectionProgress>0&&this.pos.intersectionProgress<1?this.pos.isIntersecting||(this.pos.isIntersecting=!0,st(this.pos.isIntersecting),this.onResize()):this.pos.isIntersecting&&(this.pos.isIntersecting=!1,st(this.pos.isIntersecting))),!!ke&&Ce(this.pos)}},{key:"computePositionData",value:function(){this.pos.windowHeight=this.props.windowRef.innerHeight,this.pos.clientHeight=this.node.clientHeight,this.pos.scrollTop=this.props.windowRef.pageYOffset,this.pos.initial=this.getNodePositionData(this.node,this.pos.scrollTop)}},{key:"getNodePositionData",value:function(Ve,Ne){var ke=Ve.getBoundingClientRect(),et=ke.top,st=ke.right,Ce=ke.bottom,it=ke.left;return{top:Math.round(et)+Ne,right:st,bottom:Math.round(Ce)+Ne,left:it}}}]),Ie}();d(We,"defaultProps",{scrollEvents:!0,onIntersection:nt,onUpdate:nt,windowRef:window});var qe=o(function Ie(Me,Ve){var Ne=this;if(r(this,Ie),d(this,"onIntersection",function(ct){var mt=Ne.props.onIntersection;Ne.state.isIntersecting=ct,mt(ct)}),d(this,"onUpdate",function(ct){var mt=ct.progress;Ne.onProgress(mt)}),d(this,"onProgress",function(ct){var mt=Ne.props.onProgress;Ne.state.progress!==ct&&(Ne.state.progress=ct,mt(Ne.state.progress))}),d(this,"destroy",function(){Ne.intersection.destroy()}),this.props=t(t({},this.constructor.defaultProps),Ve),!Me){console.error("Error: No valid HTMLElement node was supplied!");return}
7var ke=this.props,et=ke.normalize,st=ke.progressEvents,Ce=ke.onProgress,it=ke.windowRef;this.state={normalize:et,progressEvents:st&&Ce,progress:-1,isIntersecting:!1},this.intersection=new We(Me,{normalize:et,scrollEvents:this.state.progressEvents,onIntersection:this.onIntersection,onUpdate:this.onUpdate,windowRef:it}),this.intersection.start()});d(qe,"defaultProps",{progressEvents:!0,normalize:!0,onIntersection:nt,onProgress:null,windowRef:window}),f.default=qe},708380:function(y,f,e){"use strict";e.r(f);function s(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}function n(S,E){for(var A=0;A<E.length;A++){var T=E[A];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(S,T.key,T)}}function a(S,E,A){return E&&n(S.prototype,E),A&&n(S,A),Object.defineProperty(S,"prototype",{writable:!1}),S}function t(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function r(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A;function T(){S()}function I(){if(A&&clearTimeout(A),!E){S();return}A=setTimeout(T,E)}return I.cancel=function(){clearTimeout(A)},I}var i=function(){function S(E){var A=this,T=E.waitTime,I=E.callback;s(this,S),t(this,"executeCallback",function(R){R()}),t(this,"executeCallbacks",function(){A.callbacks.forEach(A.executeCallback)}),t(this,"executeRAF",function(){cancelAnimationFrame(A.requestID),A.requestID=requestAnimationFrame(A.executeCallbacks)}),this.callbacks=new Set,this.callbacks.add(I),this.requestID=null,this.execute=T?r(this.executeRAF,T):this.executeCallbacks}return a(S,[{key:"add",value:function(A){this.callbacks.add(A)}},{key:"remove",value:function(A){this.callbacks.delete(A);var T=this.callbacks.size;return!T&&this.execute.cancel&&(this.execute.cancel(),cancelAnimationFrame(this.requestID)),T}}]),S}(),o=new Map,d=new Map,u=150,l=!1,c;function g(S){S.execute()}function v(){o.forEach(g)}function h(){cancelAnimationFrame(c),c=requestAnimationFrame(v)}function p(S){if(typeof S=="function"){var E=d.get(S);if(E!==void 0){var A=o.get(E).remove(S);d.delete(S),!A&&o.delete(E)}}}function m(S,E){if(typeof S=="function"){var A=S.cancel?0:E,T=d.get(S),I=o.get(A);if(T!==void 0&&T!==A&&p(S),d.set(S,A),!I){o.set(A,new i({waitTime:A,callback:S}));return}I.add(S)}}function P(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;m(S,E),!l&&(window.addEventListener("resize",h),l=!0)}function _(S){p(S),!(!l||o.size)&&(window.removeEventListener("resize",h),l=!1)}var b={on:P,off:_,trigger:h};f.default=b},304807:function(y,f){"use strict";var e;e={value:!0},f.Z=void 0;var s=[],n=0,a=!1,t=!1,r=!1,i=function(){var d=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){d={passive:!0}}}))}catch(u){}return d}(),o={scroll:function(u){t||(t=!0,requestAnimationFrame(this.executeCallbacks))},executeCallbacks:function(){for(var u=0;u<n;u+=1)s[u]();t=!1},registerCallback:function(u){var l=s.indexOf(u);!u||l>-1||(s.push(u),n+=1)},removeCallback:function(u){if(!!u){var l=s.indexOf(u);l!==-1&&(s.splice(l,1),n-=1)}},bindMethods:function(){a||(this.scroll=this.scroll.bind(this),a=!0)},trigger:function(){this.scroll()},on:function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;r||(r=!0,this.bindMethods(),this.windowRef=l,l.addEventListener("scroll",this.scroll,i)),this.registerCallback(u)},off:function(u){this.removeCallback(u),r&&n===0&&(this.bindMethods(),r=!1,this.windowRef.removeEventListener("scroll",this.scroll),this.windowRef=null)}};f.Z=o},449466:function(y,f,e){"use strict";e.r(f),e.d(f,{Bokeh:function(){return Ju},ComponentManager:function(){return wn},Conic:function(){return ku},Contours:function(){return ci},FilmGrainEffect:function(){return ec},Gradient:function(){return lu},ImageEffect:function(){return pi},Images:function(){return Ss},Isometric:function(){return _s},LiquidEffect:function(){return Zu},ParallaxEffect:function(){return Is},RefractedCirclesEffect:function(){return Yu},RefractedLinesEffect:function(){return qu},Shapes:function(){return _o},Surface:function(){return Vu},WebGLCanvas:function(){return Pn},componentTypes:function(){return An},effectTypes:function(){return Wa},getComponentByType:function(){return Nd},getEffectByType:function(){return va},gradientTypes:function(){return kt},imagePresetKeys:function(){return ti},imagePresets:function(){return cl},interactionTypes:function(){return xo},isOffscreenSupported:function(){return S},isWebGLSupported:function(){return g},mb32:function(){return So},patternPresetKeys:function(){return Kr},patternPresets:function(){return ms},seededRandom:function(){return zc},shapesColorModes:function(){return Oo},shapesDistributionModes:function(){return ca}});var s=e(392338),n=e(858240),a=e.n(n),t=e(4636),r=e.n(t),i=e(346797),o=e.n(i),d=!0;try{var u=document.createElement("canvas"),l={failIfMajorPerformanceCaveat:!0},c=u.getContext("webgl",l)||u.getContext("experimental-webgl",l);c||(d=!1)}catch(w){d=!1}var g=d,v=function(){function w(B){var D=this;a()(this,w),o()(this,"ticking",!1),o()(this,"raf",-1),o()(this,"tick",function(W){D.raf=requestAnimationFrame(D.tick),D.callback(W)}),this.callback=B}return r()(w,[{key:"start",value:function(){this.ticking||(this.raf=requestAnimationFrame(this.tick),this.ticking=!0)}},{key:"stop",value:function(){this.ticking&&(cancelAnimationFrame(this.raf),this.ticking=!1)}}]),w}(),h=v;function p(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.width,D=B===void 0?0:B,W=w.height,Z=W===void 0?0:W,te=document.createElement("canvas");return te.width=D,te.height=Z,te}var m=p,P=function(){function w(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=B.node,W=B.width,Z=B.height,te=B.pixelRatio,he=te===void 0?1:te,Te=B.contextType,Le=Te===void 0?"":Te;a()(this,w),o()(this,"width",0),o()(this,"height",0),o()(this,"isBitmapRenderer",!1),this.node=D,this.canvas=m(),this.pixelRatio=he,Le&&this.getContext(Le),this.node&&(this.node.appendChild(this.canvas),Ob
7ject.assign(this.canvas.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"})),this.resize(W,Z)}return r()(w,[{key:"setNode",value:function(D){this.node=D,this.node.appendChild(this.canvas)}},{key:"getContext",value:function(D){if(D==="bitmaprenderer"){if(this.context=this.canvas.getContext("bitmaprenderer"),this.context){this.isBitmapRenderer=!0;return}D="2d"}this.context=this.canvas.getContext(D),this.isBitmapRenderer=!1}},{key:"contextWidth",get:function(){return this.width*this.pixelRatio|0}},{key:"contextHeight",get:function(){return this.height*this.pixelRatio|0}},{key:"$el",get:function(){return this.canvas}},{key:"aspectRatio",get:function(){return this.width/this.height}},{key:"resize",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.canvas.clientWidth,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.canvas.clientHeight;return D!==this.width||W!==this.height?(this.width=D,this.height=W,this.canvas.width=this.contextWidth,this.canvas.height=this.contextHeight,!0):!1}},{key:"clear",value:function(){this.canvas.width=this.contextWidth}}]),w}(),_=P,b=!!(typeof window!="undefined"&&window.OffscreenCanvas&&window.OffscreenCanvas.prototype.transferToImageBitmap),S=b;function E(w,B){if(!(w instanceof B))throw new TypeError("Cannot call a class as a function")}function A(w,B){for(var D=0;D<B.length;D++){var W=B[D];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(w,W.key,W)}}function T(w,B,D){return B&&A(w.prototype,B),D&&A(w,D),w}function I(w,B,D){return B in w?Object.defineProperty(w,B,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[B]=D,w}function R(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function j(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?R(Object(D),!0).forEach(function(W){I(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):R(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function x(w,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(B&&B.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),B&&H(w,B)}
7function L(w){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},L(w)}function H(w,B){return H=Object.setPrototypeOf||function(W,Z){return W.__proto__=Z,W},H(w,B)}function G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(w){return!1}}function X(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function K(w,B){return B&&(typeof B=="object"||typeof B=="function")?B:X(w)}function J(w){return function(){var B=L(w),D;if(G()){var W=L(this).constructor;D=Reflect.construct(B,arguments,W)}else D=B.apply(this,arguments);return K(this,D)}}function z(w,B){for(;!Object.prototype.hasOwnProperty.call(w,B)&&(w=L(w),w!==null););return w}function k(w,B,D){return typeof Reflect!="undefined"&&Reflect.get?k=Reflect.get:k=function(Z,te,he){var Te=z(Z,te);if(!!Te){var Le=Object.getOwnPropertyDescriptor(Te,te);return Le.get?Le.get.call(he):Le.value}},k(w,B,D||w)}function F(w){return q(w)||N(w)||M(w)||Q()}function q(w){if(Array.isArray(w))return U(w)}function N(w){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(w))return Array.from(w)}function M(w,B){if(!!w){if(typeof w=="string")return U(w,B);var D=Object.prototype.toString.call(w).slice(8,-1);if(D==="Object"&&w.constructor&&(D=w.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return U(w,B)}}function U(w,B){(B==null||B>w.length)&&(B=w.length);for(var D=0,W=new Array(B);D<B;D++)W[D]=w[D];return W}function Q(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(w,B){if(!w||!B)return!1;if(w===B)return!0;if(w.length!==B.length)return!1;for(var D=0;D<w.length;++D)if(w[D]!==B[D])return!1;return!0}var ee=$;function oe(w,B){for(var D=0;D<w.length;D++)B[D]=w[D];return B.length=w.length,B}var pe=oe,me="viewport",Se=[];function Pe(w,B,D,W,Z){var te=w.get(me)||[];Se[0]=B,Se[1]=D,Se[2]=W,Se[3]=Z,!ee(te,Se)&&(w.gl.viewport(B,D,W,Z),w.cache.set(me,pe(Se,te)))}var He=Pe;function fe(w,B,D,W,Z){w.viewport[0]=B,w.viewport[1]=D,w.viewport[2]=W,w.viewport[3]=Z,He.apply(void 0,[w.state].concat(F(w.viewport)))}var ve=fe,ae="clearColor";function le(w,B){var D,W=w.get(ae)||[];ee(W,B)||((D=w.gl).clearColor.apply(D,F(B)),w.cache.set(ae,pe(B,W)))}var Ee=le;function xe(w,B){var D=w.indexOf(B);return D!==-1&&w.splice(D,1),B}var _e=xe,Re=function(){function w(){E(this,w),this.listeners=[]}return T(w,[{key:"add",value:function(D){this.listeners.push(D)}},{key:"remove",value:function(D){_e(this.listeners,D)}},{key:"dispatch",value:function(){var D=arguments;this.listeners.forEach(function(W){W.apply(void 0,F(D))})}},{key:"dispose",value:function(){this.listeners.length=0}}]),w}(),Be=Re,nt=function(){function w(B){var D=this;E(this,w),I(this,"handleContextCreate",function(){D.cache=new Map,D.enabledCapabilities=new Map}),I(this,"dispose",function(){D.renderer.onDispose.remove(D.dispose),D.cache.clear(),D.enabledCapabilities.clear()}),this.renderer=B,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}
7return T(w,[{key:"get",value:function(D){return this.cache.get(D)}},{key:"set",value:function(D,W){this.cache.set(D,W)}},{key:"enable",value:function(D){this.enabledCapabilities.get(D)||(this.enabledCapabilities.set(D,!0),this.gl.enable(D))}},{key:"disable",value:function(D){this.enabledCapabilities.get(D)&&(this.enabledCapabilities.set(D,!1),this.gl.disable(D))}},{key:"gl",get:function(){return this.renderer.gl}}]),w}();I(nt,"NAME","state");var Je=nt,ue=function(){function w(B){var D=this;E(this,w),I(this,"handleContextCreate",function(){D.cache=new Map}),I(this,"dispose",function(){D.renderer.onDispose.remove(D.dispose),D.cache.clear()}),this.renderer=B,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}return T(w,[{key:"get",value:function(D){var W=this.cache.get(D);return W||(W={},this.cache.set(D,W)),W}},{key:"update",value:function(D,W,Z){this.cache.get(D)[W]=Z}},{key:"remove",value:function(D){this.cache.delete(D)}}]),w}();I(ue,"NAME","properties");var we=ue,We=function(w){return w.getShaderPrecisionFormat(w.VERTEX_SHADER,w.HIGH_FLOAT).precision>0&&w.getShaderPrecisionFormat(w.FRAGMENT_SHADER,w.HIGH_FLOAT).precision>0?"highp":w.getShaderPrecisionFormat(w.VERTEX_SHADER,w.MEDIUM_FLOAT).precision>0&&w.getShaderPrecisionFormat(w.FRAGMENT_SHADER,w.MEDIUM_FLOAT).precision>0?"mediump":"lowp"},qe=We,Ie=function(){function w(B){var D=this,W=B.canvas,Z=B.alpha,te=Z===void 0?!1:Z,he=B.antialias,Te=he===void 0?!1:he,Le=B.depth,ze=Le===void 0?!1:Le,Qe=B.stencil,at=Qe===void 0?!1:Qe,tt=B.premultipliedAlpha,ot=tt===void 0?!1:tt,Ot=B.preserveDrawingBuffer,xt=Ot===void 0?!1:Ot,At=B.failIfMajorPerformanceCaveat,Xt=At===void 0?!1:At,qt=B.pixelRatio,Dt=qt===void 0?1:qt,It=B.plugins,Lt=It===void 0?[]:It,jt=B.onContextCreate,Tn=B.onContextLoss;E(this,w),I(this,"uniformValues",new Map),I(this,"viewport",[0,0,2,2]),I(this,"handleContextLost",function(dr){D.isContextLost=!0,D.onContextLoss.dispatch(),dr.preventDefault()}),I(this,"handleContextRestored",function(){D.isContextLost=!1,D.createContext()}),this.contextAttributes={alpha:te,antialias:Te,depth:ze,stencil:at,premultipliedAlpha:ot,preserveDrawingBuffer:xt,failIfMajorPerformanceCaveat:Xt},this.canvas=W,this.pixelRatio=Dt,this.isContextLost=!1,this.initSignals(),this.initPlugins(Lt),jt&&this.onContextCreate.add(jt),Tn&&this.onContextLoss.add(Tn),this.createContext()}return T(w,[{key:"initPlugins",value:function(D){var W=this;[].concat(F(w.corePlugins),F(D)).forEach(function(Z){W[Z.NAME]=new Z(W)})}},{key:"initSignals",value:function(){this.onContextCreate=new Be,this.onContextLoss=new Be,this.onBeforeRender=new Be,this.onDispose=new Be}},{key:"createContext",value:function(){if(this.gl=this.canvas.getContext("webgl",this.contextAttributes)||this.canvas.getContext("experimental-webgl",this.contextAttributes),this.gl)this.canvas.addEventListener("webglcontextlost",this.handleContextLost),this.canvas.addEventListener("webglcontextrestored",this.handleContextRestored),this.defaultPrecision=qe(this.gl),this.onContextCreate.dispatch(this);else throw this.isContextLost=!0,new Error("Error creating WebGL context")}}]),w}();I(Ie,"corePlugins",[Je,we]);var Me=Ie;function Ve(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,Z=w.gl,te=0;B&&(te|=Z.COLOR_BUFFER_BIT),D&&(te|=Z.DEPTH_BUFFER_BIT),W&&(te|=Z.STENCIL_BUFFER_BIT),Z.clear(te)}var Ne=Ve;function ke(w,B,D){w.isContextLost!==!0&&(B=B||w.canvas.clientWidth*w.pixelRatio,D=D||w.canvas.clientHeight*w.pixelRatio,w.canvas.width=B,w.canvas.height=D,ve(w,0,0,B,D))}var et=ke;function st(w){var B=w.gl;w.properties.cache.forEach(function(D){Object.values(D).forEach(function(W){switch(W.constructor.name){case"WebGLFramebuffer":B.deleteFramebuffer(W);break;case"WebGLRenderbuffer":B.deleteRenderbuffer(W);break;case"WebGLTexture":B.deleteTexture(W);break;case"WebGLBuffer":B.deleteBuffer(W);break;case"WebGLProgram":B.deleteProgram(W);break}delete D[W]})}),w.properties.cache.clear()}var Ce=st;function it(w){Ce(w),w.onDispose.dispatch(),w.uniformValues.clear(),w.onContextCreate.dispose(),w.onContextLoss.dispose(),w.onBeforeRender.dispose(),w.onDispose.dispose(),w.canvas.removeEventListener("webglcontextlost",w.handleContextLost),w.canvas.removeEventListener("webglcontextrestored",w.handleContextRestored),w.canvas=null,w.gl=null}var ct=it;function mt(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.width,D=B===void 0?0:B,W=w.height,Z=W===void 0?0:W;return S?new OffscreenCanvas(D,Z):m({width:D,height:Z})}var Ct=mt;function Ht(w,B){var D=w.properties.get(B);D.glTexture&&(w.gl.deleteTexture(D.glTexture),delete D.glTexture,w.properties.remove(B
7))}var Rt=Ht;function cn(w,B){var D=w.properties.get(B);D&&(w.gl.deleteProgram(D.glProgram),w.properties.remove(B))}var Cn=cn;function hn(w,B){var D=w.properties.get(B);D.glBuffer&&(w.gl.deleteBuffer(D.glBuffer),delete D.glBuffer),w.properties.remove(B)}var fn=hn;function _n(w,B){B.attributes.forEach(function(D){return fn(w,D)}),B.index&&fn(w,B.index)}var Mn=_n,er=function(){function w(B){var D=B.renderer,W=B.instance,Z=B.disposeMethod;a()(this,w),o()(this,"usageCount",0),this.renderer=D,this.instance=W,this.disposeMethod=Z}return r()(w,[{key:"dispose",value:function(){this.disposeMethod(this.renderer,this.instance)}}]),w}(),sr=er,ri=function(){function w(B){a()(this,w),o()(this,"resources",new Map),this.renderer=B}return r()(w,[{key:"getResource",value:function(D){var W=D.key,Z=D.factory,te=D.disposeMethod,he=this.resources.get(W);return he||(he=new sr({renderer:this.renderer,instance:Z(),disposeMethod:te}),this.resources.set(W,he)),he.usageCount++,he.instance}},{key:"getTexture",value:function(D){var W=D.key,Z=D.factory;return this.getResource({key:W,factory:Z,disposeMethod:Rt})}},{key:"getProgram",value:function(D){var W=D.key,Z=D.factory;return this.getResource({key:W,factory:Z,disposeMethod:Cn})}},{key:"getGeometry",value:function(D){var W=D.key,Z=D.factory;return this.getResource({key:W,factory:Z,disposeMethod:Mn})}},{key:"releaseResource",value:function(D){var W=this.resources.get(D);W&&--W.usageCount==0&&(W.dispose(),this.resources.delete(D))}},{key:"destroy",value:function(){this.resources.clear(),this.renderer=null}}]),w}(),Ar=ri;function ur(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Oe(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?ur(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):ur(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function Tt(w){var B=w.canvas,D=w.clearColor,W=w.isActive,Z=w.isDirty,te=w.needsForceRender;if(!(!te&&(!W||!Z))){var he=B.contextWidth,Te=B.contextHeight,Le=B.isBitmapRenderer;ve(this.renderer,0,0,he,Te),Ee(this.renderer.state,D),Le?this.renderBitmap(w):this.renderImage(w),w.isDirty=!1,w.needsForceRender=!1}}var Tr=function(){function w(B){var D=B.attributes,W=B.plugins;a()(this,w),o()(this,"rendererWidth",0),o()(this,"rendererHeight",0),o()(this,"isWebGLSupported",!0),o()(this,"content",[]),this.webglCanvas=Ct(),g?(this.renderer=new Me(Oe({canvas:this.webglCanvas,plugins:W},D)),this.renderContent=Tt.bind(this),this.resourceCache=new Ar(this.renderer)):(this.isWebGLSupported=!1,this.renderer=null)}return r()(w,[{key:"register",value:function(D){this.content.push(D)}},{key:"unregister",value:function(D){var W=this.content.indexOf(D);W!==-1&&this.content.splice(W,1)}},{key:"update",value:function(D){var W=this;return this.content.forEach(function(Z){if(!Z.needsForceRender&&!Z.isActive)return W;Z.update(D),Z.autoUpdate&&(Z.isDirty=!0)}),this}},{key:"render",value:function(){for(var D=0,W=this.content.length;D<W;D++)this.renderContent(this.content[D]);return this}},{key:"renderBitmap",value:function(D){var W=D.canvas,Z=W.contextWidth,te=W.contextHeight,he=W.context;if(!(!Z||!te)){(Z!==this.rendererWidth||te!==this.rendererHeight)&&this.resize(Z,te),Ne(this.renderer),D.render();var Te=this.webglCanvas.transferToImageBitmap();he.transferFromImageBitmap(Te)}}},{key:"renderImage",value:function(D){var W=D.canvas,Z=W.contextWidth,te=W.contextHeight,he=W.context;if(!(!Z||!te)){if(Z>this.rendererWidth||te>this.rendererHeight){var Te=Math.max(Z,this.rendererWidth),Le=Math.max(te,this.rendererHeight);this.resize(Te,Le)}Ne(this.renderer),D.render(),he.clearRect(0,0,Z,te),he.drawImage(this.webglCanvas,0,this.webglCanvas.height-te,Z,te,0,0,Z,te)}}},{key:"resize",value:function(D,W){this.rendererWidth=D,this.rendererHeight=W,et(this.renderer,this.rendererWidth,this.rendererHeight)}},{key:"destroy",value:function(){this.renderer&&(ct(this.renderer),this.resourceCache.destroy())}},{key:"isEmpty",value:function(){return this.content.length===0}}]),w}();function Ln(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Jr(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};
7B%2?Ln(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Ln(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function bt(w){var B=w.canvas,D=w.clearColor,W=w.isActive,Z=w.isDirty,te=w.needsForceRender;if(!(!te&&(!W||!Z))){var he=B.contextWidth,Te=B.contextHeight;!he||!Te||(this.resize(he,Te),Ee(this.renderer.state,D),Ne(this.renderer),w.render(),w.needsForceRender=!1,w.isDirty=!1)}}var Ur=function(){function w(B){var D=B.content,W=B.canvas,Z=B.attributes,te=B.plugins;a()(this,w),o()(this,"isWebGLSupported",!0),o()(this,"rendererWidth",0),o()(this,"rendererHeight",0),this.content=D,this.canvas=W,g?(this.renderer=new Me(Jr({canvas:W.$el,plugins:te},Z)),this.renderContent=bt.bind(this),this.resourceCache=new Ar(this.renderer)):(this.isWebGLSupported=!1,this.renderer=null)}return r()(w,[{key:"setContent",value:function(D){this.content=D,this.canvas.setNode(D.node)}},{key:"update",value:function(D){return!this.content.needsForceRender&&!this.content.isActive?this:(this.content.update(D),this.content.autoUpdate&&(this.content.isDirty=!0),this)}},{key:"render",value:function(){return this.renderContent(this.content),this}},{key:"resize",value:function(D,W){this.rendererWidth=D,this.rendererHeight=W,et(this.renderer,this.rendererWidth,this.rendererHeight)}},{key:"destroy",value:function(){this.renderer&&(ct(this.renderer),this.resourceCache.destroy())}}]),w}(),pr=typeof window!="undefined"?window:{};pr.__sqsWebGL||(pr.__sqsWebGL={initialized:!1,ticker:null,sharedController:null,dedicatedControllers:[],dedicatedControllerPool:[],dedicatedContextLimit:S?1:3});var ln=pr.__sqsWebGL,Cr=function(){function w(B){var D=this;E(this,w),I(this,"handleContextCreate",function(){D.cache=new Map}),I(this,"dispose",function(){D.renderer.onContextCreate.remove(D.handleContextCreate),D.renderer.onDispose.remove(D.dispose),D.cache.clear()}),this.renderer=B,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}
7return T(w,[{key:"get",value:function(D){var W=this.cache.get(D);if(!W)if(W=this.renderer.gl.getExtension(D),W)this.cache.set(D,W);else throw new Error("WebGLExtensions: ".concat(D," extension not supported."));return W}}]),w}();I(Cr,"NAME","extensions");var ii=Cr,Qt=function(){function w(B){var D=this;E(this,w),I(this,"nextTextureUnit",1),I(this,"reset",function(){D.nextTextureUnit=1}),this.renderer=B,this.renderer.onBeforeRender.add(this.reset),this.textureBindings=new WeakMap}return T(w,[{key:"dispose",value:function(){this.renderer.onBeforeRender.remove(this.reset),this.renderer=null}}]),w}();I(Qt,"NAME","textures");var zn=Qt,ai={plugins:[ii,zn],attributes:{alpha:!0,antialias:!0,depth:!0,stencil:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!0,failIfMajorPerformanceCaveat:!0}};function gr(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function jr(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?gr(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):gr(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function cr(){ln.ticker=new h(function(w){var B=ln.sharedController,D=ln.dedicatedControllers;B&&B.update(w).render();for(var W=0,Z=D.length;W<Z;W++)D[W].update(w).render()}),ln.ticker.start(),ln.initialized=!0}function gn(){ln.ticker.stop(),ln.initialized=!1}var Et={register:function(B){var D=ln.initialized,W=ln.dedicatedControllers,Z=ln.dedicatedControllerPool,te=ln.dedicatedContextLimit;if(D&&gn(),cr(),W.length<te){var he=Z.pop();if(he)return he.setContent(B),W.push(he),{canvas:he.canvas,renderController:he};var Te=new _({node:B.node,pixelRatio:B.pixelRatio}),Le=new Ur(jr({content:B,canvas:Te},ai));return W.push(Le),{canvas:Te,renderController:Le}}ln.sharedController||(ln.sharedController=new Tr(jr({},ai)));var ze=ln.sharedController,Qe=new _({node:B.node,pixelRatio:S?B.pixelRatio:1,contextType:S?"bitmaprenderer":"2d"});return ze.register(B),{canvas:Qe,renderController:ze}},unregister:function(B){var D=ln.dedicatedControllers,W=ln.dedicatedControllerPool,Z=ln.sharedController,te=D.find(function(he){return he.content===B});te?(W.push(te),D.splice(D.indexOf(te),1)):(Z.unregister(B),Z.isEmpty()&&(Z.destroy(),ln.sharedController=null)),(!Z||Z.isEmpty())&&D.length===0&&gn()}};function Br(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function $n(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Br(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Br(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}var Pn=function(){function w(B,D){var W=this;a()(this,w),o()(this,"isActive",!1),o()(this,"isSupported",!0),o()(this,"autoUpdate",!0),o()(this,"isDirty",!0),o()(this,"needsForceRender",!1),o()(this,"clearColor",[1,1,1,1]),o()(this,"resourceKeys",[]),o()(this,"start",function(){return!W.isSupported||W.isActive||(W.isActive=!0),W}),o()(this,"stop",function(){return!W.isSupported||!W.isActive||(W.isActive=!1),W}),o()(this,"refresh",function(){if(!!W.isSupported)return W.updateCanvasSize(),W.onRefresh(),W}),o()(this,"forceRender",function(){W.needsForceRender=!0,W.renderController.renderContent(W)}),this.node=B,this.props=$n($n($n({},w.defaultProps),this.constructor.defaultProps),D),this.isSupported=g,!!this.isSupported&&(this.clearNode(),Object.assign(this,Et.register(this)),this.renderer=this.renderController.renderer,this.resourceCache=this.renderController.resourceCache,this.updateCanvasSize())}return r()(w,[{key:"setProps",value:function(D){if(!this.isSupported)return this;var W=$n({},this.props);return this.props=$n($n({},this.props),D),this.onUpdateProps(W),this.needsForceRender=!0,this}}
7,{key:"onUpdateProps",value:function(D){}},{key:"detach",value:function(){!this.isSupported||(this.node.removeChild(this.canvas.$el),this.onDetach(),this.node=null)}},{key:"onDetach",value:function(){}},{key:"attach",value:function(D){!this.isSupported||!this.canvas||(this.node=D,this.clearNode(),this.node.appendChild(this.canvas.$el),this.onAttach())}},{key:"onAttach",value:function(){}},{key:"updateCanvasSize",value:function(){var D,W;this.props.canvasSize&&(D=this.props.canvasSize.width,W=this.props.canvasSize.height),this.canvas.resize(D,W)&&(this.needsForceRender=!0)}},{key:"onRefresh",value:function(){}},{key:"update",value:function(D){}},{key:"render",value:function(){}},{key:"renderFrame",value:function(){if(!!this.isSupported)return this.update(performance.now()),this.forceRender(),this.canvas.canvas}},{key:"destroy",value:function(){var D=this;if(!(!this.isSupported||!this.renderController))return Et.unregister(this),this.renderController=null,this.resourceKeys.forEach(function(W){D.resourceCache.releaseResource(W)}),this.clearNode(),this.onDestroy(),this}},{key:"clearNode",value:function(){this.node&&(this.node.innerHTML="")}},{key:"onDestroy",value:function(){}},{key:"getTexture",value:function(D){var W=D.key,Z=D.factory;return this.resourceKeys.push(W),this.resourceCache.getTexture({key:W,factory:Z})}},{key:"getProgram",value:function(D){var W=D.key,Z=D.factory;return this.resourceKeys.push(W),this.resourceCache.getProgram({key:W,factory:Z})}},{key:"getGeometry",value:function(D){var W=D.key,Z=D.factory;return this.resourceKeys.push(W),this.resourceCache.getGeometry({key:W,factory:Z})}},{key:"releaseResource",value:function(D){var W=this.resourceKeys.indexOf(D);W!==-1&&(this.resourceKeys.splice(W,1),this.resourceCache.releaseResource(D))}},{key:"pixelRatio",get:function(){return this.props.pixelRatio||1}}]),w}();o()(Pn,"defaultProps",{canvasSize:null,pixelRatio:1});var An={contours:"contours",gradient:"gradient",shapes:"shapes",images:"images",isometric:"isometric",surface:"surface",conic:"conic",bokeh:"bokeh"},$e=e(375798),Ue=e.n($e),re=e(721854),ie=e.n(re),de=e(699467),ye=e.n(de),Ge=e(506051),je=e.n(Ge),Ze=function(){function w(B){var D=B.geometry,W=B.material,Z=B.offset,te=B.count;E(this,w),this.geometry=D,this.material=W,this.offset=Z,this.count=te}return T(w,[{key:"draw",value:function(D){}},{key:"uniforms",get:function(){return this.material.uniforms}},{key:"program",get:function(){return this.material.program},set:function(D){this.material.program=D}},{key:"mode",get:function(){return this.material.mode}},{key:"options",get:function(){return this.material.options}},{key:"attributes",get:function(){return this.geometry.attributes}},{key:"index",get:function(){return this.geometry.index}}]),w}(),dt=Ze,pt=function(w){x(D,w);var B=J(D);function D(W){var Z=W.geometry,te=W.material,he=W.offset,Te=he===void 0?0:he,Le=W.count,ze=Le===void 0?Z.attributes.values().next().value.count:Le;return E(this,D),B.call(this,{geometry:Z,material:te,offset:Te,count:ze})}return T(D,[{key:"draw",value:function(Z){Z.drawArrays(this.mode,this.offset,this.count)}}]),D}(dt),gt=pt,$t=3042,sn=2929,tr=2960,Wn=2884,Rn=34962,nr=34963,jn=35044,mr=35048,lr=0,Fr=1,Gr=768,Zr=769,oi=770,Hn=771,Jt=772,Ir=773,ki=774,$i=775,se=776,Ae=32769,Ke=32770,ht=32771,Pt=32772,Mt=32774,Bn=32774,mn=32774,nn=512,Xn=519,yr=513,Qn=514,Kt=515,Vt=516,Bt=518,Mo=517,Va=1028,yn=1029,ka=1032,Xi=3553,Qi=9728,Ei=9729,bn=9984,$a=9985,si=9986,Xa=9987,Li=10242,Er=10243,Ji=33071,ma=10497,Qa=33648,ya=6407,Ea=6408,Sa=33984,Kn=36160,Ja=36161,rr=0,ba=1,Oa=2,En=3,Zi=4,Lo=5,Sn=6,Si=5120,Yi=5121,ic=5122,_a=5123,No=5124,Uo=5125,Za=5126,Pa=35664,qi=35665,ui=35666,jo=35667,Aa=35668,Ya=35669,Ta=35670,ea=35671,qa=35672,eo=35673,to=35674,Ca=35675,zs=35676,Jn=35678,Bo=35680,ta=35661,Ws=35660,Hs=34930,Ks=0,ac={BLEND:$t,DEPTH_TEST:sn,STENCIL_TEST:tr,CULL_FACE:Wn,ARRAY_BUFFER:Rn,ELEMENT_ARRAY_BUFFER:nr,STATIC_DRAW:jn,DYNAMIC_DRAW:mr,ZERO:lr,ONE:Fr,SRC_COLOR:Gr,ONE_MINUS_SRC_COLOR:Zr,SRC_ALPHA:oi,ONE_MINUS_SRC_ALPHA:Hn,DST_ALPHA:Jt,ONE_MINUS_DST_ALPHA:Ir,DST_COLOR:ki,ONE_MINUS_DST_COLOR:$i,SRC_ALPHA_SATURATE:se,CONSTANT_COLOR:Ae,ONE_MINUS_CONSTANT_COLOR:Ke,CONSTANT_ALPHA:ht,ONE_MINUS_CONSTANT_ALPHA:Pt,FUNC_ADD:Mt,FUNC_SUBTRACT:Bn,FUNC_REVERSE_SUBTRACT:mn,NEVER:nn,ALWAYS:Xn,LESS:yr,EQUAL:Qn,LEQUAL:Kt,GREATER:Vt,GEQUAL:Bt,NOTEQUAL:Mo,FRONT:Va,BACK:yn,FRONT_AND_BACK:ka,TEXTURE_2D:Xi,NEAREST:Qi,LINEAR:Ei,NEAREST_MIPMAP_NEAREST:bn,LINEAR_MIPMAP_NEAREST:$a,NEAREST_MIPMAP_LINEAR:si,LINEAR_MIPMAP_LINEAR:Xa,CLAMP_TO_EDGE:Ji,REPEAT:ma,MIRRORED_REPEAT:Qa,RGB:ya,RGBA:Ea,TEXTURE0:Sa,FRAMEBUFFER:Kn,RENDERBUFFER:Ja,POINTS:rr,LINES:ba,LINE_LOOP:Oa,LINE_STRIP:En,TRIANGLES:Zi,TRIANGLE_STRIP:Lo,TRIANGLE_FAN:Sn,BYTE:Si,UNSIGNED_BYTE:Yi,SHORT:ic,UNSIGNED_SHORT:_a,INT:No,UNSIGNED_INT:Uo,FLOAT:Za,FLOAT_VEC2:Pa,FLOAT_VEC3:qi,FLOAT_VEC4:ui,INT_VEC2:jo,INT_VEC3:Aa,INT_VEC4:Ya,BOOL:Ta,BOOL_VEC2:ea,BOOL_VEC3:qa,BOOL_VEC4:eo,FLOAT_MAT2:to,FLOAT_MAT3:Ca,FLOAT_MAT4:zs,SAMPLER_2D:Jn,SAMPLER_CUBE:Bo,MAX_COMBINED_TEXTURE_IMAGE_UNITS:ta,MAX_VERTEX_TEXTURE_IMAGE_UNITS:Ws,MAX_TEXTURE_IMAGE_UNITS:Hs,NONE:Ks},Vn=ac,oc=function w(B){var D=B.program,W=B.uniforms,Z=W===void 0?{}:W,te=B.options,he=te===void 0?{}:te,Te=B.mode,Le=Te===void 0?Zi:Te;E(this,w),this.program=D,this.uniforms=Z,this.options=he,this.mode=Le},Fo=oc,na=function w(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=B.vert,W=B.frag,Z=B.precision;E(this,w),this.vert=D,this.frag=W,this.precision=Z},Zn=na;function sc(w){var B=w.geometry,D=w.vert,W=w.frag,Z=w.precision,te=w.program,he=w.uniforms,Te=w.options,Le=w.mode,ze=w.material,Qe=w.DrawInfoClass,at=Qe===void 0?gt:Qe,tt=w.offset,ot=w.count,Ot=w.primcount;return te=te||new Zn({vert:D,frag:W,precision:Z}),ze=ze||new Fo({program:te,uniforms:he,options:Te,mode:Le}),new at({geometry:B,material:ze,offset:tt,count:ot,primcount:Ot})}var Sr=sc,Vs=function w(B){var D=B.array,W=B.itemSize,Z=B.normalized,te=Z===void 0?!1:Z,he=B.usage,Te=he===void 0?jn:he,Le=B.name,ze=Le===void 0?"":Le,Qe=B.divisor,at=Qe===void 0?0:Qe;E(this,w),this.array=D,this.itemSize=W,this.normalized=te,this.usage=Te,this.name=ze,this.divisor=at,this.count=D?D.length/W:0,this.needsUpdate=!1},On=Vs,bi="aPosition",Go="aNormal",no="aUv",ks="uProjection",ra="uModelView",xr="uDiffuse",uc="uAlpha",$s="uMap",cc="uAlphaMap",Xs="uUvOffsetRepeat",lc="vUv",Ia="USE_MAP",Xe="USE_ALPHA_MAP",ut="aSpritePosition",rt="aZDepth",St="aScale",Wt="aRotation",rn="aTranslate",Fn={POSITION_ATTRIBUTE_NAME:bi,NORMAL_ATTRIBUTE_NAME:Go,UV_ATTRIBUTE_NAME:no,PROJECTION_MATRIX_UNIFORM_NAME:ks,MODEL_VIEW_MATRIX_UNIFORM_NAME:ra,DIFFUSE_COLOR_UNIFORM_NAME:xr,ALPHA_UNIFORM_NAME:uc,MAP_UNIFORM_NAME:$s,ALPHA_MAP_UNIFORM_NAME:cc,UV_OFFSET_REPEAT_UNIFORM_NAME:Xs,UV_VARYING_NAME:lc,MAP_DEFINE:Ia,ALPHA_MAP_DEFINE:Xe,SPRITE_POSITION_ATTRIBUTE_NAME:ut,SPRITE_Z_DEPTH_ATTRIBUTE_NAME:rt,SPRITE_SCALE_ATTRIBUTE_NAME:St,SPRITE_ROTATION_ATTRIBUTE_NAME:Wt,SPRITE_TRANSLATE_ATTRIBUTE_NAME:rn},dn=null,zo=function w(){E(this,w),this.attributes=new Map,this.index=null},Ni=zo;function Rr(w,B,D){return D.name=B,w.attributes.set(B,D),D}var Nn=Rr;function fc(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.position,D=B===void 0?bi:B,W=new Ni,Z=new Float32Array([-1,-1,-1,3,3,-1]);return Nn(W,D,new On({array:Z,itemSize:2})),W}var zr=fc;function ro(w,B,D){var W="buffer-".concat(B);w.get(W)!==D&&(w.gl.bindBuffer(B,D),w.set(W,D))}var ia=ro;function un(w,B,D){var W=w.properties.get(D);return W.glBuffer||(W.glBuffer=w.gl.createBuffer(),D.needsUpdate=!0),ia(w.state,B,W.glBuffer),D.needsUpdate&&(w.gl.bufferData(B,D.array,D.usage),D.needsUpdate=!1),W.glBuffer}var Wo=un;function Qs(w,B,D){var W=[];return D.forEach(function(Z,te){var he=B.attributes.get(te),Te=Wo(w,Rn,he);W[Z(he,Te)]=1}),B.index&&Wo(w,nr,B.index),W}var xa=Qs;function dc(w,B,D){var W=w.createShader(D);if(w.shaderSource(W,B),w.compileShader(W),!w.getShaderParameter(W,w.COMPILE_STATUS))throw new Error("could not compile shader: ".concat(w.getShaderInfoLog(W)));return W}var Ho=dc;function vc(w,B){return w.substring(0,9)!=="precision"?"precision ".concat(B," float;\n").concat(w):w}var Ra=vc;function Oi(w,B){var D=w.gl,W=D.createProgram(),Z=B.vert,te=Ra(B.frag,B.precision||w.defaultPrecision),he=Ho(D,Z,D.VERTEX_SHADER),Te=Ho(D,te,D.FRAGMENT_SHADER);if(D.attachShader(W,he),D.attachShader(W,Te),D.linkProgram(W),!D.getProgramParameter(W,D.LINK_STATUS))throw new Error("could not link shader: ".concat(D.getProgramInfoLog(W)));return D.deleteShader(he),D.deleteShader(Te),W}var wa=Oi,io="enabledAttributes";function Da(w,B){w.get(io)||w.set(io,[]);var D=w.get(io);D[B]!==1&&(w.gl.enableVertexAttribArray(B),D[B]=1)}var Js=Da;function Ko(w,B){return function(D,W){return ia(w.state,Rn,W),Js(w.state,B),w.gl.vertexAttribPointer(B,D.itemSize,D.type||Za,D.normalize||!1,D.stride||0,D.offset||0),w.gl.vertexAttribDivisor&&w.gl.vertexAttribDivisor(B,D.divisor),B}}var ao=Ko;function Vo(w,B){for(var D=new Map,W=w.gl,Z=W.getProgramParameter(B,W.ACTIVE_ATTRIBUTES),te=0;te<Z;te++){var he=W.getActiveAttrib(B,te),Te=W.getAttribLocation(B,he.name);D.set(he.name,ao(w,Te))}return D}var Ma=Vo;function _i(w){switch(w){case Za:return function(B,D,W){B.uniform1f(D,W)};case Pa:return function(B,D,W){B.uniform2f(D,W[0],W[1])};case qi:return function(B,D,W){B.uniform3f(D,W[0],W[1],W[2])};case ui:return function(B,D,W){B.uniform4f(D,W[0],W[1],W[2],W[3])};case No:case Ta:case Jn:return function(B,D,W){B.uniform1i(D,W)};case jo:case ea:return function(B,D,W){B.uniform2i(D,W[0],W[1])};case Aa:case qa:return function(B,D,W){B.uniform3i(D,W[0],W[1],W[2])};case Ya:case eo:return function(B,D,W){B.uniform4i(D,W[0],W[1],W[2],W[3])};case to:return function(B,D,W){B.uniformMatrix2fv(D,!1,W)};case Ca:return function(B,D,W){B.uniformMatrix3fv(D,!1,W)};case zs:return function(B,D,W){B.uniformMatrix4fv(D,!1,W)}}}function oo(w){switch(w){case Za:return function(B,D,W){B.uniform1fv(D,W)};case Pa:return function(B,D,W){B.uniform2fv(D,W)};case qi:return function(B,D,W){B.uniform3fv(D,W)};case ui:return function(B,D,W){B.uniform4fv(D,W)};case No:case Ta:case Jn:return function(B,D,W){B.uniform1iv(D,W)};case jo:case ea:return function(B,D,W){B.uniform2iv(D,W)};case Aa:case qa:return function(B,D,W){B.uniform3iv(D,W)};case Ya:case eo:return function(B,D,W){B.uniform4iv(D,W)}}}function Zs(w,B,D){var W=w.getUniformLocation(B,D.name),Z=(D.size===1?_i:oo)(D.type);return function(te){Z(w,W,te.call?te():te)}}var hc=Zs;function Ys(w,B){for(var D=new Map,W=w.getProgramParameter(B,w.ACTIVE_UNIFORMS),Z=0;Z<W;Z++){var te=w.getActiveUniform(B,Z),he=te.name.replace(/\[.*?\]/,"");D.set(he,hc(w,B,te))}return D}var so=Ys,La=function w(B,D){E(this,w),this.attributeSetters=B,this.uniformSetters=D},ko=La;function qs(w,B){var D=Ma(w,B),W=so(w.gl,B);return new ko(D,W)}var eu=qs;function tu(w,B){var D=w.properties.get(B);return D.glProgram||(D.glProgram=wa(w,B),D.setters=eu(w,D.glProgram)),D}var pc=tu,In="program";function Yn(w,B){return w.get(In)===B?!1:(w.gl.useProgram(B),w.cache.set(In,B),!0)}var nu=Yn;
7function gc(w,B){w.forEach(function(D,W){D(B.get(W))})}var $o=gc,mc="enabledAttributes";function uo(w,B){var D=w.get(mc);D[B]!==0&&(w.gl.disableVertexAttribArray(B),D[B]=0)}var Na=uo;function co(w,B){if(w.isContextLost!==!0){var D=pc(w,B.program),W=D.glProgram,Z=D.setters;nu(w.state,W),w.onBeforeRender.dispatch(B);var te=xa(w,B,Z.attributeSetters);w.state.get("enabledAttributes").forEach(function(Te,Le){te[Le]||Na(w.state,Le)});for(var he in B.uniforms)w.uniformValues.set(he,B.uniforms[he]);$o(Z.uniformSetters,w.uniformValues),B.draw(w.gl)}}var ir=co,aa=e(425534),Ua=e.n(aa),ja=e(349509),oa=e.n(ja),ru=e(263001),yc=e.n(ru),Ec=e(928152),Sc=e.n(Ec),Xo={sub:Ua(),length:oa(),copy:yc(),rotate:Sc()},lo=function(B,D){var W=Ue()(D,3),Z=W[0],te=W[1],he=W[2],Te=Math.max(Z,te,he),Le=Math.min(Z,te,he),ze=0,Qe=0,at=(Te+Le)/2;if(Te!==Le){var tt=Te-Le;switch(Qe=at>.5?tt/(2-Te-Le):tt/(Te+Le),Te){case Z:ze=(te-he)/tt+(te<he?6:0);break;case te:ze=(he-Z)/tt+2;break;case he:ze=(Z-te)/tt+4;break}ze/=6}return B[0]=ze,B[1]=Qe,B[2]=at,B},Yr=function(B,D,W){return W<0&&(W+=1),W>1&&(W-=1),W<1/6?B+(D-B)*6*W:W<1/2?D:W<2/3?B+(D-B)*(2/3-W)*6:B},fo=function(B,D){var W=Ue()(D,3),Z=W[0],te=W[1],he=W[2],Te=0,Le=0,ze=0;if(te===0)Te=he,Le=he,ze=he;else{var Qe=he<.5?he*(1+te):he+te-he*te,at=2*he-Qe;Te=Yr(at,Qe,Z+1/3),Le=Yr(at,Qe,Z),ze=Yr(at,Qe,Z-1/3)}return B[0]=Te,B[1]=Le,B[2]=ze,B},ge=function(B,D,W){return .2126*B+.7152*D+.0722*W},on=function(B){var D=[0,0,0,1],W;if(W=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(B)){var Z,te=W[1],he=W[2];switch(te){case"rgb":case"rgba":if(Z=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he))return D[0]=Math.min(255,parseFloat(Z[1],10))/255,D[1]=Math.min(255,parseFloat(Z[2],10))/255,D[2]=Math.min(255,parseFloat(Z[3],10))/255,D[3]=Z[4]?parseFloat(Z[4]):1,D;if(Z=/^\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he))return D[0]=Math.min(100,parseFloat(Z[1],10))/100,D[1]=Math.min(100,parseFloat(Z[2],10))/100,D[2]=Math.min(100,parseFloat(Z[3],10))/100,D[3]=Z[4]?parseFloat(Z[4]):1,D;break;case"hsl":case"hsla":if(Z=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he)){var Te=parseFloat(Z[1])/360,Le=parseFloat(Z[2],10)/100,ze=parseFloat(Z[3],10)/100;if(Le===0)D[0]=ze,D[1]=ze,D[2]=ze;else{var Qe=ze<=.5?ze*(1+Le):ze+Le-ze*Le,at=2*ze-Qe;D[0]=Yr(at,Qe,Te+1/3),D[1]=Yr(at,Qe,Te),D[2]=Yr(at,Qe,Te-1/3)}return D[3]=Z[4]?parseFloat(Z[4]):1,D}break}}else if(W=/^\#([A-Fa-f\d]+)$/.exec(B)){var tt=W[1],ot=tt.length;if(ot===3||ot===4)return D[0]=parseInt(tt.charAt(0)+tt.charAt(0),16)/255,D[1]=parseInt(tt.charAt(1)+tt.charAt(1),16)/255,D[2]=parseInt(tt.charAt(2)+tt.charAt(2),16)/255,D[3]=tt.charAt(3)?parseInt(tt.charAt(3)+tt.charAt(3),16)/255:1,D;if(ot===6)return D[0]=parseInt(tt.charAt(0)+tt.charAt(1),16)/255,D[1]=parseInt(tt.charAt(2)+tt.charAt(3),16)/255,D[2]=parseInt(tt.charAt(4)+tt.charAt(5),16)/255,D[3]=tt.charAt(6)&&tt.charAt(7)?parseInt(tt.charAt(6)+tt.charAt(7),16)/255:1,D}return D},vo="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;
7\n\nvoid main() {\n  gl_Position = vec4(aPosition, 1.0);\n  vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",br='\n#ifndef PI\n#define PI 3.141592653589793\n#endif\n\nfloat ease(float t) {\n  return -0.5 * (cos(PI * t) - 1.0);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2013602866(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2013602866(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2013602866(vec4 x)\n{\n  return mod289_2013602866(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2013602866(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2013602866(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_2013602866(Pi0);\n  Pi1 = mod289_2013602866(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_2013602866(permute_2013602866(ix) + iy);\n  vec4 ixy0 = permute_2013602866(ixy + iz0);\n  vec4 ixy1 = permute_2013602866(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_2013602866(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_2013602866(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_2013602866(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\nuniform float uAspect;\nuniform float uBevelStrength;\nuniform float uComplexity;\nuniform float uCutOff;\nuniform float uMorphTime;\nuniform float uScale;\nuniform float uSeed;\nuniform float uSteps;\nuniform vec2 uBevelOffset;\nuniform vec2 uTravel;\nuniform vec3 uColorEnd;\nuniform vec3 uColorStart;\nvarying vec2 vUv;\n\nfloat getNoise (vec2 uv, vec2 travel, float n1, float n2, float t) {\n  return (\n    (cnoise(vec3(uv * n1 - travel + uSeed, t)) +\n      cnoise(vec3(uv * n2 - travel + uSeed, t)) * 0.1) *\n      0.5 +\n    0.5\n  );\n}\n\nfloat getDepth (float noise) {\n  return max(0.0, noise - uCutOff) / (1.0 - uCutOff);\n}\n\nvoid main () {\n  vec2 uv = (vUv - 0.5);\n  float morphTime = uMorphTime + uSeed;\n\n  uv.x *= uAspect;\n\n  float baseNoise = ease(getNoise(uv, uTravel, uScale, uComplexity, morphTime));\n  float baseDepth = getDepth(baseNoise);\n  float baseDepthColorStrength = baseDepth;\n\n  #ifndef IS_BLUR_ENABLED\n  baseDepth = floor(baseDepth * uSteps + 0.5);\n  baseDepthColorStrength = baseDepth / uSteps;\n  #endif\n\n  vec4 color = vec4(mix(uColorStart, uColorEnd, baseDepthColorStrength), 1.0);\n\n  #ifdef IS_BEVEL_ENABLED\n  float offsetNoise = ease(\n    getNoise(uv + uBevelOffset, uTravel, uScale, uComplexity, morphTime)\n  );
7\n  float offsetDepth = floor(getDepth(offsetNoise) * uSteps + 0.5);\n  float highlight = baseDepth - offsetDepth;\n  float lowlight = offsetDepth - baseDepth;\n\n  color.rgb += (highlight - lowlight) * uBevelStrength;\n\n  #endif\n\n  gl_FragColor = color;\n}\n';function Yt(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function iu(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Yt(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Yt(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function bc(w){var B=au();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function au(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var ci=function(w){ie()(D,w);var B=bc(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),te.isSupported?(te.programKey=te.getProgramKey(te.props),te.createResources(),te.updateAutoUpdate(),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.drawInfo=Sr({program:this.createProgram(this.props),uniforms:iu({uMorphTime:0,uTravel:[0,0],uTravelDirection:[0,0],uAspect:this.canvas.width/this.canvas.height},this.updateUniforms({},this.props)),geometry:this.getGeometry({key:"big-triangle",factory:function(){return zr()}})})}},{key:"createProgram",value:function(){var Z=this,te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.getProgram({key:this.programKey,factory:function(){return new Zn({vert:vo,frag:Z.concatFragmentShader(br,te)})}})}},{key:"concatFragmentShader",value:function(Z){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=te.isBlurEnabled,Te=te.isBevelEnabled;return"\n    ".concat(he?"#define IS_BLUR_ENABLED":"","\n    ").concat(!he&&Te?"#define IS_BEVEL_ENABLED":"","\n    ").concat(Z,"\n    ")}},{key:"getProgramKey",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te=Z.isBlurEnabled,he=Z.isBevelEnabled;return"contours-program-".concat(+te,"-").concat(+(!te&&he))}},{key:"updateProgram",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te=this.getProgramKey(Z);te!==this.programKey&&(this.releaseResource(this.programKey),this.programKey=te,this.drawInfo.program=this.createProgram(Z))}},{key:"updateUniforms",value:function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=this.getColors(),Te=Ue()(he,2),Le=Te[0],ze=Te[1];return Object.assign(Z,{uTravelDirection:Xo.rotate([],[1,0],te.travelDirection),uBevelOffset:Xo.rotate([],[te.bevelSize*1e-4,0],te.bevelRotation*Math.PI/180),uBevelStrength:te.bevelStrength*.01,uComplexity:te.complexity,uCutOff:Math.min(te.cutoff,99.99)*.01,uColorStart:Le,uColorEnd:ze,uScale:Math.max(1,100-te.scale)*.2,uSeed:te.seed*.1,uSteps:te.steps}),Z}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.speedTravel,he=Z.speedMorph;this.autoUpdate=!!(te||he)}},{key:"onUpdateProps",value:function(Z){Z.seed!==this.props.seed&&(this.uniforms.uTravel=[0,0],this.uniforms.uMorphTime=0),this.updateProgram(this.props),this.updateUniforms(this.uniforms,this.props),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(){var Z=this.props.speedTravel*25e-6,te=this.uniforms.uTravelDirection;this.uniforms.uMorphTime+=this.props.speedMorph*1e-5,this.uniforms.uTravel[0]+=Z*te[0],this.uniforms.uTravel[1]+=Z*te[1]}},{key:"render",value:function(){ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.uniforms.uAspect=this.canvas.width/this.canvas.height}},{key:"uniforms",get:function(){return this.drawInfo.uniforms}},{key:"getColors",value:function(){var Z=on(this.props.startColor),te=on(this.props.endColor);return this.props.invertColors?[te,Z]:[Z,te]}}]),D}(Pn);o()(ci,"defaultProps",{startColor:"#ffffff",endColor:"#000000",invertColors:!1,complexity:0,cutoff:0,scale:1,seed:0,speedMorph:0,speedTravel:0,travelDirection:0,isBlurEnabled:!1,steps:2,isBevelEnabled:!1,bevelRotation:0,bevelSize:0,bevelStrength:0});
7var Jl=e(177928),Gt=e.n(Jl),Zl=e(603912),ho=e.n(Zl),Yl=function(){function w(B){var D=B.color1,W=B.color2;a()(this,w),this.color1=ho()(D),this.color2=ho()(W)}return r()(w,[{key:"update",value:function(){}}]),w}(),li="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;\n\nvoid main() {\n  gl_Position = vec4(aPosition, 1.0);\n  vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",ql="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_4217261547(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_4217261547(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_4217261547(vec4 x) {\n     return mod289_4217261547(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_4217261547(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_4217261547 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_4217261547 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_4217261547;\n  vec3 i1 = min( g_4217261547.xyz, l.zxy );\n  vec3 i2 = max( g_4217261547.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_4217261547.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_4217261547(i);\n  vec4 p = permute_4217261547( permute_4217261547( permute_4217261547(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_4217261547.wyz - D_4217261547.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_4217261547 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_4217261547 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_4217261547.xy,h.z);\n  vec3 p3 = vec3(a1_4217261547.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_4217261547(vec4(dot(p0_4217261547,p0_4217261547), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_4217261547 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_4217261547,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\nfloat ease(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\n#define V_SEED_X 12.9898\n#define V_SEED_Y 78.233\n#define R_SEED 43758.5453\n#define PI 3.141592653589793\n\nuniform vec3 uColor1;\nuniform vec3 uColor2;\n\nuniform float uNoiseIntensity;\nuniform float uNoiseScale;\nuniform float uNoiseBias;\nuniform float uNoiseTime;\n\nuniform vec2 uAngle;\nuniform float uPosition1;\nuniform float uPosition2;\nuniform float uRepeat;\n\nuniform vec2 uResolution;\n\nuniform float uComplexity;\nuniform float uDirection;\nuniform float uIntensity;\nuniform float uSeed;\nuniform float uSmoothness;\nuniform float uTime;
7\nuniform float uMorphTime;\n\nvarying vec2 vUv;\nvarying float vDepth;\n\nfloat map(float value, float min1, float max1, float min2, float max2) {\n  return min2 + (value - min1) * (max2 - min2) / (max1 - min1);\n}\n\nfloat rand(vec2 co){\n  return fract(sin(dot(co.xy, vec2(V_SEED_X, V_SEED_Y))) * R_SEED);\n}\n\nfloat noise(vec2 uv) {\n  float random = rand(uv + uNoiseTime);\n\n  return snoise(vec3(uv, uNoiseTime) * uNoiseScale + random);\n}\n\nvec2 rotate(vec2 uv,float amount){\n  float ca = cos(amount);\n  float sa = sin(amount);\n\n  return vec2(\n    uv.x * ca + uv.y * sa,\n    -uv.x * sa + uv.y * ca\n  );\n}\n\nfloat getNoise(vec2 uv) {\n  vec2 direction = rotate(vec2(uTime), uDirection);\n\n  return 1.0 - snoise(vec3(uv * uComplexity + direction, uMorphTime) + uSeed);\n}\n\nvoid main () {\n  float dist = 1.0 - ease(smoothstep(1.0 - uSmoothness, 1.0, 1.0 - getNoise(vUv))) * uIntensity;\n  vec2 uv = (vUv - 0.5) * dist + 0.5;\n\n  float t = dot(vec2(0.5) - uv, uAngle) + 0.5;\n  t = (cos(t * uRepeat * PI) + 1.0) * 0.5;\n  t += uNoiseIntensity * (noise(gl_FragCoord.xy / uResolution) + uNoiseBias);\n\n  float gradient = clamp(\n    map(t, uPosition1, uPosition2, 0.0, 1.0),\n    0.0,\n    1.0\n  );\n\n  vec3 color = mix(uColor1, uColor2, gradient);\n\n  gl_FragColor = vec4(color, 1.0);\n}\n";function Oc(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function ou(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Oc(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Oc(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}var _c=function(){function w(B){var D=this,W=B.stage;a()(this,w),o()(this,"angle",0),o()(this,"setProps",function(Z){D.props=ou(ou({},D.props),Z),D.angle=D.props.linearGradientAngle}),this.props=ou({},w.defaultProps),this.stage=W}return r()(w,[{key:"getProgram",value:function(){return this.stage.getProgram({key:"linear-gradient-program",factory:function(){return new Zn({vert:li,frag:ql})}})}},{key:"getUniforms",value:function(){return this.uniforms={uAngle:[Math.cos(-this.props.linearGradientAngle*Math.PI/180),Math.sin(-this.props.linearGradientAngle*Math.PI/180)],uPosition1:(this.props.linearGradientStartColorDistance*.01+1)*.5,uPosition2:(this.props.linearGradientEndColorDistance*.01+1)*.5,uRepeat:this.props.linearGradientRepeat},this.uniforms}},{key:"update",value:function(){if(this.props.linearGradientAngle){var D=this.angle*Math.PI/180;this.uniforms.uAngle[0]=Math.cos(D),this.uniforms.uAngle[1]=Math.sin(D),this.angle-=this.props.linearGradientAngleMotion*.016}else this.uniforms.uAngle[0]=Math.cos(-this.props.linearGradientAngle*Math.PI/180),this.uniforms.uAngle[1]=Math.sin(-this.props.linearGradientAngle*Math.PI/180)}},{key:"onAttach",value:function(){}},{key:"onDetach",value:function(){}}]),w}();o()(_c,"defaultProps",{linearGradientStartColorDistance:-100,linearGradientEndColorDistance:100,linearGradientAngle:10,linearGradientAngleMotion:0,linearGradientRepeat:1});var ef="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_647663866(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_647663866(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_647663866(vec4 x) {\n     return mod289_647663866(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_647663866(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_647663866 = vec4(0.0, 0.5, 1.0, 2.0);
7\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_647663866 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_647663866;\n  vec3 i1 = min( g_647663866.xyz, l.zxy );\n  vec3 i2 = max( g_647663866.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_647663866.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_647663866(i);\n  vec4 p = permute_647663866( permute_647663866( permute_647663866(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_647663866.wyz - D_647663866.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_647663866 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_647663866 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_647663866.xy,h.z);\n  vec3 p3 = vec3(a1_647663866.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_647663866(vec4(dot(p0_647663866,p0_647663866), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_647663866 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_647663866,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\nfloat ease(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\n#define V_SEED_X 12.9898\n#define V_SEED_Y 78.233\n#define R_SEED 43758.5453\n\nuniform vec3 uColor1;\nuniform vec3 uColor2;\n\nuniform float uNoiseIntensity;\nuniform float uNoiseScale;\nuniform float uNoiseBias;\nuniform float uNoiseTime;\n\nuniform vec2 uPosition;\nuniform float uRadius;\n\nuniform vec2 uResolution;\n\nuniform float uComplexity;\nuniform float uDirection;\nuniform float uIntensity;\nuniform float uSeed;\nuniform float uSmoothness;\nuniform float uTime;\nuniform float uMorphTime;\n\nvarying vec2 vUv;\nvarying float vDepth;\n\nfloat rand(vec2 co){\n  return fract(sin(dot(co.xy, vec2(V_SEED_X, V_SEED_Y))) * R_SEED);\n}\n\nfloat noise(vec2 uv) {\n  float random = rand(uv + uNoiseTime);\n\n  return snoise(vec3(uv, uNoiseTime) * uNoiseScale + random);\n}\n\nvec2 rotate(vec2 uv,float amount){\n  float ca = cos(amount);\n  float sa = sin(amount);\n\n  return vec2(\n    uv.x * ca + uv.y * sa,\n    -uv.x * sa + uv.y * ca\n  );\n}\n\nfloat getNoise(vec2 uv) {\n  vec2 direction = rotate(vec2(uTime), uDirection);\n\n  return 1.0 - snoise(vec3(uv * uComplexity + direction, uMorphTime) + uSeed);\n}\n\nvoid main () {\n  float dist = 1.0 - ease(smoothstep(1.0 - uSmoothness, 1.0, 1.0 - getNoise(vUv))) * uIntensity;\n  vec2 uv = (vUv - 0.5) * dist + 0.5;\n\n  vec2 center = uPosition;\n  float aspect = uResolution.x / uResolution.y;\n\n  uv.x *= aspect;\n  center.x *= aspect;\n\n  float t = clamp(length(center - uv) / uRadius, 0.0, 1.0);\n  t += uNoiseIntensity * (noise(gl_FragCoord.xy / uResolution) + uNoiseBias);\n\n  vec3 color = mix(uColor1, uColor2, smoothstep(0.0, 1.0, t));\n\n  gl_FragColor = vec4(color, 1.0);\n}\n",Pi=function(){function w(B){var D=B.position,W=B.target,Z=B.speed,te=Z===void 0?.5:Z;a()(this,w),this.position=D,this.target=W,this.speed=te}return r()(w,[{key:"update",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:.016,W=this.target,Z=this.position,te=this.speed;
7Z[0]+=(W[0]-Z[0])*(te*D),Z[1]+=(W[1]-Z[1])*(te*D)}}]),w}();function Pc(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function su(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Pc(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Pc(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}var Ac=function(){function w(B){var D=this,W=B.node,Z=B.position;a()(this,w),o()(this,"target",[.5,.5]),o()(this,"setProps",function(te){D.props=su(su({},D.props),te),D.animation.speed=D.props.followSpeed,D.position[0]=D.target[0]=D.props.restX,D.position[1]=D.target[1]=D.props.restY,D.props.enabled?D.addEventListeners():(D.removeEventListeners(),D.update())}),o()(this,"onPointerMove",function(te){var he=D.node.getBoundingClientRect(),Te=(te.clientX-he.left)/he.width,Le=1-(te.clientY-he.top)/he.height;D.target[0]=Te,D.target[1]=Le,clearTimeout(D.pointerTargetResetTID)}),o()(this,"onPointerLeave",function(){clearTimeout(D.pointerTargetResetTID),D.pointerTargetResetTID=setTimeout(D.resetPointerTarget,2e3)}),o()(this,"resetPointerTarget",function(){Xo.copy(D.target,[D.props.restX,D.props.restY])}),this.props=su({},w.defaultProps),this.node=W,this.position=Z,this.animation=new Pi({position:this.position,target:this.target})}return r()(w,[{key:"addEventListeners",value:function(){this.node.addEventListener("mousemove",this.onPointerMove),this.node.addEventListener("mouseleave",this.onPointerLeave)}},{key:"removeEventListeners",value:function(){this.node.removeEventListener("mousemove",this.onPointerMove),this.node.removeEventListener("mouseleave",this.onPointerLeave)}},{key:"update",value:function(){if(this.props.enabled){this.animation.update();return}var D=this.props,W=D.restX,Z=D.restY;this.position[0]=W,this.position[1]=Z}},{key:"destroy",value:function(){this.removeEventListeners(),delete this.node}}]),w}();o()(Ac,"defaultProps",{enabled:!1,restX:.5,restY:.5,followSpeed:.1});function Tc(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function uu(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Tc(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Tc(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}var Ui=function(){function w(B){var D=this,W=B.stage,Z=B.node;a()(this,w),o()(this,"position",[0,0]),o()(this,"setProps",function(te){D.props=uu(uu({},D.props),te),D.updateFollowCursor()}),this.props=uu({},w.defaultProps),this.node=Z,this.stage=W,this.createFollowCursor()}return r()(w,[{key:"createFollowCursor",value:function(){this.followCursor=new Ac({node:this.node.closest("section")||this.node,position:this.position})}},{key:"updateFollowCursor",value:function(){this.followCursor.setProps({enabled:this.props.radialGradientFollowCursor,restX:this.props.radialGradientPositionX*.01,restY:this.props.radialGradientPositionY*.01,followSpeed:this.props.radialGradientFollowSpeed*.01})}},{key:"getProgram",value:function(){return this.stage.getProgram({key:"radial-gradient-program",factory:function(){return new Zn({vert:li,frag:ef})}})}},{key:"getUniforms",value:function(){return this.uniforms={uRadius:this.props.radialGradientRadius*.01,uPosition:this.position},this.uniforms}},{key:"update",value:function(){this.followCursor.update()}},{key:"destroy",value:function(){this.followCursor.destroy()}},{key:"onAttach",value:function(D){this.node=D,this.createFollowCursor(),this.updateFollowCursor()}},{key:"onDetach",value:function(){this.destroy()}}]),w}();o()(Ui,"defaultProps",{radialGradientRadius:50,radialGradientPositionX:50,radialGradientPositionY:50,radialGradientFollowCursor:!1,radialGradientFollowSpeed:50});function Cc(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function cu(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};
7B%2?Cc(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Cc(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function qr(w){var B=tf();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function tf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var nf={linear:_c,radial:Ui},rf={none:Yl},lu=function(w){ie()(D,w);var B=qr(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"gradientType",""),te.isSupported?(te.updateGradient(),te.updateDrawInfo(),te.updateAutoUpdate(),te):ye()(te)}return r()(D,[{key:"updateGradient",value:function(){var Z=this.getColors(),te=Ue()(Z,2),he=te[0],Te=te[1];this.gradient=new nf[this.props.gradientType]({stage:this,node:this.node}),this.gradient.setProps(this.props),this.gradientAnimation=new rf[this.props.gradientAnimationType]({color1:he,color2:Te,speed:this.props.gradientAnimationSpeed*.01,offset:this.props.gradientAnimationIntensity*.01})}},{key:"updateDrawInfo",value:function(){var Z=this.props.gradientType;return this.gradientType===Z?!1:(this.gradientType=Z,this.drawInfo=Sr({program:this.gradient.getProgram(),uniforms:cu({uTime:0,uMorphTime:0,uNoiseTime:0},this.getGradientUniforms()),geometry:this.getGeometry({key:"big-triangle",factory:function(){return zr()}})}),!0)}},{key:"updateUniforms",value:function(){Object.assign(this.drawInfo.uniforms,this.getGradientUniforms())}},{key:"getGradientUniforms",value:function(){return cu(cu({},this.gradient.getUniforms()),{},{uColor1:this.gradientAnimation.color1,uColor2:this.gradientAnimation.color2,uNoiseIntensity:this.props.noiseIntensity*.01,uNoiseScale:100+900*((100-this.props.noiseScale)*.01),uNoiseBias:this.props.noiseBias*.01,uResolution:[this.canvas.width,this.canvas.height],uComplexity:this.props.distortionComplexity*.1,uDirection:(45+this.props.distortionDirection)*(Math.PI/180),uIntensity:this.props.distortionIntensity*.01,uSeed:this.props.distortionSeed,uSmoothness:this.props.distortionSmoothness*.01})}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.linearGradientAngleMotion,he=Z.radialGradientFollowCursor,Te=Z.radialGradientFollowSpeed,Le=Z.animateNoise,ze=Z.distortionSpeed,Qe=Z.distortionMorphSpeed;this.autoUpdate=Le||te||!!(he&&Te)||!!(ze||Qe)}},{key:"onUpdateProps",value:function(){this.updateGradient(),this.updateDrawInfo()||this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(){this.gradient.update(),this.props.animateNoise?(this.drawInfo.uniforms.uNoiseTime+=.016,this.drawInfo.uniforms.uNoiseTime%=1):this.drawInfo.uniforms.uNoiseTime=0,this.drawInfo.uniforms.uTime+=this.props.distortionSpeed*5e-5,this.drawInfo.uniforms.uMorphTime+=this.props.distortionMorphSpeed*1e-4,this.gradientAnimation.update()}},{key:"render",value:function(){ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.drawInfo.uniforms.uResolution[0]=this.canvas.width,this.drawInfo.uniforms.uResolution[1]=this.canvas.height}},{key:"getColors",value:function(){var Z=on(this.props.startColor),te=on(this.props.endColor);return this.props.invertColors?[te,Z]:[Z,te]}},{key:"onAttach",value:function(){this.gradient.onAttach(this.node)}},{key:"onDetach",value:function(){this.gradient.onDetach()}}]),D}(Pn);o()(lu,"defaultProps",{gradientType:"radial",invertColors:!1,startColor:"#ffffff",endColor:"#000000",linearGradientStartColorDistance:0,linearGradientEndColorDistance:0,linearGradientAngle:0,linearGradientAngleMotion:0,linearGradientRepeat:1,radialGradientRadius:0,radialGradientPositionX:0,radialGradientPositionY:0,radialGradientFollowCursor:!1,radialGradientFollowSpeed:0,noiseIntensity:0,noiseScale:0,noiseBias:0,animateNoise:!1,distortionComplexity:0,distortionDirection:0,distortionIntensity:0,distortionMorphSpeed:0,distortionSeed:0,distortionSmoothness:0,distortionSpeed:0,gradientAnimationType:"none",gradientAnimationSpeed:0,gradientAnimationIntensity:0});var af=function w(B){E(this,w),this.array=B,this.count=this.array.length,this.name="index",this.usage=jn,this.needsUpdate=!0,B.constructor.name==="Uint32Array"?this.type=Uo:B.constructor.name==="Uint16Array"?this.type=_a:this.type=Yi},Ic=af;function xc(w,B){w.index=new Ic(B)}var po=xc;function of(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.width,D=B===void 0?2:B,W=w.height,Z=W===void 0?2:W,te=w.position,he=te===void 0?bi:te,Te=w.uv,Le=Te===void 0?no:Te,ze=w.uvArray,Qe=ze===void 0?[0,1,1,1,1,0,0,0]:ze,at=new Ni,tt=D*.5,ot=Z*.5;return he&&Nn(at,he,new On({array:new Float32Array([-tt,ot,tt,ot,tt,-ot,-tt,-ot]),itemSize:2})),Le&&Nn(at,Le,new On({array:new Float32Array(Qe),itemSize:2})),po(at,new Uint8Array([2,1,0,2,0,3])),at}var Qo=of,Ai=Jo;function Jo(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}var sf=function w(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=B.left,W=D===void 0?-1:D,Z=B.right,te=Z===void 0?1:Z,he=B.bottom,Te=he===void 0?-1:he,Le=B.top,ze=Le===void 0?1:Le,Qe=B.near,at=Qe===void 0?0:Qe,tt=B.far,ot=tt===void 0?1:tt;E(this,w),this.left=W,this.right=te,this.bottom=Te,this.top=ze,this.near=at,this.far=ot,this.position=[1,1,1],this.target=[0,0,0],this.viewMatrix=Ai([]),this.projectionMatrix=Ai([]),this.up=[0,1,0]},go=sf,Rc=Ti;function Ti(){var w=new Float32Array(9);return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}var fu=function w(){E(this,w),I(this,"parent",null),I(this,"children",[]),I(this,"pivot",[0,0]),I(this,"position",[0,0]),I(this,"scale",[1,1]),I(this,"rotation",0),I(this,"matrix",Rc()),I(this,"worldMatrix",Rc()),I(this,"matrixAutoUpdate",!0),I(this,"worldMatrixNeedsUpdate",!1)},Ci=fu;function Wr(w,B){var D=w.children.indexOf(B);return D!==-1&&(w.children.splice(D,1),B.parent=null),B}var wc=Wr;function Dc(w,B){return B.parent&&wc(B.parent,B),w.children.includes(B)===!1&&(w.children.push(B),B.parent=w),B}var du=Dc,sa=ji;function ji(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}var Zo=uf;function uf(w,B,D){var W=B[0],Z=B[1],te=B[2],he=B[3],Te=B[4],Le=B[5],ze=B[6],Qe=B[7],at=B[8],tt=D[0],ot=D[1];
7return w[0]=W,w[1]=Z,w[2]=te,w[3]=he,w[4]=Te,w[5]=Le,w[6]=tt*W+ot*he+ze,w[7]=tt*Z+ot*Te+Qe,w[8]=tt*te+ot*Le+at,w}var mo=cf;function cf(w,B,D){var W=D[0],Z=D[1];return w[0]=W*B[0],w[1]=W*B[1],w[2]=W*B[2],w[3]=Z*B[3],w[4]=Z*B[4],w[5]=Z*B[5],w[6]=B[6],w[7]=B[7],w[8]=B[8],w}var Mc=qn;function qn(w,B,D){var W=B[0],Z=B[1],te=B[2],he=B[3],Te=B[4],Le=B[5],ze=B[6],Qe=B[7],at=B[8],tt=Math.sin(D),ot=Math.cos(D);return w[0]=ot*W+tt*he,w[1]=ot*Z+tt*Te,w[2]=ot*te+tt*Le,w[3]=ot*he-tt*W,w[4]=ot*Te-tt*Z,w[5]=ot*Le-tt*te,w[6]=ze,w[7]=Qe,w[8]=at,w}var yo=[];function Lc(w){sa(w.matrix),yo[0]=-w.pivot[0]+w.position[0],yo[1]=-w.pivot[1]+w.position[1],Zo(w.matrix,w.matrix,yo),Mc(w.matrix,w.matrix,w.rotation),mo(w.matrix,w.matrix,w.scale),Zo(w.matrix,w.matrix,w.pivot),w.worldMatrixNeedsUpdate=!0}var fi=Lc,vu=Yo;function Yo(w,B){return w[0]=B[0],w[1]=B[1],w[2]=B[2],w[3]=B[3],w[4]=B[4],w[5]=B[5],w[6]=B[6],w[7]=B[7],w[8]=B[8],w}var Ba=Nc;function Nc(w,B,D){var W=B[0],Z=B[1],te=B[2],he=B[3],Te=B[4],Le=B[5],ze=B[6],Qe=B[7],at=B[8],tt=D[0],ot=D[1],Ot=D[2],xt=D[3],At=D[4],Xt=D[5],qt=D[6],Dt=D[7],It=D[8];return w[0]=tt*W+ot*he+Ot*ze,w[1]=tt*Z+ot*Te+Ot*Qe,w[2]=tt*te+ot*Le+Ot*at,w[3]=xt*W+At*he+Xt*ze,w[4]=xt*Z+At*Te+Xt*Qe,w[5]=xt*te+At*Le+Xt*at,w[6]=qt*W+Dt*he+It*ze,w[7]=qt*Z+Dt*Te+It*Qe,w[8]=qt*te+Dt*Le+It*at,w}function ar(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;w.matrixAutoUpdate&&fi(w),(w.worldMatrixNeedsUpdate||B)&&(w.parent===null?vu(w.worldMatrix,w.matrix):(sa(w.worldMatrix),Ba(w.worldMatrix,w.parent.worldMatrix,w.matrix)),w.worldMatrixNeedsUpdate=!1,B=!0),w.children.forEach(function(D){ar(D,B)})}var qo=ar,Uc="blendEquation";function lf(w,B,D){var W=D===void 0?"".concat(B):"".concat(B,"-").concat(D);w.get(Uc)!==W&&(D===void 0?w.gl.blendEquation(B):w.gl.blendEquationSeparate(B,D),w.set(Uc,W))}var hu=lf,es="blendFunc";function ff(w,B,D,W,Z){var te=W===void 0?"".concat(B,"-").concat(D):"".concat(B,"-").concat(D,"-").concat(W,"-").concat(Z);w.get(es)!==te&&(W===void 0?w.gl.blendFunc(B,D):w.gl.blendFuncSeparate(B,D,W,Z),w.set(es,te))}var ua=ff,jc=df;function df(w,B,D){var W=B[0],Z=B[1],te=B[2],he=B[3],Te=B[4],Le=B[5],ze=B[6],Qe=B[7],at=B[8],tt=B[9],ot=B[10],Ot=B[11],xt=B[12],At=B[13],Xt=B[14],qt=B[15],Dt=D[0],It=D[1],Lt=D[2],jt=D[3];return w[0]=Dt*W+It*Te+Lt*at+jt*xt,w[1]=Dt*Z+It*Le+Lt*tt+jt*At,w[2]=Dt*te+It*ze+Lt*ot+jt*Xt,w[3]=Dt*he+It*Qe+Lt*Ot+jt*qt,Dt=D[4],It=D[5],Lt=D[6],jt=D[7],w[4]=Dt*W+It*Te+Lt*at+jt*xt,w[5]=Dt*Z+It*Le+Lt*tt+jt*At,w[6]=Dt*te+It*ze+Lt*ot+jt*Xt,w[7]=Dt*he+It*Qe+Lt*Ot+jt*qt,Dt=D[8],It=D[9],Lt=D[10],jt=D[11],w[8]=Dt*W+It*Te+Lt*at+jt*xt,w[9]=Dt*Z+It*Le+Lt*tt+jt*At,w[10]=Dt*te+It*ze+Lt*ot+jt*Xt,w[11]=Dt*he+It*Qe+Lt*Ot+jt*qt,Dt=D[12],It=D[13],Lt=D[14],jt=D[15],w[12]=Dt*W+It*Te+Lt*at+jt*xt,w[13]=Dt*Z+It*Le+Lt*tt+jt*At,w[14]=Dt*te+It*ze+Lt*ot+jt*Xt,w[15]=Dt*he+It*Qe+Lt*Ot+jt*qt,w}function vf(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=arguments.length>1?arguments[1]:void 0;return w[0]=B[0],w[1]=B[1],w[2]=0,w[3]=B[2],w[4]=B[3],w[5]=B[4],w[6]=0,w[7]=B[5],w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=B[6],w[13]=B[7],w[14]=0,w[15]=1,w}var Eo=vf;function hf(w,B,D){w.uniformValues.set(B,D)}var Bc=hf,ts=Fc;function Fc(){var w=new Float32Array(16);return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}var pf=ts(),gf=ts();function mf(w,B,D){var W=function Z(te){te.visible&&(te.drawInfo&&(Bc(w,"uModelViewMatrix",jc(pf,D.viewMatrix,Eo(gf,te.worldMatrix))),ir(w,te.drawInfo)),te.children.forEach(Z))};Bc(w,"uProjectionMatrix",D.projectionMatrix),B.children.forEach(W)}var pu=mf,gu=yf;function yf(w,B,D,W,Z,te,he){var Te=1/(B-D),Le=1/(W-Z),ze=1/(te-he);return w[0]=-2*Te,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=-2*Le,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=2*ze,w[11]=0,w[12]=(B+D)*Te,w[13]=(Z+W)*Le,w[14]=(he+te)*ze,w[15]=1,w}function mu(w){gu(w.projectionMatrix,w.left,w.right,w.bottom,w.top,w.near,w.far)}var yu=mu;function Gc(w){var B=w.camera,D=w.x,W=D===void 0?0:D,Z=w.y,te=Z===void 0?0:Z,he=w.width,Te=he===void 0?2:he,Le=w.height,ze=Le===void 0?2:Le;return B.left=W,B.top=te,B.right=W+Te,B.bottom=te+ze,yu(B),B}var Eu=Gc,So=function(B){return function(D){return B=B+1831565813|0,D=Math.imul(B^B>>>15,1|B),D=D+Math.imul(D^D>>>7,61|D)^D,((D^D>>>14)>>>0)/Math.pow(2,32)}},zc=function(B){var D=typeof B=="number"?So(B):Math.random,W=function(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;
7return Qe+D()*(at-Qe)},Z=function(Qe,at){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,Ot=W(Qe,at),xt=W(0,1)*ot;return Ot*(1-xt)+tt*xt},te=function(Qe,at){return Math.round(W(Qe,at))},he=function(){return!!Math.round(D())},Te=function(Qe){for(var at=Qe.length-1;at>0;at--){var tt=D()*at|0,ot=Qe[at];Qe[at]=Qe[tt],Qe[tt]=ot}return Qe},Le=function(Qe){return Qe[te(0,Qe.length-1)]};return{random:D,randomFloat:W,randomFloatBias:Z,randomInt:te,randomBool:he,randomFromArray:Le,shuffle:Te}},Wc=function(B,D,W){return B>D-W?1:Math.sqrt(B-.5)/Math.sqrt(D-(W+1)*.5)},Hc=function(w){for(var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,D=1,W=Math.round(D*Math.sqrt(w)),Z=(Math.sqrt(5)+1)*.5,te=[],he=1;he<w+1;he++){var Te=Wc(he,w,W),Le=2*Math.PI*he/(Z*Z);te.push([Math.cos(Le)*Te*B,Math.sin(Le)*Te*B])}return te},Kc=function(w,B){return function(D){return(Array.isArray(D)?D:[D]).some(function(W){return w[W]!==B[W]})}},Vc=function(w){x(D,w);var B=J(D);function D(W){var Z=W.geometry,te=W.material,he=W.offset,Te=he===void 0?0:he,Le=W.count,ze=Le===void 0?Z.index.count:Le;return E(this,D),B.call(this,{geometry:Z,material:te,offset:Te,count:ze})}return T(D,[{key:"draw",value:function(Z){Z.drawElements(this.mode,this.index.count,this.index.type,this.offset)}}]),D}(dt),Fa=Vc,Su=function(w){x(D,w);var B=J(D);function D(){var W,Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return E(this,D),W=B.call(this),I(X(W),"visible",!0),W.drawInfo=Z,W}return D}(Ci),bu=Su,Ou=e(226941),Ef=e.n(Ou),_u=e(176857),Zt=e.n(_u),Sf=e(138903),bf=e.n(Sf),bo=e(316514),kc=e.n(bo),Of=e(709871),_f=e.n(Of),Hr=function(B,D){return B[0]=D,B[1]=D,B[2]=D,B},ns={distance:Zt(),copy:Ef(),sub:bf(),set:kc(),normalize:_f(),setScalar:Hr},rs=function(){function w(B){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.05;a()(this,w),this.current=B,this.target=B,this.speed=D}return r()(w,[{key:"setTarget",value:function(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;W&&(this.current=D),this.target=D}},{key:"getValue",value:function(){return this.current}},{key:"update",value:function(){var D=(this.target-this.current)*this.speed;return this.current+=D,this.current}}]),w}();function Pu(w){var B=$c();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function $c(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Xc=function(w){ie()(D,w);var B=Pu(D);function D(W){var Z,te=W.geometry,he=W.program,Te=W.metaballs,Le=W.containerWidth,ze=W.containerHeight;a()(this,D),Z=B.call(this,Sr({DrawInfoClass:Fa,program:he,geometry:te,uniforms:{uColor:[0,1,0],uMetaballs:Te}})),o()(Gt()(Z),"wobble",0),o()(Gt()(Z),"morph",0),o()(Gt()(Z),"speed",0),o()(Gt()(Z),"scrollOffset",0),o()(Gt()(Z),"containerWidth",0),o()(Gt()(Z),"containerHeight",0),o()(Gt()(Z),"metaballSizes",[]);for(var Qe=0;Qe<Te.length;Qe+=3)Z.metaballSizes.push(Te[Qe+2]);return Z.anchor=[0,0],Z.containerWidth=Le,Z.containerHeight=ze,Z.time=Math.random()*Math.PI,Z.size=new rs(0),Z}return r()(D,[{key:"setAnchor",value:function(Z,te){this.anchor[0]=Z,this.anchor[1]=te}},{key:"setSize",value:function(Z){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.size.setTarget(Z,te)}},{key:"update",value:function(){var Z=this.size.update(),te=this.containerWidth,he=this.containerHeight;this.scale[0]=Z*Math.max(te,he),this.scale[1]=this.scale[0],this.position[0]=this.anchor[0]*te,this.position[1]=(this.anchor[1]+this.scrollOffset+Math.sin(this.time)*this.wobble)*he;var Te=this.drawInfo.uniforms.uMetaballs;Te[2]=this.metaballSizes[0]+.02*Math.sin(this.time+1)*this.morph,Te[5]=this.metaballSizes[1]+.02*Math.cos(this.time+2)*this.morph,Te[8]=this.metaballSizes[2]+.02*Math.sin(this.time+3)*this.morph,Te[11]=this.metaballSizes[3]+.02*Math.cos(this.time+4)*this.morph,Te[14]=this.metaballSizes[4]+.02*Math.sin(this.time+5)*this.morph,this.time+=.016*this.speed}},{key:"setContainerSize",value:function(Z,te){this.containerWidth=Z,this.containerHeight=te}},{key:"color",get:function(){return this.drawInfo.uniforms.uColor},set:function(Z){ns.copy(this.drawInfo.uniforms.uColor,Z)}}]),D}(bu),wr="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nuniform mat4 uModelViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n  gl_Position = uProjectionMatrix * uModelViewMatrix * vec4(aPosition, 1.0
7);\n\n  vUv = aUv;\n}\n",Bi="\nuniform vec3 uMetaballs[5];\n\nuniform vec3 uColor;\nuniform vec2 uSize;\n\nvarying vec2 vUv;\n\nvoid main() {\n  float frag = 0.0;\n  float d = 0.0;\n  vec3 m;\n\n  // 0\n  m = uMetaballs[0];\n  d += m.z / distance(m.xy, vUv);\n  frag += smoothstep(0.97, 1.0, length(d));\n\n  // 1\n  m = uMetaballs[1];\n  d += m.z / distance(m.xy, vUv);\n  frag += smoothstep(0.97, 1.0, length(d));\n\n  // 2\n  m = uMetaballs[2];\n  d += m.z / distance(m.xy, vUv);\n  frag += smoothstep(0.97, 1.0, length(d));\n\n  // 3\n  m = uMetaballs[3];\n  d += m.z / distance(m.xy, vUv);\n  frag += smoothstep(0.97, 1.0, length(d));\n\n  // 4\n  m = uMetaballs[4];\n  d += m.z / distance(m.xy, vUv);\n  frag += smoothstep(0.97, 1.0, length(d));\n\n  // clamp\n  frag = step(1.0, clamp(frag, 0.0, 1.0));\n\n  gl_FragColor = vec4(uColor, frag);\n}\n",ca={linear:"linear",edge:"edge",center:"center"},Oo={monochromatic:"monochromatic",vibrant:"vibrant"};function is(w){var B=Qc();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Qc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Au=Vn.BLEND,Jc=Vn.DEPTH_TEST,Tu=Vn.FUNC_ADD,Cu=Vn.ONE_MINUS_SRC_ALPHA,Fi=Vn.SRC_ALPHA,Pf=function(B,D){for(var W=[],Z=0;Z<D;Z++)W.push([B.randomFloat(0,1),B.randomFloat(0,1)]);return W},Gi=function(B,D){for(var W=[],Z=0;Z<D;Z++){var te=B.randomFloat(0,Math.PI*2),he=Math.cos(te),Te=Math.sin(te);W.push([.5+.5*he*B.randomFloat(1,1.2),.5+.5*Te*B.randomFloat(1,1.2)])}return W},Zc=function(B,D){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,Z=B.shuffle(Hc(D,.5));return Z.map(function(te){return[(te[0]+1)*.5+B.randomFloat(-W,W),(te[1]+1)*.5+B.randomFloat(-W,W)]})},_o=function(w){ie()(D,w);var B=is(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"scrollProgress",0),o()(Gt()(te),"onScrollProgress",function(he){te.scrollProgress=he}),te.isSupported?(te.createResources(),te.createScene(),te.updateRNG(),te.updateShapes(),te.updateDistribution(),te.updateColor(),te.updateSize(!0),te.updateAnimation(),te.updateCount(),te.updateAutoUpdate(),te.refresh(),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.blobProgram=this.getProgram({key:"blob-program",factory:function(){return new Zn({vert:wr,frag:Bi})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return Qo({width:1,height:1})}})}},{key:"createScene",value:function(){this.camera=new go,this.scene=new Ci}},{key:"updateRNG",value:function(){this.rng=zc(this.props.seed)}},{key:"updateShapes",value:function(){this.shapes=[];for(var Z=0;Z<D.MAX_SHAPES;Z++){for(var te=[],he=0;he<5;he++)te.push(this.rng.randomFloat(.3,.7),this.rng.randomFloat(.3,.7),this.rng.randomFloat(.03,.06));var Te=new Xc({geometry:this.quadGeometry,program:this.blobProgram,containerWidth:this.canvas.width,containerHeight:this.canvas.height,metaballs:te});this.shapes.push(Te)}}},{key:"updateDistribution",value:function(){var Z=this.props.distribution,te=D.MAX_SHAPES,he;switch(Z){case ca.edge:he=Gi(this.rng,te);break;case ca.center:he=Zc(this.rng,te);break;case ca.linear:default:he=Pf(this.rng,te);break}for(var Te=0;Te<D.MAX_SHAPES;Te++){var Le;(Le=this.shapes[Te]).setAnchor.apply(Le,ho()(he[Te]))}}},{key:"updateCount",value:function(){var Z=this;this.scene.children.length=0,this.visibleShapes=this.shapes.slice(0,Math.min(this.props.count,D.MAX_SHAPES)),this.visibleShapes.forEach(function(te){du(Z.scene,te)})}},{key:"updateColor",value:function(){var Z=this.props,te=Z.backgroundColor,he=Z.colorMode;switch(this.clearColor=on(te),he){case Oo.vibrant:this.setVibrantColors();break;case Oo.monochromatic:default:this.setMonochromaticColors();break}}},{key:"setMonochromaticColors",value:function(){var Z=this,te=on(this.props.baseColor),he=lo([],te),Te=ge.a
7pply(void 0,ho()(te))>.5,Le=Te?-1:1;this.shapes.forEach(function(ze){fo(ze.color,[he[0],he[1],he[2]+Z.rng.randomFloat(0,.5)*Le])})}},{key:"setVibrantColors",value:function(){var Z=this;this.shapes.forEach(function(te){fo(te.color,[Z.rng.randomFloat(0,1),1,.5])})}},{key:"updateSize",value:function(Z){var te=this,he=this.props,Te=he.size,Le=he.sizeVariance;this.shapes.forEach(function(ze){var Qe=te.rng.randomFloat(Te,Te+Le)/100;ze.setSize(Qe,Z)})}},{key:"updateAnimation",value:function(){var Z=this,te=this.props,he=te.wobble,Te=te.morph,Le=te.speed;this.shapes.forEach(function(ze){ze.wobble=he*.01*Z.rng.randomFloat(.8,1.2)*.05,ze.morph=Te*.01*Z.rng.randomFloat(.8,1.2),ze.speed=Le*.01*Z.rng.randomFloat(.8,1.2)})}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.wobble,he=Z.morph,Te=Z.speed,Le=Z.scrollMovement;this.autoUpdate=!!(Le||Te&&(te||he))}},{key:"onUpdateProps",value:function(Z){var te=Kc(this.props,Z);if(this.updateRNG(),te("seed")){this.updateShapes(),this.updateDistribution(),this.updateColor(),this.updateSize(!0),this.updateAnimation(),this.updateCount(),this.updateAutoUpdate();return}te("distribution")&&this.updateDistribution(),te("count")&&this.updateCount(),te(["backgroundColor","baseColor","colorMode"])&&this.updateColor(),te(["size","sizeVariance"])&&this.updateSize(!1),te(["wobble","morph","speed"])&&this.updateAnimation(),this.updateAutoUpdate()}},{key:"update",value:function(){var Z=this,te=this.props.scrollMovement/100*.5;this.visibleShapes.forEach(function(he,Te,Le){var ze=Le.length,Qe=te*Te/(ze-1),at=-Qe+2*Qe*Z.scrollProgress;
7he.scrollOffset=at,he.update()}),qo(this.scene)}},{key:"render",value:function(){this.renderer.state.enable(Au),this.renderer.state.disable(Jc),hu(this.renderer.state,Tu),ua(this.renderer.state,Fi,Cu),pu(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var Z=this.canvas,te=Z.width,he=Z.height;this.shapes.forEach(function(Te){Te.setContainerSize(te,he)}),Eu({camera:this.camera,x:0,y:0,width:te,height:he})}}]),D}(Pn);o()(_o,"MAX_SHAPES",100),o()(_o,"defaultProps",{seed:0,count:32,distribution:ca.edge,colorMode:Oo.monochromatic,backgroundColor:"#ffffff",baseColor:"#000000",size:10,sizeVariance:0,wobble:0,morph:0,speed:0,scrollMovement:0});var Iu=function w(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=B.image,W=D===void 0?null:D,Z=B.minFilter,te=Z===void 0?Ei:Z,he=B.magFilter,Te=he===void 0?Ei:he,Le=B.wrapS,ze=Le===void 0?Ji:Le,Qe=B.wrapT,at=Qe===void 0?Ji:Qe,tt=B.format,ot=tt===void 0?Ea:tt,Ot=B.type,xt=Ot===void 0?Yi:Ot,At=B.flipY,Xt=At===void 0?!0:At,qt=B.premultiplyAlpha,Dt=qt===void 0?!1:qt;E(this,w),this.image=W,this.minFilter=te,this.magFilter=Te,this.wrapS=ze,this.wrapT=at,this.format=ot,this.type=xt,this.flipY=Xt,this.premultiplyAlpha=Dt,this.generateMipmap=this.minFilter!==Ei&&this.minFilter!==Qi,this.needsUpdate=!1},as=Iu;function Af(w,B){var D=B.wrapS,W=B.wrapT,Z=B.minFilter,te=B.magFilter,he=B.flipY,Te=B.premultiplyAlpha;w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_S,D),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_T,W),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MIN_FILTER,Z),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MAG_FILTER,te),w.pixelStorei(w.UNPACK_FLIP_Y_WEBGL,he),w.pixelStorei(w.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Te)}var Yc=Af,xu="activeTexture";function qc(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;w.get(xu)!==B&&(w.gl.activeTexture(Sa+B),w.set(xu,B))}var el=qc;function tl(w,B,D){var W="texture-".concat(D);w.get(W)!==B&&(w.gl.bindTexture(Xi,B),w.set(W,B))}var Po=tl;function Or(w,B){var D=w.gl;B.image&&D.texImage2D(Xi,0,B.format,B.format,B.type,B.image),B.generateMipmap&&D.generateMipmap(Xi)}var ei=Or;function Tf(w,B,D){var W=w.gl,Z=w.properties.get(B);return el(w.state,D),Z.glTexture?(Po(w.state,Z.glTexture,D),B.needsUpdate===!0&&(ei(w.state,B,Z.glTexture),B.needsUpdate=!1)):(Z.glTexture=W.createTexture(),Po(w.state,Z.glTexture,D),Yc(W,B),ei(w.state,B,Z.glTexture)),D}var Cf=Tf;function os(w,B){var D=w.textures,W=D.textureBindings,Z=W.get(B);return Z||(Z=function(){return Cf(w,B,D.nextTextureUnit++)},W.set(B,Z)),Z}var Ii=os,nl=function w(B){var D=B.width,W=B.height,Z=B.generateDepth,te=Z===void 0?!1:Z,he=B.generateStencil,Te=he===void 0?!1:he,Le=B.textureOptions;E(this,w),this.width=D,this.height=W,this.generateDepth=te,this.generateStencil=Te,this.texture=new as(Le),this.textureOptions=Le},Ru=nl;function If(w,B){var D=w.properties.get(B);Rt(w,B.texture),D.glFrameBuffer&&(w.gl.deleteFramebuffer(D.glFrameBuffer),delete D.glFrameBuffer),D.glRenderBuffer&&(w.gl.deleteRenderbuffer(D.glRenderBuffer),delete D.glRenderBuffer),w.properties.remove(B)}var ss=If;function Ga(w){return new Ru({width:w.width,height:w.height,generateDepth:w.generateDepth,generateStencil:w.generateStencil,textureOptions:w.textureOptions?j({},w.textureOptions):void 0})}var Ao=Ga;function xf(w,B,D,W){ss(w,B),B.width=D,B.height=W}var wu=xf,rl=function(){function w(B){var D=B.renderer,W=B.textureOptions,Z=B.screenGeometry,te=Z===void 0?zr():Z;E(this,w),this.renderer=D,this.renderTargetTextureOptions=W,this.screenGeometry=te,this.passes=[]}return T(w,[{key:"addPass",value:function(D,W){D.init(this),W!==void 0?this.passes.splice(W,0,D):this.passes.push(D)}},{key:"removePass",value:function(D){return _e(this.passes,D)}},{key:"setSize",value:function(D,W){D===this.width&&W===this.height||(this.width=D,this.height=W,this.inputRenderTarget?(wu(this.renderer,this.inputRenderTarget,D,W),wu(this.renderer,this.outputRenderTarget,D,W)):(this.inputRenderTarget=new Ru({width:D,height:W,textureOptions:this.renderTargetTextureOptions}),this.outputRenderTarget=Ao(this.inputRenderTarget)))}},{key:"swapRenderTargets",value:function(){var D=this.inputRenderTarget;this.inputRenderTarget=this.outputRenderTarget,this.outputRenderTarget=D}},{key:"render",value:function(){var D=this;
7this.passes.forEach(function(W){W.enabled&&(W.render(D.renderer,D.inputRenderTarget,D.outputRenderTarget),W.shouldSwap&&D.swapRenderTargets())})}},{key:"dispose",value:function(){ss(this.renderer,this.inputRenderTarget),ss(this.renderer,this.outputRenderTarget),Mn(this.renderer,this.screenGeometry),this.passes.forEach(function(D){D.dispose()}),this.passes.length=0,this.renderer=null}}]),w}(),us=rl,il=function(){function w(){E(this,w),this.renderToScreen=!1,this.shouldSwap=!0,this.shouldClear=!0,this.enabled=!0}return T(w,[{key:"init",value:function(D){this.composer=D}},{key:"render",value:function(D,W,Z){}},{key:"dispose",value:function(){}}]),w}(),cs=il,ls="framebuffer";function fs(w,B){w.get(ls)!==B&&(w.gl.bindFramebuffer(Kn,B),w.set(ls,B))}var ds=fs,Du="renderbuffer";function vs(w,B){w.get(Du)!==B&&(w.gl.bindRenderbuffer(Ja,B),w.set(Du,B))}var Mu=vs;function Lu(w,B,D){var W=w.gl,Z=w.properties.get(B.texture),te=B.texture.format,he=B.texture.type;Z.glTexture=W.createTexture(),el(w.state,0),Po(w.state,Z.glTexture,0),W.texImage2D(W.TEXTURE_2D,0,te,B.width,B.height,0,te,he,null),Yc(W,B.texture),D.glFrameBuffer=W.createFramebuffer(),ds(w.state,D.glFrameBuffer),W.framebufferTexture2D(W.FRAMEBUFFER,W.COLOR_ATTACHMENT0,W.TEXTURE_2D,Z.glTexture,0),B.generateDepth&&(D.glRenderBuffer=W.createRenderbuffer(),Mu(w.state,D.glRenderBuffer)),B.generateDepth&&!B.generateStencil?(W.renderbufferStorage(W.RENDERBUFFER,W.DEPTH_COMPONENT16,B.width,B.height),W.framebufferRenderbuffer(W.FRAMEBUFFER,W.DEPTH_ATTACHMENT,W.RENDERBUFFER,D.glRenderbuffer)):B.generateDepth&&B.generateStencil&&(W.renderbufferStorage(W.RENDERBUFFER,W.DEPTH_STENCIL,B.width,B.height),W.framebufferRenderbuffer(W.FRAMEBUFFER,W.DEPTH_STENCIL_ATTACHMENT,W.RENDERBUFFER,D.glRenderbuffer)),ds(w.state,null),Mu(w.state,null),Po(w.state,null,0)}var Rf=Lu,Nu="renderTarget";function xi(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(w.state.get(Nu)!==B)if(w.state.set(Nu,B),B){var D=w.properties.get(B);D.glFrameBuffer||Rf(w,B,D),ds(w.state,D.glFrameBuffer),He(w.state,0,0,B.width,B.height)}else ds(w.state,null),He.apply(void 0,[w.state].concat(F(w.viewport)))}var Uu=xi,al="attribute vec2 aPosition;varying vec2 vUv;void main(){gl_Position=vec4(aPosition,0.0,1.0);vUv=gl_Position.xy*0.5+0.5;}",wf=al,ol="uniform sampler2D uInput;varying vec2 vUv;void main(){gl_FragColor=texture2D(uInput,vUv);}",Df=ol;function Mf(w,B){Mn(w,B.geometry),Cn(w,B.program)}var Ri=Mf,ju=function(w){x(D,w);var B=J(D);function D(){var W,Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te=Z.program,he=te===void 0?new Zn:te,Te=Z.vert,Le=Z.frag,ze=Z.uniforms,Qe=ze===void 0?{}:ze,at=Z.inputUniformName,tt=at===void 0?"uInput":at;return E(this,D),W=B.call(this),he.vert||(he.vert=Te||wf),he.frag||(he.frag=Le||Df),W.inputUniformName=tt,W.material=new Fo({program:he,uniforms:Qe}),W}return T(D,[{key:"init",value:function(Z){k(L(D.prototype),"init",this).call(this,Z),!this.drawInfo&&(this.drawInfo=new gt({geometry:Z.screenGeometry,material:this.material}))}},{key:"setInput",value:function(Z,te){this.material.uniforms[this.inputUniformName]=Ii(Z,te.texture)}},{key:"render",value:function(Z){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.setInput(Z,te),Uu(Z,this.renderToScreen?null:he),!this.renderToScreen&&this.shouldClear&&Ne(Z),ir(Z,this.drawInfo)}},{key:"dispose",value:function(){Ri(this.composer.renderer,this.drawInfo)}},{key:"uniforms",get:function(){return this.material.uniforms}}]),D}(cs),hs=ju;function Bu(w){return w===0?1:(w--,w|=w>>1,w|=w>>2,w|=w>>4,w|=w>>8,w|=w>>16,w+1)}var To=Bu,zi=document.createElement("canvas");zi.width=2,zi.height=2;var wt=zi;function ps(w){return new Promise(function(B){var D=document.createElement("img");D.crossOrigin="Anonymous",D.onload=function(){B(D)},D.src=w})}var gs=ps,la=e(164940),kn=e.n(la),Fu=e(575677),sl=e.n(Fu),fr=function(B,D,W){return B*(1-W)+D*W},pv=function(B,D,W){return B<D?D:B>W?W:B},gv=function(B,D){return(B%D+D)%D},zt=function(B,D,W,Z,te){return(B-D)*(te-Z)/(W-D)+Z};function Lf(w){var B=ul();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function ul(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Nf=function(w){ie()(D,w);var B=Lf(D);function D(W){var Z,te=W.program,he=W.geometry,Te=W.tint,Le=W.x,ze=W.y,Qe=W.width,at=W.height,tt=W.textureBinding;return a()(this,D),Z=B.call(this,Sr({DrawInfoClass:Fa,program:te,geometry:he,uniforms:{uImage:tt,uTint:Te}})),o()(Gt()(Z),"width",1),o()(Gt()(Z),"height",1),o()(Gt()(Z),"update",function(){Z.position[0]=Z.body.position.x,Z.position[1]=Z.body.position.y,Z.rotation=Z.body.angle}),Z.body=kn().Bodies.rectangle(Le,ze,1,1,{friction:1e-5,restitution:.5,density:.001}),kn().Body.rotate(Z.body,Math.random()*360),Z.setScale(Qe,at),Z}return r()(D,[{key:"setScale",value:function(Z,te){this.scale[0]=Z,this.scale[1]=te;var he=Z/this.width,Te=te/this.height;this.width=Z,this.height=te;var Le=this.body.angle;kn().Body.setAngle(this.body,0),kn().Body.scale(this.body,he,Te),kn().Body.setAngle(this.body,Le)}},{key:"setPosition",value:function(Z,te){this.position[0]=Z,this.position[1]=te,kn().Body.setPosition(this.body,{x:Z,y:te})}},{key:"setTint",value:function(Z){this.drawInfo.uniforms.uTint=Z}},{key:"destroy",value:function(){}}]),D}(bu);kn().Common.logLevel=0;var Uf=function(){function w(B){var D=B.quadProgram,W=B.quadGeometry,Z=B.textureBinding,te=B.scene,he=B.canvas,Te=B.imageScale,Le=B.imageCount,ze=B.imageTint;a()(this,w),o()(this,"quads",[]),o()(this,"width",0),o()(this,"height",0),o()(this,"count",0),o()(this,"imageScale",100),o()(this,"imageRatio",1),o()(this,"imageTint",[1,1,1]),o()(this,"time",0),o()(this,"isSizeDirty",!1),this.quadProgram=D,this.quadGeometry=W,this.textureBinding=Z,this.scene=te,this.canvas=he,this.engine=kn().Engine.create({}),this.engine.gravity.y=0,this.engine.enableSleeping=!0,this.createMouse(),kn().use(sl()),this.imageScale=Te,this.imageTint=ze,this.setCount(Le)}return r()(w,[{key:"createMouse",value:function(){var D=this.canvas.$el.closest("section")||this.canvas.$el;if(this.mouse=kn().Mouse.create(this.canvas.$el.closest("section")||this.canvas.$el),this.mouse.element.removeEventListener("mousewheel",this.mouse.mousewheel),this.mouse.element.removeEventListener("DOMMouseScroll",this.mouse.mousewheel),this.mouse.element.removeEventListener("touchmove",this.mouse.mousemove),this.mouse.element.removeEventListener("touchstart",this.mouse.mousedown),this.mouse.element.removeEventListener("touchend",this.mouse.mouseup),D===this.canvas.$el){var W=1/this.canvas.pixelRatio;kn().Mouse.setScale(this.mouse,{x:W,y:W})}this.mouseConstraint=kn().MouseConstraint.create(this.engine,{mouse:this.mouse,enabledEvents:{mousewheel:!1},constraint:{stiffness:.2,render:{visible:!1}}}),kn().World.add(this.engine.world,this.mouseConstraint)}},{key:"setCount",value:function(D){if(D!==this.count){for(var W=this.canvas,Z=W.width,te=W.height,he=this.getQuadSize(),Te=Ue()(he,2),Le=Te[0],ze=Te[1],Qe=0,at=0,tt=Math.max(D,this.quads.length);at<tt;at+=1){var ot=this.quads[at];if(at>
7D)ot&&(this.removeQuad(ot),Qe+=1);else if(!ot){var Ot=Math.random()*this.canvas.width,xt=Math.random()*this.canvas.height,At=new Nf({program:this.quadProgram,geometry:this.quadGeometry,textureBinding:this.textureBinding,tint:this.imageTint,x:Ot,y:xt,width:Le,height:ze});At.body.plugin.wrap={min:{x:0,y:0},max:{x:Z,y:te}},this.addQuad(At)}}this.quads.splice(this.quads.length-Qe),this.count=D}}},{key:"setScale",value:function(D){this.imageScale=D,this.updateQuadSize()}},{key:"setImageRatio",value:function(D){this.imageRatio=D,this.updateQuadSize()}},{key:"setImageTint",value:function(D){this.imageTint=D,this.quads.forEach(function(W){W.setTint(D)})}},{key:"addQuad",value:function(D){du(this.scene,D),kn().World.addBody(this.engine.world,D.body),this.quads.push(D)}},{key:"removeQuad",value:function(D){wc(this.scene,D),kn().World.remove(this.engine.world,D.body),D.destroy()}},{key:"updateQuadSize",value:function(){var D=this.getQuadSize(),W=Ue()(D,2),Z=W[0],te=W[1];this.quads.forEach(function(he){he.setScale(Z,te)}),this.isSizeDirty=!0}},{key:"update",value:function(D){var W=this.time?D-this.time:.016;kn().Engine.update(this.engine,W),this.quads.forEach(function(Z){Z.update()}),this.time=D}},{key:"resize",value:function(D,W){if(!(D===0||W===0)&&!(D===this.width&&W===this.height)){var Z=this.width?D/this.width:1,te=this.height?W/this.height:1;this.width=D,this.height=W;var he=this.getQuadSize(),Te=Ue()(he,2),Le=Te[0],ze=Te[1];this.quads.forEach(function(Qe){var at=Qe.body.position,tt=at.x,ot=at.y;Qe.setPosition(tt*Z,ot*te),Qe.setScale(Le,ze),Qe.body.plugin.wrap={min:{x:-Le*.5,y:-ze*.5},max:{x:D+Le*.5,y:W+ze*.5}}}),this.isSizeDirty=!0}}},{key:"getQuadSize",value:function(){var D=1+Math.max(this.width,this.height),W=D*zt(this.imageScale,0,100,.1,.2),Z=W*this.imageRatio;return[W,Z]}},{key:"needsRender",value:function(){var D=this.isSizeDirty||this.quads.some(function(W){return!W.body.isSleeping});return this.isSizeDirty=!1,D}},{key:"destroy",value:function(){this.destroyMouse(),kn().Engine.clear(this.engine)}},{key:"destroyMouse",value:function(){var D=this.mouse,W=D.element,Z=D.mousemove,te=D.mousedown,he=D.mouseup;kn().World.remove(this.engine.world,this.mouseConstraint),W.removeEventListener("mousemove",Z),W.removeEventListener("mousedown",te),W.removeEventListener("mouseup",he)}}]),w}(),jf="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nuniform mat4 uModelViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n  gl_Position = uProjectionMatrix * uModelViewMatrix * vec4(aPosition, 1.0
7);\n\n  vUv = aUv;\n}\n",wi="\nuniform sampler2D uImage;\nuniform vec3 uTint;\n\nvarying vec2 vUv;\n\nvoid main () {\n  vec4 texel = texture2D(uImage, vUv);\n  texel.rgb *= uTint * texel.a;\n\n  gl_FragColor = texel;\n}\n",or="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;\n\nvoid main() {\n  gl_Position = vec4(aPosition, 1.0);\n  vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",Gu='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_309583532(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_309583532(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_309583532(vec4 x)\n{\n  return mod289_309583532(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_309583532(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_309583532(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat snoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_309583532(Pi0);\n  Pi1 = mod289_309583532(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_309583532(permute_309583532(ix) + iy);\n  vec4 ixy0 = permute_309583532(ixy + iz0);\n  vec4 ixy1 = permute_309583532(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_309583532(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_309583532(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_309583532(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\nfloat ease(float t) {\n  float p = 2.0 * t * t;\n  return t < 0.5 ? p : -p + (4.0 * t) - 1.0;\n}\n\nuniform sampler2D uInput;\nuniform vec2 uResolution;\n\nuniform float uTime;\nuniform float uFabricSeed;\nuniform float uFabricNoise;\nuniform float uFabricNoiseStrength;\nuniform float uFabricShadowDepth;\n\nvarying vec2 vUv;\n\nvec3 hsv2rgb(vec3 c) {\n    vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
7\n    vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n    return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvec3 rgb2hsv(vec3 c) {\n    vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n    vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g));\n    vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r));\n\n    float d = q.x - min(q.w, q.y);\n    float e = 1.0e-10;\n    return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n}\n\nvoid main() {\n  vec2 coord = vUv * uResolution;\n  float aspect = uResolution.x / uResolution.y;\n  vec2 offset = coord * 0.5;\n\n  coord -= offset;\n\n  vec2 uv = coord / uResolution;\n\n  uv.x *= aspect;\n  uv += uFabricSeed;\n\n  float t = uTime;\n  float scale = uFabricNoise;\n  float noise = snoise(vec3(uv.x * scale + t, uv.x * scale + t, 0.0));\n\n  coord *= 1.0 + noise * uFabricNoiseStrength;\n  coord += offset;\n  coord /= uResolution;\n\n  vec4 col = texture2D(uInput, coord);\n  vec3 colHsv = rgb2hsv(col.rgb);\n\n  colHsv[2] -= noise * uFabricShadowDepth;\n\n  col = vec4(hsv2rgb(colHsv), col.a);\n\n  gl_FragColor = col;\n}\n',Bf="\nuniform sampler2D uInput;\nuniform vec2 uResolution;\n\nuniform vec3 uPatternColor;\nuniform float uPatternSize;\nuniform vec2 uThreadOffset;\nuniform vec2 uThreadSpace;\nuniform sampler2D uThreadSampler;\n\nvarying vec2 vUv;\n\nvec4 getPixel (vec2 coord, vec2 size) {\n  size *= uResolution;\n  coord = (floor(coord / size) * size) + size * 0.5;\n  coord /= uResolution;\n\n  return texture2D(uInput, coord);\n}\n\nvec4 getThread (vec2 coord, vec2 uv, vec2 size, vec2 offset, vec2 ratio, vec2 shift) {\n  coord += vec2(size * uResolution.xy) * shift;\n\n  vec2 grid = ceil(coord / (size * uResolution));\n\n  if (mod(grid.x, 2.0) == 0.0) {\n    uv.y += size.y * uThreadOffset.y;\n    coord.y += (size.y * uResolution.y) * uThreadOffset.y;\n  }\n\n  if (mod(grid.y, 2.0) == 0.0) {\n    uv.x += size.x * uThreadOffset.x;\n    coord.x += (size.x * uResolution.x) * uThreadOffset.x;\n  }\n\n  vec2 phase = fract(uv / size);\n  vec2 inner = offset + (phase * ratio) - 2.0 * ratio * shift * 0.5;\n  vec4 col = vec4(uPatternColor, 1.0);\n  float alpha = 0.0;\n\n  if (inner.x >= 0.0 && inner.x <= 1.0 && inner.y >= 0.0 && inner.y <= 1.0) {\n    vec4 innerCol = getPixel(coord, size);\n\n    col = mix(col, innerCol, step(1.0, innerCol.a));\n\n    alpha = texture2D(uThreadSampler, inner).a;\n  }\n\n  return col * alpha;\n}\n\nvoid main(void) {\n  vec2 coord = vUv * uResolution.xy;\n\n  vec2 uv = coord / uResolution;\n  vec2 textureSize = vec2(uPatternSize);\n  vec2 size = textureSize / uResolution;\n  vec2 containerSize = textureSize * uThreadSpace / uResolution;\n  vec2 offset = -((containerSize - size) / size) * 0.5;\n  vec2 ratio = containerSize / size;\n\n  vec4 threadA = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, -1.0));\n  vec4 threadB = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, -1.0));\n  vec4 threadC = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, -1.0));\n  vec4 threadD = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, 0.0));\n  vec4 threadE = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, 0.0));\n  vec4 threadF = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, 0.0));\n  vec4 threadG = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, 1.0));\n  vec4 threadH = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, 1.0));\n  vec4 threadI = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, 1.0));\n\n  vec4 composite = mix(threadA, threadB, threadB.a);\n  composite = mix(composite, threadC, threadC.a);\n  composite = mix(composite, threadD, threadD.a);\n  composite = mix(composite, threadE, threadE.a);\n  composite = mix(composite, threadF, threadF.a);\n  composite = mix(composite, threadG, threadG.a);\n  composite = mix(composite, threadH, threadH.a);\n  composite = mix(composite, threadI, threadI.a);\n\n  gl_FragColor = composite;\n}\n",ti={blob1:"blob1",blob2:"blob2",brush1:"brush1",brush2:"brush2",brush3:"brush3",circle1:"circle1",polygon1:"polygon1",polygon2:"polygon2"},di,cl=(di={},o()(di,ti.blob1,{presetImageUrl:"webgl-components-assets/graphics/blob1.png"}),o()(di,ti.blob2,{presetImageUrl:"webgl-components-assets/graphics/blob2.png"}),o()(di,ti.brush1,{presetImageUrl:"webgl-components-assets/graphics/brush1.png"}),o()(di,ti.brush2,{presetImageUrl:"webgl-components-assets/graphics/brush2.png"}),o()(di,ti.brush3,{presetImageUrl:"webgl-components-assets/graphics/brush3.png"}),o()(di,ti.circle1,{presetImageUrl:"webgl-components-assets/graphics/circle1.png"}),o()(di,ti.polygon1,{presetImageUrl:"webgl-components-assets/graphics/polygon1.png"}),o()(di,ti.polygon2,{presetImageUrl:"webgl-components-assets/graphics/polygon2.png"}),di),Kr={circle:"circle",crossStitch:"crossStitch",cube:"cube",gingham:"gingham",gradientCircle:"gradientCircle",houndstooth:"houndstooth",stitch:"stitch"},vi,ms=(vi={},o()(vi,Kr.circle,{patternImageUrl:"webgl-components-assets/patterns/circle.png",patternSpaceX:1,patternSpaceY:1,patternOffsetX:.5,patternOffsetY:.5}),o()(vi,Kr.crossStitch,{patternImageUrl:"webgl-components-assets/patterns/cross-stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),o()(vi,Kr.cube,{patternImageUrl:"webgl-components-assets/patterns/cube.png",patternSpaceX:.85,patternSpaceY:.75,patternOffsetX:.5,patternOffsetY:0}),o()(vi,Kr.gingham,{patternImageUrl:"webgl-components-assets/patterns/gingham.png",patternSpaceX:.67,patternSpaceY:.67,patternOffsetX:0,patternOffsetY:0}),o()(vi,Kr.gradientCircle,{patternImageUrl:"webgl-components-assets/patterns/gradient-circle.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),o()(vi,Kr.houndstooth,{patternImageUrl:"webgl-components-assets/patterns/houndstooth.png",patternSpaceX:.77,patternSpaceY:.82,patternOffsetX:0,patternOffsetY:0}),o()(vi,Kr.stitch,{patternImageUrl:"webgl-components-assets/patterns/stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),vi);function Ff(w){var B=Gf();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var zf=Vn.BLEND,Wf=Vn.FUNC_ADD,ll=Vn.ONE_MINUS_SRC_ALPHA,fl=Vn.SRC_ALPHA,dl=Vn.NEAREST,ys=Vn.MIRRORED_REPEAT,zu=.2,za=.001,Es=.01,Ss=function(w){ie()(D,w);var B=Ff(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"useEffects",!1),o()(Gt()(te),"isReady",!1),te.isSupported?(te.createResources(),te.createScene(),te.createPhysics(),te.updateEffects(),te.updateAutoUp
7date(),te.preload(),te):ye()(te)}return r()(D,[{key:"preload",value:function(){var Z=this,te=[this.loadImage()];this.props.patternEnabled&&te.push(this.loadPatternImage()),Promise.all(te).then(function(){Z.isReady=!0,Z.needsForceRender=!0,Z.updateAutoUpdate(),Z.refresh()})}},{key:"createResources",value:function(){this.imageQuadProgram=this.getProgram({key:"image-quad-program",factory:function(){return new Zn({vert:jf,frag:wi})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return Qo({width:1,height:1})}}),this.texture=new as({image:wt}),this.textureBinding=Ii(this.renderer,this.texture),this.patternTexture=new as({image:wt}),this.patternTextureBinding=Ii(this.renderer,this.patternTexture),this.composer=new us({renderer:this.renderer,textureOptions:{minFilter:dl,magFilter:dl,wrapS:ys,wrapT:ys,premultiplyAlpha:!0},screenGeometry:this.getGeometry({key:"big-triangle",factory:zr})}),this.waveEffect=new hs({uniforms:{uResolution:[this.canvas.width,this.canvas.height],uTime:0,uFabricSeed:0,uFabricNoise:this.props.waveComplexity*zu,uFabricNoiseStrength:this.props.waveDepth*za,uFabricShadowDepth:this.props.waveShadowDepth*Es},program:this.getProgram({key:"wave-effect-program",factory:function(){return new Zn({vert:or,frag:Gu})}})}),this.patternEffect=new hs({uniforms:{uResolution:[this.canvas.width,this.canvas.height],uPatternSize:this.props.patternSize,uThreadSampler:this.patternTextureBinding,uPatternColor:on(this.props.patternColor),uThreadOffset:[this.props.patternOffsetX,this.props.patternOffsetY],uThreadSpace:[this.props.patternSpaceX,this.props.patternSpaceY]},program:this.getProgram({key:"pattern-effect-program",factory:function(){return new Zn({vert:or,frag:Bf})}})}),this.composer.addPass(this.patternEffect),this.composer.addPass(this.waveEffect)}},{key:"createScene",value:function(){this.camera=new go,this.scene=new Ci,this.clearColor=on(this.props.backgroundColor)}},{key:"createPhysics",value:function(){var Z=this.props,te=Z.imageScale,he=Z.imageCount,Te=Z.imageTint;this.physics=new Uf({quadProgram:this.imageQuadProgram,quadGeometry:this.quadGeometry,scene:this.scene,canvas:this.canvas,textureBinding:this.textureBinding,imageScale:te,imageCount:he,imageTint:on(Te)})}},{key:"loadImage",value:function(){var Z,te=this,he=this.props,Te=he.presetImageKey,Le=he.image,ze=he.customImage,Qe=(Le==null?void 0:Le.assetUrl)||(ze==null?void 0:ze.assetUrl)||((Z=cl[Te])===null||Z===void 0?void 0:Z.presetImageUrl);return Qe?gs(Qe).then(function(at){var tt=at.naturalWidth,ot=at.naturalHeight;te.physics.setImageRatio(ot/tt),te.texture.image=at,te.texture.needsUpdate=!0,te.needsForceRender=!0}):Promise.resolve()}},{key:"loadPatternImage",value:function(){var Z=this,te=ms[this.props.patternImageKey],he=te.patternImageUrl,Te=te.patternOffsetX,Le=te.patternOffsetY,ze=te.patternSpaceX,Qe=te.patternSpaceY;return he?gs(he).then(function(at){Z.patternTexture.image=at,Z.patternTexture.needsUpdate=!0,Z.patternEffect.uniforms.uThreadOffset[0]=Te,Z.patternEffect.uniforms.uThreadOffset[1]=Le,Z.patternEffect.uniforms.uThreadSpace[0]=ze,Z.patternEffect.uniforms.uThreadSpace[1]=Qe,Z.needsForceRender=!0}):Promise.resolve()}},{key:"updateEffects",value:function(){var Z=this.props,te=Z.patternEnabled,he=Z.patternColor,Te=Z.patternSize,Le=Z.patternImageKey,ze=Z.waveEnabled,Qe=Z.waveComplexity,at=Z.waveDepth,tt=Z.waveShadowDepth,ot=te&&!!ms[Le];this.useEffects=ot||ze,this.patternEffect.enabled=ot,this.patternEffect.renderToScreen=ot&&!ze,this.patternEffect.uniforms.uPatternColor=on(he),this.patternEffect.uniforms.uPatternSize=Te,this.waveEffect.enabled=ze,this.waveEffect.renderToScreen=ze,this.waveEffect.uniforms.uFabricNoise=Qe*zu,this.waveEffect.uniforms.uFabricNoiseStrength=at*za,this.waveEffect.uniforms.uFabricShadowDepth=tt*Es}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.waveEnabled,he=Z.waveSpeed;this.autoUpdate=!!(te&&he)}},{key:"onUpdateProps",value:function(Z){var te,he,Te,Le,ze=Kc(this.props,Z);ze("imageCount")&&this.physics.setCount(this.props.imageCount),ze("imageScale")&&this.physics.setScale(this.props.imageScale),ze("imageTint")&&this.physics.setImageTint(on(this.props.imageTint)),ze("backgroundColor")&&(this.clearColor=on(this.props.backgroundColor)),(ze(["presetImageKey","image","customIMage"])||((te=this.props.image)===null||te===void 0?void 0:te.assetUrl)!==((he=Z.image)===null||he===void 0?void 0:he.assetUrl)||((Te=this.props.customImage)===null||Te===void 0?void 0:Te.assetUrl)!==((Le=Z.customImage)===null||Le===void 0?void 0:Le.assetUrl))&&this.loadImage(),(ze("patternImageKey")||this.props.patternEnabled&&!Z.patternEnabled)&&this.loadPatternImage(),this.updateEffects(),this.updateAutoUp
7date(),this.refresh()}},{key:"update",value:function(Z){!this.isReady||(this.physics.update(Z),(this.needsForceRender||this.physics.needsRender())&&(qo(this.scene),this.isDirty=!0),this.props.waveEnabled&&this.props.waveSpeed?this.waveEffect.uniforms.uTime+=.016*(this.props.waveSpeed*.01):this.waveEffect.uniforms.uTime=0)}},{key:"render",value:function(){!this.isReady||(this.useEffects?this.renderWithEffects():this.renderScene())}},{key:"renderWithEffects",value:function(){this.composer.inputRenderTarget||this.refresh(),Uu(this.renderer,this.composer.inputRenderTarget),Ee(this.renderer.state,[0,0,0,0]),Ne(this.renderer),this.renderScene(),this.composer.render()}},{key:"renderScene",value:function(){this.renderer.state.enable(zf),hu(this.renderer.state,Wf),ua(this.renderer.state,fl,ll),pu(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var Z=this.canvas,te=Z.width,he=Z.height;Eu({camera:this.camera,x:0,y:0,width:te,height:he}),this.physics.resize(te,he),this.composer.setSize(To(te),To(he))}},{key:"onDetach",value:function(){this.physics.destroyMouse()}},{key:"onAttach",value:function(){this.physics.createMouse()}}]),D}(Pn);o()(Ss,"defaultProps",{backgroundColor:"#cccccc",presetImageKey:"",image:null,imageTint:"#ffffff",imageCount:1,imageScale:0,patternEnabled:!1,patternColor:"#aaaaaa",patternSize:16,patternImageKey:"",patternOffsetX:0,patternOffsetY:0,patternSpaceX:0,patternSpaceY:0,waveEnabled:!1,waveSpeed:0,waveComplexity:0,waveDepth:0,waveShadowDepth:0});function vl(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.width,D=B===void 0?1:B,W=w.height,Z=W===void 0?1:W,te=w.depth,he=te===void 0?1:te,Te=w.widthSegments,Le=Te===void 0?1:Te,ze=w.heightSegments,Qe=ze===void 0?1:ze,at=w.depthSegments,tt=at===void 0?1:at,ot=w.sides,Ot=ot===void 0?{top:!0,bottom:!0,left:!0,right:!0,front:!0,back:!0}:ot,xt=w.position,At=xt===void 0?bi:xt,Xt=w.normal,qt=Xt===void 0?Go:Xt,Dt=w.uv,It=Dt===void 0?no:Dt,Lt=new Ni,jt=[],Tn=[],dr=[],kr=[],Un=0,pn=function(Mr,Wi,$r,Hi,gi,Pr,vr,Nt,mi,xn){for(var Do=Pr/mi,Ds=vr/xn,an=Pr*.5,Ms=vr*.5,Di=Nt*.5,hr=mi+1,tc=xn+1,ha=Un,Ha=0;Ha<tc;Ha++)for(var Ls=Ha*Ds-Ms,pa=0;pa<hr;pa++){var kl=pa*Do-an;jt[Un*3+Mr]=kl*Hi,jt[Un*3+Wi]=Ls*gi,jt[Un*3+$r]=Di,Tn[Un*3+Mr]=0,Tn[Un*3+Wi]=0,Tn[Un*3+$r]=Nt>0?1:-1,dr[Un*2]=pa/mi,dr[Un*2+1]=1-Ha/xn,Un++}for(var yi=0;yi<xn;yi++)for(var Ki=0;Ki<mi;Ki++){var Ns=ha+Ki+hr*yi,Vi=ha+Ki+hr*(yi+1),Us=ha+(Ki+1)+hr*(yi+1),js=ha+(Ki+1)+hr*yi;kr.push(Ns,Vi,js),kr.push(Vi,Us,js)}};return Ot.right&&pn(2,1,0,-1,-1,he,Z,D,tt,Qe),Ot.left&&pn(2,1,0,1,-1,he,Z,-D,tt,Qe),Ot.top&&pn(0,2,1,1,1,D,he,Z,Le,tt),Ot.bottom&&pn(0,2,1,1,-1,D,he,-Z,Le,tt),Ot.front&&pn(0,1,2,1,-1,D,Z,he,Le,Qe),Ot.back&&pn(0,1,2,-1,-1,D,Z,-he,Le,Qe),At&&Nn(Lt,At,new On({array:new Float32Array(jt),itemSize:3})),qt&&Nn(Lt,qt,new On({array:new Float32Array(Tn),itemSize:3})),It&&Nn(Lt,It,new On({array:new Float32Array(dr),itemSize:2})),po(Lt,new Uint16Array(kr)),Lt}var bs=vl;function hl(w){for(var B=w.geometry,D=w.translation,W=w.positionAttributeName,Z=W===void 0?"aPosition":W,te=B.attributes.get(Z).array,he=0;he<te.length;he+=3)te[he]+=D[0],te[he+1]+=D[1],te[he+2]+=D[2];return B}var hi=hl,fa=function(w){x(D,w);var B=J(D);function D(W,Z){var te;return E(this,D),te=B.call(this),te.source=W,te.repeatCount=Z,te.sourceVertexCount=W.attributes.get("aPosition").count,te}return D}(Ni),Hf=fa;function pl(w){var B=w.sourceGeometry,D=w.repeatCount,W=w.AttributeArrayType,Z=W===void 0?Float32Array:W,te=w.IndexArrayType,he=te===void 0?Uint16Array:te,Te=w.usage,Le=Te===void 0?jn:Te,ze=new Hf(B,D),Qe=ze.sourceVertexCount;B.attributes.forEach(function(At){for(var Xt=new Z(D*Qe*At.itemSize),qt=0,Dt=0;qt<D;qt++)for(var It=0;It<Qe;It++,Dt+=At.itemSize)for(var Lt=0;Lt<At.itemSize;Lt++)Xt[Dt+Lt]=At.array[It*At.itemSize+Lt];Nn(ze,At.name,new On({array:Xt,itemSize:At.itemSize,usage:Le}))});for(var at=B.index.count,tt=B.index.array,ot=new he(D*at),Ot=0;Ot<D;Ot++)for(var xt=0;xt<at;xt++)ot[Ot*at+xt]=tt[xt]+Ot*Qe;return po(ze,ot),ze}var Kf=pl;function Vf(w,B,D,W){for(var Z=w.attributes.get(B),te=D*w.sourceVertexCount*Z.itemSize,he=0;he<w.sourceVertexCount;he++)for(var Te=0;Te<Z.itemSize;Te++)Z.array[te++]=W[Te]}var kf=Vf;function $f(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.batch,D=B===void 0?null:B,W=w.attributeName,Z=W===void 0?"":W,te=w.itemSize,he=te===void 0?4:te,Te=w.usage,Le=Te===void 0?jn:Te,ze=w.factory,Qe=ze===void 0?null:ze,at=new Float32Array(D.repeatCount*D.sourceVertexCount*he);if(Nn(D,Z,new On({array:at,itemSize:he,usage:Le})),Qe)for(var tt=[],ot=0;ot<D.repeatCount;ot++)Qe(tt,ot,D.repeatCount),kf(D,Z,ot,tt)}var Xf=$f,Qf=Jf;function Jf(w,B,D,W){var Z,te,he,Te,Le,ze,Qe,at,tt,ot,Ot=B[0],xt=B[1],At=B[2],Xt=W[0],qt=W[1],Dt=W[2],It=D[0],Lt=D[1],jt=D[2];return Math.abs(Ot-It)<1e-6&&Math.abs(xt-Lt)<1e-6&&Math.abs(At-jt)<1e-6?Ai(w):(Qe=Ot-It,at=xt-Lt,tt=At-jt,ot=1/Math.sqrt(Qe*Qe+at*at+tt*tt),Qe*=ot,at*=ot,tt*=ot,Z=qt*tt-Dt*at,te=Dt*Qe-Xt*tt,he=Xt*at-qt*Qe,ot=Math.sqrt(Z*Z+te*te+he*he),ot?(ot=1/ot,Z*=ot,te*=ot,he*=ot):(Z=0,te=0,he=0),Te=at*he-tt*te,Le=tt*Z-Qe*he,ze=Qe*te-at*Z,ot=Math.sqrt(Te*Te+Le*Le+ze*ze),ot?(
7ot=1/ot,Te*=ot,Le*=ot,ze*=ot):(Te=0,Le=0,ze=0),w[0]=Z,w[1]=Te,w[2]=Qe,w[3]=0,w[4]=te,w[5]=Le,w[6]=at,w[7]=0,w[8]=he,w[9]=ze,w[10]=tt,w[11]=0,w[12]=-(Z*Ot+te*xt+he*At),w[13]=-(Te*Ot+Le*xt+ze*At),w[14]=-(Qe*Ot+at*xt+tt*At),w[15]=1,w)}function Zf(w){Qf(w.viewMatrix,w.position,w.target,w.up)}var Os=Zf;function Yf(w){var B=w.camera,D=w.centerX,W=D===void 0?0:D,Z=w.centerY,te=Z===void 0?0:Z,he=w.width,Te=he===void 0?2:he,Le=w.height,ze=Le===void 0?2:Le,Qe=w.yUp,at=Qe===void 0?!1:Qe;B.left=Te*-.5+W,B.right=Te*.5+W,B[at?"bottom":"top"]=ze*-.5+te,B[at?"top":"bottom"]=ze*.5+te,yu(B)}var gl=Yf,ml="\n//\n// Description : Array and textureless GLSL 2D simplex noise function.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_1976991360(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec2 mod289_1976991360(vec2 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec3 permute_1976991360(vec3 x) {\n  return mod289_1976991360(((x*34.0)+1.0)*x);\n}\n\nfloat snoise2(vec2 v)\n  {\n  const vec4 C = vec4(0.211324865405187,  // (3.0-sqrt(3.0))/6.0\n                      0.366025403784439,  // 0.5*(sqrt(3.0)-1.0)\n                     -0.577350269189626,  // -1.0 + 2.0 * C.x\n                      0.024390243902439); // 1.0 / 41.0\n// First corner\n  vec2 i  = floor(v + dot(v, C.yy) );\n  vec2 x0 = v -   i + dot(i, C.xx);\n\n// Other corners\n  vec2 i1;\n  //i1.x = step( x0.y, x0.x ); // x0.x > x0.y ? 1.0 : 0.0\n  //i1.y = 1.0 - i1.x;\n  i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n  // x0 = x0 - 0.0 + 0.0 * C.xx ;\n  // x1 = x0 - i1 + 1.0 * C.xx ;\n  // x2 = x0 - 1.0 + 2.0 * C.xx ;\n  vec4 x12 = x0.xyxy + C.xxzz;\n  x12.xy -= i1;\n\n// Permutations\n  i = mod289_1976991360(i); // Avoid truncation effects in permutation\n  vec3 p = permute_1976991360( permute_1976991360( i.y + vec3(0.0, i1.y, 1.0 ))\n    + i.x + vec3(0.0, i1.x, 1.0 ));\n\n  vec3 m = max(0.5 - vec3(dot(x0,x0), dot(x12.xy,x12.xy), dot(x12.zw,x12.zw)), 0.0);\n  m = m*m ;\n  m = m*m ;\n\n// Gradients: 41 points uniformly over a line, mapped onto a diamond.\n// The ring size 17*17 = 289 is close to a multiple of 41 (41*7 = 287)\n\n  vec3 x = 2.0 * fract(p * C.www) - 1.0;\n  vec3 h = abs(x) - 0.5;\n  vec3 ox = floor(x + 0.5);\n  vec3 a0 = x - ox;\n\n// Normalise gradients implicitly by scaling m\n// Approximation of: m *= inversesqrt( a0*a0 + h*h );\n  m *= 1.79284291400159 - 0.85373472095314 * ( a0*a0 + h*h );\n\n// Compute final noise value at P\n  vec3 g;\n  g.x  = a0.x  * x0.x  + h.x  * x0.y;\n  g.yz = a0.yz * x12.xz + h.yz * x12.yw;\n  return 130.0 * dot(m, g);\n}\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec3 aGridPosition;\n\nuniform float uTime;\n\nuniform float uGridSize;\nuniform vec3 uScale;\nuniform float uEdgeWeight;\n\nuniform float uNoiseScale;\nuniform vec2 uNoiseClamp;\n\nuniform float uNoisePositionFactor;\nuniform float uNoiseScaleFactor;\n\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec3 vNormal;\nvarying float vNoiseFract;\n\nfloat map(float value, float inMin, float inMax, float outMin, float outMax) {\n  return outMin + (outMax - outMin) * (value - inMin) / (inMax - inMin);\n}\n\nvoid main() {\n  vec2 uv = ((aGridPosition.xz + (aPosition.xz * uScale.xz) * uEdgeWeight) / uGridSize) * uNoiseScale;\n  float noiseValue = 0.0;\n\n  noiseValue += snoise2(uv + vec2(uTime));\n  noiseValue += snoise2(uv + vec2(sin(uTime), cos(uTime)));\n  noiseValue *= 0.5;\n  noiseValue = clamp(noiseValue, uNoiseClamp.x, uNoiseClamp.y);\n\n  float noiseFract = map(noiseValue, uNoiseClamp.x, uNoiseClamp.y, 0.0, 1.0);\n\n  float scaleFactor = 1.0 - noiseFract * uNoiseScaleFactor;\n\n  vec3 position = (aPosition * uScale * scaleFactor) + aGridPosition;\n\n  position.y += noiseValue * uNoisePositionFactor;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * vec4(position, 1.0
7);\n\n  vNormal = aNormal;\n  vNoiseFract = noiseFract;\n}\n",yl="\nuniform vec3 uLightColor;\nuniform vec3 uShadowColor;\nuniform float uLightIntensity;\nuniform vec3 uLightPosition;\n\nuniform float uNoiseColorFactor;\n\nvarying vec3 vNormal;\nvarying float vNoiseFract;\n\nvoid main() {\n  vec3 normal = normalize(vNormal);\n\n  float lightFactor = dot(normal, uLightPosition) * uLightIntensity;\n  float noiseFactor = 1.0 - (1.0 - vNoiseFract) * uNoiseColorFactor;\n\n  vec3 color = mix(uShadowColor, uLightColor, lightFactor * noiseFactor);\n\n  gl_FragColor = vec4(color, 1.0);\n}\n";function Wu(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function El(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Wu(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Wu(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function qf(w){var B=ed();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var _s=function(w){ie()(D,w);var B=qf(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"viewSize",17),o()(Gt()(te),"baseGridSize",36),o()(Gt()(te),"onContextCreate",function(he){he.extensions.get("OES_element_index_uint")}),o()(Gt()(te),"createGeometryBatch",function(){var he=te.props.boxSize,Te=te.props.boxSize,Le=te.props.boxSize,ze=te.baseGridSize/te.props.boxSize|0,Qe=te.baseGridSize/te.props.boxSize|0,at=he*ze*-.5-he*.5,tt=Le*Qe*-.5-Le*.5,ot=bs({width:he,height:Te,depth:Le,widthSegments:4,depthSegments:4,sides:{top:!0,right:!0,front:!0},uv:!1});hi({geometry:ot,translation:[0,Te*-.5,0]});var Ot=Kf({sourceGeometry:ot,repeatCount:ze*Qe,IndexArrayType:Uint32Array});return Xf({batch:Ot,attributeName:"aGridPosition",itemSize:3,factory:function(At,Xt){var qt=Xt%ze*he+at,Dt=(Xt/Qe|0)*Le+tt;At[0]=qt,At[1]=0,At[2]=Dt}}),Ot}),te.isSupported?(te.createResources(),te.updateAutoUpdate(),te.refresh(),te.updateUniforms(),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.renderer.onContextCreate.add(this.onContextCreate),this.onContextCreate(this.renderer),this.camera=new go({near:0,far:200}),this.camera.position=[50,50,50],Os(this.camera),this.drawInfo=Sr({DrawInfoClass:Fa,geometry:this.getOrthoGridGeometry(),uniforms:{uTime:0,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix,uGridSize:this.baseGridSize},program:this.getProgram({key:"ortho-grid-program",factory:function(){return new Zn({vert:ml,frag:yl})}})})}},{key:"getOrthoGridGeometry",value:function(){return this.geometryKey&&this.releaseResource(this.geometryKey),this.geometryKey="ortho-grid-geometry-".concat(this.props.boxSize),this.getGeometry({key:this.geometryKey,factory:this.createGeometryBatch})}},{key:"updateAutoUpdate",value:function(){var Z=this.props.speed;this.autoUpdate=!!Z}},{key:"onUpdateProps",value:function(Z){this.props.boxSize!==Z.boxSize&&(this.drawInfo.geometry=this.getOrthoGridGeometry()),this.updateUniforms(),this.updateAutoUpdate()}},{key:"updateUniforms",value:function(){var Z=this.getColors(),te=Ue()(Z,2),he=te[0],Te=te[1];this.drawInfo.material.uniforms=El(El({},this.drawInfo.material.uniforms),{},{uScale:[this.props.scaleX/100,this.props.scaleY/100,this.props.scaleZ/100],uEdgeWeight:this.props.isMorphEnabled?1:0,uLightColor:he,uShadowColor:Te,uLightIntensity:this.props.lightIntensity*.01,uLightPosition:ns.normalize([],[this.props.lightX,this.props.lightY,this.props.lightZ]),uNoiseScale:this.props.noiseScale*.01*2,uNoiseClamp:[-this.props.noiseRange*.01,this.props.noiseRange*.01],uNoisePositionFactor:this.props.positionFactor,uNoiseScaleFactor:this.props.scaleFactor,uNoiseColorFactor:this.props.colorFactor}),this.clearColor=Te}},{key:"update",value:function(){this.drawInfo.material.uniforms.uTime+=this.props.speed*16e-5}},{key:"render",value:function(){ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){var Z=this.canvas,te=Z.width,he=Z.height,Te,Le;te>he?(Te=this.viewSize,Le=this.viewSize*(he/te)):(Te=this.viewSize*(te/he),Le=this.viewSize),gl({camera:this.camera,width:Te,height:Le,yUp:!0})}},{key:"onDestroy",value:function(){this.renderer.onContextCreate.remove(this.onContextCreate)}},{key:"getColors",value:function(){var Z=on(this.props.startColor),te=on(this.props.endColor);return this.props.invertColors?[te,Z]:[Z,te]}}]),D}(Pn);o()(_s,"defaultProps",{boxSize:1,scaleX:0,scaleY:0,scaleZ:0,isMorphEnabled:!1,startColor:"#F08E80",endColor:"#0B0D63",invertColors:!1,lightIntensity:100,lightX:0,lightY:0,lightZ:0,speed:0,noiseScale:100,noiseRange:100,positionFactor:1,scaleFactor:0,colorFactor:1}
7);function td(){for(var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.width,D=B===void 0?2:B,W=w.height,Z=W===void 0?2:W,te=w.widthSegments,he=te===void 0?1:te,Te=w.heightSegments,Le=Te===void 0?1:Te,ze=w.position,Qe=ze===void 0?bi:ze,at=w.normal,tt=at===void 0?Go:at,ot=w.uv,Ot=ot===void 0?no:ot,xt=new Ni,At=[],Xt=[],qt=[],Dt=[],It=0,Lt=Math.floor(he)||1,jt=Math.floor(Le)||1,Tn=Lt+1,dr=jt+1,kr=D/Lt,Un=Z/jt,pn=D*.5,Dr=Z*.5,Mr=0;Mr<dr;Mr++)for(var Wi=Mr*Un-Dr,$r=0;$r<Tn;$r++){var Hi=$r*kr-pn;At[It*3+0]=Hi,At[It*3+1]=-Wi,At[It*3+2]=0,Xt[It*3+0]=0,Xt[It*3+1]=0,Xt[It*3+2]=1,qt[It*2]=$r/Lt,qt[It*2+1]=1-Mr/jt,It++}for(var gi=0;gi<jt;gi++)for(var Pr=0;Pr<Lt;Pr++){var vr=Pr+Tn*gi,Nt=Pr+Tn*(gi+1),mi=Pr+1+Tn*(gi+1),xn=Pr+1+Tn*gi;Dt.push(vr,Nt,xn),Dt.push(Nt,mi,xn)}return Qe&&Nn(xt,Qe,new On({array:new Float32Array(At),itemSize:3})),tt&&Nn(xt,tt,new On({array:new Float32Array(Xt),itemSize:3})),Ot&&Nn(xt,Ot,new On({array:new Float32Array(qt),itemSize:2})),po(xt,new Uint16Array(Dt)),xt}var Hu=td,nd='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2573389788(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2573389788(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2573389788(vec4 x)\n{\n  return mod289_2573389788(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2573389788(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2573389788(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat snoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_2573389788(Pi0);\n  Pi1 = mod289_2573389788(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_2573389788(permute_2573389788(ix) + iy);\n  vec4 ixy0 = permute_2573389788(ixy + iz0);\n  vec4 ixy1 = permute_2573389788(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_2573389788(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_2573389788(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_2573389788(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\nfloat PI = 3.141592653589793;\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec2 aUv;\n\nuniform float uTime;
7\n\nuniform vec4 uSurface;\nuniform vec2 uPatternPower;\nuniform float uPatternAmount;\nuniform float uSurfaceHeight;\n\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying float vPos;\nvarying vec2 vUv;\n\nfloat shape(float x, float e) {\n  return 1.0 - pow(abs(sin(PI * x * 0.5)), e);\n}\n\nfloat sample(vec3 coord, vec2 power) {\n  float x = shape(coord.x, power.x);\n  float y = shape(coord.y, power.y);\n\n  return x * y;\n}\n\nvoid main() {\n  vec3 position = aPosition;\n\n  float s = sample(vec3(position.xy * uSurface.xy, uTime), uPatternPower);\n  float n = snoise(vec3(position.xy * uSurface.zw, uTime));\n  n = n * 0.5 + 0.5;\n\n  float t = mix(n, s, uPatternAmount);\n\n  position.z += t * uSurfaceHeight;\n\n  vPos = t;\n  vUv = aUv;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * vec4(position, 1.0);\n}\n',rd="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2310945428(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2310945428(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2310945428(vec4 x) {\n     return mod289_2310945428(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2310945428(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat cnoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_2310945428 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_2310945428 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_2310945428;\n  vec3 i1 = min( g_2310945428.xyz, l.zxy );\n  vec3 i2 = max( g_2310945428.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_2310945428.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_2310945428(i);\n  vec4 p = permute_2310945428( permute_2310945428( permute_2310945428(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_2310945428.wyz - D_2310945428.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_2310945428 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_2310945428 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_2310945428.xy,h.z);\n  vec3 p3 = vec3(a1_2310945428.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_2310945428(vec4(dot(p0_2310945428,p0_2310945428), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_2310945428 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_2310945428,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\nuniform float uTime;
7\n\nuniform vec3 color1;\nuniform vec3 color2;\nuniform vec3 color3;\nuniform vec3 color4;\nuniform vec4 uColorStops;\n\nuniform vec2 uGradientDistortion;\nuniform float uNoiseAmount;\nuniform float uNoiseScale;\n\nvarying float vPos;\nvarying vec2 vUv;\n\nvoid main() {\n  float n = cnoise(vec3(vUv * uGradientDistortion, uTime * 2.0));\n  n = n * 0.5 + 0.5;\n\n  float n2 = cnoise(vec3(gl_FragCoord.xy * uNoiseScale, uTime * 100.0));\n  n2 = n2 * 0.5 + 0.5;\n\n  float n3 = mix(n, n2, uNoiseAmount);\n\n  float c = smoothstep(0.0, 1.0, (vPos + n3) * 0.5);\n\n  float step1 = uColorStops.x;\n  float step2 = uColorStops.y;\n  float step3 = uColorStops.z;\n  float step4 = uColorStops.w;\n\n  vec3 color = vec3(0.0);\n\n  color = mix(color1, color2, smoothstep(step1, step2, c));\n  color = mix(color, color3, smoothstep(step2, step3, c));\n  color = mix(color, color4, smoothstep(step3, step4, c));\n\n  gl_FragColor = vec4(color, 1.0);\n}\n",Ku=function(){function w(){a()(this,w),o()(this,"time",0),o()(this,"prevTime",0),o()(this,"delta",0)}return r()(w,[{key:"update",value:function(D){return this.prevTime=this.time,this.time=D,this.delta=this.time-this.prevTime,this.delta}}]),w}();function id(w){var B=Vr();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Vr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Vu=function(w){ie()(D,w);var B=id(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"timer",new Ku),te.isSupported?(te.createResources(),te.updateUniforms(),te.updateAutoUpdate(),te.refresh(),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.camera=new go({near:0,far:4}),this.camera.position=[0,-1,2],Os(this.camera),this.drawInfo=Sr({DrawInfoClass:Fa,geometry:this.getGeometry({key:"surface-geometry",factory:function(){return Hu({width:2,height:2,widthSegments:400,heightSegments:50})}}),uniforms:{uTime:0,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix},program:this.getProgram({key:"surface-program",factory:function(){return new Zn({vert:nd,frag:rd})}})})}},{key:"updateAutoUpdate",value:function(){var Z=this.props.speed;this.autoUpdate=Z!==0}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var Z=this.props,te=Z.patternScaleX,he=Z.patternScaleY,Te=Z.distortionScaleX,Le=Z.distortionScaleY,ze=Z.patternPowerX,Qe=Z.patternPowerY,at=Z.patternAmount,tt=Z.surfaceHeight,ot=Z.color1,Ot=Z.color2,xt=Z.color3,At=Z.color4,Xt=Z.colorStop1,qt=Z.colorStop2,Dt=Z.colorStop3,It=Z.colorStop4,Lt=Z.gradientDistortionX,jt=Z.gradientDistortionY,Tn=Z.noiseIntensity,dr=Z.noiseScale;Object.assign(this.drawInfo.uniforms,{uSurface:[zt(te,0,100,.1,20),zt(he,0,100,.1,20),zt(Te,0,100,0,10),zt(Le,0,100,0,10)],uPatternPower:[zt(ze,0,100,.4,4),zt(Qe,0,100,.4,4)],uPatternAmount:zt(at,0,100,0,1),uSurfaceHeight:zt(tt,0,100,0,1),color1:on(ot),color2:on(Ot),color3:on(xt),color4:on(At),uColorStops:[zt(Xt,0,100,0,1),zt(qt,0,100,0,1),zt(Dt,0,100,0,1),zt(It,0,100,0,1)],uGradientDistortion:[zt(Lt,0,100,0,10),zt(jt,0,100,0,10)],uNoiseAmount:zt(Tn,0,100,0,.5),uNoiseScale:zt(dr,0,100,.6,.3)/this.pixelRatio})}},{key:"update",value:function(Z){var te=this.timer.update(Z)*.001;this.drawInfo.uniforms.uTime+=te*(this.props.speed*.0025)}},{key:"render",value:function(){ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){gl({camera:this.camera,width:1,height:1,yUp:!0})}}]),D}(Pn);o()(Vu,"defaultProps",{speed:0,patternScaleX:0,patternScaleY:0,patternPowerX:0,patternPowerY:0,patternAmount:0,distortionScaleX:0,distortionScaleY:0,surfaceHeight:0,color1:"#BA4534",color2:"#D67162",color3:"#9E3626",color4:"#ff0000",colorStop1:0,colorStop2:0,colorStop3:0,colorStop4:0,gradientDistortionX:0,gradientDistortionY:0,noiseIntensity:0,noiseScale:0});var ad=function w(B){var D=B.fov,W=D===void 0?60:D,Z=B.aspect,te=Z===void 0?1:Z,he=B.near,Te=he===void 0?.1:he,Le=B.far,ze=Le===void 0?100:Le;E(this,w),this.fov=W,this.aspect=te,this.near=Te,this.far=ze,this.position=[0,0,1],this.target=[0,0,0],this.up=[0,1,0],this.viewMatrix=Ai([]),this.projectionMatrix=Ai([])},Sl=ad;function bl(w){return w*Math.PI/180}var od=bl,sd=ud;function ud(w,B,D,W,Z){var te=1/Math.tan(B/2),he=1/(W-Z);return w[0]=te/D,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=te,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=(Z+W)*he,w[11]=-1,w[12]=0,w[13]=0,w[14]=2*Z*W*he,w[15]=0,w}function cd(w){sd(w.projectionMatrix,od(w.fov),w.aspect,w.near,w.far)}var Ps=cd,ld=function(){for(var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=w.radiusTop,D=B===void 0?1:B,W=w.radiusBottom,Z=W===void 0?1:W,te=w.height,he=te===void 0?1:te,Te=w.radialSegments,Le=Te===void 0?128:Te,ze=w.heightSegments,Qe=ze===void 0?1:ze,at=w.thetaStart,tt=at===void 0?0:at,ot=w.thetaLength,Ot=ot===void 0?Math.PI*2:ot,xt=w.openEnded,At=xt===void 0?!0:xt,Xt=w.position,qt=Xt===void 0?"aPosition":Xt,Dt=w.normal,It=Dt===void 0?"aNormal":Dt,Lt=w.uv,jt=Lt===void 0?"aUv":Lt,Tn=new Ni,dr=[],kr=[],Un=[],pn=[],Dr=0,Mr=[],Wi=he/2,$r=[0,0,0],Hi=[0,0,0],gi=(Z-D)/he,Pr=0;Pr<=Qe;Pr++){for(var vr=[],Nt=Pr/Qe,mi=Nt*(Z-D)+D,xn=0;xn<=Le;xn++){var Do=xn/Le,Ds=Do*Ot+tt,an=Math.sin(Ds),Ms=Math.cos(Ds);$r[0]=mi*an,$r[1]=-Nt*he+Wi,$r[2]=mi*Ms,dr.push.apply(dr,$r),ns.set(Hi,an,gi,Ms),ns.normalize(Hi,Hi),kr.push.apply(kr,Hi),Un.push(Do,1-Nt),vr.push(Dr++)}Mr.push(vr)}for(var Di=0;Di<Le;Di++)for(var hr=0;hr<Qe;hr++){var tc=Mr[hr][Di],ha=Mr[hr+1][Di],Ha=Mr[hr+1][Di+1],Ls=Mr[hr][Di+1];pn.push(tc,ha,Ls),pn.push(ha,Ha,Ls)}var pa=function(yi){for(var Ki=Dr,Ns=yi?D:Z,Vi=yi?1:-1,Us=1;Us<=Le;
7Us++)dr.push(0,Wi*Vi,0),kr.push(0,Vi,0),Un.push(.5,.5),Dr++;for(var js=Dr,nc=0;nc<=Le;nc++){var rc=nc/Le,$l=rc*Ot+tt,Bs=Math.cos($l),Xl=Math.sin($l);dr.push(Ns*Xl,Wi*Vi,Ns*Bs),kr.push(0,Vi,0),Un.push(Bs*.5+.5,Xl*.5*Vi+.5),Dr++}for(var Fs=0;Fs<Le;Fs++){var Ql=Ki+Fs,Dn=js+Fs;yi===!0?pn.push(Dn,Dn+1,Ql):pn.push(Dn+1,Dn,Ql)}};return At===!1&&(D>0&&pa(!0),Z>0&&pa(!1)),qt&&Nn(Tn,qt,new On({array:new Float32Array(dr),itemSize:3})),It&&Nn(Tn,It,new On({array:new Float32Array(kr),itemSize:3})),jt&&Nn(Tn,jt,new On({array:new Float32Array(Un),itemSize:2})),po(Tn,new Uint16Array(pn)),Tn},fd=e(57504),Ol=e.n(fd),dd=e(907223),_l=e.n(dd),vd=e(676727),Pl=e.n(vd),hd=e(792350),Al=e.n(hd),pd=e(186375),Tl=e.n(pd),Co={identity:Ol(),scale:_l(),translate:Pl(),rotateX:Al(),rotateY:Tl()},gd='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2879176051(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2879176051(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2879176051(vec4 x)\n{\n  return mod289_2879176051(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2879176051(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2879176051(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat snoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_2879176051(Pi0);\n  Pi1 = mod289_2879176051(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_2879176051(permute_2879176051(ix) + iy);\n  vec4 ixy0 = permute_2879176051(ixy + iz0);\n  vec4 ixy1 = permute_2879176051(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_2879176051(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_2879176051(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_2879176051(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec2 aUv;\n\nuniform vec3 uCurve;\n\nuniform mat4 uModelMatrix;\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nfloat easeCubicOut(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\nfloat easeCubicIn(float t) {\n  return t * t * t;\n}
7\n\nfloat easeExpoIn(float p) {\n  return pow(2.0, 10.0 * (p - 1.0));\n}\n\nvoid main() {\n  vec3 position = aPosition;\n  float p = -(position.y - 0.5);\n\n  position.xz *= 1.0 - easeCubicOut(p) * uCurve.z;\n  position.xz += uCurve.xy * easeCubicIn(p);\n\n  vUv = aUv;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * uModelMatrix * vec4(position, 1.0);\n}\n',md="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_831717072(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_831717072(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_831717072(vec4 x) {\n     return mod289_831717072(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_831717072(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat cnoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_831717072 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_831717072 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_831717072;\n  vec3 i1 = min( g_831717072.xyz, l.zxy );\n  vec3 i2 = max( g_831717072.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_831717072.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_831717072(i);\n  vec4 p = permute_831717072( permute_831717072( permute_831717072(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_831717072.wyz - D_831717072.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_831717072 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_831717072 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_831717072.xy,h.z);\n  vec3 p3 = vec3(a1_831717072.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_831717072(vec4(dot(p0_831717072,p0_831717072), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_831717072 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_831717072,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\n#define PI 3.141592653589793\n\nuniform float uScrollTime;\nuniform float uDistortionTime;\nuniform float uRotationTime;\n\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform vec3 uFogColor;\nuniform float uFogIntensity;\n\nuniform float uRepeat;\nuniform float uRotation;\nuniform vec2 uGradient;\nuniform vec2 uDistortionScale;\nuniform float uDistortionAmount;\nuniform float uNoiseAmount;\nuniform float uNoiseScale;\n\nvarying vec2 vUv;\n\nfloat map(float value, float min1, float max1, float min2, float max2) {\n  return min2 + (value - min1) * (max2 - min2) / (max1 - min1);\n}\n\nvoid main() {\n  vec2 coord = vUv;\n  coord.x = (cos(coord.x * PI * 2.0));\n  coord.y = (cos(coord.y - uScrollTime));\n\n  float s = cnoise(vec3(coord * uDistortionScale, uDistortionTime));\n\n  coord.xy += s * uDistortionAmount;\n\n  float a = uRotation + uRotationTime;\n  vec2 angle = vec2(cos(a), sin(a));\n\n  float t = dot(vec2(0.5) - coord, angle) + 0.5;\n  t = (cos((t) * uRepeat * PI) + 1.0) * 0.5;\n\n  t += cnoise(vec3(gl_FragCoord.xy * vec2(uNoiseScale), uDistortionTime * 100.0)) * uNoiseAmount * 0.4;\n\n  float gradient = clamp(\n    map(t, uGradient.x, uGradient.y, 0.0, 1.0),\
7n    0.0,\n    1.0\n  );\n\n  vec3 color = mix(uColor2, uColor1, gradient);\n  color = mix(color, uFogColor, smoothstep(0.0, 1.0, (1.0 - vUv.y) * uFogIntensity));\n\n  gl_FragColor = vec4(color, 1.0);\n}\n",Cl=function(B,D){var W=B.fov,Z=B.aspect,te=W*(Math.PI/180),he=2*Math.tan(te/2)*D,Te=he*Z;return{width:Te,height:he}};function yd(w){var B=Ed();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var As=10,ku=function(w){ie()(D,w);var B=yd(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"timer",new Ku),o()(Gt()(te),"scrollSpeed",0),o()(Gt()(te),"rotationSpeed",0),o()(Gt()(te),"distortionSpeed",0),te.isSupported?(te.createResources(),te.updateUniforms(),te.updateAutoUpdate(),te.refresh(),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.camera=new Sl({fov:80,near:1,far:1e3}),this.camera.position=[0,0,As],Os(this.camera),this.modelMatrix=Co.identity([]),this.drawInfo=Sr({DrawInfoClass:Fa,geometry:this.getGeometry({key:"conic-geometry",factory:function(){return ld({radiusTop:1,radiusBottom:0,height:1,heightSegments:100,openEnded:!0})}}),uniforms:{uScrollTime:0,uDistortionTime:0,uRotationTime:0,uModelMatrix:this.modelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix},program:this.getProgram({key:"conic-program",factory:function(){return new Zn({vert:gd,frag:md})}})})}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.speed,he=Z.rotationSpeed,Te=Z.distortionSpeed;this.autoUpdate=!(te===0&&he===0&&Te===0)}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var Z=this.props,te=Z.curveX,he=Z.curveY,Te=Z.curveFunnel,Le=Z.color1,ze=Z.color2,Qe=Z.color3,at=Z.fogIntensity,tt=Z.repeat,ot=Z.speed,Ot=Z.rotation,xt=Z.rotationSpeed,At=Z.blur,Xt=Z.distortionScaleX,qt=Z.distortionScaleY,Dt=Z.distortionIntensity,It=Z.distortionSpeed,Lt=Z.noiseIntensity,jt=Z.noiseScale;Object.assign(this.drawInfo.uniforms,{uCurve:[zt(te,-100,100,-4,4),zt(he,-100,100,-4,4),zt(Te,0,100,1,0)],uColor1:on(Le),uColor2:on(ze),uFogColor:on(Qe),uFogIntensity:zt(at,0,100,0,1),uRepeat:tt,uRotation:zt(Ot,0,360,0,Math.PI*2),uGradient:[zt(At,0,100,.5,0),zt(At,0,100,.5,1)],uDistortionScale:[zt(Xt,0,100,0,4),zt(qt,0,100,0,4)],uDistortionAmount:zt(Dt,0,100,0,.5),uNoiseAmount:zt(Lt,0,100,0,.5),uNoiseScale:zt(jt,0,100,.6,.3)/this.pixelRatio}),this.scrollSpeed=zt(ot,-100,100,-.15,.15),this.rotationSpeed=zt(xt,-100,100,-.075,.075),this.distortionSpeed=zt(It,0,100,0,.075)}},{key:"update",value:function(Z){var te=this.timer.update(Z)*.001;this.drawInfo.uniforms.uScrollTime+=te*this.scrollSpeed,this.drawInfo.uniforms.uRotationTime+=te*this.rotationSpeed,this.drawInfo.uniforms.uDistortionTime+=te*this.distortionSpeed}},{key:"render",value:function(){this.renderer.state.enable(this.renderer.gl.DEPTH_TEST),ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){var Z=this.canvas,te=Z.width,he=Z.height;this.camera.aspect=te/he;var Te=Cl(this.camera,As),Le=Te.width,ze=Te.height,Qe=Math.sqrt(Le*Le+ze*ze)*.5;Co.identity(this.modelMatrix),Co.translate(this.modelMatrix,this.modelMatrix,[0,0,As*-.5]),Co.rotateX(this.modelMatrix,this.modelMatrix,Math.PI*.5),Co.scale(this.modelMatrix,this.modelMatrix,[Qe,As,Qe]),Ps(this.camera)}}]),D}(Pn);o()(ku,"defaultProps",{curveX:0,curveY:0,curveFunnel:0,color1:"#d45071",color2:"#f8ba81",color3:"#ffffff",fogIntensity:0,repeat:1,speed:0,rotation:0,rotationSpeed:0,blur:0,distortionScaleX:0,distortionScaleY:0,distortionIntensity:0,distortionSpeed:0,noiseIntensity:0,noiseScale:0});function Sd(w,B,D){var W=w.extensions.get(B);for(var Z in D)w.gl[D[Z]]=W[Z].bind(W);return W}var $u=Sd;function Il(w){$u(w,"ANGLE_instanced_arrays",{drawElementsInstancedANGLE:"drawElementsInstanced",drawArraysInstancedANGLE:"drawArraysInstanced",vertexAttribDivisorANGLE:"vertexAttribDivisor"})}var bd=Il;function Od(w,B,D){for(var W=B*w.itemSize,Z=0;Z<w.itemSize;Z++)w.array[W+Z]=D[Z]}var _d=Od;function Pd(w){var B=w.geometry,D=w.attributeName,W=w.itemSize,Z=w.instanceCount,te=w.factory,he=new Float32Array(Z*W),Te=Nn(B,D,new On({array:he,itemSize:W,divisor:1}));if(te)for(var Le=[],ze=0;ze<Z;ze++)te(Le,ze,Z),_d(Te,ze,Le)}var Xu=Pd,Ad=function(w){x(D,w);var B=J(D);function D(W){var Z,te=W.geometry,he=W.material,Te=W.offset,Le=Te===void 0?0:Te,ze=W.count,Qe=ze===void 0?te.index.count:ze,at=W.primcount,tt=at===void 0?1:at;return E(this,D),Z=B.call(this,{geometry:te,material:he,offset:Le,count:Qe}),Z.primcount=tt,Z}return T(D,[{key:"draw",value:function(Z){Z.drawElementsInstanced(this.mode,this.count,this.index.type,this.offset,this.primcount)}}]),D}(dt),Td=Ad,xl={identity:Ol(),scale:_l(),translate:Pl(),rotateX:Al(),rotateY:Tl()},Rl='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_3843310594(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_3843310594(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_3843310594(vec4 x)\n{\n  return mod289_3843310594(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_3843310594(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_3843310594(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_3843310594(Pi0);\n  Pi1 = mod289_3843310594(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_3843310594(permute_3843310594(ix) + iy);\n  vec4 ixy0 = permute_3843310594(ixy + iz0);\n  vec4 ixy1 = permute_3843310594(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_3843310594(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_3843310594(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_3843310594(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec2 aUv;\n\nattribute vec3 aOffset;\nattribute vec4 aParticle;\nattribute vec2 aDelayDuration;\n\nuniform float uTime;
7\nuniform float uDistortionTime;\n\nuniform mat4 uModelMatrix;\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nuniform vec3 uStart;\nuniform vec3 uEnd;\nuniform float uSize;\nuniform float uSeed;\nuniform vec4 uPath;\nuniform float uOffset;\n\nvarying vec2 vUv;\nvarying vec3 vPosition;\nvarying vec4 vParticle;\n\nvoid main() {\n  float p = mod((uTime + aDelayDuration.x), aDelayDuration.y) / aDelayDuration.y;\n\n  vec3 pathPosition = mix(uStart, uEnd, p);\n\n  vec3 position = pathPosition;\n\n  float n1 = cnoise(vec3(p + uDistortionTime, uSeed, 0.0) * uPath.x);\n  float n2 = cnoise(vec3(p + uDistortionTime, uSeed, 0.0) * uPath.z);\n\n  position.y += n1 * uPath.y;\n  position.z += n2 * uPath.w;\n\n  float n3 = n2 * 0.5 + 0.3;\n\n  position += aOffset * n3 * uOffset;\n\n  float n = cnoise(position * 0.1);\n\n  position.z += n * 4.0;\n\n  position += aPosition * uSize * aParticle.x * n;\n\n  vUv = aUv;\n  vPosition = position;\n  vParticle = aParticle;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * uModelMatrix * vec4(position, 1.0);\n}\n',Cd="\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform float uAlpha;\n\nvarying vec2 vUv;\nvarying vec3 vPosition;\nvarying vec4 vParticle;\n\nfloat circle(vec2 uv, vec2 blur, float r) {\n  vec2 dist = uv - vec2(0.5);\n\n  return 1.0 - smoothstep(r - (r * blur.x), r + (r * blur.y), dot(dist, dist) * 4.0);\n}\n\nfloat map(float value, float min1, float max1, float min2, float max2) {\n  return min2 + (value - min1) * (max2 - min2) / (max1 - min1);\n}\n\nvoid main() {\n  float depth = abs(map(vPosition.z, -160., 160., 0., 1.));\n  depth *= depth;\n\n  float radius = 0.5;\n  float innerBlur = vParticle.y + 0.5 * depth;\n  float outerBlur = vParticle.z + 0.5 * depth;\n  // float innerBlur = vParticle.y;\n  // float outerBlur = vParticle.z;\n  vec2 blur = vec2(innerBlur, outerBlur);\n\n  float a = circle(vUv, blur, radius);\n\n  // if (a < 0.1) {\n  //   discard;\n  // }\n\n  vec3 color = mix(uColor1, uColor2, vParticle.w);\n\n  gl_FragColor = vec4(color * a * vParticle.w * uAlpha, a * uAlpha);\n}\n",Ts="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nvarying vec2 vUv;\n\nvoid main() {\n  vec3 position = aPosition;\n\n  vUv = aUv;\n\n  gl_Position = vec4(position, 1.0);\n}\n",Id='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_1828402684(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_1828402684(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_1828402684(vec4 x)\n{\n  return mod289_1828402684(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_1828402684(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_1828402684(vec3 t) {\n  return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n  vec3 Pi0 = floor(P); // Integer part for indexing\n  vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n  Pi0 = mod289_1828402684(Pi0);\n  Pi1 = mod289_1828402684(Pi1);\n  vec3 Pf0 = fract(P); // Fractional part for interpolation\n  vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n  vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n  vec4 iy = vec4(Pi0.yy, Pi1.yy);\n  vec4 iz0 = Pi0.zzzz;\n  vec4 iz1 = Pi1.zzzz;\n\n  vec4 ixy = permute_1828402684(permute_1828402684(ix) + iy);\n  vec4 ixy0 = permute_1828402684(ixy + iz0);\n  vec4 ixy1 = permute_1828402684(ixy + iz1);\n\n  vec4 gx0 = ixy0 * (1.0 / 7.0);\n  vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n  gx0 = fract(gx0);\n  vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n  vec4 sz0 = step(gz0, vec4(0.0));\n  gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n  gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n  vec4 gx1 = ixy1 * (1.0 / 7.0);\n  vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n  gx1 = fract(gx1);\n  vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n  vec4 sz1 = step(gz1, vec4(0.0));\n  gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n  gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n  vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n  vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n  vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n  vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n  vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n  vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n  vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n  vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n  vec4 norm0 = taylorInvSqrt_1828402684(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n  g000 *= norm0.x;\n  g010 *= norm0.y;\n  g100 *= norm0.z;\n  g110 *= norm0.w;\n  vec4 norm1 = taylorInvSqrt_1828402684(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n  g001 *= norm1.x;\n  g011 *= norm1.y;\n  g101 *= norm1.z;\n  g111 *= norm1.w;\n\n  float n000 = dot(g000, Pf0);\n  float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n  float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n  float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n  float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n  float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n  float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n  float n111 = dot(g111, Pf1);\n\n  vec3 fade_xyz = fade_1828402684(Pf0);\n  vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n  vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n  float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n  return 2.2 * n_xyz;\n}\n\n#define PI 3.141592653589793\n\nuniform float uTime;
7\n\nuniform vec3 uColor;\nuniform float uIntensity;\nuniform float uAngle;\nuniform float uPosition;\n\nvarying vec2 vUv;\n\nconst highp float NOISE_GRANULARITY = 0.5/255.0;\n\nhighp float random(vec2 coords) {\n  return fract(sin(dot(coords.xy, vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvec2 rotate(vec2 uv,float amount){\n  float ca = cos(amount);\n  float sa = sin(amount);\n\n  return vec2(\n    uv.x * ca + uv.y * sa,\n    -uv.x * sa + uv.y * ca\n  );\n}\n\nvoid main() {\n  vec2 coord = vUv - vec2(0.5);\n  coord = rotate(coord, uAngle);\n  coord += vec2(0.5);\n\n  float n = cnoise(vec3(coord * vec2(8.0, 1.0), uTime * 0.25));\n  n = n * 0.5 + 0.5;\n  n *= vUv.y * vUv.y;\n\n  float c = 0.;\n  c = mix(0.0, 1.0, smoothstep(0.0, uPosition, vUv.x));\n  c = mix(c, 0.0, smoothstep(uPosition, 1.0, vUv.x));\n\n  n *= c * uIntensity;\n\n  n += mix(-NOISE_GRANULARITY, NOISE_GRANULARITY, random(vUv));\n\n  gl_FragColor = vec4(uColor, n);\n}\n';function xd(w){var B=Rd();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Rd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var wl=Vn.BLEND,wd=Vn.FUNC_ADD,Dd=Vn.SRC_ALPHA,Md=Vn.ONE,Ld=Vn.DEPTH_TEST,Qu=1e5,Ju=function(w){ie()(D,w);var B=xd(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Z),o()(Gt()(te),"clearColor",[0,0,0,1]),o()(Gt()(te),"timer",new Ku),o()(Gt()(te),"speed",0),o()(Gt()(te),"distortionSpeed",0),o()(Gt()(te),"mixinArrays",function(he){he.extensions.get("OES_element_index_uint"),bd(he)}
7),o()(Gt()(te),"createBokehGeometry",function(){var he=Qu,Te=function(Qe,at){return Qe+(at-Qe)*Math.random()},Le=Hu({width:1,height:1});return Xu({geometry:Le,instanceCount:he,attributeName:"aOffset",itemSize:3,factory:function(Qe){Qe[0]=Te(-1,1),Qe[1]=Te(-1,1),Qe[2]=Te(-1,1)}}),Xu({geometry:Le,instanceCount:he,attributeName:"aDelayDuration",itemSize:2,factory:function(Qe){Qe[0]=Te(0,1),Qe[1]=Te(.5,1)}}),Xu({geometry:Le,instanceCount:he,attributeName:"aParticle",itemSize:4,factory:function(Qe){Qe[0]=Te(.1,1),Qe[1]=Te(.25,.75),Qe[2]=Te(.25,.75),Qe[3]=Te(0,1)}}),Le}),te.isSupported?(te.createResources(),te.updateUniforms(),te.updateAutoUpdate(),te.refresh(),te.renderer.onContextCreate.add(te.mixinArrays),te.mixinArrays(te.renderer),te):ye()(te)}return r()(D,[{key:"createResources",value:function(){this.camera=new Sl({fov:40,near:1,far:1e4}),this.camera.position=[0,0,100],Os(this.camera),this.modelMatrix=xl.identity([]),this.particles=Sr({DrawInfoClass:Td,primcount:Qu,geometry:this.getGeometry({key:"bokeh-geometry",factory:this.createBokehGeometry}),uniforms:{uTime:0,uDistortionTime:0,uModelMatrix:this.modelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix,uStart:[0,0,0],uEnd:[0,0,0]},program:this.getProgram({key:"bokeh-program",factory:function(){return new Zn({vert:Rl,frag:Cd})}})}),this.lightModelMatrix=xl.identity([]),this.light=Sr({DrawInfoClass:Fa,geometry:this.getGeometry({key:"bokeh-light-geometry",factory:function(){return Hu({normal:!1})}}),program:this.getProgram({key:"bokeh-light-program",factory:function(){return new Zn({vert:Ts,frag:Id})}}),uniforms:{uTime:0,uModelMatrix:this.lightModelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix}})}},{key:"updateAutoUpdate",value:function(){var Z=this.props,te=Z.speed,he=Z.distortionSpeed;this.autoUpdate=!(te===0&&he===0)}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var Z=this.props,te=Z.color1,he=Z.color2,Te=Z.backgroundColor,Le=Z.color3,ze=Z.size,Qe=Z.count,at=Z.speed,tt=Z.distortionSpeed,ot=Z.alpha,Ot=Z.seed,xt=Z.complexityY,At=Z.complexityZ,Xt=Z.amplitudeY,qt=Z.amplitudeZ,Dt=Z.offset,It=Z.lightAngle,Lt=Z.lightIntensity,jt=Z.lightX;this.clearColor=[].concat(ho()(on(Te)),[1]),this.particles.primcount=zt(Qe,0,100,0,Qu)|0,Object.assign(this.particles.uniforms,{uColor1:on(te),uColor2:on(he),uSize:zt(ze,1,100,1,32),uAlpha:zt(ot,1,100,.01,1),uSeed:Ot,uPath:[zt(xt,0,100,0,6),zt(Xt,0,100,0,100),zt(At,0,100,0,6),zt(qt,0,100,0,100)],uOffset:zt(Dt,0,100,1,60)}),Object.assign(this.light.uniforms,{uColor:on(Le),uIntensity:zt(Lt,0,100,0,1),uAngle:zt(It,0,100,Math.PI*-.3,Math.PI*.3),uPosition:zt(jt,0,100,0,1)}),this.speed=zt(at,-100,100,-.01,.01),this.distortionSpeed=zt(tt,-100,100,-.01,.01)}},{key:"update",value:function(Z){var te=this.timer.update(Z)*.001;this.particles.uniforms.uTime+=te*this.speed,this.particles.uniforms.uDistortionTime+=te*this.distortionSpeed,this.light.uniforms.uTime+=te*this.speed}},{key:"render",value:function(){this.renderer.state.disable(Ld),this.renderer.state.enable(wl),hu(this.renderer.state,wd),ua(this.renderer.state,Dd,Md),ir(this.renderer,this.particles),ir(this.renderer,this.light),this.renderer.state.disable(wl)}},{key:"onRefresh",value:function(){var Z=this.canvas,te=Z.width,he=Z.height;this.camera.aspect=te/he;var Te=Cl(this.camera,100),Le=Te.width,ze=Te.height,Qe=Math.max(Le,ze);this.particles.uniforms.uStart[0]=Qe*-.75,this.particles.uniforms.uEnd[0]=Qe*.75,Ps(this.camera)}}]),D}(Pn);o()(Ju,"defaultProps",{color1:"#d45071",color2:"#f8ba81",backgroundColor:"#28243e",color3:"#ffffff",size:1,count:0,speed:0,distortionSpeed:0,alpha:0,seed:0,complexityY:0,complexityZ:0,amplitudeY:0,amplitudeZ:0,offset:0,lightAngle:0,lightIntensity:0,lightX:0});var Nd=function(w){switch(w){case An.contours:return ci;case An.gradient:return lu;case An.shapes:return _o;case An.images:return Ss;case An.isometric:return _s;case An.surface:return Vu;case An.conic:return ku;case An.bokeh:return Ju;default:throw new Error("No WebGL Component found for type: ".concat(w))}},Wa={liquid:"liquid",parallax:"parallax",refractedCircles:"refractedCircles",refractedLines:"refractedLines",filmGrain:"filmGrain"};function Ud(w){var B=w.matrix,D=B===void 0?[]:B,W=w.containerWidth,Z=w.containerHeight,te=w.contentWidth,he=w.contentHeight,Te=w.centerX,Le=Te===void 0?.5:Te,ze=w.centerY,Qe=ze===void 0?.5:ze,at,tt;te/he>W/Z?(at=W*he/(Z*te),tt=1):(at=1,tt=Z*te/(W*he));var ot=(at-1)/2*-1,Ot=(tt-1)/2*-1,xt=ot+(Le-.5)*ot*2,At=Ot+(.5-Qe)*Ot*2;return sa(D),Zo(D,D,[xt,At]),mo(D,D,[at,tt]),D}var jd=Ud,Bd=e(528254),Fd=e.n(Bd),Dl="\nattribute vec3 aPosition;\nuniform mat3 uvMatrix;\nvarying vec2 vUv;\n\nvoid main(){\n  gl_Position = vec4(aPosition, 1.);\n\n  vec2 uv = gl_Position.xy * .5 + .5;\n\n  vUv = (uvMatrix * vec3(uv, 1.)).xy;\n}\n",Ml="\nuniform sampler2D uImage;\nvarying vec2 vUv;\n\nvoid main(){\n  vec4 tx = texture2D(uImage, vUv);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function Ll(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Io(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};
7B%2?Ll(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Ll(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function Gd(w){var B=zd();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function zd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var pi=function(w){ie()(D,w);var B=Gd(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Io(Io({},D.defaultProps),Z)),te.createResources(),te}return r()(D,[{key:"createResources",value:function(){var Z=this.props,te=Z.image,he=Z.uniforms,Te=Z.pixelRatio;this.texture=new as({image:te}),this.drawInfo=Sr({program:this.createProgram(),uniforms:Io(Io(Io({},he),this.getUniformsFromProps()),{},{uvMatrix:Fd()(),uImage:Ii(this.renderer,this.texture),uResolution:[this.canvas.width,this.canvas.height],uReversePixelRatio:1/Te}),geometry:this.getGeometry({key:"big-triangle",factory:zr})}),this.uniforms=this.drawInfo.uniforms,this.updateUvMatrix()}},{key:"getUniformsFromProps",value:function(){return{}}},{key:"createProgram",value:function(){var Z=this.props,te=Z.programKey,he=Z.vert,Te=Z.frag;return this.getProgram({key:te,factory:function(){return new Zn({vert:he,frag:Te})}})}},{key:"onUpdateProps",value:function(Z){this.props.programKey!==Z.programKey&&(this.releaseResource(Z.programKey),this.drawInfo.program=this.createProgram()),(this.props.imageNeedsUpdate||this.props.image!==Z.image)&&(this.texture.image=this.props.image,this.texture.needsUpdate=!0,this.props.imageNeedsUpdate=!1),Object.assign(this.uniforms,this.getUniformsFromProps()),this.refresh()}},{key:"render",value:function(){ir(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.uniforms.uResolution[0]=this.canvas.width,this.uniforms.uResolution[1]=this.canvas.height,this.updateUvMatrix()}},{key:"updateUvMatrix",value:function(){jd({matrix:this.drawInfo.material.uniforms.uvMatrix,containerWidth:this.canvas.width,containerHeight:this.canvas.height,contentWidth:this.props.image.naturalWidth,contentHeight:this.props.image.naturalHeight,centerX:this.props.focalPoint.x,centerY:this.props.focalPoint.y})}}]),D}(Pn);o()(pi,"defaultProps",{programKey:null,vert:Dl,frag:Ml,image:null,focalPoint:{x:.5,y:.5},uniforms:{},imageNeedsUpdate:!1});var Wd="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2497077985(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2497077985(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2497077985(vec4 x) {\n     return mod289_2497077985(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2497077985(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_2497077985 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_2497077985 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_2497077985;\n  vec3 i1 = min( g_2497077985.xyz, l.zxy );\n  vec3 i2 = max( g_2497077985.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_2497077985.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_2497077985(i);\n  vec4 p = permute_2497077985( permute_2497077985( permute_2497077985(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_2497077985.wyz - D_2497077985.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );
7\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_2497077985 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_2497077985 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_2497077985.xy,h.z);\n  vec3 p3 = vec3(a1_2497077985.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_2497077985(vec4(dot(p0_2497077985,p0_2497077985), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_2497077985 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_2497077985,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\nfloat ease(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\nuniform float uComplexity;\nuniform float uDirection;\nuniform float uIntensity;\nuniform float uSeed;\nuniform float uShadow;\nuniform float uSmoothness;\nuniform float uTime;\nuniform float uMorphTime;\nuniform sampler2D uImage;\n\nvarying vec2 vUv;\n\nvec2 rotate(vec2 uv,float amount){\n  float ca = cos(amount);\n  float sa = sin(amount);\n\n  return vec2(\n    uv.x * ca + uv.y * sa,\n    -uv.x * sa + uv.y * ca\n  );\n}\n\nfloat getNoise(vec2 uv) {\n  vec2 direction = rotate(vec2(uTime), uDirection);\n\n  return 1.0 - snoise(vec3(uv * uComplexity + direction, uMorphTime) + uSeed);\n}\n\nvoid main (void) {\n  float noise = 1.0 - ease(smoothstep(1.0 - uSmoothness, 1.0, 1.0 - getNoise(vUv))) * uIntensity;\n  float shadow = smoothstep(1.0 - uIntensity, 1.0, noise) * uShadow * 0.5;\n  vec2 uv = (vUv - 0.5) * noise + 0.5;\n\n  vec4 tx = texture2D(uImage, uv);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx - vec4(vec3(shadow), 0.0);\n}\n";function Nl(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Hd(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Nl(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Nl(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function Kd(w){var B=Vd();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Vd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Zu=function(w){ie()(D,w);var B=Kd(D);function D(W,Z){return a()(this,D),B.call(this,W,Hd({programKey:"liquid-program",frag:Wd,uniforms:{uTime:0,uMorphTime:0}},Z))}return r()(D,[{key:"getUniformsFromProps",value:function(){var Z=this.props,te=Z.scale,he=Z.rotation,Te=Z.intensity,Le=Z.seed,ze=Z.shadow,Qe=Z.smoothness;return{uComplexity:te,uDirection:(45+he)*(Math.PI/180),uIntensity:Te*.01,uSeed:Le,uShadow:ze*.01,uSmoothness:Qe*.01}}},{key:"update",value:function(){this.uniforms.uTime+=this.props.speed*5e-5,this.uniforms.uMorphTime+=this.props.morphSpeed*1e-4}}]),D}(pi);o()(Zu,"defaultProps",{scale:0,rotation:0,intensity:0,morphSpeed:0,seed:0,shadow:0,smoothness:0,speed:0});var kd=e(820721),da=e.n(kd),$d="\nattribute vec3 aPosition;\n\nuniform mat3 uvMatrix;\nuniform float uAmount;\nuniform vec2 uAngle;\nuniform float uZoomStart;\nuniform float uZoomEnd;\nuniform float uProgress;\nuniform vec2 uOrigin;\n\nvarying vec2 vUv;\n\nvoid main(){\n  gl_Position = vec4(aPosition, 1.);\n  vec2 uv = gl_Position.xy * .5 + .5;\n\n  vUv = (uvMatrix * vec3(uv, 1.)).xy;\n  vUv -= uOrigin;\n  vUv *= 1.0 - uAmount - mix(uZoomStart, uZoomEnd, uProgress);\n  vUv -= uAngle * mix(\n    (vec2(1.0) - uOrigin) * -uAmount,\n    uOrigin * uAmount,\n    uProgress\n  );\n  vUv += uOrigin;\n}\n";function Ul(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Xd(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};
7B%2?Ul(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Ul(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function Cs(w){var B=Qd();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Qd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Is=function(w){ie()(D,w);var B=Cs(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Xd({programKey:"parallax-program",vert:$d,uniforms:{uOrigin:[.5,.5],uProgress:0}},Z)),o()(Gt()(te),"targetProgress",0),o()(Gt()(te),"isImmediate",!0),o()(Gt()(te),"onIntersection",function(he){he&&(te.isImmediate=!0)}),o()(Gt()(te),"onScrollProgress",function(he){te.isImmediate&&(te.uniforms.uProgress=he,te.isDirty=!0,te.isImmediate=!1),te.targetProgress=he}),te.autoUpdate=!1,te}return r()(D,[{key:"getUniformsFromProps",value:function(){var Z=this.props,te=Z.intensity,he=Z.rotation,Te=Z.zoomStart,Le=Z.zoomEnd,ze=Z.focalPoint;return{uAmount:te*.01*.5,uAngle:[Math.cos(he*Math.PI/180),Math.sin(he*Math.PI/180)],uZoomStart:Te*.01,uZoomEnd:Le*.01,uOrigin:[ze.x,1-ze.y]}}},{key:"update",value:function(){var Z=this.uniforms.uProgress,te=this.targetProgress;if(this.props.scrollProgress>=0&&(te=this.props.scrollProgress*.01),Z!==te){var he=te-Z;he<.01?this.uniforms.uProgress=te:this.uniforms.uProgress=Z+he*.1,this.isDirty=!0}}},{key:"onRefresh",value:function(){da()(je()(D.prototype),"onRefresh",this).call(this),this.isImmediate=!0}}]),D}(pi);o()(Is,"defaultProps",{intensity:0,rotation:0,zoomStart:0,zoomEnd:0,scrollProgress:-1});var xo={none:"none",mouse:"mouse",scroll:"scroll"},Ro=function(){function w(B){var D=B.shiftUniform,W=B.props,Z=B.node;a()(this,w),this.shiftUniform=D,this.props=W,this.node=Z}return r()(w,[{key:"setProps",value:function(D){this.props=D}},{key:"setImmediate",value:function(){}},{key:"setIsIntersecting",value:function(){}},{key:"setScrollProgress",value:function(){}},{key:"update",value:function(){return this.shiftUniform[0]=0,this.shiftUniform[1]=0,!1}},{key:"destroy",value:function(){}}]),w}();function jl(w){var B=Bl();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Bl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Fl=function(w){ie()(D,w);var B=jl(D);function D(){var W;a()(this,D);for(var Z=arguments.length,te=new Array(Z),he=0;he<Z;he++)te[he]=arguments[he];return W=B.call.apply(B,[this].concat(te)),o()(Gt()(W),"shiftTarget",[0,0]),o()(Gt()(W),"shiftResetTID",-1),o()(Gt()(W),"onPointerMove",function(Te){var Le=W.node.getBoundingClientRect(),ze=(Te.clientX-Le.left)/Le.width,Qe=(Te.clientY-Le.top)/Le.height;W.shiftTarget[0]=ze*-2+1,W.shiftTarget[1]=Qe*2-1,W.onPointerLeave()}),o()(Gt()(W),"onPointerLeave",function(){clearTimeout(W.shiftResetTID),W.shiftResetTID=setTimeout(W.resetShift,2e3)}),o()(Gt()(W),"resetShift",function(){W.shiftTarget=[0,0]}),W}return r()(D,[{key:"setIsIntersecting",value:function(Z){if(Z){this.enable();return}this.disable()}},{key:"enable",value:function(){this.node.addEventListener("mousemove",this.onPointerMove),this.node.addEventListener("mouseleave",this.onPointerLeave)}},{key:"disable",value:function(){this.node.removeEventListener("mousemove",this.onPointerMove),this.node.removeEventListener("mouseleave",this.onPointerLeave)}},{key:"update",value:function(){var Z=this.props,te=Z.shiftSpeed,he=Z.mouseX,Te=Z.mouseY,Le=this.shiftUniform,ze=this.shiftTarget;he!==-1&&Te!==-1&&(ze=[he*.01*-2+1,Te*.01*2-1]);var Qe=ze[0]-Le[0],at=ze[1]-Le[1];return Qe===0&&at===0?!1:(Le[0]+=Qe*(te*.002),Le[1]+=at*(te*.002),!0)}},{key:"destroy",value:function(){this.disable(),clearTimeout(this.shiftResetTID)}}]),D}(Ro);function Gl(w){var B=Jd();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function Jd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Zd=function(w){ie()(D,w);var B=Gl(D);function D(){var W;a()(this,D);for(var Z=arguments.length,te=new Array(Z),he=0;he<Z;he++)te[he]=arguments[he];return W=B.call.apply(B,[this].concat(te)),o()(Gt()(W),"targetProgress",0),o()(Gt()(W),"isImmediate",!0),W}return r()(D,[{key:"setIsIntersecting",value:function(Z){Z&&this.setImmediate()}},{key:"setImmediate",value:function(){this.isImmediate=!0}},{key:"setScrollProgress",value:function(Z){this.isImmediate&&(this.shiftUniform[1]=Z,this.isImmediate=!1),this.targetProgress=Z}},{key:"update",value:function(){var Z=this.props,te=Z.shiftSpeed,he=Z.scrollProgress,Te=this.shiftUniform[1],Le=this.targetProgress;if(he>=0&&(Le=he*.01),Te===Le)return!1;var ze=Le-Te;return ze<.01?this.shiftUniform[1]=Le:this.shiftUniform[1]=Te+ze*(te*.01),this.shiftUniform[0]=0,!0}}]),D}(Ro),wo,xs=(wo={},o()(wo,xo.none,Ro),o()(wo,xo.scroll,Zd),o()(wo,xo.mouse,Fl),wo),Rs=function(B){return xs[B]},zl=Rs,Yd="\n#ifndef HALF_PI\n#define HALF_PI 1.5707963267948966\n#endif\n\nfloat easeOut(float t) {\n  return sin(t * HALF_PI);\n}\n\nuniform sampler2D uImage;\nuniform float uCenterRadius;\nuniform float uMaxRings;
7\nuniform float uReversePixelRatio;\nuniform float uRingSize;\nuniform float uRotation;\nuniform float uScaleEven;\nuniform float uScaleOdd;\nuniform float uScaleTaperEven;\nuniform float uScaleTaperOdd;\nuniform float uShiftIntensity;\nuniform float uStepFlipRotation;\nuniform float uStepFlipX;\nuniform float uStepFlipY;\nuniform vec2 uResolution;\nuniform vec2 uShift;\nvarying vec2 vUv;\n\nvec2 rotate(vec2 uv, float amount) {\n  vec2 prime = vec2(uv.x * cos(amount) + uv.y * sin(amount),\n    -uv.x * sin(amount) + uv.y * cos(amount));\n  return prime;\n}\n\nfloat getStep (vec2 uv) {\n  return (floor(max(0.0, distance(uv, vec2(0.0)) - uCenterRadius) / uRingSize));\n}\n\nvoid main () {\n  vec2 uv = vUv - 0.5;\n  float aspect = uResolution.x / uResolution.y;\n  vec2 stepCoord = (gl_FragCoord.xy / uResolution * uReversePixelRatio) - 0.5;\n  float step = min(getStep(stepCoord * uResolution), uMaxRings);\n  float isEven = mod(step, 2.0);\n  float flipRotation = sign((1.0 - isEven + uStepFlipRotation) * 2.0 - 1.0);\n  vec2 flipAxis = vec2(\n    sign((1.0 - isEven + uStepFlipX) * 2.0 - 1.0),\n    sign((1.0 - isEven + uStepFlipY) * 2.0 - 1.0)\n  );\n  float progress = easeOut((step + 1.0) / (uMaxRings + 1.0));\n  float progressRotation = easeOut((step) / (uMaxRings));\n  float rotation = progressRotation * (uRotation) * flipRotation;\n  float scale = mix(uScaleOdd, uScaleEven, isEven);\n  float taper = mix(uScaleTaperEven, uScaleTaperOdd, isEven);\n  float taperScale = (1.0 - progress) * taper;\n  vec2 shift = uShift * uShiftIntensity * progress;\n\n  uv.x *= aspect;\n  uv = rotate(uv, rotation);\n  uv.x /= aspect;\n  uv =\n    (uv + shift) *\n      flipAxis *\n      scale *\n      (1.0 + taperScale) +\n    0.5;\n\n  vec4 tx = texture2D(uImage, mod(uv * -sign(mod(uv, 2.0) - 1.0), 1.0));\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function ws(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function Wl(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?ws(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):ws(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function qd(w){var B=ev();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Yu=function(w){ie()(D,w);var B=qd(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,Wl({programKey:"refracted-circles-program",frag:Yd,uniforms:{uCenterRadius:100,uMaxRings:-1,uShift:[0,0]}},Z)),o()(Gt()(te),"isIntersecting",!1),o()(Gt()(te),"onIntersection",function(he){te.isIntersecting=he,te.interaction.setIsIntersecting(he)}),te.autoUpdate=!1,te.updateInteraction(),te.setSize(),te}return r()(D,[{key:"updateInteraction",value:function(){this.interaction&&this.interaction.destroy();var Z=zl(this.props.interactionType);this.interaction=new Z({shiftUniform:this.uniforms.uShift,props:this.props,node:this.node.closest("section")||this.node}),this.interaction.setIsIntersecting(this.isIntersecting)}},{key:"onUpdateProps",value:function(Z){da()(je()(D.prototype),"onUpdateProps",this).call(this,Z),this.props.interactionType!==Z.interactionType?this.updateInteraction():this.interaction.setProps(this.props)}},{key:"getUniformsFromProps",value:function(){var Z=this.props,te=Z.size,he=Z.rotation,Te=Z.scaleEven,Le=Z.scaleOdd,ze=Z.scaleTaperEven,Qe=Z.scaleTaperOdd,at=Z.shiftIntensity,tt=Z.isStepFlipRotation,ot=Z.isStepFlipX,Ot=Z.isStepFlipY,xt=Z.contextScale;return{uRotation:he*Math.PI/180,uRingSize:te*xt,uScaleEven:Te*.01,uScaleOdd:Le*.01,uScaleTaperEven:ze*.01,uScaleTaperOdd:Qe*.01,uStepFlipRotation:1-+tt,uStepFlipX:1-+ot,uStepFlipY:1-+Ot,uShiftIntensity:at*.002}}},{key:"update",value:function(){this.interaction.update()&&(this.isDirty=!0)}},{key:"onRefresh",value:function(){da()(je()(D.prototype),"onRefresh",this).call(this),this.setSize()}},{key:"setSize",value:function(){var Z=this.canvas,te=Z.width,he=Z.height,Te=this.props,Le=Te.centerOffsetSize,ze=Te.isLimitRings,Qe=Te.numRings,at=Te.size,tt=Te.contextScale,ot=Math.min(te,he)*.5,Ot=Math.sqrt(te*te+he*he)*.5,xt=ot*(Le*.01*tt),At=Math.ceil((Ot-Le*tt)/(at*tt)),Xt=ze?Math.min(Qe,At):At;this.width=te,this.height=he,this.uniforms.uCenterRadius=xt,this.uniforms.uMaxRings=Xt}},{key:"onDestroy",value:function(){da()(je()(D.prototype),"onDestroy",this).call(this),this.interaction.destroy()}}]),D}(pi);o()(Yu,"defaultProps",{isLimitRings:!1,numRings:0,centerOffsetSize:0,size:0,rotation:0,scaleEven:0,scaleOdd:0,scaleTaperEven:0,scaleTaperOdd:0,isStepFlipRotation:!1,isStepFlipX:!1,isStepFlipY:!1,interactionType:"none",shiftIntensity:0,shiftSpeed:0,
7contextScale:1,scrollProgress:-1,mouseX:-1,mouseY:-1});var tv="\nfloat ease(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\nuniform sampler2D uImage;\nuniform float uBulge;\nuniform float uLineCount;\nuniform float uLineRegionSize;\nuniform float uLineSize;\nuniform float uRotation;\nuniform float uScale;\nuniform float uShiftIntensity;\nuniform vec2 uOffsetScale;\nuniform vec2 uResolution;\nuniform vec2 uShift;\n\nvarying vec2 vUv;\n\nvec2 rotate(vec2 uv, float amount) {\n  vec2 prime = vec2(uv.x * cos(amount) + uv.y * sin(amount),\n    -uv.x * sin(amount) + uv.y * cos(amount));\n  return prime;\n}\n\nfloat getStep (vec2 uv) {\n  return (1.0 + floor(distance(uv.x, 0.0) / uLineRegionSize * uLineCount));\n}\n\nvoid main () {\n  vec2 uv = rotate((vUv - 0.5) * uResolution, uRotation);\n  float step = getStep(uv);\n  float multiplier = sign(uv.x);\n\n  uv = rotate(uv, -uRotation);\n\n  float aspect = uResolution.x / uResolution.y;\n\n  float interpStep = multiplier * step;\n  float strength = step / (uLineCount * 0.5);\n  vec2 rotated = vec2(cos(uRotation), sin(uRotation));\n\n  interpStep -= multiplier * 0.5;\n\n  vec2 centered = interpStep * uLineSize * vec2(aspect, 1.0) * uOffsetScale * rotated;\n\n  uv += uShift * uResolution * uShiftIntensity * ease((step + 1.0) / uLineCount);\n  uv = (uv - centered) * (2.0 - uScale + strength * uBulge) + centered;\n  uv /= uResolution;\n  uv += 0.5;\n  uv = mod(uv * -sign(mod(uv, 2.0) - 1.0), 1.0);\n\n  vec4 tx = texture2D(uImage, uv);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function Hl(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function nv(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Hl(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Hl(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function rv(w){var B=iv();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var qu=function(w){ie()(D,w);
7var B=rv(D);function D(W,Z){var te;return a()(this,D),te=B.call(this,W,nv({programKey:"refracted-lines-program",frag:tv,uniforms:{uResolution:[1,1],uShift:[0,0]}},Z)),o()(Gt()(te),"isIntersecting",!1),o()(Gt()(te),"onIntersection",function(he){te.interaction.setIsIntersecting(he)}),o()(Gt()(te),"onScrollProgress",function(he){te.interaction.setScrollProgress(he)}),te.autoUpdate=!1,te.updateInteraction(),te.setSize(),te}return r()(D,[{key:"updateInteraction",value:function(){this.interaction&&this.interaction.destroy();var Z=zl(this.props.interactionType);this.interaction=new Z({shiftUniform:this.uniforms.uShift,props:this.props,node:this.node.closest("section")||this.node}),this.interaction.setIsIntersecting(this.isIntersecting)}},{key:"onUpdateProps",value:function(Z){da()(je()(D.prototype),"onUpdateProps",this).call(this,Z),this.props.interactionType!==Z.interactionType?this.updateInteraction():this.interaction.setProps(this.props)}},{key:"getUniformsFromProps",value:function(){var Z=this.props,te=Z.rotation,he=Z.intensity,Te=Z.offsetScaleX,Le=Z.offsetScaleY,ze=Z.scale,Qe=Z.shiftIntensity;return{uRotation:te*Math.PI/180,uBulge:he*.01,uOffsetScale:[Te*.01,Le*.01],uScale:ze*.01,uShiftIntensity:Qe*.01}}},{key:"update",value:function(){this.interaction.update()&&(this.isDirty=!0)}},{key:"onRefresh",value:function(){da()(je()(D.prototype),"onRefresh",this).call(this),this.setSize()}},{key:"setSize",value:function(){var Z=this.canvas,te=Z.width,he=Z.height,Te=this.props,Le=Te.size,ze=Te.contextScale,Qe=Math.sqrt(te*te+he*he),at=Math.ceil(Qe/(Le*ze)),tt=at*(Le*ze);this.uniforms.uLineSize=Le*ze,this.uniforms.uLineCount=at,this.uniforms.uLineRegionSize=tt,this.uniforms.uResolution[0]=te,this.uniforms.uResolution[1]=he,this.interaction.setImmediate()}},{key:"onDestroy",value:function(){da()(je()(D.prototype),"onDestroy",this).call(this),this.interaction.destroy()}}]),D}(pi);o()(qu,"defaultProps",{intensity:0,size:0,offsetScaleX:0,offsetScaleY:0,rotation:0,scale:0,interactionType:"none",shiftIntensity:0,shiftSpeed:0,contextScale:1,scrollProgress:-1,mouseX:-1,mouseY:-1});var av="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n//               noise functions.\n//      Author : Ian McEwan, Ashima Arts.\n//  Maintainer : ijm\n//     Lastmod : 20110822 (ijm)\n//     License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n//               Distributed under the MIT License. See LICENSE file.\n//               https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_692612174(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_692612174(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_692612174(vec4 x) {\n     return mod289_692612174(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_692612174(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n  {\n  const vec2  C = vec2(1.0/6.0, 1.0/3.0) ;\n  const vec4  D_692612174 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n  vec3 i  = floor(v + dot(v, C.yyy) );\n  vec3 x0 =   v - i + dot(i, C.xxx) ;\n\n// Other corners\n  vec3 g_692612174 = step(x0.yzx, x0.xyz);
7\n  vec3 l = 1.0 - g_692612174;\n  vec3 i1 = min( g_692612174.xyz, l.zxy );\n  vec3 i2 = max( g_692612174.xyz, l.zxy );\n\n  //   x0 = x0 - 0.0 + 0.0 * C.xxx;\n  //   x1 = x0 - i1  + 1.0 * C.xxx;\n  //   x2 = x0 - i2  + 2.0 * C.xxx;\n  //   x3 = x0 - 1.0 + 3.0 * C.xxx;\n  vec3 x1 = x0 - i1 + C.xxx;\n  vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n  vec3 x3 = x0 - D_692612174.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_692612174(i);\n  vec4 p = permute_692612174( permute_692612174( permute_692612174(\n             i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n           + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n           + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n  float n_ = 0.142857142857; // 1.0/7.0\n  vec3  ns = n_ * D_692612174.wyz - D_692612174.xzx;\n\n  vec4 j = p - 49.0 * floor(p * ns.z * ns.z);  //  mod(p,7*7)\n\n  vec4 x_ = floor(j * ns.z);\n  vec4 y_ = floor(j - 7.0 * x_ );    // mod(j,N)\n\n  vec4 x = x_ *ns.x + ns.yyyy;\n  vec4 y = y_ *ns.x + ns.yyyy;\n  vec4 h = 1.0 - abs(x) - abs(y);\n\n  vec4 b0 = vec4( x.xy, y.xy );\n  vec4 b1 = vec4( x.zw, y.zw );\n\n  //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n  //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n  vec4 s0 = floor(b0)*2.0 + 1.0;\n  vec4 s1 = floor(b1)*2.0 + 1.0;\n  vec4 sh = -step(h, vec4(0.0));\n\n  vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n  vec4 a1_692612174 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_692612174 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_692612174.xy,h.z);\n  vec3 p3 = vec3(a1_692612174.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_692612174(vec4(dot(p0_692612174,p0_692612174), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_692612174 *= norm.x;\n  p1 *= norm.y;\n  p2 *= norm.z;\n  p3 *= norm.w;\n\n// Mix final noise value\n  vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n  m = m * m;\n  return 42.0 * dot( m*m, vec4( dot(p0_692612174,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\n#define V_SEED_X 12.9898\n#define V_SEED_Y 78.233\n#define R_SEED 43758.5453\n\nuniform sampler2D uImage;\nuniform float uDepth;\nuniform float uNoise;\nuniform float uTime;\nuniform vec2 uResolution;\n\nvarying vec2 vUv;\n\nfloat luma(vec4 color) {\n  return dot(color.rgb, vec3(0.299, 0.587, 0.114));\n}\n\nfloat rand(vec2 co){\n  return fract(sin(dot(co.xy, vec2(V_SEED_X, V_SEED_Y))) * R_SEED);\n}\n\nfloat filmGrain(vec2 uv) {\n  float random = rand(uv + uTime);\n  return snoise(vec3(uv, random) + random);\n}\n\nvoid main (void) {\n  vec4 origin = texture2D(uImage, vUv);\n  float grain = filmGrain(vUv * uResolution);\n  vec3 color = origin.rgb;\n\n  color *= 1.0 + (grain * uNoise * (-1.0 + uDepth + luma(origin) * 0.75));\n\n  vec4 tx = vec4(color, origin.a);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function Kl(w,B){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(w);B&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,W)}return D}function ov(w){for(var B=1;B<arguments.length;B++){var D=arguments[B]!=null?arguments[B]:{};B%2?Kl(Object(D),!0).forEach(function(W){o()(w,W,D[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):Kl(Object(D)).forEach(function(W){Object.defineProperty(w,W,Object.getOwnPropertyDescriptor(D,W))})}return w}function ni(w){var B=sv();return function(){var W=je()(w),Z;if(B){var te=je()(this).constructor;Z=Reflect.construct(W,arguments,te)}else Z=W.apply(this,arguments);return ye()(this,Z)}}function sv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var ec=function(w){ie()(D,w);var B=ni(D);function D(W,Z){return a()(this,D),B.call(this,W,ov({programKey:"film-grain-program",frag:av,uniforms:{uTime:0}},Z))}return r()(D,[{key:"getUniformsFromProps",value:function(){var Z=this.props,te=Z.intensity,he=Z.shadow;
7return{uNoise:te*.01,uDepth:he*.01}}},{key:"update",value:function(){this.uniforms.uTime+=this.props.speed*1e-4}}]),D}(pi);o()(ec,"defaultProps",{intensity:0,shadow:0,speed:0});var va=function(w){switch(w){case Wa.liquid:return Zu;case Wa.parallax:return Is;case Wa.refractedCircles:return Yu;case Wa.refractedLines:return qu;case Wa.filmGrain:return ec;default:throw new Error("No WebGL Effect found for type: ".concat(w))}},kt={radial:"radial",linear:"linear"},Vl=e(708380),_r=e(799035),wn=function(){function w(B,D,W){var Z=this;a()(this,w),o()(this,"isPaused",!1),o()(this,"isIntersecting",!1),o()(this,"onIntersection",function(te){Z.isIntersecting=te,Z.updatePlayState(),Z.instance.onIntersection&&Z.instance.onIntersection(te),Z.isIntersecting&&Z.isPaused&&Z.instance.renderFrame()}),o()(this,"setPaused",function(te){Z.isPaused=te,Z.updatePlayState()}),o()(this,"togglePaused",function(){Z.setPaused(!Z.isPaused)}),o()(this,"onResize",function(){Z.instance.refresh()}),this.instance=new B(D,W),this.node=D,W.reduceMotion&&(this.isPaused=!0),this.bindListeners()}return r()(w,[{key:"bindListeners",value:function(){this.intersectionScroll=new _r.default(this.node,{onIntersection:this.onIntersection,onProgress:this.instance.onScrollProgress}),Vl.default.on(this.onResize)}},{key:"unbindListeners",value:function(){this.intersectionScroll.destroy(),Vl.default.off(this.onResize)}},{key:"detach",value:function(){this.unbindListeners(),this.instance.detach(),this.node=null}},{key:"attach",value:function(D){this.node=D,this.bindListeners(),this.instance.attach(D)}},{key:"updatePlayState",value:function(){if(this.isIntersecting&&!this.isPaused){this.instance.start();return}this.instance.stop()}},{key:"setProps",value:function(D){this.instance.setProps(D)}},{key:"refresh",value:function(){this.instance.refresh()}},{key:"destroy",value:function(){this.unbindListeners(),this.instance.destroy()}},{key:"props",get:function(){return this.instance.props}},{key:"autoUpdate",get:function(){return this.instance.autoUpdate}},{key:"isSupported",get:function(){return this.instance.isSupported}}]),w}()},806582:function(){YUI.add("@sqs/yui-gallery/designs/autocolumns",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autocolumns=y.Base.create("GalleryDesignAutocolumns",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{dimensions:null,initializer:function(){var f=this.get("host");f.get("container").addClass(this._getProperty("CONTAINER_CLASS")),f.get("slides").addClass(this._getProperty("SLIDE_CLASS")),f.plugLoaders(),this._evaluateBricks(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),f.get("slides")),this._bindUI(),this._syncUI(),this.get("mixedContent")&&f.get("slides").each(function(e,s){var n=e.test("img")?e:e.one("img");n?n.onceAfter("loaded",function(){e.addClass("positioned")},this):e.addClass("positioned")},this)},destructor:function(){var f=this.get("host");if(f){var e=f.get("container"),s=f.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),s&&s.removeClass(this._getProperty("SLIDE_CLASS"))}this._flushEvents()},_bindUI:function(){var f=this.get("host");f.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),f.after("aspectRatioChange",function(s){this.set("aspectRatio",s.newVal),this._evaluateBricks(),this._syncUI()},this),f.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange","mixedContentChange"],function(s){this.set(s.attrName,s.newVal),this._syncUI()},this),f.after("lightboxChange",function(s){y.SQS.Gallery.Manager.lightboxify(s.newVal,f.get("slides"))},this)},_syncUI:function(){var f=this.get("host"),e=f.get("container").get("offsetWidth"),s=this.get("aspectRatio"),n=Math.min(this.get("gutter"),this.get("columnWidth")),a=this.get("mixedContent"),t=this.get("columnWidthBehavior")==="min"?"floor":"ceil",r=Math[t](e/this.get("columnWidth"));r=Math.max(r,1);for(var i=n*(r-1),o=(e-i)/r,d=Math.floor(o),u=[],l=0;l<r;l++)u[l]=0;f.get("slides").each(function(c,g){var v=g%r;s||(v=u.indexOf(Math.min.apply(Math,u)));var h=d*v;v!==0&&(h+=n*v);var p,m=d;s?p=m/s:p=this._getBrickHeight(c,g,m),v===r-1&&d!==o&&(m=e-h,!a&&!c.one(".sqs-video-wrapper")&&c.addClass("slide-stretched"));var P={top:u[v]+"px",left:h+"px",width:m+"px",height:p+"px"};c.setStyles(P),p+=n,u[v]+=p},this),f.get("container").setStyle("height",Math.max.apply(Math,u)-n+"px"),y.later(1,this,this.loadItems)},_getBrickHeight:function(f,e,s){var n=this._hasValidDimensions(this.dimensions[e]),a=this.get("mixedContent"),t=f.one(".sqs-video-wrapper img");if(t&&f.one(".intrinsic"))return f.setStyles({width:s+"px",height:null}),y.config.win.ImageLoader.load(t,{load:!0,mode:"fill"}),f.get("offsetHeight");if(n){var r=Math.floor(y.SQS.Gallery.Rendering.getHeightForWidth(this.dimensions[e].width,this.dimensions[e].height,s));if(!a)return r;f.setStyles({width:s+"px",height:null});var i=f.get("offsetHeight"),o=i-f.one("img").get("offsetHeight");return r+o}return f.setStyles({width:s+"px",height:null}),f.all("img").each(function(d){y.config.win.ImageLoader.load(d,{load:"viewport"})}),f.get("offsetHeight")},_hasValidDimensions:function(f){return!!(f&&f.width&&f.height)},_evaluateBricks:function(){var f=this.get("host");this.dimensions=[],f.getSlides().each(function(e){var s=e.one("img[data-image-dimensions]");s?(s.loader.set("mode",this.get("aspectRatio")?"fill":"none"),this.dimensions.push(y.SQS.Gallery.Rendering.getDimensionsFromNode(s))):this.dimensions.push(null)},this)},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autocolumns",SLIDE_CLASS:"sqs-gallery-design-autocolumns-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250,validator:function(f){return y.Lang.isString(f)&&(f=parseInt(f,10)),y.Lang.isNumber(f)&&f>0}},gutter:{value:0},aspectRatio:{value:0},mixedContent:{value:!1},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sq
7s/yui-gallery/resize-emitter","@sqs/yui-gallery/rendering"]})},595853:function(){YUI.add("@sqs/yui-gallery/designs/autogrid",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autogrid=y.Base.create("GalleryDesignAutoGrid",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var f=this.get("host");f.get("container").addClass(this._getProperty("CONTAINER_CLASS")),f.get("slides").addClass(this._getProperty("SLIDE_CLASS")),f.plugLoaders(),this._processImages(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),f.get("slides")),this._bindUI(),this._syncUI()},_bindUI:function(){var f=this.get("host");f.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),f.after("aspectRatioChange",function(s){this.set("aspectRatio",s.newVal),this._processImages(),this._syncUI()},this),f.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange"],function(s){this.set(s.attrName,s.newVal),this._syncUI()},this),f.after("lightboxChange",function(s){y.SQS.Gallery.Manager.lightboxify(s.newVal,f.get("slides"))},this)},destructor:function(){var f=this.get("host");if(f){var e=f.get("container"),s=f.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),s&&(s.removeClass(this._getProperty("SLIDE_CLASS")),s.setStyles({width:null,marginBottom:null,marginRight:null,clear:null})),f.getImages().each(function(n){n.get("parentNode").test(".img-wrapper")&&n.unwrap(),n.setStyle("position",null)})}this._flushEvents()},_syncUI:function(){var f=this.get("host"),e=f.get("container").get("offsetWidth"),s=this.get("gutter"),n=this.get("columnWidthBehavior")==="min"?"floor":"ceil",a=Math[n](e/this.get("columnWidth"));a=Math.max(a,1);var t=s*(a-1),r=(e-t)/a;f.get("slides").each(function(i,o){var d=o%a;i.setStyles({width:100*r/e+"%",marginBottom:100*s/e+"%",marginRight:d===a-1?0:100*s/e+"%",clear:d===0?"left":null}).addClass("positioned")},this),f.get("container").setStyle("marginBottom",-100*s/e+"%"),y.later(1,this,this.loadItems)},_processImages:function(){var f=this.get("host"),e=this.get("aspectRatio");e?(f.getImages("image").each(function(s){s.get("parentNode").test(".img-wrapper")||s.wrap('<div class="img-wrapper content-fill"></div>'),s.get("parentNode").setStyle("paddingBottom",100/e+"%")}),f.getSlides("video").each(function(s){s.one(".sqs-video-wrapper").videoloader.set("mode","none");var n=s.one(".intrinsic-inner");n&&s.one(".intrinsic-inner").setStyle("paddingBottom",100/e+"%")})):f.getImages("image").each(function(s){s.get("parentNode").test(".img-wrapper")&&s.unwrap(),s.setStyle("position",null)})},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autogrid",SLIDE_CLASS:"sqs-gallery-design-autogrid-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250},gutter:{value:0},aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sq
7s/yui-gallery/resize-emitter"]})},197091:function(){YUI.add("@sqs/yui-gallery/designs/autorows",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autorows=y.Base.create("GalleryDesignAutoRows",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var f=this.get("host");f.get("container").addClass(this._getProperty("CONTAINER_CLASS")),f.get("slides").addClass(this._getProperty("SLIDE_CLASS")),f.plugLoaders(),this._evaluateRatios(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),f.get("slides")),this._bindUI(),this._syncUI()},destructor:function(){var f=this.get("host");if(f){var e=f.get("container"),s=f.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),s&&(s.removeClass(this._getProperty("SLIDE_CLASS")),s.setStyles({height:null,width:null,marginRight:null,marginBottom:null}))}this._flushEvents()},_bindUI:function(){var f=this.get("host");f.after("refresh",this._syncUI,this),f.after(["rowHeightChange","gutterChange"],function(e){this.set(e.attrName,e.newVal),this._syncUI()},this),f.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,f.get("slides"))},this)},_syncUI:function(){var f=this.get("host"),e=f.get("container").get("offsetWidth"),s=this.get("gutter"),n=this.get("rowHeight"),a=new y.NodeList,t=0,r=0,i=function(o,d){var u=0;o.each(function(l,c){var g=l.one(".sqs-video-wrapper, img"),v=Math.floor(g.getData("aspectRatio")*d),h=c===o.size()-1;h&&(v=e-u),l.setStyles({height:d+"px",width:v+"px",marginRight:h?0:s+"px",marginBottom:s+"px"}),u+=s+v})};f.get("slides").each(function(o){var d=o.one(".sqs-video-wrapper, img"),u=d.getData("aspectRatio")*n;if(u+t>e){var l=n+(e-t)/r;i(a,l),t=0,r=0,a=new y.NodeList}r+=d.getData("aspectRatio"),t+=s+u,a.push(o)}),i(a,n),y.later(1,this,this.loadItems)},_evaluateRatios:function(){var f=this.get("host");f.get("slides").each(function(e){var s=e.one(".sqs-video-wrapper, img"),n=s.test(".sqs-video-wrapper"),a;n?a={width:s.videoloader.getWidth(),height:s.videoloader.getHeight()}:a=y.SQS.Gallery.Rendering.getDimensionsFromNode(s),s.setData("aspectRatio",a.width/a.height)})},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autorows",SLIDE_CLASS:"sqs-gallery-design-autorows-slide",ATTRS:{rowHeight:{value:250},gutter:{value:20},lightbox:{value:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sq
7s/yui-gallery/rendering"]})},543971:function(){YUI.add("@sqs/yui-gallery/designs/base",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.base=y.Base.create("GalleryDesignBase",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){this.get("host").after("currentIndexChange",function(){this.get("host").syncUI()},this),this.get("host").plugLoaders(),this.loadItems(),this.get("host").syncUI()},destructor:function(){},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",ATTRS:{}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},951513:function(y,f,e){var s=e(533734).containFocus;YUI.add("@sqs/yui-gallery/designs/carousel",function(n){n.namespace("SQS.Gallery.Designs"),n.SQS.Gallery.Designs.carousel=n.Base.create("GalleryDesignCarousel",n.Plugin.Base,[n.SQS.Gallery.GismoBase,n.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var a=this.get("host"),t=a.get("slides");a.get("container").addClass(this._getProperty("CONTAINER_CLASS")),t.addClass(this._getProperty("SLIDE_CLASS")),a.plugLoaders(),this._processImages(),a.loadImages(a.getImages()),this.get("lightbox")&&n.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),t),this._bindUI(),this._syncUI()},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._indexChangeEvent&&this._indexChangeEvent.detach(),this._resizeEvent=null,this._indexChangeEvent=null},_bindUI:function(){this._indexChangeEvent=this.get("host").after("currentIndexChange",function(t){this._moveCarousel(t),this._updateControls()},this),this._resizeEvent=n.on("windowresize",function(){this._syncUI()},n.config.win,this);var a=this.get("host");a.after("lightboxChange",function(t){n.SQS.Gallery.Manager.lightboxify(t.newVal,a.get("slides"))},this)},_syncUI:function(){this._updateCarousel(),this._updateControls()},_updateCarousel:function(){var a=this.get("currentGroup")*this.get("slidesPerRow");this.set("slidesPerRow",this._getSlidesPerRow()),this._setSlideStyles();var t=Math.round(a/this.get("slidesPerRow")),r=this.get("totalGroups");t>=r?this.goToGroup(r-1):this.goToGroup(t)},_getSlidesPerRow:function(){var a=this.get("slidesPerRowOriginal");return n.config.win.innerWidth<480&&a>1?2:n.config.win.innerWidth<724&&a>2?3:a},_setSlideStyles:function(){var a=this.get("host"),t=a.get("container"),r=this.get("slidesPerRow"),i=this.get("gutter"),o=this._getProperty("CONTAINER_CLASS")+"-slides-in-view-";t.removeClass(o+".*"),t.addClass(o+r);var d=i+"%";t.setStyle("marginLeft","-"+d),a.get("slides").setStyles({width:100/r+i/r+"%",paddingLeft:d,paddingRight:d})},_updateControls:function(){var a=this.get("host"),t=this.get("totalSlides")<=this.get("slidesPerRow");a.get("elements.previous").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isFirstGroup")).setAttribute("aria-disabled",this.get("isFirstGroup")),a.get("elements.next").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isLastGroup")).setAttribute("aria-disabled",this.get("isLastGroup"))},_moveCarousel:function(a){if(a.halt(),Math.abs(a.newVal-a.prevVal)>1){var t=Math.floor(a.newVal/this.get("slidesPerRow"));this.goToGroup(t);return}if(a.newVal>a.prevVal&&!this.get("isLastGroup")){this.goToNextGroup();return}a.newVal<a.prevVal&&!this.get("isFirstGroup")&&this.goToPrevGroup()},_updateSlideTabbability:function(){var a=this.get("host"),t=a.get("container"),r=a.get("slides"),i=this.get("currentGroup"),o=this.get("slidesPerRow"),d=r.getDOMNodes().slice(i*o,(i+1)*o);this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=s({predicate:function(u){return d.some(function(l){return l.contains(u)})},root:t.getDOMNode(),setFocusOnContain:!1,restoreFocusOnRevert:!1})},goToGroup:function(a){var t="-"+(a*100+a*this.get("gutter"))+"%";this.get("host").get("container").setStyle("transform","translatex("+t+")"),this.set("currentGroup",a),this._updateSlideTabbability()},goToNextGroup:function(){var a=this.get("host"),t=this.get("currentGroup");a.get("totalGroups")-1!==t&&this.goToGroup(t+1)},goToPrevGroup:function(){var a=this.get("currentGroup");a!==0&&this.goToGroup(a-1)},_processImages:function(){var a=this.get("host"),t=this.get("aspectRatio");if(t){var r=100/t+"%";a.getImages("image").each(function(i){i.get("parentNode").setStyle("paddingBottom",r)}),a.getSlides("video").each(function(i){i.one(".sqs-video-wrapper").setStyle("paddingBottom",r)})}},_getProperty:function(a){return this.constructor[a]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-carousel",SLIDE_CLASS:"sqs-gallery-design-carousel-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1},gutter:{value:1},slidesPerRow:{value:3},currentGroup:{value:0},loop:{value:!1,readOnly:!0},slidesPerRowOriginal:{valueFn:function(){return this.get("slidesPerRow")},readOnly:!0},totalSlides:{valueFn:function(){return this.get("host").get("slides").size()},readOnly:!0},totalGroups:{getter:function(){return Math.ceil(this.get("totalSlides")/this.get("slidesPerRow"))},readOnly:!0},isFirstGroup:{getter:function(){return this.get("currentGroup")===0},readOnly:!0},isLastGroup:{getter:function(){return this.get("totalGroups")-1===this.get("currentGroup")},readOnly:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sq
7s/yui-gallery/gismo"]})},202905:function(){YUI.add("@sqs/yui-gallery/designs/grid",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.grid=y.Base.create("GalleryDesignGrid",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var f=this.get("host");f.get("container").addClass(this._getProperty("CONTAINER_CLASS")),f.get("slides").addClass(this._getProperty("SLIDE_CLASS")),f.getImages("image").each(function(e){e.setStyles({opacity:0}),this._event(e.once("load",function(){this._timer(y.later(Math.random()*500,this,function(){var s=this._anim(e,{opacity:1},{duration:1});if(!this.get("destroyed")&&s.get("node").inDoc()){var n=y.DOM.viewportRegion();s.get("node").inRegion(n)?s.run():e.setStyles({opacity:null})}}))},this))},this),f.getSlides("video").each(function(e){e.all(".sqs-video-wrapper").each(function(s){s.setStyles({opacity:0});var n=this._anim(s,{opacity:1},{duration:1});this._timer(y.later(Math.random()*500,this,function(){n.run()}))},this)},this),f.plugLoaders(),this.loadItems(),f.getSlides("video").each(function(e){var s=e.one(".sqs-video-wrapper"),n=s.videoloader;this.get("lightbox")&&n.set("inactive",!0),e.one(".content-fit")?n.set("mode","fit"):n.set("mode","fill");var a=n.get("video"),t=a&&a.getAttribute("src").indexOf("instagram.com")!==-1,r=n.get("overlay");t&&r&&r.on("click",function(i){i.halt(),n.showOverlay(),window.open(a.getAttribute("src"),"Instagram","width=620,height=720")},this)},this),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),f.get("slides")),f.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,f.get("slides"))},this)},destructor:function(){var f=this.get("host");if(f){var e=f.get("container"),s=f.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),s&&s.removeClass(this._getProperty("SLIDE_CLASS"))}},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-grid",SLIDE_CLASS:"sqs-gallery-design-grid-slide",ATTRS:{lightbox:{value:!0},perRow:{value:4}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},43098:function(){YUI.add("@sqs/yui-gallery/designs",function(y){},"1.0",{requires:["@sqs/yui-gallery/designs/autocolumns","@sqs/yui-gallery/designs/autogrid","@sqs/yui-gallery/designs/autorows","@sq
7s/yui-gallery/designs/base","@sqs/yui-gallery/designs/carousel","@sqs/yui-gallery/designs/grid","@sqs/yui-gallery/designs/list","@sqs/yui-gallery/designs/stacked","@sqs/yui-gallery/designs/strip"]})},990112:function(){YUI.add("@sqs/yui-gallery/designs/list",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.list=y.Base.create("GalleryDesignList",y.Plugin.Base,[y.SQS.Gallery.GismoBase],{initializer:function(){this.host=this.get("host"),this.host.get("container").addClass(this._getProperty("CONTAINER_CLASS")),this.host.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this.host.plugLoaders(),this._processImages(),this.host.loadImages(this.host.getImages()),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),this.host.get("slides")),this._renderUI()},destructor:function(){this.host=null},_renderUI:function(){var f=this.host.get("designOptions.imageWidth"),e=parseInt(100-f,10);this.host.get("elements.imageContainers").each(function(s){var n=s.ancestor(".summary-thumbnail-outer-container"),a=n||s;!a||a.getDOMNode().style.setProperty("width",f+"%")}),this.host.get("elements.metaContainers").each(function(s){s.getDOMNode().style.setProperty("width",e+"%")}),this.host.get("slides").each(function(s){s.one("img")||s.addClass("no-image")})},_bindUI:function(){var f=this.host;f.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,f.get("slides"))},this)},_processImages:function(){var f=this.get("aspectRatio");f&&(this.host.getImages("image").each(function(e){e.get("parentNode").setStyle("paddingBottom",100/f+"%")}),this.host.getSlides("video").each(function(e){e.one(".sqs-video-wrapper").setStyle("paddingBottom",100/f+"%")}))},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-list",SLIDE_CLASS:"sqs-gallery-design-list-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/gismo"]})},555696:function(y,f,e){var s=e(533734).containFocus,n=e(817054);YUI.add("@sqs/yui-gallery/designs/stacked",function(a){a.namespace("SQS.Gallery.Designs"),a.SQS.Gallery.Designs.stacked=a.Base.create("GalleryDesignStacked",a.Plugin.Base,[a.SQS.Gallery.GismoBase,a.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var t=this.get("host"),r=t.get("slides");if(t.get("container").addClass(this._getProperty("CONTAINER_CLASS")),r&&r.addClass(this._getProperty("SLIDE_CLASS")),this.plug(this.get("transition"),this.get("transitionOptions")),t.after("currentIndexChange",this.syncUI,this),t.after("refresh",this.syncUI,this),t.after("image-loaded",this._positionMetaOverlay,this),r&&r.each(function(o,d){var u=o.test("img")?o:o.one("img");u?u.onceAfter("loaded",function(){o.addClass("loaded")},this):o.addClass("loaded")},this),t.plugLoaders(),this.get("autoHeight")){var i=a.bind(function(){this.containerHeight=this._calculateContainerHeight(),t.get("container").setStyles({height:this.containerHeight})},this);i(),this._event(new a.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",i))}t.refresh(),this.bindUI(),this.syncUI()},destructor:function(){var t=this.get("host");if(!!t){var r=t.get("container");r&&this.get("autoHeight")&&r.setStyles({height:null});var i=t.get("slides");i&&i.each(function(o){o.setStyles({opacity:null}),o.removeClass(this._getProperty("SLIDE_CLASS"))},this)}},bindUI:function(){var t=this.get("host");!this.get("clickBehavior")||this._event(t.get("container").on("click",this.onClickSlide,this))},getSlideFromClickEvent:function(t){return t.target.test(".slide")?t.target:t.target.ancestor(".slide")},onClickSlide:function(t){if(!t.target.ancestor("a",!0)){t.preventDefault();var r=this.getSlideFromClickEvent(t);if(r){var i=r.getAttribute("data-click-through-url");if(i){this.clickthrough(i);return}}this.advanceSlideFromClick(t)}},clickthrough:function(t){a.Squarespace&&a.Squarespace.Utils&&a.Squarespace.Utils.isInDamaskFrame()?a.Global.fire("bypassGalleryClickThrough",{url:t}):window.location.href=t},advanceSlideFromClick:function(t){var r=this.getSlideFromClickEvent(t),i=this.get("host"),o=i._slideType(i.getCurrentSlide());if(o!=="video")switch(this.get("clickBehavior")){case"next":i.nextSlide();break;case"previous":i.previousSlide();break;default:var d=r?r.get("region"):i.get("container").get("region"),u=d.width/2+d.left;t.pageX>u?i.nextSlide():i.previousSlide();break}},syncUI:function(t){var r=this.get("host");r.syncUI(),this.fire("transition",t||{newVal:r.get("currentIndex")}),this.loadItems(),this._positionMetaOverlay(),this._updateSlideTabbability()},_updateSlideTabbability:function(){var t=this.get("host"),r=t.get("container"),i=t.get("slides").item(t.get("currentIndex"));this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=s({predicate:function(o){return i._node.contains(o)},root:r._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},_positionMetaOverlay:function(){var t=this.get("host"),r=t.getCurrentSlide();if(!!r){var i=r.one("img");i||(i=r);var o=i.ancestor(".sqs-video-wrapper",!0);o&&(i=o,o.videoloader.on("showingVideoChange",function(c){r.toggleClass("video-playing",!!c.newVal)}));var d=r.one(".meta");if(d){var u=t.get("container"),l=n(u,"galleryOptions");
7if(l)switch(l["meta-position"]||"bottom"){case"top":case"bottom":d.setStyles({left:i.get("offsetLeft"),width:i.get("offsetWidth")});break;case"top-left":case"bottom-left":d.setStyles({left:i.get("offsetLeft"),maxWidth:i.get("offsetWidth")/2});break;case"top-right":case"bottom-right":d.setStyles({right:r.get("offsetWidth")-(i.get("offsetLeft")+i.get("offsetWidth")),maxWidth:i.get("offsetWidth")/2});break;case"center":d.setStyles({maxWidth:i.get("offsetWidth")/2}),d.setStyles({marginLeft:d.get("offsetWidth")/-2,marginTop:d.get("offsetHeight")/-2});break}d.get("scrollHeight")/u.get("offsetHeight")>.9?d.setStyle("height",u.get("offsetHeight")*.4).addClass("overflow"):d.setStyle("height",null).removeClass("overflow")}}},_calculateContainerHeight:function(){var t=this.get("host"),r=[],i=t.get("slides");i&&i.each(function(d){switch(t._slideType(d)){case"image":var u=d.test("img")?d:d.one("img");if(u){var l=a.SQS.Gallery.Rendering.getDimensionsFromNode(u),c=a.SQS.Gallery.Rendering.getHeightForWidth(l.width,l.height,d.get("offsetWidth"));isNaN(c)||r.push(c)}break;case"video":var g=d.one(".sqs-video-wrapper");if(!g)break;var v=g.videoloader;if(!v)break;var h=a.SQS.Gallery.Rendering.getHeightForWidth(v.getWidth(),v.getHeight(),d.get("offsetWidth"));isNaN(h)||r.push(h);break}},this);var o=t.get("container").get("offsetHeight");return r.length>0&&(o=Math.min.apply(Math.min,r)),o},_getProperty:function(t){return this.constructor[t]},_getTransition:function(t){if(t=a.SQS.Gallery.StackedTransitions[t],!t)throw new Error('Could not find transition named "'+t+'"');return t}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-stacked",SLIDE_CLASS:"sqs-gallery-design-stacked-slide",ATTRS:{autoHeight:{value:!0},clickBehavior:{value:"next"},easing:{value:a.Easing.easeOutStrong},speed:{value:1},preloadCount:{value:1},transition:{value:"fade",getter:"_getTransition"},transitionOptions:{value:{}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/designs/stacked/transitions","@sqs/yui-gallery/gismo","@sq
7s/yui-gallery/rendering","@sqs/yui-gallery/resize-emitter"]})},597517:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/base",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.base=y.Base.create("GalleryDesignStackedTransition",y.Plugin.Base,[y.SQS.Gallery.GismoBase],{baseZIndex:888,initializer:function(){this.get("host").get("host").get("slides").setStyles({opacity:0,zIndex:this.baseZIndex}),y.UA.ie&&this.get("host").get("host").get("slides").setStyles({visibility:"hidden"}),this.get("host").on("transition",this.transition,this)},_getProperty:function(f){return this.constructor[f]}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","plugin","@sqs/yui-gallery/gismo"]})},49507:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/fade",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.fade=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{transition:function(f){this.get("host").get("host").set("inMotion",!0);var e=f.newVal||this.get("host").get("host").get("currentIndex"),s=f.prevVal;if(y.Lang.isNumber(e)){var n=this.get("host").get("host").getSlides().item(e);n&&(n.setStyles({visibility:null,zIndex:this.baseZIndex+1}),this._anim(n,{opacity:1},{duration:this.get("host").get("speed"),easing:this.get("host").get("easing"),end:y.bind(function(){var t=this.get("host");if(!!t){var r=t.get("host");!r||r.set("inMotion",!1)}},this)}).run())}if(y.Lang.isNumber(s)){var a=this.get("host").get("host").getSlides().item(s);a&&(a.setStyles({zIndex:this.baseZIndex}),this._anim(a,{opacity:0},{duration:this.get("host").get("speed")*1.2,easing:this.get("host").get("easing"),end:y.bind(function(){var t=this.get("host");if(!!t){var r=t.get("host");!r||(r._currentSlide()!==a&&a.setStyles({visibility:"hidden",zIndex:null}),r.set("inMotion",!1))}},this)}).run())}}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},769087:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions",function(y){},"1.0",{requires:["@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/designs/stacked/transitions/fade","@sqs/yui-gallery/designs/stacked/transitions/ken-burns","@sqs/yui-gallery/designs/stacked/transitions/new-swipe","@sqs/yui-gallery/designs/stacked/transitions/scroll","@sqs/yui-gallery/designs/stacked/transitions/swipe"]})},224848:function(y,f,e){var s=e(342592);YUI.add("@sqs/yui-gallery/designs/stacked/transitions/ken-burns",function(n){n.namespace("SQS.Gallery.StackedTransitions"),n.SQS.Gallery.StackedTransitions.kenBurns=n.Base.create("GalleryDesignStackedTransition",n.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){Modernizr.csstransforms&&this.get("host").get("host").getImages().each(function(a){var t=a.getAttribute("data-image-focal-point");t=t.split(","),a.setStyles({transformOrigin:t[0]*100+"%"+t[1]*100+"%",transform:"translatez(0)"})})},transition:function(a){this.get("host").get("host").set("inMotion",!0);var t=a.newVal||this.get("host").get("host").get("currentIndex"),r=a.prevVal,i=n.Lang.isNumber(t)&&this.get("host").get("host").getSlides().item(t),o=n.Lang.isNumber(r)&&this.get("host").get("host").getSlides().item(r),d=this.get("host").get("speed");if(i){if(Modernizr.csstransforms){var u=i.one("img"),l=t%2==0?this.get("zoom"):1,c=t%2!=0?this.get("zoom"):1,g=this.get("host").get("host").get("autoplayOptions.timeout")/1e3+d,v=new s(function(h){var p=l+h*(c-l);u.setStyle("transform","scale("+p+")")},{duration:g*1e3,easing:"linear"});v.start()}i.setStyles({zIndex:this.baseZIndex+1}),i.anim({opacity:1},{from:{opacity:0}
7,end:n.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run()}o&&(o.setStyles({zIndex:this.baseZIndex}),i.anim({opacity:1},{duration:d,from:{opacity:0},end:n.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run())}},{NS:"gallery-stacked-transition",ATTRS:{zoom:{value:1.075}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},734107:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/new-swipe",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.newSwipe=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this._host=this.get("host").get("host"),this._$container=this._host.get("container"),this._$items=this._host.get("slides"),this._$assets=new y.NodeList,this._$items.each(function(f){var e=f.one(".sqs-video-wrapper"),s=f.one("img");e?(e.plug(y.Squarespace.VideoLoader),this._$assets.push(e)):(ImageLoader.load(s),this._$assets.push(s))},this),this._setLayoutStyles(),this._bind()},transition:function(f){var e=this._host.get("currentIndex");f||(f={});var s=f.x||-1*(this._$items.item(0).get("clientWidth")*e)+"px",n=f.y||"0px";this._$container.setStyles({transform:"translate3d("+s+", "+n+", 0)"})},_setLayoutStyles:function(){this._$container.setStyles({whiteSpace:"nowrap",transition:"none"}),this._$items.setStyles({display:"inline-block",opacity:1,position:"relative"}),this._$assets.setStyles({cursor:"move"})},_bind:function(){var f={},e=0,s=[],n=5,a;this._$container.on("click",function(t){t.stopPropagation()}),this._$container.on(["mousedown","touchstart"],function(t){if(!!t.touches&&t.touches.length>1)return!1;t.halt(),f.target=t.target,f.initiated=!0,f.tap=!0,f.start={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},e=Date.now()},this),this._$container.on(["mousemove","touchmove"],function(t){if(!f.initiated)return!1;if(t.halt(),t.type=="mousemove"&&(a&&a.cancel&&a.cancel(),a=y.later(500,this,function(){this._$container.simulate("mouseup")})),f.tap=!1,f.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},!f.axis)Math.abs(Math.abs(f.end.x)-Math.abs(f.start.x))>10&&(f.axis="x"),Math.abs(Math.abs(f.end.y)-Math.abs(f.start.y))>10&&(f.axis="y");else{var r=this._getBoundaries(),i=this.get("boundaries"),o=f.start[f.axis]-f.end[f.axis],d=f.start.region.left,u=f.start.region.top,l=function(p){return i[p]=="none"||i[p]=="none"?1:.1},c=1,g=d-o;f.axis=="x"&&(g>-1*r.left&&(c=l("left"),f.boundaryBreach="left"),g<-1*r.right&&(c=l("right"),f.boundaryBreach="right")),f.axis=="y"&&(g<-1*r.top&&(c=l("top"),f.boundaryBreach="top"),g>-1*r.bottom&&(c=l("bottom"),f.boundaryBreach="bottom"));var v=d,h=u;f.axis=="x"?v=d-o*c:h=u-o*c,this._$container.setStyles({transform:"translate3d("+v+"px, "+h+"px, 0)"})}s.push({x:f.end.x,y:f.end.y,time:Date.now()}),s.length>n&&s.shift()},this),this._$container.on(["mouseup","touchend"],function(t){if(!f.initiated)return!1;if(t.halt(),s.length==n){var r=s[0],i=s[s.length-1],o=Math.abs(r[f.axis]-i[f.axis]),d=Math.abs(i.time-r.time);f.velocity=o/d}else f.velocity=0;f.end||(f.tap=!0,f.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()}),f.time=Date.now()-e,f.boundaryBreach&&this.get("boundaryBreachCallback")(f),this._dispatchSlideAction(f),f={},s=[]},this)},_getBoundaries:function(){var f=this._$container.getStyle("transform");this._$container.setStyle("transform","translate3d(0,0,0)");var e=this._$items.item(0).get("region"),s=this._$items.item(this._$items.size()-1).get("region"),n;return n={top:e.top,left:e.left,bottom:s.bottom-s.height,right:s.right-s.width},this._$container.setStyle("transform",f),n},_dispatchSlideAction:function(f){var e=this._host.get("currentIndex"),s=.7/f.velocity,n=y.config.win.innerWidth<767?.2:.3,a=y.config.win.innerWidth<767?.4:.5;if(s<n&&(s=n),s>a&&(s=a),this._$container.setStyles({transition:"transform "+s+"s ease-out"}),y.later(s*1e3,this,function(){this._$container.setStyles({transition:"none"})}),f.axis=="x"){var t=Math.abs(Math.abs(f.start.x)-Math.abs(f.end.x));(t>this._$container.get("clientWidth")/2||f.velocity>1)&&(f.start.x>f.end.x?e<this._$items.size()-1&&e++:e>0&&e--)}this._host.set("currentIndex",e)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-newswi
7pe",WRAPPER_CLASS:"sqs-gallery-design-stacked-newswipe-wrapper",ATTRS:{boundaries:{value:{top:"inertial",right:"inertial",bottom:"inertial",left:"inertial"},validator:function(f){var e=!0;for(var s in f)if(f[s]!="none"&&f[s]!="hard"&&f[s]!="inertial"){e=!1;break}return e}},boundaryBreachCallback:{value:function(f){}},snapPoints:{value:{x:"100%",y:"none"},validator:function(f){var e=!!f.match(/%$/)&&!isNaN(parseFloat(f)),s=!!f.match(/none/);return e||s}}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener","squarespace-video-loader"]})},416376:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/scroll",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.scroll=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.containerWidth=this.container.get("parentNode").width(),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.slides.setStyles({opacity:1,visibility:"visible"}),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition()),this._event(new y.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition())},this)),y.config.win.Modernizr&&y.config.win.Modernizr.touch&&(this.touchListener=null,this.touchStartPoint=null,this.touchListener=new y.SQS.Gallery.TouchEventListener(this.container,{move:!0,swipe:!0,preventDefaultTouchEvents:!1,preventDefaultGestureEvents:!0}),y.on("squarespace:ontouch",function(f){this._onTouch(f)},this))},destructor:function(){this.container&&(this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this.container.setStyles({width:null,left:null})),this.touchListener&&this.touchListener.removeEventHandlers(),this._flushEvents()},transition:function(f){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition(this._getCurrentSlidePosition(),!0)},_getOffsetAttribute:function(){return this.get("direction")==="horizontal","offsetWidth"},_getContainerDim:function(){return this.get("host").get("host").get("container").get(this._getOffsetAttribute())},_getDirection:function(f,e){return f<e?1:-1},_getCurrentSlidePosition:function(){return-1*this.containerWidth*this.galleryHost.get("currentIndex")},_onTouch:function(f){var e=this.get("host").get("host").get("container"),s=f.targetEl;if(s.getAttribute("href")){this._handleAnchors(s),f.touchEvent.preventDefault();return}else{if(f.touchEvent.touches.length>1)return;if(e.contains(s)&&!s.ancestor(".image-detail-wrapper, .sqs-video-wrapper"))switch(f.action){case y.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:y.fire("transition:scroll:swipeup",{container:e});break;case y.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown:y.fire("transition:scroll:swipedown",{container:e});break;case y.SQS.Gallery.TouchEventListener.ActionTypes.tapped:y.fire("transition:scroll:tapped",f);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchStart:this.touchStartPoint=f.point;break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchMove:this._scrollByDistance(f.point);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd:this._finishScroll(f.point);break}}s.ancestor(".image-detail-wrapper, .sqs-video-wrapper")||this.get("allowPageScroll")||f.touchEvent.preventDefault()},_handleAnchors:y.throttle(function(f){f.getAttribute("target").match(/_blank/)?window.open(f.getAttribute("href")):window.location.href=f.getAttribute("href")}),_scrollByDistance:function(f){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.get("host").get("host"),s=e.get("slides"),n=e.get("
7currentIndex"),a=0;if(this.get("direction")=="vertical"?a=this.touchStartPoint.y-f.y:a=this.touchStartPoint.x-f.x,a>0&&n+1>=s.size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}else if(a<0&&n-1<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}this._adjustPosition(this._getCurrentSlidePosition()-a)}},_finishScroll:function(f){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.galleryHost,s=0,n=e.get("currentIndex");if(this.get("direction")==="vertical"?s=this.touchStartPoint.y-f.y:s=this.touchStartPoint.x-f.x,n=s>=0?n+1:n-1,n<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}else if(n>=e.get("slides").size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}this._adjustPosition(-1*this.containerWidth*n,!0,.4),e.set("inMotion",!1),e.set("currentIndex",n,{direction:s>0?1:-1})}},_adjustPosition:function(f,e,s){var n={},a=this.get("direction"),t=this.get("accelerate");t?n.transform=a==="vertical"?"translate3d(0,"+f+"px,0)":"translate3d("+f+"px,0,0)":n[a==="vertical"?"top":"left"]=f+"px",e?t?this.container.transition({duration:s||this.get("host").get("speed"),transform:n.transform,easing:s?y.Easing.easeInStrong:this.get("host").get("easing")}):(this.galleryHost.set("inMotion",!0),this._anim(this.container,n,{duration:s||this.get("host").get("speed"),easing:s?y.Easing.easeInStrong:this.get("host").get("easing")}).run().on("end",function(){this.galleryHost.set("inMotion",!1)},this)):this.container.setStyles(n)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-scrollHorz",ATTRS:{direction:{value:"horizontal"},accelerate:{valueFn:function(){return y.UA.mobile}},allowPageScroll:{value:!0}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener"]})},292458:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/swipe",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.swipe=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.container.get("parentNode").addClass(this._getProperty("WRAPPER_CLASS")),this.slides.setStyles({opacity:null,visibility:null}),this.bindUI(),this.syncUI(),this._event(new y.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.syncUI()},this))},bindUI:function(){var f,e,s=this.container.get("parentNode").width()/2.25;this.container.on("touchstart",function(n){e=!1,f=new Date().getTime()}),this.container.on("touchmove",function(n){e=!0}),this.container.on("touchend",function(n){var a=this.container.get("parentNode").get("scrollLeft"),t=this.galleryHost.get("currentIndex"),r=this._getSlidePosition(t),i=Math.abs(r-a),o=new Date().getTime()-f>250;if(o===!0)i>s&&(a>r?t++:t--);else if(o===!1&&e===!1){if(!n.target.get("tagName").match(/img/i))return;t++}else e===!0&&i>0&&(a>r?t++:t--);this._adjustPosition(t)},this)},syncUI:function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition()},transition:function(f){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition()},_getSlidePosition:function(f){return this.containerWidth*f},_adjustPosition:function(f){f=y.Lang.isUndefined(f)?this.galleryHost.get("currentIndex"):f;var e=this.container.get("parentNode").get("scrollLeft"),s=this._getSlidePosition(f);e!==s&&(this.galleryHost.set("inMotion",!0),new y.Anim({node:this.container.get("parentNode"),to:{scrollLeft:s},duration:.28,easing:y.Easing.easeOut}).run().on("end",function(){this.galleryHost.set("inMotion",!1),this.galleryHost.set("currentIndex",f)},this))},destructor:function(){this.container&&this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this._flushEvents()}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-swipe",WRAPPER_CLASS:"sqs-gallery-design-stacked-swipe-wrapper",ATTRS:{}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base"]})},884966:function(y,f,e){var s=e(533734).containFocus,n=e(782747),a=e(243977);function t(r,i){r.setAttribute("aria-current",i?"true":"false")}YUI.add("@sqs/yui-gallery/designs/strip",function(r){r.namespace("SQS.Gallery.Designs"),r.SQS.Gallery.Designs.strip=r.Base.create("GalleryDesignBase",r.Plugin.Base,[r.SQS.Gallery.GismoBase,r.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var i=this.get("host");i.get("container").addClass(this._getProperty("CONTAINER_CLASS")),i.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this._event(i.on("image-loaded",this._syncUIRefreshWrapperWidth,this)),this._event(i.on("refresh",this._syncUIRefreshWrapperWidth,this)),i.plugLoaders();var o=i.get("container").get("offsetHeight");i._slidesByType("video").each(this._initializeVideoSlide(o)),i.renderWrapper(),i.after("currentIndexChange",this.syncUI,this),this.syncUI(),this.bindUI()},destructor:function(){var i=this.get("host");if(!!i){var o=i.get("container");o&&o.removeClass(this._getProperty("CONTAINER_CLASS"));var d=i.get("slides");d&&d.removeClass(this._getProperty("SLIDE_CLASS"))}},_initializeVideoSlide:function(i){return function(o){var d=o.one(".sqs-video-wrapper");if(!!d){var u=d.videoloader,l=u.getWidth()/u.getHeight();d.setStyle("paddingRight",l*i),o.one("img")&&o.one("img").refresh()}}},syncUI:function(i){(!i||!i.calledFromParent)&&this.get("host").syncUI(),this._syncUIRefreshWrapperWidth(),this.loadItems()},_syncUIRefreshWrapperWidth:function(){var i=this.get("host"),o=i.get("container");
7if(o.hasClass("sqs.gallery-thumbnails")){var d=o.get("offsetHeight");o.all(".sqs-video-thumbnail").each(function(p){p.hasClass("no-image")&&p.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(d*(16/9))+"px"});var m=p.one("img");m&&(p.removeClass("loading"),p.setAttribute("style","width: "+m.get("offsetWidth")+"px !important"))})}var u=i._wrapperEl;u.setStyles({width:null});var l=0,c=0;i.get("slides").each(function(p,m){this.get("host").get("currentIndex")>m&&(c+=p.get("offsetWidth")),l+=p.get("offsetWidth")},this);var g=o.get("offsetWidth"),v=i._currentSlide();if(v){switch(this.get("alignment")){case"start":break;case"middle":c-=(g-v.get("offsetWidth"))/2,c<0&&(c=0);break;case"end":c-=g-v.get("offsetWidth"),c<0&&(c=0);break}l<g?c=(g-l)/-2:c>l-g&&(c=l-g)}u.setStyles({width:l*2});var h=this;this._anim(u,{left:-1*c},{duration:this.get("speed"),easing:this.get("easing"),start:function(){h.get("host").set("inMotion",!0)},end:function(){h.get("host").set("inMotion",!1),h._updateSlideTabbability()}}).run()},_updateSlideTabbability:function(){var i=this.get("host"),o=i.get("container");this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=s({predicate:function(d){return!a(d,o)},root:o._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},bindUI:function(){var i=this.get("host"),o=i.get("slides"),d=i._currentSlide();o.each(function(l,c){var g=i._slideType(l);g==="video"&&l!==d&&l.one(".sqs-video-wrapper").videoloader.set("inactive",!0),t(l,l===d),this._event(l.on("click",this._onClickSlide(l,c),this)),this._event(l.on("keydown",function(h){(h.keyCode===13||h.keyCode===32)&&this._onClickSlide(l,c).bind(this)(h)},this))},this),i.on("currentIndexChange",this._toggleVideoOnSlideChange,this),i.on("designOptionsChange",this._handleDesignOptionsChanged,this);var u=i.get("slides").item(this.get("currentIndex")||0);u&&u.addClass(this._getProperty("SLIDE_CLASS"))},_handleDesignOptionsChanged:function(i){if(!!i&&i.subAttrName&&i.subAttrName==="designOptions.alignment"){var o=n(i.newVal.alignment);this.set("alignment",o)}},_onClickSlide:function(i,o){return function(d){var u=this.get("host"),l=u._slideType(i);if(l==="video"){var c=i.one(".sqs-video-wrapper"),g=c?c.videoloader:null,v=g?g.get("inactive"):!0;if(!v)return}var h=d.target.getAttribute("data-click-through-url");if(h){d.preventDefault(),window.location.href=h;return}if(o===u.get("currentIndex"))switch(this.get("activeSlideClickBehavior")){case"next":u.nextSlide();break;case"previous":u.previousSlide();break;default:u.set("currentIndex",o);break}else{var p=u.get("slides");p.each(function(S,E){t(S,E===o)}),u.set("currentIndex",o)}var m=u._currentSlide(),P=u._slideType(m),_=u._currentSlide(),b=u._slideType(_);m!==_&&(P==="video"&&m.one(".sqs-video-wrapper").videoloader.set("inactive",!0),b==="video"&&(_.one(".sqs-video-wrapper").videoloader.set("inactive",!1),_===i&&_.one(".sqs-video-wrapper").videoloader.showVideo()))}},_toggleVideoOnSlideChange:function(i){var o=this.get("host"),d=o.get("slides"),u=d.item(i.prevVal),l=i.newVal<0?d.size()-1:i.newVal,c=d.item(l);o._slideType(u)==="video"&&u.one(".sqs-video-wrapper").videoloader.set("inactive",!0),o._slideType(c)==="video"&&c.one(".sqs-video-wrapper").videoloader.set("inactive",!1)},_getProperty:function(i){return this.constructor[i]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-strip",SLIDE_CLASS:"sqs-gallery-design-strip-slide",ATTRS:{speed:{value:.5},easing:{value:r.Easing.easeOutStrong},activeSlideClickBehavior:{value:"next"},preloadCount:{value:1},alignment:{value:"middle",validator:function(i){return["start","middle","end"].indexOf(i)!==-1}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/gismo"]})},773618:function(y,f,e){var s=e(817054),n=e(782747),a=5;YUI.add("@sqs/yui-gallery/manager",function(t){t.namespace("SQS.Gallery"),t.SQS.Gallery.Manager=function(){var r={ready:function(){this._galleries=[],this._imageQueue=new t.AsyncQueue,this._queueThrottleMax=this.isMobile()?1:16,this._queueThrottle=this._queueThrottleMax},getGalleries:function(){return this._galleries},makeGallery:function(i){var o=new t.SQS.Gallery.Gallery2(i);return this._galleries.push(o),o},destroyGallery:function(i){this._galleries=t.Array.filter(this._galleries,function(o){return o!==i}),this._galleries.length===0&&(this._queueThrottle=this._queueThrottleMax)},updateGallery:function(i){var o=i.get("contentBox"),d=o.one(".sqs-gallery");if(!!d){var u=d.getData("gallery");if(!!u){var l=i.get("model"),c=i.get("modelWhiteList"),g=l.getAttrs(c),v=this.dataToAttrs(g);switch(u.setAttrs(v),l.get("design")){case"grid":this.updateGridStyles(o,v,l._getDefaultContent);break;case"slideshow":this.updateSlideshowThumbnails(o,v);break}u.refresh()}}},_getDataFromNode:function(i){if(i.hasAttribute("data-block-json"))try{return JSON.parse(i.getAttribute("data-block-json"))}catch(o){return console.error("Error decoding gallery block data."),null}return s(i,"block")||null},getDesign:function(i){switch(i.design){case"stacked":return"base";case"slider":return"strip";case"slideshow":return"stacked";case"grid":return"grid";case"autogrid":return"autogrid";case"autocolumns":return"autocolumns";case"carousel":return"carousel";case"list":return"list";default:return"base"}},getAspectRatio:function(i,o){return o==="autocolumns"||i.imageAspectRatio==="Auto"?!1:i.imageAspectRatio},getLoaderOptions:function(i,o,d){switch(o){case"grid":return{mode:i["square-thumbs"]?"fill":"fit"};case"autogrid":case"autocolumns":case"carousel":case"list":return{mode:d.aspectRatio?"fill":""};case"stacked":return{mode:i["auto-crop"]?"fill":"fit"}}return{}},initializeGallery:function(i,o,d,u){var l={};l.autoHeight=["grid","stacked"].indexOf(d)!==-1,["autogrid","autocolumns","carousel","list"].indexOf(d)!==-1&&(l.aspectRatio=this.getAspectRatio(o,d),l.slidesPerRow=o.slidesPerRow,l.lightbox=o.lightbox,l.mixedContent=o.mixedContent),(d==="autogrid"||d==="autocolumns")&&(l.columnWidth=o.columnWidth,l.gutter=o.gutter),d==="list"&&(l.imageWidth=o.listImageSize),d==="strip"&&!t.Lang.isValue(o.aspectRatio)&&!t.Lang.isValue(o.vSize)&&(o.vSize=10,i.addClass("vsize-10")),(d==="carousel"||d==="strip")&&(l.alignment=n(o["active-alignment"])),d==="grid"&&(l.lightbox=o.lightbox,l.lightboxTheme=o.lightboxTheme==="light"?"light":"dark",l.perRow=parseInt(o["thumbnails-per-row"],10)),u.setData("galleryOptions",o);var c=this.makeGallery({containerWrapper:u,container:u.one(".sqs-gallery"),elements:{previous:u.one(".sqs-gallery-controls .previous"),next:u.one(".sqs-gallery-controls .next"),imageContainers:u.all(".sqs-gallery-image-container"),metaContainers:u.all(".sqs-gallery-meta-container")},design:d,designOptions:l,loaderOptions:this.getLoaderOptions(o,d,l),keyboard:!o.autoplay,lazyLoad:!0,autoplay:o.autoplay,loop:!0,refreshOnResize:!0,refreshOnOrientationChange:!0});return o["autoplay-duration"]&&c.set("autoplayOptions.timeout",this.secondsToMs(o["autoplay-duration"])),c},dataToAttrs:function(i){var o=t.clone(i);return o["autoplay-duration"]&&(o.autoplayOptions=o.autoplayOptions||{},o.autoplayOptions.timeout=this.secondsToMs(o["autoplay-duration"]),delete o["autoplay-duration"]),o["active-alignment"]&&(o["designOptions.alignment"]=o["active-alignment"],delete o["active-alignment"]),o},secondsToMs:function(i){return parseInt(i*1e3,10)}
7,styleThumbnails:function(i,o,d){var u=16/9;i.all(".sqs-video-thumbnail").each(function(c){c.hasClass("no-image")&&c.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(o*u)+"px"});var g=c.one("img");g&&g.once("load",function(){c.removeClass("loading"),c.setAttribute("style","width: "+g.get("offsetWidth")+"px !important")})});var l=Math.min(a,d);i.setStyles({height:o,marginTop:-l+d,marginBottom:-l,paddingTop:l,paddingBottom:l})},initializeBlock:function(i){var o=this._getDataFromNode(i);if(!o){console.error("Error evaluating gallery block data.");return}var d=i.one(".sqs-gallery-container");if(!!d){var u=this.getDesign(o);["grid","stacked"].indexOf(u)!==-1&&i.removeClass("vsize-"+o.vSize);var l=!t.UA.ios&&["strip","stacked"].indexOf(u)!==-1;if(l){var c=d.one(".sqs-gallery-controls");c&&c.addClass("show-hover-effect")}var g=this.getGalleryByContainer(d);g?g.refresh():g=this.initializeGallery(i,o,u,d),u==="stacked"&&o.thumbnails===!0&&this.initializeThumbnails(i,o,g)}},getGalleryByContainer:function(i){return i.one(".sqs-gallery").getData("gallery")||null},initializeThumbnails:function(i,o,d){var u=i.one(".sqs-gallery-container"),l=i.one(".sqs-gallery-thumbnails");if(!!l){var c=o["thumbnail-strip-height"],g=o["thumbnail-strip-margin"];if(this.styleThumbnails(l,c,g),l.getData("gallery")){l.getData("gallery").refresh();return}var v=Math.ceil(d.get("container").get("offsetWidth")/c),h=this.makeGallery({containerWrapper:u,container:l,elements:{},loop:!0,design:"strip",designOptions:{activeSlideClickBehavior:!1,preloadCount:v},lazyLoad:!0,loaderOptions:{canvas:!1},refreshOnResize:!0,refreshOnOrientationChange:!0,keyboard:!1});d.addChild(h)}},updateSlideshowThumbnails:function(i,o){var d=i.one(".sqs-gallery-thumbnails");if(!!d){var u={};t.Lang.isNumber(o["thumbnail-strip-height"])&&(u.height=o["thumbnail-strip-height"]),t.Lang.isNumber(o["thumbnail-strip-margin"])&&(u.marginTop=o["thumbnail-strip-margin"]),d.setStyles(u);var l=d.getData("gallery");l["gallery-design"].syncUI()}},updateGridStyles:function(i,o){var d=i.one(".sqs-gallery-container");if(!t.Lang.isNull(d)){var u=d.get("className").split(" "),l=t.Array.find(u,function(b){return b.startsWith("sqs-gallery-thumbnails-per-row-")}),c={padding:20,thumbsPerRow:4},g=t.Lang.isValue(o.padding)?o.padding:c.padding,v=t.Lang.isValue(o["thumbnails-per-row"])?o["thumbnails-per-row"]:c.thumbsPerRow,h=".sqs-block-content#"+i.get("id"),p=i.one("#design-grid-css"),m=h+" .sqs-gallery-design-grid",P=m+" .sqs-gallery-design-grid-slide .margin-wrapper",_=m+" { margin-right: -"+g+"px; }"+P+" { margin-right: "+g+"px;  margin-bottom: "+g+"px; }";d.removeClass(l),d.addClass("sqs-gallery-thumbnails-per-row-"+v),p&&p.setContent(_)}},refreshAll:function(){t.Array.each(this.getGalleries(),function(i){i.refresh()})},runImageQueue:function(){this._queueThrottle>0?this._imageQueue.run():this._imageQueue.pause()},addImageQueue:function(i){i.each(function(o){this._imageQueue.add({fn:function(){o&&o._node&&(o.plug(this.getLoader(),{load:!0}),o.fire("refresh"),o.get("complete")||(this._queueThrottle--,o.once(["load","error"],function(d){this._queueThrottle++,this.runImageQueue()},this))),this.runImageQueue()},context:this,id:o.getAttribute("data-src")})},this)},promoteImageQueue:function(i){for(var o=i.size()-1;o>=0;o--)this._imageQueue.promote(i.item(o).getAttribute("data-src"));this.runImageQueue()},removeImageQueue:function(i){i.each(function(o){this._imageQueue.remove(o.getAttribute("data-src"))},this)},isMobile:function(){return!t.Lang.isUndefined(window.orientation)||navigator.userAgent.toLowerCase().indexOf("mobile")!==-1},getLoader:function(){return t.Squarespace&&t.Squarespace.Loader2?t.Squarespace.Loader2:t.SQS.LEMobile&&t.SQS.LEMobile.Copies&&t.SQS.LEMobile.Copies.Loader2?t.SQS.LEMobile.Copies.Loader2:null},lightboxify:function(){console.warn("lightboxify is not available in this tier!")}};return r.ready(),r}()},"1.0",{requires:["async-queue","base","dom-style-ie","event-key","event-mouseenter","history","node","yui-throttle","@sqs/yui-gallery","@sqs/yui-gallery/designs"]})},738171:function(y,f,e){var s=e(633629),n=!1;YUI.add("@sqs/yui-gallery",function(a){a.namespace("SQS.Gallery"),a.SQS.Gallery.Gallery2=a.Base.create("Gallery",a.Widget,[a.SQS.Gallery.GismoBase],{initializer:function(){var t=this.get("container");t.setData("gallery",this),this._images=t.all("img[data-src]"),this._imagesByMedia={},this._slidesByMedia={},t.plug(a.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this.get("slides").each(this._initializeSlideWrapper,this),this.bindUI(),this.get("inMotion")||this._setupHistory(),this.plug(this.get("design"),this.get("designOptions"))},_initializeSlideWrapper:function(t){if(!t.getAttribute("data-type")){var r=t.one(".sqs-video-wrapper");t.setAttribute("data-type",r?"video":"image")}},getProperty:function(t){for(var r=this.constructor,i=this.constructor[t];a.Lang.isUndefined(i)&&r.superclass;){r=r.superclass.constructor;if(a.Lang.isUndefined(r))break;i=r[t]}return i},destructor:function(){this._clearAutoplay(),this._wrapperEl&&(this.get("slides").each(function(r){this.get("container").append(r)},this),this._wrapperEl.remove(),this._wrapperEl=null);var t=this.getImages();this.get("lazyLoad")&&a.Lang.isArray(t)&&t.length>0&&a.SQS.Gallery.Manager.removeImageQueue(),this.get("container").clearData("gallery"),a.SQS.Gallery.Manager.destroyGallery(this)},_shouldRespectKeypress:function(){if(this.get("inMotion")||document.activeElement.hasAttribute("contenteditable"))return!1;var t=a.one(a.config.win);return!!this.get("container").inRegion(t.get("region"))},isEditingKeypress:function(t){return t.target.ancestor("textarea,input,[contenteditable]",!0)},_onKeyPrev:function(t){this.isEditingKeypress(t)||this._shouldRespectKeypress()&&(t.preventDefault(),this.previousSlide())},_onKeyNext:function(t){this.isEditingKeypress(t)||this._shouldRespectKeypress()&&(t.preventDefault(),this.nextSlide())},bindKeyboard:function(){if(!!this.get("keyboard")){var t=this.get("keys.previous");t&&this._event(a.on("key",this._onKeyPrev,a.config.win,t,this),"ke
7yboard");var r=this.get("keys.next");r&&this._event(a.on("key",this._onKeyNext,a.config.win,r,this),"keyboard")}},bindUI:function(){var t=a.one(a.config.win);this._flushEvents("refreshOnOrientationChange"),this.get("refreshOnOrientationChange")&&this._event(t.on("orientationchange",this.refresh,this),"refreshOnOrientationChange"),this.bindKeyboard(),this.after("autoplayChange",this._initializeAutoplay,this),this.after("autoplayOptionsChange",this._initializeAutoplay,this),this._initializeAutoplay(),this._bindUIElements(),this.after("elementsChange",this._bindUIElements,this),this.get("resizeEmitter")||this.set("resizeEmitter",new a.SQS.Gallery.ResizeEmitter({timeout:100})),this._flushEvents("refreshOnResize"),this.get("refreshOnResize")&&this._event(this.get("resizeEmitter").on("resize:end",this.refresh,this),"refreshOnResize"),this.fire("bindUI")},setActiveSlide:function(){var t=this.getProperty("ACTIVE_CLASS");this.getSlides().filter("."+t).removeClass(t);var r=this._currentSlide();n&&console.log("[yui-gallery/gallery] activating slide",{currentSlide:r}),r&&r.addClass(t)},togglePaginationControls:function(){if(!this.get("loop")){var t=this.get("currentIndex"),r=this.get("numberOfSlides"),i=t>=r-1,o=t<=0,d=this.getProperty("DISABLED_PAGINATION_CLASS"),u=this.get("elements.next");u&&u.toggleClass(d,i);var l=this.get("elements.previous");l&&l.toggleClass(d,o)}},syncUI:function(){n&&console.log("[yui-gallery/gallery] syncUI"),this.togglePaginationControls(),this.setActiveSlide();var t=this.get("elements.currentIndex");t&&t.setContent(this.get("currentIndex")+1);var r=this.get("numberOfSlides"),i=this.get("elements.totalSlides");i&&i.setContent(r),this.fire("syncUI")},refresh:function(t){n&&console.groupCollapsed("[yui-gallery/gallery] refresh"),this.syncUI();var r=this.getImages();this._refreshImages(r);var i=t&&t.type&&t.type.startsWith("resize");i||this._refreshVideos(),a.SQS.Gallery.Manager.promoteImageQueue(r),this.fire("refresh"),n&&console.groupEnd()},_refreshImages:function(t){if(this.get("lazyLoad")){t.each(function(r){r.loader&&r.get("complete")&&r.fire("refresh")},this);return}t.each(function(r){r.fire("refresh")},this)},_refreshVideos:function(){this.getSlides("video").each(function(t){var r=t.one(".sqs-video-wrapper");r.videoloader&&r.videoloader.get("showingVideo")===!1&&r.videoloader.reload()})},refreshContentMode:function(t){this.getImages("image").each(function(r){r.loader.set("mode",t)}),this.getSlides("video").each(function(r){r.one(".sqs-video-wrapper").videoloader.set("mode",t)})},loadImages:function(t){this.get("lazyLoad")?a.SQS.Gallery.Manager.promoteImageQueue(t):t.each(function(r){r.loader.set("load",!0),r.fire("refresh")})},previousSlide:function(t){t&&(t.preventDefault(),t.stopPropagation());var r=this.get("numberOfSlides");if(!(!a.Lang.isNumber(r)||!r)){var i=this.get("currentIndex");if(i<=0){if(!this.get("loop")){this.fire("reachedBeginning");return}this.set("currentIndex",r-1,{direction:1});return}this.set("currentIndex",i-1,{direction:-1})}},nextSlide:function(t){t&&(t.preventDefault(),t.stopPropagation());var r=this.get("numberOfSlides");if(!(!a.Lang.isNumber(r)||!r)){var i=this.get("currentIndex")+1;if(i>=r){if(!this.get("loop")){this.fire("reachedEnd");return}this.set("currentIndex",0,{direction:-1});return}this.set("currentIndex",i,{direction:1})}},renderWrapper:function(){if(!this._wrapperEl){var t=this.get("slides"),r=a.Node.create('<div class="sqs-wrapper"></div>');t.each(function(i){r.append(i)},this),this.get("container").append(r),this._wrapperEl=r}},addChild:function(t){var r=this.get("linkedGalleries"),i=a.bind(function(o){if(!o.calledFromSync)for(var d=0;d<r.length;d++)o.calledFromChild!==r[d]&&r[d].set("currentIndex",this.get("currentIndex"),{calledFromSync:!0})},this);this._linkedGalleryBinding||(this._linkedGalleryBinding=this.after("currentIndexChange",function(o){i(o)},this)),this.get("keyboard")&&t.set("keyboard",!1),t.after("currentIndexChange",function(o){o.calledFromSync||this.set("currentIndex",o.newVal,{calledFromChild:t})},this),r.push(t),t.get("linkedGalleries").push(this),t.syncUI()},setVideoState:function(t){if(!!t&&this._slideType(t)==="video"){var r=t.one(".sqs-video-wrapper").videoloader;
7!r||(r.get("overlay")?r.showOverlay():r.get("apiFriendly")?r.pause():["object","iframe"].indexOf(r.get("type"))!==-1&&r.refreshVideo())}},getSlides:function(t){return t?this._slidesByType(t):this.get("slides")},getImages:function(t){return t?this._imagesByType(t):this._images},_isMotionDisabled:function(){var t=a.config.win.location.search;t.charAt(0)==="?"&&(t=t.substring(1));var r=s.parse(t);return r.nomotion==="true"},_clearAutoplay:function(){this._autoplayHandle&&(this._autoplayHandle.cancel(),this._autoplayHandle=null),this._flushEvents("autoplay")},_initializeAutoplay:function(){this._clearAutoplay();var t=this._isMotionDisabled()?!1:this.get("autoplay");t&&(this._autoplayMouseover=!1,this._autoplayRandom=this.get("autoplayOptions.interval"),this._startAutoplay())},_autoplayAdvance:function(){if(!(this._autoplayMouseover||!a.Env)){var t=this.get("numberOfSlides");if(!(!a.Lang.isNumber(t)||!t)){if(this._autoplayRandom){for(var r=Math.ceil(Math.random()*t);r===this.get("currentIndex");)this.set("currentIndex",r);return}this.nextSlide()}}},_startAutoplay:function(){this._autoplayHandle=a.later(this.get("autoplayOptions.timeout"),this,this._autoplayAdvance,null,!0);var t=[this.get("container"),this.get("elements.previous"),this.get("elements.next")];if(this.get("autoplayOptions.pauseOnMouseover"))for(var r=this.get("autoplayOptions.pauseOnMouseover"),i=0;i<r.length;i++)t.push(a.one(r[i]));if(!a.SQS.Gallery.Manager.isMobile())for(var o=0;o<t.length;o++){var d=t[o];a.Lang.isString(d)&&(d=this.get(d)),d&&(this._event(d.on(["mouseenter","mousemove"],function(){this._autoplayMouseover=!0}),"autoplay"),this._event(d.on("mouseout",function(){this._autoplayMouseover=!1}),"autoplay"))}},cleanAndRebindElements:function(t){for(var r=0;r<t.length;r++){var i=t[r],o="controls-"+i;this._flushEvents(o);var d="elements."+i,u=this.get(d);!u||u.each(function(l){n&&console.log("[yui-gallery/gallery] binding",i,l);var c=i+"Slide";this._event(l.on("click",this[c],this),o),this._event(l.on("keydown",function(v){(v.keyCode===13||v.keyCode===32)&&this[c](v)},this),o)},this)}},_bindUIElements:function(){this.cleanAndRebindElements(["previous","next"]);var t=[],r=this.getProperty("ACTIVE_CLASS");this._flushEvents("controls-controls"),this.get("elements.controls")&&(this.get("elements.controls").each(function(i){var o=i.get("children");t.push(o),o.each(function(u,l){this._event(u.on("click",function(){this.set("currentIndex",l)},this),"controls-controls")},this);var d=o.item(this.get("currentIndex"));d&&d.addClass(r)},this),this.getSlides().size()<=1&&this.get("elements.controls").addClass("sqs-gallery-controls-disabled")),this._flushEvents("index-change"),this._event(this.after("currentIndexChange",function(i){t.forEach(function(u){u.filter("."+r).removeClass(r);var l=u.item(i.newVal);l&&l.addClass(r)});var o=this.get("slides");if(o.size()){var d=o.item(i.prevVal);this.setVideoState(d)}a.Lang.isValue(this.initialAutoplay)&&this.set("autoplay",this.initialAutoplay)}),"index-change")},_onCurrentIndexChange:function(t){var r=null,i="",o=this.get("slides");o.size()&&(r=o.item(t.newVal)),r&&(i=r.getAttribute("data-slide-id"),a.config.win.Modernizr&&a.config.win.Modernizr.history&&(i=r.getAttribute("data-slide-url")||i));var d="",u=this.get("container");u&&(d=u.getAttribute("data-collection-full-url")),d||(d=a.config.win.Static.SQUARESPACE_CONTEXT.collection.fullUrl),d.length>1&&!d.endsWith("/")&&(d=d+"/"),this._history.replaceValue("itemId",i,{url:d+i})},_setupHistory:function(){if(!a.config.win.Static.IN_BACKEND&&!!this.get("historyHash")){this._history=new a.History,this.on("currentIndexChange",this._onCurrentIndexChange,this);var t=this.get("slides");if(!!t){var r=new a.HistoryHash,i=r.get("itemId")||r._initialState.itemId;!i||(this._history.replaceValue("itemId",null),t.some(function(o,d){if(o.getAttribute("data-slide-id")===i||o.getAttribute("data-slide-url")===i)return this.set("currentIndex",d),!0},this))}}},_currentSlide:function(){return this.getCurrentSlide()},getCurrentSlide:function(){var t=this.get("currentIndex");if(!a.Lang.isNumber(t))return null;var r=this.get("slides");return r?r.item(t):null},_slidesByType:function(t){var r=this.get("slides");return r?(this._slidesByMedia[t]||(this._slidesByMedia[t]=r.filter('[data-type="'+t+'"]')),this._slidesByMedia[t]):new a.NodeList},_imagesByType:function(t){return this._imagesByMedia[t]||(this._imagesByMedia[t]=new a.NodeList,this._slidesByType(t).each(function(r){var i=r.test("img")?r:r.one("img[data-src]");i&&this._imagesByMedia[t].push(i)},this)),this._imagesByMedia[t]},_slideType:function(t){if(!t)return"";var r=t.getAttribute("data-type");return r==="image"?"image":r==="video"?"video":"image"},_getContainer:function(t){return a.Lang.isString(t)&&(t=a.one(t)),t},_getDesign:function(t){var r=a.SQS.Gallery.Designs[t];if(!r&&a.Squarespace&&a.Squarespace.GalleryDesigns2&&(r=a.Squarespace.GalleryDesigns2[t]),!r)throw new Error("These are not the gallery designs y
7ou are looking for. (We could not find a design by the name "+t+")");return r},_getElements:function(t){for(var r in t)t[r]instanceof a.NodeList||(t[r]=a.all(t[r]));return t},_setElements:function(t,r){this._bindUIElements()},_setLoaderOptions:function(t){return t.hasOwnProperty("fit")&&t.fit?t.mode="fit":t.hasOwnProperty("fill")&&t.fill&&(t.mode="fill"),t},_getNumberOfSlides:function(){var t=this.get("slides");return t?t.size():0},_getSlides:function(r){var i=this._wrapperEl||this.get("container");if(!i||!i.getDOMNode())return new a.NodeList;var o;r?a.Lang.isString(r)?o=i.all(r):o=r:o=i.get("children");var d=o.filter(function(l){return l.tagName!=="NOSCRIPT"});return d},_getWrapper:function(t){return a.Lang.isString(t)&&(t=a.one(t)),t},_sanitizeCurrentIndex:function(t){if(!a.Lang.isNumber(t)||!t)return 0;var r=this.get("numberOfSlides");return!a.Lang.isNumber(r)||r<1?0:t<0?(r+t)%r:t%r},_validateCurrentIndex:function(t){if(this.get("inMotion"))return!1;for(var r=0;r<this.get("linkedGalleries").length;r++){var i=this.get("linkedGalleries")[r];if(i.get("inMotion")&&t!==i.get("currentIndex"))return!1}return!0},plugLoaders:function(){var t={};this.get("lazyLoad")&&(t.load="viewport",a.SQS.Gallery.Manager.addImageQueue(this.getImages())),this.get("useBgImage")&&(t.useBgImage=!0),t=a.merge(t,this.get("loaderOptions"));var r=this.getVideoLoader();r?this.getSlides("video").each(function(o){var d=o.one(".sqs-video-wrapper");
7d.plug(r,a.merge(this.get("videoLoaderOptions"),{mode:this.get("loaderOptions.mode")})),d.videoloader.after("showingVideoChange",function(u){a.Lang.isValue(this.initialAutoplay)||(this.initialAutoplay=this.get("autoplay")),this.set("autoplay",u.newVal?!1:this.initialAutoplay)},this)},this):console.error("VideoLoader not found");var i=this.getImageLoader();i?this.getImages().each(function(o){o.plug(i,t),this._event(o.once("load",function(){this._safari5HeightFix(o),this.fire("image-loaded")},this))},this):console.error("Loader2 not found")},getImageLoader:function(){return a.Squarespace&&a.Squarespace.Loader2?a.Squarespace.Loader2:a.SQS.LEMobile&&a.SQS.LEMobile.Copies&&a.SQS.LEMobile.Copies.Loader2?a.SQS.LEMobile.Copies.Loader2:null},getVideoLoader:function(){return a.Squarespace&&a.Squarespace.VideoLoader?a.Squarespace.VideoLoader:a.SQS.LEMobile&&a.SQS.LEMobile.Copies&&a.SQS.LEMobile.Copies.VideoLoader?a.SQS.LEMobile.Copies.VideoLoader:null},_safari5HeightFix:function(t){if(this.get("design")===a.SQS.Gallery.Designs.strip&&a.UA.webkit>0&&a.UA.webkit<536){var r=this._wrapperEl.getComputedStyle("height");t.setStyle("height",r+" !important")}}},{NS:"gallery",ACTIVE_CLASS:"sqs-active-slide",DISABLED_PAGINATION_CLASS:"sqs-disabled",ATTRS:{autoplay:{value:!1},autoplayOptions:{value:{randomize:!0,timeout:5e3,pauseOnMouseover:[]}},container:{getter:"_getContainer"},containerWrapper:{value:null},currentIndex:{value:0,setter:"_sanitizeCurrentIndex",validator:"_validateCurrentIndex"},design:{value:"base",getter:"_getDesign"},designOptions:{value:{}},elements:{value:{next:null,previous:null,currentIndex:null,totalSlides:null,controls:null},getter:"_getElements",setter:"_setElements",lazyAdd:!1},historyHash:{value:!1},inMotion:{value:!1},keyboard:{value:!0},keys:{value:{previous:"down:37",next:"down:39"}},lazyLoad:{value:!1},linkedGalleries:{value:[]},loaderOptions:{value:{},setter:"_setLoaderOptions"},loop:{value:!1},numberOfSlides:{getter:"_getNumberOfSlides"},refreshOnResize:{value:!1},refreshOnOrientationChange:{value:!1},resizeEmitter:{value:null},slides:{getter:"_getSlides"},useBgImage:{value:!1},videoLoaderOptions:{value:{}}}})},"1.0",{requires:["base","event-key","event-mouseenter","history","node","plugin","widget","@sqs/yui-gallery/designs","@sqs/yui-gallery/node-destroy-notifier","@sqs/yui-gallery/gismo"]})},473095:function(y){y.exports=function(f,e,s,n){return f/=n/2,f<1?s/2*f*f*f+e:(f-=2,s/2*(f*f*f+2)+e)}},817054:function(y){y.exports=function(f,e){for(;f;){var s=f.getData(e);if(s)return s;f=f.ancestor()}}},591198:function(y,f,e){var s=e(473095);YUI.add("@sqs/yui-gallery/gismo",function(n){n.namespace("SQS.Gallery");var a=n.Base.create("SQSAnim",n.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):n.Anim.prototype.run.call(this)}});n.SQS.Gallery.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},n.SQS.Gallery.GismoBase.prototype={destructor:function(){n.Object.each(this._gismoEvents,function(t,r){n.Array.invoke(t,"detach"),this._gismoEvents[r]=null},this),n.Object.each(this._timers,function(t,r){n.Array.invoke(t,"cancel"),this._timers[r]=null},this),this._anims.shift?this._anims.forEach(function(t){t.get("running")&&t.stop(!0),t.destroy()}):this._anims.destructor&&this._anims.destructor(),this._anims=[]},_anim:function(t,r,i){return i=n.merge({node:t,duration:.5,easing:s,to:r},i),t.activeAnim&&t.activeAnim.stop(!0),t.activeAnim=new a(i),t.activeAnim.on("end",function(){delete t.activeAnim},t),i.end&&t.activeAnim.on("end",i.end),i.start&&t.activeAnim.on("start",i.start),t.nodedestroynotifier||t.plug(n.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){t.activeAnim&&t.activeAnim.stop(!0)},context:t}),this._anims.push(t.activeAnim),t.activeAnim},_event:function(t,r){r=r||"generic",this._gismoEvents[r]=this._gismoEvents[r]||[],this._gismoEvents[r].push(t)},_getEvents:function(t){return this._gismoEvents[t||"generic"]},_flushEvents:function(t){var r=this._gismoEvents[t||"generic"];r&&(n.Array.invoke(r,"detach"),this._gismoEvents[t]=null)},_timer:function(t,r){r=r||"generic",this._timers[r]=this._timers[r]||[],this._timers[r].push(t)}}}
7,"1.0",{requires:["array-invoke","@sqs/yui-gallery/node-destroy-notifier","anim"]})},243977:function(y){y.exports=function(e,s){var n=Y.Node.getDOMNode(e).getBoundingClientRect(),a=Y.Node.getDOMNode(s).getBoundingClientRect();return n.x+n.width<=a.x||n.x>=a.x+a.width}},145191:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-current-index",function(y){y.namespace("SQS.Gallery.GalleryLoadingBehavior"),y.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex=y.Base.create("GalleryLoadingBehavior",y.Base,[],{loadItems:function(){var f=this.get("host"),e=f.getImages();if(f.get("lazyLoad")){var s=f.get("currentIndex")-this.get("preloadCount"),n=f.get("currentIndex")+this.get("preloadCount"),a=new y.NodeList;f.get("loop")?n=n%f.get("slides").size():(s=Math.max(0,s),n=Math.min(f.get("slides").size()-1,n)),s>=0&&s<=n?a=e.slice(s,n+1):(a=a.concat(e.slice(s)),a=a.concat(e.slice(0,n+1))),f.loadImages(a)}else f.loadImages(e)}})},"1.0",{requires:["base","node"]})},156049:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-viewport",function(y){y.namespace("SQS.Gallery.GalleryLoadingBehavior"),y.SQS.Gallery.GalleryLoadingBehavior.ByViewport=y.Base.create("GalleryLoadingBehavior",y.Base,[],{scrollHandler:null,scrollEl:null,scrollRegion:null,imageRegions:null,initializer:function(){this.get("host").get("lazyLoad")&&(this.scrollHandler=this._getScrollEl().on("scroll",this.loadItems,this))},destructor:function(){this.scrollHandler&&this.scrollHandler.detach(),this.scrollHandler=null,this.scrollEl=null,this.imageRegions=null,this.scrollRegion=null},_getScrollEl:function(){return this.scrollEl||(this.scrollEl=this.get("host").get("container").ancestor(function(f){return f.getStyle("overflowY").match(/scroll|auto/)&&f.get("scrollHeight")>f.get("clientHeight")}),(!this.scrollEl||this.scrollEl.test("html,body"))&&(this.scrollEl=y.one(y.config.win))),this.scrollEl},loadItems:function(){var f=this.get("host"),e=f.getImages();f.get("lazyLoad")?(this.imageRegions=[],this.scrollRegion=this._getScrollEl().get("region"),e.each(function(s){this.imageRegions.push(s.get("region"))},this),this._viewportLoad()):f.loadImages(e)},_viewportLoad:function(){var f=0,e=this._getScrollEl();e&&(f=e.get("scrollTop"));var s=f+this.scrollRegion.height,n=new y.NodeList;this.get("host").getImages().each(function(a,t){var r=this.imageRegions[t];(r.top>=f&&r.top<=s||r.bottom>=f&&r.bottom<=s)&&n.push(a)},this),this.get("host").loadImages(n)}})},"1.0",{requires:["base","node"]})},989096:function(){YUI.add("@sqs/yui-gallery/node-destroy-notifier",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.NodeDestroyNotifier=y.Base.create("NodeDestroyNotifier",y.Plugin.Base,[],{destructor:function(){this.get("onDestroy")&&this.get("onDestroy").call(this.get("context")||this)}},{NS:"nodedestroynotifier",ATTRS:{onDestroy:{},context:{}}})},"1.0",{requires:["base","event","node"]})},782747:function(y){y.exports=function(f){switch(f){case"left":return"start";case"center":return"middle";case"right":return"end";default:return"middle"}}},336412:function(){YUI.add("@sqs/yui-gallery/rendering",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.Rendering={getWidthForHeight:function(f,e,s){return f/e*s},getHeightForWidth:function(f,e,s){return e/f*s},getDimensionsFromNode:function(f){var e=f.getAttribute("data-image-dimensions");if(e){if(y.Lang.isString(e))return e=e.split("x"),{width:parseInt(e[0],10),height:parseInt(e[1],10)}}else return{width:null,height:null}}}},"1.0",{requires:["node"]})},894743:function(){YUI.add("@sqs/yui-gallery/resize-emitter",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.ResizeEmitter=y.Base.create("ResizeEmitter",y.Base,[],{initializer:function(){this.resizeEvent=y.on("resize",this._handleResize,y.config.win,this),this.after("resizingChange",this._afterResizingChange),this._requiresSizeCalculating()&&(this.on("resize:end",this._resetSize),this._resetSize())},destructor:function(){this.timer&&(this.timer.cancel(),this.timer=null),this.resizeEvent.detach(),this.resizeEvent=null},_resetSize:function(){this.setAttrs({width:y.config.win.innerWidth,height:y.config.win.innerHeight})},_afterResizingChange:function(f){var e=f.newVal?"resize:start":"resize:end";this.fire(e)},_getWindowDiff:function(f){var e=y.config.win["inner"+f.capitalize()],s=this.get(f);return Math.abs(e-s)},_requiresSizeCalculating:function(){return this.get("threshold")>0||y.Lang.isValue(this.get("axis"))}
7,_canEmitResizeEvent:function(){var f,e,s=this.get("axis"),n=this.get("threshold");return y.Lang.isValue(s)?(e=s===this.constructor.AXES.X?"width":"height",f=this._getWindowDiff(e)>n):f=this._getWindowDiff("width")>n||this._getWindowDiff("height")>n,f},_handleResize:function(){if(!this.get("resizing")){if(this._requiresSizeCalculating()&&!this._canEmitResizeEvent())return;this.set("resizing",!0)}this.timer&&this.timer.cancel(),this.timer=y.later(this.get("timeout"),this,function(){!y.Env||this.set("resizing",!1)}),this.fire("resize")}},{AXES:{X:"x",Y:"y"},ATTRS:{axis:{validator:function(f){return y.Object.values(this.constructor.AXES).includes(f)}},height:{},resizing:{validator:y.Lang.isBoolean,value:!1},threshold:{validator:y.Lang.isNumber,value:0},timeout:{value:300},width:{}}})},"1.0",{requires:["base","event","node"]})},191429:function(){YUI.add("@sqs/yui-gallery/touch-event-listener",function(y){function f(e,s){this.el=null,this.captureSettings=null,this.touchStartPoint=null,this.touchEndPoint=null,this.touchStartTime=null,this.isGesture=!1,this.touchStartHandler=null,this.touchMoveHandler=null,this.touchEndHandler=null,this.swipeThreshold=null,this.swipeTimeThreshold=null,this.el=e,this.captureSettings={swipe:!1,move:!1,preventDefaultTouchEvents:!0,preventDefaultGestureEvents:!0,gesture:!0},this.captureSettings=y.merge(this.captureSettings,s),this.swipeThreshold=50,this.swipeTimeThreshold=250,this.touchStartPoint={x:0,y:0},this.touchEndPoint={x:0,y:0},this.addEventHandlers()}f.Types={onTouch:"onTouch"},f.ActionTypes={gestureStart:"gestureStart",gestureEnd:"gestureEnd",gestureChange:"gestureChange",touchStart:"touchStart",touchMove:"touchMove",touchEnd:"touchEnd",touchMoveEnd:"touchMoveEnd",swipeLeft:"swipeLeft",swipeRight:"swipeRight",swipeUp:"swipeUp",swipeDown:"swipeDown",tapped:"tapped"},f.prototype.addEventHandlers=function(){this.gestureStartHandler=y.bind(this.onGestureStart,this),this.gestureChangeHandler=y.bind(this.onGestureChange,this),this.gestureEndHandler=y.bind(this.onGestureEnd,this),this.touchStartHandler=y.bind(this.onTouchStart,this),this.touchMoveHandler=y.bind(this.onTouchMove,this),this.touchEndHandler=y.bind(this.onTouchEnd,this),this.el.on("gesturestart",this.gestureStartHandler),this.el.on("gesturechange",this.gestureChangeHandler),this.el.on("gestureend",this.gestureEndHandler),this.el.on("touchstart",this.touchStartHandler),this.captureSettings.move&&this.el.on("touchmove",this.touchMoveHandler),this.el.on("touchend",this.touchEndHandler)},f.prototype.removeEventHandlers=function(){this.el.detachAll()},f.prototype.getTouchPoint=function(e){return{x:e[0].pageX,y:e[0].pageY}},f.prototype.fireTouchEvent=function(e){var s=0,n=0,a=0,t,r;if(s=this.touchEndPoint.x-this.touchStartPoint.x,n=this.touchEndPoint.y-this.touchStartPoint.y,a=Math.sqrt(s*s+n*n),this.captureSettings.swipe&&(t=new Date,r=t-this.touchStartTime,r<=this.swipeTimeThreshold)){if(window.Math.abs(s)>=this.swipeThreshold){y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:s<0?y.SQS.Gallery.TouchEventListener.ActionTypes.swipeLeft:y.SQS.Gallery.TouchEventListener.ActionTypes.swipeRight,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}if(window.Math.abs(n)>=this.swipeThreshold){y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:n<0?y.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:y.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}}a>1?y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchMoveEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}):y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.tapped,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onGestureStart=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),this.isGesture=!0,y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureStart,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onGestureChange=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureChange,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onGestureEnd=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureEnd,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onTouchStart=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var s=e,n=s.touches;this.touchStartTime=new Date,this.touchStartPoint=this.getTouchPoint(n),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchStart,point:this.touchStartPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onTouchMove=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var s=e,n=s.touches;y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchMove,point:this.getTouchPoint(n),targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},f.prototype.onTouchEnd=function(e){if(this.isGesture&&this.captureSettings.gesture){this.isGesture=!1;return}this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var s=e,n=s.changedTouches?s.changedTouches:s.touches;this.touchEndPoint=this.getTouchPoint(n),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}),this.fireTouchEvent(e)},y.SQS.Gallery.TouchEventListener=f},"1.0",{requires:[]})},165118:function(y,f,e){"use strict";var s=e(139e3);/*!
8 * The buffer module from node.js, for the browser.
9 *
10 * @author   Feross Aboukhadijeh <[email protected]> <http://feross.org>
11 * @license  MIT
12 */function n(x,L){if(x===L)return 0;for(var H=x.length,G=L.length,X=0,K=Math.min(H,G);X<K;++X)if(x[X]!==L[X]){H=x[X],G=L[X];break}return H<G?-1:G<H?1:0}function a(x){return e.g.Buffer&&typeof e.g.Buffer.isBuffer=="function"?e.g.Buffer.isBuffer(x):!!(x!=null&&x._isBuffer)}var t=e(962601),r=Object.prototype.hasOwnProperty,i=Array.prototype.slice,o=function(){return function(){}.name==="foo"}();function d(x){return Object.prototype.toString.call(x)}function u(x){return a(x)||typeof e.g.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(x):x?!!(x instanceof DataView||x.buffer&&x.buffer instanceof ArrayBuffer):!1}
12var l=y.exports=P,c=/\s*function\s+([^\(\s]*)\s*/;function g(x){if(!!t.isFunction(x)){if(o)return x.name;var L=x.toString(),H=L.match(c);return H&&H[1]}}l.AssertionError=function(L){this.name="AssertionError",this.actual=L.actual,this.expected=L.expected,this.operator=L.operator,L.message?(this.message=L.message,this.generatedMessage=!1):(this.message=p(this),this.generatedMessage=!0);var H=L.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,H);else{var G=new Error;if(G.stack){var X=G.stack,K=g(H),J=X.indexOf("\n"+K);if(J>=0){var z=X.indexOf("\n",J+1);X=X.substring(z+1)}this.stack=X}}},t.inherits(l.AssertionError,Error);function v(x,L){return typeof x=="string"?x.length<L?x:x.slice(0,L):x}function h(x){if(o||!t.isFunction(x))return t.inspect(x);var L=g(x),H=L?": "+L:"";return"[Function"+H+"]"}function p(x){return v(h(x.actual),128)+" "+x.operator+" "+v(h(x.expected),128)}function m(x,L,H,G,X){throw new l.AssertionError({message:H,actual:x,expected:L,operator:G,stackStartFunction:X})}l.fail=m;function P(x,L){x||m(x,!0,L,"==",l.ok)}l.ok=P,l.equal=function(L,H,G){L!=H&&m(L,H,G,"==",l.equal)},l.notEqual=function(L,H,G){L==H&&m(L,H,G,"!=",l.notEqual)},l.deepEqual=function(L,H,G){_(L,H,!1)||m(L,H,G,"deepEqual",l.deepEqual)},l.deepStrictEqual=function(L,H,G){_(L,H,!0)||m(L,H,G,"deepStrictEqual",l.deepStrictEqual)};function _(x,L,H,G){if(x===L)return!0;if(a(x)&&a(L))return n(x,L)===0;if(t.isDate(x)&&t.isDate(L))return x.getTime()===L.getTime();if(t.isRegExp(x)&&t.isRegExp(L))return x.source===L.source&&x.global===L.global&&x.multiline===L.multiline&&x.lastIndex===L.lastIndex&&x.ignoreCase===L.ignoreCase;if((x===null||typeof x!="object")&&(L===null||typeof L!="object"))return H?x===L:x==L;if(u(x)&&u(L)&&d(x)===d(L)&&!(x instanceof Float32Array||x instanceof Float64Array))return n(new Uint8Array(x.buffer),new Uint8Array(L.buffer))===0;if(a(x)!==a(L))return!1;G=G||{actual:[],expected:[]};var X=G.actual.indexOf(x);return X!==-1&&X===G.expected.indexOf(L)?!0:(G.actual.push(x),G.expected.push(L),S(x,L,H,G))}function b(x){return Object.prototype.toString.call(x)=="[object Arguments]"}function S(x,L,H,G){if(x==null||L===null||L===void 0)return!1;if(t.isPrimitive(x)||t.isPrimitive(L))return x===L;if(H&&Object.getPrototypeOf(x)!==Object.getPrototypeOf(L))return!1;var X=b(x),K=b(L);if(X&&!K||!X&&K)return!1;if(X)return x=i.call(x),L=i.call(L),_(x,L,H);var J=j(x),z=j(L),k,F;if(J.length!==z.length)return!1;for(J.sort(),z.sort(),F=J.length-1;F>=0;F--)if(J[F]!==z[F])return!1;for(F=J.length-1;F>=0;F--)if(k=J[F],!_(x[k],L[k],H,G))return!1;return!0}l.notDeepEqual=function(L,H,G){_(L,H,!1)&&m(L,H,G,"notDeepEqual",l.notDeepEqual)},l.notDeepStrictEqual=E;function E(x,L,H){_(x,L,!0)&&m(x,L,H,"notDeepStrictEqual",E)}l.strictEqual=function(L,H,G){L!==H&&m(L,H,G,"===",l.strictEqual)},l.notStrictEqual=function(L,H,G){L===H&&m(L,H,G,"!==",l.notStrictEqual)};function A(x,L){if(!x||!L)return!1;if(Object.prototype.toString.call(L)=="[object RegExp]")return L.test(x);try{if(x instanceof L)return!0}catch(H){}return Error.isPrototypeOf(L)?!1:L.call({},x)===!0}function T(x){var L;try{x()}catch(H){L=H}return L}function I(x,L,H,G){var X;if(typeof L!="function")throw new TypeError('"block" argument must be a function');typeof H=="string"&&(G=H,H=null),X=T(L),G=(H&&H.name?" ("+H.name+").":".")+(G?" "+G:"."),x&&!X&&m(X,H,"Missing expected exception"+G);var K=typeof G=="string",J=!x&&t.isError(X),z=!x&&X&&!H;if((J&&K&&A(X,H)||z)&&m(X,H,"Got unwanted exception"+G),x&&X&&H&&!A(X,H)||!x&&X)throw X}l.throws=function(x,L,H){I(!0,x,L,H)},l.doesNotThrow=function(x,L,H){I(!1,x,L,H)},l.ifError=function(x){if(x)throw x};function R(x,L){x||m(x,!0,L,"==",R)}l.strict=s(R,l,{equal:l.strictEqual,deepEqual:l.deepStrictEqual,notEqual:l.notStrictEqual,notDeepEqual:l.notDeepStrictEqual}),l.strict.strict=l.strict;var j=Object.keys||function(x){var L=[];for(var H in x)r.call(x,H)&&L.push(H);return L}},856066:function(y,f,e){y.exports={default:e(122143),__esModule:!0}},997072:function(y,f,e){y.exports={default:e(391843),__esModule:!0}},551269:function(y,f,e){y.exports={default:e(383190),__esModule:!0}},823528:function(y,f,e){y.exports={default:e(559948),__esModule:!0}},402761:function(y,f,e){y.exports={default:e(605486),__esModule:!0}},922125:function(y,f,e){y.exports={default:e(327877),__esModule:!0}},9795:function(y,f){"use strict";f.__esModule=!0,f.default=function(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}},895832:function(y,f,e){"use strict";f.__esModule=!0;var s=e(823528),n=a(s);function a(t){return t&&t.__esModule?t:{default:t}}f.default=function(){function t(r,i){for(var o=0;o<i.length;o++){var d=i[o];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),(0,n.default)(r,d.key,d)}}
vendor: 13,314 bytes, line 12
12return function(r,i,o){return i&&t(r.prototype,i),o&&t(r,o),r}}()},328276:function(y,f,e){"use strict";f.__esModule=!0;var s=e(997072),n=r(s),a=e(856066),t=r(a);function r(i){return i&&i.__esModule?i:{default:i}}f.default=function(){function i(o,d){var u=[],l=!0,c=!1,g=void 0;try{for(var v=(0,t.default)(o),h;!(l=(h=v.next()).done)&&(u.push(h.value),!(d&&u.length===d));l=!0);}catch(p){c=!0,g=p}finally{try{!l&&v.return&&v.return()}finally{if(c)throw g}}return u}return function(o,d){if(Array.isArray(o))return o;if((0,n.default)(Object(o)))return i(o,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},249703:function(y,f,e){var s=e(121659),n={};for(var a in s)s.hasOwnProperty(a)&&(n[s[a]]=a);var t=y.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in t)if(t.hasOwnProperty(r)){if(!("channels"in t[r]))throw new Error("missing channels property: "+r);if(!("labels"in t[r]))throw new Error("missing channel labels property: "+r);if(t[r].labels.length!==t[r].channels)throw new Error("channel and label counts mismatch: "+r);var i=t[r].channels,o=t[r].labels;delete t[r].channels,delete t[r].labels,Object.defineProperty(t[r],"channels",{value:i}),Object.defineProperty(t[r],"labels",{value:o})}t.rgb.hsl=function(u){var l=u[0]/255,c=u[1]/255,g=u[2]/255,v=Math.min(l,c,g),h=Math.max(l,c,g),p=h-v,m,P,_;return h===v?m=0:l===h?m=(c-g)/p:c===h?m=2+(g-l)/p:g===h&&(m=4+(l-c)/p),m=Math.min(m*60,360),m<0&&(m+=360),_=(v+h)/2,h===v?P=0:_<=.5?P=p/(h+v):P=p/(2-h-v),[m,P*100,_*100]},t.rgb.hsv=function(u){var l,c,g,v,h,p=u[0]/255,m=u[1]/255,P=u[2]/255,_=Math.max(p,m,P),b=_-Math.min(p,m,P),S=function(E){return(_-E)/6/b+1/2};return b===0?v=h=0:(h=b/_,l=S(p),c=S(m),g=S(P),p===_?v=g-c:m===_?v=1/3+l-g:P===_&&(v=2/3+c-l),v<0?v+=1:v>1&&(v-=1)),[v*360,h*100,_*100]},t.rgb.hwb=function(u){var l=u[0],c=u[1],g=u[2],v=t.rgb.hsl(u)[0],h=1/255*Math.min(l,Math.min(c,g));return g=1-1/255*Math.max(l,Math.max(c,g)),[v,h*100,g*100]},t.rgb.cmyk=function(u){var l=u[0]/255,c=u[1]/255,g=u[2]/255,v,h,p,m;return m=Math.min(1-l,1-c,1-g),v=(1-l-m)/(1-m)||0,h=(1-c-m)/(1-m)||0,p=(1-g-m)/(1-m)||0,[v*100,h*100,p*100,m*100]};function d(u,l){return Math.pow(u[0]-l[0],2)+Math.pow(u[1]-l[1],2)+Math.pow(u[2]-l[2],2)}t.rgb.keyword=function(u){var l=n[u];if(l)return l;var c=1/0,g;for(var v in s)if(s.hasOwnProperty(v)){var h=s[v],p=d(u,h);p<c&&(c=p,g=v)}return g},t.keyword.rgb=function(u){return s[u]},t.rgb.xyz=function(u){var l=u[0]/255,c=u[1]/255,g=u[2]/255;l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92,c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92;var v=l*.4124+c*.3576+g*.1805,h=l*.2126+c*.7152+g*.0722,p=l*.0193+c*.1192+g*.9505;return[v*100,h*100,p*100]},t.rgb.lab=function(u){var l=t.rgb.xyz(u),c=l[0],g=l[1],v=l[2],h,p,m;return c/=95.047,g/=100,v/=108.883,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,v=v>.008856?Math.pow(v,1/3):7.787*v+16/116,h=116*g-16,p=500*(c-g),m=200*(g-v),[h,p,m]},t.hsl.rgb=function(u){var l=u[0]/360,c=u[1]/100,g=u[2]/100,v,h,p,m,P;if(c===0)return P=g*255,[P,P,P];g<.5?h=g*(1+c):h=g+c-g*c,v=2*g-h,m=[0,0,0];for(var _=0;_<3;_++)p=l+1/3*-(_-1),p<0&&p++,p>1&&p--,6*p<1?P=v+(h-v)*6*p:2*p<1?P=h:3*p<2?P=v+(h-v)*(2/3-p)*6:P=v,m[_]=P*255;return m},t.hsl.hsv=function(u){var l=u[0],c=u[1]/100,g=u[2]/100,v=c,h=Math.max(g,.01),p,m;return g*=2,c*=g<=1?g:2-g,v*=h<=1?h:2-h,m=(g+c)/2,p=g===0?2*v/(h+v):2*c/(g+c),[l,p*100,m*100]},t.hsv.rgb=function(u){var l=u[0]/60,c=u[1]/100,g=u[2]/100,v=Math.floor(l)%6,h=l-Math.floor(l),p=255*g*(1-c),m=255*g*(1-c*h),P=255*g*(1-c*(1-h));switch(g*=255,v){case 0:return[g,P,p];case 1:return[m,g,p];case 2:return[p,g,P];case 3:return[p,m,g];case 4:return[P,p,g];case 5:return[g,p,m]}},t.hsv.hsl=function(u){var l=u[0],c=u[1]/100,g=u[2]/100,v=Math.max(g,.01),h,p,m;return m=(2-c)*g,h=(2-c)*v,p=c*v,p/=h<=1?h:2-h,p=p||0,m/=2,[l,p*100,m*100]},t.hwb.rgb=function(u){var l=u[0]/360,c=u[1]/100,g=u[2]/100,v=c+g,h,p,m,P;v>1&&(c/=v,g/=v),h=Math.floor(6*l),p=1-g,m=6*l-h,(h&1)!=0&&(m=1-m),P=c+m*(p-c);var _,b,S;switch(h){default:case 6:case 0:_=p,b=P,S=c;break;case 1:_=P,b=p,S=c;break;case 2:_=c,b=p,S=P;break;case 3:_=c,b=P,S=p;break;case 4:_=P,b=c,S=p;break;case 5:_=p,b=c,S=P;break}return[_*255,b*255,S*255]},t.cmyk.rgb=function(u){var l=u[0]/100,c=u[1]/100,g=u[2]/100,v=u[3]/100,h,p,m;return h=1-Math.min(1,l*(1-v)+v),p=1-Math.min(1,c*(1-v)+v),m=1-Math.min(1,g*(1-v)+v),[h*255,p*255,m*255]},t.xyz.rgb=function(u){var l=u[0]/100,c=u[1]/100,g=u[2]/100,v,h,p;return v=l*3.2406+c*-1.5372+g*-.4986,h=l*-.9689+c*1.8758+g*.0415,p=l*.0557+c*-.204+g*1.057,v=v>.0031308?1.055*Math.pow(v,1/2.4)-.055:v*12.92,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:h*12.92,p=p>.0031308?1.055*Math.pow(p,1/2.4)-.055:p*12.92,v=Math.min(Math.max(0,v),1),h=Math.min(Math.max(0,h),1),p=Math.min(Math.max(0,p),1),[v*255,h*255,p*255]},t.xyz.lab=function(u){var l=u[0],c=u[1],g=u[2],v,h,p;return l/=95.047,c/=100,g/=108.883,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,v=116*c-16,h=500*(l-c),p=200*(c-g),[v,h,p]},t.lab.xyz=function(u){var l=u[0],c=u[1],g=u[2],v,h,p;h=(l+16)/116,v=c/500+h,p=h-g/200;var m=Math.pow(h,3),P=Math.pow(v,3),_=Math.pow(p,3);return h=m>.008856?m:(h-16/116)/7.787,v=P>.008856?P:(v-16/116)/7.787,p=_>.008856?_:(p-16/116)/7.787,v*=95.047,h*=100,p*=108.883,[v,h,p]},t.lab.lch=function(u){var l=u[0],c=u[1],g=u[2],v,h,p;return v=Math.atan2(g,c),h=v*360/2/Math.PI,h<0&&(h+=360),p=Math.sqrt(c*c+g*g),[l,p,h]},t.lch.lab=function(u){var l=u[0],c=u[1],g=u[2],v,h,p;return p=g/360*2*Math.PI,v=c*Math.cos(p),h=c*Math.sin(p),[l,v,h]},t.rgb.ansi16=function(u){var l=u[0],c=u[1],g=u[2],v=1 in arguments?arguments[1]:t.rgb.hsv(u)[2];if(v=Math.round(v/50),v===0)return 30;var h=30+(Math.round(g/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return v===2&&(h+=60),h},t.hsv.ansi16=function(u){return t.rgb.ansi16(t.hsv.rgb(u),u[2])},t.rgb.ansi256=function(u){var l=u[0],c=u[1],g=u[2];if(l===c&&c===g)return l<8?16:l>248?231:Math.round((l-8)/247*24)+232;var v=16+36*Math.round(l/255*5)+6*Math.round(c/255*5)+Math.round(g/255*5);return v},t.ansi16.rgb=function(u){var l=u%10;if(l===0||l===7)return u>50&&(l+=3.5),l=l/10.5*255,[l,l,l];var c=(~~(u>50)+1)*.5,g=(l&1)*c*255,v=(l>>1&1)*c*255,h=(l>>2&1)*c*255;return[g,v,h]},t.ansi256.rgb=function(u){if(u>=232){var l=(u-232)*10+8;return[l,l,l]}u-=16;var c,g=Math.floor(u/36)/5*255,v=Math.floor((c=u%36)/6)/5*255,h=c%6/5*255;return[g,v,h]},t.rgb.hex=function(u){var l=((Math.round(u[0])&255)<<16)+((Math.round(u[1])&255)<<8)+(Math.round(u[2])&255),c=l.toString(16).toUpperCase();return"000000".substring(c.length)+c},t.hex.rgb=function(u){var l=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];var c=l[0];l[0].length===3&&(c=c.split("").map(function(m){return m+m}).join(""));var g=parseInt(c,16),v=g>>16&255,h=g>>8&255,p=g&255;return[v,h,p]},t.rgb.hcg=function(u){var l=u[0]/255,c=u[1]/255,g=u[2]/255,v=Math.max(Math.max(l,c),g),h=Math.min(Math.min(l,c),g),p=v-h,m,P;return p<1?m=h/(1-p):m=0,p<=0?P=0:v===l?P=(c-g)/p%6:v===c?P=2+(g-l)/p:P=4+(l-c)/p+4,P/=6,P%=1,[P*360,p*100,m*100]},t.hsl.hcg=function(u){var l=u[1]/100,c=u[2]/100,g=1,v=0;return c<.5?g=2*l*c:g=2*l*(1-c),g<1&&(v=(c-.5*g)/(1-g)),[u[0],g*100,v*100]},t.hsv.hcg=function(u){var l=u[1]/100,c=u[2]/100,g=l*c,v=0;return g<1&&(v=(c-g)/(1-g)),[u[0],g*100,v*100]},t.hcg.rgb=function(u){var l=u[0]/360,c=u[1]/100,g=u[2]/100;if(c===0)return[g*255,g*255,g*255];var v=[0,0,0],h=l%1*6,p=h%1,m=1-p,P=0;switch(Math.floor(h)){case 0:v[0]=1,v[1]=p,v[2]=0;break;case 1:v[0]=m,v[1]=1,v[2]=0;break;case 2:v[0]=0,v[1]=1,v[2]=p;break;case 3:v[0]=0,v[1]=m,v[2]=1;break;case 4:v[0]=p,v[1]=0,v[2]=1;break;default:v[0]=1,v[1]=0,v[2]=m}return P=(1-c)*g,[(c*v[0]+P)*255,(c*v[1]+P)*255,(c*v[2]+P)*255]},t.hcg.hsv=function(u){var l=u[1]/100,c=u[2]/100,g=l+c*(1-l),v=0;return g>0&&(v=l/g),[u[0],v*100,g*100]},t.hcg.hsl=function(u){var l=u[1]/100,c=u[2]/100,g=c*(1-l)+.5*l,v=0;return g>0&&g<.5?v=l/(2*g):g>=.5&&g<1&&(v=l/(2*(1-g))),[u[0],v*100,g*100]},t.hcg.hwb=function(u){var l=u[1]/100,c=u[2]/100,g=l+c*(1-l);return[u[0],(g-l)*100,(1-g)*100]},t.hwb.hcg=function(u){var l=u[1]/100,c=u[2]/100,g=1-c,v=g-l,h=0;return v<1&&(h=(g-v)/(1-v)),[u[0],v*100,h*100]},t.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]},t.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]},t.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]},t.gray.hsl=t.gray.hsv=function(u){return[0,0,u[0]]},t.gray.hwb=function(u){return[0,100,u[0]]},t.gray.cmyk=function(u){return[0,0,0,u[0]]},t.gray.lab=function(u){return[u[0],0,0]},t.gray.hex=function(u){var l=Math.round(u[0]/100*255)&255,c=(l<<16)+(l<<8)+l,g=c.toString(16).toUpperCase();return"000000".substring(g.length)+g},t.rgb.gray=function(u){var l=(u[0]+u[1]+u[2])/3;return[l/255*100]}},413238:function(y,f,e){var s=e(249703),n=e(406395),a={},t=Object.keys(s);function r(o){var d=function(u){return u==null?u:(arguments.length>1&&(u=Array.prototype.slice.call(arguments)),o(u))};return"conversion"in o&&(d.conversion=o.conversion),d}function i(o){var d=function(u){if(u==null)return u;arguments.length>1&&(u=Array.prototype.slice.call(arguments));var l=o(u);if(typeof l=="object")for(var c=l.length,g=0;g<c;g++)l[g]=Math.round(l[g]);return l};return"conversion"in o&&(d.conversion=o.conversion),d}t.forEach(function(o){a[o]={},Object.defineProperty(a[o],"channels",{value:s[o].channels}),Object.defineProperty(a[o],"labels",{value:s[o].labels});var d=n(o),u=Object.keys(d);u.forEach(function(l){var c=d[l];a[o][l]=i(c),a[o][l].raw=r(c)})}),y.exports=a},406395:function(y,f,e){var s=e(249703);function n(){for(var i={},o=Object.keys(s),d=o.length,u=0;u<d;u++)i[o[u]]={distance:-1,parent:null};return i}function a(i){var o=n(),d=[i];for(o[i].distance=0;d.length;)for(var u=d.pop(),l=Object.keys(s[u]),c=l.length,g=0;g<c;g++){var v=l[g],h=o[v];h.distance===-1&&(h.distance=o[u].distance+1,h.parent=u,d.unshift(v))}return o}function t(i,o){return function(d){return o(i(d))}}function r(i,o){for(var d=[o[i].parent,i],u=s[o[i].parent][i],l=o[i].parent;o[l].parent;)d.unshift(o[l].parent),u=t(s[o[l].parent][l],u),l=o[l].parent;return u.conversion=d,u}y.exports=function(i){for(var o=a(i),d={},u=Object.keys(o),l=u.length,c=0;c<l;c++){var g=u[c],v=o[g];v.parent!==null&&(d[g]=r(g,o))}return d}},121659:function(y){"use strict";y.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
12ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},791484:function(y){"use strict";y.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},122143:function(y,f,e){e(506869),e(537323),y.exports=e(811850)},391843:function(y,f,e){e(506869),e(537323),y.exports=e(67222)},383190:function(y,f,e){e(472557),y.exports=e(880535).Object.assign},559948:function(y,f,e){e(761872);var s=e(880535).Object;y.exports=function(a,t,r){return s.defineProperty(a,t,r)}},605486:function(y,f,e){e(434719),y.exports=e(880535).Object.entries},327877:function(y,f,e){e(431700),e(537323),e(506869),e(213202),e(968329),e(182827),y.exports=e(880535).Promise},448423:function(y){y.exports=function(f){if(typeof f!="function")throw TypeError(f+" is not a function!");return f}},705618:function(y){y.exports=function(){}},640142:function(y){y.exports=function(f,e,s,n){if(!(f instanceof e)||n!==void 0&&n in f)throw TypeError(s+": incorrect invocation!");return f}},359258:function(y,f,e){var s=e(671318);y.exports=function(n){if(!s(n))throw TypeError(n+" is not an object!");return n}},143046:function(y,f,e){var s=e(500648),n=e(717915),a=e(707223);y.exports=function(t){return function(r,i,o){var d=s(r),u=n(d.length),l=a(o,u),c;if(t&&i!=i){for(;u>l;)if(c=d[l++],c!=c)return!0}else for(;u>l;l++)if((t||l in d)&&d[l]===i)return t||l||0;return!t&&-1}}},728099:function(y,f,e){var s=e(427259),n=e(501932)("toStringTag"),a=s(function(){return arguments}())=="Arguments",t=function(r,i){try{return r[i]}catch(o){}};y.exports=function(r){var i,o,d;return r===void 0?"Undefined":r===null?"Null":typeof(o=t(i=Object(r),n))=="string"?o:a?s(i):(d=s(i))=="Ob
12ject"&&typeof i.callee=="function"?"Arguments":d}},427259:function(y){var f={}.toString;y.exports=function(e){return f.call(e).slice(8,-1)}},880535:function(y){var f=y.exports={version:"2.6.12"};typeof __e=="number"&&(__e=f)},57620:function(y,f,e){var s=e(448423);y.exports=function(n,a,t){if(s(n),a===void 0)return n;switch(t){case 1:return function(r){return n.call(a,r)};case 2:return function(r,i){return n.call(a,r,i)};case 3:return function(r,i,o){return n.call(a,r,i,o)}}return function(){return n.apply(a,arguments)}}},632926:function(y){y.exports=function(f){if(f==null)throw TypeError("Can't call method on  "+f);return f}},445157:function(y,f,e){y.exports=!e(808412)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},346866:function(y,f,e){var s=e(671318),n=e(400018).document,a=s(n)&&s(n.createElement);y.exports=function(t){return a?n.createElement(t):{}}},264656:function(y){y.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},26210:function(y,f,e){var s=e(400018),n=e(880535),a=e(57620),t=e(653776),r=e(302134),i="prototype",o=function(d,u,l){var c=d&o.F,g=d&o.G,v=d&o.S,h=d&o.P,p=d&o.B,m=d&o.W,P=g?n:n[u]||(n[u]={}),_=P[i],b=g?s:v?s[u]:(s[u]||{})[i],S,E,A;g&&(l=u);for(S in l)E=!c&&b&&b[S]!==void 0,!(E&&r(P,S))&&(A=E?b[S]:l[S],P[S]=g&&typeof b[S]!="function"?l[S]:p&&E?a(A,s):m&&b[S]==A?function(T){var I=function(R,j,x){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(R);case 2:return new T(R,j)}return new T(R,j,x)}return T.apply(this,arguments)};return I[i]=T[i],I}(A):h&&typeof A=="function"?a(Function.call,A):A,h&&((P.virtual||(P.virtual={}))[S]=A,d&o.R&&_&&!_[S]&&t(_,S,A)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,y.exports=o},808412:function(y){y.exports=function(f){try{return!!f()}catch(e){return!0}}},99481:function(y,f,e){var s=e(57620),n=e(234001),a=e(204436),t=e(359258),r=e(717915),i=e(740195),o={},d={},u=y.exports=function(l,c,g,v,h){var p=h?function(){return l}:i(l),m=s(g,v,c?2:1),P=0,_,b,S,E;if(typeof p!="function")throw TypeError(l+" is not iterable!");if(a(p)){for(_=r(l.length);_>P;P++)if(E=c?m(t(b=l[P])[0],b[1]):m(l[P]),E===o||E===d)return E}else for(S=p.call(l);!(b=S.next()).done;)if(E=n(S,m,b.value,c),E===o||E===d)return E};u.BREAK=o,u.RETURN=d},400018:function(y){var f=y.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=f)},302134:function(y){var f={}.hasOwnProperty;y.exports=function(e,s){return f.call(e,s)}},653776:function(y,f,e){var s=e(232103),n=e(854074);y.exports=e(445157)?function(a,t,r){return s.f(a,t,n(1,r))}:function(a,t,r){return a[t]=r,a}},398421:function(y,f,e){var s=e(400018).document;y.exports=s&&s.documentElement},569247:function(y,f,e){y.exports=!e(445157)&&!e(808412)(function(){return Object.defineProperty(e(346866)("div"),"a",{get:function(){return 7}}).a!=7})},1331:function(y){y.exports=function(f,e,s){var n=s===void 0;switch(e.length){case 0:return n?f():f.call(s);case 1:return n?f(e[0]):f.call(s,e[0]);case 2:return n?f(e[0],e[1]):f.call(s,e[0],e[1]);case 3:return n?f(e[0],e[1],e[2]):f.call(s,e[0],e[1],e[2]);case 4:return n?f(e[0],e[1],e[2],e[3]):f.call(s,e[0],e[1],e[2],e[3])}return f.apply(s,e)}},613171:function(y,f,e){var s=e(427259);y.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return s(n)=="String"?n.split(""):Object(n)}},204436:function(y,f,e){var s=e(425264),n=e(501932)("iterator"),a=Array.prototype;y.exports=function(t){return t!==void 0&&(s.Array===t||a[n]===t)}},671318:function(y){y.exports=function(f){return typeof f=="object"?f!==null:typeof f=="function"}},234001:function(y,f,e){var s=e(359258);y.exports=function(n,a,t,r){try{return r?a(s(t)[0],t[1]):a(t)}catch(o){var i=n.return;throw i!==void 0&&s(i.call(n)),o}}},581906:function(y,f,e){"use strict";var s=e(820413),n=e(854074),a=e(405001),t={};e(653776)(t,e(501932)("iterator"),function(){return this}),y.exports=function(r,i,o){r.prototype=s(t,{next:n(1,o)}),a(r,i+" Iterator")}},826672:function(y,f,e){"use strict";var s=e(71766),n=e(26210),a=e(800668),t=e(653776),r=e(425264),i=e(581906),o=e(405001),d=e(935424),u=e(501932)("iterator"),l=!([].keys&&"next"in[].keys()),c="@@iterator",g="keys",v="values",h=function(){return this};y.exports=function(p,m,P,_,b,S,E){i(P,m,_);var A=function(z){if(!l&&z in j)return j[z];switch(z){case g:return function(){return new P(this,z)};case v:return function(){return new P(this,z)}}return function(){return new P(this,z)}},T=m+" Iterator",I=b==v,R=!1,j=p.prototype,x=j[u]||j[c]||b&&j[b],L=x||A(b),H=b?I?A("entries"):L:void 0,G=m=="Array"&&j.entries||x,X,K,J;if(G&&(J=d(G.call(new p)),J!==Object.prototype&&J.next&&(o(J,T,!0),!s&&typeof J[u]!="function"&&t(J,u,h))),I&&x&&x.name!==v&&(R=!0,L=function(){return x.call(this)}),(!s||E)&&(l||R||!j[u])&&t(j,u,L),r[m]=L,r[T]=h,b)if(X={values:I?L:A(v),keys:S?L:A(g),entries:H},E)for(K in X)K in j||a(j,K,X[K]);else n(n.P+n.F*(l||R),m,X);return X}},914326:function(y,f,e){var s=e(501932)("iterator"),n=!1;try{var a=[7][s]();a.return=function(){n=!0},Array.from(a,function(){throw 2})}catch(t){}y.exports=function(t,r){if(!r&&!n)return!1;var i=!1;try{var o=[7],d=o[s]();d.next=function(){return{done:i=!0}
12},o[s]=function(){return d},t(o)}catch(u){}return i}},436333:function(y){y.exports=function(f,e){return{value:e,done:!!f}}},425264:function(y){y.exports={}},71766:function(y){y.exports=!0},532876:function(y,f,e){var s=e(400018),n=e(117926).set,a=s.MutationObserver||s.WebKitMutationObserver,t=s.process,r=s.Promise,i=e(427259)(t)=="process";y.exports=function(){var o,d,u,l=function(){var h,p;for(i&&(h=t.domain)&&h.exit();o;){p=o.fn,o=o.next;try{p()}catch(m){throw o?u():d=void 0,m}}d=void 0,h&&h.enter()};if(i)u=function(){t.nextTick(l)};else if(a&&!(s.navigator&&s.navigator.standalone)){var c=!0,g=document.createTextNode("");new a(l).observe(g,{characterData:!0}),u=function(){g.data=c=!c}}else if(r&&r.resolve){var v=r.resolve(void 0);u=function(){v.then(l)}}else u=function(){n.call(s,l)};return function(h){var p={fn:h,next:void 0};d&&(d.next=p),o||(o=p,u()),d=p}}},699871:function(y,f,e){"use strict";var s=e(448423);function n(a){var t,r;this.promise=new a(function(i,o){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=i,r=o}),this.resolve=s(t),this.reject=s(r)}y.exports.f=function(a){return new n(a)}},593303:function(y,f,e){"use strict";var s=e(445157),n=e(644523),a=e(358102),t=e(964290),r=e(48467),i=e(613171),o=Object.assign;y.exports=!o||e(808412)(function(){var d={},u={},l=Symbol(),c="abcdefghijklmnopqrst";return d[l]=7,c.split("").forEach(function(g){u[g]=g}),o({},d)[l]!=7||Object.keys(o({},u)).join("")!=c})?function(u,l){for(var c=r(u),g=arguments.length,v=1,h=a.f,p=t.f;g>v;)for(var m=i(arguments[v++]),P=h?n(m).concat(h(m)):n(m),_=P.length,b=0,S;_>b;)S=P[b++],(!s||p.call(m,S))&&(c[S]=m[S]);return c}:o},820413:function(y,f,e){var s=e(359258),n=e(217030),a=e(264656),t=e(867489)("IE_PROTO"),r=function(){},i="prototype",o=function(){var d=e(346866)("iframe"),u=a.length,l="<",c=">",g;for(d.style.display="none",e(398421).appendChild(d),d.src="javascript:",g=d.contentWindow.document,g.open(),g.write(l+"script"+c+"document.F=Object"+l+"/script"+c),g.close(),o=g.F;u--;)delete o[i][a[u]];return o()};y.exports=Object.create||function(u,l){var c;return u!==null?(r[i]=s(u),c=new r,r[i]=null,c[t]=u):c=o(),l===void 0?c:n(c,l)}},232103:function(y,f,e){var s=e(359258),n=e(569247),a=e(73698),t=Object.defineProperty;f.f=e(445157)?Object.defineProperty:function(i,o,d){if(s(i),o=a(o,!0),s(d),n)try{return t(i,o,d)}catch(u){}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(i[o]=d.value),i}},217030:function(y,f,e){var s=e(232103),n=e(359258),a=e(644523);y.exports=e(445157)?Object.defineProperties:function(r,i){n(r);for(var o=a(i),d=o.length,u=0,l;d>u;)s.f(r,l=o[u++],i[l]);return r}},358102:function(y,f){f.f=Object.getOwnPropertySymbols},935424:function(y,f,e){var s=e(302134),n=e(48467),a=e(867489)("IE_PROTO"),t=Object.prototype;y.exports=Object.getPrototypeOf||function(r){return r=n(r),s(r,a)?r[a]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?t:null}},452265:function(y,f,e){var s=e(302134),n=e(500648),a=e(143046)(!1),t=e(867489)("IE_PROTO");y.exports=function(r,i){var o=n(r),d=0,u=[],l;for(l in o)l!=t&&s(o,l)&&u.push(l);for(;i.length>d;)s(o,l=i[d++])&&(~a(u,l)||u.push(l));return u}},644523:function(y,f,e){var s=e(452265),n=e(264656);y.exports=Object.keys||function(t){return s(t,n)}},964290:function(y,f){f.f={}.propertyIsEnumerable},234039:function(y,f,e){var s=e(445157),n=e(644523),a=e(500648),t=e(964290).f;y.exports=function(r){return function(i){for(var o=a(i),d=n(o),u=d.length,l=0,c=[],g;u>l;)g=d[l++],(!s||t.call(o,g))&&c.push(r?[g,o[g]]:o[g]);return c}}},441230:function(y){y.exports=function(f){try{return{e:!1,v:f()}}catch(e){return{e:!0,v:e}}}},786476:function(y,f,e){var s=e(359258),n=e(671318),a=e(699871);y.exports=function(t,r){if(s(t),n(r)&&r.constructor===t)return r;var i=a.f(t),o=i.resolve;return o(r),i.promise}},854074:function(y){y.exports=function(f,e){return{enumerable:!(f&1),configurable:!(f&2),writable:!(f&4),value:e}}},645270:function(y,f,e){var s=e(653776);y.exports=function(n,a,t){for(var r in a)t&&n[r]?n[r]=a[r]:s(n,r,a[r]);return n}},800668:function(y,f,e){y.exports=e(653776)},622095:function(y,f,e){"use strict";var s=e(400018),n=e(880535),a=e(232103),t=e(445157),r=e(501932)("species");y.exports=function(i){var o=typeof n[i]=="function"?n[i]:s[i];
12t&&o&&!o[r]&&a.f(o,r,{configurable:!0,get:function(){return this}})}},405001:function(y,f,e){var s=e(232103).f,n=e(302134),a=e(501932)("toStringTag");y.exports=function(t,r,i){t&&!n(t=i?t:t.prototype,a)&&s(t,a,{configurable:!0,value:r})}},867489:function(y,f,e){var s=e(371383)("keys"),n=e(130697);y.exports=function(a){return s[a]||(s[a]=n(a))}},371383:function(y,f,e){var s=e(880535),n=e(400018),a="__core-js_shared__",t=n[a]||(n[a]={});(y.exports=function(r,i){return t[r]||(t[r]=i!==void 0?i:{})})("versions",[]).push({version:s.version,mode:e(71766)?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},67062:function(y,f,e){var s=e(359258),n=e(448423),a=e(501932)("species");y.exports=function(t,r){var i=s(t).constructor,o;return i===void 0||(o=s(i)[a])==null?r:n(o)}},430026:function(y,f,e){var s=e(632194),n=e(632926);y.exports=function(a){return function(t,r){var i=String(n(t)),o=s(r),d=i.length,u,l;return o<0||o>=d?a?"":void 0:(u=i.charCodeAt(o),u<55296||u>56319||o+1===d||(l=i.charCodeAt(o+1))<56320||l>57343?a?i.charAt(o):u:a?i.slice(o,o+2):(u-55296<<10)+(l-56320)+65536)}}},117926:function(y,f,e){var s=e(57620),n=e(1331),a=e(398421),t=e(346866),r=e(400018),i=r.process,o=r.setImmediate,d=r.clearImmediate,u=r.MessageChannel,l=r.Dispatch,c=0,g={},v="onreadystatechange",h,p,m,P=function(){var b=+this;if(g.hasOwnProperty(b)){var S=g[b];delete g[b],S()}},_=function(b){P.call(b.data)};(!o||!d)&&(o=function(S){for(var E=[],A=1;arguments.length>A;)E.push(arguments[A++]);return g[++c]=function(){n(typeof S=="function"?S:Function(S),E)},h(c),c},d=function(S){delete g[S]},e(427259)(i)=="process"?h=function(b){i.nextTick(s(P,b,1))}:l&&l.now?h=function(b){l.now(s(P,b,1))}:u?(p=new u,m=p.port2,p.port1.onmessage=_,h=s(m.postMessage,m,1)):r.addEventListener&&typeof postMessage=="function"&&!r.importScripts?(h=function(b){r.postMessage(b+"","*")},r.addEventListener("message",_,!1)):v in t("script")?h=function(b){a.appendChild(t("script"))[v]=function(){a.removeChild(this),P.call(b)}}:h=function(b){setTimeout(s(P,b,1),0)}),y.exports={set:o,clear:d}},707223:function(y,f,e){var s=e(632194),n=Math.max,a=Math.min;y.exports=function(t,r){return t=s(t),t<0?n(t+r,0):a(t,r)}},632194:function(y){var f=Math.ceil,e=Math.floor;y.exports=function(s){return isNaN(s=+s)?0:(s>0?e:f)(s)}},500648:function(y,f,e){var s=e(613171),n=e(632926);y.exports=function(a){return s(n(a))}},717915:function(y,f,e){var s=e(632194),n=Math.min;y.exports=function(a){return a>0?n(s(a),9007199254740991):0}},48467:function(y,f,e){var s=e(632926);y.exports=function(n){return Object(s(n))}},73698:function(y,f,e){var s=e(671318);y.exports=function(n,a){if(!s(n))return n;var t,r;if(a&&typeof(t=n.toString)=="function"&&!s(r=t.call(n))||typeof(t=n.valueOf)=="function"&&!s(r=t.call(n))||!a&&typeof(t=n.toString)=="function"&&!s(r=t.call(n)))return r;throw TypeError("Can't convert object to primitive value")}},130697:function(y){var f=0,e=Math.random();y.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++f+e).toString(36))}},456209:function(y,f,e){var s=e(400018),n=s.navigator;y.exports=n&&n.userAgent||""},501932:function(y,f,e){var s=e(371383)("wks"),n=e(130697),a=e(400018).Symbol,t=typeof a=="function",r=y.exports=function(i){return s[i]||(s[i]=t&&a[i]||(t?a:n)("Symbol."+i))};r.store=s},740195:function(y,f,e){var s=e(728099),n=e(501932)("iterator"),a=e(425264);y.exports=e(880535).getIteratorMethod=function(t){if(t!=null)return t[n]||t["@@iterator"]||a[s(t)]}},811850:function(y,f,e){var s=e(359258),n=e(740195);y.exports=e(880535).getIterator=function(a){var t=n(a);if(typeof t!="function")throw TypeError(a+" is not iterable!");return s(t.call(a))}},67222:function(y,f,e){var s=e(728099),n=e(501932)("iterator"),a=e(425264);y.exports=e(880535).isIterable=function(t){var r=Object(t);return r[n]!==void 0||"@@iterator"in r||a.hasOwnProperty(s(r))}},777869:function(y,f,e){"use strict";var s=e(705618),n=e(436333),a=e(425264),t=e(500648);y.exports=e(826672)(Array,"Array",function(r,i){this._t=t(r),this._i=0,this._k=i},function(){var r=this._t,i=this._k,o=this._i++;return!r||o>=r.length?(this._t=void 0,n(1)):i=="keys"?n(0,o):i=="values"?n(0,r[o]):n(0,[o,r[o]])},"values"),a.Arguments=a.Array,s("keys"),s("values"),s("entries")},472557:function(y,f,e){var s=e(26210);s(s.S+s.F,"Object",{assign:e(593303)}
12)},761872:function(y,f,e){var s=e(26210);s(s.S+s.F*!e(445157),"Object",{defineProperty:e(232103).f})},431700:function(){},213202:function(y,f,e){"use strict";var s=e(71766),n=e(400018),a=e(57620),t=e(728099),r=e(26210),i=e(671318),o=e(448423),d=e(640142),u=e(99481),l=e(67062),c=e(117926).set,g=e(532876)(),v=e(699871),h=e(441230),p=e(456209),m=e(786476),P="Promise",_=n.TypeError,b=n.process,S=b&&b.versions,E=S&&S.v8||"",A=n[P],T=t(b)=="process",I=function(){},R,j,x,L,H=j=v.f,G=!!function(){try{var N=A.resolve(1),M=(N.constructor={})[e(501932)("species")]=function(U){U(I,I)};return(T||typeof PromiseRejectionEvent=="function")&&N.then(I)instanceof M&&E.indexOf("6.6")!==0&&p.indexOf("Chrome/66")===-1}catch(U){}}(),X=function(N){var M;return i(N)&&typeof(M=N.then)=="function"?M:!1},K=function(N,M){if(!N._n){N._n=!0;var U=N._c;g(function(){for(var Q=N._v,$=N._s==1,ee=0,oe=function(pe){var me=$?pe.ok:pe.fail,Se=pe.resolve,Pe=pe.reject,He=pe.domain,fe,ve,ae;try{me?($||(N._h==2&&k(N),N._h=1),me===!0?fe=Q:(He&&He.enter(),fe=me(Q),He&&(He.exit(),ae=!0)),fe===pe.promise?Pe(_("Promise-chain cycle")):(ve=X(fe))?ve.call(fe,Se,Pe):Se(fe)):Pe(Q)}catch(le){He&&!ae&&He.exit(),Pe(le)}};U.length>ee;)oe(U[ee++]);N._c=[],N._n=!1,M&&!N._h&&J(N)})}},J=function(N){c.call(n,function(){var M=N._v,U=z(N),Q,$,ee;if(U&&(Q=h(function(){T?b.emit("unhandledRejection",M,N):($=n.onunhandledrejection)?$({promise:N,reason:M}):(ee=n.console)&&ee.error&&ee.error("Unhandled promise rejection",M)}),N._h=T||z(N)?2:1),N._a=void 0,U&&Q.e)throw Q.v})},z=function(N){return N._h!==1&&(N._a||N._c).length===0},k=function(N){c.call(n,function(){var M;T?b.emit("rejectionHandled",N):(M=n.onrejectionhandled)&&M({promise:N,reason:N._v})})},F=function(N){var M=this;M._d||(M._d=!0,M=M._w||M,M._v=N,M._s=2,M._a||(M._a=M._c.slice()),K(M,!0))},q=function(N){var M=this,U;if(!M._d){M._d=!0,M=M._w||M;try{if(M===N)throw _("Promise can't be resolved itself");(U=X(N))?g(function(){var Q={_w:M,_d:!1};try{U.call(N,a(q,Q,1),a(F,Q,1))}catch($){F.call(Q,$)}}):(M._v=N,M._s=1,K(M,!1))}catch(Q){F.call({_w:M,_d:!1},Q)}}};G||(A=function(M){d(this,A,P,"_h"),o(M),R.call(this);try{M(a(q,this,1),a(F,this,1))}catch(U){F.call(this,U)}},R=function(M){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},R.prototype=e(645270)(A.prototype,{then:function(M,U){var Q=H(l(this,A));return Q.ok=typeof M=="function"?M:!0,Q.fail=typeof U=="function"&&U,Q.domain=T?b.domain:void 0,this._c.push(Q),this._a&&this._a.push(Q),this._s&&K(this,!1),Q.promise},catch:function(N){return this.then(void 0,N)}}),x=function(){var N=new R;this.promise=N,this.resolve=a(q,N,1),this.reject=a(F,N,1)},v.f=H=function(N){return N===A||N===L?new x(N):j(N)}),r(r.G+r.W+r.F*!G,{Promise:A}),e(405001)(A,P),e(622095)(P),L=e(880535)[P],r(r.S+r.F*!G,P,{reject:function(M){var U=H(this),Q=U.reject;return Q(M),U.promise}}),r(r.S+r.F*(s||!G),P,{resolve:function(M){return m(s&&this===L?A:this,M)}}),r(r.S+r.F*!(G&&e(914326)(function(N){A.all(N).catch(I)})),P,{all:function(M){var U=this,Q=H(U),$=Q.resolve,ee=Q.reject,oe=h(function(){var pe=[],me=0,Se=1;u(M,!1,function(Pe){var He=me++,fe=!1;pe.push(void 0),Se++,U.resolve(Pe).then(function(ve){fe||(fe=!0,pe[He]=ve,--Se||$(pe))},ee)}),--Se||$(pe)});return oe.e&&ee(oe.v),Q.promise},race:function(M){var U=this,Q=H(U),$=Q.reject,ee=h(function(){u(M,!1,function(oe){U.resolve(oe).then(Q.resolve,$)})});return ee.e&&$(ee.v),Q.promise}})},537323:function(y,f,e){"use strict";var s=e(430026)(!0);e(826672)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n=this._t,a=this._i,t;return a>=n.length?{value:void 0,done:!0}:(t=s(n,a),this._i+=t.length,{value:t,done:!1})})},434719:function(y,f,e){var s=e(26210),n=e(234039)(!0);s(s.S,"Object",{entries:function(t){return n(t)}})},968329:function(y,f,e){"use strict";var s=e(26210),n=e(880535),a=e(400018),t=e(67062),r=e(786476);s(s.P+s.R,"Promise",{finally:function(i){var o=t(this,n.Promise||a.Promise),d=typeof i=="function";return this.then(d?function(u){return r(o,i()).then(function(){return u})}:i,d?function(u){return r(o,i()).then(function(){throw u})}:i)}})},182827:function(y,f,e){"use strict";var s=e(26210),n=e(699871),a=e(441230);s(s.S,"Promise",{try:function(t){var r=n.f(this),i=a(t);return(i.e?r.reject:r.resolve)(i.v),r.promise}})},506869:function(y,f,e){e(777869);for(var s=e(400018),n=e(653776),a=e(425264),t=e(501932)("toStringTag"),r="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),i=0;i<r.length;i++){var o=r[i],d=s[o],u=d&&d.prototype;u&&!u[t]&&n(u,t,o),a[o]=a.Array}},871502:function(y,f,e){e(195052),e(577753),e(817380),e(132506),e(75106),e(468670),e(464583),e(859266),e(160548),e(997338),e(153889),e(982066),e(334074),e(453920),e(421786),e(188078),e(226670),e(449436),e(340053),e(491871),e(849498),e(921282),e(523010),e(559038),e(193140),e(457860),e(980336),e(552426),e(999418),e(156040),e(718996),e(525005),e(158367),e(657197),e(460703),e(625829);var s=e(626003);y.exports=s.Array},328571:function(y,f,e){e(340053),e(107244),e(460703),e(625829);var s=e(626003);y.exports=s.Map},644640:function(y,f,e){e(49589),e(467668),e(70994),e(640276),e(708289),e(902610),e(722108),e(912665),e(294882),e(409087),e(645e3),e(420907),e(917632),e(55415),e(171258),e(355931),e(950508),e(863875),e(353465),e(676227),e(417420),e(325500),e(572410),e(460703),e(928335),e(342950),e(524650),e(774963),e(891989),e(260388),e(665991);var s=e(626003);y.exports=s.Object},134051:function(y,f,e){e(353485),e(340053),e(460703),e(481737),e(62677),e(732638),e(967637),e(625829);var s=e(626003);y.exports=s.Promise},744166:function(y,f,e){e(340053),e(460703),e(348926),e(625829);var s=e(626003);y.exports=s.Set},945498:function(y,f,e){e(460703),e(59892),e(711571),e(676763),e(333181),e(902673),e(591458),e(834124),e(746926),e(191101),e(631459),e(484828),e(175196),e(205954),e(220833),e(830234),e(267227),e(832766),e(476370),e(586825),e(932233),e(957794),e(625829),e(909401),e(165324),e(626776),e(408093),e(32068),e(795660),e(172062),e(3081),e(912359),e(250878),e(546515),e(616052),e(366893);var s=e(626003);y.exports=s.String},42405:function(y,f,e){e(75106),e(460703),e(49589),e(507124),e(580486),e(189854),e(55381),e(27129),e(553698),e(473230),e(212212),e(849205),e(462856),e(662186),e(580909),e(797673),e(898495),e(891989),e(260388),e(665991);var s=e(626003);y.exports=s.Symbol},215852:function(y,f,e){var s=e(760331),n=e(458978),a=TypeError;y.exports=function(t){if(s(t))return t;throw a(n(t)+" is not a function")}},694770:function(y,f,e){var s=e(87922),n=e(458978),a=TypeError;y.exports=function(t){if(s(t))return t;throw a(n(t)+" is not a constructor")}},579812:function(y,f,e){var s=e(760331),n=String,a=TypeError;y.exports=function(t){if(typeof t=="object"||s(t))return t;throw a("Can't set "+n(t)+" as a prototype")}},287637:function(y,f,e){var s=e(540496),n=e(171197),a=e(723314).f,t=s("unscopables"),r=Array.prototype;r[t]==null&&a(r,t,{configurable:!0,value:n(null)}),y.exports=function(i){r[t][i]=!0}},826439:function(y,f,e){"use strict";var s=e(630192).charAt;y.exports=function(n,a,t){return a+(t?s(n,a).length:1)}},819767:function(y,f,e){var s=e(393535),n=TypeError;y.exports=function(a,t){if(s(t,a))return a;throw n("Incorrect invocation")}},454776:function(y,f,e){var s=e(97865),n=String,a=TypeError;y.exports=function(t){if(s(t))return t;throw a(n(t)+" is not an object")}},551405:function(y,f,e){var s=e(105978);y.exports=s(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},14366:function(y,f,e){"use strict";
vendor: 4,331 bytes, line 12
12var s=e(180240),n=e(292054),a=e(220446),t=e(245077),r=Math.min;y.exports=[].copyWithin||function(o,d){var u=s(this),l=a(u),c=n(o,l),g=n(d,l),v=arguments.length>2?arguments[2]:void 0,h=r((v===void 0?l:n(v,l))-g,l-c),p=1;for(g<c&&c<g+h&&(p=-1,g+=h-1,c+=h-1);h-- >0;)g in u?u[c]=u[g]:t(u,c),c+=p,g+=p;return u}},73272:function(y,f,e){"use strict";var s=e(180240),n=e(292054),a=e(220446);y.exports=function(r){for(var i=s(this),o=a(i),d=arguments.length,u=n(d>1?arguments[1]:void 0,o),l=d>2?arguments[2]:void 0,c=l===void 0?o:n(l,o);c>u;)i[u++]=r;return i}},216686:function(y,f,e){"use strict";var s=e(105497).forEach,n=e(384090),a=n("forEach");y.exports=a?[].forEach:function(r){return s(this,r,arguments.length>1?arguments[1]:void 0)}},523450:function(y,f,e){"use strict";var s=e(930415),n=e(50067),a=e(180240),t=e(220617),r=e(336636),i=e(87922),o=e(220446),d=e(934973),u=e(307871),l=e(438619),c=Array;y.exports=function(v){var h=a(v),p=i(this),m=arguments.length,P=m>1?arguments[1]:void 0,_=P!==void 0;_&&(P=s(P,m>2?arguments[2]:void 0));var b=l(h),S=0,E,A,T,I,R,j;if(b&&!(this===c&&r(b)))for(I=u(h,b),R=I.next,A=p?new this:[];!(T=n(R,I)).done;S++)j=_?t(I,P,[T.value,S],!0):T.value,d(A,S,j);else for(E=o(h),A=p?new this(E):c(E);E>S;S++)j=_?P(h[S],S):h[S],d(A,S,j);return A.length=S,A}},373465:function(y,f,e){var s=e(610508),n=e(292054),a=e(220446),t=function(r){return function(i,o,d){var u=s(i),l=a(u),c=n(d,l),g;if(r&&o!=o){for(;l>c;)if(g=u[c++],g!=g)return!0}else for(;l>c;c++)if((r||c in u)&&u[c]===o)return r||c||0;return!r&&-1}};y.exports={includes:t(!0),indexOf:t(!1)}},748409:function(y,f,e){var s=e(930415),n=e(187719),a=e(180240),t=e(220446),r=function(i){var o=i==1;return function(d,u,l){for(var c=a(d),g=n(c),v=s(u,l),h=t(g),p,m;h-- >0;)if(p=g[h],m=v(p,h,c),m)switch(i){case 0:return p;case 1:return h}return o?-1:void 0}};y.exports={findLast:r(0),findLastIndex:r(1)}},105497:function(y,f,e){var s=e(930415),n=e(497315),a=e(187719),t=e(180240),r=e(220446),i=e(389794),o=n([].push),d=function(u){var l=u==1,c=u==2,g=u==3,v=u==4,h=u==6,p=u==7,m=u==5||h;return function(P,_,b,S){for(var E=t(P),A=a(E),T=s(_,b),I=r(A),R=0,j=S||i,x=l?j(P,I):c||p?j(P,0):void 0,L,H;I>R;R++)if((m||R in A)&&(L=A[R],H=T(L,R,E),u))if(l)x[R]=H;else if(H)switch(u){case 3:return!0;case 5:return L;case 6:return R;case 2:o(x,L)}else switch(u){case 4:return!1;case 7:o(x,L)}return h?-1:g||v?v:x}};y.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},329984:function(y,f,e){"use strict";var s=e(200111),n=e(610508),a=e(92257),t=e(220446),r=e(384090),i=Math.min,o=[].lastIndexOf,d=!!o&&1/[1].lastIndexOf(1,-0)<0,u=r("lastIndexOf"),l=d||!u;y.exports=l?function(g){if(d)return s(o,this,arguments)||0;var v=n(this),h=t(v),p=h-1;for(arguments.length>1&&(p=i(p,a(arguments[1]))),p<0&&(p=h+p);p>=0;p--)if(p in v&&v[p]===g)return p||0;return-1}:o},610518:function(y,f,e){var s=e(105978),n=e(540496),a=e(465263),t=n("species");y.exports=function(r){return a>=51||!s(function(){var i=[],o=i.constructor={};return o[t]=function(){return{foo:1}},i[r](Boolean).foo!==1})}},384090:function(y,f,e){"use strict";var s=e(105978);y.exports=function(n,a){var t=[][n];return!!t&&s(function(){t.call(null,a||function(){return 1},1)})}},305467:function(y,f,e){var s=e(215852),n=e(180240),a=e(187719),t=e(220446),r=TypeError,i=function(o){return function(d,u,l,c){s(u);var g=n(d),v=a(g),h=t(g),p=o?h-1:0,m=o?-1:1;if(l<2)for(;;){if(p in v){c=v[p],p+=m;break}if(p+=m,o?p<0:h<=p)throw r("Reduce of empty array with no initial value")}for(;o?p>=0:h>p;p+=m)p in v&&(c=u(c,v[p],p,g));return c}};y.exports={left:i(!1),right:i(!0)}},739965:function(y,f,e){"use strict";var s=e(427156),n=e(358329),a=TypeError,t=Object.getOwnPropertyDescriptor,r=s&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(i){return i instanceof TypeError}}();y.exports=r?function(i,o){if(n(i)&&!t(i,"length").writable)throw a("Cannot set read only .length");return i.length=o}:function(i,o){return i.length=o}},198040:function(y,f,e){var s=e(292054),n=e(220446),a=e(934973),t=Array,r=Math.max;y.exports=function(i,o,d){for(var u=n(i),l=s(o,u),c=s(d===void 0?u:d,u),g=t(r(c-l,0)),v=0;l<c;l++,v++)a(g,v,i[l]);return g.length=v,g}},880805:function(y,f,e){var s=e(497315);y.exports=s([].slice)}
12,485062:function(y,f,e){var s=e(198040),n=Math.floor,a=function(i,o){var d=i.length,u=n(d/2);return d<8?t(i,o):r(i,a(s(i,0,u),o),a(s(i,u),o),o)},t=function(i,o){for(var d=i.length,u=1,l,c;u<d;){for(c=u,l=i[u];c&&o(i[c-1],l)>0;)i[c]=i[--c];c!==u++&&(i[c]=l)}return i},r=function(i,o,d,u){for(var l=o.length,c=d.length,g=0,v=0;g<l||v<c;)i[g+v]=g<l&&v<c?u(o[g],d[v])<=0?o[g++]:d[v++]:g<l?o[g++]:d[v++];return i};y.exports=a},950973:function(y,f,e){var s=e(358329),n=e(87922),a=e(97865),t=e(540496),r=t("species"),i=Array;y.exports=function(o){var d;return s(o)&&(d=o.constructor,n(d)&&(d===i||s(d.prototype))?d=void 0:a(d)&&(d=d[r],d===null&&(d=void 0))),d===void 0?i:d}},389794:function(y,f,e){var s=e(950973);y.exports=function(n,a){return new(s(n))(a===0?0:a)}},220617:function(y,f,e){var s=e(454776),n=e(46564);y.exports=function(a,t,r,i){try{return i?t(s(r)[0],r[1]):t(r)}catch(o){n(a,"throw",o)}}},920972:function(y,f,e){var s=e(540496),n=s("iterator"),a=!1;try{var t=0,r={next:function(){return{done:!!t++}},return:function(){a=!0}};r[n]=function(){return this},Array.from(r,function(){throw 2})}catch(i){}y.exports=function(i,o){if(!o&&!a)return!1;var d=!1;try{var u={};u[n]=function(){return{next:function(){return{done:d=!0}}}},i(u)}catch(l){}return d}},155124:function(y,f,e){var s=e(677e3),n=s({}.toString),a=s("".slice);y.exports=function(t){return a(n(t),8,-1)}},473070:function(y,f,e){var s=e(337620),n=e(760331),a=e(155124),t=e(540496),r=t("toStringTag"),i=Object,o=a(function(){return arguments}())=="Arguments",d=function(u,l){try{return u[l]}catch(c){}};y.exports=s?a:function(u){var l,c,g;return u===void 0?"Undefined":u===null?"Null":typeof(c=d(l=i(u),r))=="string"?c:o?a(l):(g=a(l))=="Object"&&n(l.callee)?"Arguments":g}},952222:function(y,f,e){"use strict";var s=e(723314).f,n=e(171197),a=e(142352),t=e(930415),r=e(819767),i=e(261602),o=e(705664),d=e(227235),u=e(282012),l=e(812135),c=e(427156),g=e(578483).fastKey,v=e(347846),h=v.set,p=v.getterFor;y.exports={getConstructor:function(m,P,_,b){var S=m(function(R,j){r(R,E),h(R,{t
vendor: 4,582 bytes, line 12
12ype:P,index:n(null),first:void 0,last:void 0,size:0}),c||(R.size=0),i(j)||o(j,R[b],{that:R,AS_ENTRIES:_})}),E=S.prototype,A=p(P),T=function(R,j,x){var L=A(R),H=I(R,j),G,X;return H?H.value=x:(L.last=H={index:X=g(j,!0),key:j,value:x,previous:G=L.last,next:void 0,removed:!1},L.first||(L.first=H),G&&(G.next=H),c?L.size++:R.size++,X!=="F"&&(L.index[X]=H)),R},I=function(R,j){var x=A(R),L=g(j),H;if(L!=="F")return x.index[L];for(H=x.first;H;H=H.next)if(H.key==j)return H};return a(E,{clear:function(){for(var j=this,x=A(j),L=x.index,H=x.first;H;)H.removed=!0,H.previous&&(H.previous=H.previous.next=void 0),delete L[H.index],H=H.next;x.first=x.last=void 0,c?x.size=0:j.size=0},delete:function(R){var j=this,x=A(j),L=I(j,R);if(L){var H=L.next,G=L.previous;delete x.index[L.index],L.removed=!0,G&&(G.next=H),H&&(H.previous=G),x.first==L&&(x.first=H),x.last==L&&(x.last=G),c?x.size--:j.size--}return!!L},forEach:function(j){for(var x=A(this),L=t(j,arguments.length>1?arguments[1]:void 0),H;H=H?H.next:x.first;)for(L(H.value,H.key,this);H&&H.removed;)H=H.previous},has:function(j){return!!I(this,j)}}),a(E,_?{get:function(j){var x=I(this,j);return x&&x.value},set:function(j,x){return T(this,j===0?0:j,x)}}:{add:function(j){return T(this,j=j===0?0:j,j)}}),c&&s(E,"size",{get:function(){return A(this).size}}),S},setStrong:function(m,P,_){var b=P+" Iterator",S=p(P),E=p(b);d(m,P,function(A,T){h(this,{type:b,target:A,state:S(A),kind:T,last:void 0})},function(){for(var A=E(this),T=A.kind,I=A.last;I&&I.removed;)I=I.previous;return!A.target||!(A.last=I=I?I.next:A.state.first)?(A.target=void 0,u(void 0,!0)):T=="keys"?u(I.key,!1):T=="values"?u(I.value,!1):u([I.key,I.value],!1)},_?"entries":"values",!_,!0),l(P)}}},574002:function(y,f,e){"use strict";var s=e(532380),n=e(636979),a=e(497315),t=e(221970),r=e(148134),i=e(578483),o=e(705664),d=e(819767),u=e(760331),l=e(261602),c=e(97865),g=e(105978),v=e(920972),h=e(553837),p=e(785783);y.exports=function(m,P,_){var b=m.indexOf("Map")!==-1,S=m.indexOf("Weak")!==-1,E=b?"set":"add",A=n[m],T=A&&A.prototype,I=A,R={},j=function(J){var z=a(T[J]);r(T,J,J=="add"?function(F){return z(this,F===0?0:F),this}:J=="delete"?function(k){return S&&!c(k)?!1:z(this,k===0?0:k)}:J=="get"?function(F){return S&&!c(F)?void 0:z(this,F===0?0:F)}:J=="has"?function(F){return S&&!c(F)?!1:z(this,F===0?0:F)}:function(F,q){return z(this,F===0?0:F,q),this})},x=t(m,!u(A)||!(S||T.forEach&&!g(function(){new A().entries().next()})));if(x)I=_.getConstructor(P,m,b,E),i.enable();else if(t(m,!0)){var L=new I,H=L[E](S?{}:-0,1)!=L,G=g(function(){L.has(1)}),X=v(function(J){new A(J)}),K=!S&&g(function(){for(var J=new A,z=5;z--;)J[E](z,z);return!J.has(-0)});X||(I=P(function(J,z){d(J,T);var k=p(new A,J,I);return l(z)||o(z,k[E],{that:k,AS_ENTRIES:b}),k}),I.prototype=T,T.constructor=I),(G||K)&&(j("delete"),j("has"),b&&j("get")),(K||H)&&j(E),S&&T.clear&&delete T.clear}return R[m]=I,s({global:!0,constructor:!0,forced:I!=A},R),h(I,m),S||_.setStrong(I,m,b),I}},375932:function(y,f,e){var s=e(955553),n=e(781271),a=e(522281),t=e(723314);y.exports=function(r,i,o){for(var d=n(i),u=t.f,l=a.f,c=0;c<d.length;c++){var g=d[c];!s(r,g)&&!(o&&s(o,g))&&u(r,g,l(i,g))}}},766327:function(y,f,e){var s=e(540496),n=s("match");y.exports=function(a){var t=/./;try{"/./"[a](t)}catch(r){try{return t[n]=!1,"/./"[a](t)}catch(i){}}return!1}},78200:function(y,f,e){var s=e(105978);y.exports=!s(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},350469:function(y,f,e){var s=e(497315),n=e(8511),a=e(227876),t=/"/g,r=s("".replace);y.exports=function(i,o,d,u){var l=a(n(i)),c="<"+o;return d!==""&&(c+=" "+d+'="'+r(a(u),t,"&quot;")+'"'),c+">"+l+"</"+o+">"}},282012:function(y){y.exports=function(f,e){return{value:f,done:e}}},847146:function(y,f,e){var s=e(427156),n=e(723314),a=e(581927);y.exports=s?function(t,r,i){return n.f(t,r,a(1,i))}:function(t,r,i){return t[r]=i,t}},581927:function(y){y.exports=function(f,e){return{enumerable:!(f&1),configurable:!(f&2),writable:!(f&4),value:e}}},934973:function(y,f,e){"use strict";var s=e(438978),n=e(723314),a=e(581927);y.exports=function(t,r,i){var o=s(r);o in t?n.f(t,o,a(0,i)):t[o]=i}},772030:function(y,f,e){var s=e(370859),n=e(723314);y.exports=function(a,t,r){return r.get&&s(r.get,t,{getter:!0}),r.set&&s(r.set,t,{setter:!0}),n.f(a,t,r)}},148134:function(y,f,e){var s=e(760331),n=e(723314),a=e(370859),t=e(904158);y.exports=function(r,i,o,d){d||(d={});var u=d.enumerable,l=d.name!==void 0?d.name:i;if(s(o)&&a(o,l,d),d.global)u?r[i]=o:t(i,o);else{try{d.unsafe?r[i]&&(u=!0):delete r[i]}catch(c){}
12u?r[i]=o:n.f(r,i,{value:o,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return r}},142352:function(y,f,e){var s=e(148134);y.exports=function(n,a,t){for(var r in a)s(n,r,a[r],t);return n}},904158:function(y,f,e){var s=e(636979),n=Object.defineProperty;y.exports=function(a,t){try{n(s,a,{value:t,configurable:!0,writable:!0})}catch(r){s[a]=t}return t}},245077:function(y,f,e){"use strict";var s=e(458978),n=TypeError;y.exports=function(a,t){if(!delete a[t])throw n("Cannot delete property "+s(t)+" of "+s(a))}},427156:function(y,f,e){var s=e(105978);y.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},239082:function(y){var f=typeof document=="object"&&document.all,e=typeof f=="undefined"&&f!==void 0;y.exports={all:f,IS_HTMLDDA:e}},362877:function(y,f,e){var s=e(636979),n=e(97865),a=s.document,t=n(a)&&n(a.createElement);y.exports=function(r){return t?a.createElement(r):{}}},557168:function(y){var f=TypeError,e=9007199254740991;y.exports=function(s){if(s>e)throw f("Maximum allowed index exceeded");return s}},59118:function(y){y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},67278:function(y,f,e){var s=e(362877),n=s("span").classList,a=n&&n.constructor&&n.constructor.prototype;y.exports=a===Object.prototype?void 0:a},525635:function(y,f,e){var s=e(117088),n=s.match(/firefox\/(\d+)/i);y.exports=!!n&&+n[1]},276817:function(y,f,e){var s=e(881093),n=e(453025);y.exports=!s&&!n&&typeof window=="object"&&typeof document=="object"},881093:function(y){y.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},568753:function(y,f,e){var s=e(117088);y.exports=/MSIE|Trident/.test(s)},148094:function(y,f,e){var s=e(117088),n=e(636979);y.exports=/ipad|iphone|ipod/i.test(s)&&n.Pebble!==void 0},392329:function(y,f,e){var s=e(117088);
12y.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(s)},453025:function(y,f,e){var s=e(155124),n=e(636979);y.exports=s(n.process)=="process"},474401:function(y,f,e){var s=e(117088);y.exports=/web0s(?!.*chrome)/i.test(s)},117088:function(y,f,e){var s=e(174883);y.exports=s("navigator","userAgent")||""},465263:function(y,f,e){var s=e(636979),n=e(117088),a=s.process,t=s.Deno,r=a&&a.versions||t&&t.version,i=r&&r.v8,o,d;i&&(o=i.split("."),d=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!d&&n&&(o=n.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=n.match(/Chrome\/(\d+)/),o&&(d=+o[1]))),y.exports=d},799539:function(y,f,e){var s=e(117088),n=s.match(/AppleWebKit\/(\d+)\./);y.exports=!!n&&+n[1]},615339:function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},12374:function(y,f,e){var s=e(497315),n=Error,a=s("".replace),t=function(o){return String(n(o).stack)}("zxcasd"),r=/\n\s*at [^:]*:[^\n]*/,i=r.test(t);y.exports=function(o,d){if(i&&typeof o=="string"&&!n.prepareStackTrace)for(;d--;)o=a(o,r,"");return o}},577887:function(y,f,e){var s=e(105978),n=e(581927);y.exports=!s(function(){var a=Error("a");return"stack"in a?(Object.defineProperty(a,"stack",n(1,7)),a.stack!==7):!0})},532380:function(y,f,e){var s=e(636979),n=e(522281).f,a=e(847146),t=e(148134),r=e(904158),i=e(375932),o=e(221970);y.exports=function(d,u){var l=d.target,c=d.global,g=d.stat,v,h,p,m,P,_;if(c?h=s:g?h=s[l]||r(l,{}):h=(s[l]||{}).prototype,h)for(p in u){if(P=u[p],d.dontCallGetSet?(_=n(h,p),m=_&&_.value):m=h[p],v=o(c?p:l+(g?".":"#")+p,d.forced),!v&&m!==void 0){if(typeof P==typeof m)continue;i(P,m)}(d.sham||m&&m.sham)&&a(P,"sham",!0),t(h,p,P,d)}}},105978:function(y){y.exports=function(f){try{return!!f()}catch(e){return!0}}},822739:function(y,f,e){"use strict";e(59892);var s=e(497315),n=e(148134),a=e(563595),t=e(105978),r=e(540496),i=e(847146),o=r("species"),d=RegExp.prototype;y.exports=function(u,l,c,g){var v=r(u),h=!t(function(){var _={};return _[v]=function(){return 7},""[u](_)!=7}),p=h&&!t(function(){var _=!1,b=/a/;return u==="split"&&(b={},b.constructor={},b.constructor[o]=function(){return b},b.flags="",b[v]=/./[v]),b.exec=function(){return _=!0,null},b[v](""),!_});if(!h||!p||c){var m=s(/./[v]),P=l(v,""[u],function(_,b,S,E,A){var T=s(_),I=b.exec;return I===a||I===d.exec?h&&!A?{done:!0,value:m(b,S,E)}:{done:!0,value:T(S,b,E)}:{done:!1}});n(String.prototype,u,P[0]),n(d,v,P[1])}g&&i(d[v],"sham",!0)}},890010:function(y,f,e){"use strict";var s=e(358329),n=e(220446),a=e(557168),t=e(930415),r=function(i,o,d,u,l,c,g,v){for(var h=l,p=0,m=g?t(g,v):!1,P,_;p<u;)p in d&&(P=m?m(d[p],p,o):d[p],c>0&&s(P)?(_=n(P),h=r(i,o,P,_,h,c-1)-1):(a(h+1),i[h]=P),h++),p++;return h};y.exports=r},775219:function(y,f,e){var s=e(105978);y.exports=!s(function(){return Object.isExtensible(Object.preventExtensions({}))})},200111:function(y,f,e){var s=e(4192),n=Function.prototype,a=n.apply,t=n.call;y.exports=typeof Reflect=="object"&&Reflect.apply||(s?t.bind(a):function(){return t.apply(a,arguments)})},930415:function(y,f,e){var s=e(497315),n=e(215852),a=e(4192),t=s(s.bind);y.exports=function(r,i){return n(r),i===void 0?r:a?t(r,i):function(){return r.apply(i,arguments)}}},4192:function(y,f,e){var s=e(105978);y.exports=!s(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},50067:function(y,f,e){var s=e(4192),n=Function.prototype.call;y.exports=s?n.bind(n):function(){return n.apply(n,arguments)}},877902:function(y,f,e){var s=e(427156),n=e(955553),a=Function.prototype,t=s&&Object.getOwnPropertyDescriptor,r=n(a,"name"),i=r&&function(){}.name==="something",o=r&&(!s||s&&t(a,"name").configurable);y.exports={EXISTS:r,PROPER:i,CONFIGURABLE:o}},677e3:function(y,f,e){var s=e(4192),n=Function.prototype,a=n.call,t=s&&n.bind.bind(a,a);y.exports=s?t:function(r){return function(){return a.apply(r,arguments)}}},497315:function(y,f,e){var s=e(155124),n=e(677e3);y.exports=function(a){if(s(a)==="Function")return n(a)}},174883:function(y,f,e){var s=e(636979),n=e(760331),a=function(t){return n(t)?t:void 0};y.exports=function(t,r){return arguments.length<2?a(s[t]):s[t]&&s[t][r]}},438619:function(y,f,e){var s=e(473070),n=e(917293),a=e(261602),t=e(347909),r=e(540496),i=r("iterator");
12y.exports=function(o){if(!a(o))return n(o,i)||n(o,"@@iterator")||t[s(o)]}},307871:function(y,f,e){var s=e(50067),n=e(215852),a=e(454776),t=e(458978),r=e(438619),i=TypeError;y.exports=function(o,d){var u=arguments.length<2?r(o):d;if(n(u))return a(s(u,o));throw i(t(o)+" is not iterable")}},917293:function(y,f,e){var s=e(215852),n=e(261602);y.exports=function(a,t){var r=a[t];return n(r)?void 0:s(r)}},719501:function(y,f,e){var s=e(497315),n=e(180240),a=Math.floor,t=s("".charAt),r=s("".replace),i=s("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;y.exports=function(u,l,c,g,v,h){var p=c+u.length,m=g.length,P=d;return v!==void 0&&(v=n(v),P=o),r(h,P,function(_,b){var S;switch(t(b,0)){case"$":return"$";case"&":return u;case"`":return i(l,0,c);case"'":return i(l,p);case"<":S=v[i(b,1,-1)];break;default:var E=+b;if(E===0)return _;if(E>m){var A=a(E/10);return A===0?_:A<=m?g[A-1]===void 0?t(b,1):g[A-1]+t(b,1):_}S=g[E-1]}return S===void 0?"":S})}},636979:function(y,f,e){var s=function(n){return n&&n.Math==Math&&n};y.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},955553:function(y,f,e){var s=e(497315),n=e(180240),a=s({}.hasOwnProperty);y.exports=Object.hasOwn||function(r,i){return a(n(r),i)}},347889:function(y){y.exports={}},243593:function(y,f,e){var s=e(636979);y.exports=function(n,a){var t=s.console;t&&t.error&&(arguments.length==1?t.error(n):t.error(n,a))}},186299:function(y,f,e){var s=e(174883);y.exports=s("document","documentElement")},458661:function(y,f,e){var s=e(427156),n=e(105978),a=e(362877);y.exports=!s&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},187719:function(y,f,e){var s=e(497315),n=e(105978),a=e(155124),t=Object,r=s("".split);y.exports=n(function(){return!t("z").propertyIsEnumerable(0)})?function(i){return a(i)=="String"?r(i,""):t(i)}:t},785783:function(y,f,e){var s=e(760331),n=e(97865),a=e(900296);y.exports=function(t,r,i){var o,d;return a&&s(o=r.constructor)&&o!==i&&n(d=o.prototype)&&d!==i.prototype&&a(t,d),t}},653843:function(y,f,e){var s=e(497315),n=e(760331),a=e(614735),t=s(Function.toString);n(a.inspectSource)||(a.inspectSource=function(r){return t(r)}),y.exports=a.inspectSource},936757:function(y,f,e){var s=e(97865),n=e(847146);y.exports=function(a,t){s(t)&&"cause"in t&&n(a,"cause",t.cause)}},578483:function(y,f,e){var s=e(532380),n=e(497315),a=e(347889),t=e(97865),r=e(955553),i=e(723314).f,o=e(834078),d=e(188275),u=e(211031),l=e(870068),c=e(775219),g=!1,v=l("meta"),h=0,p=function(E){i(E,v,{value:{objectID:"O"+h++,weakData:{}}})},m=function(E,A){if(!t(E))return typeof E=="symbol"?E:(typeof E=="string"?"S":"P")+E;if(!r(E,v)){if(!u(E))return"F";if(!A)return"E";p(E)}return E[v].objectID},P=function(E,A){if(!r(E,v)){if(!u(E))return!0;if(!A)return!1;p(E)}return E[v].weakData},_=function(E){return c&&g&&u(E)&&!r(E,v)&&p(E),E},b=function(){S.enable=function(){},g=!0;var E=o.f,A=n([].splice),T={};T[v]=1,E(T).length&&(o.f=function(I){for(var R=E(I),j=0,x=R.length;j<x;j++)if(R[j]===v){A(R,j,1);break}return R},s({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},S=y.exports={enable:b,fastKey:m,getWeakData:P,onFreeze:_};a[v]=!0},347846:function(y,f,e){var s=e(947040),n=e(636979),a=e(97865),t=e(847146),r=e(955553),i=e(614735),o=e(598784),d=e(347889),u="Object already initialized",l=n.TypeError,c=n.WeakMap,g,v,h,p=function(b){return h(b)?v(b):g(b,{})},m=function(b){return function(S){var E;if(!a(S)||(E=v(S)).type!==b)throw l("Incompatible receiver, "+b+" required");return E}};if(s||i.state){var P=i.state||(i.state=new c);P.get=P.get,P.has=P.has,P.set=P.set,g=function(b,S){if(P.has(b))throw l(u);return S.facade=b,P.set(b,S),S},v=function(b){return P.get(b)||{}},h=function(b){return P.has(b)}}else{var _=o("state");d[_]=!0,g=function(b,S){if(r(b,_))throw l(u);return S.facade=b,t(b,_,S),S},v=function(b){return r(b,_)?b[_]:{}},h=function(b){return r(b,_)}}y.exports={set:g,get:v,has:h,enforce:p,getterFor:m}},336636:function(y,f,e){var s=e(540496),n=e(347909),a=s("iterator"),t=Array.prototype;y.exports=function(r){return r!==void 0&&(n.Array===r||t[a]===r)}},358329:function(y,f,e){var s=e(155124);y.exports=Array.isArray||function(a){return s(a)=="Array"}},760331:function(y,f,e){var s=e(239082),n=s.all;y.exports=s.IS_HTMLDDA?function(a){return typeof a=="function"||a===n}:function(a){return typeof a=="function"}},87922:function(y,f,e){var s=e(497315),n=e(105978),a=e(760331),t=e(473070),r=e(174883),i=e(653843),o=function(){},d=[],u=r("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=s(l.exec),g=!l.exec(o),v=function(m){if(!a(m))return!1;try{return u(o,d,m),!0}catch(P){return!1}},h=function(m){if(!a(m))return!1;switch(t(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!c(l,i(m))}catch(P){return!0}};h.sham=!0,y.exports=!u||n(function(){var p;return v(v.call)||!v(Object)||!v(function(){p=!0})||p})?h:v},221970:function(y,f,e){var s=e(105978),n=e(760331),a=/#|\.prototype\./,t=function(u,l){var c=i[r(u)];return c==d?!0:c==o?!1:n(l)?s(l):!!l},r=t.normalize=function(u){return String(u).replace(a,".").toLowerCase()},i=t.data={},o=t.NATIVE="N",d=t.POLYFILL="P";y.exports=t},261602:function(y){y.exports=function(f){return f==null}},97865:function(y,f,e){var s=e(760331),n=e(239082),a=n.all;y.exports=n.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:s(t)||t===a}:function(t){return typeof t=="object"?t!==null:s(t)}},471746:function(y){y.exports=!1},994553:function(y,f,e){var s=e(97865),n=e(155124),a=e(540496),t=a("match");y.exports=function(r){var i;return s(r)&&((i=r[t])!==void 0?!!i:n(r)=="RegExp")}},818652:function(y,f,e){var s=e(174883),n=e(760331),a=e(393535),t=e(984772),r=Object;y.exports=t?function(i){return typeof i=="symbol"}:function(i){var o=s("Symbol");return n(o)&&a(o.prototype,r(i))}},705664:function(y,f,e){var s=e(930415),n=e(50067),a=e(454776),t=e(458978),r=e(336636),i=e(220446),o=e(393535),d=e(307871),u=e(438619),l=e(46564),c=TypeError,g=function(h,p){this.stopped=h,this.result=p},v=g.prototype;y.exports=function(h,p,m){var P=m&&m.that,_=!!(m&&m.AS_ENTRIES),b=!!(m&&m.IS_RECORD),S=!!(m&&m.IS_ITERATOR),E=!!(m&&m.INTERRUPTED),A=s(p,P),T,I,R,j,x,L,H,G=function(K){return T&&l(T,"normal",K),new g(!0,K)},X=function(K){return _?(a(K),E?A(K[0],K[1],G):A(K[0],K[1])):E?A(K,G):A(K)};if(b)T=h.iterator;else if(S)T=h;else{if(I=u(h),!I)throw c(t(h)+" is not iterable");if(r(I)){for(R=0,j=i(h);j>R;R++)if(x=X(h[R]),x&&o(v,x))return x;return new g(!1)}
12T=d(h,I)}for(L=b?h.next:T.next;!(H=n(L,T)).done;){try{x=X(H.value)}catch(K){l(T,"throw",K)}if(typeof x=="object"&&x&&o(v,x))return x}return new g(!1)}},46564:function(y,f,e){var s=e(50067),n=e(454776),a=e(917293);y.exports=function(t,r,i){var o,d;n(t);try{if(o=a(t,"return"),!o){if(r==="throw")throw i;return i}o=s(o,t)}catch(u){d=!0,o=u}if(r==="throw")throw i;if(d)throw o;return n(o),i}},843674:function(y,f,e){"use strict";var s=e(959706).IteratorPrototype,n=e(171197),a=e(581927),t=e(553837),r=e(347909),i=function(){return this};y.exports=function(o,d,u,l){var c=d+" Iterator";return o.prototype=n(s,{next:a(+!l,u)}),t(o,c,!1,!0),r[c]=i,o}},227235:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(471746),t=e(877902),r=e(760331),i=e(843674),o=e(95938),d=e(900296),u=e(553837),l=e(847146),c=e(148134),g=e(540496),v=e(347909),h=e(959706),p=t.PROPER,m=t.CONFIGURABLE,P=h.IteratorPrototype,_=h.BUGGY_SAFARI_ITERATORS,b=g("iterator"),S="keys",E="values",A="entries",T=function(){return this};y.exports=function(I,R,j,x,L,H,G){i(j,R,x);var X=function(Q){if(Q===L&&F)return F;if(!_&&Q in z)return z[Q];switch(Q){case S:return function(){return new j(this,Q)};case E:return function(){return new j(this,Q)};case A:return function(){return new j(this,Q)}}return function(){return new j(this)}},K=R+" Iterator",J=!1,z=I.prototype,k=z[b]||z["@@iterator"]||L&&z[L],F=!_&&k||X(L),q=R=="Array"&&z.entries||k,N,M,U;if(q&&(N=o(q.call(new I)),N!==Object.prototype&&N.next&&(!a&&o(N)!==P&&(d?d(N,P):r(N[b])||c(N,b,T)),u(N,K,!0,!0),a&&(v[K]=T))),p&&L==E&&k&&k.name!==E&&(!a&&m?l(z,"name",E):(J=!0,F=function(){return n(k,this)})),L)if(M={values:X(E),keys:H?F:X(S),entries:X(A)},G)for(U in M)(_||J||!(U in z))&&c(z,U,M[U]);else s({target:R,proto:!0,forced:_||J},M);return(!a||G)&&z[b]!==F&&c(z,b,F,{name:L}),v[R]=F,M}},959706:function(y,f,e){"use strict";var s=e(105978),n=e(760331),a=e(97865),t=e(171197),r=e(95938),i=e(148134),o=e(540496),d=e(471746),u=o("iterator"),l=!1,c,g,v;[].keys&&(v=[].keys(),"next"in v?(g=r(r(v)),g!==Object.prototype&&(c=g)):l=!0);var h=!a(c)||s(function(){var p={};return c[u].call(p)!==p});h?c={}:d&&(c=t(c)),n(c[u])||i(c,u,function(){return this}),y.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:l}},347909:function(y){y.exports={}},220446:function(y,f,e){var s=e(350093);y.exports=function(n){return s(n.length)}},370859:function(y,f,e){var s=e(105978),n=e(760331),a=e(955553),t=e(427156),r=e(877902).CONFIGURABLE,i=e(653843),o=e(347846),d=o.enforce,u=o.get,l=Object.defineProperty,c=t&&!s(function(){return l(function(){},"length",{value:8}).length!==8}),g=String(String).split("String"),v=y.exports=function(h,p,m){String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),m&&m.getter&&(p="get "+p),m&&m.setter&&(p="set "+p),(!a(h,"name")||r&&h.name!==p)&&(t?l(h,"name",{value:p,configurable:!0}):h.name=p),c&&m&&a(m,"arity")&&h.length!==m.arity&&l(h,"length",{value:m.arity});try{m&&a(m,"constructor")&&m.constructor?t&&l(h,"prototype",{writable:!1}):h.prototype&&(h.prototype=void 0)}catch(_){}var P=d(h);return a(P,"source")||(P.source=g.join(typeof p=="string"?p:"")),h};Function.prototype.toString=v(function(){return n(this)&&u(this).source||i(this)},"toString")},664229:function(y){var f=Math.ceil,e=Math.floor;y.exports=Math.trunc||function(n){var a=+n;return(a>0?e:f)(a)}},880987:function(y,f,e){var s=e(636979),n=e(930415),a=e(522281).f,t=e(471667).set,r=e(392329),i=e(148094),o=e(474401),d=e(453025),u=s.MutationObserver||s.WebKitMutationObserver,l=s.document,c=s.process,g=s.Promise,v=a(s,"queueMicrotask"),h=v&&v.value,p,m,P,_,b,S,E,A;h||(p=function(){var T,I;for(d&&(T=c.domain)&&T.exit();m;){I=m.fn,m=m.next;try{I()}catch(R){throw m?_():P=void 0,R}}P=void 0,T&&T.enter()},!r&&!d&&!o&&u&&l?(b=!0,S=l.createTextNode(""),new u(p).observe(S,{characterData:!0}),_=function(){S.data=b=!b}):!i&&g&&g.resolve?(E=g.resolve(void 0),E.constructor=g,A=n(E.then,E),_=function(){A(p)}):d?_=function(){c.nextTick(p)}:(t=n(t,s),_=function(){t(p)})),y.exports=h||function(T){var I={fn:T,next:void 0};P&&(P.next=I),m||(m=I,_()),P=I}},121683:function(y,f,e){"use strict";var s=e(215852),n=TypeError,a=function(t){var r,i;this.promise=new t(function(o,d){if(r!==void 0||i!==void 0)throw n("Bad Promise constructor");r=o,i=d}),this.resolve=s(r),this.reject=s(i)};y.exports.f=function(t){return new a(t)}},455778:function(y,f,e){var s=e(227876);y.exports=function(n,a){return n===void 0?arguments.length<2?"":a:s(n)}},970188:function(y,f,e){var s=e(994553),n=TypeError;
12y.exports=function(a){if(s(a))throw n("The method doesn't accept regular expressions");return a}},974650:function(y,f,e){"use strict";var s=e(427156),n=e(497315),a=e(50067),t=e(105978),r=e(385378),i=e(306760),o=e(17446),d=e(180240),u=e(187719),l=Object.assign,c=Object.defineProperty,g=n([].concat);y.exports=!l||t(function(){if(s&&l({b:1},l(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},h={},p=Symbol(),m="abcdefghijklmnopqrst";return v[p]=7,m.split("").forEach(function(P){h[P]=P}),l({},v)[p]!=7||r(l({},h)).join("")!=m})?function(h,p){for(var m=d(h),P=arguments.length,_=1,b=i.f,S=o.f;P>_;)for(var E=u(arguments[_++]),A=b?g(r(E),b(E)):r(E),T=A.length,I=0,R;T>I;)R=A[I++],(!s||a(S,E,R))&&(m[R]=E[R]);return m}:l},171197:function(y,f,e){var s=e(454776),n=e(49802),a=e(615339),t=e(347889),r=e(186299),i=e(362877),o=e(598784),d=">",u="<",l="prototype",c="script",g=o("IE_PROTO"),v=function(){},h=function(b){return u+c+d+b+u+"/"+c+d},p=function(b){b.write(h("")),b.close();var S=b.parentWindow.Object;return b=null,S},m=function(){var b=i("iframe"),S="java"+c+":",E;return b.style.display="none",r.appendChild(b),b.src=String(S),E=b.contentWindow.document,E.open(),E.write(h("document.F=Object")),E.close(),E.F},P,_=function(){try{P=new ActiveXObject("htmlfile")}catch(S){}_=typeof document!="undefined"?document.domain&&P?p(P):m():p(P);for(var b=a.length;b--;)delete _[l][a[b]];return _()};t[g]=!0,y.exports=Object.create||function(S,E){var A;return S!==null?(v[l]=s(S),A=new v,v[l]=null,A[g]=S):A=_(),E===void 0?A:n.f(A,E)}},49802:function(y,f,e){var s=e(427156),n=e(265641),a=e(723314),t=e(454776),r=e(610508),i=e(385378);f.f=s&&!n?Object.defineProperties:function(d,u){t(d);for(var l=r(u),c=i(u),g=c.length,v=0,h;g>v;)a.f(d,h=c[v++],l[h]);return d}},723314:function(y,f,e){var s=e(427156),n=e(458661),a=e(265641),t=e(454776),r=e(438978),i=TypeError,o=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",c="writable";f.f=s?a?function(v,h,p){if(t(v),h=r(h),t(p),typeof v=="function"&&h==="prototype"&&"value"in p&&c in p&&!p[c]){var m=d(v,h);m&&m[c]&&(v[h]=p.value,p={configurable:l in p?p[l]:m[l],enumerable:u in p?p[u]:m[u],writable:!1})}return o(v,h,p)}:o:function(v,h,p){if(t(v),h=r(h),t(p),n)try{return o(v,h,p)}catch(m){}if("get"in p||"set"in p)throw i("Accessors not supported");return"value"in p&&(v[h]=p.value),v}},522281:function(y,f,e){var s=e(427156),n=e(50067),a=e(17446),t=e(581927),r=e(610508),i=e(438978),o=e(955553),d=e(458661),u=Object.getOwnPropertyDescriptor;f.f=s?u:function(c,g){if(c=r(c),g=i(g),d)try{return u(c,g)}catch(v){}if(o(c,g))return t(!n(a.f,c,g),c[g])}},188275:function(y,f,e){var s=e(155124),n=e(610508),a=e(834078).f,t=e(198040),r=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(o){try{return a(o)}catch(d){return t(r)}};y.exports.f=function(d){return r&&s(d)=="Window"?i(d):a(n(d))}},834078:function(y,f,e){var s=e(84576),n=e(615339),a=n.concat("length","prototype");f.f=Object.getOwnPropertyNames||function(r){return s(r,a)}},306760:function(y,f){f.f=Object.getOwnPropertySymbols},95938:function(y,f,e){var s=e(955553),n=e(760331),a=e(180240),t=e(598784),r=e(78200),i=t("IE_PROTO"),o=Object,d=o.prototype;y.exports=r?o.getPrototypeOf:function(u){var l=a(u);if(s(l,i))return l[i];var c=l.constructor;return n(c)&&l instanceof c?c.prototype:l instanceof o?d:null}},211031:function(y,f,e){var s=e(105978),n=e(97865),a=e(155124),t=e(551405),r=Object.isExtensible,i=s(function(){r(1)});y.exports=i||t?function(d){return!n(d)||t&&a(d)=="ArrayBuffer"?!1:r?r(d):!0}:r},393535:function(y,f,e){var s=e(497315);y.exports=s({}.isPrototypeOf)},84576:function(y,f,e){var s=e(497315),n=e(955553),a=e(610508),t=e(373465).indexOf,r=e(347889),i=s([].push);y.exports=function(o,d){var u=a(o),l=0,c=[],g;for(g in u)!n(r,g)&&n(u,g)&&i(c,g);for(;d.length>l;)n(u,g=d[l++])&&(~t(c,g)||i(c,g));return c}},385378:function(y,f,e){var s=e(84576),n=e(615339);y.exports=Object.keys||function(t){return s(t,n)}},17446:function(y,f){"use strict";var e={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,n=s&&!e.call({1:2},1);f.f=n?function(t){var r=s(this,t);return!!r&&r.enumerable}:e},426135:function(y,f,e){"use strict";var s=e(471746),n=e(636979),a=e(105978),t=e(799539);y.exports=s||!a(function(){if(!(t&&t<535)){var r=Math.random();__defineSetter__.call(null,r,function(){}),delete n[r]}})},900296:function(y,f,e){var s=e(497315),n=e(454776),a=e(579812);
12y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,r={},i;try{i=s(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),i(r,[]),t=r instanceof Array}catch(o){}return function(d,u){return n(d),a(u),t?i(d,u):d.__proto__=u,d}}():void 0)},313223:function(y,f,e){var s=e(427156),n=e(497315),a=e(385378),t=e(610508),r=e(17446).f,i=n(r),o=n([].push),d=function(u){return function(l){for(var c=t(l),g=a(c),v=g.length,h=0,p=[],m;v>h;)m=g[h++],(!s||i(c,m))&&o(p,u?[m,c[m]]:c[m]);return p}};y.exports={entries:d(!0),values:d(!1)}},206964:function(y,f,e){"use strict";var s=e(337620),n=e(473070);y.exports=s?{}.toString:function(){return"[object "+n(this)+"]"}},433926:function(y,f,e){var s=e(50067),n=e(760331),a=e(97865),t=TypeError;y.exports=function(r,i){var o,d;if(i==="string"&&n(o=r.toString)&&!a(d=s(o,r))||n(o=r.valueOf)&&!a(d=s(o,r))||i!=="string"&&n(o=r.toString)&&!a(d=s(o,r)))return d;throw t("Can't convert object to primitive value")}},781271:function(y,f,e){var s=e(174883),n=e(497315),a=e(834078),t=e(306760),r=e(454776),i=n([].concat);y.exports=s("Reflect","ownKeys")||function(d){var u=a.f(r(d)),l=t.f;return l?i(u,l(d)):u}},626003:function(y,f,e){var s=e(636979);y.exports=s},86866:function(y){y.exports=function(f){try{return{error:!1,value:f()}}catch(e){return{error:!0,value:e}}}},630705:function(y,f,e){var s=e(636979),n=e(879707),a=e(760331),t=e(221970),r=e(653843),i=e(540496),o=e(276817),d=e(881093),u=e(471746),l=e(465263),c=n&&n.prototype,g=i("species"),v=!1,h=a(s.PromiseRejectionEvent),p=t("Promise",function(){var m=r(n),P=m!==String(n);if(!P&&l===66||u&&!(c.catch&&c.finally))return!0;if(!l||l<51||!/native code/.test(m)){var _=new n(function(E){E(1)}),b=function(E){E(function(){},function(){})},S=_.constructor={};if(S[g]=b,v=_.then(function(){})instanceof b,!v)return!0}return!P&&(o||d)&&!h});y.exports={CONSTRUCTOR:p,REJECTION_EVENT:h,SUBCLASSING:v}},879707:function(y,f,e){var s=e(636979);y.exports=s.Promise},301503:function(y,f,e){var s=e(454776),n=e(97865),a=e(121683);y.exports=function(t,r){if(s(t),n(r)&&r.constructor===t)return r;var i=a.f(t),o=i.resolve;return o(r),i.promise}},267933:function(y,f,e){var s=e(879707),n=e(920972),a=e(630705).CONSTRUCTOR;y.exports=a||!n(function(t){s.all(t).then(void 0,function(){})})},512482:function(y){var f=function(){this.head=null,this.tail=null};f.prototype={add:function(e){var s={item:e,next:null};this.head?this.tail.next=s:this.head=s,this.tail=s},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},y.exports=f},609757:function(y,f,e){var s=e(50067),n=e(454776),a=e(760331),t=e(155124),r=e(563595),i=TypeError;y.exports=function(o,d){var u=o.exec;if(a(u)){var l=s(u,o,d);return l!==null&&n(l),l}if(t(o)==="RegExp")return s(r,o,d);throw i("RegExp#exec called on incompatible receiver")}},563595:function(y,f,e){"use strict";var s=e(50067),n=e(497315),a=e(227876),t=e(971155),r=e(131245),i=e(938117),o=e(171197),d=e(347846).get,u=e(94691),l=e(636625),c=i("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,h=n("".charAt),p=n("".indexOf),m=n("".replace),P=n("".slice),_=function(){var A=/a/,T=/b*/g;return s(g,A,"a"),s(g,T,"a"),A.lastIndex!==0||T.lastIndex!==0}(),b=r.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=_||S||b||u||l;E&&(v=function(T){var I=this,R=d(I),j=a(T),x=R.raw,L,H,G,X,K,J,z;if(x)return x.lastIndex=I.lastIndex,L=s(v,x,j),I.lastIndex=x.lastIndex,L;var k=R.groups,F=b&&I.sticky,q=s(t,I),N=I.source,M=0,U=j;if(F&&(q=m(q,"y",""),p(q,"g")===-1&&(q+="g"),U=P(j,I.lastIndex),I.lastIndex>0&&(!I.multiline||I.multiline&&h(j,I.lastIndex-1)!=="\n")&&(N="(?: "+N+")",U=" "+U,M++),H=new RegExp("^(?:"+N+")",q)),S&&(H=new RegExp("^"+N+"$(?!\\s)",q)),_&&(G=I.lastIndex),X=s(g,F?H:I,U),F?X?(X.input=P(X.input,M),X[0]=P(X[0],M),X.index=I.lastIndex,I.lastIndex+=X[0].length):I.lastIndex=0:_&&X&&(I.lastIndex=I.global?X.index+X[0].length:G),S&&X&&X.length>1&&s(c,X[0],H,function(){for(K=1;K<arguments.length-2;K++)arguments[K]===void 0&&(X[K]=void 0)}),X&&k)for(X.groups=J=o(null),K=0;K<k.length;K++)z=k[K],J[z[0]]=X[z[1]];return X}),y.exports=v},971155:function(y,f,e){"use strict";var s=e(454776);y.exports=function(){var n=s(this),a="";return n.hasIndices&&(a+="d"),n.global&&(a+="g"),n.ignoreCase&&(a+="i"),n.multiline&&(a+="m"),n.dotAll&&(a+="s"),n.unicode&&(a+="u"),n.unicodeSets&&(a+="v"),n.sticky&&(a+="y"),a}},117025:function(y,f,e){var s=e(50067),n=e(955553),a=e(393535),t=e(971155),r=RegExp.prototype;y.exports=function(i){var o=i.flags;return o===void 0&&!("flags"in r)&&!n(i,"flags")&&a(r,i)?s(t,i):o}},131245:function(y,f,e){var s=e(105978),n=e(636979),a=n.RegExp,t=s(function(){var o=a("a","y");return o.lastIndex=2,o.exec("abcd")!=null}),r=t||s(function(){return!a("a","y").sticky}),i=t||s(function(){var o=a("^r","gy");return o.lastIndex=2,o.exec("str")!=null});y.exports={BROKEN_CARET:i,MISSED_STICKY:r,UNSUPPORTED_Y:t}},94691:function(y,f,e){var s=e(105978),n=e(636979),a=n.RegExp;y.exports=s(function(){var t=a(".","s");return!(t.dotAll&&t.exec("\n")&&t.flags==="s")})},636625:function(y,f,e){var s=e(105978),n=e(636979),a=n.RegExp;y.exports=s(function(){var t=a("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"})},8511:function(y,f,e){var s=e(261602),n=TypeError;
12y.exports=function(a){if(s(a))throw n("Can't call method on "+a);return a}},217311:function(y){y.exports=Object.is||function(e,s){return e===s?e!==0||1/e==1/s:e!=e&&s!=s}},812135:function(y,f,e){"use strict";var s=e(174883),n=e(723314),a=e(540496),t=e(427156),r=a("species");y.exports=function(i){var o=s(i),d=n.f;t&&o&&!o[r]&&d(o,r,{configurable:!0,get:function(){return this}})}},553837:function(y,f,e){var s=e(723314).f,n=e(955553),a=e(540496),t=a("toStringTag");y.exports=function(r,i,o){r&&!o&&(r=r.prototype),r&&!n(r,t)&&s(r,t,{configurable:!0,value:i})}},598784:function(y,f,e){var s=e(938117),n=e(870068),a=s("keys");y.exports=function(t){return a[t]||(a[t]=n(t))}},614735:function(y,f,e){var s=e(636979),n=e(904158),a="__core-js_shared__",t=s[a]||n(a,{});y.exports=t},938117:function(y,f,e){var s=e(471746),n=e(614735);(y.exports=function(a,t){return n[a]||(n[a]=t!==void 0?t:{})})("versions",[]).push({version:"3.26.0",mode:s?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},407973:function(y,f,e){var s=e(454776),n=e(694770),a=e(261602),t=e(540496),r=t("species");y.exports=function(i,o){var d=s(i).constructor,u;return d===void 0||a(u=s(d)[r])?o:n(u)}},887240:function(y,f,e){var s=e(105978);y.exports=function(n){return s(function(){var a=""[n]('"');return a!==a.toLowerCase()||a.split('"').length>3})}},630192:function(y,f,e){var s=e(497315),n=e(92257),a=e(227876),t=e(8511),r=s("".charAt),i=s("".charCodeAt),o=s("".slice),d=function(u){return function(l,c){var g=a(t(l)),v=n(c),h=g.length,p,m;return v<0||v>=h?u?"":void 0:(p=i(g,v),p<55296||p>56319||v+1===h||(m=i(g,v+1))<56320||m>57343?u?r(g,v):p:u?o(g,v,v+2):(p-55296<<10)+(m-56320)+65536)}};y.exports={codeAt:d(!1),charAt:d(!0)}},614693:function(y,f,e){var s=e(117088);y.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(s)},973803:function(y,f,e){var s=e(497315),n=e(350093),a=e(227876),t=e(842632),r=e(8511),i=s(t),o=s("".slice),d=Math.ceil,u=function(l){return function(c,g,v){var h=a(r(c)),p=n(g),m=h.length,P=v===void 0?" ":a(v),_,b;return p<=m||P==""?h:(_=p-m,b=i(P,d(_/P.length)),b.length>_&&(b=o(b,0,_)),l?h+b:b+h)}};y.exports={start:u(!1),end:u(!0)}},842632:function(y,f,e){"use strict";var s=e(92257),n=e(227876),a=e(8511),t=RangeError;y.exports=function(i){var o=n(a(this)),d="",u=s(i);if(u<0||u==1/0)throw t("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(o+=o))u&1&&(d+=o);return d}},95019:function(y,f,e){"use strict";var s=e(390056).end,n=e(782410);y.exports=n("trimEnd")?function(){return s(this)}:"".trimEnd},782410:function(y,f,e){var s=e(877902).PROPER,n=e(105978),a=e(892622),t="\u200B\x85\u180E";y.exports=function(r){return n(function(){return!!a[r]()||t[r]()!==t||s&&a[r].name!==r})}},954230:function(y,f,e){"use strict";var s=e(390056).start,n=e(782410);y.exports=n("trimStart")?function(){return s(this)}:"".trimStart},390056:function(y,f,e){var s=e(497315),n=e(8511),a=e(227876),t=e(892622),r=s("".replace),i="["+t+"]",o=RegExp("^"+i+i+"*"),d=RegExp(i+i+"*$"),u=function(l){return function(c){var g=a(n(c));return l&1&&(g=r(g,o,"")),l&2&&(g=r(g,d,"")),g}};y.exports={start:u(1),end:u(2),trim:u(3)}},789539:function(y,f,e){var s=e(465263),n=e(105978);y.exports=!!Object.getOwnPropertySymbols&&!n(function(){var a=Symbol();return!String(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&s&&s<41})},857262:function(y,f,e){var s=e(50067),n=e(174883),a=e(540496),t=e(148134);y.exports=function(){var r=n("Symbol"),i=r&&r.prototype,o=i&&i.valueOf,d=a("toPrimitive");i&&!i[d]&&t(i,d,function(u){return s(o,this)},{arity:1})}},166548:function(y,f,e){var s=e(789539);y.exports=s&&!!Symbol.for&&!!Symbol.keyFor},471667:function(y,f,e){var s=e(636979),n=e(200111),a=e(930415),t=e(760331),r=e(955553),i=e(105978),o=e(186299),d=e(880805),u=e(362877),l=e(64668),c=e(392329),g=e(453025),v=s.setImmediate,h=s.clearImmediate,p=s.process,m=s.Dispatch,P=s.Function,_=s.MessageChannel,b=s.String,S=0,E={},A="onreadystatechange",T,I,R,j;try{T=s.location}catch(X){}var x=function(X){if(r(E,X)){var K=E[X];delete E[X],K()}},L=function(X){return function(){x(X)}},H=function(X){x(X.data)},G=function(X){s.postMessage(b(X),T.protocol+"//"+T.host)};(!v||!h)&&(v=function(K){l(arguments.length,1);
12var J=t(K)?K:P(K),z=d(arguments,1);return E[++S]=function(){n(J,void 0,z)},I(S),S},h=function(K){delete E[K]},g?I=function(X){p.nextTick(L(X))}:m&&m.now?I=function(X){m.now(L(X))}:_&&!c?(R=new _,j=R.port2,R.port1.onmessage=H,I=a(j.postMessage,j)):s.addEventListener&&t(s.postMessage)&&!s.importScripts&&T&&T.protocol!=="file:"&&!i(G)?(I=G,s.addEventListener("message",H,!1)):A in u("script")?I=function(X){o.appendChild(u("script"))[A]=function(){o.removeChild(this),x(X)}}:I=function(X){setTimeout(L(X),0)}),y.exports={set:v,clear:h}},292054:function(y,f,e){var s=e(92257),n=Math.max,a=Math.min;y.exports=function(t,r){var i=s(t);return i<0?n(i+r,0):a(i,r)}},610508:function(y,f,e){var s=e(187719),n=e(8511);y.exports=function(a){return s(n(a))}},92257:function(y,f,e){var s=e(664229);y.exports=function(n){var a=+n;return a!==a||a===0?0:s(a)}},350093:function(y,f,e){var s=e(92257),n=Math.min;y.exports=function(a){return a>0?n(s(a),9007199254740991):0}},180240:function(y,f,e){var s=e(8511),n=Object;y.exports=function(a){return n(s(a))}},585822:function(y,f,e){var s=e(50067),n=e(97865),a=e(818652),t=e(917293),r=e(433926),i=e(540496),o=TypeError,d=i("toPrimitive");y.exports=function(u,l){if(!n(u)||a(u))return u;var c=t(u,d),g;if(c){if(l===void 0&&(l="default"),g=s(c,u,l),!n(g)||a(g))return g;throw o("Can't convert object to primitive value")}return l===void 0&&(l="number"),r(u,l)}},438978:function(y,f,e){var s=e(585822),n=e(818652);y.exports=function(a){var t=s(a,"string");return n(t)?t:t+""}},337620:function(y,f,e){var s=e(540496),n=s("toStringTag"),a={};a[n]="z",y.exports=String(a)==="[object z]"},227876:function(y,f,e){var s=e(473070),n=String;y.exports=function(a){if(s(a)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return n(a)}},458978:function(y){var f=String;y.exports=function(e){try{return f(e)}catch(s){return"Object"}}},870068:function(y,f,e){var s=e(497315),n=0,a=Math.random(),t=s(1 .toString);y.exports=function(r){return"Symbol("+(r===void 0?"":r)+")_"+t(++n+a,36)}},217525:function(y,f,e){var s=e(105978),n=e(540496),a=e(471746),t=n("iterator");y.exports=!s(function(){var r=new URL("b?a=1&b=2&c=3","http://a"),i=r.searchParams,o="";return r.pathname="c%20d",i.forEach(function(d,u){i.delete("b"),o+=u+d}),a&&!r.toJSON||!i.sort||r.href!=="http://a/c%20d?a=1&c=3"||i.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!i[t]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||o!=="a1c3"||new URL("http://x",void 0).host!=="x"})},984772:function(y,f,e){var s=e(789539);y.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},265641:function(y,f,e){var s=e(427156),n=e(105978);y.exports=s&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},64668:function(y){var f=TypeError;y.exports=function(e,s){if(e<s)throw f("Not enough arguments");return e}},947040:function(y,f,e){var s=e(636979),n=e(760331),a=s.WeakMap;y.exports=n(a)&&/native code/.test(String(a))},535862:function(y,f,e){var s=e(626003),n=e(955553),a=e(952358),t=e(723314).f;y.exports=function(r){var i=s.Symbol||(s.Symbol={});n(i,r)||t(i,r,{value:a.f(r)})}},952358:function(y,f,e){var s=e(540496);f.f=s},540496:function(y,f,e){var s=e(636979),n=e(938117),a=e(955553),t=e(870068),r=e(789539),i=e(984772),o=n("wks"),d=s.Symbol,u=d&&d.for,l=i?d:d&&d.withoutSetter||t;y.exports=function(c){if(!a(o,c)||!(r||typeof o[c]=="string")){var g="Symbol."+c;r&&a(d,c)?o[c]=d[c]:i&&u?o[c]=u(g):o[c]=l(g)}return o[c]}},892622:function(y){y.exports="	\n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},507027:function(y,f,e){"use strict";var s=e(532380),n=e(393535),a=e(95938),t=e(900296),r=e(375932),i=e(171197),o=e(847146),d=e(581927),u=e(12374),l=e(936757),c=e(705664),g=e(455778),v=e(540496),h=e(577887),p=v("toStringTag"),m=Error,P=[].push,_=function(E,A){var T=arguments.length>2?arguments[2]:void 0,I=n(b,this),R;t?R=t(m(),I?a(this):b):(R=I?this:i(b),o(R,p,"Error")),A!==void 0&&o(R,"message",g(A)),h&&o(R,"stack",u(R.stack,1)),l(R,T);var j=[];return c(E,P,{that:j}),o(R,"errors",j),R};t?t(_,m):r(_,m,{name:!0});var b=_.prototype=i(m.prototype,{constructor:d(1,_),message:d(1,""),name:d(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:_})},353485:function(y,f,e){e(507027)},132506:function(y,f,e){"use strict";var s=e(532380),n=e(180240),a=e(220446),t=e(92257),r=e(287637);s({target:"Array",proto:!0},{at:function(o){var d=n(this),u=a(d),l=t(o),c=l>=0?l:u+l;return c<0||c>=u?void 0:d[c]}}),r("at")},75106:function(y,f,e){"use strict";var s=e(532380),n=e(105978),a=e(358329),t=e(97865),r=e(180240),i=e(220446),o=e(557168),d=e(934973),u=e(389794),l=e(610518),c=e(540496),g=e(465263),v=c("isConcatSpreadable"),h=g>=51||!n(function(){var _=[];return _[v]=!1,_.concat()[0]!==_}),p=l("concat"),m=function(_){if(!t(_))return!1;var b=_[v];return b!==void 0?!!b:a(_)},P=!h||!p;s({target:"Array",proto:!0,arity:1,forced:P},{concat:function(b){var S=r(this),E=u(S,0),A=0,T,I,R,j,x;for(T=-1,R=arguments.length;T<R;T++)if(x=T===-1?S:arguments[T],m(x))for(j=i(x),o(A+j),I=0;I<j;I++,A++)I in x&&d(E,A,x[I]);else o(A+1),d(E,A++,x);return E.length=A,E}})},468670:function(y,f,e){var s=e(532380),n=e(14366),a=e(287637);s({target:"Array",proto:!0},{copyWithin:n}),a("copyWithin")},464583:function(y,f,e){"use strict";
12var s=e(532380),n=e(105497).every,a=e(384090),t=a("every");s({target:"Array",proto:!0,forced:!t},{every:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},859266:function(y,f,e){var s=e(532380),n=e(73272),a=e(287637);s({target:"Array",proto:!0},{fill:n}),a("fill")},160548:function(y,f,e){"use strict";var s=e(532380),n=e(105497).filter,a=e(610518),t=a("filter");s({target:"Array",proto:!0,forced:!t},{filter:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},153889:function(y,f,e){"use strict";var s=e(532380),n=e(105497).findIndex,a=e(287637),t="findIndex",r=!0;t in[]&&Array(1)[t](function(){r=!1}),s({target:"Array",proto:!0,forced:r},{findIndex:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),a(t)},334074:function(y,f,e){"use strict";var s=e(532380),n=e(748409).findLastIndex,a=e(287637);s({target:"Array",proto:!0},{findLastIndex:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},982066:function(y,f,e){"use strict";var s=e(532380),n=e(748409).findLast,a=e(287637);s({target:"Array",proto:!0},{findLast:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},997338:function(y,f,e){"use strict";var s=e(532380),n=e(105497).find,a=e(287637),t="find",r=!0;t in[]&&Array(1)[t](function(){r=!1}),s({target:"Array",proto:!0,forced:r},{find:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),a(t)},421786:function(y,f,e){"use strict";var s=e(532380),n=e(890010),a=e(215852),t=e(180240),r=e(220446),i=e(389794);s({target:"Array",proto:!0},{flatMap:function(d){var u=t(this),l=r(u),c;return a(d),c=i(u,0),c.length=n(c,u,u,l,0,1,d,arguments.length>1?arguments[1]:void 0),c}})},453920:function(y,f,e){"use strict";var s=e(532380),n=e(890010),a=e(180240),t=e(220446),r=e(92257),i=e(389794);s({target:"Array",proto:!0},{flat:function(){var d=arguments.length?arguments[0]:void 0,u=a(this),l=t(u),c=i(u,0);return c.length=n(c,u,u,l,0,d===void 0?1:r(d)),c}})},188078:function(y,f,e){"use strict";var s=e(532380),n=e(216686);s({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},195052:function(y,f,e){var s=e(532380),n=e(523450),a=e(920972),t=!a(function(r){Array.from(r)});s({target:"Array",stat:!0,forced:t},{from:n})},226670:function(y,f,e){"use strict";var s=e(532380),n=e(373465).includes,a=e(105978),t=e(287637),r=a(function(){return!Array(1).includes()});s({target:"Array",proto:!0,forced:r},{includes:function(o){return n(this,o,arguments.length>1?arguments[1]:void 0)}}),t("includes")},449436:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(373465).indexOf,t=e(384090),r=n([].indexOf),i=!!r&&1/r([1],1,-0)<0,o=t("indexOf");s({target:"Array",proto:!0,forced:i||!o},{indexOf:function(u){var l=arguments.length>1?arguments[1]:void 0;return i?r(this,u,l)||0:a(this,u,l)}})},577753:function(y,f,e){var s=e(532380),n=e(358329);s({target:"Array",stat:!0},{isArray:n})},340053:function(y,f,e){"use strict";var s=e(610508),n=e(287637),a=e(347909),t=e(347846),r=e(723314).f,i=e(227235),o=e(282012),d=e(471746),u=e(427156),l="Array Iterator",c=t.set,g=t.getterFor(l);y.exports=i(Array,"Array",function(h,p){c(this,{type:l,target:s(h),index:0,kind:p})},function(){var h=g(this),p=h.target,m=h.kind,P=h.index++;return!p||P>=p.length?(h.target=void 0,o(void 0,!0)):m=="keys"?o(P,!1):m=="values"?o(p[P],!1):o([P,p[P]],!1)},"values");var v=a.Arguments=a.Array;
12if(n("keys"),n("values"),n("entries"),!d&&u&&v.name!=="values")try{r(v,"name",{value:"values"})}catch(h){}},491871:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(187719),t=e(610508),r=e(384090),i=n([].join),o=a!=Object,d=r("join",",");s({target:"Array",proto:!0,forced:o||!d},{join:function(l){return i(t(this),l===void 0?",":l)}})},849498:function(y,f,e){var s=e(532380),n=e(329984);s({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},921282:function(y,f,e){"use strict";var s=e(532380),n=e(105497).map,a=e(610518),t=a("map");s({target:"Array",proto:!0,forced:!t},{map:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},817380:function(y,f,e){"use strict";var s=e(532380),n=e(105978),a=e(87922),t=e(934973),r=Array,i=n(function(){function o(){}return!(r.of.call(o)instanceof o)});s({target:"Array",stat:!0,forced:i},{of:function(){for(var d=0,u=arguments.length,l=new(a(this)?this:r)(u);u>d;)t(l,d,arguments[d++]);return l.length=u,l}})},523010:function(y,f,e){"use strict";var s=e(532380),n=e(180240),a=e(220446),t=e(739965),r=e(557168),i=e(105978),o=i(function(){return[].push.call({length:4294967296},1)!==4294967297}),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}}();s({target:"Array",proto:!0,arity:1,forced:o||d},{push:function(l){var c=n(this),g=a(c),v=arguments.length;r(g+v);for(var h=0;h<v;h++)c[g]=arguments[h],g++;return t(c,g),g}})},193140:function(y,f,e){"use strict";var s=e(532380),n=e(305467).right,a=e(384090),t=e(465263),r=e(453025),i=a("reduceRight"),o=!r&&t>79&&t<83;s({target:"Array",proto:!0,forced:!i||o},{reduceRight:function(u){return n(this,u,arguments.length,arguments.length>1?arguments[1]:void 0)}})},559038:function(y,f,e){"use strict";var s=e(532380),n=e(305467).left,a=e(384090),t=e(465263),r=e(453025),i=a("reduce"),o=!r&&t>79&&t<83;s({target:"Array",proto:!0,forced:!i||o},{reduce:function(u){var l=arguments.length;return n(this,u,l,l>1?arguments[1]:void 0)}})},457860:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(358329),t=n([].reverse),r=[1,2];s({target:"Array",proto:!0,forced:String(r)===String(r.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),t(this)}})},980336:function(y,f,e){"use strict";var s=e(532380),n=e(358329),a=e(87922),t=e(97865),r=e(292054),i=e(220446),o=e(610508),d=e(934973),u=e(540496),l=e(610518),c=e(880805),g=l("slice"),v=u("species"),h=Array,p=Math.max;s({target:"Array",proto:!0,forced:!g},{slice:function(P,_){var b=o(this),S=i(b),E=r(P,S),A=r(_===void 0?S:_,S),T,I,R;if(n(b)&&(T=b.constructor,a(T)&&(T===h||n(T.prototype))?T=void 0:t(T)&&(T=T[v],T===null&&(T=void 0)),T===h||T===void 0))return c(b,E,A);for(I=new(T===void 0?h:T)(p(A-E,0)),R=0;E<A;E++,R++)E in b&&d(I,R,b[E]);return I.length=R,I}})},552426:function(y,f,e){"use strict";var s=e(532380),n=e(105497).some,a=e(384090),t=a("some");s({target:"Array",proto:!0,forced:!t},{some:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},999418:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(215852),t=e(180240),r=e(220446),i=e(245077),o=e(227876),d=e(105978),u=e(485062),l=e(384090),c=e(525635),g=e(568753),v=e(465263),h=e(799539),p=[],m=n(p.sort),P=n(p.push),_=d(function(){p.sort(void 0)}),b=d(function(){p.sort(null)}),S=l("sort"),E=!d(function(){if(v)return v<70;if(!(c&&c>3)){if(g)return!0;if(h)return h<603;var I="",R,j,x,L;for(R=65;R<76;
12R++){switch(j=String.fromCharCode(R),R){case 66:case 69:case 70:case 72:x=3;break;case 68:case 71:x=4;break;default:x=2}for(L=0;L<47;L++)p.push({k:j+L,v:x})}for(p.sort(function(H,G){return G.v-H.v}),L=0;L<p.length;L++)j=p[L].k.charAt(0),I.charAt(I.length-1)!==j&&(I+=j);return I!=="DGBEFHACIJK"}}),A=_||!b||!S||!E,T=function(I){return function(R,j){return j===void 0?-1:R===void 0?1:I!==void 0?+I(R,j)||0:o(R)>o(j)?1:-1}};s({target:"Array",proto:!0,forced:A},{sort:function(R){R!==void 0&&a(R);var j=t(this);if(E)return R===void 0?m(j):m(j,R);var x=[],L=r(j),H,G;for(G=0;G<L;G++)G in j&&P(x,j[G]);for(u(x,T(R)),H=r(x),G=0;G<H;)j[G]=x[G++];for(;G<L;)i(j,G++);return j}})},156040:function(y,f,e){var s=e(812135);s("Array")},718996:function(y,f,e){"use strict";var s=e(532380),n=e(180240),a=e(292054),t=e(92257),r=e(220446),i=e(739965),o=e(557168),d=e(389794),u=e(934973),l=e(245077),c=e(610518),g=c("splice"),v=Math.max,h=Math.min;s({target:"Array",proto:!0,forced:!g},{splice:function(m,P){var _=n(this),b=r(_),S=a(m,b),E=arguments.length,A,T,I,R,j,x;for(E===0?A=T=0:E===1?(A=0,T=b-S):(A=E-2,T=h(v(t(P),0),b-S)),o(b+A-T),I=d(_,T),R=0;R<T;R++)j=S+R,j in _&&u(I,R,_[j]);if(I.length=T,A<T){for(R=S;R<b-T;R++)j=R+T,x=R+A,j in _?_[x]=_[j]:l(_,x);for(R=b;R>b-T+A;R--)l(_,R-1)}else if(A>T)for(R=b-T;R>S;R--)j=R+T-1,x=R+A-1,j in _?_[x]=_[j]:l(_,x);for(R=0;R<A;R++)_[R+S]=arguments[R+2];return i(_,b-T+A),I}})},158367:function(y,f,e){var s=e(287637);s("flatMap")},525005:function(y,f,e){var s=e(287637);s("flat")},657197:function(y,f,e){"use strict";var s=e(532380),n=e(180240),a=e(220446),t=e(739965),r=e(245077),i=e(557168),o=[].unshift(0)!==1,d=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(u){return u instanceof TypeError}}();s({target:"Array",proto:!0,arity:1,forced:o||d},{unshift:function(l){var c=n(this),g=a(c),v=arguments.length;if(v){i(g+v);for(var h=g;h--;){var p=h+v;h in c?c[p]=c[h]:r(c,p)}for(var m=0;m<v;m++)c[m]=arguments[m]}return t(c,g+v)}})},590945:function(y,f,e){var s=e(532380),n=e(174883),a=e(200111),t=e(50067),r=e(497315),i=e(105978),o=e(358329),d=e(760331),u=e(97865),l=e(818652),c=e(880805),g=e(789539),v=n("JSON","stringify"),h=r(/./.exec),p=r("".charAt),m=r("".charCodeAt),P=r("".replace),_=r(1 .toString),b=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,A=!g||i(function(){var j=n("Symbol")();return v([j])!="[null]"||v({a:j})!="{}"||v(Object(j))!="{}"}),T=i(function(){return v("\uDF06\uD834")!=='"\\udf06\\ud834"'||v("\uDEAD")!=='"\\udead"'}),I=function(j,x){var L=c(arguments),H=x;if(!(!u(x)&&j===void 0||l(j)))return o(x)||(x=function(G,X){if(d(H)&&(X=t(H,this,G,X)),!l(X))return X}),L[1]=x,a(v,null,L)},R=function(j,x,L){var H=p(L,x-1),G=p(L,x+1);return h(S,j)&&!h(E,G)||h(E,j)&&!h(S,H)?"\\u"+_(m(j,0),16):j};v&&s({target:"JSON",stat:!0,arity:3,forced:A||T},{stringify:function(x,L,H){var G=c(arguments),X=a(A?I:v,null,G);return T&&typeof X=="string"?P(X,b,R):X}})},891989:function(y,f,e){var s=e(636979),n=e(553837);n(s.JSON,"JSON",!0)},561891:function(y,f,e){"use strict";var s=e(574002),n=e(952222);s("Map",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},n)},107244:function(y,f,e){e(561891)},260388:function(y,f,e){var s=e(553837);s(Math,"Math",!0)},467668:function(y,f,e){var s=e(532380),n=e(974650);s({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},70994:function(y,f,e){var s=e(532380),n=e(427156),a=e(171197);s({target:"Object",stat:!0,sham:!n},{create:a})},928335:function(y,f,e){"use strict";var s=e(532380),n=e(427156),a=e(426135),t=e(215852),r=e(180240),i=e(723314);n&&s({target:"Object",proto:!0,forced:a},{__defineGetter__:function(d,u){i.f(r(this),d,{get:t(u),enumerable:!0,configurable:!0})}})},708289:function(y,f,e){var s=e(532380),n=e(427156),a=e(49802).f;s({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!n},{defineProperties:a})},640276:function(y,f,e){var s=e(532380),n=e(427156),a=e(723314).f;s({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!n},{defineProperty:a})},342950:function(y,f,e){"use strict";var s=e(532380),n=e(427156),a=e(426135),t=e(215852),r=e(180240),i=e(723314);n&&s({target:"Object",proto:!0,forced:a},{__defineSetter__:function(d,u){i.f(r(this),d,{set:t(u),enumerable:!0,configurable:!0})}})},902610:function(y,f,e){var s=e(532380),n=e(313223).entries;s({target:"Object",stat:!0},{entries:function(t){return n(t)}})},722108:function(y,f,e){var s=e(532380),n=e(775219),a=e(105978),t=e(97865),r=e(578483).onFreeze,i=Object.freeze,o=a(function(){i(1)});s({target:"Object",stat:!0,forced:o,sham:!n},{freeze:function(u){return i&&t(u)?i(r(u)):u}})},912665:function(y,f,e){var s=e(532380),n=e(705664),a=e(934973);s({target:"Object",stat:!0},{fromEntries:function(r){var i={};return n(r,function(o,d){a(i,o,d)},{AS_ENTRIES:!0}),i}})},294882:function(y,f,e){var s=e(532380),n=e(105978),a=e(610508),t=e(522281).f,r=e(427156),i=n(function(){t(1)}),o=!r||i;s({target:"Object",stat:!0,forced:o,sham:!r},{getOwnPropertyDescriptor:function(u,l){return t(a(u),l)}})},409087:function(y,f,e){var s=e(532380),n=e(427156),a=e(781271),t=e(610508),r=e(522281),i=e(934973);s({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(d){for(var u=t(d),l=r.f,c=a(u),g={},v=0,h,p;c.length>v;)p=l(u,h=c[v++]),p!==void 0&&i(g,h,p);return g}})},645e3:function(y,f,e){var s=e(532380),n=e(105978),a=e(188275).f,t=n(function(){return!Object.getOwnPropertyNames(1)});s({target:"Object",stat:!0,forced:t},{getOwnPropertyNames:a})},430877:function(y,f,e){var s=e(532380),n=e(789539),a=e(105978),t=e(306760),r=e(180240),i=!n||a(function(){t.f(1)});s({target:"Object",stat:!0,forced:i},{getOwnPropertySymbols:function(d){var u=t.f;return u?u(r(d)):[]}})},420907:function(y,f,e){var s=e(532380),n=e(105978),a=e(180240),t=e(95938),r=e(78200),i=n(function(){t(1)});s({target:"Object",stat:!0,forced:i,sham:!r},{getPrototypeOf:function(d){return t(a(d))}})},917632:function(y,f,e){var s=e(532380),n=e(955553);s({target:"Object",stat:!0},{hasOwn:n})},171258:function(y,f,e){var s=e(532380),n=e(211031);s({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},355931:function(y,f,e){var s=e(532380),n=e(105978),a=e(97865),t=e(155124),r=e(551405),i=Object.isFrozen,o=n(function(){i(1)});s({target:"Object",stat:!0,forced:o||r},{isFrozen:function(u){return!a(u)||r&&t(u)=="ArrayBuffer"?!0:i?i(u):!1}})},950508:function(y,f,e){var s=e(532380),n=e(105978),a=e(97865),t=e(155124),r=e(551405),i=Object.isSealed,o=n(function(){i(1)});s({target:"Object",stat:!0,forced:o||r},{isSealed:function(u){return!a(u)||r&&t(u)=="ArrayBuffer"?!0:i?i(u):!1}})},55415:function(y,f,e){var s=e(532380),n=e(217311);s({target:"Object",stat:!0},{is:n})},863875:function(y,f,e){var s=e(532380),n=e(180240),a=e(385378),t=e(105978),r=t(function(){a(1)});s({target:"Object",stat:!0,forced:r},{keys:function(o){return a(n(o))}})},524650:function(y,f,e){"use strict";var s=e(532380),n=e(427156),a=e(426135),t=e(180240),r=e(438978),i=e(95938),o=e(522281).f;n&&s({target:"Object",proto:!0,forced:a}
vendor: 5,238 bytes, line 12
12,{__lookupGetter__:function(u){var l=t(this),c=r(u),g;do if(g=o(l,c))return g.get;while(l=i(l))}})},774963:function(y,f,e){"use strict";var s=e(532380),n=e(427156),a=e(426135),t=e(180240),r=e(438978),i=e(95938),o=e(522281).f;n&&s({target:"Object",proto:!0,forced:a},{__lookupSetter__:function(u){var l=t(this),c=r(u),g;do if(g=o(l,c))return g.set;while(l=i(l))}})},353465:function(y,f,e){var s=e(532380),n=e(97865),a=e(578483).onFreeze,t=e(775219),r=e(105978),i=Object.preventExtensions,o=r(function(){i(1)});s({target:"Object",stat:!0,forced:o,sham:!t},{preventExtensions:function(u){return i&&n(u)?i(a(u)):u}})},676227:function(y,f,e){"use strict";var s=e(427156),n=e(772030),a=e(97865),t=e(180240),r=e(8511),i=Object.getPrototypeOf,o=Object.setPrototypeOf,d=Object.prototype,u="__proto__";if(s&&i&&o&&!(u in d))try{n(d,u,{configurable:!0,get:function(){return i(t(this))},set:function(c){var g=r(this);!a(c)&&c!==null||!a(g)||o(g,c)}})}catch(l){}},417420:function(y,f,e){var s=e(532380),n=e(97865),a=e(578483).onFreeze,t=e(775219),r=e(105978),i=Object.seal,o=r(function(){i(1)});s({target:"Object",stat:!0,forced:o,sham:!t},{seal:function(u){return i&&n(u)?i(a(u)):u}})},325500:function(y,f,e){var s=e(532380),n=e(900296);s({target:"Object",stat:!0},{setPrototypeOf:n})},460703:function(y,f,e){var s=e(337620),n=e(148134),a=e(206964);s||n(Object.prototype,"toString",a,{unsafe:!0})},572410:function(y,f,e){var s=e(532380),n=e(313223).values;s({target:"Object",stat:!0},{values:function(t){return n(t)}})},62677:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(215852),t=e(121683),r=e(86866),i=e(705664);s({target:"Promise",stat:!0},{allSettled:function(d){var u=this,l=t.f(u),c=l.resolve,g=l.reject,v=r(function(){var h=a(u.resolve),p=[],m=0,P=1;i(d,function(_){var b=m++,S=!1;P++,n(h,u,_).then(function(E){S||(S=!0,p[b]={status:"fulfilled",value:E},--P||c(p))},function(E){S||(S=!0,p[b]={status:"rejected",reason:E},--P||c(p))})}),--P||c(p)});return v.error&&g(v.value),l.promise}})},639866:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(215852),t=e(121683),r=e(86866),i=e(705664),o=e(267933);s({target:"Promise",stat:!0,forced:o},{all:function(u){var l=this,c=t.f(l),g=c.resolve,v=c.reject,h=r(function(){var p=a(l.resolve),m=[],P=0,_=1;i(u,function(b){var S=P++,E=!1;_++,n(p,l,b).then(function(A){E||(E=!0,m[S]=A,--_||g(m))},v)}),--_||g(m)});return h.error&&v(h.value),c.promise}})},732638:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(215852),t=e(174883),r=e(121683),i=e(86866),o=e(705664),d="No one promise resolved";s({target:"Promise",stat:!0},{any:function(l){var c=this,g=t("AggregateError"),v=r.f(c),h=v.resolve,p=v.reject,m=i(function(){var P=a(c.resolve),_=[],b=0,S=1,E=!1;o(l,function(A){var T=b++,I=!1;S++,n(P,c,A).then(function(R){I||E||(E=!0,h(R))},function(R){I||E||(I=!0,_[T]=R,--S||p(new g(_,d)))})}),--S||p(new g(_,d))});return m.error&&p(m.value),v.promise}})},664338:function(y,f,e){"use strict";var s=e(532380),n=e(471746),a=e(630705).CONSTRUCTOR,t=e(879707),r=e(174883),i=e(760331),o=e(148134),d=t&&t.prototype;if(s({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(l){return this.then(void 0,l)}}),!n&&i(t)){var u=r("Promise").prototype.catch;d.catch!==u&&o(d,"catch",u,{unsafe:!0})}},942771:function(y,f,e){"use strict";var s=e(532380),n=e(471746),a=e(453025),t=e(636979),r=e(50067),i=e(148134),o=e(900296),d=e(553837),u=e(812135),l=e(215852),c=e(760331),g=e(97865),v=e(819767),h=e(407973),p=e(471667).set,m=e(880987),P=e(243593),_=e(86866),b=e(512482),S=e(347846),E=e(879707),A=e(630705),T=e(121683),I="Promise",R=A.CONSTRUCTOR,j=A.REJECTION_EVENT,x=A.SUBCLASSING,L=S.getterFor(I),H=S.set,G=E&&E.prototype,X=E,K=G,J=t.TypeError,z=t.document,k=t.process,F=T.f,q=F,N=!!(z&&z.createEvent&&t.dispatchEvent),M="unhandledrejection",U="rejectionhandled",Q=0,$=1,ee=2,oe=1,pe=2,me,Se,Pe,He,fe=function(Je){var ue;return g(Je)&&c(ue=Je.then)?ue:!1},ve=function(Je,ue){var we=ue.value,We=ue.state==$,qe=We?Je.ok:Je.fail,Ie=Je.resolve,Me=Je.reject,Ve=Je.domain,Ne,ke,et;try{qe?(We||(ue.rejection===pe&&_e(ue),ue.rejection=oe),qe===!0?Ne=we:(Ve&&Ve.enter(),Ne=qe(we),Ve&&(Ve.exit(),et=!0)),Ne===Je.promise?Me(J("Promise-chain cycle")):(ke=fe(Ne))?r(ke,Ne,Ie,Me):Ie(Ne)):Me(we)}catch(st){Ve&&!et&&Ve.exit(),Me(st)}},ae=function(Je,ue){Je.notified||(Je.notified=!0,m(function(){for(var we=Je.reactions,We;We=we.get();)ve(We,Je);Je.notified=!1,ue&&!Je.rejection&&Ee(Je)}))},le=function(Je,ue,we){var We,qe;N?(We=z.createEvent("Event"),We.promise=ue,We.reason=we,We.initEvent(Je,!1,!0),t.dispatchEvent(We)):We={promise:ue,reason:we},!j&&(qe=t["on"+Je])?qe(We):Je===M&&P("Unhandled promise rejection",we)},Ee=function(Je){r(p,t,function(){var ue=Je.facade,we=Je.value,We=xe(Je),qe;if(We&&(qe=_(function(){a?k.emit("unhandledRejection",we,ue):le(M,ue,we)}),Je.rejection=a||xe(Je)?pe:oe,qe.error))throw qe.value})},xe=function(Je){return Je.rejection!==oe&&!Je.parent},_e=function(Je){r(p,t,function(){var ue=Je.facade;a?k.emit("rejectionHandled",ue):le(U,ue,Je.value)})},Re=function(Je,ue,we){return function(We){Je(ue,We,we)}},Be=function(Je,ue,we){Je.done||(Je.done=!0,we&&(Je=we),Je.value=ue,Je.state=ee,ae(Je,!0))},nt=function(Je,ue,we){if(!Je.done){Je.done=!0,we&&(Je=we);
vendor: 4,076 bytes, line 12
12try{if(Je.facade===ue)throw J("Promise can't be resolved itself");var We=fe(ue);We?m(function(){var qe={done:!1};try{r(We,ue,Re(nt,qe,Je),Re(Be,qe,Je))}catch(Ie){Be(qe,Ie,Je)}}):(Je.value=ue,Je.state=$,ae(Je,!1))}catch(qe){Be({done:!1},qe,Je)}}};if(R&&(X=function(ue){v(this,K),l(ue),r(me,this);var we=L(this);try{ue(Re(nt,we),Re(Be,we))}catch(We){Be(we,We)}},K=X.prototype,me=function(ue){H(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:Q,value:void 0})},me.prototype=i(K,"then",function(ue,we){var We=L(this),qe=F(h(this,X));return We.parent=!0,qe.ok=c(ue)?ue:!0,qe.fail=c(we)&&we,qe.domain=a?k.domain:void 0,We.state==Q?We.reactions.add(qe):m(function(){ve(qe,We)}),qe.promise}),Se=function(){var Je=new me,ue=L(Je);this.promise=Je,this.resolve=Re(nt,ue),this.reject=Re(Be,ue)},T.f=F=function(Je){return Je===X||Je===Pe?new Se(Je):q(Je)},!n&&c(E)&&G!==Object.prototype)){He=G.then,x||i(G,"then",function(ue,we){var We=this;return new X(function(qe,Ie){r(He,We,qe,Ie)}).then(ue,we)},{unsafe:!0});try{delete G.constructor}catch(Je){}o&&o(G,K)}s({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:X}),d(X,I,!1,!0),u(I)},967637:function(y,f,e){"use strict";var s=e(532380),n=e(471746),a=e(879707),t=e(105978),r=e(174883),i=e(760331),o=e(407973),d=e(301503),u=e(148134),l=a&&a.prototype,c=!!a&&t(function(){l.finally.call({then:function(){}},function(){})});if(s({target:"Promise",proto:!0,real:!0,forced:c},{finally:function(v){var h=o(this,r("Promise")),p=i(v);return this.then(p?function(m){return d(h,v()).then(function(){return m})}:v,p?function(m){return d(h,v()).then(function(){throw m})}:v)}}),!n&&i(a)){var g=r("Promise").prototype.finally;l.finally!==g&&u(l,"finally",g,{unsafe:!0})}},481737:function(y,f,e){e(942771),e(639866),e(664338),e(169606),e(638124),e(277053)},169606:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(215852),t=e(121683),r=e(86866),i=e(705664),o=e(267933);s({target:"Promise",stat:!0,forced:o},{race:function(u){var l=this,c=t.f(l),g=c.reject,v=r(function(){var h=a(l.resolve);i(u,function(p){n(h,l,p).then(c.resolve,g)})});return v.error&&g(v.value),c.promise}})},638124:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(121683),t=e(630705).CONSTRUCTOR;s({target:"Promise",stat:!0,forced:t},{reject:function(i){var o=a.f(this);return n(o.reject,void 0,i),o.promise}})},277053:function(y,f,e){"use strict";var s=e(532380),n=e(174883),a=e(471746),t=e(879707),r=e(630705).CONSTRUCTOR,i=e(301503),o=n("Promise"),d=a&&!r;s({target:"Promise",stat:!0,forced:a||r},{resolve:function(l){return i(d&&this===o?t:this,l)}})},665991:function(y,f,e){var s=e(532380),n=e(636979),a=e(553837);s({global:!0},{Reflect:{}}),a(n.Reflect,"Reflect",!0)},59892:function(y,f,e){"use strict";var s=e(532380),n=e(563595);s({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},419578:function(y,f,e){"use strict";var s=e(574002),n=e(952222);s("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},n)},348926:function(y,f,e){e(419578)},909401:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("anchor")},{anchor:function(r){return n(this,"a","name",r)}})},902673:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(8511),t=e(92257),r=e(227876),i=e(105978),o=n("".charAt),d=i(function(){return"\uD842\uDFB7".at(-2)!=="\uD842"});s({target:"String",proto:!0,forced:d},{at:function(l){var c=r(a(this)),g=c.length,v=t(l),h=v>=0?v:g+v;return h<0||h>=g?void 0:o(c,h)}})},165324:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("big")},{big:function(){return n(this,"big","","")}})},626776:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("blink")},{blink:function(){return n(this,"blink","","")}})},408093:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("bold")},{bold:function(){return n(this,"b","","")}})},333181:function(y,f,e){"use strict";
12var s=e(532380),n=e(630192).codeAt;s({target:"String",proto:!0},{codePointAt:function(t){return n(this,t)}})},591458:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(522281).f,t=e(350093),r=e(227876),i=e(970188),o=e(8511),d=e(766327),u=e(471746),l=n("".endsWith),c=n("".slice),g=Math.min,v=d("endsWith"),h=!u&&!v&&!!function(){var p=a(String.prototype,"endsWith");return p&&!p.writable}();s({target:"String",proto:!0,forced:!h&&!v},{endsWith:function(m){var P=r(o(this));i(m);var _=arguments.length>1?arguments[1]:void 0,b=P.length,S=_===void 0?b:g(t(_),b),E=r(m);return l?l(P,E,S):c(P,S-E.length,S)===E}})},32068:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("fixed")},{fixed:function(){return n(this,"tt","","")}})},795660:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("fontcolor")},{fontcolor:function(r){return n(this,"font","color",r)}})},172062:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("fontsize")},{fontsize:function(r){return n(this,"font","size",r)}})},711571:function(y,f,e){var s=e(532380),n=e(497315),a=e(292054),t=RangeError,r=String.fromCharCode,i=String.fromCodePoint,o=n([].join),d=!!i&&i.length!=1;s({target:"String",stat:!0,arity:1,forced:d},{fromCodePoint:function(l){for(var c=[],g=arguments.length,v=0,h;g>v;){if(h=+arguments[v++],a(h,1114111)!==h)throw t(h+" is not a valid code point");c[v]=h<65536?r(h):r(((h-=65536)>>10)+55296,h%1024+56320)}return o(c,"")}})},834124:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(970188),t=e(8511),r=e(227876),i=e(766327),o=n("".indexOf);s({target:"String",proto:!0,forced:!i("includes")},{includes:function(u){return!!~o(r(t(this)),r(a(u)),arguments.length>1?arguments[1]:void 0)}})},3081:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("italics")},{italics:function(){return n(this,"i","","")}})},625829:function(y,f,e){"use strict";var s=e(630192).charAt,n=e(227876),a=e(347846),t=e(227235),r=e(282012),i="String Iterator",o=a.set,d=a.getterFor(i);t(String,"String",function(u){o(this,{type:i,string:n(u),index:0})},function(){var l=d(this),c=l.string,g=l.index,v;return g>=c.length?r(void 0,!0):(v=s(c,g),l.index+=v.length,r(v,!1))})},912359:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("link")},{link:function(r){return n(this,"a","href",r)}})},191101:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(497315),t=e(843674),r=e(282012),i=e(8511),o=e(350093),d=e(227876),u=e(454776),l=e(261602),c=e(155124),g=e(994553),v=e(117025),h=e(917293),p=e(148134),m=e(105978),P=e(540496),_=e(407973),b=e(826439),S=e(609757),E=e(347846),A=e(471746),T=P("matchAll"),I="RegExp String",R=I+" Iterator",j=E.set,x=E.getterFor(R),L=RegExp.prototype,H=TypeError,G=a("".indexOf),X=a("".matchAll),K=!!X&&!m(function(){X("a",/./)}),J=t(function(F,q,N,M){j(this,{type:R,regexp:F,string:q,global:N,unicode:M,done:!1})},I,function(){var F=x(this);if(F.done)return r(void 0,!0);var q=F.regexp,N=F.string,M=S(q,N);return M===null?(F.done=!0,r(void 0,!0)):F.global?(d(M[0])===""&&(q.lastIndex=b(N,o(q.lastIndex),F.unicode)),r(M,!1)):(F.done=!0,r(M,!1))}),z=function(k){var F=u(this),q=d(k),N=_(F,RegExp),M=d(v(F)),U,Q,$;return U=new N(N===RegExp?F.source:F,M),Q=!!~G(M,"g"),$=!!~G(M,"u"),U.lastIndex=o(F.lastIndex),new J(U,q,Q,$)};s({target:"String",proto:!0,forced:K},{matchAll:function(F){var q=i(this),N,M,U,Q;if(l(F)){if(K)return X(q,F)}else{if(g(F)&&(N=d(i(v(F))),!~G(N,"g")))throw H("`.matchAll` does not allow non-global regexes");if(K)return X(q,F);if(U=h(F,T),U===void 0&&A&&c(F)=="RegExp"&&(U=z),U)return n(U,F,q)}return M=d(q),Q=new RegExp(F,"g"),A?n(z,Q,M):Q[T](M)}}),A||T in L||p(L,T,z)},746926:function(y,f,e){"use strict";var s=e(50067),n=e(822739),a=e(454776),t=e(261602),r=e(350093),i=e(227876),o=e(8511),d=e(917293),u=e(826439),l=e(609757);n("match",function(c,g,v){return[function(p){var m=o(this),P=t(p)?void 0:d(p,c);return P?s(P,p,m):new RegExp(p)[c](i(m))},function(h){var p=a(this),m=i(h),P=v(g,p,m);
12if(P.done)return P.value;if(!p.global)return l(p,m);var _=p.unicode;p.lastIndex=0;for(var b=[],S=0,E;(E=l(p,m))!==null;){var A=i(E[0]);b[S]=A,A===""&&(p.lastIndex=u(m,r(p.lastIndex),_)),S++}return S===0?null:b}]})},631459:function(y,f,e){"use strict";var s=e(532380),n=e(973803).end,a=e(614693);s({target:"String",proto:!0,forced:a},{padEnd:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},484828:function(y,f,e){"use strict";var s=e(532380),n=e(973803).start,a=e(614693);s({target:"String",proto:!0,forced:a},{padStart:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},676763:function(y,f,e){var s=e(532380),n=e(497315),a=e(610508),t=e(180240),r=e(227876),i=e(220446),o=n([].push),d=n([].join);s({target:"String",stat:!0},{raw:function(l){for(var c=a(t(l).raw),g=i(c),v=arguments.length,h=[],p=0;g>p;){if(o(h,r(c[p++])),p===g)return d(h,"");p<v&&o(h,r(arguments[p]))}}})},175196:function(y,f,e){var s=e(532380),n=e(842632);s({target:"String",proto:!0},{repeat:n})},220833:function(y,f,e){"use strict";var s=e(532380),n=e(50067),a=e(497315),t=e(8511),r=e(760331),i=e(261602),o=e(994553),d=e(227876),u=e(917293),l=e(117025),c=e(719501),g=e(540496),v=e(471746),h=g("replace"),p=TypeError,m=a("".indexOf),P=a("".replace),_=a("".slice),b=Math.max,S=function(E,A,T){return T>E.length?-1:A===""?T:m(E,A,T)};s({target:"String",proto:!0},{replaceAll:function(A,T){var I=t(this),R,j,x,L,H,G,X,K,J,z=0,k=0,F="";if(!i(A)){if(R=o(A),R&&(j=d(t(l(A))),!~m(j,"g")))throw p("`.replaceAll` does not allow non-global regexes");if(x=u(A,h),x)return n(x,A,I,T);if(v&&R)return P(d(I),A,T)}for(L=d(I),H=d(A),G=r(T),G||(T=d(T)),X=H.length,K=b(1,X),z=S(L,H,0);z!==-1;)J=G?d(T(H,z,L)):c(H,L,z,[],void 0,T),F+=_(L,k,z)+J,k=z+X,z=S(L,H,z+K);return k<L.length&&(F+=_(L,k)),F}})},205954:function(y,f,e){"use strict";var s=e(200111),n=e(50067),a=e(497315),t=e(822739),r=e(105978),i=e(454776),o=e(760331),d=e(261602),u=e(92257),l=e(350093),c=e(227876),g=e(8511),v=e(826439),h=e(917293),p=e(719501),m=e(609757),P=e(540496),_=P("replace"),b=Math.max,S=Math.min,E=a([].concat),A=a([].push),T=a("".indexOf),I=a("".slice),R=function(H){return H===void 0?H:String(H)},j=function(){return"a".replace(/./,"$0")==="$0"}(),x=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),L=!r(function(){var H=/./;return H.exec=function(){var G=[];return G.groups={a:"7"},G},"".replace(H,"$<a>")!=="7"});t("replace",function(H,G,X){var K=x?"$":"$0";return[function(z,k){var F=g(this),q=d(z)?void 0:h(z,_);return q?n(q,z,F,k):n(G,c(F),z,k)},function(J,z){var k=i(this),F=c(J);if(typeof z=="string"&&T(z,K)===-1&&T(z,"$<")===-1){var q=X(G,k,F,z);if(q.done)return q.value}var N=o(z);N||(z=c(z));var M=k.global;if(M){var U=k.unicode;k.lastIndex=0}for(var Q=[];;){var $=m(k,F);if($===null||(A(Q,$),!M))break;var ee=c($[0]);ee===""&&(k.lastIndex=v(F,l(k.lastIndex),U))}for(var oe="",pe=0,me=0;me<Q.length;me++){$=Q[me];for(var Se=c($[0]),Pe=b(S(u($.index),F.length),0),He=[],fe=1;fe<$.length;fe++)A(He,R($[fe]));var ve=$.groups;if(N){var ae=E([Se],He,Pe,F);ve!==void 0&&A(ae,ve);var le=c(s(z,void 0,ae))}else le=p(Se,F,Pe,He,ve,z);Pe>=pe&&(oe+=I(F,pe,Pe)+le,pe=Pe+Se.length)}return oe+I(F,pe)}]},!L||!j||x)},830234:function(y,f,e){"use strict";var s=e(50067),n=e(822739),a=e(454776),t=e(261602),r=e(8511),i=e(217311),o=e(227876),d=e(917293),u=e(609757);n("search",function(l,c,g){return[function(h){var p=r(this),m=t(h)?void 0:d(h,l);return m?s(m,h,p):new RegExp(h)[l](o(p))},function(v){var h=a(this),p=o(v),m=g(c,h,p);if(m.done)return m.value;var P=h.lastIndex;i(P,0)||(h.lastIndex=0);var _=u(h,p);return i(h.lastIndex,P)||(h.lastIndex=P),_===null?-1:_.index}]})},250878:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("small")},{small:function(){return n(this,"small","","")}})},267227:function(y,f,e){"use strict";var s=e(200111),n=e(50067),a=e(497315),t=e(822739),r=e(454776),i=e(261602),o=e(994553),d=e(8511),u=e(407973),l=e(826439),c=e(350093),g=e(227876),v=e(917293),h=e(198040),p=e(609757),m=e(563595),P=e(131245),_=e(105978),b=P.UNSUPPORTED_Y,S=4294967295,E=Math.min,A=[].push,T=a(/./.exec),I=a(A),R=a("".slice),j=!_(function(){var x=/(?:)/,L=x.exec;x.exec=function(){return L.apply(this,arguments)};var H="ab".split(x);return H.length!==2||H[0]!=="a"||H[1]!=="b"});t("split",function(x,L,H){var G;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?G=function(X,K){var J=g(d(this)),z=K===void 0?S:K>>>0;if(z===0)return[];if(X===void 0)return[J];if(!o(X))return n(L,J,X,z);for(var k=[],F=(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(X.sticky?"y":""),q=0,N=new RegExp(X.source,F+"g"),M,U,Q;(M=n(m,N,J))&&(U=N.lastIndex,!(U>q&&(I(k,R(J,q,M.index)),M.length>1&&M.index<J.length&&s(A,k,h(M,1)),Q=M[0].length,q=U,k.length>=z)));)N.lastIndex===M.index&&N.lastIndex++;return q===J.length?(Q||!T(N,""))&&I(k,""):I(k,R(J,q)),k.length>z?h(k,0,z):k}
12:"0".split(void 0,0).length?G=function(X,K){return X===void 0&&K===0?[]:n(L,this,X,K)}:G=L,[function(K,J){var z=d(this),k=i(K)?void 0:v(K,x);return k?n(k,K,z,J):n(G,g(z),K,J)},function(X,K){var J=r(this),z=g(X),k=H(G,J,z,K,G!==L);if(k.done)return k.value;var F=u(J,RegExp),q=J.unicode,N=(J.ignoreCase?"i":"")+(J.multiline?"m":"")+(J.unicode?"u":"")+(b?"g":"y"),M=new F(b?"^(?:"+J.source+")":J,N),U=K===void 0?S:K>>>0;if(U===0)return[];if(z.length===0)return p(M,z)===null?[z]:[];for(var Q=0,$=0,ee=[];$<z.length;){M.lastIndex=b?0:$;var oe=p(M,b?R(z,$):z),pe;if(oe===null||(pe=E(c(M.lastIndex+(b?$:0)),z.length))===Q)$=l(z,$,q);else{if(I(ee,R(z,Q,$)),ee.length===U)return ee;for(var me=1;me<=oe.length-1;me++)if(I(ee,oe[me]),ee.length===U)return ee;$=Q=pe}}return I(ee,R(z,Q)),ee}]},!j,b)},832766:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(522281).f,t=e(350093),r=e(227876),i=e(970188),o=e(8511),d=e(766327),u=e(471746),l=n("".startsWith),c=n("".slice),g=Math.min,v=d("startsWith"),h=!u&&!v&&!!function(){var p=a(String.prototype,"startsWith");return p&&!p.writable}();s({target:"String",proto:!0,forced:!h&&!v},{startsWith:function(m){var P=r(o(this));i(m);var _=t(g(arguments.length>1?arguments[1]:void 0,P.length)),b=r(m);return l?l(P,b,_):c(P,_,_+b.length)===b}})},546515:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("strike")},{strike:function(){return n(this,"strike","","")}})},616052:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("sub")},{sub:function(){return n(this,"sub","","")}})},476370:function(y,f,e){"use strict";var s=e(532380),n=e(497315),a=e(8511),t=e(92257),r=e(227876),i=n("".slice),o=Math.max,d=Math.min,u=!"".substr||"ab".substr(-1)!=="b";s({target:"String",proto:!0,forced:u},{substr:function(c,g){var v=r(a(this)),h=v.length,p=t(c),m,P;return p===1/0&&(p=0),p<0&&(p=o(h+p,0)),m=g===void 0?h:t(g),m<=0||m===1/0?"":(P=d(p+m,h),p>=P?"":i(v,p,P))}})},366893:function(y,f,e){"use strict";var s=e(532380),n=e(350469),a=e(887240);s({target:"String",proto:!0,forced:a("sup")},{sup:function(){return n(this,"sup","","")}})},957794:function(y,f,e){e(725619);var s=e(532380),n=e(95019);s({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},590818:function(y,f,e){var s=e(532380),n=e(954230);s({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},725619:function(y,f,e){var s=e(532380),n=e(95019);s({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},932233:function(y,f,e){e(590818);var s=e(532380),n=e(954230);s({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},586825:function(y,f,e){"use strict";var s=e(532380),n=e(390056).trim,a=e(782410);s({target:"String",proto:!0,forced:a("trim")},{trim:function(){return n(this)}})},507124:function(y,f,e){var s=e(535862);s("asyncIterator")},389162:function(y,f,e){"use strict";var s=e(532380),n=e(636979),a=e(50067),t=e(497315),r=e(471746),i=e(427156),o=e(789539),d=e(105978),u=e(955553),l=e(393535),c=e(454776),g=e(610508),v=e(438978),h=e(227876),p=e(581927),m=e(171197),P=e(385378),_=e(834078),b=e(188275),S=e(306760),E=e(522281),A=e(723314),T=e(49802),I=e(17446),R=e(148134),j=e(938117),x=e(598784),L=e(347889),H=e(870068),G=e(540496),X=e(952358),K=e(535862),J=e(857262),z=e(553837),k=e(347846),F=e(105497).forEach,q=x("hidden"),N="Symbol",M="prototype",U=k.set,Q=k.getterFor(N),$=Object[M],ee=n.Symbol,oe=ee&&ee[M],pe=n.TypeError,me=n.QObject,Se=E.f,Pe=A.f,He=b.f,fe=I.f,ve=t([].push),ae=j("symbols"),le=j("op-symbols"),Ee=j("wks"),xe=!me||!me[M]||!me[M].findChild,_e=i&&d(function(){return m(Pe({},"a",{get:function(){return Pe(this,"a",{value:7}).a}})).a!=7})?function(Ie,Me,Ve){var Ne=Se($,Me);Ne&&delete $[Me],Pe(Ie,Me,Ve),Ne&&Ie!==$&&Pe($,Me,Ne)}:Pe,Re=function(Ie,Me){var Ve=ae[Ie]=m(oe);return U(Ve,{type:N,tag:Ie,description:Me}),i||(Ve.description=Me),Ve},Be=function(Me,Ve,Ne){Me===$&&Be(le,Ve,Ne),c(Me);var ke=v(Ve);return c(Ne),u(ae,ke)?(Ne.enumerable?(u(Me,q)&&Me[q][ke]&&(Me[q][ke]=!1),Ne=m(Ne,{enumerable:p(0,!1)})):(u(Me,q)||Pe(Me,q,p(1,{})),Me[q][ke]=!0),_e(Me,ke,Ne)):Pe(Me,ke,Ne)},nt=function(Me,Ve){c(Me);var Ne=g(Ve),ke=P(Ne).concat(qe(Ne));return F(ke,function(et){(!i||a(ue,Ne,et))&&Be(Me,et,Ne[et])}),Me},Je=function(Me,Ve){return Ve===void 0?m(Me):nt(m(Me),Ve)},ue=function(Me){var Ve=v(Me),Ne=a(fe,this,Ve);
12return this===$&&u(ae,Ve)&&!u(le,Ve)?!1:Ne||!u(this,Ve)||!u(ae,Ve)||u(this,q)&&this[q][Ve]?Ne:!0},we=function(Me,Ve){var Ne=g(Me),ke=v(Ve);if(!(Ne===$&&u(ae,ke)&&!u(le,ke))){var et=Se(Ne,ke);return et&&u(ae,ke)&&!(u(Ne,q)&&Ne[q][ke])&&(et.enumerable=!0),et}},We=function(Me){var Ve=He(g(Me)),Ne=[];return F(Ve,function(ke){!u(ae,ke)&&!u(L,ke)&&ve(Ne,ke)}),Ne},qe=function(Ie){var Me=Ie===$,Ve=He(Me?le:g(Ie)),Ne=[];return F(Ve,function(ke){u(ae,ke)&&(!Me||u($,ke))&&ve(Ne,ae[ke])}),Ne};o||(ee=function(){if(l(oe,this))throw pe("Symbol is not a constructor");var Me=!arguments.length||arguments[0]===void 0?void 0:h(arguments[0]),Ve=H(Me),Ne=function(ke){this===$&&a(Ne,le,ke),u(this,q)&&u(this[q],Ve)&&(this[q][Ve]=!1),_e(this,Ve,p(1,ke))};return i&&xe&&_e($,Ve,{configurable:!0,set:Ne}),Re(Ve,Me)},oe=ee[M],R(oe,"toString",function(){return Q(this).tag}),R(ee,"withoutSetter",function(Ie){return Re(H(Ie),Ie)}),I.f=ue,A.f=Be,T.f=nt,E.f=we,_.f=b.f=We,S.f=qe,X.f=function(Ie){return Re(G(Ie),Ie)},i&&(Pe(oe,"description",{configurable:!0,get:function(){return Q(this).description}}),r||R($,"propertyIsEnumerable",ue,{unsafe:!0}))),s({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:ee}),F(P(Ee),function(Ie){K(Ie)}),s({target:N,stat:!0,forced:!o},{useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),s({target:"Object",stat:!0,forced:!o,sham:!i},{create:Je,defineProperty:Be,defineProperties:nt,getOwnPropertyDescriptor:we}),s({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:We}),J(),z(ee,N),L[q]=!0},580486:function(y,f,e){"use strict";var s=e(532380),n=e(427156),a=e(636979),t=e(497315),r=e(955553),i=e(760331),o=e(393535),d=e(227876),u=e(723314).f,l=e(375932),c=a.Symbol,g=c&&c.prototype;if(n&&i(c)&&(!("description"in g)||c().description!==void 0)){var v={},h=function(){var A=arguments.length<1||arguments[0]===void 0?void 0:d(arguments[0]),T=o(g,this)?new c(A):A===void 0?c():c(A);return A===""&&(v[T]=!0),T};l(h,c),h.prototype=g,g.constructor=h;var p=String(c("test"))=="Symbol(test)",m=t(g.valueOf),P=t(g.toString),_=/^Symbol\((.*)\)[^)]+$/,b=t("".replace),S=t("".slice);u(g,"description",{configurable:!0,get:function(){var A=m(this);if(r(v,A))return"";var T=P(A),I=p?S(T,7,-1):b(T,_,"$1");return I===""?void 0:I}}),s({global:!0,constructor:!0,forced:!0},{Symbol:h})}},74705:function(y,f,e){var s=e(532380),n=e(174883),a=e(955553),t=e(227876),r=e(938117),i=e(166548),o=r("string-to-symbol-registry"),d=r("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!i},{for:function(u){var l=t(u);if(a(o,l))return o[l];var c=n("Symbol")(l);return o[l]=c,d[c]=l,c}})},189854:function(y,f,e){var s=e(535862);s("hasInstance")},55381:function(y,f,e){var s=e(535862);s("isConcatSpreadable")},27129:function(y,f,e){var s=e(535862);s("iterator")},49589:function(y,f,e){e(389162),e(74705),e(444923),e(590945),e(430877)},444923:function(y,f,e){var s=e(532380),n=e(955553),a=e(818652),t=e(458978),r=e(938117),i=e(166548),o=r("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!i},{keyFor:function(u){if(!a(u))throw TypeError(t(u)+" is not a symbol");if(n(o,u))return o[u]}})},473230:function(y,f,e){var s=e(535862);s("matchAll")},553698:function(y,f,e){var s=e(535862);s("match")},212212:function(y,f,e){var s=e(535862);s("replace")},849205:function(y,f,e){var s=e(535862);s("search")},462856:function(y,f,e){var s=e(535862);s("species")},662186:function(y,f,e){var s=e(535862);s("split")},580909:function(y,f,e){var s=e(535862),n=e(857262);s("toPrimitive"),n()},797673:function(y,f,e){var s=e(174883),n=e(535862),a=e(553837);n("toStringTag"),a(s("Symbol"),"Symbol")},898495:function(y,f,e){var s=e(535862);s("unscopables")},24115:function(y,f,e){e(191101)},899509:function(y,f,e){var s=e(636979),n=e(59118),a=e(67278),t=e(216686),r=e(847146),i=function(d){if(d&&d.forEach!==t)try{r(d,"forEach",t)}catch(u){d.forEach=t}};for(var o in n)n[o]&&i(s[o]&&s[o].prototype);i(a)},439589:function(y,f,e){var s=e(636979),n=e(59118),a=e(67278),t=e(340053),r=e(847146),i=e(540496),o=i("iterator"),d=i("toStringTag"),u=t.values,l=function(g,v){if(g){if(g[o]!==u)try{r(g,o,u)}catch(p){g[o]=u}if(g[d]||r(g,d,v),n[v]){for(var h in t)if(g[h]!==t[h])try{r(g,h,t[h])}catch(p){g[h]=t[h]}}}};for(var c in n)l(s[c]&&s[c].prototype,c);l(a,"DOMTokenList")},683250:function(y,f,e){"use strict";e(340053);var s=e(532380),n=e(636979),a=e(50067),t=e(497315),r=e(427156),i=e(217525),o=e(148134),d=e(142352),u=e(553837),l=e(843674),c=e(347846),g=e(819767),v=e(760331),h=e(955553),p=e(930415),m=e(473070),P=e(454776),_=e(97865),b=e(227876),S=e(171197),E=e(581927),A=e(307871),T=e(438619),I=e(64668),R=e(540496),j=e(485062),x=R("iterator"),L="URLSearchParams",H=L+"Iterator",G=c.set,X=c.getterFor(L),K=c.getterFor(H),J=Object.getOwnPropertyDescriptor,z=function(ke){if(!r)return n[ke];var et=J(n,ke);return et&&et.value},k=z("fetch"),F=z("Request"),q=z("Headers"),N=F&&F.prototype,M=q&&q.prototype,U=n.RegExp,Q=n.TypeError,$=n.decodeURIComponent,ee=n.encodeURIComponent,oe=t("".charAt),pe=t([].join),me=t([].push),Se=t("".replace),Pe=t([].shift),He=t([].splice),fe=t("".split),ve=t("".slice),ae=/\+/g,le=Array(4),Ee=function(ke){return le[ke-1]||(le[ke-1]=U("((?:%[\\da-f]{2}){"+ke+"})","gi"))},xe=function(ke){try{return $(ke)}catch(et){return ke}},_e=function(ke){var et=Se(ke,ae," "),st=4;try{return $(et)}catch(Ce){for(;st;)et=Se(et,Ee(st--),xe);return et}}
12,Re=/[!'()~]|%20/g,Be={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},nt=function(ke){return Be[ke]},Je=function(ke){return Se(ee(ke),Re,nt)},ue=l(function(et,st){G(this,{type:H,iterator:A(X(et).entries),kind:st})},"Iterator",function(){var et=K(this),st=et.kind,Ce=et.iterator.next(),it=Ce.value;return Ce.done||(Ce.value=st==="keys"?it.key:st==="values"?it.value:[it.key,it.value]),Ce},!0),we=function(ke){this.entries=[],this.url=null,ke!==void 0&&(_(ke)?this.parseObject(ke):this.parseQuery(typeof ke=="string"?oe(ke,0)==="?"?ve(ke,1):ke:b(ke)))};we.prototype={type:L,bindURL:function(ke){this.url=ke,this.update()},parseObject:function(ke){var et=T(ke),st,Ce,it,ct,mt,Ct,Ht;if(et)for(st=A(ke,et),Ce=st.next;!(it=a(Ce,st)).done;){if(ct=A(P(it.value)),mt=ct.next,(Ct=a(mt,ct)).done||(Ht=a(mt,ct)).done||!a(mt,ct).done)throw Q("Expected sequence with length 2");me(this.entries,{key:b(Ct.value),value:b(Ht.value)})}else for(var Rt in ke)h(ke,Rt)&&me(this.entries,{key:Rt,value:b(ke[Rt])})},parseQuery:function(ke){if(ke)for(var et=fe(ke,"&"),st=0,Ce,it;st<et.length;)Ce=et[st++],Ce.length&&(it=fe(Ce,"="),me(this.entries,{key:_e(Pe(it)),value:_e(pe(it,"="))}))},serialize:function(){for(var ke=this.entries,et=[],st=0,Ce;st<ke.length;)Ce=ke[st++],me(et,Je(Ce.key)+"="+Je(Ce.value));return pe(et,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var We=function(){g(this,qe);var et=arguments.length>0?arguments[0]:void 0;G(this,new we(et))},qe=We.prototype;if(d(qe,{append:function(et,st){I(arguments.length,2);var Ce=X(this);me(Ce.entries,{key:b(et),value:b(st)}),Ce.updateURL()},delete:function(ke){I(arguments.length,1);for(var et=X(this),st=et.entries,Ce=b(ke),it=0;it<st.length;)st[it].key===Ce?He(st,it,1):it++;et.updateURL()},get:function(et){I(arguments.length,1);for(var st=X(this).entries,Ce=b(et),it=0;it<st.length;it++)if(st[it].key===Ce)return st[it].value;return null},getAll:function(et){I(arguments.length,1);for(var st=X(this).entries,Ce=b(et),it=[],ct=0;ct<st.length;ct++)st[ct].key===Ce&&me(it,st[ct].value);return it},has:function(et){I(arguments.length,1);for(var st=X(this).entries,Ce=b(et),it=0;it<st.length;)if(st[it++].key===Ce)return!0;return!1},set:function(et,st){I(arguments.length,1);for(var Ce=X(this),it=Ce.entries,ct=!1,mt=b(et),Ct=b(st),Ht=0,Rt;Ht<it.length;Ht++)Rt=it[Ht],Rt.key===mt&&(ct?He(it,Ht--,1):(ct=!0,Rt.value=Ct));ct||me(it,{key:mt,value:Ct}),Ce.updateURL()},sort:function(){var et=X(this);j(et.entries,function(st,Ce){return st.key>Ce.key?1:-1}),et.updateURL()},forEach:function(et){for(var st=X(this).entries,Ce=p(et,arguments.length>1?arguments[1]:void 0),it=0,ct;it<st.length;)ct=st[it++],Ce(ct.value,ct.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),o(qe,x,qe.entries,{name:"entries"}),o(qe,"toString",function(){return X(this).serialize()},{enumerable:!0}),u(We,L),s({global:!0,constructor:!0,forced:!i},{URLSearchParams:We}),!i&&v(q)){var Ie=t(M.has),Me=t(M.set),Ve=function(ke){if(_(ke)){var et=ke.body,st;if(m(et)===L)return st=ke.headers?new q(ke.headers):new q,Ie(st,"content-type")||Me(st,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(ke,{body:E(0,b(et)),headers:E(0,st)})}return ke};if(v(k)&&s({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(et){return k(et,arguments.length>1?Ve(arguments[1]):{})}}),v(F)){var Ne=function(et){return g(this,N),new F(et,arguments.length>1?Ve(arguments[1]):{})};N.constructor=Ne,Ne.prototype=N,s({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ne})}}y.exports={URLSearchParams:We,getState:X}},541942:function(y,f,e){e(683250)},968382:function(y,f,e){e(899509);var s=e(216686);y.exports=s},894663:function(y,f,e){var s=e(655961);e(439589),y.exports=s},655961:function(y,f,e){e(541942);var s=e(626003);y.exports=s.URLSearchParams},596852:function(y,f){"use strict";f.__esModule=!0;var e={linear:function(n,a,t,r){return t*n/r+a},easeInQuad:function(n,a,t,r){return t*(n/=r)*n+a},easeOutQuad:function(n,a,t,r){return-t*(n/=r)*(n-2)+a},easeInOutQuad:function(n,a,t,r){return(n/=r/2)<1?t/2*n*n+a:-t/2*(--n*(n-2)-1)+a},easeInCubic:function(n,a,t,r){return t*(n/=r)*n*n+a},easeOutCubic:function(n,a,t,r){return t*((n=n/r-1)*n*n+1)+a},easeInOutCubic:function(n,a,t,r){return(n/=r/2)<1?t/2*n*n*n+a:t/2*((n-=2)*n*n+2)+a},easeInQuart:function(n,a,t,r){return t*(n/=r)*n*n*n+a},easeOutQuart:function(n,a,t,r){return-t*((n=n/r-1)*n*n*n-1)+a},easeInOutQuart:function(n,a,t,r){return(n/=r/2)<1?t/2*n*n*n*n+a:-t/2*((n-=2)*n*n*n-2)+a},easeInQuint:function(n,a,t,r){return t*(n/=r)*n*n*n*n+a},easeOutQuint:function(n,a,t,r){return t*((n=n/r-1)*n*n*n*n+1)+a},easeInOutQuint:function(n,a,t,r){return(n/=r/2)<1?t/2*n*n*n*n*n+a:t/2*((n-=2)*n*n*n*n+2)+a},easeInSine:function(n,a,t,r){return-t*Math.cos(n/r*(Math.PI/2))+t+a},easeOutSine:function(n,a,t,r){return t*Math.sin(n/r*(Math.PI/2))+a},easeInOutSine:function(n,a,t,r){return-t/2*(Math.cos(Math.PI*n/r)-1)+a},easeInExpo:function(n,a,t,r){var i;return(i=n===0)!==null?i:{b:t*Math.pow(2,10*(n/r-1))+a}},easeOutExpo:function(n,a,t,r){var i;return(i=n===r)!==null?i:a+{c:t*(-Math.pow(2,-10*n/r)+1)+a}},easeInOutExpo:function(n,a,t,r){return n===r&&a+t,(n/=r/2)<1?t/2*Math.pow(2,10*(n-1))+a:t/2*(-Math.pow(2,-10*--n)+2)+a},easeInCirc:function(n,a,t,r){return-t*(Math.sqrt(1-(n/=r)*n)-1)+a},easeOutCirc:function(n,a,t,r){return t*Math.sqrt(1-(n=n/r-1)*n)+a},easeInOutCirc:function(n,a,t,r){return(n/=r/2)<1?-t/2*(Math.sqrt(1-n*n)-1)+a:t/2*(Math.sqrt(1-(n-=2)*n)+1)+a},easeInElastic:function(n,a,t,r){var i,o,d;return d=1.70158,o=0,i=t,n===0||(n/=r)==1&&a+t,o||(o=r*.3),i<Math.abs(t)?(i=t,d=o/4):d=o/(2*Math.PI)*Math.asin(t/i),-(i*Math.pow(2,10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/o))+a},easeOutElastic:function(n,a,t,r){var i,o,d;return d=1.70158,o=0,i=t,n===0||(n/=r)==1&&a+t,o||(o=r*.3),i<Math.abs(t)?(i=t,d=o/4):d=o/(2*Math.PI)*Math.asin(t/i),i*Math.pow(2,-10*n)*Math.sin((n*r-d)*(2*Math.PI)/o)+t+a},easeInOutElastic:function(n,a,t,r){var i,o,d;return d=1.70158,o=0,i=t,n===0||(n/=r/2)==2&&a+t,o||(o=r*(.3*1.5)),i<Math.abs(t)?(i=t,d=o/4):d=o/(2*Math.PI)*Math.asin(t/i),n<1?-.5*(i*Math.pow(2,10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/o))+a:i*Math.pow(2,-10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/o)*.5+t+a},easeInBack:function(n,a,t,r,i){return i===void 0&&(i=1.70158),t*(n/=r)*n*((i+1)*n-i)+a},easeOutBack:function(n,a,t,r,i){return i===void 0&&(i=1.70158),t*((n=n/r-1)*n*((i+1)*n+i)+1)+a},easeInOutBack:function(n,a,t,r,i){return i===void 0&&(i=1.70158),(n/=r/2)<1?t/2*(n*n*(((i*=1.525)+1)*n-i))+a:t/2*((n-=2)*n*(((i*=1.525)+1)*n+i)+2)+a},easeInBounce:function(n,a,t,r){var i;return i=e.easeOutBounce(r-n,0,t,r),t-i+a},easeOutBounce:function(n,a,t,r){return(n/=r)<1/2.75?t*(7.5625*n*n)+a:n<2/2.75?t*(7.5625*(n-=1.5/2.75)*n+.75)+a:n<2.5/2.75?t*(7.5625*(n-=2.25/2.75)*n+.9375)+a:t*(7.5625*(n-=2.625/2.75)*n+.984375)+a},easeInOutBounce:function(n,a,t,r){var i;return n<r/2?(i=e.easeInBounce(n*2,0,t,r),i*.5+a):(i=e.easeOutBounce(n*2-r,0,t,r),i*.5+t*.5+a)}};f.default=e,y.exports=f.default},179350:function(y,f,e){"use strict";y.exports=function(){if(typeof globalThis=="object")return globalThis;var s;try{s=this||new Function("return this")()}catch(n){if(typeof window=="object")return window;if(typeof self=="object")return self;if(typeof e.g!="undefined")return e.g}return s}()},187826:function(y){"use strict";var f=function(e,s,n,a,t,r,i,o){if(!e){var d;if(s===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,t,r,i,o],l=0;d=new Error("Invariant Violation: "+s.replace(/%s/g,function(){return u[l++]}))}throw d.framesToPop=1,d}};y.exports=f},511828:function(y,f,e){y.exports.Dispatcher=e(970968)},970968:function(y,f,e){"use strict";f.__esModule=!0;function s(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=e(187826),a="ID_",t=function(){function r(){s(this,r),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return r.prototype.register=function(o){var d=a+this._lastID++;return this._callbacks[d]=o,d},r.prototype.unregister=function(o){this._callbacks[o]||n(!1),delete this._callbacks[o]},r.prototype.waitFor=function(o){this._isDispatching||n(!1);for(var d=0;d<o.length;d++){var u=o[d];if(this._isPending[u]){this._isHandled[u]||n(!1);continue}this._callbacks[u]||n(!1),this._invokeCallback(u)}},r.prototype.dispatch=function(o){this._isDispatching&&n(!1),this._startDispatching(o);try{for(var d in this._callbacks)this._isPending[d]||this._invokeCallback(d)}finally{this._stopDispatching()}},r.prototype.isDispatching=function(){return this._isDispatching},r.prototype._invokeCallback=function(o){this._isPending[o]=!0,this._callbacks[o](this._pe
12ndingPayload),this._isHandled[o]=!0},r.prototype._startDispatching=function(o){for(var d in this._callbacks)this._isPending[d]=!1,this._isHandled[d]=!1;this._pendingPayload=o,this._isDispatching=!0},r.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},r}();y.exports=t},528254:function(y){y.exports=f;function f(){var e=new Float32Array(9);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}},57504:function(y){y.exports=f;function f(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},792350:function(y){y.exports=f;function f(e,s,n){var a=Math.sin(n),t=Math.cos(n),r=s[4],i=s[5],o=s[6],d=s[7],u=s[8],l=s[9],c=s[10],g=s[11];return s!==e&&(e[0]=s[0],e[1]=s[1],e[2]=s[2],e[3]=s[3],e[12]=s[12],e[13]=s[13],e[14]=s[14],e[15]=s[15]),e[4]=r*t+u*a,e[5]=i*t+l*a,e[6]=o*t+c*a,e[7]=d*t+g*a,e[8]=u*t-r*a,e[9]=l*t-i*a,e[10]=c*t-o*a,e[11]=g*t-d*a,e}},186375:function(y){y.exports=f;function f(e,s,n){var a=Math.sin(n),t=Math.cos(n),r=s[0],i=s[1],o=s[2],d=s[3],u=s[8],l=s[9],c=s[10],g=s[11];return s!==e&&(e[4]=s[4],e[5]=s[5],e[6]=s[6],e[7]=s[7],e[12]=s[12],e[13]=s[13],e[14]=s[14],e[15]=s[15]),e[0]=r*t-u*a,e[1]=i*t-l*a,e[2]=o*t-c*a,e[3]=d*t-g*a,e[8]=r*a+u*t,e[9]=i*a+l*t,e[10]=o*a+c*t,e[11]=d*a+g*t,e}},907223:function(y){y.exports=f;function f(e,s,n){var a=n[0],t=n[1],r=n[2];return e[0]=s[0]*a,e[1]=s[1]*a,e[2]=s[2]*a,e[3]=s[3]*a,e[4]=s[4]*t,e[5]=s[5]*t,e[6]=s[6]*t,e[7]=s[7]*t,e[8]=s[8]*r,e[9]=s[9]*r,e[10]=s[10]*r,e[11]=s[11]*r,e[12]=s[12],e[13]=s[13],e[14]=s[14],e[15]=s[15],e}},676727:function(y){y.exports=f;function f(e,s,n){var a=n[0],t=n[1],r=n[2],i,o,d,u,l,c,g,v,h,p,m,P;return s===e?(e[12]=s[0]*a+s[4]*t+s[8]*r+s[12],e[13]=s[1]*a+s[5]*t+s[9]*r+s[13],e[14]=s[2]*a+s[6]*t+s[10]*r+s[14],e[15]=s[3]*a+s[7]*t+s[11]*r+s[15]):(i=s[0],o=s[1],d=s[2],u=s[3],l=s[4],c=s[5],g=s[6],v=s[7],h=s[8],p=s[9],m=s[10],P=s[11],e[0]=i,e[1]=o,e[2]=d,e[3]=u,e[4]=l,e[5]=c,e[6]=g,e[7]=v,e[8]=h,e[9]=p,e[10]=m,e[11]=P,e[12]=i*a+l*t+h*r+s[12],e[13]=o*a+c*t+p*r+s[13],e[14]=d*a+g*t+m*r+s[14],e[15]=u*a+v*t+P*r+s[15]),e}},263001:function(y){y.exports=f;function f(e,s){return e[0]=s[0],e[1]=s[1],e}},349509:function(y){y.exports=f;function f(e){var s=e[0],n=e[1];return Math.sqrt(s*s+n*n)}},928152:function(y){y.exports=f;function f(e,s,n){var a=Math.cos(n),t=Math.sin(n),r=s[0],i=s[1];return e[0]=r*a-i*t,e[1]=r*t+i*a,e}},425534:function(y,f,e){y.exports=e(133173)},133173:function(y){y.exports=f;function f(e,s,n){return e[0]=s[0]-n[0],e[1]=s[1]-n[1],e}},226941:function(y){y.exports=f;function f(e,s){return e[0]=s[0],e[1]=s[1],e[2]=s[2],e}},176857:function(y){y.exports=f;function f(e,s){var n=s[0]-e[0],a=s[1]-e[1],t=s[2]-e[2];return Math.sqrt(n*n+a*a+t*t)}},709871:function(y){y.exports=f;function f(e,s){var n=s[0],a=s[1],t=s[2],r=n*n+a*a+t*t;return r>0&&(r=1/Math.sqrt(r),e[0]=s[0]*r,e[1]=s[1]*r,e[2]=s[2]*r),e}},316514:function(y){y.exports=f;function f(e,s,n,a){return e[0]=s,e[1]=n,e[2]=a,e}},138903:function(y,f,e){y.exports=e(517723)},517723:function(y){y.exports=f;function f(e,s,n){return e[0]=s[0]-n[0],e[1]=s[1]-n[1],e[2]=s[2]-n[2],e}},192628:function(y,f,e){"use strict";var s=e(870752),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[s.ForwardRef]=t,i[s.Memo]=r;function o(p){return s.isMemo(p)?r:i[p.$$typeof]||n}var d=Object.defineProperty,u=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,v=Object.prototype;function h(p,m,P){if(typeof m!="string"){if(v){var _=g(m);_&&_!==v&&h(p,_,P)}var b=u(m);l&&(b=b.concat(l(m)));for(var S=o(p),E=o(m),A=0;A<b.length;++A){var T=b[A];if(!a[T]&&!(P&&P[T])&&!(E&&E[T])&&!(S&&S[T])){var I=c(m,T);try{d(p,T,I)}catch(R){}}}}return p}y.exports=h},387966:function(y){typeof Object.create=="function"?y.exports=function(e,s){e.super_=s,e.prototype=Object.create(s.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:y.exports=function(e,s){e.super_=s;var n=function(){};n.prototype=s.prototype,e.prototype=new n,e.prototype.constructor=e}},310365:function(y){y.exports=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")}},579085:function(y){y.exports=f;function f(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},568324:function(y,f){var e,s,n;(function(a,t){s=[],e=t,n=typeof e=="function"?e.apply(f,s):e,n!==void 0&&(y.exports=n)})(this,function(){var a=function(){},t={},r={},i={};function o(g,v){g=g.push?g:[g];var h=[],p=g.length,m=p,P,_,b,S;for(P=function(E,A){A.length&&h.push(E),m--,m||v(h)};p--;){if(_=g[p],b=r[_],b){P(_,b);continue}S=i[_]=i[_]||[],S.push(P)}}function d(g,v){if(!!g){var h=i[g];if(r[g]=v,!!h)for(;h.length;)h[0](g,v),h.splice(0,1)}}function u(g,v,h,p){var m=document,P=h.async,_=(h.numRetries||0)+1,b=h.before||a,S,E;p=p||0,/(^css!|\.css$)/.test(g)?(S=!0,E=m.createElement("link"),E.rel="stylesheet",E.href=g.replace(/^css!/,"")):(E=m.createElement("script"),E.src=g,E.async=P===void 0?!0:P),E.onload=E.onerror=E.onbeforeload=function(A){var T=A.type[0];if(S&&"hideFocus"in E)try{E.sheet.cssText.length||(T="e")}catch(I){T="e"}if(T=="e"&&(p+=1,p<_))return u(g,v,h,p);v(g,T,A.defaultPrevented)},b(g,E)!==!1&&m.head.appendChild(E)}function l(g,v,h){g=g.push?g:[g];var p=g.length,m=p,P=[],_,b;for(_=function(S,E,A){if(E=="e"&&P.push(S),E=="b")if(A)P.push(S);else return;p--,p||v(P)},b=0;b<m;b++)u(g[b],_,h)}function c(g,v,h){var p,m;if(v&&v.trim&&(p=v),m=(p?h:v)||{},p){if(p in t)throw"LoadJS";t[p]=!0}l(g,function(P){P.length?(m.error||a)(P):(m.success||a)(),d(p,P)},m)}return c.ready=function(v,h){return o(v,function(p){p.length?(h.error||a)(p):(h.success||a)()}),c},c.done=function(v){d(v,[])},c.reset=function(){t={},r={},i={}}
12,c.isDefined=function(v){return v in t},c})},734301:function(y,f){var e,s,n;(function(a,t){s=[],e=t,n=typeof e=="function"?e.apply(f,s):e,n!==void 0&&(y.exports=n)})(this,function(){var a=function(){},t={},r={},i={};function o(v,h){v=v.push?v:[v];var p=[],m=v.length,P=m,_,b,S,E;for(_=function(A,T){T.length&&p.push(A),P--,P||h(p)};m--;){if(b=v[m],S=r[b],S){_(b,S);continue}E=i[b]=i[b]||[],E.push(_)}}function d(v,h){if(!!v){var p=i[v];if(r[v]=h,!!p)for(;p.length;)p[0](v,h),p.splice(0,1)}}function u(v,h){v.call&&(v={success:v}),h.length?(v.error||a)(h):(v.success||a)(v)}function l(v,h,p,m){var P=document,_=p.async,b=(p.numRetries||0)+1,S=p.before||a,E=v.replace(/^(css|img)!/,""),A,T;m=m||0,/(^css!|\.css$)/.test(v)?(T=P.createElement("link"),T.rel="stylesheet",T.href=E,A="hideFocus"in T,A&&T.relList&&(A=0,T.rel="preload",T.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(v)?(T=P.createElement("img"),T.src=E):(T=P.createElement("script"),T.src=v,T.async=_===void 0?!0:_),T.onload=T.onerror=T.onbeforeload=function(I){var R=I.type[0];if(A)try{T.sheet.cssText.length||(R="e")}catch(j){j.code!=18&&(R="e")}if(R=="e"){if(m+=1,m<b)return l(v,h,p,m)}else if(T.rel=="preload"&&T.as=="style")return T.rel="stylesheet";h(v,R,I.defaultPrevented)},S(v,T)!==!1&&P.head.appendChild(T)}function c(v,h,p){v=v.push?v:[v];var m=v.length,P=m,_=[],b,S;for(b=function(E,A,T){if(A=="e"&&_.push(E),A=="b")if(T)_.push(E);else return;m--,m||h(_)},S=0;S<P;S++)l(v[S],b,p)}function g(v,h,p){var m,P;if(h&&h.trim&&(m=h),P=(m?p:h)||{},m){if(m in t)throw"LoadJS";t[m]=!0}function _(b,S){c(v,function(E){u(P,E),b&&u({success:b,error:S},E),d(m,E)},P)}if(P.returnPromise)return new Promise(_);_()}return g.ready=function(h,p){return o(h,function(m){u(p,m)}),g},g.done=function(h){d(h,[])},g.reset=function(){t={},r={},i={}},g.isDefined=function(h){return h in t},g})},167810:function(y){function f(e,s,n,a){for(var t=-1,r=e==null?0:e.length;++t<r;){var i=e[t];s(a,i,n(i),e)}return a}y.exports=f},318025:function(y){function f(e,s){for(var n=-1,a=e==null?0:e.length;++n<a&&s(e[n],n,e)!==!1;);return e}y.exports=f},133873:function(y){function f(e,s,n,a){var t=-1,r=e==null?0:e.length;for(a&&r&&(n=e[++t]);++t<r;)n=s(n,e[t],t,e);return n}y.exports=f},358847:function(y){function f(e){return e.split("")}y.exports=f},195097:function(y){var f=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(s){return s.match(f)||[]}y.exports=e},183729:function(y,f,e){var s=e(397341),n=e(432284),a=Object.prototype,t=a.hasOwnProperty;function r(i,o,d){var u=i[o];(!(t.call(i,o)&&n(u,d))||d===void 0&&!(o in i))&&s(i,o,d)}y.exports=r},505151:function(y,f,e){var s=e(209392);function n(a,t,r,i){return s(a,function(o,d,u){t(i,o,r(o),u)}),i}y.exports=n},813741:function(y,f,e){var s=e(107057),n=e(694458);function a(t,r){return t&&s(r,n(r),t)}y.exports=a},469009:function(y,f,e){var s=e(107057),n=e(374949);function a(t,r){return t&&s(r,n(r),t)}y.exports=a},460700:function(y){function f(e,s,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),s!==void 0&&(e=e>=s?e:s)),e}y.exports=f},889382:function(y,f,e){var s=e(886534),n=e(318025),a=e(183729),t=e(813741),r=e(469009),i=e(162177),o=e(874303),d=e(134215),u=e(834990),l=e(168630),c=e(372484),g=e(920806),v=e(750869),h=e(299344),p=e(8664),m=e(662566),P=e(621638),_=e(391323),b=e(465022),S=e(699143),E=e(694458),A=1,T=2,I=4,R="[object Arguments]",j="[object Array]",x="[object Boolean]",L="[object Date]",H="[object Error]",G="[object Function]",X="[object GeneratorFunction]",K="[object Map]",J="[object Number]",z="[object Object]",k="[object RegExp]",F="[object Set]",q="[object String]",N="[object Symbol]",M="[object WeakMap]",U="[object ArrayBuffer]",Q="[object DataView]",$="[object Float32Array]",ee="[object Float64Array]",oe="[object Int8Array]",pe="[object Int16Array]",me="[object Int32Array]",Se="[object Uint8Array]",Pe="[object Uint8ClampedArray]",He="[object Uint16Array]",fe="[object Uint32Array]",ve={};ve[R]=ve[j]=ve[U]=ve[Q]=ve[x]=ve[L]=ve[$]=ve[ee]=ve[oe]=ve[pe]=ve[me]=ve[K]=ve[J]=ve[z]=ve[k]=ve[F]=ve[q]=ve[N]=ve[Se]=ve[Pe]=ve[He]=ve[fe]=!0,ve[H]=ve[G]=ve[M]=!1;function ae(le,Ee,xe,_e,Re,Be){var nt,Je=Ee&A,ue=Ee&T,we=Ee&I;if(xe&&(nt=Re?xe(le,_e,Re,Be):xe(le)),nt!==void 0)return nt;if(!b(le))return le;var We=m(le);if(We){if(nt=v(le),!Je)return o(le,nt)}else{var qe=g(le),Ie=qe==G||qe==X;if(P(le))return i(le,Je);if(qe==z||qe==R||Ie&&!Re){if(nt=ue||Ie?{}:p(le),!Je)return ue?u(le,r(nt,le)):d(le,t(nt,le))}else{if(!ve[qe])return Re?le:{};nt=h(le,qe,Je)}}Be||(Be=new s);var Me=Be.get(le);if(Me)return Me;Be.set(le,nt),S(le)?le.forEach(function(ke){nt.add(ae(ke,Ee,xe,ke,le,Be))}):_(le)&&le.forEach(function(ke,et){nt.set(et,ae(ke,Ee,xe,et,le,Be))});var Ve=we?ue?c:l:ue?keysIn:E,Ne=We?void 0:Ve(le);return n(Ne||le,function(ke,et){Ne&&(et=ke,ke=le[et]),a(nt,et,ae(ke,Ee,xe,et,le,Be))}),nt}y.exports=ae},49342:function(y,f,e){var s=e(465022),n=Object.create,a=function(){function t(){}return function(r){if(!s(r))return{};if(n)return n(r);t.prototype=r;var i=new t;return t.prototype=void 0,i}}();y.exports=a},327762:function(y){function f(e,s,n,a){for(var t=e.length,r=n+(a?1:-1);a?r--:++r<t;)if(s(e[r],r,e))return r;return-1}y.exports=f},685917:function(y){function f(e,s,n){var a;return n(e,function(t,r,i){if(s(t,r,i))return a=r,!1}),a}y.exports=f},839529:function(y,f,e){var s=e(327762),n=e(331150),a=e(235053);function t(r,i,o){return i===i?a(r,i,o):s(r,n,o)}y.exports=t},992076:function(y,f,e){var s=e(198389);function n(a,t,r,i){return s(a,function(o,d,u){t(i,r(o),d,u)}),i}y.exports=n},400151:function(y,f,e){var s=e(920806),n=e(165696),a="[object Map]";function t(r){return n(r)&&s(r)==a}y.exports=t},331150:function(y){function f(e){return e!==e}y.exports=f},781159:function(y,f,e){var s=e(920806),n=e(165696),a="[object Set]";function t(r){return n(r)&&s(r)==a}y.exports=t},773323:function(y,f,e){var s=e(465022),n=e(233712),a=e(463412),t=Object.prototype,r=t.hasOwnProperty;function i(o){if(!s(o))return a(o);var d=n(o),u=[];for(var l in o)l=="constructor"&&(d||!r.call(o,l))||u.push(l);return u}y.exports=i},827440:function(y,f,e){var s=e(152374),n=e(613892),a=e(954891);function t(r,i,o){for(var d=-1,u=i.length,l={};++d<u;){var c=i[d],g=s(r,c);o(g,c)&&n(l,a(c,r),g)}return l}y.exports=t},407220:function(y){function f(e){return function(s){return e==null?void 0:e[s]}}y.exports=f},613892:function(y,f,e){var s=e(183729),n=e(954891),a=e(590251),t=e(465022),r=e(623434);function i(o,d,u,l){if(!t(o))return o;d=n(d,o);for(var c=-1,g=d.length,v=g-1,h=o;h!=null&&++c<g;){var p=r(d[c]),m=u;if(c!=v){var P=h[p];m=l?l(P,p,h):void 0,m===void 0&&(m=t(P)?P:a(d[c+1])?[]:{})}s(h,p,m),h=h[p]}return o}y.exports=i},905504:function(y){function f(e,s,n){var a=-1,t=e.length;s<0&&(s=-s>t?0:t+s),n=n>t?t:n,n<0&&(n+=t),t=s>n?0:n-s>>>0,s>>>=0;for(var r=Array(t);++a<t;)r[a]=e[a+s];return r}y.exports=f},785792:function(y,f,e){var s=e(905504);function n(a,t,r){var i=a.length;return r=r===void 0?i:r,!t&&r>=i?a:s(a,t,r)}y.exports=n},386957:function(y,f,e){var s=e(839529);function n(a,t){for(var r=a.length;r--&&s(t,a[r],0)>-1;);return r}y.exports=n},770522:function(y,f,e){var s=e(839529);function n(a,t){for(var r=-1,i=a.length;++r<i&&s(t,a[r],0)>-1;);return r}y.exports=n},88695:function(y,f,e){var s=e(435769);function n(a){var t=new a.constructor(a.byteLength);return new s(t).set(new s(a)),t}y.exports=n},162177:function(y,f,e){y=e.nmd(y);var s=e(550871),n=f&&!f.nodeType&&f,a=n&&!0&&y&&!y.nodeType&&y,t=a&&a.exports===n,r=t?s.Buffer:void 0,i=r?r.allocUnsafe:void 0;function o(d,u){if(u)return d.slice();var l=d.length,c=i?i(l):new d.constructor(l);return d.copy(c),c}y.exports=o},895683:function(y,f,e){var s=e(88695);function n(a,t){var r=t?s(a.buffer):a.buffer;return new a.constructor(r,a.byteOffset,a.byteLength)}y.exports=n}
12,979891:function(y){var f=/\w*$/;function e(s){var n=new s.constructor(s.source,f.exec(s));return n.lastIndex=s.lastIndex,n}y.exports=e},725384:function(y,f,e){var s=e(173408),n=s?s.prototype:void 0,a=n?n.valueOf:void 0;function t(r){return a?Object(a.call(r)):{}}y.exports=t},715563:function(y,f,e){var s=e(88695);function n(a,t){var r=t?s(a.buffer):a.buffer;return new a.constructor(r,a.byteOffset,a.length)}y.exports=n},874303:function(y){function f(e,s){var n=-1,a=e.length;for(s||(s=Array(a));++n<a;)s[n]=e[n];return s}y.exports=f},107057:function(y,f,e){var s=e(183729),n=e(397341);function a(t,r,i,o){var d=!i;i||(i={});for(var u=-1,l=r.length;++u<l;){var c=r[u],g=o?o(i[c],t[c],c,i,t):void 0;g===void 0&&(g=t[c]),d?n(i,c,g):s(i,c,g)}return i}y.exports=a},134215:function(y,f,e){var s=e(107057),n=e(927917);function a(t,r){return s(t,n(t),r)}y.exports=a},834990:function(y,f,e){var s=e(107057),n=e(682407);function a(t,r){return s(t,n(t),r)}y.exports=a},637787:function(y,f,e){var s=e(167810),n=e(505151),a=e(408036),t=e(662566);function r(i,o){return function(d,u){var l=t(d)?s:n,c=o?o():{};return l(d,i,a(u,2),c)}}y.exports=r},336933:function(y,f,e){var s=e(785792),n=e(946640),a=e(730500),t=e(364766);function r(i){return function(o){o=t(o);var d=n(o)?a(o):void 0,u=d?d[0]:o.charAt(0),l=d?s(d,1).join(""):o.slice(1);return u[i]()+l}}y.exports=r},594487:function(y,f,e){var s=e(133873),n=e(121185),a=e(124868),t="['\u2019]",r=RegExp(t,"g");function i(o){return function(d){return s(a(n(d).replace(r,"")),o,"")}}y.exports=i},43476:function(y,f,e){var s=e(992076);function n(a,t){return function(r,i){return s(r,a,t(i),{})}}y.exports=n},643938:function(y,f,e){var s=e(550871),n=e(59520),a=e(76470),t=e(364766),r=s.isFinite,i=Math.min;function o(d){var u=Math[d];return function(l,c){if(l=a(l),c=c==null?0:i(n(c),292),c&&r(l)){var g=(t(l)+"e").split("e"),v=u(g[0]+"e"+(+g[1]+c));return g=(t(v)+"e").split("e"),+(g[0]+"e"+(+g[1]-c))}return u(l)}}y.exports=o},394897:function(y,f,e){var s=e(407220),n={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},a=s(n);y.exports=a},372484:function(y,f,e){var s=e(911719),n=e(682407),a=e(374949);function t(r){return s(r,a,n)}y.exports=t},183286:function(y,f,e){var s=e(856337),n=s(Object.getPrototypeOf,Object);y.exports=n},682407:function(y,f,e){var s=e(596424),n=e(183286),a=e(927917),t=e(606160),r=Object.getOwnPropertySymbols,i=r?function(o){for(var d=[];o;)s(d,a(o)),o=n(o);return d}:t;y.exports=i},946640:function(y){var f="\\ud800-\\udfff",e="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+s+n,t="\\ufe0e\\ufe0f",r="\\u200d",i=RegExp("["+r
12+f+a+t+"]");function o(d){return i.test(d)}y.exports=o},570520:function(y){var f=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(s){return f.test(s)}y.exports=e},750869:function(y){var f=Object.prototype,e=f.hasOwnProperty;function s(n){var a=n.length,t=new n.constructor(a);return a&&typeof n[0]=="string"&&e.call(n,"index")&&(t.index=n.index,t.input=n.input),t}y.exports=s},299344:function(y,f,e){var s=e(88695),n=e(895683),a=e(979891),t=e(725384),r=e(715563),i="[object Boolean]",o="[object Date]",d="[object Map]",u="[object Number]",l="[object RegExp]",c="[object Set]",g="[object String]",v="[object Symbol]",h="[object ArrayBuffer]",p="[object DataView]",m="[object Float32Array]",P="[object Float64Array]",_="[object Int8Array]",b="[object Int16Array]",S="[object Int32Array]",E="[object Uint8Array]",A="[object Uint8ClampedArray]",T="[object Uint16Array]",I="[object Uint32Array]";function R(j,x,L){var H=j.constructor;switch(x){case h:return s(j);case i:case o:return new H(+j);case p:return n(j,L);case m:case P:case _:case b:case S:case E:case A:case T:case I:return r(j,L);case d:return new H;case u:case g:return new H(j);case l:return a(j);case c:return new H;case v:return t(j)}}y.exports=R},8664:function(y,f,e){var s=e(49342),n=e(183286),a=e(233712);function t(r){return typeof r.constructor=="function"&&!a(r)?s(n(r)):{}}y.exports=t},463412:function(y){function f(e){var s=[];if(e!=null)for(var n in Object(e))s.push(n);return s}y.exports=f},235053:function(y){function f(e,s,n){for(var a=n-1,t=e.length;++a<t;)if(e[a]===s)return a;return-1}y.exports=f},730500:function(y,f,e){var s=e(358847),n=e(946640),a=e(650033);function t(r){return n(r)?a(r):s(r)}y.exports=t},650033:function(y){var f="\\ud800-\\udfff",e="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+s+n,t="\\ufe0e\\ufe0f",r="["+f+"]",i="["+a+"]",o="\\ud83c[\\udffb-\\udfff]",d="(?:"+i+"|"+o+")",u="[^"+f+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",v=d+"?",h="["+t+"]?",p="(?:"+g+"(?:"+[u,l,c].join("|")+")"+h+v+")*",m=h+v+p,P="(?:"+[u+i+"?",i,l,c,r].join("|")+")",_=RegExp(o+"(?="+o+")|"+P+m,"g");function b(S){return S.match(_)||[]}y.exports=b},168379:function(y){var f="\\ud800-\\udfff",e="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+s+n,t="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="\\xac\\xb1\\xd7\\xf7",o="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",d="\\u2000-\\u206f",u=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="A-Z\\xc0-\\xd6\\xd8-\\xde",c="\\ufe0e\\ufe0f",g=i+o+d+u,v="['\u2019]",h="["+g+"]",p="["+a+"]",m="\\d+",P="["+t+"]",_="["+r+"]",b="[^"+f+g+m+t+r+l+"]",S="\\ud83c[\\udffb-\\udfff]",E="(?:"+p+"|"+S+")",A="[^"+f+"]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",I="[\\ud800-\\udbff][\\udc00-\\udfff]",R="["+l+"]",j="\\u200d",x="(?:"+_+"|"+b+")",L="(?:"+R+"|"+b+")",H="(?:"+v+"(?:d|ll|m|re|s|t|ve))?",G="(?:"+v+"(?:D|LL|M|RE|S|T|VE))?",X=E+"?",K="["+c+"]?",J="(?:"+j+"(?:"+[A,T,I].join("|")+")"+K+X+")*",z="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",k="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",F=K+X+J,q="(?:"+[P,T,I].join("|")+")"+F,N=RegExp([R+"?"+_+"+"+H+"(?="+[h,R,"$"].join("|")+")",L+"+"+G+"(?="+[h,R+x,"$"].join("|")+")",R+"?"+x+"+"+H,R+"+"+G,k,z,m,q].join("|"),"g");function M(U){return U.match(N)||[]}y.exports=M},612836:function(y,f,e){var s=e(59520),n="Expected a function";function a(t,r){var i;if(typeof r!="function")throw new TypeError(n);return t=s(t),function(){return--t>0&&(i=r.apply(this,arguments)),t<=1&&(r=void 0),i}}y.exports=a},47939:function(y,f,e){var s=e(438487),n=e(594487),a=n(function(t,r,i){return r=r.toLowerCase(),t+(i?s(r):r)});y.exports=a},438487:function(y,f,e){var s=e(364766),n=e(829752);function a(t){return n(s(t).toLowerCase())}y.exports=a},217242:function(y,f,e){var s=e(460700),n=e(76470);function a(t,r,i){return i===void 0&&(i=r,r=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),r!==void 0&&(r=n(r),r=r===r?r:0),s(n(t),r,i)}y.exports=a},331581:function(y,f,e){var s=e(889382),n=1,a=4;function t(r){return s(r,n|a)}y.exports=t},37015:function(y){function f(e){return function(){return e}}y.exports=f},901956:function(y,f,e){var s=e(465022),n=e(815807),a=e(76470),t="Expected a function",r=Math.max,i=Math.min;function o(d,u,l){var c,g,v,h,p,m,P=0,_=!1,b=!1,S=!0;if(typeof d!="function")throw new TypeError(t);u=a(u)||0,s(l)&&(_=!!l.leading,b="maxWait"in l,v=b?r(a(l.maxWait)||0,u):v,S="trailing"in l?!!l.trailing:S);function E(G){var X=c,K=g;return c=g=void 0,P=G,h=d.apply(K,X),h}function A(G){return P=G,p=setTimeout(R,u),_?E(G):h}function T(G){var X=G-m,K=G-P,J=u-X;return b?i(J,v-K):J}function I(G){var X=G-m,K=G-P;return m===void 0||X>=u||X<0||b&&K>=v}function R(){var G=n();if(I(G))return j(G);p=setTimeout(R,T(G))}function j(G){return p=void 0,S&&c?E(G):(c=g=void 0,h)}function x(){p!==void 0&&clearTimeout(p),P=0,c=m=g=p=void 0}function L(){return p===void 0?h:j(n())}function H(){var G=n(),X=I(G);if(c=arguments,g=this,m=G,X){if(p===void 0)return A(m);if(b)return clearTimeout(p),p=setTimeout(R,u),E(m)}return p===void 0&&(p=setTimeout(R,u)),h}return H.cancel=x,H.flush=L,H}y.exports=o},121185:function(y,f,e){var s=e(394897),n=e(364766),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
127f]/g,t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",o=t+r+i,d="["+o+"]",u=RegExp(d,"g");function l(c){return c=n(c),c&&c.replace(a,s).replace(u,"")}y.exports=l},196269:function(y,f,e){var s=e(685917),n=e(198389),a=e(408036);function t(r,i){return s(r,a(i,3),n)}y.exports=t},179255:function(y,f,e){var s=e(37015),n=e(43476),a=e(759490),t=Object.prototype,r=t.toString,i=n(function(o,d,u){d!=null&&typeof d.toString!="function"&&(d=r.call(d)),o[d]=u},s(a));y.exports=i},970726:function(y,f,e){var s=e(346587),n=e(920806),a=e(811677),t=e(662566),r=e(101832),i=e(621638),o=e(233712),d=e(704240),u="[object Map]",l="[object Set]",c=Object.prototype,g=c.hasOwnProperty;function v(h){if(h==null)return!0;if(r(h)&&(t(h)||typeof h=="string"||typeof h.splice=="function"||i(h)||d(h)||a(h)))return!h.length;var p=n(h);if(p==u||p==l)return!h.size;if(o(h))return!s(h).length;for(var m in h)if(g.call(h,m))return!1;return!0}y.exports=v},107066:function(y,f,e){var s=e(138214);function n(a,t){return s(a,t)}y.exports=n},848749:function(y,f,e){var s=e(59520);function n(a){return typeof a=="number"&&a==s(a)}y.exports=n},391323:function(y,f,e){var s=e(400151),n=e(897653),a=e(732599),t=a&&a.isMap,r=t?n(t):s;y.exports=r},480885:function(y,f,e){var s=e(771766),n=e(165696),a="[object Number]";function t(r){return typeof r=="number"||n(r)&&s(r)==a}y.exports=t},699143:function(y,f,e){var s=e(781159),n=e(897653),a=e(732599),t=a&&a.isSet,r=t?n(t):s;y.exports=r},984714:function(y,f,e){var s=e(771766),n=e(662566),a=e(165696),t="[object String]";function r(i){return typeof i=="string"||!n(i)&&a(i)&&s(i)==t}y.exports=r},852113:function(y){function f(e){return e===void 0}y.exports=f},721477:function(y,f,e){var s=e(594487),n=s(function(a,t,r){return a+(r?"-":"")+t.toLowerCase()});y.exports=n},133152:function(y,f,e){var s=e(397341),n=e(637787),a=n(function(t,r,i){s(t,i,r)});y.exports=a},374949:function(y,f,e){var s=e(209403),n=e(773323),a=e(101832);function t(r){return a(r)?s(r,!0):n(r)}y.exports=t},432464:function(y,f,e){y=e.nmd(y);var s;/**
13* @license
14* Lodash <https://lodash.com/>
15* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
16* Released under MIT license <https://lodash.com/license>
17* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
18* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
19*/(function(){var n,a="4.17.15",t=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",o="__lodash_hash_undefined__",d=500,u="__lodash_placeholder__",l=1,c=2,g=4,v=1,h=2,p=1,m=2,P=4,_=8,b=16,S=32,E=64,A=128,T=256,I=512,R=30,j="...",x=800,L=16,H=1,G=2,X=3,K=1/0,J=9007199254740991,z=17976931348623157e292,k=0/0,F=4294967295,q=F-1,N=F>>>1,M=[["ary",A],["bind",p],["bindKey",m],["curry",_],["curryRight",b],["flip",I],["partial",S],["partialRight",E],["rearg",T]],U="[object Arguments]",Q="[object Array]",$="[object AsyncFunction]",ee="[object Boolean]",oe="[object Date]",pe="[object DOMException]",me="[object Error]",Se="[object Function]",Pe="[object GeneratorFunction]",He="[object Map]",fe="[object Number]",ve="[object Null]",ae="[object Object]",le="[object Promise]",Ee="[object Proxy]",xe="[object RegExp]",_e="[object Set]",Re="[object String]",Be="[object Symbol]",nt="[object Undefined]",Je="[object WeakMap]",ue="[object WeakSet]",we="[object ArrayBuffer]",We="[object DataView]",qe="[object Float32Array]",Ie="[object Float64Array]",Me="[object Int8Array]",Ve="[object Int16Array]",Ne="[object Int32Array]",ke="[object Uint8Array]",et="[object Uint8ClampedArray]",st="[object Uint16Array]",Ce="[object Uint32Array]",it=/\b__p \+= '';/g,ct=/\b(__p \+=) '' \+/g,mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,Ht=/[&<>"']/g,Rt=RegExp(Ct.source),cn=RegExp(Ht.source),Cn=/<%-([\s\S]+?)%>/g,hn=/<%([\s\S]+?)%>/g,fn=/<%=([\s\S]+?)%>/g,_n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mn=/^\w*$/,er=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sr=/[\\^$.*+?()[\]{}|]/g,ri=RegExp(sr.source),Ar=/^\s+|\s+$/g,ur=/^\s+/,Oe=/\s+$/,Tt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Tr=/\{\n\/\* \[wrapped with (.+)\] \*/,Ln=/,? & /,Jr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,bt=/\\(\\)?/g,Ur=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pr=/\w*$/,ln=/^[-+]0x[0-9a-f]+$/i,Cr=/^0b[01]+$/i,ii=/^\[object .+?Constructor\]$/,Qt=/^0o[0-7]+$/i,zn=/^(?:0|[1-9]\d*)$/,ai=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 4,897 bytes, line 19
197f]/g,gr=/($^)/,jr=/['\n\r\u2028\u2029\\]/g,cr="\\ud800-\\udfff",gn="\\u0300-\\u036f",Et="\\ufe20-\\ufe2f",Br="\\u20d0-\\u20ff",$n=gn+Et+Br,Pn="\\u2700-\\u27bf",An="a-z\\xdf-\\xf6\\xf8-\\xff",$e="\\xac\\xb1\\xd7\\xf7",Ue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",re="\\u2000-\\u206f",ie=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",ye="\\ufe0e\\ufe0f",Ge=$e+Ue+re+ie,je="['\u2019]",Ze="["+cr+"]",dt="["+Ge+"]",pt="["+$n+"]",gt="\\d+",$t="["+Pn+"]",sn="["+An+"]",tr="[^"+cr+Ge+gt+Pn+An+de+"]",Wn="\\ud83c[\\udffb-\\udfff]",Rn="(?:"+pt+"|"+Wn+")",nr="[^"+cr+"]",jn="(?:\\ud83c[\\udde6-\\uddff]){2}",mr="[\\ud800-\\udbff][\\udc00-\\udfff]",lr="["+de+"]",Fr="\\u200d",Gr="(?:"+sn+"|"+tr+")",Zr="(?:"+lr+"|"+tr+")",oi="(?:"+je+"(?:d|ll|m|re|s|t|ve))?",Hn="(?:"+je+"(?:D|LL|M|RE|S|T|VE))?",Jt=Rn+"?",Ir="["+ye+"]?",ki="(?:"+Fr+"(?:"+[nr,jn,mr].join("|")+")"+Ir+Jt+")*",$i="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",se="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ae=Ir+Jt+ki,Ke="(?:"+[$t,jn,mr].join("|")+")"+Ae,ht="(?:"+[nr+pt+"?",pt,jn,mr,Ze].join("|")+")",Pt=RegExp(je,"g"),Mt=RegExp(pt,"g"),Bn=RegExp(Wn+"(?="+Wn+")|"+ht+Ae,"g"),mn=RegExp([lr+"?"+sn+"+"+oi+"(?="+[dt,lr,"$"].join("|")+")",Zr+"+"+Hn+"(?="+[dt,lr+Gr,"$"].join("|")+")",lr+"?"+Gr+"+"+oi,lr+"+"+Hn,se,$i,gt,Ke].join("|"),"g"),nn=RegExp("["+Fr+cr+$n+ye+"]"),Xn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,yr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qn=-1,Kt={};Kt[qe]=Kt[Ie]=Kt[Me]=Kt[Ve]=Kt[Ne]=Kt[ke]=Kt[et]=Kt[st]=Kt[Ce]=!0,Kt[U]=Kt[Q]=Kt[we]=Kt[ee]=Kt[We]=Kt[oe]=Kt[me]=Kt[Se]=Kt[He]=Kt[fe]=Kt[ae]=Kt[xe]=Kt[_e]=Kt[Re]=Kt[Je]=!1;var Vt={};Vt[U]=Vt[Q]=Vt[we]=Vt[We]=Vt[ee]=Vt[oe]=Vt[qe]=Vt[Ie]=Vt[Me]=Vt[Ve]=Vt[Ne]=Vt[He]=Vt[fe]=Vt[ae]=Vt[xe]=Vt[_e]=Vt[Re]=Vt[Be]=Vt[ke]=Vt[et]=Vt[st]=Vt[Ce]=!0,Vt[me]=Vt[Se]=Vt[Je]=!1;var Bt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Mo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Va={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ka=parseFloat,Xi=parseInt,Qi=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ei=typeof self=="object"&&self&&self.Object===Object&&self,bn=Qi||Ei||Function("return this")(),$a=f&&!f.nodeType&&f,si=$a&&!0&&y&&!y.nodeType&&y,Xa=si&&si.exports===$a,Li=Xa&&Qi.process,Er=function(){try{var Xe=si&&si.require&&si.require("util").t
vendor: 14,993 bytes, line 19
19ypes;return Xe||Li&&Li.binding&&Li.binding("util")}catch(ut){}}(),Ji=Er&&Er.isArrayBuffer,ma=Er&&Er.isDate,Qa=Er&&Er.isMap,ya=Er&&Er.isRegExp,Ea=Er&&Er.isSet,Sa=Er&&Er.isTypedArray;function Kn(Xe,ut,rt){switch(rt.length){case 0:return Xe.call(ut);case 1:return Xe.call(ut,rt[0]);case 2:return Xe.call(ut,rt[0],rt[1]);case 3:return Xe.call(ut,rt[0],rt[1],rt[2])}return Xe.apply(ut,rt)}function Ja(Xe,ut,rt,St){for(var Wt=-1,rn=Xe==null?0:Xe.length;++Wt<rn;){var Fn=Xe[Wt];ut(St,Fn,rt(Fn),Xe)}return St}function rr(Xe,ut){for(var rt=-1,St=Xe==null?0:Xe.length;++rt<St&&ut(Xe[rt],rt,Xe)!==!1;);return Xe}function ba(Xe,ut){for(var rt=Xe==null?0:Xe.length;rt--&&ut(Xe[rt],rt,Xe)!==!1;);return Xe}function Oa(Xe,ut){for(var rt=-1,St=Xe==null?0:Xe.length;++rt<St;)if(!ut(Xe[rt],rt,Xe))return!1;return!0}function En(Xe,ut){for(var rt=-1,St=Xe==null?0:Xe.length,Wt=0,rn=[];++rt<St;){var Fn=Xe[rt];ut(Fn,rt,Xe)&&(rn[Wt++]=Fn)}return rn}function Zi(Xe,ut){var rt=Xe==null?0:Xe.length;return!!rt&&ui(Xe,ut,0)>-1}function Lo(Xe,ut,rt){for(var St=-1,Wt=Xe==null?0:Xe.length;++St<Wt;)if(rt(ut,Xe[St]))return!0;return!1}function Sn(Xe,ut){for(var rt=-1,St=Xe==null?0:Xe.length,Wt=Array(St);++rt<St;)Wt[rt]=ut(Xe[rt],rt,Xe);return Wt}function Si(Xe,ut){for(var rt=-1,St=ut.length,Wt=Xe.length;++rt<St;)Xe[Wt+rt]=ut[rt];return Xe}function Yi(Xe,ut,rt,St){var Wt=-1,rn=Xe==null?0:Xe.length;for(St&&rn&&(rt=Xe[++Wt]);++Wt<rn;)rt=ut(rt,Xe[Wt],Wt,Xe);return rt}function ic(Xe,ut,rt,St){var Wt=Xe==null?0:Xe.length;for(St&&Wt&&(rt=Xe[--Wt]);Wt--;)rt=ut(rt,Xe[Wt],Wt,Xe);return rt}function _a(Xe,ut){for(var rt=-1,St=Xe==null?0:Xe.length;++rt<St;)if(ut(Xe[rt],rt,Xe))return!0;return!1}var No=Ta("length");function Uo(Xe){return Xe.split("")}function Za(Xe){return Xe.match(Jr)||[]}function Pa(Xe,ut,rt){var St;return rt(Xe,function(Wt,rn,Fn){if(ut(Wt,rn,Fn))return St=rn,!1}),St}function qi(Xe,ut,rt,St){for(var Wt=Xe.length,rn=rt+(St?1:-1);St?rn--:++rn<Wt;)if(ut(Xe[rn],rn,Xe))return rn;return-1}function ui(Xe,ut,rt){return ut===ut?no(Xe,ut,rt):qi(Xe,Aa,rt)}function jo(Xe,ut,rt,St){for(var Wt=rt-1,rn=Xe.length;++Wt<rn;)if(St(Xe[Wt],ut))return Wt;return-1}function Aa(Xe){return Xe!==Xe}function Ya(Xe,ut){var rt=Xe==null?0:Xe.length;return rt?to(Xe,ut)/rt:k}function Ta(Xe){return function(ut){return ut==null?n:ut[Xe]}}function ea(Xe){return function(ut){return Xe==null?n:Xe[ut]}}function qa(Xe,ut,rt,St,Wt){return Wt(Xe,function(rn,Fn,dn){rt=St?(St=!1,rn):ut(rt,rn,Fn,dn)}),rt}function eo(Xe,ut){var rt=Xe.length;for(Xe.sort(ut);rt--;)Xe[rt]=Xe[rt].value;return Xe}function to(Xe,ut){for(var rt,St=-1,Wt=Xe.length;++St<Wt;){var rn=ut(Xe[St]);rn!==n&&(rt=rt===n?rn:rt+rn)}return rt}function Ca(Xe,ut){for(var rt=-1,St=Array(Xe);++rt<Xe;)St[rt]=ut(rt);return St}function zs(Xe,ut){return Sn(ut,function(rt){return[rt,Xe[rt]]})}function Jn(Xe){return function(ut){return Xe(ut)}}function Bo(Xe,ut){return Sn(ut,function(rt){return Xe[rt]})}function ta(Xe,ut){return Xe.has(ut)}function Ws(Xe,ut){for(var rt=-1,St=Xe.length;++rt<St&&ui(ut,Xe[rt],0)>-1;);return rt}function Hs(Xe,ut){for(var rt=Xe.length;rt--&&ui(ut,Xe[rt],0)>-1;);return rt}function Ks(Xe,ut){for(var rt=Xe.length,St=0;rt--;)Xe[rt]===ut&&++St;return St}var ac=ea(Bt),Vn=ea(Mo);function oc(Xe){return"\\"+yn[Xe]}function Fo(Xe,ut){return Xe==null?n:Xe[ut]}function na(Xe){return nn.test(Xe)}function Zn(Xe){return Xn.test(Xe)}function sc(Xe){for(var ut,rt=[];!(ut=Xe.next()).done;)rt.push(ut.value);return rt}function Sr(Xe){var ut=-1,rt=Array(Xe.size);return Xe.forEach(function(St,Wt){rt[++ut]=[Wt,St]}),rt}function Vs(Xe,ut){return function(rt){return Xe(ut(rt))}}function On(Xe,ut){for(var rt=-1,St=Xe.length,Wt=0,rn=[];++rt<St;){var Fn=Xe[rt];(Fn===ut||Fn===u)&&(Xe[rt]=u,rn[Wt++]=rt)}return rn}function bi(Xe){var ut=-1,rt=Array(Xe.size);return Xe.forEach(function(St){rt[++ut]=St}),rt}function Go(Xe){var ut=-1,rt=Array(Xe.size);return Xe.forEach(function(St){rt[++ut]=[St,St]}),rt}function no(Xe,ut,rt){for(var St=rt-1,Wt=Xe.length;++St<Wt;)if(Xe[St]===ut)return St;return-1}function ks(Xe,ut,rt){for(var St=rt+1;St--;)if(Xe[St]===ut)return St;return St}function ra(Xe){return na(Xe)?$s(Xe):No(Xe)}function xr(Xe){return na(Xe)?cc(Xe):Uo(Xe)}var uc=ea(Va);function $s(Xe){for(var ut=Bn.lastIndex=0;Bn.test(Xe);)++ut;return ut}function cc(Xe){return Xe.match(Bn)||[]}function Xs(Xe){return Xe.match(mn)||[]}var lc=function Xe(ut){ut=ut==null?bn:Ia.defaults(bn.Object(),ut,Ia.pick(bn,yr));var rt=ut.Array,St=ut.Date,Wt=ut.Error,rn=ut.Function,Fn=ut.Math,dn=ut.Object,zo=ut.RegExp,Ni=ut.String,Rr=ut.TypeError,Nn=rt.prototype,fc=rn.prototype,zr=dn.prototype,ro=ut["__core-js_shared__"],ia=fc.toString,un=zr.hasOwnProperty,Wo=0,Qs=function(){var O=/[^.]+$/.exec(ro&&ro.keys&&ro.keys.IE_PROTO||"");return O?"Symbol(src)_1."+O:""}(),xa=zr.toString,dc=ia.call(dn),Ho=bn._,vc=zo("^"+ia.call(un).replace(sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ra=Xa?ut.Buffer:n,Oi=ut.Symbol,wa=ut.Uint8Array,io=Ra?Ra.allocUnsafe:n,Da=Vs(dn.getPrototypeOf,dn),Js=dn.create,Ko=zr.propertyIsEnumerable,ao=Nn.splice,Vo=Oi?Oi.isConcatSpreadable:n,Ma=Oi?Oi.iterator:n,_i=Oi?Oi.toStringTag:n,oo=function(){try{var O=la(dn,"defineProperty");return O({},"",{}),O}catch(C){}}(),Zs=ut.clearTimeout!==bn.clearTimeout&&ut.clearTimeout,hc=St&&St.now!==bn.Date.now&&St.now,Ys=ut.setTimeout!==bn.setTimeout&&ut.setTimeout,so=Fn.ceil,La=Fn.floor,ko=dn.getOwnPropertySymbols,qs=Ra?Ra.isBuffer:n,eu=ut.isFinite,tu=Nn.join,pc=Vs(dn.keys,dn),In=Fn.max,Yn=Fn.min,nu=St.now,gc=ut.parseInt,$o=Fn.random,mc=Nn.reverse,uo=la(ut,"DataView"),Na=la(ut,"Map"),co=la(ut,"Promise"),ir=la(ut,"Set"),aa=la(ut,"WeakMap"),Ua=la(dn,"create"),ja=aa&&new aa,oa={},ru=fa(uo),yc=fa(Na),Ec=fa(co),Sc=fa(ir),Xo=fa(aa),lo=Oi?Oi.prototype:n,Yr=lo?lo.valueOf:n,fo=lo?lo.toString:n;function ge(O){if(ot(O)&&!kt(O)&&!(O instanceof Yt)){if(O instanceof br)return O;if(un.call(O,"__wrapped__"))return pl(O)}return new br(O)}var on=function(){function O(){}return function(C){if(!tt(C))return{};if(Js)return Js(C);O.prototype=C;var V=new O;return O.prototype=n,V}}();function vo(){}function br(O,C){this.__wrapped__=O,this.__actions__=[],this.__chain__=!!C,this.__index__=0,this.__values__=n}ge.templateSettings={escape:Cn,evaluate:hn,interpolate:fn,variable:"",imports:{_:ge}},ge.prototype=vo.prototype,ge.prototype.constructor=ge,br.prototype=on(vo.prototype),br.prototype.constructor=br;function Yt(O){this.__wrapped__=O,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function iu(){var O=new Yt(this.__wrapped__);return O.__actions__=Or(this.__actions__),O.__dir__=this.__dir__,O.__filtered__=this.__filtered__,O.__iteratees__=Or(this.__iteratees__),O.__takeCount__=this.__takeCount__,O.__views__=Or(this.__views__),O}function bc(){if(this.__filtered__){var O=new Yt(this);O.__dir__=-1,O.__filtered__=!0}else O=this.clone(),O.__dir__*=-1;return O}function au(){var O=this.__wrapped__.value(),C=this.__dir__,V=kt(O),ne=C<0,ce=V?O.length:0,be=pv(0,ce,this.__views__),De=be.start,Fe=be.end,Ye=Fe-De,ft=ne?Fe:De-1,lt=this.__iteratees__,vt=lt.length,yt=0,_t=Yn(Ye,this.__takeCount__);if(!V||!ne&&ce==Ye&&_t==Ye)return Qc(O,this.__actions__);var Ft=[];e:for(;Ye--&&yt<_t;){ft+=C;for(var en=-1,Ut=O[ft];++en<vt;){var tn=lt[en],vn=tn.iteratee,Lr=tn.type,Nr=vn(Ut);if(Lr==G)Ut=Nr;else if(!Nr){if(Lr==H)continue e;break e}}Ft[yt++]=Ut}return Ft}Yt.prototype=on(vo.prototype),Yt.prototype.constructor=Yt;function ci(O){var C=-1,V=O==null?0:O.length;for(this.clear();++C<V;){var ne=O[C];this.set(ne[0],ne[1])}}function Jl(){this.__data__=Ua?Ua(null):{},this.size=0}function Gt(O){var C=this.has(O)&&delete this.__data__[O];return this.size-=C?1:0,C}function Zl(O){var C=this.__data__;if(Ua){var V=C[O];return V===o?n:V}return un.call(C,O)?C[O]:n}function ho(O){var C=this.__data__;return Ua?C[O]!==n:un.call(C,O)}function Yl(O,C){var V=this.__data__;return this.size+=this.has(O)?0:1,V[O]=Ua&&C===n?o:C,this}ci.prototype.clear=Jl,ci.prototype.delete=Gt,ci.prototype.get=Zl,ci.prototype.has=ho,ci.prototype.set=Yl;function li(O){var C=-1,V=O==null?0:O.length;for(this.clear();++C<V;){var ne=O[C];this.set(ne[0],ne[1])}}function ql(){this.__data__=[],this.size=0}function Oc(O){var C=this.__data__,V=Jo(C,O);if(V<0)return!1;var ne=C.length-1;return V==ne?C.pop():ao.call(C,V,1),--this.size,!0}function ou(O){var C=this.__data__,V=Jo(C,O);return V<0?n:C[V][1]}function _c(O){return Jo(this.__data__,O)>-1}function ef(O,C){var V=this.__data__,ne=Jo(V,O);return ne<0?(++this.size,V.push([O,C])):V[ne][1]=C,this}li.prototype.clear=ql,li.prototype.delete=Oc,li.prototype.get=ou,li.prototype.has=_c,li.prototype.set=ef;function Pi(O){var C=-1,V=O==null?0:O.length;for(this.clear();++C<V;){var ne=O[C];this.set(ne[0],ne[1])}}function Pc(){this.size=0,this.__data__={hash:new ci,map:new(Na||li),string:new ci}}function su(O){var C=ps(this,O).delete(O);return this.size-=C?1:0,C}function Ac(O){return ps(this,O).get(O)}function Tc(O){return ps(this,O).has(O)}function uu(O,C){var V=ps(this,O),ne=V.size;return V.set(O,C),this.size+=V.size==ne?0:1,this}Pi.prototype.clear=Pc,Pi.prototype.delete=su,Pi.prototype.get=Ac,Pi.prototype.has=Tc,Pi.prototype.set=uu;function Ui(O){var C=-1,V=O==null?0:O.length;for(this.__data__=new Pi;++C<V;)this.add(O[C])}function Cc(O){return this.__data__.set(O,o),this}function cu(O){return this.__data__.has(O)}Ui.prototype.add=Ui.prototype.push=Cc,Ui.prototype.has=cu;function qr(O){var C=this.__data__=new li(O);this.size=C.size}function tf(){this.__data__=new li,this.size=0}function nf(O){var C=this.__data__,V=C.delete(O);return this.size=C.size,V}function rf(O){return this.__data__.get(O)}function lu(O){return this.__data__.has(O)}function af(O,C){var V=this.__data__;if(V instanceof li){var ne=V.__data__;if(!Na||ne.length<t-1)return ne.push([O,C]),this.size=++V.size,this;V=this.__data__=new Pi(ne)}return V.set(O,C),this.size=V.size,this}qr.prototype.clear=tf,qr.prototype.delete=nf,qr.prototype.get=rf,qr.prototype.has=lu,qr.prototype.set=af;function Ic(O,C){var V=kt(O),ne=!V&&va(O),ce=!V&&!ne&&B(O),be=!V&&!ne&&!ce&&Dr(O),De=V||ne||ce||be,Fe=De?Ca(O.length,Ni):[],Ye=Fe.length;for(var ft in O)(C||un.call(O,ft))&&!(De&&(ft=="length"||ce&&(ft=="offset"||ft=="parent")||be&&(ft=="buffer"||ft=="byteLength"||ft=="byteOffset")||wi(ft,Ye)))&&Fe.push(ft);return Fe}function xc(O){var C=O.length;return C?O[Ou(0,C-1)]:n}function po(O,C){return bs(Or(O),Ci(C,0,O.length))}function of(O){return bs(Or(O))}function Qo(O,C,V){(V!==n&&!ni(O[C],V)||V===n&&!(C in O))&&Ti(O,C,V)}function Ai(O,C,V){var ne=O[C];(!(un.call(O,C)&&ni(ne,V))||V===n&&!(C in O))&&Ti(O,C,V)}function Jo(O,C){for(var V=O.length;V--;)if(ni(O[V][0],C))return V;return-1}function sf(O,C,V,ne){return ji(O,function(ce,be,De){C(ne,ce,V(ce),De)}),ne}function go(O,C){return O&&ei(C,Dn(C),O)}function Rc(O,C){return O&&ei(C,Xr(C),O)}function Ti(O,C,V){C=="__proto__"&&oo?oo(O,C,{configurable:!0,enumerable:!0,value:V,writable:!0}):O[C]=V}function fu(O,C){for(var V=-1,ne=C.length,ce=rt(ne),be=O==null;++V<ne;)ce[V]=be?n:rc(O,C[V]);return ce}function Ci(O,C,V){return O===O&&(V!==n&&(O=O<=V?O:V),C!==n&&(O=O>=C?O:C)),O}function Wr(O,C,V,ne,ce,be){var De,Fe=C&l,Ye=C&c,ft=C&g;if(V&&(De=ce?V(O,ne,ce,be):V(O)),De!==n)return De;if(!tt(O))return O;var lt=kt(O);if(lt){if(De=Lf(O),!Fe)return Or(O,De)}else{var vt=fr(O),yt=vt==Se||vt==Pe;if(B(O))return _o(O,Fe);if(vt==ae||vt==U||yt&&!ce){if(De=Ye||yt?{}:ul(O),!Fe)return Ye?Cf(O,Rc(De,O)):Tf(O,go(De,O))}else{if(!Vt[vt])return ce?O:{};De=Nf(O,vt,Fe)}}be||(be=new qr);var _t=be.get(O);if(_t)return _t;be.set(O,De),kr(O)?O.forEach(function(Ut){De.add(Wr(Ut,C,V,Ut,O,be))}):Ot(O)&&O.forEach(function(Ut,tn){De.set(tn,Wr(Ut,C,V,tn,O,be))});var Ft=ft?Ye?hs:ju:Ye?Xr:Dn,en=lt?n:Ft(O);return rr(en||O,function(Ut,tn){en&&(tn=Ut,Ut=O[tn]),Ai(De,tn,Wr(Ut,C,V,tn,O,be))}),De}function wc(O){var C=Dn(O);return function(V){return Dc(V,O,C)}}function Dc(O,C,V){var ne=V.length;if(O==null)return!ne;for(O=dn(O);ne--;){var ce=V[ne],be=C[ce],De=O[ce];if(De===n&&!(ce in O)||!be(De))return!1}return!0}function du(O,C,V){if(typeof O!="function")throw new Rr(i);return za(function(){O.apply(n,V)},C)}function sa(O,C,V,ne){var ce=-1,be=Zi,De=!0,Fe=O.length,Ye=[],ft=C.length;if(!Fe)return Ye;V&&(C=Sn(C,Jn(V))),ne?(be=Lo,De=!1):C.length>=t&&(be=ta,De=!1,C=new Ui(C));e:for(;++ce<Fe;){var lt=O[ce],vt=V==null?lt:V(lt);if(lt=ne||lt!==0?lt:0,De&&vt===vt){for(var yt=ft;yt--;)if(C[yt]===vt)continue e;Ye.push(lt)}else be(C,vt,ne)||Ye.push(lt)}return Ye}var ji=nl(fi),Zo=nl(vu,!0);function uf(O,C){var V=!0;return ji(O,function(ne,ce,be){return V=!!C(ne,ce,be),V}),V}function mo(O,C,V){for(var ne=-1,ce=O.length;++ne<ce;){var be=O[ne],De=C(be);if(De!=null&&(Fe===n?De===De&&!pn(De):V(De,Fe)))var Fe=De,Ye=be}return Ye}function cf(O,C,V,ne){var ce=O.length;for(V=Nt(V),V<0&&(V=-V>ce?0:ce+V),ne=ne===n||ne>ce?ce:Nt(ne),ne<0&&(ne+=ce),ne=V>ne?0:mi(ne);V<ne;)O[V++]=C;return O}function Mc(O,C){var V=[];return ji(O,function(ne,ce,be){C(ne,ce,be)&&V.push(ne)}),V}function qn(O,C,V,ne,ce){var be=-1,De=O.length;for(V||(V=jf),ce||(ce=[]);++be<De;){var Fe=O[be];C>0&&V(Fe)?C>1?qn(Fe,C-1,V,ne,ce):Si(ce,Fe):ne||(ce[ce.length]=Fe)}return ce}var yo=Ru(),Lc=Ru(!0);function fi(O,C){return O&&yo(O,C,Dn)}function vu(O,C){return O&&Lc(O,C,Dn)}function Yo(O,C){return En(C,function(V){return ze(O[V])})}function Ba(O,C){C=Fi(C,O);for(var V=0,ne=C.length;O!=null&&V<ne;)O=O[hi(C[V++])];return V&&V==ne?O:n}function Nc(O,C,V){var ne=C(O);return kt(O)?ne:Si(ne,V(O))}function ar(O){return O==null?O===n?nt:ve:_i&&_i in dn(O)?kn(O):Wf(O)}function qo(O,C){return O>C}function Uc(O,C){return O!=null&&un.call(O,C)}function lf(O,C){return O!=null&&C in dn(O)}function hu(O,C,V){return O>=Yn(C,V)&&O<In(C,V)}function es(O,C,V){for(var ne=V?Lo:Zi,ce=O[0].length,be=O.length,De=be,Fe=rt(be),Ye=1/0,ft=[];De--;){var lt=O[De];De&&C&&(lt=Sn(lt,Jn(C))),Ye=Yn(lt.length,Ye),Fe[De]=!V&&(C||ce>=120&&lt.length>=120)?new Ui(De&&lt):n}lt=O[0];var vt=-1,yt=Fe[0];e:for(;++vt<ce&&ft.length<Ye;){var _t=lt[vt],Ft=C?C(_t):_t;if(_t=V||_t!==0?_t:0,!(yt?ta(yt,Ft):ne(ft,Ft,V))){for(De=be;--De;){var en=Fe[De];if(!(en?ta(en,Ft):ne(O[De],Ft,V)))continue e}yt&&yt.push(Ft),ft.push(_t)}}return ft}function ff(O,C,V,ne){return fi(O,function(ce,be,De){C(ne,V(ce),be,De)}),ne}function ua(O,C,V){C=Fi(C,O),O=fl(O,C);var ne=O==null?O:O[hi(Vr(C))];return ne==null?n:Kn(ne,O,V)}function jc(O){return ot(O)&&ar(O)==U}function df(O){return ot(O)&&ar(O)==we}function vf(O){return ot(O)&&ar(O)==oe}function Eo(O,C,V,ne,ce){return O===C?!0:O==null||C==null||!ot(O)&&!ot(C)?O!==O&&C!==C:hf(O,C,V,ne,Eo,ce)}function hf(O,C,V,ne,ce,be){var De=kt(O),Fe=kt(C),Ye=De?Q:fr(O),ft=Fe?Q:fr(C);Ye=Ye==U?ae:Ye,ft=ft==U?ae:ft;var lt=Ye==ae,vt=ft==ae,yt=Ye==ft;if(yt&&B(O)){if(!B(C))return!1;De=!0,lt=!1}if(yt&&!lt)return be||(be=new qr),De||Dr(O)?ol(O,C,V,ne,ce,be):Df(O,C,Ye,V,ne,ce,be);if(!(V&v)){var _t=lt&&un.call(O,"__wrapped__"),Ft=vt&&un.call(C,"__wrapped__");
vendor: 5,974 bytes, line 19
19if(_t||Ft){var en=_t?O.value():O,Ut=Ft?C.value():C;return be||(be=new qr),ce(en,Ut,V,ne,be)}}return yt?(be||(be=new qr),Mf(O,C,V,ne,ce,be)):!1}function Bc(O){return ot(O)&&fr(O)==He}function ts(O,C,V,ne){var ce=V.length,be=ce,De=!ne;if(O==null)return!be;for(O=dn(O);ce--;){var Fe=V[ce];if(De&&Fe[2]?Fe[1]!==O[Fe[0]]:!(Fe[0]in O))return!1}for(;++ce<be;){Fe=V[ce];var Ye=Fe[0],ft=O[Ye],lt=Fe[1];if(De&&Fe[2]){if(ft===n&&!(Ye in O))return!1}else{var vt=new qr;if(ne)var yt=ne(ft,lt,Ye,O,C,vt);if(!(yt===n?Eo(lt,ft,v|h,ne,vt):yt))return!1}}return!0}function Fc(O){if(!tt(O)||di(O))return!1;var C=ze(O)?vc:ii;return C.test(fa(O))}function pf(O){return ot(O)&&ar(O)==xe}function gf(O){return ot(O)&&fr(O)==_e}function mf(O){return ot(O)&&at(O.length)&&!!Kt[ar(O)]}function pu(O){return typeof O=="function"?O:O==null?Qr:typeof O=="object"?kt(O)?Eu(O[0],O[1]):Gc(O):Av(O)}function gu(O){if(!Kr(O))return pc(O);var C=[];for(var V in dn(O))un.call(O,V)&&V!="constructor"&&C.push(V);return C}function yf(O){if(!tt(O))return zf(O);var C=Kr(O),V=[];for(var ne in O)ne=="constructor"&&(C||!un.call(O,ne))||V.push(ne);return V}function mu(O,C){return O<C}function yu(O,C){var V=-1,ne=_r(O)?rt(O.length):[];return ji(O,function(ce,be,De){ne[++V]=C(ce,be,De)}),ne}function Gc(O){var C=gs(O);return C.length==1&&C[0][2]?ms(C[0][0],C[0][1]):function(V){return V===O||ts(V,O,C)}}function Eu(O,C){return Gu(O)&&vi(C)?ms(hi(O),C):function(V){var ne=rc(V,O);return ne===n&&ne===C?Bs(V,O):Eo(C,ne,v|h)}}function So(O,C,V,ne,ce){O!==C&&yo(C,function(be,De){if(ce||(ce=new qr),tt(be))zc(O,C,De,V,So,ne,ce);else{var Fe=ne?ne(ys(O,De),be,De+"",O,C,ce):n;Fe===n&&(Fe=be),Qo(O,De,Fe)}},Xr)}function zc(O,C,V,ne,ce,be,De){var Fe=ys(O,V),Ye=ys(C,V),ft=De.get(Ye);if(ft){Qo(O,V,ft);return}var lt=be?be(Fe,Ye,V+"",O,C,De):n,vt=lt===n;if(vt){var yt=kt(Ye),_t=!yt&&B(Ye),Ft=!yt&&!_t&&Dr(Ye);lt=Ye,yt||_t||Ft?kt(Fe)?lt=Fe:wn(Fe)?lt=Or(Fe):_t?(vt=!1,lt=_o(Ye,!0)):Ft?(vt=!1,lt=xu(Ye,!0)):lt=[]:jt(Ye)||va(Ye)?(lt=Fe,va(Fe)?lt=Do(Fe):(!tt(Fe)||ze(Fe))&&(lt=ul(Ye))):vt=!1}vt&&(De.set(Ye,lt),ce(lt,Ye,ne,be,De),De.delete(Ye)),Qo(O,V,lt)}function Wc(O,C){var V=O.length;if(!!V)return C+=C<0?V:0,wi(C,V)?O[C]:n}function Hc(O,C,V){var ne=-1;C=Sn(C.length?C:[Qr],Jn(wt()));var ce=yu(O,function(be,De,Fe){var Ye=Sn(C,function(ft){return ft(be)});return{criteria:Ye,index:++ne,value:be}});return eo(ce,function(be,De){return el(be,De,V)})}function Kc(O,C){return Vc(O,C,function(V,ne){return Bs(O,ne)})}function Vc(O,C,V){for(var ne=-1,ce=C.length,be={};++ne<ce;){var De=C[ne],Fe=Ba(O,De);V(Fe,De)&&bo(be,Fi(De,O),Fe)}return be}function Fa(O){return function(C){return Ba(C,O)}}function Su(O,C,V,ne){var ce=ne?jo:ui,be=-1,De=C.length,Fe=O;for(O===C&&(C=Or(C)),V&&(Fe=Sn(O,Jn(V)));++be<De;)for(var Ye=0,ft=C[be],lt=V?V(ft):ft;(Ye=ce(Fe,lt,Ye,ne))>-1;)Fe!==O&&ao.call(Fe,Ye,1),ao.call(O,Ye,1);return O}function bu(O,C){for(var V=O?C.length:0,ne=V-1;V--;){var ce=C[V];if(V==ne||ce!==be){var be=ce;wi(ce)?ao.call(O,ce,1):ca(O,ce)}}return O}function Ou(O,C){return O+La($o()*(C-O+1))}function Ef(O,C,V,ne){for(var ce=-1,be=In(so((C-O)/(V||1)),0),De=rt(be);be--;)De[ne?be:++ce]=O,O+=V;return De}function _u(O,C){var V="";if(!O||C<1||C>J)return V;do C%2&&(V+=O),C=La(C/2),C&&(O+=O);while(C);return V}function Zt(O,C){return Es(ll(O,C,Qr),O+"")}function Sf(O){return xc(Gs(O))}function bf(O,C){var V=Gs(O);return bs(V,Ci(C,0,V.length))}function bo(O,C,V,ne){if(!tt(O))return O;C=Fi(C,O);for(var ce=-1,be=C.length,De=be-1,Fe=O;Fe!=null&&++ce<be;){var Ye=hi(C[ce]),ft=V;if(ce!=De){var lt=Fe[Ye];ft=ne?ne(lt,Ye,Fe):n,ft===n&&(ft=tt(lt)?lt:wi(C[ce+1])?[]:{})}Ai(Fe,Ye,ft),Fe=Fe[Ye]}return O}var kc=ja?function(O,C){return ja.set(O,C),O}:Qr,Of=oo?function(O,C){return oo(O,"toString",{configurable:!0,enumerable:!1,value:cv(C),writable:!0})}:Qr;function _f(O){return bs(Gs(O))}function Hr(O,C,V){var ne=-1,ce=O.length;C<0&&(C=-C>ce?0:ce+C),V=V>ce?ce:V,V<0&&(V+=ce),ce=C>V?0:V-C>>>0,C>>>=0;for(var be=rt(ce);++ne<ce;)be[ne]=O[ne+C];return be}function ns(O,C){var V;return ji(O,function(ne,ce,be){return V=C(ne,ce,be),!V}),!!V}function rs(O,C,V){var ne=0,ce=O==null?ne:O.length;if(typeof C=="number"&&C===C&&ce<=N){for(;ne<ce;){var be=ne+ce>>>1,De=O[be];De!==null&&!pn(De)&&(V?De<=C:De<C)?ne=be+1:ce=be}return ce}return Pu(O,C,Qr,V)}function Pu(O,C,V,ne){C=V(C);for(var ce=0,be=O==null?0:O.length,De=C!==C,Fe=C===null,Ye=pn(C),ft=C===n;ce<be;){var lt=La((ce+be)/2),vt=V(O[lt]),yt=vt!==n,_t=vt===null,Ft=vt===vt,en=pn(vt);if(De)var Ut=ne||Ft;else ft?Ut=Ft&&(ne||yt):Fe?Ut=Ft&&yt&&(ne||!_t):Ye?Ut=Ft&&yt&&!_t&&(ne||!en):_t||en?Ut=!1:Ut=ne?vt<=C:vt<C;Ut?ce=lt+1:be=lt}return Yn(be,q)}function $c(O,C){for(var V=-1,ne=O.length,ce=0,be=[];++V<ne;){var De=O[V],Fe=C?C(De):De;if(!V||!ni(Fe,Ye)){var Ye=Fe;be[ce++]=De===0?0:De}}return be}function Xc(O){return typeof O=="number"?O:pn(O)?k:+O}function wr(O){if(typeof O=="string")return O;if(kt(O))return Sn(O,wr)+"";if(pn(O))return fo?fo.call(O):"";var C=O+"";return C=="0"&&1/O==-K?"-0":C}function Bi(O,C,V){var ne=-1,ce=Zi,be=O.length,De=!0,Fe=[],Ye=Fe;if(V)De=!1,ce=Lo;else if(be>=t){var ft=C?null:Rf(O);if(ft)return bi(ft);De=!1,ce=ta,Ye=new Ui}else Ye=C?[]:Fe;e:for(;++ne<be;){var lt=O[ne],vt=C?C(lt):lt;if(lt=V||lt!==0?lt:0,De&&vt===vt){for(var yt=Ye.length;yt--;)if(Ye[yt]===vt)continue e;C&&Ye.push(vt),Fe.push(lt)}else ce(Ye,vt,V)||(Ye!==Fe&&Ye.push(vt),Fe.push(lt))}return Fe}function ca(O,C){return C=Fi(C,O),O=fl(O,C),O==null||delete O[hi(Vr(C))]}function Oo(O,C,V,ne){return bo(O,C,V(Ba(O,C)),ne)}function is(O,C,V,ne){for(var ce=O.length,be=ne?ce:-1;(ne?be--:++be<ce)&&C(O[be],be,O););return V?Hr(O,ne?0:be,ne?be+1:ce):Hr(O,ne?be+1:0,ne?ce:be)}function Qc(O,C){var V=O;return V instanceof Yt&&(V=V.value()),Yi(C,function(ne,ce){return ce.func.apply(ce.thisArg,Si([ne],ce.args))},V)}function Au(O,C,V){var ne=O.length;if(ne<2)return ne?Bi(O[0]):[];for(var ce=-1,be=rt(ne);++ce<ne;)for(var De=O[ce],Fe=-1;++Fe<ne;)Fe!=ce&&(be[ce]=sa(be[ce]||De,O[Fe],C,V));return Bi(qn(be,1),C,V)}
vendor: 4,249 bytes, line 19
19function Jc(O,C,V){for(var ne=-1,ce=O.length,be=C.length,De={};++ne<ce;){var Fe=ne<be?C[ne]:n;V(De,O[ne],Fe)}return De}function Tu(O){return wn(O)?O:[]}function Cu(O){return typeof O=="function"?O:Qr}function Fi(O,C){return kt(O)?O:Gu(O,C)?[O]:hl(an(O))}var Pf=Zt;function Gi(O,C,V){var ne=O.length;return V=V===n?ne:V,!C&&V>=ne?O:Hr(O,C,V)}var Zc=Zs||function(O){return bn.clearTimeout(O)};function _o(O,C){if(C)return O.slice();var V=O.length,ne=io?io(V):new O.constructor(V);return O.copy(ne),ne}function Iu(O){var C=new O.constructor(O.byteLength);return new wa(C).set(new wa(O)),C}function as(O,C){var V=C?Iu(O.buffer):O.buffer;return new O.constructor(V,O.byteOffset,O.byteLength)}function Af(O){var C=new O.constructor(O.source,pr.exec(O));return C.lastIndex=O.lastIndex,C}function Yc(O){return Yr?dn(Yr.call(O)):{}}function xu(O,C){var V=C?Iu(O.buffer):O.buffer;return new O.constructor(V,O.byteOffset,O.length)}function qc(O,C){if(O!==C){var V=O!==n,ne=O===null,ce=O===O,be=pn(O),De=C!==n,Fe=C===null,Ye=C===C,ft=pn(C);if(!Fe&&!ft&&!be&&O>C||be&&De&&Ye&&!Fe&&!ft||ne&&De&&Ye||!V&&Ye||!ce)return 1;if(!ne&&!be&&!ft&&O<C||ft&&V&&ce&&!ne&&!be||Fe&&V&&ce||!De&&ce||!Ye)return-1}return 0}function el(O,C,V){for(var ne=-1,ce=O.criteria,be=C.criteria,De=ce.length,Fe=V.length;++ne<De;){var Ye=qc(ce[ne],be[ne]);if(Ye){if(ne>=Fe)return Ye;var ft=V[ne];return Ye*(ft=="desc"?-1:1)}}return O.index-C.index}function tl(O,C,V,ne){for(var ce=-1,be=O.length,De=V.length,Fe=-1,Ye=C.length,ft=In(be-De,0),lt=rt(Ye+ft),vt=!ne;++Fe<Ye;)lt[Fe]=C[Fe];for(;++ce<De;)(vt||ce<be)&&(lt[V[ce]]=O[ce]);for(;ft--;)lt[Fe++]=O[ce++];return lt}function Po(O,C,V,ne){for(var ce=-1,be=O.length,De=-1,Fe=V.length,Ye=-1,ft=C.length,lt=In(be-Fe,0),vt=rt(lt+ft),yt=!ne;++ce<lt;)vt[ce]=O[ce];for(var _t=ce;++Ye<ft;)vt[_t+Ye]=C[Ye];for(;++De<Fe;)(yt||ce<be)&&(vt[_t+V[De]]=O[ce++]);return vt}function Or(O,C){var V=-1,ne=O.length;for(C||(C=rt(ne));++V<ne;)C[V]=O[V];return C}function ei(O,C,V,ne){var ce=!V;V||(V={});for(var be=-1,De=C.length;++be<De;){var Fe=C[be],Ye=ne?ne(V[Fe],O[Fe],Fe,V,O):n;Ye===n&&(Ye=O[Fe]),ce?Ti(V,Fe,Ye):Ai(V,Fe,Ye)}return V}function Tf(O,C){return ei(O,Fu(O),C)}function Cf(O,C){return ei(O,sl(O),C)}function os(O,C){return function(V,ne){var ce=kt(V)?Ja:sf,be=C?C():{};return ce(V,O,wt(ne,2),be)}}function Ii(O){return Zt(function(C,V){var ne=-1,ce=V.length,be=ce>1?V[ce-1]:n,De=ce>2?V[2]:n;for(be=O.length>3&&typeof be=="function"?(ce--,be):n,De&&or(V[0],V[1],De)&&(be=ce<3?n:be,ce=1),C=dn(C);++ne<ce;){var Fe=V[ne];Fe&&O(C,Fe,ne,be)}return C})}function nl(O,C){return function(V,ne){if(V==null)return V;if(!_r(V))return O(V,ne);for(var ce=V.length,be=C?ce:-1,De=dn(V);(C?be--:++be<ce)&&ne(De[be],be,De)!==!1;);return V}}function Ru(O){return function(C,V,ne){for(var ce=-1,be=dn(C),De=ne(C),Fe=De.length;Fe--;){var Ye=De[O?Fe:++ce];if(V(be[Ye],Ye,be)===!1)break}return C}}function If(O,C,V){var ne=C&p,ce=Ao(O);function be(){var De=this&&this!==bn&&this instanceof be?ce:O;return De.apply(ne?V:this,arguments)}return be}function ss(O){return function(C){C=an(C);var V=na(C)?xr(C):n,ne=V?V[0]:C.charAt(0),ce=V?Gi(V,1).join(""):C.slice(1);return ne[O]()+ce}}function Ga(O){return function(C){return Yi(_v(Ov(C).replace(Pt,"")),O,"")}}function Ao(O){return function(){var C=arguments;switch(C.length){case 0:return new O;case 1:return new O(C[0]);case 2:return new O(C[0],C[1]);case 3:return new O(C[0],C[1],C[2]);case 4:return new O(C[0],C[1],C[2],C[3]);case 5:return new O(C[0],C[1],C[2],C[3],C[4]);case 6:return new O(C[0],C[1],C[2],C[3],C[4],C[5]);case 7:return new O(C[0],C[1],C[2],C[3],C[4],C[5],C[6])}var V=on(O.prototype),ne=O.apply(V,C);return tt(ne)?ne:V}}function xf(O,C,V){var ne=Ao(O);function ce(){for(var be=arguments.length,De=rt(be),Fe=be,Ye=zi(ce);Fe--;)De[Fe]=arguments[Fe];var ft=be<3&&De[0]!==Ye&&De[be-1]!==Ye?[]:On(De,Ye);if(be-=ft.length,be<V)return Mu(O,C,us,ce.placeholder,n,De,ft,n,n,V-be);var lt=this&&this!==bn&&this instanceof ce?ne:O;return Kn(lt,this,De)}return ce}function wu(O){return function(C,V,ne){var ce=dn(C);if(!_r(C)){var be=wt(V,3);C=Dn(C),V=function(Fe){return be(ce[Fe],Fe,ce)}}var De=O(C,V,ne);return De>-1?ce[be?C[De]:De]:n}}function rl(O){return Ri(function(C){var V=C.length,ne=V,ce=br.prototype.thru;
vendor: 5,010 bytes, line 19
19for(O&&C.reverse();ne--;){var be=C[ne];if(typeof be!="function")throw new Rr(i);if(ce&&!De&&To(be)=="wrapper")var De=new br([],!0)}for(ne=De?ne:V;++ne<V;){be=C[ne];var Fe=To(be),Ye=Fe=="wrapper"?Bu(be):n;Ye&&ti(Ye[0])&&Ye[1]==(A|_|S|T)&&!Ye[4].length&&Ye[9]==1?De=De[To(Ye[0])].apply(De,Ye[3]):De=be.length==1&&ti(be)?De[Fe]():De.thru(be)}return function(){var ft=arguments,lt=ft[0];if(De&&ft.length==1&&kt(lt))return De.plant(lt).value();for(var vt=0,yt=V?C[vt].apply(this,ft):lt;++vt<V;)yt=C[vt].call(this,yt);return yt}})}function us(O,C,V,ne,ce,be,De,Fe,Ye,ft){var lt=C&A,vt=C&p,yt=C&m,_t=C&(_|b),Ft=C&I,en=yt?n:Ao(O);function Ut(){for(var tn=arguments.length,vn=rt(tn),Lr=tn;Lr--;)vn[Lr]=arguments[Lr];if(_t)var Nr=zi(Ut),Ka=Ks(vn,Nr);if(ne&&(vn=tl(vn,ne,ce,_t)),be&&(vn=Po(vn,be,De,_t)),tn-=Ka,_t&&tn<ft){var Gn=On(vn,Nr);return Mu(O,C,us,Ut.placeholder,V,vn,Gn,Fe,Ye,ft-tn)}var Mi=vt?V:this,ga=yt?Mi[O]:O;return tn=vn.length,Fe?vn=dl(vn,Fe):Ft&&tn>1&&vn.reverse(),lt&&Ye<tn&&(vn.length=Ye),this&&this!==bn&&this instanceof Ut&&(ga=en||Ao(ga)),ga.apply(Mi,vn)}return Ut}function il(O,C){return function(V,ne){return ff(V,O,C(ne),{})}}function cs(O,C){return function(V,ne){var ce;if(V===n&&ne===n)return C;if(V!==n&&(ce=V),ne!==n){if(ce===n)return ne;typeof V=="string"||typeof ne=="string"?(V=wr(V),ne=wr(ne)):(V=Xc(V),ne=Xc(ne)),ce=O(V,ne)}return ce}}function ls(O){return Ri(function(C){return C=Sn(C,Jn(wt())),Zt(function(V){var ne=this;return O(C,function(ce){return Kn(ce,ne,V)})})})}function fs(O,C){C=C===n?" ":wr(C);var V=C.length;if(V<2)return V?_u(C,O):C;var ne=_u(C,so(O/ra(C)));return na(C)?Gi(xr(ne),0,O).join(""):ne.slice(0,O)}function ds(O,C,V,ne){var ce=C&p,be=Ao(O);function De(){for(var Fe=-1,Ye=arguments.length,ft=-1,lt=ne.length,vt=rt(lt+Ye),yt=this&&this!==bn&&this instanceof De?be:O;++ft<lt;)vt[ft]=ne[ft];for(;Ye--;)vt[ft++]=arguments[++Fe];return Kn(yt,ce?V:this,vt)}return De}function Du(O){return function(C,V,ne){return ne&&typeof ne!="number"&&or(C,V,ne)&&(V=ne=n),C=vr(C),V===n?(V=C,C=0):V=vr(V),ne=ne===n?C<V?1:-1:vr(ne),Ef(C,V,ne,O)}}function vs(O){return function(C,V){return typeof C=="string"&&typeof V=="string"||(C=xn(C),V=xn(V)),O(C,V)}}function Mu(O,C,V,ne,ce,be,De,Fe,Ye,ft){var lt=C&_,vt=lt?De:n,yt=lt?n:De,_t=lt?be:n,Ft=lt?n:be;C|=lt?S:E,C&=~(lt?E:S),C&P||(C&=~(p|m));var en=[O,C,ce,_t,vt,Ft,yt,Fe,Ye,ft],Ut=V.apply(n,en);return ti(O)&&zu(Ut,en),Ut.placeholder=ne,Ss(Ut,O,C)}function Lu(O){var C=Fn[O];return function(V,ne){if(V=xn(V),ne=ne==null?0:Yn(Nt(ne),292),ne&&eu(V)){var ce=(an(V)+"e").split("e"),be=C(ce[0]+"e"+(+ce[1]+ne));return ce=(an(be)+"e").split("e"),+(ce[0]+"e"+(+ce[1]-ne))}return C(V)}}var Rf=ir&&1/bi(new ir([,-0]))[1]==K?function(O){return new ir(O)}:dv;function Nu(O){return function(C){var V=fr(C);return V==He?Sr(C):V==_e?Go(C):zs(C,O(C))}}function xi(O,C,V,ne,ce,be,De,Fe){var Ye=C&m;if(!Ye&&typeof O!="function")throw new Rr(i);var ft=ne?ne.length:0;if(ft||(C&=~(S|E),ne=ce=n),De=De===n?De:In(Nt(De),0),Fe=Fe===n?Fe:Nt(Fe),ft-=ce?ce.length:0,C&E){var lt=ne,vt=ce;ne=ce=n}var yt=Ye?n:Bu(O),_t=[O,C,V,ne,ce,lt,vt,be,De,Fe];if(yt&&Gf(_t,yt),O=_t[0],C=_t[1],V=_t[2],ne=_t[3],ce=_t[4],Fe=_t[9]=_t[9]===n?Ye?0:O.length:In(_t[9]-ft,0),!Fe&&C&(_|b)&&(C&=~(_|b)),!C||C==p)var Ft=If(O,C,V);else C==_||C==b?Ft=xf(O,C,Fe):(C==S||C==(p|S))&&!ce.length?Ft=ds(O,C,V,ne):Ft=us.apply(n,_t);var en=yt?kc:zu;return Ss(en(Ft,_t),O,C)}function Uu(O,C,V,ne){return O===n||ni(O,zr[V])&&!un.call(ne,V)?C:O}function al(O,C,V,ne,ce,be){return tt(O)&&tt(C)&&(be.set(C,O),So(O,C,n,al,be),be.delete(C)),O}function wf(O){return jt(O)?n:O}function ol(O,C,V,ne,ce,be){var De=V&v,Fe=O.length,Ye=C.length;if(Fe!=Ye&&!(De&&Ye>Fe))return!1;var ft=be.get(O);if(ft&&be.get(C))return ft==C;var lt=-1,vt=!0,yt=V&h?new Ui:n;for(be.set(O,C),be.set(C,O);++lt<Fe;){var _t=O[lt],Ft=C[lt];if(ne)var en=De?ne(Ft,_t,lt,C,O,be):ne(_t,Ft,lt,O,C,be);if(en!==n){if(en)continue;vt=!1;break}if(yt){if(!_a(C,function(Ut,tn){if(!ta(yt,tn)&&(_t===Ut||ce(_t,Ut,V,ne,be)))return yt.push(tn)})){vt=!1;break}}else if(!(_t===Ft||ce(_t,Ft,V,ne,be))){vt=!1;break}}return be.delete(O),be.delete(C),vt}function Df(O,C,V,ne,ce,be,De){switch(V){case We:if(O.byteLength!=C.byteLength||O.byteOffset!=C.byteOffset)return!1;O=O.buffer,C=C.buffer;case we:return!(O.byteLength!=C.byteLength||!be(new wa(O),new wa(C)));case ee:case oe:case fe:return ni(+O,+C);case me:return O.name==C.name&&O.message==C.message;case xe:case Re:return O==C+"";case He:var Fe=Sr;case _e:var Ye=ne&v;if(Fe||(Fe=bi),O.size!=C.size&&!Ye)return!1;var ft=De.get(O);if(ft)return ft==C;ne|=h,De.set(O,C);var lt=ol(Fe(O),Fe(C),ne,ce,be,De);return De.delete(O),lt;case Be:if(Yr)return Yr.call(O)==Yr.call(C)}return!1}function Mf(O,C,V,ne,ce,be){var De=V&v,Fe=ju(O),Ye=Fe.length,ft=ju(C),lt=ft.length;if(Ye!=lt&&!De)return!1;for(var vt=Ye;vt--;){var yt=Fe[vt];if(!(De?yt in C:un.call(C,yt)))return!1}var _t=be.get(O);if(_t&&be.get(C))return _t==C;var Ft=!0;be.set(O,C),be.set(C,O);for(var en=De;++vt<Ye;){yt=Fe[vt];var Ut=O[yt],tn=C[yt];
vendor: 15,882 bytes, line 19
19if(ne)var vn=De?ne(tn,Ut,yt,C,O,be):ne(Ut,tn,yt,O,C,be);if(!(vn===n?Ut===tn||ce(Ut,tn,V,ne,be):vn)){Ft=!1;break}en||(en=yt=="constructor")}if(Ft&&!en){var Lr=O.constructor,Nr=C.constructor;Lr!=Nr&&"constructor"in O&&"constructor"in C&&!(typeof Lr=="function"&&Lr instanceof Lr&&typeof Nr=="function"&&Nr instanceof Nr)&&(Ft=!1)}return be.delete(O),be.delete(C),Ft}function Ri(O){return Es(ll(O,n,Wu),O+"")}function ju(O){return Nc(O,Dn,Fu)}function hs(O){return Nc(O,Xr,sl)}var Bu=ja?function(O){return ja.get(O)}:dv;function To(O){for(var C=O.name+"",V=oa[C],ne=un.call(oa,C)?V.length:0;ne--;){var ce=V[ne],be=ce.func;if(be==null||be==O)return ce.name}return C}function zi(O){var C=un.call(ge,"placeholder")?ge:O;return C.placeholder}function wt(){var O=ge.iteratee||lv;return O=O===lv?pu:O,arguments.length?O(arguments[0],arguments[1]):O}function ps(O,C){var V=O.__data__;return Bf(C)?V[typeof C=="string"?"string":"hash"]:V.map}function gs(O){for(var C=Dn(O),V=C.length;V--;){var ne=C[V],ce=O[ne];C[V]=[ne,ce,vi(ce)]}return C}function la(O,C){var V=Fo(O,C);return Fc(V)?V:n}function kn(O){var C=un.call(O,_i),V=O[_i];try{O[_i]=n;var ne=!0}catch(be){}var ce=xa.call(O);return ne&&(C?O[_i]=V:delete O[_i]),ce}var Fu=ko?function(O){return O==null?[]:(O=dn(O),En(ko(O),function(C){return Ko.call(O,C)}))}:vv,sl=ko?function(O){for(var C=[];O;)Si(C,Fu(O)),O=Da(O);return C}:vv,fr=ar;(uo&&fr(new uo(new ArrayBuffer(1)))!=We||Na&&fr(new Na)!=He||co&&fr(co.resolve())!=le||ir&&fr(new ir)!=_e||aa&&fr(new aa)!=Je)&&(fr=function(O){var C=ar(O),V=C==ae?O.constructor:n,ne=V?fa(V):"";if(ne)switch(ne){case ru:return We;case yc:return He;case Ec:return le;case Sc:return _e;case Xo:return Je}return C});function pv(O,C,V){for(var ne=-1,ce=V.length;++ne<ce;){var be=V[ne],De=be.size;switch(be.type){case"drop":O+=De;break;case"dropRight":C-=De;break;case"take":C=Yn(C,O+De);break;case"takeRight":O=In(O,C-De);break}}return{start:O,end:C}}function gv(O){var C=O.match(Tr);return C?C[1].split(Ln):[]}function zt(O,C,V){C=Fi(C,O);for(var ne=-1,ce=C.length,be=!1;++ne<ce;){var De=hi(C[ne]);if(!(be=O!=null&&V(O,De)))break;O=O[De]}return be||++ne!=ce?be:(ce=O==null?0:O.length,!!ce&&at(ce)&&wi(De,ce)&&(kt(O)||va(O)))}function Lf(O){var C=O.length,V=new O.constructor(C);return C&&typeof O[0]=="string"&&un.call(O,"index")&&(V.index=O.index,V.input=O.input),V}function ul(O){return typeof O.constructor=="function"&&!Kr(O)?on(Da(O)):{}}function Nf(O,C,V){var ne=O.constructor;switch(C){case we:return Iu(O);case ee:case oe:return new ne(+O);case We:return as(O,V);case qe:case Ie:case Me:case Ve:case Ne:case ke:case et:case st:case Ce:return xu(O,V);case He:return new ne;case fe:case Re:return new ne(O);case xe:return Af(O);case _e:return new ne;case Be:return Yc(O)}}function Uf(O,C){var V=C.length;if(!V)return O;var ne=V-1;return C[ne]=(V>1?"& ":"")+C[ne],C=C.join(V>2?", ":" "),O.replace(Tt,"{\n/* [wrapped with "+C+"] */\n")}function jf(O){return kt(O)||va(O)||!!(Vo&&O&&O[Vo])}function wi(O,C){var V=typeof O;return C=C==null?J:C,!!C&&(V=="number"||V!="symbol"&&zn.test(O))&&O>-1&&O%1==0&&O<C}function or(O,C,V){if(!tt(V))return!1;var ne=typeof C;return(ne=="number"?_r(V)&&wi(C,V.length):ne=="string"&&C in V)?ni(V[C],O):!1}function Gu(O,C){if(kt(O))return!1;var V=typeof O;return V=="number"||V=="symbol"||V=="boolean"||O==null||pn(O)?!0:Mn.test(O)||!_n.test(O)||C!=null&&O in dn(C)}function Bf(O){var C=typeof O;return C=="string"||C=="number"||C=="symbol"||C=="boolean"?O!=="__proto__":O===null}function ti(O){var C=To(O),V=ge[C];if(typeof V!="function"||!(C in Yt.prototype))return!1;if(O===V)return!0;var ne=Bu(V);return!!ne&&O===ne[0]}function di(O){return!!Qs&&Qs in O}var cl=ro?ze:hv;function Kr(O){var C=O&&O.constructor,V=typeof C=="function"&&C.prototype||zr;return O===V}function vi(O){return O===O&&!tt(O)}function ms(O,C){return function(V){return V==null?!1:V[O]===C&&(C!==n||O in dn(V))}}function Ff(O){var C=xs(O,function(ne){return V.size===d&&V.clear(),ne}),V=C.cache;return C}function Gf(O,C){var V=O[1],ne=C[1],ce=V|ne,be=ce<(p|m|A),De=ne==A&&V==_||ne==A&&V==T&&O[7].length<=C[8]||ne==(A|T)&&C[7].length<=C[8]&&V==_;if(!(be||De))return O;ne&p&&(O[2]=C[2],ce|=V&p?0:P);var Fe=C[3];if(Fe){var Ye=O[3];O[3]=Ye?tl(Ye,Fe,C[4]):Fe,O[4]=Ye?On(O[3],u):C[4]}return Fe=C[5],Fe&&(Ye=O[5],O[5]=Ye?Po(Ye,Fe,C[6]):Fe,O[6]=Ye?On(O[5],u):C[6]),Fe=C[7],Fe&&(O[7]=Fe),ne&A&&(O[8]=O[8]==null?C[8]:Yn(O[8],C[8])),O[9]==null&&(O[9]=C[9]),O[0]=C[0],O[1]=ce,O}function zf(O){var C=[];if(O!=null)for(var V in dn(O))C.push(V);return C}function Wf(O){return xa.call(O)}function ll(O,C,V){return C=In(C===n?O.length-1:C,0),function(){for(var ne=arguments,ce=-1,be=In(ne.length-C,0),De=rt(be);++ce<be;)De[ce]=ne[C+ce];ce=-1;for(var Fe=rt(C+1);++ce<C;)Fe[ce]=ne[ce];return Fe[C]=V(De),Kn(O,this,Fe)}}function fl(O,C){return C.length<2?O:Ba(O,Hr(C,0,-1))}function dl(O,C){for(var V=O.length,ne=Yn(C.length,V),ce=Or(O);ne--;){var be=C[ne];O[ne]=wi(be,V)?ce[be]:n}return O}function ys(O,C){if(!(C==="constructor"&&typeof O[C]=="function")&&C!="__proto__")return O[C]}var zu=vl(kc),za=Ys||function(O,C){return bn.setTimeout(O,C)},Es=vl(Of);function Ss(O,C,V){var ne=C+"";return Es(O,Uf(ne,Hf(gv(ne),V)))}function vl(O){var C=0,V=0;return function(){var ne=nu(),ce=L-(ne-V);if(V=ne,ce>0){if(++C>=x)return arguments[0]}else C=0;return O.apply(n,arguments)}}function bs(O,C){var V=-1,ne=O.length,ce=ne-1;for(C=C===n?ne:C;++V<C;){var be=Ou(V,ce),De=O[be];O[be]=O[V],O[V]=De}return O.length=C,O}var hl=Ff(function(O){var C=[];return O.charCodeAt(0)===46&&C.push(""),O.replace(er,function(V,ne,ce,be){C.push(ce?be.replace(bt,"$1"):ne||V)}),C});function hi(O){if(typeof O=="string"||pn(O))return O;var C=O+"";return C=="0"&&1/O==-K?"-0":C}function fa(O){if(O!=null){try{return ia.call(O)}catch(C){}try{return O+""}catch(C){}}return""}function Hf(O,C){return rr(M,function(V){var ne="_."+V[0];C&V[1]&&!Zi(O,ne)&&O.push(ne)}),O.sort()}function pl(O){if(O instanceof Yt)return O.clone();var C=new br(O.__wrapped__,O.__chain__);return C.__actions__=Or(O.__actions__),C.__index__=O.__index__,C.__values__=O.__values__,C}function Kf(O,C,V){(V?or(O,C,V):C===n)?C=1:C=In(Nt(C),0);var ne=O==null?0:O.length;if(!ne||C<1)return[];for(var ce=0,be=0,De=rt(so(ne/C));ce<ne;)De[be++]=Hr(O,ce,ce+=C);return De}function Vf(O){for(var C=-1,V=O==null?0:O.length,ne=0,ce=[];++C<V;){var be=O[C];be&&(ce[ne++]=be)}return ce}function kf(){var O=arguments.length;if(!O)return[];for(var C=rt(O-1),V=arguments[0],ne=O;ne--;)C[ne-1]=arguments[ne];return Si(kt(V)?Or(V):[V],qn(C,1))}var $f=Zt(function(O,C){return wn(O)?sa(O,qn(C,1,wn,!0)):[]}),Xf=Zt(function(O,C){var V=Vr(C);return wn(V)&&(V=n),wn(O)?sa(O,qn(C,1,wn,!0),wt(V,2)):[]}),Qf=Zt(function(O,C){var V=Vr(C);return wn(V)&&(V=n),wn(O)?sa(O,qn(C,1,wn,!0),n,V):[]});function Jf(O,C,V){var ne=O==null?0:O.length;return ne?(C=V||C===n?1:Nt(C),Hr(O,C<0?0:C,ne)):[]}function Zf(O,C,V){var ne=O==null?0:O.length;return ne?(C=V||C===n?1:Nt(C),C=ne-C,Hr(O,0,C<0?0:C)):[]}function Os(O,C){return O&&O.length?is(O,wt(C,3),!0,!0):[]}function Yf(O,C){return O&&O.length?is(O,wt(C,3),!0):[]}function gl(O,C,V,ne){var ce=O==null?0:O.length;return ce?(V&&typeof V!="number"&&or(O,C,V)&&(V=0,ne=ce),cf(O,C,V,ne)):[]}function ml(O,C,V){var ne=O==null?0:O.length;if(!ne)return-1;var ce=V==null?0:Nt(V);return ce<0&&(ce=In(ne+ce,0)),qi(O,wt(C,3),ce)}function yl(O,C,V){var ne=O==null?0:O.length;if(!ne)return-1;var ce=ne-1;return V!==n&&(ce=Nt(V),ce=V<0?In(ne+ce,0):Yn(ce,ne-1)),qi(O,wt(C,3),ce,!0)}function Wu(O){var C=O==null?0:O.length;return C?qn(O,1):[]}function El(O){var C=O==null?0:O.length;return C?qn(O,K):[]}function qf(O,C){var V=O==null?0:O.length;return V?(C=C===n?1:Nt(C),qn(O,C)):[]}function ed(O){for(var C=-1,V=O==null?0:O.length,ne={};++C<V;){var ce=O[C];ne[ce[0]]=ce[1]}return ne}function _s(O){return O&&O.length?O[0]:n}function td(O,C,V){var ne=O==null?0:O.length;if(!ne)return-1;var ce=V==null?0:Nt(V);return ce<0&&(ce=In(ne+ce,0)),ui(O,C,ce)}function Hu(O){var C=O==null?0:O.length;return C?Hr(O,0,-1):[]}var nd=Zt(function(O){var C=Sn(O,Tu);return C.length&&C[0]===O[0]?es(C):[]}),rd=Zt(function(O){var C=Vr(O),V=Sn(O,Tu);return C===Vr(V)?C=n:V.pop(),V.length&&V[0]===O[0]?es(V,wt(C,2)):[]}),Ku=Zt(function(O){var C=Vr(O),V=Sn(O,Tu);return C=typeof C=="function"?C:n,C&&V.pop(),V.length&&V[0]===O[0]?es(V,n,C):[]});function id(O,C){return O==null?"":tu.call(O,C)}function Vr(O){var C=O==null?0:O.length;return C?O[C-1]:n}function Vu(O,C,V){var ne=O==null?0:O.length;if(!ne)return-1;var ce=ne;return V!==n&&(ce=Nt(V),ce=ce<0?In(ne+ce,0):Yn(ce,ne-1)),C===C?ks(O,C,ce):qi(O,Aa,ce,!0)}function ad(O,C){return O&&O.length?Wc(O,Nt(C)):n}var Sl=Zt(bl);function bl(O,C){return O&&O.length&&C&&C.length?Su(O,C):O}function od(O,C,V){return O&&O.length&&C&&C.length?Su(O,C,wt(V,2)):O}function sd(O,C,V){return O&&O.length&&C&&C.length?Su(O,C,n,V):O}var ud=Ri(function(O,C){var V=O==null?0:O.length,ne=fu(O,C);return bu(O,Sn(C,function(ce){return wi(ce,V)?+ce:ce}).sort(qc)),ne});function cd(O,C){var V=[];if(!(O&&O.length))return V;var ne=-1,ce=[],be=O.length;for(C=wt(C,3);++ne<be;){var De=O[ne];C(De,ne,O)&&(V.push(De),ce.push(ne))}return bu(O,ce),V}function Ps(O){return O==null?O:mc.call(O)}function ld(O,C,V){var ne=O==null?0:O.length;return ne?(V&&typeof V!="number"&&or(O,C,V)?(C=0,V=ne):(C=C==null?0:Nt(C),V=V===n?ne:Nt(V)),Hr(O,C,V)):[]}function fd(O,C){return rs(O,C)}function Ol(O,C,V){return Pu(O,C,wt(V,2))}function dd(O,C){var V=O==null?0:O.length;if(V){var ne=rs(O,C);if(ne<V&&ni(O[ne],C))return ne}return-1}function _l(O,C){return rs(O,C,!0)}function vd(O,C,V){return Pu(O,C,wt(V,2),!0)}function Pl(O,C){var V=O==null?0:O.length;if(V){var ne=rs(O,C,!0)-1;if(ni(O[ne],C))return ne}return-1}function hd(O){return O&&O.length?$c(O):[]}function Al(O,C){return O&&O.length?$c(O,wt(C,2)):[]}function pd(O){var C=O==null?0:O.length;return C?Hr(O,1,C):[]}function Tl(O,C,V){return O&&O.length?(C=V||C===n?1:Nt(C),Hr(O,0,C<0?0:C)):[]}function Co(O,C,V){var ne=O==null?0:O.length;return ne?(C=V||C===n?1:Nt(C),C=ne-C,Hr(O,C<0?0:C,ne)):[]}function gd(O,C){return O&&O.length?is(O,wt(C,3),!1,!0):[]}function md(O,C){return O&&O.length?is(O,wt(C,3)):[]}var Cl=Zt(function(O){return Bi(qn(O,1,wn,!0))}),yd=Zt(function(O){var C=Vr(O);return wn(C)&&(C=n),Bi(qn(O,1,wn,!0),wt(C,2))}),Ed=Zt(function(O){var C=Vr(O);return C=typeof C=="function"?C:n,Bi(qn(O,1,wn,!0),n,C)});function As(O){return O&&O.length?Bi(O):[]}function ku(O,C){return O&&O.length?Bi(O,wt(C,2)):[]}function Sd(O,C){return C=typeof C=="function"?C:n,O&&O.length?Bi(O,n,C):[]}function $u(O){if(!(O&&O.length))return[];var C=0;return O=En(O,function(V){if(wn(V))return C=In(V.length,C),!0}),Ca(C,function(V){return Sn(O,Ta(V))})}function Il(O,C){if(!(O&&O.length))return[];var V=$u(O);return C==null?V:Sn(V,function(ne){return Kn(C,n,ne)})}var bd=Zt(function(O,C){return wn(O)?sa(O,C):[]}),Od=Zt(function(O){return Au(En(O,wn))}),_d=Zt(function(O){var C=Vr(O);return wn(C)&&(C=n),Au(En(O,wn),wt(C,2))}),Pd=Zt(function(O){var C=Vr(O);return C=typeof C=="function"?C:n,Au(En(O,wn),n,C)}),Xu=Zt($u);function Ad(O,C){return Jc(O||[],C||[],Ai)}function Td(O,C){return Jc(O||[],C||[],bo)}var xl=Zt(function(O){var C=O.length,V=C>1?O[C-1]:n;return V=typeof V=="function"?(O.pop(),V):n,Il(O,V)});function Rl(O){var C=ge(O);return C.__chain__=!0,C}function Cd(O,C){return C(O),O}function Ts(O,C){return C(O)}var Id=Ri(function(O){var C=O.length,V=C?O[0]:0,ne=this.__wrapped__,ce=function(be){return fu(be,O)};return C>1||this.__actions__.length||!(ne instanceof Yt)||!wi(V)?this.thru(ce):(ne=ne.slice(V,+V+(C?1:0)),ne.__actions__.push({func:Ts,args:[ce],thisArg:n}),new br(ne,this.__chain__).thru(function(be){return C&&!be.length&&be.push(n),be}))});function xd(){return Rl(this)}function Rd(){return new br(this.value(),this.__chain__)}function wl(){this.__values__===n&&(this.__values__=Pr(this.value()));var O=this.__index__>=this.__values__.length,C=O?n:this.__values__[this.__index__++];return{done:O,value:C}}function wd(){return this}function Dd(O){for(var C,V=this;V instanceof vo;){var ne=pl(V);ne.__index__=0,ne.__values__=n,C?ce.__wrapped__=ne:C=ne;var ce=ne;V=V.__wrapped__}return ce.__wrapped__=O,C}function Md(){var O=this.__wrapped__;if(O instanceof Yt){var C=O;return this.__actions__.length&&(C=new Yt(this)),C=C.reverse(),C.__actions__.push({func:Ts,args:[Ps],thisArg:n}),new br(C,this.__chain__)}return this.thru(Ps)}function Ld(){return Qc(this.__wrapped__,this.__actions__)}var Qu=os(function(O,C,V){un.call(O,V)?++O[V]:Ti(O,V,1)});function Ju(O,C,V){var ne=kt(O)?Oa:uf;return V&&or(O,C,V)&&(C=n),ne(O,wt(C,3))}function Nd(O,C){var V=kt(O)?En:Mc;return V(O,wt(C,3))}var Wa=wu(ml),Ud=wu(yl);function jd(O,C){return qn(pi(O,C),1)}function Bd(O,C){return qn(pi(O,C),K)}function Fd(O,C,V){return V=V===n?1:Nt(V),qn(pi(O,C),V)}function Dl(O,C){var V=kt(O)?rr:ji;return V(O,wt(C,3))}function Ml(O,C){var V=kt(O)?ba:Zo;return V(O,wt(C,3))}var Ll=os(function(O,C,V){un.call(O,V)?O[V].push(C):Ti(O,V,[C])});function Io(O,C,V,ne){O=_r(O)?O:Gs(O),V=V&&!ne?Nt(V):0;var ce=O.length;return V<0&&(V=In(ce+V,0)),Un(O)?V<=ce&&O.indexOf(C,V)>-1:!!ce&&ui(O,C,V)>-1}var Gd=Zt(function(O,C,V){var ne=-1,ce=typeof C=="function",be=_r(O)?rt(O.length):[];return ji(O,function(De){be[++ne]=ce?Kn(C,De,V):ua(De,C,V)}),be}),zd=os(function(O,C,V){Ti(O,V,C)});function pi(O,C){var V=kt(O)?Sn:yu;return V(O,wt(C,3))}function Wd(O,C,V,ne){return O==null?[]:(kt(C)||(C=C==null?[]:[C]),V=ne?n:V,kt(V)||(V=V==null?[]:[V]),Hc(O,C,V))}var Nl=os(function(O,C,V){O[V?0:1].push(C)},function(){return[[],[]]});function Hd(O,C,V){var ne=kt(O)?Yi:qa,ce=arguments.length<3;return ne(O,wt(C,4),V,ce,ji)}function Kd(O,C,V){var ne=kt(O)?ic:qa,ce=arguments.length<3;return ne(O,wt(C,4),V,ce,Zo)}function Vd(O,C){var V=kt(O)?En:Mc;return V(O,Rs(wt(C,3)))}function Zu(O){var C=kt(O)?xc:Sf;return C(O)}function kd(O,C,V){(V?or(O,C,V):C===n)?C=1:C=Nt(C);var ne=kt(O)?po:bf;return ne(O,C)}function da(O){var C=kt(O)?of:_f;return C(O)}function $d(O){if(O==null)return 0;if(_r(O))return Un(O)?ra(O):O.length;var C=fr(O);return C==He||C==_e?O.size:gu(O).length}function Ul(O,C,V){var ne=kt(O)?_a:ns;return V&&or(O,C,V)&&(C=n),ne(O,wt(C,3))}var Xd=Zt(function(O,C){if(O==null)return[];var V=C.length;return V>1&&or(O,C[0],C[1])?C=[]:V>2&&or(C[0],C[1],C[2])&&(C=[C[0]]),Hc(O,qn(C,1),[])}),Cs=hc||function(){return bn.Date.now()};function Qd(O,C){if(typeof C!="function")throw new Rr(i);return O=Nt(O),function(){if(--O<1)return C.apply(this,arguments)}}function Is(O,C,V){return C=V?n:C,C=O&&C==null?O.length:C,xi(O,A,n,n,n,n,C)}function xo(O,C){var V;if(typeof C!="function")throw new Rr(i);return O=Nt(O),function(){return--O>0&&(V=C.apply(this,arguments)),O<=1&&(C=n),V}}var Ro=Zt(function(O,C,V){var ne=p;if(V.length){var ce=On(V,zi(Ro));ne|=S}return xi(O,ne,C,V,ce)}),jl=Zt(function(O,C,V){var ne=p|m;if(V.length){var ce=On(V,zi(jl));ne|=S}return xi(C,ne,O,V,ce)});function Bl(O,C,V){C=V?n:C;var ne=xi(O,_,n,n,n,n,n,C);return ne.placeholder=Bl.placeholder,ne}function Fl(O,C,V){C=V?n:C;var ne=xi(O,b,n,n,n,n,n,C);return ne.placeholder=Fl.placeholder,ne}function Gl(O,C,V){var ne,ce,be,De,Fe,Ye,ft=0,lt=!1,vt=!1,yt=!0;if(typeof O!="function")throw new Rr(i);C=xn(C)||0,tt(V)&&(lt=!!V.leading,vt="maxWait"in V,be=vt?In(xn(V.maxWait)||0,C):be,yt="trailing"in V?!!V.trailing:yt);function _t(Gn){var Mi=ne,ga=ce;return ne=ce=n,ft=Gn,De=O.apply(ga,Mi),De}function Ft(Gn){return ft=Gn,Fe=za(tn,C),lt?_t(Gn):De}function en(Gn){var Mi=Gn-Ye,ga=Gn-ft,Tv=C-Mi;return vt?Yn(Tv,be-ga):Tv}function Ut(Gn){var Mi=Gn-Ye,ga=Gn-ft;return Ye===n||Mi>=C||Mi<0||vt&&ga>=be}function tn(){var Gn=Cs();if(Ut(Gn))return vn(Gn);Fe=za(tn,en(Gn))}function vn(Gn){return Fe=n,yt&&ne?_t(Gn):(ne=ce=n,De)}function Lr(){Fe!==n&&Zc(Fe),ft=0,ne=Ye=ce=Fe=n}function Nr(){return Fe===n?De:vn(Cs())}function Ka(){var Gn=Cs(),Mi=Ut(Gn);if(ne=arguments,ce=this,Ye=Gn,Mi){if(Fe===n)return Ft(Ye);
vendor: 5,507 bytes, line 19
19if(vt)return Zc(Fe),Fe=za(tn,C),_t(Ye)}return Fe===n&&(Fe=za(tn,C)),De}return Ka.cancel=Lr,Ka.flush=Nr,Ka}var Jd=Zt(function(O,C){return du(O,1,C)}),Zd=Zt(function(O,C,V){return du(O,xn(C)||0,V)});function wo(O){return xi(O,I)}function xs(O,C){if(typeof O!="function"||C!=null&&typeof C!="function")throw new Rr(i);var V=function(){var ne=arguments,ce=C?C.apply(this,ne):ne[0],be=V.cache;if(be.has(ce))return be.get(ce);var De=O.apply(this,ne);return V.cache=be.set(ce,De)||be,De};return V.cache=new(xs.Cache||Pi),V}xs.Cache=Pi;function Rs(O){if(typeof O!="function")throw new Rr(i);return function(){var C=arguments;switch(C.length){case 0:return!O.call(this);case 1:return!O.call(this,C[0]);case 2:return!O.call(this,C[0],C[1]);case 3:return!O.call(this,C[0],C[1],C[2])}return!O.apply(this,C)}}function zl(O){return xo(2,O)}var Yd=Pf(function(O,C){C=C.length==1&&kt(C[0])?Sn(C[0],Jn(wt())):Sn(qn(C,1),Jn(wt()));var V=C.length;return Zt(function(ne){for(var ce=-1,be=Yn(ne.length,V);++ce<be;)ne[ce]=C[ce].call(this,ne[ce]);return Kn(O,this,ne)})}),ws=Zt(function(O,C){var V=On(C,zi(ws));return xi(O,S,n,C,V)}),Wl=Zt(function(O,C){var V=On(C,zi(Wl));return xi(O,E,n,C,V)}),qd=Ri(function(O,C){return xi(O,T,n,n,n,C)});function ev(O,C){if(typeof O!="function")throw new Rr(i);return C=C===n?C:Nt(C),Zt(O,C)}function Yu(O,C){if(typeof O!="function")throw new Rr(i);return C=C==null?0:In(Nt(C),0),Zt(function(V){var ne=V[C],ce=Gi(V,0,C);return ne&&Si(ce,ne),Kn(O,this,ce)})}function tv(O,C,V){var ne=!0,ce=!0;if(typeof O!="function")throw new Rr(i);return tt(V)&&(ne="leading"in V?!!V.leading:ne,ce="trailing"in V?!!V.trailing:ce),Gl(O,C,{leading:ne,maxWait:C,trailing:ce})}function Hl(O){return Is(O,1)}function nv(O,C){return ws(Cu(C),O)}function rv(){if(!arguments.length)return[];var O=arguments[0];return kt(O)?O:[O]}function iv(O){return Wr(O,g)}function qu(O,C){return C=typeof C=="function"?C:n,Wr(O,g,C)}function av(O){return Wr(O,l|g)}function Kl(O,C){return C=typeof C=="function"?C:n,Wr(O,l|g,C)}function ov(O,C){return C==null||Dc(O,C,Dn(C))}function ni(O,C){return O===C||O!==O&&C!==C}var sv=vs(qo),ec=vs(function(O,C){return O>=C}),va=jc(function(){return arguments}())?jc:function(O){return ot(O)&&un.call(O,"callee")&&!Ko.call(O,"callee")},kt=rt.isArray,Vl=Ji?Jn(Ji):df;function _r(O){return O!=null&&at(O.length)&&!ze(O)}function wn(O){return ot(O)&&_r(O)}function w(O){return O===!0||O===!1||ot(O)&&ar(O)==ee}var B=qs||hv,D=ma?Jn(ma):vf;function W(O){return ot(O)&&O.nodeType===1&&!jt(O)}function Z(O){if(O==null)return!0;if(_r(O)&&(kt(O)||typeof O=="string"||typeof O.splice=="function"||B(O)||Dr(O)||va(O)))return!O.length;var C=fr(O);if(C==He||C==_e)return!O.size;if(Kr(O))return!gu(O).length;for(var V in O)if(un.call(O,V))return!1;return!0}function te(O,C){return Eo(O,C)}function he(O,C,V){V=typeof V=="function"?V:n;var ne=V?V(O,C):n;return ne===n?Eo(O,C,n,V):!!ne}function Te(O){if(!ot(O))return!1;var C=ar(O);return C==me||C==pe||typeof O.message=="string"&&typeof O.name=="string"&&!jt(O)}function Le(O){return typeof O=="number"&&eu(O)}function ze(O){if(!tt(O))return!1;var C=ar(O);return C==Se||C==Pe||C==$||C==Ee}function Qe(O){return typeof O=="number"&&O==Nt(O)}function at(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=J}function tt(O){var C=typeof O;return O!=null&&(C=="object"||C=="function")}function ot(O){return O!=null&&typeof O=="object"}var Ot=Qa?Jn(Qa):Bc;function xt(O,C){return O===C||ts(O,C,gs(C))}function At(O,C,V){return V=typeof V=="function"?V:n,ts(O,C,gs(C),V)}function Xt(O){return Lt(O)&&O!=+O}function qt(O){if(cl(O))throw new Wt(r);return Fc(O)}function Dt(O){return O===null}function It(O){return O==null}function Lt(O){return typeof O=="number"||ot(O)&&ar(O)==fe}function jt(O){if(!ot(O)||ar(O)!=ae)return!1;var C=Da(O);if(C===null)return!0;var V=un.call(C,"constructor")&&C.constructor;return typeof V=="function"&&V instanceof V&&ia.call(V)==dc}var Tn=ya?Jn(ya):pf;function dr(O){return Qe(O)&&O>=-J&&O<=J}var kr=Ea?Jn(Ea):gf;function Un(O){return typeof O=="string"||!kt(O)&&ot(O)&&ar(O)==Re}function pn(O){return typeof O=="symbol"||ot(O)&&ar(O)==Be}var Dr=Sa?Jn(Sa):mf;function Mr(O){return O===n}function Wi(O){return ot(O)&&fr(O)==Je}function $r(O){return ot(O)&&ar(O)==ue}var Hi=vs(mu),gi=vs(function(O,C){return O<=C});function Pr(O){if(!O)return[];if(_r(O))return Un(O)?xr(O):Or(O);if(Ma&&O[Ma])return sc(O[Ma]());var C=fr(O),V=C==He?Sr:C==_e?bi:Gs;return V(O)}function vr(O){if(!O)return O===0?O:0;if(O=xn(O),O===K||O===-K){var C=O<0?-1:1;return C*z}return O===O?O:0}function Nt(O){var C=vr(O),V=C%1;return C===C?V?C-V:C:0}function mi(O){return O?Ci(Nt(O),0,F):0}function xn(O){if(typeof O=="number")return O;if(pn(O))return k;if(tt(O)){var C=typeof O.valueOf=="function"?O.valueOf():O;O=tt(C)?C+"":C}if(typeof O!="string")return O===0?O:+O;O=O.replace(Ar,"");var V=Cr.test(O);return V||Qt.test(O)?Xi(O.slice(2),V?2:8):ln.test(O)?k:+O}function Do(O){return ei(O,Xr(O))}function Ds(O){return O?Ci(Nt(O),-J,J):O===0?O:0}function an(O){return O==null?"":wr(O)}var Ms=Ii(function(O,C){if(Kr(C)||_r(C)){ei(C,Dn(C),O);return}for(var V in C)un.call(C,V)&&Ai(O,V,C[V])}),Di=Ii(function(O,C){ei(C,Xr(C),O)}),hr=Ii(function(O,C,V,ne){ei(C,Xr(C),O,ne)}),tc=Ii(function(O,C,V,ne){ei(C,Dn(C),O,ne)}),ha=Ri(fu);function Ha(O,C){var V=on(O);return C==null?V:go(V,C)}var Ls=Zt(function(O,C){O=dn(O);var V=-1,ne=C.length,ce=ne>2?C[2]:n;for(ce&&or(C[0],C[1],ce)&&(ne=1);++V<ne;)for(var be=C[V],De=Xr(be),Fe=-1,Ye=De.length;++Fe<Ye;){var ft=De[Fe],lt=O[ft];
vendor: 14,809 bytes, line 19
19(lt===n||ni(lt,zr[ft])&&!un.call(O,ft))&&(O[ft]=be[ft])}return O}),pa=Zt(function(O){return O.push(n,al),Kn(mv,n,O)});function kl(O,C){return Pa(O,wt(C,3),fi)}function yi(O,C){return Pa(O,wt(C,3),vu)}function Ki(O,C){return O==null?O:yo(O,wt(C,3),Xr)}function Ns(O,C){return O==null?O:Lc(O,wt(C,3),Xr)}function Vi(O,C){return O&&fi(O,wt(C,3))}function Us(O,C){return O&&vu(O,wt(C,3))}function js(O){return O==null?[]:Yo(O,Dn(O))}function nc(O){return O==null?[]:Yo(O,Xr(O))}function rc(O,C,V){var ne=O==null?n:Ba(O,C);return ne===n?V:ne}function $l(O,C){return O!=null&&zt(O,C,Uc)}function Bs(O,C){return O!=null&&zt(O,C,lf)}var Xl=il(function(O,C,V){C!=null&&typeof C.toString!="function"&&(C=xa.call(C)),O[C]=V},cv(Qr)),Fs=il(function(O,C,V){C!=null&&typeof C.toString!="function"&&(C=xa.call(C)),un.call(O,C)?O[C].push(V):O[C]=[V]},wt),Ql=Zt(ua);function Dn(O){return _r(O)?Ic(O):gu(O)}function Xr(O){return _r(O)?Ic(O,!0):yf(O)}function Cv(O,C){var V={};return C=wt(C,3),fi(O,function(ne,ce,be){Ti(V,C(ne,ce,be),ne)}),V}function Iv(O,C){var V={};return C=wt(C,3),fi(O,function(ne,ce,be){Ti(V,ce,C(ne,ce,be))}),V}var xv=Ii(function(O,C,V){So(O,C,V)}),mv=Ii(function(O,C,V,ne){So(O,C,V,ne)}),Rv=Ri(function(O,C){var V={};if(O==null)return V;var ne=!1;C=Sn(C,function(be){return be=Fi(be,O),ne||(ne=be.length>1),be}),ei(O,hs(O),V),ne&&(V=Wr(V,l|c|g,wf));for(var ce=C.length;ce--;)ca(V,C[ce]);return V});function wv(O,C){return yv(O,Rs(wt(C)))}var Dv=Ri(function(O,C){return O==null?{}:Kc(O,C)});function yv(O,C){if(O==null)return{};var V=Sn(hs(O),function(ne){return[ne]});return C=wt(C),Vc(O,V,function(ne,ce){return C(ne,ce[0])})}function Mv(O,C,V){C=Fi(C,O);var ne=-1,ce=C.length;for(ce||(ce=1,O=n);++ne<ce;){var be=O==null?n:O[hi(C[ne])];be===n&&(ne=ce,be=V),O=ze(be)?be.call(O):be}return O}function Lv(O,C,V){return O==null?O:bo(O,C,V)}function Nv(O,C,V,ne){return ne=typeof ne=="function"?ne:n,O==null?O:bo(O,C,V,ne)}var Ev=Nu(Dn),Sv=Nu(Xr);function Uv(O,C,V){var ne=kt(O),ce=ne||B(O)||Dr(O);if(C=wt(C,4),V==null){var be=O&&O.constructor;ce?V=ne?new be:[]:tt(O)?V=ze(be)?on(Da(O)):{}:V={}}return(ce?rr:fi)(O,function(De,Fe,Ye){return C(V,De,Fe,Ye)}),V}function jv(O,C){return O==null?!0:ca(O,C)}function Bv(O,C,V){return O==null?O:Oo(O,C,Cu(V))}function Fv(O,C,V,ne){return ne=typeof ne=="function"?ne:n,O==null?O:Oo(O,C,Cu(V),ne)}function Gs(O){return O==null?[]:Bo(O,Dn(O))}function Gv(O){return O==null?[]:Bo(O,Xr(O))}function zv(O,C,V){return V===n&&(V=C,C=n),V!==n&&(V=xn(V),V=V===V?V:0),C!==n&&(C=xn(C),C=C===C?C:0),Ci(xn(O),C,V)}function Wv(O,C,V){return C=vr(C),V===n?(V=C,C=0):V=vr(V),O=xn(O),hu(O,C,V)}function Hv(O,C,V){if(V&&typeof V!="boolean"&&or(O,C,V)&&(C=V=n),V===n&&(typeof C=="boolean"?(V=C,C=n):typeof O=="boolean"&&(V=O,O=n)),O===n&&C===n?(O=0,C=1):(O=vr(O),C===n?(C=O,O=0):C=vr(C)),O>C){var ne=O;O=C,C=ne}if(V||O%1||C%1){var ce=$o();return Yn(O+ce*(C-O+ka("1e-"+((ce+"").length-1))),C)}return Ou(O,C)}var Kv=Ga(function(O,C,V){return C=C.toLowerCase(),O+(V?bv(C):C)});function bv(O){return uv(an(O).toLowerCase())}function Ov(O){return O=an(O),O&&O.replace(ai,ac).replace(Mt,"")}function Vv(O,C,V){O=an(O),C=wr(C);var ne=O.length;V=V===n?ne:Ci(Nt(V),0,ne);var ce=V;return V-=C.length,V>=0&&O.slice(V,ce)==C}function kv(O){return O=an(O),O&&cn.test(O)?O.replace(Ht,Vn):O}function $v(O){return O=an(O),O&&ri.test(O)?O.replace(sr,"\\$&"):O}var Xv=Ga(function(O,C,V){return O+(V?"-":"")+C.toLowerCase()}),Qv=Ga(function(O,C,V){return O+(V?" ":"")+C.toLowerCase()}),Jv=ss("toLowerCase");function Zv(O,C,V){O=an(O),C=Nt(C);var ne=C?ra(O):0;if(!C||ne>=C)return O;var ce=(C-ne)/2;return fs(La(ce),V)+O+fs(so(ce),V)}function Yv(O,C,V){O=an(O),C=Nt(C);var ne=C?ra(O):0;return C&&ne<C?O+fs(C-ne,V):O}function qv(O,C,V){O=an(O),C=Nt(C);var ne=C?ra(O):0;return C&&ne<C?fs(C-ne,V)+O:O}function eh(O,C,V){return V||C==null?C=0:C&&(C=+C),gc(an(O).replace(ur,""),C||0)}function th(O,C,V){return(V?or(O,C,V):C===n)?C=1:C=Nt(C),_u(an(O),C)}function nh(){var O=arguments,C=an(O[0]);return O.length<3?C:C.replace(O[1],O[2])}var rh=Ga(function(O,C,V){return O+(V?"_":"")+C.toLowerCase()});function ih(O,C,V){return V&&typeof V!="number"&&or(O,C,V)&&(C=V=n),V=V===n?F:V>>>0,V?(O=an(O),O&&(typeof C=="string"||C!=null&&!Tn(C))&&(C=wr(C),!C&&na(O))?Gi(xr(O),0,V):O.split(C,V)):[]}var ah=Ga(function(O,C,V){return O+(V?" ":"")+uv(C)});function oh(O,C,V){return O=an(O),V=V==null?0:Ci(Nt(V),0,O.length),C=wr(C),O.slice(V,V+C.length)==C}function sh(O,C,V){var ne=ge.templateSettings;V&&or(O,C,V)&&(C=n),O=an(O),C=hr({},C,ne,Uu);var ce=hr({},C.imports,ne.imports,Uu),be=Dn(ce),De=Bo(ce,be),Fe,Ye,ft=0,lt=C.interpolate||gr,vt="__p += '",yt=zo((C.escape||gr).source+"|"+lt.source+"|"+(lt===fn?Ur:gr).source+"|"+(C.evaluate||gr).source+"|$","g"),_t="//# sourceURL="+(un.call(C,"sourceURL")?(C.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Qn+"]")+"\n";O.replace(yt,function(Ut,tn,vn,Lr,Nr,Ka){return vn||(vn=Lr),vt+=O.slice(ft,Ka).replace(jr,oc),tn&&(Fe=!0,vt+="' +\n__e("+tn+") +\n'"),Nr&&(Ye=!0,vt+="';\n"+Nr+";\n__p += '"),vn&&(vt+="' +\n((__t = ("+vn+")) == null ? '' : __t) +\n'"),ft=Ka+Ut.length,Ut}),vt+="';\n";var Ft=un.call(C,"variable")&&C.variable;Ft||(vt="with (obj) {\n"+vt+"\n}\n"),vt=(Ye?vt.replace(it,""):vt).replace(ct,"$1").replace(mt,"$1;"),vt="function("+(Ft||"obj")+") {\n"+(Ft?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Fe?", __e = _.escape":"")+(Ye?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+vt+"return __p\n}";var en=Pv(function(){return rn(be,_t+"return "+vt).apply(n,De)});if(en.source=vt,Te(en))throw en;return en}function uh(O){return an(O).toLowerCase()}function ch(O){return an(O).toUpperCase()}function lh(O,C,V){if(O=an(O),O&&(V||C===n))return O.replace(Ar,"");if(!O||!(C=wr(C)))return O;var ne=xr(O),ce=xr(C),be=Ws(ne,ce),De=Hs(ne,ce)+1;return Gi(ne,be,De).join("")}function fh(O,C,V){if(O=an(O),O&&(V||C===n))return O.replace(Oe,"");if(!O||!(C=wr(C)))return O;var ne=xr(O),ce=Hs(ne,xr(C))+1;return Gi(ne,0,ce).join("")}function dh(O,C,V){if(O=an(O),O&&(V||C===n))return O.replace(ur,"");if(!O||!(C=wr(C)))return O;var ne=xr(O),ce=Ws(ne,xr(C));return Gi(ne,ce).join("")}function vh(O,C){var V=R,ne=j;if(tt(C)){var ce="separator"in C?C.separator:ce;V="length"in C?Nt(C.length):V,ne="omission"in C?wr(C.omission):ne}O=an(O);var be=O.length;if(na(O)){var De=xr(O);be=De.length}if(V>=be)return O;var Fe=V-ra(ne);if(Fe<1)return ne;var Ye=De?Gi(De,0,Fe).join(""):O.slice(0,Fe);if(ce===n)return Ye+ne;if(De&&(Fe+=Ye.length-Fe),Tn(ce)){if(O.slice(Fe).search(ce)){var ft,lt=Ye;for(ce.global||(ce=zo(ce.source,an(pr.exec(ce))+"g")),ce.lastIndex=0;ft=ce.exec(lt);)var vt=ft.index;Ye=Ye.slice(0,vt===n?Fe:vt)}}else if(O.indexOf(wr(ce),Fe)!=Fe){var yt=Ye.lastIndexOf(ce);yt>-1&&(Ye=Ye.slice(0,yt))}return Ye+ne}function hh(O){return O=an(O),O&&Rt.test(O)?O.replace(Ct,uc):O}var ph=Ga(function(O,C,V){return O+(V?" ":"")+C.toUpperCase()}),uv=ss("toUpperCase");function _v(O,C,V){return O=an(O),C=V?n:C,C===n?Zn(O)?Xs(O):Za(O):O.match(C)||[]}var Pv=Zt(function(O,C){try{return Kn(O,n,C)}catch(V){return Te(V)?V:new Wt(V)}}),gh=Ri(function(O,C){return rr(C,function(V){V=hi(V),Ti(O,V,Ro(O[V],O))}),O});function mh(O){var C=O==null?0:O.length,V=wt();return O=C?Sn(O,function(ne){if(typeof ne[1]!="function")throw new Rr(i);return[V(ne[0]),ne[1]]}):[],Zt(function(ne){for(var ce=-1;++ce<C;){var be=O[ce];if(Kn(be[0],this,ne))return Kn(be[1],this,ne)}})}function yh(O){return wc(Wr(O,l))}function cv(O){return function(){return O}}function Eh(O,C){return O==null||O!==O?C:O}var Sh=rl(),bh=rl(!0);function Qr(O){return O}function lv(O){return pu(typeof O=="function"?O:Wr(O,l))}function Oh(O){return Gc(Wr(O,l))}function _h(O,C){return Eu(O,Wr(C,l))}var Ph=Zt(function(O,C){return function(V){return ua(V,O,C)}}),Ah=Zt(function(O,C){return function(V){return ua(O,V,C)}});function fv(O,C,V){var ne=Dn(C),ce=Yo(C,ne);V==null&&!(tt(C)&&(ce.length||!ne.length))&&(V=C,C=O,O=this,ce=Yo(C,Dn(C)));var be=!(tt(V)&&"chain"in V)||!!V.chain,De=ze(O);return rr(ce,function(Fe){var Ye=C[Fe];O[Fe]=Ye,De&&(O.prototype[Fe]=function(){var ft=this.__chain__;if(be||ft){var lt=O(this.__wrapped__),vt=lt.__actions__=Or(this.__actions__);return vt.push({func:Ye,args:arguments,thisArg:O}),lt.__chain__=ft,lt}return Ye.apply(O,Si([this.value()],arguments))})}),O}function Th(){return bn._===this&&(bn._=Ho),this}function dv(){}function Ch(O){return O=Nt(O),Zt(function(C){return Wc(C,O)})}var Ih=ls(Sn),xh=ls(Oa),Rh=ls(_a);function Av(O){return Gu(O)?Ta(hi(O)):Fa(O)}function wh(O){return function(C){return O==null?n:Ba(O,C)}}var Dh=Du(),Mh=Du(!0);function vv(){return[]}function hv(){return!1}function Lh(){return{}}function Nh(){return""}function Uh(){return!0}function jh(O,C){if(O=Nt(O),O<1||O>J)return[];var V=F,ne=Yn(O,F);C=wt(C),O-=F;for(var ce=Ca(ne,C);++V<O;)C(V);return ce}function Bh(O){return kt(O)?Sn(O,hi):pn(O)?[O]:Or(hl(an(O)))}function Fh(O){var C=++Wo;return an(O)+C}var Gh=cs(function(O,C){return O+C},0),zh=Lu("ceil"),Wh=cs(function(O,C){return O/C},1),Hh=Lu("floor");function Kh(O){return O&&O.length?mo(O,Qr,qo):n}function Vh(O,C){return O&&O.length?mo(O,wt(C,2),qo):n}function kh(O){return Ya(O,Qr)}function $h(O,C){return Ya(O,wt(C,2))}function Xh(O){return O&&O.length?mo(O,Qr,mu):n}function Qh(O,C){return O&&O.length?mo(O,wt(C,2),mu):n}var Jh=cs(function(O,C){return O*C},1),Zh=Lu("round"),Yh=cs(function(O,C){return O-C},0);function qh(O){return O&&O.length?to(O,Qr):0}function ep(O,C){return O&&O.length?to(O,wt(C,2)):0}return ge.after=Qd,ge.ary=Is,ge.assign=Ms,ge.assignIn=Di,ge.assignInWith=hr,ge.assignWith=tc,ge.at=ha,ge.before=xo,ge.bind=Ro,ge.bindAll=gh,ge.bindKey=jl,ge.castArray=rv,ge.chain=Rl,ge.chunk=Kf,ge.compact=Vf,ge.concat=kf,ge.cond=mh,ge.conforms=yh,ge.constant=cv,ge.countBy=Qu,ge.create=Ha,ge.curry=Bl,ge.curryRight=Fl,ge.debounce=Gl,ge.defaults=Ls,ge.defaultsDeep=pa,ge.defer=Jd,ge.delay=Zd,ge.difference=$f,ge.differenceBy=Xf,ge.differenceWith=Qf,ge.drop=Jf,ge.dropRight=Zf,ge.dropRightWhile=Os,ge.dropWhile=Yf,ge.fill=gl,ge.filter=Nd,ge.flatMap=jd,ge.flatMapDeep=Bd,ge.flatMapDepth=Fd,ge.flatten=Wu,ge.flattenDeep=El,ge.flattenDepth=qf,ge.flip=wo,ge.flow=Sh,ge.flowRight=bh,ge.fromPairs=ed,ge.functions=js,ge.functionsIn=nc,ge.groupBy=Ll,ge.initial=Hu,ge.intersection=nd,ge.intersectionBy=rd,ge.intersectionWith=Ku,ge.invert=Xl,ge.invertBy=Fs,ge.invokeMap=Gd,ge.iteratee=lv,ge.keyBy=zd,ge.keys=Dn,ge.keysIn=Xr,ge.map=pi,ge.mapKeys=Cv,ge.mapValues=Iv,ge.matches=Oh,ge.matchesProperty=_h,ge.memoize=xs,ge.merge=xv,ge.mergeWith=mv,ge.method=Ph,ge.methodOf=Ah,ge.mixin=fv,ge.negate=Rs,ge.nthArg=Ch,ge.omit=Rv,ge.omitBy=wv,ge.once=zl,ge.orderBy=Wd,ge.over=Ih,ge.overArgs=Yd,ge.overEvery=xh,ge.overSome=Rh,ge.partial=ws,ge.partialRight=Wl,ge.partition=Nl,ge.pick=Dv,ge.pickBy=yv,ge.property=Av,ge.propertyOf=wh,ge.pull=Sl,ge.pullAll=bl,ge.pullAllBy=od,ge.pullAllWith=sd,ge.pullAt=ud,ge.range=Dh,ge.rangeRight=Mh,ge.rearg=qd,ge.reject=Vd,ge.remove=cd,ge.rest=ev,ge.reverse=Ps,ge.sampleSize=kd,ge.set=Lv,ge.setWith=Nv,ge.shuffle=da,ge.slice=ld,ge.sortBy=Xd,ge.sortedUniq=hd,ge.sortedUniqBy=Al,ge.split=ih,ge.spread=Yu,ge.tail=pd,ge.take=Tl,ge.takeRight=Co,ge.takeRightWhile=gd,ge.takeWhile=md,ge.tap=Cd,ge.throttle=tv,ge.thru=Ts,ge.toArray=Pr,ge.toPairs=Ev,ge.toPairsIn=Sv,ge.toPath=Bh,ge.toPlainObject=Do,ge.transform=Uv,ge.unary=Hl,ge.union=Cl,ge.unionBy=yd,ge.unionWith=Ed,ge.uniq=As,ge.uniqBy=ku,ge.uniqWith=Sd,ge.unset=jv,ge.unzip=$u,ge.unzipWith=Il,ge.update=Bv,ge.updateWith=Fv,ge.values=Gs,ge.valuesIn=Gv,ge.without=bd,ge.words=_v,ge.wrap=nv,ge.xor=Od,ge.xorBy=_d,ge.xorWith=Pd,ge.zip=Xu,ge.zipObject=Ad,ge.zipObjectDeep=Td,ge.zipWith=xl,ge.entries=Ev,ge.entriesIn=Sv,ge.extend=Di,ge.extendWith=hr,fv(ge,ge),ge.add=Gh,ge.attempt=Pv,ge.camelCase=Kv,ge.capitalize=bv,ge.ceil=zh,ge.clamp=zv,ge.clone=iv,ge.cloneDeep=av,ge.cloneDeepWith=Kl,ge.cloneWith=qu,ge.conformsTo=ov,ge.deburr=Ov,ge.defaultTo=Eh,ge.divide=Wh,ge.endsWith=Vv,ge.eq=ni,ge.escape=kv,ge.escapeRegExp=$v,ge.every=Ju,ge.find=Wa,ge.findIndex=ml,ge.findKey=kl,ge.findLast=Ud,ge.findLastIndex=yl,ge.findLastKey=yi,ge.floor=Hh,ge.forEach=Dl,ge.forEachRight=Ml,ge.forIn=Ki,ge.forInRight=Ns,ge.forOwn=Vi,ge.forOwnRight=Us,ge.get=rc,ge.gt=sv,ge.gte=ec,ge.has=$l,ge.hasIn=Bs,ge.head=_s,ge.identity=Qr,ge.includes=Io,ge.indexOf=td,ge.inRange=Wv,ge.invoke=Ql,ge.isArguments=va,ge.isArray=kt,ge.isArrayBuffer=Vl,ge.isArrayLike=_r,ge.isArrayLikeObject=wn,ge.isBoolean=w,ge.isBuffer=B,ge.isDate=D,ge.isElement=W,ge.isEmpty=Z,ge.isEqual=te,ge.isEqualWith=he,ge.isError=Te,ge.isFinite=Le,ge.isFunction=ze,ge.isInteger=Qe,ge.isLength=at,ge.isMap=Ot,ge.isMatch=xt,ge.isMatchWith=At,ge.isNaN=Xt,ge.isNative=qt,ge.isNil=It,ge.isNull=Dt,ge.isNumber=Lt,ge.isObject=tt,ge.isObjectLike=ot,ge.isPlainObject=jt,ge.isRegExp=Tn,ge.isSafeInteger=dr,ge.isSet=kr,ge.isString=Un,ge.isSymbol=pn,ge.isTypedArray=Dr,ge.isUndefined=Mr,ge.isWeakMap=Wi,ge.isWeakSet=$r,ge.join=id,ge.kebabCase=Xv,ge.last=Vr,ge.lastIndexOf=Vu,ge.lowerCase=Qv,ge.lowerFirst=Jv,ge.lt=Hi,ge.lte=gi,ge.max=Kh,ge.maxBy=Vh,ge.mean=kh,ge.meanBy=$h,ge.min=Xh,ge.minBy=Qh,ge.stubArray=vv,ge.stubFalse=hv,ge.stubObject=Lh,ge.stubString=Nh,ge.stubTrue=Uh,ge.multiply=Jh,ge.nth=ad,ge.noConflict=Th,ge.noop=dv,ge.now=Cs,ge.pad=Zv,ge.padEnd=Yv,ge.padStart=qv,ge.parseInt=eh,ge.random=Hv,ge.reduce=Hd,ge.reduceRight=Kd,ge.repeat=th,ge.replace=nh,ge.result=Mv,ge.round=Zh,ge.runInContext=Xe,ge.sample=Zu,ge.size=$d,ge.snakeCase=rh,ge.some=Ul,ge.sortedIndex=fd,ge.sortedIndexBy=Ol,ge.sortedIndexOf=dd,ge.sortedLastIndex=_l,ge.sortedLastIndexBy=vd,ge.sortedLastIndexOf=Pl,ge.startCase=ah,ge.startsWith=oh,ge.subtract=Yh,ge.sum=qh,ge.sumBy=ep,ge.template=sh,ge.times=jh,ge.toFinite=vr,ge.toInteger=Nt,ge.toLength=mi,ge.toLower=uh,ge.toNumber=xn,ge.toSafeInteger=Ds,ge.toString=an,ge.toUpper=ch,ge.trim=lh,ge.trimEnd=fh,ge.trimStart=dh,ge.truncate=vh,ge.unescape=hh,ge.uniqueId=Fh,ge.upperCase=ph,ge.upperFirst=uv,ge.each=Dl,ge.eachRight=Ml,ge.first=_s,fv(ge,function(){var O={};return fi(ge,function(C,V){un.call(ge.prototype,V)||(O[V]=C)}),O}(),{chain:!1}),ge.VERSION=a,rr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(O){ge[O].placeholder=ge}),rr(["drop","take"],function(O,C){Yt.prototype[O]=function(V){V=V===n?1:In(Nt(V),0);var ne=this.__filtered__&&!C?new Yt(this):this.clone();return ne.__filtered__?ne.__takeCount__=Yn(V,ne.__takeCount__):ne.__views__.push({size:Yn(V,F),type:O+(ne.__dir__<0?"Right":"")}),ne},Yt.prototype[O+"Right"]=function(V){return this.reverse()[O](V).reverse()}}),rr(["filter","map","takeWhile"],function(O,C){var V=C+1,ne=V==H||V==X;Yt.prototype[O]=function(ce){var be=this.clone();return be.__iteratees__.push({iteratee:wt(ce,3),type:V}),be.__filtered__=be.__filtered__||ne,be}}),rr(["head","last"],function(O,C){var V="take"+(C?"Right":"");
19Yt.prototype[O]=function(){return this[V](1).value()[0]}}),rr(["initial","tail"],function(O,C){var V="drop"+(C?"":"Right");Yt.prototype[O]=function(){return this.__filtered__?new Yt(this):this[V](1)}}),Yt.prototype.compact=function(){return this.filter(Qr)},Yt.prototype.find=function(O){return this.filter(O).head()},Yt.prototype.findLast=function(O){return this.reverse().find(O)},Yt.prototype.invokeMap=Zt(function(O,C){return typeof O=="function"?new Yt(this):this.map(function(V){return ua(V,O,C)})}),Yt.prototype.reject=function(O){return this.filter(Rs(wt(O)))},Yt.prototype.slice=function(O,C){O=Nt(O);var V=this;return V.__filtered__&&(O>0||C<0)?new Yt(V):(O<0?V=V.takeRight(-O):O&&(V=V.drop(O)),C!==n&&(C=Nt(C),V=C<0?V.dropRight(-C):V.take(C-O)),V)},Yt.prototype.takeRightWhile=function(O){return this.reverse().takeWhile(O).reverse()},Yt.prototype.toArray=function(){return this.take(F)},fi(Yt.prototype,function(O,C){var V=/^(?:filter|find|map|reject)|While$/.test(C),ne=/^(?:head|last)$/.test(C),ce=ge[ne?"take"+(C=="last"?"Right":""):C],be=ne||/^find/.test(C);!ce||(ge.prototype[C]=function(){var De=this.__wrapped__,Fe=ne?[1]:arguments,Ye=De instanceof Yt,ft=Fe[0],lt=Ye||kt(De),vt=function(tn){var vn=ce.apply(ge,Si([tn],Fe));return ne&&yt?vn[0]:vn};lt&&V&&typeof ft=="function"&&ft.length!=1&&(Ye=lt=!1);var yt=this.__chain__,_t=!!this.__actions__.length,Ft=be&&!yt,en=Ye&&!_t;if(!be&&lt){De=en?De:new Yt(this);var Ut=O.apply(De,Fe);return Ut.__actions__.push({func:Ts,args:[vt],thisArg:n}),new br(Ut,yt)}return Ft&&en?O.apply(this,Fe):(Ut=this.thru(vt),Ft?ne?Ut.value()[0]:Ut.value():Ut)})}),rr(["pop","push","shift","sort","splice","unshift"],function(O){var C=Nn[O],V=/^(?:push|sort|unshift)$/.test(O)?"tap":"thru",ne=/^(?:pop|shift)$/.test(O);ge.prototype[O]=function(){var ce=arguments;if(ne&&!this.__chain__){var be=this.value();return C.apply(kt(be)?be:[],ce)}return this[V](function(De){return C.apply(kt(De)?De:[],ce)})}}),fi(Yt.prototype,function(O,C){var V=ge[C];if(V){var ne=V.name+"";un.call(oa,ne)||(oa[ne]=[]),oa[ne].push({name:C,func:V})}}),oa[us(n,m).name]=[{name:"wrapper",func:n}],Yt.prototype.clone=iu,Yt.prototype.reverse=bc,Yt.prototype.value=au,ge.prototype.at=Id,ge.prototype.chain=xd,ge.prototype.commit=Rd,ge.prototype.next=wl,ge.prototype.plant=Dd,ge.prototype.reverse=Md,ge.prototype.toJSON=ge.prototype.valueOf=ge.prototype.value=Ld,ge.prototype.first=ge.prototype.head,Ma&&(ge.prototype[Ma]=wd),ge},Ia=lc();bn._=Ia,s=function(){return Ia}.call(f,e,f,y),s!==n&&(y.exports=s)}).call(this)},698723:function(y,f,e){var s=e(397341),n=e(198389),a=e(408036);function t(r,i){var o={};return i=a(i,3),n(r,function(d,u,l){s(o,u,i(d,u,l))}),o}y.exports=t},709075:function(y){function f(){}y.exports=f},815807:function(y,f,e){var s=e(550871),n=function(){return s.Date.now()};y.exports=n},400304:function(y,f,e){var s=e(612836);function n(a){return s(2,a)}y.exports=n},142921:function(y,f,e){var s=e(99434),n=e(408036),a=e(827440),t=e(372484);function r(i,o){if(i==null)return{};var d=s(t(i),function(u){return[u]});return o=n(o),a(i,d,function(u,l){return o(u,l[0])})}y.exports=r},211184:function(y,f,e){var s=e(643938),n=s("round");y.exports=n},754886:function(y,f,e){var s=e(613892);function n(a,t,r){return a==null?a:s(a,t,r)}y.exports=n},856078:function(y,f,e){var s=e(594487),n=e(829752),a=s(function(t,r,i){return t+(i?" ":"")+n(r)});y.exports=a},277561:function(y,f,e){var s=e(76470),n=1/0,a=17976931348623157e292;function t(r){if(!r)return r===0?r:0;if(r=s(r),r===n||r===-n){var i=r<0?-1:1;return i*a}return r===r?r:0}y.exports=t},59520:function(y,f,e){var s=e(277561);function n(a){var t=s(a),r=t%1;return t===t?r?t-r:t:0}y.exports=n},76470:function(y,f,e){var s=e(465022),n=e(297114),a=0/0,t=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,d=parseInt;function u(l){if(typeof l=="number")return l;if(n(l))return a;if(s(l)){var c=typeof l.valueOf=="function"?l.valueOf():l;l=s(c)?c+"":c}if(typeof l!="string")return l===0?l:+l;l=l.replace(t,"");var g=i.test(l);return g||o.test(l)?d(l.slice(2),g?2:8):r.test(l)?a:+l}y.exports=u},1707:function(y,f,e){var s=e(36829),n=e(785792),a=e(386957),t=e(770522),r=e(730500),i=e(364766),o=/^\s+|\s+$/g;function d(u,l,c){if(u=i(u),u&&(c||l===void 0))return u.replace(o,"");if(!u||!(l=s(l)))return u;var g=r(u),v=r(l),h=t(g,v),p=a(g,v)+1;return n(g,h,p).join("")}y.exports=d},829752:function(y,f,e){var s=e(336933),n=s("toUpperCase");y.exports=n},124868:function(y,f,e){var s=e(195097),n=e(570520),a=e(364766),t=e(168379);function r(i,o,d){return i=a(i),o=d?void 0:o,o===void 0?n(i)?t(i):s(i):i.match(o)||[]}y.exports=r},993990:function(y){"use strict";var f=typeof Element!="undefined"?Element.prototype:{},e=f.matches||f.matchesSelector||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector;y.exports=s;function s(n,a){if(!n||n.nodeType!==1)return!1;if(e)return e.call(n,a);for(var t=n.parentNode.querySelectorAll(a),r=0;r<t.length;r++)if(t[r]==n)return!0;return!1}},164940:function(y,f,e){/*!
20 * matter-js 0.17.1 by @liabru
21 * http://brm.io/matter-js/
22 * License MIT
23 * 
24 * The MIT License (MIT)
25 * 
26 * Copyright (c) Liam Brummitt and contributors.
27 * 
28 * Permission is hereby granted, free of charge, to any person obtaining a copy
29 * of this software and associated documentation files (the "Software"), to deal
30 * in the Software without restriction, including without limitation the rights
31 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32 * copies of the Software, and to permit persons to whom the Software is
33 * furnished to do so, subject to the following conditions:
34 * 
35 * The above copyright notice and this permission notice shall be included in
36 * all copies or substantial portions of the Software.
37 * 
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44 * THE SOFTWARE.
45 */(function(n,a){y.exports=a()})(this,function(){return function(s){var n={};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};
45return s[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=s,a.c=n,a.d=function(t,r,i){a.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},a.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,r){if(r&1&&(t=a(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var o in t)a.d(i,o,function(d){return t[d]}.bind(null,o));return i},a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,"a",r),r},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},a.p="",a(a.s=22)}([function(s,n){var a={};s.exports=a,function(){a._nextId=0,a._seed=0,a._nowStartTime=+new Date,a._warnedOnce={},a._decomp=null,a.extend=function(r,i){var o,d,u;typeof i=="boolean"?(o=2,u=i):(o=1,u=!0);for(var l=o;l<arguments.length;l++){var c=arguments[l];if(c)for(var g in c)u&&c[g]&&c[g].constructor===Object&&(!r[g]||r[g].constructor===Object)?(r[g]=r[g]||{},a.extend(r[g],u,c[g])):r[g]=c[g]}return r},a.clone=function(r,i){return a.extend({},i,r)},a.keys=function(r){if(Object.keys)return Object.keys(r);var i=[];for(var o in r)i.push(o);return i},a.values=function(r){var i=[];if(Object.keys){for(var o=Object.keys(r),d=0;d<o.length;d++)i.push(r[o[d]]);return i}for(var u in r)i.push(r[u]);return i},a.get=function(r,i,o,d){i=i.split(".").slice(o,d);for(var u=0;u<i.length;u+=1)r=r[i[u]];return r},a.set=function(r,i,o,d,u){var l=i.split(".").slice(d,u);return a.get(r,i,0,-1)[l[l.length-1]]=o,o},a.shuffle=function(r){for(var i=r.length-1;i>0;i--){var o=Math.floor(a.random()*(i+1)),d=r[i];r[i]=r[o],r[o]=d}return r},a.choose=function(r){return r[Math.floor(a.random()*r.length)]},a.isElement=function(r){return typeof HTMLElement!="undefined"?r instanceof HTMLElement:!!(r&&r.nodeType&&r.nodeName)},a.isArray=function(r){return Object.prototype.toString.call(r)==="[object Array]"},a.isFunction=function(r){return typeof r=="function"},a.isPlainObject=function(r){return typeof r=="object"&&r.constructor===Object},a.isString=function(r){return toString.call(r)==="[object String]"},a.clamp=function(r,i,o){return r<i?i:r>o?o:r},a.sign=function(r){return r<0?-1:1},a.now=function(){if(typeof window!="undefined"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-a._nowStartTime},a.random=function(r,i){return r=typeof r!="undefined"?r:0,i=typeof i!="undefined"?i:1,r+t()*(i-r)};var t=function(){return a._seed=(a._seed*9301+49297)%233280,a._seed/233280};a.colorToNumber=function(r){return r=r.replace("#",""),r.length==3&&(r=r.charAt(0)+r.charAt(0)+r.charAt(1)+r.charAt(1)+r.charAt(2)+r.charAt(2)),parseInt(r,16)},a.logLevel=1,a.log=function(){console&&a.logLevel>0&&a.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},a.info=function(){console&&a.logLevel>0&&a.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},a.warn=function(){console&&a.logLevel>0&&a.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},a.warnOnce=function(){var r=Array.prototype.slice.call(arguments).join(" ");a._warnedOnce[r]||(a.warn(r),a._warnedOnce[r]=!0)},a.deprecated=function(r,i,o){r[i]=a.chain(function(){a.warnOnce("\uD83D\uDD05 deprecated \uD83D\uDD05",o)},r[i])},a.nextId=function(){return a._nextId++},a.indexOf=function(r,i){if(r.indexOf)return r.indexOf(i);for(var o=0;o<r.length;o++)if(r[o]===i)return o;return-1},a.map=function(r,i){if(r.map)return r.map(i);for(var o=[],d=0;d<r.length;d+=1)o.push(i(r[d]));return o},a.topologicalSort=function(r){var i=[],o=[],d=[];for(var u in r)!o[u]&&!d[u]&&a._topologicalSort(u,o,d,r,i);return i},a._topologicalSort=function(r,i,o,d,u){var l=d[r]||[];o[r]=!0;for(var c=0;c<l.length;c+=1){var g=l[c];o[g]||i[g]||a._topologicalSort(g,i,o,d,u)}o[r]=!1,i[r]=!0,u.push(r)},a.chain=function(){for(var r=[],i=0;i<arguments.length;i+=1){var o=arguments[i];o._chained?r.push.apply(r,o._chained):r.push(o)}var d=function(){for(var u,l=new Array(arguments.length),c=0,g=arguments.length;c<g;c++)l[c]=arguments[c];for(c=0;c<r.length;c+=1){var v=r[c].apply(u,l);typeof v!="undefined"&&(u=v)}return u};return d._chained=r,d},a.chainPathBefore=function(r,i,o){return a.set(r,i,a.chain(o,a.get(r,i)))},a.chainPathAfter=function(r,i,o){return a.set(r,i,a.chain(a.get(r,i),o))},a.setDecomp=function(r){a._decomp=r},a.getDecomp=function(){var r=a._decomp;try{!r&&typeof window!="undefined"&&(r=window.decomp),!r&&typeof e.g!="undefined"&&(r=e.g.decomp)}catch(i){r=null}return r}}()},function(s,n){var a={};s.exports=a,function(){a.create=function(t){var r={min:{x:0,y:0},max:{x:0,y:0}};return t&&a.update(r,t),r},a.update=function(t,r,i){t.min.x=1/0,t.max.x=-1/0,t.min.y=1/0,t.max.y=-1/0;for(var o=0;o<r.length;o++){var d=r[o];d.x>t.max.x&&(t.max.x=d.x),d.x<t.min.x&&(t.min.x=d.x),d.y>t.max.y&&(t.max.y=d.y),d.y<t.min.y&&(t.min.y=d.y)}i&&(i.x>0?t.max.x+=i.x:t.min.x+=i.x,i.y>0?t.max.y+=i.y:t.min.y+=i.y)},a.contains=function(t,r){return r.x>=t.min.x&&r.x<=t.max.x&&r.y>=t.min.y&&r.y<=t.max.y},a.overlaps=function(t,r){return t.min.x<=r.max.x&&t.max.x>=r.min.x&&t.max.y>=r.min.y&&t.min.y<=r.max.y},a.translate=function(t,r){t.min.x+=r.x,t.max.x+=r.x,t.min.y+=r.y,t.max.y+=r.y},a.shift=function(t,r){var i=t.max.x-t.min.x,o=t.max.y-t.min.y;t.min.x=r.x,t.max.x=r.x+i,t.min.y=r.y,t.max.y=r.y+o}}()},function(s,n){var a={};s.exports=a,function(){a.create=function(t,r){return{x:t||0,y:r||0}},a.clone=function(t){return{x:t.x,y:t.y}},a.magnitude=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},a.magnitudeSquared=function(t){return t.x*t.x+t.y*t.y},a.rotate=function(t,r,i){var o=Math.cos(r),d=Math.sin(r);i||(i={});var u=t.x*o-t.y*d;return i.y=t.x*d+t.y*o,i.x=u,i},a.rotateAbout=function(t,r,i,o){var d=Math.cos(r),u=Math.sin(r);o||(o={});var l=i.x+((t.x-i.x)*d-(t.y-i.y)*u);return o.y=i.y+((t.x-i.x)*u+(t.y-i.y)*d),o.x=l,o},a.normalise=function(t){var r=a.magnitude(t);return r===0?{x:0,y:0}:{x:t.x/r,y:t.y/r}},a.dot=function(t,r){return t.x*r.x+t.y*r.y},a.cross=function(t,r){return t.x*r.y-t.y*r.x},a.cross3=function(t,r,i){return(r.x-t.x)*(i.y-t.y)-(r.y-t.y)*(i.x-t.x)}
45,a.add=function(t,r,i){return i||(i={}),i.x=t.x+r.x,i.y=t.y+r.y,i},a.sub=function(t,r,i){return i||(i={}),i.x=t.x-r.x,i.y=t.y-r.y,i},a.mult=function(t,r){return{x:t.x*r,y:t.y*r}},a.div=function(t,r){return{x:t.x/r,y:t.y/r}},a.perp=function(t,r){return r=r===!0?-1:1,{x:r*-t.y,y:r*t.x}},a.neg=function(t){return{x:-t.x,y:-t.y}},a.angle=function(t,r){return Math.atan2(r.y-t.y,r.x-t.x)},a._temp=[a.create(),a.create(),a.create(),a.create(),a.create(),a.create()]}()},function(s,n,a){var t={};s.exports=t;var r=a(2),i=a(0);(function(){t.create=function(o,d){for(var u=[],l=0;l<o.length;l++){var c=o[l],g={x:c.x,y:c.y,index:l,body:d,isInternal:!1};u.push(g)}return u},t.fromPath=function(o,d){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,l=[];return o.replace(u,function(c,g,v){l.push({x:parseFloat(g),y:parseFloat(v)})}),t.create(l,d)},t.centre=function(o){for(var d=t.area(o,!0),u={x:0,y:0},l,c,g,v=0;v<o.length;v++)g=(v+1)%o.length,l=r.cross(o[v],o[g]),c=r.mult(r.add(o[v],o[g]),l),u=r.add(u,c);return r.div(u,6*d)},t.mean=function(o){for(var d={x:0,y:0},u=0;u<o.length;u++)d.x+=o[u].x,d.y+=o[u].y;return r.div(d,o.length)},t.area=function(o,d){for(var u=0,l=o.length-1,c=0;c<o.length;c++)u+=(o[l].x-o[c].x)*(o[l].y+o[c].y),l=c;return d?u/2:Math.abs(u)/2},t.inertia=function(o,d){for(var u=0,l=0,c=o,g,v,h=0;h<c.length;h++)v=(h+1)%c.length,g=Math.abs(r.cross(c[v],c[h])),u+=g*(r.dot(c[v],c[v])+r.dot(c[v],c[h])+r.dot(c[h],c[h])),l+=g;return d/6*(u/l)},t.translate=function(o,d,u){var l;if(u)for(l=0;l<o.length;l++)o[l].x+=d.x*u,o[l].y+=d.y*u;else for(l=0;l<o.length;l++)o[l].x+=d.x,o[l].y+=d.y;return o},t.rotate=function(o,d,u){if(d!==0){for(var l=Math.cos(d),c=Math.sin(d),g=0;g<o.length;g++){var v=o[g],h=v.x-u.x,p=v.y-u.y;v.x=u.x+(h*l-p*c),v.y=u.y+(h*c+p*l)}return o}},t.contains=function(o,d){for(var u=0;u<o.length;u++){var l=o[u],c=o[(u+1)%o.length];if((d.x-l.x)*(c.y-l.y)+(d.y-l.y)*(l.x-c.x)>0)return!1}return!0},t.scale=function(o,d,u,l){if(d===1&&u===1)return o;l=l||t.centre(o);for(var c,g,v=0;v<o.length;v++)c=o[v],g=r.sub(c,l),o[v].x=l.x+g.x*d,o[v].y=l.y+g.y*u;return o},t.chamfer=function(o,d,u,l,c){typeof d=="number"?d=[d]:d=d||[8],u=typeof u!="undefined"?u:-1,l=l||2,c=c||14;for(var g=[],v=0;v<o.length;v++){var h=o[v-1>=0?v-1:o.length-1],p=o[v],m=o[(v+1)%o.length],P=d[v<d.length?v:d.length-1];if(P===0){g.push(p);continue}var _=r.normalise({x:p.y-h.y,y:h.x-p.x}),b=r.normalise({x:m.y-p.y,y:p.x-m.x}),S=Math.sqrt(2*Math.pow(P,2)),E=r.mult(i.clone(_),P),A=r.normalise(r.mult(r.add(_,b),.5)),T=r.sub(p,r.mult(A,S)),I=u;u===-1&&(I=Math.pow(P,.32)*1.75),I=i.clamp(I,l,c),I%2==1&&(I+=1);for(var R=Math.acos(r.dot(_,b)),j=R/I,x=0;x<I;x++)g.push(r.add(r.rotate(E,j*x),T))}return g},t.clockwiseSort=function(o){var d=t.mean(o);return o.sort(function(u,l){return r.angle(d,u)-r.angle(d,l)}),o},t.isConvex=function(o){var d=0,u=o.length,l,c,g,v;if(u<3)return null;for(l=0;l<u;l++)if(c=(l+1)%u,g=(l+2)%u,v=(o[c].x-o[l].x)*(o[g].y-o[c].y),v-=(o[c].y-o[l].y)*(o[g].x-o[c].x),v<0?d|=1:v>0&&(d|=2),d===3)return!1;return d!==0?!0:null},t.hull=function(o){var d=[],u=[],l,c;for(o=o.slice(0),o.sort(function(g,v){var h=g.x-v.x;return h!==0?h:g.y-v.y}),c=0;c<o.length;c+=1){for(l=o[c];u.length>=2&&r.cross3(u[u.length-2],u[u.length-1],l)<=0;)u.pop();u.push(l)}for(c=o.length-1;c>=0;c-=1){for(l=o[c];d.length>=2&&r.cross3(d[d.length-2],d[d.length-1],l)<=0;)d.pop();d.push(l)}return d.pop(),u.pop(),d.concat(u)}})()},function(s,n,a){var t={};s.exports=t;var r=a(0);(function(){t.on=function(i,o,d){for(var u=o.split(" "),l,c=0;c<u.length;c++)l=u[c],i.events=i.events||{},i.events[l]=i.events[l]||[],i.events[l].push(d);return d},t.off=function(i,o,d){if(!o){i.events={};return}typeof o=="function"&&(d=o,o=r.keys(i.events).join(" "));for(var u=o.split(" "),l=0;l<u.length;l++){var c=i.events[u[l]],g=[];if(d&&c)for(var v=0;v<c.length;v++)c[v]!==d&&g.push(c[v]);i.events[u[l]]=g}},t.trigger=function(i,o,d){var u,l,c,g,v=i.events;if(v&&r.keys(v).length>0){d||(d={}),u=o.split(" ");for(var h=0;h<u.length;h++)if(l=u[h],c=v[l],c){g=r.clone(d,!1),g.name=l,g.source=i;for(var p=0;p<c.length;p++)c[p].apply(i,[g])}}}})()},function(s,n,a){var t={};s.exports=t;var r=a(4),i=a(0),o=a(1),d=a(6);(function(){t.create=function(u){return i.extend({id:i.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{}},u)},t.setModified=function(u,l,c,g){if(u.isModified=l,c&&u.parent&&t.setModified(u.parent,l,c,g),g)for(var v=0;v<u.composites.length;v++){var h=u.composites[v];t.setModified(h,l,c,g)}},t.add=function(u,l){var c=[].concat(l);r.trigger(u,"beforeAdd",{object:l});for(var g=0;g<c.length;g++){var v=c[g];switch(v.type){case"body":if(v.parent!==v){i.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}t.addBody(u,v);break;case"constraint":t.addConstraint(u,v);break;case"composite":t.addComposite(u,v);break;case"mouseConstraint":t.addConstraint(u,v.constraint);break}}return r.trigger(u,"afterAdd",{object:l}),u},t.remove=function(u,l,c){var g=[].concat(l);r.trigger(u,"beforeRemove",{object:l});for(var v=0;v<g.length;v++){var h=g[v];switch(h.type){case"body":t.removeBody(u,h,c);break;case"constraint":t.removeConstraint(u,h,c);break;
45case"composite":t.removeComposite(u,h,c);break;case"mouseConstraint":t.removeConstraint(u,h.constraint);break}}return r.trigger(u,"afterRemove",{object:l}),u},t.addComposite=function(u,l){return u.composites.push(l),l.parent=u,t.setModified(u,!0,!0,!1),u},t.removeComposite=function(u,l,c){var g=i.indexOf(u.composites,l);if(g!==-1&&(t.removeCompositeAt(u,g),t.setModified(u,!0,!0,!1)),c)for(var v=0;v<u.composites.length;v++)t.removeComposite(u.composites[v],l,!0);return u},t.removeCompositeAt=function(u,l){return u.composites.splice(l,1),t.setModified(u,!0,!0,!1),u},t.addBody=function(u,l){return u.bodies.push(l),t.setModified(u,!0,!0,!1),u},t.removeBody=function(u,l,c){var g=i.indexOf(u.bodies,l);if(g!==-1&&(t.removeBodyAt(u,g),t.setModified(u,!0,!0,!1)),c)for(var v=0;v<u.composites.length;v++)t.removeBody(u.composites[v],l,!0);return u},t.removeBodyAt=function(u,l){return u.bodies.splice(l,1),t.setModified(u,!0,!0,!1),u},t.addConstraint=function(u,l){return u.constraints.push(l),t.setModified(u,!0,!0,!1),u},t.removeConstraint=function(u,l,c){var g=i.indexOf(u.constraints,l);if(g!==-1&&t.removeConstraintAt(u,g),c)for(var v=0;v<u.composites.length;v++)t.removeConstraint(u.composites[v],l,!0);return u},t.removeConstraintAt=function(u,l){return u.constraints.splice(l,1),t.setModified(u,!0,!0,!1),u},t.clear=function(u,l,c){if(c)for(var g=0;g<u.composites.length;g++)t.clear(u.composites[g],l,!0);return l?u.bodies=u.bodies.filter(function(v){return v.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,t.setModified(u,!0,!0,!1),u},t.allBodies=function(u){for(var l=[].concat(u.bodies),c=0;c<u.composites.length;c++)l=l.concat(t.allBodies(u.composites[c]));return l},t.allConstraints=function(u){for(var l=[].concat(u.constraints),c=0;c<u.composites.length;c++)l=l.concat(t.allConstraints(u.composites[c]));return l},t.allComposites=function(u){for(var l=[].concat(u.composites),c=0;c<u.composites.length;c++)l=l.concat(t.allComposites(u.composites[c]));return l},t.get=function(u,l,c){var g,v;switch(c){case"body":g=t.allBodies(u);break;case"constraint":g=t.allConstraints(u);break;case"composite":g=t.allComposites(u).concat(u);break}return g?(v=g.filter(function(h){return h.id.toString()===l.toString()}),v.length===0?null:v[0]):null},t.move=function(u,l,c){return t.remove(u,l),t.add(c,l),u},t.rebase=function(u){for(var l=t.allBodies(u).concat(t.allConstraints(u)).concat(t.allComposites(u)),c=0;c<l.length;c++)l[c].id=i.nextId();return t.setModified(u,!0,!0,!1),u},t.translate=function(u,l,c){for(var g=c?t.allBodies(u):u.bodies,v=0;v<g.length;v++)d.translate(g[v],l);return t.setModified(u,!0,!0,!1),u},t.rotate=function(u,l,c,g){for(var v=Math.cos(l),h=Math.sin(l),p=g?t.allBodies(u):u.bodies,m=0;m<p.length;m++){var P=p[m],_=P.position.x-c.x,b=P.position.y-c.y;d.setPosition(P,{x:c.x+(_*v-b*h),y:c.y+(_*h+b*v)}),d.rotate(P,l)}return t.setModified(u,!0,!0,!1),u},t.scale=function(u,l,c,g,v){for(var h=v?t.allBodies(u):u.bodies,p=0;p<h.length;p++){var m=h[p],P=m.position.x-g.x,_=m.position.y-g.y;d.setPosition(m,{x:g.x+P*l,y:g.y+_*c}),d.scale(m,l,c)}return t.setModified(u,!0,!0,!1),u},t.bounds=function(u){for(var l=t.allBodies(u),c=[],g=0;g<l.length;g+=1){var v=l[g];c.push(v.bounds.min,v.bounds.max)}return o.create(c)}})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(2),o=a(7),d=a(16),u=a(0),l=a(1),c=a(10);(function(){t._inertiaScale=4,t._nextCollidingGroupId=1,t._nextNonCollidingGroupId=-1,t._nextCategory=1,t.create=function(v){var h={id:u.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:r.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,_original:null},p=u.extend(h,v);return g(p,v),p},t.nextGroup=function(v){return v?t._nextNonCollidingGroupId--:t._nextCollidingGroupId++},t.nextCategory=function(){return t._nextCategory=t._nextCategory<<1,t._nextCategory};var g=function(v,h){h=h||{},t.set(v,{bounds:v.bounds||l.create(v.vertices),positionPrev:v.positionPrev||i.clone(v.position),anglePrev:v.anglePrev||v.angle,vertices:v.vertices,parts:v.parts||[v],isStatic:v.isStatic,isSleeping:v.isSleeping,parent:v.parent||v}),r.rotate(v.vertices,v.angle,v.position),c.rotate(v.axes,v.angle),l.update(v.bounds,v.vertices,v.velocity),t.set(v,{axes:h.axes||v.axes,area:h.area||v.area,mass:
45h.mass||v.mass,inertia:h.inertia||v.inertia});var p=v.isStatic?"#14151f":u.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),m=v.isStatic?"#555":"#ccc",P=v.isStatic&&v.render.fillStyle===null?1:0;v.render.fillStyle=v.render.fillStyle||p,v.render.strokeStyle=v.render.strokeStyle||m,v.render.lineWidth=v.render.lineWidth||P,v.render.sprite.xOffset+=-(v.bounds.min.x-v.position.x)/(v.bounds.max.x-v.bounds.min.x),v.render.sprite.yOffset+=-(v.bounds.min.y-v.position.y)/(v.bounds.max.y-v.bounds.min.y)};t.set=function(v,h,p){var m;typeof h=="string"&&(m=h,h={},h[m]=p);for(m in h)if(!!Object.prototype.hasOwnProperty.call(h,m))switch(p=h[m],m){case"isStatic":t.setStatic(v,p);break;case"isSleeping":o.set(v,p);break;case"mass":t.setMass(v,p);break;case"density":t.setDensity(v,p);break;case"inertia":t.setInertia(v,p);break;case"vertices":t.setVertices(v,p);break;case"position":t.setPosition(v,p);break;case"angle":t.setAngle(v,p);break;case"velocity":t.setVelocity(v,p);break;case"angularVelocity":t.setAngularVelocity(v,p);break;case"parts":t.setParts(v,p);break;case"centre":t.setCentre(v,p);break;default:v[m]=p}},t.setStatic=function(v,h){for(var p=0;p<v.parts.length;p++){var m=v.parts[p];m.isStatic=h,h?(m._original={restitution:m.restitution,friction:m.friction,mass:m.mass,inertia:m.inertia,density:m.density,inverseMass:m.inverseMass,inverseInertia:m.inverseInertia},m.restitution=0,m.friction=1,m.mass=m.inertia=m.density=1/0,m.inverseMass=m.inverseInertia=0,m.positionPrev.x=m.position.x,m.positionPrev.y=m.position.y,m.anglePrev=m.angle,m.angularVelocity=0,m.speed=0,m.angularSpeed=0,m.motion=0):m._original&&(m.restitution=m._original.restitution,m.friction=m._original.friction,m.mass=m._original.mass,m.inertia=m._original.inertia,m.density=m._original.density,m.inverseMass=m._original.inverseMass,m.inverseInertia=m._original.inverseInertia,m._original=null)}},t.setMass=function(v,h){var p=v.inertia/(v.mass/6);v.inertia=p*(h/6),v.inverseInertia=1/v.inertia,v.mass=h,v.inverseMass=1/v.mass,v.density=v.mass/v.area},t.setDensity=function(v,h){t.setMass(v,h*v.area),v.density=h},t.setInertia=function(v,h){v.inertia=h,v.inverseInertia=1/v.inertia},t.setVertices=function(v,h){h[0].body===v?v.vertices=h:v.vertices=r.create(h,v),v.axes=c.fromVertices(v.vertices),v.area=r.area(v.vertices),t.setMass(v,v.density
45*v.area);var p=r.centre(v.vertices);r.translate(v.vertices,p,-1),t.setInertia(v,t._inertiaScale*r.inertia(v.vertices,v.mass)),r.translate(v.vertices,v.position),l.update(v.bounds,v.vertices,v.velocity)},t.setParts=function(v,h,p){var m;for(h=h.slice(0),v.parts.length=0,v.parts.push(v),v.parent=v,m=0;m<h.length;m++){var P=h[m];P!==v&&(P.parent=v,v.parts.push(P))}if(v.parts.length!==1){if(p=typeof p!="undefined"?p:!0,p){var _=[];for(m=0;m<h.length;m++)_=_.concat(h[m].vertices);r.clockwiseSort(_);var b=r.hull(_),S=r.centre(b);t.setVertices(v,b),r.translate(v.vertices,S)}var E=t._totalProperties(v);v.area=E.area,v.parent=v,v.position.x=E.centre.x,v.position.y=E.centre.y,v.positionPrev.x=E.centre.x,v.positionPrev.y=E.centre.y,t.setMass(v,E.mass),t.setInertia(v,E.inertia),t.setPosition(v,E.centre)}},t.setCentre=function(v,h,p){p?(v.positionPrev.x+=h.x,v.positionPrev.y+=h.y,v.position.x+=h.x,v.position.y+=h.y):(v.positionPrev.x=h.x-(v.position.x-v.positionPrev.x),v.positionPrev.y=h.y-(v.position.y-v.positionPrev.y),v.position.x=h.x,v.position.y=h.y)},t.setPosition=function(v,h){var p=i.sub(h,v.position);v.positionPrev.x+=p.x,v.positionPrev.y+=p.y;for(var m=0;m<v.parts.length;m++){var P=v.parts[m];P.position.x+=p.x,P.position.y+=p.y,r.translate(P.vertices,p),l.update(P.bounds,P.vertices,v.velocity)}},t.setAngle=function(v,h){var p=h-v.angle;v.anglePrev+=p;for(var m=0;m<v.parts.length;m++){var P=v.parts[m];P.angle+=p,r.rotate(P.vertices,p,v.position),c.rotate(P.axes,p),l.update(P.bounds,P.vertices,v.velocity),m>0&&i.rotateAbout(P.position,p,v.position,P.position)}},t.setVelocity=function(v,h){v.positionPrev.x=v.position.x-h.x,v.positionPrev.y=v.position.y-h.y,v.velocity.x=h.x,v.velocity.y=h.y,v.speed=i.magnitude(v.velocity)},t.setAngularVelocity=function(v,h){v.anglePrev=v.angle-h,v.angularVelocity=h,v.angularSpeed=Math.abs(v.angularVelocity)},t.translate=function(v,h){t.setPosition(v,i.add(v.position,h))},t.rotate=function(v,h,p){if(!p)t.setAngle(v,v.angle+h);else{var m=Math.cos(h),P=Math.sin(h),_=v.position.x-p.x,b=v.position.y-p.y;t.setPosition(v,{x:p.x+(_*m-b*P),y:p.y+(_*P+b*m)}),t.setAngle(v,v.angle+h)}},t.scale=function(v,h,p,m){var P=0,_=0;m=m||v.position;for(var b=0;b<v.parts.length;b++){var S=v.parts[b];r.scale(S.vertices,h,p,m),S.axes=c.fromVertices(S.vertices),S.area=r.area(S.vertices),t.setMass(S,v.density*S.area),r.translate(S.vertices,{x:-S.position.x,y:-S.position.y}),t.setInertia(S,t._inertiaScale*r.inertia(S.vertices,S.mass)),r.translate(S.vertices,{x:S.position.x,y:S.position.y}),b>0&&(P+=S.area,_+=S.inertia),S.position.x=m.x+(S.position.x-m.x)*h,S.position.y=m.y+(S.position.y-m.y)*p,l.update(S.bounds,S.vertices,v.velocity)}v.parts.length>
451&&(v.area=P,v.isStatic||(t.setMass(v,v.density*P),t.setInertia(v,_))),v.circleRadius&&(h===p?v.circleRadius*=h:v.circleRadius=null)},t.update=function(v,h,p,m){var P=Math.pow(h*p*v.timeScale,2),_=1-v.frictionAir*p*v.timeScale,b=v.position.x-v.positionPrev.x,S=v.position.y-v.positionPrev.y;v.velocity.x=b*_*m+v.force.x/v.mass*P,v.velocity.y=S*_*m+v.force.y/v.mass*P,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.position.x+=v.velocity.x,v.position.y+=v.velocity.y,v.angularVelocity=(v.angle-v.anglePrev)*_*m+v.torque/v.inertia*P,v.anglePrev=v.angle,v.angle+=v.angularVelocity,v.speed=i.magnitude(v.velocity),v.angularSpeed=Math.abs(v.angularVelocity);for(var E=0;E<v.parts.length;E++){var A=v.parts[E];r.translate(A.vertices,v.velocity),E>0&&(A.position.x+=v.velocity.x,A.position.y+=v.velocity.y),v.angularVelocity!==0&&(r.rotate(A.vertices,v.angularVelocity,v.position),c.rotate(A.axes,v.angularVelocity),E>0&&i.rotateAbout(A.position,v.angularVelocity,v.position,A.position)),l.update(A.bounds,A.vertices,v.velocity)}},t.applyForce=function(v,h,p){v.force.x+=p.x,v.force.y+=p.y;var m={x:h.x-v.position.x,y:h.y-v.position.y};v.torque+=m.x*p.y-m.y*p.x},t._totalProperties=function(v){for(var h={mass:0,area:0,inertia:0,centre:{x:0,y:0}},p=v.parts.length===1?0:1;p<v.parts.length;p++){var m=v.parts[p],P=m.mass!==1/0?m.mass:1;h.mass+=P,h.area+=m.area,h.inertia+=m.inertia,h.centre=i.add(h.centre,i.mult(m.position,P))}return h.centre=i.div(h.centre,h.mass),h}})()},function(s,n,a){var t={};s.exports=t;var r=a(4);(function(){t._motionWakeThreshold=.18,t._motionSleepThreshold=.08,t._minBias=.9,t.update=function(i,o){for(var d=o*o*o,u=0;u<i.length;u++){var l=i[u],c=l.speed*l.speed+l.angularSpeed*l.angularSpeed;if(l.force.x!==0||l.force.y!==0){t.set(l,!1);continue}var g=Math.min(l.motion,c),v=Math.max(l.motion,c);l.motion=t._minBias*g+(1-t._minBias)*v,l.sleepThreshold>0&&l.motion<t._motionSleepThreshold*d?(l.sleepCounter+=1,l.sleepCounter>=l.sleepThreshold&&t.set(l,!0)):l.sleepCounter>0&&(l.sleepCounter-=1)}},t.afterCollisions=function(i,o){for(var d=o*o*o,u=0;u<i.length;u++){var l=i[u];if(!!l.isActive){var c=l.collision,g=c.bodyA.parent,v=c.bodyB.parent;
45if(!(g.isSleeping&&v.isSleeping||g.isStatic||v.isStatic)&&(g.isSleeping||v.isSleeping)){var h=g.isSleeping&&!g.isStatic?g:v,p=h===g?v:g;!h.isStatic&&p.motion>t._motionWakeThreshold*d&&t.set(h,!1)}}}},t.set=function(i,o){var d=i.isSleeping;o?(i.isSleeping=!0,i.sleepCounter=i.sleepThreshold,i.positionImpulse.x=0,i.positionImpulse.y=0,i.positionPrev.x=i.position.x,i.positionPrev.y=i.position.y,i.anglePrev=i.angle,i.speed=0,i.angularSpeed=0,i.motion=0,d||r.trigger(i,"sleepStart")):(i.isSleeping=!1,i.sleepCounter=0,d&&r.trigger(i,"sleepEnd"))}})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(2),o=a(7),d=a(1),u=a(10),l=a(0);(function(){t._warming=.4,t._torqueDampen=1,t._minLength=1e-6,t.create=function(c){var g=c;g.bodyA&&!g.pointA&&(g.pointA={x:0,y:0}),g.bodyB&&!g.pointB&&(g.pointB={x:0,y:0});var v=g.bodyA?i.add(g.bodyA.position,g.pointA):g.pointA,h=g.bodyB?i.add(g.bodyB.position,g.pointB):g.pointB,p=i.magnitude(i.sub(v,h));g.length=typeof g.length!="undefined"?g.length:p,g.id=g.id||l.nextId(),g.label=g.label||"Constraint",g.type="constraint",g.stiffness=g.stiffness||(g.length>0?1:.7),g.damping=g.damping||0,g.angularStiffness=g.angularStiffness||0,g.angleA=g.bodyA?g.bodyA.angle:g.angleA,g.angleB=g.bodyB?g.bodyB.angle:g.angleB,g.plugin={};var m={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return g.length===0&&g.stiffness>.1?(m.type="pin",m.anchors=!1):g.stiffness<.9&&(m.type="spring"),g.render=l.extend(m,g.render),g},t.preSolveAll=function(c){for(var g=0;g<c.length;g+=1){var v=c[g],h=v.constraintImpulse;v.isStatic||h.x===0&&h.y===0&&h.angle===0||(v.position.x+=h.x,v.position.y+=h.y,v.angle+=h.angle)}},t.solveAll=function(c,g){for(var v=0;v<c.length;v+=1){var h=c[v],p=!h.bodyA||h.bodyA&&h.bodyA.isStatic,m=!h.bodyB||h.bodyB&&h.bodyB.isStatic;(p||m)&&t.solve(c[v],g)}for(v=0;v<c.length;v+=1)h=c[v],p=!h.bodyA||h.bodyA&&h.bodyA.isStatic,m=!h.bodyB||h.bodyB&&h.bodyB.isStatic,!p&&!m&&t.solve(c[v],g)},t.solve=function(c,g){var v=c.bodyA,h=c.bodyB,p=c.pointA,m=c.pointB;if(!(!v&&!h)){v&&!v.isStatic&&(i.rotate(p,v.angle-c.angleA,p),c.angleA=v.angle),h&&!h.isStatic&&(i.rotate(m,h.angle-c.angleB,m),c.angleB=h.angle);var P=p,_=m;if(v&&(P=i.add(v.position,p)),h&&(_=i.add(h.position,m)),!(!P||!_)){var b=i.sub(P,_),S=i.magnitude(b);S<t._minLength&&(S=t._minLength);var E=(S-c.length)/S,A=c.stiffness<1?c.stiffness*g:c.stiffness,T=i.mult(b,E*A),I=(v?v.inverseMass:0)+(h?h.inverseMass:0),R=(v?v.inverseInertia:0)+(h?h.inverseInertia:0),j=I+R,x,L,H,G,X;if(c.damping){var K=i.create();H=i.div(b,S),X=i.sub(h&&i.sub(h.position,h.positionPrev)||K,v&&i.sub(v.position,v.positionPrev)||K),G=i.dot(H,X)}v&&!v.isStatic&&(L=v.inverseMass/I,v.constraintImpulse.x-=T.x*L,v.constraintImpulse.y-=T.y*L,v.position.x-=T.x*L,v.position.y-=T.y*L,c.damping&&(v.positionPrev.x-=c.damping*H.x*G*L,v.positionPrev.y-=c.damping*H.y*G*L),x=i.cross(p,T)/j*t._torqueDampen*v.inverseInertia*(1-c.angularStiffness),v.constraintImpulse.angle-=x,v.angle-=x),h&&!h.isStatic&&(L=h.inverseMass/I,h.constraintImpulse.x+=T.x*L,h.constraintImpulse.y+=T.y*L,h.position.x+=T.x*L,h.position.y+=T.y*L,c.damping&&(h.positionPrev.x+=c.damping*H.x*G*L,h.positionPrev.y+=c.damping*H.y*G*L),x=i.cross(m,T)/j*t._torqueDampen*h.inverseInertia*(1-c.angularStiffness),h.constraintImpulse.angle+=x,h.angle+=x)}}},t.postSolveAll=function(c){for(var g=0;g<c.length;g++){var v=c[g],h=v.constraintImpulse;if(!(v.isStatic||h.x===0&&h.y===0&&h.angle===0)){o.set(v,!1);for(var p=0;p<v.parts.length;p++){var m=v.parts[p];r.translate(m.vertices,h),p>0&&(m.position.x+=h.x,m.position.y+=h.y),h.angle!==0&&(r.rotate(m.vertices,h.angle,v.position),u.rotate(m.axes,h.angle),p>0&&i.rotateAbout(m.position,h.angle,v.position,m.position)),d.update(m.bounds,m.vertices,v.velocity)}h.angle*=t._warming,h.x*=t._warming,h.y*=t._warming}}},t.pointAWorld=function(c){return{x:(c.bodyA?c.bodyA.position.x:0)+c.pointA.x,y:(c.bodyA?c.bodyA.position.y:0)+c.pointA.y}},t.pointBWorld=function(c){return{x:(c.bodyB?c.bodyB.position.x:0)+c.pointB.x,y:(c.bodyB?c.bodyB.position.y:0)+c.pointB.y}}})()},function(s,n,a){var t={};s.exports=t;var r=a(17);(function(){t.create=function(i,o){var d=i.bodyA,u=i.bodyB,l=i.parentA,c=i.parentB,g={id:t.id(d,u),bodyA:d,bodyB:u,contacts:{},activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:d.isSensor||u.isSensor,timeCreated:o,timeUpdated:o,inverseMass:l.inverseMass+c.inverseMass,friction:Math.min(l.friction,c.friction),frictionStatic:Math.max(l.frictionStatic,c.frictionStatic),restitution:Math.max(l.restitution,c.restitution),slop:Math.max(l.slop,c.slop)};return t.update(g,i,o),g},t.update=function(i,o,d){var u=i.contacts,l=o.supports,c=i.activeContacts,g=o.parentA,v=o.parentB;if(i.collision=o,i.inverseMass=g.inverseMass+v.inverseMass,i.friction=Math.min(g.friction,v.friction),i.frictionStatic=Math.max(g.frictionStatic,v.frictionStatic),i.restitution=Math.max(g.restitution,v.restitution),i.slop=Math.max(g.slop,v.slop),c.length=0,o.collided){for(var h=0;h<l.length;h++){var p=l[h],m=r.id(p),P=u[m];P?c.push(P):c.push(u[m]=r.create(p))}i.separation=o.depth,t.setActive(i,!0,d)}else i.isActive===!0&&t.setActive(i,!1,d)},t.setActive=function(i,o,d){o?(i.isActive=!0,i.timeUpdated=d):(i.isActive=!1,i.activeContacts.length=0)},t.id=function(i,o){return i.id<o.id?"A"+i.id+"B"+o.id:"A"+o.id+"B"+i.id}})()},function(s,n,a){var t={};s.exports=t;var r=a(2),i=a(0);(function(){t.fromVertices=function(o){for(var d={},u=0;u<o.length;u++){var l=(u+1)%o.length,c=r.normalise({x:o[l].y-o[u].y,y:o[u].x-o[l].x}),g=c.y===0?1/0:c.x/c.y;g=g.toFixed(3).toString(),d[g]=c}return i.values(d)},t.rotate=function(o,d){if(d!==0)for(var u=Math.cos(d),l=Math.sin(d),c=0;c<o.length;c++){var g=o[c],v;v=g.x*u-g.y*l,g.y=g.x*l+g.y*u,g.x=v}}})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(0),o=a(6),d=a(1),u=a(2);(function(){t.rectangle=function(l,c,g,v,h){h=h||{};var p={label:"Rectangle Body",position:{x:l,y:c},vertices:r.fromPath("L 0 0 L "+g+" 0 L "+g+" "+v+" L 0 "+v)};if(h.chamfer){var m=h.chamfer;p.vertices=r.chamfer(p.vertices,m.radius,m.quality,m.qualityMin,m.qualityMax),delete h.chamfer}return o.create(i.extend({},p,h))},t.trapezoid=function(l,c,g,v,h,p){p=p||{},h*=.5;var m=(1-h*2)*g,P=g*h,_=P+m,b=_+P,S;h<.5?S="L 0 0 L "+P+" "+-v+" L "+_+" "+-v+" L "+b+" 0":S="L 0 0 L "+_+" "+-v+" L "+b+" 0";var E={label:"Trapezoid Body",position:{x:l,y:c},vertices:r.fromPath(S)};if(p.chamfer){var A=p.chamfer;E.vertices=r.chamfer(E.vertices,A.radius,A.quality,A.qualityMin,A.qualityMax),delete p.chamfer}return o.create(i.extend({},E,p))},t.circle=function(l,c,g,v,h){v=v||{};var p={label:"Circle Body",circleRadius:g};h=h||25;var m=Math.ceil(Math.max(10,Math.min(h,g)));return m%2==1&&(m+=1),t.polygon(l,c,m,g,i.extend({},p,v))},t.polygon=function(l,c,g,v,h){if(h=h||{},g<3)return t.circle(l,c,v,h);for(var p=2*Math.PI/g,m="",P=p*.5,_=0;_<g;_+=1){var b=P+_*p,S=Math.cos(b)*v,E=Math.sin(b)*v;m+="L "+S.toFixed(3)+" "+E.toFixed(3)+" "}var A={label:"Polygon Body",position:{x:l,y:c},vertices:r.fromPath(m)};if(h.chamfer){var T=h.chamfer;A.vertices=r.chamfer(A.vertices,T.radius,T.quality,T.qualityMin,T.qualityMax),delete h.chamfer}return o.create(i.extend({},A,h))},t.fromVertices=function(l,c,g,v,h,p,m,P){var _=i.getDecomp(),b,S,E,A,T,I,R,j,x,L,H;for(b=Boolean(_&&_.quickDecomp),v=v||{},E=[],h=typeof h!="undefined"?h:!1,p=typeof p!="undefined"?p:.01,m=typeof m!="undefined"?m:10,P=typeof P!="undefined"?P:.01,i.isArray(g[0])||(g=[g]),L=0;L<g.length;L+=1)if(I=g[L],A=r.isConvex(I),T=!A,T&&!b&&i.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),A||!b)A?I=r.clockwiseSort(I):I=r.hull(I),E.push({position:{x:l,y:c},vertices:I});else{var G=I.map(function(Q){return[Q.x,Q.y]});_.makeCCW(G),p!==!1&&_.removeCollinearPoints(G,p),P!==!1&&_.removeDuplicatePoints&&_.removeDuplicatePoints(G,P);var X=_.quickDecomp(G);for(R=0;R<X.length;R++){var K=X[R],J=K.map(function(Q){return{x:Q[0],y:Q[1]}});m>0&&r.area(J)<m||E.push({position:r.centre(J),vertices:J})}}for(R=0;R<E.length;R++)E[R]=o.create(i.extend(E[R],v));if(h){var z=5;for(R=0;R<E.length;R++){var k=E[R];for(j=R+1;j<E.length;j++){var F=E[j];if(d.overlaps(k.bounds,F.bounds)){var q=k.vertices,N=F.vertices;for(x=0;x<k.vertices.length;x++)for(H=0;H<F.vertices.length;H++){var M=u.magnitudeSquared(u.sub(q[(x+1)%q.length],N[H])),U=u.magnitudeSquared(u.sub(q[x],N[
45(H+1)%N.length]));M<z&&U<z&&(q[x].isInternal=!0,N[H].isInternal=!0)}}}}}return E.length>1?(S=o.create(i.extend({parts:E.slice(0)},v)),o.setPosition(S,{x:l,y:c}),S):E[0]}})()},function(s,n,a){var t={};s.exports=t;var r=a(0);(function(){t.create=function(i){var o={};return i||r.log("Mouse.create: element was undefined, defaulting to document.body","warn"),o.element=i||document.body,o.absolute={x:0,y:0},o.position={x:0,y:0},o.mousedownPosition={x:0,y:0},o.mouseupPosition={x:0,y:0},o.offset={x:0,y:0},o.scale={x:1,y:1},o.wheelDelta=0,o.button=-1,o.pixelRatio=parseInt(o.element.getAttribute("data-pixel-ratio"),10)||1,o.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},o.mousemove=function(d){var u=t._getRelativeMousePosition(d,o.element,o.pixelRatio),l=d.changedTouches;l&&(o.button=0,d.preventDefault()),o.absolute.x=u.x,o.absolute.y=u.y,o.position.x=o.absolute.x*o.scale.x+o.offset.x,o.position.y=o.absolute.y*o.scale.y+o.offset.y,o.sourceEvents.mousemove=d},o.mousedown=function(d){var u=t._getRelativeMousePosition(d,o.element,o.pixelRatio),l=d.changedTouches;l?(o.button=0,d.preventDefault()):o.button=d.button,o.absolute.x=u.x,o.absolute.y=u.y,o.position.x=o.absolute.x*o.scale.x+o.offset.x,o.position.y=o.absolute.y*o.scale.y+o.offset.y,o.mousedownPosition.x=o.position.x,o.mousedownPosition.y=o.position.y,o.sourceEvents.mousedown=d},o.mouseup=function(d){var u=t._getRelativeMousePosition(d,o.element,o.pixelRatio),l=d.changedTouches;l&&d.preventDefault(),o.button=-1,o.absolute.x=u.x,o.absolute.y=u.y,o.position.x=o.absolute.x*o.scale.x+o.offset.x,o.position.y=o.absolute.y*o.scale.y+o.offset.y,o.mouseupPosition.x=o.position.x,o.mouseupPosition.y=o.position.y,o.sourceEvents.mouseup=d},o.mousewheel=function(d){o.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},t.setElement(o,o.element),o},t.setElement=function(i,o){i.element=o,o.addEventListener("mousemove",i.mousemove),o.addEventListener("mousedown",i.mousedown),o.addEventListener("mouseup",i.mouseup),o.addEventListener("mousewheel",i.mousewheel),o.addEventListener("DOMMouseScroll",i.mousewheel),o.addEventListener("touchmove",i.mousemove),o.addEventListener("touchstart",i.mousedown),o.addEventListener("touchend",i.mouseup)},t.clearSourceEvents=function(i){i.sourceEvents.mousemove=null,i.sourceEvents.mousedown=null,i.sourceEvents.mouseup=null,i.sourceEvents.mousewheel=null,i.wheelDelta=0},t.setOffset=function(i,o){i.offset.x=o.x,i.offset.y=o.y,i.position.x=i.absolute.x*i.scale.x+i.offset.x,i.position.y=i.absolute.y*i.scale.y+i.offset.y},t.setScale=function(i,o){i.scale.x=o.x,i.scale.y=o.y,i.position.x=i.absolute.x*i.scale.x+i.offset.x,i.position.y=i.absolute.y*i.scale.y+i.offset.y},t._getRelativeMousePosition=function(i,o,d){var u=o.getBoundingClientRect(),l=document.documentElement||document.body.parentNode||document.body,c=window.pageXOffset!==void 0?window.pageXOffset:l.scrollLeft,g=window.pageYOffset!==void 0?window.pageYOffset:l.scrollTop,v=i.changedTouches,h,p;return v?(h=v[0].pageX-u.left-c,p=v[0].pageY-u.top-g):(h=i.pageX-u.left-c,p=i.pageY-u.top-g),{x:h/(o.clientWidth/(o.width||o.clientWidth)*d),y:p/(o.clientHeight/(o.height||o.clientHeight)*d)}}})()},function(s,n,a){var t={};s.exports=t;var r=a(14),i=a(9),o=a(1);(function(){t.collisions=function(d,u){for(var l=[],c=u.pairs.table,g=0;g<d.length;g++){var v=d[g][0],h=d[g][1];if(!((v.isStatic||v.isSleeping)&&(h.isStatic||h.isSleeping))&&!!t.canCollide(v.collisionFilter,h.collisionFilter)&&o.overlaps(v.bounds,h.bounds))for(var p=v.parts.length>1?1:0;p<v.parts.length;p++)for(var m=v.parts[p],P=h.parts.length>1?1:0;P<h.parts.length;P++){var _=h.parts[P];if(m===v&&_===h||o.overlaps(m.bounds,_.bounds)){var b=i.id(m,_),S=c[b],E;S&&S.isActive?E=S.collision:E=null;var A=r.collides(m,_,E);A.collided&&l.push(A)}}}return l},t.canCollide=function(d,u){return d.group===u.group&&d.group!==0?d.group>0:(d.mask&u.category)!=0&&(u.mask&d.category)!=0}})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(2);(function(){t.collides=function(o,d,u){var l,c,g,v,h=!1;if(u){var p=o.parent,m=d.parent,P=p.speed*p.speed+p.angularSpeed*p.angularSpeed+m.speed*m.speed+m.angularSpeed*m.angularSpeed;h=u&&u.collided&&P<.2,v=u}else v={collided:!1,bodyA:o,bodyB:d};if(u&&h){var _=v.axisBody,b=_===o?d:o,S=[_.axes[u.axisNumber]];
45if(g=t._overlapAxes(_.vertices,b.vertices,S),v.reused=!0,g.overlap<=0)return v.collided=!1,v}else{if(l=t._overlapAxes(o.vertices,d.vertices,o.axes),l.overlap<=0||(c=t._overlapAxes(d.vertices,o.vertices,d.axes),c.overlap<=0))return v.collided=!1,v;l.overlap<c.overlap?(g=l,v.axisBody=o):(g=c,v.axisBody=d),v.axisNumber=g.axisNumber}v.bodyA=o.id<d.id?o:d,v.bodyB=o.id<d.id?d:o,v.collided=!0,v.depth=g.overlap,v.parentA=v.bodyA.parent,v.parentB=v.bodyB.parent,o=v.bodyA,d=v.bodyB,i.dot(g.axis,i.sub(d.position,o.position))<0?v.normal={x:g.axis.x,y:g.axis.y}:v.normal={x:-g.axis.x,y:-g.axis.y},v.tangent=i.perp(v.normal),v.penetration=v.penetration||{},v.penetration.x=v.normal.x*v.depth,v.penetration.y=v.normal.y*v.depth;var E=t._findSupports(o,d,v.normal),A=[];if(r.contains(o.vertices,E[0])&&A.push(E[0]),r.contains(o.vertices,E[1])&&A.push(E[1]),A.length<2){var T=t._findSupports(d,o,i.neg(v.normal));r.contains(d.vertices,T[0])&&A.push(T[0]),A.length<2&&r.contains(d.vertices,T[1])&&A.push(T[1])}return A.length<1&&(A=[E[0]]),v.supports=A,v},t._overlapAxes=function(o,d,u){for(var l=i._temp[0],c=i._temp[1],g={overlap:Number.MAX_VALUE},v,h,p=0;p<u.length;p++){if(h=u[p],t._projectToAxis(l,o,h),t._projectToAxis(c,d,h),v=Math.min(l.max-c.min,c.max-l.min),v<=0)return g.overlap=v,g;v<g.overlap&&(g.overlap=v,g.axis=h,g.axisNumber=p)}return g},t._projectToAxis=function(o,d,u){for(var l=i.dot(d[0],u),c=l,g=1;g<d.length;g+=1){var v=i.dot(d[g],u);v>c?c=v:v<l&&(l=v)}o.min=l,o.max=c},t._findSupports=function(o,d,u){for(var l=Number.MAX_VALUE,c=i._temp[0],g=d.vertices,v=o.position,h,p,m,P,_=0;_<g.length;_++)p=g[_],c.x=p.x-v.x,c.y=p.y-v.y,h=-i.dot(u,c),h<l&&(l=h,m=p);var b=m.index-1>=0?m.index-1:g.length-1;p=g[b],c.x=p.x-v.x,c.y=p.y-v.y,l=-i.dot(u,c),P=p;var S=(m.index+1)%g.length;return p=g[S],c.x=p.x-v.x,c.y=p.y-v.y,h=-i.dot(u,c),h<l&&(P=p),[m,P]}})()},function(s,n,a){var t={};s.exports=t;var r=a(0);(function(){t._registry={},t.register=function(i){if(t.isPlugin(i)||r.warn("Plugin.register:",t.toString(i),"does not implement all required fields."),i.name in t._registry){var o=t._registry[i.name],d=t.versionParse(i.version).number,u=t.versionParse(o.version).number;d>u?(r.warn("Plugin.register:",t.toString(o),"was upgraded to",t.toString(i)),t._registry[i.name]=i):d<u?r.warn("Plugin.register:",t.toString(o),"can not be downgraded to",t.toString(i)):i!==o&&r.warn("Plugin.register:",t.toString(i),"is already registered to different plugin object")}else t._registry[i.name]=i;return i}
45,t.resolve=function(i){return t._registry[t.dependencyParse(i).name]},t.toString=function(i){return typeof i=="string"?i:(i.name||"anonymous")+"@"+(i.version||i.range||"0.0.0")},t.isPlugin=function(i){return i&&i.name&&i.version&&i.install},t.isUsed=function(i,o){return i.used.indexOf(o)>-1},t.isFor=function(i,o){var d=i.for&&t.dependencyParse(i.for);return!i.for||o.name===d.name&&t.versionSatisfies(o.version,d.range)},t.use=function(i,o){if(i.uses=(i.uses||[]).concat(o||[]),i.uses.length===0){r.warn("Plugin.use:",t.toString(i),"does not specify any dependencies to install.");return}for(var d=t.dependencies(i),u=r.topologicalSort(d),l=[],c=0;c<u.length;c+=1)if(u[c]!==i.name){var g=t.resolve(u[c]);if(!g){l.push("\u274C "+u[c]);continue}t.isUsed(i,g.name)||(t.isFor(g,i)||(r.warn("Plugin.use:",t.toString(g),"is for",g.for,"but installed on",t.toString(i)+"."),g._warned=!0),g.install?g.install(i):(r.warn("Plugin.use:",t.toString(g),"does not specify an install function."),g._warned=!0),g._warned?(l.push("\uD83D\uDD36 "+t.toString(g)),delete g._warned):l.push("\u2705 "+t.toString(g)),i.used.push(g.name))}l.length>0&&r.info(l.join("  "))},t.dependencies=function(i,o){var d=t.dependencyParse(i),u=d.name;if(o=o||{},!(u in o)){i=t.resolve(i)||i,o[u]=r.map(i.uses||[],function(c){t.isPlugin(c)&&t.register(c);var g=t.dependencyParse(c),v=t.resolve(c);return v&&!t.versionSatisfies(v.version,g.range)?(r.warn("Plugin.dependencies:",t.toString(v),"does not satisfy",t.toString(g),"used by",t.toString(d)+"."),v._warned=!0,i._warned=!0):v||(r.warn("Plugin.dependencies:",t.toString(c),"used by",t.toString(d),"could not be resolved."),i._warned=!0),g.name});for(var l=0;l<o[u].length;l+=1)t.dependencies(o[u][l],o);return o}},t.dependencyParse=function(i){if(r.isString(i)){var o=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-]+)?))?$/;return o.test(i)||r.warn("Plugin.dependencyParse:",i,"is not a valid dependency string."),{name:i.split("@")[0],range:i.split("@")[1]||"*"}}return{name:i.name,range:i.range||i.version}},t.versionParse=function(i){var o=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-]+)?$/;o.test(i)||r.warn("Plugin.versionParse:",i,"is not a valid version or range.");var d=o.exec(i),u=Number(d[4]),l=Number(d[5]),c=Number(d[6]);return{isRange:Boolean(d[1]||d[2]),version:d[3],range:i,operator:d[1]||d[2]||"",major:u,minor:l,patch:c,parts:[u,l,c],prerelease:d[7],number:u*1e8+l*1e4+c}},t.versionSatisfies=function(i,o){o=o||"*";var d=t.versionParse(o),u=t.versionParse(i);if(d.isRange){if(d.operator==="*"||i==="*")return!0;if(d.operator===">")return u.number>d.number;if(d.operator===">=")return u.number>=d.number;if(d.operator==="~")return u.major===d.major&&u.minor===d.minor&&u.patch>=d.patch;if(d.operator==="^")return d.major>0?u.major===d.major&&u.number>=d.number:d.minor>0?u.minor===d.minor&&u.patch>=d.patch:u.patch===d.patch}return i===o||i==="*"}})()},function(s,n,a){var t={};s.exports=t;var r=a(0),i=a(5),o=a(1),d=a(4),u=a(2),l=a(12);(function(){var c,g;typeof window!="undefined"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(b){window.setTimeout(function(){b(r.now())},1e3/60)},g=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),t._goodFps=30,t._goodDelta=1e3/60,t.create=function(b){var S={controller:t,engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!b.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBroadphase:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},E=r.extend(S,b);return E.canvas&&(E.canvas.width=E.options.width||E.canvas.width,E.canvas.height=E.options.height||E.canvas.height),E.mouse=b.mouse,E.engine=b.engine,E.canvas=E.canvas||p(E.options.width,E.options.height),E.context=E.canvas.getContext("2d"),E.textures={},E.bounds=E.bounds||{min:{x:0,y:0},max:{x:E.canvas.width,y:E.canvas.height}},E.options.pixelRatio!==1&&t.setPixelRatio(E,E.options.pixelRatio),r.isElement(E.element)?E.element.appendChild(E.canvas):E.canvas.parentNode||r.log("Render.create: options.element was undefined, render.canvas was created but not appended","warn"),E},t.run=function(b){(function S(E){b.frameRequestId=c(S),v(b,E),t.world(b,E),(b.options.showStats||b.options.showDebug)&&t.stats(b,b.context,E),(b.options.showPerformance||b.options.showDebug)&&t.performance(b,b.context,E)})()},t.stop=function(b){g(b.frameRequestId)},t.setPixelRatio=function(b,S){var E=b.options,A=b.canvas;S==="auto"&&(S=m(A)),E.pixelRatio=S,A.setAttribute("data-pixel-ratio",S),A.width=E.width*S,A.height=E.height*S,A.style.width=E.width+"px",A.style.height=E.height+"px"},t.lookAt=function(b,S,E,A){A=typeof A!="undefined"?A:!0,S=r.isArray(S)?S:[S],E=E||{x:0,y:0};for(var T={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},I=0;I<S.length;I+=1){var R=S[I],j=R.bounds?R.bounds.min:R.min||R.position||R,x=R.bounds?R.bounds.max:R.max||R.position||R;j&&x&&(j.x<T.min.x&&(T.min.x=j.x),x.x>T.max.x&&(T.max.x=x.x),j.y<T.min.y&&(T.min.y=j.y),x.y>T.max.y&&(T.max.y=x.y))}var L=T.max.x-T.min.x+2*E.x,H=T.max.y-T.min.y+2*E.y,G=b.canvas.height,X=b.canvas.width,K=X/G,J=L/H,z=1,k=1;J>K?k=J/K:z=K/J,b.options.hasBounds=!0,b.bounds.min.x=T.min.x,b.bounds.max.x=T.min.x+L*z,b.bounds.min.y=T.min.y,b.bounds.max.y=T.min.y+H*k,A&&(b.bounds.min.x+=L*.5-L*z*.5,b.bounds.max.x+=L*.5-L*z*.5,b.bounds.min.y+=H*.5-H*k*.5,b.bounds.max.y+=H*.5-H*k*.5),b.bounds.min.x-=E.x,b.bounds.max.x-=E.x,b.bounds.min.y-=E.y,b.bounds.max.y-=E.y,b.mouse&&(l.setScale(b.mouse,{x:(b.bounds.max.x-b.bounds.min.x)/b.canvas.width,y:(b.bounds.max.y-b.bounds.min.y)/b.canvas.height}),l.setOffset(b.mouse,b.bounds.min))},t.startViewTransform=function(b){var S=b.bounds.max.x-b.bounds.min.x,E=b.bounds.max.y-b.bounds.min.y,A=S/b.options.width,T=E/b.options.height;b.context.setTransform(b.options.pixelRatio/A,0,0,b.options.pixelRatio/T,0,0),b.context.translate(-b.bounds.min.x,-b.boun
45ds.min.y)},t.endViewTransform=function(b){b.context.setTransform(b.options.pixelRatio,0,0,b.options.pixelRatio,0,0)},t.world=function(b,S){var E=r.now(),A=b.engine,T=A.world,I=b.canvas,R=b.context,j=b.options,x=b.timing,L=i.allBodies(T),H=i.allConstraints(T),G=j.wireframes?j.wireframeBackground:j.background,X=[],K=[],J,z={timestamp:A.timing.timestamp};if(d.trigger(b,"beforeRender",z),b.currentBackground!==G&&_(b,G),R.globalCompositeOperation="source-in",R.fillStyle="transparent",R.fillRect(0,0,I.width,I.height),R.globalCompositeOperation="source-over",j.hasBounds){for(J=0;J<L.length;J++){var k=L[J];o.overlaps(k.bounds,b.bounds)&&X.push(k)}for(J=0;J<H.length;J++){var F=H[J],q=F.bodyA,N=F.bodyB,M=F.pointA,U=F.pointB;q&&(M=u.add(q.position,F.pointA)),N&&(U=u.add(N.position,F.pointB)),!(!M||!U)&&(o.contains(b.bounds,M)||o.contains(b.bounds,U))&&K.push(F)}t.startViewTransform(b),b.mouse&&(l.setScale(b.mouse,{x:(b.bounds.max.x-b.bounds.min.x)/b.options.width,y:(b.bounds.max.y-b.bounds.min.y)/b.options.height}),l.setOffset(b.mouse,b.bounds.min))}else K=H,X=L,b.options.pixelRatio!==1&&b.context.setTransform(b.options.pixelRatio,0,0,b.options.pixelRatio,0,0);!j.wireframes||A.enableSleeping&&j.showSleeping?t.bodies(b,X,R):(j.showConvexHulls&&t.bodyConvexHulls(b,X,R),t.bodyWireframes(b,X,R)),j.showBounds&&t.bodyBounds(b,X,R),(j.showAxes||j.showAngleIndicator)&&t.bodyAxes(b,X,R),j.showPositions&&t.bodyPositions(b,X,R),j.showVelocity&&t.bodyVelocity(b,X,R),j.showIds&&t.bodyIds(b,X,R),j.showSeparations&&t.separations(b,A.pairs.list,R),j.showCollisions&&t.collisions(b,A.pairs.list,R),j.showVertexNumbers&&t.vertexNumbers(b,X,R),j.showMousePosition&&t.mousePosition(b,b.mouse,R),t.constraints(K,R),j.showBroadphase&&t.grid(b,A.grid,R),j.hasBounds&&t.endViewTransform(b),d.trigger(b,"afterRender",z),x.lastElapsed=r.now()-E},t.stats=function(b,S,E){for(var A=b.engine,T=A.world,I=i.allBodies(T),R=0,j=55,x=44,L=0,H=0,G=0;G<I.length;G+=1)R+=I[G].parts.length;var X={Part:R,Body:I.length,Cons:i.allConstraints(T).length,Comp:i.allComposites(T).length,Pair:A.pairs.list.length};S.fillStyle="#0e0f19",S.fillRect(L,H,j*5.5,x),S.font="12px Arial",S.textBaseline="top",S.textAlign="right";for(var K in X){var J=X[K];S.fillStyle="#aaa",S.fillText(K,L+j,H+8),S.fillStyle="#eee",S.fillText(J,L+j,H+26),L+=j}},t.performance=function(b,S){var E=b.engine,A=b.timing,T=A.deltaHistory,I=A.elapsedHistory,R=A.timestampElapsedHistory,j=A.engineDeltaHistory,x=A.engineElapsedHistory,L=E.timing.lastDelta,H=h(T),G=h(I),X=h(j),K=h(x),J=h(R),z=J/H||0,k=1e3/H||0,F=4,q=12,N=60,M=34,U=10,Q=69;S.fillStyle="#0e0f19",S.fillRect(0,50,q*4+N*5+22,M),t.status(S,U,Q,N,F,T.length,Math.round(k)+" fps",k/t._goodFps,function($){return T[$]/H-1}),t.status(S,U+q+N,Q,N,F,j.length,L.toFixed(2)+" dt",t._goodDelta/L,function($){return j[$]/X-1}),t.status(S,U+(q+N)*2,Q,N,F,x.length,K.toFixed(2)+" ut",1-K/t._goodFps,function($){return x[$]/K-1}),t.status(S,U+(q+N)*3,Q,N,F,I.length,G.toFixed(2)+" rt",1-G/t._goodFps,function($){return I[$]/G-1}),t.status(S,U+(q+N)*4,Q,N,F,R.length,z.toFixed(2)+" x",z*z*z,function($){return(R[$]/T[$]/z||0)-1})},t.status=function(b,S,E,A,T,I,R,j,x){b.strokeStyle="#888",b.fillStyle="#444",b.lineWidth=1,b.fillRect(S,E+7,A,1),b.beginPath(),b.moveTo(S,E+7-T*r.clamp(.4*x(0),-2,2));for(var L=0;L<A;L+=1)b.lineTo(S+L,E+7-(L<I?T*r.clamp(.4*x(L),-2,2):0));b.stroke(),b.fillStyle="hsl("+r.clamp(25+95*j,0,120)+",100%,60%)",b.fillRect(S,E-7,4,4),b.font="12px Arial",b.textBaseline="middle",b.textAlign="right",b.fillStyle="#eee",b.fillText(R,S+A,E-5)},t.constraints=function(b,S){for(var E=S,A=0;A<b.length;A++){var T=b[A];if(!(!T.render.visible||!T.pointA||!T.pointB)){var I=T.bodyA,R=T.bodyB,j,x;if(I?j=u.add(I.position,T.pointA):j=T.pointA,T.render.type==="pin")E.beginPath(),E.arc(j.x,j.y,3,0,2*Math.PI),E.closePath();else{if(R?x=u.add(R.position,T.pointB):x=T.pointB,E.beginPath(),E.moveTo(j.x,j.y),T.render.type==="spring")for(var L=u.sub(x,j),H=u.perp(u.normalise(L)),G=Math.ceil(r.clamp(T.length/5,12,20)),X,K=1;K<G;K+=1)X=K%2==0?1:-1,E.lineTo(j.x+L.x*(K/G)+H.x*X*4,j.y+L.y*(K/G)+H.y*X*4);E.lineTo(x.x,x.y)}T.render.lineWidth&&(E.lineWidth=T.render.lineWidth,E.strokeStyle=T.render.strokeStyle,E.stroke()),T.render.anchors&&(E.fillStyle=T.render.strokeStyle,E.beginPath(),E.arc(j.x,j.y,3,0,2*Math.PI),E.arc(x.x,x.y,3,0,2*Math.PI),E.closePath(),E.fill())}}},t.bodies=function(b,S,E){var A=E,T=b.engine,I=b.options,R=I.showInternalEdges||!I.wireframes,j,x,L,H;for(L=0;L<S.length;L++)if(j=S[L],!!j.render.visible){for(H=j.parts.length>1?1:0;H<j.parts.length;H++)if(x=j.parts[H],!!x.render.visible){if(I.showSleeping&&j.isSleeping?A.globalAlpha=.5*x.render.opacity:x.render.opacity!==1&&(A.globalAlpha=x.render.opacity),x.render.sprite&&x.render.sprite.texture&&!I.wireframes){var G=x.render.sprite,X=P(b,G.texture);A.translate(x.position.x,x.position.y),A.rotate(x.angle),A.drawImage(X,X.width*-G.xOffset*G.xScale,X.height*-G.yOffset*G.yScale,X.width*G.xScale,X.height*G.yScale),A.rotate(-x.angle),A.translate(-x.position.x,-x.position.y)}else{if(x.circleRadius)A.beginPath(),A.arc(x.position.x,x.position.y,x.circleRadius,0,2*Math.PI);else{A.beginPath(),A.moveTo(x.vertices[0].x,x.vertices[0].y);for(var K=1;K<x.vertices.length;K++)!x.vertices[K-1].isInternal||R?A.lineTo(x.vertices[K].x,x.vertices[K].y):A.moveTo(x.vertices[K].x,x.vertices[K].y),x.vertices[K].isInternal&&!R&&A.moveTo(x.vertices[(K+1)%x.vertices.length].x,x.vertices[(K+1)%x.vertices.length].y);A.lineTo(x.vertices[0].x,x.vertices[0].y),A.closePath()}I.wireframes?(A.lineWidth=1,A.strokeStyle="#bbb",A.stroke()):(A.fillStyle=x.render.fillStyle,x.render.lineWidth&&(A.lineWidth=x.render.lineWidth,A.strokeStyle=x.render.strokeStyle,A.stroke()),A.fill())}A.globalAlpha=1}}},t.bodyWireframes=function(b,S,E){var A=E,T=b.options.showInternalEdges,I,R,j,x,L;for(A.beginPath(),j=0;j<S.length;j++)if(I=S[j],!!I.render.visible)for(L=I.parts.length>1?1:0;L<I.parts.length;L++){for(R=I.parts[L],A.moveTo(R.vertices[0].x,R.vertices[0].y),x=1;x<R.vertices.length;x++)!R.vertices[x-1].isInternal||T?A.lineTo(R.vertices[x].x,R.vertices[x].y):A.moveTo(R.vertices[x].x,R.vertices[x].y),R.vertices[x].isInternal&&!T&&A.moveTo(R.vertices[(x+1)%R.vertices.length].x,R.vertices[(x+1)%R.vertices.length].y);A.lineTo(R.vertices[0].x,R.vertices[0].y)}A.lineWidth=1,A.strokeStyle="#bbb",A.stroke()},t.bodyConvexHulls=function(b,S,E){var A=E,T,I,R,j,x;for(A.beginPath(),R=0;R<S.length;R++)if(T=S[R],!(!T.render.visible||T.parts.length===1)){for(A.moveTo(T.vertices[0].x,T.vertices[0].y),j=1;j<T.vertices.length;j++)A.lineTo(T.vertices[j].x,T.vertices[j].y);A.lineTo(T.vertices[0].x,T.vertices[0].y)}A.lineWidth=1,A.strokeStyle="rgba(255,255,255,0.2)",A.stroke()},t.vertexNumbers=function(b,S,E){var A=E,T,I,R;for(T=0;T<S.length;T++){var j=S[T].parts;for(R=j.length>1?1:0;R<j.length;R++){var x=j[R];for(I=0;I<x.vertices.length;I++)A.fillStyle="rgba(255,255,255,0.2)",A.fillText(T+"_"+I,x.position.x+(x.vertices[I].x-x.position.x)*.8,x.position.y+(x.vertices[I].y-x.position.y)*.8)}}},t.mousePosition=function(b,S,E){var A=E;A.fillStyle="rgba(255,255,255,0.8)",A.fillText(S.position.x+"  "+S.position.y,S.position.x+5,S.position.y-5)},t.bodyBounds=function(b,S,E){var A=E,T=b.engine,I=b.options;A.beginPath();for(var R=0;R<S.length;R++){var j=S[R];if(j.render.visible)for(var x=S[R].parts,L=x.length>1?1:0;L<x.length;L++){var H=x[L];A.rect(H.bounds.min.x,H.bounds.min.y,H.bounds.max.x-H.bounds.min.x,H.bounds.max.y-H.bounds.min.y)}}I.wireframes?A.strokeStyle="rgba(255,255,255,0.08)":A.strokeStyle="rgba(0,0,0,0.1)",A.lineWidth=1,A.stroke()},t.bodyAxes=function(b,S,E){var A=E,T=b.engine,I=b.options,R,j,x,L;for(A.beginPath(),j=0;j<S.length;j++){var H=S[j],G=H.parts;if(!!H.render.visible)if(I.showAxes)for(x=G.length>1?1:0;x<G.length;x++)for(R=G[x],L=0;L<R.axes.length;L++){var X=R.axes[L];A.moveTo(R.position.x,R.position.y),A.lineTo(R.position.x+X.x*20,R.position.y+X.y*20)}else for(x=G.length>1?1:0;x<G.length;x++)for(R=G[x],L=0;L<R.axes.length;L++)A.moveTo(R.position.x,R.position.y),A.lineTo((R.vertices[0].x+R.vertices[R.vertices.length-1].x)/2,(R.vertices[0].y+R.vertices[R.vertices.length-1].y)/2)}I.wireframes?(A.strokeStyle="indianred",A.lineWidth=1):(A.strokeStyle="rgba(255, 255, 255, 0.4)",A.globalCompositeOperation="overlay",A.lineWidth=2),A.stroke(),A.globalCompositeOperation="source-over"},t.bodyPositions=function(b,S,E){var A=E,T=b.engine,I=b.options,R,j,x,L;for(A.beginPath(),x=0;x<S.length;x++)if(R=S[x],!!R.render.visible)for(L=0;L<R.parts.length;L++)j=R.parts[L],A.arc(j.position.x,j.position.y,3,0,2*Math.PI,!1),A.closePath();for(I.wireframes?A.fillStyle="indianred":A.fillStyle="rgba(0,0,0,0.5)",A.fill(),A.beginPath(),x=0;x<S.length;x++)R=S[x],R.render.visible&&(A.arc(R.positionPrev.x,R.positionPrev.y,2,0,2*Math.PI,!1),A.closePath());A.fillStyle="rgba(255,165,0,0.8)",A.fill()},t.bodyVelocity=function(b,S,E){var A=E;A.beginPath();for(var T=0;T<S.length;T++){var I=S[T];!I.render.visible||(A.moveTo(I.position.x,I.position.y),A.lineTo(I.position.x+(I.position.x-I.positionPrev.x)*2,I.position.y+(I.position.y-I.positionPrev.y)*2))}A.lineWidth=3,A.strokeStyle="cornflowerblue",A.stroke()},t.bodyIds=function(b,S,E){var A=E,T,I;for(T=0;T<S.length;T++)if(!!S[T].render.visible){var R=S[T].parts;for(I=R.length>1?1:0;I<R.length;I++){var j=R[I];A.font="12px Arial",A.fillStyle="rgba(255,255,255,0.5)",A.fillText(j.id,j.position.x+10,j.position.y-10)}}},t.collisions=function(b,S,E){var A=E,T=b.options,I,R,j,x,L,H,G;for(A.beginPath(),H=0;H<S.length;H++)if(I=S[H],!!I.isActive)for(R=I.collision,G=0;G<I.activeContacts.length;G++){var X=I.activeContacts[G],K=X.vertex;
45A.rect(K.x-1.5,K.y-1.5,3.5,3.5)}for(T.wireframes?A.fillStyle="rgba(255,255,255,0.7)":A.fillStyle="orange",A.fill(),A.beginPath(),H=0;H<S.length;H++)if(I=S[H],!!I.isActive&&(R=I.collision,I.activeContacts.length>0)){var J=I.activeContacts[0].vertex.x,z=I.activeContacts[0].vertex.y;I.activeContacts.length===2&&(J=(I.activeContacts[0].vertex.x+I.activeContacts[1].vertex.x)/2,z=(I.activeContacts[0].vertex.y+I.activeContacts[1].vertex.y)/2),R.bodyB===R.supports[0].body||R.bodyA.isStatic===!0?A.moveTo(J-R.normal.x*8,z-R.normal.y*8):A.moveTo(J+R.normal.x*8,z+R.normal.y*8),A.lineTo(J,z)}T.wireframes?A.strokeStyle="rgba(255,165,0,0.7)":A.strokeStyle="orange",A.lineWidth=1,A.stroke()},t.separations=function(b,S,E){var A=E,T=b.options,I,R,j,x,L,H,G;for(A.beginPath(),H=0;H<S.length;H++)if(I=S[H],!!I.isActive){R=I.collision,x=R.bodyA,L=R.bodyB;var X=1;!L.isStatic&&!x.isStatic&&(X=.5),L.isStatic&&(X=0),A.moveTo(L.position.x,L.position.y),A.lineTo(L.position.x-R.penetration.x*X,L.position.y-R.penetration.y*X),X=1,!L.isStatic&&!x.isStatic&&(X=.5),x.isStatic&&(X=0),A.moveTo(x.position.x,x.position.y),A.lineTo(x.position.x+R.penetration.x*X,x.position.y+R.penetration.y*X)}T.wireframes?A.strokeStyle="rgba(255,165,0,0.5)":A.strokeStyle="orange",A.stroke()},t.grid=function(b,S,E){var A=E,T=b.options;T.wireframes?A.strokeStyle="rgba(255,180,0,0.1)":A.strokeStyle="rgba(255,180,0,0.5)",A.beginPath();for(var I=r.keys(S.buckets),R=0;R<I.length;R++){var j=I[R];if(!(S.buckets[j].length<2)){var x=j.split(/C|R/);A.rect(.5+parseInt(x[1],10)*S.bucketWidth,.5+parseInt(x[2],10)*S.bucketHeight,S.bucketWidth,S.bucketHeight)}}A.lineWidth=1,A.stroke()},t.inspector=function(b,S){var E=b.engine,A=b.selected,T=b.render,I=T.options,R;if(I.hasBounds){var j=T.bounds.max.x-T.bounds.min.x,x=T.bounds.max.y-T.bounds.min.y,L=j/T.options.width,H=x/T.options.height;S.scale(1/L,1/H),S.translate(-T.bounds.min.x,-T.bounds.min.y)}for(var G=0;G<A.length;G++){var X=A[G].data;switch(S.translate(.5,.5),S.lineWidth=1,S.strokeStyle="rgba(255,165,0,0.9)",S.setLineDash([1,2]),X.type){case"body":R=X.bounds,S.beginPath(),S.rect(Math.floor(R.min.x-3),Math.floor(R.min.y-3),Math.floor(R.max.x-R.min.x+6),Math.floor(R.max.y-R.min.y+6)),S.closePath(),S.stroke();break;case"constraint":var K=X.pointA;X.bodyA&&(K=X.pointB),S.beginPath(),S.arc(K.x,K.y,10,0,2*Math.PI),S.closePath(),S.stroke();break}S.setLineDash([]),S.translate(-.5,-.5)}b.selectStart!==null&&(S.translate(.5,.5),S.lineWidth=1,S.strokeStyle="rgba(255,165,0,0.6)",S.fillStyle="rgba(255,165,0,0.1)",R=b.selectBounds,S.beginPath(),S.rect(Math.floor(R.min.x),Math.floor(R.min.y),Math.floor(R.max.x-R.min.x),Math.floor(R.max.y-R.min.y)),S.closePath(),S.stroke(),S.fill(),S.translate(-.5,-.5)),I.hasBounds&&S.setTransform(1,0,0,1,0,0)};var v=function(b,S){var E=b.engine,A=b.timing,T=A.historySize,I=E.timing.timestamp;A.delta=S-A.lastTime||t._goodDelta,A.lastTime=S,A.timestampElapsed=I-A.lastTimestamp||0,A.lastTimestamp=I,A.deltaHistory.unshift(A.delta),A.deltaHistory.length=Math.min(A.deltaHistory.length,T),A.engineDeltaHistory.unshift(E.timing.lastDelta),A.engineDeltaHistory.length=Math.min(A.engineDeltaHistory.length,T),A.timestampElapsedHistory.unshift(A.timestampElapsed),A.timestampElapsedHistory.length=Math.min(A.timestampElapsedHistory.length,T),A.engineElapsedHistory.unshift(E.timing.lastElapsed),A.engineElapsedHistory.length=Math.min(A.engineElapsedHistory.length,T),A.elapsedHistory.unshift(A.lastElapsed),A.elapsedHistory.length=Math.min(A.elapsedHistory.length,T)},h=function(b){for(var S=0,E=0;E<b.length;E+=1)S+=b[E];return S/b.length||0},p=function(b,S){var E=document.createElement("canvas");return E.width=b,E.height=S,E.oncontextmenu=function(){return!1},E.onselectstart=function(){return!1},E},m=function(b){var S=b.getContext("2d"),E=window.devicePixelRatio||1,A=S.webkitBackingStorePixelRatio||S.mozBackingStorePixelRatio||S.msBackingStorePixelRatio||S.oBackingStorePixelRatio||S.backingStorePixelRatio||1;return E/A},P=function(b,S){var E=b.textures[S];return E||(E=b.textures[S]=new Image,E.src=S,E)},_=function(b,S){var E=S;/(jpg|gif|png)$/.test(S)&&(E="url("+S+")"),b.canvas.style.background=E,b.canvas.style.backgroundSize="contain",b.currentBackgroun
45d=S}})()},function(s,n){var a={};s.exports=a,function(){a.create=function(t){return{id:a.id(t),vertex:t,normalImpulse:0,tangentImpulse:0}},a.id=function(t){return t.body.id+"_"+t.index}}()},function(s,n,a){var t={};s.exports=t;var r=a(7),i=a(19),o=a(13),d=a(20),u=a(21),l=a(4),c=a(5),g=a(8),v=a(0),h=a(6);(function(){t.create=function(p){p=p||{};var m={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},grid:null,gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},P=v.extend(m,p);return P.world=p.world||c.create({label:"World"}),P.grid=u.create(p.grid||p.broadphase),P.pairs=d.create(),P.world.gravity=P.gravity,P.broadphase=P.grid,P.metrics={},P},t.update=function(p,m,P){var _=v.now();m=m||1e3/60,P=P||1;var b=p.world,S=p.timing,E=p.grid,A=[],T;S.timestamp+=m*S.timeScale,S.lastDelta=m*S.timeScale;var I={timestamp:S.timestamp};l.trigger(p,"beforeUpdate",I);var R=c.allBodies(b),j=c.allConstraints(b);for(p.enableSleeping&&r.update(R,S.timeScale),t._bodiesApplyGravity(R,p.gravity),t._bodiesUpdate(R,m,S.timeScale,P,b.bounds),g.preSolveAll(R),T=0;T<p.constraintIterations;T++)g.solveAll(j,S.timeScale);g.postSolveAll(R),b.isModified&&u.clear(E),u.update(E,R,p,b.isModified),A=E.pairsList,b.isModified&&c.setModified(b,!1,!1,!0);var x=o.collisions(A,p),L=p.pairs,H=S.timestamp;for(d.update(L,x,H),d.removeOld(L,H),p.enableSleeping&&r.afterCollisions(L.list,S.timeScale),L.collisionStart.length>0&&l.trigger(p,"collisionStart",{pairs:L.collisionStart}),i.preSolvePosition(L.list),T=0;T<p.positionIterations;T++)i.solvePosition(L.list,S.timeScale);for(i.postSolvePosition(R),g.preSolveAll(R),T=0;T<p.constraintIterations;T++)g.solveAll(j,S.timeScale);for(g.postSolveAll(R),i.preSolveVelocity(L.list),T=0;T<p.velocityIterations;T++)i.solveVelocity(L.list,S.timeScale);return L.collisionActive.length>0&&l.trigger(p,"collisionActive",{pairs:L.collisionActive}),L.collisionEnd.length>0&&l.trigger(p,"collisionEnd",{pairs:L.collisionEnd}),t._bodiesClearForces(R),l.trigger(p,"afterUpdate",I),p.timing.lastElapsed=v.now()-_,p},t.merge=function(p,m){if(v.extend(p,m),m.world){p.world=m.world,t.clear(p);for(var P=c.allBodies(p.world),_=0;_<P.length;_++){var b=P[_];r.set(b,!1),b.id=v.nextId()}}},t.clear=function(p){var m=p.world,P=c.allBodies(m);d.clear(p.pairs),u.clear(p.grid),u.update(p.grid,P,p,!0)},t._bodiesClearForces=function(p){for(var m=0;m<p.length;m++){var P=p[m];P.force.x=0,P.force.y=0,P.torque=0}},t._bodiesApplyGravity=function(p,m){var P=typeof m.scale!="undefined"?m.scale:.001;if(!(m.x===0&&m.y===0||P===0))for(var _=0;_<p.length;_++){var b=p[_];b.isStatic||b.isSleeping||(b.force.y+=b.mass*m.y*P,b.force.x+=b.mass*m.x*P)}},t._bodiesUpdate=function(p,m,P,_,b){for(var S=0;S<p.length;S++){var E=p[S];E.isStatic||E.isSleeping||h.update(E,m,P,_)}}})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(2),o=a(0),d=a(1);(function(){t._restingThresh=4,t._restingThreshTangent=6,t._positionDampen=.9,t._positionWarming=.8,t._frictionNormalMultiplier=5,t.preSolvePosition=function(u){var l,c,g;for(l=0;l<u.length;l++)c=u[l],!!c.isActive&&(g=c.activeContacts.length,c.collision.parentA.totalContacts+=g,c.collision.parentB.totalContacts+=g)},t.solvePosition=function(u,l){var c,g,v,h,p,m,P,_,b,S={},E=i._temp[0],A=i._temp[1],T=i._temp[2],I=i._temp[3];for(c=0;c<u.length;c++)g=u[c],!(!g.isActive||g.isSensor)&&(v=g.collision,h=v.parentA,p=v.parentB,m=v.normal,P=i.sub(i.add(p.positionImpulse,p.position,E),i.add(h.positionImpulse,i.sub(p.position,v.penetration,A),T),I),g.separation=i.dot(m,P));for(c=0;c<u.length;c++)g=u[c],!(!g.isActive||g.isSensor)&&(v=g.collision,h=v.parentA,p=v.parentB,m=v.normal,b=(g.separation-g.slop)*l,(h.isStatic||p.isStatic)&&(b*=2),h.isStatic||h.isSleeping||(_=t._positionDampen/h.totalContacts,h.positionImpulse.x+=m.x*b*_,h.positionImpulse.y+=m.y*b*_),p.isStatic||p.isSleeping||(_=t._positionDampen/p.totalContacts,p.positionImpulse.x-=m.x*b*_,p.positionImpulse.y-=m.y*b*_))},t.postSolvePosition=function(u){for(var l=0;l<u.length;l++){var c=u[l];if(c.totalContacts=0,c.positionImpulse.x!==0||c.positionImpulse.y!==0){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];r.translate(v.vertices,c.positionImpulse),d.update(v.bounds,v.vertices,c.velocity),v.position.x+=c.positionImpulse.x,v.position.y+=c.positionImpulse.y}c.positionPrev.x+=c.positionImpulse.x,c.positionPrev.y+=c.positionImpulse.y,i.dot(c.positionImpulse,c.velocity)<0?(c.positionImpulse.x=0,c.positionImpulse.y=0):(c.positionImpulse.x*=t._positionWarming,c.positionImpulse.y*=t._positionWarming)}}},t.preSolveVelocity=function(u){var l,c,g,v,h,p,m,P,_,b,S,E,A,T,I=i._temp[0],R=i._temp[1];for(l=0;l<u.length;l++)if(g=u[l],!(!g.isActive||g.isSensor))for(v=g.activeContacts,h=g.collision,p=h.parentA,m=h.parentB,P=h.normal,_=h.tangent,c=0;c<v.length;c++)b=v[c],S=b.vertex,E=b.normalImpulse,A=b.tangentImpulse,(E!==0||A!==0)&&(I.x=P.x*E+_.x*A,I.y=P.y*E+_.y*A,p.isStatic||p.isSleeping||(T=i.sub(S,p.position,R),p.positionPrev.x+=I.x*p.inverseMass,p.positionPrev.y+=I.y*p.inverseMass,p.anglePrev+=i.cross(T,I)*p.inverseInertia),m.isStatic||m.
45isSleeping||(T=i.sub(S,m.position,R),m.positionPrev.x-=I.x*m.inverseMass,m.positionPrev.y-=I.y*m.inverseMass,m.anglePrev-=i.cross(T,I)*m.inverseInertia))},t.solveVelocity=function(u,l){for(var c=l*l,g=i._temp[0],v=i._temp[1],h=i._temp[2],p=i._temp[3],m=i._temp[4],P=i._temp[5],_=0;_<u.length;_++){var b=u[_];if(!(!b.isActive||b.isSensor)){var S=b.collision,E=S.parentA,A=S.parentB,T=S.normal,I=S.tangent,R=b.activeContacts,j=1/R.length;E.velocity.x=E.position.x-E.positionPrev.x,E.velocity.y=E.position.y-E.positionPrev.y,A.velocity.x=A.position.x-A.positionPrev.x,A.velocity.y=A.position.y-A.positionPrev.y,E.angularVelocity=E.angle-E.anglePrev,A.angularVelocity=A.angle-A.anglePrev;for(var x=0;x<R.length;x++){var L=R[x],H=L.vertex,G=i.sub(H,E.position,v),X=i.sub(H,A.position,h),K=i.add(E.velocity,i.mult(i.perp(G),E.angularVelocity),p),J=i.add(A.velocity,i.mult(i.perp(X),A.angularVelocity),m),z=i.sub(K,J,P),k=i.dot(T,z),F=i.dot(I,z),q=Math.abs(F),N=o.sign(F),M=(1+b.restitution)*k,U=o.clamp(b.separation+k,0,1)*t._frictionNormalMultiplier,Q=F,$=1/0;q>b.friction*b.frictionStatic*U*c&&($=q,Q=o.clamp(b.friction*N*c,-$,$));var ee=i.cross(G,T),oe=i.cross(X,T),pe=j/(E.inverseMass+A.inverseMass+E.inverseInertia*ee*ee+A.inverseInertia*oe*oe);if(M*=pe,Q*=pe,k<0&&k*k>t._restingThresh*c)L.normalImpulse=0;else{var me=L.normalImpulse;L.normalImpulse=Math.min(L.normalImpulse+M,0),M=L.normalImpulse-me}if(F*F>t._restingThreshTangent*c)L.tangentImpulse=0;else{var Se=L.tangentImpulse;L.tangentImpulse=o.clamp(L.tangentImpulse+Q,-$,$),Q=L.tangentImpulse-Se}g.x=T.x*M+I.x*Q,g.y=T.y*M+I.y*Q,E.isStatic||E.isSleeping||(E.positionPrev.x+=g.x*E.inverseMass,E.positionPrev.y+=g.y*E.inverseMass,E.anglePrev+=i.cross(G,g)*E.inverseInertia),A.isStatic||A.isSleeping||(A.positionPrev.x-=g.x*A.inverseMass,A.positionPrev.y-=g.y*A.inverseMass,A.anglePrev-=i.cross(X,g)*A.inverseInertia)}}}}})()},function(s,n,a){var t={};s.exports=t;var r=a(9),i=a(0);(function(){t._pairMaxIdleLife=1e3,t.create=function(o){return i.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},o)},t.update=function(o,d,u){var l=o.list,c=o.table,g=o.collisionStart,v=o.collisionEnd,h=o.collisionActive,p,m,P,_;for(g.length=0,v.length=0,h.length=0,_=0;_<l.length;_++)l[_].confirmedActive=!1;for(_=0;_<d.length;_++)p=d[_],p.collided&&(m=r.id(p.bodyA,p.bodyB),P=c[m],P?(P.isActive?h.push(P):g.push(P),r.update(P,p,u),P.confirmedActive=!0):(P=r.create(p,u),c[m]=P,g.push(P),l.push(P)));for(_=0;_<l.length;_++)P=l[_],P.isActive&&!P.confirmedActive&&(r.setActive(P,!1,u),v.push(P))},t.removeOld=function(o,d){var u=o.list,l=o.table,c=[],g,v,h,p;for(p=0;p<u.length;p++){if(g=u[p],v=g.collision,v.bodyA.isSleeping||v.bodyB.isSleeping){g.timeUpdated=d;continue}d-g.timeUpdated>t._pairMaxIdleLife&&c.push(p)}for(p=0;p<c.length;p++)h=c[p]-p,g=u[h],delete l[g.id],u.splice(h,1)},t.clear=function(o){return o.table={},o.list.length=0,o.collisionStart.length=0,o.collisionActive.length=0,o.collisionEnd.length=0,o}})()},function(s,n,a){var t={};s.exports=t;var r=a(9),i=a(0);(function(){t.create=function(o){var d={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return i.extend(d,o)},t.update=function(o,d,u,l){var c,g,v,h=u.world,p=o.buckets,m,P,_=!1;for(c=0;c<d.length;c++){var b=d[c];if(!(b.isSleeping&&!l)&&!(h.bounds&&(b.bounds.max.x<h.bounds.min.x||b.bounds.min.x>h.bounds.max.x||b.bounds.max.y<h.bounds.min.y||b.bounds.min.y>h.bounds.max.y))){var S=t._getRegion(o,b);if(!b.region||S.id!==b.region.id||l){(!b.region||l)&&(b.region=S);var E=t._regionUnion(S,b.region);for(g=E.startCol;g<=E.endCol;g++)for(v=E.startRow;v<=E.endRow;v++){P=t._getBucketId(g,v),m=p[P];var A=g>=S.startCol&&g<=S.endCol&&v>=S.startRow&&v<=S.endRow,T=g>=b.region.startCol&&g<=b.region.endCol&&v>=b.region.startRow&&v<=b.region.endRow;!A&&T&&T&&m&&t._bucketRemoveBody(o,m,b),(b.region===S||A&&!T||l)&&(m||(m=t._createBucket(p,P)),t._bucketAddBody(o,m,b))}b.region=S,_=!0}}}_&&(o.pairsList=t._createActivePairsList(o))},t.clear=function(o){o.buckets={},o.pairs={},o.pairsList=[]},t._regionUnion=function(o,d){var u=Math.min(o.startCol,d.startCol),l=Math.max(o.endCol,d.endCol),c=Math.min(o.startRow,d.startRow),g=Math.max(o.endRow,d.endRow);return t._createRegion(u,l,c,g)},t._getRegion=function(o,d){var u=d.bounds,l=Math.floor(u.min.x/o.bucketWidth),c=Math.floor(u.max.x/o.bucketWidth),g=Math.floor(u.min.y/o.bucketHeight),v=Math.floor(u.max.y/o.bucketHeight);return t._createRegion(l,c,g,v)},t._createRegion=function(o,d,u,l){return{id:o+","+d+","+u+","+l,startCol:o,endCol:d,startRow:u,endRow:l}},t._getBucketId=function(o,d){return"C"+o+"R"+d},t._createBucket=function(o,d){var u=o[d]=[];return u},t._bucketAddBody=function(o,d,u){for(var l=0;l<d.length;l++){var c=d[l];if(!(u.id===c.id||u.isStatic&&c.isStatic)){var g=r.id(u,c),v=o.pairs[g];v?v[2]+=1:o.pairs[g]=[u,c,1]}}d.push(u)},t._bucketRemoveBody=function(o,d,u){d.splice(i.indexOf(d,u),1);for(var l=0;l<d.length;l++){var c=d[l],g=r.id(u,c),v=o.pairs[g];v&&(v[2]-=1)}},t._createActivePairsList=function(o){var d,u,l=[];d=i.keys(o.pairs);for(var c=0;c<d.length;c++)u=o.pairs[d[c]],u[2]>0?l.push(u):delete o.pairs[d[c]];return l}})()},function(s,n,a){var t=s.exports=a(23);t.Axes=a(10),t.Bodies=a(11),t.Body=a(6),t.Bounds=a(1),t.Common=a(0),t.Composite=a(5),t.Composites=a(24),t.Constraint=a(8),t.Contact=a(17),t.Detector=a(13),t.Engine=a(18),t.Events=a(4),t.Grid=a(21),t.Mouse=
45a(12),t.MouseConstraint=a(25),t.Pair=a(9),t.Pairs=a(20),t.Plugin=a(15),t.Query=a(26),t.Render=a(16),t.Resolver=a(19),t.Runner=a(27),t.SAT=a(14),t.Sleeping=a(7),t.Svg=a(28),t.Vector=a(2),t.Vertices=a(3),t.World=a(29),t.Engine.run=t.Runner.run,t.Common.deprecated(t.Engine,"run","Engine.run \u27A4 use Matter.Runner.run(engine) instead")},function(s,n,a){var t={};s.exports=t;var r=a(15),i=a(0);(function(){t.name="matter-js",t.version="0.17.1",t.uses=[],t.used=[],t.use=function(){r.use(t,Array.prototype.slice.call(arguments))},t.before=function(o,d){return o=o.replace(/^Matter./,""),i.chainPathBefore(t,o,d)},t.after=function(o,d){return o=o.replace(/^Matter./,""),i.chainPathAfter(t,o,d)}})()},function(s,n,a){var t={};s.exports=t;var r=a(5),i=a(8),o=a(0),d=a(6),u=a(11),l=o.deprecated;(function(){t.stack=function(c,g,v,h,p,m,P){for(var _=r.create({label:"Stack"}),b=c,S=g,E,A=0,T=0;T<h;T++){for(var I=0,R=0;R<v;R++){var j=P(b,S,R,T,E,A);if(j){var x=j.bounds.max.y-j.bounds.min.y,L=j.bounds.max.x-j.bounds.min.x;x>I&&(I=x),d.translate(j,{x:L*.5,y:x*.5}),b=j.bounds.max.x+p,r.addBody(_,j),E=j,A+=1}else b+=p}S+=I+m,b=c}return _},t.chain=function(c,g,v,h,p,m){for(var P=c.bodies,_=1;_<P.length;_++){var b=P[_-1],S=P[_],E=b.bounds.max.y-b.bounds.min.y,A=b.bounds.max.x-b.bounds.min.x,T=S.bounds.max.y-S.bounds.min.y,I=S.bounds.max.x-S.bounds.min.x,R={bodyA:b,pointA:{x:A*g,y:E*v},bodyB:S,pointB:{x:I*h,y:T*p}},j=o.extend(R,m);r.addConstraint(c,i.create(j))}return c.label+=" Chain",c},t.mesh=function(c,g,v,h,p){var m=c.bodies,P,_,b,S,E;for(P=0;P<v;P++){for(_=1;_<g;_++)b=m[_-1+P*g],S=m[_+P*g],r.addConstraint(c,i.create(o.extend({bodyA:b,bodyB:S},p)));if(P>0)for(_=0;_<g;_++)b=m[_+(P-1)*g],S=m[_+P*g],r.addConstraint(c,i.create(o.extend({bodyA:b,bodyB:S},p))),h&&_>0&&(E=m[_-1+(P-1)*g],r.addConstraint(c,i.create(o.extend({bodyA:E,bodyB:S},p)))),h&&_<g-1&&(E=m[_+1+(P-1)*g],r.addConstraint(c,i.create(o.extend({bodyA:E,bodyB:S},p))))}return c.label+=" Mesh",c},t.pyramid=function(c,g,v,h,p,m,P){return t.stack(c,g,v,h,p,m,function(_,b,S,E,A,T){var I=Math.min(h,Math.ceil(v/2)),R=A?A.bounds.max.x-A.bounds.min.x:0;if(!(E>I)){E=I-E;var j=E,x=v-1-E;if(!(S<j||S>x)){T===1&&d.translate(A,{x:(S+(v%2==1?1:-1))*R,y:0});var L=A?S*R:0;return P(c+L+S*p,b,S,E,A,T)}}})},t.newtonsCradle=function(c,g,v,h,p){for(var m=r.create({label:"Newtons Cradle"}),P=0;P<v;P++){var _=1.9,b=u.circle(c+P*(h*_),g+p,h,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),S=i.create({pointA:{x:c+P*(h*_),y:g},bodyB:b});r.addBody(m,b),r.addConstraint(m,S)}return m},l(t,"newtonsCradle","Composites.newtonsCradle \u27A4 moved to newtonsCradle example"),t.car=function(c,g,v,h,p){var m=d.nextGroup(!0),P=20,_=-v*.5+P,b=v*.5-P,S=0,E=r.create({label:"Car"}),A=u.rectangle(c,g,v,h,{collisionFilter:{group:m},chamfer:{radius:h*.5},density:2e-4}),T=u.circle(c+_,g+S,p,{collisionFilter:{group:m},friction:.8}),I=u.circle(c+b,g+S,p,{collisionFilter:{group:m},friction:.8}),R=i.create({bodyB:A,pointB:{x:_,y:S},bodyA:T,stiffness:1,length:0}),j=i.create({bodyB:A,pointB:{x:b,y:S},bodyA:I,stiffness:1,length:0});return r.addBody(E,A),r.addBody(E,T),r.addBody(E,I),r.addConstraint(E,R),r.addConstraint(E,j),E},l(t,"car","Composites.car \u27A4 moved to car example"),t.softBody=function(c,g,v,h,p,m,P,_,b,S){b=o.extend({inertia:1/0},b),S=o.extend({stiffness:.2,render:{type:"line",anchors:!1}},S);var E=t.stack(c,g,v,h,p,m,function(A,T){return u.circle(A,T,_,b)});return t.mesh(E,v,h,P,S),E.label="Soft Body",E},l(t,"softBody","Composites.softBody \u27A4 moved to softBody and cloth examples")})()},function(s,n,a){var t={};s.exports=t;var r=a(3),i=a(7),o=a(12),d=a(4),u=a(13),l=a(8),c=a(5),g=a(0),v=a(1);(function(){t.create=function(h,p){var m=(h?h.mouse:null)||(p?p.mouse:null);m||(h&&h.render&&h.render.canvas?m=o.create(h.render.canvas):p&&p.element?m=o.create(p.element):(m=o.create(),g.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var P=l.create({label:"Mouse Constraint",pointA:m.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),_={type:"mouseConstraint",mouse:m,element:null,body:null,constraint:P,collisionFilter:{category:1,mask:4294967295,group:0}},b=g.extend(_,p);return d.on(h,"beforeUpdate",function(){var S=c.allBodies(h.world);t.update(b,S),t._triggerEvents(b)}),b},t.update=function(h,p){var m=h.mouse,P=h.constraint,_=h.body;if(m.button===0){if(P.bodyB)i.set(P.bodyB,!1),P.pointA=m.position;else for(var b=0;b<p.length;b++)if(_=p[b],v.contains(_.bounds,m.position)&&u.canCollide(_.collisionFilter,h.collisionFilter))for(var S=_.parts.length>1?1:0;S<_.parts.length;S++){var E=_.parts[S];if(r.contains(E.vertices,m.position)){P.pointA=m.position,P.bodyB=h.body=_,P.pointB={x:m.position.x-_.position.x,y:m.position.y-_.position.y},P.angleB=_.angle,i.set(_,!1),d.trigger(h,"startdrag",{mouse:m,body:_});break}}}else P.bodyB=h.body=null,P.pointB=null,_&&d.trigger(h,"enddrag",{mouse:m,body:_})},t._triggerEvents=function(h){var p=h.mouse,m=p.sourceEvents;m.mousemove&&d.trigger(h,"mousemove",{mouse:p}),m.mousedown&&d.trigger(h,"mousedown",{mouse:p}),m.mouseup&&d.trigger(h,"mouseup",{mouse:p}),o.clearSourceEvents(p)}})()},function(s,n,a){var t={};s.exports=t;var r=a(2),i=a(14),o=a(1),d=a(11),u=a(3);(function(){t.collides=function(l,c){for(var g=[],v=0;v<c.length;v++){var h=c[v];if(o.overlaps(h.bounds,l.bounds))for(var p=h.parts.length===1?0:1;p<h.parts.length;p++){var m=h.parts[p];if(o.overlaps(m.bounds,l.bounds)){var P=i.collides(m,l);if(P.collided){g.push(P);break}}}}return g}
45,t.ray=function(l,c,g,v){v=v||1e-100;for(var h=r.angle(c,g),p=r.magnitude(r.sub(c,g)),m=(g.x+c.x)*.5,P=(g.y+c.y)*.5,_=d.rectangle(m,P,p,v,{angle:h}),b=t.collides(_,l),S=0;S<b.length;S+=1){var E=b[S];E.body=E.bodyB=E.bodyA}return b},t.region=function(l,c,g){for(var v=[],h=0;h<l.length;h++){var p=l[h],m=o.overlaps(p.bounds,c);(m&&!g||!m&&g)&&v.push(p)}return v},t.point=function(l,c){for(var g=[],v=0;v<l.length;v++){var h=l[v];if(o.contains(h.bounds,c))for(var p=h.parts.length===1?0:1;p<h.parts.length;p++){var m=h.parts[p];if(o.contains(m.bounds,c)&&u.contains(m.vertices,c)){g.push(h);break}}}return g}})()},function(s,n,a){var t={};s.exports=t;var r=a(4),i=a(18),o=a(0);(function(){var d,u;if(typeof window!="undefined"&&(d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!d){var l;d=function(c){l=setTimeout(function(){c(o.now())},1e3/60)},u=function(){clearTimeout(l)}}t.create=function(c){var g={fps:60,correction:1,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,timeScalePrev:1,frameRequestId:null,isFixed:!1,enabled:!0},v=o.extend(g,c);return v.delta=v.delta||1e3/v.fps,v.deltaMin=v.deltaMin||1e3/v.fps,v.deltaMax=v.deltaMax||1e3/(v.fps*.5),v.fps=1e3/v.delta,v},t.run=function(c,g){return typeof c.positionIterations!="undefined"&&(g=c,c=t.create()),function v(h){c.frameRequestId=d(v),h&&c.enabled&&t.tick(c,g,h)}(),c},t.tick=function(c,g,v){var h=g.timing,p=1,m,P={timestamp:h.timestamp};r.trigger(c,"beforeTick",P),c.isFixed?m=c.delta:(m=v-c.timePrev||c.delta,c.timePrev=v,c.deltaHistory.push(m),c.deltaHistory=c.deltaHistory.slice(-c.deltaSampleSize),m=Math.min.apply(null,c.deltaHistory),m=m<c.deltaMin?c.deltaMin:m,m=m>c.deltaMax?c.deltaMax:m,p=m/c.delta,c.delta=m),c.timeScalePrev!==0&&(p*=h.timeScale/c.timeScalePrev),h.timeScale===0&&(p=0),c.timeScalePrev=h.timeScale,c.correction=p,c.frameCounter+=1,v-c.counterTimestamp>=1e3&&(c.fps=c.frameCounter*((v-c.counterTimestamp)/1e3),c.counterTimestamp=v,c.frameCounter=0),r.trigger(c,"tick",P),r.trigger(c,"beforeUpdate",P),i.update(g,m,p),r.trigger(c,"afterUpdate",P),r.trigger(c,"afterTick",P)},t.stop=function(c){u(c.frameRequestId)},t.start=function(c,g){t.run(c,g)}})()},function(s,n,a){var t={};s.exports=t;var r=a(1),i=a(0);(function(){t.pathToVertices=function(o,d){typeof window!="undefined"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var u,l,c,g,v,h,p,m,P,_,b=[],S,E,A=0,T=0,I=0;d=d||15;var R=function(x,L,H){var G=H%2==1&&H>1;if(!P||x!=P.x||L!=P.y){P&&G?(S=P.x,E=P.y):(S=0,E=0);var X={x:S+x,y:E+L};(G||!P)&&(P=X),b.push(X),T=S+x,I=E+L}},j=function(x){var L=x.pathSegTypeAsLetter.toUpperCase();if(L!=="Z"){switch(L){case"M":case"L":case"T":case"C":case"S":case"Q":T=x.x,I=x.y;break;case"H":T=x.x;break;case"V":I=x.y;break}R(T,I,x.pathSegType)}};for(t._svgPathToAbsolute(o),c=o.getTotalLength(),h=[],u=0;u<o.pathSegList.numberOfItems;u+=1)h.push(o.pathSegList.getItem(u));for(p=h.concat();A<c;){if(_=o.getPathSegAtLength(A),v=h[_],v!=m){for(;p.length&&p[0]!=v;)j(p.shift());m=v}switch(v.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":g=o.getPointAtLength(A),R(g.x,g.y,0);break}A+=d}for(u=0,l=p.length;u<l;++u)j(p[u]);return b},t._svgPathToAbsolute=function(o){for(var d,u,l,c,g,v,h=o.pathSegList,p=0,m=0,P=h.numberOfItems,_=0;_<P;++_){var b=h.getItem(_),S=b.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(S))"x"in b&&(p=b.x),"y"in b&&(m=b.y);else switch("x1"in b&&(l=p+b.x1),"x2"in b&&(g=p+b.x2),"y1"in b&&(c=m+b.y1),"y2"in b&&(v=m+b.y2),"x"in b&&(p+=b.x),"y"in b&&(m+=b.y),S){case"m":h.replaceItem(o.createSVGPathSegMovetoAbs(p,m),_);break;case"l":h.replaceItem(o.createSVGPathSegLinetoAbs(p,m),_);break;case"h":h.replaceItem(o.createSVGPathSegLinetoHorizontalAbs(p),_);break;case"v":h.replaceItem(o.createSVGPathSegLinetoVerticalAbs(m),_);break;case"c":h.replaceItem(o.createSVGPathSegCurvetoCubicAbs(p,m,l,c,g,v),_);break;case"s":h.replaceItem(o.createSVGPathSegCurvetoCubicSmoothAbs(p,m,g,v),_);break;case"q":h.replaceItem(o.createSVGPathSegCurvetoQuadraticAbs(p,m,l,c),_);break;case"t":h.replaceItem(o.createSVGPathSegCurvetoQuadraticSmoothAbs(p,m),_);break;case"a":h.replaceItem(o.createSVGPathSegArcAbs(p,m,b.r1,b.r2,b.angle,b.largeArcFlag,b.sweepFlag),_);break;case"z":case"Z":p=d,m=u;break}(S=="M"||S=="m")&&(d=p,u=m)}}})()},function(s,n,a){var t={};s.exports=t;var r=a(5),i=a(0);(function(){t.create=r.create,t.add=r.add,t.remove=r.remove,t.clear=r.clear,t.addComposite=r.addComposite,t.addBody=r.addBody,t.addConstraint=r.addConstraint})()}])})},575677:function(y,f,e){/*!
46 * matter-wrap 0.2.0 by Liam Brummitt 2017-07-04
47 * https://github.com/liabru/matter-wrap
48 * License MIT
49 */(function(n,a){y.exports=a(e(164940))})(this,function(s){return function(n){var a={};function t(r){if(a[r])return a[r].exports;var i=a[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=a,t.i=function(r){return r},t.d=function(r,i,o){t.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="/libs",t(t.s=1)}([function(n,a){n.exports=s},function(n,a,t){"use strict";
49var r=t(0),i={name:"matter-wrap",version:"0.1.3",for:"matter-js@^0.12.0",install:function(d){d.after("Engine.update",function(){i.Engine.update(this)})},Engine:{update:function(d){for(var u=d.world,l=r.Composite.allBodies(u),c=r.Composite.allComposites(u),g=0;g<l.length;g+=1){var v=l[g];v.plugin.wrap&&i.Body.wrap(v,v.plugin.wrap)}for(g=0;g<c.length;g+=1){var h=c[g];h.plugin.wrap&&i.Composite.wrap(h,h.plugin.wrap)}}},Bounds:{wrap:function(d,u){var l=null,c=null;if(typeof u.min.x!="undefined"&&typeof u.max.x!="undefined"&&(d.min.x>u.max.x?l=u.min.x-d.max.x:d.max.x<u.min.x&&(l=u.max.x-d.min.x)),typeof u.min.y!="undefined"&&typeof u.max.y!="undefined"&&(d.min.y>u.max.y?c=u.min.y-d.max.y:d.max.y<u.min.y&&(c=u.max.y-d.min.y)),l!==null||c!==null)return{x:l||0,y:c||0}}},Body:{wrap:function(d,u){var l=i.Bounds.wrap(d.bounds,u);return l&&r.Body.translate(d,l),l}},Composite:{bounds:function(d){for(var u=r.Composite.allBodies(d),l=[],c=0;c<u.length;c+=1){var g=u[c];l.push(g.bounds.min,g.bounds.max)}return r.Bounds.create(l)},wrap:function(d,u){var l=i.Bounds.wrap(i.Composite.bounds(d),u);return l&&r.Composite.translate(d,l),l}}};r.Plugin.register(i),n.exports=i}])})},201221:function(y){y.exports={}},200119:function(y){y.exports={}},139e3:function(y){"use strict";/*
50object-assign
51(c) Sindre Sorhus
52@license MIT
53*/var f=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function n(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function a(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},i=0;i<10;i++)r["_"+String.fromCharCode(i)]=i;var o=Object.getOwnPropertyNames(r).map(function(u){return r[u]});if(o.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch(u){return!1}}y.exports=a()?Object.assign:function(t,r){for(var i,o=n(t),d,u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var l in i)e.call(i,l)&&(o[l]=i[l]);if(f){d=f(i);for(var c=0;c<d.length;c++)s.call(i,d[c])&&(o[d[c]]=i[d[c]])}}return o}},717925:function(y,f,e){var s=e(760636);(function(){var n,a,t,r,i,o;typeof performance!="undefined"&&performance!==null&&performance.now?y.exports=function(){return performance.now()}:typeof s!="undefined"&&s!==null&&s.hrtime?(y.exports=function(){return(n()-i)/1e6},a=s.hrtime,n=function(){var d;return d=a(),d[0]*1e9+d[1]},r=n(),o=s.uptime()*1e9,i=r-o):Date.now?(y.exports=function(){return Date.now()-t},t=Date.now()):(y.exports=function(){return new Date().getTime()-t},t=new Date().getTime())}).call(this)},540664:function(){Element.prototype.closest=function(f){for(var e=this;e;){if(e.matches(f))return e;e="SVGElement"in window&&e instanceof SVGElement?e.parentNode:e.parentElement}return null}},43421:function(){Document.prototype.remove=Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)},"Text"in self&&(Text.prototype.remove=Element.prototype.remove)},752431:function(){(function(y){function f(){return Math.min(_-performance.now(),50)}function e(S){var E=S.options.timeout,A=S.added;p=!0;var T=new y.IdleDeadline;return p=!1,Object.defineProperty(T,"didTimeout",{value:!!E&&A+E<performance.now()}),Object.defineProperty(T,"timeRemaining",{value:f}),T}function s(S){var E=e(S);(0,S.callback)(E)}function n(){if(!v){v=!0;try{o.postMessage(d,"*")}catch(S){o.postMessage(d)}}}function a(){r||(r=requestAnimationFrame(function(S){r=void 0,clearTimeout(i),S-P>performance.now()&&(S-=2*P);var E=S-_+P;E<P&&m<P?(E<8&&(E=8),P=Math.max(m,E)):m=E,_=S+P,n()}),i=setTimeout(function(){cancelAnimationFrame(r),r=void 0,_=performance.now()+50,n()},100))}
53function t(){for(v=!1,h=!0,c=l.filter(function(E){return E.options.timeout!==void 0?e(E).didTimeout:!1}),l=l.filter(function(E){return!c.includes(E)}),c.sort(function(E,A){return E.options.timeout-A.options.timeout});c.length>0;){var S=c.shift();s(S)}for(;l.length>0&&f()>0;)S=l.shift(),s(S);g.length>0&&(l=l.concat(g),g=[]),l.length>0&&a(),h=!1}var r,i,o,d,u=0,l=[],c=[],g=[],v=!1,h=!1,p=!1,m=33,P=33,_=0;if(typeof MessageChannel=="object"){var b=new MessageChannel;o=b.port2,b.port1.onmessage=t}else d="polyfillIdleCallback"+Math.random().toString(36).slice(2),o=window,window.addEventListener("message",function(S){S.source==window&&S.data===d&&t()});y.requestIdleCallback=function(E,A){var T=++u,I={id:T,callback:E,options:A||{},added:performance.now()};return h?g.push(I):l.push(I),a(),T},y.cancelIdleCallback=function(E){if(arguments.length===0)throw new TypeError("cancelIdleCallback requires at least 1 argument");var A=function(T){return T.id!==E};l=l.filter(A),g=g.filter(A)},y.IdleDeadline=function(){if(!p)throw new TypeError("Illegal constructor")},Object.defineProperty(y.IdleDeadline.prototype,"timeRemaining",{value:function(){throw new TypeError("Illegal invocation")}}),Object.prototype.hasOwnProperty.call(Object.prototype,"__defineGetter__")?Object.defineProperty(y.IdleDeadline.prototype,"didTimeout",{get:function(){throw new TypeError("Illegal invocation")}}):Object.defineProperty(y.IdleDeadline.prototype,"didTimeout",{value:void 0})})(self)},572866:function(y,f,e){"use strict";var s=e(477287);function n(){}function a(){}a.resetWarningCache=n,y.exports=function(){function t(o,d,u,l,c,g){if(g!==s){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}t.isRequired=t;function r(){return t}var i={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return i.PropTypes=i,i}},442629:function(y,f,e){if(!1)var s,n;else y.exports=e(572866)()},477287:function(y){"use strict";var f="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=f},669953:function(y,f,e){"use strict";var s=e(909747);function n(){}function a(){}a.resetWarningCache=n,y.exports=function(){function t(o,d,u,l,c,g){if(g!==s){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}t.isRequired=t;function r(){return t}var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:n};return i.PropTypes=i,i}},795478:function(y,f,e){if(!1)var s,n;else y.exports=e(669953)()},909747:function(y){"use strict";var f="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=f},508240:function(y,f,e){"use strict";var s=String.prototype.replace,n=/%20/g,a=e(163692),t={RFC1738:"RFC1738",RFC3986:"RFC3986"};y.exports=a.assign({default:t.RFC3986,formatters:{RFC1738:function(r){return s.call(r,n,"+")},RFC3986:function(r){return String(r)}}},t)},51216:function(y,f,e){"use strict";var s=e(230341),n=e(561713),a=e(508240);y.exports={formats:a,parse:n,stringify:s}},561713:function(y,f,e){"use strict";var s=e(163692),n=Object.prototype.hasOwnProperty,a=Array.isArray,t={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:s.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(v){return v.replace(/&#(\d+);/g,function(h,p){return String.fromCharCode(parseInt(p,10))})},i=function(v,h){return v&&typeof v=="string"&&h.comma&&v.indexOf(",")>-1?v.split(","):v},o="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",u=function(h,p){var m={},P=p.ignoreQueryPrefix?h.replace(/^\?/,""):h,_=p.parameterLimit===1/0?void 0:p.parameterLimit,b=P.split(p.delimiter,_),S=-1,E,A=p.charset;if(p.charsetSentinel)for(E=0;E<b.length;++E)b[E].indexOf("utf8=")===0&&(b[E]===d?A="utf-8":b[E]===o&&(A="iso-8859-1"),S=E,E=b.length);for(E=0;E<b.length;++E)if(E!==S){var T=b[E],I=T.indexOf("]="),R=I===-1?T.indexOf("="):I+1,j,x;R===-1?(j=p.decoder(T,t.decoder,A,"key"),x=p.strictNullHandling?null:""):(j=p.decoder(T.slice(0,R),t.decoder,A,"key"),x=s.maybeMap(i(T.slice(R+1),p),function(L){return p.decoder(L,t.decoder,A,"value")})),x&&p.interpretNumericEntities&&A==="iso-8859-1"&&(x=r(x)),T.indexOf("[]=")>-1&&(x=a(x)?[x]:x),n.call(m,j)?m[j]=s.combine(m[j],x):m[j]=x}return m},l=function(v,h,p,m){for(var P=m?h:i(h,p),_=v.length-1;_>=0;--_){var b,S=v[_];
vendor: 6,830 bytes, line 53
53if(S==="[]"&&p.parseArrays)b=[].concat(P);else{b=p.plainObjects?Object.create(null):{};var E=S.charAt(0)==="["&&S.charAt(S.length-1)==="]"?S.slice(1,-1):S,A=parseInt(E,10);!p.parseArrays&&E===""?b={0:P}:!isNaN(A)&&S!==E&&String(A)===E&&A>=0&&p.parseArrays&&A<=p.arrayLimit?(b=[],b[A]=P):b[E]=P}P=b}return P},c=function(h,p,m,P){if(!!h){var _=m.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,b=/(\[[^[\]]*])/,S=/(\[[^[\]]*])/g,E=m.depth>0&&b.exec(_),A=E?_.slice(0,E.index):_,T=[];if(A){if(!m.plainObjects&&n.call(Object.prototype,A)&&!m.allowPrototypes)return;T.push(A)}for(var I=0;m.depth>0&&(E=S.exec(_))!==null&&I<m.depth;){if(I+=1,!m.plainObjects&&n.call(Object.prototype,E[1].slice(1,-1))&&!m.allowPrototypes)return;T.push(E[1])}return E&&T.push("["+_.slice(E.index)+"]"),l(T,p,m,P)}},g=function(h){if(!h)return t;if(h.decoder!==null&&h.decoder!==void 0&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset!="undefined"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var p=typeof h.charset=="undefined"?t.charset:h.charset;return{allowDots:typeof h.allowDots=="undefined"?t.allowDots:!!h.allowDots,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:t.allowPrototypes,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:t.arrayLimit,charset:p,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:t.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:t.comma,decoder:typeof h.decoder=="function"?h.decoder:t.decoder,delimiter:typeof h.delimiter=="string"||s.isRegExp(h.delimiter)?h.delimiter:t.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:t.depth,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:t.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:t.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:t.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:t.strictNullHandling}};y.exports=function(v,h){var p=g(h);if(v===""||v===null||typeof v=="undefined")return p.plainObjects?Object.create(null):{};for(var m=typeof v=="string"?u(v,p):v,P=p.plainObjects?Object.create(null):{},_=Object.keys(m),b=0;b<_.length;++b){var S=_[b],E=c(S,m[S],p,typeof v=="string");P=s.merge(P,E,p)}return s.compact(P)}},230341:function(y,f,e){"use strict";var s=e(163692),n=e(508240),a=Object.prototype.hasOwnProperty,t={brackets:function(p){return p+"[]"},comma:"comma",indices:function(p,m){return p+"["+m+"]"},repeat:function(p){return p}},r=Array.isArray,i=Array.prototype.push,o=function(h,p){i.apply(h,r(p)?p:[p])},d=Date.prototype.toISOString,u=n.default,l={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:s.encode,encodeValuesOnly:!1,format:u,formatter:n.formatters[u],indices:!1,serializeDate:function(p){return d.call(p)},skipNulls:!1,strictNullHandling:!1},c=function(p){return typeof p=="string"||typeof p=="number"||typeof p=="boolean"||typeof p=="symbol"||typeof p=="bigint"},g=function h(p,m,P,_,b,S,E,A,T,I,R,j,x){var L=p;if(typeof E=="function"?L=E(m,L):L instanceof Date?L=I(L):P==="comma"&&r(L)&&(L=s.maybeMap(L,function(q){return q instanceof Date?I(q):q}).join(",")),L===null){if(_)return S&&!j?S(m,l.encoder,x,"key"):m;L=""}if(c(L)||s.isBuffer(L)){if(S){var H=j?m:S(m,l.encoder,x,"key");return[R(H)+"="+R(S(L,l.encoder,x,"value"))]}return[R(m)+"="+R(String(L))]}var G=[];if(typeof L=="undefined")return G;var X;if(r(E))X=E;else{var K=Object.keys(L);X=A?K.sort(A):K}for(var J=0;J<X.length;++J){var z=X[J],k=L[z];if(!(b&&k===null)){var F=r(L)?typeof P=="function"?P(m,z):m:m+(T?"."+z:"["+z+"]");o(G,h(k,F,P,_,b,S,E,A,T,I,R,j,x))}}return G},v=function(p){if(!p)return l;if(p.encoder!==null&&p.encoder!==void 0&&typeof p.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=p.charset||l.charset;if(typeof p.charset!="undefined"&&p.charset!=="utf-8"&&p.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var P=n.default;if(typeof p.format!="undefined"){if(!a.call(n.formatters,p.format))throw new TypeError("Unknown format option provided.");P=p.format}var _=n.formatters[P],b=l.filter;return(typeof p.filter=="function"||r(p.filter))&&(b=p.filter),{addQueryPrefix:typeof p.addQueryPrefix=="boolean"?p.addQueryPrefix:l.addQueryPrefix,allowDots:typeof p.allowDots=="undefined"?l.allowDots:!!p.allowDots,charset:m,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:l.charsetSentinel,delimiter:typeof p.delimiter=="undefined"?l.delimiter:p.delimiter,encode:typeof p.encode=="boolean"?p.encode:l.encode,encoder:typeof p.encoder=="function"?p.encoder:l.encoder,encodeValuesOnly:typeof p.encodeValuesOnly=="boolean"?p.encodeValuesOnly:l.encodeValuesOnly,filter:b,formatter:_,serializeDate:typeof p.serializeDate=="function"?p.serializeDate:l.serializeDate,skipNulls:typeof p.skipNulls=="boolean"?p.skipNulls:l.skipNulls,sort:typeof p.sort=="function"?p.sort:null,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:l.strictNullHandling}};y.exports=function(h,p){var m=h,P=v(p),_,b;typeof P.filter=="function"?(b=P.filter,m=b("",m)):r(P.filter)&&(b=P.filter,_=b);var S=[];if(typeof m!="object"||m===null)return"";var E;p&&p.arrayFormat in t?E=p.arrayFormat:p&&"indices"in p?E=p.indices?"indices":"repeat":E="indices";var A=t[E];_||(_=Object.keys(m)),P.sort&&_.sort(P.sort);for(var T=0;T<_.length;++T){var I=_[T];P.skipNulls&&m[I]===null||o(S,g(m[I],I,A,P.strictNullHandling,P.skipNulls,P.encode?P.encoder:null,P.filter,P.sort,P.allowDots,P.serializeDate,P.formatter,P.encodeValuesOnly,P.charset))}var R=S.join(P.delimiter),j=P.addQueryPrefix===!0?"?":"";return P.charsetSentinel&&(P.charset==="iso-8859-1"?j+="utf8=%26%2310003%3B&":j+="utf8=%E2%9C%93&"),R.length>0?j+R:""}},163692:function(y){"use strict";var f=Object.prototype.hasOwnProperty,e=Array.isArray,s=function(){for(var v=[],h=0;h<256;++h)v.push("%"+((h<16?"0":"")+h.toString(16)).toUpperCase());return v}(),n=function(h){for(;h.length>1;){var p=h.pop(),m=p.obj[p.prop];if(e(m)){for(var P=[],_=0;_<m.length;++_)typeof m[_]!="undefined"&&P.push(m[_]);p.obj[p.prop]=P}}},a=function(h,p){for(var m=p&&p.plainObjects?Object.create(null):{},P=0;P<h.length;++P)typeof h[P]!="undefined"&&(m[P]=h[P]);return m},t=function v(h,p,m){if(!p)return h;if(typeof p!="object"){if(e(h))h.push(p);else if(h&&typeof h=="object")(m&&(m.plainObjects||m.allowPrototypes)||!f.call(Object.prototype,p))&&(h[p]=!0);else return[h,p];return h}if(!h||typeof h!="object")return[h].concat(p);var P=h;
53return e(h)&&!e(p)&&(P=a(h,m)),e(h)&&e(p)?(p.forEach(function(_,b){if(f.call(h,b)){var S=h[b];S&&typeof S=="object"&&_&&typeof _=="object"?h[b]=v(S,_,m):h.push(_)}else h[b]=_}),h):Object.keys(p).reduce(function(_,b){var S=p[b];return f.call(_,b)?_[b]=v(_[b],S,m):_[b]=S,_},P)},r=function(h,p){return Object.keys(p).reduce(function(m,P){return m[P]=p[P],m},h)},i=function(v,h,p){var m=v.replace(/\+/g," ");if(p==="iso-8859-1")return m.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(m)}catch(P){return m}},o=function(h,p,m){if(h.length===0)return h;var P=h;if(typeof h=="symbol"?P=Symbol.prototype.toString.call(h):typeof h!="string"&&(P=String(h)),m==="iso-8859-1")return escape(P).replace(/%u[0-9a-f]{4}/gi,function(E){return"%26%23"+parseInt(E.slice(2),16)+"%3B"});for(var _="",b=0;b<P.length;++b){var S=P.charCodeAt(b);if(S===45||S===46||S===95||S===126||S>=48&&S<=57||S>=65&&S<=90||S>=97&&S<=122){_+=P.charAt(b);continue}if(S<128){_=_+s[S];continue}if(S<2048){_=_+(s[192|S>>6]+s[128|S&63]);continue}if(S<55296||S>=57344){_=_+(s[224|S>>12]+s[128|S>>6&63]+s[128|S&63]);continue}b+=1,S=65536+((S&1023)<<10|P.charCodeAt(b)&1023),_+=s[240|S>>18]+s[128|S>>12&63]+s[128|S>>6&63]+s[128|S&63]}return _},d=function(h){for(var p=[{obj:{o:h},prop:"o"}],m=[],P=0;P<p.length;++P)for(var _=p[P],b=_.obj[_.prop],S=Object.keys(b),E=0;E<S.length;++E){var A=S[E],T=b[A];typeof T=="object"&&T!==null&&m.indexOf(T)===-1&&(p.push({obj:b,prop:A}),m.push(T))}return n(p),h},u=function(h){return Object.prototype.toString.call(h)==="[object RegExp]"},l=function(h){return!h||typeof h!="object"?!1:!!(h.constructor&&h.constructor.isBuffer&&h.constructor.isBuffer(h))},c=function(h,p){return[].concat(h,p)},g=function(h,p){if(e(h)){for(var m=[],P=0;P<h.length;P+=1)m.push(p(h[P]));return m}return p(h)};y.exports={arrayToObject:a,assign:r,combine:c,compact:d,decode:i,encode:o,isBuffer:l,isRegExp:u,maybeMap:g,merge:t}},762809:function(y){"use strict";function f(e,s){return Object.prototype.hasOwnProperty.call(e,s)}y.exports=function(e,s,n,a){s=s||"&",n=n||"=";var t={};if(typeof e!="string"||e.length===0)return t;var r=/\+/g;e=e.split(s);var i=1e3;a&&typeof a.maxKeys=="number"&&(i=a.maxKeys);var o=e.length;i>0&&o>i&&(o=i);for(var d=0;d<o;++d){var u=e[d].replace(r,"%20"),l=u.indexOf(n),c,g,v,h;l>=0?(c=u.substr(0,l),g=u.substr(l+1)):(c=u,g=""),v=decodeURIComponent(c),h=decodeURIComponent(g),f(t,v)?Array.isArray(t[v])?t[v].push(h):t[v]=[t[v],h]:t[v]=h}return t}},910918:function(y){"use strict";var f=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};y.exports=function(e,s,n,a){return s=s||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(t){var r=encodeURIComponent(f(t))+n;return Array.isArray(e[t])?e[t].map(function(i){return r+encodeURIComponent(f(i))}).join(s):r+encodeURIComponent(f(e[t]))}).filter(Boolean).join(s):a?encodeURIComponent(f(a))+n+encodeURIComponent(f(e)):""}},876978:function(y,f,e){"use strict";f.decode=f.parse=e(762809),f.encode=f.stringify=e(910918)},731761:function(y,f,e){for(var s=e(717925),n=typeof window=="undefined"?e.g:window,a=["moz","webkit"],t="AnimationFrame",r=n["request"+t],i=n["cancel"+t]||n["cancelRequest"+t],o=0;!r&&o<a.length;o++)r=n[a[o]+"Request"+t],i=n[a[o]+"Cancel"+t]||n[a[o]+"CancelRequest"+t];if(!r||!i){var d=0,u=0,l=[],c=1e3/60;r=function(g){if(l.length===0){var v=s(),h=Math.max(0,c-(v-d));d=h+v,setTimeout(function(){var p=l.slice(0);l.length=0;for(var m=0;m<p.length;m++)if(!p[m].cancelled)try{p[m].callback(d)}catch(P){setTimeout(function(){throw P},0)}},Math.round(h))}return l.push({handle:++u,callback:g,cancelled:!1}),u},i=function(g){for(var v=0;v<l.length;v++)l[v].handle===g&&(l[v].cancelled=!0)}}y.exports=function(g){return r.call(n,g)},y.exports.cancel=function(){i.apply(n,arguments)},y.exports.polyfill=function(g){g||(g=n),g.requestAnimationFrame=r,g.cancelAnimationFrame=i}},739847:function(y,f){"use strict";/** @license React v16.13.1
54 * react-is.production.min.js
55 *
56 * Copyright (c) Facebook, Inc. and its affiliates.
57 *
58 * This source code is licensed under the MIT license found in the
59 * LICENSE file in the root directory of this source tree.
60 */var e=typeof Symbol=="function"&&Symbol.for,s=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,o=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function b(E){if(typeof E=="object"&&E!==null){var A=E.$$typeof;switch(A){case s:switch(E=E.type,E){case d:case u:case a:case r:case t:case c:return E;default:switch(E=E&&E.$$typeof,E){case o:case l:case h:case v:case i:return E;default:return A}}case n:return A}}}function S(E){return b(E)===u}f.AsyncMode=d,f.ConcurrentMode=u,f.ContextConsumer=o,f.ContextProvider=i,f.Element=s,f.ForwardRef=l,f.Fragment=a,f.Lazy=h,f.Memo=v,f.Portal=n,f.Profiler=r,f.
vendor: 5,297 bytes, lines 60-67
60StrictMode=t,f.Suspense=c,f.isAsyncMode=function(E){return S(E)||b(E)===d},f.isConcurrentMode=S,f.isContextConsumer=function(E){return b(E)===o},f.isContextProvider=function(E){return b(E)===i},f.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===s},f.isForwardRef=function(E){return b(E)===l},f.isFragment=function(E){return b(E)===a},f.isLazy=function(E){return b(E)===h},f.isMemo=function(E){return b(E)===v},f.isPortal=function(E){return b(E)===n},f.isProfiler=function(E){return b(E)===r},f.isStrictMode=function(E){return b(E)===t},f.isSuspense=function(E){return b(E)===c},f.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===a||E===u||E===r||E===t||E===c||E===g||typeof E=="object"&&E!==null&&(E.$$typeof===h||E.$$typeof===v||E.$$typeof===i||E.$$typeof===o||E.$$typeof===l||E.$$typeof===m||E.$$typeof===P||E.$$typeof===_||E.$$typeof===p)},f.typeOf=b},870752:function(y,f,e){"use strict";y.exports=e(739847)},713320:function(y,f,e){"use strict";/** @license React v16.14.0
61 * react.production.min.js
62 *
63 * Copyright (c) Facebook, Inc. and its affiliates.
64 *
65 * This source code is licensed under the MIT license found in the
66 * LICENSE file in the root directory of this source tree.
67 */var s=e(139e3),n=typeof Symbol=="function"&&Symbol.for,a=n?Symbol.for("react.element"):60103,t=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.forward_ref"):60112,c=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,h=typeof Symbol=="function"&&Symbol.iterator;function p($){for(var ee="https://reactjs.org/docs/error-decoder.html?invariant="+$,oe=1;oe<arguments.length;oe++)ee+="&args[]="+encodeURIComponent(arguments[oe]);return"Minified React error #"+$+"; visit "+ee+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P={};function _($,ee,oe){this.props=$,this.context=ee,this.refs=P,this.updater=oe||m}_.prototype.isReactComponent={},_.prototype.setState=function($,ee){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error(p(85));this.updater.enqueueSetState(this,$,ee,"setState")},_.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function b(){}b.prototype=_.prototype;function S($,ee,oe){this.props=$,this.context=ee,this.refs=P,this.updater=oe||m}var E=S.prototype=new b;E.constructor=S,s(E,_.prototype),E.isPureReactComponent=!0;var A={current:null},T=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};function R($,ee,oe){var pe,me={},Se=null,Pe=null;if(ee!=null)for(pe in ee.ref!==void 0&&(Pe=ee.ref),ee.key!==void 0&&(Se=""+ee.key),ee)T.call(ee,pe)&&!I.hasOwnProperty(pe)&&(me[pe]=ee[pe]);var He=arguments.length-2;if(He===1)me.children=oe;else if(1<He){for(var fe=Array(He),ve=0;ve<He;ve++)fe[ve]=arguments[ve+2];me.children=fe}if($&&$.defaultProps)for(pe in He=$.defaultProps,He)me[pe]===void 0&&(me[pe]=He[pe]);return{$$typeof:a,type:$,key:Se,ref:Pe,props:me,_owner:A.current}}function j($,ee){return{$$typeof:a,type:$.type,key:ee,ref:$.ref,props:$.props,_owner:$._owner}}function x($){return typeof $=="object"&&$!==null&&$.$$typeof===a}function L($){var ee={"=":"=0",":":"=2"};return"$"+(""+$).replace(/[=:]/g,function(oe){return ee[oe]})}var H=/\/+/g,G=[];function X($,ee,oe,pe){if(G.length){var me=G.pop();return me.result=$,me.keyPrefix=ee,me.func=oe,me.context=pe,me.count=0,me}return{result:$,keyPrefix:ee,func:oe,context:pe,count:0}}function K($){$.result=null,$.keyPrefix=null,$.func=null,$.context=null,$.count=0,10>G.length&&G.push($)}function J($,ee,oe,pe){var me=typeof $;(me==="undefined"||me==="boolean")&&($=null);var Se=!1;if($===null)Se=!0;else switch(me){case"string":case"number":Se=!0;break;case"object":switch($.$$typeof){case a:case t:Se=!0}}if(Se)return oe(pe,$,ee===""?"."+k($,0):ee),1;if(Se=0,ee=ee===""?".":ee+":",Array.isArray($))for(var Pe=0;Pe<$.length;Pe++){me=$[Pe];var He=ee+k(me,Pe);Se+=J(me,He,oe,pe)}else if($===null||typeof $!="object"?He=null:(He=h&&$[h]||$["@@iterator"],He=typeof He=="function"?He:null),typeof He=="function")for($=He.call($),Pe=0;!(me=$.next()).done;)me=me.value,He=ee+k(me,Pe++),Se+=J(me,He,oe,pe);else if(me==="object")throw oe=""+$,Error(p(31,oe==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":oe,""));return Se}function z($,ee,oe){return $==null?0:J($,"",ee,oe)}function k($,ee){return typeof $=="object"&&$!==null&&$.key!=null?L($.key):ee.toString(36)}function F($,ee){$.func.call($.context,ee,$.count++)}function q($,ee,oe){var pe=$.result,me=$.keyPrefix;$=$.func.call($.context,ee,$.count++),Array.isArray($)?N($,pe,oe,function(Se){return Se}):$!=null&&(x($)&&($=j($,me+(!$.key||ee&&ee.key===$.key?"":(""+$.key).replace(H,"$&/")+"/")+oe)),pe.push($))}function N($,ee,oe,pe,me){var Se="";oe!=null&&(Se=(""+oe).replace(H,"$&/")+"/"),ee=X(ee,Se,pe,me),z($,q,ee),K(ee)}var M={current:null};function U(){var $=M.current;
67if($===null)throw Error(p(321));return $}var Q={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:s};f.Children={map:function($,ee,oe){if($==null)return $;var pe=[];return N($,pe,null,ee,oe),pe},forEach:function($,ee,oe){if($==null)return $;ee=X(null,null,ee,oe),z($,F,ee),K(ee)},count:function($){return z($,function(){return null},null)},toArray:function($){var ee=[];return N($,ee,null,function(oe){return oe}),ee},only:function($){if(!x($))throw Error(p(143));return $}},f.Component=_,f.Fragment=r,f.Profiler=o,f.PureComponent=S,f.StrictMode=i,f.Suspense=c,f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,f.cloneElement=function($,ee,oe){if($==null)throw Error(p(267,$));var pe=s({},$.props),me=$.key,Se=$.ref,Pe=$._owner;if(ee!=null){if(ee.ref!==void 0&&(Se=ee.ref,Pe=A.current),ee.key!==void 0&&(me=""+ee.key),$.type&&$.type.defaultProps)var He=$.type.defaultProps;for(fe in ee)T.call(ee,fe)&&!I.hasOwnProperty(fe)&&(pe[fe]=ee[fe]===void 0&&He!==void 0?He[fe]:ee[fe])}var fe=arguments.length-2;if(fe===1)pe.children=oe;else if(1<fe){He=Array(fe);for(var ve=0;ve<fe;ve++)He[ve]=arguments[ve+2];pe.children=He}return{$$typeof:a,type:$.type,key:me,ref:Se,props:pe,_owner:Pe}},f.createContext=function($,ee){return ee===void 0&&(ee=null),$={$$typeof:u,_calculateChangedBits:ee,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider={$$typeof:d,_context:$},$.Consumer=$},f.createElement=R,f.createFactory=function($){var ee=R.bind(null,$);return ee.type=$,ee},f.createRef=function(){return{current:null}},f.forwardRef=function($){return{$$typeof:l,render:$}},f.isValidElement=x,f.lazy=function($){return{$$typeof:v,_ctor:$,_status:-1,_result:null}},f.memo=function($,ee){return{$$typeof:g,type:$,compare:ee===void 0?null:ee}},f.useCallback=function($,ee){return U().useCallback($,ee)},f.useContext=function($,ee){return U().useContext($,ee)},f.useDebugValue=function(){},f.useEffect=function($,ee){return U().useEffect($,ee)},f.useImperativeHandle=function($,ee,oe){return U().useImperativeHandle($,ee,oe)},f.useLayoutEffect=function($,ee){return U().useLayoutEffect($,ee)},f.useMemo=function($,ee){return U().useMemo($,ee)},f.useReducer=function($,ee,oe){return U().useReducer($,ee,oe)},f.useRef=function($){return U().useRef($)},f.useState=function($){return U().useState($)},f.version="16.14.0"},508669:function(y,f,e){"use strict";y.exports=e(713320)},255919:function(y,f,e){y.exports=e(169650)},169650:function(y,f,e){var s=e(165118),n={es3:3,es5:5,es2015:6,es7:7,es6:6,default:5,next:6},a=f.KEYWORDS={};f.check=function(i,o,d){o=o||n.default;var u=n[o]||o;return d&&u>=5&&(u+="-strict"),s(a[u],"Unknown dialect"),a[u].hasOwnProperty(i)},a["3"]=t("break    else       new     var","case     finally    return  void","catch    for        switch  while","continue function   this    with","default  if         throw","delete   in         try","do       instanceof typeof","abstract enum       int        short","boolean  export     interface  static","byte     extends    long       super","char     final      native     synchronized","class    float      package    throws","const    goto       private    transient","debugger implements protected  volatile","double   import     public","null true false"),a["5"]=t("break    do       instanceof typeof","case     else     new        var","catch    finally  return     void","continue for      switch     while","debugger function this       with","default  if       throw","delete   in       try","class enum extends super","const export import","null true false"),a["5-strict"]=t(a["5"],"implements let     private   public yield","interface  package protected static"),a["6"]=t("break    do       in         typeof","case     else     instanceof var","catch    export   new        void","class    extends  return     while","const    finally  super      with","continue for      switch     yield","debugger function this","default  if       throw","delete   import   try","enum await","null true false"),a["6-strict"]=t(a["6"],"let static","implements package protected","interface private public");function t(){var r=Array.prototype.map.call(arguments,function(i){return typeof i=="string"?i:Object.keys(i).join(" ")}).join(" ");return r.split(/\s+/).reduce(function(i,o){return i[o]=!0,i},{})}},578174:function(y,f,e){"use strict";var s=e(310365),n=Array.prototype.concat,a=Array.prototype.slice,t=y.exports=function(i){for(var o=[],d=0,u=i.length;d<u;d++){var l=i[d];s(l)?o=n.call(o,a.call(l)):o.push(l)}return o};t.wrap=function(r){return function(){return r(t(arguments))}}},802188:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function e(a,t){for(var r in t)Object.defineProperty(a,r,{enumerable:!0,get:t[r]})}e(f,{getDropShadowCss:function(){return s},applyDropShadow:function(){return n}});function s(a){var t=a.angle,r=a.distance,i=a.blur,o=(180-t)*Math.PI/180,d=Math.round(Math.cos(o))*r.value,u=Math.round(Math.sin(o))*r.value;return"drop-shadow(".concat(d).concat(r.unit," ").concat(u).concat(r.unit," ").concat(i.value).concat(i.unit,")")}function n(a,t){var r=s(t),i=a.parentElement,o=window.getComputedStyle(a).getPropertyValue("color");i.style.filter=r,i.style.color=o}},680082:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(G,X){for(var K in X)Object.defineProperty(G,K,{enumerable:!0,get:X[K]})}s(f,{RESIZE_OBSERVER_NAME:function(){return o},isFluidImage:function(){return d},initializeFluidImageInVisitorView:function(){return u},formatImageUploaderContainer:function(){return P},setFluidImageContainerEditorStyles:function(){return b},adjustFluidImageMask:function(){return S},syncDimensionsWithObjectFitContain:function(){return j},unsyncDimensionsWithObjectFitContain:function(){return L}});var n=i(e(463193)),a=t(e(263392));function t(G){return G&&G.__esModule?G:{default:G}}function r(G){if(typeof WeakMap!="function")return null;var X=new WeakMap,K=new WeakMap;return(r=function(J){return J?K:X})(G)}function i(G,X){if(!X&&G&&G.__esModule)return G;if(G===null||typeof G!="object"&&typeof G!="function")return{default:G};var K=r(X);if(K&&K.has(G))return K.get(G);var J={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in G)if(k!=="default"&&Object.prototype.hasOwnProperty.call(G,k)){var F=z?Object.getOwnPropertyDescriptor(G,k):null;F&&(F.get||F.set)?Object.defineProperty(J,k,F):J[k]=G[k]}return J.default=G,K&&K.set(G,J),J}var o="objectFitContain";function d(G){return G&&!!G.closest(".design-layout-fluid")}function u(G){if(m(G),p(G)){var X=h(G),K=!1,J=g(G);j(X,J,K)}}function l(G){var X=h(G),K=X&&X.getAttribute("data-shape-mask");return K}function c(G){var X=a.default[G],K={width:100,height:X};return K}function g(G){if(!G)return null;var X=l(G),K=v(G),J=X?c(X):K;return J}function v(G){var X=G.getAttribute("data-image-dimensions");if(!(!G||!X)){var K=X.split("x"),J={width:K[0],height:K[1]};return J}}function h(G){return G==null?void 0:G.closest(".sqs-image-content")}function p(G){var X=G.getAttribute("data-stretch")!=="true";return X}function m(G){var X=G.closest(".sqs-block-content"),K={height:"100%",width:"100%"};_(X,K)}function P(G){var X={height:"100%",width:"100%"};_(G,X),_(G.closest(".sqs-image"),X),_(G.closest(".fluid-image-editor-wrapper"),X),_(G.closest(".sqs-block-content"),X)}function _(G,X){!G||!X||Object.assign(G.style,X)}function b(G){var X={height:"100%",width:"100%"};_(G,X),_(G.closest(".sqs-image"),X),_(G.closest(".fluid-image-editor-wrapper"),X),_(G.closest(".design-layout-fluid"),X);var K={position:"absolute",left:0,top:0};_(G.closest(".fluid-image-editor-wrapper"),K)}function S(G,X,K){K?E(G):A(G,X)}function E(G){G.style.height="100%",G.style.width="100%"}function A(G,X){if(!(!X||!G)){var K=G.parentElement;if(!!K){T(G)&&I(K);var J=K.clientWidth,z=K.clientHeight,k=J/z,F=X.width/X.height,q=k>F?"height":"width";G.style[q]="100%",q==="height"?G.style.width=z*F+"px":G.style.height=J/F+"px"}}}function T(G){return!!G.closest(".fluid-image-editor-wrapper")}function I(G){G.classList.add("sqs-block-alignment-wrapper"),_(G,{display:"flex",justifyContent:R(G)})}function R(G){var X="center",K=G.closest(".design-layout-fluid");return K&&(K.classList.contains("image-position-left")&&(X="flex-start"),K.classList.contains("image-position-right")&&(X="flex-end")),X}function j(G,X,K){var J=H(G),z=G.querySelector("img"),k=n.doesObserverExist(o,J);k&&L(G);var F=x(G,z,X,K);n.attachResizeObserver({observerName:o,resizeListenerTarget:J,callback:F})}function x(G,X,K,J){var z=function(){var F=K;if(J){var q=J.contentImage.get("model");F=q.get("dimensions")}var N=l(X);N&&(F=c(N));var M=!1;S(G,F,M)};return z}function L(G){var X=H(G);!X._sqsResizeObservers||n.removeResizeObserver({resizeListenerTarget:X,observerName:o})}function H(G){return G.closest(".image-block-outer-wrapper")}},463193:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(f,{doesObserverExist:function(){return s},attachResizeObserver:function(){return n},removeResizeObserver:function(){return a}});function s(t,r){return!!(r._sqsResizeObservers&&r._sqsResizeObservers[t])}function n(t){var r=t.observerName,i=t.resizeListenerTarget,o=t.callback,d=new ResizeObserver(function(u){for(var l=0;l<u.length;l++)o()});d.observe(i),i._sqsResizeObservers||(i._sqsResizeObservers={}),i._sqsResizeObservers[r]=d}function a(t){var r=t.resizeListenerTarget,i=t.observerName,o=r._sqsResizeObservers&&r._sqsResizeObservers[i];!o||(o.unobserve(r),r._sqsResizeObservers[i]=null)}},613296:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(_,b){for(var S in b)Object.defineProperty(_,S,{enumerable:!0,get:b[S]})}s(f,{RESIZE_OBSERVER_NAME:function(){return d},setPreserveAspectRatio:function(){return c},syncDimensionsForShape:function(){return h},adjustDimensionsForShapeFit:function(){return p},adjustDimensionsForShapeFill:function(){return m},initializeShapeBlockInVisitorView:function(){return P}});var n=r(e(243187)),a=o(e(463193)),t=e(802188);function r(_){return _&&_.__esModule?_:{default:_}}function i(_){if(typeof WeakMap!="function")return null;var b=new WeakMap,S=new WeakMap;return(i=function(E){return E?S:b})(_)}function o(_,b){if(!b&&_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var S=i(b);if(S&&S.has(_))return S.get(_);var E={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in _)if(T!=="default"&&Object.prototype.hasOwnProperty.call(_,T)){var I=A?Object.getOwnPropertyDescriptor(_,T):null;I&&(I.get||I.set)?Object.defineProperty(E,T,I):E[T]=_[T]}return E.default=_,S&&S.set(_,E),E}var d="shapeFit",u="data-drop-shadow";function l(_,b){!_||!b||Object.assign(_.style,b)}function c(_){!_||_.nodeName!=="svg"||_.setAttribute("preserveAspectRatio","none")}function g(_){return _.classList.contains("sqs-stretched")}function v(_){var b=_.querySelector(".sqs-shape-block-container");return b.getAttribute("data-shape-name")}function h(_,b){var S=a.doesObserverExist(d,_);S&&a.removeResizeObserver({resizeListenerTarget:_,observerName:d}),c(b),g(_)?m(b):a.attachResizeObserver({observerName:d,resizeListenerTarget:_,callback:function(){return p(_,b)}})}function p(_,b){if(!!b){var S,E;if(v(_)===n.default.RECTANGLE)S=1,E=1;else{var A=b.getAttribute("viewBox").split(" ");E=A.pop(),S=A.pop()}var T=_.clientWidth,I=_.clientHeight,R=T/I,j=S/E,x={},L=R>j?"height":"width";x[L]="100%",L==="height"?x.width=I*j+"px":x.height=T/j+"px",l(b,x)}}function m(_){l(_,{width:"100%",height:"100%"})}function P(_){var b=_.querySelector(".sqs-shape"),S=b.parentElement;if(h(_,b),S.hasAttribute(u))try{var E=JSON.parse(S.getAttribute("data-drop-shadow"));(0,t.applyDropShadow)(_,E)}catch(A){console.error(A)}}},335634:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}s(f,{getBarPosition:function(){return u},getPopupPosition:function(){return l},getWithDefaults:function(){return c},transformComponentDataToApiPayload:function(){return g},transformApiDataToComponentProps:function(){return v}});var n=r(e(958526));function a(h,p,m){return p in h?Object.defineProperty(h,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):h[p]=m,h}function t(h){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(t=function(P){return P?m:p})(h)}function r(h,p){if(!p&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=t(p);if(m&&m.has(h))return m.get(h);var P={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var S=_?Object.getOwnPropertyDescriptor(h,b):null;S&&(S.get||S.set)?Object.defineProperty(P,b,S):P[b]=h[b]}return P.default=h,m&&m.set(h,P),P}function i(h){for(var p=1;p<arguments.length;p++){var m=arguments[p]!=null?arguments[p]:{},P=Object.keys(m);typeof Object.getOwnPropertySymbols=="function"&&(P=P.concat(Object.getOwnPropertySymbols(m).filter(function(_){return Object.getOwnPropertyDescriptor(m,_).enumerable}))),P.forEach(function(_){a(h,_,m[_])})}return h}function o(h,p){if(h==null)return{};var m=d(h,p),P,_;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(h);for(_=0;_<b.length;_++)P=b[_],!(p.indexOf(P)>=0)&&(!Object.prototype.propertyIsEnumerable.call(h,P)||(m[P]=h[P]))}return m}function d(h,p){if(h==null)return{};var m={},P=Object.keys(h),_,b;for(b=0;b<P.length;b++)_=P[b],!(p.indexOf(_)>=0)&&(m[_]=h[_]);return m}var u=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Object.values(n.BAR_POSITIONS).includes(h)?h:[n.POPUP_POSITIONS.TOP_LEFT,n.POPUP_POSITIONS.TOP_RIGHT].includes(h)?n.BAR_POSITIONS.TOP:n.BAR_POSITIONS.BOTTOM},l=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return h===n.BAR_POSITIONS.TOP?n.POPUP_POSITIONS.TOP_LEFT:h===n.BAR_POSITIONS.BOTTOM?n.POPUP_POSITIONS.BOTTOM_LEFT:h&&Object.values(n.POPUP_POSITIONS).includes(h)?h:n.POPUP_POSITIONS.BOTTOM_LEFT},c=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=p.cookieBannerCtaText,P=p.cookieBannerCtaVariant,_=p.cookieBannerPosition,b=p.c
67ookieBannerText,S=b===void 0?n.DEFAULT_TEXT:b,E=p.cookieBannerTheme,A=p.cookieBannerVariant,T=p.cookieBannerOptOutCtaText,I=p.cookieBannerAcceptType,R=o(p,["cookieBannerCtaText","cookieBannerCtaVariant","cookieBannerPosition","cookieBannerText","cookieBannerTheme","cookieBannerVariant","cookieBannerOptOutCtaText","cookieBannerAcceptType"]);return m=m||n.DEFAULT_CTA_TEXT,S=S.replace("<p></p>","")||n.DEFAULT_TEXT,P=P&&n.CTA_VARIANTS[P]?P:n.CTA_VARIANTS.ICON,E=E&&n.THEMES[E]?E:n.THEMES.DARK,A=A&&n.VARIANTS[A]?A:n.VARIANTS.BAR,_=A===n.VARIANTS.BAR?u(_):l(_),T=T||n.DEFAULT_OPT_OUT_TEXT,I=I||n.ACCEPT_TYPES.OPT_IN,i({cookieBannerCtaText:m,cookieBannerCtaVariant:P,cookieBannerPosition:_,cookieBannerText:S,cookieBannerTheme:E,cookieBannerVariant:A,cookieBannerOptOutCtaText:T,cookieBannerAcceptType:I},R)},g=function(p){var m=c(p),P=m.cookieBannerCtaText,_=m.cookieBannerCtaVariant,b=m.cookieBannerPosition,S=m.cookieBannerText,E=m.cookieBannerTheme,A=m.cookieBannerVariant,T=m.cookieBannerOptOutCtaText,I=m.cookieBannerAcceptType,R=m.isActivityLogEnabled,j=m.isAnalyticsCookiesDisabled,x=m.isCookieBannerEnabled,L=m.isRestrictiveCookiePolicyAbsolute;return{cookieBannerCtaText:P,cookieBannerVariant:A,cookieBannerPosition:b,cookieBannerCtaVariant:_,cookieBannerText:""+S=="<p></p>"?"":""+S,cookieBannerTheme:E,cookieBannerOptOutCtaText:T,cookieBannerAcceptType:I,isCookieBannerEnabled:x,isRestrictiveCookiePolicyEnabled:j||!1,isVisitorDataRestricted:!R,isRestrictiveCookiePolicyAbsolute:L||!1}},v=function(p){var m=c(p),P=m.cookieBannerCtaText,_=m.cookieBannerCtaVariant,b=m.cookieBannerPosition,S=m.cookieBannerText,E=m.cookieBannerTheme,A=m.cookieBannerVariant,T=m.cookieBannerOptOutCtaText,I=m.cookieBannerAcceptType,R=m.isCookieBannerEnabled,j=m.isRestrictiveCookiePolicyAbsolute,x=m.isRestrictiveCookiePolicyEnabled,L=m.isVisitorDataRestricted;return{cookieBannerCtaText:P,cookieBannerCtaVariant:_,cookieBannerPosition:b,cookieBannerText:S,cookieBannerTheme:E,cookieBannerVariant:A,cookieBannerOptOutCtaText:T,cookieBannerAcceptType:I,isActivityLogEnabled:!L,isAnalyticsCookiesDisabled:x,isCookieBannerEnabled:R,isRestrictiveCookiePolicyAbsolute:j}}},406540:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=a(e(111168));function n(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")}function a(i){return i&&i.__esModule?i:{default:i}}var t=function(){"use strict";function i(){n(this,i),this.generateActions("refresh","setUrl","setEditingCustomCss","ifLoaded","removeLoadHandler","exitSiteStylesEditMode","disableSevenZeroFullScreenPreview","toggleFullScreenPreviewMode","setIsMobileDrawerExpanded","enableSevenZeroFullScreenPreview","frameUnload","disableLinks","enableLinks","enterItemEditingMode","enterItemInlineEditingMode")}var o=i.prototype;return o.addLoadHandler=function(u,l){return{key:u,callback:l}},i}(),r=s.default.createActions(t)},323167:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(S,E){for(var A in E)Object.defineProperty(S,A,{enumerable:!0,get:E[A]})}s(f,{SystemColorConfigs:function(){return c},presetDisplayName:function(){return g},PaletteSelectorMode:function(){return v},PaletteCustomizerMode:function(){return h},PaletteFromImageMode:function(){return p},PaletteFromColorMode:function(){return m},PaletteSwatchIdentifiers:function(){return P},ColorTypes:function(){return _},CustomColorUserFormats:function(){return b}});var n=e(869235),a=e(637356),t=e(727004);function r(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function i(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{},T=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(A).filter(function(I){return Object.getOwnPropertyDescriptor(A,I).enumerable}))),T.forEach(function(I){r(S,I,A[I])})}return S}function o(S,E){var A=Object.keys(S);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(S);E&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(S,I).enumerable})),A.push.apply(A,T)}return A}function d(S,E){return E=E!=null?E:{},Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(E)):o(Object(E)).forEac
67h(function(A){Object.defineProperty(S,A,Object.getOwnPropertyDescriptor(E,A))}),S}var u,l=(u={},r(u,a.SystemColorId.safeLightAccent,(0,n.t)("Safe\u2122 Light")),r(u,a.SystemColorId.safeDarkAccent,(0,n.t)("Safe\u2122 Dark")),r(u,a.SystemColorId.safeInverseAccent,(0,n.t)("Safe\u2122 Inverse")),r(u,a.SystemColorId.safeInverseLightAccent,(0,n.t)("Safe\u2122 Inverse Light")),r(u,a.SystemColorId.safeInverseDarkAccent,(0,n.t)("Safe\u2122 Inverse Dark")),r(u,a.SystemColorId.white,(0,n.t)("Lightest")),r(u,a.SystemColorId.lightAccent,(0,n.t)("Light")),r(u,a.SystemColorId.accent,(0,n.t)("Bright")),r(u,a.SystemColorId.darkAccent,(0,n.t)("Dark")),r(u,a.SystemColorId.black,(0,n.t)("Darkest")),u),c=t.SYSTEM_COLOR_AS_ORDERED_ARRAY_V2.map(function(S){return d(i({},S),{name:l[S.id]})}),g={monochrome:(0,n.t)("Monochrome"),complementary:(0,n.t)("Complementary"),"analogous-i":(0,n.t)("Analogous I"),"analogous-ii":(0,n.t)("Analogous II")},v={label:(0,n.t)("Presets"),value:"designerPalettes"},h={label:(0,n.t)("Custom Colors"),value:"custom"},p={label:(0,n.t)("From Image"),value:"from-image"},m={label:(0,n.t)("From Color"),value:"from-color"},P=Object.values(a.SystemColorId).filter(function(S){return!S.startsWith("safe")}),_={SITE_PALETTE_COLOR:"SITE_PALETTE_COLOR",CUSTOM_COLOR:"CUSTOM_COLOR",THEME_COLOR:"THEME_COLOR"},b=["rgb","hsl","hex"]},727004:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(c,g){for(var v in g)Object.defineProperty(c,v,{enumerable:!0,get:g[v]})}s(f,{SYSTEM_COLOR_CONFIG_MAP:function(){return d},SYSTEM_COLOR_AS_ORDERED_ARRAY_V2:function(){return u},SELECTOR_COLOR_AS_ORDERED_ARRAY_V2:function(){return l}});var n=e(637356);function a(c,g,v){return g in c?Object.defineProperty(c,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):c[g]=v,c}function t(c){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{},h=Object.keys(v);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(v).filter(function(p){return Object.getOwnPropertyDescriptor(v,p).enumerable}))),h.forEach(function(p){a(c,p,v[p])})}return c}function r(c,g){var v=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);g&&(h=h.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),v.push.apply(v,h)}return v}function i(c,g){return g=g!=null?g:{},Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(g)):r(Object(g)).forEach(function(v){Object.defineProperty(c,v,Object.getOwnPropertyDescriptor(g,v))}),c}var o,d=Object.freeze(i(t({},n.SYSTEM_COLOR_CONFIG_MAP),(o={},a(o,n.SystemColorId.white,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.white]),{name:"Lightest",order:0})),a(o,n.SystemColorId.lightAccent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.lightAccent]),{name:"Light",order:1})),a(o,n.SystemColorId.accent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.accent]),{name:"Bright",order:2})),a(o,n.SystemColorId.darkAccent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.darkAccent]),{name:"Dark",order:3})),a(o,n.SystemColorId.black,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.black]),{name:"Darkest",order:4})),o))),u=Object.keys(d).sort(function(c,g){return d[c].order-d[g].order}).map(function(c){return d[c]}).filter(function(c){var g=c.userVisible;return g}),l=Object.keys(d).sort(function(c,g){return d[c].order-d[g].order}).map(function(c){return d[c]}).filter(function(c){var g=c.userVisible,v=c.hideInSelector;return g&&!v})},290004:function(y,f,e){"use strict";var s;s={value:!0},e(738783),e(819063),e(758020),e(371080);var n=Pe(e(420651)),a=Pe(e(709075)),t=e(527304),r=e(581945),i=Pe(e(138816)),o=Pe(e(40006)),d=Pe(e(864312)),u=Pe(e(917213)),l=e(716406),c=Pe(e(646709)),g=e(90642),v=e(535485),h=Pe(e(92299)),p=e(566101),m=e(143389),P=Pe(e(479196)),_=e(677640),b=e(972),S=e(899241),E=e(604482),A=e(869235),T=Pe(e(258933)),I=Pe(e(84198)),R=e(2007),j=Pe(e(785974)),x=Pe(e(88239)),L=Pe(e(139215)),H=Pe(e(670062)),G=Pe(e(935438)),X=Pe(e(721716)),K=Pe(e(894580)),J=fe(e(766090)),z=Pe(e(854781)),k=Pe(e(708659)),F=e(789204),q=e(791489),N=e(212110),M=e(97402),U=e(684353),Q=Pe(e(884600)),$=Pe(e(485e3)),ee=Pe(e(897418)),oe=Pe(e(927674)),pe
67=Pe(e(318793)),me=e(192108),Se=Pe(e(419510));function Pe(ae){return ae&&ae.__esModule?ae:{default:ae}}function He(ae){if(typeof WeakMap!="function")return null;var le=new WeakMap,Ee=new WeakMap;return(He=function(xe){return xe?Ee:le})(ae)}function fe(ae,le){if(!le&&ae&&ae.__esModule)return ae;if(ae===null||typeof ae!="object"&&typeof ae!="function")return{default:ae};var Ee=He(le);if(Ee&&Ee.has(ae))return Ee.get(ae);var xe={},_e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Re in ae)if(Re!=="default"&&Object.prototype.hasOwnProperty.call(ae,Re)){var Be=_e?Object.getOwnPropertyDescriptor(ae,Re):null;Be&&(Be.get||Be.set)?Object.defineProperty(xe,Re,Be):xe[Re]=ae[Re]}return xe.default=ae,Ee&&Ee.set(ae,xe),xe}var ve=/Trident.*rv[ :]*11\./.test(navigator.userAgent);window.Common=function(le){var Ee=function(we){var We=le.Y.clone(we),qe=We[Be];le.Y.Lang.isValue(qe)&&(We["squarespace-commerce-email-preview"]=qe,delete We[Be]);var Ie=!0,Me=!1,Ve=void 0;try{for(var Ne=nt[Symbol.iterator](),ke;!(Ie=(ke=Ne.next()).done);Ie=!0){var et=ke.value;We.hasOwnProperty(et)&&delete We[et]}}catch(st){Me=!0,Ve=st}finally{try{!Ie&&Ne.return!=null&&Ne.return()}finally{if(Me)throw Ve}}return We},xe=function(we,We,qe){var Ie=l.legacyV6Flags.isFeatureEnabled(c.default.CRM_ENABLE_RECAPTCHA_V3_ENTERPRISE),Me=l.legacyV6Flags.isFeatureEnabled(c.default.VISITOR_REACT_FORMS);try{var Ve=Ie?M.EnterpriseV3RecaptchaAPI.getCaptchaContainer(We):r.GoogleReCaptchaAPI.getCaptchaContainer(we,We);if(Ie&&Ve)M.EnterpriseV3RecaptchaAPI.getKeyAndLoadRecaptchaEnterprise(we);else{if(Me&&qe)return;Ve&&(r.GoogleReCaptchaAPI.destroy(Ve),r.GoogleReCaptchaAPI.render(we,Ve))}var Ne=We.getAttribute("data-form-id");Ne&&(0,_.trackFormRender)(Ne)}catch(ke){console.error("Could not render form",{formEl:We,error:ke})}},_e=function(){window.SquarespaceFonts.loadViaContext(),window.Squarespace.load(window),window.Squarespace.afterBodyLoad(window.Y)},Re=function(){return!!document.getElementById("order-status-page-root")};if(le.COMMON_ALREADY_RAN){console.warn("Detected second run, this is bad.");return}le.COMMON_ALREADY_RAN=!0,le.Static=le.Static||{},le.noop=a.default,(0,T.default)(le),le.Singleton=X.default,le.Class={create:function(we){var We;return we.initialize?We=function(){this.initialize.apply(this,arguments)}:We=function(){},We.prototype=we,We.extend=function(qe){return le.Class.extend(this,qe)},We.specialize=function(qe,Ie){var Me=le.Class.specialize(this,qe);return Me._parent=Ie,Me},We},extend:function(we,We){We.initialize||(We.initialize=we.prototype.initialize);var qe=le.Class.create(We),Ie=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var Me in we.prototype)qe.prototype[Me]?typeof qe.prototype[Me]=="function"&&Ie.test(qe.prototype[Me])&&(qe.prototype[Me]=function(Ve,Ne){return function(){var ke=this._super;this._super=we.prototype[Ve];var et=Ne.apply(this,arguments);return this._super=ke,et}}(Me,qe.prototype[Me])):qe.prototype[Me]=we.prototype[Me];return qe.prototype.superclass=we.prototype,qe},specialize:function(we,We){var qe=le.Class.extend(we,We);return new qe}},le.Squarespace=le.Squarespace||{},le.Squarespace.INITIALIZED=!1,le.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!1,(0,me.mixin)(le),le.Squarespace.shouldRedirectToConfig=function(ue){var we="noredirect",We=["noredirect"];if(ue.location.hostname==="localhost"||this.getSession(we,ue))return!1;for(var qe=0;qe<We.length;qe++)if(ue.location.search.indexOf(We[qe])!==-1)return this.setSession(we,!0,ue),!1;return ue.Static.SQUARESPACE_CONTEXT.websiteSettings&&ue.Static.SQUARESPACE_CONTEXT.authenticatedAccount&&!ue.Static.SQUARESPACE_CONTEXT.website.developerMode&&!ue.Static.SQUARESPACE_CONTEXT.website.cloneable&&!this._userHasViewerRole(ue.Static.SQUARESPACE_CONTEXT.websiteRoles)&&ue.top===ue},le.Squarespace.getSession=function(ue,we){try{if(we.sessionStorage&&we.sessionStorage[ue])return we.sessionStorage[ue]}catch(We){return null}return null},le.Squarespace.setSession=function(ue,we,We){try{if(We.sessionStorage)return We.sessionStorage[ue]=we,{success:!0,error:null}}catch(qe){return{success:!1,error:qe}}return{success:!1,error:"Browser does not support session storage"}},le.Squarespace.createCookie=function(ue,we,We,qe,Ie){var Me;if(We){var Ve=new Date;Ve.setTime(Ve.getTime()+We*24*60*60*1e3),Me="; expires="+Ve.toGMTString()}else Me="";Ie.document.cookie=ue+"="+we+Me+"; path="+qe},le.Squarespace.load=function(ue){if(ue||(console.error("Squarespace.load running with an assumed window context! Results may vary!"),ue=window),this.shouldRedirectToConfig(ue)){ue.stop&&ue.stop(),this.createCookie(t.Constants.PREVIEW_FRAME_EXPANDED_COOKIE,!0,null,"/",ue);var we=encodeURIComponent(ue.location.pathname+ue.location.search);ue.location.href="/config/?frameUrl="+we;return}(0,Q.default)(ue),ue.document.addEventListener("DOMContentLoaded",function(){(0,ee.default)(ue)}),ue.Y=ue.YUI(function(){var qe={};for(var Ie in ue.YUI_CONFIG)qe[Ie]=ue.YUI_CONFIG[Ie];return qe}()),(0,pe.default)(ue),ue.Y.use("squarespace-image-loader"),ue.Y.use("squarespace-public-api"),ue.Y.on("domready",ue.Squarespace.afterBodyLoad,ue.Squarespace);var We=(0,S.setResolvedWebsiteLocaleFromContext)();(0,A.setLocale)(U.translationLocale,We)},le.Squarespace.injectRollups=function(ue){try{if(ue.top.YUI!==ue.YUI){for(var we in ue.top.YUI.Env.mods)ue.YUI.Env.mods.hasOwnProperty(we)||(ue.YUI.Env.mods[we]=ue.top.YUI.Env.mods[we]);var We=ue.top.Static.SQUARESPACE_CONTEXT.frameRollups;for(var qe in We)We[qe].css&&this._injectStylesheetFromTopFrame(We[qe].css,ue.document)}}catch(Ie){}},le.Squarespace._injectStylesheetFromTopFrame=function(ue,we){var We='<link rel="stylesheet" href="'+ue+'" type="text/css" />';we.head?le.Y.one(we.head).append(We):we.write(We)};var Be="squarespace-commerce_email_preview",nt=["squarespace-error_reporter"];le.Squarespace._humanizeAllDates=function(ue){Y.all(ue).each(function(we){var We=parseInt(we.getAttribute("data-date"),10);if(!Y.Lang.isNumber(We)){console.warn("Invalid date on node: ",we);return}we.set("innerHTML",(0,j.default)(We).capitalize())})},le.Squarespace.afterBodyLoad=function(){var ue=le.Y,we=ue.config.doc.readyState==="loading",We=ue.Squarespace.Utils.isInDamaskFrame();if(!we&&We&&le.top.YUI_NOT_YET_LOADED){ue.use(Object.keys(Ee(ue.config.win.SQUARESPACE_ROLLUPS)),a.default);return}if(we&&We){ue.once("domready",ue.config.win.Squarespace.afterBodyLoad,ue.config.win.Squarespace);return}this.AFTER_BODY_LOADED||(this.AFTER_BODY_LOADED=!0,We&&this.injectRollups(le),ue.use(function(qe){var Ie=ue.Object.keys(Ee(qe));if(We){var Me=["squarespace-management"];Me.forEach(function(Ve){Ie.indexOf(Ve)===-1&&Ie.push(Ve)})}return Ie}(ue.config.win.SQUARESPACE_ROLLUPS),le.Squarespace.globalInit))},le.Squarespace.addLoadTrigger=function(ue,we){var We=le.Y;if(!!We.one(ue)){if(We.Squarespace.Utils.isInDamaskFrame()){var qe=[];We.Array.each(we,function(st){We.Lang.isObject(le.YUI.Env.mods[st])&&qe.push(st)}),we=We.Array.filter(we,function(st){return!qe.includes(st)}),We.Array.each(qe,function(st){We.use(st);var Ce=We.config.win.Static.SQUARESPACE_CONTEXT.rollups[st];if(!Ce){console.warn("Unable to load module '"+st+"' for trigger '"+ue+"'");return}if(Ce.css){var it=Ce.css.split(",");We.Array.each(it,function(ct){this._injectStylesheetFromTopFrame(ct,We.config.doc)},this)}},this),we.length>0&&console.error("addLoadTrigger","There are modules that were requested, that were not available in the Seven top frame.",we)}if(we.length!==0){for(var Ie=[],Me=[],Ve=0,Ne=we.length;Ve<Ne;++Ve){var ke=we[Ve],et=We.config.win.Static.SQUARESPACE_CONTEXT.rollups[ke];if(!et){console.warn("Unable to load module '"+ke+"' for trigger '"+ue+"'");return}et.js&&We.Array.each(et.js.split(","),function(st){st.length>0&&Ie.push(st)}),et.css&&We.Array.each(et.css.split(","),function(st){st.length>0&&Me.push(st)})}We.Get.load([].concat(Ie,Me),{win:We.config.win},function(st){We.use(we)})}}},le.Squarespace.globalInit=function(ue){var we=function(cn){(0,p.polyfillAndObserve)(cn)},We,qe;(0,pe.default)(le),z.default.isSevenOne()&&ue.one("body").addClass("seven-one-global-animations"),ue.Squarespace.EscManager&&ue.Squarespace.EscManager.attach(ue.one(ue.config.win)),(0,_.manageCookies)(),(0,_.trackPageview)(),ue.config.win.Squarespace._humanizeAllDates(".timesince"),ue.config.win.Squarespace.initializeLayoutBlocks(ue),ue.config.win.Squarespace.initializeImageBlockDynamicElements(ue),ue.config.win.Squarespace.initializeGlobalLightbox(ue),ue.config.win.Squarespace.initializeVideo(ue),ue.config.win.Squarespace.initializeNativeVideo(ue,{activityTrackerEnabled:!0}),ue.config.win.Squarespace.initializeCartPage(ue),ue.config.win.Squarespace.initializeSvgs(ue);var Ie=le.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortn
67ame;if(ue.Lang.isValue(Ie)&&Ie!==""&&ue.config.win.Squarespace.initializeDisqusCommentLinks(ue),ue.config.doc.location.href.indexOf("logout=true")!==-1&&ue.on("domready",function(){new ue.Squarespace.Widgets.Information({"strings.title":(0,A.t)("Logout Successful"),"strings.message":(0,A.t)("You have been successfully logged out.")})}),le.Static.SQUARESPACE_CONTEXT.websiteSettings.commentsEnabled){var Me=le.Static.SQUARESPACE_CONTEXT.demoCollections,Ve=le.Static.SQUARESPACE_CONTEXT.collectionId,Ne=!1;if(ue.Lang.isArray(Me)&&ue.Lang.isValue(Ve)){var ke=ue.Array.map(Me,function(Rt){return Rt.collectionId});ke.indexOf(Ve)!==-1&&(Ne=!0)}Ne||ue.config.win.Squarespace.addLoadTrigger(".squarespace-comments",["squarespace-dialog","squarespace-comments"])}var et;ue.Squarespace.Utils.isInDamaskFrame()?et=le.top.SQUARESPACE_LOGIN&&le.top.SQUARESPACE_LOGIN.isLoggedIn():et=le.SQUARESPACE_LOGIN&&le.SQUARESPACE_LOGIN.isLoggedIn();var st=le.Static.SQUARESPACE_CONTEXT.showAnnouncementBar;(et||st)&&ue.config.win.Squarespace.addLoadTrigger("body",["squarespace-announcement-bar"]);var Ce=k.default.shouldShowSSBadge({websiteSettings:le.Static.SQUARESPACE_CONTEXT.websiteSettings}),it=k.default.shouldShowMobileInformationBar({win:ue.config.win,isMobile:ue.UA.mobile,settings:le.Static.SQUARESPACE_CONTEXT.websiteSettings.mobileInfoBarSettings}),ct=k.default.shouldShowLicensedAssetsBar({YNodeBody:ue.one(ue.config.doc.body)});(et||Ce||it||ct)&&ue.config.win.Squarespace.addLoadTrigger("body",["squarespace-website-overlays-manager"]);var mt=le.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings,Ct=mt&&k.default.shouldShowPopupOverlay({settings:mt,context:{pageType:le.Static.SQUARESPACE_CONTEXT.pageType,collection:le.Static.SQUARESPACE_CONTEXT.collection},isMobile:ue.UA.mobile,urlSearch:window.location.search});(et||Ct)&&ue.config.win.Squarespace.addLoadTrigger("body",["squarespace-popup-overlay"]),(le==null||(We=le.Static)===null||We===void 0||(qe=We.SQUARESPACE_CONTEXT)===null||qe===void 0?void 0:qe.pageType)===d.default.REVIEWS_REQUEST&&Promise.all([e.e(522),e.e(90612),e.e(38751),e.e(28079),e.e(73237)]).then(e.bind(e,576495)).then(function(Rt){var cn=Rt.bootstrapProductReviewsPage;cn()}),(0,$.default)(ue),ue.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),ue.Lang.isObject(le.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions)&&le.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions.mode!=="disabled"&&ue.config.win.Squarespace.addLoadTrigger(t.PinterestSelectors.TRIGGER_SELECTORS.join(","),["squarespace-pinterest"]),ue.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-list .products-collection-v2",["squarespace-products-collection-list-v2"]),ue.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-item .products-collection-v2",["squarespace-products-collection-item-v2"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-image-zoom-area",["squarespace-image-zoom"]),ue.config.win.Squarespace.addLoadTrigger(".collection-type-blog.view-list .sqs-blog-list",["squarespace-blog-collection-list"]),ue.config.win.Squarespace.addLoadTrigger(".collection-type-gallery .sqs-gallery-list",["squarespace-gallery-collection-list"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-block-calendar",["squarespace-calendar-block-renderer"]),ue.config.win.Squarespace.addLoadTrigger(".collection-type-events.view-list",["squarespace-events-collection"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-product-quick-view-button[data-id]",["squarespace-product-quick-view","squarespace-image-zoom","squarespace-products-collection-item-v2"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-search-page",["squarespace-search-page"]),ue.config.win.Squarespace.addLoadTrigger(".sqs-simple-like",["squarespace-simple-liking"]),ue.config.win.Squarespace.addLoadTrigger(".squarespace-social-buttons",["squarespace-social-buttons"]),ue.one(".sqs-share-buttons")&&e.e(99058).then(e.t.bind(e,374670,23)).then(function(Rt){var cn=Rt.initializeShareButtons,Cn=Rt.destroyShareButtons;le.Squarespace.onInitialize(ue,function(){cn(ue)}),le.Squarespace.onDestroy(ue,function(){Cn(ue)})}),(0,p.initializeAnimations)(ue.config.win);var Ht=ue.Global.on("_syncBodyClasses",we);le.addEventListener("beforeunload",function(){Ht.detach(),Ht=null},{once:!0}),(0,me.markReady)(ue)},le.Squarespace.initializeDisqusCommentLinks=function(ue){var we="#disqus_thread",We="#comment-{id}",qe=ue.all(".sqs-comment-link"),Ie="href",Me="data-id",Ve,Ne=le.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortn
67ame,ke=ue.Lang.isString(Ne)&&Ne!=="";ke?Ve=function(st){return le.Static.SQUARESPACE_CONTEXT.website.baseUrl+st.getAttribute(Ie)+we}:Ve=function(st){return le.Static.SQUARESPACE_CONTEXT.website.baseUrl+st.getAttribute(Ie)+ue.substitute(We,{id:st.getAttribute(Me)})},qe.each(function(et){et.setHTML("Comments"),et.setAttribute(Ie,Ve(et))},this),ke&&(le.disqus_shortname=Ne,ue.Get.script("//"+Ne+".disqus.com/count.js"))},le.Squarespace.initializeCollectionPages=function(ue,we){ue.Squarespace.EventsCollection?(we.all(".sqs-events-collection-list").each(ue.Squarespace.EventsCollection.initializeListView),we.all(".sqs-events-collection-calendar").each(ue.Squarespace.EventsCollection.initializeCalendarView)):ue.config.win.Squarespace.addLoadTrigger(".sqs-events-collection-list, .sqs-events-collection-calendar",["squarespace-events-collection"])},le.Squarespace.initializeLayoutBlocks=function(ue,we){we||(we=ue),this.initializeSummaryV2Block(ue),we.all([".sqs-block-video",".sqs-block-embed"].join(",")).each(function(Ne){(0,oe.default)(Ne,ue,le)}),we.all(".sqs-block-image img[data-image]").each(function(Ne){x.default.initializeImageBlock(Ne,ue)}),we.all(".sqs-block-shape").each(function(Ne){(0,N.initializeShapeBlock)(Ne.getDOMNode())});var We=[".sqs-block-product img[data-image]"];ue.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE&&We.push(".sqs-block-collectionlink img[data-image]"),we.all(We.join(",")).each(function(Ne){x.default.initializeBasicBlockWithImage(Ne,ue)}),we.all(".sqs-block-soundcloud").each(function(Ne){le.Squarespace.initializeSoundcloudBlock(Ne,ue)}),we.all(".sqs-block-map[data-block-json]").each(function(Ne){var ke=ue.JSON.parse(Ne.getAttribute("data-block-json")),et=(0,b.mapModelToViewConfig)(ke),st=(0,S.getResolvedWebsiteLocale)();Ne.setAttribute("data-animation-role","image"),z.default.isSevenOne()&&(et.ui=ue.merge({},et.ui,{scrollwheel:!1})),o.default.createView(et.ui,et.location,Ne.one(".sqs-block-content").getDOMNode(),st)}),le.Squarespace.initializeFormBlocks(we,ue),we.all(".sqs-block-newsletter").each(function(Ne){le.Squarespace.initializeNewsletterBlock(Ne,ue)}),we.all(".sqs-block-donation").each(function(Ne){le.Squarespace.initializeDonationButton(Ne,ue)}),document.querySelectorAll(".sqs-block-accordion").forEach(function(Ne){le.Squarespace.initializeAccordionBlock(Ne)}),document.querySelectorAll(".sqs-block-marquee").forEach(function(Ne){le.Squarespace.initializeMarqueeBlock(Ne)}),document.querySelectorAll(".sqs-block-html .sqsrte-scaled-text-container:first-of-type").forEach(function(Ne){le.Squarespace.initializeScaledText(Ne)}),document.querySelectorAll(".sqs-block-html .sqsrte-text-highlight").forEach(function(Ne){le.Squarespace.initializeTextHighlight(Ne)}),we.all(".sqs-block-button").each(function(Ne){le.Squarespace.initializeButtonBlock(Ne,ue)}),we.all(".sqs-block-member-area").each(function(Ne){le.Squarespace.initializeMemberAreaBlock(Ne,ue)}),le.Squarespace.initializeAspectRatioBlocks(ue);var qe=[".sqs-block-gallery",".sqs-block-video"].join(",");we.all(qe).each(function(Ne){ue.SQS.Gallery.Manager.initializeBlock(Ne)});var Ie=[{selector:".sqs-block-flickr",blockType:i.default.FLICKR},{selector:".sqs-block-instagram",blockType:i.default.INSTAGRAM},{selector:".sqs-block-fivehundredpix",blockType:i.default.FIVEHUNDREDPIX}];Ie.forEach(function(Ne){we.all(Ne.selector).each(function(ke){var et=ke.one(".sqs-gallery-container"),st=et&&et.getAttribute("data-async-rendering-enabled")==="true";st?(0,K.default)(ke,Ne.blockType).then(function(){Squarespace.initializeAspectRatioBlocks(ue),ue.SQS.Gallery.Manager.initializeBlock(ke)}):ue.SQS.Gallery.Manager.initializeBlock(ke)})}),we.all(".sqs-block-opentable").each(function(Ne){le.Squarespace.initializeOpenTableBlock(Ne,ue)}),we.all(".sqs-block-opentable-v2").each(function(Ne){le.Squarespace.initializeOpenTableV2Block(Ne.getDOMNode())}),we.all(".sqs-block-tock").each(function(Ne){(0,P.default)(Ne.getDOMNode())}),ue.Squarespace.Widgets.AudioPlayer?we.all(".sqs-audio-embed").each(ue.Squarespace.Widgets.AudioPlayer.initializeNode):ue.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),ue.Squarespace.Tourdates?we.all
67(".sqs-block-tourdates[data-block-json]").each(ue.Squarespace.Tourdates.initializeNode):ue.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),ue.Squarespace.CalendarBlockRenderer?we.all(".sqs-block.calendar-block[data-block-json]").each(ue.Squarespace.CalendarBlockRenderer.initializeNode):ue.config.win.Squarespace.addLoadTrigger(".sqs-block.calendar-block[data-block-json]",["squarespace-calendar-block-renderer"]);var Me=we.one(".sqs-block-zola");Me&&this.initializeZolaBlocks(Me,ue);var Ve=we.one(".sqs-block-acuity");Ve&&this.initializeAcuityBlocks(Ve,ue),this.initializeSearchBlock(ue),this.initializeChartBlock(ue),this.initializeSocialLinks(ue),this.initializeMenuBlock(ue)},le.Squarespace.initializeSocialLinks=function(ue){ue.UA.gecko<=0||ue.all('use[class^="SocialLinks"][*|href]').each(function(we){var We=we.getAttribute("xlink:href"),qe=We.indexOf("#");qe!==-1&&we.setAttribute("xlink:href",ue.config.win.location.origin+ue.config.win.location.pathname+We.substr(qe))})},le.Squarespace.initializeMenuBlock=function(ue){ue.all(".menu-wrapper").each(function(we){(0,m.initializeMenuBlock)(we._node)})},le.Squarespace.initializePageContent=function(ue,we){le.Squarespace.initializeLayoutBlocks(ue,we),le.Squarespace.initializeCollectionPages(ue,we)},le.Squarespace.initializeImageBlockDynamicElements=function(ue){var we=function(){ue.all(".image-block-v2").each(function(Ie){Ie.toggleClass("sqs-narrow-width",Ie.get("offsetWidth")<415);var Me=Ie.one("img");Me&&We.ImageLoader.load(Me)}),(0,ee.default)(We)},We=ue.config.win;this._resizeEmitter=new ue.Squarespace.ResizeEmitter,this._resizeEmitter.on("resize",we,this),ue.Global.on("tweak:change",we)},le.Squarespace.initializeSummaryV2Block=function(ue){ue.all(".sqs-block-summary-v2").each(function(we){(0,J.default)(we).then(function(){var We,qe,Ie;we.hasAttribute("data-block-json")&&(Ie=JSON.parse(we.getAttribute("data-block-json")).imageAspectRatio),(We=we.one(".summary-block-collection-type-lessons"))===null||We===void 0||We.all(".summary-description").each(function(Me){Me._node.style.visibility="visible";var Ve=Me._node.innerHTML;Ve=Ve.replaceAll(/<p[^>]*>/g,""),Ve=Ve.slice(0,-4),Ve=Ve.replaceAll("</p>","<br/>"),Ve="<p>"+Ve+"</p>",Me._node.innerHTML=Ve}),(qe=we.one(".summary-block-collection-type-lessons"))===null||qe===void 0||qe.all("img").each(function(Me){Me.once("load",function(){window.dispatchEvent(new Event("resize"))},this)}),we.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(Me){var Ve=(0,J.calculateVideoPlaceholderAspectRatio)(Ie);Me.setStyle("paddingBottom",Ve+"%"),Me.get("parentNode").setStyle("paddingBottom",Ve+"%")}),ue.SQS.Gallery.Manager.initializeBlock(we),we.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(Me){var Ve=Me.ancestor(".summary-item").getDOMNode();Ve.classList.remove("no-image")})})})},le.Squarespace.initializeButtonBlock=function(ue,we){(0,I.default)(ue)},le.Squarespace.initializeOpenTableBlock=function(ue,we){(0,L.default)(ue,we)},le.Squarespace.initializeOpenTableV2Block=function(ue){(0,H.default)(ue)},le.Squarespace.initializeZolaBlocks=function(ue,we){var We="zola-wjs",qe=we.config.win.document.getElementById(We);if(qe){if(!we.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE)return;if(we.config.win.ZolaWidget){we.config.win.ZolaWidget.init();return}qe.remove()}var Ie=document.createElement("script");Ie.src=ue.one("[data-zola-script-src]").getAttribute("data-zola-script-src"),Ie.id=We,Ie.async=!0,we.config.win.document.head.appendChild(Ie)},le.Squarespace.initializeAcuityBlocks=function(ue,we){if(we.all(".sqs-block-acu
67ity .sqs-blockStatus-alert-badge").each(function(Ie){Ie.on("hover",function(){(0,R.hoverBlockAlert)()})}),!!we.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE){var We=ue.one("script"),qe=document.createElement("script");qe.src=We.getAttribute("src"),qe.async=!0,We.remove(),ue.appendChild(qe)}},le.Squarespace.initializeSoundcloudBlock=function(ue,we){var We=ue.one("iframe");if(We){var qe=We.getAttribute("src");try{var Ie=we.QueryString.parse(qe).url;if(Ie){var Me=Ie.indexOf("/playlists/")>=0;ue.toggleClass("isPlaylist",Me)}}catch(Ve){console.error("Issue parsing SoundCloud url: "+qe,Ve)}}},le.Squarespace.initializeVideoBlock=function(ue,we){ue.videoloader||ue.plug(we.Squarespace.VideoLoader)},le.Squarespace.initializeFormBlocks=function(ue,we){ue.all(".sqs-block-form").each(function(Me){var Ve=Me.one("form");!Ve||xe(we.config.win,Ve.getDOMNode(),!0)}),(0,G.default)(we.config.doc);var We=".sqs-block-form .lightbox-handle",qe=ue.all(We);if(!qe.isEmpty()){if(we.Squarespace.FormRenderingUtils){we.Squarespace.FormRenderingUtils.initializeFormLightbox(ue);return}we.config.win.Squarespace.addLoadTrigger(We,["squarespace-form-rendering-utils"])}},le.Squarespace.initializeNewsletterBlock=function(ue,we){var We=ue.one(".newsletter-form");if(!!We){xe(we.config.win,We.getDOMNode(),!1);var qe=ue.ancestor();ue.toggleClass("newsletter-form-has-small-container",qe.get("offsetWidth")<320).addClass("rendered")}},le.Squarespace.initializeAccordionBlock=function(ue){(0,v.initializeAccordionBlock)(ue)},le.Squarespace.initializeMarqueeBlock=function(ue){(0,h.default)(ue,Y)},le.Squarespace.initializeScaledText=function(ue){Promise.resolve().then(e.bind(e,708380)).then(function(we){var We=we.default;(0,F.scaleAllTextInNode)(ue),document.fonts.ready.then(function(){(0,F.scaleAllTextInNode)(ue)}),Y.Global.on("tweak:change",function(){window.setTimeout(function(){(0,F.scaleAllTextInNode)(ue)})}),We.on(function(){(0,F.scaleAllTextInNode)(ue)},10)})},le.Squarespace.initializeTextHighlight=function(ue){var we=(0,q.initializeTextHighlight)(ue);Y.Global.on("colors:updateThemeStyles",function(){(0,q.updateTextHighlightColor)(we)})},le.Squarespace.initializeDonationButton=function(ue,we){var We=ue.one(".sqs-donate-button");if(!We){console.error("Careful, there was no button found inside this node!",ue.getDOMNode());return}var qe=function(){we.Squarespace.Commerce.goToDonatePage(We.getAttribute("data-donate-page-id"))};We.on("click",qe),We.on("keydown",function(Ie){(Ie.keyCode===13||Ie.keyCode===32)&&qe()})},le.Squarespace.initializeMemberAreaBlock=function(ue,we){(0,E.setupToggleHandlers)(ue)},le.Squarespace.initializeGlobalLightbox=function(ue){ue.all('[rel="lightbox"][data-lightbox]').plug(ue.Squarespace.Lightbox2Plug)},le.Squarespace.initializeCommerce=function(ue){if(!ue.Squarespace.Commerce.initializeCommerce){console.warn("Commerce rollup not loaded, exiting initializeCommerce() invocation.");return}ue.Squarespace.Commerce.initializeCommerce(ue)},le.Squarespace.initializeChartBlock=function(ue){ue.ChartJS&&ue.ChartJS.initializeCharts?ue.ChartJS.initializeCharts():ue.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"])},le.Squarespace.initializeVideo=function(ue){ue.all(".sqs-video-wrapper").each(function(we){!we.videoloader&&!we.ancestor(".sqs-block-video")&&!we.ancestor(".slide")&&we.plug(ue.Squarespace.VideoLoader,{load:we.getAttribute("data-load")!=="false"})})},le.Squarespace.initializeNativeVideo=function(ue,we){var We=we.parentElement,qe=we.activityTrackerEnabled,Ie=".sqs-native-video",Me=We?We.all(Ie):ue.all(Ie);Me.isEmpty()||Promise.all([e.e(6370),e.e(30921),e.e(26251)]).then(e.bind(e,789640)).then(function(){ue.use("squarespace-native-video-loader"),Me.each(function(Ve){Ve.plug(ue.Squarespace.NativeVideoLoader,{activityTrackerEnabled:qe})})})},le.Squarespace.initializeSearchBlock=function(ue){var we=ue.all(".sqs-search-ui-text-input");if(!we.isEmpty()){if(!ue.Squarespace.Widgets.SearchPreview&&ue.one(".sqs-search-ui-text-input")){Promise.all([e.e(92187),e.e(61260)]).then(e.bind(e,587045)).then(function(){ue.use("squarespace-search-preview")});return}ue.Squarespace.Widgets.SearchPreview.renderAllSearchPreviewNodes()}};var Je=function(we){var We=(0,n.default)(we,"SQS.LayoutEngine.AspectRatioManager");We&&We.initAllBlocks()};le.Squarespace.initializeAspectRatioBlocks=Je,le.Squarespace._userHasViewerRole=function(ue){return ue?Object.keys(ue).length>0&&ue[u.default.VIEWER]:!1},le.Squarespace.initializeCartPage=function(ue){(0,g.isCartPage)(le)&&Promise.all([e.e(38751),e.e(65704),e.e(70127)]).then(e.bind(e,290195)).then(function(we){var We=we.bootstrapCartPage,qe=we.unmountCartPage;le.Squarespace.onInitialize(ue,function(){(0,g.isCartPage)(le)&&We({
67setLocale:A.setLocale})}),le.Squarespace.onDestroy(ue,function(){(0,g.isCartPage)(le)&&qe()})})},le.Squarespace.initializeSvgs=function(ue){ue.config.win.Squarespace.onInitialize(ue,function(){ue.on("domready",function(){ve&&e.e(11268).then(e.bind(e,936947)).then(function(we){var We=we.default;We.parse()})})})},window.SquarespaceFonts=(0,Se.default)(le),z.default.isSevenOne()&&le.document.addEventListener("DOMContentLoaded",function(){Re()||_e()})},Common(window)},758020:function(){"use strict";typeof console=="undefined"&&(console={assert:function(){},group:function(){},groupEnd:function(){},log:function(){},dir:function(){},warn:function(){},error:function(f){var e=Array.prototype.slice.call(arguments);throw new Error(e)}})},485e3:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=t(e(420651)),n=e(687e3),a=t(e(708659));function t(i){return i&&i.__esModule?i:{default:i}}function r(i){if(!(!i||!(0,s.default)(i,"config.win.Static.COOKIE_BANNER_CAPABLE"))){var o=(0,s.default)(i,"config.win.Static.SQUARESPACE_CONTEXT.cookieSettings"),d=o&&a.default.shouldShowCookieBanner({settings:o,urlSearch:window.location.search});d&&(0,n.mount)(i.config.win.Static.SQUARESPACE_CONTEXT.cookieSettings),i.Global.on("cookieBanner:force",function(l){!(0,s.default)(i,"config.win.document.body")||((0,n.mount)(i.merge({force:!0},l)),i.config.win.document.body.classList.add("sqs-cookie-banner-v2-forced"),i.Global.once("cookieBanner:unforce",function(g){i.Global.detach("cookieBanner:update"),!!(0,s.default)(i,"config.win.document.body")&&(i.config.win.document.body.classList.remove("sqs-cookie-banner-v2-forced"),(0,n.mou
67nt)(g))}),i.Global.on("cookieBanner:update",function(g){!(0,s.default)(i,"config.win.document.body")||((0,n.unmount)(),(0,n.mount)(i.merge({force:!0},g)))}))})}}},897418:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return l}});var s=t(e(734422));function n(c,g){(g==null||g>c.length)&&(g=c.length);for(var v=0,h=new Array(g);v<g;v++)h[v]=c[v];return h}function a(c){if(Array.isArray(c))return n(c)}function t(c){return c&&c.__esModule?c:{default:c}}function r(c){if(typeof Symbol!="undefined"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(c){return a(c)||r(c)||d(c)||i()}function d(c,g){if(!!c){if(typeof c=="string")return n(c,g);var v=Object.prototype.toString.call(c).slice(8,-1);if(v==="Object"&&c.constructor&&(v=c.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return n(c,g)}}var u=[".image-block-v2 .sqs-dynamic-text-container"].join(",");function l(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;o(c.document.querySelectorAll(g)).forEach(function(v){return(0,s.default)(v)})}},927674:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return a}});var s=e(743738),n=function(t,r){if(!!t){var i=t.getAttribute("data-block-json");if(i){var o=r.JSON.parse(i);o&&o.providerName!=="Twitter"&&t.get("children").each(function(d){return d.resizetoparent({sizeonly:!0})})}t.setStyles({visibility:"visible",opacity:1,height:"auto"})}},a=function(t,r,i){var o=t.one(".sqs-block-content");if(!!o){(0,s.securifyBlockEmbed)(o);var d=o.test(".sqs-block-video .sqs-block-content");if(d){var u=o.one(".sqs-video-wrapper");u&&i.Squarespace.initializeVideoBlock(u,r);return}var l=o.one(".intrinsic");l||n(o,r)}}},419510:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=n(e(529813));function n(r){return r&&r.__esModule?r:{default:r}}var a="//fonts.googleapis.com/css2",t=function(r){var i=function(u){var l=u.map(function(c){return"family=".concat(c)}).join("&");return"".concat(a,"?").concat(l)},o=function(u){var l=r.document.createElement("link");l.rel="stylesheet",l.href=u;var c=r.document.getElementsByTagName("script")[0];c.parentNode.insertBefore(l,c)};return{alreadyLoaded:[],alreadyPreloaded:[],load:function(u){if(u=u||{},u.googleFamilies=u.googleFamilies||[],u.googleFamilies==="all"){if(this.everythingLoaded)return;u.googleFamilies=[];for(var l in r.Static.SQUARESPACE_CONTEXT.googleFonts){var c=r.Static.SQUARESPACE_CONTEXT.googleFonts[l];u.googleFamilies.push(c.includeName)}this.everythingLoaded=!0}else for(var g=0;g<u.googleFamilies.length;g++)this.alreadyLoaded.indexOf(u.googleFamilies[g])===-1?this.alreadyLoaded.push(u.googleFamilies[g]):(u.googleFamilies.splice(g,1),g--);u.googleFamilies.length!==0&&o(i(u.googleFamilies))},loadViaContext:function(){var u={googleFamilies:r.Static.SQUARESPACE_CONTEXT.googleFonts};r.Static.SQUARESPACE_CONTEXT.website.typekitId&&(u.typeKit={id:r.Static.SQUARESPACE_CONTEXT.website.typekitId}),this.load(u)},setupTypekit:function(){if(!r.TypekitPreview){console.error("TypekitPreview not available");return}if(!this.isTypekitSetup)try{r.TypekitPreview.setup({auth_id:"ss",auth_token:"BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D"}),this.isTypekitSetup=!0}catch(u){console.error(u),s.default.trackCaughtError("common","TypekitPreview.setup issue",u.stack)}},loadTypekit:function(u,l){this.setupTypekit();var c=[],g;try{if(r.Y.Lang.isArray(u))u.forEach(function(v,h){if(!(this.alreadyLoaded.indexOf(v)!==-1&&this.alreadyPreloaded.indexOf(v)!==-1)){if(g=r.Static.SQUARESPACE_CONTEXT.typekitFonts[v],!g)throw new Error('Requested font no longer in Typekit "'+v+'"');this.alreadyPreloaded.push(v),c.push({id:g.id,css_name:v,variations:["n4"]})}});else{if(this.alreadyLoaded.indexOf(u)!==-1){l&&l();return}if(g=r.Static.SQUARESPACE_CONTEXT.typekitFonts[u],!g)throw new Error('Requested font no longer in Typekit "'+u+'"');this.alreadyLoaded.push(u),c.push({id:g.id,css_name:u,variations:g.variations})}r.TypekitPreview.load(c,{active:function(){l&&l()},inactive:function(){l&&l()}})}catch(v){console.error(v),s.default.trackCaughtError("common","loadTypekit issue",v.stack)}},preloadTypekit:function(u,l){this.setupTypekit();for(var c=[],g=0;g<u.length;g++)this.alreadyPreloaded.indexOf(u[g])!==-1||this.alreadyLoaded.indexOf(u[g])!==-1||(this.alreadyPreloaded.push(u[g]),c.push({id:r.Static.SQUARESPACE_CONTEXT.typekitFonts[u[g]]?r.Static.SQUARESPACE_CONTEXT.typekitFonts[u[g]].id:r.Static.SQUARESPACE_CONTEXT.typekitkitFonts[u[g]].id,css_name:u[g],variations:["n4"]}));r.TypekitPreview.load(c,{active:function(){l&&l()},inactive:function(){l&&l()}})}}}},884600:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});var s=a(e(420651)),n=e(955905);function a(o){return o&&o.__esModule?o:{default:o}}function t(o){try{var d=o.top!==o,u=(0,s.default)(o,"top.YUI.Env",!1);return d&&u}catch(l){}return!1}function r(o){return o.top.Static.SQUARESPACE_CONTEXT}function i(o){var d=n.IS_SQUARESPACE_MOBILE_APP||t(o);if(!!d){o.YUI.Env.globalEvents=o.top.YUI.Env.globalEvents;var u=(0,s.default)(o,"StaticActions.bootstrap",null);if(!!u){var l=r(o);u(l)}}}},192108:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(d,u){for(var l in u)Object.defineProperty(d,l,{enumerable:!0,get:u[l]})}e(f,{initializers:function(){return s},destructors:function(){return n},onInitialize:function(){return a},onDestroy:function(){return t},markReady:function(){return r},globalDestroy:function(){return i},mixin:function(){return o}});var s=[],n=[],a=function(d,u){s.map(function(l){return l.toString()}).indexOf(u.toString())===-1&&(d.config.win.Squarespace.INITIALIZED&&u(),s.push(u))},t=function(d,u){n.map(function(l){return l.toString()}).indexOf(u.toString())===-1&&n.push(u)},r=function(d){d.config.win.Squarespace.INITIALIZED||(s.forEach(function(u){try{u()}catch(l){console.error("[mercury.markReady] Error invoking initializer.",l)}}),d.config.win.Squarespace.INITIALIZED=!0,d.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!0)},i=function(d){!d.config.win.Squarespace.INITIALIZED||(d.config.win.Squarespace.INITIALIZED=!1,n.forEach(function(u){return u()}))},o=function(d){d.Squarespace=d.Squarespace||{},d.Squarespace.onInitialize=a,d.Squarespace.onDestroy=t,d.Squarespace.globalMarkReady=r,d.Squarespace.globalDestroy=i}},318793:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return e}});function e(s){s.Static.SQUARESPACE_CONTEXT.collection&&(s.Static.SQUARESPACE_CONTEXT.collectionId=s.Static.SQUARESPACE_CONTEXT.collection.id),s.Static.SQUARESPACE_CONTEXT.item&&(s.Static.SQUARESPACE_CONTEXT.itemId=s.Static.SQUARESPACE_CONTEXT.item.id)}},935438:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return n}});var e=function(a,t,r,i){var o=t.value.length;r.innerText="".concat(o," / ").concat(i),a.classList.toggle("error",o>i)},s=function(a){var t=a.querySelector("textarea");if(!(!t||t.dataset.characterCounter)){t.dataset.characterCounter=!0;var r;if(r=parseInt(a.dataset.maxLength,10),r=isNaN(r)?0:Math.max(r,0),r!==0){var i=document.createElement("div");i.style.textAlign="right",a.appendChild(i),e(a,t,i,r),t.addEventListener("input",function(o){e(a,t,i,r)})}}};function n(a){Array.from(a.querySelectorAll(".textarea[data-max-length]")).forEach(s)}},958526:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(P,_){for(var b in _)Object.defineProperty(P,b,{enumerable:!0,get:_[b]})}s(f,{DEFAULT_CTA_TEXT:function(){return i},DEFAULT_TEXT:function(){return o},VARIANTS:function(){return d},BAR_POSITIONS:function(){return u},POPUP_POSITIONS:function(){return l},THEMES:function(){return c},CTA_VARIANTS:function(){return g},DEFAULT_OPT_OUT_TEXT:function(){return v},ACCEPT_TYPES:function(){return h},STRINGS:function(){return m}});var n=e(869235),a=r(e(979313));function t(P,_,b){return _ in P?Object.defineProperty(P,_,{value:b,enumerable:!0,configurable:!0,writable:!0}):P[_]=b,P}function r(P){return P&&P.__esModule?P:{default:P}}var i=(0,n.t)("Accept"),o=(0,n.t)("By using this website, you agree to our use of cookies. We use cookies to provide you with a great experience and to help our website run effectively."),d=(0,a.default)("BAR","POPUP"),u=(0,a.default)("TOP","BOTTOM"),l=(0,a.default)("TOP_LEFT","TOP_RIGHT","BOTTOM_LEFT","BOTTOM_RIGHT"),c=(0,a.default)("LIGHT","DARK"),g=(0,a.default)("TEXT","BUTTON","ICON"),v=(0,n.t)("Decline"),h=(0,a.default)("OPT_IN","OPT_IN_AND_OUT"),p,m=(p={},t(p,d.BAR,(0,n.t)("Bar")),t(p,d.POPUP,(0,n.t)("Pop-up")),t(p,u.TOP,(0,n.t)("Top")),t(p,u.BOTTOM,(0,n.t)("Bottom")),t(p,l.TOP_LEFT,(0,n.t)("Top Left")),t(p,l.TOP_RIGHT,(0,n.t)("Top Right")),t(p,l.BOTTOM_LEFT,(0,n.t)("Bottom Left")),t(p,l.BOTTOM_RIGHT,(0,n.t)("Bottom Right")),t(p,c.LIGHT,(0,n.t)("Light")),t(p,c.DARK,(0,n.t)("Dark")),t(p,g.TEXT,(0,n.t)("Text")),t(p,g.BUTTON,(0,n.t)("Button")),t(p,g.ICON,(0,n.t)("Icon")),t(p,h.OPT_IN,(0,n.t)("Opt-in")),t(p,h.OPT_IN_AND_OUT,(0,n.t)("Opt-in & Out")),p)},575266:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function e(i,o){for(var d in o)Object.defineProperty(i,d,{enumerable:!0,get:o[d]})}e(f,{zIndexes:function(){return s},yuiDialogClassName:function(){return n},yuiDialogOverlayClassName:function(){return a},yuiDialogSelector:function(){return t},yuiDialogOverlaySelector:function(){return r}});var s={};s.BASE=3e4;var n="squarespace-managed-ui",a="dialog-screen-overlay",t=".".concat(n),r=".".concat(a)},263392:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return u}});var s=a(e(725771));function n(l,c,g){return c in l?Object.defineProperty(l,c,{value:g,enumerable:!0,configurable:!0,writable:!0}):l[c]=g,l}function a(l){return l&&l.__esModule?l:{default:l}}var t=100,r=150,i=67,o,d=(o={},n(o,s.default.CIRCLE,t),n(o,s.default.DIAMOND,t),n(o,s.default.BOTTOM_LEFT_CURVE,t),n(o,s.default.RABBET,t),n(o,s.default.FOUR_PETAL_FLOWER,t),n(o,s.default.FOUR_POINT_STAR,t),n(o,s.default.DESCENDING_RAMP,t),n(o,s.default.DESCENDING_STAIRS,t),n(o,s.default.OCTAGON,t),n(o,s.default.STEPPED_CROSS,t),n(o,s.default.TV,t),n(o,s.default.OPEN_BOOK,t),n(o,s.default.FLOWER,t),n(o,s.default.EIGHT_SIDED_SHIELD,t),n(o,s.default.ROUNDED_PENTAGON,t),n(o,s.default.GEAR,t),n(o,s.default.VERTICAL_OVAL,r),n(o,s.default.HOURGLASS,r),n(o,s.default.KEYSTONE,r),n(o,s.default.VERTICAL_PARALLELOGRAM,r),n(o,s.default.VERTICAL_RIGHT_LEANING_OVAL,r),n(o,s.default.ARCHED_WINDOW,r),n(o,s.default.VERTICAL_STACKED_CIRCLES,r),n(o,s.default.POINTED_WINDOW,r),n(o,s.default.AWARD,r),n(o,s.default.NARROW_HORIZONTAL_STACKED_PILLS,r),n(o,s.default.EGG,r),n(o,s.default.NARROW_POW,r),n(o,s.default.HORIZONTAL_STACKED_CIRCLES,i),n(o,s.default.WIDE_VERTICAL_STACKED_PILLS,i),n(o,s.default.WIDE_HORIZONTAL_STACKED_PILLS,i),n(o,s.default.HORIZONTAL_OVAL,i),n(o,s.default.HORIZONTAL_RIGHT_LEANING_OVAL,i),n(o,s.default.WIDE_EIGHT_SIDED_SHIELD,i),n(o,s.default.WIDE_OPEN_BOOK,i),o),u=d},472583:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e;(function(n){n.API_KEY_CREATION_MODAL_COPY="api_key_creation_modal_copy",n.API_KEY_CREATION_MODAL_CANCEL="api_key_creation_modal_cancel",n.API_KEY_CREATION_MODAL_NEXT="api_key_creation_modal_next",n.API_KEY_CREATION_MODAL_COMPLETE="api_key_creation_modal_complete",n.API_KEYS_PANEL_CREATE_KEY="api_keys_panel_create_key",n.API_KEYS_PANEL_LEARN_MORE="api_keys_panel_learn_more",n.API_KEYS_PANEL_TERMS_OF_USE="api_keys_panel_terms_of_use",n.API_KEYS_PANEL_DELETE_KEY="api_keys_panel_delete_key",n.API_KEYS_PANEL_DELETE_KEY_CONFIRM="api_keys_panel_delete_key_confirm"})(e||(e={}));var s=e},252423:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e;(function(n){n.CART_PAGE_PRODUCT_FORM_OPEN="commerce_cart_page_product_form_open",n.CART_PAGE_PRODUCT_FORM_CLOSE="commerce_cart_page_product_form_close",n.CART_PAGE_PRODUCT_FORM_SUBMIT="commerce_cart_page_product_form_submit",n.CART_PAGE_LOADED="commerce_cart_page_loaded",n.CREATE_CUSTOMER_ACCOUNT="CompleteRegistration",n.ADD_TO_CART="AddToCart",n.SEARCH="Search",n.SUBSCRIBE_NEWSLETTER="Lead",n.VIEW_PRODUCT_PAGE="ViewContent",n.PURCHASE="Purchase",n.INVENTORY_PANEL_SEARCH_PRODUCTS="commerce_inventory_panel_search_products",n.INVENTORY_PANEL_SORT_ON_NAME="commerce_inventory_panel_sort_on_name",n.INVENTORY_PANEL_SORT_ON_STOCK="commerce_inventory_panel_sort_on_stock",n.INVENTORY_PANEL_SORT_ON_PRICE="commerce_inventory_panel_sort_on_price",n.INVENTORY_PANEL_CLICK_ROW_EXPANDER="commerce_inventory_panel_click_row_expander",n.INVENTORY_PANEL_CLICK_ROW="commerce_inventory_panel_click_row",n.INVENTORY_PANEL_CLICK_NEXT_PAGE="commerce_inventory_panel_click_next_page",n.INVENTORY_PANEL_SETTINGS_OPEN="commerce_inventory_panel_settings_open",n.INVENTORY_PANEL_SETTINGS_CLOSE="commerce_inventory_panel_settings_close",n.INVENTORY_PANEL_SETTINGS_SAVE="commerce_inventory_panel_settings_save",n.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_PDP="commerce_inventory_panel_settings_toggle_scarcity_pdp",n.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_BLOCKS="commerce_inventory_panel_settings_toggle_scarcity_blocks",n.INVENTORY_PANEL_SETTINGS_CHANGE_SCARCITY_THRESHOLD="commerce_inventory_panel_settings_change_scarcity_threshold",n.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_U
67RL_COPY="commerce_facebook_ads_feed_url_copy",n.FACEBOOK_PIXEL_SAVE_ID="commerce_facebook_pixel_save_id"})(e||(e={}));var s=e},217211:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});var s=a(e(885363));function n(o,d,u){return d in o?Object.defineProperty(o,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[d]=u,o}function a(o){return o&&o.__esModule?o:{default:o}}var t,r=(t={},n(t,s.default.LEFT,-1),n(t,s.default.RIGHT,1),t),i=r},111168:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return v}});var s=t(e(293298));function n(h,p){(p==null||p>h.length)&&(p=h.length);for(var m=0,P=new Array(p);m<p;m++)P[m]=h[m];return P}function a(h){if(Array.isArray(h))return n(h)}function t(h){return h&&h.__esModule?h:{default:h}}function r(h){if(typeof Symbol!="undefined"&&h[Symbol.iterator]!=null||h["@@iterator"]!=null)return Array.from(h)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(h){return a(h)||r(h)||d(h)||i()}function d(h,p){if(!!h){if(typeof h=="string")return n(h,p);var m=Object.prototype.toString.call(h).slice(8,-1);if(m==="Object"&&h.constructor&&(m=h.constructor.name),m==="Map"||m==="Set")return Array.from(m);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return n(h,p)}}var u=new s.default;if(!1)var l,c,g;var v=u},493230:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return P}}),e(595079);var s=d(e(848749)),n=d(e(734520)),a=e(158709),t=d(e(211184));function r(_,b){if(!(_ instanceof b))throw new TypeError("Cannot call a class as a function")}function i(_,b,S){return b in _?Object.defineProperty(_,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):_[b]=S,_}function o(_,b){return b!=null&&typeof Symbol!="undefined"&&b[Symbol.hasInstance]?!!b[Symbol.hasInstance](_):_ instanceof b}function d(_){return _&&_.__esModule?_:{default:_}}function u(_){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{},E=Object.keys(S);typeof Object.getOwnPropertySymbols=="function"&&(E=E.concat(Object.getOwnPropertySymbols(S).filter(function(A){return Object.getOwnPropertyDescriptor(S,A).enumerable}
67))),E.forEach(function(A){i(_,A,S[A])})}return _}var l={trimZeroFractions:!1,group:!0},c=/^(\d+)(\d{3})/;function g(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return _.replace(".",b)}function v(_){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";_.match(c);)_=_.replace(c,"$1".concat(b,"$2"));return _}function h(_){return u({},a.DEFAULT_CURRENCY_TEMPLATE,_.DEFAULT||{})}function p(_,b){return u({},_.DEFAULT,_[b]||{})}function m(_,b,S){return S.trimZeroFractions&&(0,s.default)(_)?0:(0,a.getFractionDigits)(b)}var P=function(){"use strict";function _(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r(this,_),this.templates=a.CurrencyTemplates[S]||{},this.templates.DEFAULT=h(this.templates),this.templates,E&&_.enableDebugging(),this.locale=S}var b=_.prototype;return b.format=function(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!o(E,n.default))throw new Error("Format expects a Money instance.");A=u({},l,A);var T=_.debug?"\uD83D\uDCB0":"",I=E.toFloat(),R=Math.abs(I),j=I<0?"-":"",x=E.currencyCode,L=p(this.templates,x),H=m(I,x,A),G=String((0,t.default)(R,H).toFixed(H));G=g(G,L.decimalSeparator),A.group&&(G=v(G,L.thousandsSeparator));var X=L.symbol,K=L.formatter,J=K({currencyCode:x,symbol:X,value:G,sign:j});return T+J+T},_.enableDebugging=function(){_.debug=!0},_.disableDebugging=function(){_.debug=!1},_}()},981912:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(v,h){for(var p in h)Object.defineProperty(v,p,{enumerable:!0,get:h[p]})}s(f,{MoneyFormatterProvider:function(){return c},moneyFormatterProviderInstance:function(){return g}});var n=u(e(646709)),a=e(716406),t=e(869235),r=u(e(493230));function i(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function o(v,h){for(var p=0;p<h.length;p++){var m=h[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(v,m.key,m)}}function d(v,h,p){return h&&o(v.prototype,h),p&&o(v,p),v}function u(v){return v&&v.__esModule?v:{default:v}}var l={format:t.formatMoney,get templates(){throw new Error("[MoneyFormatterProvider] custom templates are not supported in CLDR mode")}},c=function(){"use strict";function v(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;i(this,v),this.useCldrMode=p,this.commerceMoneyFormatter=new r.default("native")}var h=v.prototype;return h.setUseCldrMode=function(m){this.useCldrMode=m},d(v,[{key:"formatter",get:function(){return this.useCldrMode?l:this.commerceMoneyFormatter}}]),v}(),g=new c(a.legacyV6Flags.isFeatureEnabled(n.default.CLDR_NUMBER_FORMATTER))},300365:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),e(86585);var s=e(245090),n=a(e(869235));function a(t){return t&&t.__esModule?t:{default:t}}(0,s.setI18nInstance)(n.default)},738783:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),e(300365),e(893655);var s=e(572904),n=a(e(869235));function a(t){return t&&t.__esModule?t:{default:t}}(0,s.setI18nInstance)(n.default)},595079:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=a(e(869235)),n=e(995823);function a(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(s.default)},893655:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(358322),n=a(e(869235));function a(t){return t&&t.__esModule?t:{default:t}}(0,s.setI18nInstance)(n.default)},86585:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var s=e(121656),n=e(854153),a=e(240096),t=r(e(869235));function r(i){return i&&i.__esModule?i:{default:i}}(0,s.setI18nInstance)(t.default),(0,n.setI18nInstance)(t.default),(0,a.setI18nInstance)(t.default)},819063:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),e(86585);var s=a(e(869235)),n=e(206158);function a(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(s.default)},254775:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(i,o){for(var d in o)Object.defineProperty(i,d,{enumerable:!0,get:o[d]})}s(f,{websiteLocale:function(){return t},memberAccountLocale:function(){return a},default:function(){return r}});var n=e(899241),a=(0,n.getResolvedMemberLocale)(),t=(0,n.getWebsiteLocaleFromContext)()||a;function r(){return{website_locale:t,member_account_locale:a}}},535485:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(J,z){for(var k in z)Object.defineProperty(J,k,{enumerable:!0,get:z[k]})}s(f,{ACCORDION_ITEMS_CONTAINER_SELECTOR:function(){return t},ACCORDION_ITEM_CLICK_TARGET_CLASSNAME:function(){return r},ACCORDION_ITEM_CLICK_TARGET_SELECTOR:function(){return i},ACCORDION_ITEM_CLASSNAME:function(){return o},ACCORDION_ITEM_SELECTOR:function(){return d},ACCORDION_DROPDOWN_CLASSNAME:function(){return u},ACCORDION_DROPDOWN_SELECTOR:function(){return l},DROPDOWN_OPEN_CLASSNAME:function(){return c},DROPDOWN_PRE_OPEN_CLASSNAME:function(){return g},IS_EXPANDED_FIRST_ITEM_ATTRIBUTE:function(){return v},initializeAccordionBlock:function(){return h},openAccordionItem:function(){return p},closeAccordionItem:function(){return m},closeAllAccordionItems:function(){return P},toggleRelevantAccordionItem:function(){return _},syncIsFirstItemExpanded:function(){return b},getInitialAccordionBlockHeight:function(){return S}});var n=e(54842),a=250,t=".accordion-items-container",r="accordion-item__click-target",i=".".concat(r),o="accordion-item",d=".".concat(o),u="accordion-item__dropdown",l=".".concat(u),c="accordion-item__dropdown--open",g="accordion-item__dropdown--pre-open",v="data-is-expanded-first-item";function h(J){var z=J.querySelector(t),k=Array.from(z.querySelectorAll(d)),F=z.getAttribute("data-should-allow-multiple-open-items")==="true",q=!0;k.forEach(function(N,M){var U=N.querySelector(i),Q=N.querySelector(l);U.addEventListener("click",function(){I({item:N,dropdownElement:Q,accordionItems:k,allowMultipleOpenItems:F,shouldAnimate:q})}),K(J,U,Q,M)}),b(z)}function p(J,z,k){var F=J.querySelectorAll(d)[z];if(!!F){var q=F.querySelector(l);R(F,q,k)}}function m(J,z,k){var F=J.querySelectorAll(d)[z];if(!!F){var q=F.querySelector(l);x(F,q,k)}}function P(J,z){var k=Array.from(J.querySelectorAll(d));H(k,z)}function _(J,z){var k=A(z),F=!1,q=k!==-1&&typeof k!="undefined";q?p(J,k,F):P(J,F)}function b(J,z){if(!E(z)){var k=J.getAttribute(v)==="true",F=0;k?p(J,F):m(J,F)}}function S(J){var z=J.querySelector(t);if(!z)return J.clientHeight;var k=Array.from(z.querySelectorAll(d)),F=k.filter(G);H(k),b(z);var q=z.clientHeight;return F.forEach(function(N){var M=N.querySelector(l);R(N,M)}),q}function E(J){var z=["accordionItems/","accordionItemDescription"],k=new RegExp(z.join("|")).test(J);return k}function A(J){var z=J?J.split("/")[1]:-1;return T(J)&&(z=0),z}function T(J){var z=new Set(["accordionItemDescription"]);return z.has(J)}function I(J){var z=J.item,k=J.dropdownElement,F=J.accordionItems,q=J.allowMultipleOpenItems,N=J.shouldAnimate,M=z.hasAttribute("data-is-item-animating");M||(G(z)?x(z,k,N):(q||H(F,N),R(z,k,N)))}function R(J,z,k){var F=J.querySelector(i);if(J.setAttribute("data-is-open","true"),F.setAttribute("aria-expanded","true"),!k){z.classList.add(c);return}j(J,z)}function j(J,z){J.setAttribute("data-is-item-animating","true"),z.classList.add(g);var k=z.getBoundingClientRect().height;z.classList.remove(g),z.style.height="0px",z.classList.add(c),z.style.transition="height "+a+"ms "+n.easing.product.default,X(function(){z.style.height=k+"px",window.setTimeout(function(){z.style.removeProperty("height"),z.style.removeProperty("transition"),J.removeAttribute("data-is-item-animating")},a)})}function x(J,z,k){var F=J.querySelector(i);if(J.removeAttribute("data-is-open"),F.setAttribute("aria-expanded","false"),!k){z.classList.remove(c);return}L(J,z)}function L(J,z){J.setAttribute("data-is-item-animating","true");var k=z.getBoundingClientRect().height;z.style.height=k+"px",z.style.transition="height "+a+"ms "+n.easing.product.default,X(function(){z.style.height="0px",window.setTimeout(function(){z.classList.remove(c),z.style.removeProperty("height"),z.style.removeProperty("transition"),J.removeAttribute("data-is-item-animating")},a)})}function H(J,z){var k=J.filter(G);k.forEach(function(F){var q=F.querySelector(l);x(F,q,z)})}function G(J){return J.hasAttribute("data-is-open")}function X(J){window.requestAnimationFrame(function(){window.requestAnimationFrame(J)})}function K(J,z,k,F){var q=J.id;if(!!q){var N="button-"+q+"-"+F,M="dropdown-"+q+"-"+F;z.setAttribute("id",N),z.setAttribute("aria-controls",M),k.setAttribute("id",M),k.setAttribute("aria-labelledby",N)}}},566101:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}s(f,{animationsQueries:function(){return l},polyfillAndObserve:function(){return g},initializeAnimations:function(){return v}});var n=e(361094),a=i(e(964671)),t=e(345974),r=e(581945);function i(h){return h&&h.__esModule?h:{default:h}}var o=(0,r.createLoggers)("BlockAnimationsInitializer","#fc0"),d=o.err,u,l=['[class*="block-animation-"]:not(.block-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-animation-"]:not(.individual-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-text-animation-"]:not(.individual-text-animation-none):not(.animation-loaded)','[class*="combination-animation-"]:not(.combination-animation-none):not([class*="combination-animation-custom"]):not(.animation-loaded)'].join(","),c=function(p,m){p.forEach(function(P){if(!document.body.contains(P.target)){m.unobserve(P.target);return}var _=P.target.querySelector("img.loading");if(_){if(_.dataset.queuedBlockAnimation)return;_.dataset.queuedBlockAnimation="true";var b=function(E){E.currentTarget.removeEventListener("load",b),c([P],m)};_.addEventListener("load",b);return}if((0,t.isRatioIntersecting)(P)){if(P.target.classList.add("animation-loaded"),!m||!m.unobserve){d("missing IntersectionObserver");return}m.unobserve(P.target)}})},g=function(h){if(!h||!h.document){d("Cannot init animations without a window context");return}(0,a.default)().then(function(){u||(u=new IntersectionObserver(c,{root:null,threshold:[0,.1,.25,.5,1]}));var p=h.document.body.querySelectorAll(l);p.length>0&&p.forEach(function(P){P.classList.remove("animation-loaded"),u.observe(P)})}).catch(function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};d(p.message)})},v=function(h){if(!h||!h.document){d("Cannot init animations without a window context");return}(0,n.isEditMode)(h)||(g(h),h.addEventListener("load",function(){return g(h)}),h.Y&&h.Y.on("template:dynamicPageReady",function(){return g(h)}),h.addEventListener("beforeunload",function(){u&&u.disconnect()}))}},370702:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(i,o){for(var d in o)Object.defineProperty(i,d,{enumerable:!0,get:o[d]})}e(f,{setEventReduxMirror:function(){return t},getEventMetaFromReduxMirror:function(){return r}});function s(i,o,d){return o in i?Object.defineProperty(i,o,{value:d,enumerable:!0,configurable:!0,writable:!0}):i[o]=d,i}function n(i){for(var o=1;o<arguments.length;o++){var d=arguments[o]!=null?arguments[o]:{},u=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(d).filter(function(l){return Object.getOwnPropertyDescriptor(d,l).enumerable}))),u.forEach(function(l){s(i,l,d[l])})}return i}var a={},t=function(i){a=n({},a,i)},r=function(){var i={};return a.frameDeviceView&&(i.display_mode=a.frameDeviceView==="phone"?"mobile":a.frameDeviceView),i}},2007:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(Ee,xe){for(var _e in xe)Object.defineProperty(Ee,_e,{enumerable:!0,get:xe[_e]})}s(f,{editCollectionItem:function(){return b},saveCollectionItem:function(){return S},cancelEditCollectionItem:function(){return E},duplicateCollectionItem:function(){return A},_deleteCollectionItem:function(){return T},changePageEnabled:function(){return I},changeItemVisibility:function(){return R},clickPaywallOnboardingModal:function(){return j},openPaywallingModal:function(){return x},updatePaywallToggle:function(){return L},openPaywallSetting:function(){return H},savePaywallSetting:function(){return G},deleteCollectionItemFromPanel:function(){return X},deleteCollectionItemFromModal:function(){return K},viewBlogPublishedModal:function(){return J},clickBlogPublishedModalCopyLink:function(){return z},clickBlogPublishedModalSocialIcon:function(){return k},clickBlogPublishedModalCreateCampaignsDraft:function(){return F},addTag:function(){return q},hoverBlockAlert:function(){return N},changeMainImage:function(){return M},deleteMainImage:function(){return U},dropsCollectionIntoNav:function(){return Q},addItemToCollection:function(){return $},moveItemBetweenCollections:function(){return ee},clickManageCollectionInSection:function(){return oe},viewManageCollection:function(){return pe},clickCollectionSettingsGear:function(){return me},clickItemSettingsCog:function(){return Se},clickMetadata:function(){return Pe},saveCollection:function(){return He},cloneDemoCollectionModalShown:function(){return fe},userCloneDemoCollection:function(){return ve},deleteDemoCollectionErrorModalShown:function(){return ae},userDeleteDemoCollection:function(){return le}});var n=d(e(781206)),a=e(554855),t=d(e(999546)),r=d(e(867623)),i=d(e(104348));function o(Ee,xe,_e){return xe in Ee?Object.defineProperty(Ee,xe,{value:_e,enumerable:!0,configurable:!0,writable:!0}):Ee[xe]=_e,Ee}function d(Ee){return Ee&&Ee.__esModule?Ee:{default:Ee}}function u(Ee){for(var xe=1;xe<arguments.length;xe++){var _e=arguments[xe]!=null?arguments[xe]:{},Re=Object.keys(_e);typeof Object.getOwnPropertySymbols=="function"&&(Re=Re.concat(Object.getOwnPropertySymbols(_e).filter(function(Be){return Object.getOwnPropertyDescriptor(_e,Be).enumerable}))),Re.forEach(function(Be){o(Ee,Be,_e[Be])})}return Ee}function l(Ee,xe){var _e=Object.keys(Ee);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(Ee);xe&&(Re=Re.filter(function(Be){return Object.getOwnPropertyDescriptor(Ee,Be).enumerable})),_e.push.apply(_e,Re)}return _e}function c(Ee,xe){return xe=xe!=null?xe:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(xe)):l(Object(xe)).forEac
67h(function(_e){Object.defineProperty(Ee,_e,Object.getOwnPropertyDescriptor(xe,_e))}),Ee}var g=new i.default("CMSDev",{event_owner_team:"websites",event_source:"web",product_area:"collection"}),v,h=(v={},o(v,n.default.AUDIO,"album-track"),o(v,n.default.EVENT,"event-item"),o(v,n.default.IMAGE,"gallery-image"),o(v,n.default.PORTFOLIO_ITEM,"portfolio-item"),o(v,n.default.TEXT,"blog-post"),o(v,n.default.VIDEO,"gallery-video"),v),p=function(Ee){return{indirect_object_type:"contentitem",indirect_object_id:Ee.id,indirect_object_identifier:h[Ee.recordType]}},m="collection-editor",P={actor:a.ACTOR.USER,action:a.ACTION.CLICK,object_type:a.OBJECT.BUTTON},_=c(u({},P),{product_page:m}),b=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId;t.default.track(c(u({},_),{object_identifier:"edit-contentitem",object_id:xe,indirect_object_identifier:_e,indirect_object_id:Re,product_section:"panel"}))},S=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId,Be=Ee.hasThumbnail,nt="thumbnail-image-undefined";_e.includes("blog")&&typeof Be=="boolean"&&(nt="thumbnail-image-".concat(Be)),t.default.track(c(u({},_),{object_identifier:"save-item-edit",object_id:xe,event_name:"UserSavesCollectionSettings",object_value:nt,indirect_object_identifier:_e,indirect_object_id:Re}))},E=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId;t.default.track(c(u({},_),{object_identifier:"cancel-item-edit",object_id:xe,indirect_object_identifier:_e,indirect_object_id:Re}))},A=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId;t.default.track(c(u({},_),{object_identifier:"duplicate-item",object_id:xe,indirect_object_identifier:_e,indirect_object_id:Re}))},T=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId,Be=Ee.area;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.DELETE,object_type:"contentitem",object_id:xe,indirect_object_identifier:_e,indirect_object_id:Re,product_page:m,product_section:Be})},I=function(Ee){var xe=Ee.collectionType,_e=Ee.collectionId,Re=Ee.isEnabled;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.UPDATE,object_type:"toggle",object_identifier:"collection-settings",object_display_name:"enable_page",object_value:Re?"enabled":"disabled",indirect_object_identifier:xe,indirect_object_id:_e,event_name:"UserUpdatesCollectionSettingsToggle"})},R=function(Ee){var xe=Ee.itemId,_e=Ee.itemType,Re=Ee.collectionType,Be=Ee.collectionId,nt=Ee.visibilityState,Je;switch(nt){case r.default.DRAFT:Je="draft";break;case r.default.PUBLISHED:Je="published";break;case r.default.NEEDS_REVIEW:Je="needs_review";break;case r.default.SCHEDULED:Je="scheduled";break;default:return}t.default.track({actor:a.ACTOR.USER,action:a.ACTION.CHANGE_VISIBILITY,object_type:"contentitem",object_identifier:_e,object_id:xe,object_value:Je,indirect_object_identifier:Re,indirect_object_id:Be,event_name:"UserChangesItemVisibility"})},j=function(Ee){var xe=Ee.collectionId,_e=Ee.collectionType,Re=Ee.memberAreaId,Be=Ee.clickAction;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.CLICK,object_type:"button",object_identifier:"video-paywall-onboarding",object_display_name:"onboarding-modal",object_value:Be,indirect_object_identifier:_e,indirect_object_id:xe,member_area_id:Re,product_page:"collection-editor",product_section:"videos-collections",product_design_identifier:"collections-panel",event_name:"UserClicksOnboardingCard"})},x=function(Ee){var xe=Ee.collectionId,_e=Ee.collectionType,Re=Ee.memberAreaId;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.VIEW,object_type:"card",object_identifier:"video-paywall-onboarding",object_display_name:"onboarding-modal",indirect_object_identifier:_e,indirect_object_id:xe,member_area_id:Re,product_page:"collection-editor",product_section:"videos-collections",product_design_identifier:"collections-panel",event_name:"UserViewsOnboardingCard"})},L=function(Ee){var xe=Ee.collectionId,_e=Ee.collectionType,Re=Ee.paywallType,Be=Ee.memberAreaId;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.UPDATE,object_type:"toggle",object_identifier:"collection-settings",object_value:Re,indirect_object_identifier:_e,indirect_object_id:xe,member_area_id:Be,product_page:"collection-editor",event_name:"UserUpdatesPaywallSettingsToggle"})},H=function(Ee){var xe=Ee.collectionId,_e=Ee.collectionType,Re=Ee.entryPoint,Be=Ee.memberAreaId;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.VIEW,object_type:"modal",object_identifier:"collection-settings",object_value:Re,indirect_object_identifier:_e,indirect_object_id:xe,member_area_id:Be,product_page:"collection-editor",event_name:"UserOpensPaywallSettings"})},G=function(Ee){var xe=Ee.collectionId,_e=Ee.collectionType,Re=Ee.paywallType,Be
67=Ee.memberAreaId;t.default.track({actor:a.ACTOR.USER,action:a.ACTION.UPDATE,object_type:"button",object_identifier:"collection-settings",object_value:Re,indirect_object_identifier:_e,indirect_object_id:xe,product_page:"collection-editor",member_area_id:Be,event_name:"UserSavesPaywallSettingsToggle"})},X=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId;T({itemId:xe,collectionType:_e,collectionId:Re,area:"panel"})},K=function(Ee){var xe=Ee.itemId,_e=Ee.collectionType,Re=Ee.collectionId;T({itemId:xe,collectionType:_e,collectionId:Re,area:"settings-modal"})},J=function(){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.VIEW,event_name:"UserViewBlogPublishedModal",object_type:"modal",object_identifier:"site-published-modal",indirect_object_identifier:"blog",product_page:m})},z=function(){t.default.track(c(u({},P),{event_name:"UserCopiesContentLink",object_display_name:"Copy",object_identifier:"copy-site-link",indirect_object_identifier:"blog",product_page:m}))},k=function(Ee){var xe=Ee.socialNetwork;t.default.track(c(u({},P),{event_name:"UserClicksShareToSocial",object_identifier:"social-link-share",object_value:xe,indirect_object_identifier:"blog",product_page:m}))},F=function(){t.default.track(c(u({},P),{event_name:"UserCreatesCampaignDraftFromBlog",object_display_name:"Create a Draft in Email Campaigns",object_identifier:"create-a-draft-in-email-campaigns",indirect_object_identifier:"blog",product_page:m}))},q=function(Ee){var xe=Ee.isCategoriesInput,_e=Ee.item,Re=Ee.newTag,Be=Ee.allTags;t.default.track(u({actor:a.ACTOR.USER,action:a.ACTION.ADD,object_type:xe?"category":"tag",object_identifier:Re,object_value:Be,product_page:m,product_section:"settings-modal"},p(_e)))},N=function(){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.HOVER,object_type:"button",object_identifier:"tooltip-alert"})},M=function(Ee){t.default.track(u({actor:a.ACTOR.USER,action:"change",event_name:"UserChangesBlogThumbnail",object_type:"imageuploader",object_identifier:"main-image",product_page:"collection-editor",product_section:"settings-modal"},p(Ee)))},U=function(Ee){t.default.track(u({actor:a.ACTOR.USER,action:"delete",event_name:"UserRemovesBlogThumbnail",object_type:"imageuploader",object_identifier:"main-image",product_page:m,product_section:"settings-modal"},p(Ee)))},Q=function(Ee,xe,_e,Re){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.MOVE,event_name:"UserMovesCollection",object_type:"contentcollection",object_id:_e||"",object_identifier:Ee,product_section:xe,member_area_id:Re||void 0})},$=function(Ee,xe,_e){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.ADD,object_type:"contentitem",object_identifier:Ee,object_id:xe,indirect_object_id:_e,product_area:a.PAGES,product_page:"item-catalog",product_section:"category-list"})},ee=function(Ee,xe,_e,Re){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.MOVE,object_type:"contentitem",object_identifier:Ee,object_id:_e,event_name:"UserMovesCollectionItem",indirect_object_id:Re,indirect_object_identifier:xe,product_area:a.PAGES,product_page:m,product_section:"panel"})},oe=function(Ee,xe){t.default.track(c(u({},P),{object_identifier:"manage-contentitem",indirect_object_identifier:Ee,indirect_object_id:xe,product_page:"section-editor"}))},pe=function(Ee,xe){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.VIEW,object_type:a.OBJECT.PANEL,object_identifier:"manage-contentitem",indirect_object_identifier:Ee,indirect_object_id:xe,product_area:m})},me=function(Ee,xe,_e){t.default.track(c(u({},P),{object_identifier:"collection-settings",indirect_object_identifier:Ee,indirect_object_id:xe,product_section:_e,event_name:"UserClicksCollectionSettingsGear"}))},Se=function(Ee){t.default.track(u(c(u({},P),{object_identifier:"collection-item-settings-cog",product_page:"collection-settings",product_section:"frame-toolbar"}),p(Ee)))},Pe=function(Ee,xe){t.default.track(u(c(u({},P),{object_identifier:"item-metadata",object_value:xe,product_page:"collection-settings",product_section:"section-editor"}),p(Ee)))},He=function(Ee,xe){g.track(c(u({},P),{event_name:"UserSavesCollection",collection_id:xe,collection_type:Ee}))},fe=function(Ee){t.default.track({product_area:a.PAGES,actor:a.ACTOR.USER,action:a.ACTION.VIEW,object_type:a.OBJECT.MODAL,object_identifier:"clone-collection-
67prompt",collection_typename:Ee})},ve=function(Ee){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.DUPLICATE,object_type:"contentcollection",object_identifier:Ee,object_display_name:"demo"})},ae=function(Ee){t.default.track({actor:a.ACTOR.USER,action:a.ACTION.VIEW,product_area:a.PAGES,object_type:a.OBJECT.MODAL,object_identifier:"action-not-allowed",object_display_name:"delete-homepage",collection_typename:Ee})},le=function(Ee){t.default.track({product_area:a.PAGES,actor:a.ACTOR.USER,action:a.ACTION.DELETE,object_type:"contentcollection",object_identifier:Ee,collection_typename:Ee,object_display_name:"demo"})}},554855:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(u,l){for(var c in l)Object.defineProperty(u,c,{enumerable:!0,get:l[c]})}e(f,{PRODUCT:function(){return a},ACTOR:function(){return t},ACTION:function(){return r},OBJECT:function(){return i},IDENTIFIER:function(){return o},VALUE:function(){return d},PAGES:function(){return s},ANIMATIONS:function(){return n}});var s="pages",n="animations",a;(function(u){u.AREA_DESIGN_EDITOR="design-editor",u.AREA_LAYOUT_ENGINE="layout-engine",u.AREA_FLUID_ENGINE="fluid-engine",u.PAGE_FONTS="fonts",u.PAGE_COLORS="colors",u.PAGE_BUTTONS="buttons",u.PAGE_SITE_STYLES="site-styles",u.PAGE_INLINE_EDITOR="inline-editor",u.PAGE_BLOCK_EDITOR="block-editor",u.SECTION_EDITOR="section-editor",u.SECTION_TEMPLATE_SWITCHING_TEST="template-switching-test",u.SECTION_FONT_STYLE_DETAILS="font-style-details",u.SECTION_BODY="body"})(a||(a={}));var t;(function(u){u.USER="user",u.SYSTEM="system"})(t||(t={}));var r;(function(u){u.VIEW="view",u.COPY="copy",u.CLICK="click",u.SELECT="select",u.SAVE="save",u.OPEN="open",u.INPUT="input",u.LOAD="load",u.CLOSE="close",u.HOVER="hover",u.DUPLICATE="duplicate",u.ADD="add",u.MOVE="move",u.DELETE="delete",u.CHANGE="change",u.CONNECT="connect",u.RESIZE="resize",u.TYPE="type",u.CHANGE_VISIBILITY="change_visibility",u.UPDATE="update"})(r||(r={}));var i;(function(u){u.ACCOUNT="account",u.BUTTON="button",u.CARD="card",u.CAROUSEL="carousel",u.CONTENT_ITEM="contentitem",u.CUSTOM="custom",u.DESIGNTWEAK="designtweak",u.MENU="menu",u.MENU_ITEM="menuitem",u.PALETTE="palette",u.SLIDE="slide",u.TABS="tabs",u.TOGGLE="toggle",u.URLPARSE="urlparse",u.IMAGE="image",u.TEXTAREA="textarea",u.TEXTEDITOR="texteditor",u.LINK="link",u.MODAL="modal",u.NUMBER="number",u.PANEL="panel"})(i||(i={}));var o;(function(u){u.BLOCK_OPTIONS="block-level-custom-options"})(o||(o={}));var d;(function(u){u.HTML="HTML",u.SHAPE="shape"})(d||(d={}))},999546:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return j}});var s=v(e(984714)),n=e(548316),a=v(e(854781)),t=v(e(637348)),r=e(554855),i=e(370702);function o(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function d(x,L){if(!(x instanceof L))throw new TypeError("Cannot call a class as a function")}function u(x,L,H){return L in x?Object.defineProperty(x,L,{value:H,enumerable:!0,configurable:!0,writable:!0}):x[L]=H,x}function l(x,L,H){return typeof Reflect!="undefined"&&Reflect.get?l=Reflect.get:l=function(X,K,J){var z=b(X,K);if(!!z){var k=Object.getOwnPropertyDescriptor(z,K);return k.get?k.get.call(J):k.value}},l(x,L,H||x)}function c(x){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},c(x)}function g(x,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(L&&L.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),L&&_(x,L)}function v(x){return x&&x.__esModule?x:{default:x}}function h(x){for(var L=1;L<arguments.length;L++){var H=arguments[L]!=null?arguments[L]:{},G=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(G=G.concat(Object.getOwnPropertySymbols(H).filter(function(X){return Object.getOwnPropertyDescriptor(H,X).enumerable}))),G.forEach(function(X){u(x,X,H[X])})}return x}function p(x,L){var H=Object.keys(x);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(x);L&&(G=G.filter(function(X){return Object.getOwnPropertyDescriptor(x,X).enumerable})),H.push.apply(H,G)}return H}function m(x,L){return L=L!=null?L:{},Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(L)):p(Object(L)).forEac
67h(function(H){Object.defineProperty(x,H,Object.getOwnPropertyDescriptor(L,H))}),x}function P(x,L){return L&&(S(L)==="object"||typeof L=="function")?L:o(x)}function _(x,L){return _=Object.setPrototypeOf||function(G,X){return G.__proto__=X,G},_(x,L)}function b(x,L){for(;!Object.prototype.hasOwnProperty.call(x,L)&&(x=c(x),x!==null););return x}var S=function(x){return x&&typeof Symbol!="undefined"&&x.constructor===Symbol?"symbol":typeof x};function E(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(x){return!1}}function A(x){var L=E();return function(){var G=c(x),X;if(L){var K=c(this).constructor;X=Reflect.construct(G,arguments,K)}else X=G.apply(this,arguments);return P(this,X)}}var T="/config/design",I="color-themes-v3",R=function(x){"use strict";g(H,x);var L=A(H);function H(){return d(this,H),L.call(this,{customSchemaName:"cms_v7",eventOwnerTeam:"cms"})}var G=H.prototype;return G.assignTest=function(K){this.track({actor:"system",action:"assign",object_type:"ab_test",object_identifier:K})},G.registerRouter=function(K){var J=this;this.frameUrl=K.getCurrentLocation().state.frameUrl,K.onBeforeChange(function(){J.frameUrl=K.getCurrentLocation().state.frameUrl})},G.track=function(K){var J,z,k,F,q;return l(c(H.prototype),"track",this).call(this,m(h({},K,this.getAdditionalProperties(K)),{frame_url:this.frameUrl,effective_connection_speed:navigator==null||(J=navigator.connection)===null||J===void 0?void 0:J.effectiveType,selected_template_identifier:(K==null?void 0:K.selected_template_identifier)?K.selected_template_identifier:(z=window.Static)===null||z===void 0||(k=z.SQUARESPACE_CONTEXT)===null||k===void 0||(F=k.templateInstallation)===null||F===void 0||(q=F.templateWebsite)===null||q===void 0?void 0:q.identifier,device_orientation:window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",is_squarespace_app:(0,n.isNativeApp)()}))},G.getAdditionalProperties=function(K){var J=(0,i.getEventMetaFromReduxMirror)();return a.default.isSevenOne()&&(K.product_area===r.PRODUCT.AREA_DESIGN_EDITOR||K.actor===r.ACTOR.USER&&K.action===r.ACTION.VIEW&&(0,s.default)(K.destination_url)&&K.destination_url.indexOf(T)===0)&&(J.product_design_identifier=I),J},H}(t.default),j=new R},361094:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"isEditMode",{enumerable:!0,get:function(){return n}});var s=e(432464),n=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,t="sqs-edit-mode",r=(0,s.get)(a,"document.body");return r&&r.classList.contains(t)}},994058:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(H,G){for(var X in G)Object.defineProperty(H,X,{enumerable:!0,get:G[X]})}s(f,{isHex:function(){return c},isHsl:function(){return g},colorDifference:function(){return h},generatePaletteColorReference:function(){return p},generateCustomColorReference:function(){return m},getHeaderEffectsTrackingInfo:function(){return _},resolveColorReference:function(){return b},isThemeColor:function(){return S},isPaletteColor:function(){return E},isCustomColor:function(){return A},getFormattedColorReference:function(){return j},convertHslaToDecimal:function(){return x},convertHslaToPercent:function(){return L}});var n=o(e(567020)),a=e(444010),t=e(637356),r=e(323167);function i(H,G,X){return G in H?Object.defineProperty(H,G,{value:X,enumerable:!0,configurable:!0,writable:!0}):H[G]=X,H}function o(H){return H&&H.__esModule?H:{default:H}}function d(H){for(var G=1;G<arguments.length;G++){var X=arguments[G]!=null?arguments[G]:{},K=Object.keys(X);typeof Object.getOwnPropertySymbols=="function"&&(K=K.concat(Object.getOwnPropertySymbols(X).filter(function(J){return Object.getOwnPropertyDescriptor(X,J).enumerable}))),K.forEach(function(J){i(H,J,X[J])})}return H}function u(H,G){var X=Object.keys(H);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(H);G&&(K=K.filter(function(J){return Object.getOwnPropertyDescriptor(H,J).enumerable})),X.push.apply(X,K)}return X}function l(H,G){return G=G!=null?G:{},Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(G)):u(Object(G)).forEac
67h(function(X){Object.defineProperty(H,X,Object.getOwnPropertyDescriptor(G,X))}),H}var c=function(H){return typeof H=="string"&&H.charAt(0)==="#"},g=function(H){return typeof H=="string"&&H.substring(0,3)==="hsl"},v=["red","green","blue"],h=function(H,G){var X=(0,n.default)(H),K=(0,n.default)(G);return!X||!K?null:v.reduce(function(J,z){return J+Math.max(X[z],K[z])-Math.min(X[z],K[z])},0)*X.alpha},p=function(H){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:H,alpha:G}}},m=function(H){return{type:r.ColorTypes.CUSTOM_COLOR,customColor:(0,a.stringifyPaletteColorValue)(H)}},P=new Set(["solidHeaderBorderColor","gradientHeaderBorderColor","solidHeaderDropShadowColor","gradientHeaderDropShadowColor","solidHeaderBackgroundColor","gradientHeaderBackgroundColor","solidHeaderNavigationColor","gradientHeaderNavigationColor"]),_=function(H,G){if(!P.has(H))return null;var X=H.split(/(?=[A-Z])/),K=X.shift(),J=X[0].toLowerCase()+X.slice(1).join(""),z=G.type===r.ColorTypes.SITE_PALETTE_COLOR?"palette":"custom";return[K,J,z]};function b(H,G){switch(H==null?void 0:H.type){case r.ColorTypes.SITE_PALETTE_COLOR:{var X=H.sitePaletteColor,K=X.id,J=X.alpha,z=(0,a.getPaletteColorById)({colors:G},K);return z?(0,a.stringifyPaletteColorValue)({userFormat:t.ColorModel.hsl,values:l(d({},z.value.values),{alpha:J!=null?J:1})}):null}case r.ColorTypes.CUSTOM_COLOR:var k;return(k=H.customColor)!==null&&k!==void 0?k:null}}var S=function(H){return H&&H.type===r.ColorTypes.THEME_COLOR},E=function(H){return H&&H.type===r.ColorTypes.SITE_PALETTE_COLOR},A=function(H){return H&&H.type===r.ColorTypes.CUSTOM_COLOR},T=function(){return{type:r.ColorTypes.THEME_COLOR}},I=function(H){var G=H==null?void 0:H.sitePaletteColor;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:G.colorName,alpha:G.alphaModifier}}},R=function(H){var G=L(H.customColor.hslaValue),X={userFormat:H.customColor.userFormat,values:G},K=(0,a.stringifyPaletteColorValue)(X);return{type:r.ColorTypes.CUSTOM_COLOR,customColor:K}},j=function(H){if(S(H))return T(H);if(E(H))return I(H);if(A(H))return R(H)};function x(H){var G=H.saturation,X=H.lightness,K=G>=0&&G<=1?G:G/100,J=X>=0&&X<=1?X:X/100;return l(d({},H),{saturation:K,lightness:J})}function L(H){var G=H.saturation,X=H.lightness,K=G>=0&&G<=1?G*100:G,J=X>=0&&X<=1?X*100:X;return l(d({},H),{saturation:K,lightness:J})}},687e3:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(A,T){for(var I in T)Object.defineProperty(A,I,{enumerable:!0,get:T[I]})}s(f,{applySettings:function(){return _},renderDom:function(){return P},mount:function(){return E},unmount:function(){return S}});var n=r(e(638286)),a=o(e(958526)),t=e(335634);function r(A){return A&&A.__esModule?A:{default:A}}function i(A){if(typeof WeakMap!="function")return null;var T=new WeakMap,I=new WeakMap;return(i=function(R){return R?I:T})(A)}function o(A,T){if(!T&&A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var I=i(T);if(I&&I.has(A))return I.get(A);var R={},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in A)if(x!=="default"&&Object.prototype.hasOwnProperty.call(A,x)){var L=j?Object.getOwnPropertyDescriptor(A,x):null;L&&(L.get||L.set)?Object.defineProperty(R,x,L):R[x]=A[x]}return R.default=A,I&&I.set(A,R),R}var d=2,u="sqs-cookie-banner-v".concat(d),l,c,g,v,h,p,m=function(A){if(document.body.classList.contains("sqs-cookie-banner-v2-forced"))return!1;var T=A.target.closest(".".concat(u,"-cta"));if(T){var I=new Date,R=T.classList.contains("".concat(u,"-accept")),j=Date.now()+1e3*60*60*24*30;I.setTime(j),n.default.set("ss_cookieAllowed",R,{path:"/",expires:I.toUTCString()}),c.removeEventListener("click",m),c.remove()}},P=function(A){var T=(0,t.getWithDefaults)(A),I=T.cookieBannerAcceptType,R=T.cookieBannerCtaVariant;c=document.createElement("div"),c.className=u,g=document.createElement("div"),g.className="".concat(u,"-text"),v=document.createElement("button"),v.classList.add("".concat(u,"-accept"),"".concat(u,"-cta"));var j=document.createElement("div");j.className="".concat(u,"-acceptWrapper"),j.appendChild(v),c.appendChild(g);var x=I===a.ACCEPT_TYPES.OPT_IN_AND_OUT&&R!==a.CTA_VARIANTS.ICON;if(x){h=document.createElement("button"),h.classList.add("".concat(u,"-deny"),"".concat(u,"-cta"));var L=document.createElement("div");L.className="".concat(u,"-denyWrapper"),L.appendChild(h),p=document.createElement("div"),p.className="".concat(u,"-cta-container"),p.appendChild(j),p.appendChild(L),c.appendChild(p)}else c.appendChild(j);return c.addEventListener("click",m),c},_=function(A){var T=A.isCookieBannerEnabled,I=(0,t.getWithDefaults)(A),R=I.cookieBannerCtaText,j=I.cookieBannerCtaVariant,x=I.cookieBannerPosition,L=I.cookieBannerText,H=I.cookieBannerTheme,G=I.cookieBannerVariant,X=I.cookieBannerAcceptType,K=I.cookieBannerOptOutCtaText;if(l=x===a.BAR_POSITIONS.TOP&&document.body.querySelector(".sqs-announcement-bar-dropzone")||document.body,c.className=u,c.classList.add(G,H,x,j,X),g.innerHTML=L.indexOf("<p>")===0?L:"<p>".concat(L,"</p>"),X===a.ACCEPT_TYPES.OPT_IN_AND_OUT)switch(j){case a.CTA_VARIANTS.BUTTON:v.innerText=R,h.innerText=K;break;case a.CTA_VARIANTS.TEXT:v.innerText=R,h.innerText=K;break;case a.CTA_VARIANTS.ICON:v.innerText=" ";break}else switch(j){case a.CTA_VARIANTS.BUTTON:v.innerText=R;break;case a.CTA_VARIANTS.TEXT:v.innerText=R;break;case a.CTA_VARIANTS.ICON:v.innerText=" ";break}return x===a.BAR_POSITIONS.TOP?document.body.classList.add("".concat(u,"-top")):document.body.classList.remove("".concat(u,"-top")),T?(l.classList.add("".concat(u,"-enabled")),l.appendChild(c)):l.classList.remove("".concat(u,"-enabled")),c},b=function(){var A={expires:new Date(0).toUTCString()};["SS_MATTR","SS_MID","SS_lastvisit","user_segment","ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"].forEach(function(T){return n.default.set(T,"",A)})},S=function(){c&&(c.removeEventListener("click",m),c.remove()),c=null,l&&l.classList.remove("".concat(u,"-enabled"))},E=function(A){if(!A.force){var T=n.default.get("ss_cookieAllowed"),I=T==="true";if(!I&&A.isRestrictiveCookiePolicyEnabled&&b(),typeof T!="undefined"&&T!==null)return!1}return c||P(A),_(A),!0}},63511:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}s(f,{EMAIL_PATTERN:function(){return t},VALID_EMAIL_REGEX:function(){return r},isValidEmail:function(){return i}});var n=a(e(984714));function a(o){return o&&o.__esModule?o:{default:o}}var t="^([a-zA-Z0-9_.!#$%&'*+-/=?^_`{|}~])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$",r=new RegExp(t),i=function(o){return!(0,n.default)(o)||o.length<3||o.length>256?!1:r.test(o)}},218385:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}s(f,{ACTION_TYPES:function(){return o},getKeyAndLoadRecaptchaEnterprise:function(){return c},getReCaptchaToken:function(){return g},getCaptchaContainer:function(){return v}});var n=e(581945);function a(h,p,m,P,_,b,S){try{var E=h[b](S),A=E.value}catch(T){m(T);return}E.done?p(A):Promise.resolve(A).then(P,_)}function t(h){return function(){var p=this,m=arguments;return new Promise(function(P,_){var b=h.apply(p,m);function S(A){a(b,P,_,S,E,"next",A)}function E(A){a(b,P,_,S,E,"throw",A)}S(void 0)})}}var r=function(h,p){var m,P,_,b,S={label:0,sent:function(){if(_[0]&1)throw _[1];return _[1]},trys:[],ops:[]};return b={next:E(0),throw:E(1),return:E(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function E(T){return function(I){return A([T,I])}}function A(T){if(m)throw new TypeError("Generator is already executing.");for(;S;)try{if(m=1,P&&(_=T[0]&2?P.return:T[0]?P.throw||((_=P.return)&&_.call(P),0):P.next)&&!(_=_.call(P,T[1])).done)return _;switch(P=0,_&&(T=[T[0]&2,_.value]),T[0]){case 0:case 1:_=T;break;case 4:return S.label++,{value:T[1],done:!1};case 5:S.label++,P=T[1],T=[0];continue;case 7:T=S.ops.pop(),S.trys.pop();continue;default:if(_=S.trys,!(_=_.length>0&&_[_.length-1])&&(T[0]===6||T[0]===2)){S=0;continue}if(T[0]===3&&(!_||T[1]>_[0]&&T[1]<_[3])){S.label=T[1];break}if(T[0]===6&&S.label<_[1]){S.label=_[1],_=T;break}if(_&&S.label<_[2]){S.label=_[2],S.ops.push(T);break}_[2]&&S.ops.pop(),S.trys.pop();continue}T=p.call(h,S)}catch(I){T=[6,I],P=0}finally{m=_=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},i="forms-grecaptcha-badge-style",o={FORM_BLOCK:"FORM_BLOCK_SUBMISSION",NEWSLETTER_BLOCK:"NEWSLETTER_BLOCK_SUBMISSION",PRODUCT_WAITLIST:"PRODUCT_WAITLIST_SUBMISSION",PROMO_POPUP:"PROMO_POPUP_SUBMISSION"},d="https://www.google.com/recaptcha/enterprise.js?onload=__grecaptchaOnLoadCallback&render=",u=function(h){var p,m,P;return(p=h.Static)===null||p===void 0||(m=p.SQUARESPACE_CONTEXT)===null||m===void 0||(P=m.recaptchaEnterpriseContext)===null||P===void 0?void 0:P.recaptchaEnterpriseSiteKey},l=function(h,p){return h.__grecaptchaOnLoadPromise||(h.__grecaptchaOnLoadPromise=new Promise(function(m,P){h.__grecaptchaOnLoadCallback=function(){return m()},h.document?(0,n.loadScript)(d+p,{doc:h.document}).catch(P):P("[EnterpriseV3ReCaptchaApi] Document was destroyed")})),h.__grecaptchaOnLoadPromise},c=function(){var h=t(function(p){var m,P;return r(this,function(_){switch(_.label){case 0:return m=u(p),m?[4,l(p,m)]:[2,Promise.reject("Enterprise V3 ReCaptcha site key not found")];case 1:return _.sent(),p.document.getElementById(i)||(P=p.document.createElement("style"),P.id=i,P.textContent=".grecaptcha-badge { visibility: hidden; }",p.document.head.appendChild(P)),[2]}})});return function(m){return h.apply(this,arguments)}}(),g=function(){var h=t(function(p,m){var P,_,b;return r(this,function(S){return _=p==null||(P=p.grecaptcha)===null||P===void 0?void 0:P.enterprise,_?(b=u(p),b?[2,new Promise(function(E,A){_.ready(function(){try{_.execute(b,{action:m}).then(function(T){E(T)})}catch(T){A(T)}})})]:[2,Promise.reject("ReCaptcha site key not found")]):[2,Promise.reject("ReCaptcha not available")]})});return function(m,P){return h.apply(this,arguments)}}(),v=function(h){var p=h.querySelector(".captcha-container");return p||null}},97402:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"EnterpriseV3RecaptchaAPI",{enumerable:!0,get:function(){return s}});var s=a(e(218385));function n(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,i=new WeakMap;return(n=function(o){return o?i:r})(t)}function a(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var i=n(r);if(i&&i.has(t))return i.get(t);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(u!=="default"&&Object.prototype.hasOwnProperty.call(t,u)){var l=d?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}return o.default=t,i&&i.set(t,o),o}},563396:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(l,c){for(var g in c)Object.defineProperty(l,g,{enumerable:!0,get:c[g]})}s(f,{getDomain:function(){return t},isInternal:function(){return r},isStage:function(){return i},isQA:function(){return o},isDev:function(){return d},getEnv:function(){return u}});var n=e(225269),a=e(581945),t=a.EnvUtils.getDomain,r=a.EnvUtils.isInternal,i=a.EnvUtils.isStage,o=a.EnvUtils.isQA,d=a.EnvUtils.isDev,u=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,c,g,v=l==null||(c=l.Static)===null||c===void 0||(g=c.SQUARESPACE_CONTEXT)===null||g===void 0?void 0:g.env;return v||(0,n.withScope)(function(h){h.setTag("critical-issue","true"),h.setTag("user_facing","true"),h.setTag("project","universal-checkout"),(0,n.captureException)(new Error("Environment is not defined"))}),v}},761392:function(y,f,e){"use strict";var s;s={value:!0},Object.defineProperty(f,"Z",{enumerable:!0,get:function(){return H}});var n=e(869235),a=e(432464),t=_(e(51216)),r=e(649965),i=e(527304),o=e(801189),d=e(581945),u=e(63511),l=_(e(808847)),c=e(677640);function g(G,X){(X==null||X>G.length)&&(X=G.length);for(var K=0,J=new Array(X);K<X;K++)J[K]=G[K];return J}function v(G){if(Array.isArray(G))return G}function h(G){if(Array.isArray(G))return g(G)}function p(G,X){if(!(G instanceof X))throw new TypeError("Cannot call a class as a function")}function m(G,X,K){return X in G?Object.defineProperty(G,X,{value:K,enumerable:!0,configurable:!0,writable:!0}):G[X]=K,G}function P(G,X){return X!=null&&typeof Symbol!="undefined"&&X[Symbol.hasInstance]?!!X[Symbol.hasInstance](G):G instanceof X}function _(G){return G&&G.__esModule?G:{default:G}}function b(G){if(typeof Symbol!="undefined"&&G[Symbol.iterator]!=null||G["@@iterator"]!=null)return Array.from(G)}function S(G,X){var K=G==null?null:typeof Symbol!="undefined"&&G[Symbol.iterator]||G["@@iterator"];if(K!=null){var J=[],z=!0,k=!1,F,q;try{for(K=K.call(G);!(z=(F=K.next()).done)&&(J.push(F.value),!(X&&J.length===X));z=!0);}catch(N){k=!0,q=N}finally{try{!z&&K.return!=null&&K.return()}finally{if(k)throw q}}return J}}function E(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(G){for(var X=1;X<arguments.length;X++){var K=arguments[X]!=null?arguments[X]:{},J=Object.keys(K);typeof Object.getOwnPropertySymbols=="function"&&(J=J.concat(Object.getOwnPropertySymbols(K).filter(function(z){return Object.getOwnPropertyDescriptor(K,z).enumerable}))),J.forEach(function(z){m(G,z,K[z])})}return G}function I(G,X){var K=Object.keys(G);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(G);X&&(J=J.filter(function(z){return Object.getOwnPropertyDescriptor(G,z).enumerable})),K.push.apply(K,J)}return K}function R(G,X){return X=X!=null?X:{},Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(X)):I(Object(X)).forEach(function(K){Object.defineProperty(G,K,Object.getOwnPropertyDescriptor(X,K))}),G}function j(G,X){return v(G)||S(G,X)||L(G,X)||E()}function x(G){return h(G)||b(G)||L(G)||A()}function L(G,X){if(!!G){if(typeof G=="string")return g(G,X);var K=Object.prototype.toString.call(G).slice(8,-1);if(K==="Object"&&G.constructor&&(K=G.constructor.name),K==="Map"||K==="Set")return Array.from(K);if(K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return g(G,X)}}var H=function(){"use strict";function G(K,J){var z=this;if(p(this,G),this.success=function(k){z.isNewsletterForm()&&(0,o.trackSubscribeNewsletter)(),(0,a.invoke)(z.win,"Y.Global.fire","form:submitSuccess"),z.redirectToSuccessRedirect()||(z.unlock(),z.renderSuccess())},this.createErrorNode=function(k){var F=z.win.document.createElement("div");return F.className="field-error",F.innerHTML=k,F},this.fail=function(k){z.renderErrors(k),z.isNewsletterForm()||z.renderSurroundingErrors();var F=d.GoogleReCaptchaAPI.getCaptchaContainer(z.win,z.formEl);F&&(z.submitEl&&z.submitEl.getAttribute("data-captcha-bound")&&(z.submitEl.disabled=!0),d.GoogleReCaptchaAPI.reset(z.win,F)),z.unlock()},!K||!J)throw new Error("Invalid FormHandler construction.");
67if(this.win=K,P(J,Element)?this.formEl=J:J.formNode&&(this.formEl=J.formNode.getDOMNode()),!this.formEl)throw new Error("FormHandler needs a valid <form> for formEl.");this.submitEl=this.formEl.querySelector('[type="submit"]')||document.createElement("div"),this.submitText=this.submitEl.value}var X=G.prototype;return X.clearErrors=function(){x(this.formEl.querySelectorAll(".field-error")).forEach(function(J){return J.remove()}),x(this.formEl.querySelectorAll(".form-item.error")).forEach(function(J){return J.classList.remove("error")})},X.isLocked=function(){this.formEl.classList.contains("submitting")},X.lock=function(){this.submitEl.classList.add("submitting"),this.submitEl.value=G.strings.SUBMIT_TEXT_IN_PROGRESS},X.unlock=function(){this.submitEl.classList.remove("submitting"),this.submitEl.value=this.submitText},X.validate=function(){return x(this.formEl.querySelectorAll(".form-item")).reduce(function(J,z){var k=G.validateField(z),F=k.isValid,q=k.message;return F||(J.isValid=!1,J.errors.push({fieldId:z.id,message:q})),J},{isValid:!0,errors:[]})},X.withCaptcha=function(J){var z=d.GoogleReCaptchaAPI.getCaptchaContainer(this.win,this.formEl);if(!z)return J;var k=d.GoogleReCaptchaAPI.validate(this.win,z);return k?R(T({},J),{captchaKey:k}):null},X.submit=function(J){var z=this;if(this.isLocked())return!1;if(this.lock(),!J.disableValidation){this.clearErrors();var k=this.validate(),F=k.isValid,q=k.errors;if(!F)return this.fail(G.strings.FIELD_VALIDATION_ERROR),this.renderFieldClientErrors(q),!1}var N;try{N=this.withCaptcha(J)}catch(M){return this.fail(G.strings.CAPTCHA_INCOMPLETE_ERROR),!1}return G.getFormKey().catch(function(M){z.fail(G.strings.FORM_KEY_ERROR)}).then(function(M){N.key=M;try{var U=z.getSanitizedFieldValues();N.form=JSON.stringify(U)}catch(Q){throw new Error(G.strings.FIELD_SANITIZATION_ERROR)}try{z.save(N)}catch(Q){throw new Error(G.strings.SUBMIT_ERROR)}}).catch(function(M){z.fail(M.message)}),!1},X.getSanitizedFieldValues=function(){return x(this.formEl.querySelectorAll(".form-item")).reduce(function(J,z){return J[z.id]=G.getSanitizedFieldValue(z),J},{})},X.save=function(J){var z=T({},J);return(0,c.addIntraPageEventFields)(z),l.default.post(G.endpoints.SAVE,z,G.NETWORK_OPTIONS).then(this.success).catch(this.fail)},X.isNewsletterForm=function(){return Boolean(this.formEl.classList.contains("newsletter-form")||this.formEl.querySelector(i.FacebookPixelConstants.NEWSLETTER_OVERLAY_NODE_ID))},X.renderFieldError=function(J,z){var k=this.formEl.querySelector("#".concat(J));if(!!k){k.classList.add("error");var F=k.querySelector(".title");z&&F&&F.parentNode&&F.parentNode.insertBefore(this.createErrorNode(z),F)}},X.renderFieldClientErrors=function(J){var z=this;J.forEach(function(k){var F=k.fieldId,q=k.message;return z.renderFieldError(F,q)})},X.renderFieldServerErrors=function(J){var z=this;Object.entries(J).forEach(function(k){var F=j(k,2),q=F[0],N=F[1];z.renderFieldError(q,N)})},X.renderErrorMessage=function(J){this.formEl.insertBefore(this.createErrorNode(J),this.isNewsletterForm()?this.formEl.querySelector(".newsletter-form-body"):this.formEl.firstChild)},X.renderSurroundingErrors=function(){var J=this.formEl;J.insertBefore(this.createErrorNode(G.strings.ERROR_ABOVE),J.firstChild),this.formEl.appendChild(this.createErrorNode(G.strings.ERROR_BELOW))},X.renderErrors=function(J){if(G.isFieldErrors(J))this.renderFieldServerErrors(J.data.errors);else{var z=G.getErrorMessage(J)||G.strings.UNKNOWN_ERROR;this.renderErrorMessage(z)}},X.showSubmissionText=function(){var J=this.formEl.querySelector(".form-submission-text");!J||(J.classList.remove("hidden"),x(J.querySelectorAll("*")).forEach(function(z){return z.classList.remove("hidden")}))},X.hideForm=function(){x(this.formEl.querySelectorAll("*")).forEach(function(J){return J.classList.add("hidden")})},X.redirectToSuccessRedirect=function(){var J=this.formEl.dataset.successRedirect;return J?(window.history.replaceState&&window.history.propertyIsEnumerable({},document.title,window.location.href),window.location.href=J,!0):!1},X.getPostSubmitHtml=function(){var J=this.formEl.querySelector(".form-submission-html");return J?J.dataset.submissionHtml:""},X.appendAndRunPostSubmitHtml=function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",z=this,k=this.formEl.querySelector(".form-submission-html");k.innerHTML=this.getPostSubmitHtml(),k.classList.remove("hidden"),x(k.querySelectorAll("script")).forEac
67h(function(F){try{if(F.src){var q=document.createElement("script");x(F.attributes).forEach(function(N){q[N.name]=N.value}),F.parentNode.insertBefore(q,F)}else z.win.eval(F.innerText)}catch(N){}})},X.renderSuccess=function(){this.hideForm(),this.showSubmissionText(),(0,r.scrollIntoView)(this.formEl,!0),this.appendAndRunPostSubmitHtml(this.getPostSubmitHtml())},G}();H.initialQuery=t.default.parse(window.location.search.replace(/^\?/,"")),H.endpoints={SAVE:"/api/form/SaveFormSubmission",FORM_KEY:"/api/form/FormSubmissionKey"},H.NETWORK_OPTIONS={withCredentials:!0},H.strings={SUBMIT_TEXT_IN_PROGRESS:(0,n.t)("Submitting\u2026"),SUBMIT_ERROR:(0,n.t)("Error processing form submission. Please reload and try again."),UNKNOWN_ERROR:(0,n.t)("Unknown error, please try again later."),CAPTCHA_INCOMPLETE_ERROR:(0,n.t)("Complete CAPTCHA before submitting."),FAIL_CAPTCHA_ERROR:(0,n.t)("reCAPTCHA failed. Refresh this page and try again.",null,{project:"website.form"}),FORM_KEY_ERROR:(0,n.t)("Could not get a form submission key, please try again later."),FIELD_SANITIZATION_ERROR:(0,n.t)("Could not parse the form fields, please check your entries."),FIELD_VALIDATION_ERROR:(0,n.t)("One or more fields is invalid, please check your entries."),ERROR_ABOVE:(0,n.t)("Your form has encountered a problem. Please scroll down to review."),ERROR_BELOW:(0,n.t)("Your form has encountered a problem. Please scroll up to review."),FAIL_MAX_LENGTH:(0,n.t)("You have exceeded the character limit."),FAIL_EMAIL:(0,n.t)("Email is not valid. Email addresses should follow the format [email protected].")},H.errorCodes={401:(0,n.t)("Unable to submit form. Please try again later."),404:(0,n.t)("This form has not been configured yet."),429:(0,n.t)("Unable to submit form. Submission rate limit exceeded. Please try again later."),500:(0,n.t)("Unable to send form. Please try again later.")},H.getFormKey=function(){return l.default.post(H.endpoints.FORM_KEY,{},H.NETWORK_OPTIONS).then(function(G){var X=G.data.key;return X})},H.isFieldErrors=function(G){var X=G.response;return(0,a.isObject)(X)&&X&&X.status===400&&X.data&&X.data.errors&&Object.keys(X.data.errors).length>0},H.getErrorMessage=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return(0,a.isString)(G)?G:(0,a.isObject)(G)?G.status&&H.errorCodes[G.status]?H.errorCodes[G.status]:G.data&&G.data.error?G.data.error:"":""},H.sanitizeValue=function(G){var X=G.querySelector(".field-element");return X?X.value:null},H.sanitizeChildValuesToArray=function(G){return G?x(G.querySelectorAll(".field-element")).map(function(X){var K=X.value;return K}):[]},H.sanitizePhone=function(G){var X=H.sanitizeChildValuesToArray(G);return X.length===3?[""].concat(x(X)):X},H.sanitizeCheckbox=function(G){return x(G.querySelectorAll("input")).reduce(function(X,K){return K.checked&&X.push(K.value),X},[])},H.sanitizeRadio=function(G){return H.sanitizeCheckbox(G)[0]},H.sanitizeSelect=function(G){var X=G.querySelector("select");return X?X.value:null},H.sanitizeLike=function(G){return x(G.querySelectorAll(".item")).reduce(function(X,K){var J=H.sanitizeCheckbox(K),z=K.dataset.question;return z&&J.length>0&&(X[z]=J),X},{})},H.sanitizeHidden=function(G){var X=H.initialQuery||t.default.parse(window.location.search.replace(/^\?/,""));return(G.name&&X[G.name]?X[G.name]:G.value).toString()},H.sanitizersHash={address:H.sanitizeChildValuesToArray,checkbox:H.sanitizeCheckbox,date:H.sanitizeChildValuesToArray,hidden:H.sanitizeHidden,likert:H.sanitizeLike,name:H.sanitizeChildValuesToArray,phone:H.sanitizePhone,radio:H.sanitizeRadio,select:H.sanitizeSelect,time:H.sanitizeChildValuesToArray,default:H.sanitizeValue},H.getSanitizedFieldValue=function(G){if(!G.classList.contains("section")){var X=x(G.classList).find(function(J){return H.sanitizersHash[J]})||"default",K=H.sanitizersHash[X];return K(G)}},H.validateField=function(G){if(G.classList.contains("section"))return{isValid:!0};var X=G.classList.contains("required");if(G.dataset.maxLength){var K=G.querySelector("textarea"),J=K.value.trim(),z=!X&&J.length===0,k=parseInt(G.dataset.maxLength,10),F=Boolean(k&&!isNaN(k)),q=z||!F||K.value.length<=k;return{isValid:q,message:H.strings.FAIL_MAX_LENGTH}}if(G.classList.contains("email")){var N=G.querySelector("input"),M=N.value.trim(),U=!X&&M.length===0,Q=U||(0,u.isValidEmail)(M);return{isValid:Q,message:H.strings.FAIL_EMAIL}}return{isValid:!0}}},972:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(m,P){for(var _ in P)Object.defineProperty(m,_,{enumerable:!0,get:P[_]})}s(f,{getStyleById:function(){return u},Styles:function(){return l},mapModelToViewConfig:function(){return c},updateUiOptions:function(){return h},destroyUpdater:function(){return p}});var n=r(e(705660)),a=e(581945);function t(m,P,_){return P in m?Object.defineProperty(m,P,{value:_,enumerable:!0,configurable:!0,writable:!0}):m[P]=_,m}function r(m){return m&&m.__esModule?m:{default:m}}function i(m){for(var P=1;P<arguments.length;P++){var _=arguments[P]!=null?arguments[P]:{},b=Object.keys(_);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(_).filter(function(S){return Object.getOwnPropertyDescriptor(_,S).enumerable}))),b.forEach(function(S){t(m,S,_[S])})}return m}var o=(0,a.createErrorLogger)("GoogleMapsUtils"),d=[null,n.default.Original,n.default.Grayscale,n.default.Satellite,n.default.MinimalLight,n.default.MinimalDark,n.default.MinimalBlue],u=function(m){return d[m]},l={ORIGINAL:1,GRAYSCALE:2,SATELLITE:3,MINIMAL_LIGHT:4,MINIMAL_DARK:5,MINIMAL_BLUE:6},c=function(m){var P=m.location,_=m.controls,b=m.terrain,S=m.labels,E=m.style;return{location:P,ui:{showControls:_,showTerrain:b,showLabels:S,style:d[E]}}},g=60,v=new Map,h=function(m,P){if(!(!m||!P)){var _=v.get(m)||{},b=_.timeout,S=_.options,E=S===void 0?{}:S;b&&window.clearTimeout(b);var A=i({},E,P),T=function(){try{m.updateUIOptions(A)}catch(I){o(I)}};v.set(m,{cb:T,timeout:window.setTimeout(T,g),options:A})}},p=function(m){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!!m){var _=v.get(m)||{},b=_.cb,S=_.timeout;S&&window.clearTimeout(S),!P&&b&&b(),v.delete(m)}}},88239:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return c}});var s=e(869235),n=i(e(734422)),a=i(e(854781)),t=e(680082),r=i(e(169103));function i(g){return g&&g.__esModule?g:{default:g}}var o=function(g){return!!g.getAttribute("data-loader")},d=function(g,v){var h=g.one("img[data-image]");if(!!h){var p=h.loader,m={title:(0,s.t)("Image")};if(p)m.content=p.getBareElement();else if(o(h))m.content=h;else return;var P=g.getAttribute("data-description");P&&(m.meta=P);var _=g.getAttribute("data-lightbox-theme");_&&(m.theme=_),g.plug(v.Squarespace.Lightbox2Plug,{lightboxOptions:m})}},u=function(g,v){o(g)||g.setStyles({position:null,top:null,left:null,width:null,height:null});var h=!!g.ancestor(".sized,.content-fill");if(h){var p=v.on("resize",function(){g.getDOMNode()&&g.inDoc()?g.fire("refresh"):(p.detach(),p=null)},v.config.win),m=g.ancestor(".image-block-wrapper"),P=g.ancestor(".sqs-layout");m&&P&&!P.hasClass("editing")&&g.setStyles({maxWidth:"none"})}var _=!!g.ancestor(".has-aspect-ratio");o(g)||g.plug(v.Squarespace.Loader2,{mode:_||h?"fill":"none",fixedRatio:_})},l=function(g,v){u(g,v);var h=g.ancestor(".sqs-block");if(!!h){var p=h.one(".lightbox");if(p&&d(p,v),!!h.hasClass("sqs-block-image")){var m=g.getDOMNode();(0,t.isFluidImage)(m)&&((0,t.initializeFluidImageInVisitorView)(m),r.default.createImageEffect(m));var P=!1,_=h.one(".image-block-outer-wrapper");if(_){var b=_.get("offsetWidth")<415;_.toggleClass("sqs-narrow-width",b),b&&(P=!0)}var S=h.one(".sqs-dynamic-text-container");if(S&&(0,n.default)(S.getDOMNode()),h.addClass("sqs-text-ready"),!o(g)&&P){var E=a.default.isSevenOne()&&v.config.win.ImageLoader.loadLazy,A=(E?v.config.win.ImageLoader.loadLazy:v.config.win.ImageLoader.load).bind(v.config.win.ImageLoader);A(g)}}}},c={initializeImageBlock:l,initializeBasicBlockWithImage:u}},345974:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"isRatioIntersecting",{enumerable:!0,get:function(){return a}});var s=e(581945),n=(0,s.createLogger)("IntersectionObserverUtils","#fc0"),a=function(t){var r=t.target,i=t.intersectionRatio,o=t.isIntersecting,d=t.boundingClientRect,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.5;if(!document.body.contains(r))return n("Memory leak detected: el is no longer in document.body.",r),!1;if(!window.innerHeight)return!1;if(i>=u)return!0;var l=d.height>window.innerHeight;return l&&o}},66667:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function e(a,t){for(var r in t)Object.defineProperty(a,r,{enumerable:!0,get:t[r]})}e(f,{getLocalStorageData:function(){return n},saveToLocalStorage:function(){return s}});function s(a,t){if(localStorage){typeof t!="string"&&(t=JSON.stringify(t));try{localStorage.setItem(a,t)}catch(r){console.warn(r)}}}function n(a){var t=null;if(localStorage)try{var r=localStorage.getItem(a);t=JSON.parse(r)}catch(i){t=null}return t}},523630:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=n(e(808847));function n(i){return i&&i.__esModule?i:{default:i}}var a="/api/auth/Logout",t={logout:function(){return s.default.post(a)}},r=t},604482:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}e(f,{setupToggleHandlers:function(){return r},togglePricingOptionsAccessScreen:function(){return i}});var s=".ma-pricing-options .left-button",n=".ma-pricing-options .right-button",a="#sqs-member-access-page-root",t=function(o,d){var u="ma-pricing-option-selected";if(!o.classList.contains(u)){var l=d.querySelector(s),c=d.querySelector(n);if(l&&c){var g=l.getAttribute("aria-pressed")==="true";l.setAttribute("aria-pressed","".concat(!g)),c.setAttribute("aria-pressed","".concat(g)),l.classList.toggle(u),c.classList.toggle(u),d.querySelectorAll(".product-price > div").forEach(function(h){h.classList.toggle("hide")});var v=d.querySelectorAll(".join-ma-section");v.length>0?v.forEach(function(h){h.classList.toggle("hide")}):d.querySelectorAll(".join-button").forEach(function(h){h.classList.toggle("hide")})}}},r=function(o){o.delegate("click",function(){t(o.one(s).getDOMNode(),o.getDOMNode())},s),o.delegate("click",function(){t(o.one(n).getDOMNode(),o.getDOMNode())},n)},i=function(o){var d=document.querySelector(a);if(d){var u=d.querySelector(o);t(u,d)}}},143389:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"initializeMenuBlock",{enumerable:!0,get:function(){return d}});function e(u,l){(l==null||l>u.length)&&(l=u.length);for(var c=0,g=new Array(l);c<l;c++)g[c]=u[c];return g}function s(u){if(Array.isArray(u))return e(u)}function n(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t(u){return s(u)||n(u)||r(u)||a()}function r(u,l){if(!!u){if(typeof u=="string")return e(u,l);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return e(u,l)}}var i=0,o="menu-select-labels--active";function d(u){var l=function(p,m){c.forEach(function(P,_){_===p?(P.setAttribute("tabindex",0),P.setAttribute("aria-selected",!0),P.classList.add(o),m&&P.focus()):(P.setAttribute("tabindex",-1),P.setAttribute("aria-selected",!1),P.classList.remove(o))}),v.forEach(function(P,_){_===p?P.style.display="block":P.style.display="none"})},c=t(u.querySelectorAll(".js-menu-select-labels")),g=c.length;if(g!==0){var v=t(u.querySelectorAll(".js-menu"));l(i,!1),c.forEach(function(h,p){h.addEventListener("click",function(){l(p,!0)}),h.addEventListener("keydown",function(m){m.keyCode===13||m.keyCode===32?(m.stopPropagation(),l(p,!0)):m.keyCode===37?(m.stopPropagation(),l((p-1+g)%g,!0)):m.keyCode===39&&(m.stopPropagation(),l((p+1)%g,!0))})})}}},139215:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return e}});var e=function(s,n){var a=n.config.win;a.Squarespace.onInitialize(n,function(){var t=function(){d&&d.remove(),o.removeClass("sqs-block-opentable-hidden")},r=a.SQUARESPACE_LOGIN&&a.SQUARESPACE_LOGIN.isLoggedIn(),i=n.config.doc.location.protocol==="https:",o=s.one(".OT_Faux_Block"),d=s.one("#OT_form:not(.OT_Faux_Block)");r?(t(),o.all(".OT_list li").removeClass("sqs-block-opentable-hidden"),o.on("click",function(u){u.preventDefault(),n.Squarespace.Widgets.Alert({"strings.title":"Preview Only","strings.message":"Please log out of your Squarespace account in order to use the OpenTable Block."})})):(a.Squarespace.SQUARESPACE_INITIALIZED_ONCE||i)&&t()}),a.Squarespace.onDestroy(n,function(){n.one("#ui-datepicker-div")&&n.one("#ui-datepicker-div").hide()})}},670062:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return u}});var s=t(e(568324)),n=t(e(85129)),a=t(e(936076));function t(l){return l&&l.__esModule?l:{default:l}}var r=function(l,c){var g=0,v=(0,n.default)(l[0],".".concat(c),function(){return++g>3});if(!v){var h=l[0],p=h.parentNode;v=p.ownerDocument.createElement("div"),v.classList.add(c),p.insertBefore(v,h)}return l.forEach(function(m){return v.appendChild(m)}),v},i=function(l){var c=l.querySelector(".squarespace-opentable-new-age-wrapper");c.classList.add("loaded"),c.classList.remove("loading")},o=function(l){var c=l.querySelector(".squarespace-opentable-new-age-wrapper");if(!c)return Promise.reject("[opentablev2] No wrappers");if(c.classList.add("loading"),c.querySelector("iframe"))return i(l),Promise.resolve();var g=document.cookie.split(";"),v=function(A){var T=A&&A.split("=")[1].split(",");return T&&T.includes("eu")},h=function(A){var T=A.split("=")[1].split(","),I=T.includes("2")||T.includes("3");return I},p=function(){var A=g.find(function(T){if(T.includes("notice_behavior"))return T});return v(A)},m=function(){var A=g.find(function(I){if(I.includes("cmapi_cookie_privacy"))return I}),T=p(g);return!!(!T||T&&A&&h(A))};if(window.Static.SQUARESPACE_CONTEXT.website.cloneable&&m()){var P=c.dataset.script,_=document.createElement("script");_.setAttribute("src",P),c.appendChild(_)}var b=(0,a.default)({parent:c,selector:".ot-date-picker, .ot-time-picker, .ot-party-size-picker"}).then(function(A){return r(A,"squarespace-opentable-picker-wrapper")}),S=(0,a.default)({parent:c,selector:".ot-dtp-picker-button"}).then(function(A){return r(A,"squarespace-opentable-button-wrapper")}),E=(0,a.default)({parent:c,selector:".ot-title"}).then(function(A){A.forEach(function(T){var I=T.innerHTML,R=T.ownerDocument.createElement("h1");R.classList.add("squarespace-ot-title"),R.innerHTML=I,T.parentNode.insertBefore(R,T),T.parentNode.removeChild(T)})});return Promise.all([b,S,E]).then((0,a.default)({parent:c,selector:".ot-select-label"})).then(function(){return i(l)}).catch(function(A){console.error("[opentable] widget DOM never rendered")})},d=function(l,c){return new Promise(function(g,v){var h=c.querySelector("script"),p=c.clientWidth>850?"wide":"standard",m=l.Y.Squarespace.Utils&&l.Y.Squarespace.Utils.isInDamaskFrame(),P=m?"false":"true",_=h.getAttribute("src"),b=_.replace(/&(iframe|overlay|theme)=\w+/g,""),S="".concat(b,"&iframe=").concat(P,"&overlay=false&theme=").concat(p);(0,s.default)(S,{before:function(E,A){var T=h.parentNode;try{l.OT&&l.OT.Events&&Object.keys(l.OT.Events.get()).forEach(function(I){return l.OT.Events.remove(I)}),l.oc&&l.oc.events.reset()}catch(I){console.error(I.message)}return T.innerHTML="",T.appendChild(A),!1},success:function(){try{m&&l.oc&&l.oc.renderUnloadedComponents(),o(c).then(function(){if(l.oc&&c.querySelector(".ot-hide")){var E=c.querySelector(".ot-dtp-picker");l.oc.$(E).OTdtp("init")}g()})}catch(E){console.error(E.message),v("[opentable] could not reloadScript and reinit block")}},error:function(){v("[opentable] loadjs failed")}})})},u=function(l){var c=l.ownerDocument.defaultView;c.Squarespace.SQUARESPACE_INITIALIZED_ONCE?d(c,l).catch(function(g){console.error(g)}):o(l)}},791489:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(v,h){for(var p in h)Object.defineProperty(v,p,{enumerable:!0,get:h[p]})}s(f,{initializeTextHighlight:function(){return c},updateTextHighlightColor:function(){return g}});var n=o(e(133152)),a=e(789204),t=e(994058),r=e(444010),i=e(323167);function o(v){return v&&v.__esModule?v:{default:v}}var d="sqs-background-enabled";function u(v){var h=v.closest(".sqs-block-html");if(!!h){var p=h.querySelector(".TextAttributes-props");if(!!p){var m=(p==null?void 0:p.textContent)?JSON.parse(p.textContent):{};return(0,n.default)(m,"id")}}}function l(v){var h,p=v.closest(".sqs-block-html"),m=p.classList.contains(d),P=getComputedStyle(v),_=u(v),b=v.getAttribute("data-text-attribute-id"),S=_==null||(h=_[b])===null||h===void 0?void 0:h.color;if((S==null?void 0:S.type)===i.ColorTypes.THEME_COLOR){var E="--text-highlight-color";return m&&(E="--text-highlight-color-on-background"),P.getPropertyValue(E)}else{if((S==null?void 0:S.type)===i.ColorTypes.SITE_PALETTE_COLOR)return"hsla(\n      ".concat(P.getPropertyValue("--".concat(S.sitePaletteColor.colorName,"-hsl")),",\n      ").concat(S.sitePaletteColor.alphaModifier,"\n    )");if((S==null?void 0:S.type)===i.ColorTypes.CUSTOM_COLOR){var A;return((A=S.customColor)===null||A===void 0?void 0:A.hslaValue)&&(S=(0,t.getFormattedColorReference)(S)),(0,r.stringifyPaletteColorValue)(S.customColor)}}}function c(v){if(!!v){var h=u(v),p=l(v),m=v.getAttribute("data-text-attribute-id");if(h&&p)h[m].color=p;else return;var P=new a.TextShape(v,h);return P}}function g(v){if(!!v.node){var h=l(v.node);v.onStateChange({color:h})}}},212110:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"initializeShapeBlock",{enumerable:!0,get:function(){return n}});var s=e(613296);function n(a){(0,s.initializeShapeBlockInVisitorView)(a)}},721716:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e={create:function(a){var t=function(){};t.prototype=a;var r=new t;return r.ready&&r.ready(),r}},s=e},894580:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return a}});var s=n(e(808847));function n(t){return t&&t.__esModule?t:{default:t}}function a(t,r){t.getDOMNode&&(t=t.getDOMNode());var i;try{i=JSON.parse(t.getAttribute("data-block-json"))}catch(u){return console.warn("Issue with decoding the JSON: ",u),Promise.reject()}var o=JSON.stringify({type:r,id:t.getAttribute("id").replace("block-",""),value:i}),d="widgetJSON=".concat(o);return s.default.post("/api/widget/GetWidgetRendering",d).then(function(u){var l=t.querySelector(".sqs-block-content");l&&u.data&&u.data.html&&(l.innerHTML=u.data.html)})}},955905:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(f,{IS_SQUARESPACE_IOS_APP:function(){return s},IS_SQUARESPACE_ANDROID_APP:function(){return n},IS_SQUARESPACE_MOBILE_APP:function(){return a}});var s=!!(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.isSquarespaceEditor),n=!!(window.SquarespaceApp&&window.SquarespaceApp.isSquarespaceEditor),a=n||s},821824:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(a,t){for(var r in t)Object.defineProperty(a,r,{enumerable:!0,get:t[r]})}e(f,{splitUnits:function(){return s},collapseChar:function(){return n}});function s(a){if(a===void 0||typeof a!="string"||a==="")return{value:a,unit:""};var t=/\d+:\d+.*/.test(a);if(t)return{value:a,unit:""};var r=a.match(/^([-.\d]+(?:\.\d+)?)(.*)$/);return!r||r.length===0?{value:a,unit:""}:{value:parseFloat(r[1].trim()),unit:r[2].trim()}}function n(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"%",r=new RegExp("".concat(t,"+"),"g");return a.replace(r,t)}},766090:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(p,m){for(var P in m)Object.defineProperty(p,P,{enumerable:!0,get:m[P]})}s(f,{calculateVideoPlaceholderAspectRatio:function(){return v},default:function(){return h}});var n=o(e(138816)),a=o(e(808847)),t=o(e(51216));function r(p,m){(m==null||m>p.length)&&(m=p.length);for(var P=0,_=new Array(m);P<m;P++)_[P]=p[P];return _}function i(p){if(Array.isArray(p))return r(p)}function o(p){return p&&p.__esModule?p:{default:p}}function d(p){if(typeof Symbol!="undefined"&&p[Symbol.iterator]!=null||p["@@iterator"]!=null)return Array.from(p)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(p){return i(p)||d(p)||c(p)||u()}function c(p,m){if(!!p){if(typeof p=="string")return r(p,m);var P=Object.prototype.toString.call(p).slice(8,-1);if(P==="Object"&&p.constructor&&(P=p.constructor.name),P==="Map"||P==="Set")return Array.from(P);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return r(p,m)}}function g(p){var m=p.querySelector(".summary-block-wrapper");if(!m||!m.matches(".summary-block-collection-type-events"))return Promise.resolve();var P;try{P=JSON.parse(p.getAttribute("data-block-json"))}catch(A){return console.warn("Issue with decoding the JSON: ",A),Promise.resolve()}var _=p.ownerDocument.defaultView.Static.SQUARESPACE_CONTEXT.collectionId,b=p.closest('.sqs-layout[data-type="page"]');b&&(_=b.getAttribute("id").replace("page-",""));var S=t.default.stringify({collectionId:_,widgetJSON:JSON.stringify({type:n.default.SUMMARY_V2,id:p.getAttribute("id").replace("block-",""),value:P})},{arrayFormat:"repeat"}),E={headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}};return a.default.post("/api/widget/GetWidgetRendering",S,E).then(function(A){var T=p.querySelector(".sqs-block-content");T&&(T.innerHTML=A.data.html)})}var v=function(p){var m=65;return p!=="Auto"&&(m=100/p),m||0},h=function(p){return p.getDOMNode&&(p=p.getDOMNode()),g(p).then(function(){if(!p.querySelector(".summary-block-setting-design-autogrid"))return Promise.resolve();var m=l(p.querySelectorAll("img")),P=0,_=function(S){S.target.removeEventListener("load",_),P++,P===m.length&&(P=0,window.dispatchEvent(new Event("resize")))},b=function(S){S.addEventListener("load",_)};m.forEach(b)})}},854781:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=a(e(420651)),n=a(e(961230));function a(r){return r&&r.__esModule?r:{default:r}}var t=function(){var r=(0,s.default)(window,"Static.SQUARESPACE_CONTEXT.templateVersion");return{getVersion:function(){return r},isVersion:function(o){return r===o},isSevenOne:function(){return r===n.default.SEVEN_ONE}}}()},479196:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});var e="https://www.exploretock.com/tock.js",s=750,n="Tock_widget_container-columnLayout",a=function(o){var d=o.closest(".tock-block");d&&o.classList.toggle(n,d.clientWidth<=s)},t=function(o){return new ResizeObserver(function(){a(o)})},r=function(o){var d=o.ownerDocument,u=d.defaultView,l=o.querySelector("#Tock_widget_container"),c=new MutationObserver(function(){var v=l.querySelector(".TockButton-blue");v.classList.add("sqs-button-element--primary"),c.disconnect()});c.observe(l,{childList:!0});var g;l&&(g=l.getAttribute("data-tock-business-slug"),a(l),u._tockResizeObserver&&(u._tockResizeObserver.disconnect(),u._tockResizeObserver=void 0),u.ResizeObserver&&(u._tockResizeObserver=t(l),u._tockResizeObserver.observe(o))),u.tock||(u.tock={version:"1.0"},u._tockLoadPromise=new Promise(function(v,h){var p=d.createElement("script");d.head.appendChild(p),p.onload=function(){return v()},p.onerror=function(){return h()},p.async=!0,p.src=e})),u._tockLoadPromise.then(function(){u.tock.load(g)})},i=r},885886:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e=Object.freeze({ANCHOR:"ANCHOR",CONTENT_LINK:"CONTENT_LINK",DEFAULT:"DEFAULT",EMPTY_STRING:"EMPTY_STRING",EXTERNAL_LINK:"EXTERNAL_LINK",FILE_LINK:"FILE_LINK",MALFORMED_PROTOCOL:"MALFORMED_PROTOCOL",MISC_PROTOCOL:"MISC_PROTOCOL"}),s=e},743738:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(Ce,it){for(var ct in it)Object.defineProperty(Ce,ct,{enumerable:!0,get:it[ct]})}s(f,{addHttpIfMissing:function(){return ke},addQueryParam:function(){return X},constructUrlFromContent:function(){return et},createUrlSafeString:function(){return k},createUrlWithSlash:function(){return K},deconstructUrlToContent:function(){return st},doubleEncode:function(){return N},encodeUrl:function(){return U},ensurePrefixedUrl:function(){return ve},ensureProtocol:function(){return He},ensureUriOrProtocol:function(){return fe},getNode:function(){return Q},getCategory:function(){return H},getHash:function(){return oe},getHostName:function(){return pe},getPath:function(){return $},getSearch:function(){return ee},hasExternalProtocol:function(){return Se},isAnchor:function(){return xe},isCollectionPanel:function(){return L},isFtp:function(){return We},isInternalUrl:function(){return qe},isIP:function(){return Ee},isJavascript:function(){return we},isLinkExternal:function(){return ae},isMailto:function(){return Je},isProperMailTo:function(){return ue},isProperSms:function(){return nt},isProperTel:function(){return Re},isProperUrl:function(){return le},isSecure:function(){return Ie},isSlash:function(){return Pe},isSms:function(){return Be},isTel:function(){return _e},pathMatches:function(){return me},removeHttpAndWwwFromUrl:function(){return Ne},sanitizeTokenizedBlogUrl:function(){return z},securifyBlockEmbed:function(){return Ve},securifyURL:function(){return Me},stripProtocolAndSlashes:function(){return G},stripTrailingSlashes:function(){return x},tokenizedBlogUrlInputFilter:function(){return J},URI_REGEX:function(){return m}});var n=d(e(1707)),a=d(e(51216)),t=e(821824),r=d(e(885886));function i(Ce,it){(it==null||it>Ce.length)&&(it=Ce.length);for(var ct=0,mt=new Array(it);ct<it;ct++)mt[ct]=Ce[ct];return mt}function o(Ce){if(Array.isArray(Ce))return Ce}function d(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}function u(Ce,it){var ct=Ce==null?null:typeof Symbol!="undefined"&&Ce[Symbol.iterator]||Ce["@@iterator"];if(ct!=null){var mt=[],Ct=!0,Ht=!1,Rt,cn;try{for(ct=ct.call(Ce);!(Ct=(Rt=ct.next()).done)&&(mt.push(Rt.value),!(it&&mt.length===it));Ct=!0);}catch(Cn){Ht=!0,cn=Cn}finally{try{!Ct&&ct.return!=null&&ct.return()}finally{if(Ht)throw cn}}return mt}}
67function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(Ce,it){return o(Ce)||u(Ce,it)||g(Ce,it)||l()}function g(Ce,it){if(!!Ce){if(typeof Ce=="string")return i(Ce,it);var ct=Object.prototype.toString.call(Ce).slice(8,-1);if(ct==="Object"&&Ce.constructor&&(ct=Ce.constructor.name),ct==="Map"||ct==="Set")return Array.from(ct);if(ct==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ct))return i(Ce,it)}}var v="https:",h=["http","https","ftp"],p=/^https?:\/\//i,m=/[\w\:]*\:(\w+)/,P=/(?:https?:\/\/)?(?:www\.)?(.*)\/?$/i,_=/^(https?:)?(\/\/)?[a-zA-Z0-9][a-zA-Z0-9_\-\.]*\.[a-zA-Z]{2,3}(\S*)?$/i,b=/(?:^#)|(?:^\.{0,2}\/)|(?:^(mailto|tel|sms|ftp|javascript):)|^(https?:)?\/\//,S=/^((https?:)?\/\/)|(ftp:\/\/)/i,E=/^([a-z]+):(.*)/i,A=/^(https?:)?(\/\/)?[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/i,T=/^[\+\-\d]{4,}$/,I=/^([\+\-\(\)\d]*\d[\+\-\(\)\d]*,?)+$/,R=/\.[\w\d]+$/,j=/^\/pages\/[0-9a-z]{24,24}$/,x=function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ce.replace(new RegExp("^(/?)(.*[^/])?(/+)?$"),"$1$2")},L=function(Ce){return j.test(Ce)},H=function(Ce){if(Ce=(0,n.default)(Ce),Ce==="")return r.default.EMPTY_STRING;var it=Ce.match(E);if(it&&it.length>2){var ct=it[1].toLowerCase(),mt=it[2].startsWith("//"),Ct=h.includes(ct);if(!Ct)return r.default.MISC_PROTOCOL;if(!mt)return r.default.MALFORMED_PROTOCOL}return Ce.charAt(0)==="#"?r.default.ANCHOR:ae(Ce)?r.default.EXTERNAL_LINK:Ce.indexOf("/s/")===0?r.default.FILE_LINK:Ce.charAt(0)==="/"?r.default.CONTENT_LINK:null},G=function(Ce){return Ce.replace(S,"")},X=function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",it=arguments.length>1?arguments[1]:void 0,ct=arguments.length>2?arguments[2]:void 0,mt="";if((!Ce||typeof Ce!="string")&&(window.SQUARESPACE_SENTRY&&window.SQUARESPACE_SENTRY.captureMessage("Invalid url passed to UrlUtils.addQueryParam"),Ce=""),Ce){var Ct=Ce.split("#");Ct.length>1&&(mt=Ct.slice(1).join(),Ce=Ct[0])}if(typeof it=="string"&&it){var Ht=Ce.indexOf("?")!==-1?"&":"?";Ce+=Ht+it+"="+ct}return mt&&(Ce+="#"+mt),Ce},K=function(Ce){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ct=it.join(""),mt="[^a-zA-Z0-9/\\-".concat(ct,"]");return Ce=Ce.trim().replace(new RegExp("[ ]+","g")," ").replace(new RegExp("[ ]","g"),"-").replace(new RegExp(mt,"g"),"").replace(new RegExp("[\\.\\-]{2,}","g"),"-").replace(new RegExp("[\\.\\/]{2,}","g"),"/").toLowerCase(),Ce},J=function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ce=Ce.replace(/^\/+/g,""),Ce=(0,t.collapseChar)(Ce,"%"),Ce=Ce.replace(/%[^ymdt]/,"%"),Ce=(0,t.collapseChar)(Ce,"/"),Ce?K(Ce,["%"]):""},z=function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x(J(Ce).replace(/%+$/,""))},k=function(Ce,it){var ct=Ce;return it&&(ct+=it),ct=ct.replace(/\//g,""),K(ct)},F=function(Ce,it){return!!Ce&&Ce.search(new RegExp("^"+it+".+","i"))===0},q=[[/\//g,"%2F"],[/\?/g,"%3F"],[/\*/g,"%2A"]],N=function(Ce){var it=q.reduce(function(ct,mt){return ct.replace(mt[0],mt[1])},Ce);return encodeURIComponent(it)},M=function(Ce){return Boolean(Ce)||Ce===""||Ce===0},U=function(Ce){var it=[];return Object.keys(Ce).forEach(function(ct){if(Ce.hasOwnProperty(ct)&&M(Ce[ct])){var mt=typeof Ce[ct]=="string"?Ce[ct]:JSON.stringify(Ce[ct]);it.push(encodeURIComponent(ct)+"="+encodeURIComponent(mt))}}),it.join("&")},Q=function(Ce){var it=document.createElement("a");return it.href=Ce,it},$=function(Ce){return Ce=Q(Ce),Ce.pathname},ee=function(Ce){return Ce=Q(Ce),Ce.search},oe=function(Ce){return Ce=Q(Ce),Ce.hash},pe=function(Ce){var it=G(Ce),ct=it.split("/")[0];return ct},me=function(Ce,it){return Ce=Q(Ce),it=Q(it),Ce.pathname===it.pathname},Se=function(Ce){return S.test(Ce)},Pe=function(Ce){return Ce==="/"},He=function(Ce){return Ce.search(p)<0?Ce="http://"+Ce.replace(/^(\/\/)+/,""):Ce=Ce.replace(S,function(it,ct){return ct}),Ce},fe=function(Ce){return Ce.search(m)<0?He(Ce):Ce},ve=function(Ce){return Ce?b.test(Ce)?Ce:"http://"+G(Ce):""},ae=function(Ce){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window.location.host;if(!Ce||!Se(Ce))return!1;var ct=G(Ce),mt=ct.split("/")[0];return mt.toLowerCase()!==it.toLowerCase()},le=function(Ce){return Ce.search(_)>-1},Ee=function(Ce){return Ce.search(A)>-1}
67,xe=function(Ce){return F(Ce,"#")&&Ce.length<100},_e=function(Ce){return F(Ce,"tel:")&&Ce.length<50},Re=function(Ce){return _e(Ce)&&T.test(Ce.split("tel:")[1])},Be=function(Ce){return F(Ce,"sms:")&&Ce.length<1e3},nt=function(Ce){return Be(Ce)?I.test(Ce.split("sms:")[1]):!1},Je=function(Ce){return F(Ce,"mailto:")&&Ce.length<1e3},ue=function(Ce){if(!Je(Ce))return!1;var it=Ce.split("?")[0],ct=it.split("@");return ct.length===2&&R.test(ct[1])},we=function(Ce){return F(Ce,"javascript:")&&Ce.length<250},We=function(Ce){return F(Ce,"ftp:")&&Ce.length<100},qe=function(Ce){return F(Ce,"\\/[^\\/]")&&Ce.length<150},Ie=function(Ce){var it="";return Ce?it=(Ce+"").toLowerCase().substring(0,6):window&&(it=window.location.protocol),it===v},Me=function(Ce){return Ce&&v+"//"+G(Ce)},Ve=function(Ce,it){if(!(!Ie()||!Ce)){var ct=Ce.all("object embed, iframe"),mt=ct.size();ct.each(function(Ct,Ht){var Rt=Ct.getAttribute("src");Rt&&Ct.setAttribute("src",Me(Rt)),it&&mt===Ht+1&&(Ct.setStyle("display","none"),Ct.setStyle("display",null))})}},Ne=function(Ce){return Ce.replace(P,"$1")},ke=function(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",it="https://".startsWith(Ce.slice(0,8))||"http://".startsWith(Ce.slice(0,7))||"ftp://".startsWith(Ce.slice(0,6));return it?Ce:"http://".concat(Ce)},et=function(Ce){var it=Ce.filters,ct=Ce.urlId,mt=it?a.default.stringify(it,{arrayFormat:"repeat"}):"";return"/".concat(ct)+(mt?"?".concat(mt):"")},st=function(Ce){if(!qe(Ce))return{};var it=c(Ce.replace(/^\//,"").split("?"),2),ct=it[0],mt=it[1],Ct=mt?a.default.parse(mt):null;return{urlId:ct,filters:Ct}}},708659:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return _}});var s=c(e(396491)),n=c(e(689053)),a=c(e(864312)),t=c(e(974183)),r=c(e(167892)),i=c(e(480885)),o=e(66667),d=e(527304),u=c(e(970726)),l=c(e(854781));function c(b){return b&&b.__esModule?b:{default:b}}function g(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=(0,o.getLocalStorageData)(d.PopupOverlayLocalStorage.KEY);if(S&&!(0,u.default)(S)){var E=S[d.PopupOverlayLocalStorage.VERSION];if(E&&E<b.version)return!0;var A=S[d.PopupOverlayLocalStorage.SUBMITTED];if(A&&b.showUntilSignup)return!1;var T=Date.now(),I=S[d.PopupOverlayLocalStorage.CLOSED_DATE];if(I){var R=new Date(I);if(R.setDate(R.getDate()+b.displayFrequency),R<T&&b.displayFrequency!==-1)return!0}return!1}return!0}function v(b){var S=b.settings,E=S===void 0?{}:S,A=b.context,T=A===void 0?{}:A,I=b.isMobile,R=I===void 0?!1:I,j=b.urlSearch,x=j===void 0?"":j,L=T.pageType===a.default.NOT_FOUND&&T.collection&&T.collection.type===n.default.SPLASH_PAGE,H=L||T.pageType===a.default.LOCK_SCREEN;return E.enableMobile===!1&&R||!E.style||E.style===s.default.NONE||H||x.includes("sqsscreenshot=true")?!1:g(E)}function h(b){var S=b.websiteSettings;return l.default.isSevenOne()||!S.hasOwnProperty("ssBadgeType")?!1:S.ssBadgeType!==r.default.NONE}function p(b){var S=b.win,E=b.isMobile,A=b.settings;if(!E)return!1;var T=S.innerWidth,I=T<=1024;return!(!I||!A||!(0,i.default)(A.style)||A.style===t.default.NONE)}function m(b){var S=b.YNodeBody,E=S.all('img[data-licensed-asset-preview="true"]'),A=S.hasClass("has-preview-getty-imgs");return!E.isEmpty()||A}function P(b){var S=b.settings,E=S===void 0?{}:S,A=b.urlSearch,T=A===void 0?"":A;return T.includes("sqsscreenshot=true")?!1:E.isCookieBannerEnabled}var _={shouldShowPopupOverlay:v,shouldShowMobileInformationBar:p,shouldShowLicensedAssetsBar:m,shouldShowSSBadge:h,shouldShowCookieBanner:P}},681217:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});function e(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=window.top;t.fbq&&t.fbq("track",n,a)}var s=e},961980:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return o}});var s=t(e(832308)),n=t(e(754859));function a(d,u,l){return u in d?Object.defineProperty(d,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):d[u]=l,d}function t(d){return d&&d.__esModule?d:{default:d}}function r(d){for(var u=1;u<arguments.length;u++){var l=arguments[u]!=null?arguments[u]:{},c=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(l).filter(function(g){return Object.getOwnPropertyDescriptor(l,g).enumerable}
67))),c.forEach(function(g){a(d,g,l[g])})}return d}var i=new s.default;function o(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.track(d,r({},u,(0,n.default)()),l).catch(function(c){})}},754859:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return n}});var s=e(899241);function n(){var a={},t=window.Static,r=t.SQUARESPACE_CONTEXT;r.website&&(a.websiteId=r.website.id),r.templateId&&(a.templateId=r.templateId),r.templateInstallation&&r.templateInstallation.templateWebsite&&(a.variantId=r.templateInstallation.templateWebsite.id),r.authenticatedAccount&&r.authenticatedAccount.id&&(a.memberAccountId=r.authenticatedAccount.id);var i=window.location,o=i.pathname,d=i.hash;return a.pagePath=a.pagePath||o||"",d&&d!==""&&(a.pageHash=d.substring(1)),a.member_locale=(0,s.getResolvedMemberLocale)(),a.website_locale=(0,s.getResolvedWebsiteLocale)(),a}},82070:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(d,u){for(var l in u)Object.defineProperty(d,l,{enumerable:!0,get:u[l]})}s(f,{getAppDomain:function(){return t},getWebsiteDomain:function(){return i},getDomainForIdentifier:function(){return r},getStaticDomain:function(){return o}});var n=a(e(420651));function a(d){return d&&d.__esModule?d:{default:d}}var t=function(){return(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.appDomain","")},r=function(u,l){return u+"."+(l||t())},i=function(u,l){return r(u.identifier,l||t())},o=function(){var u=t();return u?"https://assets."+u+"/universal":"/universal"}},84198:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});var s=t(e(694049)),n=e(743738),a=e(677640);function t(o){return o&&o.__esModule?o:{default:o}}function r(o){var d=o.one("a");if(!(!d||d.getAttribute("data-initialized"))){var u=d.get("parentNode"),l=d.ancestor(".sqs-block-button"),c=l.getAttribute("id"),g=d.getAttribute("href"),v=d.hasAttribute("target"),h=(0,n.isMailto)(g),p={id:c,buttonText:d.get("innerHTML"),clickthroughUrl:g,alignment:u.getAttribute("data-alignment"),size:u.getAttribute("data-button-size"),newWindow:v,context:s.default.BUTTON_BLOCK};(0,a.trackButtonView)(p),d.on("click",function(m){if(d.hasAttribute("data-tracked")){d.removeAttribute("data-tracked");return}var P=(!v||m.metaKey||m.ctrlKey||m.shiftKey)&&!h;P&&(m.preventDefault(),m.stopImmediatePropagation()),(0,a.trackButtonClick)(p).then(function(){P&&(d.setAttribute("data-tracked",!0),d.simulate("click"))})}),d.setAttribute("data-initialized",!0)}}var i=r},677640:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(F,q){for(var N in q)Object.defineProperty(F,N,{enumerable:!0,get:q[N]})}s(f,{addIntraPageEventFields:function(){return _},manageCookies:function(){return L},track:function(){return H},trackButtonClick:function(){return G},trackButtonView:function(){return X},trackFormRender:function(){return K},trackOverlayEvent:function(){return J},trackPageview:function(){return z},trackProductQuickView:function(){return k}});var n=l(e(492136)),a=l(e(638286)),t=l(e(864312)),r=l(e(913778)),i=l(e(917213)),o=e(899241),d=l(e(808847)),u=l(e(51216));function l(F){return F&&F.__esModule?F:{default:F}}var c=["ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"],g=function(){return Promise.resolve()},v={headers:{"Content-type":"application/x-www-form-urlencoded; charset=utf-8"}};function h(){return window.Static.SQUARESPACE_CONTEXT}function p(){return window.__WE_ARE_SQUARESPACE_DISABLING_CENSUS__}function m(){try{return window.localStorage.setItem("test","1"),!0}catch(F){return!1}}function P(F,q){return q&&(F.pagePermissionTypeValue=q.permissionType),F}function _(F){var q=h(),N=q.itemId,M=q.item,U=q.collectionId,Q=q.collection;P(F,Q),N&&M?(F.pageTitle=M.title,F.pageId=N,F.contentSource="i"):U&&Q&&(F.pageTitle=Q.title,F.pageId=U,F.contentSource="c"),F.pagePath=window.location.pathname}function b(){var F=h(),q=F.authenticatedAccount,N=F.pageType,M=F.websiteRoles,U=M&&Object.keys(M).map(function($){return parseInt($,10)}).includes(i.default.VIEWER)&&Object.keys(M).length===1,Q=!window.location.pathname.match(/\/config\/*/
67)&&U;return(!q||Q)&&N!==t.default.NOT_FOUND&&N!==t.default.LOCK_SCREEN&&N!==t.default.MEMBER_AREA_ACCESS_DENIED&&p()!==!0}function S(){var F=h().website;return!!(F==null?void 0:F.cloneable)}function E(){var F=h().cookieSettings;return S()?!0:F&&F.isRestrictiveCookiePolicyEnabled&&(F.isRestrictiveCookiePolicyAbsolute||!F.isCookieBannerEnabled||!a.default.get("ss_cookieAllowed")||a.default.get("ss_cookieAllowed")==="false")}function A(F){return function(q){if(b()){var N=n.default.hit(E());return q.visitorCookie=N,_(q),d.default.post(F,q,{timeout:2500}).catch(g)}return Promise.resolve()}}function T(F){return F.userAgent=navigator.userAgent,F.clientDate=new Date().getTime(),F.viewportInnerHeight=window.innerHeight,F.viewportInnerWidth=window.innerWidth,F.screenHeight=window.screen.height,F.screenWidth=window.screen.width,F}function I(F){var q=h(),N=q.website,M=q.templateId;return N&&(F.websiteId=N.id),M&&(F.templateId=M),F.website_locale=(0,o.getResolvedWebsiteLocale)(),F}function R(F){F.url=window.location.pathname;var q=h(),N=q.itemId,M=q.item,U=q.collectionId,Q=q.collection;return P(F,Q),N&&M?(F.title=M.title,F.itemId=N,F.recordType=M.recordType):U&&Q&&(F.title=Q.title,F.collectionId=U),F}function j(){return{localStorageSupported:m(),queryString:window.location.search,referrer:window.document.referrer}}function x(){return window.location.pathname==="/search"}function L(){if(E())for(var F=0;F<c.length;F++)a.default.get(c[F])&&a.default.set(c[F],"",{path:"/",expires:new Date(0).toUTCString()})}function H(F,q){if(!!b()){(typeof q!="object"||q===null)&&(q={}),I(q),T(q),R(q);var N=n.default.hit(E());d.default.post("/api/census/RecordHit",u.default.stringify({event:F,data:JSON.stringify(q),ss_cvr:N},{arrayFormat:"repeat"}),v).catch(g)}}var G=A("/api/census/button-click"),X=A("/api/census/button-render");function K(F){if(b()){var q=n.default.hit(E()),N={formId:F,visitorCookie:q};return _(N),d.default.post("/api/census/form-render",N).catch(g)}return Promise.resolve()}function J(F){if(b()){var q=n.default.hit(E());return F.visitorCookie=q,_(F),d.default.post("/api/census/overlay",F).catch(g)}}function z(){if(!x()){var F=j();H(r.default.PAGE_VIEW,F)}}function k(F){b()&&d.default.post("/api/census/RecordQuickView/".concat(F))}},801182:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=e(432464),n="USD",a=null,t={getStoreCurrency:function(){return a||(a=(0,s.get)(window,["Static","SQUARESPACE_CONTEXT","websiteSettings","storeSettings","selectedCurrency"],n)),a},updateStoreCurrency:function(o){a=o}},r=t},801189:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(k,F){for(var q in F)Object.defineProperty(k,q,{enumerable:!0,get:F[q]})}s(f,{trackCartPageProductFormOpen:function(){return u},trackCartPageProductFormClose:function(){return l},trackCartPageProductFormSubmit:function(){return c},trackCreateCustomerAccount:function(){return g},trackAddToCart:function(){return v},trackSearch:function(){return h},trackSubscribeNewsletter:function(){return p},trackViewProductPage:function(){return m},trackApiKeysPanelLearnMore:function(){return P},trackApiKeysPanelTermsOfUse:function(){return _},trackApiKeysPanelCreateKey:function(){return b},trackApiKeysPanelDeleteKey:function(){return S},trackApiKeysPanelDeleteKeyConfirm:function(){return E},trackApiKeyCreationModalCopy:function(){return A},trackApiKeyCreationModalNext:function(){return T},trackApiKeyCreationModalCancel:function(){return I},trackApiKeyCreationModalComplete:function(){return R},trackDynamicAdsProductsFeedUrlCopy:function(){return j},trackFacebookPixelSaveId:function(){return x},trackInventoryPanelSearchProducts:function(){return L},trackInventoryPanelSortOnName:function(){return H},trackInventoryPanelSortOnStock:function(){return G},trackInventoryPanelSortOnPrice:function(){return X},trackInventoryPanelClickRowExpander:function(){return K},trackInventoryPanelClickRow:function(){return J},trackInventoryPanelClickNextPage:function(){return z}});var n=o(e(252423)),a=o(e(472583)),t=o(e(681217)),r=o(e(961980));function i(k,F,q){return F in k?Object.defineProperty(k,F,{value:q,enumerable:!0,configurable:!0,writable:!0}):k[F]=q,k}function o(k){return k&&k.__esModule?k:{default:k}}function d(k){for(var F=1;F<arguments.length;F++){var q=arguments[F]!=null?arguments[F]:{},N=Object.keys(q);typeof Object.getOwnPropertySymbols=="function"&&(N=N.concat(Object.getOwnPropertySymbols(q).filter(function(M){return Object.getOwnPropertyDescriptor(q,M).enumerable}
67))),N.forEach(function(M){i(k,M,q[M])})}return k}var u=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_OPEN)},l=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_CLOSE)},c=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_SUBMIT)},g=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.CREATE_CUSTOMER_ACCOUNT,k)},v=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.ADD_TO_CART,k)},h=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SEARCH,k)},p=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SUBSCRIBE_NEWSLETTER,k)},m=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.VIEW_PRODUCT_PAGE,k)},P=function(){return(0,r.default)("interface_click",{identifier:a.default.API_KEYS_PANEL_LEARN_MORE})},_=function(){return(0,r.default)("interface_click",{identifier:a.default.API_KEYS_PANEL_TERMS_OF_USE})},b=function(){return(0,r.default)("interface_click",{identifier:a.default.API_KEYS_PANEL_CREATE_KEY})},S=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEYS_PANEL_DELETE_KEY},k))},E=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEYS_PANEL_DELETE_KEY_CONFIRM},k))},A=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEY_CREATION_MODAL_COPY},k))},T=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEY_CREATION_MODAL_NEXT},k))},I=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEY_CREATION_MODAL_CANCEL},k))},R=function(k){return(0,r.default)("interface_click",d({identifier:a.default.API_KEY_CREATION_MODAL_COMPLETE},k))},j=function(){return(0,r.default)(n.default.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_URL_COPY)},x=function(){return(0,r.default)(n.default.FACEBOOK_PIXEL_SAVE_ID)},L=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SEARCH_PRODUCTS)},H=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_NAME)},G=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_STOCK)},X=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_PRICE)},K=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_ROW_EXPANDER)},J=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_ROW)},z=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_NEXT_PAGE)}},979313:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=a(e(795478)),n=e(432464);function a(r){return r&&r.__esModule?r:{default:r}}function t(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var d=(0,n.keyBy)(i);return Object.defineProperties(d,{includes:{value:function(u){return i.includes(u)}},propType:{value:s.default.oneOf(i)}}),Object.freeze(d)}},225269:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(b,S){for(var E in S)Object.defineProperty(b,E,{enumerable:!0,get:S[E]})}s(f,{addBreadcrumb:function(){return u},captureMessage:function(){return l},captureException:function(){return c},captureEvent:function(){return g},configureScope:function(){return v},withScope:function(){return h},isSentryConnected:function(){return _}});var n=e(532940);function a(b,S){(S==null||S>b.length)&&(S=b.length);for(var E=0,A=new Array(S);E<S;E++)A[E]=b[E];return A}function t(b){if(Array.isArray(b))return a(b)}function r(b){if(typeof Symbol!="undefined"&&b[Symbol.iterator]!=null||b["@@iterator"]!=null)return Array.from(b)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(b){return t(b)||r(b)||d(b)||i()}function d(b,S){if(!!b){if(typeof b=="string")return a(b,S);var E=Object.prototype.toString.call(b).slice(8,-1);if(E==="Object"&&b.constructor&&(E=b.constructor.name),E==="Map"||E==="Set")return Array.from(E);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return a(b,S)}}var u,l,c,g,v,h,p=function(b){return function(S){for(var E=arguments.length,A=new Array(E>1?E-1:0),T=1;T<E;T++)A[T-1]=arguments[T];var I;
67return(I=console).log.apply(I,["[Sentry][".concat(b,"] ").concat(S)].concat(o(A))),"some-error-identifier"}},m=!1,P=function(b){var S=b.category,E=b.message;console.log("[Sentry][addBreadcrumb] (".concat(S,") ").concat(E))},_=!1;window.SQUARESPACE_SENTRY?(_=!0,u=window.SQUARESPACE_SENTRY.addBreadcrumb,l=window.SQUARESPACE_SENTRY.captureMessage,c=window.SQUARESPACE_SENTRY.captureException,g=window.SQUARESPACE_SENTRY.captureEvent,v=window.SQUARESPACE_SENTRY.configureScope,h=window.SQUARESPACE_SENTRY.withScope):(console.warn("SENTRY WAS __NOT__ INITIALIZED. Logs will be forwarded to console instead."),u=m?P:function(){},l=p("captureMessage"),c=p("captureException"),g=p("captureEvent"),v=function(){},h=function(b){var S=new n.Scope;console.log("[Sentry][withScope]",S),b(S)})},637348:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return l}});var s=i(e(906045)),n=i(e(311462)),a=i(e(254775));function t(c,g){if(!(c instanceof g))throw new TypeError("Cannot call a class as a function")}function r(c,g,v){return g in c?Object.defineProperty(c,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):c[g]=v,c}function i(c){return c&&c.__esModule?c:{default:c}}function o(c){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{},h=Object.keys(v);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(v).filter(function(p){return Object.getOwnPropertyDescriptor(v,p).enumerable}))),h.forEach(function(p){r(c,p,v[p])})}return c}var d="SquarespaceAdminEvents",u=function(){"use strict";function c(v){var h=v.customSchemaName,p=v.eventOwnerTeam;t(this,c);var m,P=window==null||(m=window.Static)===null||m===void 0?void 0:m.SQUARESPACE_CONTEXT,_={event_owner_team:p,event_source:"web"};if(P){var b,S;if(Object.assign(_,o({user_member_account_id:P==null||(b=P.authenticatedAccount)===null||b===void 0?void 0:b.id,user_website_id:P==null||(S=P.website)===null||S===void 0?void 0:S.id},(0,a.default)())),window.BroadcastChannel){var E=P==null?void 0:P.accessPermissions;E&&E.includes(n.default.ADMIN)&&(this.bc=new BroadcastChannel(d))}}this.tracker=new s.default({customSchemaName:h,logging:!1==="true"},_)}var g=c.prototype;return g.track=function(h){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}this.tracker.track(h),this.bc&&this.bc.postMessage({squarespaceEventPayload:h})},c}(),l=u},104348:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return p}});var s=u(e(871637)),n=o(e(420651)),a=e(563396),t=o(e(254775));function r(m,P){if(!(m instanceof P))throw new TypeError("Cannot call a class as a function")}function i(m,P,_){return P in m?Object.defineProperty(m,P,{value:_,enumerable:!0,configurable:!0,writable:!0}):m[P]=_,m}function o(m){return m&&m.__esModule?m:{default:m}}function d(m){if(typeof WeakMap!="function")return null;var P=new WeakMap,_=new WeakMap;return(d=function(b){return b?_:P})(m)}function u(m,P){if(!P&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var _=d(P);if(_&&_.has(m))return _.get(m);var b={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in m)if(E!=="default"&&Object.prototype.hasOwnProperty.call(m,E)){var A=S?Object.getOwnPropertyDescriptor(m,E):null;A&&(A.get||A.set)?Object.defineProperty(b,E,A):b[E]=m[E]}return b.default=m,_&&_.set(m,b),b}function l(m){for(var P=1;P<arguments.length;P++){var _=arguments[P]!=null?arguments[P]:{},b=Object.keys(_);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(_).filter(function(S){return Object.getOwnPropertyDescriptor(_,S).enumerable}))),b.forEach(function(S){i(m,S,_[S])})}return m}function c(m,P){var _=Object.keys(m);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(m);P&&(b=b.filter(function(S){return Object.getOwnPropertyDescriptor(m,S).enumerable})),_.push.apply(_,b)}return _}function g(m,P){return P=P!=null?P:{},Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(P)):c(Object(P)).forEac
67h(function(_){Object.defineProperty(m,_,Object.getOwnPropertyDescriptor(P,_))}),m}var v=(0,a.isInternal)()?s.SourceEnvironment.STAGING:s.SourceEnvironment.PROD,h=function(){"use strict";function m(_,b){r(this,m),this.tracker=new s.default({customSchemaName:_,sourceEnvironment:v},l(g(l({},b),{member_account_id:(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.id",null),context_website_id:(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.website.id",null)}),(0,t.default)()))}var P=m.prototype;return P.track=function(b){this.tracker.track(b)},m}(),p=h},421918:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return u}});var s=n(e(326336));function n(l){return l&&l.__esModule?l:{default:l}}var a=/({[^}]+})/g,t=/{([^}]+)}/,r=function(l){return typeof l=="string"},i=(0,s.default)(function(l){return l.split(a)}),o=function(l,c){return l+"-"+JSON.stringify(c)},d=(0,s.default)(function(l,c){return typeof c=="object"&&c!==null&&(l=l.map(function(g){var v=g.match(t);return v&&c.hasOwnProperty(v[1])?c[v[1]]+"":g})),l.join("")},o),u=function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!c||!r(l))return l;var g=i(l);return d(g,c)}},785974:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return a}});var s=n(e(572063));function n(t){return t&&t.__esModule?t:{default:t}}function a(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t=(0,s.default)(t);var i=t.isAfter()||!r&&t.diff((0,s.default)(),"s")>-60;return i?t.from(t):t.fromNow()}},169103:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return u}});var s=e(449466);function n(l,c,g,v,h,p,m){try{var P=l[p](m),_=P.value}catch(b){g(b);return}P.done?c(_):Promise.resolve(_).then(v,h)}function a(l){return function(){var c=this,g=arguments;return new Promise(function(v,h){var p=l.apply(c,g);function m(_){n(p,v,h,m,P,"next",_)}function P(_){n(p,v,h,m,P,"throw",_)}m(void 0)})}}function t(l,c,g){return c in l?Object.defineProperty(l,c,{value:g,enumerable:!0,configurable:!0,writable:!0}):l[c]=g,l}function r(l){for(var c=1;c<arguments.length;c++){var g=arguments[c]!=null?arguments[c]:{},v=Object.keys(g);typeof Object.getOwnPropertySymbols=="function"&&(v=v.concat(Object.getOwnPropertySymbols(g).filter(function(h){return Object.getOwnPropertyDescriptor(g,h).enumerable}))),v.forEach(function(h){t(l,h,g[h])})}return l}var i=function(l,c){var g,v,h,p,m={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]};return p={next:P(0),throw:P(1),return:P(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function P(b){return function(S){return _([b,S])}}function _(b){if(g)throw new TypeError("Generator is already executing.");for(;m;)try{if(g=1,v&&(h=b[0]&2?v.return:b[0]?v.throw||((h=v.return)&&h.call(v),0):v.next)&&!(h=h.call(v,b[1])).done)return h;switch(v=0,h&&(b=[b[0]&2,h.value]),b[0]){case 0:case 1:h=b;break;case 4:return m.label++,{value:b[1],done:!1};case 5:m.label++,v=b[1],b=[0];continue;case 7:b=m.ops.pop(),m.trys.pop();continue;default:if(h=m.trys,!(h=h.length>0&&h[h.length-1])&&(b[0]===6||b[0]===2)){m=0;continue}if(b[0]===3&&(!h||b[1]>h[0]&&b[1]<h[3])){m.label=b[1];break}if(b[0]===6&&m.label<h[1]){m.label=h[1],h=b;break}if(h&&m.label<h[2]){m.label=h[2],m.ops.push(b);break}h[2]&&m.ops.pop(),m.trys.pop();continue}b=c.call(l,m)}catch(S){b=[6,S],v=0}finally{g=h=0}if(b[0]&5)throw b[1];return{value:b[0]?b[1]:void 0,done:!0}}},o=function(){var l=a(function(c){return i(this,function(g){switch(g.label){case 0:switch(c){case s.effectTypes.liquid:return[3,1];case s.effectTypes.filmGrain:return[3,3];case s.effectTypes.parallax:return[3,5];case s.effectTypes.refractedCircles:return[3,7];case s.effectTypes.refractedLines:return[3,9]}return[3,11];case 1:return[4,e.e(6910).then(e.bind(e,637977))];case 2:return[2,g.sent()];case 3:return[4,e.e(72994).then(e.bind(e,333744))];case 4:return[2,g.sent()];case 5:return[4,e.e(86567).then(e.bind(e,716081))];case 6:return[2,g.sent()];case 7:return[4,e.e(85364).then(e.bind(e,140961))];case 8:return[2,g.sent()];case 9:return[4,e.e(98659).then(e.bind(e,413552))];case 10:return[2,g.sent()];case 11:return[2]}})});return function(g){return l.apply(this,arguments)}}(),d=function(){var l=a(function(c,g){var v,h,p,m,P,_;return i(this,function(b){switch(b.label){case 0:return v=c.parentNode.querySelector(".imageEffe
67ctContainer"),v?(h=g||JSON.parse(v.dataset.effect),h?(p=h.type,!p||p==="none"?[2]:[4,o(p)]):[2]):[2];case 1:return m=b.sent(),P=m.default,_=new P({image:c,container:v,effectProps:r({},h)}),[2,_]}})});return function(g,v){return l.apply(this,arguments)}}(),u={createImageEffect:d}},90496:function(y,f){"use strict";var e;e={value:!0},Object.defineProperty(f,"Z",{enumerable:!0,get:function(){return n}});var s=function(){var a=window.navigator.userAgent.toLowerCase(),t=a.indexOf("safari/"),r="ontouchstart"in window;if(t<=-1||!r||window.screen.width<700)return!1;var i=typeof window!="undefined"&&"PointerEvent"in window&&window.PointerEvent.prototype.constructor.length===1;return i},n=s},734422:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});function e(n,a){if(typeof n.closest=="function")return n.closest(a)||null;for(;n;){if(n.matches(a))return n;n=n.parentElement}return null}function s(n){if(!n)return!1;var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"sqs-dynamic-text",t=n.ownerDocument,r=t.defaultView;if(!r)return!1;var i=r.innerWidth,o=Array.from(n.querySelectorAll("."+a));return o.forEach(function(d){var u=d.offsetWidth,l=Math.floor(u/i*1e3)/10,c=parseInt(d.getAttribute("data-width-percentage"),10);if(c!==l){d.style.fontSize="calc(0.5rem + "+l+"%)",d.style.fontSize="max(.75rem, "+l+"%)",d.setAttribute("data-width-percentage",l);var g=parseInt(r.getComputedStyle(d,null).getPropertyValue("font-size"),10),v=d.firstChild;v&&v.classList&&(g>0&&g<=13?v.classList.add("min-font-set"):v.classList.contains("min-font-set")&&v.classList.remove("min-font-set"));var h=e(d,".image-block-outer-wrapper");h&&h.classList.add("sqs-text-ready")}}),!0}},984920:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return A}});var s=e(432464),n=h(e(708380)),a=h(e(799035)),t=h(e(885363)),r=h(e(217211)),i=h(e(718866)),o=h(e(526047)),d=h(e(491710)),u=h(e(86645));function l(T,I){(I==null||I>T.length)&&(I=T.length);for(var R=0,j=new Array(I);R<I;R++)j[R]=T[R];return j}function c(T){if(Array.isArray(T))return l(T)}function g(T,I){if(!(T instanceof I))throw new TypeError("Cannot call a class as a function")}function v(T,I,R){return I in T?Object.defineProperty(T,I,{value:R,enumerable:!0,configurable:!0,writable:!0}):T[I]=R,T}function h(T){return T&&T.__esModule?T:{default:T}}function p(T){if(typeof Symbol!="undefined"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(T){for(var I=1;I<arguments.length;I++){var R=arguments[I]!=null?arguments[I]:{},j=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(j=j.concat(Object.getOwnPropertySymbols(R).filter(function(x){return Object.getOwnPropertyDescriptor(R,x).enumerable}))),j.forEach(function(x){v(T,x,R[x])})}return T}function _(T){return c(T)||p(T)||b(T)||m()}function b(T,I){if(!!T){if(typeof T=="string")return l(T,I);var R=Object.prototype.toString.call(T).slice(8,-1);if(R==="Object"&&T.constructor&&(R=T.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return l(T,I)}}var S=window.matchMedia("(prefers-reduced-motion: reduce)"),E=function(){return S.matches},A=function(){"use strict";function T(R,j){var x=this;g(this,T),this.defaultAnimationProps={waveFrequency:1,waveIntensity:0,animationDirection:t.default.LEFT,animationSpeed:1,pausedOnHover:!1},this.info={pathLength:0},this.prevRegionWidth=-1,this.prevTextHeight=-1,this.uniforms={hover:{value:1}},this.intersectionScroll=null,this.rAFID=null,this.render=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},J=K.isForce,z=J===void 0?!1:J;if(!!x.node){var k=x.props.waveIntensity,F=Math.max(x.node.clientWidth,50),q=x.ref.measurementContainer.clientWidth,N=x.ref.originGroupItemNodes.map(function(Q){var $=Q.clientWidth,ee=window.getComputedStyle(Q),oe=parseFloat(ee.marginRight)||0;return{width:$,spacing:oe}}),M=x.ref.firstMeasuredItemNode.clientHeight,U=M*.1;(F!==x.prevRegionWidth||M!==x.prevTextHeight||z)&&x.redrawPath({regionWidth:F,textHeight:M,transformYOffset:U}),x.prevRegionWidth=F,x.prevTextHeight=M,x.wave.onResize({measuredItems:N,measuredWidth:Math.max(q,50),pathLength:x.info.pathLength,regionWidth:F}),x.ref.svg.style.height="".concat(M+k,"px"),x.ref.svg.style.transform="translateY(".concat(U,"px)"),x.ref.path
67HitboxFocusOutline.style.transform="translateY(".concat(U,"px)")}},this.rerender=function(){x.debouncedRerender=(0,s.debounce)(x.render,1e3),x.debouncedRerender()},this.handleMediaQueryListChange=function(K){var J=K.matches;J?x.stop():x.start()},this.onIntersection=function(K){if(K&&!E()){x.isImmediate=!0,x.start();return}x.stop()},this.onPointerEnter=function(){x.ref.pathHitbox.dataset.hover=!0,x.uniforms.hover.value=0},this.onPointerLeave=function(){x.ref.pathHitbox.dataset.hover=!1,x.uniforms.hover.value=1},this.tick=function(){x.onTick(),x.rAFID=requestAnimationFrame(x.tick)},this.destroy=function(){var K,J;x.unbindListeners(),x.stop(),x.wave.destroy(),(K=x.debouncedRerender)===null||K===void 0||(J=K.cancel)===null||J===void 0||J.call(K),delete x.node},this.node=R,this.Y=j,this.ref=(0,o.default)(this.node);var L=this.node.closest(".sqs-block-marquee").id.replace("block-","");(0,d.default)(L,this.ref),this.props=P({},this.defaultAnimationProps,JSON.parse(this.ref.props.textContent)),this.ref.wrapper.dataset.ready=!0;var H=this.props,G=H.animationDirection,X=H.animationSpeed;this.wave=new u.default({container:this.ref.textPath,animationDirection:G,originGroupItemNodes:this.ref.originGroupItemNodes,path:this.ref.path,sharedUniforms:this.uniforms,animationSpeed:r.default[G]*X,svgGroupItemNodes:this.ref.svgGroupItemNodes,trackContainer:this.ref.trackContainer}),this.render(),this.bindListeners()}var I=T.prototype;return I.redrawPath=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=j.regionWidth,L=x===void 0?100:x,H=j.textHeight,G=H===void 0?10:H,X=j.transformYOffset,K=X===void 0?0:X,J=this.props,z=J.waveIntensity,k=J.waveFrequency,F=(0,i.default)(250,1e3,(0,s.clamp)(k*.1,0,1)),q=F*.333,N=Math.ceil((L+F*2)/F)+1,M=-F,U=G*.662,Q=function(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return _(Array(N).keys()).reduce(function(pe,me){var Se=M+me*F,Pe=oe+(me%2==0?0:z);return pe+(me===0?" L".concat(Se,",").concat(Pe):" S".concat(Se-q,",").concat(Pe," ").concat(Se,",").concat(Pe))},"")},$="M".concat(M,",").concat(U," ").concat(Q(U)),ee="\n      M".concat(M,",").concat(z+G,"\n      ").concat(Q(G-K),"\n      M").concat(M,",").concat(Math.max(z,K),"\n      ").concat(Q(K),"\n    ");this.ref.path.setAttribute("d",$),this.ref.pathGroup.setAttribute("transform","translate(0, ".concat(G*.05,")")),this.ref.pathHitbox.setAttribute("d",$),this.ref.pathHitbox.setAttribute("stroke-width",G),this.ref.pathHitboxFocusOutline.setAttribute("d",ee),this.ref.pathHitboxGroup.setAttribute("transform","translate(0, ".concat(-U+U*.75,")")),this.info.pathLength=this.ref.path.getTotalLength(),this.lerps=this.buildLerps(3)},I.buildLerps=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3,x=this,L=Math.ceil(this.info.pathLength/j)+1;return _(Array(L).keys()).reduce(function(H,G){var X=G*j,K=x.ref.path.getPointAtLength(X);if(H.points[G]=K,H.index[G]=X,H.x[G]=K.x,H.y[G]=K.y,G>0){var J=G-1,z=H.points[J],k=H.points[G];H.rotation[J]=Math.atan2(k.y-z.y,k.x-z.x)*180/Math.PI,G===L-1&&(H.rotation[G]=H.rotation[J])}return H},{index:[],points:[],x:[],y:[],rotation:[]})},I.onTick=function(){this.wave.tick(this.lerps)},I.bindListeners=function(){var j=this;n.default.on(this.render,0),(S==null?void 0:S.addEventListener)?S.addEventListener("change",this.handleMediaQueryListChange):S.addListener(this.handleMediaQueryListChange),this.intersectionScroll=new a.default(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.addEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.addEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.addEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.addEventListener(["mouseleave"],this.onPointerLeave)),this.tweakListener=this.Y.Global.on("tweak:change",this.rerender),document.fonts.ready.then(function(){j.rerender()})},I.unbindListeners=function(){var j,x;n.default.off(this.render,0),(S==null?void 0:S.removeEventListener)?S.removeEventListener("change",this.handleMediaQueryListChange):S.removeListener(this.handleMediaQueryListChange),(j=this.intersectionScroll)===null||j===void 0||j.destroy(),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.removeEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.removeEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.removeEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.removeEventListener(["mouseleave"],this.onPointerLeave)),(x=this.tweakListener)===null||x===void 0||x.detach()},I.start=function(){this.rAFID=requestAnimationFrame(this.tick)},I.stop=function(){cancelAnimationFrame(this.rAFID)},I.restart=function(){this.stop(),this.start()},T}()},86645:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return d}});var s=t(e(244496));function n(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function a(u,l,c){return l in u?Object.defineProperty(u,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[l]=c,u}function t(u){return u&&u.__esModule?u:{default:u}}function r(u){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{},g=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(c).filter(function(v){return Object.getOwnPropertyDescriptor(c,v).enumerable}))),g.forEach(function(v){a(u,v,c[v])})}return u}function i(u,l){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(u);l&&(g=g.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),c.push.apply(c,g)}return c}function o(u,l){return l=l!=null?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(l)):i(Object(l)).forEac
67h(function(c){Object.defineProperty(u,c,Object.getOwnPropertyDescriptor(l,c))}),u}var d=function(){"use strict";function u(c){n(this,u),this.waveGroups=[],this.info={measuredWidth:0,numGroups:0},this.props=c,this.uniforms=o(r({},this.props.sharedUniforms),{progress:{value:0}})}var l=u.prototype;return l.onResize=function(g){var v=g.regionWidth,h=g.pathLength,p=g.measuredWidth,m=g.measuredItems,P=this.props,_=P.path,b=P.trackContainer,S=P.container,E=P.originGroupItemNodes,A=P.svgGroupItemNodes,T=Math.ceil((h+p)/p)*p,I=Math.ceil(T/p);for(this.info.measuredWidth=p,_.setAttribute("stroke-dasharray",this.getStrokeDashArray(m));this.info.numGroups<I&&S.childElementCount/E.length<I;){this.info.numGroups+=1;var R=new s.default({container:S,domContainer:b,originGroupItemNodes:E,path:_,svgGroupItemNodes:A});this.waveGroups.push(R)}this.positionGroups(m)},l.getStrokeDashArray=function(g){return g.reduce(function(v,h){return v+"".concat(h.width," ").concat(h.spacing," ")},"")},l.positionGroups=function(g){var v=0;this.waveGroups.forEach(function(h){v=h.positionItems({x:v,measuredItems:g})})},l.tick=function(g){var v=this.props,h=v.container,p=v.path,m=v.animationSpeed,P=this.info.measuredWidth;this.uniforms.progress.value-=m*this.uniforms.hover.value;var _=((P+this.uniforms.progress.value)%P+P)%P;h.setAttribute("startOffset",-_),p.setAttribute("stroke-dashoffset",_)},l.destroy=function(){var g;(g=this.waveGroups)===null||g===void 0||g.forEach(function(v){return v.destroy()}),this.waveGroups=null},u}();d.defaultProps={animationDirection:"left",animationSpeed:-1,container:null,originGroupItemNodes:[],path:null,sharedUniforms:{hover:{value:0}},svgGroupItemNodes:[],trackContainer:null}},244496:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});function e(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var s=function(){"use strict";function n(t){e(this,n),this.info={numItems:0},this.props=t,this.items=this.getItems(),this.info.numItems=this.items.length}var a=n.prototype;return a.getItems=function(){var r=this.props,i=r.container,o=r.svgGroupItemNodes;return o.reduce(function(d,u){var l=u.cloneNode(!0),c={x:0,node:l,domNode:null};return d.push(c),i.appendChild(l),d},[])},a.positionItems=function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=r.x,o=r.measuredItems,d=i,u=0;u<this.info.numItems;u+=1){var l=this.items[u],c=o[u];l.x=d,l.node.setAttribute("x",l.x),d+=c.width+c.spacing}return d},a.destroy=function(){this.items=[],this.info.numItems=0},n}();s.defaultProps={container:null,domContainer:null,originGroupItemNodes:[],path:null,svgGroupItemNodes:[]}},526047:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e=function(n){return{wrapper:n.querySelector(".Marquee"),display:n.querySelector(".Marquee-display"),props:n.querySelector(".Marquee-props"),measurementContainer:n.querySelector(".Marquee-measure"),firstMeasuredItemNode:n.querySelector(".Marquee-measure h1, .Marquee-measure p"),originGroupItemNodes:Array.from(n.querySelectorAll(".Marquee-measure .Marquee-item")),trackContainer:n.querySelector(".Marquee-track"),svg:n.querySelector(".Marquee-svg"),svgGroup:n.querySelector(".Marquee-svg-group"),svgGroupItemNodes:Array.from(n.querySelectorAll(".Marquee-svg-group > *")),path:n.querySelector(".Marquee-path"),pathGroup:n.querySelector(".Marquee-path-group"),hitbox:n.querySelector("[data-hitbox]"),pathHitbox:n.querySelector(".Marquee-path-hitbox"),pathHitboxFocusOutline:n.querySelector(".Marquee-path-hitbox-focus-outline"),pathHitboxGroup:n.querySelector(".Marquee-path-hitbox-group"),textPath:n.querySelector(".Marquee-svg-text"),visuallyHiddenTextContent:n.querySelector(".v6-visually-hidden")}},s=e},92299:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return a}});var s=n(e(984920));function n(t){return t&&t.__esModule?t:{default:t}}var a=function(t,r){return new s.default(t,r)}},718866:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e=function(n,a,t){return n*(1-t)+a*t},s=e},491710:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});var e=function(n,a){a.path.setAttribute("id",n),a.pathHitbox.setAttribute("id",n),a.textPath.setAttribute("href","#"+n),a.svgGroup.setAttribute("href","#"+n),a.visuallyHiddenTextContent.setAttribute("id","ariaLabel"+n),a.hitbox.setAttribute("aria-labelledby","ariaLabel"+n)},s=e},964671:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});function s(r,i,o,d,u,l,c){try{var g=r[l](c),v=g.value}catch(h){o(h);return}g.done?i(v):Promise.resolve(v).then(d,u)}function n(r){return function(){var i=this,o=arguments;return new Promise(function(d,u){var l=r.apply(i,o);function c(v){s(l,d,u,c,g,"next",v)}function g(v){s(l,d,u,c,g,"throw",v)}c(void 0)})}}var a=function(r,i){var o,d,u,l,c={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return l={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function g(h){return function(p){return v([h,p])}}function v(h){if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,d&&(u=h[0]&2?d.return:h[0]?d.throw||((u=d.return)&&u.call(d),0):d.next)&&!(u=u.call(d,h[1])).done)return u;switch(d=0,u&&(h=[h[0]&2,u.value]),h[0]){case 0:case 1:u=h;break;case 4:return c.label++,{value:h[1],done:!1};case 5:c.label++,d=h[1],h=[0];continue;case 7:h=c.ops.pop(),c.trys.pop();continue;default:if(u=c.trys,!(u=u.length>0&&u[u.length-1])&&(h[0]===6||h[0]===2)){c=0;continue}if(h[0]===3&&(!u||h[1]>u[0]&&h[1]<u[3])){c.label=h[1];break}if(h[0]===6&&c.label<u[1]){c.label=u[1],u=h;break}if(u&&c.label<u[2]){c.label=u[2],c.ops.push(h);break}u[2]&&c.ops.pop(),c.trys.pop();continue}h=i.call(r,c)}catch(p){h=[6,p],d=0}finally{o=u=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},t=n(function(){return a(this,function(r){switch(r.label){case 0:if(!window||!window.document)throw new Error("Cannot init animations without a window context");return window.hasOwnProperty("IntersectionObserver")?[3,2]:[4,e.e(93107).then(e.t.bind(e,693334,23))];case 1:r.sent(),r.label=2;case 2:return[2]}})})},258933:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return e}});var e=function(s){if(s.Element.prototype.matches||(s.Element.prototype.matches=s.Element.prototype.matchesSelector||s.Element.prototype.mozMatchesSelector||s.Element.prototype.msMatchesSelector||s.Element.prototype.oMatchesSelector||s.Element.prototype.webkitMatchesSelector||function(t){for(var r=(this.document||this.ownerDocument).querySelectorAll(t),i=r.length;--i>=0&&r.item(i)!==this;);return i>-1}),typeof s.CustomEvent!="function"){var n=function(r,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var o=document.createEvent("CustomEvent");return o.initCustomEvent(r,i.bubbles,i.cancelable,i.detail),o};n.prototype=s.Event.prototype,s.CustomEvent=n,typeof s.Event!="function"&&(s.Event=n)}s.String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},s.Array.prototype.removeRange=function(t,r){return this.splice(t,!r||1+r-t+(!(r<0^t>=0)&&(r<0||-1)*this.length)),this.length},s.Array.prototype.removeAt=function(t){this.removeRange(t,t)},s.Array.prototype.remove=function(t){for(var r=0;r<this.length;++r)if(this[r]===t){this.removeAt(r);return}},s.Array.prototype.shuffle||(s.Array.prototype.shuffle=function(){for(var t=[];this.length;)t.push(this.splice(Math.random()*this.length,1));for(;t.length;)this.push(t.pop()[0]);return this});var a="Array.prototype.contains is non standard. Use Array.prototype.includes instead";s.Array.prototype.contains=function(t){if(!1)var r;return this.indexOf(t)>-1},s.Number.prototype.formatMoney=function(t,r,i,o){var d=this;t=isNaN(t=Math.abs(t))?2:t,o&&d%1==0&&(t=0),r||(r="."),i||(i=",");var u=d<0?"-":"",l=parseInt(d=Math.abs(+d||0).toFixed(t),10)+"",c=(c=l.length)>3?c%3:0;return u+(c?l.substr(0,c)+i:"")+l.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+i)+(t?r+Math.abs(d-l).toFixed(t).slice(2):"")},s.Date.prototype.toRelativeTime=function(t){t=t||new Date;var r=(t.getTime()-this.getTime())/1e3;return r<60?"less than a minute ago":r<120?"about a minute ago":r<3600?Math.floor(r/60)+" minutes ago":r<7200?"about an hour ago":r<86400?"about "+Math.floor(r/3600)+" hours ago":r<172800?"1 day ago":Math.floor(r/86400)+" days ago"},s.Date.prototype.stdTimezoneOffset=function(){var t=new Date(this.getFullYear(),0,1),r=new Date(this.getFullYear(),6,1);return Math.max(t.getTimezoneOffset(),r.getTimezoneOffset())},s.Date.prototype.isDST=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},s.Date.isLeapYear=function(t){return t%4==0&&t%100!=0||t%400==0},s.Date.getDaysInMonth=function(t,r){return[31,Date.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][r]},s.Date.prototype.isLeapYear=function(){return s.Date.isLeapYear(this.getFullYear())},s.Date.prototype.getDaysInMonth=function(){return s.Date.getDaysInMonth(this.getFullYear(),this.getMonth())},s.Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},s.Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},s.Date.prototype.addDays=function(t){return this.addMilliseconds(t*864e5)},s.Date.prototype.addMilliseconds=function(t){return this.setMilliseconds(this.getMilliseconds()+t),this},s.Date.prototype.addSeconds=function(t){return this.addMilliseconds(t*1e3)},s.Date.prototype.addMinutes=function(t){return this.addMilliseconds(t*6e4)},s.Date.prototype.addHours=function(t){return this.addMilliseconds(t*36e5)},s.Date.prototype.addDays=function(t){return this.addMilliseconds(t*864e5)},s.Date.prototype.addWeeks=function(t){return this.addMilliseconds(t*6048e5)},s.Date.prototype.addMonths=function(t){var r=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+t),this.setDate(Math.min(r,this.getDaysInMonth())),this},s.Date.prototype.addYears=function(t){return this.addMonths(t*12)},s.Date._validate=function(t,r,i,o){return!0},s.Date.validateMillisecond=function(t){return s.Date._validate(t,0,999,"milliseconds")},s.Date.validateSecond=function(t){return s.Date._validate(t,0,59,"seconds")},s.Date.validateMinute=function(t){return s.Date._validate(t,0,59,"minutes")},s.Date.validateHour=function(t){return s.Date._validate(t,0,23,"hours")},s.Date.validateDay=function(t,r,i){return s.Date._validate(t,1,s.Date.getDaysInMonth(r,i),"days")},s.Date.validateMonth=function(t){return s.Date._validate(t,0,11,"months")},s.Date.validateYear=function(t){return s.Date._validate(t,1,9999,"seconds")},s.Date.prototype.set=function(t){var r=t;return!r.millisecond&&r.millisecond!==0&&(r.millisecond=-1),!r.second&&r.second!==0&&(r.second=-1),!r.minute&&r.minute!==0&&(r.minute=-1),!r.hour&&r.hour!==0&&(r.hour=-1),!r.day&&r.day!==0&&(r.day=-1),!r.month&&r.month!==0&&(r.month=-1),!r.year&&r.year!==0&&(r.year=-1),r.millisecond!==-1&&s.Date.validateMillisecond(r.millisecond)&&this.addMilliseconds(r.millisecond-this.getMilliseconds()),r.second!==-1&&s.Date.validateSecond(r.second)&&this.addSeconds(r.second-this.getSeconds()),r.minute!==-1&&s.Date.validateMinute(r.minute)&&this.addMinutes(r.minute-this.getMinutes()),r.hour!==-1&&s.Date.validateHour(r.hour)&&this.addHours(r.hour-this.getHours()),r.month!==-1&&s.Date.validateMonth(r.month)&&this.addMonths(r.month-this.getMonth()),r.year!==-1&&s.Date.validateYear(r.year)&&this.addYears(r.year-this.getFullYear()),r.day!==-1&&s.Date.validateDay(r.day,this.getFullYear(),this.getMonth())&&this.addDays(r.day-this.getDate()),r.timezone&&this.setTimezone(r.timezone),r.timezoneOffset&&this.setTimezoneOffset(r.timezoneOffset),this}}},3494:function(){"use strict";/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */"document"in self&&("classList"in document.createElement("_")?function(){"use strict";var y=document.createElement("_");if(y.classList.add("c1","c2"),!y.classList.contains("c2")){var f=function(n){var a=DOMTokenList.prototype[n];DOMTokenList.prototype[n]=function(t){var r,i=arguments.length;for(r=0;r<i;r++)t=arguments[r],a.call(this,t)}};f("add"),f("remove")}if(y.classList.toggle("c3",!1),y.classList.contains("c3")){var e=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(s,n){return 1 in arguments&&!this.contains(s)==!n?n:e.call(this,s)}}y=null}():function(y){"use strict";if("Element"in y){var f="classList",e="prototype",s=y.Element[e],n=Object,a=String[e].trim||function(){return this.replace(/^\s+|\s+$/g,"")},t=Array[e].indexOf||function(c){for(var g=0,v=this.length;g<v;g++)if(g in this&&this[g]===c)return g;return-1}
67,r=function(g,v){this.name=g,this.code=DOMException[g],this.message=v},i=function(g,v){if(v==="")throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(v))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return t.call(g,v)},o=function(g){for(var v=a.call(g.getAttribute("class")||""),h=v?v.split(/\s+/):[],p=0,m=h.length;p<m;p++)this.push(h[p]);this._updateClassName=function(){g.setAttribute("class",this.toString())}},d=o[e]=[],u=function(){return new o(this)};if(r[e]=Error[e],d.item=function(c){return this[c]||null},d.contains=function(c){return c+="",i(this,c)!==-1},d.add=function(){var c=arguments,g=0,v=c.length,h,p=!1;do h=c[g]+"",i(this,h)===-1&&(this.push(h),p=!0);while(++g<v);p&&this._updateClassName()},d.remove=function(){var c=arguments,g=0,v=c.length,h,p=!1,m;do for(h=c[g]+"",m=i(this,h);m!==-1;)this.splice(m,1),p=!0,m=i(this,h);while(++g<v);p&&this._updateClassName()},d.toggle=function(c,g){c+="";var v=this.contains(c),h=v?g!==!0&&"remove":g!==!1&&"add";return h&&this[h](c),g===!0||g===!1?g:!v},d.toString=function(){return this.join(" ")},n.defineProperty){var l={get:u,enumerable:!0,configurable:!0};try{n.defineProperty(s,f,l)}catch(c){c.number===-2146823252&&(l.enumerable=!1,n.defineProperty(s,f,l))}}else n[e].__defineGetter__&&s.__defineGetter__(f,u)}}(self))},371080:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),e(42405),e(644640),e(871502),e(134051),e(945498),e(328571),e(744166),e(968382),e(894663),e(3494),e(752431),e(43421),e(540664)},467432:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});function e(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}var s=!1,n=22,a=2,t=function(){"use strict";function o(u){e(this,o),this.workFn=u,this.pending=!1,this.samples=[],this.lastCompleteExecution=null,this.sampledAverageExecution=null,this.pendingDowntime=null}var d=o.prototype;return d.invoke=function(){var l=this,c=this,g=c.lastCompleteExecution,v=c.sampledAverageExecution;if(this.pending){s&&console.log("pending!");return}if(g!==null&&v!==null){var h=Date.now()-g,p=v*a;if(h<p){var m=p-h;if(this.pendingDowntime){s&&console.log("no downtime, and timer is set just going to wait");return}s&&console.log("no downtime, not allowing. need to wait another ",m),this.pendingDowntime=setTimeout(function(){l.invoke(),l.pendingDowntime=null},m);return}}this.doWork()},d.doWork=function(){var l=Date.now();this.pending=!0;try{this.workFn()}catch(v){console.error(v)}this.lastCompleteExecution=Date.now();var c=this.lastCompleteExecution-l;this.pending=!1;var g=this.samples;g.unshift(c),g.length>n&&(this.samples=g=g.slice(0,n)),this.sampledAverageExecution=g.reduce(function(v,h){return v+h},0)/g.length,s&&console.log("executionTime",c,"sampledAverageExecution",this.sampledAverageExecution)},o}();function r(o){var d=new t(o);return function(){return d.invoke()}}var i=r},936076:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return s}});function e(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=n.parent,t=n.selector,r=n.minLength,i=r===void 0?1:r,o=n.frequencyMs,d=o===void 0?100:o,u=n.maxRetries,l=u===void 0?0:u;return!a||!t?Promise.reject("[waitForExistence] Called without a parent or selector"):new Promise(function(c,g){var v=0;l>99999999&&(l=0);var h=function(){if(!a){g("[waitForExistence] parent does not or no longer exists");return}var p=Array.from(a.querySelectorAll(t));if(p.length>=i){c(p);return}if(l!==0&&(v=v+1,v>l)){g("[waitForExistence] Did not find ".concat(t," in ").concat(d*v,"ms"));return}window.setTimeout(h,d)};h()})}var s=e},407712:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"BrowserClient",{enumerable:!0,get:function(){return _}});var s=e(335090),n=e(364904),a=e(442378),t=e(401612),r=e(497595),i=e(182365);function o(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function d(b,S){if(!(b instanceof S))throw new TypeError("Cannot call a class as a function")}function u(b,S,E){return typeof Reflect!="undefined"&&Reflect.get?u=Reflect.get:u=function(T,I,R){var j=h(T,I);if(!!j){var x=Object.getOwnPropertyDescriptor(j,I);
67return x.get?x.get.call(R):x.value}},u(b,S,E||b)}function l(b){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},l(b)}function c(b,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(S&&S.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),S&&v(b,S)}function g(b,S){return S&&(p(S)==="object"||typeof S=="function")?S:o(b)}function v(b,S){return v=Object.setPrototypeOf||function(A,T){return A.__proto__=T,A},v(b,S)}function h(b,S){for(;!Object.prototype.hasOwnProperty.call(b,S)&&(b=l(b),b!==null););return b}var p=function(b){return b&&typeof Symbol!="undefined"&&b.constructor===Symbol?"symbol":typeof b};function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function P(b){var S=m();return function(){var A=l(b),T;if(S){var I=l(this).constructor;T=Reflect.construct(A,arguments,I)}else T=A.apply(this,arguments);return g(this,T)}}var _=function(b){"use strict";c(E,b);var S=P(E);function E(T){d(this,E);var I;return T._metadata=T._metadata||{},T._metadata.sdk=T._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:n.SDK_VERSION}],version:n.SDK_VERSION},I=S.call(this,T),T.sendClientReports&&r.WINDOW.document&&r.WINDOW.document.addEventListener("visibilitychange",function(){r.WINDOW.document.visibilityState==="hidden"&&I._flushOutcomes()}),I}var A=E.prototype;return A.eventFromException=function(I,R){return(0,t.eventFromException)(this._options.stackParser,I,R,this._options.attachStacktrace)},A.eventFromMessage=function(I){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"info",j=arguments.length>2?arguments[2]:void 0;return(0,t.eventFromMessage)(this._options.stackParser,I,R,j,this._options.attachStacktrace)},A.sendEvent=function(I,R){var j=this.getIntegrationById(i.BREADCRUMB_INTEGRATION_ID);(0,s._optionalChain)([j,"optionalAccess",function(x){return x.addSentryBreadcrumb},"optionalCall",function(x){return x(I)}]),u(l(E.prototype),"sendEvent",this).call(this,I,R)},A._prepareEvent=function(I,R,j){return I.platform=I.platform||"javascript",u(l(E.prototype),"_prepareEvent",this).call(this,I,R,j)},A._flushOutcomes=function(){var I=this._clearOutcomes();if(I.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.log("Sending outcomes:",I);var R=(0,n.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,this._options),j=(0,a.createClientReportEnvelope)(I,this._options.tunnel&&(0,a.dsnToString)(this._dsn));try{var x=Object.prototype.toString.call(r.WINDOW&&r.WINDOW.navigator)==="[object Navigator]",L=x&&typeof r.WINDOW.navigator.sendBeacon=="function";if(L&&!this._options.transportOptions){var H=r.WINDOW.navigator.sendBeacon.bind(r.WINDOW.navigator);H(R,(0,a.serializeEnvelope)(j))}else this._sendEnvelope(j)}catch(G){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.error(G)}},E}(n.BaseClient)},401612:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(b,S){for(var E in S)Object.defineProperty(b,E,{enumerable:!0,get:S[E]})}s(f,{eventFromError:function(){return l},eventFromException:function(){return p},eventFromMessage:function(){return m},eventFromPlainObject:function(){return u},eventFromString:function(){return _},eventFromUnknownInput:function(){return P},exceptionFromError:function(){return d},parseStackFrames:function(){return c}});var n=e(364904),a=e(442378);function t(b,S,E){return S in b?Object.defineProperty(b,S,{value:E,enumerable:!0,configurable:!0,writable:!0}):b[S]=E,b}function r(b){for(var S=1;S<arguments.length;S++){var E=arguments[S]!=null?arguments[S]:{},A=Object.keys(E);typeof Object.getOwnPropertySymbols=="function"&&(A=A.concat(Object.getOwnPropertySymbols(E).filter(function(T){return Object.getOwnPropertyDescriptor(E,T).enumerable}))),A.forEach(function(T){t(b,T,E[T])})}return b}function i(b,S){var E=Object.keys(b);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(b);S&&(A=A.filter(function(T){return Object.getOwnPropertyDescriptor(b,T).enumerable})),E.push.apply(E,A)}return E}function o(b,S){return S=S!=null?S:{},Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(S)):i(Object(S)).forEac
67h(function(E){Object.defineProperty(b,E,Object.getOwnPropertyDescriptor(S,E))}),b}function d(b,S){var E=c(b,S),A={type:S&&S.name,value:h(S)};return E.length&&(A.stacktrace={frames:E}),A.type===void 0&&A.value===""&&(A.value="Unrecoverable error caught"),A}function u(b,S,E,A){var T=(0,n.getCurrentHub)(),I=T.getClient(),R=I&&I.getOptions().normalizeDepth,j={exception:{values:[{type:(0,a.isEvent)(S)?S.constructor.name:A?"UnhandledRejection":"Error",value:"Non-Error ".concat(A?"promise rejection":"exception"," captured with keys: ").concat((0,a.extractExceptionKeysForMessage)(S))}]},extra:{__serialized__:(0,a.normalizeToSize)(S,R)}};if(E){var x=c(b,E);x.length&&(j.exception.values[0].stacktrace={frames:x})}return j}function l(b,S){return{exception:{values:[d(b,S)]}}}function c(b,S){var E=S.stacktrace||S.stack||"",A=v(S);try{return b(E,A)}catch(T){}return[]}var g=/Minified React error #\d+;/i;function v(b){if(b){if(typeof b.framesToPop=="number")return b.framesToPop;if(g.test(b.message))return 1}return 0}function h(b){var S=b&&b.message;return S?S.error&&typeof S.error.message=="string"?S.error.message:S:"No error message"}function p(b,S,E,A){var T=E&&E.syntheticException||void 0,I=P(b,S,T,A);return(0,a.addExceptionMechanism)(I),I.level="error",E&&E.event_id&&(I.event_id=E.event_id),(0,a.resolvedSyncPromise)(I)}function m(b,S){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"info",A=arguments.length>3?arguments[3]:void 0,T=arguments.length>4?arguments[4]:void 0,I=A&&A.syntheticException||void 0,R=_(b,S,I,T);return R.level=E,A&&A.event_id&&(R.event_id=A.event_id),(0,a.resolvedSyncPromise)(R)}function P(b,S,E,A,T){var I;if((0,a.isErrorEvent)(S)&&S.error){var R=S;return l(b,R.error)}if((0,a.isDOMError)(S)||(0,a.isDOMException)(S)){var j=S;if("stack"in S)I=l(b,S);else{var x=j.name||((0,a.isDOMError)(j)?"DOMError":"DOMException"),L=j.message?"".concat(x,": ").concat(j.message):x;I=_(b,L,E,A),(0,a.addExceptionTypeValue)(I,L)}return"code"in j&&(I.tags=o(r({},I.tags),{"DOMException.code":"".concat(j.code)})),I}if((0,a.isError)(S))return l(b,S);if((0,a.isPlainObject)(S)||(0,a.isEvent)(S)){var H=S;return I=u(b,H,E,T),(0,a.addExceptionMechanism)(I,{synthetic:!0}),I}return I=_(b,S,E,A),(0,a.addExceptionTypeValue)(I,"".concat(S),void 0),(0,a.addExceptionMechanism)(I,{synthetic:!0}),I}function _(b,S,E,A){var T={message:S};if(A&&E){var I=c(b,E);I.length&&(T.exception={values:[{value:S,stacktrace:{frames:I}}]})}return T}},754126:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}s(f,{FunctionToString:function(){return n.FunctionToString},Hub:function(){return n.Hub},InboundFilters:function(){return n.InboundFilters},SDK_VERSION:function(){return n.SDK_VERSION},Scope:function(){return n.Scope},addBreadcrumb:function(){return n.addBreadcrumb},addGlobalEventProcessor:function(){return n.addGlobalEventProcessor},captureEvent:function(){return n.captureEvent},captureException:function(){return n.captureException},captureMessage:function(){return n.captureMessage},configureScope:function(){return n.configureScope},createTransport:function(){return n.createTransport},getCurrentHub:function(){return n.getCurrentHub},getHubFromCarrier:function(){return n.getHubFromCarrier},makeMain:function(){return n.makeMain},setContext:function(){return n.setContext},setExtra:function(){return n.setExtra},setExtras:function(){return n.setExtras},setTag:function(){return n.setTag},setTags:function(){return n.setTags},setUser:function(){return n.setUser},startTransaction:function(){return n.startTransaction},withScope:function(){return n.withScope},WINDOW:function(){return a.WINDOW},BrowserClient:function(){return t.BrowserClient},chromeStackLineParser:function(){return r.chromeStackLineParser},defaultStackLineParsers:function(){return r.defaultStackLineParsers},defaultStackParser:function(){return r.defaultStackParser},geckoStackLineParser:function(){return r.geckoStackLineParser},opera10StackLineParser:function(){return r.opera10StackLineParser},opera11StackLineParser:function(){return r.opera11StackLineParser},winjsStackLineParser:function(){return r.winjsStackLineParser},close:function(){return i.close},defaultIntegrations:function(){return i.defaultIntegrations},flush:function(){return i.flush},forceLoad:function(){return i.forceLoad},init:function(){return i.init},lastEventId:function(){return i.lastEventId},onLoad:function(){return i.onLoad},showReportDialog:function(){return i.showReportDialog},wrap:function(){return i.wrap}});var n=e(364904),a=e(497595),t=e(407712);e(611472);var r=e(476397),i=e(397059);
67e(659356)},497595:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(v,h){for(var p in h)Object.defineProperty(v,p,{enumerable:!0,get:h[p]})}s(f,{WINDOW:function(){return d},ignoreNextOnError:function(){return c},shouldIgnoreOnError:function(){return l},wrap:function(){return g}});var n=e(364904),a=e(442378);function t(v,h,p){return h in v?Object.defineProperty(v,h,{value:p,enumerable:!0,configurable:!0,writable:!0}):v[h]=p,v}function r(v){for(var h=1;h<arguments.length;h++){var p=arguments[h]!=null?arguments[h]:{},m=Object.keys(p);typeof Object.getOwnPropertySymbols=="function"&&(m=m.concat(Object.getOwnPropertySymbols(p).filter(function(P){return Object.getOwnPropertyDescriptor(p,P).enumerable}))),m.forEach(function(P){t(v,P,p[P])})}return v}function i(v,h){var p=Object.keys(v);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(v);h&&(m=m.filter(function(P){return Object.getOwnPropertyDescriptor(v,P).enumerable})),p.push.apply(p,m)}return p}function o(v,h){return h=h!=null?h:{},Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(h)):i(Object(h)).forEach(function(p){Object.defineProperty(v,p,Object.getOwnPropertyDescriptor(h,p))}),v}var d=a.GLOBAL_OBJ,u=0;function l(){return u>0}function c(){u++,setTimeout(function(){u--})}function g(v){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=arguments.length>2?arguments[2]:void 0;if(typeof v!="function")return v;try{var m=v.__sentry_wrapped__;if(m)return m;if((0,a.getOriginalFunction)(v))return v}catch(S){return v}var P=function(){var E=Array.prototype.slice.call(arguments);try{p&&typeof p=="function"&&p.apply(this,arguments);var A=E.map(function(T){return g(T,h)});return v.apply(this,A)}catch(T){throw c(),(0,n.withScope)(function(I){I.addEventProcessor(function(R){return h.mechanism&&((0,a.addExceptionTypeValue)(R,void 0,void 0),(0,a.addExceptionMechanism)(R,h.mechanism)),R.extra=o(r({},R.extra),{arguments:E}),R}),(0,n.captureException)(T)}),T}};try{for(var _ in v)Object.prototype.hasOwnProperty.call(v,_)&&(P[_]=v[_])}catch(S){}(0,a.markFunctionWrapped)(P,v),(0,a.addNonEnumerableProperty)(v,"__sentry_wrapped__",P);try{var b=Object.getOwnPropertyDescriptor(P,"name");b.configurable&&Object.defineProperty(P,"name",{get:function(){return v.name}})}catch(S){}return P}},268601:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(A,T){for(var I in T)Object.defineProperty(A,I,{enumerable:!0,get:T[I]})}s(f,{FunctionToString:function(){return n.FunctionToString},Hub:function(){return n.Hub},InboundFilters:function(){return n.InboundFilters},SDK_VERSION:function(){return n.SDK_VERSION},Scope:function(){return n.Scope},addBreadcrumb:function(){return n.addBreadcrumb},addGlobalEventProcessor:function(){return n.addGlobalEventProcessor},captureEvent:function(){return n.captureEvent},captureException:function(){return n.captureException},captureMessage:function(){return n.captureMessage},configureScope:function(){return n.configureScope},createTransport:function(){return n.createTransport},getCurrentHub:function(){return n.getCurrentHub},getHubFromCarrier:function(){return n.getHubFromCarrier},makeMain:function(){return n.makeMain},setContext:function(){return n.setContext},setExtra:function(){return n.setExtra},setExtras:function(){return n.setExtras},setTag:function(){return n.setTag},setTags:function(){return n.setTags},setUser:function(){return n.setUser},startTransaction:function(){return n.startTransaction},withScope:function(){return n.withScope},WINDOW:function(){return a.WINDOW},BrowserClient:function(){return r.BrowserClient},makeFetchTransport:function(){return i.makeFetchTransport},makeXHRTransport:function(){return o.makeXHRTransport},chromeStackLineParser:function(){return d.chromeStackLineParser},defaultStackLineParsers:function(){return d.defaultStackLineParsers},defaultStackParser:function(){return d.defaultStackParser},geckoStackLineParser:function(){return d.geckoStackLineParser},opera10StackLineParser:function(){return d.opera10StackLineParser},opera11StackLineParser:function(){return d.opera11StackLineParser},winjsStackLineParser:function(){return d.winjsStackLineParser},close:function(){return u.close},defaultIntegrations:function(){return u.defaultIntegrations},flush:function(){return u.flush},forceLoad:function(){return u.forceLoad},init:function(){return u.init},lastEventId:function(){return u.lastEventId},onLoad:function(){return u.onLoad},showReportDialog:function(){return u.showReportDialog},wrap:function(){return u.wrap},GlobalHandlers:function(){return l.GlobalHandlers},TryCatch:function(){return c.TryCatch},Breadcrumbs:function(){return g.Breadcrumbs},LinkedErrors:function(){return v.LinkedErrors},HttpContext:function(){return h.HttpContext},Dedupe:function(){return p.Dedupe},Integrations:function(){return E}}),e(754126);var n=e(364904),a=e(497595),t=_(e(659356)),r=e(407712),i=e(235751),o=e(665115),d=e(476397),u=e(397059),l=e(600529),c=e(521174),g=e(1823
6765),v=e(45158),h=e(408363),p=e(57874);function m(A,T,I){return T in A?Object.defineProperty(A,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):A[T]=I,A}function P(A){if(typeof WeakMap!="function")return null;var T=new WeakMap,I=new WeakMap;return(P=function(R){return R?I:T})(A)}function _(A,T){if(!T&&A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var I=P(T);if(I&&I.has(A))return I.get(A);var R={},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in A)if(x!=="default"&&Object.prototype.hasOwnProperty.call(A,x)){var L=j?Object.getOwnPropertyDescriptor(A,x):null;L&&(L.get||L.set)?Object.defineProperty(R,x,L):R[x]=A[x]}return R.default=A,I&&I.set(A,R),R}function b(A){for(var T=1;T<arguments.length;T++){var I=arguments[T]!=null?arguments[T]:{},R=Object.keys(I);typeof Object.getOwnPropertySymbols=="function"&&(R=R.concat(Object.getOwnPropertySymbols(I).filter(function(j){return Object.getOwnPropertyDescriptor(I,j).enumerable}))),R.forEach(function(j){m(A,j,I[j])})}return A}var S={};a.WINDOW.Sentry&&a.WINDOW.Sentry.Integrations&&(S=a.WINDOW.Sentry.Integrations);var E=b({},S,n.Integrations,t)},182365:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(_,b){for(var S in b)Object.defineProperty(_,S,{enumerable:!0,get:b[S]})}s(f,{BREADCRUMB_INTEGRATION_ID:function(){return c},Breadcrumbs:function(){return g}});var n=e(364904),a=e(442378),t=e(497595);function r(_,b){if(!(_ instanceof b))throw new TypeError("Cannot call a class as a function")}function i(_,b,S){return b in _?Object.defineProperty(_,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):_[b]=S,_}function o(_){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{},E=Object.keys(S);typeof Object.getOwnPropertySymbols=="function"&&(E=E.concat(Object.getOwnPropertySymbols(S).filter(function(A){return Object.getOwnPropertyDescriptor(S,A).enumerable}
67))),E.forEach(function(A){i(_,A,S[A])})}return _}function d(_,b){var S=Object.keys(_);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(_);b&&(E=E.filter(function(A){return Object.getOwnPropertyDescriptor(_,A).enumerable})),S.push.apply(S,E)}return S}function u(_,b){return b=b!=null?b:{},Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(b)):d(Object(b)).forEach(function(S){Object.defineProperty(_,S,Object.getOwnPropertyDescriptor(b,S))}),_}var l=1024,c="Breadcrumbs",g=function(){"use strict";function _(S){r(this,_),_.prototype.__init.call(this),this.options=o({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},S)}var b=_.prototype;return b.__init=function(){this.name=_.id},b.setupOnce=function(){this.options.console&&(0,a.addInstrumentationHandler)("console",h),this.options.dom&&(0,a.addInstrumentationHandler)("dom",v(this.options.dom)),this.options.xhr&&(0,a.addInstrumentationHandler)("xhr",p),this.options.fetch&&(0,a.addInstrumentationHandler)("fetch",m),this.options.history&&(0,a.addInstrumentationHandler)("history",P)},b.addSentryBreadcrumb=function(E){this.options.sentry&&(0,n.getCurrentHub)().addBreadcrumb({category:"sentry.".concat(E.type==="transaction"?"transaction":"event"),event_id:E.event_id,level:E.level,message:(0,a.getEventDescription)(E)},{event:E})},_.__initStatic=function(){this.id=c},_}();g.__initStatic();function v(_){var b=function(E){var A,T=typeof _=="object"?_.serializeAttribute:void 0,I=typeof _=="object"&&typeof _.maxStringLength=="number"?_.maxStringLength:void 0;I&&I>l&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("`dom.maxStringLength` cannot exceed ".concat(l,", but a value of ").concat(I," was configured. Sentry will use ").concat(l," instead.")),I=l),typeof T=="string"&&(T=[T]);try{A=E.event.target?(0,a.htmlTreeAsString)(E.event.target,{keyAttrs:T,maxStringLength:I}):(0,a.htmlTreeAsString)(E.event,{keyAttrs:T,maxStringLength:I})}catch(R){A="<unknown>"}A.length!==0&&(0,n.getCurrentHub)().addBreadcrumb({category:"ui.".concat(E.name),message:A},{event:E.event,name:E.name,global:E.global})};return b}function h(_){for(var b=0;b<_.args.length;b++)if(_.args[b]==="ref=Ref<"){_.args[b+1]="viewRef";break}var S={category:"console",data:{arguments:_.args,logger:"console"},level:(0,a.severityLevelFromString)(_.level),message:(0,a.safeJoin)(_.args," ")};if(_.level==="assert")if(_.args[0]===!1)S.message="Assertion failed: ".concat((0,a.safeJoin)(_.args.slice(1)," ")||"console.assert"),S.data.arguments=_.args.slice(1);else return;(0,n.getCurrentHub)().addBreadcrumb(S,{input:_.args,level:_.level})}function p(_){if(_.endTimestamp){if(_.xhr.__sentry_own_request__)return;var b=_.xhr.__sentry_xhr__||{},S=b.method,E=b.url,A=b.status_code,T=b.body;(0,n.getCurrentHub)().addBreadcrumb({category:"xhr",data:{method:S,url:E,status_code:A},type:"http"},{xhr:_.xhr,input:T});return}}function m(_){!_.endTimestamp||_.fetchData.url.match(/sentry_key/)&&_.fetchData.method==="POST"||(_.error?(0,n.getCurrentHub)().addBreadcrumb({category:"fetch",data:_.fetchData,level:"error",type:"http"},{data:_.error,input:_.args}):(0,n.getCurrentHub)().addBreadcrumb({category:"fetch",data:u(o({},_.fetchData),{status_code:_.response.status}),type:"http"},{input:_.args,response:_.response}))}function P(_){var b=_.from,S=_.to,E=(0,a.parseUrl)(t.WINDOW.location.href),A=(0,a.parseUrl)(b),T=(0,a.parseUrl)(S);A.path||(A=E),E.protocol===T.protocol&&E.host===T.host&&(S=T.relative),E.protocol===A.protocol&&E.host===A.host&&(b=A.relative),(0,n.getCurrentHub)().addBreadcrumb({category:"navigation",data:{from:b,to:S}})}},57874:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"Dedupe",{enumerable:!0,get:function(){return a}});var s=e(442378);function n(c,g){if(!(c instanceof g))throw new TypeError("Cannot call a class as a function")}var a=function(){"use strict";function c(){n(this,c),c.prototype.__init.call(this)}var g=c.prototype;return g.__init=function(){this.name=c.id},g.setupOnce=function(h,p){var m=function(P){var _=p().getIntegration(c);if(_){try{if(t(P,_._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(b){return _._previousEvent=P}return _._previousEvent=P}return P};m.id=this.name,h(m)},c.__initStatic=function(){this.id="Dedupe"},c}();a.__initStatic();function t(c,g){return g?!!(r(c,g)||i(c,g)):!1}function r(c,g){var v=c.message,h=g.message;return!(!v&&!h||v&&!h||!v&&h||v!==h||!d(c,g)||!o(c,g))}function i(c,g){var v=u(g),h=u(c);return!(!v||!h||v.type!==h.type||v.value!==h.value||!d(c,g)||!o(c,g))}function o(c,g){var v=l(c),h=l(g);if(!v&&!h)return!0;
67if(v&&!h||!v&&h||(v=v,h=h,h.length!==v.length))return!1;for(var p=0;p<h.length;p++){var m=h[p],P=v[p];if(m.filename!==P.filename||m.lineno!==P.lineno||m.colno!==P.colno||m.function!==P.function)return!1}return!0}function d(c,g){var v=c.fingerprint,h=g.fingerprint;if(!v&&!h)return!0;if(v&&!h||!v&&h)return!1;v=v,h=h;try{return v.join("")===h.join("")}catch(p){return!1}}function u(c){return c.exception&&c.exception.values&&c.exception.values[0]}function l(c){var g=c.exception;if(g)try{return g.values[0].stacktrace.frames}catch(v){return}}},600529:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"GlobalHandlers",{enumerable:!0,get:function(){return h}});var s=e(364904),n=e(442378),a=e(401612),t=e(497595);function r(T,I){(I==null||I>T.length)&&(I=T.length);for(var R=0,j=new Array(I);R<I;R++)j[R]=T[R];return j}function i(T){if(Array.isArray(T))return T}function o(T,I){if(!(T instanceof I))throw new TypeError("Cannot call a class as a function")}function d(T,I,R){return I in T?Object.defineProperty(T,I,{value:R,enumerable:!0,configurable:!0,writable:!0}):T[I]=R,T}function u(T,I){var R=T==null?null:typeof Symbol!="undefined"&&T[Symbol.iterator]||T["@@iterator"];if(R!=null){var j=[],x=!0,L=!1,H,G;try{for(R=R.call(T);!(x=(H=R.next()).done)&&(j.push(H.value),!(I&&j.length===I));x=!0);}catch(X){L=!0,G=X}finally{try{!x&&R.return!=null&&R.return()}finally{if(L)throw G}}return j}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(T){for(var I=1;I<arguments.length;I++){var R=arguments[I]!=null?arguments[I]:{},j=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(j=j.concat(Object.getOwnPropertySymbols(R).filter(function(x){return Object.getOwnPropertyDescriptor(R,x).enumerable}))),j.forEach(function(x){d(T,x,R[x])})}return T}function g(T,I){return i(T)||u(T,I)||v(T,I)||l()}function v(T,I){if(!!T){if(typeof T=="string")return r(T,I);var R=Object.prototype.toString.call(T).slice(8,-1);if(R==="Object"&&T.constructor&&(R=T.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return r(T,I)}}var h=function(){"use strict";function T(R){o(this,T),T.prototype.__init.call(this),T.prototype.__init2.call(this),this._options=c({onerror:!0,onunhandledrejection:!0},R)}var I=T.prototype;return I.__init=function(){this.name=T.id},I.__init2=function(){this._installFunc={onerror:p,onunhandledrejection:m}},I.setupOnce=function(){Error.stackTraceLimit=50;var j=this._options;for(var x in j){var L=this._installFunc[x];L&&j[x]&&(S(x),L(),this._installFunc[x]=void 0)}},T.__initStatic=function(){this.id="GlobalHandlers"},T}();h.__initStatic();function p(){(0,n.addInstrumentationHandler)("error",function(T){var I=g(A(),3),R=I[0],j=I[1],x=I[2];if(!!R.getIntegration(h)){var L=T.msg,H=T.url,G=T.line,X=T.column,K=T.error;if(!((0,t.shouldIgnoreOnError)()||K&&K.__sentry_own_request__)){var J=K===void 0&&(0,n.isString)(L)?_(L,H,G,X):b((0,a.eventFromUnknownInput)(j,K||L,void 0,x,!1),H,G,X);J.level="error",E(R,K,J,"onerror")}}})}function m(){(0,n.addInstrumentationHandler)("unhandledrejection",function(T){var I=g(A(),3),R=I[0],j=I[1],x=I[2];if(!!R.getIntegration(h)){var L=T;try{"reason"in T?L=T.reason:"detail"in T&&"reason"in T.detail&&(L=T.detail.reason)}catch(G){}if((0,t.shouldIgnoreOnError)()||L&&L.__sentry_own_request__)return!0;var H=(0,n.isPrimitive)(L)?P(L):(0,a.eventFromUnknownInput)(j,L,void 0,x,!0);H.level="error",E(R,L,H,"onunhandledrejection")}})}function P(T){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(T))}]}}}function _(T,I,R,j){var x=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,L=(0,n.isErrorEvent)(T)?T.message:T,H="Error",G=L.match(x);G&&(H=G[1],L=G[2]);var X={exception:{values:[{type:H,value:L}]}};return b(X,I,R,j)}function b(T,I,R,j){var x=T.exception=T.exception||{},L=x.values=x.values||[],H=L[0]=L[0]||{},G=H.stacktrace=H.stacktrace||{},X=G.frames=G.frames||[],K=isNaN(parseInt(j,10))?void 0:j,J=isNaN(parseInt(R,10))?void 0:R,z=(0,n.isString)(I)&&I.length>0?I:(0,n.getLocationHref)();return X.length===0&&X.push({colno:K,filename:z,function:"?",in_app:!0,lineno:J}),T}function S(T){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.log("Global Handler attached: ".concat(T))}function E(T,I,R,j){(0,n.addExceptionMechanism)(R,{handled:!1,type:j}),T.captureEvent(R,{originalException:I})}function A(){var T=(0,s.getCurrentHub)(),I=T.getClient(),R=I&&I.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[T,R.stackParser,R.attachStacktrace]}},408363:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"HttpContext",{enumerable:!0,get:function(){return d}});var s=e(364904),n=e(497595);function a(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function t(u,l,c){return l in u?Object.defineProperty(u,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[l]=c,u}function r(u){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{},g=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(c).filter(function(v){return Object.getOwnPropertyDescriptor(c,v).enumerable}))),g.forEach(function(v){t(u,v,c[v])})}return u}function i(u,l){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(u);l&&(g=g.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),c.push.apply(c,g)}return c}function o(u,l){return l=l!=null?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(l)):i(Object(l)).forEac
67h(function(c){Object.defineProperty(u,c,Object.getOwnPropertyDescriptor(l,c))}),u}var d=function(){"use strict";function u(){a(this,u),u.prototype.__init.call(this)}var l=u.prototype;return l.__init=function(){this.name=u.id},l.setupOnce=function(){(0,s.addGlobalEventProcessor)(function(g){if((0,s.getCurrentHub)().getIntegration(u)){if(!n.WINDOW.navigator&&!n.WINDOW.location&&!n.WINDOW.document)return g;var v=g.request&&g.request.url||n.WINDOW.location&&n.WINDOW.location.href,h=(n.WINDOW.document||{}).referrer,p=(n.WINDOW.navigator||{}).userAgent,m=r({},g.request&&g.request.headers,h&&{Referer:h},p&&{"User-Agent":p}),P=o(r({},v&&{url:v}),{headers:m});return o(r({},g),{request:P})}return g})},u.__initStatic=function(){this.id="HttpContext"},u}();d.__initStatic()},659356:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(d,u){for(var l in u)Object.defineProperty(d,l,{enumerable:!0,get:u[l]})}s(f,{GlobalHandlers:function(){return n.GlobalHandlers},TryCatch:function(){return a.TryCatch},Breadcrumbs:function(){return t.Breadcrumbs},LinkedErrors:function(){return r.LinkedErrors},HttpContext:function(){return i.HttpContext},Dedupe:function(){return o.Dedupe}});var n=e(600529),a=e(521174),t=e(182365),r=e(45158),i=e(408363),o=e(57874)},45158:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(P,_){for(var b in _)Object.defineProperty(P,b,{enumerable:!0,get:_[b]})}s(f,{LinkedErrors:function(){return h},_handler:function(){return p},_walkErrorTree:function(){return m}});var n=e(364904),a=e(442378),t=e(401612);function r(P,_){(_==null||_>P.length)&&(_=P.length);for(var b=0,S=new Array(_);b<_;b++)S[b]=P[b];return S}function i(P){if(Array.isArray(P))return r(P)}function o(P,_){if(!(P instanceof _))throw new TypeError("Cannot call a class as a function")}function d(P){if(typeof Symbol!="undefined"&&P[Symbol.iterator]!=null||P["@@iterator"]!=null)return Array.from(P)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(P){return i(P)||d(P)||c(P)||u()}function c(P,_){if(!!P){if(typeof P=="string")return r(P,_);var b=Object.prototype.toString.call(P).slice(8,-1);if(b==="Object"&&P.constructor&&(b=P.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return r(P,_)}}var g="cause",v=5,h=function(){"use strict";function P(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o(this,P),P.prototype.__init.call(this),this._key=b.key||g,this._limit=b.limit||v}var _=P.prototype;return _.__init=function(){this.name=P.id},_.setupOnce=function(){var S=(0,n.getCurrentHub)().getClient();!S||(0,n.addGlobalEventProcessor)(function(E,A){var T=(0,n.getCurrentHub)().getIntegration(P);return T?p(S.getOptions().stackParser,T._key,T._limit,E,A):E})},P.__initStatic=function(){this.id="LinkedErrors"},P}();h.__initStatic();function p(P,_,b,S,E){if(!S.exception||!S.exception.values||!E||!(0,a.isInstanceOf)(E.originalException,Error))return S;var A=m(P,b,E.originalException,_);return S.exception.values=l(A).concat(l(S.exception.values)),S}function m(P,_,b,S){var E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[];if(!(0,a.isInstanceOf)(b[S],Error)||E.length+1>=_)return E;var A=(0,t.exceptionFromError)(P,b[S]);return m(P,_,b[S],S,[A].concat(l(E)))}},521174:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"TryCatch",{enumerable:!0,get:function(){return o}});var s=e(442378),n=e(497595);function a(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")}function t(g,v,h){return v in g?Object.defineProperty(g,v,{value:h,enumerable:!0,configurable:!0,writable:!0}):g[v]=h,g}function r(g){for(var v=1;v<arguments.length;v++){var h=arguments[v]!=null?arguments[v]:{},p=Object.keys(h);typeof Object.getOwnPropertySymbols=="function"&&(p=p.concat(Object.getOwnPropertySymbols(h).filter(function(m){return Object.getOwnPropertyDescriptor(h,m).enumerable}))),p.forEach(function(m){t(g,m,h[m])})}return g}var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],o=function(){"use strict";function g(h){a(this,g),g.prototype.__init.call(this),this._options=r({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},h)}var v=g.prototype;return v.__init=function(){this.name=g.id},v.setupOnce=function(){this._options.setTimeout&&(0,s.fill)(n.WINDOW,"setTimeout",d),this._options.setInterval&&(0,s.fill)(n.WINDOW,"setInterval",d),this._options.requestAnimationFrame&&(0,s.fill)(n.WINDOW,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in n.WINDOW&&(0,s.fill)(XMLHttpRequest.prototype,"send",l);var p=this._options.eventTarget;if(p){var m=Array.isArray(p)?p:i;m.forEach(c)}},g.__initStatic=function(){this.id="TryCatch"},g}();o.__initStatic();function d(g){return function(){for(var v=arguments.length,h=new Array(v),p=0;p<v;p++)h[p]=arguments[p];var m=h[0];return h[0]=(0,n.wrap)(m,{mechanism:{data:{function:(0,s.getFunctionName)(g)},handled:!0,type:"instrument"}}),g.apply(this,h)}}function u(g){return function(v){return g.apply(this,[(0,n.wrap)(v,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,s.getFunctionName)(g)},handled:!0,type:"instrument"}})])}}function l(g){return function(){for(var v=arguments.length,h=new Array(v),p=0;p<v;p++)h[p]=arguments[p];var m=this,P=["onload","onerror","onprogress","onreadystatechange"];return P.forEach(function(_){_ in m&&typeof m[_]=="function"&&(0,s.fill)(m,_,function(b){var S={mechanism:{data:{function:_,handler:(0,s.getFunctionName)(b)},handled:!0,type:"instrument"}},E=(0,s.getOriginalFunction)(b);return E&&(S.mechanism.data.handler=(0,s.getFunctionName)(E)),(0,n.wrap)(b,S)})}),g.apply(this,h)}}function c(g){var v=n.WINDOW,h=v[g]&&v[g].prototype;!h||!h.hasOwnProperty||!h.hasOwnProperty("addEventListener")||((0,s.fill)(h,"addEventListener",function(p){return function(m,P,_){try{typeof P.handleEvent=="function"&&(P.handleEvent=(0,n.wrap)(P.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,s.getFunctionName)(P),target:g},handled:!0,type:"instrument"}}))}catch(b){}return p.apply(this,[m,(0,n.wrap)(P,{mechanism:{data:{function:"addEventListener",handler:(0,s.getFunctionName)(P),target:g},handled:!0,type:"instrument"}}),_])}}),(0,s.fill)(h,"removeEventListener",function(p){return function(m,P,_){var b=P;try{var S=b&&b.__sentry_wrapped__;S&&p.call(this,m,S,_)}catch(E){}return p.call(this,m,b,_)}}))}},397059:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(G,X){for(var K in X)Object.defineProperty(G,K,{enumerable:!0,get:X[K]})}s(f,{close:function(){return j},defaultIntegrations:function(){return b},flush:function(){return R},forceLoad:function(){return T},init:function(){return S},lastEventId:function(){return A},onLoad:function(){return I},showReportDialog:function(){return E},wrap:function(){return x}});var n=e(364904),a=e(442378),t=e(407712),r=e(497595);e(659356);var i=e(476397);e(611472);var o=e(521174),d=e(182365),u=e(600529),l=e(45158),c=e(57874),g=e(408363),v=e(235751),h=e(665115);function p(G,X,K){return X in G?Object.defineProperty(G,X,{value:K,enumerable:!0,configurable:!0,writable:!0}):G[X]=K,G}function m(G){for(var X=1;X<arguments.length;X++){var K=arguments[X]!=null?arguments[X]:{},J=Object.keys(K);typeof Object.getOwnPropertySymbols=="function"&&(J=J.concat(Object.getOwnPropertySymbols(K).filter(function(z){return Object.getOwnPropertyDescriptor(K,z).enumerable}))),J.forEach(function(z){p(G,z,K[z])})}return G}function P(G,X){var K=Object.keys(G);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(G);X&&(J=J.filter(function(z){return Object.getOwnPropertyDescriptor(G,z).enumerable})),K.push.apply(K,J)}return K}function _(G,X){return X=X!=null?X:{},Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(X)):P(Object(X)).forEach(function(K){Object.defineProperty(G,K,Object.getOwnPropertyDescriptor(X,K))}),G}var b=[new n.Integrations.InboundFilters,new n.Integrations.FunctionToString,new o.TryCatch,new d.Breadcrumbs,new u.GlobalHandlers,new l.LinkedErrors,new c.Dedupe,new g.HttpContext];function S(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G.defaultIntegrations===void 0&&(G.defaultIntegrations=b),G.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(G.release=__SENTRY_RELEASE__),r.WINDOW.SENTRY_RELEASE&&r.WINDOW.SENTRY_RELEASE.id&&(G.release=r.WINDOW.SENTRY_RELEASE.id)),G.autoSessionTracking===void 0&&(G.autoSessionTracking=!0),G.sendClientReports===void 0&&(G.sendClientReports=!0);var X=_(m({},G),{stackParser:(0,a.stackParserFromStackParserOptions)(G.stackParser||i.defaultStackParser),integrations:(0,n.getIntegrationsToSetup)(G),transport:G.transport||((0,a.supportsFetch)()?v.makeFetchTransport:h.makeXHRTransport)});(0,n.initAndBind)(t.BrowserClient,X),G.autoSessionTracking&&H()}function E(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,n.getCurrentHub)();if(!r.WINDOW.document){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.error("Global document not defined in showReportDialog call");return}var K=X.getStackTop(),J=K.client,z=K.scope,k=G.dsn||J&&J.getDsn();if(!k){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.error("DSN not configured for showReportDialog call");return}z&&(G.user=m({},z.getUser(),G.user)),G.eventId||(G.eventId=X.lastEventId());var F=r.WINDOW.document.createElement("script");F.async=!0,F.src=(0,n.getReportDialogEndpoint)(k,G),G.onLoad&&(F.onload=G.onLoad);var q=r.WINDOW.document.head||r.WINDOW.document.body;q?q.appendChild(F):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.error("Not injecting report dialog. No injection point found in HTML")}function A(){return(0,n.getCurrentHub)().lastEventId()}function T(){}function I(G){G()}function R(G){var X=(0,n.getCurrentHub)().getClient();return X?X.flush(G):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("Cannot flush events. No client defined."),(0,a.resolvedSyncPromise)(!1))}function j(G){var X=(0,n.getCurrentHub)().getClient();return X?X.close(G):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("Cannot flush events and disable SDK. No client defined."),(0,a.resolvedSyncPromise)(!1))}function x(G){return(0,r.wrap)(G)()}function L(G){G.startSession({ignoreDuration:!0}),G.captureSession()}function H(){if(typeof r.WINDOW.document=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("Session tracking in non-browser environment with @
67sentry/browser is not supported.");return}var G=(0,n.getCurrentHub)();!G.captureSession||(L(G),(0,a.addInstrumentationHandler)("history",function(X){var K=X.from,J=X.to;K===void 0||K===J||L((0,n.getCurrentHub)())}))}},476397:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(U,Q){for(var $ in Q)Object.defineProperty(U,$,{enumerable:!0,get:Q[$]})}s(f,{chromeStackLineParser:function(){return T},defaultStackLineParsers:function(){return q},defaultStackParser:function(){return N},geckoStackLineParser:function(){return x},opera10StackLineParser:function(){return J},opera11StackLineParser:function(){return F},winjsStackLineParser:function(){return G}});var n=e(442378);function a(U,Q){(Q==null||Q>U.length)&&(Q=U.length);for(var $=0,ee=new Array(Q);$<Q;$++)ee[$]=U[$];return ee}function t(U){if(Array.isArray(U))return U}function r(U){if(Array.isArray(U))return a(U)}function i(U){if(typeof Symbol!="undefined"&&U[Symbol.iterator]!=null||U["@@iterator"]!=null)return Array.from(U)}function o(U,Q){var $=U==null?null:typeof Symbol!="undefined"&&U[Symbol.iterator]||U["@@iterator"];if($!=null){var ee=[],oe=!0,pe=!1,me,Se;try{for($=$.call(U);!(oe=(me=$.next()).done)&&(ee.push(me.value),!(Q&&ee.length===Q));oe=!0);}catch(Pe){pe=!0,Se=Pe}finally{try{!oe&&$.return!=null&&$.return()}finally{if(pe)throw Se}}return ee}}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(U,Q){return t(U)||o(U,Q)||g(U,Q)||d()}function c(U){return r(U)||i(U)||g(U)||u()}function g(U,Q){if(!!U){if(typeof U=="string")return a(U,Q);var $=Object.prototype.toString.call(U).slice(8,-1);if($==="Object"&&U.constructor&&($=U.constructor.name),$==="Map"||$==="Set")return Array.from($);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return a(U,Q)}}var v="?",h=10,p=20,m=30,P=40,_=50;function b(U,Q,$,ee){var oe={filename:U,function:Q,in_app:!0};return $!==void 0&&(oe.lineno=$),ee!==void 0&&(oe.colno=ee),oe}var S=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,E=/\((\S*)(?::(\d+))(?::(\d+))\)/,A=function(U){var Q=S.exec(U);if(Q){var $=Q[2]&&Q[2].indexOf("eval")===0;if($){var ee=E.exec(Q[2]);ee&&(Q[2]=ee[1],Q[3]=ee[2],Q[4]=ee[3])}var oe=l(M(Q[1]||v,Q[2]),2),pe=oe[0],me=oe[1];return b(me,pe,Q[3]?+Q[3]:void 0,Q[4]?+Q[4]:void 0)}},T=[m,A],I=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,R=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,j=function(U){var Q=I.exec(U);if(Q){var $=Q[3]&&Q[3].indexOf(" > eval")>-1;if($){var ee=R.exec(Q[3]);ee&&(Q[1]=Q[1]||"eval",Q[3]=ee[1],Q[4]=ee[2],Q[5]="")}var oe=Q[3],pe=Q[1]||v,me;return me=l(M(pe,oe),2),pe=me[0],oe=me[1],b(oe,pe,Q[4]?+Q[4]:void 0,Q[5]?+Q[5]:void 0)}},x=[_,j],L=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,H=function(U){var Q=L.exec(U);return Q?b(Q[2],Q[1]||v,+Q[3],Q[4]?+Q[4]:void 0):void 0},G=[P,H],X=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,K=function(U){var Q=X.exec(U);return Q?b(Q[2],Q[3]||v,+Q[1]):void 0},J=[h,K],z=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,k=function(U){var Q=z.exec(U);return Q?b(Q[5],Q[3]||Q[4]||v,+Q[1],+Q[2]):void 0},F=[p,k],q=[T,x,G],N=n.createStackParser.apply(void 0,c(q)),M=function(U,Q){var $=U.indexOf("safari-extension")!==-1,ee=U.indexOf("safari-web-extension")!==-1;return $||ee?[U.indexOf("@")!==-1?U.split("@")[0]:v,$?"safari-extension:".concat(Q):"safari-web-extension:".concat(Q)]:[U,Q]}},235751:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"makeFetchTransport",{enumerable:!0,get:function(){return i}});var s=e(364904),n=e(442378),a=e(29929);function t(o,d,u){return d in o?Object.defineProperty(o,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[d]=u,o}function r(o){for(var d=1;d<arguments.length;d++){var u=arguments[d]!=null?arguments[d]:{},l=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(l=l.concat(Object.getOwnPropertySymbols(u).filter(function(c){return Object.getOwnPropertyDescriptor(u,c).enumerable}))),l.forEach(function(c){t(o,c,u[c])})}return o}function i(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,a.getNativeFetchImplementation)(),u=function(c){var g=r({body:c.body,method:"POST",referrerPolicy:"origin",headers:o.headers,keepalive:c.body.length<=65536},o.fetchOptions);try{return d(o.url,g).then(function(v){return{statusCode:v.status,headers:{"x-sentry-rate-limits":v.headers.get("X-Sentry-Rate-Limits"),"retry-after":v.headers.get("Retry-After")}}})}catch(v){return(0,a.clearCachedFetchImplementation)(),(0,n.rejectedSyncPromise)(v)}};return(0,s.createTransport)(o,u)}},611472:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}s(f,{makeFetchTransport:function(){return n.makeFetchTransport},makeXHRTransport:function(){return a.makeXHRTransport}});var n=e(235751),a=e(665115)},29929:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}s(f,{clearCachedFetchImplementation:function(){return i},getNativeFetchImplementation:function(){return r}});var n=e(442378),a=e(497595),t=void 0;function r(){if(t)return t;if((0,n.isNativeFetch)(a.WINDOW.fetch))return t=a.WINDOW.fetch.bind(a.WINDOW);var o=a.WINDOW.document,d=a.WINDOW.fetch;if(o&&typeof o.createElement=="function")try{var u=o.createElement("iframe");u.hidden=!0,o.head.appendChild(u);var l=u.contentWindow;l&&l.fetch&&(d=l.fetch),o.head.removeChild(u)}catch(c){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",c)}return t=d.bind(a.WINDOW)}function i(){t=void 0}},665115:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"makeXHRTransport",{enumerable:!0,get:function(){return t}});var s=e(364904),n=e(442378),a=4;function t(r){var i=function(d){return new n.SyncPromise(function(u,l){var c=new XMLHttpRequest;c.onerror=l,c.onreadystatechange=function(){c.readyState===a&&u({statusCode:c.status,headers:{"x-sentry-rate-limits":c.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":c.getResponseHeader("Retry-After")}})},c.open("POST",r.url);for(var g in r.headers)Object.prototype.hasOwnProperty.call(r.headers,g)&&c.setRequestHeader(g,r.headers[g]);c.send(d.body)})};return(0,s.createTransport)(r,i)}},1441:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(c,g){for(var v in g)Object.defineProperty(c,v,{enumerable:!0,get:g[v]})}s(f,{getEnvelopeEndpointWithUrlEncodedAuth:function(){return u},getReportDialogEndpoint:function(){return l}});var n=e(442378);function a(c,g,v){return g in c?Object.defineProperty(c,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):c[g]=v,c}function t(c){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{},h=Object.keys(v);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(v).filter(function(p){return Object.getOwnPropertyDescriptor(v,p).enumerable}))),h.forEach(function(p){a(c,p,v[p])})}return c}
67var r="7";function i(c){var g=c.protocol?"".concat(c.protocol,":"):"",v=c.port?":".concat(c.port):"";return"".concat(g,"//").concat(c.host).concat(v).concat(c.path?"/".concat(c.path):"","/api/")}function o(c){return"".concat(i(c)).concat(c.projectId,"/envelope/")}function d(c,g){return(0,n.urlEncode)(t({sentry_key:c.publicKey,sentry_version:r},g&&{sentry_client:"".concat(g.name,"/").concat(g.version)}))}function u(c){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=typeof g=="string"?g:g.tunnel,h=typeof g=="string"||!g._metadata?void 0:g._metadata.sdk;return v||"".concat(o(c),"?").concat(d(c,h))}function l(c,g){var v=(0,n.makeDsn)(c),h="".concat(i(v),"embed/error-page/"),p="dsn=".concat((0,n.dsnToString)(v));for(var m in g)if(m!=="dsn")if(m==="user"){var P=g.user;if(!P)continue;P.name&&(p+="&name=".concat(encodeURIComponent(P.name))),P.email&&(p+="&email=".concat(encodeURIComponent(P.email)))}else p+="&".concat(encodeURIComponent(m),"=").concat(encodeURIComponent(g[m]));return"".concat(h,"?").concat(p)}},559265:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"BaseClient",{enumerable:!0,get:function(){return I}});var s=e(442378),n=e(1441),a=e(310481),t=e(432127),r=e(320761),i=e(391455);function o(j,x){(x==null||x>j.length)&&(x=j.length);for(var L=0,H=new Array(x);L<x;L++)H[L]=j[L];return H}function d(j){if(Array.isArray(j))return j}function u(j){if(Array.isArray(j))return o(j)}function l(j,x){if(!(j instanceof x))throw new TypeError("Cannot call a class as a function")}function c(j,x,L){return x in j?Object.defineProperty(j,x,{value:L,enumerable:!0,configurable:!0,writable:!0}):j[x]=L,j}function g(j,x){return x!=null&&typeof Symbol!="undefined"&&x[Symbol.hasInstance]?!!x[Symbol.hasInstance](j):j instanceof x}function v(j){if(typeof Symbol!="undefined"&&j[Symbol.iterator]!=null||j["@@iterator"]!=null)return Array.from(j)}function h(j,x){var L=j==null?null:typeof Symbol!="undefined"&&j[Symbol.iterator]||j["@@iterator"];if(L!=null){var H=[],G=!0,X=!1,K,J;try{for(L=L.call(j);!(G=(K=L.next()).done)&&(H.push(K.value),!(x&&H.length===x));G=!0);}catch(z){X=!0,J=z}finally{try{!G&&L.return!=null&&L.return()}finally{if(X)throw J}}return H}}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(j){for(var x=1;x<arguments.length;x++){var L=arguments[x]!=null?arguments[x]:{},H=Object.keys(L);typeof Object.getOwnPropertySymbols=="function"&&(H=H.concat(Object.getOwnPropertySymbols(L).filter(function(G){return Object.getOwnPropertyDescriptor(L,G).enumerable}))),H.forEach(function(G){c(j,G,L[G])})}return j}function _(j,x){var L=Object.keys(j);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(j);x&&(H=H.filter(function(G){return Object.getOwnPropertyDescriptor(j,G).enumerable})),L.push.apply(L,H)}return L}function b(j,x){return x=x!=null?x:{},Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(x)):_(Object(x)).forEach(function(L){Object.defineProperty(j,L,Object.getOwnPropertyDescriptor(x,L))}),j}function S(j,x){return d(j)||h(j,x)||A(j,x)||p()}function E(j){return u(j)||v(j)||A(j)||m()}function A(j,x){if(!!j){if(typeof j=="string")return o(j,x);var L=Object.prototype.toString.call(j).slice(8,-1);if(L==="Object"&&j.constructor&&(L=j.constructor.name),L==="Map"||L==="Set")return Array.from(L);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return o(j,x)}}var T="Not capturing exception because it's already been captured.",I=function(){"use strict";function j(L){if(l(this,j),j.prototype.__init.call(this),j.prototype.__init2.call(this),j.prototype.__init3.call(this),j.prototype.__init4.call(this),this._options=L,L.dsn){this._dsn=(0,s.makeDsn)(L.dsn);var H=(0,n.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,L);this._transport=L.transport(b(P({recordDroppedEvent:this.recordDroppedEvent.bind(this)},L.transportOptions),{url:H}))}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.warn("No DSN provided, client will not do anything.")}var x=j.prototype;return x.__init=function(){this._integrations={}},x.__init2=function(){this._integrationsInitialized=!1},x.__init3=function(){this._numProcessing=0},x.__init4=function(){this._outcomes={}},x.captureException=function(H,G,X){var K=this;if((0,s.checkOrSetAlreadyCaught)(H)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.log(T);return}var J=G&&G.event_id;return this._process(this.eventFromException(H,G).then(function(z){return K._captureEvent(z,G,X)}).then(function(z){J=z})),J},x.captureMessage=function(H,G,X,K){var J=this,z=X&&X.event_id,k=(0,s.isPrimitive)(H)?this.eventFromMessage(String(H),G,X):this.eventFromException(H,X);return this._process(k.then(function(F){return J._captureEvent(F,X,K)}).then(function(F){z=F})),z},x.captureEvent=function(H,G,X){if(G&&G.originalException&&(0,s.checkOrSetAlreadyCaught)(G.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.log(T);return}var K=G&&G.event_id;return this._process(this._captureEvent(H,G,X).then(function(J){K=J})),K},x.captureSession=function(H){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.warn("SDK not enabled, will not capture session.");return}typeof H.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(H),(0,i.updateSession)(H,{init:!1}))},x.getDsn=function(){return this._dsn},x.getOptions=function(){return this._options},x.getTransport=function(){return this._transport},x.flush=function(H){var G=this._transport;
67return G?this._isClientDoneProcessing(H).then(function(X){return G.flush(H).then(function(K){return X&&K})}):(0,s.resolvedSyncPromise)(!0)},x.close=function(H){var G=this;return this.flush(H).then(function(X){return G.getOptions().enabled=!1,X})},x.setupIntegrations=function(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(0,t.setupIntegrations)(this._options.integrations),this._integrationsInitialized=!0)},x.getIntegrationById=function(H){return this._integrations[H]},x.getIntegration=function(H){try{return this._integrations[H.id]||null}catch(G){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.warn("Cannot retrieve integration ".concat(H.id," from the current Client")),null}},x.sendEvent=function(H){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this._dsn){var X=(0,a.createEventEnvelope)(H,this._dsn,this._options._metadata,this._options.tunnel),K=!0,J=!1,z=void 0;try{for(var k=(G.attachments||[])[Symbol.iterator](),F;!(K=(F=k.next()).done);K=!0){var q=F.value;X=(0,s.addItemToEnvelope)(X,(0,s.createAttachmentEnvelopeItem)(q,this._options.transportOptions&&this._options.transportOptions.textEncoder))}}catch(N){J=!0,z=N}finally{try{!K&&k.return!=null&&k.return()}finally{if(J)throw z}}this._sendEnvelope(X)}},x.sendSession=function(H){if(this._dsn){var G=(0,a.createSessionEnvelope)(H,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(G)}},x.recordDroppedEvent=function(H,G,X){if(this._options.sendClientReports){var K="".concat(H,":").concat(G);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.log('Adding outcome: "'.concat(K,'"')),this._outcomes[K]=this._outcomes[K]+1||1}},x._updateSessionFromEvent=function(H,G){var X=!1,K=!1,J=G.exception&&G.exception.values;if(J){K=!0;var z=!0,k=!1,F=void 0;try{for(var q=J[Symbol.iterator](),N;!(z=(N=q.next()).done);z=!0){var M=N.value,U=M.mechanism;if(U&&U.handled===!1){X=!0;break}}}catch(ee){k=!0,F=ee}finally{try{!z&&q.return!=null&&q.return()}finally{if(k)throw F}}}var Q=H.status==="ok",$=Q&&H.errors===0||Q&&X;$&&((0,i.updateSession)(H,b(P({},X&&{status:"crashed"}),{errors:H.errors||Number(K||X)})),this.captureSession(H))},x._isClientDoneProcessing=function(H){var G=this;return new s.SyncPromise(function(X){var K=0,J=1,z=setInterval(function(){G._numProcessing==0?(clearInterval(z),X(!0)):(K+=J,H&&K>=H&&(clearInterval(z),X(!1)))},J)})},x._isEnabled=function(){return this.getOptions().enabled!==!1&&this._dsn!==void 0},x._prepareEvent=function(H,G,X){var K=this,J=this.getOptions(),z=J.normalizeDepth,k=z===void 0?3:z,F=J.normalizeMaxBreadth,q=F===void 0?1e3:F,N=b(P({},H),{event_id:H.event_id||G.event_id||(0,s.uuid4)(),timestamp:H.timestamp||(0,s.dateTimestampInSeconds)()});this._applyClientOptions(N),this._applyIntegrationsMetadata(N);var M=X;G.captureContext&&(M=r.Scope.clone(M).update(G.captureContext));var U=(0,s.resolvedSyncPromise)(N);if(M&&M.getAttachments){var Q=E(G.attachments||[]).concat(E(M.getAttachments()));Q.length&&(G.attachments=Q),U=M.applyToEvent(N,G)}return U.then(function($){return typeof k=="number"&&k>0?K._normalizeEvent($,k,q):$})},x._normalizeEvent=function(H,G,X){if(!H)return null;var K=P({},H,H.breadcrumbs&&{breadcrumbs:H.breadcrumbs.map(function(J){return P({},J,J.data&&{data:(0,s.normalize)(J.data,G,X)})})},H.user&&{user:(0,s.normalize)(H.user,G,X)},H.contexts&&{contexts:(0,s.normalize)(H.contexts,G,X)},H.extra&&{extra:(0,s.normalize)(H.extra,G,X)});return H.contexts&&H.contexts.trace&&K.contexts&&(K.contexts.trace=H.contexts.trace,H.contexts.trace.data&&(K.contexts.trace.data=(0,s.normalize)(H.contexts.trace.data,G,X))),H.spans&&(K.spans=H.spans.map(function(J){return J.data&&(J.data=(0,s.normalize)(J.data,G,X)),J})),K},x._applyClientOptions=function(H){var G=this.getOptions(),X=G.environment,K=G.release,J=G.dist,z=G.maxValueLength,k=z===void 0?250:z;"environment"in H||(H.environment="environment"in G?X:"production"),H.release===void 0&&K!==void 0&&(H.release=K),H.dist===void 0&&J!==void 0&&(H.dist=J),H.message&&(H.message=(0,s.truncate)(H.message,k));var F=H.exception&&H.exception.values&&H.exception.values[0];F&&F.value&&(F.value=(0,s.truncate)(F.value,k));var q=H.request;q&&q.url&&(q.url=(0,s.truncate)(q.url,k))},x._applyIntegrationsMetadata=function(H){var G=Object.keys(this._integrations);G.length>0&&(H.sdk=H.sdk||{},H.sdk.integrations=E(H.sdk.integrations||[]).concat(E(G)))},x._captureEvent=function(H){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},X=arguments.length>2?arguments[2]:void 0;return this._processEvent(H,G,X).then(function(K){return K.event_id},function(K){if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var J=K;J.logLevel==="log"?s.logger.log(J.message):s.logger.warn(J)}})},x._processEvent=function(H,G,X){var K=this,J=this.getOptions(),z=J.sampleRate;if(!this._isEnabled())return(0,s.rejectedSyncPromise)(new s.SentryError("SDK not enabled, will not capture event.","log"));var k=H.type==="transaction",F=k?"beforeSendTransaction":"beforeSend",q=J[F];return!k&&typeof z=="number"&&Math.random()>z?(this.recordDroppedEvent("sample_rate","error",H),(0,s.rejectedSyncPromise)(new s.SentryError("Discarding event because it's not included in the random sample (sampling rate = ".concat(z,")"),"log"))):this._prepareEvent(H,G,X).then(function(N){if(N===null)throw K.recordDroppedEvent("event_processor",H.type||"error",H),new s.SentryError("An event processor returned `null`, will not send event.","log");var M=G.data&&G.data.__sentry__===!0;if(M||!q)return N;var U=q(N,G);return R(U,F)}).then(function(N){if(N===null)throw K.recordDroppedEvent("before_send",H.type||"error",H),new s.SentryError("`".concat(F,"` returned `null`, will not send event."),"log");var M=X&&X.getSession();!k&&M&&K._updateSessionFromEvent(M,N);var U=N.transaction_info;if(k&&U&&N.transaction!==H.transaction){var Q="custom";N.transaction_info=b(P({},U),{source:Q,changes:E(U.changes).concat([{source:Q,timestamp:N.timestamp,prop
67agations:U.propagations}])})}return K.sendEvent(N,G),N}).then(null,function(N){throw g(N,s.SentryError)?N:(K.captureException(N,{data:{__sentry__:!0},originalException:N}),new s.SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(N)))})},x._process=function(H){var G=this;this._numProcessing++,H.then(function(X){return G._numProcessing--,X},function(X){return G._numProcessing--,X})},x._sendEnvelope=function(H){this._transport&&this._dsn?this._transport.send(H).then(null,function(G){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.error("Error while sending event:",G)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.logger.error("Transport disabled")},x._clearOutcomes=function(){var H=this._outcomes;return this._outcomes={},Object.keys(H).map(function(G){var X=S(G.split(":"),2),K=X[0],J=X[1];return{reason:K,category:J,quantity:H[G]}})},j}();function R(j,x){var L="`".concat(x,"` must return `null` or a valid event.");if((0,s.isThenable)(j))return j.then(function(H){if(!(0,s.isPlainObject)(H)&&H!==null)throw new s.SentryError(L);return H},function(H){throw new s.SentryError("`".concat(x,"` rejected with ").concat(H))});if(!(0,s.isPlainObject)(j)&&j!==null)throw new s.SentryError(L);return j}},310481:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(m,P){for(var _ in P)Object.defineProperty(m,_,{enumerable:!0,get:P[_]})}s(f,{createEventEnvelope:function(){return h},createSessionEnvelope:function(){return v}});var n=e(442378);function a(m,P){(P==null||P>m.length)&&(P=m.length);for(var _=0,b=new Array(P);_<P;_++)b[_]=m[_];return b}function t(m){if(Array.isArray(m))return a(m)}function r(m,P,_){return P in m?Object.defineProperty(m,P,{value:_,enumerable:!0,configurable:!0,writable:!0}):m[P]=_,m}function i(m){if(typeof Symbol!="undefined"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(m){for(var P=1;P<arguments.length;P++){var _=arguments[P]!=null?arguments[P]:{},b=Object.keys(_);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(_).filter(function(S){return Object.getOwnPropertyDescriptor(_,S).enumerable}))),b.forEach(function(S){r(m,S,_[S])})}return m}function u(m){return t(m)||i(m)||l(m)||o()}function l(m,P){if(!!m){if(typeof m=="string")return a(m,P);var _=Object.prototype.toString.call(m).slice(8,-1);if(_==="Object"&&m.constructor&&(_=m.constructor.name),_==="Map"||_==="Set")return Array.from(_);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return a(m,P)}}function c(m){if(!(!m||!m.sdk)){var P=m.sdk,_=P.name,b=P.version;return{name:_,version:b}}}function g(m,P){return P&&(m.sdk=m.sdk||{},m.sdk.name=m.sdk.name||P.name,m.sdk.version=m.sdk.version||P.version,m.sdk.integrations=u(m.sdk.integrations||[]).concat(u(P.integrations||[])),m.sdk.packages=u(m.sdk.packages||[]).concat(u(P.packages||[]))),m}function v(m,P,_,b){var S=c(_),E=d({sent_at:new Date().toISOString()},S&&{sdk:S},!!b&&{dsn:(0,n.dsnToString)(P)}),A="aggregates"in m?[{type:"sessions"},m]:[{type:"session"},m];return(0,n.createEnvelope)(E,[A])}function h(m,P,_,b){var S=c(_),E=m.type||"event";g(m,_&&_.sdk);var A=p(m,S,b,P);delete m.sdkProcessingMetadata;var T=[{type:E},m];return(0,n.createEnvelope)(A,[T])}function p(m,P,_,b){var S=m.sdkProcessingMetadata&&m.sdkProcessingMetadata.dynamicSamplingContext;return d({event_id:m.event_id,sent_at:new Date().toISOString()},P&&{sdk:P},!!_&&{dsn:(0,n.dsnToString)(b)},m.type==="transaction"&&S&&{trace:(0,n.dropUndefinedKeys)(d({},S))})}},794690:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(_,b){for(var S in b)Object.defineProperty(_,S,{enumerable:!0,get:b[S]})}s(f,{addBreadcrumb:function(){return u},captureEvent:function(){return o},captureException:function(){return r},captureMessage:function(){return i},configureScope:function(){return d},setContext:function(){return l},setExtra:function(){return g},setExtras:function(){return c},setTag:function(){return h},setTags:function(){return v},setUser:function(){return p},startTransaction:function(){return P},withScope:function(){return m}});var n=e(603147);function a(_,b,S){return b in _?Object.defineProperty(_,b,{value:S,enumerable:!0,configurable:!0,writable:!0}):_[b]=S,_}function t(_){for(var b=1;b<arguments.length;b++){var S=arguments[b]!=null?arguments[b]:{},E=Object.keys(S);typeof Object.getOwnPropertySymbols=="function"&&(E=E.concat(Object.getOwnPropertySymbols(S).filter(function(A){return Object.getOwnPropertyDescriptor(S,A).enumerable}
67))),E.forEach(function(A){a(_,A,S[A])})}return _}function r(_,b){return(0,n.getCurrentHub)().captureException(_,{captureContext:b})}function i(_,b){var S=typeof b=="string"?b:void 0,E=typeof b!="string"?{captureContext:b}:void 0;return(0,n.getCurrentHub)().captureMessage(_,S,E)}function o(_,b){return(0,n.getCurrentHub)().captureEvent(_,b)}function d(_){(0,n.getCurrentHub)().configureScope(_)}function u(_){(0,n.getCurrentHub)().addBreadcrumb(_)}function l(_,b){(0,n.getCurrentHub)().setContext(_,b)}function c(_){(0,n.getCurrentHub)().setExtras(_)}function g(_,b){(0,n.getCurrentHub)().setExtra(_,b)}function v(_){(0,n.getCurrentHub)().setTags(_)}function h(_,b){(0,n.getCurrentHub)().setTag(_,b)}function p(_){(0,n.getCurrentHub)().setUser(_)}function m(_){(0,n.getCurrentHub)().withScope(_)}function P(_,b){return(0,n.getCurrentHub)().startTransaction(t({},_),b)}},603147:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(S,E){for(var A in E)Object.defineProperty(S,A,{enumerable:!0,get:E[A]})}s(f,{API_VERSION:function(){return l},Hub:function(){return g},getCurrentHub:function(){return p},getHubFromCarrier:function(){return _},getMainCarrier:function(){return v},makeMain:function(){return h},setHubOnCarrier:function(){return b}});var n=e(442378),a=e(320761),t=e(391455);function r(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}function i(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function o(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{},T=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(A).filter(function(I){return Object.getOwnPropertyDescriptor(A,I).enumerable}))),T.forEach(function(I){i(S,I,A[I])})}return S}function d(S,E){var A=Object.keys(S);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(S);E&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(S,I).enumerable})),A.push.apply(A,T)}return A}function u(S,E){return E=E!=null?E:{},Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(E)):d(Object(E)).forEach(function(A){Object.defineProperty(S,A,Object.getOwnPropertyDescriptor(E,A))}),S}var l=4,c=100,g=function(){"use strict";function S(A){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new a.Scope,I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l;r(this,S),this._version=I,S.prototype.__init.call(this),this.getStackTop().scope=T,A&&this.bindClient(A)}var E=S.prototype;return E.__init=function(){this._stack=[{}]},E.isOlderThan=function(T){return this._version<T},E.bindClient=function(T){var I=this.getStackTop();I.client=T,T&&T.setupIntegrations&&T.setupIntegrations()},E.pushScope=function(){var T=a.Scope.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:T}),T},E.popScope=function(){return this.getStack().length<=1?!1:!!this.getStack().pop()},E.withScope=function(T){var I=this.pushScope();try{T(I)}finally{this.popScope()}},E.getClient=function(){return this.getStackTop().client},E.getScope=function(){return this.getStackTop().scope},E.getStack=function(){return this._stack},E.getStackTop=function(){return this._stack[this._stack.length-1]},E.captureException=function(T,I){var R=this._lastEventId=I&&I.event_id?I.event_id:(0,n.uuid4)(),j=new Error("Sentry syntheticException");return this._withClient(function(x,L){x.captureException(T,u(o({originalException:T,syntheticException:j},I),{event_id:R}),L)}),R},E.captureMessage=function(T,I,R){var j=this._lastEventId=R&&R.event_id?R.event_id:(0,n.uuid4)(),x=new Error(T);return this._withClient(function(L,H){L.captureMessage(T,I,u(o({originalException:T,syntheticException:x},R),{event_id:j}),H)}),j},E.captureEvent=function(T,I){var R=I&&I.event_id?I.event_id:(0,n.uuid4)();return T.type!=="transaction"&&(this._lastEventId=R),this._withClient(function(j,x){j.captureEvent(T,u(o({},I),{event_id:R}),x)}),R},E.lastEventId=function(){return this._lastEventId},E.addBreadcrumb=function(T,I){var R=this.getStackTop(),j=R.scope,x=R.client;if(!(!j||!x)){var L=x.getOptions&&x.getOptions()||{},H=L.beforeBreadcrumb,G=H===void 0?null:H,X=L.maxBreadcrumbs,K=X===void 0?c:X;if(!(K<=0)){var J=(0,n.dateTimestampInSeconds)(),z=o({timestamp:J},T),k=G?(0,n.consoleSandbox)(function(){return G(z,I)}):z;k!==null&&j.addBreadcrumb(k,K)}}},E.setUser=function(T){var I=this.getScope();I&&I.setUser(T)},E.setTags=function(T){var I=this.getScope();I&&I.setTags(T)},E.setExtras=function(T){var I=this.getScope();I&&I.setExtras(T)},E.setTag=function(T,I){var R=this.getScope();R&&R.setTag(T,I)},E.setExtra=function(T,I){var R=this.getScope();R&&R.setExtra(T,I)},E.setContext=function(T,I){var R=this.getScope();R&&R.setContext(T,I)},E.configureScope=function(T){var I=this.getStackTop(),R=I.scope,j=I.client;R&&j&&T(R)},E.run=function(T){var I=h(this);try{T(this)}finally{h(I)}},E.getIntegration=function(T){var I=this.getClient();if(!I)return null;try{return I.getIntegration(T)}catch(R){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Cannot retrieve integration ".concat(T.id," from the current Hub")),null}},E.startTransaction=function(T,I){return this._callExtensionMethod("startTransaction",T,I)},E.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},E.captureSession=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(T)return this.endSession();this._sendSessionUpdate()},E.endSession=function(){var T=this.getStackTop(),I=T&&T.scope,R=I&&I.getSession();R&&(0,t.closeSession)(R),this._sendSessionUpdate(),I&&I.setSession()},E.startSession=function(T){var I=this.getStackTop(),R=I.scope,j=I.client,x=j&&j.getOptions()||{},L=x.release,H=x.environment,G=(n.GLOBAL_OBJ.navigator||{}).userAgent,X=(0,t.makeSession)(o({release:L,environment:H},R&&{user:R.getUser()},G&&{userAgent:G},T));if(R){var K=R.getSession&&R.getSession();K&&K.status==="ok"&&(0,t.updateSession)(K,{status:"exited"}),this.endSession(),R.setSession(X)}return X}
67,E.shouldSendDefaultPii=function(){var T=this.getClient(),I=T&&T.getOptions();return Boolean(I&&I.sendDefaultPii)},E._sendSessionUpdate=function(){var T=this.getStackTop(),I=T.scope,R=T.client;if(!!I){var j=I.getSession();j&&R&&R.captureSession&&R.captureSession(j)}},E._withClient=function(T){var I=this.getStackTop(),R=I.scope,j=I.client;j&&T(j,R)},E._callExtensionMethod=function(T){for(var I=arguments.length,R=new Array(I>1?I-1:0),j=1;j<I;j++)R[j-1]=arguments[j];var x=v(),L=x.__SENTRY__;if(L&&L.extensions&&typeof L.extensions[T]=="function")return L.extensions[T].apply(this,R);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Extension method ".concat(T," couldn't be found, doing nothing."))},S}();function v(){return n.GLOBAL_OBJ.__SENTRY__=n.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},n.GLOBAL_OBJ}function h(S){var E=v(),A=_(E);return b(E,S),A}function p(){var S=v();return(!P(S)||_(S).isOlderThan(l))&&b(S,new g),(0,n.isNodeEnv)()?m(S):_(S)}function m(S){try{var E=v().__SENTRY__,A=E&&E.extensions&&E.extensions.domain&&E.extensions.domain.active;if(!A)return _(S);if(!P(A)||_(A).isOlderThan(l)){var T=_(S).getStackTop();b(A,new g(T.client,a.Scope.clone(T.scope)))}return _(A)}catch(I){return _(S)}}function P(S){return!!(S&&S.__SENTRY__&&S.__SENTRY__.hub)}function _(S){return(0,n.getGlobalSingleton)("hub",function(){return new g},S)}function b(S,E){if(!S)return!1;var A=S.__SENTRY__=S.__SENTRY__||{};return A.hub=E,!0}},364904:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(_,b){for(var S in b)Object.defineProperty(_,S,{enumerable:!0,get:b[S]})}s(f,{addBreadcrumb:function(){return n.addBreadcrumb},captureEvent:function(){return n.captureEvent},captureException:function(){return n.captureException},captureMessage:function(){return n.captureMessage},configureScope:function(){return n.configureScope},setContext:function(){return n.setContext},setExtra:function(){return n.setExtra},setExtras:function(){return n.setExtras},setTag:function(){return n.setTag},setTags:function(){return n.setTags},setUser:function(){return n.setUser},startTransaction:function(){return n.startTransaction},withScope:function(){return n.withScope},Hub:function(){return a.Hub},getCurrentHub:function(){return a.getCurrentHub},getHubFromCarrier:function(){return a.getHubFromCarrier},getMainCarrier:function(){return a.getMainCarrier},makeMain:function(){return a.makeMain},setHubOnCarrier:function(){return a.setHubOnCarrier},closeSession:function(){return t.closeSession},makeSession:function(){return t.makeSession},updateSession:function(){return t.updateSession},SessionFlusher:function(){return r.SessionFlusher},Scope:function(){return i.Scope},addGlobalEventProcessor:function(){return i.addGlobalEventProcessor},getEnvelopeEndpointWithUrlEncodedAuth:function(){return o.getEnvelopeEndpointWithUrlEncodedAuth},getReportDialogEndpoint:function(){return o.getReportDialogEndpoint},BaseClient:function(){return d.BaseClient},initAndBind:function(){return u.initAndBind},createTransport:function(){return l.createTransport},SDK_VERSION:function(){return c.SDK_VERSION},getIntegrationsToSetup:function(){return g.getIntegrationsToSetup},Integrations:function(){return v},FunctionToString:function(){return h.FunctionToString},InboundFilters:function(){return p.InboundFilters}});var n=e(794690),a=e(603147),t=e(391455),r=e(503988),i=e(320761),o=e(1441),d=e(559265),u=e(966698),l=e(295406),c=e(467084),g=e(432127),v=P(e(273915)),h=e(20971),p=e(81805);function m(_){if(typeof WeakMap!="function")return null;var b=new WeakMap,S=new WeakMap;return(m=function(E){return E?S:b})(_)}function P(_,b){if(!b&&_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var S=m(b);if(S&&S.has(_))return S.get(_);var E={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in _)if(T!=="default"&&Object.prototype.hasOwnProperty.call(_,T)){var I=A?Object.getOwnPropertyDescriptor(_,T):null;I&&(I.get||I.set)?Object.defineProperty(E,T,I):E[T]=_[T]}return E.default=_,S&&S.set(_,E),E}},432127:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(b,S){for(var E in S)Object.defineProperty(b,E,{enumerable:!0,get:S[E]})}s(f,{getIntegrationsToSetup:function(){return P},installedIntegrations:function(){return p},setupIntegrations:function(){return _}});var n=e(442378),a=e(603147),t=e(320761);function r(b,S){(S==null||S>b.length)&&(S=b.length);for(var E=0,A=new Array(S);E<S;E++)A[E]=b[E];return A}function i(b){if(Array.isArray(b))return b}function o(b){if(Array.isArray(b))return r(b)}function d(b){if(typeof Symbol!="undefined"&&b[Symbol.iterator]!=null||b["@@iterator"]!=null)return Array.from(b)}function u(b,S){var E=b==null?null:typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"];if(E!=null){var A=[],T=!0,I=!1,R,j;try{for(E=E.call(b);!(T=(R=E.next()).done)&&(A.push(R.value),!(S&&A.length===S));T=!0);}catch(x){I=!0,j=x}finally{try{!T&&E.return!=null&&E.return()}finally{if(I)throw j}}return A}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(b,S){return i(b)||u(b,S)||h(b,S)||l()}function v(b){return o(b)||d(b)||h(b)||c()}function h(b,S){if(!!b){if(typeof b=="string")return r(b,S);var E=Object.prototype.toString.call(b).slice(8,-1);if(E==="Object"&&b.constructor&&(E=b.constructor.name),E==="Map"||E==="Set")return Array.from(E);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return r(b,S)}}var p=[];function m(b){var S={};return b.forEach(function(E){var A=E.name,T=S[A];T&&!T.isDefaultInstance&&E.isDefaultInstance||(S[A]=E)}),Object.values(S)}function P(b){var S=b.defaultIntegrations||[],E=b.integrations;S.forEach(function(x){x.isDefaultInstance=!0});var A;Array.isArray(E)?A=v(S).concat(v(E)):typeof E=="function"?A=(0,n.arrayify)(E(S)):A=S;var T=m(A),I=T.findIndex(function(x){return x.name==="Debug"});if(I!==-1){var R=g(T.splice(I,1),1),j=R[0];T.push(j)}return T}function _(b){var S={};return b.forEach(function(E){S[E.name]=E,p.indexOf(E.name)===-1&&(E.setupOnce(t.addGlobalEventProcessor,a.getCurrentHub),p.push(E.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.log("Integration installed: ".concat(E.name)))}),S}},20971:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"FunctionToString",{enumerable:!0,get:function(){return t}});var s=e(442378);function n(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var a,t=function(){"use strict";function r(){n(this,r),r.prototype.__init.call(this)}var i=r.prototype;return i.__init=function(){this.name=r.id},i.setupOnce=function(){a=Function.prototype.toString,Function.prototype.toString=function(){for(var d=arguments.length,u=new Array(d),l=0;l<d;l++)u[l]=arguments[l];var c=(0,s.getOriginalFunction)(this)||this;return a.apply(c,u)}},r.__initStatic=function(){this.id="FunctionToString"},r}();t.__initStatic()},81805:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(E,A){for(var T in A)Object.defineProperty(E,T,{enumerable:!0,get:A[T]})}s(f,{InboundFilters:function(){return c},_mergeOptions:function(){return g},_shouldDropEvent:function(){return v}});var n=e(442378);function a(E,A){(A==null||A>E.length)&&(A=E.length);for(var T=0,I=new Array(A);T<A;T++)I[T]=E[T];return I}function t(E){if(Array.isArray(E))return a(E)}function r(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}function i(E){if(typeof Symbol!="undefined"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(E){return t(E)||i(E)||u(E)||o()}function u(E,A){if(!!E){if(typeof E=="string")return a(E,A);var T=Object.prototype.toString.call(E).slice(8,-1);
67if(T==="Object"&&E.constructor&&(T=E.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return a(E,A)}}var l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],c=function(){"use strict";function E(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r(this,E),this._options=T,E.prototype.__init.call(this)}var A=E.prototype;return A.__init=function(){this.name=E.id},A.setupOnce=function(I,R){var j=function(x){var L=R();if(L){var H=L.getIntegration(E);if(H){var G=L.getClient(),X=G?G.getOptions():{},K=g(H._options,X);return v(x,K)?null:x}}return x};j.id=this.name,I(j)},E.__initStatic=function(){this.id="InboundFilters"},E}();c.__initStatic();function g(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{allowUrls:d(E.allowUrls||[]).concat(d(A.allowUrls||[])),denyUrls:d(E.denyUrls||[]).concat(d(A.denyUrls||[])),ignoreErrors:d(E.ignoreErrors||[]).concat(d(A.ignoreErrors||[]),d(l)),ignoreInternal:E.ignoreInternal!==void 0?E.ignoreInternal:!0}}function v(E,A){return A.ignoreInternal&&_(E)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat((0,n.getEventDescription)(E))),!0):h(E,A.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,n.getEventDescription)(E))),!0):p(E,A.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,n.getEventDescription)(E),".\nUrl: ").concat(S(E))),!0):m(E,A.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,n.getEventDescription)(E),".\nUrl: ").concat(S(E))),!0)}function h(E,A){return!A||!A.length?!1:P(E).some(function(T){return(0,n.stringMatchesSomePattern)(T,A)})}function p(E,A){if(!A||!A.length)return!1;var T=S(E);return T?(0,n.stringMatchesSomePattern)(T,A):!1}function m(E,A){if(!A||!A.length)return!0;var T=S(E);return T?(0,n.stringMatchesSomePattern)(T,A):!0}function P(E){if(E.message)return[E.message];if(E.exception)try{var A=E.exception.values&&E.exception.values[0]||{},T=A.type,I=T===void 0?"":T,R=A.value,j=R===void 0?"":R;return["".concat(j),"".concat(I,": ").concat(j)]}catch(x){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.error("Cannot extract message for event ".concat((0,n.getEventDescription)(E))),[]}return[]}function _(E){try{return E.exception.values[0].type==="SentryError"}catch(A){}return!1}function b(){for(var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],A=E.length-1;A>=0;A--){var T=E[A];if(T&&T.filename!=="<anonymous>"&&T.filename!=="[native code]")return T.filename||null}return null}function S(E){try{var A;try{A=E.exception.values[0].stacktrace.frames}catch(T){}return A?b(A):null}catch(T){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.error("Cannot extract url for event ".concat((0,n.getEventDescription)(E))),null}}},273915:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}s(f,{FunctionToString:function(){return n.FunctionToString},InboundFilters:function(){return a.InboundFilters}});var n=e(20971),a=e(81805)},320761:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(S,E){for(var A in E)Object.defineProperty(S,A,{enumerable:!0,get:E[A]})}s(f,{Scope:function(){return P},addGlobalEventProcessor:function(){return b}});var n=e(442378),a=e(391455);function t(S,E){(E==null||E>S.length)&&(E=S.length);for(var A=0,T=new Array(E);A<E;A++)T[A]=S[A];return T}function r(S){if(Array.isArray(S))return t(S)}function i(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}function o(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function d(S,E){return E!=null&&typeof Symbol!="undefined"&&E[Symbol.hasInstance]?!!E[Symbol.hasInstance](S):S instanceof E}function u(S){if(typeof Symbol!="undefined"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{},T=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(A).filter(function(I){return Object.getOwnPropertyDescriptor(A,I).enumerable}))),T.forEach(function(I){o(S,I,A[I])})}return S}function g(S,E){var A=Object.keys(S);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(S);E&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(S,I).enumerable})),A.push.apply(A,T)}return A}function v(S,E){return E=E!=null?E:{},Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(E)):g(Object(E)).forEac
67h(function(A){Object.defineProperty(S,A,Object.getOwnPropertyDescriptor(E,A))}),S}function h(S){return r(S)||u(S)||p(S)||l()}function p(S,E){if(!!S){if(typeof S=="string")return t(S,E);var A=Object.prototype.toString.call(S).slice(8,-1);if(A==="Object"&&S.constructor&&(A=S.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return t(S,E)}}var m=100,P=function(){"use strict";function S(){i(this,S),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}var E=S.prototype;return E.addScopeListener=function(T){this._scopeListeners.push(T)},E.addEventProcessor=function(T){return this._eventProcessors.push(T),this},E.setUser=function(T){return this._user=T||{},this._session&&(0,a.updateSession)(this._session,{user:T}),this._notifyScopeListeners(),this},E.getUser=function(){return this._user},E.getRequestSession=function(){return this._requestSession},E.setRequestSession=function(T){return this._requestSession=T,this},E.setTags=function(T){return this._tags=c({},this._tags,T),this._notifyScopeListeners(),this},E.setTag=function(T,I){return this._tags=v(c({},this._tags),o({},T,I)),this._notifyScopeListeners(),this},E.setExtras=function(T){return this._extra=c({},this._extra,T),this._notifyScopeListeners(),this},E.setExtra=function(T,I){return this._extra=v(c({},this._extra),o({},T,I)),this._notifyScopeListeners(),this},E.setFingerprint=function(T){return this._fingerprint=T,this._notifyScopeListeners(),this},E.setLevel=function(T){return this._level=T,this._notifyScopeListeners(),this},E.setTransactionName=function(T){return this._transactionName=T,this._notifyScopeListeners(),this},E.setContext=function(T,I){return I===null?delete this._contexts[T]:this._contexts[T]=I,this._notifyScopeListeners(),this},E.setSpan=function(T){return this._span=T,this._notifyScopeListeners(),this},E.getSpan=function(){return this._span},E.getTransaction=function(){var T=this.getSpan();return T&&T.transaction},E.setSession=function(T){return T?this._session=T:delete this._session,this._notifyScopeListeners(),this},E.getSession=function(){return this._session},E.update=function(T){if(!T)return this;if(typeof T=="function"){var I=T(this);return d(I,S)?I:this}return d(T,S)?(this._tags=c({},this._tags,T._tags),this._extra=c({},this._extra,T._extra),this._contexts=c({},this._contexts,T._contexts),T._user&&Object.keys(T._user).length&&(this._user=T._user),T._level&&(this._level=T._level),T._fingerprint&&(this._fingerprint=T._fingerprint),T._requestSession&&(this._requestSession=T._requestSession)):(0,n.isPlainObject)(T)&&(T=T,this._tags=c({},this._tags,T.tags),this._extra=c({},this._extra,T.extra),this._contexts=c({},this._contexts,T.contexts),T.user&&(this._user=T.user),T.level&&(this._level=T.level),T.fingerprint&&(this._fingerprint=T.fingerprint),T.requestSession&&(this._requestSession=T.requestSession)),this},E.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this},E.addBreadcrumb=function(T,I){var R=typeof I=="number"?I:m;if(R<=0)return this;var j=c({timestamp:(0,n.dateTimestampInSeconds)()},T);return this._breadcrumbs=h(this._breadcrumbs).concat([j]).slice(-R),this._notifyScopeListeners(),this},E.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},E.addAttachment=function(T){return this._attachments.push(T),this},E.getAttachments=function(){return this._attachments},E.clearAttachments=function(){return this._attachments=[],this},E.applyToEvent=function(T){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(T.extra=c({},this._extra,T.extra)),this._tags&&Object.keys(this._tags).length&&(T.tags=c({},this._tags,T.tags)),this._user&&Object.keys(this._user).length&&(T.user=c({},this._user,T.user)),this._contexts&&Object.keys(this._contexts).length&&(T.contexts=c({},this._contexts,T.contexts)),this._level&&(T.level=this._level),this._transactionName&&(T.transaction=this._transactionName),this._span){T.contexts=c({trace:this._span.getTraceContext()},T.contexts);var R=this._span.transaction&&this._span.transaction.name;R&&(T.tags=c({transaction:R},T.tags))}return this._applyFingerprint(T),T.breadcrumbs=h(T.breadcrumbs||[]).concat(h(this._breadcrumbs)),T.breadcrumbs=T.breadcrumbs.length>0?T.breadcrumbs:void 0,T.sdkProcessingMetadata=c({},T.sdkProcessingMetadata,this._sdkProcessingMetadata),this._notifyEventProcessors(h(_()).concat(h(this._eventProcessors)),T,I)},E.setSDKProcessingMetadata=function(T){return this._sdkProcessingMetadata=c({},this._sdkProcessingMetadata,T),this},E._notifyEventProcessors=function(T,I,R){var j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,x=this;return new n.SyncPromise(function(L,H){var G=T[j];if(I===null||typeof G!="function")L(I);else{var X=G(c({},I),R);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.id&&X===null&&n.logger.log('Event processor "'.concat(G.id,'" dropped event')),(0,n.isThenable)(X)?X.then(function(K){return x._notifyEventProcessors(T,K,R,j+1).then(L)}).then(null,H):x._notifyEventProcessors(T,X,R,j+1).then(L).then(null,H)}})},E._notifyScopeListeners=function(){var T=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
67h(function(I){I(T)}),this._notifyingListeners=!1)},E._applyFingerprint=function(T){T.fingerprint=T.fingerprint?(0,n.arrayify)(T.fingerprint):[],this._fingerprint&&(T.fingerprint=T.fingerprint.concat(this._fingerprint)),T.fingerprint&&!T.fingerprint.length&&delete T.fingerprint},S.clone=function(T){var I=new S;return T&&(I._breadcrumbs=h(T._breadcrumbs),I._tags=c({},T._tags),I._extra=c({},T._extra),I._contexts=c({},T._contexts),I._user=T._user,I._level=T._level,I._span=T._span,I._session=T._session,I._transactionName=T._transactionName,I._fingerprint=T._fingerprint,I._eventProcessors=h(T._eventProcessors),I._requestSession=T._requestSession,I._attachments=h(T._attachments),I._sdkProcessingMetadata=c({},T._sdkProcessingMetadata)),I},S}();function _(){return(0,n.getGlobalSingleton)("globalEventProcessors",function(){return[]})}function b(S){_().push(S)}},966698:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"initAndBind",{enumerable:!0,get:function(){return a}});var s=e(442378),n=e(603147);function a(t,r){r.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?s.logger.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var i=(0,n.getCurrentHub)(),o=i.getScope();o&&o.update(r.initialScope);var d=new t(r);i.bindClient(d)}},391455:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}s(f,{closeSession:function(){return r},makeSession:function(){return a},updateSession:function(){return t}});var n=e(442378);function a(o){var d=(0,n.timestampInSeconds)(),u={sid:(0,n.uuid4)(),init:!0,timestamp:d,started:d,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return i(u)}};return o&&t(u,o),u}function t(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(d.user&&(!o.ipAddress&&d.user.ip_address&&(o.ipAddress=d.user.ip_address),!o.did&&!d.did&&(o.did=d.user.id||d.user.email||d.user.username)),o.timestamp=d.timestamp||(0,n.timestampInSeconds)(),d.ignoreDuration&&(o.ignoreDuration=d.ignoreDuration),d.sid&&(o.sid=d.sid.length===32?d.sid:(0,n.uuid4)()),d.init!==void 0&&(o.init=d.init),!o.did&&d.did&&(o.did="".concat(d.did)),typeof d.started=="number"&&(o.started=d.started),o.ignoreDuration)o.duration=void 0;else if(typeof d.duration=="number")o.duration=d.duration;else{var u=o.timestamp-o.started;o.duration=u>=0?u:0}d.release&&(o.release=d.release),d.environment&&(o.environment=d.environment),!o.ipAddress&&d.ipAddress&&(o.ipAddress=d.ipAddress),!o.userAgent&&d.userAgent&&(o.userAgent=d.userAgent),typeof d.errors=="number"&&(o.errors=d.errors),d.status&&(o.status=d.status)}function r(o,d){var u={};d?u={status:d}:o.status==="ok"&&(u={status:"exited"}),t(o,u)}function i(o){return(0,n.dropUndefinedKeys)({sid:"".concat(o.sid),init:o.init,started:new Date(o.started*1e3).toISOString(),timestamp:new Date(o.timestamp*1e3).toISOString(),status:o.status,errors:o.errors,did:typeof o.did=="number"||typeof o.did=="string"?"".concat(o.did):void 0,duration:o.duration,attrs:{release:o.release,environment:o.environment,ip_address:o.ipAddress,user_agent:o.userAgent}})}},503988:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"SessionFlusher",{enumerable:!0,get:function(){return t}});var s=e(442378),n=e(603147);function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var t=function(){"use strict";function r(o,d){var u=this;a(this,r),r.prototype.__init.call(this),r.prototype.__init2.call(this),r.prototype.__init3.call(this),this._client=o,this._intervalId=setInterval(function(){return u.flush()},this.flushTimeout*1e3),this._sessionAttrs=d}var i=r.prototype;return i.__init=function(){this.flushTimeout=60},i.__init2=function(){this._pendingAggregates={}},i.__init3=function(){this._isEnabled=!0},i.flush=function(){var d=this.getSessionAggregates();d.aggregates.length!==0&&(this._pendingAggregates={},this._client.sendSession(d))},i.getSessionAggregates=function(){var d=this,u=Object.keys(this._pe
67ndingAggregates).map(function(c){return d._pendingAggregates[parseInt(c)]}),l={attrs:this._sessionAttrs,aggregates:u};return(0,s.dropUndefinedKeys)(l)},i.close=function(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()},i.incrementSessionStatusCount=function(){if(!!this._isEnabled){var d=(0,n.getCurrentHub)().getScope(),u=d&&d.getRequestSession();u&&u.status&&(this._incrementSessionStatusCount(u.status,new Date),d&&d.setRequestSession(void 0))}},i._incrementSessionStatusCount=function(d,u){var l=new Date(u).setSeconds(0,0);this._pendingAggregates[l]=this._pendingAggregates[l]||{};var c=this._pendingAggregates[l];switch(c.started||(c.started=new Date(l).toISOString()),d){case"errored":return c.errored=(c.errored||0)+1,c.errored;case"ok":return c.exited=(c.exited||0)+1,c.exited;default:return c.crashed=(c.crashed||0)+1,c.crashed}},r}()},295406:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}s(f,{DEFAULT_TRANSPORT_BUFFER_SIZE:function(){return t},createTransport:function(){return r}});var n=e(442378);function a(o,d){return d!=null&&typeof Symbol!="undefined"&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](o):o instanceof d}var t=30;function r(o,d){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,n.makePromiseBuffer)(o.bufferSize||t),l=function(h){var p=[];if((0,n.forEachEnvelopeItem)(h,function(b,S){var E=(0,n.envelopeItemTypeToDataCategory)(S);if((0,n.isRateLimited)(c,E)){var A=i(b,S);o.recordDroppedEvent("ratelimit_backoff",E,A)}else p.push(b)}),p.length===0)return(0,n.resolvedSyncPromise)();var m=(0,n.createEnvelope)(h[0],p),P=function(b){(0,n.forEachEnvelopeItem)(m,function(S,E){var A=i(S,E);o.recordDroppedEvent(b,(0,n.envelopeItemTypeToDataCategory)(E),A)})},_=function(){return d({body:(0,n.serializeEnvelope)(m,o.textEncoder)}).then(function(b){b.statusCode!==void 0&&(b.statusCode<200||b.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Sentry responded with status code ".concat(b.statusCode," to sent event.")),c=(0,n.updateRateLimits)(c,b)},function(b){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.error("Failed while sending event:",b),P("network_error")})};return u.add(_).then(function(b){return b},function(b){if(a(b,n.SentryError))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.error("Skipped sending event because buffer is full."),P("queue_overflow"),(0,n.resolvedSyncPromise)();throw b})},c={},g=function(v){return u.drain(v)};return{send:l,flush:g}}function i(o,d){if(!(d!=="event"&&d!=="transaction"))return Array.isArray(o)?o[1]:void 0}},467084:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"SDK_VERSION",{enumerable:!0,get:function(){return e}});var e="7.24.2"},70859:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(f,{REACT_MOUNT_OP:function(){return a},REACT_RENDER_OP:function(){return s},REACT_UPDATE_OP:function(){return n}});var s="ui.react.render",n="ui.react.update",a="ui.react.mount"},876012:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(z,k){for(var F in k)Object.defineProperty(z,F,{enumerable:!0,get:k[F]})}s(f,{ErrorBoundary:function(){return K},UNKNOWN_COMPONENT:function(){return G},isAtLeastReact17:function(){return H},withErrorBoundary:function(){return J}});var n=e(268601),a=e(442378),t=v(e(192628)),r=p(e(508669));function i(z,k){(k==null||k>z.length)&&(k=z.length);for(var F=0,q=new Array(k);F<k;F++)q[F]=z[F];return q}function o(z){if(Array.isArray(z))return i(z)}function d(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function u(z,k){if(!(z instanceof k))throw new TypeError("Cannot call a class as a function")}function l(z,k,F){return k in z?Object.defineProperty(z,k,{value:F,enumerable:!0,configurable:!0,writable:!0}):z[k]=F,z}
67function c(z){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},c(z)}function g(z,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(k&&k.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),k&&A(z,k)}function v(z){return z&&z.__esModule?z:{default:z}}function h(z){if(typeof WeakMap!="function")return null;var k=new WeakMap,F=new WeakMap;return(h=function(q){return q?F:k})(z)}function p(z,k){if(!k&&z&&z.__esModule)return z;if(z===null||typeof z!="object"&&typeof z!="function")return{default:z};var F=h(k);if(F&&F.has(z))return F.get(z);var q={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in z)if(M!=="default"&&Object.prototype.hasOwnProperty.call(z,M)){var U=N?Object.getOwnPropertyDescriptor(z,M):null;U&&(U.get||U.set)?Object.defineProperty(q,M,U):q[M]=z[M]}return q.default=z,F&&F.set(z,q),q}function m(z){if(typeof Symbol!="undefined"&&z[Symbol.iterator]!=null||z["@@iterator"]!=null)return Array.from(z)}function P(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(z){for(var k=1;k<arguments.length;k++){var F=arguments[k]!=null?arguments[k]:{},q=Object.keys(F);typeof Object.getOwnPropertySymbols=="function"&&(q=q.concat(Object.getOwnPropertySymbols(F).filter(function(N){return Object.getOwnPropertyDescriptor(F,N).enumerable}))),q.forEach(function(N){l(z,N,F[N])})}return z}function b(z,k){var F=Object.keys(z);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(z);k&&(q=q.filter(function(N){return Object.getOwnPropertyDescriptor(z,N).enumerable})),F.push.apply(F,q)}return F}function S(z,k){return k=k!=null?k:{},Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(k)):b(Object(k)).forEach(function(F){Object.defineProperty(z,F,Object.getOwnPropertyDescriptor(k,F))}),z}function E(z,k){return k&&(I(k)==="object"||typeof k=="function")?k:d(z)}function A(z,k){return A=Object.setPrototypeOf||function(q,N){return q.__proto__=N,q},A(z,k)}function T(z){return o(z)||m(z)||R(z)||P()}var I=function(z){return z&&typeof Symbol!="undefined"&&z.constructor===Symbol?"symbol":typeof z};function R(z,k){if(!!z){if(typeof z=="string")return i(z,k);var F=Object.prototype.toString.call(z).slice(8,-1);if(F==="Object"&&z.constructor&&(F=z.constructor.name),F==="Map"||F==="Set")return Array.from(F);if(F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F))return i(z,k)}}function j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(z){return!1}}function x(z){var k=j();return function(){var q=c(z),N;if(k){var M=c(this).constructor;N=Reflect.construct(q,arguments,M)}else N=q.apply(this,arguments);return E(this,N)}}var L="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";function H(z){var k=z.match(/^([^.]+)/);return k!==null&&parseInt(k[0])>=17}var G="unknown",X={componentStack:null,error:null,eventId:null},K=function(z){"use strict";g(F,z);var k=x(F);function F(){for(var N=arguments.length,M=new Array(N),U=0;U<N;U++)M[U]=arguments[U];u(this,F);var Q;return Q=k.call.apply(k,[this].concat(T(M))),F.prototype.__init.call(d(Q)),F.prototype.__init2.call(d(Q)),Q}var q=F.prototype;return q.__init=function(){this.state=X},q.componentDidCatch=function(M,U){var Q=U.componentStack,$=this,ee=this.props,oe=ee.beforeCapture,pe=ee.onError,me=ee.showDialog,Se=ee.dialogOptions;(0,n.withScope)(function(Pe){if(H(r.version)&&(0,a.isError)(M)){var He=new Error(M.message);He.name="React ErrorBoundary ".concat(He.name),He.stack=Q,M.cause=He}oe&&oe(Pe,M,Q);var fe=(0,n.captureException)(M,{contexts:{react:{componentStack:Q}}});pe&&pe(M,Q,fe),me&&(0,n.showReportDialog)(S(_({},Se),{eventId:fe})),$.setState({error:M,componentStack:Q,eventId:fe})})},q.componentDidMount=function(){var M=this.props.onMount;M&&M()},q.componentWillUnmount=function(){var M=this.state,U=M.error,Q=M.componentStack,$=M.eventId,ee=this.props.onUnmount;ee&&ee(U,Q,$)},q.__init2=function(){var M=this;this.resetErrorBoundary=function(){var U=M.props.onReset,Q=M.state,$=Q.error,ee=Q.componentStack,oe=Q.eventId;U&&U($,ee,oe),M.setState(X)}},q.render=function(){var M=this.props,U=M.fallback,Q=M.children,$=this.state,ee=$.error,oe=$.componentStack,pe=$.eventId;if(ee){var me=void 0;return typeof U=="function"?me=U({error:ee,componentStack:oe,resetError:this.resetErrorBoundary,eventId:pe}):me=U,r.isValidElement(me)?me:(U&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("fallback did not produce a valid ReactElement"),null)}return typeof Q=="function"?Q():Q},F}(r.Component);function J(z,k){var F=this,q=z.displayName||z.name||G,N=function(M){return r.createElement(K,S(_({},k),{__self:F,__source:{fileName:L,lineNumber:173}}),r.createElement(z,S(_({},M),{__self:F,__source:{fileName:L,lineNumber:174}}
67)))};return N.displayName="errorBoundary(".concat(q,")"),(0,t.default)(N,z),N}},532940:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(l,c){for(var g in c)Object.defineProperty(l,g,{enumerable:!0,get:c[g]})}s(f,{init:function(){return n.init},Profiler:function(){return a.Profiler},useProfiler:function(){return a.useProfiler},withProfiler:function(){return a.withProfiler},ErrorBoundary:function(){return t.ErrorBoundary},withErrorBoundary:function(){return t.withErrorBoundary},createReduxEnhancer:function(){return r.createReduxEnhancer},reactRouterV3Instrumentation:function(){return i.reactRouterV3Instrumentation},reactRouterV4Instrumentation:function(){return o.reactRouterV4Instrumentation},reactRouterV5Instrumentation:function(){return o.reactRouterV5Instrumentation},withSentryRouting:function(){return o.withSentryRouting},reactRouterV6Instrumentation:function(){return d.reactRouterV6Instrumentation},withSentryReactRouterV6Routing:function(){return d.withSentryReactRouterV6Routing},wrapCreateBrowserRouter:function(){return d.wrapCreateBrowserRouter},wrapUseRoutes:function(){return d.wrapUseRoutes}}),u(e(268601),f);var n=e(638506),a=e(716117),t=e(876012),r=e(778140),i=e(194006),o=e(196161),d=e(191947);function u(l,c){return Object.keys(l).forEach(function(g){g!=="default"&&!Object.prototype.hasOwnProperty.call(c,g)&&Object.defineProperty(c,g,{enumerable:!0,get:function(){return l[g]}})}),l}},716117:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(k,F){for(var q in F)Object.defineProperty(k,q,{enumerable:!0,get:F[q]})}s(f,{Profiler:function(){return X},UNKNOWN_COMPONENT:function(){return G},getActiveTransaction:function(){return z},useProfiler:function(){return J},withProfiler:function(){return K}});var n=e(268601),a=e(442378),t=h(e(192628)),r=m(e(508669)),i=e(70859);function o(k,F){(F==null||F>k.length)&&(F=k.length);for(var q=0,N=new Array(F);q<F;q++)N[q]=k[q];return N}function d(k){if(Array.isArray(k))return k}function u(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function l(k,F){if(!(k instanceof F))throw new TypeError("Cannot call a class as a function")}function c(k,F,q){return F in k?Object.defineProperty(k,F,{value:q,enumerable:!0,configurable:!0,writable:!0}):k[F]=q,k}function g(k){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(q){return q.__proto__||Object.getPrototypeOf(q)},g(k)}function v(k,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(F&&F.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),F&&T(k,F)}function h(k){return k&&k.__esModule?k:{default:k}}function p(k){if(typeof WeakMap!="function")return null;var F=new WeakMap,q=new WeakMap;return(p=function(N){return N?q:F})(k)}function m(k,F){if(!F&&k&&k.__esModule)return k;if(k===null||typeof k!="object"&&typeof k!="function")return{default:k};var q=p(F);if(q&&q.has(k))return q.get(k);var N={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in k)if(U!=="default"&&Object.prototype.hasOwnProperty.call(k,U)){var Q=M?Object.getOwnPropertyDescriptor(k,U):null;Q&&(Q.get||Q.set)?Object.defineProperty(N,U,Q):N[U]=k[U]}return N.default=k,q&&q.set(k,N),N}function P(k,F){var q=k==null?null:typeof Symbol!="undefined"&&k[Symbol.iterator]||k["@@iterator"];if(q!=null){var N=[],M=!0,U=!1,Q,$;try{for(q=q.call(k);!(M=(Q=q.next()).done)&&(N.push(Q.value),!(F&&N.length===F));M=!0);}catch(ee){U=!0,$=ee}finally{try{!M&&q.return!=null&&q.return()}finally{if(U)throw $}}return N}}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(k){for(var F=1;F<arguments.length;F++){var q=arguments[F]!=null?arguments[F]:{},N=Object.keys(q);typeof Object.getOwnPropertySymbols=="function"&&(N=N.concat(Object.getOwnPropertySymbols(q).filter(function(M){return Object.getOwnPropertyDescriptor(q,M).enumerable}
67))),N.forEach(function(M){c(k,M,q[M])})}return k}function S(k,F){var q=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);F&&(N=N.filter(function(M){return Object.getOwnPropertyDescriptor(k,M).enumerable})),q.push.apply(q,N)}return q}function E(k,F){return F=F!=null?F:{},Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(F)):S(Object(F)).forEach(function(q){Object.defineProperty(k,q,Object.getOwnPropertyDescriptor(F,q))}),k}function A(k,F){return F&&(R(F)==="object"||typeof F=="function")?F:u(k)}function T(k,F){return T=Object.setPrototypeOf||function(N,M){return N.__proto__=M,N},T(k,F)}function I(k,F){return d(k)||P(k,F)||j(k,F)||_()}var R=function(k){return k&&typeof Symbol!="undefined"&&k.constructor===Symbol?"symbol":typeof k};function j(k,F){if(!!k){if(typeof k=="string")return o(k,F);var q=Object.prototype.toString.call(k).slice(8,-1);if(q==="Object"&&k.constructor&&(q=k.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return o(k,F)}}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(k){return!1}}function L(k){var F=x();return function(){var N=g(k),M;if(F){var U=g(this).constructor;M=Reflect.construct(N,arguments,U)}else M=N.apply(this,arguments);return A(this,M)}}
67var H="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx",G="unknown",X=function(k){"use strict";v(q,k);var F=L(q);function q(M){l(this,q);var U;U=F.call(this,M),q.prototype.__init.call(u(U)),q.prototype.__init2.call(u(U));var Q=U.props,$=Q.name,ee=Q.disabled,oe=ee===void 0?!1:ee;if(oe)return A(U);var pe=z();return pe&&(U._mountSpan=pe.startChild({description:"<".concat($,">"),op:i.REACT_MOUNT_OP})),U}var N=q.prototype;return N.__init=function(){this._mountSpan=void 0},N.__init2=function(){this._updateSpan=void 0},N.componentDidMount=function(){this._mountSpan&&this._mountSpan.finish()},N.shouldComponentUpdate=function(U){var Q=U.updateProps,$=U.includeUpdates,ee=$===void 0?!0:$,oe=this;if(ee&&this._mountSpan&&Q!==this.props.updateProps){var pe=Object.keys(Q).filter(function(Se){return Q[Se]!==oe.props.updateProps[Se]});if(pe.length>0){var me=(0,a.timestampWithMs)();this._updateSpan=this._mountSpan.startChild({data:{changedProps:pe},description:"<".concat(this.props.name,">"),op:i.REACT_UPDATE_OP,startTimestamp:me})}}return!0},N.componentDidUpdate=function(){this._updateSpan&&(this._updateSpan.finish(),this._updateSpan=void 0)},N.componentWillUnmount=function(){var U=this.props,Q=U.name,$=U.includeRender,ee=$===void 0?!0:$;this._mountSpan&&ee&&this._mountSpan.startChild({description:"<".concat(Q,">"),endTimestamp:(0,a.timestampWithMs)(),op:i.REACT_RENDER_OP,startTimestamp:this._mountSpan.endTimestamp})},N.render=function(){return this.props.children},q.__initStatic=function(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}},q}(r.Component);X.__initStatic();function K(k,F){var q=this,N=F&&F.name||k.displayName||k.name||G,M=function(U){return r.createElement(X,E(b({},F),{name:N,updateProps:U,__self:q,__source:{fileName:H,lineNumber:144}}),r.createElement(k,E(b({},U),{__self:q,__source:{fileName:H,lineNumber:145}})))};return M.displayName="profiler(".concat(N,")"),(0,t.default)(M,k),M}function J(k){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{disabled:!1,hasRenderSpan:!0},q=I(r.useState(function(){if(!(F&&F.disabled)){var M=z();if(M)return M.startChild({description:"<".concat(k,">"),op:i.REACT_MOUNT_OP})}}),1),N=q[0];r.useEffect(function(){return N&&N.finish(),function(){N&&F.hasRenderSpan&&N.startChild({description:"<".concat(k,">"),endTimestamp:(0,a.timestampWithMs)(),op:i.REACT_RENDER_OP,startTimestamp:N.endTimestamp})}},[])}function z(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,n.getCurrentHub)();if(k){var F=k.getScope();if(F)return F.getTransaction()}}},196161:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(j,x){for(var L in x)Object.defineProperty(j,L,{enumerable:!0,get:x[L]})}s(f,{reactRouterV4Instrumentation:function(){return S},reactRouterV5Instrumentation:function(){return E},withSentryRouting:function(){return R}});var n=e(268601),a=d(e(192628)),t=l(e(508669));function r(j,x){(x==null||x>j.length)&&(x=j.length);for(var L=0,H=new Array(x);L<x;L++)H[L]=j[L];return H}function i(j){if(Array.isArray(j))return j}function o(j,x,L){return x in j?Object.defineProperty(j,x,{value:L,enumerable:!0,configurable:!0,writable:!0}):j[x]=L,j}function d(j){return j&&j.__esModule?j:{default:j}}function u(j){if(typeof WeakMap!="function")return null;var x=new WeakMap,L=new WeakMap;return(u=function(H){return H?L:x})(j)}function l(j,x){if(!x&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var L=u(x);if(L&&L.has(j))return L.get(j);var H={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var X in j)if(X!=="default"&&Object.prototype.hasOwnProperty.call(j,X)){var K=G?Object.getOwnPropertyDescriptor(j,X):null;K&&(K.get||K.set)?Object.defineProperty(H,X,K):H[X]=j[X]}return H.default=j,L&&L.set(j,H),H}function c(j,x){var L=j==null?null:typeof Symbol!="undefined"&&j[Symbol.iterator]||j["@@iterator"];if(L!=null){var H=[],G=!0,X=!1,K,J;try{for(L=L.call(j);!(G=(K=L.next()).done)&&(H.push(K.value),!(x&&H.length===x));G=!0);}catch(z){X=!0,J=z}finally{try{!G&&L.return!=null&&L.return()}finally{if(X)throw J}}return H}}
67function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(j){for(var x=1;x<arguments.length;x++){var L=arguments[x]!=null?arguments[x]:{},H=Object.keys(L);typeof Object.getOwnPropertySymbols=="function"&&(H=H.concat(Object.getOwnPropertySymbols(L).filter(function(G){return Object.getOwnPropertyDescriptor(L,G).enumerable}))),H.forEach(function(G){o(j,G,L[G])})}return j}function h(j,x){var L=Object.keys(j);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(j);x&&(H=H.filter(function(G){return Object.getOwnPropertyDescriptor(j,G).enumerable})),L.push.apply(L,H)}return L}function p(j,x){return x=x!=null?x:{},Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(x)):h(Object(x)).forEach(function(L){Object.defineProperty(j,L,Object.getOwnPropertyDescriptor(x,L))}),j}function m(j,x){return i(j)||c(j,x)||P(j,x)||g()}function P(j,x){if(!!j){if(typeof j=="string")return r(j,x);var L=Object.prototype.toString.call(j).slice(8,-1);if(L==="Object"&&j.constructor&&(L=j.constructor.name),L==="Map"||L==="Set")return Array.from(L);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return r(j,x)}}var _="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx",b;function S(j,x,L){return A(j,"react-router-v4",x,L)}function E(j,x,L){return A(j,"react-router-v5",x,L)}function A(j,x){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],H=arguments.length>3?arguments[3]:void 0,G=function(){if(j&&j.location)return j.location.pathname;if(n.WINDOW&&n.WINDOW.location)return n.WINDOW.location.pathname},X=function(z){if(L.length===0||!H)return[z,"url"];for(var k=T(L,z,H),F=0;F<k.length;F++)if(k[F].match.isExact)return[k[F].match.path,"route"];return[z,"url"]},K={"routing.instrumentation":x};return function(J){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,F=G();if(z&&F){var q=m(X(F),2),N=q[0],M=q[1];b=J({name:N,op:"pageload",tags:K,metadata:{source:M}})}k&&j.listen&&j.listen(function(U,Q){if(Q&&(Q==="PUSH"||Q==="POP")){b&&b.finish();var $=m(X(U.pathname),2),ee=$[0],oe=$[1];b=J({name:ee,op:"navigation",tags:K,metadata:{source:oe}})}})}}function T(j,x,L){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];return j.some(function(G){var X=G.path?L(x,G):H.length?H[H.length-1].match:I(x);return X&&(H.push({route:G,match:X}),G.routes&&T(G.routes,x,L,H)),!!X}),H}function I(j){return{path:"/",url:"/",params:{},isExact:j==="/"}}function R(j){var x=this,L=j.displayName||j.name,H=function(G){return b&&G&&G.computedMatch&&G.computedMatch.isExact&&b.setName(G.computedMatch.path,"route"),t.createElement(j,p(v({},G),{__self:x,__source:{fileName:_,lineNumber:174}}))};return H.displayName="sentryRoute(".concat(L,")"),(0,a.default)(H,j),H}},194006:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"reactRouterV3Instrumentation",{enumerable:!0,get:function(){return n}});var s=e(268601);function n(r,i,o){return function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,c,g;u&&s.WINDOW&&s.WINDOW.location&&a(i,s.WINDOW.location,o,function(v){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"url";g=v,c=d({name:g,op:"pageload",tags:{"routing.instrumentation":"react-router-v3"},metadata:{source:h}})}),l&&r.listen&&r.listen(function(v){if(v.action==="PUSH"||v.action==="POP"){c&&c.finish();var h={"routing.instrumentation":"react-router-v3"};g&&(h.from=g),a(i,v,o,function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"url";g=p,c=d({name:g,op:"navigation",tags:h,metadata:{source:m}})})}})}}function a(r,i,o,d){var u=i.pathname;o({location:i,routes:r},function(l,c,g){if(l||!g)return d(u);
67var v=t(g.routes||[]);return v.length===0||v==="/*"?d(u):(u=v,d(u,"route"))})}function t(r){if(!Array.isArray(r)||r.length===0)return"";for(var i=r.filter(function(l){return!!l.path}),o=-1,d=i.length-1;d>=0;d--){var u=i[d];if(u.path&&u.path.startsWith("/")){o=d;break}}return i.slice(o).filter(function(l){var c=l.path;return!!c}).map(function(l){var c=l.path;return c}).join("")}},191947:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(N,M){for(var U in M)Object.defineProperty(N,U,{enumerable:!0,get:M[U]})}s(f,{reactRouterV6Instrumentation:function(){return X},withSentryReactRouterV6Routing:function(){return k},wrapCreateBrowserRouter:function(){return q},wrapUseRoutes:function(){return F}});var n=e(268601),a=e(442378),t=l(e(192628)),r=l(e(508669));function i(N,M){(M==null||M>N.length)&&(M=N.length);for(var U=0,Q=new Array(M);U<M;U++)Q[U]=N[U];return Q}function o(N){if(Array.isArray(N))return N}function d(N){if(Array.isArray(N))return i(N)}function u(N,M,U){return M in N?Object.defineProperty(N,M,{value:U,enumerable:!0,configurable:!0,writable:!0}):N[M]=U,N}function l(N){return N&&N.__esModule?N:{default:N}}function c(N){if(typeof Symbol!="undefined"&&N[Symbol.iterator]!=null||N["@@iterator"]!=null)return Array.from(N)}function g(N,M){var U=N==null?null:typeof Symbol!="undefined"&&N[Symbol.iterator]||N["@@iterator"];if(U!=null){var Q=[],$=!0,ee=!1,oe,pe;try{for(U=U.call(N);!($=(oe=U.next()).done)&&(Q.push(oe.value),!(M&&Q.length===M));$=!0);}catch(me){ee=!0,pe=me}finally{try{!$&&U.return!=null&&U.return()}finally{if(ee)throw pe}}return Q}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(N){for(var M=1;M<arguments.length;M++){var U=arguments[M]!=null?arguments[M]:{},Q=Object.keys(U);typeof Object.getOwnPropertySymbols=="function"&&(Q=Q.concat(Object.getOwnPropertySymbols(U).filter(function($){return Object.getOwnPropertyDescriptor(U,$).enumerable}))),Q.forEach(function($){u(N,$,U[$])})}return N}function m(N,M){var U=Object.keys(N);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);M&&(Q=Q.filter(function($){return Object.getOwnPropertyDescriptor(N,$).enumerable})),U.push.apply(U,Q)}return U}function P(N,M){return M=M!=null?M:{},Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(M)):m(Object(M)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(M,U))}),N}function _(N,M){return o(N)||g(N,M)||S(N,M)||v()}function b(N){return d(N)||c(N)||S(N)||h()}function S(N,M){if(!!N){if(typeof N=="string")return i(N,M);var U=Object.prototype.toString.call(N).slice(8,-1);if(U==="Object"&&N.constructor&&(U=N.constructor.name),U==="Map"||U==="Set")return Array.from(U);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return i(N,M)}}var E="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",A,T,I,R,j,x,L,H,G={"routing.instrumentation":"react-router-v6"};function X(N,M,U,Q,$){return function(ee){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,me=n.WINDOW&&n.WINDOW.location&&n.WINDOW.location.pathname;oe&&me&&(A=ee({name:me,op:"pageload",tags:G,metadata:{source:"url"}})),T=N,I=M,R=U,x=$,j=Q,L=ee,H=pe}}function K(N,M,U){if(!N||N.length===0)return[M.pathname,"url"];var Q="";if(U)for(var $=0;$<U.length;$++){var ee=U[$],oe=ee.route;if(oe){if(oe.index)return[ee.pathname,"route"];var pe=oe.path;if(pe){var me=pe[0]==="/"||Q[Q.length-1]==="/"?pe:"/".concat(pe);if(Q+=me,ee.pathname===M.pathname)return(0,a.getNumberOfUrlSegments)(Q)!==(0,a.getNumberOfUrlSegments)(ee.pathname)&&Q.slice(-2)!=="/*"?[me,"route"]:[Q,"route"]}}}return[M.pathname,"url"]}function J(N,M,U){var Q=Array.isArray(U)?U:x(M,N);if(A&&Q){var $;($=A).setName.apply($,b(K(M,N,Q)))}}function z(N,M,U,Q,$){if(Q){A&&A.finish();return}var ee=Array.isArray($)?$:x(M,N);if(H&&(U==="PUSH"||U==="POP")&&ee){A&&A.finish();var oe=_(K(M,N,ee),2),pe=oe[0],me=oe[1];A=L({name:pe,op:"navigation",tags:G,metadata:{source:me}})}}function k(N){var M=this;if(!T||!I||!R||!j||!x||!L)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.\n      useEffect: ".concat(T,". useLocation: ").concat(I,". useNavigationType: ").concat(R,".\n      createRoutesFromChildren: ").concat(j,". matchRoutes: ").concat(x,". customStartTransaction: ").concat(L,".")),N;var U=!1,Q,$=function(ee){var oe=I(),pe=R();return T(function(){Q=j(ee.children),U=!0,J(oe,Q)},[ee.children]),T(function(){z(oe,Q,pe,U)},[ee.children,oe,pe,U]),U=!1,r.default.createElement(N,P(p({},ee),{__self:M,__source:{fileName:E,lineNumber:207}}))};return(0,t.default)($,N),$}function F(N){var M=this;if(!T||!I||!R||!x||!L)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` be
67cause of one or more missing parameters."),N;var U=!1;return function(Q,$){var ee=function(oe){var pe=N(Q,$),me=typeof $=="string"?{pathname:$}:$,Se=me||I(),Pe=R();return T(function(){U=!0,J(Se,Q)},[oe]),T(function(){z(Se,Q,Pe,U)},[oe,Se,Pe,U]),U=!1,pe};return r.default.createElement(ee,{__self:M,__source:{fileName:E,lineNumber:253}})}}function q(N){return function(M,U){var Q=N(M,U);return Q.state.historyAction==="POP"&&A&&J(Q.state.location,M),Q.subscribe(function($){var ee=$.location;H&&($.historyAction==="PUSH"||$.historyAction==="POP")&&A&&z(ee,M,$.historyAction,!1)}),Q}}},778140:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"createReduxEnhancer",{enumerable:!0,get:function(){return o}});var s=e(268601);function n(d,u,l){return u in d?Object.defineProperty(d,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):d[u]=l,d}function a(d){for(var u=1;u<arguments.length;u++){var l=arguments[u]!=null?arguments[u]:{},c=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(l).filter(function(g){return Object.getOwnPropertyDescriptor(l,g).enumerable}))),c.forEach(function(g){n(d,g,l[g])})}return d}var t="redux.action",r="info",i={actionTransformer:function(d){return d},stateTransformer:function(d){return d||null}};function o(d){var u=a({},i,d);return function(l){return function(c,g){var v=function(h,p){var m=c(h,p);return(0,s.configureScope)(function(P){var _=u.actionTransformer(p);typeof _!="undefined"&&_!==null&&P.addBreadcrumb({category:t,data:_,type:r});var b=u.stateTransformer(m);typeof b!="undefined"&&b!==null?P.setContext("state",{state:{type:"redux",value:b}}):P.setContext("state",null);var S=u.configureScopeWithState;typeof S=="function"&&S(P,m)}),m};return l(v,g)}}}},638506:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"init",{enumerable:!0,get:function(){return n}});var s=e(268601);function n(a){a._metadata=a._metadata||{},a._metadata.sdk=a._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:s.SDK_VERSION}],version:s.SDK_VERSION},(0,s.init)(a)}},754936:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(S,E){for(var A in E)Object.defineProperty(S,A,{enumerable:!0,get:E[A]})}s(f,{BAGGAGE_HEADER_NAME:function(){return g},MAX_BAGGAGE_STRING_LENGTH:function(){return p},SENTRY_BAGGAGE_KEY_PREFIX:function(){return v},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return h},baggageHeaderToDynamicSamplingContext:function(){return m},dynamicSamplingContextToSentryBaggageHeader:function(){return P}});var n=e(310837),a=e(563975);function t(S,E){(E==null||E>S.length)&&(E=S.length);for(var A=0,T=new Array(E);A<E;A++)T[A]=S[A];return T}function r(S){if(Array.isArray(S))return S}function i(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function o(S,E){var A=S==null?null:typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(A!=null){var T=[],I=!0,R=!1,j,x;try{for(A=A.call(S);!(I=(j=A.next()).done)&&(T.push(j.value),!(E&&T.length===E));I=!0);}catch(L){R=!0,x=L}finally{try{!I&&A.return!=null&&A.return()}finally{if(R)throw x}}return T}}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{},T=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(A).filter(function(I){return Object.getOwnPropertyDescriptor(A,I).enumerable}))),T.forEach(function(I){i(S,I,A[I])})}return S}function l(S,E){return r(S)||o(S,E)||c(S,E)||d()}function c(S,E){if(!!S){if(typeof S=="string")return t(S,E);var A=Object.prototype.toString.call(S).slice(8,-1);if(A==="Object"&&S.constructor&&(A=S.constructor.name),A==="Map"||A==="Set")return Array.from(A);
67if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return t(S,E)}}var g="baggage",v="sentry-",h=/^sentry-/,p=8192;function m(S){if(!(!(0,n.isString)(S)&&!Array.isArray(S))){var E={};if(Array.isArray(S))E=S.reduce(function(T,I){var R=_(I);return u({},T,R)},{});else{if(!S)return;E=_(S)}var A=Object.entries(E).reduce(function(T,I){var R=l(I,2),j=R[0],x=R[1];if(j.match(h)){var L=j.slice(v.length);T[L]=x}return T},{});if(Object.keys(A).length>0)return A}}function P(S){var E=Object.entries(S).reduce(function(A,T){var I=l(T,2),R=I[0],j=I[1];return j&&(A["".concat(v).concat(R)]=j),A},{});return b(E)}function _(S){return S.split(",").map(function(E){return E.split("=").map(function(A){return decodeURIComponent(A.trim())})}).reduce(function(E,A){var T=l(A,2),I=T[0],R=T[1];return E[I]=R,E},{})}function b(S){if(Object.keys(S).length!==0)return Object.entries(S).reduce(function(E,A,T){var I=l(A,2),R=I[0],j=I[1],x="".concat(encodeURIComponent(R),"=").concat(encodeURIComponent(j)),L=T===0?x:"".concat(E,",").concat(x);return L.length>p?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.logger.warn("Not adding key: ".concat(R," with val: ").concat(j," to baggage header due to exceeding baggage size limits.")),E):L},"")}},812967:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(l,c){for(var g in c)Object.defineProperty(l,g,{enumerable:!0,get:c[g]})}s(f,{getDomElement:function(){return u},getLocationHref:function(){return d},htmlTreeAsString:function(){return i}});var n=e(310837),a=e(462463),t=(0,a.getGlobalObject)(),r=80;function i(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{for(var g=l,v=5,h=[],p=0,m=0,P=" > ",_=P.length,b,S=Array.isArray(c)?c:c.keyAttrs,E=!Array.isArray(c)&&c.maxStringLength||r;g&&p++<v&&(b=o(g,S),!(b==="html"||p>1&&m+h.length*_+b.length>=E));)h.push(b),m+=b.length,g=g.parentNode;return h.reverse().join(P)}catch(A){return"<unknown>"}}function o(l,c){var g=l,v=[],h,p,m,P,_;if(!g||!g.tagName)return"";v.push(g.tagName.toLowerCase());var b=c&&c.length?c.filter(function(E){return g.getAttribute(E)}).map(function(E){return[E,g.getAttribute(E)]}):null;if(b&&b.length)b.forEach(function(E){v.push("[".concat(E[0],'="').concat(E[1],'"]'))});else if(g.id&&v.push("#".concat(g.id)),h=g.className,h&&(0,n.isString)(h))for(p=h.split(/\s+/),_=0;_<p.length;_++)v.push(".".concat(p[_]));var S=["type","name","title","alt"];for(_=0;_<S.length;_++)m=S[_],P=g.getAttribute(m),P&&v.push("[".concat(m,'="').concat(P,'"]'));return v.join("")}function d(){try{return t.document.location.href}catch(l){return""}}function u(l){return t.document&&t.document.querySelector?t.document.querySelector(l):null}},334541:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_asyncNullishCoalesce",{enumerable:!0,get:function(){return r}});var s=e(850585);function n(o,d,u,l,c,g,v){try{var h=o[g](v),p=h.value}catch(m){u(m);return}h.done?d(p):Promise.resolve(p).then(l,c)}function a(o){return function(){var d=this,u=arguments;return new Promise(function(l,c){var g=o.apply(d,u);function v(p){n(g,l,c,v,h,"next",p)}function h(p){n(g,l,c,v,h,"throw",p)}v(void 0)})}}var t=function(o,d){var u,l,c,g,v={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]};return g={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function h(m){return function(P){return p([m,P])}}function p(m){if(u)throw new TypeError("Generator is already executing.");for(;v;)try{if(u=1,l&&(c=m[0]&2?l.return:m[0]?l.throw||((c=l.return)&&c.call(l),0):l.next)&&!(c=c.call(l,m[1])).done)return c;switch(l=0,c&&(m=[m[0]&2,c.value]),m[0]){case 0:case 1:c=m;break;case 4:return v.label++,{value:m[1],done:!1};case 5:v.label++,l=m[1],m=[0];continue;case 7:m=v.ops.pop(),v.trys.pop();continue;default:if(c=v.trys,!(c=c.length>0&&c[c.length-1])&&(m[0]===6||m[0]===2)){v=0;continue}if(m[0]===3&&(!c||m[1]>c[0]&&m[1]<c[3])){v.label=m[1];break}if(m[0]===6&&v.label<c[1]){v.label=c[1],c=m;break}if(c&&v.label<c[2]){v.label=c[2],v.ops.push(m);break}c[2]&&v.ops.pop(),v.trys.pop();continue}m=d.call(o,v)}catch(P){m=[6,P],l=0}finally{u=c=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};function r(o,d){return i.apply(this,arguments)}function i(){return i=a(function(o,d){return t(this,function(u){return[2,(0,s._nullishCoalesce)(o,d)]})}),i.apply(this,arguments)}},658822:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_asyncOptionalChain",{enumerable:!0,get:function(){return u}});function e(c,g){(g==null||g>c.length)&&(g=c.length);for(var v=0,h=new Array(g);v<g;v++)h[v]=c[v];return h}function s(c){if(Array.isArray(c))return e(c)}function n(c,g,v,h,p,m,P){try{var _=c[m](P),b=_.value}catch(S){v(S);return}_.done?g(b):Promise.resolve(b).then(h,p)}function a(c){return function(){var g=this,v=arguments;return new Promise(function(h,p){var m=c.apply(g,v);function P(b){n(m,h,p,P,_,"next",b)}function _(b){n(m,h,p,P,_,"throw",b)}P(void 0)})}}function t(c){if(typeof Symbol!="undefined"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(c){return s(c)||t(c)||o(c)||r()}function o(c,g){if(!!c){if(typeof c=="string")return e(c,g);var v=Object.prototype.toString.call(c).slice(8,-1);if(v==="Object"&&c.constructor&&(v=c.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return e(c,g)}}var d=function(c,g){var v,h,p,m,P={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]};return m={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function _(S){return function(E){return b([S,E])}}function b(S){if(v)throw new TypeError("Generator is already executing.");for(;P;)try{if(v=1,h&&(p=S[0]&2?h.return:S[0]?h.throw||((p=h.return)&&p.call(h),0):h.next)&&!(p=p.call(h,S[1])).done)return p;switch(h=0,p&&(S=[S[0]&2,p.value]),S[0]){case 0:case 1:p=S;break;case 4:return P.label++,{value:S[1],done:!1};case 5:P.label++,h=S[1],S=[0];continue;case 7:S=P.ops.pop(),P.trys.pop();continue;default:if(p=P.trys,!(p=p.length>0&&p[p.length-1])&&(S[0]===6||S[0]===2)){P=0;continue}if(S[0]===3&&(!p||S[1]>p[0]&&S[1]<p[3])){P.label=S[1];break}if(S[0]===6&&P.label<p[1]){P.label=p[1],p=S;break}if(p&&P.label<p[2]){P.label=p[2],P.ops.push(S);break}p[2]&&P.ops.pop(),P.trys.pop();continue}S=g.call(c,P)}catch(E){S=[6,E],h=0}finally{v=p=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}};function u(c){return l.apply(this,arguments)}function l(){return l=a(function(c){var g,v,h,p,m,P;return d(this,function(_){switch(_.label){case 0:g=void 0,v=c[0],h=1,_.label=1;case 1:return h<c.length?(p=c[h],m=c[h+1],h+=2,(p==="optionalAccess"||p==="optionalCall")&&v==null?[2]:p==="access"||p==="optionalAccess"?(g=v,[4,m(v)]):[3,3]):[3,6];case 2:return v=_.sent(),[3,5];case 3:return p==="call"||p==="optionalCall"?[4,m(function(){for(var b=arguments.length,S=new Array(b),E=0;E<b;E++)S[E]=arguments[E];return(P=v).call.apply(P,[g].concat(i(S)))})]:[3,5];case 4:v=_.sent(),g=void 0,_.label=5;case 5:return[3,1];case 6:return[2,v]}})}),l.apply(this,arguments)}},873961:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_asyncOptionalChainDelete",{enumerable:!0,get:function(){return r}});var s=e(658822);function n(o,d,u,l,c,g,v){try{var h=o[g](v),p=h.value}catch(m){u(m);return}h.done?d(p):Promise.resolve(p).then(l,c)}function a(o){return function(){var d=this,u=arguments;return new Promise(function(l,c){var g=o.apply(d,u);function v(p){n(g,l,c,v,h,"next",p)}function h(p){n(g,l,c,v,h,"throw",p)}v(void 0)})}}var t=function(o,d){var u,l,c,g,v={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]};return g={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function h(m){return function(P){return p([m,P])}}function p(m){if(u)throw new TypeError("Generator is already executing.");for(;v;)try{if(u=1,l&&(c=m[0]&2?l.return:m[0]?l.throw||((c=l.return)&&c.call(l),0):l.next)&&!(c=c.call(l,m[1])).done)return c;switch(l=0,c&&(m=[m[0]&2,c.value]),m[0]){case 0:case 1:c=m;break;case 4:return v.label++,{value:m[1],done:!1};case 5:v.label++,l=m[1],m=[0];continue;case 7:m=v.ops.pop(),v.trys.pop();continue;default:if(c=v.trys,!(c=c.length>0&&c[c.length-1])&&(m[0]===6||m[0]===2)){v=0;continue}if(m[0]===3&&(!c||m[1]>c[0]&&m[1]<c[3])){v.label=m[1];break}if(m[0]===6&&v.label<c[1]){v.label=c[1],c=m;break}if(c&&v.label<c[2]){v.label=c[2],v.ops.push(m);break}c[2]&&v.ops.pop(),v.trys.pop();continue}m=d.call(o,v)}catch(P){m=[6,P],l=0}finally{u=c=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};function r(o){return i.apply(this,arguments)}function i(){return i=a(function(o){var d;return t(this,function(u){switch(u.label){case 0:return[4,(0,s._asyncOptionalChain)(o)];case 1:return d=u.sent(),[2,d==null?!0:d]}})}),i.apply(this,arguments)}},657775:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_createNamedExportFrom",{enumerable:!0,get:function(){return e}});function e(s,n,a){f[n]=s[a]}},787704:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_createStarExport",{enumerable:!0,get:function(){return e}});function e(s){Object.keys(s).filter(function(n){return n!=="default"&&n!=="__esModule"&&!(n in f)}).forEach(function(n){return f[n]=s[n]})}},342567:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_interopDefault",{enumerable:!0,get:function(){return e}});function e(s){return s.__esModule?s.default:s}},231989:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_interopNamespace",{enumerable:!0,get:function(){return t}});function e(r,i,o){return i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}function s(r){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{},d=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(d=d.concat(Object.getOwnPropertySymbols(o).filter(function(u){return Object.getOwnPropertyDescriptor(o,u).enumerable}))),d.forEach(function(u){e(r,u,o[u])})}return r}function n(r,i){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);i&&(d=d.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),o.push.apply(o,d)}return o}function a(r,i){return i=i!=null?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(i,o))}),r}function t(r){return r.__esModule?r:a(s({},r),{default:r})}},572834:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_interopNamespaceDefaultOnly",{enumerable:!0,get:function(){return e}});function e(s){return{__proto__:null,default:s}}},452518:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_interopRequireDefault",{enumerable:!0,get:function(){return e}});function e(s){return s.__esModule?s:{default:s}}},199978:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_interopRequireWildcard",{enumerable:!0,get:function(){return t}});function e(r,i,o){return i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}function s(r){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{},d=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(d=d.concat(Object.getOwnPropertySymbols(o).filter(function(u){return Object.getOwnPropertyDescriptor(o,u).enumerable}))),d.forEach(function(u){e(r,u,o[u])})}return r}function n(r,i){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);i&&(d=d.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),o.push.apply(o,d)}return o}function a(r,i){return i=i!=null?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(i,o))}),r}function t(r){return r.__esModule?r:a(s({},r),{default:r})}},850585:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_nullishCoalesce",{enumerable:!0,get:function(){return e}});function e(s,n){return s!=null?s:n()}},109340:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_optionalChain",{enumerable:!0,get:function(){return i}});function e(o,d){(d==null||d>o.length)&&(d=o.length);for(var u=0,l=new Array(d);u<d;u++)l[u]=o[u];return l}function s(o){if(Array.isArray(o))return e(o)}function n(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function t(o){return s(o)||n(o)||r(o)||a()}
67function r(o,d){if(!!o){if(typeof o=="string")return e(o,d);var u=Object.prototype.toString.call(o).slice(8,-1);if(u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set")return Array.from(u);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return e(o,d)}}function i(o){for(var d=void 0,u=o[0],l=1;l<o.length;){var c=o[l],g=o[l+1];if(l+=2,(c==="optionalAccess"||c==="optionalCall")&&u==null)return;if(c==="access"||c==="optionalAccess")d=u,u=g(u);else if(c==="call"||c==="optionalCall"){var v;u=g(function(){for(var h=arguments.length,p=new Array(h),m=0;m<h;m++)p[m]=arguments[m];return(v=u).call.apply(v,[d].concat(t(p)))}),d=void 0}}return u}},564310:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"_optionalChainDelete",{enumerable:!0,get:function(){return n}});var s=e(109340);function n(a){var t=(0,s._optionalChain)(a);return t==null?!0:t}},335090:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(p,m){for(var P in m)Object.defineProperty(p,P,{enumerable:!0,get:m[P]})}s(f,{_asyncNullishCoalesce:function(){return n._asyncNullishCoalesce},_asyncOptionalChain:function(){return a._asyncOptionalChain},_asyncOptionalChainDelete:function(){return t._asyncOptionalChainDelete},_createNamedExportFrom:function(){return r._createNamedExportFrom},_createStarExport:function(){return i._createStarExport},_interopDefault:function(){return o._interopDefault},_interopNamespace:function(){return d._interopNamespace},_interopNamespaceDefaultOnly:function(){return u._interopNamespaceDefaultOnly},_interopRequireDefault:function(){return l._interopRequireDefault},_interopRequireWildcard:function(){return c._interopRequireWildcard},_nullishCoalesce:function(){return g._nullishCoalesce},_optionalChain:function(){return v._optionalChain},_optionalChainDelete:function(){return h._optionalChainDelete}});var n=e(334541),a=e(658822),t=e(873961),r=e(657775),i=e(787704),o=e(342567),d=e(231989),u=e(572834),l=e(452518),c=e(199978),g=e(850585),v=e(109340),h=e(564310)},415293:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"createClientReportEnvelope",{enumerable:!0,get:function(){return a}});var s=e(926245),n=e(153838);function a(t,r,i){var o=[{type:"client_report"},{timestamp:i||(0,n.dateTimestampInSeconds)(),discarded_events:t}];return(0,s.createEnvelope)(r?{dsn:r}:{},[o])}},909255:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(m,P){for(var _ in P)Object.defineProperty(m,_,{enumerable:!0,get:P[_]})}s(f,{dsnFromString:function(){return g},dsnToString:function(){return c},makeDsn:function(){return p}});var n=e(336186);function a(m,P){(P==null||P>m.length)&&(P=m.length);for(var _=0,b=new Array(P);_<P;_++)b[_]=m[_];return b}function t(m){if(Array.isArray(m))return m}function r(m,P){var _=m==null?null:typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(_!=null){var b=[],S=!0,E=!1,A,T;try{for(_=_.call(m);!(S=(A=_.next()).done)&&(b.push(A.value),!(P&&b.length===P));S=!0);}catch(I){E=!0,T=I}finally{try{!S&&_.return!=null&&_.return()}finally{if(E)throw T}}return b}}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(m,P){return t(m)||r(m,P)||d(m,P)||i()}function d(m,P){if(!!m){if(typeof m=="string")return a(m,P);var _=Object.prototype.toString.call(m).slice(8,-1);if(_==="Object"&&m.constructor&&(_=m.constructor.name),_==="Map"||_==="Set")return Array.from(_);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return a(m,P)}}var u=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function l(m){return m==="http"||m==="https"}function c(m){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=m.host,b=m.path,S=m.pass,E=m.port,A=m.projectId,T=m.protocol,I=m.publicKey;return"".concat(T,"://").concat(I).concat(P&&S?":".concat(S):"")+"@".concat(_).concat(E?":".concat(E):"","/").concat(b&&"".concat(b,"/")).concat(A)}function g(m){var P=u.exec(m);if(!P)throw new n.SentryError("Invalid Sentry Dsn: ".concat(m));var _=o(P.slice(1),6),b=_[0],S=_[1],E=_[2],A=E===void 0?"":E,T=_[3],I=_[4],R=I===void 0?"":I,j=_[5],x="",L=j,H=L.split("/");if(H.length>1&&(x=H.slice(0,-1).join("/"),L=H.pop()),L){var G=L.match(/^\d+/);G&&(L=G[0])}return v({host:T,pass:A,path:x,projectId:L,port:R,protocol:b,publicKey:S})}function v(m){return{protocol:m.protocol,publicKey:m.publicKey||"",pass:m.pass||"",host:m.host,port:m.port||"",path:m.path||"",projectId:m.projectId}}function h(m){if(!!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)){var P=m.port,_=m.projectId,b=m.protocol,S=["protocol","publicKey","host","projectId"];if(S.forEach(function(E){if(!m[E])throw new n.SentryError("Invalid Sentry Dsn: ".concat(E," missing"))}),!_.match(/^\d+$/))throw new n.SentryError("Invalid Sentry Dsn: Invalid projectId ".concat(_));if(!l(b))throw new n.SentryError("Invalid Sentry Dsn: Invalid protocol ".concat(b));if(P&&isNaN(parseInt(P,10)))throw new n.SentryError("Invalid Sentry Dsn: Invalid port ".concat(P));return!0}}function p(m){var P=typeof m=="string"?g(m):v(m);return h(P),P}},36062:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"isBrowserBundle",{enumerable:!0,get:function(){return e}});function e(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}},926245:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(I,R){for(var j in R)Object.defineProperty(I,j,{enumerable:!0,get:R[j]})}s(f,{addItemToEnvelope:function(){return m},createAttachmentEnvelopeItem:function(){return E},createEnvelope:function(){return p},envelopeItemTypeToDataCategory:function(){return T},forEachEnvelopeItem:function(){return P},serializeEnvelope:function(){return b}});var n=e(947338),a=e(69889);function t(I,R){(R==null||R>I.length)&&(R=I.length);for(var j=0,x=new Array(R);j<R;j++)x[j]=I[j];return x}function r(I){if(Array.isArray(I))return I}function i(I){if(Array.isArray(I))return t(I)}function o(I,R){return R!=null&&typeof Symbol!="undefined"&&R[Symbol.hasInstance]?!!R[Symbol.hasInstance](I):I instanceof R}function d(I){if(typeof Symbol!="undefined"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function u(I,R){var j=I==null?null:typeof Symbol!="undefined"&&I[Symbol.iterator]||I["@@iterator"];if(j!=null){var x=[],L=!0,H=!1,G,X;try{for(j=j.call(I);!(L=(G=j.next()).done)&&(x.push(G.value),!(R&&x.length===R));L=!0);}catch(K){H=!0,X=K}finally{try{!L&&j.return!=null&&j.return()}finally{if(H)throw X}}return x}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(I,R){return r(I)||u(I,R)||h(I,R)||l()}function v(I){return i(I)||d(I)||h(I)||c()}function h(I,R){if(!!I){if(typeof I=="string")return t(I,R);var j=Object.prototype.toString.call(I).slice(8,-1);if(j==="Object"&&I.constructor&&(j=I.constructor.name),j==="Map"||j==="Set")return Array.from(j);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return t(I,R)}}function p(I){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return[I,R]}function m(I,R){var j=g(I,2),x=j[0],L=j[1];return[x,v(L).concat([R])]}function P(I,R){var j=I[1];j.forEach(function(x){var L=x[0].type;R(x,L)})}function _(I,R){var j=R||new TextEncoder;return j.encode(I)}function b(I,R){var j=function($){typeof G=="string"?G=typeof $=="string"?G+$:[_(G,R),$]:G.push(typeof $=="string"?_($,R):$)},x=g(I,2),L=x[0],H=x[1],G=JSON.stringify(L),X=!0,K=!1,J=void 0;try{for(var z=H[Symbol.iterator](),k;!(X=(k=z.next()).done);X=!0){var F=k.value,q=g(F,2),N=q[0],M=q[1];if(j("\n".concat(JSON.stringify(N),"\n")),typeof M=="string"||o(M,Uint8Array))j(M);else{var U=void 0;try{U=JSON.stringify(M)}catch(Q){U=JSON.stringify((0,n.normalize)(M))}j(U)}}}catch(Q){K=!0,J=Q}finally{try{!X&&z.return!=null&&z.return()}finally{if(K)throw J}}return typeof G=="string"?G:S(G)}function S(I){var R=I.reduce(function(z,k){return z+k.length},0),j=new Uint8Array(R),x=0,L=!0,H=!1,G=void 0;try{for(var X=I[Symbol.iterator](),K;!(L=(K=X.next()).done);L=!0){var J=K.value;j.set(J,x),x+=J.length}}catch(z){H=!0,G=z}finally{try{!L&&X.return!=null&&X.return()}finally{if(H)throw G}}return j}function E(I,R){var j=typeof I.data=="string"?_(I.data,R):I.data;return[(0,a.dropUndefinedKeys)({type:"attachment",length:j.length,filename:I.filename,content_type:I.contentType,attachment_type:I.attachmentType}),j]}var A={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function T(I){return A[I]}},336186:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"SentryError",{enumerable:!0,get:function(){return h}});function e(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function s(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(p){return!1}}function a(p,m,P){return n()?a=Reflect.construct:a=function(b,S,E){var A=[null];A.push.apply(A,S);var T=Function.bind.apply(b,A),I=new T;return E&&u(I,E.prototype),I},a.apply(null,arguments)}function t(p){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},t(p)}function r(p,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(m&&m.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),m&&u(p,m)}function i(p,m){return m!=null&&typeof Symbol!="undefined"&&m[Symbol.hasInstance]?!!m[Symbol.hasInstance](p):p instanceof m}function o(p){return Function.toString.call(p).indexOf("[native code]")!==-1}function d(p,m){return m&&(l(m)==="object"||typeof m=="function")?m:e(p)}function u(p,m){return u=Object.setPrototypeOf||function(_,b){return _.__proto__=b,_},u(p,m)}var l=function(p){return p&&typeof Symbol!="undefined"&&p.constructor===Symbol?"symbol":typeof p};function c(p){var m=typeof Map=="function"?new Map:void 0;return c=function(_){if(_===null||!o(_))return _;if(typeof _!="function")throw new TypeError("Super expression must either be null or a function");if(typeof m!="undefined"){if(m.has(_))return m.get(_);m.set(_,b)}function b(){return a(_,arguments,t(this).constructor)}return b.prototype=Object.create(_.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),u(b,_)},c(p)}function g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}function v(p){var m=g();return function(){var _=t(p),b;if(m){var S=t(this).constructor;b=Reflect.construct(_,arguments,S)}else b=_.apply(this,arguments);return d(this,b)}}var h=function(m){"use strict";r(_,m);var P=v(_);function _(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"warn";s(this,_);var E;return E=P.call(this,b),E.message=b,E.name=(i(this,_)?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(e(E),(i(this,_)?this.constructor:void 0).prototype),E.logLevel=S,E}return _}(c(Error))},442378:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(G,X){for(var K in X)Object.defineProperty(G,K,{enumerable:!0,get:X[K]})}s(f,{getDomElement:function(){return n.getDomElement},getLocationHref:function(){return n.getLocationHref},htmlTreeAsString:function(){return n.htmlTreeAsString},dsnFromString:function(){return a.dsnFromString},dsnToString:function(){return a.dsnToString},makeDsn:function(){return a.makeDsn},SentryError:function(){return t.SentryError},GLOBAL_OBJ:function(){return r.GLOBAL_OBJ},getGlobalObject:function(){return r.getGlobalObject},getGlobalSingleton:function(){return r.getGlobalSingleton},addInstrumentationHandler:function(){return i.addInstrumentationHandler},isDOMError:function(){return o.isDOMError},isDOMException:function(){return o.isDOMException},isElement:function(){return o.isElement},isError:function(){return o.isError},isErrorEvent:function(){return o.isErrorEvent},isEvent:function(){return o.isEvent},isInstanceOf:function(){return o.isInstanceOf},isNaN:function(){return o.isNaN},isPlainObject:function(){return o.isPlainObject},isPrimitive:function(){return o.isPrimitive},isRegExp:function(){return o.isRegExp},isString:function(){return o.isString},isSyntheticEvent:function(){return o.isSyntheticEvent},isThenable:function(){return o.isThenable},CONSOLE_LEVELS:function(){return d.CONSOLE_LEVELS},consoleSandbox:function(){return d.consoleSandbox},logger:function(){return d.logger},memoBuilder:function(){return u.memoBuilder},addContextToFrame:function(){return l.addContextToFrame},addExceptionMechanism:function(){return l.addExceptionMechanism},addExceptionTypeValue:function(){return l.addExceptionTypeValue},arrayify:function(){return l.arrayify},checkOrSetAlreadyCaught:function(){return l.checkOrSetAlreadyCaught},getEventDescription:function(){return l.getEventDescription},parseSemver:function(){return l.parseSemver},uuid4:function(){return l.uuid4},dynamicRequire:function(){return c.dynamicRequire},isNodeEnv:function(){return c.isNodeEnv},loadModule:function(){return c.loadModule},normalize:function(){return g.normalize},normalizeToSize:function(){return g.normalizeToSize}
67,walk:function(){return g.walk},addNonEnumerableProperty:function(){return v.addNonEnumerableProperty},convertToPlainObject:function(){return v.convertToPlainObject},dropUndefinedKeys:function(){return v.dropUndefinedKeys},extractExceptionKeysForMessage:function(){return v.extractExceptionKeysForMessage},fill:function(){return v.fill},getOriginalFunction:function(){return v.getOriginalFunction},markFunctionWrapped:function(){return v.markFunctionWrapped},objectify:function(){return v.objectify},urlEncode:function(){return v.urlEncode},basename:function(){return h.basename},dirname:function(){return h.dirname},isAbsolute:function(){return h.isAbsolute},join:function(){return h.join},normalizePath:function(){return h.normalizePath},relative:function(){return h.relative},resolve:function(){return h.resolve},makePromiseBuffer:function(){return p.makePromiseBuffer},addRequestDataToEvent:function(){return m.addRequestDataToEvent},addRequestDataToTransaction:function(){return m.addRequestDataToTransaction},extractPathForTransaction:function(){return m.extractPathForTransaction},extractRequestData:function(){return m.extractRequestData},severityFromString:function(){return P.severityFromString},severityLevelFromString:function(){return P.severityLevelFromString},validSeverityLevels:function(){return P.validSeverityLevels},createStackParser:function(){return _.createStackParser},getFunctionName:function(){return _.getFunctionName},nodeStackLineParser:function(){return _.nodeStackLineParser},stackParserFromStackParserOptions:function(){return _.stackParserFromStackParserOptions},stripSentryFramesAndReverse:function(){return _.stripSentryFramesAndReverse},escapeStringForRegex:function(){return b.escapeStringForRegex},isMatchingPattern:function(){return b.isMatchingPattern},safeJoin:function(){return b.safeJoin},snipLine:function(){return b.snipLine},stringMatchesSomePattern:function(){return b.stringMatchesSomePattern},truncate:function(){return b.truncate},isNativeFetch:function(){return S.isNativeFetch},supportsDOMError:function(){return S.supportsDOMError},supportsDOMException:function(){return S.supportsDOMException},supportsErrorEvent:function(){return S.supportsErrorEvent},supportsFetch:function(){return S.supportsFetch},supportsHistory:function(){return S.supportsHistory},supportsNativeFetch:function(){return S.supportsNativeFetch},supportsReferrerPolicy:function(){return S.supportsReferrerPolicy},supportsReportingObserver:function(){return S.supportsReportingObserver},SyncPromise:function(){return E.SyncPromise},rejectedSyncPromise:function(){return E.rejectedSyncPromise},resolvedSyncPromise:function(){return E.resolvedSyncPromise},_browserPerformanceTimeOriginMode:function(){return A._browserPerformanceTimeOriginMode},browserPerformanceTimeOrigin:function(){return A.browserPerformanceTimeOrigin},dateTimestampInSeconds:function(){return A.dateTimestampInSeconds},timestampInSeconds:function(){return A.timestampInSeconds},timestampWithMs:function(){return A.timestampWithMs},usingPerformanceAPI:function(){return A.usingPerformanceAPI},TRACEPARENT_REGEXP:function(){return T.TRACEPARENT_REGEXP},extractTraceparentData:function(){return T.extractTraceparentData},isBrowserBundle:function(){return I.isBrowserBundle},addItemToEnvelope:function(){return R.addItemToEnvelope},createAttachmentEnvelopeItem:function(){return R.createAttachmentEnvelopeItem},createEnvelope:function(){return R.createEnvelope},envelopeItemTypeToDataCategory:function(){return R.envelopeItemTypeToDataCategory},forEachEnvelopeItem:function(){return R.forEachEnvelopeItem},serializeEnvelope:function(){return R.serializeEnvelope},createClientReportEnvelope:function(){return j.createClientReportEnvelope},DEFAULT_RETRY_AFTER:function(){return x.DEFAULT_RETRY_AFTER},disabledUntil:function(){return x.disabledUntil},isRateLimited:function(){return x.isRateLimited},parseRetryAfterHeader:function(){return x.parseRetryAfterHeader},updateRateLimits:function(){return x.updateRateLimits},BAGGAGE_HEADER_NAME:function(){return L.BAGGAGE_HEADER_NAME},MAX_BAGGAGE_STRING_LENGTH:function(){return L.MAX_BAGGAGE_STRING_LENGTH},SENTRY_BAGGAGE_KEY_PREFIX:function(){return L.SENTRY_BAGGAGE_KEY_PREFIX},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return L.SENTRY_BAGGAGE_KEY_PREFIX_REGEX},baggageHeaderToDynamicSamplingContext:function(){return L.baggageHeaderToDynamicSamplingContext},dynamicSamplingContextToSentryBaggageHeader:function(){return L.dynamicSamplingContextToSentryBaggageHeader},getNumberOfUrlSegments:function(){return H.getNumberOfUrlSegments},parseUrl:function(){return H.parseUrl},stripUrlQueryAndFragment:function(){return H.stripUrlQueryAndFragment}});var n=e(812967),a=e(909255),t=e(336186),r=e(462463),i=e(826546),o=e(310837),d=e(563975),u=e(219660),l=e(854184),c=e(116094),g=e(947338),v=e(69889),h=e(878208),p=e(214705),m=e(775957),P=e(690627),_=e(839463),b=e(361846),S=e(374738),E=e(726845),A=e(153838),T=e(676145),I=e(36062),R=e(926245),j=e(415293),x=e(147446),L=e(754936),H=e(356800)},826546:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"addInstrumentationHandler",{enumerable:!0,get:function(){return p}});var s=e(310837),n=e(563975),a=e(69889),t=e(839463),r=e(374738),i=e(462463);function o(k,F,q){return F in k?Object.defineProperty(k,F,{value:q,enumerable:!0,configurable:!0,writable:!0}):k[F]=q,k}function d(k){for(var F=1;F<arguments.length;F++){var q=arguments[F]!=null?arguments[F]:{},N=Object.keys(q);typeof Object.getOwnPropertySymbols=="function"&&(N=N.concat(Object.getOwnPropertySymbols(q).filter(function(M){return Object.getOwnPropertyDescriptor(q,M).enumerable}))),N.forEach(function(M){o(k,M,q[M])})}return k}function u(k,F){var q=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);F&&(N=N.filter(function(M){return Object.getOwnPropertyDescriptor(k,M).enumerable})),q.push.apply(q,N)}return q}function l(k,F){return F=F!=null?F:{},Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(F)):u(Object(F)).forEach(function(q){Object.defineProperty(k,q,Object.getOwnPropertyDescriptor(F,q))}),k}var c=(0,i.getGlobalObject)(),g={},v={};function h(k){if(!v[k])switch(v[k]=!0,k){case"console":P();break;case"dom":G();break;case"xhr":E();break;case"fetch":_();break;case"history":T();break;case"error":K();break;case"unhandledrejection":z();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("unknown instrumentation type:",k);return}}function p(k,F){g[k]=g[k]||[],g[k].push(F),h(k)}function m(k,F){if(!(!k||!g[k])){var q=!0,N=!1,M=void 0;try{for(var U=(g[k]||[])[Symbol.iterator](),Q;!(q=(Q=U.next()).done);q=!0){var $=Q.value;try{$(F)}catch(ee){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.error("Error while triggering instrumentation handler.\nType: ".concat(k,"\nName: ").concat((0,t.getFunctionName)($),"\nError:"),ee)}}}catch(ee){N=!0,M=ee}finally{try{!q&&U.return!=null&&U.return()}finally{if(N)throw M}}}}function P(){"console"in c&&n.CONSOLE_LEVELS.forEach(function(k){k in c.console&&(0,a.fill)(c.console,k,function(F){return function(){for(var q=arguments.length,N=new Array(q),M=0;M<q;M++)N[M]=arguments[M];m("console",{args:N,level:k}),F&&F.apply(c.console,N)}})})}function _(){!(0,r.supportsNativeFetch)()||(0,a.fill)(c,"fetch",function(k){return function(){for(var F=arguments.length,q=new Array(F),N=0;N<F;N++)q[N]=arguments[N];var M={args:q,fetchData:{method:b(q),url:S(q)},startTimestamp:Date.now()};return m("fetch",d({},M)),k.apply(c,q).then(function(U){return m("fetch",l(d({},M),{endTimestamp:Date.now(),response:U})),U},function(U){throw m("fetch",l(d({},M),{endTimestamp:Date.now(),error:U})),U})}})}function b(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return"Request"in c&&(0,s.isInstanceOf)(k[0],Request)&&k[0].method?String(k[0].method).toUpperCase():k[1]&&k[1].method?String(k[1].method).toUpperCase():"GET"}function S(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return typeof k[0]=="string"?k[0]:"Request"in c&&(0,s.isInstanceOf)(k[0],Request)?k[0].url:String(k[0])}function E(){if("XMLHttpRequest"in c){var k=XMLHttpRequest.prototype;(0,a.fill)(k,"open",function(F){return function(){for(var q=arguments.length,N=new Array(q),M=0;M<q;M++)N[M]=arguments[M];var U=this,Q=N[1],$=U.__sentry_xhr__={method:(0,s.isString)(N[0])?N[0].toUpperCase():N[0],url:N[1]};(0,s.isString)(Q)&&$.method==="POST"&&Q.match(/sentry_key/)&&(U.__sentry_own_request__=!0);var ee=function(){if(U.readyState===4){try{$.status_code=U.status}catch(pe){}m("xhr",{args:N,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:U})}};return"onreadystatechange"in U&&typeof U.onreadystatechange=="function"?(0,a.fill)(U,"onreadystatechange",function(oe){return function(){for(var pe=arguments.length,me=new Array(pe),Se=0;Se<pe;Se++)me[Se]=arguments[Se];return ee(),oe.apply(U,me)}}):U.addEventListener("readystatechange",ee),F.apply(U,N)}}),(0,a.fill)(k,"send",function(F){return function(){for(var q=arguments.length,N=new Array(q),M=0;M<q;M++)N[M]=arguments[M];return this.__sentry_xhr__&&N[0]!==void 0&&(this.__sentry_xhr__.body=N[0]),m("xhr",{args:N,startTimestamp:Date.now(),xhr:this}),F.apply(this,N)}})}}var A;function T(){var k=function(N){return function(){for(var M=arguments.length,U=new Array(M),Q=0;Q<M;Q++)U[Q]=arguments[Q];var $=U.length>2?U[2]:void 0;if($){var ee=A,oe=String($);A=oe,m("history",{from:ee,to:oe})}return N.apply(this,U)}};if(!!(0,r.supportsHistory)()){var F=c.onpopstate;c.onpopstate=function(){for(var q=arguments.length,N=new Array(q),M=0;M<q;M++)N[M]=arguments[M];var U=c.location.href,Q=A;if(A=U,m("history",{from:Q,to:U}
67),F)try{return F.apply(this,N)}catch($){}},(0,a.fill)(c.history,"pushState",k),(0,a.fill)(c.history,"replaceState",k)}}var I=1e3,R,j;function x(k,F){if(!k||k.type!==F.type)return!0;try{if(k.target!==F.target)return!0}catch(q){}return!1}function L(k){if(k.type!=="keypress")return!1;try{var F=k.target;if(!F||!F.tagName)return!0;if(F.tagName==="INPUT"||F.tagName==="TEXTAREA"||F.isContentEditable)return!1}catch(q){}return!0}function H(k){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(q){if(!(!q||j===q)&&!L(q)){var N=q.type==="keypress"?"input":q.type;R===void 0?(k({event:q,name:N,global:F}),j=q):x(j,q)&&(k({event:q,name:N,global:F}),j=q),clearTimeout(R),R=c.setTimeout(function(){R=void 0},I)}}}function G(){if("document"in c){var k=m.bind(null,"dom"),F=H(k,!0);c.document.addEventListener("click",F,!1),c.document.addEventListener("keypress",F,!1),["EventTarget","Node"].forEach(function(q){var N=c[q]&&c[q].prototype;!N||!N.hasOwnProperty||!N.hasOwnProperty("addEventListener")||((0,a.fill)(N,"addEventListener",function(M){return function(U,Q,$){if(U==="click"||U=="keypress")try{var ee=this,oe=ee.__sentry_instrumentation_handlers__=ee.__sentry_instrumentation_handlers__||{},pe=oe[U]=oe[U]||{refCount:0};if(!pe.handler){var me=H(k);pe.handler=me,M.call(this,U,me,$)}pe.refCount++}catch(Se){}return M.call(this,U,Q,$)}}),(0,a.fill)(N,"removeEventListener",function(M){return function(U,Q,$){if(U==="click"||U=="keypress")try{var ee=this,oe=ee.__sentry_instrumentation_handlers__||{},pe=oe[U];pe&&(pe.refCount--,pe.refCount<=0&&(M.call(this,U,pe.handler,$),pe.handler=void 0,delete oe[U]),Object.keys(oe).length===0&&delete ee.__sentry_instrumentation_handlers__)}catch(me){}return M.call(this,U,Q,$)}}))})}}var X=null;function K(){X=c.onerror,c.onerror=function(k,F,q,N,M){return m("error",{column:N,error:M,line:q,msg:k,url:F}),X?X.apply(this,arguments):!1}}var J=null;function z(){J=c.onunhandledrejection,c.onunhandledrejection=function(k){return m("unhandledrejection",k),J?J.apply(this,arguments):!0}}},310837:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(_,b){for(var S in b)Object.defineProperty(_,S,{enumerable:!0,get:b[S]})}e(f,{isDOMError:function(){return i},isDOMException:function(){return o},isElement:function(){return g},isError:function(){return a},isErrorEvent:function(){return r},isEvent:function(){return c},isInstanceOf:function(){return P},isNaN:function(){return m},isPlainObject:function(){return l},isPrimitive:function(){return u},isRegExp:function(){return v},isString:function(){return d},isSyntheticEvent:function(){return p},isThenable:function(){return h}});function s(_,b){return b!=null&&typeof Symbol!="undefined"&&b[Symbol.hasInstance]?!!b[Symbol.hasInstance](_):_ instanceof b}var n=Object.prototype.toString;function a(_){switch(n.call(_)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return P(_,Error)}}function t(_,b){return n.call(_)==="[object ".concat(b,"]")}function r(_){return t(_,"ErrorEvent")}function i(_){return t(_,"DOMError")}function o(_){return t(_,"DOMException")}function d(_){return t(_,"String")}function u(_){return _===null||typeof _!="object"&&typeof _!="function"}function l(_){return t(_,"Object")}function c(_){return typeof Event!="undefined"&&P(_,Event)}function g(_){return typeof Element!="undefined"&&P(_,Element)}function v(_){return t(_,"RegExp")}function h(_){return Boolean(_&&_.then&&typeof _.then=="function")}function p(_){return l(_)&&"nativeEvent"in _&&"preventDefault"in _&&"stopPropagation"in _}function m(_){return typeof _=="number"&&_!==_}function P(_,b){try{return s(_,b)}catch(S){return!1}}},563975:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}s(f,{CONSOLE_LEVELS:function(){return l},consoleSandbox:function(){return c},logger:function(){return v}});var n=e(462463);function a(h,p){(p==null||p>h.length)&&(p=h.length);for(var m=0,P=new Array(p);m<p;m++)P[m]=h[m];return P}function t(h){if(Array.isArray(h))return a(h)}function r(h){if(typeof Symbol!="undefined"&&h[Symbol.iterator]!=null||h["@@iterator"]!=null)return Array.from(h)}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(h){return t(h)||r(h)||d(h)||i()}function d(h,p){if(!!h){if(typeof h=="string")return a(h,p);var m=Object.prototype.toString.call(h).slice(8,-1);
67if(m==="Object"&&h.constructor&&(m=h.constructor.name),m==="Map"||m==="Set")return Array.from(m);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return a(h,p)}}var u="Sentry Logger ",l=["debug","info","warn","error","log","assert","trace"];function c(h){if(!("console"in n.GLOBAL_OBJ))return h();var p=n.GLOBAL_OBJ.console,m={};l.forEach(function(P){var _=p[P]&&p[P].__sentry_original__;P in p&&_&&(m[P]=p[P],p[P]=_)});try{return h()}finally{Object.keys(m).forEach(function(P){p[P]=m[P]})}}function g(){var h=!1,p={enable:function(){h=!0},disable:function(){h=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?l.forEach(function(m){p[m]=function(){for(var P=arguments.length,_=new Array(P),b=0;b<P;b++)_[b]=arguments[b];h&&c(function(){var S;(S=n.GLOBAL_OBJ.console)[m].apply(S,["".concat(u,"[").concat(m,"]:")].concat(o(_)))})}}):l.forEach(function(m){p[m]=function(){}}),p}var v;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?v=(0,n.getGlobalSingleton)("logger",g):v=g()},219660:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"memoBuilder",{enumerable:!0,get:function(){return e}});function e(){var s=function(i){if(a)return t.has(i)?!0:(t.add(i),!1);for(var o=0;o<t.length;o++){var d=t[o];if(d===i)return!0}return t.push(i),!1},n=function(i){if(a)t.delete(i);else for(var o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}},a=typeof WeakSet=="function",t=a?new WeakSet:[];return[s,n]}},854184:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(P,_){for(var b in _)Object.defineProperty(P,b,{enumerable:!0,get:_[b]})}s(f,{addContextToFrame:function(){return h},addExceptionMechanism:function(){return c},addExceptionTypeValue:function(){return l},arrayify:function(){return m},checkOrSetAlreadyCaught:function(){return p},getEventDescription:function(){return u},parseSemver:function(){return v},uuid4:function(){return o}});var n=e(69889),a=e(361846),t=e(462463);function r(P,_,b){return _ in P?Object.defineProperty(P,_,{value:b,enumerable:!0,configurable:!0,writable:!0}):P[_]=b,P}function i(P){for(var _=1;_<arguments.length;_++){var b=arguments[_]!=null?arguments[_]:{},S=Object.keys(b);typeof Object.getOwnPropertySymbols=="function"&&(S=S.concat(Object.getOwnPropertySymbols(b).filter(function(E){return Object.getOwnPropertyDescriptor(b,E).enumerable}))),S.forEach(function(E){r(P,E,b[E])})}return P}function o(){var P=t.GLOBAL_OBJ,_=P.crypto||P.msCrypto;if(_&&_.randomUUID)return _.randomUUID().replace(/-/g,"");var b=_&&_.getRandomValues?function(){return _.getRandomValues(new Uint8Array(1))[0]}:function(){return Math.random()*16};return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(S){return(S^(b()&15)>>S/4).toString(16)})}function d(P){return P.exception&&P.exception.values?P.exception.values[0]:void 0}function u(P){var _=P.message,b=P.event_id;if(_)return _;var S=d(P);return S?S.type&&S.value?"".concat(S.type,": ").concat(S.value):S.type||S.value||b||"<unknown>":b||"<unknown>"}function l(P,_,b){var S=P.exception=P.exception||{},E=S.values=S.values||[],A=E[0]=E[0]||{};A.value||(A.value=_||""),A.type||(A.type=b||"Error")}function c(P,_){var b=d(P);if(!!b){var S={type:"generic",handled:!0},E=b.mechanism;if(b.mechanism=i({},S,E,_),_&&"data"in _){var A=i({},E&&E.data,_.data);b.mechanism.data=A}}}var g=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function v(P){var _=P.match(g)||[],b=parseInt(_[1],10),S=parseInt(_[2],10),E=parseInt(_[3],10);return{buildmetadata:_[5],major:isNaN(b)?void 0:b,minor:isNaN(S)?void 0:S,patch:isNaN(E)?void 0:E,prerelease:_[4]}}function h(P,_){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5,S=_.lineno||0,E=P.length,A=Math.max(Math.min(E,S-1),0);_.pre_context=P.slice(Math.max(0,A-b),A).map(function(T){return(0,a.snipLine)(T,0)}),_.context_line=(0,a.snipLine)(P[Math.min(E-1,A)],_.colno||0),_.post_context=P.slice(Math.min(A+1,E),A+1+b).map(function(T){return(0,a.snipLine)(T,0)})}function p(P){if(P&&P.__sentry_captured__)return!0;try{(0,n.addNonEnumerableProperty)(P,"__sentry_captured__",!0)}catch(_){}return!1}function m(P){return Array.isArray(P)?P:[P]}},116094:function(y,f,e){"use strict";y=e.nmd(y);var s=e(760636);
67Object.defineProperty(f,"__esModule",{value:!0});function n(o,d){for(var u in d)Object.defineProperty(o,u,{enumerable:!0,get:d[u]})}n(f,{dynamicRequire:function(){return r},isNodeEnv:function(){return t},loadModule:function(){return i}});var a=e(36062);function t(){return!(0,a.isBrowserBundle)()&&Object.prototype.toString.call(typeof s!="undefined"?s:0)==="[object process]"}function r(o,d){return o.require(d)}function i(o){var d;try{d=r(y,o)}catch(l){}try{var u=r(y,"process").cwd;d=r(y,"".concat(u(),"/node_modules/").concat(o))}catch(l){}return d}},947338:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(b,S){for(var E in S)Object.defineProperty(b,E,{enumerable:!0,get:S[E]})}s(f,{normalize:function(){return v},normalizeToSize:function(){return h},walk:function(){return p}});var n=e(310837),a=e(219660),t=e(69889),r=e(839463);function i(b,S){(S==null||S>b.length)&&(S=b.length);for(var E=0,A=new Array(S);E<S;E++)A[E]=b[E];return A}function o(b){if(Array.isArray(b))return b}function d(b,S){var E=b==null?null:typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"];if(E!=null){var A=[],T=!0,I=!1,R,j;try{for(E=E.call(b);!(T=(R=E.next()).done)&&(A.push(R.value),!(S&&A.length===S));T=!0);}catch(x){I=!0,j=x}finally{try{!T&&E.return!=null&&E.return()}finally{if(I)throw j}}return A}}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(b,S){return o(b)||d(b,S)||g(b,S)||u()}var c=function(b){return b&&typeof Symbol!="undefined"&&b.constructor===Symbol?"symbol":typeof b};function g(b,S){if(!!b){if(typeof b=="string")return i(b,S);var E=Object.prototype.toString.call(b).slice(8,-1);if(E==="Object"&&b.constructor&&(E=b.constructor.name),E==="Map"||E==="Set")return Array.from(E);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return i(b,S)}}function v(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1/0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0;try{return p("",b,S,E)}catch(A){return{ERROR:"**non-serializable** (".concat(A,")")}}}function h(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:100*1024,A=v(b,S);return _(A)>E?h(b,S-1,E):A}function p(b,S){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1/0,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:(0,a.memoBuilder)(),I=l(T,2),R=I[0],j=I[1];if(S===null||["number","boolean","string"].includes(typeof S=="undefined"?"undefined":c(S))&&!(0,n.isNaN)(S))return S;var x=m(b,S);if(!x.startsWith("[object "))return x;if(S.__sentry_skip_normalization__)return S;if(E===0)return x.replace("object ","");if(R(S))return"[Circular ~]";var L=S;if(L&&typeof L.toJSON=="function")try{var H=L.toJSON();return p("",H,E-1,A,T)}catch(k){}var G=Array.isArray(S)?[]:{},X=0,K=(0,t.convertToPlainObject)(S);for(var J in K)if(!!Object.prototype.hasOwnProperty.call(K,J)){if(X>=A){G[J]="[MaxProperties ~]";break}var z=K[J];G[J]=p(J,z,E-1,A,T),X++}return j(S),G}function m(b,S){try{return b==="domain"&&S&&typeof S=="object"&&S._events?"[Domain]":b==="domainEmitter"?"[DomainEmitter]":typeof e.g!="undefined"&&S===e.g?"[Global]":typeof window!="undefined"&&S===window?"[Window]":typeof document!="undefined"&&S===document?"[Document]":(0,n.isSyntheticEvent)(S)?"[SyntheticEvent]":typeof S=="number"&&S!==S?"[NaN]":S===void 0?"[undefined]":typeof S=="function"?"[Function: ".concat((0,r.getFunctionName)(S),"]"):(typeof S=="undefined"?"undefined":c(S))==="symbol"?"[".concat(String(S),"]"):(typeof S=="undefined"?"undefined":c(S))==="bigint"?"[BigInt: ".concat(String(S),"]"):"[object ".concat(Object.getPrototypeOf(S).constructor.name,"]")}catch(E){return"**non-serializable** (".concat(E,")")}}function P(b){return~-encodeURI(b).split(/%..|./).length}function _(b){return P(JSON.stringify(b))}},69889:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(S,E){for(var A in E)Object.defineProperty(S,A,{enumerable:!0,get:E[A]})}s(f,{addNonEnumerableProperty:function(){return u},convertToPlainObject:function(){return v},dropUndefinedKeys:function(){return P},extractExceptionKeysForMessage:function(){return m},fill:function(){return d},getOriginalFunction:function(){return c},markFunctionWrapped:function(){return l},objectify:function(){return b},urlEncode:function(){return g}});var n=e(812967),a=e(310837),t=e(361846);function r(S,E,A){return E in S?Object.defineProperty(S,E,{value:A,enumerable:!0,configurable:!0,writable:!0}):S[E]=A,S}function i(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{},T=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(A).filter(function(I){return Object.getOwnPropertyDescriptor(A,I).enumerable}))),T.forEach(function(I){r(S,I,A[I])})}return S}var o=function(S){return S&&typeof Symbol!="undefined"&&S.constructor===Symbol?"symbol":typeof S};function d(S,E,A){if(E in S){var T=S[E],I=A(T);if(typeof I=="function")try{l(I,T)}catch(R){}S[E]=I}}function u(S,E,A){Object.defineProperty(S,E,{value:A,writable:!0,configurable:!0})}function l(S,E){var A=E.prototype||{};S.prototype=E.prototype=A,u(S,"__sentry_original__",E)}function c(S){return S.__sentry_original__}function g(S){return Object.keys(S).map(function(E){return"".concat(encodeURIComponent(E),"=").concat(encodeURIComponent(S[E]))}).join("&")}function v(S){if((0,a.isError)(S))return i({message:S.message,name:S.name,stack:S.stack},p(S));if((0,a.isEvent)(S)){var E=i({type:S.type,target:h(S.target),currentTarget:h(S.currentTarget)},p(S));return typeof CustomEvent!="undefined"&&(0,a.isInstanceOf)(S,CustomEvent)&&(E.detail=S.detail),E}else return S}function h(S){try{return(0,a.isElement)(S)?(0,n.htmlTreeAsString)(S):Object.prototype.toString.call(S)}catch(E){return"<unknown>"}}function p(S){if(typeof S=="object"&&S!==null){var E={};for(var A in S)Object.prototype.hasOwnProperty.call(S,A)&&(E[A]=S[A]);return E}else return{}}function m(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:40,A=Object.keys(v(S));if(A.sort(),!A.length)return"[object has no keys]";if(A[0].length>=E)return(0,t.truncate)(A[0],E);for(var T=A.length;T>0;T--){var I=A.slice(0,T).join(", ");if(!(I.length>E))return T===A.length?I:(0,t.truncate)(I,E)}return""}function P(S){var E=new Map;return _(S,E)}function _(S,E){if((0,a.isPlainObject)(S)){var A=E.get(S);if(A!==void 0)return A;var T={};E.set(S,T);var I=!0,R=!1,j=void 0;try{for(var x=Object.keys(S)[Symbol.iterator](),L;!(I=(L=x.next()).done);I=!0){var H=L.value;typeof S[H]!="undefined"&&(T[H]=_(S[H],E))}}catch(K){R=!0,j=K}finally{try{!I&&x.return!=null&&x.return()}finally{if(R)throw j}}return T}if(Array.isArray(S)){var G=E.get(S);if(G!==void 0)return G;var X=[];return E.set(S,X),S.forEach(function(K){X.push(_(K,E))}),X}return S}function b(S){var E;switch(!0){case S==null:E=new String(S);break;case((typeof S=="undefined"?"undefined":o(S))==="symbol"||(typeof S=="undefined"?"undefined":o(S))==="bigint"):E=Object(S);break;case(0,a.isPrimitive)(S):E=new S.constructor(S);break;default:E=S;break}return E}},878208:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(g,v){for(var h in v)Object.defineProperty(g,h,{enumerable:!0,get:v[h]})}e(f,{basename:function(){return c},dirname:function(){return l},isAbsolute:function(){return d},join:function(){return u},normalizePath:function(){return o},relative:function(){return i},resolve:function(){return t}});function s(g,v){for(var h=0,p=g.length-1;p>=0;p--){var m=g[p];m==="."?g.splice(p,1):m===".."?(g.splice(p,1),h++):h&&(g.splice(p,1),h--)}if(v)for(;h--;h)g.unshift("..");return g}var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function a(g){var v=n.exec(g);return v?v.slice(1):[]}function t(){for(var g=arguments.length,v=new Array(g),h=0;h<g;h++)v[h]=arguments[h];for(var p="",m=!1,P=v.length-1;P>=-1&&!m;P--){var _=P>=0?v[P]:"/";!_||(p="".concat(_,"/").concat(p),m=_.charAt(0)==="/")}return p=s(p.split("/").filter(function(b){return!!b}),!m).join("/"),(m?"/":"")+p||"."}function r(g){for(var v=0;v<g.length&&g[v]==="";v++);for(var h=g.length-1;h>=0&&g[h]==="";h--);return v>h?[]:g.slice(v,h-v+1)}function i(g,v){g=t(g).substr(1),v=t(v).substr(1);for(var h=r(g.split("/")),p=r(v.split("/")),m=Math.min(h.length,p.length),P=m,_=0;_<m;_++)if(h[_]!==p[_]){P=_;break}for(var b=[],S=P;S<h.length;S++)b.push("..");return b=b.concat(p.slice(P)),b.join("/")}function o(g){var v=d(g),h=g.substr(-1)==="/",p=s(g.split("/").filter(function(m){return!!m}),!v).join("/");return!p&&!v&&(p="."),p&&h&&(p+="/"),(v?"/":"")+p}function d(g){return g.charAt(0)==="/"}function u(){for(var g=arguments.length,v=new Array(g),h=0;h<g;h++)v[h]=arguments[h];return o(v.join("/"))}function l(g){var v=a(g),h=v[0],p=v[1];return!h&&!p?".":(p&&(p=p.substr(0,p.length-1)),h+p)}function c(g,v){var h=a(g)[2];return v&&h.substr(v.length*-1)===v&&(h=h.substr(0,h.length-v.length)),h}},214705:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"makePromiseBuffer",{enumerable:!0,get:function(){return a}});var s=e(336186),n=e(726845);function a(t){var r=function(){return t===void 0||u.length<t},i=function(c){return u.splice(u.indexOf(c),1)[0]},o=function(c){if(!r())return(0,n.rejectedSyncPromise)(new s.SentryError("Not adding Promise because buffer limit was reached."));var g=c();return u.indexOf(g)===-1&&u.push(g),g.then(function(){return i(g)}).then(null,function(){return i(g).then(null,function(){})}),g},d=function(c){return new n.SyncPromise(function(g,v){var h=u.length;if(!h)return g(!0);var p=setTimeout(function(){c&&c>0&&g(!1)},c);u.forEach(function(m){(0,n.resolvedSyncPromise)(m).then(function(){--h||(clearTimeout(p),g(!0))},v)})})},u=[];return{$:u,add:o,drain:d}}},147446:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}e(f,{DEFAULT_RETRY_AFTER:function(){return u},disabledUntil:function(){return c},isRateLimited:function(){return g},parseRetryAfterHeader:function(){return l},updateRateLimits:function(){return v}});function s(h,p){(p==null||p>h.length)&&(p=h.length);for(var m=0,P=new Array(p);m<p;m++)P[m]=h[m];return P}function n(h){if(Array.isArray(h))return h}function a(h,p,m){return p in h?Object.defineProperty(h,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):h[p]=m,h}function t(h,p){var m=h==null?null:typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(m!=null){var P=[],_=!0,b=!1,S,E;try{for(m=m.call(h);!(_=(S=m.next()).done)&&(P.push(S.value),!(p&&P.length===p));_=!0);}catch(A){b=!0,E=A}finally{try{!_&&m.return!=null&&m.return()}finally{if(b)throw E}}return P}}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(h){for(var p=1;p<arguments.length;p++){var m=arguments[p]!=null?arguments[p]:{},P=Object.keys(m);typeof Object.getOwnPropertySymbols=="function"&&(P=P.concat(Object.getOwnPropertySymbols(m).filter(function(_){return Object.getOwnPropertyDescriptor(m,_).enumerable}))),P.forEach(function(_){a(h,_,m[_])})}return h}function o(h,p){return n(h)||t(h,p)||d(h,p)||r()}function d(h,p){if(!!h){if(typeof h=="string")return s(h,p);var m=Object.prototype.toString.call(h).slice(8,-1);if(m==="Object"&&h.constructor&&(m=h.constructor.name),m==="Map"||m==="Set")return Array.from(m);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return s(h,p)}}var u=60*1e3;function l(h){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Date.now(),m=parseInt("".concat(h),10);if(!isNaN(m))return m*1e3;var P=Date.parse("".concat(h));return isNaN(P)?u:P-p}function c(h,p){return h[p]||h.all||0}function g(h,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Date.now();return c(h,p)>m}function v(h,p){var m=p.statusCode,P=p.headers,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Date.now(),b=i({},h),S=P&&P["x-sentry-rate-limits"],E=P&&P["retry-after"];if(S){var A=!0,T=!1,I=void 0;try{for(var R=S.trim().split(",")[Symbol.iterator](),j;!(A=(j=R.next()).done);A=!0){var x=j.value,L=o(x.split(":",2),2),H=L[0],G=L[1],X=parseInt(H,10),K=(isNaN(X)?60:X)*1e3;if(!G)b.all=_+K;else{var J=!0,z=!1,k=void 0;try{for(var F=G.split(";")[Symbol.iterator](),q;!(J=(q=F.next()).done);J=!0){var N=q.value;b[N]=_+K}}catch(M){z=!0,k=M}finally{try{!J&&F.return!=null&&F.return()}finally{if(z)throw k}}}}}catch(M){T=!0,I=M}finally{try{!A&&R.return!=null&&R.return()}finally{if(T)throw I}}}else E?b.all=_+l(E,_):m===429&&(b.all=_+60*1e3);return b}},775957:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(x,L){for(var H in L)Object.defineProperty(x,H,{enumerable:!0,get:L[H]})}s(f,{addRequestDataToEvent:function(){return R},addRequestDataToTransaction:function(){return S},extractPathForTransaction:function(){return E},extractRequestData:function(){return I}});var n=e(335090),a=e(310837),t=e(947338),r=e(356800);function i(x,L){(L==null||L>x.length)&&(L=x.length);for(var H=0,G=new Array(L);H<L;H++)G[H]=x[H];return G}function o(x){if(Array.isArray(x))return i(x)}function d(x,L,H){return L in x?Object.defineProperty(x,L,{value:H,enumerable:!0,configurable:!0,writable:!0}):x[L]=H,x}function u(x){if(typeof Symbol!="undefined"&&x[Symbol.iterator]!=null||x["@@iterator"]!=null)return Array.from(x)}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(x){for(var L=1;L<arguments.length;L++){var H=arguments[L]!=null?arguments[L]:{},G=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(G=G.concat(Object.getOwnPropertySymbols(H).filter(function(X){return Object.getOwnPropertyDescriptor(H,X).enumerable}))),G.forEach(function(X){d(x,X,H[X])})}return x}function g(x,L){var H=Object.keys(x);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(x);L&&(G=G.filter(function(X){return Object.getOwnPropertyDescriptor(x,X).enumerable})),H.push.apply(H,G)}return H}function v(x,L){return L=L!=null?L:{},Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(L)):g(Object(L)).forEac
67h(function(H){Object.defineProperty(x,H,Object.getOwnPropertyDescriptor(L,H))}),x}function h(x){return o(x)||u(x)||m(x)||l()}var p=function(x){return x&&typeof Symbol!="undefined"&&x.constructor===Symbol?"symbol":typeof x};function m(x,L){if(!!x){if(typeof x=="string")return i(x,L);var H=Object.prototype.toString.call(x).slice(8,-1);if(H==="Object"&&x.constructor&&(H=x.constructor.name),H==="Map"||H==="Set")return Array.from(H);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return i(x,L)}}var P={ip:!1,request:!0,transaction:!0,user:!0},_=["cookies","data","headers","method","query_string","url"],b=["id","username","email"];function S(x,L,H){if(!!x){if(!x.metadata.source||x.metadata.source==="url"){var G;(G=x).setName.apply(G,h(E(L,{path:!0,method:!0})))}x.setData("url",L.originalUrl||L.url),L.baseUrl&&x.setData("baseUrl",L.baseUrl),x.setData("query",j(L,H))}}function E(x){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=x.method&&x.method.toUpperCase(),G="",X="url";L.customRoute||x.route?(G=L.customRoute||"".concat(x.baseUrl||"").concat(x.route&&x.route.path),X="route"):(x.originalUrl||x.url)&&(G=(0,r.stripUrlQueryAndFragment)(x.originalUrl||x.url||""));var K="";return L.method&&H&&(K+=H),L.method&&L.path&&(K+=" "),L.path&&G&&(K+=G),[K,X]}function A(x,L){switch(L){case"path":return E(x,{path:!0})[0];case"handler":return x.route&&x.route.stack&&x.route.stack[0]&&x.route.stack[0].name||"<anonymous>";case"methodPath":default:return E(x,{path:!0,method:!0})[0]}}function T(x,L){var H={},G=Array.isArray(L)?L:b;return G.forEach(function(X){x&&X in x&&(H[X]=x[X])}),H}function I(x,L){var H=L||{},G=H.include,X=G===void 0?_:G,K=H.deps,J={},z=x.headers||{},k=x.method,F=x.hostname||x.host||z.host||"<no host>",q=x.protocol==="https"||x.socket&&x.socket.encrypted?"https":"http",N=x.originalUrl||x.url||"",M="".concat(q,"://").concat(F).concat(N);return X.forEach(function(U){switch(U){case"headers":{J.headers=z;break}case"method":{J.method=k;break}case"url":{J.url=M;break}case"cookies":{J.cookies=x.cookies||z.cookie&&K&&K.cookie&&K.cookie.parse(z.cookie)||{};break}case"query_string":{J.query_string=j(x,K);break}case"data":{if(k==="GET"||k==="HEAD")break;x.body!==void 0&&(J.data=(0,a.isString)(x.body)?x.body:JSON.stringify((0,t.normalize)(x.body)));break}default:({}).hasOwnProperty.call(x,U)&&(J[U]=x[U])}}),J}function R(x,L,H){var G=c({},P,(0,n._optionalChain)([H,"optionalAccess",function(z){return z.include}]));if(G.request){var X=Array.isArray(G.request)?I(L,{include:G.request,deps:(0,n._optionalChain)([H,"optionalAccess",function(z){return z.deps}])}):I(L,{deps:(0,n._optionalChain)([H,"optionalAccess",function(z){return z.deps}])});x.request=c({},x.request,X)}if(G.user){var K=L.user&&(0,a.isPlainObject)(L.user)?T(L.user,G.user):{};Object.keys(K).length&&(x.user=c({},x.user,K))}if(G.ip){var J=L.ip||L.socket&&L.socket.remoteAddress;J&&(x.user=v(c({},x.user),{ip_address:J}))}return G.transaction&&!x.transaction&&(x.transaction=A(L,G.transaction)),x}function j(x,L){var H=x.originalUrl||x.url||"";if(!!H)return H.startsWith("/")&&(H="http://dogs.are.great".concat(H)),x.query||(typeof URL=="undefined"?"undefined":p(URL))!==void 0&&new URL(H).search.replace("?","")||L&&L.url&&L.url.parse(H).query||void 0}},690627:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(f,{severityFromString:function(){return n},severityLevelFromString:function(){return a},validSeverityLevels:function(){return s}});var s=["fatal","error","warning","log","info","debug"];function n(t){return a(t)}function a(t){return t==="warn"?"warning":s.includes(t)?t:"log"}},839463:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(E,A){for(var T in A)Object.defineProperty(E,T,{enumerable:!0,get:A[T]})}s(f,{createStackParser:function(){return h},getFunctionName:function(){return _},nodeStackLineParser:function(){return S},stackParserFromStackParserOptions:function(){return p},stripSentryFramesAndReverse:function(){return m}});var n=e(335090);function a(E,A){(A==null||A>E.length)&&(A=E.length);for(var T=0,I=new Array(A);T<A;T++)I[T]=E[T];return I}function t(E){if(Array.isArray(E))return a(E)}function r(E,A,T){return A in E?Object.defineProperty(E,A,{value:T,enumerable:!0,configurable:!0,writable:!0}):E[A]=T,E}function i(E){if(typeof Symbol!="undefined"&&E[Symbol.iterator]!=null||E["@@iterator"]!=null)return Array.from(E)}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(E){for(var A=1;A<arguments.length;A++){var T=arguments[A]!=null?arguments[A]:{},I=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(I=I.concat(Object.getOwnPropertySymbols(T).filter(function(R){return Object.getOwnPropertyDescriptor(T,R).enumerable}))),I.forEach(function(R){r(E,R,T[R])})}return E}function u(E,A){var T=Object.keys(E);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(E);A&&(I=I.filter(function(R){return Object.getOwnPropertyDescriptor(E,R).enumerable})),T.push.apply(T,I)}return T}function l(E,A){return A=A!=null?A:{},Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(A)):u(Object(A)).forEac
67h(function(T){Object.defineProperty(E,T,Object.getOwnPropertyDescriptor(A,T))}),E}function c(E){return t(E)||i(E)||g(E)||o()}function g(E,A){if(!!E){if(typeof E=="string")return a(E,A);var T=Object.prototype.toString.call(E).slice(8,-1);if(T==="Object"&&E.constructor&&(T=E.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return a(E,A)}}var v=50;function h(){for(var E=arguments.length,A=new Array(E),T=0;T<E;T++)A[T]=arguments[T];var I=A.sort(function(R,j){return R[0]-j[0]}).map(function(R){return R[1]});return function(R){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,x=[],L=!0,H=!1,G=void 0;try{for(var X=R.split("\n").slice(j)[Symbol.iterator](),K;!(L=(K=X.next()).done);L=!0){var J=K.value,z=J.replace(/\(error: (.*)\)/,"$1"),k=!0,F=!1,q=void 0;try{for(var N=I[Symbol.iterator](),M;!(k=(M=N.next()).done);k=!0){var U=M.value,Q=U(z);if(Q){x.push(Q);break}}}catch($){F=!0,q=$}finally{try{!k&&N.return!=null&&N.return()}finally{if(F)throw q}}}}catch($){H=!0,G=$}finally{try{!L&&X.return!=null&&X.return()}finally{if(H)throw G}}return m(x)}}function p(E){return Array.isArray(E)?h.apply(void 0,c(E)):E}function m(E){if(!E.length)return[];var A=E,T=A[0].function||"",I=A[A.length-1].function||"";return(T.indexOf("captureMessage")!==-1||T.indexOf("captureException")!==-1)&&(A=A.slice(1)),I.indexOf("sentryWrapped")!==-1&&(A=A.slice(0,-1)),A.slice(0,v).map(function(R){return l(d({},R),{filename:R.filename||A[0].filename,function:R.function||"?"})}).reverse()}var P="<anonymous>";function _(E){try{return!E||typeof E!="function"?P:E.name||P}catch(A){return P}}function b(E){var A=/^\s*[-]{4,}$/,T=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return function(I){if(I.match(A))return{filename:I};var R=I.match(T);if(!!R){var j,x,L,H,G;if(R[1]){L=R[1];var X=L.lastIndexOf(".");if(L[X-1]==="."&&X--,X>0){j=L.substr(0,X),x=L.substr(X+1);var K=j.indexOf(".Module");K>0&&(L=L.substr(K+1),j=j.substr(0,K))}H=void 0}x&&(H=j,G=x),x==="<anonymous>"&&(G=void 0,L=void 0),L===void 0&&(G=G||"<anonymous>",L=H?"".concat(H,".").concat(G):G);var J=(0,n._optionalChain)([R,"access",function(q){return q[2]},"optionalAccess",function(q){return q.startsWith},"call",function(q){return q("file://")}])?R[2].substr(7):R[2],z=R[5]==="native",k=z||J&&!J.startsWith("/")&&!J.startsWith(".")&&J.indexOf(":\\")!==1,F=!k&&J!==void 0&&!J.includes("node_modules/");return{filename:J,module:(0,n._optionalChain)([E,"optionalCall",function(q){return q(J)}]),function:L,lineno:parseInt(R[3],10)||void 0,colno:parseInt(R[4],10)||void 0,in_app:F}}}}function S(E){return[90,b(E)]}},361846:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(u,l){for(var c in l)Object.defineProperty(u,c,{enumerable:!0,get:l[c]})}s(f,{escapeStringForRegex:function(){return d},isMatchingPattern:function(){return i},safeJoin:function(){return r},snipLine:function(){return t},stringMatchesSomePattern:function(){return o},truncate:function(){return a}});var n=e(310837);function a(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof u!="string"||l===0||u.length<=l?u:"".concat(u.substr(0,l),"...")}function t(u,l){var c=u,g=c.length;if(g<=150)return c;l>g&&(l=g);var v=Math.max(l-60,0);v<5&&(v=0);var h=Math.min(v+140,g);return h>g-5&&(h=g),h===g&&(v=Math.max(h-140,0)),c=c.slice(v,h),v>0&&(c="'{snip} ".concat(c)),h<g&&(c+=" {snip}"),c}function r(u,l){if(!Array.isArray(u))return"";for(var c=[],g=0;g<u.length;g++){var v=u[g];try{c.push(String(v))}catch(h){c.push("[value cannot be serialized]")}}return c.join(l)}function i(u,l){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(0,n.isString)(u)?(0,n.isRegExp)(l)?l.test(u):(0,n.isString)(l)?c?u===l:u.includes(l):!1:!1}function o(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return l.some(function(g){return i(u,g,c)})}function d(u){return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},374738:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function s(h,p){for(var m in p)Object.defineProperty(h,m,{enumerable:!0,get:p[m]})}s(f,{isNativeFetch:function(){return u},supportsDOMError:function(){return i},supportsDOMException:function(){return o},supportsErrorEvent:function(){return r},supportsFetch:function(){return d},supportsHistory:function(){return v},supportsNativeFetch:function(){return l},supportsReferrerPolicy:function(){return g},supportsReportingObserver:function(){return c}});var n=e(563975),a=e(462463),t=(0,a.getGlobalObject)();function r(){try{return new ErrorEvent(""),!0}catch(h){return!1}}function i(){try{return new DOMError(""),!0}catch(h){return!1}}function o(){try{return new DOMException(""),!0}catch(h){return!1}}function d(){if(!("fetch"in t))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(h){return!1}}function u(h){return h&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(h.toString())}function l(){if(!d())return!1;if(u(t.fetch))return!0;var h=!1,p=t.document;if(p&&typeof p.createElement=="function")try{var m=p.createElement("iframe");m.hidden=!0,p.head.appendChild(m),m.contentWindow&&m.contentWindow.fetch&&(h=u(m.contentWindow.fetch)),p.head.removeChild(m)}catch(P){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",P)}return h}function c(){return"ReportingObserver"in t}function g(){if(!d())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(h){return!1}}function v(){var h=t.chrome,p=h&&h.app&&h.app.runtime,m="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!p&&m}},726845:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(d,u){for(var l in u)Object.defineProperty(d,l,{enumerable:!0,get:u[l]})}s(f,{SyncPromise:function(){return o},rejectedSyncPromise:function(){return i},resolvedSyncPromise:function(){return r}});var n=e(310837);function a(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var t;(function(d){var u=0;d[d.PENDING=u]="PENDING";var l=1;d[d.RESOLVED=l]="RESOLVED";var c=2;d[d.REJECTED=c]="REJECTED"})(t||(t={}));function r(d){return new o(function(u){u(d)})}function i(d){return new o(function(u,l){l(d)})}var o=function(){"use strict";function d(l){a(this,d),d.prototype.__init.call(this),d.prototype.__init2.call(this),d.prototype.__init3.call(this),d.prototype.__init4.call(this),d.prototype.__init5.call(this),d.prototype.__init6.call(this);try{l(this._resolve,this._reject)}catch(c){this._reject(c)}}var u=d.prototype;return u.__init=function(){this._state=t.PENDING},u.__init2=function(){this._handlers=[]},u.then=function(c,g){var v=this;return new d(function(h,p){v._handlers.push([!1,function(m){if(!c)h(m);else try{h(c(m))}catch(P){p(P)}},function(m){if(!g)p(m);else try{h(g(m))}catch(P){p(P)}}]),v._executeHandlers()})},u.catch=function(c){return this.then(function(g){return g},c)},u.finally=function(c){var g=this;return new d(function(v,h){var p,m;return g.then(function(P){m=!1,p=P,c&&c()},function(P){m=!0,p=P,c&&c()}).then(function(){if(m){h(p);return}v(p)})})},u.__init3=function(){var c=this;this._resolve=function(g){c._setResult(t.RESOLVED,g)}},u.__init4=function(){var c=this;this._reject=function(g){c._setResult(t.REJECTED,g)}},u.__init5=function(){var c=this;this._setResult=function(g,v){if(c._state===t.PENDING){if((0,n.isThenable)(v)){v.then(c._resolve,c._reject);return}c._state=g,c._value=v,c._executeHandlers()}}},u.__init6=function(){var c=this;this._executeHandlers=function(){if(c._state!==t.PENDING){var g=c._handlers.slice();c._handlers=[],g.forEach(function(v){v[0]||(c._state===t.RESOLVED&&v[1](c._value),c._state===t.REJECTED&&v[2](c._value),v[0]=!0)})}}},d}()},153838:function(y,f,e){"use strict";y=e.nmd(y),Object.defineProperty(f,"__esModule",{value:!0});function s(m,P){for(var _ in P)Object.defineProperty(m,_,{enumerable:!0,get:P[_]})}s(f,{_browserPerformanceTimeOriginMode:function(){return h},browserPerformanceTimeOrigin:function(){return p},dateTimestampInSeconds:function(){return l},timestampInSeconds:function(){return c},timestampWithMs:function(){return g},usingPerformanceAPI:function(){return v}});var n=e(116094),a=e(462463),t=(0,a.getGlobalObject)(),r={nowSeconds:function(){return Date.now()/1e3}};function i(){var m=t.performance;if(!(!m||!m.now)){var P=Date.now()-m.now();return{now:function(){return m.now()},timeOrigin:P}}}function o(){try{var m=(0,n.dynamicRequire)(y,"perf_hooks");return m.performance}catch(P){return}}var d=(0,n.isNodeEnv)()?o():i(),u=d===void 0?r:{nowSeconds:function(){return(d.timeOrigin+d.now())/1e3}},l=r.nowSeconds.bind(r),c=u.nowSeconds.bind(u),g=c,v=d!==void 0,h,p=function(){var m=t.performance;if(!m||!m.now){h="none";return}var P=3600*1e3,_=m.now(),b=Date.now(),S=m.timeOrigin?Math.abs(m.timeOrigin+_-b):P,E=S<P,A=m.timing&&m.timing.navigationStart,T=typeof A=="number",I=T?Math.abs(A+_-b):P,R=I<P;return E||R?S<=I?(h="timeOrigin",m.timeOrigin):(h="navigationStart",A):(h="dateNow",b)}()},676145:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0});function e(a,t){for(var r in t)Object.defineProperty(a,r,{enumerable:!0,get:t[r]})}e(f,{TRACEPARENT_REGEXP:function(){return s},extractTraceparentData:function(){return n}});var s=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function n(a){var t=a.match(s);if(!(!a||!t)){var r;return t[3]==="1"?r=!0:t[3]==="0"&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}}},356800:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(f,{getNumberOfUrlSegments:function(){return a},parseUrl:function(){return s},stripUrlQueryAndFragment:function(){return n}});function s(t){if(!t)return{};var r=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};var i=r[6]||"",o=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],relative:r[5]+i+o}}function n(t){return t.split(/[\?#]/,1)[0]}function a(t){return t.split(/\\?\//).filter(function(r){return r.length>0&&r!==","}).length}},462463:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(i,o){for(var d in o)Object.defineProperty(i,d,{enumerable:!0,get:o[d]})}s(f,{GLOBAL_OBJ:function(){return a},getGlobalObject:function(){return t},getGlobalSingleton:function(){return r}});function n(i){return i&&i.Math==Math?i:void 0}var a=typeof globalThis=="object"&&n(globalThis)||typeof window=="object"&&n(window)||typeof self=="object"&&n(self)||typeof e.g=="object"&&n(e.g)||function(){return this}()||{};function t(){return a}function r(i,o,d){var u=d||a,l=u.__SENTRY__=u.__SENTRY__||{},c=l[i]||(l[i]=o());return c}},490762:function(y,f,e){"use strict";function s(re,ie){(ie==null||ie>re.length)&&(ie=re.length);for(var de=0,ye=new Array(ie);de<ie;de++)ye[de]=re[de];return ye}function n(re){if(Array.isArray(re))return re}function a(re){if(Array.isArray(re))return s(re)}function t(re,ie){return ie!=null&&typeof Symbol!="undefined"&&ie[Symbol.hasInstance]?!!ie[Symbol.hasInstance](re):re instanceof ie}function r(re){if(typeof Symbol!="undefined"&&re[Symbol.iterator]!=null||re["@@iterator"]!=null)return Array.from(re)}function i(re,ie){var de=re==null?null:typeof Symbol!="undefined"&&re[Symbol.iterator]||re["@@iterator"];if(de!=null){var ye=[],Ge=!0,je=!1,Ze,dt;try{for(de=de.call(re);!(Ge=(Ze=de.next()).done)&&(ye.push(Ze.value),!(ie&&ye.length===ie));Ge=!0);}catch(pt){je=!0,dt=pt}finally{try{!Ge&&de.return!=null&&de.return()}finally{if(je)throw dt}}return ye}}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(re,ie){return n(re)||i(re,ie)||c(re,ie)||o()}function l(re){return a(re)||r(re)||c(re)||d()}function c(re,ie){if(!!re){if(typeof re=="string")return s(re,ie);var de=Object.prototype.toString.call(re).slice(8,-1);if(de==="Object"&&re.constructor&&(de=re.constructor.name),de==="Map"||de==="Set")return Array.from(de);if(de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return s(re,ie)}}var g=function(re,ie){var de,ye,Ge,je,Ze={label:0,sent:function(){if(Ge[0]&1)throw Ge[1];return Ge[1]},trys:[],ops:[]};return je={next:dt(0),throw:dt(1),return:dt(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function dt(gt){return function($t){return pt([gt,$t])}}function pt(gt){if(de)throw new TypeError("Generator is already executing.");for(;Ze;)try{if(de=1,ye&&(Ge=gt[0]&2?ye.return:gt[0]?ye.throw||((Ge=ye.return)&&Ge.call(ye),0):ye.next)&&!(Ge=Ge.call(ye,gt[1])).done)return Ge;switch(ye=0,Ge&&(gt=[gt[0]&2,Ge.value]),gt[0]){case 0:case 1:Ge=gt;break;case 4:return Ze.label++,{value:gt[1],done:!1};case 5:Ze.label++,ye=gt[1],gt=[0];continue;case 7:gt=Ze.ops.pop(),Ze.trys.pop();continue;default:if(Ge=Ze.trys,!(Ge=Ge.length>0&&Ge[Ge.length-1])&&(gt[0]===6||gt[0]===2)){Ze=0;continue}if(gt[0]===3&&(!Ge||gt[1]>Ge[0]&&gt[1]<Ge[3])){Ze.label=gt[1];break}if(gt[0]===6&&Ze.label<Ge[1]){Ze.label=Ge[1],Ge=gt;break}if(Ge&&Ze.label<Ge[2]){Ze.label=Ge[2],Ze.ops.push(gt);break}Ge[2]&&Ze.ops.pop(),Ze.trys.pop();continue}gt=ie.call(re,Ze)}catch($t){gt=[6,$t],ye=0}finally{de=Ge=0}if(gt[0]&5)throw gt[1];return{value:gt[0]?gt[1]:void 0,done:!0}}},v=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=function(re,ie,de){return ie in re?v(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):re[ie]=de},S=function(re,ie){for(var de in ie||(ie={}))P.call(ie,de)&&b(re,de,ie[de]);var ye=!0,Ge=!1,je=void 0;if(m)try{for(var Ze=m(ie)[Symbol.iterator](),dt;!(ye=(dt=Ze.next()).done);ye=!0){var de=dt.value;_.call(ie,de)&&b(re,de,ie[de])}}catch(pt){Ge=!0,je=pt}finally{try{!ye&&Ze.return!=null&&Ze.return()}finally{if(Ge)throw je}}return re},E=function(re,ie){var de={};for(var ye in re)P.call(re,ye)&&ie.indexOf(ye)<0&&(de[ye]=re[ye]);var Ge=!0,je=!1,Ze=void 0;if(re!=null&&m)try{for(var dt=m(re)[Symbol.iterator](),pt;!(Ge=(pt=dt.next()).done);Ge=!0){var ye=pt.value;ie.indexOf(ye)<0&&_.call(re,ye)&&(de[ye]=re[ye])}}catch(gt){je=!0,Ze=gt}finally{try{!Ge&&dt.return!=null&&dt.return()}finally{if(je)throw Ze}}return de},A=function(re,ie){for(var de in ie)v(re,de,{get:ie[de],enumerable:!0})},T=function(re,ie,de,ye){if(ie&&typeof ie=="object"||typeof ie=="function"){var Ge=!0,je=!1,Ze=void 0;try{for(var dt=function(){var $t=gt.value;!P.call(re,$t)&&$t!==de&&v(re,$t,{get:function(){return ie[$t]},enumerable:!(ye=h(ie,$t))||ye.enumerable})},pt=p(ie)[Symbol.iterator](),gt;!(Ge=(gt=pt.next()).done);Ge=!0)dt()}catch($t){je=!0,Ze=$t}finally{try{!Ge&&pt.return!=null&&pt.return()}finally{if(je)throw Ze}}}return re},I=function(re){return T(v({},"__esModule",{value:!0}),re)},R=function(re,ie,de){return new Promise(function(ye,Ge){var je=function(pt){try{dt(de.next(pt))}catch(gt){Ge(gt)}},Ze=function(pt){try{dt(de.throw(pt))}catch(gt){Ge(gt)}},dt=function(pt){return pt.done?ye(pt.value):Promise.resolve(pt.value).then(je,Ze)};dt((de=de.apply(re,ie)).next())})},j={};A(j,{RUM_PREFIX:function(){return er},default:function(){return Ue},getCumulativeLayoutShift:function(){return H},getDecodedBodySize:function(){return Pe},getDomContentLoadedEventEnd:function(){return fe},getDomContentLoadedEventStart:function(){return ve},getDomainLookup:function(){return He},getEncodedBodySize:function(){return ae},getFirstContentfulPaint:function(){return Ee},getFirstInputDelay:function(){return _e},getLargestContentfulPaint:function(){return Be},getLoadEventEnd:function(){return nt},getLoadEventStart:function(){return Je},getPerformanceMetrics:function(){return qe},getResponseStart:function(){return ue},getTcpConnection:function(){return we},getTlsNegotiation:function(){return We},init:function(){return Et},mark:function(){return ri},measure:function(){return Ar},trackEventsV2Factory:function(){return Pn},trackLoadPerformance:function(){return $e},trackSqspImages:function(){return hn}}),y.exports=I(j);var x={};A(x,{getCumulativeLayoutShift:function(){return H},getDecodedBodySize:function(){return Pe},getDomContentLoadedEventEnd:function(){return fe},getDomContentLoadedEventStart:function(){return ve},getDomainLookup:function(){return He},getEncodedBodySize:function(){return ae},getFirstContentfulPaint:function(){return Ee},getFirstInputDelay:function(){return _e},getLargestContentfulPaint:function(){return Be},getLoadEventEnd:function(){return nt},getLoadEventStart:function(){return Je},getResponseStart:function(){return ue},getTcpConnection:function(){return we},getTlsNegotiation:function(){return We}});var L=e(114499),H=function(re){(0,L.onCLS)(function(ie){var de;re({cumulativeLayoutShift:(de=ie==null?void 0:ie.value)!=null?de:void 0})})},G="/api/1/performance",X="/records",K="/settings",J="load",z="visibilitychange",k="SS_MID",F="SS_ANALYTICS_ID",q=3e4,N=3e4,M=/(iPhone|iPod|iPad) OS ((1[0-2])|[2-9])_\d+.*AppleWeb
67Kit(?!.*Safari)/i,U=function(re){return function(){for(var ie=arguments.length,de=new Array(ie),ye=0;ye<ie;ye++)de[ye]=arguments[ye];return new Promise(function(Ge,je){try{re.apply(void 0,[function(Ze){Ge(Ze)}].concat(l(de)))}catch(Ze){je(Ze)}})}},Q=function(re){return U(setTimeout)(re)},$=function(){return U(function(re){var ie=function(de){(de.type==="pagehide"||document.visibilityState==="hidden")&&(re(de),removeEventListener("visibilitychange",ie,!0),removeEventListener("pagehide",ie,!0))};window.addEventListener("visibilitychange",ie,!0),window.addEventListener("pagehide",ie,!0)})()},ee=function(re){document.readyState==="complete"?window.setTimeout(re,0):window.addEventListener("pageshow",re,{once:!0})},oe=function(){return U(ee)},pe=function(){var re={entryType:"navigation",startTime:0},ie=performance.timing;for(var de in ie)if(de!=="navigationStart"&&de!=="toJSON"){var ye=Math.max(ie[de]-ie.navigationStart,0);re[de]=ye}return re},me=function(re){return R(void 0,null,function(){var ie,de,ye,Ge;return g(this,function(je){switch(je.label){case 0:return[4,oe()];case 1:return je.sent(),ie=u(window.performance.getEntriesByType("navigation"),1),de=ie[0],ye=de!=null?de:pe(),Ge=ye[re],typeof Ge!="number"||Ge<0||Ge>2147483647?[2]:[2,Math.round(Ge)]}})})},Se=function(re,ie){if(typeof re=="number"&&typeof ie=="number"&&re>=ie)return re-ie},Pe=function(re){return me("decodedBodySize").then(function(ie){re({decodedBodySize:ie})})},He=function(re){return Promise.all([me("domainLookupEnd"),me("domainLookupStart")]).then(function(ie){var de=u(ie,2),ye=de[0],Ge=de[1];re({domainLookup:Se(ye,Ge)})})},fe=function(re){return me("domContentLoadedEventEnd").then(function(ie){re({domContentLoadedEventEnd:ie})})},ve=function(re){return me("domContentLoadedEventStart").then(function(ie){re({domContentLoadedEventStart:ie})})},ae=function(re){return me("encodedBodySize").then(function(ie){re({encodedBodySize:ie})})},le=e(114499),Ee=function(re){(0,le.onFCP)(function(ie){re({firstContentfulPaint:ie?Math.round(ie.value):void 0})})},xe=e(114499),_e=function(re){(0,xe.onFID)(function(ie){re({firstInputDelay:ie?Math.round(ie.value):void 0})})},Re=e(114499),Be=function(re){(0,Re.onLCP)(function(ie){re({largestContentfulPaint:ie?Math.round(ie.value):void 0})})},nt=function(re){return me("loadEventEnd").then(function(ie){re({loadEventEnd:ie})})},Je=function(re){return me("loadEventStart").then(function(ie){re({loadEventStart:ie})})},ue=function(re){return me("responseStart").then(function(ie){re({responseStart:ie})})},we=function(re){return Promise.all([me("connectEnd"),me("connectStart")]).then(function(ie){var de=u(ie,2),ye=de[0],Ge=de[1];re({tcpConnection:Se(ye,Ge)})})},We=function(re){return Promise.all([me("connectEnd"),me("secureConnectionStart")]).then(function(ie){var de=u(ie,2),ye=de[0],Ge=de[1];re({tlsNegotiation:Se(ye,Ge)})})};function qe(re){var ie=this;Object.values(x).forEach(function(de){return R(ie,null,function(){var ye,Ge,je;return g(this,function(Ze){switch(Ze.label){case 0:return Ze.trys.push([0,2,,3]),[4,de(re)];case 1:return Ze.sent(),[3,3];case 2:return je=Ze.sent(),(Ge=(ye=window==null?void 0:window.SQUARESPACE_SENTRY)==null?void 0:ye.captureException)==null||Ge.call(ye,je),[3,3];case 3:return[2]}})})})}var Ie="4.8.0";function Me(re){var ie=new RegExp("(^| )".concat(re,"=([^;]+)")),de=document.cookie.match(ie);return de?de[2]:""}function Ve(){return!!(window.PerformanceMeasure&&window.PerformanceMark)}function Ne(){if(!Object.prototype.hasOwnProperty.call(window,"PerformanceObserver"))return!1;try{var re=new window.PerformanceObserver(function(){return null});re.observe({entryTypes:["mark"]}),re.disconnect()}catch(ie){return!1}return!0}function ke(){var re;return typeof((re=window.navigator)==null?void 0:re.sendBeacon)=="function"&&!M.test(window.navigator.userAgent)}function et(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie,de,ye,Ge,je,Ze,dt;return{context:re,analyticsId:Me(F),marketingId:Me(k),memberId:(ye=(de=(ie=window.Static)==null?void 0:ie.SQUARESPACE_CONTEXT)==null?void 0:de.authenticatedAccount)==null?void 0:ye.id,version:Ie,connection:{downlink:(Ge=navigator.connection)==null?void 0:Ge.downlink,effectiveType:(je=navigator.connection)==null?void 0:je.effectiveType,rtt:(Ze=navigator.connection)==null?void 0:Ze.rtt,saveData:(dt=navigator.connection)==null?void 0:dt.saveData},deliveryType:ke()?"beacon":"xhr",display:{devicePixelRatio:window.devicePixelRatio,screenHeight:window.screen.height,screenWidth:window.screen.width,viewportHe
67ight:window.innerHeight,viewportWidth:window.innerWidth},hardware:{deviceMemory:navigator.deviceMemory,hardwareConcurrency:navigator.hardwareConcurrency},hash:window.location.hash||"",hostname:window.location.hostname||"",pathname:window.location.pathname||"/"}}var st=function(re){return R(void 0,null,function(){var ie,de;return g(this,function(ye){switch(ye.label){case 0:return ie=et(re),de={},qe(function(Ge){Object.assign(de,Ge)}),[4,Promise.race([Q(6e4),$()])];case 1:return ye.sent(),[2,S(S({},ie),de)]}})})},Ce=function(re,ie){return R(void 0,null,function(){var de;return g(this,function(ye){switch(ye.label){case 0:return[4,st(ie)];case 1:return de=ye.sent(),re(de,"page_speed"),[2]}})})},it=["media-www.sqspcdn.com","images.squarespace-cdn.com","static1.squarespace.com"],ct=function(re){return it.some(function(ie){return re.includes(ie)})},mt=function(re){return re.hasAttribute("data-loader")?2:re.hasAttribute("data-src")?1:0},Ct=function(re,ie){var de;if(re.hasAttribute("data-image-resolution"))return Number((de=re.getAttribute("data-image-resolution"))==null?void 0:de.replace("w",""));var ye=ie.indexOf("format=");return ye!==-1?Number(ie.slice(ye+7).replace(/w.*/,"")):NaN},Ht=function(re,ie,de){if(de===1&&t(re,HTMLImageElement)&&re.naturalHeight===0){var ye=document.querySelector('div[style*="'.concat(ie,'"]'));if(ye)return ye}return re},Rt=function(re){if(t(re,HTMLImageElement)){var ie=re.naturalHeight,de=re.naturalWidth,ye=re.width,Ge=re.height;return{naturalHeight:ie,naturalWidth:de,width:ye,height:Ge}}var je=re.getBoundingClientRect(),Ze=Math.floor(je.width),dt=Math.floor(je.height);return{naturalHeight:dt,naturalWidth:Ze}},cn=function(re,ie){return R(void 0,null,function(){var de,ye,Ge,je,Ze,dt,pt,gt,$t,sn,tr,Wn,Rn,nr,jn,mr,lr;return g(this,function(Fr){de=Ct(ie,re.name),ye=mt(ie),Ge=ie.getAttribute("data-loader"),je=re.toJSON(),Ze=je.serverTiming,dt=je.workerTiming,pt=E(je,["serverTiming","workerTiming"]),gt=!0,$t=!1,sn=void 0;try{for(tr=Object.entries(pt)[Symbol.iterator]();!(gt=(Wn=tr.next()).done);gt=!0)Rn=u(Wn.value,2),nr=Rn[0],jn=Rn[1],typeof jn=="number"&&(pt[nr]=Math.floor(jn))}catch(Gr){$t=!0,sn=Gr}finally{try{!gt&&tr.return!=null&&tr.return()}finally{if($t)throw sn}}return mr=Ht(ie,re.name,ye),lr=Rt(mr),[2,new Promise(function(Gr){var Zr=new IntersectionObserver(function(oi){oi.forEach(function(Hn){if(Hn.target===mr)return Zr.disconnect(),Gr(S(S({visibleOnLoad:Hn.isIntersecting,observationTime:Math.floor(Hn.time),intersectionRatio:Hn.intersectionRatio,squarespaceSize:de,imageType:ye,imageLoaderType:Ge},lr),pt))})});Zr.observe(mr)})]})})},Cn=function(re){return R(void 0,[re],function(ie){var de,ye,Ge,je,Ze;return g(this,function(dt){switch(dt.label){case 0:return de=ie.resource,ye=ie.deliverMetrics,!(t(de,PerformanceResourceTiming)&&de.initiatorType==="img")||!ct(de.name)?[2]:(Ge=de.name.replace(/\?.*/,""),je=Array.from(document.querySelectorAll('img[src="'.concat(de.name,'"], img[data-src*="').concat(Ge,'"], img[srcset*="').concat(de.name,'"]'))),document.querySelectorAll('picture > source[srcset="'.concat(de.name,'"]')).forEach(function(pt){var gt=pt.parentElement;gt!==null&&je.push(gt)}),je.length!==1?[2]:[4,cn(de,je[0])]);case 1:return Ze=dt.sent(),ye(Ze,"image"),[2]}})})},hn=function(re){return R(void 0,null,function(){var ie,de;return g(this,function(ye){return Ne()?(ie=function(Ge){return Cn({resource:Ge,deliverMetrics:re})},performance.getEntriesByType("resource").forEach(ie),de=new PerformanceObserver(function(Ge){Ge.getEntries().forEach(ie)}),de.observe({entryTypes:["resource"]}),[2]):[2]})})},fn,_n=function(re){var ie=re.spanName,de=re.tracer,ye=re.startTime,Ge=re.spanAttributes,je=Ge===void 0?{}:Ge;fn===void 0&&(fn=new Map);var Ze=de.startSpan(ie,{startTime:ye});Ze.setAttributes(je),fn.set(ie,Ze)},Mn=function(re){var ie=re.spanName,de=re.spanAttributes,ye=de===void 0?{}:de;if(!(fn===void 0||!fn.has(ie))){var Ge=fn.get(ie);Ge.setAttributes(ye),Ge.end(),fn.delete(ie)}},er="rum-",sr=function(re){var ie;typeof((ie=window==null?void 0:window.SQUARESPACE_SENTRY)==null?void 0:ie.captureException)=="function"?window.SQUARESPACE_SENTRY.captureException(re):console.warn("@sqs/rum-collector: user timing exception: ".concat(re))};function ri(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{if(!Oe())return;var de=er+re;if(window.performance.clearMarks(de),window.performance.mark(de,{detail:ie.detail,startTime:ie.startTime}),ie.tracer!==void 0){var ye=u(window.performance.getEntriesByName(de,"mark").slice(-1),1),Ge=ye[0];_n({spanName:re,tracer:ie.tracer,startTime:Ge.startTime,spanAttributes:ie.spanAttributes})}}catch(je){sr(je)}}function Ar(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{requireStart:!1};try{if(!(Oe()&&ur()))return;
67var de=er+re,ye={detail:ie.detail,duration:ie.duration};if(ie.start===void 0?ye.start=de:typeof ie.start=="string"?ye.start=er+ie.start:ye.start=ie.start,ye.end=typeof ie.end=="string"?er+ie.end:ie.end,ie.requireStart&&(typeof ye.start=="number"||window.performance.getEntriesByName(ye.start,"mark").length===0))return;if(ie.tracer!==void 0){var Ge=S({measureName:de},ie.spanAttributes);typeof ye.start=="number"?(_n({spanName:de,tracer:ie.tracer,startTime:ye.start}),Mn({spanName:de,spanAttributes:Ge})):(window.performance.getEntriesByName(ye.start,"mark").length===0&&_n({spanName:ye.start,tracer:ie.tracer,startTime:0}),Mn({spanName:ye.start,spanAttributes:Ge}))}Tr(de,ye);var je=Tt(de);return je}catch(Ze){sr(Ze)}}function ur(){return"performance"in window&&"getEntries"in window.performance&&"getEntriesByType"in window.performance&&"getEntriesByName"in window.performance}function Oe(){return"mark"in window.performance&&"measure"in window.performance}function Tt(re){var ie=window.performance.getEntriesByName(re,"measure");return ie[ie.length-1]}function Tr(re,ie){try{window.performance.measure(re,ie)}catch(Ge){var de=typeof ie.start=="string"?ie.start:re,ye=typeof ie.end=="string"?ie.end:void 0;try{window.performance.measure(re,de,ye)}catch(je){if(!t(je,DOMException))throw je;try{window.performance.measure(re,"navigationStart")}catch(Ze){if(!t(Ze,DOMException))throw Ze;window.performance.measure(re)}}}}function Ln(re){return typeof re=="string"&&re.substring(0,4)===er}function Jr(re){var ie={};for(var de in re)typeof re[de]!="function"&&(ie[de]=re[de]);return ie}var bt=new Set,Ur=function(re){if(!!Ve()){var ie=function(ye){var Ge=ye.map(Jr);Ge.forEach(function(je){if(!!Ln(je.name)){var Ze="".concat(je.name,"|").concat(je.duration);bt.has(Ze)||(re(je,"user"),bt.add(Ze))}})};if(ie(window.performance.getEntriesByType("measure")),Ne()){var de=new window.PerformanceObserver(function(ye){return ie(ye.getEntries())});de.observe({entryTypes:["measure"]})}else document.addEventListener(z,function(){document.visibilityState==="hidden"&&ie(window.performance.getEntriesByType("measure"))})}},pr,ln=[],Cr=function(re){ln.push(re)};function ii(re,ie){if(!(ke()&&navigator.sendBeacon(re,ie))){var de=new XMLHttpRequest;de.open("POST",re,!0),de.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),de.send(ie)}}function Qt(){if(ln.length){var re=JSON.stringify(ln);ii(G+X,re),ln=[]}}function zn(){window.addEventListener(J,function(){pr=window.setTimeout(Qt,N)}),document.addEventListener(z,function(){document.visibilityState==="hidden"&&(window.clearTimeout(pr),Qt())})}function ai(re){Cr(S({raw:!0},re))}var gr=function(re,ie){return function(de,ye){var Ge={app:re,data:de,event:ye,pageLoadId:ie,ts:Date.now()};ai(Ge)}},jr=function(){return new Promise(function(re,ie){var de=new XMLHttpRequest;de.onreadystatechange=function(){if(de.readyState===XMLHttpRequest.DONE)if(de.status===200)try{re(JSON.parse(de.response))}catch(ye){ie(ye)}else de.status!==0&&ie(new Error("XHR request DONE with unexpected status: ".concat(de.status)))},de.ontimeout=function(){ie(new Error("Metric settings request timeout"))},de.open("GET",G+K,!0),de.timeout=q,de.send()})},cr=function(re){return function(){for(var ie=arguments.length,de=new Array(ie),ye=0;ye<ie;ye++)de[ye]=arguments[ye];re&&re.apply(void 0,l(de))}},gn=function(re){var ie={appName:re.appName||"",context:re.context||{},enabled:typeof re.enabled=="boolean"?re.enabled:!0,captureException:cr(re.captureException)};return ie};function Et(re){return R(this,null,function(){var ie,de,ye,Ge,je;return g(this,function(Ze){switch(Ze.label){case 0:if(ie=gn(re),!ie.enabled)return[2];de="",Ze.label=1;case 1:return Ze.trys.push([1,3,,4]),[4,jr()];case 2:if(ye=Ze.sent(),de=ye.pageLoadId,!de)throw new Error("Unable to resolve pageLoadId");return Ge=gr(ie.appName,de),Ce(Ge,ie.context),Ur(Ge),hn(Ge),zn(),[3,4];case 3:return je=Ze.sent(),ie.captureException(je,{pageLoadId:de,parsedOptions:ie}),[3,4];case 4:return[2]}})})}var Br={action:"load",actor:"user",event_owner_team:"web_performance",event_source:"web",object_type:"website"},$n=function(){var re=/^qa\d+.sqsp.net/g,ie=/^stage.sqsp.net/g,de=/(dev.squarespace.net|localhost|127.0.0.1|0.0.0.0)/g,ye=window.location.hostname.substr(window.location.hostname.indexOf(".")+1);
67return ie.test(ye)||re.test(ye)?"staging":de.test(ye)?"dev":"prod"},Pn=function(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$n();return new re({customSchemaName:"Performance",sourceEnvironment:ie},Br)},An=Object.freeze({cumulativeLayoutShift:"cumulative_layout_shift",decodedBodySize:"decoded_body_size_bytes",domContentLoadedEventEnd:"dom_content_loaded_event_end_ms",domContentLoadedEventStart:"dom_content_loaded_event_start_ms",domainLookup:"domain_lookup_ms",encodedBodySize:"encoded_body_size_bytes",firstContentfulPaint:"first_contentful_paint_ms",firstInputDelay:"first_input_delay_ms",largestContentfulPaint:"largest_contentful_paint_ms",loadEventEnd:"load_event_end_ms",loadEventStart:"load_event_start_ms",responseStart:"response_start_ms",tcpConnection:"tcp_connection_ms",tlsNegotiation:"tls_negotiation_ms"}),$e=function(re){return R(void 0,null,function(){var ie;return g(this,function(de){switch(de.label){case 0:return ie={},qe(function(ye){Object.entries(ye).forEach(function(Ge){var je=u(Ge,2),Ze=je[0],dt=je[1];Object.prototype.hasOwnProperty.call(An,Ze)&&(ie[An[Ze]]=dt)})}),[4,Promise.race([Q(6e4),$()])];case 1:return de.sent(),re(ie),[2]}})})};function Ue(){for(var re=arguments.length,ie=new Array(re),de=0;de<re;de++)ie[de]=arguments[de];return console.warn("@sqs/rum-collector default export is deprecated. Use named export `init` instead."),Et.apply(void 0,l(ie))}},203741:function(y){"use strict";for(var f=[],e=0;e<256;++e)f[e]=(e+256).toString(16).substr(1);function s(n,a){var t=a||0,r=f;return[r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]]].join("")}y.exports=s},828938:function(y){"use strict";var f=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(f){var e=new Uint8Array(16);y.exports=function(){return f(e),e}}else{var s=new Array(16);y.exports=function(){for(var a=0,t;a<16;a++)(a&3)==0&&(t=Math.random()*4294967296),s[a]=t>>>((a&3)<<3)&255;return s}}},814748:function(y,f,e){"use strict";var s=e(828938),n=e(203741);function a(t,r,i){var o=r&&i||0;typeof t=="string"&&(r=t==="binary"?new Array(16):null,t=null),t=t||{};var d=t.random||(t.rng||s)();if(d[6]=d[6]&15|64,d[8]=d[8]&63|128,r)for(var u=0;u<16;++u)r[o+u]=d[u];return r||n(d)}y.exports=a},400666:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(g,v){for(var h in v)Object.defineProperty(g,h,{enumerable:!0,get:v[h]})}s(f,{v1:function(){return n.default},v3:function(){return a.default},v4:function(){return t.default},v5:function(){return r.default},NIL:function(){return i.default},version:function(){return o.default},validate:function(){return d.default},stringify:function(){return u.default},parse:function(){return l.default}});var n=c(e(924597)),a=c(e(551785)),t=c(e(702686)),r=c(e(40926)),i=c(e(496844)),o=c(e(246595)),d=c(e(713178)),u=c(e(284544)),l=c(e(188096));function c(g){return g&&g.__esModule?g:{default:g}}},503905:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return g}});function e(v){if(typeof v=="string"){var h=unescape(encodeURIComponent(v));v=new Uint8Array(h.length);for(var p=0;p<h.length;++p)v[p]=h.charCodeAt(p)}return s(a(t(v),v.length*8))}function s(v){for(var h=[],p=v.length*32,m="0123456789abcdef",P=0;P<p;P+=8){var _=v[P>>5]>>>P%32&255,b=parseInt(m.charAt(_>>>4&15)+m.charAt(_&15),16);h.push(b)}return h}function n(v){return(v+64>>>9<<4)+14+1}function a(v,h){v[h>>5]|=128<<h%32,v[n(h)-1]=h;for(var p=1732584193,m=-271733879,P=-1732584194,_=271733878,b=0;b<v.length;b+=16){var S=p,E=m,A=P,T=_;p=d(p,m,P,_,v[b],7,-680876936),_=d(_,p,m,P,v[b+1],12,-389564586),P=d(P,_,p,m,v[b+2],17,606105819),m=d(m,P,_,p,v[b+3],22,-1044525330),p=d(p,m,P,_,v[b+4],7,-176418897),_=d(_,p,m,P,v[b+5],12,1200080426),P=d(P,_,p,m,v[b+6],17,-1473231341),m=d(m,P,_,p,v[b+7],22,-45705983),p=d(p,m,P,_,v[b+8],7,1770035416),_=d(_,p,m,P,v[b+9],12,-1958414417),P=d(P,_,p,m,v[b+10],17,-42063),m=d(m,P,_,p,v[b+11],22,-1990404162),p=d(p,m,P,_,v[b+12],7,1804603682),_=d(_,p,m,P,v[b+13],12,-40341101),P=d(P,_,p,m,v[b+14],17,-1502002290),m=d(m,P,_,p,v[b+15],22,1236535329),p=u(p,m,P,_,v[b+1],5,-165796510),_=u(_,p,m,P,v[b+6],9,-1069501632),P=u(P,_,p,m,v[b+11],14,643717713),m=u(m,P,_,p,v[b],20,-373897302),p=u(p,m,P,_,v[b+5],5,-701558691),_=u(_,p,m,P,v[b+10],9,38016083),P=u(P,_,p,m,v[b+15],14,-660478335),m=u(m,P,_,p,v[b+4],20,-405537848),p=u(p,m,P,_,v[b+9],5,568446438),_=u(_,p,m,P,v[b+14],9,-1019803690),P=u(P,_,p,m,v[b+3],14,-187363961),m=u(m,P,_,p,v[b+8],20,1163531501),p=u(p,m,P,_,v[b+13],5,-1444681467),_=u(_,p,m,P,v[b+2],9,-51403784),P=u(P,_,p,m,v[b+7],14,1735328473),m=u(m,P,_,p,v[b+12],20,-1926607734),p=l(p,m,P,_,v[b+5],4,-378558),_=l(_,p,m,P,v[b+8],11,-2022574463),P=l(P,_,p,m,v[b+11],16,1839030562),m=l(m,P,_,p,v[b+14],23,-35309556),p=l(p,m,P,_,v[b+1],4,-1530992060),_=l(_,p,m,P,v[b+4],11,1272893353),P=l(P,_,p,m,v[b+7],16,-155497632),m=l(m,P,_,p,v[b+10],23,-1094730640),p=l(p,m,P,_,v[b+13],4,681279174),_=l(_,p,m,P,v[b],11,-358537222),P=l(P,_,p,m,v[b+3],16,-722521979),m=l(m,P,_,p,v[b+6],23,76029189),p=l(p,m,P,_,v[b+9],4,-640364487),_=l(_,p,m,P,v[b+12],11,-421815835),P=l(P,_,p,m,v[b+15],16,530742520),m=l(m,P,_,p,v[b+2],23,-995338651),p=c(p,m,P,_,v[b],6,-198630844),_=c(_,p,m,P,v[b+7],10,1126891415),P=c(P,_,p,m,v[b+14],15,-1416354905),m=c(m,P,_,p,v[b+5],21,-57434055),p=c(p,m,P,_,v[b+12],6,1700485571),_=c(_,p,m,P,v[b+3],10,-1894986606),P=c(P,_,p,m,v[b+10],15,-1051523),m=c(m,P,_,p,v[b+1],21,-2054922799),p=c(p,m,P,_,v[b+8],6,1873313359),_=c(_,p,m,P,v[b+15],10,-30611744),P=c(P,_,p,m,v[b+6],15,-1560198380),m=c(m,P,_,p,v[b+13],21,1309151649),p=c(p,m,P,_,v[b+4],6,-145523070),_=c(_,p,m,P,v[b+11],10,-1120210379),P=c(P,_,p,m,v[b+2],15,718787259),m=c(m,P,_,p,v[b+9],21,-343485551),p=r(p,S),m=r(m,E),P=r(P,A),_=r(_,T)}return[p,m,P,_]}function t(v){if(v.length===0)return[];for(var h=v.length*8,p=new Uint32Array(n(h)),m=0;m<h;m+=8)p[m>>5]|=(v[m/8]&255)<<m%32;return p}function r(v,h){var p=(v&65535)+(h&65535),m=(v>>16)+(h>>16)+(p>>16);return m<<16|p&65535}function i(v,h){return v<<h|v>>>32-h}function o(v,h,p,m,P,_){return r(i(r(r(h,v),r(m,_)),P),p)}function d(v,h,p,m,P,_,b){return o(h&p|~h&m,v,h,P,_,b)}function u(v,h,p,m,P,_,b){return o(h&m|p&~m,v,h,P,_,b)}function l(v,h,p,m,P,_,b){return o(h^p^m,v,h,P,_,b)}function c(v,h,p,m,P,_,b){return o(p^(h|~m),v,h,P,_,b)}var g=e},496844:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return e}});var e="00000000-0000-0000-0000-000000000000"},188096:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=n(e(713178));function n(r){return r&&r.__esModule?r:{default:r}}function a(r){if(!(0,s.default)(r))throw TypeError("Invalid UUID");var i,o=new Uint8Array(16);return o[0]=(i=parseInt(r.slice(0,8),16))>>>24,o[1]=i>>>16&255,o[2]=i>>>8&255,o[3]=i&255,o[4]=(i=parseInt(r.slice(9,13),16))>>>8,o[5]=i&255,o[6]=(i=parseInt(r.slice(14,18),16))>>>8,o[7]=i&255,o[8]=(i=parseInt(r.slice(19,23),16))>>>8,o[9]=i&255,o[10]=(i=parseInt(r.slice(24,36),16))/1099511627776&255,o[11]=i/4294967296&255,o[12]=i>>>24&255,o[13]=i>>>16&255,o[14]=i>>>8&255,o[15]=i&255,o}var t=a},117093:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return e}});var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},208083:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return n}});var e,s=new Uint8Array(16);function n(){if(!e&&(e=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(s)}},608e3:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return a}});function e(t,r,i,o){switch(t){case 0:return r&i^~r&o;case 1:return r^i^o;case 2:return r&i^r&o^i&o;case 3:return r^i^o}}function s(t,r){return t<<r|t>>>32-r}function n(t){var r=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var o=unescape(encodeURIComponent(t));t=[];for(var d=0;d<o.length;++d)t.push(o.charCodeAt(d))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var u=t.length/4+2,l=Math.ceil(u/16),c=new Array(l),g=0;g<l;++g){for(var v=new Uint32Array(16),h=0;h<16;++h)v[h]=t[g*64+h*4]<<24|t[g*64+h*4+1]<<16|t[g*64+h*4+2]<<8|t[g*64+h*4+3];c[g]=v}c[l-1][14]=(t.length-1)*8/Math.pow(2,32),c[l-1][14]=Math.floor(c[l-1][14]),c[l-1][15]=(t.length-1)*8&4294967295;for(var p=0;p<l;++p){for(var m=new Uint32Array(80),P=0;P<16;++P)m[P]=c[p][P];for(var _=16;_<80;++_)m[_]=s(m[_-3]^m[_-8]^m[_-14]^m[_-16],1);for(var b=i[0],S=i[1],E=i[2],A=i[3],T=i[4],I=0;I<80;++I){var R=Math.floor(I/20),j=s(b,5)+e(R,S,E,A)+T+r[R]+m[I]>>>0;T=A,A=E,E=s(S,30)>>>0,S=b,b=j}i[0]=i[0]+b>>>0,i[1]=i[1]+S>>>0,i[2]=i[2]+E>>>0,i[3]=i[3]+A>>>0,i[4]=i[4]+T>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,i[0]&255,i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,i[1]&255,i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,i[2]&255,i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,i[3]&255,i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,i[4]&255]}var a=n},284544:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return i}});var s=n(e(713178));function n(o){return o&&o.__esModule?o:{default:o}}for(var a=[],t=0;t<256;++t)a.push((t+256).toString(16).substr(1));function r(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=(a[o[d+0]]+a[o[d+1]]+a[o[d+2]]+a[o[d+3]]+"-"+a[o[d+4]]+a[o[d+5]]+"-"+a[o[d+6]]+a[o[d+7]]+"-"+a[o[d+8]]+a[o[d+9]]+"-"+a[o[d+10]]+a[o[d+11]]+a[o[d+12]]+a[o[d+13]]+a[o[d+14]]+a[o[d+15]]).toLowerCase();if(!(0,s.default)(u))throw TypeError("Stringified UUID is invalid");return u}var i=r},924597:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return u}});var s=a(e(208083)),n=a(e(284544));
67function a(l){return l&&l.__esModule?l:{default:l}}var t,r,i=0,o=0;function d(l,c,g){var v=c&&g||0,h=c||new Array(16);l=l||{};var p=l.node||t,m=l.clockseq!==void 0?l.clockseq:r;if(p==null||m==null){var P=l.random||(l.rng||s.default)();p==null&&(p=t=[P[0]|1,P[1],P[2],P[3],P[4],P[5]]),m==null&&(m=r=(P[6]<<8|P[7])&16383)}var _=l.msecs!==void 0?l.msecs:Date.now(),b=l.nsecs!==void 0?l.nsecs:o+1,S=_-i+(b-o)/1e4;if(S<0&&l.clockseq===void 0&&(m=m+1&16383),(S<0||_>i)&&l.nsecs===void 0&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");i=_,o=b,r=m,_+=122192928e5;var E=((_&268435455)*1e4+b)%4294967296;h[v++]=E>>>24&255,h[v++]=E>>>16&255,h[v++]=E>>>8&255,h[v++]=E&255;var A=_/4294967296*1e4&268435455;h[v++]=A>>>8&255,h[v++]=A&255,h[v++]=A>>>24&15|16,h[v++]=A>>>16&255,h[v++]=m>>>8|128,h[v++]=m&255;for(var T=0;T<6;++T)h[v+T]=p[T];return c||(0,n.default)(h)}var u=d},551785:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=a(e(370405)),n=a(e(503905));function a(i){return i&&i.__esModule?i:{default:i}}var t=(0,s.default)("v3",48,n.default),r=t},370405:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0});function s(u,l){for(var c in l)Object.defineProperty(u,c,{enumerable:!0,get:l[c]})}s(f,{DNS:function(){return i},URL:function(){return o},default:function(){return d}});var n=t(e(284544)),a=t(e(188096));function t(u){return u&&u.__esModule?u:{default:u}}function r(u){u=unescape(encodeURIComponent(u));for(var l=[],c=0;c<u.length;++c)l.push(u.charCodeAt(c));return l}var i="6ba7b810-9dad-11d1-80b4-00c04fd430c8",o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function d(u,l,c){var g=function(h,p,m,P){if(typeof h=="string"&&(h=r(h)),typeof p=="string"&&(p=(0,a.default)(p)),p.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var _=new Uint8Array(16+h.length);if(_.set(p),_.set(h,p.length),_=c(_),_[6]=_[6]&15|l,_[8]=_[8]&63|128,m){P=P||0;for(var b=0;b<16;++b)m[P+b]=_[b];return m}return(0,n.default)(_)};try{g.name=u}catch(v){}return g.DNS=i,g.URL=o,g}},702686:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=a(e(208083)),n=a(e(284544));function a(i){return i&&i.__esModule?i:{default:i}}function t(i,o,d){i=i||{};var u=i.random||(i.rng||s.default)();if(u[6]=u[6]&15|64,u[8]=u[8]&63|128,o){d=d||0;for(var l=0;l<16;++l)o[d+l]=u[l];return o}return(0,n.default)(u)}var r=t},40926:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return r}});var s=a(e(370405)),n=a(e(608e3));function a(i){return i&&i.__esModule?i:{default:i}}var t=(0,s.default)("v5",80,n.default),r=t},713178:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=n(e(117093));function n(r){return r&&r.__esModule?r:{default:r}}function a(r){return typeof r=="string"&&s.default.test(r)}var t=a},246595:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"default",{enumerable:!0,get:function(){return t}});var s=n(e(713178));function n(r){return r&&r.__esModule?r:{default:r}}function a(r){if(!(0,s.default)(r))throw TypeError("Invalid UUID");return parseInt(r.substr(14,1),16)}var t=a},779291:function(y,f,e){var s;(function(n){var a=/^\s+/,t=/\s+$/,r=0,i=n.round,o=n.min,d=n.max,u=n.random;function l(fe,ve){if(fe=fe||"",ve=ve||{},fe instanceof l)return fe;if(!(this instanceof l))return new l(fe,ve);var ae=c(fe);this._originalInput=fe,this._r=ae.r,this._g=ae.g,this._b=ae.b,this._a=ae.a,this._roundA=i(100*this._a)/100,this._format=ve.format||ae.format,this._gradientType=ve.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=ae.ok,this._tc_id=r++}l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var fe=this.toRgb();return(fe.r*299+fe.g*587+fe.b*114)/1e3},getLuminance:function(){var fe=this.toRgb(),ve,ae,le,Ee,xe,_e;return ve=fe.r/255,ae=fe.g/255,le=fe.b/255,ve<=.03928?Ee=ve/12.92:Ee=n.pow((ve+.055)/1.055,2.4),ae<=.03928?xe=ae/12.92:xe=n.pow((ae+.055)/1.055,2.4),le<=.03928?_e=le/12.92:_e=n.pow((le+.055)/1.055,2.4),.2126*Ee+.7152*xe+.0722*_e},setAlpha:function(fe){return this._a=F(fe),this._roundA=i(100*this._a)/100,this},toHsv:function(){var fe=p(this._r,this._g,this._b);return{h:fe.h*360,s:fe.s,v:fe.v,a:this._a}},toHsvString:function(){var fe=p(this._r,this._g,this._b),ve=i(fe.h*360),ae=i(fe.s*100),le=i(fe.v*100);return this._a==1?"hsv("+ve+", "+ae+"%, "+le+"%)":"hsva("+ve+", "+ae+"%, "+le+"%, "+this._roundA+")"},toHsl:function(){var fe=v(this._r,this._g,this._b);return{h:fe.h*360,s:fe.s,l:fe.l,a:this._a}},toHslString:function(){var fe=v(this._r,this._g,this._b),ve=i(fe.h*360),ae=i(fe.s*100),le=i(fe.l*100);return this._a==1?"hsl("+ve+", "+ae+"%, "+le+"%)":"hsla("+ve+", "+ae+"%, "+le+"%, "+this._roundA+")"},toHex:function(fe){return P(this._r,this._g,this._b,fe)},toHexString:function(fe){return"#"+this.toHex(fe)},toHex8:function(fe){return _(this._r,this._g,this._b,this._a,fe)},toHex8String:function(fe){return"#"+this.toHex8(fe)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(q(this._r,255)*100)+"%",g:i(q(this._g,255)*100)+"%",b:i(q(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+i(q(this._r,255)*100)+"%, "+i(q(this._g,255)*100)+"%, "+i(q(this._b,255)*100)+"%)":"rgba("+i(q(this._r,255)*100)+"%, "+i(q(this._g,255)*100)+"%, "+i(q(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:z[P(this._r,this._g,this._b,!0)]||!1},toFilter:function(fe){var ve="#"+b(this._r,this._g,this._b,this._a),ae=ve,le=this._gradientType?"GradientType = 1, ":"";if(fe){var Ee=l(fe);ae="#"+b(Ee._r,Ee._g,Ee._b,Ee._a)}return"progid:DXImageTransform.Microsoft.gradient("+le+"startColorstr="+ve+",endColorstr="+ae+")"},toString:function(fe){var ve=!!fe;fe=fe||this._format;var ae=!1,le=this._a<1&&this._a>=0,Ee=!ve&&le&&(fe==="hex"||fe==="hex6"||fe==="hex3"||fe==="hex4"||fe==="hex8"||fe==="name");return Ee?fe==="name"&&this._a===0?this.toName():this.toRgbString():(fe==="rgb"&&(ae=this.toRgbString()),fe==="prgb"&&(ae=this.toPercentageRgbString()),(fe==="hex"||fe==="hex6")&&(ae=this.toHexString()),fe==="hex3"&&(ae=this.toHexString(!0)),fe==="hex4"&&(ae=this.toHex8String(!0)),fe==="hex8"&&(ae=this.toHex8String()),fe==="name"&&(ae=this.toName()),fe==="hsl"&&(ae=this.toHslString()),fe==="hsv"&&(ae=this.toHsvString()),ae||this.toHexString())},clone:function(){return l(this.toString())},_applyModification:function(fe,ve){var ae=fe.apply(null,[this].concat([].slice.call(ve)));return this._r=ae._r,this._g=ae._g,this._b=ae._b,this.setAlpha(ae._a),this},lighten:function(){return this._applyModification(T,arguments)},brighten:function(){return this._applyModification(I,arguments)},darken:function(){return this._applyModification(R,arguments)},desaturate:function(){return this._applyModification(S,arguments)},saturate:function(){return this._applyModification(E,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(fe,ve){return fe.apply(null,[this].concat([].slice.call(ve)))},analogous:function(){return this._applyCombination(X,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(K,arguments)},splitcomplement:function(){return this._applyCombination(G,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(H,arguments)}},l.fromRatio=function(fe,ve){if(typeof fe=="object"){var ae={};for(var le in fe)fe.hasOwnProperty(le)&&(le==="a"?ae[le]=fe[le]:ae[le]=ee(fe[le]));fe=ae}return l(fe,ve)};function c(fe){var ve={r:0,g:0,b:0},ae=1,le=null,Ee=null,xe=null,_e=!1,Re=!1;return typeof fe=="string"&&(fe=Pe(fe)),typeof fe=="object"&&(Se(fe.r)&&Se(fe.g)&&Se(fe.b)?(ve=g(fe.r,fe.g,fe.b),_e=!0,Re=String(fe.r).substr(-1)==="%"?"prgb":"rgb"):Se(fe.h)&&Se(fe.s)&&Se(fe.v)?(le=ee(fe.s),Ee=ee(fe.v),ve=m(fe.h,le,Ee),_e=!0,Re="hsv"):Se(fe.h)&&Se(fe.s)&&Se(fe.l)&&(le=ee(fe.s),xe=ee(fe.l),ve=h(fe.h,le,xe),_e=!0,Re="hsl"),fe.hasOwnProperty("a")&&(ae=fe.a)),ae=F(ae),{ok:_e,format:fe.format||Re,r:o(255,d(ve.r,0)),g:o(255,d(ve.g,0)),b:o(255,d(ve.b,0)),a:ae}}function g(fe,ve,ae){return{r:q(fe,255)*255,g:q(ve,255)*255,b:q(ae,255)*255}}function v(fe,ve,ae){fe=q(fe,255),ve=q(ve,255),ae=q(ae,255);var le=d(fe,ve,ae),Ee=o(fe,ve,ae),xe,_e,Re=(le+Ee)/2;if(le==Ee)xe=_e=0;else{var Be=le-Ee;switch(_e=Re>.5?Be/(2-le-Ee):Be/(le+Ee),le){case fe:xe=(ve-ae)/Be+(ve<ae?6:0);break;case ve:xe=(ae-fe)/Be+2;break;case ae:xe=(fe-ve)/Be+4;break}xe/=6}return{h:xe,s:_e,l:Re}}function h(fe,ve,ae){var le,Ee,xe;fe=q(fe,360),ve=q(ve,100),ae=q(ae,100);function _e(nt,Je,ue){return ue<0&&(ue+=1),ue>1&&(ue-=1),ue<1/6?nt+(Je-nt)*6*ue:ue<1/2?Je:ue<2/3?nt+(Je-nt)*(2/3-ue)*6:nt}if(ve===0)le=Ee=xe=ae;else{var Re=ae<.5?ae*(1+ve):ae+ve-ae*ve,Be=2*ae-Re;le=_e(Be,Re,fe+1/3),Ee=_e(Be,Re,fe),xe=_e(Be,Re,fe-1/3)}return{r:le*255,g:Ee*255,b:xe*255}}function p(fe,ve,ae){fe=q(fe,255),ve=q(ve,255),ae=q(ae,255);var le=d(fe,ve,ae),Ee=o(fe,ve,ae),xe,_e,Re=le,Be=le-Ee;if(_e=le===0?0:Be/le,le==Ee)xe=0;else{switch(le){case fe:xe=(ve-ae)/Be+(ve<ae?6:0);break;case ve:xe=(ae-fe)/Be+2;break;case ae:xe=(fe-ve)/Be+4;break}xe/=6}return{h:xe,s:_e,v:Re}}function m(fe,ve,ae){fe=q(fe,360)*6,ve=q(ve,100),ae=q(ae,100);var le=n.floor(fe),Ee=fe-le,xe=ae*(1-ve),_e=ae*(1-Ee*ve),Re=ae*(1-(1-Ee)*ve),Be=le%6,nt=[ae,_e,xe,xe,Re,ae][Be],Je=[Re,ae,ae,_e,xe,xe][Be],ue=[xe,xe,Re,ae,ae,_e][Be];return{r:nt*255,g:Je*255,b:ue*255}}function P(fe,ve,ae,le){var Ee=[$(i(fe).toString(16)),$(i(ve).toString(16)),$(i(ae).toString(16))];return le&&Ee[0].charAt(0)==Ee[0].charAt(1)&&Ee[1].charAt(0)==Ee[1].charAt(1)&&Ee[2].charAt(0)==Ee[2].charAt(1)?Ee[0].charAt(0)+Ee[1].charAt(0)+Ee[2].charAt(0):Ee.join("")}function _(fe,ve,ae,le,Ee){var xe=[$(i(fe).toString(16)),$(i(ve).toString(16)),$(i(ae).toString(16)),$(oe(le))];return Ee&&xe[0].charAt(0)==xe[0].charAt(1)&&xe[1].charAt(0)==xe[1].charAt(1)&&xe[2].charAt(0)==xe[2].charAt(1)&&xe[3].charAt(0)==xe[3].charAt(1)?xe[0].charAt(0)+xe[1].charAt(0)+xe[2].charAt(0)+xe[3].charAt(0):xe.join("")}function b(fe,ve,ae,le){var Ee=[$(oe(le)),$(i(fe).toString(16)),$(i(ve).toString(16)),$(i(ae).toString(16))];return Ee.join("")}l.equals=function(fe,ve){return!fe||!ve?!1:l(fe).toRgbString()==l(ve).toRgbString()},l.random=function(){return l.fromRatio({r:u(),g:u(),b:u()})};function S(fe,ve){ve=ve===0?0:ve||10;var ae=l(fe).toHsl();return ae.s-=ve/100,ae.s=N(ae.s),l(ae)}function E(fe,ve){ve=ve===0?0:ve||10;var ae=l(fe).toHsl();return ae.s+=ve/100,ae.s=N(ae.s),l(ae)}function A(fe){return l(fe).desaturate(100)}function T(fe,ve){ve=ve===0?0:ve||10;var ae=l(fe).toHsl();return ae.l+=ve/100,ae.l=N(ae.l),l(ae)}function I(fe,ve){ve=ve===0?0:ve||10;var ae=l(fe).toRgb();return ae.r=d(0,o(255,ae.r-i(255*-(ve/100)))),ae.g=d(0,o(255,ae.g-i(255*-(ve/100)))),ae.b=d(0,o(255,ae.b-i(255*-(ve/100)))),l(ae)}function R(fe,ve){ve=ve===0?0:ve||10;var ae=l(fe).toHsl();return ae.l-=ve/100,ae.l=N(ae.l),l(ae)}function j(fe,ve){var ae=l(fe).toHsl(),le=(ae.h+ve)%360;return ae.h=le<0?360+le:le,l(ae)}function x(fe){var ve=l(fe).toHsl();return ve.h=(ve.h+180)%360,l(ve)}function L(fe){var ve=l(fe).toHsl(),ae=ve.h;return[l(fe),l({h:(ae+120)%360,s:ve.s,l:ve.l}),l({h:(ae+240)%360,s:ve.s,l:ve.l})]}function H(fe){var ve=l(fe).toHsl(),ae=ve.h;return[l(fe),l({h:(ae+90)%360,s:ve.s,l:ve.l}),l({h:(ae+180)%360,s:ve.s,l:ve.l}),l({h:(ae+270)%360,s:ve.s,l:ve.l})]}function G(fe){var ve=l(fe).toHsl(),ae=ve.h;return[l(fe),l({h:(ae+72)%360,s:ve.s,l:ve.l}),l({h:(ae+216)%360,s:ve.s,l:ve.l})]}function X(fe,ve,ae){ve=ve||6,ae=ae||30;var le=l(fe).toHsl(),Ee=360/ae,xe=[l(fe)];for(le.h=(le.h-(Ee*ve>>1)+720)%360;--ve;)le.h=(le.h+Ee)%360,xe.push(l(le));return xe}function K(fe,ve){ve=ve||6;for(var ae=l(fe).toHsv(),le=ae.h,Ee=ae.s,xe=ae.v,_e=[],Re=1/ve;ve--;)_e.push(l({h:le,s:Ee,v:xe})),xe=(xe+Re)%1;return _e}l.mix=function(fe,ve,ae){ae=ae===0?0:ae||50;var le=l(fe).toRgb(),Ee=l(ve).toRgb(),xe=ae/100,_e={r:(Ee.r-le.r)*xe+le.r,g:(Ee.g-le.g)*xe+le.g,b:(Ee.b-le.b)*xe+le.b,a:(Ee.a-le.a)*xe+le.a};return l(_e)},l.readability=function(fe,ve){var ae=l(fe),le=l(ve);return(n.max(ae.getLuminance(),le.getLuminance())+.05)/(n.min(ae.getLuminance(),le.getLuminance())+.05)},l.isReadable=function(fe,ve,ae){var le=l.readability(fe,ve),Ee,xe;switch(xe=!1,Ee=He(ae),Ee.level+Ee.size){case"AAsmall":case"AAAlarge":xe=le>=4.5;break;case"AAlarge":xe=le>=3;break;case"AAAsmall":xe=le>=7;break}return xe},l.mostReadable=function(fe,ve,ae){var le=null,Ee=0,xe,_e,Re,Be;ae=ae||{},_e=ae.includeFallbackColors,Re=ae.level,Be=ae.size;
67for(var nt=0;nt<ve.length;nt++)xe=l.readability(fe,ve[nt]),xe>Ee&&(Ee=xe,le=l(ve[nt]));return l.isReadable(fe,le,{level:Re,size:Be})||!_e?le:(ae.includeFallbackColors=!1,l.mostReadable(fe,["#fff","#000"],ae))};var J=l.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
670",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=l.hexNames=k(J);function k(fe){var ve={};for(var ae in fe)fe.hasOwnProperty(ae)&&(ve[fe[ae]]=ae);return ve}function F(fe){return fe=parseFloat(fe),(isNaN(fe)||fe<0||fe>1)&&(fe=1),fe}function q(fe,ve){U(fe)&&(fe="100%");var ae=Q(fe);return fe=o(ve,d(0,parseFloat(fe))),ae&&(fe=parseInt(fe*ve,10)/100),n.abs(fe-ve)<1e-6?1:fe%ve/parseFloat(ve)}function N(fe){return o(1,d(0,fe))}function M(fe){return parseInt(fe,16)}function U(fe){return typeof fe=="string"&&fe.indexOf(".")!=-1&&parseFloat(fe)===1}function Q(fe){return typeof fe=="string"&&fe.indexOf("%")!=-1}function $(fe){return fe.length==1?"0"+fe:""+fe}function ee(fe){return fe<=1&&(fe=fe*100+"%"),fe}function oe(fe){return n.round(parseFloat(fe)*255).toString(16)}function pe(fe){return M(fe)/255}var me=function(){var fe="[-\\+]?\\d+%?",ve="[-\\+]?\\d*\\.\\d+%?",ae="(?:"+ve+")|(?:"+fe+")",le="[\\s|\\(]+("+ae+")[,|\\s]+("+ae+")[,|\\s]+("+ae+")\\s*\\)?",Ee="[\\s|\\(]+("+ae+")[,|\\s]+("+ae+")[,|\\s]+("+ae+")[,|\\s]+("+ae+")\\s*\\)?";return{CSS_UNIT:new RegExp(ae),rgb:new RegExp("rgb"+le),rgba:new RegExp("rgba"+Ee),hsl:new RegExp("hsl"+le),hsla:new RegExp("hsla"+Ee),hsv:new RegExp("hsv"+le),hsva:new RegExp("hsva"
67+Ee),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Se(fe){return!!me.CSS_UNIT.exec(fe)}function Pe(fe){fe=fe.replace(a,"").replace(t,"").toLowerCase();var ve=!1;if(J[fe])fe=J[fe],ve=!0;else if(fe=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ae;return(ae=me.rgb.exec(fe))?{r:ae[1],g:ae[2],b:ae[3]}:(ae=me.rgba.exec(fe))?{r:ae[1],g:ae[2],b:ae[3],a:ae[4]}:(ae=me.hsl.exec(fe))?{h:ae[1],s:ae[2],l:ae[3]}:(ae=me.hsla.exec(fe))?{h:ae[1],s:ae[2],l:ae[3],a:ae[4]}:(ae=me.hsv.exec(fe))?{h:ae[1],s:ae[2],v:ae[3]}:(ae=me.hsva.exec(fe))?{h:ae[1],s:ae[2],v:ae[3],a:ae[4]}:(ae=me.hex8.exec(fe))?{r:M(ae[1]),g:M(ae[2]),b:M(ae[3]),a:pe(ae[4]),format:ve?"name":"hex8"}:(ae=me.hex6.exec(fe))?{r:M(ae[1]),g:M(ae[2]),b:M(ae[3]),format:ve?"name":"hex"}:(ae=me.hex4.exec(fe))?{r:M(ae[1]+""+ae[1]),g:M(ae[2]+""+ae[2]),b:M(ae[3]+""+ae[3]),a:pe(ae[4]+""+ae[4]),format:ve?"name":"hex8"}:(ae=me.hex3.exec(fe))?{r:M(ae[1]+""+ae[1]),g:M(ae[2]+""+ae[2]),b:M(ae[3]+""+ae[3]),format:ve?"name":"hex"}:!1}function He(fe){var ve,ae;return fe=fe||{level:"AA",size:"small"},ve=(fe.level||"AA").toUpperCase(),ae=(fe.size||"small").toLowerCase(),ve!=="AA"&&ve!=="AAA"&&(ve="AA"),ae!=="small"&&ae!=="large"&&(ae="small"),{level:ve,size:ae}}y.exports?y.exports=l:(s=function(){return l}.call(f,e,f,y),s!==void 0&&(y.exports=s))})(Math)},75857:function(y){"use strict";function f(){var e=[],s=!1,n={},a=function(o){var d=e.indexOf(o);if(!(d<0)){if(s){n[d]=o;return}e.splice(d,1)}},t=function(o){var d=e.push(o),u=function(){return a(o)};return{dispose:u}},r=function(){for(var o=arguments.length,d=Array(o),u=0;u<o;u++)d[u]=arguments[u];s=!0;try{e.forEach(function(l,c){return n[c]||l.apply(void 0,d)})}finally{s=!1,Object.keys(n).forEach(function(l){return a(n[l])}),n={}}};return{publish:r,subscribe:t,$subscriptions:e}}y.exports=f},700236:function(y){y.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}},962601:function(y,f,e){var s=e(760636),n=/%[sdj%]/g;f.format=function(z){if(!S(z)){for(var k=[],F=0;F<arguments.length;F++)k.push(r(arguments[F]));return k.join(" ")}for(var F=1,q=arguments,N=q.length,M=String(z).replace(n,function(Q){if(Q==="%%")return"%";if(F>=N)return Q;switch(Q){case"%s":return String(q[F++]);case"%d":return Number(q[F++]);case"%j":try{return JSON.stringify(q[F++])}catch($){return"[Circular]"}default:return Q}}),U=q[F];F<N;U=q[++F])P(U)||!I(U)?M+=" "+U:M+=" "+r(U);return M},f.deprecate=function(z,k){if(A(e.g.process))return function(){return f.deprecate(z,k).apply(this,arguments)};if(s.noDeprecation===!0)return z;var F=!1;function q(){if(!F){if(s.throwDeprecation)throw new Error(k);s.traceDeprecation?console.trace(k):console.error(k),F=!0}return z.apply(this,arguments)}return q};var a={},t;f.debuglog=function(z){if(A(t)&&(t=s.env.NODE_DEBUG||""),z=z.toUpperCase(),!a[z])if(new RegExp("\\b"+z+"\\b","i").test(t)){var k=s.pid;a[z]=function(){var F=f.format.apply(f,arguments);console.error("%s %d: %s",z,k,F)}}else a[z]=function(){};return a[z]};function r(z,k){var F={seen:[],stylize:o};return arguments.length>=3&&(F.depth=arguments[2]),arguments.length>=4&&(F.colors=arguments[3]),m(k)?F.showHidden=k:k&&f._extend(F,k),A(F.showHidden)&&(F.showHidden=!1),A(F.depth)&&(F.depth=2),A(F.colors)&&(F.colors=!1),A(F.customInspect)&&(F.customInspect=!0),F.colors&&(F.stylize=i),u(F,z,F.depth)}f.inspect=r,r.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},r.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(z,k){var F=r.styles[k];return F?"�["+r.colors[F][0]+"m"+z+"�["+r.colors[F][1]+"m":z}function o(z,k){return z}function d(z){var k={};return z.forEach(function(F,q){k[F]=!0}),k}function u(z,k,F){if(z.customInspect&&k&&x(k.inspect)&&k.inspect!==f.inspect&&!(k.constructor&&k.constructor.prototype===k)){var q=k.inspect(F,z);return S(q)||(q=u(z,q,F)),q}var N=l(z,k);if(N)return N;var M=Object.keys(k),U=d(M);if(z.showHidden&&(M=Object.getOwnPropertyNames(k)),j(k)&&(M.indexOf("message")>=0||M.indexOf("description")>=0))return c(k);if(M.length===0){if(x(k)){var Q=k.name?": "+k.name:"";return z.stylize("[Function"+Q+"]","special")}if(T(k))return z.stylize(RegExp.prototype.toString.call(k),"regexp");if(R(k))return z.stylize(Date.prototype.toString.call(k),"date");if(j(k))return c(k)}var $="",ee=!1,oe=["{","}"];if(p(k)&&(ee=!0,oe=["[","]"]),x(k)){var pe=k.name?": "+k.name:"";$=" [Function"+pe+"]"}if(T(k)&&($=" "+RegExp.prototype.toString.call(k)),R(k)&&($=" "+Date.prototype.toUTCString.call(k)),j(k)&&($=" "+c(k)),M.length===0&&(!ee||k.length==0))return oe[0]+$+oe[1];if(F<0)return T(k)?z.stylize(RegExp.prototype.toString.call(k),"regexp"):z.stylize("[Object]","special");z.seen.push(k);var me;return ee?me=g(z,k,F,U,M):me=M.map(function(Se){return v(z,k,F,U,Se,ee)}),z.seen.pop(),h(me,$,oe)}
67function l(z,k){if(A(k))return z.stylize("undefined","undefined");if(S(k)){var F="'"+JSON.stringify(k).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return z.stylize(F,"string")}if(b(k))return z.stylize(""+k,"number");if(m(k))return z.stylize(""+k,"boolean");if(P(k))return z.stylize("null","null")}function c(z){return"["+Error.prototype.toString.call(z)+"]"}function g(z,k,F,q,N){for(var M=[],U=0,Q=k.length;U<Q;++U)J(k,String(U))?M.push(v(z,k,F,q,String(U),!0)):M.push("");return N.forEach(function($){$.match(/^\d+$/)||M.push(v(z,k,F,q,$,!0))}),M}function v(z,k,F,q,N,M){var U,Q,$;if($=Object.getOwnPropertyDescriptor(k,N)||{value:k[N]},$.get?$.set?Q=z.stylize("[Getter/Setter]","special"):Q=z.stylize("[Getter]","special"):$.set&&(Q=z.stylize("[Setter]","special")),J(q,N)||(U="["+N+"]"),Q||(z.seen.indexOf($.value)<0?(P(F)?Q=u(z,$.value,null):Q=u(z,$.value,F-1),Q.indexOf("\n")>-1&&(M?Q=Q.split("\n").map(function(ee){return"  "+ee}).join("\n").substr(2):Q="\n"+Q.split("\n").map(function(ee){return"   "+ee}).join("\n"))):Q=z.stylize("[Circular]","special")),A(U)){if(M&&N.match(/^\d+$/))return Q;U=JSON.stringify(""+N),U.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(U=U.substr(1,U.length-2),U=z.stylize(U,"name")):(U=U.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),U=z.stylize(U,"string"))}return U+": "+Q}function h(z,k,F){var q=0,N=z.reduce(function(M,U){return q++,U.indexOf("\n")>=0&&q++,M+U.replace(/\u001b\[\d\d?m/g,"").length+1},0);return N>60?F[0]+(k===""?"":k+"\n ")+" "+z.join(",\n  ")+" "+F[1]:F[0]+k+" "+z.join(", ")+" "+F[1]}function p(z){return Array.isArray(z)}f.isArray=p;function m(z){return typeof z=="boolean"}f.isBoolean=m;function P(z){return z===null}f.isNull=P;function _(z){return z==null}f.isNullOrUndefined=_;function b(z){return typeof z=="number"}f.isNumber=b;function S(z){return typeof z=="string"}f.isString=S;function E(z){return typeof z=="symbol"}f.isSymbol=E;function A(z){return z===void 0}f.isUndefined=A;function T(z){return I(z)&&H(z)==="[object RegExp]"}f.isRegExp=T;function I(z){return typeof z=="object"&&z!==null}f.isObject=I;function R(z){return I(z)&&H(z)==="[object Date]"}f.isDate=R;function j(z){return I(z)&&(H(z)==="[object Error]"||z instanceof Error)}f.isError=j;function x(z){return typeof z=="function"}f.isFunction=x;function L(z){return z===null||typeof z=="boolean"||typeof z=="number"||typeof z=="string"||typeof z=="symbol"||typeof z=="undefined"}f.isPrimitive=L,f.isBuffer=e(700236);function H(z){return Object.prototype.toString.call(z)}function G(z){return z<10?"0"+z.toString(10):z.toString(10)}var X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function K(){var z=new Date,k=[G(z.getHours()),G(z.getMinutes()),G(z.getSeconds())].join(":");return[z.getDate(),X[z.getMonth()],k].join(" ")}f.log=function(){console.log("%s - %s",K(),f.format.apply(f,arguments))},f.inherits=e(387966),f._extend=function(z,k){if(!k||!I(k))return z;for(var F=Object.keys(k),q=F.length;q--;)z[F[q]]=k[F[q]];return z};function J(z,k){return Object.prototype.hasOwnProperty.call(z,k)}},301314:function(y){"use strict";var f=function(){};y.exports=f},246118:function(y){var f=y.exports={},e,s;function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=n}catch(h){e=n}try{typeof clearTimeout=="function"?s=clearTimeout:s=a}catch(h){s=a}})();function t(h){if(e===setTimeout)return setTimeout(h,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(h,0);try{return e(h,0)}catch(p){try{return e.call(null,h,0)}catch(m){return e.call(this,h,0)}}}function r(h){if(s===clearTimeout)return clearTimeout(h);if((s===a||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(h);try{return s(h)}catch(p){try{return s.call(null,h)}catch(m){return s.call(this,h)}}}var i=[],o=!1,d,u=-1;function l(){!o||!d||(o=!1,d.length?i=d.concat(i):u=-1,i.length&&c())}function c(){if(!o){var h=t(l);o=!0;for(var p=i.length;p;){for(d=i,i=[];++u<p;)d&&d[u].run();u=-1,p=i.length}d=null,o=!1,r(h)}}f.nextTick=function(h){var p=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)p[m-1]=arguments[m];i.push(new g(h,p)),i.length===1&&!o&&t(c)};function g(h,p){this.fun=h,this.array=p}g.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={};function v(){}f.on=v,f.addListener=v,f.once=v,f.off=v,f.removeListener=v,f.removeAllListeners=v,f.emit=v,f.prependListener=v,f.prependOnceListener=v,f.listeners=function(h){return[]},f.binding=function(h){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(h){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},245090:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),f.setI18nInstance=f.getI18nInstance=void 0;var s=e(825672),n="commerce-afterpay";function a(o){return e(237449)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance;f.setI18nInstance=i,f.getI18nInstance=r},237449:function(y,f,e){var s={"./commerce-afterpay.en-US.yaml":563622,"src/main/webapp/frontend/packages/commerce-afterpay/sqs-i18n-translations/strings/commerce-afterpay.en-US.yaml":563622};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=237449},358322:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.setI18nInstance=f.getI18nInstance=void 0;var s=e(825672),n="commerce.utils";function a(o){return e(674432)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance;f.setI18nInstance=i,f.getI18nInstance=r},674432:function(y,f,e){var s={"./commerce.utils.en-US.yaml":470291,"src/main/webapp/frontend/packages/commerce-utils/sqs-i18n-translations/strings/commerce.utils.en-US.yaml":470291};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=674432},789204:function(y,f,e){"use strict";e.r(f),e.d(f,{TextAttributeId:function(){return Pn},TextHighlightMarkClassName:function(){return An},TextShape:function(){return $n},scaleAllTextInNode:function(){return a}});var s=e(392338);function n($e){if(!!$e){var Ue=$e.parentElement;if(!!Ue){var re=Array.from(Ue.querySelectorAll(".sqsrte-scaled-text-container"));re.forEach(function(ie){ie.classList.remove("loaded")}),re.forEach(function(ie){var de=Ue.getBoundingClientRect().width,ye=ie.querySelector(".sqsrte-scaled-text"),Ge=window.getComputedStyle(ye),je=Ge.fontSize,Ze=parseFloat(je),dt=ye.getBoundingClientRect(),pt=dt.width,gt=de/pt;ye.style.fontSize="".concat(Math.round(gt*Ze*10)/10,"px"),ie.classList.add("loaded")})}}}var a=n,t=e(858240),r=e.n(t),i=e(4636),o=e.n(i),d=e(346797),u=e.n(d),l=e(708380),c=e(799035),g=e(901956),v=e.n(g),h=e(569644),p=e.n(h),m=e(107066),P=e.n(m);function _($e){return $e&&$e.constructor&&$e.constructor.name==="Object"}function b($e,Ue){return!$e&&!Ue||Array.isArray($e)&&Array.isArray(Ue)||_($e)&&_(Ue)||typeof $e=="string"&&typeof Ue=="string"||!isNaN($e)&&!isNaN(Ue)}function S($e){var Ue=$e.newPointer,re=$e.oldPointer,ie=new Set;return Ue.forEach(function(de){re.includes(de)||ie.add(de)}),Array.isArray(re)&&re.forEach(function(de){Ue.includes(de)||ie.add(de)}),Array.from(ie)}function E($e,Ue){var re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(p()($e)!=="object"||p()(Ue)!=="object")throw new Error("".concat(E.name," parameters must be Arrays or Objects, received: ").concat($e," and ").concat(Ue));if(!P()($e,Ue)){if(Array.isArray($e)&&Array.isArray(Ue))return S({newPointer:$e,oldPointer:Ue});var ie=Object.keys($e),de=ie.map(function(Ge){var je=$e[Ge],Ze=Ue[Ge];if(!b(je,Ze))return"".concat(re).concat(Ge);if(_(je)&&_(Ze))return E(je,Ze,"".concat(re).concat(Ge,"."));if(Array.isArray(je)){if(P()(je,Ze))return null;var dt=S({newPointer:je,oldPointer:Ze});return"".concat(re).concat(Ge,"[").concat(dt,"]")}return P()(je,Ze)?null:"".concat(re).concat(Ge)}).filter(function(Ge){return!!Ge}),ye=S({newPointer:Object.keys($e),oldPointer:Object.keys(Ue)});return ye.forEach(function(Ge){de.includes("".concat(re).concat(Ge))||de.push("".concat(re).concat(Ge))}),de.flat()}return[]}var A=E,T=e(721854),I=e.n(T),R=e(699467),j=e.n(R),x=e(506051),L=e.n(x),H=e(375798),G=e.n(H),X=function(Ue){return"<svg>".concat(Ue,"</svg>")},K=function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"M0,0";return'<path d="'.concat(Ue,'" vector-effect="non-scaling-stroke" />')},J=function(Ue,re){var ie=re[0]-Ue[0],de=re[1]-Ue[1];return{length:Math.sqrt(Math.pow(ie,2)+Math.pow(de,2)),angle:Math.atan2(de,ie)}},z=function(Ue,re){return function(ie,de,ye,Ge){var je=de||ie,Ze=ye||ie,dt=Ue(je,Ze),pt=dt.angle+(Ge?Math.PI:0),gt=dt.length*.5*re,$t=ie[0]+Math.cos(pt)*gt,sn=ie[1]+Math.sin(pt)*gt;return[$t,sn]}},k=function(Ue){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(ie,de,ye){var Ge=G()(ye[de-1],2),je=Ge[0],Ze=Ge[1],dt=Ue(ye[de-1],ye[de-2],ie),pt=Ue(ie,ye[de-1],ye[de+1],!0),gt=re&&de===ye.length-1?" z":"";return"c ".concat(dt[0]-je,",").concat(dt[1]-Ze," ").concat(pt[0]-je,",").concat(pt[1]-Ze," ").concat(ie[0]-je,",").concat(ie[1]-Ze).concat(gt)}},F=function(Ue,re){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ue.reduce(function(de,ye,Ge,je){return Ge===0?ie?"":"M ".concat(ye[0],",").concat(ye[1]):"".concat(de," ").concat(re(ye,Ge,je))},"")};function q($e,Ue){var re=Object.keys($e);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols($e);Ue&&(ie=ie.filter(function(de){return Object.getOwnPropertyDescriptor($e,de).enumerable})),re.push.apply(re,ie)}return re}function N($e){for(var Ue=1;Ue<arguments.length;Ue++){var re=arguments[Ue]!=null?arguments[Ue]:{};
67Ue%2?q(Object(re),!0).forEach(function(ie){u()($e,ie,re[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(re)):q(Object(re)).forEach(function(ie){Object.defineProperty($e,ie,Object.getOwnPropertyDescriptor(re,ie))})}return $e}var M=function(){function $e(Ue,re){var ie=this;r()(this,$e),u()(this,"node",document.createElement("svg")),u()(this,"paths",[]),u()(this,"pathsLen",[]),u()(this,"lastWidth",-1),u()(this,"lastHeight",-1),u()(this,"setRefs",function(){ie.svg=ie.container.querySelector("svg"),ie.paths=Array.from(ie.container.querySelectorAll("path"))});var de=re.uniforms;this.uniforms=N({progress:{value:-1}},de),this.container=Ue}return o()($e,[{key:"calculatePathLengths",value:function(){this.pathsLen=this.paths.map(function(re){return re.getTotalLength()})}},{key:"onSetSize",value:function(re,ie){}},{key:"onUpdate",value:function(){}},{key:"onDestroy",value:function(){}},{key:"setSize",value:function(re,ie){re===this.lastWidth&&ie===this.lastHeight||(this.onSetSize(re,ie),this.calculatePathLengths(),this.lastWidth=re,this.lastHeight=ie,this.update())}},{key:"update",value:function(){var re=this,ie=this.uniforms.progressDraw;this.paths.forEach(function(de,ye){var Ge=Math.ceil(re.pathsLen[ye]);!Ge||(de.setAttribute("stroke-dasharray",Ge),de.setAttribute("stroke-dashoffset",Ge*2+ie.value*-Ge))}),this.onUpdate()}},{key:"destroy",value:function(){this.onDestroy(),this.node.remove()}}]),$e}();function U($e){var Ue=Q();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var $=function($e){I()(re,$e);var Ue=U(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=Math.min(de*.2,10),je=Math.min(ye*.25,5),Ze=de+Ge*2,dt=ye+je*2,pt=["M".concat(-Ge+Ze*.35,",").concat(-je+dt*.95),"C ".concat(-Ge+Ze*.554,",").concat(-je+dt*.994," ").concat(-Ge+Ze,",").concat(-je+dt*.94," ").concat(-Ge+Ze,",").concat(-je+dt*.52),"C ".concat(-Ge+Ze,",").concat(-je+dt*.165," ").concat(-Ge+Ze*.706,",",0," ").concat(-Ge+Ze*.496,",",0),"S ".concat(-Ge+Ze*.01,",").concat(-je+dt*.165," ").concat(-Ge+Ze*.01,",").concat(-je+dt*.508),"S ".concat(-Ge+Ze*.241,",").concat(-je+dt*1.039," ").concat(-Ge+Ze*.74,",").concat(-je+dt*.994)];this.paths[0].setAttribute("d",pt.join(" "))}}]),re}(M);function ee($e){var Ue=oe();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var pe=function($e){I()(re,$e);var Ue=ee(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()+K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=this;this.paths.forEach(function(je,Ze){var dt=re.paths[Ze].map(function(pt){return[pt[0]*de,pt[1]*ye]});je.setAttribute("d",F(dt,Ge.bezierCalc))})}}]),re}(M);pe.paths=[[[0,1],[.5,.55],[1,.25]],[[0,.23],[.6,.6],[1,.9]]];function me($e){var Ue=Se();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function Se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Pe=function($e){I()(re,$e);var Ue=me(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.7)),ie.innerHTML=X(K()+K()),ye.setRefs(),ye}
67return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=this;this.paths.forEach(function(je,Ze){var dt=re.paths[Ze].map(function(pt){return[pt[0]*de,pt[1]*ye]});je.setAttribute("d",F(dt,Ge.bezierCalc))})}}]),re}(M);Pe.paths=[[[0,.22],[.25,.21],[.5,.2],[.75,.21],[1,.24]],[[0,.92],[.25,.9],[.5,.88],[.75,.9],[1,.92]]];function He($e){var Ue=fe();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var ve=function($e){I()(re,$e);var Ue=He(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=this.uniforms.fontSize.value,je=Ge*.25,Ze=Ge*.12,dt=Math.floor(de/(je*.7)),pt=ye*.97,gt=[[0,pt],[je,pt-Ze],[je*.7,pt]],$t=F(gt,this.bezierCalc,!0);this.paths[0].setAttribute("d","M0,".concat(pt," ").concat($t.repeat(dt)))}}]),re}(M);function ae($e){var Ue=le();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Ee=function($e){I()(re,$e);var Ue=ae(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.3)),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=re.path.map(function(je){return[je[0]*de,je[1]*ye]});this.paths[0].setAttribute("d",F(Ge,this.bezierCalc))}}]),re}(M);Ee.path=[[0,.88],[.5,.85],[1,.9],[.6,.85],[.1,.95],[.5,.93],[.8,.95],[.5,1],[.3,1]];function xe($e){var Ue=_e();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function _e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Re=function($e){I()(re,$e);var Ue=xe(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=re.paths[0].map(function(je){return[je[0]*de,je[1]*ye]});this.paths[0].setAttribute("d",F(Ge,this.bezierCalc))}}]),re}(M);Re.paths=[[[0,.55],[.5,.55],[1,.55]]];function Be($e){var Ue=nt();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function nt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Je=function($e){I()(re,$e);var Ue=Be(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=re.paths[0].map(function(je){return[je[0]*de,je[1]*ye]});this.paths[0].setAttribute("d",F(Ge,this.bezierCalc))}}]),re}(M);Je.paths=[[[0,.33],[.6,.6],[1,.88]]];function ue($e){var Ue=we();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function we(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var We=function($e){I()(re,$e);var Ue=ue(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ie.innerHTML=X(K()),ye.setRefs(),ye}
67return o()(re,[{key:"onSetSize",value:function(de,ye){this.paths[0].setAttribute("d","M0,".concat(ye*.9," L").concat(de,",").concat(ye*.9))}}]),re}(M);function qe($e){var Ue=Ie();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function Ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Me=function($e){I()(re,$e);var Ue=qe(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=[[0,ye*.99],[de*.5,ye*.88],[de,ye*.89],[de*.98,ye*.92]],je=[.5,.5,.5,.1],Ze=function(pt,gt,$t){var sn=z(J,je[gt]),tr=G()($t[gt-1],2),Wn=tr[0],Rn=tr[1],nr=sn($t[gt-1],$t[gt-2],pt),jn=sn(pt,$t[gt-1],$t[gt+1],!0);return"c ".concat(nr[0]-Wn,",").concat(nr[1]-Rn," ").concat(jn[0]-Wn,",").concat(jn[1]-Rn," ").concat(pt[0]-Wn,",").concat(pt[1]-Rn)};this.paths[0].setAttribute("d",F(Ge,Ze))}}]),re}(M);function Ve($e){var Ue=Ne();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function Ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var ke=function($e){I()(re,$e);var Ue=Ve(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()+K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=this;this.paths.forEach(function(je,Ze){var dt=re.paths[Ze].map(function(pt){return[pt[0]*de,pt[1]*ye]});je.setAttribute("d",F(dt,Ge.bezierCalc))})}}]),re}(M);ke.paths=[[[0,.9],[.5,.9],[1,.9]],[[0,1],[.5,1],[1,1]]];var et=e(603912),st=e.n(et);function Ce($e){var Ue=it();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function it(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var ct=function($e){I()(re,$e);var Ue=Ce(re);function re(ie,de){var ye;return r()(this,re),ye=Ue.call(this,ie,de),ye.bezierCalc=k(z(J,.5)),ie.innerHTML=X(K()),ye.setRefs(),ye}return o()(re,[{key:"onSetSize",value:function(de,ye){var Ge=this.uniforms.fontSize.value,je=Ge*.25,Ze=Ge*.15,dt=Math.ceil(de/je)+1,pt=ye*.97,gt=st()(Array(dt)).map(function($t,sn){return[sn*je,sn%2==0?pt:pt-Ze]});this.paths[0].setAttribute("d",F(gt,this.bezierCalc))}}]),re}(M),mt={circle:$,cross:pe,enclose:Pe,jagged:ve,marker:Re,scribble:Ee,strike:Re,strikeDiagonal:Je,underline:We,underlineCurve:Me,underlineDouble:ke,wave:ct},Ct=Object.keys(mt),Ht=mt,Rt=function(Ue,re){for(var ie in re)Ue.setProperty(ie,re[ie])},cn=function(Ue){return{left:Math.round(Ue.left),right:Math.round(Ue.right),x:Math.round(Ue.left),y:Math.round(Ue.top),width:Math.max(0,Math.round(Ue.width)),height:Math.max(0,Math.round(Ue.height))}};function Cn($e,Ue){var re=Object.keys($e);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols($e);Ue&&(ie=ie.filter(function(de){return Object.getOwnPropertyDescriptor($e,de).enumerable})),re.push.apply(re,ie)}return re}function hn($e){for(var Ue=1;Ue<arguments.length;Ue++){var re=arguments[Ue]!=null?arguments[Ue]:{};Ue%2?Cn(Object(re),!0).forEach(function(ie){u()($e,ie,re[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(re)):Cn(Object(re)).forEach(function(ie){Object.defineProperty($e,ie,Object.getOwnPropertyDescriptor(re,ie))})}return $e}var fn=function(){function $e(Ue,re){r()(this,$e),u()(this,"currentShapeType",null),this.state=hn(hn({},$e.defaultState),re),this.uniforms=hn({thickness:{value:.1}},re.uniforms),this.container=Ue,this.node=document.createElement("div"),this.node.className="TextShape-node",this.onUpdateState(),this.container.appendChild(this.node),this.update()}
67return o()($e,[{key:"onUpdateState",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.state=hn(hn({},this.state),re);var ie=this.state,de=ie.id,ye=ie.isFront,Ge=ie.shape,je=ie.color,Ze=ie.thickness,dt=ie.linecap,pt=ie.fontSize,gt=ie.blend,$t=ie.opacity;this.node.dataset.textAttributeId=de,this.node.dataset.shape=Ge,this.node.dataset.fontSize=pt,this.node.dataset.isFront=ye,Object.assign(this.node.style,{fontSize:"".concat(pt,"px")}),this.uniforms.fontSize.value=pt,this.uniforms.thickness.value=Ze.unit==="em"?pt*parseFloat(Ze.value):Ze.value,Rt(this.node.style,{"--stroke":je,"--stroke-width":"".concat(Ze.value).concat(Ze.unit),"--stroke-linecap":dt,"--stroke-linejoin":dt==="round"?"round":"bevel","--blend":gt,"--opacity":$t}),Ge!==this.currentShapeType&&this.createShape(Ge)}},{key:"createShape",value:function(re){this.shape&&this.shape.destroy(),this.currentShapeType=re,this.shape=Ht[re]?new Ht[re](this.node,{uniforms:this.uniforms}):null}},{key:"setPosition",value:function(re,ie){var de=this.uniforms.thickness.value-this.uniforms.fontSize.value*.25,ye=Math.round(re.width)-de,Ge=Math.round(re.height);this.node.dataset.index=re.index,Object.assign(this.node.style,{width:"".concat(ye,"px"),height:"".concat(Ge,"px"),left:"".concat(Math.round(re.x-ie.x+de*.5),"px"),top:"".concat(Math.round(re.y-ie.y),"px")}),!!this.shape&&this.shape.setSize(ye,Ge)}},{key:"update",value:function(){var re=this.state.animation,ie=this.uniforms.progressReveal,de=re==="fadeScale"?.5+ie.value*.5:1;this.node.style.opacity=ie.value,this.node.style.transform="scale(".concat(de,")"),!!this.shape&&this.shape.update()}},{key:"destroy",value:function(){this.shape&&(this.shape.destroy(),delete this.shape),this.node.remove(),delete this.node,delete this.container}}]),$e}();fn.defaultState={};var _n=e(709075),Mn=e.n(_n),er=e(217242),sr=e.n(er),ri=e(177928),Ar=e.n(ri);function ur($e,Ue){var re=Object.keys($e);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols($e);Ue&&(ie=ie.filter(function(de){return Object.getOwnPropertyDescriptor($e,de).enumerable})),re.push.apply(re,ie)}return re}function Oe($e){for(var Ue=1;Ue<arguments.length;Ue++){var re=arguments[Ue]!=null?arguments[Ue]:{};Ue%2?ur(Object(re),!0).forEach(function(ie){u()($e,ie,re[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(re)):ur(Object(re)).forEach(function(ie){Object.defineProperty($e,ie,Object.getOwnPropertyDescriptor(re,ie))})}return $e}var Tt=function(){function $e(Ue){var re=this;r()(this,$e),u()(this,"setState",function(ie){re.state=Oe(Oe({},re.state),ie)}),this.props=Oe(Oe({},this.constructor.defaultProps),Ue),this.state=Oe(Oe({},this.constructor.defaultState),this.constructor.state),window.Y&&window.Y.Global&&window.Y.Global.after("frame:device:change",this.flushResizeOnDeviceChange,this)}return o()($e,[{key:"flushResizeOnDeviceChange",value:function(){this.onResize&&this.onResize.flush&&this.onResize.flush()}},{key:"destroy",value:function(){window.Y&&window.Y.Global&&window.Y.Global.detach("frame:device:change",this.flushResizeOnDeviceChange,this)}}]),$e}();u()(Tt,"defaultProps",{}),u()(Tt,"defaultState",{});var Tr=function(Ue,re,ie){return Ue*(1-ie)+re*ie},Ln=null,Jr=function(Ue){return Ue*Ue},bt=function(Ue){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return-ie*(Ue/=de)*(Ue-2)+re},Ur=function(Ue){return Ue<.5?2*Ue*Ue:-1+(4-2*Ue)*Ue};function pr($e){var Ue=ln();return function(){var ie=L()($e),de;if(Ue){var ye=L()(this).constructor;de=Reflect.construct(ie,arguments,ye)}else de=ie.apply(this,arguments);return j()(this,de)}}function ln(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}var Cr=function($e){I()(re,$e);var Ue=pr(re);function re(ie){var de;r()(this,re),de=Ue.call(this,ie),u()(Ar()(de),"tick",function(){var Ge=de.props,je=Ge.ease,Ze=Ge.from,dt=Ge.to,pt=Ge.duration,gt=Ge.onUpdate,$t=Ge.onComplete,sn=Date.now()-de.lastUpdate;if(de.lastUpdate+=sn,de.time=(de.lastUpdate-de.startTime)/1e3,de.time>pt&&(de.time=pt),gt(Tr(Ze,dt,je(de.time/pt))),de.time>=pt){$t(dt);return}de.frame=requestAnimationFrame(de.tick)});var ye=de.props.autoStart;return de.state={isActive:!1},de.startTime=null,de.lastUpdate=null,de.frame=null,ye&&de.start(),de}
67return o()(re,[{key:"start",value:function(){this.state.isActive||(this.setState({isActive:!0}),this.startTime=Date.now(),this.lastUpdate=this.startTime,this.frame=requestAnimationFrame(this.tick))}},{key:"destroy",value:function(){cancelAnimationFrame(this.frame)}}]),re}(Tt);u()(Cr,"defaultProps",{autoStart:!0,ease:bt,duration:1,from:0,to:0,onUpdate:Mn(),onComplete:Mn()});function ii($e,Ue){var re=Object.keys($e);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols($e);Ue&&(ie=ie.filter(function(de){return Object.getOwnPropertyDescriptor($e,de).enumerable})),re.push.apply(re,ie)}return re}function Qt($e){for(var Ue=1;Ue<arguments.length;Ue++){var re=arguments[Ue]!=null?arguments[Ue]:{};Ue%2?ii(Object(re),!0).forEach(function(ie){u()($e,ie,re[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(re)):ii(Object(re)).forEach(function(ie){Object.defineProperty($e,ie,Object.getOwnPropertyDescriptor(re,ie))})}return $e}var zn=function(){function $e(Ue,re){var ie=this;r()(this,$e),u()(this,"timeout",{ready:null}),u()(this,"tween",null),u()(this,"initAnimation",function(){ie.animateTo(0)}),u()(this,"onUpdateDraw",function(je){var Ze=ie.props.onUpdate;ie.uniforms.progressDraw.value=je,Ze()}),u()(this,"onUpdateReveal",function(je){var Ze=ie.props.onUpdate;ie.uniforms.progressReveal.value=je,Ze()}),u()(this,"onAnimationComplete",function(){}),this.props=Qt(Qt({},$e.defaultProps),re);var de=this.props,ye=de.uniforms,Ge=de.config;this.node=Ue,this.config=Qt({isAnimationEnabled:!1,animation:"draw",direction:"right",duration:1},Ge),this.uniforms=Qt({progressDraw:{value:-1}},ye),this.reset()}return o()($e,[{key:"setConfig",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=Qt(Qt({},this.config),re),de=A(this.config,ie);!de.length||(this.config=Qt({},ie))}},{key:"ready",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ie=this.props.onUpdate;this.reset(),ie(),this.timeout.ready=setTimeout(this.initAnimation,re)}},{key:"setInitialState",value:function(){var re=this.config,ie=re.isAnimationEnabled,de=re.animation,ye=re.direction;if(ie&&de==="draw"){this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=ye==="right"?-1:1;return}if(ie&&(de==="fade"||de==="fadeScale")){this.uniforms.progressReveal.value=0,this.uniforms.progressDraw.value=0;return}this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=0}},{key:"reset",value:function(){var re=this.props.onUpdate;clearTimeout(this.timeout.ready),this.destroyTween(),this.setInitialState(),re()}},{key:"animateTo",value:function(re){var ie=this.config,de=ie.animation,ye=ie.duration;if(this.destroyTween(),de==="draw"){var Ge=sr()(Math.abs(this.uniforms.progressDraw.value-re),.2,1);this.tween=new Cr({duration:ye*Ge,from:this.uniforms.progressDraw.value,to:re,onUpdate:this.onUpdateDraw,onComplete:this.onAnimationComplete});return}var je=1-Math.abs(re),Ze=sr()(Math.abs(this.uniforms.progressReveal.value-je),.2,1);this.tween=new Cr({duration:ye*Ze,from:this.uniforms.progressReveal.value,to:je,onUpdate:this.onUpdateReveal,onComplete:this.onAnimationComplete})}},{key:"destroyTween",value:function(){this.tween&&(this.tween.destroy(),this.tween=null)}},{key:"destroy",value:function(){var re;this.destroyTween(),(re=this.timeout)!==null&&re!==void 0&&re.ready&&clearTimeout(this.timeout.ready)}}]),$e}();zn.defaultProps={config:{},onUpdate:Mn(),uniforms:{}};var ai=e(24115),gr=function(Ue){for(var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,ie=[],de=document.createTreeWalker(Ue,NodeFilter.SHOW_TEXT,null,!1),ye;ye=de.nextNode();)re&&!ye.parentNode.closest(re)&&ie.push(ye);return ie},jr=function(Ue){var re=document.createRange();if(!Ue||!Ue.length)return[];re.setStart(Ue[0],0),re.setEnd(Ue[Ue.length-1],Ue[Ue.length-1].length);var ie=Array.from(re.getClientRects()).map(function(je){return cn(je)}),de=Ue.reduce(function(je,Ze){return st()(Ze.textContent.matchAll(/ /g)).forEach(function(dt){re.setStart(Ze,dt.index),re.setEnd(Ze,dt.index+1),je.push(cn(re.getBoundingClientRect()))}),je},[]),ye=ie.reduce(function(je,Ze){var dt=je.rows[je.rowIndex];return(!dt||dt.y!==Ze.y&&(dt.y<Ze.y||dt.y+dt.height>Ze.y+Ze.height)&&Math.abs(dt.endX-Ze.x)>1)&&(je.rowIndex+=1,je.rows[je.rowIndex]={x:Ze.x,y:Ze.y,width:0,endX:Ze.x,height:Ze.height,originalRects:[]},dt=je.rows[je.rowIndex]),dt.endX=Math.max(dt.endX,Ze.right),dt.width=Math.max(0,dt.endX-dt.x),dt.originalRects.push(Ze),je},{rowIndex:-1,rows:[]}),Ge=ye.rows;return Ge.sort(function(je,Ze){return Ze.width-je.width}).sort(function(je,Ze){return Ze.y-je.y}),Ge=Ge.reduce(function(je,Ze){if(je.length){var dt=je[je.length-1];if(Ze.y===dt.y&&Ze.x===dt.x||Ze.y===dt.y&&Ze.endX===dt.endX)return je}var pt=de.findIndex(function(gt){return Ze.endX===gt.right&&Ze.y===gt.y});return~pt&&(Ze.width-=de[pt].width),je.push(Ze),je},[]),re.detach(),Ge.reverse().map(function(je,Ze){return je.index=Ze,je})};function cr($e,Ue){var re=Object.keys($e);if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols($e);Ue&&(ie=ie.filter(function(de){return Object.getOwnPropertyDescriptor($e,de).enumerable})),re.push.apply(re,ie)}return re}function gn($e){for(var Ue=1;Ue<arguments.length;Ue++){var re=arguments[Ue]!=null?arguments[Ue]:{};
67Ue%2?cr(Object(re),!0).forEach(function(ie){u()($e,ie,re[ie])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(re)):cr(Object(re)).forEach(function(ie){Object.defineProperty($e,ie,Object.getOwnPropertyDescriptor(re,ie))})}return $e}var Et=function(){function $e(Ue,re,ie){var de=this;r()(this,$e),u()(this,"textNodes",[]),u()(this,"rowsPool",[]),u()(this,"intersectionScroll",null),u()(this,"uniforms",{progressReveal:{value:-1},progressDraw:{value:0},fontSize:{value:1}}),u()(this,"rAFID",null),u()(this,"timeoutGlobalAnimation",null),u()(this,"isTickingGlobalAnimation",!1),u()(this,"prefersReducedMotion",!0),u()(this,"_onMutation",function(){de.isDestroyed||de.onResized()}),u()(this,"onResized",function(){de.isDestroyed||(de.refreshFontSize(),de.refreshRows())}),u()(this,"onPrefersReducedMotionChange",function(sn){de.prefersReducedMotion=!sn.matches}),u()(this,"onIntersection",function(sn){sn&&(parseInt(window.getComputedStyle(de.parentNode).opacity)&&de.animation.ready(0),de.destroyIntersectionScroll())}),u()(this,"onGlobalAnimationStart",function(){de.onResized(),de.startGlobalAnimationWatch()}),u()(this,"onGlobalAnimationEnd",function(){de.onResized()}),u()(this,"tickSyncGlobalAnimation",function(){de.onResized(),!!de.isTickingGlobalAnimation&&(de.rAFID=requestAnimationFrame(de.tickSyncGlobalAnimation))}),u()(this,"update",function(){de.rowsPool.forEach(function(sn){return sn.update()})}),this.node=Ue;var ye={};try{var Ge=this.node.dataset.textAttributeId,je=re;ye=je[Ge]||{}}catch(sn){}this.prefersReducedMotion=!window.matchMedia("(prefers-reduced-motion: no-preference)").matches,this.state=this.getStateFromProps(gn(gn({},ye),{},{isAnimationEnabled:!this.prefersReducedMotion&&ye.isAnimationEnabled})),this.container=ie||this.node.closest("div"),this.parentNode=this.node.closest("h1, h2, h3, h4, h5, h6, p, div, pre"),this.onMutation=v()(this._onMutation,10),Object.assign(this.container.style,{position:"relative",zIndex:0}),this.bindListeners();var Ze=this.state,dt=Ze.isAnimationEnabled,pt=Ze.animation,gt=Ze.direction,$t=Ze.duration;this.animation=new zn(this.node,{uniforms:this.uniforms,onUpdate:this.update,config:{isAnimationEnabled:dt,animation:pt,direction:gt,duration:$t}})}return o()($e,[{key:"getStateFromProps",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=gn(gn({},$e.defaultState),re);
67return typeof ie.duration=="string"&&(ie.duration=parseInt(ie.duration,10)),ie}},{key:"onStateChange",value:function(){var re=this,ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ye=this.getStateFromProps(gn(gn({},this.state),ie)),Ge=A(this.state,ye);if(this.state=gn(gn({},this.state),ye),this.rowsPool.forEach(function($t){return $t.onUpdateState(re.state)}),!(!de||!Ge.length)){var je=this.state,Ze=je.isAnimationEnabled,dt=je.animation,pt=je.direction,gt=je.duration;this.animation.setConfig({isAnimationEnabled:Ze,animation:dt,direction:pt,duration:gt}),Br(Ge)&&this.animation.ready(0),this.onMutation()}}},{key:"bindListeners",value:function(){l.default.on(this.onResized,0),this.intersectionScroll=new c.default(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.parentNode.addEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.addEventListener("transitionend",this.onGlobalAnimationEnd),window.ResizeObserver&&(this.observerResize=new ResizeObserver(this.onMutation),this.observerResize.observe(this.container),this.observerResize.observe(this.node)),window.MutationObserver&&(this.observerMutation=new MutationObserver(this.onMutation),this.observerMutation.observe(this.node,{attributes:!0,childList:!0,subtree:!0})),this.mediaQueryList=window.matchMedia("(prefers-reduced-motion: no-preference)"),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.addListener(this.onPrefersReducedMotionChange)}},{key:"unbindListeners",value:function(){this.parentNode.removeEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.removeEventListener("transitionend",this.onGlobalAnimationEnd),this.destroyIntersectionScroll(),this.observerResize&&(this.observerResize.disconnect(),this.observerResize=null),this.observerMutation&&(this.observerMutation.disconnect(),this.observerMutation=null),l.default.off(this.onResized),this.mediaQueryList.removeEventListener?this.mediaQueryList.removeEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.removeListener(this.onPrefersReducedMotionChange)}},{key:"startGlobalAnimationWatch",value:function(){var re=this;clearTimeout(this.timeoutGlobalAnimation),this.timeoutGlobalAnimation=setTimeout(function(){re.isTickingGlobalAnimation=!1},2e3),!this.isTickingGlobalAnimation&&(this.animation.ready(0),this.isTickingGlobalAnimation=!0,this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}},{key:"refreshFontSize",value:function(){var re=window.getComputedStyle(this.node),ie=parseInt(re.fontSize);Number.isNaN(ie)||this.onStateChange({fontSize:ie},!1)}},{key:"refreshTextNodes",value:function(){var re=this.node.ownerDocument;if(!re.contains(this.node)){var ie=this.container.getAttribute("id"),de=this.node.getAttribute("data-text-attribute-id"),ye=re.querySelector('[id="'.concat(ie,'"]')),Ge=ye&&ye.querySelector('.sqsrte-text-highlight[data-text-attribute-id="'.concat(de,'"]'));Ge&&(this.container=ye,this.node=Ge)}this.textNodes=gr(this.node,".TextShape-node")}},{key:"refreshRows",value:function(){this.refreshTextNodes();var re=this.container.getBoundingClientRect(),ie=jr(this.textNodes),de=this.rowsPool.splice(ie.length);de.forEach(function(dt){return dt.destroy()});for(var ye=0,Ge=ie.length;ye<Ge;ye+=1){var je=ie[ye],Ze=this.rowsPool[ye]||new fn(this.container,gn(gn({},this.state),{},{uniforms:this.uniforms}));this.rowsPool[ye]=Ze,Ze.setPosition(je,re)}}},{key:"destroyIntersectionScroll",value:function(){!this.intersectionScroll||(this.intersectionScroll.destroy(),this.intersectionScroll=null)}},{key:"destroy",value:function(){this.isDestroyed=!0,this.unbindListeners(),this.animation.destroy(),this.onMutation.cancel(),this.rowsPool.forEach(function(re){return re.destroy()}),clearTimeout(this.timeoutGlobalAnimation),cancelAnimationFrame(this.rAFID),delete this.rowsPool,delete this.node,delete this.state,delete this.animation}}]),$e}();Et.ANIMATION_CHANGE_PROPS=["shape","isAnimationEnabled","animation","duration","direction"];function Br($e){return $e.some(function(Ue){return Et.ANIMATION_CHANGE_PROPS.includes(Ue)})}Et.defaultState={fontSize:12,isFront:!0,isAnimationEnabled:!1,animation:"draw",duration:.75,direction:"right",color:"currentcolor",shape:"wave",thickness:{unit:"em",value:.06},linecap:"square",blend:"none"};var $n=Et,Pn="data-text-attribute-id",An="sqsrte-text-highlight"},736992:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),f.isStage=f.isQA=f.isInternal=f.isDev=f.getDomain=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=function(){var o,d,u,l,c,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(typeof g=="string"){var v=new URL(g);return v.hostname}return(o=(d=(u=g.Static)===null||u===void 0||(l=u.SQUARESPACE_CONTEXT)===null||l===void 0?void 0:l.appDomain)!==null&&d!==void 0?d:(c=g.location)===null||c===void 0?void 0:c.host)!==null&&o!==void 0?o:""};f.getDomain=s;var n=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/\.(sqsp|squarespace)\.net$/.test(s(o))};f.isInternal=n;var a=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/stage\.(sqsp|squarespace)\.net$/.test(s(o))};f.isStage=a;var t=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(s(o))};f.isQA=t;var r=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/dev\.(sqsp|squarespace)\.net$/.test(s(o))};f.isDev=r},163884:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.unmask=f.mask=f.injectFullStoryScript=f.getIsFullStoryEligible=f.fireEvent=f.exclude=void 0,e(392338);var a=s(e(385870)),t=s(e(420651)),r=s(e(400304)),i=e(476888),o=s(e(808847)),d=s(e(621792)),u=s(e(182745)),l=g(e(221006));function c(T){if(typeof WeakMap!="function")return null;var I=new WeakMap,R=new WeakMap;return(c=function(x){return x?R:I})(T)}function g(T,I){if(!I&&T&&T.__esModule)return T;if(T===null||n(T)!=="object"&&typeof T!="function")return{default:T};var R=c(I);if(R&&R.has(T))return R.get(T);var j={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in T)if(L!=="default"&&Object.prototype.hasOwnProperty.call(T,L)){var H=x?Object.getOwnPropertyDescriptor(T,L):null;H&&(H.get||H.set)?Object.defineProperty(j,L,H):j[L]=T[L]}return j.default=T,R&&R.set(T,j),j}function v(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return T};var T={},I=Object.prototype,R=I.hasOwnProperty,j=Object.defineProperty||function(ve,ae,le){ve[ae]=le.value},x=typeof Symbol=="function"?Symbol:{},L=x.iterator||"@@iterator",H=x.asyncIterator||"@@asyncIterator",G=x.toStringTag||"@@toStringTag";function X(ve,ae,le){return Object.defineProperty(ve,ae,{value:le,enumerable:!0,configurable:!0,writable:!0}),ve[ae]}try{X({},"")}catch(ve){X=function(le,Ee,xe){return le[Ee]=xe}}function K(ve,ae,le,Ee){var xe=ae&&ae.prototype instanceof k?ae:k,_e=Object.create(xe.prototype),Re=new Pe(Ee||[]);return j(_e,"_invoke",{value:oe(ve,le,Re)}),_e}function J(ve,ae,le){try{return{type:"normal",arg:ve.call(ae,le)}}catch(Ee){return{type:"throw",arg:Ee}}}T.wrap=K;var z={};function k(){}function F(){}function q(){}var N={};X(N,L,function(){return this});var M=Object.getPrototypeOf,U=M&&M(M(He([])));U&&U!==I&&R.call(U,L)&&(N=U);var Q=q.prototype=k.prototype=Object.create(N);function $(ve){["next","throw","return"].forEach(function(ae){X(ve,ae,function(le){return this._invoke(ae,le)})})}function ee(ve,ae){function le(xe,_e,Re,Be){var nt=J(ve[xe],ve,_e);if(nt.type!=="throw"){var Je=nt.arg,ue=Je.value;return ue&&n(ue)=="object"&&R.call(ue,"__await")?ae.resolve(ue.__await).then(function(we){le("next",we,Re,Be)},function(we){le("throw",we,Re,Be)}):ae.resolve(ue).then(function(we){Je.value=we,Re(Je)},function(we){return le("throw",we,Re,Be)})}Be(nt.arg)}var Ee;j(this,"_invoke",{value:function(_e,Re){function Be(){return new ae(function(nt,Je){le(_e,Re,nt,Je)})}return Ee=Ee?Ee.then(Be,Be):Be()}})}function oe(ve,ae,le){var Ee="suspendedStart";return function(xe,_e){if(Ee==="executing")throw new Error("Generator is already running");if(Ee==="completed"){if(xe==="throw")throw _e;return fe()}for(le.method=xe,le.arg=_e;;){var Re=le.delegate;if(Re){var Be=pe(Re,le);if(Be){if(Be===z)continue;return Be}}if(le.method==="next")le.sent=le._sent=le.arg;else if(le.method==="throw"){if(Ee==="suspendedStart")throw Ee="completed",le.arg;le.dispatchException(le.arg)}else le.method==="return"&&le.abrupt("return",le.arg);Ee="executing";var nt=J(ve,ae,le);if(nt.type==="normal"){if(Ee=le.done?"completed":"suspendedYield",nt.arg===z)continue;return{value:nt.arg,done:le.done}}nt.type==="throw"&&(Ee="completed",le.method="throw",le.arg=nt.arg)}}}function pe(ve,ae){var le=ae.method,Ee=ve.iterator[le];if(Ee===void 0)return ae.delegate=null,le==="throw"&&ve.iterator.return&&
67(ae.method="return",ae.arg=void 0,pe(ve,ae),ae.method==="throw")||le!=="return"&&(ae.method="throw",ae.arg=new TypeError("The iterator does not provide a '"+le+"' method")),z;var xe=J(Ee,ve.iterator,ae.arg);if(xe.type==="throw")return ae.method="throw",ae.arg=xe.arg,ae.delegate=null,z;var _e=xe.arg;return _e?_e.done?(ae[ve.resultName]=_e.value,ae.next=ve.nextLoc,ae.method!=="return"&&(ae.method="next",ae.arg=void 0),ae.delegate=null,z):_e:(ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,z)}function me(ve){var ae={tryLoc:ve[0]};1 in ve&&(ae.catchLoc=ve[1]),2 in ve&&(ae.finallyLoc=ve[2],ae.afterLoc=ve[3]),this.tryEntries.push(ae)}function Se(ve){var ae=ve.completion||{};ae.type="normal",delete ae.arg,ve.completion=ae}function Pe(ve){this.tryEntries=[{tryLoc:"root"}],ve.forEach(me,this),this.reset(!0)}function He(ve){if(ve){var ae=ve[L];if(ae)return ae.call(ve);if(typeof ve.next=="function")return ve;if(!isNaN(ve.length)){var le=-1,Ee=function xe(){for(;++le<ve.length;)if(R.call(ve,le))return xe.value=ve[le],xe.done=!1,xe;return xe.value=void 0,xe.done=!0,xe};return Ee.next=Ee}}return{next:fe}}function fe(){return{value:void 0,done:!0}}return F.prototype=q,j(Q,"constructor",{value:q,configurable:!0}),j(q,"constructor",{value:F,configurable:!0}),F.displayName=X(q,G,"GeneratorFunction"),T.isGeneratorFunction=function(ve){var ae=typeof ve=="function"&&ve.constructor;return!!ae&&(ae===F||(ae.displayName||ae.name)==="GeneratorFunction")},T.mark=function(ve){return Object.setPrototypeOf?Object.setPrototypeOf(ve,q):(ve.__proto__=q,X(ve,G,"GeneratorFunction")),ve.prototype=Object.create(Q),ve},T.awrap=function(ve){return{__await:ve}},$(ee.prototype),X(ee.prototype,H,function(){return this}),T.AsyncIterator=ee,T.async=function(ve,ae,le,Ee,xe){xe===void 0&&(xe=Promise);var _e=new ee(K(ve,ae,le,Ee),xe);return T.isGeneratorFunction(ae)?_e:_e.next().then(function(Re){return Re.done?Re.value:_e.next()})},$(Q),X(Q,G,"Generator"),X(Q,L,function(){return this}),X(Q,"toString",function(){return"[object Generator]"}),T.keys=function(ve){var ae=Object(ve),le=[];for(var Ee in ae)le.push(Ee);return le.reverse(),function xe(){for(;le.length;){var _e=le.pop();if(_e in ae)return xe.value=_e,xe.done=!1,xe}return xe.done=!0,xe}},T.values=He,Pe.prototype={constructor:Pe,reset:function(ae){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Se),!ae)for(var le in this)le.charAt(0)==="t"&&R.call(this,le)&&!isNaN(+le.slice(1))&&(this[le]=void 0)},stop:function(){this.done=!0;var ae=this.tryEntries[0].completion;if(ae.type==="throw")throw ae.arg;return this.rval},dispatchException:function(ae){if(this.done)throw ae;var le=this;function Ee(Je,ue){return Re.type="throw",Re.arg=ae,le.next=Je,ue&&(le.method="next",le.arg=void 0),!!ue}for(var xe=this.tryEntries.length-1;xe>=0;--xe){var _e=this.tryEntries[xe],Re=_e.completion;if(_e.tryLoc==="root")return Ee("end");if(_e.tryLoc<=this.prev){var Be=R.call(_e,"catchLoc"),nt=R.call(_e,"finallyLoc");if(Be&&nt){if(this.prev<_e.catchLoc)return Ee(_e.catchLoc,!0);if(this.prev<_e.finallyLoc)return Ee(_e.finallyLoc)}else if(Be){if(this.prev<_e.catchLoc)return Ee(_e.catchLoc,!0)}else{if(!nt)throw new Error("try statement without catch or finally");if(this.prev<_e.finallyLoc)return Ee(_e.finallyLoc)}}}},abrupt:function(ae,le){for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var xe=this.tryEntries[Ee];if(xe.tryLoc<=this.prev&&R.call(xe,"finallyLoc")&&this.prev<xe.finallyLoc){var _e=xe;break}}_e&&(ae==="break"||ae==="continue")&&_e.tryLoc<=le&&le<=_e.finallyLoc&&(_e=null);var Re=_e?_e.completion:{};return Re.type=ae,Re.arg=le,_e?(this.method="next",this.next=_e.finallyLoc,z):this.complete(Re)},complete:function(ae,le){if(ae.type==="throw")throw ae.arg;return ae.type==="break"||ae.type==="continue"?this.next=ae.arg:ae.type==="return"?(this.rval=this.arg=ae.arg,this.method="return",this.next="end"):ae.type==="normal"&&le&&(this.next=le),z},finish:function(ae){for(var le=this.tryEntries.length-1;le>=0;--le){var Ee=this.tryEntries[le];if(Ee.finallyLoc===ae)return this.complete(Ee.completion,Ee.afterLoc),Se(Ee),z}},catch:function(ae){for(var le=this.tryEntries.length-1;le>=0;--le){var Ee=this.tryEntries[le];if(Ee.tryLoc===ae){var xe=Ee.completion;if(xe.type==="throw"){var _e=xe.arg;Se(Ee)}return _e}}throw new Error("illegal catch attempt")},delegateYield:function(ae,le,Ee){return this.delegate={iterator:He(ae),resultName:le,nextLoc:Ee},this.method==="next"&&(this.arg=void 0),z}},T}var h="17E67V",p=function(I){try{var R=(0,t.default)(window,"FS");R&&I(R)}catch(j){}},m=function(){return!(navigator.hardwareConcurrency<=2)},P=(0,r.default)(function(){var T="commerce-activation",I="fullstory-sampled";try{var R;if((0,t.default)(window,"Static.SQUARESPACE_CONTEXT.websiteSettings.country")!=="US"||!((R=Intl.DateTimeFormat().resolvedOptions().timeZone)!==null&&R!==void 0&&R.startsWith("America")))return!1;var j=new i.StaticPraetorClient({isConfigurationLoaded:!0,experimentContextList:(0,t.default)(window,["Static","SQUARESPACE_CONTEXT","commerceSettings","commerceActivationExperimentList"],[])}),x=(0,d.default)(T,j),L=j.getFeatureToggle("fullstory-enabled",!1),H=L.enabled,G=x(I,"false","true");if(H&&G()&&m())return!0}catch(X){console.error("Error determining FullStory eligibility",X)}return!1});f.getIsFullStoryEligible=P;var _=(0,r.default)((0,a.default)(v().mark(function T(){var I,R,j;return v().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(L.prev=0,I=P(),I){L.next=4;break}return L.abrupt("return");case 4:return L.next=6,o.default.get("/api/commerce/fullstory/getId");case 6:if(R=L.sent,j=R.data,j!=="automated-mock-id"){L.next=10;break}return L.abrupt("return");case 10:l.init({orgId:h}),l.identify(j),L.next=17;break;case 14:L.prev=14,L.t0=L.catch(0),console.error("Error injecting FullStory script",L.t0);case 17:case"end":return L.stop()}},T,null,[[0,14]])}
67)));f.injectFullStoryScript=_;var b=function(I,R){p(function(j){j.event(I,R)})};f.fireEvent=b;var S="fs-unmask";f.unmask=S;var E="fs-mask";f.mask=E;var A="fs-exclude";f.exclude=A},243941:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.getPlacePredictions=f.getDetails=void 0;var n=s(e(346797)),a=s(e(808847));function t(c,g){var v=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);g&&(h=h.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),v.push.apply(v,h)}return v}function r(c){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{};g%2?t(Object(v),!0).forEach(function(h){(0,n.default)(c,h,v[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(v)):t(Object(v)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(v,h))})}return c}var i="/api/google-maps/places/autocomplete",o="/api/google-maps/places/details",d=function(g,v){},u=function(g,v){return d(g,v),a.default.get(i,{params:r(r({},v),g)})};f.getPlacePredictions=u;var l=function(g,v){return d(g,v),(!v||!v.productPage||!v.productSection)&&console.error("Please provide a tracking context when using Google Places API details to track cost"),a.default.get(o,{params:r(r({},v),g)})};f.getDetails=l},948811:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.RECAPTCHA_RENDER_TYPE=void 0,f.destroy=b,f.execute=p,f.executeFirst=h,f.getCaptchaContainer=_,f.getSiteKey=void 0,f.loadReCaptcha=l,f.render=c,f.renderAll=g,f.reset=m,f.resetFirst=P,f.validate=v;var n=s(e(346797));e(392338),e(392338),e(392338),e(392338),e(392338);var a=s(e(603306));function t(S,E){var A=Object.keys(S);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(S);E&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(S,I).enumerable})),A.push.apply(A,T)}return A}function r(S){for(var E=1;E<arguments.length;E++){var A=arguments[E]!=null?arguments[E]:{};E%2?t(Object(A),!0).forEach(function(T){(0,n.default)(S,T,A[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(A)):t(Object(A)).forEach(function(T){Object.defineProperty(S,T,Object.getOwnPropertyDescriptor(A,T))})}return S}var i="https://www.google.com/recaptcha/api.js?onload=__grecaptchaOnLoadCallback&render=",o="data-id",d=function(E){var A,T,I,R;return E==null||(A=E.Static)===null||A===void 0||(T=A.SQUARESPACE_CONTEXT)===null||T===void 0||(I=T.website)===null||I===void 0||(R=I.captchaSettings)===null||R===void 0?void 0:R.siteKey};f.getSiteKey=d;var u;f.RECAPTCHA_RENDER_TYPE=u,function(S){S.EXPLICIT="explicit",S.ONLOAD="onload"}(u||(f.RECAPTCHA_RENDER_TYPE=u={}));function l(S){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u.EXPLICIT;return S.__grecaptchaOnLoadPromise=S.__grecaptchaOnLoadPromise||new Promise(function(A,T){S.__grecaptchaOnLoadCallback=function(){return A()},S.document?(0,a.default)(i+E,{doc:S.document}).catch(T):T("[GoogleReCaptchaAPI] Document was destroyed")}),S.__grecaptchaOnLoadPromise}function c(S,E){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{customSiteKey:""},I=T.customSiteKey||d(S);if(!!I)return l(S).then(function(){var R;if(!E||E.getAttribute(o)||S.document!==E.ownerDocument||!(E!=null&&(R=E.ownerDocument)!==null&&R!==void 0&&R.defaultView)||!S.grecaptcha){console.error("Error rendering captcha into node",{node:E});return}var j=E.clientWidth<320?"compact":"normal",x=S.grecaptcha.render(E,r({sitekey:I,size:j},A),!0);E.setAttribute(o,"".concat(x)),E.classList.add("rendered")})}function g(S){if(!!S.document){var E=S.document.querySelectorAll(".captcha-container:not('.rendered')");Array.from(E).forEach(function(A){return c(S,A)})}}function v(S,E){var A=E.getAttribute(o);if(!(!A||!S.grecaptcha))return S.grecaptcha.getResponse(parseFloat(A))}function h(S){return S.grecaptcha?Promise.resolve(S.grecaptcha.execute()):Promise.reject({error:"ReCaptcha has not been set up!"})}function p(S,E){var A=E.getAttribute(o);return A?S.grecaptcha?Promise.resolve(S.grecaptcha.execute(parseFloat(A))):Promise.reject({error:"ReCaptcha has not been set up!"}):Promise.resolve()}function m(S,E){var A=E.getAttribute(o);!A||!S.grecaptcha||S.grecaptcha.reset(parseFloat(A))}function P(S){S&&S.grecaptcha&&S.grecaptcha.reset()}function _(S,E){var A=E.querySelector(".captcha-container");return d(S)?A:null}function b(S){for(;S.firstChild;)S.removeChild(S.firstChild);S.removeAttribute(o)}},606688:function(y,f){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),f.isTabKeyWithShift=f.isTabKey=f.isSpaceBar=f.isSlashKey=f.isNumericKey=f.isEscapeKey=f.isEnterKey=f.isDeleteKey=f.isCommaKey=f.isBackspaceKey=f.isArrowUpKey=f.isArrowRightKey=f.isArrowLeftKey=f.isArrowDownKey=f.isAlphanumericKey=f.hasShiftModifierKey=void 0;var e=9,s=13,n=38,a=40,t=37,r=39,i=8,o=46,d=48,u=57,l=65,c=90,g=27,v=188,h=191,p=32,m=function(J){return J.keyCode===e&&!J.shiftKey};f.isTabKey=m;var P=function(J){return J.keyCode===e&&J.shiftKey};f.isTabKeyWithShift=P;var _=function(J){return J.keyCode===a};f.isArrowDownKey=_;var b=function(J){return J.keyCode===n};f.isArrowUpKey=b;var S=function(J){return J.keyCode===t};f.isArrowLeftKey=S;var E=function(J){return J.keyCode===r};f.isArrowRightKey=E;var A=function(J){var z=J.keyCode;return z===s};f.isEnterKey=A;var T=function(J){var z=J.keyCode;return z===i};f.isBackspaceKey=T;var I=function(J){var z=J.keyCode;return z===o};f.isDeleteKey=I;var R=function(J){var z=J.keyCode;return z===g};f.isEscapeKey=R;var j=function(J){var z=J.keyCode;return d<=z&&z<=u};f.isNumericKey=j;var x=function(J){var z=J.keyCode;return j(J)||l<=z&&z<=c};f.isAlphanumericKey=x;var L=function(J){var z=J.keyCode;return z===v};f.isCommaKey=L;var H=function(J){var z=J.keyCode;return z===p};f.isSpaceBar=H;var G=function(J){var z=J.keyCode;return z===h};f.isSlashKey=G;var X=function(J){var z=J.shiftKey;return z};f.hasShiftModifierKey=X},701889:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.createWarningLogger=f.createLoggers=f.createLogger=f.createGroupCollapsed=f.createGroup=f.createErrorLogger=f.createDebugLogger=void 0,e(392338),e(392338);var n=s(e(603912)),a=s(e(709075)),t=function(h,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return m?console.log.bind(console,"%c[".concat(h,"] %c"),"color: ".concat(p,"; font-weight: 300;"),"color: #000; font-weight: 400;"):a.default};f.createLogger=t;var r=function(h,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return m?console.debug.bind(console,"%c[".concat(h,"] %c"),"color: ".concat(p,"; font-weight: 300;"),"color: #000; font-weight: 400;"):a.default};f.createDebugLogger=r;var i=function(h){return console.warn.bind(console,"[".concat(h,"]"))};f.createWarningLogger=i;var o=function(h){return function(){console.error.bind(console,"[".concat(h,"]")).apply(void 0,arguments)}};f.createErrorLogger=o;var d=function(h,p){var m,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _?(m=console.groupCollapsed).bind.apply(m,[console,h,"color: ".concat(p,"; font-weight: 300;")].concat((0,n.default)(P))):a.default};f.createGroupCollapsed=d;var u=function(h,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return{group:d(h,p,m,P),groupEnd:function(){return console.groupEnd()}}};f.createGroup=u;var l={createLogger:t,createDebugLogger:r,createWarningLogger:i,createGroupCollapsed:d,createGroup:u,createErrorLogger:o},c=function(h,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";return{debug:r(h,p,m),err:o(h),log:t(h,p,m),warn:i(h)}},g=Object.assign(c,l);f.createLoggers=g},550408:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getPosition=f.debug=f.bind=void 0;var s=e(203495),n={lastX:100,lastY:100,client:{lastX:100,lastY:100}},a=function(){return n};f.getPosition=a;var t=function(o){var d,u=(0,s.getFrameElement)(o),l=function(h){var p=(u==null?void 0:u.getBoundingClientRect())||{},m=p.left,P=m===void 0?0:m,_=p.top,b=_===void 0?0:_;n={lastX:h.pageX+P,lastY:h.pageY+b,client:{lastX:h.clientX+P,lastY:h.clientY+b}}},c=function(h){h.changedTouches.length===1&&l(h.changedTouches[0])};o.addEventListener("mousemove",l),o.addEventListener("touchmove",c);var g=function(){o.removeEventListener("mousemove",l),o.removeEventListener("touchmove",c)};return(d=o.defaultView)===null||d===void 0||d.addEventListener("beforeunload",g),g};f.bind=t;var r=function(){var i=null,o;return function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!d){var u,l;cancelAnimationFrame(o),(u=i)===null||u===void 0||(l=u.parentNode)===null||l===void 0||l.removeChild(i),i=null;return}if(!i){i=document.createElement("div"),i.setAttribute("data-mouse","true"),i.style.position="fixed",i.style.width="50px",i.style.height="50px",i.style.borderRadius="50%",i.style.background="rgba(247, 202, 24, 0.5)",i.style.marginLeft="-25px",i.style.marginTop="-25px",i.style.zIndex=Math.pow(10,5)+"",i.style.pointerEvents="none",document.body.appendChild(i);var c=function g(){var v=a(),h=v.lastX,p=v.lastY,m=i;m.style.top="".concat(p,"px"),m.style.left="".concat(h,"px"),o=requestAnimationFrame(g)};c()}}}();f.debug=r},301197:function(y,f,e){"use strict";var s=e(875832);
67Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(808847)),a={fetchSettings:function(){return n.default.get("/api/multilingual/settings")},getStatus:function(){return n.default.get("/api/multilingual/status")},getLanguages:function(){return n.default.get("/api/multilingual/languages")},saveLanguages:function(i){return n.default.put("/api/multilingual/languages",{languages:i})},disconnectWeglot:function(){return n.default.delete("/api/multilingual/connection")}},t=a;f.default=t,y.exports=f.default},62988:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.saveSessionData=f.removeSessionData=f.getSessionData=void 0;var n=s(e(480885)),a=s(e(638286)),t=function(){return!!window.localStorage},r=function(u,l,c){try{var g={value:l,expires:c?c.getTime():void 0},v=JSON.stringify(g);t()?localStorage.setItem(u,v):c?a.default.set(u,v,{path:"/",expires:c.toISOString()}):a.default.set(u,v,{path:"/"})}catch(h){console.warn(h)}};f.saveSessionData=r;var i=function(u){try{var l=t()?localStorage.getItem(u):a.default.get(u);if(l){var c=JSON.parse(l);return t()&&(0,n.default)(c.expires)&&c.expires<new Date().getTime()?(localStorage.removeItem(u),null):c.value}}catch(g){console.warn(g)}return null};f.getSessionData=i;var o=function(u){try{t()?localStorage.removeItem(u):a.default.set(u,"",{expires:new Date(0).toISOString()})}catch(l){console.warn(l)}};f.removeSessionData=o},724327:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=s(e(385870)),t=s(e(808847));function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return u};var u={},l=Object.prototype,c=l.hasOwnProperty,g=Object.defineProperty||function(q,N,M){q[N]=M.value},v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",p=v.asyncIterator||"@@asyncIterator",m=v.toStringTag||"@@toStringTag";function P(q,N,M){return Object.defineProperty(q,N,{value:M,enumerable:!0,configurable:!0,writable:!0}),q[N]}try{P({},"")}catch(q){P=function(M,U,Q){return M[U]=Q}}function _(q,N,M,U){var Q=N&&N.prototype instanceof E?N:E,$=Object.create(Q.prototype),ee=new z(U||[]);return g($,"_invoke",{value:G(q,M,ee)}),$}function b(q,N,M){try{return{type:"normal",arg:q.call(N,M)}}catch(U){return{type:"throw",arg:U}}}u.wrap=_;var S={};function E(){}function A(){}function T(){}var I={};P(I,h,function(){return this});var R=Object.getPrototypeOf,j=R&&R(R(k([])));j&&j!==l&&c.call(j,h)&&(I=j);var x=T.prototype=E.prototype=Object.create(I);function L(q){["next","throw","return"].forEach(function(N){P(q,N,function(M){return this._invoke(N,M)})})}function H(q,N){function M(Q,$,ee,oe){var pe=b(q[Q],q,$);if(pe.type!=="throw"){var me=pe.arg,Se=me.value;return Se&&n(Se)=="object"&&c.call(Se,"__await")?N.resolve(Se.__await).then(function(Pe){M("next",Pe,ee,oe)},function(Pe){M("throw",Pe,ee,oe)}):N.resolve(Se).then(function(Pe){me.value=Pe,ee(me)},function(Pe){return M("throw",Pe,ee,oe)})}oe(pe.arg)}var U;g(this,"_invoke",{value:function($,ee){function oe(){return new N(function(pe,me){M($,ee,pe,me)})}return U=U?U.then(oe,oe):oe()}})}function G(q,N,M){var U="suspendedStart";return function(Q,$){if(U==="executing")throw new Error("Generator is already running");if(U==="completed"){if(Q==="throw")throw $;return F()}for(M.method=Q,M.arg=$;;){var ee=M.delegate;if(ee){var oe=X(ee,M);if(oe){if(oe===S)continue;return oe}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(U==="suspendedStart")throw U="completed",M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);U="executing";var pe=b(q,N,M);if(pe.type==="normal"){if(U=M.done?"completed":"suspendedYield",pe.arg===S)continue;return{value:pe.arg,done:M.done}}pe.type==="throw"&&(U="completed",M.method="throw",M.arg=pe.arg)}}}function X(q,N){var M=N.method,U=q.iterator[M];if(U===void 0)return N.delegate=null,M==="throw"&&q.iterator.return&&
vendor: 10,335 bytes, line 67
67(N.method="return",N.arg=void 0,X(q,N),N.method==="throw")||M!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+M+"' method")),S;var Q=b(U,q.iterator,N.arg);if(Q.type==="throw")return N.method="throw",N.arg=Q.arg,N.delegate=null,S;var $=Q.arg;return $?$.done?(N[q.resultName]=$.value,N.next=q.nextLoc,N.method!=="return"&&(N.method="next",N.arg=void 0),N.delegate=null,S):$:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,S)}function K(q){var N={tryLoc:q[0]};1 in q&&(N.catchLoc=q[1]),2 in q&&(N.finallyLoc=q[2],N.afterLoc=q[3]),this.tryEntries.push(N)}function J(q){var N=q.completion||{};N.type="normal",delete N.arg,q.completion=N}function z(q){this.tryEntries=[{tryLoc:"root"}],q.forEach(K,this),this.reset(!0)}function k(q){if(q){var N=q[h];if(N)return N.call(q);if(typeof q.next=="function")return q;if(!isNaN(q.length)){var M=-1,U=function Q(){for(;++M<q.length;)if(c.call(q,M))return Q.value=q[M],Q.done=!1,Q;return Q.value=void 0,Q.done=!0,Q};return U.next=U}}return{next:F}}function F(){return{value:void 0,done:!0}}return A.prototype=T,g(x,"constructor",{value:T,configurable:!0}),g(T,"constructor",{value:A,configurable:!0}),A.displayName=P(T,m,"GeneratorFunction"),u.isGeneratorFunction=function(q){var N=typeof q=="function"&&q.constructor;return!!N&&(N===A||(N.displayName||N.name)==="GeneratorFunction")},u.mark=function(q){return Object.setPrototypeOf?Object.setPrototypeOf(q,T):(q.__proto__=T,P(q,m,"GeneratorFunction")),q.prototype=Object.create(x),q},u.awrap=function(q){return{__await:q}},L(H.prototype),P(H.prototype,p,function(){return this}),u.AsyncIterator=H,u.async=function(q,N,M,U,Q){Q===void 0&&(Q=Promise);var $=new H(_(q,N,M,U),Q);return u.isGeneratorFunction(N)?$:$.next().then(function(ee){return ee.done?ee.value:$.next()})},L(x),P(x,m,"Generator"),P(x,h,function(){return this}),P(x,"toString",function(){return"[object Generator]"}),u.keys=function(q){var N=Object(q),M=[];for(var U in N)M.push(U);return M.reverse(),function Q(){for(;M.length;){var $=M.pop();if($ in N)return Q.value=$,Q.done=!1,Q}return Q.done=!0,Q}},u.values=k,z.prototype={constructor:z,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(J),!N)for(var M in this)M.charAt(0)==="t"&&c.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=void 0)},stop:function(){this.done=!0;var N=this.tryEntries[0].completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var M=this;function U(me,Se){return ee.type="throw",ee.arg=N,M.next=me,Se&&(M.method="next",M.arg=void 0),!!Se}for(var Q=this.tryEntries.length-1;Q>=0;--Q){var $=this.tryEntries[Q],ee=$.completion;if($.tryLoc==="root")return U("end");if($.tryLoc<=this.prev){var oe=c.call($,"catchLoc"),pe=c.call($,"finallyLoc");if(oe&&pe){if(this.prev<$.catchLoc)return U($.catchLoc,!0);if(this.prev<$.finallyLoc)return U($.finallyLoc)}else if(oe){if(this.prev<$.catchLoc)return U($.catchLoc,!0)}else{if(!pe)throw new Error("try statement without catch or finally");if(this.prev<$.finallyLoc)return U($.finallyLoc)}}}},abrupt:function(N,M){for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U];if(Q.tryLoc<=this.prev&&c.call(Q,"finallyLoc")&&this.prev<Q.finallyLoc){var $=Q;break}}$&&(N==="break"||N==="continue")&&$.tryLoc<=M&&M<=$.finallyLoc&&($=null);var ee=$?$.completion:{};return ee.type=N,ee.arg=M,$?(this.method="next",this.next=$.finallyLoc,S):this.complete(ee)},complete:function(N,M){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&M&&(this.next=M),S},finish:function(N){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.finallyLoc===N)return this.complete(U.completion,U.afterLoc),J(U),S}},catch:function(N){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.tryLoc===N){var Q=U.completion;if(Q.type==="throw"){var $=Q.arg;J(U)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(N,M,U){return this.delegate={iterator:k(N),resultName:M,nextLoc:U},this.method==="next"&&(this.arg=void 0),S}},u}var i="/api/site-header-footer",o={load:function(){var u=(0,a.default)(r().mark(function c(){var g,v;return r().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,t.default.get(i);case 2:return g=p.sent,v=g.data,p.abrupt("return",v);case 5:case"end":return p.stop()}},c)}));function l(){return u.apply(this,arguments)}return l}(),save:function(){var u=(0,a.default)(r().mark(function c(g){var v,h,p,m;return r().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return v=g.header,h=g.footer,_.next=3,t.default.put(i,{header:v,footer:h});case 3:return p=_.sent,m=p.data,_.abrupt("return",m);case 6:case"end":return _.stop()}},c)}));function l(c){return u.apply(this,arguments)}return l}()},d=o;f.default=d,y.exports=f.default},447902:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338);var n=s(e(808847)),a="X-SiteUser-XSRF-Token",t=Object.assign(n.default,{setXsrfToken:function(o){o&&(t.defaults.headers[a]=o)}}),r=t;f.default=r,y.exports=f.default},729987:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"UserSessionApiAxios",{enumerable:!0,get:function(){return t.default}}),f.default=void 0,e(392338),e(392338);var a=s(e(385870)),t=s(e(447902));function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return l};var l={},c=Object.prototype,g=c.hasOwnProperty,v=Object.defineProperty||function(N,M,U){N[M]=U.value},h=typeof Symbol=="function"?Symbol:{},p=h.iterator||"@@iterator",m=h.asyncIterator||"@@asyncIterator",P=h.toStringTag||"@@toStringTag";function _(N,M,U){return Object.defineProperty(N,M,{value:U,enumerable:!0,configurable:!0,writable:!0}),N[M]}try{_({},"")}catch(N){_=function(U,Q,$){return U[Q]=$}}function b(N,M,U,Q){var $=M&&M.prototype instanceof A?M:A,ee=Object.create($.prototype),oe=new k(Q||[]);return v(ee,"_invoke",{value:X(N,U,oe)}),ee}function S(N,M,U){try{return{type:"normal",arg:N.call(M,U)}}catch(Q){return{type:"throw",arg:Q}}}l.wrap=b;var E={};function A(){}function T(){}function I(){}var R={};_(R,p,function(){return this});var j=Object.getPrototypeOf,x=j&&j(j(F([])));x&&x!==c&&g.call(x,p)&&(R=x);var L=I.prototype=A.prototype=Object.create(R);function H(N){["next","throw","return"].forEach(function(M){_(N,M,function(U){return this._invoke(M,U)})})}function G(N,M){function U($,ee,oe,pe){var me=S(N[$],N,ee);if(me.type!=="throw"){var Se=me.arg,Pe=Se.value;return Pe&&n(Pe)=="object"&&g.call(Pe,"__await")?M.resolve(Pe.__await).then(function(He){U("next",He,oe,pe)},function(He){U("throw",He,oe,pe)}):M.resolve(Pe).then(function(He){Se.value=He,oe(Se)},function(He){return U("throw",He,oe,pe)})}pe(me.arg)}var Q;v(this,"_invoke",{value:function(ee,oe){function pe(){return new M(function(me,Se){U(ee,oe,me,Se)})}return Q=Q?Q.then(pe,pe):pe()}})}function X(N,M,U){var Q="suspendedStart";return function($,ee){if(Q==="executing")throw new Error("Generator is already running");if(Q==="completed"){if($==="throw")throw ee;return q()}for(U.method=$,U.arg=ee;;){var oe=U.delegate;if(oe){var pe=K(oe,U);if(pe){if(pe===E)continue;return pe}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(Q==="suspendedStart")throw Q="completed",U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);Q="executing";var me=S(N,M,U);if(me.type==="normal"){if(Q=U.done?"completed":"suspendedYield",me.arg===E)continue;return{value:me.arg,done:U.done}}me.type==="throw"&&(Q="completed",U.method="throw",U.arg=me.arg)}}}function K(N,M){var U=M.method,Q=N.iterator[U];if(Q===void 0)return M.delegate=null,U==="throw"&&N.iterator.return&&(M.method="return",M.arg=void 0,K(N,M),M.method==="throw")||U!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+U+"' method")),E;var $=S(Q,N.iterator,M.arg);if($.type==="throw")return M.method="throw",M.arg=$.arg,M.delegate=null,E;var ee=$.arg;return ee?ee.done?(M[N.resultName]=ee.value,M.next=N.nextLoc,M.method!=="return"&&(M.method="next",M.arg=void 0),M.delegate=null,E):ee:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,E)}function J(N){var M={tryLoc:N[0]};1 in N&&(M.catchLoc=N[1]),2 in N&&(M.finallyLoc=N[2],M.afterLoc=N[3]),this.tryEntries.push(M)}function z(N){var M=N.completion||{};M.type="normal",delete M.arg,N.completion=M}function k(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(J,this),this.reset(!0)}function F(N){if(N){var M=N[p];if(M)return M.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var U=-1,Q=function $(){for(;++U<N.length;)if(g.call(N,U))return $.value=N[U],$.done=!1,$;return $.value=void 0,$.done=!0,$};return Q.next=Q}}return{next:q}}function q(){return{value:void 0,done:!0}}return T.prototype=I,v(L,"constructor",{value:I,configurable:!0}),v(I,"constructor",{value:T,configurable:!0}),T.displayName=_(I,P,"GeneratorFunction"),l.isGeneratorFunction=function(N){var M=typeof N=="function"&&N.constructor;return!!M&&(M===T||(M.displayName||M.name)==="GeneratorFunction")},l.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,I):(N.__proto__=I,_(N,P,"GeneratorFunction")),N.prototype=Object.create(L),N},l.awrap=function(N){return{__await:N}},H(G.prototype),_(G.prototype,m,function(){return this}),l.AsyncIterator=G,l.async=function(N,M,U,Q,$){$===void 0&&($=Promise);var ee=new G(b(N,M,U,Q),$);return l.isGeneratorFunction(M)?ee:ee.next().then(function(oe){return oe.done?oe.value:ee.next()})},H(L),_(L,P,"Generator"),_(L,p,function(){return this}),_(L,"toString",function(){return"[object Generator]"}),l.keys=function(N){var M=Object(N),U=[];for(var Q in M)U.push(Q);return U.reverse(),function $(){for(;
67U.length;){var ee=U.pop();if(ee in M)return $.value=ee,$.done=!1,$}return $.done=!0,$}},l.values=F,k.prototype={constructor:k,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(z),!M)for(var U in this)U.charAt(0)==="t"&&g.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=void 0)},stop:function(){this.done=!0;var M=this.tryEntries[0].completion;if(M.type==="throw")throw M.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var U=this;function Q(Se,Pe){return oe.type="throw",oe.arg=M,U.next=Se,Pe&&(U.method="next",U.arg=void 0),!!Pe}for(var $=this.tryEntries.length-1;$>=0;--$){var ee=this.tryEntries[$],oe=ee.completion;if(ee.tryLoc==="root")return Q("end");if(ee.tryLoc<=this.prev){var pe=g.call(ee,"catchLoc"),me=g.call(ee,"finallyLoc");if(pe&&me){if(this.prev<ee.catchLoc)return Q(ee.catchLoc,!0);if(this.prev<ee.finallyLoc)return Q(ee.finallyLoc)}else if(pe){if(this.prev<ee.catchLoc)return Q(ee.catchLoc,!0)}else{if(!me)throw new Error("try statement without catch or finally");if(this.prev<ee.finallyLoc)return Q(ee.finallyLoc)}}}},abrupt:function(M,U){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var $=this.tryEntries[Q];if($.tryLoc<=this.prev&&g.call($,"finallyLoc")&&this.prev<$.finallyLoc){var ee=$;break}}ee&&(M==="break"||M==="continue")&&ee.tryLoc<=U&&U<=ee.finallyLoc&&(ee=null);var oe=ee?ee.completion:{};return oe.type=M,oe.arg=U,ee?(this.method="next",this.next=ee.finallyLoc,E):this.complete(oe)},complete:function(M,U){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&U&&(this.next=U),E},finish:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U];if(Q.finallyLoc===M)return this.complete(Q.completion,Q.afterLoc),z(Q),E}},catch:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U];if(Q.tryLoc===M){var $=Q.completion;if($.type==="throw"){var ee=$.arg;z(Q)}return ee}}throw new Error("illegal catch attempt")},delegateYield:function(M,U,Q){return this.delegate={iterator:F(M),resultName:U,nextLoc:Q},this.method==="next"&&(this.arg=void 0),E}},l}var i="/api/site-users/account/session",o="/api/site-users/account/locale",d={login:function(c){return(0,a.default)(r().mark(function g(){var v,h;return r().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,t.default.post(i,{email:c.email,password:c.password,rememberMe:c.rememberMe});case 2:return v=m.sent,h=v.data,m.abrupt("return",t.default.setXsrfToken(h.xsrfToken));case 5:case"end":return m.stop()}},g)}))()},logout:function(){var c=arguments,g=this;return(0,a.default)(r().mark(function v(){var h,p;return r().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return h=c.length>0&&c[0]!==void 0?c[0]:{},P.next=3,g.callLogoutEndpoint(h);case 3:if(p=P.sent,!(p.data&&p.data.crumbFail)){P.next=6;break}return P.abrupt("return",g.callLogoutEndpoint(h));case 6:return P.abrupt("return",p);case 7:case"end":return P.stop()}},v)}))()},updateLocale:function(){var c,g=(c=window.top)===null||c===void 0?void 0:c.Weglot;if(g!=null&&g.getCurrentLang){var v,h,p=g.getCurrentLang(),m=(v=g.options)===null||v===void 0||(h=v.languages)===null||h===void 0?void 0:h.find(function(P){return P.custom_code===p});if(!m)return t.default.post(o,{language:p})}},callLogoutEndpoint:function(c){return t.default.delete(i,{params:{cloneCart:!!c.cloneCart}})}},u=d;f.default=u},562730:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getCenteredPopUpOptions=void 0,e(392338);var s=function(a){var t=a.w,r=a.h,i=window.outerHeight/2+window.screenY-r/2,o=window.outerWidth/2+window.screenX-t/2;return"width=".concat(t,",height=").concat(r,",top=").concat(i,",left=").concat(o)};f.getCenteredPopUpOptions=s},555205:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);
vendor: 8,504 bytes, line 67
67Object.defineProperty(f,"__esModule",{value:!0}),f.setupNamespace=x;var a=s(e(432405)),t=s(e(385870)),r=s(e(346797)),i=s(e(142921)),o=s(e(852113)),d=h(e(508669)),u=s(e(808847)),l=s(e(87964)),c=["websiteId"],g=["preferences"];function v(L){if(typeof WeakMap!="function")return null;var H=new WeakMap,G=new WeakMap;return(v=function(K){return K?G:H})(L)}function h(L,H){if(!H&&L&&L.__esModule)return L;if(L===null||n(L)!=="object"&&typeof L!="function")return{default:L};var G=v(H);if(G&&G.has(L))return G.get(L);var X={},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var J in L)if(J!=="default"&&Object.prototype.hasOwnProperty.call(L,J)){var z=K?Object.getOwnPropertyDescriptor(L,J):null;z&&(z.get||z.set)?Object.defineProperty(X,J,z):X[J]=L[J]}return X.default=L,G&&G.set(L,X),X}function p(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return L};var L={},H=Object.prototype,G=H.hasOwnProperty,X=Object.defineProperty||function(_e,Re,Be){_e[Re]=Be.value},K=typeof Symbol=="function"?Symbol:{},J=K.iterator||"@@iterator",z=K.asyncIterator||"@@asyncIterator",k=K.toStringTag||"@@toStringTag";function F(_e,Re,Be){return Object.defineProperty(_e,Re,{value:Be,enumerable:!0,configurable:!0,writable:!0}),_e[Re]}try{F({},"")}catch(_e){F=function(Be,nt,Je){return Be[nt]=Je}}function q(_e,Re,Be,nt){var Je=Re&&Re.prototype instanceof U?Re:U,ue=Object.create(Je.prototype),we=new le(nt||[]);return X(ue,"_invoke",{value:He(_e,Be,we)}),ue}function N(_e,Re,Be){try{return{type:"normal",arg:_e.call(Re,Be)}}catch(nt){return{type:"throw",arg:nt}}}L.wrap=q;var M={};function U(){}function Q(){}function $(){}var ee={};F(ee,J,function(){return this});var oe=Object.getPrototypeOf,pe=oe&&oe(oe(Ee([])));pe&&pe!==H&&G.call(pe,J)&&(ee=pe);var me=$.prototype=U.prototype=Object.create(ee);function Se(_e){["next","throw","return"].forEach(function(Re){F(_e,Re,function(Be){return this._invoke(Re,Be)})})}function Pe(_e,Re){function Be(Je,ue,we,We){var qe=N(_e[Je],_e,ue);if(qe.type!=="throw"){var Ie=qe.arg,Me=Ie.value;return Me&&n(Me)=="object"&&G.call(Me,"__await")?Re.resolve(Me.__await).then(function(Ve){Be("next",Ve,we,We)},function(Ve){Be("throw",Ve,we,We)}):Re.resolve(Me).then(function(Ve){Ie.value=Ve,we(Ie)},function(Ve){return Be("throw",Ve,we,We)})}We(qe.arg)}var nt;X(this,"_invoke",{value:function(ue,we){function We(){return new Re(function(qe,Ie){Be(ue,we,qe,Ie)})}return nt=nt?nt.then(We,We):We()}})}function He(_e,Re,Be){var nt="suspendedStart";return function(Je,ue){if(nt==="executing")throw new Error("Generator is already running");if(nt==="completed"){if(Je==="throw")throw ue;return xe()}for(Be.method=Je,Be.arg=ue;;){var we=Be.delegate;if(we){var We=fe(we,Be);if(We){if(We===M)continue;return We}}if(Be.method==="next")Be.sent=Be._sent=Be.arg;else if(Be.method==="throw"){if(nt==="suspendedStart")throw nt="completed",Be.arg;Be.dispatchException(Be.arg)}else Be.method==="return"&&Be.abrupt("return",Be.arg);nt="executing";var qe=N(_e,Re,Be);if(qe.type==="normal"){if(nt=Be.done?"completed":"suspendedYield",qe.arg===M)continue;return{value:qe.arg,done:Be.done}}qe.type==="throw"&&(nt="completed",Be.method="throw",Be.arg=qe.arg)}}}function fe(_e,Re){var Be=Re.method,nt=_e.iterator[Be];if(nt===void 0)return Re.delegate=null,Be==="throw"&&_e.iterator.return&&(Re.method="return",Re.arg=void 0,fe(_e,Re),Re.method==="throw")||Be!=="return"&&(Re.method="throw",Re.arg=new TypeError("The iterator does not provide a '"+Be+"' method")),M;var Je=N(nt,_e.iterator,Re.arg);if(Je.type==="throw")return Re.method="throw",Re.arg=Je.arg,Re.delegate=null,M;var ue=Je.arg;return ue?ue.done?(Re[_e.resultName]=ue.value,Re.next=_e.nextLoc,Re.method!=="return"&&(Re.method="next",Re.arg=void 0),Re.delegate=null,M):ue:(Re.method="throw",Re.arg=new TypeError("iterator result is not an object"),Re.delegate=null,M)}function ve(_e){var Re={tryLoc:_e[0]};1 in _e&&(Re.catchLoc=_e[1]),2 in _e&&(Re.finallyLoc=_e[2],Re.afterLoc=_e[3]),this.tryEntries.push(Re)}function ae(_e){var Re=_e.completion||{};Re.type="normal",delete Re.arg,_e.completion=Re}function le(_e){this.tryEntries=[{tryLoc:"root"}],_e.forEach(ve,this),this.reset(!0)}function Ee(_e){if(_e){var Re=_e[J];if(Re)return Re.call(_e);if(typeof _e.next=="function")return _e;if(!isNaN(_e.length)){var Be=-1,nt=function Je(){for(;++Be<_e.length;)if(G.call(_e,Be))return Je.value=_e[Be],Je.done=!1,Je;return Je.value=void 0,Je.done=!0,Je};return nt.next=nt}}return{next:xe}}function xe(){return{value:void 0,done:!0}}return Q.prototype=$,X(me,"constructor",{value:$,configurable:!0}),X($,"constructor",{value:Q,configurable:!0}),Q.displayName=F($,k,"GeneratorFunction"),L.isGeneratorFunction=function(_e){var Re=typeof _e=="function"&&_e.constructor;return!!Re&&(Re===Q||(Re.displayName||Re.name)==="GeneratorFunction")},L.mark=function(_e){return Object.setPrototypeOf?Object.setPrototypeOf(_e,$):(_e.__proto__=$,F(_e,k,"GeneratorFunction")),_e.prototype=Object.create(me),_e},L.awrap=function(_e){return{__await:_e}},Se(Pe.prototype),F(Pe.prototype,z,function(){return this}),L.AsyncIterator=Pe,L.async=function(_e,Re,Be,nt,Je){Je===void 0&&(Je=Promise);var ue=new Pe(q(_e,Re,Be,nt),Je);return L.isGeneratorFunction(Re)?ue:ue.next().then(function(we){return we.done?we.value:ue.next()})},Se(me),F(me,k,"Generator"),F(me,J,function(){return this}),F(me,"toString",function(){return"[object Generator]"}),L.keys=function(_e){var Re=Object(_e),Be=[];for(var nt in Re)Be.push(nt);return Be.reverse(),function Je(){for(;Be.length;){var ue=Be.pop();if(ue in Re)return Je.value=ue,Je.done=!1,Je}return Je.done=!0,Je}},L.values=Ee,le.prototype={constructor:le,reset:function(Re){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(ae),!Re)for(var Be in this)Be.charAt(0)==="t"&&G.call(this,Be)&&!isNaN(+Be.slice(1))&&(this[Be]=void 0)},stop:function(){this.done=!0;var Re=this.tryEntries[0].completion;if(Re.type==="throw")throw Re.arg;return this.rval},dispatchException:function(Re){if(this.done)throw Re;var Be=this;function nt(Ie,Me){return we.type="throw",we.arg=Re,Be.next=Ie,Me&&(Be.method="next",Be.arg=void 0),!!Me}for(var Je=this.tryEntries.length-1;Je>=0;--Je){var ue=this.tryEntries[Je],we=ue.completion;if(ue.tryLoc==="root")return nt("end");if(ue.tryLoc<=this.prev){var We=G.call(ue,"catchLoc"),qe=G.call(ue,"finallyLoc");if(We&&qe){if(this.prev<ue.catchLoc)return nt(ue.catchLoc,!0);if(this.prev<ue.finallyLoc)return nt(ue.finallyLoc)}else if(We){if(this.prev<ue.catchLoc)return nt(ue.catchLoc,!0)}else{if(!qe)throw new Error("try statement without catch or finally");if(this.prev<ue.finallyLoc)return nt(ue.finallyLoc)}}}},abrupt:function(Re,Be){for(var nt=this.tryEntries.length-1;nt>=0;--nt){var Je=this.tryEntries[nt];if(Je.tryLoc<=this.prev&&G.call(Je,"finallyLoc")&&this.prev<Je.finallyLoc){var ue=Je;break}}ue&&(Re==="break"||Re==="continue")&&ue.tryLoc<=Be&&Be<=ue.finallyLoc&&(ue=null);var we=ue?ue.completion:{};return we.type=Re,we.arg=Be,ue?(this.method="next",this.next=ue.finallyLoc,M):this.complete(we)},complete:function(Re,Be){if(Re.type==="throw")throw Re.arg;return Re.type==="break"||Re.type==="continue"?this.next=Re.arg:Re.type==="return"?(this.rval=this.arg=Re.arg,this.method="return",this.next="end"):Re.type==="normal"&&Be&&(this.next=Be),M},finish:function(Re){for(var Be=this.tryEntries.length-1;Be>=0;--Be){var nt=this.tryEntries[Be];if(nt.finallyLoc===Re)return this.complete(nt.completion,nt.afterLoc),ae(nt),M}},catch:function(Re){for(var Be=this.tryEntries.length-1;Be>=0;--Be){var nt=this.tryEntries[Be];if(nt.tryLoc===Re){var Je=nt.completion;if(Je.type==="throw"){var ue=Je.arg;ae(nt)}return ue}}throw new Error("illegal catch attempt")},delegateYield:function(Re,Be,nt){return this.delegate={iterator:Ee(Re),resultName:Be,nextLoc:nt},this.method==="next"&&(this.arg=void 0),M}},L}function m(L,H){var G=Object.keys(L);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(L);H&&(X=X.filter(function(K){return Object.getOwnPropertyDescriptor(L,K).enumerable})),G.push.apply(G,X)}return G}function P(L){for(var H=1;H<arguments.length;H++){var G=arguments[H]!=null?arguments[H]:{};H%2?m(Object(G),!0).forEach(function(X){(0,r.default)(L,X,G[X])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(G)):m(Object(G)).forEac
67h(function(X){Object.defineProperty(L,X,Object.getOwnPropertyDescriptor(G,X))})}return L}var _=function(H){return"COMMERCE_PREFERENCES_REFETCH_".concat(H)},b={},S=function(H,G){b[H]=P(P({},b[H]),G)},E=function(){var L=(0,t.default)(p().mark(function H(G,X){return p().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return S(G,X),document.dispatchEvent(new CustomEvent(_(G))),J.next=4,u.default.put("/api/v1/commerce-preferences/".concat(G),X);case 4:case"end":return J.stop()}},H)}));return function(G,X){return L.apply(this,arguments)}}(),A={},T=function(){var L=(0,t.default)(p().mark(function H(G){return p().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:if(!b[G]){K.next=2;break}return K.abrupt("return",b[G]);case 2:return A[G]||(A[G]=(0,t.default)(p().mark(function J(){var z,k,F,q;return p().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,u.default.get("/api/v1/commerce-preferences/".concat(G));case 2:return z=M.sent,k=z.data,F=k.websiteId,q=(0,a.default)(k,c),S(G,q),M.abrupt("return",q);case 8:case"end":return M.stop()}},J)}))()),K.abrupt("return",A[G]);case 4:case"end":return K.stop()}},H)}));return function(G){return L.apply(this,arguments)}}(),I=function(H){var G="__setCommercePreferences_".concat(H);window[G]=function(X){return E(H,X)}},R=function(H){var G=(0,l.default)(function(){return T(H)}),X=G.data,K=X===void 0?b[H]:X,J=G.isError,z=G.isLoading,k=G.refetch;return(0,d.useEffect)(function(){return document.addEventListener(_(H),k),function(){document.removeEventListener(_(H),k)}},[k,H]),{preferences:P({},(0,i.default)(K,function(F){return!(0,o.default)(F)})),isError:J,isLoading:z,hasLoaded:!!K||J}},j=function(H){return function(G){return function(X){var K=R(H),J=K.hasLoaded;return J?d.default.createElement(G,X):null}}};function x(L){var H=L.namespace,G=L.injectHelper,X=G===void 0?!0:G;return X&&I(H),{withEnsurePreferences:j(H),setPreferences:function(J){E(H,J)},fetchPreferences:function(){var K=(0,t.default)(p().mark(function z(){return p().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,T(H);case 2:return F.abrupt("return",F.sent);case 3:case"end":return F.stop()}},z)}));function J(){return K.apply(this,arguments)}return J}(),usePreferences:function(){var J=R(H),z=J.preferences,k=(0,a.default)(J,g);return P({preferences:z},k)}}}},678581:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=s(e(346797)),t=s(e(432405));e(392338),e(392338);var r=s(e(375798)),i=s(e(709075)),o=l(e(508669)),d=["isCancellable","autoClose"];function u(p){if(typeof WeakMap!="function")return null;var m=new WeakMap,P=new WeakMap;return(u=function(b){return b?P:m})(p)}function l(p,m){if(!m&&p&&p.__esModule)return p;if(p===null||n(p)!=="object"&&typeof p!="function")return{default:p};var P=u(m);if(P&&P.has(p))return P.get(p);var _={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(S!=="default"&&Object.prototype.hasOwnProperty.call(p,S)){var E=b?Object.getOwnPropertyDescriptor(p,S):null;E&&(E.get||E.set)?Object.defineProperty(_,S,E):_[S]=p[S]}return _.default=p,P&&P.set(p,_),_}function c(p,m){var P=Object.keys(p);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(p);m&&(_=_.filter(function(b){return Object.getOwnPropertyDescriptor(p,b).enumerable})),P.push.apply(P,_)}return P}function g(p){for(var m=1;m<arguments.length;m++){var P=arguments[m]!=null?arguments[m]:{};m%2?c(Object(P),!0).forEach(function(_){(0,a.default)(p,_,P[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(P)):c(Object(P)).forEach(function(_){Object.defineProperty(p,_,Object.getOwnPropertyDescriptor(P,_))})}return p}var v=function(m){var P=o.default.createContext({showConfirmModal:function(){return Promise.resolve(!0)},closeConfirmModal:i.default});function _(S){var E=S.children,A=(0,o.useState)(null),T=(0,r.default)(A,2),I=T[0],R=T[1],j=function(){R(null)},x=I&&o.default.createElement(m,I);return o.default.createElement(o.default.Fragment,null,x,o.default.createElement(P.Provider,{value:{showConfirmModal:function(H){var G=H.isCancellable,X=G===void 0?!0:G,K=H.autoClose,J=K===void 0?!0:K,z=(0,t.default)(H,d);return new Promise(function(k){R(g(g({},z),{},{onConfirm:function(){k(!0),J&&j()},onCancel:function(){if(X)return function(){k(!1),J&&j()}}()}))})},closeConfirmModal:j}},E))}function b(){return o.default.useContext(P)}return{ConfirmModalProvider:_,ConfirmModalContext:P,useConfirmModal:b}},h=v;f.default=h,y.exports=f.default},213164:function(y,f,e){"use strict";var s=e(875832);
67Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var n=s(e(721477)),a=function(i,o,d){var u=(0,n.default)(i);if((u===""||u.length<3)&&(u=o),d.includes(u)){var l=1,c=new Intl.Collator([],{numeric:!0});return d.sort(function(g,v){return c.compare(g,v)}).forEach(function(g){g==="".concat(u,"-").concat(l)&&(l+=1)}),"".concat(u,"-").concat(l)}return u},t=a;f.default=t,y.exports=f.default},783587:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=s(e(385870)),t=s(e(213164)),r=e(100090),i=e(533862);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return l};var l={},c=Object.prototype,g=c.hasOwnProperty,v=Object.defineProperty||function(N,M,U){N[M]=U.value},h=typeof Symbol=="function"?Symbol:{},p=h.iterator||"@@iterator",m=h.asyncIterator||"@@asyncIterator",P=h.toStringTag||"@@toStringTag";function _(N,M,U){return Object.defineProperty(N,M,{value:U,enumerable:!0,configurable:!0,writable:!0}),N[M]}try{_({},"")}catch(N){_=function(U,Q,$){return U[Q]=$}}function b(N,M,U,Q){var $=M&&M.prototype instanceof A?M:A,ee=Object.create($.prototype),oe=new k(Q||[]);return v(ee,"_invoke",{value:X(N,U,oe)}),ee}function S(N,M,U){try{return{type:"normal",arg:N.call(M,U)}}catch(Q){return{type:"throw",arg:Q}}}l.wrap=b;var E={};function A(){}function T(){}function I(){}var R={};_(R,p,function(){return this});var j=Object.getPrototypeOf,x=j&&j(j(F([])));x&&x!==c&&g.call(x,p)&&(R=x);var L=I.prototype=A.prototype=Object.create(R);function H(N){["next","throw","return"].forEach(function(M){_(N,M,function(U){return this._invoke(M,U)})})}function G(N,M){function U($,ee,oe,pe){var me=S(N[$],N,ee);if(me.type!=="throw"){var Se=me.arg,Pe=Se.value;return Pe&&n(Pe)=="object"&&g.call(Pe,"__await")?M.resolve(Pe.__await).then(function(He){U("next",He,oe,pe)},function(He){U("throw",He,oe,pe)}):M.resolve(Pe).then(function(He){Se.value=He,oe(Se)},function(He){return U("throw",He,oe,pe)})}pe(me.arg)}var Q;v(this,"_invoke",{value:function(ee,oe){function pe(){return new M(function(me,Se){U(ee,oe,me,Se)})}return Q=Q?Q.then(pe,pe):pe()}})}function X(N,M,U){var Q="suspendedStart";return function($,ee){if(Q==="executing")throw new Error("Generator is already running");if(Q==="completed"){if($==="throw")throw ee;return q()}for(U.method=$,U.arg=ee;;){var oe=U.delegate;if(oe){var pe=K(oe,U);if(pe){if(pe===E)continue;return pe}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(Q==="suspendedStart")throw Q="completed",U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);Q="executing";var me=S(N,M,U);if(me.type==="normal"){if(Q=U.done?"completed":"suspendedYield",me.arg===E)continue;return{value:me.arg,done:U.done}}me.type==="throw"&&(Q="completed",U.method="throw",U.arg=me.arg)}}}function K(N,M){var U=M.method,Q=N.iterator[U];if(Q===void 0)return M.delegate=null,U==="throw"&&N.iterator.return&&(M.method="return",M.arg=void 0,K(N,M),M.method==="throw")||U!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+U+"' method")),E;var $=S(Q,N.iterator,M.arg);if($.type==="throw")return M.method="throw",M.arg=$.arg,M.delegate=null,E;var ee=$.arg;return ee?ee.done?(M[N.resultName]=ee.value,M.next=N.nextLoc,M.method!=="return"&&(M.method="next",M.arg=void 0),M.delegate=null,E):ee:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,E)}function J(N){var M={tryLoc:N[0]};1 in N&&(M.catchLoc=N[1]),2 in N&&(M.finallyLoc=N[2],M.afterLoc=N[3]),this.tryEntries.push(M)}function z(N){var M=N.completion||{};M.type="normal",delete M.arg,N.completion=M}function k(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(J,this),this.reset(!0)}
vendor: 4,584 bytes, line 67
67function F(N){if(N){var M=N[p];if(M)return M.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var U=-1,Q=function $(){for(;++U<N.length;)if(g.call(N,U))return $.value=N[U],$.done=!1,$;return $.value=void 0,$.done=!0,$};return Q.next=Q}}return{next:q}}function q(){return{value:void 0,done:!0}}return T.prototype=I,v(L,"constructor",{value:I,configurable:!0}),v(I,"constructor",{value:T,configurable:!0}),T.displayName=_(I,P,"GeneratorFunction"),l.isGeneratorFunction=function(N){var M=typeof N=="function"&&N.constructor;return!!M&&(M===T||(M.displayName||M.name)==="GeneratorFunction")},l.mark=function(N){return Object.setPrototypeOf?Object.setPrototypeOf(N,I):(N.__proto__=I,_(N,P,"GeneratorFunction")),N.prototype=Object.create(L),N},l.awrap=function(N){return{__await:N}},H(G.prototype),_(G.prototype,m,function(){return this}),l.AsyncIterator=G,l.async=function(N,M,U,Q,$){$===void 0&&($=Promise);var ee=new G(b(N,M,U,Q),$);return l.isGeneratorFunction(M)?ee:ee.next().then(function(oe){return oe.done?oe.value:ee.next()})},H(L),_(L,P,"Generator"),_(L,p,function(){return this}),_(L,"toString",function(){return"[object Generator]"}),l.keys=function(N){var M=Object(N),U=[];for(var Q in M)U.push(Q);return U.reverse(),function $(){for(;U.length;){var ee=U.pop();if(ee in M)return $.value=ee,$.done=!1,$}return $.done=!0,$}},l.values=F,k.prototype={constructor:k,reset:function(M){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(z),!M)for(var U in this)U.charAt(0)==="t"&&g.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=void 0)},stop:function(){this.done=!0;var M=this.tryEntries[0].completion;if(M.type==="throw")throw M.arg;return this.rval},dispatchException:function(M){if(this.done)throw M;var U=this;function Q(Se,Pe){return oe.type="throw",oe.arg=M,U.next=Se,Pe&&(U.method="next",U.arg=void 0),!!Pe}for(var $=this.tryEntries.length-1;$>=0;--$){var ee=this.tryEntries[$],oe=ee.completion;if(ee.tryLoc==="root")return Q("end");if(ee.tryLoc<=this.prev){var pe=g.call(ee,"catchLoc"),me=g.call(ee,"finallyLoc");if(pe&&me){if(this.prev<ee.catchLoc)return Q(ee.catchLoc,!0);if(this.prev<ee.finallyLoc)return Q(ee.finallyLoc)}else if(pe){if(this.prev<ee.catchLoc)return Q(ee.catchLoc,!0)}else{if(!me)throw new Error("try statement without catch or finally");if(this.prev<ee.finallyLoc)return Q(ee.finallyLoc)}}}},abrupt:function(M,U){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var $=this.tryEntries[Q];if($.tryLoc<=this.prev&&g.call($,"finallyLoc")&&this.prev<$.finallyLoc){var ee=$;break}}ee&&(M==="break"||M==="continue")&&ee.tryLoc<=U&&U<=ee.finallyLoc&&(ee=null);var oe=ee?ee.completion:{};return oe.type=M,oe.arg=U,ee?(this.method="next",this.next=ee.finallyLoc,E):this.complete(oe)},complete:function(M,U){if(M.type==="throw")throw M.arg;return M.type==="break"||M.type==="continue"?this.next=M.arg:M.type==="return"?(this.rval=this.arg=M.arg,this.method="return",this.next="end"):M.type==="normal"&&U&&(this.next=U),E},finish:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U];if(Q.finallyLoc===M)return this.complete(Q.completion,Q.afterLoc),z(Q),E}},catch:function(M){for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U];if(Q.tryLoc===M){var $=Q.completion;if($.type==="throw"){var ee=$.arg;z(Q)}return ee}}throw new Error("illegal catch attempt")},delegateYield:function(M,U,Q){return this.delegate={iterator:F(M),resultName:U,nextLoc:Q},this.method==="next"&&(this.arg=void 0),E}},l}var d=function(){var l=(0,a.default)(o().mark(function c(g){var v,h,p,m,P,_,b,S,E,A,T;return o().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return v=g.storeTitle,h=g.addToMainNav,p=g.fallbackStoreTitle,m=g.allCategoryDisplayName,P=g.websiteId,_=g.templateId,b=g.isSevenOne,S=g.storeUrls,E=(0,t.default)(v,p,S),R.next=4,(0,i.createProductCollection)({websiteId:P,navigationTitle:v,title:v,urlId:E,description:b?void 0:""});case 4:return A=R.sent,T=A.id,R.next=8,(0,i.createRootCategory)({websiteId:P,collectionId:T,displayName:m});case 8:if(!h){R.next=11;break}return R.next=11,(0,r.addStoreToMainNav)(T,_);case 11:return R.abrupt("return",{collection:A});case 12:case"end":return R.stop()}},c)}));return function(g){return l.apply(this,arguments)}}(),u=d;f.default=u,y.exports=f.default},100090:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);
67Object.defineProperty(f,"__esModule",{value:!0}),f.addStoreToMainNav=void 0,e(392338),e(392338);var a=s(e(603912)),t=s(e(385870)),r=s(e(808847));function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return c};var c={},g=Object.prototype,v=g.hasOwnProperty,h=Object.defineProperty||function(M,U,Q){M[U]=Q.value},p=typeof Symbol=="function"?Symbol:{},m=p.iterator||"@@iterator",P=p.asyncIterator||"@@asyncIterator",_=p.toStringTag||"@@toStringTag";function b(M,U,Q){return Object.defineProperty(M,U,{value:Q,enumerable:!0,configurable:!0,writable:!0}),M[U]}try{b({},"")}catch(M){b=function(Q,$,ee){return Q[$]=ee}}function S(M,U,Q,$){var ee=U&&U.prototype instanceof T?U:T,oe=Object.create(ee.prototype),pe=new F($||[]);return h(oe,"_invoke",{value:K(M,Q,pe)}),oe}function E(M,U,Q){try{return{type:"normal",arg:M.call(U,Q)}}catch($){return{type:"throw",arg:$}}}c.wrap=S;var A={};function T(){}function I(){}function R(){}var j={};b(j,m,function(){return this});
vendor: 4,126 bytes, line 67
67var x=Object.getPrototypeOf,L=x&&x(x(q([])));L&&L!==g&&v.call(L,m)&&(j=L);var H=R.prototype=T.prototype=Object.create(j);function G(M){["next","throw","return"].forEach(function(U){b(M,U,function(Q){return this._invoke(U,Q)})})}function X(M,U){function Q(ee,oe,pe,me){var Se=E(M[ee],M,oe);if(Se.type!=="throw"){var Pe=Se.arg,He=Pe.value;return He&&n(He)=="object"&&v.call(He,"__await")?U.resolve(He.__await).then(function(fe){Q("next",fe,pe,me)},function(fe){Q("throw",fe,pe,me)}):U.resolve(He).then(function(fe){Pe.value=fe,pe(Pe)},function(fe){return Q("throw",fe,pe,me)})}me(Se.arg)}var $;h(this,"_invoke",{value:function(oe,pe){function me(){return new U(function(Se,Pe){Q(oe,pe,Se,Pe)})}return $=$?$.then(me,me):me()}})}function K(M,U,Q){var $="suspendedStart";return function(ee,oe){if($==="executing")throw new Error("Generator is already running");if($==="completed"){if(ee==="throw")throw oe;return N()}for(Q.method=ee,Q.arg=oe;;){var pe=Q.delegate;if(pe){var me=J(pe,Q);if(me){if(me===A)continue;return me}}if(Q.method==="next")Q.sent=Q._sent=Q.arg;else if(Q.method==="throw"){if($==="suspendedStart")throw $="completed",Q.arg;Q.dispatchException(Q.arg)}else Q.method==="return"&&Q.abrupt("return",Q.arg);$="executing";var Se=E(M,U,Q);if(Se.type==="normal"){if($=Q.done?"completed":"suspendedYield",Se.arg===A)continue;return{value:Se.arg,done:Q.done}}Se.type==="throw"&&($="completed",Q.method="throw",Q.arg=Se.arg)}}}function J(M,U){var Q=U.method,$=M.iterator[Q];if($===void 0)return U.delegate=null,Q==="throw"&&M.iterator.return&&(U.method="return",U.arg=void 0,J(M,U),U.method==="throw")||Q!=="return"&&(U.method="throw",U.arg=new TypeError("The iterator does not provide a '"+Q+"' method")),A;var ee=E($,M.iterator,U.arg);if(ee.type==="throw")return U.method="throw",U.arg=ee.arg,U.delegate=null,A;var oe=ee.arg;return oe?oe.done?(U[M.resultName]=oe.value,U.next=M.nextLoc,U.method!=="return"&&(U.method="next",U.arg=void 0),U.delegate=null,A):oe:(U.method="throw",U.arg=new TypeError("iterator result is not an object"),U.delegate=null,A)}function z(M){var U={tryLoc:M[0]};1 in M&&(U.catchLoc=M[1]),2 in M&&(U.finallyLoc=M[2],U.afterLoc=M[3]),this.tryEntries.push(U)}function k(M){var U=M.completion||{};U.type="normal",delete U.arg,M.completion=U}function F(M){this.tryEntries=[{tryLoc:"root"}],M.forEach(z,this),this.reset(!0)}function q(M){if(M){var U=M[m];if(U)return U.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length)){var Q=-1,$=function ee(){for(;++Q<M.length;)if(v.call(M,Q))return ee.value=M[Q],ee.done=!1,ee;return ee.value=void 0,ee.done=!0,ee};return $.next=$}}return{next:N}}function N(){return{value:void 0,done:!0}}return I.prototype=R,h(H,"constructor",{value:R,configurable:!0}),h(R,"constructor",{value:I,configurable:!0}),I.displayName=b(R,_,"GeneratorFunction"),c.isGeneratorFunction=function(M){var U=typeof M=="function"&&M.constructor;return!!U&&(U===I||(U.displayName||U.name)==="GeneratorFunction")},c.mark=function(M){return Object.setPrototypeOf?Object.setPrototypeOf(M,R):(M.__proto__=R,b(M,_,"GeneratorFunction")),M.prototype=Object.create(H),M},c.awrap=function(M){return{__await:M}},G(X.prototype),b(X.prototype,P,function(){return this}),c.AsyncIterator=X,c.async=function(M,U,Q,$,ee){ee===void 0&&(ee=Promise);var oe=new X(S(M,U,Q,$),ee);return c.isGeneratorFunction(U)?oe:oe.next().then(function(pe){return pe.done?pe.value:oe.next()})},G(H),b(H,_,"Generator"),b(H,m,function(){return this}),b(H,"toString",function(){return"[object Generator]"}),c.keys=function(M){var U=Object(M),Q=[];for(var $ in U)Q.push($);return Q.reverse(),function ee(){for(;Q.length;){var oe=Q.pop();if(oe in U)return ee.value=oe,ee.done=!1,ee}return ee.done=!0,ee}},c.values=q,F.prototype={constructor:F,reset:function(U){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!U)for(var Q in this)Q.charAt(0)==="t"&&v.call(this,Q)&&!isNaN(+Q.slice(1))&&(this[Q]=void 0)},stop:function(){this.done=!0;var U=this.tryEntries[0].completion;if(U.type==="throw")throw U.arg;return this.rval}
67,dispatchException:function(U){if(this.done)throw U;var Q=this;function $(Pe,He){return pe.type="throw",pe.arg=U,Q.next=Pe,He&&(Q.method="next",Q.arg=void 0),!!He}for(var ee=this.tryEntries.length-1;ee>=0;--ee){var oe=this.tryEntries[ee],pe=oe.completion;if(oe.tryLoc==="root")return $("end");if(oe.tryLoc<=this.prev){var me=v.call(oe,"catchLoc"),Se=v.call(oe,"finallyLoc");if(me&&Se){if(this.prev<oe.catchLoc)return $(oe.catchLoc,!0);if(this.prev<oe.finallyLoc)return $(oe.finallyLoc)}else if(me){if(this.prev<oe.catchLoc)return $(oe.catchLoc,!0)}else{if(!Se)throw new Error("try statement without catch or finally");if(this.prev<oe.finallyLoc)return $(oe.finallyLoc)}}}},abrupt:function(U,Q){for(var $=this.tryEntries.length-1;$>=0;--$){var ee=this.tryEntries[$];if(ee.tryLoc<=this.prev&&v.call(ee,"finallyLoc")&&this.prev<ee.finallyLoc){var oe=ee;break}}oe&&(U==="break"||U==="continue")&&oe.tryLoc<=Q&&Q<=oe.finallyLoc&&(oe=null);var pe=oe?oe.completion:{};return pe.type=U,pe.arg=Q,oe?(this.method="next",this.next=oe.finallyLoc,A):this.complete(pe)},complete:function(U,Q){if(U.type==="throw")throw U.arg;return U.type==="break"||U.type==="continue"?this.next=U.arg:U.type==="return"?(this.rval=this.arg=U.arg,this.method="return",this.next="end"):U.type==="normal"&&Q&&(this.next=Q),A},finish:function(U){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var $=this.tryEntries[Q];if($.finallyLoc===U)return this.complete($.completion,$.afterLoc),k($),A}},catch:function(U){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var $=this.tryEntries[Q];if($.tryLoc===U){var ee=$.completion;if(ee.type==="throw"){var oe=ee.arg;k($)}return oe}}throw new Error("illegal catch attempt")},delegateYield:function(U,Q,$){return this.delegate={iterator:q(U),resultName:Q,nextLoc:$},this.method==="next"&&(this.arg=void 0),A}},c}var o=function(){var c=(0,t.default)(i().mark(function g(v){return i().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,r.default.post("/api/widget/UpdateNavigation",v);case 2:case"end":return p.stop()}},g)}));return function(v){return c.apply(this,arguments)}}(),d=function(){var c=(0,t.default)(i().mark(function g(){var v,h;return i().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,r.default.get("/api/commondata/GetSiteLayout");case 2:return v=m.sent,h=v.data,m.abrupt("return",h);case 5:case"end":return m.stop()}},g)}));return function(){return c.apply(this,arguments)}}(),u=function c(g){return g.map(function(v){var h=v.collectionId,p=v.children,m=v.externalLink,P=v.memberAreaId;return{items:p?c(p):[],collectionId:h,externalLink:m,memberAreaId:P}})},l=function(){var c=(0,t.default)(i().mark(function g(v,h){var p,m,P,_;return i().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,d();case 2:if(p=S.sent,m=p.layout[0],m){S.next=6;break}throw new Error("Unable to find site main navigation");case 6:return P={collectionId:v},_=[P].concat((0,a.default)(u(m.links))),S.next=10,o({fieldName:m.identifier,templateId:h,navigation:{items:_}});case 10:case"end":return S.stop()}},g)}));return function(v,h){return c.apply(this,arguments)}}();f.addStoreToMainNav=l},533862:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.createRootCategory=f.createProductCollection=void 0,e(392338),e(392338),e(392338);var a=s(e(385870)),t=s(e(808847));function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return d};var d={},u=Object.prototype,l=u.hasOwnProperty,c=Object.defineProperty||function(F,q,N){F[q]=N.value},g=typeof Symbol=="function"?Symbol:{},v=g.iterator||"@@iterator",h=g.asyncIterator||"@@asyncIterator",p=g.toStringTag||"@@toStringTag";function m(F,q,N){return Object.defineProperty(F,q,{value:N,enumerable:!0,configurable:!0,writable:!0}),F[q]}try{m({},"")}catch(F){m=function(N,M,U){return N[M]=U}}function P(F,q,N,M){var U=q&&q.prototype instanceof S?q:S,Q=Object.create(U.prototype),$=new J(M||[]);return c(Q,"_invoke",{value:H(F,N,$)}),Q}function _(F,q,N){try{return{type:"normal",arg:F.call(q,N)}}catch(M){return{type:"throw",arg:M}}}d.wrap=P;var b={};function S(){}function E(){}function A(){}var T={};m(T,v,function(){return this});var I=Object.getPrototypeOf,R=I&&I(I(z([])));R&&R!==u&&l.call(R,v)&&(T=R);var j=A.prototype=S.prototype=Object.create(T);function x(F){["next","throw","return"].forEach(function(q){m(F,q,function(N){return this._invoke(q,N)})})}function L(F,q){function N(U,Q,$,ee){var oe=_(F[U],F,Q);if(oe.type!=="throw"){var pe=oe.arg,me=pe.value;return me&&n(me)=="object"&&l.call(me,"__await")?q.resolve(me.__await).then(function(Se){N("next",Se,$,ee)},function(Se){N("throw",Se,$,ee)}):q.resolve(me).then(function(Se){pe.value=Se,$(pe)},function(Se){return N("throw",Se,$,ee)})}ee(oe.arg)}var M;c(this,"_invoke",{value:function(Q,$){function ee(){return new q(function(oe,pe){N(Q,$,oe,pe)})}return M=M?M.then(ee,ee):ee()}})}function H(F,q,N){var M="suspendedStart";return function(U,Q){if(M==="executing")throw new Error("Generator is already running");if(M==="completed"){if(U==="throw")throw Q;return k()}for(N.method=U,N.arg=Q;;){var $=N.delegate;if($){var ee=G($,N);if(ee){if(ee===b)continue;return ee}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(M==="suspendedStart")throw M="completed",N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);M="executing";var oe=_(F,q,N);if(oe.type==="normal"){if(M=N.done?"completed":"suspendedYield",oe.arg===b)continue;return{value:oe.arg,done:N.done}}oe.type==="throw"&&(M="completed",N.method="throw",N.arg=oe.arg)}}}function G(F,q){var N=q.method,M=F.iterator[N];if(M===void 0)return q.delegate=null,N==="throw"&&F.iterator.return&&
vendor: 5,430 bytes, line 67
67(q.method="return",q.arg=void 0,G(F,q),q.method==="throw")||N!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+N+"' method")),b;var U=_(M,F.iterator,q.arg);if(U.type==="throw")return q.method="throw",q.arg=U.arg,q.delegate=null,b;var Q=U.arg;return Q?Q.done?(q[F.resultName]=Q.value,q.next=F.nextLoc,q.method!=="return"&&(q.method="next",q.arg=void 0),q.delegate=null,b):Q:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,b)}function X(F){var q={tryLoc:F[0]};1 in F&&(q.catchLoc=F[1]),2 in F&&(q.finallyLoc=F[2],q.afterLoc=F[3]),this.tryEntries.push(q)}function K(F){var q=F.completion||{};q.type="normal",delete q.arg,F.completion=q}function J(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(X,this),this.reset(!0)}function z(F){if(F){var q=F[v];if(q)return q.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var N=-1,M=function U(){for(;++N<F.length;)if(l.call(F,N))return U.value=F[N],U.done=!1,U;return U.value=void 0,U.done=!0,U};return M.next=M}}return{next:k}}function k(){return{value:void 0,done:!0}}return E.prototype=A,c(j,"constructor",{value:A,configurable:!0}),c(A,"constructor",{value:E,configurable:!0}),E.displayName=m(A,p,"GeneratorFunction"),d.isGeneratorFunction=function(F){var q=typeof F=="function"&&F.constructor;return!!q&&(q===E||(q.displayName||q.name)==="GeneratorFunction")},d.mark=function(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,A):(F.__proto__=A,m(F,p,"GeneratorFunction")),F.prototype=Object.create(j),F},d.awrap=function(F){return{__await:F}},x(L.prototype),m(L.prototype,h,function(){return this}),d.AsyncIterator=L,d.async=function(F,q,N,M,U){U===void 0&&(U=Promise);var Q=new L(P(F,q,N,M),U);return d.isGeneratorFunction(q)?Q:Q.next().then(function($){return $.done?$.value:Q.next()})},x(j),m(j,p,"Generator"),m(j,v,function(){return this}),m(j,"toString",function(){return"[object Generator]"}),d.keys=function(F){var q=Object(F),N=[];for(var M in q)N.push(M);return N.reverse(),function U(){for(;N.length;){var Q=N.pop();if(Q in q)return U.value=Q,U.done=!1,U}return U.done=!0,U}},d.values=z,J.prototype={constructor:J,reset:function(q){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(K),!q)for(var N in this)N.charAt(0)==="t"&&l.call(this,N)&&!isNaN(+N.slice(1))&&(this[N]=void 0)},stop:function(){this.done=!0;var q=this.tryEntries[0].completion;if(q.type==="throw")throw q.arg;return this.rval},dispatchException:function(q){if(this.done)throw q;var N=this;function M(pe,me){return $.type="throw",$.arg=q,N.next=pe,me&&(N.method="next",N.arg=void 0),!!me}for(var U=this.tryEntries.length-1;U>=0;--U){var Q=this.tryEntries[U],$=Q.completion;if(Q.tryLoc==="root")return M("end");if(Q.tryLoc<=this.prev){var ee=l.call(Q,"catchLoc"),oe=l.call(Q,"finallyLoc");if(ee&&oe){if(this.prev<Q.catchLoc)return M(Q.catchLoc,!0);if(this.prev<Q.finallyLoc)return M(Q.finallyLoc)}else if(ee){if(this.prev<Q.catchLoc)return M(Q.catchLoc,!0)}else{if(!oe)throw new Error("try statement without catch or finally");if(this.prev<Q.finallyLoc)return M(Q.finallyLoc)}}}},abrupt:function(q,N){for(var M=this.tryEntries.length-1;M>=0;--M){var U=this.tryEntries[M];if(U.tryLoc<=this.prev&&l.call(U,"finallyLoc")&&this.prev<U.finallyLoc){var Q=U;break}}Q&&(q==="break"||q==="continue")&&Q.tryLoc<=N&&N<=Q.finallyLoc&&(Q=null);var $=Q?Q.completion:{};return $.type=q,$.arg=N,Q?(this.method="next",this.next=Q.finallyLoc,b):this.complete($)},complete:function(q,N){if(q.type==="throw")throw q.arg;return q.type==="break"||q.type==="continue"?this.next=q.arg:q.type==="return"?(this.rval=this.arg=q.arg,this.method="return",this.next="end"):q.type==="normal"&&N&&(this.next=N),b},finish:function(q){for(var N=this.tryEntries.length-1;N>=0;--N){var M=this.tryEntries[N];if(M.finallyLoc===q)return this.complete(M.completion,M.afterLoc),K(M),b}},catch:function(q){for(var N=this.tryEntries.length-1;N>=0;--N){var M=this.tryEntries[N];if(M.tryLoc===q){var U=M.completion;if(U.type==="throw"){var Q=U.arg;K(M)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function(q,N,M){return this.delegate={iterator:z(q),resultName:N,nextLoc:M},this.method==="next"&&(this.arg=void 0),b}},d}var i=function(){var d=(0,a.default)(r().mark(function u(l){var c,g,v,h,p,m,P;return r().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return c=l.websiteId,g=l.navigationTitle,v=l.title,h=l.urlId,p=l.description,b.next=3,t.default.post("/api/content-service/product/1.1/websites/".concat(c,"/products"),{navigationTitle:g,title:v,urlId:h,description:p,enabled:!0});case 3:return m=b.sent,P=m.data,b.abrupt("return",P);case 6:case"end":return b.stop()}},u)}));return function(l){return d.apply(this,arguments)}}();f.createProductCollection=i;var o=function(){var d=(0,a.default)(r().mark(function u(l){var c,g,v;return r().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return c=l.websiteId,g=l.collectionId,v=l.displayName,p.next=3,t.default.post("/api/content-service/product/1.1/websites/".concat(c,"/products/").concat(g,"/categories"),{displayName:v,parentCategoryId:void 0,type:"ROOT",pageRendering:"LIST_VIEW",displayIndex:1});case 3:case"end":return p.stop()}},u)}));return function(l){return d.apply(this,arguments)}}();f.createRootCategory=o},349748:function(y,f,e){"use strict";var s=e(875832);
67Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(508669)),a=function(){var i=n.default.createContext(void 0),o=function(){var u=n.default.useContext(i);if(!u)throw new Error("useGenericContext must be used within a Provider");return u};return[o,i.Provider]},t=a;f.default=t,y.exports=f.default},317483:function(y,f,e){"use strict";e(392338),e(392338);var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338);var n=s(e(858240)),a=s(e(4636)),t=s(e(177928)),r=s(e(721854)),i=s(e(699467)),o=s(e(506051)),d=s(e(346797)),u=s(e(508669)),l=s(e(420651)),c=e(163884);function g(p){var m=v();return function(){var _=(0,o.default)(p),b;if(m){var S=(0,o.default)(this).constructor;b=Reflect.construct(_,arguments,S)}else b=_.apply(this,arguments);return(0,i.default)(this,b)}}function v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(p){return!1}}var h=function(m){var P=m.project,_=(0,l.default)(window,"SQUARESPACE_SENTRY"),b=function(I,R){I.setTag("project",P),R&&I.setExtra("context",JSON.stringify(R))},S=function(I,R){_&&_.withScope(function(j){b(j,R),_.captureMessage(I),console.error("[".concat(P," Sentry] context: "),R)})},E=function(I,R){(0,c.fireEvent)("Error [".concat(P,"]"),{message:I}),_&&_.withScope(function(j){b(j,R),_.captureException(I),console.error("[".concat(P," Sentry] context: "),R)})},A=function(T){(0,r.default)(R,T);var I=g(R);function R(){var j;(0,n.default)(this,R);for(var x=arguments.length,L=new Array(x),H=0;H<x;H++)L[H]=arguments[H];return j=I.call.apply(I,[this].concat(L)),(0,d.default)((0,t.default)(j),"state",{hasError:!1}),j}return(0,a.default)(R,[{key:"componentDidCatch",value:function(x){E("[".concat(P," boundary] ").concat(x)),this.setState({hasError:!0})}},{key:"render",value:function(){var x=this.state.hasError,L=this.props,H=L.errorContents,G=L.children;return x?H:G}}]),R}(u.default.Component);return{captureMessage:S,captureException:E,BaseErrorBoundary:A}};f.default=h,y.exports=f.default},296020:function(y,f,e){"use strict";e(392338),e(392338);var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338);var n=s(e(858240)),a=s(e(4636)),t=s(e(721854)),r=s(e(699467)),i=s(e(506051)),o=s(e(852156));function d(g){var v=u();return function(){var p=(0,i.default)(g),m;if(v){var P=(0,i.default)(this).constructor;m=Reflect.construct(p,arguments,P)}else m=p.apply(this,arguments);return(0,r.default)(this,m)}}function u(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(g){return!1}}var l=function(g){(0,t.default)(h,g);var v=d(h);function h(p){var m;return(0,n.default)(this,h),m=v.call(this),m.name="NotFoundError",m.path=p,m}return(0,a.default)(h,[{key:"getPath",value:function(){return this.path}}]),h}((0,o.default)(Error)),c=l;f.default=c,y.exports=f.default},182745:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338),e(392338),e(392338);var n=s(e(420651)),a=s(e(633629)),t=s(e(948232)),r=e(62988),i=e(736992),o=function(l,c){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;try{var v=(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.website.siteStatus.value"),h=g||v===t.default.INTERNAL||(0,i.isInternal)();if(h){var p=a.default.parse(window.location.search,{ignoreQueryPrefix:!0}),m="".concat(l,"_").concat(c),P=p[m];P&&(P==="reset"?(0,r.removeSessionData)(m):(0,r.saveSessionData)(m,{variant:P}));var _=(0,r.getSessionData)(m);return _?_.variant:null}}catch(b){console.error("error reading query param override: ".concat(b))}return null},d=o;f.default=d,y.exports=f.default},921963:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var e=function(a){return function(t){(t.key==="Enter"||t.key==="Return")&&(t.preventDefault(),a(t))}},s=e;f.default=s,y.exports=f.default},28306:function(y,f,e){"use strict";
67Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338);var s=function(a,t){if(a===0)return"0 Bytes";var r=1024,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(a)/Math.log(r)),d=a/Math.pow(r,o),u=Math.ceil(Math.log10(d)),l=t+u||u;return d.toPrecision(l)+" "+i[o]};f.default=s,y.exports=f.default},203495:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isInIframe=f.getFrameElement=void 0;var e=function(a){return a&&a!==a.top};f.isInIframe=e;var s=function(a){return a.defaultView&&e(a.defaultView)?a.defaultView.frameElement:null};f.getFrameElement=s},581945:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0});var a={UserSessionApi:!0,UserSessionApiAxios:!0,SiteHeaderFooterAPI:!0,SiteHeaderFooterType:!0,MultilingualAPI:!0,MultilingualTypes:!0,sort:!0,GoogleReCaptchaAPI:!0,GooglePlacesAPI:!0,iframe:!0,Keyboard:!0,EnvUtils:!0,Mouse:!0,mediaQueries:!0,WindowUtils:!0,loadScript:!0,SetDragEffect:!0,withBreakpoint:!0,InjectedProps:!0,humanizeFileSize:!0,PositionPropTypes:!0,NotFoundError:!0,setupPraetorFlagging:!0,useFetch:!0,FullStory:!0,createEmptyStore:!0,createRootStoreCategory:!0,createConfirmModal:!0,createGenericContext:!0,handleEnterKeyDown:!0,setupNamespace:!0,createGenericErrorHandling:!0};f.GoogleReCaptchaAPI=f.GooglePlacesAPI=f.FullStory=f.EnvUtils=void 0,Object.defineProperty(f,"InjectedProps",{enumerable:!0,get:function(){return b.InjectedProps}}),f.Mouse=f.Keyboard=void 0,Object.defineProperty(f,"MultilingualAPI",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(f,"MultilingualTypes",{enumerable:!0,get:function(){return i.MultilingualTypes}}),Object.defineProperty(f,"NotFoundError",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(f,"PositionPropTypes",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(f,"SetDragEffect",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(f,"SiteHeaderFooterAPI",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(f,"SiteHeaderFooterType",{enumerable:!0,get:function(){return r.SiteHeaderFooterType}}),Object.defineProperty(f,"UserSessionApi",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(f,"UserSessionApiAxios",{enumerable:!0,get:function(){return t.UserSessionApiAxios}}),f.WindowUtils=void 0,Object.defineProperty(f,"createConfirmModal",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(f,"createEmptyStore",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(f,"createGenericContext",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(f,"createGenericErrorHandling",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(f,"createRootStoreCategory",{enumerable:!0,get:function(){return L.createRootCategory}}),Object.defineProperty(f,"handleEnterKeyDown",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(f,"humanizeFileSize",{enumerable:!0,get:function(){return S.default}}),f.iframe=void 0,Object.defineProperty(f,"loadScript",{enumerable:!0,get:function(){return P.default}}),f.mediaQueries=void 0,Object.defineProperty(f,"setupNamespace",{enumerable:!0,get:function(){return K.setupNamespace}}),Object.defineProperty(f,"setupPraetorFlagging",{enumerable:!0,get:function(){return I.default}}),f.sort=void 0,Object.defineProperty(f,"useFetch",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(f,"withBreakpoint",{enumerable:!0,get:function(){return b.default}});var t=k(e(729987)),r=k(e(724327)),i=k(e(301197)),o=k(e(291565));f.sort=o;var d=k(e(948811));f.GoogleReCaptchaAPI=d;var u=k(e(243941));f.GooglePlacesAPI=u;var l=k(e(203495));f.iframe=l;var c=k(e(606688));f.Keyboard=c;var g=k(e(736992));f.EnvUtils=g;var v=k(e(550408));f.Mouse=v;var h=k(e(642286));f.mediaQueries=h;var p=k(e(562730));f.WindowUtils=p;var m=e(701889);Object.keys(m).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(a,F)||F in f&&f[F]===m[F]||Object.defineProperty(f,F,{enumerable:!0,get:function(){return m[F]}})});var P=s(e(603306)),_=s(e(38534)),b=k(e(493197)),S=s(e(28306)),E=s(e(704856)),A=s(e(296020)),T=e(62988);Object.keys(T).forEach(function(F){F==="default"||F==="__esModule"||Object.prototype.hasOwnProperty.call(a,F)||F in f&&f[F]===T[F]||Object.defineProperty(f,F,{enumerable:!0,get:function(){return T[F]}})});var I=s(e(621792)),R=s(e(87964)),j=k(e(163884));f.FullStory=j;var x=s(e(783587)),L=e(533862),H=s(e(678581)),G=s(e(349748)),X=s(e(921963)),K=e(555205),J=s(e(317483));
67function z(F){if(typeof WeakMap!="function")return null;var q=new WeakMap,N=new WeakMap;return(z=function(U){return U?N:q})(F)}function k(F,q){if(!q&&F&&F.__esModule)return F;if(F===null||n(F)!=="object"&&typeof F!="function")return{default:F};var N=z(q);if(N&&N.has(F))return N.get(F);var M={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Q in F)if(Q!=="default"&&Object.prototype.hasOwnProperty.call(F,Q)){var $=U?Object.getOwnPropertyDescriptor(F,Q):null;$&&($.get||$.set)?Object.defineProperty(M,Q,$):M[Q]=F[Q]}return M.default=F,N&&N.set(F,M),M}},603306:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0,e(392338),e(392338);var n=s(e(734301)),a=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{async:!0,doc:document},o=i.async,d=o===void 0?!0:o,u=i.doc,l=u===void 0?document:u;return new Promise(function(c,g){(0,n.default)(r,{before:function(h,p){return l.body.appendChild(p),!1},success:function(){return c()},error:function(){return g()},async:d})})};f.default=a,y.exports=f.default},642286:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.mediaQueries=f.isTablet=f.isSubDesktop=f.isMobile=f.isDesktop=f.determineCurrentMedia=f.checkBreakpoint=void 0,e(392338),e(392338),e(392338);var s={mobile:"screen and (max-width: 432px)",desktop:"screen and (min-width: 433px)",tablet:"screen and (max-width: 0px)"};f.mediaQueries=s;var n=function(){return Object.keys(s).find(function(u){return window.matchMedia(s[u]).matches})};f.determineCurrentMedia=n;var a=function(u,l){return l?l===u:n()===u};f.checkBreakpoint=a;var t=function(u){return a("mobile",u)};f.isMobile=t;var r=function(u){return a("desktop",u)};f.isDesktop=r;var i=function(u){return a("tablet",u)};f.isTablet=i;var o=function(u){return t(u)||i(u)};f.isSubDesktop=o},704856:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(795478)),a=n.default.oneOfType([n.default.instanceOf(Node),n.default.oneOf(["window","mousepointer","selection"]),n.default.shape({top:n.default.number,left:n.default.number})]),t=n.default.shape({x:n.default.number,y:n.default.number}),r=n.default.oneOfType([n.default.oneOf(["left","right","center","top","bottom"]),n.default.shape({join:n.default.string,to:n.default.string})]),i={anchor:a,coords:t,position:r};f.default=i,y.exports=f.default},38534:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=e;function e(s,n){try{s.dropEffect=n,s.effectAllowed=n}catch(a){}}y.exports=f.default},621792:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(182745)),a=function(i,o){return function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"false",l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"true",c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=c.skipInternalCheck,v=function(){var h=(0,n.default)(i,d,g);if(h)return h;var p=o.getABTestVariant(d,u),m=p.variant;return m}();return function(){return v===l}}},t=a;f.default=t,y.exports=f.default},291565:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.alphabetical=void 0;var n=s(e(603912));e(392338);var a=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof i=="string"?i:typeof i[o]=="string"?i[o]:(console.warn("Value is neither a string nor an object containing a string at ".concat(o),i),"")},t=function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,n.default)(i).sort(function(d,u){var l=a(d,o.key).toLowerCase(),c=a(u,o.key).toLowerCase();return l<c?-1:l>c?1:0})};f.alphabetical=t},87964:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=s(e(385870)),t=s(e(375798)),r=s(e(346797)),i=e(508669);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return h};var h={},p=Object.prototype,m=p.hasOwnProperty,P=Object.defineProperty||function($,ee,oe){$[ee]=oe.value},_=typeof Symbol=="function"?Symbol:{},b=_.iterator||"@@iterator",S=_.asyncIterator||"@@asyncIterator",E=_.toStringTag||"@@toStringTag";function A($,ee,oe){return Object.defineProperty($,ee,{value:oe,enumerable:!0,configurable:!0,writable:!0}),$[ee]}try{A({},"")}catch($){A=function(oe,pe,me){return oe[pe]=me}}function T($,ee,oe,pe){var me=ee&&ee.prototype instanceof j?ee:j,Se=Object.create(me.prototype),Pe=new M(pe||[]);return P(Se,"_invoke",{value:k($,oe,Pe)}),Se}function I($,ee,oe){try{return{type:"normal",arg:$.call(ee,oe)}}catch(pe){return{type:"throw",arg:pe}}}h.wrap=T;var R={};function j(){}function x(){}function L(){}var H={};A(H,b,function(){return this});var G=Object.getPrototypeOf,X=G&&G(G(U([])));X&&X!==p&&m.call(X,b)&&(H=X);var K=L.prototype=j.prototype=Object.create(H);function J($){["next","throw","return"].forEach(function(ee){A($,ee,function(oe){return this._invoke(ee,oe)})})}function z($,ee){function oe(me,Se,Pe,He){var fe=I($[me],$,Se);
vendor: 5,463 bytes, line 67
67if(fe.type!=="throw"){var ve=fe.arg,ae=ve.value;return ae&&n(ae)=="object"&&m.call(ae,"__await")?ee.resolve(ae.__await).then(function(le){oe("next",le,Pe,He)},function(le){oe("throw",le,Pe,He)}):ee.resolve(ae).then(function(le){ve.value=le,Pe(ve)},function(le){return oe("throw",le,Pe,He)})}He(fe.arg)}var pe;P(this,"_invoke",{value:function(Se,Pe){function He(){return new ee(function(fe,ve){oe(Se,Pe,fe,ve)})}return pe=pe?pe.then(He,He):He()}})}function k($,ee,oe){var pe="suspendedStart";return function(me,Se){if(pe==="executing")throw new Error("Generator is already running");if(pe==="completed"){if(me==="throw")throw Se;return Q()}for(oe.method=me,oe.arg=Se;;){var Pe=oe.delegate;if(Pe){var He=F(Pe,oe);if(He){if(He===R)continue;return He}}if(oe.method==="next")oe.sent=oe._sent=oe.arg;else if(oe.method==="throw"){if(pe==="suspendedStart")throw pe="completed",oe.arg;oe.dispatchException(oe.arg)}else oe.method==="return"&&oe.abrupt("return",oe.arg);pe="executing";var fe=I($,ee,oe);if(fe.type==="normal"){if(pe=oe.done?"completed":"suspendedYield",fe.arg===R)continue;return{value:fe.arg,done:oe.done}}fe.type==="throw"&&(pe="completed",oe.method="throw",oe.arg=fe.arg)}}}function F($,ee){var oe=ee.method,pe=$.iterator[oe];if(pe===void 0)return ee.delegate=null,oe==="throw"&&$.iterator.return&&(ee.method="return",ee.arg=void 0,F($,ee),ee.method==="throw")||oe!=="return"&&(ee.method="throw",ee.arg=new TypeError("The iterator does not provide a '"+oe+"' method")),R;var me=I(pe,$.iterator,ee.arg);if(me.type==="throw")return ee.method="throw",ee.arg=me.arg,ee.delegate=null,R;var Se=me.arg;return Se?Se.done?(ee[$.resultName]=Se.value,ee.next=$.nextLoc,ee.method!=="return"&&(ee.method="next",ee.arg=void 0),ee.delegate=null,R):Se:(ee.method="throw",ee.arg=new TypeError("iterator result is not an object"),ee.delegate=null,R)}function q($){var ee={tryLoc:$[0]};1 in $&&(ee.catchLoc=$[1]),2 in $&&(ee.finallyLoc=$[2],ee.afterLoc=$[3]),this.tryEntries.push(ee)}function N($){var ee=$.completion||{};ee.type="normal",delete ee.arg,$.completion=ee}function M($){this.tryEntries=[{tryLoc:"root"}],$.forEach(q,this),this.reset(!0)}function U($){if($){var ee=$[b];if(ee)return ee.call($);if(typeof $.next=="function")return $;if(!isNaN($.length)){var oe=-1,pe=function me(){for(;++oe<$.length;)if(m.call($,oe))return me.value=$[oe],me.done=!1,me;return me.value=void 0,me.done=!0,me};return pe.next=pe}}return{next:Q}}function Q(){return{value:void 0,done:!0}}return x.prototype=L,P(K,"constructor",{value:L,configurable:!0}),P(L,"constructor",{value:x,configurable:!0}),x.displayName=A(L,E,"GeneratorFunction"),h.isGeneratorFunction=function($){var ee=typeof $=="function"&&$.constructor;return!!ee&&(ee===x||(ee.displayName||ee.name)==="GeneratorFunction")},h.mark=function($){return Object.setPrototypeOf?Object.setPrototypeOf($,L):($.__proto__=L,A($,E,"GeneratorFunction")),$.prototype=Object.create(K),$},h.awrap=function($){return{__await:$}},J(z.prototype),A(z.prototype,S,function(){return this}),h.AsyncIterator=z,h.async=function($,ee,oe,pe,me){me===void 0&&(me=Promise);var Se=new z(T($,ee,oe,pe),me);return h.isGeneratorFunction(ee)?Se:Se.next().then(function(Pe){return Pe.done?Pe.value:Se.next()})},J(K),A(K,E,"Generator"),A(K,b,function(){return this}),A(K,"toString",function(){return"[object Generator]"}),h.keys=function($){var ee=Object($),oe=[];for(var pe in ee)oe.push(pe);return oe.reverse(),function me(){for(;oe.length;){var Se=oe.pop();if(Se in ee)return me.value=Se,me.done=!1,me}return me.done=!0,me}},h.values=U,M.prototype={constructor:M,reset:function(ee){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(N),!ee)for(var oe in this)oe.charAt(0)==="t"&&m.call(this,oe)&&!isNaN(+oe.slice(1))&&(this[oe]=void 0)},stop:function(){this.done=!0;var ee=this.tryEntries[0].completion;if(ee.type==="throw")throw ee.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var oe=this;function pe(ve,ae){return Pe.type="throw",Pe.arg=ee,oe.next=ve,ae&&(oe.method="next",oe.arg=void 0),!!ae}for(var me=this.tryEntries.length-1;me>=0;--me){var Se=this.tryEntries[me],Pe=Se.completion;if(Se.tryLoc==="root")return pe("end");if(Se.tryLoc<=this.prev){var He=m.call(Se,"catchLoc"),fe=m.call(Se,"finallyLoc");if(He&&fe){if(this.prev<Se.catchLoc)return pe(Se.catchLoc,!0);if(this.prev<Se.finallyLoc)return pe(Se.finallyLoc)}else if(He){if(this.prev<Se.catchLoc)return pe(Se.catchLoc,!0)}else{if(!fe)throw new Error("try statement without catch or finally");if(this.prev<Se.finallyLoc)return pe(Se.finallyLoc)}}}},abrupt:function(ee,oe){for(var pe=this.tryEntries.length-1;pe>=0;--pe){var me=this.tryEntries[pe];if(me.tryLoc<=this.prev&&m.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var Se=me;break}}Se&&(ee==="break"||ee==="continue")&&Se.tryLoc<=oe&&oe<=Se.finallyLoc&&(Se=null);var Pe=Se?Se.completion:{};return Pe.type=ee,Pe.arg=oe,Se?(this.method="next",this.next=Se.finallyLoc,R):this.complete(Pe)},complete:function(ee,oe){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&oe&&(this.next=oe),R},finish:function(ee){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var pe=this.tryEntries[oe];if(pe.finallyLoc===ee)return this.complete(pe.completion,pe.afterLoc),N(pe),R}
67},catch:function(ee){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var pe=this.tryEntries[oe];if(pe.tryLoc===ee){var me=pe.completion;if(me.type==="throw"){var Se=me.arg;N(pe)}return Se}}throw new Error("illegal catch attempt")},delegateYield:function(ee,oe,pe){return this.delegate={iterator:U(ee),resultName:oe,nextLoc:pe},this.method==="next"&&(this.arg=void 0),R}},h}function d(h,p){var m=Object.keys(h);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(h);p&&(P=P.filter(function(_){return Object.getOwnPropertyDescriptor(h,_).enumerable})),m.push.apply(m,P)}return m}function u(h){for(var p=1;p<arguments.length;p++){var m=arguments[p]!=null?arguments[p]:{};p%2?d(Object(m),!0).forEach(function(P){(0,r.default)(h,P,m[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(m)):d(Object(m)).forEach(function(P){Object.defineProperty(h,P,Object.getOwnPropertyDescriptor(m,P))})}return h}var l;(function(h){h.FETCH_PENDING="FETCH_PENDING",h.FETCH_SUCCESS="FETCH_SUCCESS",h.FETCH_FAILED="FETCH_FAILED"})(l||(l={}));var c=function(p,m){switch(m.type){case l.FETCH_PENDING:return u(u({},p),{},{isLoading:!0,isError:!1});case l.FETCH_SUCCESS:return u(u({},p),{},{data:m.payload,isLoading:!1});case l.FETCH_FAILED:return u(u({},p),{},{error:m.error,isError:!0,isLoading:!1});default:throw new Error("Invalid action type")}},g=function(p,m){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,_={isError:!1,isLoading:!1},b=P?Date.now:0,S=(0,i.useState)(b),E=(0,t.default)(S,2),A=E[0],T=E[1],I=(0,i.useReducer)(c,_),R=(0,t.default)(I,2),j=R[0],x=R[1],L=function(){var G=(0,a.default)(o().mark(function X(){var K;return o().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return x({type:l.FETCH_PENDING}),z.prev=1,z.next=4,p();case 4:K=z.sent,x({type:l.FETCH_SUCCESS,payload:K}),z.next=12;break;case 8:z.prev=8,z.t0=z.catch(1),x({type:l.FETCH_FAILED,error:z.t0}),m&&m(z.t0);case 12:case"end":return z.stop()}},X,null,[[1,8]])}));return function(){return G.apply(this,arguments)}}(),H=(0,i.useCallback)(function(){T(Date.now())},[T]);return(0,i.useEffect)(function(){j.error&&console.error(j.error)},[j.error]),(0,i.useEffect)(function(){A&&L()},[A]),u(u({},j),{},{refetch:H})},v=g;f.default=v,y.exports=f.default},493197:function(y,f,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var s=e(875832),n=e(569644);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var a=s(e(987195)),t=s(e(432405)),r=s(e(858240)),i=s(e(4636)),o=s(e(721854)),d=s(e(699467)),u=s(e(506051)),l=s(e(346797)),c=m(e(508669)),g=s(e(795478)),v=s(e(192628)),h=["childRef"];function p(E){if(typeof WeakMap!="function")return null;var A=new WeakMap,T=new WeakMap;return(p=function(R){return R?T:A})(E)}function m(E,A){if(!A&&E&&E.__esModule)return E;if(E===null||n(E)!=="object"&&typeof E!="function")return{default:E};var T=p(A);if(T&&T.has(E))return T.get(E);var I={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in E)if(j!=="default"&&Object.prototype.hasOwnProperty.call(E,j)){var x=R?Object.getOwnPropertyDescriptor(E,j):null;x&&(x.get||x.set)?Object.defineProperty(I,j,x):I[j]=E[j]}return I.default=E,T&&T.set(E,I),I}function P(E){var A=_();return function(){var I=(0,u.default)(E),R;if(A){var j=(0,u.default)(this).constructor;R=Reflect.construct(I,arguments,j)}else R=I.apply(this,arguments);return(0,d.default)(this,R)}}function _(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}var b=function(A){var T;return(0,v.default)((T=function(I){(0,o.default)(j,I);var R=P(j);function j(){return(0,r.default)(this,j),R.apply(this,arguments)}return(0,i.default)(j,[{key:"render",value:function(){var L=this.props,H=L.childRef,G=(0,t.default)(L,h);return c.default.createElement(A,(0,a.default)({breakpoint:this.context.breakpoint},G,{ref:H}))}}]),j}(c.Component),(0,l.default)(T,"contextTypes",{breakpoint:g.default.string}),T),A)},S=b;f.default=S,y.exports=f.default},527304:function(y,f,e){"use strict";e.r(f),e.d(f,{BlockTypeStrings:function(){return z},BlockTypeToBetaFlags:function(){return q},BlockTypeToFeature:function(){return Q},BlockVariantTypeKeys:function(){return oe},BlockVariantTypes:function(){return ee},CMSAppShellPerformanceEvents:function(){return n},CMSPerformanceEvents:function(){return a},CollectionView:function(){return Cr},CommercePerformanceEvents:function(){return s},ConnectedAccountLinkConfigurations:function(){return ai},Constants:function(){return jr},ContentGeneratorTypes:function(){return gn},DeviceViewType:function(){return Br},DomainsPerformanceEvents:function(){return t},EditorSelectors:function(){return r},FacebookPixelConstants:function(){return je},FluidEngine:function(){return i},FormBuilderFieldNames:function(){return $t},FormModelFieldsets:function(){return tr},FrameEvents:function(){return Rn},GalleryBlockConstants:function(){return jn},GalleryItemMediaTypes:function(){return lr},GooglePlaces:function(){return o},LayoutEngine:function(){return u},LayoutEngineClassnames:function(){return d},PinterestSelectors:function(){return Mt},PopupOverlayLocalStorage:function(){return Bn},Positions:function(){return nn},SectionEditorClassnames:function(){return l},SiteAesthetics:function(){return Kt},SliceTypeByName:function(){return Va},SliceTypeNames:function(){return Xi},SlideTypeByName:function(){return Xa},SlideTypeNames:function(){return si}
67,SurveyCohorts:function(){return Er},TextFilterNames:function(){return ma},TweakEvents:function(){return ya},TweakPageTypes:function(){return Sa},TypekitPreviewApi:function(){return rr},Units:function(){return Oa},UpsellDestination:function(){return c},UpsellUrls:function(){return p}});var s={};e.r(s),e.d(s,{AFTERPAY_PDP_LOAD:function(){return P},AFTERPAY_PDP_OPEN_MODAL:function(){return m},KLARNA_PDP_LOAD:function(){return S},KLARNA_PDP_OPEN_MODAL:function(){return b},PDP_PAGE_LOAD:function(){return _}});var n={};e.r(n),e.d(n,{BILLING_APP_ROOT_INITIALIZED:function(){return Se},CAMPAIGNS_APP_ROOT_INITIALIZED:function(){return Pe},CONFIG_APP_SHELL_INITIALIZED:function(){return He},PERMISSIONS_APP_ROOT_INITIALIZED:function(){return me},SCHEDULING_APP_ROOT_INITIALIZED:function(){return pe}});var a={};e.r(a),e.d(a,{ADD_SECTION_FROM_CATALOG:function(){return pr},ANIMATIONS_EDIT_SAVE:function(){return ue},ANIMATIONS_PANEL_INTERACTIVE:function(){return we},ASSET_UPLOAD:function(){return Tt},COLLECTION_NEW_LAYOUT_LOAD:function(){return Be},COLORS_PANEL_GENERATE_PALETTE:function(){return Ce},COLORS_PANEL_INTERACTIVE:function(){return ke},COLORS_PANEL_SAVE:function(){return Ne},COLORS_PANEL_SELECT_PALETTE:function(){return st},COLORS_PANEL_UPDATE_PALETTE_COLOR:function(){return it},COLORS_PANEL_UPDATE_TWEAK_COLOR:function(){return ct},DESIGN_BUTTONS_PANEL_LOAD:function(){return ur},EDIT_SECTION_TEXT:function(){return Ur},FONTS_PANEL_BASE_FONT_SIZE_CHANGE:function(){return _n},FONTS_PANEL_CUSTOM_FONT_FAMILY_CHANGE:function(){return ri},FONTS_PANEL_CUSTOM_FONT_PROPERTY_CHANGE:function(){return sr},FONTS_PANEL_FETCHED_DATA:function(){return mt},FONTS_PANEL_FETCHED_DATA_TO_INTERACTIVE:function(){return Ct},FONTS_PANEL_INTERACTIVE:function(){return Ht},FONTS_PANEL_MAPPING_CHANGE:function(){return Ar},FONTS_PANEL_MASTER_FONT_FAMILY_CHANGE:function(){return er},FONTS_PANEL_MASTER_FONT_PROPERTY_CHANGE:function(){return Mn},FONTS_PANEL_PACK_CHANGE_CLEAN_DIRTY:function(){return hn},FONTS_PANEL_PACK_CHANGE_DIRTY_DIRTY:function(){return fn},FONTS_PANEL_RENDER_ACTIVE_CARD:function(){return Rt},FONTS_PANEL_SAVE:function(){return cn},FONTS_PANEL_TAB_SWITCH_INTERACTIVE:function(){return Cn},FRAME_TOOLBAR_EDIT:function(){return ae},GALLERY_SECTION_NEW_LAYOUT_LOAD:function(){return Re},HEADER_NEW_LAYOUT_LOAD:function(){return _e},HEADER_PROPERTY_UPDATE:function(){return xe},LAYOUT_ENGINE_SECTION_COLOR_PREVIEW:function(){return Je},MEDIA_UPLOAD_SERVICE_ASSET_PROCESSING_ONLY:function(){return bt},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:function(){return Ln},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD_ONLY:function(){return Jr},ONBOARDING_SAVE_TITLE:function(){return fe},PAGES_ADD_BLANK:function(){return ve},PAGE_EDIT_SAVE:function(){return le},RENDER_LAYOUT_ENGINE_SECTION:function(){return nt},SECTION_DUPLICATION:function(){return Oe},SITE_HEADER_FOOTER_LOAD:function(){return Ee},SITE_SERVER_ASSET_UPLOAD:function(){return Tr},THEME_EDITOR_INTERACTIVE:function(){return et},TWEAKACTION_FETCH_CUSTOM_CSS:function(){return We},TWEAKACTION_FETCH_DATA:function(){return qe},TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS:function(){return Ie},TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES:function(){return Ve},TWEAKACTION_FETCH_TYPEKIT_DATA:function(){return Me}});var t={};e.r(t),e.d(t,{OPEN_SEARCH_DSC_INITIALIZED:function(){return Pn},OPEN_SEARCH_INITIALIZED:function(){return $n},PERFORM_SEARCH_FIRST_AVAILABLE_RESULT:function(){return $e},PERFORM_SEARCH_INTERACTIVE:function(){return An},PERFORM_SEARCH_STABLE:function(){return Ue}});var r={};e.r(r),e.d(r,{DESKTOP_FRAME_TOOLBAR_ID:function(){return re}});var i={};e.r(i),e.d(i,{FLUID_ENGINE_BLUE_HEX:function(){return de},FLUID_ENGINE_YELLOW:function(){return ye},FluidEngineBreakpoints:function(){return ie}});var o={};e.r(o),e.d(o,{AUTOCOMPLETE_URL:function(){return Gr},DETAILS_URL:function(){return Zr},googleTrackingContextProp:function(){return oi}});var d={};e.r(d),e.d(d,{BLOCK_FOCUS_IGNORE_CLASSNAME:function(){return Hn},ESCMANAGER_IGNORE_CLASSNAME:function(){return Jt},NONINTERACTIVE_CLASSNAME:function(){return ki},NONINTERACTIVE_CLASSNAMES:function(){return Ir},TEXT_BLOCK:function(){return $i}});var u={};e.r(u),e.d(u,{AttrChangeProps:function(){return Ae},BlockFocusIgnoredSelectors:function(){return ht},EMPTY_DATA:function(){return se},SetDetails:function(){return Ke}});var l={};e.r(l),e.d(l,{SECTION_EDITOR_FRAME_OVERLAY_CLASS:function(){return yr},SPACE_AROUND_FRAME_CLASS:function(){return Xn}});var c={TRIAL_UPGRADE_PLAN:"trial-upgrade",UPGRADE_PLAN:"upgrade"},g=e(346797),v=e.n(g),h,p=(h={},v()(h,c.TRIAL_UPGRADE_PLAN,"/settings/billing/upgrade"),v()(h,c.UPGRADE_PLAN,"/settings/billing/subscriptions/website"),h),m="commerce-merch-open-afterpay-pdp-modal",P="commerce-merch-load-afterpay-pdp-string",_="commerce-merch-pdp-page-load",b="commerce-merch-open-klarna-pdp-modal",S="c
67ommerce-merch-load-klarna-pdp-string",E=e(856078),A=e.n(E),T=e(47939),I=e.n(T),R=e(698723),j=e.n(R),x=e(179255),L=e.n(x),H=e(138816),G=e.n(H),X=L()(G()),K=j()(X,I()),J=j()(X,A()),z={BlockTypeKeys:X,BlockTypeNames:K,BlockTypeLabels:J},k=e(392338),F=Object.freeze({}),q=F,N=e(486270),M=e.n(N),U,Q=(U={},v()(U,G().AMAZON,M().BLOCK_AMAZON),v()(U,G().DONATION,M().BLOCK_DONATION),v()(U,G().MENU,M().BLOCK_MENU),v()(U,G().OPENTABLE,M().BLOCK_OPENTABLE),v()(U,G().OPENTABLE_V2,M().BLOCK_OPENTABLE),U),$={GALLERY_SLIDESHOW:1e3,GALLERY_CAROUSEL:1002,GALLERY_GRID:1003,GALLERY_STACK:1004,SUMMARY_WALL:1005,SUMMARY_CAROUSEL:1006,SUMMARY_LIST:1007,SUMMARY_GRID:1008,CHART_BAR:1009,CHART_LINE:1010,CHART_PIE:1011,IMAGE_INLINE:1012,IMAGE_POSTER:1013,IMAGE_CARD:1014,IMAGE_OVERLAP:1015,IMAGE_COLLAGE:1016,IMAGE_STACK:1017,TOCK_RESERVATIONS:1018,TOCK_EVENTS:1019},ee=$,oe=L()(ee),pe="scheduling-app-root-initialized",me="permissions-app-root-initialized",Se="billing-app-root-initialized",Pe="campaigns-app-root-initialized",He="config-app-shell-initialized",fe="cms-onboarding-save-title",ve="cms-pages-add-blank",ae="cms-frame-toolbar-edit",le="cms-page-edit-save",Ee="cms-site-header-footer-load",xe="cms-header-property-update",_e="cms-header-new-layout-load",Re="cms-section-gallery-new-layout-load",Be="cms-collection-new-layout-load",nt="cms-render-layout-engine-section",Je="cms-layout-engine-section-color-preview",ue="cms-design-animations-panel-save",we="cms-design-animations-panel-interactive",We="cms-tweakactions-fetch-custom-css",qe="cms-tweakactions-fetchdata",Ie="cms-tweakactions-fetch-template-tweak-settings",Me="cms-tweakactions-fetch-typekit-data",Ve="cms-tweakactions-fetch-tweak-engine-properties",Ne="cms-design-colors-panel-save",ke="cms-design-colors-panel-interactive",et="cms-design-colors-theme-editor-interactive",st="cms-design-colors-panel-select-palette",Ce="cms-design-colors-panel-generate-palette",it="cms-design-colors-panel-update-palette-color",ct="cms-design-colors-panel-update-tweak-color",mt="cms-design-fonts-panel-fetched-data",Ct="cms-design-fonts-panel-fetched-data-interactive",Ht="cms-design-fonts-panel-packs-interactive",Rt="cms-design-fonts-render-active-card",cn="cms-design-fonts-panel-save",Cn="cms-design-fonts-panel-tab-switch-interactive",hn="cms-design-fonts-panel-pack-change-clean-dirty",fn="cms-design-fonts-panel-pack-change-dirty-dirty",_n="cms-design-fonts-panel-base-font-size-change",Mn="cms-design-fonts-panel-master-font-property-change",er="cms-design-fonts-panel-master-font-family-change",sr="cms-design-fonts-panel-custom-font-property-change",ri="cms-design-fonts-panel-custom-font-family-change",Ar="cms-design-fonts-panel-mapping-change",ur="cms-design-buttons-panel-load",Oe="cms-section-duplicate",Tt="cms-asset-upload",Tr="cms-site-server-asset-upload",Ln="cms-media-upload-service-asset-upload",Jr="cms-media-upload-service-asset-upload-only",bt="cms-media-upload-service-asset-processing-only",Ur="cms-edit-section-text",pr="cms-add-section-from-catalog",ln={LIST:"list",GRID:"grid",PRODUCT:"product"},Cr=ln,ii=e(340153),Qt=e.n(ii),zn=v()({},Qt().CHOWNOW,{serviceId:Qt().CHOWNOW,displayName:"ChowNow",defaultLinkTitle:"Order Now",slug:"chownow"}),ai=zn,gr={hiddenNavigationName:"_hidden",memberAreaNavigationName:"_memberareas",memberAreaNavigationTestAttr:"navlist-member_areas",MEMBER_AREA_NAVIGATION_TYPE:"member-area",README_PAGE_NAME:"readme",MAX_SMUGMUG_GALLERY_COUNT:20,MAX_SMUGMUG_GALLERY_SIZE:50,MAX_BLOCKS_PER_LAYOUT:60,MAX_TRACKS_IN_ALBUM:60,MAX_ITEMS_IN_USER_ORDERABLE_COLLECTION:250,NESTED_CATEGORIES_LIMIT:1e4,MAX_PRODUCTS_IN_COLLECTION:200,SQUARESPACE_SEVEN_PREVIEW_COOKIE:"squarespace_seven_preview",SQUARESPACE_SIX_OVERRIDE_COOKIE:"squarespace_six_override",PREVIEW_FRAME_EXPANDED_COOKIE:"seven_frame_expanded",DISABLE_USER_SCRIPTS_COOKIE:"disable-user-scripts",IGNORED_ITEM_ANNOTATION_SELECTORS:["sqs-simple-like","sqs-add-to-cart-button","product-variants","product-quantity-input","sqs-suppress-edit-mode"],REGISTERED_ACTIONS_FOR_NEXT_LOAD_STORE_KEY:"sqs_actions_for_next_load",DAMASK_URL_PREVIEW_SEPARATOR:"|",MAX_TAG_LENGTH:50,MAX_CATEGORY_LENGTH:25,PASSWORD_MASK:"__MASKED_FIELD__"},jr=gr,cr={DEFAULT:0,ICON:1},gn=cr,Et;(function(En){En.DESKTOP="desktop",En.PHONE="phone",En.TABLET="tablet"})(Et||(Et={}));var Br=Et,$n="domains-open-search-initialized",Pn="domains-open-search-dsc-initialized",An="domains-perform-search-interactive",$e="domains-perform-search-first-available-result",Ue="domains-perform-search-stable",re="frame-toolbar-desktop",ie;(function(En){En.MOBILE="mobile",En.DESKTOP="desktop"})(ie||(ie={}));var de="#027AFF",ye="#FFB802",Ge={NEWSLETTER_OVERLAY_NODE_ID:"overlayNewsletterEmail"},je=Ge,Ze=e(646709),dt=e.n(Ze),pt=e(762379),gt={text:["description","placeholder","required"],textarea:["description","placeholder","required"],email:["description","placeholder","required"],currency:["description","currencySymbol","required"],number:["description","placeholder","required"],website:["description","placeholder","required"],password:["description","required"],twitter:["description","required"],date:["description","required"],time:["description","required"],name:["description","required"],address:["description","required"],phone:["description","showCountryCode","required"],section:["description","underline"],radio:["description","options","required"],checkbox:["description","options","required"],select:["description","options","required"],likert:["description","options","required"],hidden:["key","value"]};pt.default.isFeatureEnabled(dt().VANILLA_FORM_HANDLER)&&gt.textarea.push("maxLength");var $t=gt,sn={BUILD:1,STORAGE:2,ADVANCED:3,CAPTCHA:4,DISCLAIMER:5},tr=sn,Wn={LOAD:"load",FRAME_UNLOAD:"iframeUnload"},Rn=Wn,nr={DEFAULT_SLIDER_ASPECT_RATIO:50,RERENDER_ATTR_WHITELIST:["aspectRatio","auto
67play","autoplay-duration","lightbox","lightboxTheme","methodOption","padding","thumbnail-strip-height","thumbnail-strip-margin","transientGallery","vSize"]},jn=nr,mr={IMAGE_EMPTY:"imageEmpty",IMAGE_FILE:"imageFile",IMAGE_LICENSED:"imageLicensed",IMAGE_REUSED:"imageReused",ASSET_REUSED:"assetReused",VIDEO:"video"},lr=mr,Fr=e(795478),Gr="/api/google-maps/places/autocomplete",Zr="/api/google-maps/places/details",oi=(0,Fr.shape)({productPage:Fr.string.isRequired,productSection:Fr.string.isRequired}),Hn="sqs-prevent-block-focus-change",Jt="escmanager-ignore",Ir=[Hn,Jt],ki=Ir.join(" "),$i="sqs-block-html",se={body:{raw:!1,layout:{columns:12,rows:[]}}},Ae={FROM_WYSIWYG:"fromWysiwyg",FROM_DIALOG:"fromDialog"},Ke={FROM_DIALOG:v()({},Ae.FROM_DIALOG,!0),FROM_WYSIWYG:v()({},Ae.FROM_WYSIWYG,!0)},ht=[".".concat(Hn),"#avpw_holder",".dialog-choose-image-picker-url",".dialog-content-type.flyout",".dialog-minimal-video-editor.flyout",".dialog-screen-overlay",".image-picker-overlay",".ReactModal__Overlay",".sqs-image-picker",".sqs-item-view",".sqs-widgets-confirmation",".sqs-widgets-confirmation-overlay",".sqs-wysiwyg-toolbar-mobile",".sqsp-tooltip",".workflow-flyout",".block-editor-schemas-code",".CCLinkEditorModal",".CCLinkEditorPopOver",".CCModalOverlay",".CCPageDropDown","[data-dropdown-overlay]","[data-dropdown-container]",'[data-test="ColorPicker.Input.Type"]'].join(", "),Pt={BLOGS:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-blog"]'],BLOGS_AND_PAGES:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-page"]','[class*="collection-type-blog"]','[class*="collection-type-products"]','[data-type="page"]',"#productList","#productlist","#productGallery",".ProductList",".sqs-system-gallery","#flowItems",".productlist",".productitem-images",".sqs-pinterest-products-wrapper"],VALID_IMAGE_CONTAINER:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html",".product-image","#productGallery","#productSlideshow",".ProductList-item",".product",".productlist-item",".sqs-system-gallery .slides .slide","article.flow-item",".productitem-images",".sqs-pinterest-products-wrapper",'[data-controller="ProductListImageLoader"]'],TRIGGER_SELECTORS:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html img",".product-image","#productGallery .slide img","#productSlideshow",".ProductList-item",".product",'[class^="products"]',".productlist-item",".sqs-system-gallery","#flowItems",".productitem-images",".sqs-pinterest-image img",".sqs-pinterest-products-wrapper img"]},Mt=Pt,Bn={CLOSED_DATE:"date-closed",KEY:"squarespace-popup-overlay",VERSION:"version",SUBMITTED:"submitted"},mn={TOP_LEFT:"TOP_LEFT",TOP_CENTER:"TOP_CENTER",TOP_RIGHT:"TOP_RIGHT",CENTER_LEFT:"CENTER_LEFT",CENTER_CENTER:"CENTER_CENTER",CENTER_RIGHT:"CENTER_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_CENTER:"BOTTOM_CENTER",BOTTOM_RIGHT:"BOTTOM_RIGHT"},nn=mn,Xn="js-space-around-frame",yr="js-section-editor-frame-overlay",Qn=["colors.defaultThemeId","fonts.activeThemeId","colors.palette","colors.themes","fonts.themes","fonts.fontUsageCategories"],Kt={SITE_AESTHETICS_DIRTY_PATHS:Qn},Vt=e(595178),Bt=e.n(Vt),Mo={heading:Bt().HEADING,"sub-heading":Bt().SUB_HEADING,body:Bt().BODY,image:Bt().IMAGE,gallery:Bt().GALLERY,video:Bt().VIDEO,"social-icons":Bt().SOCIAL_ICONS,buttons:Bt().BUTTONS,navigation:Bt().NAVIGATION,"custom-form":Bt().CUSTOM_FORM,newsletter:Bt().NEWSLETTER,album:Bt().ALBUM,map:Bt().MAP,lock:Bt().LOCK,password:Bt().PASSWORD,twitter:Bt().TWITTER,logo:Bt().LOGO,action:Bt().ACTION,"popup-overlay-action":Bt().POPUP_OVERLAY_ACTION,"temp-lock-inject":Bt().TEMP_LOCK_INJECT},Va=Mo,yn,ka=(yn={},v()(yn,Bt().HEADING,"heading"),v()(yn,Bt().SUB_HEADING,"sub-heading"),v()(yn,Bt().BODY,"body"),v()(yn,Bt().IMAGE,"image"),v()(yn,Bt().GALLERY,"gallery"),v()(yn,Bt().VIDEO,"video"),v()(yn,Bt().SOCIAL_ICONS,"social-icons"),v()(yn,Bt().BUTTONS,"buttons"),v(
67)(yn,Bt().NAVIGATION,"navigation"),v()(yn,Bt().CUSTOM_FORM,"custom-form"),v()(yn,Bt().NEWSLETTER,"newsletter"),v()(yn,Bt().ALBUM,"album"),v()(yn,Bt().MAP,"map"),v()(yn,Bt().LOCK,"lock"),v()(yn,Bt().PASSWORD,"password"),v()(yn,Bt().TWITTER,"twitter"),v()(yn,Bt().LOGO,"logo"),v()(yn,Bt().ACTION,"action"),v()(yn,Bt().POPUP_OVERLAY_ACTION,"popup-overlay-action"),v()(yn,Bt().TEMP_LOCK_INJECT,"temp-lock-inject"),yn),Xi=ka,Qi=e(61130),Ei=e.n(Qi),bn,$a=(bn={},v()(bn,Ei().COVER_PAGE,"cover-page"),v()(bn,Ei().LOCK_SCREEN,"lock-screen"),v()(bn,Ei().POPUP_OVERLAY,"popup-overlay"),bn),si=$a,Xa=L()(si),Li;(function(En){En.A="cohort-A",En.B="cohort-B",En.C="cohort-C",En.D="cohort-D",En.E="cohort-E"})(Li||(Li={}));var Er=Li,Ji={URL_SLUG:"url-slug",URL_SLUG_WITH_SLASH:"url-slug-with-slash"},ma=Ji,Qa={CHANGE:"tweak:change",CLOSE:"tweak:close",SAVE:"tweak:save",RESET:"tweak:reset",AFTER_SHOW:"tweak:aftershow",AFTER_CLOSE:"tweak:afterclose",BEFORE_OPEN:"tweak:beforeopen"},ya=Qa,Ea={SPLASH_PAGE:"SPLASH_PAGE",LOCK_SCREEN:"LOCK_SCREEN",POPUP_OVERLAY:"POPUP_OVERLAY",CHECKOUT:"CHECKOUT",STYLE:"STYLE"},Sa=Ea,Kn="ss",Ja="BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D",rr={AUTH_ID:Kn,AUTH_TOKEN:Ja},ba;(function(En){En[En.BYTES_IN_MB=1e6]="BYTES_IN_MB"})(ba||(ba={}));var Oa=ba},895786:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var n=s(e(858240)),a=s(e(4636)),t=s(e(346797));e(392338),e(392338),e(392338),e(392338),e(392338);var r=e(530653),i=e(441127),o=100,d=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return g>o?"".concat(o,"+"):g.toString()},u=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return g>o?(0,i.pluralize)({one:"More than one item in cart",other:"More than {%n} items in cart"},o,void 0,{notes:"A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has over N items. The \"one\" variant will probably never be used, it' just here for completeness.",project:"website.CartPage"}):(0,i.pluralize)({one:"One item in cart",other:"{%n} items in cart"},g,void 0,{notes:"A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has N items.",project:"website.CartPage"})},l=function(){function c(g){(0,n.default)(this,c),(0,t.default)(this,"initialized",!1),(0,t.default)(this,"containerEl",null),(0,t.default)(this,"quantityEl",null),(0,t.default)(this,"subtotalEl",null),this.containerEl=g,this.containerEl.classList.add(c.CLASSNAME),this.containerEl.setAttribute("data-test","continue-to-cart"),this.containerEl.setAttribute("aria-label",u(0)),this.quantityEl=g.getElementsByClassName(c.QUANTITY_CLASSNAME)[0],this.subtotalEl=g.getElementsByClassName(c.SUBTOTAL_CLASSNAME)[0]}return(0,a.default)(c,[{key:"sync",value:function(v){var h=v.items,p=h===void 0?0:h,m=v.subtotal,P=m===void 0?"":m;!this.initialized&&this.containerEl&&(this.containerEl.classList.add(c.INITIALIZED_CLASS),this.initialized=!0),this.containerEl&&(this.quantityEl?(p===0?this.containerEl.classList.add(r.TEMPLATE_CART_EMPTY_CLASS):this.containerEl.classList.remove(r.TEMPLATE_CART_EMPTY_CLASS),this.quantityEl.textContent=d(p),this.containerEl.setAttribute("aria-label",u(p))):this.containerEl.setAttribute("aria-label",(0,i.t)("Cart",null,{notes:"Shopping cart label",project:"website.CartPage"}))),this.subtotalEl&&(this.subtotalEl.textContent=P)}}],[{key:"syncAll",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};c.instances.forEach(function(h){return h.sync(v)})}},{key:"mountAll",value:function(){for(var v=Array.from(document.getElementsByClassName(c.CONTAINER_CLASSNAME)),h=0,p=v;h<p.length;h++){var m=p[h];c.instances.push(new c(m))}}},{key:"unmountAll",value:function(){c.instances=[]}}]),c}();f.default=l,(0,t.default)(l,"CONTAINER_CLASSNAME",r.TEMPLATE_CART_CONTAINER_CLASS),(0,t.default)(l,"QUANTITY_CLASSNAME",r.TEMPLATE_CART_QUANTITY_CLASS),(0,t.default)(l,"SUBTOTAL_CLASSNAME",r.TEMPLATE_CART_SUBTOTAL_CLASS),(0,t.default)(l,"CLASSNAME",r.TEMPLATE_CART_CLASS),(0,t.default)(l,"INITIALIZED_CLASS",r.TEMPLATE_CART_INITIALIZED_CLASS),(0,t.default)(l,"instances",[]),y.exports=f.default},441127:function(y,f,e){"use strict";var s=e(875832);
67Object.defineProperty(f,"__esModule",{value:!0}),f.t=f.pluralize=f.parseNumber=f.getCurrencySymbol=f.formatRelativeTime=f.formatQuantity=f.formatNumber=f.formatMoney=f.formatIcuMessage=f.formatDateTime=f.formatCurrencyToParts=f.formatCurrency=f.T=void 0;var n=s(e(384491)),a=s(e(199324)),t=s(e(162962)),r=e(572904),i=(0,r.getI18nInstance)(),o=new t.default(i),d=new n.default(i),u=new a.default(i),l=d.formatIcuMessage;f.formatIcuMessage=l;var c=u.parseNumber;f.parseNumber=c;var g=i.formatNumber,v=i.formatCurrency,h=i.formatCurrencyToParts,p=i.getCurrencySymbol,m=i.formatQuantity,P=i.formatDateTime,_=i.formatRelativeTime,b=i.translate,S=i.pluralize,E=i.formatMoney;f.formatMoney=E,f.pluralize=S,f.t=b,f.formatRelativeTime=_,f.formatDateTime=P,f.formatQuantity=m,f.getCurrencySymbol=p,f.formatCurrencyToParts=h,f.formatCurrency=v,f.formatNumber=g;var A=o.T;f.T=A},572904:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.setI18nInstance=f.getI18nInstance=void 0;var s=e(825672),n="website.CartPage";function a(o){return e(884072)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance;f.setI18nInstance=i,f.getI18nInstance=r},530653:function(y,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.TEMPLATE_CART_SUBTOTAL_CLASS=f.TEMPLATE_CART_QUANTITY_CLASS=f.TEMPLATE_CART_INITIALIZED_CLASS=f.TEMPLATE_CART_INDICATOR_CLASS=f.TEMPLATE_CART_EMPTY_CLASS=f.TEMPLATE_CART_CONTAINER_CLASS=f.TEMPLATE_CART_CLASS=f.FULL_PAGE_CART_ROOT_ID=f.FULL_PAGE_CART_CONTAINER_ID=void 0;var e="sqs-cart-root";f.FULL_PAGE_CART_ROOT_ID=e;var s="sqs-cart-container";f.FULL_PAGE_CART_CONTAINER_ID=s;var n="sqs-has-custom-cart";f.TEMPLATE_CART_INDICATOR_CLASS=n;var a="sqs-custom-cart";f.TEMPLATE_CART_CONTAINER_CLASS=a;var t="sqs-template-integrated-shopping-cart";f.TEMPLATE_CART_CLASS=t;var r="sqs-cart-initialized";f.TEMPLATE_CART_INITIALIZED_CLASS=r;var i="sqs-cart-quantity";f.TEMPLATE_CART_QUANTITY_CLASS=i;var o="sqs-cart-subtotal";f.TEMPLATE_CART_SUBTOTAL_CLASS=o;var d="cart-quantity-zero";f.TEMPLATE_CART_EMPTY_CLASS=d},719540:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=void 0;var s=e(530653),n=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!t.document.getElementById(s.FULL_PAGE_CART_ROOT_ID)};f.default=n,y.exports=f.default},90642:function(y,f,e){"use strict";var s=e(875832);Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(f,"TemplateCart",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(f,"isCartPage",{enumerable:!0,get:function(){return n.default}});var n=s(e(719540)),a=s(e(895786))},884072:function(y,f,e){var s={"./website.CartPage.en-US.yaml":323162,"src/main/webapp/frontend/website/commerce-cart/sqs-i18n-translations/strings/website.CartPage.en-US.yaml":323162};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=884072},206158:function(y,f,e){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.setI18nInstance=f.getI18nInstance=void 0;var s=e(825672),n="website.ProductReviews";function a(o){return e(412518)("./".concat(n,".").concat(o,".yaml"))}var t=(0,s.setupLibrary)(n,a),r=t.getI18nInstance,i=t.setI18nInstance;f.setI18nInstance=i,f.getI18nInstance=r},412518:function(y,f,e){var s={"./website.ProductReviews.en-US.yaml":824583,"src/main/webapp/frontend/website/product-reviews/sqs-i18n-translations/strings/website.ProductReviews.en-US.yaml":824583};function n(t){var r=a(t);return e(r)}function a(t){if(!e.o(s,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return s[t]}n.keys=function(){return Object.keys(s)},n.resolve=a,y.exports=n,n.id=412518},232630:function(){(function(){function y(f){f.Modernizr=function(e,s,n){var a="2.8.3",t={},r=!0,i=s.documentElement,o="modernizr",d=s.createElement(o),u=d.style,l=s.createElement("input"),c=":)",g={}.toString,v=" -webkit- -moz- -o- -ms- ".split(" "),h="Webkit Moz O ms",p=h.split(" "),m=h.toLowerCase().split(" "),P={svg:"http://www.w3.org/2000/svg"},_={},b={},S={},E=[],A=E.slice,T,I=function(q,N,M,U){o+="x";var Q,$,ee,oe,pe=s.createElement("div"),me=s.body,Se=me||s.createElement("body");if(parseInt(M,10))for(;M--;)ee=s.createElement("div"),ee.id=U?U[M]:o+(M+1),pe.appendChild(ee);return Q=["&#173;",'<style id="s',o,'">',q,"</style>"].join(""),pe.id=o,(me?pe:Se).innerHTML+=Q,Se.appendChild(pe),me||(Se.style.background="",Se.style.overflow="hidden",oe=i.style.overflow,i.style.overflow="hidden",i.appendChild(Se)),$=N(pe,q),me?(pe.style.display="none",e.setTimeout(function(){pe.parentNode.removeChild(pe)},1e3)):(Se.parentNode.removeChild(Se),i.style.overflow=oe),!!$},R=function(){var q={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function N(M,U){U=U||s.createElement(q[M]||"div"),M="on"+M;var Q=M in U;return Q||(U.setAttribute||(U=s.createElement("div")),U.setAttribute&&U.removeAttribute&&(U.setAttribute(M,""),Q=G(U[M],"function"),G(U[M],"undefined")||(U[M]=n),U.removeAttribute(M))),U=null,Q}return N}(),j={}.hasOwnProperty,x;!G(j,"undefined")&&!G(j.call,"undefined")?x=function(q,N){return j.call(q,N)}:x=function(q,N){return N in q&&G(q.constructor.prototype[N],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(N){var M=this;if(typeof M!="function")throw new TypeError;
67var U=A.call(arguments,1),Q=function(){if(this instanceof Q){var $=function(){};$.prototype=M.prototype;var ee=new $,oe=M.apply(ee,U.concat(A.call(arguments)));return Object(oe)===oe?oe:ee}else return M.apply(N,U.concat(A.call(arguments)))};return Q});function L(q){u.cssText=q}function H(q,N){return L(v.join(q+";")+(N||""))}function G(q,N){return typeof q===N}function X(q,N){return!!~(""+q).indexOf(N)}function K(q,N){for(var M in q){var U=q[M];if(!X(U,"-")&&u[U]!==n)return N=="pfx"?U:!0}return!1}function J(q,N,M){for(var U in q){var Q=N[q[U]];if(Q!==n)return M===!1?q[U]:G(Q,"function")?Q.bind(M||N):Q}return!1}function z(q,N,M){var U=q.charAt(0).toUpperCase()+q.slice(1),Q=(q+" "+p.join(U+" ")+U).split(" ");return G(N,"string")||G(N,"undefined")?K(Q,N):(Q=(q+" "+m.join(U+" ")+U).split(" "),J(Q,N,M))}_.flexbox=function(){return z("flexWrap")},_.canvas=function(){var q=s.createElement("canvas");return!!(q.getContext&&q.getContext("2d"))},_.canvastext=function(){return!!(t.canvas&&G(s.createElement("canvas").getContext("2d").fillText,"function"))},_.webgl=function(){return!!e.WebGLRenderingContext},_.touch=function(){var q;return"ontouchstart"in e||e.DocumentTouch&&s instanceof DocumentTouch?q=!0:I(["@media (",v.join("touch-enabled),("),o,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(N){q=N.offsetTop===9}),q},_.hashchange=function(){return R("hashchange",e)&&(s.documentMode===n||s.documentMode>7)},_.history=function(){return!!(e.history&&history.pushState)},_.draganddrop=function(){var q=s.createElement("div");return"draggable"in q||"ondragstart"in q&&"ondrop"in q},_.rgba=function(){return L("background-color:rgba(150,255,150,.5)"),X(u.backgroundColor,"rgba")},_.hsla=function(){return L("background-color:hsla(120,40%,100%,.5)"),X(u.backgroundColor,"rgba")||X(u.backgroundColor,"hsla")},_.multiplebgs=function(){return L("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(u.background)},_.backgroundsize=function(){return z("backgroundSize")},_.borderimage=function(){return z("borderImage")}
67,_.borderradius=function(){return z("borderRadius")},_.boxshadow=function(){return z("boxShadow")},_.textshadow=function(){return s.createElement("div").style.textShadow===""},_.opacity=function(){return H("opacity:.55"),/^0.55$/.test(u.opacity)},_.cssanimations=function(){return z("animationName")},_.csscolumns=function(){return z("columnCount")},_.cssgradients=function(){var q="background-image:",N="gradient(linear,left top,right bottom,from(#9f9),to(white));",M="linear-gradient(left top,#9f9, white);";return L((q+"-webkit- ".split(" ").join(N+q)+v.join(M+q)).slice(0,-q.length)),X(u.backgroundImage,"gradient")},_.cssreflections=function(){return z("boxReflect")},_.csstransforms=function(){return!!z("transform")},_.csstransforms3d=function(){var q=!!z("perspective");return q&&"webkitPerspective"in i.style&&I("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(N,M){q=N.offsetLeft===9&&N.offsetHeight===3}),q},_.csstransitions=function(){return z("transition")},_.video=function(){var q=s.createElement("video"),N=!1;try{(N=!!q.canPlayType)&&(N=new Boolean(N),N.ogg=q.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),N.h264=q.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),N.webm=q.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(M){}return N},_.audio=function(){var q=s.createElement("audio"),N=!1;try{(N=!!q.canPlayType)&&(N=new Boolean(N),N.ogg=q.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),N.mp3=q.canPlayType("audio/mpeg;").replace(/^no$/,""),N.wav=q.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),N.m4a=(q.canPlayType("audio/x-m4a;")||q.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(M){}return N},_.svg=function(){return!!s.createElementNS&&!!s.createElementNS(P.svg,"svg").createSVGRect},_.inlinesvg=function(){var q=s.createElement("div");return q.innerHTML="<svg/>",(q.firstChild&&q.firstChild.namespaceURI)==P.svg},_.svgclippaths=function(){return!!s.createElementNS&&/SVGClipPath/.test(g.call(s.createElementNS(P.svg,"clipPath")))};function k(){t.input=function(q){for(var N=0,M=q.length;N<M;N++)S[q[N]]=q[N]in l;return S.list&&(S.list=!!(s.createElement("datalist")&&e.HTMLDataListElement)),S}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),t.inputtypes=function(q){for(var N=0,M,U,Q,$=q.length;N<$;N++)l.setAttribute("type",U=q[N]),M=l.type!=="text",M&&(l.value=c,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(U)&&l.style.WebkitAppearance!==n?(i.appendChild(l),Q=s.defaultView,M=Q.getComputedStyle&&Q.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,i.removeChild(l)):/^(search|tel)$/.test(U)||(/^(url|email)$/.test(U)?M=l.checkValidity&&l.checkValidity()===!1:M=l.value!=c)),b[q[N]]=!!M;return b}("search tel url email datetime date month week time datetime-local number range color".split(" "))}for(var F in _)x(_,F)&&(T=F.toLowerCase(),t[T]=_[F](),E.push((t[T]?"":"no-")+T));return t.input||k(),t.addTest=function(q,N){if(typeof q=="object")for(var M in q)x(q,M)&&t.addTest(M,q[M]);else{if(q=q.toLowerCase(),t[q]!==n)return t;N=typeof N=="function"?N():N,typeof r!="undefined"&&r&&(i.className+=" "+(N?"":"no-")+q),t[q]=N}return t},L(""),d=l=null,t._version=a,t._prefixes=v,t._domPrefixes=m,t._cssomPrefixes=p,t.hasEvent=R,t.testProp=function(q){return K([q])},t.testAllProps=z,t.testStyles=I,i.className=i.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(r?" js "+E.join(" "):""),t}(f,f.document)}YUI.add("thirdparty-modernizr",function(f){y(f.config.win)},"1.0",{})})()},392338:function(y){"use strict";y.exports=void 0},922290:function(y){function f(e){if(Array.isArray(e))return e}y.exports=f,y.exports.__esModule=!0,y.exports.default=y.exports},4636:function(y){function f(s,n){for(var a=0;a<n.length;a++){var t=n[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(s,t.key,t)}}function e(s,n,a){return n&&f(s.prototype,n),a&&f(s,a),Object.defineProperty(s,"prototype",{writable:!1}),s}y.exports=e,y.exports.__esModule=!0,y.exports.default=y.exports},987195:function(y){function f(){return y.exports=f=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var n=arguments[s];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.exports.__esModule=!0,y.exports.default=y.exports,f.apply(this,arguments)}y.exports=f,y.exports.__esModule=!0,y.exports.default=y.exports},820721:function(y,f,e){var s=e(333852);function n(){return typeof Reflect!="undefined"&&Reflect.get?(y.exports=n=Reflect.get.bind(),y.exports.__esModule=!0,y.exports.default=y.exports
67):(y.exports=n=function(t,r,i){var o=s(t,r);if(!!o){var d=Object.getOwnPropertyDescriptor(o,r);return d.get?d.get.call(arguments.length<3?t:i):d.value}},y.exports.__esModule=!0,y.exports.default=y.exports),n.apply(this,arguments)}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},243871:function(y){function f(e,s){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var a=[],t=!0,r=!1,i,o;try{for(n=n.call(e);!(t=(i=n.next()).done)&&(a.push(i.value),!(s&&a.length===s));t=!0);}catch(d){r=!0,o=d}finally{try{!t&&n.return!=null&&n.return()}finally{if(r)throw o}}return a}}y.exports=f,y.exports.__esModule=!0,y.exports.default=y.exports},485659:function(y){function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}y.exports=f,y.exports.__esModule=!0,y.exports.default=y.exports},432405:function(y,f,e){var s=e(203634);function n(a,t){if(a==null)return{};var r=s(a,t),i,o;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);for(o=0;o<d.length;o++)i=d[o],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(a,i)||(r[i]=a[i]))}return r}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},203634:function(y){function f(e,s){if(e==null)return{};var n={},a=Object.keys(e),t,r;for(r=0;r<a.length;r++)t=a[r],!(s.indexOf(t)>=0)&&(n[t]=e[t]);return n}y.exports=f,y.exports.__esModule=!0,y.exports.default=y.exports},375798:function(y,f,e){var s=e(922290),n=e(243871),a=e(274603),t=e(485659);function r(i,o){return s(i)||n(i,o)||a(i,o)||t()}y.exports=r,y.exports.__esModule=!0,y.exports.default=y.exports},333852:function(y,f,e){var s=e(506051);function n(a,t){for(;!Object.prototype.hasOwnProperty.call(a,t)&&(a=s(a),a!==null););return a}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},114499:function(y,f){(function(e,s){s(f)})(this,function(e){"use strict";var s,n,a,t,r,i=-1,o=function(Se){addEventListener("pageshow",function(Pe){Pe.persisted&&(i=Pe.timeStamp,Se(Pe))},!0)},d=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},u=function(){var Se=d();return Se&&Se.activationStart||0},l=function(Se,Pe){var He=d(),fe="navigate";return i>=0?fe="back-forward-cache":He&&(fe=document.prerendering||u()>0?"prerender":document.wasDiscarded?"restore":He.type.replace(/_/g,"-")),{name:Se,value:Pe===void 0?-1:Pe,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:fe}},c=function(Se,Pe,He){try{if(PerformanceObserver.supportedEntryTypes.includes(Se)){var fe=new PerformanceObserver(function(ve){Promise.resolve().then(function(){Pe(ve.getEntries())})});return fe.observe(Object.assign({type:Se,buffered:!0},He||{})),fe}}catch(ve){}},g=function(Se,Pe){var He=function fe(ve){ve.type!=="pagehide"&&document.visibilityState!=="hidden"||(Se(ve),Pe&&(removeEventListener("visibilitychange",fe,!0),removeEventListener("pagehide",fe,!0)))};addEventListener("visibilitychange",He,!0),addEventListener("pagehide",He,!0)},v=function(Se,Pe,He,fe){var ve,ae;return function(le){Pe.value>=0&&(le||fe)&&((ae=Pe.value-(ve||0))||ve===void 0)&&(ve=Pe.value,Pe.delta=ae,Pe.rating=function(Ee,xe){return Ee>xe[1]?"poor":Ee>xe[0]?"needs-improvement":"good"}(Pe.value,He),Se(Pe))}},h=function(Se){requestAnimationFrame(function(){return requestAnimationFrame(function(){return Se()})})},p=function(Se){document.prerendering?addEventListener("prerenderingchange",function(){return Se()},!0):Se()},m=-1,P=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},_=function(Se){document.visibilityState==="hidden"&&m>-1&&(m=Se.type==="visibilitychange"?Se.timeStamp:0,S())},b=function(){addEventListener("visibilitychange",_,!0),addEventListener("prerenderingchange",_,!0)},S=function(){removeEventListener("visibilitychange",_,!0),removeEventListener("prerenderingchange",_,!0)},E=function(){return m<0&&(m=P(),b(),o(function(){setTimeout(function(){m=P(),b()},0)})),{get firstHiddenTime(){return m}}},A=function(Se,Pe){Pe=Pe||{},p(function(){var He,fe=[1800,3e3],ve=E(),ae=l("FCP"),le=c("paint",function(Ee){Ee.forEach(function(xe){xe.name==="first-contentful-paint"&&(le.disconnect(),xe.startTime<ve.firstHiddenTime&&(ae.value=Math.max(xe.startTime-u(),0),ae.entries.push(xe),He(!0)))})});le&&(He=v(Se,ae,fe,Pe.reportAllChanges),o(function(Ee){ae=l("FCP"),He=v(Se,ae,fe,Pe.reportAllChanges),h(function(){ae.value=performance.now()-Ee.timeStamp,He(!0)})}))})},T=function(Se,Pe){Pe=Pe||{},p(function(){var He,fe=[.1,.25],ve=l("CLS"),ae=-1,le=0,Ee=[],xe=function(Be){ae>-1&&Se(Be)},_e=function(Be){Be.forEach(function(nt){if(!nt.hadRecentInput){var Je=Ee[0],ue=Ee[Ee.length-1];le&&nt.startTime-ue.startTime<1e3&&nt.startTime-Je.startTime<5e3?(le+=nt.value,Ee.push(nt)):(le=nt.value,Ee=[nt]),le>ve.value&&(ve.value=le,ve.entries=Ee,He())}})},Re=c("layout-shift",_e);Re&&(He=v(xe,ve,fe,Pe.reportAllChanges),A(function(Be){ae=Be.value,ve.value<0&&(ve.value=0,He())}),g(function(){_e(Re.takeRecords()),He(!0)}),o(function(){le=0,ae=-1,ve=l("CLS",0),He=v(xe,ve,fe,Pe.reportAllChanges),h(function(){return He()})}))})},I={passive:!0,capture:!0},R=new Date,j=function(Se,Pe){s||(s=Pe,n=Se,a=new Date,H(removeEventListener),x())},x=function(){if(n>
67=0&&n<a-R){var Se={entryType:"first-input",name:s.type,target:s.target,cancelable:s.cancelable,startTime:s.timeStamp,processingStart:s.timeStamp+n};t.forEach(function(Pe){Pe(Se)}),t=[]}},L=function(Se){if(Se.cancelable){var Pe=(Se.timeStamp>1e12?new Date:performance.now())-Se.timeStamp;Se.type=="pointerdown"?function(He,fe){var ve=function(){j(He,fe),le()},ae=function(){le()},le=function(){removeEventListener("pointerup",ve,I),removeEventListener("pointercancel",ae,I)};addEventListener("pointerup",ve,I),addEventListener("pointercancel",ae,I)}(Pe,Se):j(Pe,Se)}},H=function(Se){["mousedown","keydown","touchstart","pointerdown"].forEach(function(Pe){return Se(Pe,L,I)})},G=function(Se,Pe){Pe=Pe||{},p(function(){var He,fe=[100,300],ve=E(),ae=l("FID"),le=function(_e){_e.startTime<ve.firstHiddenTime&&(ae.value=_e.processingStart-_e.startTime,ae.entries.push(_e),He(!0))},Ee=function(_e){_e.forEach(le)},xe=c("first-input",Ee);He=v(Se,ae,fe,Pe.reportAllChanges),xe&&g(function(){Ee(xe.takeRecords()),xe.disconnect()},!0),xe&&o(function(){var _e;ae=l("FID"),He=v(Se,ae,fe,Pe.reportAllChanges),t=[],n=-1,s=null,H(addEventListener),_e=le,t.push(_e),x()})})},X=0,K=1/0,J=0,z=function(Se){Se.forEach(function(Pe){Pe.interactionId&&(K=Math.min(K,Pe.interactionId),J=Math.max(J,Pe.interactionId),X=J?(J-K)/7+1:0)})},k=function(){return r?X:performance.interactionCount||0},F=function(){"interactionCount"in performance||r||(r=c("event",z,{type:"event",buffered:!0,durationThreshold:0}))},q=0,N=function(){return k()-q},M=[],U={},Q=function(Se){var Pe=M[M.length-1],He=U[Se.interactionId];if(He||M.length<10||Se.duration>Pe.latency){if(He)He.entries.push(Se),He.latency=Math.max(He.latency,Se.duration);else{var fe={id:Se.interactionId,latency:Se.duration,entries:[Se]};U[fe.id]=fe,M.push(fe)}M.sort(function(ve,ae){return ae.latency-ve.latency}),M.splice(10).forEach(function(ve){delete U[ve.id]})}},$=function(Se,Pe){Pe=Pe||{},p(function(){var He=[200,500];F();var fe,ve=l("INP"),ae=function(Ee){Ee.forEach(function(Re){Re.interactionId&&Q(Re),Re.entryType==="first-input"&&!M.some(function(Be){return Be.entries.some(function(nt){return Re.duration===nt.duration&&Re.startTime===nt.startTime})})&&Q(Re)});var xe,_e=(xe=Math.min(M.length-1,Math.floor(N()/50)),M[xe]);_e&&_e.latency!==ve.value&&(ve.value=_e.latency,ve.entries=_e.entries,fe())},le=c("event",ae,{durationThreshold:Pe.durationThreshold||40});fe=v(Se,ve,He,Pe.reportAllChanges),le&&(le.observe({type:"first-input",buffered:!0}),g(function(){ae(le.takeRecords()),ve.value<0&&N()>0&&(ve.value=0,ve.entries=[]),fe(!0)}),o(function(){M=[],q=k(),ve=l("INP"),fe=v(Se,ve,He,Pe.reportAllChanges)}))})},ee={},oe=function(Se,Pe){Pe=Pe||{},p(function(){var He,fe=[2500,4e3],ve=E(),ae=l("LCP"),le=function(_e){var Re=_e[_e.length-1];if(Re){var Be=Math.max(Re.startTime-u(),0);Be<ve.firstHiddenTime&&(ae.value=Be,ae.entries=[Re],He())}},Ee=c("largest-contentful-paint",le);if(Ee){He=v(Se,ae,fe,Pe.reportAllChanges);var xe=function(){ee[ae.id]||(le(Ee.takeRecords()),Ee.disconnect(),ee[ae.id]=!0,He(!0))};["keydown","click"].forEach(function(_e){addEventListener(_e,xe,{once:!0,capture:!0})}),g(xe,!0),o(function(_e){ae=l("LCP"),He=v(Se,ae,fe,Pe.reportAllChanges),h(function(){ae.value=performance.now()-_e.timeStamp,ee[ae.id]=!0,He(!0)})})}})},pe=function Se(Pe){document.prerendering?p(function(){return Se(Pe)}):document.readyState!=="complete"?addEventListener("load",function(){return Se(Pe)},!0):setTimeout(Pe,0)},me=function(Se,Pe){Pe=Pe||{};var He=[800,1800],fe=l("TTFB"),ve=v(Se,fe,He,Pe.reportAllChanges);pe(function(){var ae=d();if(ae){var le=ae.responseStart;if(le<=0||le>performance.now())return;fe.value=Math.max(le-u(),0),fe.entries=[ae],ve(!0),o(function(){fe=l("TTFB",0),(ve=v(Se,fe,He,Pe.reportAllChanges))(!0)})}})};e.getCLS=T,e.getFCP=A,e.getFID=G,e.getINP=$,e.getLCP=oe,e.getTTFB=me,e.onCLS=T,e.onFCP=A,e.onFID=G,e.onINP=$,e.onLCP=oe,e.onTTFB=me,Object.defineProperty(e,"__esModule",{value:!0})})},653502:function(y){"use strict";y.exports=JSON.parse('{"f0f30d83e145c2299e544b3099522e44":"Try again","4ab317428b3005b45235e56ee7952e52":"Unable to load results","e57ab92d7c7d59bac7879b6768173f9d":"File name","6374d59b53e351cc597bdb6f308c8152":"Replace","0340e8c7dd3b68223fb050892f8bd266":"Delete","d12ba73a568e7b19be2ec2dfb211cd59":"Blockquote","5997f29d9262297d2d50c139c1d84662":"Bold","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting","cf6dee68b8473ee2fbbb32e37cda3a59":"Decrease Indent","3f4ff0ebf79e6d3203ba9eef13ffd945":"Duplicate","b7044b7c3ef0d585024616a719cfa684":"Edit","49a55e2950abf20a53fa45d8e3ce80c2":"Increase Indent","f4a5e49a842d041881c4954d545c15f4":"Italic","c48e91b131d22173ec459b82724b9e70":"Layer Above","041968c09c5287e13eef9272e68a6df9":"Layer Below","97728c43b61e5543bf2fddcdb690f1ad":"Move Down","0a6e4807b225a8538977d3f1e32418ba":"Move Up","6fd139b37257a82714aa39dd2bbdcb9f":"Ordered List","2e15c9fac04cae73fc0b9b92fec18cca":"Paste With Formatting","29e233771e82810a7524b9a11dc75f85":"Redo","28e8e968fe9a11d66cb5774405e7df39":"Settings","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough","c7f2b0955d5d2bbb65fb94fb4c50b271":"Subscript","9d9f520137959df43cbc65161f4325a0":"Superscript","1ce66c14a59b4243179029d6a87cb22b":"Text Align Center","9687253e2d1f8d823207b1ae14f55190":"Text Align Left","2e14022083291fe2749fc32a0dd31fc8":"Text Align Right","374214587a58fe562f282bd87d910f48":"Underline","8e5e94ff1880763ffb58d6d02b5097ee":"Undo","f67719d3f7b8a4bfef08cff02e9cdb02":"Unordered List","186b613b9049d2a7e04fd62ad9c00fd7":{"one":"{%n} selected","other":"{%n} selected"},"16eb64edf1094ae679572ffbbd2747c9":"More Options","7882ec89ba4cca31b968a7872d770537":"No results found","9a80011dc1ba3a237c2691fd6f5c9904":"Close","ff597767824016bc0114c150d6b76431":"Continue","65686533c6efd5c14c895fe5eac5ab99":"Add...","6f3604dda971f07bb57da9ed8f1f74c7":"Back","d9e07a1b6b1ef8477e421a01c62ce452":"Unable to load. Try again.","cf15f5fd78794de679f918b108299eaf":"color value","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","2077e4e46fc6729c384f71c84203e519":"Color","c594ece23f5f0fa322c76440751c9544":"{type} slider thumb","7703bb4cabe682a18285c33fe767c27e":"Add swatch","e20198dbc25f5146ada4538c745b5c41":"Remove swatch","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","09272f8adb7bef3c15f86216821503e7":"https://example.com","4ae0e29701ea00a4795705f7f4f67b8e":"Search","7fd030bff942f8f5eacf9c36e7b5cb86":"tag","a4959ad90934fe5ab29b8795813181d2":"tags","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","380e408440d5350ce9283c22e2a8f794":"Save","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists","afeb3edda64e60f7d173bc806ed5df0b":"You may only edit one {tagType} at a time","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","92b558a38285983831bb65464610e5e5":"Add {tagType} here","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}","c3217028372c185247852049760b18f8":"Edit {tagType}","ffa35ae7f040da586d8939eb0292358d":"Merge {tagType}","a7b5c41b6f9ae8df24aab7be61000ec2":"New {tagType}","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","63d751064eb90fb6e472fd79547b2fc6":"Address","11d1442e08568a65c839815601447d81":"City, State, Zip","78701bfa2ba7a789b450ebda20ec0ca7":"Country","9d1e2410516960f174defb07ee3f1c5f":"Filter by product","a77460fff4aaad92b3f81522d194d909":"By {authors}","ef1e8f0b8b6a4a0763ca66e4dc7ef3fc":"By {artists}","e9857cd422b6ef9194e9b2b031bdb776":"Starring {actors}","522807ea28a266bda049cb8637443f23":"Display Source","cab1596094df6aed2367bd5bd7bd8dec":"Type","6f28effcf4f76d080abc7893d30966bf":"Mode","c1dba888bcd3d31b52df76a31f121c4f":"Code editing is not available on Android.","f7a48a78d10d3d506472dca8b922b1f9":"Options","efe464900e7ef25fab7017e9e0af4911":"Code","ec950bb151f7f08d8465272ac1c23f82":"Add Code Here","0664e194e9297b284bbcac4e63018203":"Code editor","fd637ba0ba0cb87b366d91f80b84ce5a":"Unable to load collections","bc7be137f1fc59c5d423dc8fbc1773bf":"Your dataset must have at least one column","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row","d1e907460980b778073d990159b8fb45":"empty string","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","491
67a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","7d07f870886c600ed5bc37af39266284":"New Series","9195c6f74ed2b2dfa567f6330937cacc":"Label","aa561aef75cd3063ab9058e4287381ce":"Your dataset has been truncated to {maxRows} rows","607296b2ebd861bb21f5d171d819ae52":"Your dataset has been truncted to {maxColumns} columns","66633ba9d6dc5cff1c6d2be997e26259":"Update","c221bf00aeb374c630caff3330e5a535":"Time","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","09641cfbf347c23f2f1401c80f111c97":"Successfully located","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","993450215333ab73150f2831db4a2ce9":"Searching","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment","bc953956c9f0d80b05cbffefc18084dc":"Okay","6795c93795031ea3c966e70aa8fb6d67":"Remove","ce9ad473a45a1902d7d59291432bd77c":"Error","8914865196496d62a20e28b8f944e218":"File processing failed to complete","ffa0167016aedc8800f617213d51fc13":"File upload failed to complete","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.","fc11121d2c0b9cd040eb497150f090ac":"The file {fileName} is too large. The maximum allowed file size is {maxSize}.","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","37b0da5136508f27aeb51d39807e7cd0":"Add Image","bfd10ff05b9b5d2caa24bfe7c56e93f2":"Add Video","3ee12af588444226d8a6c70eabc1a861":"Normal","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","36db0be5456697b047ea71d4d02d61d4":"angle","cb15768afa8bd5e155c1e0e9d6fc6de4":"Key","c20bed6c7f08006c9a3f9ae14e04754b":"Value","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview","a4076f49f4f9f6c95b24a985487c3cf0":"Markdown","0141fa9f0be4194399a88f5fef0bb639":"You don\'t have any mailing lists. Please create one before continuing","c88fea453ce4c95d68025d0ebe76505f":"Select List","2da54f567ea151fb27983f192f2aad8c":"Disconnect","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","069be74a4cdfee594e42ea8c19cd697d":"Connected to","35faa1b1781d6eee40b5c56f42416bda":"Connect to","96c3071b61722c35b731c1d538e248e8":"[email protected]","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name","ec39193d6a268594c60c24aeac543ac3":"A List must be selected","e18a2305c03b9feb02f21eb8d07e44b5":"Disconnect MailChimp?","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.","ce5a9d2f97c93d32e21cb6a36a73dfb0":"Retry","c2416f8a5134d87050ec363288ed0d03":"List","df9be7e86078cb381ddd5ff507dabe8c":"Require double opt-in","f2d0ff0165dd94142db90c664704e7a8":"Connect","b60fd254e7986e8f740ea8af4c039df0":"Unable to connect. Please try again","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier","1c8c3ac4a67e7bf87bb1b9197b38862b":{"one":"{%n} Zap connected","other":"{%n} Zaps connected"},"d16871b45111bfd36e18b0ef7413f465":"Show password","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","212e00b324a1c7c5d72d865990dfddf1":"Formatting","d832399295ed36ab36c788c87697dcb7":"Heading 1","a8697f6224225817130c31996d9b002c":"Heading 2","c99a079c1ce7638c2a631036133d2d6f":"Heading 3","ec15704a9e34434bd57c23fcbd365ca5":"Heading 4","958dba67087058b4a48e8b08d11d8321":"Heading 5","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","5ec935856879645040f14c4e1adb8366":"Quote","32144adc818f13fb069a69c974e555d2":"Numbered List","1997da20c166ee10ae426e2de942b84e":"Bulleted List","eb26c105ccd50f2bbd662fcadf2df707":"Strike Through","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large","b125de8dd82b809475f4ffb299eafc69":"Left Align","d053134c28f054c41b20703bdb37d54f":"Center Align","014f07868f87665f18306a866f821b4e":"Right Align","d23a6457ddfe95a261fae253f6baddaf":"Indent List Item","23fbe79152d053260378139870172f6b":"Outdent List Item","a1a1f0c3723b927b0bde4eee49540dbb":"Link","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color","c25ab9ad01bdf00bb7f452e95e63b6f0":"Backgroun
67d Color","81d7722f3035ed5883cec1194b4c6945":"Indent","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent","f45f1b3f27ab384a8845c73b96952504":"SubScript","b321efb5ce7a2271e72c171bf15b3bdc":"superscript","8825c051a8218175fe6857bfd0142e68":"undo","e1bc8c4c42d51461bb4a0964c2a92f10":"redo","62444f8044cfff2cc1d6ce2704c905de":"Align","0206ac1674549234236fec1e3e5d40a3":"Text","74fc7fe880ed4b94e3d44a3aed8607a6":"More","e3351a087228c575cc0d85705b28d23f":"Decrement","f9822b211ebefa6e37378622271a545a":"Increment","d93f2d5359a07a3c963fc68ba1408390":"No switchable variants available","83d9a5ee9a18de4adb020cfd8354726a":"Ok","71b6c516b67aed7ce1e157767622a048":"Confirm","84ed1a818812875886ea82e56730eab6":"Discard","ca7275020461405b490ae5720dd2bda0":"You have made changes. Do you want to save or discard them?","daf528d2d7e023e01b8e6ff51dddfecd":"Review Changes","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","9bf25392999569e076b9349b042dce6e":"Network error","d68f61f4086356e95d50469b69a9c22d":"No response data from job request","43319d0ffa28e455372df25fb2889fea":"File processing failed","b0695c36098e6fd43cc9a45c711bd504":"File processing cancelled","817d9a1e978ef06982a11c8eb03a5f5f":"Close notification","d67a7a90682d75e37f3c27ee21d026b0":"Copy","e38848bae5b39dad125df53483b3877e":"Copied","ef75c1a57b1d4a43d94f68047e5ff3c4":"Clear","9e4880e6d4db61fc7740227bef8d7eae":"Download on the App Store","0c84914dfc5e8aa3d8df21590c7a5a93":"Get it on Google Play","e499ba0cffcd145c23d73a915ff418f3":"Failed to load timezone \\"{timeZone}\\". Retry connection or verify Squarespace site availability.","585cf0c20efbdf6392e50977169b93ec":"Previous Month","0b32e7c5feff467c1bc17d36f34a9d3e":"Next Month","eaf6bc9ce7ba33165413f3c322459c06":"Select","cd0a71e417130da0adce22e20ecd695b":"Done","bcde5fb38b9213e20f3490e9b62c7001":"clear search","28394c8da1d8eaa8f22942780bac0847":"cancel","9e438efafaa98bdc1d356f98beffe3d0":"Next","c36810953715864173181f42cca8e5e3":"{currentStepNumber} of {stepCount}","b8302fe3a3f4d7531e53b59e47e367e3":"Navigate to {label}","721e0782a77212923abb2d89fdc26afb":"Color map thumb","2384a4a0e2a5214730400c656b365044":"Link Editor","f9b89a2781302453b4c84fea706541e8":"Optional","f5f7cdbd93d03c377d39d2dc86fc6cf9":"Add an email subject","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198","db97fab57a2aca7cd0515625f26e466e":"Page","481779894da47202c80a84709b2ad7f3":"Web Address","54eff37a52f8c9e9e4b646646e044e9c":"Email","4c935026efb5ca6ce50019a7f55e0c49":"Phone","c7b5c995edce272debb484a3c06682bf":"File","51b30c554db0a8684523fd96862edde4":"Pages","a48b9ccb25ed66eebf2753494b24f0ae":"Links","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","4852c876d60b3e5f297df19ebfef03d4":"Link Name","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment","c02b852487eac31511d6eaa00deafffb":"Monospace","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","0dd5449144543955db89be693d31d57f":"Medium Paragraph","e177098aea680490c086d33dc5eda903":"Large Paragraph","f117333d4b1c7838a4fc31a764138526":"Small Heading","bb7ebc4c739f0a717a26ac4837b6b869":"Medium Heading","d1a8e5e08c3ea6780699aff8f18f99b1":"Large Heading","ad2d0dc63b854af0e32e0b5e92784436":"Extra Large Heading","bad635ed8fb7219810ebde3b1a9a0efd":"Styles","be44967e5703076dbc561a8d79649e54":"Bullets","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers","f03deaabf42910ca5fd5b6e1e620af94":"Save changes","d9b60f4548586a037380e87894bd147a":"Add new preset color","a4d0b8f2606818c557192a09324a39da":"This page is locked","a80b5618f581876697eb5288659d839a":"This page available only site members","f762c2e3781aef4cdd0c2437d714f922":"No collections in this navigation.","8b47c8126228b030d2083d2b6fb04f25":"Tags","57f8d22cd814c756620c329e163a6200":"Categories","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts","ffd9fbbc58371a58cec4459cc2c2ed96":"Unable to load fonts","db39fb9157d6710250d81c38b1613997":"No results","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8962d92b3137f6e4607a410c5710c3e4":"Display","b93679c1ac66c43fec049
670f125e9db13":"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif","a7e614da684a289259a757da5b11ffd5":"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide","ad6805ba5b472b9af26e2d3154e20dae":"Typekit Kit","fea729b2b5863418f65e8c43e93e3231":"Scheduled","82ec412180360729918933152c71ea4c":"Needs Review","cfe26156925fcee6678e5b61455ad18c":"Draft","4df8418beddf738dffc2e96e0f0a1270":"Private","ed926e73b1c30d34fa09d25d1d37281a":"CC","04a7bd5e2847095c55fe21aef7ba243a":"BCC","b4f1b32c617e24e50bb7033674cf3c8d":"Subject","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","71c84b01aa8158c57b404805381738b0":"Open in a New Window","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code","e7cc78291fd0136e5a1f76c3643c47b1":"[email protected]","010318c0a9ccc872b2586fd753629724":"Color Map","8fb62340758bb0697bc8f41a6670b543":"Alpha","589005829d1e2ededf1a0644d8ced341":"Hex","dc72bac1b531a7fbe8f86d6317fe38a4":"Saturation","b26d8808ffb5a5eaa363a2ca954052e3":"Lightness","65c49758298bd3003115b575bfc62a8d":"Red","32e7a735a2cb014aa5ffe991fab642f1":"Green","7379dba109b295fe849347f2cfc131da":"Blue","838b82f16ea03f6570f119763f42d912":"RGB","edafcde8a5ca1a13a3df7b120fd95f62":"HSL","223606f2730e3c5344b34645c43bd805":"Color format","69f9ff1d9f405b298d3b4b6715287c6f":"Select Color Format","6fcccb76d81675b1ae7f80f183618fb2":"{type} slider","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as [email protected]","b956ecc6b9594bd69c184dfbbe22f2c8":"To","f4f06cb1e212075f2986ba2ca08e1831":"Links must be formatted as www.example.com or example.com","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}","1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}","b90258a24f3d53aca75cba38a8bd3c20":"Learn More","22c9c6155c64fe02952ee31183ef8907":"Learn more.","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site\'s load time. Use as few as possible. {learnMoreLink}","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading","a3c0b94fefbd7fe93950ffcd33241a6b":"Existing Files","5cd58303f11dd3aa71d98ef3e0370500":"Manage","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File","def0cbd08315d1fc26bf40c7a50049b6":"Rename","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name","f3e698aa47a54daf732dd37ace0d76ec":"This can\'t be undone. Make sure to update all links to this file.","92f0a8337f22baf3997d5f20a17c9c76":"Delete \'{filename}\'?","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File","a140e097ba2c31b7eafdd5ac3883e7e1":"There was a problem while uploading your file.","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","1dcf4e15170e20de94cc73e716440378":"Load More","48693a3724983c379ea489a4942a11ea":"Upload File","4ff476d1a620c5f518f26d8d217ea9f8":"None","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","8030c7d4ef639c31baebe4305012f265":"No Results","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number","e48f2a5f37c31bee87701f0c57e3ba93":"Sort By","d5867f1ab51dabe19cd38a34a4dade09":"Unsorted"}')}},function(y){var f=function(s){return y(y.s=s)};y.O(0,[80276,46001,97684],function(){return f(239886)});var e=y.O()}]);
68//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/common-8ce3b5f438af1a96b0a8d-min.en-US.js.map

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.