auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
1 line
28 KiB
JavaScript
1 line
28 KiB
JavaScript
(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{navigate:()=>Ce,store:()=>oe});var n,r,o,i,_,s,u,c,l,a={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function d(t,e){for(var n in e)t[n]=e[n];return t}function v(t){var e=t.parentNode;e&&e.removeChild(t)}function y(t,e,r){var o,i,_,s={};for(_ in e)"key"==_?o=e[_]:"ref"==_?i=e[_]:s[_]=e[_];if(arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(_ in t.defaultProps)void 0===s[_]&&(s[_]=t.defaultProps[_]);return g(t,s,o,i,null)}function g(t,e,n,i,_){var s={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==_?++o:_,__i:-1,__u:0};return null==_&&null!=r.vnode&&r.vnode(s),s}function m(t){return t.children}function b(t,e){this.props=t,this.context=e}function w(t,e){if(null==e)return t.__?w(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?w(t):null}function k(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return k(t)}}function x(t){(!t.__d&&(t.__d=!0)&&_.push(t)&&!S.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||u)(S)}function S(){var t,e,n,r,o,i,s,u,l;for(_.sort(c);t=_.shift();)t.__d&&(e=_.length,r=void 0,i=(o=(n=t).__v).__e,u=[],l=[],(s=n.__P)&&((r=d({},o)).__v=o.__v+1,j(s,r,o,n.__n,void 0!==s.ownerSVGElement,32&o.__u?[i]:null,u,null==i?w(o):i,!!(32&o.__u),l),r.__.__k[r.__i]=r,N(u,r,l),r.__e!=i&&k(r)),_.length>e&&_.sort(c));S.__r=0}function $(t,e,n,r,o,i,_,s,u,c,l){var p,h,d,v,y,g=r&&r.__k||f,m=e.length;for(n.__d=u,P(n,e,g),u=n.__d,p=0;p<m;p++)null!=(d=n.__k[p])&&"boolean"!=typeof d&&"function"!=typeof d&&(h=-1===d.__i?a:g[d.__i]||a,d.__i=p,j(t,d,h,o,i,_,s,u,c,l),v=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&M(h.ref,null,d),l.push(d.ref,d.__c||v,d)),null==y&&null!=v&&(y=v),65536&d.__u||h.__k===d.__k?u=E(d,u,t):"function"==typeof d.type&&void 0!==d.__d?u=d.__d:v&&(u=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=y}function P(t,e,n){var r,o,i,_,s,u=e.length,c=n.length,l=c,a=0;for(t.__k=[],r=0;r<u;r++)null!=(o=t.__k[r]=null==(o=e[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,o):h(o)?g(m,{children:o},null,null,null):o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=t,o.__b=t.__b+1,s=C(o,n,_=r+a,l),o.__i=s,i=null,-1!==s&&(l--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&a--,"function"!=typeof o.type&&(o.__u|=65536)):s!==_&&(s===_+1?a++:s>_?l>u-_?a+=s-_:a--:a=s<_&&s==_-1?s-_:0,s!==r+a&&(o.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&(i.__e==t.__d&&(t.__d=w(i)),L(i,i,!1),n[r]=null,l--);if(l)for(r=0;r<c;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==t.__d&&(t.__d=w(i)),L(i,i))}function E(t,e,n){var r,o;if("function"==typeof t.type){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=E(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function C(t,e,n,r){var o=t.key,i=t.type,_=n-1,s=n+1,u=e[n];if(null===u||u&&o==u.key&&i===u.type)return n;if(r>(null!=u&&0==(131072&u.__u)?1:0))for(;_>=0||s<e.length;){if(_>=0){if((u=e[_])&&0==(131072&u.__u)&&o==u.key&&i===u.type)return _;_--}if(s<e.length){if((u=e[s])&&0==(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function A(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||p.test(e)?n:n+"px"}function O(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||A(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||A(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?H:T,i)):t.removeEventListener(e,i?H:T,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==e&&"height"!==e&&"href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&"rowSpan"!==e&&"colSpan"!==e&&"role"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!==e[4]?t.removeAttribute(e):t.setAttribute(e,n))}}function T(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(r.event?r.event(t):t)}function H(t){return this.l[t.type+!0](r.event?r.event(t):t)}function j(t,e,n,o,i,_,s,u,c,l){var a,f,p,v,y,g,w,k,x,S,P,E,C,A,O,T=e.type;if(void 0!==e.constructor)return null;128&n.__u&&(c=!!(32&n.__u),_=[u=e.__e=n.__e]),(a=r.__b)&&a(e);t:if("function"==typeof T)try{if(k=e.props,x=(a=T.contextType)&&o[a.__c],S=a?x?x.props.value:a.__:o,n.__c?w=(f=e.__c=n.__c).__=f.__E:("prototype"in T&&T.prototype.render?e.__c=f=new T(k,S):(e.__c=f=new b(k,S),f.constructor=T,f.render=D),x&&x.sub(f),f.props=k,f.state||(f.state={}),f.context=S,f.__n=o,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=T.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=d({},f.__s)),d(f.__s,T.getDerivedStateFromProps(k,f.__s))),v=f.props,y=f.state,f.__v=e,p)null==T.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==T.getDerivedStateFromProps&&k!==v&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,S),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,S)||e.__v===n.__v)){for(e.__v!==n.__v&&(f.props=k,f.state=f.__s,f.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),P=0;P<f._sb.length;P++)f.__h.push(f._sb[P]);f._sb=[],f.__h.length&&s.push(f);break t}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,S),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(v,y,g)}))}if(f.context=S,f.props=k,f.__P=t,f.__e=!1,E=r.__r,C=0,"prototype"in T&&T.prototype.render){for(f.state=f.__s,f.__d=!1,E&&E(e),a=f.render(f.props,f.state,f.context),A=0;A<f._sb.length;A++)f.__h.push(f._sb[A]);f._sb=[]}else do{f.__d=!1,E&&E(e),a=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++C<25);f.state=f.__s,null!=f.getChildContext&&(o=d(d({},o),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(g=f.getSnapshotBeforeUpdate(v,y)),$(t,h(O=null!=a&&a.type===m&&null==a.key?a.props.children:a)?O:[O],e,n,o,i,_,s,u,c,l),f.base=e.__e,e.__u&=-161,f.__h.length&&s.push(f),w&&(f.__E=f.__=null)}catch(t){e.__v=null,c||null!=_?(e.__e=u,e.__u|=c?160:32,_[_.indexOf(u)]=null):(e.__e=n.__e,e.__k=n.__k),r.__e(t,e,n)}else null==_&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=U(n.__e,e,n,o,i,_,s,c,l);(a=r.diffed)&&a(e)}function N(t,e,n){e.__d=void 0;for(var o=0;o<n.length;o++)M(n[o],n[++o],n[++o]);r.__c&&r.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){r.__e(t,e.__v)}}))}function U(t,e,r,o,i,_,s,u,c){var l,f,p,d,y,g,m,b=r.props,k=e.props,x=e.type;if("svg"===x&&(i=!0),null!=_)for(l=0;l<_.length;l++)if((y=_[l])&&"setAttribute"in y==!!x&&(x?y.localName===x:3===y.nodeType)){t=y,_[l]=null;break}if(null==t){if(null===x)return document.createTextNode(k);t=i?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),_=null,u=!1}if(null===x)b===k||u&&t.data===k||(t.data=k);else{if(_=_&&n.call(t.childNodes),b=r.props||a,!u&&null!=_)for(b={},l=0;l<t.attributes.length;l++)b[(y=t.attributes[l]).name]=y.value;for(l in b)y=b[l],"children"==l||("dangerouslySetInnerHTML"==l?p=y:"key"===l||l in k||O(t,l,null,y,i));for(l in k)y=k[l],"children"==l?d=y:"dangerouslySetInnerHTML"==l?f=y:"value"==l?g=y:"checked"==l?m=y:"key"===l||u&&"function"!=typeof y||b[l]===y||O(t,l,y,b[l],i);if(f)u||p&&(f.__html===p.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(p&&(t.innerHTML=""),$(t,h(d)?d:[d],e,r,o,i&&"foreignObject"!==x,_,s,_?_[0]:r.__k&&w(r,0),u,c),null!=_)for(l=_.length;l--;)null!=_[l]&&v(_[l]);u||(l="value",void 0!==g&&(g!==t[l]||"progress"===x&&!g||"option"===x&&g!==b[l])&&O(t,l,g,b[l],!1),l="checked",void 0!==m&&m!==t[l]&&O(t,l,m,b[l],!1))}return t}function M(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){r.__e(t,n)}}function L(t,e,n){var o,i;if(r.unmount&&r.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||M(o,null,e)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){r.__e(t,e)}o.base=o.__P=null,t.__c=void 0}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&L(o[i],e,n||"function"!=typeof t.type);n||null==t.__e||v(t.__e),t.__=t.__e=t.__d=void 0}function D(t,e,n){return this.constructor(t,n)}function W(t,e,o){var i,_,s,u;r.__&&r.__(t,e),_=(i="function"==typeof o)?null:o&&o.__k||e.__k,s=[],u=[],j(e,t=(!i&&o||e).__k=y(m,null,[t]),_||a,a,void 0!==e.ownerSVGElement,!i&&o?[o]:_?null:e.firstChild?n.call(e.childNodes):null,s,!i&&o?o:_?_.__e:e.firstChild,i,u),N(s,t,u)}function F(t,e){W(t,e,F)}n=f.slice,r={__e:function(t,e,n,r){for(var o,i,_;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(t)),_=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,r||{}),_=o.__d),_)return o.__E=o}catch(e){t=e}throw t}},o=0,i=function(t){return null!=t&&null==t.constructor},b.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof t&&(t=t(d({},n),this.props)),t&&d(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),x(this))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),x(this))},b.prototype.render=m,_=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(t,e){return t.__v.__b-e.__v.__b},S.__r=0,l=0;var R,V,q,B,I=0,z=[],G=[],J=r.__b,K=r.__r,Q=r.diffed,X=r.__c,Y=r.unmount;function Z(t,e){r.__h&&r.__h(V,t,I||e),I=0;var n=V.__H||(V.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:G}),n.__[t]}function tt(t,e){var n=Z(R++,3);!r.__s&&ct(n.__H,e)&&(n.__=t,n.i=e,V.__H.__h.push(n))}function et(t){return I=5,nt((function(){return{current:t}}),[])}function nt(t,e){var n=Z(R++,7);return ct(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function rt(t){var e=V.context[t.__c],n=Z(R++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(V)),e.props.value):t.__}function ot(){for(var t;t=z.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(st),t.__H.__h.forEach(ut),t.__H.__h=[]}catch(e){t.__H.__h=[],r.__e(e,t.__v)}}r.__b=function(t){V=null,J&&J(t)},r.__r=function(t){K&&K(t),R=0;var e=(V=t.__c).__H;e&&(q===V?(e.__h=[],V.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=G,t.__N=t.i=void 0}))):(e.__h.forEach(st),e.__h.forEach(ut),e.__h=[],R=0)),q=V},r.diffed=function(t){Q&&Q(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==z.push(e)&&B===r.requestAnimationFrame||((B=r.requestAnimationFrame)||_t)(ot)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==G&&(t.__=t.__V),t.i=void 0,t.__V=G}))),q=V=null},r.__c=function(t,e){e.some((function(t){try{t.__h.forEach(st),t.__h=t.__h.filter((function(t){return!t.__||ut(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],r.__e(n,t.__v)}})),X&&X(t,e)},r.unmount=function(t){Y&&Y(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{st(t)}catch(t){e=t}})),n.__H=void 0,e&&r.__e(e,n.__v))};var it="function"==typeof requestAnimationFrame;function _t(t){var e,n=function(){clearTimeout(r),it&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);it&&(e=requestAnimationFrame(n))}function st(t){var e=V,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),V=e}function ut(t){var e=V;t.__c=t.__(),V=e}function ct(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function lt(){throw new Error("Cycle detected")}var at=Symbol.for("preact-signals");function ft(){if(vt>1)vt--;else{for(var t,e=!1;void 0!==dt;){var n=dt;for(dt=void 0,yt++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&kt(n))try{n.c()}catch(n){e||(t=n,e=!0)}n=r}}if(yt=0,vt--,e)throw t}}var pt,ht=void 0,dt=void 0,vt=0,yt=0,gt=0;function mt(t){if(void 0!==ht){var e=t.n;if(void 0===e||e.t!==ht)return e={i:0,S:t,p:ht.s,n:void 0,t:ht,e:void 0,x:void 0,r:e},void 0!==ht.s&&(ht.s.n=e),ht.s=e,t.n=e,32&ht.f&&t.S(e),e;if(-1===e.i)return e.i=0,void 0!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=ht.s,e.n=void 0,ht.s.n=e,ht.s=e),e}}function bt(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}function wt(t){return new bt(t)}function kt(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function xt(t){for(var e=t.s;void 0!==e;e=e.n){var n=e.S.n;if(void 0!==n&&(e.r=n),e.S.n=e,e.i=-1,void 0===e.n){t.s=e;break}}}function St(t){for(var e=t.s,n=void 0;void 0!==e;){var r=e.p;-1===e.i?(e.S.U(e),void 0!==r&&(r.n=e.n),void 0!==e.n&&(e.n.p=r)):n=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=r}t.s=n}function $t(t){bt.call(this,void 0),this.x=t,this.s=void 0,this.g=gt-1,this.f=4}function Pt(t){return new $t(t)}function Et(t){var e=t.u;if(t.u=void 0,"function"==typeof e){vt++;var n=ht;ht=void 0;try{e()}catch(e){throw t.f&=-2,t.f|=8,Ct(t),e}finally{ht=n,ft()}}}function Ct(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Et(t)}function At(t){if(ht!==this)throw new Error("Out-of-order effect");St(this),ht=t,this.f&=-2,8&this.f&&Ct(this),ft()}function Ot(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Tt(t){var e=new Ot(t);try{e.c()}catch(t){throw e.d(),t}return e.d.bind(e)}function Ht(t,e){r[t]=e.bind(null,r[t]||function(){})}function jt(t){pt&&pt(),pt=t&&t.S()}function Nt(t){var e=this,n=t.data,r=function(t){return nt((function(){return wt(t)}),[])}(n);r.value=n;var o=nt((function(){for(var t=e.__v;t=t.__;)if(t.__c){t.__c.__$f|=4;break}return e.__$u.c=function(){var t;i(o.peek())||3!==(null==(t=e.base)?void 0:t.nodeType)?(e.__$f|=1,e.setState({})):e.base.data=o.peek()},Pt((function(){var t=r.value.value;return 0===t?0:!0===t?"":t||""}))}),[]);return o.value}function Ut(t,e,n,r){var o=e in t&&void 0===t.ownerSVGElement,i=wt(n);return{o:function(t,e){i.value=t,r=e},d:Tt((function(){var n=i.value.value;r[e]!==n&&(r[e]=n,o?t[e]=n:n?t.setAttribute(e,n):t.removeAttribute(e))}))}}bt.prototype.brand=at,bt.prototype.h=function(){return!0},bt.prototype.S=function(t){this.t!==t&&void 0===t.e&&(t.x=this.t,void 0!==this.t&&(this.t.e=t),this.t=t)},bt.prototype.U=function(t){if(void 0!==this.t){var e=t.e,n=t.x;void 0!==e&&(e.x=n,t.e=void 0),void 0!==n&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},bt.prototype.subscribe=function(t){var e=this;return Tt((function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}}))},bt.prototype.valueOf=function(){return this.value},bt.prototype.toString=function(){return this.value+""},bt.prototype.toJSON=function(){return this.value},bt.prototype.peek=function(){return this.v},Object.defineProperty(bt.prototype,"value",{get:function(){var t=mt(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(ht instanceof $t&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){yt>100&<(),this.v=t,this.i++,gt++,vt++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{ft()}}}}),($t.prototype=new bt).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===gt)return!0;if(this.g=gt,this.f|=1,this.i>0&&!kt(this))return this.f&=-2,!0;var t=ht;try{xt(this),ht=this;var e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return ht=t,St(this),this.f&=-2,!0},$t.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;e=e.n)e.S.S(e)}bt.prototype.S.call(this,t)},$t.prototype.U=function(t){if(void 0!==this.t&&(bt.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},$t.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},$t.prototype.peek=function(){if(this.h()||lt(),16&this.f)throw this.v;return this.v},Object.defineProperty($t.prototype,"value",{get:function(){1&this.f&<();var t=mt(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),Ot.prototype.c=function(){var t=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var e=this.x();"function"==typeof e&&(this.u=e)}finally{t()}},Ot.prototype.S=function(){1&this.f&<(),this.f|=1,this.f&=-9,Et(this),xt(this),vt++;var t=ht;return ht=this,At.bind(this,t)},Ot.prototype.N=function(){2&this.f||(this.f|=2,this.o=dt,dt=this)},Ot.prototype.d=function(){this.f|=8,1&this.f||Ct(this)},Nt.displayName="_st",Object.defineProperties(bt.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Nt},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ht("__b",(function(t,e){if("string"==typeof e.type){var n,r=e.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof bt&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)})),Ht("__r",(function(t,e){jt();var n,r=e.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(t){var e;return Tt((function(){e=this})),e.c=function(){r.__$f|=1,r.setState({})},e}())),jt(n),t(e)})),Ht("__e",(function(t,e,n,r){jt(),t(e,n,r)})),Ht("diffed",(function(t,e){var n;if(jt(),"string"==typeof e.type&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var i=n.U;if(i)for(var _ in i){var s=i[_];void 0===s||_ in r||(s.d(),i[_]=void 0)}else n.U=i={};for(var u in r){var c=i[u],l=r[u];void 0===c?(c=Ut(n,u,l,o),i[u]=c):c.o(l,o)}}}t(e)})),Ht("unmount",(function(t,e){if("string"==typeof e.type){var n=e.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var _=e.__c;if(_){var s=_.__$u;s&&(_.__$u=void 0,s.d())}}t(e)})),Ht("__h",(function(t,e,n,r){(r<3||9===r)&&(e.__$f|=2),t(e,n,r)})),b.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if("__source"!==o&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};var Mt=new WeakMap,Lt=new WeakMap,Dt=new WeakMap,Wt=new WeakSet,Ft=new WeakMap,Rt=/^\$/,Vt=!1,qt=function(t){if(!Yt(t))throw new Error("This object can't be observed.");return Lt.has(t)||Lt.set(t,It(t,Jt)),Lt.get(t)},Bt=function(t,e){Vt=!0;var n=t[e];try{Vt=!1}catch(t){}return n},It=function(t,e){var n=new Proxy(t,e);return Wt.add(n),n},zt=function(){throw new Error("Don't mutate the signals directly.")},Gt=function(t){return function(e,n,r){var o;if(Vt)return Reflect.get(e,n,r);var i=t||"$"===n[0];if(!t&&i&&Array.isArray(e)){if("$"===n)return Dt.has(e)||Dt.set(e,It(e,Kt)),Dt.get(e);i="$length"===n}Mt.has(r)||Mt.set(r,new Map);var _=Mt.get(r),s=i?n.replace(Rt,""):n;if(_.has(s)||"function"!=typeof(null==(o=Object.getOwnPropertyDescriptor(e,s))?void 0:o.get)){var u=Reflect.get(e,s,r);if(i&&"function"==typeof u)return;if("symbol"==typeof s&&Qt.has(s))return u;_.has(s)||(Yt(u)&&(Lt.has(u)||Lt.set(u,It(u,Jt)),u=Lt.get(u)),_.set(s,wt(u)))}else _.set(s,Pt((function(){return Reflect.get(e,s,r)})));return i?_.get(s):_.get(s).value}},Jt={get:Gt(!1),set:function(t,e,n,r){Mt.has(r)||Mt.set(r,new Map);var o=Mt.get(r);if("$"===e[0]){n instanceof bt||zt();var i=e.replace(Rt,"");return o.set(i,n),Reflect.set(t,i,n.peek(),r)}var _=n;Yt(n)&&(Lt.has(n)||Lt.set(n,It(n,Jt)),_=Lt.get(n));var s=!(e in t),u=Reflect.set(t,e,n,r);return o.has(e)?o.get(e).value=_:o.set(e,wt(_)),s&&Ft.has(t)&&Ft.get(t).value++,Array.isArray(t)&&o.has("length")&&(o.get("length").value=t.length),u},deleteProperty:function(t,e){"$"===e[0]&&zt();var n=Mt.get(Lt.get(t)),r=Reflect.deleteProperty(t,e);return n&&n.has(e)&&(n.get(e).value=void 0),Ft.has(t)&&Ft.get(t).value++,r},ownKeys:function(t){return Ft.has(t)||Ft.set(t,wt(0)),Ft._=Ft.get(t).value,Reflect.ownKeys(t)}},Kt={get:Gt(!0),set:zt,deleteProperty:zt},Qt=new Set(Object.getOwnPropertyNames(Symbol).map((function(t){return Symbol[t]})).filter((function(t){return"symbol"==typeof t}))),Xt=new Set([Object,Array]),Yt=function(t){return"object"==typeof t&&null!==t&&(!("function"==typeof t.constructor&&t.constructor.name in globalThis&&globalThis[t.constructor.name]===t.constructor)||Xt.has(t.constructor))&&!Wt.has(t)};const Zt=t=>t&&"object"==typeof t&&!Array.isArray(t),te=(t,e)=>{if(Zt(t)&&Zt(e))for(const n in e)Zt(e[n])?(t[n]||Object.assign(t,{[n]:{}}),te(t[n],e[n])):Object.assign(t,{[n]:e[n]})},ee=new Set,ne=(()=>{const t=document.querySelector('script[type="application/json"]#wc-interactivity-store-data');if(!t)return{};try{const{state:e}=JSON.parse(t.textContent);if(Zt(e))return e;throw Error("Parsed state is not an object")}catch(t){console.log(t)}return{}})(),re={state:qt(ne)};"undefined"!=typeof window&&(window.store=re);const oe=({state:t,...e},{afterLoad:n}={})=>{te(re,e),te(ne,t),n&&ee.add(n)};var ie=0;function _e(t,e,n,o,i,_){var s,u,c={};for(u in e)"ref"==u?s=e[u]:c[u]=e[u];var l={type:t,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ie,__i:-1,__u:0,__source:i,__self:_};if("function"==typeof t&&(s=t.defaultProps))for(u in s)void 0===c[u]&&(c[u]=s[u]);return r.vnode&&r.vnode(l),l}Array.isArray;const se=function(t,e){var n={__c:e="__cC"+l++,__:{},Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some((function(t){t.__e=!0,x(t)}))},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}(),ue={},ce={},le=(t,e,{priority:n=10}={})=>{ue[t]=e,ce[t]=n},ae=({type:t,directives:e,props:n})=>{const r=et(null),o=y(t,{...n,ref:r}),i=nt((()=>(({ref:t}={})=>(e,n={})=>{const r="!"===e[0]&&!!(e=e.slice(1)),o=((t,e)=>{let n={...re,context:e};return t.split(".").forEach((t=>n=n[t])),n})(e,n.context),i="function"==typeof o?o({ref:t.current,...re,...n}):o;return r?!i:i})({ref:r})),[]),_=(t=>nt((()=>{const e=Object.entries(t).reduce(((t,[e,n])=>{const r=ce[e];return t[r]||(t[r]={}),t[r][e]=n,t}),{});return Object.entries(e).sort((([t],[e])=>t-e)).map((([,t])=>t))}),[t]))(e);return _e(fe,{directives:_,element:o,evaluate:i,originalProps:n})},fe=({directives:[t,...e],element:r,evaluate:o,originalProps:i})=>{r=function(t,e,r){var o,i,_,s,u=d({},t.props);for(_ in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),e)"key"==_?o=e[_]:"ref"==_?i=e[_]:u[_]=void 0===e[_]&&void 0!==s?s[_]:e[_];return arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),g(t.type,u,o||t.key,i||t.ref,null)}(r);const _=e.length>0?_e(fe,{directives:e,element:r,evaluate:o,originalProps:i}):r,s={...i,children:_},u={directives:t,props:s,element:r,context:se,evaluate:o};for(const e in t){var c;const t=null===(c=ue[e])||void 0===c?void 0:c.call(ue,u);void 0!==t&&(s.children=t)}return s.children},pe=r.vnode;r.vnode=t=>{if(t.props.__directives){const e=t.props,n=e.__directives;n.key&&(t.props.key=n.key.default),delete e.__directives,t.props={type:t.type,directives:n,props:e},t.type=ae}pe&&pe(t)};const he="wc",de=`data-${he}-ignore`,ve=`data-${he}-interactive`,ye=`data-${he}-`,ge=new RegExp(`^data-${he}-([a-z0-9]+(?:-[a-z0-9]+)*)(?:--([a-z0-9_-]+))?$`,"i"),me=new WeakSet;function be(t){const e=document.createTreeWalker(t,205);return function t(n){const{attributes:r,nodeType:o}=n;if(3===o)return[n.data];if(4===o){const t=e.nextSibling();return n.replaceWith(new Text(n.nodeValue)),[n.nodeValue,t]}if(8===o||7===o){const t=e.nextSibling();return n.remove(),[null,t]}const i={},_=[],s={};let u=!1,c=!1,l=!1;for(let t=0;t<r.length;t++){const e=r[t].name;if(e[ye.length]&&e.slice(0,ye.length)===ye)if(e===de)c=!0;else if(e===ve)l=!0;else{u=!0;let n=r[t].value;try{n=JSON.parse(n)}catch(t){}const[,o,i]=ge.exec(e);s[o]=s[o]||{},s[o][i||"default"]=n}else if("ref"===e)continue;i[e]=r[t].value}if(c&&!l)return[y(n.localName,{...i,innerHTML:n.innerHTML,__directives:{ignore:!0}})];l&&me.add(n),u&&(i.__directives=s);let a=e.firstChild();if(a){for(;a;){const[n,r]=t(a);n&&_.push(n),a=r||e.nextSibling()}e.parentNode()}return[y(n.localName,i,_)]}(e.currentNode)}const we=new Map,ke=new WeakMap,xe=t=>(ke.has(t)||ke.set(t,((t,e)=>{const n=(e=[].concat(e))[e.length-1].nextSibling;function r(e,r){t.insertBefore(e,r||n)}return t.__k={nodeType:1,parentNode:t,firstChild:e[0],childNodes:e,insertBefore:r,appendChild:r,removeChild(e){t.removeChild(e)}}})(t.parentElement,t)),ke.get(t)),Se=t=>{const e=new URL(t,window.location);return e.pathname+e.search},$e=t=>{const e={},n=`data-${he}-navigation-id`;return t.querySelectorAll(`[${n}]`).forEach((t=>{const r=t.getAttribute(n);e[r]=be(t)})),{regions:e}},Pe=t=>{t=Se(t),we.has(t)||we.set(t,(async t=>{let e;try{const n=await window.fetch(t);if(200!==n.status)return!1;const r=await n.text();e=(new window.DOMParser).parseFromString(r,"text/html")}catch(t){return!1}return $e(e)})(t))},Ee=t=>{const e=`data-${he}-navigation-id`;document.querySelectorAll(`[${e}]`).forEach((n=>{const r=n.getAttribute(e),o=xe(n);W(t.regions[r],o)}))},Ce=async(t,{replace:e=!1}={})=>{const n=Se(t);Pe(n);const r=await we.get(n);r?(Ee(r),window.history[e?"replaceState":"pushState"]({},"",t)):window.location.assign(t)};window.addEventListener("popstate",(async()=>{const t=Se(window.location),e=we.has(t)&&await we.get(t);e?Ee(e):window.location.reload()}));const Ae=t=>t&&"object"==typeof t&&!Array.isArray(t),Oe=(t,e)=>{for(const n in e)void 0===Bt(t,n)?t[`$${n}`]=e[`$${n}`]:Ae(Bt(t,n))&&Ae(Bt(e,n))&&Oe(t[`$${n}`].peek(),e[`$${n}`].peek())};document.addEventListener("DOMContentLoaded",(async()=>{le("context",(({directives:{context:{default:t}},props:{children:e},context:n})=>{const{Provider:r}=n,o=rt(n);return _e(r,{value:nt((()=>{const e=qt(t);return Oe(e,o),e}),[t,o]),children:e})}),{priority:5}),le("effect",(({directives:{effect:t},context:e,evaluate:n})=>{const r=rt(e);Object.values(t).forEach((t=>{!function(t){const e=et(t);e.current=t,tt((()=>{const t=function(t,e){let n;const r=Tt((function(){return n=this.c.bind(this),this.x=t,this.c=e,t()}));return{flush:n,dispose:r}}((()=>e.current()),(()=>function(t){const e=requestAnimationFrame((()=>{cancelAnimationFrame(e),setTimeout(t)}))}(t.flush)));return t.dispose}),[])}((()=>n(t,{context:r})))}))})),le("layout-init",(({directives:{"layout-init":t},context:e,evaluate:n})=>{const o=rt(e);Object.values(t).forEach((t=>{!function(t,e){var n=Z(R++,4);!r.__s&&ct(n.__H,e)&&(n.__=t,n.i=e,V.__h.push(n))}((()=>n(t,{context:o})),[])}))})),le("on",(({directives:{on:t},element:e,evaluate:n,context:r})=>{const o=rt(r);Object.entries(t).forEach((([t,r])=>{e.props[`on${t}`]=t=>{n(r,{event:t,context:o})}}))})),le("class",(({directives:{class:t},element:e,evaluate:n,context:r})=>{const o=rt(r);Object.keys(t).filter((t=>"default"!==t)).forEach((r=>{const i=n(t[r],{className:r,context:o}),_=e.props.class||"",s=new RegExp(`(^|\\s)${r}(\\s|$)`,"g");i?s.test(_)||(e.props.class=_?`${_} ${r}`:r):e.props.class=_.replace(s," ").trim(),tt((()=>{i?e.ref.current.classList.add(r):e.ref.current.classList.remove(r)}),[])}))})),le("bind",(({directives:{bind:t},element:e,context:n,evaluate:r})=>{const o=rt(n);Object.entries(t).filter((t=>"default"!==t)).forEach((([t,n])=>{const i=r(n,{context:o});e.props[t]=i,tt((()=>{!1===i&&"-"!==t[4]?e.ref.current.removeAttribute(t):e.ref.current.setAttribute(t,!0===i&&"-"!==t[4]?"":i)}),[])}))})),le("navigation-link",(({directives:{"navigation-link":{default:t}},props:{href:e},element:n})=>{tt((()=>{null!=t&&t.prefetch&&Pe(e)})),!1!==t&&(n.props.onclick=async n=>{n.preventDefault(),await Ce(e),"smooth"===(null==t?void 0:t.scroll)?window.scrollTo({top:0,left:0,behavior:"smooth"}):!1!==(null==t?void 0:t.scroll)&&window.scrollTo(0,0)})})),le("show",(({directives:{show:{default:t}},element:e,evaluate:n,context:r})=>{n(t,{context:rt(r)})||(e.props.children=_e("template",{children:e.props.children}))})),le("ignore",(({element:{type:t,props:{innerHTML:e,...n}}})=>_e(t,{dangerouslySetInnerHTML:{__html:nt((()=>e),[])},...n}))),le("text",(({directives:{text:{default:t}},element:e,evaluate:n,context:r})=>{const o=rt(r);e.props.children=n(t,{context:o})})),await(async()=>{document.querySelectorAll(`[data-${he}-interactive]`).forEach((t=>{if(!me.has(t)){const e=xe(t);F(be(t),e)}})),we.set(Se(window.location),Promise.resolve($e(document)))})(),ee.forEach((t=>t(re)))})),(this.wc=this.wc||{}).__experimentalInteractivity=e})(); |