@bikematrix/web-components 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bm_core.es.js +118 -107
- package/dist/bm_core.js +9 -9
- package/dist/bm_core.umd.js +9 -9
- package/dist/types/bm_core.es.d.ts +1 -0
- package/package.json +1 -1
package/dist/bm_core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var BikeMatrix=function(){"use strict";var $i,ve,qc,Jc,jn,Uc,Kc,Ms,_c,ea={},$c=[],o1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ro=Array.isArray;function Mr(n,e){for(var t in e)n[t]=e[t];return n}function ed(n){var e=n.parentNode;e&&e.removeChild(n)}function te(n,e,t){var r,i,o,l={};for(o in e)o=="key"?r=e[o]:o=="ref"?i=e[o]:l[o]=e[o];if(arguments.length>2&&(l.children=arguments.length>3?$i.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)l[o]===void 0&&(l[o]=n.defaultProps[o]);return ta(n,l,r,i,null)}function ta(n,e,t,r,i){var o={type:n,props:e,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++qc,__i:-1,__u:0};return i==null&&ve.vnode!=null&&ve.vnode(o),o}function s1(){return{current:null}}function ie(n){return n.children}function hr(n,e){this.props=n,this.context=e}function oi(n,e){if(e==null)return n.__?oi(n.__,n.__i+1):null;for(var t;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null)return t.__e;return typeof n.type=="function"?oi(n):null}function td(n){var e,t;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null){n.__e=n.__c.base=t.__e;break}return td(n)}}function Ws(n){(!n.__d&&(n.__d=!0)&&jn.push(n)&&!no.__r++||Uc!==ve.debounceRendering)&&((Uc=ve.debounceRendering)||Kc)(no)}function no(){var n,e,t,r,i,o,l,u,c;for(jn.sort(Ms);n=jn.shift();)n.__d&&(e=jn.length,r=void 0,o=(i=(t=n).__v).__e,u=[],c=[],(l=t.__P)&&((r=Mr({},i)).__v=i.__v+1,ve.vnode&&ve.vnode(r),Zs(l,r,i,t.__n,l.ownerSVGElement!==void 0,32&i.__u?[o]:null,u,o??oi(i),!!(32&i.__u),c),r.__v=i.__v,r.__.__k[r.__i]=r,sd(u,r,c),r.__e!=o&&td(r)),jn.length>e&&jn.sort(Ms));no.__r=0}function rd(n,e,t,r,i,o,l,u,c,f,p){var h,b,m,P,x,A=r&&r.__k||$c,z=e.length;for(t.__d=c,l1(t,e,A),c=t.__d,h=0;h<z;h++)(m=t.__k[h])!=null&&typeof m!="boolean"&&typeof m!="function"&&(b=m.__i===-1?ea:A[m.__i]||ea,m.__i=h,Zs(n,m,b,i,o,l,u,c,f,p),P=m.__e,m.ref&&b.ref!=m.ref&&(b.ref&&Ys(b.ref,null,m),p.push(m.ref,m.__c||P,m)),x==null&&P!=null&&(x=P),65536&m.__u||b.__k===m.__k?c=nd(m,c,n):typeof m.type=="function"&&m.__d!==void 0?c=m.__d:P&&(c=P.nextSibling),m.__d=void 0,m.__u&=-196609);t.__d=c,t.__e=x}function l1(n,e,t){var r,i,o,l,u,c=e.length,f=t.length,p=f,h=0;for(n.__k=[],r=0;r<c;r++)l=r+h,(i=n.__k[r]=(i=e[r])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?ta(null,i,null,null,null):ro(i)?ta(ie,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?ta(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=n,i.__b=n.__b+1,u=u1(i,t,l,p),i.__i=u,o=null,u!==-1&&(p--,(o=t[u])&&(o.__u|=131072)),o==null||o.__v===null?(u==-1&&h--,typeof i.type!="function"&&(i.__u|=65536)):u!==l&&(u===l+1?h++:u>l?p>c-l?h+=u-l:h--:u<l?u==l-1&&(h=u-l):h=0,u!==r+h&&(i.__u|=65536))):(o=t[l])&&o.key==null&&o.__e&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=oi(o)),Fs(o,o,!1),t[l]=null,p--);if(p)for(r=0;r<f;r++)(o=t[r])!=null&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=oi(o)),Fs(o,o))}function nd(n,e,t){var r,i;if(typeof n.type=="function"){for(r=n.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=n,e=nd(r[i],e,t));return e}n.__e!=e&&(t.insertBefore(n.__e,e||null),e=n.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Wr(n,e){return e=e||[],n==null||typeof n=="boolean"||(ro(n)?n.some(function(t){Wr(t,e)}):e.push(n)),e}function u1(n,e,t,r){var i=n.key,o=n.type,l=t-1,u=t+1,c=e[t];if(c===null||c&&i==c.key&&o===c.type&&!(131072&c.__u))return t;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;l>=0||u<e.length;){if(l>=0){if((c=e[l])&&!(131072&c.__u)&&i==c.key&&o===c.type)return l;l--}if(u<e.length){if((c=e[u])&&!(131072&c.__u)&&i==c.key&&o===c.type)return u;u++}}return-1}function id(n,e,t){e[0]==="-"?n.setProperty(e,t??""):n[e]=t==null?"":typeof t!="number"||o1.test(e)?t:t+"px"}function io(n,e,t,r,i){var o;e:if(e==="style")if(typeof t=="string")n.style.cssText=t;else{if(typeof r=="string"&&(n.style.cssText=r=""),r)for(e in r)t&&e in t||id(n.style,e,"");if(t)for(e in t)r&&t[e]===r[e]||id(n.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?r?t.u=r.u:(t.u=Date.now(),n.addEventListener(e,o?od:ad,o)):n.removeEventListener(e,o?od:ad,o);else{if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in n)try{n[e]=t??"";break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!=="-"?n.removeAttribute(e):n.setAttribute(e,t))}}function ad(n){if(this.l){var e=this.l[n.type+!1];if(n.t){if(n.t<=e.u)return}else n.t=Date.now();return e(ve.event?ve.event(n):n)}}function od(n){if(this.l)return this.l[n.type+!0](ve.event?ve.event(n):n)}function Zs(n,e,t,r,i,o,l,u,c,f){var p,h,b,m,P,x,A,z,w,k,D,O,L,B,T,X=e.type;if(e.constructor!==void 0)return null;128&t.__u&&(c=!!(32&t.__u),o=[u=e.__e=t.__e]),(p=ve.__b)&&p(e);e:if(typeof X=="function")try{if(z=e.props,w=(p=X.contextType)&&r[p.__c],k=p?w?w.props.value:p.__:r,t.__c?A=(h=e.__c=t.__c).__=h.__E:("prototype"in X&&X.prototype.render?e.__c=h=new X(z,k):(e.__c=h=new hr(z,k),h.constructor=X,h.render=d1),w&&w.sub(h),h.props=z,h.state||(h.state={}),h.context=k,h.__n=r,b=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),X.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Mr({},h.__s)),Mr(h.__s,X.getDerivedStateFromProps(z,h.__s))),m=h.props,P=h.state,h.__v=e,b)X.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(X.getDerivedStateFromProps==null&&z!==m&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(z,k),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(z,h.__s,k)===!1||e.__v===t.__v)){for(e.__v!==t.__v&&(h.props=z,h.state=h.__s,h.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(W){W&&(W.__=e)}),D=0;D<h._sb.length;D++)h.__h.push(h._sb[D]);h._sb=[],h.__h.length&&l.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(z,h.__s,k),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(m,P,x)})}if(h.context=k,h.props=z,h.__P=n,h.__e=!1,O=ve.__r,L=0,"prototype"in X&&X.prototype.render){for(h.state=h.__s,h.__d=!1,O&&O(e),p=h.render(h.props,h.state,h.context),B=0;B<h._sb.length;B++)h.__h.push(h._sb[B]);h._sb=[]}else do h.__d=!1,O&&O(e),p=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++L<25);h.state=h.__s,h.getChildContext!=null&&(r=Mr(Mr({},r),h.getChildContext())),b||h.getSnapshotBeforeUpdate==null||(x=h.getSnapshotBeforeUpdate(m,P)),rd(n,ro(T=p!=null&&p.type===ie&&p.key==null?p.props.children:p)?T:[T],e,t,r,i,o,l,u,c,f),h.base=e.__e,e.__u&=-161,h.__h.length&&l.push(h),A&&(h.__E=h.__=null)}catch(W){e.__v=null,c||o!=null?(e.__e=u,e.__u|=c?160:32,o[o.indexOf(u)]=null):(e.__e=t.__e,e.__k=t.__k),ve.__e(W,e,t)}else o==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=c1(t.__e,e,t,r,i,o,l,c,f);(p=ve.diffed)&&p(e)}function sd(n,e,t){e.__d=void 0;for(var r=0;r<t.length;r++)Ys(t[r],t[++r],t[++r]);ve.__c&&ve.__c(e,n),n.some(function(i){try{n=i.__h,i.__h=[],n.some(function(o){o.call(i)})}catch(o){ve.__e(o,i.__v)}})}function c1(n,e,t,r,i,o,l,u,c){var f,p,h,b,m,P,x,A=t.props,z=e.props,w=e.type;if(w==="svg"&&(i=!0),o!=null){for(f=0;f<o.length;f++)if((m=o[f])&&"setAttribute"in m==!!w&&(w?m.localName===w:m.nodeType===3)){n=m,o[f]=null;break}}if(n==null){if(w===null)return document.createTextNode(z);n=i?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,z.is&&z),o=null,u=!1}if(w===null)A===z||u&&n.data===z||(n.data=z);else{if(o=o&&$i.call(n.childNodes),A=t.props||ea,!u&&o!=null)for(A={},f=0;f<n.attributes.length;f++)A[(m=n.attributes[f]).name]=m.value;for(f in A)m=A[f],f=="children"||(f=="dangerouslySetInnerHTML"?h=m:f==="key"||f in z||io(n,f,null,m,i));for(f in z)m=z[f],f=="children"?b=m:f=="dangerouslySetInnerHTML"?p=m:f=="value"?P=m:f=="checked"?x=m:f==="key"||u&&typeof m!="function"||A[f]===m||io(n,f,m,A[f],i);if(p)u||h&&(p.__html===h.__html||p.__html===n.innerHTML)||(n.innerHTML=p.__html),e.__k=[];else if(h&&(n.innerHTML=""),rd(n,ro(b)?b:[b],e,t,r,i&&w!=="foreignObject",o,l,o?o[0]:t.__k&&oi(t,0),u,c),o!=null)for(f=o.length;f--;)o[f]!=null&&ed(o[f]);u||(f="value",P!==void 0&&(P!==n[f]||w==="progress"&&!P||w==="option"&&P!==A[f])&&io(n,f,P,A[f],!1),f="checked",x!==void 0&&x!==n[f]&&io(n,f,x,A[f],!1))}return n}function Ys(n,e,t){try{typeof n=="function"?n(e):n.current=e}catch(r){ve.__e(r,t)}}function Fs(n,e,t){var r,i;if(ve.unmount&&ve.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||Ys(r,null,e)),(r=n.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){ve.__e(o,e)}r.base=r.__P=null,n.__c=void 0}if(r=n.__k)for(i=0;i<r.length;i++)r[i]&&Fs(r[i],e,t||typeof n.type!="function");t||n.__e==null||ed(n.__e),n.__=n.__e=n.__d=void 0}function d1(n,e,t){return this.constructor(n,t)}function un(n,e,t){var r,i,o,l;ve.__&&ve.__(n,e),i=(r=typeof t=="function")?null:t&&t.__k||e.__k,o=[],l=[],Zs(e,n=(!r&&t||e).__k=te(ie,null,[n]),i||ea,ea,e.ownerSVGElement!==void 0,!r&&t?[t]:i?null:e.firstChild?$i.call(e.childNodes):null,o,!r&&t?t:i?i.__e:e.firstChild,r,l),sd(o,n,l)}function Ns(n,e){un(n,e,Ns)}function Rs(n,e,t){var r,i,o,l,u=Mr({},n.props);for(o in n.type&&n.type.defaultProps&&(l=n.type.defaultProps),e)o=="key"?r=e[o]:o=="ref"?i=e[o]:u[o]=e[o]===void 0&&l!==void 0?l[o]:e[o];return arguments.length>2&&(u.children=arguments.length>3?$i.call(arguments,2):t),ta(n.type,u,r||n.key,i||n.ref,null)}function ra(n,e){var t={__c:e="__cC"+_c++,__:n,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,o;return this.getChildContext||(i=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&i.some(function(u){u.__e=!0,Ws(u)})},this.sub=function(l){i.push(l);var u=l.componentWillUnmount;l.componentWillUnmount=function(){i.splice(i.indexOf(l),1),u&&u.call(l)}}),r.children}};return t.Provider.__=t.Consumer.contextType=t}$i=$c.slice,ve={__e:function(n,e,t,r){for(var i,o,l;e=e.__;)if((i=e.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(n)),l=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(n,r||{}),l=i.__d),l)return i.__E=i}catch(u){n=u}throw n}},qc=0,Jc=function(n){return n!=null&&n.constructor==null},hr.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Mr({},this.state),typeof n=="function"&&(n=n(Mr({},t),this.props)),n&&Mr(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),Ws(this))},hr.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),Ws(this))},hr.prototype.render=ie,jn=[],Kc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ms=function(n,e){return n.__v.__b-e.__v.__b},no.__r=0,_c=0;function Gs(){return(Gs=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(this,arguments)}var f1=["context","children"];function p1(n){this.getChildContext=function(){return n.context};var e=n.children,t=function(r,i){if(r==null)return{};var o,l,u={},c=Object.keys(r);for(l=0;l<c.length;l++)i.indexOf(o=c[l])>=0||(u[o]=r[o]);return u}(n,f1);return Rs(e,t)}function h1(){var n=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(n),this._vdom=te(p1,Gs({},this._props,{context:n.detail.context}),function e(t,r){if(t.nodeType===3)return t.data;if(t.nodeType!==1)return null;var i=[],o={},l=0,u=t.attributes,c=t.childNodes;for(l=u.length;l--;)u[l].name!=="slot"&&(o[u[l].name]=u[l].value,o[ld(u[l].name)]=u[l].value);for(l=c.length;l--;){var f=e(c[l],null),p=c[l].slot;p?o[p]=te(ud,{name:p},f):i[l]=f}var h=r?te(ud,null,i):i;return te(r||t.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ns:un)(this._vdom,this._root)}function ld(n){return n.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():""})}function v1(n,e,t){if(this._vdom){var r={};r[n]=t=t??void 0,r[ld(n)]=t,this._vdom=Rs(this._vdom,r),un(this._vdom,this._root)}}function g1(){un(this._vdom=null,this._root)}function ud(n,e){var t=this;return te("slot",Gs({},n,{ref:function(r){r?(t.ref=r,t._listener||(t._listener=function(i){i.stopPropagation(),i.detail.context=e},r.addEventListener("_preact",t._listener))):t.ref.removeEventListener("_preact",t._listener)}}))}function b1(n,e,t,r){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=n,o._root=r&&r.shadow?o.attachShadow({mode:r.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=h1,i.prototype.attributeChangedCallback=v1,i.prototype.disconnectedCallback=g1,t=t||n.observedAttributes||Object.keys(n.propTypes||{}),i.observedAttributes=t,t.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(l){this._vdom?this.attributeChangedCallback(o,null,l):(this._props||(this._props={}),this._props[o]=l,this.connectedCallback());var u=typeof l;l!=null&&u!=="string"&&u!=="boolean"&&u!=="number"||this.setAttribute(o,l)}})}),customElements.define(e||n.tagName||n.displayName||n.name,i)}var cn,We,Qs,cd,si=0,dd=[],ao=[],Qe=ve,fd=Qe.__b,pd=Qe.__r,hd=Qe.diffed,vd=Qe.__c,gd=Qe.unmount,bd=Qe.__;function li(n,e){Qe.__h&&Qe.__h(We,n,si||e),si=0;var t=We.__H||(We.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({__V:ao}),t.__[n]}function U(n){return si=1,md(xd,n)}function md(n,e,t){var r=li(cn++,2);if(r.t=n,!r.__c&&(r.__=[t?t(e):xd(void 0,e),function(u){var c=r.__N?r.__N[0]:r.__[0],f=r.t(c,u);c!==f&&(r.__N=[f,r.__[1]],r.__c.setState({}))}],r.__c=We,!We.u)){var i=function(u,c,f){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(b){return!!b.__c});if(p.every(function(b){return!b.__N}))return!o||o.call(this,u,c,f);var h=!1;return p.forEach(function(b){if(b.__N){var m=b.__[0];b.__=b.__N,b.__N=void 0,m!==b.__[0]&&(h=!0)}}),!(!h&&r.__c.props===u)&&(!o||o.call(this,u,c,f))};We.u=!0;var o=We.shouldComponentUpdate,l=We.componentWillUpdate;We.componentWillUpdate=function(u,c,f){if(this.__e){var p=o;o=void 0,i(u,c,f),o=p}l&&l.call(this,u,c,f)},We.shouldComponentUpdate=i}return r.__N||r.__}function se(n,e){var t=li(cn++,3);!Qe.__s&&Js(t.__H,e)&&(t.__=n,t.i=e,We.__H.__h.push(t))}function ui(n,e){var t=li(cn++,4);!Qe.__s&&Js(t.__H,e)&&(t.__=n,t.i=e,We.__h.push(t))}function ye(n){return si=5,zr(function(){return{current:n}},[])}function m1(n,e,t){si=6,ui(function(){return typeof n=="function"?(n(e()),function(){return n(null)}):n?(n.current=e(),function(){return n.current=null}):void 0},t==null?t:t.concat(n))}function zr(n,e){var t=li(cn++,7);return Js(t.__H,e)?(t.__V=n(),t.i=e,t.__h=n,t.__V):t.__}function yd(n,e){return si=8,zr(function(){return n},e)}function Vs(n){var e=We.context[n.__c],t=li(cn++,9);return t.c=n,e?(t.__==null&&(t.__=!0,e.sub(We)),e.props.value):n.__}function y1(n,e){Qe.useDebugValue&&Qe.useDebugValue(e?e(n):n)}function w1(){var n=li(cn++,11);if(!n.__){for(var e=We.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var t=e.__m||(e.__m=[0,0]);n.__="P"+t[0]+"-"+t[1]++}return n.__}function x1(){for(var n;n=dd.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(oo),n.__H.__h.forEach(qs),n.__H.__h=[]}catch(e){n.__H.__h=[],Qe.__e(e,n.__v)}}Qe.__b=function(n){We=null,fd&&fd(n)},Qe.__=function(n,e){n&&e.__k&&e.__k.__m&&(n.__m=e.__k.__m),bd&&bd(n,e)},Qe.__r=function(n){pd&&pd(n),cn=0;var e=(We=n.__c).__H;e&&(Qs===We?(e.__h=[],We.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=ao,t.__N=t.i=void 0})):(e.__h.forEach(oo),e.__h.forEach(qs),e.__h=[],cn=0)),Qs=We},Qe.diffed=function(n){hd&&hd(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(dd.push(e)!==1&&cd===Qe.requestAnimationFrame||((cd=Qe.requestAnimationFrame)||P1)(x1)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==ao&&(t.__=t.__V),t.i=void 0,t.__V=ao})),Qs=We=null},Qe.__c=function(n,e){e.some(function(t){try{t.__h.forEach(oo),t.__h=t.__h.filter(function(r){return!r.__||qs(r)})}catch(r){e.some(function(i){i.__h&&(i.__h=[])}),e=[],Qe.__e(r,t.__v)}}),vd&&vd(n,e)},Qe.unmount=function(n){gd&&gd(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(r){try{oo(r)}catch(i){e=i}}),t.__H=void 0,e&&Qe.__e(e,t.__v))};var wd=typeof requestAnimationFrame=="function";function P1(n){var e,t=function(){clearTimeout(r),wd&&cancelAnimationFrame(e),setTimeout(n)},r=setTimeout(t,100);wd&&(e=requestAnimationFrame(t))}function oo(n){var e=We,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),We=e}function qs(n){var e=We;n.__c=n.__(),We=e}function Js(n,e){return!n||n.length!==e.length||e.some(function(t,r){return t!==n[r]})}function xd(n,e){return typeof e=="function"?e(n):e}function Pd(n,e){for(var t in e)n[t]=e[t];return n}function Us(n,e){for(var t in n)if(t!=="__source"&&!(t in e))return!0;for(var r in e)if(r!=="__source"&&n[r]!==e[r])return!0;return!1}function Ks(n,e){this.props=n,this.context=e}function k1(n,e){function t(i){var o=this.props.ref,l=o==i.ref;return!l&&o&&(o.call?o(null):o.current=null),e?!e(this.props,i)||!l:Us(this.props,i)}function r(i){return this.shouldComponentUpdate=t,te(n,i)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ks.prototype=new hr).isPureReactComponent=!0,Ks.prototype.shouldComponentUpdate=function(n,e){return Us(this.props,n)||Us(this.state,e)};var kd=ve.__b;ve.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),kd&&kd(n)};var z1=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function _s(n){function e(t){var r=Pd({},t);return delete r.ref,n(r,t.ref||null)}return e.$$typeof=z1,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}var zd=function(n,e){return n==null?null:Wr(Wr(n).map(e))},C1={map:zd,forEach:zd,count:function(n){return n?Wr(n).length:0},only:function(n){var e=Wr(n);if(e.length!==1)throw"Children.only";return e[0]},toArray:Wr},A1=ve.__e;ve.__e=function(n,e,t,r){if(n.then){for(var i,o=e;o=o.__;)if((i=o.__c)&&i.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),i.__c(n,e)}A1(n,e,t,r)};var Cd=ve.unmount;function Ad(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),n.__c.__H=null),(n=Pd({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map(function(r){return Ad(r,e,t)})),n}function Hd(n,e,t){return n&&t&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(r){return Hd(r,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=t)),n}function so(){this.__u=0,this.t=null,this.__b=null}function Dd(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function H1(n){var e,t,r;function i(o){if(e||(e=n()).then(function(l){t=l.default||l},function(l){r=l}),r)throw r;if(!t)throw e;return te(t,o)}return i.displayName="Lazy",i.__f=!0,i}function na(){this.u=null,this.o=null}ve.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&32&n.__u&&(n.type=null),Cd&&Cd(n)},(so.prototype=new hr).__c=function(n,e){var t=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(t);var i=Dd(r.__v),o=!1,l=function(){o||(o=!0,t.__R=null,i?i(u):u())};t.__R=l;var u=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Hd(c,c.__c.__P,c.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(l,l)},so.prototype.componentWillUnmount=function(){this.t=[]},so.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ad(this.__b,t,r.__O=r.__P)}this.__b=null}var i=e.__a&&te(ie,null,n.fallback);return i&&(i.__u&=-33),[te(ie,null,e.__a?null:n.children),i]};var Od=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function D1(n){return this.getChildContext=function(){return n.context},n.children}function O1(n){var e=this,t=n.i;e.componentWillUnmount=function(){un(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),un(te(D1,{context:e.context},n.__v),e.l)}function X1(n,e){var t=te(O1,{__v:n,i:e});return t.containerInfo=e,t}(na.prototype=new hr).__a=function(n){var e=this,t=Dd(e.__v),r=e.o.get(n);return r[0]++,function(i){var o=function(){e.props.revealOrder?(r.push(i),Od(e,n,r)):i()};t?t(o):o()}},na.prototype.render=function(n){this.u=null,this.o=new Map;var e=Wr(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},na.prototype.componentDidUpdate=na.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,t){Od(n,t,e)})};var Xd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,E1=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,L1=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,B1=/[A-Z0-9]/g,j1=typeof document<"u",T1=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(n)};function I1(n,e,t){return e.__k==null&&(e.textContent=""),un(n,e),typeof t=="function"&&t(),n?n.__c:null}function S1(n,e,t){return Ns(n,e),typeof t=="function"&&t(),n?n.__c:null}hr.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(hr.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var Ed=ve.event;function M1(){}function W1(){return this.cancelBubble}function Z1(){return this.defaultPrevented}ve.event=function(n){return Ed&&(n=Ed(n)),n.persist=M1,n.isPropagationStopped=W1,n.isDefaultPrevented=Z1,n.nativeEvent=n};var $s,Y1={enumerable:!1,configurable:!0,get:function(){return this.class}},Ld=ve.vnode;ve.vnode=function(n){typeof n.type=="string"&&function(e){var t=e.props,r=e.type,i={};for(var o in t){var l=t[o];if(!(o==="value"&&"defaultValue"in t&&l==null||j1&&o==="children"&&r==="noscript"||o==="class"||o==="className")){var u=o.toLowerCase();o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&l===!0?l="":u==="translate"&&l==="no"?l=!1:u==="ondoubleclick"?o="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||T1(t.type)?u==="onfocus"?o="onfocusin":u==="onblur"?o="onfocusout":L1.test(o)?o=u:r.indexOf("-")===-1&&E1.test(o)?o=o.replace(B1,"-$&").toLowerCase():l===null&&(l=void 0):u=o="oninput",u==="oninput"&&i[o=u]&&(o="oninputCapture"),i[o]=l}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Wr(t.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=Wr(t.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",Y1)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(n),n.$$typeof=Xd,Ld&&Ld(n)};var Bd=ve.__r;ve.__r=function(n){Bd&&Bd(n),$s=n.__c};var jd=ve.diffed;ve.diffed=function(n){jd&&jd(n);var e=n.props,t=n.__e;t!=null&&n.type==="textarea"&&"value"in e&&e.value!==t.value&&(t.value=e.value==null?"":e.value),$s=null};var F1={ReactCurrentDispatcher:{current:{readContext:function(n){return $s.__n[n.__c].props.value}}}};function N1(n){return te.bind(null,n)}function lo(n){return!!n&&n.$$typeof===Xd}function R1(n){return lo(n)&&n.type===ie}function G1(n){return lo(n)?Rs.apply(null,arguments):n}function Q1(n){return!!n.__k&&(un(null,n),!0)}function V1(n){return n&&(n.base||n.nodeType===1&&n)||null}var q1=function(n,e){return n(e)},J1=function(n,e){return n(e)},U1=ie;function Td(n){n()}function K1(n){return n}function _1(){return[!1,Td]}var $1=ui,eg=lo;function tg(n,e){var t=e(),r=U({h:{__:t,v:e}}),i=r[0].h,o=r[1];return ui(function(){i.__=t,i.v=e,el(i)&&o({h:i})},[n,t,e]),se(function(){return el(i)&&o({h:i}),n(function(){el(i)&&o({h:i})})},[n]),t}function el(n){var e,t,r=n.v,i=n.__;try{var o=r();return!((e=i)===(t=o)&&(e!==0||1/e==1/t)||e!=e&&t!=t)}catch{return!0}}var it={useState:U,useId:w1,useReducer:md,useEffect:se,useLayoutEffect:ui,useInsertionEffect:$1,useTransition:_1,useDeferredValue:K1,useSyncExternalStore:tg,startTransition:Td,useRef:ye,useImperativeHandle:m1,useMemo:zr,useCallback:yd,useContext:Vs,useDebugValue:y1,version:"17.0.2",Children:C1,render:I1,hydrate:S1,unmountComponentAtNode:Q1,createPortal:X1,createElement:te,createContext:ra,createFactory:N1,cloneElement:G1,createRef:s1,Fragment:ie,isValidElement:lo,isElement:eg,isFragment:R1,findDOMNode:V1,Component:hr,PureComponent:Ks,memo:k1,forwardRef:_s,flushSync:J1,unstable_batchedUpdates:q1,StrictMode:U1,Suspense:so,SuspenseList:na,lazy:H1,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F1},dn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}const ng=(...n)=>{console!=null&&console.warn&&(Tn(n[0])&&(n[0]=`react-i18next:: ${n[0]}`),console.warn(...n))},Id={},tl=(...n)=>{Tn(n[0])&&Id[n[0]]||(Tn(n[0])&&(Id[n[0]]=new Date),ng(...n))},Sd=(n,e)=>()=>{if(n.isInitialized)e();else{const t=()=>{setTimeout(()=>{n.off("initialized",t)},0),e()};n.on("initialized",t)}},Md=(n,e,t)=>{n.loadNamespaces(e,Sd(n,t))},Wd=(n,e,t,r)=>{Tn(t)&&(t=[t]),t.forEach(i=>{n.options.ns.indexOf(i)<0&&n.options.ns.push(i)}),n.loadLanguages(e,Sd(n,r))},ig=(n,e,t={})=>!e.languages||!e.languages.length?(tl("i18n.languages were undefined or empty",e.languages),!0):e.hasLoadedNamespace(n,{lng:t.lng,precheck:(r,i)=>{var o;if(((o=t.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,n))return!1}}),Tn=n=>typeof n=="string",ag=n=>typeof n=="object"&&n!==null,og=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,sg={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},lg=n=>sg[n];let rl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:n=>n.replace(og,lg)};const ug=(n={})=>{rl={...rl,...n}},cg=()=>rl;let Zd;const dg=n=>{Zd=n},ci=()=>Zd,fg={type:"3rdParty",init(n){ug(n.options.react),dg(n)}},pg=ra();class hg{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const vg=(n,e)=>{const t=ye();return se(()=>{t.current=e?t.current:n},[n,e]),t.current},Yd=(n,e,t,r)=>n.getFixedT(e,t,r),gg=(n,e,t,r)=>yd(Yd(n,e,t,r),[n,e,t,r]),De=(n,e={})=>{var D,O,L,B;const{i18n:t}=e,{i18n:r,defaultNS:i}=Vs(pg)||{},o=t||r||ci();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new hg),!o){tl("You will need to pass in an i18next instance by using initReactI18next");const T=(W,M)=>Tn(M)?M:ag(M)&&Tn(M.defaultValue)?M.defaultValue:Array.isArray(W)?W[W.length-1]:W,X=[T,{},!1];return X.t=T,X.i18n={},X.ready=!1,X}(D=o.options.react)!=null&&D.wait&&tl("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...cg(),...o.options.react,...e},{useSuspense:u,keyPrefix:c}=l;let f=n||i||((O=o.options)==null?void 0:O.defaultNS);f=Tn(f)?[f]:f||["translation"],(B=(L=o.reportNamespaces).addUsedNamespaces)==null||B.call(L,f);const p=(o.isInitialized||o.initializedStoreOnce)&&f.every(T=>ig(T,o,l)),h=gg(o,e.lng||null,l.nsMode==="fallback"?f:f[0],c),b=()=>h,m=()=>Yd(o,e.lng||null,l.nsMode==="fallback"?f:f[0],c),[P,x]=U(b);let A=f.join();e.lng&&(A=`${e.lng}${A}`);const z=vg(A),w=ye(!0);se(()=>{const{bindI18n:T,bindI18nStore:X}=l;w.current=!0,!p&&!u&&(e.lng?Wd(o,e.lng,f,()=>{w.current&&x(m)}):Md(o,f,()=>{w.current&&x(m)})),p&&z&&z!==A&&w.current&&x(m);const W=()=>{w.current&&x(m)};return T&&(o==null||o.on(T,W)),X&&(o==null||o.store.on(X,W)),()=>{w.current=!1,o&&(T==null||T.split(" ").forEach(M=>o.off(M,W))),X&&o&&X.split(" ").forEach(M=>o.store.off(M,W))}},[o,A]),se(()=>{w.current&&p&&x(b)},[o,c,p]);const k=[P,o,p];if(k.t=P,k.i18n=o,k.ready=p,p||!p&&!u)return k;throw new Promise(T=>{e.lng?Wd(o,e.lng,f,()=>T()):Md(o,f,()=>T())})};var bg=Symbol.for("preact-signals");function uo(){if(fn>1)fn--;else{for(var n,e=!1;ia!==void 0;){var t=ia;for(ia=void 0,nl++;t!==void 0;){var r=t.o;if(t.o=void 0,t.f&=-3,!(8&t.f)&&Nd(t))try{t.c()}catch(i){e||(n=i,e=!0)}t=r}}if(nl=0,fn--,e)throw n}}function mg(n){if(fn>0)return n();fn++;try{return n()}finally{uo()}}var Be=void 0,ia=void 0,fn=0,nl=0,co=0;function Fd(n){if(Be!==void 0){var e=n.n;if(e===void 0||e.t!==Be)return e={i:0,S:n,p:Be.s,n:void 0,t:Be,e:void 0,x:void 0,r:e},Be.s!==void 0&&(Be.s.n=e),Be.s=e,n.n=e,32&Be.f&&n.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Be.s,e.n=void 0,Be.s.n=e,Be.s=e),e}}function ct(n){this.v=n,this.i=0,this.n=void 0,this.t=void 0}ct.prototype.brand=bg,ct.prototype.h=function(){return!0},ct.prototype.S=function(n){this.t!==n&&n.e===void 0&&(n.x=this.t,this.t!==void 0&&(this.t.e=n),this.t=n)},ct.prototype.U=function(n){if(this.t!==void 0){var e=n.e,t=n.x;e!==void 0&&(e.x=t,n.e=void 0),t!==void 0&&(t.e=e,n.x=void 0),n===this.t&&(this.t=t)}},ct.prototype.subscribe=function(n){var e=this;return al(function(){var t=e.value,r=Be;Be=void 0;try{n(t)}finally{Be=r}})},ct.prototype.valueOf=function(){return this.value},ct.prototype.toString=function(){return this.value+""},ct.prototype.toJSON=function(){return this.value},ct.prototype.peek=function(){var n=Be;Be=void 0;try{return this.value}finally{Be=n}},Object.defineProperty(ct.prototype,"value",{get:function(){var n=Fd(this);return n!==void 0&&(n.i=this.i),this.v},set:function(n){if(n!==this.v){if(nl>100)throw new Error("Cycle detected");this.v=n,this.i++,co++,fn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{uo()}}}});function wt(n){return new ct(n)}function Nd(n){for(var e=n.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Rd(n){for(var e=n.s;e!==void 0;e=e.n){var t=e.S.n;if(t!==void 0&&(e.r=t),e.S.n=e,e.i=-1,e.n===void 0){n.s=e;break}}}function Gd(n){for(var e=n.s,t=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):t=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}n.s=t}function di(n){ct.call(this,void 0),this.x=n,this.s=void 0,this.g=co-1,this.f=4}(di.prototype=new ct).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===co))return!0;if(this.g=co,this.f|=1,this.i>0&&!Nd(this))return this.f&=-2,!0;var n=Be;try{Rd(this),Be=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return Be=n,Gd(this),this.f&=-2,!0},di.prototype.S=function(n){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}ct.prototype.S.call(this,n)},di.prototype.U=function(n){if(this.t!==void 0&&(ct.prototype.U.call(this,n),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},di.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var n=this.t;n!==void 0;n=n.x)n.t.N()}},Object.defineProperty(di.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var n=Fd(this);if(this.h(),n!==void 0&&(n.i=this.i),16&this.f)throw this.v;return this.v}});function yg(n){return new di(n)}function Qd(n){var e=n.u;if(n.u=void 0,typeof e=="function"){fn++;var t=Be;Be=void 0;try{e()}catch(r){throw n.f&=-2,n.f|=8,il(n),r}finally{Be=t,uo()}}}function il(n){for(var e=n.s;e!==void 0;e=e.n)e.S.U(e);n.x=void 0,n.s=void 0,Qd(n)}function wg(n){if(Be!==this)throw new Error("Out-of-order effect");Gd(this),Be=n,this.f&=-2,8&this.f&&il(this),uo()}function aa(n){this.x=n,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}aa.prototype.c=function(){var n=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{n()}},aa.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Qd(this),Rd(this),fn++;var n=Be;return Be=this,wg.bind(this,n)},aa.prototype.N=function(){2&this.f||(this.f|=2,this.o=ia,ia=this)},aa.prototype.d=function(){this.f|=8,1&this.f||il(this)};function al(n){var e=new aa(n);try{e.c()}catch(t){throw e.d(),t}return e.d.bind(e)}var ol;function fi(n,e){ve[n]=e.bind(null,ve[n]||function(){})}function fo(n){ol&&ol(),ol=n&&n.S()}function Vd(n){var e=this,t=n.data,r=Pg(t);r.value=t;var i=zr(function(){for(var o=e.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return e.__$u.c=function(){var l,u=e.__$u.S(),c=i.value;u(),Jc(c)||((l=e.base)==null?void 0:l.nodeType)!==3?(e.__$f|=1,e.setState({})):e.base.data=c},yg(function(){var l=r.value.value;return l===0?0:l===!0?"":l||""})},[]);return i.value}Vd.displayName="_st",Object.defineProperties(ct.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Vd},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),fi("__b",function(n,e){if(typeof e.type=="string"){var t,r=e.props;for(var i in r)if(i!=="children"){var o=r[i];o instanceof ct&&(t||(e.__np=t={}),t[i]=o,r[i]=o.peek())}}n(e)}),fi("__r",function(n,e){fo();var t,r=e.__c;r&&(r.__$f&=-2,(t=r.__$u)===void 0&&(r.__$u=t=function(i){var o;return al(function(){o=this}),o.c=function(){r.__$f|=1,r.setState({})},o}())),fo(t),n(e)}),fi("__e",function(n,e,t,r){fo(),n(e,t,r)}),fi("diffed",function(n,e){fo();var t;if(typeof e.type=="string"&&(t=e.__e)){var r=e.__np,i=e.props;if(r){var o=t.U;if(o)for(var l in o){var u=o[l];u!==void 0&&!(l in r)&&(u.d(),o[l]=void 0)}else t.U=o={};for(var c in r){var f=o[c],p=r[c];f===void 0?(f=xg(t,c,p,i),o[c]=f):f.o(p,i)}}}n(e)});function xg(n,e,t,r){var i=e in n&&n.ownerSVGElement===void 0,o=wt(t);return{o:function(l,u){o.value=l,r=u},d:al(function(){var l=o.value.value;r[e]!==l&&(r[e]=l,i?n[e]=l:l?n.setAttribute(e,l):n.removeAttribute(e))})}}fi("unmount",function(n,e){if(typeof e.type=="string"){var t=e.__e;if(t){var r=t.U;if(r){t.U=void 0;for(var i in r){var o=r[i];o&&o.d()}}}}else{var l=e.__c;if(l){var u=l.__$u;u&&(l.__$u=void 0,u.d())}}n(e)}),fi("__h",function(n,e,t,r){(r<3||r===9)&&(e.__$f|=2),n(e,t,r)}),hr.prototype.shouldComponentUpdate=function(n,e){var t=this.__$u;if(!(t&&t.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var i in n)if(i!=="__source"&&n[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in n))return!0;return!1};function Pg(n){return zr(function(){return wt(n)},[])}const sl=wt(!1),xe=wt(null),pi=wt([]),tr=wt(!1),hi=wt([]),vr=wt(!1),po=wt(null),ht=wt(null),ho=wt(!1),vo=wt(!0),oa=wt(!1),kg=()=>{mg(()=>{xe.value=null,pi.value=[],tr.value=!1,hi.value=[],vr.value=!1,po.value=null,ht.value=null,ho.value=!1,vo.value=!0,oa.value=!1})},ll="bm_currentBike",zg="v2",Cg="https://cdn.bikematrix.io",qd={isShopify:!1,skuField:"sku",apiUrl:"https://api.bikematrix.io/proxy/v3/",apiKey:"",apiToken:"",currentCollectionHandle:"",categories:[],collections:[],pageType:"index",showHomePageCollection:!1,showSearchPageCollection:!1,designMode:!1,bikeSelectorBrands:"",productsCollections:{},isHomePage:!1,isSearchPage:!1,products:{},collectionUrl:"",compatiblityListCurrentPage:0,showCompatibleList:!0,sku:"",productCollections:[],logLevel:"none",virtualWorkshop:!0,internalLink:""},In=function(n){return new URL(n,Cg).toString()};function Jd(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var i=n.length;for(e=0;e<i;e++)n[e]&&(t=Jd(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function Ag(){for(var n,e,t=0,r="",i=arguments.length;t<i;t++)(n=arguments[t])&&(e=Jd(n))&&(r&&(r+=" "),r+=e);return r}const ul="-";function Hg(n){const e=Og(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;function i(l){const u=l.split(ul);return u[0]===""&&u.length!==1&&u.shift(),Ud(u,e)||Dg(l)}function o(l,u){const c=t[l]||[];return u&&r[l]?[...c,...r[l]]:c}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function Ud(n,e){var l;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),i=r?Ud(n.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=n.join(ul);return(l=e.validators.find(({validator:u})=>u(o)))==null?void 0:l.classGroupId}const Kd=/^\[(.+)\]$/;function Dg(n){if(Kd.test(n)){const e=Kd.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}}function Og(n){const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return Eg(Object.entries(n.classGroups),t).forEach(([o,l])=>{cl(l,r,o,e)}),r}function cl(n,e,t,r){n.forEach(i=>{if(typeof i=="string"){const o=i===""?e:_d(e,i);o.classGroupId=t;return}if(typeof i=="function"){if(Xg(i)){cl(i(r),e,t,r);return}e.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([o,l])=>{cl(l,_d(e,o),t,r)})})}function _d(n,e){let t=n;return e.split(ul).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t}function Xg(n){return n.isThemeGetter}function Eg(n,e){return e?n.map(([t,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,u])=>[e+l,u])):o);return[t,i]}):n}function Lg(n){if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;function i(o,l){t.set(o,l),e++,e>n&&(e=0,r=t,t=new Map)}return{get(o){let l=t.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){t.has(o)?t.set(o,l):i(o,l)}}}const $d="!";function Bg(n){const e=n.separator,t=e.length===1,r=e[0],i=e.length;return function(l){const u=[];let c=0,f=0,p;for(let x=0;x<l.length;x++){let A=l[x];if(c===0){if(A===r&&(t||l.slice(x,x+i)===e)){u.push(l.slice(f,x)),f=x+i;continue}if(A==="/"){p=x;continue}}A==="["?c++:A==="]"&&c--}const h=u.length===0?l:l.substring(f),b=h.startsWith($d),m=b?h.substring(1):h,P=p&&p>f?p-f:void 0;return{modifiers:u,hasImportantModifier:b,baseClassName:m,maybePostfixModifierPosition:P}}}function jg(n){if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e}function Tg(n){return{cache:Lg(n.cacheSize),splitModifiers:Bg(n),...Hg(n)}}const Ig=/\s+/;function Sg(n,e){const{splitModifiers:t,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=new Set;return n.trim().split(Ig).map(l=>{const{modifiers:u,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:p}=t(l);let h=r(p?f.substring(0,p):f),b=!!p;if(!h){if(!p)return{isTailwindClass:!1,originalClassName:l};if(h=r(f),!h)return{isTailwindClass:!1,originalClassName:l};b=!1}const m=jg(u).join(":");return{isTailwindClass:!0,modifierId:c?m+$d:m,classGroupId:h,originalClassName:l,hasPostfixModifier:b}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:c,hasPostfixModifier:f}=l,p=u+c;return o.has(p)?!1:(o.add(p),i(c,f).forEach(h=>o.add(u+h)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function Mg(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=ef(e))&&(r&&(r+=" "),r+=t);return r}function ef(n){if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=ef(n[r]))&&(t&&(t+=" "),t+=e);return t}function Wg(n,...e){let t,r,i,o=l;function l(c){const f=e.reduce((p,h)=>h(p),n());return t=Tg(f),r=t.cache.get,i=t.cache.set,o=u,u(c)}function u(c){const f=r(c);if(f)return f;const p=Sg(c,t);return i(c,p),p}return function(){return o(Mg.apply(null,arguments))}}function Ze(n){const e=t=>t[n]||[];return e.isThemeGetter=!0,e}const tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zg=/^\d+\/\d+$/,Yg=new Set(["px","full","screen"]),Fg=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ng=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rg=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gg=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qg=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Zr(n){return Sn(n)||Yg.has(n)||Zg.test(n)}function pn(n){return vi(n,"length",e3)}function Sn(n){return!!n&&!Number.isNaN(Number(n))}function go(n){return vi(n,"number",Sn)}function sa(n){return!!n&&Number.isInteger(Number(n))}function Vg(n){return n.endsWith("%")&&Sn(n.slice(0,-1))}function be(n){return tf.test(n)}function hn(n){return Fg.test(n)}const qg=new Set(["length","size","percentage"]);function Jg(n){return vi(n,qg,rf)}function Ug(n){return vi(n,"position",rf)}const Kg=new Set(["image","url"]);function _g(n){return vi(n,Kg,r3)}function $g(n){return vi(n,"",t3)}function la(){return!0}function vi(n,e,t){const r=tf.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1}function e3(n){return Ng.test(n)&&!Rg.test(n)}function rf(){return!1}function t3(n){return Gg.test(n)}function r3(n){return Qg.test(n)}function n3(){const n=Ze("colors"),e=Ze("spacing"),t=Ze("blur"),r=Ze("brightness"),i=Ze("borderColor"),o=Ze("borderRadius"),l=Ze("borderSpacing"),u=Ze("borderWidth"),c=Ze("contrast"),f=Ze("grayscale"),p=Ze("hueRotate"),h=Ze("invert"),b=Ze("gap"),m=Ze("gradientColorStops"),P=Ze("gradientColorStopPositions"),x=Ze("inset"),A=Ze("margin"),z=Ze("opacity"),w=Ze("padding"),k=Ze("saturate"),D=Ze("scale"),O=Ze("sepia"),L=Ze("skew"),B=Ze("space"),T=Ze("translate"),X=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",be,e],N=()=>[be,e],V=()=>["",Zr,pn],J=()=>["auto",Sn,be],re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],F=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",be],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>[Sn,go],ue=()=>[Sn,be];return{cacheSize:500,separator:":",theme:{colors:[la],spacing:[Zr,pn],blur:["none","",hn,be],brightness:oe(),borderColor:[n],borderRadius:["none","","full",hn,be],borderSpacing:N(),borderWidth:V(),contrast:oe(),grayscale:Z(),hueRotate:ue(),invert:Z(),gap:N(),gradientColorStops:[n],gradientColorStopPositions:[Vg,pn],inset:M(),margin:M(),opacity:oe(),padding:N(),saturate:oe(),scale:oe(),sepia:Z(),skew:ue(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[hn]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...re(),be]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sa,be]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",sa,be]}],"grid-cols":[{"grid-cols":[la]}],"col-start-end":[{col:["auto",{span:["full",sa,be]},be]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[la]}],"row-start-end":[{row:["auto",{span:[sa,be]},be]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,e]}],"min-w":[{"min-w":[be,e,"min","max","fit"]}],"max-w":[{"max-w":[be,e,"none","full","min","max","fit","prose",{screen:[hn]},hn]}],h:[{h:[be,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,e,"auto","min","max","fit"]}],"font-size":[{text:["base",hn,pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",go]}],"font-family":[{font:[la]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",Sn,go]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Zr,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Zr,pn]}],"underline-offset":[{"underline-offset":["auto",Zr,be]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...re(),Ug]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jg]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_g]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[z]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[z]}],"divide-style":[{divide:K()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Zr,be]}],"outline-w":[{outline:[Zr,pn]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[Zr,pn]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",hn,$g]}],"shadow-color":[{shadow:[la]}],opacity:[{opacity:[z]}],"mix-blend":[{"mix-blend":ee()}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",hn,be]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[k]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[z]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:ue()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:ue()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[sa,be]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Zr,pn,go]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const i3=Wg(n3);function Pe(...n){return i3(Ag(n))}const a3={shopify:{bikeBrands:"bike/brands",bikeModels:"bike/models",framesSeries:"bike/frameSeries",bikeSpecs:"bike/bikeSpecBikes",bikeSpecYears:"bike/bikeSpecYears",bikeSpecSizes:"bike/bikeSpecSizes",bikeBrandProductCategories:"bike/bikeBrandProductCategories",checkSku:"compatibility/checkSku",checkSkus:"compatibility/checkSkus",checkSkusWithResults:"compatibility/checkSkusWithResults",bikeBom:"workshop/bikeBom",customBike:"workshop/addCustomBike",addComponent:"workshop/addComponent",findProducts:"workshop/findProducts",removeComponent:"workshop/removeComponent",revertComponent:"workshop/revertComponent",saveCustomBike:"workshop/saveCustomBike",updateCustomBike:"workshop/updateCustomBike",updateCustomBikeName:"workshop/updateCustomBikeName"},bikematrix:{bikeBrands:"GetBikeBrands",bikeModels:"GetBikeModels",framesSeries:"GetBikeFrameSeries",bikeSpecs:"GetBikeSpecBikes",bikeSpecYears:"GetBikeSpecYears",bikeSpecSizes:"GetBikeSpecSizes",bikeBrandProductCategories:"GetBikeBrandProductCategories",checkSku:"Compatibility_CheckSku",checkSkus:"Compatibility_CheckSkus",checkSkusWithResults:"Compatibility_CheckSkusWithResults",bikeBom:"GetBikeBillOfMaterials",customBike:"AddCustomBike",addComponent:"AddComponent",findProducts:"FindProducts",removeComponent:"RemoveComponent",revertComponent:"RevertComponent",saveCustomBike:"SaveCustomBike",updateCustomBike:"UpdateCustomBike",updateCustomBikeName:"UpdateCustomBikeName"}};class xt{constructor(e,t,r,i){this._apiUrl=i?window.location.origin+"/apps/proxy/api/":e,this._apiKey=t??"",this._apiToken=r??"",this._apiType=i?"shopify":"bikematrix"}getEndpoint(e){return a3[this._apiType][e]}async getBikeBrands(){const e=this.getEndpoint("bikeBrands"),t=await this.makeRequest(e);return t.success?{success:t.success,data:t.data}:{success:t.success,error:"error_generic GetBikeBrands",logError:t.error}}async getBikeModels(e){if(!e)return{success:!1,error:"error_generic"};const t=this.getEndpoint("bikeModels"),r=await this.makeRequest(t,{params:{bikeBrandId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeModels",logError:r.error}}async getBikeFrameSeries(e){if(!e)return{error:"error_generic",success:!1};const t=this.getEndpoint("framesSeries"),r=await this.makeRequest(t,{params:{bikeModelId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeFrameSeries",logError:r.error}}async getBikeSpecs(e){if(!e)return{success:!1,error:"error_generic GetBikeSpecs"};const t=this.getEndpoint("bikeSpecs"),r=await this.makeRequest(t,{params:{bikeModelSpecId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeSpecs",logError:r.error}}async getYears(e){if(!e)return{error:"error_generic GetBikeYears",success:!1};const t=this.getEndpoint("bikeSpecYears"),r=await this.makeRequest(t,{params:{bikeModelSpecId:e}});return r.success?{data:r.data,success:r.success}:{error:"error_generic GetBikeYears",success:!1,logError:r.success}}async getFrameSizes(e,t,r){if(!e||!t)return{success:!1,error:"error_generic GetFrameSizes"};const i=this.getEndpoint("bikeSpecSizes"),o=await this.makeRequest(i,{params:{bikeModelSpecId:e,bikeSpec:t,year:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_generic GetFrameSizes",logError:o.error}}async getBikes(e,t,r){if(e&&(t||r)){const i=this.getEndpoint("bikeSpecs"),o=await this.makeRequest(i,{params:{bikeModelSpecId:e,bikeSpec:t,year:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_generic GetBikes",logError:o.error}}else return{success:!1,error:"error_generic GetBikes"}}async getBrandProductCategories(e){if(e){const t=this.getEndpoint("bikeBrandProductCategories"),r=await this.makeRequest(t,{params:{bikeBrandId:e}});return r.success?{data:r.data,success:!0}:(console.error(r.error),{success:!1,error:"error_generic GetBrandProductCategories",logError:r.error})}else return{success:!1,error:"error_generic GetBrandProductCategories"}}async checkSkuCompatibility(e,t,r){if(e&&t){const i=this.getEndpoint("checkSku")+`/${e}/${t}/${r}`,o=await this.makeRequest(i);return o.success?{success:o.success,data:o.data}:{success:o.success,error:"error_generic CheckSkuCompatibility",logError:o.error}}else return{success:!1,error:"error_generic CheckSkuCompatibility"}}async checkSkusCompatibility(e,t,r){if(e&&t){const i=this.getEndpoint("checkSkus")+`/${e}/${t}/${r}`,o=await this.makeRequest(i);return o.success?{data:o.data,success:o.success,logError:o.error}:{success:o.success,error:"error_generic CheckSkusCompatibility",logError:o.error}}else return{success:!1,error:"error_generic CheckSkusCompatibility"}}async checkSkusCompatibilityWithResults(e,t,r,i={}){if(e&&t){const o=this.getEndpoint("checkSkusWithResults")+`/${e}/${r}`,l=await this.makeRequest(o,{body:JSON.stringify(t),method:"POST",headers:{"Content-Type":"application/json"},...i});return l.success?{data:l.data,success:l.success}:{success:l.success,error:"error_compatiblelist",logError:l.error}}else return{success:!1,error:"error_compatiblelist"}}async getActiveSubscription(e){if(this._apiType!=="shopify"){e({activeSubscription:!0});return}var t="activeSubscription";const r=await this.makeRequest(t);if(!r.success){console.log(`getActiveSubscription Error: ${r.error}`);return}e(r.data)}async getBikeBom(e){if(!e)return{success:!1,error:"error_generic getBikeBom"};const t=this.getEndpoint("bikeBom"),r=await this.makeRequest(t,{params:{bikeKey:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_get_bike_bom",logError:r.error}}async addCustomBike(e){if(!e)return{success:!1,error:"error_generic addCustomBike"};const t=this.getEndpoint("customBike"),r=await this.makeRequest(t,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_add_custom_bike",logError:r.error}}async findProducts(e,t){if(!e)return{success:!1,error:"error_generic findProducts"};const r=this.getEndpoint("findProducts"),i=await this.makeRequest(r,{params:{search:e,productCategoryId:t,recordCount:20}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_find_products",logError:i.error}}async addComponent(e,t,r,i){if(!e||!t||!r||!i)return{success:!1,error:"error_generic addComponent"};const o=this.getEndpoint("addComponent"),l=await this.makeRequest(o,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,productId:r,bikeFieldName:i}});return l.success?{data:l.data,success:l.success}:{success:l.success,error:"error_add_component",logError:l.error}}async removeComponent(e,t,r){if(!e||!t||!r)return{success:!1,error:"error_generic removeComponent"};const i=this.getEndpoint("removeComponent"),o=await this.makeRequest(i,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,bikeFieldName:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_remove_component",logError:o.error}}async revertComponent(e,t,r){if(!e||!t||!r)return{success:!1,error:"error_generic revertComponent"};const i=this.getEndpoint("revertComponent"),o=await this.makeRequest(i,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,bikeFieldName:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_revert_component",logError:o.error}}async saveCustomBike(e,t){if(!e||!t)return{success:!1,error:"error_generic saveCustomBike"};const r=this.getEndpoint("saveCustomBike"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,email:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_save_custom_bike",logError:i.error}}async updateCustomBike(e,t){if(!e||!t)return{success:!1,error:"error_generic saveCustomBike"};const r=this.getEndpoint("updateCustomBike"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_update_custom_bike"}}async updateCustomBikeName(e,t){if(!e||!t)return{success:!1,error:"error_generic updateCustomBikeName"};const r=this.getEndpoint("updateCustomBikeName"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,name:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_update_custom_bike_name",logError:i.error}}async makeRequest(e,t={}){const r=new URL(e,this._apiUrl),i={"Cache-Control":"no-cache",...this._apiKey&&{"bm-subscription-key":this._apiKey},...this._apiToken&&{"bm-app-token":this._apiToken}};typeof t.params=="object"&&(Object.keys(t.params).forEach(l=>{t.params[l]&&r.searchParams.set(l,t.params[l])}),delete t.params);let o;try{const l={...i,...t.headers||{}},u={...t,headers:l};t.signal&&(u.signal=t.signal);const c=await fetch(r==null?void 0:r.href,u),f=await c.json().catch(()=>{throw new Error("Request failed: "+(c.statusText||"Status"+c.status))});f.status===400||f.statusCode===404?o={success:!1,data:f}:o={success:!0,data:f}}catch(l){o={success:!1,error:l.message}}return o}}async function nf(n){var b;const{categories:e,collections:t,apiUrl:r,apiKey:i,apiToken:o,isShopify:l,logLevel:u}=window.BikeMatrix.getConfig(),c=JSON.parse(sessionStorage.getItem("bm_categories")||"null"),f=JSON.parse(localStorage.getItem(ll)||"null"),p=new xt(r,i,o,l);let h=[];if(u==="verbose"&&console.log("useCompatibleCollections sessionCollections",c),!c||!(c!=null&&c.collections)||!(c!=null&&c.collections.length)||(c==null?void 0:c.key)!==(f==null?void 0:f.key)){u==="verbose"&&console.log("useCompatibleCollections fetching new collections");const m=await p.getBrandProductCategories(n);if(u==="verbose"&&console.log("useCompatibleCollections bikeBrandProductCategories",m),!m.success)return console.log(m),u==="verbose"&&console.error(m.error),h={error:m.error},h;if(u==="verbose"&&(console.log("useCompatibleCollections categories",e),console.log("useCompatibleCollections collections",t)),((b=m.data)==null?void 0:b.length)>0){let P=e.filter(x=>{var A;return!!x.collection&&((A=m==null?void 0:m.data)==null?void 0:A.some(z=>z.product_Category.toLowerCase()===x.title.toLowerCase()))});u==="verbose"&&console.log("useCompatibleCollections availableCategories",P),h=P.map(x=>t.filter(z=>x.collection.split(",").map(w=>w.trim().toLowerCase()).includes(z.title.toLowerCase())).map(z=>({title:z.title,text_id:x.text_id,handle:z.handle,url:z.url}))).flat(),u==="verbose"&&console.log("useCompatibleCollections compatibleCollections",h),h=h==null?void 0:h.filter((x,A,z)=>A===z.findIndex(w=>w.title===x.title&&w.text_id===x.text_id&&w.handle===x.handle&&w.url===x.url))}sessionStorage.setItem("bm_categories",JSON.stringify({key:f==null?void 0:f.key,collections:h})),u==="verbose"&&console.log("useCompatibleCollections fetched collections",h)}else u==="verbose"&&console.log("useCompatibleCollections using session collections"),h=c.collections;return h}const af=class to{constructor(){this.initialized=!1,this.currentBike=null,this.activeSubscription=null,this.components=[],this.config=qd}async initialize(e){this.components=[],this.initialized&&this.cleanup(),e&&(this.config={...this.config,...e}),this.initializeConfig(),this.service=new xt(this.config.apiUrl,this.config.apiKey,this.config.apiToken,this.config.isShopify),this.initializeActiveSubscription(),localStorage.bm_currentBike&&(this.currentBike=JSON.parse(localStorage.bm_currentBike)),this.setupEventListeners(),this.registerComponents(),this.initialized=!0,sl.value=!0;const t=new Event("BM:Initialized");document.dispatchEvent(t),this.config.logLevel==="verbose"&&(console.log("BikeMatrix WebComponent Version: 1.2.5"),console.log("BikeMatrixCore initialized"))}static getInstance(){return to.instance||(to.instance=new to),to.instance}registerComponents(){const e=["bikematrix-bikeselector","bikematrix-productresult","bikematrix-collectionresult","bikematrix-compatibilitylabel","bikematrix-compatiblelist","bikematrix-bikeselectorbanner","bikematrix-variantselector"];this.components=[],e.forEach(t=>{const r=document.getElementsByTagName(t);Array.from(r).forEach(i=>{this.components.push(i)})}),this.config.logLevel==="verbose"&&console.log(`Registered ${this.components.length} components`)}resetComponents(){this.components.forEach(e=>{var t;try{const r=e.cloneNode(!1);e.querySelectorAll("template").forEach(o=>{r.appendChild(o.cloneNode(!0))}),(t=e.parentNode)==null||t.replaceChild(r,e)}catch{console.error("Error resetting component",e)}})}isInitialized(){return this.initialized}updateConfig(e){this.config={...this.config,...e},this.reload(!1)}cleanup(){this.removeEventListeners(),kg()}async destroy(){this.cleanup(),this.service=null,this.currentBike=null,this.activeSubscription=null,this.config={...qd},this.initialized=!1,sl.value=!1,this.resetComponents()}refresh(){this.ChangeBike()}reset(){this.destroy(),this.initialize()}reload(e=!0){e&&this.initializeConfig(),this.refresh(),this.registerComponents(),this.resetComponents()}initializeConfig(){const e=document.querySelectorAll('script[type="application/json"][data-bikematrix-config]'),t=JSON.parse(sessionStorage.getItem("bm_diagnostics"));e.forEach(r=>{if(r!=null&&r.textContent)try{this.config={...this.config,...JSON.parse(r.textContent)}}catch{console.error("Invalid BikeMatrix configuration"),console.log("configScript ",r.textContent)}}),t!=null&&t.includes("verbose")&&(this.config.logLevel="verbose"),t!=null&&t.includes("virtualWorkshop")&&(this.config.virtualWorkshop=!0),t!=null&&t.includes("subscribtion")&&(this.activeSubscription=!0),t!=null&&t.includes("all")&&(this.config.logLevel="verbose",this.config.virtualWorkshop=!0,this.activeSubscription=!0),this.config.logLevel==="verbose"&&console.log("initializeConfig ",JSON.stringify(this.config,null,2))}initializeActiveSubscription(){const e=sessionStorage.getItem("bm_activeSubscription");if(this.config.logLevel==="verbose"&&(console.log("Not Shopify: ",!this.config.isShopify),console.log("Session Active Subscription: ",e),console.log("Design Mode: ",this.config.designMode)),!this.config.isShopify){this.activeSubscription=!0;return}this.activeSubscription=this.config.designMode||e==="true",e||this.service.getActiveSubscription(this.updateActiveSubscription.bind(this))}setupEventListeners(){document.addEventListener("BikeMatrix:RefreshCompatibleSkus",e=>{this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0}))})}),document.addEventListener("on:facet-filters:updated",this.handleRefreshCompatibleSkus.bind(this)),document.addEventListener("BikeChanging",this.handleBikeChanging.bind(this))}removeEventListeners(){document.removeEventListener("BikeMatrix:RefreshCompatibleSkus",this.handleRefreshCompatibleSkus),document.removeEventListener("on:facet-filters:updated",this.handleRefreshCompatibleSkus),document.removeEventListener("BikeChanging",this.handleBikeChanging)}async handleRefreshCompatibleSkus(e){this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0}))})}async handleBikeChanging(e){this.config.logLevel==="verbose"&&console.log("Listener BikeChanging (pre) ..."),this.ChangeBike()}getConfig(){return this.config}getActiveSubscription(){return this.activeSubscription}getCurrentBike(){return this.currentBike}updateSku(e){const t=document.querySelector("bikematrix-productresult[data-sku]"),r=document.querySelector("bikematrix-variantselector[data-sku]");t&&t.setAttribute("data-sku",e),r&&r.setAttribute("data-sku",e),this.config.sku=e}ResetSelectedBikeIndicator(){var e,t;this.currentBike===null?(e=window.bm_selectBikeButton)==null||e.classList.remove("show-selected"):(t=window.bm_selectBikeButton)==null||t.classList.add("show-selected")}ChangeBike(){this.config.logLevel==="verbose"&&console.log("ChangeBike() Method Called"),!(tr.value===!0||vr.value===!0)&&(tr.value=!0,vr.value=!0,pi.value=[],hi.value=[],this.config.logLevel==="verbose"&&console.log("ChangeBike updateBikeSignal..."),this.updateBikeSignal().then(()=>{this.config.logLevel==="verbose"&&console.log("Bike Signal Updated: ",JSON.stringify(xe.value,null,2)),this.ResetSelectedBikeIndicator(),this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0})),document.dispatchEvent(new Event("BikeChanged",{bubbles:!0,composed:!0}))})}))}async RefreshCompatibleSkus(){var t,r;const e=`${(t=xe.value)==null?void 0:t.key}:${this.config.currentCollectionHandle}:${zg}`;switch(this.config.pageType){case"collection":const i=!!xe.value&&!xe.value.compatibleCollections.error&&((r=xe.value.compatibleCollections)==null?void 0:r.find(o=>o.handle===this.config.currentCollectionHandle));this.config.logLevel==="verbose"&&console.log("Refresh Compatible SKUs. hasCompatibleCollection: ",i),this.config.logLevel==="verbose"&&console.log("showCompatibleList: ",this.config.showCompatibleList),i&&(await this.RefreshCollectionPageSkus(e),this.config.showCompatibleList&&await this.RefreshCollectionListSkus(e)),tr.value=!1,vr.value=!1;break;case"search":case"index":tr.value=!1,(this.config.pageType==="index"&&this.config.showHomePageCollection||this.config.pageType==="search"&&this.config.showSearchPageCollection)&&await this.RefreshCollectionPageSkus(e),vr.value=!1;break;default:tr.value=!1,vr.value=!1;break}}async RefreshCollectionPageSkus(e){var l,u;let t=document.getElementsByTagName("bikematrix-collectionresult"),i=Array.from(t).map(c=>{const f=this.config.skuField==="barcode"?c.getAttribute("data-product-barcodes"):this.config.skuField==="metafield"?c.getAttribute("data-product-metafields"):c.getAttribute("data-product-skus")||"";return f==null?void 0:f.split(",").filter(p=>!!p)}).flat();this.config.logLevel==="verbose"&&console.log("Refresh Collection Page SKUs. SKUs: ",JSON.stringify(i),null,2);var o=((l=ci())==null?void 0:l.language)||"en-GB";if(i&&i.length>0){const c=await this.service.checkSkusCompatibilityWithResults((u=xe.value)==null?void 0:u.key,i,o);c.success?hi.value=c.data:(ho.value=!0,this.config.logLevel==="verbose"&&console.log("Compatible List Error: ",c.logError))}else hi.value=[]}async RefreshCollectionListSkus(e){var i,o;var t=JSON.parse(sessionStorage.getItem(e));if(t)this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from Session: ",JSON.stringify(t),null,2),pi.value=t;else{const l=Object.values(this.config.products||{}).map(p=>p.skus).flat();this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from API. SKUs: ",JSON.stringify(l),null,2);var r=((i=ci())==null?void 0:i.language)||"en-GB";const u=new AbortController,c=u.signal,f=()=>u.abort();window.addEventListener("beforeunload",f);try{if(!((o=xe.value)!=null&&o.key))throw new Error("BikeSignal key is undefined");const p=await this.service.checkSkusCompatibilityWithResults(xe.value.key,l,r,{signal:c});if(this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from API. SKUs: ",JSON.stringify(p)),c.aborted){this.config.logLevel==="verbose"&&console.log("function RefreshCompatibleSkus() operation aborted");return}p.success?(sessionStorage.setItem(e,JSON.stringify(p.data)),pi.value=p.data):(ho.value=!0,this.config.logLevel==="verbose"&&console.log("Compatible List Error: ",p.logError))}catch(p){p.name==="AbortError"?console.log("function RefreshCompatibleSkus() fetch aborted"):console.error("function RefreshCompatibleSkus() fetch error",p)}finally{window.removeEventListener("beforeunload",f)}}}updateActiveSubscription(e){this.config.logLevel==="verbose"&&console.log("updateActiveSubscription data: ",e);const t=!!(e!=null&&e.activeSubscription);sessionStorage.setItem("bm_activeSubscription",JSON.stringify(t)),this.activeSubscription=t}async updateBikeSignal(){const e=localStorage.getItem(ll)||"null",t=JSON.parse(e);if(this.currentBike=t,t==null){xe.value=null;return}const r=await nf(t==null?void 0:t.brandId);!Array.isArray(r)&&r.error?(t.compatibleCollections=[],xe.value=t):(t.compatibleCollections=r,xe.value=t),this.config.logLevel==="verbose"&&console.log("Bike Changed: ",JSON.stringify(xe.value,null,2))}};af.instance=null;let o3=af;const ua=n=>te("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M1.53553 8.60658L5.07107 5.07104M5.07107 5.07104L8.6066 1.53551M5.07107 5.07104L8.6066 8.60658M5.07107 5.07104L1.53553 1.53551",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}));var s3=0;function g(n,e,t,r,i,o){var l,u,c={};for(u in e)u=="ref"?l=e[u]:c[u]=e[u];var f={type:n,props:c,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--s3,__i:-1,__u:0,__source:i,__self:o};if(typeof n=="function"&&(l=n.defaultProps))for(u in l)c[u]===void 0&&(c[u]=l[u]);return ve.vnode&&ve.vnode(f),f}function gi(){document.dispatchEvent(new Event("BmToggleModal"))}function l3({children:n}){return se(()=>{var o;const e=document.body,t=document.getElementById("bm_selectBikeButton"),r=(o=document.getElementsByTagName("bikematrix-bikeselector"))==null?void 0:o[0],i=l=>{l.preventDefault(),e.classList.toggle("bm-modal-active"),r.classList.toggle("active"),oa.value=!oa.value};return document.addEventListener("BmToggleModal",i),t==null||t.addEventListener("click",i),()=>{document.removeEventListener("BmToggleModal",i),t==null||t.removeEventListener("click",i)}},[]),g(ie,{children:[g("div",{onClick:()=>{gi()},class:Pe("overlay","fixed cursor-pointer inset-0 z-[2147483645] bg-black/40 transition-all duration-500 sm:duration-200")}),g("div",{className:Pe("modal","fixed pointer-events-none inset-0 mx-auto justify-end z-[2147483646] flex flex-col items-center outline-none transition-all duration-500 sm:duration-200 ease-in-out","sm:justify-center"),children:g("div",{className:"flex sm:px-2 pointer-events-auto max-sm:max-h-[96%] sm:max-h-[90%] max-sm:h-[89vh] max-w-lg sm:max-w-[640px] flex-col items-center max-sm:flex-1 w-full bg-white rounded-t-3xl sm:rounded-xl shadow-[0px_-2px_10px_0px_rgba(0,0,0,0.04),0px_0px_0px_1px_rgba(0,0,0,0.06)]",children:[g("div",{className:"sm:hidden mx-auto mt-4 h-[6px] w-[100px] rounded-full bg-gray-400/50",onClick:gi}),g("div",{className:"sm:hidden h-[10px]"}),g("div",{className:"relative flex flex-col w-full sm:h-full max-sm:flex-none max-sm:grow",children:g("div",{class:"modal-content max-sm:absolute sm:h-full max-sm:inset-0 overflow-x-hidden overflow-y-auto px-8 sm:px-6",children:n})})]})})]})}const gr=n=>te("svg",{width:7,height:12,viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M1 11L6 6L1 1",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),u3=n=>te("svg",{width:31,height:31,viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:15.5,cy:15.5,r:15.5,fill:"#030712"}),te("path",{d:"M10.1974 17.1317L13.9955 20.4461L20.8639 10.8909",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),c3=n=>te("svg",{width:31,height:31,viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("g",{clipPath:"url(#clip0_64_2)"},te("path",{d:"M30.5 15.5C30.5 23.7843 23.7843 30.5 15.5 30.5C7.21573 30.5 0.5 23.7843 0.5 15.5C0.5 7.21573 7.21573 0.5 15.5 0.5C23.7843 0.5 30.5 7.21573 30.5 15.5Z",fill:"white",stroke:"#D1D5DB"})),te("path",{d:"M23.983 11.132C23.9699 10.9806 23.8699 10.8506 23.727 10.7988C23.5837 10.7466 23.4233 10.7822 23.3155 10.8894L21.1098 13.0866L18.6647 12.3153L17.8905 9.87937L20.0961 7.68201C20.2041 7.57458 20.2393 7.41475 20.1873 7.27224C20.1348 7.12945 20.0046 7.02999 19.8524 7.01688C18.5129 6.9019 17.2004 7.37836 16.2514 8.32387C14.9518 9.61873 14.6076 11.5096 15.217 13.1213C15.1504 13.1773 15.0847 13.2365 15.0199 13.3004L7.65736 20.2216C7.65476 20.2241 7.6522 20.2268 7.64939 20.2293C6.78354 21.092 6.78354 22.4955 7.64939 23.3583C8.51539 24.2209 9.91396 24.2104 10.7797 23.3477C10.7834 23.3443 10.7868 23.3408 10.7902 23.3369L17.677 15.945C17.7398 15.8822 17.798 15.8165 17.853 15.749C19.4713 16.3573 21.3705 16.0152 22.6713 14.7195C23.62 13.7739 24.0986 12.4663 23.983 11.132ZM9.67019 22.4264C9.35113 22.7442 8.83439 22.744 8.51536 22.4264C8.19644 22.1089 8.19644 21.5937 8.51536 21.2761C8.83439 20.9585 9.35113 20.9585 9.67019 21.2761C9.98911 21.5937 9.98911 22.1089 9.67019 22.4264Z",fill:"black"}),te("defs",null,te("clipPath",{id:"clip0_64_2"},te("rect",{width:31,height:31,fill:"white"})))),d3=n=>te("svg",{width:31,height:31,viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M2 24.0437V22.6518C4.30404 21.9559 5.82929 20.347 6.17596 18.244C6.45967 16.523 5.87584 14.7802 4.66788 13.505L5.50401 12.1672C6.3441 12.2632 7.12499 12.2938 7.83019 12.2273C8.91308 12.1253 10.0603 11.7686 10.8965 10.814C11.7162 9.87828 11.9364 8.70751 11.9455 7.65019C11.9509 7.01984 11.882 6.33439 11.7615 5.60532L13.1089 4.93163C14.6862 6.27858 16.5967 7.00972 18.5085 6.50659C20.496 5.98355 21.7104 4.35171 22.2287 2.32023L23.4959 2.17943C23.7105 2.84427 23.9686 3.45839 24.2803 4.0055C24.8609 5.02453 25.7009 5.93317 26.8959 6.37534C28.1054 6.8229 29.35 6.6716 30.4872 6.21488C31.2478 5.9094 32.0092 5.4502 32.771 4.87155L33.84 5.40607C33.3102 7.17682 33.6407 8.97473 34.9205 10.3525C36.2854 11.8219 38.3837 12.4206 40.6053 12.1884L41.4091 13.3137C40.1484 14.904 39.5422 16.7943 40.0082 18.6621C40.4975 20.623 42.0098 21.9631 44 22.6091V23.6937C42.0295 24.646 40.407 25.9295 39.9934 27.9032C39.7449 29.089 40.0083 30.2272 40.4663 31.2395C40.7549 31.8775 41.1444 32.5183 41.6038 33.1622L41.0881 34.0648C39.1096 33.5569 37.1545 33.7409 35.7252 35.1442C34.3293 36.5148 34.0136 38.5186 34.2755 40.5318L32.7931 41.4583C31.191 40.0523 29.3504 39.2822 27.3831 40.0414C26.2841 40.4655 25.451 41.2846 24.816 42.1501C24.4114 42.7016 24.0463 43.3278 23.7127 44H22.6585C22.1786 42.2318 21.2165 40.6691 19.4091 40.0247C17.4936 39.3418 15.3888 40.0023 13.3765 41.2022L11.9877 40.5078C12.4255 38.6858 12.158 36.865 10.7918 35.5311C9.4171 34.1889 7.44044 33.8741 5.42929 34.2133L4.6584 32.9799C6.03869 31.6871 6.93069 30.0087 6.40539 28.071C6.07607 26.8563 5.24467 25.9088 4.25062 25.2068C3.60737 24.7526 2.85005 24.3664 2 24.0437Z",stroke:"black",strokeWidth:4}),te("circle",{cx:23,cy:23,r:12,stroke:"black",strokeWidth:4}),te("path",{d:"M23 39.75C32.2508 39.75 39.75 32.2508 39.75 23C39.75 13.7492 32.2508 6.25 23 6.25C13.7492 6.25 6.25 13.7492 6.25 23C6.25 32.2508 13.7492 39.75 23 39.75Z",stroke:"black",strokeWidth:3.5})),f3=`.shared-icon{background-color:#fba157;padding:5px 10px;border-radius:8px;font-size:12px;display:flex;justify-content:center;align-items:center;color:#fff}
|
|
2
|
-
`,of=({text:n})=>g(ie,{children:[g("style",{type:"text/css",children:f3}),g("div",{className:"shared-icon",children:g("p",{className:"text",children:n||"Shared with you"})})]});function br({spanner:n,selected:e,settings:t,simple:r,bike:i,compact:o,readOnly:l,onClick:u,shared:c,custom:f,noSymbol:p,...h}){var L;const b=(L=i.images)!=null&&L.length?i.images:[In("bike.png")],m=ye(null),[P,x]=U(0),A=ye(null);se(()=>{const B=m==null?void 0:m.current;if(B){var T=new IntersectionObserver(function(X){var W=X.reduce(function(M,N){return N.intersectionRatio>M.intersectionRatio?N:M});W.intersectionRatio>0&&x(Number(W.target.getAttribute("data-slide")))},{root:B,threshold:.8});return B.querySelectorAll("&>div").forEach(X=>{T.observe(X)}),()=>{T.disconnect()}}},[m]);function z(B){if(!m.current)return;const T=m.current.querySelectorAll("&>div")[B];m.current.scrollLeft=T.clientWidth*B}function w(){P!=0&&z(P-1)}function k(){P!=b.length-1&&z(P+1)}const D=(b==null?void 0:b.length)&&P!==b.length-1,O=(b==null?void 0:b.length)&&P!==0;return g("div",{class:Pe("rounded-xl select-none border py-4 relative",e?"border-gray-950":"border-gray-300"),...h,onClick:B=>{if(A.current&&!A.current.contains(B.target))u(B);else{B.preventDefault();return}},children:[!r&&g("p",{class:"text-gray-950 px-4 text-base font-normal font-nunito leading-tight ",children:o?g(ie,{children:l?`${i.bike_Brand} ${i.year} ${i.spec}`:i?`${i.brand} ${i.year} ${i.bikeSpec} ${i.variant?i.variant:""}`:""}):g(ie,{children:l?i.bike_Name:i.name})}),g("div",{class:"relative mt-2",children:[g("div",{ref:m,class:Pe("flex scroll-smooth snap-mandatory no-scrollbar h-32 snap-x space-x-2 relative overflow-x-auto","px-4"),"data-active-slide":P,children:[!l&&b.length&&b.map((B,T)=>g("div",{"data-slide":T,class:"w-full h-full snap-center flex items-center flex-none",children:g("img",{class:"max-w-full pointer-events-none mx-auto max-h-full h-auto w-auto",src:B,alt:B})},T)),l&&g("div",{class:"w-full h-full snap-center flex items-center flex-none",children:g("img",{class:"max-w-full pointer-events-none mx-auto max-h-full h-auto w-auto",src:`https://imagestore.bikematrix.io/${i.bike_Reference}/400-${i.bike_Thumbnail}`,alt:i.bike_Reference})})]}),g(ie,{children:[g("div",{onClick:w,class:Pe("border !ml-0 bg-white absolute w-9 h-9 flex items-center justify-center left-4 top-1/2 -translate-y-1/2 rounded-xl border-gray-300",O?"":"hidden"),children:g(gr,{class:"h-3 text-gray-500 -rotate-180"})}),g("div",{onClick:k,class:Pe("border !ml-0 bg-white absolute w-9 h-9 flex items-center justify-center right-4 top-1/2 -translate-y-1/2 rounded-xl border-gray-300",D?"":"hidden"),children:g(gr,{class:"h-3 text-gray-500 translate-x-px"})})]})]}),(b==null?void 0:b.length)>1&&g("div",{class:"space-x-2 flex items-center justify-center",children:b.map((B,T)=>g("div",{class:Pe("rounded-xl w-2 h-2 transition-all duration-300",T==P?" bg-gray-950 scale-125":" bg-gray-200")},T))}),(c||i.isShared)&&g("div",{className:"absolute left-4 bottom-4",children:g(of,{})}),(f||i.isCustom)&&g("div",{className:"absolute left-4 bottom-4",children:g(of,{text:"Custom"})}),g("div",{className:"spanner_wrapper absolute right-4 bottom-14 h-fit w-fit",ref:A,children:n&&e&&g(c3,{class:"cursor-pointer",onClick:B=>{B.preventDefault(),!(i!=null&&i.isCustom)&&!(i!=null&&i.isShared)?Oe("/workshop"):i!=null&&i.isShared?Oe("/read-only"):Oe("/bom")}})}),e&&!t?g(u3,{class:"absolute right-4 bottom-4 cursor-pointer"}):t?g(d3,{class:"absolute right-4 bottom-4 cursor-pointer",onClick:()=>Oe("/settings")}):l?g("span",{}):p?g("span",{}):g(ie,{children:g("span",{class:"border absolute right-4 bottom-4 rounded-full h-8 w-8 border-gray-300 bg-white/75"})})]})}function sf(n,e){const t=()=>{try{const o=window.localStorage.getItem(n);return o?JSON.parse(o):e}catch(o){return console.error(o),e}},[r,i]=U(t);return se(()=>{try{if(!r&&n==="bm_currentBike")window.localStorage.setItem(n,null);else if(!r)window.localStorage.removeItem(n);else{const o=JSON.stringify(r);window.localStorage.setItem(n,o)}}catch(o){console.error(o)}},[n,r]),[r,i,t]}function p3(n,e){const t=()=>{try{const o=window.sessionStorage.getItem(n);return o?JSON.parse(o):e}catch(o){return console.error(o),e}},[r,i]=U(t);return se(()=>{try{if(!r)window.sessionStorage.removeItem(n);else{const o=JSON.stringify(r);window.sessionStorage.setItem(n,o)}}catch(o){console.error(o)}},[n,r]),[r,i,t]}const dl={brand:{options:[],value:null,error:null},model:{options:[],value:null,error:null},frameSeries:{options:[],value:null,error:null},year:{options:[],value:[],error:null},bikeSpec:{options:[],value:null,error:null},frameSize:{options:[],value:null,error:null},options:[],value:{}},lf=ra(void 0),h3=({children:n})=>{var ee;const e=window.BikeMatrix.getConfig(),[t,r]=sf(ll,null),[i,o]=sf("bm_lounge",[]),l=new xt(e.apiUrl,e.apiKey,e.apiToken,e.isShopify),[u,c]=U(dl),f=ye({}),[p,h]=U([]),[b,m]=U(!1),[P,x]=U(null);U(null),se(()=>{(async()=>{if(t!=null&&t.brandId){const Z=await nf(t==null?void 0:t.brandId);x(Z)}})()},[t==null?void 0:t.brandId]);function A(F){c(Z=>{var $;return{...Z,[F]:{options:[],value:($=dl[F])==null?void 0:$.value}}})}function z(F,Z){c($=>($[F].value=Z,{...$}))}const w=()=>{c(F=>{var Z;return{...dl,brand:{options:((Z=F.brand)==null?void 0:Z.options)||[],error:F.brand.error||null}}})},k=F=>{r({...F}),o([...(i||[]).filter(Z=>!!Z.key&&Z.key!==F.key),F])},D=F=>{(t==null?void 0:t.key)===F&&r(null),o([...(i||[]).filter(Z=>!!Z.key&&Z.key!==F)])},O=()=>{e.logLevel==="verbose"&&console.log("Dispatch BikeChanging (pre-change)..."),document.dispatchEvent(new Event("BikeChanging",{bubbles:!0,composed:!0}))},L=()=>{setTimeout(()=>{w(),Oe("/")},500)},B=async()=>{const F=await l.getBikeBrands();F.success?(sessionStorage.setItem("bm_brands",JSON.stringify(F.data)),c(Z=>(Z.brand.options=F.data.map($=>({label:$.bike_Brand,value:$.bike_Brand_ID})),{...Z}))):F.success||(c(Z=>(Z.brand.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},T=async()=>{const F=await l.getBikeModels(u.brand.value);F.success?c(Z=>(Z.model.options=F.data.map($=>({label:$.model_Family,value:$.model_Family_ID})),{...Z})):F.success||(c(Z=>(Z.model.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},X=async()=>{const F=await l.getBikeFrameSeries(u.model.value);F.success?c(Z=>{var oe,ue;const $=[];return Z.frameSeries.options=F.data.reduce((pe,Re)=>{const Ie={label:Re.model_Spec,value:Re.model_Spec_ID};return $.includes(Ie.value)||($.push(Ie.value),pe.push(Ie)),pe},[]),((oe=Z.frameSeries.options)==null?void 0:oe.length)===1&&(Z.frameSeries.value=(ue=Z.frameSeries.options[0])==null?void 0:ue.value),{...Z}}):F.success||(c(Z=>(Z.frameSeries.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},W=async()=>{const F=await l.getBikeSpecs(u.frameSeries.value);if(F.success){const Z=[],$=[],oe=[],ue=[];F.data.forEach(pe=>{var Bt,$e;const Re=pe.year+"-"+pe.spec.replace(/[^0-9a-zA-Z]/g,"")+(pe.bike_Variant?"-"+pe.bike_Variant.replace(/[^0-9a-zA-Z]/g,""):""),Ie={label:pe.spec,value:pe.spec};if(Z.includes(Ie.value)||(Z.push(Ie.value),oe.push(Ie)),!$.includes(Re)){$.push(Re);const Vt={_key:Re,key:pe.bike_Key,name:pe.bike_Name,variant:pe.bike_Variant,brand:pe.bike_Brand,brandId:pe.bike_Brand_ID,model:pe.model_Family,modelId:pe.model_Family_ID,frameSeries:pe.model_Spec,frameSeriesId:pe.model_Spec_ID,bikeSpec:pe.spec,year:pe.year,images:[pe.bike_Thumbnail,...((Bt=pe==null?void 0:pe.bike_Images)==null?void 0:Bt.split(","))||[]].filter(qt=>!!qt).map(qt=>`https://imagestore.bikematrix.io/${pe.bike_Reference}/400-${qt}`)},jt=F.data.reduce((qt,at)=>(at.year==pe.year&&at.spec===pe.spec&&at.model_Spec===pe.model_Spec&&at.bike_Variant===pe.bike_Variant&&qt.push({key:at.bike_Key,name:at.bike_Name,variant:at.bike_Variant,sizeId:at.bike_Size_ID,size:at.bike_Size}),qt),[]);($e=jt==null?void 0:jt.filter(qt=>!!qt.sizeId))!=null&&$e.length&&(Vt.sizes=jt),ue.push(Vt)}f.current[u.frameSeries.value]=Array.from(new Set([...f.current[u.frameSeries.value]||[],pe.year]))}),c(pe=>(pe.bikeSpec.options=oe,{...pe})),h(ue)}else F.success||(c(Z=>(Z.bikeSpec.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},M=async()=>{c(F=>{const Z=f.current[F.frameSeries.value]||[];return F.year.options=Z.map($=>({label:$,value:$})),{...F}})},N=async()=>{c(F=>{var Z,$,oe;if(F.frameSize.options=(Z=u==null?void 0:u.value)!=null&&Z.sizes?u.value.sizes.filter(ue=>!!ue.size).map(ue=>({label:ue.size,value:ue.size})):[],(($=F.frameSize.options)==null?void 0:$.length)===1){const ue=(oe=F.frameSize.options[0])==null?void 0:oe.value;F.frameSize.value=ue,F.value.frameSize=ue}return{...F}})};se(()=>(document.addEventListener("BmToggleModal",L),()=>{document.removeEventListener("BmToggleModal",L)}),[]);const[V,J]=p3("bm_diagnostics",[]),re=()=>{const Z=new URLSearchParams(window.location.search).get("diagnostics");JSON.parse(sessionStorage.getItem("bm_diagnostics")).includes(Z)||J([...V,Z]),Z===null&&J([])};se(()=>{O(),re()},[t]),se(()=>{sessionStorage.getItem("bm_brands")?c(F=>(F.brand.options=JSON.parse(sessionStorage.getItem("bm_brands")).map(Z=>({label:Z.bike_Brand,value:Z.bike_Brand_ID})),{...F})):oa.value&&B()},[oa.value]),se(()=>{u.brand.value&&(A("model"),A("frameSeries"),T())},[u.brand.value]),se(()=>{u.model.value&&(A("frameSeries"),X())},[u.model.value]),se(()=>{u.frameSeries.value&&(A("bikeSpec"),A("year"),h([]),W().then(()=>{M()}))},[u.frameSeries.value]),se(()=>{u.value._key&&(A("frameSize"),N())},[(ee=u.value)==null?void 0:ee._key]),se(()=>{u.frameSize.value&&c(F=>{var Z,$;return F.value={...F.value,...(($=(Z=F==null?void 0:F.value)==null?void 0:Z.sizes)==null?void 0:$.find(oe=>u.frameSize.value==oe.size))||{}},delete F.value.sizes,F})},[u.frameSize.value]);const K={bike:u,setBike:c,setBikeAttr:z,resetBike:w,results:p,loading:b,setLoading:m,compatibleCollections:P,currentBike:t,setCurrentBike:r,removeBike:D,saveBike:k,lounge:i};return g(lf.Provider,{value:K,children:n})},Ht=()=>{const n=Vs(lf);if(!n)throw new Error("useBikeState must be used within a BikeProvider");return n};function Yr(){const{t:n}=De(),t=window.BikeMatrix.getConfig(),[r,i]=U(null);return t.internalLink&&i(t.internalLink),g(ie,{children:[g("p",{class:"text-gray-600 max-w-sm mx-auto mt-4 text-center font-normal text-xs",children:n("bikeselector_home_footer_message")}),g("a",{href:r||"https://bikematrix.io/landed-it",target:"_blank",class:"text-gray-950 block underline mb-4 font-bold mt-4 text-center text-xs",children:n("bikematrix_poweredby")})]})}const v3=n=>te("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M16.983 4.13197C16.9699 3.98064 16.8699 3.85064 16.727 3.7988C16.5837 3.74665 16.4233 3.78215 16.3155 3.88937L14.1098 6.08655L11.6647 5.31527L10.8905 2.87937L13.0961 0.682011C13.2041 0.574581 13.2393 0.414746 13.1873 0.272238C13.1348 0.129446 13.0046 0.0299881 12.8524 0.0168782C11.5129 -0.0980992 10.2004 0.378357 9.25142 1.32387C7.95176 2.61873 7.60759 4.50961 8.21705 6.12135C8.15043 6.17726 8.08471 6.2365 8.01987 6.30039L0.65736 13.2216C0.654763 13.2241 0.652203 13.2268 0.649393 13.2293C-0.216464 14.092 -0.216464 15.4955 0.649393 16.3583C1.51539 17.2209 2.91396 17.2104 3.77967 16.3477C3.78341 16.3443 3.78682 16.3408 3.79024 16.3369L10.677 8.94505C10.7398 8.88222 10.798 8.8165 10.853 8.74903C12.4713 9.3573 14.3705 9.01524 15.6713 7.71952C16.62 6.77394 17.0986 5.46628 16.983 4.13197ZM2.67019 15.4264C2.35113 15.7442 1.83439 15.744 1.51536 15.4264C1.19644 15.1089 1.19644 14.5937 1.51536 14.2761C1.83439 13.9585 2.35113 13.9585 2.67019 14.2761C2.98911 14.5937 2.98911 15.1089 2.67019 15.4264Z",fill:"black"})),_={id:null,name:null,product_category_id:null,swap:!1,version_id:null,unsaved_changes:null,translation:null},ca={bike_Key:"",bike_Type:null,bike_Name:null,bike_Variant:null,bike_Reference:null,bike_Thumbnail:null,bike_Images:null,bike_Brand_ID:0,bike_Brand:null,model_Family_ID:0,model_Family:null,model_Spec_ID:0,model_Spec:null,spec:null,bike_Size_ID:null,bike_Size:null,year:0,original_Bike_Key:null,share_Bike_Key:null,owner_Email_Address:null,brake_Configuration:null,cockpit:{stem:_,handlebar:_,seat_Post:_,seat_Post_Clamp:_,dropper_Lever:_,lockout_Lever:_,grips:_,pedals:_,saddle:_},"frame_&_fork":{fork:_,rear_Shock:_,headseat:_},drivetrain:{chainguide:_,bottom_Bracket:_,crankset:_,largest_Chainring:_,second_Largest_Chainring:_,third_Largest_Chainring:_,chainring_Spider:_,chain:_,cassette:_,rear_Derailleur:_,front_Derailleur:_,shifter_RH:_,shifter_LH:_,shift_Brake_Combo_RH:_,shift_Brake_Combo_LH:_,shifter_Adapter_RH:_,shifter_Adapter_LH:_},brakes:{brake_Caliper_Front:_,brake_Caliper_Rear:_,brake_Lever_RH:_,brake_Lever_LH:_,brake_Pads_Front:_,brake_Pads_Rear:_,brake_Rotor_Front:_,brake_Rotor_Rear:_,brake_Adapter_Front:_,brake_Adapter_Rear:_},"wheels_&_tyres":{front_Wheel:_,front_Axle:_,rear_Wheel:_,rear_Axle:_,tyre_Front:_,tyre_Rear:_},is_E_Bike:null,eMotor_System_ID:null,eBattery_ID:null,eControl_Unit_ID:null,eCharger_ID:null,eInterconnects_ID:null},da={cockpit:{stem:_,handlebar:_,seat_Post:_,seat_Post_Clamp:_,dropper_Lever:_,lockout_Lever:_,grips:_,pedals:_,saddle:_},"frame_&_fork":{headset:_,fork:_,rear_Shock:_},drivetrain:{chainguide:_,bottom_Bracket:_,crankset:_,largest_Chainring:_,second_Largest_Chainring:_,third_Largest_Chainring:_,chainring_Spider:_,chain:_,cassette:_,rear_Derailleur:_,front_Derailleur:_,shifter_RH:_,shifter_LH:_,shift_Brake_Combo_RH:_,shift_Brake_Combo_LH:_,shifter_Adapter_RH:_,shifter_Adapter_LH:_},brakes:{brake_Caliper_Front:_,brake_Caliper_Rear:_,brake_Lever_RH:_,brake_Lever_LH:_,brake_Pads_Front:_,brake_Pads_Rear:_,brake_Rotor_Front:_,brake_Rotor_Rear:_,brake_Adapter_Front:_,brake_Adapter_Rear:_},"wheels_&_tyres":{front_Wheel:_,front_Axle:_,rear_Wheel:_,rear_Axle:_,tyre_Front:_,tyre_Rear:_}},Fr={headset:{},stem:{},handlebar:{},seat_Post:{},seat_Post_Clamp:{},dropper_Lever:{},lockout_Lever:{},grips:{},pedals:{},saddle:{},fork:{},rear_Shock:{},chainguide:{},bottom_Bracket:{},crankset:{},largest_Chainring:{},second_Largest_Chainring:{},third_Largest_Chainring:{},chainring_Spider:{},chain:{},cassette:{},rear_Derailleur:{},front_Derailleur:{},shifter_RH:{},shifter_LH:{},shift_Brake_Combo_RH:{},shift_Brake_Combo_LH:{},brake_Lever_RH:{},brake_Lever_LH:{},shifter_Adapter_RH:{},shifter_Adapter_LH:{},brake_Caliper_Front:{},brake_Caliper_Rear:{},brake_Pads_Front:{},brake_Pads_Rear:{},brake_Rotor_Front:{},brake_Rotor_Rear:{},brake_Adapter_Front:{},brake_Adapter_Rear:{},front_Wheel:{},front_Axle:{},rear_Wheel:{},rear_Axle:{},tyre_Front:{},tyre_Rear:{}},fl=(n,e)=>Object.keys(n).includes(e),bi=n=>(Object.keys(Fr).forEach(e=>{Object.keys(n).forEach(t=>{`${e}_ID`===t&&(Fr[e].id=n[t]),`${e}_Name`===t&&(Fr[e].name=n[t]),`${e}_Product_Category_ID`===t&&(Fr[e].product_category_id=n[t]),`${e}_Swap`===t&&(Fr[e].swap=n[t]),`${e}_Version_ID`===t&&(Fr[e].version_id=n[t]),`${e}_Unsaved_Changes`===t&&(Fr[e].unsaved_changes=n[t])})}),Object.keys(da).forEach(e=>{Object.keys(Fr).forEach(t=>{fl(da[e],t)&&(da[e][t]=Fr[t])})}),Object.keys(da).forEach(e=>{fl(ca,e)&&(ca[e]=da[e])}),Object.keys(n).forEach(e=>{fl(ca,e)&&(ca[e]=n[e])}),ca),uf=async n=>{var t;return{bikeSpec:n.spec,brand:n.bike_Brand,brandId:n.bike_Brand_ID,frameSeries:n.spec,frameSeriesId:n.model_Spec_ID,frameSize:n.bike_Size,images:[`https://imagestore.bikematrix.io/${n.bike_Reference}/400-${n.bike_Thumbnail}`],isCustom:n.bike_Type==="Custom_Bike",isShared:n.bike_Type==="Shared_Bike",key:n.bike_Type==="Shared_Bike"?n.share_Bike_Key:n.bike_Key,model:n.model_Family,modelId:n.model_Family_ID,name:n.bike_Name,size:n.bike_Size,sizeId:n.bike_Size_ID,variant:n.bike_Variant,year:n.year,_key:`${n.year}-${(t=n.spec)==null?void 0:t.replace(" ","")}`}};function g3(){const n=window.BikeMatrix.getConfig(),{bike:e,currentBike:t,setCurrentBike:r,lounge:i,removeBike:o,resetBike:l,saveBike:u}=Ht(),{t:c}=De(),{apiUrl:f,apiKey:p,apiToken:h,isShopify:b,virtualWorkshop:m}=window.BikeMatrix.getConfig();se(()=>{ht.value=null},[]);const P=new xt(f,p,h,b),x=async()=>{const w=new URLSearchParams(window.location.search).get("bikematrixid"),k=sessionStorage.getItem("bm_passed_id");if(!(k&&k!==null&&w===k)&&(!k||w!==k)){const D=i.find(O=>O.key===w);D?(r(D),sessionStorage.setItem("bm_passed_id",w)):D||(await A(w),sessionStorage.setItem("bm_passed_id",w))}},A=async z=>{const w=await P.getBikeBom(z);if(!(w!=null&&w.success)){n.logLevel==="verbose"&&console.error(w.logError);return}const k=bi(w.data);e.value=await uf(k),u(e.value),r(e.value)};return x(),se(()=>{i.map(z=>{z!=null&&z.isCustom&&(vo.value=!1)})},[i]),g(ie,{children:[i!=null&&i.length?i==null?void 0:i.filter(z=>!!z._key).map(z=>g("div",{class:"mb-4 relative",children:[g("p",{className:"opacity-0 absolute",children:z.key}),g("div",{onClick:()=>o(z.key),class:"w-7 h-7 z-10 -right-2 -top-2 flex items-center justify-center absolute bg-gray-200 text-gray-800 rounded-full",children:g(ua,{class:"h-3 w-3"})}),g(br,{compact:!0,onClick:w=>{w.preventDefault(),r((t==null?void 0:t.key)===(z==null?void 0:z.key)?null:{...z})},bike:z,selected:(t==null?void 0:t.key)===(z==null?void 0:z.key),spanner:m,custom:z==null?void 0:z.isCustom})]},z.key)):g("div",{class:Pe("relative mb-4 z-10 "),children:[g("div",{class:"w-full p-4 relative rounded-xl bg-white border border-gray-300 mb-4",children:[g("span",{class:"block rounded-lg h-6 w-1/2 bg-gray-200"}),g("img",{class:"w-auto mx-auto h-auto max-h-36 opacity-30",src:In("bike.png")}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-100"})]}),g("div",{class:Pe("w-full relative bg-white border -z-10 border-b-0 border-gray-300 rounded-t-xl h-20 mb-4","after:bottom-0 after:-inset-x-px after:-top-6 after:bg-gradient-to-t after:absolute after:from-white after:to-transparent"),children:[g("span",{class:" absolute left-4 top-4 rounded-lg h-6 w-1/2 bg-gray-200"}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-100"})]}),g("div",{class:" text-gray-800 text-center flex -mt-5 z-20 justify-center",children:[c("bikeselector_home_empty"),g("br",{}),c("bikeselector_home_add_a_bike")]})]}),g("button",{onClick:z=>{z.preventDefault(),l(),Oe("/add")},class:Pe("duration-300 transition-colors sticky bottom-[128px] mt-auto rounded-xl p-3 pr-5 w-full flex justify-center items-center",i.length&&!(t!=null&&t.key)?"bg-gray-950 text-white":i.length?"bg-gray-200 text-gray-800":"bg-gray-950 text-white",!t&&"bottom-0",t&&m&&"bottom-[128px]",t&&!m&&"bottom-[72px]"),children:[c("bikeselector_home_add_btn"),g(ua,{class:"h-3 absolute [&>path]:stroke-[2px] right-5 justify-self-end rotate-45"})]}),!!(i!=null&&i.length)&&!!(t!=null&&t.key)&&m&&g("button",{onClick:z=>{z.preventDefault(),!(t!=null&&t.isCustom)&&!(t!=null&&t.isShared)?Oe("/workshop"):t!=null&&t.isCustom&&!(t!=null&&t.isShared)?Oe("/bom"):!(t!=null&&t.isCustom)&&(t!=null&&t.isShared)&&Oe("/read-only")},class:Pe("duration-300 sticky bottom-[72px] transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center","bg-gray-200 text-gray-800"),children:[c("virtualworkshop_title"),g(v3,{class:"h-5 absolute right-5 justify-self-end"})]}),!!(i!=null&&i.length)&&!!(t!=null&&t.key)&&g("button",{onClick:z=>{z.preventDefault(),Oe("/browse")},class:Pe("duration-300 sticky bottom-4 transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center",i.length?"bg-gray-950 text-white":"bg-gray-200 text-gray-800"),children:c("bikeselector_home_browse_btn")}),g(Yr,{})]})}const b3=n=>te("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:10,cy:10,r:10,fill:"#030712"}),te("path",{d:"M6.57886 11.0526L9.02922 13.191L13.4604 7.02636",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),mr=({messages:n,left:e,margin:t})=>{const{t:r}=De(),[i,o]=U(""),[l,u]=U("");return se(()=>{n&&n.indexOf(" ")>=0&&(o(n.split(" ")[0]),u(n.split(" ")[1]))},[n]),g("div",{className:`flex h-4 w-auto ${e?"justify-start":"justify-center"} ${t?"mt-1":""}`,children:n&&g("p",{className:"message text-xs text-red-500",children:r(i||n,{endpoint_location:l})})})};function fa({type:n,title:e,placeholder:t,options:r=[],disabled:i=void 0,loading:o=!1,infoVisible:l=!1,children:u=void 0,error:c=null,...f}){const{t:p}=De(),h=m=>{switch(m){case"brand":return p("bikeselector_addbike_brand_desc");case"model":return p("bikeselector_addbike_model_desc");case"framespec":return p("bikeselector_addbike_framespec_desc");case"framesize":return p("bikeselector_size_framesize_desc");default:return""}},b=(m,P)=>m==="framesize"&&P==="One Size"?p("bikeselector_size_framesize_one_size"):P;return g(ie,{children:g("div",{class:"w-full flex flex-col space-y-2",children:[g("label",{class:"text-gray-800 font-bold text",children:e}),u&&g("div",{class:Pe("!my-0 overflow-hidden box-border transition-all duration-300",l?"max-h-screen":"h-0"),children:[g("p",{class:"text-gray-600 my-1 italic text-sm",children:h(n)}),g("div",{class:Pe("rounded-xl overflow-hidden my-0 relative py-1 h-32 bg-gray-100 w-full"),children:u})]}),g("div",{class:"w-full flex items-center relative",children:[g("select",{class:Pe("rounded-xl peer !pr-8 flex w-full border-gray-300 border p-4 py-3 text-lg bg-white placeholder:text-gray-700 text-gray-700","disabled:bg-gray-100 disabled:border-gray-200 disabled:text-gray-400",f.class),disabled:i,...f,children:[g("option",{value:"",selected:!f.value,disabled:!0,children:t}),r.map(m=>g("option",{value:m.value,disabled:m.disabled,children:b(n,m.label)}))]}),o?g("span",{class:"absolute block loader animate-spin right-4 w-5 h-5"}):f.value&&typeof i=="boolean"?g(b3,{class:"right-3 absolute w-5 pointer-events-none"}):g(gr,{class:"absolute h-3 text-gray-700 pointer-events-none rotate-90 right-5 peer-disabled:text-gray-400"})]}),c&&g(mr,{messages:c,left:!0,margin:5})]})})}const cf=n=>te("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:12.5,cy:12.5,r:12,fill:"white",stroke:"black"}),te("path",{d:"M9 16.0711L12.5355 12.5355M12.5355 12.5355L16.0711 9M12.5355 12.5355L16.0711 16.0711M12.5355 12.5355L9 9",stroke:"black",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),m3=`.input_container{display:flex;flex-direction:column}.input_wrapper{width:100%;border-radius:12px;padding:12px;border:1px solid #d1d5db;display:flex;align-items:center;justify-content:space-between}.input_wrapper input{width:100%}
|
|
1
|
+
var BikeMatrix=function(){"use strict";var $i,ve,qc,Jc,jn,Uc,Kc,Ms,_c,ea={},$c=[],o1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ro=Array.isArray;function Mr(n,e){for(var t in e)n[t]=e[t];return n}function ed(n){var e=n.parentNode;e&&e.removeChild(n)}function te(n,e,t){var r,i,o,l={};for(o in e)o=="key"?r=e[o]:o=="ref"?i=e[o]:l[o]=e[o];if(arguments.length>2&&(l.children=arguments.length>3?$i.call(arguments,2):t),typeof n=="function"&&n.defaultProps!=null)for(o in n.defaultProps)l[o]===void 0&&(l[o]=n.defaultProps[o]);return ta(n,l,r,i,null)}function ta(n,e,t,r,i){var o={type:n,props:e,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++qc,__i:-1,__u:0};return i==null&&ve.vnode!=null&&ve.vnode(o),o}function s1(){return{current:null}}function ie(n){return n.children}function vr(n,e){this.props=n,this.context=e}function oi(n,e){if(e==null)return n.__?oi(n.__,n.__i+1):null;for(var t;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null)return t.__e;return typeof n.type=="function"?oi(n):null}function td(n){var e,t;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if((t=n.__k[e])!=null&&t.__e!=null){n.__e=n.__c.base=t.__e;break}return td(n)}}function Ws(n){(!n.__d&&(n.__d=!0)&&jn.push(n)&&!no.__r++||Uc!==ve.debounceRendering)&&((Uc=ve.debounceRendering)||Kc)(no)}function no(){var n,e,t,r,i,o,l,u,c;for(jn.sort(Ms);n=jn.shift();)n.__d&&(e=jn.length,r=void 0,o=(i=(t=n).__v).__e,u=[],c=[],(l=t.__P)&&((r=Mr({},i)).__v=i.__v+1,ve.vnode&&ve.vnode(r),Zs(l,r,i,t.__n,l.ownerSVGElement!==void 0,32&i.__u?[o]:null,u,o??oi(i),!!(32&i.__u),c),r.__v=i.__v,r.__.__k[r.__i]=r,sd(u,r,c),r.__e!=o&&td(r)),jn.length>e&&jn.sort(Ms));no.__r=0}function rd(n,e,t,r,i,o,l,u,c,f,p){var h,b,m,P,x,A=r&&r.__k||$c,z=e.length;for(t.__d=c,l1(t,e,A),c=t.__d,h=0;h<z;h++)(m=t.__k[h])!=null&&typeof m!="boolean"&&typeof m!="function"&&(b=m.__i===-1?ea:A[m.__i]||ea,m.__i=h,Zs(n,m,b,i,o,l,u,c,f,p),P=m.__e,m.ref&&b.ref!=m.ref&&(b.ref&&Ys(b.ref,null,m),p.push(m.ref,m.__c||P,m)),x==null&&P!=null&&(x=P),65536&m.__u||b.__k===m.__k?c=nd(m,c,n):typeof m.type=="function"&&m.__d!==void 0?c=m.__d:P&&(c=P.nextSibling),m.__d=void 0,m.__u&=-196609);t.__d=c,t.__e=x}function l1(n,e,t){var r,i,o,l,u,c=e.length,f=t.length,p=f,h=0;for(n.__k=[],r=0;r<c;r++)l=r+h,(i=n.__k[r]=(i=e[r])==null||typeof i=="boolean"||typeof i=="function"?null:typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?ta(null,i,null,null,null):ro(i)?ta(ie,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?ta(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)!=null?(i.__=n,i.__b=n.__b+1,u=u1(i,t,l,p),i.__i=u,o=null,u!==-1&&(p--,(o=t[u])&&(o.__u|=131072)),o==null||o.__v===null?(u==-1&&h--,typeof i.type!="function"&&(i.__u|=65536)):u!==l&&(u===l+1?h++:u>l?p>c-l?h+=u-l:h--:u<l?u==l-1&&(h=u-l):h=0,u!==r+h&&(i.__u|=65536))):(o=t[l])&&o.key==null&&o.__e&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=oi(o)),Fs(o,o,!1),t[l]=null,p--);if(p)for(r=0;r<f;r++)(o=t[r])!=null&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=oi(o)),Fs(o,o))}function nd(n,e,t){var r,i;if(typeof n.type=="function"){for(r=n.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=n,e=nd(r[i],e,t));return e}n.__e!=e&&(t.insertBefore(n.__e,e||null),e=n.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Wr(n,e){return e=e||[],n==null||typeof n=="boolean"||(ro(n)?n.some(function(t){Wr(t,e)}):e.push(n)),e}function u1(n,e,t,r){var i=n.key,o=n.type,l=t-1,u=t+1,c=e[t];if(c===null||c&&i==c.key&&o===c.type&&!(131072&c.__u))return t;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;l>=0||u<e.length;){if(l>=0){if((c=e[l])&&!(131072&c.__u)&&i==c.key&&o===c.type)return l;l--}if(u<e.length){if((c=e[u])&&!(131072&c.__u)&&i==c.key&&o===c.type)return u;u++}}return-1}function id(n,e,t){e[0]==="-"?n.setProperty(e,t??""):n[e]=t==null?"":typeof t!="number"||o1.test(e)?t:t+"px"}function io(n,e,t,r,i){var o;e:if(e==="style")if(typeof t=="string")n.style.cssText=t;else{if(typeof r=="string"&&(n.style.cssText=r=""),r)for(e in r)t&&e in t||id(n.style,e,"");if(t)for(e in t)r&&t[e]===r[e]||id(n.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?r?t.u=r.u:(t.u=Date.now(),n.addEventListener(e,o?od:ad,o)):n.removeEventListener(e,o?od:ad,o);else{if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in n)try{n[e]=t??"";break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!=="-"?n.removeAttribute(e):n.setAttribute(e,t))}}function ad(n){if(this.l){var e=this.l[n.type+!1];if(n.t){if(n.t<=e.u)return}else n.t=Date.now();return e(ve.event?ve.event(n):n)}}function od(n){if(this.l)return this.l[n.type+!0](ve.event?ve.event(n):n)}function Zs(n,e,t,r,i,o,l,u,c,f){var p,h,b,m,P,x,A,z,w,k,D,O,L,B,T,X=e.type;if(e.constructor!==void 0)return null;128&t.__u&&(c=!!(32&t.__u),o=[u=e.__e=t.__e]),(p=ve.__b)&&p(e);e:if(typeof X=="function")try{if(z=e.props,w=(p=X.contextType)&&r[p.__c],k=p?w?w.props.value:p.__:r,t.__c?A=(h=e.__c=t.__c).__=h.__E:("prototype"in X&&X.prototype.render?e.__c=h=new X(z,k):(e.__c=h=new vr(z,k),h.constructor=X,h.render=d1),w&&w.sub(h),h.props=z,h.state||(h.state={}),h.context=k,h.__n=r,b=h.__d=!0,h.__h=[],h._sb=[]),h.__s==null&&(h.__s=h.state),X.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=Mr({},h.__s)),Mr(h.__s,X.getDerivedStateFromProps(z,h.__s))),m=h.props,P=h.state,h.__v=e,b)X.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(X.getDerivedStateFromProps==null&&z!==m&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(z,k),!h.__e&&(h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(z,h.__s,k)===!1||e.__v===t.__v)){for(e.__v!==t.__v&&(h.props=z,h.state=h.__s,h.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach(function(W){W&&(W.__=e)}),D=0;D<h._sb.length;D++)h.__h.push(h._sb[D]);h._sb=[],h.__h.length&&l.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(z,h.__s,k),h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(m,P,x)})}if(h.context=k,h.props=z,h.__P=n,h.__e=!1,O=ve.__r,L=0,"prototype"in X&&X.prototype.render){for(h.state=h.__s,h.__d=!1,O&&O(e),p=h.render(h.props,h.state,h.context),B=0;B<h._sb.length;B++)h.__h.push(h._sb[B]);h._sb=[]}else do h.__d=!1,O&&O(e),p=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++L<25);h.state=h.__s,h.getChildContext!=null&&(r=Mr(Mr({},r),h.getChildContext())),b||h.getSnapshotBeforeUpdate==null||(x=h.getSnapshotBeforeUpdate(m,P)),rd(n,ro(T=p!=null&&p.type===ie&&p.key==null?p.props.children:p)?T:[T],e,t,r,i,o,l,u,c,f),h.base=e.__e,e.__u&=-161,h.__h.length&&l.push(h),A&&(h.__E=h.__=null)}catch(W){e.__v=null,c||o!=null?(e.__e=u,e.__u|=c?160:32,o[o.indexOf(u)]=null):(e.__e=t.__e,e.__k=t.__k),ve.__e(W,e,t)}else o==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=c1(t.__e,e,t,r,i,o,l,c,f);(p=ve.diffed)&&p(e)}function sd(n,e,t){e.__d=void 0;for(var r=0;r<t.length;r++)Ys(t[r],t[++r],t[++r]);ve.__c&&ve.__c(e,n),n.some(function(i){try{n=i.__h,i.__h=[],n.some(function(o){o.call(i)})}catch(o){ve.__e(o,i.__v)}})}function c1(n,e,t,r,i,o,l,u,c){var f,p,h,b,m,P,x,A=t.props,z=e.props,w=e.type;if(w==="svg"&&(i=!0),o!=null){for(f=0;f<o.length;f++)if((m=o[f])&&"setAttribute"in m==!!w&&(w?m.localName===w:m.nodeType===3)){n=m,o[f]=null;break}}if(n==null){if(w===null)return document.createTextNode(z);n=i?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,z.is&&z),o=null,u=!1}if(w===null)A===z||u&&n.data===z||(n.data=z);else{if(o=o&&$i.call(n.childNodes),A=t.props||ea,!u&&o!=null)for(A={},f=0;f<n.attributes.length;f++)A[(m=n.attributes[f]).name]=m.value;for(f in A)m=A[f],f=="children"||(f=="dangerouslySetInnerHTML"?h=m:f==="key"||f in z||io(n,f,null,m,i));for(f in z)m=z[f],f=="children"?b=m:f=="dangerouslySetInnerHTML"?p=m:f=="value"?P=m:f=="checked"?x=m:f==="key"||u&&typeof m!="function"||A[f]===m||io(n,f,m,A[f],i);if(p)u||h&&(p.__html===h.__html||p.__html===n.innerHTML)||(n.innerHTML=p.__html),e.__k=[];else if(h&&(n.innerHTML=""),rd(n,ro(b)?b:[b],e,t,r,i&&w!=="foreignObject",o,l,o?o[0]:t.__k&&oi(t,0),u,c),o!=null)for(f=o.length;f--;)o[f]!=null&&ed(o[f]);u||(f="value",P!==void 0&&(P!==n[f]||w==="progress"&&!P||w==="option"&&P!==A[f])&&io(n,f,P,A[f],!1),f="checked",x!==void 0&&x!==n[f]&&io(n,f,x,A[f],!1))}return n}function Ys(n,e,t){try{typeof n=="function"?n(e):n.current=e}catch(r){ve.__e(r,t)}}function Fs(n,e,t){var r,i;if(ve.unmount&&ve.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||Ys(r,null,e)),(r=n.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){ve.__e(o,e)}r.base=r.__P=null,n.__c=void 0}if(r=n.__k)for(i=0;i<r.length;i++)r[i]&&Fs(r[i],e,t||typeof n.type!="function");t||n.__e==null||ed(n.__e),n.__=n.__e=n.__d=void 0}function d1(n,e,t){return this.constructor(n,t)}function un(n,e,t){var r,i,o,l;ve.__&&ve.__(n,e),i=(r=typeof t=="function")?null:t&&t.__k||e.__k,o=[],l=[],Zs(e,n=(!r&&t||e).__k=te(ie,null,[n]),i||ea,ea,e.ownerSVGElement!==void 0,!r&&t?[t]:i?null:e.firstChild?$i.call(e.childNodes):null,o,!r&&t?t:i?i.__e:e.firstChild,r,l),sd(o,n,l)}function Ns(n,e){un(n,e,Ns)}function Rs(n,e,t){var r,i,o,l,u=Mr({},n.props);for(o in n.type&&n.type.defaultProps&&(l=n.type.defaultProps),e)o=="key"?r=e[o]:o=="ref"?i=e[o]:u[o]=e[o]===void 0&&l!==void 0?l[o]:e[o];return arguments.length>2&&(u.children=arguments.length>3?$i.call(arguments,2):t),ta(n.type,u,r||n.key,i||n.ref,null)}function ra(n,e){var t={__c:e="__cC"+_c++,__:n,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,o;return this.getChildContext||(i=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&i.some(function(u){u.__e=!0,Ws(u)})},this.sub=function(l){i.push(l);var u=l.componentWillUnmount;l.componentWillUnmount=function(){i.splice(i.indexOf(l),1),u&&u.call(l)}}),r.children}};return t.Provider.__=t.Consumer.contextType=t}$i=$c.slice,ve={__e:function(n,e,t,r){for(var i,o,l;e=e.__;)if((i=e.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(n)),l=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(n,r||{}),l=i.__d),l)return i.__E=i}catch(u){n=u}throw n}},qc=0,Jc=function(n){return n!=null&&n.constructor==null},vr.prototype.setState=function(n,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Mr({},this.state),typeof n=="function"&&(n=n(Mr({},t),this.props)),n&&Mr(t,n),n!=null&&this.__v&&(e&&this._sb.push(e),Ws(this))},vr.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),Ws(this))},vr.prototype.render=ie,jn=[],Kc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ms=function(n,e){return n.__v.__b-e.__v.__b},no.__r=0,_c=0;function Gs(){return(Gs=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(this,arguments)}var f1=["context","children"];function p1(n){this.getChildContext=function(){return n.context};var e=n.children,t=function(r,i){if(r==null)return{};var o,l,u={},c=Object.keys(r);for(l=0;l<c.length;l++)i.indexOf(o=c[l])>=0||(u[o]=r[o]);return u}(n,f1);return Rs(e,t)}function h1(){var n=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(n),this._vdom=te(p1,Gs({},this._props,{context:n.detail.context}),function e(t,r){if(t.nodeType===3)return t.data;if(t.nodeType!==1)return null;var i=[],o={},l=0,u=t.attributes,c=t.childNodes;for(l=u.length;l--;)u[l].name!=="slot"&&(o[u[l].name]=u[l].value,o[ld(u[l].name)]=u[l].value);for(l=c.length;l--;){var f=e(c[l],null),p=c[l].slot;p?o[p]=te(ud,{name:p},f):i[l]=f}var h=r?te(ud,null,i):i;return te(r||t.nodeName.toLowerCase(),o,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ns:un)(this._vdom,this._root)}function ld(n){return n.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():""})}function v1(n,e,t){if(this._vdom){var r={};r[n]=t=t??void 0,r[ld(n)]=t,this._vdom=Rs(this._vdom,r),un(this._vdom,this._root)}}function g1(){un(this._vdom=null,this._root)}function ud(n,e){var t=this;return te("slot",Gs({},n,{ref:function(r){r?(t.ref=r,t._listener||(t._listener=function(i){i.stopPropagation(),i.detail.context=e},r.addEventListener("_preact",t._listener))):t.ref.removeEventListener("_preact",t._listener)}}))}function b1(n,e,t,r){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=n,o._root=r&&r.shadow?o.attachShadow({mode:r.mode||"open"}):o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=h1,i.prototype.attributeChangedCallback=v1,i.prototype.disconnectedCallback=g1,t=t||n.observedAttributes||Object.keys(n.propTypes||{}),i.observedAttributes=t,t.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(l){this._vdom?this.attributeChangedCallback(o,null,l):(this._props||(this._props={}),this._props[o]=l,this.connectedCallback());var u=typeof l;l!=null&&u!=="string"&&u!=="boolean"&&u!=="number"||this.setAttribute(o,l)}})}),customElements.define(e||n.tagName||n.displayName||n.name,i)}var cn,We,Qs,cd,si=0,dd=[],ao=[],Qe=ve,fd=Qe.__b,pd=Qe.__r,hd=Qe.diffed,vd=Qe.__c,gd=Qe.unmount,bd=Qe.__;function li(n,e){Qe.__h&&Qe.__h(We,n,si||e),si=0;var t=We.__H||(We.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({__V:ao}),t.__[n]}function U(n){return si=1,md(xd,n)}function md(n,e,t){var r=li(cn++,2);if(r.t=n,!r.__c&&(r.__=[t?t(e):xd(void 0,e),function(u){var c=r.__N?r.__N[0]:r.__[0],f=r.t(c,u);c!==f&&(r.__N=[f,r.__[1]],r.__c.setState({}))}],r.__c=We,!We.u)){var i=function(u,c,f){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(b){return!!b.__c});if(p.every(function(b){return!b.__N}))return!o||o.call(this,u,c,f);var h=!1;return p.forEach(function(b){if(b.__N){var m=b.__[0];b.__=b.__N,b.__N=void 0,m!==b.__[0]&&(h=!0)}}),!(!h&&r.__c.props===u)&&(!o||o.call(this,u,c,f))};We.u=!0;var o=We.shouldComponentUpdate,l=We.componentWillUpdate;We.componentWillUpdate=function(u,c,f){if(this.__e){var p=o;o=void 0,i(u,c,f),o=p}l&&l.call(this,u,c,f)},We.shouldComponentUpdate=i}return r.__N||r.__}function se(n,e){var t=li(cn++,3);!Qe.__s&&Js(t.__H,e)&&(t.__=n,t.i=e,We.__H.__h.push(t))}function ui(n,e){var t=li(cn++,4);!Qe.__s&&Js(t.__H,e)&&(t.__=n,t.i=e,We.__h.push(t))}function ye(n){return si=5,zr(function(){return{current:n}},[])}function m1(n,e,t){si=6,ui(function(){return typeof n=="function"?(n(e()),function(){return n(null)}):n?(n.current=e(),function(){return n.current=null}):void 0},t==null?t:t.concat(n))}function zr(n,e){var t=li(cn++,7);return Js(t.__H,e)?(t.__V=n(),t.i=e,t.__h=n,t.__V):t.__}function yd(n,e){return si=8,zr(function(){return n},e)}function Vs(n){var e=We.context[n.__c],t=li(cn++,9);return t.c=n,e?(t.__==null&&(t.__=!0,e.sub(We)),e.props.value):n.__}function y1(n,e){Qe.useDebugValue&&Qe.useDebugValue(e?e(n):n)}function w1(){var n=li(cn++,11);if(!n.__){for(var e=We.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var t=e.__m||(e.__m=[0,0]);n.__="P"+t[0]+"-"+t[1]++}return n.__}function x1(){for(var n;n=dd.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(oo),n.__H.__h.forEach(qs),n.__H.__h=[]}catch(e){n.__H.__h=[],Qe.__e(e,n.__v)}}Qe.__b=function(n){We=null,fd&&fd(n)},Qe.__=function(n,e){n&&e.__k&&e.__k.__m&&(n.__m=e.__k.__m),bd&&bd(n,e)},Qe.__r=function(n){pd&&pd(n),cn=0;var e=(We=n.__c).__H;e&&(Qs===We?(e.__h=[],We.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=ao,t.__N=t.i=void 0})):(e.__h.forEach(oo),e.__h.forEach(qs),e.__h=[],cn=0)),Qs=We},Qe.diffed=function(n){hd&&hd(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(dd.push(e)!==1&&cd===Qe.requestAnimationFrame||((cd=Qe.requestAnimationFrame)||P1)(x1)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==ao&&(t.__=t.__V),t.i=void 0,t.__V=ao})),Qs=We=null},Qe.__c=function(n,e){e.some(function(t){try{t.__h.forEach(oo),t.__h=t.__h.filter(function(r){return!r.__||qs(r)})}catch(r){e.some(function(i){i.__h&&(i.__h=[])}),e=[],Qe.__e(r,t.__v)}}),vd&&vd(n,e)},Qe.unmount=function(n){gd&&gd(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach(function(r){try{oo(r)}catch(i){e=i}}),t.__H=void 0,e&&Qe.__e(e,t.__v))};var wd=typeof requestAnimationFrame=="function";function P1(n){var e,t=function(){clearTimeout(r),wd&&cancelAnimationFrame(e),setTimeout(n)},r=setTimeout(t,100);wd&&(e=requestAnimationFrame(t))}function oo(n){var e=We,t=n.__c;typeof t=="function"&&(n.__c=void 0,t()),We=e}function qs(n){var e=We;n.__c=n.__(),We=e}function Js(n,e){return!n||n.length!==e.length||e.some(function(t,r){return t!==n[r]})}function xd(n,e){return typeof e=="function"?e(n):e}function Pd(n,e){for(var t in e)n[t]=e[t];return n}function Us(n,e){for(var t in n)if(t!=="__source"&&!(t in e))return!0;for(var r in e)if(r!=="__source"&&n[r]!==e[r])return!0;return!1}function Ks(n,e){this.props=n,this.context=e}function k1(n,e){function t(i){var o=this.props.ref,l=o==i.ref;return!l&&o&&(o.call?o(null):o.current=null),e?!e(this.props,i)||!l:Us(this.props,i)}function r(i){return this.shouldComponentUpdate=t,te(n,i)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ks.prototype=new vr).isPureReactComponent=!0,Ks.prototype.shouldComponentUpdate=function(n,e){return Us(this.props,n)||Us(this.state,e)};var kd=ve.__b;ve.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),kd&&kd(n)};var z1=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function _s(n){function e(t){var r=Pd({},t);return delete r.ref,n(r,t.ref||null)}return e.$$typeof=z1,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}var zd=function(n,e){return n==null?null:Wr(Wr(n).map(e))},C1={map:zd,forEach:zd,count:function(n){return n?Wr(n).length:0},only:function(n){var e=Wr(n);if(e.length!==1)throw"Children.only";return e[0]},toArray:Wr},A1=ve.__e;ve.__e=function(n,e,t,r){if(n.then){for(var i,o=e;o=o.__;)if((i=o.__c)&&i.__c)return e.__e==null&&(e.__e=t.__e,e.__k=t.__k),i.__c(n,e)}A1(n,e,t,r)};var Cd=ve.unmount;function Ad(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),n.__c.__H=null),(n=Pd({},n)).__c!=null&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map(function(r){return Ad(r,e,t)})),n}function Hd(n,e,t){return n&&t&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(r){return Hd(r,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=t)),n}function so(){this.__u=0,this.t=null,this.__b=null}function Dd(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function H1(n){var e,t,r;function i(o){if(e||(e=n()).then(function(l){t=l.default||l},function(l){r=l}),r)throw r;if(!t)throw e;return te(t,o)}return i.displayName="Lazy",i.__f=!0,i}function na(){this.u=null,this.o=null}ve.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&32&n.__u&&(n.type=null),Cd&&Cd(n)},(so.prototype=new vr).__c=function(n,e){var t=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(t);var i=Dd(r.__v),o=!1,l=function(){o||(o=!0,t.__R=null,i?i(u):u())};t.__R=l;var u=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Hd(c,c.__c.__P,c.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(l,l)},so.prototype.componentWillUnmount=function(){this.t=[]},so.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ad(this.__b,t,r.__O=r.__P)}this.__b=null}var i=e.__a&&te(ie,null,n.fallback);return i&&(i.__u&=-33),[te(ie,null,e.__a?null:n.children),i]};var Od=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function D1(n){return this.getChildContext=function(){return n.context},n.children}function O1(n){var e=this,t=n.i;e.componentWillUnmount=function(){un(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),un(te(D1,{context:e.context},n.__v),e.l)}function X1(n,e){var t=te(O1,{__v:n,i:e});return t.containerInfo=e,t}(na.prototype=new vr).__a=function(n){var e=this,t=Dd(e.__v),r=e.o.get(n);return r[0]++,function(i){var o=function(){e.props.revealOrder?(r.push(i),Od(e,n,r)):i()};t?t(o):o()}},na.prototype.render=function(n){this.u=null,this.o=new Map;var e=Wr(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},na.prototype.componentDidUpdate=na.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(e,t){Od(n,t,e)})};var Xd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,E1=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,L1=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,B1=/[A-Z0-9]/g,j1=typeof document<"u",T1=function(n){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(n)};function I1(n,e,t){return e.__k==null&&(e.textContent=""),un(n,e),typeof t=="function"&&t(),n?n.__c:null}function S1(n,e,t){return Ns(n,e),typeof t=="function"&&t(),n?n.__c:null}vr.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(vr.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})});var Ed=ve.event;function M1(){}function W1(){return this.cancelBubble}function Z1(){return this.defaultPrevented}ve.event=function(n){return Ed&&(n=Ed(n)),n.persist=M1,n.isPropagationStopped=W1,n.isDefaultPrevented=Z1,n.nativeEvent=n};var $s,Y1={enumerable:!1,configurable:!0,get:function(){return this.class}},Ld=ve.vnode;ve.vnode=function(n){typeof n.type=="string"&&function(e){var t=e.props,r=e.type,i={};for(var o in t){var l=t[o];if(!(o==="value"&&"defaultValue"in t&&l==null||j1&&o==="children"&&r==="noscript"||o==="class"||o==="className")){var u=o.toLowerCase();o==="defaultValue"&&"value"in t&&t.value==null?o="value":o==="download"&&l===!0?l="":u==="translate"&&l==="no"?l=!1:u==="ondoubleclick"?o="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||T1(t.type)?u==="onfocus"?o="onfocusin":u==="onblur"?o="onfocusout":L1.test(o)?o=u:r.indexOf("-")===-1&&E1.test(o)?o=o.replace(B1,"-$&").toLowerCase():l===null&&(l=void 0):u=o="oninput",u==="oninput"&&i[o=u]&&(o="oninputCapture"),i[o]=l}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Wr(t.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=Wr(t.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",Y1)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(n),n.$$typeof=Xd,Ld&&Ld(n)};var Bd=ve.__r;ve.__r=function(n){Bd&&Bd(n),$s=n.__c};var jd=ve.diffed;ve.diffed=function(n){jd&&jd(n);var e=n.props,t=n.__e;t!=null&&n.type==="textarea"&&"value"in e&&e.value!==t.value&&(t.value=e.value==null?"":e.value),$s=null};var F1={ReactCurrentDispatcher:{current:{readContext:function(n){return $s.__n[n.__c].props.value}}}};function N1(n){return te.bind(null,n)}function lo(n){return!!n&&n.$$typeof===Xd}function R1(n){return lo(n)&&n.type===ie}function G1(n){return lo(n)?Rs.apply(null,arguments):n}function Q1(n){return!!n.__k&&(un(null,n),!0)}function V1(n){return n&&(n.base||n.nodeType===1&&n)||null}var q1=function(n,e){return n(e)},J1=function(n,e){return n(e)},U1=ie;function Td(n){n()}function K1(n){return n}function _1(){return[!1,Td]}var $1=ui,eg=lo;function tg(n,e){var t=e(),r=U({h:{__:t,v:e}}),i=r[0].h,o=r[1];return ui(function(){i.__=t,i.v=e,el(i)&&o({h:i})},[n,t,e]),se(function(){return el(i)&&o({h:i}),n(function(){el(i)&&o({h:i})})},[n]),t}function el(n){var e,t,r=n.v,i=n.__;try{var o=r();return!((e=i)===(t=o)&&(e!==0||1/e==1/t)||e!=e&&t!=t)}catch{return!0}}var it={useState:U,useId:w1,useReducer:md,useEffect:se,useLayoutEffect:ui,useInsertionEffect:$1,useTransition:_1,useDeferredValue:K1,useSyncExternalStore:tg,startTransition:Td,useRef:ye,useImperativeHandle:m1,useMemo:zr,useCallback:yd,useContext:Vs,useDebugValue:y1,version:"17.0.2",Children:C1,render:I1,hydrate:S1,unmountComponentAtNode:Q1,createPortal:X1,createElement:te,createContext:ra,createFactory:N1,cloneElement:G1,createRef:s1,Fragment:ie,isValidElement:lo,isElement:eg,isFragment:R1,findDOMNode:V1,Component:vr,PureComponent:Ks,memo:k1,forwardRef:_s,flushSync:J1,unstable_batchedUpdates:q1,StrictMode:U1,Suspense:so,SuspenseList:na,lazy:H1,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F1},dn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}const ng=(...n)=>{console!=null&&console.warn&&(Tn(n[0])&&(n[0]=`react-i18next:: ${n[0]}`),console.warn(...n))},Id={},tl=(...n)=>{Tn(n[0])&&Id[n[0]]||(Tn(n[0])&&(Id[n[0]]=new Date),ng(...n))},Sd=(n,e)=>()=>{if(n.isInitialized)e();else{const t=()=>{setTimeout(()=>{n.off("initialized",t)},0),e()};n.on("initialized",t)}},Md=(n,e,t)=>{n.loadNamespaces(e,Sd(n,t))},Wd=(n,e,t,r)=>{Tn(t)&&(t=[t]),t.forEach(i=>{n.options.ns.indexOf(i)<0&&n.options.ns.push(i)}),n.loadLanguages(e,Sd(n,r))},ig=(n,e,t={})=>!e.languages||!e.languages.length?(tl("i18n.languages were undefined or empty",e.languages),!0):e.hasLoadedNamespace(n,{lng:t.lng,precheck:(r,i)=>{var o;if(((o=t.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,n))return!1}}),Tn=n=>typeof n=="string",ag=n=>typeof n=="object"&&n!==null,og=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,sg={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},lg=n=>sg[n];let rl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:n=>n.replace(og,lg)};const ug=(n={})=>{rl={...rl,...n}},cg=()=>rl;let Zd;const dg=n=>{Zd=n},ci=()=>Zd,fg={type:"3rdParty",init(n){ug(n.options.react),dg(n)}},pg=ra();class hg{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const vg=(n,e)=>{const t=ye();return se(()=>{t.current=e?t.current:n},[n,e]),t.current},Yd=(n,e,t,r)=>n.getFixedT(e,t,r),gg=(n,e,t,r)=>yd(Yd(n,e,t,r),[n,e,t,r]),De=(n,e={})=>{var D,O,L,B;const{i18n:t}=e,{i18n:r,defaultNS:i}=Vs(pg)||{},o=t||r||ci();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new hg),!o){tl("You will need to pass in an i18next instance by using initReactI18next");const T=(W,M)=>Tn(M)?M:ag(M)&&Tn(M.defaultValue)?M.defaultValue:Array.isArray(W)?W[W.length-1]:W,X=[T,{},!1];return X.t=T,X.i18n={},X.ready=!1,X}(D=o.options.react)!=null&&D.wait&&tl("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...cg(),...o.options.react,...e},{useSuspense:u,keyPrefix:c}=l;let f=n||i||((O=o.options)==null?void 0:O.defaultNS);f=Tn(f)?[f]:f||["translation"],(B=(L=o.reportNamespaces).addUsedNamespaces)==null||B.call(L,f);const p=(o.isInitialized||o.initializedStoreOnce)&&f.every(T=>ig(T,o,l)),h=gg(o,e.lng||null,l.nsMode==="fallback"?f:f[0],c),b=()=>h,m=()=>Yd(o,e.lng||null,l.nsMode==="fallback"?f:f[0],c),[P,x]=U(b);let A=f.join();e.lng&&(A=`${e.lng}${A}`);const z=vg(A),w=ye(!0);se(()=>{const{bindI18n:T,bindI18nStore:X}=l;w.current=!0,!p&&!u&&(e.lng?Wd(o,e.lng,f,()=>{w.current&&x(m)}):Md(o,f,()=>{w.current&&x(m)})),p&&z&&z!==A&&w.current&&x(m);const W=()=>{w.current&&x(m)};return T&&(o==null||o.on(T,W)),X&&(o==null||o.store.on(X,W)),()=>{w.current=!1,o&&(T==null||T.split(" ").forEach(M=>o.off(M,W))),X&&o&&X.split(" ").forEach(M=>o.store.off(M,W))}},[o,A]),se(()=>{w.current&&p&&x(b)},[o,c,p]);const k=[P,o,p];if(k.t=P,k.i18n=o,k.ready=p,p||!p&&!u)return k;throw new Promise(T=>{e.lng?Wd(o,e.lng,f,()=>T()):Md(o,f,()=>T())})};var bg=Symbol.for("preact-signals");function uo(){if(fn>1)fn--;else{for(var n,e=!1;ia!==void 0;){var t=ia;for(ia=void 0,nl++;t!==void 0;){var r=t.o;if(t.o=void 0,t.f&=-3,!(8&t.f)&&Nd(t))try{t.c()}catch(i){e||(n=i,e=!0)}t=r}}if(nl=0,fn--,e)throw n}}function mg(n){if(fn>0)return n();fn++;try{return n()}finally{uo()}}var Be=void 0,ia=void 0,fn=0,nl=0,co=0;function Fd(n){if(Be!==void 0){var e=n.n;if(e===void 0||e.t!==Be)return e={i:0,S:n,p:Be.s,n:void 0,t:Be,e:void 0,x:void 0,r:e},Be.s!==void 0&&(Be.s.n=e),Be.s=e,n.n=e,32&Be.f&&n.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Be.s,e.n=void 0,Be.s.n=e,Be.s=e),e}}function ct(n){this.v=n,this.i=0,this.n=void 0,this.t=void 0}ct.prototype.brand=bg,ct.prototype.h=function(){return!0},ct.prototype.S=function(n){this.t!==n&&n.e===void 0&&(n.x=this.t,this.t!==void 0&&(this.t.e=n),this.t=n)},ct.prototype.U=function(n){if(this.t!==void 0){var e=n.e,t=n.x;e!==void 0&&(e.x=t,n.e=void 0),t!==void 0&&(t.e=e,n.x=void 0),n===this.t&&(this.t=t)}},ct.prototype.subscribe=function(n){var e=this;return al(function(){var t=e.value,r=Be;Be=void 0;try{n(t)}finally{Be=r}})},ct.prototype.valueOf=function(){return this.value},ct.prototype.toString=function(){return this.value+""},ct.prototype.toJSON=function(){return this.value},ct.prototype.peek=function(){var n=Be;Be=void 0;try{return this.value}finally{Be=n}},Object.defineProperty(ct.prototype,"value",{get:function(){var n=Fd(this);return n!==void 0&&(n.i=this.i),this.v},set:function(n){if(n!==this.v){if(nl>100)throw new Error("Cycle detected");this.v=n,this.i++,co++,fn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{uo()}}}});function wt(n){return new ct(n)}function Nd(n){for(var e=n.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Rd(n){for(var e=n.s;e!==void 0;e=e.n){var t=e.S.n;if(t!==void 0&&(e.r=t),e.S.n=e,e.i=-1,e.n===void 0){n.s=e;break}}}function Gd(n){for(var e=n.s,t=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):t=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}n.s=t}function di(n){ct.call(this,void 0),this.x=n,this.s=void 0,this.g=co-1,this.f=4}(di.prototype=new ct).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===co))return!0;if(this.g=co,this.f|=1,this.i>0&&!Nd(this))return this.f&=-2,!0;var n=Be;try{Rd(this),Be=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return Be=n,Gd(this),this.f&=-2,!0},di.prototype.S=function(n){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}ct.prototype.S.call(this,n)},di.prototype.U=function(n){if(this.t!==void 0&&(ct.prototype.U.call(this,n),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},di.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var n=this.t;n!==void 0;n=n.x)n.t.N()}},Object.defineProperty(di.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var n=Fd(this);if(this.h(),n!==void 0&&(n.i=this.i),16&this.f)throw this.v;return this.v}});function yg(n){return new di(n)}function Qd(n){var e=n.u;if(n.u=void 0,typeof e=="function"){fn++;var t=Be;Be=void 0;try{e()}catch(r){throw n.f&=-2,n.f|=8,il(n),r}finally{Be=t,uo()}}}function il(n){for(var e=n.s;e!==void 0;e=e.n)e.S.U(e);n.x=void 0,n.s=void 0,Qd(n)}function wg(n){if(Be!==this)throw new Error("Out-of-order effect");Gd(this),Be=n,this.f&=-2,8&this.f&&il(this),uo()}function aa(n){this.x=n,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}aa.prototype.c=function(){var n=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{n()}},aa.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Qd(this),Rd(this),fn++;var n=Be;return Be=this,wg.bind(this,n)},aa.prototype.N=function(){2&this.f||(this.f|=2,this.o=ia,ia=this)},aa.prototype.d=function(){this.f|=8,1&this.f||il(this)};function al(n){var e=new aa(n);try{e.c()}catch(t){throw e.d(),t}return e.d.bind(e)}var ol;function fi(n,e){ve[n]=e.bind(null,ve[n]||function(){})}function fo(n){ol&&ol(),ol=n&&n.S()}function Vd(n){var e=this,t=n.data,r=Pg(t);r.value=t;var i=zr(function(){for(var o=e.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return e.__$u.c=function(){var l,u=e.__$u.S(),c=i.value;u(),Jc(c)||((l=e.base)==null?void 0:l.nodeType)!==3?(e.__$f|=1,e.setState({})):e.base.data=c},yg(function(){var l=r.value.value;return l===0?0:l===!0?"":l||""})},[]);return i.value}Vd.displayName="_st",Object.defineProperties(ct.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Vd},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),fi("__b",function(n,e){if(typeof e.type=="string"){var t,r=e.props;for(var i in r)if(i!=="children"){var o=r[i];o instanceof ct&&(t||(e.__np=t={}),t[i]=o,r[i]=o.peek())}}n(e)}),fi("__r",function(n,e){fo();var t,r=e.__c;r&&(r.__$f&=-2,(t=r.__$u)===void 0&&(r.__$u=t=function(i){var o;return al(function(){o=this}),o.c=function(){r.__$f|=1,r.setState({})},o}())),fo(t),n(e)}),fi("__e",function(n,e,t,r){fo(),n(e,t,r)}),fi("diffed",function(n,e){fo();var t;if(typeof e.type=="string"&&(t=e.__e)){var r=e.__np,i=e.props;if(r){var o=t.U;if(o)for(var l in o){var u=o[l];u!==void 0&&!(l in r)&&(u.d(),o[l]=void 0)}else t.U=o={};for(var c in r){var f=o[c],p=r[c];f===void 0?(f=xg(t,c,p,i),o[c]=f):f.o(p,i)}}}n(e)});function xg(n,e,t,r){var i=e in n&&n.ownerSVGElement===void 0,o=wt(t);return{o:function(l,u){o.value=l,r=u},d:al(function(){var l=o.value.value;r[e]!==l&&(r[e]=l,i?n[e]=l:l?n.setAttribute(e,l):n.removeAttribute(e))})}}fi("unmount",function(n,e){if(typeof e.type=="string"){var t=e.__e;if(t){var r=t.U;if(r){t.U=void 0;for(var i in r){var o=r[i];o&&o.d()}}}}else{var l=e.__c;if(l){var u=l.__$u;u&&(l.__$u=void 0,u.d())}}n(e)}),fi("__h",function(n,e,t,r){(r<3||r===9)&&(e.__$f|=2),n(e,t,r)}),vr.prototype.shouldComponentUpdate=function(n,e){var t=this.__$u;if(!(t&&t.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var i in n)if(i!=="__source"&&n[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in n))return!0;return!1};function Pg(n){return zr(function(){return wt(n)},[])}const sl=wt(!1),xe=wt(null),pi=wt([]),tr=wt(!1),hi=wt([]),rr=wt(!1),po=wt(null),ht=wt(null),ho=wt(!1),vo=wt(!0),oa=wt(!1),kg=()=>{mg(()=>{xe.value=null,pi.value=[],tr.value=!1,hi.value=[],rr.value=!1,po.value=null,ht.value=null,ho.value=!1,vo.value=!0,oa.value=!1})},ll="bm_currentBike",zg="v2",Cg="https://cdn.bikematrix.io",qd={isShopify:!1,skuField:"sku",apiUrl:"https://api.bikematrix.io/proxy/v3/",apiKey:"",apiToken:"",currentCollectionHandle:"",categories:[],collections:[],pageType:"index",showHomePageCollection:!1,showSearchPageCollection:!1,designMode:!1,bikeSelectorBrands:"",productsCollections:{},isHomePage:!1,isSearchPage:!1,products:{},collectionUrl:"",compatiblityListCurrentPage:0,showCompatibleList:!0,sku:"",productCollections:[],logLevel:"none",virtualWorkshop:!0,internalLink:""},In=function(n){return new URL(n,Cg).toString()};function Jd(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var i=n.length;for(e=0;e<i;e++)n[e]&&(t=Jd(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function Ag(){for(var n,e,t=0,r="",i=arguments.length;t<i;t++)(n=arguments[t])&&(e=Jd(n))&&(r&&(r+=" "),r+=e);return r}const ul="-";function Hg(n){const e=Og(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;function i(l){const u=l.split(ul);return u[0]===""&&u.length!==1&&u.shift(),Ud(u,e)||Dg(l)}function o(l,u){const c=t[l]||[];return u&&r[l]?[...c,...r[l]]:c}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function Ud(n,e){var l;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),i=r?Ud(n.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=n.join(ul);return(l=e.validators.find(({validator:u})=>u(o)))==null?void 0:l.classGroupId}const Kd=/^\[(.+)\]$/;function Dg(n){if(Kd.test(n)){const e=Kd.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}}function Og(n){const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return Eg(Object.entries(n.classGroups),t).forEach(([o,l])=>{cl(l,r,o,e)}),r}function cl(n,e,t,r){n.forEach(i=>{if(typeof i=="string"){const o=i===""?e:_d(e,i);o.classGroupId=t;return}if(typeof i=="function"){if(Xg(i)){cl(i(r),e,t,r);return}e.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([o,l])=>{cl(l,_d(e,o),t,r)})})}function _d(n,e){let t=n;return e.split(ul).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t}function Xg(n){return n.isThemeGetter}function Eg(n,e){return e?n.map(([t,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,u])=>[e+l,u])):o);return[t,i]}):n}function Lg(n){if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;function i(o,l){t.set(o,l),e++,e>n&&(e=0,r=t,t=new Map)}return{get(o){let l=t.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){t.has(o)?t.set(o,l):i(o,l)}}}const $d="!";function Bg(n){const e=n.separator,t=e.length===1,r=e[0],i=e.length;return function(l){const u=[];let c=0,f=0,p;for(let x=0;x<l.length;x++){let A=l[x];if(c===0){if(A===r&&(t||l.slice(x,x+i)===e)){u.push(l.slice(f,x)),f=x+i;continue}if(A==="/"){p=x;continue}}A==="["?c++:A==="]"&&c--}const h=u.length===0?l:l.substring(f),b=h.startsWith($d),m=b?h.substring(1):h,P=p&&p>f?p-f:void 0;return{modifiers:u,hasImportantModifier:b,baseClassName:m,maybePostfixModifierPosition:P}}}function jg(n){if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e}function Tg(n){return{cache:Lg(n.cacheSize),splitModifiers:Bg(n),...Hg(n)}}const Ig=/\s+/;function Sg(n,e){const{splitModifiers:t,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=new Set;return n.trim().split(Ig).map(l=>{const{modifiers:u,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:p}=t(l);let h=r(p?f.substring(0,p):f),b=!!p;if(!h){if(!p)return{isTailwindClass:!1,originalClassName:l};if(h=r(f),!h)return{isTailwindClass:!1,originalClassName:l};b=!1}const m=jg(u).join(":");return{isTailwindClass:!0,modifierId:c?m+$d:m,classGroupId:h,originalClassName:l,hasPostfixModifier:b}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:c,hasPostfixModifier:f}=l,p=u+c;return o.has(p)?!1:(o.add(p),i(c,f).forEach(h=>o.add(u+h)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function Mg(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=ef(e))&&(r&&(r+=" "),r+=t);return r}function ef(n){if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=ef(n[r]))&&(t&&(t+=" "),t+=e);return t}function Wg(n,...e){let t,r,i,o=l;function l(c){const f=e.reduce((p,h)=>h(p),n());return t=Tg(f),r=t.cache.get,i=t.cache.set,o=u,u(c)}function u(c){const f=r(c);if(f)return f;const p=Sg(c,t);return i(c,p),p}return function(){return o(Mg.apply(null,arguments))}}function Ze(n){const e=t=>t[n]||[];return e.isThemeGetter=!0,e}const tf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zg=/^\d+\/\d+$/,Yg=new Set(["px","full","screen"]),Fg=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ng=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rg=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gg=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Qg=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Zr(n){return Sn(n)||Yg.has(n)||Zg.test(n)}function pn(n){return vi(n,"length",e3)}function Sn(n){return!!n&&!Number.isNaN(Number(n))}function go(n){return vi(n,"number",Sn)}function sa(n){return!!n&&Number.isInteger(Number(n))}function Vg(n){return n.endsWith("%")&&Sn(n.slice(0,-1))}function be(n){return tf.test(n)}function hn(n){return Fg.test(n)}const qg=new Set(["length","size","percentage"]);function Jg(n){return vi(n,qg,rf)}function Ug(n){return vi(n,"position",rf)}const Kg=new Set(["image","url"]);function _g(n){return vi(n,Kg,r3)}function $g(n){return vi(n,"",t3)}function la(){return!0}function vi(n,e,t){const r=tf.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1}function e3(n){return Ng.test(n)&&!Rg.test(n)}function rf(){return!1}function t3(n){return Gg.test(n)}function r3(n){return Qg.test(n)}function n3(){const n=Ze("colors"),e=Ze("spacing"),t=Ze("blur"),r=Ze("brightness"),i=Ze("borderColor"),o=Ze("borderRadius"),l=Ze("borderSpacing"),u=Ze("borderWidth"),c=Ze("contrast"),f=Ze("grayscale"),p=Ze("hueRotate"),h=Ze("invert"),b=Ze("gap"),m=Ze("gradientColorStops"),P=Ze("gradientColorStopPositions"),x=Ze("inset"),A=Ze("margin"),z=Ze("opacity"),w=Ze("padding"),k=Ze("saturate"),D=Ze("scale"),O=Ze("sepia"),L=Ze("skew"),B=Ze("space"),T=Ze("translate"),X=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",be,e],N=()=>[be,e],V=()=>["",Zr,pn],J=()=>["auto",Sn,be],re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],F=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",be],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>[Sn,go],ue=()=>[Sn,be];return{cacheSize:500,separator:":",theme:{colors:[la],spacing:[Zr,pn],blur:["none","",hn,be],brightness:oe(),borderColor:[n],borderRadius:["none","","full",hn,be],borderSpacing:N(),borderWidth:V(),contrast:oe(),grayscale:Z(),hueRotate:ue(),invert:Z(),gap:N(),gradientColorStops:[n],gradientColorStopPositions:[Vg,pn],inset:M(),margin:M(),opacity:oe(),padding:N(),saturate:oe(),scale:oe(),sepia:Z(),skew:ue(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[hn]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...re(),be]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sa,be]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",sa,be]}],"grid-cols":[{"grid-cols":[la]}],"col-start-end":[{col:["auto",{span:["full",sa,be]},be]}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":[la]}],"row-start-end":[{row:["auto",{span:[sa,be]},be]}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,e]}],"min-w":[{"min-w":[be,e,"min","max","fit"]}],"max-w":[{"max-w":[be,e,"none","full","min","max","fit","prose",{screen:[hn]},hn]}],h:[{h:[be,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,e,"auto","min","max","fit"]}],"font-size":[{text:["base",hn,pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",go]}],"font-family":[{font:[la]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",Sn,go]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Zr,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Zr,pn]}],"underline-offset":[{"underline-offset":["auto",Zr,be]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...re(),Ug]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Jg]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_g]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[z]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[z]}],"divide-style":[{divide:K()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Zr,be]}],"outline-w":[{outline:[Zr,pn]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[Zr,pn]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",hn,$g]}],"shadow-color":[{shadow:[la]}],opacity:[{opacity:[z]}],"mix-blend":[{"mix-blend":ee()}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",hn,be]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[k]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[z]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:ue()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:ue()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[sa,be]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Zr,pn,go]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const i3=Wg(n3);function Pe(...n){return i3(Ag(n))}const a3={shopify:{bikeBrands:"bike/brands",bikeModels:"bike/models",framesSeries:"bike/frameSeries",bikeSpecs:"bike/bikeSpecBikes",bikeSpecYears:"bike/bikeSpecYears",bikeSpecSizes:"bike/bikeSpecSizes",bikeBrandProductCategories:"bike/bikeBrandProductCategories",checkSku:"compatibility/checkSku",checkSkus:"compatibility/checkSkus",checkSkusWithResults:"compatibility/checkSkusWithResults",bikeBom:"workshop/bikeBom",customBike:"workshop/addCustomBike",addComponent:"workshop/addComponent",findProducts:"workshop/findProducts",removeComponent:"workshop/removeComponent",revertComponent:"workshop/revertComponent",saveCustomBike:"workshop/saveCustomBike",updateCustomBike:"workshop/updateCustomBike",updateCustomBikeName:"workshop/updateCustomBikeName"},bikematrix:{bikeBrands:"GetBikeBrands",bikeModels:"GetBikeModels",framesSeries:"GetBikeFrameSeries",bikeSpecs:"GetBikeSpecBikes",bikeSpecYears:"GetBikeSpecYears",bikeSpecSizes:"GetBikeSpecSizes",bikeBrandProductCategories:"GetBikeBrandProductCategories",checkSku:"Compatibility_CheckSku",checkSkus:"Compatibility_CheckSkus",checkSkusWithResults:"Compatibility_CheckSkusWithResults",bikeBom:"GetBikeBillOfMaterials",customBike:"AddCustomBike",addComponent:"AddComponent",findProducts:"FindProducts",removeComponent:"RemoveComponent",revertComponent:"RevertComponent",saveCustomBike:"SaveCustomBike",updateCustomBike:"UpdateCustomBike",updateCustomBikeName:"UpdateCustomBikeName"}};class xt{constructor(e,t,r,i){this._apiUrl=i?window.location.origin+"/apps/proxy/api/":e,this._apiKey=t??"",this._apiToken=r??"",this._apiType=i?"shopify":"bikematrix"}getEndpoint(e){return a3[this._apiType][e]}async getBikeBrands(){const e=this.getEndpoint("bikeBrands"),t=await this.makeRequest(e);return t.success?{success:t.success,data:t.data}:{success:t.success,error:"error_generic GetBikeBrands",logError:t.error}}async getBikeModels(e){if(!e)return{success:!1,error:"error_generic"};const t=this.getEndpoint("bikeModels"),r=await this.makeRequest(t,{params:{bikeBrandId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeModels",logError:r.error}}async getBikeFrameSeries(e){if(!e)return{error:"error_generic",success:!1};const t=this.getEndpoint("framesSeries"),r=await this.makeRequest(t,{params:{bikeModelId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeFrameSeries",logError:r.error}}async getBikeSpecs(e){if(!e)return{success:!1,error:"error_generic GetBikeSpecs"};const t=this.getEndpoint("bikeSpecs"),r=await this.makeRequest(t,{params:{bikeModelSpecId:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_generic GetBikeSpecs",logError:r.error}}async getYears(e){if(!e)return{error:"error_generic GetBikeYears",success:!1};const t=this.getEndpoint("bikeSpecYears"),r=await this.makeRequest(t,{params:{bikeModelSpecId:e}});return r.success?{data:r.data,success:r.success}:{error:"error_generic GetBikeYears",success:!1,logError:r.success}}async getFrameSizes(e,t,r){if(!e||!t)return{success:!1,error:"error_generic GetFrameSizes"};const i=this.getEndpoint("bikeSpecSizes"),o=await this.makeRequest(i,{params:{bikeModelSpecId:e,bikeSpec:t,year:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_generic GetFrameSizes",logError:o.error}}async getBikes(e,t,r){if(e&&(t||r)){const i=this.getEndpoint("bikeSpecs"),o=await this.makeRequest(i,{params:{bikeModelSpecId:e,bikeSpec:t,year:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_generic GetBikes",logError:o.error}}else return{success:!1,error:"error_generic GetBikes"}}async getBrandProductCategories(e){if(e){const t=this.getEndpoint("bikeBrandProductCategories"),r=await this.makeRequest(t,{params:{bikeBrandId:e}});return r.success?{data:r.data,success:!0}:(console.error(r.error),{success:!1,error:"error_generic GetBrandProductCategories",logError:r.error})}else return{success:!1,error:"error_generic GetBrandProductCategories"}}async checkSkuCompatibility(e,t,r){if(e&&t){const i=this.getEndpoint("checkSku")+`/${e}/${t}/${r}`,o=await this.makeRequest(i);return o.success?{success:o.success,data:o.data}:{success:o.success,error:"error_generic CheckSkuCompatibility",logError:o.error}}else return{success:!1,error:"error_generic CheckSkuCompatibility"}}async checkSkusCompatibility(e,t,r){if(e&&t){const i=this.getEndpoint("checkSkus")+`/${e}/${t}/${r}`,o=await this.makeRequest(i);return o.success?{data:o.data,success:o.success,logError:o.error}:{success:o.success,error:"error_generic CheckSkusCompatibility",logError:o.error}}else return{success:!1,error:"error_generic CheckSkusCompatibility"}}async checkSkusCompatibilityWithResults(e,t,r,i={}){if(e&&t){const o=this.getEndpoint("checkSkusWithResults")+`/${e}/${r}`,l=await this.makeRequest(o,{body:JSON.stringify(t),method:"POST",headers:{"Content-Type":"application/json"},...i});return l.success?{data:l.data,success:l.success}:{success:l.success,error:"error_compatiblelist",logError:l.error}}else return{success:!1,error:"error_compatiblelist"}}async getActiveSubscription(e){if(this._apiType!=="shopify"){e({activeSubscription:!0});return}var t="activeSubscription";const r=await this.makeRequest(t);if(!r.success){console.log(`getActiveSubscription Error: ${r.error}`);return}e(r.data)}async getBikeBom(e){if(!e)return{success:!1,error:"error_generic getBikeBom"};const t=this.getEndpoint("bikeBom"),r=await this.makeRequest(t,{params:{bikeKey:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_get_bike_bom",logError:r.error}}async addCustomBike(e){if(!e)return{success:!1,error:"error_generic addCustomBike"};const t=this.getEndpoint("customBike"),r=await this.makeRequest(t,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e}});return r.success?{data:r.data,success:r.success}:{success:r.success,error:"error_add_custom_bike",logError:r.error}}async findProducts(e,t){if(!e)return{success:!1,error:"error_generic findProducts"};const r=this.getEndpoint("findProducts"),i=await this.makeRequest(r,{params:{search:e,productCategoryId:t,recordCount:20}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_find_products",logError:i.error}}async addComponent(e,t,r,i){if(!e||!t||!r||!i)return{success:!1,error:"error_generic addComponent"};const o=this.getEndpoint("addComponent"),l=await this.makeRequest(o,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,productId:r,bikeFieldName:i}});return l.success?{data:l.data,success:l.success}:{success:l.success,error:"error_add_component",logError:l.error}}async removeComponent(e,t,r){if(!e||!t||!r)return{success:!1,error:"error_generic removeComponent"};const i=this.getEndpoint("removeComponent"),o=await this.makeRequest(i,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,bikeFieldName:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_remove_component",logError:o.error}}async revertComponent(e,t,r){if(!e||!t||!r)return{success:!1,error:"error_generic revertComponent"};const i=this.getEndpoint("revertComponent"),o=await this.makeRequest(i,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t,bikeFieldName:r}});return o.success?{data:o.data,success:o.success}:{success:o.success,error:"error_revert_component",logError:o.error}}async saveCustomBike(e,t){if(!e||!t)return{success:!1,error:"error_generic saveCustomBike"};const r=this.getEndpoint("saveCustomBike"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,email:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_save_custom_bike",logError:i.error}}async updateCustomBike(e,t){if(!e||!t)return{success:!1,error:"error_generic saveCustomBike"};const r=this.getEndpoint("updateCustomBike"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,productCategoryId:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_update_custom_bike"}}async updateCustomBikeName(e,t){if(!e||!t)return{success:!1,error:"error_generic updateCustomBikeName"};const r=this.getEndpoint("updateCustomBikeName"),i=await this.makeRequest(r,{method:"POST",headers:{"Content-Type":"application/json"},params:{bikeKey:e,name:t}});return i.success?{data:i.data,success:i.success}:{success:i.success,error:"error_update_custom_bike_name",logError:i.error}}async makeRequest(e,t={}){const r=new URL(e,this._apiUrl),i={"Cache-Control":"no-cache",...this._apiKey&&{"bm-subscription-key":this._apiKey},...this._apiToken&&{"bm-app-token":this._apiToken}};typeof t.params=="object"&&(Object.keys(t.params).forEach(l=>{t.params[l]&&r.searchParams.set(l,t.params[l])}),delete t.params);let o;try{const l={...i,...t.headers||{}},u={...t,headers:l};t.signal&&(u.signal=t.signal);const c=await fetch(r==null?void 0:r.href,u),f=await c.json().catch(()=>{throw new Error("Request failed: "+(c.statusText||"Status"+c.status))});f.status===400||f.statusCode===404?o={success:!1,data:f}:o={success:!0,data:f}}catch(l){o={success:!1,error:l.message}}return o}}async function nf(n){var b;const{categories:e,collections:t,apiUrl:r,apiKey:i,apiToken:o,isShopify:l,logLevel:u}=window.BikeMatrix.getConfig(),c=JSON.parse(sessionStorage.getItem("bm_categories")||"null"),f=JSON.parse(localStorage.getItem(ll)||"null"),p=new xt(r,i,o,l);let h=[];if(u==="verbose"&&console.log("useCompatibleCollections sessionCollections",c),!c||!(c!=null&&c.collections)||!(c!=null&&c.collections.length)||(c==null?void 0:c.key)!==(f==null?void 0:f.key)){u==="verbose"&&console.log("useCompatibleCollections fetching new collections");const m=await p.getBrandProductCategories(n);if(u==="verbose"&&console.log("useCompatibleCollections bikeBrandProductCategories",m),!m.success)return console.log(m),u==="verbose"&&console.error(m.error),h={error:m.error},h;if(u==="verbose"&&(console.log("useCompatibleCollections categories",e),console.log("useCompatibleCollections collections",t)),((b=m.data)==null?void 0:b.length)>0){let P=e.filter(x=>{var A;return!!x.collection&&((A=m==null?void 0:m.data)==null?void 0:A.some(z=>z.product_Category.toLowerCase()===x.title.toLowerCase()))});u==="verbose"&&console.log("useCompatibleCollections availableCategories",P),h=P.map(x=>t.filter(z=>x.collection.split(",").map(w=>w.trim().toLowerCase()).includes(z.title.toLowerCase())).map(z=>({title:z.title,text_id:x.text_id,handle:z.handle,url:z.url}))).flat(),u==="verbose"&&console.log("useCompatibleCollections compatibleCollections",h),h=h==null?void 0:h.filter((x,A,z)=>A===z.findIndex(w=>w.title===x.title&&w.text_id===x.text_id&&w.handle===x.handle&&w.url===x.url))}sessionStorage.setItem("bm_categories",JSON.stringify({key:f==null?void 0:f.key,collections:h})),u==="verbose"&&console.log("useCompatibleCollections fetched collections",h)}else u==="verbose"&&console.log("useCompatibleCollections using session collections"),h=c.collections;return h}const af=class to{constructor(){this.initialized=!1,this.currentBike=null,this.activeSubscription=null,this.components=[],this.config=qd}async initialize(e){this.components=[],this.initialized&&this.cleanup(),e&&(this.config={...this.config,...e}),this.initializeConfig(),this.service=new xt(this.config.apiUrl,this.config.apiKey,this.config.apiToken,this.config.isShopify),this.initializeActiveSubscription(),localStorage.bm_currentBike&&(this.currentBike=JSON.parse(localStorage.bm_currentBike)),this.setupEventListeners(),this.registerComponents(),this.initialized=!0,sl.value=!0;const t=new Event("BM:Initialized");document.dispatchEvent(t),this.config.logLevel==="verbose"&&(console.log("BikeMatrix WebComponent Version: 1.2.6"),console.log("BikeMatrixCore initialized"))}static getInstance(){return to.instance||(to.instance=new to),to.instance}registerComponents(){const e=["bikematrix-bikeselector","bikematrix-productresult","bikematrix-collectionresult","bikematrix-compatibilitylabel","bikematrix-compatiblelist","bikematrix-bikeselectorbanner","bikematrix-variantselector"];this.components=[],e.forEach(t=>{const r=document.getElementsByTagName(t);Array.from(r).forEach(i=>{this.components.push(i)})}),this.config.logLevel==="verbose"&&console.log(`Registered ${this.components.length} components`)}resetComponents(){this.components.forEach(e=>{var t;try{const r=e.cloneNode(!1);e.querySelectorAll("template").forEach(o=>{r.appendChild(o.cloneNode(!0))}),(t=e.parentNode)==null||t.replaceChild(r,e)}catch{console.error("Error resetting component",e)}})}isInitialized(){return this.initialized}updateConfig(e){this.config={...this.config,...e},this.reload(!1)}cleanup(){this.removeEventListeners(),kg()}async destroy(){this.cleanup(),this.service=null,this.currentBike=null,this.activeSubscription=null,this.config={...qd},this.initialized=!1,sl.value=!1,this.resetComponents()}updateCompatibleList(){this.initializeConfig(),this.RefreshCompatibleSkus(!0)}refresh(){this.ChangeBike()}reset(){this.destroy(),this.initialize()}reload(e=!0){e&&this.initializeConfig(),this.refresh(),this.registerComponents(),this.resetComponents()}initializeConfig(){const e=document.querySelectorAll('script[type="application/json"][data-bikematrix-config]'),t=JSON.parse(sessionStorage.getItem("bm_diagnostics"));e.forEach(r=>{if(r!=null&&r.textContent)try{this.config={...this.config,...JSON.parse(r.textContent)}}catch{console.error("Invalid BikeMatrix configuration"),console.log("configScript ",r.textContent)}}),t!=null&&t.includes("verbose")&&(this.config.logLevel="verbose"),t!=null&&t.includes("virtualWorkshop")&&(this.config.virtualWorkshop=!0),t!=null&&t.includes("subscribtion")&&(this.activeSubscription=!0),t!=null&&t.includes("all")&&(this.config.logLevel="verbose",this.config.virtualWorkshop=!0,this.activeSubscription=!0),this.config.logLevel==="verbose"&&console.log("initializeConfig ",JSON.stringify(this.config,null,2))}initializeActiveSubscription(){const e=sessionStorage.getItem("bm_activeSubscription");if(this.config.logLevel==="verbose"&&(console.log("Not Shopify: ",!this.config.isShopify),console.log("Session Active Subscription: ",e),console.log("Design Mode: ",this.config.designMode)),!this.config.isShopify){this.activeSubscription=!0;return}this.activeSubscription=this.config.designMode||e==="true",e||this.service.getActiveSubscription(this.updateActiveSubscription.bind(this))}setupEventListeners(){document.addEventListener("BikeMatrix:RefreshCompatibleSkus",e=>{this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0}))})}),document.addEventListener("on:facet-filters:updated",this.handleRefreshCompatibleSkus.bind(this)),document.addEventListener("BikeChanging",this.handleBikeChanging.bind(this))}removeEventListeners(){document.removeEventListener("BikeMatrix:RefreshCompatibleSkus",this.handleRefreshCompatibleSkus),document.removeEventListener("on:facet-filters:updated",this.handleRefreshCompatibleSkus),document.removeEventListener("BikeChanging",this.handleBikeChanging)}async handleRefreshCompatibleSkus(e){this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0}))})}async handleBikeChanging(e){this.config.logLevel==="verbose"&&console.log("Listener BikeChanging (pre) ..."),this.ChangeBike()}getConfig(){return this.config}getActiveSubscription(){return this.activeSubscription}getCurrentBike(){return this.currentBike}updateSku(e){const t=document.querySelector("bikematrix-productresult[data-sku]"),r=document.querySelector("bikematrix-variantselector[data-sku]");t&&t.setAttribute("data-sku",e),r&&r.setAttribute("data-sku",e),this.config.sku=e}ResetSelectedBikeIndicator(){var e,t;this.currentBike===null?(e=window.bm_selectBikeButton)==null||e.classList.remove("show-selected"):(t=window.bm_selectBikeButton)==null||t.classList.add("show-selected")}ChangeBike(){this.config.logLevel==="verbose"&&console.log("ChangeBike() Method Called"),!(tr.value===!0||rr.value===!0)&&(tr.value=!0,rr.value=!0,pi.value=[],hi.value=[],this.config.logLevel==="verbose"&&console.log("ChangeBike updateBikeSignal..."),this.updateBikeSignal().then(()=>{this.config.logLevel==="verbose"&&console.log("Bike Signal Updated: ",JSON.stringify(xe.value,null,2)),this.ResetSelectedBikeIndicator(),this.RefreshCompatibleSkus().then(()=>{document.dispatchEvent(new Event("RefreshCompatibility",{bubbles:!0,composed:!0})),document.dispatchEvent(new Event("BikeChanged",{bubbles:!0,composed:!0}))})}))}async RefreshCompatibleSkus(e){var r,i;const t=`${(r=xe.value)==null?void 0:r.key}:${this.config.currentCollectionHandle}:${zg}`;switch(this.config.pageType){case"collection":const o=!!xe.value&&!xe.value.compatibleCollections.error&&((i=xe.value.compatibleCollections)==null?void 0:i.find(l=>l.handle===this.config.currentCollectionHandle));if(this.config.logLevel==="verbose"&&console.log("Refresh Compatible SKUs. hasCompatibleCollection: ",o),this.config.logLevel==="verbose"&&console.log("showCompatibleList: ",this.config.showCompatibleList),o&&(await this.RefreshCollectionPageSkus(t),this.config.showCompatibleList)){if(!e&&this.config.isShopify){rr.value=!1;break}await this.RefreshCollectionListSkus(t)}tr.value=!1,rr.value=!1;break;case"search":case"index":tr.value=!1,(this.config.pageType==="index"&&this.config.showHomePageCollection||this.config.pageType==="search"&&this.config.showSearchPageCollection)&&await this.RefreshCollectionPageSkus(t),rr.value=!1;break;default:tr.value=!1,rr.value=!1;break}}async RefreshCollectionPageSkus(e){var l,u;let t=document.getElementsByTagName("bikematrix-collectionresult"),i=Array.from(t).map(c=>{const f=this.config.skuField==="barcode"?c.getAttribute("data-product-barcodes"):this.config.skuField==="metafield"?c.getAttribute("data-product-metafields"):c.getAttribute("data-product-skus")||"";return f==null?void 0:f.split(",").filter(p=>!!p)}).flat();this.config.logLevel==="verbose"&&console.log("Refresh Collection Page SKUs. SKUs: ",JSON.stringify(i),null,2);var o=((l=ci())==null?void 0:l.language)||"en-GB";if(i&&i.length>0){const c=await this.service.checkSkusCompatibilityWithResults((u=xe.value)==null?void 0:u.key,i,o);c.success?hi.value=c.data:(ho.value=!0,this.config.logLevel==="verbose"&&console.log("Compatible List Error: ",c.logError))}else hi.value=[]}async RefreshCollectionListSkus(e){var i,o;var t=JSON.parse(sessionStorage.getItem(e));if(t)this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from Session: ",JSON.stringify(t),null,2),pi.value=t;else{const l=Object.values(this.config.products||{}).map(p=>p.skus).flat();this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from API. SKUs: ",JSON.stringify(l),null,2);var r=((i=ci())==null?void 0:i.language)||"en-GB";const u=new AbortController,c=u.signal,f=()=>u.abort();window.addEventListener("beforeunload",f);try{if(!((o=xe.value)!=null&&o.key))throw new Error("BikeSignal key is undefined");const p=await this.service.checkSkusCompatibilityWithResults(xe.value.key,l,r,{signal:c});if(this.config.logLevel==="verbose"&&console.log("Refresh Collection SKUs from API. SKUs: ",JSON.stringify(p)),c.aborted){this.config.logLevel==="verbose"&&console.log("function RefreshCompatibleSkus() operation aborted");return}p.success?(sessionStorage.setItem(e,JSON.stringify(p.data)),pi.value=p.data):(ho.value=!0,this.config.logLevel==="verbose"&&console.log("Compatible List Error: ",p.logError))}catch(p){p.name==="AbortError"?console.log("function RefreshCompatibleSkus() fetch aborted"):console.error("function RefreshCompatibleSkus() fetch error",p)}finally{window.removeEventListener("beforeunload",f)}}}updateActiveSubscription(e){this.config.logLevel==="verbose"&&console.log("updateActiveSubscription data: ",e);const t=!!(e!=null&&e.activeSubscription);sessionStorage.setItem("bm_activeSubscription",JSON.stringify(t)),this.activeSubscription=t}async updateBikeSignal(){const e=localStorage.getItem(ll)||"null",t=JSON.parse(e);if(this.currentBike=t,t==null){xe.value=null;return}const r=await nf(t==null?void 0:t.brandId);!Array.isArray(r)&&r.error?(t.compatibleCollections=[],xe.value=t):(t.compatibleCollections=r,xe.value=t),this.config.logLevel==="verbose"&&console.log("Bike Changed: ",JSON.stringify(xe.value,null,2))}};af.instance=null;let o3=af;const ua=n=>te("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M1.53553 8.60658L5.07107 5.07104M5.07107 5.07104L8.6066 1.53551M5.07107 5.07104L8.6066 8.60658M5.07107 5.07104L1.53553 1.53551",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}));var s3=0;function g(n,e,t,r,i,o){var l,u,c={};for(u in e)u=="ref"?l=e[u]:c[u]=e[u];var f={type:n,props:c,key:t,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--s3,__i:-1,__u:0,__source:i,__self:o};if(typeof n=="function"&&(l=n.defaultProps))for(u in l)c[u]===void 0&&(c[u]=l[u]);return ve.vnode&&ve.vnode(f),f}function gi(){document.dispatchEvent(new Event("BmToggleModal"))}function l3({children:n}){return se(()=>{var o;const e=document.body,t=document.getElementById("bm_selectBikeButton"),r=(o=document.getElementsByTagName("bikematrix-bikeselector"))==null?void 0:o[0],i=l=>{l.preventDefault(),e.classList.toggle("bm-modal-active"),r.classList.toggle("active"),oa.value=!oa.value};return document.addEventListener("BmToggleModal",i),t==null||t.addEventListener("click",i),()=>{document.removeEventListener("BmToggleModal",i),t==null||t.removeEventListener("click",i)}},[]),g(ie,{children:[g("div",{onClick:()=>{gi()},class:Pe("overlay","fixed cursor-pointer inset-0 z-[2147483645] bg-black/40 transition-all duration-500 sm:duration-200")}),g("div",{className:Pe("modal","fixed pointer-events-none inset-0 mx-auto justify-end z-[2147483646] flex flex-col items-center outline-none transition-all duration-500 sm:duration-200 ease-in-out","sm:justify-center"),children:g("div",{className:"flex sm:px-2 pointer-events-auto max-sm:max-h-[96%] sm:max-h-[90%] max-sm:h-[89vh] max-w-lg sm:max-w-[640px] flex-col items-center max-sm:flex-1 w-full bg-white rounded-t-3xl sm:rounded-xl shadow-[0px_-2px_10px_0px_rgba(0,0,0,0.04),0px_0px_0px_1px_rgba(0,0,0,0.06)]",children:[g("div",{className:"sm:hidden mx-auto mt-4 h-[6px] w-[100px] rounded-full bg-gray-400/50",onClick:gi}),g("div",{className:"sm:hidden h-[10px]"}),g("div",{className:"relative flex flex-col w-full sm:h-full max-sm:flex-none max-sm:grow",children:g("div",{class:"modal-content max-sm:absolute sm:h-full max-sm:inset-0 overflow-x-hidden overflow-y-auto px-8 sm:px-6",children:n})})]})})]})}const gr=n=>te("svg",{width:7,height:12,viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M1 11L6 6L1 1",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),u3=n=>te("svg",{width:31,height:31,viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:15.5,cy:15.5,r:15.5,fill:"#030712"}),te("path",{d:"M10.1974 17.1317L13.9955 20.4461L20.8639 10.8909",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),c3=n=>te("svg",{width:31,height:31,viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("g",{clipPath:"url(#clip0_64_2)"},te("path",{d:"M30.5 15.5C30.5 23.7843 23.7843 30.5 15.5 30.5C7.21573 30.5 0.5 23.7843 0.5 15.5C0.5 7.21573 7.21573 0.5 15.5 0.5C23.7843 0.5 30.5 7.21573 30.5 15.5Z",fill:"white",stroke:"#D1D5DB"})),te("path",{d:"M23.983 11.132C23.9699 10.9806 23.8699 10.8506 23.727 10.7988C23.5837 10.7466 23.4233 10.7822 23.3155 10.8894L21.1098 13.0866L18.6647 12.3153L17.8905 9.87937L20.0961 7.68201C20.2041 7.57458 20.2393 7.41475 20.1873 7.27224C20.1348 7.12945 20.0046 7.02999 19.8524 7.01688C18.5129 6.9019 17.2004 7.37836 16.2514 8.32387C14.9518 9.61873 14.6076 11.5096 15.217 13.1213C15.1504 13.1773 15.0847 13.2365 15.0199 13.3004L7.65736 20.2216C7.65476 20.2241 7.6522 20.2268 7.64939 20.2293C6.78354 21.092 6.78354 22.4955 7.64939 23.3583C8.51539 24.2209 9.91396 24.2104 10.7797 23.3477C10.7834 23.3443 10.7868 23.3408 10.7902 23.3369L17.677 15.945C17.7398 15.8822 17.798 15.8165 17.853 15.749C19.4713 16.3573 21.3705 16.0152 22.6713 14.7195C23.62 13.7739 24.0986 12.4663 23.983 11.132ZM9.67019 22.4264C9.35113 22.7442 8.83439 22.744 8.51536 22.4264C8.19644 22.1089 8.19644 21.5937 8.51536 21.2761C8.83439 20.9585 9.35113 20.9585 9.67019 21.2761C9.98911 21.5937 9.98911 22.1089 9.67019 22.4264Z",fill:"black"}),te("defs",null,te("clipPath",{id:"clip0_64_2"},te("rect",{width:31,height:31,fill:"white"})))),d3=n=>te("svg",{width:31,height:31,viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M2 24.0437V22.6518C4.30404 21.9559 5.82929 20.347 6.17596 18.244C6.45967 16.523 5.87584 14.7802 4.66788 13.505L5.50401 12.1672C6.3441 12.2632 7.12499 12.2938 7.83019 12.2273C8.91308 12.1253 10.0603 11.7686 10.8965 10.814C11.7162 9.87828 11.9364 8.70751 11.9455 7.65019C11.9509 7.01984 11.882 6.33439 11.7615 5.60532L13.1089 4.93163C14.6862 6.27858 16.5967 7.00972 18.5085 6.50659C20.496 5.98355 21.7104 4.35171 22.2287 2.32023L23.4959 2.17943C23.7105 2.84427 23.9686 3.45839 24.2803 4.0055C24.8609 5.02453 25.7009 5.93317 26.8959 6.37534C28.1054 6.8229 29.35 6.6716 30.4872 6.21488C31.2478 5.9094 32.0092 5.4502 32.771 4.87155L33.84 5.40607C33.3102 7.17682 33.6407 8.97473 34.9205 10.3525C36.2854 11.8219 38.3837 12.4206 40.6053 12.1884L41.4091 13.3137C40.1484 14.904 39.5422 16.7943 40.0082 18.6621C40.4975 20.623 42.0098 21.9631 44 22.6091V23.6937C42.0295 24.646 40.407 25.9295 39.9934 27.9032C39.7449 29.089 40.0083 30.2272 40.4663 31.2395C40.7549 31.8775 41.1444 32.5183 41.6038 33.1622L41.0881 34.0648C39.1096 33.5569 37.1545 33.7409 35.7252 35.1442C34.3293 36.5148 34.0136 38.5186 34.2755 40.5318L32.7931 41.4583C31.191 40.0523 29.3504 39.2822 27.3831 40.0414C26.2841 40.4655 25.451 41.2846 24.816 42.1501C24.4114 42.7016 24.0463 43.3278 23.7127 44H22.6585C22.1786 42.2318 21.2165 40.6691 19.4091 40.0247C17.4936 39.3418 15.3888 40.0023 13.3765 41.2022L11.9877 40.5078C12.4255 38.6858 12.158 36.865 10.7918 35.5311C9.4171 34.1889 7.44044 33.8741 5.42929 34.2133L4.6584 32.9799C6.03869 31.6871 6.93069 30.0087 6.40539 28.071C6.07607 26.8563 5.24467 25.9088 4.25062 25.2068C3.60737 24.7526 2.85005 24.3664 2 24.0437Z",stroke:"black",strokeWidth:4}),te("circle",{cx:23,cy:23,r:12,stroke:"black",strokeWidth:4}),te("path",{d:"M23 39.75C32.2508 39.75 39.75 32.2508 39.75 23C39.75 13.7492 32.2508 6.25 23 6.25C13.7492 6.25 6.25 13.7492 6.25 23C6.25 32.2508 13.7492 39.75 23 39.75Z",stroke:"black",strokeWidth:3.5})),f3=`.shared-icon{background-color:#fba157;padding:5px 10px;border-radius:8px;font-size:12px;display:flex;justify-content:center;align-items:center;color:#fff}
|
|
2
|
+
`,of=({text:n})=>g(ie,{children:[g("style",{type:"text/css",children:f3}),g("div",{className:"shared-icon",children:g("p",{className:"text",children:n||"Shared with you"})})]});function br({spanner:n,selected:e,settings:t,simple:r,bike:i,compact:o,readOnly:l,onClick:u,shared:c,custom:f,noSymbol:p,...h}){var L;const b=(L=i.images)!=null&&L.length?i.images:[In("bike.png")],m=ye(null),[P,x]=U(0),A=ye(null);se(()=>{const B=m==null?void 0:m.current;if(B){var T=new IntersectionObserver(function(X){var W=X.reduce(function(M,N){return N.intersectionRatio>M.intersectionRatio?N:M});W.intersectionRatio>0&&x(Number(W.target.getAttribute("data-slide")))},{root:B,threshold:.8});return B.querySelectorAll("&>div").forEach(X=>{T.observe(X)}),()=>{T.disconnect()}}},[m]);function z(B){if(!m.current)return;const T=m.current.querySelectorAll("&>div")[B];m.current.scrollLeft=T.clientWidth*B}function w(){P!=0&&z(P-1)}function k(){P!=b.length-1&&z(P+1)}const D=(b==null?void 0:b.length)&&P!==b.length-1,O=(b==null?void 0:b.length)&&P!==0;return g("div",{class:Pe("rounded-xl select-none border py-4 relative",e?"border-gray-950":"border-gray-300"),...h,onClick:B=>{if(A.current&&!A.current.contains(B.target))u(B);else{B.preventDefault();return}},children:[!r&&g("p",{class:"text-gray-950 px-4 text-base font-normal font-nunito leading-tight ",children:o?g(ie,{children:l?`${i.bike_Brand} ${i.year} ${i.spec}`:i.name?i.name:`${i.brand} ${i.year} ${i.bikeSpec} ${i.variant?i.variant:""}`}):g(ie,{children:l?i.bike_Name:i.name})}),g("div",{class:"relative mt-2",children:[g("div",{ref:m,class:Pe("flex scroll-smooth snap-mandatory no-scrollbar h-32 snap-x space-x-2 relative overflow-x-auto","px-4"),"data-active-slide":P,children:[!l&&b.length&&b.map((B,T)=>g("div",{"data-slide":T,class:"w-full h-full snap-center flex items-center flex-none",children:g("img",{class:"max-w-full pointer-events-none mx-auto max-h-full h-auto w-auto",src:B,alt:B})},T)),l&&g("div",{class:"w-full h-full snap-center flex items-center flex-none",children:g("img",{class:"max-w-full pointer-events-none mx-auto max-h-full h-auto w-auto",src:`https://imagestore.bikematrix.io/${i.bike_Reference}/400-${i.bike_Thumbnail}`,alt:i.bike_Reference})})]}),g(ie,{children:[g("div",{onClick:w,class:Pe("border !ml-0 bg-white absolute w-9 h-9 flex items-center justify-center left-4 top-1/2 -translate-y-1/2 rounded-xl border-gray-300",O?"":"hidden"),children:g(gr,{class:"h-3 text-gray-500 -rotate-180"})}),g("div",{onClick:k,class:Pe("border !ml-0 bg-white absolute w-9 h-9 flex items-center justify-center right-4 top-1/2 -translate-y-1/2 rounded-xl border-gray-300",D?"":"hidden"),children:g(gr,{class:"h-3 text-gray-500 translate-x-px"})})]})]}),(b==null?void 0:b.length)>1&&g("div",{class:"space-x-2 flex items-center justify-center",children:b.map((B,T)=>g("div",{class:Pe("rounded-xl w-2 h-2 transition-all duration-300",T==P?" bg-gray-950 scale-125":" bg-gray-200")},T))}),(c||i.isShared)&&g("div",{className:"absolute left-4 bottom-4",children:g(of,{})}),(f||i.isCustom)&&g("div",{className:"absolute left-4 bottom-4",children:g(of,{text:"Custom"})}),g("div",{className:"spanner_wrapper absolute right-4 bottom-14 h-fit w-fit",ref:A,children:n&&e&&g(c3,{class:"cursor-pointer",onClick:B=>{B.preventDefault(),!(i!=null&&i.isCustom)&&!(i!=null&&i.isShared)?Oe("/workshop"):i!=null&&i.isShared?Oe("/read-only"):Oe("/bom")}})}),e&&!t?g(u3,{class:"absolute right-4 bottom-4 cursor-pointer"}):t?g(d3,{class:"absolute right-4 bottom-4 cursor-pointer",onClick:()=>Oe("/settings")}):l?g("span",{}):p?g("span",{}):g(ie,{children:g("span",{class:"border absolute right-4 bottom-4 rounded-full h-8 w-8 border-gray-300 bg-white/75"})})]})}function sf(n,e){const t=()=>{try{const o=window.localStorage.getItem(n);return o?JSON.parse(o):e}catch(o){return console.error(o),e}},[r,i]=U(t);return se(()=>{try{if(!r&&n==="bm_currentBike")window.localStorage.setItem(n,null);else if(!r)window.localStorage.removeItem(n);else{const o=JSON.stringify(r);window.localStorage.setItem(n,o)}}catch(o){console.error(o)}},[n,r]),[r,i,t]}function p3(n,e){const t=()=>{try{const o=window.sessionStorage.getItem(n);return o?JSON.parse(o):e}catch(o){return console.error(o),e}},[r,i]=U(t);return se(()=>{try{if(!r)window.sessionStorage.removeItem(n);else{const o=JSON.stringify(r);window.sessionStorage.setItem(n,o)}}catch(o){console.error(o)}},[n,r]),[r,i,t]}const dl={brand:{options:[],value:null,error:null},model:{options:[],value:null,error:null},frameSeries:{options:[],value:null,error:null},year:{options:[],value:[],error:null},bikeSpec:{options:[],value:null,error:null},frameSize:{options:[],value:null,error:null},options:[],value:{}},lf=ra(void 0),h3=({children:n})=>{var ee;const e=window.BikeMatrix.getConfig(),[t,r]=sf(ll,null),[i,o]=sf("bm_lounge",[]),l=new xt(e.apiUrl,e.apiKey,e.apiToken,e.isShopify),[u,c]=U(dl),f=ye({}),[p,h]=U([]),[b,m]=U(!1),[P,x]=U(null);U(null),se(()=>{(async()=>{if(t!=null&&t.brandId){const Z=await nf(t==null?void 0:t.brandId);x(Z)}})()},[t==null?void 0:t.brandId]);function A(F){c(Z=>{var $;return{...Z,[F]:{options:[],value:($=dl[F])==null?void 0:$.value}}})}function z(F,Z){c($=>($[F].value=Z,{...$}))}const w=()=>{c(F=>{var Z;return{...dl,brand:{options:((Z=F.brand)==null?void 0:Z.options)||[],error:F.brand.error||null}}})},k=F=>{r({...F}),o([...(i||[]).filter(Z=>!!Z.key&&Z.key!==F.key),F])},D=F=>{(t==null?void 0:t.key)===F&&r(null),o([...(i||[]).filter(Z=>!!Z.key&&Z.key!==F)])},O=()=>{e.logLevel==="verbose"&&console.log("Dispatch BikeChanging (pre-change)..."),document.dispatchEvent(new Event("BikeChanging",{bubbles:!0,composed:!0}))},L=()=>{setTimeout(()=>{w(),Oe("/")},500)},B=async()=>{const F=await l.getBikeBrands();F.success?(sessionStorage.setItem("bm_brands",JSON.stringify(F.data)),c(Z=>(Z.brand.options=F.data.map($=>({label:$.bike_Brand,value:$.bike_Brand_ID})),{...Z}))):F.success||(c(Z=>(Z.brand.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},T=async()=>{const F=await l.getBikeModels(u.brand.value);F.success?c(Z=>(Z.model.options=F.data.map($=>({label:$.model_Family,value:$.model_Family_ID})),{...Z})):F.success||(c(Z=>(Z.model.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},X=async()=>{const F=await l.getBikeFrameSeries(u.model.value);F.success?c(Z=>{var oe,ue;const $=[];return Z.frameSeries.options=F.data.reduce((pe,Re)=>{const Ie={label:Re.model_Spec,value:Re.model_Spec_ID};return $.includes(Ie.value)||($.push(Ie.value),pe.push(Ie)),pe},[]),((oe=Z.frameSeries.options)==null?void 0:oe.length)===1&&(Z.frameSeries.value=(ue=Z.frameSeries.options[0])==null?void 0:ue.value),{...Z}}):F.success||(c(Z=>(Z.frameSeries.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},W=async()=>{const F=await l.getBikeSpecs(u.frameSeries.value);if(F.success){const Z=[],$=[],oe=[],ue=[];F.data.forEach(pe=>{var Bt,$e;const Re=pe.year+"-"+pe.spec.replace(/[^0-9a-zA-Z]/g,"")+(pe.bike_Variant?"-"+pe.bike_Variant.replace(/[^0-9a-zA-Z]/g,""):""),Ie={label:pe.spec,value:pe.spec};if(Z.includes(Ie.value)||(Z.push(Ie.value),oe.push(Ie)),!$.includes(Re)){$.push(Re);const Vt={_key:Re,key:pe.bike_Key,name:pe.bike_Name,variant:pe.bike_Variant,brand:pe.bike_Brand,brandId:pe.bike_Brand_ID,model:pe.model_Family,modelId:pe.model_Family_ID,frameSeries:pe.model_Spec,frameSeriesId:pe.model_Spec_ID,bikeSpec:pe.spec,year:pe.year,images:[pe.bike_Thumbnail,...((Bt=pe==null?void 0:pe.bike_Images)==null?void 0:Bt.split(","))||[]].filter(qt=>!!qt).map(qt=>`https://imagestore.bikematrix.io/${pe.bike_Reference}/400-${qt}`)},jt=F.data.reduce((qt,at)=>(at.year==pe.year&&at.spec===pe.spec&&at.model_Spec===pe.model_Spec&&at.bike_Variant===pe.bike_Variant&&qt.push({key:at.bike_Key,name:at.bike_Name,variant:at.bike_Variant,sizeId:at.bike_Size_ID,size:at.bike_Size}),qt),[]);($e=jt==null?void 0:jt.filter(qt=>!!qt.sizeId))!=null&&$e.length&&(Vt.sizes=jt),ue.push(Vt)}f.current[u.frameSeries.value]=Array.from(new Set([...f.current[u.frameSeries.value]||[],pe.year]))}),c(pe=>(pe.bikeSpec.options=oe,{...pe})),h(ue)}else F.success||(c(Z=>(Z.bikeSpec.error=F.error,{...Z})),e.logLevel==="verbose"&&console.error(F.logError))},M=async()=>{c(F=>{const Z=f.current[F.frameSeries.value]||[];return F.year.options=Z.map($=>({label:$,value:$})),{...F}})},N=async()=>{c(F=>{var Z,$,oe;if(F.frameSize.options=(Z=u==null?void 0:u.value)!=null&&Z.sizes?u.value.sizes.filter(ue=>!!ue.size).map(ue=>({label:ue.size,value:ue.size})):[],(($=F.frameSize.options)==null?void 0:$.length)===1){const ue=(oe=F.frameSize.options[0])==null?void 0:oe.value;F.frameSize.value=ue,F.value.frameSize=ue}return{...F}})};se(()=>(document.addEventListener("BmToggleModal",L),()=>{document.removeEventListener("BmToggleModal",L)}),[]);const[V,J]=p3("bm_diagnostics",[]),re=()=>{const Z=new URLSearchParams(window.location.search).get("diagnostics");JSON.parse(sessionStorage.getItem("bm_diagnostics")).includes(Z)||J([...V,Z]),Z===null&&J([])};se(()=>{O(),re()},[t]),se(()=>{sessionStorage.getItem("bm_brands")?c(F=>(F.brand.options=JSON.parse(sessionStorage.getItem("bm_brands")).map(Z=>({label:Z.bike_Brand,value:Z.bike_Brand_ID})),{...F})):oa.value&&B()},[oa.value]),se(()=>{u.brand.value&&(A("model"),A("frameSeries"),T())},[u.brand.value]),se(()=>{u.model.value&&(A("frameSeries"),X())},[u.model.value]),se(()=>{u.frameSeries.value&&(A("bikeSpec"),A("year"),h([]),W().then(()=>{M()}))},[u.frameSeries.value]),se(()=>{u.value._key&&(A("frameSize"),N())},[(ee=u.value)==null?void 0:ee._key]),se(()=>{u.frameSize.value&&c(F=>{var Z,$;return F.value={...F.value,...(($=(Z=F==null?void 0:F.value)==null?void 0:Z.sizes)==null?void 0:$.find(oe=>u.frameSize.value==oe.size))||{}},delete F.value.sizes,F})},[u.frameSize.value]);const K={bike:u,setBike:c,setBikeAttr:z,resetBike:w,results:p,loading:b,setLoading:m,compatibleCollections:P,currentBike:t,setCurrentBike:r,removeBike:D,saveBike:k,lounge:i};return g(lf.Provider,{value:K,children:n})},Ht=()=>{const n=Vs(lf);if(!n)throw new Error("useBikeState must be used within a BikeProvider");return n};function Yr(){const{t:n}=De(),t=window.BikeMatrix.getConfig(),[r,i]=U(null);return t.internalLink&&i(t.internalLink),g(ie,{children:[g("p",{class:"text-gray-600 max-w-sm mx-auto mt-4 text-center font-normal text-xs",children:n("bikeselector_home_footer_message")}),g("a",{href:r||"https://bikematrix.io/landed-it",target:"_blank",class:"text-gray-950 block underline mb-4 font-bold mt-4 text-center text-xs",children:n("bikematrix_poweredby")})]})}const v3=n=>te("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M16.983 4.13197C16.9699 3.98064 16.8699 3.85064 16.727 3.7988C16.5837 3.74665 16.4233 3.78215 16.3155 3.88937L14.1098 6.08655L11.6647 5.31527L10.8905 2.87937L13.0961 0.682011C13.2041 0.574581 13.2393 0.414746 13.1873 0.272238C13.1348 0.129446 13.0046 0.0299881 12.8524 0.0168782C11.5129 -0.0980992 10.2004 0.378357 9.25142 1.32387C7.95176 2.61873 7.60759 4.50961 8.21705 6.12135C8.15043 6.17726 8.08471 6.2365 8.01987 6.30039L0.65736 13.2216C0.654763 13.2241 0.652203 13.2268 0.649393 13.2293C-0.216464 14.092 -0.216464 15.4955 0.649393 16.3583C1.51539 17.2209 2.91396 17.2104 3.77967 16.3477C3.78341 16.3443 3.78682 16.3408 3.79024 16.3369L10.677 8.94505C10.7398 8.88222 10.798 8.8165 10.853 8.74903C12.4713 9.3573 14.3705 9.01524 15.6713 7.71952C16.62 6.77394 17.0986 5.46628 16.983 4.13197ZM2.67019 15.4264C2.35113 15.7442 1.83439 15.744 1.51536 15.4264C1.19644 15.1089 1.19644 14.5937 1.51536 14.2761C1.83439 13.9585 2.35113 13.9585 2.67019 14.2761C2.98911 14.5937 2.98911 15.1089 2.67019 15.4264Z",fill:"black"})),_={id:null,name:null,product_category_id:null,swap:!1,version_id:null,unsaved_changes:null,translation:null},ca={bike_Key:"",bike_Type:null,bike_Name:null,bike_Variant:null,bike_Reference:null,bike_Thumbnail:null,bike_Images:null,bike_Brand_ID:0,bike_Brand:null,model_Family_ID:0,model_Family:null,model_Spec_ID:0,model_Spec:null,spec:null,bike_Size_ID:null,bike_Size:null,year:0,original_Bike_Key:null,share_Bike_Key:null,owner_Email_Address:null,brake_Configuration:null,cockpit:{stem:_,handlebar:_,seat_Post:_,seat_Post_Clamp:_,dropper_Lever:_,lockout_Lever:_,grips:_,pedals:_,saddle:_},"frame_&_fork":{fork:_,rear_Shock:_,headseat:_},drivetrain:{chainguide:_,bottom_Bracket:_,crankset:_,largest_Chainring:_,second_Largest_Chainring:_,third_Largest_Chainring:_,chainring_Spider:_,chain:_,cassette:_,rear_Derailleur:_,front_Derailleur:_,shifter_RH:_,shifter_LH:_,shift_Brake_Combo_RH:_,shift_Brake_Combo_LH:_,shifter_Adapter_RH:_,shifter_Adapter_LH:_},brakes:{brake_Caliper_Front:_,brake_Caliper_Rear:_,brake_Lever_RH:_,brake_Lever_LH:_,brake_Pads_Front:_,brake_Pads_Rear:_,brake_Rotor_Front:_,brake_Rotor_Rear:_,brake_Adapter_Front:_,brake_Adapter_Rear:_},"wheels_&_tyres":{front_Wheel:_,front_Axle:_,rear_Wheel:_,rear_Axle:_,tyre_Front:_,tyre_Rear:_},is_E_Bike:null,eMotor_System_ID:null,eBattery_ID:null,eControl_Unit_ID:null,eCharger_ID:null,eInterconnects_ID:null},da={cockpit:{stem:_,handlebar:_,seat_Post:_,seat_Post_Clamp:_,dropper_Lever:_,lockout_Lever:_,grips:_,pedals:_,saddle:_},"frame_&_fork":{headset:_,fork:_,rear_Shock:_},drivetrain:{chainguide:_,bottom_Bracket:_,crankset:_,largest_Chainring:_,second_Largest_Chainring:_,third_Largest_Chainring:_,chainring_Spider:_,chain:_,cassette:_,rear_Derailleur:_,front_Derailleur:_,shifter_RH:_,shifter_LH:_,shift_Brake_Combo_RH:_,shift_Brake_Combo_LH:_,shifter_Adapter_RH:_,shifter_Adapter_LH:_},brakes:{brake_Caliper_Front:_,brake_Caliper_Rear:_,brake_Lever_RH:_,brake_Lever_LH:_,brake_Pads_Front:_,brake_Pads_Rear:_,brake_Rotor_Front:_,brake_Rotor_Rear:_,brake_Adapter_Front:_,brake_Adapter_Rear:_},"wheels_&_tyres":{front_Wheel:_,front_Axle:_,rear_Wheel:_,rear_Axle:_,tyre_Front:_,tyre_Rear:_}},Fr={headset:{},stem:{},handlebar:{},seat_Post:{},seat_Post_Clamp:{},dropper_Lever:{},lockout_Lever:{},grips:{},pedals:{},saddle:{},fork:{},rear_Shock:{},chainguide:{},bottom_Bracket:{},crankset:{},largest_Chainring:{},second_Largest_Chainring:{},third_Largest_Chainring:{},chainring_Spider:{},chain:{},cassette:{},rear_Derailleur:{},front_Derailleur:{},shifter_RH:{},shifter_LH:{},shift_Brake_Combo_RH:{},shift_Brake_Combo_LH:{},brake_Lever_RH:{},brake_Lever_LH:{},shifter_Adapter_RH:{},shifter_Adapter_LH:{},brake_Caliper_Front:{},brake_Caliper_Rear:{},brake_Pads_Front:{},brake_Pads_Rear:{},brake_Rotor_Front:{},brake_Rotor_Rear:{},brake_Adapter_Front:{},brake_Adapter_Rear:{},front_Wheel:{},front_Axle:{},rear_Wheel:{},rear_Axle:{},tyre_Front:{},tyre_Rear:{}},fl=(n,e)=>Object.keys(n).includes(e),bi=n=>(Object.keys(Fr).forEach(e=>{Object.keys(n).forEach(t=>{`${e}_ID`===t&&(Fr[e].id=n[t]),`${e}_Name`===t&&(Fr[e].name=n[t]),`${e}_Product_Category_ID`===t&&(Fr[e].product_category_id=n[t]),`${e}_Swap`===t&&(Fr[e].swap=n[t]),`${e}_Version_ID`===t&&(Fr[e].version_id=n[t]),`${e}_Unsaved_Changes`===t&&(Fr[e].unsaved_changes=n[t])})}),Object.keys(da).forEach(e=>{Object.keys(Fr).forEach(t=>{fl(da[e],t)&&(da[e][t]=Fr[t])})}),Object.keys(da).forEach(e=>{fl(ca,e)&&(ca[e]=da[e])}),Object.keys(n).forEach(e=>{fl(ca,e)&&(ca[e]=n[e])}),ca),uf=async n=>{var t;return{bikeSpec:n.spec,brand:n.bike_Brand,brandId:n.bike_Brand_ID,frameSeries:n.spec,frameSeriesId:n.model_Spec_ID,frameSize:n.bike_Size,images:[`https://imagestore.bikematrix.io/${n.bike_Reference}/400-${n.bike_Thumbnail}`],isCustom:n.bike_Type==="Custom_Bike",isShared:n.bike_Type==="Shared_Bike",key:n.bike_Type==="Shared_Bike"?n.share_Bike_Key:n.bike_Key,model:n.model_Family,modelId:n.model_Family_ID,name:n.bike_Name,size:n.bike_Size,sizeId:n.bike_Size_ID,variant:n.bike_Variant,year:n.year,_key:`${n.year}-${(t=n.spec)==null?void 0:t.replace(" ","")}`}};function g3(){const n=window.BikeMatrix.getConfig(),{bike:e,currentBike:t,setCurrentBike:r,lounge:i,removeBike:o,resetBike:l,saveBike:u}=Ht(),{t:c}=De(),{apiUrl:f,apiKey:p,apiToken:h,isShopify:b,virtualWorkshop:m}=window.BikeMatrix.getConfig();se(()=>{ht.value=null},[]);const P=new xt(f,p,h,b),x=async()=>{const w=new URLSearchParams(window.location.search).get("bikematrixid"),k=sessionStorage.getItem("bm_passed_id");if(!(k&&k!==null&&w===k)&&(!k||w!==k)){const D=i.find(O=>O.key===w);D?(r(D),sessionStorage.setItem("bm_passed_id",w)):D||(await A(w),sessionStorage.setItem("bm_passed_id",w))}},A=async z=>{const w=await P.getBikeBom(z);if(!(w!=null&&w.success)){n.logLevel==="verbose"&&console.error(w.logError);return}const k=bi(w.data);e.value=await uf(k),u(e.value),r(e.value)};return x(),se(()=>{i.map(z=>{z!=null&&z.isCustom&&(vo.value=!1)})},[i]),g(ie,{children:[i!=null&&i.length?i==null?void 0:i.filter(z=>!!z._key).map(z=>g("div",{class:"mb-4 relative",children:[g("p",{className:"opacity-0 absolute",children:z.key}),g("div",{onClick:()=>o(z.key),class:"w-7 h-7 z-10 -right-2 -top-2 flex items-center justify-center absolute bg-gray-200 text-gray-800 rounded-full",children:g(ua,{class:"h-3 w-3"})}),g(br,{compact:!0,onClick:w=>{w.preventDefault(),r((t==null?void 0:t.key)===(z==null?void 0:z.key)?null:{...z})},bike:z,selected:(t==null?void 0:t.key)===(z==null?void 0:z.key),spanner:m,custom:z==null?void 0:z.isCustom})]},z.key)):g("div",{class:Pe("relative mb-4 z-10 "),children:[g("div",{class:"w-full p-4 relative rounded-xl bg-white border border-gray-300 mb-4",children:[g("span",{class:"block rounded-lg h-6 w-1/2 bg-gray-200"}),g("img",{class:"w-auto mx-auto h-auto max-h-36 opacity-30",src:In("bike.png")}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-100"})]}),g("div",{class:Pe("w-full relative bg-white border -z-10 border-b-0 border-gray-300 rounded-t-xl h-20 mb-4","after:bottom-0 after:-inset-x-px after:-top-6 after:bg-gradient-to-t after:absolute after:from-white after:to-transparent"),children:[g("span",{class:" absolute left-4 top-4 rounded-lg h-6 w-1/2 bg-gray-200"}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-100"})]}),g("div",{class:" text-gray-800 text-center flex -mt-5 z-20 justify-center",children:[c("bikeselector_home_empty"),g("br",{}),c("bikeselector_home_add_a_bike")]})]}),g("button",{onClick:z=>{z.preventDefault(),l(),Oe("/add")},class:Pe("duration-300 transition-colors sticky bottom-[128px] mt-auto rounded-xl p-3 pr-5 w-full flex justify-center items-center",i.length&&!(t!=null&&t.key)?"bg-gray-950 text-white":i.length?"bg-gray-200 text-gray-800":"bg-gray-950 text-white",!t&&"bottom-0",t&&m&&"bottom-[128px]",t&&!m&&"bottom-[72px]"),children:[c("bikeselector_home_add_btn"),g(ua,{class:"h-3 absolute [&>path]:stroke-[2px] right-5 justify-self-end rotate-45"})]}),!!(i!=null&&i.length)&&!!(t!=null&&t.key)&&m&&g("button",{onClick:z=>{z.preventDefault(),!(t!=null&&t.isCustom)&&!(t!=null&&t.isShared)?Oe("/workshop"):t!=null&&t.isCustom&&!(t!=null&&t.isShared)?Oe("/bom"):!(t!=null&&t.isCustom)&&(t!=null&&t.isShared)&&Oe("/read-only")},class:Pe("duration-300 sticky bottom-[72px] transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center","bg-gray-200 text-gray-800"),children:[c("virtualworkshop_title"),g(v3,{class:"h-5 absolute right-5 justify-self-end"})]}),!!(i!=null&&i.length)&&!!(t!=null&&t.key)&&g("button",{onClick:z=>{z.preventDefault(),Oe("/browse")},class:Pe("duration-300 sticky bottom-4 transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center",i.length?"bg-gray-950 text-white":"bg-gray-200 text-gray-800"),children:c("bikeselector_home_browse_btn")}),g(Yr,{})]})}const b3=n=>te("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:10,cy:10,r:10,fill:"#030712"}),te("path",{d:"M6.57886 11.0526L9.02922 13.191L13.4604 7.02636",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),mr=({messages:n,left:e,margin:t})=>{const{t:r}=De(),[i,o]=U(""),[l,u]=U("");return se(()=>{n&&n.indexOf(" ")>=0&&(o(n.split(" ")[0]),u(n.split(" ")[1]))},[n]),g("div",{className:`flex h-4 w-auto ${e?"justify-start":"justify-center"} ${t?"mt-1":""}`,children:n&&g("p",{className:"message text-xs text-red-500",children:r(i||n,{endpoint_location:l})})})};function fa({type:n,title:e,placeholder:t,options:r=[],disabled:i=void 0,loading:o=!1,infoVisible:l=!1,children:u=void 0,error:c=null,...f}){const{t:p}=De(),h=m=>{switch(m){case"brand":return p("bikeselector_addbike_brand_desc");case"model":return p("bikeselector_addbike_model_desc");case"framespec":return p("bikeselector_addbike_framespec_desc");case"framesize":return p("bikeselector_size_framesize_desc");default:return""}},b=(m,P)=>m==="framesize"&&P==="One Size"?p("bikeselector_size_framesize_one_size"):P;return g(ie,{children:g("div",{class:"w-full flex flex-col space-y-2",children:[g("label",{class:"text-gray-800 font-bold text",children:e}),u&&g("div",{class:Pe("!my-0 overflow-hidden box-border transition-all duration-300",l?"max-h-screen":"h-0"),children:[g("p",{class:"text-gray-600 my-1 italic text-sm",children:h(n)}),g("div",{class:Pe("rounded-xl overflow-hidden my-0 relative py-1 h-32 bg-gray-100 w-full"),children:u})]}),g("div",{class:"w-full flex items-center relative",children:[g("select",{class:Pe("rounded-xl peer !pr-8 flex w-full border-gray-300 border p-4 py-3 text-lg bg-white placeholder:text-gray-700 text-gray-700","disabled:bg-gray-100 disabled:border-gray-200 disabled:text-gray-400",f.class),disabled:i,...f,children:[g("option",{value:"",selected:!f.value,disabled:!0,children:t}),r.map(m=>g("option",{value:m.value,disabled:m.disabled,children:b(n,m.label)}))]}),o?g("span",{class:"absolute block loader animate-spin right-4 w-5 h-5"}):f.value&&typeof i=="boolean"?g(b3,{class:"right-3 absolute w-5 pointer-events-none"}):g(gr,{class:"absolute h-3 text-gray-700 pointer-events-none rotate-90 right-5 peer-disabled:text-gray-400"})]}),c&&g(mr,{messages:c,left:!0,margin:5})]})})}const cf=n=>te("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("circle",{cx:12.5,cy:12.5,r:12,fill:"white",stroke:"black"}),te("path",{d:"M9 16.0711L12.5355 12.5355M12.5355 12.5355L16.0711 9M12.5355 12.5355L16.0711 16.0711M12.5355 12.5355L9 9",stroke:"black",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"})),m3=`.input_container{display:flex;flex-direction:column}.input_wrapper{width:100%;border-radius:12px;padding:12px;border:1px solid #d1d5db;display:flex;align-items:center;justify-content:space-between}.input_wrapper input{width:100%}
|
|
3
3
|
`,df=({value:n,setValue:e,placeholder:t,type:r,error:i,submitInput:o,label:l,instructions:u})=>g(ie,{children:[g("style",{type:"text/css",children:m3}),g("div",{className:"input_container",children:[l&&g("label",{class:"text-gray-800 font-bold text",children:l}),u&&g("label",{class:"text-gray-600 my-1 italic text-sm",children:u}),g("div",{className:"input_wrapper",children:[g("input",{placeholder:t,value:n,onChange:c=>e(c.currentTarget.value),type:r,onKeyDown:c=>{c.key==="Enter"&&o()}}),g(cf,{height:20,width:20,onClick:()=>e(""),className:"cursor-pointer"})]}),g(mr,{messages:i})]})]}),y3=`.lds-ring{display:inline-block;position:relative;width:24px;height:24px}.lds-ring div{box-sizing:border-box;display:block;position:absolute;width:19px;height:19px;margin:2px;border:2px solid #c4cdd5;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#c4cdd5 transparent transparent transparent}.lds-ring div:nth-child(1){animation-delay:-.45s}.lds-ring div:nth-child(2){animation-delay:-.3s}.lds-ring div:nth-child(3){animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
4
4
|
`;function Nr({isLoading:n,colour:e}){return g(ie,{children:[g("style",{type:"text/css",children:y3}),g("div",{class:"lds-ring",id:"bm-loading-spinner",style:{display:n?"inline-block":"none"},children:[g("div",{style:{border:`2px solid ${e}`,borderColor:`${e} transparent transparent transparent`}}),g("div",{style:{border:`2px solid ${e}`,borderColor:`${e} transparent transparent transparent`}}),g("div",{style:{border:`2px solid ${e}`,borderColor:`${e} transparent transparent transparent`}}),g("div",{style:{border:`2px solid ${e}`,borderColor:`${e} transparent transparent transparent`}})]})]})}const Cr=({onClick:n,primary:e,text:t,loading:r,disabled:i,sticky:o,children:l,active:u=!0,noMargin:c=!1})=>g("button",{onClick:f=>{!i&&!r&&(f.preventDefault(),n())},class:Pe("duration-300 bottom-4 transition-colors rounded-xl p-3 w-full flex justify-center items-center",`${e&&u?"bg-gray-950 text-white":e&&!u?"bg-gray-200 text-gray-400 ":"bg-gray-200 text-gray-800"} ${o&&"sticky"} ${!c&&"mt-4"}`),style:{cursor:i?"not-allowed":"pointer",opacity:i?.5:1},children:r?g(Nr,{isLoading:r,colour:e?"#fff":"#000"}):g(ie,{children:[g("span",{className:l?"ml-auto":"",children:t}),l]})});function w3(){const n=window.BikeMatrix.getConfig(),{bike:e,setBikeAttr:t}=Ht(),{brand:r,model:i,frameSeries:o}=e,{t:l}=De(),[u,c]=U([]),[f,p]=U(!1),h=new xt(n.apiUrl,n.apiKey,n.apiToken,n.isShopify),[b,m]=U(null),[P,x]=U(""),A=r.value,z=r.value&&i.value;se(()=>{const k=n.bikeSelectorBrands?n.bikeSelectorBrands.split(",").filter(D=>D!==""):[];if(k.length>0&&r.options.length>0){let D=[];r.options.forEach(O=>{k.includes(O.value.toString().trim())&&D.push(O)}),c(D)}else r.options.length>0&&c(r.options)},[n.bikeSelectorBrands,r.options]);const w=async()=>{p(!0);const k=await h.getBikeBom(P);if(!(k!=null&&k.success)){n.logLevel==="verbose"&&console.error(k.logError),p(!1),m(k.error);return}if(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)){const O=await h.getBikeBom(P),L=bi(O.data);ht.value=L,e.value=await uf(L),p(!1),Oe("/confirm")}else m("error_get_bike_bom"),p(!1)};return g(ie,{children:[g("div",{class:"space-y-5 relative w-full flex flex-col",children:[g(fa,{type:"brand",title:l("bikeselector_addbike_brand_label"),placeholder:l("bikeselector_addbike_brand_select"),value:r.value,options:u,onChange:k=>{t("brand",k.target.value)},loading:!r.options.length&&!r.error,disabled:!r.options.length||r.error,info:!0,infoVisible:!r.value,error:r.error,children:g("img",{src:In("info-brand.svg"),class:"w-full h-full"})}),g(fa,{type:"model",title:l("bikeselector_addbike_model_label"),placeholder:l("bikeselector_addbike_model_select"),value:i.value,options:i.options,onChange:k=>{t("model",k.target.value)},loading:A&&!i.options.length&&!i.error,disabled:!A||!i.options.length,info:!0,infoVisible:A&&!i.value,error:i.error,children:g("img",{src:In("info-model.svg"),class:"w-full h-full"})}),g(fa,{type:"framespec",title:l("bikeselector_addbike_framespec_label"),placeholder:l("bikeselector_addbike_framespec_select"),value:o.value,loading:z&&!o.options.length&&!o.error,options:o.options,onChange:k=>{t("frameSeries",k.target.value)},disabled:!z||!o.options.length||o.error,info:!0,infoVisible:z&&!o.value,error:o.error,children:g("img",{src:In("info-frameseries.svg"),class:"w-full h-full"})}),n.virtualWorkshop&&g(ie,{children:[g("div",{className:"flex justify-center items-center gap-2",children:[g("div",{className:"bg-gray-300 h-[1px] w-full"}),g("p",{className:" font-semibold text-sm",children:l("bikeselector_or")}),g("div",{className:"bg-gray-300 h-[1px] w-full"})]}),g(df,{value:P,setValue:k=>x(k),label:"Bike Matrix ID",placeholder:l("virtualworkshop_add_by_id"),type:"text",instructions:l("virtualworkshop_bm_id_text")})]})]}),g(mr,{messages:b}),g(Cr,{noMargin:!0,primary:!0,text:l("bikeselector_addbike_find_btn"),onClick:()=>{r.value&&i.value&&o.value?Oe("/search"):P&&w()},active:r.value&&i.value&&o.value||P,loading:f,children:g(gr,{class:"h-3 ml-auto justify-self-end"})})]})}function x3(){var P,x,A,z;const{bike:n,setBike:e,setBikeAttr:t,results:r,loading:i}=Ht(),{year:o,bikeSpec:l}=n,{t:u}=De(),[c,f]=[n.value,w=>e(k=>({...k,value:w}))],p=zr(()=>{const w=r==null?void 0:r.filter(k=>{var O;let D=!0;return l.value&&(D=k.bikeSpec===l.value),D&&o.value.length&&(D=(O=o.value)==null?void 0:O.includes(k.year)),D});return w.some(k=>k._key==c._key)||f({}),w},[r,l.value,o.value]),h=zr(()=>l.value?r.filter(k=>l.value==k.bikeSpec).map(k=>k.year):o.options.map(k=>k.value),[l.value]),b=zr(()=>{var k;if(!((k=o.value)!=null&&k.length))return l.options;const w=r.filter(D=>{var O;return(O=o.value)==null?void 0:O.includes(D.year)}).map(D=>D.bikeSpec);return l.options.map(D=>({...D,disabled:!w.includes(D.value)}))},[l.options,o.value]),m=w=>w===0?u("bikeselector_search_no_bikes_found"):w===1?u("bikeselector_search_one_bike_found"):u("bikeselector_search_number_bikes_found",{number_found:w});return g(ie,{children:[g("div",{class:"space-y-3 mb-6 relative w-full flex flex-col",children:[(n.bikeSpec.error||n.frameSize.error||n.year.error)&&g(mr,{messages:n.bikeSpec.error||n.frameSize.error||n.year.error}),g(fa,{type:"bikespec",title:u("bikeselector_search_bikespec_label"),placeholder:u("bikeselector_search_bikespec_select"),value:l.value,options:[{label:u("bikeselector_search_bikespec_select_all"),value:""},...b],onChange:w=>{t("bikeSpec",w.target.value)},disabled:!((P=l.options)!=null&&P.length)||n.bikeSpec.error,loading:!((x=l.options)!=null&&x.length)&&!n.bikeSpec.error}),g("div",{class:"w-full flex flex-col space-y-2",children:[g("label",{class:"text-gray-800 font-bold text",children:u("bikeselector_search_year_label")}),g("div",{class:Pe("flex space-x-2 overflow-x-auto","-mx-8 w-[calc(100%_+_64px)] px-8 no-scrollbar"),children:(A=o.options)!=null&&A.length?(z=o.options)==null?void 0:z.map(w=>{var O;const k=l.value&&!h.includes(w.value),D=(O=o.value)==null?void 0:O.includes(w.value);return g("div",{onClick:()=>{k||t("year",D?o.value.filter(L=>L!==w.value):[...o.value,w.value])},class:Pe("rounded-full cursor-pointer items-center flex border py-2 px-4",D?"pr-3 bg-gray-950 border-gray-950 text-white":"border-gray-300 text-gray-700 ",k&&"hidden"),children:[w.label,D&&g(ua,{class:"w-3 h-3 ml-2"})]})}):Array(2).fill(0).map((w,k)=>g("div",{class:"rounded-full items-center flex border py-2 bg-gray-100 px-4 bg-100 border-gray-300 animate-pulse",children:g("span",{class:"rounded-lg bg-gray-100 w-9 h-5"})},k))})]}),g("div",{class:Pe("text-nowrap font-medium w-full flex","[&>span]:text-gray-500 [&>span]:font-normal"),children:[i?g(ie,{children:u("bikeselector_search_searching")}):g(ie,{children:m(p.length)})," ",(r==null?void 0:r.length)>0&&g(ie,{children:[g("span",{children:"("}),g("span",{class:"whitespace-nowrap overflow-hidden text-ellipsis truncate",children:[r[0].brand," ",r[0].frameSeries]}),g("span",{children:")"})]})]}),g("div",{class:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:p!=null&&p.length&&!i?p.map((w,k)=>g(br,{"data-key":w._key,bike:w,selected:w._key===c._key,onClick:D=>{D.preventDefault(),f(w)},compact:!0},w._key)):Array(i?2:1).fill(0).map((w,k)=>g("div",{class:Pe("w-full relative rounded-xl h-40 bg-white border border-gray-200 ",i&&"animate-pulse"),children:[g("span",{class:" absolute left-4 top-4 rounded-lg h-6 w-1/2 bg-gray-200"}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-200"})]},k))})]}),g("button",{onClick:w=>{var k,D;if(w.preventDefault(),c._key){const O=(k=this.base.querySelector(`[data-key="${c._key}"] [data-active-slide]`))==null?void 0:k.getAttribute("data-active-slide"),B=[(D=this.base.querySelector(`[data-key="${c._key}"] [data-slide="${O}"] img`))==null?void 0:D.src].filter(T=>!!T);B!=null&&B.length&&e(T=>(T.value={...T.value||{},images:B},{...T})),Oe("/size")}},class:Pe("duration-300 transition-colors sticky bottom-6 mt-auto rounded-xl p-3 pr-5 w-full flex justify-center items-center",c._key?"bg-gray-950 text-white":"bg-gray-200 text-gray-400 "),children:[g("span",{class:"ml-auto",children:u("bikeselector_search_confirm_btn")})," ",g(gr,{class:"h-3 ml-auto justify-self-end"})]})]})}function P3(){var o,l;const{bike:n,setBikeAttr:e,setBike:t}=Ht(),{frameSize:r}=n,{t:i}=De();return se(()=>{var u;(u=r.options)!=null&&u.length||Oe("/confirm")},[]),g(ie,{children:[g(br,{bike:n.value,selected:!0,compact:!0}),g("div",{class:" mt-4 mb-6 relative w-full flex flex-col",children:g(fa,{type:"framesize",instruction:!0,title:i("bikeselector_size_framesize_label"),placeholder:i("bikeselector_size_framesize_select"),value:r.value,options:r.options,onChange:u=>{e("frameSize",u.target.value),t(c=>{var f;return c.value.frameSize=((f=r.options.find(p=>p.value==u.target.value))==null?void 0:f.label)||"",c})},selected:!0,info:!0,infoVisible:!0,disabled:!((o=r.options)!=null&&o.length),loading:!((l=r.options)!=null&&l.length),children:g("img",{src:In("info-size.svg"),class:"w-full h-full"})})}),g("button",{onClick:u=>{u.preventDefault(),r.value&&Oe("/confirm")},class:Pe("duration-300 transition-colors sticky bottom-10 mt-auto rounded-xl p-3 pr-5 w-full flex justify-center items-center",r.value?"bg-gray-950 text-white":"bg-gray-200 text-gray-400 "),children:[g("span",{class:"ml-auto",children:i("bikeselector_size_confirm_btn")})," ",g(gr,{class:"h-3 ml-auto justify-self-end"})]})]})}const Ar=wt({title:"",step:0,back:""});function k3({children:n}){const{t:e}=De();return g(ie,{children:[g("div",{class:"relative flex items-center justify-center w-full h-10 my-5 sm:mt-8",children:[!!Ar.value.back&&g("div",{onClick:()=>Oe(Ar.value.back),class:" w-10 h-10 absolute left-0 rounded-xl self-start border-gray-200 border items-center justify-center flex",children:g(gr,{class:"h-3 text-gray-500 -translate-x-px -rotate-180"})}),g("h2",{class:"text-xl font-bold",style:{maxWidth:"70%",textAlign:"center"},children:e(Ar.value.title)})]}),n,typeof Ar.value.step<"u"&&g("div",{class:"space-x-2 my-6 flex items-center justify-center",children:[0,1,2,3].map(t=>g("div",{class:Pe("rounded-xl h-2 transition-all duration-300",t==Ar.value.step?"w-6 bg-gray-950":"w-2 bg-gray-200")},t))})]})}function z3(){const{bike:n,saveBike:e}=Ht(),{brand:t,model:r,frameSeries:i,frameSize:o,year:l,bikeSpec:u}=n.value,{t:c}=De(),f=ht.value;return se(()=>{!o&&!f?Ar.value.back="/search":f&&(Ar.value.back="/add")},[]),g(ie,{children:[g(br,{bike:n.value,selected:!0,compact:!0}),g("div",{class:" space-y-4 mt-4 mb-6 relative w-full flex flex-col",children:[{title:c("bikeselector_confirm_brandmodelframespec_label"),value:[t,r,i].join(", "),path:"/add"},{title:c("bikeselector_confirm_yearbikespec_label"),value:[l,u].join(", "),path:"/search"},{title:c("bikeselector_confirm_framesize_label"),value:o,path:"/size"}].filter(p=>!!p.value).map(p=>g("div",{class:"w-full flex flex-col space-y-2",children:[g("label",{class:"text-gray-800 font-bold",children:p.title}),g("div",{onClick:()=>Oe(p.path),class:"w-full flex items-center relative cursor-pointer",children:[g("div",{class:Pe("rounded-xl peer whitespace-nowrap truncate !pr-8 flex w-full border-gray-300 border p-4 py-3 text-lg placeholder:text-gray-700 text-gray-700"),children:p.value}),g(gr,{class:"absolute h-3 text-gray-700 pointer-events-none right-4 peer-disabled:text-gray-400"})]})]},p.path))}),g("button",{onClick:p=>{p.preventDefault(),e(n.value),Oe("/browse")},class:Pe("duration-300 transition-colors sticky bottom-10 mt-auto rounded-xl p-3 w-full flex justify-center items-center","bg-gray-950 text-white"),children:c("bikeselector_confirm_confirm_btn")}),g("p",{class:"text-gray-600 -mb-3 mt-2 text-center font-normal text-xs",children:c("bikeselector_confirm_notyourride_msg")})]})}function C3(){const{currentBike:n,compatibleCollections:e}=Ht(),[t,r]=U(!0),[i,o]=U(),{t:l}=De(),u=()=>{if(e&&e.length>0){let c=[];e.map(f=>{c.some(p=>p.text_id===f.text_id)||c.push(f)}),o(c)}};return se(()=>{u()},[e]),se(()=>{i&&r(!1)},[i]),g(ie,{children:[g(br,{bike:n,selected:!0}),!!(i!=null&&i.length)&&!e.error&&g(ie,{children:[g("p",{class:"text-gray-800 mt-4 font-bold",children:l("bikeselector_browse_products_label")}),g("div",{class:"gap-3 mt-2 mb-6 relative w-full flex flex-wrap",children:i.map(c=>g("a",{href:c.url,class:"group flex items-center relative cursor-pointer",children:[g("div",{class:Pe("rounded-xl peer whitespace-nowrap truncate !pr-8 flex w-full border-gray-300 border p-4 py-3 text-lg placeholder:text-gray-700 text-gray-950","group-disabled:bg-gray-100 group-disabled:border-gray-200 group-disabled:text-gray-400"),children:l(c.text_id)}),g(gr,{class:"absolute h-3 pointer-events-none right-4 group-disabled:text-gray-400 text-gray-950"})]},c.text_id))})]}),g("div",{style:{width:"100%",display:"flex",justifyContent:"center",marginTop:"1rem"},children:g(Nr,{isLoading:t,colour:"#000"})}),e&&(e==null?void 0:e.error)&&g(mr,{messages:e.error,left:!0,margin:20}),g("button",{onClick:c=>{c.preventDefault(),gi()},class:Pe("duration-300 transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center","bg-gray-950 text-white"),children:l("bikeselector_browse_shop_btn")}),g("button",{onClick:c=>{c.preventDefault(),Oe("/")},class:Pe("duration-300 transition-colors mt-4 rounded-xl p-3 w-full flex justify-center items-center","bg-gray-200 text-gray-800"),children:l("bikeselector_browse_back_btn")}),g(Yr,{})]})}const mi=()=>g("div",{class:"w-full p-4 relative rounded-xl bg-white border border-gray-300 mb-4",children:[g("span",{class:"block rounded-lg h-6 w-1/2 bg-gray-200"}),g("img",{class:"w-auto mx-auto h-auto max-h-36 opacity-30",src:In("bike.png")}),g("span",{class:" absolute right-4 bottom-4 rounded-full h-8 w-8 bg-gray-100"})]});function A3(){const{t:n}=De(),t=window.BikeMatrix.getConfig(),{currentBike:r,setCurrentBike:i,compatibleCollections:o}=Ht(),l=new xt(t.apiUrl,t.apiKey,t.apiToken,t.isShopify),[u,c]=U(!1),[f,p]=U(null),{saveBike:h}=Ht(),b=async()=>{c(!0);const m=await l.addCustomBike(r.key);if(m.success){const P=await l.getBikeBom(m==null?void 0:m.data);if(!P.success){p(P.error),c(!1),t.logLevel==="verbose"&&console.error(P.logError);return}const x=bi(P.data);ht.value=x;const A={...r,key:x.bike_Key,isCustom:!0,shareId:x.share_Bike_Key};h(A),i(A),c(!1),Oe("/bom")}else{p(m.error),c(!1),t.logLevel==="verbose"&&console.error(m.logError);return}};return g(ie,{children:[g("div",{style:{marginBottom:"1rem"},children:[r?g(br,{bike:r,noSymbol:!0,compact:!0}):g(mi,{}),g("div",{class:" text-gray-800 text-center flex z-20 justify-center font-bold mt-6",children:!o.error&&o.length>1?n("virtualworkshop_intro_text"):n("virtualworkshop_do_not_pass")})]}),g(mr,{messages:f||o.error}),g(Cr,{text:!o.error&&o.length>1?n("virtualworkshop_enter_button"):n("bikeselector_browse_back_btn"),onClick:!o.error&&o.length>1?()=>b():()=>Oe("/"),loading:u,primary:!0}),g(Yr,{})]})}const H3=`.overflowing{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;justify-content:flex-start}.flexend{justify-content:flex-end}
|
|
5
5
|
`,Rr=({paragraph:n,subheader:e,header:t,text:r,small:i,left:o,bold:l,capitalize:u,nowrap:c,flexend:f})=>g(ie,{children:[g("style",{type:"text/css",children:H3}),t?g("h2",{class:"text-xl font-bold",children:r}):e?g("h4",{className:`text-gray-800 text-center flex z-20 justify-center font-bold ${u?"capitalize":""}`,children:r}):g("p",{class:`text-gray-800 flex z-20 ${i?"text-sm":""} ${o?"text-start justify-start":"text-center justify-center"} ${l?"font-bold":""} ${u?"capitalize":""} ${c?"overflowing":""} ${f?"flexend":""}`,children:r})]}),D3=`.background-alert-wrapper{opacity:0;position:absolute;height:100%;width:100%;display:none;top:0;left:0;pointer-events:none}.alert-wrapper{position:absolute;z-index:200;width:calc(100% + 16px);height:100%;background-color:#0003;top:0;left:-8px;border-radius:12px;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none}.alert{width:80%;padding:2rem;border-radius:12px;background-color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:300}.text-wrapper{display:flex;flex-direction:column;align-items:center;gap:1rem}.button-wrapper{display:flex;gap:1rem;width:100%;margin-top:1rem}
|
|
@@ -11,7 +11,7 @@ var BikeMatrix=function(){"use strict";var $i,ve,qc,Jc,jn,Uc,Kc,Ms,_c,ea={},$c=[
|
|
|
11
11
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
12
12
|
* Club GSAP members, the agreement issued with that membership.
|
|
13
13
|
* @author: Jack Doyle, jack@greensock.com
|
|
14
|
-
*/var Zt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},yi={duration:.5,overwrite:!1,delay:0},pl,dt,Fe,rr=1e8,je=1/rr,hl=Math.PI*2,O3=hl/4,X3=0,pf=Math.sqrt,E3=Math.cos,L3=Math.sin,lt=function(e){return typeof e=="string"},Ue=function(e){return typeof e=="function"},Qr=function(e){return typeof e=="number"},vl=function(e){return typeof e>"u"},Hr=function(e){return typeof e=="object"},Dt=function(e){return e!==!1},gl=function(){return typeof window<"u"},bo=function(e){return Ue(e)||lt(e)},hf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},vt=Array.isArray,bl=/(?:-?\.?\d|\.)+/gi,vf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,wi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ml=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gf=/[+-]=-?[.\d]+/,bf=/[^,'"\[\]\s]+/gi,B3=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,Dr,yl,wl,Yt={},mo={},mf,yf=function(e){return(mo=Pi(e,Yt))&&Et},xl=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},pa=function(e,t){return!t&&console.warn(e)},wf=function(e,t){return e&&(Yt[e]=t)&&mo&&(mo[e]=t)||Yt},ha=function(){return 0},j3={suppressEvents:!0,isStart:!0,kill:!1},yo={suppressEvents:!0,kill:!1},T3={suppressEvents:!0},Pl={},vn=[],kl={},xf,Ft={},zl={},Pf=30,wo=[],Cl="",Al=function(e){var t=e[0],r,i;if(Hr(t)||Ue(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=wo.length;i--&&!wo[i].targetTest(t););r=wo[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Kf(e[i],r)))||e.splice(i,1);return e},Mn=function(e){return e._gsap||Al(ir(e))[0]._gsap},kf=function(e,t,r){return(r=e[t])&&Ue(r)?e[t]():vl(r)&&e.getAttribute&&e.getAttribute(t)||r},Ot=function(e,t){return(e=e.split(",")).forEach(t)||e},_e=function(e){return Math.round(e*1e5)/1e5||0},rt=function(e){return Math.round(e*1e7)/1e7||0},xi=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},I3=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},xo=function(){var e=vn.length,t=vn.slice(0),r,i;for(kl={},vn.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},zf=function(e,t,r,i){vn.length&&!dt&&xo(),e.render(t,r,i||dt&&t<0&&(e._initted||e._startAt)),vn.length&&!dt&&xo()},Cf=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(bf).length<2?t:lt(e)?e.trim():e},Af=function(e){return e},Nt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},S3=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Pi=function(e,t){for(var r in t)e[r]=t[r];return e},Hf=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Hr(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Po=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},va=function(e){var t=e.parent||Ve,r=e.keyframes?S3(vt(e.keyframes)):Nt;if(Dt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},M3=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Df=function(e,t,r,i,o){r===void 0&&(r="_first"),i===void 0&&(i="_last");var l=e[i],u;if(o)for(u=t[o];l&&l[o]>u;)l=l._prev;return l?(t._next=l._next,l._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=l,t.parent=t._dp=e,t},ko=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t._prev,l=t._next;o?o._next=l:e[r]===t&&(e[r]=l),l?l._prev=o:e[i]===t&&(e[i]=o),t._next=t._prev=t.parent=null},gn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wn=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},W3=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Hl=function(e,t,r,i){return e._startAt&&(dt?e._startAt.revert(yo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Z3=function n(e){return!e||e._ts&&n(e.parent)},Of=function(e){return e._repeat?ki(e._tTime,e=e.duration()+e._rDelay)*e:0},ki=function(e,t){var r=Math.floor(e=rt(e/t));return e&&r===e?r-1:r},zo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Co=function(e){return e._end=rt(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Ao=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=rt(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Co(e),r._dirty||Wn(r,e)),e},Xf=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=zo(e.rawTime(),t),(!t._dur||ba(0,t.totalDuration(),r)-t._tTime>je)&&t.render(r,!0)),Wn(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-je}},Or=function(e,t,r,i){return t.parent&&gn(t),t._start=rt((Qr(r)?r:r||e!==Ve?nr(e,r,t):e._time)+t._delay),t._end=rt(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Df(e,t,"_first","_last",e._sort?"_start":0),Dl(t)||(e._recent=t),i||Xf(e,t),e._ts<0&&Ao(e,e._tTime),e},Ef=function(e,t){return(Yt.ScrollTrigger||xl("scrollTrigger",t))&&Yt.ScrollTrigger.create(t,e)},Lf=function(e,t,r,i,o){if(Sl(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xf!==Gt.frame)return vn.push(e),e._lazy=[o,i],1},Y3=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},Dl=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},F3=function(e,t,r,i){var o=e.ratio,l=t<0||!t&&(!e._start&&Y3(e)&&!(!e._initted&&Dl(e))||(e._ts<0||e._dp._ts<0)&&!Dl(e))?0:1,u=e._rDelay,c=0,f,p,h;if(u&&e._repeat&&(c=ba(0,e._tDur,t),p=ki(c,u),e._yoyo&&p&1&&(l=1-l),p!==ki(e._tTime,u)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||dt||i||e._zTime===je||!t&&e._zTime){if(!e._initted&&Lf(e,t,i,r,c))return;for(h=e._zTime,e._zTime=t||(r?je:0),r||(r=t&&!h),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=c,f=e._pt;f;)f.r(l,f.d),f=f._next;t<0&&Hl(e,t,r,!0),e._onUpdate&&!r&&Rt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Rt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&gn(e,1),!r&&!dt&&(Rt(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},N3=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},zi=function(e,t,r,i){var o=e._repeat,l=rt(t)||0,u=e._tTime/e._tDur;return u&&!i&&(e._time*=l/e._dur),e._dur=l,e._tDur=o?o<0?1e10:rt(l*(o+1)+e._rDelay*o):l,u>0&&!i&&Ao(e,e._tTime=e._tDur*u),e.parent&&Co(e),r||Wn(e.parent,e),e},Bf=function(e){return e instanceof Pt?Wn(e):zi(e,e._dur)},R3={_start:0,endTime:ha,totalDuration:ha},nr=function n(e,t,r){var i=e.labels,o=e._recent||R3,l=e.duration()>=rr?o.endTime(!1):e._dur,u,c,f;return lt(t)&&(isNaN(t)||t in i)?(c=t.charAt(0),f=t.substr(-1)==="%",u=t.indexOf("="),c==="<"||c===">"?(u>=0&&(t=t.replace(/=/,"")),(c==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(f?(u<0?o:r).totalDuration()/100:1)):u<0?(t in i||(i[t]=l),i[t]):(c=parseFloat(t.charAt(u-1)+t.substr(u+1)),f&&r&&(c=c/100*(vt(r)?r[0]:r).totalDuration()),u>1?n(e,t.substr(0,u-1),r)+c:l+c)):t==null?l:+t},ga=function(e,t,r){var i=Qr(t[1]),o=(i?2:1)+(e<2?0:1),l=t[o],u,c;if(i&&(l.duration=t[1]),l.parent=r,e){for(u=l,c=r;c&&!("immediateRender"in u);)u=c.vars.defaults||{},c=Dt(c.vars.inherit)&&c.parent;l.immediateRender=Dt(u.immediateRender),e<2?l.runBackwards=1:l.startAt=t[o-1]}return new nt(t[0],l,t[o+1])},bn=function(e,t){return e||e===0?t(e):t},ba=function(e,t,r){return r<e?e:r>t?t:r},gt=function(e,t){return!lt(e)||!(t=B3.exec(e))?"":t[1]},G3=function(e,t,r){return bn(r,function(i){return ba(e,t,i)})},Ol=[].slice,jf=function(e,t){return e&&Hr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Hr(e[0]))&&!e.nodeType&&e!==Dr},Q3=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return lt(i)&&!t||jf(i,1)?(o=r).push.apply(o,ir(i)):r.push(i)})||r},ir=function(e,t,r){return Fe&&!t&&Fe.selector?Fe.selector(e):lt(e)&&!r&&(yl||!Ai())?Ol.call((t||wl).querySelectorAll(e),0):vt(e)?Q3(e,r):jf(e)?Ol.call(e,0):e?[e]:[]},Xl=function(e){return e=ir(e)[0]||pa("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return ir(t,r.querySelectorAll?r:r===e?pa("Invalid scope")||wl.createElement("div"):e)}},Tf=function(e){return e.sort(function(){return .5-Math.random()})},If=function(e){if(Ue(e))return e;var t=Hr(e)?e:{each:e},r=Zn(t.ease),i=t.from||0,o=parseFloat(t.base)||0,l={},u=i>0&&i<1,c=isNaN(i)||u,f=t.axis,p=i,h=i;return lt(i)?p=h={center:.5,edges:.5,end:1}[i]||0:!u&&c&&(p=i[0],h=i[1]),function(b,m,P){var x=(P||t).length,A=l[x],z,w,k,D,O,L,B,T,X;if(!A){if(X=t.grid==="auto"?0:(t.grid||[1,rr])[1],!X){for(B=-rr;B<(B=P[X++].getBoundingClientRect().left)&&X<x;);X<x&&X--}for(A=l[x]=[],z=c?Math.min(X,x)*p-.5:i%X,w=X===rr?0:c?x*h/X-.5:i/X|0,B=0,T=rr,L=0;L<x;L++)k=L%X-z,D=w-(L/X|0),A[L]=O=f?Math.abs(f==="y"?D:k):pf(k*k+D*D),O>B&&(B=O),O<T&&(T=O);i==="random"&&Tf(A),A.max=B-T,A.min=T,A.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(X>x?x-1:f?f==="y"?x/X:X:Math.max(X,x/X))||0)*(i==="edges"?-1:1),A.b=x<0?o-x:o,A.u=gt(t.amount||t.each)||0,r=r&&x<0?qf(r):r}return x=(A[b]-A.min)/A.max||0,rt(A.b+(r?r(x):x)*A.v)+A.u}},El=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=rt(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Qr(r)?0:gt(r))}},Sf=function(e,t){var r=vt(e),i,o;return!r&&Hr(e)&&(i=r=e.radius||rr,e.values?(e=ir(e.values),(o=!Qr(e[0]))&&(i*=i)):e=El(e.increment)),bn(t,r?Ue(e)?function(l){return o=e(l),Math.abs(o-l)<=i?o:l}:function(l){for(var u=parseFloat(o?l.x:l),c=parseFloat(o?l.y:0),f=rr,p=0,h=e.length,b,m;h--;)o?(b=e[h].x-u,m=e[h].y-c,b=b*b+m*m):b=Math.abs(e[h]-u),b<f&&(f=b,p=h);return p=!i||f<=i?e[p]:l,o||p===l||Qr(l)?p:p+gt(l)}:El(e))},Mf=function(e,t,r,i){return bn(vt(e)?!t:r===!0?!!(r=0):!i,function(){return vt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},V3=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(o,l){return l(o)},i)}},q3=function(e,t){return function(r){return e(parseFloat(r))+(t||gt(r))}},J3=function(e,t,r){return Zf(e,t,0,1,r)},Wf=function(e,t,r){return bn(r,function(i){return e[~~t(i)]})},U3=function n(e,t,r){var i=t-e;return vt(e)?Wf(e,n(0,e.length),t):bn(r,function(o){return(i+(o-e)%i)%i+e})},K3=function n(e,t,r){var i=t-e,o=i*2;return vt(e)?Wf(e,n(0,e.length-1),t):bn(r,function(l){return l=(o+(l-e)%o)%o||0,e+(l>i?o-l:l)})},ma=function(e){for(var t=0,r="",i,o,l,u;~(i=e.indexOf("random(",t));)l=e.indexOf(")",i),u=e.charAt(i+7)==="[",o=e.substr(i+7,l-i-7).match(u?bf:bl),r+=e.substr(t,i-t)+Mf(u?o:+o[0],u?0:+o[1],+o[2]||1e-5),t=l+1;return r+e.substr(t,e.length-t)},Zf=function(e,t,r,i,o){var l=t-e,u=i-r;return bn(o,function(c){return r+((c-e)/l*u||0)})},_3=function n(e,t,r,i){var o=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!o){var l=lt(e),u={},c,f,p,h,b;if(r===!0&&(i=1)&&(r=null),l)e={p:e},t={p:t};else if(vt(e)&&!vt(t)){for(p=[],h=e.length,b=h-2,f=1;f<h;f++)p.push(n(e[f-1],e[f]));h--,o=function(P){P*=h;var x=Math.min(b,~~P);return p[x](P-x)},r=t}else i||(e=Pi(vt(e)?[]:{},e));if(!p){for(c in t)Tl.call(u,e,c,"get",t[c]);o=function(P){return Zl(P,u)||(l?e.p:e)}}}return bn(r,o)},Yf=function(e,t,r){var i=e.labels,o=rr,l,u,c;for(l in i)u=i[l]-t,u<0==!!r&&u&&o>(u=Math.abs(u))&&(c=l,o=u);return c},Rt=function(e,t,r){var i=e.vars,o=i[t],l=Fe,u=e._ctx,c,f,p;if(o)return c=i[t+"Params"],f=i.callbackScope||e,r&&vn.length&&xo(),u&&(Fe=u),p=c?o.apply(f,c):o.call(f),Fe=l,p},ya=function(e){return gn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!dt),e.progress()<1&&Rt(e,"onInterrupt"),e},Ci,Ff=[],Nf=function(e){if(e)if(e=!e.name&&e.default||e,gl()||e.headless){var t=e.name,r=Ue(e),i=t&&!r&&e.init?function(){this._props=[]}:e,o={init:ha,render:Zl,add:Tl,kill:hb,modifier:pb,rawVars:0},l={targetTest:0,get:0,getSetter:Wl,aliases:{},register:0};if(Ai(),e!==i){if(Ft[t])return;Nt(i,Nt(Po(e,o),l)),Pi(i.prototype,Pi(o,Po(e,l))),Ft[i.prop=t]=i,e.targetTest&&(wo.push(i),Pl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}wf(t,i),e.register&&e.register(Et,i,Xt)}else Ff.push(e)},Te=255,wa={aqua:[0,Te,Te],lime:[0,Te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Te],navy:[0,0,128],white:[Te,Te,Te],olive:[128,128,0],yellow:[Te,Te,0],orange:[Te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Te,0,0],pink:[Te,192,203],cyan:[0,Te,Te],transparent:[Te,Te,Te,0]},Ll=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*Te+.5|0},Rf=function(e,t,r){var i=e?Qr(e)?[e>>16,e>>8&Te,e&Te]:0:wa.black,o,l,u,c,f,p,h,b,m,P;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),wa[e])i=wa[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),l=e.charAt(2),u=e.charAt(3),e="#"+o+o+l+l+u+u+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Te,i&Te,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Te,e&Te]}else if(e.substr(0,3)==="hsl"){if(i=P=e.match(bl),!t)c=+i[0]%360/360,f=+i[1]/100,p=+i[2]/100,l=p<=.5?p*(f+1):p+f-p*f,o=p*2-l,i.length>3&&(i[3]*=1),i[0]=Ll(c+1/3,o,l),i[1]=Ll(c,o,l),i[2]=Ll(c-1/3,o,l);else if(~e.indexOf("="))return i=e.match(vf),r&&i.length<4&&(i[3]=1),i}else i=e.match(bl)||wa.transparent;i=i.map(Number)}return t&&!P&&(o=i[0]/Te,l=i[1]/Te,u=i[2]/Te,h=Math.max(o,l,u),b=Math.min(o,l,u),p=(h+b)/2,h===b?c=f=0:(m=h-b,f=p>.5?m/(2-h-b):m/(h+b),c=h===o?(l-u)/m+(l<u?6:0):h===l?(u-o)/m+2:(o-l)/m+4,c*=60),i[0]=~~(c+.5),i[1]=~~(f*100+.5),i[2]=~~(p*100+.5)),r&&i.length<4&&(i[3]=1),i},Gf=function(e){var t=[],r=[],i=-1;return e.split(mn).forEach(function(o){var l=o.match(wi)||[];t.push.apply(t,l),r.push(i+=l.length+1)}),t.c=r,t},Qf=function(e,t,r){var i="",o=(e+i).match(mn),l=t?"hsla(":"rgba(",u=0,c,f,p,h;if(!o)return e;if(o=o.map(function(b){return(b=Rf(b,t,1))&&l+(t?b[0]+","+b[1]+"%,"+b[2]+"%,"+b[3]:b.join(","))+")"}),r&&(p=Gf(e),c=r.c,c.join(i)!==p.c.join(i)))for(f=e.replace(mn,"1").split(wi),h=f.length-1;u<h;u++)i+=f[u]+(~c.indexOf(u)?o.shift()||l+"0,0,0,0)":(p.length?p:o.length?o:r).shift());if(!f)for(f=e.split(mn),h=f.length-1;u<h;u++)i+=f[u]+o[u];return i+f[h]},mn=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in wa)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),$3=/hsl[a]?\(/,Vf=function(e){var t=e.join(" "),r;if(mn.lastIndex=0,mn.test(t))return r=$3.test(t),e[1]=Qf(e[1],r),e[0]=Qf(e[0],r,Gf(e[1])),!0},xa,Gt=function(){var n=Date.now,e=500,t=33,r=n(),i=r,o=1e3/240,l=o,u=[],c,f,p,h,b,m,P=function x(A){var z=n()-i,w=A===!0,k,D,O,L;if((z>e||z<0)&&(r+=z-t),i+=z,O=i-r,k=O-l,(k>0||w)&&(L=++h.frame,b=O-h.time*1e3,h.time=O=O/1e3,l+=k+(k>=o?4:o-k),D=1),w||(c=f(x)),D)for(m=0;m<u.length;m++)u[m](O,b,L,A)};return h={time:0,frame:0,tick:function(){P(!0)},deltaRatio:function(A){return b/(1e3/(A||60))},wake:function(){mf&&(!yl&&gl()&&(Dr=yl=window,wl=Dr.document||{},Yt.gsap=Et,(Dr.gsapVersions||(Dr.gsapVersions=[])).push(Et.version),yf(mo||Dr.GreenSockGlobals||!Dr.gsap&&Dr||{}),Ff.forEach(Nf)),p=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),f=p||function(A){return setTimeout(A,l-h.time*1e3+1|0)},xa=1,P(2))},sleep:function(){(p?cancelAnimationFrame:clearTimeout)(c),xa=0,f=ha},lagSmoothing:function(A,z){e=A||1/0,t=Math.min(z||33,e)},fps:function(A){o=1e3/(A||240),l=h.time*1e3+o},add:function(A,z,w){var k=z?function(D,O,L,B){A(D,O,L,B),h.remove(k)}:A;return h.remove(A),u[w?"unshift":"push"](k),Ai(),k},remove:function(A,z){~(z=u.indexOf(A))&&u.splice(z,1)&&m>=z&&m--},_listeners:u},h}(),Ai=function(){return!xa&&Gt.wake()},Ae={},eb=/^[\d.\-M][\d.\-,\s]/,tb=/["']/g,rb=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,l=r.length,u,c,f;o<l;o++)c=r[o],u=o!==l-1?c.lastIndexOf(","):c.length,f=c.substr(0,u),t[i]=isNaN(f)?f.replace(tb,"").trim():+f,i=c.substr(u+1).trim();return t},nb=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},ib=function(e){var t=(e+"").split("("),r=Ae[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[rb(t[1])]:nb(e).split(",").map(Cf)):Ae._CE&&eb.test(e)?Ae._CE("",e):r},qf=function(e){return function(t){return 1-e(1-t)}},Jf=function n(e,t){for(var r=e._first,i;r;)r instanceof Pt?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},Zn=function(e,t){return e&&(Ue(e)?e:Ae[e]||ib(e))||t},Yn=function(e,t,r,i){r===void 0&&(r=function(c){return 1-t(1-c)}),i===void 0&&(i=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:i},l;return Ot(e,function(u){Ae[u]=Yt[u]=o,Ae[l=u.toLowerCase()]=r;for(var c in o)Ae[l+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=Ae[u+"."+c]=o[c]}),o},Uf=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Bl=function n(e,t,r){var i=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),l=o/hl*(Math.asin(1/i)||0),u=function(p){return p===1?1:i*Math.pow(2,-10*p)*L3((p-l)*o)+1},c=e==="out"?u:e==="in"?function(f){return 1-u(1-f)}:Uf(u);return o=hl/o,c.config=function(f,p){return n(e,f,p)},c},jl=function n(e,t){t===void 0&&(t=1.70158);var r=function(l){return l?--l*l*((t+1)*l+t)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Uf(r);return i.config=function(o){return n(e,o)},i};Ot("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;Yn(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),Ae.Linear.easeNone=Ae.none=Ae.Linear.easeIn,Yn("Elastic",Bl("in"),Bl("out"),Bl()),function(n,e){var t=1/e,r=2*t,i=2.5*t,o=function(u){return u<t?n*u*u:u<r?n*Math.pow(u-1.5/e,2)+.75:u<i?n*(u-=2.25/e)*u+.9375:n*Math.pow(u-2.625/e,2)+.984375};Yn("Bounce",function(l){return 1-o(1-l)},o)}(7.5625,2.75),Yn("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)}),Yn("Circ",function(n){return-(pf(1-n*n)-1)}),Yn("Sine",function(n){return n===1?1:-E3(n*O3)+1}),Yn("Back",jl("in"),jl("out"),jl()),Ae.SteppedEase=Ae.steps=Yt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),o=t?1:0,l=1-je;return function(u){return((i*ba(0,l,u)|0)+o)*r}}},yi.ease=Ae["quad.out"],Ot("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Cl+=n+","+n+"Params,"});var Kf=function(e,t){this.id=X3++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:kf,this.set=t?t.getSetter:Wl},Pa=function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zi(this,+t.duration,1,1),this.data=t.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),xa||Gt.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,zi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ai(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Ao(this,r),!o._dp||o.parent||Xf(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Or(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===je||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),zf(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Of(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Of(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?ki(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-je?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?zo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-je?0:this._rts,this.totalTime(ba(-Math.abs(this._delay),this._tDur,o),i!==!1),Co(this),W3(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ai(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==je&&(this._tTime-=je)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Or(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Dt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?zo(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=T3);var i=dt;return dt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),dt=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Bf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Bf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(nr(this,r),Dt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Dt(i)),this._dur||(this._zTime=-je),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-je:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-je,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-je)},e.eventCallback=function(r,i,o){var l=this.vars;return arguments.length>1?(i?(l[r]=i,o&&(l[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete l[r],this):l[r]},e.then=function(r){var i=this;return new Promise(function(o){var l=Ue(r)?r:Af,u=function(){var f=i.then;i.then=null,Ue(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=f),o(l),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?u():i._prom=u})},e.kill=function(){ya(this)},n}();Nt(Pa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-je,_prom:0,_ps:!1,_rts:1});var Pt=function(n){ff(e,n);function e(r,i){var o;return r===void 0&&(r={}),o=n.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Dt(r.sortChildren),Ve&&Or(r.parent||Ve,Gr(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Ef(Gr(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(i,o,l){return ga(0,arguments,this),this},t.from=function(i,o,l){return ga(1,arguments,this),this},t.fromTo=function(i,o,l,u){return ga(2,arguments,this),this},t.set=function(i,o,l){return o.duration=0,o.parent=this,va(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new nt(i,o,nr(this,l),1),this},t.call=function(i,o,l){return Or(this,nt.delayedCall(0,i,o),l)},t.staggerTo=function(i,o,l,u,c,f,p){return l.duration=o,l.stagger=l.stagger||u,l.onComplete=f,l.onCompleteParams=p,l.parent=this,new nt(i,l,nr(this,c)),this},t.staggerFrom=function(i,o,l,u,c,f,p){return l.runBackwards=1,va(l).immediateRender=Dt(l.immediateRender),this.staggerTo(i,o,l,u,c,f,p)},t.staggerFromTo=function(i,o,l,u,c,f,p,h){return u.startAt=l,va(u).immediateRender=Dt(u.immediateRender),this.staggerTo(i,o,u,c,f,p,h)},t.render=function(i,o,l){var u=this._time,c=this._dirty?this.totalDuration():this._tDur,f=this._dur,p=i<=0?0:rt(i),h=this._zTime<0!=i<0&&(this._initted||!f),b,m,P,x,A,z,w,k,D,O,L,B;if(this!==Ve&&p>c&&i>=0&&(p=c),p!==this._tTime||l||h){if(u!==this._time&&f&&(p+=this._time-u,i+=this._time-u),b=p,D=this._start,k=this._ts,z=!k,h&&(f||(u=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(L=this._yoyo,A=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(A*100+i,o,l);if(b=rt(p%A),p===c?(x=this._repeat,b=f):(O=rt(p/A),x=~~O,x&&x===O&&(b=f,x--),b>f&&(b=f)),O=ki(this._tTime,A),!u&&this._tTime&&O!==x&&this._tTime-O*A-this._dur<=0&&(O=x),L&&x&1&&(b=f-b,B=1),x!==O&&!this._lock){var T=L&&O&1,X=T===(L&&x&1);if(x<O&&(T=!T),u=T?0:p%f?f:p,this._lock=1,this.render(u||(B?0:rt(x*A)),o,!f)._lock=0,this._tTime=p,!o&&this.parent&&Rt(this,"onRepeat"),this.vars.repeatRefresh&&!B&&(this.invalidate()._lock=1),u&&u!==this._time||z!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,c=this._tDur,X&&(this._lock=2,u=T?f:-1e-4,this.render(u,!0),this.vars.repeatRefresh&&!B&&this.invalidate()),this._lock=0,!this._ts&&!z)return this;Jf(this,B)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=N3(this,rt(u),rt(b)),w&&(p-=b-(b=w._start))),this._tTime=p,this._time=b,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,u=0),!u&&b&&!o&&!x&&(Rt(this,"onStart"),this._tTime!==p))return this;if(b>=u&&i>=0)for(m=this._first;m;){if(P=m._next,(m._act||b>=m._start)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,l);if(m.render(m._ts>0?(b-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(b-m._start)*m._ts,o,l),b!==this._time||!this._ts&&!z){w=0,P&&(p+=this._zTime=-je);break}}m=P}else{m=this._last;for(var W=i<0?i:b;m;){if(P=m._prev,(m._act||W<=m._end)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,l);if(m.render(m._ts>0?(W-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(W-m._start)*m._ts,o,l||dt&&(m._initted||m._startAt)),b!==this._time||!this._ts&&!z){w=0,P&&(p+=this._zTime=W?-je:je);break}}m=P}}if(w&&!o&&(this.pause(),w.render(b>=u?0:-je)._zTime=b>=u?1:-1,this._ts))return this._start=D,Co(this),this.render(i,o,l);this._onUpdate&&!o&&Rt(this,"onUpdate",!0),(p===c&&this._tTime>=this.totalDuration()||!p&&u)&&(D===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(p===c&&this._ts>0||!p&&this._ts<0)&&gn(this,1),!o&&!(i<0&&!u)&&(p||u||!c)&&(Rt(this,p===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(p<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,o){var l=this;if(Qr(o)||(o=nr(this,o,i)),!(i instanceof Pa)){if(vt(i))return i.forEach(function(u){return l.add(u,o)}),this;if(lt(i))return this.addLabel(i,o);if(Ue(i))i=nt.delayedCall(0,i);else return this}return this!==i?Or(this,i,o):this},t.getChildren=function(i,o,l,u){i===void 0&&(i=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),u===void 0&&(u=-rr);for(var c=[],f=this._first;f;)f._start>=u&&(f instanceof nt?o&&c.push(f):(l&&c.push(f),i&&c.push.apply(c,f.getChildren(!0,o,l)))),f=f._next;return c},t.getById=function(i){for(var o=this.getChildren(1,1,1),l=o.length;l--;)if(o[l].vars.id===i)return o[l]},t.remove=function(i){return lt(i)?this.removeLabel(i):Ue(i)?this.killTweensOf(i):(i.parent===this&&ko(this,i),i===this._recent&&(this._recent=this._last),Wn(this))},t.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=rt(Gt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},t.addLabel=function(i,o){return this.labels[i]=nr(this,o),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,o,l){var u=nt.delayedCall(0,o||ha,l);return u.data="isPause",this._hasPause=1,Or(this,u,nr(this,i))},t.removePause=function(i){var o=this._first;for(i=nr(this,i);o;)o._start===i&&o.data==="isPause"&&gn(o),o=o._next},t.killTweensOf=function(i,o,l){for(var u=this.getTweensOf(i,l),c=u.length;c--;)yn!==u[c]&&u[c].kill(i,o);return this},t.getTweensOf=function(i,o){for(var l=[],u=ir(i),c=this._first,f=Qr(o),p;c;)c instanceof nt?I3(c._targets,u)&&(f?(!yn||c._initted&&c._ts)&&c.globalTime(0)<=o&&c.globalTime(c.totalDuration())>o:!o||c.isActive())&&l.push(c):(p=c.getTweensOf(u,o)).length&&l.push.apply(l,p),c=c._next;return l},t.tweenTo=function(i,o){o=o||{};var l=this,u=nr(l,i),c=o,f=c.startAt,p=c.onStart,h=c.onStartParams,b=c.immediateRender,m,P=nt.to(l,Nt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:u,overwrite:"auto",duration:o.duration||Math.abs((u-(f&&"time"in f?f.time:l._time))/l.timeScale())||je,onStart:function(){if(l.pause(),!m){var A=o.duration||Math.abs((u-(f&&"time"in f?f.time:l._time))/l.timeScale());P._dur!==A&&zi(P,A,0,1).render(P._time,!0,!0),m=1}p&&p.apply(P,h||[])}},o));return b?P.render(0):P},t.tweenFromTo=function(i,o,l){return this.tweenTo(o,Nt({startAt:{time:nr(this,i)}},l))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Yf(this,nr(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Yf(this,nr(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+je)},t.shiftChildren=function(i,o,l){l===void 0&&(l=0);for(var u=this._first,c=this.labels,f;u;)u._start>=l&&(u._start+=i,u._end+=i),u=u._next;if(o)for(f in c)c[f]>=l&&(c[f]+=i);return Wn(this)},t.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,l;o;)l=o._next,this.remove(o),o=l;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Wn(this)},t.totalDuration=function(i){var o=0,l=this,u=l._last,c=rr,f,p,h;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-i:i));if(l._dirty){for(h=l.parent;u;)f=u._prev,u._dirty&&u.totalDuration(),p=u._start,p>c&&l._sort&&u._ts&&!l._lock?(l._lock=1,Or(l,u,p-u._delay,1)._lock=0):c=p,p<0&&u._ts&&(o-=p,(!h&&!l._dp||h&&h.smoothChildTiming)&&(l._start+=p/l._ts,l._time-=p,l._tTime-=p),l.shiftChildren(-p,!1,-1/0),c=0),u._end>o&&u._ts&&(o=u._end),u=f;zi(l,l===Ve&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},e.updateRoot=function(i){if(Ve._ts&&(zf(Ve,zo(i,Ve)),xf=Gt.frame),Gt.frame>=Pf){Pf+=Zt.autoSleep||120;var o=Ve._first;if((!o||!o._ts)&&Zt.autoSleep&&Gt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Gt.sleep()}}},e}(Pa);Nt(Pt.prototype,{_lock:0,_hasPause:0,_forcing:0});var ab=function(e,t,r,i,o,l,u){var c=new Xt(this._pt,e,t,0,1,np,null,o),f=0,p=0,h,b,m,P,x,A,z,w;for(c.b=r,c.e=i,r+="",i+="",(z=~i.indexOf("random("))&&(i=ma(i)),l&&(w=[r,i],l(w,e,t),r=w[0],i=w[1]),b=r.match(ml)||[];h=ml.exec(i);)P=h[0],x=i.substring(f,h.index),m?m=(m+1)%5:x.substr(-5)==="rgba("&&(m=1),P!==b[p++]&&(A=parseFloat(b[p-1])||0,c._pt={_next:c._pt,p:x||p===1?x:",",s:A,c:P.charAt(1)==="="?xi(A,P)-A:parseFloat(P)-A,m:m&&m<4?Math.round:0},f=ml.lastIndex);return c.c=f<i.length?i.substring(f,i.length):"",c.fp=u,(gf.test(i)||z)&&(c.e=0),this._pt=c,c},Tl=function(e,t,r,i,o,l,u,c,f,p){Ue(i)&&(i=i(o||0,e,l));var h=e[t],b=r!=="get"?r:Ue(h)?f?e[t.indexOf("set")||!Ue(e["get"+t.substr(3)])?t:"get"+t.substr(3)](f):e[t]():h,m=Ue(h)?f?cb:tp:Ml,P;if(lt(i)&&(~i.indexOf("random(")&&(i=ma(i)),i.charAt(1)==="="&&(P=xi(b,i)+(gt(b)||0),(P||P===0)&&(i=P))),!p||b!==i||Il)return!isNaN(b*i)&&i!==""?(P=new Xt(this._pt,e,t,+b||0,i-(b||0),typeof h=="boolean"?fb:rp,0,m),f&&(P.fp=f),u&&P.modifier(u,this,e),this._pt=P):(!h&&!(t in e)&&xl(t,i),ab.call(this,e,t,b,i,m,c||Zt.stringFilter,f))},ob=function(e,t,r,i,o){if(Ue(e)&&(e=ka(e,o,t,r,i)),!Hr(e)||e.style&&e.nodeType||vt(e)||hf(e))return lt(e)?ka(e,o,t,r,i):e;var l={},u;for(u in e)l[u]=ka(e[u],o,t,r,i);return l},_f=function(e,t,r,i,o,l){var u,c,f,p;if(Ft[e]&&(u=new Ft[e]).init(o,u.rawVars?t[e]:ob(t[e],i,o,l,r),r,i,l)!==!1&&(r._pt=c=new Xt(r._pt,o,e,0,1,u.render,u,0,u.priority),r!==Ci))for(f=r._ptLookup[r._targets.indexOf(o)],p=u._props.length;p--;)f[u._props[p]]=c;return u},yn,Il,Sl=function n(e,t,r){var i=e.vars,o=i.ease,l=i.startAt,u=i.immediateRender,c=i.lazy,f=i.onUpdate,p=i.runBackwards,h=i.yoyoEase,b=i.keyframes,m=i.autoRevert,P=e._dur,x=e._startAt,A=e._targets,z=e.parent,w=z&&z.data==="nested"?z.vars.targets:A,k=e._overwrite==="auto"&&!pl,D=e.timeline,O,L,B,T,X,W,M,N,V,J,re,K,ee;if(D&&(!b||!o)&&(o="none"),e._ease=Zn(o,yi.ease),e._yEase=h?qf(Zn(h===!0?o:h,yi.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!D&&!!i.runBackwards,!D||b&&!i.stagger){if(N=A[0]?Mn(A[0]).harness:0,K=N&&i[N.prop],O=Po(i,Pl),x&&(x._zTime<0&&x.progress(1),t<0&&p&&u&&!m?x.render(-1,!0):x.revert(p&&P?yo:j3),x._lazy=0),l){if(gn(e._startAt=nt.set(A,Nt({data:"isStart",overwrite:!1,parent:z,immediateRender:!0,lazy:!x&&Dt(c),startAt:null,delay:0,onUpdate:f&&function(){return Rt(e,"onUpdate")},stagger:0},l))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt||!u&&!m)&&e._startAt.revert(yo),u&&P&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(p&&P&&!x){if(t&&(u=!1),B=Nt({overwrite:!1,data:"isFromStart",lazy:u&&!x&&Dt(c),immediateRender:u,stagger:0,parent:z},O),K&&(B[N.prop]=K),gn(e._startAt=nt.set(A,B)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt?e._startAt.revert(yo):e._startAt.render(-1,!0)),e._zTime=t,!u)n(e._startAt,je,je);else if(!t)return}for(e._pt=e._ptCache=0,c=P&&Dt(c)||c&&!P,L=0;L<A.length;L++){if(X=A[L],M=X._gsap||Al(A)[L]._gsap,e._ptLookup[L]=J={},kl[M.id]&&vn.length&&xo(),re=w===A?L:w.indexOf(X),N&&(V=new N).init(X,K||O,e,re,w)!==!1&&(e._pt=T=new Xt(e._pt,X,V.name,0,1,V.render,V,0,V.priority),V._props.forEach(function(F){J[F]=T}),V.priority&&(W=1)),!N||K)for(B in O)Ft[B]&&(V=_f(B,O,e,re,X,w))?V.priority&&(W=1):J[B]=T=Tl.call(e,X,B,"get",O[B],re,w,0,i.stringFilter);e._op&&e._op[L]&&e.kill(X,e._op[L]),k&&e._pt&&(yn=e,Ve.killTweensOf(X,J,e.globalTime(t)),ee=!e.parent,yn=0),e._pt&&c&&(kl[M.id]=1)}W&&ip(e),e._onInit&&e._onInit(e)}e._onUpdate=f,e._initted=(!e._op||e._pt)&&!ee,b&&t<=0&&D.render(rr,!0,!0)},sb=function(e,t,r,i,o,l,u,c){var f=(e._pt&&e._ptCache||(e._ptCache={}))[t],p,h,b,m;if(!f)for(f=e._ptCache[t]=[],b=e._ptLookup,m=e._targets.length;m--;){if(p=b[m][t],p&&p.d&&p.d._pt)for(p=p.d._pt;p&&p.p!==t&&p.fp!==t;)p=p._next;if(!p)return Il=1,e.vars[t]="+=0",Sl(e,u),Il=0,c?pa(t+" not eligible for reset"):1;f.push(p)}for(m=f.length;m--;)h=f[m],p=h._pt||h,p.s=(i||i===0)&&!o?i:p.s+(i||0)+l*p.c,p.c=r-p.s,h.e&&(h.e=_e(r)+gt(h.e)),h.b&&(h.b=p.s+gt(h.b))},lb=function(e,t){var r=e[0]?Mn(e[0]).harness:0,i=r&&r.aliases,o,l,u,c;if(!i)return t;o=Pi({},t);for(l in i)if(l in o)for(c=i[l].split(","),u=c.length;u--;)o[c[u]]=o[l];return o},ub=function(e,t,r,i){var o=t.ease||i||"power1.inOut",l,u;if(vt(t))u=r[e]||(r[e]=[]),t.forEach(function(c,f){return u.push({t:f/(t.length-1)*100,v:c,e:o})});else for(l in t)u=r[l]||(r[l]=[]),l==="ease"||u.push({t:parseFloat(e),v:t[l],e:o})},ka=function(e,t,r,i,o){return Ue(e)?e.call(t,r,i,o):lt(e)&&~e.indexOf("random(")?ma(e):e},$f=Cl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ep={};Ot($f+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return ep[n]=1});var nt=function(n){ff(e,n);function e(r,i,o,l){var u;typeof i=="number"&&(o.duration=i,i=o,o=null),u=n.call(this,l?i:va(i))||this;var c=u.vars,f=c.duration,p=c.delay,h=c.immediateRender,b=c.stagger,m=c.overwrite,P=c.keyframes,x=c.defaults,A=c.scrollTrigger,z=c.yoyoEase,w=i.parent||Ve,k=(vt(r)||hf(r)?Qr(r[0]):"length"in i)?[r]:ir(r),D,O,L,B,T,X,W,M;if(u._targets=k.length?Al(k):pa("GSAP target "+r+" not found. https://gsap.com",!Zt.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=m,P||b||bo(f)||bo(p)){if(i=u.vars,D=u.timeline=new Pt({data:"nested",defaults:x||{},targets:w&&w.data==="nested"?w.vars.targets:k}),D.kill(),D.parent=D._dp=Gr(u),D._start=0,b||bo(f)||bo(p)){if(B=k.length,W=b&&If(b),Hr(b))for(T in b)~$f.indexOf(T)&&(M||(M={}),M[T]=b[T]);for(O=0;O<B;O++)L=Po(i,ep),L.stagger=0,z&&(L.yoyoEase=z),M&&Pi(L,M),X=k[O],L.duration=+ka(f,Gr(u),O,X,k),L.delay=(+ka(p,Gr(u),O,X,k)||0)-u._delay,!b&&B===1&&L.delay&&(u._delay=p=L.delay,u._start+=p,L.delay=0),D.to(X,L,W?W(O,X,k):0),D._ease=Ae.none;D.duration()?f=p=0:u.timeline=0}else if(P){va(Nt(D.vars.defaults,{ease:"none"})),D._ease=Zn(P.ease||i.ease||"none");var N=0,V,J,re;if(vt(P))P.forEach(function(K){return D.to(k,K,">")}),D.duration();else{L={};for(T in P)T==="ease"||T==="easeEach"||ub(T,P[T],L,P.easeEach);for(T in L)for(V=L[T].sort(function(K,ee){return K.t-ee.t}),N=0,O=0;O<V.length;O++)J=V[O],re={ease:J.e,duration:(J.t-(O?V[O-1].t:0))/100*f},re[T]=J.v,D.to(k,re,N),N+=re.duration;D.duration()<f&&D.to({},{duration:f-D.duration()})}}f||u.duration(f=D.duration())}else u.timeline=0;return m===!0&&!pl&&(yn=Gr(u),Ve.killTweensOf(k),yn=0),Or(w,Gr(u),o),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(h||!f&&!P&&u._start===rt(w._time)&&Dt(h)&&Z3(Gr(u))&&w.data!=="nested")&&(u._tTime=-je,u.render(Math.max(0,-p)||0)),A&&Ef(Gr(u),A),u}var t=e.prototype;return t.render=function(i,o,l){var u=this._time,c=this._tDur,f=this._dur,p=i<0,h=i>c-je&&!p?c:i<je?0:i,b,m,P,x,A,z,w,k,D;if(!f)F3(this,i,o,l);else if(h!==this._tTime||!i||l||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==p||this._lazy){if(b=h,k=this.timeline,this._repeat){if(x=f+this._rDelay,this._repeat<-1&&p)return this.totalTime(x*100+i,o,l);if(b=rt(h%x),h===c?(P=this._repeat,b=f):(A=rt(h/x),P=~~A,P&&P===A?(b=f,P--):b>f&&(b=f)),z=this._yoyo&&P&1,z&&(D=this._yEase,b=f-b),A=ki(this._tTime,x),b===u&&!l&&this._initted&&P===A)return this._tTime=h,this;P!==A&&(k&&this._yEase&&Jf(k,z),this.vars.repeatRefresh&&!z&&!this._lock&&b!==x&&this._initted&&(this._lock=l=1,this.render(rt(x*P),!0).invalidate()._lock=0))}if(!this._initted){if(Lf(this,p?i:b,l,o,h))return this._tTime=0,this;if(u!==this._time&&!(l&&this.vars.repeatRefresh&&P!==A))return this;if(f!==this._dur)return this.render(i,o,l)}if(this._tTime=h,this._time=b,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(D||this._ease)(b/f),this._from&&(this.ratio=w=1-w),b&&!u&&!o&&!P&&(Rt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(w,m.d),m=m._next;k&&k.render(i<0?i:k._dur*k._ease(b/this._dur),o,l)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(p&&Hl(this,i,o,l),Rt(this,"onUpdate")),this._repeat&&P!==A&&this.vars.onRepeat&&!o&&this.parent&&Rt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(p&&!this._onUpdate&&Hl(this,i,!0,!0),(i||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&gn(this,1),!o&&!(p&&!u)&&(h||u||z)&&(Rt(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,o,l,u,c){xa||Gt.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),p;return this._initted||Sl(this,f),p=this._ease(f/this._dur),sb(this,i,o,l,u,p,f,c)?this.resetTo(i,o,l,u,1):(Ao(this,0),this.parent||Df(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?ya(this):this.scrollTrigger&&this.scrollTrigger.kill(!!dt),this;if(this.timeline){var l=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,yn&&yn.vars.overwrite!==!0)._first||ya(this),this.parent&&l!==this.timeline.totalDuration()&&zi(this,this._dur*this.timeline._tDur/l,0,1),this}var u=this._targets,c=i?ir(i):u,f=this._ptLookup,p=this._pt,h,b,m,P,x,A,z;if((!o||o==="all")&&M3(u,c))return o==="all"&&(this._pt=0),ya(this);for(h=this._op=this._op||[],o!=="all"&&(lt(o)&&(x={},Ot(o,function(w){return x[w]=1}),o=x),o=lb(u,o)),z=u.length;z--;)if(~c.indexOf(u[z])){b=f[z],o==="all"?(h[z]=o,P=b,m={}):(m=h[z]=h[z]||{},P=o);for(x in P)A=b&&b[x],A&&((!("kill"in A.d)||A.d.kill(x)===!0)&&ko(this,A,"_pt"),delete b[x]),m!=="all"&&(m[x]=1)}return this._initted&&!this._pt&&p&&ya(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return ga(1,arguments)},e.delayedCall=function(i,o,l,u){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:l,onReverseCompleteParams:l,callbackScope:u})},e.fromTo=function(i,o,l){return ga(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,l){return Ve.killTweensOf(i,o,l)},e}(Pa);Nt(nt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ot("staggerTo,staggerFrom,staggerFromTo",function(n){nt[n]=function(){var e=new Pt,t=Ol.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Ml=function(e,t,r){return e[t]=r},tp=function(e,t,r){return e[t](r)},cb=function(e,t,r,i){return e[t](i.fp,r)},db=function(e,t,r){return e.setAttribute(t,r)},Wl=function(e,t){return Ue(e[t])?tp:vl(e[t])&&e.setAttribute?db:Ml},rp=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},fb=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},np=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},Zl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},pb=function(e,t,r,i){for(var o=this._pt,l;o;)l=o._next,o.p===i&&o.modifier(e,t,r),o=l},hb=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?ko(this,t,"_pt"):t.dep||(r=1),t=i;return!r},vb=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},ip=function(e){for(var t=e._pt,r,i,o,l;t;){for(r=t._next,i=o;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:l)?t._prev._next=t:o=t,(t._next=i)?i._prev=t:l=t,t=r}e._pt=o},Xt=function(){function n(t,r,i,o,l,u,c,f,p){this.t=r,this.s=o,this.c=l,this.p=i,this.r=u||rp,this.d=c||this,this.set=f||Ml,this.pr=p||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=vb,this.m=r,this.mt=o,this.tween=i},n}();Ot(Cl+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return Pl[n]=1}),Yt.TweenMax=Yt.TweenLite=nt,Yt.TimelineLite=Yt.TimelineMax=Pt,Ve=new Pt({sortChildren:!1,defaults:yi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Zt.stringFilter=Vf;var Fn=[],Ho={},gb=[],ap=0,bb=0,Yl=function(e){return(Ho[e]||gb).map(function(t){return t()})},Fl=function(){var e=Date.now(),t=[];e-ap>2&&(Yl("matchMediaInit"),Fn.forEach(function(r){var i=r.queries,o=r.conditions,l,u,c,f;for(u in i)l=Dr.matchMedia(i[u]).matches,l&&(c=1),l!==o[u]&&(o[u]=l,f=1);f&&(r.revert(),c&&t.push(r))}),Yl("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),ap=e,Yl("matchMedia"))},op=function(){function n(t,r){this.selector=r&&Xl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=bb++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,o){Ue(r)&&(o=i,i=r,r=Ue);var l=this,u=function(){var f=Fe,p=l.selector,h;return f&&f!==l&&f.data.push(l),o&&(l.selector=Xl(o)),Fe=l,h=i.apply(l,arguments),Ue(h)&&l._r.push(h),Fe=f,l.selector=p,l.isReverted=!1,h};return l.last=u,r===Ue?u(l,function(c){return l.add(null,c)}):r?l[r]=u:u},e.ignore=function(r){var i=Fe;Fe=null,r(this),Fe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof nt&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var u=o.getTweens(),c=o.data.length,f;c--;)f=o.data[c],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(p){return u.splice(u.indexOf(p),1)}));for(u.map(function(p){return{g:p._dur||p._delay||p._sat&&!p._sat.vars.immediateRender?p.globalTime(0):-1/0,t:p}}).sort(function(p,h){return h.g-p.g||-1/0}).forEach(function(p){return p.t.revert(r)}),c=o.data.length;c--;)f=o.data[c],f instanceof Pt?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof nt)&&f.revert&&f.revert(r);o._r.forEach(function(p){return p(r,o)}),o.isReverted=!0}():this.data.forEach(function(u){return u.kill&&u.kill()}),this.clear(),i)for(var l=Fn.length;l--;)Fn[l].id===this.id&&Fn.splice(l,1)},e.revert=function(r){this.kill(r||{})},n}(),mb=function(){function n(t){this.contexts=[],this.scope=t,Fe&&Fe.data.push(this)}var e=n.prototype;return e.add=function(r,i,o){Hr(r)||(r={matches:r});var l=new op(0,o||this.scope),u=l.conditions={},c,f,p;Fe&&!l.selector&&(l.selector=Fe.selector),this.contexts.push(l),i=l.add("onMatch",i),l.queries=r;for(f in r)f==="all"?p=1:(c=Dr.matchMedia(r[f]),c&&(Fn.indexOf(l)<0&&Fn.push(l),(u[f]=c.matches)&&(p=1),c.addListener?c.addListener(Fl):c.addEventListener("change",Fl)));return p&&i(l,function(h){return l.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),Do={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Nf(i)})},timeline:function(e){return new Pt(e)},getTweensOf:function(e,t){return Ve.getTweensOf(e,t)},getProperty:function(e,t,r,i){lt(e)&&(e=ir(e)[0]);var o=Mn(e||{}).get,l=r?Af:Cf;return r==="native"&&(r=""),e&&(t?l((Ft[t]&&Ft[t].get||o)(e,t,r,i)):function(u,c,f){return l((Ft[u]&&Ft[u].get||o)(e,u,c,f))})},quickSetter:function(e,t,r){if(e=ir(e),e.length>1){var i=e.map(function(p){return Et.quickSetter(p,t,r)}),o=i.length;return function(p){for(var h=o;h--;)i[h](p)}}e=e[0]||{};var l=Ft[t],u=Mn(e),c=u.harness&&(u.harness.aliases||{})[t]||t,f=l?function(p){var h=new l;Ci._pt=0,h.init(e,r?p+r:p,Ci,0,[e]),h.render(1,h),Ci._pt&&Zl(1,Ci)}:u.set(e,c);return l?f:function(p){return f(e,c,r?p+r:p,u,1)}},quickTo:function(e,t,r){var i,o=Et.to(e,Nt((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),l=function(c,f,p){return o.resetTo(t,c,f,p)};return l.tween=o,l},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Zn(e.ease,yi.ease)),Hf(yi,e||{})},config:function(e){return Hf(Zt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,o=e.defaults,l=e.extendTimeline;(i||"").split(",").forEach(function(u){return u&&!Ft[u]&&!Yt[u]&&pa(t+" effect requires "+u+" plugin.")}),zl[t]=function(u,c,f){return r(ir(u),Nt(c||{},o),f)},l&&(Pt.prototype[t]=function(u,c,f){return this.add(zl[t](u,Hr(c)?c:(f=c)&&{},this),f)})},registerEase:function(e,t){Ae[e]=Zn(t)},parseEase:function(e,t){return arguments.length?Zn(e,t):Ae},getById:function(e){return Ve.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Pt(e),i,o;for(r.smoothChildTiming=Dt(e.smoothChildTiming),Ve.remove(r),r._dp=0,r._time=r._tTime=Ve._time,i=Ve._first;i;)o=i._next,(t||!(!i._dur&&i instanceof nt&&i.vars.onComplete===i._targets[0]))&&Or(r,i,i._start-i._delay),i=o;return Or(Ve,r,0),r},context:function(e,t){return e?new op(e,t):Fe},matchMedia:function(e){return new mb(e)},matchMediaRefresh:function(){return Fn.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Fl()},addEventListener:function(e,t){var r=Ho[e]||(Ho[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Ho[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:U3,wrapYoyo:K3,distribute:If,random:Mf,snap:Sf,normalize:J3,getUnit:gt,clamp:G3,splitColor:Rf,toArray:ir,selector:Xl,mapRange:Zf,pipe:V3,unitize:q3,interpolate:_3,shuffle:Tf},install:yf,effects:zl,ticker:Gt,updateRoot:Pt.updateRoot,plugins:Ft,globalTimeline:Ve,core:{PropTween:Xt,globals:wf,Tween:nt,Timeline:Pt,Animation:Pa,getCache:Mn,_removeLinkedListItem:ko,reverting:function(){return dt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return pl=e}}};Ot("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Do[n]=nt[n]}),Gt.add(Pt.updateRoot),Ci=Do.to({},{duration:0});var yb=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},wb=function(e,t){var r=e._targets,i,o,l;for(i in t)for(o=r.length;o--;)l=e._ptLookup[o][i],l&&(l=l.d)&&(l._pt&&(l=yb(l,i)),l&&l.modifier&&l.modifier(t[i],e,r[o],i))},Nl=function(e,t){return{name:e,rawVars:1,init:function(i,o,l){l._onInit=function(u){var c,f;if(lt(o)&&(c={},Ot(o,function(p){return c[p]=1}),o=c),t){c={};for(f in o)c[f]=t(o[f]);o=c}wb(u,o)}}}},Et=Do.registerPlugin({name:"attr",init:function(e,t,r,i,o){var l,u,c;this.tween=r;for(l in t)c=e.getAttribute(l)||"",u=this.add(e,"setAttribute",(c||0)+"",t[l],i,o,0,0,l),u.op=l,u.b=c,this._props.push(l)},render:function(e,t){for(var r=t._pt;r;)dt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Nl("roundProps",El),Nl("modifiers"),Nl("snap",Sf))||Do;nt.version=Pt.version=Et.version="3.12.7",mf=1,gl()&&Ai(),Ae.Power0,Ae.Power1,Ae.Power2,Ae.Power3,Ae.Power4,Ae.Linear,Ae.Quad,Ae.Cubic,Ae.Quart,Ae.Quint,Ae.Strong,Ae.Elastic,Ae.Back,Ae.SteppedEase,Ae.Bounce,Ae.Sine,Ae.Expo,Ae.Circ;/*!
|
|
14
|
+
*/var Zt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},yi={duration:.5,overwrite:!1,delay:0},pl,dt,Fe,nr=1e8,je=1/nr,hl=Math.PI*2,O3=hl/4,X3=0,pf=Math.sqrt,E3=Math.cos,L3=Math.sin,lt=function(e){return typeof e=="string"},Ue=function(e){return typeof e=="function"},Qr=function(e){return typeof e=="number"},vl=function(e){return typeof e>"u"},Hr=function(e){return typeof e=="object"},Dt=function(e){return e!==!1},gl=function(){return typeof window<"u"},bo=function(e){return Ue(e)||lt(e)},hf=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},vt=Array.isArray,bl=/(?:-?\.?\d|\.)+/gi,vf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,wi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ml=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gf=/[+-]=-?[.\d]+/,bf=/[^,'"\[\]\s]+/gi,B3=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,Dr,yl,wl,Yt={},mo={},mf,yf=function(e){return(mo=Pi(e,Yt))&&Et},xl=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},pa=function(e,t){return!t&&console.warn(e)},wf=function(e,t){return e&&(Yt[e]=t)&&mo&&(mo[e]=t)||Yt},ha=function(){return 0},j3={suppressEvents:!0,isStart:!0,kill:!1},yo={suppressEvents:!0,kill:!1},T3={suppressEvents:!0},Pl={},vn=[],kl={},xf,Ft={},zl={},Pf=30,wo=[],Cl="",Al=function(e){var t=e[0],r,i;if(Hr(t)||Ue(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(i=wo.length;i--&&!wo[i].targetTest(t););r=wo[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Kf(e[i],r)))||e.splice(i,1);return e},Mn=function(e){return e._gsap||Al(ar(e))[0]._gsap},kf=function(e,t,r){return(r=e[t])&&Ue(r)?e[t]():vl(r)&&e.getAttribute&&e.getAttribute(t)||r},Ot=function(e,t){return(e=e.split(",")).forEach(t)||e},_e=function(e){return Math.round(e*1e5)/1e5||0},rt=function(e){return Math.round(e*1e7)/1e7||0},xi=function(e,t){var r=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},I3=function(e,t){for(var r=t.length,i=0;e.indexOf(t[i])<0&&++i<r;);return i<r},xo=function(){var e=vn.length,t=vn.slice(0),r,i;for(kl={},vn.length=0,r=0;r<e;r++)i=t[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},zf=function(e,t,r,i){vn.length&&!dt&&xo(),e.render(t,r,i||dt&&t<0&&(e._initted||e._startAt)),vn.length&&!dt&&xo()},Cf=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(bf).length<2?t:lt(e)?e.trim():e},Af=function(e){return e},Nt=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},S3=function(e){return function(t,r){for(var i in r)i in t||i==="duration"&&e||i==="ease"||(t[i]=r[i])}},Pi=function(e,t){for(var r in t)e[r]=t[r];return e},Hf=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Hr(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Po=function(e,t){var r={},i;for(i in e)i in t||(r[i]=e[i]);return r},va=function(e){var t=e.parent||Ve,r=e.keyframes?S3(vt(e.keyframes)):Nt;if(Dt(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},M3=function(e,t){for(var r=e.length,i=r===t.length;i&&r--&&e[r]===t[r];);return r<0},Df=function(e,t,r,i,o){r===void 0&&(r="_first"),i===void 0&&(i="_last");var l=e[i],u;if(o)for(u=t[o];l&&l[o]>u;)l=l._prev;return l?(t._next=l._next,l._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[i]=t,t._prev=l,t.parent=t._dp=e,t},ko=function(e,t,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=t._prev,l=t._next;o?o._next=l:e[r]===t&&(e[r]=l),l?l._prev=o:e[i]===t&&(e[i]=o),t._next=t._prev=t.parent=null},gn=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wn=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},W3=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Hl=function(e,t,r,i){return e._startAt&&(dt?e._startAt.revert(yo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Z3=function n(e){return!e||e._ts&&n(e.parent)},Of=function(e){return e._repeat?ki(e._tTime,e=e.duration()+e._rDelay)*e:0},ki=function(e,t){var r=Math.floor(e=rt(e/t));return e&&r===e?r-1:r},zo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Co=function(e){return e._end=rt(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Ao=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=rt(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Co(e),r._dirty||Wn(r,e)),e},Xf=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=zo(e.rawTime(),t),(!t._dur||ba(0,t.totalDuration(),r)-t._tTime>je)&&t.render(r,!0)),Wn(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-je}},Or=function(e,t,r,i){return t.parent&&gn(t),t._start=rt((Qr(r)?r:r||e!==Ve?ir(e,r,t):e._time)+t._delay),t._end=rt(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Df(e,t,"_first","_last",e._sort?"_start":0),Dl(t)||(e._recent=t),i||Xf(e,t),e._ts<0&&Ao(e,e._tTime),e},Ef=function(e,t){return(Yt.ScrollTrigger||xl("scrollTrigger",t))&&Yt.ScrollTrigger.create(t,e)},Lf=function(e,t,r,i,o){if(Sl(e,t,o),!e._initted)return 1;if(!r&&e._pt&&!dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xf!==Gt.frame)return vn.push(e),e._lazy=[o,i],1},Y3=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},Dl=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},F3=function(e,t,r,i){var o=e.ratio,l=t<0||!t&&(!e._start&&Y3(e)&&!(!e._initted&&Dl(e))||(e._ts<0||e._dp._ts<0)&&!Dl(e))?0:1,u=e._rDelay,c=0,f,p,h;if(u&&e._repeat&&(c=ba(0,e._tDur,t),p=ki(c,u),e._yoyo&&p&1&&(l=1-l),p!==ki(e._tTime,u)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||dt||i||e._zTime===je||!t&&e._zTime){if(!e._initted&&Lf(e,t,i,r,c))return;for(h=e._zTime,e._zTime=t||(r?je:0),r||(r=t&&!h),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=c,f=e._pt;f;)f.r(l,f.d),f=f._next;t<0&&Hl(e,t,r,!0),e._onUpdate&&!r&&Rt(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Rt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&gn(e,1),!r&&!dt&&(Rt(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},N3=function(e,t,r){var i;if(r>t)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<t)return i;i=i._prev}},zi=function(e,t,r,i){var o=e._repeat,l=rt(t)||0,u=e._tTime/e._tDur;return u&&!i&&(e._time*=l/e._dur),e._dur=l,e._tDur=o?o<0?1e10:rt(l*(o+1)+e._rDelay*o):l,u>0&&!i&&Ao(e,e._tTime=e._tDur*u),e.parent&&Co(e),r||Wn(e.parent,e),e},Bf=function(e){return e instanceof Pt?Wn(e):zi(e,e._dur)},R3={_start:0,endTime:ha,totalDuration:ha},ir=function n(e,t,r){var i=e.labels,o=e._recent||R3,l=e.duration()>=nr?o.endTime(!1):e._dur,u,c,f;return lt(t)&&(isNaN(t)||t in i)?(c=t.charAt(0),f=t.substr(-1)==="%",u=t.indexOf("="),c==="<"||c===">"?(u>=0&&(t=t.replace(/=/,"")),(c==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(t.substr(1))||0)*(f?(u<0?o:r).totalDuration()/100:1)):u<0?(t in i||(i[t]=l),i[t]):(c=parseFloat(t.charAt(u-1)+t.substr(u+1)),f&&r&&(c=c/100*(vt(r)?r[0]:r).totalDuration()),u>1?n(e,t.substr(0,u-1),r)+c:l+c)):t==null?l:+t},ga=function(e,t,r){var i=Qr(t[1]),o=(i?2:1)+(e<2?0:1),l=t[o],u,c;if(i&&(l.duration=t[1]),l.parent=r,e){for(u=l,c=r;c&&!("immediateRender"in u);)u=c.vars.defaults||{},c=Dt(c.vars.inherit)&&c.parent;l.immediateRender=Dt(u.immediateRender),e<2?l.runBackwards=1:l.startAt=t[o-1]}return new nt(t[0],l,t[o+1])},bn=function(e,t){return e||e===0?t(e):t},ba=function(e,t,r){return r<e?e:r>t?t:r},gt=function(e,t){return!lt(e)||!(t=B3.exec(e))?"":t[1]},G3=function(e,t,r){return bn(r,function(i){return ba(e,t,i)})},Ol=[].slice,jf=function(e,t){return e&&Hr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Hr(e[0]))&&!e.nodeType&&e!==Dr},Q3=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return lt(i)&&!t||jf(i,1)?(o=r).push.apply(o,ar(i)):r.push(i)})||r},ar=function(e,t,r){return Fe&&!t&&Fe.selector?Fe.selector(e):lt(e)&&!r&&(yl||!Ai())?Ol.call((t||wl).querySelectorAll(e),0):vt(e)?Q3(e,r):jf(e)?Ol.call(e,0):e?[e]:[]},Xl=function(e){return e=ar(e)[0]||pa("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return ar(t,r.querySelectorAll?r:r===e?pa("Invalid scope")||wl.createElement("div"):e)}},Tf=function(e){return e.sort(function(){return .5-Math.random()})},If=function(e){if(Ue(e))return e;var t=Hr(e)?e:{each:e},r=Zn(t.ease),i=t.from||0,o=parseFloat(t.base)||0,l={},u=i>0&&i<1,c=isNaN(i)||u,f=t.axis,p=i,h=i;return lt(i)?p=h={center:.5,edges:.5,end:1}[i]||0:!u&&c&&(p=i[0],h=i[1]),function(b,m,P){var x=(P||t).length,A=l[x],z,w,k,D,O,L,B,T,X;if(!A){if(X=t.grid==="auto"?0:(t.grid||[1,nr])[1],!X){for(B=-nr;B<(B=P[X++].getBoundingClientRect().left)&&X<x;);X<x&&X--}for(A=l[x]=[],z=c?Math.min(X,x)*p-.5:i%X,w=X===nr?0:c?x*h/X-.5:i/X|0,B=0,T=nr,L=0;L<x;L++)k=L%X-z,D=w-(L/X|0),A[L]=O=f?Math.abs(f==="y"?D:k):pf(k*k+D*D),O>B&&(B=O),O<T&&(T=O);i==="random"&&Tf(A),A.max=B-T,A.min=T,A.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(X>x?x-1:f?f==="y"?x/X:X:Math.max(X,x/X))||0)*(i==="edges"?-1:1),A.b=x<0?o-x:o,A.u=gt(t.amount||t.each)||0,r=r&&x<0?qf(r):r}return x=(A[b]-A.min)/A.max||0,rt(A.b+(r?r(x):x)*A.v)+A.u}},El=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=rt(Math.round(parseFloat(r)/e)*e*t);return(i-i%1)/t+(Qr(r)?0:gt(r))}},Sf=function(e,t){var r=vt(e),i,o;return!r&&Hr(e)&&(i=r=e.radius||nr,e.values?(e=ar(e.values),(o=!Qr(e[0]))&&(i*=i)):e=El(e.increment)),bn(t,r?Ue(e)?function(l){return o=e(l),Math.abs(o-l)<=i?o:l}:function(l){for(var u=parseFloat(o?l.x:l),c=parseFloat(o?l.y:0),f=nr,p=0,h=e.length,b,m;h--;)o?(b=e[h].x-u,m=e[h].y-c,b=b*b+m*m):b=Math.abs(e[h]-u),b<f&&(f=b,p=h);return p=!i||f<=i?e[p]:l,o||p===l||Qr(l)?p:p+gt(l)}:El(e))},Mf=function(e,t,r,i){return bn(vt(e)?!t:r===!0?!!(r=0):!i,function(){return vt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*i)/i})},V3=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return t.reduce(function(o,l){return l(o)},i)}},q3=function(e,t){return function(r){return e(parseFloat(r))+(t||gt(r))}},J3=function(e,t,r){return Zf(e,t,0,1,r)},Wf=function(e,t,r){return bn(r,function(i){return e[~~t(i)]})},U3=function n(e,t,r){var i=t-e;return vt(e)?Wf(e,n(0,e.length),t):bn(r,function(o){return(i+(o-e)%i)%i+e})},K3=function n(e,t,r){var i=t-e,o=i*2;return vt(e)?Wf(e,n(0,e.length-1),t):bn(r,function(l){return l=(o+(l-e)%o)%o||0,e+(l>i?o-l:l)})},ma=function(e){for(var t=0,r="",i,o,l,u;~(i=e.indexOf("random(",t));)l=e.indexOf(")",i),u=e.charAt(i+7)==="[",o=e.substr(i+7,l-i-7).match(u?bf:bl),r+=e.substr(t,i-t)+Mf(u?o:+o[0],u?0:+o[1],+o[2]||1e-5),t=l+1;return r+e.substr(t,e.length-t)},Zf=function(e,t,r,i,o){var l=t-e,u=i-r;return bn(o,function(c){return r+((c-e)/l*u||0)})},_3=function n(e,t,r,i){var o=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!o){var l=lt(e),u={},c,f,p,h,b;if(r===!0&&(i=1)&&(r=null),l)e={p:e},t={p:t};else if(vt(e)&&!vt(t)){for(p=[],h=e.length,b=h-2,f=1;f<h;f++)p.push(n(e[f-1],e[f]));h--,o=function(P){P*=h;var x=Math.min(b,~~P);return p[x](P-x)},r=t}else i||(e=Pi(vt(e)?[]:{},e));if(!p){for(c in t)Tl.call(u,e,c,"get",t[c]);o=function(P){return Zl(P,u)||(l?e.p:e)}}}return bn(r,o)},Yf=function(e,t,r){var i=e.labels,o=nr,l,u,c;for(l in i)u=i[l]-t,u<0==!!r&&u&&o>(u=Math.abs(u))&&(c=l,o=u);return c},Rt=function(e,t,r){var i=e.vars,o=i[t],l=Fe,u=e._ctx,c,f,p;if(o)return c=i[t+"Params"],f=i.callbackScope||e,r&&vn.length&&xo(),u&&(Fe=u),p=c?o.apply(f,c):o.call(f),Fe=l,p},ya=function(e){return gn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!dt),e.progress()<1&&Rt(e,"onInterrupt"),e},Ci,Ff=[],Nf=function(e){if(e)if(e=!e.name&&e.default||e,gl()||e.headless){var t=e.name,r=Ue(e),i=t&&!r&&e.init?function(){this._props=[]}:e,o={init:ha,render:Zl,add:Tl,kill:hb,modifier:pb,rawVars:0},l={targetTest:0,get:0,getSetter:Wl,aliases:{},register:0};if(Ai(),e!==i){if(Ft[t])return;Nt(i,Nt(Po(e,o),l)),Pi(i.prototype,Pi(o,Po(e,l))),Ft[i.prop=t]=i,e.targetTest&&(wo.push(i),Pl[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}wf(t,i),e.register&&e.register(Et,i,Xt)}else Ff.push(e)},Te=255,wa={aqua:[0,Te,Te],lime:[0,Te,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Te],navy:[0,0,128],white:[Te,Te,Te],olive:[128,128,0],yellow:[Te,Te,0],orange:[Te,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Te,0,0],pink:[Te,192,203],cyan:[0,Te,Te],transparent:[Te,Te,Te,0]},Ll=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*Te+.5|0},Rf=function(e,t,r){var i=e?Qr(e)?[e>>16,e>>8&Te,e&Te]:0:wa.black,o,l,u,c,f,p,h,b,m,P;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),wa[e])i=wa[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),l=e.charAt(2),u=e.charAt(3),e="#"+o+o+l+l+u+u+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Te,i&Te,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Te,e&Te]}else if(e.substr(0,3)==="hsl"){if(i=P=e.match(bl),!t)c=+i[0]%360/360,f=+i[1]/100,p=+i[2]/100,l=p<=.5?p*(f+1):p+f-p*f,o=p*2-l,i.length>3&&(i[3]*=1),i[0]=Ll(c+1/3,o,l),i[1]=Ll(c,o,l),i[2]=Ll(c-1/3,o,l);else if(~e.indexOf("="))return i=e.match(vf),r&&i.length<4&&(i[3]=1),i}else i=e.match(bl)||wa.transparent;i=i.map(Number)}return t&&!P&&(o=i[0]/Te,l=i[1]/Te,u=i[2]/Te,h=Math.max(o,l,u),b=Math.min(o,l,u),p=(h+b)/2,h===b?c=f=0:(m=h-b,f=p>.5?m/(2-h-b):m/(h+b),c=h===o?(l-u)/m+(l<u?6:0):h===l?(u-o)/m+2:(o-l)/m+4,c*=60),i[0]=~~(c+.5),i[1]=~~(f*100+.5),i[2]=~~(p*100+.5)),r&&i.length<4&&(i[3]=1),i},Gf=function(e){var t=[],r=[],i=-1;return e.split(mn).forEach(function(o){var l=o.match(wi)||[];t.push.apply(t,l),r.push(i+=l.length+1)}),t.c=r,t},Qf=function(e,t,r){var i="",o=(e+i).match(mn),l=t?"hsla(":"rgba(",u=0,c,f,p,h;if(!o)return e;if(o=o.map(function(b){return(b=Rf(b,t,1))&&l+(t?b[0]+","+b[1]+"%,"+b[2]+"%,"+b[3]:b.join(","))+")"}),r&&(p=Gf(e),c=r.c,c.join(i)!==p.c.join(i)))for(f=e.replace(mn,"1").split(wi),h=f.length-1;u<h;u++)i+=f[u]+(~c.indexOf(u)?o.shift()||l+"0,0,0,0)":(p.length?p:o.length?o:r).shift());if(!f)for(f=e.split(mn),h=f.length-1;u<h;u++)i+=f[u]+o[u];return i+f[h]},mn=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in wa)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),$3=/hsl[a]?\(/,Vf=function(e){var t=e.join(" "),r;if(mn.lastIndex=0,mn.test(t))return r=$3.test(t),e[1]=Qf(e[1],r),e[0]=Qf(e[0],r,Gf(e[1])),!0},xa,Gt=function(){var n=Date.now,e=500,t=33,r=n(),i=r,o=1e3/240,l=o,u=[],c,f,p,h,b,m,P=function x(A){var z=n()-i,w=A===!0,k,D,O,L;if((z>e||z<0)&&(r+=z-t),i+=z,O=i-r,k=O-l,(k>0||w)&&(L=++h.frame,b=O-h.time*1e3,h.time=O=O/1e3,l+=k+(k>=o?4:o-k),D=1),w||(c=f(x)),D)for(m=0;m<u.length;m++)u[m](O,b,L,A)};return h={time:0,frame:0,tick:function(){P(!0)},deltaRatio:function(A){return b/(1e3/(A||60))},wake:function(){mf&&(!yl&&gl()&&(Dr=yl=window,wl=Dr.document||{},Yt.gsap=Et,(Dr.gsapVersions||(Dr.gsapVersions=[])).push(Et.version),yf(mo||Dr.GreenSockGlobals||!Dr.gsap&&Dr||{}),Ff.forEach(Nf)),p=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),f=p||function(A){return setTimeout(A,l-h.time*1e3+1|0)},xa=1,P(2))},sleep:function(){(p?cancelAnimationFrame:clearTimeout)(c),xa=0,f=ha},lagSmoothing:function(A,z){e=A||1/0,t=Math.min(z||33,e)},fps:function(A){o=1e3/(A||240),l=h.time*1e3+o},add:function(A,z,w){var k=z?function(D,O,L,B){A(D,O,L,B),h.remove(k)}:A;return h.remove(A),u[w?"unshift":"push"](k),Ai(),k},remove:function(A,z){~(z=u.indexOf(A))&&u.splice(z,1)&&m>=z&&m--},_listeners:u},h}(),Ai=function(){return!xa&&Gt.wake()},Ae={},eb=/^[\d.\-M][\d.\-,\s]/,tb=/["']/g,rb=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,l=r.length,u,c,f;o<l;o++)c=r[o],u=o!==l-1?c.lastIndexOf(","):c.length,f=c.substr(0,u),t[i]=isNaN(f)?f.replace(tb,"").trim():+f,i=c.substr(u+1).trim();return t},nb=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",t);return e.substring(t,~i&&i<r?e.indexOf(")",r+1):r)},ib=function(e){var t=(e+"").split("("),r=Ae[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[rb(t[1])]:nb(e).split(",").map(Cf)):Ae._CE&&eb.test(e)?Ae._CE("",e):r},qf=function(e){return function(t){return 1-e(1-t)}},Jf=function n(e,t){for(var r=e._first,i;r;)r instanceof Pt?n(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?n(r.timeline,t):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=t)),r=r._next},Zn=function(e,t){return e&&(Ue(e)?e:Ae[e]||ib(e))||t},Yn=function(e,t,r,i){r===void 0&&(r=function(c){return 1-t(1-c)}),i===void 0&&(i=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var o={easeIn:t,easeOut:r,easeInOut:i},l;return Ot(e,function(u){Ae[u]=Yt[u]=o,Ae[l=u.toLowerCase()]=r;for(var c in o)Ae[l+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=Ae[u+"."+c]=o[c]}),o},Uf=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Bl=function n(e,t,r){var i=t>=1?t:1,o=(r||(e?.3:.45))/(t<1?t:1),l=o/hl*(Math.asin(1/i)||0),u=function(p){return p===1?1:i*Math.pow(2,-10*p)*L3((p-l)*o)+1},c=e==="out"?u:e==="in"?function(f){return 1-u(1-f)}:Uf(u);return o=hl/o,c.config=function(f,p){return n(e,f,p)},c},jl=function n(e,t){t===void 0&&(t=1.70158);var r=function(l){return l?--l*l*((t+1)*l+t)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Uf(r);return i.config=function(o){return n(e,o)},i};Ot("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;Yn(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),Ae.Linear.easeNone=Ae.none=Ae.Linear.easeIn,Yn("Elastic",Bl("in"),Bl("out"),Bl()),function(n,e){var t=1/e,r=2*t,i=2.5*t,o=function(u){return u<t?n*u*u:u<r?n*Math.pow(u-1.5/e,2)+.75:u<i?n*(u-=2.25/e)*u+.9375:n*Math.pow(u-2.625/e,2)+.984375};Yn("Bounce",function(l){return 1-o(1-l)},o)}(7.5625,2.75),Yn("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)}),Yn("Circ",function(n){return-(pf(1-n*n)-1)}),Yn("Sine",function(n){return n===1?1:-E3(n*O3)+1}),Yn("Back",jl("in"),jl("out"),jl()),Ae.SteppedEase=Ae.steps=Yt.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,i=e+(t?0:1),o=t?1:0,l=1-je;return function(u){return((i*ba(0,l,u)|0)+o)*r}}},yi.ease=Ae["quad.out"],Ot("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Cl+=n+","+n+"Params,"});var Kf=function(e,t){this.id=X3++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:kf,this.set=t?t.getSetter:Wl},Pa=function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zi(this,+t.duration,1,1),this.data=t.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),xa||Gt.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,zi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ai(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(Ao(this,r),!o._dp||o.parent||Xf(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Or(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===je||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),zf(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Of(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Of(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?ki(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-je?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?zo(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-je?0:this._rts,this.totalTime(ba(-Math.abs(this._delay),this._tDur,o),i!==!1),Co(this),W3(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ai(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==je&&(this._tTime-=je)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Or(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Dt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?zo(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=T3);var i=dt;return dt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),dt=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Bf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Bf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ir(this,r),Dt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Dt(i)),this._dur||(this._zTime=-je),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-je:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-je,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-je)},e.eventCallback=function(r,i,o){var l=this.vars;return arguments.length>1?(i?(l[r]=i,o&&(l[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete l[r],this):l[r]},e.then=function(r){var i=this;return new Promise(function(o){var l=Ue(r)?r:Af,u=function(){var f=i.then;i.then=null,Ue(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=f),o(l),i.then=f};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?u():i._prom=u})},e.kill=function(){ya(this)},n}();Nt(Pa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-je,_prom:0,_ps:!1,_rts:1});var Pt=function(n){ff(e,n);function e(r,i){var o;return r===void 0&&(r={}),o=n.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=Dt(r.sortChildren),Ve&&Or(r.parent||Ve,Gr(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Ef(Gr(o),r.scrollTrigger),o}var t=e.prototype;return t.to=function(i,o,l){return ga(0,arguments,this),this},t.from=function(i,o,l){return ga(1,arguments,this),this},t.fromTo=function(i,o,l,u){return ga(2,arguments,this),this},t.set=function(i,o,l){return o.duration=0,o.parent=this,va(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new nt(i,o,ir(this,l),1),this},t.call=function(i,o,l){return Or(this,nt.delayedCall(0,i,o),l)},t.staggerTo=function(i,o,l,u,c,f,p){return l.duration=o,l.stagger=l.stagger||u,l.onComplete=f,l.onCompleteParams=p,l.parent=this,new nt(i,l,ir(this,c)),this},t.staggerFrom=function(i,o,l,u,c,f,p){return l.runBackwards=1,va(l).immediateRender=Dt(l.immediateRender),this.staggerTo(i,o,l,u,c,f,p)},t.staggerFromTo=function(i,o,l,u,c,f,p,h){return u.startAt=l,va(u).immediateRender=Dt(u.immediateRender),this.staggerTo(i,o,u,c,f,p,h)},t.render=function(i,o,l){var u=this._time,c=this._dirty?this.totalDuration():this._tDur,f=this._dur,p=i<=0?0:rt(i),h=this._zTime<0!=i<0&&(this._initted||!f),b,m,P,x,A,z,w,k,D,O,L,B;if(this!==Ve&&p>c&&i>=0&&(p=c),p!==this._tTime||l||h){if(u!==this._time&&f&&(p+=this._time-u,i+=this._time-u),b=p,D=this._start,k=this._ts,z=!k,h&&(f||(u=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(L=this._yoyo,A=f+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(A*100+i,o,l);if(b=rt(p%A),p===c?(x=this._repeat,b=f):(O=rt(p/A),x=~~O,x&&x===O&&(b=f,x--),b>f&&(b=f)),O=ki(this._tTime,A),!u&&this._tTime&&O!==x&&this._tTime-O*A-this._dur<=0&&(O=x),L&&x&1&&(b=f-b,B=1),x!==O&&!this._lock){var T=L&&O&1,X=T===(L&&x&1);if(x<O&&(T=!T),u=T?0:p%f?f:p,this._lock=1,this.render(u||(B?0:rt(x*A)),o,!f)._lock=0,this._tTime=p,!o&&this.parent&&Rt(this,"onRepeat"),this.vars.repeatRefresh&&!B&&(this.invalidate()._lock=1),u&&u!==this._time||z!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,c=this._tDur,X&&(this._lock=2,u=T?f:-1e-4,this.render(u,!0),this.vars.repeatRefresh&&!B&&this.invalidate()),this._lock=0,!this._ts&&!z)return this;Jf(this,B)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=N3(this,rt(u),rt(b)),w&&(p-=b-(b=w._start))),this._tTime=p,this._time=b,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,u=0),!u&&b&&!o&&!x&&(Rt(this,"onStart"),this._tTime!==p))return this;if(b>=u&&i>=0)for(m=this._first;m;){if(P=m._next,(m._act||b>=m._start)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,l);if(m.render(m._ts>0?(b-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(b-m._start)*m._ts,o,l),b!==this._time||!this._ts&&!z){w=0,P&&(p+=this._zTime=-je);break}}m=P}else{m=this._last;for(var W=i<0?i:b;m;){if(P=m._prev,(m._act||W<=m._end)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,l);if(m.render(m._ts>0?(W-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(W-m._start)*m._ts,o,l||dt&&(m._initted||m._startAt)),b!==this._time||!this._ts&&!z){w=0,P&&(p+=this._zTime=W?-je:je);break}}m=P}}if(w&&!o&&(this.pause(),w.render(b>=u?0:-je)._zTime=b>=u?1:-1,this._ts))return this._start=D,Co(this),this.render(i,o,l);this._onUpdate&&!o&&Rt(this,"onUpdate",!0),(p===c&&this._tTime>=this.totalDuration()||!p&&u)&&(D===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!f)&&(p===c&&this._ts>0||!p&&this._ts<0)&&gn(this,1),!o&&!(i<0&&!u)&&(p||u||!c)&&(Rt(this,p===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(p<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(i,o){var l=this;if(Qr(o)||(o=ir(this,o,i)),!(i instanceof Pa)){if(vt(i))return i.forEach(function(u){return l.add(u,o)}),this;if(lt(i))return this.addLabel(i,o);if(Ue(i))i=nt.delayedCall(0,i);else return this}return this!==i?Or(this,i,o):this},t.getChildren=function(i,o,l,u){i===void 0&&(i=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),u===void 0&&(u=-nr);for(var c=[],f=this._first;f;)f._start>=u&&(f instanceof nt?o&&c.push(f):(l&&c.push(f),i&&c.push.apply(c,f.getChildren(!0,o,l)))),f=f._next;return c},t.getById=function(i){for(var o=this.getChildren(1,1,1),l=o.length;l--;)if(o[l].vars.id===i)return o[l]},t.remove=function(i){return lt(i)?this.removeLabel(i):Ue(i)?this.killTweensOf(i):(i.parent===this&&ko(this,i),i===this._recent&&(this._recent=this._last),Wn(this))},t.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=rt(Gt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),n.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},t.addLabel=function(i,o){return this.labels[i]=ir(this,o),this},t.removeLabel=function(i){return delete this.labels[i],this},t.addPause=function(i,o,l){var u=nt.delayedCall(0,o||ha,l);return u.data="isPause",this._hasPause=1,Or(this,u,ir(this,i))},t.removePause=function(i){var o=this._first;for(i=ir(this,i);o;)o._start===i&&o.data==="isPause"&&gn(o),o=o._next},t.killTweensOf=function(i,o,l){for(var u=this.getTweensOf(i,l),c=u.length;c--;)yn!==u[c]&&u[c].kill(i,o);return this},t.getTweensOf=function(i,o){for(var l=[],u=ar(i),c=this._first,f=Qr(o),p;c;)c instanceof nt?I3(c._targets,u)&&(f?(!yn||c._initted&&c._ts)&&c.globalTime(0)<=o&&c.globalTime(c.totalDuration())>o:!o||c.isActive())&&l.push(c):(p=c.getTweensOf(u,o)).length&&l.push.apply(l,p),c=c._next;return l},t.tweenTo=function(i,o){o=o||{};var l=this,u=ir(l,i),c=o,f=c.startAt,p=c.onStart,h=c.onStartParams,b=c.immediateRender,m,P=nt.to(l,Nt({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:u,overwrite:"auto",duration:o.duration||Math.abs((u-(f&&"time"in f?f.time:l._time))/l.timeScale())||je,onStart:function(){if(l.pause(),!m){var A=o.duration||Math.abs((u-(f&&"time"in f?f.time:l._time))/l.timeScale());P._dur!==A&&zi(P,A,0,1).render(P._time,!0,!0),m=1}p&&p.apply(P,h||[])}},o));return b?P.render(0):P},t.tweenFromTo=function(i,o,l){return this.tweenTo(o,Nt({startAt:{time:ir(this,i)}},l))},t.recent=function(){return this._recent},t.nextLabel=function(i){return i===void 0&&(i=this._time),Yf(this,ir(this,i))},t.previousLabel=function(i){return i===void 0&&(i=this._time),Yf(this,ir(this,i),1)},t.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+je)},t.shiftChildren=function(i,o,l){l===void 0&&(l=0);for(var u=this._first,c=this.labels,f;u;)u._start>=l&&(u._start+=i,u._end+=i),u=u._next;if(o)for(f in c)c[f]>=l&&(c[f]+=i);return Wn(this)},t.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return n.prototype.invalidate.call(this,i)},t.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,l;o;)l=o._next,this.remove(o),o=l;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Wn(this)},t.totalDuration=function(i){var o=0,l=this,u=l._last,c=nr,f,p,h;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-i:i));if(l._dirty){for(h=l.parent;u;)f=u._prev,u._dirty&&u.totalDuration(),p=u._start,p>c&&l._sort&&u._ts&&!l._lock?(l._lock=1,Or(l,u,p-u._delay,1)._lock=0):c=p,p<0&&u._ts&&(o-=p,(!h&&!l._dp||h&&h.smoothChildTiming)&&(l._start+=p/l._ts,l._time-=p,l._tTime-=p),l.shiftChildren(-p,!1,-1/0),c=0),u._end>o&&u._ts&&(o=u._end),u=f;zi(l,l===Ve&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},e.updateRoot=function(i){if(Ve._ts&&(zf(Ve,zo(i,Ve)),xf=Gt.frame),Gt.frame>=Pf){Pf+=Zt.autoSleep||120;var o=Ve._first;if((!o||!o._ts)&&Zt.autoSleep&&Gt._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Gt.sleep()}}},e}(Pa);Nt(Pt.prototype,{_lock:0,_hasPause:0,_forcing:0});var ab=function(e,t,r,i,o,l,u){var c=new Xt(this._pt,e,t,0,1,np,null,o),f=0,p=0,h,b,m,P,x,A,z,w;for(c.b=r,c.e=i,r+="",i+="",(z=~i.indexOf("random("))&&(i=ma(i)),l&&(w=[r,i],l(w,e,t),r=w[0],i=w[1]),b=r.match(ml)||[];h=ml.exec(i);)P=h[0],x=i.substring(f,h.index),m?m=(m+1)%5:x.substr(-5)==="rgba("&&(m=1),P!==b[p++]&&(A=parseFloat(b[p-1])||0,c._pt={_next:c._pt,p:x||p===1?x:",",s:A,c:P.charAt(1)==="="?xi(A,P)-A:parseFloat(P)-A,m:m&&m<4?Math.round:0},f=ml.lastIndex);return c.c=f<i.length?i.substring(f,i.length):"",c.fp=u,(gf.test(i)||z)&&(c.e=0),this._pt=c,c},Tl=function(e,t,r,i,o,l,u,c,f,p){Ue(i)&&(i=i(o||0,e,l));var h=e[t],b=r!=="get"?r:Ue(h)?f?e[t.indexOf("set")||!Ue(e["get"+t.substr(3)])?t:"get"+t.substr(3)](f):e[t]():h,m=Ue(h)?f?cb:tp:Ml,P;if(lt(i)&&(~i.indexOf("random(")&&(i=ma(i)),i.charAt(1)==="="&&(P=xi(b,i)+(gt(b)||0),(P||P===0)&&(i=P))),!p||b!==i||Il)return!isNaN(b*i)&&i!==""?(P=new Xt(this._pt,e,t,+b||0,i-(b||0),typeof h=="boolean"?fb:rp,0,m),f&&(P.fp=f),u&&P.modifier(u,this,e),this._pt=P):(!h&&!(t in e)&&xl(t,i),ab.call(this,e,t,b,i,m,c||Zt.stringFilter,f))},ob=function(e,t,r,i,o){if(Ue(e)&&(e=ka(e,o,t,r,i)),!Hr(e)||e.style&&e.nodeType||vt(e)||hf(e))return lt(e)?ka(e,o,t,r,i):e;var l={},u;for(u in e)l[u]=ka(e[u],o,t,r,i);return l},_f=function(e,t,r,i,o,l){var u,c,f,p;if(Ft[e]&&(u=new Ft[e]).init(o,u.rawVars?t[e]:ob(t[e],i,o,l,r),r,i,l)!==!1&&(r._pt=c=new Xt(r._pt,o,e,0,1,u.render,u,0,u.priority),r!==Ci))for(f=r._ptLookup[r._targets.indexOf(o)],p=u._props.length;p--;)f[u._props[p]]=c;return u},yn,Il,Sl=function n(e,t,r){var i=e.vars,o=i.ease,l=i.startAt,u=i.immediateRender,c=i.lazy,f=i.onUpdate,p=i.runBackwards,h=i.yoyoEase,b=i.keyframes,m=i.autoRevert,P=e._dur,x=e._startAt,A=e._targets,z=e.parent,w=z&&z.data==="nested"?z.vars.targets:A,k=e._overwrite==="auto"&&!pl,D=e.timeline,O,L,B,T,X,W,M,N,V,J,re,K,ee;if(D&&(!b||!o)&&(o="none"),e._ease=Zn(o,yi.ease),e._yEase=h?qf(Zn(h===!0?o:h,yi.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!D&&!!i.runBackwards,!D||b&&!i.stagger){if(N=A[0]?Mn(A[0]).harness:0,K=N&&i[N.prop],O=Po(i,Pl),x&&(x._zTime<0&&x.progress(1),t<0&&p&&u&&!m?x.render(-1,!0):x.revert(p&&P?yo:j3),x._lazy=0),l){if(gn(e._startAt=nt.set(A,Nt({data:"isStart",overwrite:!1,parent:z,immediateRender:!0,lazy:!x&&Dt(c),startAt:null,delay:0,onUpdate:f&&function(){return Rt(e,"onUpdate")},stagger:0},l))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt||!u&&!m)&&e._startAt.revert(yo),u&&P&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(p&&P&&!x){if(t&&(u=!1),B=Nt({overwrite:!1,data:"isFromStart",lazy:u&&!x&&Dt(c),immediateRender:u,stagger:0,parent:z},O),K&&(B[N.prop]=K),gn(e._startAt=nt.set(A,B)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt?e._startAt.revert(yo):e._startAt.render(-1,!0)),e._zTime=t,!u)n(e._startAt,je,je);else if(!t)return}for(e._pt=e._ptCache=0,c=P&&Dt(c)||c&&!P,L=0;L<A.length;L++){if(X=A[L],M=X._gsap||Al(A)[L]._gsap,e._ptLookup[L]=J={},kl[M.id]&&vn.length&&xo(),re=w===A?L:w.indexOf(X),N&&(V=new N).init(X,K||O,e,re,w)!==!1&&(e._pt=T=new Xt(e._pt,X,V.name,0,1,V.render,V,0,V.priority),V._props.forEach(function(F){J[F]=T}),V.priority&&(W=1)),!N||K)for(B in O)Ft[B]&&(V=_f(B,O,e,re,X,w))?V.priority&&(W=1):J[B]=T=Tl.call(e,X,B,"get",O[B],re,w,0,i.stringFilter);e._op&&e._op[L]&&e.kill(X,e._op[L]),k&&e._pt&&(yn=e,Ve.killTweensOf(X,J,e.globalTime(t)),ee=!e.parent,yn=0),e._pt&&c&&(kl[M.id]=1)}W&&ip(e),e._onInit&&e._onInit(e)}e._onUpdate=f,e._initted=(!e._op||e._pt)&&!ee,b&&t<=0&&D.render(nr,!0,!0)},sb=function(e,t,r,i,o,l,u,c){var f=(e._pt&&e._ptCache||(e._ptCache={}))[t],p,h,b,m;if(!f)for(f=e._ptCache[t]=[],b=e._ptLookup,m=e._targets.length;m--;){if(p=b[m][t],p&&p.d&&p.d._pt)for(p=p.d._pt;p&&p.p!==t&&p.fp!==t;)p=p._next;if(!p)return Il=1,e.vars[t]="+=0",Sl(e,u),Il=0,c?pa(t+" not eligible for reset"):1;f.push(p)}for(m=f.length;m--;)h=f[m],p=h._pt||h,p.s=(i||i===0)&&!o?i:p.s+(i||0)+l*p.c,p.c=r-p.s,h.e&&(h.e=_e(r)+gt(h.e)),h.b&&(h.b=p.s+gt(h.b))},lb=function(e,t){var r=e[0]?Mn(e[0]).harness:0,i=r&&r.aliases,o,l,u,c;if(!i)return t;o=Pi({},t);for(l in i)if(l in o)for(c=i[l].split(","),u=c.length;u--;)o[c[u]]=o[l];return o},ub=function(e,t,r,i){var o=t.ease||i||"power1.inOut",l,u;if(vt(t))u=r[e]||(r[e]=[]),t.forEach(function(c,f){return u.push({t:f/(t.length-1)*100,v:c,e:o})});else for(l in t)u=r[l]||(r[l]=[]),l==="ease"||u.push({t:parseFloat(e),v:t[l],e:o})},ka=function(e,t,r,i,o){return Ue(e)?e.call(t,r,i,o):lt(e)&&~e.indexOf("random(")?ma(e):e},$f=Cl+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ep={};Ot($f+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return ep[n]=1});var nt=function(n){ff(e,n);function e(r,i,o,l){var u;typeof i=="number"&&(o.duration=i,i=o,o=null),u=n.call(this,l?i:va(i))||this;var c=u.vars,f=c.duration,p=c.delay,h=c.immediateRender,b=c.stagger,m=c.overwrite,P=c.keyframes,x=c.defaults,A=c.scrollTrigger,z=c.yoyoEase,w=i.parent||Ve,k=(vt(r)||hf(r)?Qr(r[0]):"length"in i)?[r]:ar(r),D,O,L,B,T,X,W,M;if(u._targets=k.length?Al(k):pa("GSAP target "+r+" not found. https://gsap.com",!Zt.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=m,P||b||bo(f)||bo(p)){if(i=u.vars,D=u.timeline=new Pt({data:"nested",defaults:x||{},targets:w&&w.data==="nested"?w.vars.targets:k}),D.kill(),D.parent=D._dp=Gr(u),D._start=0,b||bo(f)||bo(p)){if(B=k.length,W=b&&If(b),Hr(b))for(T in b)~$f.indexOf(T)&&(M||(M={}),M[T]=b[T]);for(O=0;O<B;O++)L=Po(i,ep),L.stagger=0,z&&(L.yoyoEase=z),M&&Pi(L,M),X=k[O],L.duration=+ka(f,Gr(u),O,X,k),L.delay=(+ka(p,Gr(u),O,X,k)||0)-u._delay,!b&&B===1&&L.delay&&(u._delay=p=L.delay,u._start+=p,L.delay=0),D.to(X,L,W?W(O,X,k):0),D._ease=Ae.none;D.duration()?f=p=0:u.timeline=0}else if(P){va(Nt(D.vars.defaults,{ease:"none"})),D._ease=Zn(P.ease||i.ease||"none");var N=0,V,J,re;if(vt(P))P.forEach(function(K){return D.to(k,K,">")}),D.duration();else{L={};for(T in P)T==="ease"||T==="easeEach"||ub(T,P[T],L,P.easeEach);for(T in L)for(V=L[T].sort(function(K,ee){return K.t-ee.t}),N=0,O=0;O<V.length;O++)J=V[O],re={ease:J.e,duration:(J.t-(O?V[O-1].t:0))/100*f},re[T]=J.v,D.to(k,re,N),N+=re.duration;D.duration()<f&&D.to({},{duration:f-D.duration()})}}f||u.duration(f=D.duration())}else u.timeline=0;return m===!0&&!pl&&(yn=Gr(u),Ve.killTweensOf(k),yn=0),Or(w,Gr(u),o),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(h||!f&&!P&&u._start===rt(w._time)&&Dt(h)&&Z3(Gr(u))&&w.data!=="nested")&&(u._tTime=-je,u.render(Math.max(0,-p)||0)),A&&Ef(Gr(u),A),u}var t=e.prototype;return t.render=function(i,o,l){var u=this._time,c=this._tDur,f=this._dur,p=i<0,h=i>c-je&&!p?c:i<je?0:i,b,m,P,x,A,z,w,k,D;if(!f)F3(this,i,o,l);else if(h!==this._tTime||!i||l||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==p||this._lazy){if(b=h,k=this.timeline,this._repeat){if(x=f+this._rDelay,this._repeat<-1&&p)return this.totalTime(x*100+i,o,l);if(b=rt(h%x),h===c?(P=this._repeat,b=f):(A=rt(h/x),P=~~A,P&&P===A?(b=f,P--):b>f&&(b=f)),z=this._yoyo&&P&1,z&&(D=this._yEase,b=f-b),A=ki(this._tTime,x),b===u&&!l&&this._initted&&P===A)return this._tTime=h,this;P!==A&&(k&&this._yEase&&Jf(k,z),this.vars.repeatRefresh&&!z&&!this._lock&&b!==x&&this._initted&&(this._lock=l=1,this.render(rt(x*P),!0).invalidate()._lock=0))}if(!this._initted){if(Lf(this,p?i:b,l,o,h))return this._tTime=0,this;if(u!==this._time&&!(l&&this.vars.repeatRefresh&&P!==A))return this;if(f!==this._dur)return this.render(i,o,l)}if(this._tTime=h,this._time=b,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(D||this._ease)(b/f),this._from&&(this.ratio=w=1-w),b&&!u&&!o&&!P&&(Rt(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(w,m.d),m=m._next;k&&k.render(i<0?i:k._dur*k._ease(b/this._dur),o,l)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(p&&Hl(this,i,o,l),Rt(this,"onUpdate")),this._repeat&&P!==A&&this.vars.onRepeat&&!o&&this.parent&&Rt(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(p&&!this._onUpdate&&Hl(this,i,!0,!0),(i||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&gn(this,1),!o&&!(p&&!u)&&(h||u||z)&&(Rt(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),n.prototype.invalidate.call(this,i)},t.resetTo=function(i,o,l,u,c){xa||Gt.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),p;return this._initted||Sl(this,f),p=this._ease(f/this._dur),sb(this,i,o,l,u,p,f,c)?this.resetTo(i,o,l,u,1):(Ao(this,0),this.parent||Df(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?ya(this):this.scrollTrigger&&this.scrollTrigger.kill(!!dt),this;if(this.timeline){var l=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,yn&&yn.vars.overwrite!==!0)._first||ya(this),this.parent&&l!==this.timeline.totalDuration()&&zi(this,this._dur*this.timeline._tDur/l,0,1),this}var u=this._targets,c=i?ar(i):u,f=this._ptLookup,p=this._pt,h,b,m,P,x,A,z;if((!o||o==="all")&&M3(u,c))return o==="all"&&(this._pt=0),ya(this);for(h=this._op=this._op||[],o!=="all"&&(lt(o)&&(x={},Ot(o,function(w){return x[w]=1}),o=x),o=lb(u,o)),z=u.length;z--;)if(~c.indexOf(u[z])){b=f[z],o==="all"?(h[z]=o,P=b,m={}):(m=h[z]=h[z]||{},P=o);for(x in P)A=b&&b[x],A&&((!("kill"in A.d)||A.d.kill(x)===!0)&&ko(this,A,"_pt"),delete b[x]),m!=="all"&&(m[x]=1)}return this._initted&&!this._pt&&p&&ya(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return ga(1,arguments)},e.delayedCall=function(i,o,l,u){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:l,onReverseCompleteParams:l,callbackScope:u})},e.fromTo=function(i,o,l){return ga(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,l){return Ve.killTweensOf(i,o,l)},e}(Pa);Nt(nt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ot("staggerTo,staggerFrom,staggerFromTo",function(n){nt[n]=function(){var e=new Pt,t=Ol.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Ml=function(e,t,r){return e[t]=r},tp=function(e,t,r){return e[t](r)},cb=function(e,t,r,i){return e[t](i.fp,r)},db=function(e,t,r){return e.setAttribute(t,r)},Wl=function(e,t){return Ue(e[t])?tp:vl(e[t])&&e.setAttribute?db:Ml},rp=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},fb=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},np=function(e,t){var r=t._pt,i="";if(!e&&t.b)i=t.b;else if(e===1&&t.e)i=t.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=t.c}t.set(t.t,t.p,i,t)},Zl=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},pb=function(e,t,r,i){for(var o=this._pt,l;o;)l=o._next,o.p===i&&o.modifier(e,t,r),o=l},hb=function(e){for(var t=this._pt,r,i;t;)i=t._next,t.p===e&&!t.op||t.op===e?ko(this,t,"_pt"):t.dep||(r=1),t=i;return!r},vb=function(e,t,r,i){i.mSet(e,t,i.m.call(i.tween,r,i.mt),i)},ip=function(e){for(var t=e._pt,r,i,o,l;t;){for(r=t._next,i=o;i&&i.pr>t.pr;)i=i._next;(t._prev=i?i._prev:l)?t._prev._next=t:o=t,(t._next=i)?i._prev=t:l=t,t=r}e._pt=o},Xt=function(){function n(t,r,i,o,l,u,c,f,p){this.t=r,this.s=o,this.c=l,this.p=i,this.r=u||rp,this.d=c||this,this.set=f||Ml,this.pr=p||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=vb,this.m=r,this.mt=o,this.tween=i},n}();Ot(Cl+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return Pl[n]=1}),Yt.TweenMax=Yt.TweenLite=nt,Yt.TimelineLite=Yt.TimelineMax=Pt,Ve=new Pt({sortChildren:!1,defaults:yi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Zt.stringFilter=Vf;var Fn=[],Ho={},gb=[],ap=0,bb=0,Yl=function(e){return(Ho[e]||gb).map(function(t){return t()})},Fl=function(){var e=Date.now(),t=[];e-ap>2&&(Yl("matchMediaInit"),Fn.forEach(function(r){var i=r.queries,o=r.conditions,l,u,c,f;for(u in i)l=Dr.matchMedia(i[u]).matches,l&&(c=1),l!==o[u]&&(o[u]=l,f=1);f&&(r.revert(),c&&t.push(r))}),Yl("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),ap=e,Yl("matchMedia"))},op=function(){function n(t,r){this.selector=r&&Xl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=bb++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,i,o){Ue(r)&&(o=i,i=r,r=Ue);var l=this,u=function(){var f=Fe,p=l.selector,h;return f&&f!==l&&f.data.push(l),o&&(l.selector=Xl(o)),Fe=l,h=i.apply(l,arguments),Ue(h)&&l._r.push(h),Fe=f,l.selector=p,l.isReverted=!1,h};return l.last=u,r===Ue?u(l,function(c){return l.add(null,c)}):r?l[r]=u:u},e.ignore=function(r){var i=Fe;Fe=null,r(this),Fe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof n?r.push.apply(r,i.getTweens()):i instanceof nt&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?function(){for(var u=o.getTweens(),c=o.data.length,f;c--;)f=o.data[c],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(p){return u.splice(u.indexOf(p),1)}));for(u.map(function(p){return{g:p._dur||p._delay||p._sat&&!p._sat.vars.immediateRender?p.globalTime(0):-1/0,t:p}}).sort(function(p,h){return h.g-p.g||-1/0}).forEach(function(p){return p.t.revert(r)}),c=o.data.length;c--;)f=o.data[c],f instanceof Pt?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof nt)&&f.revert&&f.revert(r);o._r.forEach(function(p){return p(r,o)}),o.isReverted=!0}():this.data.forEach(function(u){return u.kill&&u.kill()}),this.clear(),i)for(var l=Fn.length;l--;)Fn[l].id===this.id&&Fn.splice(l,1)},e.revert=function(r){this.kill(r||{})},n}(),mb=function(){function n(t){this.contexts=[],this.scope=t,Fe&&Fe.data.push(this)}var e=n.prototype;return e.add=function(r,i,o){Hr(r)||(r={matches:r});var l=new op(0,o||this.scope),u=l.conditions={},c,f,p;Fe&&!l.selector&&(l.selector=Fe.selector),this.contexts.push(l),i=l.add("onMatch",i),l.queries=r;for(f in r)f==="all"?p=1:(c=Dr.matchMedia(r[f]),c&&(Fn.indexOf(l)<0&&Fn.push(l),(u[f]=c.matches)&&(p=1),c.addListener?c.addListener(Fl):c.addEventListener("change",Fl)));return p&&i(l,function(h){return l.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},n}(),Do={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(i){return Nf(i)})},timeline:function(e){return new Pt(e)},getTweensOf:function(e,t){return Ve.getTweensOf(e,t)},getProperty:function(e,t,r,i){lt(e)&&(e=ar(e)[0]);var o=Mn(e||{}).get,l=r?Af:Cf;return r==="native"&&(r=""),e&&(t?l((Ft[t]&&Ft[t].get||o)(e,t,r,i)):function(u,c,f){return l((Ft[u]&&Ft[u].get||o)(e,u,c,f))})},quickSetter:function(e,t,r){if(e=ar(e),e.length>1){var i=e.map(function(p){return Et.quickSetter(p,t,r)}),o=i.length;return function(p){for(var h=o;h--;)i[h](p)}}e=e[0]||{};var l=Ft[t],u=Mn(e),c=u.harness&&(u.harness.aliases||{})[t]||t,f=l?function(p){var h=new l;Ci._pt=0,h.init(e,r?p+r:p,Ci,0,[e]),h.render(1,h),Ci._pt&&Zl(1,Ci)}:u.set(e,c);return l?f:function(p){return f(e,c,r?p+r:p,u,1)}},quickTo:function(e,t,r){var i,o=Et.to(e,Nt((i={},i[t]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),l=function(c,f,p){return o.resetTo(t,c,f,p)};return l.tween=o,l},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Zn(e.ease,yi.ease)),Hf(yi,e||{})},config:function(e){return Hf(Zt,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,i=e.plugins,o=e.defaults,l=e.extendTimeline;(i||"").split(",").forEach(function(u){return u&&!Ft[u]&&!Yt[u]&&pa(t+" effect requires "+u+" plugin.")}),zl[t]=function(u,c,f){return r(ar(u),Nt(c||{},o),f)},l&&(Pt.prototype[t]=function(u,c,f){return this.add(zl[t](u,Hr(c)?c:(f=c)&&{},this),f)})},registerEase:function(e,t){Ae[e]=Zn(t)},parseEase:function(e,t){return arguments.length?Zn(e,t):Ae},getById:function(e){return Ve.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Pt(e),i,o;for(r.smoothChildTiming=Dt(e.smoothChildTiming),Ve.remove(r),r._dp=0,r._time=r._tTime=Ve._time,i=Ve._first;i;)o=i._next,(t||!(!i._dur&&i instanceof nt&&i.vars.onComplete===i._targets[0]))&&Or(r,i,i._start-i._delay),i=o;return Or(Ve,r,0),r},context:function(e,t){return e?new op(e,t):Fe},matchMedia:function(e){return new mb(e)},matchMediaRefresh:function(){return Fn.forEach(function(e){var t=e.conditions,r,i;for(i in t)t[i]&&(t[i]=!1,r=1);r&&e.revert()})||Fl()},addEventListener:function(e,t){var r=Ho[e]||(Ho[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Ho[e],i=r&&r.indexOf(t);i>=0&&r.splice(i,1)},utils:{wrap:U3,wrapYoyo:K3,distribute:If,random:Mf,snap:Sf,normalize:J3,getUnit:gt,clamp:G3,splitColor:Rf,toArray:ar,selector:Xl,mapRange:Zf,pipe:V3,unitize:q3,interpolate:_3,shuffle:Tf},install:yf,effects:zl,ticker:Gt,updateRoot:Pt.updateRoot,plugins:Ft,globalTimeline:Ve,core:{PropTween:Xt,globals:wf,Tween:nt,Timeline:Pt,Animation:Pa,getCache:Mn,_removeLinkedListItem:ko,reverting:function(){return dt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return pl=e}}};Ot("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Do[n]=nt[n]}),Gt.add(Pt.updateRoot),Ci=Do.to({},{duration:0});var yb=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},wb=function(e,t){var r=e._targets,i,o,l;for(i in t)for(o=r.length;o--;)l=e._ptLookup[o][i],l&&(l=l.d)&&(l._pt&&(l=yb(l,i)),l&&l.modifier&&l.modifier(t[i],e,r[o],i))},Nl=function(e,t){return{name:e,rawVars:1,init:function(i,o,l){l._onInit=function(u){var c,f;if(lt(o)&&(c={},Ot(o,function(p){return c[p]=1}),o=c),t){c={};for(f in o)c[f]=t(o[f]);o=c}wb(u,o)}}}},Et=Do.registerPlugin({name:"attr",init:function(e,t,r,i,o){var l,u,c;this.tween=r;for(l in t)c=e.getAttribute(l)||"",u=this.add(e,"setAttribute",(c||0)+"",t[l],i,o,0,0,l),u.op=l,u.b=c,this._props.push(l)},render:function(e,t){for(var r=t._pt;r;)dt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Nl("roundProps",El),Nl("modifiers"),Nl("snap",Sf))||Do;nt.version=Pt.version=Et.version="3.12.7",mf=1,gl()&&Ai(),Ae.Power0,Ae.Power1,Ae.Power2,Ae.Power3,Ae.Power4,Ae.Linear,Ae.Quad,Ae.Cubic,Ae.Quart,Ae.Quint,Ae.Strong,Ae.Elastic,Ae.Back,Ae.SteppedEase,Ae.Bounce,Ae.Sine,Ae.Expo,Ae.Circ;/*!
|
|
15
15
|
* CSSPlugin 3.12.7
|
|
16
16
|
* https://gsap.com
|
|
17
17
|
*
|
|
@@ -40,8 +40,8 @@ var BikeMatrix=function(){"use strict";var $i,ve,qc,Jc,jn,Uc,Kc,Ms,_c,ea={},$c=[
|
|
|
40
40
|
`,sh=n=>te("svg",{width:8,height:14,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n},te("path",{d:"M2.80272 10.0382V9.95794C2.81179 9.1058 2.90249 8.42766 3.07483 7.92352C3.24717 7.41938 3.49206 7.01115 3.80952 6.69885C4.12698 6.38655 4.50794 6.09879 4.95238 5.83556C5.21995 5.67495 5.46032 5.48534 5.67347 5.26673C5.88662 5.04366 6.05442 4.78713 6.17687 4.49713C6.30385 4.20714 6.36735 3.88591 6.36735 3.53346C6.36735 3.09624 6.26304 2.71702 6.05442 2.39579C5.8458 2.07457 5.56689 1.82696 5.21769 1.65296C4.86848 1.47897 4.48073 1.39197 4.05442 1.39197C3.68254 1.39197 3.32426 1.46781 2.97959 1.6195C2.63492 1.77119 2.34694 2.00988 2.11565 2.33556C1.88435 2.66125 1.75057 3.08732 1.71429 3.61377H0C0.0362812 2.85532 0.235828 2.20618 0.598639 1.66635C0.965986 1.12651 1.44898 0.71383 2.04762 0.428298C2.65079 0.142766 3.31973 0 4.05442 0C4.85261 0 5.54649 0.15615 6.13605 0.468451C6.73016 0.780752 7.18821 1.20905 7.5102 1.75335C7.83673 2.29764 8 2.91778 8 3.61377C8 4.10453 7.9229 4.54844 7.76871 4.94551C7.61905 5.34257 7.40136 5.69726 7.11565 6.00956C6.83447 6.32186 6.49433 6.59847 6.09524 6.83939C5.69615 7.08477 5.37642 7.34353 5.13605 7.61568C4.89569 7.88336 4.72109 8.20236 4.61224 8.57266C4.5034 8.94296 4.44444 9.40472 4.43537 9.95794V10.0382H2.80272ZM3.67347 14C3.33787 14 3.04989 13.8818 2.80952 13.6453C2.56916 13.4089 2.44898 13.1256 2.44898 12.7954C2.44898 12.4653 2.56916 12.182 2.80952 11.9455C3.04989 11.7091 3.33787 11.5908 3.67347 11.5908C4.00907 11.5908 4.29705 11.7091 4.53741 11.9455C4.77778 12.182 4.89796 12.4653 4.89796 12.7954C4.89796 13.014 4.84127 13.2148 4.72789 13.3977C4.61905 13.5806 4.47166 13.7279 4.28571 13.8394C4.10431 13.9465 3.90023 14 3.67347 14Z",fill:"white"})),V9=({onClick:n})=>g(ie,{children:[g("style",{type:"text/css",children:Q9}),g("div",{className:"question-button",onClick:n,children:g(sh,{})})]});function q9(){const n=ht.value,t=window.BikeMatrix.getConfig(),{currentBike:r,saveBike:i}=Ht(),[o,l]=U(n==null?void 0:n.owner_Email_Address),[u,c]=U(!1),[f,p]=U(null),[h,b]=U(null),[m,P]=U(r.name),[x,A]=U(null),[z,w]=U(null),[k,D]=U(null),O=new xt(t.apiUrl,t.apiKey,t.apiToken,t.isShopify),{t:L}=De(),B=async(X,W)=>{if(W==="name"){P(X),A(!0),w(null),D(null);const M=await O.updateCustomBikeName(r.key,X);i({...r,name:X}),A(!1),M.success?w(!0):(D(M.error),t.logLevel==="verbose"&&console.error(M.logError))}if(W==="email"){l(X),c(!0),p(null),b(null);const M=await O.saveCustomBike(r.key,X);c(!1),M.success?p(!0):(p(!1),b(M.error),t.logLevel==="verbose"&&console.error(M.logError))}},T=X=>{navigator.share({title:L("virtualworkshop_settings_id"),text:X,url:window.location.href}).then(()=>console.log("Successful share! 🎉")).catch(W=>console.error(W))};return n?g(ie,{children:[g(V9,{onClick:()=>Oe("/quick-guide")}),g("div",{className:"mb-4",children:r?g(br,{bike:r,selected:!0,simple:!0}):g(mi,{})}),g("div",{className:"flex flex-col gap-4",children:[g(ah,{value:m,onSave:X=>B(X,"name"),loading:x,label:L("virtualworkshop_settings_bike_name"),success:z,error:k}),(n==null?void 0:n.owner_Email_Address)&&g(ah,{value:o,onSave:X=>B(X,"email"),loading:u,label:L("virtualworkshop_settings_email"),success:f,error:h}),g(oh,{label:L("virtualworkshop_settings_id"),text:r.key,onCopy:X=>navigator.clipboard.writeText(X)}),g(oh,{label:L("virtualworkshop_settings_share_id"),text:r.shareId,onShare:X=>T(X),onCopy:X=>navigator.clipboard.writeText(X)})]}),g(Yr,{})]}):g(ie,{})}function J9(){const e=window.BikeMatrix.getConfig();se(()=>{Ar.value.back="/"},[]);const t=new xt(e.apiUrl,e.apiKey,e.apiToken,e.isShopify),{currentBike:r}=Ht(),[i,o]=U(null),[l,u]=U(""),c=async()=>{const f=await t.getBikeBom(r.key);if(!f.success)u(f.error),e.logLevel==="verbose"&&console.error(f.logError);else{const p=bi(f.data);o(p),ht.value=p}};return se(()=>{c()},[]),g(ie,{children:[g("div",{className:"mb-4",children:[i?g(br,{bike:i,readOnly:!0,shared:!0}):g(mi,{}),g("div",{class:"mt-4 mb-8",children:g(Bp,{categorisedBOM:i,readOnly:!0})})]}),l,g(Yr,{})]})}const U9=`.onboarding-content-wrapper{display:flex;flex-direction:column;gap:1rem;padding-left:1rem;padding-right:1rem}@media screen and (max-width: 639px){.onboarding-content-wrapper{padding:0}}
|
|
41
41
|
`,K9=`.accordian-wrapper{border-radius:12px;overflow:hidden;height:54px;border:1px solid #d1d5db}.header-content{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 24px 16px 16px}.category{font-size:16px}.chevron-wrapper{transform:rotate(90deg)}.content{display:flex;flex-direction:column;gap:.25rem;opacity:0;padding:16px 24px 16px 16px}.card-image-wrapper{border:1px solid #d4d4d4;border-radius:8px;overflow:hidden;width:100%;margin-bottom:1rem}.card-image-wrapper img{width:100%;height:auto}.card-content{color:#000;font-size:16px}
|
|
42
42
|
`,_9=({title:n,content:e,src:t,svg:r})=>g(Ep,{title:n,children:[g("style",{type:"text/css",children:K9}),g("div",{className:"card-image-wrapper",children:g("img",{src:t})}),g("div",{className:"card-content",children:e})]}),$9=()=>{const{t:n}=De();return g(ie,{children:[g("style",{type:"text/css",children:U9}),g("div",{className:"onboarding",children:g("div",{className:"onboarding-content-wrapper",children:Tp.map((e,t)=>g(_9,{title:e.number+". "+n(`${e.title}`),src:e.image,svg:e.svg,content:n(`${e.content}`)},t))})})]})};function e0(){return g("div",{className:"quick-guide-page",children:[g($9,{}),g(Yr,{})]})}const yu=wt("/"),Oe=n=>{const e=yu.peek();yu.value=n,lh({previous:e,path:n})},wu=[{title:"bikeselector_home_title",component:g3,path:"/"},{title:"bikeselector_addbike_title",component:w3,path:"/add"},{title:"bikeselector_search_title",component:x3,path:"/search"},{title:"bikeselector_size_title",component:P3,path:"/size"},{title:"bikeselector_confirm_title",component:z3,path:"/confirm"},{title:"bikeselector_browse_title",component:C3,path:"/browse"},{title:"virtualworkshop_title",component:A3,path:"/workshop"},{title:"virtualworkshop_title",component:B9,path:"/bom"},{title:"virtualworkshop_title",component:j9,path:"/part"},{title:"virtualworkshop_title",component:W9,path:"/update"},{title:"virtualworkshop_title",component:q9,path:"/settings"},{title:"virtualworkshop_bom_title",component:J9,path:"/read-only"},{title:"Virtual Workshop — Quick Guide",component:e0,path:"/quick-guide"}],xu=wu.map(n=>n.path),lh=n=>{let e;const t=xu.indexOf(n.path),r=wu[t],i=xu.slice(1,5).indexOf(r.path);t&&(e=xu[t-1]),n.previous==="/"&&n.path==="/browse"&&(e="/"),n.previous==="/"&&n.path==="/workshop"&&(e="/"),n.path==="/settings"&&(e="/bom"),n.path==="/quick-guide"&&(e="/settings"),Ar.value={title:r.title,step:i>-1?i:void 0,back:e}};function t0(){const e=zr(()=>wu.reduce((t,r)=>(t[r.path]=r.component,t),{}),[])[yu.value];return se(()=>{lh({path:"/"})},[]),g(e,{})}const Pu=`@import"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-right-2{right:-8px}.-top-2{top:-8px}.bottom-0{bottom:0}.bottom-10{bottom:40px}.bottom-14{bottom:56px}.bottom-4{bottom:16px}.bottom-6{bottom:24px}.bottom-\\[128px\\]{bottom:128px}.bottom-\\[72px\\]{bottom:72px}.left-0{left:0}.left-1\\/2{left:50%}.left-4{left:16px}.right-0{right:0}.right-3{right:12px}.right-4{right:16px}.right-5{right:20px}.top-0{top:0}.top-1\\/2{top:50%}.top-4{top:16px}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-\\[2147483645\\]{z-index:2147483645}.z-\\[2147483646\\]{z-index:2147483646}.\\!my-0{margin-top:0!important;margin-bottom:0!important}.-mx-8{margin-left:-32px;margin-right:-32px}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:4px;margin-bottom:4px}.my-5{margin-top:20px;margin-bottom:20px}.my-6{margin-top:24px;margin-bottom:24px}.my-\\[2px\\]{margin-top:2px;margin-bottom:2px}.my-px{margin-top:1px;margin-bottom:1px}.\\!ml-0{margin-left:0!important}.\\!ml-auto{margin-left:auto!important}.-mb-3{margin-bottom:-12px}.-mt-2{margin-top:-8px}.-mt-5{margin-top:-20px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.mb-8{margin-bottom:32px}.ml-2{margin-left:8px}.ml-\\[105px\\]{margin-left:105px}.ml-auto{margin-left:auto}.mr-\\[6px\\]{margin-right:6px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-10{height:40px}.h-2{height:8px}.h-20{height:80px}.h-3{height:12px}.h-32{height:128px}.h-4{height:16px}.h-40{height:160px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-9{height:36px}.h-\\[10px\\]{height:10px}.h-\\[18px\\]{height:18px}.h-\\[1px\\]{height:1px}.h-\\[26px\\]{height:26px}.h-\\[6px\\]{height:6px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-36{max-height:144px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.w-1\\/2{width:50%}.w-10{width:40px}.w-2{width:8px}.w-3{width:12px}.w-4{width:16px}.w-5{width:20px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-9{width:36px}.w-\\[100px\\]{width:100px}.w-\\[25px\\]{width:25px}.w-\\[37\\.5px\\]{width:37.5px}.w-\\[48px\\]{width:48px}.w-\\[93px\\]{width:93px}.w-\\[calc\\(100\\%_\\+_64px\\)\\]{width:calc(100% + 64px)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\\[220px\\]{max-width:220px}.max-w-full{max-width:100%}.max-w-lg{max-width:512px}.max-w-sm{max-width:384px}.flex-none{flex:none}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/4{--tw-translate-x: -25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-\\[20\\%\\]{--tw-translate-x: -20%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/3{--tw-translate-y: -33.333333%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\/3{--tw-translate-x: 33.333333%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-px{--tw-translate-x: 1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-center{scroll-snap-align:center}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(12px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(12px * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(16px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(16px * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(20px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(20px * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:8px}.rounded-xl{border-radius:12px}.rounded-b-lg{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}.rounded-t-xl{border-top-left-radius:12px;border-top-right-radius:12px}.border{border-width:1px}.border-b-0{border-bottom-width:0px}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-950{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\\/40{background-color:#0006}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400\\/50{background-color:#9ca3af80}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\\/75{background-color:#ffffffbf}.p-0{padding:0}.p-2{padding:8px}.p-3{padding:12px}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.px-8{padding-left:32px;padding-right:32px}.py-1{padding-top:4px;padding-bottom:4px}.py-2{padding-top:8px;padding-bottom:8px}.py-3{padding-top:12px;padding-bottom:12px}.py-4{padding-top:16px;padding-bottom:16px}.py-\\[6px\\]{padding-top:6px;padding-bottom:6px}.\\!pr-8{padding-right:32px!important}.pl-1{padding-left:4px}.pl-3{padding-left:12px}.pr-3{padding-right:12px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pt-4{padding-top:16px}.text-center{text-align:center}.text-start{text-align:start}.font-nunito{font-family:Nunito,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-base{font-size:16px;line-height:24px}.text-lg{font-size:18px;line-height:28px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-\\[18px\\]{line-height:18px}.leading-\\[22px\\]{line-height:22px}.leading-tight{line-height:1.25}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-950{--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_-2px_10px_0px_rgba\\(0\\,0\\,0\\,0\\.04\\)\\,0px_0px_0px_1px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow: 0px -2px 10px 0px rgba(0,0,0,.04),0px 0px 0px 1px rgba(0,0,0,.06);--tw-shadow-colored: 0px -2px 10px 0px var(--tw-shadow-color), 0px 0px 0px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.bike-matrix-container{width:100%}@media (min-width: 640px){.bike-matrix-container{max-width:640px}}@media (min-width: 768px){.bike-matrix-container{max-width:768px}}@media (min-width: 1024px){.bike-matrix-container{max-width:1024px}}@media (min-width: 1280px){.bike-matrix-container{max-width:1280px}}@media (min-width: 1536px){.bike-matrix-container{max-width:1536px}}:host .overlay{opacity:0;visibility:hidden}:host(.active) .overlay{opacity:1;visibility:visible}@media (min-width: 640px){:host .modal{opacity:0;transform:scale(.9);visibility:hidden}:host(.active) .modal{opacity:1;transform:scale(1);visibility:visible}}@media not all and (min-width: 640px){:host .modal{transform:translateY(100%);visibility:hidden}:host(.active) .modal{transform:translateY(0);visibility:visible}}:root,:host{all:initial!important;font-size:16px!important;width:100%}input,select,button{outline:2px solid transparent;outline-offset:2px}h1,h2,h3,h4,h5,h6,label,button{margin-top:0;margin-bottom:0;font-family:Nunito,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}h1,h2,h3,h4,h5,h6{font-weight:700;--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}h1,h2,h3,h4,h5,h6,label,button,p,a,div{font-family:Nunito,sans-serif}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;text-indent:1px;text-overflow:""}select::-ms-expand{display:none}.loader{border-radius:100%;border-top:4px solid rgba(3,7,18,.2);border-right:4px solid rgba(3,7,18,.2);border-bottom:4px solid rgba(3,7,18,.2);border-left:4px solid rgb(3,7,18)}*::-webkit-scrollbar{height:12px;width:12px}*::-webkit-scrollbar-track{border-radius:12px;margin-block:8px;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}*::-webkit-scrollbar-track:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}*::-webkit-scrollbar-track:active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}*::-webkit-scrollbar-thumb{border-radius:8px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}*::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}@media not all and (min-width: 640px){*::-webkit-scrollbar{display:none}.modal-content{-ms-overflow-style:none;scrollbar-width:none}}@media only screen and (max-width: 450px){.compatibility-label-container .status{padding:7px 2px}}.placeholder\\:text-gray-700::-moz-placeholder{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.placeholder\\:text-gray-700::placeholder{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-x-px:after{content:var(--tw-content);left:-1px;right:-1px}.after\\:-top-6:after{content:var(--tw-content);top:-24px}.after\\:bottom-0:after{content:var(--tw-content);bottom:0}.after\\:bg-gradient-to-t:after{content:var(--tw-content);background-image:linear-gradient(to top,var(--tw-gradient-stops))}.after\\:from-white:after{content:var(--tw-content);--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.after\\:to-transparent:after{content:var(--tw-content);--tw-gradient-to: transparent var(--tw-gradient-to-position)}.disabled\\:border-gray-200:disabled{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.group:disabled .group-disabled\\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.group:disabled .group-disabled\\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.group:disabled .group-disabled\\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.peer:disabled~.peer-disabled\\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media not all and (min-width: 640px){.max-sm\\:absolute{position:absolute}.max-sm\\:inset-0{top:0;right:0;bottom:0;left:0}.max-sm\\:h-\\[89vh\\]{height:89vh}.max-sm\\:max-h-\\[96\\%\\]{max-height:96%}.max-sm\\:flex-1{flex:1 1 0%}.max-sm\\:flex-none{flex:none}.max-sm\\:grow{flex-grow:1}}@media (max-width: 426px){.max-\\[426px\\]\\:w-\\[21px\\]{width:21px}.max-\\[426px\\]\\:w-\\[38px\\]{width:38px}.max-\\[426px\\]\\:text-xs{font-size:12px;line-height:16px}}@media (min-width: 640px){.sm\\:mt-8{margin-top:32px}.sm\\:hidden{display:none}.sm\\:h-full{height:100%}.sm\\:max-h-\\[90\\%\\]{max-height:90%}.sm\\:max-w-\\[640px\\]{max-width:640px}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:justify-center{justify-content:center}.sm\\:rounded-xl{border-radius:12px}.sm\\:px-2{padding-left:8px;padding-right:8px}.sm\\:px-6{padding-left:24px;padding-right:24px}.sm\\:duration-200{transition-duration:.2s}}.\\[\\&\\>path\\]\\:stroke-\\[2px\\]>path{stroke-width:2px}.\\[\\&\\>span\\]\\:font-normal>span{font-weight:400}.\\[\\&\\>span\\]\\:text-gray-500>span{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}
|
|
43
|
-
`;function r0(){return se(()=>{const n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap",document.head.appendChild(n)},[]),g(ie,{children:[g("style",{type:"text/css",children:Pu}),g(l3,{children:[g("div",{onClick:gi,style:{right:"-36px",top:"-24px"},class:"w-7 h-7 z-10 flex items-center justify-center absolute bg-white text-gray-800 rounded-full cursor-pointer",children:g(ua,{class:"h-3 w-3"})}),g(h3,{children:g(k3,{children:g(t0,{})})})]})]})}const n0=n=>te("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:500,zoomAndPan:"magnify",viewBox:"0 0 375 374.999991",height:500,preserveAspectRatio:"xMidYMid meet",...n},te("path",{fill:"#000000",d:"M 151.4375 131.65625 L 210.511719 259.050781 C 210.511719 252.984375 210.105469 242.875 210.105469 230.335938 L 197.160156 117.5 C 168.835938 117.90625 151.4375 131.65625 151.4375 131.65625 Z M 225.484375 117.097656 C 218.605469 116.691406 212.128906 116.691406 206.464844 117.097656 L 212.941406 181.804688 C 214.960938 160.773438 219.007812 138.125 225.484375 117.097656 Z M 80.222656 227.101562 C 90.746094 230.335938 101.265625 233.976562 113 238.425781 C 113 238.425781 146.988281 255.816406 173.285156 266.734375 L 104.097656 179.78125 C 93.980469 194.746094 86.292969 211.328125 80.222656 227.101562 Z M 35.714844 287.363281 C 37.738281 276.441406 40.167969 265.117188 43.808594 254.601562 C 34.90625 252.984375 26.003906 251.773438 17.507812 250.960938 C 21.957031 263.90625 28.433594 276.039062 35.714844 287.363281 Z M 195.945312 276.039062 C 195.945312 276.039062 204.441406 278.867188 208.488281 274.417969 L 142.535156 138.125 C 131.207031 146.621094 121.089844 156.324219 112.1875 167.648438 L 191.898438 274.417969 C 193.519531 275.230469 194.730469 275.632812 195.945312 276.039062 Z M 365.480469 146.214844 C 359.816406 122.351562 349.296875 100.109375 335.539062 81.101562 C 343.632812 101.726562 352.128906 124.375 358.199219 140.148438 C 360.625 141.765625 363.457031 144.191406 365.480469 146.214844 Z M 356.175781 170.886719 C 339.179688 157.539062 322.996094 147.023438 307.214844 138.933594 L 244.90625 157.539062 L 232.363281 189.085938 C 230.339844 208.902344 228.71875 233.976562 230.339844 254.601562 C 230.339844 254.601562 233.980469 294.640625 219.414062 299.496094 C 219.414062 299.496094 203.632812 314.863281 163.574219 295.855469 C 163.574219 295.855469 121.898438 274.015625 70.109375 260.265625 C 62.015625 291 59.992188 314.457031 59.992188 316.480469 C 92.363281 349.644531 138.085938 369.867188 188.257812 369.867188 C 288.605469 369.867188 370.335938 288.171875 370.335938 187.871094 C 370.335938 185.847656 370.335938 183.828125 370.335938 181.804688 C 363.054688 183.019531 356.175781 170.886719 356.175781 170.886719 Z M 233.980469 95.257812 C 237.621094 86.761719 242.476562 78.675781 247.332031 71.394531 C 247.332031 71.394531 261.089844 49.960938 281.726562 31.761719 C 254.617188 15.582031 222.246094 5.875 188.257812 5.875 C 87.507812 5.875 6.179688 87.570312 6.179688 187.871094 C 6.179688 197.578125 6.988281 206.476562 8.203125 215.371094 C 22.363281 215.777344 38.144531 217.394531 55.542969 220.628906 C 66.0625 195.152344 75.773438 177.761719 75.773438 177.761719 C 75.773438 177.761719 124.328125 87.976562 233.980469 95.257812 Z M 236.8125 147.429688 L 240.453125 146.214844 L 250.972656 120.332031 C 248.546875 119.925781 246.925781 119.523438 244.5 119.117188 C 241.261719 127.609375 238.429688 137.316406 236.8125 147.429688 Z M 259.066406 121.949219 L 250.164062 143.789062 L 292.648438 132.867188 C 281.320312 128.015625 269.992188 124.375 259.066406 121.949219 Z M 272.015625 76.25 C 266.347656 82.71875 260.683594 90 255.425781 98.085938 C 275.65625 101.726562 293.054688 106.582031 308.027344 112.242188 Z M 340.800781 128.015625 L 314.902344 57.238281 C 311.261719 53.601562 307.621094 50.363281 303.980469 47.128906 C 295.886719 52.792969 287.390625 59.667969 278.894531 68.160156 L 323.804688 119.117188 C 330.28125 122.351562 336.347656 125.589844 340.800781 128.015625 Z M 340.800781 128.015625 ",fillOpacity:1,fillRule:"nonzero"}));function i0({"data-sku":n,"data-padding-top":e,"data-padding-bottom":t}){var D;const r=window.BikeMatrix,i=r.getConfig(),[o,l]=U({}),[u,c]=U(!1),[f,p]=U({compatible:"",warning:""}),{t:h}=De(),[b,m]=U(!1),P=n||i.sku,[x,A]=U(null);if(n==="*")return i.logLevel==="verbose"&&console.log("Early return as prouduct is blacklisted"),g(ie,{});i.internalLink&&A(i.internalLink);const z=zr(()=>
|
|
44
|
-
`,uh={unavailable:{icon:mu,heading:"",code:""},compatible:{icon:Li,heading:"Compatible",code:"compatible"},warning:{icon:Bi,heading:"Compatible",code:"compatible"},incompatible:{icon:Zo,heading:"Not Compatible",code:"not_compatible"}};function ch({"data-type":n}){var r;const e=uh[n],{t}=De();return e?g(ie,{children:[g("style",{type:"text/css",children:Pu}),g("div",{class:"flex z-0 flex-col relative w-full mx-auto compatibility-label-container max-w-[220px]",children:[g("div",{class:Pe("rounded-lg relative z-20 border overflow-hidden w-full flex",{unavailable:"bg-gray-50 border-gray-950 text-gray-950",compatible:"bg-emerald-50 border-emerald-500 text-emerald-950",incompatible:"bg-red-50 border-red-500 text-red-950",warning:"bg-amber-50 border-amber-500 text-amber-950"}[n]),children:[g("div",{class:"relative z-10 h-auto items-center justify-center flex",children:[g(bu,{class:Pe("self-start h-full w-[48px] max-[426px]:w-[38px]",{unavailable:"text-gray-950",compatible:"text-emerald-500",incompatible:"text-red-500",warning:"text-amber-500"}[n])}),g(gu,{class:"h-[18px] max-[426px]:w-[21px] w-[25px] absolute -translate-x-[20%]"})]}),g("div",{class:"status flex flex-col p-2 pl-1 w-full",children:g("p",{class:"max-[426px]:text-xs text-sm font-semibold p-0 leading-[18px] text-center",children:t((r=uh[n])==null?void 0:r.code)})})]}),g(e.icon,{class:"absolute top-0 z-30 right-0 w-4 h-4 translate-x-1/3 -translate-y-1/3"})]})]}):g(ie,{})}const ji={unavailable:{heading:""},compatible:{heading:"Compatible"},incompatible:{heading:"Not Compatible"},warning:{heading:"Compatible - Check Notes"}};let
|
|
43
|
+
`;function r0(){return se(()=>{const n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap",document.head.appendChild(n)},[]),g(ie,{children:[g("style",{type:"text/css",children:Pu}),g(l3,{children:[g("div",{onClick:gi,style:{right:"-36px",top:"-24px"},class:"w-7 h-7 z-10 flex items-center justify-center absolute bg-white text-gray-800 rounded-full cursor-pointer",children:g(ua,{class:"h-3 w-3"})}),g(h3,{children:g(k3,{children:g(t0,{})})})]})]})}const n0=n=>te("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:500,zoomAndPan:"magnify",viewBox:"0 0 375 374.999991",height:500,preserveAspectRatio:"xMidYMid meet",...n},te("path",{fill:"#000000",d:"M 151.4375 131.65625 L 210.511719 259.050781 C 210.511719 252.984375 210.105469 242.875 210.105469 230.335938 L 197.160156 117.5 C 168.835938 117.90625 151.4375 131.65625 151.4375 131.65625 Z M 225.484375 117.097656 C 218.605469 116.691406 212.128906 116.691406 206.464844 117.097656 L 212.941406 181.804688 C 214.960938 160.773438 219.007812 138.125 225.484375 117.097656 Z M 80.222656 227.101562 C 90.746094 230.335938 101.265625 233.976562 113 238.425781 C 113 238.425781 146.988281 255.816406 173.285156 266.734375 L 104.097656 179.78125 C 93.980469 194.746094 86.292969 211.328125 80.222656 227.101562 Z M 35.714844 287.363281 C 37.738281 276.441406 40.167969 265.117188 43.808594 254.601562 C 34.90625 252.984375 26.003906 251.773438 17.507812 250.960938 C 21.957031 263.90625 28.433594 276.039062 35.714844 287.363281 Z M 195.945312 276.039062 C 195.945312 276.039062 204.441406 278.867188 208.488281 274.417969 L 142.535156 138.125 C 131.207031 146.621094 121.089844 156.324219 112.1875 167.648438 L 191.898438 274.417969 C 193.519531 275.230469 194.730469 275.632812 195.945312 276.039062 Z M 365.480469 146.214844 C 359.816406 122.351562 349.296875 100.109375 335.539062 81.101562 C 343.632812 101.726562 352.128906 124.375 358.199219 140.148438 C 360.625 141.765625 363.457031 144.191406 365.480469 146.214844 Z M 356.175781 170.886719 C 339.179688 157.539062 322.996094 147.023438 307.214844 138.933594 L 244.90625 157.539062 L 232.363281 189.085938 C 230.339844 208.902344 228.71875 233.976562 230.339844 254.601562 C 230.339844 254.601562 233.980469 294.640625 219.414062 299.496094 C 219.414062 299.496094 203.632812 314.863281 163.574219 295.855469 C 163.574219 295.855469 121.898438 274.015625 70.109375 260.265625 C 62.015625 291 59.992188 314.457031 59.992188 316.480469 C 92.363281 349.644531 138.085938 369.867188 188.257812 369.867188 C 288.605469 369.867188 370.335938 288.171875 370.335938 187.871094 C 370.335938 185.847656 370.335938 183.828125 370.335938 181.804688 C 363.054688 183.019531 356.175781 170.886719 356.175781 170.886719 Z M 233.980469 95.257812 C 237.621094 86.761719 242.476562 78.675781 247.332031 71.394531 C 247.332031 71.394531 261.089844 49.960938 281.726562 31.761719 C 254.617188 15.582031 222.246094 5.875 188.257812 5.875 C 87.507812 5.875 6.179688 87.570312 6.179688 187.871094 C 6.179688 197.578125 6.988281 206.476562 8.203125 215.371094 C 22.363281 215.777344 38.144531 217.394531 55.542969 220.628906 C 66.0625 195.152344 75.773438 177.761719 75.773438 177.761719 C 75.773438 177.761719 124.328125 87.976562 233.980469 95.257812 Z M 236.8125 147.429688 L 240.453125 146.214844 L 250.972656 120.332031 C 248.546875 119.925781 246.925781 119.523438 244.5 119.117188 C 241.261719 127.609375 238.429688 137.316406 236.8125 147.429688 Z M 259.066406 121.949219 L 250.164062 143.789062 L 292.648438 132.867188 C 281.320312 128.015625 269.992188 124.375 259.066406 121.949219 Z M 272.015625 76.25 C 266.347656 82.71875 260.683594 90 255.425781 98.085938 C 275.65625 101.726562 293.054688 106.582031 308.027344 112.242188 Z M 340.800781 128.015625 L 314.902344 57.238281 C 311.261719 53.601562 307.621094 50.363281 303.980469 47.128906 C 295.886719 52.792969 287.390625 59.667969 278.894531 68.160156 L 323.804688 119.117188 C 330.28125 122.351562 336.347656 125.589844 340.800781 128.015625 Z M 340.800781 128.015625 ",fillOpacity:1,fillRule:"nonzero"}));function i0({"data-sku":n,"data-padding-top":e,"data-padding-bottom":t}){var D;const r=window.BikeMatrix,i=r.getConfig(),[o,l]=U({}),[u,c]=U(!1),[f,p]=U({compatible:"",warning:""}),{t:h}=De(),[b,m]=U(!1),P=n||i.sku,[x,A]=U(null);if(n==="*")return i.logLevel==="verbose"&&console.log("Early return as prouduct is blacklisted"),g(ie,{});i.internalLink&&A(i.internalLink);const z=zr(()=>rr.value||b,[rr.value,b]),w=!!r.getActiveSubscription(),k=async()=>{var L,B,T,X,W,M,N;if(m(!0),p({compatible:"",warning:""}),c(!1),i.logLevel==="verbose"&&(console.log("ProductResult updateCompatibility config: "+JSON.stringify(i)),console.log("ProductResult updateCompatibility BikeSignal.value: "+JSON.stringify(xe.value))),xe.value){for(let V=0;V<i.productCollections.length;V++)if(!((B=(L=xe.value)==null?void 0:L.compatibleCollections)!=null&&B.error)&&((X=(T=xe.value)==null?void 0:T.compatibleCollections)!=null&&X.find(J=>J.handle===i.productCollections[V]))){c(!0);break}}else for(let V=0;V<i.productCollections.length;V++)if((W=i==null?void 0:i.collections)!=null&&W.map(J=>J.handle).includes(i==null?void 0:i.productCollections[V])){c(!0);break}if(xe.value){if(P==""){l({type:"unavailable",...Oa.unavailable}),m(!1);return}var O=((M=ci())==null?void 0:M.language)||"en-GB";const J=await new xt(i.apiUrl,i.apiKey,i.apiToken,i.isShopify).checkSkuCompatibility((N=xe.value)==null?void 0:N.key,P,O);if(m(!1),!J.success){i.logLevel==="verbose"&&console.error(J.logError),l({type:"unavailable",...Oa.unavailable});return}const re=(J==null?void 0:J.data.compatible)===null?"unavailable":J.data.warning?"warning":J!=null&&J.data.compatible?"compatible":"incompatible";p({warning:J.data.warningMessage,compatible:J.data.compatibilityMessage}),l({type:re,...Oa[re]})}else m(!1),l({type:"check",...Oa.check})};return se(()=>{k()},[xe.value,P]),se(()=>(document.addEventListener("RefreshCompatibility",k),()=>{document.removeEventListener("RefreshCompatibility",k)}),[]),!w||!z&&!(o!=null&&o.type)||!u?g(ie,{}):g(ie,{children:[g("style",{type:"text/css",children:Pu}),g("div",{class:"flex flex-col relative w-full mx-auto",style:{marginTop:`${e}px`,marginBottom:`${t}px`},children:[g("div",{onClick:O=>{O.preventDefault(),document.dispatchEvent(new Event("BmToggleModal",{bubbles:!0,composed:!0}))},class:Pe("rounded-lg relative z-20 border overflow-hidden w-full flex cursor-pointer",z?"bg-gray-100 border-gray-300 text-gray-950":{unavailable:"bg-gray-50 border-gray-950 text-gray-950",check:"bg-gray-50 border-gray-950 text-gray-950",compatible:"bg-emerald-50 border-emerald-500 text-emerald-950",incompatible:"bg-red-50 border-red-500 text-red-950",warning:"bg-amber-50 border-amber-500 text-amber-950"}[o.type]),children:z?g("span",{class:"loader self-center animate-spin justify-self-center justify-center w-9 my-5 mx-auto h-9",style:{borderWidth:"6px"}}):g(ie,{children:[g("div",{class:"relative z-10 h-auto items-center justify-center flex",children:[g(bu,{class:Pe("self-start h-full w-[93px]",{unavailable:"text-gray-950",check:"text-gray-950",compatible:"text-emerald-500",incompatible:"text-red-500",warning:"text-amber-500"}[o.type])}),g(gu,{class:"h-[26px] absolute -translate-x-1/4"})]}),g("div",{class:"flex flex-col pl-3 pr-6 py-[6px] min-w-0",children:[g("p",{class:"text-lg font-semibold",children:h(o==null?void 0:o.heading_code)}),g("p",{class:"flex w-full text-sm leading-[22px] font-normal",children:g("span",{class:"truncate",children:o!=null&&o.details_code?h(o==null?void 0:o.details_code):(D=xe.value)==null?void 0:D.name})})]})]})}),g("div",{class:"z-10 bg-gray-100 w-full -mt-2 pt-4 flex border justify-between flex-wrap gap-1 border-gray-300 rounded-b-lg p-3 py-2",children:[o.type!=="incompatible"&&g("div",{class:"space-y-2 my-[2px]",children:[!!(f!=null&&f.compatible)&&g("p",{class:"text-sm flex",children:[g(Li,{class:"mr-[6px] flex-none my-px h-4 w-4 text-emerald-500"})," ",f.compatible]}),!!f.warning&&g("p",{class:"text-sm flex",children:[g(Bi,{class:"mr-[6px] flex-none my-px h-4 w-4 text-amber-500"})," ",f.warning]})]}),g("a",{class:"flex text-xs self-end font-semibold items-center underline ml-auto",href:x||"https://bikematrix.io/landed-it",target:"_blank",children:[h("bikematrix_poweredby")," ",g(n0,{class:"w-5 h-5 ml-2"})]})]}),!z&&g(o.icon,{class:"absolute top-0 z-30 right-0 w-6 translate-x-1/3 -translate-y-1/3"})]})]})}const a0=`.wrapper{position:relative}.bm_collection_result{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.4rem;position:relative;margin-left:auto;margin-right:auto;font-size:14px;text-align:left;height:100%;line-height:1.3em}.bm_collection_result_iconLabel{display:inline-block;position:relative}.bm_collection_result_link{text-align:right;font-weight:500;font-size:.6em;margin-top:1px;text-decoration:underline;color:#000}.bm_collection_result_link:visited{color:#000}.bm_collection_result p{display:inline;padding:1px;margin:0;color:#000}.bm_collection_result_icon{padding:0 .1rem 0 0;position:absolute;left:-24px;top:-.25rem}.bm-hidden{display:none}.lds-ring{display:inline-block;position:relative;width:24px;height:24px}.lds-ring div{box-sizing:border-box;display:block;position:absolute;width:19px;height:19px;margin:2px;border:2px solid #c4cdd5;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#c4cdd5 transparent transparent transparent}.lds-ring div:nth-child(1){animation-delay:-.45s}.lds-ring div:nth-child(2){animation-delay:-.3s}.lds-ring div:nth-child(3){animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
44
|
+
`,uh={unavailable:{icon:mu,heading:"",code:""},compatible:{icon:Li,heading:"Compatible",code:"compatible"},warning:{icon:Bi,heading:"Compatible",code:"compatible"},incompatible:{icon:Zo,heading:"Not Compatible",code:"not_compatible"}};function ch({"data-type":n}){var r;const e=uh[n],{t}=De();return e?g(ie,{children:[g("style",{type:"text/css",children:Pu}),g("div",{class:"flex z-0 flex-col relative w-full mx-auto compatibility-label-container max-w-[220px]",children:[g("div",{class:Pe("rounded-lg relative z-20 border overflow-hidden w-full flex",{unavailable:"bg-gray-50 border-gray-950 text-gray-950",compatible:"bg-emerald-50 border-emerald-500 text-emerald-950",incompatible:"bg-red-50 border-red-500 text-red-950",warning:"bg-amber-50 border-amber-500 text-amber-950"}[n]),children:[g("div",{class:"relative z-10 h-auto items-center justify-center flex",children:[g(bu,{class:Pe("self-start h-full w-[48px] max-[426px]:w-[38px]",{unavailable:"text-gray-950",compatible:"text-emerald-500",incompatible:"text-red-500",warning:"text-amber-500"}[n])}),g(gu,{class:"h-[18px] max-[426px]:w-[21px] w-[25px] absolute -translate-x-[20%]"})]}),g("div",{class:"status flex flex-col p-2 pl-1 w-full",children:g("p",{class:"max-[426px]:text-xs text-sm font-semibold p-0 leading-[18px] text-center",children:t((r=uh[n])==null?void 0:r.code)})})]}),g(e.icon,{class:"absolute top-0 z-30 right-0 w-4 h-4 translate-x-1/3 -translate-y-1/3"})]})]}):g(ie,{})}const ji={unavailable:{heading:""},compatible:{heading:"Compatible"},incompatible:{heading:"Not Compatible"},warning:{heading:"Compatible - Check Notes"}};let or={type:"unavailable",heading:""};const o0=async(n,e,t,r)=>{var c;if(!t||!((c=hi.value)!=null&&c.length)){or={type:"unavailable",...ji.unavailable};return}let i=[];for(const f of t.split(",").filter(p=>!!p)){const p=hi.value.find(h=>h.sku===f.trim());i.push(p)}const o=i.some(f=>(f==null?void 0:f.compatible)===!0&&!(f!=null&&f.warning)),l=i.some(f=>(f==null?void 0:f.compatible)===!0&&(f==null?void 0:f.warning)),u=i.some(f=>(f==null?void 0:f.compatible)===!1);o?or={type:"compatible",...ji.compatible}:l?or={type:"warning",...ji.warning}:u?or={type:"incompatible",...ji.incompatible}:or={type:"unavailable",...ji.unavailable},r==="verbose"&&console.log("checkCollectionResult prodcutId: "+e+" bikeKey: "+n+" sku: "+t+" status: "+or.type)},s0=function(n,e,t,r,i,o,l){var c;const u=window.BikeMatrix.getConfig();if(n||e){if((n&&t||e&&r)&&u.productsCollections[o]){for(let f=0;f<u.productsCollections[o].length;f++)if(u.collections.map(p=>p.handle).includes(u.productsCollections[o][f]))return!0}}else return i?!1:!!xe.value&&!xe.value.compatibleCollections.error&&((c=xe.value.compatibleCollections)==null?void 0:c.find(p=>p.handle===l));return!1};function l0({"data-product-id":n,"data-product-skus":e,"data-product-barcodes":t,"data-product-metafields":r}){const i=window.BikeMatrix,o=i.getConfig(),[l,u]=U(!1),c=!!i.getActiveSubscription();or={type:"unavailable",...ji.unavailable};const{currentCollectionHandle:f,isHomePage:p,isSearchPage:h,showSearchPageCollection:b,showHomePageCollection:m,logLevel:P,skuField:x}=o,A=!!o.pageType&&o.pageType==="product",z=x==="barcode"?t:x==="metafield"?r:e||"";return P==="verbose"&&(console.log("CollectionResult currentCollectionHandle: ",f),console.log("CollectionResult skuField: ",x),console.log("CollectionResult productId: ",n),console.log("CollectionResult skusToCheck: ",z),console.log("CollectionResult BikeSignal.value: "+JSON.stringify(xe.value))),rr.value?u(!0):xe.value&&s0(p,h,m,b,A,n,f)?o0(xe.value.key,n,z,o.logLevel).then(()=>{u(!0)}):u(!1),P==="verbose"&&console.log("CollectionResult status: ",or),g(ie,{children:c&&l&&g(ie,{children:[g("style",{type:"text/css",children:a0}),g("div",{class:"bm_collection_result bm-wrapper",children:[g("div",{class:"lds-ring",id:"bm-loading-spinner",style:rr.value?"":"display: none",children:[g("div",{}),g("div",{}),g("div",{}),g("div",{})]}),!rr.value&&(or==null?void 0:or.type)!=="unavailable"&&g(ch,{"data-type":or.type})]})]})})}const u0=`.lds-ring{display:inline-block;position:relative;width:24px;height:24px}.lds-ring div{box-sizing:border-box;display:block;position:absolute;width:19px;height:19px;margin:2px;border:2px solid #c4cdd5;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#c4cdd5 transparent transparent transparent}.lds-ring div:nth-child(1){animation-delay:-.45s}.lds-ring div:nth-child(2){animation-delay:-.3s}.lds-ring div:nth-child(3){animation-delay:-.15s}@keyframes lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bm-compatible-products-wrapper{display:block;width:100%;border-top:.5px solid lightgrey;border-bottom:.5px solid lightgrey;margin-top:10px}.bm-compatible-products-title>div{color:rgb(var(--text-color));font-family:var(--body-font-family);font-size:calc(var(--body-font-size) * .1rem);font-style:var(--body-font-style);font-weight:var(--body-font-weight);line-height:1.5;outline:none;text-decoration:none;display:flex;align-items:center;justify-content:space-between;padding:8px 0}.bm-compatible-products-title>div>span{font-weight:700}.bm-compatible-products-title svg{height:24px;width:24px;transition:transform .3s linear}.bm-compatible-products-title div.active svg{transform:rotate(180deg)}.bm-compatible-products-list{width:100%;max-width:100%;display:none;overflow:hidden}.bm-compatible-products-list ul{display:grid;gap:20px;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none}@media only screen and (max-width: 1000px){.bm-compatible-products-list ul{grid-template-columns:repeat(3,minmax(0,1fr))}}@media only screen and (max-width: 600px){.bm-compatible-products-list ul{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}}.bm-compatible-products-list ul li{width:100%;display:flex}.bm-compatible-product-wrapper{display:block;width:100%;border:1px solid lightgrey;padding:5px;display:flex;flex-flow:column;flex:1}.bm-compatible-product-image{display:block;width:100%;max-width:100%;line-height:1;padding-top:100%;position:relative;margin-bottom:5px;overflow:hidden}.bm-compatible-product-image a,.bm-compatible-product-image a:hover,.bm-compatible-product-image a:focus{display:block;width:100%;max-width:100%;outline:none;text-decoration:none;width:auto;height:auto;line-height:1;border:none;border-radius:0}.bm-compatible-product-image img{display:inline-block;vertical-align:top;width:100%;max-width:100%;height:auto;line-height:1;position:absolute;left:0;right:0;bottom:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;top:50%;transform:translateY(-50%)}.bm-compatible-product-title{text-align:center;margin:0 0 1em;display:flex;flex-flow:column;flex:1}.bm-compatible-product-title a,.bm-compatible-product-title a:hover,.bm-compatible-product-title a:focus{color:rgb(var(--text-color));font-family:var(--body-font-family);font-size:calc(var(--body-font-size) * .1rem);font-style:var(--body-font-style);font-weight:var(--body-font-weight);line-height:1.5;outline:none;text-decoration:none}.bm-compatible-product-price{text-align:center;margin:0 0 1em}.bm-compatible-product-price p{font-family:var(--body-font-family);font-size:calc(var(--body-font-size) * .1rem);font-style:var(--body-font-style);font-weight:var(--body-font-weight);line-height:1.5;color:rgb(var(--text-color));padding:0;margin:0}.bm-compatible-product-price p strong{font-size:1.2em}.bm-compatible-product-compatibility{text-align:center;margin:0 .25em 1em}@media only screen and (max-width: 450px){.bm-compatible-product-compatibility{margin:0 0 1em}}.bm_result_link{justify-content:center;text-align:right;text-decoration:underline;font-size:12px;padding:10px 0}.bm_result_link a{text-align:right;font-weight:700;margin-top:10px;color:#000}
|
|
45
45
|
`;var Yo={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */Yo.exports,function(n,e){(function(t){var r=e,i=n&&n.exports==r&&n,o=typeof dn=="object"&&dn;(o.global===o||o.window===o)&&(t=o);var l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},h=/["&'<>`]/g,b={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,P=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,x=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,A={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
46
46
|
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},z={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},k=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],D=String.fromCharCode,O={},L=O.hasOwnProperty,B=function(Z,$){return L.call(Z,$)},T=function(Z,$){for(var oe=-1,ue=Z.length;++oe<ue;)if(Z[oe]==$)return!0;return!1},X=function(Z,$){if(!Z)return $;var oe={},ue;for(ue in $)oe[ue]=B(Z,ue)?Z[ue]:$[ue];return oe},W=function(Z,$){var oe="";return Z>=55296&&Z<=57343||Z>1114111?($&&V("character reference outside the permissible Unicode range"),"�"):B(w,Z)?($&&V("disallowed character reference"),w[Z]):($&&T(k,Z)&&V("disallowed character reference"),Z>65535&&(Z-=65536,oe+=D(Z>>>10&1023|55296),Z=56320|Z&1023),oe+=D(Z),oe)},M=function(Z){return"&#x"+Z.toString(16).toUpperCase()+";"},N=function(Z){return"&#"+Z+";"},V=function(Z){throw Error("Parse error: "+Z)},J=function(Z,$){$=X($,J.options);var oe=$.strict;oe&&P.test(Z)&&V("forbidden code point");var ue=$.encodeEverything,pe=$.useNamedReferences,Re=$.allowUnsafeSymbols,Ie=$.decimal?N:M,Bt=function($e){return Ie($e.charCodeAt(0))};return ue?(Z=Z.replace(u,function($e){return pe&&B(p,$e)?"&"+p[$e]+";":Bt($e)}),pe&&(Z=Z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),pe&&(Z=Z.replace(f,function($e){return"&"+p[$e]+";"}))):pe?(Re||(Z=Z.replace(h,function($e){return"&"+p[$e]+";"})),Z=Z.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),Z=Z.replace(f,function($e){return"&"+p[$e]+";"})):Re||(Z=Z.replace(h,Bt)),Z.replace(l,function($e){var Vt=$e.charCodeAt(0),jt=$e.charCodeAt(1),qt=(Vt-55296)*1024+jt-56320+65536;return Ie(qt)}).replace(c,Bt)};J.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var re=function(Z,$){$=X($,re.options);var oe=$.strict;return oe&&m.test(Z)&&V("malformed character reference"),Z.replace(x,function(ue,pe,Re,Ie,Bt,$e,Vt,jt,qt){var at,Ur,Ta,Tt,jr,Si;return pe?(jr=pe,A[jr]):Re?(jr=Re,Si=Ie,Si&&$.isAttributeValue?(oe&&Si=="="&&V("`&` did not start a character reference"),ue):(oe&&V("named character reference was not terminated by a semicolon"),z[jr]+(Si||""))):Bt?(Ta=Bt,Ur=$e,oe&&!Ur&&V("character reference was not terminated by a semicolon"),at=parseInt(Ta,10),W(at,oe)):Vt?(Tt=Vt,Ur=jt,oe&&!Ur&&V("character reference was not terminated by a semicolon"),at=parseInt(Tt,16),W(at,oe)):(oe&&V("named character reference was not terminated by a semicolon"),ue)})};re.options={isAttributeValue:!1,strict:!1};var K=function(Z){return Z.replace(h,function($){return b[$]})},ee={version:"1.2.0",encode:J,decode:re,escape:K,unescape:re};if(r&&!r.nodeType)if(i)i.exports=ee;else for(var F in ee)B(ee,F)&&(r[F]=ee[F]);else t.he=ee})(dn)}(Yo,Yo.exports);var c0=Yo.exports;const d0=rg(c0);var Fo={exports:{}};/**
|
|
47
47
|
* @license
|
|
@@ -50,9 +50,9 @@ var BikeMatrix=function(){"use strict";var $i,ve,qc,Jc,jn,Uc,Kc,Ms,_c,ea={},$c=[
|
|
|
50
50
|
* Released under MIT license <https://lodash.com/license>
|
|
51
51
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
52
52
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
53
|
-
*/Fo.exports,function(n,e){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",h=1,b=2,m=4,P=1,x=2,A=1,z=2,w=4,k=8,D=16,O=32,L=64,B=128,T=256,X=512,W=30,M="...",N=800,V=16,J=1,re=2,K=3,ee=1/0,F=9007199254740991,Z=17976931348623157e292,$=0/0,oe=4294967295,ue=oe-1,pe=oe>>>1,Re=[["ary",B],["bind",A],["bindKey",z],["curry",k],["curryRight",D],["flip",X],["partial",O],["partialRight",L],["rearg",T]],Ie="[object Arguments]",Bt="[object Array]",$e="[object AsyncFunction]",Vt="[object Boolean]",jt="[object Date]",qt="[object DOMException]",at="[object Error]",Ur="[object Function]",Ta="[object GeneratorFunction]",Tt="[object Map]",jr="[object Number]",Si="[object Null]",Kr="[object Object]",Xh="[object Promise]",v5="[object Proxy]",Ia="[object RegExp]",yr="[object Set]",Sa="[object String]",Jo="[object Symbol]",g5="[object Undefined]",Ma="[object WeakMap]",b5="[object WeakSet]",Wa="[object ArrayBuffer]",Mi="[object DataView]",Hu="[object Float32Array]",Du="[object Float64Array]",Ou="[object Int8Array]",Xu="[object Int16Array]",Eu="[object Int32Array]",Lu="[object Uint8Array]",Bu="[object Uint8ClampedArray]",ju="[object Uint16Array]",Tu="[object Uint32Array]",m5=/\b__p \+= '';/g,y5=/\b(__p \+=) '' \+/g,w5=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Eh=/&(?:amp|lt|gt|quot|#39);/g,Lh=/[&<>"']/g,x5=RegExp(Eh.source),P5=RegExp(Lh.source),k5=/<%-([\s\S]+?)%>/g,z5=/<%([\s\S]+?)%>/g,Bh=/<%=([\s\S]+?)%>/g,C5=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,A5=/^\w*$/,H5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Iu=/[\\^$.*+?()[\]{}|]/g,D5=RegExp(Iu.source),Su=/^\s+/,O5=/\s/,X5=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E5=/\{\n\/\* \[wrapped with (.+)\] \*/,L5=/,? & /,B5=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,j5=/[()=,{}\[\]\/\s]/,T5=/\\(\\)?/g,I5=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,jh=/\w*$/,S5=/^[-+]0x[0-9a-f]+$/i,M5=/^0b[01]+$/i,W5=/^\[object .+?Constructor\]$/,Z5=/^0o[0-7]+$/i,Y5=/^(?:0|[1-9]\d*)$/,F5=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Uo=/($^)/,N5=/['\n\r\u2028\u2029\\]/g,Ko="\\ud800-\\udfff",R5="\\u0300-\\u036f",G5="\\ufe20-\\ufe2f",Q5="\\u20d0-\\u20ff",Th=R5+G5+Q5,Ih="\\u2700-\\u27bf",Sh="a-z\\xdf-\\xf6\\xf8-\\xff",V5="\\xac\\xb1\\xd7\\xf7",q5="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",J5="\\u2000-\\u206f",U5=" \\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",Mh="A-Z\\xc0-\\xd6\\xd8-\\xde",Wh="\\ufe0e\\ufe0f",Zh=V5+q5+J5+U5,Mu="['’]",K5="["+Ko+"]",Yh="["+Zh+"]",_o="["+Th+"]",Fh="\\d+",_5="["+Ih+"]",Nh="["+Sh+"]",Rh="[^"+Ko+Zh+Fh+Ih+Sh+Mh+"]",Wu="\\ud83c[\\udffb-\\udfff]",$5="(?:"+_o+"|"+Wu+")",Gh="[^"+Ko+"]",Zu="(?:\\ud83c[\\udde6-\\uddff]){2}",Yu="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+Mh+"]",Qh="\\u200d",Vh="(?:"+Nh+"|"+Rh+")",e8="(?:"+Wi+"|"+Rh+")",qh="(?:"+Mu+"(?:d|ll|m|re|s|t|ve))?",Jh="(?:"+Mu+"(?:D|LL|M|RE|S|T|VE))?",Uh=$5+"?",Kh="["+Wh+"]?",t8="(?:"+Qh+"(?:"+[Gh,Zu,Yu].join("|")+")"+Kh+Uh+")*",r8="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",n8="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_h=Kh+Uh+t8,i8="(?:"+[_5,Zu,Yu].join("|")+")"+_h,a8="(?:"+[Gh+_o+"?",_o,Zu,Yu,K5].join("|")+")",o8=RegExp(Mu,"g"),s8=RegExp(_o,"g"),Fu=RegExp(Wu+"(?="+Wu+")|"+a8+_h,"g"),l8=RegExp([Wi+"?"+Nh+"+"+qh+"(?="+[Yh,Wi,"$"].join("|")+")",e8+"+"+Jh+"(?="+[Yh,Wi+Vh,"$"].join("|")+")",Wi+"?"+Vh+"+"+qh,Wi+"+"+Jh,n8,r8,Fh,i8].join("|"),"g"),u8=RegExp("["+Qh+Ko+Th+Wh+"]"),c8=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,d8=["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"],f8=-1,Ye={};Ye[Hu]=Ye[Du]=Ye[Ou]=Ye[Xu]=Ye[Eu]=Ye[Lu]=Ye[Bu]=Ye[ju]=Ye[Tu]=!0,Ye[Ie]=Ye[Bt]=Ye[Wa]=Ye[Vt]=Ye[Mi]=Ye[jt]=Ye[at]=Ye[Ur]=Ye[Tt]=Ye[jr]=Ye[Kr]=Ye[Ia]=Ye[yr]=Ye[Sa]=Ye[Ma]=!1;var Me={};Me[Ie]=Me[Bt]=Me[Wa]=Me[Mi]=Me[Vt]=Me[jt]=Me[Hu]=Me[Du]=Me[Ou]=Me[Xu]=Me[Eu]=Me[Tt]=Me[jr]=Me[Kr]=Me[Ia]=Me[yr]=Me[Sa]=Me[Jo]=Me[Lu]=Me[Bu]=Me[ju]=Me[Tu]=!0,Me[at]=Me[Ur]=Me[Ma]=!1;var p8={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},h8={"&":"&","<":"<",">":">",'"':""","'":"'"},v8={"&":"&","<":"<",">":">",""":'"',"'":"'"},g8={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},b8=parseFloat,m8=parseInt,$h=typeof dn=="object"&&dn&&dn.Object===Object&&dn,y8=typeof self=="object"&&self&&self.Object===Object&&self,ft=$h||y8||Function("return this")(),Nu=e&&!e.nodeType&&e,Kn=Nu&&!0&&n&&!n.nodeType&&n,e2=Kn&&Kn.exports===Nu,Ru=e2&&$h.process,or=function(){try{var I=Kn&&Kn.require&&Kn.require("util").types;return I||Ru&&Ru.binding&&Ru.binding("util")}catch{}}(),t2=or&&or.isArrayBuffer,r2=or&&or.isDate,n2=or&&or.isMap,i2=or&&or.isRegExp,a2=or&&or.isSet,o2=or&&or.isTypedArray;function Jt(I,R,Y){switch(Y.length){case 0:return I.call(R);case 1:return I.call(R,Y[0]);case 2:return I.call(R,Y[0],Y[1]);case 3:return I.call(R,Y[0],Y[1],Y[2])}return I.apply(R,Y)}function w8(I,R,Y,ae){for(var he=-1,Xe=I==null?0:I.length;++he<Xe;){var ot=I[he];R(ae,ot,Y(ot),I)}return ae}function sr(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae&&R(I[Y],Y,I)!==!1;);return I}function x8(I,R){for(var Y=I==null?0:I.length;Y--&&R(I[Y],Y,I)!==!1;);return I}function s2(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae;)if(!R(I[Y],Y,I))return!1;return!0}function Cn(I,R){for(var Y=-1,ae=I==null?0:I.length,he=0,Xe=[];++Y<ae;){var ot=I[Y];R(ot,Y,I)&&(Xe[he++]=ot)}return Xe}function $o(I,R){var Y=I==null?0:I.length;return!!Y&&Zi(I,R,0)>-1}function Gu(I,R,Y){for(var ae=-1,he=I==null?0:I.length;++ae<he;)if(Y(R,I[ae]))return!0;return!1}function Ge(I,R){for(var Y=-1,ae=I==null?0:I.length,he=Array(ae);++Y<ae;)he[Y]=R(I[Y],Y,I);return he}function An(I,R){for(var Y=-1,ae=R.length,he=I.length;++Y<ae;)I[he+Y]=R[Y];return I}function Qu(I,R,Y,ae){var he=-1,Xe=I==null?0:I.length;for(ae&&Xe&&(Y=I[++he]);++he<Xe;)Y=R(Y,I[he],he,I);return Y}function P8(I,R,Y,ae){var he=I==null?0:I.length;for(ae&&he&&(Y=I[--he]);he--;)Y=R(Y,I[he],he,I);return Y}function Vu(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae;)if(R(I[Y],Y,I))return!0;return!1}var k8=qu("length");function z8(I){return I.split("")}function C8(I){return I.match(B5)||[]}function l2(I,R,Y){var ae;return Y(I,function(he,Xe,ot){if(R(he,Xe,ot))return ae=Xe,!1}),ae}function es(I,R,Y,ae){for(var he=I.length,Xe=Y+(ae?1:-1);ae?Xe--:++Xe<he;)if(R(I[Xe],Xe,I))return Xe;return-1}function Zi(I,R,Y){return R===R?S8(I,R,Y):es(I,u2,Y)}function A8(I,R,Y,ae){for(var he=Y-1,Xe=I.length;++he<Xe;)if(ae(I[he],R))return he;return-1}function u2(I){return I!==I}function c2(I,R){var Y=I==null?0:I.length;return Y?Uu(I,R)/Y:$}function qu(I){return function(R){return R==null?t:R[I]}}function Ju(I){return function(R){return I==null?t:I[R]}}function d2(I,R,Y,ae,he){return he(I,function(Xe,ot,Se){Y=ae?(ae=!1,Xe):R(Y,Xe,ot,Se)}),Y}function H8(I,R){var Y=I.length;for(I.sort(R);Y--;)I[Y]=I[Y].value;return I}function Uu(I,R){for(var Y,ae=-1,he=I.length;++ae<he;){var Xe=R(I[ae]);Xe!==t&&(Y=Y===t?Xe:Y+Xe)}return Y}function Ku(I,R){for(var Y=-1,ae=Array(I);++Y<I;)ae[Y]=R(Y);return ae}function D8(I,R){return Ge(R,function(Y){return[Y,I[Y]]})}function f2(I){return I&&I.slice(0,g2(I)+1).replace(Su,"")}function Ut(I){return function(R){return I(R)}}function _u(I,R){return Ge(R,function(Y){return I[Y]})}function Za(I,R){return I.has(R)}function p2(I,R){for(var Y=-1,ae=I.length;++Y<ae&&Zi(R,I[Y],0)>-1;);return Y}function h2(I,R){for(var Y=I.length;Y--&&Zi(R,I[Y],0)>-1;);return Y}function O8(I,R){for(var Y=I.length,ae=0;Y--;)I[Y]===R&&++ae;return ae}var X8=Ju(p8),E8=Ju(h8);function L8(I){return"\\"+g8[I]}function B8(I,R){return I==null?t:I[R]}function Yi(I){return u8.test(I)}function j8(I){return c8.test(I)}function T8(I){for(var R,Y=[];!(R=I.next()).done;)Y.push(R.value);return Y}function $u(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae,he){Y[++R]=[he,ae]}),Y}function v2(I,R){return function(Y){return I(R(Y))}}function Hn(I,R){for(var Y=-1,ae=I.length,he=0,Xe=[];++Y<ae;){var ot=I[Y];(ot===R||ot===p)&&(I[Y]=p,Xe[he++]=Y)}return Xe}function ts(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae){Y[++R]=ae}),Y}function I8(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae){Y[++R]=[ae,ae]}),Y}function S8(I,R,Y){for(var ae=Y-1,he=I.length;++ae<he;)if(I[ae]===R)return ae;return-1}function M8(I,R,Y){for(var ae=Y+1;ae--;)if(I[ae]===R)return ae;return ae}function Fi(I){return Yi(I)?Z8(I):k8(I)}function wr(I){return Yi(I)?Y8(I):z8(I)}function g2(I){for(var R=I.length;R--&&O5.test(I.charAt(R)););return R}var W8=Ju(v8);function Z8(I){for(var R=Fu.lastIndex=0;Fu.test(I);)++R;return R}function Y8(I){return I.match(Fu)||[]}function F8(I){return I.match(l8)||[]}var N8=function I(R){R=R==null?ft:Ni.defaults(ft.Object(),R,Ni.pick(ft,d8));var Y=R.Array,ae=R.Date,he=R.Error,Xe=R.Function,ot=R.Math,Se=R.Object,ec=R.RegExp,R8=R.String,lr=R.TypeError,rs=Y.prototype,G8=Xe.prototype,Ri=Se.prototype,ns=R["__core-js_shared__"],is=G8.toString,Le=Ri.hasOwnProperty,Q8=0,b2=function(){var a=/[^.]+$/.exec(ns&&ns.keys&&ns.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),as=Ri.toString,V8=is.call(Se),q8=ft._,J8=ec("^"+is.call(Le).replace(Iu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),os=e2?R.Buffer:t,Dn=R.Symbol,ss=R.Uint8Array,m2=os?os.allocUnsafe:t,ls=v2(Se.getPrototypeOf,Se),y2=Se.create,w2=Ri.propertyIsEnumerable,us=rs.splice,x2=Dn?Dn.isConcatSpreadable:t,Ya=Dn?Dn.iterator:t,_n=Dn?Dn.toStringTag:t,cs=function(){try{var a=ni(Se,"defineProperty");return a({},"",{}),a}catch{}}(),U8=R.clearTimeout!==ft.clearTimeout&&R.clearTimeout,K8=ae&&ae.now!==ft.Date.now&&ae.now,_8=R.setTimeout!==ft.setTimeout&&R.setTimeout,ds=ot.ceil,fs=ot.floor,tc=Se.getOwnPropertySymbols,$8=os?os.isBuffer:t,P2=R.isFinite,e7=rs.join,t7=v2(Se.keys,Se),st=ot.max,mt=ot.min,r7=ae.now,n7=R.parseInt,k2=ot.random,i7=rs.reverse,rc=ni(R,"DataView"),Fa=ni(R,"Map"),nc=ni(R,"Promise"),Gi=ni(R,"Set"),Na=ni(R,"WeakMap"),Ra=ni(Se,"create"),ps=Na&&new Na,Qi={},a7=ii(rc),o7=ii(Fa),s7=ii(nc),l7=ii(Gi),u7=ii(Na),hs=Dn?Dn.prototype:t,Ga=hs?hs.valueOf:t,z2=hs?hs.toString:t;function C(a){if(Ke(a)&&!ge(a)&&!(a instanceof Ce)){if(a instanceof ur)return a;if(Le.call(a,"__wrapped__"))return Cv(a)}return new ur(a)}var Vi=function(){function a(){}return function(s){if(!Je(s))return{};if(y2)return y2(s);a.prototype=s;var d=new a;return a.prototype=t,d}}();function vs(){}function ur(a,s){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=t}C.templateSettings={escape:k5,evaluate:z5,interpolate:Bh,variable:"",imports:{_:C}},C.prototype=vs.prototype,C.prototype.constructor=C,ur.prototype=Vi(vs.prototype),ur.prototype.constructor=ur;function Ce(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=oe,this.__views__=[]}function c7(){var a=new Ce(this.__wrapped__);return a.__actions__=It(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=It(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=It(this.__views__),a}function d7(){if(this.__filtered__){var a=new Ce(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function f7(){var a=this.__wrapped__.value(),s=this.__dir__,d=ge(a),v=s<0,y=d?a.length:0,H=z6(0,y,this.__views__),E=H.start,j=H.end,S=j-E,G=v?j:E-1,Q=this.__iteratees__,q=Q.length,ne=0,le=mt(S,this.__takeCount__);if(!d||!v&&y==S&&le==S)return q2(a,this.__actions__);var de=[];e:for(;S--&&ne<le;){G+=s;for(var we=-1,fe=a[G];++we<q;){var ze=Q[we],He=ze.iteratee,$t=ze.type,At=He(fe);if($t==re)fe=At;else if(!At){if($t==J)continue e;break e}}de[ne++]=fe}return de}Ce.prototype=Vi(vs.prototype),Ce.prototype.constructor=Ce;function $n(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function p7(){this.__data__=Ra?Ra(null):{},this.size=0}function h7(a){var s=this.has(a)&&delete this.__data__[a];return this.size-=s?1:0,s}function v7(a){var s=this.__data__;if(Ra){var d=s[a];return d===c?t:d}return Le.call(s,a)?s[a]:t}function g7(a){var s=this.__data__;return Ra?s[a]!==t:Le.call(s,a)}function b7(a,s){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Ra&&s===t?c:s,this}$n.prototype.clear=p7,$n.prototype.delete=h7,$n.prototype.get=v7,$n.prototype.has=g7,$n.prototype.set=b7;function _r(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function m7(){this.__data__=[],this.size=0}function y7(a){var s=this.__data__,d=gs(s,a);if(d<0)return!1;var v=s.length-1;return d==v?s.pop():us.call(s,d,1),--this.size,!0}function w7(a){var s=this.__data__,d=gs(s,a);return d<0?t:s[d][1]}function x7(a){return gs(this.__data__,a)>-1}function P7(a,s){var d=this.__data__,v=gs(d,a);return v<0?(++this.size,d.push([a,s])):d[v][1]=s,this}_r.prototype.clear=m7,_r.prototype.delete=y7,_r.prototype.get=w7,_r.prototype.has=x7,_r.prototype.set=P7;function $r(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function k7(){this.size=0,this.__data__={hash:new $n,map:new(Fa||_r),string:new $n}}function z7(a){var s=Ds(this,a).delete(a);return this.size-=s?1:0,s}function C7(a){return Ds(this,a).get(a)}function A7(a){return Ds(this,a).has(a)}function H7(a,s){var d=Ds(this,a),v=d.size;return d.set(a,s),this.size+=d.size==v?0:1,this}$r.prototype.clear=k7,$r.prototype.delete=z7,$r.prototype.get=C7,$r.prototype.has=A7,$r.prototype.set=H7;function ei(a){var s=-1,d=a==null?0:a.length;for(this.__data__=new $r;++s<d;)this.add(a[s])}function D7(a){return this.__data__.set(a,c),this}function O7(a){return this.__data__.has(a)}ei.prototype.add=ei.prototype.push=D7,ei.prototype.has=O7;function xr(a){var s=this.__data__=new _r(a);this.size=s.size}function X7(){this.__data__=new _r,this.size=0}function E7(a){var s=this.__data__,d=s.delete(a);return this.size=s.size,d}function L7(a){return this.__data__.get(a)}function B7(a){return this.__data__.has(a)}function j7(a,s){var d=this.__data__;if(d instanceof _r){var v=d.__data__;if(!Fa||v.length<i-1)return v.push([a,s]),this.size=++d.size,this;d=this.__data__=new $r(v)}return d.set(a,s),this.size=d.size,this}xr.prototype.clear=X7,xr.prototype.delete=E7,xr.prototype.get=L7,xr.prototype.has=B7,xr.prototype.set=j7;function C2(a,s){var d=ge(a),v=!d&&ai(a),y=!d&&!v&&Bn(a),H=!d&&!v&&!y&&Ki(a),E=d||v||y||H,j=E?Ku(a.length,R8):[],S=j.length;for(var G in a)(s||Le.call(a,G))&&!(E&&(G=="length"||y&&(G=="offset"||G=="parent")||H&&(G=="buffer"||G=="byteLength"||G=="byteOffset")||nn(G,S)))&&j.push(G);return j}function A2(a){var s=a.length;return s?a[hc(0,s-1)]:t}function T7(a,s){return Os(It(a),ti(s,0,a.length))}function I7(a){return Os(It(a))}function ic(a,s,d){(d!==t&&!Pr(a[s],d)||d===t&&!(s in a))&&en(a,s,d)}function Qa(a,s,d){var v=a[s];(!(Le.call(a,s)&&Pr(v,d))||d===t&&!(s in a))&&en(a,s,d)}function gs(a,s){for(var d=a.length;d--;)if(Pr(a[d][0],s))return d;return-1}function S7(a,s,d,v){return On(a,function(y,H,E){s(v,y,d(y),E)}),v}function H2(a,s){return a&&Ir(s,ut(s),a)}function M7(a,s){return a&&Ir(s,Mt(s),a)}function en(a,s,d){s=="__proto__"&&cs?cs(a,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[s]=d}function ac(a,s){for(var d=-1,v=s.length,y=Y(v),H=a==null;++d<v;)y[d]=H?t:Wc(a,s[d]);return y}function ti(a,s,d){return a===a&&(d!==t&&(a=a<=d?a:d),s!==t&&(a=a>=s?a:s)),a}function cr(a,s,d,v,y,H){var E,j=s&h,S=s&b,G=s&m;if(d&&(E=y?d(a,v,y,H):d(a)),E!==t)return E;if(!Je(a))return a;var Q=ge(a);if(Q){if(E=A6(a),!j)return It(a,E)}else{var q=yt(a),ne=q==Ur||q==Ta;if(Bn(a))return K2(a,j);if(q==Kr||q==Ie||ne&&!y){if(E=S||ne?{}:gv(a),!j)return S?v6(a,M7(E,a)):h6(a,H2(E,a))}else{if(!Me[q])return y?a:{};E=H6(a,q,j)}}H||(H=new xr);var le=H.get(a);if(le)return le;H.set(a,E),Gv(a)?a.forEach(function(fe){E.add(cr(fe,s,d,fe,a,H))}):Nv(a)&&a.forEach(function(fe,ze){E.set(ze,cr(fe,s,d,ze,a,H))});var de=G?S?Cc:zc:S?Mt:ut,we=Q?t:de(a);return sr(we||a,function(fe,ze){we&&(ze=fe,fe=a[ze]),Qa(E,ze,cr(fe,s,d,ze,a,H))}),E}function W7(a){var s=ut(a);return function(d){return D2(d,a,s)}}function D2(a,s,d){var v=d.length;if(a==null)return!v;for(a=Se(a);v--;){var y=d[v],H=s[y],E=a[y];if(E===t&&!(y in a)||!H(E))return!1}return!0}function O2(a,s,d){if(typeof a!="function")throw new lr(l);return $a(function(){a.apply(t,d)},s)}function Va(a,s,d,v){var y=-1,H=$o,E=!0,j=a.length,S=[],G=s.length;if(!j)return S;d&&(s=Ge(s,Ut(d))),v?(H=Gu,E=!1):s.length>=i&&(H=Za,E=!1,s=new ei(s));e:for(;++y<j;){var Q=a[y],q=d==null?Q:d(Q);if(Q=v||Q!==0?Q:0,E&&q===q){for(var ne=G;ne--;)if(s[ne]===q)continue e;S.push(Q)}else H(s,q,v)||S.push(Q)}return S}var On=rv(Tr),X2=rv(sc,!0);function Z7(a,s){var d=!0;return On(a,function(v,y,H){return d=!!s(v,y,H),d}),d}function bs(a,s,d){for(var v=-1,y=a.length;++v<y;){var H=a[v],E=s(H);if(E!=null&&(j===t?E===E&&!_t(E):d(E,j)))var j=E,S=H}return S}function Y7(a,s,d,v){var y=a.length;for(d=me(d),d<0&&(d=-d>y?0:y+d),v=v===t||v>y?y:me(v),v<0&&(v+=y),v=d>v?0:Vv(v);d<v;)a[d++]=s;return a}function E2(a,s){var d=[];return On(a,function(v,y,H){s(v,y,H)&&d.push(v)}),d}function pt(a,s,d,v,y){var H=-1,E=a.length;for(d||(d=O6),y||(y=[]);++H<E;){var j=a[H];s>0&&d(j)?s>1?pt(j,s-1,d,v,y):An(y,j):v||(y[y.length]=j)}return y}var oc=nv(),L2=nv(!0);function Tr(a,s){return a&&oc(a,s,ut)}function sc(a,s){return a&&L2(a,s,ut)}function ms(a,s){return Cn(s,function(d){return an(a[d])})}function ri(a,s){s=En(s,a);for(var d=0,v=s.length;a!=null&&d<v;)a=a[Sr(s[d++])];return d&&d==v?a:t}function B2(a,s,d){var v=s(a);return ge(a)?v:An(v,d(a))}function zt(a){return a==null?a===t?g5:Si:_n&&_n in Se(a)?k6(a):I6(a)}function lc(a,s){return a>s}function F7(a,s){return a!=null&&Le.call(a,s)}function N7(a,s){return a!=null&&s in Se(a)}function R7(a,s,d){return a>=mt(s,d)&&a<st(s,d)}function uc(a,s,d){for(var v=d?Gu:$o,y=a[0].length,H=a.length,E=H,j=Y(H),S=1/0,G=[];E--;){var Q=a[E];E&&s&&(Q=Ge(Q,Ut(s))),S=mt(Q.length,S),j[E]=!d&&(s||y>=120&&Q.length>=120)?new ei(E&&Q):t}Q=a[0];var q=-1,ne=j[0];e:for(;++q<y&&G.length<S;){var le=Q[q],de=s?s(le):le;if(le=d||le!==0?le:0,!(ne?Za(ne,de):v(G,de,d))){for(E=H;--E;){var we=j[E];if(!(we?Za(we,de):v(a[E],de,d)))continue e}ne&&ne.push(de),G.push(le)}}return G}function G7(a,s,d,v){return Tr(a,function(y,H,E){s(v,d(y),H,E)}),v}function qa(a,s,d){s=En(s,a),a=wv(a,s);var v=a==null?a:a[Sr(fr(s))];return v==null?t:Jt(v,a,d)}function j2(a){return Ke(a)&&zt(a)==Ie}function Q7(a){return Ke(a)&&zt(a)==Wa}function V7(a){return Ke(a)&&zt(a)==jt}function Ja(a,s,d,v,y){return a===s?!0:a==null||s==null||!Ke(a)&&!Ke(s)?a!==a&&s!==s:q7(a,s,d,v,Ja,y)}function q7(a,s,d,v,y,H){var E=ge(a),j=ge(s),S=E?Bt:yt(a),G=j?Bt:yt(s);S=S==Ie?Kr:S,G=G==Ie?Kr:G;var Q=S==Kr,q=G==Kr,ne=S==G;if(ne&&Bn(a)){if(!Bn(s))return!1;E=!0,Q=!1}if(ne&&!Q)return H||(H=new xr),E||Ki(a)?pv(a,s,d,v,y,H):x6(a,s,S,d,v,y,H);if(!(d&P)){var le=Q&&Le.call(a,"__wrapped__"),de=q&&Le.call(s,"__wrapped__");if(le||de){var we=le?a.value():a,fe=de?s.value():s;return H||(H=new xr),y(we,fe,d,v,H)}}return ne?(H||(H=new xr),P6(a,s,d,v,y,H)):!1}function J7(a){return Ke(a)&&yt(a)==Tt}function cc(a,s,d,v){var y=d.length,H=y,E=!v;if(a==null)return!H;for(a=Se(a);y--;){var j=d[y];if(E&&j[2]?j[1]!==a[j[0]]:!(j[0]in a))return!1}for(;++y<H;){j=d[y];var S=j[0],G=a[S],Q=j[1];if(E&&j[2]){if(G===t&&!(S in a))return!1}else{var q=new xr;if(v)var ne=v(G,Q,S,a,s,q);if(!(ne===t?Ja(Q,G,P|x,v,q):ne))return!1}}return!0}function T2(a){if(!Je(a)||E6(a))return!1;var s=an(a)?J8:W5;return s.test(ii(a))}function U7(a){return Ke(a)&&zt(a)==Ia}function K7(a){return Ke(a)&&yt(a)==yr}function _7(a){return Ke(a)&&Ts(a.length)&&!!Ye[zt(a)]}function I2(a){return typeof a=="function"?a:a==null?Wt:typeof a=="object"?ge(a)?W2(a[0],a[1]):M2(a):i1(a)}function dc(a){if(!_a(a))return t7(a);var s=[];for(var d in Se(a))Le.call(a,d)&&d!="constructor"&&s.push(d);return s}function $7(a){if(!Je(a))return T6(a);var s=_a(a),d=[];for(var v in a)v=="constructor"&&(s||!Le.call(a,v))||d.push(v);return d}function fc(a,s){return a<s}function S2(a,s){var d=-1,v=St(a)?Y(a.length):[];return On(a,function(y,H,E){v[++d]=s(y,H,E)}),v}function M2(a){var s=Hc(a);return s.length==1&&s[0][2]?mv(s[0][0],s[0][1]):function(d){return d===a||cc(d,a,s)}}function W2(a,s){return Oc(a)&&bv(s)?mv(Sr(a),s):function(d){var v=Wc(d,a);return v===t&&v===s?Zc(d,a):Ja(s,v,P|x)}}function ys(a,s,d,v,y){a!==s&&oc(s,function(H,E){if(y||(y=new xr),Je(H))e6(a,s,E,d,ys,v,y);else{var j=v?v(Ec(a,E),H,E+"",a,s,y):t;j===t&&(j=H),ic(a,E,j)}},Mt)}function e6(a,s,d,v,y,H,E){var j=Ec(a,d),S=Ec(s,d),G=E.get(S);if(G){ic(a,d,G);return}var Q=H?H(j,S,d+"",a,s,E):t,q=Q===t;if(q){var ne=ge(S),le=!ne&&Bn(S),de=!ne&&!le&&Ki(S);Q=S,ne||le||de?ge(j)?Q=j:et(j)?Q=It(j):le?(q=!1,Q=K2(S,!0)):de?(q=!1,Q=_2(S,!0)):Q=[]:eo(S)||ai(S)?(Q=j,ai(j)?Q=qv(j):(!Je(j)||an(j))&&(Q=gv(S))):q=!1}q&&(E.set(S,Q),y(Q,S,v,H,E),E.delete(S)),ic(a,d,Q)}function Z2(a,s){var d=a.length;if(d)return s+=s<0?d:0,nn(s,d)?a[s]:t}function Y2(a,s,d){s.length?s=Ge(s,function(H){return ge(H)?function(E){return ri(E,H.length===1?H[0]:H)}:H}):s=[Wt];var v=-1;s=Ge(s,Ut(ce()));var y=S2(a,function(H,E,j){var S=Ge(s,function(G){return G(H)});return{criteria:S,index:++v,value:H}});return H8(y,function(H,E){return p6(H,E,d)})}function t6(a,s){return F2(a,s,function(d,v){return Zc(a,v)})}function F2(a,s,d){for(var v=-1,y=s.length,H={};++v<y;){var E=s[v],j=ri(a,E);d(j,E)&&Ua(H,En(E,a),j)}return H}function r6(a){return function(s){return ri(s,a)}}function pc(a,s,d,v){var y=v?A8:Zi,H=-1,E=s.length,j=a;for(a===s&&(s=It(s)),d&&(j=Ge(a,Ut(d)));++H<E;)for(var S=0,G=s[H],Q=d?d(G):G;(S=y(j,Q,S,v))>-1;)j!==a&&us.call(j,S,1),us.call(a,S,1);return a}function N2(a,s){for(var d=a?s.length:0,v=d-1;d--;){var y=s[d];if(d==v||y!==H){var H=y;nn(y)?us.call(a,y,1):bc(a,y)}}return a}function hc(a,s){return a+fs(k2()*(s-a+1))}function n6(a,s,d,v){for(var y=-1,H=st(ds((s-a)/(d||1)),0),E=Y(H);H--;)E[v?H:++y]=a,a+=d;return E}function vc(a,s){var d="";if(!a||s<1||s>F)return d;do s%2&&(d+=a),s=fs(s/2),s&&(a+=a);while(s);return d}function ke(a,s){return Lc(yv(a,s,Wt),a+"")}function i6(a){return A2(_i(a))}function a6(a,s){var d=_i(a);return Os(d,ti(s,0,d.length))}function Ua(a,s,d,v){if(!Je(a))return a;s=En(s,a);for(var y=-1,H=s.length,E=H-1,j=a;j!=null&&++y<H;){var S=Sr(s[y]),G=d;if(S==="__proto__"||S==="constructor"||S==="prototype")return a;if(y!=E){var Q=j[S];G=v?v(Q,S,j):t,G===t&&(G=Je(Q)?Q:nn(s[y+1])?[]:{})}Qa(j,S,G),j=j[S]}return a}var R2=ps?function(a,s){return ps.set(a,s),a}:Wt,o6=cs?function(a,s){return cs(a,"toString",{configurable:!0,enumerable:!1,value:Fc(s),writable:!0})}:Wt;function s6(a){return Os(_i(a))}function dr(a,s,d){var v=-1,y=a.length;s<0&&(s=-s>y?0:y+s),d=d>y?y:d,d<0&&(d+=y),y=s>d?0:d-s>>>0,s>>>=0;for(var H=Y(y);++v<y;)H[v]=a[v+s];return H}function l6(a,s){var d;return On(a,function(v,y,H){return d=s(v,y,H),!d}),!!d}function ws(a,s,d){var v=0,y=a==null?v:a.length;if(typeof s=="number"&&s===s&&y<=pe){for(;v<y;){var H=v+y>>>1,E=a[H];E!==null&&!_t(E)&&(d?E<=s:E<s)?v=H+1:y=H}return y}return gc(a,s,Wt,d)}function gc(a,s,d,v){var y=0,H=a==null?0:a.length;if(H===0)return 0;s=d(s);for(var E=s!==s,j=s===null,S=_t(s),G=s===t;y<H;){var Q=fs((y+H)/2),q=d(a[Q]),ne=q!==t,le=q===null,de=q===q,we=_t(q);if(E)var fe=v||de;else G?fe=de&&(v||ne):j?fe=de&&ne&&(v||!le):S?fe=de&&ne&&!le&&(v||!we):le||we?fe=!1:fe=v?q<=s:q<s;fe?y=Q+1:H=Q}return mt(H,ue)}function G2(a,s){for(var d=-1,v=a.length,y=0,H=[];++d<v;){var E=a[d],j=s?s(E):E;if(!d||!Pr(j,S)){var S=j;H[y++]=E===0?0:E}}return H}function Q2(a){return typeof a=="number"?a:_t(a)?$:+a}function Kt(a){if(typeof a=="string")return a;if(ge(a))return Ge(a,Kt)+"";if(_t(a))return z2?z2.call(a):"";var s=a+"";return s=="0"&&1/a==-ee?"-0":s}function Xn(a,s,d){var v=-1,y=$o,H=a.length,E=!0,j=[],S=j;if(d)E=!1,y=Gu;else if(H>=i){var G=s?null:y6(a);if(G)return ts(G);E=!1,y=Za,S=new ei}else S=s?[]:j;e:for(;++v<H;){var Q=a[v],q=s?s(Q):Q;if(Q=d||Q!==0?Q:0,E&&q===q){for(var ne=S.length;ne--;)if(S[ne]===q)continue e;s&&S.push(q),j.push(Q)}else y(S,q,d)||(S!==j&&S.push(q),j.push(Q))}return j}function bc(a,s){return s=En(s,a),a=wv(a,s),a==null||delete a[Sr(fr(s))]}function V2(a,s,d,v){return Ua(a,s,d(ri(a,s)),v)}function xs(a,s,d,v){for(var y=a.length,H=v?y:-1;(v?H--:++H<y)&&s(a[H],H,a););return d?dr(a,v?0:H,v?H+1:y):dr(a,v?H+1:0,v?y:H)}function q2(a,s){var d=a;return d instanceof Ce&&(d=d.value()),Qu(s,function(v,y){return y.func.apply(y.thisArg,An([v],y.args))},d)}function mc(a,s,d){var v=a.length;if(v<2)return v?Xn(a[0]):[];for(var y=-1,H=Y(v);++y<v;)for(var E=a[y],j=-1;++j<v;)j!=y&&(H[y]=Va(H[y]||E,a[j],s,d));return Xn(pt(H,1),s,d)}function J2(a,s,d){for(var v=-1,y=a.length,H=s.length,E={};++v<y;){var j=v<H?s[v]:t;d(E,a[v],j)}return E}function yc(a){return et(a)?a:[]}function wc(a){return typeof a=="function"?a:Wt}function En(a,s){return ge(a)?a:Oc(a,s)?[a]:zv(Ee(a))}var u6=ke;function Ln(a,s,d){var v=a.length;return d=d===t?v:d,!s&&d>=v?a:dr(a,s,d)}var U2=U8||function(a){return ft.clearTimeout(a)};function K2(a,s){if(s)return a.slice();var d=a.length,v=m2?m2(d):new a.constructor(d);return a.copy(v),v}function xc(a){var s=new a.constructor(a.byteLength);return new ss(s).set(new ss(a)),s}function c6(a,s){var d=s?xc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function d6(a){var s=new a.constructor(a.source,jh.exec(a));return s.lastIndex=a.lastIndex,s}function f6(a){return Ga?Se(Ga.call(a)):{}}function _2(a,s){var d=s?xc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function $2(a,s){if(a!==s){var d=a!==t,v=a===null,y=a===a,H=_t(a),E=s!==t,j=s===null,S=s===s,G=_t(s);if(!j&&!G&&!H&&a>s||H&&E&&S&&!j&&!G||v&&E&&S||!d&&S||!y)return 1;if(!v&&!H&&!G&&a<s||G&&d&&y&&!v&&!H||j&&d&&y||!E&&y||!S)return-1}return 0}function p6(a,s,d){for(var v=-1,y=a.criteria,H=s.criteria,E=y.length,j=d.length;++v<E;){var S=$2(y[v],H[v]);if(S){if(v>=j)return S;var G=d[v];return S*(G=="desc"?-1:1)}}return a.index-s.index}function ev(a,s,d,v){for(var y=-1,H=a.length,E=d.length,j=-1,S=s.length,G=st(H-E,0),Q=Y(S+G),q=!v;++j<S;)Q[j]=s[j];for(;++y<E;)(q||y<H)&&(Q[d[y]]=a[y]);for(;G--;)Q[j++]=a[y++];return Q}function tv(a,s,d,v){for(var y=-1,H=a.length,E=-1,j=d.length,S=-1,G=s.length,Q=st(H-j,0),q=Y(Q+G),ne=!v;++y<Q;)q[y]=a[y];for(var le=y;++S<G;)q[le+S]=s[S];for(;++E<j;)(ne||y<H)&&(q[le+d[E]]=a[y++]);return q}function It(a,s){var d=-1,v=a.length;for(s||(s=Y(v));++d<v;)s[d]=a[d];return s}function Ir(a,s,d,v){var y=!d;d||(d={});for(var H=-1,E=s.length;++H<E;){var j=s[H],S=v?v(d[j],a[j],j,d,a):t;S===t&&(S=a[j]),y?en(d,j,S):Qa(d,j,S)}return d}function h6(a,s){return Ir(a,Dc(a),s)}function v6(a,s){return Ir(a,hv(a),s)}function Ps(a,s){return function(d,v){var y=ge(d)?w8:S7,H=s?s():{};return y(d,a,ce(v,2),H)}}function qi(a){return ke(function(s,d){var v=-1,y=d.length,H=y>1?d[y-1]:t,E=y>2?d[2]:t;for(H=a.length>3&&typeof H=="function"?(y--,H):t,E&&Ct(d[0],d[1],E)&&(H=y<3?t:H,y=1),s=Se(s);++v<y;){var j=d[v];j&&a(s,j,v,H)}return s})}function rv(a,s){return function(d,v){if(d==null)return d;if(!St(d))return a(d,v);for(var y=d.length,H=s?y:-1,E=Se(d);(s?H--:++H<y)&&v(E[H],H,E)!==!1;);return d}}function nv(a){return function(s,d,v){for(var y=-1,H=Se(s),E=v(s),j=E.length;j--;){var S=E[a?j:++y];if(d(H[S],S,H)===!1)break}return s}}function g6(a,s,d){var v=s&A,y=Ka(a);function H(){var E=this&&this!==ft&&this instanceof H?y:a;return E.apply(v?d:this,arguments)}return H}function iv(a){return function(s){s=Ee(s);var d=Yi(s)?wr(s):t,v=d?d[0]:s.charAt(0),y=d?Ln(d,1).join(""):s.slice(1);return v[a]()+y}}function Ji(a){return function(s){return Qu(r1(t1(s).replace(o8,"")),a,"")}}function Ka(a){return function(){var s=arguments;switch(s.length){case 0:return new a;case 1:return new a(s[0]);case 2:return new a(s[0],s[1]);case 3:return new a(s[0],s[1],s[2]);case 4:return new a(s[0],s[1],s[2],s[3]);case 5:return new a(s[0],s[1],s[2],s[3],s[4]);case 6:return new a(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new a(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Vi(a.prototype),v=a.apply(d,s);return Je(v)?v:d}}function b6(a,s,d){var v=Ka(a);function y(){for(var H=arguments.length,E=Y(H),j=H,S=Ui(y);j--;)E[j]=arguments[j];var G=H<3&&E[0]!==S&&E[H-1]!==S?[]:Hn(E,S);if(H-=G.length,H<d)return uv(a,s,ks,y.placeholder,t,E,G,t,t,d-H);var Q=this&&this!==ft&&this instanceof y?v:a;return Jt(Q,this,E)}return y}function av(a){return function(s,d,v){var y=Se(s);if(!St(s)){var H=ce(d,3);s=ut(s),d=function(j){return H(y[j],j,y)}}var E=a(s,d,v);return E>-1?y[H?s[E]:E]:t}}function ov(a){return rn(function(s){var d=s.length,v=d,y=ur.prototype.thru;for(a&&s.reverse();v--;){var H=s[v];if(typeof H!="function")throw new lr(l);if(y&&!E&&Hs(H)=="wrapper")var E=new ur([],!0)}for(v=E?v:d;++v<d;){H=s[v];var j=Hs(H),S=j=="wrapper"?Ac(H):t;S&&Xc(S[0])&&S[1]==(B|k|O|T)&&!S[4].length&&S[9]==1?E=E[Hs(S[0])].apply(E,S[3]):E=H.length==1&&Xc(H)?E[j]():E.thru(H)}return function(){var G=arguments,Q=G[0];if(E&&G.length==1&&ge(Q))return E.plant(Q).value();for(var q=0,ne=d?s[q].apply(this,G):Q;++q<d;)ne=s[q].call(this,ne);return ne}})}function ks(a,s,d,v,y,H,E,j,S,G){var Q=s&B,q=s&A,ne=s&z,le=s&(k|D),de=s&X,we=ne?t:Ka(a);function fe(){for(var ze=arguments.length,He=Y(ze),$t=ze;$t--;)He[$t]=arguments[$t];if(le)var At=Ui(fe),er=O8(He,At);if(v&&(He=ev(He,v,y,le)),H&&(He=tv(He,H,E,le)),ze-=er,le&&ze<G){var tt=Hn(He,At);return uv(a,s,ks,fe.placeholder,d,He,tt,j,S,G-ze)}var kr=q?d:this,sn=ne?kr[a]:a;return ze=He.length,j?He=S6(He,j):de&&ze>1&&He.reverse(),Q&&S<ze&&(He.length=S),this&&this!==ft&&this instanceof fe&&(sn=we||Ka(sn)),sn.apply(kr,He)}return fe}function sv(a,s){return function(d,v){return G7(d,a,s(v),{})}}function zs(a,s){return function(d,v){var y;if(d===t&&v===t)return s;if(d!==t&&(y=d),v!==t){if(y===t)return v;typeof d=="string"||typeof v=="string"?(d=Kt(d),v=Kt(v)):(d=Q2(d),v=Q2(v)),y=a(d,v)}return y}}function Pc(a){return rn(function(s){return s=Ge(s,Ut(ce())),ke(function(d){var v=this;return a(s,function(y){return Jt(y,v,d)})})})}function Cs(a,s){s=s===t?" ":Kt(s);var d=s.length;if(d<2)return d?vc(s,a):s;var v=vc(s,ds(a/Fi(s)));return Yi(s)?Ln(wr(v),0,a).join(""):v.slice(0,a)}function m6(a,s,d,v){var y=s&A,H=Ka(a);function E(){for(var j=-1,S=arguments.length,G=-1,Q=v.length,q=Y(Q+S),ne=this&&this!==ft&&this instanceof E?H:a;++G<Q;)q[G]=v[G];for(;S--;)q[G++]=arguments[++j];return Jt(ne,y?d:this,q)}return E}function lv(a){return function(s,d,v){return v&&typeof v!="number"&&Ct(s,d,v)&&(d=v=t),s=on(s),d===t?(d=s,s=0):d=on(d),v=v===t?s<d?1:-1:on(v),n6(s,d,v,a)}}function As(a){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=pr(s),d=pr(d)),a(s,d)}}function uv(a,s,d,v,y,H,E,j,S,G){var Q=s&k,q=Q?E:t,ne=Q?t:E,le=Q?H:t,de=Q?t:H;s|=Q?O:L,s&=~(Q?L:O),s&w||(s&=~(A|z));var we=[a,s,y,le,q,de,ne,j,S,G],fe=d.apply(t,we);return Xc(a)&&xv(fe,we),fe.placeholder=v,Pv(fe,a,s)}function kc(a){var s=ot[a];return function(d,v){if(d=pr(d),v=v==null?0:mt(me(v),292),v&&P2(d)){var y=(Ee(d)+"e").split("e"),H=s(y[0]+"e"+(+y[1]+v));return y=(Ee(H)+"e").split("e"),+(y[0]+"e"+(+y[1]-v))}return s(d)}}var y6=Gi&&1/ts(new Gi([,-0]))[1]==ee?function(a){return new Gi(a)}:Gc;function cv(a){return function(s){var d=yt(s);return d==Tt?$u(s):d==yr?I8(s):D8(s,a(s))}}function tn(a,s,d,v,y,H,E,j){var S=s&z;if(!S&&typeof a!="function")throw new lr(l);var G=v?v.length:0;if(G||(s&=~(O|L),v=y=t),E=E===t?E:st(me(E),0),j=j===t?j:me(j),G-=y?y.length:0,s&L){var Q=v,q=y;v=y=t}var ne=S?t:Ac(a),le=[a,s,d,v,y,Q,q,H,E,j];if(ne&&j6(le,ne),a=le[0],s=le[1],d=le[2],v=le[3],y=le[4],j=le[9]=le[9]===t?S?0:a.length:st(le[9]-G,0),!j&&s&(k|D)&&(s&=~(k|D)),!s||s==A)var de=g6(a,s,d);else s==k||s==D?de=b6(a,s,j):(s==O||s==(A|O))&&!y.length?de=m6(a,s,d,v):de=ks.apply(t,le);var we=ne?R2:xv;return Pv(we(de,le),a,s)}function dv(a,s,d,v){return a===t||Pr(a,Ri[d])&&!Le.call(v,d)?s:a}function fv(a,s,d,v,y,H){return Je(a)&&Je(s)&&(H.set(s,a),ys(a,s,t,fv,H),H.delete(s)),a}function w6(a){return eo(a)?t:a}function pv(a,s,d,v,y,H){var E=d&P,j=a.length,S=s.length;if(j!=S&&!(E&&S>j))return!1;var G=H.get(a),Q=H.get(s);if(G&&Q)return G==s&&Q==a;var q=-1,ne=!0,le=d&x?new ei:t;for(H.set(a,s),H.set(s,a);++q<j;){var de=a[q],we=s[q];if(v)var fe=E?v(we,de,q,s,a,H):v(de,we,q,a,s,H);if(fe!==t){if(fe)continue;ne=!1;break}if(le){if(!Vu(s,function(ze,He){if(!Za(le,He)&&(de===ze||y(de,ze,d,v,H)))return le.push(He)})){ne=!1;break}}else if(!(de===we||y(de,we,d,v,H))){ne=!1;break}}return H.delete(a),H.delete(s),ne}function x6(a,s,d,v,y,H,E){switch(d){case Mi:if(a.byteLength!=s.byteLength||a.byteOffset!=s.byteOffset)return!1;a=a.buffer,s=s.buffer;case Wa:return!(a.byteLength!=s.byteLength||!H(new ss(a),new ss(s)));case Vt:case jt:case jr:return Pr(+a,+s);case at:return a.name==s.name&&a.message==s.message;case Ia:case Sa:return a==s+"";case Tt:var j=$u;case yr:var S=v&P;if(j||(j=ts),a.size!=s.size&&!S)return!1;var G=E.get(a);if(G)return G==s;v|=x,E.set(a,s);var Q=pv(j(a),j(s),v,y,H,E);return E.delete(a),Q;case Jo:if(Ga)return Ga.call(a)==Ga.call(s)}return!1}function P6(a,s,d,v,y,H){var E=d&P,j=zc(a),S=j.length,G=zc(s),Q=G.length;if(S!=Q&&!E)return!1;for(var q=S;q--;){var ne=j[q];if(!(E?ne in s:Le.call(s,ne)))return!1}var le=H.get(a),de=H.get(s);if(le&&de)return le==s&&de==a;var we=!0;H.set(a,s),H.set(s,a);for(var fe=E;++q<S;){ne=j[q];var ze=a[ne],He=s[ne];if(v)var $t=E?v(He,ze,ne,s,a,H):v(ze,He,ne,a,s,H);if(!($t===t?ze===He||y(ze,He,d,v,H):$t)){we=!1;break}fe||(fe=ne=="constructor")}if(we&&!fe){var At=a.constructor,er=s.constructor;At!=er&&"constructor"in a&&"constructor"in s&&!(typeof At=="function"&&At instanceof At&&typeof er=="function"&&er instanceof er)&&(we=!1)}return H.delete(a),H.delete(s),we}function rn(a){return Lc(yv(a,t,Dv),a+"")}function zc(a){return B2(a,ut,Dc)}function Cc(a){return B2(a,Mt,hv)}var Ac=ps?function(a){return ps.get(a)}:Gc;function Hs(a){for(var s=a.name+"",d=Qi[s],v=Le.call(Qi,s)?d.length:0;v--;){var y=d[v],H=y.func;if(H==null||H==a)return y.name}return s}function Ui(a){var s=Le.call(C,"placeholder")?C:a;return s.placeholder}function ce(){var a=C.iteratee||Nc;return a=a===Nc?I2:a,arguments.length?a(arguments[0],arguments[1]):a}function Ds(a,s){var d=a.__data__;return X6(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Hc(a){for(var s=ut(a),d=s.length;d--;){var v=s[d],y=a[v];s[d]=[v,y,bv(y)]}return s}function ni(a,s){var d=B8(a,s);return T2(d)?d:t}function k6(a){var s=Le.call(a,_n),d=a[_n];try{a[_n]=t;var v=!0}catch{}var y=as.call(a);return v&&(s?a[_n]=d:delete a[_n]),y}var Dc=tc?function(a){return a==null?[]:(a=Se(a),Cn(tc(a),function(s){return w2.call(a,s)}))}:Qc,hv=tc?function(a){for(var s=[];a;)An(s,Dc(a)),a=ls(a);return s}:Qc,yt=zt;(rc&&yt(new rc(new ArrayBuffer(1)))!=Mi||Fa&&yt(new Fa)!=Tt||nc&&yt(nc.resolve())!=Xh||Gi&&yt(new Gi)!=yr||Na&&yt(new Na)!=Ma)&&(yt=function(a){var s=zt(a),d=s==Kr?a.constructor:t,v=d?ii(d):"";if(v)switch(v){case a7:return Mi;case o7:return Tt;case s7:return Xh;case l7:return yr;case u7:return Ma}return s});function z6(a,s,d){for(var v=-1,y=d.length;++v<y;){var H=d[v],E=H.size;switch(H.type){case"drop":a+=E;break;case"dropRight":s-=E;break;case"take":s=mt(s,a+E);break;case"takeRight":a=st(a,s-E);break}}return{start:a,end:s}}function C6(a){var s=a.match(E5);return s?s[1].split(L5):[]}function vv(a,s,d){s=En(s,a);for(var v=-1,y=s.length,H=!1;++v<y;){var E=Sr(s[v]);if(!(H=a!=null&&d(a,E)))break;a=a[E]}return H||++v!=y?H:(y=a==null?0:a.length,!!y&&Ts(y)&&nn(E,y)&&(ge(a)||ai(a)))}function A6(a){var s=a.length,d=new a.constructor(s);return s&&typeof a[0]=="string"&&Le.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function gv(a){return typeof a.constructor=="function"&&!_a(a)?Vi(ls(a)):{}}function H6(a,s,d){var v=a.constructor;switch(s){case Wa:return xc(a);case Vt:case jt:return new v(+a);case Mi:return c6(a,d);case Hu:case Du:case Ou:case Xu:case Eu:case Lu:case Bu:case ju:case Tu:return _2(a,d);case Tt:return new v;case jr:case Sa:return new v(a);case Ia:return d6(a);case yr:return new v;case Jo:return f6(a)}}function D6(a,s){var d=s.length;if(!d)return a;var v=d-1;return s[v]=(d>1?"& ":"")+s[v],s=s.join(d>2?", ":" "),a.replace(X5,`{
|
|
53
|
+
*/Fo.exports,function(n,e){(function(){var t,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,p="__lodash_placeholder__",h=1,b=2,m=4,P=1,x=2,A=1,z=2,w=4,k=8,D=16,O=32,L=64,B=128,T=256,X=512,W=30,M="...",N=800,V=16,J=1,re=2,K=3,ee=1/0,F=9007199254740991,Z=17976931348623157e292,$=0/0,oe=4294967295,ue=oe-1,pe=oe>>>1,Re=[["ary",B],["bind",A],["bindKey",z],["curry",k],["curryRight",D],["flip",X],["partial",O],["partialRight",L],["rearg",T]],Ie="[object Arguments]",Bt="[object Array]",$e="[object AsyncFunction]",Vt="[object Boolean]",jt="[object Date]",qt="[object DOMException]",at="[object Error]",Ur="[object Function]",Ta="[object GeneratorFunction]",Tt="[object Map]",jr="[object Number]",Si="[object Null]",Kr="[object Object]",Xh="[object Promise]",v5="[object Proxy]",Ia="[object RegExp]",yr="[object Set]",Sa="[object String]",Jo="[object Symbol]",g5="[object Undefined]",Ma="[object WeakMap]",b5="[object WeakSet]",Wa="[object ArrayBuffer]",Mi="[object DataView]",Hu="[object Float32Array]",Du="[object Float64Array]",Ou="[object Int8Array]",Xu="[object Int16Array]",Eu="[object Int32Array]",Lu="[object Uint8Array]",Bu="[object Uint8ClampedArray]",ju="[object Uint16Array]",Tu="[object Uint32Array]",m5=/\b__p \+= '';/g,y5=/\b(__p \+=) '' \+/g,w5=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Eh=/&(?:amp|lt|gt|quot|#39);/g,Lh=/[&<>"']/g,x5=RegExp(Eh.source),P5=RegExp(Lh.source),k5=/<%-([\s\S]+?)%>/g,z5=/<%([\s\S]+?)%>/g,Bh=/<%=([\s\S]+?)%>/g,C5=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,A5=/^\w*$/,H5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Iu=/[\\^$.*+?()[\]{}|]/g,D5=RegExp(Iu.source),Su=/^\s+/,O5=/\s/,X5=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E5=/\{\n\/\* \[wrapped with (.+)\] \*/,L5=/,? & /,B5=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,j5=/[()=,{}\[\]\/\s]/,T5=/\\(\\)?/g,I5=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,jh=/\w*$/,S5=/^[-+]0x[0-9a-f]+$/i,M5=/^0b[01]+$/i,W5=/^\[object .+?Constructor\]$/,Z5=/^0o[0-7]+$/i,Y5=/^(?:0|[1-9]\d*)$/,F5=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Uo=/($^)/,N5=/['\n\r\u2028\u2029\\]/g,Ko="\\ud800-\\udfff",R5="\\u0300-\\u036f",G5="\\ufe20-\\ufe2f",Q5="\\u20d0-\\u20ff",Th=R5+G5+Q5,Ih="\\u2700-\\u27bf",Sh="a-z\\xdf-\\xf6\\xf8-\\xff",V5="\\xac\\xb1\\xd7\\xf7",q5="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",J5="\\u2000-\\u206f",U5=" \\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",Mh="A-Z\\xc0-\\xd6\\xd8-\\xde",Wh="\\ufe0e\\ufe0f",Zh=V5+q5+J5+U5,Mu="['’]",K5="["+Ko+"]",Yh="["+Zh+"]",_o="["+Th+"]",Fh="\\d+",_5="["+Ih+"]",Nh="["+Sh+"]",Rh="[^"+Ko+Zh+Fh+Ih+Sh+Mh+"]",Wu="\\ud83c[\\udffb-\\udfff]",$5="(?:"+_o+"|"+Wu+")",Gh="[^"+Ko+"]",Zu="(?:\\ud83c[\\udde6-\\uddff]){2}",Yu="[\\ud800-\\udbff][\\udc00-\\udfff]",Wi="["+Mh+"]",Qh="\\u200d",Vh="(?:"+Nh+"|"+Rh+")",e8="(?:"+Wi+"|"+Rh+")",qh="(?:"+Mu+"(?:d|ll|m|re|s|t|ve))?",Jh="(?:"+Mu+"(?:D|LL|M|RE|S|T|VE))?",Uh=$5+"?",Kh="["+Wh+"]?",t8="(?:"+Qh+"(?:"+[Gh,Zu,Yu].join("|")+")"+Kh+Uh+")*",r8="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",n8="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_h=Kh+Uh+t8,i8="(?:"+[_5,Zu,Yu].join("|")+")"+_h,a8="(?:"+[Gh+_o+"?",_o,Zu,Yu,K5].join("|")+")",o8=RegExp(Mu,"g"),s8=RegExp(_o,"g"),Fu=RegExp(Wu+"(?="+Wu+")|"+a8+_h,"g"),l8=RegExp([Wi+"?"+Nh+"+"+qh+"(?="+[Yh,Wi,"$"].join("|")+")",e8+"+"+Jh+"(?="+[Yh,Wi+Vh,"$"].join("|")+")",Wi+"?"+Vh+"+"+qh,Wi+"+"+Jh,n8,r8,Fh,i8].join("|"),"g"),u8=RegExp("["+Qh+Ko+Th+Wh+"]"),c8=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,d8=["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"],f8=-1,Ye={};Ye[Hu]=Ye[Du]=Ye[Ou]=Ye[Xu]=Ye[Eu]=Ye[Lu]=Ye[Bu]=Ye[ju]=Ye[Tu]=!0,Ye[Ie]=Ye[Bt]=Ye[Wa]=Ye[Vt]=Ye[Mi]=Ye[jt]=Ye[at]=Ye[Ur]=Ye[Tt]=Ye[jr]=Ye[Kr]=Ye[Ia]=Ye[yr]=Ye[Sa]=Ye[Ma]=!1;var Me={};Me[Ie]=Me[Bt]=Me[Wa]=Me[Mi]=Me[Vt]=Me[jt]=Me[Hu]=Me[Du]=Me[Ou]=Me[Xu]=Me[Eu]=Me[Tt]=Me[jr]=Me[Kr]=Me[Ia]=Me[yr]=Me[Sa]=Me[Jo]=Me[Lu]=Me[Bu]=Me[ju]=Me[Tu]=!0,Me[at]=Me[Ur]=Me[Ma]=!1;var p8={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},h8={"&":"&","<":"<",">":">",'"':""","'":"'"},v8={"&":"&","<":"<",">":">",""":'"',"'":"'"},g8={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},b8=parseFloat,m8=parseInt,$h=typeof dn=="object"&&dn&&dn.Object===Object&&dn,y8=typeof self=="object"&&self&&self.Object===Object&&self,ft=$h||y8||Function("return this")(),Nu=e&&!e.nodeType&&e,Kn=Nu&&!0&&n&&!n.nodeType&&n,e2=Kn&&Kn.exports===Nu,Ru=e2&&$h.process,sr=function(){try{var I=Kn&&Kn.require&&Kn.require("util").types;return I||Ru&&Ru.binding&&Ru.binding("util")}catch{}}(),t2=sr&&sr.isArrayBuffer,r2=sr&&sr.isDate,n2=sr&&sr.isMap,i2=sr&&sr.isRegExp,a2=sr&&sr.isSet,o2=sr&&sr.isTypedArray;function Jt(I,R,Y){switch(Y.length){case 0:return I.call(R);case 1:return I.call(R,Y[0]);case 2:return I.call(R,Y[0],Y[1]);case 3:return I.call(R,Y[0],Y[1],Y[2])}return I.apply(R,Y)}function w8(I,R,Y,ae){for(var he=-1,Xe=I==null?0:I.length;++he<Xe;){var ot=I[he];R(ae,ot,Y(ot),I)}return ae}function lr(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae&&R(I[Y],Y,I)!==!1;);return I}function x8(I,R){for(var Y=I==null?0:I.length;Y--&&R(I[Y],Y,I)!==!1;);return I}function s2(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae;)if(!R(I[Y],Y,I))return!1;return!0}function Cn(I,R){for(var Y=-1,ae=I==null?0:I.length,he=0,Xe=[];++Y<ae;){var ot=I[Y];R(ot,Y,I)&&(Xe[he++]=ot)}return Xe}function $o(I,R){var Y=I==null?0:I.length;return!!Y&&Zi(I,R,0)>-1}function Gu(I,R,Y){for(var ae=-1,he=I==null?0:I.length;++ae<he;)if(Y(R,I[ae]))return!0;return!1}function Ge(I,R){for(var Y=-1,ae=I==null?0:I.length,he=Array(ae);++Y<ae;)he[Y]=R(I[Y],Y,I);return he}function An(I,R){for(var Y=-1,ae=R.length,he=I.length;++Y<ae;)I[he+Y]=R[Y];return I}function Qu(I,R,Y,ae){var he=-1,Xe=I==null?0:I.length;for(ae&&Xe&&(Y=I[++he]);++he<Xe;)Y=R(Y,I[he],he,I);return Y}function P8(I,R,Y,ae){var he=I==null?0:I.length;for(ae&&he&&(Y=I[--he]);he--;)Y=R(Y,I[he],he,I);return Y}function Vu(I,R){for(var Y=-1,ae=I==null?0:I.length;++Y<ae;)if(R(I[Y],Y,I))return!0;return!1}var k8=qu("length");function z8(I){return I.split("")}function C8(I){return I.match(B5)||[]}function l2(I,R,Y){var ae;return Y(I,function(he,Xe,ot){if(R(he,Xe,ot))return ae=Xe,!1}),ae}function es(I,R,Y,ae){for(var he=I.length,Xe=Y+(ae?1:-1);ae?Xe--:++Xe<he;)if(R(I[Xe],Xe,I))return Xe;return-1}function Zi(I,R,Y){return R===R?S8(I,R,Y):es(I,u2,Y)}function A8(I,R,Y,ae){for(var he=Y-1,Xe=I.length;++he<Xe;)if(ae(I[he],R))return he;return-1}function u2(I){return I!==I}function c2(I,R){var Y=I==null?0:I.length;return Y?Uu(I,R)/Y:$}function qu(I){return function(R){return R==null?t:R[I]}}function Ju(I){return function(R){return I==null?t:I[R]}}function d2(I,R,Y,ae,he){return he(I,function(Xe,ot,Se){Y=ae?(ae=!1,Xe):R(Y,Xe,ot,Se)}),Y}function H8(I,R){var Y=I.length;for(I.sort(R);Y--;)I[Y]=I[Y].value;return I}function Uu(I,R){for(var Y,ae=-1,he=I.length;++ae<he;){var Xe=R(I[ae]);Xe!==t&&(Y=Y===t?Xe:Y+Xe)}return Y}function Ku(I,R){for(var Y=-1,ae=Array(I);++Y<I;)ae[Y]=R(Y);return ae}function D8(I,R){return Ge(R,function(Y){return[Y,I[Y]]})}function f2(I){return I&&I.slice(0,g2(I)+1).replace(Su,"")}function Ut(I){return function(R){return I(R)}}function _u(I,R){return Ge(R,function(Y){return I[Y]})}function Za(I,R){return I.has(R)}function p2(I,R){for(var Y=-1,ae=I.length;++Y<ae&&Zi(R,I[Y],0)>-1;);return Y}function h2(I,R){for(var Y=I.length;Y--&&Zi(R,I[Y],0)>-1;);return Y}function O8(I,R){for(var Y=I.length,ae=0;Y--;)I[Y]===R&&++ae;return ae}var X8=Ju(p8),E8=Ju(h8);function L8(I){return"\\"+g8[I]}function B8(I,R){return I==null?t:I[R]}function Yi(I){return u8.test(I)}function j8(I){return c8.test(I)}function T8(I){for(var R,Y=[];!(R=I.next()).done;)Y.push(R.value);return Y}function $u(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae,he){Y[++R]=[he,ae]}),Y}function v2(I,R){return function(Y){return I(R(Y))}}function Hn(I,R){for(var Y=-1,ae=I.length,he=0,Xe=[];++Y<ae;){var ot=I[Y];(ot===R||ot===p)&&(I[Y]=p,Xe[he++]=Y)}return Xe}function ts(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae){Y[++R]=ae}),Y}function I8(I){var R=-1,Y=Array(I.size);return I.forEach(function(ae){Y[++R]=[ae,ae]}),Y}function S8(I,R,Y){for(var ae=Y-1,he=I.length;++ae<he;)if(I[ae]===R)return ae;return-1}function M8(I,R,Y){for(var ae=Y+1;ae--;)if(I[ae]===R)return ae;return ae}function Fi(I){return Yi(I)?Z8(I):k8(I)}function wr(I){return Yi(I)?Y8(I):z8(I)}function g2(I){for(var R=I.length;R--&&O5.test(I.charAt(R)););return R}var W8=Ju(v8);function Z8(I){for(var R=Fu.lastIndex=0;Fu.test(I);)++R;return R}function Y8(I){return I.match(Fu)||[]}function F8(I){return I.match(l8)||[]}var N8=function I(R){R=R==null?ft:Ni.defaults(ft.Object(),R,Ni.pick(ft,d8));var Y=R.Array,ae=R.Date,he=R.Error,Xe=R.Function,ot=R.Math,Se=R.Object,ec=R.RegExp,R8=R.String,ur=R.TypeError,rs=Y.prototype,G8=Xe.prototype,Ri=Se.prototype,ns=R["__core-js_shared__"],is=G8.toString,Le=Ri.hasOwnProperty,Q8=0,b2=function(){var a=/[^.]+$/.exec(ns&&ns.keys&&ns.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),as=Ri.toString,V8=is.call(Se),q8=ft._,J8=ec("^"+is.call(Le).replace(Iu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),os=e2?R.Buffer:t,Dn=R.Symbol,ss=R.Uint8Array,m2=os?os.allocUnsafe:t,ls=v2(Se.getPrototypeOf,Se),y2=Se.create,w2=Ri.propertyIsEnumerable,us=rs.splice,x2=Dn?Dn.isConcatSpreadable:t,Ya=Dn?Dn.iterator:t,_n=Dn?Dn.toStringTag:t,cs=function(){try{var a=ni(Se,"defineProperty");return a({},"",{}),a}catch{}}(),U8=R.clearTimeout!==ft.clearTimeout&&R.clearTimeout,K8=ae&&ae.now!==ft.Date.now&&ae.now,_8=R.setTimeout!==ft.setTimeout&&R.setTimeout,ds=ot.ceil,fs=ot.floor,tc=Se.getOwnPropertySymbols,$8=os?os.isBuffer:t,P2=R.isFinite,e7=rs.join,t7=v2(Se.keys,Se),st=ot.max,mt=ot.min,r7=ae.now,n7=R.parseInt,k2=ot.random,i7=rs.reverse,rc=ni(R,"DataView"),Fa=ni(R,"Map"),nc=ni(R,"Promise"),Gi=ni(R,"Set"),Na=ni(R,"WeakMap"),Ra=ni(Se,"create"),ps=Na&&new Na,Qi={},a7=ii(rc),o7=ii(Fa),s7=ii(nc),l7=ii(Gi),u7=ii(Na),hs=Dn?Dn.prototype:t,Ga=hs?hs.valueOf:t,z2=hs?hs.toString:t;function C(a){if(Ke(a)&&!ge(a)&&!(a instanceof Ce)){if(a instanceof cr)return a;if(Le.call(a,"__wrapped__"))return Cv(a)}return new cr(a)}var Vi=function(){function a(){}return function(s){if(!Je(s))return{};if(y2)return y2(s);a.prototype=s;var d=new a;return a.prototype=t,d}}();function vs(){}function cr(a,s){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=t}C.templateSettings={escape:k5,evaluate:z5,interpolate:Bh,variable:"",imports:{_:C}},C.prototype=vs.prototype,C.prototype.constructor=C,cr.prototype=Vi(vs.prototype),cr.prototype.constructor=cr;function Ce(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=oe,this.__views__=[]}function c7(){var a=new Ce(this.__wrapped__);return a.__actions__=It(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=It(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=It(this.__views__),a}function d7(){if(this.__filtered__){var a=new Ce(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function f7(){var a=this.__wrapped__.value(),s=this.__dir__,d=ge(a),v=s<0,y=d?a.length:0,H=z6(0,y,this.__views__),E=H.start,j=H.end,S=j-E,G=v?j:E-1,Q=this.__iteratees__,q=Q.length,ne=0,le=mt(S,this.__takeCount__);if(!d||!v&&y==S&&le==S)return q2(a,this.__actions__);var de=[];e:for(;S--&&ne<le;){G+=s;for(var we=-1,fe=a[G];++we<q;){var ze=Q[we],He=ze.iteratee,$t=ze.type,At=He(fe);if($t==re)fe=At;else if(!At){if($t==J)continue e;break e}}de[ne++]=fe}return de}Ce.prototype=Vi(vs.prototype),Ce.prototype.constructor=Ce;function $n(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function p7(){this.__data__=Ra?Ra(null):{},this.size=0}function h7(a){var s=this.has(a)&&delete this.__data__[a];return this.size-=s?1:0,s}function v7(a){var s=this.__data__;if(Ra){var d=s[a];return d===c?t:d}return Le.call(s,a)?s[a]:t}function g7(a){var s=this.__data__;return Ra?s[a]!==t:Le.call(s,a)}function b7(a,s){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Ra&&s===t?c:s,this}$n.prototype.clear=p7,$n.prototype.delete=h7,$n.prototype.get=v7,$n.prototype.has=g7,$n.prototype.set=b7;function _r(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function m7(){this.__data__=[],this.size=0}function y7(a){var s=this.__data__,d=gs(s,a);if(d<0)return!1;var v=s.length-1;return d==v?s.pop():us.call(s,d,1),--this.size,!0}function w7(a){var s=this.__data__,d=gs(s,a);return d<0?t:s[d][1]}function x7(a){return gs(this.__data__,a)>-1}function P7(a,s){var d=this.__data__,v=gs(d,a);return v<0?(++this.size,d.push([a,s])):d[v][1]=s,this}_r.prototype.clear=m7,_r.prototype.delete=y7,_r.prototype.get=w7,_r.prototype.has=x7,_r.prototype.set=P7;function $r(a){var s=-1,d=a==null?0:a.length;for(this.clear();++s<d;){var v=a[s];this.set(v[0],v[1])}}function k7(){this.size=0,this.__data__={hash:new $n,map:new(Fa||_r),string:new $n}}function z7(a){var s=Ds(this,a).delete(a);return this.size-=s?1:0,s}function C7(a){return Ds(this,a).get(a)}function A7(a){return Ds(this,a).has(a)}function H7(a,s){var d=Ds(this,a),v=d.size;return d.set(a,s),this.size+=d.size==v?0:1,this}$r.prototype.clear=k7,$r.prototype.delete=z7,$r.prototype.get=C7,$r.prototype.has=A7,$r.prototype.set=H7;function ei(a){var s=-1,d=a==null?0:a.length;for(this.__data__=new $r;++s<d;)this.add(a[s])}function D7(a){return this.__data__.set(a,c),this}function O7(a){return this.__data__.has(a)}ei.prototype.add=ei.prototype.push=D7,ei.prototype.has=O7;function xr(a){var s=this.__data__=new _r(a);this.size=s.size}function X7(){this.__data__=new _r,this.size=0}function E7(a){var s=this.__data__,d=s.delete(a);return this.size=s.size,d}function L7(a){return this.__data__.get(a)}function B7(a){return this.__data__.has(a)}function j7(a,s){var d=this.__data__;if(d instanceof _r){var v=d.__data__;if(!Fa||v.length<i-1)return v.push([a,s]),this.size=++d.size,this;d=this.__data__=new $r(v)}return d.set(a,s),this.size=d.size,this}xr.prototype.clear=X7,xr.prototype.delete=E7,xr.prototype.get=L7,xr.prototype.has=B7,xr.prototype.set=j7;function C2(a,s){var d=ge(a),v=!d&&ai(a),y=!d&&!v&&Bn(a),H=!d&&!v&&!y&&Ki(a),E=d||v||y||H,j=E?Ku(a.length,R8):[],S=j.length;for(var G in a)(s||Le.call(a,G))&&!(E&&(G=="length"||y&&(G=="offset"||G=="parent")||H&&(G=="buffer"||G=="byteLength"||G=="byteOffset")||nn(G,S)))&&j.push(G);return j}function A2(a){var s=a.length;return s?a[hc(0,s-1)]:t}function T7(a,s){return Os(It(a),ti(s,0,a.length))}function I7(a){return Os(It(a))}function ic(a,s,d){(d!==t&&!Pr(a[s],d)||d===t&&!(s in a))&&en(a,s,d)}function Qa(a,s,d){var v=a[s];(!(Le.call(a,s)&&Pr(v,d))||d===t&&!(s in a))&&en(a,s,d)}function gs(a,s){for(var d=a.length;d--;)if(Pr(a[d][0],s))return d;return-1}function S7(a,s,d,v){return On(a,function(y,H,E){s(v,y,d(y),E)}),v}function H2(a,s){return a&&Ir(s,ut(s),a)}function M7(a,s){return a&&Ir(s,Mt(s),a)}function en(a,s,d){s=="__proto__"&&cs?cs(a,s,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[s]=d}function ac(a,s){for(var d=-1,v=s.length,y=Y(v),H=a==null;++d<v;)y[d]=H?t:Wc(a,s[d]);return y}function ti(a,s,d){return a===a&&(d!==t&&(a=a<=d?a:d),s!==t&&(a=a>=s?a:s)),a}function dr(a,s,d,v,y,H){var E,j=s&h,S=s&b,G=s&m;if(d&&(E=y?d(a,v,y,H):d(a)),E!==t)return E;if(!Je(a))return a;var Q=ge(a);if(Q){if(E=A6(a),!j)return It(a,E)}else{var q=yt(a),ne=q==Ur||q==Ta;if(Bn(a))return K2(a,j);if(q==Kr||q==Ie||ne&&!y){if(E=S||ne?{}:gv(a),!j)return S?v6(a,M7(E,a)):h6(a,H2(E,a))}else{if(!Me[q])return y?a:{};E=H6(a,q,j)}}H||(H=new xr);var le=H.get(a);if(le)return le;H.set(a,E),Gv(a)?a.forEach(function(fe){E.add(dr(fe,s,d,fe,a,H))}):Nv(a)&&a.forEach(function(fe,ze){E.set(ze,dr(fe,s,d,ze,a,H))});var de=G?S?Cc:zc:S?Mt:ut,we=Q?t:de(a);return lr(we||a,function(fe,ze){we&&(ze=fe,fe=a[ze]),Qa(E,ze,dr(fe,s,d,ze,a,H))}),E}function W7(a){var s=ut(a);return function(d){return D2(d,a,s)}}function D2(a,s,d){var v=d.length;if(a==null)return!v;for(a=Se(a);v--;){var y=d[v],H=s[y],E=a[y];if(E===t&&!(y in a)||!H(E))return!1}return!0}function O2(a,s,d){if(typeof a!="function")throw new ur(l);return $a(function(){a.apply(t,d)},s)}function Va(a,s,d,v){var y=-1,H=$o,E=!0,j=a.length,S=[],G=s.length;if(!j)return S;d&&(s=Ge(s,Ut(d))),v?(H=Gu,E=!1):s.length>=i&&(H=Za,E=!1,s=new ei(s));e:for(;++y<j;){var Q=a[y],q=d==null?Q:d(Q);if(Q=v||Q!==0?Q:0,E&&q===q){for(var ne=G;ne--;)if(s[ne]===q)continue e;S.push(Q)}else H(s,q,v)||S.push(Q)}return S}var On=rv(Tr),X2=rv(sc,!0);function Z7(a,s){var d=!0;return On(a,function(v,y,H){return d=!!s(v,y,H),d}),d}function bs(a,s,d){for(var v=-1,y=a.length;++v<y;){var H=a[v],E=s(H);if(E!=null&&(j===t?E===E&&!_t(E):d(E,j)))var j=E,S=H}return S}function Y7(a,s,d,v){var y=a.length;for(d=me(d),d<0&&(d=-d>y?0:y+d),v=v===t||v>y?y:me(v),v<0&&(v+=y),v=d>v?0:Vv(v);d<v;)a[d++]=s;return a}function E2(a,s){var d=[];return On(a,function(v,y,H){s(v,y,H)&&d.push(v)}),d}function pt(a,s,d,v,y){var H=-1,E=a.length;for(d||(d=O6),y||(y=[]);++H<E;){var j=a[H];s>0&&d(j)?s>1?pt(j,s-1,d,v,y):An(y,j):v||(y[y.length]=j)}return y}var oc=nv(),L2=nv(!0);function Tr(a,s){return a&&oc(a,s,ut)}function sc(a,s){return a&&L2(a,s,ut)}function ms(a,s){return Cn(s,function(d){return an(a[d])})}function ri(a,s){s=En(s,a);for(var d=0,v=s.length;a!=null&&d<v;)a=a[Sr(s[d++])];return d&&d==v?a:t}function B2(a,s,d){var v=s(a);return ge(a)?v:An(v,d(a))}function zt(a){return a==null?a===t?g5:Si:_n&&_n in Se(a)?k6(a):I6(a)}function lc(a,s){return a>s}function F7(a,s){return a!=null&&Le.call(a,s)}function N7(a,s){return a!=null&&s in Se(a)}function R7(a,s,d){return a>=mt(s,d)&&a<st(s,d)}function uc(a,s,d){for(var v=d?Gu:$o,y=a[0].length,H=a.length,E=H,j=Y(H),S=1/0,G=[];E--;){var Q=a[E];E&&s&&(Q=Ge(Q,Ut(s))),S=mt(Q.length,S),j[E]=!d&&(s||y>=120&&Q.length>=120)?new ei(E&&Q):t}Q=a[0];var q=-1,ne=j[0];e:for(;++q<y&&G.length<S;){var le=Q[q],de=s?s(le):le;if(le=d||le!==0?le:0,!(ne?Za(ne,de):v(G,de,d))){for(E=H;--E;){var we=j[E];if(!(we?Za(we,de):v(a[E],de,d)))continue e}ne&&ne.push(de),G.push(le)}}return G}function G7(a,s,d,v){return Tr(a,function(y,H,E){s(v,d(y),H,E)}),v}function qa(a,s,d){s=En(s,a),a=wv(a,s);var v=a==null?a:a[Sr(pr(s))];return v==null?t:Jt(v,a,d)}function j2(a){return Ke(a)&&zt(a)==Ie}function Q7(a){return Ke(a)&&zt(a)==Wa}function V7(a){return Ke(a)&&zt(a)==jt}function Ja(a,s,d,v,y){return a===s?!0:a==null||s==null||!Ke(a)&&!Ke(s)?a!==a&&s!==s:q7(a,s,d,v,Ja,y)}function q7(a,s,d,v,y,H){var E=ge(a),j=ge(s),S=E?Bt:yt(a),G=j?Bt:yt(s);S=S==Ie?Kr:S,G=G==Ie?Kr:G;var Q=S==Kr,q=G==Kr,ne=S==G;if(ne&&Bn(a)){if(!Bn(s))return!1;E=!0,Q=!1}if(ne&&!Q)return H||(H=new xr),E||Ki(a)?pv(a,s,d,v,y,H):x6(a,s,S,d,v,y,H);if(!(d&P)){var le=Q&&Le.call(a,"__wrapped__"),de=q&&Le.call(s,"__wrapped__");if(le||de){var we=le?a.value():a,fe=de?s.value():s;return H||(H=new xr),y(we,fe,d,v,H)}}return ne?(H||(H=new xr),P6(a,s,d,v,y,H)):!1}function J7(a){return Ke(a)&&yt(a)==Tt}function cc(a,s,d,v){var y=d.length,H=y,E=!v;if(a==null)return!H;for(a=Se(a);y--;){var j=d[y];if(E&&j[2]?j[1]!==a[j[0]]:!(j[0]in a))return!1}for(;++y<H;){j=d[y];var S=j[0],G=a[S],Q=j[1];if(E&&j[2]){if(G===t&&!(S in a))return!1}else{var q=new xr;if(v)var ne=v(G,Q,S,a,s,q);if(!(ne===t?Ja(Q,G,P|x,v,q):ne))return!1}}return!0}function T2(a){if(!Je(a)||E6(a))return!1;var s=an(a)?J8:W5;return s.test(ii(a))}function U7(a){return Ke(a)&&zt(a)==Ia}function K7(a){return Ke(a)&&yt(a)==yr}function _7(a){return Ke(a)&&Ts(a.length)&&!!Ye[zt(a)]}function I2(a){return typeof a=="function"?a:a==null?Wt:typeof a=="object"?ge(a)?W2(a[0],a[1]):M2(a):i1(a)}function dc(a){if(!_a(a))return t7(a);var s=[];for(var d in Se(a))Le.call(a,d)&&d!="constructor"&&s.push(d);return s}function $7(a){if(!Je(a))return T6(a);var s=_a(a),d=[];for(var v in a)v=="constructor"&&(s||!Le.call(a,v))||d.push(v);return d}function fc(a,s){return a<s}function S2(a,s){var d=-1,v=St(a)?Y(a.length):[];return On(a,function(y,H,E){v[++d]=s(y,H,E)}),v}function M2(a){var s=Hc(a);return s.length==1&&s[0][2]?mv(s[0][0],s[0][1]):function(d){return d===a||cc(d,a,s)}}function W2(a,s){return Oc(a)&&bv(s)?mv(Sr(a),s):function(d){var v=Wc(d,a);return v===t&&v===s?Zc(d,a):Ja(s,v,P|x)}}function ys(a,s,d,v,y){a!==s&&oc(s,function(H,E){if(y||(y=new xr),Je(H))e6(a,s,E,d,ys,v,y);else{var j=v?v(Ec(a,E),H,E+"",a,s,y):t;j===t&&(j=H),ic(a,E,j)}},Mt)}function e6(a,s,d,v,y,H,E){var j=Ec(a,d),S=Ec(s,d),G=E.get(S);if(G){ic(a,d,G);return}var Q=H?H(j,S,d+"",a,s,E):t,q=Q===t;if(q){var ne=ge(S),le=!ne&&Bn(S),de=!ne&&!le&&Ki(S);Q=S,ne||le||de?ge(j)?Q=j:et(j)?Q=It(j):le?(q=!1,Q=K2(S,!0)):de?(q=!1,Q=_2(S,!0)):Q=[]:eo(S)||ai(S)?(Q=j,ai(j)?Q=qv(j):(!Je(j)||an(j))&&(Q=gv(S))):q=!1}q&&(E.set(S,Q),y(Q,S,v,H,E),E.delete(S)),ic(a,d,Q)}function Z2(a,s){var d=a.length;if(d)return s+=s<0?d:0,nn(s,d)?a[s]:t}function Y2(a,s,d){s.length?s=Ge(s,function(H){return ge(H)?function(E){return ri(E,H.length===1?H[0]:H)}:H}):s=[Wt];var v=-1;s=Ge(s,Ut(ce()));var y=S2(a,function(H,E,j){var S=Ge(s,function(G){return G(H)});return{criteria:S,index:++v,value:H}});return H8(y,function(H,E){return p6(H,E,d)})}function t6(a,s){return F2(a,s,function(d,v){return Zc(a,v)})}function F2(a,s,d){for(var v=-1,y=s.length,H={};++v<y;){var E=s[v],j=ri(a,E);d(j,E)&&Ua(H,En(E,a),j)}return H}function r6(a){return function(s){return ri(s,a)}}function pc(a,s,d,v){var y=v?A8:Zi,H=-1,E=s.length,j=a;for(a===s&&(s=It(s)),d&&(j=Ge(a,Ut(d)));++H<E;)for(var S=0,G=s[H],Q=d?d(G):G;(S=y(j,Q,S,v))>-1;)j!==a&&us.call(j,S,1),us.call(a,S,1);return a}function N2(a,s){for(var d=a?s.length:0,v=d-1;d--;){var y=s[d];if(d==v||y!==H){var H=y;nn(y)?us.call(a,y,1):bc(a,y)}}return a}function hc(a,s){return a+fs(k2()*(s-a+1))}function n6(a,s,d,v){for(var y=-1,H=st(ds((s-a)/(d||1)),0),E=Y(H);H--;)E[v?H:++y]=a,a+=d;return E}function vc(a,s){var d="";if(!a||s<1||s>F)return d;do s%2&&(d+=a),s=fs(s/2),s&&(a+=a);while(s);return d}function ke(a,s){return Lc(yv(a,s,Wt),a+"")}function i6(a){return A2(_i(a))}function a6(a,s){var d=_i(a);return Os(d,ti(s,0,d.length))}function Ua(a,s,d,v){if(!Je(a))return a;s=En(s,a);for(var y=-1,H=s.length,E=H-1,j=a;j!=null&&++y<H;){var S=Sr(s[y]),G=d;if(S==="__proto__"||S==="constructor"||S==="prototype")return a;if(y!=E){var Q=j[S];G=v?v(Q,S,j):t,G===t&&(G=Je(Q)?Q:nn(s[y+1])?[]:{})}Qa(j,S,G),j=j[S]}return a}var R2=ps?function(a,s){return ps.set(a,s),a}:Wt,o6=cs?function(a,s){return cs(a,"toString",{configurable:!0,enumerable:!1,value:Fc(s),writable:!0})}:Wt;function s6(a){return Os(_i(a))}function fr(a,s,d){var v=-1,y=a.length;s<0&&(s=-s>y?0:y+s),d=d>y?y:d,d<0&&(d+=y),y=s>d?0:d-s>>>0,s>>>=0;for(var H=Y(y);++v<y;)H[v]=a[v+s];return H}function l6(a,s){var d;return On(a,function(v,y,H){return d=s(v,y,H),!d}),!!d}function ws(a,s,d){var v=0,y=a==null?v:a.length;if(typeof s=="number"&&s===s&&y<=pe){for(;v<y;){var H=v+y>>>1,E=a[H];E!==null&&!_t(E)&&(d?E<=s:E<s)?v=H+1:y=H}return y}return gc(a,s,Wt,d)}function gc(a,s,d,v){var y=0,H=a==null?0:a.length;if(H===0)return 0;s=d(s);for(var E=s!==s,j=s===null,S=_t(s),G=s===t;y<H;){var Q=fs((y+H)/2),q=d(a[Q]),ne=q!==t,le=q===null,de=q===q,we=_t(q);if(E)var fe=v||de;else G?fe=de&&(v||ne):j?fe=de&&ne&&(v||!le):S?fe=de&&ne&&!le&&(v||!we):le||we?fe=!1:fe=v?q<=s:q<s;fe?y=Q+1:H=Q}return mt(H,ue)}function G2(a,s){for(var d=-1,v=a.length,y=0,H=[];++d<v;){var E=a[d],j=s?s(E):E;if(!d||!Pr(j,S)){var S=j;H[y++]=E===0?0:E}}return H}function Q2(a){return typeof a=="number"?a:_t(a)?$:+a}function Kt(a){if(typeof a=="string")return a;if(ge(a))return Ge(a,Kt)+"";if(_t(a))return z2?z2.call(a):"";var s=a+"";return s=="0"&&1/a==-ee?"-0":s}function Xn(a,s,d){var v=-1,y=$o,H=a.length,E=!0,j=[],S=j;if(d)E=!1,y=Gu;else if(H>=i){var G=s?null:y6(a);if(G)return ts(G);E=!1,y=Za,S=new ei}else S=s?[]:j;e:for(;++v<H;){var Q=a[v],q=s?s(Q):Q;if(Q=d||Q!==0?Q:0,E&&q===q){for(var ne=S.length;ne--;)if(S[ne]===q)continue e;s&&S.push(q),j.push(Q)}else y(S,q,d)||(S!==j&&S.push(q),j.push(Q))}return j}function bc(a,s){return s=En(s,a),a=wv(a,s),a==null||delete a[Sr(pr(s))]}function V2(a,s,d,v){return Ua(a,s,d(ri(a,s)),v)}function xs(a,s,d,v){for(var y=a.length,H=v?y:-1;(v?H--:++H<y)&&s(a[H],H,a););return d?fr(a,v?0:H,v?H+1:y):fr(a,v?H+1:0,v?y:H)}function q2(a,s){var d=a;return d instanceof Ce&&(d=d.value()),Qu(s,function(v,y){return y.func.apply(y.thisArg,An([v],y.args))},d)}function mc(a,s,d){var v=a.length;if(v<2)return v?Xn(a[0]):[];for(var y=-1,H=Y(v);++y<v;)for(var E=a[y],j=-1;++j<v;)j!=y&&(H[y]=Va(H[y]||E,a[j],s,d));return Xn(pt(H,1),s,d)}function J2(a,s,d){for(var v=-1,y=a.length,H=s.length,E={};++v<y;){var j=v<H?s[v]:t;d(E,a[v],j)}return E}function yc(a){return et(a)?a:[]}function wc(a){return typeof a=="function"?a:Wt}function En(a,s){return ge(a)?a:Oc(a,s)?[a]:zv(Ee(a))}var u6=ke;function Ln(a,s,d){var v=a.length;return d=d===t?v:d,!s&&d>=v?a:fr(a,s,d)}var U2=U8||function(a){return ft.clearTimeout(a)};function K2(a,s){if(s)return a.slice();var d=a.length,v=m2?m2(d):new a.constructor(d);return a.copy(v),v}function xc(a){var s=new a.constructor(a.byteLength);return new ss(s).set(new ss(a)),s}function c6(a,s){var d=s?xc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function d6(a){var s=new a.constructor(a.source,jh.exec(a));return s.lastIndex=a.lastIndex,s}function f6(a){return Ga?Se(Ga.call(a)):{}}function _2(a,s){var d=s?xc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function $2(a,s){if(a!==s){var d=a!==t,v=a===null,y=a===a,H=_t(a),E=s!==t,j=s===null,S=s===s,G=_t(s);if(!j&&!G&&!H&&a>s||H&&E&&S&&!j&&!G||v&&E&&S||!d&&S||!y)return 1;if(!v&&!H&&!G&&a<s||G&&d&&y&&!v&&!H||j&&d&&y||!E&&y||!S)return-1}return 0}function p6(a,s,d){for(var v=-1,y=a.criteria,H=s.criteria,E=y.length,j=d.length;++v<E;){var S=$2(y[v],H[v]);if(S){if(v>=j)return S;var G=d[v];return S*(G=="desc"?-1:1)}}return a.index-s.index}function ev(a,s,d,v){for(var y=-1,H=a.length,E=d.length,j=-1,S=s.length,G=st(H-E,0),Q=Y(S+G),q=!v;++j<S;)Q[j]=s[j];for(;++y<E;)(q||y<H)&&(Q[d[y]]=a[y]);for(;G--;)Q[j++]=a[y++];return Q}function tv(a,s,d,v){for(var y=-1,H=a.length,E=-1,j=d.length,S=-1,G=s.length,Q=st(H-j,0),q=Y(Q+G),ne=!v;++y<Q;)q[y]=a[y];for(var le=y;++S<G;)q[le+S]=s[S];for(;++E<j;)(ne||y<H)&&(q[le+d[E]]=a[y++]);return q}function It(a,s){var d=-1,v=a.length;for(s||(s=Y(v));++d<v;)s[d]=a[d];return s}function Ir(a,s,d,v){var y=!d;d||(d={});for(var H=-1,E=s.length;++H<E;){var j=s[H],S=v?v(d[j],a[j],j,d,a):t;S===t&&(S=a[j]),y?en(d,j,S):Qa(d,j,S)}return d}function h6(a,s){return Ir(a,Dc(a),s)}function v6(a,s){return Ir(a,hv(a),s)}function Ps(a,s){return function(d,v){var y=ge(d)?w8:S7,H=s?s():{};return y(d,a,ce(v,2),H)}}function qi(a){return ke(function(s,d){var v=-1,y=d.length,H=y>1?d[y-1]:t,E=y>2?d[2]:t;for(H=a.length>3&&typeof H=="function"?(y--,H):t,E&&Ct(d[0],d[1],E)&&(H=y<3?t:H,y=1),s=Se(s);++v<y;){var j=d[v];j&&a(s,j,v,H)}return s})}function rv(a,s){return function(d,v){if(d==null)return d;if(!St(d))return a(d,v);for(var y=d.length,H=s?y:-1,E=Se(d);(s?H--:++H<y)&&v(E[H],H,E)!==!1;);return d}}function nv(a){return function(s,d,v){for(var y=-1,H=Se(s),E=v(s),j=E.length;j--;){var S=E[a?j:++y];if(d(H[S],S,H)===!1)break}return s}}function g6(a,s,d){var v=s&A,y=Ka(a);function H(){var E=this&&this!==ft&&this instanceof H?y:a;return E.apply(v?d:this,arguments)}return H}function iv(a){return function(s){s=Ee(s);var d=Yi(s)?wr(s):t,v=d?d[0]:s.charAt(0),y=d?Ln(d,1).join(""):s.slice(1);return v[a]()+y}}function Ji(a){return function(s){return Qu(r1(t1(s).replace(o8,"")),a,"")}}function Ka(a){return function(){var s=arguments;switch(s.length){case 0:return new a;case 1:return new a(s[0]);case 2:return new a(s[0],s[1]);case 3:return new a(s[0],s[1],s[2]);case 4:return new a(s[0],s[1],s[2],s[3]);case 5:return new a(s[0],s[1],s[2],s[3],s[4]);case 6:return new a(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new a(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var d=Vi(a.prototype),v=a.apply(d,s);return Je(v)?v:d}}function b6(a,s,d){var v=Ka(a);function y(){for(var H=arguments.length,E=Y(H),j=H,S=Ui(y);j--;)E[j]=arguments[j];var G=H<3&&E[0]!==S&&E[H-1]!==S?[]:Hn(E,S);if(H-=G.length,H<d)return uv(a,s,ks,y.placeholder,t,E,G,t,t,d-H);var Q=this&&this!==ft&&this instanceof y?v:a;return Jt(Q,this,E)}return y}function av(a){return function(s,d,v){var y=Se(s);if(!St(s)){var H=ce(d,3);s=ut(s),d=function(j){return H(y[j],j,y)}}var E=a(s,d,v);return E>-1?y[H?s[E]:E]:t}}function ov(a){return rn(function(s){var d=s.length,v=d,y=cr.prototype.thru;for(a&&s.reverse();v--;){var H=s[v];if(typeof H!="function")throw new ur(l);if(y&&!E&&Hs(H)=="wrapper")var E=new cr([],!0)}for(v=E?v:d;++v<d;){H=s[v];var j=Hs(H),S=j=="wrapper"?Ac(H):t;S&&Xc(S[0])&&S[1]==(B|k|O|T)&&!S[4].length&&S[9]==1?E=E[Hs(S[0])].apply(E,S[3]):E=H.length==1&&Xc(H)?E[j]():E.thru(H)}return function(){var G=arguments,Q=G[0];if(E&&G.length==1&&ge(Q))return E.plant(Q).value();for(var q=0,ne=d?s[q].apply(this,G):Q;++q<d;)ne=s[q].call(this,ne);return ne}})}function ks(a,s,d,v,y,H,E,j,S,G){var Q=s&B,q=s&A,ne=s&z,le=s&(k|D),de=s&X,we=ne?t:Ka(a);function fe(){for(var ze=arguments.length,He=Y(ze),$t=ze;$t--;)He[$t]=arguments[$t];if(le)var At=Ui(fe),er=O8(He,At);if(v&&(He=ev(He,v,y,le)),H&&(He=tv(He,H,E,le)),ze-=er,le&&ze<G){var tt=Hn(He,At);return uv(a,s,ks,fe.placeholder,d,He,tt,j,S,G-ze)}var kr=q?d:this,sn=ne?kr[a]:a;return ze=He.length,j?He=S6(He,j):de&&ze>1&&He.reverse(),Q&&S<ze&&(He.length=S),this&&this!==ft&&this instanceof fe&&(sn=we||Ka(sn)),sn.apply(kr,He)}return fe}function sv(a,s){return function(d,v){return G7(d,a,s(v),{})}}function zs(a,s){return function(d,v){var y;if(d===t&&v===t)return s;if(d!==t&&(y=d),v!==t){if(y===t)return v;typeof d=="string"||typeof v=="string"?(d=Kt(d),v=Kt(v)):(d=Q2(d),v=Q2(v)),y=a(d,v)}return y}}function Pc(a){return rn(function(s){return s=Ge(s,Ut(ce())),ke(function(d){var v=this;return a(s,function(y){return Jt(y,v,d)})})})}function Cs(a,s){s=s===t?" ":Kt(s);var d=s.length;if(d<2)return d?vc(s,a):s;var v=vc(s,ds(a/Fi(s)));return Yi(s)?Ln(wr(v),0,a).join(""):v.slice(0,a)}function m6(a,s,d,v){var y=s&A,H=Ka(a);function E(){for(var j=-1,S=arguments.length,G=-1,Q=v.length,q=Y(Q+S),ne=this&&this!==ft&&this instanceof E?H:a;++G<Q;)q[G]=v[G];for(;S--;)q[G++]=arguments[++j];return Jt(ne,y?d:this,q)}return E}function lv(a){return function(s,d,v){return v&&typeof v!="number"&&Ct(s,d,v)&&(d=v=t),s=on(s),d===t?(d=s,s=0):d=on(d),v=v===t?s<d?1:-1:on(v),n6(s,d,v,a)}}function As(a){return function(s,d){return typeof s=="string"&&typeof d=="string"||(s=hr(s),d=hr(d)),a(s,d)}}function uv(a,s,d,v,y,H,E,j,S,G){var Q=s&k,q=Q?E:t,ne=Q?t:E,le=Q?H:t,de=Q?t:H;s|=Q?O:L,s&=~(Q?L:O),s&w||(s&=~(A|z));var we=[a,s,y,le,q,de,ne,j,S,G],fe=d.apply(t,we);return Xc(a)&&xv(fe,we),fe.placeholder=v,Pv(fe,a,s)}function kc(a){var s=ot[a];return function(d,v){if(d=hr(d),v=v==null?0:mt(me(v),292),v&&P2(d)){var y=(Ee(d)+"e").split("e"),H=s(y[0]+"e"+(+y[1]+v));return y=(Ee(H)+"e").split("e"),+(y[0]+"e"+(+y[1]-v))}return s(d)}}var y6=Gi&&1/ts(new Gi([,-0]))[1]==ee?function(a){return new Gi(a)}:Gc;function cv(a){return function(s){var d=yt(s);return d==Tt?$u(s):d==yr?I8(s):D8(s,a(s))}}function tn(a,s,d,v,y,H,E,j){var S=s&z;if(!S&&typeof a!="function")throw new ur(l);var G=v?v.length:0;if(G||(s&=~(O|L),v=y=t),E=E===t?E:st(me(E),0),j=j===t?j:me(j),G-=y?y.length:0,s&L){var Q=v,q=y;v=y=t}var ne=S?t:Ac(a),le=[a,s,d,v,y,Q,q,H,E,j];if(ne&&j6(le,ne),a=le[0],s=le[1],d=le[2],v=le[3],y=le[4],j=le[9]=le[9]===t?S?0:a.length:st(le[9]-G,0),!j&&s&(k|D)&&(s&=~(k|D)),!s||s==A)var de=g6(a,s,d);else s==k||s==D?de=b6(a,s,j):(s==O||s==(A|O))&&!y.length?de=m6(a,s,d,v):de=ks.apply(t,le);var we=ne?R2:xv;return Pv(we(de,le),a,s)}function dv(a,s,d,v){return a===t||Pr(a,Ri[d])&&!Le.call(v,d)?s:a}function fv(a,s,d,v,y,H){return Je(a)&&Je(s)&&(H.set(s,a),ys(a,s,t,fv,H),H.delete(s)),a}function w6(a){return eo(a)?t:a}function pv(a,s,d,v,y,H){var E=d&P,j=a.length,S=s.length;if(j!=S&&!(E&&S>j))return!1;var G=H.get(a),Q=H.get(s);if(G&&Q)return G==s&&Q==a;var q=-1,ne=!0,le=d&x?new ei:t;for(H.set(a,s),H.set(s,a);++q<j;){var de=a[q],we=s[q];if(v)var fe=E?v(we,de,q,s,a,H):v(de,we,q,a,s,H);if(fe!==t){if(fe)continue;ne=!1;break}if(le){if(!Vu(s,function(ze,He){if(!Za(le,He)&&(de===ze||y(de,ze,d,v,H)))return le.push(He)})){ne=!1;break}}else if(!(de===we||y(de,we,d,v,H))){ne=!1;break}}return H.delete(a),H.delete(s),ne}function x6(a,s,d,v,y,H,E){switch(d){case Mi:if(a.byteLength!=s.byteLength||a.byteOffset!=s.byteOffset)return!1;a=a.buffer,s=s.buffer;case Wa:return!(a.byteLength!=s.byteLength||!H(new ss(a),new ss(s)));case Vt:case jt:case jr:return Pr(+a,+s);case at:return a.name==s.name&&a.message==s.message;case Ia:case Sa:return a==s+"";case Tt:var j=$u;case yr:var S=v&P;if(j||(j=ts),a.size!=s.size&&!S)return!1;var G=E.get(a);if(G)return G==s;v|=x,E.set(a,s);var Q=pv(j(a),j(s),v,y,H,E);return E.delete(a),Q;case Jo:if(Ga)return Ga.call(a)==Ga.call(s)}return!1}function P6(a,s,d,v,y,H){var E=d&P,j=zc(a),S=j.length,G=zc(s),Q=G.length;if(S!=Q&&!E)return!1;for(var q=S;q--;){var ne=j[q];if(!(E?ne in s:Le.call(s,ne)))return!1}var le=H.get(a),de=H.get(s);if(le&&de)return le==s&&de==a;var we=!0;H.set(a,s),H.set(s,a);for(var fe=E;++q<S;){ne=j[q];var ze=a[ne],He=s[ne];if(v)var $t=E?v(He,ze,ne,s,a,H):v(ze,He,ne,a,s,H);if(!($t===t?ze===He||y(ze,He,d,v,H):$t)){we=!1;break}fe||(fe=ne=="constructor")}if(we&&!fe){var At=a.constructor,er=s.constructor;At!=er&&"constructor"in a&&"constructor"in s&&!(typeof At=="function"&&At instanceof At&&typeof er=="function"&&er instanceof er)&&(we=!1)}return H.delete(a),H.delete(s),we}function rn(a){return Lc(yv(a,t,Dv),a+"")}function zc(a){return B2(a,ut,Dc)}function Cc(a){return B2(a,Mt,hv)}var Ac=ps?function(a){return ps.get(a)}:Gc;function Hs(a){for(var s=a.name+"",d=Qi[s],v=Le.call(Qi,s)?d.length:0;v--;){var y=d[v],H=y.func;if(H==null||H==a)return y.name}return s}function Ui(a){var s=Le.call(C,"placeholder")?C:a;return s.placeholder}function ce(){var a=C.iteratee||Nc;return a=a===Nc?I2:a,arguments.length?a(arguments[0],arguments[1]):a}function Ds(a,s){var d=a.__data__;return X6(s)?d[typeof s=="string"?"string":"hash"]:d.map}function Hc(a){for(var s=ut(a),d=s.length;d--;){var v=s[d],y=a[v];s[d]=[v,y,bv(y)]}return s}function ni(a,s){var d=B8(a,s);return T2(d)?d:t}function k6(a){var s=Le.call(a,_n),d=a[_n];try{a[_n]=t;var v=!0}catch{}var y=as.call(a);return v&&(s?a[_n]=d:delete a[_n]),y}var Dc=tc?function(a){return a==null?[]:(a=Se(a),Cn(tc(a),function(s){return w2.call(a,s)}))}:Qc,hv=tc?function(a){for(var s=[];a;)An(s,Dc(a)),a=ls(a);return s}:Qc,yt=zt;(rc&&yt(new rc(new ArrayBuffer(1)))!=Mi||Fa&&yt(new Fa)!=Tt||nc&&yt(nc.resolve())!=Xh||Gi&&yt(new Gi)!=yr||Na&&yt(new Na)!=Ma)&&(yt=function(a){var s=zt(a),d=s==Kr?a.constructor:t,v=d?ii(d):"";if(v)switch(v){case a7:return Mi;case o7:return Tt;case s7:return Xh;case l7:return yr;case u7:return Ma}return s});function z6(a,s,d){for(var v=-1,y=d.length;++v<y;){var H=d[v],E=H.size;switch(H.type){case"drop":a+=E;break;case"dropRight":s-=E;break;case"take":s=mt(s,a+E);break;case"takeRight":a=st(a,s-E);break}}return{start:a,end:s}}function C6(a){var s=a.match(E5);return s?s[1].split(L5):[]}function vv(a,s,d){s=En(s,a);for(var v=-1,y=s.length,H=!1;++v<y;){var E=Sr(s[v]);if(!(H=a!=null&&d(a,E)))break;a=a[E]}return H||++v!=y?H:(y=a==null?0:a.length,!!y&&Ts(y)&&nn(E,y)&&(ge(a)||ai(a)))}function A6(a){var s=a.length,d=new a.constructor(s);return s&&typeof a[0]=="string"&&Le.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function gv(a){return typeof a.constructor=="function"&&!_a(a)?Vi(ls(a)):{}}function H6(a,s,d){var v=a.constructor;switch(s){case Wa:return xc(a);case Vt:case jt:return new v(+a);case Mi:return c6(a,d);case Hu:case Du:case Ou:case Xu:case Eu:case Lu:case Bu:case ju:case Tu:return _2(a,d);case Tt:return new v;case jr:case Sa:return new v(a);case Ia:return d6(a);case yr:return new v;case Jo:return f6(a)}}function D6(a,s){var d=s.length;if(!d)return a;var v=d-1;return s[v]=(d>1?"& ":"")+s[v],s=s.join(d>2?", ":" "),a.replace(X5,`{
|
|
54
54
|
/* [wrapped with `+s+`] */
|
|
55
|
-
`)}function O6(a){return ge(a)||ai(a)||!!(x2&&a&&a[x2])}function nn(a,s){var d=typeof a;return s=s??F,!!s&&(d=="number"||d!="symbol"&&Y5.test(a))&&a>-1&&a%1==0&&a<s}function Ct(a,s,d){if(!Je(d))return!1;var v=typeof s;return(v=="number"?St(d)&&nn(s,d.length):v=="string"&&s in d)?Pr(d[s],a):!1}function Oc(a,s){if(ge(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||_t(a)?!0:A5.test(a)||!C5.test(a)||s!=null&&a in Se(s)}function X6(a){var s=typeof a;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?a!=="__proto__":a===null}function Xc(a){var s=Hs(a),d=C[s];if(typeof d!="function"||!(s in Ce.prototype))return!1;if(a===d)return!0;var v=Ac(d);return!!v&&a===v[0]}function E6(a){return!!b2&&b2 in a}var L6=ns?an:Vc;function _a(a){var s=a&&a.constructor,d=typeof s=="function"&&s.prototype||Ri;return a===d}function bv(a){return a===a&&!Je(a)}function mv(a,s){return function(d){return d==null?!1:d[a]===s&&(s!==t||a in Se(d))}}function B6(a){var s=Bs(a,function(v){return d.size===f&&d.clear(),v}),d=s.cache;return s}function j6(a,s){var d=a[1],v=s[1],y=d|v,H=y<(A|z|B),E=v==B&&d==k||v==B&&d==T&&a[7].length<=s[8]||v==(B|T)&&s[7].length<=s[8]&&d==k;if(!(H||E))return a;v&A&&(a[2]=s[2],y|=d&A?0:w);var j=s[3];if(j){var S=a[3];a[3]=S?ev(S,j,s[4]):j,a[4]=S?Hn(a[3],p):s[4]}return j=s[5],j&&(S=a[5],a[5]=S?tv(S,j,s[6]):j,a[6]=S?Hn(a[5],p):s[6]),j=s[7],j&&(a[7]=j),v&B&&(a[8]=a[8]==null?s[8]:mt(a[8],s[8])),a[9]==null&&(a[9]=s[9]),a[0]=s[0],a[1]=y,a}function T6(a){var s=[];if(a!=null)for(var d in Se(a))s.push(d);return s}function I6(a){return as.call(a)}function yv(a,s,d){return s=st(s===t?a.length-1:s,0),function(){for(var v=arguments,y=-1,H=st(v.length-s,0),E=Y(H);++y<H;)E[y]=v[s+y];y=-1;for(var j=Y(s+1);++y<s;)j[y]=v[y];return j[s]=d(E),Jt(a,this,j)}}function wv(a,s){return s.length<2?a:ri(a,dr(s,0,-1))}function S6(a,s){for(var d=a.length,v=mt(s.length,d),y=It(a);v--;){var H=s[v];a[v]=nn(H,d)?y[H]:t}return a}function Ec(a,s){if(!(s==="constructor"&&typeof a[s]=="function")&&s!="__proto__")return a[s]}var xv=kv(R2),$a=_8||function(a,s){return ft.setTimeout(a,s)},Lc=kv(o6);function Pv(a,s,d){var v=s+"";return Lc(a,D6(v,M6(C6(v),d)))}function kv(a){var s=0,d=0;return function(){var v=r7(),y=V-(v-d);if(d=v,y>0){if(++s>=N)return arguments[0]}else s=0;return a.apply(t,arguments)}}function Os(a,s){var d=-1,v=a.length,y=v-1;for(s=s===t?v:s;++d<s;){var H=hc(d,y),E=a[H];a[H]=a[d],a[d]=E}return a.length=s,a}var zv=B6(function(a){var s=[];return a.charCodeAt(0)===46&&s.push(""),a.replace(H5,function(d,v,y,H){s.push(y?H.replace(T5,"$1"):v||d)}),s});function Sr(a){if(typeof a=="string"||_t(a))return a;var s=a+"";return s=="0"&&1/a==-ee?"-0":s}function ii(a){if(a!=null){try{return is.call(a)}catch{}try{return a+""}catch{}}return""}function M6(a,s){return sr(Re,function(d){var v="_."+d[0];s&d[1]&&!$o(a,v)&&a.push(v)}),a.sort()}function Cv(a){if(a instanceof Ce)return a.clone();var s=new ur(a.__wrapped__,a.__chain__);return s.__actions__=It(a.__actions__),s.__index__=a.__index__,s.__values__=a.__values__,s}function W6(a,s,d){(d?Ct(a,s,d):s===t)?s=1:s=st(me(s),0);var v=a==null?0:a.length;if(!v||s<1)return[];for(var y=0,H=0,E=Y(ds(v/s));y<v;)E[H++]=dr(a,y,y+=s);return E}function Z6(a){for(var s=-1,d=a==null?0:a.length,v=0,y=[];++s<d;){var H=a[s];H&&(y[v++]=H)}return y}function Y6(){var a=arguments.length;if(!a)return[];for(var s=Y(a-1),d=arguments[0],v=a;v--;)s[v-1]=arguments[v];return An(ge(d)?It(d):[d],pt(s,1))}var F6=ke(function(a,s){return et(a)?Va(a,pt(s,1,et,!0)):[]}),N6=ke(function(a,s){var d=fr(s);return et(d)&&(d=t),et(a)?Va(a,pt(s,1,et,!0),ce(d,2)):[]}),R6=ke(function(a,s){var d=fr(s);return et(d)&&(d=t),et(a)?Va(a,pt(s,1,et,!0),t,d):[]});function G6(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),dr(a,s<0?0:s,v)):[]}function Q6(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),s=v-s,dr(a,0,s<0?0:s)):[]}function V6(a,s){return a&&a.length?xs(a,ce(s,3),!0,!0):[]}function q6(a,s){return a&&a.length?xs(a,ce(s,3),!0):[]}function J6(a,s,d,v){var y=a==null?0:a.length;return y?(d&&typeof d!="number"&&Ct(a,s,d)&&(d=0,v=y),Y7(a,s,d,v)):[]}function Av(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=d==null?0:me(d);return y<0&&(y=st(v+y,0)),es(a,ce(s,3),y)}function Hv(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=v-1;return d!==t&&(y=me(d),y=d<0?st(v+y,0):mt(y,v-1)),es(a,ce(s,3),y,!0)}function Dv(a){var s=a==null?0:a.length;return s?pt(a,1):[]}function U6(a){var s=a==null?0:a.length;return s?pt(a,ee):[]}function K6(a,s){var d=a==null?0:a.length;return d?(s=s===t?1:me(s),pt(a,s)):[]}function _6(a){for(var s=-1,d=a==null?0:a.length,v={};++s<d;){var y=a[s];v[y[0]]=y[1]}return v}function Ov(a){return a&&a.length?a[0]:t}function $6(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=d==null?0:me(d);return y<0&&(y=st(v+y,0)),Zi(a,s,y)}function ey(a){var s=a==null?0:a.length;return s?dr(a,0,-1):[]}var ty=ke(function(a){var s=Ge(a,yc);return s.length&&s[0]===a[0]?uc(s):[]}),ry=ke(function(a){var s=fr(a),d=Ge(a,yc);return s===fr(d)?s=t:d.pop(),d.length&&d[0]===a[0]?uc(d,ce(s,2)):[]}),ny=ke(function(a){var s=fr(a),d=Ge(a,yc);return s=typeof s=="function"?s:t,s&&d.pop(),d.length&&d[0]===a[0]?uc(d,t,s):[]});function iy(a,s){return a==null?"":e7.call(a,s)}function fr(a){var s=a==null?0:a.length;return s?a[s-1]:t}function ay(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=v;return d!==t&&(y=me(d),y=y<0?st(v+y,0):mt(y,v-1)),s===s?M8(a,s,y):es(a,u2,y,!0)}function oy(a,s){return a&&a.length?Z2(a,me(s)):t}var sy=ke(Xv);function Xv(a,s){return a&&a.length&&s&&s.length?pc(a,s):a}function ly(a,s,d){return a&&a.length&&s&&s.length?pc(a,s,ce(d,2)):a}function uy(a,s,d){return a&&a.length&&s&&s.length?pc(a,s,t,d):a}var cy=rn(function(a,s){var d=a==null?0:a.length,v=ac(a,s);return N2(a,Ge(s,function(y){return nn(y,d)?+y:y}).sort($2)),v});function dy(a,s){var d=[];if(!(a&&a.length))return d;var v=-1,y=[],H=a.length;for(s=ce(s,3);++v<H;){var E=a[v];s(E,v,a)&&(d.push(E),y.push(v))}return N2(a,y),d}function Bc(a){return a==null?a:i7.call(a)}function fy(a,s,d){var v=a==null?0:a.length;return v?(d&&typeof d!="number"&&Ct(a,s,d)?(s=0,d=v):(s=s==null?0:me(s),d=d===t?v:me(d)),dr(a,s,d)):[]}function py(a,s){return ws(a,s)}function hy(a,s,d){return gc(a,s,ce(d,2))}function vy(a,s){var d=a==null?0:a.length;if(d){var v=ws(a,s);if(v<d&&Pr(a[v],s))return v}return-1}function gy(a,s){return ws(a,s,!0)}function by(a,s,d){return gc(a,s,ce(d,2),!0)}function my(a,s){var d=a==null?0:a.length;if(d){var v=ws(a,s,!0)-1;if(Pr(a[v],s))return v}return-1}function yy(a){return a&&a.length?G2(a):[]}function wy(a,s){return a&&a.length?G2(a,ce(s,2)):[]}function xy(a){var s=a==null?0:a.length;return s?dr(a,1,s):[]}function Py(a,s,d){return a&&a.length?(s=d||s===t?1:me(s),dr(a,0,s<0?0:s)):[]}function ky(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),s=v-s,dr(a,s<0?0:s,v)):[]}function zy(a,s){return a&&a.length?xs(a,ce(s,3),!1,!0):[]}function Cy(a,s){return a&&a.length?xs(a,ce(s,3)):[]}var Ay=ke(function(a){return Xn(pt(a,1,et,!0))}),Hy=ke(function(a){var s=fr(a);return et(s)&&(s=t),Xn(pt(a,1,et,!0),ce(s,2))}),Dy=ke(function(a){var s=fr(a);return s=typeof s=="function"?s:t,Xn(pt(a,1,et,!0),t,s)});function Oy(a){return a&&a.length?Xn(a):[]}function Xy(a,s){return a&&a.length?Xn(a,ce(s,2)):[]}function Ey(a,s){return s=typeof s=="function"?s:t,a&&a.length?Xn(a,t,s):[]}function jc(a){if(!(a&&a.length))return[];var s=0;return a=Cn(a,function(d){if(et(d))return s=st(d.length,s),!0}),Ku(s,function(d){return Ge(a,qu(d))})}function Ev(a,s){if(!(a&&a.length))return[];var d=jc(a);return s==null?d:Ge(d,function(v){return Jt(s,t,v)})}var Ly=ke(function(a,s){return et(a)?Va(a,s):[]}),By=ke(function(a){return mc(Cn(a,et))}),jy=ke(function(a){var s=fr(a);return et(s)&&(s=t),mc(Cn(a,et),ce(s,2))}),Ty=ke(function(a){var s=fr(a);return s=typeof s=="function"?s:t,mc(Cn(a,et),t,s)}),Iy=ke(jc);function Sy(a,s){return J2(a||[],s||[],Qa)}function My(a,s){return J2(a||[],s||[],Ua)}var Wy=ke(function(a){var s=a.length,d=s>1?a[s-1]:t;return d=typeof d=="function"?(a.pop(),d):t,Ev(a,d)});function Lv(a){var s=C(a);return s.__chain__=!0,s}function Zy(a,s){return s(a),a}function Xs(a,s){return s(a)}var Yy=rn(function(a){var s=a.length,d=s?a[0]:0,v=this.__wrapped__,y=function(H){return ac(H,a)};return s>1||this.__actions__.length||!(v instanceof Ce)||!nn(d)?this.thru(y):(v=v.slice(d,+d+(s?1:0)),v.__actions__.push({func:Xs,args:[y],thisArg:t}),new ur(v,this.__chain__).thru(function(H){return s&&!H.length&&H.push(t),H}))});function Fy(){return Lv(this)}function Ny(){return new ur(this.value(),this.__chain__)}function Ry(){this.__values__===t&&(this.__values__=Qv(this.value()));var a=this.__index__>=this.__values__.length,s=a?t:this.__values__[this.__index__++];return{done:a,value:s}}function Gy(){return this}function Qy(a){for(var s,d=this;d instanceof vs;){var v=Cv(d);v.__index__=0,v.__values__=t,s?y.__wrapped__=v:s=v;var y=v;d=d.__wrapped__}return y.__wrapped__=a,s}function Vy(){var a=this.__wrapped__;if(a instanceof Ce){var s=a;return this.__actions__.length&&(s=new Ce(this)),s=s.reverse(),s.__actions__.push({func:Xs,args:[Bc],thisArg:t}),new ur(s,this.__chain__)}return this.thru(Bc)}function qy(){return q2(this.__wrapped__,this.__actions__)}var Jy=Ps(function(a,s,d){Le.call(a,d)?++a[d]:en(a,d,1)});function Uy(a,s,d){var v=ge(a)?s2:Z7;return d&&Ct(a,s,d)&&(s=t),v(a,ce(s,3))}function Ky(a,s){var d=ge(a)?Cn:E2;return d(a,ce(s,3))}var _y=av(Av),$y=av(Hv);function e4(a,s){return pt(Es(a,s),1)}function t4(a,s){return pt(Es(a,s),ee)}function r4(a,s,d){return d=d===t?1:me(d),pt(Es(a,s),d)}function Bv(a,s){var d=ge(a)?sr:On;return d(a,ce(s,3))}function jv(a,s){var d=ge(a)?x8:X2;return d(a,ce(s,3))}var n4=Ps(function(a,s,d){Le.call(a,d)?a[d].push(s):en(a,d,[s])});function i4(a,s,d,v){a=St(a)?a:_i(a),d=d&&!v?me(d):0;var y=a.length;return d<0&&(d=st(y+d,0)),Is(a)?d<=y&&a.indexOf(s,d)>-1:!!y&&Zi(a,s,d)>-1}var a4=ke(function(a,s,d){var v=-1,y=typeof s=="function",H=St(a)?Y(a.length):[];return On(a,function(E){H[++v]=y?Jt(s,E,d):qa(E,s,d)}),H}),o4=Ps(function(a,s,d){en(a,d,s)});function Es(a,s){var d=ge(a)?Ge:S2;return d(a,ce(s,3))}function s4(a,s,d,v){return a==null?[]:(ge(s)||(s=s==null?[]:[s]),d=v?t:d,ge(d)||(d=d==null?[]:[d]),Y2(a,s,d))}var l4=Ps(function(a,s,d){a[d?0:1].push(s)},function(){return[[],[]]});function u4(a,s,d){var v=ge(a)?Qu:d2,y=arguments.length<3;return v(a,ce(s,4),d,y,On)}function c4(a,s,d){var v=ge(a)?P8:d2,y=arguments.length<3;return v(a,ce(s,4),d,y,X2)}function d4(a,s){var d=ge(a)?Cn:E2;return d(a,js(ce(s,3)))}function f4(a){var s=ge(a)?A2:i6;return s(a)}function p4(a,s,d){(d?Ct(a,s,d):s===t)?s=1:s=me(s);var v=ge(a)?T7:a6;return v(a,s)}function h4(a){var s=ge(a)?I7:s6;return s(a)}function v4(a){if(a==null)return 0;if(St(a))return Is(a)?Fi(a):a.length;var s=yt(a);return s==Tt||s==yr?a.size:dc(a).length}function g4(a,s,d){var v=ge(a)?Vu:l6;return d&&Ct(a,s,d)&&(s=t),v(a,ce(s,3))}var b4=ke(function(a,s){if(a==null)return[];var d=s.length;return d>1&&Ct(a,s[0],s[1])?s=[]:d>2&&Ct(s[0],s[1],s[2])&&(s=[s[0]]),Y2(a,pt(s,1),[])}),Ls=K8||function(){return ft.Date.now()};function m4(a,s){if(typeof s!="function")throw new lr(l);return a=me(a),function(){if(--a<1)return s.apply(this,arguments)}}function Tv(a,s,d){return s=d?t:s,s=a&&s==null?a.length:s,tn(a,B,t,t,t,t,s)}function Iv(a,s){var d;if(typeof s!="function")throw new lr(l);return a=me(a),function(){return--a>0&&(d=s.apply(this,arguments)),a<=1&&(s=t),d}}var Tc=ke(function(a,s,d){var v=A;if(d.length){var y=Hn(d,Ui(Tc));v|=O}return tn(a,v,s,d,y)}),Sv=ke(function(a,s,d){var v=A|z;if(d.length){var y=Hn(d,Ui(Sv));v|=O}return tn(s,v,a,d,y)});function Mv(a,s,d){s=d?t:s;var v=tn(a,k,t,t,t,t,t,s);return v.placeholder=Mv.placeholder,v}function Wv(a,s,d){s=d?t:s;var v=tn(a,D,t,t,t,t,t,s);return v.placeholder=Wv.placeholder,v}function Zv(a,s,d){var v,y,H,E,j,S,G=0,Q=!1,q=!1,ne=!0;if(typeof a!="function")throw new lr(l);s=pr(s)||0,Je(d)&&(Q=!!d.leading,q="maxWait"in d,H=q?st(pr(d.maxWait)||0,s):H,ne="trailing"in d?!!d.trailing:ne);function le(tt){var kr=v,sn=y;return v=y=t,G=tt,E=a.apply(sn,kr),E}function de(tt){return G=tt,j=$a(ze,s),Q?le(tt):E}function we(tt){var kr=tt-S,sn=tt-G,a1=s-kr;return q?mt(a1,H-sn):a1}function fe(tt){var kr=tt-S,sn=tt-G;return S===t||kr>=s||kr<0||q&&sn>=H}function ze(){var tt=Ls();if(fe(tt))return He(tt);j=$a(ze,we(tt))}function He(tt){return j=t,ne&&v?le(tt):(v=y=t,E)}function $t(){j!==t&&U2(j),G=0,v=S=y=j=t}function At(){return j===t?E:He(Ls())}function er(){var tt=Ls(),kr=fe(tt);if(v=arguments,y=this,S=tt,kr){if(j===t)return de(S);if(q)return U2(j),j=$a(ze,s),le(S)}return j===t&&(j=$a(ze,s)),E}return er.cancel=$t,er.flush=At,er}var y4=ke(function(a,s){return O2(a,1,s)}),w4=ke(function(a,s,d){return O2(a,pr(s)||0,d)});function x4(a){return tn(a,X)}function Bs(a,s){if(typeof a!="function"||s!=null&&typeof s!="function")throw new lr(l);var d=function(){var v=arguments,y=s?s.apply(this,v):v[0],H=d.cache;if(H.has(y))return H.get(y);var E=a.apply(this,v);return d.cache=H.set(y,E)||H,E};return d.cache=new(Bs.Cache||$r),d}Bs.Cache=$r;function js(a){if(typeof a!="function")throw new lr(l);return function(){var s=arguments;switch(s.length){case 0:return!a.call(this);case 1:return!a.call(this,s[0]);case 2:return!a.call(this,s[0],s[1]);case 3:return!a.call(this,s[0],s[1],s[2])}return!a.apply(this,s)}}function P4(a){return Iv(2,a)}var k4=u6(function(a,s){s=s.length==1&&ge(s[0])?Ge(s[0],Ut(ce())):Ge(pt(s,1),Ut(ce()));var d=s.length;return ke(function(v){for(var y=-1,H=mt(v.length,d);++y<H;)v[y]=s[y].call(this,v[y]);return Jt(a,this,v)})}),Ic=ke(function(a,s){var d=Hn(s,Ui(Ic));return tn(a,O,t,s,d)}),Yv=ke(function(a,s){var d=Hn(s,Ui(Yv));return tn(a,L,t,s,d)}),z4=rn(function(a,s){return tn(a,T,t,t,t,s)});function C4(a,s){if(typeof a!="function")throw new lr(l);return s=s===t?s:me(s),ke(a,s)}function A4(a,s){if(typeof a!="function")throw new lr(l);return s=s==null?0:st(me(s),0),ke(function(d){var v=d[s],y=Ln(d,0,s);return v&&An(y,v),Jt(a,this,y)})}function H4(a,s,d){var v=!0,y=!0;if(typeof a!="function")throw new lr(l);return Je(d)&&(v="leading"in d?!!d.leading:v,y="trailing"in d?!!d.trailing:y),Zv(a,s,{leading:v,maxWait:s,trailing:y})}function D4(a){return Tv(a,1)}function O4(a,s){return Ic(wc(s),a)}function X4(){if(!arguments.length)return[];var a=arguments[0];return ge(a)?a:[a]}function E4(a){return cr(a,m)}function L4(a,s){return s=typeof s=="function"?s:t,cr(a,m,s)}function B4(a){return cr(a,h|m)}function j4(a,s){return s=typeof s=="function"?s:t,cr(a,h|m,s)}function T4(a,s){return s==null||D2(a,s,ut(s))}function Pr(a,s){return a===s||a!==a&&s!==s}var I4=As(lc),S4=As(function(a,s){return a>=s}),ai=j2(function(){return arguments}())?j2:function(a){return Ke(a)&&Le.call(a,"callee")&&!w2.call(a,"callee")},ge=Y.isArray,M4=t2?Ut(t2):Q7;function St(a){return a!=null&&Ts(a.length)&&!an(a)}function et(a){return Ke(a)&&St(a)}function W4(a){return a===!0||a===!1||Ke(a)&&zt(a)==Vt}var Bn=$8||Vc,Z4=r2?Ut(r2):V7;function Y4(a){return Ke(a)&&a.nodeType===1&&!eo(a)}function F4(a){if(a==null)return!0;if(St(a)&&(ge(a)||typeof a=="string"||typeof a.splice=="function"||Bn(a)||Ki(a)||ai(a)))return!a.length;var s=yt(a);if(s==Tt||s==yr)return!a.size;if(_a(a))return!dc(a).length;for(var d in a)if(Le.call(a,d))return!1;return!0}function N4(a,s){return Ja(a,s)}function R4(a,s,d){d=typeof d=="function"?d:t;var v=d?d(a,s):t;return v===t?Ja(a,s,t,d):!!v}function Sc(a){if(!Ke(a))return!1;var s=zt(a);return s==at||s==qt||typeof a.message=="string"&&typeof a.name=="string"&&!eo(a)}function G4(a){return typeof a=="number"&&P2(a)}function an(a){if(!Je(a))return!1;var s=zt(a);return s==Ur||s==Ta||s==$e||s==v5}function Fv(a){return typeof a=="number"&&a==me(a)}function Ts(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=F}function Je(a){var s=typeof a;return a!=null&&(s=="object"||s=="function")}function Ke(a){return a!=null&&typeof a=="object"}var Nv=n2?Ut(n2):J7;function Q4(a,s){return a===s||cc(a,s,Hc(s))}function V4(a,s,d){return d=typeof d=="function"?d:t,cc(a,s,Hc(s),d)}function q4(a){return Rv(a)&&a!=+a}function J4(a){if(L6(a))throw new he(o);return T2(a)}function U4(a){return a===null}function K4(a){return a==null}function Rv(a){return typeof a=="number"||Ke(a)&&zt(a)==jr}function eo(a){if(!Ke(a)||zt(a)!=Kr)return!1;var s=ls(a);if(s===null)return!0;var d=Le.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&is.call(d)==V8}var Mc=i2?Ut(i2):U7;function _4(a){return Fv(a)&&a>=-F&&a<=F}var Gv=a2?Ut(a2):K7;function Is(a){return typeof a=="string"||!ge(a)&&Ke(a)&&zt(a)==Sa}function _t(a){return typeof a=="symbol"||Ke(a)&&zt(a)==Jo}var Ki=o2?Ut(o2):_7;function $4(a){return a===t}function ew(a){return Ke(a)&&yt(a)==Ma}function tw(a){return Ke(a)&&zt(a)==b5}var rw=As(fc),nw=As(function(a,s){return a<=s});function Qv(a){if(!a)return[];if(St(a))return Is(a)?wr(a):It(a);if(Ya&&a[Ya])return T8(a[Ya]());var s=yt(a),d=s==Tt?$u:s==yr?ts:_i;return d(a)}function on(a){if(!a)return a===0?a:0;if(a=pr(a),a===ee||a===-ee){var s=a<0?-1:1;return s*Z}return a===a?a:0}function me(a){var s=on(a),d=s%1;return s===s?d?s-d:s:0}function Vv(a){return a?ti(me(a),0,oe):0}function pr(a){if(typeof a=="number")return a;if(_t(a))return $;if(Je(a)){var s=typeof a.valueOf=="function"?a.valueOf():a;a=Je(s)?s+"":s}if(typeof a!="string")return a===0?a:+a;a=f2(a);var d=M5.test(a);return d||Z5.test(a)?m8(a.slice(2),d?2:8):S5.test(a)?$:+a}function qv(a){return Ir(a,Mt(a))}function iw(a){return a?ti(me(a),-F,F):a===0?a:0}function Ee(a){return a==null?"":Kt(a)}var aw=qi(function(a,s){if(_a(s)||St(s)){Ir(s,ut(s),a);return}for(var d in s)Le.call(s,d)&&Qa(a,d,s[d])}),Jv=qi(function(a,s){Ir(s,Mt(s),a)}),Ss=qi(function(a,s,d,v){Ir(s,Mt(s),a,v)}),ow=qi(function(a,s,d,v){Ir(s,ut(s),a,v)}),sw=rn(ac);function lw(a,s){var d=Vi(a);return s==null?d:H2(d,s)}var uw=ke(function(a,s){a=Se(a);var d=-1,v=s.length,y=v>2?s[2]:t;for(y&&Ct(s[0],s[1],y)&&(v=1);++d<v;)for(var H=s[d],E=Mt(H),j=-1,S=E.length;++j<S;){var G=E[j],Q=a[G];(Q===t||Pr(Q,Ri[G])&&!Le.call(a,G))&&(a[G]=H[G])}return a}),cw=ke(function(a){return a.push(t,fv),Jt(Uv,t,a)});function dw(a,s){return l2(a,ce(s,3),Tr)}function fw(a,s){return l2(a,ce(s,3),sc)}function pw(a,s){return a==null?a:oc(a,ce(s,3),Mt)}function hw(a,s){return a==null?a:L2(a,ce(s,3),Mt)}function vw(a,s){return a&&Tr(a,ce(s,3))}function gw(a,s){return a&&sc(a,ce(s,3))}function bw(a){return a==null?[]:ms(a,ut(a))}function mw(a){return a==null?[]:ms(a,Mt(a))}function Wc(a,s,d){var v=a==null?t:ri(a,s);return v===t?d:v}function yw(a,s){return a!=null&&vv(a,s,F7)}function Zc(a,s){return a!=null&&vv(a,s,N7)}var ww=sv(function(a,s,d){s!=null&&typeof s.toString!="function"&&(s=as.call(s)),a[s]=d},Fc(Wt)),xw=sv(function(a,s,d){s!=null&&typeof s.toString!="function"&&(s=as.call(s)),Le.call(a,s)?a[s].push(d):a[s]=[d]},ce),Pw=ke(qa);function ut(a){return St(a)?C2(a):dc(a)}function Mt(a){return St(a)?C2(a,!0):$7(a)}function kw(a,s){var d={};return s=ce(s,3),Tr(a,function(v,y,H){en(d,s(v,y,H),v)}),d}function zw(a,s){var d={};return s=ce(s,3),Tr(a,function(v,y,H){en(d,y,s(v,y,H))}),d}var Cw=qi(function(a,s,d){ys(a,s,d)}),Uv=qi(function(a,s,d,v){ys(a,s,d,v)}),Aw=rn(function(a,s){var d={};if(a==null)return d;var v=!1;s=Ge(s,function(H){return H=En(H,a),v||(v=H.length>1),H}),Ir(a,Cc(a),d),v&&(d=cr(d,h|b|m,w6));for(var y=s.length;y--;)bc(d,s[y]);return d});function Hw(a,s){return Kv(a,js(ce(s)))}var Dw=rn(function(a,s){return a==null?{}:t6(a,s)});function Kv(a,s){if(a==null)return{};var d=Ge(Cc(a),function(v){return[v]});return s=ce(s),F2(a,d,function(v,y){return s(v,y[0])})}function Ow(a,s,d){s=En(s,a);var v=-1,y=s.length;for(y||(y=1,a=t);++v<y;){var H=a==null?t:a[Sr(s[v])];H===t&&(v=y,H=d),a=an(H)?H.call(a):H}return a}function Xw(a,s,d){return a==null?a:Ua(a,s,d)}function Ew(a,s,d,v){return v=typeof v=="function"?v:t,a==null?a:Ua(a,s,d,v)}var _v=cv(ut),$v=cv(Mt);function Lw(a,s,d){var v=ge(a),y=v||Bn(a)||Ki(a);if(s=ce(s,4),d==null){var H=a&&a.constructor;y?d=v?new H:[]:Je(a)?d=an(H)?Vi(ls(a)):{}:d={}}return(y?sr:Tr)(a,function(E,j,S){return s(d,E,j,S)}),d}function Bw(a,s){return a==null?!0:bc(a,s)}function jw(a,s,d){return a==null?a:V2(a,s,wc(d))}function Tw(a,s,d,v){return v=typeof v=="function"?v:t,a==null?a:V2(a,s,wc(d),v)}function _i(a){return a==null?[]:_u(a,ut(a))}function Iw(a){return a==null?[]:_u(a,Mt(a))}function Sw(a,s,d){return d===t&&(d=s,s=t),d!==t&&(d=pr(d),d=d===d?d:0),s!==t&&(s=pr(s),s=s===s?s:0),ti(pr(a),s,d)}function Mw(a,s,d){return s=on(s),d===t?(d=s,s=0):d=on(d),a=pr(a),R7(a,s,d)}function Ww(a,s,d){if(d&&typeof d!="boolean"&&Ct(a,s,d)&&(s=d=t),d===t&&(typeof s=="boolean"?(d=s,s=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&s===t?(a=0,s=1):(a=on(a),s===t?(s=a,a=0):s=on(s)),a>s){var v=a;a=s,s=v}if(d||a%1||s%1){var y=k2();return mt(a+y*(s-a+b8("1e-"+((y+"").length-1))),s)}return hc(a,s)}var Zw=Ji(function(a,s,d){return s=s.toLowerCase(),a+(d?e1(s):s)});function e1(a){return Yc(Ee(a).toLowerCase())}function t1(a){return a=Ee(a),a&&a.replace(F5,X8).replace(s8,"")}function Yw(a,s,d){a=Ee(a),s=Kt(s);var v=a.length;d=d===t?v:ti(me(d),0,v);var y=d;return d-=s.length,d>=0&&a.slice(d,y)==s}function Fw(a){return a=Ee(a),a&&P5.test(a)?a.replace(Lh,E8):a}function Nw(a){return a=Ee(a),a&&D5.test(a)?a.replace(Iu,"\\$&"):a}var Rw=Ji(function(a,s,d){return a+(d?"-":"")+s.toLowerCase()}),Gw=Ji(function(a,s,d){return a+(d?" ":"")+s.toLowerCase()}),Qw=iv("toLowerCase");function Vw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;if(!s||v>=s)return a;var y=(s-v)/2;return Cs(fs(y),d)+a+Cs(ds(y),d)}function qw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;return s&&v<s?a+Cs(s-v,d):a}function Jw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;return s&&v<s?Cs(s-v,d)+a:a}function Uw(a,s,d){return d||s==null?s=0:s&&(s=+s),n7(Ee(a).replace(Su,""),s||0)}function Kw(a,s,d){return(d?Ct(a,s,d):s===t)?s=1:s=me(s),vc(Ee(a),s)}function _w(){var a=arguments,s=Ee(a[0]);return a.length<3?s:s.replace(a[1],a[2])}var $w=Ji(function(a,s,d){return a+(d?"_":"")+s.toLowerCase()});function ex(a,s,d){return d&&typeof d!="number"&&Ct(a,s,d)&&(s=d=t),d=d===t?oe:d>>>0,d?(a=Ee(a),a&&(typeof s=="string"||s!=null&&!Mc(s))&&(s=Kt(s),!s&&Yi(a))?Ln(wr(a),0,d):a.split(s,d)):[]}var tx=Ji(function(a,s,d){return a+(d?" ":"")+Yc(s)});function rx(a,s,d){return a=Ee(a),d=d==null?0:ti(me(d),0,a.length),s=Kt(s),a.slice(d,d+s.length)==s}function nx(a,s,d){var v=C.templateSettings;d&&Ct(a,s,d)&&(s=t),a=Ee(a),s=Ss({},s,v,dv);var y=Ss({},s.imports,v.imports,dv),H=ut(y),E=_u(y,H),j,S,G=0,Q=s.interpolate||Uo,q="__p += '",ne=ec((s.escape||Uo).source+"|"+Q.source+"|"+(Q===Bh?I5:Uo).source+"|"+(s.evaluate||Uo).source+"|$","g"),le="//# sourceURL="+(Le.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++f8+"]")+`
|
|
55
|
+
`)}function O6(a){return ge(a)||ai(a)||!!(x2&&a&&a[x2])}function nn(a,s){var d=typeof a;return s=s??F,!!s&&(d=="number"||d!="symbol"&&Y5.test(a))&&a>-1&&a%1==0&&a<s}function Ct(a,s,d){if(!Je(d))return!1;var v=typeof s;return(v=="number"?St(d)&&nn(s,d.length):v=="string"&&s in d)?Pr(d[s],a):!1}function Oc(a,s){if(ge(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||_t(a)?!0:A5.test(a)||!C5.test(a)||s!=null&&a in Se(s)}function X6(a){var s=typeof a;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?a!=="__proto__":a===null}function Xc(a){var s=Hs(a),d=C[s];if(typeof d!="function"||!(s in Ce.prototype))return!1;if(a===d)return!0;var v=Ac(d);return!!v&&a===v[0]}function E6(a){return!!b2&&b2 in a}var L6=ns?an:Vc;function _a(a){var s=a&&a.constructor,d=typeof s=="function"&&s.prototype||Ri;return a===d}function bv(a){return a===a&&!Je(a)}function mv(a,s){return function(d){return d==null?!1:d[a]===s&&(s!==t||a in Se(d))}}function B6(a){var s=Bs(a,function(v){return d.size===f&&d.clear(),v}),d=s.cache;return s}function j6(a,s){var d=a[1],v=s[1],y=d|v,H=y<(A|z|B),E=v==B&&d==k||v==B&&d==T&&a[7].length<=s[8]||v==(B|T)&&s[7].length<=s[8]&&d==k;if(!(H||E))return a;v&A&&(a[2]=s[2],y|=d&A?0:w);var j=s[3];if(j){var S=a[3];a[3]=S?ev(S,j,s[4]):j,a[4]=S?Hn(a[3],p):s[4]}return j=s[5],j&&(S=a[5],a[5]=S?tv(S,j,s[6]):j,a[6]=S?Hn(a[5],p):s[6]),j=s[7],j&&(a[7]=j),v&B&&(a[8]=a[8]==null?s[8]:mt(a[8],s[8])),a[9]==null&&(a[9]=s[9]),a[0]=s[0],a[1]=y,a}function T6(a){var s=[];if(a!=null)for(var d in Se(a))s.push(d);return s}function I6(a){return as.call(a)}function yv(a,s,d){return s=st(s===t?a.length-1:s,0),function(){for(var v=arguments,y=-1,H=st(v.length-s,0),E=Y(H);++y<H;)E[y]=v[s+y];y=-1;for(var j=Y(s+1);++y<s;)j[y]=v[y];return j[s]=d(E),Jt(a,this,j)}}function wv(a,s){return s.length<2?a:ri(a,fr(s,0,-1))}function S6(a,s){for(var d=a.length,v=mt(s.length,d),y=It(a);v--;){var H=s[v];a[v]=nn(H,d)?y[H]:t}return a}function Ec(a,s){if(!(s==="constructor"&&typeof a[s]=="function")&&s!="__proto__")return a[s]}var xv=kv(R2),$a=_8||function(a,s){return ft.setTimeout(a,s)},Lc=kv(o6);function Pv(a,s,d){var v=s+"";return Lc(a,D6(v,M6(C6(v),d)))}function kv(a){var s=0,d=0;return function(){var v=r7(),y=V-(v-d);if(d=v,y>0){if(++s>=N)return arguments[0]}else s=0;return a.apply(t,arguments)}}function Os(a,s){var d=-1,v=a.length,y=v-1;for(s=s===t?v:s;++d<s;){var H=hc(d,y),E=a[H];a[H]=a[d],a[d]=E}return a.length=s,a}var zv=B6(function(a){var s=[];return a.charCodeAt(0)===46&&s.push(""),a.replace(H5,function(d,v,y,H){s.push(y?H.replace(T5,"$1"):v||d)}),s});function Sr(a){if(typeof a=="string"||_t(a))return a;var s=a+"";return s=="0"&&1/a==-ee?"-0":s}function ii(a){if(a!=null){try{return is.call(a)}catch{}try{return a+""}catch{}}return""}function M6(a,s){return lr(Re,function(d){var v="_."+d[0];s&d[1]&&!$o(a,v)&&a.push(v)}),a.sort()}function Cv(a){if(a instanceof Ce)return a.clone();var s=new cr(a.__wrapped__,a.__chain__);return s.__actions__=It(a.__actions__),s.__index__=a.__index__,s.__values__=a.__values__,s}function W6(a,s,d){(d?Ct(a,s,d):s===t)?s=1:s=st(me(s),0);var v=a==null?0:a.length;if(!v||s<1)return[];for(var y=0,H=0,E=Y(ds(v/s));y<v;)E[H++]=fr(a,y,y+=s);return E}function Z6(a){for(var s=-1,d=a==null?0:a.length,v=0,y=[];++s<d;){var H=a[s];H&&(y[v++]=H)}return y}function Y6(){var a=arguments.length;if(!a)return[];for(var s=Y(a-1),d=arguments[0],v=a;v--;)s[v-1]=arguments[v];return An(ge(d)?It(d):[d],pt(s,1))}var F6=ke(function(a,s){return et(a)?Va(a,pt(s,1,et,!0)):[]}),N6=ke(function(a,s){var d=pr(s);return et(d)&&(d=t),et(a)?Va(a,pt(s,1,et,!0),ce(d,2)):[]}),R6=ke(function(a,s){var d=pr(s);return et(d)&&(d=t),et(a)?Va(a,pt(s,1,et,!0),t,d):[]});function G6(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),fr(a,s<0?0:s,v)):[]}function Q6(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),s=v-s,fr(a,0,s<0?0:s)):[]}function V6(a,s){return a&&a.length?xs(a,ce(s,3),!0,!0):[]}function q6(a,s){return a&&a.length?xs(a,ce(s,3),!0):[]}function J6(a,s,d,v){var y=a==null?0:a.length;return y?(d&&typeof d!="number"&&Ct(a,s,d)&&(d=0,v=y),Y7(a,s,d,v)):[]}function Av(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=d==null?0:me(d);return y<0&&(y=st(v+y,0)),es(a,ce(s,3),y)}function Hv(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=v-1;return d!==t&&(y=me(d),y=d<0?st(v+y,0):mt(y,v-1)),es(a,ce(s,3),y,!0)}function Dv(a){var s=a==null?0:a.length;return s?pt(a,1):[]}function U6(a){var s=a==null?0:a.length;return s?pt(a,ee):[]}function K6(a,s){var d=a==null?0:a.length;return d?(s=s===t?1:me(s),pt(a,s)):[]}function _6(a){for(var s=-1,d=a==null?0:a.length,v={};++s<d;){var y=a[s];v[y[0]]=y[1]}return v}function Ov(a){return a&&a.length?a[0]:t}function $6(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=d==null?0:me(d);return y<0&&(y=st(v+y,0)),Zi(a,s,y)}function ey(a){var s=a==null?0:a.length;return s?fr(a,0,-1):[]}var ty=ke(function(a){var s=Ge(a,yc);return s.length&&s[0]===a[0]?uc(s):[]}),ry=ke(function(a){var s=pr(a),d=Ge(a,yc);return s===pr(d)?s=t:d.pop(),d.length&&d[0]===a[0]?uc(d,ce(s,2)):[]}),ny=ke(function(a){var s=pr(a),d=Ge(a,yc);return s=typeof s=="function"?s:t,s&&d.pop(),d.length&&d[0]===a[0]?uc(d,t,s):[]});function iy(a,s){return a==null?"":e7.call(a,s)}function pr(a){var s=a==null?0:a.length;return s?a[s-1]:t}function ay(a,s,d){var v=a==null?0:a.length;if(!v)return-1;var y=v;return d!==t&&(y=me(d),y=y<0?st(v+y,0):mt(y,v-1)),s===s?M8(a,s,y):es(a,u2,y,!0)}function oy(a,s){return a&&a.length?Z2(a,me(s)):t}var sy=ke(Xv);function Xv(a,s){return a&&a.length&&s&&s.length?pc(a,s):a}function ly(a,s,d){return a&&a.length&&s&&s.length?pc(a,s,ce(d,2)):a}function uy(a,s,d){return a&&a.length&&s&&s.length?pc(a,s,t,d):a}var cy=rn(function(a,s){var d=a==null?0:a.length,v=ac(a,s);return N2(a,Ge(s,function(y){return nn(y,d)?+y:y}).sort($2)),v});function dy(a,s){var d=[];if(!(a&&a.length))return d;var v=-1,y=[],H=a.length;for(s=ce(s,3);++v<H;){var E=a[v];s(E,v,a)&&(d.push(E),y.push(v))}return N2(a,y),d}function Bc(a){return a==null?a:i7.call(a)}function fy(a,s,d){var v=a==null?0:a.length;return v?(d&&typeof d!="number"&&Ct(a,s,d)?(s=0,d=v):(s=s==null?0:me(s),d=d===t?v:me(d)),fr(a,s,d)):[]}function py(a,s){return ws(a,s)}function hy(a,s,d){return gc(a,s,ce(d,2))}function vy(a,s){var d=a==null?0:a.length;if(d){var v=ws(a,s);if(v<d&&Pr(a[v],s))return v}return-1}function gy(a,s){return ws(a,s,!0)}function by(a,s,d){return gc(a,s,ce(d,2),!0)}function my(a,s){var d=a==null?0:a.length;if(d){var v=ws(a,s,!0)-1;if(Pr(a[v],s))return v}return-1}function yy(a){return a&&a.length?G2(a):[]}function wy(a,s){return a&&a.length?G2(a,ce(s,2)):[]}function xy(a){var s=a==null?0:a.length;return s?fr(a,1,s):[]}function Py(a,s,d){return a&&a.length?(s=d||s===t?1:me(s),fr(a,0,s<0?0:s)):[]}function ky(a,s,d){var v=a==null?0:a.length;return v?(s=d||s===t?1:me(s),s=v-s,fr(a,s<0?0:s,v)):[]}function zy(a,s){return a&&a.length?xs(a,ce(s,3),!1,!0):[]}function Cy(a,s){return a&&a.length?xs(a,ce(s,3)):[]}var Ay=ke(function(a){return Xn(pt(a,1,et,!0))}),Hy=ke(function(a){var s=pr(a);return et(s)&&(s=t),Xn(pt(a,1,et,!0),ce(s,2))}),Dy=ke(function(a){var s=pr(a);return s=typeof s=="function"?s:t,Xn(pt(a,1,et,!0),t,s)});function Oy(a){return a&&a.length?Xn(a):[]}function Xy(a,s){return a&&a.length?Xn(a,ce(s,2)):[]}function Ey(a,s){return s=typeof s=="function"?s:t,a&&a.length?Xn(a,t,s):[]}function jc(a){if(!(a&&a.length))return[];var s=0;return a=Cn(a,function(d){if(et(d))return s=st(d.length,s),!0}),Ku(s,function(d){return Ge(a,qu(d))})}function Ev(a,s){if(!(a&&a.length))return[];var d=jc(a);return s==null?d:Ge(d,function(v){return Jt(s,t,v)})}var Ly=ke(function(a,s){return et(a)?Va(a,s):[]}),By=ke(function(a){return mc(Cn(a,et))}),jy=ke(function(a){var s=pr(a);return et(s)&&(s=t),mc(Cn(a,et),ce(s,2))}),Ty=ke(function(a){var s=pr(a);return s=typeof s=="function"?s:t,mc(Cn(a,et),t,s)}),Iy=ke(jc);function Sy(a,s){return J2(a||[],s||[],Qa)}function My(a,s){return J2(a||[],s||[],Ua)}var Wy=ke(function(a){var s=a.length,d=s>1?a[s-1]:t;return d=typeof d=="function"?(a.pop(),d):t,Ev(a,d)});function Lv(a){var s=C(a);return s.__chain__=!0,s}function Zy(a,s){return s(a),a}function Xs(a,s){return s(a)}var Yy=rn(function(a){var s=a.length,d=s?a[0]:0,v=this.__wrapped__,y=function(H){return ac(H,a)};return s>1||this.__actions__.length||!(v instanceof Ce)||!nn(d)?this.thru(y):(v=v.slice(d,+d+(s?1:0)),v.__actions__.push({func:Xs,args:[y],thisArg:t}),new cr(v,this.__chain__).thru(function(H){return s&&!H.length&&H.push(t),H}))});function Fy(){return Lv(this)}function Ny(){return new cr(this.value(),this.__chain__)}function Ry(){this.__values__===t&&(this.__values__=Qv(this.value()));var a=this.__index__>=this.__values__.length,s=a?t:this.__values__[this.__index__++];return{done:a,value:s}}function Gy(){return this}function Qy(a){for(var s,d=this;d instanceof vs;){var v=Cv(d);v.__index__=0,v.__values__=t,s?y.__wrapped__=v:s=v;var y=v;d=d.__wrapped__}return y.__wrapped__=a,s}function Vy(){var a=this.__wrapped__;if(a instanceof Ce){var s=a;return this.__actions__.length&&(s=new Ce(this)),s=s.reverse(),s.__actions__.push({func:Xs,args:[Bc],thisArg:t}),new cr(s,this.__chain__)}return this.thru(Bc)}function qy(){return q2(this.__wrapped__,this.__actions__)}var Jy=Ps(function(a,s,d){Le.call(a,d)?++a[d]:en(a,d,1)});function Uy(a,s,d){var v=ge(a)?s2:Z7;return d&&Ct(a,s,d)&&(s=t),v(a,ce(s,3))}function Ky(a,s){var d=ge(a)?Cn:E2;return d(a,ce(s,3))}var _y=av(Av),$y=av(Hv);function e4(a,s){return pt(Es(a,s),1)}function t4(a,s){return pt(Es(a,s),ee)}function r4(a,s,d){return d=d===t?1:me(d),pt(Es(a,s),d)}function Bv(a,s){var d=ge(a)?lr:On;return d(a,ce(s,3))}function jv(a,s){var d=ge(a)?x8:X2;return d(a,ce(s,3))}var n4=Ps(function(a,s,d){Le.call(a,d)?a[d].push(s):en(a,d,[s])});function i4(a,s,d,v){a=St(a)?a:_i(a),d=d&&!v?me(d):0;var y=a.length;return d<0&&(d=st(y+d,0)),Is(a)?d<=y&&a.indexOf(s,d)>-1:!!y&&Zi(a,s,d)>-1}var a4=ke(function(a,s,d){var v=-1,y=typeof s=="function",H=St(a)?Y(a.length):[];return On(a,function(E){H[++v]=y?Jt(s,E,d):qa(E,s,d)}),H}),o4=Ps(function(a,s,d){en(a,d,s)});function Es(a,s){var d=ge(a)?Ge:S2;return d(a,ce(s,3))}function s4(a,s,d,v){return a==null?[]:(ge(s)||(s=s==null?[]:[s]),d=v?t:d,ge(d)||(d=d==null?[]:[d]),Y2(a,s,d))}var l4=Ps(function(a,s,d){a[d?0:1].push(s)},function(){return[[],[]]});function u4(a,s,d){var v=ge(a)?Qu:d2,y=arguments.length<3;return v(a,ce(s,4),d,y,On)}function c4(a,s,d){var v=ge(a)?P8:d2,y=arguments.length<3;return v(a,ce(s,4),d,y,X2)}function d4(a,s){var d=ge(a)?Cn:E2;return d(a,js(ce(s,3)))}function f4(a){var s=ge(a)?A2:i6;return s(a)}function p4(a,s,d){(d?Ct(a,s,d):s===t)?s=1:s=me(s);var v=ge(a)?T7:a6;return v(a,s)}function h4(a){var s=ge(a)?I7:s6;return s(a)}function v4(a){if(a==null)return 0;if(St(a))return Is(a)?Fi(a):a.length;var s=yt(a);return s==Tt||s==yr?a.size:dc(a).length}function g4(a,s,d){var v=ge(a)?Vu:l6;return d&&Ct(a,s,d)&&(s=t),v(a,ce(s,3))}var b4=ke(function(a,s){if(a==null)return[];var d=s.length;return d>1&&Ct(a,s[0],s[1])?s=[]:d>2&&Ct(s[0],s[1],s[2])&&(s=[s[0]]),Y2(a,pt(s,1),[])}),Ls=K8||function(){return ft.Date.now()};function m4(a,s){if(typeof s!="function")throw new ur(l);return a=me(a),function(){if(--a<1)return s.apply(this,arguments)}}function Tv(a,s,d){return s=d?t:s,s=a&&s==null?a.length:s,tn(a,B,t,t,t,t,s)}function Iv(a,s){var d;if(typeof s!="function")throw new ur(l);return a=me(a),function(){return--a>0&&(d=s.apply(this,arguments)),a<=1&&(s=t),d}}var Tc=ke(function(a,s,d){var v=A;if(d.length){var y=Hn(d,Ui(Tc));v|=O}return tn(a,v,s,d,y)}),Sv=ke(function(a,s,d){var v=A|z;if(d.length){var y=Hn(d,Ui(Sv));v|=O}return tn(s,v,a,d,y)});function Mv(a,s,d){s=d?t:s;var v=tn(a,k,t,t,t,t,t,s);return v.placeholder=Mv.placeholder,v}function Wv(a,s,d){s=d?t:s;var v=tn(a,D,t,t,t,t,t,s);return v.placeholder=Wv.placeholder,v}function Zv(a,s,d){var v,y,H,E,j,S,G=0,Q=!1,q=!1,ne=!0;if(typeof a!="function")throw new ur(l);s=hr(s)||0,Je(d)&&(Q=!!d.leading,q="maxWait"in d,H=q?st(hr(d.maxWait)||0,s):H,ne="trailing"in d?!!d.trailing:ne);function le(tt){var kr=v,sn=y;return v=y=t,G=tt,E=a.apply(sn,kr),E}function de(tt){return G=tt,j=$a(ze,s),Q?le(tt):E}function we(tt){var kr=tt-S,sn=tt-G,a1=s-kr;return q?mt(a1,H-sn):a1}function fe(tt){var kr=tt-S,sn=tt-G;return S===t||kr>=s||kr<0||q&&sn>=H}function ze(){var tt=Ls();if(fe(tt))return He(tt);j=$a(ze,we(tt))}function He(tt){return j=t,ne&&v?le(tt):(v=y=t,E)}function $t(){j!==t&&U2(j),G=0,v=S=y=j=t}function At(){return j===t?E:He(Ls())}function er(){var tt=Ls(),kr=fe(tt);if(v=arguments,y=this,S=tt,kr){if(j===t)return de(S);if(q)return U2(j),j=$a(ze,s),le(S)}return j===t&&(j=$a(ze,s)),E}return er.cancel=$t,er.flush=At,er}var y4=ke(function(a,s){return O2(a,1,s)}),w4=ke(function(a,s,d){return O2(a,hr(s)||0,d)});function x4(a){return tn(a,X)}function Bs(a,s){if(typeof a!="function"||s!=null&&typeof s!="function")throw new ur(l);var d=function(){var v=arguments,y=s?s.apply(this,v):v[0],H=d.cache;if(H.has(y))return H.get(y);var E=a.apply(this,v);return d.cache=H.set(y,E)||H,E};return d.cache=new(Bs.Cache||$r),d}Bs.Cache=$r;function js(a){if(typeof a!="function")throw new ur(l);return function(){var s=arguments;switch(s.length){case 0:return!a.call(this);case 1:return!a.call(this,s[0]);case 2:return!a.call(this,s[0],s[1]);case 3:return!a.call(this,s[0],s[1],s[2])}return!a.apply(this,s)}}function P4(a){return Iv(2,a)}var k4=u6(function(a,s){s=s.length==1&&ge(s[0])?Ge(s[0],Ut(ce())):Ge(pt(s,1),Ut(ce()));var d=s.length;return ke(function(v){for(var y=-1,H=mt(v.length,d);++y<H;)v[y]=s[y].call(this,v[y]);return Jt(a,this,v)})}),Ic=ke(function(a,s){var d=Hn(s,Ui(Ic));return tn(a,O,t,s,d)}),Yv=ke(function(a,s){var d=Hn(s,Ui(Yv));return tn(a,L,t,s,d)}),z4=rn(function(a,s){return tn(a,T,t,t,t,s)});function C4(a,s){if(typeof a!="function")throw new ur(l);return s=s===t?s:me(s),ke(a,s)}function A4(a,s){if(typeof a!="function")throw new ur(l);return s=s==null?0:st(me(s),0),ke(function(d){var v=d[s],y=Ln(d,0,s);return v&&An(y,v),Jt(a,this,y)})}function H4(a,s,d){var v=!0,y=!0;if(typeof a!="function")throw new ur(l);return Je(d)&&(v="leading"in d?!!d.leading:v,y="trailing"in d?!!d.trailing:y),Zv(a,s,{leading:v,maxWait:s,trailing:y})}function D4(a){return Tv(a,1)}function O4(a,s){return Ic(wc(s),a)}function X4(){if(!arguments.length)return[];var a=arguments[0];return ge(a)?a:[a]}function E4(a){return dr(a,m)}function L4(a,s){return s=typeof s=="function"?s:t,dr(a,m,s)}function B4(a){return dr(a,h|m)}function j4(a,s){return s=typeof s=="function"?s:t,dr(a,h|m,s)}function T4(a,s){return s==null||D2(a,s,ut(s))}function Pr(a,s){return a===s||a!==a&&s!==s}var I4=As(lc),S4=As(function(a,s){return a>=s}),ai=j2(function(){return arguments}())?j2:function(a){return Ke(a)&&Le.call(a,"callee")&&!w2.call(a,"callee")},ge=Y.isArray,M4=t2?Ut(t2):Q7;function St(a){return a!=null&&Ts(a.length)&&!an(a)}function et(a){return Ke(a)&&St(a)}function W4(a){return a===!0||a===!1||Ke(a)&&zt(a)==Vt}var Bn=$8||Vc,Z4=r2?Ut(r2):V7;function Y4(a){return Ke(a)&&a.nodeType===1&&!eo(a)}function F4(a){if(a==null)return!0;if(St(a)&&(ge(a)||typeof a=="string"||typeof a.splice=="function"||Bn(a)||Ki(a)||ai(a)))return!a.length;var s=yt(a);if(s==Tt||s==yr)return!a.size;if(_a(a))return!dc(a).length;for(var d in a)if(Le.call(a,d))return!1;return!0}function N4(a,s){return Ja(a,s)}function R4(a,s,d){d=typeof d=="function"?d:t;var v=d?d(a,s):t;return v===t?Ja(a,s,t,d):!!v}function Sc(a){if(!Ke(a))return!1;var s=zt(a);return s==at||s==qt||typeof a.message=="string"&&typeof a.name=="string"&&!eo(a)}function G4(a){return typeof a=="number"&&P2(a)}function an(a){if(!Je(a))return!1;var s=zt(a);return s==Ur||s==Ta||s==$e||s==v5}function Fv(a){return typeof a=="number"&&a==me(a)}function Ts(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=F}function Je(a){var s=typeof a;return a!=null&&(s=="object"||s=="function")}function Ke(a){return a!=null&&typeof a=="object"}var Nv=n2?Ut(n2):J7;function Q4(a,s){return a===s||cc(a,s,Hc(s))}function V4(a,s,d){return d=typeof d=="function"?d:t,cc(a,s,Hc(s),d)}function q4(a){return Rv(a)&&a!=+a}function J4(a){if(L6(a))throw new he(o);return T2(a)}function U4(a){return a===null}function K4(a){return a==null}function Rv(a){return typeof a=="number"||Ke(a)&&zt(a)==jr}function eo(a){if(!Ke(a)||zt(a)!=Kr)return!1;var s=ls(a);if(s===null)return!0;var d=Le.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&is.call(d)==V8}var Mc=i2?Ut(i2):U7;function _4(a){return Fv(a)&&a>=-F&&a<=F}var Gv=a2?Ut(a2):K7;function Is(a){return typeof a=="string"||!ge(a)&&Ke(a)&&zt(a)==Sa}function _t(a){return typeof a=="symbol"||Ke(a)&&zt(a)==Jo}var Ki=o2?Ut(o2):_7;function $4(a){return a===t}function ew(a){return Ke(a)&&yt(a)==Ma}function tw(a){return Ke(a)&&zt(a)==b5}var rw=As(fc),nw=As(function(a,s){return a<=s});function Qv(a){if(!a)return[];if(St(a))return Is(a)?wr(a):It(a);if(Ya&&a[Ya])return T8(a[Ya]());var s=yt(a),d=s==Tt?$u:s==yr?ts:_i;return d(a)}function on(a){if(!a)return a===0?a:0;if(a=hr(a),a===ee||a===-ee){var s=a<0?-1:1;return s*Z}return a===a?a:0}function me(a){var s=on(a),d=s%1;return s===s?d?s-d:s:0}function Vv(a){return a?ti(me(a),0,oe):0}function hr(a){if(typeof a=="number")return a;if(_t(a))return $;if(Je(a)){var s=typeof a.valueOf=="function"?a.valueOf():a;a=Je(s)?s+"":s}if(typeof a!="string")return a===0?a:+a;a=f2(a);var d=M5.test(a);return d||Z5.test(a)?m8(a.slice(2),d?2:8):S5.test(a)?$:+a}function qv(a){return Ir(a,Mt(a))}function iw(a){return a?ti(me(a),-F,F):a===0?a:0}function Ee(a){return a==null?"":Kt(a)}var aw=qi(function(a,s){if(_a(s)||St(s)){Ir(s,ut(s),a);return}for(var d in s)Le.call(s,d)&&Qa(a,d,s[d])}),Jv=qi(function(a,s){Ir(s,Mt(s),a)}),Ss=qi(function(a,s,d,v){Ir(s,Mt(s),a,v)}),ow=qi(function(a,s,d,v){Ir(s,ut(s),a,v)}),sw=rn(ac);function lw(a,s){var d=Vi(a);return s==null?d:H2(d,s)}var uw=ke(function(a,s){a=Se(a);var d=-1,v=s.length,y=v>2?s[2]:t;for(y&&Ct(s[0],s[1],y)&&(v=1);++d<v;)for(var H=s[d],E=Mt(H),j=-1,S=E.length;++j<S;){var G=E[j],Q=a[G];(Q===t||Pr(Q,Ri[G])&&!Le.call(a,G))&&(a[G]=H[G])}return a}),cw=ke(function(a){return a.push(t,fv),Jt(Uv,t,a)});function dw(a,s){return l2(a,ce(s,3),Tr)}function fw(a,s){return l2(a,ce(s,3),sc)}function pw(a,s){return a==null?a:oc(a,ce(s,3),Mt)}function hw(a,s){return a==null?a:L2(a,ce(s,3),Mt)}function vw(a,s){return a&&Tr(a,ce(s,3))}function gw(a,s){return a&&sc(a,ce(s,3))}function bw(a){return a==null?[]:ms(a,ut(a))}function mw(a){return a==null?[]:ms(a,Mt(a))}function Wc(a,s,d){var v=a==null?t:ri(a,s);return v===t?d:v}function yw(a,s){return a!=null&&vv(a,s,F7)}function Zc(a,s){return a!=null&&vv(a,s,N7)}var ww=sv(function(a,s,d){s!=null&&typeof s.toString!="function"&&(s=as.call(s)),a[s]=d},Fc(Wt)),xw=sv(function(a,s,d){s!=null&&typeof s.toString!="function"&&(s=as.call(s)),Le.call(a,s)?a[s].push(d):a[s]=[d]},ce),Pw=ke(qa);function ut(a){return St(a)?C2(a):dc(a)}function Mt(a){return St(a)?C2(a,!0):$7(a)}function kw(a,s){var d={};return s=ce(s,3),Tr(a,function(v,y,H){en(d,s(v,y,H),v)}),d}function zw(a,s){var d={};return s=ce(s,3),Tr(a,function(v,y,H){en(d,y,s(v,y,H))}),d}var Cw=qi(function(a,s,d){ys(a,s,d)}),Uv=qi(function(a,s,d,v){ys(a,s,d,v)}),Aw=rn(function(a,s){var d={};if(a==null)return d;var v=!1;s=Ge(s,function(H){return H=En(H,a),v||(v=H.length>1),H}),Ir(a,Cc(a),d),v&&(d=dr(d,h|b|m,w6));for(var y=s.length;y--;)bc(d,s[y]);return d});function Hw(a,s){return Kv(a,js(ce(s)))}var Dw=rn(function(a,s){return a==null?{}:t6(a,s)});function Kv(a,s){if(a==null)return{};var d=Ge(Cc(a),function(v){return[v]});return s=ce(s),F2(a,d,function(v,y){return s(v,y[0])})}function Ow(a,s,d){s=En(s,a);var v=-1,y=s.length;for(y||(y=1,a=t);++v<y;){var H=a==null?t:a[Sr(s[v])];H===t&&(v=y,H=d),a=an(H)?H.call(a):H}return a}function Xw(a,s,d){return a==null?a:Ua(a,s,d)}function Ew(a,s,d,v){return v=typeof v=="function"?v:t,a==null?a:Ua(a,s,d,v)}var _v=cv(ut),$v=cv(Mt);function Lw(a,s,d){var v=ge(a),y=v||Bn(a)||Ki(a);if(s=ce(s,4),d==null){var H=a&&a.constructor;y?d=v?new H:[]:Je(a)?d=an(H)?Vi(ls(a)):{}:d={}}return(y?lr:Tr)(a,function(E,j,S){return s(d,E,j,S)}),d}function Bw(a,s){return a==null?!0:bc(a,s)}function jw(a,s,d){return a==null?a:V2(a,s,wc(d))}function Tw(a,s,d,v){return v=typeof v=="function"?v:t,a==null?a:V2(a,s,wc(d),v)}function _i(a){return a==null?[]:_u(a,ut(a))}function Iw(a){return a==null?[]:_u(a,Mt(a))}function Sw(a,s,d){return d===t&&(d=s,s=t),d!==t&&(d=hr(d),d=d===d?d:0),s!==t&&(s=hr(s),s=s===s?s:0),ti(hr(a),s,d)}function Mw(a,s,d){return s=on(s),d===t?(d=s,s=0):d=on(d),a=hr(a),R7(a,s,d)}function Ww(a,s,d){if(d&&typeof d!="boolean"&&Ct(a,s,d)&&(s=d=t),d===t&&(typeof s=="boolean"?(d=s,s=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&s===t?(a=0,s=1):(a=on(a),s===t?(s=a,a=0):s=on(s)),a>s){var v=a;a=s,s=v}if(d||a%1||s%1){var y=k2();return mt(a+y*(s-a+b8("1e-"+((y+"").length-1))),s)}return hc(a,s)}var Zw=Ji(function(a,s,d){return s=s.toLowerCase(),a+(d?e1(s):s)});function e1(a){return Yc(Ee(a).toLowerCase())}function t1(a){return a=Ee(a),a&&a.replace(F5,X8).replace(s8,"")}function Yw(a,s,d){a=Ee(a),s=Kt(s);var v=a.length;d=d===t?v:ti(me(d),0,v);var y=d;return d-=s.length,d>=0&&a.slice(d,y)==s}function Fw(a){return a=Ee(a),a&&P5.test(a)?a.replace(Lh,E8):a}function Nw(a){return a=Ee(a),a&&D5.test(a)?a.replace(Iu,"\\$&"):a}var Rw=Ji(function(a,s,d){return a+(d?"-":"")+s.toLowerCase()}),Gw=Ji(function(a,s,d){return a+(d?" ":"")+s.toLowerCase()}),Qw=iv("toLowerCase");function Vw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;if(!s||v>=s)return a;var y=(s-v)/2;return Cs(fs(y),d)+a+Cs(ds(y),d)}function qw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;return s&&v<s?a+Cs(s-v,d):a}function Jw(a,s,d){a=Ee(a),s=me(s);var v=s?Fi(a):0;return s&&v<s?Cs(s-v,d)+a:a}function Uw(a,s,d){return d||s==null?s=0:s&&(s=+s),n7(Ee(a).replace(Su,""),s||0)}function Kw(a,s,d){return(d?Ct(a,s,d):s===t)?s=1:s=me(s),vc(Ee(a),s)}function _w(){var a=arguments,s=Ee(a[0]);return a.length<3?s:s.replace(a[1],a[2])}var $w=Ji(function(a,s,d){return a+(d?"_":"")+s.toLowerCase()});function ex(a,s,d){return d&&typeof d!="number"&&Ct(a,s,d)&&(s=d=t),d=d===t?oe:d>>>0,d?(a=Ee(a),a&&(typeof s=="string"||s!=null&&!Mc(s))&&(s=Kt(s),!s&&Yi(a))?Ln(wr(a),0,d):a.split(s,d)):[]}var tx=Ji(function(a,s,d){return a+(d?" ":"")+Yc(s)});function rx(a,s,d){return a=Ee(a),d=d==null?0:ti(me(d),0,a.length),s=Kt(s),a.slice(d,d+s.length)==s}function nx(a,s,d){var v=C.templateSettings;d&&Ct(a,s,d)&&(s=t),a=Ee(a),s=Ss({},s,v,dv);var y=Ss({},s.imports,v.imports,dv),H=ut(y),E=_u(y,H),j,S,G=0,Q=s.interpolate||Uo,q="__p += '",ne=ec((s.escape||Uo).source+"|"+Q.source+"|"+(Q===Bh?I5:Uo).source+"|"+(s.evaluate||Uo).source+"|$","g"),le="//# sourceURL="+(Le.call(s,"sourceURL")?(s.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++f8+"]")+`
|
|
56
56
|
`;a.replace(ne,function(fe,ze,He,$t,At,er){return He||(He=$t),q+=a.slice(G,er).replace(N5,L8),ze&&(j=!0,q+=`' +
|
|
57
57
|
__e(`+ze+`) +
|
|
58
58
|
'`),At&&(S=!0,q+=`';
|
|
@@ -69,7 +69,7 @@ __p += '`),He&&(q+=`' +
|
|
|
69
69
|
function print() { __p += __j.call(arguments, '') }
|
|
70
70
|
`:`;
|
|
71
71
|
`)+q+`return __p
|
|
72
|
-
}`;var we=n1(function(){return Xe(H,le+"return "+q).apply(t,E)});if(we.source=q,Sc(we))throw we;return we}function ix(a){return Ee(a).toLowerCase()}function ax(a){return Ee(a).toUpperCase()}function ox(a,s,d){if(a=Ee(a),a&&(d||s===t))return f2(a);if(!a||!(s=Kt(s)))return a;var v=wr(a),y=wr(s),H=p2(v,y),E=h2(v,y)+1;return Ln(v,H,E).join("")}function sx(a,s,d){if(a=Ee(a),a&&(d||s===t))return a.slice(0,g2(a)+1);if(!a||!(s=Kt(s)))return a;var v=wr(a),y=h2(v,wr(s))+1;return Ln(v,0,y).join("")}function lx(a,s,d){if(a=Ee(a),a&&(d||s===t))return a.replace(Su,"");if(!a||!(s=Kt(s)))return a;var v=wr(a),y=p2(v,wr(s));return Ln(v,y).join("")}function ux(a,s){var d=W,v=M;if(Je(s)){var y="separator"in s?s.separator:y;d="length"in s?me(s.length):d,v="omission"in s?Kt(s.omission):v}a=Ee(a);var H=a.length;if(Yi(a)){var E=wr(a);H=E.length}if(d>=H)return a;var j=d-Fi(v);if(j<1)return v;var S=E?Ln(E,0,j).join(""):a.slice(0,j);if(y===t)return S+v;if(E&&(j+=S.length-j),Mc(y)){if(a.slice(j).search(y)){var G,Q=S;for(y.global||(y=ec(y.source,Ee(jh.exec(y))+"g")),y.lastIndex=0;G=y.exec(Q);)var q=G.index;S=S.slice(0,q===t?j:q)}}else if(a.indexOf(Kt(y),j)!=j){var ne=S.lastIndexOf(y);ne>-1&&(S=S.slice(0,ne))}return S+v}function cx(a){return a=Ee(a),a&&x5.test(a)?a.replace(Eh,W8):a}var dx=Ji(function(a,s,d){return a+(d?" ":"")+s.toUpperCase()}),Yc=iv("toUpperCase");function r1(a,s,d){return a=Ee(a),s=d?t:s,s===t?j8(a)?F8(a):C8(a):a.match(s)||[]}var n1=ke(function(a,s){try{return Jt(a,t,s)}catch(d){return Sc(d)?d:new he(d)}}),fx=rn(function(a,s){return sr(s,function(d){d=Sr(d),en(a,d,Tc(a[d],a))}),a});function px(a){var s=a==null?0:a.length,d=ce();return a=s?Ge(a,function(v){if(typeof v[1]!="function")throw new lr(l);return[d(v[0]),v[1]]}):[],ke(function(v){for(var y=-1;++y<s;){var H=a[y];if(Jt(H[0],this,v))return Jt(H[1],this,v)}})}function hx(a){return W7(cr(a,h))}function Fc(a){return function(){return a}}function vx(a,s){return a==null||a!==a?s:a}var gx=ov(),bx=ov(!0);function Wt(a){return a}function Nc(a){return I2(typeof a=="function"?a:cr(a,h))}function mx(a){return M2(cr(a,h))}function yx(a,s){return W2(a,cr(s,h))}var wx=ke(function(a,s){return function(d){return qa(d,a,s)}}),xx=ke(function(a,s){return function(d){return qa(a,d,s)}});function Rc(a,s,d){var v=ut(s),y=ms(s,v);d==null&&!(Je(s)&&(y.length||!v.length))&&(d=s,s=a,a=this,y=ms(s,ut(s)));var H=!(Je(d)&&"chain"in d)||!!d.chain,E=an(a);return sr(y,function(j){var S=s[j];a[j]=S,E&&(a.prototype[j]=function(){var G=this.__chain__;if(H||G){var Q=a(this.__wrapped__),q=Q.__actions__=It(this.__actions__);return q.push({func:S,args:arguments,thisArg:a}),Q.__chain__=G,Q}return S.apply(a,An([this.value()],arguments))})}),a}function Px(){return ft._===this&&(ft._=q8),this}function Gc(){}function kx(a){return a=me(a),ke(function(s){return Z2(s,a)})}var zx=Pc(Ge),Cx=Pc(s2),Ax=Pc(Vu);function i1(a){return Oc(a)?qu(Sr(a)):r6(a)}function Hx(a){return function(s){return a==null?t:ri(a,s)}}var Dx=lv(),Ox=lv(!0);function Qc(){return[]}function Vc(){return!1}function Xx(){return{}}function Ex(){return""}function Lx(){return!0}function Bx(a,s){if(a=me(a),a<1||a>F)return[];var d=oe,v=mt(a,oe);s=ce(s),a-=oe;for(var y=Ku(v,s);++d<a;)s(d);return y}function jx(a){return ge(a)?Ge(a,Sr):_t(a)?[a]:It(zv(Ee(a)))}function Tx(a){var s=++Q8;return Ee(a)+s}var Ix=zs(function(a,s){return a+s},0),Sx=kc("ceil"),Mx=zs(function(a,s){return a/s},1),Wx=kc("floor");function Zx(a){return a&&a.length?bs(a,Wt,lc):t}function Yx(a,s){return a&&a.length?bs(a,ce(s,2),lc):t}function Fx(a){return c2(a,Wt)}function Nx(a,s){return c2(a,ce(s,2))}function Rx(a){return a&&a.length?bs(a,Wt,fc):t}function Gx(a,s){return a&&a.length?bs(a,ce(s,2),fc):t}var Qx=zs(function(a,s){return a*s},1),Vx=kc("round"),qx=zs(function(a,s){return a-s},0);function Jx(a){return a&&a.length?Uu(a,Wt):0}function Ux(a,s){return a&&a.length?Uu(a,ce(s,2)):0}return C.after=m4,C.ary=Tv,C.assign=aw,C.assignIn=Jv,C.assignInWith=Ss,C.assignWith=ow,C.at=sw,C.before=Iv,C.bind=Tc,C.bindAll=fx,C.bindKey=Sv,C.castArray=X4,C.chain=Lv,C.chunk=W6,C.compact=Z6,C.concat=Y6,C.cond=px,C.conforms=hx,C.constant=Fc,C.countBy=Jy,C.create=lw,C.curry=Mv,C.curryRight=Wv,C.debounce=Zv,C.defaults=uw,C.defaultsDeep=cw,C.defer=y4,C.delay=w4,C.difference=F6,C.differenceBy=N6,C.differenceWith=R6,C.drop=G6,C.dropRight=Q6,C.dropRightWhile=V6,C.dropWhile=q6,C.fill=J6,C.filter=Ky,C.flatMap=e4,C.flatMapDeep=t4,C.flatMapDepth=r4,C.flatten=Dv,C.flattenDeep=U6,C.flattenDepth=K6,C.flip=x4,C.flow=gx,C.flowRight=bx,C.fromPairs=_6,C.functions=bw,C.functionsIn=mw,C.groupBy=n4,C.initial=ey,C.intersection=ty,C.intersectionBy=ry,C.intersectionWith=ny,C.invert=ww,C.invertBy=xw,C.invokeMap=a4,C.iteratee=Nc,C.keyBy=o4,C.keys=ut,C.keysIn=Mt,C.map=Es,C.mapKeys=kw,C.mapValues=zw,C.matches=mx,C.matchesProperty=yx,C.memoize=Bs,C.merge=Cw,C.mergeWith=Uv,C.method=wx,C.methodOf=xx,C.mixin=Rc,C.negate=js,C.nthArg=kx,C.omit=Aw,C.omitBy=Hw,C.once=P4,C.orderBy=s4,C.over=zx,C.overArgs=k4,C.overEvery=Cx,C.overSome=Ax,C.partial=Ic,C.partialRight=Yv,C.partition=l4,C.pick=Dw,C.pickBy=Kv,C.property=i1,C.propertyOf=Hx,C.pull=sy,C.pullAll=Xv,C.pullAllBy=ly,C.pullAllWith=uy,C.pullAt=cy,C.range=Dx,C.rangeRight=Ox,C.rearg=z4,C.reject=d4,C.remove=dy,C.rest=C4,C.reverse=Bc,C.sampleSize=p4,C.set=Xw,C.setWith=Ew,C.shuffle=h4,C.slice=fy,C.sortBy=b4,C.sortedUniq=yy,C.sortedUniqBy=wy,C.split=ex,C.spread=A4,C.tail=xy,C.take=Py,C.takeRight=ky,C.takeRightWhile=zy,C.takeWhile=Cy,C.tap=Zy,C.throttle=H4,C.thru=Xs,C.toArray=Qv,C.toPairs=_v,C.toPairsIn=$v,C.toPath=jx,C.toPlainObject=qv,C.transform=Lw,C.unary=D4,C.union=Ay,C.unionBy=Hy,C.unionWith=Dy,C.uniq=Oy,C.uniqBy=Xy,C.uniqWith=Ey,C.unset=Bw,C.unzip=jc,C.unzipWith=Ev,C.update=jw,C.updateWith=Tw,C.values=_i,C.valuesIn=Iw,C.without=Ly,C.words=r1,C.wrap=O4,C.xor=By,C.xorBy=jy,C.xorWith=Ty,C.zip=Iy,C.zipObject=Sy,C.zipObjectDeep=My,C.zipWith=Wy,C.entries=_v,C.entriesIn=$v,C.extend=Jv,C.extendWith=Ss,Rc(C,C),C.add=Ix,C.attempt=n1,C.camelCase=Zw,C.capitalize=e1,C.ceil=Sx,C.clamp=Sw,C.clone=E4,C.cloneDeep=B4,C.cloneDeepWith=j4,C.cloneWith=L4,C.conformsTo=T4,C.deburr=t1,C.defaultTo=vx,C.divide=Mx,C.endsWith=Yw,C.eq=Pr,C.escape=Fw,C.escapeRegExp=Nw,C.every=Uy,C.find=_y,C.findIndex=Av,C.findKey=dw,C.findLast=$y,C.findLastIndex=Hv,C.findLastKey=fw,C.floor=Wx,C.forEach=Bv,C.forEachRight=jv,C.forIn=pw,C.forInRight=hw,C.forOwn=vw,C.forOwnRight=gw,C.get=Wc,C.gt=I4,C.gte=S4,C.has=yw,C.hasIn=Zc,C.head=Ov,C.identity=Wt,C.includes=i4,C.indexOf=$6,C.inRange=Mw,C.invoke=Pw,C.isArguments=ai,C.isArray=ge,C.isArrayBuffer=M4,C.isArrayLike=St,C.isArrayLikeObject=et,C.isBoolean=W4,C.isBuffer=Bn,C.isDate=Z4,C.isElement=Y4,C.isEmpty=F4,C.isEqual=N4,C.isEqualWith=R4,C.isError=Sc,C.isFinite=G4,C.isFunction=an,C.isInteger=Fv,C.isLength=Ts,C.isMap=Nv,C.isMatch=Q4,C.isMatchWith=V4,C.isNaN=q4,C.isNative=J4,C.isNil=K4,C.isNull=U4,C.isNumber=Rv,C.isObject=Je,C.isObjectLike=Ke,C.isPlainObject=eo,C.isRegExp=Mc,C.isSafeInteger=_4,C.isSet=Gv,C.isString=Is,C.isSymbol=_t,C.isTypedArray=Ki,C.isUndefined=$4,C.isWeakMap=ew,C.isWeakSet=tw,C.join=iy,C.kebabCase=Rw,C.last=fr,C.lastIndexOf=ay,C.lowerCase=Gw,C.lowerFirst=Qw,C.lt=rw,C.lte=nw,C.max=Zx,C.maxBy=Yx,C.mean=Fx,C.meanBy=Nx,C.min=Rx,C.minBy=Gx,C.stubArray=Qc,C.stubFalse=Vc,C.stubObject=Xx,C.stubString=Ex,C.stubTrue=Lx,C.multiply=Qx,C.nth=oy,C.noConflict=Px,C.noop=Gc,C.now=Ls,C.pad=Vw,C.padEnd=qw,C.padStart=Jw,C.parseInt=Uw,C.random=Ww,C.reduce=u4,C.reduceRight=c4,C.repeat=Kw,C.replace=_w,C.result=Ow,C.round=Vx,C.runInContext=I,C.sample=f4,C.size=v4,C.snakeCase=$w,C.some=g4,C.sortedIndex=py,C.sortedIndexBy=hy,C.sortedIndexOf=vy,C.sortedLastIndex=gy,C.sortedLastIndexBy=by,C.sortedLastIndexOf=my,C.startCase=tx,C.startsWith=rx,C.subtract=qx,C.sum=Jx,C.sumBy=Ux,C.template=nx,C.times=Bx,C.toFinite=on,C.toInteger=me,C.toLength=Vv,C.toLower=ix,C.toNumber=pr,C.toSafeInteger=iw,C.toString=Ee,C.toUpper=ax,C.trim=ox,C.trimEnd=sx,C.trimStart=lx,C.truncate=ux,C.unescape=cx,C.uniqueId=Tx,C.upperCase=dx,C.upperFirst=Yc,C.each=Bv,C.eachRight=jv,C.first=Ov,Rc(C,function(){var a={};return Tr(C,function(s,d){Le.call(C.prototype,d)||(a[d]=s)}),a}(),{chain:!1}),C.VERSION=r,sr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){C[a].placeholder=C}),sr(["drop","take"],function(a,s){Ce.prototype[a]=function(d){d=d===t?1:st(me(d),0);var v=this.__filtered__&&!s?new Ce(this):this.clone();return v.__filtered__?v.__takeCount__=mt(d,v.__takeCount__):v.__views__.push({size:mt(d,oe),type:a+(v.__dir__<0?"Right":"")}),v},Ce.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),sr(["filter","map","takeWhile"],function(a,s){var d=s+1,v=d==J||d==K;Ce.prototype[a]=function(y){var H=this.clone();return H.__iteratees__.push({iteratee:ce(y,3),type:d}),H.__filtered__=H.__filtered__||v,H}}),sr(["head","last"],function(a,s){var d="take"+(s?"Right":"");Ce.prototype[a]=function(){return this[d](1).value()[0]}}),sr(["initial","tail"],function(a,s){var d="drop"+(s?"":"Right");Ce.prototype[a]=function(){return this.__filtered__?new Ce(this):this[d](1)}}),Ce.prototype.compact=function(){return this.filter(Wt)},Ce.prototype.find=function(a){return this.filter(a).head()},Ce.prototype.findLast=function(a){return this.reverse().find(a)},Ce.prototype.invokeMap=ke(function(a,s){return typeof a=="function"?new Ce(this):this.map(function(d){return qa(d,a,s)})}),Ce.prototype.reject=function(a){return this.filter(js(ce(a)))},Ce.prototype.slice=function(a,s){a=me(a);var d=this;return d.__filtered__&&(a>0||s<0)?new Ce(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),s!==t&&(s=me(s),d=s<0?d.dropRight(-s):d.take(s-a)),d)},Ce.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Ce.prototype.toArray=function(){return this.take(oe)},Tr(Ce.prototype,function(a,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),v=/^(?:head|last)$/.test(s),y=C[v?"take"+(s=="last"?"Right":""):s],H=v||/^find/.test(s);y&&(C.prototype[s]=function(){var E=this.__wrapped__,j=v?[1]:arguments,S=E instanceof Ce,G=j[0],Q=S||ge(E),q=function(ze){var He=y.apply(C,An([ze],j));return v&&ne?He[0]:He};Q&&d&&typeof G=="function"&&G.length!=1&&(S=Q=!1);var ne=this.__chain__,le=!!this.__actions__.length,de=H&&!ne,we=S&&!le;if(!H&&Q){E=we?E:new Ce(this);var fe=a.apply(E,j);return fe.__actions__.push({func:Xs,args:[q],thisArg:t}),new ur(fe,ne)}return de&&we?a.apply(this,j):(fe=this.thru(q),de?v?fe.value()[0]:fe.value():fe)})}),sr(["pop","push","shift","sort","splice","unshift"],function(a){var s=rs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",v=/^(?:pop|shift)$/.test(a);C.prototype[a]=function(){var y=arguments;if(v&&!this.__chain__){var H=this.value();return s.apply(ge(H)?H:[],y)}return this[d](function(E){return s.apply(ge(E)?E:[],y)})}}),Tr(Ce.prototype,function(a,s){var d=C[s];if(d){var v=d.name+"";Le.call(Qi,v)||(Qi[v]=[]),Qi[v].push({name:s,func:d})}}),Qi[ks(t,z).name]=[{name:"wrapper",func:t}],Ce.prototype.clone=c7,Ce.prototype.reverse=d7,Ce.prototype.value=f7,C.prototype.at=Yy,C.prototype.chain=Fy,C.prototype.commit=Ny,C.prototype.next=Ry,C.prototype.plant=Qy,C.prototype.reverse=Vy,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=qy,C.prototype.first=C.prototype.head,Ya&&(C.prototype[Ya]=Gy),C},Ni=N8();Kn?((Kn.exports=Ni)._=Ni,Nu._=Ni):ft._=Ni}).call(dn)}(Fo,Fo.exports);var ku=Fo.exports;const Un={unknown:{details:"",details_code:""},unavailable:{details:"Compatibility for this product category for your selected bike brand is coming soon!",details_code:"compatiblelist_unavailable"},selectbike:{details:"No bike selected. Click here to add your ride to check for compatible parts",details_code:"compatiblelist_nobikeselected"},pageone:{details:"All products compatible with your bike can be seen <a>here</a>.",details_code:"compatiblelist_pageone"},noresults:{details:"No compatible products found",details_code:"compatiblelist_noresults"},compatibleresults:{details:"",details_code:""},error:{details:"Something went wrong. Sorry! Refresh and try again.",details_code:"compatiblelist_error"}},f0=n=>{const e=n?[...new Set(n.split(","))]:[],r=window.BikeMatrix.getConfig(),i=[],o=Object.entries(r.products).reduce((l,[u,c])=>(!i.includes(u)&&c.skus.some(f=>e.includes(f.trim()))&&(l.push(c),i.push(u)),l),[]);return ku.sortBy(o,l=>l["bm-sort"]||l)},p0=n=>{if(!(n!=null&&n.length))return[];const e=n.filter(t=>t.compatible).map(t=>t.sku).join(",");return f0(e)},h0=(n,e)=>tr.value?{type:"unknown",...Un.unknown}:n>1?{type:"pageone",...Un.pageone}:(e==null?void 0:e.length)>0?{type:"compatibleresults",...Un.compatibleresults}:ho.value?{type:"error",...Un.error}:{type:"noresults",...Un.noresults},v0=()=>`
|
|
72
|
+
}`;var we=n1(function(){return Xe(H,le+"return "+q).apply(t,E)});if(we.source=q,Sc(we))throw we;return we}function ix(a){return Ee(a).toLowerCase()}function ax(a){return Ee(a).toUpperCase()}function ox(a,s,d){if(a=Ee(a),a&&(d||s===t))return f2(a);if(!a||!(s=Kt(s)))return a;var v=wr(a),y=wr(s),H=p2(v,y),E=h2(v,y)+1;return Ln(v,H,E).join("")}function sx(a,s,d){if(a=Ee(a),a&&(d||s===t))return a.slice(0,g2(a)+1);if(!a||!(s=Kt(s)))return a;var v=wr(a),y=h2(v,wr(s))+1;return Ln(v,0,y).join("")}function lx(a,s,d){if(a=Ee(a),a&&(d||s===t))return a.replace(Su,"");if(!a||!(s=Kt(s)))return a;var v=wr(a),y=p2(v,wr(s));return Ln(v,y).join("")}function ux(a,s){var d=W,v=M;if(Je(s)){var y="separator"in s?s.separator:y;d="length"in s?me(s.length):d,v="omission"in s?Kt(s.omission):v}a=Ee(a);var H=a.length;if(Yi(a)){var E=wr(a);H=E.length}if(d>=H)return a;var j=d-Fi(v);if(j<1)return v;var S=E?Ln(E,0,j).join(""):a.slice(0,j);if(y===t)return S+v;if(E&&(j+=S.length-j),Mc(y)){if(a.slice(j).search(y)){var G,Q=S;for(y.global||(y=ec(y.source,Ee(jh.exec(y))+"g")),y.lastIndex=0;G=y.exec(Q);)var q=G.index;S=S.slice(0,q===t?j:q)}}else if(a.indexOf(Kt(y),j)!=j){var ne=S.lastIndexOf(y);ne>-1&&(S=S.slice(0,ne))}return S+v}function cx(a){return a=Ee(a),a&&x5.test(a)?a.replace(Eh,W8):a}var dx=Ji(function(a,s,d){return a+(d?" ":"")+s.toUpperCase()}),Yc=iv("toUpperCase");function r1(a,s,d){return a=Ee(a),s=d?t:s,s===t?j8(a)?F8(a):C8(a):a.match(s)||[]}var n1=ke(function(a,s){try{return Jt(a,t,s)}catch(d){return Sc(d)?d:new he(d)}}),fx=rn(function(a,s){return lr(s,function(d){d=Sr(d),en(a,d,Tc(a[d],a))}),a});function px(a){var s=a==null?0:a.length,d=ce();return a=s?Ge(a,function(v){if(typeof v[1]!="function")throw new ur(l);return[d(v[0]),v[1]]}):[],ke(function(v){for(var y=-1;++y<s;){var H=a[y];if(Jt(H[0],this,v))return Jt(H[1],this,v)}})}function hx(a){return W7(dr(a,h))}function Fc(a){return function(){return a}}function vx(a,s){return a==null||a!==a?s:a}var gx=ov(),bx=ov(!0);function Wt(a){return a}function Nc(a){return I2(typeof a=="function"?a:dr(a,h))}function mx(a){return M2(dr(a,h))}function yx(a,s){return W2(a,dr(s,h))}var wx=ke(function(a,s){return function(d){return qa(d,a,s)}}),xx=ke(function(a,s){return function(d){return qa(a,d,s)}});function Rc(a,s,d){var v=ut(s),y=ms(s,v);d==null&&!(Je(s)&&(y.length||!v.length))&&(d=s,s=a,a=this,y=ms(s,ut(s)));var H=!(Je(d)&&"chain"in d)||!!d.chain,E=an(a);return lr(y,function(j){var S=s[j];a[j]=S,E&&(a.prototype[j]=function(){var G=this.__chain__;if(H||G){var Q=a(this.__wrapped__),q=Q.__actions__=It(this.__actions__);return q.push({func:S,args:arguments,thisArg:a}),Q.__chain__=G,Q}return S.apply(a,An([this.value()],arguments))})}),a}function Px(){return ft._===this&&(ft._=q8),this}function Gc(){}function kx(a){return a=me(a),ke(function(s){return Z2(s,a)})}var zx=Pc(Ge),Cx=Pc(s2),Ax=Pc(Vu);function i1(a){return Oc(a)?qu(Sr(a)):r6(a)}function Hx(a){return function(s){return a==null?t:ri(a,s)}}var Dx=lv(),Ox=lv(!0);function Qc(){return[]}function Vc(){return!1}function Xx(){return{}}function Ex(){return""}function Lx(){return!0}function Bx(a,s){if(a=me(a),a<1||a>F)return[];var d=oe,v=mt(a,oe);s=ce(s),a-=oe;for(var y=Ku(v,s);++d<a;)s(d);return y}function jx(a){return ge(a)?Ge(a,Sr):_t(a)?[a]:It(zv(Ee(a)))}function Tx(a){var s=++Q8;return Ee(a)+s}var Ix=zs(function(a,s){return a+s},0),Sx=kc("ceil"),Mx=zs(function(a,s){return a/s},1),Wx=kc("floor");function Zx(a){return a&&a.length?bs(a,Wt,lc):t}function Yx(a,s){return a&&a.length?bs(a,ce(s,2),lc):t}function Fx(a){return c2(a,Wt)}function Nx(a,s){return c2(a,ce(s,2))}function Rx(a){return a&&a.length?bs(a,Wt,fc):t}function Gx(a,s){return a&&a.length?bs(a,ce(s,2),fc):t}var Qx=zs(function(a,s){return a*s},1),Vx=kc("round"),qx=zs(function(a,s){return a-s},0);function Jx(a){return a&&a.length?Uu(a,Wt):0}function Ux(a,s){return a&&a.length?Uu(a,ce(s,2)):0}return C.after=m4,C.ary=Tv,C.assign=aw,C.assignIn=Jv,C.assignInWith=Ss,C.assignWith=ow,C.at=sw,C.before=Iv,C.bind=Tc,C.bindAll=fx,C.bindKey=Sv,C.castArray=X4,C.chain=Lv,C.chunk=W6,C.compact=Z6,C.concat=Y6,C.cond=px,C.conforms=hx,C.constant=Fc,C.countBy=Jy,C.create=lw,C.curry=Mv,C.curryRight=Wv,C.debounce=Zv,C.defaults=uw,C.defaultsDeep=cw,C.defer=y4,C.delay=w4,C.difference=F6,C.differenceBy=N6,C.differenceWith=R6,C.drop=G6,C.dropRight=Q6,C.dropRightWhile=V6,C.dropWhile=q6,C.fill=J6,C.filter=Ky,C.flatMap=e4,C.flatMapDeep=t4,C.flatMapDepth=r4,C.flatten=Dv,C.flattenDeep=U6,C.flattenDepth=K6,C.flip=x4,C.flow=gx,C.flowRight=bx,C.fromPairs=_6,C.functions=bw,C.functionsIn=mw,C.groupBy=n4,C.initial=ey,C.intersection=ty,C.intersectionBy=ry,C.intersectionWith=ny,C.invert=ww,C.invertBy=xw,C.invokeMap=a4,C.iteratee=Nc,C.keyBy=o4,C.keys=ut,C.keysIn=Mt,C.map=Es,C.mapKeys=kw,C.mapValues=zw,C.matches=mx,C.matchesProperty=yx,C.memoize=Bs,C.merge=Cw,C.mergeWith=Uv,C.method=wx,C.methodOf=xx,C.mixin=Rc,C.negate=js,C.nthArg=kx,C.omit=Aw,C.omitBy=Hw,C.once=P4,C.orderBy=s4,C.over=zx,C.overArgs=k4,C.overEvery=Cx,C.overSome=Ax,C.partial=Ic,C.partialRight=Yv,C.partition=l4,C.pick=Dw,C.pickBy=Kv,C.property=i1,C.propertyOf=Hx,C.pull=sy,C.pullAll=Xv,C.pullAllBy=ly,C.pullAllWith=uy,C.pullAt=cy,C.range=Dx,C.rangeRight=Ox,C.rearg=z4,C.reject=d4,C.remove=dy,C.rest=C4,C.reverse=Bc,C.sampleSize=p4,C.set=Xw,C.setWith=Ew,C.shuffle=h4,C.slice=fy,C.sortBy=b4,C.sortedUniq=yy,C.sortedUniqBy=wy,C.split=ex,C.spread=A4,C.tail=xy,C.take=Py,C.takeRight=ky,C.takeRightWhile=zy,C.takeWhile=Cy,C.tap=Zy,C.throttle=H4,C.thru=Xs,C.toArray=Qv,C.toPairs=_v,C.toPairsIn=$v,C.toPath=jx,C.toPlainObject=qv,C.transform=Lw,C.unary=D4,C.union=Ay,C.unionBy=Hy,C.unionWith=Dy,C.uniq=Oy,C.uniqBy=Xy,C.uniqWith=Ey,C.unset=Bw,C.unzip=jc,C.unzipWith=Ev,C.update=jw,C.updateWith=Tw,C.values=_i,C.valuesIn=Iw,C.without=Ly,C.words=r1,C.wrap=O4,C.xor=By,C.xorBy=jy,C.xorWith=Ty,C.zip=Iy,C.zipObject=Sy,C.zipObjectDeep=My,C.zipWith=Wy,C.entries=_v,C.entriesIn=$v,C.extend=Jv,C.extendWith=Ss,Rc(C,C),C.add=Ix,C.attempt=n1,C.camelCase=Zw,C.capitalize=e1,C.ceil=Sx,C.clamp=Sw,C.clone=E4,C.cloneDeep=B4,C.cloneDeepWith=j4,C.cloneWith=L4,C.conformsTo=T4,C.deburr=t1,C.defaultTo=vx,C.divide=Mx,C.endsWith=Yw,C.eq=Pr,C.escape=Fw,C.escapeRegExp=Nw,C.every=Uy,C.find=_y,C.findIndex=Av,C.findKey=dw,C.findLast=$y,C.findLastIndex=Hv,C.findLastKey=fw,C.floor=Wx,C.forEach=Bv,C.forEachRight=jv,C.forIn=pw,C.forInRight=hw,C.forOwn=vw,C.forOwnRight=gw,C.get=Wc,C.gt=I4,C.gte=S4,C.has=yw,C.hasIn=Zc,C.head=Ov,C.identity=Wt,C.includes=i4,C.indexOf=$6,C.inRange=Mw,C.invoke=Pw,C.isArguments=ai,C.isArray=ge,C.isArrayBuffer=M4,C.isArrayLike=St,C.isArrayLikeObject=et,C.isBoolean=W4,C.isBuffer=Bn,C.isDate=Z4,C.isElement=Y4,C.isEmpty=F4,C.isEqual=N4,C.isEqualWith=R4,C.isError=Sc,C.isFinite=G4,C.isFunction=an,C.isInteger=Fv,C.isLength=Ts,C.isMap=Nv,C.isMatch=Q4,C.isMatchWith=V4,C.isNaN=q4,C.isNative=J4,C.isNil=K4,C.isNull=U4,C.isNumber=Rv,C.isObject=Je,C.isObjectLike=Ke,C.isPlainObject=eo,C.isRegExp=Mc,C.isSafeInteger=_4,C.isSet=Gv,C.isString=Is,C.isSymbol=_t,C.isTypedArray=Ki,C.isUndefined=$4,C.isWeakMap=ew,C.isWeakSet=tw,C.join=iy,C.kebabCase=Rw,C.last=pr,C.lastIndexOf=ay,C.lowerCase=Gw,C.lowerFirst=Qw,C.lt=rw,C.lte=nw,C.max=Zx,C.maxBy=Yx,C.mean=Fx,C.meanBy=Nx,C.min=Rx,C.minBy=Gx,C.stubArray=Qc,C.stubFalse=Vc,C.stubObject=Xx,C.stubString=Ex,C.stubTrue=Lx,C.multiply=Qx,C.nth=oy,C.noConflict=Px,C.noop=Gc,C.now=Ls,C.pad=Vw,C.padEnd=qw,C.padStart=Jw,C.parseInt=Uw,C.random=Ww,C.reduce=u4,C.reduceRight=c4,C.repeat=Kw,C.replace=_w,C.result=Ow,C.round=Vx,C.runInContext=I,C.sample=f4,C.size=v4,C.snakeCase=$w,C.some=g4,C.sortedIndex=py,C.sortedIndexBy=hy,C.sortedIndexOf=vy,C.sortedLastIndex=gy,C.sortedLastIndexBy=by,C.sortedLastIndexOf=my,C.startCase=tx,C.startsWith=rx,C.subtract=qx,C.sum=Jx,C.sumBy=Ux,C.template=nx,C.times=Bx,C.toFinite=on,C.toInteger=me,C.toLength=Vv,C.toLower=ix,C.toNumber=hr,C.toSafeInteger=iw,C.toString=Ee,C.toUpper=ax,C.trim=ox,C.trimEnd=sx,C.trimStart=lx,C.truncate=ux,C.unescape=cx,C.uniqueId=Tx,C.upperCase=dx,C.upperFirst=Yc,C.each=Bv,C.eachRight=jv,C.first=Ov,Rc(C,function(){var a={};return Tr(C,function(s,d){Le.call(C.prototype,d)||(a[d]=s)}),a}(),{chain:!1}),C.VERSION=r,lr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){C[a].placeholder=C}),lr(["drop","take"],function(a,s){Ce.prototype[a]=function(d){d=d===t?1:st(me(d),0);var v=this.__filtered__&&!s?new Ce(this):this.clone();return v.__filtered__?v.__takeCount__=mt(d,v.__takeCount__):v.__views__.push({size:mt(d,oe),type:a+(v.__dir__<0?"Right":"")}),v},Ce.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),lr(["filter","map","takeWhile"],function(a,s){var d=s+1,v=d==J||d==K;Ce.prototype[a]=function(y){var H=this.clone();return H.__iteratees__.push({iteratee:ce(y,3),type:d}),H.__filtered__=H.__filtered__||v,H}}),lr(["head","last"],function(a,s){var d="take"+(s?"Right":"");Ce.prototype[a]=function(){return this[d](1).value()[0]}}),lr(["initial","tail"],function(a,s){var d="drop"+(s?"":"Right");Ce.prototype[a]=function(){return this.__filtered__?new Ce(this):this[d](1)}}),Ce.prototype.compact=function(){return this.filter(Wt)},Ce.prototype.find=function(a){return this.filter(a).head()},Ce.prototype.findLast=function(a){return this.reverse().find(a)},Ce.prototype.invokeMap=ke(function(a,s){return typeof a=="function"?new Ce(this):this.map(function(d){return qa(d,a,s)})}),Ce.prototype.reject=function(a){return this.filter(js(ce(a)))},Ce.prototype.slice=function(a,s){a=me(a);var d=this;return d.__filtered__&&(a>0||s<0)?new Ce(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),s!==t&&(s=me(s),d=s<0?d.dropRight(-s):d.take(s-a)),d)},Ce.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Ce.prototype.toArray=function(){return this.take(oe)},Tr(Ce.prototype,function(a,s){var d=/^(?:filter|find|map|reject)|While$/.test(s),v=/^(?:head|last)$/.test(s),y=C[v?"take"+(s=="last"?"Right":""):s],H=v||/^find/.test(s);y&&(C.prototype[s]=function(){var E=this.__wrapped__,j=v?[1]:arguments,S=E instanceof Ce,G=j[0],Q=S||ge(E),q=function(ze){var He=y.apply(C,An([ze],j));return v&&ne?He[0]:He};Q&&d&&typeof G=="function"&&G.length!=1&&(S=Q=!1);var ne=this.__chain__,le=!!this.__actions__.length,de=H&&!ne,we=S&&!le;if(!H&&Q){E=we?E:new Ce(this);var fe=a.apply(E,j);return fe.__actions__.push({func:Xs,args:[q],thisArg:t}),new cr(fe,ne)}return de&&we?a.apply(this,j):(fe=this.thru(q),de?v?fe.value()[0]:fe.value():fe)})}),lr(["pop","push","shift","sort","splice","unshift"],function(a){var s=rs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",v=/^(?:pop|shift)$/.test(a);C.prototype[a]=function(){var y=arguments;if(v&&!this.__chain__){var H=this.value();return s.apply(ge(H)?H:[],y)}return this[d](function(E){return s.apply(ge(E)?E:[],y)})}}),Tr(Ce.prototype,function(a,s){var d=C[s];if(d){var v=d.name+"";Le.call(Qi,v)||(Qi[v]=[]),Qi[v].push({name:s,func:d})}}),Qi[ks(t,z).name]=[{name:"wrapper",func:t}],Ce.prototype.clone=c7,Ce.prototype.reverse=d7,Ce.prototype.value=f7,C.prototype.at=Yy,C.prototype.chain=Fy,C.prototype.commit=Ny,C.prototype.next=Ry,C.prototype.plant=Qy,C.prototype.reverse=Vy,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=qy,C.prototype.first=C.prototype.head,Ya&&(C.prototype[Ya]=Gy),C},Ni=N8();Kn?((Kn.exports=Ni)._=Ni,Nu._=Ni):ft._=Ni}).call(dn)}(Fo,Fo.exports);var ku=Fo.exports;const Un={unknown:{details:"",details_code:""},unavailable:{details:"Compatibility for this product category for your selected bike brand is coming soon!",details_code:"compatiblelist_unavailable"},selectbike:{details:"No bike selected. Click here to add your ride to check for compatible parts",details_code:"compatiblelist_nobikeselected"},pageone:{details:"All products compatible with your bike can be seen <a>here</a>.",details_code:"compatiblelist_pageone"},noresults:{details:"No compatible products found",details_code:"compatiblelist_noresults"},compatibleresults:{details:"",details_code:""},error:{details:"Something went wrong. Sorry! Refresh and try again.",details_code:"compatiblelist_error"}},f0=n=>{const e=n?[...new Set(n.split(","))]:[],r=window.BikeMatrix.getConfig(),i=[],o=Object.entries(r.products).reduce((l,[u,c])=>(!i.includes(u)&&c.skus.some(f=>!!f&&e.includes(f==null?void 0:f.trim()))&&(l.push(c),i.push(u)),l),[]);return ku.sortBy(o,l=>l["bm-sort"]||l)},p0=n=>{if(!(n!=null&&n.length))return[];const e=n.filter(t=>t.compatible).map(t=>t.sku).join(",");return f0(e)},h0=(n,e)=>tr.value?{type:"unknown",...Un.unknown}:n>1?{type:"pageone",...Un.pageone}:(e==null?void 0:e.length)>0?{type:"compatibleresults",...Un.compatibleresults}:ho.value?{type:"error",...Un.error}:{type:"noresults",...Un.noresults},v0=()=>`
|
|
73
73
|
<div class="bm-compatible-product-wrapper">
|
|
74
74
|
<div class="bm-compatible-product-image">
|
|
75
75
|
<a href="{{productUrl}}">
|
|
@@ -97,4 +97,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
97
97
|
`,i5=`.alt-indicator{border-radius:8px;border:1px solid #000;background-color:#fff;color:#000;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px;text-decoration:none;transition:all ease-in-out .2s;font-family:nunito}.alt-indicator:hover{transform:scale(1.01)}.alt-is-active{box-shadow:0 3px 7px #00000040;font-weight:700}.variant-title{text-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}
|
|
98
98
|
`,a5=({item:n,clickable:e,currentVariant:t})=>{const[r,i]=U(!1);return se(()=>{t===n.id?i(!0):i(!1)},[t]),g(ie,{children:[g("style",{type:"text/css",children:i5}),g("div",{className:"alt-indicator-wrapper",children:e&&g("a",{href:window.location.pathname+`?variant=${n.id}`,className:`alt-indicator ${r?"alt-is-active":""}`,style:{borderWidth:r?"2px":"1px"},children:g("div",{className:"variant-title",children:n.title})})})]})},o5=`.question-button{cursor:pointer;display:flex;align-items:center;position:relative;background-color:#000;justify-content:center;height:24px;width:24px;border-radius:100%}.question-popup{position:absolute;border-radius:8px;background-color:#000;top:0;right:0;height:0;width:0;overflow:hidden;opacity:0;z-index:1}.question-popup .information{padding:12px;color:#fff;width:200px;font-size:12px}
|
|
99
99
|
`,s5=({showall:n,clickable:e})=>{const t=ye(null),[r,i]=U(!1),{t:o}=De(),l=()=>{r?r&&Ne.to(t.current,{width:0,height:0,opacity:0,onComplete:()=>i(!1)}):Ne.to(t.current,{height:"auto",width:"auto",opacity:1,onComplete:()=>i(!0)})};return g(ie,{children:[g("style",{type:"text/css",children:o5}),g("div",{className:"question-button",onClick:l,children:[g(sh,{height:12}),g("div",{className:"question-popup",ref:t,children:g("div",{className:"information",children:[!n&&o("variantselector_help_text")," ",n&&o("variantselector_help_text_showall")," ",e&&o("variantselector_help_text_clickable")]})})]})]})},l5=`.indicator{border-radius:8px;border:1px solid #10b981;background-color:#ecfdf5;color:#022c22;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px;text-decoration:none;transition:all ease-in-out .2s;font-family:nunito}.indicator:hover{transform:scale(1.01)}.is-active{box-shadow:0 3px 7px #00000040;font-weight:700;border-width:2px}.non-clickable-indicator{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:10px;font-weight:600;font-size:14px}.icon-wrapper{min-height:24px;min-width:24px;display:flex;align-items:center}.variant-title{text-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}
|
|
100
|
-
`,u5=({item:n,clickable:e,currentVariant:t,override:r})=>{const[i,o]=U(!1);return se(()=>{t===n.id?o(!0):o(!1)},[t]),g(ie,{children:[g("style",{type:"text/css",children:l5}),(e||r)&&g("a",{href:window.location.pathname+`?variant=${n.id}`,className:`indicator ${i?"is-active":""}`,style:!n.warning&&n.compatible?{backgroundColor:"#ECFDF5",borderColor:"#10B981",borderStyle:"solid",color:"#022c22",borderWidth:i?"2px":"1px"}:n.warning&&n.compatible?{backgroundColor:"#FEFBEC",borderColor:"#FBA157",borderStyle:"solid",color:"#451a03",borderWidth:i?"2px":"1px"}:n.compatible===!1?{backgroundColor:"#FCF3F2",borderColor:"#EF4444",borderStyle:"solid",color:"#450a0a",borderWidth:i?"2px":"1px"}:{backgroundColor:"#fff",borderColor:"#000",borderStyle:"solid",color:"#000",borderWidth:i?"2px":"1px"},children:[g("div",{className:"variant-title",children:n.title}),g("div",{className:"icon-wrapper",children:n.warning&&n.compatible?g(Bi,{height:23,width:23}):!n.warning&&n.compatible?g(Li,{height:23,width:23,fill:"#10b981"}):n.compatible===!1?g(Zo,{height:23,width:23,fill:"#10b981"}):g(ie,{})})]}),!e&&!r&&g("div",{className:`non-clickable-indicator ${i?"is-active":""}`,style:!n.warning&&n.compatible?{borderColor:"#10B981",borderStyle:"solid",color:"#022c22",borderWidth:i?"2px":"1px"}:n.warning&&n.compatible?{borderColor:"#FBA157",borderStyle:"solid",color:"#451a03",borderWidth:i?"2px":"1px"}:n.compatible===!1?{borderColor:"#EF4444",borderStyle:"solid",color:"#450a0a",borderWidth:i?"2px":"1px"}:{backgroundColor:"#fff",borderColor:"#000",borderStyle:"solid",color:"#000",borderWidth:i?"2px":"1px"},children:[g("div",{className:"variant-title",children:n.title}),g("div",{className:"icon-wrapper",children:n.warning&&n.compatible?g(Bi,{height:23,width:23}):!n.warning&&n.compatible?g(Li,{height:23,width:23,fill:"#10b981"}):n.compatible===!1?g(Zo,{height:23,width:23,fill:"#10b981"}):g(ie,{})})]})]})},c5=({data:n,currentVariant:e,title:t,clickable:r,showall:i,override:o,fullWidth:l,sku:u,error:c})=>{const[f,p]=U({type:"loading",display:!0}),[h,b]=U([]),[m,P]=U([]),A=window.BikeMatrix.getConfig(),{t:z}=De(),w=()=>{var L,B,T;p({type:"loading",display:!0});let D=[];n.map(X=>{X.compatible&&D.push(X)}),b(D);let O=[];(B=(L=xe.value)==null?void 0:L.compatibleCollections)!=null&&B.error||(T=xe.value)==null||T.compatibleCollections.map(X=>{A.productCollections.includes(X.handle)&&O.push(X.handle)}),P(O)},k=()=>{p({type:"loading",display:!0}),!m.length&&!h.length&&!o&&p({type:"noInformation",display:!1}),!m.length&&!h.length&&o&&p({type:"generic",display:!0}),m.length&&!h.length&&o&&p({type:"compatible",display:!0}),m.length&&!h.length&&!o&&p({type:"noCompatible",display:!0}),m.length&&h.length&&p({type:"compatible",display:!0})};return se(()=>{w()},[xe.value,n,u]),se(()=>{k()},[xe.value,n,u,m,h]),g(ie,{children:[g("style",{type:"text/css",children:n5}),f.display&&g("div",{className:"variant-selector-wrapper",children:g("div",{className:"title",children:[t,g(s5,{clickable:r,showall:i})]})}),c&&g(mr,{messages:c,left:!0,margin:10}),f.type==="loading"&&f.display?g("div",{className:`indicator-wrapper ${l||o?"full-width":""}`,children:[g("div",{className:"loading-wrapper",children:g(Nr,{isLoading:!0,colour:"#d1d5db"})}),g("div",{className:"loading-wrapper",children:g(Nr,{isLoading:!0,colour:"#d1d5db"})})]}):f.type==="generic"&&f.display?g("div",{className:"indicator-wrapper",children:n.map((D,O)=>g(a5,{item:D,clickable:!0,currentVariant:e},O))}):f.type==="noCompatible"&&f.display?g("div",{className:"indicator-wrapper full-width",children:g("div",{className:"loading-wrapper",children:z("variantselector_no_compatible")})}):f.type==="compatible"&&f.display?g("div",{className:`indicator-wrapper ${l||o?"full-width":""}`,children:n.map((D,O)=>{if(!(!D.compatible&&!o&&!i))return g(u5,{item:D,clickable:r,currentVariant:e,override:o},O)})}):f.type==="noInformation"&&f.display?g("div",{className:"indicator-wrapper full-width",children:g("div",{className:"loading-wrapper",children:z("variantselector_no_compatible_information")})}):g(ie,{})]})},d5=({"data-variants":n,"data-delimiter":e,"data-showall":t,"data-clickable":r,"data-query-param":i,"data-full-width":o,"data-title":l,"data-no-variants":u,"data-show":c,"data-route-variant":f,"data-padding-top":p,"data-padding-bottom":h,"data-override":b,"data-sku":m})=>{var N;const P=xe.value,A=window.BikeMatrix.getConfig(),[z,w]=U([]),[k,D]=U(null);let O=((N=ci())==null?void 0:N.language)||"en-GB";const L=new xt(A.apiUrl,A.apiKey,A.apiToken,A.isShopify),B=m||A.sku,[T,X]=U(""),{t:W}=De(),M=async()=>{const V=n.split("~");let J=[],re=[];if(V.map(K=>{let ee=K.split(e||"|");J.push(ee[0].length>2?ee[0]:ee[2]),re.push({title:ee[1],id:ee[2],sku:ee[0].length>2?ee[0]:ee[2],index:parseInt(ee[3])})}),P){X("");const K=await L.checkSkusCompatibilityWithResults(P.key,J,O);if(!K.success){X(K.error),A.logLevel==="verbose"&&console.error(K.logError);return}let ee=[];K.data.map(F=>{re.map(Z=>{F.sku===Z.sku&&ee.push({bikeKey:F.bikeKey,sku:F.sku,compatible:F.compatible,compatibilityMessage:F.compatibilityMessage,warning:F.warning,warningMessage:F.warningMessage,compatibilityLogGuid:F.compatibilityLogGuid,title:Z.title,id:Z.id,index:Z.index})})}),w(ku.sortBy(ee,F=>F.index))}else{let K=[];re.map(ee=>{K.push({sku:ee.sku,title:ee.title,id:ee.id,index:ee.index})}),w(ku.sortBy(K,ee=>ee.index))}};return se(()=>{M()},[P,B]),se(()=>{const J=new URLSearchParams(window.location.search).get("variant"),re=window.location.href;if(z&&f==="true"&&!J){let K=!1;re.charAt(re.length-1)==="?"&&(K=!0);for(let ee=0;ee<z.length;ee++)if(z[ee].compatible){window.location.href=window.location+(K?"variant=":"?variant=")+z[ee].id;break}}J?D(J):z.length&&D(z[0].id)},[z]),g("div",{style:{paddingTop:`${p}px`,paddingBottom:`${h}px`},children:u!=="true"&&g(c5,{data:z,currentVariant:k,showall:t==="true",override:b==="true",clickable:r==="true",fullWidth:o==="true"||b==="true",title:l||W("variantselector_title"),sku:B,error:T})})},f5=typeof window<"u";function zn(n,e,t=[],r=null){b1(o=>sl.value?g(n,{...o}):g(ie,{}),e,t,r)}function p5(){zn(r0,"bikematrix-bikeselector",[],{shadow:!0}),zn(i0,"bikematrix-productresult",["data-sku"],{shadow:!0}),zn(l0,"bikematrix-collectionresult",["data-product-id","data-product-skus","data-padding-top","data-padding-bottom"],{shadow:!0}),zn(ch,"bikematrix-compatibilitylabel",["data-type"],{shadow:!0}),zn(g0,"bikematrix-compatiblelist",["data-title"]),zn(y0,"bikematrix-bikeselectorbanner",["data-title","data-mobile-title","data-color","data-full-width","data-font-color","data-show"],{shadow:!0}),zn(dh,"bikematrix-bikon",["data-color"],{shadow:!0}),zn(d5,"bikematrix-variantselector",["data-title","data-variants","data-delimiter","data-showall","data-clickable","data-query-param","data-full-width","data-show","data-route-variant","data-padding-top","data-padding-bottom","data-override","data-sku"],{shadow:!0})}function h5(){if(!f5)return null;const n=o3.getInstance(),e={isInitialized:()=>n.isInitialized(),init:t=>n.initialize(t),refresh:()=>n.refresh(),destroy:()=>n.destroy(),reload:(t=!0)=>n.reload(t),reset:()=>n.reset(),getConfig:()=>n.getConfig(),getCurrentBike:()=>n.getCurrentBike(),getActiveSubscription:()=>n.getActiveSubscription(),updateConfig:t=>n.updateConfig(t),updateSku:t=>n.updateSku(t)};return typeof process<"u"&&process.env.NODE_ENV==="development"&&(e.core=n),window.BikeMatrix=e,p5(),document.currentScript&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e.init()):e.init()),e}return h5()}();
|
|
100
|
+
`,u5=({item:n,clickable:e,currentVariant:t,override:r})=>{const[i,o]=U(!1);return se(()=>{t===n.id?o(!0):o(!1)},[t]),g(ie,{children:[g("style",{type:"text/css",children:l5}),(e||r)&&g("a",{href:window.location.pathname+`?variant=${n.id}`,className:`indicator ${i?"is-active":""}`,style:!n.warning&&n.compatible?{backgroundColor:"#ECFDF5",borderColor:"#10B981",borderStyle:"solid",color:"#022c22",borderWidth:i?"2px":"1px"}:n.warning&&n.compatible?{backgroundColor:"#FEFBEC",borderColor:"#FBA157",borderStyle:"solid",color:"#451a03",borderWidth:i?"2px":"1px"}:n.compatible===!1?{backgroundColor:"#FCF3F2",borderColor:"#EF4444",borderStyle:"solid",color:"#450a0a",borderWidth:i?"2px":"1px"}:{backgroundColor:"#fff",borderColor:"#000",borderStyle:"solid",color:"#000",borderWidth:i?"2px":"1px"},children:[g("div",{className:"variant-title",children:n.title}),g("div",{className:"icon-wrapper",children:n.warning&&n.compatible?g(Bi,{height:23,width:23}):!n.warning&&n.compatible?g(Li,{height:23,width:23,fill:"#10b981"}):n.compatible===!1?g(Zo,{height:23,width:23,fill:"#10b981"}):g(ie,{})})]}),!e&&!r&&g("div",{className:`non-clickable-indicator ${i?"is-active":""}`,style:!n.warning&&n.compatible?{borderColor:"#10B981",borderStyle:"solid",color:"#022c22",borderWidth:i?"2px":"1px"}:n.warning&&n.compatible?{borderColor:"#FBA157",borderStyle:"solid",color:"#451a03",borderWidth:i?"2px":"1px"}:n.compatible===!1?{borderColor:"#EF4444",borderStyle:"solid",color:"#450a0a",borderWidth:i?"2px":"1px"}:{backgroundColor:"#fff",borderColor:"#000",borderStyle:"solid",color:"#000",borderWidth:i?"2px":"1px"},children:[g("div",{className:"variant-title",children:n.title}),g("div",{className:"icon-wrapper",children:n.warning&&n.compatible?g(Bi,{height:23,width:23}):!n.warning&&n.compatible?g(Li,{height:23,width:23,fill:"#10b981"}):n.compatible===!1?g(Zo,{height:23,width:23,fill:"#10b981"}):g(ie,{})})]})]})},c5=({data:n,currentVariant:e,title:t,clickable:r,showall:i,override:o,fullWidth:l,sku:u,error:c})=>{const[f,p]=U({type:"loading",display:!0}),[h,b]=U([]),[m,P]=U([]),A=window.BikeMatrix.getConfig(),{t:z}=De(),w=()=>{var L,B,T;p({type:"loading",display:!0});let D=[];n.map(X=>{X.compatible&&D.push(X)}),b(D);let O=[];(B=(L=xe.value)==null?void 0:L.compatibleCollections)!=null&&B.error||(T=xe.value)==null||T.compatibleCollections.map(X=>{A.productCollections.includes(X.handle)&&O.push(X.handle)}),P(O)},k=()=>{p({type:"loading",display:!0}),!m.length&&!h.length&&!o&&p({type:"noInformation",display:!1}),!m.length&&!h.length&&o&&p({type:"generic",display:!0}),m.length&&!h.length&&o&&p({type:"compatible",display:!0}),m.length&&!h.length&&!o&&p({type:"noCompatible",display:!0}),m.length&&h.length&&p({type:"compatible",display:!0})};return se(()=>{w()},[xe.value,n,u]),se(()=>{k()},[xe.value,n,u,m,h]),g(ie,{children:[g("style",{type:"text/css",children:n5}),f.display&&g("div",{className:"variant-selector-wrapper",children:g("div",{className:"title",children:[t,g(s5,{clickable:r,showall:i})]})}),c&&g(mr,{messages:c,left:!0,margin:10}),f.type==="loading"&&f.display?g("div",{className:`indicator-wrapper ${l||o?"full-width":""}`,children:[g("div",{className:"loading-wrapper",children:g(Nr,{isLoading:!0,colour:"#d1d5db"})}),g("div",{className:"loading-wrapper",children:g(Nr,{isLoading:!0,colour:"#d1d5db"})})]}):f.type==="generic"&&f.display?g("div",{className:"indicator-wrapper",children:n.map((D,O)=>g(a5,{item:D,clickable:!0,currentVariant:e},O))}):f.type==="noCompatible"&&f.display?g("div",{className:"indicator-wrapper full-width",children:g("div",{className:"loading-wrapper",children:z("variantselector_no_compatible")})}):f.type==="compatible"&&f.display?g("div",{className:`indicator-wrapper ${l||o?"full-width":""}`,children:n.map((D,O)=>{if(!(!D.compatible&&!o&&!i))return g(u5,{item:D,clickable:r,currentVariant:e,override:o},O)})}):f.type==="noInformation"&&f.display?g("div",{className:"indicator-wrapper full-width",children:g("div",{className:"loading-wrapper",children:z("variantselector_no_compatible_information")})}):g(ie,{})]})},d5=({"data-variants":n,"data-delimiter":e,"data-showall":t,"data-clickable":r,"data-query-param":i,"data-full-width":o,"data-title":l,"data-no-variants":u,"data-show":c,"data-route-variant":f,"data-padding-top":p,"data-padding-bottom":h,"data-override":b,"data-sku":m})=>{var N;const P=xe.value,A=window.BikeMatrix.getConfig(),[z,w]=U([]),[k,D]=U(null);let O=((N=ci())==null?void 0:N.language)||"en-GB";const L=new xt(A.apiUrl,A.apiKey,A.apiToken,A.isShopify),B=m||A.sku,[T,X]=U(""),{t:W}=De(),M=async()=>{const V=n.split("~");let J=[],re=[];if(V.map(K=>{let ee=K.split(e||"|");J.push(ee[0].length>2?ee[0]:ee[2]),re.push({title:ee[1],id:ee[2],sku:ee[0].length>2?ee[0]:ee[2],index:parseInt(ee[3])})}),P){X("");const K=await L.checkSkusCompatibilityWithResults(P.key,J,O);if(!K.success){X(K.error),A.logLevel==="verbose"&&console.error(K.logError);return}let ee=[];K.data.map(F=>{re.map(Z=>{F.sku===Z.sku&&ee.push({bikeKey:F.bikeKey,sku:F.sku,compatible:F.compatible,compatibilityMessage:F.compatibilityMessage,warning:F.warning,warningMessage:F.warningMessage,compatibilityLogGuid:F.compatibilityLogGuid,title:Z.title,id:Z.id,index:Z.index})})}),w(ku.sortBy(ee,F=>F.index))}else{let K=[];re.map(ee=>{K.push({sku:ee.sku,title:ee.title,id:ee.id,index:ee.index})}),w(ku.sortBy(K,ee=>ee.index))}};return se(()=>{M()},[P,B]),se(()=>{const J=new URLSearchParams(window.location.search).get("variant"),re=window.location.href;if(z&&f==="true"&&!J){let K=!1;re.charAt(re.length-1)==="?"&&(K=!0);for(let ee=0;ee<z.length;ee++)if(z[ee].compatible){window.location.href=window.location+(K?"variant=":"?variant=")+z[ee].id;break}}J?D(J):z.length&&D(z[0].id)},[z]),g("div",{style:{paddingTop:`${p}px`,paddingBottom:`${h}px`},children:u!=="true"&&g(c5,{data:z,currentVariant:k,showall:t==="true",override:b==="true",clickable:r==="true",fullWidth:o==="true"||b==="true",title:l||W("variantselector_title"),sku:B,error:T})})},f5=typeof window<"u";function zn(n,e,t=[],r=null){b1(o=>sl.value?g(n,{...o}):g(ie,{}),e,t,r)}function p5(){zn(r0,"bikematrix-bikeselector",[],{shadow:!0}),zn(i0,"bikematrix-productresult",["data-sku"],{shadow:!0}),zn(l0,"bikematrix-collectionresult",["data-product-id","data-product-skus","data-padding-top","data-padding-bottom"],{shadow:!0}),zn(ch,"bikematrix-compatibilitylabel",["data-type"],{shadow:!0}),zn(g0,"bikematrix-compatiblelist",["data-title"]),zn(y0,"bikematrix-bikeselectorbanner",["data-title","data-mobile-title","data-color","data-full-width","data-font-color","data-show"],{shadow:!0}),zn(dh,"bikematrix-bikon",["data-color"],{shadow:!0}),zn(d5,"bikematrix-variantselector",["data-title","data-variants","data-delimiter","data-showall","data-clickable","data-query-param","data-full-width","data-show","data-route-variant","data-padding-top","data-padding-bottom","data-override","data-sku"],{shadow:!0})}function h5(){if(!f5)return null;const n=o3.getInstance(),e={isInitialized:()=>n.isInitialized(),init:t=>n.initialize(t),refresh:()=>n.refresh(),destroy:()=>n.destroy(),reload:(t=!0)=>n.reload(t),reset:()=>n.reset(),getConfig:()=>n.getConfig(),getCurrentBike:()=>n.getCurrentBike(),getActiveSubscription:()=>n.getActiveSubscription(),updateConfig:t=>n.updateConfig(t),updateSku:t=>n.updateSku(t),updateCompatibleList:()=>n.updateCompatibleList()};return typeof process<"u"&&process.env.NODE_ENV==="development"&&(e.core=n),window.BikeMatrix=e,p5(),document.currentScript&&(document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e.init()):e.init()),e}return h5()}();
|