@flarehr/apollo-import-workspace-app 0.63.0 → 0.64.0
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.
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var f3,Me,H7,a2,Fo,V7,V4,vi,j4,W4,j7,r3={},W7=[],du=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Fn=Array.isArray;function X1(e,t){for(var r in t)e[r]=t[r];return e}function q7(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function u(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?f3.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return Kr(e,s,n,i,null)}function Kr(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++H7,__i:-1,__u:0};return i==null&&Me.vnode!=null&&Me.vnode(o),o}function Pn(){return{current:null}}function Ke(e){return e.children}function T1(e,t){this.props=e,this.context=t}function tr(e,t){if(t==null)return e.__?tr(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?tr(e):null}function G7(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return G7(e)}}function q4(e){(!e.__d&&(e.__d=!0)&&a2.push(e)&&!sn.__r++||Fo!==Me.debounceRendering)&&((Fo=Me.debounceRendering)||V7)(sn)}function sn(){var e,t,r,n,i,o,s,a;for(a2.sort(V4);e=a2.shift();)e.__d&&(t=a2.length,n=void 0,o=(i=(r=e).__v).__e,s=[],a=[],r.__P&&((n=X1({},i)).__v=i.__v+1,Me.vnode&&Me.vnode(n),bi(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??tr(i),!!(32&i.__u),a),n.__v=i.__v,n.__.__k[n.__i]=n,Z7(s,n,a),n.__e!=o&&G7(n)),a2.length>t&&a2.sort(V4));sn.__r=0}function z7(e,t,r,n,i,o,s,a,l,c,d){var f,m,h,p,v,b=n&&n.__k||W7,_=t.length;for(r.__d=l,fu(r,t,b),l=r.__d,f=0;f<_;f++)(h=r.__k[f])!=null&&(m=h.__i===-1?r3:b[h.__i]||r3,h.__i=f,bi(e,h,m,i,o,s,a,l,c,d),p=h.__e,h.ref&&m.ref!=h.ref&&(m.ref&&_i(m.ref,null,h),d.push(h.ref,h.__c||p,h)),v==null&&p!=null&&(v=p),65536&h.__u||m.__k===h.__k?l=Y7(h,l,e):typeof h.type=="function"&&h.__d!==void 0?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);r.__d=l,r.__e=v}function fu(e,t,r){var n,i,o,s,a,l=t.length,c=r.length,d=c,f=0;for(e.__k=[],n=0;n<l;n++)(i=t[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=n+f,(i=e.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Kr(null,i,null,null,null):Fn(i)?Kr(Ke,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Kr(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(a=i.__i=hu(i,r,s,d))!==-1&&(d--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&f--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a==s-1?f--:a==s+1?f++:(a>s?f--:f++,i.__u|=65536))):i=e.__k[n]=null;if(d)for(n=0;n<c;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=tr(o)),K7(o,o))}function Y7(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=Y7(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=tr(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function rt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Fn(e)?e.some(function(r){rt(r,t)}):t.push(e)),t}function hu(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,l=t[r];if(l===null||l&&i==l.key&&o===l.type&&!(131072&l.__u))return r;if((typeof o!="function"||o===Ke||i)&&n>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function Po(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||du.test(t)?r:r+"px"}function D3(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Po(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Po(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=vi,e.addEventListener(t,o?W4:j4,o)):e.removeEventListener(t,o?W4:j4,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Lo(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=vi++;else if(t.t<r.u)return;return Me.event&&(t=Me.event(t)),"handleEvent"in r?r.handleEvent(t):r(t)}}}function bi(e,t,r,n,i,o,s,a,l,c){var d,f,m,h,p,v,b,_,C,E,N,I,D,P,A,x,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(d=Me.__b)&&d(t);e:if(typeof k=="function")try{if(_=t.props,C="prototype"in k&&k.prototype.render,E=(d=k.contextType)&&n[d.__c],N=d?E?E.props.value:d.__:n,r.__c?b=(f=t.__c=r.__c).__=f.__E:(C?t.__c=f=new k(_,N):(t.__c=f=new T1(_,N),f.constructor=k,f.render=pu),E&&E.sub(f),f.props=_,f.state||(f.state={}),f.context=N,f.__n=n,m=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&k.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=X1({},f.__s)),X1(f.__s,k.getDerivedStateFromProps(_,f.__s))),h=f.props,p=f.state,f.__v=t,m)C&&k.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&k.getDerivedStateFromProps==null&&_!==h&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,N),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,N)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(f.props=_,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(M){M&&(M.__=t)}),I=0;I<f._sb.length;I++)f.__h.push(f._sb[I]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,N),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(h,p,v)})}if(f.context=N,f.props=_,f.__P=e,f.__e=!1,D=Me.__r,P=0,C){for(f.state=f.__s,f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),A=0;A<f._sb.length;A++)f.__h.push(f._sb[A]);f._sb=[]}else do f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++P<25);f.state=f.__s,f.getChildContext!=null&&(n=X1(X1({},n),f.getChildContext())),C&&!m&&f.getSnapshotBeforeUpdate!=null&&(v=f.getSnapshotBeforeUpdate(h,p)),z7(e,Fn(x=d!=null&&d.type===Ke&&d.key==null?d.props.children:d)?x:[x],t,r,n,i,o,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(M){if(t.__v=null,l||o!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=r.__e,t.__k=r.__k;Me.__e(M,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=mu(r.__e,t,r,n,i,o,s,l,c);(d=Me.diffed)&&d(t)}function Z7(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)_i(r[n],r[++n],r[++n]);Me.__c&&Me.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){Me.__e(o,i.__v)}})}function mu(e,t,r,n,i,o,s,a,l){var c,d,f,m,h,p,v,b=r.props,_=t.props,C=t.type;if(C==="svg"?i="http://www.w3.org/2000/svg":C==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((h=o[c])&&"setAttribute"in h==!!C&&(C?h.localName===C:h.nodeType===3)){e=h,o[c]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=document.createElementNS(i,C,_.is&&_),a&&(Me.__m&&Me.__m(t,o),a=!1),o=null}if(C===null)b===_||a&&e.data===_||(e.data=_);else{if(o=o&&f3.call(e.childNodes),b=r.props||r3,!a&&o!=null)for(b={},c=0;c<e.attributes.length;c++)b[(h=e.attributes[c]).name]=h.value;for(c in b)if(h=b[c],c!="children"){if(c=="dangerouslySetInnerHTML")f=h;else if(!(c in _)){if(c=="value"&&"defaultValue"in _||c=="checked"&&"defaultChecked"in _)continue;D3(e,c,null,h,i)}}for(c in _)h=_[c],c=="children"?m=h:c=="dangerouslySetInnerHTML"?d=h:c=="value"?p=h:c=="checked"?v=h:a&&typeof h!="function"||b[c]===h||D3(e,c,h,b[c],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),z7(e,Fn(m)?m:[m],t,r,n,C==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&tr(r,0),a,l),o!=null)for(c=o.length;c--;)q7(o[c]);a||(c="value",C==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[c]||C==="progress"&&!p||C==="option"&&p!==b[c])&&D3(e,c,p,b[c],i),c="checked",v!==void 0&&v!==e[c]&&D3(e,c,v,b[c],i))}return e}function _i(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){Me.__e(i,r)}}function K7(e,t,r){var n,i;if(Me.unmount&&Me.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||_i(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){Me.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&K7(n[i],t,r||typeof e.type!="function");r||q7(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function pu(e,t,r){return this.constructor(e,r)}function Dt(e,t,r){var n,i,o,s;Me.__&&Me.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],bi(t,e=(!n&&r||t).__k=u(Ke,null,[e]),i||r3,r3,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?f3.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Z7(o,e,s)}function Ci(e,t){Dt(e,t,Ci)}function xi(e,t,r){var n,i,o,s,a=X1({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?f3.call(arguments,2):r),Kr(e.type,a,n||e.key,i||e.ref,null)}function d0(e,t){var r={__c:t="__cC"+j7++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.forEach(function(a){a.__e=!0,q4(a)})},this.sub=function(s){i.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.delete(s),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}f3=W7.slice,Me={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},H7=0,T1.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=X1({},this.state),typeof e=="function"&&(e=e(X1({},r),this.props)),e&&X1(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),q4(this))},T1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),q4(this))},T1.prototype.render=Ke,a2=[],V7=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,V4=function(e,t){return e.__v.__b-t.__v.__b},sn.__r=0,vi=0,j4=Lo(!1),W4=Lo(!0),j7=0;function Si(){return(Si=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var gu=["context","children"];function wu(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},l=Object.keys(n);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(a[o]=n[o]);return a}(e,gu);return xi(t,r)}function yu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=u(wu,Si({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,l=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[J7(a[s].name)]=a[s].value);for(s=l.length;s--;){var c=t(l[s],null),d=l[s].slot;d?o[d]=u(Bo,{name:d},c):i[s]=c}var f=n?u(Bo,null,i):i;return u(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ci:Dt)(this._vdom,this._root)}function J7(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function vu(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[J7(e)]=r,this._vdom=xi(this._vdom,n),Dt(this._vdom,this._root)}}function bu(){Dt(this._vdom=null,this._root)}function Bo(e,t){var r=this;return u("slot",Si({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function _u(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=yu,i.prototype.attributeChangedCallback=vu,i.prototype.disconnectedCallback=bu,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}function Ln(e,t){_u(e,t)}var at,Ye,M5,Uo,rr=0,X7=[],a0=Me,Ho=a0.__b,Vo=a0.__r,jo=a0.diffed,Wo=a0.__c,qo=a0.unmount,Go=a0.__;function S2(e,t){a0.__h&&a0.__h(Ye,e,rr||t),rr=0;var r=Ye.__H||(Ye.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ee(e){return rr=1,E2(Q7,e)}function E2(e,t,r){var n=S2(at++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Q7(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,a);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=Ye,!Ye.u)){var i=function(a,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(m){return!!m.__c});if(d.every(function(m){return!m.__N}))return!o||o.call(this,a,l,c);var f=n.__c.props!==a;return d.forEach(function(m){if(m.__N){var h=m.__[0];m.__=m.__N,m.__N=void 0,h!==m.__[0]&&(f=!0)}}),o&&o.call(this,a,l,c)||f};Ye.u=!0;var o=Ye.shouldComponentUpdate,s=Ye.componentWillUpdate;Ye.componentWillUpdate=function(a,l,c){if(this.__e){var d=o;o=void 0,i(a,l,c),o=d}s&&s.call(this,a,l,c)},Ye.shouldComponentUpdate=i}return n.__N||n.__}function Be(e,t){var r=S2(at++,3);!a0.__s&&Ti(r.__H,t)&&(r.__=e,r.i=t,Ye.__H.__h.push(r))}function B1(e,t){var r=S2(at++,4);!a0.__s&&Ti(r.__H,t)&&(r.__=e,r.i=t,Ye.__h.push(r))}function de(e){return rr=5,ve(function(){return{current:e}},[])}function Ei(e,t,r){rr=6,B1(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function ve(e,t){var r=S2(at++,7);return Ti(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function $e(e,t){return rr=8,ve(function(){return e},t)}function He(e){var t=Ye.context[e.__c],r=S2(at++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(Ye)),t.props.value):e.__}function Ai(e,t){a0.useDebugValue&&a0.useDebugValue(t?t(e):e)}function Cu(e){var t=S2(at++,10),r=Ee();return t.__=e,Ye.componentDidCatch||(Ye.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function v1(){var e=S2(at++,11);if(!e.__){for(var t=Ye.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function xu(){for(var e;e=X7.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(K3),e.__H.__h.forEach(G4),e.__H.__h=[]}catch(t){e.__H.__h=[],a0.__e(t,e.__v)}}a0.__b=function(e){Ye=null,Ho&&Ho(e)},a0.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Go&&Go(e,t)},a0.__r=function(e){Vo&&Vo(e),at=0;var t=(Ye=e.__c).__H;t&&(M5===Ye?(t.__h=[],Ye.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(K3),t.__h.forEach(G4),t.__h=[],at=0)),M5=Ye},a0.diffed=function(e){jo&&jo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(X7.push(t)!==1&&Uo===a0.requestAnimationFrame||((Uo=a0.requestAnimationFrame)||Su)(xu)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),M5=Ye=null},a0.__c=function(e,t){t.some(function(r){try{r.__h.forEach(K3),r.__h=r.__h.filter(function(n){return!n.__||G4(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],a0.__e(n,r.__v)}}),Wo&&Wo(e,t)},a0.unmount=function(e){qo&&qo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{K3(n)}catch(i){t=i}}),r.__H=void 0,t&&a0.__e(t,r.__v))};var zo=typeof requestAnimationFrame=="function";function Su(e){var t,r=function(){clearTimeout(n),zo&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);zo&&(t=requestAnimationFrame(r))}function K3(e){var t=Ye,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Ye=t}function G4(e){var t=Ye;e.__c=e.__(),Ye=t}function Ti(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Q7(e,t){return typeof t=="function"?t(e):t}function z4(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Bn(e,t){var r=t(),n=Ee({t:{__:r,u:t}}),i=n[0].t,o=n[1];return B1(function(){i.__=r,i.u=t,k5(i)&&o({t:i})},[e,r,t]),Be(function(){return k5(i)&&o({t:i}),e(function(){k5(i)&&o({t:i})})},[e]),r}function k5(e){var t,r,n=e.u,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function Ni(e){e()}function Mi(e){return e}function ki(){return[!1,Ni]}var Ii=B1;function an(e,t){this.props=e,this.context=t}function ea(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:z4(this.props,i)}function n(i){return this.shouldComponentUpdate=r,u(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(an.prototype=new T1).isPureReactComponent=!0,an.prototype.shouldComponentUpdate=function(e,t){return z4(this.props,e)||z4(this.state,t)};var Yo=Me.__b;Me.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Yo&&Yo(e)};var Eu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ri(e){function t(r){if(!("ref"in r))return e(r,null);var n=r.ref;delete r.ref;var i=e(r,n);return r.ref=n,i}return t.$$typeof=Eu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zo=function(e,t){return e==null?null:rt(rt(e).map(t))},ta={map:Zo,forEach:Zo,count:function(e){return e?rt(e).length:0},only:function(e){var t=rt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:rt},Au=Me.__e;Me.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}Au(e,t,r,n)};var Ko=Me.unmount;function ra(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=function(n,i){for(var o in i)n[o]=i[o];return n}({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ra(n,t,r)})),e}function na(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return na(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Jr(){this.__u=0,this.o=null,this.__b=null}function ia(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function oa(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return u(r,o)}return i.displayName="Lazy",i.__f=!0,i}function q2(){this.i=null,this.l=null}Me.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ko&&Ko(e)},(Jr.prototype=new T1).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=ia(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=na(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Jr.prototype.componentWillUnmount=function(){this.o=[]},Jr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=ra(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&u(Ke,null,e.fallback);return i&&(i.__u&=-33),[u(Ke,null,t.__a?null:e.children),i]};var Jo=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Tu(e){return this.getChildContext=function(){return e.context},e.children}function Nu(e){var t=this,r=e.h;t.componentWillUnmount=function(){Dt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),t.v||(t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),t.h.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.h.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}),Dt(u(Tu,{context:t.context},e.__v),t.v)}function Un(e,t){var r=u(Nu,{__v:e,h:t});return r.containerInfo=t,r}(q2.prototype=new T1).__a=function(e){var t=this,r=ia(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Jo(t,e,n)):i()};r?r(o):o()}},q2.prototype.render=function(e){this.i=null,this.l=new Map;var t=rt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},q2.prototype.componentDidUpdate=q2.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Jo(e,r,t)})};var sa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Mu=/^(?: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]/,ku=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Iu=/[A-Z0-9]/g,Ru=typeof document<"u",Ou=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Oi(e,t,r){return t.__k==null&&(t.textContent=""),Dt(e,t),typeof r=="function"&&r(),e?e.__c:null}function aa(e,t,r){return Ci(e,t),typeof r=="function"&&r(),e?e.__c:null}T1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(T1.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xo=Me.event;function Du(){}function $u(){return this.cancelBubble}function Fu(){return this.defaultPrevented}Me.event=function(e){return Xo&&(e=Xo(e)),e.persist=Du,e.isPropagationStopped=$u,e.isDefaultPrevented=Fu,e.nativeEvent=e};var Di,Pu={enumerable:!1,configurable:!0,get:function(){return this.class}},Qo=Me.vnode;Me.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var s in r){var a=r[s];if(!(s==="value"&&"defaultValue"in r&&a==null||Ru&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in r&&r.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Ou(r.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":ku.test(s)&&(s=l):l=s="oninput":o&&Mu.test(s)?s=s.replace(Iu,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&i[s=l]&&(s="oninputCapture"),i[s]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=rt(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=rt(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",Pu)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=sa,Qo&&Qo(e)};var e6=Me.__r;Me.__r=function(e){e6&&e6(e),Di=e.__c};var t6=Me.diffed;Me.diffed=function(e){t6&&t6(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Di=null};var la={ReactCurrentDispatcher:{current:{readContext:function(e){return Di.__n[e.__c].props.value},useCallback:$e,useContext:He,useDebugValue:Ai,useDeferredValue:Mi,useEffect:Be,useId:v1,useImperativeHandle:Ei,useInsertionEffect:Ii,useLayoutEffect:B1,useMemo:ve,useReducer:E2,useRef:de,useState:Ee,useSyncExternalStore:Bn,useTransition:ki}}},Lu="18.3.1";function ua(e){return u.bind(null,e)}function hr(e){return!!e&&e.$$typeof===sa}function ca(e){return hr(e)&&e.type===Ke}function da(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function $i(e){return hr(e)?xi.apply(null,arguments):e}function fa(e){return!!e.__k&&(Dt(null,e),!0)}function ha(e){return e&&(e.base||e.nodeType===1&&e)||null}var ma=function(e,t){return e(t)},a1=function(e,t){return e(t)},pa=Ke,ga=hr,ee={useState:Ee,useId:v1,useReducer:E2,useEffect:Be,useLayoutEffect:B1,useInsertionEffect:Ii,useTransition:ki,useDeferredValue:Mi,useSyncExternalStore:Bn,startTransition:Ni,useRef:de,useImperativeHandle:Ei,useMemo:ve,useCallback:$e,useContext:He,useDebugValue:Ai,version:"18.3.1",Children:ta,render:Oi,hydrate:aa,unmountComponentAtNode:fa,createPortal:Un,createElement:u,createContext:d0,createFactory:ua,cloneElement:$i,createRef:Pn,Fragment:Ke,isValidElement:hr,isElement:ga,isFragment:ca,isMemo:da,findDOMNode:ha,Component:T1,PureComponent:an,memo:ea,forwardRef:Ri,flushSync:a1,unstable_batchedUpdates:ma,StrictMode:pa,Suspense:Jr,SuspenseList:q2,lazy:oa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:la};const ln=Object.freeze(Object.defineProperty({__proto__:null,Children:ta,Component:T1,Fragment:Ke,PureComponent:an,StrictMode:pa,Suspense:Jr,SuspenseList:q2,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:la,cloneElement:$i,createContext:d0,createElement:u,createFactory:ua,createPortal:Un,createRef:Pn,default:ee,findDOMNode:ha,flushSync:a1,forwardRef:Ri,hydrate:aa,isElement:ga,isFragment:ca,isMemo:da,isValidElement:hr,lazy:oa,memo:ea,render:Oi,startTransition:Ni,unmountComponentAtNode:fa,unstable_batchedUpdates:ma,useCallback:$e,useContext:He,useDebugValue:Ai,useDeferredValue:Mi,useEffect:Be,useErrorBoundary:Cu,useId:v1,useImperativeHandle:Ei,useInsertionEffect:Ii,useLayoutEffect:B1,useMemo:ve,useReducer:E2,useRef:de,useState:Ee,useSyncExternalStore:Bn,useTransition:ki,version:Lu},Symbol.toStringTag,{value:"Module"})),Bu=`*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,: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:Inter,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;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:BRSonoma;font-weight:900;src:url(/workspace/fonts/BRSonoma-Black.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/workspace/fonts/BRSonoma-Bold.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/workspace/fonts/BRSonoma-Medium.woff2) format("woff2")}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.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}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-full{left:100%}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-auto{margin-left:auto;margin-right:auto}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-\\[226px\\]{margin-top:-226px}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.size-12{width:3rem;height:3rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[118px\\]{height:118px}.h-\\[120px\\]{height:120px}.h-\\[34px\\]{height:34px}.h-\\[38px\\]{height:38px}.h-\\[52px\\]{height:52px}.h-\\[58px\\]{height:58px}.h-\\[60px\\]{height:60px}.h-\\[63px\\]{height:63px}.h-\\[72px\\]{height:72px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-64{max-height:16rem}.max-h-\\[470px\\]{max-height:470px}.min-h-full{min-height:100%}.w-0{width:0px}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[1030px\\]{width:1030px}.w-\\[120px\\]{width:120px}.w-\\[128px\\]{width:128px}.w-\\[140px\\]{width:140px}.w-\\[148px\\]{width:148px}.w-\\[150px\\]{width:150px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[280px\\]{width:280px}.w-\\[480px\\]{width:480px}.w-\\[640px\\]{width:640px}.w-full{width:100%}.w-screen{width:100vw}.min-w-60{min-width:15rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[130px\\]{min-width:130px}.min-w-\\[600px\\]{min-width:600px}.min-w-\\[640px\\]{min-width:640px}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\\[1_0_0\\]{flex:1 0 0}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/4{--tw-translate-y: -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-y-0{--tw-translate-y: 0px;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-2{--tw-translate-y: .5rem;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))}.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-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.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:.25rem}.gap-1\\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.text-nowrap{text-wrap:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-600{border-color:var(--fl-color-primary-600)}.border-r-gray-200{--tw-border-opacity: 1;border-right-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500\\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-primary-600{background-color:var(--fl-color-primary-600)}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#a650ff\\]{--tw-gradient-from: #a650ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(166 80 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[\\#0095f2\\]{--tw-gradient-to: #0095f2 var(--tw-gradient-to-position)}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[13px\\]{padding-left:13px;padding-right:13px}.px-\\[17px\\]{padding-left:17px;padding-right:17px}.px-\\[3px\\]{padding-left:3px;padding-right:3px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.pb-0\\.5{padding-bottom:.125rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\\[3px\\]{padding-bottom:3px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-\\[13px\\]{padding-left:13px}.pr-1\\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\\[11px\\]{padding-right:11px}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sonoma{font-family:BRSonoma}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-sm\\/6{font-size:.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-500\\/50{color:#6b728080}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-600{color:var(--fl-color-primary-600)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.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-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-gray-300{outline-color:#d1d5db}.outline-red-300{outline-color:#fca5a5}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.invert{--tw-invert: invert(100%);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)}.sepia{--tw-sepia: sepia(100%);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)}.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)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes progressBar{0%{width:0}to{width:100%}}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-1:before{content:var(--tw-content);top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\\:bg-white:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.checked\\:border-primary-600:checked{border-color:var(--fl-color-primary-600)}.checked\\:bg-primary-600:checked{background-color:var(--fl-color-primary-600)}.hover\\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:-outline-offset-2:focus{outline-offset:-2px}.focus\\:outline-blue-600:focus{outline-color:#2563eb}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-primary-500:focus{--tw-ring-color: var(--fl-color-primary-500)}.focus\\:ring-primary-600:focus{--tw-ring-color: var(--fl-color-primary-600)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-600:focus-visible{outline-color:var(--fl-color-primary-600)}.hover\\:enabled\\:bg-emerald-700:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-gray-50:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-primary-700:enabled:hover{background-color:var(--fl-color-primary-700)}.hover\\:enabled\\:bg-red-500:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:before\\:bg-gray-400:disabled:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-4{margin-top:1rem}.sm\\:block{display:block}.sm\\:flex{display:flex}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-x-0{--tw-translate-x: 0px;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))}.sm\\:translate-x-2{--tw-translate-x: .5rem;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))}.sm\\:translate-y-0{--tw-translate-y: 0px;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))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-end{align-items:flex-end}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:text-left{text-align:left}}@media (forced-colors: active){.forced-colors\\:appearance-auto{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.forced-colors\\:before\\:hidden:before{content:var(--tw-content);display:none}}.\\[\\&\\:not\\(\\:checked\\)\\]\\:before\\:hidden:not(:checked):before{content:var(--tw-content);display:none}`;function m1(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Uu(e){return e!=null&&typeof e.GetEnumerator=="function"}function Hu(e){return e!=null&&typeof e.CompareTo=="function"}function Vu(e){return e!=null&&typeof e.Equals=="function"}function wa(e){return e!=null&&typeof e.GetHashCode=="function"}function Y4(e){return e!=null&&typeof e.Dispose=="function"}function Re(e){Y4(e)&&e.Dispose()}function Ae(){return null}function un(e,t){var r,n;return((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)}class ju{constructor(t){this.iter=t,this.current=Ae()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Fe(e){return Uu(e)?e.GetEnumerator():new ju(e[Symbol.iterator]())}function mr(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),r=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:r}}}}class Wu{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function je(e,t){return e.toString(10).padStart(t,"0")}function qu(e,t,r){return e.toString(10).padStart(t,"0").padEnd(r,"0")}function r6(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Gu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function h1(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class Q1{static id(t){return Q1.idMap.has(t)||Q1.idMap.set(t,++Q1.count),Q1.idMap.get(t)}}Q1.idMap=new WeakMap;Q1.count=0;function l1(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function S1(e){return e*2654435761|0}function ya(e){return l1(e.toString(32))}function h3(e){let t=0;const r=e.length;for(let n=0;n<r;n++){const i=e[n];t=(t<<5)+t^i}return t}function zu(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return S1(e);case"bigint":return ya(e);case"string":return l1(e);default:return S1(Q1.id(e))}}function Yu(e){return wa(e)?e.GetHashCode():zu(e)}function Zu(e){return e.getTime()}function Ku(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=p1(e[n]);return h3(r)}function p1(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return S1(e);case"bigint":return ya(e);case"string":return l1(e);default:{if(wa(e))return e.GetHashCode();if(m1(e))return Ku(e);if(e instanceof Date)return Zu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>p1(n));return h3(r)}else return S1(Q1.id(e))}}}function cn(e){return Yu(e)}function Z4(e,t,r){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function va(e,t){return Z4(e,t,X)}function Ju(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;r.sort(),n.sort();for(let i=0;i<r.length;i++)if(r[i]!==n[i]||!X(e[r[i]],t[n[i]]))return!1;return!0}function X(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:Vu(e)?e.Equals(t):m1(e)?m1(t)&&va(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Fi(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Ju(e,t)}function Fi(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+r6(e),n=t.getTime()+r6(t)),r===n?0:r<n?-1:1}function Ut(e,t){return e===t?0:e<t?-1:1}function Xu(e,t,r){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let n=0,i=0;n<e.length;n++)if(i=r(e[n],t[n]),i!==0)return i;return 0}function Pi(e,t){return Xu(e,t,R0)}function Qu(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return r.length<n.length?-1:1;r.sort(),n.sort();for(let i=0,o=0;i<r.length;i++){const s=r[i];if(s!==n[i])return s<n[i]?-1:1;if(o=R0(e[s],t[s]),o!==0)return o}return 0}function R0(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Hu(e)?e.CompareTo(t):m1(e)?m1(t)?Pi(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Fi(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Qu(e,t):-1}function y(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function ec(e){m1(e)?e.splice(0):e.clear()}const Hn=new WeakMap;function We(e){if(e==null)return null;const t=(r,n)=>e(r)(n);return Hn.set(t,e),t}function Et(e){return Hn.get(e)??(t=>r=>e(t,r))}function K4(e){if(e==null)return null;const t=(r,n,i)=>e(r)(n)(i);return Hn.set(t,e),t}function I5(e){return Hn.get(e)??(t=>r=>n=>e(t,r,n))}function tc(e){let t=0,r="[";for(const n of e){if(t===0)r+=e0(n);else if(t===100){r+="; ...";break}else r+="; "+e0(n);t++}return r+"]"}function e0(e,t=0){var r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return tc(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+e0(o,t+1)).join(`
|
|
2
|
-
`)+" }":(n==null?void 0:n.name)??""}}return String(e)}function
|
|
3
|
-
`)+" }"}function oc(e){const t=Object.values(e).map(r=>p1(r));return h3(t)}function sc(e,t){if(e===t)return!0;if(un(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!X(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function ac(e,t){if(e===t)return 0;if(un(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const i=R0(e[r[n]],t[r[n]]);if(i!==0)return i}return 0}else return-1}class ue{toJSON(){return nc(this)}toString(){return ic(this)}GetHashCode(){return oc(this)}Equals(t){return sc(this,t)}CompareTo(t){return ac(this,t)}}class T0{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,r){typeof r=="function"?(this.getter=t,this.setter=r):(this.getter=()=>t,this.setter=n=>{t=n})}}class lc{constructor(t){this.message=t}}function uc(e){return e instanceof lc||e instanceof Error}function cc(e){return e instanceof Promise}function dn(e){return uc(e)||cc(e)?e:new Error(String(e))}const Vn=e0(Bu),pr=Symbol("numeric");function ba(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[pr])}function dc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function J4(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[pr]().multiply(t)}function J3(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[pr]().toFixed(t)}function fn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[pr]().toPrecision(t)}function hn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[pr]().toExponential(t)}function mn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[pr]().toHex()}const fc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],hc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],mc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pc=["January","February","March","April","May","June","July","August","September","October","November","December"];function t1(e,t,r){let n=0,i=t;for(;i<e.length&&e[i]===r;)i++,n++;return n}function n6(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function gc(e,t){let r=t;const n=e[t];let i="",o=!1;for(;t<e.length;){t++;const s=e[t];if(s===n){o=!0;break}else if(s==="\\")if(t<e.length)t++,i+=e[t];else throw new Error("Invalid string format");else i+=s}if(!o)throw new Error(`Invalid string format could not find matching quote for ${n}`);return[i,t-r+1]}function Li(e,t,r){let n=0,i=0,o="";const s=r?m3(e.getTime(),1):e;for(;n<t.length;){const a=t[n];switch(a){case"d":switch(i=t1(t,n,"d"),n+=i,i){case 1:o+=o6(s);break;case 2:o+=je(o6(s),2);break;case 3:o+=fc[l6(s)];break;case 4:o+=hc[l6(s)];break}break;case"f":if(i=t1(t,n,"f"),n+=i,i<=3){const b=10**(3-i);o+=je(Math.floor(F3(s)/b),i)}else i<=7&&(o+=(""+F3(s)).padEnd(i,"0"));break;case"F":if(i=t1(t,n,"F"),n+=i,i<=3){const b=10**(3-i),_=Math.floor(F3(s)/b);_!=0&&(o+=je(_,i))}else if(i<=7){const b=F3(s);b!=0&&(o+=je(b,3))}break;case"g":i=t1(t,n,"g"),n+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=t1(t,n,"h"),n+=i,i){case 1:o+=$3(s)%12;break;case 2:o+=je($3(s)%12,2);break}break;case"H":switch(i=t1(t,n,"H"),n+=i,i){case 1:o+=$3(s);break;case 2:o+=je($3(s),2);break}break;case"K":switch(i=t1(t,n,"K"),n+=i,i){case 1:switch(i6(s)){case 1:o+="Z";break;case 2:o+=z2(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=t1(t,n,"m"),n+=i,i){case 1:o+=s6(s);break;case 2:o+=je(s6(s),2);break}break;case"M":switch(i=t1(t,n,"M"),n+=i,i){case 1:o+=P3(s);break;case 2:o+=je(P3(s),2);break;case 3:o+=mc[P3(s)-1];break;case 4:o+=pc[P3(s)-1];break}break;case"s":switch(i=t1(t,n,"s"),n+=i,i){case 1:o+=a6(s);break;case 2:o+=je(a6(s),2);break}break;case"t":switch(i=t1(t,n,"t"),n+=i,i){case 1:o+=s.getHours()<12?"A":"P";break;case 2:o+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(i=t1(t,n,"y"),n+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=je(s.getFullYear()%100,2);break;case 3:o+=je(s.getFullYear(),3);break;case 4:o+=je(s.getFullYear(),4);break;case 5:o+=je(s.getFullYear(),5);break}break;case"z":i=t1(t,n,"z"),n+=i;let l="";switch(i6(s)){case 1:l="+00:00";break;case 2:l=z2(s.getTimezoneOffset()*-6e4);break;case 0:l=z2(Ec(s).getTimezoneOffset()*-6e4);break}const c=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${c}${d}`;break;case 2:o+=`${c}${je(d,2)}`;break;default:o+=`${c}${je(d,2)}:${je(f,2)}`;break}break;case":":o+=":",n++;break;case"/":o+="/",n++;break;case"'":case'"':const[m,h]=gc(t,n);o+=m,n+=h;break;case"%":const p=n6(t,n);if(p>=0&&p!==37)n+=2,o+=Li(s,String.fromCharCode(p),r);else throw new Error("Invalid format string");break;case"\\":const v=n6(t,n);if(v>=0)n+=2,o+=String.fromCharCode(v);else throw new Error("Invalid format string");break;default:n++,o+=a;break}}return o}function i6(e){return e.kind||0}function z2(e){const t=e<0;e=Math.abs(e);const r=~~(e/36e5),n=e%36e5/6e4;return(t?"-":"+")+je(r,2)+":"+je(n,2)}function pn(e,t){const r=e.toISOString();return t==="first"?r.substring(0,r.indexOf("T")):r.substring(r.indexOf("T")+1,r.length-1)}function wc(e,t){if(t)return e.toISOString();{const r=e.kind==null?!0:e.kind===2;return je(e.getFullYear(),4)+"-"+je(e.getMonth()+1,2)+"-"+je(e.getDate(),2)+"T"+je(e.getHours(),2)+":"+je(e.getMinutes(),2)+":"+je(e.getSeconds(),2)+"."+je(e.getMilliseconds(),3)+(r?z2(e.getTimezoneOffset()*-6e4):"")}}function yc(e,t){const r=e.toISOString();return r.substring(0,r.length-1)+z2(t)}function vc(e,t){const r=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return r.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+z2(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return pn(r,"first");case"T":case"t":return pn(r,"second");case"O":case"o":return yc(r,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Li(r,t,!0)}function bc(e,t){const r=e.kind===1;if(typeof t!="string")return r?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return r?pn(e,"first"):e.toLocaleDateString();case"T":case"t":return r?pn(e,"second"):e.toLocaleTimeString();case"O":case"o":return wc(e,r);default:throw new Error("Unrecognized Date print format")}else return Li(e,t,r)}function jn(e,t,r){return e.offset!=null?vc(e,t):bc(e,t)}function m3(e,t){const r=new Date(e);return r.kind=(t??0)|0,r}function _c(){return m3(-621355968e5,1)}function _a(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let r=new Date(e),n=null;if(isNaN(r.getTime())){const i=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(i!=null){let o,s=0;if(i[2]!=null){const a=i[2].split(":"),l=parseInt(a[0],10);s=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),i[3]!=null&&i[3].toUpperCase()==="PM"&&l<12&&(s+=720)}if(i[4]!=null){if(i[1]!=null)o=new Date(i[1]+" UTC");else{const a=new Date;o=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(i[4]==="Z")n="Z";else{let a=parseInt(i[5],10)*60+parseInt(i[6]||"0",10);i[4][0]==="-"&&(a*=-1),n=a,s-=a*60}}else if(i[1]!=null)o=new Date(i[1]);else{const a=new Date;o=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}r=new Date(o.getTime()+s*1e3),r=new Date(r.getTime()+(r.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(r.getTime())&&t()}return[r,n]}function Cc(e,t=!1){const[r,n]=_a(e),i=n!=null?t&&n==="Z"?1:2:0;return m3(r.getTime(),i)}function xc(e,t){try{return t.contents=Cc(e),!0}catch{return!1}}function Sc(e){return e.kind===1?e:m3(e.getTime(),1)}function Ec(e){return e.kind===2?e:m3(e.getTime(),2)}function o6(e){return e.kind===1?e.getUTCDate():e.getDate()}function $3(e){return e.kind===1?e.getUTCHours():e.getHours()}function F3(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function s6(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function P3(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function a6(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function l6(e){return e.kind===1?e.getUTCDay():e.getDay()}const Ac=Fi;function Tc(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let r="gu";return r+=t&1?"i":"",r+=t&2?"m":"",r+=t&16?"s":"",new RegExp(e,r)}function Wn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function u6(e,t,r=0){return e.lastIndex=r,e.test(t)}function c6(e,t,r=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=r;const n=[];let i,o=-1;for(;(i=e.exec(t))!=null;)i.index===o?e.lastIndex++:(o=i.index,n.push(i));return n}function p3(e,t,r,n,i=0){function o(){let s=arguments[0];if(n){n--;const a=[],l=arguments.length,c=typeof arguments[l-1]!="string";let d=c?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],c&&(a.groups=arguments[d]),s=r(a)}return s}if(typeof e=="string"){const s=e;e=Tc(t,n??0),t=s,n=void 0}if(typeof r=="function")return n=n??-1,t.substring(0,i)+t.substring(i).replace(e,o);if(r=r.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),n!=null){let s;const a=t.substring(i),l=c6(e,a),c=c6.length>n?(s=l[n-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+c.replace(e,r)+t.substring(i+c.length)}else return t.replace(e,r)}const Or=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Nc=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Ca(e,t){return dc(e,t)<0}function Mc(e,t,r){return e==null?t==null?0:-1:t==null?1:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e<t?-1:1)}function kc(e,t,r){return e.length>=t.length?Mc(e.substr(e.length-t.length,t.length),t)===0:!1}function lt(e){return{input:e,cont:Rc(e)}}function xa(e,t){return typeof t=="string"?e(t):t.cont(e)}function p2(e){return xa(t=>t,e)}function Sa(e){return xa(t=>{throw new Error(t)},e)}function Ic(e,t,r,n,i){let o="";if(t=t||"",i=i||"",ba(e))switch(i.toLowerCase()!=="x"&&(Ca(e,0)?(e=J4(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),n=n==null?null:parseInt(n,10),i){case"f":case"F":n=n??6,e=J3(e,n);break;case"g":case"G":e=n!=null?fn(e,n):fn(e);break;case"e":case"E":e=n!=null?hn(e,n):hn(e);break;case"x":e=mn(e);break;case"X":e=mn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=jn(e):e=e0(e);if(r=typeof r=="number"?r:parseInt(r,10),isNaN(r))e=o+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!s?" ":"0";l==="0"?(e=n3(e,r-o.length,l,a),e=o+e):e=n3(o+e,r,l,a)}return e}function Ea(e,t,r,n="",i=-1){return(...o)=>{let s=n;const a=t.slice(),l=r.slice();for(const c of o){const[,,d,f,m,h]=l[0];let p=f;if(i>=0)p=i,i=-1;else if(p==="*"){if(c<0)throw new Error("Non-negative number required");i=c;continue}s+=a[0],s+=Ic(c,d,p,m,h),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):Ea(e,a,l,s,i)}}function Rc(e){return t=>{Or.lastIndex=0;const r=[],n=[];let i=0,o=Or.exec(e);for(;o;){const s=o.index+(o[1]||"").length;r.push(e.substring(i,s).replace(/%%/g,"%")),n.push(o),i=Or.lastIndex,Or.lastIndex-=1,o=Or.exec(e)}return r.length===0?t(e.replace(/%%/g,"%")):(r.push(e.substring(i).replace(/%%/g,"%")),Ea(t,r,n))}}function Bi(e,...t){let r;return typeof e=="object"?(r=String(t[0]),t.shift()):r=e,r.replace(Nc,(n,i,o,s,a,l)=>{if(i<0||i>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let c=t[i];if(ba(c))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,c=J3(c,a);break;case"g":case"G":c=a!=null?fn(c,a):fn(c);break;case"e":case"E":c=a!=null?hn(c,a):hn(c);break;case"p":case"P":a=a??2,c=J3(J4(c,100),a)+" %";break;case"d":case"D":c=a!=null?R5(String(c),a,"0"):String(c);break;case"x":case"X":c=a!=null?R5(mn(c),a,"0"):mn(c),s==="X"&&(c=c.toUpperCase());break;default:if(l){let d="";c=l.replace(/([0#,]+)(\.[0#]+)?/,(f,m,h)=>{Ca(c,0)&&(c=J4(c,-1),d="-"),h=h==null?"":h.substring(1),c=J3(c,Math.max(h.length,0));let[p,v]=c.split(".");v||(v="");const b=m.replace(/,/g,"").replace(/^#+/,"").length;p=R5(p,b,"0");const _=h.replace(/#+$/,"").length;if(_>v.length?v=Oc(v,_,"0"):_<v.length&&(v=v.substring(0,_)+v.substring(_).replace(/0+$/,"")),m.indexOf(",")>0){const C=p.length%3,E=Math.floor(p.length/3);let N=C>0?p.substr(0,C)+(E>0?",":""):"";for(let I=0;I<E;I++)N+=p.substr(C+I*3,3)+(I<E-1?",":"");p=N}return v.length>0?p+"."+v:p}),c=d+c}}else c instanceof Date?c=jn(c,l||s):c=e0(c);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(c=n3(String(c),Math.abs(o)," ",o<0)),c})}function Ui(e){return typeof e!="string"||e.length===0}function Ht(e){return typeof e!="string"||/^\s*$/.test(e)}function v0(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function n3(e,t,r,n){r=r||" ",t=t-e.length;for(let i=0;i<t;i++)e=n?e+r:r+e;return e}function R5(e,t,r){return n3(e,t,r)}function Oc(e,t,r){return n3(e,t,r,!0)}function Aa(e,t,r){return e.replace(new RegExp(Wn(t),"g"),r)}function Ta(e,t,r,n){if(r=typeof r=="number"?r:void 0,n=typeof n=="number"?n:0,r&&r<0)throw new Error("Count cannot be less than zero");if(r===0)return[];const i=(n&1)===1,o=(n&2)===2;t=t||[],t=t.filter(d=>d).map(Wn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(c).trim():e.substring(c);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(c,d.index).trim():e.substring(c,d.index);(!i||f.length>0)&&(r!=null&&s.length+1===r?(s.push(o?e.substring(c).trim():e.substring(c)),l=!1):s.push(f)),c=a.lastIndex}}while(l);return s}function Na(e,...t){if(t.length===0)return e.trim();const r="["+Wn(t.join(""))+"]+";return e.replace(new RegExp("^"+r),"").replace(new RegExp(r+"$"),"")}function Hi(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+Wn(t.join(""))+"]+$"),"")}function Dc(e,t,r){if(t+(r||0)>e.length)throw new Error("Invalid startIndex and/or length");return r!=null?e.substr(t,r):e.substr(t)}class g2{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return p1(this.value)}Equals(t){return t==null?!1:X(this.value,t instanceof g2?t.value:t)}CompareTo(t){return t==null?1:R0(this.value,t instanceof g2?t.value:t)}}function V(e){if(e==null)throw new Error("Option has no value");return e instanceof g2?e.value:e}function et(e){return e instanceof g2?e.value:e}function m0(e){return e==null||e instanceof g2?new g2(e):e}function Vi(e){return e==null?null:V(e)}function Vt(e){return e==null?[]:[V(e)]}function Le(e,t){return e!=null?V(e):t}function $c(e,t){return e!=null?V(e):t()}function i0(e,t){return t!=null?m0(e(V(t))):void 0}function qn(e,t){return t!=null?e(V(t)):void 0}class Fc{constructor(t,r,n,i){this.declaringType=t,this.tag=r,this.name=n,this.fields=i}}class J0{constructor(t,r,n,i,o,s,a){this.fullname=t,this.generics=r,this.construct=n,this.parent=i,this.fields=o,this.cases=s,this.enumCases=a}toString(){return Qe(this)}GetHashCode(){return Ma(this)}Equals(t){return X4(this,t)}}function o1(e){return e.generics!=null?e.generics:[]}function Ma(e){const t=l1(e.fullname),r=o1(e).map(Ma);return h3([t,...r])}function X4(e,t){return e.fullname===""?t.fullname===""&&Z4(i3(e),i3(t),([r,n],[i,o])=>r===i&&X4(n,o)):e.fullname===t.fullname&&Z4(o1(e),o1(t),X4)}function P0(e,t,r,n){return new J0(e,t,r,n)}function Ge(e,t,r,n){return new J0(e,t,r,void 0,n)}function I0(...e){return new J0("",void 0,void 0,void 0,()=>e)}function U1(e,t,r,n){const i=new J0(e,t,r,void 0,void 0,()=>{const o=r.prototype.cases();return n().map((s,a)=>new Fc(i,a,o[a],s))});return i}function u1(e){return new J0("Microsoft.FSharp.Core.FSharpOption`1",[e])}function g1(e){return new J0("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Pc=new J0("System.Object"),Ze=new J0("System.String"),nr=new J0("System.Boolean"),Ce=new J0("System.Int32");function Y2(e){if(Array.isArray(e))return e[0];if(e instanceof J0){const t=g3(e);if(t!=null)return Y2(t)+"[]";{const r=e.fullname.lastIndexOf(".");return r===-1?e.fullname:e.fullname.substr(r+1)}}else return e.name}function Qe(e){const t=g3(e);return t!=null?Qe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(r=>Qe(r)).join(",")+"]"}function ka(e){return g3(e)!=null}function g3(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ia(e){return e.generics!=null&&e.generics.length>0}function ji(e){return e.enumCases!=null&&e.enumCases.length>0}function Ra(e){return e.generics==null?e:new J0(e.fullname,e.generics.map(()=>Pc))}function Oa(e){var t;return(t=e.generics)==null?void 0:t[0]}function O2(e){if(ji(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Lc(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const r of e.enumCases)if(r[0]===t)return r;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const r of e.enumCases)if(r[1]===t)return r;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function D2(e,t){const r=parseInt(t,10);return Lc(e,isNaN(r)?t:r)[1]}function Da(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function i3(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function $a(e){if(Wi(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Fa(e){return e instanceof J0?e.cases!=null:e instanceof z}function Pa(e){return e instanceof J0?e.fields!=null:e instanceof ue}function Wi(e){return e.fullname.startsWith("System.Tuple")}function Bc(e,t){const n=Da(t)[e.tag];if(n==null)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function La(e){return e.fields==null?[]:e.fields}function Uc(e,t){return e[t[0]]}function Hc(e,t){const r=(e.fields||[]).length;if(t.length!==r)throw new Error(`Expected an array of length ${r} but got ${t.length}`);const n=e.declaringType.construct;return n==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new n(...t):new n(e.tag,t)}function Vc(e,t){const r=i3(e);if(r.length!==t.length)throw new Error(`Expected an array of length ${r.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):r.reduce((n,[i,o],s)=>(n[i]=t[s],n),{})}function jc(e,t){return e}const Wc="The index was outside the range of elements in the collection.",Ba="Collection was empty.",qc="The input must be non-negative.",Ua="The input sequence has an insufficient number of elements.";function ir(e,t){return new Array(t)}function d6(e,t){return e>t?e:t}function f6(e,t){return e<t?e:t}function Ha(e,t,r){const n=e.length|0,i=t.length|0,o=ir(r,n+i);for(let s=0;s<=n-1;s++)L0(o,s,we(s,e));for(let s=0;s<=i-1;s++)L0(o,s+n,we(s,t));return o}function w3(e,t,r,n){const i=t|0;return e.fill(n,i,i+r)}function Gc(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return we(e.length-1,e)}function Gn(e,t,r){const n=t.length|0,i=ir(r,n);for(let o=0;o<=n-1;o++)L0(i,o,e(o,we(o,t)));return i}function Je(e,t,r){const n=t.length|0,i=ir(r,n);for(let o=0;o<=n-1;o++)L0(i,o,e(we(o,t)));return i}function gn(e,t){const r=Array.isArray(e)?e:Array.from(e);switch(r.length|0){case 0:return ir(t,0);case 1:return we(0,r);default:{let i=0,o=0;for(let a=0;a<=r.length-1;a++){const l=we(a,r);o=o+l.length|0}const s=ir(t,o);for(let a=0;a<=r.length-1;a++){const l=we(a,r);for(let c=0;c<=l.length-1;c++)L0(s,i,we(c,l)),i=i+1|0}return s}}}function zc(e,t,r,n,i){const o=Le(r,0)|0,s=Le(i0(l=>o+l,n),e.length)|0;return(l=>{e:for(;;){const c=l;if(c>=s)return-1;if(i.Equals(t,we(c,e)))return c|0;l=c+1;continue e}})(o)|0}function D1(e,t,r){return zc(t,e,void 0,void 0,r)>=0}function Yc(e,t){const r=ir(t,1);return L0(r,0,e),r}function Zc(e){return e.slice().reverse()}function jt(e,t){return t.find(e)}function G0(e,t,r){const n=[];for(let i=0;i<=t.length-1;i++){const o=e(we(i,t));if(o!=null){const s=V(o);n.push(s)}}return X(r,Ae())?n:Je(i=>i,n,r)}function zn(e,t,r){const n=e;return r.reduce(n,t)}function Kc(e,t){const r=e.slice();return r.sort((n,i)=>t.Compare(n,i)),r}function Jc(e,t,r){const n=t.slice();return n.sort((i,o)=>r.Compare(e(i),e(o))),n}function $t(e,t,r){if(t==null)return r==null;if(r==null)return!1;{let n=0,i=!0;const o=t.length|0,s=r.length|0;if(o>s)return!1;if(o<s)return!1;for(;n<o&&i;)i=e(we(n,t),we(n,r)),n=n+1|0;return i}}function h6(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return we(0,e)}function Xc(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function we(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function L0(e,t,r){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=r}function Va(e,t){if(!(e<0||e>=t.length))return m0(t[e])}function ja(e,t,r){return t.reduceRight((n,i)=>e(i,n),r)}class A0 extends ue{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+v0("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=V(l),f=V(c);if(X(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return c==null}})(r,t)}GetHashCode(){return((n,i,o)=>{e:for(;;){const s=n,a=i,l=o,c=l.tail;if(c!=null){const d=V(c);if(s>18)return a|0;n=s+1,i=(a<<1)+p1(l.head)+631*s,o=d;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=V(l),f=V(c),m=R0(s.head,a.head)|0;if(m===0){i=d,o=f;continue e}else return m|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return ed(this)}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}}class Qc{constructor(t){this.xs=t,this.it=this.xs,this.current=Ae()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,r=t.it.tail;if(r!=null){const n=V(r);return t.current=t.it.head,t.it=n,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ae()}Dispose(){}}function ed(e){return new Qc(e)}function t0(){return new A0(Ae(),void 0)}function y3(e,t){return new A0(e,t)}function $1(e){return e.tail==null}function Wa(e){return((r,n)=>{e:for(;;){const i=r,s=n.tail;if(s!=null){r=i+1,n=V(s);continue e}else return i|0}})(0,e)|0}function Ft(e){if(e.tail!=null)return e.head;throw new Error(Ba+"\\nParameter name: list")}function b0(e){const t=e.tail;if(t!=null)return V(t);throw new Error(Ba+"\\nParameter name: list")}function td(e,t){return((n,i)=>{e:for(;;){const o=n,s=i,a=s.tail;if(a!=null){if(o===t)return s.head;n=o+1,i=V(a);continue e}else throw new Error(Wc+"\\nParameter name: index")}})(0,e)}function Pe(){return t0()}function d1(e,t){return y3(e,t)}function se(e){return y3(e,t0())}function ke(e){return $1(e)}function l0(e){return Wa(e)}function pe(e){return Ft(e)}function Oe(e){return b0(e)}function dt(e){const t=Wa(e)|0,r=w3(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!$1(a)){L0(r,s,Ft(a)),i=s+1,o=b0(a);continue e}break}})(0,e),r}function M1(e,t,r){let n=t,i=r;for(;!$1(i);)n=e(n,pe(i)),i=b0(i);return n}function qi(e){return M1((t,r)=>y3(r,t),t0(),e)}function rd(e,t,r){return ja(e,dt(t),r)}function nd(e,t,r){return((i,o,s)=>{e:for(;;){const a=i,l=o,c=s;if($1(c))return l;i=a+1,o=e(a,l,Ft(c)),s=b0(c);continue e}})(0,t,r)}function o3(e,t){M1((r,n)=>{e(n)},void 0,t)}function s0(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=y3(we(n,e),r);return r}function g(e){return s0(e,t0())}function id(e){let t,r;if(m1(e))return g(e);if(e instanceof A0)return e;{const n=t0();let i=n;const o=Fe(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,r=new A0(l,void 0),t.tail=r,r)}}finally{Re(o)}const s=i,a=t0();return s.tail=a,b0(n)}}function od(e){const t=t0();let r=t;const n=s=>{r=M1((a,l)=>{const c=new A0(l,void 0);return a.tail=c,c},r,s)};if(m1(e))e.forEach(n);else if(e instanceof A0)o3(n,e);else{const s=Fe(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)n(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Re(s)}}const i=r,o=t0();return i.tail=o,b0(t)}function F1(e,t){return M1((r,n)=>y3(n,r),t,qi(e))}function sd(e,t){let r,n;const i=t0();let o=i,s=t;for(;!$1(s);){let c=e(Ft(s));for(;!$1(c);)o=(r=o,n=new A0(Ft(c),void 0),r.tail=n,n),c=b0(c);s=b0(s)}const a=o,l=t0();return a.tail=l,b0(i)}function s3(e,t){const r=t0(),n=nd((o,s,a)=>{const l=new A0(e(o,a),void 0);return s.tail=l,l},r,t),i=t0();return n.tail=i,b0(r)}function A1(e,t){const r=t0(),n=M1((o,s)=>{const a=new A0(e(s),void 0);return o.tail=a,a},r,t),i=t0();return n.tail=i,b0(r)}function ad(e,t){return(n=>{e:for(;;){const i=n;if($1(i))return;{const o=e(Ft(i));if(o==null){n=b0(i);continue e}else return o}}})(t)}function Q4(e,t){return ad(r=>e(r)?m0(r):void 0,t)}function ld(e,t){return((n,i)=>{e:for(;;){const o=n,s=i;if($1(s))return;if(e(Ft(s)))return o;n=o+1,i=b0(s);continue e}})(0,t)}function ud(e,t){return td(t,e)}function N0(e,t){const r=t0(),n=M1((o,s)=>{if(e(s)){const a=new A0(s,void 0);return o.tail=a,a}else return o},r,t),i=t0();return n.tail=i,b0(r)}function cd(e,t){const r=t0(),n=t0(),i=r,o=M1((l,c)=>{let d,f;const m=l[0],h=l[1];return e(c)?[(d=new A0(c,void 0),m.tail=d,d),h]:[m,(f=new A0(c,void 0),h.tail=f,f)]},[i,n],t),s=t0();o[0].tail=s;const a=t0();return o[1].tail=a,[b0(i),b0(n)]}function dd(e,t){const r=t0(),n=M1((o,s)=>{const a=e(s);if(a==null)return o;{const l=new A0(V(a),void 0);return o.tail=l,l}},r,t),i=t0();return n.tail=i,b0(r)}function Gi(e,t){return ld(e,t)!=null}function qa(e,t){const r=dt(t);return r.sort(e),g(r)}function fd(e,t,r){return qa((n,i)=>r.Compare(e(n),e(i)),t)}function Ga(e,t,r){return qa((n,i)=>r.Compare(e(n),e(i))*-1,t)}function za(e,t){e:for(;;){const r=e,n=t;if(r<=0)return n;if($1(n))throw new Error(Ua+"\\nParameter name: list");e=r-1,t=b0(n);continue e}}function Ya(e,t){if(e<0)throw new Error(qc+"\\nParameter name: count");const r=(s,a,l)=>{let c;e:for(;;){const d=s,f=a,m=l;if(d<=0)return f;if($1(m))throw new Error(Ua+"\\nParameter name: list");s=d-1,a=(c=new A0(Ft(m),void 0),f.tail=c,c),l=b0(m);continue e}},n=t0(),i=r(e,n,t),o=t0();return i.tail=o,b0(n)}function Za(e,t,r){const n=l0(r)|0;let i;const o=Le(e,0)|0;i=o<0?0:o;let s;const a=Le(t,n-1)|0;return s=a>=n?n-1:a,s<i?t0():Ya(s-i+1,za(i,r))}const w=ee;function hd(e){const t=g([u("style",{children:[Vn]}),u("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return u("div",{children:w.Children.toArray(Array.from(t))})}class Ka{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const r=this._id;return this._listeners.set(this._id++,t),r}removeListener(t){return this._listeners.delete(t)}register(t,r){const n=this,i=this.addListener(r==null?t:()=>t(r));return{Dispose(){n.removeListener(i)}}}Dispose(){}}class Yn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Yn.prototype)}}class zi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>zi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function tt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Yn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(r){t.onError(dn(r))}});else try{e(t)}catch(r){t.onError(dn(r))}}}function md(e,t){return tt(r=>{e({onSuccess:n=>{try{t(n)(r)}catch(i){r.onError(dn(i))}},onError:r.onError,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function pd(e){return tt(t=>t.onSuccess(e))}class gd{Bind(t,r){return md(t,r)}Combine(t,r){return this.Bind(t,()=>r)}Delay(t){return tt(r=>t()(r))}For(t,r){const n=t[Symbol.iterator]();let i=n.next();return this.While(()=>!i.done,this.Delay(()=>{const o=r(i.value);return i=n.next(),o}))}Return(t){return pd(t)}ReturnFrom(t){return t}TryFinally(t,r){return tt(n=>{t({onSuccess:i=>{r(),n.onSuccess(i)},onError:i=>{r(),n.onError(i)},onCancel:i=>{r(),n.onCancel(i)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(t,r){return tt(n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:i=>{try{r(i)(n)}catch(o){n.onError(dn(o))}}})})}Using(t,r){return this.TryFinally(r(t),()=>t.Dispose())}While(t,r){return t()?this.Bind(r,()=>this.While(t,r)):this.Return(void 0)}Zero(){return tt(t=>t.onSuccess(void 0))}}const B=new gd;function wd(e){return new Ja(0,[e])}function yd(e){return new Ja(1,[e])}class Ja extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Choice1Of2","Choice2Of2"]}}function vd(e){return wd(e)}function bd(e){return yd(e)}function O5(e){}function _d(e){return new Ka(!1)}function Cd(e){e.cancel()}function xd(e){return e!=null&&e.isCancelled}const Sd=new Ka;function Ed(e){return tt(t=>{e({onSuccess:r=>t.onSuccess(vd(r)),onError:r=>t.onSuccess(bd(r)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Ad(e){return tt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Zn(e){return tt(t=>{let r;const n=setTimeout(()=>{t.cancelToken.removeListener(r),t.onSuccess(void 0)},e);r=t.cancelToken.addListener(()=>{clearTimeout(n),t.onCancel(new Yn)})})}function Td(e,t){return Nd(e,t)}function Wt(e,t){return Td(e,t)}function Nd(e,t,r,n,i){typeof t!="function"&&(i=t,t=void 0);const o=new zi;e({onSuccess:t||O5,onError:O5,onCancel:O5,cancelToken:i||Sd,trampoline:o})}class H1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class v3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Empty","Text","Binary","Form"]}}class Kn extends ue{constructor(t,r,n,i,o,s,a,l){super(),this.url=t,this.method=r,this.headers=n,this.withCredentials=i,this.overridenMimeType=o,this.overridenResponseType=s,this.timeout=a,this.content=l}}class j2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Xa extends ue{constructor(t,r,n,i,o,s){super(),this.statusCode=t|0,this.responseText=r,this.responseType=n,this.responseUrl=i,this.responseHeaders=o,this.content=s}}function Md(e){throw new Error(e)}const kd="Enumeration already finished.",Id="Enumeration has not started. Call MoveNext.",Qa="The input sequence has an insufficient number of elements.",Rd="Reset is not supported on this enumerator.";function Od(){throw new Error(Rd)}function Yi(){throw new Error(Id)}function ei(){throw new Error(kd)}class Dd{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const i=Fe(t);try{for(;r<4&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+e0(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{Re(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function $d(e){return new Dd(e)}class Fd{constructor(t,r,n){this.current=t,this.next=r,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Od()}Dispose(){this.dispose()}}function Jn(e,t,r){return new Fd(e,t,r)}function Pd(e){let t,r,n=!1,i=!1,o;const s=()=>{if(i=!0,r!=null){const a=V(r);try{Re(a)}finally{r=void 0}}if(t!=null){const a=V(t);try{Re(a)}finally{t=void 0}}};return Jn(()=>(n?i&&ei():Yi(),o!=null?V(o):ei()),()=>{let a;if(n||(n=!0),i)return!1;{let l;for(;l==null;){const c=t,d=r;if(c!=null)if(d!=null){const f=V(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=m0(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{Re(f)}finally{r=void 0}}else{const f=V(c);f["System.Collections.IEnumerator.MoveNext"]()?r=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),Fe(a)):(s(),l=!1)}else t=Fe(e)}return V(l)}},()=>{i||s()})}function Ld(e,t){return Jn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{Re(t)}finally{}})}function e8(e,t,r){let n=!1,i,o=m0(e());const s=()=>{if(o!=null){const l=V(o);try{r(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return Jn(()=>(n||Yi(),i!=null?V(i):ei()),()=>{if(n||(n=!0),o!=null){const l=V(o);let c;try{c=t(l)}catch(d){throw a(),d}return c!=null?(i=c,!0):(a(),!1)}else return!1},s)}function Bd(e,t){let r,n=t;return Jn(()=>{if(r!=null){const i=V(r)[0];return V(r)[1],i}else return Yi()},()=>(r=e(n),r!=null?(V(r)[0],n=V(r)[1],!0):!1),()=>{})}function Ud(e,t){t==null&&Md(e)}function gr(e){return $d(e)}function w1(e){return Ud("source",e),Fe(e)}function T(e){return gr(()=>Fe(e()))}function Xn(e){return gr(()=>Pd(e))}function Hd(e,t){return gr(()=>Bd(e,t))}function Te(){return T(()=>new Array(0))}function S(e){return T(()=>Yc(e))}function y1(e){return e instanceof A0?dt(e):Array.from(e)}function q(e){return m1(e)?g(e):e instanceof A0?e:id(e)}function Zi(e,t,r){return gr(()=>e8(e,t,r))}function t8(e,t,r){return gr(()=>{let n=-1;return e8(e,i=>(n=n+1|0,t(n,i)),r)})}function F(e,t){return Xn([e,t])}function Vd(e,t){return Zi(()=>w1(t),r=>{let n;for(;n==null&&r["System.Collections.IEnumerator.MoveNext"]();)n=e(r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n},r=>{Re(r)})}function jd(e,t,r){const n=w1(t);try{const i=w1(r);try{let o=0,s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&s&&a;)o=e(n["System.Collections.Generic.IEnumerator`1.get_Current"](),i["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:s?1:a?-1:0)|0}finally{Re(i)}}finally{Re(n)}}function $2(e,t,r){const n=w1(t);try{let i=!1;for(;!i&&n["System.Collections.IEnumerator.MoveNext"]();)i=r.Equals(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Re(n)}}function Ot(e,t){return Vd(r=>{if(e(r))return m0(r)},t)}function b3(e,t,r){const n=w1(r);try{let i=t;for(;n["System.Collections.IEnumerator.MoveNext"]();)i=e(i,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Re(n)}}function V1(e,t){b3((r,n)=>{e(n)},void 0,t)}function r8(e,t){b3((r,n)=>(e(r,n),r+1|0),0,t)}function Wd(e){if(m1(e))return e.length|0;if(e instanceof A0)return l0(e)|0;{const t=w1(e);try{let r=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)r=r+1|0;return r|0}finally{Re(t)}}}function De(e,t){return Zi(()=>w1(t),r=>r["System.Collections.IEnumerator.MoveNext"]()?m0(e(r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{Re(r)})}function qd(e,t){return t8(()=>w1(t),(r,n)=>n["System.Collections.IEnumerator.MoveNext"]()?m0(e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{Re(r)})}function Gd(e,t,r){return Zi(()=>[w1(t),w1(r)],n=>{const i=n[0],o=n[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?m0(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},n=>{try{Re(n[0])}finally{Re(n[1])}})}function zd(e){return T(()=>Zc(y1(e)))}function Yd(e,t){return gr(()=>{const r=w1(t);try{for(let n=1;n<=e;n++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Qa+"\\nParameter name: source");return Ld(()=>{},r)}catch(n){throw Re(r),n}})}function Zd(e,t){return t8(()=>w1(t),(r,n)=>{if(r<e){if(n["System.Collections.IEnumerator.MoveNext"]())return m0(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Qa+"\\nParameter name: source")}else return},r=>{Re(r)})}function n8(e,t){return Gd((r,n)=>[r,n],e,t)}function wr(e,t){return T(()=>Xn(De(e,t)))}class i8{constructor(t,r){this.k=t,this.v=r}}function or(e,t){return new i8(e,t)}function f0(e){return e.k}function y0(e){return e.v}class p0 extends i8{constructor(t,r,n,i,o){super(t,r),this.left=n,this.right=i,this.h=o|0}}function f2(e,t,r,n,i){return new p0(e,t,r,n,i)}function u0(e){return e.left}function c0(e){return e.right}function Mt(e){return e.h}function o8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=V(n);if(i instanceof p0){const o=i;e=o8(r+1,u0(o)),t=c0(o);continue e}else return r+1|0}else return r|0}}function s8(e){return o8(0,e)}function r1(e,t,r,n){let i,o,s;const a=e;if(a!=null){const f=V(a);s=f instanceof p0?(i=f,Mt(i)):1}else s=0;let l;const c=n;if(c!=null){const f=V(c);l=f instanceof p0?(o=f,Mt(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?or(t,r):f2(t,r,e,n,d+1)}function wn(e,t,r,n){let i,o,s,a,l,c,d,f,m;const h=e;if(h!=null){const b=V(h);m=b instanceof p0?(i=b,Mt(i)):1}else m=0;let p;const v=n;if(v!=null){const b=V(v);p=b instanceof p0?(o=b,Mt(o)):1}else p=0;if(p>m+2){const b=V(n);if(b instanceof p0){const _=b;if(s=u0(_),(s!=null?(a=V(s),a instanceof p0?(l=a,Mt(l)):1):0)>m+1){const C=V(u0(_));if(C instanceof p0){const E=C;return r1(r1(e,t,r,u0(E)),f0(E),y0(E),r1(c0(E),f0(_),y0(_),c0(_)))}else throw new Error("internal error: Map.rebalance")}else return r1(r1(e,t,r,u0(_)),f0(_),y0(_),c0(_))}else throw new Error("internal error: Map.rebalance")}else if(m>p+2){const b=V(e);if(b instanceof p0){const _=b;if(c=c0(_),(c!=null?(d=V(c),d instanceof p0?(f=d,Mt(f)):1):0)>p+1){const C=V(c0(_));if(C instanceof p0){const E=C;return r1(r1(u0(_),f0(_),y0(_),u0(E)),f0(E),y0(E),r1(c0(E),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return r1(u0(_),f0(_),y0(_),r1(c0(_),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return r1(e,t,r,n)}function sr(e,t,r,n){if(n!=null){const i=V(n),o=e.Compare(t,f0(i))|0;if(i instanceof p0){const s=i;return o<0?wn(sr(e,t,r,u0(s)),f0(s),y0(s),c0(s)):o===0?f2(t,r,u0(s),c0(s),Mt(s)):wn(u0(s),f0(s),y0(s),sr(e,t,r,c0(s)))}else return o<0?f2(t,r,void 0,n,2):o===0?or(t,r):f2(t,r,n,void 0,2)}else return or(t,r)}function Ki(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=V(o),a=n.Compare(i,f0(s))|0;if(a===0)return m0(y0(s));if(s instanceof p0){const l=s;e=n,t=i,r=a<0?u0(l):c0(l);continue e}else return}else return}}function Kd(e,t,r){const n=Ki(e,t,r);if(n==null)throw new Error;return V(n)}function a8(e){if(e!=null){const t=V(e);if(t instanceof p0){const r=t;if(u0(r)==null)return[f0(r),y0(r),c0(r)];{const n=a8(u0(r));return[n[0],n[1],r1(n[2],f0(r),y0(r),c0(r))]}}else return[f0(t),y0(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function ti(e,t,r,n){if(n!=null){const i=V(n);if(i instanceof p0){const o=i,s=e.Compare(t,f0(o))|0;if(s<0)return wn(ti(e,t,r,u0(o)),f0(o),y0(o),c0(o));if(s===0){const a=r(m0(y0(o)));if(a!=null)return f2(t,V(a),u0(o),c0(o),Mt(o));if(u0(o)==null)return c0(o);if(c0(o)==null)return u0(o);{const l=a8(c0(o));return r1(u0(o),l[0],l[1],l[2])}}else return wn(u0(o),f0(o),y0(o),ti(e,t,r,c0(o)))}else{const o=e.Compare(t,f0(i))|0;if(o<0){const s=r(void 0);return s!=null?f2(t,V(s),void 0,n,2):n}else if(o===0){const s=r(m0(y0(i)));return s!=null?or(t,V(s)):void 0}else{const s=r(void 0);return s!=null?f2(t,V(s),n,void 0,2):n}}}else{const i=r(void 0);return i!=null?or(t,V(i)):n}}function Jd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=V(o),a=n.Compare(i,f0(s))|0;if(s instanceof p0){const l=s;if(a<0){e=n,t=i,r=u0(l);continue e}else{if(a===0)return!0;e=n,t=i,r=c0(l);continue e}}else return a===0}else return!1}}function l8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=V(n);if(i instanceof p0){const o=i;l8(r,u0(o)),r(f0(o),y0(o)),e=r,t=c0(o);continue e}else r(f0(i),y0(i))}break}}function Xd(e,t){l8(e,t)}function u8(e,t,r){let n=r;Xd((i,o)=>{L0(t,n,[i,o]),n=n+1|0},e)}function Qd(e){const t=s8(e)|0,r=w3(new Array(t),0,t,[null,null]);return u8(e,r,0),r}function ef(e,t){return M1((r,n)=>sr(e,n[0],n[1],r),void 0,t)}function tf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=n,t=sr(n,s[0],s[1],i),r=o;continue e}else return i}}function rf(e,t){let r=void 0;for(let n=0;n<=t.length-1;n++){const i=we(n,t);r=sr(e,i[0],i[1],r)}return r}function c8(e,t){if(m1(t))return rf(e,t);if(t instanceof A0)return ef(e,t);{const r=Fe(t);try{return tf(e,void 0,r)}finally{Re(r)}}}class nf extends ue{constructor(t,r){super(),this.stack=t,this.started=r}}function d8(e){e:for(;;){const t=e;if(ke(t))return Pe();{const r=Oe(t),n=pe(t);if(n!=null){const i=V(n);if(i instanceof p0){const o=i;e=s0([u0(o),or(f0(o),y0(o)),c0(o)],r);continue e}else return t}else{e=r;continue e}}}}function m6(e){return new nf(d8(se(e)),!1)}function of(){throw new Error("enumeration not started")}function sf(){throw new Error("enumeration already finished")}function p6(e){if(e.started){const t=e.stack;if(ke(t))return sf();if(pe(t)!=null){const r=V(pe(t));if(r instanceof p0)throw new Error("Please report error: Map iterator, unexpected stack for current");return[f0(r),y0(r)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return of()}function af(e){if(e.started){const t=e.stack;if(ke(t))return!1;if(pe(t)!=null){if(V(pe(t))instanceof p0)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=d8(Oe(t)),!ke(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!ke(e.stack)}function g6(e){let t=m6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return p6(t)},"System.Collections.IEnumerator.get_Current"(){return p6(t)},"System.Collections.IEnumerator.MoveNext"(){return af(t)},"System.Collections.IEnumerator.Reset"(){t=m6(e)},Dispose(){}}}class yn{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return ff(this)|0}Equals(t){const r=this;if(t instanceof yn){const n=t,i=Fe(r);try{const o=Fe(n);try{const s=()=>{const a=i["System.Collections.IEnumerator.MoveNext"]();if(a===o["System.Collections.IEnumerator.MoveNext"]())if(a){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"](),c=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return X(l[0],c[0])&&X(l[1],c[1])?s():!1}else return!0;else return!1};return s()}finally{Re(o)}}finally{Re(i)}}else return!1}toString(){return"map ["+v0("; ",De(r=>Bi("({0}, {1})",r[0],r[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return g6(this.tree)}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return g6(this.tree)}CompareTo(t){const r=this;if(t instanceof yn)return jd((i,o)=>{const s=r.comparer.Compare(i[0],o[0])|0;return(s!==0?s:R0(i[1],o[1]))|0},r,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=this;return w6(r,t[0])&&X(w2(r,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){u8(this.tree,t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return D5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return D5(this)|0}get size(){return D5(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return De(r=>[r[0],r[1]],this)}get(t){return w2(this,t)}has(t){return w6(this,t)}keys(){return De(r=>r[0],this)}set(t,r){throw new Error("Map cannot be mutated")}values(){return De(r=>r[1],this)}forEach(t,r){const n=this;V1(i=>{t(i[1],i[0],n)},n)}}function _3(e,t){return new yn(e,t)}function lf(e){return _3(e,void 0)}function uf(e,t,r){return _3(e.comparer,sr(e.comparer,t,r,e.tree))}function cf(e,t,r){return _3(e.comparer,ti(e.comparer,t,r,e.tree))}function w2(e,t){return Kd(e.comparer,t,e.tree)}function D5(e){return s8(e.tree)}function w6(e,t){return Jd(e.comparer,t,e.tree)}function df(e,t,r){const n=Ki(e.comparer,t,e.tree);if(n==null)return!1;{const i=V(n);return r.contents=i,!0}}function y6(e){return Je(t=>t[1],Qd(e.tree))}function kt(e,t){return Ki(e.comparer,t,e.tree)}function ff(e){const t=(i,o)=>(i<<1)+o+631;let r=0;const n=Fe(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r=t(r,p1(i[0]))|0,r=t(r,p1(i[1]))|0}}finally{Re(n)}return r|0}function f8(e,t,r){return uf(r,e,t)}function L3(e,t,r){return cf(r,e,t)}function h8(e,t){return kt(t,e)}function hf(e){return De(t=>[t[0],t[1]],e)}function Z2(e,t){return _3(t,c8(t,e))}function mf(e,t){return _3(t,c8(t,e))}function Ji(e){return lf(e)}const Qt=new Kn("",new H1(0,[]),Pe(),!1,void 0,void 0,void 0,new v3(0,[]));new Xa(0,"","","",Ji({Compare:Ut}),new j2(0,[""]));function v6(e,t){return Ui(t)?new Array(0):Ta(t,[e],void 0,0)}function pf(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function ft(e){return new Kn(e,Qt.method,Qt.headers,Qt.withCredentials,Qt.overridenMimeType,Qt.overridenResponseType,Qt.timeout,Qt.content)}function ht(e,t){return new Kn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Qn(e,t){return new Kn(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function gf(e){return Ad(t=>{const r=new XMLHttpRequest;r.open(pf(e.method),e.url),r.onreadystatechange=()=>{let l,c,d,f,m,h,p;r.readyState===4&&t[0]((l=(c=r.responseType,c===""||c==="text"?r.responseText:""),d=r.status|0,f=r.responseType,m=(h=r.responseType,h===""?new j2(0,[r.responseText]):h==="text"?new j2(0,[r.responseText]):h==="arraybuffer"?new j2(2,[r.response]):h==="blob"?new j2(1,[r.response]):new j2(3,[r.response])),p=mf(G0(v=>{const b=g(v6(":",v));if(!ke(b))return[pe(b).toLocaleLowerCase(),v0(":",Oe(b)).trim()]},v6(`\r
|
|
4
|
-
`,r.getAllResponseHeaders())),{Compare:Ut}),new Xa(d,l,f,r.responseURL,p,m)))};const n=Fe(e.headers);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const l=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r.setRequestHeader(l.fields[0],l.fields[1])}}finally{Re(n)}r.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(i!=null){const l=i;r.overrideMimeType(l)}const o=e.overridenResponseType;if(o!=null)switch(o.tag){case 1:{r.responseType="blob";break}case 2:{r.responseType="arraybuffer";break}default:r.responseType="text"}const s=e.timeout;if(s!=null){const l=s|0;r.timeout=l|0}const a=e.content;switch(a.tag){case 1:{r.send(m0(a.fields[0]));break}case 3:{r.send(m0(a.fields[0]));break}case 2:{r.send(m0(a.fields[0]));break}default:r.send()}})}const wf=3,yf=1e3;function m8(e,t,r){return B.Delay(()=>B.Bind(gf(r),n=>{let i,o;const s=n,a=s.statusCode|0;return i=a|0,i>=200&&i<=299?B.Return(s):(o=a|0,(o===412||o===425||o===429?!0:o>=500)&&e>=1?B.Bind(Zn(t),()=>B.ReturnFrom(m8(e-1,t,r))):B.Return(s))}))}const mt=e=>m8(wf,yf,e);function vf(e){return new R(0,[e])}function p8(e){return new R(1,[e])}class R extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Ok","Error"]}}function P1(e,t){return t.tag===0?vf(e(t.fields[0])):p8(t.fields[0])}function bf(e,t){return t.tag===0?e(t.fields[0]):p8(t.fields[0])}const l2={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function $5(e,t){return e.replace(/[a-z]?[A-Z]/g,r=>r.length===1?r.toLowerCase():r.charAt(0)+t+r.charAt(1).toLowerCase())}function _f(e,t){switch(t){case l2.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case l2.SnakeCase:return $5(e,"_");case l2.SnakeCaseAllCaps:return $5(e,"_").toUpperCase();case l2.KebabCase:return $5(e,"-");case l2.None:default:return e}}function pt(e,t=l2.None){const r={},n=t;function i(s){throw new Error("Cannot infer key and value of "+String(s))}function o(s,a,l){s=_f(s,a),r[s]=l}for(let s of e){let a=l2.None;if(s==null&&i(s),s instanceof z){const l=s.cases()[s.tag];s=s.fields.length===0?l:[l].concat(s.fields),a=n}if(Array.isArray(s))switch(s.length){case 0:i(s);break;case 1:o(s[0],a,!0);break;case 2:const l=s[1];o(s[0],a,l);break;default:o(s[0],a,s.slice(1))}else typeof s=="string"?o(s,a,!0):i(s)}return r}function e5(e,t,r){return e.has(t)?(r.contents=e.get(t),!0):!1}function g8(e,t){return t.has(e)?!1:(t.add(e),!0)}function Cf(e,t,r){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,r)}function ut(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class ce extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class K0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function b6(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function w8(e,t){switch(e.tag){case 2:return p3(b6(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return b6(t)}}const xf=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,_6=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Sf=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Ef(e){function t(n){return n.replace(_6,"$1-$2-$3-$4-$5")}const r=e.trim().toLowerCase();if(xf.test(r))return Na(r,"{","}","(",")");if(_6.test(r))return t(r);if(Sf.test(r))return t(r.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Af(e,t){try{return t.contents=Ef(e),!0}catch{return!1}}function Xi(){let e="";for(let t=0;t++<36;)e+=t*51&52?(t^15?8^Math.random()*(t^20?16:4):4).toString(16):"-";return e}var ri;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(ri||(ri={}));function Tf(e,t){const[,r,n,i]=e;return{sign:r||"",prefix:n||"",digits:i,radix:t}}function C6(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Nf(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function Mf(e,t){if(t&ri.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function kf(e,t,r){const i=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(i!=null){const[,,o,s]=i;if(r=r||Mf(o,t),!Nf(r).test(s))return Tf(i,r)}return null}function If(e,t,r,n,i){const o=kf(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=C6(!0,n);!r&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-n>>32-n);const[c,d]=C6(r,n);if(s>=c&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function yr(e,t,r,n,i){try{return i.contents=If(e,t,r,n),!0}catch{return!1}}function y8(e,t){Rf(t);const r=new Date(e);return r.offset=t??new Date().getTimezoneOffset()*-6e4,r}function Rf(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function Of(){return y8(-621355968e5,0)}function Df(e){const[t,r]=_a(e),n=r==null?t.getTimezoneOffset()*-6e4:r==="Z"?0:r*6e4;return y8(t.getTime(),n)}function $f(e,t){try{return t.contents=Df(e),!0}catch{return!1}}function C3(e){return e<0?Math.ceil(e):Math.floor(e)}function x6(e=0,t=0,r=0,n=0,i=0){switch(arguments.length){case 1:return Ff(arguments[0]);case 3:e=0,t=arguments[0],r=arguments[1],n=arguments[2],i=0;break}return e*864e5+t*36e5+r*6e4+n*1e3+i}function Ff(e){return Number(BigInt(e)/10000n)}function Pf(e){return C3(e/864e5)}function Lf(e){return C3(e%864e5/36e5)}function Bf(e){return C3(e%36e5/6e4)}function Uf(e){return C3(e%6e4/1e3)}function Hf(e){return C3(e%1e3)}function Vf(e,t="c",r){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const n=Math.abs(Pf(e)),i=Math.abs(Lf(e)),o=Math.abs(Bf(e)),s=Math.abs(Uf(e)),a=Math.abs(Hf(e));return`${e<0?"-":""}${n===0&&(t==="c"||t==="g")?"":t==="c"?n+".":n+":"}${t==="g"?i:je(i,2)}:${je(o,2)}:${je(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+je(a,3):"."+qu(a,3,7)}`}function jf(e){const t=e.search("\\."),r=e.search("\\:");if(t===-1&&r===-1){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return x6(n,0,0,0,0)}if(r>0){const n=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(n!=null&&n[4]!=null&&n[5]!=null){let i=0,o=0,s=0;const a=n[1]!=null&&n[1]==="-"?-1:1,l=+n[4],c=+n[5];if(n[3]!=null&&(i=+n[3]),n[7]!=null&&(s=+n[7]),n[8]!=null)switch(n[8].length){case 1:o=+n[8]*100;break;case 2:o=+n[8]*10;break;case 3:o=+n[8];break;case 4:o=+n[8]/10;break;case 5:o=+n[8]/100;break;case 6:o=+n[8]/1e3;break;case 7:o=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*x6(i,l,c,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Wf(e,t){try{return t.contents=jf(e),!0}catch{return!1}}class v8{constructor(t,r){const n=new T0(Ae());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Fe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();F5(n.contents,o)}}finally{Re(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}GetEnumerator(){return Fe(Xn(this.hashMap.values()))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){F5(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){S6(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return A6(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){r8((i,o)=>{L0(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return E6(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return T6(this,t)}get size(){return E6(this)|0}add(t){const r=this;return F5(r,t),r}clear(){S6(this)}delete(t){return T6(this,t)}has(t){return A6(this,t)}keys(){return De(r=>r,this)}values(){return De(r=>r,this)}entries(){return De(r=>[r,r],this)}forEach(t,r){const n=this;V1(i=>{t(i,i,n)},n)}}function Qi(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=Ae();return n=[e5(e.hashMap,r,new T0(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,r,-1]}function S6(e){e.hashMap.clear()}function E6(e){let t=0,r=Fe(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{Re(r)}return t|0}function F5(e,t){const r=Qi(e,t);return r[0]?r[2]>-1?!1:(ut(e.hashMap,r[1]).push(t),!0):(e.hashMap.set(r[1],[t]),!0)}function A6(e,t){const r=Qi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function T6(e,t){const r=Qi(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return ut(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}class b8{constructor(t){this.k=t}}function n1(e){return new b8(e)}function Se(e){return e.k}class Ue extends b8{constructor(t,r,n,i){super(t),this.left=r,this.right=n,this.h=i|0}}function i1(e,t,r,n){return new Ue(e,t,r,n)}function Xe(e){return e.left}function ze(e){return e.right}function G2(e){return e.h}function _8(e,t){e:for(;;){const r=e,n=t;if(r!=null){const i=V(r);if(i instanceof Ue){const o=i;e=Xe(o),t=_8(ze(o),n+1);continue e}else return n+1|0}else return n|0}}function qf(e){return _8(e,0)}function _1(e,t,r){let n,i,o;const s=e;if(s!=null){const d=V(s);o=d instanceof Ue?(n=d,G2(n)):1}else o=0;let a;const l=r;if(l!=null){const d=V(l);a=d instanceof Ue?(i=d,G2(i)):1}else a=0;const c=(o<a?a:o)|0;return c===0?n1(t):i1(t,e,r,c+1)}function N6(e,t,r){let n,i,o,s,a,l,c,d,f;const m=e;if(m!=null){const v=V(m);f=v instanceof Ue?(n=v,G2(n)):1}else f=0;let h;const p=r;if(p!=null){const v=V(p);h=v instanceof Ue?(i=v,G2(i)):1}else h=0;if(h>f+2){const v=V(r);if(v instanceof Ue){const b=v;if(o=Xe(b),(o!=null?(s=V(o),s instanceof Ue?(a=s,G2(a)):1):0)>f+1){const _=V(Xe(b));if(_ instanceof Ue){const C=_;return _1(_1(e,t,Xe(C)),Se(C),_1(ze(C),Se(b),ze(b)))}else throw new Error("internal error: Set.rebalance")}else return _1(_1(e,t,Xe(b)),Se(b),ze(b))}else throw new Error("internal error: Set.rebalance")}else if(f>h+2){const v=V(e);if(v instanceof Ue){const b=v;if(l=ze(b),(l!=null?(c=V(l),c instanceof Ue?(d=c,G2(d)):1):0)>h+1){const _=V(ze(b));if(_ instanceof Ue){const C=_;return _1(_1(Xe(b),Se(b),Xe(C)),Se(C),_1(ze(C),t,r))}else throw new Error("internal error: Set.rebalance")}else return _1(Xe(b),Se(b),_1(ze(b),t,r))}else throw new Error("internal error: Set.rebalance")}else return _1(e,t,r)}function ar(e,t,r){if(r!=null){const n=V(r),i=e.Compare(t,Se(n))|0;if(n instanceof Ue){const o=n;return i<0?N6(ar(e,t,Xe(o)),Se(o),ze(o)):i===0?r:N6(Xe(o),Se(o),ar(e,t,ze(o)))}else{const o=e.Compare(t,Se(n))|0;return o<0?i1(t,void 0,r,2):o===0?r:i1(t,r,void 0,2)}}else return n1(t)}function C8(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=V(o),a=n.Compare(i,Se(s))|0;if(s instanceof Ue){const l=s;if(a<0){e=n,t=i,r=Xe(l);continue e}else{if(a===0)return!0;e=n,t=i,r=ze(l);continue e}}else return a===0}else return!1}}function x8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=V(n);if(i instanceof Ue){const o=i;x8(r,Xe(o)),r(Se(o)),e=r,t=ze(o);continue e}else r(Se(i))}break}}class Gf extends ue{constructor(t,r){super(),this.stack=t,this.started=r}}function S8(e){e:for(;;){const t=e;if(ke(t))return Pe();{const r=pe(t),n=Oe(t);if(r!=null){const i=V(r);if(i instanceof Ue){const o=i;e=s0([Xe(o),n1(Se(o)),ze(o)],n);continue e}else return t}else{e=n;continue e}}}}function M6(e){return new Gf(S8(se(e)),!1)}function zf(){throw new Error("Enumeration not started")}function Yf(){throw new Error("Enumeration already started")}function k6(e){if(e.started){const t=e.stack;if(ke(t))return Yf();if(pe(t)!=null){const r=V(pe(t));return Se(r)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return zf()}function Zf(e){if(e.started){const t=e.stack;if(ke(t))return!1;if(pe(t)!=null){if(V(pe(t))instanceof Ue)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=S8(Oe(t)),!ke(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!ke(e.stack)}function I6(e){let t=M6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return k6(t)},"System.Collections.IEnumerator.get_Current"(){return k6(t)},"System.Collections.IEnumerator.MoveNext"(){return Zf(t)},"System.Collections.IEnumerator.Reset"(){t=M6(e)},Dispose(){}}}function Kf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(ke(i))return ke(o)?0:-1;if(ke(o))return 1;if(pe(o)!=null)if(pe(i)!=null){const s=V(pe(i)),a=V(pe(o));if(s instanceof Ue){const l=s;if(Xe(l)==null)if(a instanceof Ue){const c=a;if(Xe(c)==null){const d=n.Compare(Se(l),Se(c))|0;if(d!==0)return d|0;e=n,t=d1(ze(l),Oe(i)),r=d1(ze(c),Oe(o));continue e}else{let d,f,m,h,p;switch(ke(i)?ke(o)?d=2:pe(o)!=null?(d=1,h=Oe(o),p=V(pe(o))):d=2:pe(i)!=null?(d=0,f=Oe(i),m=V(pe(i))):ke(o)?d=2:pe(o)!=null?(d=1,h=Oe(o),p=V(pe(o))):d=2,d){case 0:if(m instanceof Ue){const v=m;e=n,t=s0([Xe(v),i1(Se(v),void 0,ze(v),0)],f),r=o;continue e}else{e=n,t=s0([void 0,n1(Se(m))],f),r=o;continue e}case 1:if(p instanceof Ue){const v=p;e=n,t=i,r=s0([Xe(v),i1(Se(v),void 0,ze(v),0)],h);continue e}else{e=n,t=i,r=s0([void 0,n1(Se(p))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=n.Compare(Se(l),Se(a))|0;if(c!==0)return c|0;e=n,t=d1(ze(l),Oe(i)),r=d1(void 0,Oe(o));continue e}else{let c,d,f,m,h;switch(ke(i)?ke(o)?c=2:pe(o)!=null?(c=1,m=Oe(o),h=V(pe(o))):c=2:pe(i)!=null?(c=0,d=Oe(i),f=V(pe(i))):ke(o)?c=2:pe(o)!=null?(c=1,m=Oe(o),h=V(pe(o))):c=2,c){case 0:if(f instanceof Ue){const p=f;e=n,t=s0([Xe(p),i1(Se(p),void 0,ze(p),0)],d),r=o;continue e}else{e=n,t=s0([void 0,n1(Se(f))],d),r=o;continue e}case 1:if(h instanceof Ue){const p=h;e=n,t=i,r=s0([Xe(p),i1(Se(p),void 0,ze(p),0)],m);continue e}else{e=n,t=i,r=s0([void 0,n1(Se(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof Ue){const l=a;if(Xe(l)==null){const c=n.Compare(Se(s),Se(l))|0;if(c!==0)return c|0;e=n,t=d1(void 0,Oe(i)),r=d1(ze(l),Oe(o));continue e}else{let c,d,f,m,h;switch(ke(i)?ke(o)?c=2:pe(o)!=null?(c=1,m=Oe(o),h=V(pe(o))):c=2:pe(i)!=null?(c=0,d=Oe(i),f=V(pe(i))):ke(o)?c=2:pe(o)!=null?(c=1,m=Oe(o),h=V(pe(o))):c=2,c){case 0:if(f instanceof Ue){const p=f;e=n,t=s0([Xe(p),i1(Se(p),void 0,ze(p),0)],d),r=o;continue e}else{e=n,t=s0([void 0,n1(Se(f))],d),r=o;continue e}case 1:if(h instanceof Ue){const p=h;e=n,t=i,r=s0([Xe(p),i1(Se(p),void 0,ze(p),0)],m);continue e}else{e=n,t=i,r=s0([void 0,n1(Se(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=n.Compare(Se(s),Se(a))|0;if(l!==0)return l|0;e=n,t=Oe(i),r=Oe(o);continue e}}else{V(pe(o));let s,a,l,c,d;switch(ke(i)?ke(o)?s=2:pe(o)!=null?(s=1,c=Oe(o),d=V(pe(o))):s=2:pe(i)!=null?(s=0,a=Oe(i),l=V(pe(i))):ke(o)?s=2:pe(o)!=null?(s=1,c=Oe(o),d=V(pe(o))):s=2,s){case 0:if(l instanceof Ue){const f=l;e=n,t=s0([Xe(f),i1(Se(f),void 0,ze(f),0)],a),r=o;continue e}else{e=n,t=s0([void 0,n1(Se(l))],a),r=o;continue e}case 1:if(d instanceof Ue){const f=d;e=n,t=i,r=s0([Xe(f),i1(Se(f),void 0,ze(f),0)],c);continue e}else{e=n,t=i,r=s0([void 0,n1(Se(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(pe(i)!=null){V(pe(i));let s,a,l,c,d;switch(ke(i)?ke(o)?s=2:pe(o)!=null?(s=1,c=Oe(o),d=V(pe(o))):s=2:pe(i)!=null?(s=0,a=Oe(i),l=V(pe(i))):ke(o)?s=2:pe(o)!=null?(s=1,c=Oe(o),d=V(pe(o))):s=2,s){case 0:if(l instanceof Ue){const f=l;e=n,t=s0([Xe(f),i1(Se(f),void 0,ze(f),0)],a),r=o;continue e}else{e=n,t=s0([void 0,n1(Se(l))],a),r=o;continue e}case 1:if(d instanceof Ue){const f=d;e=n,t=i,r=s0([Xe(f),i1(Se(f),void 0,ze(f),0)],c);continue e}else{e=n,t=i,r=s0([void 0,n1(Se(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=n,t=Oe(i),r=Oe(o);continue e}}}function R6(e,t,r){return t==null?r==null?0:-1:r==null?1:Kf(e,se(t),se(r))|0}function Jf(e,t,r){let n=r;x8(i=>{L0(t,n,i),n=n+1|0},e)}function Xf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){e=n,t=ar(n,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),r=o;continue e}else return i}}function Qf(e,t){return zn((r,n)=>ar(e,n,r),void 0,t)}function eh(e,t){return M1((r,n)=>ar(e,n,r),void 0,t)}function E8(e,t){if(m1(t))return Qf(e,t);if(t instanceof A0)return eh(e,t);{const r=Fe(t);try{return Xf(e,void 0,r)}finally{Re(r)}}}class eo{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return nh(this)|0}Equals(t){let r;const n=this;return t instanceof eo&&(r=t,R6(K2(n),C1(n),C1(r))===0)}toString(){return"set ["+v0("; ",De(r=>e0(r),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const r=this;return R6(K2(r),C1(r),C1(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=this;return C8(K2(r),t,C1(r))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Jf(C1(this),t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return P5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return P5(this)|0}GetEnumerator(){return I6(C1(this))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return I6(C1(this))}get size(){return P5(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return A8(this,t)}keys(){return De(r=>r,this)}values(){return De(r=>r,this)}entries(){return De(r=>[r,r],this)}forEach(t,r){const n=this;V1(i=>{t(i,i,n)},n)}}function t5(e,t){return new eo(e,t)}function K2(e){return e.comparer}function C1(e){return e.tree}function th(e){return t5(e,void 0)}function rh(e,t){return t5(K2(e),ar(K2(e),t,C1(e)))}function P5(e){return qf(C1(e))}function A8(e,t){return C8(K2(e),t,C1(e))}function nh(e){let t=0;const r=Fe(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+p1(n)+631|0}}finally{Re(r)}return Math.abs(t)|0}function vn(e,t){return A8(t,e)}function ih(e,t){return rh(t,e)}function oh(e){return th(e)}function T8(e,t){return t5(t,E8(t,e))}function sh(e,t){return t5(t,E8(t,e))}function Dr(e,t,r){try{return"Expecting "+e+" but instead got:"+(r?`
|
|
1
|
+
var c3,Ne,H7,i2,$o,V7,H4,wi,V4,U4,U7,e3={},j7=[],uu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$n=Array.isArray;function K1(e,t){for(var r in t)e[r]=t[r];return e}function W7(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function u(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?c3.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return Yr(e,s,n,i,null)}function Yr(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++H7,__i:-1,__u:0};return i==null&&Ne.vnode!=null&&Ne.vnode(o),o}function Fn(){return{current:null}}function Ze(e){return e.children}function C1(e,t){this.props=e,this.context=t}function er(e,t){if(t==null)return e.__?er(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?er(e):null}function q7(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return q7(e)}}function j4(e){(!e.__d&&(e.__d=!0)&&i2.push(e)&&!on.__r++||$o!==Ne.debounceRendering)&&(($o=Ne.debounceRendering)||V7)(on)}function on(){var e,t,r,n,i,o,s,a;for(i2.sort(H4);e=i2.shift();)e.__d&&(t=i2.length,n=void 0,o=(i=(r=e).__v).__e,s=[],a=[],r.__P&&((n=K1({},i)).__v=i.__v+1,Ne.vnode&&Ne.vnode(n),yi(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??er(i),!!(32&i.__u),a),n.__v=i.__v,n.__.__k[n.__i]=n,Y7(s,n,a),n.__e!=o&&q7(n)),i2.length>t&&i2.sort(H4));on.__r=0}function G7(e,t,r,n,i,o,s,a,l,c,d){var f,m,h,p,v,b=n&&n.__k||j7,_=t.length;for(r.__d=l,cu(r,t,b),l=r.__d,f=0;f<_;f++)(h=r.__k[f])!=null&&(m=h.__i===-1?e3:b[h.__i]||e3,h.__i=f,yi(e,h,m,i,o,s,a,l,c,d),p=h.__e,h.ref&&m.ref!=h.ref&&(m.ref&&vi(m.ref,null,h),d.push(h.ref,h.__c||p,h)),v==null&&p!=null&&(v=p),65536&h.__u||m.__k===h.__k?l=z7(h,l,e):typeof h.type=="function"&&h.__d!==void 0?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);r.__d=l,r.__e=v}function cu(e,t,r){var n,i,o,s,a,l=t.length,c=r.length,d=c,f=0;for(e.__k=[],n=0;n<l;n++)(i=t[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=n+f,(i=e.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Yr(null,i,null,null,null):$n(i)?Yr(Ze,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Yr(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(a=i.__i=du(i,r,s,d))!==-1&&(d--,(o=r[a])&&(o.__u|=131072)),o==null||o.__v===null?(a==-1&&f--,typeof i.type!="function"&&(i.__u|=65536)):a!==s&&(a==s-1?f--:a==s+1?f++:(a>s?f--:f++,i.__u|=65536))):i=e.__k[n]=null;if(d)for(n=0;n<c;n++)(o=r[n])!=null&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=er(o)),Z7(o,o))}function z7(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=z7(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=er(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function et(e,t){return t=t||[],e==null||typeof e=="boolean"||($n(e)?e.some(function(r){et(r,t)}):t.push(e)),t}function du(e,t,r,n){var i=e.key,o=e.type,s=r-1,a=r+1,l=t[r];if(l===null||l&&i==l.key&&o===l.type&&!(131072&l.__u))return r;if((typeof o!="function"||o===Ze||i)&&n>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function Fo(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||uu.test(t)?r:r+"px"}function R3(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Fo(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||Fo(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=wi,e.addEventListener(t,o?U4:V4,o)):e.removeEventListener(t,o?U4:V4,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Po(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=wi++;else if(t.t<r.u)return;return Ne.event&&(t=Ne.event(t)),"handleEvent"in r?r.handleEvent(t):r(t)}}}function yi(e,t,r,n,i,o,s,a,l,c){var d,f,m,h,p,v,b,_,C,A,N,k,D,P,T,S,I=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[a=t.__e=r.__e]),(d=Ne.__b)&&d(t);e:if(typeof I=="function")try{if(_=t.props,C="prototype"in I&&I.prototype.render,A=(d=I.contextType)&&n[d.__c],N=d?A?A.props.value:d.__:n,r.__c?b=(f=t.__c=r.__c).__=f.__E:(C?t.__c=f=new I(_,N):(t.__c=f=new C1(_,N),f.constructor=I,f.render=mu),A&&A.sub(f),f.props=_,f.state||(f.state={}),f.context=N,f.__n=n,m=f.__d=!0,f.__h=[],f._sb=[]),C&&f.__s==null&&(f.__s=f.state),C&&I.getDerivedStateFromProps!=null&&(f.__s==f.state&&(f.__s=K1({},f.__s)),K1(f.__s,I.getDerivedStateFromProps(_,f.__s))),h=f.props,p=f.state,f.__v=t,m)C&&I.getDerivedStateFromProps==null&&f.componentWillMount!=null&&f.componentWillMount(),C&&f.componentDidMount!=null&&f.__h.push(f.componentDidMount);else{if(C&&I.getDerivedStateFromProps==null&&_!==h&&f.componentWillReceiveProps!=null&&f.componentWillReceiveProps(_,N),!f.__e&&(f.shouldComponentUpdate!=null&&f.shouldComponentUpdate(_,f.__s,N)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(f.props=_,f.state=f.__s,f.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(M){M&&(M.__=t)}),k=0;k<f._sb.length;k++)f.__h.push(f._sb[k]);f._sb=[],f.__h.length&&s.push(f);break e}f.componentWillUpdate!=null&&f.componentWillUpdate(_,f.__s,N),C&&f.componentDidUpdate!=null&&f.__h.push(function(){f.componentDidUpdate(h,p,v)})}if(f.context=N,f.props=_,f.__P=e,f.__e=!1,D=Ne.__r,P=0,C){for(f.state=f.__s,f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),T=0;T<f._sb.length;T++)f.__h.push(f._sb[T]);f._sb=[]}else do f.__d=!1,D&&D(t),d=f.render(f.props,f.state,f.context),f.state=f.__s;while(f.__d&&++P<25);f.state=f.__s,f.getChildContext!=null&&(n=K1(K1({},n),f.getChildContext())),C&&!m&&f.getSnapshotBeforeUpdate!=null&&(v=f.getSnapshotBeforeUpdate(h,p)),G7(e,$n(S=d!=null&&d.type===Ze&&d.key==null?d.props.children:d)?S:[S],t,r,n,i,o,s,a,l,c),f.base=t.__e,t.__u&=-161,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(M){if(t.__v=null,l||o!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=r.__e,t.__k=r.__k;Ne.__e(M,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=fu(r.__e,t,r,n,i,o,s,l,c);(d=Ne.diffed)&&d(t)}function Y7(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)vi(r[n],r[++n],r[++n]);Ne.__c&&Ne.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){Ne.__e(o,i.__v)}})}function fu(e,t,r,n,i,o,s,a,l){var c,d,f,m,h,p,v,b=r.props,_=t.props,C=t.type;if(C==="svg"?i="http://www.w3.org/2000/svg":C==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((h=o[c])&&"setAttribute"in h==!!C&&(C?h.localName===C:h.nodeType===3)){e=h,o[c]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=document.createElementNS(i,C,_.is&&_),a&&(Ne.__m&&Ne.__m(t,o),a=!1),o=null}if(C===null)b===_||a&&e.data===_||(e.data=_);else{if(o=o&&c3.call(e.childNodes),b=r.props||e3,!a&&o!=null)for(b={},c=0;c<e.attributes.length;c++)b[(h=e.attributes[c]).name]=h.value;for(c in b)if(h=b[c],c!="children"){if(c=="dangerouslySetInnerHTML")f=h;else if(!(c in _)){if(c=="value"&&"defaultValue"in _||c=="checked"&&"defaultChecked"in _)continue;R3(e,c,null,h,i)}}for(c in _)h=_[c],c=="children"?m=h:c=="dangerouslySetInnerHTML"?d=h:c=="value"?p=h:c=="checked"?v=h:a&&typeof h!="function"||b[c]===h||R3(e,c,h,b[c],i);if(d)a||f&&(d.__html===f.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),G7(e,$n(m)?m:[m],t,r,n,C==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&er(r,0),a,l),o!=null)for(c=o.length;c--;)W7(o[c]);a||(c="value",C==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[c]||C==="progress"&&!p||C==="option"&&p!==b[c])&&R3(e,c,p,b[c],i),c="checked",v!==void 0&&v!==e[c]&&R3(e,c,v,b[c],i))}return e}function vi(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){Ne.__e(i,r)}}function Z7(e,t,r){var n,i;if(Ne.unmount&&Ne.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||vi(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){Ne.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Z7(n[i],t,r||typeof e.type!="function");r||W7(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function mu(e,t,r){return this.constructor(e,r)}function Ot(e,t,r){var n,i,o,s;Ne.__&&Ne.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],yi(t,e=(!n&&r||t).__k=u(Ze,null,[e]),i||e3,e3,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?c3.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Y7(o,e,s)}function bi(e,t){Ot(e,t,bi)}function _i(e,t,r){var n,i,o,s,a=K1({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(a.children=arguments.length>3?c3.call(arguments,2):r),Yr(e.type,a,n||e.key,i||e.ref,null)}function u0(e,t){var r={__c:t="__cC"+U7++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=new Set,(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.forEach(function(a){a.__e=!0,j4(a)})},this.sub=function(s){i.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.delete(s),a&&a.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}c3=j7.slice,Ne={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(a){e=a}throw e}},H7=0,C1.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=K1({},this.state),typeof e=="function"&&(e=e(K1({},r),this.props)),e&&K1(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),j4(this))},C1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),j4(this))},C1.prototype.render=Ze,i2=[],V7=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,H4=function(e,t){return e.__v.__b-t.__v.__b},on.__r=0,wi=0,V4=Po(!1),U4=Po(!0),U7=0;function Ci(){return(Ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var hu=["context","children"];function pu(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,i){if(n==null)return{};var o,s,a={},l=Object.keys(n);for(s=0;s<l.length;s++)i.indexOf(o=l[s])>=0||(a[o]=n[o]);return a}(e,hu);return _i(t,r)}function gu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=u(pu,Ci({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var i=[],o={},s=0,a=r.attributes,l=r.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(o[a[s].name]=a[s].value,o[K7(a[s].name)]=a[s].value);for(s=l.length;s--;){var c=t(l[s],null),d=l[s].slot;d?o[d]=u(Lo,{name:d},c):i[s]=c}var f=n?u(Lo,null,i):i;return u(n||r.nodeName.toLowerCase(),o,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?bi:Ot)(this._vdom,this._root)}function K7(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function wu(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[K7(e)]=r,this._vdom=_i(this._vdom,n),Ot(this._vdom,this._root)}}function yu(){Ot(this._vdom=null,this._root)}function Lo(e,t){var r=this;return u("slot",Ci({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(i){i.stopPropagation(),i.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function vu(e,t,r,n){function i(){var o=Reflect.construct(HTMLElement,[],i);return o._vdomComponent=e,o._root=o,o}return(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=gu,i.prototype.attributeChangedCallback=wu,i.prototype.disconnectedCallback=yu,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=r,r.forEach(function(o){Object.defineProperty(i.prototype,o,{get:function(){return this._vdom.props[o]},set:function(s){this._vdom?this.attributeChangedCallback(o,null,s):(this._props||(this._props={}),this._props[o]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(o,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,i)}function Pn(e,t){vu(e,t)}var ot,ze,T5,Bo,tr=0,J7=[],i0=Ne,Ho=i0.__b,Vo=i0.__r,Uo=i0.diffed,jo=i0.__c,Wo=i0.unmount,qo=i0.__;function _2(e,t){i0.__h&&i0.__h(ze,e,tr||t),tr=0;var r=ze.__H||(ze.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ee(e){return tr=1,C2(X7,e)}function C2(e,t,r){var n=_2(ot++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):X7(void 0,t),function(a){var l=n.__N?n.__N[0]:n.__[0],c=n.t(l,a);l!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=ze,!ze.u)){var i=function(a,l,c){if(!n.__c.__H)return!0;var d=n.__c.__H.__.filter(function(m){return!!m.__c});if(d.every(function(m){return!m.__N}))return!o||o.call(this,a,l,c);var f=n.__c.props!==a;return d.forEach(function(m){if(m.__N){var h=m.__[0];m.__=m.__N,m.__N=void 0,h!==m.__[0]&&(f=!0)}}),o&&o.call(this,a,l,c)||f};ze.u=!0;var o=ze.shouldComponentUpdate,s=ze.componentWillUpdate;ze.componentWillUpdate=function(a,l,c){if(this.__e){var d=o;o=void 0,i(a,l,c),o=d}s&&s.call(this,a,l,c)},ze.shouldComponentUpdate=i}return n.__N||n.__}function Le(e,t){var r=_2(ot++,3);!i0.__s&&Ei(r.__H,t)&&(r.__=e,r.i=t,ze.__H.__h.push(r))}function P1(e,t){var r=_2(ot++,4);!i0.__s&&Ei(r.__H,t)&&(r.__=e,r.i=t,ze.__h.push(r))}function me(e){return tr=5,ve(function(){return{current:e}},[])}function xi(e,t,r){tr=6,P1(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function ve(e,t){var r=_2(ot++,7);return Ei(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function De(e,t){return tr=8,ve(function(){return e},t)}function He(e){var t=ze.context[e.__c],r=_2(ot++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(ze)),t.props.value):e.__}function Si(e,t){i0.useDebugValue&&i0.useDebugValue(t?t(e):e)}function bu(e){var t=_2(ot++,10),r=Ee();return t.__=e,ze.componentDidCatch||(ze.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function h1(){var e=_2(ot++,11);if(!e.__){for(var t=ze.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function _u(){for(var e;e=J7.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Z3),e.__H.__h.forEach(W4),e.__H.__h=[]}catch(t){e.__H.__h=[],i0.__e(t,e.__v)}}i0.__b=function(e){ze=null,Ho&&Ho(e)},i0.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),qo&&qo(e,t)},i0.__r=function(e){Vo&&Vo(e),ot=0;var t=(ze=e.__c).__H;t&&(T5===ze?(t.__h=[],ze.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(Z3),t.__h.forEach(W4),t.__h=[],ot=0)),T5=ze},i0.diffed=function(e){Uo&&Uo(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(J7.push(t)!==1&&Bo===i0.requestAnimationFrame||((Bo=i0.requestAnimationFrame)||Cu)(_u)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),T5=ze=null},i0.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Z3),r.__h=r.__h.filter(function(n){return!n.__||W4(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],i0.__e(n,r.__v)}}),jo&&jo(e,t)},i0.unmount=function(e){Wo&&Wo(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Z3(n)}catch(i){t=i}}),r.__H=void 0,t&&i0.__e(t,r.__v))};var Go=typeof requestAnimationFrame=="function";function Cu(e){var t,r=function(){clearTimeout(n),Go&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Go&&(t=requestAnimationFrame(r))}function Z3(e){var t=ze,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),ze=t}function W4(e){var t=ze;e.__c=e.__(),ze=t}function Ei(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function X7(e,t){return typeof t=="function"?t(e):t}function q4(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Ln(e,t){var r=t(),n=Ee({t:{__:r,u:t}}),i=n[0].t,o=n[1];return P1(function(){i.__=r,i.u=t,N5(i)&&o({t:i})},[e,r,t]),Le(function(){return N5(i)&&o({t:i}),e(function(){N5(i)&&o({t:i})})},[e]),r}function N5(e){var t,r,n=e.u,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}function Ai(e){e()}function Ti(e){return e}function Ni(){return[!1,Ai]}var Mi=P1;function sn(e,t){this.props=e,this.context=t}function Q7(e,t){function r(i){var o=this.props.ref,s=o==i.ref;return!s&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!s:q4(this.props,i)}function n(i){return this.shouldComponentUpdate=r,u(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(sn.prototype=new C1).isPureReactComponent=!0,sn.prototype.shouldComponentUpdate=function(e,t){return q4(this.props,e)||q4(this.state,t)};var zo=Ne.__b;Ne.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),zo&&zo(e)};var xu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ki(e){function t(r){if(!("ref"in r))return e(r,null);var n=r.ref;delete r.ref;var i=e(r,n);return r.ref=n,i}return t.$$typeof=xu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Yo=function(e,t){return e==null?null:et(et(e).map(t))},ea={map:Yo,forEach:Yo,count:function(e){return e?et(e).length:0},only:function(e){var t=et(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:et},Su=Ne.__e;Ne.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}Su(e,t,r,n)};var Zo=Ne.unmount;function ta(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=function(n,i){for(var o in i)n[o]=i[o];return n}({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ta(n,t,r)})),e}function ra(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ra(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Zr(){this.__u=0,this.o=null,this.__b=null}function na(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ia(e){var t,r,n;function i(o){if(t||(t=e()).then(function(s){r=s.default||s},function(s){n=s}),n)throw n;if(!r)throw t;return u(r,o)}return i.displayName="Lazy",i.__f=!0,i}function W2(){this.i=null,this.l=null}Ne.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Zo&&Zo(e)},(Zr.prototype=new C1).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=na(n.__v),o=!1,s=function(){o||(o=!0,r.__R=null,i?i(a):a())};r.__R=s;var a=function(){if(!--n.__u){if(n.state.__a){var l=n.state.__a;n.__v.__k[0]=ra(l,l.__c.__P,l.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.o.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(s,s)},Zr.prototype.componentWillUnmount=function(){this.o=[]},Zr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=ta(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&u(Ze,null,e.fallback);return i&&(i.__u&=-33),[u(Ze,null,t.__a?null:e.children),i]};var Ko=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Eu(e){return this.getChildContext=function(){return e.context},e.children}function Au(e){var t=this,r=e.h;t.componentWillUnmount=function(){Ot(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),t.v||(t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),t.h.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.h.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}),Ot(u(Eu,{context:t.context},e.__v),t.v)}function Bn(e,t){var r=u(Au,{__v:e,h:t});return r.containerInfo=t,r}(W2.prototype=new C1).__a=function(e){var t=this,r=na(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Ko(t,e,n)):i()};r?r(o):o()}},W2.prototype.render=function(e){this.i=null,this.l=new Map;var t=et(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},W2.prototype.componentDidUpdate=W2.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Ko(e,r,t)})};var oa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Tu=/^(?: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]/,Nu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Mu=/[A-Z0-9]/g,ku=typeof document<"u",Iu=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ii(e,t,r){return t.__k==null&&(t.textContent=""),Ot(e,t),typeof r=="function"&&r(),e?e.__c:null}function sa(e,t,r){return bi(e,t),typeof r=="function"&&r(),e?e.__c:null}C1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(C1.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Jo=Ne.event;function Ru(){}function Ou(){return this.cancelBubble}function Du(){return this.defaultPrevented}Ne.event=function(e){return Jo&&(e=Jo(e)),e.persist=Ru,e.isPropagationStopped=Ou,e.isDefaultPrevented=Du,e.nativeEvent=e};var Ri,$u={enumerable:!1,configurable:!0,get:function(){return this.class}},Xo=Ne.vnode;Ne.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var s in r){var a=r[s];if(!(s==="value"&&"defaultValue"in r&&a==null||ku&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in r&&r.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Iu(r.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Nu.test(s)&&(s=l):l=s="oninput":o&&Tu.test(s)?s=s.replace(Mu,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&i[s=l]&&(s="oninputCapture"),i[s]=a}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=et(r.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=et(r.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",$u)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(e),e.$$typeof=oa,Xo&&Xo(e)};var Qo=Ne.__r;Ne.__r=function(e){Qo&&Qo(e),Ri=e.__c};var e6=Ne.diffed;Ne.diffed=function(e){e6&&e6(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Ri=null};var aa={ReactCurrentDispatcher:{current:{readContext:function(e){return Ri.__n[e.__c].props.value},useCallback:De,useContext:He,useDebugValue:Si,useDeferredValue:Ti,useEffect:Le,useId:h1,useImperativeHandle:xi,useInsertionEffect:Mi,useLayoutEffect:P1,useMemo:ve,useReducer:C2,useRef:me,useState:Ee,useSyncExternalStore:Ln,useTransition:Ni}}},Fu="18.3.1";function la(e){return u.bind(null,e)}function fr(e){return!!e&&e.$$typeof===oa}function ua(e){return fr(e)&&e.type===Ze}function ca(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Oi(e){return fr(e)?_i.apply(null,arguments):e}function da(e){return!!e.__k&&(Ot(null,e),!0)}function fa(e){return e&&(e.base||e.nodeType===1&&e)||null}var ma=function(e,t){return e(t)},r1=function(e,t){return e(t)},ha=Ze,pa=fr,se={useState:Ee,useId:h1,useReducer:C2,useEffect:Le,useLayoutEffect:P1,useInsertionEffect:Mi,useTransition:Ni,useDeferredValue:Ti,useSyncExternalStore:Ln,startTransition:Ai,useRef:me,useImperativeHandle:xi,useMemo:ve,useCallback:De,useContext:He,useDebugValue:Si,version:"18.3.1",Children:ea,render:Ii,hydrate:sa,unmountComponentAtNode:da,createPortal:Bn,createElement:u,createContext:u0,createFactory:la,cloneElement:Oi,createRef:Fn,Fragment:Ze,isValidElement:fr,isElement:pa,isFragment:ua,isMemo:ca,findDOMNode:fa,Component:C1,PureComponent:sn,memo:Q7,forwardRef:ki,flushSync:r1,unstable_batchedUpdates:ma,StrictMode:ha,Suspense:Zr,SuspenseList:W2,lazy:ia,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa};const an=Object.freeze(Object.defineProperty({__proto__:null,Children:ea,Component:C1,Fragment:Ze,PureComponent:sn,StrictMode:ha,Suspense:Zr,SuspenseList:W2,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:aa,cloneElement:Oi,createContext:u0,createElement:u,createFactory:la,createPortal:Bn,createRef:Fn,default:se,findDOMNode:fa,flushSync:r1,forwardRef:ki,hydrate:sa,isElement:pa,isFragment:ua,isMemo:ca,isValidElement:fr,lazy:ia,memo:Q7,render:Ii,startTransition:Ai,unmountComponentAtNode:da,unstable_batchedUpdates:ma,useCallback:De,useContext:He,useDebugValue:Si,useDeferredValue:Ti,useEffect:Le,useErrorBoundary:bu,useId:h1,useImperativeHandle:xi,useInsertionEffect:Mi,useLayoutEffect:P1,useMemo:ve,useReducer:C2,useRef:me,useState:Ee,useSyncExternalStore:Ln,useTransition:Ni,version:Fu},Symbol.toStringTag,{value:"Module"})),Pu=`*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,: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:Inter,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;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}@font-face{font-family:BRSonoma;font-weight:900;src:url(/workspace/fonts/BRSonoma-Black.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:700;src:url(/workspace/fonts/BRSonoma-Bold.woff2) format("woff2")}@font-face{font-family:BRSonoma;font-weight:500;src:url(/workspace/fonts/BRSonoma-Medium.woff2) format("woff2")}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.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}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-full{left:100%}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.mx-12{margin-left:3rem;margin-right:3rem}.mx-auto{margin-left:auto;margin-right:auto}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mt-\\[226px\\]{margin-top:-226px}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.size-12{width:3rem;height:3rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[118px\\]{height:118px}.h-\\[120px\\]{height:120px}.h-\\[34px\\]{height:34px}.h-\\[38px\\]{height:38px}.h-\\[52px\\]{height:52px}.h-\\[58px\\]{height:58px}.h-\\[60px\\]{height:60px}.h-\\[63px\\]{height:63px}.h-\\[72px\\]{height:72px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-48{max-height:12rem}.max-h-64{max-height:16rem}.max-h-\\[470px\\]{max-height:470px}.min-h-full{min-height:100%}.w-0{width:0px}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[1030px\\]{width:1030px}.w-\\[120px\\]{width:120px}.w-\\[128px\\]{width:128px}.w-\\[140px\\]{width:140px}.w-\\[148px\\]{width:148px}.w-\\[150px\\]{width:150px}.w-\\[206px\\]{width:206px}.w-\\[218px\\]{width:218px}.w-\\[230px\\]{width:230px}.w-\\[260px\\]{width:260px}.w-\\[280px\\]{width:280px}.w-\\[480px\\]{width:480px}.w-\\[640px\\]{width:640px}.w-full{width:100%}.w-screen{width:100vw}.min-w-60{min-width:15rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[130px\\]{min-width:130px}.min-w-\\[600px\\]{min-width:600px}.min-w-\\[640px\\]{min-width:640px}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[640px\\]{max-width:640px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\\[1_0_0\\]{flex:1 0 0}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-y-1\\/4{--tw-translate-y: -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-y-0{--tw-translate-y: 0px;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-2{--tw-translate-y: .5rem;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))}.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-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.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:.25rem}.gap-1\\.5{gap:.375rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity, 1))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.text-nowrap{text-wrap:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-600{border-color:var(--fl-color-primary-600)}.border-r-gray-200{--tw-border-opacity: 1;border-right-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500\\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-primary-600{background-color:var(--fl-color-primary-600)}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#a650ff\\]{--tw-gradient-from: #a650ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(166 80 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[\\#0095f2\\]{--tw-gradient-to: #0095f2 var(--tw-gradient-to-position)}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[13px\\]{padding-left:13px;padding-right:13px}.px-\\[17px\\]{padding-left:17px;padding-right:17px}.px-\\[3px\\]{padding-left:3px;padding-right:3px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.pb-0\\.5{padding-bottom:.125rem}.pb-10{padding-bottom:2.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\\[3px\\]{padding-bottom:3px}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-2\\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-\\[13px\\]{padding-left:13px}.pr-1\\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pr-\\[11px\\]{padding-right:11px}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sonoma{font-family:BRSonoma}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-sm\\/6{font-size:.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-7{line-height:1.75rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-600{color:var(--fl-color-primary-600)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.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-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px 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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-gray-300{--tw-shadow-color: #d1d5db;--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-1{outline-width:1px}.-outline-offset-1{outline-offset:-1px}.outline-gray-300{outline-color:#d1d5db}.outline-red-300{outline-color:#fca5a5}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.grayscale{--tw-grayscale: grayscale(100%);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)}.invert{--tw-invert: invert(100%);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)}.sepia{--tw-sepia: sepia(100%);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)}.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)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes progressBar{0%{width:0}to{width:100%}}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-1:before{content:var(--tw-content);top:.25rem;right:.25rem;bottom:.25rem;left:.25rem}.before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\\:bg-white:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.checked\\:border-primary-600:checked{border-color:var(--fl-color-primary-600)}.checked\\:bg-primary-600:checked{background-color:var(--fl-color-primary-600)}.hover\\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.hover\\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-primary-50:hover{background-color:var(--fl-color-primary-50)}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:-outline-offset-2:focus{outline-offset:-2px}.focus\\:outline-blue-600:focus{outline-color:#2563eb}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-primary-500:focus{--tw-ring-color: var(--fl-color-primary-500)}.focus\\:ring-primary-600:focus{--tw-ring-color: var(--fl-color-primary-600)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-600:focus-visible{outline-color:var(--fl-color-primary-600)}.hover\\:enabled\\:bg-emerald-700:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-gray-50:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:enabled\\:bg-primary-700:enabled:hover{background-color:var(--fl-color-primary-700)}.hover\\:enabled\\:bg-red-500:enabled:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:before\\:bg-gray-400:disabled:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-4{margin-top:1rem}.sm\\:block{display:block}.sm\\:flex{display:flex}.sm\\:size-10{width:2.5rem;height:2.5rem}.sm\\:size-4{width:1rem;height:1rem}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-x-0{--tw-translate-x: 0px;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))}.sm\\:translate-x-2{--tw-translate-x: .5rem;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))}.sm\\:translate-y-0{--tw-translate-y: 0px;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))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-end{align-items:flex-end}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:text-left{text-align:left}}@media (forced-colors: active){.forced-colors\\:appearance-auto{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.forced-colors\\:before\\:hidden:before{content:var(--tw-content);display:none}}.\\[\\&\\:not\\(\\:checked\\)\\]\\:before\\:hidden:not(:checked):before{content:var(--tw-content);display:none}`;function u1(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Lu(e){return e!=null&&typeof e.GetEnumerator=="function"}function Bu(e){return e!=null&&typeof e.CompareTo=="function"}function Hu(e){return e!=null&&typeof e.Equals=="function"}function ga(e){return e!=null&&typeof e.GetHashCode=="function"}function G4(e){return e!=null&&typeof e.Dispose=="function"}function Ie(e){G4(e)&&e.Dispose()}function Ae(){return null}function ln(e,t){var r,n;return((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)}class Vu{constructor(t){this.iter=t,this.current=Ae()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Fe(e){return Lu(e)?e.GetEnumerator():new Vu(e[Symbol.iterator]())}function mr(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),r=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:r}}}}class Uu{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ue(e,t){return e.toString(10).padStart(t,"0")}function ju(e,t,r){return e.toString(10).padStart(t,"0").padEnd(r,"0")}function t6(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Wu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function l1(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class J1{static id(t){return J1.idMap.has(t)||J1.idMap.set(t,++J1.count),J1.idMap.get(t)}}J1.idMap=new WeakMap;J1.count=0;function n1(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function v1(e){return e*2654435761|0}function wa(e){return n1(e.toString(32))}function d3(e){let t=0;const r=e.length;for(let n=0;n<r;n++){const i=e[n];t=(t<<5)+t^i}return t}function qu(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return v1(e);case"bigint":return wa(e);case"string":return n1(e);default:return v1(J1.id(e))}}function Gu(e){return ga(e)?e.GetHashCode():qu(e)}function zu(e){return e.getTime()}function Yu(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=c1(e[n]);return d3(r)}function c1(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return v1(e);case"bigint":return wa(e);case"string":return n1(e);default:{if(ga(e))return e.GetHashCode();if(u1(e))return Yu(e);if(e instanceof Date)return zu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>c1(n));return d3(r)}else return v1(J1.id(e))}}}function un(e){return Gu(e)}function z4(e,t,r){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function ya(e,t){return z4(e,t,ee)}function Zu(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;r.sort(),n.sort();for(let i=0;i<r.length;i++)if(r[i]!==n[i]||!ee(e[r[i]],t[n[i]]))return!1;return!0}function ee(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:Hu(e)?e.Equals(t):u1(e)?u1(t)&&ya(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Di(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Zu(e,t)}function Di(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+t6(e),n=t.getTime()+t6(t)),r===n?0:r<n?-1:1}function Bt(e,t){return e===t?0:e<t?-1:1}function Ku(e,t,r){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let n=0,i=0;n<e.length;n++)if(i=r(e[n],t[n]),i!==0)return i;return 0}function $i(e,t){return Ku(e,t,I0)}function Ju(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return r.length<n.length?-1:1;r.sort(),n.sort();for(let i=0,o=0;i<r.length;i++){const s=r[i];if(s!==n[i])return s<n[i]?-1:1;if(o=I0(e[s],t[s]),o!==0)return o}return 0}function I0(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Bu(e)?e.CompareTo(t):u1(e)?u1(t)?$i(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Di(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Ju(e,t):-1}function y(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function Xu(e){u1(e)?e.splice(0):e.clear()}const Hn=new WeakMap;function je(e){if(e==null)return null;const t=(r,n)=>e(r)(n);return Hn.set(t,e),t}function St(e){return Hn.get(e)??(t=>r=>e(t,r))}function Y4(e){if(e==null)return null;const t=(r,n,i)=>e(r)(n)(i);return Hn.set(t,e),t}function M5(e){return Hn.get(e)??(t=>r=>n=>e(t,r,n))}function Qu(e){let t=0,r="[";for(const n of e){if(t===0)r+=Qe(n);else if(t===100){r+="; ...";break}else r+="; "+Qe(n);t++}return r+"]"}function Qe(e,t=0){var r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Qu(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([i,o])=>i+" = "+Qe(o,t+1)).join(`
|
|
2
|
+
`)+" }":(n==null?void 0:n.name)??""}}return String(e)}function ec(e,t){if(t.length===0)return e;{let r,n=!0;return t.length===1?(r=Qe(t[0]),n=r.indexOf(" ")>=0):r=t.map(i=>Qe(i)).join(", "),e+(n?" (":" ")+r+(n?")":"")}}class z{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return ec(this.name,this.fields)}GetHashCode(){const t=this.fields.map(r=>c1(r));return t.splice(0,0,v1(this.tag)),d3(t)}Equals(t){return this===t?!0:ln(this,t)&&this.tag===t.tag?ya(this.fields,t.fields):!1}CompareTo(t){return this===t?0:ln(this,t)?this.tag===t.tag?$i(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function tc(e){const t={},r=Object.keys(e);for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];return t}function rc(e){return"{ "+Object.entries(e).map(([t,r])=>t+" = "+Qe(r)).join(`
|
|
3
|
+
`)+" }"}function nc(e){const t=Object.values(e).map(r=>c1(r));return d3(t)}function ic(e,t){if(e===t)return!0;if(ln(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!ee(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function oc(e,t){if(e===t)return 0;if(ln(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const i=I0(e[r[n]],t[r[n]]);if(i!==0)return i}return 0}else return-1}class de{toJSON(){return tc(this)}toString(){return rc(this)}GetHashCode(){return nc(this)}Equals(t){return ic(this,t)}CompareTo(t){return oc(this,t)}}class E0{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,r){typeof r=="function"?(this.getter=t,this.setter=r):(this.getter=()=>t,this.setter=n=>{t=n})}}class sc{constructor(t){this.message=t}}function ac(e){return e instanceof sc||e instanceof Error}function lc(e){return e instanceof Promise}function cn(e){return ac(e)||lc(e)?e:new Error(String(e))}const Vn=Qe(Pu),hr=Symbol("numeric");function va(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[hr])}function uc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Z4(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[hr]().multiply(t)}function K3(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[hr]().toFixed(t)}function dn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[hr]().toPrecision(t)}function fn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[hr]().toExponential(t)}function mn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[hr]().toHex()}const cc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],fc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],mc=["January","February","March","April","May","June","July","August","September","October","November","December"];function K0(e,t,r){let n=0,i=t;for(;i<e.length&&e[i]===r;)i++,n++;return n}function r6(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function hc(e,t){let r=t;const n=e[t];let i="",o=!1;for(;t<e.length;){t++;const s=e[t];if(s===n){o=!0;break}else if(s==="\\")if(t<e.length)t++,i+=e[t];else throw new Error("Invalid string format");else i+=s}if(!o)throw new Error(`Invalid string format could not find matching quote for ${n}`);return[i,t-r+1]}function Fi(e,t,r){let n=0,i=0,o="";const s=r?f3(e.getTime(),1):e;for(;n<t.length;){const a=t[n];switch(a){case"d":switch(i=K0(t,n,"d"),n+=i,i){case 1:o+=i6(s);break;case 2:o+=Ue(i6(s),2);break;case 3:o+=cc[a6(s)];break;case 4:o+=dc[a6(s)];break}break;case"f":if(i=K0(t,n,"f"),n+=i,i<=3){const b=10**(3-i);o+=Ue(Math.floor(D3(s)/b),i)}else i<=7&&(o+=(""+D3(s)).padEnd(i,"0"));break;case"F":if(i=K0(t,n,"F"),n+=i,i<=3){const b=10**(3-i),_=Math.floor(D3(s)/b);_!=0&&(o+=Ue(_,i))}else if(i<=7){const b=D3(s);b!=0&&(o+=Ue(b,3))}break;case"g":i=K0(t,n,"g"),n+=i,i<=2&&(o+="A.D.");break;case"h":switch(i=K0(t,n,"h"),n+=i,i){case 1:o+=O3(s)%12;break;case 2:o+=Ue(O3(s)%12,2);break}break;case"H":switch(i=K0(t,n,"H"),n+=i,i){case 1:o+=O3(s);break;case 2:o+=Ue(O3(s),2);break}break;case"K":switch(i=K0(t,n,"K"),n+=i,i){case 1:switch(n6(s)){case 1:o+="Z";break;case 2:o+=G2(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(i=K0(t,n,"m"),n+=i,i){case 1:o+=o6(s);break;case 2:o+=Ue(o6(s),2);break}break;case"M":switch(i=K0(t,n,"M"),n+=i,i){case 1:o+=$3(s);break;case 2:o+=Ue($3(s),2);break;case 3:o+=fc[$3(s)-1];break;case 4:o+=mc[$3(s)-1];break}break;case"s":switch(i=K0(t,n,"s"),n+=i,i){case 1:o+=s6(s);break;case 2:o+=Ue(s6(s),2);break}break;case"t":switch(i=K0(t,n,"t"),n+=i,i){case 1:o+=s.getHours()<12?"A":"P";break;case 2:o+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(i=K0(t,n,"y"),n+=i,i){case 1:o+=s.getFullYear()%100;break;case 2:o+=Ue(s.getFullYear()%100,2);break;case 3:o+=Ue(s.getFullYear(),3);break;case 4:o+=Ue(s.getFullYear(),4);break;case 5:o+=Ue(s.getFullYear(),5);break}break;case"z":i=K0(t,n,"z"),n+=i;let l="";switch(n6(s)){case 1:l="+00:00";break;case 2:l=G2(s.getTimezoneOffset()*-6e4);break;case 0:l=G2(xc(s).getTimezoneOffset()*-6e4);break}const c=l[0]==="-"?"-":"+",d=parseInt(l.substring(1,3),10),f=parseInt(l.substring(4,6),10);switch(i){case 1:o+=`${c}${d}`;break;case 2:o+=`${c}${Ue(d,2)}`;break;default:o+=`${c}${Ue(d,2)}:${Ue(f,2)}`;break}break;case":":o+=":",n++;break;case"/":o+="/",n++;break;case"'":case'"':const[m,h]=hc(t,n);o+=m,n+=h;break;case"%":const p=r6(t,n);if(p>=0&&p!==37)n+=2,o+=Fi(s,String.fromCharCode(p),r);else throw new Error("Invalid format string");break;case"\\":const v=r6(t,n);if(v>=0)n+=2,o+=String.fromCharCode(v);else throw new Error("Invalid format string");break;default:n++,o+=a;break}}return o}function n6(e){return e.kind||0}function G2(e){const t=e<0;e=Math.abs(e);const r=~~(e/36e5),n=e%36e5/6e4;return(t?"-":"+")+Ue(r,2)+":"+Ue(n,2)}function hn(e,t){const r=e.toISOString();return t==="first"?r.substring(0,r.indexOf("T")):r.substring(r.indexOf("T")+1,r.length-1)}function pc(e,t){if(t)return e.toISOString();{const r=e.kind==null?!0:e.kind===2;return Ue(e.getFullYear(),4)+"-"+Ue(e.getMonth()+1,2)+"-"+Ue(e.getDate(),2)+"T"+Ue(e.getHours(),2)+":"+Ue(e.getMinutes(),2)+":"+Ue(e.getSeconds(),2)+"."+Ue(e.getMilliseconds(),3)+(r?G2(e.getTimezoneOffset()*-6e4):"")}}function gc(e,t){const r=e.toISOString();return r.substring(0,r.length-1)+G2(t)}function wc(e,t){const r=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return r.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+G2(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return hn(r,"first");case"T":case"t":return hn(r,"second");case"O":case"o":return gc(r,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Fi(r,t,!0)}function yc(e,t){const r=e.kind===1;if(typeof t!="string")return r?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return r?hn(e,"first"):e.toLocaleDateString();case"T":case"t":return r?hn(e,"second"):e.toLocaleTimeString();case"O":case"o":return pc(e,r);default:throw new Error("Unrecognized Date print format")}else return Fi(e,t,r)}function Un(e,t,r){return e.offset!=null?wc(e,t):yc(e,t)}function f3(e,t){const r=new Date(e);return r.kind=(t??0)|0,r}function vc(){return f3(-621355968e5,1)}function ba(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let r=new Date(e),n=null;if(isNaN(r.getTime())){const i=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(i!=null){let o,s=0;if(i[2]!=null){const a=i[2].split(":"),l=parseInt(a[0],10);s=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),i[3]!=null&&i[3].toUpperCase()==="PM"&&l<12&&(s+=720)}if(i[4]!=null){if(i[1]!=null)o=new Date(i[1]+" UTC");else{const a=new Date;o=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(i[4]==="Z")n="Z";else{let a=parseInt(i[5],10)*60+parseInt(i[6]||"0",10);i[4][0]==="-"&&(a*=-1),n=a,s-=a*60}}else if(i[1]!=null)o=new Date(i[1]);else{const a=new Date;o=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}r=new Date(o.getTime()+s*1e3),r=new Date(r.getTime()+(r.getTimezoneOffset()-o.getTimezoneOffset())*6e4)}else t();isNaN(r.getTime())&&t()}return[r,n]}function bc(e,t=!1){const[r,n]=ba(e),i=n!=null?t&&n==="Z"?1:2:0;return f3(r.getTime(),i)}function _c(e,t){try{return t.contents=bc(e),!0}catch{return!1}}function Cc(e){return e.kind===1?e:f3(e.getTime(),1)}function xc(e){return e.kind===2?e:f3(e.getTime(),2)}function i6(e){return e.kind===1?e.getUTCDate():e.getDate()}function O3(e){return e.kind===1?e.getUTCHours():e.getHours()}function D3(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function o6(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function $3(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function s6(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function a6(e){return e.kind===1?e.getUTCDay():e.getDay()}const Sc=Di;function Ec(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let r="gu";return r+=t&1?"i":"",r+=t&2?"m":"",r+=t&16?"s":"",new RegExp(e,r)}function jn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function l6(e,t,r=0){return e.lastIndex=r,e.test(t)}function u6(e,t,r=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=r;const n=[];let i,o=-1;for(;(i=e.exec(t))!=null;)i.index===o?e.lastIndex++:(o=i.index,n.push(i));return n}function m3(e,t,r,n,i=0){function o(){let s=arguments[0];if(n){n--;const a=[],l=arguments.length,c=typeof arguments[l-1]!="string";let d=c?l-3:l-2;for(let f=0;f<d;f++)a.push(arguments[f]);a.index=arguments[d++],a.input=arguments[d++],c&&(a.groups=arguments[d]),s=r(a)}return s}if(typeof e=="string"){const s=e;e=Ec(t,n??0),t=s,n=void 0}if(typeof r=="function")return n=n??-1,t.substring(0,i)+t.substring(i).replace(e,o);if(r=r.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),n!=null){let s;const a=t.substring(i),l=u6(e,a),c=u6.length>n?(s=l[n-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,i)+c.replace(e,r)+t.substring(i+c.length)}else return t.replace(e,r)}const Ir=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Ac=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function _a(e,t){return uc(e,t)<0}function Tc(e,t,r){return e==null?t==null?0:-1:t==null?1:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e<t?-1:1)}function Nc(e,t,r){return e.length>=t.length?Tc(e.substr(e.length-t.length,t.length),t)===0:!1}function st(e){return{input:e,cont:kc(e)}}function Ca(e,t){return typeof t=="string"?e(t):t.cont(e)}function f2(e){return Ca(t=>t,e)}function xa(e){return Ca(t=>{throw new Error(t)},e)}function Mc(e,t,r,n,i){let o="";if(t=t||"",i=i||"",va(e))switch(i.toLowerCase()!=="x"&&(_a(e,0)?(e=Z4(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),n=n==null?null:parseInt(n,10),i){case"f":case"F":n=n??6,e=K3(e,n);break;case"g":case"G":e=n!=null?dn(e,n):dn(e);break;case"e":case"E":e=n!=null?fn(e,n):fn(e);break;case"x":e=mn(e);break;case"X":e=mn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Un(e):e=Qe(e);if(r=typeof r=="number"?r:parseInt(r,10),isNaN(r))e=o+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!s?" ":"0";l==="0"?(e=t3(e,r-o.length,l,a),e=o+e):e=t3(o+e,r,l,a)}return e}function Sa(e,t,r,n="",i=-1){return(...o)=>{let s=n;const a=t.slice(),l=r.slice();for(const c of o){const[,,d,f,m,h]=l[0];let p=f;if(i>=0)p=i,i=-1;else if(p==="*"){if(c<0)throw new Error("Non-negative number required");i=c;continue}s+=a[0],s+=Mc(c,d,p,m,h),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):Sa(e,a,l,s,i)}}function kc(e){return t=>{Ir.lastIndex=0;const r=[],n=[];let i=0,o=Ir.exec(e);for(;o;){const s=o.index+(o[1]||"").length;r.push(e.substring(i,s).replace(/%%/g,"%")),n.push(o),i=Ir.lastIndex,Ir.lastIndex-=1,o=Ir.exec(e)}return r.length===0?t(e.replace(/%%/g,"%")):(r.push(e.substring(i).replace(/%%/g,"%")),Sa(t,r,n))}}function Pi(e,...t){let r;return typeof e=="object"?(r=String(t[0]),t.shift()):r=e,r.replace(Ac,(n,i,o,s,a,l)=>{if(i<0||i>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let c=t[i];if(va(c))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,c=K3(c,a);break;case"g":case"G":c=a!=null?dn(c,a):dn(c);break;case"e":case"E":c=a!=null?fn(c,a):fn(c);break;case"p":case"P":a=a??2,c=K3(Z4(c,100),a)+" %";break;case"d":case"D":c=a!=null?k5(String(c),a,"0"):String(c);break;case"x":case"X":c=a!=null?k5(mn(c),a,"0"):mn(c),s==="X"&&(c=c.toUpperCase());break;default:if(l){let d="";c=l.replace(/([0#,]+)(\.[0#]+)?/,(f,m,h)=>{_a(c,0)&&(c=Z4(c,-1),d="-"),h=h==null?"":h.substring(1),c=K3(c,Math.max(h.length,0));let[p,v]=c.split(".");v||(v="");const b=m.replace(/,/g,"").replace(/^#+/,"").length;p=k5(p,b,"0");const _=h.replace(/#+$/,"").length;if(_>v.length?v=Ic(v,_,"0"):_<v.length&&(v=v.substring(0,_)+v.substring(_).replace(/0+$/,"")),m.indexOf(",")>0){const C=p.length%3,A=Math.floor(p.length/3);let N=C>0?p.substr(0,C)+(A>0?",":""):"";for(let k=0;k<A;k++)N+=p.substr(C+k*3,3)+(k<A-1?",":"");p=N}return v.length>0?p+"."+v:p}),c=d+c}}else c instanceof Date?c=Un(c,l||s):c=Qe(c);return o=parseInt((o||" ").substring(1),10),isNaN(o)||(c=t3(String(c),Math.abs(o)," ",o<0)),c})}function Li(e){return typeof e!="string"||e.length===0}function Ht(e){return typeof e!="string"||/^\s*$/.test(e)}function l0(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function t3(e,t,r,n){r=r||" ",t=t-e.length;for(let i=0;i<t;i++)e=n?e+r:r+e;return e}function k5(e,t,r){return t3(e,t,r)}function Ic(e,t,r){return t3(e,t,r,!0)}function Ea(e,t,r){return e.replace(new RegExp(jn(t),"g"),r)}function Aa(e,t,r,n){if(r=typeof r=="number"?r:void 0,n=typeof n=="number"?n:0,r&&r<0)throw new Error("Count cannot be less than zero");if(r===0)return[];const i=(n&1)===1,o=(n&2)===2;t=t||[],t=t.filter(d=>d).map(jn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const d=a.exec(e);if(d===null){const f=o?e.substring(c).trim():e.substring(c);(!i||f.length>0)&&s.push(f),l=!1}else{const f=o?e.substring(c,d.index).trim():e.substring(c,d.index);(!i||f.length>0)&&(r!=null&&s.length+1===r?(s.push(o?e.substring(c).trim():e.substring(c)),l=!1):s.push(f)),c=a.lastIndex}}while(l);return s}function Ta(e,...t){if(t.length===0)return e.trim();const r="["+jn(t.join(""))+"]+";return e.replace(new RegExp("^"+r),"").replace(new RegExp(r+"$"),"")}function Bi(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+jn(t.join(""))+"]+$"),"")}function Rc(e,t,r){if(t+(r||0)>e.length)throw new Error("Invalid startIndex and/or length");return r!=null?e.substr(t,r):e.substr(t)}class m2{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return c1(this.value)}Equals(t){return t==null?!1:ee(this.value,t instanceof m2?t.value:t)}CompareTo(t){return t==null?1:I0(this.value,t instanceof m2?t.value:t)}}function U(e){if(e==null)throw new Error("Option has no value");return e instanceof m2?e.value:e}function X1(e){return e instanceof m2?e.value:e}function f0(e){return e==null||e instanceof m2?new m2(e):e}function Hi(e){return e==null?null:U(e)}function Vt(e){return e==null?[]:[U(e)]}function Pe(e,t){return e!=null?U(e):t}function Oc(e,t){return e!=null?U(e):t()}function r0(e,t){return t!=null?f0(e(U(t))):void 0}function Wn(e,t){return t!=null?e(U(t)):void 0}class Dc{constructor(t,r,n,i){this.declaringType=t,this.tag=r,this.name=n,this.fields=i}}class Y0{constructor(t,r,n,i,o,s,a){this.fullname=t,this.generics=r,this.construct=n,this.parent=i,this.fields=o,this.cases=s,this.enumCases=a}toString(){return Xe(this)}GetHashCode(){return Na(this)}Equals(t){return K4(this,t)}}function e1(e){return e.generics!=null?e.generics:[]}function Na(e){const t=n1(e.fullname),r=e1(e).map(Na);return d3([t,...r])}function K4(e,t){return e.fullname===""?t.fullname===""&&z4(r3(e),r3(t),([r,n],[i,o])=>r===i&&K4(n,o)):e.fullname===t.fullname&&z4(e1(e),e1(t),K4)}function F0(e,t,r,n){return new Y0(e,t,r,n)}function qe(e,t,r,n){return new Y0(e,t,r,void 0,n)}function k0(...e){return new Y0("",void 0,void 0,void 0,()=>e)}function L1(e,t,r,n){const i=new Y0(e,t,r,void 0,void 0,()=>{const o=r.prototype.cases();return n().map((s,a)=>new Dc(i,a,o[a],s))});return i}function i1(e){return new Y0("Microsoft.FSharp.Core.FSharpOption`1",[e])}function d1(e){return new Y0("Microsoft.FSharp.Collections.FSharpList`1",[e])}const $c=new Y0("System.Object"),Ye=new Y0("System.String"),rr=new Y0("System.Boolean"),Ce=new Y0("System.Int32");function z2(e){if(Array.isArray(e))return e[0];if(e instanceof Y0){const t=h3(e);if(t!=null)return z2(t)+"[]";{const r=e.fullname.lastIndexOf(".");return r===-1?e.fullname:e.fullname.substr(r+1)}}else return e.name}function Xe(e){const t=h3(e);return t!=null?Xe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(r=>Xe(r)).join(",")+"]"}function Ma(e){return h3(e)!=null}function h3(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function ka(e){return e.generics!=null&&e.generics.length>0}function Vi(e){return e.enumCases!=null&&e.enumCases.length>0}function Ia(e){return e.generics==null?e:new Y0(e.fullname,e.generics.map(()=>$c))}function Ra(e){var t;return(t=e.generics)==null?void 0:t[0]}function I2(e){if(Vi(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Fc(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const r of e.enumCases)if(r[0]===t)return r;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const r of e.enumCases)if(r[1]===t)return r;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function R2(e,t){const r=parseInt(t,10);return Fc(e,isNaN(r)?t:r)[1]}function Oa(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function r3(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Da(e){if(Ui(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function $a(e){return e instanceof Y0?e.cases!=null:e instanceof z}function Fa(e){return e instanceof Y0?e.fields!=null:e instanceof de}function Ui(e){return e.fullname.startsWith("System.Tuple")}function Pc(e,t){const n=Oa(t)[e.tag];if(n==null)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function Pa(e){return e.fields==null?[]:e.fields}function Lc(e,t){return e[t[0]]}function Bc(e,t){const r=(e.fields||[]).length;if(t.length!==r)throw new Error(`Expected an array of length ${r} but got ${t.length}`);const n=e.declaringType.construct;return n==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new n(...t):new n(e.tag,t)}function Hc(e,t){const r=r3(e);if(r.length!==t.length)throw new Error(`Expected an array of length ${r.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):r.reduce((n,[i,o],s)=>(n[i]=t[s],n),{})}function Vc(e,t){return e}const Uc="The index was outside the range of elements in the collection.",La="Collection was empty.",jc="The input must be non-negative.",Ba="The input sequence has an insufficient number of elements.";function nr(e,t){return new Array(t)}function c6(e,t){return e>t?e:t}function d6(e,t){return e<t?e:t}function Ha(e,t,r){const n=e.length|0,i=t.length|0,o=nr(r,n+i);for(let s=0;s<=n-1;s++)P0(o,s,ge(s,e));for(let s=0;s<=i-1;s++)P0(o,s+n,ge(s,t));return o}function p3(e,t,r,n){const i=t|0;return e.fill(n,i,i+r)}function Wc(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return ge(e.length-1,e)}function qn(e,t,r){const n=t.length|0,i=nr(r,n);for(let o=0;o<=n-1;o++)P0(i,o,e(o,ge(o,t)));return i}function Ke(e,t,r){const n=t.length|0,i=nr(r,n);for(let o=0;o<=n-1;o++)P0(i,o,e(ge(o,t)));return i}function pn(e,t){const r=Array.isArray(e)?e:Array.from(e);switch(r.length|0){case 0:return nr(t,0);case 1:return ge(0,r);default:{let i=0,o=0;for(let a=0;a<=r.length-1;a++){const l=ge(a,r);o=o+l.length|0}const s=nr(t,o);for(let a=0;a<=r.length-1;a++){const l=ge(a,r);for(let c=0;c<=l.length-1;c++)P0(s,i,ge(c,l)),i=i+1|0}return s}}}function qc(e,t,r,n,i){const o=Pe(r,0)|0,s=Pe(r0(l=>o+l,n),e.length)|0;return(l=>{e:for(;;){const c=l;if(c>=s)return-1;if(i.Equals(t,ge(c,e)))return c|0;l=c+1;continue e}})(o)|0}function R1(e,t,r){return qc(t,e,void 0,void 0,r)>=0}function Gc(e,t){const r=nr(t,1);return P0(r,0,e),r}function zc(e){return e.slice().reverse()}function Ut(e,t){return t.find(e)}function j0(e,t,r){const n=[];for(let i=0;i<=t.length-1;i++){const o=e(ge(i,t));if(o!=null){const s=U(o);n.push(s)}}return ee(r,Ae())?n:Ke(i=>i,n,r)}function Gn(e,t,r){const n=e;return r.reduce(n,t)}function Yc(e,t){const r=e.slice();return r.sort((n,i)=>t.Compare(n,i)),r}function Zc(e,t,r){const n=t.slice();return n.sort((i,o)=>r.Compare(e(i),e(o))),n}function Dt(e,t,r){if(t==null)return r==null;if(r==null)return!1;{let n=0,i=!0;const o=t.length|0,s=r.length|0;if(o>s)return!1;if(o<s)return!1;for(;n<o&&i;)i=e(ge(n,t),ge(n,r)),n=n+1|0;return i}}function f6(e){if(e.length===0)throw new Error("The input array was empty\\nParameter name: array");return ge(0,e)}function Kc(e){if(e.length===0)throw new Error("Not enough elements\\nParameter name: array");return e.slice(1)}function ge(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function P0(e,t,r){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=r}function Va(e,t){if(!(e<0||e>=t.length))return f0(t[e])}function Ua(e,t,r){return t.reduceRight((n,i)=>e(i,n),r)}class S0 extends de{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+l0("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c);if(ee(s.head,a.head)){i=d,o=f;continue e}else return!1}else return!1;else return c==null}})(r,t)}GetHashCode(){return((n,i,o)=>{e:for(;;){const s=n,a=i,l=o,c=l.tail;if(c!=null){const d=U(c);if(s>18)return a|0;n=s+1,i=(a<<1)+c1(l.head)+631*s,o=d;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((i,o)=>{e:for(;;){const s=i,a=o,l=s.tail,c=a.tail;if(l!=null)if(c!=null){const d=U(l),f=U(c),m=I0(s.head,a.head)|0;if(m===0){i=d,o=f;continue e}else return m|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return Xc(this)}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}}class Jc{constructor(t){this.xs=t,this.it=this.xs,this.current=Ae()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,r=t.it.tail;if(r!=null){const n=U(r);return t.current=t.it.head,t.it=n,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ae()}Dispose(){}}function Xc(e){return new Jc(e)}function e0(){return new S0(Ae(),void 0)}function g3(e,t){return new S0(e,t)}function O1(e){return e.tail==null}function ja(e){return((r,n)=>{e:for(;;){const i=r,s=n.tail;if(s!=null){r=i+1,n=U(s);continue e}else return i|0}})(0,e)|0}function $t(e){if(e.tail!=null)return e.head;throw new Error(La+"\\nParameter name: list")}function v0(e){const t=e.tail;if(t!=null)return U(t);throw new Error(La+"\\nParameter name: list")}function Qc(e,t){return((n,i)=>{e:for(;;){const o=n,s=i,a=s.tail;if(a!=null){if(o===t)return s.head;n=o+1,i=U(a);continue e}else throw new Error(Uc+"\\nParameter name: index")}})(0,e)}function $e(){return e0()}function s1(e,t){return g3(e,t)}function ae(e){return g3(e,e0())}function Te(e){return O1(e)}function o0(e){return ja(e)}function pe(e){return $t(e)}function Re(e){return v0(e)}function ut(e){const t=ja(e)|0,r=p3(new Array(t),0,t,null);return((i,o)=>{e:for(;;){const s=i,a=o;if(!O1(a)){P0(r,s,$t(a)),i=s+1,o=v0(a);continue e}break}})(0,e),r}function S1(e,t,r){let n=t,i=r;for(;!O1(i);)n=e(n,pe(i)),i=v0(i);return n}function ji(e){return S1((t,r)=>g3(r,t),e0(),e)}function ed(e,t,r){return Ua(e,ut(t),r)}function td(e,t,r){return((i,o,s)=>{e:for(;;){const a=i,l=o,c=s;if(O1(c))return l;i=a+1,o=e(a,l,$t(c)),s=v0(c);continue e}})(0,t,r)}function n3(e,t){S1((r,n)=>{e(n)},void 0,t)}function n0(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=g3(ge(n,e),r);return r}function g(e){return n0(e,e0())}function rd(e){let t,r;if(u1(e))return g(e);if(e instanceof S0)return e;{const n=e0();let i=n;const o=Fe(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"]();i=(t=i,r=new S0(l,void 0),t.tail=r,r)}}finally{Ie(o)}const s=i,a=e0();return s.tail=a,v0(n)}}function nd(e){const t=e0();let r=t;const n=s=>{r=S1((a,l)=>{const c=new S0(l,void 0);return a.tail=c,c},r,s)};if(u1(e))e.forEach(n);else if(e instanceof S0)n3(n,e);else{const s=Fe(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)n(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ie(s)}}const i=r,o=e0();return i.tail=o,v0(t)}function D1(e,t){return S1((r,n)=>g3(n,r),t,ji(e))}function id(e,t){let r,n;const i=e0();let o=i,s=t;for(;!O1(s);){let c=e($t(s));for(;!O1(c);)o=(r=o,n=new S0($t(c),void 0),r.tail=n,n),c=v0(c);s=v0(s)}const a=o,l=e0();return a.tail=l,v0(i)}function i3(e,t){const r=e0(),n=td((o,s,a)=>{const l=new S0(e(o,a),void 0);return s.tail=l,l},r,t),i=e0();return n.tail=i,v0(r)}function _1(e,t){const r=e0(),n=S1((o,s)=>{const a=new S0(e(s),void 0);return o.tail=a,a},r,t),i=e0();return n.tail=i,v0(r)}function od(e,t){return(n=>{e:for(;;){const i=n;if(O1(i))return;{const o=e($t(i));if(o==null){n=v0(i);continue e}else return o}}})(t)}function J4(e,t){return od(r=>e(r)?f0(r):void 0,t)}function sd(e,t){return((n,i)=>{e:for(;;){const o=n,s=i;if(O1(s))return;if(e($t(s)))return o;n=o+1,i=v0(s);continue e}})(0,t)}function ad(e,t){return Qc(t,e)}function T0(e,t){const r=e0(),n=S1((o,s)=>{if(e(s)){const a=new S0(s,void 0);return o.tail=a,a}else return o},r,t),i=e0();return n.tail=i,v0(r)}function ld(e,t){const r=e0(),n=e0(),i=r,o=S1((l,c)=>{let d,f;const m=l[0],h=l[1];return e(c)?[(d=new S0(c,void 0),m.tail=d,d),h]:[m,(f=new S0(c,void 0),h.tail=f,f)]},[i,n],t),s=e0();o[0].tail=s;const a=e0();return o[1].tail=a,[v0(i),v0(n)]}function ud(e,t){const r=e0(),n=S1((o,s)=>{const a=e(s);if(a==null)return o;{const l=new S0(U(a),void 0);return o.tail=l,l}},r,t),i=e0();return n.tail=i,v0(r)}function Wi(e,t){return sd(e,t)!=null}function Wa(e,t){const r=ut(t);return r.sort(e),g(r)}function cd(e,t,r){return Wa((n,i)=>r.Compare(e(n),e(i)),t)}function qa(e,t,r){return Wa((n,i)=>r.Compare(e(n),e(i))*-1,t)}function Ga(e,t){e:for(;;){const r=e,n=t;if(r<=0)return n;if(O1(n))throw new Error(Ba+"\\nParameter name: list");e=r-1,t=v0(n);continue e}}function za(e,t){if(e<0)throw new Error(jc+"\\nParameter name: count");const r=(s,a,l)=>{let c;e:for(;;){const d=s,f=a,m=l;if(d<=0)return f;if(O1(m))throw new Error(Ba+"\\nParameter name: list");s=d-1,a=(c=new S0($t(m),void 0),f.tail=c,c),l=v0(m);continue e}},n=e0(),i=r(e,n,t),o=e0();return i.tail=o,v0(n)}function Ya(e,t,r){const n=o0(r)|0;let i;const o=Pe(e,0)|0;i=o<0?0:o;let s;const a=Pe(t,n-1)|0;return s=a>=n?n-1:a,s<i?e0():za(s-i+1,Ga(i,r))}const w=se;function dd(e){const t=g([u("style",{children:[Vn]}),u("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return u("div",{children:w.Children.toArray(Array.from(t))})}class Za{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const r=this._id;return this._listeners.set(this._id++,t),r}removeListener(t){return this._listeners.delete(t)}register(t,r){const n=this,i=this.addListener(r==null?t:()=>t(r));return{Dispose(){n.removeListener(i)}}}Dispose(){}}class zn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,zn.prototype)}}class qi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>qi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function Q1(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new zn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(r){t.onError(cn(r))}});else try{e(t)}catch(r){t.onError(cn(r))}}}function fd(e,t){return Q1(r=>{e({onSuccess:n=>{try{t(n)(r)}catch(i){r.onError(cn(i))}},onError:r.onError,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline})})}function md(e){return Q1(t=>t.onSuccess(e))}class hd{Bind(t,r){return fd(t,r)}Combine(t,r){return this.Bind(t,()=>r)}Delay(t){return Q1(r=>t()(r))}For(t,r){const n=t[Symbol.iterator]();let i=n.next();return this.While(()=>!i.done,this.Delay(()=>{const o=r(i.value);return i=n.next(),o}))}Return(t){return md(t)}ReturnFrom(t){return t}TryFinally(t,r){return Q1(n=>{t({onSuccess:i=>{r(),n.onSuccess(i)},onError:i=>{r(),n.onError(i)},onCancel:i=>{r(),n.onCancel(i)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(t,r){return Q1(n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:i=>{try{r(i)(n)}catch(o){n.onError(cn(o))}}})})}Using(t,r){return this.TryFinally(r(t),()=>t.Dispose())}While(t,r){return t()?this.Bind(r,()=>this.While(t,r)):this.Return(void 0)}Zero(){return Q1(t=>t.onSuccess(void 0))}}const H=new hd;function pd(e){return new Ka(0,[e])}function gd(e){return new Ka(1,[e])}class Ka extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Choice1Of2","Choice2Of2"]}}function wd(e){return pd(e)}function yd(e){return gd(e)}function I5(e){}function vd(e){return new Za(!1)}function bd(e){e.cancel()}function _d(e){return e!=null&&e.isCancelled}const Cd=new Za;function xd(e){return Q1(t=>{e({onSuccess:r=>t.onSuccess(wd(r)),onError:r=>t.onSuccess(yd(r)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Sd(e){return Q1(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Yn(e){return Q1(t=>{let r;const n=setTimeout(()=>{t.cancelToken.removeListener(r),t.onSuccess(void 0)},e);r=t.cancelToken.addListener(()=>{clearTimeout(n),t.onCancel(new zn)})})}function Ed(e,t){return Ad(e,t)}function jt(e,t){return Ed(e,t)}function Ad(e,t,r,n,i){typeof t!="function"&&(i=t,t=void 0);const o=new qi;e({onSuccess:t||I5,onError:I5,onCancel:I5,cancelToken:i||Cd,trampoline:o})}class B1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class w3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Empty","Text","Binary","Form"]}}class Zn extends de{constructor(t,r,n,i,o,s,a,l){super(),this.url=t,this.method=r,this.headers=n,this.withCredentials=i,this.overridenMimeType=o,this.overridenResponseType=s,this.timeout=a,this.content=l}}class H2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ja extends de{constructor(t,r,n,i,o,s){super(),this.statusCode=t|0,this.responseText=r,this.responseType=n,this.responseUrl=i,this.responseHeaders=o,this.content=s}}function Td(e){throw new Error(e)}const Nd="Enumeration already finished.",Md="Enumeration has not started. Call MoveNext.",Xa="The input sequence has an insufficient number of elements.",kd="Reset is not supported on this enumerator.";function Id(){throw new Error(kd)}function Gi(){throw new Error(Md)}function X4(){throw new Error(Nd)}class Rd{constructor(t){this.f=t}toString(){const t=this;let r=0,n="seq [";const i=Fe(t);try{for(;r<4&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(n=n+"; "),n=n+Qe(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===4&&(n=n+"; ..."),n+"]"}finally{Ie(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Od(e){return new Rd(e)}class Dd{constructor(t,r,n){this.current=t,this.next=r,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Id()}Dispose(){this.dispose()}}function Kn(e,t,r){return new Dd(e,t,r)}function $d(e){let t,r,n=!1,i=!1,o;const s=()=>{if(i=!0,r!=null){const a=U(r);try{Ie(a)}finally{r=void 0}}if(t!=null){const a=U(t);try{Ie(a)}finally{t=void 0}}};return Kn(()=>(n?i&&X4():Gi(),o!=null?U(o):X4()),()=>{let a;if(n||(n=!0),i)return!1;{let l;for(;l==null;){const c=t,d=r;if(c!=null)if(d!=null){const f=U(d);if(f["System.Collections.IEnumerator.MoveNext"]())o=f0(f["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{Ie(f)}finally{r=void 0}}else{const f=U(c);f["System.Collections.IEnumerator.MoveNext"]()?r=(a=f["System.Collections.Generic.IEnumerator`1.get_Current"](),Fe(a)):(s(),l=!1)}else t=Fe(e)}return U(l)}},()=>{i||s()})}function Fd(e,t){return Kn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{Ie(t)}finally{}})}function Qa(e,t,r){let n=!1,i,o=f0(e());const s=()=>{if(o!=null){const l=U(o);try{r(l)}finally{o=void 0}}},a=()=>{try{s()}finally{i=void 0}};return Kn(()=>(n||Gi(),i!=null?U(i):X4()),()=>{if(n||(n=!0),o!=null){const l=U(o);let c;try{c=t(l)}catch(d){throw a(),d}return c!=null?(i=c,!0):(a(),!1)}else return!1},s)}function Pd(e,t){let r,n=t;return Kn(()=>{if(r!=null){const i=U(r)[0];return U(r)[1],i}else return Gi()},()=>(r=e(n),r!=null?(U(r)[0],n=U(r)[1],!0):!1),()=>{})}function Ld(e,t){t==null&&Td(e)}function pr(e){return Od(e)}function f1(e){return Ld("source",e),Fe(e)}function E(e){return pr(()=>Fe(e()))}function Jn(e){return pr(()=>$d(e))}function Bd(e,t){return pr(()=>Pd(e,t))}function _e(){return E(()=>new Array(0))}function x(e){return E(()=>Gc(e))}function m1(e){return e instanceof S0?ut(e):Array.from(e)}function q(e){return u1(e)?g(e):e instanceof S0?e:rd(e)}function zi(e,t,r){return pr(()=>Qa(e,t,r))}function e8(e,t,r){return pr(()=>{let n=-1;return Qa(e,i=>(n=n+1|0,t(n,i)),r)})}function $(e,t){return Jn([e,t])}function Hd(e,t){return zi(()=>f1(t),r=>{let n;for(;n==null&&r["System.Collections.IEnumerator.MoveNext"]();)n=e(r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n},r=>{Ie(r)})}function Vd(e,t,r){const n=f1(t);try{const i=f1(r);try{let o=0,s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]();for(;o===0&&s&&a;)o=e(n["System.Collections.Generic.IEnumerator`1.get_Current"](),i["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,o===0&&(s=n["System.Collections.IEnumerator.MoveNext"](),a=i["System.Collections.IEnumerator.MoveNext"]());return(o!==0?o:s?1:a?-1:0)|0}finally{Ie(i)}}finally{Ie(n)}}function O2(e,t,r){const n=f1(t);try{let i=!1;for(;!i&&n["System.Collections.IEnumerator.MoveNext"]();)i=r.Equals(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Ie(n)}}function Rt(e,t){return Hd(r=>{if(e(r))return f0(r)},t)}function y3(e,t,r){const n=f1(r);try{let i=t;for(;n["System.Collections.IEnumerator.MoveNext"]();)i=e(i,n["System.Collections.Generic.IEnumerator`1.get_Current"]());return i}finally{Ie(n)}}function H1(e,t){y3((r,n)=>{e(n)},void 0,t)}function t8(e,t){y3((r,n)=>(e(r,n),r+1|0),0,t)}function Ud(e){if(u1(e))return e.length|0;if(e instanceof S0)return o0(e)|0;{const t=f1(e);try{let r=0;for(;t["System.Collections.IEnumerator.MoveNext"]();)r=r+1|0;return r|0}finally{Ie(t)}}}function Oe(e,t){return zi(()=>f1(t),r=>r["System.Collections.IEnumerator.MoveNext"]()?f0(e(r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{Ie(r)})}function jd(e,t){return e8(()=>f1(t),(r,n)=>n["System.Collections.IEnumerator.MoveNext"]()?f0(e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,r=>{Ie(r)})}function Wd(e,t,r){return zi(()=>[f1(t),f1(r)],n=>{const i=n[0],o=n[1];return i["System.Collections.IEnumerator.MoveNext"]()&&o["System.Collections.IEnumerator.MoveNext"]()?f0(e(i["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0},n=>{try{Ie(n[0])}finally{Ie(n[1])}})}function qd(e){return E(()=>zc(m1(e)))}function Gd(e,t){return pr(()=>{const r=f1(t);try{for(let n=1;n<=e;n++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Xa+"\\nParameter name: source");return Fd(()=>{},r)}catch(n){throw Ie(r),n}})}function zd(e,t){return e8(()=>f1(t),(r,n)=>{if(r<e){if(n["System.Collections.IEnumerator.MoveNext"]())return f0(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Xa+"\\nParameter name: source")}else return},r=>{Ie(r)})}function r8(e,t){return Wd((r,n)=>[r,n],e,t)}function gr(e,t){return E(()=>Jn(Oe(e,t)))}class n8{constructor(t,r){this.k=t,this.v=r}}function ir(e,t){return new n8(e,t)}function c0(e){return e.k}function y0(e){return e.v}class p0 extends n8{constructor(t,r,n,i,o){super(t,r),this.left=n,this.right=i,this.h=o|0}}function u2(e,t,r,n,i){return new p0(e,t,r,n,i)}function s0(e){return e.left}function a0(e){return e.right}function Nt(e){return e.h}function i8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof p0){const o=i;e=i8(r+1,s0(o)),t=a0(o);continue e}else return r+1|0}else return r|0}}function o8(e){return i8(0,e)}function J0(e,t,r,n){let i,o,s;const a=e;if(a!=null){const f=U(a);s=f instanceof p0?(i=f,Nt(i)):1}else s=0;let l;const c=n;if(c!=null){const f=U(c);l=f instanceof p0?(o=f,Nt(o)):1}else l=0;const d=(s<l?l:s)|0;return d===0?ir(t,r):u2(t,r,e,n,d+1)}function gn(e,t,r,n){let i,o,s,a,l,c,d,f,m;const h=e;if(h!=null){const b=U(h);m=b instanceof p0?(i=b,Nt(i)):1}else m=0;let p;const v=n;if(v!=null){const b=U(v);p=b instanceof p0?(o=b,Nt(o)):1}else p=0;if(p>m+2){const b=U(n);if(b instanceof p0){const _=b;if(s=s0(_),(s!=null?(a=U(s),a instanceof p0?(l=a,Nt(l)):1):0)>m+1){const C=U(s0(_));if(C instanceof p0){const A=C;return J0(J0(e,t,r,s0(A)),c0(A),y0(A),J0(a0(A),c0(_),y0(_),a0(_)))}else throw new Error("internal error: Map.rebalance")}else return J0(J0(e,t,r,s0(_)),c0(_),y0(_),a0(_))}else throw new Error("internal error: Map.rebalance")}else if(m>p+2){const b=U(e);if(b instanceof p0){const _=b;if(c=a0(_),(c!=null?(d=U(c),d instanceof p0?(f=d,Nt(f)):1):0)>p+1){const C=U(a0(_));if(C instanceof p0){const A=C;return J0(J0(s0(_),c0(_),y0(_),s0(A)),c0(A),y0(A),J0(a0(A),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return J0(s0(_),c0(_),y0(_),J0(a0(_),t,r,n))}else throw new Error("internal error: Map.rebalance")}else return J0(e,t,r,n)}function or(e,t,r,n){if(n!=null){const i=U(n),o=e.Compare(t,c0(i))|0;if(i instanceof p0){const s=i;return o<0?gn(or(e,t,r,s0(s)),c0(s),y0(s),a0(s)):o===0?u2(t,r,s0(s),a0(s),Nt(s)):gn(s0(s),c0(s),y0(s),or(e,t,r,a0(s)))}else return o<0?u2(t,r,void 0,n,2):o===0?ir(t,r):u2(t,r,n,void 0,2)}else return ir(t,r)}function Yi(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,c0(s))|0;if(a===0)return f0(y0(s));if(s instanceof p0){const l=s;e=n,t=i,r=a<0?s0(l):a0(l);continue e}else return}else return}}function Yd(e,t,r){const n=Yi(e,t,r);if(n==null)throw new Error;return U(n)}function s8(e){if(e!=null){const t=U(e);if(t instanceof p0){const r=t;if(s0(r)==null)return[c0(r),y0(r),a0(r)];{const n=s8(s0(r));return[n[0],n[1],J0(n[2],c0(r),y0(r),a0(r))]}}else return[c0(t),y0(t),void 0]}else throw new Error("internal error: Map.spliceOutSuccessor")}function Q4(e,t,r,n){if(n!=null){const i=U(n);if(i instanceof p0){const o=i,s=e.Compare(t,c0(o))|0;if(s<0)return gn(Q4(e,t,r,s0(o)),c0(o),y0(o),a0(o));if(s===0){const a=r(f0(y0(o)));if(a!=null)return u2(t,U(a),s0(o),a0(o),Nt(o));if(s0(o)==null)return a0(o);if(a0(o)==null)return s0(o);{const l=s8(a0(o));return J0(s0(o),l[0],l[1],l[2])}}else return gn(s0(o),c0(o),y0(o),Q4(e,t,r,a0(o)))}else{const o=e.Compare(t,c0(i))|0;if(o<0){const s=r(void 0);return s!=null?u2(t,U(s),void 0,n,2):n}else if(o===0){const s=r(f0(y0(i)));return s!=null?ir(t,U(s)):void 0}else{const s=r(void 0);return s!=null?u2(t,U(s),n,void 0,2):n}}}else{const i=r(void 0);return i!=null?ir(t,U(i)):n}}function Zd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,c0(s))|0;if(s instanceof p0){const l=s;if(a<0){e=n,t=i,r=s0(l);continue e}else{if(a===0)return!0;e=n,t=i,r=a0(l);continue e}}else return a===0}else return!1}}function a8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof p0){const o=i;a8(r,s0(o)),r(c0(o),y0(o)),e=r,t=a0(o);continue e}else r(c0(i),y0(i))}break}}function Kd(e,t){a8(e,t)}function l8(e,t,r){let n=r;Kd((i,o)=>{P0(t,n,[i,o]),n=n+1|0},e)}function Jd(e){const t=o8(e)|0,r=p3(new Array(t),0,t,[null,null]);return l8(e,r,0),r}function Xd(e,t){return S1((r,n)=>or(e,n[0],n[1],r),void 0,t)}function Qd(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=n,t=or(n,s[0],s[1],i),r=o;continue e}else return i}}function ef(e,t){let r=void 0;for(let n=0;n<=t.length-1;n++){const i=ge(n,t);r=or(e,i[0],i[1],r)}return r}function u8(e,t){if(u1(t))return ef(e,t);if(t instanceof S0)return Xd(e,t);{const r=Fe(t);try{return Qd(e,void 0,r)}finally{Ie(r)}}}class tf extends de{constructor(t,r){super(),this.stack=t,this.started=r}}function c8(e){e:for(;;){const t=e;if(Te(t))return $e();{const r=Re(t),n=pe(t);if(n!=null){const i=U(n);if(i instanceof p0){const o=i;e=n0([s0(o),ir(c0(o),y0(o)),a0(o)],r);continue e}else return t}else{e=r;continue e}}}}function m6(e){return new tf(c8(ae(e)),!1)}function rf(){throw new Error("enumeration not started")}function nf(){throw new Error("enumeration already finished")}function h6(e){if(e.started){const t=e.stack;if(Te(t))return nf();if(pe(t)!=null){const r=U(pe(t));if(r instanceof p0)throw new Error("Please report error: Map iterator, unexpected stack for current");return[c0(r),y0(r)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return rf()}function of(e){if(e.started){const t=e.stack;if(Te(t))return!1;if(pe(t)!=null){if(U(pe(t))instanceof p0)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=c8(Re(t)),!Te(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!Te(e.stack)}function p6(e){let t=m6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return h6(t)},"System.Collections.IEnumerator.get_Current"(){return h6(t)},"System.Collections.IEnumerator.MoveNext"(){return of(t)},"System.Collections.IEnumerator.Reset"(){t=m6(e)},Dispose(){}}}class wn{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return cf(this)|0}Equals(t){const r=this;if(t instanceof wn){const n=t,i=Fe(r);try{const o=Fe(n);try{const s=()=>{const a=i["System.Collections.IEnumerator.MoveNext"]();if(a===o["System.Collections.IEnumerator.MoveNext"]())if(a){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"](),c=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return ee(l[0],c[0])&&ee(l[1],c[1])?s():!1}else return!0;else return!1};return s()}finally{Ie(o)}}finally{Ie(i)}}else return!1}toString(){return"map ["+l0("; ",Oe(r=>Pi("({0}, {1})",r[0],r[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return p6(this.tree)}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return p6(this.tree)}CompareTo(t){const r=this;if(t instanceof wn)return Vd((i,o)=>{const s=r.comparer.Compare(i[0],o[0])|0;return(s!==0?s:I0(i[1],o[1]))|0},r,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=this;return g6(r,t[0])&&ee(h2(r,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){l8(this.tree,t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return R5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return R5(this)|0}get size(){return R5(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Oe(r=>[r[0],r[1]],this)}get(t){return h2(this,t)}has(t){return g6(this,t)}keys(){return Oe(r=>r[0],this)}set(t,r){throw new Error("Map cannot be mutated")}values(){return Oe(r=>r[1],this)}forEach(t,r){const n=this;H1(i=>{t(i[1],i[0],n)},n)}}function v3(e,t){return new wn(e,t)}function sf(e){return v3(e,void 0)}function af(e,t,r){return v3(e.comparer,or(e.comparer,t,r,e.tree))}function lf(e,t,r){return v3(e.comparer,Q4(e.comparer,t,r,e.tree))}function h2(e,t){return Yd(e.comparer,t,e.tree)}function R5(e){return o8(e.tree)}function g6(e,t){return Zd(e.comparer,t,e.tree)}function uf(e,t,r){const n=Yi(e.comparer,t,e.tree);if(n==null)return!1;{const i=U(n);return r.contents=i,!0}}function w6(e){return Ke(t=>t[1],Jd(e.tree))}function Mt(e,t){return Yi(e.comparer,t,e.tree)}function cf(e){const t=(i,o)=>(i<<1)+o+631;let r=0;const n=Fe(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r=t(r,c1(i[0]))|0,r=t(r,c1(i[1]))|0}}finally{Ie(n)}return r|0}function d8(e,t,r){return af(r,e,t)}function F3(e,t,r){return lf(r,e,t)}function f8(e,t){return Mt(t,e)}function df(e){return Oe(t=>[t[0],t[1]],e)}function Y2(e,t){return v3(t,u8(t,e))}function ff(e,t){return v3(t,u8(t,e))}function Zi(e){return sf(e)}const Xt=new Zn("",new B1(0,[]),$e(),!1,void 0,void 0,void 0,new w3(0,[]));new Ja(0,"","","",Zi({Compare:Bt}),new H2(0,[""]));function y6(e,t){return Li(t)?new Array(0):Aa(t,[e],void 0,0)}function mf(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function ct(e){return new Zn(e,Xt.method,Xt.headers,Xt.withCredentials,Xt.overridenMimeType,Xt.overridenResponseType,Xt.timeout,Xt.content)}function dt(e,t){return new Zn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Xn(e,t){return new Zn(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function hf(e){return Sd(t=>{const r=new XMLHttpRequest;r.open(mf(e.method),e.url),r.onreadystatechange=()=>{let l,c,d,f,m,h,p;r.readyState===4&&t[0]((l=(c=r.responseType,c===""||c==="text"?r.responseText:""),d=r.status|0,f=r.responseType,m=(h=r.responseType,h===""?new H2(0,[r.responseText]):h==="text"?new H2(0,[r.responseText]):h==="arraybuffer"?new H2(2,[r.response]):h==="blob"?new H2(1,[r.response]):new H2(3,[r.response])),p=ff(j0(v=>{const b=g(y6(":",v));if(!Te(b))return[pe(b).toLocaleLowerCase(),l0(":",Re(b)).trim()]},y6(`\r
|
|
4
|
+
`,r.getAllResponseHeaders())),{Compare:Bt}),new Ja(d,l,f,r.responseURL,p,m)))};const n=Fe(e.headers);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const l=n["System.Collections.Generic.IEnumerator`1.get_Current"]();r.setRequestHeader(l.fields[0],l.fields[1])}}finally{Ie(n)}r.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(i!=null){const l=i;r.overrideMimeType(l)}const o=e.overridenResponseType;if(o!=null)switch(o.tag){case 1:{r.responseType="blob";break}case 2:{r.responseType="arraybuffer";break}default:r.responseType="text"}const s=e.timeout;if(s!=null){const l=s|0;r.timeout=l|0}const a=e.content;switch(a.tag){case 1:{r.send(f0(a.fields[0]));break}case 3:{r.send(f0(a.fields[0]));break}case 2:{r.send(f0(a.fields[0]));break}default:r.send()}})}const pf=3,gf=1e3;function m8(e,t,r){return H.Delay(()=>H.Bind(hf(r),n=>{let i,o;const s=n,a=s.statusCode|0;return i=a|0,i>=200&&i<=299?H.Return(s):(o=a|0,(o===412||o===425||o===429?!0:o>=500)&&e>=1?H.Bind(Yn(t),()=>H.ReturnFrom(m8(e-1,t,r))):H.Return(s))}))}const ft=e=>m8(pf,gf,e);function wf(e){return new R(0,[e])}function h8(e){return new R(1,[e])}class R extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Ok","Error"]}}function $1(e,t){return t.tag===0?wf(e(t.fields[0])):h8(t.fields[0])}function yf(e,t){return t.tag===0?e(t.fields[0]):h8(t.fields[0])}const o2={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function O5(e,t){return e.replace(/[a-z]?[A-Z]/g,r=>r.length===1?r.toLowerCase():r.charAt(0)+t+r.charAt(1).toLowerCase())}function vf(e,t){switch(t){case o2.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case o2.SnakeCase:return O5(e,"_");case o2.SnakeCaseAllCaps:return O5(e,"_").toUpperCase();case o2.KebabCase:return O5(e,"-");case o2.None:default:return e}}function mt(e,t=o2.None){const r={},n=t;function i(s){throw new Error("Cannot infer key and value of "+String(s))}function o(s,a,l){s=vf(s,a),r[s]=l}for(let s of e){let a=o2.None;if(s==null&&i(s),s instanceof z){const l=s.cases()[s.tag];s=s.fields.length===0?l:[l].concat(s.fields),a=n}if(Array.isArray(s))switch(s.length){case 0:i(s);break;case 1:o(s[0],a,!0);break;case 2:const l=s[1];o(s[0],a,l);break;default:o(s[0],a,s.slice(1))}else typeof s=="string"?o(s,a,!0):i(s)}return r}function Qn(e,t,r){return e.has(t)?(r.contents=e.get(t),!0):!1}function p8(e,t){return t.has(e)?!1:(t.add(e),!0)}function bf(e,t,r){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,r)}function at(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class fe extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class z0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function v6(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function g8(e,t){switch(e.tag){case 2:return m3(v6(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return v6(t)}}const _f=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,b6=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Cf=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function xf(e){function t(n){return n.replace(b6,"$1-$2-$3-$4-$5")}const r=e.trim().toLowerCase();if(_f.test(r))return Ta(r,"{","}","(",")");if(b6.test(r))return t(r);if(Cf.test(r))return t(r.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Sf(e,t){try{return t.contents=xf(e),!0}catch{return!1}}function Ki(){let e="";for(let t=0;t++<36;)e+=t*51&52?(t^15?8^Math.random()*(t^20?16:4):4).toString(16):"-";return e}var ei;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(ei||(ei={}));function Ef(e,t){const[,r,n,i]=e;return{sign:r||"",prefix:n||"",digits:i,radix:t}}function _6(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Af(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function Tf(e,t){if(t&ei.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function Nf(e,t,r){const i=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(i!=null){const[,,o,s]=i;if(r=r||Tf(o,t),!Af(r).test(s))return Ef(i,r)}return null}function Mf(e,t,r,n,i){const o=Nf(e,t,i);if(o!=null){let s=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(s)){const[a,l]=_6(!0,n);!r&&o.radix!==10&&s>=a&&s<=l&&(s=s<<32-n>>32-n);const[c,d]=_6(r,n);if(s>=c&&s<=d)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function wr(e,t,r,n,i){try{return i.contents=Mf(e,t,r,n),!0}catch{return!1}}function w8(e,t){kf(t);const r=new Date(e);return r.offset=t??new Date().getTimezoneOffset()*-6e4,r}function kf(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function If(){return w8(-621355968e5,0)}function Rf(e){const[t,r]=ba(e),n=r==null?t.getTimezoneOffset()*-6e4:r==="Z"?0:r*6e4;return w8(t.getTime(),n)}function Of(e,t){try{return t.contents=Rf(e),!0}catch{return!1}}function b3(e){return e<0?Math.ceil(e):Math.floor(e)}function C6(e=0,t=0,r=0,n=0,i=0){switch(arguments.length){case 1:return Df(arguments[0]);case 3:e=0,t=arguments[0],r=arguments[1],n=arguments[2],i=0;break}return e*864e5+t*36e5+r*6e4+n*1e3+i}function Df(e){return Number(BigInt(e)/10000n)}function $f(e){return b3(e/864e5)}function Ff(e){return b3(e%864e5/36e5)}function Pf(e){return b3(e%36e5/6e4)}function Lf(e){return b3(e%6e4/1e3)}function Bf(e){return b3(e%1e3)}function Hf(e,t="c",r){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const n=Math.abs($f(e)),i=Math.abs(Ff(e)),o=Math.abs(Pf(e)),s=Math.abs(Lf(e)),a=Math.abs(Bf(e));return`${e<0?"-":""}${n===0&&(t==="c"||t==="g")?"":t==="c"?n+".":n+":"}${t==="g"?i:Ue(i,2)}:${Ue(o,2)}:${Ue(s,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+Ue(a,3):"."+ju(a,3,7)}`}function Vf(e){const t=e.search("\\."),r=e.search("\\:");if(t===-1&&r===-1){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return C6(n,0,0,0,0)}if(r>0){const n=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(n!=null&&n[4]!=null&&n[5]!=null){let i=0,o=0,s=0;const a=n[1]!=null&&n[1]==="-"?-1:1,l=+n[4],c=+n[5];if(n[3]!=null&&(i=+n[3]),n[7]!=null&&(s=+n[7]),n[8]!=null)switch(n[8].length){case 1:o=+n[8]*100;break;case 2:o=+n[8]*10;break;case 3:o=+n[8];break;case 4:o=+n[8]/10;break;case 5:o=+n[8]/100;break;case 6:o=+n[8]/1e3;break;case 7:o=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*C6(i,l,c,s,o)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Uf(e,t){try{return t.contents=Vf(e),!0}catch{return!1}}class y8{constructor(t,r){const n=new E0(Ae());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Fe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();D5(n.contents,o)}}finally{Ie(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}GetEnumerator(){return Fe(Jn(this.hashMap.values()))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){D5(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){x6(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return E6(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){t8((i,o)=>{P0(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return S6(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return A6(this,t)}get size(){return S6(this)|0}add(t){const r=this;return D5(r,t),r}clear(){x6(this)}delete(t){return A6(this,t)}has(t){return E6(this,t)}keys(){return Oe(r=>r,this)}values(){return Oe(r=>r,this)}entries(){return Oe(r=>[r,r],this)}forEach(t,r){const n=this;H1(i=>{t(i,i,n)},n)}}function Ji(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=Ae();return n=[Qn(e.hashMap,r,new E0(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o))]:[!1,r,-1]}function x6(e){e.hashMap.clear()}function S6(e){let t=0,r=Fe(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{Ie(r)}return t|0}function D5(e,t){const r=Ji(e,t);return r[0]?r[2]>-1?!1:(at(e.hashMap,r[1]).push(t),!0):(e.hashMap.set(r[1],[t]),!0)}function E6(e,t){const r=Ji(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function A6(e,t){const r=Ji(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}class v8{constructor(t){this.k=t}}function X0(e){return new v8(e)}function Se(e){return e.k}class Be extends v8{constructor(t,r,n,i){super(t),this.left=r,this.right=n,this.h=i|0}}function Q0(e,t,r,n){return new Be(e,t,r,n)}function Je(e){return e.left}function Ge(e){return e.right}function q2(e){return e.h}function b8(e,t){e:for(;;){const r=e,n=t;if(r!=null){const i=U(r);if(i instanceof Be){const o=i;e=Je(o),t=b8(Ge(o),n+1);continue e}else return n+1|0}else return n|0}}function jf(e){return b8(e,0)}function g1(e,t,r){let n,i,o;const s=e;if(s!=null){const d=U(s);o=d instanceof Be?(n=d,q2(n)):1}else o=0;let a;const l=r;if(l!=null){const d=U(l);a=d instanceof Be?(i=d,q2(i)):1}else a=0;const c=(o<a?a:o)|0;return c===0?X0(t):Q0(t,e,r,c+1)}function T6(e,t,r){let n,i,o,s,a,l,c,d,f;const m=e;if(m!=null){const v=U(m);f=v instanceof Be?(n=v,q2(n)):1}else f=0;let h;const p=r;if(p!=null){const v=U(p);h=v instanceof Be?(i=v,q2(i)):1}else h=0;if(h>f+2){const v=U(r);if(v instanceof Be){const b=v;if(o=Je(b),(o!=null?(s=U(o),s instanceof Be?(a=s,q2(a)):1):0)>f+1){const _=U(Je(b));if(_ instanceof Be){const C=_;return g1(g1(e,t,Je(C)),Se(C),g1(Ge(C),Se(b),Ge(b)))}else throw new Error("internal error: Set.rebalance")}else return g1(g1(e,t,Je(b)),Se(b),Ge(b))}else throw new Error("internal error: Set.rebalance")}else if(f>h+2){const v=U(e);if(v instanceof Be){const b=v;if(l=Ge(b),(l!=null?(c=U(l),c instanceof Be?(d=c,q2(d)):1):0)>h+1){const _=U(Ge(b));if(_ instanceof Be){const C=_;return g1(g1(Je(b),Se(b),Je(C)),Se(C),g1(Ge(C),t,r))}else throw new Error("internal error: Set.rebalance")}else return g1(Je(b),Se(b),g1(Ge(b),t,r))}else throw new Error("internal error: Set.rebalance")}else return g1(e,t,r)}function sr(e,t,r){if(r!=null){const n=U(r),i=e.Compare(t,Se(n))|0;if(n instanceof Be){const o=n;return i<0?T6(sr(e,t,Je(o)),Se(o),Ge(o)):i===0?r:T6(Je(o),Se(o),sr(e,t,Ge(o)))}else{const o=e.Compare(t,Se(n))|0;return o<0?Q0(t,void 0,r,2):o===0?r:Q0(t,r,void 0,2)}}else return X0(t)}function _8(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o!=null){const s=U(o),a=n.Compare(i,Se(s))|0;if(s instanceof Be){const l=s;if(a<0){e=n,t=i,r=Je(l);continue e}else{if(a===0)return!0;e=n,t=i,r=Ge(l);continue e}}else return a===0}else return!1}}function C8(e,t){e:for(;;){const r=e,n=t;if(n!=null){const i=U(n);if(i instanceof Be){const o=i;C8(r,Je(o)),r(Se(o)),e=r,t=Ge(o);continue e}else r(Se(i))}break}}class Wf extends de{constructor(t,r){super(),this.stack=t,this.started=r}}function x8(e){e:for(;;){const t=e;if(Te(t))return $e();{const r=pe(t),n=Re(t);if(r!=null){const i=U(r);if(i instanceof Be){const o=i;e=n0([Je(o),X0(Se(o)),Ge(o)],n);continue e}else return t}else{e=n;continue e}}}}function N6(e){return new Wf(x8(ae(e)),!1)}function qf(){throw new Error("Enumeration not started")}function Gf(){throw new Error("Enumeration already started")}function M6(e){if(e.started){const t=e.stack;if(Te(t))return Gf();if(pe(t)!=null){const r=U(pe(t));return Se(r)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return qf()}function zf(e){if(e.started){const t=e.stack;if(Te(t))return!1;if(pe(t)!=null){if(U(pe(t))instanceof Be)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=x8(Re(t)),!Te(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!Te(e.stack)}function k6(e){let t=N6(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return M6(t)},"System.Collections.IEnumerator.get_Current"(){return M6(t)},"System.Collections.IEnumerator.MoveNext"(){return zf(t)},"System.Collections.IEnumerator.Reset"(){t=N6(e)},Dispose(){}}}function Yf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(Te(i))return Te(o)?0:-1;if(Te(o))return 1;if(pe(o)!=null)if(pe(i)!=null){const s=U(pe(i)),a=U(pe(o));if(s instanceof Be){const l=s;if(Je(l)==null)if(a instanceof Be){const c=a;if(Je(c)==null){const d=n.Compare(Se(l),Se(c))|0;if(d!==0)return d|0;e=n,t=s1(Ge(l),Re(i)),r=s1(Ge(c),Re(o));continue e}else{let d,f,m,h,p;switch(Te(i)?Te(o)?d=2:pe(o)!=null?(d=1,h=Re(o),p=U(pe(o))):d=2:pe(i)!=null?(d=0,f=Re(i),m=U(pe(i))):Te(o)?d=2:pe(o)!=null?(d=1,h=Re(o),p=U(pe(o))):d=2,d){case 0:if(m instanceof Be){const v=m;e=n,t=n0([Je(v),Q0(Se(v),void 0,Ge(v),0)],f),r=o;continue e}else{e=n,t=n0([void 0,X0(Se(m))],f),r=o;continue e}case 1:if(p instanceof Be){const v=p;e=n,t=i,r=n0([Je(v),Q0(Se(v),void 0,Ge(v),0)],h);continue e}else{e=n,t=i,r=n0([void 0,X0(Se(p))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=n.Compare(Se(l),Se(a))|0;if(c!==0)return c|0;e=n,t=s1(Ge(l),Re(i)),r=s1(void 0,Re(o));continue e}else{let c,d,f,m,h;switch(Te(i)?Te(o)?c=2:pe(o)!=null?(c=1,m=Re(o),h=U(pe(o))):c=2:pe(i)!=null?(c=0,d=Re(i),f=U(pe(i))):Te(o)?c=2:pe(o)!=null?(c=1,m=Re(o),h=U(pe(o))):c=2,c){case 0:if(f instanceof Be){const p=f;e=n,t=n0([Je(p),Q0(Se(p),void 0,Ge(p),0)],d),r=o;continue e}else{e=n,t=n0([void 0,X0(Se(f))],d),r=o;continue e}case 1:if(h instanceof Be){const p=h;e=n,t=i,r=n0([Je(p),Q0(Se(p),void 0,Ge(p),0)],m);continue e}else{e=n,t=i,r=n0([void 0,X0(Se(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof Be){const l=a;if(Je(l)==null){const c=n.Compare(Se(s),Se(l))|0;if(c!==0)return c|0;e=n,t=s1(void 0,Re(i)),r=s1(Ge(l),Re(o));continue e}else{let c,d,f,m,h;switch(Te(i)?Te(o)?c=2:pe(o)!=null?(c=1,m=Re(o),h=U(pe(o))):c=2:pe(i)!=null?(c=0,d=Re(i),f=U(pe(i))):Te(o)?c=2:pe(o)!=null?(c=1,m=Re(o),h=U(pe(o))):c=2,c){case 0:if(f instanceof Be){const p=f;e=n,t=n0([Je(p),Q0(Se(p),void 0,Ge(p),0)],d),r=o;continue e}else{e=n,t=n0([void 0,X0(Se(f))],d),r=o;continue e}case 1:if(h instanceof Be){const p=h;e=n,t=i,r=n0([Je(p),Q0(Se(p),void 0,Ge(p),0)],m);continue e}else{e=n,t=i,r=n0([void 0,X0(Se(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=n.Compare(Se(s),Se(a))|0;if(l!==0)return l|0;e=n,t=Re(i),r=Re(o);continue e}}else{U(pe(o));let s,a,l,c,d;switch(Te(i)?Te(o)?s=2:pe(o)!=null?(s=1,c=Re(o),d=U(pe(o))):s=2:pe(i)!=null?(s=0,a=Re(i),l=U(pe(i))):Te(o)?s=2:pe(o)!=null?(s=1,c=Re(o),d=U(pe(o))):s=2,s){case 0:if(l instanceof Be){const f=l;e=n,t=n0([Je(f),Q0(Se(f),void 0,Ge(f),0)],a),r=o;continue e}else{e=n,t=n0([void 0,X0(Se(l))],a),r=o;continue e}case 1:if(d instanceof Be){const f=d;e=n,t=i,r=n0([Je(f),Q0(Se(f),void 0,Ge(f),0)],c);continue e}else{e=n,t=i,r=n0([void 0,X0(Se(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(pe(i)!=null){U(pe(i));let s,a,l,c,d;switch(Te(i)?Te(o)?s=2:pe(o)!=null?(s=1,c=Re(o),d=U(pe(o))):s=2:pe(i)!=null?(s=0,a=Re(i),l=U(pe(i))):Te(o)?s=2:pe(o)!=null?(s=1,c=Re(o),d=U(pe(o))):s=2,s){case 0:if(l instanceof Be){const f=l;e=n,t=n0([Je(f),Q0(Se(f),void 0,Ge(f),0)],a),r=o;continue e}else{e=n,t=n0([void 0,X0(Se(l))],a),r=o;continue e}case 1:if(d instanceof Be){const f=d;e=n,t=i,r=n0([Je(f),Q0(Se(f),void 0,Ge(f),0)],c);continue e}else{e=n,t=i,r=n0([void 0,X0(Se(d))],c);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=n,t=Re(i),r=Re(o);continue e}}}function I6(e,t,r){return t==null?r==null?0:-1:r==null?1:Yf(e,ae(t),ae(r))|0}function Zf(e,t,r){let n=r;C8(i=>{P0(t,n,i),n=n+1|0},e)}function Kf(e,t,r){e:for(;;){const n=e,i=t,o=r;if(o["System.Collections.IEnumerator.MoveNext"]()){e=n,t=sr(n,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),r=o;continue e}else return i}}function Jf(e,t){return Gn((r,n)=>sr(e,n,r),void 0,t)}function Xf(e,t){return S1((r,n)=>sr(e,n,r),void 0,t)}function S8(e,t){if(u1(t))return Jf(e,t);if(t instanceof S0)return Xf(e,t);{const r=Fe(t);try{return Kf(e,void 0,r)}finally{Ie(r)}}}class Xi{constructor(t,r){this.comparer=t,this.tree=r}GetHashCode(){return tm(this)|0}Equals(t){let r;const n=this;return t instanceof Xi&&(r=t,I6(Z2(n),w1(n),w1(r))===0)}toString(){return"set ["+l0("; ",Oe(r=>Qe(r),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const r=this;return I6(Z2(r),w1(r),w1(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=this;return _8(Z2(r),t,w1(r))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){Zf(w1(this),t,r)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return $5(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return $5(this)|0}GetEnumerator(){return k6(w1(this))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.IEnumerable.GetEnumerator"(){return k6(w1(this))}get size(){return $5(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return E8(this,t)}keys(){return Oe(r=>r,this)}values(){return Oe(r=>r,this)}entries(){return Oe(r=>[r,r],this)}forEach(t,r){const n=this;H1(i=>{t(i,i,n)},n)}}function e5(e,t){return new Xi(e,t)}function Z2(e){return e.comparer}function w1(e){return e.tree}function Qf(e){return e5(e,void 0)}function em(e,t){return e5(Z2(e),sr(Z2(e),t,w1(e)))}function $5(e){return jf(w1(e))}function E8(e,t){return _8(Z2(e),t,w1(e))}function tm(e){let t=0;const r=Fe(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+c1(n)+631|0}}finally{Ie(r)}return Math.abs(t)|0}function yn(e,t){return E8(t,e)}function rm(e,t){return em(t,e)}function nm(e){return Qf(e)}function A8(e,t){return e5(t,S8(t,e))}function im(e,t){return e5(t,S8(t,e))}function Rr(e,t,r){try{return"Expecting "+e+" but instead got:"+(r?`
|
|
5
5
|
`:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(r?`
|
|
6
|
-
`:" ")}}function
|
|
7
|
-
Reason: `+t.fields[2]:t.tag===3?
|
|
6
|
+
`:" ")}}function om(e,t){const r=t.tag===2?Rr(t.fields[0],t.fields[1],!0):t.tag===1?Rr(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?Rr(t.fields[0],t.fields[1],!0):t.tag===4?Rr(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
8
8
|
`+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
|
|
9
9
|
|
|
10
|
-
`+
|
|
10
|
+
`+l0(`
|
|
11
11
|
|
|
12
|
-
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Rr(t.fields[0],t.fields[1],!1);return t.tag===7?r:"Error at: `"+e+"`\n"+r}function T8(e,t,r){const n=t(e,r);if(n.tag===1){const i=n.fields[0];return new R(1,[om(i[0],i[1])])}else return new R(0,[n.fields[0]])}function Wt(e,t){try{return T8("$",e,JSON.parse(t))}catch(r){if(r instanceof SyntaxError)return new R(1,["Given an invalid JSON: "+r.message]);throw r}}function N8(e,t){return typeof t=="string"?new R(0,[t]):new R(1,[[e,new fe(0,["a string",t])]])}function sm(e,t){if(typeof t=="string"){const r=t;return r.length===1?new R(0,[r[0]]):new R(1,[[e,new fe(0,["a single character string",t])]])}else return new R(1,[[e,new fe(0,["a char",t])]])}function am(e,t){if(typeof t=="string"){let r,n="00000000-0000-0000-0000-000000000000";return r=[Sf(t,new E0(()=>n,i=>{n=i})),n],r[0]?new R(0,[r[1]]):new R(1,[[e,new fe(0,["a guid",t])]])}else return new R(1,[[e,new fe(0,["a guid",t])]])}function lm(e,t){return t==null?new R(0,[void 0]):new R(1,[[e,new fe(0,["null",t])]])}const R6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-128<=i&&i<=127?new R(0,[(i+128&255)-128]):new R(1,[[r,new fe(1,["a sbyte",i,"Value was either too large or too small for a sbyte"])]]):new R(1,[[r,new fe(1,["a sbyte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!1,8,new E0(()=>o,s=>{o=s|0})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["a sbyte",n])]])}else return new R(1,[[r,new fe(0,["a sbyte",n])]])},O6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=255?new R(0,[i&255]):new R(1,[[r,new fe(1,["a byte",i,"Value was either too large or too small for a byte"])]]):new R(1,[[r,new fe(1,["a byte",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!0,8,new E0(()=>o,s=>{o=s})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["a byte",n])]])}else return new R(1,[[r,new fe(0,["a byte",n])]])},D6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-32768<=i&&i<=32767?new R(0,[(i+32768&65535)-32768]):new R(1,[[r,new fe(1,["an int16",i,"Value was either too large or too small for an int16"])]]):new R(1,[[r,new fe(1,["an int16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!1,16,new E0(()=>o,s=>{o=s|0})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["an int16",n])]])}else return new R(1,[[r,new fe(0,["an int16",n])]])},$6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=65535?new R(0,[i&65535]):new R(1,[[r,new fe(1,["an uint16",i,"Value was either too large or too small for an uint16"])]]):new R(1,[[r,new fe(1,["an uint16",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!0,16,new E0(()=>o,s=>{o=s})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["an uint16",n])]])}else return new R(1,[[r,new fe(0,["an uint16",n])]])},F6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?-2147483648<=i&&i<=2147483647?new R(0,[~~i]):new R(1,[[r,new fe(1,["an int",i,"Value was either too large or too small for an int"])]]):new R(1,[[r,new fe(1,["an int",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!1,32,new E0(()=>o,s=>{o=s|0})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["an int",n])]])}else return new R(1,[[r,new fe(0,["an int",n])]])},P6=e=>t=>{const r=e,n=t;if(typeof n=="number"){const i=n;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=4294967295?new R(0,[i>>>0]):new R(1,[[r,new fe(1,["an uint32",i,"Value was either too large or too small for an uint32"])]]):new R(1,[[r,new fe(1,["an uint32",i,"Value is not an integral value"])]])}else if(typeof n=="string"){let i,o=0;return i=[wr(n,511,!0,32,new E0(()=>o,s=>{o=s})),o],i[0]?new R(0,[i[1]]):new R(1,[[r,new fe(0,["an uint32",n])]])}else return new R(1,[[r,new fe(0,["an uint32",n])]])};function um(e,t){return typeof t=="boolean"?new R(0,[t]):new R(1,[[e,new fe(0,["a boolean",t])]])}function cm(e,t){return typeof t=="number"?new R(0,[t]):new R(1,[[e,new fe(0,["a float",t])]])}function dm(e,t){return typeof t=="number"?new R(0,[t]):new R(1,[[e,new fe(0,["a float32",t])]])}function fm(e,t){if(typeof t=="string"){let r,n=vc();return r=[_c(t,new E0(()=>n,i=>{n=i})),n],r[0]?new R(0,[Cc(r[1])]):new R(1,[[e,new fe(0,["a datetime",t])]])}else return new R(1,[[e,new fe(0,["a datetime",t])]])}function mm(e,t){if(typeof t=="string"){let r,n=If();return r=[Of(t,new E0(()=>n,i=>{n=i})),n],r[0]?new R(0,[r[1]]):new R(1,[[e,new fe(0,["a datetimeoffset",t])]])}else return new R(1,[[e,new fe(0,["a datetime",t])]])}function hm(e,t){if(typeof t=="string"){let r,n=0;return r=[Uf(t,new E0(()=>n,i=>{n=i})),n],r[0]?new R(0,[r[1]]):new R(1,[[e,new fe(0,["a timespan",t])]])}else return new R(1,[[e,new fe(0,["a timespan",t])]])}function L6(e,t,r,n){let i;const o=r+".["+l1(e)+"]";if(Array.isArray(n)){const s=n;return e<s.length?t(o,ge(e,s)):new R(1,[[o,new fe(5,["a longer array. Need index `"+l1(e)+"` but there are only `"+(i=s.length,l1(i))+"` entries",n])]])}else return new R(1,[[o,new fe(0,["an array",n])]])}function pm(e,t,r){return r==null?new R(0,[void 0]):$1(f0,e(t,r))}function B6(e,t,r){if(Array.isArray(r)){let n=-1;return $1(ji,Gn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+l1(n)+"]",o);return s.tag===0?new R(0,[s1(s.fields[0],i.fields[0])]):new R(1,[s.fields[0]])}else return i},new R(0,[$e()]),r))}else return new R(1,[[t,new fe(0,["a list",r])]])}function gm(e,t,r){if(Array.isArray(r)){let n=-1;return $1(qd,Gn((i,o)=>{if(n=n+1|0,i.tag===0){const s=e(t+".["+l1(n)+"]",o);return s.tag===0?new R(0,[$([s.fields[0]],i.fields[0])]):new R(1,[s.fields[0]])}else return i},new R(0,[[]]),r))}else return new R(1,[[t,new fe(0,["a seq",r])]])}function H6(e,t,r){if(Array.isArray(r)){let n=-1;const i=r;return Gn((o,s)=>{if(n=n+1|0,o.tag===0){const a=o.fields[0],l=e(t+".["+l1(n)+"]",s);return l.tag===0?(P0(a,n,l.fields[0]),new R(0,[a])):new R(1,[l.fields[0]])}else return o},new R(0,[p3(new Array(i.length),0,i.length,null)]),i)}else return new R(1,[[t,new fe(0,["an array",r])]])}function wm(e,t,r){return((i,o)=>{e:for(;;){const s=i,a=o;if(Te(s))return new R(1,[[t,new fe(7,[a])]]);{const l=T8(t,je(pe(s)),r);if(l.tag===1){i=Re(s),o=D1(a,ae(l.fields[0]));continue e}else return new R(0,[l.fields[0]])}}})(e,$e())}function ym(e,t,r){return new R(0,[e])}function V6(e,t,r,n){const i=t(r,n);return i.tag===0?e(i.fields[0],r,n):new R(1,[i.fields[0]])}function vm(e,t,r,n){const i=t(r,n);return i.tag===1?new R(1,[i.fields[0]]):new R(0,[e(i.fields[0])])}function bm(e,t){let r;const n=e;return r=i=>o=>L6(0,n,i,o),i=>o=>V6(Y4(s=>{let a;const l=t;return a=c=>d=>L6(1,l,c,d),c=>d=>V6((f,m,h)=>ym([s,f]),je(a),c,d)}),je(r),i,o)}function _m(e){return Y2(e,{Compare:I0})}function Cm(e){return im(e,{Compare:I0})}function xm(e,t,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Ua((n,i)=>{const o=n[0];return i.tag===0?$1(s=>s1(s,i.fields[0]),n[1](t+"."+o)(r[o])):i},e,new R(0,[$e()])):new R(1,[[t,new fe(0,["an object",r])]])}function Sm(e,t,r,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?y3((i,o)=>{if(i.tag===0){const s=e(r,o);if(s.tag===0){const a=t(r+"."+o,n[o]);return a.tag===0?new R(0,[s1([s.fields[0],a.fields[0]],i.fields[0])]):new R(1,[a.fields[0]])}else return new R(1,[s.fields[0]])}else return i},new R(0,[$e()]),Object.keys(n)):new R(1,[[r,new fe(0,["an object",n])]])}function M8(e,t,r,n){let i;const o=t.length+e|0;if(o!==n.length)return new R(1,[[r,new fe(6,[(i=n.length|0,f2(st("Expected array of length %i but got %i"))(o)(i))])]]);{let s=new R(0,[$e()]);for(let a=e;a<=n.length-1;a++)if(s.tag===0){const l=s.fields[0],c=f2(st("%s[%i]"))(r)(a),d=ge(a-e,t),f=ge(a,n);s=$1(m=>s1(m,l),d(c)(f))}return $1(ji,s)}}function U6(e,t,r,n,i,o){const s=Ut(a=>z2(a)===n,Oa(r));if(s!=null){const a=s,l=Ke(c=>y1(e,t,!1,c[1]),Pa(a));return $1(c=>Bc(a,ut(c)),l.length===0&&o.length<=1?new R(0,[$e()]):M8(1,l,i,o))}else return new R(1,[[i,new fe(6,["Cannot find case "+n+" in "+Xe(r)])]])}function j6(e,t,r,n){let i;const o=new E0(Ae());let s;const a=Xe(n);s=a===""?e:d8(a,o,e);let l;if(Fa(n)){const c=Ke(d=>[g8(t,z2(d)),y1(s,t,!1,d[1])],r3(n));l=d=>f=>$1(m=>Hc(n,ut(m)),xm(c,d,f))}else if($a(n))l=c=>d=>{if(typeof d=="string")return U6(s,t,n,d,c,[]);if(Array.isArray(d)){const f=d;return yf(m=>U6(s,t,n,m,c,f),N8(c+"[0]",ge(0,f)))}else return new R(1,[[c,new fe(0,["a string or array",d])]])};else if(r)l=c=>d=>new R(1,[[c,new fe(2,["an extra coder for "+Xe(n),d])]]);else throw new Error((i=Xe(n),f2(st(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
13
13
|
|
|
14
|
-
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function
|
|
14
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function y1(e,t,r,n){let i,o,s,a;const l=Xe(n),c=f8(l,e);if(c==null)if(Ma(n)){const d=y1(e,t,!1,h3(n));return f=>m=>H6(je(d),f,m)}else if(Vi(n))switch(Xe(Ra(n))){case"System.SByte":return f=>m=>{const h=n,p=f,v=m,b=R6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0]|0;return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,_.toString())]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};case"System.Byte":return f=>m=>{const h=n,p=f,v=m,b=O6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0];return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,_.toString())]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};case"System.Int16":return f=>m=>{const h=n,p=f,v=m,b=D6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0]|0;return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,Wu(_))]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};case"System.UInt16":return f=>m=>{const h=n,p=f,v=m,b=$6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0];return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,_.toString())]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};case"System.Int32":return f=>m=>{const h=n,p=f,v=m,b=F6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0]|0;return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,l1(_))]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};case"System.UInt32":return f=>m=>{const h=n,p=f,v=m,b=P6(p)(v);if(b.tag===1)return new R(1,[b.fields[0]]);{const _=b.fields[0];return O2(_,I2(h),{Equals:(C,A)=>C===A,GetHashCode:v1})?new R(0,[R2(h,_.toString())]):new R(1,[[p,new fe(1,[Xe(h),v,"Unkown value provided for the enum"])]])}};default:{const f=Xe(n),m=xa(st(`Cannot generate auto decoder for %s.
|
|
15
15
|
Thoth.Json.Net only support the following enum types:
|
|
16
16
|
- sbyte
|
|
17
17
|
- byte
|
|
@@ -20,9 +20,9 @@ Thoth.Json.Net only support the following enum types:
|
|
|
20
20
|
- int
|
|
21
21
|
- uint32
|
|
22
22
|
If you can't use one of these types, please pass an extra decoder.
|
|
23
|
-
`))(f);return h=>m(h)}}else if(
|
|
23
|
+
`))(f);return h=>m(h)}}else if(ka(n))if(Ui(n)){const d=Ke(f=>y1(e,t,!1,f),Da(n));return f=>m=>Array.isArray(m)?$1(h=>Vc(ut(h)),M8(0,d,f,m)):new R(1,[[f,new fe(0,["an array",m])]])}else switch(Xe(Ia(n))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return i=y1(e,t,!0,ge(0,e1(n))),f=>m=>pm(je(i),f,m);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return o=y1(e,t,!1,ge(0,e1(n))),f=>m=>B6(je(o),f,m);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=y1(e,t,!1,ge(0,e1(n))),f=>m=>gm(je(s),f,m);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const f=y1(e,t,!1,ge(0,e1(n))),m=y1(e,t,!1,ge(1,e1(n)));let h;const p=g([v=>b=>Sm(je(f),je(m),v,b),(a=bm(je(f),je(m)),v=>b=>B6(je(a),v,b))]);return h=v=>b=>wm(p,v,b),v=>b=>vm(_m,je(h),v,b)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const f=y1(e,t,!1,ge(0,e1(n)));return m=>h=>{const p=H6(je(f),m,h);return p.tag===0?new R(0,[Cm(p.fields[0])]):new R(1,[p.fields[0]])}}default:return j6(e,t,r,n)}else switch(l){case"System.Boolean":return d=>f=>um(d,f);case"Microsoft.FSharp.Core.Unit":return d=>f=>lm(d,f);case"System.String":return d=>f=>N8(d,f);case"System.Char":return d=>f=>sm(d,f);case"System.SByte":return R6;case"System.Byte":return O6;case"System.Int16":return D6;case"System.UInt16":return $6;case"System.Int32":return F6;case"System.UInt32":return P6;case"System.Double":return d=>f=>cm(d,f);case"System.Single":return d=>f=>dm(d,f);case"System.DateTime":return d=>f=>fm(d,f);case"System.DateTimeOffset":return d=>f=>mm(d,f);case"System.TimeSpan":return d=>f=>hm(d,f);case"System.Guid":return d=>f=>am(d,f);case"System.Object":return d=>f=>new R(0,[f]);default:return j6(e,t,r,n)}else{const d=c;return f=>m=>d.contents(f)(m)}}function Em(e){return Zi({Compare:Bt})}function qt(e,t,r){const n=Pe(t,new z0(0,[]));return y1(Em(),n,!1,e)}let Am=class extends de{constructor(t,r){super(),this.Name=t,this.Email=r}};function Qi(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.UserDto",[],Am,()=>[["Name",Ye],["Email",i1(Ye)]])}class ti extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Profiles","Tax"]}}function k8(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ImportStageDto",[],ti,()=>[[],[]])}class Tm extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Invite","RevokeInvite"]}}function Nm(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestTypeDto",[],Tm,()=>[[],[]])}class Mm extends de{constructor(t,r,n,i){super(),this.User=t,this.ProfileCount=r|0,this.RequestType=n,this.RequestedAt=i}}function km(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestInfoDto",[],Mm,()=>[["User",Qi()],["ProfileCount",Ce],["RequestType",Nm()],["RequestedAt",F0("System.DateTime")]])}class Im extends de{constructor(t,r,n,i,o,s){super(),this.Stage=t,this.InputRowCount=r|0,this.StartTime=n,this.SucceededRowCount=i,this.FailedRowCount=o,this.RemainingRowCount=s}}function Rm(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.RunningStageDto",[],Im,()=>[["Stage",k8()],["InputRowCount",Ce],["StartTime",F0("System.DateTime")],["SucceededRowCount",i1(Ce)],["FailedRowCount",i1(Ce)],["RemainingRowCount",i1(Ce)]])}class Om extends de{constructor(t,r,n,i,o,s){super(),this.Stage=t,this.InputRowCount=r|0,this.SucceededRowCount=n|0,this.FailedRowCount=i|0,this.StartTime=o,this.StopTime=s}}function I8(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.CompletedStageDto",[],Om,()=>[["Stage",k8()],["InputRowCount",Ce],["SucceededRowCount",Ce],["FailedRowCount",Ce],["StartTime",F0("System.DateTime")],["StopTime",F0("System.DateTime")]])}class Dm extends de{constructor(t,r,n,i,o,s,a){super(),this.ImportId=t|0,this.User=r,this.Filename=n,this.NumberOfRecords=i|0,this.CurrentStage=o,this.CompletedStages=s,this.StartTime=a}}function $m(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ActiveImportDto",[],Dm,()=>[["ImportId",Ce],["User",Qi()],["Filename",Ye],["NumberOfRecords",Ce],["CurrentStage",i1(Rm())],["CompletedStages",d1(I8())],["StartTime",F0("System.DateTime")]])}class Fm extends de{constructor(t,r,n,i,o,s,a,l){super(),this.ImportId=t|0,this.User=r,this.Filename=n,this.NumberOfRecords=i|0,this.CompletedStages=o,this.BenefitsRequests=s,this.StartTime=a,this.StopTime=l}}function Pm(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.PastImportDto",[],Fm,()=>[["ImportId",Ce],["User",Qi()],["Filename",Ye],["NumberOfRecords",Ce],["CompletedStages",d1(I8())],["BenefitsRequests",d1(km())],["StartTime",F0("System.DateTime")],["StopTime",F0("System.DateTime")]])}class R8 extends de{constructor(t,r){super(),this.ActiveImport=t,this.ImportHistory=r}}function Lm(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.AccountImportsDto",[],R8,()=>[["ActiveImport",i1($m())],["ImportHistory",d1(Pm())]])}const Bm=new R8(void 0,$e());function Hm(e){return e}const O8=Ae();function P3(e){return Array.from(e)}function Vm(e){return Un(e,"O")}function Um(e){return Hf(e)}function jm(){return Ae()}function Wm(e){return Un(e,"O")}function t5(e,t){return JSON.stringify(t,void 0,f0(e))}function qm(e){return t=>Oc(r0(e,t),()=>O8)}function W6(e,t,r,n){let i;const o=new E0(Ae());let s;const a=Xe(n);s=a===""?e:d8(a,o,e);let l;if(Fa(n)){const c=Ke(d=>{const f=g8(t,z2(d)),m=G1(s,t,r,d[1]);return h=>p=>{const v=Lc(h,d);return(!r||r&&v!=null)&&(p[f]=m(v)),p}},r3(n));l=d=>y3((f,m)=>m(d)(f),{},c)}else if($a(n))l=c=>{const d=Pc(c,n),f=d[0],m=d[1],h=m.length|0;if(h===0)return z2(f);{const p=h|0,v=Pa(f),b=p3(new Array(p+1),0,p+1,null);P0(b,0,z2(f));for(let _=1;_<=p;_++){const C=G1(s,t,r,ge(_-1,v)[1]);P0(b,_,C(ge(_-1,m)))}return b}};else throw new Error((i=Xe(n),f2(st(`Cannot generate auto encoder for %s. Please pass an extra encoder.
|
|
24
24
|
|
|
25
|
-
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function
|
|
25
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(i)));return o.contents=l,l}function G1(e,t,r,n){const i=Xe(n),o=f8(i,e);if(o==null)if(Ma(n)){const s=G1(e,t,r,h3(n));return a=>P3(Oe(s,a))}else if(Vi(n))switch(Xe(Ra(n))){case"System.SByte":return a=>a;case"System.Byte":return a=>a;case"System.Int16":return a=>a;case"System.UInt16":return a=>a;case"System.Int32":return a=>a;case"System.UInt32":return a=>a;default:{const a=Xe(n);return xa(st(`Cannot generate auto encoder for %s.
|
|
26
26
|
Thoth.Json.Net only support the following enum types:
|
|
27
27
|
- sbyte
|
|
28
28
|
- byte
|
|
@@ -34,7 +34,7 @@ Thoth.Json.Net only support the following enum types:
|
|
|
34
34
|
If you can't use one of these types, please pass an extra encoder.
|
|
35
35
|
|
|
36
36
|
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders
|
|
37
|
-
`))(a)}}else if(Ia(n))if(Wi(n)){const s=Je(a=>Y1(e,t,r,a),$a(n));return a=>B3(qd((l,c)=>we(l,s)(c),a))}else{const s=Qe(Ra(n));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new Wu(()=>zh(Y1(e,t,r,we(0,o1(n)))));return l=>l==null?D8:a.Value(l)}else if(s==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||s==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||s==="System.Collections.Generic.IEnumerable`1[System.Object]"){const a=Y1(e,t,r,we(0,o1(n)));return l=>B3(De(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=we(0,o1(n)),l=Y1(e,t,r,we(1,o1(n)));if(Qe(a)==="System.String"||Qe(a)==="System.Guid")return c=>b3((d,f)=>{const m=f;return d[m[0]]=l(m[1]),d},{},c);{let c;return c=Y1(e,t,r,a),f=>B3(De(m=>{const h=m;return[c(h[0]),l(h[1])]},f))}}else return q6(e,t,r,n)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return qh;case"System.String":return s=>s;case"System.Char":return s=>s;case"System.SByte":return s=>s;case"System.Byte":return s=>s;case"System.Int16":return s=>s;case"System.UInt16":return s=>s;case"System.Int32":return s=>s;case"System.UInt32":return s=>s;case"System.Double":return s=>s;case"System.Single":return s=>s;case"System.DateTime":return Gh;case"System.DateTimeOffset":return jh;case"System.TimeSpan":return Wh;case"System.Guid":return Vh;case"System.Object":return s=>s;default:return q6(e,t,r,n)}else{const s=o;return a=>s.contents(a)}}function Yh(e){return Ji({Compare:Ut})}function n5(e,t,r,n){const i=Le(t,new K0(0,[])),o=Le(n,!0);return Y1(Yh(),i,o,e)}class ro extends ue{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function $8(){return Ge("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],ro,()=>[["RowId",Ce],["Data",P0("Microsoft.FSharp.Collections.FSharpMap`2",[Ze,Ze])]])}let F8=class extends ue{constructor(t,r){super(),this.IncludesEmploymentInfo=t,this.Data=r}};function Zh(){return Ge("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],F8,()=>[["IncludesEmploymentInfo",nr],["Data",g1($8())]])}class Kh extends ue{constructor(t,r,n){super(),this.Column=t,this.PropName=r,this.Message=n}}function Jh(){return Ge("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],Kh,()=>[["Column",Ze],["PropName",Ze],["Message",Ze]])}class Xh extends ue{constructor(t,r){super(),this.RowId=t|0,this.FieldErrors=r}}function Qh(){return Ge("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],Xh,()=>[["RowId",Ce],["FieldErrors",g1(Jh())]])}class em extends ue{constructor(t,r){super(),this.Errors=t,this.DuplicateEmailCount=r|0}}function tm(){return Ge("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],em,()=>[["Errors",g1(Qh())],["DuplicateEmailCount",Ce]])}class P8 extends ue{constructor(t,r,n){super(),this.IncludesEmploymentInfo=t,this.InviteNow=r,this.Data=n}}function rm(){return Ge("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],P8,()=>[["IncludesEmploymentInfo",nr],["InviteNow",nr],["Data",g1($8())]])}class nm extends ue{constructor(t){super(),this.ImportId=t|0}}function im(){return Ge("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],nm,()=>[["ImportId",Ce]])}class om extends ue{constructor(t,r){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=r|0}}function sm(){return Ge("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],om,()=>[["DuplicateEmailCount",Ce],["OtherFailuresCount",Ce]])}class am extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function lm(){return U1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],am,()=>[[["count",Ce]],[["rowId",Ce]],[["Item",sm()]]])}class um extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function cm(){return U1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],um,()=>[[],[["Item",lm()]]])}let L8=class extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}};function dm(){return U1("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.OperationTypeDto",[],L8,()=>[[]])}class B8 extends ue{constructor(t){super(),this.Email=t}}function fm(){return Ge("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.PropsBag",[],B8,()=>[["Email",u1(Ze)]])}class U8 extends ue{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function hm(){return Ge("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpRowDataDto",[],U8,()=>[["RowId",Ce],["Data",fm()]])}class H8 extends ue{constructor(t,r){super(),this.OperationType=t,this.Data=r}}function mm(){return Ge("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpDataDto",[],H8,()=>[["OperationType",dm()],["Data",g1(hm())]])}class pm extends ue{constructor(t){super(),this.BatchOpId=t|0}}function gm(){return Ge("Import.Dto.Shared.WorkspaceApi.StartBatchOpResponse.BatchOpCreatedDto",[],pm,()=>[["BatchOpId",Ce]])}class wm extends ue{constructor(t,r){super(),this.RowId=t|0,this.Reason=r}}function ym(){return Ge("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.FailedRowInfoDto",[],wm,()=>[["RowId",Ce],["Reason",Ze]])}class vm extends ue{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRowCount=n|0,this.StartTime=i,this.LastUpdatedTime=o}}function bm(){return Ge("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.InProgressStatusDto",[],vm,()=>[["NumberOfRecords",Ce],["SucceededRowCount",Ce],["FailedRowCount",Ce],["StartTime",P0("System.DateTime")],["LastUpdatedTime",u1(P0("System.DateTime"))]])}class _m extends ue{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRows=n,this.StartTime=i,this.StopTime=o}}function Cm(){return Ge("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.DoneStatusDto",[],_m,()=>[["NumberOfRecords",Ce],["SucceededRowCount",Ce],["FailedRows",g1(ym())],["StartTime",P0("System.DateTime")],["StopTime",P0("System.DateTime")]])}class xm extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function Sm(){return U1("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.BatchOpStatusDto",[],xm,()=>[[["Item",bm()]],[["Item",Cm()]]])}class Em extends ue{constructor(t,r){super(),this.Name=t,this.Email=r}}function V8(){return Ge("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.UserDto",[],Em,()=>[["Name",Ze],["Email",u1(Ze)]])}class Am extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function j8(){return U1("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.OperationTypeDto",[],Am,()=>[[]])}class Tm extends ue{constructor(t,r){super(),this.SucceededRowCount=t|0,this.FailedRowCount=r|0}}function W8(){return Ge("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.CompletionStatusDto",[],Tm,()=>[["SucceededRowCount",Ce],["FailedRowCount",Ce]])}class Nm extends ue{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.LastUpdatedTime=l}}function Mm(){return Ge("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.ActiveBatchOpDto",[],Nm,()=>[["BatchOpId",Ce],["User",V8()],["OperationType",j8()],["Filename",Ze],["NumberOfRecords",Ce],["CompletionStatus",W8()],["StartTime",P0("System.DateTime")],["LastUpdatedTime",u1(P0("System.DateTime"))]])}class km extends ue{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.StopTime=l}}function Im(){return Ge("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.PastBatchOpDto",[],km,()=>[["BatchOpId",Ce],["User",V8()],["OperationType",j8()],["Filename",Ze],["NumberOfRecords",Ce],["CompletionStatus",W8()],["StartTime",P0("System.DateTime")],["StopTime",P0("System.DateTime")]])}class q8 extends ue{constructor(t,r){super(),this.ActiveBatchOp=t,this.BatchOpHistory=r}}function Rm(){return Ge("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.AccountBatchOpsDto",[],q8,()=>[["ActiveBatchOp",u1(Mm())],["BatchOpHistory",g1(Im())]])}const Om=new q8(void 0,Pe());class nt extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function Dm(){return U1("Import.Dto.Shared.WorkspaceApi.BatchOperation.TypeDto",[],nt,()=>[[]])}class it extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FileUploaded","Canceled","Progressed","ValidationCompleted","ErrorReportDownloaded","Requested","Failed"]}}function $m(){return U1("Import.Dto.Shared.WorkspaceApi.BatchOperation.AnalyticsEventDto",[],it,()=>[[["Item",I0(["Success",nr])]],[["Item",I0(["From",Ze])]],[["Item",I0(["From",Ze],["To",Ze])]],[["Item",I0(["DuplicateCount",Ce],["RowCount",Ce],["SuccessCount",Ce],["TotalFailedCount",Ce])]],[],[["Item",I0(["BatchOpId",Ce])]],[["Item",I0(["Reason",Ze])]]])}class h0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested","UserImportFailed","BatchOperation"]}}function Fm(){return U1("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],h0,()=>[[["Item",I0(["Section",Ze])]],[["Item",I0(["Success",nr])]],[["Item",I0(["From",Ze])]],[["Item",I0(["From",Ze],["To",Ze])]],[["Item",I0(["Field",Ze])]],[["Item",I0(["RowCount",Ce])]],[["Item",I0(["DuplicateCount",Ce],["ExistingUserCount",u1(Ce)],["RowCount",Ce],["SuccessCount",Ce],["TotalFailedCount",Ce])]],[],[["Item",I0(["ImportId",Ce],["UsersInvited",nr])]],[["Item",I0(["Reason",Ze])]],[["Item",I0(["Event",$m()],["Type",Dm()])]]])}class G8 extends ue{constructor(t,r){super(),this.SessionId=t,this.Data=r}}function Pm(){return Ge("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],G8,()=>[["SessionId",u1(Ze)],["Data",Fm()]])}function zt(e){return`${e}/import/workspace/v1.0`}function Lm(e,t){return B.Delay(()=>{let r;const n=mt(ht(new H1(0,[]),ft(zt(e)+"/accounts/current/imports")));return r=B.Bind(n,i=>B.Return(new R(0,[i]))),B.Bind(r,i=>{const o=i;if(o.tag===1)return B.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=qt(We(Gt(Uh(),new K0(1,[]))),s.responseText);return l=c.tag===1?new R(1,[c.fields[0]]):new R(0,[c.fields[0]]),B.Return(l)}case 404:return B.Return(new R(0,[void 0]));default:return B.Return(new R(1,["Failed to get account imports"]))}}})})}function Bm(e,t){return B.Delay(()=>{let r,n;const i=mt((r=ht(new H1(1,[]),ft(zt(e)+"/accounts/current/import/validate")),Qn(new v3(1,[r5(0,n5(Zh(),new K0(1,[]),void 0,void 0)(t))]),r)));return n=B.Bind(i,o=>B.Return(new R(0,[o]))),B.Bind(n,o=>{const s=o;if(s.tag===1)return B.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=qt(We(Gt(tm(),new K0(1,[]))),a.responseText);return B.Return(l)}else return B.Return(new R(1,[`Failed to validate: ${a.responseText}`]))}})})}function Um(e,t){return B.Delay(()=>{let r,n;const i=mt((r=ht(new H1(1,[]),ft(zt(e)+"/accounts/current/import/start")),Qn(new v3(1,[r5(0,n5(rm(),new K0(1,[]),void 0,void 0)(t))]),r)));return n=B.Bind(i,o=>B.Return(new R(0,[o]))),B.Bind(n,o=>{const s=o;if(s.tag===1)return B.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=qt(We(Gt(im(),new K0(1,[]))),a.responseText);return B.Return(l)}else return B.Return(new R(1,[`Failed to start import: ${a.responseText}`]))}})})}function Hm(e,t){return B.Delay(()=>{let r;const n=mt(ht(new H1(0,[]),ft(zt(e)+`/accounts/current/import/${t}/status`)));return r=B.Bind(n,i=>B.Return(new R(0,[i]))),B.Bind(r,i=>{const o=i;if(o.tag===1)return B.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=qt(We(Gt(cm(),new K0(1,[]))),s.responseText);return B.Return(a)}else return B.Return(new R(1,[`Failed to get import status: ${s.responseText}`]))}})})}function Vm(e,t){return B.Delay(()=>{let r,n;const i=mt((r=ht(new H1(1,[]),ft(zt(e)+"/accounts/current/batch-op/start")),Qn(new v3(1,[r5(0,n5(mm(),new K0(1,[]),void 0,void 0)(t))]),r)));return n=B.Bind(i,o=>B.Return(new R(0,[o]))),B.Bind(n,o=>{const s=o;if(s.tag===1)return B.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=qt(We(Gt(gm(),new K0(1,[]))),a.responseText);return B.Return(l)}else return B.Return(new R(1,[`Failed to start batch operation: ${a.responseText}`]))}})})}function jm(e,t){return B.Delay(()=>{let r;const n=mt(ht(new H1(0,[]),ft(zt(e)+`/accounts/current/batch-op/${t}/status`)));return r=B.Bind(n,i=>B.Return(new R(0,[i]))),B.Bind(r,i=>{const o=i;if(o.tag===1)return B.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=qt(We(Gt(Sm(),new K0(1,[]))),s.responseText);return B.Return(a)}else return B.Return(new R(1,[`Failed to get batch operation status: ${s.responseText}`]))}})})}function Wm(e,t){return B.Delay(()=>{let r;const n=mt(ht(new H1(0,[]),ft(zt(e)+"/accounts/current/batch-ops")));return r=B.Bind(n,i=>B.Return(new R(0,[i]))),B.Bind(r,i=>{const o=i;if(o.tag===1)return B.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=qt(We(Gt(Rm(),new K0(1,[]))),s.responseText);return l=c.tag===1?new R(1,[c.fields[0]]):new R(0,[c.fields[0]]),B.Return(l)}case 404:return B.Return(new R(0,[void 0]));default:return B.Return(new R(1,["Failed to get account batch operations"]))}}})})}function no(e,t,r){return B.Delay(()=>{let n;const i=new G8(t,r);return B.Bind(mt((n=ht(new H1(1,[]),ft(zt(e)+"/analytics")),Qn(new v3(1,[r5(0,n5(Pm(),new K0(1,[]),void 0,void 0)(i))]),n))),o=>{const s=o;return s.statusCode===200||console.warn(m0("Failed to send analytics: "),s.responseText),B.Zero()})})}const io=(e,t)=>{Be(()=>{const r=e();return()=>{r.Dispose()}},t)},qm=e=>{B1(()=>{const t=e();return()=>{t.Dispose()}})};function Gm(e){return{Dispose(){V1(t=>{Re(t)},Vt(e))}}}function zm(e,t){return t}function Ym(e,t,r,n){const i=w.memo(e,We(Le(i0(Et,r),Ae())));return V1(o=>{e.displayName=o},Vt(t)),o=>{const s=zm(n,o);return w.createElement(i,s)}}function oo(e){return{Dispose(){e()}}}function lr(e){const t=w.useRef(!1);w.useEffect(()=>{t.current||(t.current=!0,e())},[])}function z8(e){const t=w.useRef(void 0),r=w.useRef(!1),n=w.useRef(!1);r.current&&(n.current=!0),io(()=>Gm(r.current?void 0:(r.current=!0,t.current=m0(e()),n.current?t.current:void 0)),[])}function Y8(e){const t=w.useRef(e),r=w.useCallback(n=>t.current(n),[]);return qm(n=>(t.current=e,oo(()=>{}))),r}class X3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Z8(e,t){let r;const n=_d();return r=w.useRef(n),z8(()=>oo(()=>{Cd(r.current)})),Y8(i=>{xd(r.current)||Wt(B.Delay(()=>B.TryWith(B.Delay(()=>(t(new X3(1,[])),B.Bind(e(i),o=>(t(new X3(2,[o])),B.Zero())))),o=>(t(new X3(3,[o])),B.Zero()))),r.current)})}function Zm(e,t,r,n){const i=R0(e,r)|0;if(i===0)throw new Error("The step of a range cannot be zero");const o=i>0;return s=>{const a=R0(s,t)|0;return o&&a<=0||!o&&a>=0?[s,n(s,e)]:void 0}}function Km(e,t,r,n,i){const o=Zm(t,r,n,i);return T(()=>Hd(o,e))}function so(e,t,r){return Km(e,t,r,0,(n,i)=>n+i)}class G6 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Header","Row"]}}function Jm(e,t){let r;const n=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return u("div",y(g([["className",v0(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",n[0],n[2],t])],(r=[u("div",{className:v0(" ",["w-full h-4 relative rounded",n[1]])})],["children",w.Children.toArray(Array.from(r))])])))}function z6(e){const t=A1(r=>Jm(e,r),g(["col-span-1","col-span-2","col-span-4"]));return u("div",{className:"grid grid-cols-7",children:w.Children.toArray(Array.from(t))})}function Xm(){let e,t;return u("div",y(g([(e="self-stretch animate-pulse grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",e]),(t=F1(se(z6(new G6(0,[]))),A1(r=>z6(new G6(1,[])),q(so(1,1,5)))),["children",w.Children.toArray(Array.from(t))])])))}function i5(e,t,r){return e===1?`1 ${t}`:`${e} ${r}`}function h2(e){return i5(e,"user","users")}function Qm(e,t,r){return e===1?t:r}class ep extends ue{constructor(t){super(),this.UserActivities=t}}class bn extends ue{constructor(t,r,n,i){super(),this.Timestamp=t,this.User=r,this.ActivityDescription1=n,this.ActivityDescription2=i}}class _n extends ue{constructor(t,r){super(),this.Name=t,this.Email=r}}function tp(e,t){const r=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(r)>=0?!0:Le(i0(n=>n.toLocaleLowerCase().indexOf(r)>=0,e.Email),!1)}function rp(e){return F1(g(Vt(i0(t=>new bn(t.StartTime,new _n(t.User.Name,t.User.Email),`Importing ${h2(t.NumberOfRecords)}`,void 0),e.ActiveImport))),A1(t=>{let r,n;return new bn(t.StartTime,new _n(t.User.Name,t.User.Email),Le(i0(i=>`Imported ${h2(i.SucceededRowCount)} via CSV`,Q4(i=>X(i.Stage,new ni(0,[])),t.CompletedStages)),`Imported ${h2(t.NumberOfRecords)} via CSV`),(r=Le(i0(i=>i.FailedRowCount,Q4(i=>X(i.Stage,new ni(0,[])),t.CompletedStages)),0)|0,r===0?void 0:(n=["user was skipped or could not be added due to an error.","users were skipped or could not be added due to errors."],i5(r,n[0],n[1]))))},e.ImportHistory))}function np(e){return F1(g(Vt(i0(t=>new bn(t.StartTime,new _n(t.User.Name,t.User.Email),`Removing ${h2(t.NumberOfRecords)}`,void 0),e.ActiveBatchOp))),A1(t=>{let r,n;return new bn(t.StartTime,new _n(t.User.Name,t.User.Email),`Removed ${h2(t.CompletionStatus.SucceededRowCount)} via CSV`,(r=t.CompletionStatus.FailedRowCount|0,r===0?void 0:(n=["user could not be removed due to an error.","users could not be removed due to errors."],i5(r,n[0],n[1]))))},e.BatchOpHistory))}function ip(e,t){return new ep(Ga(r=>r.Timestamp,F1(rp(e),np(t)),{Compare:Ac}))}class op{constructor(t,r,n){this.OnNext=t,this.OnError=r||(i=>{}),this.OnCompleted=n||(()=>{})}}function sp(e,t){t.Subscribe(new op(e))}class ap{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const r=this.delegates.indexOf(t);r>-1&&this.delegates.splice(r,1)}get Publish(){return up(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,r){let n=null;const i=r===void 0?t:(n=t,r);this.delegates.forEach(o=>{o(n,i)})}}let lp=class extends ap{};function up(e,t){return{AddHandler(r){e(r)},RemoveHandler(r){t(r)},Subscribe(r){const n=(i,o)=>r.OnNext(o);return e(n),{Dispose(){t(n)}}}}}class cp{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new lp}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function dp(e,t){console.error(m0(e),t)}function fp(e,t){let r,n=new cp(e);n.AutoReset=!1,r=n,sp(t,r.Elapsed()),r.Enabled=!0,r.Start()}function Y6(e,t,r){o3(n=>{try{n(t)}catch(i){e(i)}},r)}function ge(){return Pe()}function o5(e){return od(e)}function Cn(e){return se(e)}function hp(e,t,r,n){return se(i=>{e(B.Delay(()=>B.Bind(Ed(t(r)),o=>{const s=o;return s.tag===0&&i(n(s.fields[0])),B.Zero()})))})}function mp(e){fp(1,t=>{Wt(e)})}class ii extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Asc","Desc"]}}function pp(e){return e.tag===1?new ii(0,[]):new ii(1,[])}function gp(e,t,r){return e.tag===1?Ga(t,r,{Compare:R0}):fd(t,r,{Compare:R0})}class K8 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Requested","Finished"]}}function s1(e,t){return Cn(r=>{e(t)})}function J8(e){return Cn(t=>{e()})}class Z6 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Error","TableData"]}}class wp extends ue{constructor(t,r){super(),this.Data=t,this.IsFiltered=r}}class x3 extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class yp extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class vp extends ue{constructor(t,r){super(),this.SortInfo=t,this.SortDirectionToggledHandler=r}}class X8 extends ue{constructor(t,r){super(),this.Column=t,this.Direction=r}}class bp extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class xn extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class _p extends ue{constructor(t,r,n,i,o){super(),this.CurrentPage=t|0,this.FirstRowIndex=r|0,this.LastRowIndex=n|0,this.TotalRecordsNumber=i|0,this.PageSize=o|0}}function Cp(e){return e.tag===1?Q8(e.fields[0].Data):rl()}function xp(e){return e.tag===1?vr(e.fields[0].Data):new xn(1,[])}function Sp(e){const t=ao(rl(),e);return new x3([il(l0(e),20),t])}function S3(e){return e.fields[0][1]}function Q8(e){return tl(S3(e))}function Ep(e){return lo(S3(e))}function vr(e){return e.fields[0][0]}function Ap(e){const t=vr(e);if(t.tag===0){const r=t.fields[0],n=za(r.FirstRowIndex,Ep(e));return Ya(Lp(r),n)}else return Pe()}function el(e,t){const r=ao(Q8(e),t);return new x3([$p(vr(e),l0(lo(r))),r])}function Tp(e){return new x3([vr(e),kp(S3(e))])}function Np(e){return new x3([Dp(vr(e)),S3(e)])}function Mp(e){return new x3([Op(vr(e)),S3(e)])}function ao(e,t){return new yp([e,gp(e.Direction,r=>r.Timestamp,t)])}function lo(e){return e.fields[0][1]}function tl(e){return e.fields[0][0]}function kp(e){return ao(Ip(tl(e)),lo(e))}function rl(){return new X8(new bp,new ii(1,[]))}function Ip(e){return new X8(e.Column,pp(e.Direction))}function nl(e,t){return~~(e/t)+(e%t===0?0:1)}function s5(e,t,r){if(e<=0)return new xn(1,[]);{const n=f6(r,nl(e,t))|0,i=(n-1)*t|0;return new xn(0,[new _p(n,i,f6(i+t-1,e-1),e,t)])}}function il(e,t){return s5(e,t,1)}function Rp(e){if(e.tag===0){const t=e.fields[0];return nl(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function ol(e){return e.tag===0?e.fields[0].CurrentPage<Rp(e):!1}function sl(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function Op(e){const t=sl(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return s5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage-1)}default:return e}}function Dp(e){const t=ol(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return s5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage+1)}default:return e}}function $p(e,t){return t<=0?new xn(1,[]):e.tag===0?s5(t,20,e.fields[0].CurrentPage):il(t,20)}function Fp(e){return e.FirstRowIndex+1}function Pp(e){return e.LastRowIndex+1}function Lp(e){return e.LastRowIndex-e.FirstRowIndex+1}let Pt=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["LoadingError","ValidState"]}};class br extends ue{constructor(t,r,n){super(),this.ImportHistory=t,this.View=r,this.PaginatedList=n}}class uo extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Default","Filtered"]}}function Bp(e){if(e.tag===1)return al(e.fields[0])}function Up(e){return e.tag===0}function Hp(e){return e.tag===1?new Z6(1,[Yp(e.fields[0])]):new Z6(0,[])}function al(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Vp(e){return al(e)!=null}function jp(e,t){return new Pt(1,[new br(e.ImportHistory,new uo(1,[t]),el(e.PaginatedList,N0(r=>tp(r.User,t),e.ImportHistory.UserActivities)))])}function Wp(e){return new Pt(1,[new br(e.ImportHistory,new uo(0,[]),el(e.PaginatedList,e.ImportHistory.UserActivities))])}function qp(e){return new Pt(1,[new br(e.ImportHistory,e.View,Tp(e.PaginatedList))])}function Gp(e){return new Pt(1,[new br(e.ImportHistory,e.View,Np(e.PaginatedList))])}function zp(e){return new Pt(1,[new br(e.ImportHistory,e.View,Mp(e.PaginatedList))])}function Yp(e){return new wp(e.PaginatedList,Vp(e))}let J2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function Zp(e){let t;return[e.tag===1?new Pt(0,[]):(t=e.fields[0],new Pt(1,[new br(t,new uo(0,[]),Sp(t.UserActivities))])),ge()]}function ll(e,t){return e.tag===1?t(e.fields[0]):[new Pt(0,[]),ge()]}function Kp(e,t){return ll(e,r=>[t(r),ge()])}function Jp(e,t){const r=n=>Kp(t,n);switch(e.tag){case 1:return r(Wp);case 2:return r(qp);case 3:return r(Gp);case 4:return r(zp);default:{const n=e.fields[0];return ll(t,i=>Ui(n)?[t,se(o=>{o(new J2(1,[]))})]:[jp(i,n),ge()])}}}function Xp(){return Pe()}function co(e){return v0("/",e)}function Qp(e,t){const r=new Error("Duplicate SubId");return e(["Duplicate SubId: "+co(t),r])}function ul(e,t,r){try{Re(r)}catch(n){e(["Error stopping subscription: "+co(t),n])}}function eg(e,t,r,n){try{return[r,n(t)]}catch(i){e(["Error starting subscription: "+co(r),i]);return}}function tg(e,t){o3(r=>{ul(e,r[0],r[1])},t)}function K6(e,t,r,n,i,o){return o3(s=>{Qp(e,s)},r),o3(s=>{ul(e,s[0],s[1])},n),F1(i,dd(s=>eg(e,t,s[0],s[1]),o))}function rg(){return[Pe(),oh({Compare:R0}),Pe()]}function ng(e,t,r,n,i){return vn(e,n)?[d1(e,r),n,i]:[r,ih(e,n),d1([e,t],i)]}function ig(e){return rd((t,r)=>ng(t[0],t[1],r[0],r[1],r[2]),e,rg())}const og=Pe();function J6(e,t){const r=T8(A1(s=>s[0],e),{Compare:R0}),n=ig(t),i=n[1],o=n[0];if(r.Equals(i))return[o,Pe(),e,Pe()];{const s=cd(a=>vn(a[0],i),e);return[o,s[1],s[0],N0(a=>!vn(a[0],r),n[2])]}}class X2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Writable","ReadWritable"]}}class sg{constructor(t){this.state=new X2(0,[w3(new Array(d6(t,10)),0,d6(t,10),null),0])}}function ag(e){return new sg(e)}function X6(e){const t=e.state;if(t.tag===1){const r=t.fields[1]|0,n=t.fields[2]|0,i=t.fields[0],o=(n+1)%i.length|0;return o===r?e.state=new X2(0,[i,r]):e.state=new X2(1,[i,r,o]),m0(we(n,i))}else return}function lg(e,t){const r=e.state;if(r.tag===1){const n=r.fields[1]|0,i=r.fields[2]|0,o=r.fields[0];L0(o,n,t);const s=(n+1)%o.length|0;s===i?e.state=new X2(1,[ug(e,i,o),o.length,0]):e.state=new X2(1,[o,s,i])}else{const n=r.fields[1]|0,i=r.fields[0];L0(i,n,t);const o=(n+1)%i.length|0;e.state=new X2(1,[i,o,n])}}function ug(e,t,r){return Array.from(T(()=>F(Yd(t,r),T(()=>F(Zd(t,r),T(()=>wr(n=>S(Ae()),so(0,1,r.length))))))))}class fo extends ue{constructor(t,r,n,i,o,s,a){super(),this.init=t,this.update=r,this.subscribe=n,this.view=i,this.setState=o,this.onError=s,this.termination=a}}function gt(e,t,r){return new fo(e,t,n=>Xp(),r,We(n=>{const i=Et(r)(n);return o=>{i(o)}}),n=>{dp(n[0],n[1])},[n=>!1,n=>{}])}function cg(e,t){return new fo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function dg(e){return e.init}function fg(e,t,r,n,i,o,s){const a=Et(e)(s.init),l=I5(t)(Et(s.update)),c=I5(r)(Et(s.view)),d=I5(n)(Et(s.setState));return new fo(a,We(l),Et(i)(s.subscribe),We(c),We(d),s.onError,o(s.termination))}function hg(e,t,r){let n;const i=r.init(t),o=i[0],s=r.subscribe(o),a=r.termination,l=ag(10);let c=!1,d=o,f=og,m=!1;const h=b=>{m||(lg(l,b),c||(c=!0,v(),c=!1))},p=Et(e)(h),v=()=>{let b,_=X6(l);for(;!m&&_!=null;){const C=V(_);if(a[0](C))tg(r.onError,f),a[1](d),m=!0;else{const E=r.update(C,d),N=E[0],I=r.subscribe(N);r.setState(N,p),Y6(D=>{r.onError([p2(lt("Error handling the message: %A"))(C),D])},p,E[1]),d=N,f=(b=J6(f,I),K6(r.onError,p,b[0],b[1],b[2],b[3])),_=X6(l)}}};c=!0,r.setState(o,p),Y6(b=>{r.onError([p2(lt("Error intitializing:")),b])},p,i[1]),f=(n=J6(f,s),K6(r.onError,p,n[0],n[1],n[2],n[3])),v(),c=!1}function mg(e,t){hg(We(r=>r),e,t)}function pg(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var L5={exports:{}},B5={};const gg=pg(ln);/**
|
|
37
|
+
`))(a)}}else if(ka(n))if(Ui(n)){const s=Ke(a=>G1(e,t,r,a),Da(n));return a=>P3(jd((l,c)=>ge(l,s)(c),a))}else{const s=Xe(Ia(n));if(s==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new Uu(()=>qm(G1(e,t,r,ge(0,e1(n)))));return l=>l==null?O8:a.Value(l)}else if(s==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||s==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||s==="System.Collections.Generic.IEnumerable`1[System.Object]"){const a=G1(e,t,r,ge(0,e1(n)));return l=>P3(Oe(a,l))}else if(s==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=ge(0,e1(n)),l=G1(e,t,r,ge(1,e1(n)));if(Xe(a)==="System.String"||Xe(a)==="System.Guid")return c=>y3((d,f)=>{const m=f;return d[m[0]]=l(m[1]),d},{},c);{let c;return c=G1(e,t,r,a),f=>P3(Oe(m=>{const h=m;return[c(h[0]),l(h[1])]},f))}}else return W6(e,t,r,n)}else switch(i){case"System.Boolean":return s=>s;case"Microsoft.FSharp.Core.Unit":return jm;case"System.String":return s=>s;case"System.Char":return s=>s;case"System.SByte":return s=>s;case"System.Byte":return s=>s;case"System.Int16":return s=>s;case"System.UInt16":return s=>s;case"System.Int32":return s=>s;case"System.UInt32":return s=>s;case"System.Double":return s=>s;case"System.Single":return s=>s;case"System.DateTime":return Wm;case"System.DateTimeOffset":return Vm;case"System.TimeSpan":return Um;case"System.Guid":return Hm;case"System.Object":return s=>s;default:return W6(e,t,r,n)}else{const s=o;return a=>s.contents(a)}}function Gm(e){return Zi({Compare:Bt})}function r5(e,t,r,n){const i=Pe(t,new z0(0,[])),o=Pe(n,!0);return G1(Gm(),i,o,e)}class eo extends de{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function D8(){return qe("Import.Dto.Shared.WorkspaceApi.ImportRowDataDto",[],eo,()=>[["RowId",Ce],["Data",F0("Microsoft.FSharp.Collections.FSharpMap`2",[Ye,Ye])]])}let $8=class extends de{constructor(t,r){super(),this.IncludesEmploymentInfo=t,this.Data=r}};function zm(){return qe("Import.Dto.Shared.WorkspaceApi.ValidateImportRequest.ImportDataDto",[],$8,()=>[["IncludesEmploymentInfo",rr],["Data",d1(D8())]])}class Ym extends de{constructor(t,r,n){super(),this.Column=t,this.PropName=r,this.Message=n}}function Zm(){return qe("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.FieldErrorDto",[],Ym,()=>[["Column",Ye],["PropName",Ye],["Message",Ye]])}class Km extends de{constructor(t,r){super(),this.RowId=t|0,this.FieldErrors=r}}function Jm(){return qe("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.RowValidationErrorDto",[],Km,()=>[["RowId",Ce],["FieldErrors",d1(Zm())]])}class Xm extends de{constructor(t,r){super(),this.Errors=t,this.DuplicateEmailCount=r|0}}function Qm(){return qe("Import.Dto.Shared.WorkspaceApi.ValidateImportResponse.ValidationResultDto",[],Xm,()=>[["Errors",d1(Jm())],["DuplicateEmailCount",Ce]])}class F8 extends de{constructor(t,r,n){super(),this.IncludesEmploymentInfo=t,this.InviteNow=r,this.Data=n}}function eh(){return qe("Import.Dto.Shared.WorkspaceApi.StartImportRequest.ImportDataDto",[],F8,()=>[["IncludesEmploymentInfo",rr],["InviteNow",rr],["Data",d1(D8())]])}class th extends de{constructor(t){super(),this.ImportId=t|0}}function rh(){return qe("Import.Dto.Shared.WorkspaceApi.StartImportResponse.ImportCreatedDto",[],th,()=>[["ImportId",Ce]])}class nh extends de{constructor(t,r){super(),this.DuplicateEmailCount=t|0,this.OtherFailuresCount=r|0}}function ih(){return qe("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.FailuresInfoDto",[],nh,()=>[["DuplicateEmailCount",Ce],["OtherFailuresCount",Ce]])}class oh extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["AllRowsImported","SingleDuplicateEmail","ManyFailures"]}}function sh(){return L1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.DoneStatsDto",[],oh,()=>[[["count",Ce]],[["rowId",Ce]],[["Item",ih()]]])}class ah extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function lh(){return L1("Import.Dto.Shared.WorkspaceApi.GetImportStatusResponse.ImportStatusDto",[],ah,()=>[[],[["Item",sh()]]])}let P8=class extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}};function uh(){return L1("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.OperationTypeDto",[],P8,()=>[[]])}class L8 extends de{constructor(t){super(),this.Email=t}}function ch(){return qe("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.PropsBag",[],L8,()=>[["Email",i1(Ye)]])}class B8 extends de{constructor(t,r){super(),this.RowId=t|0,this.Data=r}}function dh(){return qe("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpRowDataDto",[],B8,()=>[["RowId",Ce],["Data",ch()]])}class H8 extends de{constructor(t,r){super(),this.OperationType=t,this.Data=r}}function fh(){return qe("Import.Dto.Shared.WorkspaceApi.StartBatchOpRequest.BatchOpDataDto",[],H8,()=>[["OperationType",uh()],["Data",d1(dh())]])}class mh extends de{constructor(t){super(),this.BatchOpId=t|0}}function hh(){return qe("Import.Dto.Shared.WorkspaceApi.StartBatchOpResponse.BatchOpCreatedDto",[],mh,()=>[["BatchOpId",Ce]])}class ph extends de{constructor(t,r){super(),this.RowId=t|0,this.Reason=r}}function gh(){return qe("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.FailedRowInfoDto",[],ph,()=>[["RowId",Ce],["Reason",Ye]])}class wh extends de{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRowCount=n|0,this.StartTime=i,this.LastUpdatedTime=o}}function yh(){return qe("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.InProgressStatusDto",[],wh,()=>[["NumberOfRecords",Ce],["SucceededRowCount",Ce],["FailedRowCount",Ce],["StartTime",F0("System.DateTime")],["LastUpdatedTime",i1(F0("System.DateTime"))]])}class vh extends de{constructor(t,r,n,i,o){super(),this.NumberOfRecords=t|0,this.SucceededRowCount=r|0,this.FailedRows=n,this.StartTime=i,this.StopTime=o}}function bh(){return qe("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.DoneStatusDto",[],vh,()=>[["NumberOfRecords",Ce],["SucceededRowCount",Ce],["FailedRows",d1(gh())],["StartTime",F0("System.DateTime")],["StopTime",F0("System.DateTime")]])}class _h extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InProgress","Done"]}}function Ch(){return L1("Import.Dto.Shared.WorkspaceApi.GetBatchOpStatusResponse.BatchOpStatusDto",[],_h,()=>[[["Item",yh()]],[["Item",bh()]]])}class xh extends de{constructor(t,r){super(),this.Name=t,this.Email=r}}function V8(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.UserDto",[],xh,()=>[["Name",Ye],["Email",i1(Ye)]])}class Sh extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function U8(){return L1("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.OperationTypeDto",[],Sh,()=>[[]])}class Eh extends de{constructor(t,r){super(),this.SucceededRowCount=t|0,this.FailedRowCount=r|0}}function j8(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.CompletionStatusDto",[],Eh,()=>[["SucceededRowCount",Ce],["FailedRowCount",Ce]])}class Ah extends de{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.LastUpdatedTime=l}}function Th(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.ActiveBatchOpDto",[],Ah,()=>[["BatchOpId",Ce],["User",V8()],["OperationType",U8()],["Filename",Ye],["NumberOfRecords",Ce],["CompletionStatus",j8()],["StartTime",F0("System.DateTime")],["LastUpdatedTime",i1(F0("System.DateTime"))]])}class Nh extends de{constructor(t,r,n,i,o,s,a,l){super(),this.BatchOpId=t|0,this.User=r,this.OperationType=n,this.Filename=i,this.NumberOfRecords=o|0,this.CompletionStatus=s,this.StartTime=a,this.StopTime=l}}function Mh(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.PastBatchOpDto",[],Nh,()=>[["BatchOpId",Ce],["User",V8()],["OperationType",U8()],["Filename",Ye],["NumberOfRecords",Ce],["CompletionStatus",j8()],["StartTime",F0("System.DateTime")],["StopTime",F0("System.DateTime")]])}class W8 extends de{constructor(t,r){super(),this.ActiveBatchOp=t,this.BatchOpHistory=r}}function kh(){return qe("Import.Dto.Shared.WorkspaceApi.GetAccountBatchOpsResponse.AccountBatchOpsDto",[],W8,()=>[["ActiveBatchOp",i1(Th())],["BatchOpHistory",d1(Mh())]])}const Ih=new W8(void 0,$e());class tt extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["ArchiveProfilesByEmail"]}}function Rh(){return L1("Import.Dto.Shared.WorkspaceApi.BatchOperation.TypeDto",[],tt,()=>[[]])}class rt extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FileUploaded","Canceled","Progressed","ValidationCompleted","ErrorReportDownloaded","Requested","Failed"]}}function Oh(){return L1("Import.Dto.Shared.WorkspaceApi.BatchOperation.AnalyticsEventDto",[],rt,()=>[[["Item",k0(["Success",rr])]],[["Item",k0(["From",Ye])]],[["Item",k0(["From",Ye],["To",Ye])]],[["Item",k0(["DuplicateCount",Ce],["RowCount",Ce],["SuccessCount",Ce],["TotalFailedCount",Ce])]],[],[["Item",k0(["BatchOpId",Ce])]],[["Item",k0(["Reason",Ye])]]])}class d0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["SectionOpened","UserImportFileUploaded","UserImportCanceled","UserImportProgressed","UserImportFieldPreviewed","UserImportValidationRequested","UserImportValidationCompleted","UserImportErrorReportDownloaded","UserImportRequested","UserImportFailed","BatchOperation"]}}function Dh(){return L1("Import.Dto.Shared.WorkspaceApi.AnalyticsEventDataDto",[],d0,()=>[[["Item",k0(["Section",Ye])]],[["Item",k0(["Success",rr])]],[["Item",k0(["From",Ye])]],[["Item",k0(["From",Ye],["To",Ye])]],[["Item",k0(["Field",Ye])]],[["Item",k0(["RowCount",Ce])]],[["Item",k0(["DuplicateCount",Ce],["ExistingUserCount",i1(Ce)],["RowCount",Ce],["SuccessCount",Ce],["TotalFailedCount",Ce])]],[],[["Item",k0(["ImportId",Ce],["UsersInvited",rr])]],[["Item",k0(["Reason",Ye])]],[["Item",k0(["Event",Oh()],["Type",Rh()])]]])}class q8 extends de{constructor(t,r){super(),this.SessionId=t,this.Data=r}}function $h(){return qe("Import.Dto.Shared.WorkspaceApi.PostAnalyticsRequestDto",[],q8,()=>[["SessionId",i1(Ye)],["Data",Dh()]])}function Gt(e){return`${e}/import/workspace/v1.0`}function Fh(e,t){return H.Delay(()=>{let r;const n=ft(dt(new B1(0,[]),ct(Gt(e)+"/accounts/current/imports")));return r=H.Bind(n,i=>H.Return(new R(0,[i]))),H.Bind(r,i=>{const o=i;if(o.tag===1)return H.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=Wt(je(qt(Lm(),new z0(1,[]))),s.responseText);return l=c.tag===1?new R(1,[c.fields[0]]):new R(0,[c.fields[0]]),H.Return(l)}case 404:return H.Return(new R(0,[void 0]));default:return H.Return(new R(1,["Failed to get account imports"]))}}})})}function Ph(e,t){return H.Delay(()=>{let r,n;const i=ft((r=dt(new B1(1,[]),ct(Gt(e)+"/accounts/current/import/validate")),Xn(new w3(1,[t5(0,r5(zm(),new z0(1,[]),void 0,void 0)(t))]),r)));return n=H.Bind(i,o=>H.Return(new R(0,[o]))),H.Bind(n,o=>{const s=o;if(s.tag===1)return H.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const l=Wt(je(qt(Qm(),new z0(1,[]))),a.responseText);return H.Return(l)}else return H.Return(new R(1,[`Failed to validate: ${a.responseText}`]))}})})}function Lh(e,t){return H.Delay(()=>{let r,n;const i=ft((r=dt(new B1(1,[]),ct(Gt(e)+"/accounts/current/import/start")),Xn(new w3(1,[t5(0,r5(eh(),new z0(1,[]),void 0,void 0)(t))]),r)));return n=H.Bind(i,o=>H.Return(new R(0,[o]))),H.Bind(n,o=>{const s=o;if(s.tag===1)return H.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=Wt(je(qt(rh(),new z0(1,[]))),a.responseText);return H.Return(l)}else return H.Return(new R(1,[`Failed to start import: ${a.responseText}`]))}})})}function Bh(e,t){return H.Delay(()=>{let r;const n=ft(dt(new B1(0,[]),ct(Gt(e)+`/accounts/current/import/${t}/status`)));return r=H.Bind(n,i=>H.Return(new R(0,[i]))),H.Bind(r,i=>{const o=i;if(o.tag===1)return H.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=Wt(je(qt(lh(),new z0(1,[]))),s.responseText);return H.Return(a)}else return H.Return(new R(1,[`Failed to get import status: ${s.responseText}`]))}})})}function Hh(e,t){return H.Delay(()=>{let r,n;const i=ft((r=dt(new B1(1,[]),ct(Gt(e)+"/accounts/current/batch-op/start")),Xn(new w3(1,[t5(0,r5(fh(),new z0(1,[]),void 0,void 0)(t))]),r)));return n=H.Bind(i,o=>H.Return(new R(0,[o]))),H.Bind(n,o=>{const s=o;if(s.tag===1)return H.Return(new R(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===201){const l=Wt(je(qt(hh(),new z0(1,[]))),a.responseText);return H.Return(l)}else return H.Return(new R(1,[`Failed to start batch operation: ${a.responseText}`]))}})})}function Vh(e,t){return H.Delay(()=>{let r;const n=ft(dt(new B1(0,[]),ct(Gt(e)+`/accounts/current/batch-op/${t}/status`)));return r=H.Bind(n,i=>H.Return(new R(0,[i]))),H.Bind(r,i=>{const o=i;if(o.tag===1)return H.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];if(s.statusCode===200){const a=Wt(je(qt(Ch(),new z0(1,[]))),s.responseText);return H.Return(a)}else return H.Return(new R(1,[`Failed to get batch operation status: ${s.responseText}`]))}})})}function Uh(e,t){return H.Delay(()=>{let r;const n=ft(dt(new B1(0,[]),ct(Gt(e)+"/accounts/current/batch-ops")));return r=H.Bind(n,i=>H.Return(new R(0,[i]))),H.Bind(r,i=>{const o=i;if(o.tag===1)return H.Return(new R(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let l;const c=Wt(je(qt(kh(),new z0(1,[]))),s.responseText);return l=c.tag===1?new R(1,[c.fields[0]]):new R(0,[c.fields[0]]),H.Return(l)}case 404:return H.Return(new R(0,[void 0]));default:return H.Return(new R(1,["Failed to get account batch operations"]))}}})})}function to(e,t,r){return H.Delay(()=>{let n;const i=new q8(t,r);return H.Bind(ft((n=dt(new B1(1,[]),ct(Gt(e)+"/analytics")),Xn(new w3(1,[t5(0,r5($h(),new z0(1,[]),void 0,void 0)(i))]),n))),o=>{const s=o;return s.statusCode===200||console.warn(f0("Failed to send analytics: "),s.responseText),H.Zero()})})}const ro=(e,t)=>{Le(()=>{const r=e();return()=>{r.Dispose()}},t)},jh=e=>{P1(()=>{const t=e();return()=>{t.Dispose()}})};function Wh(e){return{Dispose(){H1(t=>{Ie(t)},Vt(e))}}}function qh(e,t){return t}function Gh(e,t,r,n){const i=w.memo(e,je(Pe(r0(St,r),Ae())));return H1(o=>{e.displayName=o},Vt(t)),o=>{const s=qh(n,o);return w.createElement(i,s)}}function no(e){return{Dispose(){e()}}}function ar(e){const t=w.useRef(!1);w.useEffect(()=>{t.current||(t.current=!0,e())},[])}function G8(e){const t=w.useRef(void 0),r=w.useRef(!1),n=w.useRef(!1);r.current&&(n.current=!0),ro(()=>Wh(r.current?void 0:(r.current=!0,t.current=f0(e()),n.current?t.current:void 0)),[])}function z8(e){const t=w.useRef(e),r=w.useCallback(n=>t.current(n),[]);return jh(n=>(t.current=e,no(()=>{}))),r}class J3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Y8(e,t){let r;const n=vd();return r=w.useRef(n),G8(()=>no(()=>{bd(r.current)})),z8(i=>{_d(r.current)||jt(H.Delay(()=>H.TryWith(H.Delay(()=>(t(new J3(1,[])),H.Bind(e(i),o=>(t(new J3(2,[o])),H.Zero())))),o=>(t(new J3(3,[o])),H.Zero()))),r.current)})}function zh(e,t,r,n){const i=I0(e,r)|0;if(i===0)throw new Error("The step of a range cannot be zero");const o=i>0;return s=>{const a=I0(s,t)|0;return o&&a<=0||!o&&a>=0?[s,n(s,e)]:void 0}}function Yh(e,t,r,n,i){const o=zh(t,r,n,i);return E(()=>Bd(o,e))}function io(e,t,r){return Yh(e,t,r,0,(n,i)=>n+i)}class q6 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Header","Row"]}}function Zh(e,t){let r;const n=e.tag===1?["bg-white","bg-gray-100","h-[72px]"]:["bg-gray-50","bg-gray-300",""];return u("div",y(g([["className",l0(" ",["px-6 py-3.5 border-b border-gray-200 justify-start items-center gap-2 flex",n[0],n[2],t])],(r=[u("div",{className:l0(" ",["w-full h-4 relative rounded",n[1]])})],["children",w.Children.toArray(Array.from(r))])])))}function G6(e){const t=_1(r=>Zh(e,r),g(["col-span-1","col-span-2","col-span-4"]));return u("div",{className:"grid grid-cols-7",children:w.Children.toArray(Array.from(t))})}function Kh(){let e,t;return u("div",y(g([(e="self-stretch animate-pulse grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",e]),(t=D1(ae(G6(new q6(0,[]))),_1(r=>G6(new q6(1,[])),q(io(1,1,5)))),["children",w.Children.toArray(Array.from(t))])])))}function n5(e,t,r){return e===1?`1 ${t}`:`${e} ${r}`}function c2(e){return n5(e,"user","users")}function Jh(e,t,r){return e===1?t:r}class Xh extends de{constructor(t){super(),this.UserActivities=t}}class vn extends de{constructor(t,r,n,i){super(),this.Timestamp=t,this.User=r,this.ActivityDescription1=n,this.ActivityDescription2=i}}class bn extends de{constructor(t,r){super(),this.Name=t,this.Email=r}}function Qh(e,t){const r=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(r)>=0?!0:Pe(r0(n=>n.toLocaleLowerCase().indexOf(r)>=0,e.Email),!1)}function ep(e){return D1(g(Vt(r0(t=>new vn(t.StartTime,new bn(t.User.Name,t.User.Email),`Importing ${c2(t.NumberOfRecords)}`,void 0),e.ActiveImport))),_1(t=>{let r,n;return new vn(t.StartTime,new bn(t.User.Name,t.User.Email),Pe(r0(i=>`Imported ${c2(i.SucceededRowCount)} via CSV`,J4(i=>ee(i.Stage,new ti(0,[])),t.CompletedStages)),`Imported ${c2(t.NumberOfRecords)} via CSV`),(r=Pe(r0(i=>i.FailedRowCount,J4(i=>ee(i.Stage,new ti(0,[])),t.CompletedStages)),0)|0,r===0?void 0:(n=["user was skipped or could not be added due to an error.","users were skipped or could not be added due to errors."],n5(r,n[0],n[1]))))},e.ImportHistory))}function tp(e){return D1(g(Vt(r0(t=>new vn(t.StartTime,new bn(t.User.Name,t.User.Email),`Removing ${c2(t.NumberOfRecords)}`,void 0),e.ActiveBatchOp))),_1(t=>{let r,n;return new vn(t.StartTime,new bn(t.User.Name,t.User.Email),`Removed ${c2(t.CompletionStatus.SucceededRowCount)} via CSV`,(r=t.CompletionStatus.FailedRowCount|0,r===0?void 0:(n=["user could not be removed due to an error.","users could not be removed due to errors."],n5(r,n[0],n[1]))))},e.BatchOpHistory))}function rp(e,t){return new Xh(qa(r=>r.Timestamp,D1(ep(e),tp(t)),{Compare:Sc}))}class np{constructor(t,r,n){this.OnNext=t,this.OnError=r||(i=>{}),this.OnCompleted=n||(()=>{})}}function ip(e,t){t.Subscribe(new np(e))}class op{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const r=this.delegates.indexOf(t);r>-1&&this.delegates.splice(r,1)}get Publish(){return ap(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,r){let n=null;const i=r===void 0?t:(n=t,r);this.delegates.forEach(o=>{o(n,i)})}}let sp=class extends op{};function ap(e,t){return{AddHandler(r){e(r)},RemoveHandler(r){t(r)},Subscribe(r){const n=(i,o)=>r.OnNext(o);return e(n),{Dispose(){t(n)}}}}}class lp{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new sp}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function up(e,t){console.error(f0(e),t)}function cp(e,t){let r,n=new lp(e);n.AutoReset=!1,r=n,ip(t,r.Elapsed()),r.Enabled=!0,r.Start()}function z6(e,t,r){n3(n=>{try{n(t)}catch(i){e(i)}},r)}function we(){return $e()}function i5(e){return nd(e)}function _n(e){return ae(e)}function dp(e,t,r,n){return ae(i=>{e(H.Delay(()=>H.Bind(xd(t(r)),o=>{const s=o;return s.tag===0&&i(n(s.fields[0])),H.Zero()})))})}function fp(e){cp(1,t=>{jt(e)})}class ri extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Asc","Desc"]}}function mp(e){return e.tag===1?new ri(0,[]):new ri(1,[])}function hp(e,t,r){return e.tag===1?qa(t,r,{Compare:I0}):cd(t,r,{Compare:I0})}class Z8 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Requested","Finished"]}}function t1(e,t){return _n(r=>{e(t)})}function K8(e){return _n(t=>{e()})}class Y6 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Error","TableData"]}}class pp extends de{constructor(t,r){super(),this.Data=t,this.IsFiltered=r}}class _3 extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class gp extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class wp extends de{constructor(t,r){super(),this.SortInfo=t,this.SortDirectionToggledHandler=r}}class J8 extends de{constructor(t,r){super(),this.Column=t,this.Direction=r}}class yp extends z{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class Cn extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class vp extends de{constructor(t,r,n,i,o){super(),this.CurrentPage=t|0,this.FirstRowIndex=r|0,this.LastRowIndex=n|0,this.TotalRecordsNumber=i|0,this.PageSize=o|0}}function bp(e){return e.tag===1?X8(e.fields[0].Data):tl()}function _p(e){return e.tag===1?yr(e.fields[0].Data):new Cn(1,[])}function Cp(e){const t=oo(tl(),e);return new _3([nl(o0(e),20),t])}function C3(e){return e.fields[0][1]}function X8(e){return el(C3(e))}function xp(e){return so(C3(e))}function yr(e){return e.fields[0][0]}function Sp(e){const t=yr(e);if(t.tag===0){const r=t.fields[0],n=Ga(r.FirstRowIndex,xp(e));return za(Fp(r),n)}else return $e()}function Q8(e,t){const r=oo(X8(e),t);return new _3([Op(yr(e),o0(so(r))),r])}function Ep(e){return new _3([yr(e),Np(C3(e))])}function Ap(e){return new _3([Rp(yr(e)),C3(e)])}function Tp(e){return new _3([Ip(yr(e)),C3(e)])}function oo(e,t){return new gp([e,hp(e.Direction,r=>r.Timestamp,t)])}function so(e){return e.fields[0][1]}function el(e){return e.fields[0][0]}function Np(e){return oo(Mp(el(e)),so(e))}function tl(){return new J8(new yp,new ri(1,[]))}function Mp(e){return new J8(e.Column,mp(e.Direction))}function rl(e,t){return~~(e/t)+(e%t===0?0:1)}function o5(e,t,r){if(e<=0)return new Cn(1,[]);{const n=d6(r,rl(e,t))|0,i=(n-1)*t|0;return new Cn(0,[new vp(n,i,d6(i+t-1,e-1),e,t)])}}function nl(e,t){return o5(e,t,1)}function kp(e){if(e.tag===0){const t=e.fields[0];return rl(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function il(e){return e.tag===0?e.fields[0].CurrentPage<kp(e):!1}function ol(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function Ip(e){const t=ol(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return o5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage-1)}default:return e}}function Rp(e){const t=il(e);let r;switch(t&&e.tag===0?r=0:r=1,r){case 0:{const n=e.fields[0];return o5(n.TotalRecordsNumber,n.PageSize,n.CurrentPage+1)}default:return e}}function Op(e,t){return t<=0?new Cn(1,[]):e.tag===0?o5(t,20,e.fields[0].CurrentPage):nl(t,20)}function Dp(e){return e.FirstRowIndex+1}function $p(e){return e.LastRowIndex+1}function Fp(e){return e.LastRowIndex-e.FirstRowIndex+1}let Ft=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["LoadingError","ValidState"]}};class vr extends de{constructor(t,r,n){super(),this.ImportHistory=t,this.View=r,this.PaginatedList=n}}class ao extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Default","Filtered"]}}function Pp(e){if(e.tag===1)return sl(e.fields[0])}function Lp(e){return e.tag===0}function Bp(e){return e.tag===1?new Y6(1,[Gp(e.fields[0])]):new Y6(0,[])}function sl(e){const t=e.View;if(t.tag===1)return t.fields[0]}function Hp(e){return sl(e)!=null}function Vp(e,t){return new Ft(1,[new vr(e.ImportHistory,new ao(1,[t]),Q8(e.PaginatedList,T0(r=>Qh(r.User,t),e.ImportHistory.UserActivities)))])}function Up(e){return new Ft(1,[new vr(e.ImportHistory,new ao(0,[]),Q8(e.PaginatedList,e.ImportHistory.UserActivities))])}function jp(e){return new Ft(1,[new vr(e.ImportHistory,e.View,Ep(e.PaginatedList))])}function Wp(e){return new Ft(1,[new vr(e.ImportHistory,e.View,Ap(e.PaginatedList))])}function qp(e){return new Ft(1,[new vr(e.ImportHistory,e.View,Tp(e.PaginatedList))])}function Gp(e){return new pp(e.PaginatedList,Hp(e))}let K2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function zp(e){let t;return[e.tag===1?new Ft(0,[]):(t=e.fields[0],new Ft(1,[new vr(t,new ao(0,[]),Cp(t.UserActivities))])),we()]}function al(e,t){return e.tag===1?t(e.fields[0]):[new Ft(0,[]),we()]}function Yp(e,t){return al(e,r=>[t(r),we()])}function Zp(e,t){const r=n=>Yp(t,n);switch(e.tag){case 1:return r(Up);case 2:return r(jp);case 3:return r(Wp);case 4:return r(qp);default:{const n=e.fields[0];return al(t,i=>Li(n)?[t,ae(o=>{o(new K2(1,[]))})]:[Vp(i,n),we()])}}}function Kp(){return $e()}function lo(e){return l0("/",e)}function Jp(e,t){const r=new Error("Duplicate SubId");return e(["Duplicate SubId: "+lo(t),r])}function ll(e,t,r){try{Ie(r)}catch(n){e(["Error stopping subscription: "+lo(t),n])}}function Xp(e,t,r,n){try{return[r,n(t)]}catch(i){e(["Error starting subscription: "+lo(r),i]);return}}function Qp(e,t){n3(r=>{ll(e,r[0],r[1])},t)}function Z6(e,t,r,n,i,o){return n3(s=>{Jp(e,s)},r),n3(s=>{ll(e,s[0],s[1])},n),D1(i,ud(s=>Xp(e,t,s[0],s[1]),o))}function eg(){return[$e(),nm({Compare:I0}),$e()]}function tg(e,t,r,n,i){return yn(e,n)?[s1(e,r),n,i]:[r,rm(e,n),s1([e,t],i)]}function rg(e){return ed((t,r)=>tg(t[0],t[1],r[0],r[1],r[2]),e,eg())}const ng=$e();function K6(e,t){const r=A8(_1(s=>s[0],e),{Compare:I0}),n=rg(t),i=n[1],o=n[0];if(r.Equals(i))return[o,$e(),e,$e()];{const s=ld(a=>yn(a[0],i),e);return[o,s[1],s[0],T0(a=>!yn(a[0],r),n[2])]}}class J2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Writable","ReadWritable"]}}class ig{constructor(t){this.state=new J2(0,[p3(new Array(c6(t,10)),0,c6(t,10),null),0])}}function og(e){return new ig(e)}function J6(e){const t=e.state;if(t.tag===1){const r=t.fields[1]|0,n=t.fields[2]|0,i=t.fields[0],o=(n+1)%i.length|0;return o===r?e.state=new J2(0,[i,r]):e.state=new J2(1,[i,r,o]),f0(ge(n,i))}else return}function sg(e,t){const r=e.state;if(r.tag===1){const n=r.fields[1]|0,i=r.fields[2]|0,o=r.fields[0];P0(o,n,t);const s=(n+1)%o.length|0;s===i?e.state=new J2(1,[ag(e,i,o),o.length,0]):e.state=new J2(1,[o,s,i])}else{const n=r.fields[1]|0,i=r.fields[0];P0(i,n,t);const o=(n+1)%i.length|0;e.state=new J2(1,[i,o,n])}}function ag(e,t,r){return Array.from(E(()=>$(Gd(t,r),E(()=>$(zd(t,r),E(()=>gr(n=>x(Ae()),io(0,1,r.length))))))))}class uo extends de{constructor(t,r,n,i,o,s,a){super(),this.init=t,this.update=r,this.subscribe=n,this.view=i,this.setState=o,this.onError=s,this.termination=a}}function ht(e,t,r){return new uo(e,t,n=>Kp(),r,je(n=>{const i=St(r)(n);return o=>{i(o)}}),n=>{up(n[0],n[1])},[n=>!1,n=>{}])}function lg(e,t){return new uo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function ug(e){return e.init}function cg(e,t,r,n,i,o,s){const a=St(e)(s.init),l=M5(t)(St(s.update)),c=M5(r)(St(s.view)),d=M5(n)(St(s.setState));return new uo(a,je(l),St(i)(s.subscribe),je(c),je(d),s.onError,o(s.termination))}function dg(e,t,r){let n;const i=r.init(t),o=i[0],s=r.subscribe(o),a=r.termination,l=og(10);let c=!1,d=o,f=ng,m=!1;const h=b=>{m||(sg(l,b),c||(c=!0,v(),c=!1))},p=St(e)(h),v=()=>{let b,_=J6(l);for(;!m&&_!=null;){const C=U(_);if(a[0](C))Qp(r.onError,f),a[1](d),m=!0;else{const A=r.update(C,d),N=A[0],k=r.subscribe(N);r.setState(N,p),z6(D=>{r.onError([f2(st("Error handling the message: %A"))(C),D])},p,A[1]),d=N,f=(b=K6(f,k),Z6(r.onError,p,b[0],b[1],b[2],b[3])),_=J6(l)}}};c=!0,r.setState(o,p),z6(b=>{r.onError([f2(st("Error intitializing:")),b])},p,i[1]),f=(n=K6(f,s),Z6(r.onError,p,n[0],n[1],n[2],n[3])),v(),c=!1}function fg(e,t){dg(je(r=>r),e,t)}function mg(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var F5={exports:{}},P5={};const hg=mg(an);/**
|
|
38
38
|
* @license React
|
|
39
39
|
* use-sync-external-store-shim.production.min.js
|
|
40
40
|
*
|
|
@@ -42,40 +42,40 @@ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation
|
|
|
42
42
|
*
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var Q6;function wg(){if(Q6)return B5;Q6=1;var e=gg;function t(f,m){return f===m&&(f!==0||1/f===1/m)||f!==f&&m!==m}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,m){var h=m(),p=n({inst:{value:h,getSnapshot:m}}),v=p[0].inst,b=p[1];return o(function(){v.value=h,v.getSnapshot=m,l(v)&&b({inst:v})},[f,h,m]),i(function(){return l(v)&&b({inst:v}),f(function(){l(v)&&b({inst:v})})},[f]),s(h),h}function l(f){var m=f.getSnapshot;f=f.value;try{var h=m();return!r(f,h)}catch{return!0}}function c(f,m){return m()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:a;return B5.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,B5}var es;function yg(){return es||(es=1,L5.exports=wg()),L5.exports}var vg=yg();class bg{constructor(t,r,n){this.arg=r,this.dependencies=n;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=dg(i)(this.arg);let l=a[0],c=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],c],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const m=Y4(this.state[0]);return mg(this.arg,cg((h,p)=>{const v=this.state;this.finalDispatch=p,this.state=[h,v[1],!0,o],h!==v[0]&&d()},fg((h,p)=>{const v=this.cmd;return this.cmd=ge(),[this.state[0],v]},(h,p,v)=>h(p)(this.state[0]),K4(h=>h),K4(h=>h),We(h=>h),h=>[p=>h[0](p)?!0:m&&f,p=>{const v=p;Y4(v)?Re(v):h[1](p)}],i))),()=>{f=!0}}}}function ts(e,t,r){return new bg(e,t,r)}function _g(e){return e.state}function Cg(e){return e.subscribe}function xg(e,t,r){return X(e.arg,t)?!X(e.dependencies,r):!0}function wt(e,t,r){const n=Ee(()=>ts(e,t,r)),i=n[0];xg(i,t,r)&&n[1](ts(e,t,r));const o=vg.useSyncExternalStore(Cg(i),()=>_g(i)),s=o[2],a=o[3],l=o[1];return Be(()=>{if(s&&a.length>0){let c=Fe(a);try{for(;c["System.Collections.IEnumerator.MoveNext"]();){const d=c["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{Re(c)}ec(a)}},[s,a]),[o[0],l]}function Sg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M6.77835 19.8844C6.74702 19.9444 6.7414 20.0146 6.76278 20.0789C6.78416 20.1432 6.83071 20.196 6.89177 20.2254L7.82464 20.6734C7.9462 20.7317 8.09214 20.6832 8.15452 20.5636L16.5023 4.56364C16.5337 4.50358 16.5393 4.43338 16.5179 4.3691C16.4965 4.30482 16.45 4.25197 16.3889 4.22264L15.4561 3.77464C15.3345 3.71627 15.1886 3.76481 15.1262 3.88436L6.77835 19.8844Z",["d",n]),["fill","#D1D5DB"],["stroke","#D1D5DB"],["strokeWidth",.5],["strokeLinejoin","round"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Eg(){let e,t,r;return u("div",y(g([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[u("div",y(g([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Users"}),u("div",y(g([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(r=[Sg(24,24)],["children",w.Children.toArray(Array.from(r))])]))),u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Past activities"})],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Ag(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([["clipRule","evenodd"],(n="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",n]),["fill","#9CA3AF"]])))),["children",w.Children.toArray(Array.from(r))])])))}const Tg=["data-fs-exclude",""],Y0=["data-fs-mask",""];function Sn(e,t){let r,n;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",n]),["fill","currentColor"]])))),["children",w.Children.toArray(Array.from(r))])])))}class rs extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UpdateFilter","ClearFilter"]}}function Ng(e){let t,r;const n=Le(e.Value,"");return u("div",y(g([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[u("div",y(g([["className",v0(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(r=q(T(()=>{let i;return F(S(u("div",y(g([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[Ag(20,20)],["children",w.Children.toArray(Array.from(i))])])))),T(()=>{let o;return F(S(u("input",y(g([Y0,(o="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",o]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",s=>{e.ActionHandler(new rs(0,[s.target.value]))}],["value",n],["disabled",e.Disabled]])))),T(()=>{let s;return Ui(n)?S(Ae()):S(u("div",y(g([["onClick",a=>{e.ActionHandler(new rs(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[Sn(10,10)],["children",w.Children.toArray(Array.from(s))])]))))}))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Mg(e){let t,r;const n=e.height,i=e.width;return u("svg",y(g([["fill","none"],["height",n],["width",i],["viewBox","0 0 "+i+" "+n],["xmlns","http://www.w3.org/2000/svg"],(t=se(u("path",y(g([(r="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",r]),["fill","#111827"]])))),["children",w.Children.toArray(Array.from(t))])])))}function kg(e){let t;const r=e.sortDirectionChangeHandler,n=e.sortDirection;return u("div",y(g([["className",v0(" ",q(T(()=>F(S("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),T(()=>n.tag===1?S("rotate-180"):S(""))))))],["onClick",i=>{r(void 0)}],(t=[u(Mg,{width:10,height:7})],["children",w.Children.toArray(Array.from(t))])])))}function Ig(e){const t=e.toggleSortDirection,r=e.props;return u(kg,{sortDirection:r.Direction,sortDirectionChangeHandler:t})}function Rg(e){let t,r,n,i,o,s,a;const l=u(Ig,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return u("div",y(g([["className","self-stretch border-b border-gray-200 inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-full h-11 min-w-[130px] max-w-[150px] px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex self-stretch justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",r]),(n=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),l],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(i="w-full h-11 max-w-[280px] min-w-60 px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",i]),(o=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([(s="self-stretch h-11 w-full px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 content-center overflow-hidden",["className",s]),(a=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(t))])])))}function En(e){"@babel/helpers - typeof";return En=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},En(e)}function y2(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function W0(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function j1(e){W0(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||En(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Og(e,t){W0(2,arguments);var r=j1(e).getTime(),n=y2(t);return new Date(r+n)}var Dg={};function a5(){return Dg}function $g(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Fg(e){return W0(1,arguments),e instanceof Date||En(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Pg(e){if(W0(1,arguments),!Fg(e)&&typeof e!="number")return!1;var t=j1(e);return!isNaN(Number(t))}function Lg(e,t){W0(2,arguments);var r=y2(t);return Og(e,-r)}var Bg=864e5;function Ug(e){W0(1,arguments);var t=j1(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/Bg)+1}function An(e){W0(1,arguments);var t=1,r=j1(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function cl(e){W0(1,arguments);var t=j1(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=An(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=An(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Hg(e){W0(1,arguments);var t=cl(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=An(r);return n}var Vg=6048e5;function jg(e){W0(1,arguments);var t=j1(e),r=An(t).getTime()-Hg(t).getTime();return Math.round(r/Vg)+1}function Tn(e,t){var r,n,i,o,s,a,l,c;W0(1,arguments);var d=a5(),f=y2((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=j1(e),h=m.getUTCDay(),p=(h<f?7:0)+h-f;return m.setUTCDate(m.getUTCDate()-p),m.setUTCHours(0,0,0,0),m}function dl(e,t){var r,n,i,o,s,a,l,c;W0(1,arguments);var d=j1(e),f=d.getUTCFullYear(),m=a5(),h=y2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var v=Tn(p,t),b=new Date(0);b.setUTCFullYear(f,0,h),b.setUTCHours(0,0,0,0);var _=Tn(b,t);return d.getTime()>=v.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function Wg(e,t){var r,n,i,o,s,a,l,c;W0(1,arguments);var d=a5(),f=y2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),m=dl(e,t),h=new Date(0);h.setUTCFullYear(m,0,f),h.setUTCHours(0,0,0,0);var p=Tn(h,t);return p}var qg=6048e5;function Gg(e,t){W0(1,arguments);var r=j1(e),n=Tn(r,t).getTime()-Wg(r,t).getTime();return Math.round(n/qg)+1}function Ve(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var bt={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return Ve(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):Ve(n+1,2)},d:function(t,r){return Ve(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return Ve(t.getUTCHours()%12||12,r.length)},H:function(t,r){return Ve(t.getUTCHours(),r.length)},m:function(t,r){return Ve(t.getUTCMinutes(),r.length)},s:function(t,r){return Ve(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return Ve(o,r.length)}},F2={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},zg={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return bt.y(t,r)},Y:function(t,r,n,i){var o=dl(t,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return Ve(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ve(s,r.length)},R:function(t,r){var n=cl(t);return Ve(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return Ve(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Ve(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Ve(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return bt.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Ve(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=Gg(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):Ve(o,r.length)},I:function(t,r,n){var i=jg(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Ve(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):bt.d(t,r)},D:function(t,r,n){var i=Ug(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Ve(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return Ve(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return Ve(s,r.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return Ve(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),o;switch(i===12?o=F2.noon:i===0?o=F2.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),o;switch(i>=17?o=F2.evening:i>=12?o=F2.afternoon:i>=4?o=F2.morning:o=F2.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return bt.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):bt.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Ve(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Ve(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):bt.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):bt.s(t,r)},S:function(t,r){return bt.S(t,r)},X:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();if(s===0)return"Z";switch(r){case"X":return is(s);case"XXXX":case"XX":return r2(s);case"XXXXX":case"XXX":default:return r2(s,":")}},x:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"x":return is(s);case"xxxx":case"xx":return r2(s);case"xxxxx":case"xxx":default:return r2(s,":")}},O:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+ns(s,":");case"OOOO":default:return"GMT"+r2(s,":")}},z:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+ns(s,":");case"zzzz":default:return"GMT"+r2(s,":")}},t:function(t,r,n,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return Ve(s,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,s=o.getTime();return Ve(s,r.length)}};function ns(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var s=t;return r+String(i)+s+Ve(o,2)}function is(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Ve(Math.abs(e)/60,2)}return r2(e,t)}function r2(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=Ve(Math.floor(i/60),2),s=Ve(i%60,2);return n+o+r+s}var os=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},fl=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Yg=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return os(t,r);var s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",os(i,r)).replace("{{time}}",fl(o,r))},Zg={p:fl,P:Yg},Kg=["D","DD"],Jg=["YY","YYYY"];function Xg(e){return Kg.indexOf(e)!==-1}function Qg(e){return Jg.indexOf(e)!==-1}function ss(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ew={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},tw=function(t,r,n){var i,o=ew[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function U5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var rw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},nw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ow={date:U5({formats:rw,defaultWidth:"full"}),time:U5({formats:nw,defaultWidth:"full"}),dateTime:U5({formats:iw,defaultWidth:"full"})},sw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},aw=function(t,r,n,i){return sw[t]};function $r(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[a]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var lw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},uw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},cw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},dw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},fw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},hw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},mw=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},pw={ordinalNumber:mw,era:$r({values:lw,defaultWidth:"wide"}),quarter:$r({values:uw,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:$r({values:cw,defaultWidth:"wide"}),day:$r({values:dw,defaultWidth:"wide"}),dayPeriod:$r({values:fw,defaultWidth:"wide",formattingValues:hw,defaultFormattingWidth:"wide"})};function Fr(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],a=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?ww(a,function(f){return f.test(s)}):gw(a,function(f){return f.test(s)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(s.length);return{value:c,rest:d}}}function gw(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function ww(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function yw(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=r.valueCallback?r.valueCallback(s):s;var a=t.slice(i.length);return{value:s,rest:a}}}var vw=/^(\d+)(th|st|nd|rd)?/i,bw=/\d+/i,_w={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Cw={any:[/^b/i,/^(a|c)/i]},xw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Sw={any:[/1/i,/2/i,/3/i,/4/i]},Ew={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Aw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Nw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Mw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},kw={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Iw={ordinalNumber:yw({matchPattern:vw,parsePattern:bw,valueCallback:function(t){return parseInt(t,10)}}),era:Fr({matchPatterns:_w,defaultMatchWidth:"wide",parsePatterns:Cw,defaultParseWidth:"any"}),quarter:Fr({matchPatterns:xw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Fr({matchPatterns:Ew,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any"}),day:Fr({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:Nw,defaultParseWidth:"any"}),dayPeriod:Fr({matchPatterns:Mw,defaultMatchWidth:"any",parsePatterns:kw,defaultParseWidth:"any"})},Rw={code:"en-US",formatDistance:tw,formatLong:ow,formatRelative:aw,localize:pw,match:Iw,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ow=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$w=/^'([^]*?)'?$/,Fw=/''/g,Pw=/[a-zA-Z]/;function hl(e,t,r){var n,i,o,s,a,l,c,d,f,m,h,p,v,b;W0(2,arguments);var _=String(t),C=a5(),E=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:Rw,N=y2((o=(s=(a=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&a!==void 0?a:C.firstWeekContainsDate)!==null&&s!==void 0?s:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=y2((f=(m=(h=(p=void 0)!==null&&p!==void 0?p:void 0)!==null&&h!==void 0?h:C.weekStartsOn)!==null&&m!==void 0?m:(v=C.locale)===null||v===void 0||(b=v.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&f!==void 0?f:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var D=j1(e);if(!Pg(D))throw new RangeError("Invalid time value");var P=$g(D),A=Lg(D,P),x={firstWeekContainsDate:N,weekStartsOn:I,locale:E,_originalDate:D},k=_.match(Dw).map(function(M){var L=M[0];if(L==="p"||L==="P"){var O=Zg[L];return O(M,E.formatLong)}return M}).join("").match(Ow).map(function(M){if(M==="''")return"'";var L=M[0];if(L==="'")return Lw(M);var O=zg[L];if(O)return Qg(M)&&ss(M,t,String(e)),Xg(M)&&ss(M,t,String(e)),O(A,M,E.localize,x);if(L.match(Pw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+L+"`");return M}).join("");return k}function Lw(e){var t=e.match($w);return t?t[1].replace(Fw,"'"):e}function Bw(e){return hl(e,"d MMM, yyyy")}function Uw(e){return hl(e,"h:mm a")}function Hw(e){let t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","self-stretch inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-[150px] min-w-[130px] max-w-[150px] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 bg-white px-6 py-4",["className",r]),(n=[u("div",y(g([["className","inline-flex flex-col justify-center items-start"],(i=[u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(o=[u("div",{className:"justify-start text-gray-900 text-sm font-medium leading-tight",children:Bw(e.Timestamp)})],["children",w.Children.toArray(Array.from(o))])]))),u("div",{className:"self-stretch justify-start text-gray-600 text-sm font-normal leading-tight",children:Uw(e.Timestamp)})],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(s="flex max-w-[280px] min-w-60 flex-[1_0_0] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 px-6 py-4",["className",s]),(a=[u("div",y(g([["className","flex-col w-full justify-center items-start"],(l=q(T(()=>{let f;return F(S(u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(f=[u("div",y(g([Y0,["className","justify-start text-gray-900 text-sm font-medium leading-tight"],["children",e.User.Name]])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{const m=e.User.Email;return m==null?S(Ae()):S(u("div",y(g([Y0,["className","self-stretch justify-start text-gray-600 text-sm font-normal leading-tight truncate"],["children",m]]))))}))})),["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([(c="flex min-w-60 flex-[1_0_0] flex-col items-start justify-center gap-1 self-stretch border-b border-gray-200 bg-white px-6 py-3.5",["className",c]),(d=q(T(()=>F(S(u("div",{className:"justify-start text-gray-600 text-sm font-normal leading-tight",children:e.ActivityDescription1})),T(()=>{const f=e.ActivityDescription2;return f==null?S(Ae()):S(u("div",{className:"self-stretch justify-start text-red-600 text-xs font-normal leading-none",children:f}))})))),["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Vw(e){const t=A1(r=>u(Hw,r),e.Data);return u("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:w.Children.toArray(Array.from(t))})}function jw(e){let t,r,n,i,o;const s=e.height,a=e.width;return u("svg",y(g([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=g([u("path",y(g([(r="M60 100C37.9441 100 20 82.0567 20 60C20 37.9433 37.9441 20 60 20C82.0559 20 100 37.9433 100 60C100 82.0567 82.0559 100 60 100Z",["d",r]),["fill","url(#paint0_linear_3770_593)"]]))),u("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",y(g([(n="M60 76C60.5523 76 61 75.5523 61 75C61 74.4477 60.5523 74 60 74C59.4477 74 59 74.4477 59 75C59 75.5523 59.4477 76 60 76Z",["d",n]),["stroke","#111827"],["strokeWidth",2],["strokeLinecap","round"],["strokeLinejoin","round"]]))),(i=se(u("linearGradient",y(g([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=g([u("stop",{offset:0,stopColor:"#FFD84D"}),u("stop",{offset:1,stopColor:"#FF876F"})]),["children",w.Children.toArray(Array.from(o))])])))),u("defs",{children:w.Children.toArray(Array.from(i))}))]),["children",w.Children.toArray(Array.from(t))])])))}function Ww(){let e;return u("div",y(g([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[u(jw,{width:120,height:120})],["children",w.Children.toArray(Array.from(e))])])))}function qw(){let e,t,r,n;return u("div",y(g([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[u(Ww,null),u("div",y(g([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[u("div",y(g([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(r=[u("div",y(g([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(n=[u("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),u("div",{className:"self-stretch text-center text-gray-500 text-sm font-normal leading-tight",children:"Something went wrong while retrieving your activities. Please refresh the page to try again."})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Gw(e){return{Data:Ap(e.Data)}}function zw(e){let t;const r=e.props,n=r.tag===1?u(Vw,Gw(r.fields[0])):u(qw,null);return u("div",y(g([["className","relative h-full grow w-full"],(t=[u("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:w.Children.toArray([n])})],["children",w.Children.toArray(Array.from(t))])])))}class as extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Prev","Next"]}}function Yw(e){let t,r;const n=e.pageChangedHandler,i=e.pagingInfo;return u("div",y(g([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[u("div",{className:"self-stretch h-px bg-gray-200"}),u("div",y(g([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(r=q(T(()=>{let o,s,a;return F((o=i,o.tag===1?S(u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],S((a=g([u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(Fp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(Pp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:h1(s.TotalRecordsNumber)}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(a))}))))),T(()=>{let l,c,d;return S(u("div",y(g([["className","justify-start items-start gap-3 flex"],(l=[u("button",y(g([["type","button"],(c="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",c]),["children","Previous"],["onClick",f=>{n(new as(0,[]))}],["disabled",!sl(i)]]))),u("button",y(g([["type","button"],(d="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",d]),["children","Next"],["onClick",f=>{n(new as(1,[]))}],["disabled",!ol(i)]])))],["children",w.Children.toArray(Array.from(l))])]))))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class oi extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function Zw(e,t){e(t.tag===0?new oi(2,[]):new oi(1,[]))}function Kw(e){let t,r;const n=e.actionHandler,i=e.props;return u("div",y(g([(t="min-w-[600px] self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(r=[u(Rg,new vp(Cp(i),()=>{n(new oi(0,[]))})),u(zw,{props:i}),u(Yw,{pagingInfo:xp(i),pageChangedHandler:o=>{Zw(n,o)}})],["children",w.Children.toArray(Array.from(r))])])))}function Jw(e,t){t.tag===0?e(new J2(0,[t.fields[0]])):e(new J2(1,[]))}function Xw(e,t){switch(t.tag){case 2:{e(new J2(4,[]));break}case 0:{e(new J2(2,[]));break}default:e(new J2(3,[]))}}function ls(e){let t,r;const n=e.importHistory;let i;const o=Zp(n);i=wt(()=>gt(()=>o,Jp,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const c=Bp(s);return l={ActionHandler:d=>{Jw(a,d)},Disabled:Up(s),Value:et(c)},u("div",y(g([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[u(Eg,null),u("div",y(g([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(r=[u(Ng,l),u(Kw,{props:Hp(s),actionHandler:d=>{Xw(a,d)}})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Qw(e,t){return B.Delay(()=>{const r=Lm(e);return B.Bind(r,n=>{const i=n;if(i.tag===1)return B.Return(new R(1,[i.fields[0]]));{const o=Wm(e);return B.Bind(o,s=>{let a;const l=s;return a=l.tag===1?new R(1,[l.fields[0]]):new R(0,[[Le(i.fields[0],Hh),Le(l.fields[0],Om)]]),B.Return(a)})}})})}function ey(e){return t=>{Wt(no(e,void 0,t))}}function ty(e){let t;const r=w.useState(new X3(0,[]));lr((t=[()=>Qw(e.backendUrl),r[1]],Z8(t[0],t[1]))),lr(()=>{ey(e.backendUrl)(new h0(0,[{Section:"user past activities"}]))});const n=q(T(()=>F(S(u("style",{children:[Vn]})),T(()=>{let i;const o=r[0];let s,a;switch(o.tag){case 3:{s=1;break}case 2:{o.fields[0].tag===0?(s=2,a=o.fields[0].fields[0]):s=1;break}default:s=0}switch(s){case 0:return S(u(Xm,null));case 1:return S(u(ls,{importHistory:new R(1,[void 0])}));default:return S(u(ls,{importHistory:new R(0,[(i=a,ip(i[0],i[1]))])}))}}))));return u(Ke,{},...n)}function ry(){Ln(e=>u(ty,e),"apollo-import-workspace-past-history")}function si(e,t){if(t.startsWith(e))return t}function us(e,t){if(t.endsWith(e))return t}function ny(e){return t=>{let r,n;return r=si("/",t),r!=null?(n=r,n):"/"+t}}function iy(e,t){return ny()(v0("/",A1(r=>r.indexOf("?")>=0||r.startsWith("#")||r.startsWith("/")?r:encodeURIComponent(r),e)))}function l5(e,t,r){history.pushState(void 0,"",iy(e));const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)}function oy(e,t){return sd(r=>{if(Ht(r))return Pe();{const n=Hi(r,"#");if(n==="?")return Pe();if(si("?",n)!=null)return se(n);{const i=n.split("?");if(!$t((o,s)=>o===s,i,Ae())&&i.length===1){const o=we(0,i);return se(decodeURIComponent(o))}else if(!$t((o,s)=>o===s,i,Ae())&&i.length===2)if(we(1,i)===""){const o=we(0,i);return se(decodeURIComponent(o))}else{const o=we(0,i),s=we(1,i);return g([decodeURIComponent(o),"?"+s])}else return Pe()}}},g(Ta(si("#",e)!=null?Dc(e,1,e.length-1):t===1&&(us("#",e)!=null||us("#/",e)!=null)?"":e,["/"],void 0,0)))}function sy(e,t,r){return t(oy(e===2?window.location.pathname+window.location.search:window.location.hash,e))}Ym(e=>{const t=Y8(n=>{const i=Le(e.onUrlChanged,o=>{});sy(Le(e.hashMode,1),i)});z8(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),oo(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),lr(()=>{const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)});const r=e.application;return r??Ae()},void 0,void 0,void 0);class ay extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class ly extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class uy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class u5 extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function cy(e){return e.fields[0].length}function c5(e,t){return jt(r=>!Ht(we(t.fields[0],r.fields[0])),e.fields[0])!=null}class ml extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class dy extends ue{constructor(t,r,n,i){super(),this.Name=t,this.HeaderRow=r,this.DataRows=n,this.SizeInBytes=i|0}}class U3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","FileSelected","FailedParsing"]}}class k1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class pl{constructor(t,r){const n=new T0(Ae());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Fe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();H5(n.contents,o[0],o[1])}}finally{Re(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}GetEnumerator(){return Fe(Xn(this.hashMap.values()))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){H5(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){cs(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=Q3(this,t[0]);let i;switch(n!=null&&X(V(n)[1],t[1])?(i=0,V(n)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){r8((i,o)=>{L0(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return ds(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const r=this,n=Q3(r,t[0]);return n!=null?(X(V(n)[1],t[1])&&V5(r,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,r){H5(this,t,r)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return ms(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return fs(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,r){hs(this,t,r)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return y1(T(()=>De(r=>r[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return V5(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,r){const i=Q3(this,t);if(i!=null){const o=V(i);return r.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return y1(T(()=>De(r=>r[1],t)))}get size(){return ds(this)|0}clear(){cs(this)}delete(t){return V5(this,t)}entries(){return De(r=>[r[0],r[1]],this)}get(t){return fs(this,t)}has(t){return ms(this,t)}keys(){return De(r=>r[0],this)}set(t,r){const n=this;return hs(n,t,r),n}values(){return De(r=>r[1],this)}forEach(t,r){const n=this;V1(i=>{t(i[1],i[0],n)},n)}}function E3(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=Ae();return n=[e5(e.hashMap,r,new T0(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,r,-1]}function Q3(e,t){const r=E3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return ut(e.hashMap,r[1])[r[2]];default:return}}function cs(e){e.hashMap.clear()}function ds(e){let t=0,r=Fe(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{Re(r)}return t|0}function fs(e,t){const r=Q3(e,t);if(r!=null)return V(r)[1];throw new Error("The item was not found in collection")}function hs(e,t,r){const n=E3(e,t);n[0]?n[2]>-1?ut(e.hashMap,n[1])[n[2]]=[t,r]:ut(e.hashMap,n[1]).push([t,r]):e.hashMap.set(n[1],[[t,r]])}function H5(e,t,r){const n=E3(e,t);if(n[0]){if(n[2]>-1)throw new Error(Bi("An item with the same key has already been added. Key: {0}",t));ut(e.hashMap,n[1]).push([t,r])}else e.hashMap.set(n[1],[[t,r]])}function ms(e,t){const r=E3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function V5(e,t){const r=E3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return ut(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}function fy(e,t){return T(()=>{const r=new v8([],t);return Ot(n=>g8(n,r),e)})}function hy(e,t,r){return T(()=>{const n=new v8(e,r);return Ot(i=>g8(i,n),t)})}function my(e,t,r){return T(()=>{const n=new pl([],r),i=[],o=Fe(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=e(o["System.Collections.Generic.IEnumerator`1.get_Current"]());let a,l=0;a=[e5(n,s,new T0(()=>l,c=>{l=c|0})),l],a[0]?n.set(s,a[1]+1):(n.set(s,1),i.push(s))}}finally{Re(o)}return De(s=>[s,ut(n,s)],i)})}function py(e,t,r){return T(()=>{const n=new pl([],r),i=[],o=Fe(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,c=Ae();l=[e5(n,a,new T0(()=>c,d=>{c=d})),c],l[0]?l[1].push(s):(Cf(n,a,[s]),i.push(a))}}finally{Re(o)}return De(s=>[s,ut(n,s)],i)})}function gl(e,t){return y1(fy(e,t))}function wl(e,t,r){return y1(hy(e,t,r))}function gy(e,t,r){return y1(De(n=>[n[0],y1(n[1])],py(e,t,r)))}class wy extends ue{constructor(t,r,n,i){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i}}class yy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class Xr extends ue{constructor(t,r,n,i,o){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o}}new Xr(void 0,void 0,void 0,void 0,void 0);function ps(e,t){return new Xr(e.FirstName,e.LastName,e.Email,e.MobilePhone,i0(r=>r.fields[0],t))}class vy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class w0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function yl(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function by(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function _y(e){switch(e){case"FullTime":return new w0(0,[]);case"PartTime":return new w0(1,[]);case"Casual":return new w0(2,[]);case"LabourHire":return new w0(3,[]);default:return}}class Cy extends ue{constructor(t,r){super(),this.Head=t,this.Tail=r}}function xy(e){return Z2(Je(t=>[t[1].fields[0],by(t[0])],Ha([e.Head],e.Tail)),{Compare:Ut})}class Sy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class e2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class I1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}function Ey(e,t){let r;return new Sy(Je(n=>new vy(n),Jc(n=>n,gl((r=Je(n=>we(t.fields[0].fields[0],n.fields[0]),e.fields[0]),r.filter(n=>!Ht(n))),{Equals:(n,i)=>n===i,GetHashCode:l1}),{Compare:Ut})))}class $0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InviteNow","InviteLater"]}}class H3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Draft","Valid"]}}class Q extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function a3(e){switch(e.tag){case 1:return"Last name";case 2:return"Email";case 3:return"Mobile phone";case 4:return"Employment basis";default:return"First name"}}function At(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function vl(e){switch(e){case"firstName":return new Q(0,[]);case"lastName":return new Q(1,[]);case"email":return new Q(2,[]);case"mobileNumber":return new Q(3,[]);case"employmentBasis":return new Q(4,[]);default:return}}function Ay(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let _t=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear","Preview","ClosePreview"]}};class Pr extends ue{constructor(t,r){super(),this.ColumnIndex=t,this.IncomingFields=r}}class Ty extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class J1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}let n2=class extends ue{constructor(t,r,n,i,o,s,a,l,c,d,f){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o,this.Preview=s,this.NumberOfIncomingFields=a|0,this.NumberOfDestinationFieldsMapped=l|0,this.NumberOfIncomingFieldsDiscarded=c|0,this.Status=d,this.IsPrefilled=f}};function Ny(e,t,r){const n=r.tag===1?["lastname","surname","familyname"]:r.tag===2?["email"]:r.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:r.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return qn(i=>{const o=i[0];if(c5(t,o))return o},jt(i=>D1(p3(i[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(o,s)=>o===s,GetHashCode:l1}),e))}function My(e,t){return new Ty(Je(r=>{const n=r[0];return[n,r[1],D1(n,t,{Equals:X,GetHashCode:cn})?new J1(1,[]):new J1(0,[])]},e))}function bl(e,t,r){switch(t.tag){case 1:return[e.FirstName.ColumnIndex,r,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 2:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,r,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 3:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,r,e.EmploymentBasis.ColumnIndex];case 4:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,r];default:return[r,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex]}}function W2(e,t){return G0(r=>r,Je(r=>Va(e.fields[0],r.fields[0]),t.fields[0].slice(void 0,10)))}function ho(e,t,r,n,i,o,s,a){let l,c,d;const f=v=>My(e,v);let m;m=G0(v=>v,[n,i,o,s,a]).length;const p=n!=null?i!=null?o!=null?(l=o,c=n,d=i,new H3(1,[new wy(c,d,l,s),i0(v=>new yy(v),a)])):new H3(0,[new Xr(n,i,o,s,a)]):new H3(0,[new Xr(n,i,o,s,a)]):new H3(0,[new Xr(n,i,o,s,a)]);return new n2(new Pr(n,f(G0(v=>v,[i,o,s,a]))),new Pr(i,f(G0(v=>v,[n,o,s,a]))),new Pr(o,f(G0(v=>v,[n,i,s,a]))),new Pr(s,f(G0(v=>v,[n,i,o,a]))),new Pr(a,f(G0(v=>v,[n,i,o,s]))),t,e.length,m,e.length-m,p,r)}function Lr(e,t,r,n,i){let o,s,a;const l=[n,i];return a=bl(r,l[0],l[1]),ho(e,(o=r.Preview,o!=null&&X(o[0],n)?(s=o[0],[s,W2(i,t)]):r.Preview),r.IsPrefilled,a[0],a[1],a[2],a[3],a[4])}function Br(e,t,r){let n,i;const o=[r,void 0];return i=bl(t,o[0],o[1]),ho(e,(n=t.Preview,n!=null&&X(n[0],r)?(n[0],void 0):t.Preview),t.IsPrefilled,i[0],i[1],i[2],i[3],i[4])}function _l(e,t){switch(t.tag){case 1:return e.LastName.ColumnIndex!=null;case 2:return e.Email.ColumnIndex!=null;case 3:return e.MobilePhone.ColumnIndex!=null;case 4:return e.EmploymentBasis.ColumnIndex!=null;default:return e.FirstName.ColumnIndex!=null}}const ky=e=>t=>_l(e,t);function Iy(e,t){const r=_l(e,t),n=e.Preview;let i;switch(r?n==null?i=2:X(n[0],t)?(i=1,n[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function Ry(e,t,r){let n,i,o,s,a,l,c,d,f,m,h,p;const v=b=>Ny(e,t,b);return[(n=r==null?(i=v(new Q(0,[])),o=v(new Q(1,[])),s=v(new Q(2,[])),a=v(new Q(3,[])),l=v(new Q(4,[])),c=G0(b=>b,[i,o,s,a,l]),d=b=>{let _,C;switch(b!=null?(_=b,c.filter(E=>X(E,_)).length>1?C=0:C=1):C=1,C){case 0:return;default:return b}},f=[d(i),d(o),d(s),d(a),d(l)],[(m=G0(b=>b,[f[0],f[1],f[2],f[3],f[4]]),m.length!==0),f]):(h=r,[!1,[h.FirstName,h.LastName,h.Email,h.MobilePhone,h.EmploymentBasis]]),p=n[1],ho(e,void 0,n[0],p[0],p[1],p[2],p[3],p[4])),ge()]}function Oy(e,t,r,n,i){let o,s,a,l,c,d,f,m,h,p;const v=M=>s1(e,new h0(4,[{Field:Ay(M)}]));let b,_,C,E,N,I,D,P,A,x,k;switch(n.tag){case 1:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?b=6:b=16;break}case 2:{i.Email.ColumnIndex!=null?b=7:b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?b=8:b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?b=9:b=16;break}default:i.FirstName.ColumnIndex!=null?b=5:b=16}break}case 2:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(b=11,P=i.LastName.ColumnIndex):b=16;break}case 2:{i.Email.ColumnIndex!=null?(b=12,A=i.Email.ColumnIndex):b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(b=13,x=i.MobilePhone.ColumnIndex):b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(b=14,k=i.EmploymentBasis.ColumnIndex):b=16;break}default:i.FirstName.ColumnIndex!=null?(b=10,D=i.FirstName.ColumnIndex):b=16}break}case 3:{b=15;break}default:switch(n.fields[0].tag){case 1:{d=n.fields[1],!X(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(M=>X(d,M[0])?X(M[2],new J1(0,[])):!1)?(b=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],C=n.fields[1]):b=16;break}case 2:{f=n.fields[1],!X(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(M=>X(f,M[0])?X(M[2],new J1(0,[])):!1)?(b=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],E=n.fields[1]):b=16;break}case 3:{m=n.fields[1],!X(i.MobilePhone.ColumnIndex,m)&&i.MobilePhone.IncomingFields.fields[0].some(M=>X(m,M[0])?X(M[2],new J1(0,[])):!1)?(b=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],N=n.fields[1]):b=16;break}case 4:{h=n.fields[1],!X(i.EmploymentBasis.ColumnIndex,h)&&i.EmploymentBasis.IncomingFields.fields[0].some(M=>X(h,M[0])?X(M[2],new J1(0,[])):!1)?(b=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],I=n.fields[1]):b=16;break}default:p=n.fields[1],!X(i.FirstName.ColumnIndex,p)&&i.FirstName.IncomingFields.fields[0].some(M=>X(p,M[0])?X(M[2],new J1(0,[])):!1)?(b=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=n.fields[1]):b=16}}switch(b){case 0:return[(o=[new Q(0,[]),_],Lr(t,r,i,o[0],o[1])),ge()];case 1:return[(s=[new Q(1,[]),C],Lr(t,r,i,s[0],s[1])),ge()];case 2:return[(a=[new Q(2,[]),E],Lr(t,r,i,a[0],a[1])),ge()];case 3:return[(l=[new Q(3,[]),N],Lr(t,r,i,l[0],l[1])),ge()];case 4:return[(c=[new Q(4,[]),I],Lr(t,r,i,c[0],c[1])),ge()];case 5:return[Br(t,i,new Q(0,[])),ge()];case 6:return[Br(t,i,new Q(1,[])),ge()];case 7:return[Br(t,i,new Q(2,[])),ge()];case 8:return[Br(t,i,new Q(3,[])),ge()];case 9:return[Br(t,i,new Q(4,[])),ge()];case 10:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new Q(0,[]),W2(D,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new Q(0,[]))];case 11:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new Q(1,[]),W2(P,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new Q(1,[]))];case 12:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new Q(2,[]),W2(A,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new Q(2,[]))];case 13:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new Q(3,[]),W2(x,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new Q(3,[]))];case 14:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new Q(4,[]),W2(k,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new Q(4,[]))];case 15:return[new n2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),ge()];default:return[i,ge()]}}const Cl=typeof document<"u"?ee.useLayoutEffect:()=>{};function Dy(e){const t=de(null);return Cl(()=>{t.current=e},[e]),$e((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const A3=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},c2=e=>e&&"window"in e&&e.window===e?e:A3(e).defaultView||window;function $y(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Fy(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function xl(e){let t=null;return()=>(t==null&&(t=e()),t)}const Py=xl(function(){return Fy(/^Mac/i)}),Ly=xl(function(){return $y(/Android/i)});function By(e){return e.mozInputSource===0&&e.isTrusted?!0:Ly()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Uy{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function Sl(e){let t=de({isFocused:!1,observer:null});Cl(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Dy(n=>{e==null||e(n)});return $e(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,o=s=>{t.current.isFocused=!1,i.disabled&&r(new Uy("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function Hy(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=$e(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=Sl(o),a=$e(l=>{const c=A3(l.target);l.target===l.currentTarget&&c.activeElement===l.target&&(r&&r(l),i&&i(!0),s(l))},[i,r,s]);return{focusProps:{onFocus:!t&&(r||i||n)?a:void 0,onBlur:!t&&(n||i)?o:void 0}}}let T3=null,ai=new Set,Qr=new Map,v2=!1,li=!1;const Vy={Tab:!0,Escape:!0};function mo(e,t){for(let r of ai)r(e,t)}function jy(e){return!(e.metaKey||!Py()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Nn(e){v2=!0,jy(e)&&(T3="keyboard",mo("keyboard",e))}function f1(e){T3="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(v2=!0,mo("pointer",e))}function El(e){By(e)&&(v2=!0,T3="virtual")}function Al(e){e.target===window||e.target===document||(!v2&&!li&&(T3="virtual",mo("virtual",e)),v2=!1,li=!1)}function Tl(){v2=!1,li=!0}function ui(e){if(typeof window>"u"||Qr.get(c2(e)))return;const t=c2(e),r=A3(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){v2=!0,n.apply(this,arguments)},r.addEventListener("keydown",Nn,!0),r.addEventListener("keyup",Nn,!0),r.addEventListener("click",El,!0),t.addEventListener("focus",Al,!0),t.addEventListener("blur",Tl,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",f1,!0),r.addEventListener("pointermove",f1,!0),r.addEventListener("pointerup",f1,!0)):(r.addEventListener("mousedown",f1,!0),r.addEventListener("mousemove",f1,!0),r.addEventListener("mouseup",f1,!0)),t.addEventListener("beforeunload",()=>{Nl(e)},{once:!0}),Qr.set(t,{focus:n})}const Nl=(e,t)=>{const r=c2(e),n=A3(e);t&&n.removeEventListener("DOMContentLoaded",t),Qr.has(r)&&(r.HTMLElement.prototype.focus=Qr.get(r).focus,n.removeEventListener("keydown",Nn,!0),n.removeEventListener("keyup",Nn,!0),n.removeEventListener("click",El,!0),r.removeEventListener("focus",Al,!0),r.removeEventListener("blur",Tl,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",f1,!0),n.removeEventListener("pointermove",f1,!0),n.removeEventListener("pointerup",f1,!0)):(n.removeEventListener("mousedown",f1,!0),n.removeEventListener("mousemove",f1,!0),n.removeEventListener("mouseup",f1,!0)),Qr.delete(r))};function Wy(e){const t=A3(e);let r;return t.readyState!=="loading"?ui(e):(r=()=>{ui(e)},t.addEventListener("DOMContentLoaded",r)),()=>Nl(e,r)}typeof document<"u"&&Wy();function Ml(){return T3!=="pointer"}const qy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Gy(e,t,r){var n;const i=typeof window<"u"?c2(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?c2(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?c2(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?c2(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!qy.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof s&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof a&&!Vy[r.key])}function zy(e,t,r){ui(),Be(()=>{let n=(i,o)=>{Gy(!!(r!=null&&r.isTextInput),i,o)&&e(Ml())};return ai.add(n),()=>{ai.delete(n)}},t)}function Yy(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=de({isFocusWithin:!1}),s=$e(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,o]),a=Sl(s),l=$e(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),o.current.isFocusWithin=!0,a(c))},[n,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Mn=!1,j5=0;function ci(){Mn=!0,setTimeout(()=>{Mn=!1},50)}function gs(e){e.pointerType==="touch"&&ci()}function Zy(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",gs):document.addEventListener("touchend",ci),j5++,()=>{j5--,!(j5>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",gs):document.removeEventListener("touchend",ci))}}function Ky(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,s]=Ee(!1),a=de({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;Be(Zy,[]);let{hoverProps:l,triggerHoverEnd:c}=ve(()=>{let d=(h,p)=>{if(a.pointerType=p,i||p==="touch"||a.isHovered||!h.currentTarget.contains(h.target))return;a.isHovered=!0;let v=h.currentTarget;a.target=v,t&&t({type:"hoverstart",target:v,pointerType:p}),r&&r(!0),s(!0)},f=(h,p)=>{if(a.pointerType="",a.target=null,p==="touch"||!a.isHovered)return;a.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:p}),r&&r(!1),s(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=h=>{Mn&&h.pointerType==="mouse"||d(h,h.pointerType)},m.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(m.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=h=>{!a.ignoreEmulatedMouseEvents&&!Mn&&d(h,"mouse"),a.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:m,triggerHoverEnd:f}},[t,r,n,i,a]);return Be(()=>{i&&c({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function Jy(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=de({isFocused:!1,isFocusVisible:t||Ml()}),[o,s]=Ee(!1),[a,l]=Ee(()=>i.current.isFocused&&i.current.isFocusVisible),c=$e(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=$e(h=>{i.current.isFocused=h,s(h),c()},[c]);zy(h=>{i.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:f}=Hy({isDisabled:n,onFocusChange:d}),{focusWithinProps:m}=Yy({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?m:f}}var Xy=Object.defineProperty,Qy=(e,t,r)=>t in e?Xy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,W5=(e,t,r)=>(Qy(e,typeof t!="symbol"?t+"":t,r),r);let ev=class{constructor(){W5(this,"current",this.detect()),W5(this,"handoffState","pending"),W5(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},m2=new ev;function _r(e){return m2.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function d5(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yt(){let e=[],t={addEventListener(r,n,i,o){return r.addEventListener(n,i,o),t.add(()=>r.removeEventListener(n,i,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return d5(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,i){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:i}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=yt();return r(n),this.add(()=>n.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let i of e.splice(n,1))i()}},dispose(){for(let r of e.splice(0))r()}};return t}function Yt(){let[e]=Ee(yt);return Be(()=>()=>e.dispose(),[e]),e}let r0=(e,t)=>{m2.isServer?Be(e,t):B1(e,t)};function Zt(e){let t=de(e);return r0(()=>{t.current=e},[e]),t}let ye=function(e){let t=Zt(e);return ee.useCallback((...r)=>t.current(...r),[t])};function tv(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function rv(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function nv({disabled:e=!1}={}){let t=de(null),[r,n]=Ee(!1),i=Yt(),o=ye(()=>{t.current=null,n(!1),i.dispose()}),s=ye(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,n(!0);{let l=_r(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",c=>{if(t.current){let d=tv(c);n(rv(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let iv=d0(void 0);function po(){return He(iv)}function di(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Z0(e,t,...r){if(e in t){let i=t[e];return typeof i=="function"?i(...r):i}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Z0),n}var ur=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ur||{}),It=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(It||{});function M0(){let e=sv();return $e(t=>ov({mergeRefs:e,...t}),[e])}function ov({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??av;let l=kl(t,e);if(o)return V3(l,r,n,s,a);let c=i??0;if(c&2){let{static:d=!1,...f}=l;if(d)return V3(f,r,n,s,a)}if(c&1){let{unmount:d=!0,...f}=l;return Z0(d?0:1,{0(){return null},1(){return V3({...f,hidden:!0,style:{display:"none"}},r,n,s,a)}})}return V3(l,r,n,s,a)}function V3(e,t={},r,n,i){let{as:o=r,children:s,refName:a="ref",...l}=q5(e,["unmount","static"]),c=e.ref!==void 0?{[a]:e.ref}:{},d=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let m=!1,h=[];for(let[p,v]of Object.entries(t))typeof v=="boolean"&&(m=!0),v===!0&&h.push(p.replace(/([A-Z])/g,b=>`-${b.toLowerCase()}`));if(m){f["data-headlessui-state"]=h.join(" ");for(let p of h)f[`data-${p}`]=""}}if(o===Ke&&(Object.keys(xt(l)).length>0||Object.keys(xt(f)).length>0))if(!hr(d)||Array.isArray(d)&&d.length>1){if(Object.keys(xt(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(xt(l)).concat(Object.keys(xt(f))).map(m=>` - ${m}`).join(`
|
|
45
|
+
*/var X6;function pg(){if(X6)return P5;X6=1;var e=hg;function t(f,m){return f===m&&(f!==0||1/f===1/m)||f!==f&&m!==m}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(f,m){var h=m(),p=n({inst:{value:h,getSnapshot:m}}),v=p[0].inst,b=p[1];return o(function(){v.value=h,v.getSnapshot=m,l(v)&&b({inst:v})},[f,h,m]),i(function(){return l(v)&&b({inst:v}),f(function(){l(v)&&b({inst:v})})},[f]),s(h),h}function l(f){var m=f.getSnapshot;f=f.value;try{var h=m();return!r(f,h)}catch{return!0}}function c(f,m){return m()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:a;return P5.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,P5}var Q6;function gg(){return Q6||(Q6=1,F5.exports=pg()),F5.exports}var wg=gg();class yg{constructor(t,r,n){this.arg=r,this.dependencies=n;const i=t(),o=[];this.finalDispatch=void 0;let s;const a=ug(i)(this.arg);let l=a[0],c=a[1];s=[[l,d=>{const f=this.finalDispatch;f==null?o.push(d):f(d)},!1,o],c],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let f=!1;const m=G4(this.state[0]);return fg(this.arg,lg((h,p)=>{const v=this.state;this.finalDispatch=p,this.state=[h,v[1],!0,o],h!==v[0]&&d()},cg((h,p)=>{const v=this.cmd;return this.cmd=we(),[this.state[0],v]},(h,p,v)=>h(p)(this.state[0]),Y4(h=>h),Y4(h=>h),je(h=>h),h=>[p=>h[0](p)?!0:m&&f,p=>{const v=p;G4(v)?Ie(v):h[1](p)}],i))),()=>{f=!0}}}}function es(e,t,r){return new yg(e,t,r)}function vg(e){return e.state}function bg(e){return e.subscribe}function _g(e,t,r){return ee(e.arg,t)?!ee(e.dependencies,r):!0}function pt(e,t,r){const n=Ee(()=>es(e,t,r)),i=n[0];_g(i,t,r)&&n[1](es(e,t,r));const o=wg.useSyncExternalStore(bg(i),()=>vg(i)),s=o[2],a=o[3],l=o[1];return Le(()=>{if(s&&a.length>0){let c=Fe(a);try{for(;c["System.Collections.IEnumerator.MoveNext"]();){const d=c["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(d)})}}finally{Ie(c)}Xu(a)}},[s,a]),[o[0],l]}function Cg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",24],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M6.77835 19.8844C6.74702 19.9444 6.7414 20.0146 6.76278 20.0789C6.78416 20.1432 6.83071 20.196 6.89177 20.2254L7.82464 20.6734C7.9462 20.7317 8.09214 20.6832 8.15452 20.5636L16.5023 4.56364C16.5337 4.50358 16.5393 4.43338 16.5179 4.3691C16.4965 4.30482 16.45 4.25197 16.3889 4.22264L15.4561 3.77464C15.3345 3.71627 15.1886 3.76481 15.1262 3.88436L6.77835 19.8844Z",["d",n]),["fill","#D1D5DB"],["stroke","#D1D5DB"],["strokeWidth",.5],["strokeLinejoin","round"]])))),["children",w.Children.toArray(Array.from(r))])])))}function xg(){let e,t,r;return u("div",y(g([["className","self-stretch px-12 pt-8 pb-4 bg-white justify-start items-end gap-6 inline-flex"],(e=[u("div",y(g([["className","grow shrink basis-0 h-[34px] rounded-md justify-start items-center gap-1 flex"],(t=[u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Users"}),u("div",y(g([["className","w-6 h-6 text-gray-900 relative overflow-hidden"],(r=[Cg(24,24)],["children",w.Children.toArray(Array.from(r))])]))),u("div",{className:"text-gray-900 text-2xl font-bold font-sonoma leading-7",children:"Past activities"})],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Sg(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([["clipRule","evenodd"],(n="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",n]),["fill","#9CA3AF"]])))),["children",w.Children.toArray(Array.from(r))])])))}const Eg=["data-fs-exclude",""],q0=["data-fs-mask",""];function xn(e,t){let r,n;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",n]),["fill","currentColor"]])))),["children",w.Children.toArray(Array.from(r))])])))}class ts extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UpdateFilter","ClearFilter"]}}function Ag(e){let t,r;const n=Pe(e.Value,"");return u("div",y(g([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[u("div",y(g([["className",l0(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(r=q(E(()=>{let i;return $(x(u("div",y(g([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[Sg(20,20)],["children",w.Children.toArray(Array.from(i))])])))),E(()=>{let o;return $(x(u("input",y(g([q0,(o="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",o]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",s=>{e.ActionHandler(new ts(0,[s.target.value]))}],["value",n],["disabled",e.Disabled]])))),E(()=>{let s;return Li(n)?x(Ae()):x(u("div",y(g([["onClick",a=>{e.ActionHandler(new ts(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer text-gray-600"],(s=[xn(10,10)],["children",w.Children.toArray(Array.from(s))])]))))}))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Tg(e){let t,r;const n=e.height,i=e.width;return u("svg",y(g([["fill","none"],["height",n],["width",i],["viewBox","0 0 "+i+" "+n],["xmlns","http://www.w3.org/2000/svg"],(t=ae(u("path",y(g([(r="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",r]),["fill","#111827"]])))),["children",w.Children.toArray(Array.from(t))])])))}function Ng(e){let t;const r=e.sortDirectionChangeHandler,n=e.sortDirection;return u("div",y(g([["className",l0(" ",q(E(()=>$(x("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),E(()=>n.tag===1?x("rotate-180"):x(""))))))],["onClick",i=>{r(void 0)}],(t=[u(Tg,{width:10,height:7})],["children",w.Children.toArray(Array.from(t))])])))}function Mg(e){const t=e.toggleSortDirection,r=e.props;return u(Ng,{sortDirection:r.Direction,sortDirectionChangeHandler:t})}function kg(e){let t,r,n,i,o,s,a;const l=u(Mg,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return u("div",y(g([["className","self-stretch border-b border-gray-200 inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-full h-11 min-w-[130px] max-w-[150px] px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex self-stretch justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",r]),(n=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),l],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(i="w-full h-11 max-w-[280px] min-w-60 px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 flex-wrap content-center overflow-hidden",["className",i]),(o=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([(s="self-stretch h-11 w-full px-6 py-3.5 bg-gray-50 border-b border-gray-200 flex justify-start items-center gap-2 content-center overflow-hidden",["className",s]),(a=[u("div",{className:"justify-start text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function p2(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function U0(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function V1(e){U0(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Sn(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ig(e,t){U0(2,arguments);var r=V1(e).getTime(),n=p2(t);return new Date(r+n)}var Rg={};function s5(){return Rg}function Og(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Dg(e){return U0(1,arguments),e instanceof Date||Sn(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $g(e){if(U0(1,arguments),!Dg(e)&&typeof e!="number")return!1;var t=V1(e);return!isNaN(Number(t))}function Fg(e,t){U0(2,arguments);var r=p2(t);return Ig(e,-r)}var Pg=864e5;function Lg(e){U0(1,arguments);var t=V1(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/Pg)+1}function En(e){U0(1,arguments);var t=1,r=V1(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function ul(e){U0(1,arguments);var t=V1(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=En(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var s=En(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}function Bg(e){U0(1,arguments);var t=ul(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=En(r);return n}var Hg=6048e5;function Vg(e){U0(1,arguments);var t=V1(e),r=En(t).getTime()-Bg(t).getTime();return Math.round(r/Hg)+1}function An(e,t){var r,n,i,o,s,a,l,c;U0(1,arguments);var d=s5(),f=p2((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=V1(e),h=m.getUTCDay(),p=(h<f?7:0)+h-f;return m.setUTCDate(m.getUTCDate()-p),m.setUTCHours(0,0,0,0),m}function cl(e,t){var r,n,i,o,s,a,l,c;U0(1,arguments);var d=V1(e),f=d.getUTCFullYear(),m=s5(),h=p2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var v=An(p,t),b=new Date(0);b.setUTCFullYear(f,0,h),b.setUTCHours(0,0,0,0);var _=An(b,t);return d.getTime()>=v.getTime()?f+1:d.getTime()>=_.getTime()?f:f-1}function Ug(e,t){var r,n,i,o,s,a,l,c;U0(1,arguments);var d=s5(),f=p2((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),m=cl(e,t),h=new Date(0);h.setUTCFullYear(m,0,f),h.setUTCHours(0,0,0,0);var p=An(h,t);return p}var jg=6048e5;function Wg(e,t){U0(1,arguments);var r=V1(e),n=An(r,t).getTime()-Ug(r,t).getTime();return Math.round(n/jg)+1}function Ve(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var vt={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return Ve(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):Ve(n+1,2)},d:function(t,r){return Ve(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return Ve(t.getUTCHours()%12||12,r.length)},H:function(t,r){return Ve(t.getUTCHours(),r.length)},m:function(t,r){return Ve(t.getUTCMinutes(),r.length)},s:function(t,r){return Ve(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return Ve(o,r.length)}},D2={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},qg={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return vt.y(t,r)},Y:function(t,r,n,i){var o=cl(t,i),s=o>0?o:1-o;if(r==="YY"){var a=s%100;return Ve(a,2)}return r==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ve(s,r.length)},R:function(t,r){var n=ul(t);return Ve(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return Ve(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Ve(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Ve(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return vt.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Ve(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=Wg(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):Ve(o,r.length)},I:function(t,r,n){var i=Vg(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Ve(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):vt.d(t,r)},D:function(t,r,n){var i=Lg(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Ve(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return Ve(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return Ve(s,r.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return Ve(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),o;switch(i===12?o=D2.noon:i===0?o=D2.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),o;switch(i>=17?o=D2.evening:i>=12?o=D2.afternoon:i>=4?o=D2.morning:o=D2.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return vt.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):vt.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Ve(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Ve(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):vt.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):vt.s(t,r)},S:function(t,r){return vt.S(t,r)},X:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();if(s===0)return"Z";switch(r){case"X":return ns(s);case"XXXX":case"XX":return t2(s);case"XXXXX":case"XXX":default:return t2(s,":")}},x:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"x":return ns(s);case"xxxx":case"xx":return t2(s);case"xxxxx":case"xxx":default:return t2(s,":")}},O:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+rs(s,":");case"OOOO":default:return"GMT"+t2(s,":")}},z:function(t,r,n,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+rs(s,":");case"zzzz":default:return"GMT"+t2(s,":")}},t:function(t,r,n,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return Ve(s,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,s=o.getTime();return Ve(s,r.length)}};function rs(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var s=t;return r+String(i)+s+Ve(o,2)}function ns(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Ve(Math.abs(e)/60,2)}return t2(e,t)}function t2(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=Ve(Math.floor(i/60),2),s=Ve(i%60,2);return n+o+r+s}var is=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},dl=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Gg=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return is(t,r);var s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",is(i,r)).replace("{{time}}",dl(o,r))},zg={p:dl,P:Gg},Yg=["D","DD"],Zg=["YY","YYYY"];function Kg(e){return Yg.indexOf(e)!==-1}function Jg(e){return Zg.indexOf(e)!==-1}function os(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Xg={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Qg=function(t,r,n){var i,o=Xg[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function L5(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var ew={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},tw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},rw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},nw={date:L5({formats:ew,defaultWidth:"full"}),time:L5({formats:tw,defaultWidth:"full"}),dateTime:L5({formats:rw,defaultWidth:"full"})},iw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ow=function(t,r,n,i){return iw[t]};function Or(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=r!=null&&r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[a]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var sw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},lw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},uw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},cw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},dw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},fw=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},mw={ordinalNumber:fw,era:Or({values:sw,defaultWidth:"wide"}),quarter:Or({values:aw,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Or({values:lw,defaultWidth:"wide"}),day:Or({values:uw,defaultWidth:"wide"}),dayPeriod:Or({values:cw,defaultWidth:"wide",formattingValues:dw,defaultFormattingWidth:"wide"})};function Dr(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],a=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?pw(a,function(f){return f.test(s)}):hw(a,function(f){return f.test(s)}),c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(s.length);return{value:c,rest:d}}}function hw(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function pw(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function gw(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=r.valueCallback?r.valueCallback(s):s;var a=t.slice(i.length);return{value:s,rest:a}}}var ww=/^(\d+)(th|st|nd|rd)?/i,yw=/\d+/i,vw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bw={any:[/^b/i,/^(a|c)/i]},_w={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Cw={any:[/1/i,/2/i,/3/i,/4/i]},xw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Sw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ew={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Aw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Tw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Nw={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Mw={ordinalNumber:gw({matchPattern:ww,parsePattern:yw,valueCallback:function(t){return parseInt(t,10)}}),era:Dr({matchPatterns:vw,defaultMatchWidth:"wide",parsePatterns:bw,defaultParseWidth:"any"}),quarter:Dr({matchPatterns:_w,defaultMatchWidth:"wide",parsePatterns:Cw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Dr({matchPatterns:xw,defaultMatchWidth:"wide",parsePatterns:Sw,defaultParseWidth:"any"}),day:Dr({matchPatterns:Ew,defaultMatchWidth:"wide",parsePatterns:Aw,defaultParseWidth:"any"}),dayPeriod:Dr({matchPatterns:Tw,defaultMatchWidth:"any",parsePatterns:Nw,defaultParseWidth:"any"})},kw={code:"en-US",formatDistance:Qg,formatLong:nw,formatRelative:ow,localize:mw,match:Mw,options:{weekStartsOn:0,firstWeekContainsDate:1}},Iw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Rw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ow=/^'([^]*?)'?$/,Dw=/''/g,$w=/[a-zA-Z]/;function fl(e,t,r){var n,i,o,s,a,l,c,d,f,m,h,p,v,b;U0(2,arguments);var _=String(t),C=s5(),A=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:kw,N=p2((o=(s=(a=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&a!==void 0?a:C.firstWeekContainsDate)!==null&&s!==void 0?s:(c=C.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=p2((f=(m=(h=(p=void 0)!==null&&p!==void 0?p:void 0)!==null&&h!==void 0?h:C.weekStartsOn)!==null&&m!==void 0?m:(v=C.locale)===null||v===void 0||(b=v.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&f!==void 0?f:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!A.localize)throw new RangeError("locale must contain localize property");if(!A.formatLong)throw new RangeError("locale must contain formatLong property");var D=V1(e);if(!$g(D))throw new RangeError("Invalid time value");var P=Og(D),T=Fg(D,P),S={firstWeekContainsDate:N,weekStartsOn:k,locale:A,_originalDate:D},I=_.match(Rw).map(function(M){var L=M[0];if(L==="p"||L==="P"){var O=zg[L];return O(M,A.formatLong)}return M}).join("").match(Iw).map(function(M){if(M==="''")return"'";var L=M[0];if(L==="'")return Fw(M);var O=qg[L];if(O)return Jg(M)&&os(M,t,String(e)),Kg(M)&&os(M,t,String(e)),O(T,M,A.localize,S);if(L.match($w))throw new RangeError("Format string contains an unescaped latin alphabet character `"+L+"`");return M}).join("");return I}function Fw(e){var t=e.match(Ow);return t?t[1].replace(Dw,"'"):e}function Pw(e){return fl(e,"d MMM, yyyy")}function Lw(e){return fl(e,"h:mm a")}function Bw(e){let t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","self-stretch inline-flex justify-start items-center"],(t=[u("div",y(g([(r="w-[150px] min-w-[130px] max-w-[150px] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 bg-white px-6 py-4",["className",r]),(n=[u("div",y(g([["className","inline-flex flex-col justify-center items-start"],(i=[u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(o=[u("div",{className:"justify-start text-gray-900 text-sm font-medium leading-tight",children:Pw(e.Timestamp)})],["children",w.Children.toArray(Array.from(o))])]))),u("div",{className:"self-stretch justify-start text-gray-600 text-sm font-normal leading-tight",children:Lw(e.Timestamp)})],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([(s="flex max-w-[280px] min-w-60 flex-[1_0_0] flex-wrap content-center items-center gap-4 self-stretch border-b border-gray-200 px-6 py-4",["className",s]),(a=[u("div",y(g([["className","flex-col w-full justify-center items-start"],(l=q(E(()=>{let f;return $(x(u("div",y(g([["className","self-stretch inline-flex justify-start items-center gap-2"],(f=[u("div",y(g([q0,["className","justify-start text-gray-900 text-sm font-medium leading-tight"],["children",e.User.Name]])))],["children",w.Children.toArray(Array.from(f))])])))),E(()=>{const m=e.User.Email;return m==null?x(Ae()):x(u("div",y(g([q0,["className","self-stretch justify-start text-gray-600 text-sm font-normal leading-tight truncate"],["children",m]]))))}))})),["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([(c="flex min-w-60 flex-[1_0_0] flex-col items-start justify-center gap-1 self-stretch border-b border-gray-200 bg-white px-6 py-3.5",["className",c]),(d=q(E(()=>$(x(u("div",{className:"justify-start text-gray-600 text-sm font-normal leading-tight",children:e.ActivityDescription1})),E(()=>{const f=e.ActivityDescription2;return f==null?x(Ae()):x(u("div",{className:"self-stretch justify-start text-red-600 text-xs font-normal leading-none",children:f}))})))),["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Hw(e){const t=_1(r=>u(Bw,r),e.Data);return u("div",{className:"self-stretch flex flex-col justify-start items-stretch",children:w.Children.toArray(Array.from(t))})}function Vw(e){let t,r,n,i,o;const s=e.height,a=e.width;return u("svg",y(g([["width",a],["height",s],["viewBox","0 0 "+a+" "+s],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(t=g([u("path",y(g([(r="M60 100C37.9441 100 20 82.0567 20 60C20 37.9433 37.9441 20 60 20C82.0559 20 100 37.9433 100 60C100 82.0567 82.0559 100 60 100Z",["d",r]),["fill","url(#paint0_linear_3770_593)"]]))),u("path",{d:"M60 42V67",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",y(g([(n="M60 76C60.5523 76 61 75.5523 61 75C61 74.4477 60.5523 74 60 74C59.4477 74 59 74.4477 59 75C59 75.5523 59.4477 76 60 76Z",["d",n]),["stroke","#111827"],["strokeWidth",2],["strokeLinecap","round"],["strokeLinejoin","round"]]))),(i=ae(u("linearGradient",y(g([["id","paint0_linear_3770_593"],["x1",20],["y1",20],["x2",100],["y2",20],(o=g([u("stop",{offset:0,stopColor:"#FFD84D"}),u("stop",{offset:1,stopColor:"#FF876F"})]),["children",w.Children.toArray(Array.from(o))])])))),u("defs",{children:w.Children.toArray(Array.from(i))}))]),["children",w.Children.toArray(Array.from(t))])])))}function Uw(){let e;return u("div",y(g([["className","w-[120px] h-[120px] flex flex-col justify-center items-center"],(e=[u(Vw,{width:120,height:120})],["children",w.Children.toArray(Array.from(e))])])))}function jw(){let e,t,r,n;return u("div",y(g([["className","self-stretch grow shrink basis-0 flex flex-col justify-center items-center"],(e=[u(Uw,null),u("div",y(g([["className","flex-col justify-start items-center gap-6 inline-flex"],(t=[u("div",y(g([["className","self-stretch h-[72px] flex-col justify-start items-start gap-3 flex"],(r=[u("div",y(g([["className","h-[72px] flex-col justify-start items-center gap-1 flex"],(n=[u("div",{className:"self-stretch text-center text-gray-900 text-xl font-bold leading-7",children:"We couldn’t load your past activities"}),u("div",{className:"self-stretch text-center text-gray-500 text-sm font-normal leading-tight",children:"Something went wrong while retrieving your activities. Please refresh the page to try again."})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Ww(e){return{Data:Sp(e.Data)}}function qw(e){let t;const r=e.props,n=r.tag===1?u(Hw,Ww(r.fields[0])):u(jw,null);return u("div",y(g([["className","relative h-full grow w-full"],(t=[u("div",{className:"overflow-y-auto self-stretch flex flex-col justify-start",style:{scrollbarWidth:"none"},children:w.Children.toArray([n])})],["children",w.Children.toArray(Array.from(t))])])))}class ss extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Prev","Next"]}}function Gw(e){let t,r;const n=e.pageChangedHandler,i=e.pagingInfo;return u("div",y(g([["className","flex-none h-[60px] bg-white flex-col justify-start items-start flex"],(t=[u("div",{className:"self-stretch h-px bg-gray-200"}),u("div",y(g([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(r=q(E(()=>{let o,s,a;return $((o=i,o.tag===1?x(u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=o.fields[0],x((a=g([u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:l1(Dp(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:l1($p(s))}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:l1(s.TotalRecordsNumber)}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(a))}))))),E(()=>{let l,c,d;return x(u("div",y(g([["className","justify-start items-start gap-3 flex"],(l=[u("button",y(g([["type","button"],(c="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",c]),["children","Previous"],["onClick",f=>{n(new ss(0,[]))}],["disabled",!ol(i)]]))),u("button",y(g([["type","button"],(d="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",d]),["children","Next"],["onClick",f=>{n(new ss(1,[]))}],["disabled",!il(i)]])))],["children",w.Children.toArray(Array.from(l))])]))))}))})),["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class ni extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function zw(e,t){e(t.tag===0?new ni(2,[]):new ni(1,[]))}function Yw(e){let t,r;const n=e.actionHandler,i=e.props;return u("div",y(g([(t="min-w-[600px] self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-center items-stretch",["className",t]),(r=[u(kg,new wp(bp(i),()=>{n(new ni(0,[]))})),u(qw,{props:i}),u(Gw,{pagingInfo:_p(i),pageChangedHandler:o=>{zw(n,o)}})],["children",w.Children.toArray(Array.from(r))])])))}function Zw(e,t){t.tag===0?e(new K2(0,[t.fields[0]])):e(new K2(1,[]))}function Kw(e,t){switch(t.tag){case 2:{e(new K2(4,[]));break}case 0:{e(new K2(2,[]));break}default:e(new K2(3,[]))}}function as(e){let t,r;const n=e.importHistory;let i;const o=zp(n);i=pt(()=>ht(()=>o,Zp,(d,f)=>{}),void 0,void 0);const s=i[0],a=i[1];let l;const c=Pp(s);return l={ActionHandler:d=>{Zw(a,d)},Disabled:Lp(s),Value:X1(c)},u("div",y(g([["className","self-stretch grow basis-0 flex flex-col justify-start items-start gap-2"],(t=[u(xg,null),u("div",y(g([["className","self-stretch grow shrink basis-0 px-12 pb-6 flex flex-col justify-start items-start gap-2"],(r=[u(Ag,l),u(Yw,{props:Bp(s),actionHandler:d=>{Kw(a,d)}})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function Jw(e,t){return H.Delay(()=>{const r=Fh(e);return H.Bind(r,n=>{const i=n;if(i.tag===1)return H.Return(new R(1,[i.fields[0]]));{const o=Uh(e);return H.Bind(o,s=>{let a;const l=s;return a=l.tag===1?new R(1,[l.fields[0]]):new R(0,[[Pe(i.fields[0],Bm),Pe(l.fields[0],Ih)]]),H.Return(a)})}})})}function Xw(e){return t=>{jt(to(e,void 0,t))}}function Qw(e){let t;const r=w.useState(new J3(0,[]));ar((t=[()=>Jw(e.backendUrl),r[1]],Y8(t[0],t[1]))),ar(()=>{Xw(e.backendUrl)(new d0(0,[{Section:"user past activities"}]))});const n=q(E(()=>$(x(u("style",{children:[Vn]})),E(()=>{let i;const o=r[0];let s,a;switch(o.tag){case 3:{s=1;break}case 2:{o.fields[0].tag===0?(s=2,a=o.fields[0].fields[0]):s=1;break}default:s=0}switch(s){case 0:return x(u(Kh,null));case 1:return x(u(as,{importHistory:new R(1,[void 0])}));default:return x(u(as,{importHistory:new R(0,[(i=a,rp(i[0],i[1]))])}))}}))));return u(Ze,{},...n)}function ey(){Pn(e=>u(Qw,e),"apollo-import-workspace-past-history")}function ii(e,t){if(t.startsWith(e))return t}function ls(e,t){if(t.endsWith(e))return t}function ty(e){return t=>{let r,n;return r=ii("/",t),r!=null?(n=r,n):"/"+t}}function ry(e,t){return ty()(l0("/",_1(r=>r.indexOf("?")>=0||r.startsWith("#")||r.startsWith("/")?r:encodeURIComponent(r),e)))}function a5(e,t,r){history.pushState(void 0,"",ry(e));const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)}function ny(e,t){return id(r=>{if(Ht(r))return $e();{const n=Bi(r,"#");if(n==="?")return $e();if(ii("?",n)!=null)return ae(n);{const i=n.split("?");if(!Dt((o,s)=>o===s,i,Ae())&&i.length===1){const o=ge(0,i);return ae(decodeURIComponent(o))}else if(!Dt((o,s)=>o===s,i,Ae())&&i.length===2)if(ge(1,i)===""){const o=ge(0,i);return ae(decodeURIComponent(o))}else{const o=ge(0,i),s=ge(1,i);return g([decodeURIComponent(o),"?"+s])}else return $e()}}},g(Aa(ii("#",e)!=null?Rc(e,1,e.length-1):t===1&&(ls("#",e)!=null||ls("#/",e)!=null)?"":e,["/"],void 0,0)))}function iy(e,t,r){return t(ny(e===2?window.location.pathname+window.location.search:window.location.hash,e))}Gh(e=>{const t=z8(n=>{const i=Pe(e.onUrlChanged,o=>{});iy(Pe(e.hashMode,1),i)});G8(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),no(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),ar(()=>{const n=document.createEvent("CustomEvent");n.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(n)});const r=e.application;return r??Ae()},void 0,void 0,void 0);class oy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnIndex"]}}class sy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvColumnName"]}}class ay extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRow"]}}class l5 extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CsvDataRows"]}}function ly(e){return e.fields[0].length}function u5(e,t){return Ut(r=>!Ht(ge(t.fields[0],r.fields[0])),e.fields[0])!=null}class ml extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FileName"]}}class uy extends de{constructor(t,r,n,i){super(),this.Name=t,this.HeaderRow=r,this.DataRows=n,this.SizeInBytes=i|0}}class L3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","FileSelected","FailedParsing"]}}class N1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UnsupportedFileType","TooLarge","NoData","MoreThan5000Rows","EmptyFieldNames","DuplicateFieldNames","InconsistentRowLengths","GenericParseError"]}}class hl{constructor(t,r){const n=new E0(Ae());this.comparer=r,n.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const i=Fe(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();B5(n.contents,o[0],o[1])}}finally{Ie(i)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return Fe(this)}GetEnumerator(){return Fe(Jn(this.hashMap.values()))}[Symbol.iterator](){return mr(Fe(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){B5(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){us(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=X3(this,t[0]);let i;switch(n!=null&&ee(U(n)[1],t[1])?(i=0,U(n)):i=1,i){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,r){t8((i,o)=>{P0(t,r+i,o)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return cs(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const r=this,n=X3(r,t[0]);return n!=null?(ee(U(n)[1],t[1])&&H5(r,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,r){B5(this,t,r)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return ms(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return ds(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,r){fs(this,t,r)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return m1(E(()=>Oe(r=>r[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return H5(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,r){const i=X3(this,t);if(i!=null){const o=U(i);return r.contents=o[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return m1(E(()=>Oe(r=>r[1],t)))}get size(){return cs(this)|0}clear(){us(this)}delete(t){return H5(this,t)}entries(){return Oe(r=>[r[0],r[1]],this)}get(t){return ds(this,t)}has(t){return ms(this,t)}keys(){return Oe(r=>r[0],this)}set(t,r){const n=this;return fs(n,t,r),n}values(){return Oe(r=>r[1],this)}forEach(t,r){const n=this;H1(i=>{t(i[1],i[0],n)},n)}}function x3(e,t){const r=e.comparer.GetHashCode(t)|0;let n,i=Ae();return n=[Qn(e.hashMap,r,new E0(()=>i,o=>{i=o})),i],n[0]?[!0,r,n[1].findIndex(o=>e.comparer.Equals(t,o[0]))]:[!1,r,-1]}function X3(e,t){const r=x3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1])[r[2]];default:return}}function us(e){e.hashMap.clear()}function cs(e){let t=0,r=Fe(e.hashMap.values());try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const n=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+n.length|0}}finally{Ie(r)}return t|0}function ds(e,t){const r=X3(e,t);if(r!=null)return U(r)[1];throw new Error("The item was not found in collection")}function fs(e,t,r){const n=x3(e,t);n[0]?n[2]>-1?at(e.hashMap,n[1])[n[2]]=[t,r]:at(e.hashMap,n[1]).push([t,r]):e.hashMap.set(n[1],[[t,r]])}function B5(e,t,r){const n=x3(e,t);if(n[0]){if(n[2]>-1)throw new Error(Pi("An item with the same key has already been added. Key: {0}",t));at(e.hashMap,n[1]).push([t,r])}else e.hashMap.set(n[1],[[t,r]])}function ms(e,t){const r=x3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return!0;default:return!1}}function H5(e,t){const r=x3(e,t);let n;switch(r[0]&&r[2]>-1?n=0:n=1,n){case 0:return at(e.hashMap,r[1]).splice(r[2],1),!0;default:return!1}}function cy(e,t){return E(()=>{const r=new y8([],t);return Rt(n=>p8(n,r),e)})}function dy(e,t,r){return E(()=>{const n=new y8(e,r);return Rt(i=>p8(i,n),t)})}function fy(e,t,r){return E(()=>{const n=new hl([],r),i=[],o=Fe(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=e(o["System.Collections.Generic.IEnumerator`1.get_Current"]());let a,l=0;a=[Qn(n,s,new E0(()=>l,c=>{l=c|0})),l],a[0]?n.set(s,a[1]+1):(n.set(s,1),i.push(s))}}finally{Ie(o)}return Oe(s=>[s,at(n,s)],i)})}function my(e,t,r){return E(()=>{const n=new hl([],r),i=[],o=Fe(t);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const s=o["System.Collections.Generic.IEnumerator`1.get_Current"](),a=e(s);let l,c=Ae();l=[Qn(n,a,new E0(()=>c,d=>{c=d})),c],l[0]?l[1].push(s):(bf(n,a,[s]),i.push(a))}}finally{Ie(o)}return Oe(s=>[s,at(n,s)],i)})}function pl(e,t){return m1(cy(e,t))}function gl(e,t,r){return m1(dy(e,t,r))}function hy(e,t,r){return m1(Oe(n=>[n[0],m1(n[1])],my(e,t,r)))}class py extends de{constructor(t,r,n,i){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i}}class gy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisCsvColumnIndex"]}}class Kr extends de{constructor(t,r,n,i,o){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o}}new Kr(void 0,void 0,void 0,void 0,void 0);function hs(e,t){return new Kr(e.FirstName,e.LastName,e.Email,e.MobilePhone,r0(r=>r.fields[0],t))}class wy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisRawValue"]}}class w0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FullTime","PartTime","Casual","LabourHire"]}}function wl(e){switch(e.tag){case 1:return"Part-time";case 2:return"Casual";case 3:return"Labour hire";default:return"Full-time"}}function yy(e){switch(e.tag){case 1:return"PartTime";case 2:return"Casual";case 3:return"LabourHire";default:return"FullTime"}}function vy(e){switch(e){case"FullTime":return new w0(0,[]);case"PartTime":return new w0(1,[]);case"Casual":return new w0(2,[]);case"LabourHire":return new w0(3,[]);default:return}}class by extends de{constructor(t,r){super(),this.Head=t,this.Tail=r}}function _y(e){return Y2(Ke(t=>[t[1].fields[0],yy(t[0])],Ha([e.Head],e.Tail)),{Compare:Bt})}class Cy extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["EmploymentBasisColumn"]}}class Qt extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["WithoutEmploymentBasis","WithEmploymentBasis"]}}class M1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["DraftColumnMappings","ValidatedColumnMappings"]}}function xy(e,t){let r;return new Cy(Ke(n=>new wy(n),Zc(n=>n,pl((r=Ke(n=>ge(t.fields[0].fields[0],n.fields[0]),e.fields[0]),r.filter(n=>!Ht(n))),{Equals:(n,i)=>n===i,GetHashCode:n1}),{Compare:Bt})))}class D0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["InviteNow","InviteLater"]}}class B3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Draft","Valid"]}}class oe extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["FirstName","LastName","Email","MobilePhone","EmploymentBasis"]}}function o3(e){switch(e.tag){case 1:return"Last name";case 2:return"Email";case 3:return"Mobile phone";case 4:return"Employment basis";default:return"First name"}}function Et(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobileNumber";case 4:return"employmentBasis";default:return"firstName"}}function yl(e){switch(e){case"firstName":return new oe(0,[]);case"lastName":return new oe(1,[]);case"email":return new oe(2,[]);case"mobileNumber":return new oe(3,[]);case"employmentBasis":return new oe(4,[]);default:return}}function Sy(e){switch(e.tag){case 1:return"lastName";case 2:return"email";case 3:return"mobilePhone";case 4:return"employmentBasis";default:return"firstName"}}let bt=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear","Preview","ClosePreview"]}};class $r extends de{constructor(t,r){super(),this.ColumnIndex=t,this.IncomingFields=r}}class Ey extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["IncomingFields"]}}class Z1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}let r2=class extends de{constructor(t,r,n,i,o,s,a,l,c,d,f){super(),this.FirstName=t,this.LastName=r,this.Email=n,this.MobilePhone=i,this.EmploymentBasis=o,this.Preview=s,this.NumberOfIncomingFields=a|0,this.NumberOfDestinationFieldsMapped=l|0,this.NumberOfIncomingFieldsDiscarded=c|0,this.Status=d,this.IsPrefilled=f}};function Ay(e,t,r){const n=r.tag===1?["lastname","surname","familyname"]:r.tag===2?["email"]:r.tag===3?["mobilephone","mobilephonenumber","mobilenumber","mobile","phonenumber","phone"]:r.tag===4?["employmentbasis","employmenttype"]:["firstname","givenname","christianname","forename","baptismname","baptismalname"];return Wn(i=>{const o=i[0];if(u5(t,o))return o},Ut(i=>R1(m3(i[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),n,{Equals:(o,s)=>o===s,GetHashCode:n1}),e))}function Ty(e,t){return new Ey(Ke(r=>{const n=r[0];return[n,r[1],R1(n,t,{Equals:ee,GetHashCode:un})?new Z1(1,[]):new Z1(0,[])]},e))}function vl(e,t,r){switch(t.tag){case 1:return[e.FirstName.ColumnIndex,r,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 2:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,r,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex];case 3:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,r,e.EmploymentBasis.ColumnIndex];case 4:return[e.FirstName.ColumnIndex,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,r];default:return[r,e.LastName.ColumnIndex,e.Email.ColumnIndex,e.MobilePhone.ColumnIndex,e.EmploymentBasis.ColumnIndex]}}function V2(e,t){return j0(r=>r,Ke(r=>Va(e.fields[0],r.fields[0]),t.fields[0].slice(void 0,10)))}function co(e,t,r,n,i,o,s,a){let l,c,d;const f=v=>Ty(e,v);let m;m=j0(v=>v,[n,i,o,s,a]).length;const p=n!=null?i!=null?o!=null?(l=o,c=n,d=i,new B3(1,[new py(c,d,l,s),r0(v=>new gy(v),a)])):new B3(0,[new Kr(n,i,o,s,a)]):new B3(0,[new Kr(n,i,o,s,a)]):new B3(0,[new Kr(n,i,o,s,a)]);return new r2(new $r(n,f(j0(v=>v,[i,o,s,a]))),new $r(i,f(j0(v=>v,[n,o,s,a]))),new $r(o,f(j0(v=>v,[n,i,s,a]))),new $r(s,f(j0(v=>v,[n,i,o,a]))),new $r(a,f(j0(v=>v,[n,i,o,s]))),t,e.length,m,e.length-m,p,r)}function Fr(e,t,r,n,i){let o,s,a;const l=[n,i];return a=vl(r,l[0],l[1]),co(e,(o=r.Preview,o!=null&&ee(o[0],n)?(s=o[0],[s,V2(i,t)]):r.Preview),r.IsPrefilled,a[0],a[1],a[2],a[3],a[4])}function Pr(e,t,r){let n,i;const o=[r,void 0];return i=vl(t,o[0],o[1]),co(e,(n=t.Preview,n!=null&&ee(n[0],r)?(n[0],void 0):t.Preview),t.IsPrefilled,i[0],i[1],i[2],i[3],i[4])}function bl(e,t){switch(t.tag){case 1:return e.LastName.ColumnIndex!=null;case 2:return e.Email.ColumnIndex!=null;case 3:return e.MobilePhone.ColumnIndex!=null;case 4:return e.EmploymentBasis.ColumnIndex!=null;default:return e.FirstName.ColumnIndex!=null}}const Ny=e=>t=>bl(e,t);function My(e,t){const r=bl(e,t),n=e.Preview;let i;switch(r?n==null?i=2:ee(n[0],t)?(i=1,n[0]):i=2:i=0,i){case 0:return!1;case 1:return!1;default:return!0}}function ky(e,t,r){let n,i,o,s,a,l,c,d,f,m,h,p;const v=b=>Ay(e,t,b);return[(n=r==null?(i=v(new oe(0,[])),o=v(new oe(1,[])),s=v(new oe(2,[])),a=v(new oe(3,[])),l=v(new oe(4,[])),c=j0(b=>b,[i,o,s,a,l]),d=b=>{let _,C;switch(b!=null?(_=b,c.filter(A=>ee(A,_)).length>1?C=0:C=1):C=1,C){case 0:return;default:return b}},f=[d(i),d(o),d(s),d(a),d(l)],[(m=j0(b=>b,[f[0],f[1],f[2],f[3],f[4]]),m.length!==0),f]):(h=r,[!1,[h.FirstName,h.LastName,h.Email,h.MobilePhone,h.EmploymentBasis]]),p=n[1],co(e,void 0,n[0],p[0],p[1],p[2],p[3],p[4])),we()]}function Iy(e,t,r,n,i){let o,s,a,l,c,d,f,m,h,p;const v=M=>t1(e,new d0(4,[{Field:Sy(M)}]));let b,_,C,A,N,k,D,P,T,S,I;switch(n.tag){case 1:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?b=6:b=16;break}case 2:{i.Email.ColumnIndex!=null?b=7:b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?b=8:b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?b=9:b=16;break}default:i.FirstName.ColumnIndex!=null?b=5:b=16}break}case 2:{switch(n.fields[0].tag){case 1:{i.LastName.ColumnIndex!=null?(b=11,P=i.LastName.ColumnIndex):b=16;break}case 2:{i.Email.ColumnIndex!=null?(b=12,T=i.Email.ColumnIndex):b=16;break}case 3:{i.MobilePhone.ColumnIndex!=null?(b=13,S=i.MobilePhone.ColumnIndex):b=16;break}case 4:{i.EmploymentBasis.ColumnIndex!=null?(b=14,I=i.EmploymentBasis.ColumnIndex):b=16;break}default:i.FirstName.ColumnIndex!=null?(b=10,D=i.FirstName.ColumnIndex):b=16}break}case 3:{b=15;break}default:switch(n.fields[0].tag){case 1:{d=n.fields[1],!ee(i.LastName.ColumnIndex,d)&&i.LastName.IncomingFields.fields[0].some(M=>ee(d,M[0])?ee(M[2],new Z1(0,[])):!1)?(b=1,i.LastName.ColumnIndex,i.LastName.IncomingFields.fields[0],C=n.fields[1]):b=16;break}case 2:{f=n.fields[1],!ee(i.Email.ColumnIndex,f)&&i.Email.IncomingFields.fields[0].some(M=>ee(f,M[0])?ee(M[2],new Z1(0,[])):!1)?(b=2,i.Email.ColumnIndex,i.Email.IncomingFields.fields[0],A=n.fields[1]):b=16;break}case 3:{m=n.fields[1],!ee(i.MobilePhone.ColumnIndex,m)&&i.MobilePhone.IncomingFields.fields[0].some(M=>ee(m,M[0])?ee(M[2],new Z1(0,[])):!1)?(b=3,i.MobilePhone.ColumnIndex,i.MobilePhone.IncomingFields.fields[0],N=n.fields[1]):b=16;break}case 4:{h=n.fields[1],!ee(i.EmploymentBasis.ColumnIndex,h)&&i.EmploymentBasis.IncomingFields.fields[0].some(M=>ee(h,M[0])?ee(M[2],new Z1(0,[])):!1)?(b=4,i.EmploymentBasis.ColumnIndex,i.EmploymentBasis.IncomingFields.fields[0],k=n.fields[1]):b=16;break}default:p=n.fields[1],!ee(i.FirstName.ColumnIndex,p)&&i.FirstName.IncomingFields.fields[0].some(M=>ee(p,M[0])?ee(M[2],new Z1(0,[])):!1)?(b=0,i.FirstName.ColumnIndex,i.FirstName.IncomingFields.fields[0],_=n.fields[1]):b=16}}switch(b){case 0:return[(o=[new oe(0,[]),_],Fr(t,r,i,o[0],o[1])),we()];case 1:return[(s=[new oe(1,[]),C],Fr(t,r,i,s[0],s[1])),we()];case 2:return[(a=[new oe(2,[]),A],Fr(t,r,i,a[0],a[1])),we()];case 3:return[(l=[new oe(3,[]),N],Fr(t,r,i,l[0],l[1])),we()];case 4:return[(c=[new oe(4,[]),k],Fr(t,r,i,c[0],c[1])),we()];case 5:return[Pr(t,i,new oe(0,[])),we()];case 6:return[Pr(t,i,new oe(1,[])),we()];case 7:return[Pr(t,i,new oe(2,[])),we()];case 8:return[Pr(t,i,new oe(3,[])),we()];case 9:return[Pr(t,i,new oe(4,[])),we()];case 10:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new oe(0,[]),V2(D,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new oe(0,[]))];case 11:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new oe(1,[]),V2(P,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new oe(1,[]))];case 12:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new oe(2,[]),V2(T,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new oe(2,[]))];case 13:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new oe(3,[]),V2(S,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new oe(3,[]))];case 14:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,[new oe(4,[]),V2(I,r)],i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),v(new oe(4,[]))];case 15:return[new r2(i.FirstName,i.LastName,i.Email,i.MobilePhone,i.EmploymentBasis,void 0,i.NumberOfIncomingFields,i.NumberOfDestinationFieldsMapped,i.NumberOfIncomingFieldsDiscarded,i.Status,i.IsPrefilled),we()];default:return[i,we()]}}const _l=typeof document<"u"?se.useLayoutEffect:()=>{};function Ry(e){const t=me(null);return _l(()=>{t.current=e},[e]),De((...r)=>{const n=t.current;return n==null?void 0:n(...r)},[])}const S3=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},a2=e=>e&&"window"in e&&e.window===e?e:S3(e).defaultView||window;function Oy(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Dy(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Cl(e){let t=null;return()=>(t==null&&(t=e()),t)}const $y=Cl(function(){return Dy(/^Mac/i)}),Fy=Cl(function(){return Oy(/Android/i)});function Py(e){return e.mozInputSource===0&&e.isTrusted?!0:Fy()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Ly{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,r){this.nativeEvent=r,this.target=r.target,this.currentTarget=r.currentTarget,this.relatedTarget=r.relatedTarget,this.bubbles=r.bubbles,this.cancelable=r.cancelable,this.defaultPrevented=r.defaultPrevented,this.eventPhase=r.eventPhase,this.isTrusted=r.isTrusted,this.timeStamp=r.timeStamp,this.type=t}}function xl(e){let t=me({isFocused:!1,observer:null});_l(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=Ry(n=>{e==null||e(n)});return De(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=n.target,o=s=>{t.current.isFocused=!1,i.disabled&&r(new Ly("blur",s)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var s;(s=t.current.observer)===null||s===void 0||s.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function By(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e;const o=De(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=xl(o),a=De(l=>{const c=S3(l.target);l.target===l.currentTarget&&c.activeElement===l.target&&(r&&r(l),i&&i(!0),s(l))},[i,r,s]);return{focusProps:{onFocus:!t&&(r||i||n)?a:void 0,onBlur:!t&&(n||i)?o:void 0}}}let E3=null,oi=new Set,Jr=new Map,g2=!1,si=!1;const Hy={Tab:!0,Escape:!0};function fo(e,t){for(let r of oi)r(e,t)}function Vy(e){return!(e.metaKey||!$y()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Tn(e){g2=!0,Vy(e)&&(E3="keyboard",fo("keyboard",e))}function a1(e){E3="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(g2=!0,fo("pointer",e))}function Sl(e){Py(e)&&(g2=!0,E3="virtual")}function El(e){e.target===window||e.target===document||(!g2&&!si&&(E3="virtual",fo("virtual",e)),g2=!1,si=!1)}function Al(){g2=!1,si=!0}function ai(e){if(typeof window>"u"||Jr.get(a2(e)))return;const t=a2(e),r=S3(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){g2=!0,n.apply(this,arguments)},r.addEventListener("keydown",Tn,!0),r.addEventListener("keyup",Tn,!0),r.addEventListener("click",Sl,!0),t.addEventListener("focus",El,!0),t.addEventListener("blur",Al,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",a1,!0),r.addEventListener("pointermove",a1,!0),r.addEventListener("pointerup",a1,!0)):(r.addEventListener("mousedown",a1,!0),r.addEventListener("mousemove",a1,!0),r.addEventListener("mouseup",a1,!0)),t.addEventListener("beforeunload",()=>{Tl(e)},{once:!0}),Jr.set(t,{focus:n})}const Tl=(e,t)=>{const r=a2(e),n=S3(e);t&&n.removeEventListener("DOMContentLoaded",t),Jr.has(r)&&(r.HTMLElement.prototype.focus=Jr.get(r).focus,n.removeEventListener("keydown",Tn,!0),n.removeEventListener("keyup",Tn,!0),n.removeEventListener("click",Sl,!0),r.removeEventListener("focus",El,!0),r.removeEventListener("blur",Al,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",a1,!0),n.removeEventListener("pointermove",a1,!0),n.removeEventListener("pointerup",a1,!0)):(n.removeEventListener("mousedown",a1,!0),n.removeEventListener("mousemove",a1,!0),n.removeEventListener("mouseup",a1,!0)),Jr.delete(r))};function Uy(e){const t=S3(e);let r;return t.readyState!=="loading"?ai(e):(r=()=>{ai(e)},t.addEventListener("DOMContentLoaded",r)),()=>Tl(e,r)}typeof document<"u"&&Uy();function Nl(){return E3!=="pointer"}const jy=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Wy(e,t,r){var n;const i=typeof window<"u"?a2(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?a2(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?a2(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?a2(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||(r==null?void 0:r.target)instanceof i&&!jy.has(r==null||(n=r.target)===null||n===void 0?void 0:n.type)||(r==null?void 0:r.target)instanceof o||(r==null?void 0:r.target)instanceof s&&(r==null?void 0:r.target.isContentEditable),!(e&&t==="keyboard"&&r instanceof a&&!Hy[r.key])}function qy(e,t,r){ai(),Le(()=>{let n=(i,o)=>{Wy(!!(r!=null&&r.isTextInput),i,o)&&e(Nl())};return oi.add(n),()=>{oi.delete(n)}},t)}function Gy(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=me({isFocusWithin:!1}),s=De(c=>{o.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(c),i&&i(!1))},[r,i,o]),a=xl(s),l=De(c=>{!o.current.isFocusWithin&&document.activeElement===c.target&&(n&&n(c),i&&i(!0),o.current.isFocusWithin=!0,a(c))},[n,i,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}let Nn=!1,V5=0;function li(){Nn=!0,setTimeout(()=>{Nn=!1},50)}function ps(e){e.pointerType==="touch"&&li()}function zy(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",ps):document.addEventListener("touchend",li),V5++,()=>{V5--,!(V5>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ps):document.removeEventListener("touchend",li))}}function Yy(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:i}=e,[o,s]=Ee(!1),a=me({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;Le(zy,[]);let{hoverProps:l,triggerHoverEnd:c}=ve(()=>{let d=(h,p)=>{if(a.pointerType=p,i||p==="touch"||a.isHovered||!h.currentTarget.contains(h.target))return;a.isHovered=!0;let v=h.currentTarget;a.target=v,t&&t({type:"hoverstart",target:v,pointerType:p}),r&&r(!0),s(!0)},f=(h,p)=>{if(a.pointerType="",a.target=null,p==="touch"||!a.isHovered)return;a.isHovered=!1;let v=h.currentTarget;n&&n({type:"hoverend",target:v,pointerType:p}),r&&r(!1),s(!1)},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=h=>{Nn&&h.pointerType==="mouse"||d(h,h.pointerType)},m.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,h.pointerType)}):(m.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=h=>{!a.ignoreEmulatedMouseEvents&&!Nn&&d(h,"mouse"),a.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&f(h,"mouse")}),{hoverProps:m,triggerHoverEnd:f}},[t,r,n,i,a]);return Le(()=>{i&&c({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:l,isHovered:o}}function Zy(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,i=me({isFocused:!1,isFocusVisible:t||Nl()}),[o,s]=Ee(!1),[a,l]=Ee(()=>i.current.isFocused&&i.current.isFocusVisible),c=De(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=De(h=>{i.current.isFocused=h,s(h),c()},[c]);qy(h=>{i.current.isFocusVisible=h,c()},[],{isTextInput:r});let{focusProps:f}=By({isDisabled:n,onFocusChange:d}),{focusWithinProps:m}=Gy({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?m:f}}var Ky=Object.defineProperty,Jy=(e,t,r)=>t in e?Ky(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,U5=(e,t,r)=>(Jy(e,typeof t!="symbol"?t+"":t,r),r);let Xy=class{constructor(){U5(this,"current",this.detect()),U5(this,"handoffState","pending"),U5(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},d2=new Xy;function br(e){return d2.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function c5(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function gt(){let e=[],t={addEventListener(r,n,i,o){return r.addEventListener(n,i,o),t.add(()=>r.removeEventListener(n,i,o))},requestAnimationFrame(...r){let n=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let n=setTimeout(...r);return t.add(()=>clearTimeout(n))},microTask(...r){let n={current:!0};return c5(()=>{n.current&&r[0]()}),t.add(()=>{n.current=!1})},style(r,n,i){let o=r.style.getPropertyValue(n);return Object.assign(r.style,{[n]:i}),this.add(()=>{Object.assign(r.style,{[n]:o})})},group(r){let n=gt();return r(n),this.add(()=>n.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let n=e.indexOf(r);if(n>=0)for(let i of e.splice(n,1))i()}},dispose(){for(let r of e.splice(0))r()}};return t}function zt(){let[e]=Ee(gt);return Le(()=>()=>e.dispose(),[e]),e}let t0=(e,t)=>{d2.isServer?Le(e,t):P1(e,t)};function Yt(e){let t=me(e);return t0(()=>{t.current=e},[e]),t}let ye=function(e){let t=Yt(e);return se.useCallback((...r)=>t.current(...r),[t])};function Qy(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}function ev(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function tv({disabled:e=!1}={}){let t=me(null),[r,n]=Ee(!1),i=zt(),o=ye(()=>{t.current=null,n(!1),i.dispose()}),s=ye(a=>{if(i.dispose(),t.current===null){t.current=a.currentTarget,n(!0);{let l=br(a.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",c=>{if(t.current){let d=Qy(c);n(ev(d,t.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:s,onPointerUp:o,onClick:o}}}let rv=u0(void 0);function mo(){return He(rv)}function ui(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function G0(e,t,...r){if(e in t){let i=t[e];return typeof i=="function"?i(...r):i}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,G0),n}var lr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(lr||{}),kt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kt||{});function N0(){let e=iv();return De(t=>nv({mergeRefs:e,...t}),[e])}function nv({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:o=!0,name:s,mergeRefs:a}){a=a??ov;let l=Ml(t,e);if(o)return H3(l,r,n,s,a);let c=i??0;if(c&2){let{static:d=!1,...f}=l;if(d)return H3(f,r,n,s,a)}if(c&1){let{unmount:d=!0,...f}=l;return G0(d?0:1,{0(){return null},1(){return H3({...f,hidden:!0,style:{display:"none"}},r,n,s,a)}})}return H3(l,r,n,s,a)}function H3(e,t={},r,n,i){let{as:o=r,children:s,refName:a="ref",...l}=j5(e,["unmount","static"]),c=e.ref!==void 0?{[a]:e.ref}:{},d=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let m=!1,h=[];for(let[p,v]of Object.entries(t))typeof v=="boolean"&&(m=!0),v===!0&&h.push(p.replace(/([A-Z])/g,b=>`-${b.toLowerCase()}`));if(m){f["data-headlessui-state"]=h.join(" ");for(let p of h)f[`data-${p}`]=""}}if(o===Ze&&(Object.keys(Ct(l)).length>0||Object.keys(Ct(f)).length>0))if(!fr(d)||Array.isArray(d)&&d.length>1){if(Object.keys(Ct(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Ct(l)).concat(Object.keys(Ct(f))).map(m=>` - ${m}`).join(`
|
|
46
46
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>` - ${m}`).join(`
|
|
47
47
|
`)].join(`
|
|
48
|
-
`))}else{let m=d.props,h=m==null?void 0:m.className,p=typeof h=="function"?(..._)=>di(h(..._),l.className):di(h,l.className),v=p?{className:p}:{},b=kl(d.props,xt(q5(l,["ref"])));for(let _ in f)_ in b&&delete f[_];return $i(d,Object.assign({},b,f,c,{ref:i(lv(d),c.ref)},v))}return u(o,Object.assign({},q5(l,["ref"]),o!==Ke&&c,o!==Ke&&f),d)}function sv(){let e=de([]),t=$e(r=>{for(let n of e.current)n!=null&&(typeof n=="function"?n(r):n.current=r)},[]);return(...r)=>{if(!r.every(n=>n==null))return e.current=r,t}}function av(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function kl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];if(t.disabled||t["aria-disabled"])for(let n in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(n)&&(r[n]=[i=>{var o;return(o=i==null?void 0:i.preventDefault)==null?void 0:o.call(i)}]);for(let n in r)Object.assign(t,{[n](i,...o){let s=r[n];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function Il(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];for(let n in r)Object.assign(t,{[n](...i){let o=r[n];for(let s of o)s==null||s(...i)}});return t}function _0(e){var t;return Object.assign(Ri(e),{displayName:(t=e.displayName)!=null?t:e.name})}function xt(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function q5(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function lv(e){return ee.version.split(".")[0]>="19"?e.props.ref:e.ref}function uv(e,t,r){let[n,i]=Ee(r),o=e!==void 0,s=de(o),a=de(!1),l=de(!1);return o&&!s.current&&!a.current?(a.current=!0,s.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&s.current&&!l.current&&(l.current=!0,s.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:n,ye(c=>(o||i(c),t==null?void 0:t(c)))]}function cv(e){let[t]=Ee(e);return t}function Rl(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))Dl(r,Ol(t,n),i);return r}function Ol(e,t){return e?e+"["+t+"]":t}function Dl(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())Dl(e,Ol(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):typeof r=="boolean"?e.push([t,r?"1":"0"]):typeof r=="string"?e.push([t,r]):typeof r=="number"?e.push([t,`${r}`]):r==null?e.push([t,""]):Rl(r,t,e)}function dv(e){var t,r;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let i of n.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(r=n.requestSubmit)==null||r.call(n)}}let fv="span";var cr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(cr||{});function hv(e,t){var r;let{features:n=1,...i}=e,o={ref:t,"aria-hidden":(n&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return M0()({ourProps:o,theirProps:i,slot:{},defaultTag:fv,name:"Hidden"})}let l3=_0(hv),mv=d0(null);function pv({children:e}){let t=He(mv);if(!t)return ee.createElement(ee.Fragment,null,e);let{target:r}=t;return r?Un(ee.createElement(ee.Fragment,null,e),r):null}function gv({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[o,s]=Ee(null),a=Yt();return Be(()=>{if(n&&o)return a.addEventListener(o,"reset",n)},[o,t,n]),ee.createElement(pv,null,ee.createElement(wv,{setForm:s,formId:t}),Rl(e).map(([l,c])=>ee.createElement(l3,{features:cr.Hidden,...xt({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:l,value:c,...i})})))}function wv({setForm:e,formId:t}){return Be(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:ee.createElement(l3,{features:cr.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:r=>{if(!r)return;let n=r.closest("form");n&&e(n)}})}let yv=d0(void 0);function $l(){return He(yv)}function vv(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(t==null?void 0:t.getAttribute("disabled"))==="";return n&&bv(r)?!1:n}function bv(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Fl=Symbol();function _v(e,t=!0){return Object.assign(e,{[Fl]:t})}function B0(...e){let t=de(e);Be(()=>{t.current=e},[e]);let r=ye(n=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(n):i.current=n)});return e.every(n=>n==null||(n==null?void 0:n[Fl]))?void 0:r}let f5=d0(null);f5.displayName="DescriptionContext";function Pl(){let e=He(f5);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Pl),t}return e}function Cv(){var e,t;return(t=(e=He(f5))==null?void 0:e.value)!=null?t:void 0}function xv(){let[e,t]=Ee([]);return[e.length>0?e.join(" "):void 0,ve(()=>function(r){let n=ye(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=ve(()=>({register:n,slot:r.slot,name:r.name,props:r.props,value:r.value}),[n,r.slot,r.name,r.props,r.value]);return ee.createElement(f5.Provider,{value:i},r.children)},[t])]}let Sv="p";function Ev(e,t){let r=v1(),n=po(),{id:i=`headlessui-description-${r}`,...o}=e,s=Pl(),a=B0(t);r0(()=>s.register(i),[i,s.register]);let l=n||!1,c=ve(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return M0()({ourProps:d,theirProps:o,slot:c,defaultTag:Sv,name:s.name||"Description"})}let Av=_0(Ev),Tv=Object.assign(Av,{});var S0=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(S0||{});let h5=d0(null);h5.displayName="LabelContext";function Ll(){let e=He(h5);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Ll),t}return e}function Bl(e){var t,r,n;let i=(r=(t=He(h5))==null?void 0:t.value)!=null?r:void 0;return((n=e==null?void 0:e.length)!=null?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function Nv({inherit:e=!1}={}){let t=Bl(),[r,n]=Ee([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,ve(()=>function(o){let s=ye(l=>(n(c=>[...c,l]),()=>n(c=>{let d=c.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=ve(()=>({register:s,slot:o.slot,name:o.name,props:o.props,value:o.value}),[s,o.slot,o.name,o.props,o.value]);return ee.createElement(h5.Provider,{value:a},o.children)},[n])]}let Mv="label";function kv(e,t){var r;let n=v1(),i=Ll(),o=$l(),s=po(),{id:a=`headlessui-label-${n}`,htmlFor:l=o??((r=i.props)==null?void 0:r.htmlFor),passive:c=!1,...d}=e,f=B0(t);r0(()=>i.register(a),[a,i.register]);let m=ye(b=>{let _=b.currentTarget;if(_ instanceof HTMLLabelElement&&b.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(b),_ instanceof HTMLLabelElement){let C=document.getElementById(_.htmlFor);if(C){let E=C.getAttribute("disabled");if(E==="true"||E==="")return;let N=C.getAttribute("aria-disabled");if(N==="true"||N==="")return;(C instanceof HTMLInputElement&&(C.type==="radio"||C.type==="checkbox")||C.role==="radio"||C.role==="checkbox"||C.role==="switch")&&C.click(),C.focus({preventScroll:!0})}}}),h=s||!1,p=ve(()=>({...i.slot,disabled:h}),[i.slot,h]),v={ref:f,...i.props,id:a,htmlFor:l,onClick:m};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in d&&delete d.onClick),M0()({ourProps:v,theirProps:d,slot:p,defaultTag:l?Mv:"div",name:i.name||"Label"})}let Iv=_0(kv),Rv=Object.assign(Iv,{}),Ov=d0(()=>{});function Dv({value:e,children:t}){return ee.createElement(Ov.Provider,{value:e},t)}function $v(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function Fv(e=$v){return $e((t,r)=>{if(typeof e=="string"){let n=e;return(t==null?void 0:t[n])===(r==null?void 0:r[n])}return e(t,r)},[e])}function Pv(e){if(e===null)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function Lv(e,t=!1){let[r,n]=E2(()=>({}),{}),i=ve(()=>Pv(e),[e,r]);return r0(()=>{if(!e)return;let o=new ResizeObserver(n);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}let Bv=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};function Ul(e,t){let r=e(),n=new Set;return{getSnapshot(){return r},subscribe(i){return n.add(i),()=>n.delete(i)},dispatch(i,...o){let s=t[i].call(r,...o);s&&(r=s,n.forEach(a=>a()))}}}function Hl(e){return Bn(e.subscribe,e.getSnapshot,e.getSnapshot)}let Uv=new Bv(()=>Ul(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let r=this.slice();return r.splice(t,1),r}}));function Cr(e,t){let r=Uv.get(t),n=v1(),i=Hl(r);if(r0(()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)},[r,e]),!e)return!1;let o=i.indexOf(n),s=i.length;return o===-1&&(o=s,s+=1),o===s-1}let fi=new Map,e3=new Map;function ws(e){var t;let r=(t=e3.get(e))!=null?t:0;return e3.set(e,r+1),r!==0?()=>ys(e):(fi.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>ys(e))}function ys(e){var t;let r=(t=e3.get(e))!=null?t:1;if(r===1?e3.delete(e):e3.set(e,r-1),r!==1)return;let n=fi.get(e);n&&(n["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,fi.delete(e))}function Vl(e,{allowed:t,disallowed:r}={}){let n=Cr(e,"inert-others");r0(()=>{var i,o;if(!n)return;let s=yt();for(let l of(i=r==null?void 0:r())!=null?i:[])l&&s.add(ws(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let c=_r(l);if(!c)continue;let d=l.parentElement;for(;d&&d!==c.body;){for(let f of d.children)a.some(m=>f.contains(m))||s.add(ws(f));d=d.parentElement}}return s.dispose},[n,t,r])}function jl(e,t,r){let n=Zt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});Be(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=yt();if(typeof ResizeObserver<"u"){let s=new ResizeObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}if(typeof IntersectionObserver<"u"){let s=new IntersectionObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}return()=>o.dispose()},[t,n,e])}let kn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Hv=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var E1=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(E1||{}),hi=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(hi||{}),Vv=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Vv||{});function Wl(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(kn)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function jv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Hv)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var go=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(go||{});function ql(e,t=0){var r;return e===((r=_r(e))==null?void 0:r.body)?!1:Z0(t,{0(){return e.matches(kn)},1(){let n=e;for(;n!==null;){if(n.matches(kn))return!0;n=n.parentElement}return!1}})}var Wv=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Wv||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ot(e){e==null||e.focus({preventScroll:!0})}let qv=["textarea","input"].join(",");function Gv(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,qv))!=null?r:!1}function Gl(e,t=r=>r){return e.slice().sort((r,n)=>{let i=t(r),o=t(n);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function zv(e,t){return Q2(Wl(),t,{relativeTo:e})}function Q2(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?Gl(e):e:t&64?jv(e):Wl(e);i.length>0&&s.length>1&&(s=s.filter(h=>!i.some(p=>p!=null&&"current"in p?(p==null?void 0:p.current)===h:p===h))),n=n??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(n))-1;if(t&4)return Math.max(0,s.indexOf(n))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},d=0,f=s.length,m;do{if(d>=f||d+f<=0)return 0;let h=l+d;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}m=s[h],m==null||m.focus(c),d+=a}while(m!==o.activeElement);return t&6&&Gv(m)&&m.select(),2}function zl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Yv(){return/Android/gi.test(window.navigator.userAgent)}function Zv(){return zl()||Yv()}function Ur(e,t,r,n){let i=Zt(r);Be(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,n),()=>document.removeEventListener(t,o,n)},[e,t,n])}function Yl(e,t,r,n){let i=Zt(r);Be(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,n),()=>window.removeEventListener(t,o,n)},[e,t,n])}const vs=30;function Zl(e,t,r){let n=Cr(e,"outside-click"),i=Zt(r),o=$e(function(l,c){if(l.defaultPrevented)return;let d=c(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function m(h){return typeof h=="function"?m(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let m of f)if(m!==null&&(m.contains(d)||l.composed&&l.composedPath().includes(m)))return;return!ql(d,go.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=de(null);Ur(n,"pointerdown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),Ur(n,"mousedown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),Ur(n,"click",l=>{Zv()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=de({x:0,y:0});Ur(n,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),Ur(n,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-a.current.x)>=vs||Math.abs(c.y-a.current.y)>=vs))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),Yl(n,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function xr(...e){return ve(()=>_r(...e),[...e])}function Kl(e,t,r,n){let i=Zt(r);Be(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function Kv(e,t){return ve(()=>{var r;if(e.type)return e.type;let n=(r=e.as)!=null?r:"button";if(typeof n=="string"&&n.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function Jv(){let e;return{before({doc:t}){var r;let n=t.documentElement,i=(r=t.defaultView)!=null?r:window;e=Math.max(0,i.innerWidth-n.clientWidth)},after({doc:t,d:r}){let n=t.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,e-i);r.style(n,"paddingRight",`${o}px`)}}}function Xv(){return zl()?{before({doc:e,d:t,meta:r}){function n(i){return r.containers.flatMap(o=>o()).some(o=>o.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=yt();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,s=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),d=e.querySelector(c);d&&!n(d)&&(s=d)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(n(a.target)){let l=a.target;for(;l.parentElement&&n(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(n(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;o!==l&&window.scrollTo(0,o),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function Qv(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function eb(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let d2=Ul(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:yt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:eb(r)},i=[Xv(),Jv(),Qv()];i.forEach(({before:o})=>o==null?void 0:o(n)),i.forEach(({after:o})=>o==null?void 0:o(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});d2.subscribe(()=>{let e=d2.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let n=t.get(r.doc)==="hidden",i=r.count!==0;(i&&!n||!i&&n)&&d2.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&d2.dispatch("TEARDOWN",r)}});function tb(e,t,r=()=>({containers:[]})){let n=Hl(d2),i=t?n.get(t):void 0,o=i?i.count>0:!1;return r0(()=>{if(!(!t||!e))return d2.dispatch("PUSH",t,r),()=>d2.dispatch("POP",t,r)},[e,t]),o}function Jl(e,t,r=()=>[document.body]){let n=Cr(e,"scroll-lock");tb(n,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function bs(e){return[e.screenX,e.screenY]}function rb(){let e=de([-1,-1]);return{wasMoved(t){let r=bs(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=bs(t)}}}function nb(e=0){let[t,r]=Ee(e),n=$e(l=>r(l),[t]),i=$e(l=>r(c=>c|l),[t]),o=$e(l=>(t&l)===l,[t]),s=$e(l=>r(c=>c&~l),[r]),a=$e(l=>r(c=>c^l),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var ib={},_s,Cs;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((_s=process==null?void 0:ib)==null?void 0:_s.NODE_ENV)==="test"&&typeof((Cs=Element==null?void 0:Element.prototype)==null?void 0:Cs.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
49
|
-
`)),[]});var ob=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(ob||{});function Xl(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function Ql(e,t,r,n){let[i,o]=Ee(r),{hasFlag:s,addFlag:a,removeFlag:l}=nb(e&&i?3:0),c=de(!1),d=de(!1),f=Yt();return r0(()=>{var m;if(e){if(r&&o(!0),!t){r&&a(3);return}return(m=n==null?void 0:n.start)==null||m.call(n,r),sb(t,{inFlight:c,prepare(){d.current?d.current=!1:d.current=c.current,c.current=!0,!d.current&&(r?(a(3),l(4)):(a(4),l(2)))},run(){d.current?r?(l(3),a(4)):(l(4),a(3)):r?l(1):a(1)},done(){var h;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(c.current=!1,l(7),r||o(!1),(h=n==null?void 0:n.end)==null||h.call(n,r))}})}},[e,r,t,f]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function sb(e,{prepare:t,run:r,done:n,inFlight:i}){let o=yt();return lb(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(ab(e,n))})}),o.dispose}function ab(e,t){var r,n;let i=yt();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=(n=(r=e.getAnimations)==null?void 0:r.call(e).filter(a=>a instanceof CSSTransition))!=null?n:[];return s.length===0?(t(),i.dispose):(Promise.allSettled(s.map(a=>a.finished)).then(()=>{o||t()}),i.dispose)}function lb(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}function wo(e,t){let r=de([]),n=ye(e);Be(()=>{let i=[...r.current];for(let[o,s]of t.entries())if(r.current[o]!==s){let a=n(t,i);return r.current=t,a}},[n,...t])}function m5(){return typeof window<"u"}function Sr(e){return e9(e)?(e.nodeName||"").toLowerCase():"#document"}function c1(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W1(e){var t;return(t=(e9(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function e9(e){return m5()?e instanceof Node||e instanceof c1(e).Node:!1}function V0(e){return m5()?e instanceof Element||e instanceof c1(e).Element:!1}function L1(e){return m5()?e instanceof HTMLElement||e instanceof c1(e).HTMLElement:!1}function xs(e){return!m5()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof c1(e).ShadowRoot}function N3(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=N1(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function ub(e){return["table","td","th"].includes(Sr(e))}function p5(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function yo(e){const t=vo(),r=V0(e)?N1(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function cb(e){let t=Lt(e);for(;L1(t)&&!dr(t);){if(yo(t))return t;if(p5(t))return null;t=Lt(t)}return null}function vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(e){return["html","body","#document"].includes(Sr(e))}function N1(e){return c1(e).getComputedStyle(e)}function g5(e){return V0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lt(e){if(Sr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||xs(e)&&e.host||W1(e);return xs(t)?t.host:t}function t9(e){const t=Lt(e);return dr(t)?e.ownerDocument?e.ownerDocument.body:e.body:L1(t)&&N3(t)?t:t9(t)}function u3(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=t9(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=c1(i);if(o){const a=mi(s);return t.concat(s,s.visualViewport||[],N3(i)?i:[],a&&r?u3(a):[])}return t.concat(i,u3(i,[],r))}function mi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function db(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}const b2=Math.min,F0=Math.max,c3=Math.round,j3=Math.floor,O1=e=>({x:e,y:e}),fb={left:"right",right:"left",bottom:"top",top:"bottom"},hb={start:"end",end:"start"};function Ss(e,t,r){return F0(e,b2(t,r))}function Er(e,t){return typeof e=="function"?e(t):e}function Bt(e){return e.split("-")[0]}function M3(e){return e.split("-")[1]}function r9(e){return e==="x"?"y":"x"}function n9(e){return e==="y"?"height":"width"}function _2(e){return["top","bottom"].includes(Bt(e))?"y":"x"}function i9(e){return r9(_2(e))}function mb(e,t,r){r===void 0&&(r=!1);const n=M3(e),i=i9(e),o=n9(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=In(s)),[s,In(s)]}function pb(e){const t=In(e);return[pi(e),t,pi(t)]}function pi(e){return e.replace(/start|end/g,t=>hb[t])}function gb(e,t,r){const n=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?o:s;default:return[]}}function wb(e,t,r,n){const i=M3(e);let o=gb(Bt(e),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(pi)))),o}function In(e){return e.replace(/left|right|bottom|top/g,t=>fb[t])}function yb(e){return{top:0,right:0,bottom:0,left:0,...e}}function vb(e){return typeof e!="number"?yb(e):{top:e,right:e,bottom:e,left:e}}function Rn(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Es(e,t,r){let{reference:n,floating:i}=e;const o=_2(t),s=i9(t),a=n9(s),l=Bt(t),c=o==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[a]/2-i[a]/2;let h;switch(l){case"top":h={x:d,y:n.y-i.height};break;case"bottom":h={x:d,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:f};break;case"left":h={x:n.x-i.width,y:f};break;default:h={x:n.x,y:n.y}}switch(M3(t)){case"start":h[s]-=m*(r&&c?-1:1);break;case"end":h[s]+=m*(r&&c?-1:1);break}return h}const bb=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Es(c,n,l),m=n,h={},p=0;for(let v=0;v<a.length;v++){const{name:b,fn:_}=a[v],{x:C,y:E,data:N,reset:I}=await _({x:d,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});d=C??d,f=E??f,h={...h,[b]:{...h[b],...N}},I&&p<=50&&(p++,typeof I=="object"&&(I.placement&&(m=I.placement),I.rects&&(c=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):I.rects),{x:d,y:f}=Es(c,m,l)),v=-1)}return{x:d,y:f,placement:m,strategy:i,middlewareData:h}};async function w5(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=Er(t,e),p=vb(h),b=a[m?f==="floating"?"reference":"floating":f],_=Rn(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(b)))==null||r?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),C=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),N=await(o.isElement==null?void 0:o.isElement(E))?await(o.getScale==null?void 0:o.getScale(E))||{x:1,y:1}:{x:1,y:1},I=Rn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:E,strategy:l}):C);return{top:(_.top-I.top+p.top)/N.y,bottom:(I.bottom-_.bottom+p.bottom)/N.y,left:(_.left-I.left+p.left)/N.x,right:(I.right-_.right+p.right)/N.x}}const _b=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...b}=Er(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const _=Bt(i),C=_2(a),E=Bt(a)===a,N=await(l.isRTL==null?void 0:l.isRTL(c.floating)),I=m||(E||!v?[In(a)]:pb(a)),D=p!=="none";!m&&D&&I.push(...wb(a,v,p,N));const P=[a,...I],A=await w5(t,b),x=[];let k=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&x.push(A[_]),f){const j=mb(i,s,N);x.push(A[j[0]],A[j[1]])}if(k=[...k,{placement:i,overflows:x}],!x.every(j=>j<=0)){var M,L;const j=(((M=o.flip)==null?void 0:M.index)||0)+1,oe=P[j];if(oe)return{data:{index:j,overflows:k},reset:{placement:oe}};let Z=(L=k.filter(J=>J.overflows[0]<=0).sort((J,U)=>J.overflows[1]-U.overflows[1])[0])==null?void 0:L.placement;if(!Z)switch(h){case"bestFit":{var O;const J=(O=k.filter(U=>{if(D){const G=_2(U.placement);return G===C||G==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(G=>G>0).reduce((G,W)=>G+W,0)]).sort((U,G)=>U[1]-G[1])[0])==null?void 0:O[0];J&&(Z=J);break}case"initialPlacement":Z=a;break}if(i!==Z)return{reset:{placement:Z}}}return{}}}};async function Cb(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Bt(r),a=M3(r),l=_2(r)==="y",c=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=Er(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*d,y:m*c}:{x:m*c,y:h*d}}const xb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await Cb(t,e);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},Sb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:_,y:C}=b;return{x:_,y:C}}},...l}=Er(e,t),c={x:r,y:n},d=await w5(t,l),f=_2(Bt(i)),m=r9(f);let h=c[m],p=c[f];if(o){const b=m==="y"?"top":"left",_=m==="y"?"bottom":"right",C=h+d[b],E=h-d[_];h=Ss(C,h,E)}if(s){const b=f==="y"?"top":"left",_=f==="y"?"bottom":"right",C=p+d[b],E=p-d[_];p=Ss(C,p,E)}const v=a.fn({...t,[m]:h,[f]:p});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[m]:o,[f]:s}}}}}},Eb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Er(e,t),d=await w5(t,c),f=Bt(i),m=M3(i),h=_2(i)==="y",{width:p,height:v}=o.floating;let b,_;f==="top"||f==="bottom"?(b=f,_=m===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,b=m==="end"?"top":"bottom");const C=v-d.top-d.bottom,E=p-d.left-d.right,N=b2(v-d[b],C),I=b2(p-d[_],E),D=!t.middlewareData.shift;let P=N,A=I;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(A=E),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=C),D&&!m){const k=F0(d.left,0),M=F0(d.right,0),L=F0(d.top,0),O=F0(d.bottom,0);h?A=p-2*(k!==0||M!==0?k+M:F0(d.left,d.right)):P=v-2*(L!==0||O!==0?L+O:F0(d.top,d.bottom))}await l({...t,availableWidth:A,availableHeight:P});const x=await s.getDimensions(a.floating);return p!==x.width||v!==x.height?{reset:{rects:!0}}:{}}}};function o9(e){const t=N1(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=L1(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=c3(r)!==o||c3(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function bo(e){return V0(e)?e:e.contextElement}function er(e){const t=bo(e);if(!L1(t))return O1(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=o9(t);let s=(o?c3(r.width):r.width)/n,a=(o?c3(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Ab=O1(0);function s9(e){const t=c1(e);return!vo()||!t.visualViewport?Ab:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tb(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==c1(e)?!1:t}function C2(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=bo(e);let s=O1(1);t&&(n?V0(n)&&(s=er(n)):s=er(e));const a=Tb(o,r,n)?s9(o):O1(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const m=c1(o),h=n&&V0(n)?c1(n):n;let p=m,v=mi(p);for(;v&&n&&h!==p;){const b=er(v),_=v.getBoundingClientRect(),C=N1(v),E=_.left+(v.clientLeft+parseFloat(C.paddingLeft))*b.x,N=_.top+(v.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,f*=b.y,l+=E,c+=N,p=c1(v),v=mi(p)}}return Rn({width:d,height:f,x:l,y:c})}function _o(e,t){const r=g5(e).scrollLeft;return t?t.left+r:C2(W1(e)).left+r}function a9(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:_o(e,n)),o=n.top+t.scrollTop;return{x:i,y:o}}function Nb(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",s=W1(n),a=t?p5(t.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=O1(1);const d=O1(0),f=L1(n);if((f||!f&&!o)&&((Sr(n)!=="body"||N3(s))&&(l=g5(n)),L1(n))){const h=C2(n);c=er(n),d.x=h.x+n.clientLeft,d.y=h.y+n.clientTop}const m=s&&!f&&!o?a9(s,l,!0):O1(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+m.x,y:r.y*c.y-l.scrollTop*c.y+d.y+m.y}}function Mb(e){return Array.from(e.getClientRects())}function kb(e){const t=W1(e),r=g5(e),n=e.ownerDocument.body,i=F0(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=F0(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+_o(e);const a=-r.scrollTop;return N1(n).direction==="rtl"&&(s+=F0(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}function Ib(e,t){const r=c1(e),n=W1(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=vo();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function Rb(e,t){const r=C2(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=L1(e)?er(e):O1(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=n*o.y;return{width:s,height:a,x:l,y:c}}function As(e,t,r){let n;if(t==="viewport")n=Ib(e,r);else if(t==="document")n=kb(W1(e));else if(V0(t))n=Rb(t,r);else{const i=s9(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Rn(n)}function l9(e,t){const r=Lt(e);return r===t||!V0(r)||dr(r)?!1:N1(r).position==="fixed"||l9(r,t)}function Ob(e,t){const r=t.get(e);if(r)return r;let n=u3(e,[],!1).filter(a=>V0(a)&&Sr(a)!=="body"),i=null;const o=N1(e).position==="fixed";let s=o?Lt(e):e;for(;V0(s)&&!dr(s);){const a=N1(s),l=yo(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||N3(s)&&!l&&l9(e,s))?n=n.filter(d=>d!==s):i=a,s=Lt(s)}return t.set(e,n),n}function Db(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=[...r==="clippingAncestors"?p5(t)?[]:Ob(t,this._c):[].concat(r),n],a=s[0],l=s.reduce((c,d)=>{const f=As(t,d,i);return c.top=F0(f.top,c.top),c.right=b2(f.right,c.right),c.bottom=b2(f.bottom,c.bottom),c.left=F0(f.left,c.left),c},As(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function $b(e){const{width:t,height:r}=o9(e);return{width:t,height:r}}function Fb(e,t,r){const n=L1(t),i=W1(t),o=r==="fixed",s=C2(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=O1(0);if(n||!n&&!o)if((Sr(t)!=="body"||N3(i))&&(a=g5(t)),n){const m=C2(t,!0,o,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&(l.x=_o(i));const c=i&&!n&&!o?a9(i,a):O1(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function G5(e){return N1(e).position==="static"}function Ts(e,t){if(!L1(e)||N1(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return W1(e)===r&&(r=r.ownerDocument.body),r}function u9(e,t){const r=c1(e);if(p5(e))return r;if(!L1(e)){let i=Lt(e);for(;i&&!dr(i);){if(V0(i)&&!G5(i))return i;i=Lt(i)}return r}let n=Ts(e,t);for(;n&&ub(n)&&G5(n);)n=Ts(n,t);return n&&dr(n)&&G5(n)&&!yo(n)?r:n||cb(e)||r}const Pb=async function(e){const t=this.getOffsetParent||u9,r=this.getDimensions,n=await r(e.floating);return{reference:Fb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Lb(e){return N1(e).direction==="rtl"}const Bb={convertOffsetParentRelativeRectToViewportRelativeRect:Nb,getDocumentElement:W1,getClippingRect:Db,getOffsetParent:u9,getElementRects:Pb,getClientRects:Mb,getDimensions:$b,getScale:er,isElement:V0,isRTL:Lb};function c9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ub(e,t){let r=null,n;const i=W1(e);function o(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=c;if(a||t(),!m||!h)return;const p=j3(f),v=j3(i.clientWidth-(d+m)),b=j3(i.clientHeight-(f+h)),_=j3(d),E={rootMargin:-p+"px "+-v+"px "+-b+"px "+-_+"px",threshold:F0(0,b2(1,l))||1};let N=!0;function I(D){const P=D[0].intersectionRatio;if(P!==l){if(!N)return s();P?s(!1,P):n=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!c9(c,e.getBoundingClientRect())&&s(),N=!1}try{r=new IntersectionObserver(I,{...E,root:i.ownerDocument})}catch{r=new IntersectionObserver(I,E)}r.observe(e)}return s(!0),o}function Hb(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=bo(e),d=i||o?[...c?u3(c):[],...u3(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",r,{passive:!0}),o&&_.addEventListener("resize",r)});const f=c&&a?Ub(c,r):null;let m=-1,h=null;s&&(h=new ResizeObserver(_=>{let[C]=_;C&&C.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var E;(E=h)==null||E.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let p,v=l?C2(e):null;l&&b();function b(){const _=C2(e);v&&!c9(v,_)&&r(),v=_,p=requestAnimationFrame(b)}return r(),()=>{var _;d.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),f==null||f(),(_=h)==null||_.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const z5=w5,Vb=xb,jb=Sb,Wb=_b,qb=Eb,Gb=(e,t,r)=>{const n=new Map,i={platform:Bb,...r},o={...i.platform,_c:n};return bb(e,t,{...i,platform:o})};var en=typeof document<"u"?B1:Be;function On(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!On(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&e.$$typeof)&&!On(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function d9(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ns(e,t){const r=d9(e);return Math.round(t*r)/r}function Y5(e){const t=de(e);return en(()=>{t.current=e}),t}function zb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,f]=Ee({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=Ee(n);On(m,n)||h(n);const[p,v]=Ee(null),[b,_]=Ee(null),C=$e(U=>{U!==D.current&&(D.current=U,v(U))},[]),E=$e(U=>{U!==P.current&&(P.current=U,_(U))},[]),N=o||p,I=s||b,D=de(null),P=de(null),A=de(d),x=l!=null,k=Y5(l),M=Y5(i),L=Y5(c),O=$e(()=>{if(!D.current||!P.current)return;const U={placement:t,strategy:r,middleware:m};M.current&&(U.platform=M.current),Gb(D.current,P.current,U).then(G=>{const W={...G,isPositioned:L.current!==!1};j.current&&!On(A.current,W)&&(A.current=W,a1(()=>{f(W)}))})},[m,t,r,M,L]);en(()=>{c===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,f(U=>({...U,isPositioned:!1})))},[c]);const j=de(!1);en(()=>(j.current=!0,()=>{j.current=!1}),[]),en(()=>{if(N&&(D.current=N),I&&(P.current=I),N&&I){if(k.current)return k.current(N,I,O);O()}},[N,I,O,k,x]);const oe=ve(()=>({reference:D,floating:P,setReference:C,setFloating:E}),[C,E]),Z=ve(()=>({reference:N,floating:I}),[N,I]),J=ve(()=>{const U={position:r,left:0,top:0};if(!Z.floating)return U;const G=Ns(Z.floating,d.x),W=Ns(Z.floating,d.y);return a?{...U,transform:"translate("+G+"px, "+W+"px)",...d9(Z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:G,top:W}},[r,a,Z.floating,d.x,d.y]);return ve(()=>({...d,update:O,refs:oe,elements:Z,floatingStyles:J}),[d,O,oe,Z,J])}const f9=(e,t)=>({...Vb(e),options:[e,t]}),Yb=(e,t)=>({...jb(e),options:[e,t]}),Zb=(e,t)=>({...Wb(e),options:[e,t]}),Kb=(e,t)=>({...qb(e),options:[e,t]}),h9={...ln},Jb=h9.useInsertionEffect,Xb=Jb||(e=>e());function m9(e){const t=de(()=>{});return Xb(()=>{t.current=e}),$e(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current==null?void 0:t.current(...n)},[])}var gi=typeof document<"u"?B1:Be;let Ms=!1,Qb=0;const ks=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Qb++;function e_(){const[e,t]=Ee(()=>Ms?ks():void 0);return gi(()=>{e==null&&t(ks())},[]),Be(()=>{Ms=!0},[]),e}const t_=h9.useId,r_=t_||e_;function n_(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(i=>i(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,((n=e.get(t))==null?void 0:n.filter(i=>i!==r))||[])}}}const i_=d0(null),o_=d0(null),s_=()=>{var e;return((e=He(i_))==null?void 0:e.id)||null},a_=()=>He(o_),l_="data-floating-ui-focusable";function u_(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=r_(),o=de({}),[s]=Ee(()=>n_()),a=s_()!=null,[l,c]=Ee(n.reference),d=m9((h,p,v)=>{o.current.openEvent=h?p:void 0,s.emit("openchange",{open:h,event:p,reason:v,nested:a}),r==null||r(h,p,v)}),f=ve(()=>({setPositionReference:c}),[]),m=ve(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return ve(()=>({dataRef:o,open:t,onOpenChange:d,elements:m,events:s,floatingId:i,refs:f}),[t,d,m,s,i,f])}function c_(e){e===void 0&&(e={});const{nodeId:t}=e,r=u_({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[o,s]=Ee(null),[a,l]=Ee(null),d=(i==null?void 0:i.domReference)||o,f=de(null),m=a_();gi(()=>{d&&(f.current=d)},[d]);const h=zb({...e,elements:{...i,...a&&{reference:a}}}),p=$e(E=>{const N=V0(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;l(N),h.refs.setReference(N)},[h.refs]),v=$e(E=>{(V0(E)||E===null)&&(f.current=E,s(E)),(V0(h.refs.reference.current)||h.refs.reference.current===null||E!==null&&!V0(E))&&h.refs.setReference(E)},[h.refs]),b=ve(()=>({...h.refs,setReference:v,setPositionReference:p,domReference:f}),[h.refs,v,p]),_=ve(()=>({...h.elements,domReference:d}),[h.elements,d]),C=ve(()=>({...h,...n,refs:b,elements:_,nodeId:t}),[h,b,_,t,n]);return gi(()=>{n.dataRef.current.floatingContext=C;const E=m==null?void 0:m.nodesRef.current.find(N=>N.id===t);E&&(E.context=C)}),ve(()=>({...h,context:C,refs:b,elements:_}),[h,b,_,C])}const Is="active",Rs="selected";function Z5(e,t,r){const n=new Map,i=r==="item";let o=e;if(i&&e){const{[Is]:s,[Rs]:a,...l}=e;o=l}return{...r==="floating"&&{tabIndex:-1,[l_]:""},...o,...t.map(s=>{const a=s?s[r]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[c,d]=l;if(!(i&&[Is,Rs].includes(c)))if(c.indexOf("on")===0){if(n.has(c)||n.set(c,[]),typeof d=="function"){var f;(f=n.get(c))==null||f.push(d),s[c]=function(){for(var m,h=arguments.length,p=new Array(h),v=0;v<h;v++)p[v]=arguments[v];return(m=n.get(c))==null?void 0:m.map(b=>b(...p)).find(b=>b!==void 0)}}}else s[c]=d}),s),{})}}function d_(e){e===void 0&&(e=[]);const t=e.map(a=>a==null?void 0:a.reference),r=e.map(a=>a==null?void 0:a.floating),n=e.map(a=>a==null?void 0:a.item),i=$e(a=>Z5(a,e,"reference"),t),o=$e(a=>Z5(a,e,"floating"),r),s=$e(a=>Z5(a,e,"item"),n);return ve(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Os(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const f_=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:n,onFallbackChange:i,offset:o=0,index:s=0,minItemsVisible:a=4,referenceOverflowThreshold:l=0,scrollRef:c,...d}=Er(e,t),{rects:f,elements:{floating:m}}=t,h=r.current[s],p=(c==null?void 0:c.current)||m,v=m.clientTop||p.clientTop,b=m.clientTop!==0,_=p.clientTop!==0,C=m===p;if(!h)return{};const E={...t,...await f9(-h.offsetTop-m.clientTop-f.reference.height/2-h.offsetHeight/2-o).fn(t)},N=await z5(Os(E,p.scrollHeight+v+m.clientTop),d),I=await z5(E,{...d,elementContext:"reference"}),D=F0(0,N.top),P=E.y+D,k=(p.scrollHeight>p.clientHeight?M=>M:c3)(F0(0,p.scrollHeight+(b&&C||_?v*2:0)-D-F0(0,N.bottom)));if(p.style.maxHeight=k+"px",p.scrollTop=D,i){const M=p.offsetHeight<h.offsetHeight*b2(a,r.current.length)-1||I.top>=-l||I.bottom>=-l;a1(()=>i(M))}return n&&(n.current=await z5(Os({...E,y:P},p.offsetHeight+v+m.clientTop),d)),{y:P}}});function h_(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=m9(a),c=de(!1),d=de(null),f=de(null);Be(()=>{if(!i)return;function h(v){if(v.ctrlKey||!p||o.current==null)return;const b=v.deltaY,_=o.current.top>=-.5,C=o.current.bottom>=-.5,E=p.scrollHeight-p.clientHeight,N=b<0?-1:1,I=b<0?"max":"min";p.scrollHeight<=p.clientHeight||(!_&&b>0||!C&&b<0?(v.preventDefault(),a1(()=>{l(D=>D+Math[I](b,E*N))})):/firefox/i.test(db())&&(p.scrollTop+=b))}const p=(s==null?void 0:s.current)||n.floating;if(r&&p)return p.addEventListener("wheel",h),requestAnimationFrame(()=>{d.current=p.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,p.removeEventListener("wheel",h)}},[i,r,n.floating,o,s,l]);const m=ve(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const h=(s==null?void 0:s.current)||n.floating;if(!(!o.current||!h||!c.current)){if(d.current!==null){const p=h.scrollTop-d.current;(o.current.bottom<-.5&&p<-1||o.current.top<-.5&&p>1)&&a1(()=>l(v=>v+p))}requestAnimationFrame(()=>{d.current=h.scrollTop})}}}),[n.floating,l,o,s]);return ve(()=>i?{floating:m}:{},[i,m])}let Ar=d0({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Ar.displayName="FloatingContext";let Co=d0(null);Co.displayName="PlacementContext";function m_(e){return ve(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function p_(){return He(Ar).setReference}function g_(){return He(Ar).getReferenceProps}function w_(){let{getFloatingProps:e,slot:t}=He(Ar);return $e((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor}),[e,t])}function y_(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=He(Co),r=ve(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);r0(()=>{t==null||t(r??null)},[t,r]);let n=He(Ar);return ve(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}let Ds=4;function v_({children:e,enabled:t=!0}){let[r,n]=Ee(null),[i,o]=Ee(0),s=de(null),[a,l]=Ee(null);b_(a);let c=t&&r!==null&&a!==null,{to:d="bottom",gap:f=0,offset:m=0,padding:h=0,inner:p}=__(r,a),[v,b="center"]=d.split(" ");r0(()=>{c&&o(0)},[c]);let{refs:_,floatingStyles:C,context:E}=c_({open:c,placement:v==="selection"?b==="center"?"bottom":`bottom-${b}`:b==="center"?`${v}`:`${v}-${b}`,strategy:"absolute",transform:!1,middleware:[f9({mainAxis:v==="selection"?0:f,crossAxis:m}),Yb({padding:h}),v!=="selection"&&Zb({padding:h}),v==="selection"&&p?f_({...p,padding:h,overflowRef:s,offset:i,minItemsVisible:Ds,referenceOverflowThreshold:h,onFallbackChange(M){var L,O;if(!M)return;let j=E.elements.floating;if(!j)return;let oe=parseFloat(getComputedStyle(j).scrollPaddingBottom)||0,Z=Math.min(Ds,j.childElementCount),J=0,U=0;for(let G of(O=(L=E.elements.floating)==null?void 0:L.childNodes)!=null?O:[])if(G instanceof HTMLElement){let W=G.offsetTop,ie=W+G.clientHeight+oe,Y=j.scrollTop,$=Y+j.clientHeight;if(W>=Y&&ie<=$)Z--;else{U=Math.max(0,Math.min(ie,$)-Math.max(W,Y)),J=G.clientHeight;break}}Z>=1&&o(G=>{let W=J*Z-U+oe;return G>=W?G:W})}}):null,Kb({padding:h,apply({availableWidth:M,availableHeight:L,elements:O}){Object.assign(O.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${L}px)`})}})].filter(Boolean),whileElementsMounted:Hb}),[N=v,I=b]=E.placement.split("-");v==="selection"&&(N="selection");let D=ve(()=>({anchor:[N,I].filter(Boolean).join(" ")}),[N,I]),P=h_(E,{overflowRef:s,onChange:o}),{getReferenceProps:A,getFloatingProps:x}=d_([P]),k=ye(M=>{l(M),_.setFloating(M)});return u(Co.Provider,{value:n},u(Ar.Provider,{value:{setFloating:k,setReference:_.setReference,styles:C,getReferenceProps:A,getFloatingProps:x,slot:D}},e))}function b_(e){r0(()=>{if(!e)return;let t=new MutationObserver(()=>{let r=window.getComputedStyle(e).maxHeight,n=parseFloat(r);if(isNaN(n))return;let i=parseInt(r);isNaN(i)||n!==i&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function __(e,t){var r,n,i;let o=K5((r=e==null?void 0:e.gap)!=null?r:"var(--anchor-gap, 0)",t),s=K5((n=e==null?void 0:e.offset)!=null?n:"var(--anchor-offset, 0)",t),a=K5((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function K5(e,t,r=void 0){let n=Yt(),i=ye((l,c)=>{if(l==null)return[r,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!c)return[r,null];let d=$s(l,c);return[d,f=>{let m=p9(l);{let h=m.map(p=>window.getComputedStyle(c).getPropertyValue(p));n.requestAnimationFrame(function p(){n.nextFrame(p);let v=!1;for(let[_,C]of m.entries()){let E=window.getComputedStyle(c).getPropertyValue(C);if(h[_]!==E){h[_]=E,v=!0;break}}if(!v)return;let b=$s(l,c);d!==b&&(f(b),d=b)})}return n.dispose}]}return[r,null]}),o=ve(()=>i(e,t)[0],[e,t]),[s=o,a]=Ee();return r0(()=>{let[l,c]=i(e,t);if(a(l),!!c)return c(a)},[e,t]),s}function p9(e){let t=/var\((.*)\)/.exec(e);if(t){let r=t[1].indexOf(",");if(r===-1)return[t[1]];let n=t[1].slice(0,r).trim(),i=t[1].slice(r+1).trim();return i?[n,...p9(i)]:[n]}return[]}function $s(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}function C_(e,t){let[r,n]=Ee(t);return!e&&r!==t&&n(t),e?r:t}let y5=d0(null);y5.displayName="OpenClosedContext";var j0=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(j0||{});function k3(){return He(y5)}function g9({value:e,children:t}){return ee.createElement(y5.Provider,{value:e},t)}function x_({children:e}){return ee.createElement(y5.Provider,{value:null},e)}function S_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Tt=[];S_(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||Tt[0]===t.target)return;let r=t.target;r=r.closest(kn),Tt.unshift(r??t.target),Tt=Tt.filter(n=>n!=null&&n.isConnected),Tt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function E_(e){throw new Error("Unexpected object: "+e)}var E0=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(E0||{});function J5(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=n??-1;switch(e.focus){case 0:{for(let o=0;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 1:{i===-1&&(i=r.length);for(let o=i-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 2:{for(let o=i+1;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 3:{for(let o=r.length-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 4:{for(let o=0;o<r.length;++o)if(t.resolveId(r[o],o,r)===e.id)return o;return n}case 5:return null;default:E_(e)}}function w9(e){let t=ye(e),r=de(!1);Be(()=>(r.current=!1,()=>{r.current=!0,d5(()=>{r.current&&t()})}),[t])}function A_(){let e=typeof document>"u";return"useSyncExternalStore"in ln?(t=>t.useSyncExternalStore)(ln)(()=>()=>{},()=>!1,()=>!e):!1}function I3(){let e=A_(),[t,r]=Ee(m2.isHandoffComplete);return t&&m2.isHandoffComplete===!1&&r(!1),Be(()=>{t!==!0&&r(!0)},[t]),Be(()=>m2.handoff(),[]),e?!1:t}let y9=d0(!1);function T_(){return He(y9)}function Fs(e){return ee.createElement(y9.Provider,{value:e.force},e.children)}function N_(e){let t=T_(),r=He(b9),n=xr(e),[i,o]=Ee(()=>{var s;if(!t&&r!==null)return(s=r.current)!=null?s:null;if(m2.isServer)return null;let a=n==null?void 0:n.getElementById("headlessui-portal-root");if(a)return a;if(n===null)return null;let l=n.createElement("div");return l.setAttribute("id","headlessui-portal-root"),n.body.appendChild(l)});return Be(()=>{i!==null&&(n!=null&&n.body.contains(i)||n==null||n.body.appendChild(i))},[i,n]),Be(()=>{t||r!==null&&o(r.current)},[r,o,t]),i}let v9=Ke,M_=_0(function(e,t){let r=e,n=de(null),i=B0(_v(f=>{n.current=f}),t),o=xr(n),s=N_(n),[a]=Ee(()=>{var f;return m2.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=He(wi),c=I3();r0(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),r0(()=>{if(a&&l)return l.register(a)},[l,a]),w9(()=>{var f;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((f=s.parentElement)==null||f.removeChild(s)))});let d=M0();return c?!s||!a?null:Un(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:v9,name:"Portal"}),a):null});function k_(e,t){let r=B0(t),{enabled:n=!0,...i}=e,o=M0();return n?ee.createElement(M_,{...i,ref:r}):o({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:v9,name:"Portal"})}let I_=Ke,b9=d0(null);function R_(e,t){let{target:r,...n}=e,i={ref:B0(t)},o=M0();return ee.createElement(b9.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:I_,name:"Popover.Group"}))}let wi=d0(null);function O_(){let e=He(wi),t=de([]),r=ye(o=>(t.current.push(o),e&&e.register(o),()=>n(o))),n=ye(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=ve(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,ve(()=>function({children:o}){return ee.createElement(wi.Provider,{value:i},o)},[i])]}let D_=_0(k_),_9=_0(R_),C9=Object.assign(D_,{Group:_9});function $_(e,t=typeof document<"u"?document.defaultView:null,r){let n=Cr(e,"escape");Kl(t,"keydown",i=>{n&&(i.defaultPrevented||i.key===S0.Escape&&r(i))})}function F_(){var e;let[t]=Ee(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=Ee((e=t==null?void 0:t.matches)!=null?e:!1);return r0(()=>{if(!t)return;function i(o){n(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),r}function P_({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=xr(r),i=ye(()=>{var o,s;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"current"in l&&l.current instanceof HTMLElement&&a.push(l.current));if(t!=null&&t.current)for(let l of t.current)a.push(l);for(let l of(o=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?o:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(r&&(l.contains(r)||l.contains((s=r==null?void 0:r.getRootNode())==null?void 0:s.host))||a.some(c=>l.contains(c))||a.push(l));return a});return{resolveContainers:i,contains:ye(o=>i().some(s=>s.contains(o)))}}let x9=d0(null);function Ps({children:e,node:t}){let[r,n]=Ee(null),i=S9(t??r);return ee.createElement(x9.Provider,{value:i},e,i===null&&ee.createElement(l3,{features:cr.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=_r(o))==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?a:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l!=null&&l.contains(o)){n(l);break}}}}))}function S9(e=null){var t;return(t=He(x9))!=null?t:e}function xo(){let e=de(!1);return r0(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Zr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Zr||{});function L_(){let e=de(0);return Yl(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function E9(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}let B_="div";var u2=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(u2||{});function U_(e,t){let r=de(null),n=B0(r,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;I3()||(a=0);let c=xr(r);W_(a,{ownerDocument:c});let d=q_(a,{ownerDocument:c,container:r,initialFocus:i,initialFocusFallback:o});G_(a,{ownerDocument:c,container:r,containers:s,previousActiveElement:d});let f=L_(),m=ye(C=>{let E=r.current;E&&(N=>N())(()=>{Z0(f.current,{[Zr.Forwards]:()=>{Q2(E,E1.First,{skipElements:[C.relatedTarget,o]})},[Zr.Backwards]:()=>{Q2(E,E1.Last,{skipElements:[C.relatedTarget,o]})}})})}),h=Cr(!!(a&2),"focus-trap#tab-lock"),p=Yt(),v=de(!1),b={ref:n,onKeyDown(C){C.key=="Tab"&&(v.current=!0,p.requestAnimationFrame(()=>{v.current=!1}))},onBlur(C){if(!(a&4))return;let E=E9(s);r.current instanceof HTMLElement&&E.add(r.current);let N=C.relatedTarget;N instanceof HTMLElement&&N.dataset.headlessuiFocusGuard!=="true"&&(A9(E,N)||(v.current?Q2(r.current,Z0(f.current,{[Zr.Forwards]:()=>E1.Next,[Zr.Backwards]:()=>E1.Previous})|E1.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&ot(C.target)))}},_=M0();return ee.createElement(ee.Fragment,null,h&&ee.createElement(l3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:cr.Focusable}),_({ourProps:b,theirProps:l,defaultTag:B_,name:"FocusTrap"}),h&&ee.createElement(l3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:cr.Focusable}))}let H_=_0(U_),V_=Object.assign(H_,{features:u2});function j_(e=!0){let t=de(Tt.slice());return wo(([r],[n])=>{n===!0&&r===!1&&d5(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=Tt.slice())},[e,Tt,t]),ye(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function W_(e,{ownerDocument:t}){let r=!!(e&8),n=j_(r);wo(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&ot(n())},[r]),w9(()=>{r&&ot(n())})}function q_(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let o=de(null),s=Cr(!!(e&1),"focus-trap#initial-focus"),a=xo();return wo(()=>{if(e===0)return;if(!s){i!=null&&i.current&&ot(i.current);return}let l=r.current;l&&d5(()=>{if(!a.current)return;let c=t==null?void 0:t.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===c){o.current=c;return}}else if(l.contains(c)){o.current=c;return}if(n!=null&&n.current)ot(n.current);else{if(e&16){if(Q2(l,E1.First|E1.AutoFocus)!==hi.Error)return}else if(Q2(l,E1.First)!==hi.Error)return;if(i!=null&&i.current&&(ot(i.current),(t==null?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}o.current=t==null?void 0:t.activeElement})},[i,s,e]),o}function G_(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let o=xo(),s=!!(e&4);Kl(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=E9(n);r.current instanceof HTMLElement&&l.add(r.current);let c=i.current;if(!c)return;let d=a.target;d&&d instanceof HTMLElement?A9(l,d)?(i.current=d,ot(d)):(a.preventDefault(),a.stopPropagation(),ot(c)):ot(i.current)},!0)}function A9(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function T9(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:M9)!==Ke||ee.Children.count(e.children)===1}let v5=d0(null);v5.displayName="TransitionContext";var z_=(e=>(e.Visible="visible",e.Hidden="hidden",e))(z_||{});function Y_(){let e=He(v5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Z_(){let e=He(b5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let b5=d0(null);b5.displayName="NestingContext";function _5(e){return"children"in e?_5(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function N9(e,t){let r=Zt(e),n=de([]),i=xo(),o=Yt(),s=ye((h,p=It.Hidden)=>{let v=n.current.findIndex(({el:b})=>b===h);v!==-1&&(Z0(p,{[It.Unmount](){n.current.splice(v,1)},[It.Hidden](){n.current[v].state="hidden"}}),o.microTask(()=>{var b;!_5(n)&&i.current&&((b=r.current)==null||b.call(r))}))}),a=ye(h=>{let p=n.current.find(({el:v})=>v===h);return p?p.state!=="visible"&&(p.state="visible"):n.current.push({el:h,state:"visible"}),()=>s(h,It.Unmount)}),l=de([]),c=de(Promise.resolve()),d=de({enter:[],leave:[]}),f=ye((h,p,v)=>{l.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([b])=>b!==h)),t==null||t.chains.current[p].push([h,new Promise(b=>{l.current.push(b)})]),t==null||t.chains.current[p].push([h,new Promise(b=>{Promise.all(d.current[p].map(([_,C])=>C)).then(()=>b())})]),p==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>v(p)):v(p)}),m=ye((h,p,v)=>{Promise.all(d.current[p].splice(0).map(([b,_])=>_)).then(()=>{var b;(b=l.current.shift())==null||b()}).then(()=>v(p))});return ve(()=>({children:n,register:a,unregister:s,onStart:f,onStop:m,wait:c,chains:d}),[a,s,n,f,m,d,c])}let M9=Ke,k9=ur.RenderStrategy;function K_(e,t){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:c,enterFrom:d,enterTo:f,entered:m,leave:h,leaveFrom:p,leaveTo:v,...b}=e,[_,C]=Ee(null),E=de(null),N=T9(e),I=B0(...N?[E,t,C]:t===null?[]:[t]),D=(r=b.unmount)==null||r?It.Unmount:It.Hidden,{show:P,appear:A,initial:x}=Y_(),[k,M]=Ee(P?"visible":"hidden"),L=Z_(),{register:O,unregister:j}=L;r0(()=>O(E),[O,E]),r0(()=>{if(D===It.Hidden&&E.current){if(P&&k!=="visible"){M("visible");return}return Z0(k,{hidden:()=>j(E),visible:()=>O(E)})}},[k,E,O,j,P,D]);let oe=I3();r0(()=>{if(N&&oe&&k==="visible"&&E.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,k,oe,N]);let Z=x&&!A,J=A&&P&&x,U=de(!1),G=N9(()=>{U.current||(M("hidden"),j(E))},L),W=ye(Ie=>{U.current=!0;let te=Ie?"enter":"leave";G.onStart(E,te,H=>{H==="enter"?o==null||o():H==="leave"&&(a==null||a())})}),ie=ye(Ie=>{let te=Ie?"enter":"leave";U.current=!1,G.onStop(E,te,H=>{H==="enter"?s==null||s():H==="leave"&&(l==null||l())}),te==="leave"&&!_5(G)&&(M("hidden"),j(E))});Be(()=>{N&&i||(W(P),ie(P))},[P,N,i]);let Y=!(!i||!N||!oe||Z),[,$]=Ql(Y,_,P,{start:W,end:ie}),fe=xt({ref:I,className:((n=di(b.className,J&&c,J&&d,$.enter&&c,$.enter&&$.closed&&d,$.enter&&!$.closed&&f,$.leave&&h,$.leave&&!$.closed&&p,$.leave&&$.closed&&v,!$.transition&&P&&m))==null?void 0:n.trim())||void 0,...Xl($)}),he=0;k==="visible"&&(he|=j0.Open),k==="hidden"&&(he|=j0.Closed),$.enter&&(he|=j0.Opening),$.leave&&(he|=j0.Closing);let Ne=M0();return ee.createElement(b5.Provider,{value:G},ee.createElement(g9,{value:he},Ne({ourProps:fe,theirProps:b,defaultTag:M9,features:k9,visible:k==="visible",name:"Transition.Child"})))}function J_(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=de(null),a=T9(e),l=B0(...a?[s,t]:t===null?[]:[t]);I3();let c=k3();if(r===void 0&&c!==null&&(r=(c&j0.Open)===j0.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=Ee(r?"visible":"hidden"),m=N9(()=>{r||f("hidden")}),[h,p]=Ee(!0),v=de([r]);r0(()=>{h!==!1&&v.current[v.current.length-1]!==r&&(v.current.push(r),p(!1))},[v,r]);let b=ve(()=>({show:r,appear:n,initial:h}),[r,n,h]);r0(()=>{r?f("visible"):!_5(m)&&s.current!==null&&f("hidden")},[r,m]);let _={unmount:i},C=ye(()=>{var I;h&&p(!1),(I=e.beforeEnter)==null||I.call(e)}),E=ye(()=>{var I;h&&p(!1),(I=e.beforeLeave)==null||I.call(e)}),N=M0();return ee.createElement(b5.Provider,{value:m},ee.createElement(v5.Provider,{value:b},N({ourProps:{..._,as:Ke,children:ee.createElement(I9,{ref:l,..._,...o,beforeEnter:C,beforeLeave:E})},theirProps:{},defaultTag:Ke,features:k9,visible:d==="visible",name:"Transition"})))}function X_(e,t){let r=He(v5)!==null,n=k3()!==null;return ee.createElement(ee.Fragment,null,!r&&n?ee.createElement(yi,{ref:t,...e}):ee.createElement(I9,{ref:t,...e}))}let yi=_0(J_),I9=_0(K_),So=_0(X_),R9=Object.assign(yi,{Child:So,Root:yi});var Q_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Q_||{}),eC=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(eC||{});let tC={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Eo=d0(null);Eo.displayName="DialogContext";function C5(e){let t=He(Eo);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,C5),r}return t}function rC(e,t){return Z0(t.type,tC,e,t)}let Ls=_0(function(e,t){let r=v1(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:c=!1,unmount:d=!1,...f}=e,m=de(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(m.current||(m.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let h=k3();i===void 0&&h!==null&&(i=(h&j0.Open)===j0.Open);let p=de(null),v=B0(p,t),b=xr(p),_=i?0:1,[C,E]=E2(rC,{titleId:null,descriptionId:null,panelRef:Pn()}),N=ye(()=>o(!1)),I=ye(ie=>E({type:0,id:ie})),D=I3()?_===0:!1,[P,A]=O_(),x={get current(){var ie;return(ie=C.panelRef.current)!=null?ie:p.current}},k=S9(),{resolveContainers:M}=P_({mainTreeNode:k,portals:P,defaultContainers:[x]}),L=h!==null?(h&j0.Closing)===j0.Closing:!1;Vl(c||L?!1:D,{allowed:ye(()=>{var ie,Y;return[(Y=(ie=p.current)==null?void 0:ie.closest("[data-headlessui-portal]"))!=null?Y:null]}),disallowed:ye(()=>{var ie;return[(ie=k==null?void 0:k.closest("body > *:not(#headlessui-portal-root)"))!=null?ie:null]})}),Zl(D,M,ie=>{ie.preventDefault(),N()}),$_(D,b==null?void 0:b.defaultView,ie=>{ie.preventDefault(),ie.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),N()}),Jl(c||L?!1:D,b,M),jl(D,p,N);let[O,j]=xv(),oe=ve(()=>[{dialogState:_,close:N,setTitleId:I,unmount:d},C],[_,C,N,I,d]),Z=ve(()=>({open:_===0}),[_]),J={ref:v,id:n,role:a,tabIndex:-1,"aria-modal":c?void 0:_===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":O,unmount:d},U=!F_(),G=u2.None;D&&!c&&(G|=u2.RestoreFocus,G|=u2.TabLock,l&&(G|=u2.AutoFocus),U&&(G|=u2.InitialFocus));let W=M0();return ee.createElement(x_,null,ee.createElement(Fs,{force:!0},ee.createElement(C9,null,ee.createElement(Eo.Provider,{value:oe},ee.createElement(_9,{target:p},ee.createElement(Fs,{force:!1},ee.createElement(j,{slot:Z},ee.createElement(A,null,ee.createElement(V_,{initialFocus:s,initialFocusFallback:p,containers:M,features:G},ee.createElement(Dv,{value:N},W({ourProps:J,theirProps:f,slot:Z,defaultTag:nC,features:iC,visible:_===0,name:"Dialog"})))))))))))}),nC="div",iC=ur.RenderStrategy|ur.Static;function oC(e,t){let{transition:r=!1,open:n,...i}=e,o=k3(),s=e.hasOwnProperty("open")||o!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(n!==void 0||r)&&!i.static?ee.createElement(Ps,null,ee.createElement(R9,{show:n,transition:r,unmount:i.unmount},ee.createElement(Ls,{ref:t,...i}))):ee.createElement(Ps,null,ee.createElement(Ls,{ref:t,open:n,...i}))}let sC="div";function aC(e,t){let r=v1(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=C5("Dialog.Panel"),c=B0(t,l.panelRef),d=ve(()=>({open:s===0}),[s]),f=ye(b=>{b.stopPropagation()}),m={ref:c,id:n,onClick:f},h=i?So:Ke,p=i?{unmount:a}:{},v=M0();return ee.createElement(h,{...p},v({ourProps:m,theirProps:o,slot:d,defaultTag:sC,name:"Dialog.Panel"}))}let lC="div";function uC(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:o}]=C5("Dialog.Backdrop"),s=ve(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=r?So:Ke,c=r?{unmount:o}:{},d=M0();return ee.createElement(l,{...c},d({ourProps:a,theirProps:n,slot:s,defaultTag:lC,name:"Dialog.Backdrop"}))}let cC="h2";function dC(e,t){let r=v1(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:o,setTitleId:s}]=C5("Dialog.Title"),a=B0(t);Be(()=>(s(n),()=>s(null)),[n,s]);let l=ve(()=>({open:o===0}),[o]),c={ref:a,id:n};return M0()({ourProps:c,theirProps:i,slot:l,defaultTag:cC,name:"Dialog.Title"})}let fC=_0(oC),hC=_0(aC),mC=_0(uC),pC=_0(dC),Ao=Object.assign(fC,{Panel:hC,Title:pC,Description:Tv});function gC(e,t){let r=de({left:0,top:0});if(r0(()=>{if(!t)return;let i=t.getBoundingClientRect();i&&(r.current=i)},[e,t]),t==null||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}let Bs=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Us(e){var t,r;let n=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return n;let o=!1;for(let a of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))a.remove(),o=!0;let s=o?(r=i.innerText)!=null?r:"":n;return Bs.test(s)&&(s=s.replace(Bs,"")),s}function wC(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let n=r.split(" ").map(i=>{let o=document.getElementById(i);if(o){let s=o.getAttribute("aria-label");return typeof s=="string"?s.trim():Us(o).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return Us(e).trim()}function yC(e){let t=de(""),r=de("");return ye(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=wC(n).trim().toLowerCase();return t.current=i,r.current=o,o})}var vC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(vC||{}),bC=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(bC||{}),_C=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(_C||{}),CC=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(CC||{});function X5(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=Gl(t(e.options.slice()),o=>o.dataRef.current.domRef.current),i=r?n.indexOf(r):null;return i===-1&&(i=null),{options:n,activeOptionIndex:i}}let xC={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));return n!==-1&&(t=n),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var r,n,i,o,s;if(e.dataRef.current.disabled||e.listboxState===1)return e;let a={...e,searchQuery:"",activationTrigger:(r=t.trigger)!=null?r:1,__demoMode:!1};if(t.focus===E0.Nothing)return{...a,activeOptionIndex:null};if(t.focus===E0.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===E0.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,m=J5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(m!==null){let h=e.options[m].dataRef.current.domRef;if(((n=f.current)==null?void 0:n.previousElementSibling)===h.current||((i=h.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:m}}}}else if(t.focus===E0.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,m=J5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(m!==null){let h=e.options[m].dataRef.current.domRef;if(((o=f.current)==null?void 0:o.nextElementSibling)===h.current||((s=h.current)==null?void 0:s.nextElementSibling)===null)return{...a,activeOptionIndex:m}}}}let l=X5(e),c=J5(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:c}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,n=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(s=>{var a;return!s.dataRef.current.disabled&&((a=s.dataRef.current.textValue)==null?void 0:a.startsWith(n))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},n=X5(e,i=>[...i,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(r)),{...e,...n}},6:(e,t)=>{let r=X5(e,n=>{let i=n.findIndex(o=>o.id===t.id);return i!==-1&&n.splice(i,1),n});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},To=d0(null);To.displayName="ListboxActionsContext";function x5(e){let t=He(To);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,x5),r}return t}let S5=d0(null);S5.displayName="ListboxDataContext";function R3(e){let t=He(S5);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,R3),r}return t}function SC(e,t){return Z0(t.type,xC,e,t)}let EC=Ke;function AC(e,t){var r;let n=po(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:c,invalid:d=!1,disabled:f=n||!1,horizontal:m=!1,multiple:h=!1,__demoMode:p=!1,...v}=e;const b=m?"horizontal":"vertical";let _=B0(t),C=cv(o),[E=h?[]:void 0,N]=uv(i,l,C),[I,D]=E2(SC,{dataRef:Pn(),listboxState:p?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:p}),P=de({static:!1,hold:!1}),A=de(new Map),x=Fv(c),k=$e(ae=>Z0(M.mode,{1:()=>E.some(K=>x(K,ae)),0:()=>x(E,ae)}),[E]),M=ve(()=>({...I,value:E,disabled:f,invalid:d,mode:h?1:0,orientation:b,compare:x,isSelected:k,optionsPropsRef:P,listRef:A}),[E,f,d,h,I,A]);r0(()=>{I.dataRef.current=M},[M]);let L=M.listboxState===0;Zl(L,[M.buttonElement,M.optionsElement],(ae,K)=>{var ne;D({type:1}),ql(K,go.Loose)||(ae.preventDefault(),(ne=M.buttonElement)==null||ne.focus())});let O=ve(()=>({open:M.listboxState===0,disabled:f,invalid:d,value:E}),[M,f,E,d]),j=ye(ae=>{let K=M.options.find(ne=>ne.id===ae);K&&ie(K.dataRef.current.value)}),oe=ye(()=>{if(M.activeOptionIndex!==null){let{dataRef:ae,id:K}=M.options[M.activeOptionIndex];ie(ae.current.value),D({type:2,focus:E0.Specific,id:K})}}),Z=ye(()=>D({type:0})),J=ye(()=>D({type:1})),U=Yt(),G=ye((ae,K,ne)=>{U.dispose(),U.microTask(()=>ae===E0.Specific?D({type:2,focus:E0.Specific,id:K,trigger:ne}):D({type:2,focus:ae,trigger:ne}))}),W=ye((ae,K)=>(D({type:5,id:ae,dataRef:K}),()=>D({type:6,id:ae}))),ie=ye(ae=>Z0(M.mode,{0(){return N==null?void 0:N(ae)},1(){let K=M.value.slice(),ne=K.findIndex(me=>x(me,ae));return ne===-1?K.push(ae):K.splice(ne,1),N==null?void 0:N(K)}})),Y=ye(ae=>D({type:3,value:ae})),$=ye(()=>D({type:4})),fe=ye(ae=>{D({type:7,element:ae})}),he=ye(ae=>{D({type:8,element:ae})}),Ne=ve(()=>({onChange:ie,registerOption:W,goToOption:G,closeListbox:J,openListbox:Z,selectActiveOption:oe,selectOption:j,search:Y,clearSearch:$,setButtonElement:fe,setOptionsElement:he}),[]),[Ie,te]=Nv({inherit:!0}),H={ref:_},le=$e(()=>{if(C!==void 0)return N==null?void 0:N(C)},[N,C]),be=M0();return ee.createElement(te,{value:Ie,props:{htmlFor:(r=M.buttonElement)==null?void 0:r.id},slot:{open:M.listboxState===0,disabled:f}},ee.createElement(v_,null,ee.createElement(To.Provider,{value:Ne},ee.createElement(S5.Provider,{value:M},ee.createElement(g9,{value:Z0(M.listboxState,{0:j0.Open,1:j0.Closed})},a!=null&&E!=null&&ee.createElement(gv,{disabled:f,data:{[a]:E},form:s,onReset:le}),be({ourProps:H,theirProps:v,slot:O,defaultTag:EC,name:"Listbox"}))))))}let TC="button";function NC(e,t){var r;let n=R3("Listbox.Button"),i=x5("Listbox.Button"),o=v1(),s=$l(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=n.disabled||!1,autoFocus:c=!1,...d}=e,f=B0(t,p_(),i.setButtonElement),m=g_(),h=ye(M=>{switch(M.key){case S0.Enter:dv(M.currentTarget);break;case S0.Space:case S0.ArrowDown:M.preventDefault(),a1(()=>i.openListbox()),n.value||i.goToOption(E0.First);break;case S0.ArrowUp:M.preventDefault(),a1(()=>i.openListbox()),n.value||i.goToOption(E0.Last);break}}),p=ye(M=>{switch(M.key){case S0.Space:M.preventDefault();break}}),v=ye(M=>{var L;if(vv(M.currentTarget))return M.preventDefault();n.listboxState===0?(a1(()=>i.closeListbox()),(L=n.buttonElement)==null||L.focus({preventScroll:!0})):(M.preventDefault(),i.openListbox())}),b=ye(M=>M.preventDefault()),_=Bl([a]),C=Cv(),{isFocusVisible:E,focusProps:N}=Jy({autoFocus:c}),{isHovered:I,hoverProps:D}=Ky({isDisabled:l}),{pressed:P,pressProps:A}=nv({disabled:l}),x=ve(()=>({open:n.listboxState===0,active:P||n.listboxState===0,disabled:l,invalid:n.invalid,value:n.value,hover:I,focus:E,autofocus:c}),[n.listboxState,n.value,l,I,E,P,n.invalid,c]),k=Il(m(),{ref:f,id:a,type:Kv(e,n.buttonElement),"aria-haspopup":"listbox","aria-controls":(r=n.optionsElement)==null?void 0:r.id,"aria-expanded":n.listboxState===0,"aria-labelledby":_,"aria-describedby":C,disabled:l||void 0,autoFocus:c,onKeyDown:h,onKeyUp:p,onKeyPress:b,onClick:v},N,D,A);return M0()({ourProps:k,theirProps:d,slot:x,defaultTag:TC,name:"Listbox.Button"})}let O9=d0(!1),MC="div",kC=ur.RenderStrategy|ur.Static;function IC(e,t){var r,n;let i=v1(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:c=!1,...d}=e,f=m_(s),[m,h]=Ee(null);f&&(a=!0);let p=R3("Listbox.Options"),v=x5("Listbox.Options"),b=xr(p.optionsElement),_=k3(),[C,E]=Ql(c,m,_!==null?(_&j0.Open)===j0.Open:p.listboxState===0);jl(C,p.buttonElement,v.closeListbox);let N=p.__demoMode?!1:l&&p.listboxState===0;Jl(N,b);let I=p.__demoMode?!1:l&&p.listboxState===0;Vl(I,{allowed:$e(()=>[p.buttonElement,p.optionsElement],[p.buttonElement,p.optionsElement])});let D=p.listboxState!==0,P=gC(D,p.buttonElement)?!1:C,A=C&&p.listboxState===1,x=C_(A,p.value),k=ye($=>p.compare(x,$)),M=ve(()=>{var $;if(f==null||!(($=f==null?void 0:f.to)!=null&&$.includes("selection")))return null;let fe=p.options.findIndex(he=>k(he.dataRef.current.value));return fe===-1&&(fe=0),fe},[f,p.options]),L=(()=>{if(f==null)return;if(M===null)return{...f,inner:void 0};let $=Array.from(p.listRef.current.values());return{...f,inner:{listRef:{current:$},index:M}}})(),[O,j]=y_(L),oe=w_(),Z=B0(t,f?O:null,v.setOptionsElement,h),J=Yt();Be(()=>{var $;let fe=p.optionsElement;fe&&p.listboxState===0&&fe!==(($=_r(fe))==null?void 0:$.activeElement)&&(fe==null||fe.focus({preventScroll:!0}))},[p.listboxState,p.optionsElement]);let U=ye($=>{var fe,he;switch(J.dispose(),$.key){case S0.Space:if(p.searchQuery!=="")return $.preventDefault(),$.stopPropagation(),v.search($.key);case S0.Enter:if($.preventDefault(),$.stopPropagation(),p.activeOptionIndex!==null){let{dataRef:Ne}=p.options[p.activeOptionIndex];v.onChange(Ne.current.value)}p.mode===0&&(a1(()=>v.closeListbox()),(fe=p.buttonElement)==null||fe.focus({preventScroll:!0}));break;case Z0(p.orientation,{vertical:S0.ArrowDown,horizontal:S0.ArrowRight}):return $.preventDefault(),$.stopPropagation(),v.goToOption(E0.Next);case Z0(p.orientation,{vertical:S0.ArrowUp,horizontal:S0.ArrowLeft}):return $.preventDefault(),$.stopPropagation(),v.goToOption(E0.Previous);case S0.Home:case S0.PageUp:return $.preventDefault(),$.stopPropagation(),v.goToOption(E0.First);case S0.End:case S0.PageDown:return $.preventDefault(),$.stopPropagation(),v.goToOption(E0.Last);case S0.Escape:$.preventDefault(),$.stopPropagation(),a1(()=>v.closeListbox()),(he=p.buttonElement)==null||he.focus({preventScroll:!0});return;case S0.Tab:$.preventDefault(),$.stopPropagation(),a1(()=>v.closeListbox()),zv(p.buttonElement,$.shiftKey?E1.Previous:E1.Next);break;default:$.key.length===1&&(v.search($.key),J.setTimeout(()=>v.clearSearch(),350));break}}),G=(r=p.buttonElement)==null?void 0:r.id,W=ve(()=>({open:p.listboxState===0}),[p.listboxState]),ie=Il(f?oe():{},{id:o,ref:Z,"aria-activedescendant":p.activeOptionIndex===null||(n=p.options[p.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":p.mode===1?!0:void 0,"aria-labelledby":G,"aria-orientation":p.orientation,onKeyDown:U,role:"listbox",tabIndex:p.listboxState===0?0:void 0,style:{...d.style,...j,"--button-width":Lv(p.buttonElement,!0).width},...Xl(E)}),Y=M0();return ee.createElement(C9,{enabled:a?e.static||C:!1},ee.createElement(S5.Provider,{value:p.mode===1?p:{...p,isSelected:k}},Y({ourProps:ie,theirProps:d,slot:W,defaultTag:MC,features:kC,visible:P,name:"Listbox.Options"})))}let RC="div";function OC(e,t){let r=v1(),{id:n=`headlessui-listbox-option-${r}`,disabled:i=!1,value:o,...s}=e,a=He(O9)===!0,l=R3("Listbox.Option"),c=x5("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===n:!1,f=l.isSelected(o),m=de(null),h=yC(m),p=Zt({disabled:i,value:o,domRef:m,get textValue(){return h()}}),v=B0(t,m,x=>{x?l.listRef.current.set(n,x):l.listRef.current.delete(n)});r0(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return yt().requestAnimationFrame(()=>{var x,k;(k=(x=m.current)==null?void 0:x.scrollIntoView)==null||k.call(x,{block:"nearest"})})},[m,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),r0(()=>{if(!a)return c.registerOption(n,p)},[p,n,a]);let b=ye(x=>{var k;if(i)return x.preventDefault();c.onChange(o),l.mode===0&&(a1(()=>c.closeListbox()),(k=l.buttonElement)==null||k.focus({preventScroll:!0}))}),_=ye(()=>{if(i)return c.goToOption(E0.Nothing);c.goToOption(E0.Specific,n)}),C=rb(),E=ye(x=>{C.update(x),!i&&(d||c.goToOption(E0.Specific,n,0))}),N=ye(x=>{C.wasMoved(x)&&(i||d||c.goToOption(E0.Specific,n,0))}),I=ye(x=>{C.wasMoved(x)&&(i||d&&c.goToOption(E0.Nothing))}),D=ve(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),P=a?{}:{id:n,ref:v,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:b,onFocus:_,onPointerEnter:E,onMouseEnter:E,onPointerMove:N,onMouseMove:N,onPointerLeave:I,onMouseLeave:I},A=M0();return!f&&a?null:A({ourProps:P,theirProps:s,slot:D,defaultTag:RC,name:"Listbox.Option"})}let DC=Ke;function $C(e,t){let{options:r,placeholder:n,...i}=e,o={ref:B0(t)},s=R3("ListboxSelectedOption"),a=ve(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,c=M0();return ee.createElement(O9.Provider,{value:!0},c({ourProps:o,theirProps:{...i,children:ee.createElement(ee.Fragment,null,n&&l?n:r)},slot:a,defaultTag:DC,name:"ListboxSelectedOption"}))}let FC=_0(AC),D9=_0(NC),PC=Rv,$9=_0(IC),F9=_0(OC),LC=_0($C),BC=Object.assign(FC,{Button:D9,Label:PC,Options:$9,Option:F9,SelectedOption:LC}),g0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function A2(e){return u(Ao,pt(e,1))}class ct extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","ClassName","Children"]}}function T2(e){return u(Ao.Panel,pt(e,1))}class Dn extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Children"]}}function P9(e){return u(Ao.Title,pt(e,1))}class N2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName"]}}function M2(e){return u(mC,pt(e,1))}function Kt(e,t){let r;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",w.Children.toArray(Array.from(r))])])))}function UC(e,t){let r,n,i,o,s;return A2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[T2(se(new ct(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),u("button",y(g([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[Kt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-sm text-gray-600 pt-6"],(s="Mapping involves pairing each incoming CSV field with its correct destination field. This step is important because it makes sure that your data is organised correctly, minimising the risk of errors and ensuring a smooth import process.",["children",s])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function k2(e){return u("span",{className:"font-sonoma text-black font-semibold text-lg",children:e})}function Tr(e){return u("span",{className:"text-sm font-normal pt-2",children:e})}function x2(e,t){return u("button",{className:"rounded-2xl text-xs font-medium text-gray-600 border px-3.5 py-1.5 bg-white hover:bg-gray-50",onClick:r=>{t()},type:"button",children:w.Children.toArray([e])})}function L9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM11 6C11 6.55228 10.5523 7 10 7C9.44772 7 9 6.55228 9 6C9 5.44772 9.44772 5 10 5C10.5523 5 11 5.44772 11 6ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11V14C9 14.5523 9.44772 15 10 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13V10C11 9.44772 10.5523 9 10 9H9Z",["d",n]),["fill","#60A5FA"]])))),["children",w.Children.toArray(Array.from(r))])])))}function E5(e){let t,r;return u("div",y(g([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[L9(20,20),u("div",y(g([["className","grow shrink basis-0 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function B9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M15.8008 12.5263L9.48383 0.880306C9.32803 0.591371 9.09045 0.354828 8.80083 0.200306C8.40735 -0.0102628 7.94665 -0.0569536 7.51893 0.0703896C7.0912 0.197733 6.73106 0.488809 6.51683 0.880306L0.20083 12.5263C0.0627228 12.7826 -0.00633038 13.0704 0.00045607 13.3614C0.00724252 13.6525 0.0896351 13.9368 0.239538 14.1863C0.38944 14.4359 0.601694 14.6422 0.855444 14.7849C1.10919 14.9276 1.39571 15.0018 1.68683 15.0003H14.3148C14.5939 15.0003 14.8686 14.9316 15.1148 14.8003C15.3099 14.6968 15.4825 14.5556 15.6228 14.3851C15.763 14.2145 15.8681 14.0178 15.932 13.8064C15.9958 13.595 16.0172 13.373 15.9949 13.1533C15.9726 12.9336 15.9069 12.7205 15.8018 12.5263H15.8008ZM8.00083 13.0003C7.80305 13.0003 7.60971 12.9417 7.44526 12.8318C7.28081 12.7219 7.15264 12.5657 7.07695 12.383C7.00126 12.2003 6.98146 11.9992 7.02004 11.8052C7.05863 11.6112 7.15387 11.4331 7.29372 11.2932C7.43358 11.1533 7.61176 11.0581 7.80574 11.0195C7.99972 10.9809 8.20079 11.0007 8.38351 11.0764C8.56624 11.1521 8.72242 11.2803 8.8323 11.4447C8.94218 11.6092 9.00083 11.8025 9.00083 12.0003C9.00083 12.2655 8.89547 12.5199 8.70794 12.7074C8.5204 12.8949 8.26605 13.0003 8.00083 13.0003ZM9.00083 9.50031C9.00083 9.63291 8.94815 9.76009 8.85438 9.85386C8.76062 9.94763 8.63344 10.0003 8.50083 10.0003H7.50083C7.36822 10.0003 7.24104 9.94763 7.14728 9.85386C7.05351 9.76009 7.00083 9.63291 7.00083 9.50031V5.50031C7.00083 5.3677 7.05351 5.24052 7.14728 5.14675C7.24104 5.05298 7.36822 5.00031 7.50083 5.00031H8.50083C8.63344 5.00031 8.76062 5.05298 8.85438 5.14675C8.94815 5.24052 9.00083 5.3677 9.00083 5.50031V9.50031Z",["d",n]),["fill","#F87171"]])))),["children",w.Children.toArray(Array.from(r))])])))}function U9(e){let t,r;return u("div",y(g([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[B9(16,15),u("div",y(g([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function A5(e,t){let r;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",w.Children.toArray(Array.from(r))])])))}let st=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Value","OnChange","Children"]}};function No(e){return u(BC,pt(e,1))}class fr extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ClassName","Children"]}}function Mo(e){return u(D9,pt(e,1))}class ko extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function Io(e,t){return u($9,pt(e,1),...t)}class z0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function Ro(e){return u(F9,pt(e,1))}function Oo(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.7071 7.29289L9.99999 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68341 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",["d",n]),["fill","#6B7280"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Hr(e,t,r,n,i,o,s,a){let l,c,d,f,m,h,p;const v=i.fields[0],b=Vi(i0(_=>_[1].fields[0],qn(_=>Va(_.fields[0],v),n)));return u("div",y(g([["key",e0(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(l=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(c=[u("div",y(q(T(()=>F(S(["className",`${n==null?"bg-gray-50 border-gray-200 text-gray-500":"bg-emerald-50 border-emerald-200 text-emerald-700"} px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden`]),T(()=>{let _;return S((_=q(T(()=>F(S(u("div",{className:"text-sm font-medium leading-tight",children:a3(e)})),T(()=>S(t?u("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):Ae()))))),["children",w.Children.toArray(Array.from(_))]))}))))))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[A5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(f=[No(g([new st(0,[b]),new st(1,[_=>{V1(C=>{o(C[0])},Vt(jt(C=>C[1].fields[0]===_?X(C[2],new J1(0,[])):!1,v)))}]),new st(2,[[u("div",y(g([Y0,["className","relative w-full"],(m=[Mo(q(T(()=>{let _;return F(S(new fr(0,[`${_=t&&r,_&&n==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),T(()=>{let C;return S(new fr(1,[[u("span",y(q(T(()=>{let E;const N=t&&r;return E=n!=null?[b,""]:N?["Select a field","text-red-900"]:["Select a field","text-gray-500"],F(S(["className",`${E[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>S(["children",E[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(C=[Oo(20,20)],["children",w.Children.toArray(Array.from(C))])])))]]))}))}))),Io(q(T(()=>S(new ko(`z-10 absolute ${e.tag===4?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),q(T(()=>wr(_=>{const C=_[2],E=_[1].fields[0];return S(Ro(g([new z0(0,[h1(_[0].fields[0])]),new z0(1,[E]),new z0(2,[X(C,new J1(1,[]))]),new z0(3,["relative select-none"]),new z0(4,[N=>[u("span",{className:"px-4 py-2 block truncate "+(C.tag===0?N.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:E})]])])))},v))))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([(h="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",h]),(p=[u("button",y(q(T(()=>F(S(["children","Clear"]),T(()=>F(s==null?S(["className","opacity-50 cursor-not-allowed"]):S(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=s;if(_==null)return Te();{const C=_;return S(["onClick",E=>{C()}])}})))))))),u("button",y(q(T(()=>F(S(["children","Preview"]),T(()=>F(a==null?S(["className","opacity-50 cursor-not-allowed"]):S(["className","cursor-pointer py-3 hover:text-gray-700"]),T(()=>{const _=a;if(_==null)return Te();{const C=_;return S(["onClick",E=>{C()}])}}))))))))],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(l))])])))}function H9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.3001 1.40002C6.03495 1.40002 5.79257 1.54983 5.674 1.78697L5.16747 2.80002H2.8001C2.4135 2.80002 2.1001 3.11342 2.1001 3.50002C2.1001 3.88662 2.4135 4.20002 2.8001 4.20002L2.8001 11.2C2.8001 11.9732 3.4269 12.6 4.2001 12.6H9.80009C10.5733 12.6 11.2001 11.9732 11.2001 11.2V4.20002C11.5867 4.20002 11.9001 3.88662 11.9001 3.50002C11.9001 3.11342 11.5867 2.80002 11.2001 2.80002H8.83272L8.32619 1.78697C8.20762 1.54983 7.96523 1.40002 7.70009 1.40002H6.3001ZM4.9001 5.60002C4.9001 5.21342 5.2135 4.90002 5.60009 4.90002C5.98669 4.90002 6.30009 5.21342 6.30009 5.60002V9.80002C6.30009 10.1866 5.98669 10.5 5.60009 10.5C5.2135 10.5 4.9001 10.1866 4.9001 9.80002V5.60002ZM8.40009 4.90002C8.01349 4.90002 7.70009 5.21342 7.70009 5.60002V9.80002C7.70009 10.1866 8.01349 10.5 8.40009 10.5C8.78669 10.5 9.10009 10.1866 9.10009 9.80002V5.60002C9.10009 5.21342 8.78669 4.90002 8.40009 4.90002Z",["d",n]),["fill","#9CA3AF"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Nr(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M9.99992 0.833328C4.94575 0.833328 0.833252 4.94583 0.833252 10C0.833252 15.0542 4.94575 19.1667 9.99992 19.1667C15.0541 19.1667 19.1666 15.0542 19.1666 10C19.1666 4.94583 15.0541 0.833328 9.99992 0.833328ZM8.37409 14.5525L4.65492 10.8333L5.83325 9.655L8.29242 12.1142L14.0883 5.49083L15.3424 6.58833L8.37409 14.5525Z",["d",n]),["fill","#10B981"]])))),["children",w.Children.toArray(Array.from(r))])])))}function V9(e){let t,r,n;return u("div",y(g([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[u("span",y(g([["className","text-emerald-700"],(r=[Nr(20,20)],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(n=[u("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}function O3(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M8.83429 0.234315C9.14671 -0.0781049 9.65324 -0.0781049 9.96566 0.234315L13.1657 3.43431C13.4781 3.74673 13.4781 4.25327 13.1657 4.56569L9.96566 7.76569C9.65324 8.0781 9.14671 8.0781 8.83429 7.76569C8.52187 7.45327 8.52187 6.94673 8.83429 6.63432L10.6686 4.8H1.39998C0.958148 4.8 0.599976 4.44183 0.599976 4C0.599976 3.55817 0.958148 3.2 1.39998 3.2H10.6686L8.83429 1.36569C8.52187 1.05327 8.52187 0.546734 8.83429 0.234315Z",["d",n]),["fill","white"]])))),["children",w.Children.toArray(Array.from(r))])])))}function HC(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function VC(e){return e.startsWith("4")&&e.length===9?`+614${e.slice(1,e.length)}`:e.startsWith("04")&&e.length===10?`+614${e.slice(2,e.length)}`:e}function j9(e){return VC(HC(Aa(e," ","")))}function jC(e,t,r){let n,i,o,s,a,l,c,d;return u("div",y(g([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(n=[u("div",y(g([(i="grow shrink basis-0 p-4 bg-white rounded-lg shadow-lg border border-gray-100 flex-col justify-start items-start gap-3 inline-flex overflow-hidden",["className",i]),(o=[u("div",y(g([["className","flex justify-between w-full"],(s=[u("span",{className:"text-black text-base font-semibold leading-normal text-nowrap",children:`Previewing “${a3(e)}”`}),u("button",y(g([["onClick",f=>{r()}],["type","button"],["className","text-gray-600"],(a=[Kt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[u("div",y(g([["className","self-stretch flex-col justify-center items-start flex"],(c=Gn((f,m)=>u("div",y(q(T(()=>F(S(["className",`${f%2===0?"bg-white":"bg-gray-50"} self-stretch h-10 px-3 py-3.5 border-b border-gray-200 justify-start items-center gap-1 inline-flex overflow-hidden`]),T(()=>{let h;return S((h=q(T(()=>{const p=Ht(m);return S(p?u("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):u("div",y(q(T(()=>F(S(Y0),T(()=>F(S(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),T(()=>e.tag===3?S(["children",j9(m)]):S(["children",m]))))))))))})),["children",w.Children.toArray(Array.from(h))]))})))))),t),["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[u("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(n))])])))}function WC(e){let t,r,n;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,c=e.existingMappings;let d;const f=Ry(l,a,c);d=wt(()=>gt(()=>f,(N,I)=>Oy(i,l,a,N,I),(N,I)=>{}),void 0,void 0);const m=d[0],h=d[1],p=w.useState(!1),v=p[1],b=w.useState(!1),_=b[0],C=N=>{if(ky(m)(N))return()=>{h(new _t(1,[N]))}},E=N=>{if(Iy(m,N))return()=>{h(new _t(2,[N]))}};return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[UC(p[0],()=>{v(!1)}),k2("Map fields"),Tr("Match the fields from your CSV to the corresponding destination fields."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[x2("What is mapping and why is it important?",()=>{v(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=q(T(()=>{let N;return F(S(u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(N=q(T(()=>F(m.IsPrefilled?S(E5("We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.")):S(Ae()),T(()=>F(_&&m.Status.tag===0?S(U9("Some required fields are incomplete. Fill in all required fields to continue.")):S(Ae()),T(()=>{let I,D,P,A,x,k,M,L;return S(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(I=[u("div",y(g([(D="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",D]),(P=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(A=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),u("div",y(q(T(()=>F(S(["className",`${m.NumberOfDestinationFieldsMapped===5?"bg-emerald-100 text-emerald-800":"bg-blue-100 text-blue-800"} px-2.5 py-0.5 rounded-[10px] justify-center items-center flex`]),T(()=>{let O;return S((O=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${m.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",w.Children.toArray(Array.from(O))]))}))))))],["children",w.Children.toArray(Array.from(A))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(x=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(k=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${m.NumberOfDestinationFieldsMapped} of ${m.NumberOfIncomingFields} used`})],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(x))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(M=[u("div",y(se((L=q(T(()=>F(S(Hr(new Q(0,[]),!0,_,m.FirstName.ColumnIndex,m.FirstName.IncomingFields,O=>{let j;h((j=[new Q(0,[]),O],new _t(0,[j[0],j[1]])))},C(new Q(0,[])),E(new Q(0,[])))),T(()=>F(S(Hr(new Q(1,[]),!0,_,m.LastName.ColumnIndex,m.LastName.IncomingFields,O=>{let j;h((j=[new Q(1,[]),O],new _t(0,[j[0],j[1]])))},C(new Q(1,[])),E(new Q(1,[])))),T(()=>F(S(Hr(new Q(2,[]),!0,_,m.Email.ColumnIndex,m.Email.IncomingFields,O=>{let j;h((j=[new Q(2,[]),O],new _t(0,[j[0],j[1]])))},C(new Q(2,[])),E(new Q(2,[])))),T(()=>F(S(Hr(new Q(3,[]),!1,_,m.MobilePhone.ColumnIndex,m.MobilePhone.IncomingFields,O=>{let j;h((j=[new Q(3,[]),O],new _t(0,[j[0],j[1]])))},C(new Q(3,[])),E(new Q(3,[])))),T(()=>F(S(Hr(new Q(4,[]),!1,_,m.EmploymentBasis.ColumnIndex,m.EmploymentBasis.IncomingFields,O=>{let j;h((j=[new Q(4,[]),O],new _t(0,[j[0],j[1]])))},C(new Q(4,[])),E(new Q(4,[])))),T(()=>{let O,j,oe,Z,J,U;return F(m.NumberOfIncomingFieldsDiscarded===0?S(Ae()):S(u("div",y(g([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(O=[u("div",y(g([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(j=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(oe=[H9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(oe))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(Z=[A5(16,12)],["children",w.Children.toArray(Array.from(Z))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(J=[u("div",y(g([["className","w-[218px] pl-3 items-center inline-flex"],(U=[u("div",y(q(T(()=>F(S(["className","text-gray-500 text-sm font-medium"]),T(()=>{const G=m.NumberOfIncomingFieldsDiscarded|0;return S(G===1?["children","Remaining 1 unused field"]:["children",`Remaining ${G} unused fields`])}))))))],["children",w.Children.toArray(Array.from(U))])])))],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(O))])])))),T(()=>{let G;return S(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(G=q(T(()=>F(m.NumberOfDestinationFieldsMapped===5?S(V9("All destination fields have been mapped. You’re good to go.")):S(Ae()),T(()=>{let W,ie,Y,$,fe,he,Ne,Ie,te;return S(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(W=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(ie=[u("div",y(g([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(Y=[u("div",y(g([["className","grow shrink basis-0 text-right"],($=[u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),u("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",w.Children.toArray(Array.from($))])])))],["children",w.Children.toArray(Array.from(Y))])]))),u("div",y(g([["className","justify-start items-center gap-2 flex"],(fe=[u("button",y(g([(he="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",he]),["onClick",H=>{o(m.Status)}],(Ne=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(Ne))])]))),u("button",y(g([(Ie="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Ie]),["disabled",_&&m.Status.tag===0],["onClick",H=>{const le=m.Status;le.tag===0?b[1](!0):s([le.fields[0],le.fields[1]])}],(te=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:m.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),O3(13,8)],["children",w.Children.toArray(Array.from(te))])])))],["children",w.Children.toArray(Array.from(fe))])])))],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(W))])]))))})))),["children",w.Children.toArray(Array.from(G))])]))))}))})))))))))))),["children",w.Children.toArray(Array.from(L))]))))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(I))])]))))})))))),["children",w.Children.toArray(Array.from(N))])])))),T(()=>{const I=m.Preview;return I==null?S(Ae()):S(jC(I[0],I[1],()=>{h(new _t(3,[]))}))}))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}let W3=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}},Q5=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}},t2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}},q3=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Add","Clear","Remove","Set"]}},qC=class extends ue{constructor(t,r,n,i,o,s,a){super(),this.IncomingValues=t,this.Selections=r,this.NumberOfIncomingValuesUsed=n|0,this.NumberOfDestinationValuesMapped=i|0,this.DiscardedValues=o,this.ValidatedMappings=s,this.Prefilled=a}};class d3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}const Nt=[void 0];function W9(e,t,r){let n;const i=t.fields[0],o=G0(s=>s,gn(y6(r)));return new qC(Je(s=>[s,D1(s,o,{Equals:X,GetHashCode:cn})?new d3(1,[]):new d3(0,[])],i),r,o.length,Wd(Ot(s=>{let a;return a=G0(l=>l,s),a.length!==0},y6(r))),wl(o,i,{Equals:X,GetHashCode:cn}),(n=g(G0(s=>s,gn(De(s=>Je(a=>{if(a!=null)return[s[0],a]},s[1]),r)))),ke(n)?void 0:new Cy(pe(n),dt(Oe(n)))),e)}function GC(e,t){const r=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(n=>D1(p3(n.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:l1}))}function zC(e,t){let r;if(t==null){let n=!1;const i=o=>{const s=GC(e,o);return!$t(X,s,Ae())&&s.length===0?Nt:(n=!0,Je(a=>a,s))};r=[Z2([[new w0(0,[]),i(new w0(0,[]))],[new w0(1,[]),i(new w0(1,[]))],[new w0(2,[]),i(new w0(2,[]))],[new w0(3,[]),i(new w0(3,[]))]],{Compare:R0}),n]}else{const n=t,i=Z2(Je(o=>[o[0],Je(s=>s[1],Kc(o[1],{Compare:Pi}))],gy(o=>o[0],gn([n.Tail,[n.Head]]),{Equals:X,GetHashCode:cn})),{Compare:R0});r=[Z2([[new w0(0,[]),Le(kt(i,new w0(0,[])),Nt)],[new w0(1,[]),Le(kt(i,new w0(1,[])),Nt)],[new w0(2,[]),Le(kt(i,new w0(2,[])),Nt)],[new w0(3,[]),Le(kt(i,new w0(3,[])),Nt)]],{Compare:R0}),!1]}return[W9(r[1],e,r[0]),ge()]}function q9(e,t){const r=w2(e.Selections,t);let n;switch(!$t(X,r,Ae())&&r.length===1&&we(0,r)!=null?n=0:n=1,n){case 0:return!0;default:return!1}}function G9(e,t){let r;return e.DiscardedValues.length>0?(r=w2(e.Selections,t),!r.some(n=>n==null)):!1}function YC(e,t,r){const n=w2(e.Selections,t);return!$t(X,n,Ae())&&n.length===1?!1:D1(r,n,{Equals:X,GetHashCode:p1})}function ZC(e,t,r,n){return!X(r,n)&&e.IncomingValues.some(i=>X(i[0],n)?X(i[1],new d3(0,[])):!1)?D1(r,w2(e.Selections,t),{Equals:X,GetHashCode:p1}):!1}function KC(e,t,r){let n,i;const o=p=>W9(r.Prefilled,e,p);let s,a,l,c,d,f,m,h;switch(t.tag){case 1:{q9(r,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{YC(r,t.fields[0],t.fields[1])?(s=2,c=t.fields[0],d=t.fields[1]):s=4;break}case 3:{ZC(r,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],m=t.fields[1],h=t.fields[2]):s=4;break}default:G9(r,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(L3(a,p=>i0(v=>Ha(v,Nt),p),r.Selections)),ge()];case 1:return[o(L3(l,p=>i0(v=>Nt,p),r.Selections)),ge()];case 2:return[o(L3(c,(n=(i=[d],p=>wl(i,p,{Equals:X,GetHashCode:p1})),p=>i0(n,p)),r.Selections)),ge()];case 3:return[o(L3(f,p=>i0(v=>Je(b=>X(b,m)?h:b,v),p),r.Selections)),ge()];default:return[r,ge()]}}function JC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.9999 12.6C10.0927 12.6 12.5999 10.0928 12.5999 7.00002C12.5999 3.90723 10.0927 1.40002 6.9999 1.40002C3.90711 1.40002 1.3999 3.90723 1.3999 7.00002C1.3999 10.0928 3.90711 12.6 6.9999 12.6ZM7.6999 4.90002C7.6999 4.51342 7.3865 4.20002 6.9999 4.20002C6.6133 4.20002 6.2999 4.51342 6.2999 4.90002V6.30002H4.8999C4.5133 6.30002 4.1999 6.61342 4.1999 7.00002C4.1999 7.38662 4.5133 7.70002 4.8999 7.70002H6.2999V9.10002C6.2999 9.48662 6.6133 9.80002 6.9999 9.80002C7.3865 9.80002 7.6999 9.48662 7.6999 9.10002V7.70002H9.0999C9.4865 7.70002 9.7999 7.38662 9.7999 7.00002C9.7999 6.61342 9.4865 6.30002 9.0999 6.30002H7.6999V4.90002Z",["d",n]),["fill","currentColor"]])))),["children",w.Children.toArray(Array.from(r))])])))}function XC(e,t,r,n,i,o,s){let a,l,c,d,f,m;return u("div",y(g([["key",e0(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[u("div",y(g([["className",v0(" ",q(T(()=>F($t(X,t,Nt)?S("bg-gray-50 border-gray-200 text-gray-500"):S("bg-emerald-50 border-emerald-200 text-emerald-700"),T(()=>S("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(c=[u("div",{className:"text-sm font-medium leading-tight",children:yl(e)})],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[A5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[u("div",y(se((m=q(T(()=>De(h=>{let p,v,b;return u("div",y(g([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(p=[u("div",y(g([["className","justify-start items-end flex flex-col w-[206px]"],(v=q(T(()=>F(S(No(q(T(()=>{const _=Vi(i0(C=>C.fields[0],h));return F(S(new st(0,[_])),T(()=>F(S(new st(1,[C=>{V1(E=>{s([h,E[0]])},Vt(jt(E=>E[0].fields[0]===C?X(E[1],new d3(0,[])):!1,r)))}])),T(()=>{let C,E;return S(new st(2,[[u("div",y(g([Y0,["className","relative w-full"],(C=[Mo(g([new fr(0,["outline-gray-300 grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2"]),new fr(1,[[u("span",y(q(T(()=>{const N=h!=null?[_,""]:["Select a value","text-gray-500"];return F(S(["className",`${N[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>S(["children",N[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(E=[Oo(20,20)],["children",w.Children.toArray(Array.from(E))])])))]])])),Io(q(T(()=>S(new ko(`z-10 absolute ${e.tag===3?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),q(T(()=>wr(N=>{const I=N[1],D=N[0].fields[0];return S(Ro(g([new z0(0,[D]),new z0(1,[D]),new z0(2,[X(I,new d3(1,[]))&&D!==_]),new z0(3,["relative select-none"]),new z0(4,[P=>[u("span",{className:v0(" ",q(T(()=>F(S("px-4 py-2 block truncate"),T(()=>{const A=P.active;let x;switch(P.selected?A?x=2:x=1:I.tag===1?x=0:A?x=2:x=1,x){case 0:return S("text-gray-700 opacity-50 cursor-not-allowed");case 1:return S("text-gray-700");default:return S("bg-primary-600 text-white")}}))))),children:D})]])])))},r))))],["children",w.Children.toArray(Array.from(C))])])))]]))}))))})))),T(()=>X(h,Gc(t))?S(u("button",y(q(T(()=>{let _;return F(S((_=[JC(14,14),u("span",{children:["Map additional value"]})],["children",w.Children.toArray(Array.from(_))])),T(()=>F(S(["className",v0(" ",q(T(()=>F(S("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),T(()=>i==null?S("opacity-50 cursor-not-allowed underline"):S("cursor-pointer underline hover:text-gray-700"))))))]),T(()=>{const C=i;if(C==null)return Te();{const E=C;return S(["onClick",N=>{E()}])}}))))}))))):Te())))),["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","text-gray-500 text-xs font-normal pl-1"],(b=q(T(()=>{if(o!=null){const _=o;return S(u("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:C=>{_(h)}}))}else return S(u("button",y(q(T(()=>F(S(["children","Clear"]),T(()=>F(n==null?S(["className","opacity-50 underline cursor-not-allowed mt-2"]):S(["className","cursor-pointer underline py-2 hover:text-gray-700"]),T(()=>{const _=n;if(_==null)return Te();{const C=_;return S(["onClick",E=>{C()}])}})))))))))})),["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(p))])])))},t))),["children",w.Children.toArray(Array.from(m))]))))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(a))])])))}function QC(e){let t,r,n;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const c=zC(s,a);l=wt(()=>gt(()=>c,(p,v)=>KC(s,p,v),(p,v)=>{}),void 0,void 0);const d=l[0],f=l[1],m=w.useState(!1),h=m[0];return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[k2("Map values - Employment basis"),Tr("Match the values from your CSV to the corresponding destination values."),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(r=[u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(n=q(T(()=>F(d.Prefilled?S(E5("We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.")):S(Ae()),T(()=>F(h&&d.ValidatedMappings==null?S(U9("Map at least one value to continue.")):S(Ae()),T(()=>{let p,v,b,_,C,E,N,I,D;return S(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(p=[u("div",y(g([(v="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",v]),(b=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),u("div",y(g([["className",v0(" ",q(T(()=>F(d.NumberOfDestinationValuesMapped===4?S("bg-emerald-100 text-emerald-800"):S("bg-blue-100 text-blue-800"),T(()=>S("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(C=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(E=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(N=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(I=[u("div",y(se((D=q(T(()=>F(wr(P=>{let A,x,k;const M=P[0];return S(XC(M,P[1],d.IncomingValues,(A=M,q9(d,A)?()=>{f(new q3(1,[A]))}:void 0),(x=M,G9(d,x)?()=>{f(new q3(0,[x]))}:void 0),(k=M,w2(d.Selections,k).length>1?L=>{let O;f((O=[k,L],new q3(2,[O[0],O[1]])))}:void 0),L=>{let O;f((O=[M,L[0],L[1]],new q3(3,[O[0],O[1],O[2]])))}))},hf(d.Selections)),T(()=>{let P,A,x,k,M,L;return F(d.DiscardedValues.length===0?S(Ae()):S(u("div",y(g([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(P=[u("div",y(g([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(A=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(x=[H9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(x))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(k=[A5(16,12)],["children",w.Children.toArray(Array.from(k))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(M=[u("div",y(g([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(L=q(T(()=>F(S(u("div",y(q(T(()=>F(S(["className","font-medium"]),T(()=>{const O=d.DiscardedValues.length|0;return S(O===1?["children","Remaining 1 unused value:"]:["children",`Remaining ${O} unused values:`])}))))))),T(()=>{let O;return S(u("ul",y(g([Y0,["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(O=Je(j=>u("li",{children:[j]}),gn(y1(T(()=>F(S(Je(j=>j.fields[0],d.DiscardedValues.slice(void 0,8))),T(()=>d.DiscardedValues.length>8?S([`... and ${d.DiscardedValues.length-8} other values`]):Te())))))),["children",w.Children.toArray(Array.from(O))])]))))})))),["children",w.Children.toArray(Array.from(L))])])))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(P))])])))),T(()=>{let O;return S(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(O=q(T(()=>F(d.DiscardedValues.length===0?S(V9("All incoming values have been mapped.")):S(Ae()),T(()=>{let j,oe,Z,J,U,G,W;return S(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(oe=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(J="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",J]),["onClick",ie=>{i(d.ValidatedMappings)}],(U=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(U))])]))),u("button",y(g([(G="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",G]),["disabled",h&&d.ValidatedMappings==null],["onClick",ie=>{const Y=d.ValidatedMappings;Y==null?m[1](!0):o(Y)}],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),O3(13,8)],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(oe))])])))],["children",w.Children.toArray(Array.from(j))])]))))})))),["children",w.Children.toArray(Array.from(O))])]))))}))})))),["children",w.Children.toArray(Array.from(D))]))))],["children",w.Children.toArray(Array.from(I))])])))],["children",w.Children.toArray(Array.from(p))])]))))})))))),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let e4=class extends ue{constructor(t,r,n,i,o,s,a,l,c,d){super(),this.RowNumber=t|0,this.FirstName=r,this.LastName=n,this.Email=i,this.MobilePhone=o,this.EmploymentBasis=s,this.HasDuplicateEmailError=a,this.HasErrorOtherThanDuplicateEmail=l,this.HasExistingEmailError=c,this.Errors=d}};class Hs extends ue{constructor(t,r){super(),this.Summary=t,this.Details=r}}function G3(e){if(!Ht(e))return e}function z9(e,t,r){let n,i;const o=e.fields[0],s=t.MobilePhone,a=r!=null&&r[1]!=null?(n=r[0].fields[0].fields[0]|0,i=r[1],[n,xy(i)]):void 0,l=s!=null&&c5(new u5(o),s)?s:void 0;return g(Je(c=>{let d,f,m,h,p,v,b,_,C,E,N,I,D,P,A,x,k;const M=c.fields[0];return Z2(G0(L=>L,[(d=G3(we(t.FirstName.fields[0],M)),d==null?void 0:(f=d,[At(new Q(0,[])),f])),(m=G3(we(t.LastName.fields[0],M)),m==null?void 0:(h=m,[At(new Q(1,[])),h])),(p=G3(we(t.Email.fields[0],M)),p==null?void 0:(v=p,[At(new Q(2,[])),v])),(b=(_=l,_==null?void 0:(C=G3(we(_.fields[0],M)),C==null?void 0:j9(C))),b==null?void 0:(E=b,[At(new Q(3,[])),E])),(N=(I=a,I==null?void 0:(D=I,P=(A=we(D[0],M),x=Ae(),[df(D[1],A,new T0(()=>x,L=>{x=L})),x]),P[0]?P[1]:void 0)),N==null?void 0:(k=N,[At(new Q(4,[])),k]))]),{Compare:Ut})},o))}function P2(e,t,r){const n=At(r);return[kt(e,n),!Gi(i=>i.PropName===n,t)]}function ex(e,t){const r=vl(t.PropName);if(r==null)return["Invalid or missing field",!1];{const n=r,i=a3(n).toLocaleLowerCase();if(kt(e.Data,At(n))!=null){let s;switch(n.tag===2&&t.Message.startsWith("Duplicate")?s=0:s=1,s){case 0:return[`Duplicate ${i}`,!1];default:return[`Invalid ${i}`,!0]}}else return[`Missing ${i}`,!1]}}function Vs(e){const t=vl(e.PropName);if(t==null)return e.Message;{const r=t;let n;switch(r.tag===2&&e.Message.startsWith("Duplicate")?n=0:n=1,n){case 0:return`${a3(r)} exists in multiple rows`;default:return Aa(e.Message,e.Column,a3(r))}}}function tx(e,t,r,n,i){return B.Delay(()=>{const o=B.Delay(()=>{const s=e();return B.Bind(s,a=>{let l,c;const d=a;if(d.tag===1)return B.Return(new R(1,[d.fields[0]]));{const f=T8(A1(_=>_.Email.toLocaleLowerCase().trim(),d.fields[0]),{Compare:Ut}),m=At(new Q(2,[])),h=M1((_,C)=>{let E,N;const I=_[0]|0,D=_[1];return E=kt(C,m),(E==null?!1:(N=E,vn(N.toLocaleLowerCase().trim(),f)))?[I,F1(D,se([void 0,C]))]:[I+1,F1(D,se([I,C]))]},[0,Pe()],(l=[r,n,i],z9(l[0],l[1],l[2])))[1],p=A1(_=>_[1],N0(_=>_[0]!=null,h)),v=new F8((c=i,(c==null?void 0:c[1])!=null),s3((_,C)=>new ro(_+2,C),p)),b=t(v);return B.Bind(b,_=>{let C,E;const N=_;return E=N.tag===1?new R(1,[N.fields[0]]):new R(0,[(C=A1(I=>{let D,P,A,x,k;const M=Le((D=Q4(O=>O.RowId===I.RowId,N.fields[0].Errors),D==null?void 0:D.FieldErrors),Pe()),L=O=>P2(I.Data,M,O);return new e4(I.RowId-2+1,L(new Q(0,[])),L(new Q(1,[])),L(new Q(2,[])),L(new Q(3,[])),(P=L(new Q(4,[])),[(A=(x=P[0],x==null?void 0:_y(x)),A==null?void 0:yl(A)),P[1]]),Gi(O=>O.Message.startsWith("Duplicate Email"),M),!ke(N0(O=>!O.Message.startsWith("Duplicate Email"),M)),!1,ke(M)?void 0:ke(Oe(M))?(k=ex(I,pe(M)),new Hs(k[0],k[1]?se(Vs(pe(M))):void 0)):new Hs("Multiple invalid or missing fields",A1(Vs,M)))},v.Data),s3((I,D)=>{const P=D[0],A=D[1];if(P==null)return new e4(I+1,P2(A,Pe(),new Q(0,[])),P2(A,Pe(),new Q(1,[])),P2(A,Pe(),new Q(2,[])),P2(A,Pe(),new Q(3,[])),P2(A,Pe(),new Q(4,[])),!1,!1,!0,void 0);{const x=ud(P,C);return new e4(I+1,x.FirstName,x.LastName,x.Email,x.MobilePhone,x.EmploymentBasis,x.HasDuplicateEmailError,x.HasErrorOtherThanDuplicateEmail,x.HasExistingEmailError,x.Errors)}},h))]),B.Return(E)})}})});return B.TryWith(o,s=>{const a=new R(1,[e0(s)]);return B.Return(a)})})}function rx(e,t,r,n,i){return B.Delay(()=>B.TryWith(B.Delay(()=>{let o,s;return B.Bind(e(new P8((o=n,(o==null?void 0:o[1])!=null),X(i,new $0(0,[])),s3((a,l)=>new ro(a+2,l),(s=[t,r,n],z9(s[0],s[1],s[2]))))),a=>{let l;return B.Return((l=a,l.tag===1?new R(1,[l.fields[0]]):new R(0,[l.fields[0].ImportId])))})}),o=>B.Return(new R(1,[e0(o)]))))}let i2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validated","SetInviteTiming","ShowOnlyRowsWithErrors","ShowExistingUserRows","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},o2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validating","Reviewing"]}};class L2 extends ue{constructor(t,r,n,i,o,s,a,l,c,d,f,m,h,p,v,b){super(),this.Data=t,this.InviteTiming=r,this.DuplicateEmailCount=n|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=i|0,this.NumberOfImportableRows=o|0,this.NumberOfInvalidRows=s|0,this.NumberOfRows=a|0,this.NumberOfExistingUsers=l|0,this.ShowingOnlyRowsWithErrors=c,this.ShowingExistingUsers=d,this.HasErrors=f,this.RowFrom=m|0,this.RowTo=h|0,this.NumberOfFilteredRows=p|0,this.Page=v,this.PageNo=b|0}}function nx(e,t,r){return[new o2(0,[]),o5(g([s1(t,new h0(5,[{RowCount:cy(r)}])),hp(n=>{mp(n)},e,void 0,n=>new i2(0,[n]))]))]}function Vr(e,t,r,n){const i=(e-1)*20|0,o=e*20-1|0,s=r?N0(n?l=>l.Errors!=null?!0:l.HasExistingEmailError:l=>l.Errors!=null,t):n?t:N0(l=>!l.HasExistingEmailError,t),a=Za(i,o,s);if(ke(a))return[0,0,l0(s),Pe()];{const l=a;return[i+1,i+l0(l),l0(s),l]}}function Y9(e){return e.PageNo>1}function Z9(e){return e.RowTo<e.NumberOfFilteredRows}function ix(e,t,r){const n=N0(o=>o.Errors!=null,e.Data),i=s3((o,s)=>{const a=Le(i0(p=>p.Summary,s.Errors),""),l=Le(s.FirstName[0],""),c=Le(s.LastName[0],""),d=Le(s.Email[0],""),f=Le(s.MobilePhone[0],""),m=Le(s.EmploymentBasis[0],""),h=o===l0(n)-1?"":`
|
|
50
|
-
`;return
|
|
51
|
-
`))))))))))))))))),i)}function ox(e,t,r,n){let i,o,s,a,l,c,d,f,m,h,p,v,b,_;switch(r.tag){case 1:{n.tag===1?(s=2,c=r.fields[0],d=n.fields[0]):(s=8,_=n);break}case 2:{n.tag===1?(i=n.fields[0],i.HasErrors&&i.ShowingOnlyRowsWithErrors!==r.fields[0]?(s=3,f=n.fields[0],m=r.fields[0]):(s=8,_=n)):(s=8,_=n);break}case 3:{n.tag===1?(o=n.fields[0],o.NumberOfExistingUsers>0&&o.ShowingExistingUsers!==r.fields[0]?(s=4,h=n.fields[0],p=r.fields[0]):(s=8,_=n)):(s=8,_=n);break}case 4:{n.tag===1&&Z9(n.fields[0])?(s=5,v=n.fields[0]):(s=8,_=n);break}case 5:{n.tag===1&&Y9(n.fields[0])?(s=6,b=n.fields[0]):(s=8,_=n);break}case 6:{n.tag===1&&n.fields[0].HasErrors?s=7:(s=8,_=n);break}default:r.fields[0].tag===1?n.tag===0?(s=1,l=r.fields[0].fields[0]):(s=8,_=n):n.tag===0?(s=0,a=r.fields[0].fields[0]):(s=8,_=n)}switch(s){case 0:{let C;const E=[a,!1,!1];C=Vr(1,E[0],E[1],E[2]);const N=l0(N0(A=>A.HasDuplicateEmailError,a))|0,I=l0(N0(A=>A.Errors!=null,a))|0,D=l0(N0(A=>A.HasExistingEmailError,a))|0,P=l0(a)-I-D|0;return[new o2(1,[new L2(a,new $0(1,[]),N,l0(N0(A=>A.HasErrorOtherThanDuplicateEmail,a)),P,I,l0(a),D,!1,!1,Gi(A=>A.Errors!=null,a),C[0],C[1],C[2],C[3],1)]),s1(t,new h0(6,[{DuplicateCount:N,ExistingUserCount:D,RowCount:l0(a)-D,SuccessCount:P,TotalFailedCount:I}]))]}case 1:return[n,s1(e,l)];case 2:return[new o2(1,[new L2(d.Data,c,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfImportableRows,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfExistingUsers,d.ShowingOnlyRowsWithErrors,d.ShowingExistingUsers,d.HasErrors,d.RowFrom,d.RowTo,d.NumberOfFilteredRows,d.Page,d.PageNo)]),ge()];case 3:{let C;const E=[f.Data,m,f.ShowingExistingUsers];return C=Vr(1,E[0],E[1],E[2]),[new o2(1,[new L2(f.Data,f.InviteTiming,f.DuplicateEmailCount,f.NumberOfRowsWithErrorsOtherThanDuplicateEmail,f.NumberOfImportableRows,f.NumberOfInvalidRows,f.NumberOfRows,f.NumberOfExistingUsers,m,f.ShowingExistingUsers,f.HasErrors,C[0],C[1],C[2],C[3],1)]),ge()]}case 4:{let C;const E=[h.Data,h.ShowingOnlyRowsWithErrors,p];return C=Vr(1,E[0],E[1],E[2]),[new o2(1,[new L2(h.Data,h.InviteTiming,h.DuplicateEmailCount,h.NumberOfRowsWithErrorsOtherThanDuplicateEmail,h.NumberOfImportableRows,h.NumberOfInvalidRows,h.NumberOfRows,h.NumberOfExistingUsers,h.ShowingOnlyRowsWithErrors,p,h.HasErrors,C[0],C[1],C[2],C[3],1)]),ge()]}case 5:{const C=v.PageNo+1|0;let E;const N=[v.Data,v.ShowingOnlyRowsWithErrors,v.ShowingExistingUsers];return E=Vr(C,N[0],N[1],N[2]),[new o2(1,[new L2(v.Data,v.InviteTiming,v.DuplicateEmailCount,v.NumberOfRowsWithErrorsOtherThanDuplicateEmail,v.NumberOfImportableRows,v.NumberOfInvalidRows,v.NumberOfRows,v.NumberOfExistingUsers,v.ShowingOnlyRowsWithErrors,v.ShowingExistingUsers,v.HasErrors,E[0],E[1],E[2],E[3],C)]),ge()]}case 6:{const C=b.PageNo-1|0;let E;const N=[b.Data,b.ShowingOnlyRowsWithErrors,b.ShowingExistingUsers];return E=Vr(C,N[0],N[1],N[2]),[new o2(1,[new L2(b.Data,b.InviteTiming,b.DuplicateEmailCount,b.NumberOfRowsWithErrorsOtherThanDuplicateEmail,b.NumberOfImportableRows,b.NumberOfInvalidRows,b.NumberOfRows,b.NumberOfExistingUsers,b.ShowingOnlyRowsWithErrors,b.ShowingExistingUsers,b.HasErrors,E[0],E[1],E[2],E[3],C)]),ge()]}case 7:return[n,s1(t,new h0(7,[]))];default:return[_,ge()]}}function T5(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M12.6666 14.6667H3.33328C2.23062 14.6667 1.33328 13.7693 1.33328 12.6667V10H2.66662V12.6667C2.66662 13.034 2.96595 13.3333 3.33328 13.3333H12.6666C13.0339 13.3333 13.3333 13.034 13.3333 12.6667V10H14.6666V12.6667C14.6666 13.7693 13.7693 14.6667 12.6666 14.6667Z",["d",n]),["fill","#2E66F7"]]))),u("path",y(g([(i="M11.3333 5.72395L8.66667 8.39062V1.33328H7.33333V8.39062L4.66667 5.72395L3.724 6.66662L8 10.9426L12.276 6.66662L11.3333 5.72395Z",["d",i]),["fill","#2E66F7"]])))]),["children",w.Children.toArray(Array.from(r))])])))}function K9(e,t,r){let n,i,o,s,a,l,c,d,f,m,h,p,v,b,_,C,E,N,I,D,P,A,x;return A2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[T2(se(new ct(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",k=>{r()}],["type","button"],["className","text-gray-600"],(s=[Kt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",y(se((l=" are required to create a user. While “Mobile number” and “Employment basis” are optional, they are recommended for improved searching and filtering.",["children",l]))))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(c=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[u("span",{children:"First name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(se((f=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(m=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(h=[u("span",{children:"Last name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(se((p=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(v=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",w.Children.toArray(Array.from(v))])])))],["children",w.Children.toArray(Array.from(p))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(b=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(se((_=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(C=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),u("div",y(se((E=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(N=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"+61432368712"})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(E))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),u("div",y(se((I=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(D=[u("span",{children:"One of the following options:"}),u("br",{}),u("ul",y(g([["className","italic list-disc px-3"],(P=[u("li",{children:"Full-time"}),u("li",{children:"Part-time"}),u("li",{children:"Labour hire"}),u("li",{children:"Casual"})],["children",w.Children.toArray(Array.from(P))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(I))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users_template"],(A=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(x=[T5(16,16)],["children",w.Children.toArray(Array.from(x))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}function sx(e,t){let r,n,i,o,s,a,l,c,d,f,m,h,p;return A2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[T2(se(new ct(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),u("button",y(g([["onClick",v=>{t()}],["type","button"],["className","text-gray-600"],(o=[Kt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-gray-500 text-sm font-normal pt-6"],(s=[u("p",y(se((a=[u("span",{children:["Workplace benefits is a"]}),u("span",{className:"font-semibold",children:" free platform "}),(l="for your entire workforce – including full-time, part-time, casual employees, and volunteers. It allows you to share company benefits while supporting employee wellbeing.",u("span",{children:[l]}))],["children",w.Children.toArray(Array.from(a))])))),u("p",y(g([["className","pt-3"],(c=[(d="With workplace benefits, your people can access everyday savings from top Australian brands like Woolworths, Kmart, Harvey Norman, The Iconic, and more – all through the ",u("span",{children:[d]})),u("span",{className:"font-semibold text-nowrap",children:" Flare App"}),u("span",{children:["."]})],["children",w.Children.toArray(Array.from(c))])]))),u("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),u("ul",y(g([["className","list-inside list-disc pt-3"],(f=[u("li",y(se((m=[u("span",{className:"font-semibold",children:"Savings "}),u("span",{children:["on essentials like food, fuel, and more."]})],["children",w.Children.toArray(Array.from(m))])))),u("li",y(g([["className","pt-2"],(h=[u("span",{className:"font-semibold",children:"Exclusive offers "}),u("span",{children:["from leading brands and retailers."]})],["children",w.Children.toArray(Array.from(h))])]))),u("li",y(g([["className","pt-2"],(p=[u("span",{className:"font-semibold",children:"Tax savings "}),u("span",{children:["with salary packaging."]})],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}const ax=e=>u("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Group 67"},u("path",{id:"Vector",d:"M24.2605 17.5933C17.766 17.5933 12.5005 22.9015 12.5005 29.4469V53.1561H36.0205V29.4469C36.0205 22.8995 30.7549 17.5933 24.2605 17.5933Z",fill:"url(#paint0_linear_4467_4223)"}),u("g",{id:"Group",opacity:.95},u("path",{id:"Vector_2",d:"M35.76 35.646C29.2655 35.646 24 40.9115 24 47.406V53.1558H47.52V47.406C47.52 40.9115 42.2544 35.646 35.76 35.646Z",fill:"url(#paint1_linear_4467_4223)"})),u("path",{id:"Vector_3",opacity:.95,d:"M12.24 35.646C5.74553 35.646 0.47998 40.9115 0.47998 47.406V53.1558H24V47.406C24 40.9115 18.7344 35.646 12.24 35.646Z",fill:"url(#paint2_linear_4467_4223)"}),u("path",{id:"Vector_4",d:"M24.1303 16.8098C28.5328 16.8098 32.1018 13.2408 32.1018 8.83827C32.1018 4.43569 28.5328 0.866699 24.1303 0.866699C19.7277 0.866699 16.1587 4.43569 16.1587 8.83827C16.1587 13.2408 19.7277 16.8098 24.1303 16.8098Z",fill:"#0095F2"}),u("path",{id:"Vector_5",opacity:.93,d:"M13.1537 35.1253C17.5563 35.1253 21.1253 31.5563 21.1253 27.1537C21.1253 22.7511 17.5563 19.1821 13.1537 19.1821C8.75112 19.1821 5.18213 22.7511 5.18213 27.1537C5.18213 31.5563 8.75112 35.1253 13.1537 35.1253Z",fill:"#FF876F"}),u("path",{id:"Vector_6",opacity:.93,d:"M35.89 35.1253C40.2926 35.1253 43.8616 31.5563 43.8616 27.1537C43.8616 22.7511 40.2926 19.1821 35.89 19.1821C31.4875 19.1821 27.9185 22.7511 27.9185 27.1537C27.9185 31.5563 31.4875 35.1253 35.89 35.1253Z",fill:"#A650FF"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#161E37"}),u("stop",{offset:.11,stopColor:"#172243"}),u("stop",{offset:.31,stopColor:"#1B2E62"}),u("stop",{offset:.57,stopColor:"#214196"}),u("stop",{offset:.89,stopColor:"#2A5CDD"}),u("stop",{offset:1,stopColor:"#2E66F7"})),u("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{offset:.11,stopColor:"#FF876F"}),u("stop",{offset:.99,stopColor:"#A650FF"})),u("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#0095F2"}),u("stop",{offset:.29,stopColor:"#307CF6"}),u("stop",{offset:.61,stopColor:"#6163FB"}),u("stop",{offset:.86,stopColor:"#7F54FD"}),u("stop",{offset:1,stopColor:"#8B4FFF"})))),lx=e=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},u("path",{d:"M6.00033 0.666504C3.05966 0.666504 0.666992 3.05917 0.666992 5.99984C0.666992 8.9405 3.05966 11.3332 6.00033 11.3332C8.94099 11.3332 11.3337 8.9405 11.3337 5.99984C11.3337 3.05917 8.94099 0.666504 6.00033 0.666504ZM6.50033 8.54584C6.50033 8.82184 6.27633 9.04584 6.00033 9.04584C5.72433 9.04584 5.50033 8.82184 5.50033 8.54584V5.49984C5.50033 5.22384 5.72433 4.99984 6.00033 4.99984C6.27633 4.99984 6.50033 5.22384 6.50033 5.49984V8.54584ZM6.00033 4.49984C5.63233 4.49984 5.33366 4.2005 5.33366 3.83317C5.33366 3.46584 5.63233 3.1665 6.00033 3.1665C6.36833 3.1665 6.66699 3.46584 6.66699 3.83317C6.66699 4.2005 6.36833 4.49984 6.00033 4.49984Z",fill:"currentColor"})),ux=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),u("g",{clipPath:"url(#clip0_4584_4202)"},u("path",{d:"M9.24302 26.953L18.152 10.111C18.33 9.77467 18.5963 9.49321 18.9222 9.2969C19.2482 9.10059 19.6215 8.99686 20.002 8.99686C20.3825 8.99686 20.7559 9.10059 21.0818 9.2969C21.4078 9.49321 21.6741 9.77467 21.852 10.111L30.761 26.953C30.9282 27.2708 31.0103 27.6266 30.9991 27.9855C30.988 28.3445 30.8841 28.6944 30.6975 29.0013C30.5109 29.3081 30.2479 29.5614 29.9343 29.7364C29.6207 29.9115 29.2672 30.0023 28.908 30H11.092C10.7332 30.0016 10.3801 29.9103 10.0671 29.735C9.75404 29.5597 9.49169 29.3063 9.30555 28.9996C9.11942 28.6928 9.01583 28.3431 9.00488 27.9845C8.99392 27.6259 9.07596 27.2705 9.24302 26.953V26.953Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20 27C20.8284 27 21.5 26.3284 21.5 25.5C21.5 24.6716 20.8284 24 20 24C19.1716 24 18.5 24.6716 18.5 25.5C18.5 26.3284 19.1716 27 20 27Z",fill:"#DC2626"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#FECACA"}),u("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),u("clipPath",{id:"clip0_4584_4202"},u("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),cx=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.3272 22.6261C28.5428 23.1983 28.2016 23.8306 27.6205 24.025C26.6465 24.3503 25.3424 24.6628 23.7902 24.7151C23.7699 24.6508 23.7476 24.5864 23.7234 24.522C23.042 22.7136 21.7109 21.2192 20.0107 20.3308C20.9217 19.6032 22.0762 19.1683 23.3339 19.1683C25.6205 19.1683 27.5661 20.6061 28.3272 22.6261Z",fill:"#93C5FD"}),u("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",fill:"#93C5FD"}),u("path",{d:"M16.3892 19.1667C17.6165 19.1667 18.6114 18.1718 18.6114 16.9445C18.6114 15.7172 17.6165 14.7222 16.3892 14.7222C15.1619 14.7222 14.167 15.7172 14.167 16.9445C14.167 18.1718 15.1619 19.1667 16.3892 19.1667Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20.6771 26.8022C21.2583 26.6078 21.5994 25.9756 21.3838 25.4033C20.6227 23.3833 18.6771 21.9456 16.3905 21.9456C14.1038 21.9456 12.1583 23.3833 11.3971 25.4033C11.1816 25.9767 11.5227 26.6089 12.1038 26.8022C13.1727 27.1589 14.6383 27.5 16.3916 27.5C18.1449 27.5 19.6094 27.1589 20.6771 26.8022Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M24.1664 24.6967C25.553 24.6111 26.7264 24.3233 27.6208 24.0245C28.2019 23.83 28.543 23.1978 28.3275 22.6256C27.5664 20.6056 25.6208 19.1678 23.3341 19.1678C22.2486 19.1678 21.2397 19.4922 20.3975 20.0489",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("defs",null,u("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#D6E2FC"}),u("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),dx=e=>u("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{clipPath:"url(#clip0_3030_30757)"},u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.40895 5.42706C5.79785 4.83985 8.86151 3.00302 11.0249 0.261313C11.1152 0.153807 11.235 0.0767261 11.3686 0.0401219C11.5021 0.00351777 11.6434 0.0090886 11.7738 0.056108C11.9043 0.103127 12.0179 0.189414 12.0999 0.303716C12.1819 0.418018 12.2285 0.555032 12.2335 0.696894L12.2335 11.4663C12.2313 11.588 12.1985 11.7071 12.1382 11.812C12.078 11.9168 11.9924 12.0039 11.8897 12.0648C11.787 12.1257 11.6708 12.1583 11.5522 12.1594C11.4336 12.1606 11.3168 12.1303 11.213 12.0714L2.17962 6.71732C2.06323 6.6422 1.97142 6.53301 1.91604 6.40381C1.86067 6.27462 1.84426 6.13136 1.86894 5.9925C1.89362 5.85364 1.95825 5.72556 2.05451 5.62478C2.15076 5.52399 2.27422 5.45513 2.40895 5.42706ZM2.40895 22.6054C5.79785 23.1926 8.86151 25.0295 11.0249 27.7712C11.1152 27.8787 11.235 27.9557 11.3686 27.9923C11.5021 28.029 11.6434 28.0234 11.7738 27.9764C11.9043 27.9293 12.0179 27.8431 12.0999 27.7288C12.1819 27.6145 12.2285 27.4774 12.2335 27.3356L12.2335 16.5756C12.2328 16.453 12.2012 16.3328 12.1416 16.2267C12.082 16.1205 11.9965 16.0321 11.8936 15.9701C11.7906 15.9081 11.6738 15.8747 11.5544 15.8731C11.4351 15.8715 11.3174 15.9018 11.213 15.961L2.17962 21.3151C2.06323 21.3903 1.97142 21.4995 1.91604 21.6287C1.86067 21.7578 1.84426 21.9011 1.86894 22.04C1.89362 22.1788 1.95825 22.3069 2.05451 22.4077C2.15076 22.5085 2.27422 22.5773 2.40895 22.6054ZM0.20511 8.8811C1.43425 12.1754 1.45137 15.8168 0.253269 19.1231C0.21046 19.2568 0.207545 19.4007 0.244898 19.5361C0.28225 19.6715 0.358167 19.7924 0.462907 19.8833C0.567647 19.9741 0.696433 20.0307 0.832742 20.0459C0.96905 20.0611 1.10666 20.0341 1.22793 19.9684L10.2567 14.6166C10.3578 14.5537 10.4414 14.465 10.4994 14.3592C10.5574 14.2535 10.5879 14.1341 10.5879 14.0127C10.5879 13.8913 10.5574 13.772 10.4994 13.6662C10.4414 13.5604 10.3578 13.4717 10.2567 13.4088L1.17518 8.02406C1.05302 7.95812 0.914374 7.93142 0.777244 7.94743C0.640114 7.96344 0.510844 8.02142 0.406231 8.11384C0.301618 8.20627 0.226497 8.32886 0.190631 8.46568C0.154764 8.60251 0.159809 8.74725 0.20511 8.8811ZM23.6634 22.6054C20.2745 23.1926 17.2108 25.0295 15.0474 27.7712C14.9571 27.8787 14.8374 27.9557 14.7038 27.9923C14.5702 28.029 14.4289 28.0234 14.2985 27.9764C14.168 27.9293 14.0544 27.8431 13.9724 27.7288C13.8904 27.6145 13.8439 27.4774 13.8388 27.3356L13.8388 16.5756C13.8397 16.4534 13.8714 16.3335 13.9309 16.2277C13.9904 16.1219 14.0756 16.0337 14.1781 15.9718C14.2807 15.9098 14.3972 15.8763 14.5162 15.8744C14.6352 15.8725 14.7527 15.9024 14.8571 15.961L23.8927 21.3152C24.0091 21.3903 24.1009 21.4995 24.1563 21.6287C24.2117 21.7579 24.2281 21.9011 24.2034 22.04C24.1787 22.1788 24.1141 22.3069 24.0178 22.4077C23.9216 22.5085 23.7981 22.5773 23.6634 22.6054ZM15.0474 0.261313C17.2108 3.00302 20.2745 4.83985 23.6634 5.42706C23.7981 5.45513 23.9216 5.52399 24.0178 5.62478C24.1141 5.72556 24.1787 5.85364 24.2034 5.9925C24.2281 6.13136 24.2117 6.27462 24.1563 6.40381C24.1009 6.53301 24.0091 6.6422 23.8927 6.71732L14.8571 12.0714C14.7533 12.1297 14.6367 12.1596 14.5185 12.1581C14.4002 12.1567 14.2844 12.124 14.182 12.0632C14.0797 12.0024 13.9943 11.9155 13.9342 11.8109C13.8741 11.7064 13.8412 11.5877 13.8388 11.4663L13.8388 0.696894C13.8439 0.555032 13.8904 0.418018 13.9724 0.303716C14.0544 0.189414 14.168 0.103127 14.2985 0.056108C14.4289 0.0090886 14.5702 0.00351777 14.7038 0.0401219C14.8374 0.0767261 14.9571 0.153807 15.0474 0.261313ZM25.8168 8.90935C24.6184 12.2158 24.6363 15.8576 25.8672 19.1514C25.913 19.2855 25.9182 19.4307 25.8823 19.5679C25.8464 19.7052 25.7711 19.8281 25.666 19.9207C25.561 20.0133 25.4312 20.0711 25.2936 20.0868C25.1561 20.1024 25.0171 20.0751 24.8949 20.0084L15.8111 14.6237C15.71 14.5607 15.6264 14.4721 15.5684 14.3663C15.5104 14.2605 15.4799 14.1412 15.4799 14.0198C15.4799 13.8984 15.5104 13.779 15.5684 13.6732C15.6264 13.5674 15.71 13.4788 15.8111 13.4158L24.8421 8.06409C24.9634 7.9984 25.101 7.97141 25.2373 7.98657C25.3736 8.00174 25.5024 8.05837 25.6072 8.14921C25.7119 8.24004 25.7878 8.36093 25.8252 8.49637C25.8625 8.63181 25.8596 8.77562 25.8168 8.90935Z",fill:"#2696EC"}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2209 10.9851V23.8468H35.8118V10.9851H33.4648V7.92778H35.8118V6.51672C35.8118 4.91439 36.1765 3.76595 36.9061 3.0714C37.6356 2.37685 38.8454 2.02879 40.5355 2.02722H42.4442V4.82816H41.2857C40.5347 4.82816 40.0032 4.98495 39.6912 5.29851C39.3769 5.6207 39.2209 6.16396 39.2209 6.94474V7.93718H42.3891V10.9945L39.2209 10.9851ZM48.9092 2.03663L45.4679 2.03663V23.8421L48.9092 23.8421V2.03663ZM67.5974 23.8468V7.93718L64.2755 7.93718V10.1196C63.6573 9.3308 62.873 8.69564 61.9813 8.26172C61.0863 7.83165 60.1089 7.61228 59.1205 7.6197C58.0959 7.5972 57.0782 7.79484 56.1327 8.19987C55.1871 8.60491 54.3348 9.20838 53.6305 9.97145C52.1393 11.5597 51.3937 13.5195 51.3937 15.8508C51.3952 18.2324 52.1202 20.2032 53.5686 21.7632C55.017 23.3232 56.8362 24.1031 59.0264 24.1031C60.0369 24.1101 61.0362 23.886 61.9515 23.447C62.8575 23.009 63.6545 22.3657 64.2823 21.5656V23.8468H67.5974ZM55.138 17.7811C54.9016 17.1671 54.7876 16.5107 54.8028 15.8508C54.7876 15.1909 54.9016 14.5346 55.138 13.9206C55.3744 13.3066 55.7285 12.7475 56.1794 12.2762C56.6129 11.8155 57.1322 11.4489 57.7066 11.1979C58.281 10.947 58.8988 10.8169 59.5231 10.8153C60.1475 10.8138 60.7658 10.9409 61.3414 11.189C61.917 11.4371 62.4381 11.8012 62.8737 12.2597C63.3183 12.7374 63.6661 13.3008 63.8968 13.9172C64.1276 14.5337 64.2368 15.1909 64.2181 15.8508C64.2368 16.5108 64.1276 17.168 63.8968 17.7844C63.6661 18.4009 63.3183 18.9642 62.8737 19.442C62.4381 19.9005 61.917 20.2646 61.3414 20.5127C60.7658 20.7608 60.1475 20.8879 59.5231 20.8863C58.8988 20.8848 58.281 20.7547 57.7066 20.5038C57.1322 20.2528 56.6129 19.8861 56.1794 19.4255C55.7285 18.9542 55.3744 18.395 55.138 17.7811ZM74.317 14.254V23.8468H70.9079V7.93718L74.223 7.93718V9.54108C74.592 8.94917 75.0969 8.45902 75.6935 8.11357C76.2985 7.77921 76.977 7.60919 77.6642 7.6197C78.1147 7.61511 78.5633 7.68012 78.9948 7.81254C79.3586 7.91663 79.6949 8.10308 79.979 8.35815L78.2584 11.4366C78.0425 11.2918 77.8055 11.1831 77.5564 11.1144C77.3265 11.052 77.0899 11.0196 76.8521 11.018C76.4954 11.0017 76.1402 11.0733 75.8161 11.2268C75.4919 11.3802 75.2084 11.611 74.9892 11.8999C74.5411 12.4863 74.317 13.271 74.317 14.254ZM95.8271 16.467C95.8432 16.34 95.8432 16.1472 95.8432 15.8908C95.8355 13.4967 95.0815 11.5197 93.5811 9.95969C92.0807 8.3997 90.1835 7.6197 87.8893 7.6197C85.5676 7.61186 83.642 8.38872 82.1126 9.95029C80.5831 11.5119 79.8184 13.4897 79.8184 15.8838C79.8184 18.2982 80.5587 20.2698 82.0392 21.7984C83.5197 23.3271 85.4384 24.0914 87.7952 24.0914C89.5346 24.1334 91.2443 23.6242 92.691 22.6333C94.0578 21.6868 95.0674 20.2892 95.5518 18.6729H91.9546C91.5609 19.4036 90.9761 20.0071 90.266 20.4156C89.5283 20.8295 88.6981 21.0394 87.8572 21.0247C86.7294 21.0612 85.6315 20.65 84.7922 19.877C83.977 19.1229 83.4975 18.1038 83.3537 16.8198H95.7812C95.8037 16.7033 95.819 16.5855 95.8271 16.467ZM87.8324 10.6957C87.8338 10.6957 87.8351 10.6958 87.8365 10.6958H87.8274C87.829 10.6958 87.8307 10.6957 87.8324 10.6957ZM84.9413 11.7212C85.7535 11.0344 86.7798 10.6704 87.8324 10.6957C88.8902 10.6749 89.9201 11.0447 90.7341 11.7376C91.5425 12.4257 92.0583 13.409 92.1725 14.4798L83.3927 14.4798C83.5781 13.4028 84.1261 12.4266 84.9413 11.7212Z",fill:"#143057"})),u("defs",null,u("clipPath",{id:"clip0_3030_30757"},u("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),fx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5C8.14219 5 5 8.14219 5 12C5 15.8578 8.14219 19 12 19C15.8578 19 19 15.8578 19 12C19 8.14219 15.8578 5 12 5ZM3 12C3 7.03763 7.03763 3 12 3C16.9624 3 21 7.03763 21 12C21 16.9624 16.9624 21 12 21C7.03763 21 3 16.9624 3 12Z",fill:"#10B981"}),u("path",{d:"M11.707 14.707C11.3165 15.0975 10.6834 15.0975 10.2928 14.707L8.29294 12.7071C7.90247 12.3166 7.90247 11.6835 8.29294 11.2931C8.6834 10.9026 9.31647 10.9026 9.70694 11.2931L10.9999 12.5861L14.2929 9.29306C14.6834 8.90259 15.3165 8.90259 15.7069 9.29306C16.0974 9.68353 16.0974 10.3166 15.7069 10.7071L11.707 14.707Z",fill:"#10B981"})),hx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("path",{d:"M12.0004 2.40002C6.72039 2.40002 2.40039 6.72002 2.40039 12C2.40039 17.28 6.72039 21.6 12.0004 21.6C17.2804 21.6 21.6004 17.28 21.6004 12C21.6004 6.72002 17.2804 2.40002 12.0004 2.40002ZM12.0004 19.2C8.04039 19.2 4.80039 15.96 4.80039 12C4.80039 8.04002 8.04039 4.80002 12.0004 4.80002C15.9604 4.80002 19.2004 8.04002 19.2004 12C19.2004 15.96 15.9604 19.2 12.0004 19.2Z",fill:"#DC2626"}),u("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),u("path",{d:"M12.0008 16.8C12.6635 16.8 13.2008 16.2628 13.2008 15.6C13.2008 14.9373 12.6635 14.4 12.0008 14.4C11.338 14.4 10.8008 14.9373 10.8008 15.6C10.8008 16.2628 11.338 16.8 12.0008 16.8Z",fill:"#DC2626"})),mx=e=>u("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Clock"},u("path",{id:"Icon",d:"M12.5 8V12L15.5 15M21.5 12C21.5 16.9706 17.4706 21 12.5 21C7.52944 21 3.5 16.9706 3.5 12C3.5 7.02944 7.52944 3 12.5 3C17.4706 3 21.5 7.02944 21.5 12Z",stroke:"#FB923C",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})));function Jt(e,t){return w.createElement(e,y(t))}function px(e){return Jt(ax,e)}function gx(e){return Jt(lx,e)}function wx(e){return Jt(ux,e)}function yx(e){return Jt(cx,e)}function vx(e){return Jt(dx,e)}function bx(e){return Jt(fx,e)}function _x(e){return Jt(hx,e)}function Cx(e){return Jt(mx,e)}function xx(e,t,r,n){let i,o,s,a,l,c,d,f,m,h,p;return A2(g([new g0(3,[e]),new g0(4,[r]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[T2(g([new ct(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new ct(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[u("button",y(g([["type","button"],["onClick",v=>{r()}],["className","text-gray-600"],(a=[Kt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(l=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(c=[yx([])],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[P9(g([new Dn(2,["text-gray-900 text-lg font-bold"]),new Dn(3,[[`Import ${h2(t)}`]])])),u("div",y(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[u("p",{children:[`Are you sure you want to import ${h2(t)}?`]})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(m=[u("button",y(g([["type","button"],["onClick",v=>{n()}],(h="inline-flex w-full justify-center rounded-md bg-emerald-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-emerald-700 sm:ml-3 sm:w-auto",["className",h]),["children","Confirm import"]]))),u("button",y(g([["type","button"],["onClick",v=>{r()}],(p="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",p]),["children","Cancel"]])))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))]])]))}function J9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=se(u("path",y(g([(n="M17.8008 14.5263L11.4838 2.88031C11.328 2.59137 11.0904 2.35483 10.8008 2.20031C10.4074 1.98974 9.94665 1.94305 9.51893 2.07039C9.0912 2.19773 8.73106 2.48881 8.51683 2.88031L2.20083 14.5263C2.06272 14.7826 1.99367 15.0704 2.00046 15.3614C2.00724 15.6525 2.08964 15.9368 2.23954 16.1863C2.38944 16.4359 2.60169 16.6422 2.85544 16.7849C3.10919 16.9276 3.39571 17.0018 3.68683 17.0003H16.3148C16.5939 17.0003 16.8686 16.9316 17.1148 16.8003C17.3099 16.6968 17.4825 16.5556 17.6228 16.3851C17.763 16.2145 17.8681 16.0178 17.932 15.8064C17.9958 15.595 18.0172 15.373 17.9949 15.1533C17.9726 14.9336 17.9069 14.7205 17.8018 14.5263H17.8008ZM10.0008 15.0003C9.80305 15.0003 9.60971 14.9417 9.44526 14.8318C9.28081 14.7219 9.15264 14.5657 9.07695 14.383C9.00126 14.2003 8.98146 13.9992 9.02004 13.8052C9.05863 13.6112 9.15387 13.4331 9.29372 13.2932C9.43358 13.1533 9.61176 13.0581 9.80574 13.0195C9.99972 12.9809 10.2008 13.0007 10.3835 13.0764C10.5662 13.1521 10.7224 13.2803 10.8323 13.4447C10.9422 13.6092 11.0008 13.8025 11.0008 14.0003C11.0008 14.2655 10.8955 14.5199 10.7079 14.7074C10.5204 14.8949 10.266 15.0003 10.0008 15.0003ZM11.0008 11.5003C11.0008 11.6329 10.9482 11.7601 10.8544 11.8539C10.7606 11.9476 10.6334 12.0003 10.5008 12.0003H9.50083C9.36822 12.0003 9.24104 11.9476 9.14728 11.8539C9.05351 11.7601 9.00083 11.6329 9.00083 11.5003V7.50031C9.00083 7.3677 9.05351 7.24052 9.14728 7.14675C9.24104 7.05298 9.36822 7.00031 9.50083 7.00031H10.5008C10.6334 7.00031 10.7606 7.05298 10.8544 7.14675C10.9482 7.24052 11.0008 7.3677 11.0008 7.50031V11.5003Z",["d",n]),["fill","#FBBF24"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Sx(e){return`${Hi(e,".")}.`}function js(e){return Hi(e,".")}function Ex(e){let t;const r=e.children,n=e.text,i=w.useState(!1),o=i[1];return u("div",y(g([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=q(T(()=>F(r,T(()=>{let s,a;return i[0]?S(u("div",y(g([(s="absolute z-50 top-0 left-full -translate-y-1/4 ml-1 text-left text-white text-xs leading-5 font-medium ring-1 ring-black ring-opacity-5 shadow-md rounded-md bg-gray-900 pl-6 pr-3 py-2 w-60 text-wrap",["className",s]),(a=q(T(()=>{let l;return ke(n)?S(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>De(c=>u("li",{children:[js(c)]}),n))),["children",w.Children.toArray(Array.from(l))])])))):ke(Oe(n))?S(u("p",{children:[Sx(pe(n))]})):S(u("ul",y(g([["className","list-outside list-disc"],(l=q(T(()=>De(c=>u("li",{children:[js(c)]}),n))),["children",w.Children.toArray(Array.from(l))])]))))})),["children",w.Children.toArray(Array.from(a))])])))):Te()})))),["children",w.Children.toArray(Array.from(t))])])))}function B2(e,t){let r;return u("div",y(g([["className",v0(" ",["animate-pulse w-full relative",e,t])],(r=[u("div",{className:v0(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",w.Children.toArray(Array.from(r))])])))}function Ax(){let e,t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[u("div",y(g([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[u("div",y(g([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[u("div",y(g([["className","w-[1030px]"],(n=q(T(()=>{let f,m,h,p;return F(S(u("div",y(g([["className","bg-gray-100 flex"],(f=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(m=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(h=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(p=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>De(v=>u("div",y(q(T(()=>F(v%2===1?S(["className","bg-white border-t border-gray-200 flex"]):S(["className","bg-gray-50 border-t border-gray-200 flex"]),T(()=>{let b,_,C,E;return S((b=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(_=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(_))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(C=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(C))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(E=[B2("h-5","w-full")],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(b))]))})))))),q(so(0,1,9)))))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])]))),u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(i=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(s=[u("button",y(g([(a="px-[13px] py-[9px] bg-white opacity-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex",["className",a]),["disabled",!0],(l=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(l))])]))),u("button",y(g([(c="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",c]),["disabled",!0],(d=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Tx(e){const t=Je(n=>n,dt(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}const Nx=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function Mx(e){let t,r,n;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,c=e.baseColumnMappings,d=e.dataRows,f=e.validateImportApiCallAsync,m=e.getCurrentAccountUsersApiCallAsync;let h;const p=nx(()=>tx(m,f,d,c,l),i,d);h=wt(()=>gt(()=>p,(x,k)=>ox(o,i,x,k),(x,k)=>{}),void 0,void 0);const v=h[1],b=w.useState(!1),_=b[1],C=w.useState(!1),E=C[1],N=w.useState(!1),I=N[0],D=N[1],P=Le(i0(x=>c5(d,x),c.MobilePhone),!1),A=qn(x=>x[1],l)!=null;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[K9(Nx,b[0],()=>{_(!1)}),sx(C[0],()=>{E(!1)}),k2("Review"),Tr("Preview your data and confirm that everything is mapped correctly."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[x2("What kind of data do I need?",()=>{_(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=[u("div",y(q(T(()=>F(S(["className","pt-6 flex-col justify-start items-start gap-4 inline-flex"]),T(()=>{let x,k,M;const L=h[0];if(L.tag===1){const O=L.fields[0],j=G=>{v(new i2(1,[G]))},oe=G=>{v(new i2(2,[G]))},Z=G=>{v(new i2(3,[G]))},J=Z9(O)?G=>{v(new i2(4,[]))}:void 0,U=Y9(O)?G=>{v(new i2(5,[]))}:void 0;return S((x=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(k=q(T(()=>F(S(xx(I,O.NumberOfImportableRows,()=>{D(!1)},()=>{I&&a([new u5(y1(De(G=>G[0],Ot(G=>{const W=G[1];return W.Errors==null?!W.HasExistingEmailError:!1},n8(d.fields[0],O.Data))))),O.InviteTiming])})),T(()=>{let G;return F(S(u("div",y(g([["className","flex-col justify-start items-start gap-3 inline-flex w-full"],(G=q(T(()=>{let W,ie,Y,$,fe,he,Ne,Ie,te,H;return F(O.HasErrors?S(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex w-full"],(W=[J9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(ie=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(Y=[u("span",{children:[O.NumberOfInvalidRows>1?`We found some issues across ${O.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(Y))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],($=q(T(()=>{let le;return F(O.DuplicateEmailCount>0?S((le=g([u("span",{className:"font-medium",children:`${O.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(le))}))):Te(),T(()=>{let be;return O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?S((be=g([u("span",{className:"font-medium",children:O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${O.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),u("li",{children:w.Children.toArray(Array.from(be))}))):Te()}))})),["children",w.Children.toArray(Array.from($))])]))),u("div",y(g([["className","px-2 py-1.5"],(fe=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(he=[u("span",{children:[(Ne=O.NumberOfImportableRows===0,Ie=O.NumberOfInvalidRows|0,Ne?Ie===1?"To import this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To import these rows later, download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:Ie===1?"You can continue the import without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the import without these ${O.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(he))])])))],["children",w.Children.toArray(Array.from(fe))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(te=[u("a",{className:"px-2 py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:Tx((H=[O,P,A],ix(H[0],H[1],H[2]))),onClick:le=>{v(new i2(6,[]))},download:"import_users_error_rows"})],["children",w.Children.toArray(Array.from(te))])])))],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(W))])])))):Te(),T(()=>{let le,be,ae,K,ne;return O.NumberOfExistingUsers>0?S(u("div",y(g([["className","p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex w-full"],(le=[L9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(be=[u("div",y(g([["className","self-stretch text-gray-800 text-sm font-medium leading-tight"],(ae=se(u("span",{children:[(K=["user already exists","users already exist"],i5(O.NumberOfExistingUsers,K[0],K[1]))]})),["children",w.Children.toArray(Array.from(ae))])]))),u("div",y(g([["className","text-gray-700 text-sm leading-tight"],(ne=se(u("span",{children:[`${Qm(O.NumberOfExistingUsers,"This","These")} will be automatically skipped during import.`]})),["children",w.Children.toArray(Array.from(ne))])])))],["children",w.Children.toArray(Array.from(be))])])))],["children",w.Children.toArray(Array.from(le))])])))):Te()}))})),["children",w.Children.toArray(Array.from(G))])])))),T(()=>{let W,ie,Y,$,fe,he,Ne,Ie,te,H,le,be,ae;return F(S(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(W=[u("div",y(g([["className","inline-flex justify-end items-center gap-6"],(ie=q(T(()=>{let K,ne;return F(O.NumberOfExistingUsers>0?S(u("div",y(g([["className","flex justify-start items-center gap-2 cursor-pointer"],["onClick",me=>{Z(!O.ShowingExistingUsers)}],(K=[u("input",y(g([["type","checkbox"],["checked",O.ShowingExistingUsers],(ne="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",ne]),["onKeyPress",me=>{me.preventDefault(),me.key==="Enter"&&Z(!O.ShowingExistingUsers)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show existing users"})],["children",w.Children.toArray(Array.from(K))])])))):Te(),T(()=>{let me,_e;return F(O.HasErrors?S(u("div",y(g([["className","flex justify-start items-center gap-2 cursor-pointer"],["onClick",re=>{oe(!O.ShowingOnlyRowsWithErrors)}],(me=[u("input",y(g([["type","checkbox"],["checked",O.ShowingOnlyRowsWithErrors],(_e="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",_e]),["onKeyPress",re=>{re.preventDefault(),re.key==="Enter"&&oe(!O.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(me))])])))):Te(),T(()=>{let re;return!O.HasErrors&&O.NumberOfExistingUsers===0?S(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(re=[Nr(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(re))])])))):Te()}))}))})),["children",w.Children.toArray(Array.from(ie))])]))),u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(Y=[u("div",y(se(($=[u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(fe=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(he=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(Ne=[(Ie=q(T(()=>F(S(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>F(O.HasErrors||O.NumberOfExistingUsers>0?S(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):Te(),T(()=>{let K;return F(S(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(K=[u("span",{children:["First name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(K))])])))),T(()=>{let ne;return F(S(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(ne=[u("span",{children:["Last name "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(ne))])])))),T(()=>{let me;return F(S(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(me=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(me))])])))),T(()=>F(P?S(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Mobile Phone"})):Te(),T(()=>A?S(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Employment Basis"})):Te()))))}))}))})))))),u("tr",{children:w.Children.toArray(Array.from(Ie))}))],["children",w.Children.toArray(Array.from(Ne))])]))),u("tbody",y(g([["className","divide-y divide-gray-200 text-gray-500"],(te=q(T(()=>De(K=>u("tr",y(q(T(()=>F(S(["key",K.RowNumber]),T(()=>{let ne;return F((ne=K.Errors!=null,ne?S(["className","bg-amber-50"]):K.HasExistingEmailError?S(["className","bg-gray-50 text-gray-500/50"]):S(["className","bg-white"])),T(()=>{let me;return S((me=q(T(()=>F(S(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm",children:K.RowNumber})),T(()=>F(O.HasErrors||O.NumberOfExistingUsers>0?S(u("td",y(q(T(()=>F(S(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let _e,re,xe,qe,o0;return K.Errors!=null?S((_e=[u("div",y(g([(re="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",re]),(xe=q(T(()=>F(S(u("span",{children:[V(K.Errors).Summary]})),T(()=>{let X0;const U0=V(K.Errors).Details;return U0==null?Te():S(u("div",y(g([["className","pl-1 text-amber-700 items-center inline-flex"],(X0=[u(Ex,{text:U0,children:[gx([])]})],["children",w.Children.toArray(Array.from(X0))])]))))})))),["children",w.Children.toArray(Array.from(xe))])])))],["children",w.Children.toArray(Array.from(_e))])):K.HasExistingEmailError?S((qe=[u("div",y(g([(o0="text-center text-gray-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-gray-100 rounded justify-center items-center inline-flex",["className",o0]),["children","Existing user"]])))],["children",w.Children.toArray(Array.from(qe))])):Te()}))))))):Te(),T(()=>F(S(u("td",y(q(T(()=>F(S(Y0),T(()=>{let _e,re;const xe=K.FirstName;return xe[0]==null?Te():xe[1]?(_e=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),T(()=>S(["children",_e])))):(re=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>S(["children",re]))))}))))))),T(()=>F(S(u("td",y(q(T(()=>F(S(Y0),T(()=>{let _e,re;const xe=K.LastName;return xe[0]==null?Te():xe[1]?(_e=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),T(()=>S(["children",_e])))):(re=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>S(["children",re]))))}))))))),T(()=>F(S(u("td",y(q(T(()=>F(S(Y0),T(()=>{let _e,re;const xe=K.Email;return xe[0]==null?Te():xe[1]?(_e=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),T(()=>S(["children",_e])))):(re=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>S(["children",re]))))}))))))),T(()=>F(P?S(u("td",y(q(T(()=>F(S(Tg),T(()=>{let _e,re;const xe=K.MobilePhone;return xe[0]==null?Te():xe[1]?(_e=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),T(()=>S(["children",_e])))):(re=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>S(["children",re]))))}))))))):Te(),T(()=>A?S(u("td",y(q(T(()=>{let _e,re;const xe=K.EmploymentBasis;return xe[0]==null?Te():xe[1]?(_e=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),T(()=>S(["children",_e])))):(re=xe[0],F(S(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),T(()=>S(["children",re]))))}))))):Te())))))))))))))),["children",w.Children.toArray(Array.from(me))]))}))})))))),O.Page))),["children",w.Children.toArray(Array.from(te))])])))],["children",w.Children.toArray(Array.from(he))])])))],["children",w.Children.toArray(Array.from(fe))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(H=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(le=[(be=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:O.NumberOfFilteredRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(be))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(ae=[u("button",y(q(T(()=>{let K;return F((K=U,K==null?S(["disabled",!0]):S(["onClick",K])),T(()=>{let ne;return F(S((ne="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",ne])),T(()=>{let me;return S((me=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(me))]))}))}))})))),u("button",y(q(T(()=>{let K;return F((K=J,K==null?S(["disabled",!0]):S(["onClick",K])),T(()=>{let ne;return F(S((ne="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",ne])),T(()=>{let me;return S((me=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(me))]))}))}))}))))],["children",w.Children.toArray(Array.from(ae))])])))],["children",w.Children.toArray(Array.from(le))])])))],["children",w.Children.toArray(Array.from(H))])])))],["children",w.Children.toArray(Array.from($))]))))],["children",w.Children.toArray(Array.from(Y))])])))],["children",w.Children.toArray(Array.from(W))])])))),T(()=>{let K,ne,me,_e,re,xe,qe,o0,X0,U0,x0,b1,n0,q0,Q0;return F(O.NumberOfImportableRows>0?S(u("div",y(g([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(K=[px([]),u("div",y(g([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(ne=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(me=[u("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${O.NumberOfImportableRows} users to workplace benefits`})],["children",w.Children.toArray(Array.from(me))])]))),x2("What is workplace benefits?",()=>{E(!0)}),u("div",y(se((_e=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(re=[u("div",y(g([["key",e0(new $0(1,[]))],["className","relative flex items-start"],(xe=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",k0=>{j(new $0(1,[]))}],(qe=[u("input",y(g([["id",e0(new $0(1,[]))],["name","InviteTiming"],["type","radio"],(o0="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",o0]),["checked",X(O.InviteTiming,new $0(1,[]))],["onChange",k0=>{k0.target.checked,j(new $0(1,[]))}]])))],["children",w.Children.toArray(Array.from(qe))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(X0=[u("label",{for:e0(new $0(1,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import now, invite later"}),u("p",{id:`${e0(new $0(1,[]))}-description`,className:"text-gray-500 text-sm font-normal leading-tight",children:"We’ll import your users now. You can invite them to workplace benefits at any time later."})],["children",w.Children.toArray(Array.from(X0))])])))],["children",w.Children.toArray(Array.from(xe))])])))],["children",w.Children.toArray(Array.from(re))])]))),u("div",y(se((U0=[u("div",y(g([["key",e0(new $0(0,[]))],["className","relative flex items-start"],(x0=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",k0=>{j(new $0(0,[]))}],(b1=[u("input",y(g([["id",e0(new $0(0,[]))],["name","InviteTiming"],["type","radio"],(n0="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",n0]),["checked",X(O.InviteTiming,new $0(0,[]))],["onChange",k0=>{k0.target.checked,j(new $0(0,[]))}]])))],["children",w.Children.toArray(Array.from(b1))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(q0=[u("label",{for:e0(new $0(0,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import and invite now"}),u("p",y(g([["id",`${e0(new $0(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(Q0="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",Q0])])))],["children",w.Children.toArray(Array.from(q0))])])))],["children",w.Children.toArray(Array.from(x0))])])))],["children",w.Children.toArray(Array.from(U0))]))))],["children",w.Children.toArray(Array.from(_e))]))))],["children",w.Children.toArray(Array.from(ne))])])))],["children",w.Children.toArray(Array.from(K))])])))):Te(),T(()=>{let k0,Ir,q1,e1,vt,Rr,$o,N5;return S(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(k0=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(Ir=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(q1=[u("button",y(g([(e1="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",e1]),["onClick",cu=>{s()}],(vt=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(vt))])]))),u("button",y(g([(Rr="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-emerald-600 hover:enabled:bg-emerald-700 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Rr]),["onClick",cu=>{D(!0)}],["disabled",O.NumberOfImportableRows===0],($o=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(N5=O.NumberOfImportableRows|0,N5===0?"Import users":N5===1?"Import 1 user":`Import ${O.NumberOfImportableRows} users`)})],["children",w.Children.toArray(Array.from($o))])])))],["children",w.Children.toArray(Array.from(q1))])])))],["children",w.Children.toArray(Array.from(Ir))])])))],["children",w.Children.toArray(Array.from(k0))])]))))}))}))}))})))),["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(x))]))}else return S((M=[Ax()],["children",w.Children.toArray(Array.from(M))]))}))))))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}var U2={},t4,Ws;function C0(){return Ws||(Ws=1,t4={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),t4}var r4,qs;function I2(){if(qs)return r4;qs=1;var e=C0();function t(){this.reset=function(){this._mState=e.detecting},this.getCharsetName=function(){return null},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(r){},this.getState=function(){return this._mState},this.getConfidence=function(){return 0},this.filterHighBitOnly=function(r){return r=r.replace(/[\x00-\x7F]+/g," "),r},this.filterWithoutEnglishLetters=function(r){return r=r.replace(/[A-Za-z]+/g," "),r},this.removeXmlTags=function(r){for(var n="",i=!1,o=0,s=0;s<r.length;s++){var a=r[s];a==">"&&r[s-1]!=="?"?(o=s+1,i=!1):a=="<"&&r[s+1]!=="?"&&(s>o&&!i&&(n=n+r.substring(o,s)+" "),i=!0)}return i||(n=n+r.substring(o)),n}}return r4=t,r4}var H2={},Gs;function R2(){return Gs||(Gs=1,H2.log=function(){},H2.setLogger=function(t){H2.enabled=!0,H2.log=t}),H2}var n4,zs;function X9(){if(zs)return n4;zs=1;var e=C0(),t=I2(),r=R2();function n(){t.apply(this);var i=this;function o(){i._mActiveNum=0,i._mProbers=[],i._mBestGuessProber=null}this.reset=function(){n.prototype.reset.apply(this),this._mActiveNum=0;for(var s=0,a;a=this._mProbers[s];s++)a&&(a.reset(),a.active=!0,this._mActiveNum++);this._mBestGuessProber=null},this.getCharsetName=function(){return!this._mBestGuessProber&&(this.getConfidence(),!this._mBestGuessProber)?null:this._mBestGuessProber.getCharsetName()},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(s){for(var a=0,l;l=this._mProbers[a];a++)if(!(!l||!l.active)){var c=l.feed(s);if(c){if(c==e.foundIt)return this._mBestGuessProber=l,this.getState();if(c==e.notMe&&(l.active=!1,this._mActiveNum--,this._mActiveNum<=0))return this._mState=e.notMe,this.getState()}}return this.getState()},this.getConfidence=function(){var s=this.getState();if(s==e.foundIt)return .99;if(s==e.notMe)return .01;var a=0;this._mBestGuessProber=null;for(var l=0,c;c=this._mProbers[l];l++)if(c){if(!c.active){r.log(c.getCharsetName()+` not active
|
|
48
|
+
`))}else{let m=d.props,h=m==null?void 0:m.className,p=typeof h=="function"?(..._)=>ui(h(..._),l.className):ui(h,l.className),v=p?{className:p}:{},b=Ml(d.props,Ct(j5(l,["ref"])));for(let _ in f)_ in b&&delete f[_];return Oi(d,Object.assign({},b,f,c,{ref:i(sv(d),c.ref)},v))}return u(o,Object.assign({},j5(l,["ref"]),o!==Ze&&c,o!==Ze&&f),d)}function iv(){let e=me([]),t=De(r=>{for(let n of e.current)n!=null&&(typeof n=="function"?n(r):n.current=r)},[]);return(...r)=>{if(!r.every(n=>n==null))return e.current=r,t}}function ov(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function Ml(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];if(t.disabled||t["aria-disabled"])for(let n in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(n)&&(r[n]=[i=>{var o;return(o=i==null?void 0:i.preventDefault)==null?void 0:o.call(i)}]);for(let n in r)Object.assign(t,{[n](i,...o){let s=r[n];for(let a of s){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;a(i,...o)}}});return t}function kl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];for(let n in r)Object.assign(t,{[n](...i){let o=r[n];for(let s of o)s==null||s(...i)}});return t}function b0(e){var t;return Object.assign(ki(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Ct(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function j5(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function sv(e){return se.version.split(".")[0]>="19"?e.props.ref:e.ref}function av(e,t,r){let[n,i]=Ee(r),o=e!==void 0,s=me(o),a=me(!1),l=me(!1);return o&&!s.current&&!a.current?(a.current=!0,s.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&s.current&&!l.current&&(l.current=!0,s.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:n,ye(c=>(o||i(c),t==null?void 0:t(c)))]}function lv(e){let[t]=Ee(e);return t}function Il(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))Ol(r,Rl(t,n),i);return r}function Rl(e,t){return e?e+"["+t+"]":t}function Ol(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())Ol(e,Rl(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):typeof r=="boolean"?e.push([t,r?"1":"0"]):typeof r=="string"?e.push([t,r]):typeof r=="number"?e.push([t,`${r}`]):r==null?e.push([t,""]):Il(r,t,e)}function uv(e){var t,r;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let i of n.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(r=n.requestSubmit)==null||r.call(n)}}let cv="span";var ur=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ur||{});function dv(e,t){var r;let{features:n=1,...i}=e,o={ref:t,"aria-hidden":(n&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(n&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return N0()({ourProps:o,theirProps:i,slot:{},defaultTag:cv,name:"Hidden"})}let s3=b0(dv),fv=u0(null);function mv({children:e}){let t=He(fv);if(!t)return se.createElement(se.Fragment,null,e);let{target:r}=t;return r?Bn(se.createElement(se.Fragment,null,e),r):null}function hv({data:e,form:t,disabled:r,onReset:n,overrides:i}){let[o,s]=Ee(null),a=zt();return Le(()=>{if(n&&o)return a.addEventListener(o,"reset",n)},[o,t,n]),se.createElement(mv,null,se.createElement(pv,{setForm:s,formId:t}),Il(e).map(([l,c])=>se.createElement(s3,{features:ur.Hidden,...Ct({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:l,value:c,...i})})))}function pv({setForm:e,formId:t}){return Le(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:se.createElement(s3,{features:ur.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:r=>{if(!r)return;let n=r.closest("form");n&&e(n)}})}let gv=u0(void 0);function Dl(){return He(gv)}function wv(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(t==null?void 0:t.getAttribute("disabled"))==="";return n&&yv(r)?!1:n}function yv(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let $l=Symbol();function vv(e,t=!0){return Object.assign(e,{[$l]:t})}function L0(...e){let t=me(e);Le(()=>{t.current=e},[e]);let r=ye(n=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(n):i.current=n)});return e.every(n=>n==null||(n==null?void 0:n[$l]))?void 0:r}let d5=u0(null);d5.displayName="DescriptionContext";function Fl(){let e=He(d5);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Fl),t}return e}function bv(){var e,t;return(t=(e=He(d5))==null?void 0:e.value)!=null?t:void 0}function _v(){let[e,t]=Ee([]);return[e.length>0?e.join(" "):void 0,ve(()=>function(r){let n=ye(o=>(t(s=>[...s,o]),()=>t(s=>{let a=s.slice(),l=a.indexOf(o);return l!==-1&&a.splice(l,1),a}))),i=ve(()=>({register:n,slot:r.slot,name:r.name,props:r.props,value:r.value}),[n,r.slot,r.name,r.props,r.value]);return se.createElement(d5.Provider,{value:i},r.children)},[t])]}let Cv="p";function xv(e,t){let r=h1(),n=mo(),{id:i=`headlessui-description-${r}`,...o}=e,s=Fl(),a=L0(t);t0(()=>s.register(i),[i,s.register]);let l=n||!1,c=ve(()=>({...s.slot,disabled:l}),[s.slot,l]),d={ref:a,...s.props,id:i};return N0()({ourProps:d,theirProps:o,slot:c,defaultTag:Cv,name:s.name||"Description"})}let Sv=b0(xv),Ev=Object.assign(Sv,{});var C0=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(C0||{});let f5=u0(null);f5.displayName="LabelContext";function Pl(){let e=He(f5);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Pl),t}return e}function Ll(e){var t,r,n;let i=(r=(t=He(f5))==null?void 0:t.value)!=null?r:void 0;return((n=e==null?void 0:e.length)!=null?n:0)>0?[i,...e].filter(Boolean).join(" "):i}function Av({inherit:e=!1}={}){let t=Ll(),[r,n]=Ee([]),i=e?[t,...r].filter(Boolean):r;return[i.length>0?i.join(" "):void 0,ve(()=>function(o){let s=ye(l=>(n(c=>[...c,l]),()=>n(c=>{let d=c.slice(),f=d.indexOf(l);return f!==-1&&d.splice(f,1),d}))),a=ve(()=>({register:s,slot:o.slot,name:o.name,props:o.props,value:o.value}),[s,o.slot,o.name,o.props,o.value]);return se.createElement(f5.Provider,{value:a},o.children)},[n])]}let Tv="label";function Nv(e,t){var r;let n=h1(),i=Pl(),o=Dl(),s=mo(),{id:a=`headlessui-label-${n}`,htmlFor:l=o??((r=i.props)==null?void 0:r.htmlFor),passive:c=!1,...d}=e,f=L0(t);t0(()=>i.register(a),[a,i.register]);let m=ye(b=>{let _=b.currentTarget;if(_ instanceof HTMLLabelElement&&b.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(b),_ instanceof HTMLLabelElement){let C=document.getElementById(_.htmlFor);if(C){let A=C.getAttribute("disabled");if(A==="true"||A==="")return;let N=C.getAttribute("aria-disabled");if(N==="true"||N==="")return;(C instanceof HTMLInputElement&&(C.type==="radio"||C.type==="checkbox")||C.role==="radio"||C.role==="checkbox"||C.role==="switch")&&C.click(),C.focus({preventScroll:!0})}}}),h=s||!1,p=ve(()=>({...i.slot,disabled:h}),[i.slot,h]),v={ref:f,...i.props,id:a,htmlFor:l,onClick:m};return c&&("onClick"in v&&(delete v.htmlFor,delete v.onClick),"onClick"in d&&delete d.onClick),N0()({ourProps:v,theirProps:d,slot:p,defaultTag:l?Tv:"div",name:i.name||"Label"})}let Mv=b0(Nv),kv=Object.assign(Mv,{}),Iv=u0(()=>{});function Rv({value:e,children:t}){return se.createElement(Iv.Provider,{value:e},t)}function Ov(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function Dv(e=Ov){return De((t,r)=>{if(typeof e=="string"){let n=e;return(t==null?void 0:t[n])===(r==null?void 0:r[n])}return e(t,r)},[e])}function $v(e){if(e===null)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}function Fv(e,t=!1){let[r,n]=C2(()=>({}),{}),i=ve(()=>$v(e),[e,r]);return t0(()=>{if(!e)return;let o=new ResizeObserver(n);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${i.width}px`,height:`${i.height}px`}:i}let Pv=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};function Bl(e,t){let r=e(),n=new Set;return{getSnapshot(){return r},subscribe(i){return n.add(i),()=>n.delete(i)},dispatch(i,...o){let s=t[i].call(r,...o);s&&(r=s,n.forEach(a=>a()))}}}function Hl(e){return Ln(e.subscribe,e.getSnapshot,e.getSnapshot)}let Lv=new Pv(()=>Bl(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let r=this.slice();return r.splice(t,1),r}}));function _r(e,t){let r=Lv.get(t),n=h1(),i=Hl(r);if(t0(()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)},[r,e]),!e)return!1;let o=i.indexOf(n),s=i.length;return o===-1&&(o=s,s+=1),o===s-1}let ci=new Map,Xr=new Map;function gs(e){var t;let r=(t=Xr.get(e))!=null?t:0;return Xr.set(e,r+1),r!==0?()=>ws(e):(ci.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>ws(e))}function ws(e){var t;let r=(t=Xr.get(e))!=null?t:1;if(r===1?Xr.delete(e):Xr.set(e,r-1),r!==1)return;let n=ci.get(e);n&&(n["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,ci.delete(e))}function Vl(e,{allowed:t,disallowed:r}={}){let n=_r(e,"inert-others");t0(()=>{var i,o;if(!n)return;let s=gt();for(let l of(i=r==null?void 0:r())!=null?i:[])l&&s.add(gs(l));let a=(o=t==null?void 0:t())!=null?o:[];for(let l of a){if(!l)continue;let c=br(l);if(!c)continue;let d=l.parentElement;for(;d&&d!==c.body;){for(let f of d.children)a.some(m=>f.contains(m))||s.add(gs(f));d=d.parentElement}}return s.dispose},[n,t,r])}function Ul(e,t,r){let n=Yt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&r()});Le(()=>{if(!e)return;let i=t===null?null:t instanceof HTMLElement?t:t.current;if(!i)return;let o=gt();if(typeof ResizeObserver<"u"){let s=new ResizeObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}if(typeof IntersectionObserver<"u"){let s=new IntersectionObserver(()=>n.current(i));s.observe(i),o.add(()=>s.disconnect())}return()=>o.dispose()},[t,n,e])}let Mn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Bv=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var b1=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(b1||{}),di=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(di||{}),Hv=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Hv||{});function jl(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Mn)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Vv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Bv)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var ho=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ho||{});function Wl(e,t=0){var r;return e===((r=br(e))==null?void 0:r.body)?!1:G0(t,{0(){return e.matches(Mn)},1(){let n=e;for(;n!==null;){if(n.matches(Mn))return!0;n=n.parentElement}return!1}})}var Uv=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Uv||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function nt(e){e==null||e.focus({preventScroll:!0})}let jv=["textarea","input"].join(",");function Wv(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,jv))!=null?r:!1}function ql(e,t=r=>r){return e.slice().sort((r,n)=>{let i=t(r),o=t(n);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function qv(e,t){return X2(jl(),t,{relativeTo:e})}function X2(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?ql(e):e:t&64?Vv(e):jl(e);i.length>0&&s.length>1&&(s=s.filter(h=>!i.some(p=>p!=null&&"current"in p?(p==null?void 0:p.current)===h:p===h))),n=n??o.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(n))-1;if(t&4)return Math.max(0,s.indexOf(n))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},d=0,f=s.length,m;do{if(d>=f||d+f<=0)return 0;let h=l+d;if(t&16)h=(h+f)%f;else{if(h<0)return 3;if(h>=f)return 1}m=s[h],m==null||m.focus(c),d+=a}while(m!==o.activeElement);return t&6&&Wv(m)&&m.select(),2}function Gl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Gv(){return/Android/gi.test(window.navigator.userAgent)}function zv(){return Gl()||Gv()}function Lr(e,t,r,n){let i=Yt(r);Le(()=>{if(!e)return;function o(s){i.current(s)}return document.addEventListener(t,o,n),()=>document.removeEventListener(t,o,n)},[e,t,n])}function zl(e,t,r,n){let i=Yt(r);Le(()=>{if(!e)return;function o(s){i.current(s)}return window.addEventListener(t,o,n),()=>window.removeEventListener(t,o,n)},[e,t,n])}const ys=30;function Yl(e,t,r){let n=_r(e,"outside-click"),i=Yt(r),o=De(function(l,c){if(l.defaultPrevented)return;let d=c(l);if(d===null||!d.getRootNode().contains(d)||!d.isConnected)return;let f=function m(h){return typeof h=="function"?m(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let m of f)if(m!==null&&(m.contains(d)||l.composed&&l.composedPath().includes(m)))return;return!Wl(d,ho.Loose)&&d.tabIndex!==-1&&l.preventDefault(),i.current(l,d)},[i,t]),s=me(null);Lr(n,"pointerdown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),Lr(n,"mousedown",l=>{var c,d;s.current=((d=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:d[0])||l.target},!0),Lr(n,"click",l=>{zv()||s.current&&(o(l,()=>s.current),s.current=null)},!0);let a=me({x:0,y:0});Lr(n,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),Lr(n,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-a.current.x)>=ys||Math.abs(c.y-a.current.y)>=ys))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),zl(n,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Cr(...e){return ve(()=>br(...e),[...e])}function Zl(e,t,r,n){let i=Yt(r);Le(()=>{e=e??window;function o(s){i.current(s)}return e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)},[e,t,n])}function Yv(e,t){return ve(()=>{var r;if(e.type)return e.type;let n=(r=e.as)!=null?r:"button";if(typeof n=="string"&&n.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function Zv(){let e;return{before({doc:t}){var r;let n=t.documentElement,i=(r=t.defaultView)!=null?r:window;e=Math.max(0,i.innerWidth-n.clientWidth)},after({doc:t,d:r}){let n=t.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,e-i);r.style(n,"paddingRight",`${o}px`)}}}function Kv(){return Gl()?{before({doc:e,d:t,meta:r}){function n(i){return r.containers.flatMap(o=>o()).some(o=>o.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=gt();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,s=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),d=e.querySelector(c);d&&!n(d)&&(s=d)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(n(a.target)){let l=a.target;for(;l.parentElement&&n(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(n(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;o!==l&&window.scrollTo(0,o),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function Jv(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Xv(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let l2=Bl(()=>new Map,{PUSH(e,t){var r;let n=(r=this.get(e))!=null?r:{doc:e,count:0,d:gt(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:Xv(r)},i=[Kv(),Zv(),Jv()];i.forEach(({before:o})=>o==null?void 0:o(n)),i.forEach(({after:o})=>o==null?void 0:o(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});l2.subscribe(()=>{let e=l2.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let n=t.get(r.doc)==="hidden",i=r.count!==0;(i&&!n||!i&&n)&&l2.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&l2.dispatch("TEARDOWN",r)}});function Qv(e,t,r=()=>({containers:[]})){let n=Hl(l2),i=t?n.get(t):void 0,o=i?i.count>0:!1;return t0(()=>{if(!(!t||!e))return l2.dispatch("PUSH",t,r),()=>l2.dispatch("POP",t,r)},[e,t]),o}function Kl(e,t,r=()=>[document.body]){let n=_r(e,"scroll-lock");Qv(n,t,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],r]}})}function vs(e){return[e.screenX,e.screenY]}function eb(){let e=me([-1,-1]);return{wasMoved(t){let r=vs(t);return e.current[0]===r[0]&&e.current[1]===r[1]?!1:(e.current=r,!0)},update(t){e.current=vs(t)}}}function tb(e=0){let[t,r]=Ee(e),n=De(l=>r(l),[t]),i=De(l=>r(c=>c|l),[t]),o=De(l=>(t&l)===l,[t]),s=De(l=>r(c=>c&~l),[r]),a=De(l=>r(c=>c^l),[r]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:s,toggleFlag:a}}var rb={},bs,_s;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((bs=process==null?void 0:rb)==null?void 0:bs.NODE_ENV)==="test"&&typeof((_s=Element==null?void 0:Element.prototype)==null?void 0:_s.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
49
|
+
`)),[]});var nb=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(nb||{});function Jl(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function Xl(e,t,r,n){let[i,o]=Ee(r),{hasFlag:s,addFlag:a,removeFlag:l}=tb(e&&i?3:0),c=me(!1),d=me(!1),f=zt();return t0(()=>{var m;if(e){if(r&&o(!0),!t){r&&a(3);return}return(m=n==null?void 0:n.start)==null||m.call(n,r),ib(t,{inFlight:c,prepare(){d.current?d.current=!1:d.current=c.current,c.current=!0,!d.current&&(r?(a(3),l(4)):(a(4),l(2)))},run(){d.current?r?(l(3),a(4)):(l(4),a(3)):r?l(1):a(1)},done(){var h;d.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(c.current=!1,l(7),r||o(!1),(h=n==null?void 0:n.end)==null||h.call(n,r))}})}},[e,r,t,f]),e?[i,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function ib(e,{prepare:t,run:r,done:n,inFlight:i}){let o=gt();return sb(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{r(),o.requestAnimationFrame(()=>{o.add(ob(e,n))})}),o.dispose}function ob(e,t){var r,n;let i=gt();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=(n=(r=e.getAnimations)==null?void 0:r.call(e).filter(a=>a instanceof CSSTransition))!=null?n:[];return s.length===0?(t(),i.dispose):(Promise.allSettled(s.map(a=>a.finished)).then(()=>{o||t()}),i.dispose)}function sb(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}function po(e,t){let r=me([]),n=ye(e);Le(()=>{let i=[...r.current];for(let[o,s]of t.entries())if(r.current[o]!==s){let a=n(t,i);return r.current=t,a}},[n,...t])}function m5(){return typeof window<"u"}function xr(e){return Ql(e)?(e.nodeName||"").toLowerCase():"#document"}function o1(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function U1(e){var t;return(t=(Ql(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ql(e){return m5()?e instanceof Node||e instanceof o1(e).Node:!1}function H0(e){return m5()?e instanceof Element||e instanceof o1(e).Element:!1}function F1(e){return m5()?e instanceof HTMLElement||e instanceof o1(e).HTMLElement:!1}function Cs(e){return!m5()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof o1(e).ShadowRoot}function A3(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=x1(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function ab(e){return["table","td","th"].includes(xr(e))}function h5(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function go(e){const t=wo(),r=H0(e)?x1(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function lb(e){let t=Pt(e);for(;F1(t)&&!cr(t);){if(go(t))return t;if(h5(t))return null;t=Pt(t)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cr(e){return["html","body","#document"].includes(xr(e))}function x1(e){return o1(e).getComputedStyle(e)}function p5(e){return H0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pt(e){if(xr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cs(e)&&e.host||U1(e);return Cs(t)?t.host:t}function e9(e){const t=Pt(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:F1(t)&&A3(t)?t:e9(t)}function a3(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=e9(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=o1(i);if(o){const a=fi(s);return t.concat(s,s.visualViewport||[],A3(i)?i:[],a&&r?a3(a):[])}return t.concat(i,a3(i,[],r))}function fi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ub(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}const w2=Math.min,$0=Math.max,l3=Math.round,V3=Math.floor,I1=e=>({x:e,y:e}),cb={left:"right",right:"left",bottom:"top",top:"bottom"},db={start:"end",end:"start"};function xs(e,t,r){return $0(e,w2(t,r))}function Sr(e,t){return typeof e=="function"?e(t):e}function Lt(e){return e.split("-")[0]}function T3(e){return e.split("-")[1]}function t9(e){return e==="x"?"y":"x"}function r9(e){return e==="y"?"height":"width"}function y2(e){return["top","bottom"].includes(Lt(e))?"y":"x"}function n9(e){return t9(y2(e))}function fb(e,t,r){r===void 0&&(r=!1);const n=T3(e),i=n9(e),o=r9(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=kn(s)),[s,kn(s)]}function mb(e){const t=kn(e);return[mi(e),t,mi(t)]}function mi(e){return e.replace(/start|end/g,t=>db[t])}function hb(e,t,r){const n=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?o:s;default:return[]}}function pb(e,t,r,n){const i=T3(e);let o=hb(Lt(e),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(mi)))),o}function kn(e){return e.replace(/left|right|bottom|top/g,t=>cb[t])}function gb(e){return{top:0,right:0,bottom:0,left:0,...e}}function wb(e){return typeof e!="number"?gb(e):{top:e,right:e,bottom:e,left:e}}function In(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Ss(e,t,r){let{reference:n,floating:i}=e;const o=y2(t),s=n9(t),a=r9(s),l=Lt(t),c=o==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[a]/2-i[a]/2;let h;switch(l){case"top":h={x:d,y:n.y-i.height};break;case"bottom":h={x:d,y:n.y+n.height};break;case"right":h={x:n.x+n.width,y:f};break;case"left":h={x:n.x-i.width,y:f};break;default:h={x:n.x,y:n.y}}switch(T3(t)){case"start":h[s]-=m*(r&&c?-1:1);break;case"end":h[s]+=m*(r&&c?-1:1);break}return h}const yb=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Ss(c,n,l),m=n,h={},p=0;for(let v=0;v<a.length;v++){const{name:b,fn:_}=a[v],{x:C,y:A,data:N,reset:k}=await _({x:d,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});d=C??d,f=A??f,h={...h,[b]:{...h[b],...N}},k&&p<=50&&(p++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:d,y:f}=Ss(c,m,l)),v=-1)}return{x:d,y:f,placement:m,strategy:i,middlewareData:h}};async function g5(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=Sr(t,e),p=wb(h),b=a[m?f==="floating"?"reference":"floating":f],_=In(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(b)))==null||r?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),C=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),N=await(o.isElement==null?void 0:o.isElement(A))?await(o.getScale==null?void 0:o.getScale(A))||{x:1,y:1}:{x:1,y:1},k=In(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:A,strategy:l}):C);return{top:(_.top-k.top+p.top)/N.y,bottom:(k.bottom-_.bottom+p.bottom)/N.y,left:(_.left-k.left+p.left)/N.x,right:(k.right-_.right+p.right)/N.x}}const vb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...b}=Sr(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const _=Lt(i),C=y2(a),A=Lt(a)===a,N=await(l.isRTL==null?void 0:l.isRTL(c.floating)),k=m||(A||!v?[kn(a)]:mb(a)),D=p!=="none";!m&&D&&k.push(...pb(a,v,p,N));const P=[a,...k],T=await g5(t,b),S=[];let I=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&S.push(T[_]),f){const j=fb(i,s,N);S.push(T[j[0]],T[j[1]])}if(I=[...I,{placement:i,overflows:S}],!S.every(j=>j<=0)){var M,L;const j=(((M=o.flip)==null?void 0:M.index)||0)+1,le=P[j];if(le)return{data:{index:j,overflows:I},reset:{placement:le}};let K=(L=I.filter(X=>X.overflows[0]<=0).sort((X,B)=>X.overflows[1]-B.overflows[1])[0])==null?void 0:L.placement;if(!K)switch(h){case"bestFit":{var O;const X=(O=I.filter(B=>{if(D){const Y=y2(B.placement);return Y===C||Y==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(Y=>Y>0).reduce((Y,W)=>Y+W,0)]).sort((B,Y)=>B[1]-Y[1])[0])==null?void 0:O[0];X&&(K=X);break}case"initialPlacement":K=a;break}if(i!==K)return{reset:{placement:K}}}return{}}}};async function bb(e,t){const{placement:r,platform:n,elements:i}=e,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Lt(r),a=T3(r),l=y2(r)==="y",c=["left","top"].includes(s)?-1:1,d=o&&l?-1:1,f=Sr(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*d,y:m*c}:{x:m*c,y:h*d}}const _b=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await bb(t,e);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},Cb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:_,y:C}=b;return{x:_,y:C}}},...l}=Sr(e,t),c={x:r,y:n},d=await g5(t,l),f=y2(Lt(i)),m=t9(f);let h=c[m],p=c[f];if(o){const b=m==="y"?"top":"left",_=m==="y"?"bottom":"right",C=h+d[b],A=h-d[_];h=xs(C,h,A)}if(s){const b=f==="y"?"top":"left",_=f==="y"?"bottom":"right",C=p+d[b],A=p-d[_];p=xs(C,p,A)}const v=a.fn({...t,[m]:h,[f]:p});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[m]:o,[f]:s}}}}}},xb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Sr(e,t),d=await g5(t,c),f=Lt(i),m=T3(i),h=y2(i)==="y",{width:p,height:v}=o.floating;let b,_;f==="top"||f==="bottom"?(b=f,_=m===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,b=m==="end"?"top":"bottom");const C=v-d.top-d.bottom,A=p-d.left-d.right,N=w2(v-d[b],C),k=w2(p-d[_],A),D=!t.middlewareData.shift;let P=N,T=k;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(T=A),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=C),D&&!m){const I=$0(d.left,0),M=$0(d.right,0),L=$0(d.top,0),O=$0(d.bottom,0);h?T=p-2*(I!==0||M!==0?I+M:$0(d.left,d.right)):P=v-2*(L!==0||O!==0?L+O:$0(d.top,d.bottom))}await l({...t,availableWidth:T,availableHeight:P});const S=await s.getDimensions(a.floating);return p!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function i9(e){const t=x1(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=F1(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=l3(r)!==o||l3(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function yo(e){return H0(e)?e:e.contextElement}function Q2(e){const t=yo(e);if(!F1(t))return I1(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:o}=i9(t);let s=(o?l3(r.width):r.width)/n,a=(o?l3(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Sb=I1(0);function o9(e){const t=o1(e);return!wo()||!t.visualViewport?Sb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Eb(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==o1(e)?!1:t}function v2(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),o=yo(e);let s=I1(1);t&&(n?H0(n)&&(s=Q2(n)):s=Q2(e));const a=Eb(o,r,n)?o9(o):I1(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,f=i.height/s.y;if(o){const m=o1(o),h=n&&H0(n)?o1(n):n;let p=m,v=fi(p);for(;v&&n&&h!==p;){const b=Q2(v),_=v.getBoundingClientRect(),C=x1(v),A=_.left+(v.clientLeft+parseFloat(C.paddingLeft))*b.x,N=_.top+(v.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,f*=b.y,l+=A,c+=N,p=o1(v),v=fi(p)}}return In({width:d,height:f,x:l,y:c})}function vo(e,t){const r=p5(e).scrollLeft;return t?t.left+r:v2(U1(e)).left+r}function s9(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-(r?0:vo(e,n)),o=n.top+t.scrollTop;return{x:i,y:o}}function Ab(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const o=i==="fixed",s=U1(n),a=t?h5(t.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=I1(1);const d=I1(0),f=F1(n);if((f||!f&&!o)&&((xr(n)!=="body"||A3(s))&&(l=p5(n)),F1(n))){const h=v2(n);c=Q2(n),d.x=h.x+n.clientLeft,d.y=h.y+n.clientTop}const m=s&&!f&&!o?s9(s,l,!0):I1(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+m.x,y:r.y*c.y-l.scrollTop*c.y+d.y+m.y}}function Tb(e){return Array.from(e.getClientRects())}function Nb(e){const t=U1(e),r=p5(e),n=e.ownerDocument.body,i=$0(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=$0(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+vo(e);const a=-r.scrollTop;return x1(n).direction==="rtl"&&(s+=$0(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}function Mb(e,t){const r=o1(e),n=U1(e),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=wo();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function kb(e,t){const r=v2(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=F1(e)?Q2(e):I1(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=n*o.y;return{width:s,height:a,x:l,y:c}}function Es(e,t,r){let n;if(t==="viewport")n=Mb(e,r);else if(t==="document")n=Nb(U1(e));else if(H0(t))n=kb(t,r);else{const i=o9(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return In(n)}function a9(e,t){const r=Pt(e);return r===t||!H0(r)||cr(r)?!1:x1(r).position==="fixed"||a9(r,t)}function Ib(e,t){const r=t.get(e);if(r)return r;let n=a3(e,[],!1).filter(a=>H0(a)&&xr(a)!=="body"),i=null;const o=x1(e).position==="fixed";let s=o?Pt(e):e;for(;H0(s)&&!cr(s);){const a=x1(s),l=go(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||A3(s)&&!l&&a9(e,s))?n=n.filter(d=>d!==s):i=a,s=Pt(s)}return t.set(e,n),n}function Rb(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=[...r==="clippingAncestors"?h5(t)?[]:Ib(t,this._c):[].concat(r),n],a=s[0],l=s.reduce((c,d)=>{const f=Es(t,d,i);return c.top=$0(f.top,c.top),c.right=w2(f.right,c.right),c.bottom=w2(f.bottom,c.bottom),c.left=$0(f.left,c.left),c},Es(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ob(e){const{width:t,height:r}=i9(e);return{width:t,height:r}}function Db(e,t,r){const n=F1(t),i=U1(t),o=r==="fixed",s=v2(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=I1(0);if(n||!n&&!o)if((xr(t)!=="body"||A3(i))&&(a=p5(t)),n){const m=v2(t,!0,o,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&(l.x=vo(i));const c=i&&!n&&!o?s9(i,a):I1(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function W5(e){return x1(e).position==="static"}function As(e,t){if(!F1(e)||x1(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return U1(e)===r&&(r=r.ownerDocument.body),r}function l9(e,t){const r=o1(e);if(h5(e))return r;if(!F1(e)){let i=Pt(e);for(;i&&!cr(i);){if(H0(i)&&!W5(i))return i;i=Pt(i)}return r}let n=As(e,t);for(;n&&ab(n)&&W5(n);)n=As(n,t);return n&&cr(n)&&W5(n)&&!go(n)?r:n||lb(e)||r}const $b=async function(e){const t=this.getOffsetParent||l9,r=this.getDimensions,n=await r(e.floating);return{reference:Db(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Fb(e){return x1(e).direction==="rtl"}const Pb={convertOffsetParentRelativeRectToViewportRelativeRect:Ab,getDocumentElement:U1,getClippingRect:Rb,getOffsetParent:l9,getElementRects:$b,getClientRects:Tb,getDimensions:Ob,getScale:Q2,isElement:H0,isRTL:Fb};function u9(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lb(e,t){let r=null,n;const i=U1(e);function o(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:d,top:f,width:m,height:h}=c;if(a||t(),!m||!h)return;const p=V3(f),v=V3(i.clientWidth-(d+m)),b=V3(i.clientHeight-(f+h)),_=V3(d),A={rootMargin:-p+"px "+-v+"px "+-b+"px "+-_+"px",threshold:$0(0,w2(1,l))||1};let N=!0;function k(D){const P=D[0].intersectionRatio;if(P!==l){if(!N)return s();P?s(!1,P):n=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!u9(c,e.getBoundingClientRect())&&s(),N=!1}try{r=new IntersectionObserver(k,{...A,root:i.ownerDocument})}catch{r=new IntersectionObserver(k,A)}r.observe(e)}return s(!0),o}function Bb(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=yo(e),d=i||o?[...c?a3(c):[],...a3(t)]:[];d.forEach(_=>{i&&_.addEventListener("scroll",r,{passive:!0}),o&&_.addEventListener("resize",r)});const f=c&&a?Lb(c,r):null;let m=-1,h=null;s&&(h=new ResizeObserver(_=>{let[C]=_;C&&C.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var A;(A=h)==null||A.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let p,v=l?v2(e):null;l&&b();function b(){const _=v2(e);v&&!u9(v,_)&&r(),v=_,p=requestAnimationFrame(b)}return r(),()=>{var _;d.forEach(C=>{i&&C.removeEventListener("scroll",r),o&&C.removeEventListener("resize",r)}),f==null||f(),(_=h)==null||_.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const q5=g5,Hb=_b,Vb=Cb,Ub=vb,jb=xb,Wb=(e,t,r)=>{const n=new Map,i={platform:Pb,...r},o={...i.platform,_c:n};return yb(e,t,{...i,platform:o})};var Q3=typeof document<"u"?P1:Le;function Rn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Rn(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&e.$$typeof)&&!Rn(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function c9(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ts(e,t){const r=c9(e);return Math.round(t*r)/r}function G5(e){const t=me(e);return Q3(()=>{t.current=e}),t}function qb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,f]=Ee({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=Ee(n);Rn(m,n)||h(n);const[p,v]=Ee(null),[b,_]=Ee(null),C=De(B=>{B!==D.current&&(D.current=B,v(B))},[]),A=De(B=>{B!==P.current&&(P.current=B,_(B))},[]),N=o||p,k=s||b,D=me(null),P=me(null),T=me(d),S=l!=null,I=G5(l),M=G5(i),L=G5(c),O=De(()=>{if(!D.current||!P.current)return;const B={placement:t,strategy:r,middleware:m};M.current&&(B.platform=M.current),Wb(D.current,P.current,B).then(Y=>{const W={...Y,isPositioned:L.current!==!1};j.current&&!Rn(T.current,W)&&(T.current=W,r1(()=>{f(W)}))})},[m,t,r,M,L]);Q3(()=>{c===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(B=>({...B,isPositioned:!1})))},[c]);const j=me(!1);Q3(()=>(j.current=!0,()=>{j.current=!1}),[]),Q3(()=>{if(N&&(D.current=N),k&&(P.current=k),N&&k){if(I.current)return I.current(N,k,O);O()}},[N,k,O,I,S]);const le=ve(()=>({reference:D,floating:P,setReference:C,setFloating:A}),[C,A]),K=ve(()=>({reference:N,floating:k}),[N,k]),X=ve(()=>{const B={position:r,left:0,top:0};if(!K.floating)return B;const Y=Ts(K.floating,d.x),W=Ts(K.floating,d.y);return a?{...B,transform:"translate("+Y+"px, "+W+"px)",...c9(K.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Y,top:W}},[r,a,K.floating,d.x,d.y]);return ve(()=>({...d,update:O,refs:le,elements:K,floatingStyles:X}),[d,O,le,K,X])}const d9=(e,t)=>({...Hb(e),options:[e,t]}),Gb=(e,t)=>({...Vb(e),options:[e,t]}),zb=(e,t)=>({...Ub(e),options:[e,t]}),Yb=(e,t)=>({...jb(e),options:[e,t]}),f9={...an},Zb=f9.useInsertionEffect,Kb=Zb||(e=>e());function m9(e){const t=me(()=>{});return Kb(()=>{t.current=e}),De(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current==null?void 0:t.current(...n)},[])}var hi=typeof document<"u"?P1:Le;let Ns=!1,Jb=0;const Ms=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Jb++;function Xb(){const[e,t]=Ee(()=>Ns?Ms():void 0);return hi(()=>{e==null&&t(Ms())},[]),Le(()=>{Ns=!0},[]),e}const Qb=f9.useId,e_=Qb||Xb;function t_(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(i=>i(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,((n=e.get(t))==null?void 0:n.filter(i=>i!==r))||[])}}}const r_=u0(null),n_=u0(null),i_=()=>{var e;return((e=He(r_))==null?void 0:e.id)||null},o_=()=>He(n_),s_="data-floating-ui-focusable";function a_(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=e_(),o=me({}),[s]=Ee(()=>t_()),a=i_()!=null,[l,c]=Ee(n.reference),d=m9((h,p,v)=>{o.current.openEvent=h?p:void 0,s.emit("openchange",{open:h,event:p,reason:v,nested:a}),r==null||r(h,p,v)}),f=ve(()=>({setPositionReference:c}),[]),m=ve(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return ve(()=>({dataRef:o,open:t,onOpenChange:d,elements:m,events:s,floatingId:i,refs:f}),[t,d,m,s,i,f])}function l_(e){e===void 0&&(e={});const{nodeId:t}=e,r=a_({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[o,s]=Ee(null),[a,l]=Ee(null),d=(i==null?void 0:i.domReference)||o,f=me(null),m=o_();hi(()=>{d&&(f.current=d)},[d]);const h=qb({...e,elements:{...i,...a&&{reference:a}}}),p=De(A=>{const N=H0(A)?{getBoundingClientRect:()=>A.getBoundingClientRect(),contextElement:A}:A;l(N),h.refs.setReference(N)},[h.refs]),v=De(A=>{(H0(A)||A===null)&&(f.current=A,s(A)),(H0(h.refs.reference.current)||h.refs.reference.current===null||A!==null&&!H0(A))&&h.refs.setReference(A)},[h.refs]),b=ve(()=>({...h.refs,setReference:v,setPositionReference:p,domReference:f}),[h.refs,v,p]),_=ve(()=>({...h.elements,domReference:d}),[h.elements,d]),C=ve(()=>({...h,...n,refs:b,elements:_,nodeId:t}),[h,b,_,t,n]);return hi(()=>{n.dataRef.current.floatingContext=C;const A=m==null?void 0:m.nodesRef.current.find(N=>N.id===t);A&&(A.context=C)}),ve(()=>({...h,context:C,refs:b,elements:_}),[h,b,_,C])}const ks="active",Is="selected";function z5(e,t,r){const n=new Map,i=r==="item";let o=e;if(i&&e){const{[ks]:s,[Is]:a,...l}=e;o=l}return{...r==="floating"&&{tabIndex:-1,[s_]:""},...o,...t.map(s=>{const a=s?s[r]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[c,d]=l;if(!(i&&[ks,Is].includes(c)))if(c.indexOf("on")===0){if(n.has(c)||n.set(c,[]),typeof d=="function"){var f;(f=n.get(c))==null||f.push(d),s[c]=function(){for(var m,h=arguments.length,p=new Array(h),v=0;v<h;v++)p[v]=arguments[v];return(m=n.get(c))==null?void 0:m.map(b=>b(...p)).find(b=>b!==void 0)}}}else s[c]=d}),s),{})}}function u_(e){e===void 0&&(e=[]);const t=e.map(a=>a==null?void 0:a.reference),r=e.map(a=>a==null?void 0:a.floating),n=e.map(a=>a==null?void 0:a.item),i=De(a=>z5(a,e,"reference"),t),o=De(a=>z5(a,e,"floating"),r),s=De(a=>z5(a,e,"item"),n);return ve(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}function Rs(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const c_=e=>({name:"inner",options:e,async fn(t){const{listRef:r,overflowRef:n,onFallbackChange:i,offset:o=0,index:s=0,minItemsVisible:a=4,referenceOverflowThreshold:l=0,scrollRef:c,...d}=Sr(e,t),{rects:f,elements:{floating:m}}=t,h=r.current[s],p=(c==null?void 0:c.current)||m,v=m.clientTop||p.clientTop,b=m.clientTop!==0,_=p.clientTop!==0,C=m===p;if(!h)return{};const A={...t,...await d9(-h.offsetTop-m.clientTop-f.reference.height/2-h.offsetHeight/2-o).fn(t)},N=await q5(Rs(A,p.scrollHeight+v+m.clientTop),d),k=await q5(A,{...d,elementContext:"reference"}),D=$0(0,N.top),P=A.y+D,I=(p.scrollHeight>p.clientHeight?M=>M:l3)($0(0,p.scrollHeight+(b&&C||_?v*2:0)-D-$0(0,N.bottom)));if(p.style.maxHeight=I+"px",p.scrollTop=D,i){const M=p.offsetHeight<h.offsetHeight*w2(a,r.current.length)-1||k.top>=-l||k.bottom>=-l;r1(()=>i(M))}return n&&(n.current=await q5(Rs({...A,y:P},p.offsetHeight+v+m.clientTop),d)),{y:P}}});function d_(e,t){const{open:r,elements:n}=e,{enabled:i=!0,overflowRef:o,scrollRef:s,onChange:a}=t,l=m9(a),c=me(!1),d=me(null),f=me(null);Le(()=>{if(!i)return;function h(v){if(v.ctrlKey||!p||o.current==null)return;const b=v.deltaY,_=o.current.top>=-.5,C=o.current.bottom>=-.5,A=p.scrollHeight-p.clientHeight,N=b<0?-1:1,k=b<0?"max":"min";p.scrollHeight<=p.clientHeight||(!_&&b>0||!C&&b<0?(v.preventDefault(),r1(()=>{l(D=>D+Math[k](b,A*N))})):/firefox/i.test(ub())&&(p.scrollTop+=b))}const p=(s==null?void 0:s.current)||n.floating;if(r&&p)return p.addEventListener("wheel",h),requestAnimationFrame(()=>{d.current=p.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,p.removeEventListener("wheel",h)}},[i,r,n.floating,o,s,l]);const m=ve(()=>({onKeyDown(){c.current=!0},onWheel(){c.current=!1},onPointerMove(){c.current=!1},onScroll(){const h=(s==null?void 0:s.current)||n.floating;if(!(!o.current||!h||!c.current)){if(d.current!==null){const p=h.scrollTop-d.current;(o.current.bottom<-.5&&p<-1||o.current.top<-.5&&p>1)&&r1(()=>l(v=>v+p))}requestAnimationFrame(()=>{d.current=h.scrollTop})}}}),[n.floating,l,o,s]);return ve(()=>i?{floating:m}:{},[i,m])}let Er=u0({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Er.displayName="FloatingContext";let bo=u0(null);bo.displayName="PlacementContext";function f_(e){return ve(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function m_(){return He(Er).setReference}function h_(){return He(Er).getReferenceProps}function p_(){let{getFloatingProps:e,slot:t}=He(Er);return De((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor}),[e,t])}function g_(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=He(bo),r=ve(()=>e,[JSON.stringify(e,(i,o)=>{var s;return(s=o==null?void 0:o.outerHTML)!=null?s:o})]);t0(()=>{t==null||t(r??null)},[t,r]);let n=He(Er);return ve(()=>[n.setFloating,e?n.styles:{}],[n.setFloating,e,n.styles])}let Os=4;function w_({children:e,enabled:t=!0}){let[r,n]=Ee(null),[i,o]=Ee(0),s=me(null),[a,l]=Ee(null);y_(a);let c=t&&r!==null&&a!==null,{to:d="bottom",gap:f=0,offset:m=0,padding:h=0,inner:p}=v_(r,a),[v,b="center"]=d.split(" ");t0(()=>{c&&o(0)},[c]);let{refs:_,floatingStyles:C,context:A}=l_({open:c,placement:v==="selection"?b==="center"?"bottom":`bottom-${b}`:b==="center"?`${v}`:`${v}-${b}`,strategy:"absolute",transform:!1,middleware:[d9({mainAxis:v==="selection"?0:f,crossAxis:m}),Gb({padding:h}),v!=="selection"&&zb({padding:h}),v==="selection"&&p?c_({...p,padding:h,overflowRef:s,offset:i,minItemsVisible:Os,referenceOverflowThreshold:h,onFallbackChange(M){var L,O;if(!M)return;let j=A.elements.floating;if(!j)return;let le=parseFloat(getComputedStyle(j).scrollPaddingBottom)||0,K=Math.min(Os,j.childElementCount),X=0,B=0;for(let Y of(O=(L=A.elements.floating)==null?void 0:L.childNodes)!=null?O:[])if(Y instanceof HTMLElement){let W=Y.offsetTop,Q=W+Y.clientHeight+le,G=j.scrollTop,F=G+j.clientHeight;if(W>=G&&Q<=F)K--;else{B=Math.max(0,Math.min(Q,F)-Math.max(W,G)),X=Y.clientHeight;break}}K>=1&&o(Y=>{let W=X*K-B+le;return Y>=W?Y:W})}}):null,Yb({padding:h,apply({availableWidth:M,availableHeight:L,elements:O}){Object.assign(O.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${L}px)`})}})].filter(Boolean),whileElementsMounted:Bb}),[N=v,k=b]=A.placement.split("-");v==="selection"&&(N="selection");let D=ve(()=>({anchor:[N,k].filter(Boolean).join(" ")}),[N,k]),P=d_(A,{overflowRef:s,onChange:o}),{getReferenceProps:T,getFloatingProps:S}=u_([P]),I=ye(M=>{l(M),_.setFloating(M)});return u(bo.Provider,{value:n},u(Er.Provider,{value:{setFloating:I,setReference:_.setReference,styles:C,getReferenceProps:T,getFloatingProps:S,slot:D}},e))}function y_(e){t0(()=>{if(!e)return;let t=new MutationObserver(()=>{let r=window.getComputedStyle(e).maxHeight,n=parseFloat(r);if(isNaN(n))return;let i=parseInt(r);isNaN(i)||n!==i&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function v_(e,t){var r,n,i;let o=Y5((r=e==null?void 0:e.gap)!=null?r:"var(--anchor-gap, 0)",t),s=Y5((n=e==null?void 0:e.offset)!=null?n:"var(--anchor-offset, 0)",t),a=Y5((i=e==null?void 0:e.padding)!=null?i:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:s,padding:a}}function Y5(e,t,r=void 0){let n=zt(),i=ye((l,c)=>{if(l==null)return[r,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!c)return[r,null];let d=Ds(l,c);return[d,f=>{let m=h9(l);{let h=m.map(p=>window.getComputedStyle(c).getPropertyValue(p));n.requestAnimationFrame(function p(){n.nextFrame(p);let v=!1;for(let[_,C]of m.entries()){let A=window.getComputedStyle(c).getPropertyValue(C);if(h[_]!==A){h[_]=A,v=!0;break}}if(!v)return;let b=Ds(l,c);d!==b&&(f(b),d=b)})}return n.dispose}]}return[r,null]}),o=ve(()=>i(e,t)[0],[e,t]),[s=o,a]=Ee();return t0(()=>{let[l,c]=i(e,t);if(a(l),!!c)return c(a)},[e,t]),s}function h9(e){let t=/var\((.*)\)/.exec(e);if(t){let r=t[1].indexOf(",");if(r===-1)return[t[1]];let n=t[1].slice(0,r).trim(),i=t[1].slice(r+1).trim();return i?[n,...h9(i)]:[n]}return[]}function Ds(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}function b_(e,t){let[r,n]=Ee(t);return!e&&r!==t&&n(t),e?r:t}let w5=u0(null);w5.displayName="OpenClosedContext";var V0=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(V0||{});function N3(){return He(w5)}function p9({value:e,children:t}){return se.createElement(w5.Provider,{value:e},t)}function __({children:e}){return se.createElement(w5.Provider,{value:null},e)}function C_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let At=[];C_(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||At[0]===t.target)return;let r=t.target;r=r.closest(Mn),At.unshift(r??t.target),At=At.filter(n=>n!=null&&n.isConnected),At.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function x_(e){throw new Error("Unexpected object: "+e)}var x0=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(x0||{});function Z5(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=n??-1;switch(e.focus){case 0:{for(let o=0;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 1:{i===-1&&(i=r.length);for(let o=i-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 2:{for(let o=i+1;o<r.length;++o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 3:{for(let o=r.length-1;o>=0;--o)if(!t.resolveDisabled(r[o],o,r))return o;return n}case 4:{for(let o=0;o<r.length;++o)if(t.resolveId(r[o],o,r)===e.id)return o;return n}case 5:return null;default:x_(e)}}function g9(e){let t=ye(e),r=me(!1);Le(()=>(r.current=!1,()=>{r.current=!0,c5(()=>{r.current&&t()})}),[t])}function S_(){let e=typeof document>"u";return"useSyncExternalStore"in an?(t=>t.useSyncExternalStore)(an)(()=>()=>{},()=>!1,()=>!e):!1}function M3(){let e=S_(),[t,r]=Ee(d2.isHandoffComplete);return t&&d2.isHandoffComplete===!1&&r(!1),Le(()=>{t!==!0&&r(!0)},[t]),Le(()=>d2.handoff(),[]),e?!1:t}let w9=u0(!1);function E_(){return He(w9)}function $s(e){return se.createElement(w9.Provider,{value:e.force},e.children)}function A_(e){let t=E_(),r=He(v9),n=Cr(e),[i,o]=Ee(()=>{var s;if(!t&&r!==null)return(s=r.current)!=null?s:null;if(d2.isServer)return null;let a=n==null?void 0:n.getElementById("headlessui-portal-root");if(a)return a;if(n===null)return null;let l=n.createElement("div");return l.setAttribute("id","headlessui-portal-root"),n.body.appendChild(l)});return Le(()=>{i!==null&&(n!=null&&n.body.contains(i)||n==null||n.body.appendChild(i))},[i,n]),Le(()=>{t||r!==null&&o(r.current)},[r,o,t]),i}let y9=Ze,T_=b0(function(e,t){let r=e,n=me(null),i=L0(vv(f=>{n.current=f}),t),o=Cr(n),s=A_(n),[a]=Ee(()=>{var f;return d2.isServer?null:(f=o==null?void 0:o.createElement("div"))!=null?f:null}),l=He(pi),c=M3();t0(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),t0(()=>{if(a&&l)return l.register(a)},[l,a]),g9(()=>{var f;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((f=s.parentElement)==null||f.removeChild(s)))});let d=N0();return c?!s||!a?null:Bn(d({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:y9,name:"Portal"}),a):null});function N_(e,t){let r=L0(t),{enabled:n=!0,...i}=e,o=N0();return n?se.createElement(T_,{...i,ref:r}):o({ourProps:{ref:r},theirProps:i,slot:{},defaultTag:y9,name:"Portal"})}let M_=Ze,v9=u0(null);function k_(e,t){let{target:r,...n}=e,i={ref:L0(t)},o=N0();return se.createElement(v9.Provider,{value:r},o({ourProps:i,theirProps:n,defaultTag:M_,name:"Popover.Group"}))}let pi=u0(null);function I_(){let e=He(pi),t=me([]),r=ye(o=>(t.current.push(o),e&&e.register(o),()=>n(o))),n=ye(o=>{let s=t.current.indexOf(o);s!==-1&&t.current.splice(s,1),e&&e.unregister(o)}),i=ve(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,ve(()=>function({children:o}){return se.createElement(pi.Provider,{value:i},o)},[i])]}let R_=b0(N_),b9=b0(k_),_9=Object.assign(R_,{Group:b9});function O_(e,t=typeof document<"u"?document.defaultView:null,r){let n=_r(e,"escape");Zl(t,"keydown",i=>{n&&(i.defaultPrevented||i.key===C0.Escape&&r(i))})}function D_(){var e;let[t]=Ee(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,n]=Ee((e=t==null?void 0:t.matches)!=null?e:!1);return t0(()=>{if(!t)return;function i(o){n(o.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),r}function $_({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=Cr(r),i=ye(()=>{var o,s;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"current"in l&&l.current instanceof HTMLElement&&a.push(l.current));if(t!=null&&t.current)for(let l of t.current)a.push(l);for(let l of(o=n==null?void 0:n.querySelectorAll("html > *, body > *"))!=null?o:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(r&&(l.contains(r)||l.contains((s=r==null?void 0:r.getRootNode())==null?void 0:s.host))||a.some(c=>l.contains(c))||a.push(l));return a});return{resolveContainers:i,contains:ye(o=>i().some(s=>s.contains(o)))}}let C9=u0(null);function Fs({children:e,node:t}){let[r,n]=Ee(null),i=x9(t??r);return se.createElement(C9.Provider,{value:i},e,i===null&&se.createElement(s3,{features:ur.Hidden,ref:o=>{var s,a;if(o){for(let l of(a=(s=br(o))==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?a:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l!=null&&l.contains(o)){n(l);break}}}}))}function x9(e=null){var t;return(t=He(C9))!=null?t:e}function _o(){let e=me(!1);return t0(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var zr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(zr||{});function F_(){let e=me(0);return zl(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function S9(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}let P_="div";var s2=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(s2||{});function L_(e,t){let r=me(null),n=L0(r,t),{initialFocus:i,initialFocusFallback:o,containers:s,features:a=15,...l}=e;M3()||(a=0);let c=Cr(r);U_(a,{ownerDocument:c});let d=j_(a,{ownerDocument:c,container:r,initialFocus:i,initialFocusFallback:o});W_(a,{ownerDocument:c,container:r,containers:s,previousActiveElement:d});let f=F_(),m=ye(C=>{let A=r.current;A&&(N=>N())(()=>{G0(f.current,{[zr.Forwards]:()=>{X2(A,b1.First,{skipElements:[C.relatedTarget,o]})},[zr.Backwards]:()=>{X2(A,b1.Last,{skipElements:[C.relatedTarget,o]})}})})}),h=_r(!!(a&2),"focus-trap#tab-lock"),p=zt(),v=me(!1),b={ref:n,onKeyDown(C){C.key=="Tab"&&(v.current=!0,p.requestAnimationFrame(()=>{v.current=!1}))},onBlur(C){if(!(a&4))return;let A=S9(s);r.current instanceof HTMLElement&&A.add(r.current);let N=C.relatedTarget;N instanceof HTMLElement&&N.dataset.headlessuiFocusGuard!=="true"&&(E9(A,N)||(v.current?X2(r.current,G0(f.current,{[zr.Forwards]:()=>b1.Next,[zr.Backwards]:()=>b1.Previous})|b1.WrapAround,{relativeTo:C.target}):C.target instanceof HTMLElement&&nt(C.target)))}},_=N0();return se.createElement(se.Fragment,null,h&&se.createElement(s3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:ur.Focusable}),_({ourProps:b,theirProps:l,defaultTag:P_,name:"FocusTrap"}),h&&se.createElement(s3,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:ur.Focusable}))}let B_=b0(L_),H_=Object.assign(B_,{features:s2});function V_(e=!0){let t=me(At.slice());return po(([r],[n])=>{n===!0&&r===!1&&c5(()=>{t.current.splice(0)}),n===!1&&r===!0&&(t.current=At.slice())},[e,At,t]),ye(()=>{var r;return(r=t.current.find(n=>n!=null&&n.isConnected))!=null?r:null})}function U_(e,{ownerDocument:t}){let r=!!(e&8),n=V_(r);po(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&nt(n())},[r]),g9(()=>{r&&nt(n())})}function j_(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:i}){let o=me(null),s=_r(!!(e&1),"focus-trap#initial-focus"),a=_o();return po(()=>{if(e===0)return;if(!s){i!=null&&i.current&&nt(i.current);return}let l=r.current;l&&c5(()=>{if(!a.current)return;let c=t==null?void 0:t.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===c){o.current=c;return}}else if(l.contains(c)){o.current=c;return}if(n!=null&&n.current)nt(n.current);else{if(e&16){if(X2(l,b1.First|b1.AutoFocus)!==di.Error)return}else if(X2(l,b1.First)!==di.Error)return;if(i!=null&&i.current&&(nt(i.current),(t==null?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}o.current=t==null?void 0:t.activeElement})},[i,s,e]),o}function W_(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let o=_o(),s=!!(e&4);Zl(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!o.current)return;let l=S9(n);r.current instanceof HTMLElement&&l.add(r.current);let c=i.current;if(!c)return;let d=a.target;d&&d instanceof HTMLElement?E9(l,d)?(i.current=d,nt(d)):(a.preventDefault(),a.stopPropagation(),nt(c)):nt(i.current)},!0)}function E9(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function A9(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:N9)!==Ze||se.Children.count(e.children)===1}let y5=u0(null);y5.displayName="TransitionContext";var q_=(e=>(e.Visible="visible",e.Hidden="hidden",e))(q_||{});function G_(){let e=He(y5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function z_(){let e=He(v5);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let v5=u0(null);v5.displayName="NestingContext";function b5(e){return"children"in e?b5(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function T9(e,t){let r=Yt(e),n=me([]),i=_o(),o=zt(),s=ye((h,p=kt.Hidden)=>{let v=n.current.findIndex(({el:b})=>b===h);v!==-1&&(G0(p,{[kt.Unmount](){n.current.splice(v,1)},[kt.Hidden](){n.current[v].state="hidden"}}),o.microTask(()=>{var b;!b5(n)&&i.current&&((b=r.current)==null||b.call(r))}))}),a=ye(h=>{let p=n.current.find(({el:v})=>v===h);return p?p.state!=="visible"&&(p.state="visible"):n.current.push({el:h,state:"visible"}),()=>s(h,kt.Unmount)}),l=me([]),c=me(Promise.resolve()),d=me({enter:[],leave:[]}),f=ye((h,p,v)=>{l.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([b])=>b!==h)),t==null||t.chains.current[p].push([h,new Promise(b=>{l.current.push(b)})]),t==null||t.chains.current[p].push([h,new Promise(b=>{Promise.all(d.current[p].map(([_,C])=>C)).then(()=>b())})]),p==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>v(p)):v(p)}),m=ye((h,p,v)=>{Promise.all(d.current[p].splice(0).map(([b,_])=>_)).then(()=>{var b;(b=l.current.shift())==null||b()}).then(()=>v(p))});return ve(()=>({children:n,register:a,unregister:s,onStart:f,onStop:m,wait:c,chains:d}),[a,s,n,f,m,d,c])}let N9=Ze,M9=lr.RenderStrategy;function Y_(e,t){var r,n;let{transition:i=!0,beforeEnter:o,afterEnter:s,beforeLeave:a,afterLeave:l,enter:c,enterFrom:d,enterTo:f,entered:m,leave:h,leaveFrom:p,leaveTo:v,...b}=e,[_,C]=Ee(null),A=me(null),N=A9(e),k=L0(...N?[A,t,C]:t===null?[]:[t]),D=(r=b.unmount)==null||r?kt.Unmount:kt.Hidden,{show:P,appear:T,initial:S}=G_(),[I,M]=Ee(P?"visible":"hidden"),L=z_(),{register:O,unregister:j}=L;t0(()=>O(A),[O,A]),t0(()=>{if(D===kt.Hidden&&A.current){if(P&&I!=="visible"){M("visible");return}return G0(I,{hidden:()=>j(A),visible:()=>O(A)})}},[I,A,O,j,P,D]);let le=M3();t0(()=>{if(N&&le&&I==="visible"&&A.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[A,I,le,N]);let K=S&&!T,X=T&&P&&S,B=me(!1),Y=T9(()=>{B.current||(M("hidden"),j(A))},L),W=ye(Me=>{B.current=!0;let ie=Me?"enter":"leave";Y.onStart(A,ie,V=>{V==="enter"?o==null||o():V==="leave"&&(a==null||a())})}),Q=ye(Me=>{let ie=Me?"enter":"leave";B.current=!1,Y.onStop(A,ie,V=>{V==="enter"?s==null||s():V==="leave"&&(l==null||l())}),ie==="leave"&&!b5(Y)&&(M("hidden"),j(A))});Le(()=>{N&&i||(W(P),Q(P))},[P,N,i]);let G=!(!i||!N||!le||K),[,F]=Xl(G,_,P,{start:W,end:Q}),ue=Ct({ref:k,className:((n=ui(b.className,X&&c,X&&d,F.enter&&c,F.enter&&F.closed&&d,F.enter&&!F.closed&&f,F.leave&&h,F.leave&&!F.closed&&p,F.leave&&F.closed&&v,!F.transition&&P&&m))==null?void 0:n.trim())||void 0,...Jl(F)}),ce=0;I==="visible"&&(ce|=V0.Open),I==="hidden"&&(ce|=V0.Closed),F.enter&&(ce|=V0.Opening),F.leave&&(ce|=V0.Closing);let xe=N0();return se.createElement(v5.Provider,{value:Y},se.createElement(p9,{value:ce},xe({ourProps:ue,theirProps:b,defaultTag:N9,features:M9,visible:I==="visible",name:"Transition.Child"})))}function Z_(e,t){let{show:r,appear:n=!1,unmount:i=!0,...o}=e,s=me(null),a=A9(e),l=L0(...a?[s,t]:t===null?[]:[t]);M3();let c=N3();if(r===void 0&&c!==null&&(r=(c&V0.Open)===V0.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=Ee(r?"visible":"hidden"),m=T9(()=>{r||f("hidden")}),[h,p]=Ee(!0),v=me([r]);t0(()=>{h!==!1&&v.current[v.current.length-1]!==r&&(v.current.push(r),p(!1))},[v,r]);let b=ve(()=>({show:r,appear:n,initial:h}),[r,n,h]);t0(()=>{r?f("visible"):!b5(m)&&s.current!==null&&f("hidden")},[r,m]);let _={unmount:i},C=ye(()=>{var k;h&&p(!1),(k=e.beforeEnter)==null||k.call(e)}),A=ye(()=>{var k;h&&p(!1),(k=e.beforeLeave)==null||k.call(e)}),N=N0();return se.createElement(v5.Provider,{value:m},se.createElement(y5.Provider,{value:b},N({ourProps:{..._,as:Ze,children:se.createElement(k9,{ref:l,..._,...o,beforeEnter:C,beforeLeave:A})},theirProps:{},defaultTag:Ze,features:M9,visible:d==="visible",name:"Transition"})))}function K_(e,t){let r=He(y5)!==null,n=N3()!==null;return se.createElement(se.Fragment,null,!r&&n?se.createElement(gi,{ref:t,...e}):se.createElement(k9,{ref:t,...e}))}let gi=b0(Z_),k9=b0(Y_),Co=b0(K_),I9=Object.assign(gi,{Child:Co,Root:gi});var J_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(J_||{}),X_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(X_||{});let Q_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},xo=u0(null);xo.displayName="DialogContext";function _5(e){let t=He(xo);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,_5),r}return t}function eC(e,t){return G0(t.type,Q_,e,t)}let Ps=b0(function(e,t){let r=h1(),{id:n=`headlessui-dialog-${r}`,open:i,onClose:o,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:c=!1,unmount:d=!1,...f}=e,m=me(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(m.current||(m.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let h=N3();i===void 0&&h!==null&&(i=(h&V0.Open)===V0.Open);let p=me(null),v=L0(p,t),b=Cr(p),_=i?0:1,[C,A]=C2(eC,{titleId:null,descriptionId:null,panelRef:Fn()}),N=ye(()=>o(!1)),k=ye(Q=>A({type:0,id:Q})),D=M3()?_===0:!1,[P,T]=I_(),S={get current(){var Q;return(Q=C.panelRef.current)!=null?Q:p.current}},I=x9(),{resolveContainers:M}=$_({mainTreeNode:I,portals:P,defaultContainers:[S]}),L=h!==null?(h&V0.Closing)===V0.Closing:!1;Vl(c||L?!1:D,{allowed:ye(()=>{var Q,G;return[(G=(Q=p.current)==null?void 0:Q.closest("[data-headlessui-portal]"))!=null?G:null]}),disallowed:ye(()=>{var Q;return[(Q=I==null?void 0:I.closest("body > *:not(#headlessui-portal-root)"))!=null?Q:null]})}),Yl(D,M,Q=>{Q.preventDefault(),N()}),O_(D,b==null?void 0:b.defaultView,Q=>{Q.preventDefault(),Q.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),N()}),Kl(c||L?!1:D,b,M),Ul(D,p,N);let[O,j]=_v(),le=ve(()=>[{dialogState:_,close:N,setTitleId:k,unmount:d},C],[_,C,N,k,d]),K=ve(()=>({open:_===0}),[_]),X={ref:v,id:n,role:a,tabIndex:-1,"aria-modal":c?void 0:_===0?!0:void 0,"aria-labelledby":C.titleId,"aria-describedby":O,unmount:d},B=!D_(),Y=s2.None;D&&!c&&(Y|=s2.RestoreFocus,Y|=s2.TabLock,l&&(Y|=s2.AutoFocus),B&&(Y|=s2.InitialFocus));let W=N0();return se.createElement(__,null,se.createElement($s,{force:!0},se.createElement(_9,null,se.createElement(xo.Provider,{value:le},se.createElement(b9,{target:p},se.createElement($s,{force:!1},se.createElement(j,{slot:K},se.createElement(T,null,se.createElement(H_,{initialFocus:s,initialFocusFallback:p,containers:M,features:Y},se.createElement(Rv,{value:N},W({ourProps:X,theirProps:f,slot:K,defaultTag:tC,features:rC,visible:_===0,name:"Dialog"})))))))))))}),tC="div",rC=lr.RenderStrategy|lr.Static;function nC(e,t){let{transition:r=!1,open:n,...i}=e,o=N3(),s=e.hasOwnProperty("open")||o!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(n!==void 0||r)&&!i.static?se.createElement(Fs,null,se.createElement(I9,{show:n,transition:r,unmount:i.unmount},se.createElement(Ps,{ref:t,...i}))):se.createElement(Fs,null,se.createElement(Ps,{ref:t,open:n,...i}))}let iC="div";function oC(e,t){let r=h1(),{id:n=`headlessui-dialog-panel-${r}`,transition:i=!1,...o}=e,[{dialogState:s,unmount:a},l]=_5("Dialog.Panel"),c=L0(t,l.panelRef),d=ve(()=>({open:s===0}),[s]),f=ye(b=>{b.stopPropagation()}),m={ref:c,id:n,onClick:f},h=i?Co:Ze,p=i?{unmount:a}:{},v=N0();return se.createElement(h,{...p},v({ourProps:m,theirProps:o,slot:d,defaultTag:iC,name:"Dialog.Panel"}))}let sC="div";function aC(e,t){let{transition:r=!1,...n}=e,[{dialogState:i,unmount:o}]=_5("Dialog.Backdrop"),s=ve(()=>({open:i===0}),[i]),a={ref:t,"aria-hidden":!0},l=r?Co:Ze,c=r?{unmount:o}:{},d=N0();return se.createElement(l,{...c},d({ourProps:a,theirProps:n,slot:s,defaultTag:sC,name:"Dialog.Backdrop"}))}let lC="h2";function uC(e,t){let r=h1(),{id:n=`headlessui-dialog-title-${r}`,...i}=e,[{dialogState:o,setTitleId:s}]=_5("Dialog.Title"),a=L0(t);Le(()=>(s(n),()=>s(null)),[n,s]);let l=ve(()=>({open:o===0}),[o]),c={ref:a,id:n};return N0()({ourProps:c,theirProps:i,slot:l,defaultTag:lC,name:"Dialog.Title"})}let cC=b0(nC),dC=b0(oC),fC=b0(aC),mC=b0(uC),So=Object.assign(cC,{Panel:dC,Title:mC,Description:Ev});function hC(e,t){let r=me({left:0,top:0});if(t0(()=>{if(!t)return;let i=t.getBoundingClientRect();i&&(r.current=i)},[e,t]),t==null||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}let Ls=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Bs(e){var t,r;let n=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return n;let o=!1;for(let a of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))a.remove(),o=!0;let s=o?(r=i.innerText)!=null?r:"":n;return Ls.test(s)&&(s=s.replace(Ls,"")),s}function pC(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let n=r.split(" ").map(i=>{let o=document.getElementById(i);if(o){let s=o.getAttribute("aria-label");return typeof s=="string"?s.trim():Bs(o).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return Bs(e).trim()}function gC(e){let t=me(""),r=me("");return ye(()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let o=pC(n).trim().toLowerCase();return t.current=i,r.current=o,o})}var wC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wC||{}),yC=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(yC||{}),vC=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(vC||{}),bC=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(bC||{});function K5(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,n=ql(t(e.options.slice()),o=>o.dataRef.current.domRef.current),i=r?n.indexOf(r):null;return i===-1&&(i=null),{options:n,activeOptionIndex:i}}let _C={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));return n!==-1&&(t=n),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var r,n,i,o,s;if(e.dataRef.current.disabled||e.listboxState===1)return e;let a={...e,searchQuery:"",activationTrigger:(r=t.trigger)!=null?r:1,__demoMode:!1};if(t.focus===x0.Nothing)return{...a,activeOptionIndex:null};if(t.focus===x0.Specific)return{...a,activeOptionIndex:e.options.findIndex(d=>d.id===t.id)};if(t.focus===x0.Previous){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,m=Z5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(m!==null){let h=e.options[m].dataRef.current.domRef;if(((n=f.current)==null?void 0:n.previousElementSibling)===h.current||((i=h.current)==null?void 0:i.previousElementSibling)===null)return{...a,activeOptionIndex:m}}}}else if(t.focus===x0.Next){let d=e.activeOptionIndex;if(d!==null){let f=e.options[d].dataRef.current.domRef,m=Z5(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});if(m!==null){let h=e.options[m].dataRef.current.domRef;if(((o=f.current)==null?void 0:o.nextElementSibling)===h.current||((s=h.current)==null?void 0:s.nextElementSibling)===null)return{...a,activeOptionIndex:m}}}}let l=K5(e),c=Z5(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});return{...a,...l,activeOptionIndex:c}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,n=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(s=>{var a;return!s.dataRef.current.disabled&&((a=s.dataRef.current.textValue)==null?void 0:a.startsWith(n))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},n=K5(e,i=>[...i,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(n.activeOptionIndex=n.options.indexOf(r)),{...e,...n}},6:(e,t)=>{let r=K5(e,n=>{let i=n.findIndex(o=>o.id===t.id);return i!==-1&&n.splice(i,1),n});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Eo=u0(null);Eo.displayName="ListboxActionsContext";function C5(e){let t=He(Eo);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,C5),r}return t}let x5=u0(null);x5.displayName="ListboxDataContext";function k3(e){let t=He(x5);if(t===null){let r=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,k3),r}return t}function CC(e,t){return G0(t.type,_C,e,t)}let xC=Ze;function SC(e,t){var r;let n=mo(),{value:i,defaultValue:o,form:s,name:a,onChange:l,by:c,invalid:d=!1,disabled:f=n||!1,horizontal:m=!1,multiple:h=!1,__demoMode:p=!1,...v}=e;const b=m?"horizontal":"vertical";let _=L0(t),C=lv(o),[A=h?[]:void 0,N]=av(i,l,C),[k,D]=C2(CC,{dataRef:Fn(),listboxState:p?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:p}),P=me({static:!1,hold:!1}),T=me(new Map),S=Dv(c),I=De(re=>G0(M.mode,{1:()=>A.some(ne=>S(ne,re)),0:()=>S(A,re)}),[A]),M=ve(()=>({...k,value:A,disabled:f,invalid:d,mode:h?1:0,orientation:b,compare:S,isSelected:I,optionsPropsRef:P,listRef:T}),[A,f,d,h,k,T]);t0(()=>{k.dataRef.current=M},[M]);let L=M.listboxState===0;Yl(L,[M.buttonElement,M.optionsElement],(re,ne)=>{var te;D({type:1}),Wl(ne,ho.Loose)||(re.preventDefault(),(te=M.buttonElement)==null||te.focus())});let O=ve(()=>({open:M.listboxState===0,disabled:f,invalid:d,value:A}),[M,f,A,d]),j=ye(re=>{let ne=M.options.find(te=>te.id===re);ne&&Q(ne.dataRef.current.value)}),le=ye(()=>{if(M.activeOptionIndex!==null){let{dataRef:re,id:ne}=M.options[M.activeOptionIndex];Q(re.current.value),D({type:2,focus:x0.Specific,id:ne})}}),K=ye(()=>D({type:0})),X=ye(()=>D({type:1})),B=zt(),Y=ye((re,ne,te)=>{B.dispose(),B.microTask(()=>re===x0.Specific?D({type:2,focus:x0.Specific,id:ne,trigger:te}):D({type:2,focus:re,trigger:te}))}),W=ye((re,ne)=>(D({type:5,id:re,dataRef:ne}),()=>D({type:6,id:re}))),Q=ye(re=>G0(M.mode,{0(){return N==null?void 0:N(re)},1(){let ne=M.value.slice(),te=ne.findIndex(Z=>S(Z,re));return te===-1?ne.push(re):ne.splice(te,1),N==null?void 0:N(ne)}})),G=ye(re=>D({type:3,value:re})),F=ye(()=>D({type:4})),ue=ye(re=>{D({type:7,element:re})}),ce=ye(re=>{D({type:8,element:re})}),xe=ve(()=>({onChange:Q,registerOption:W,goToOption:Y,closeListbox:X,openListbox:K,selectActiveOption:le,selectOption:j,search:G,clearSearch:F,setButtonElement:ue,setOptionsElement:ce}),[]),[Me,ie]=Av({inherit:!0}),V={ref:_},J=De(()=>{if(C!==void 0)return N==null?void 0:N(C)},[N,C]),he=N0();return se.createElement(ie,{value:Me,props:{htmlFor:(r=M.buttonElement)==null?void 0:r.id},slot:{open:M.listboxState===0,disabled:f}},se.createElement(w_,null,se.createElement(Eo.Provider,{value:xe},se.createElement(x5.Provider,{value:M},se.createElement(p9,{value:G0(M.listboxState,{0:V0.Open,1:V0.Closed})},a!=null&&A!=null&&se.createElement(hv,{disabled:f,data:{[a]:A},form:s,onReset:J}),he({ourProps:V,theirProps:v,slot:O,defaultTag:xC,name:"Listbox"}))))))}let EC="button";function AC(e,t){var r;let n=k3("Listbox.Button"),i=C5("Listbox.Button"),o=h1(),s=Dl(),{id:a=s||`headlessui-listbox-button-${o}`,disabled:l=n.disabled||!1,autoFocus:c=!1,...d}=e,f=L0(t,m_(),i.setButtonElement),m=h_(),h=ye(M=>{switch(M.key){case C0.Enter:uv(M.currentTarget);break;case C0.Space:case C0.ArrowDown:M.preventDefault(),r1(()=>i.openListbox()),n.value||i.goToOption(x0.First);break;case C0.ArrowUp:M.preventDefault(),r1(()=>i.openListbox()),n.value||i.goToOption(x0.Last);break}}),p=ye(M=>{switch(M.key){case C0.Space:M.preventDefault();break}}),v=ye(M=>{var L;if(wv(M.currentTarget))return M.preventDefault();n.listboxState===0?(r1(()=>i.closeListbox()),(L=n.buttonElement)==null||L.focus({preventScroll:!0})):(M.preventDefault(),i.openListbox())}),b=ye(M=>M.preventDefault()),_=Ll([a]),C=bv(),{isFocusVisible:A,focusProps:N}=Zy({autoFocus:c}),{isHovered:k,hoverProps:D}=Yy({isDisabled:l}),{pressed:P,pressProps:T}=tv({disabled:l}),S=ve(()=>({open:n.listboxState===0,active:P||n.listboxState===0,disabled:l,invalid:n.invalid,value:n.value,hover:k,focus:A,autofocus:c}),[n.listboxState,n.value,l,k,A,P,n.invalid,c]),I=kl(m(),{ref:f,id:a,type:Yv(e,n.buttonElement),"aria-haspopup":"listbox","aria-controls":(r=n.optionsElement)==null?void 0:r.id,"aria-expanded":n.listboxState===0,"aria-labelledby":_,"aria-describedby":C,disabled:l||void 0,autoFocus:c,onKeyDown:h,onKeyUp:p,onKeyPress:b,onClick:v},N,D,T);return N0()({ourProps:I,theirProps:d,slot:S,defaultTag:EC,name:"Listbox.Button"})}let R9=u0(!1),TC="div",NC=lr.RenderStrategy|lr.Static;function MC(e,t){var r,n;let i=h1(),{id:o=`headlessui-listbox-options-${i}`,anchor:s,portal:a=!1,modal:l=!0,transition:c=!1,...d}=e,f=f_(s),[m,h]=Ee(null);f&&(a=!0);let p=k3("Listbox.Options"),v=C5("Listbox.Options"),b=Cr(p.optionsElement),_=N3(),[C,A]=Xl(c,m,_!==null?(_&V0.Open)===V0.Open:p.listboxState===0);Ul(C,p.buttonElement,v.closeListbox);let N=p.__demoMode?!1:l&&p.listboxState===0;Kl(N,b);let k=p.__demoMode?!1:l&&p.listboxState===0;Vl(k,{allowed:De(()=>[p.buttonElement,p.optionsElement],[p.buttonElement,p.optionsElement])});let D=p.listboxState!==0,P=hC(D,p.buttonElement)?!1:C,T=C&&p.listboxState===1,S=b_(T,p.value),I=ye(F=>p.compare(S,F)),M=ve(()=>{var F;if(f==null||!((F=f==null?void 0:f.to)!=null&&F.includes("selection")))return null;let ue=p.options.findIndex(ce=>I(ce.dataRef.current.value));return ue===-1&&(ue=0),ue},[f,p.options]),L=(()=>{if(f==null)return;if(M===null)return{...f,inner:void 0};let F=Array.from(p.listRef.current.values());return{...f,inner:{listRef:{current:F},index:M}}})(),[O,j]=g_(L),le=p_(),K=L0(t,f?O:null,v.setOptionsElement,h),X=zt();Le(()=>{var F;let ue=p.optionsElement;ue&&p.listboxState===0&&ue!==((F=br(ue))==null?void 0:F.activeElement)&&(ue==null||ue.focus({preventScroll:!0}))},[p.listboxState,p.optionsElement]);let B=ye(F=>{var ue,ce;switch(X.dispose(),F.key){case C0.Space:if(p.searchQuery!=="")return F.preventDefault(),F.stopPropagation(),v.search(F.key);case C0.Enter:if(F.preventDefault(),F.stopPropagation(),p.activeOptionIndex!==null){let{dataRef:xe}=p.options[p.activeOptionIndex];v.onChange(xe.current.value)}p.mode===0&&(r1(()=>v.closeListbox()),(ue=p.buttonElement)==null||ue.focus({preventScroll:!0}));break;case G0(p.orientation,{vertical:C0.ArrowDown,horizontal:C0.ArrowRight}):return F.preventDefault(),F.stopPropagation(),v.goToOption(x0.Next);case G0(p.orientation,{vertical:C0.ArrowUp,horizontal:C0.ArrowLeft}):return F.preventDefault(),F.stopPropagation(),v.goToOption(x0.Previous);case C0.Home:case C0.PageUp:return F.preventDefault(),F.stopPropagation(),v.goToOption(x0.First);case C0.End:case C0.PageDown:return F.preventDefault(),F.stopPropagation(),v.goToOption(x0.Last);case C0.Escape:F.preventDefault(),F.stopPropagation(),r1(()=>v.closeListbox()),(ce=p.buttonElement)==null||ce.focus({preventScroll:!0});return;case C0.Tab:F.preventDefault(),F.stopPropagation(),r1(()=>v.closeListbox()),qv(p.buttonElement,F.shiftKey?b1.Previous:b1.Next);break;default:F.key.length===1&&(v.search(F.key),X.setTimeout(()=>v.clearSearch(),350));break}}),Y=(r=p.buttonElement)==null?void 0:r.id,W=ve(()=>({open:p.listboxState===0}),[p.listboxState]),Q=kl(f?le():{},{id:o,ref:K,"aria-activedescendant":p.activeOptionIndex===null||(n=p.options[p.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":p.mode===1?!0:void 0,"aria-labelledby":Y,"aria-orientation":p.orientation,onKeyDown:B,role:"listbox",tabIndex:p.listboxState===0?0:void 0,style:{...d.style,...j,"--button-width":Fv(p.buttonElement,!0).width},...Jl(A)}),G=N0();return se.createElement(_9,{enabled:a?e.static||C:!1},se.createElement(x5.Provider,{value:p.mode===1?p:{...p,isSelected:I}},G({ourProps:Q,theirProps:d,slot:W,defaultTag:TC,features:NC,visible:P,name:"Listbox.Options"})))}let kC="div";function IC(e,t){let r=h1(),{id:n=`headlessui-listbox-option-${r}`,disabled:i=!1,value:o,...s}=e,a=He(R9)===!0,l=k3("Listbox.Option"),c=C5("Listbox.Option"),d=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===n:!1,f=l.isSelected(o),m=me(null),h=gC(m),p=Yt({disabled:i,value:o,domRef:m,get textValue(){return h()}}),v=L0(t,m,S=>{S?l.listRef.current.set(n,S):l.listRef.current.delete(n)});t0(()=>{if(!l.__demoMode&&l.listboxState===0&&d&&l.activationTrigger!==0)return gt().requestAnimationFrame(()=>{var S,I;(I=(S=m.current)==null?void 0:S.scrollIntoView)==null||I.call(S,{block:"nearest"})})},[m,d,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),t0(()=>{if(!a)return c.registerOption(n,p)},[p,n,a]);let b=ye(S=>{var I;if(i)return S.preventDefault();c.onChange(o),l.mode===0&&(r1(()=>c.closeListbox()),(I=l.buttonElement)==null||I.focus({preventScroll:!0}))}),_=ye(()=>{if(i)return c.goToOption(x0.Nothing);c.goToOption(x0.Specific,n)}),C=eb(),A=ye(S=>{C.update(S),!i&&(d||c.goToOption(x0.Specific,n,0))}),N=ye(S=>{C.wasMoved(S)&&(i||d||c.goToOption(x0.Specific,n,0))}),k=ye(S=>{C.wasMoved(S)&&(i||d&&c.goToOption(x0.Nothing))}),D=ve(()=>({active:d,focus:d,selected:f,disabled:i,selectedOption:f&&a}),[d,f,i,a]),P=a?{}:{id:n,ref:v,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":f,disabled:void 0,onClick:b,onFocus:_,onPointerEnter:A,onMouseEnter:A,onPointerMove:N,onMouseMove:N,onPointerLeave:k,onMouseLeave:k},T=N0();return!f&&a?null:T({ourProps:P,theirProps:s,slot:D,defaultTag:kC,name:"Listbox.Option"})}let RC=Ze;function OC(e,t){let{options:r,placeholder:n,...i}=e,o={ref:L0(t)},s=k3("ListboxSelectedOption"),a=ve(()=>({}),[]),l=s.value===void 0||s.value===null||s.mode===1&&Array.isArray(s.value)&&s.value.length===0,c=N0();return se.createElement(R9.Provider,{value:!0},c({ourProps:o,theirProps:{...i,children:se.createElement(se.Fragment,null,n&&l?n:r)},slot:a,defaultTag:RC,name:"ListboxSelectedOption"}))}let DC=b0(SC),O9=b0(AC),$C=kv,D9=b0(MC),$9=b0(IC),FC=b0(OC),PC=Object.assign(DC,{Button:O9,Label:$C,Options:D9,Option:$9,SelectedOption:FC}),g0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}};function x2(e){return u(So,mt(e,1))}class lt extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","ClassName","Children"]}}function S2(e){return u(So.Panel,mt(e,1))}class On extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName","Children"]}}function F9(e){return u(So.Title,mt(e,1))}class E2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["As","Key","ClassName"]}}function A2(e){return u(fC,mt(e,1))}function Zt(e,t){let r;return u("svg",y(g([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",{d:"M6 18L18 6M6 6L18 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",w.Children.toArray(Array.from(r))])])))}function LC(e,t){let r,n,i,o,s;return x2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[S2(ae(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is mapping and why is it important?"}),u("button",y(g([["onClick",a=>{t()}],["type","button"],["className","text-gray-700"],(o=[Zt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-sm text-gray-600 pt-6"],(s="Mapping involves pairing each incoming CSV field with its correct destination field. This step is important because it makes sure that your data is organised correctly, minimising the risk of errors and ensuring a smooth import process.",["children",s])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function T2(e){return u("span",{className:"font-sonoma text-black font-semibold text-lg",children:e})}function Ar(e){return u("span",{className:"text-sm font-normal pt-2",children:e})}function b2(e,t){return u("button",{className:"rounded-2xl text-xs font-medium text-gray-600 border px-3.5 py-1.5 bg-white hover:bg-gray-50",onClick:r=>{t()},type:"button",children:w.Children.toArray([e])})}function P9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM11 6C11 6.55228 10.5523 7 10 7C9.44772 7 9 6.55228 9 6C9 5.44772 9.44772 5 10 5C10.5523 5 11 5.44772 11 6ZM9 9C8.44772 9 8 9.44772 8 10C8 10.5523 8.44772 11 9 11V14C9 14.5523 9.44772 15 10 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13V10C11 9.44772 10.5523 9 10 9H9Z",["d",n]),["fill","#60A5FA"]])))),["children",w.Children.toArray(Array.from(r))])])))}function S5(e){let t,r;return u("div",y(g([["className","w-full p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[P9(20,20),u("div",y(g([["className","grow shrink basis-0 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-blue-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function L9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M15.8008 12.5263L9.48383 0.880306C9.32803 0.591371 9.09045 0.354828 8.80083 0.200306C8.40735 -0.0102628 7.94665 -0.0569536 7.51893 0.0703896C7.0912 0.197733 6.73106 0.488809 6.51683 0.880306L0.20083 12.5263C0.0627228 12.7826 -0.00633038 13.0704 0.00045607 13.3614C0.00724252 13.6525 0.0896351 13.9368 0.239538 14.1863C0.38944 14.4359 0.601694 14.6422 0.855444 14.7849C1.10919 14.9276 1.39571 15.0018 1.68683 15.0003H14.3148C14.5939 15.0003 14.8686 14.9316 15.1148 14.8003C15.3099 14.6968 15.4825 14.5556 15.6228 14.3851C15.763 14.2145 15.8681 14.0178 15.932 13.8064C15.9958 13.595 16.0172 13.373 15.9949 13.1533C15.9726 12.9336 15.9069 12.7205 15.8018 12.5263H15.8008ZM8.00083 13.0003C7.80305 13.0003 7.60971 12.9417 7.44526 12.8318C7.28081 12.7219 7.15264 12.5657 7.07695 12.383C7.00126 12.2003 6.98146 11.9992 7.02004 11.8052C7.05863 11.6112 7.15387 11.4331 7.29372 11.2932C7.43358 11.1533 7.61176 11.0581 7.80574 11.0195C7.99972 10.9809 8.20079 11.0007 8.38351 11.0764C8.56624 11.1521 8.72242 11.2803 8.8323 11.4447C8.94218 11.6092 9.00083 11.8025 9.00083 12.0003C9.00083 12.2655 8.89547 12.5199 8.70794 12.7074C8.5204 12.8949 8.26605 13.0003 8.00083 13.0003ZM9.00083 9.50031C9.00083 9.63291 8.94815 9.76009 8.85438 9.85386C8.76062 9.94763 8.63344 10.0003 8.50083 10.0003H7.50083C7.36822 10.0003 7.24104 9.94763 7.14728 9.85386C7.05351 9.76009 7.00083 9.63291 7.00083 9.50031V5.50031C7.00083 5.3677 7.05351 5.24052 7.14728 5.14675C7.24104 5.05298 7.36822 5.00031 7.50083 5.00031H8.50083C8.63344 5.00031 8.76062 5.05298 8.85438 5.14675C8.94815 5.24052 9.00083 5.3677 9.00083 5.50031V9.50031Z",["d",n]),["fill","#F87171"]])))),["children",w.Children.toArray(Array.from(r))])])))}function B9(e){let t,r;return u("div",y(g([["className","w-full h-[52px] p-4 bg-red-50 rounded-md justify-start items-start gap-3 inline-flex"],(t=[L9(16,15),u("div",y(g([["className","grow shrink basis-0 h-5 justify-between items-center flex"],(r=[u("div",{className:"grow shrink basis-0 text-red-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function E5(e,t){let r;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",{d:"M15 6H1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M6 11L1 6L6 1",stroke:"#D1D5DB",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",w.Children.toArray(Array.from(r))])])))}let it=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Value","OnChange","Children"]}};function Ao(e){return u(PC,mt(e,1))}class dr extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ClassName","Children"]}}function To(e){return u(O9,mt(e,1))}class No extends z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ClassName"]}}function Mo(e,t){return u(D9,mt(e,1),...t)}class W0 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","Value","Disabled","ClassName","Children"]}}function ko(e){return u($9,mt(e,1))}function Io(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M5.29289 7.29289C5.68342 6.90237 6.31658 6.90237 6.7071 7.29289L9.99999 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68341 13.0976 9.29289 12.7071L5.29289 8.70711C4.90237 8.31658 4.90237 7.68342 5.29289 7.29289Z",["d",n]),["fill","#6B7280"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Br(e,t,r,n,i,o,s,a){let l,c,d,f,m,h,p;const v=i.fields[0],b=Hi(r0(_=>_[1].fields[0],Wn(_=>Va(_.fields[0],v),n)));return u("div",y(g([["key",Qe(e)],["className","h-14 pr-3 py-2 rounded-lg justify-start items-center gap-2 inline-flex"],(l=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(c=[u("div",y(q(E(()=>$(x(["className",`${n==null?"bg-gray-50 border-gray-200 text-gray-500":"bg-emerald-50 border-emerald-200 text-emerald-700"} px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden`]),E(()=>{let _;return x((_=q(E(()=>$(x(u("div",{className:"text-sm font-medium leading-tight",children:o3(e)})),E(()=>x(t?u("div",{className:"text-red-500 text-sm font-medium leading-tight",children:"*"}):Ae()))))),["children",w.Children.toArray(Array.from(_))]))}))))))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[E5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","w-[230px] h-[38px] px-3 justify-start items-center gap-2 flex"],(f=[Ao(g([new it(0,[b]),new it(1,[_=>{H1(C=>{o(C[0])},Vt(Ut(C=>C[1].fields[0]===_?ee(C[2],new Z1(0,[])):!1,v)))}]),new it(2,[[u("div",y(g([q0,["className","relative w-full"],(m=[To(q(E(()=>{let _;return $(x(new dr(0,[`${_=t&&r,_&&n==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),E(()=>{let C;return x(new dr(1,[[u("span",y(q(E(()=>{let A;const N=t&&r;return A=n!=null?[b,""]:N?["Select a field","text-red-900"]:["Select a field","text-gray-500"],$(x(["className",`${A[1]} col-start-1 row-start-1 truncate pr-6`]),E(()=>x(["children",A[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(C=[Io(20,20)],["children",w.Children.toArray(Array.from(C))])])))]]))}))}))),Mo(q(E(()=>x(new No(`z-10 absolute ${e.tag===4?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),q(E(()=>gr(_=>{const C=_[2],A=_[1].fields[0];return x(ko(g([new W0(0,[l1(_[0].fields[0])]),new W0(1,[A]),new W0(2,[ee(C,new Z1(1,[]))]),new W0(3,["relative select-none"]),new W0(4,[N=>[u("span",{className:"px-4 py-2 block truncate "+(C.tag===0?N.active?"bg-primary-600 text-white":"text-gray-700":"text-gray-700 opacity-50 cursor-not-allowed"),children:A})]])])))},v))))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([(h="pl-1 justify-center items-center gap-2.5 flex text-gray-500 text-xs font-normal underline leading-none",["className",h]),(p=[u("button",y(q(E(()=>$(x(["children","Clear"]),E(()=>$(s==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),E(()=>{const _=s;if(_==null)return _e();{const C=_;return x(["onClick",A=>{C()}])}})))))))),u("button",y(q(E(()=>$(x(["children","Preview"]),E(()=>$(a==null?x(["className","opacity-50 cursor-not-allowed"]):x(["className","cursor-pointer py-3 hover:text-gray-700"]),E(()=>{const _=a;if(_==null)return _e();{const C=_;return x(["onClick",A=>{C()}])}}))))))))],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(l))])])))}function H9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.3001 1.40002C6.03495 1.40002 5.79257 1.54983 5.674 1.78697L5.16747 2.80002H2.8001C2.4135 2.80002 2.1001 3.11342 2.1001 3.50002C2.1001 3.88662 2.4135 4.20002 2.8001 4.20002L2.8001 11.2C2.8001 11.9732 3.4269 12.6 4.2001 12.6H9.80009C10.5733 12.6 11.2001 11.9732 11.2001 11.2V4.20002C11.5867 4.20002 11.9001 3.88662 11.9001 3.50002C11.9001 3.11342 11.5867 2.80002 11.2001 2.80002H8.83272L8.32619 1.78697C8.20762 1.54983 7.96523 1.40002 7.70009 1.40002H6.3001ZM4.9001 5.60002C4.9001 5.21342 5.2135 4.90002 5.60009 4.90002C5.98669 4.90002 6.30009 5.21342 6.30009 5.60002V9.80002C6.30009 10.1866 5.98669 10.5 5.60009 10.5C5.2135 10.5 4.9001 10.1866 4.9001 9.80002V5.60002ZM8.40009 4.90002C8.01349 4.90002 7.70009 5.21342 7.70009 5.60002V9.80002C7.70009 10.1866 8.01349 10.5 8.40009 10.5C8.78669 10.5 9.10009 10.1866 9.10009 9.80002V5.60002C9.10009 5.21342 8.78669 4.90002 8.40009 4.90002Z",["d",n]),["fill","#9CA3AF"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Tr(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M9.99992 0.833328C4.94575 0.833328 0.833252 4.94583 0.833252 10C0.833252 15.0542 4.94575 19.1667 9.99992 19.1667C15.0541 19.1667 19.1666 15.0542 19.1666 10C19.1666 4.94583 15.0541 0.833328 9.99992 0.833328ZM8.37409 14.5525L4.65492 10.8333L5.83325 9.655L8.29242 12.1142L14.0883 5.49083L15.3424 6.58833L8.37409 14.5525Z",["d",n]),["fill","#10B981"]])))),["children",w.Children.toArray(Array.from(r))])])))}function V9(e){let t,r,n;return u("div",y(g([["className","w-full h-[52px] p-4 bg-emerald-50 rounded-md justify-start items-center gap-3 inline-flex"],(t=[u("span",y(g([["className","text-emerald-700"],(r=[Tr(20,20)],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","grow shrink basis-0 h-5 justify-start items-center gap-3 flex"],(n=[u("div",{className:"grow shrink basis-0 text-emerald-800 text-sm font-medium leading-tight",children:e})],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}function I3(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M8.83429 0.234315C9.14671 -0.0781049 9.65324 -0.0781049 9.96566 0.234315L13.1657 3.43431C13.4781 3.74673 13.4781 4.25327 13.1657 4.56569L9.96566 7.76569C9.65324 8.0781 9.14671 8.0781 8.83429 7.76569C8.52187 7.45327 8.52187 6.94673 8.83429 6.63432L10.6686 4.8H1.39998C0.958148 4.8 0.599976 4.44183 0.599976 4C0.599976 3.55817 0.958148 3.2 1.39998 3.2H10.6686L8.83429 1.36569C8.52187 1.05327 8.52187 0.546734 8.83429 0.234315Z",["d",n]),["fill","white"]])))),["children",w.Children.toArray(Array.from(r))])])))}function BC(e){return e.startsWith("614")&&e.length===11?`+${e}`:e}function HC(e){return e.startsWith("4")&&e.length===9?`+614${e.slice(1,e.length)}`:e.startsWith("04")&&e.length===10?`+614${e.slice(2,e.length)}`:e}function U9(e){return HC(BC(Ea(e," ","")))}function VC(e,t,r){let n,i,o,s,a,l,c,d;return u("div",y(g([["className","w-80 py-6 justify-start items-center gap-2.5 flex"],(n=[u("div",y(g([(i="grow shrink basis-0 p-4 bg-white rounded-lg shadow-lg border border-gray-100 flex-col justify-start items-start gap-3 inline-flex overflow-hidden",["className",i]),(o=[u("div",y(g([["className","flex justify-between w-full"],(s=[u("span",{className:"text-black text-base font-semibold leading-normal text-nowrap",children:`Previewing “${o3(e)}”`}),u("button",y(g([["onClick",f=>{r()}],["type","button"],["className","text-gray-600"],(a=[Zt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","self-stretch bg-white flex-col justify-start items-start flex overflow-hidden"],(l=[u("div",y(g([["className","self-stretch flex-col justify-center items-start flex"],(c=qn((f,m)=>u("div",y(q(E(()=>$(x(["className",`${f%2===0?"bg-white":"bg-gray-50"} self-stretch h-10 px-3 py-3.5 border-b border-gray-200 justify-start items-center gap-1 inline-flex overflow-hidden`]),E(()=>{let h;return x((h=q(E(()=>{const p=Ht(m);return x(p?u("i",{className:"grow shrink text-gray-500 text-sm font-normal leading-tight",children:"(empty)"}):u("div",y(q(E(()=>$(x(q0),E(()=>$(x(["className","grow shrink text-gray-700 text-sm font-medium leading-tight"]),E(()=>e.tag===3?x(["children",U9(m)]):x(["children",m]))))))))))})),["children",w.Children.toArray(Array.from(h))]))})))))),t),["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","self-stretch pt-2 justify-center items-center gap-2.5 inline-flex"],(d=[u("div",{className:"grow shrink basis-0 text-gray-500 text-sm font-normal leading-tight",children:"Showing first 10 rows only"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(n))])])))}function UC(e){let t,r,n;const i=e.sendAnalytics,o=e.back,s=e.next,a=e.dataRows,l=e.headerRow,c=e.existingMappings;let d;const f=ky(l,a,c);d=pt(()=>ht(()=>f,(N,k)=>Iy(i,l,a,N,k),(N,k)=>{}),void 0,void 0);const m=d[0],h=d[1],p=w.useState(!1),v=p[1],b=w.useState(!1),_=b[0],C=N=>{if(Ny(m)(N))return()=>{h(new bt(1,[N]))}},A=N=>{if(My(m,N))return()=>{h(new bt(2,[N]))}};return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[LC(p[0],()=>{v(!1)}),T2("Map fields"),Ar("Match the fields from your CSV to the corresponding destination fields."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[b2("What is mapping and why is it important?",()=>{v(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(n=q(E(()=>{let N;return $(x(u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(N=q(E(()=>$(m.IsPrefilled?x(S5("We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.")):x(Ae()),E(()=>$(_&&m.Status.tag===0?x(B9("Some required fields are incomplete. Fill in all required fields to continue.")):x(Ae()),E(()=>{let k,D,P,T,S,I,M,L;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(k=[u("div",y(g([(D="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",D]),(P=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(T=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination fields"}),u("div",y(q(E(()=>$(x(["className",`${m.NumberOfDestinationFieldsMapped===5?"bg-emerald-100 text-emerald-800":"bg-blue-100 text-blue-800"} px-2.5 py-0.5 rounded-[10px] justify-center items-center flex`]),E(()=>{let O;return x((O=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${m.NumberOfDestinationFieldsMapped} of 5 mapped`})],["children",w.Children.toArray(Array.from(O))]))}))))))],["children",w.Children.toArray(Array.from(T))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(S=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV fields"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(I=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${m.NumberOfDestinationFieldsMapped} of ${m.NumberOfIncomingFields} used`})],["children",w.Children.toArray(Array.from(I))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(M=[u("div",y(ae((L=q(E(()=>$(x(Br(new oe(0,[]),!0,_,m.FirstName.ColumnIndex,m.FirstName.IncomingFields,O=>{let j;h((j=[new oe(0,[]),O],new bt(0,[j[0],j[1]])))},C(new oe(0,[])),A(new oe(0,[])))),E(()=>$(x(Br(new oe(1,[]),!0,_,m.LastName.ColumnIndex,m.LastName.IncomingFields,O=>{let j;h((j=[new oe(1,[]),O],new bt(0,[j[0],j[1]])))},C(new oe(1,[])),A(new oe(1,[])))),E(()=>$(x(Br(new oe(2,[]),!0,_,m.Email.ColumnIndex,m.Email.IncomingFields,O=>{let j;h((j=[new oe(2,[]),O],new bt(0,[j[0],j[1]])))},C(new oe(2,[])),A(new oe(2,[])))),E(()=>$(x(Br(new oe(3,[]),!1,_,m.MobilePhone.ColumnIndex,m.MobilePhone.IncomingFields,O=>{let j;h((j=[new oe(3,[]),O],new bt(0,[j[0],j[1]])))},C(new oe(3,[])),A(new oe(3,[])))),E(()=>$(x(Br(new oe(4,[]),!1,_,m.EmploymentBasis.ColumnIndex,m.EmploymentBasis.IncomingFields,O=>{let j;h((j=[new oe(4,[]),O],new bt(0,[j[0],j[1]])))},C(new oe(4,[])),A(new oe(4,[])))),E(()=>{let O,j,le,K,X,B;return $(m.NumberOfIncomingFieldsDiscarded===0?x(Ae()):x(u("div",y(g([["className","h-16 pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(O=[u("div",y(g([["className","h-10 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(j=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(le=[H9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(le))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(K=[E5(16,12)],["children",w.Children.toArray(Array.from(K))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(X=[u("div",y(g([["className","w-[218px] pl-3 items-center inline-flex"],(B=[u("div",y(q(E(()=>$(x(["className","text-gray-500 text-sm font-medium"]),E(()=>{const Y=m.NumberOfIncomingFieldsDiscarded|0;return x(Y===1?["children","Remaining 1 unused field"]:["children",`Remaining ${Y} unused fields`])}))))))],["children",w.Children.toArray(Array.from(B))])])))],["children",w.Children.toArray(Array.from(X))])])))],["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(O))])])))),E(()=>{let Y;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(Y=q(E(()=>$(m.NumberOfDestinationFieldsMapped===5?x(V9("All destination fields have been mapped. You’re good to go.")):x(Ae()),E(()=>{let W,Q,G,F,ue,ce,xe,Me,ie;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(W=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(Q=[u("div",y(g([["className","grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"],(G=[u("div",y(g([["className","grow shrink basis-0 text-right"],(F=[u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:"Destination fields marked with "}),u("span",{className:"text-red-600 text-xs font-normal leading-none",children:"*"}),u("span",{className:"text-gray-500 text-xs font-normal leading-none",children:" are required"})],["children",w.Children.toArray(Array.from(F))])])))],["children",w.Children.toArray(Array.from(G))])]))),u("div",y(g([["className","justify-start items-center gap-2 flex"],(ue=[u("button",y(g([(ce="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",ce]),["onClick",V=>{o(m.Status)}],(xe=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(xe))])]))),u("button",y(g([(Me="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Me]),["disabled",_&&m.Status.tag===0],["onClick",V=>{const J=m.Status;J.tag===0?b[1](!0):s([J.fields[0],J.fields[1]])}],(ie=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:m.EmploymentBasis.ColumnIndex==null?"Next":"Map values"}),I3(13,8)],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(ue))])])))],["children",w.Children.toArray(Array.from(Q))])])))],["children",w.Children.toArray(Array.from(W))])]))))})))),["children",w.Children.toArray(Array.from(Y))])]))))}))})))))))))))),["children",w.Children.toArray(Array.from(L))]))))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(k))])]))))})))))),["children",w.Children.toArray(Array.from(N))])])))),E(()=>{const k=m.Preview;return k==null?x(Ae()):x(VC(k[0],k[1],()=>{h(new bt(3,[]))}))}))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(t))])])))}let U3=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}},J5=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmploymentBasis","MappingColumns"]}},e2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}},j3=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Add","Clear","Remove","Set"]}},jC=class extends de{constructor(t,r,n,i,o,s,a){super(),this.IncomingValues=t,this.Selections=r,this.NumberOfIncomingValuesUsed=n|0,this.NumberOfDestinationValuesMapped=i|0,this.DiscardedValues=o,this.ValidatedMappings=s,this.Prefilled=a}};class u3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Available","Unavailable"]}}const Tt=[void 0];function j9(e,t,r){let n;const i=t.fields[0],o=j0(s=>s,pn(w6(r)));return new jC(Ke(s=>[s,R1(s,o,{Equals:ee,GetHashCode:un})?new u3(1,[]):new u3(0,[])],i),r,o.length,Ud(Rt(s=>{let a;return a=j0(l=>l,s),a.length!==0},w6(r))),gl(o,i,{Equals:ee,GetHashCode:un}),(n=g(j0(s=>s,pn(Oe(s=>Ke(a=>{if(a!=null)return[s[0],a]},s[1]),r)))),Te(n)?void 0:new by(pe(n),ut(Re(n)))),e)}function WC(e,t){const r=t.tag===1?["parttime"]:t.tag===2?["casual"]:t.tag===3?["labourhire"]:["fulltime"];return e.fields[0].filter(n=>R1(m3(n.fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),r,{Equals:(i,o)=>i===o,GetHashCode:n1}))}function qC(e,t){let r;if(t==null){let n=!1;const i=o=>{const s=WC(e,o);return!Dt(ee,s,Ae())&&s.length===0?Tt:(n=!0,Ke(a=>a,s))};r=[Y2([[new w0(0,[]),i(new w0(0,[]))],[new w0(1,[]),i(new w0(1,[]))],[new w0(2,[]),i(new w0(2,[]))],[new w0(3,[]),i(new w0(3,[]))]],{Compare:I0}),n]}else{const n=t,i=Y2(Ke(o=>[o[0],Ke(s=>s[1],Yc(o[1],{Compare:$i}))],hy(o=>o[0],pn([n.Tail,[n.Head]]),{Equals:ee,GetHashCode:un})),{Compare:I0});r=[Y2([[new w0(0,[]),Pe(Mt(i,new w0(0,[])),Tt)],[new w0(1,[]),Pe(Mt(i,new w0(1,[])),Tt)],[new w0(2,[]),Pe(Mt(i,new w0(2,[])),Tt)],[new w0(3,[]),Pe(Mt(i,new w0(3,[])),Tt)]],{Compare:I0}),!1]}return[j9(r[1],e,r[0]),we()]}function W9(e,t){const r=h2(e.Selections,t);let n;switch(!Dt(ee,r,Ae())&&r.length===1&&ge(0,r)!=null?n=0:n=1,n){case 0:return!0;default:return!1}}function q9(e,t){let r;return e.DiscardedValues.length>0?(r=h2(e.Selections,t),!r.some(n=>n==null)):!1}function GC(e,t,r){const n=h2(e.Selections,t);return!Dt(ee,n,Ae())&&n.length===1?!1:R1(r,n,{Equals:ee,GetHashCode:c1})}function zC(e,t,r,n){return!ee(r,n)&&e.IncomingValues.some(i=>ee(i[0],n)?ee(i[1],new u3(0,[])):!1)?R1(r,h2(e.Selections,t),{Equals:ee,GetHashCode:c1}):!1}function YC(e,t,r){let n,i;const o=p=>j9(r.Prefilled,e,p);let s,a,l,c,d,f,m,h;switch(t.tag){case 1:{W9(r,t.fields[0])?(s=1,l=t.fields[0]):s=4;break}case 2:{GC(r,t.fields[0],t.fields[1])?(s=2,c=t.fields[0],d=t.fields[1]):s=4;break}case 3:{zC(r,t.fields[0],t.fields[1],t.fields[2])?(s=3,f=t.fields[0],m=t.fields[1],h=t.fields[2]):s=4;break}default:q9(r,t.fields[0])?(s=0,a=t.fields[0]):s=4}switch(s){case 0:return[o(F3(a,p=>r0(v=>Ha(v,Tt),p),r.Selections)),we()];case 1:return[o(F3(l,p=>r0(v=>Tt,p),r.Selections)),we()];case 2:return[o(F3(c,(n=(i=[d],p=>gl(i,p,{Equals:ee,GetHashCode:c1})),p=>r0(n,p)),r.Selections)),we()];case 3:return[o(F3(f,p=>r0(v=>Ke(b=>ee(b,m)?h:b,v),p),r.Selections)),we()];default:return[r,we()]}}function ZC(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["viewBox","0 0 "+e+" "+t],["width",e],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([["clipRule","evenodd"],["fill-rule","evenodd"],(n="M6.9999 12.6C10.0927 12.6 12.5999 10.0928 12.5999 7.00002C12.5999 3.90723 10.0927 1.40002 6.9999 1.40002C3.90711 1.40002 1.3999 3.90723 1.3999 7.00002C1.3999 10.0928 3.90711 12.6 6.9999 12.6ZM7.6999 4.90002C7.6999 4.51342 7.3865 4.20002 6.9999 4.20002C6.6133 4.20002 6.2999 4.51342 6.2999 4.90002V6.30002H4.8999C4.5133 6.30002 4.1999 6.61342 4.1999 7.00002C4.1999 7.38662 4.5133 7.70002 4.8999 7.70002H6.2999V9.10002C6.2999 9.48662 6.6133 9.80002 6.9999 9.80002C7.3865 9.80002 7.6999 9.48662 7.6999 9.10002V7.70002H9.0999C9.4865 7.70002 9.7999 7.38662 9.7999 7.00002C9.7999 6.61342 9.4865 6.30002 9.0999 6.30002H7.6999V4.90002Z",["d",n]),["fill","currentColor"]])))),["children",w.Children.toArray(Array.from(r))])])))}function KC(e,t,r,n,i,o,s){let a,l,c,d,f,m;return u("div",y(g([["key",Qe(e)],["className","justify-start items-start gap-2 inline-flex"],(a=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(l=[u("div",y(g([["className",l0(" ",q(E(()=>$(Dt(ee,t,Tt)?x("bg-gray-50 border-gray-200 text-gray-500"):x("bg-emerald-50 border-emerald-200 text-emerald-700"),E(()=>x("px-2 py-1 rounded border justify-start items-center gap-1.5 flex overflow-hidden"))))))],(c=[u("div",{className:"text-sm font-medium leading-tight",children:wl(e)})],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(d=[E5(16,12)],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(g([["className","px-3 justify-start items-center gap-2 flex flex-col"],(f=[u("div",y(ae((m=q(E(()=>Oe(h=>{let p,v,b;return u("div",y(g([["className","mt-1 justify-start items-start gap-2 flex flex-inline"],(p=[u("div",y(g([["className","justify-start items-end flex flex-col w-[206px]"],(v=q(E(()=>$(x(Ao(q(E(()=>{const _=Hi(r0(C=>C.fields[0],h));return $(x(new it(0,[_])),E(()=>$(x(new it(1,[C=>{H1(A=>{s([h,A[0]])},Vt(Ut(A=>A[0].fields[0]===C?ee(A[1],new u3(0,[])):!1,r)))}])),E(()=>{let C,A;return x(new it(2,[[u("div",y(g([q0,["className","relative w-full"],(C=[To(g([new dr(0,["outline-gray-300 grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2"]),new dr(1,[[u("span",y(q(E(()=>{const N=h!=null?[_,""]:["Select a value","text-gray-500"];return $(x(["className",`${N[1]} col-start-1 row-start-1 truncate pr-6`]),E(()=>x(["children",N[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(A=[Io(20,20)],["children",w.Children.toArray(Array.from(A))])])))]])])),Mo(q(E(()=>x(new No(`z-10 absolute ${e.tag===3?"-mt-[226px]":"mt-0.5"} max-h-48 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm`)))),q(E(()=>gr(N=>{const k=N[1],D=N[0].fields[0];return x(ko(g([new W0(0,[D]),new W0(1,[D]),new W0(2,[ee(k,new u3(1,[]))&&D!==_]),new W0(3,["relative select-none"]),new W0(4,[P=>[u("span",{className:l0(" ",q(E(()=>$(x("px-4 py-2 block truncate"),E(()=>{const T=P.active;let S;switch(P.selected?T?S=2:S=1:k.tag===1?S=0:T?S=2:S=1,S){case 0:return x("text-gray-700 opacity-50 cursor-not-allowed");case 1:return x("text-gray-700");default:return x("bg-primary-600 text-white")}}))))),children:D})]])])))},r))))],["children",w.Children.toArray(Array.from(C))])])))]]))}))))})))),E(()=>ee(h,Wc(t))?x(u("button",y(q(E(()=>{let _;return $(x((_=[ZC(14,14),u("span",{children:["Map additional value"]})],["children",w.Children.toArray(Array.from(_))])),E(()=>$(x(["className",l0(" ",q(E(()=>$(x("py-2 justify-end items-center inline-flex text-gray-500 text-xs font-normal gap-1"),E(()=>i==null?x("opacity-50 cursor-not-allowed underline"):x("cursor-pointer underline hover:text-gray-700"))))))]),E(()=>{const C=i;if(C==null)return _e();{const A=C;return x(["onClick",N=>{A()}])}}))))}))))):_e())))),["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","text-gray-500 text-xs font-normal pl-1"],(b=q(E(()=>{if(o!=null){const _=o;return x(u("button",{children:"Remove",className:"cursor-pointer underline py-2 hover:text-gray-700",onClick:C=>{_(h)}}))}else return x(u("button",y(q(E(()=>$(x(["children","Clear"]),E(()=>$(n==null?x(["className","opacity-50 underline cursor-not-allowed mt-2"]):x(["className","cursor-pointer underline py-2 hover:text-gray-700"]),E(()=>{const _=n;if(_==null)return _e();{const C=_;return x(["onClick",A=>{C()}])}})))))))))})),["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(p))])])))},t))),["children",w.Children.toArray(Array.from(m))]))))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(a))])])))}function JC(e){let t,r,n;const i=e.back,o=e.next,s=e.employmentBasisColumn,a=e.existingMappings;let l;const c=qC(s,a);l=pt(()=>ht(()=>c,(p,v)=>YC(s,p,v),(p,v)=>{}),void 0,void 0);const d=l[0],f=l[1],m=w.useState(!1),h=m[0];return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[T2("Map values - Employment basis"),Ar("Match the values from your CSV to the corresponding destination values."),u("div",y(g([["className","justify-start items-start gap-12 inline-flex"],(r=[u("div",y(g([["className","w-[640px] pt-6 flex-col justify-start items-start gap-4 inline-flex"],(n=q(E(()=>$(d.Prefilled?x(S5("We’ve automatically pre-filled some options based on the matches found in your CSV. Please double-check to make sure they are correct and fill in any missing fields before continuing.")):x(Ae()),E(()=>$(h&&d.ValidatedMappings==null?x(B9("Map at least one value to continue.")):x(Ae()),E(()=>{let p,v,b,_,C,A,N,k,D;return x(u("div",y(g([["className","flex-col justify-start items-start inline-flex overflow-hidden"],(p=[u("div",y(g([(v="w-[640px] h-16 pt-6 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 inline-flex",["className",v]),(b=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(_=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Destination values"}),u("div",y(g([["className",l0(" ",q(E(()=>$(d.NumberOfDestinationValuesMapped===4?x("bg-emerald-100 text-emerald-800"):x("bg-blue-100 text-blue-800"),E(()=>x("px-2.5 py-0.5 rounded-[10px] justify-center items-center flex"))))))],(C=[u("div",{className:"text-center text-xs font-medium leading-none",children:`${d.NumberOfDestinationValuesMapped} of 4 mapped`})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])]))),u("div",{className:"w-5 h-5 px-3 py-3.5"}),u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-start items-center gap-1 flex overflow-hidden"],(A=[u("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:"Incoming CSV values"}),u("div",y(g([["className","px-2.5 py-0.5 bg-gray-100 rounded-[10px] justify-center items-center flex"],(N=[u("div",{className:"text-center text-gray-800 text-xs font-medium leading-none",children:`${d.NumberOfIncomingValuesUsed} of ${d.IncomingValues.length} used`})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(g([["className","w-[640px] pt-2 flex-col justify-start items-start gap-2 flex overflow-hidden"],(k=[u("div",y(ae((D=q(E(()=>$(gr(P=>{let T,S,I;const M=P[0];return x(KC(M,P[1],d.IncomingValues,(T=M,W9(d,T)?()=>{f(new j3(1,[T]))}:void 0),(S=M,q9(d,S)?()=>{f(new j3(0,[S]))}:void 0),(I=M,h2(d.Selections,I).length>1?L=>{let O;f((O=[I,L],new j3(2,[O[0],O[1]])))}:void 0),L=>{let O;f((O=[M,L[0],L[1]],new j3(3,[O[0],O[1],O[2]])))}))},df(d.Selections)),E(()=>{let P,T,S,I,M,L;return $(d.DiscardedValues.length===0?x(Ae()):x(u("div",y(g([["className","pr-3 pt-2 pb-4 rounded-lg justify-start items-start gap-2 inline-flex"],(P=[u("div",y(g([["className","py-3 bg-gray-100 rounded-lg justify-start items-center gap-2 flex"],(T=[u("div",y(g([["className","w-[260px] h-10 px-3 py-3.5 justify-end items-center gap-1 flex overflow-hidden"],(S=[H9(14,14),u("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:"Discarded"})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","w-5 h-10 px-[3px] py-[5px] flex-col justify-center gap-2.5 inline-flex"],(I=[E5(16,12)],["children",w.Children.toArray(Array.from(I))])]))),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(M=[u("div",y(g([["className","w-[218px] pl-3 flex flex-col text-gray-500 text-sm"],(L=q(E(()=>$(x(u("div",y(q(E(()=>$(x(["className","font-medium"]),E(()=>{const O=d.DiscardedValues.length|0;return x(O===1?["children","Remaining 1 unused value:"]:["children",`Remaining ${O} unused values:`])}))))))),E(()=>{let O;return x(u("ul",y(g([q0,["className","pl-2 font-normal overflow-hidden list-inside list-disc"],(O=Ke(j=>u("li",{children:[j]}),pn(m1(E(()=>$(x(Ke(j=>j.fields[0],d.DiscardedValues.slice(void 0,8))),E(()=>d.DiscardedValues.length>8?x([`... and ${d.DiscardedValues.length-8} other values`]):_e())))))),["children",w.Children.toArray(Array.from(O))])]))))})))),["children",w.Children.toArray(Array.from(L))])])))],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(T))])])))],["children",w.Children.toArray(Array.from(P))])])))),E(()=>{let O;return x(u("div",y(g([["className","w-[640px] pt-4 border-t border-gray-200 flex-col justify-start items-start flex"],(O=q(E(()=>$(d.DiscardedValues.length===0?x(V9("All incoming values have been mapped.")):x(Ae()),E(()=>{let j,le,K,X,B,Y,W;return x(u("div",y(g([["className","h-[58px] pt-2 justify-start items-end gap-2 inline-flex w-full"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(le=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(K=[u("button",y(g([(X="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",X]),["onClick",Q=>{i(d.ValidatedMappings)}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(Y="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Y]),["disabled",h&&d.ValidatedMappings==null],["onClick",Q=>{const G=d.ValidatedMappings;G==null?m[1](!0):o(G)}],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),I3(13,8)],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(K))])])))],["children",w.Children.toArray(Array.from(le))])])))],["children",w.Children.toArray(Array.from(j))])]))))})))),["children",w.Children.toArray(Array.from(O))])]))))}))})))),["children",w.Children.toArray(Array.from(D))]))))],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(p))])]))))})))))),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let X5=class extends de{constructor(t,r,n,i,o,s,a,l,c,d){super(),this.RowNumber=t|0,this.FirstName=r,this.LastName=n,this.Email=i,this.MobilePhone=o,this.EmploymentBasis=s,this.HasDuplicateEmailError=a,this.HasErrorOtherThanDuplicateEmail=l,this.HasExistingEmailError=c,this.Errors=d}};class Hs extends de{constructor(t,r){super(),this.Summary=t,this.Details=r}}function W3(e){if(!Ht(e))return e}function G9(e,t,r){let n,i;const o=e.fields[0],s=t.MobilePhone,a=r!=null&&r[1]!=null?(n=r[0].fields[0].fields[0]|0,i=r[1],[n,_y(i)]):void 0,l=s!=null&&u5(new l5(o),s)?s:void 0;return g(Ke(c=>{let d,f,m,h,p,v,b,_,C,A,N,k,D,P,T,S,I;const M=c.fields[0];return Y2(j0(L=>L,[(d=W3(ge(t.FirstName.fields[0],M)),d==null?void 0:(f=d,[Et(new oe(0,[])),f])),(m=W3(ge(t.LastName.fields[0],M)),m==null?void 0:(h=m,[Et(new oe(1,[])),h])),(p=W3(ge(t.Email.fields[0],M)),p==null?void 0:(v=p,[Et(new oe(2,[])),v])),(b=(_=l,_==null?void 0:(C=W3(ge(_.fields[0],M)),C==null?void 0:U9(C))),b==null?void 0:(A=b,[Et(new oe(3,[])),A])),(N=(k=a,k==null?void 0:(D=k,P=(T=ge(D[0],M),S=Ae(),[uf(D[1],T,new E0(()=>S,L=>{S=L})),S]),P[0]?P[1]:void 0)),N==null?void 0:(I=N,[Et(new oe(4,[])),I]))]),{Compare:Bt})},o))}function $2(e,t,r){const n=Et(r);return[Mt(e,n),!Wi(i=>i.PropName===n,t)]}function XC(e,t){const r=yl(t.PropName);if(r==null)return["Invalid or missing field",!1];{const n=r,i=o3(n).toLocaleLowerCase();if(Mt(e.Data,Et(n))!=null){let s;switch(n.tag===2&&t.Message.startsWith("Duplicate")?s=0:s=1,s){case 0:return[`Duplicate ${i}`,!1];default:return[`Invalid ${i}`,!0]}}else return[`Missing ${i}`,!1]}}function Vs(e){const t=yl(e.PropName);if(t==null)return e.Message;{const r=t;let n;switch(r.tag===2&&e.Message.startsWith("Duplicate")?n=0:n=1,n){case 0:return`${o3(r)} exists in multiple rows`;default:return Ea(e.Message,e.Column,o3(r))}}}function QC(e,t,r,n,i){return H.Delay(()=>{const o=H.Delay(()=>{const s=e();return H.Bind(s,a=>{let l,c;const d=a;if(d.tag===1)return H.Return(new R(1,[d.fields[0]]));{const f=A8(_1(_=>_.Email.toLocaleLowerCase().trim(),d.fields[0]),{Compare:Bt}),m=Et(new oe(2,[])),h=S1((_,C)=>{let A,N;const k=_[0]|0,D=_[1];return A=Mt(C,m),(A==null?!1:(N=A,yn(N.toLocaleLowerCase().trim(),f)))?[k,D1(D,ae([void 0,C]))]:[k+1,D1(D,ae([k,C]))]},[0,$e()],(l=[r,n,i],G9(l[0],l[1],l[2])))[1],p=_1(_=>_[1],T0(_=>_[0]!=null,h)),v=new $8((c=i,(c==null?void 0:c[1])!=null),i3((_,C)=>new eo(_+2,C),p)),b=_=>i3((C,A)=>{const N=A[0],k=A[1];if(N==null)return new X5(C+1,$2(k,$e(),new oe(0,[])),$2(k,$e(),new oe(1,[])),$2(k,$e(),new oe(2,[])),$2(k,$e(),new oe(3,[])),$2(k,$e(),new oe(4,[])),!1,!1,!0,void 0);{const D=ad(N,_);return new X5(C+1,D.FirstName,D.LastName,D.Email,D.MobilePhone,D.EmploymentBasis,D.HasDuplicateEmailError,D.HasErrorOtherThanDuplicateEmail,D.HasExistingEmailError,D.Errors)}},h);if(Te(p))return H.Delay(()=>{const _=new R(0,[b($e())]);return H.Return(_)});{const _=t(v);return H.Bind(_,C=>{let A;const N=C;return A=N.tag===1?new R(1,[N.fields[0]]):new R(0,[b(_1(k=>{let D,P,T,S,I;const M=Pe((D=J4(O=>O.RowId===k.RowId,N.fields[0].Errors),D==null?void 0:D.FieldErrors),$e()),L=O=>$2(k.Data,M,O);return new X5(k.RowId-2+1,L(new oe(0,[])),L(new oe(1,[])),L(new oe(2,[])),L(new oe(3,[])),(P=L(new oe(4,[])),[(T=(S=P[0],S==null?void 0:vy(S)),T==null?void 0:wl(T)),P[1]]),Wi(O=>O.Message.startsWith("Duplicate Email"),M),!Te(T0(O=>!O.Message.startsWith("Duplicate Email"),M)),!1,Te(M)?void 0:Te(Re(M))?(I=XC(k,pe(M)),new Hs(I[0],I[1]?ae(Vs(pe(M))):void 0)):new Hs("Multiple invalid or missing fields",_1(Vs,M)))},v.Data))]),H.Return(A)})}}})});return H.TryWith(o,s=>{const a=new R(1,[Qe(s)]);return H.Return(a)})})}function ex(e,t,r,n,i){return H.Delay(()=>H.TryWith(H.Delay(()=>{let o,s;return H.Bind(e(new F8((o=n,(o==null?void 0:o[1])!=null),ee(i,new D0(0,[])),i3((a,l)=>new eo(a+2,l),(s=[t,r,n],G9(s[0],s[1],s[2]))))),a=>{let l;return H.Return((l=a,l.tag===1?new R(1,[l.fields[0]]):new R(0,[l.fields[0].ImportId])))})}),o=>H.Return(new R(1,[Qe(o)]))))}let U2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validated","SetInviteTiming","SetFilterBy","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}},j2=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Validating","Reviewing"]}};class Hr extends de{constructor(t,r,n,i,o,s,a,l,c,d,f,m,h,p,v){super(),this.Data=t,this.InviteTiming=r,this.DuplicateEmailCount=n|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=i|0,this.NumberOfImportableRows=o|0,this.NumberOfInvalidRows=s|0,this.NumberOfRows=a|0,this.NumberOfExistingUsers=l|0,this.FilterBy=c,this.HasErrors=d,this.RowFrom=f|0,this.RowTo=m|0,this.NumberOfFilteredRows=h|0,this.Page=p,this.PageNo=v|0}}class q1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ImportableRows","ErrorRows","ExistingUserRows"]}}function tx(e,t,r){return[new j2(0,[]),i5(g([t1(t,new d0(5,[{RowCount:ly(r)}])),dp(n=>{fp(n)},e,void 0,n=>new U2(0,[n]))]))]}function q3(e,t,r){const n=(e-1)*20|0,i=e*20-1|0,o=r.tag===1?T0(a=>a.Errors!=null,t):r.tag===2?T0(a=>a.HasExistingEmailError,t):T0(a=>a.HasExistingEmailError?!1:a.Errors==null,t),s=Ya(n,i,o);if(Te(s))return[0,0,o0(o),$e()];{const a=s;return[n+1,n+o0(a),o0(o),a]}}function z9(e){return e.PageNo>1}function Y9(e){return e.RowTo<e.NumberOfFilteredRows}function rx(e,t,r){const n=T0(o=>o.Errors!=null,e.Data),i=i3((o,s)=>{const a=Pe(r0(p=>p.Summary,s.Errors),""),l=Pe(s.FirstName[0],""),c=Pe(s.LastName[0],""),d=Pe(s.Email[0],""),f=Pe(s.MobilePhone[0],""),m=Pe(s.EmploymentBasis[0],""),h=o===o0(n)-1?"":`
|
|
50
|
+
`;return l0(",",q(E(()=>$(x(a),E(()=>$(x(l),E(()=>$(x(c),E(()=>$(x(d),E(()=>$(t?x(f):_e(),E(()=>$(r?x(m):_e(),E(()=>x(`${s.RowNumber}${h}`))))))))))))))))},n);return D1(ae(l0(",",q(E(()=>$(x("Error detail"),E(()=>$(x("First name"),E(()=>$(x("Last name"),E(()=>$(x("Email"),E(()=>$(t?x("Mobile phone"):_e(),E(()=>$(r?x("Employment basis"):_e(),E(()=>x(`Original row #
|
|
51
|
+
`))))))))))))))))),i)}function nx(e,t,r,n){let i,o,s,a,l,c,d,f,m,h;switch(r.tag){case 1:{n.tag===1?(i=2,a=r.fields[0],l=n.fields[0]):(i=7,h=n);break}case 2:{n.tag===1?(i=3,c=r.fields[0],d=n.fields[0]):(i=7,h=n);break}case 3:{n.tag===1&&Y9(n.fields[0])?(i=4,f=n.fields[0]):(i=7,h=n);break}case 4:{n.tag===1&&z9(n.fields[0])?(i=5,m=n.fields[0]):(i=7,h=n);break}case 5:{n.tag===1&&n.fields[0].HasErrors?i=6:(i=7,h=n);break}default:r.fields[0].tag===1?n.tag===0?(i=1,s=r.fields[0].fields[0]):(i=7,h=n):n.tag===0?(i=0,o=r.fields[0].fields[0]):(i=7,h=n)}switch(i){case 0:{const p=new q1(0,[]);let v;const b=[o,p];v=q3(1,b[0],b[1]);const _=o0(T0(k=>k.HasDuplicateEmailError,o))|0,C=o0(T0(k=>k.Errors!=null,o))|0,A=o0(T0(k=>k.HasExistingEmailError,o))|0,N=o0(o)-C-A|0;return[new j2(1,[new Hr(o,new D0(1,[]),_,o0(T0(k=>k.HasErrorOtherThanDuplicateEmail,o)),N,C,o0(o),A,p,Wi(k=>k.Errors!=null,o),v[0],v[1],v[2],v[3],1)]),t1(t,new d0(6,[{DuplicateCount:_,ExistingUserCount:A,RowCount:o0(o)-A,SuccessCount:N,TotalFailedCount:C}]))]}case 1:return[n,t1(e,s)];case 2:return[new j2(1,[new Hr(l.Data,a,l.DuplicateEmailCount,l.NumberOfRowsWithErrorsOtherThanDuplicateEmail,l.NumberOfImportableRows,l.NumberOfInvalidRows,l.NumberOfRows,l.NumberOfExistingUsers,l.FilterBy,l.HasErrors,l.RowFrom,l.RowTo,l.NumberOfFilteredRows,l.Page,l.PageNo)]),we()];case 3:{let p;const v=[d.Data,c];return p=q3(1,v[0],v[1]),[new j2(1,[new Hr(d.Data,d.InviteTiming,d.DuplicateEmailCount,d.NumberOfRowsWithErrorsOtherThanDuplicateEmail,d.NumberOfImportableRows,d.NumberOfInvalidRows,d.NumberOfRows,d.NumberOfExistingUsers,c,d.HasErrors,p[0],p[1],p[2],p[3],1)]),we()]}case 4:{const p=f.PageNo+1|0;let v;const b=[f.Data,f.FilterBy];return v=q3(p,b[0],b[1]),[new j2(1,[new Hr(f.Data,f.InviteTiming,f.DuplicateEmailCount,f.NumberOfRowsWithErrorsOtherThanDuplicateEmail,f.NumberOfImportableRows,f.NumberOfInvalidRows,f.NumberOfRows,f.NumberOfExistingUsers,f.FilterBy,f.HasErrors,v[0],v[1],v[2],v[3],p)]),we()]}case 5:{const p=m.PageNo-1|0;let v;const b=[m.Data,m.FilterBy];return v=q3(p,b[0],b[1]),[new j2(1,[new Hr(m.Data,m.InviteTiming,m.DuplicateEmailCount,m.NumberOfRowsWithErrorsOtherThanDuplicateEmail,m.NumberOfImportableRows,m.NumberOfInvalidRows,m.NumberOfRows,m.NumberOfExistingUsers,m.FilterBy,m.HasErrors,v[0],v[1],v[2],v[3],p)]),we()]}case 6:return[n,t1(t,new d0(7,[]))];default:return[h,we()]}}function A5(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M12.6666 14.6667H3.33328C2.23062 14.6667 1.33328 13.7693 1.33328 12.6667V10H2.66662V12.6667C2.66662 13.034 2.96595 13.3333 3.33328 13.3333H12.6666C13.0339 13.3333 13.3333 13.034 13.3333 12.6667V10H14.6666V12.6667C14.6666 13.7693 13.7693 14.6667 12.6666 14.6667Z",["d",n]),["fill","#2E66F7"]]))),u("path",y(g([(i="M11.3333 5.72395L8.66667 8.39062V1.33328H7.33333V8.39062L4.66667 5.72395L3.724 6.66662L8 10.9426L12.276 6.66662L11.3333 5.72395Z",["d",i]),["fill","#2E66F7"]])))]),["children",w.Children.toArray(Array.from(r))])])))}function Z9(e,t,r){let n,i,o,s,a,l,c,d,f,m,h,p,v,b,_,C,A,N,k,D,P,T,S;return x2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(ae(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",I=>{r()}],["type","button"],["className","text-gray-600"],(s=[Zt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",y(ae((l=" are required to create a user. While “Mobile number” and “Employment basis” are optional, they are recommended for improved searching and filtering.",["children",l]))))],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(c=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(d=[u("span",{children:"First name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(d))])]))),u("div",y(ae((f=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(m=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(h=[u("span",{children:"Last name "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(ae((p=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(v=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",w.Children.toArray(Array.from(v))])])))],["children",w.Children.toArray(Array.from(p))])))),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(b=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(b))])]))),u("div",y(ae((_=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(C=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(_))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),u("div",y(ae((A=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(N=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"+61432368712"})],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])))),u("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),u("div",y(ae((k=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(D=[u("span",{children:"One of the following options:"}),u("br",{}),u("ul",y(g([["className","italic list-disc px-3"],(P=[u("li",{children:"Full-time"}),u("li",{children:"Part-time"}),u("li",{children:"Labour hire"}),u("li",{children:"Casual"})],["children",w.Children.toArray(Array.from(P))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(k))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","import_users_template"],(T=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(S=[A5(16,16)],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(T))])])))],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}function ix(e,t){let r,n,i,o,s,a,l,c,d,f,m,h,p;return x2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(r=[S2(ae(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(n=[u("div",y(g([["className","flex flex-row justify-between"],(i=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What is workplace benefits?"}),u("button",y(g([["onClick",v=>{t()}],["type","button"],["className","text-gray-600"],(o=[Zt(24,24)],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])]))),u("div",y(g([["className","text-gray-500 text-sm font-normal pt-6"],(s=[u("p",y(ae((a=[u("span",{children:["Workplace benefits is a"]}),u("span",{className:"font-semibold",children:" free platform "}),(l="for your entire workforce – including full-time, part-time, casual employees, and volunteers. It allows you to share company benefits while supporting employee wellbeing.",u("span",{children:[l]}))],["children",w.Children.toArray(Array.from(a))])))),u("p",y(g([["className","pt-3"],(c=[(d="With workplace benefits, your people can access everyday savings from top Australian brands like Woolworths, Kmart, Harvey Norman, The Iconic, and more – all through the ",u("span",{children:[d]})),u("span",{className:"font-semibold text-nowrap",children:" Flare App"}),u("span",{children:["."]})],["children",w.Children.toArray(Array.from(c))])]))),u("p",{className:"pt-3",children:"The program is designed to help employees make their pay go further through:"}),u("ul",y(g([["className","list-inside list-disc pt-3"],(f=[u("li",y(ae((m=[u("span",{className:"font-semibold",children:"Savings "}),u("span",{children:["on essentials like food, fuel, and more."]})],["children",w.Children.toArray(Array.from(m))])))),u("li",y(g([["className","pt-2"],(h=[u("span",{className:"font-semibold",children:"Exclusive offers "}),u("span",{children:["from leading brands and retailers."]})],["children",w.Children.toArray(Array.from(h))])]))),u("li",y(g([["className","pt-2"],(p=[u("span",{className:"font-semibold",children:"Tax savings "}),u("span",{children:["with salary packaging."]})],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(n))])])))]])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}const ox=e=>u("svg",{width:48,height:54,viewBox:"0 0 48 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Group 67"},u("path",{id:"Vector",d:"M24.2605 17.5933C17.766 17.5933 12.5005 22.9015 12.5005 29.4469V53.1561H36.0205V29.4469C36.0205 22.8995 30.7549 17.5933 24.2605 17.5933Z",fill:"url(#paint0_linear_4467_4223)"}),u("g",{id:"Group",opacity:.95},u("path",{id:"Vector_2",d:"M35.76 35.646C29.2655 35.646 24 40.9115 24 47.406V53.1558H47.52V47.406C47.52 40.9115 42.2544 35.646 35.76 35.646Z",fill:"url(#paint1_linear_4467_4223)"})),u("path",{id:"Vector_3",opacity:.95,d:"M12.24 35.646C5.74553 35.646 0.47998 40.9115 0.47998 47.406V53.1558H24V47.406C24 40.9115 18.7344 35.646 12.24 35.646Z",fill:"url(#paint2_linear_4467_4223)"}),u("path",{id:"Vector_4",d:"M24.1303 16.8098C28.5328 16.8098 32.1018 13.2408 32.1018 8.83827C32.1018 4.43569 28.5328 0.866699 24.1303 0.866699C19.7277 0.866699 16.1587 4.43569 16.1587 8.83827C16.1587 13.2408 19.7277 16.8098 24.1303 16.8098Z",fill:"#0095F2"}),u("path",{id:"Vector_5",opacity:.93,d:"M13.1537 35.1253C17.5563 35.1253 21.1253 31.5563 21.1253 27.1537C21.1253 22.7511 17.5563 19.1821 13.1537 19.1821C8.75112 19.1821 5.18213 22.7511 5.18213 27.1537C5.18213 31.5563 8.75112 35.1253 13.1537 35.1253Z",fill:"#FF876F"}),u("path",{id:"Vector_6",opacity:.93,d:"M35.89 35.1253C40.2926 35.1253 43.8616 31.5563 43.8616 27.1537C43.8616 22.7511 40.2926 19.1821 35.89 19.1821C31.4875 19.1821 27.9185 22.7511 27.9185 27.1537C27.9185 31.5563 31.4875 35.1253 35.89 35.1253Z",fill:"#A650FF"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4467_4223",x1:24.2605,y1:53.1561,x2:24.2605,y2:17.5933,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#161E37"}),u("stop",{offset:.11,stopColor:"#172243"}),u("stop",{offset:.31,stopColor:"#1B2E62"}),u("stop",{offset:.57,stopColor:"#214196"}),u("stop",{offset:.89,stopColor:"#2A5CDD"}),u("stop",{offset:1,stopColor:"#2E66F7"})),u("linearGradient",{id:"paint1_linear_4467_4223",x1:24,y1:44.4009,x2:47.52,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{offset:.11,stopColor:"#FF876F"}),u("stop",{offset:.99,stopColor:"#A650FF"})),u("linearGradient",{id:"paint2_linear_4467_4223",x1:.47998,y1:44.4009,x2:24,y2:44.4009,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#0095F2"}),u("stop",{offset:.29,stopColor:"#307CF6"}),u("stop",{offset:.61,stopColor:"#6163FB"}),u("stop",{offset:.86,stopColor:"#7F54FD"}),u("stop",{offset:1,stopColor:"#8B4FFF"})))),sx=e=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none",...e},u("path",{d:"M6.00033 0.666504C3.05966 0.666504 0.666992 3.05917 0.666992 5.99984C0.666992 8.9405 3.05966 11.3332 6.00033 11.3332C8.94099 11.3332 11.3337 8.9405 11.3337 5.99984C11.3337 3.05917 8.94099 0.666504 6.00033 0.666504ZM6.50033 8.54584C6.50033 8.82184 6.27633 9.04584 6.00033 9.04584C5.72433 9.04584 5.50033 8.82184 5.50033 8.54584V5.49984C5.50033 5.22384 5.72433 4.99984 6.00033 4.99984C6.27633 4.99984 6.50033 5.22384 6.50033 5.49984V8.54584ZM6.00033 4.49984C5.63233 4.49984 5.33366 4.2005 5.33366 3.83317C5.33366 3.46584 5.63233 3.1665 6.00033 3.1665C6.36833 3.1665 6.66699 3.46584 6.66699 3.83317C6.66699 4.2005 6.36833 4.49984 6.00033 4.49984Z",fill:"currentColor"})),ax=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_4584_4202)"}),u("g",{clipPath:"url(#clip0_4584_4202)"},u("path",{d:"M9.24302 26.953L18.152 10.111C18.33 9.77467 18.5963 9.49321 18.9222 9.2969C19.2482 9.10059 19.6215 8.99686 20.002 8.99686C20.3825 8.99686 20.7559 9.10059 21.0818 9.2969C21.4078 9.49321 21.6741 9.77467 21.852 10.111L30.761 26.953C30.9282 27.2708 31.0103 27.6266 30.9991 27.9855C30.988 28.3445 30.8841 28.6944 30.6975 29.0013C30.5109 29.3081 30.2479 29.5614 29.9343 29.7364C29.6207 29.9115 29.2672 30.0023 28.908 30H11.092C10.7332 30.0016 10.3801 29.9103 10.0671 29.735C9.75404 29.5597 9.49169 29.3063 9.30555 28.9996C9.11942 28.6928 9.01583 28.3431 9.00488 27.9845C8.99392 27.6259 9.07596 27.2705 9.24302 26.953V26.953Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20 16V22",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20 27C20.8284 27 21.5 26.3284 21.5 25.5C21.5 24.6716 20.8284 24 20 24C19.1716 24 18.5 24.6716 18.5 25.5C18.5 26.3284 19.1716 27 20 27Z",fill:"#DC2626"})),u("defs",null,u("linearGradient",{id:"paint0_linear_4584_4202",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#FECACA"}),u("stop",{offset:1,stopColor:"#FECACA",stopOpacity:0})),u("clipPath",{id:"clip0_4584_4202"},u("rect",{width:24,height:24,fill:"white",transform:"translate(8 8)"})))),lx=e=>u("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("rect",{width:40,height:40,rx:4,fill:"url(#paint0_linear_3326_53774)"}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.3272 22.6261C28.5428 23.1983 28.2016 23.8306 27.6205 24.025C26.6465 24.3503 25.3424 24.6628 23.7902 24.7151C23.7699 24.6508 23.7476 24.5864 23.7234 24.522C23.042 22.7136 21.7109 21.2192 20.0107 20.3308C20.9217 19.6032 22.0762 19.1683 23.3339 19.1683C25.6205 19.1683 27.5661 20.6061 28.3272 22.6261Z",fill:"#93C5FD"}),u("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",fill:"#93C5FD"}),u("path",{d:"M16.3892 19.1667C17.6165 19.1667 18.6114 18.1718 18.6114 16.9445C18.6114 15.7172 17.6165 14.7222 16.3892 14.7222C15.1619 14.7222 14.167 15.7172 14.167 16.9445C14.167 18.1718 15.1619 19.1667 16.3892 19.1667Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M20.6771 26.8022C21.2583 26.6078 21.5994 25.9756 21.3838 25.4033C20.6227 23.3833 18.6771 21.9456 16.3905 21.9456C14.1038 21.9456 12.1583 23.3833 11.3971 25.4033C11.1816 25.9767 11.5227 26.6089 12.1038 26.8022C13.1727 27.1589 14.6383 27.5 16.3916 27.5C18.1449 27.5 19.6094 27.1589 20.6771 26.8022Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M23.3336 16.3889C24.5609 16.3889 25.5558 15.394 25.5558 14.1667C25.5558 12.9394 24.5609 11.9445 23.3336 11.9445C22.1062 11.9445 21.1113 12.9394 21.1113 14.1667C21.1113 15.394 22.1062 16.3889 23.3336 16.3889Z",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("path",{d:"M24.1664 24.6967C25.553 24.6111 26.7264 24.3233 27.6208 24.0245C28.2019 23.83 28.543 23.1978 28.3275 22.6256C27.5664 20.6056 25.6208 19.1678 23.3341 19.1678C22.2486 19.1678 21.2397 19.4922 20.3975 20.0489",stroke:"#212121",strokeWidth:1.66667,strokeLinecap:"round",strokeLinejoin:"round"}),u("defs",null,u("linearGradient",{id:"paint0_linear_3326_53774",x1:40,y1:571311e-11,x2:4.50001,y2:35.5,gradientUnits:"userSpaceOnUse"},u("stop",{stopColor:"#D6E2FC"}),u("stop",{offset:1,stopColor:"#D6E2FC",stopOpacity:0})))),ux=e=>u("svg",{width:96,height:28,viewBox:"0 0 96 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{clipPath:"url(#clip0_3030_30757)"},u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.40895 5.42706C5.79785 4.83985 8.86151 3.00302 11.0249 0.261313C11.1152 0.153807 11.235 0.0767261 11.3686 0.0401219C11.5021 0.00351777 11.6434 0.0090886 11.7738 0.056108C11.9043 0.103127 12.0179 0.189414 12.0999 0.303716C12.1819 0.418018 12.2285 0.555032 12.2335 0.696894L12.2335 11.4663C12.2313 11.588 12.1985 11.7071 12.1382 11.812C12.078 11.9168 11.9924 12.0039 11.8897 12.0648C11.787 12.1257 11.6708 12.1583 11.5522 12.1594C11.4336 12.1606 11.3168 12.1303 11.213 12.0714L2.17962 6.71732C2.06323 6.6422 1.97142 6.53301 1.91604 6.40381C1.86067 6.27462 1.84426 6.13136 1.86894 5.9925C1.89362 5.85364 1.95825 5.72556 2.05451 5.62478C2.15076 5.52399 2.27422 5.45513 2.40895 5.42706ZM2.40895 22.6054C5.79785 23.1926 8.86151 25.0295 11.0249 27.7712C11.1152 27.8787 11.235 27.9557 11.3686 27.9923C11.5021 28.029 11.6434 28.0234 11.7738 27.9764C11.9043 27.9293 12.0179 27.8431 12.0999 27.7288C12.1819 27.6145 12.2285 27.4774 12.2335 27.3356L12.2335 16.5756C12.2328 16.453 12.2012 16.3328 12.1416 16.2267C12.082 16.1205 11.9965 16.0321 11.8936 15.9701C11.7906 15.9081 11.6738 15.8747 11.5544 15.8731C11.4351 15.8715 11.3174 15.9018 11.213 15.961L2.17962 21.3151C2.06323 21.3903 1.97142 21.4995 1.91604 21.6287C1.86067 21.7578 1.84426 21.9011 1.86894 22.04C1.89362 22.1788 1.95825 22.3069 2.05451 22.4077C2.15076 22.5085 2.27422 22.5773 2.40895 22.6054ZM0.20511 8.8811C1.43425 12.1754 1.45137 15.8168 0.253269 19.1231C0.21046 19.2568 0.207545 19.4007 0.244898 19.5361C0.28225 19.6715 0.358167 19.7924 0.462907 19.8833C0.567647 19.9741 0.696433 20.0307 0.832742 20.0459C0.96905 20.0611 1.10666 20.0341 1.22793 19.9684L10.2567 14.6166C10.3578 14.5537 10.4414 14.465 10.4994 14.3592C10.5574 14.2535 10.5879 14.1341 10.5879 14.0127C10.5879 13.8913 10.5574 13.772 10.4994 13.6662C10.4414 13.5604 10.3578 13.4717 10.2567 13.4088L1.17518 8.02406C1.05302 7.95812 0.914374 7.93142 0.777244 7.94743C0.640114 7.96344 0.510844 8.02142 0.406231 8.11384C0.301618 8.20627 0.226497 8.32886 0.190631 8.46568C0.154764 8.60251 0.159809 8.74725 0.20511 8.8811ZM23.6634 22.6054C20.2745 23.1926 17.2108 25.0295 15.0474 27.7712C14.9571 27.8787 14.8374 27.9557 14.7038 27.9923C14.5702 28.029 14.4289 28.0234 14.2985 27.9764C14.168 27.9293 14.0544 27.8431 13.9724 27.7288C13.8904 27.6145 13.8439 27.4774 13.8388 27.3356L13.8388 16.5756C13.8397 16.4534 13.8714 16.3335 13.9309 16.2277C13.9904 16.1219 14.0756 16.0337 14.1781 15.9718C14.2807 15.9098 14.3972 15.8763 14.5162 15.8744C14.6352 15.8725 14.7527 15.9024 14.8571 15.961L23.8927 21.3152C24.0091 21.3903 24.1009 21.4995 24.1563 21.6287C24.2117 21.7579 24.2281 21.9011 24.2034 22.04C24.1787 22.1788 24.1141 22.3069 24.0178 22.4077C23.9216 22.5085 23.7981 22.5773 23.6634 22.6054ZM15.0474 0.261313C17.2108 3.00302 20.2745 4.83985 23.6634 5.42706C23.7981 5.45513 23.9216 5.52399 24.0178 5.62478C24.1141 5.72556 24.1787 5.85364 24.2034 5.9925C24.2281 6.13136 24.2117 6.27462 24.1563 6.40381C24.1009 6.53301 24.0091 6.6422 23.8927 6.71732L14.8571 12.0714C14.7533 12.1297 14.6367 12.1596 14.5185 12.1581C14.4002 12.1567 14.2844 12.124 14.182 12.0632C14.0797 12.0024 13.9943 11.9155 13.9342 11.8109C13.8741 11.7064 13.8412 11.5877 13.8388 11.4663L13.8388 0.696894C13.8439 0.555032 13.8904 0.418018 13.9724 0.303716C14.0544 0.189414 14.168 0.103127 14.2985 0.056108C14.4289 0.0090886 14.5702 0.00351777 14.7038 0.0401219C14.8374 0.0767261 14.9571 0.153807 15.0474 0.261313ZM25.8168 8.90935C24.6184 12.2158 24.6363 15.8576 25.8672 19.1514C25.913 19.2855 25.9182 19.4307 25.8823 19.5679C25.8464 19.7052 25.7711 19.8281 25.666 19.9207C25.561 20.0133 25.4312 20.0711 25.2936 20.0868C25.1561 20.1024 25.0171 20.0751 24.8949 20.0084L15.8111 14.6237C15.71 14.5607 15.6264 14.4721 15.5684 14.3663C15.5104 14.2605 15.4799 14.1412 15.4799 14.0198C15.4799 13.8984 15.5104 13.779 15.5684 13.6732C15.6264 13.5674 15.71 13.4788 15.8111 13.4158L24.8421 8.06409C24.9634 7.9984 25.101 7.97141 25.2373 7.98657C25.3736 8.00174 25.5024 8.05837 25.6072 8.14921C25.7119 8.24004 25.7878 8.36093 25.8252 8.49637C25.8625 8.63181 25.8596 8.77562 25.8168 8.90935Z",fill:"#2696EC"}),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2209 10.9851V23.8468H35.8118V10.9851H33.4648V7.92778H35.8118V6.51672C35.8118 4.91439 36.1765 3.76595 36.9061 3.0714C37.6356 2.37685 38.8454 2.02879 40.5355 2.02722H42.4442V4.82816H41.2857C40.5347 4.82816 40.0032 4.98495 39.6912 5.29851C39.3769 5.6207 39.2209 6.16396 39.2209 6.94474V7.93718H42.3891V10.9945L39.2209 10.9851ZM48.9092 2.03663L45.4679 2.03663V23.8421L48.9092 23.8421V2.03663ZM67.5974 23.8468V7.93718L64.2755 7.93718V10.1196C63.6573 9.3308 62.873 8.69564 61.9813 8.26172C61.0863 7.83165 60.1089 7.61228 59.1205 7.6197C58.0959 7.5972 57.0782 7.79484 56.1327 8.19987C55.1871 8.60491 54.3348 9.20838 53.6305 9.97145C52.1393 11.5597 51.3937 13.5195 51.3937 15.8508C51.3952 18.2324 52.1202 20.2032 53.5686 21.7632C55.017 23.3232 56.8362 24.1031 59.0264 24.1031C60.0369 24.1101 61.0362 23.886 61.9515 23.447C62.8575 23.009 63.6545 22.3657 64.2823 21.5656V23.8468H67.5974ZM55.138 17.7811C54.9016 17.1671 54.7876 16.5107 54.8028 15.8508C54.7876 15.1909 54.9016 14.5346 55.138 13.9206C55.3744 13.3066 55.7285 12.7475 56.1794 12.2762C56.6129 11.8155 57.1322 11.4489 57.7066 11.1979C58.281 10.947 58.8988 10.8169 59.5231 10.8153C60.1475 10.8138 60.7658 10.9409 61.3414 11.189C61.917 11.4371 62.4381 11.8012 62.8737 12.2597C63.3183 12.7374 63.6661 13.3008 63.8968 13.9172C64.1276 14.5337 64.2368 15.1909 64.2181 15.8508C64.2368 16.5108 64.1276 17.168 63.8968 17.7844C63.6661 18.4009 63.3183 18.9642 62.8737 19.442C62.4381 19.9005 61.917 20.2646 61.3414 20.5127C60.7658 20.7608 60.1475 20.8879 59.5231 20.8863C58.8988 20.8848 58.281 20.7547 57.7066 20.5038C57.1322 20.2528 56.6129 19.8861 56.1794 19.4255C55.7285 18.9542 55.3744 18.395 55.138 17.7811ZM74.317 14.254V23.8468H70.9079V7.93718L74.223 7.93718V9.54108C74.592 8.94917 75.0969 8.45902 75.6935 8.11357C76.2985 7.77921 76.977 7.60919 77.6642 7.6197C78.1147 7.61511 78.5633 7.68012 78.9948 7.81254C79.3586 7.91663 79.6949 8.10308 79.979 8.35815L78.2584 11.4366C78.0425 11.2918 77.8055 11.1831 77.5564 11.1144C77.3265 11.052 77.0899 11.0196 76.8521 11.018C76.4954 11.0017 76.1402 11.0733 75.8161 11.2268C75.4919 11.3802 75.2084 11.611 74.9892 11.8999C74.5411 12.4863 74.317 13.271 74.317 14.254ZM95.8271 16.467C95.8432 16.34 95.8432 16.1472 95.8432 15.8908C95.8355 13.4967 95.0815 11.5197 93.5811 9.95969C92.0807 8.3997 90.1835 7.6197 87.8893 7.6197C85.5676 7.61186 83.642 8.38872 82.1126 9.95029C80.5831 11.5119 79.8184 13.4897 79.8184 15.8838C79.8184 18.2982 80.5587 20.2698 82.0392 21.7984C83.5197 23.3271 85.4384 24.0914 87.7952 24.0914C89.5346 24.1334 91.2443 23.6242 92.691 22.6333C94.0578 21.6868 95.0674 20.2892 95.5518 18.6729H91.9546C91.5609 19.4036 90.9761 20.0071 90.266 20.4156C89.5283 20.8295 88.6981 21.0394 87.8572 21.0247C86.7294 21.0612 85.6315 20.65 84.7922 19.877C83.977 19.1229 83.4975 18.1038 83.3537 16.8198H95.7812C95.8037 16.7033 95.819 16.5855 95.8271 16.467ZM87.8324 10.6957C87.8338 10.6957 87.8351 10.6958 87.8365 10.6958H87.8274C87.829 10.6958 87.8307 10.6957 87.8324 10.6957ZM84.9413 11.7212C85.7535 11.0344 86.7798 10.6704 87.8324 10.6957C88.8902 10.6749 89.9201 11.0447 90.7341 11.7376C91.5425 12.4257 92.0583 13.409 92.1725 14.4798L83.3927 14.4798C83.5781 13.4028 84.1261 12.4266 84.9413 11.7212Z",fill:"#143057"})),u("defs",null,u("clipPath",{id:"clip0_3030_30757"},u("rect",{width:95.6667,height:28,fill:"white",transform:"translate(0.166992)"})))),cx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5C8.14219 5 5 8.14219 5 12C5 15.8578 8.14219 19 12 19C15.8578 19 19 15.8578 19 12C19 8.14219 15.8578 5 12 5ZM3 12C3 7.03763 7.03763 3 12 3C16.9624 3 21 7.03763 21 12C21 16.9624 16.9624 21 12 21C7.03763 21 3 16.9624 3 12Z",fill:"#10B981"}),u("path",{d:"M11.707 14.707C11.3165 15.0975 10.6834 15.0975 10.2928 14.707L8.29294 12.7071C7.90247 12.3166 7.90247 11.6835 8.29294 11.2931C8.6834 10.9026 9.31647 10.9026 9.70694 11.2931L10.9999 12.5861L14.2929 9.29306C14.6834 8.90259 15.3165 8.90259 15.7069 9.29306C16.0974 9.68353 16.0974 10.3166 15.7069 10.7071L11.707 14.707Z",fill:"#10B981"})),dx=e=>u("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("path",{d:"M12.0004 2.40002C6.72039 2.40002 2.40039 6.72002 2.40039 12C2.40039 17.28 6.72039 21.6 12.0004 21.6C17.2804 21.6 21.6004 17.28 21.6004 12C21.6004 6.72002 17.2804 2.40002 12.0004 2.40002ZM12.0004 19.2C8.04039 19.2 4.80039 15.96 4.80039 12C4.80039 8.04002 8.04039 4.80002 12.0004 4.80002C15.9604 4.80002 19.2004 8.04002 19.2004 12C19.2004 15.96 15.9604 19.2 12.0004 19.2Z",fill:"#DC2626"}),u("path",{d:"M13.2008 7.20007H10.8008V13.2001H13.2008V7.20007Z",fill:"#DC2626"}),u("path",{d:"M12.0008 16.8C12.6635 16.8 13.2008 16.2628 13.2008 15.6C13.2008 14.9373 12.6635 14.4 12.0008 14.4C11.338 14.4 10.8008 14.9373 10.8008 15.6C10.8008 16.2628 11.338 16.8 12.0008 16.8Z",fill:"#DC2626"})),fx=e=>u("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u("g",{id:"Clock"},u("path",{id:"Icon",d:"M12.5 8V12L15.5 15M21.5 12C21.5 16.9706 17.4706 21 12.5 21C7.52944 21 3.5 16.9706 3.5 12C3.5 7.02944 7.52944 3 12.5 3C17.4706 3 21.5 7.02944 21.5 12Z",stroke:"#FB923C",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})));function Kt(e,t){return w.createElement(e,y(t))}function mx(e){return Kt(ox,e)}function hx(e){return Kt(sx,e)}function px(e){return Kt(ax,e)}function gx(e){return Kt(lx,e)}function wx(e){return Kt(ux,e)}function yx(e){return Kt(cx,e)}function vx(e){return Kt(dx,e)}function bx(e){return Kt(fx,e)}function _x(e,t,r,n){let i,o,s,a,l,c,d,f,m,h,p;return x2(g([new g0(3,[e]),new g0(4,[r]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(i=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(o=[S2(g([new lt(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new lt(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(s=[u("button",y(g([["type","button"],["onClick",v=>{r()}],["className","text-gray-600"],(a=[Zt(24,24)],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(l=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(c=[gx([])],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(d=[F9(g([new On(2,["text-gray-900 text-lg font-bold"]),new On(3,[[`Import ${c2(t)}`]])])),u("div",y(g([["className","mt-2 text-sm text-gray-500 leading-tight"],(f=[u("p",{children:[`Are you sure you want to import ${c2(t)}?`]})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(l))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(m=[u("button",y(g([["type","button"],["onClick",v=>{n()}],(h="inline-flex w-full justify-center rounded-md bg-emerald-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-emerald-700 sm:ml-3 sm:w-auto",["className",h]),["children","Confirm import"]]))),u("button",y(g([["type","button"],["onClick",v=>{r()}],(p="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",p]),["children","Cancel"]])))],["children",w.Children.toArray(Array.from(m))])])))]])]))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))]])]))}function K9(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=ae(u("path",y(g([(n="M17.8008 14.5263L11.4838 2.88031C11.328 2.59137 11.0904 2.35483 10.8008 2.20031C10.4074 1.98974 9.94665 1.94305 9.51893 2.07039C9.0912 2.19773 8.73106 2.48881 8.51683 2.88031L2.20083 14.5263C2.06272 14.7826 1.99367 15.0704 2.00046 15.3614C2.00724 15.6525 2.08964 15.9368 2.23954 16.1863C2.38944 16.4359 2.60169 16.6422 2.85544 16.7849C3.10919 16.9276 3.39571 17.0018 3.68683 17.0003H16.3148C16.5939 17.0003 16.8686 16.9316 17.1148 16.8003C17.3099 16.6968 17.4825 16.5556 17.6228 16.3851C17.763 16.2145 17.8681 16.0178 17.932 15.8064C17.9958 15.595 18.0172 15.373 17.9949 15.1533C17.9726 14.9336 17.9069 14.7205 17.8018 14.5263H17.8008ZM10.0008 15.0003C9.80305 15.0003 9.60971 14.9417 9.44526 14.8318C9.28081 14.7219 9.15264 14.5657 9.07695 14.383C9.00126 14.2003 8.98146 13.9992 9.02004 13.8052C9.05863 13.6112 9.15387 13.4331 9.29372 13.2932C9.43358 13.1533 9.61176 13.0581 9.80574 13.0195C9.99972 12.9809 10.2008 13.0007 10.3835 13.0764C10.5662 13.1521 10.7224 13.2803 10.8323 13.4447C10.9422 13.6092 11.0008 13.8025 11.0008 14.0003C11.0008 14.2655 10.8955 14.5199 10.7079 14.7074C10.5204 14.8949 10.266 15.0003 10.0008 15.0003ZM11.0008 11.5003C11.0008 11.6329 10.9482 11.7601 10.8544 11.8539C10.7606 11.9476 10.6334 12.0003 10.5008 12.0003H9.50083C9.36822 12.0003 9.24104 11.9476 9.14728 11.8539C9.05351 11.7601 9.00083 11.6329 9.00083 11.5003V7.50031C9.00083 7.3677 9.05351 7.24052 9.14728 7.14675C9.24104 7.05298 9.36822 7.00031 9.50083 7.00031H10.5008C10.6334 7.00031 10.7606 7.05298 10.8544 7.14675C10.9482 7.24052 11.0008 7.3677 11.0008 7.50031V11.5003Z",["d",n]),["fill","#FBBF24"]])))),["children",w.Children.toArray(Array.from(r))])])))}function Cx(e){return`${Bi(e,".")}.`}function Us(e){return Bi(e,".")}function xx(e){let t;const r=e.children,n=e.text,i=w.useState(!1),o=i[1];return u("div",y(g([["className","relative inline-block"],["onMouseEnter",s=>{o(!0)}],["onMouseLeave",s=>{o(!1)}],(t=q(E(()=>$(r,E(()=>{let s,a;return i[0]?x(u("div",y(g([(s="absolute z-50 top-0 left-full -translate-y-1/4 ml-1 text-left text-white text-xs leading-5 font-medium ring-1 ring-black ring-opacity-5 shadow-md rounded-md bg-gray-900 pl-6 pr-3 py-2 w-60 text-wrap",["className",s]),(a=q(E(()=>{let l;return Te(n)?x(u("ul",y(g([["className","list-outside list-disc"],(l=q(E(()=>Oe(c=>u("li",{children:[Us(c)]}),n))),["children",w.Children.toArray(Array.from(l))])])))):Te(Re(n))?x(u("p",{children:[Cx(pe(n))]})):x(u("ul",y(g([["className","list-outside list-disc"],(l=q(E(()=>Oe(c=>u("li",{children:[Us(c)]}),n))),["children",w.Children.toArray(Array.from(l))])]))))})),["children",w.Children.toArray(Array.from(a))])])))):_e()})))),["children",w.Children.toArray(Array.from(t))])])))}function F2(e,t){let r;return u("div",y(g([["className",l0(" ",["animate-pulse w-full relative",e,t])],(r=[u("div",{className:l0(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",w.Children.toArray(Array.from(r))])])))}function Sx(){let e,t,r,n,i,o,s,a,l,c,d;return u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex"],(e=[u("div",y(g([["className","flex-col justify-start items-end gap-4 inline-flex"],(t=[u("div",y(g([["className","px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(r=[u("div",y(g([["className","w-[1030px]"],(n=q(E(()=>{let f,m,h,p;return $(x(u("div",y(g([["className","bg-gray-100 flex"],(f=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(m=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(h=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(h))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(p=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(p))])])))],["children",w.Children.toArray(Array.from(f))])])))),E(()=>Oe(v=>u("div",y(q(E(()=>$(v%2===1?x(["className","bg-white border-t border-gray-200 flex"]):x(["className","bg-gray-50 border-t border-gray-200 flex"]),E(()=>{let b,_,C,A;return x((b=[u("div",y(g([["className","px-3 py-2.5 text-left w-[128px]"],(_=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(_))])]))),u("div",y(g([["className","px-3 py-2.5 text-left w-[148px]"],(C=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(C))])]))),u("div",y(g([["className","px-3 py-2.5 text-left flex-1"],(A=[F2("h-5","w-full")],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(b))]))})))))),q(io(0,1,9)))))})),["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])]))),u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(i=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(o=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(s=[u("button",y(g([(a="px-[13px] py-[9px] bg-white opacity-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex",["className",a]),["disabled",!0],(l=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(l))])]))),u("button",y(g([(c="pl-[13px] pr-[11px] py-[9px] opacity-50 bg-emerald-600 rounded-md shadow-sm justify-center items-center gap-2 flex",["className",c]),["disabled",!0],(d=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Import users"})],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(e))])])))}function Ex(e){const t=Ke(n=>n,ut(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}const Ax=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function Tx(e){let t,r,n;const i=e.sendAnalytics,o=e.onError,s=e.back,a=e.next,l=e.employmentBasis,c=e.baseColumnMappings,d=e.dataRows,f=e.validateImportApiCallAsync,m=e.getCurrentAccountUsersApiCallAsync;let h;const p=tx(()=>QC(m,f,d,c,l),i,d);h=pt(()=>ht(()=>p,(S,I)=>nx(o,i,S,I),(S,I)=>{}),void 0,void 0);const v=h[1],b=w.useState(!1),_=b[1],C=w.useState(!1),A=C[1],N=w.useState(!1),k=N[0],D=N[1],P=Pe(r0(S=>u5(d,S),c.MobilePhone),!1),T=Wn(S=>S[1],l)!=null;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[Z9(Ax,b[0],()=>{_(!1)}),ix(C[0],()=>{A(!1)}),T2("Review"),Ar("Preview your data and confirm that everything is mapped correctly."),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(r=[b2("What kind of data do I need?",()=>{_(!0)})],["children",w.Children.toArray(Array.from(r))])]))),u("div",y(ae((n=[u("div",y(q(E(()=>$(x(["className","flex-col justify-start items-start gap-4 inline-flex min-w-[640px]"]),E(()=>{let S,I,M;const L=h[0];if(L.tag===1){const O=L.fields[0],j=B=>{v(new U2(1,[B]))},le=Y9(O)?B=>{v(new U2(3,[]))}:void 0,K=z9(O)?B=>{v(new U2(4,[]))}:void 0,X=B=>{let Y,W;return u("button",y(g([["className",l0(" ",q(E(()=>$(x("px-3 py-1 rounded flex justify-start items-center gap-1.5"),E(()=>ee(O.FilterBy,B)?x("text-gray-700 bg-gray-100"):x("text-gray-500 hover:bg-gray-100 cursor-pointer"))))))],["onClick",Q=>{v(new U2(2,[B]))}],(Y=[u("div",{className:"justify-start text-sm font-medium leading-5",children:B.tag===1?"Invalid":B.tag===2?"Existing users":"Valid"}),u("div",y(g([["className",l0(" ",q(E(()=>$(x("px-2.5 py-0.5 rounded-[10px] flex justify-center items-center"),E(()=>{const Q=B;return Q.tag===1?x("bg-red-100"):Q.tag===2?x("bg-gray-100"):x("bg-emerald-100")})))))],(W=[u("div",{className:l0(" ",q(E(()=>$(x("text-center justify-start text-xs font-medium leading-4"),E(()=>{const Q=B;return Q.tag===1?x("text-red-800"):Q.tag===2?x("text-gray-800"):x("text-emerald-800")}))))),children:B.tag===1?O.NumberOfInvalidRows:B.tag===2?O.NumberOfExistingUsers:O.NumberOfImportableRows})],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Y))])])))};return x((S=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex w-full"],(I=q(E(()=>$(x(_x(k,O.NumberOfImportableRows,()=>{D(!1)},()=>{k&&a([new l5(m1(Oe(B=>B[0],Rt(B=>{const Y=B[1];return Y.Errors==null?!Y.HasExistingEmailError:!1},r8(d.fields[0],O.Data))))),O.InviteTiming])})),E(()=>{let B;return $(O.NumberOfExistingUsers>0||O.NumberOfInvalidRows>0?x(u("div",y(g([["className","flex-col justify-start items-start gap-3 inline-flex w-full pt-6"],(B=q(E(()=>{let Y,W,Q,G,F;return $(O.NumberOfExistingUsers>0?x(u("div",y(g([["className","p-4 bg-blue-50 rounded-md justify-start items-start gap-3 inline-flex w-full"],(Y=[P9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(W=[u("div",y(g([["className","self-stretch text-gray-800 text-sm font-medium leading-tight"],(Q=ae(u("span",{children:[(G=["user already exists","users already exist"],n5(O.NumberOfExistingUsers,G[0],G[1]))]})),["children",w.Children.toArray(Array.from(Q))])]))),u("div",y(g([["className","text-gray-700 text-sm leading-tight"],(F=ae(u("span",{children:[`${Jh(O.NumberOfExistingUsers,"This","These")} will be automatically skipped during import.`]})),["children",w.Children.toArray(Array.from(F))])])))],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Y))])])))):_e(),E(()=>{let ue,ce,xe,Me,ie,V,J,he,re,ne;return O.NumberOfInvalidRows>0?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex w-full"],(ue=[K9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(ce=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(xe=[u("span",{children:[O.NumberOfInvalidRows>1?`We found some issues across ${O.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(xe))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(Me=q(E(()=>{let te;return $(O.DuplicateEmailCount>0?x((te=g([u("span",{className:"font-medium",children:`${O.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(te))}))):_e(),E(()=>{let Z;return O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((Z=g([u("span",{className:"font-medium",children:O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${O.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[O.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"missing or incorrectly formatted data"})]),u("li",{children:w.Children.toArray(Array.from(Z))}))):_e()}))})),["children",w.Children.toArray(Array.from(Me))])]))),u("div",y(g([["className","px-2 py-1.5"],(ie=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(V=[u("span",{children:[(J=O.NumberOfImportableRows===0,he=O.NumberOfInvalidRows|0,J?he===1?"To import this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To import these rows later, download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:he===1?"You can continue the import without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the import without these ${O.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${O.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(V))])])))],["children",w.Children.toArray(Array.from(ie))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(re=[u("a",{className:"px-2 py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:Ex((ne=[O,P,T],rx(ne[0],ne[1],ne[2]))),onClick:te=>{v(new U2(5,[]))},download:"import_users_error_rows"})],["children",w.Children.toArray(Array.from(re))])])))],["children",w.Children.toArray(Array.from(ce))])])))],["children",w.Children.toArray(Array.from(ue))])])))):_e()}))})),["children",w.Children.toArray(Array.from(B))])])))):_e(),E(()=>{let Y;return $(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(Y=q(E(()=>{let W;return $(O.NumberOfInvalidRows===0&&O.NumberOfExistingUsers===0?x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap pr-2"],(W=[Tr(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(W))])])))):_e(),E(()=>{let Q,G;return x(u("div",y(g([["className","w-full bg-white rounded-lg border border-gray-200 flex-col"],(Q=[u("div",y(ae((G=q(E(()=>{let F,ue;return $(O.NumberOfInvalidRows>0||O.NumberOfExistingUsers>0?x(u("div",y(g([["className","h-14 px-4 border-b border-gray-200 inline-flex justify-start items-center gap-3 w-full"],(F=[u("div",y(g([["className","justify-start items-start gap-4 flex"],(ue=q(E(()=>$(x(X(new q1(0,[]))),E(()=>$(O.NumberOfInvalidRows>0?x(X(new q1(1,[]))):_e(),E(()=>O.NumberOfExistingUsers>0?x(X(new q1(2,[]))):_e())))))),["children",w.Children.toArray(Array.from(ue))])])))],["children",w.Children.toArray(Array.from(F))])])))):_e(),E(()=>{let ce,xe,Me,ie,V;return $(x(u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(ce=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(xe=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(Me=[(ie=q(E(()=>$(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),E(()=>$(ee(O.FilterBy,new q1(0,[]))?_e():x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})),E(()=>{let J;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(J=[u("span",{children:["First name "]}),u("span",y(q(E(()=>$(x(["className","text-red-500"]),E(()=>ee(O.FilterBy,new q1(1,[]))?x(["children","*"]):_e()))))))],["children",w.Children.toArray(Array.from(J))])])))),E(()=>{let he;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(he=[u("span",{children:["Last name "]}),u("span",y(q(E(()=>$(x(["className","text-red-500"]),E(()=>ee(O.FilterBy,new q1(1,[]))?x(["children","*"]):_e()))))))],["children",w.Children.toArray(Array.from(he))])])))),E(()=>{let re;return $(x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(re=[u("span",{children:["Email "]}),u("span",y(q(E(()=>$(x(["className","text-red-500"]),E(()=>ee(O.FilterBy,new q1(1,[]))?x(["children","*"]):_e()))))))],["children",w.Children.toArray(Array.from(re))])])))),E(()=>$(P?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Mobile Phone"})):_e(),E(()=>T?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Employment Basis"})):_e()))))}))}))})))))),u("tr",{children:w.Children.toArray(Array.from(ie))}))],["children",w.Children.toArray(Array.from(Me))])]))),u("tbody",y(g([["className","divide-y divide-gray-200 text-gray-500"],(V=q(E(()=>Oe(J=>u("tr",y(q(E(()=>$(x(["key",J.RowNumber]),E(()=>{let he;return $((he=J.Errors!=null,he?x(["className","bg-amber-50 hover:bg-amber-100"]):J.HasExistingEmailError?x(["className","bg-white hover:bg-primary-50"]):x(["className","bg-white hover:bg-primary-50"])),E(()=>{let re;return x((re=q(E(()=>$(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm",children:J.RowNumber})),E(()=>$(ee(O.FilterBy,new q1(0,[]))?_e():x(u("td",y(q(E(()=>$(x(["className","whitespace-nowrap px-3 py-2.5"]),E(()=>{let ne,te,Z,ke,be;return J.Errors!=null?x((ne=[u("div",y(g([(te="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",te]),(Z=q(E(()=>$(x(u("span",{children:[U(J.Errors).Summary]})),E(()=>{let A0;const We=U(J.Errors).Details;return We==null?_e():x(u("div",y(g([["className","pl-1 text-amber-700 items-center inline-flex"],(A0=[u(xx,{text:We,children:[hx([])]})],["children",w.Children.toArray(Array.from(A0))])]))))})))),["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(ne))])):J.HasExistingEmailError?x((ke=[u("div",y(g([(be="text-center text-gray-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-gray-100 rounded justify-center items-center inline-flex",["className",be]),["children","Existing user"]])))],["children",w.Children.toArray(Array.from(ke))])):_e()}))))))),E(()=>$(x(u("td",y(q(E(()=>$(x(q0),E(()=>{let ne,te;const Z=J.FirstName;return Z[0]==null?_e():Z[1]?(ne=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),E(()=>x(["children",ne])))):(te=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),E(()=>x(["children",te]))))}))))))),E(()=>$(x(u("td",y(q(E(()=>$(x(q0),E(()=>{let ne,te;const Z=J.LastName;return Z[0]==null?_e():Z[1]?(ne=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),E(()=>x(["children",ne])))):(te=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),E(()=>x(["children",te]))))}))))))),E(()=>$(x(u("td",y(q(E(()=>$(x(q0),E(()=>{let ne,te;const Z=J.Email;return Z[0]==null?_e():Z[1]?(ne=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),E(()=>x(["children",ne])))):(te=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),E(()=>x(["children",te]))))}))))))),E(()=>$(P?x(u("td",y(q(E(()=>$(x(Eg),E(()=>{let ne,te;const Z=J.MobilePhone;return Z[0]==null?_e():Z[1]?(ne=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),E(()=>x(["children",ne])))):(te=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),E(()=>x(["children",te]))))}))))))):_e(),E(()=>T?x(u("td",y(q(E(()=>{let ne,te;const Z=J.EmploymentBasis;return Z[0]==null?_e():Z[1]?(ne=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm"]),E(()=>x(["children",ne])))):(te=Z[0],$(x(["className","whitespace-nowrap px-3 py-2.5 text-sm font-medium text-amber-700"]),E(()=>x(["children",te]))))}))))):_e())))))))))))))),["children",w.Children.toArray(Array.from(re))]))}))})))))),O.Page))),["children",w.Children.toArray(Array.from(V))])])))],["children",w.Children.toArray(Array.from(xe))])])))],["children",w.Children.toArray(Array.from(ce))])])))),E(()=>{let J,he,re;return x(u("div",y(g([["className","h-[63px] px-4 w-full flex-col justify-start items-start inline-flex"],(J=[u("div",y(g([(he="self-stretch py-2.5 justify-between items-center inline-flex text-gray-700 text-sm font-normal leading-tight",["className",he]),(re=q(E(()=>{let ne;return $(O.NumberOfFilteredRows===0?x(u("span",{children:"No results found"})):x((ne=g([u("span",{children:["Showing "]}),u("span",{className:"font-medium",children:O.RowFrom}),u("span",{children:[" to "]}),u("span",{className:"font-medium",children:O.RowTo}),u("span",{children:[" of "]}),u("span",{className:"font-medium",children:O.NumberOfFilteredRows}),u("span",{children:[" results"]})]),u("div",{children:w.Children.toArray(Array.from(ne))}))),E(()=>{let te;return x(u("div",y(g([["className","justify-start items-start gap-3 flex"],(te=[u("button",y(q(E(()=>{let Z;return $((Z=K,Z==null?x(["disabled",!0]):x(["onClick",Z])),E(()=>{let ke;return $(x((ke="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",ke])),E(()=>{let be;return x((be=[u("span",{className:"font-medium",children:"Previous"})],["children",w.Children.toArray(Array.from(be))]))}))}))})))),u("button",y(q(E(()=>{let Z;return $((Z=le,Z==null?x(["disabled",!0]):x(["onClick",Z])),E(()=>{let ke;return $(x((ke="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",ke])),E(()=>{let be;return x((be=[u("span",{className:"font-medium",children:"Next"})],["children",w.Children.toArray(Array.from(be))]))}))}))}))))],["children",w.Children.toArray(Array.from(te))])]))))}))})),["children",w.Children.toArray(Array.from(re))])])))],["children",w.Children.toArray(Array.from(J))])]))))}))}))})),["children",w.Children.toArray(Array.from(G))]))))],["children",w.Children.toArray(Array.from(Q))])]))))}))})),["children",w.Children.toArray(Array.from(Y))])])))),E(()=>{let W,Q,G,F,ue,ce,xe,Me,ie,V,J,he,re,ne,te;return $(O.NumberOfImportableRows>0?x(u("div",y(g([["className","pb-10 border-b border-gray-200 justify-start items-start gap-4 inline-flex w-full"],(W=[mx([]),u("div",y(g([["className","grow shrink basis-0 flex-col justify-center items-start gap-4 inline-flex"],(Q=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(G=[u("div",{className:"text-gray-700 text-base font-semibold leading-normal",children:`Invite ${O.NumberOfImportableRows} users to workplace benefits`})],["children",w.Children.toArray(Array.from(G))])]))),b2("What is workplace benefits?",()=>{A(!0)}),u("div",y(ae((F=[u("div",y(g([["className","flex-col justify-start items-start gap-2 flex"],(ue=[u("div",y(g([["key",Qe(new D0(1,[]))],["className","relative flex items-start"],(ce=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",Z=>{j(new D0(1,[]))}],(xe=[u("input",y(g([["id",Qe(new D0(1,[]))],["name","InviteTiming"],["type","radio"],(Me="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",Me]),["checked",ee(O.InviteTiming,new D0(1,[]))],["onChange",Z=>{Z.target.checked,j(new D0(1,[]))}]])))],["children",w.Children.toArray(Array.from(xe))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(ie=[u("label",{for:Qe(new D0(1,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import now, invite later"}),u("p",{id:`${Qe(new D0(1,[]))}-description`,className:"text-gray-500 text-sm font-normal leading-tight",children:"We’ll import your users now. You can invite them to workplace benefits at any time later."})],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(ce))])])))],["children",w.Children.toArray(Array.from(ue))])]))),u("div",y(ae((V=[u("div",y(g([["key",Qe(new D0(0,[]))],["className","relative flex items-start"],(J=[u("div",y(g([["className","flex h-6 items-center py-2"],["onClick",Z=>{j(new D0(0,[]))}],(he=[u("input",y(g([["id",Qe(new D0(0,[]))],["name","InviteTiming"],["type","radio"],(re="relative size-4 appearance-none rounded-full border border-gray-300 bg-white before:absolute before:inset-1 before:rounded-full before:bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 disabled:border-gray-300 disabled:bg-gray-100 disabled:before:bg-gray-400 forced-colors:appearance-auto forced-colors:before:hidden [&:not(:checked)]:before:hidden",["className",re]),["checked",ee(O.InviteTiming,new D0(0,[]))],["onChange",Z=>{Z.target.checked,j(new D0(0,[]))}]])))],["children",w.Children.toArray(Array.from(he))])]))),u("div",y(g([["className","ml-3 text-sm/6"],(ne=[u("label",{for:Qe(new D0(0,[])),className:"text-gray-700 text-sm font-medium leading-tight cursor-pointer",children:"Import and invite now"}),u("p",y(g([["id",`${Qe(new D0(0,[]))}-description`],["className","text-gray-500 text-sm font-normal leading-tight"],(te="We’ll import your users and send an email to help them set up workplace benefits and access the Flare app.",["children",te])])))],["children",w.Children.toArray(Array.from(ne))])])))],["children",w.Children.toArray(Array.from(J))])])))],["children",w.Children.toArray(Array.from(V))]))))],["children",w.Children.toArray(Array.from(F))]))))],["children",w.Children.toArray(Array.from(Q))])])))],["children",w.Children.toArray(Array.from(W))])])))):_e(),E(()=>{let Z,ke,be,A0,We,m0,E1,Z0;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(Z=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(ke=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(be=[u("button",y(g([(A0="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",A0]),["onClick",M0=>{s()}],(We=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(We))])]))),u("button",y(g([(m0="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-emerald-600 hover:enabled:bg-emerald-700 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",m0]),["onClick",M0=>{D(!0)}],["disabled",O.NumberOfImportableRows===0],(E1=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(Z0=O.NumberOfImportableRows|0,Z0===0?"Import users":Z0===1?"Import 1 user":`Import ${O.NumberOfImportableRows} users`)})],["children",w.Children.toArray(Array.from(E1))])])))],["children",w.Children.toArray(Array.from(be))])])))],["children",w.Children.toArray(Array.from(ke))])])))],["children",w.Children.toArray(Array.from(Z))])]))))}))}))}))})))),["children",w.Children.toArray(Array.from(I))])])))],["children",w.Children.toArray(Array.from(S))]))}else return x((M=[Sx()],["children",w.Children.toArray(Array.from(M))]))}))))))],["children",w.Children.toArray(Array.from(n))]))))],["children",w.Children.toArray(Array.from(t))])])))}var P2={},Q5,js;function _0(){return js||(js=1,Q5={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),Q5}var e4,Ws;function N2(){if(Ws)return e4;Ws=1;var e=_0();function t(){this.reset=function(){this._mState=e.detecting},this.getCharsetName=function(){return null},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(r){},this.getState=function(){return this._mState},this.getConfidence=function(){return 0},this.filterHighBitOnly=function(r){return r=r.replace(/[\x00-\x7F]+/g," "),r},this.filterWithoutEnglishLetters=function(r){return r=r.replace(/[A-Za-z]+/g," "),r},this.removeXmlTags=function(r){for(var n="",i=!1,o=0,s=0;s<r.length;s++){var a=r[s];a==">"&&r[s-1]!=="?"?(o=s+1,i=!1):a=="<"&&r[s+1]!=="?"&&(s>o&&!i&&(n=n+r.substring(o,s)+" "),i=!0)}return i||(n=n+r.substring(o)),n}}return e4=t,e4}var L2={},qs;function M2(){return qs||(qs=1,L2.log=function(){},L2.setLogger=function(t){L2.enabled=!0,L2.log=t}),L2}var t4,Gs;function J9(){if(Gs)return t4;Gs=1;var e=_0(),t=N2(),r=M2();function n(){t.apply(this);var i=this;function o(){i._mActiveNum=0,i._mProbers=[],i._mBestGuessProber=null}this.reset=function(){n.prototype.reset.apply(this),this._mActiveNum=0;for(var s=0,a;a=this._mProbers[s];s++)a&&(a.reset(),a.active=!0,this._mActiveNum++);this._mBestGuessProber=null},this.getCharsetName=function(){return!this._mBestGuessProber&&(this.getConfidence(),!this._mBestGuessProber)?null:this._mBestGuessProber.getCharsetName()},this.getSupportedCharsetNames=function(){throw new Error("Unimplemented method getSupportedCharsetNames()")},this.feed=function(s){for(var a=0,l;l=this._mProbers[a];a++)if(!(!l||!l.active)){var c=l.feed(s);if(c){if(c==e.foundIt)return this._mBestGuessProber=l,this.getState();if(c==e.notMe&&(l.active=!1,this._mActiveNum--,this._mActiveNum<=0))return this._mState=e.notMe,this.getState()}}return this.getState()},this.getConfidence=function(){var s=this.getState();if(s==e.foundIt)return .99;if(s==e.notMe)return .01;var a=0;this._mBestGuessProber=null;for(var l=0,c;c=this._mProbers[l];l++)if(c){if(!c.active){r.log(c.getCharsetName()+` not active
|
|
52
52
|
`);continue}var d=c.getConfidence();r.log(c.getCharsetName()+" confidence = "+d+`
|
|
53
|
-
`),a<d&&(a=d,this._mBestGuessProber=c)}return this._mBestGuessProber?a:0},o()}return n.prototype=new t,
|
|
54
|
-
`),this._mState=t.notMe;break}else if(a==t.itsMe){this._mState=t.foundIt;break}else if(a==t.start){var l=this._mCodingSM.getCurrentCharLen();s==0?(this._mLastChar[1]=i[0],this._mDistributionAnalyzer.feed(this._mLastChar.join(""),l)):this._mDistributionAnalyzer.feed(i.slice(s-1,s+1),l)}}return this._mLastChar[0]=i[o-1],this.getState()==t.detecting&&this._mDistributionAnalyzer.gotEnoughData()&&this.getConfidence()>t.SHORTCUT_THRESHOLD&&(this._mState=t.foundIt),this.getState()},this.getConfidence=function(){return this._mDistributionAnalyzer.getConfidence()}}return n.prototype=new e,o4=n,o4}var s4,Ks;function kx(){if(Ks)return s4;Ks=1;var e=C0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,1,1,2,0];return s4={classTable:t,classFactor:5,stateTable:r,charLenTable:n,name:"Big5"},s4}var G1={},jr={},Js;function Ix(){return Js||(Js=1,jr.JIS_TYPICAL_DISTRIBUTION_RATIO=3,jr.JIS_TABLE_SIZE=4368,jr.JISCharToFreqOrder=[40,1,6,182,152,180,295,2127,285,381,3295,4304,3068,4606,3165,3510,3511,1822,2785,4607,1193,2226,5070,4608,171,2996,1247,18,179,5071,856,1661,1262,5072,619,127,3431,3512,3230,1899,1700,232,228,1294,1298,284,283,2041,2042,1061,1062,48,49,44,45,433,434,1040,1041,996,787,2997,1255,4305,2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928,5081,3296,3432,290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375,1691,3297,4306,4307,4611,452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117,5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472,598,618,820,1205,1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172,1875,2043,2149,1793,1382,2973,925,2404,1067,1241,960,1377,2935,1491,919,1217,1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804,2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998,3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161,26,3377,2,3929,20,3691,47,4100,50,17,16,35,268,27,243,42,155,24,154,29,184,4,91,14,92,53,396,33,289,9,37,64,620,21,39,321,5,12,11,52,13,3,208,138,0,7,60,526,141,151,1069,181,275,1591,83,132,1475,126,331,829,15,69,160,59,22,157,55,1079,312,109,38,23,25,10,19,79,5195,61,382,1124,8,30,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,89,62,74,34,2416,112,139,196,271,149,84,607,131,765,46,88,153,683,76,874,101,258,57,80,32,364,121,1508,169,1547,68,235,145,2999,41,360,3027,70,63,31,43,259,262,1383,99,533,194,66,93,846,217,192,56,106,58,565,280,272,311,256,146,82,308,71,100,128,214,655,110,261,104,1140,54,51,36,87,67,3070,185,2618,2936,2020,28,1066,2390,2059,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238,5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247,4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,363,642,2787,2878,2788,2789,2316,3232,2317,3434,2011,165,1942,3930,3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,2044,2060,4621,997,1235,473,1186,4622,920,3378,6115,6116,379,1108,4313,2657,2735,3934,6117,3809,636,3233,573,1026,3693,3435,2974,3300,2298,4105,854,2937,2463,393,2581,2417,539,752,1280,2750,2480,140,1161,440,708,1569,665,2497,1746,1291,1523,3e3,164,1603,847,1331,537,1997,486,508,1693,2418,1970,2227,878,1220,299,1030,969,652,2751,624,1137,3301,2619,65,3302,2045,1761,1859,3120,1930,3694,3516,663,1767,852,835,3695,269,767,2826,2339,1305,896,1150,770,1616,6118,506,1502,2075,1012,2519,775,2520,2975,2340,2938,4314,3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557,175,597,985,3517,2419,2521,1416,3029,585,938,1931,1007,1052,1932,1685,6120,3379,4316,4623,804,599,3121,1333,2128,2539,1159,1554,2032,3810,687,2033,2904,952,675,1467,3436,6121,2241,1096,1786,2440,1543,1924,980,1813,2228,781,2692,1879,728,1918,3696,4624,548,1950,4625,1809,1088,1356,3303,2522,1944,502,972,373,513,2827,586,2377,2391,1003,1976,1631,6122,2464,1084,648,1776,4626,2141,324,962,2012,2177,2076,1384,742,2178,1448,1173,1810,222,102,301,445,125,2420,662,2498,277,200,1476,1165,1068,224,2562,1378,1446,450,1880,659,791,582,4627,2939,3936,1516,1274,555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229,412,2114,1900,2392,3518,512,2597,427,1925,2341,3122,1653,1686,2465,2499,697,330,273,380,2162,951,832,780,991,1301,3073,965,2270,3519,668,2523,2636,1286,535,1407,518,671,957,2658,2378,267,611,2197,3030,6123,248,2299,967,1799,2356,850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879,2829,499,2179,676,4629,557,2329,2214,2090,325,3234,464,811,3001,992,2342,2481,1232,1469,303,2242,466,1070,2163,603,1777,2091,4630,2752,4631,2714,322,2659,1964,1768,481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849,2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634,1604,943,1724,1454,917,868,2215,1169,2940,552,1145,1800,1228,1823,1955,316,1080,2510,361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127,541,1263,1229,1148,2540,545,465,1833,2880,3438,1901,3074,2482,816,3937,713,1788,2500,122,1575,195,1451,2501,1111,6128,859,374,1225,2243,2483,4317,390,1033,3439,3075,2524,1687,266,793,1440,2599,946,779,802,507,897,1081,528,2189,1292,711,1866,1725,1167,1640,753,398,2661,1053,246,348,4318,137,1024,3440,1600,2077,2129,825,4319,698,238,521,187,2300,1157,2423,1641,1605,1464,1610,1097,2541,1260,1436,759,2255,1814,2150,705,3235,409,2563,3304,561,3033,2005,2564,726,1956,2343,3698,4109,949,3812,3813,3520,1669,653,1379,2525,881,2198,632,2256,1027,778,1074,733,1957,514,1481,2466,554,2180,702,3938,1606,1017,1398,6129,1380,3521,921,993,1313,594,449,1489,1617,1166,768,1426,1360,495,1794,3601,1177,3602,1170,4320,2344,476,425,3167,4635,3168,1424,401,2662,1171,3382,1998,1089,4110,477,3169,474,6130,1909,596,2831,1842,494,693,1051,1028,1207,3076,606,2115,727,2790,1473,1115,743,3522,630,805,1532,4321,2021,366,1057,838,684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090,1536,3939,3523,3306,1455,2199,336,369,2331,1035,584,2393,902,718,2600,6131,2753,463,2151,1149,1611,2467,715,1308,3124,1268,343,1413,3236,1517,1347,2663,2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980,872,2368,2441,2943,320,2369,2116,1082,679,1933,3941,2791,3815,625,1143,2023,422,2200,3816,6133,730,1695,356,2257,1626,2301,2858,2637,1627,1778,937,883,2906,2693,3002,1769,1086,400,1063,1325,3307,2792,4111,3077,456,2345,1046,747,6134,1524,884,1094,3383,1474,2164,1059,974,1688,2181,2258,1047,345,1665,1187,358,875,3170,305,660,3524,2190,1334,1135,3171,1540,1649,2542,1527,927,968,2793,885,1972,1850,482,500,2638,1218,1109,1085,2543,1654,2034,876,78,2287,1482,1277,861,1675,1083,1779,724,2754,454,397,1132,1612,2332,893,672,1237,257,2259,2370,135,3384,337,2244,547,352,340,709,2485,1400,788,1138,2511,540,772,1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533,407,576,3308,1254,2071,978,3385,170,136,1201,3125,2664,3172,2394,213,912,873,3603,1713,2202,699,3604,3699,813,3442,493,531,1054,468,2907,1483,304,281,4112,1726,1252,2094,339,2319,2130,2639,756,1563,2944,748,571,2976,1588,2425,2715,1851,1460,2426,1528,1392,1973,3237,288,3309,685,3386,296,892,2716,2216,1570,2245,722,1747,2217,905,3238,1103,6135,1893,1441,1965,251,1805,2371,3700,2601,1919,1078,75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817,524,706,1075,292,3818,1756,2602,317,98,3173,3605,3525,1844,2218,3819,2502,814,567,385,2908,1534,6137,534,1642,3239,797,6138,1670,1529,953,4323,188,1071,538,178,729,3240,2109,1226,1374,2e3,2357,2977,731,2468,1116,2014,2051,6139,1261,1593,803,2859,2736,3443,556,682,823,1541,6140,1369,2289,1706,2794,845,462,2603,2665,1361,387,162,2358,1740,739,1770,1720,1304,1401,3241,1049,627,1571,2427,3526,1877,3942,1852,1500,431,1910,1503,677,297,2795,286,1433,1038,1198,2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442,108,712,4640,2372,866,3701,2755,3242,1348,834,1945,1408,3527,2395,3243,1811,824,994,1179,2110,1548,1453,790,3003,690,4324,4325,2832,2909,3820,1860,3821,225,1748,310,346,1780,2470,821,1993,2717,2796,828,877,3528,2860,2471,1702,2165,2910,2486,1789,453,359,2291,1676,73,1164,1461,1127,3311,421,604,314,1037,589,116,2487,737,837,1180,111,244,735,6142,2261,1861,1362,986,523,418,581,2666,3822,103,855,503,1414,1867,2488,1091,657,1597,979,605,1316,4641,1021,2443,2078,2001,1209,96,587,2166,1032,260,1072,2153,173,94,226,3244,819,2006,4642,4114,2203,231,1744,782,97,2667,786,3387,887,391,442,2219,4326,1425,6143,2694,633,1544,1202,483,2015,592,2052,1958,2472,1655,419,129,4327,3444,3312,1714,1257,3078,4328,1518,1098,865,1310,1019,1885,1512,1734,469,2444,148,773,436,1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643,579,1238,932,2320,353,205,801,115,2428,944,2321,1881,399,2565,1211,678,766,3944,335,2101,1459,1781,1402,3945,2737,2131,1010,844,981,1326,1013,550,1816,1545,2620,1335,1008,371,2881,936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503,416,1643,4330,806,1126,229,591,3946,1314,1981,1576,1837,1666,347,1790,977,3313,764,2861,1853,688,2429,1920,1462,77,595,415,2002,3034,798,1192,4115,6144,2978,4331,3035,2695,2582,2072,2566,430,2430,1727,842,1396,3947,3702,613,377,278,236,1417,3388,3314,3174,757,1869,107,3530,6145,1194,623,2262,207,1253,2167,3446,3948,492,1117,1935,536,1838,2757,1246,4332,696,2095,2406,1393,1572,3175,1782,583,190,253,1390,2230,830,3126,3389,934,3245,1703,1749,2979,1870,2545,1656,2204,869,2346,4116,3176,1817,496,1764,4644,942,1504,404,1903,1122,1580,3606,2945,1022,515,372,1735,955,2431,3036,6146,2797,1110,2302,2798,617,6147,441,762,1771,3447,3607,3608,1904,840,3037,86,939,1385,572,1370,2445,1336,114,3703,898,294,203,3315,703,1583,2274,429,961,4333,1854,1951,3390,2373,3704,4334,1318,1381,966,1911,2322,1006,1155,309,989,458,2718,1795,1372,1203,252,1689,1363,3177,517,1936,168,1490,562,193,3823,1042,4117,1835,551,470,4645,395,489,3448,1871,1465,2583,2641,417,1493,279,1295,511,1236,1119,72,1231,1982,1812,3004,871,1564,984,3449,1667,2696,2096,4646,2347,2833,1673,3609,695,3246,2668,807,1183,4647,890,388,2333,1801,1457,2911,1765,1477,1031,3316,3317,1278,3391,2799,2292,2526,163,3450,4335,2669,1404,1802,6148,2323,2407,1584,1728,1494,1824,1269,298,909,3318,1034,1632,375,776,1683,2061,291,210,1123,809,1249,1002,2642,3038,206,1011,2132,144,975,882,1565,342,667,754,1442,2143,1299,2303,2062,447,626,2205,1221,2739,2912,1144,1214,2206,2584,760,1715,614,950,1281,2670,2621,810,577,1287,2546,4648,242,2168,250,2643,691,123,2644,647,313,1029,689,1357,2946,1650,216,771,1339,1306,808,2063,549,913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079,406,2671,2117,3949,4649,487,1825,2220,6150,2915,448,2348,1073,6151,2397,1707,130,900,1598,329,176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155,3706,1912,1513,1614,6153,1988,646,392,2304,1589,3320,3039,1826,1239,1352,1340,2916,505,2567,1709,1437,2408,2547,906,6154,2672,384,1458,1594,1100,1329,710,423,3531,2064,2231,2622,1989,2673,1087,1882,333,841,3005,1296,2882,2379,580,1937,1827,1293,2585,601,574,249,1772,4118,2079,1120,645,901,1176,1690,795,2207,478,1434,516,1190,1530,761,2080,930,1264,355,435,1552,644,1791,987,220,1364,1163,1121,1538,306,2169,1327,1222,546,2645,218,241,610,1704,3321,1984,1839,1966,2528,451,6155,2586,3707,2568,907,3178,254,2947,186,1845,4650,745,432,1757,428,1633,888,2246,2221,2489,3611,2118,1258,1265,956,3127,1784,4337,2490,319,510,119,457,3612,274,2035,2007,4651,1409,3128,970,2758,590,2800,661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111,485,2491,1429,1156,6156,2548,2183,1495,831,1840,2529,2446,501,1657,307,1894,3247,1341,666,899,2156,1539,2549,1559,886,349,2208,3081,2305,1736,3824,2170,2759,1014,1913,1386,542,1397,2948,490,368,716,362,159,282,2569,1129,1658,1288,1750,2674,276,649,2016,751,1496,658,1818,1284,1862,2209,2087,2512,3451,622,2834,376,117,1060,2053,1208,1721,1101,1443,247,1250,3179,1792,3952,2760,2398,3953,6157,2144,3708,446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082,424,2222,1251,2449,2119,2836,504,1581,4338,602,817,857,3825,2349,2306,357,3826,1470,1883,2883,255,958,929,2917,3248,302,4653,1050,1271,1751,2307,1952,1430,2697,2719,2359,354,3180,777,158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232,3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428,637,931,2721,2145,914,2550,2587,81,2450,612,827,2646,1242,4655,1118,2884,472,1855,3181,3533,3534,569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152,1938,134,1830,471,3710,2276,1112,1535,3323,3453,3535,982,1337,2950,488,826,674,1058,1628,4120,2017,522,2399,211,568,1367,3454,350,293,1872,1139,3249,1399,1946,3006,1300,2360,3324,588,736,6160,2606,744,669,3536,3828,6161,1358,199,723,848,933,851,1939,1505,1514,1338,1618,1831,4656,1634,3613,443,2740,3829,717,1947,491,1914,6162,2551,1542,4121,1025,6163,1099,1223,198,3040,2722,370,410,1905,2589,998,1248,3182,2380,519,1449,4122,1710,947,928,1153,4341,2277,344,2624,1511,615,105,161,1212,1076,1960,3130,2054,1926,1175,1906,2473,414,1873,2801,6164,2309,315,1319,3325,318,2018,2146,2157,963,631,223,4342,4343,2675,479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886,2184,1674,1330,1711,1635,1506,799,219,3250,3083,3954,1677,3713,3326,2081,3614,1652,2073,4657,1147,3041,1752,643,1961,147,1974,3955,6167,1716,2037,918,3007,1994,120,1537,118,609,3184,4345,740,3455,1219,332,1615,3830,6168,1621,2980,1582,783,212,553,2350,3714,1349,2433,2082,4124,889,6169,2310,1275,1410,973,166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658,629,822,3008,763,940,1990,2862,439,2409,1566,1240,1622,926,1282,1907,2764,654,2210,1607,327,1130,3956,1678,1623,6170,2434,2192,686,608,3831,3715,903,3957,3042,6171,2741,1522,1915,1105,1555,2552,1359,323,3251,4346,3457,738,1354,2553,2311,2334,1828,2003,3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847,520,1204,2607,264,4659,836,2677,2102,600,4660,3833,2278,3084,6174,4347,3615,1342,640,532,543,2608,1888,2400,2591,1009,4348,1497,341,1737,3616,2723,1394,529,3252,1321,983,4661,1515,2120,971,2592,924,287,1662,3186,4349,2700,4350,1519,908,1948,2452,156,796,1629,1486,2223,2055,694,4126,1259,1036,3392,1213,2249,2742,1889,1230,3958,1015,910,408,559,3617,4662,746,725,935,4663,3959,3009,1289,563,867,4664,3960,1567,2981,2038,2626,988,2263,2381,4351,143,2374,704,1895,6175,1188,3716,2088,673,3085,2362,4352,484,1608,1921,2765,2918,215,904,3618,3537,894,509,976,3043,2701,3961,4353,2837,2982,498,6176,6177,1102,3538,1332,3393,1487,1636,1637,233,245,3962,383,650,995,3044,460,1520,1206,2352,749,3327,530,700,389,1438,1560,1773,3963,2264,719,2951,2724,3834,870,1832,1644,1e3,839,2474,3717,197,1630,3394,365,2886,3964,1285,2133,734,922,818,1106,732,480,2083,1774,3458,923,2279,1350,221,3086,85,2233,2234,3835,1585,3010,2147,1387,1705,2382,1619,2475,133,239,2802,1991,1016,2084,2383,411,2838,1113,651,1985,1160,3328,990,1863,3087,1048,1276,2647,265,2627,1599,3253,2056,150,638,2019,656,853,326,1479,680,1439,4354,1001,1759,413,3459,3395,2492,1431,459,4355,1125,3329,2265,1953,1450,2065,2863,849,351,2678,3131,3254,3255,1104,1577,227,1351,1645,2453,2193,1421,2887,812,2121,634,95,2435,201,2312,4665,1646,1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189,328,2679,1077,1940,1136,558,1283,964,1195,621,2074,1199,1743,3460,3619,1896,1916,1890,3836,2952,1154,2112,1064,862,378,3011,2066,2113,2803,1568,2839,6178,3088,2919,1941,1660,2004,1992,2194,142,707,1590,1708,1624,1922,1023,1836,1233,1004,2313,789,741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721,593,2840,367,2920,1878,6180,3461,1521,628,1168,692,2211,2649,300,720,2067,2571,2953,3396,959,2504,3966,3539,3462,1977,701,6181,954,1043,800,681,183,3722,1803,1730,3540,4128,2103,815,2314,174,467,230,2454,1093,2134,755,3541,3397,1141,1162,6182,1738,2039,270,3256,2513,1005,1647,2185,3837,858,1679,1897,1719,2954,2324,1806,402,670,167,4129,1498,2158,2104,750,6183,915,189,1680,1551,455,4356,1501,2455,405,1095,2955,338,1586,1266,1819,570,641,1324,237,1556,2650,1388,3723,6184,1368,2384,1343,1978,3089,2436,879,3724,792,1191,758,3012,1411,2135,1322,4357,240,4667,1848,3725,1574,6185,420,3045,1546,1391,714,4358,1967,941,1864,863,664,426,560,1731,2680,1785,2864,1949,2363,403,3330,1415,1279,2136,1697,2335,204,721,2097,3838,90,6186,2085,2505,191,3967,124,2148,1376,1798,1178,1107,1898,1405,860,4359,1243,1272,2375,2983,1558,2456,1638,113,3621,578,1923,2609,880,386,4130,784,2186,2266,1422,2956,2172,1722,497,263,2514,1267,2412,2610,177,2703,3542,774,1927,1344,616,1432,1595,1018,172,4360,2325,911,4361,438,1468,3622,794,3968,2024,2173,1681,1829,2957,945,895,3090,575,2212,2476,475,2401,2681,785,2744,1745,2293,2555,1975,3133,2865,394,4668,3839,635,4131,639,202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457,3727,3134,4362,843,2611,437,916,4669,234,769,1884,3046,3047,3623,833,6187,1639,2250,2402,1355,1185,2010,2047,999,525,1732,1290,1488,2612,948,1578,3728,2413,2477,1216,2725,2159,334,3840,1328,3624,2921,1525,4132,564,1056,891,4363,1444,1698,2385,2251,3729,1365,2281,2235,1717,6188,864,3841,2515,444,527,2767,2922,3625,544,461,6189,566,209,2437,3398,2098,1065,2068,3331,3626,3257,2137,2138,2122,3730,2888,1995,1820,1044,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,4670,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,3187,6238,6239,3969,6240,6241,6242,6243,6244,4671,6245,6246,4672,6247,6248,4133,6249,6250,4364,6251,2923,2556,2613,4673,4365,3970,6252,6253,6254,6255,4674,6256,6257,6258,2768,2353,4366,4675,4676,3188,4367,3463,6259,4134,4677,4678,6260,2267,6261,3842,3332,4368,3543,6262,6263,6264,3013,1954,1928,4135,4679,6265,6266,2478,3091,6267,4680,4369,6268,6269,1699,6270,3544,4136,4681,6271,4137,6272,4370,2804,6273,6274,2593,3971,3972,4682,6275,2236,4683,6276,6277,4684,6278,6279,4138,3973,4685,6280,6281,3258,6282,6283,6284,6285,3974,4686,2841,3975,6286,6287,3545,6288,6289,4139,4687,4140,6290,4141,6291,4142,6292,6293,3333,6294,6295,6296,4371,6297,3399,6298,6299,4372,3976,6300,6301,6302,4373,6303,6304,3843,3731,6305,4688,4374,6306,6307,3259,2294,6308,3732,2530,4143,6309,4689,6310,6311,6312,3048,6313,6314,4690,3733,2237,6315,6316,2282,3334,6317,6318,3844,6319,6320,4691,6321,3400,4692,6322,4693,6323,3049,6324,4375,6325,3977,6326,6327,6328,3546,6329,4694,3335,6330,4695,4696,6331,6332,6333,6334,4376,3978,6335,4697,3979,4144,6336,3980,4698,6337,6338,6339,6340,6341,4699,4700,4701,6342,6343,4702,6344,6345,4703,6346,6347,4704,6348,4705,4706,3135,6349,4707,6350,4708,6351,4377,6352,4709,3734,4145,6353,2506,4710,3189,6354,3050,4711,3981,6355,3547,3014,4146,4378,3735,2651,3845,3260,3136,2224,1986,6356,3401,6357,4712,2594,3627,3137,2573,3736,3982,4713,3628,4714,4715,2682,3629,4716,6358,3630,4379,3631,6359,6360,6361,3983,6362,6363,6364,6365,4147,3846,4717,6366,6367,3737,2842,6368,4718,2628,6369,3261,6370,2386,6371,6372,3738,3984,4719,3464,4720,3402,6373,2924,3336,4148,2866,6374,2805,3262,4380,2704,2069,2531,3138,2806,2984,6375,2769,6376,4721,4722,3403,6377,6378,3548,6379,6380,2705,3092,1979,4149,2629,3337,2889,6381,3338,4150,2557,3339,4381,6382,3190,3263,3739,6383,4151,4723,4152,2558,2574,3404,3191,6384,6385,4153,6386,4724,4382,6387,6388,4383,6389,6390,4154,6391,4725,3985,6392,3847,4155,6393,6394,6395,6396,6397,3465,6398,4384,6399,6400,6401,6402,6403,6404,4156,6405,6406,6407,6408,2123,6409,6410,2326,3192,4726,6411,6412,6413,6414,4385,4157,6415,6416,4158,6417,3093,3848,6418,3986,6419,6420,3849,6421,6422,6423,4159,6424,6425,4160,6426,3740,6427,6428,6429,6430,3987,6431,4727,6432,2238,6433,6434,4386,3988,6435,6436,3632,6437,6438,2843,6439,6440,6441,6442,3633,6443,2958,6444,6445,3466,6446,2364,4387,3850,6447,4388,2959,3340,6448,3851,6449,4728,6450,6451,3264,4729,6452,3193,6453,4389,4390,2706,3341,4730,6454,3139,6455,3194,6456,3051,2124,3852,1602,4391,4161,3853,1158,3854,4162,3989,4392,3990,4731,4732,4393,2040,4163,4394,3265,6457,2807,3467,3855,6458,6459,6460,3991,3468,4733,4734,6461,3140,2960,6462,4735,6463,6464,6465,6466,4736,4737,4738,4739,6467,6468,4164,2403,3856,6469,6470,2770,2844,6471,4740,6472,6473,6474,6475,6476,6477,6478,3195,6479,4741,4395,6480,2867,6481,4742,2808,6482,2493,4165,6483,6484,6485,6486,2295,4743,6487,6488,6489,3634,6490,6491,6492,6493,6494,6495,6496,2985,4744,6497,6498,4745,6499,6500,2925,3141,4166,6501,6502,4746,6503,6504,4747,6505,6506,6507,2890,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,3469,4167,6520,6521,6522,4748,4396,3741,4397,4749,4398,3342,2125,4750,6523,4751,4752,4753,3052,6524,2961,4168,6525,4754,6526,4755,4399,2926,4169,6527,3857,6528,4400,4170,6529,4171,6530,6531,2595,6532,6533,6534,6535,3635,6536,6537,6538,6539,6540,6541,6542,4756,6543,6544,6545,6546,6547,6548,4401,6549,6550,6551,6552,4402,3405,4757,4403,6553,6554,6555,4172,3742,6556,6557,6558,3992,3636,6559,6560,3053,2726,6561,3549,4173,3054,4404,6562,6563,3993,4405,3266,3550,2809,4406,6564,6565,6566,4758,4759,6567,3743,6568,4760,3744,4761,3470,6569,6570,6571,4407,6572,3745,4174,6573,4175,2810,4176,3196,4762,6574,4177,6575,6576,2494,2891,3551,6577,6578,3471,6579,4408,6580,3015,3197,6581,3343,2532,3994,3858,6582,3094,3406,4409,6583,2892,4178,4763,4410,3016,4411,6584,3995,3142,3017,2683,6585,4179,6586,6587,4764,4412,6588,6589,4413,6590,2986,6591,2962,3552,6592,2963,3472,6593,6594,4180,4765,6595,6596,2225,3267,4414,6597,3407,3637,4766,6598,6599,3198,6600,4415,6601,3859,3199,6602,3473,4767,2811,4416,1856,3268,3200,2575,3996,3997,3201,4417,6603,3095,2927,6604,3143,6605,2268,6606,3998,3860,3096,2771,6607,6608,3638,2495,4768,6609,3861,6610,3269,2745,4769,4181,3553,6611,2845,3270,6612,6613,6614,3862,6615,6616,4770,4771,6617,3474,3999,4418,4419,6618,3639,3344,6619,4772,4182,6620,2126,6621,6622,6623,4420,4773,6624,3018,6625,4774,3554,6626,4183,2025,3746,6627,4184,2707,6628,4421,4422,3097,1775,4185,3555,6629,6630,2868,6631,6632,4423,6633,6634,4424,2414,2533,2928,6635,4186,2387,6636,4775,6637,4187,6638,1891,4425,3202,3203,6639,6640,4776,6641,3345,6642,6643,3640,6644,3475,3346,3641,4e3,6645,3144,6646,3098,2812,4188,3642,3204,6647,3863,3476,6648,3864,6649,4426,4001,6650,6651,6652,2576,6653,4189,4777,6654,6655,6656,2846,6657,3477,3205,4002,6658,4003,6659,3347,2252,6660,6661,6662,4778,6663,6664,6665,6666,6667,6668,6669,4779,4780,2048,6670,3478,3099,6671,3556,3747,4004,6672,6673,6674,3145,4005,3748,6675,6676,6677,6678,6679,3408,6680,6681,6682,6683,3206,3207,6684,6685,4781,4427,6686,4782,4783,4784,6687,6688,6689,4190,6690,6691,3479,6692,2746,6693,4428,6694,6695,6696,6697,6698,6699,4785,6700,6701,3208,2727,6702,3146,6703,6704,3409,2196,6705,4429,6706,6707,6708,2534,1996,6709,6710,6711,2747,6712,6713,6714,4786,3643,6715,4430,4431,6716,3557,6717,4432,4433,6718,6719,6720,6721,3749,6722,4006,4787,6723,6724,3644,4788,4434,6725,6726,4789,2772,6727,6728,6729,6730,6731,2708,3865,2813,4435,6732,6733,4790,4791,3480,6734,6735,6736,6737,4436,3348,6738,3410,4007,6739,6740,4008,6741,6742,4792,3411,4191,6743,6744,6745,6746,6747,3866,6748,3750,6749,6750,6751,6752,6753,6754,6755,3867,6756,4009,6757,4793,4794,6758,2814,2987,6759,6760,6761,4437,6762,6763,6764,6765,3645,6766,6767,3481,4192,6768,3751,6769,6770,2174,6771,3868,3752,6772,6773,6774,4193,4795,4438,3558,4796,4439,6775,4797,6776,6777,4798,6778,4799,3559,4800,6779,6780,6781,3482,6782,2893,6783,6784,4194,4801,4010,6785,6786,4440,6787,4011,6788,6789,6790,6791,6792,6793,4802,6794,6795,6796,4012,6797,6798,6799,6800,3349,4803,3483,6801,4804,4195,6802,4013,6803,6804,4196,6805,4014,4015,6806,2847,3271,2848,6807,3484,6808,6809,6810,4441,6811,4442,4197,4443,3272,4805,6812,3412,4016,1579,6813,6814,4017,6815,3869,6816,2964,6817,4806,6818,6819,4018,3646,6820,6821,4807,4019,4020,6822,6823,3560,6824,6825,4021,4444,6826,4198,6827,6828,4445,6829,6830,4199,4808,6831,6832,6833,3870,3019,2458,6834,3753,3413,3350,6835,4809,3871,4810,3561,4446,6836,6837,4447,4811,4812,6838,2459,4448,6839,4449,6840,6841,4022,3872,6842,4813,4814,6843,6844,4815,4200,4201,4202,6845,4023,6846,6847,4450,3562,3873,6848,6849,4816,4817,6850,4451,4818,2139,6851,3563,6852,6853,3351,6854,6855,3352,4024,2709,3414,4203,4452,6856,4204,6857,6858,3874,3875,6859,6860,4819,6861,6862,6863,6864,4453,3647,6865,6866,4820,6867,6868,6869,6870,4454,6871,2869,6872,6873,4821,6874,3754,6875,4822,4205,6876,6877,6878,3648,4206,4455,6879,4823,6880,4824,3876,6881,3055,4207,6882,3415,6883,6884,6885,4208,4209,6886,4210,3353,6887,3354,3564,3209,3485,2652,6888,2728,6889,3210,3755,6890,4025,4456,6891,4825,6892,6893,6894,6895,4211,6896,6897,6898,4826,6899,6900,4212,6901,4827,6902,2773,3565,6903,4828,6904,6905,6906,6907,3649,3650,6908,2849,3566,6909,3567,3100,6910,6911,6912,6913,6914,6915,4026,6916,3355,4829,3056,4457,3756,6917,3651,6918,4213,3652,2870,6919,4458,6920,2438,6921,6922,3757,2774,4830,6923,3356,4831,4832,6924,4833,4459,3653,2507,6925,4834,2535,6926,6927,3273,4027,3147,6928,3568,6929,6930,6931,4460,6932,3877,4461,2729,3654,6933,6934,6935,6936,2175,4835,2630,4214,4028,4462,4836,4215,6937,3148,4216,4463,4837,4838,4217,6938,6939,2850,4839,6940,4464,6941,6942,6943,4840,6944,4218,3274,4465,6945,6946,2710,6947,4841,4466,6948,6949,2894,6950,6951,4842,6952,4219,3057,2871,6953,6954,6955,6956,4467,6957,2711,6958,6959,6960,3275,3101,4843,6961,3357,3569,6962,4844,6963,6964,4468,4845,3570,6965,3102,4846,3758,6966,4847,3878,4848,4849,4029,6967,2929,3879,4850,4851,6968,6969,1733,6970,4220,6971,6972,6973,6974,6975,6976,4852,6977,6978,6979,6980,6981,6982,3759,6983,6984,6985,3486,3487,6986,3488,3416,6987,6988,6989,6990,6991,6992,6993,6994,6995,6996,6997,4853,6998,6999,4030,7e3,7001,3211,7002,7003,4221,7004,7005,3571,4031,7006,3572,7007,2614,4854,2577,7008,7009,2965,3655,3656,4855,2775,3489,3880,4222,4856,3881,4032,3882,3657,2730,3490,4857,7010,3149,7011,4469,4858,2496,3491,4859,2283,7012,7013,7014,2365,4860,4470,7015,7016,3760,7017,7018,4223,1917,7019,7020,7021,4471,7022,2776,4472,7023,7024,7025,7026,4033,7027,3573,4224,4861,4034,4862,7028,7029,1929,3883,4035,7030,4473,3058,7031,2536,3761,3884,7032,4036,7033,2966,2895,1968,4474,3276,4225,3417,3492,4226,2105,7034,7035,1754,2596,3762,4227,4863,4475,3763,4864,3764,2615,2777,3103,3765,3658,3418,4865,2296,3766,2815,7036,7037,7038,3574,2872,3277,4476,7039,4037,4477,7040,7041,4038,7042,7043,7044,7045,7046,7047,2537,7048,7049,7050,7051,7052,7053,7054,4478,7055,7056,3767,3659,4228,3575,7057,7058,4229,7059,7060,7061,3660,7062,3212,7063,3885,4039,2460,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,4866,3768,4867,7075,7076,7077,7078,4868,3358,3278,2653,7079,7080,4479,3886,7081,7082,4869,7083,7084,7085,7086,7087,7088,2538,7089,7090,7091,4040,3150,3769,4870,4041,2896,3359,4230,2930,7092,3279,7093,2967,4480,3213,4481,3661,7094,7095,7096,7097,7098,7099,7100,7101,7102,2461,3770,7103,7104,4231,3151,7105,7106,7107,4042,3662,7108,7109,4871,3663,4872,4043,3059,7110,7111,7112,3493,2988,7113,4873,7114,7115,7116,3771,4874,7117,7118,4232,4875,7119,3576,2336,4876,7120,4233,3419,4044,4877,4878,4482,4483,4879,4484,4234,7121,3772,4880,1045,3280,3664,4881,4882,7122,7123,7124,7125,4883,7126,2778,7127,4485,4486,7128,4884,3214,3887,7129,7130,3215,7131,4885,4045,7132,7133,4046,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4235,7144,4886,7145,7146,7147,4887,7148,7149,7150,4487,4047,4488,7151,7152,4888,4048,2989,3888,7153,3665,7154,4049,7155,7156,7157,7158,7159,7160,2931,4889,4890,4489,7161,2631,3889,4236,2779,7162,7163,4891,7164,3060,7165,1672,4892,7166,4893,4237,3281,4894,7167,7168,3666,7169,3494,7170,7171,4050,7172,7173,3104,3360,3420,4490,4051,2684,4052,7174,4053,7175,7176,7177,2253,4054,7178,7179,4895,7180,3152,3890,3153,4491,3216,7181,7182,7183,2968,4238,4492,4055,7184,2990,7185,2479,7186,7187,4493,7188,7189,7190,7191,7192,4896,7193,4897,2969,4494,4898,7194,3495,7195,7196,4899,4495,7197,3105,2731,7198,4900,7199,7200,7201,4056,7202,3361,7203,7204,4496,4901,4902,7205,4497,7206,7207,2315,4903,7208,4904,7209,4905,2851,7210,7211,3577,7212,3578,4906,7213,4057,3667,4907,7214,4058,2354,3891,2376,3217,3773,7215,7216,7217,7218,7219,4498,7220,4908,3282,2685,7221,3496,4909,2632,3154,4910,7222,2337,7223,4911,7224,7225,7226,4912,4913,3283,4239,4499,7227,2816,7228,7229,7230,7231,7232,7233,7234,4914,4500,4501,7235,7236,7237,2686,7238,4915,7239,2897,4502,7240,4503,7241,2516,7242,4504,3362,3218,7243,7244,7245,4916,7246,7247,4505,3363,7248,7249,7250,7251,3774,4506,7252,7253,4917,7254,7255,3284,2991,4918,4919,3219,3892,4920,3106,3497,4921,7256,7257,7258,4922,7259,4923,3364,4507,4508,4059,7260,4240,3498,7261,7262,4924,7263,2992,3893,4060,3220,7264,7265,7266,7267,7268,7269,4509,3775,7270,2817,7271,4061,4925,4510,3776,7272,4241,4511,3285,7273,7274,3499,7275,7276,7277,4062,4512,4926,7278,3107,3894,7279,7280,4927,7281,4513,7282,7283,3668,7284,7285,4242,4514,4243,7286,2058,4515,4928,4929,4516,7287,3286,4244,7288,4517,7289,7290,7291,3669,7292,7293,4930,4931,4932,2355,4933,7294,2633,4518,7295,4245,7296,7297,4519,7298,7299,4520,4521,4934,7300,4246,4522,7301,7302,7303,3579,7304,4247,4935,7305,4936,7306,7307,7308,7309,3777,7310,4523,7311,7312,7313,4248,3580,7314,4524,3778,4249,7315,3581,7316,3287,7317,3221,7318,4937,7319,7320,7321,7322,7323,7324,4938,4939,7325,4525,7326,7327,7328,4063,7329,7330,4940,7331,7332,4941,7333,4526,7334,3500,2780,1741,4942,2026,1742,7335,7336,3582,4527,2388,7337,7338,7339,4528,7340,4250,4943,7341,7342,7343,4944,7344,7345,7346,3020,7347,4945,7348,7349,7350,7351,3895,7352,3896,4064,3897,7353,7354,7355,4251,7356,7357,3898,7358,3779,7359,3780,3288,7360,7361,4529,7362,4946,4530,2027,7363,3899,4531,4947,3222,3583,7364,4948,7365,7366,7367,7368,4949,3501,4950,3781,4951,4532,7369,2517,4952,4252,4953,3155,7370,4954,4955,4253,2518,4533,7371,7372,2712,4254,7373,7374,7375,3670,4956,3671,7376,2389,3502,4065,7377,2338,7378,7379,7380,7381,3061,7382,4957,7383,7384,7385,7386,4958,4534,7387,7388,2993,7389,3062,7390,4959,7391,7392,7393,4960,3108,4961,7394,4535,7395,4962,3421,4536,7396,4963,7397,4964,1857,7398,4965,7399,7400,2176,3584,4966,7401,7402,3422,4537,3900,3585,7403,3782,7404,2852,7405,7406,7407,4538,3783,2654,3423,4967,4539,7408,3784,3586,2853,4540,4541,7409,3901,7410,3902,7411,7412,3785,3109,2327,3903,7413,7414,2970,4066,2932,7415,7416,7417,3904,3672,3424,7418,4542,4543,4544,7419,4968,7420,7421,4255,7422,7423,7424,7425,7426,4067,7427,3673,3365,4545,7428,3110,2559,3674,7429,7430,3156,7431,7432,3503,7433,3425,4546,7434,3063,2873,7435,3223,4969,4547,4548,2898,4256,4068,7436,4069,3587,3786,2933,3787,4257,4970,4971,3788,7437,4972,3064,7438,4549,7439,7440,7441,7442,7443,4973,3905,7444,2874,7445,7446,7447,7448,3021,7449,4550,3906,3588,4974,7450,7451,3789,3675,7452,2578,7453,4070,7454,7455,7456,4258,3676,7457,4975,7458,4976,4259,3790,3504,2634,4977,3677,4551,4260,7459,7460,7461,7462,3907,4261,4978,7463,7464,7465,7466,4979,4980,7467,7468,2213,4262,7469,7470,7471,3678,4981,7472,2439,7473,4263,3224,3289,7474,3908,2415,4982,7475,4264,7476,4983,2655,7477,7478,2732,4552,2854,2875,7479,7480,4265,7481,4553,4984,7482,7483,4266,7484,3679,3366,3680,2818,2781,2782,3367,3589,4554,3065,7485,4071,2899,7486,7487,3157,2462,4072,4555,4073,4985,4986,3111,4267,2687,3368,4556,4074,3791,4268,7488,3909,2783,7489,2656,1962,3158,4557,4987,1963,3159,3160,7490,3112,4988,4989,3022,4990,4991,3792,2855,7491,7492,2971,4558,7493,7494,4992,7495,7496,7497,7498,4993,7499,3426,4559,4994,7500,3681,4560,4269,4270,3910,7501,4075,4995,4271,7502,7503,4076,7504,4996,7505,3225,4997,4272,4077,2819,3023,7506,7507,2733,4561,7508,4562,7509,3369,3793,7510,3590,2508,7511,7512,4273,3113,2994,2616,7513,7514,7515,7516,7517,7518,2820,3911,4078,2748,7519,7520,4563,4998,7521,7522,7523,7524,4999,4274,7525,4564,3682,2239,4079,4565,7526,7527,7528,7529,5e3,7530,7531,5001,4275,3794,7532,7533,7534,3066,5002,4566,3161,7535,7536,4080,7537,3162,7538,7539,4567,7540,7541,7542,7543,7544,7545,5003,7546,4568,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,5004,7557,7558,7559,5005,7560,3795,7561,4569,7562,7563,7564,2821,3796,4276,4277,4081,7565,2876,7566,5006,7567,7568,2900,7569,3797,3912,7570,7571,7572,4278,7573,7574,7575,5007,7576,7577,5008,7578,7579,4279,2934,7580,7581,5009,7582,4570,7583,4280,7584,7585,7586,4571,4572,3913,7587,4573,3505,7588,5010,7589,7590,7591,7592,3798,4574,7593,7594,5011,7595,4281,7596,7597,7598,4282,5012,7599,7600,5013,3163,7601,5014,7602,3914,7603,7604,2734,4575,4576,4577,7605,7606,7607,7608,7609,3506,5015,4578,7610,4082,7611,2822,2901,2579,3683,3024,4579,3507,7612,4580,7613,3226,3799,5016,7614,7615,7616,7617,7618,7619,7620,2995,3290,7621,4083,7622,5017,7623,7624,7625,7626,7627,4581,3915,7628,3291,7629,5018,7630,7631,7632,7633,4084,7634,7635,3427,3800,7636,7637,4582,7638,5019,4583,5020,7639,3916,7640,3801,5021,4584,4283,7641,7642,3428,3591,2269,7643,2617,7644,4585,3592,7645,4586,2902,7646,7647,3227,5022,7648,4587,7649,4284,7650,7651,7652,4588,2284,7653,5023,7654,7655,7656,4589,5024,3802,7657,7658,5025,3508,4590,7659,7660,7661,1969,5026,7662,7663,3684,1821,2688,7664,2028,2509,4285,7665,2823,1841,7666,2689,3114,7667,3917,4085,2160,5027,5028,2972,7668,5029,7669,7670,7671,3593,4086,7672,4591,4087,5030,3803,7673,7674,7675,7676,7677,7678,7679,4286,2366,4592,4593,3067,2328,7680,7681,4594,3594,3918,2029,4287,7682,5031,3919,3370,4288,4595,2856,7683,3509,7684,7685,5032,5033,7686,7687,3804,2784,7688,7689,7690,7691,3371,7692,7693,2877,5034,7694,7695,3920,4289,4088,7696,7697,7698,5035,7699,5036,4290,5037,5038,5039,7700,7701,7702,5040,5041,3228,7703,1760,7704,5042,3229,4596,2106,4089,7705,4597,2824,5043,2107,3372,7706,4291,4090,5044,7707,4091,7708,5045,3025,3805,4598,4292,4293,4294,3373,7709,4599,7710,5046,7711,7712,5047,5048,3806,7713,7714,7715,5049,7716,7717,7718,7719,4600,5050,7720,7721,7722,5051,7723,4295,3429,7724,7725,7726,7727,3921,7728,3292,5052,4092,7729,7730,7731,7732,7733,7734,7735,5053,5054,7736,7737,7738,7739,3922,3685,7740,7741,7742,7743,2635,5055,7744,5056,4601,7745,7746,2560,7747,7748,7749,7750,3923,7751,7752,7753,7754,7755,4296,2903,7756,7757,7758,7759,7760,3924,7761,5057,4297,7762,7763,5058,4298,7764,4093,7765,7766,5059,3925,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,3595,7777,4299,5060,4094,7778,3293,5061,7779,7780,4300,7781,7782,4602,7783,3596,7784,7785,3430,2367,7786,3164,5062,5063,4301,7787,7788,4095,5064,5065,7789,3374,3115,7790,7791,7792,7793,7794,7795,7796,3597,4603,7797,7798,3686,3116,3807,5066,7799,7800,5067,7801,7802,4604,4302,5068,4303,4096,7803,7804,3294,7805,7806,5069,4605,2690,7807,3026,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,3926,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271]),jr}var Wr={},Xs;function Rx(){return Xs||(Xs=1,Wr.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,Wr.EUCTW_TABLE_SIZE=8102,Wr.EUCTWCharToFreqOrder=[1,1800,1506,255,1431,198,9,82,6,7310,177,202,3615,1256,2808,110,3735,33,3241,261,76,44,2113,16,2931,2184,1176,659,3868,26,3404,2643,1198,3869,3313,4060,410,2211,302,590,361,1963,8,204,58,4296,7311,1931,63,7312,7313,317,1614,75,222,159,4061,2412,1480,7314,3500,3068,224,2809,3616,3,10,3870,1471,29,2774,1135,2852,1939,873,130,3242,1123,312,7315,4297,2051,507,252,682,7316,142,1914,124,206,2932,34,3501,3173,64,604,7317,2494,1976,1977,155,1990,645,641,1606,7318,3405,337,72,406,7319,80,630,238,3174,1509,263,939,1092,2644,756,1440,1094,3406,449,69,2969,591,179,2095,471,115,2034,1843,60,50,2970,134,806,1868,734,2035,3407,180,995,1607,156,537,2893,688,7320,319,1305,779,2144,514,2374,298,4298,359,2495,90,2707,1338,663,11,906,1099,2545,20,2436,182,532,1716,7321,732,1376,4062,1311,1420,3175,25,2312,1056,113,399,382,1949,242,3408,2467,529,3243,475,1447,3617,7322,117,21,656,810,1297,2295,2329,3502,7323,126,4063,706,456,150,613,4299,71,1118,2036,4064,145,3069,85,835,486,2114,1246,1426,428,727,1285,1015,800,106,623,303,1281,7324,2127,2354,347,3736,221,3503,3110,7325,1955,1153,4065,83,296,1199,3070,192,624,93,7326,822,1897,2810,3111,795,2064,991,1554,1542,1592,27,43,2853,859,139,1456,860,4300,437,712,3871,164,2392,3112,695,211,3017,2096,195,3872,1608,3504,3505,3618,3873,234,811,2971,2097,3874,2229,1441,3506,1615,2375,668,2076,1638,305,228,1664,4301,467,415,7327,262,2098,1593,239,108,300,200,1033,512,1247,2077,7328,7329,2173,3176,3619,2673,593,845,1062,3244,88,1723,2037,3875,1950,212,266,152,149,468,1898,4066,4302,77,187,7330,3018,37,5,2972,7331,3876,7332,7333,39,2517,4303,2894,3177,2078,55,148,74,4304,545,483,1474,1029,1665,217,1869,1531,3113,1104,2645,4067,24,172,3507,900,3877,3508,3509,4305,32,1408,2811,1312,329,487,2355,2247,2708,784,2674,4,3019,3314,1427,1788,188,109,499,7334,3620,1717,1789,888,1217,3020,4306,7335,3510,7336,3315,1520,3621,3878,196,1034,775,7337,7338,929,1815,249,439,38,7339,1063,7340,794,3879,1435,2296,46,178,3245,2065,7341,2376,7342,214,1709,4307,804,35,707,324,3622,1601,2546,140,459,4068,7343,7344,1365,839,272,978,2257,2572,3409,2128,1363,3623,1423,697,100,3071,48,70,1231,495,3114,2193,7345,1294,7346,2079,462,586,1042,3246,853,256,988,185,2377,3410,1698,434,1084,7347,3411,314,2615,2775,4308,2330,2331,569,2280,637,1816,2518,757,1162,1878,1616,3412,287,1577,2115,768,4309,1671,2854,3511,2519,1321,3737,909,2413,7348,4069,933,3738,7349,2052,2356,1222,4310,765,2414,1322,786,4311,7350,1919,1462,1677,2895,1699,7351,4312,1424,2437,3115,3624,2590,3316,1774,1940,3413,3880,4070,309,1369,1130,2812,364,2230,1653,1299,3881,3512,3882,3883,2646,525,1085,3021,902,2e3,1475,964,4313,421,1844,1415,1057,2281,940,1364,3116,376,4314,4315,1381,7,2520,983,2378,336,1710,2675,1845,321,3414,559,1131,3022,2742,1808,1132,1313,265,1481,1857,7352,352,1203,2813,3247,167,1089,420,2814,776,792,1724,3513,4071,2438,3248,7353,4072,7354,446,229,333,2743,901,3739,1200,1557,4316,2647,1920,395,2744,2676,3740,4073,1835,125,916,3178,2616,4317,7355,7356,3741,7357,7358,7359,4318,3117,3625,1133,2547,1757,3415,1510,2313,1409,3514,7360,2145,438,2591,2896,2379,3317,1068,958,3023,461,311,2855,2677,4074,1915,3179,4075,1978,383,750,2745,2617,4076,274,539,385,1278,1442,7361,1154,1964,384,561,210,98,1295,2548,3515,7362,1711,2415,1482,3416,3884,2897,1257,129,7363,3742,642,523,2776,2777,2648,7364,141,2231,1333,68,176,441,876,907,4077,603,2592,710,171,3417,404,549,18,3118,2393,1410,3626,1666,7365,3516,4319,2898,4320,7366,2973,368,7367,146,366,99,871,3627,1543,748,807,1586,1185,22,2258,379,3743,3180,7368,3181,505,1941,2618,1991,1382,2314,7369,380,2357,218,702,1817,1248,3418,3024,3517,3318,3249,7370,2974,3628,930,3250,3744,7371,59,7372,585,601,4078,497,3419,1112,1314,4321,1801,7373,1223,1472,2174,7374,749,1836,690,1899,3745,1772,3885,1476,429,1043,1790,2232,2116,917,4079,447,1086,1629,7375,556,7376,7377,2020,1654,844,1090,105,550,966,1758,2815,1008,1782,686,1095,7378,2282,793,1602,7379,3518,2593,4322,4080,2933,2297,4323,3746,980,2496,544,353,527,4324,908,2678,2899,7380,381,2619,1942,1348,7381,1341,1252,560,3072,7382,3420,2856,7383,2053,973,886,2080,143,4325,7384,7385,157,3886,496,4081,57,840,540,2038,4326,4327,3421,2117,1445,970,2259,1748,1965,2081,4082,3119,1234,1775,3251,2816,3629,773,1206,2129,1066,2039,1326,3887,1738,1725,4083,279,3120,51,1544,2594,423,1578,2130,2066,173,4328,1879,7386,7387,1583,264,610,3630,4329,2439,280,154,7388,7389,7390,1739,338,1282,3073,693,2857,1411,1074,3747,2440,7391,4330,7392,7393,1240,952,2394,7394,2900,1538,2679,685,1483,4084,2468,1436,953,4085,2054,4331,671,2395,79,4086,2441,3252,608,567,2680,3422,4087,4088,1691,393,1261,1791,2396,7395,4332,7396,7397,7398,7399,1383,1672,3748,3182,1464,522,1119,661,1150,216,675,4333,3888,1432,3519,609,4334,2681,2397,7400,7401,7402,4089,3025,0,7403,2469,315,231,2442,301,3319,4335,2380,7404,233,4090,3631,1818,4336,4337,7405,96,1776,1315,2082,7406,257,7407,1809,3632,2709,1139,1819,4091,2021,1124,2163,2778,1777,2649,7408,3074,363,1655,3183,7409,2975,7410,7411,7412,3889,1567,3890,718,103,3184,849,1443,341,3320,2934,1484,7413,1712,127,67,339,4092,2398,679,1412,821,7414,7415,834,738,351,2976,2146,846,235,1497,1880,418,1992,3749,2710,186,1100,2147,2746,3520,1545,1355,2935,2858,1377,583,3891,4093,2573,2977,7416,1298,3633,1078,2549,3634,2358,78,3750,3751,267,1289,2099,2001,1594,4094,348,369,1274,2194,2175,1837,4338,1820,2817,3635,2747,2283,2002,4339,2936,2748,144,3321,882,4340,3892,2749,3423,4341,2901,7417,4095,1726,320,7418,3893,3026,788,2978,7419,2818,1773,1327,2859,3894,2819,7420,1306,4342,2003,1700,3752,3521,2359,2650,787,2022,506,824,3636,534,323,4343,1044,3322,2023,1900,946,3424,7421,1778,1500,1678,7422,1881,4344,165,243,4345,3637,2521,123,683,4096,764,4346,36,3895,1792,589,2902,816,626,1667,3027,2233,1639,1555,1622,3753,3896,7423,3897,2860,1370,1228,1932,891,2083,2903,304,4097,7424,292,2979,2711,3522,691,2100,4098,1115,4347,118,662,7425,611,1156,854,2381,1316,2861,2,386,515,2904,7426,7427,3253,868,2234,1486,855,2651,785,2212,3028,7428,1040,3185,3523,7429,3121,448,7430,1525,7431,2164,4348,7432,3754,7433,4099,2820,3524,3122,503,818,3898,3123,1568,814,676,1444,306,1749,7434,3755,1416,1030,197,1428,805,2821,1501,4349,7435,7436,7437,1993,7438,4350,7439,7440,2195,13,2779,3638,2980,3124,1229,1916,7441,3756,2131,7442,4100,4351,2399,3525,7443,2213,1511,1727,1120,7444,7445,646,3757,2443,307,7446,7447,1595,3186,7448,7449,7450,3639,1113,1356,3899,1465,2522,2523,7451,519,7452,128,2132,92,2284,1979,7453,3900,1512,342,3125,2196,7454,2780,2214,1980,3323,7455,290,1656,1317,789,827,2360,7456,3758,4352,562,581,3901,7457,401,4353,2248,94,4354,1399,2781,7458,1463,2024,4355,3187,1943,7459,828,1105,4101,1262,1394,7460,4102,605,4356,7461,1783,2862,7462,2822,819,2101,578,2197,2937,7463,1502,436,3254,4103,3255,2823,3902,2905,3425,3426,7464,2712,2315,7465,7466,2332,2067,23,4357,193,826,3759,2102,699,1630,4104,3075,390,1793,1064,3526,7467,1579,3076,3077,1400,7468,4105,1838,1640,2863,7469,4358,4359,137,4106,598,3078,1966,780,104,974,2938,7470,278,899,253,402,572,504,493,1339,7471,3903,1275,4360,2574,2550,7472,3640,3029,3079,2249,565,1334,2713,863,41,7473,7474,4361,7475,1657,2333,19,463,2750,4107,606,7476,2981,3256,1087,2084,1323,2652,2982,7477,1631,1623,1750,4108,2682,7478,2864,791,2714,2653,2334,232,2416,7479,2983,1498,7480,2654,2620,755,1366,3641,3257,3126,2025,1609,119,1917,3427,862,1026,4109,7481,3904,3760,4362,3905,4363,2260,1951,2470,7482,1125,817,4110,4111,3906,1513,1766,2040,1487,4112,3030,3258,2824,3761,3127,7483,7484,1507,7485,2683,733,40,1632,1106,2865,345,4113,841,2524,230,4364,2984,1846,3259,3428,7486,1263,986,3429,7487,735,879,254,1137,857,622,1300,1180,1388,1562,3907,3908,2939,967,2751,2655,1349,592,2133,1692,3324,2985,1994,4114,1679,3909,1901,2185,7488,739,3642,2715,1296,1290,7489,4115,2198,2199,1921,1563,2595,2551,1870,2752,2986,7490,435,7491,343,1108,596,17,1751,4365,2235,3430,3643,7492,4366,294,3527,2940,1693,477,979,281,2041,3528,643,2042,3644,2621,2782,2261,1031,2335,2134,2298,3529,4367,367,1249,2552,7493,3530,7494,4368,1283,3325,2004,240,1762,3326,4369,4370,836,1069,3128,474,7495,2148,2525,268,3531,7496,3188,1521,1284,7497,1658,1546,4116,7498,3532,3533,7499,4117,3327,2684,1685,4118,961,1673,2622,190,2005,2200,3762,4371,4372,7500,570,2497,3645,1490,7501,4373,2623,3260,1956,4374,584,1514,396,1045,1944,7502,4375,1967,2444,7503,7504,4376,3910,619,7505,3129,3261,215,2006,2783,2553,3189,4377,3190,4378,763,4119,3763,4379,7506,7507,1957,1767,2941,3328,3646,1174,452,1477,4380,3329,3130,7508,2825,1253,2382,2186,1091,2285,4120,492,7509,638,1169,1824,2135,1752,3911,648,926,1021,1324,4381,520,4382,997,847,1007,892,4383,3764,2262,1871,3647,7510,2400,1784,4384,1952,2942,3080,3191,1728,4121,2043,3648,4385,2007,1701,3131,1551,30,2263,4122,7511,2026,4386,3534,7512,501,7513,4123,594,3431,2165,1821,3535,3432,3536,3192,829,2826,4124,7514,1680,3132,1225,4125,7515,3262,4387,4126,3133,2336,7516,4388,4127,7517,3912,3913,7518,1847,2383,2596,3330,7519,4389,374,3914,652,4128,4129,375,1140,798,7520,7521,7522,2361,4390,2264,546,1659,138,3031,2445,4391,7523,2250,612,1848,910,796,3765,1740,1371,825,3766,3767,7524,2906,2554,7525,692,444,3032,2624,801,4392,4130,7526,1491,244,1053,3033,4131,4132,340,7527,3915,1041,2987,293,1168,87,1357,7528,1539,959,7529,2236,721,694,4133,3768,219,1478,644,1417,3331,2656,1413,1401,1335,1389,3916,7530,7531,2988,2362,3134,1825,730,1515,184,2827,66,4393,7532,1660,2943,246,3332,378,1457,226,3433,975,3917,2944,1264,3537,674,696,7533,163,7534,1141,2417,2166,713,3538,3333,4394,3918,7535,7536,1186,15,7537,1079,1070,7538,1522,3193,3539,276,1050,2716,758,1126,653,2945,3263,7539,2337,889,3540,3919,3081,2989,903,1250,4395,3920,3434,3541,1342,1681,1718,766,3264,286,89,2946,3649,7540,1713,7541,2597,3334,2990,7542,2947,2215,3194,2866,7543,4396,2498,2526,181,387,1075,3921,731,2187,3335,7544,3265,310,313,3435,2299,770,4134,54,3034,189,4397,3082,3769,3922,7545,1230,1617,1849,355,3542,4135,4398,3336,111,4136,3650,1350,3135,3436,3035,4137,2149,3266,3543,7546,2784,3923,3924,2991,722,2008,7547,1071,247,1207,2338,2471,1378,4399,2009,864,1437,1214,4400,373,3770,1142,2216,667,4401,442,2753,2555,3771,3925,1968,4138,3267,1839,837,170,1107,934,1336,1882,7548,7549,2118,4139,2828,743,1569,7550,4402,4140,582,2384,1418,3437,7551,1802,7552,357,1395,1729,3651,3268,2418,1564,2237,7553,3083,3772,1633,4403,1114,2085,4141,1532,7554,482,2446,4404,7555,7556,1492,833,1466,7557,2717,3544,1641,2829,7558,1526,1272,3652,4142,1686,1794,416,2556,1902,1953,1803,7559,3773,2785,3774,1159,2316,7560,2867,4405,1610,1584,3036,2419,2754,443,3269,1163,3136,7561,7562,3926,7563,4143,2499,3037,4406,3927,3137,2103,1647,3545,2010,1872,4144,7564,4145,431,3438,7565,250,97,81,4146,7566,1648,1850,1558,160,848,7567,866,740,1694,7568,2201,2830,3195,4147,4407,3653,1687,950,2472,426,469,3196,3654,3655,3928,7569,7570,1188,424,1995,861,3546,4148,3775,2202,2685,168,1235,3547,4149,7571,2086,1674,4408,3337,3270,220,2557,1009,7572,3776,670,2992,332,1208,717,7573,7574,3548,2447,3929,3338,7575,513,7576,1209,2868,3339,3138,4409,1080,7577,7578,7579,7580,2527,3656,3549,815,1587,3930,3931,7581,3550,3439,3777,1254,4410,1328,3038,1390,3932,1741,3933,3778,3934,7582,236,3779,2448,3271,7583,7584,3657,3780,1273,3781,4411,7585,308,7586,4412,245,4413,1851,2473,1307,2575,430,715,2136,2449,7587,270,199,2869,3935,7588,3551,2718,1753,761,1754,725,1661,1840,4414,3440,3658,7589,7590,587,14,3272,227,2598,326,480,2265,943,2755,3552,291,650,1883,7591,1702,1226,102,1547,62,3441,904,4415,3442,1164,4150,7592,7593,1224,1548,2756,391,498,1493,7594,1386,1419,7595,2055,1177,4416,813,880,1081,2363,566,1145,4417,2286,1001,1035,2558,2599,2238,394,1286,7596,7597,2068,7598,86,1494,1730,3936,491,1588,745,897,2948,843,3340,3937,2757,2870,3273,1768,998,2217,2069,397,1826,1195,1969,3659,2993,3341,284,7599,3782,2500,2137,2119,1903,7600,3938,2150,3939,4151,1036,3443,1904,114,2559,4152,209,1527,7601,7602,2949,2831,2625,2385,2719,3139,812,2560,7603,3274,7604,1559,737,1884,3660,1210,885,28,2686,3553,3783,7605,4153,1004,1779,4418,7606,346,1981,2218,2687,4419,3784,1742,797,1642,3940,1933,1072,1384,2151,896,3941,3275,3661,3197,2871,3554,7607,2561,1958,4420,2450,1785,7608,7609,7610,3942,4154,1005,1308,3662,4155,2720,4421,4422,1528,2600,161,1178,4156,1982,987,4423,1101,4157,631,3943,1157,3198,2420,1343,1241,1016,2239,2562,372,877,2339,2501,1160,555,1934,911,3944,7611,466,1170,169,1051,2907,2688,3663,2474,2994,1182,2011,2563,1251,2626,7612,992,2340,3444,1540,2721,1201,2070,2401,1996,2475,7613,4424,528,1922,2188,1503,1873,1570,2364,3342,3276,7614,557,1073,7615,1827,3445,2087,2266,3140,3039,3084,767,3085,2786,4425,1006,4158,4426,2341,1267,2176,3664,3199,778,3945,3200,2722,1597,2657,7616,4427,7617,3446,7618,7619,7620,3277,2689,1433,3278,131,95,1504,3946,723,4159,3141,1841,3555,2758,2189,3947,2027,2104,3665,7621,2995,3948,1218,7622,3343,3201,3949,4160,2576,248,1634,3785,912,7623,2832,3666,3040,3786,654,53,7624,2996,7625,1688,4428,777,3447,1032,3950,1425,7626,191,820,2120,2833,971,4429,931,3202,135,664,783,3787,1997,772,2908,1935,3951,3788,4430,2909,3203,282,2723,640,1372,3448,1127,922,325,3344,7627,7628,711,2044,7629,7630,3952,2219,2787,1936,3953,3345,2220,2251,3789,2300,7631,4431,3790,1258,3279,3954,3204,2138,2950,3955,3956,7632,2221,258,3205,4432,101,1227,7633,3280,1755,7634,1391,3281,7635,2910,2056,893,7636,7637,7638,1402,4161,2342,7639,7640,3206,3556,7641,7642,878,1325,1780,2788,4433,259,1385,2577,744,1183,2267,4434,7643,3957,2502,7644,684,1024,4162,7645,472,3557,3449,1165,3282,3958,3959,322,2152,881,455,1695,1152,1340,660,554,2153,4435,1058,4436,4163,830,1065,3346,3960,4437,1923,7646,1703,1918,7647,932,2268,122,7648,4438,947,677,7649,3791,2627,297,1905,1924,2269,4439,2317,3283,7650,7651,4164,7652,4165,84,4166,112,989,7653,547,1059,3961,701,3558,1019,7654,4167,7655,3450,942,639,457,2301,2451,993,2951,407,851,494,4440,3347,927,7656,1237,7657,2421,3348,573,4168,680,921,2911,1279,1874,285,790,1448,1983,719,2167,7658,7659,4441,3962,3963,1649,7660,1541,563,7661,1077,7662,3349,3041,3451,511,2997,3964,3965,3667,3966,1268,2564,3350,3207,4442,4443,7663,535,1048,1276,1189,2912,2028,3142,1438,1373,2834,2952,1134,2012,7664,4169,1238,2578,3086,1259,7665,700,7666,2953,3143,3668,4170,7667,4171,1146,1875,1906,4444,2601,3967,781,2422,132,1589,203,147,273,2789,2402,898,1786,2154,3968,3969,7668,3792,2790,7669,7670,4445,4446,7671,3208,7672,1635,3793,965,7673,1804,2690,1516,3559,1121,1082,1329,3284,3970,1449,3794,65,1128,2835,2913,2759,1590,3795,7674,7675,12,2658,45,976,2579,3144,4447,517,2528,1013,1037,3209,7676,3796,2836,7677,3797,7678,3452,7679,2602,614,1998,2318,3798,3087,2724,2628,7680,2580,4172,599,1269,7681,1810,3669,7682,2691,3088,759,1060,489,1805,3351,3285,1358,7683,7684,2386,1387,1215,2629,2252,490,7685,7686,4173,1759,2387,2343,7687,4448,3799,1907,3971,2630,1806,3210,4449,3453,3286,2760,2344,874,7688,7689,3454,3670,1858,91,2914,3671,3042,3800,4450,7690,3145,3972,2659,7691,3455,1202,1403,3801,2954,2529,1517,2503,4451,3456,2504,7692,4452,7693,2692,1885,1495,1731,3973,2365,4453,7694,2029,7695,7696,3974,2693,1216,237,2581,4174,2319,3975,3802,4454,4455,2694,3560,3457,445,4456,7697,7698,7699,7700,2761,61,3976,3672,1822,3977,7701,687,2045,935,925,405,2660,703,1096,1859,2725,4457,3978,1876,1367,2695,3352,918,2105,1781,2476,334,3287,1611,1093,4458,564,3146,3458,3673,3353,945,2631,2057,4459,7702,1925,872,4175,7703,3459,2696,3089,349,4176,3674,3979,4460,3803,4177,3675,2155,3980,4461,4462,4178,4463,2403,2046,782,3981,400,251,4179,1624,7704,7705,277,3676,299,1265,476,1191,3804,2121,4180,4181,1109,205,7706,2582,1e3,2156,3561,1860,7707,7708,7709,4464,7710,4465,2565,107,2477,2157,3982,3460,3147,7711,1533,541,1301,158,753,4182,2872,3562,7712,1696,370,1088,4183,4466,3563,579,327,440,162,2240,269,1937,1374,3461,968,3043,56,1396,3090,2106,3288,3354,7713,1926,2158,4467,2998,7714,3564,7715,7716,3677,4468,2478,7717,2791,7718,1650,4469,7719,2603,7720,7721,3983,2661,3355,1149,3356,3984,3805,3985,7722,1076,49,7723,951,3211,3289,3290,450,2837,920,7724,1811,2792,2366,4184,1908,1138,2367,3806,3462,7725,3212,4470,1909,1147,1518,2423,4471,3807,7726,4472,2388,2604,260,1795,3213,7727,7728,3808,3291,708,7729,3565,1704,7730,3566,1351,1618,3357,2999,1886,944,4185,3358,4186,3044,3359,4187,7731,3678,422,413,1714,3292,500,2058,2345,4188,2479,7732,1344,1910,954,7733,1668,7734,7735,3986,2404,4189,3567,3809,4190,7736,2302,1318,2505,3091,133,3092,2873,4473,629,31,2838,2697,3810,4474,850,949,4475,3987,2955,1732,2088,4191,1496,1852,7737,3988,620,3214,981,1242,3679,3360,1619,3680,1643,3293,2139,2452,1970,1719,3463,2168,7738,3215,7739,7740,3361,1828,7741,1277,4476,1565,2047,7742,1636,3568,3093,7743,869,2839,655,3811,3812,3094,3989,3e3,3813,1310,3569,4477,7744,7745,7746,1733,558,4478,3681,335,1549,3045,1756,4192,3682,1945,3464,1829,1291,1192,470,2726,2107,2793,913,1054,3990,7747,1027,7748,3046,3991,4479,982,2662,3362,3148,3465,3216,3217,1946,2794,7749,571,4480,7750,1830,7751,3570,2583,1523,2424,7752,2089,984,4481,3683,1959,7753,3684,852,923,2795,3466,3685,969,1519,999,2048,2320,1705,7754,3095,615,1662,151,597,3992,2405,2321,1049,275,4482,3686,4193,568,3687,3571,2480,4194,3688,7755,2425,2270,409,3218,7756,1566,2874,3467,1002,769,2840,194,2090,3149,3689,2222,3294,4195,628,1505,7757,7758,1763,2177,3001,3993,521,1161,2584,1787,2203,2406,4483,3994,1625,4196,4197,412,42,3096,464,7759,2632,4484,3363,1760,1571,2875,3468,2530,1219,2204,3814,2633,2140,2368,4485,4486,3295,1651,3364,3572,7760,7761,3573,2481,3469,7762,3690,7763,7764,2271,2091,460,7765,4487,7766,3002,962,588,3574,289,3219,2634,1116,52,7767,3047,1796,7768,7769,7770,1467,7771,1598,1143,3691,4198,1984,1734,1067,4488,1280,3365,465,4489,1572,510,7772,1927,2241,1812,1644,3575,7773,4490,3692,7774,7775,2663,1573,1534,7776,7777,4199,536,1807,1761,3470,3815,3150,2635,7778,7779,7780,4491,3471,2915,1911,2796,7781,3296,1122,377,3220,7782,360,7783,7784,4200,1529,551,7785,2059,3693,1769,2426,7786,2916,4201,3297,3097,2322,2108,2030,4492,1404,136,1468,1479,672,1171,3221,2303,271,3151,7787,2762,7788,2049,678,2727,865,1947,4493,7789,2013,3995,2956,7790,2728,2223,1397,3048,3694,4494,4495,1735,2917,3366,3576,7791,3816,509,2841,2453,2876,3817,7792,7793,3152,3153,4496,4202,2531,4497,2304,1166,1010,552,681,1887,7794,7795,2957,2958,3996,1287,1596,1861,3154,358,453,736,175,478,1117,905,1167,1097,7796,1853,1530,7797,1706,7798,2178,3472,2287,3695,3473,3577,4203,2092,4204,7799,3367,1193,2482,4205,1458,2190,2205,1862,1888,1421,3298,2918,3049,2179,3474,595,2122,7800,3997,7801,7802,4206,1707,2636,223,3696,1359,751,3098,183,3475,7803,2797,3003,419,2369,633,704,3818,2389,241,7804,7805,7806,838,3004,3697,2272,2763,2454,3819,1938,2050,3998,1309,3099,2242,1181,7807,1136,2206,3820,2370,1446,4207,2305,4498,7808,7809,4208,1055,2605,484,3698,7810,3999,625,4209,2273,3368,1499,4210,4e3,7811,4001,4211,3222,2274,2275,3476,7812,7813,2764,808,2606,3699,3369,4002,4212,3100,2532,526,3370,3821,4213,955,7814,1620,4214,2637,2427,7815,1429,3700,1669,1831,994,928,7816,3578,1260,7817,7818,7819,1948,2288,741,2919,1626,4215,2729,2455,867,1184,362,3371,1392,7820,7821,4003,4216,1770,1736,3223,2920,4499,4500,1928,2698,1459,1158,7822,3050,3372,2877,1292,1929,2506,2842,3701,1985,1187,2071,2014,2607,4217,7823,2566,2507,2169,3702,2483,3299,7824,3703,4501,7825,7826,666,1003,3005,1022,3579,4218,7827,4502,1813,2253,574,3822,1603,295,1535,705,3823,4219,283,858,417,7828,7829,3224,4503,4504,3051,1220,1889,1046,2276,2456,4004,1393,1599,689,2567,388,4220,7830,2484,802,7831,2798,3824,2060,1405,2254,7832,4505,3825,2109,1052,1345,3225,1585,7833,809,7834,7835,7836,575,2730,3477,956,1552,1469,1144,2323,7837,2324,1560,2457,3580,3226,4005,616,2207,3155,2180,2289,7838,1832,7839,3478,4506,7840,1319,3704,3705,1211,3581,1023,3227,1293,2799,7841,7842,7843,3826,607,2306,3827,762,2878,1439,4221,1360,7844,1485,3052,7845,4507,1038,4222,1450,2061,2638,4223,1379,4508,2585,7846,7847,4224,1352,1414,2325,2921,1172,7848,7849,3828,3829,7850,1797,1451,7851,7852,7853,7854,2922,4006,4007,2485,2346,411,4008,4009,3582,3300,3101,4509,1561,2664,1452,4010,1375,7855,7856,47,2959,316,7857,1406,1591,2923,3156,7858,1025,2141,3102,3157,354,2731,884,2224,4225,2407,508,3706,726,3583,996,2428,3584,729,7859,392,2191,1453,4011,4510,3707,7860,7861,2458,3585,2608,1675,2800,919,2347,2960,2348,1270,4511,4012,73,7862,7863,647,7864,3228,2843,2255,1550,1346,3006,7865,1332,883,3479,7866,7867,7868,7869,3301,2765,7870,1212,831,1347,4226,4512,2326,3830,1863,3053,720,3831,4513,4514,3832,7871,4227,7872,7873,4515,7874,7875,1798,4516,3708,2609,4517,3586,1645,2371,7876,7877,2924,669,2208,2665,2429,7878,2879,7879,7880,1028,3229,7881,4228,2408,7882,2256,1353,7883,7884,4518,3158,518,7885,4013,7886,4229,1960,7887,2142,4230,7888,7889,3007,2349,2350,3833,516,1833,1454,4014,2699,4231,4519,2225,2610,1971,1129,3587,7890,2766,7891,2961,1422,577,1470,3008,1524,3373,7892,7893,432,4232,3054,3480,7894,2586,1455,2508,2226,1972,1175,7895,1020,2732,4015,3481,4520,7896,2733,7897,1743,1361,3055,3482,2639,4016,4233,4521,2290,895,924,4234,2170,331,2243,3056,166,1627,3057,1098,7898,1232,2880,2227,3374,4522,657,403,1196,2372,542,3709,3375,1600,4235,3483,7899,4523,2767,3230,576,530,1362,7900,4524,2533,2666,3710,4017,7901,842,3834,7902,2801,2031,1014,4018,213,2700,3376,665,621,4236,7903,3711,2925,2430,7904,2431,3302,3588,3377,7905,4237,2534,4238,4525,3589,1682,4239,3484,1380,7906,724,2277,600,1670,7907,1337,1233,4526,3103,2244,7908,1621,4527,7909,651,4240,7910,1612,4241,2611,7911,2844,7912,2734,2307,3058,7913,716,2459,3059,174,1255,2701,4019,3590,548,1320,1398,728,4020,1574,7914,1890,1197,3060,4021,7915,3061,3062,3712,3591,3713,747,7916,635,4242,4528,7917,7918,7919,4243,7920,7921,4529,7922,3378,4530,2432,451,7923,3714,2535,2072,4244,2735,4245,4022,7924,1764,4531,7925,4246,350,7926,2278,2390,2486,7927,4247,4023,2245,1434,4024,488,4532,458,4248,4025,3715,771,1330,2391,3835,2568,3159,2159,2409,1553,2667,3160,4249,7928,2487,2881,2612,1720,2702,4250,3379,4533,7929,2536,4251,7930,3231,4252,2768,7931,2015,2736,7932,1155,1017,3716,3836,7933,3303,2308,201,1864,4253,1430,7934,4026,7935,7936,7937,7938,7939,4254,1604,7940,414,1865,371,2587,4534,4535,3485,2016,3104,4536,1708,960,4255,887,389,2171,1536,1663,1721,7941,2228,4027,2351,2926,1580,7942,7943,7944,1744,7945,2537,4537,4538,7946,4539,7947,2073,7948,7949,3592,3380,2882,4256,7950,4257,2640,3381,2802,673,2703,2460,709,3486,4028,3593,4258,7951,1148,502,634,7952,7953,1204,4540,3594,1575,4541,2613,3717,7954,3718,3105,948,3232,121,1745,3837,1110,7955,4259,3063,2509,3009,4029,3719,1151,1771,3838,1488,4030,1986,7956,2433,3487,7957,7958,2093,7959,4260,3839,1213,1407,2803,531,2737,2538,3233,1011,1537,7960,2769,4261,3106,1061,7961,3720,3721,1866,2883,7962,2017,120,4262,4263,2062,3595,3234,2309,3840,2668,3382,1954,4542,7963,7964,3488,1047,2704,1266,7965,1368,4543,2845,649,3383,3841,2539,2738,1102,2846,2669,7966,7967,1999,7968,1111,3596,2962,7969,2488,3842,3597,2804,1854,3384,3722,7970,7971,3385,2410,2884,3304,3235,3598,7972,2569,7973,3599,2805,4031,1460,856,7974,3600,7975,2885,2963,7976,2886,3843,7977,4264,632,2510,875,3844,1697,3845,2291,7978,7979,4544,3010,1239,580,4545,4265,7980,914,936,2074,1190,4032,1039,2123,7981,7982,7983,3386,1473,7984,1354,4266,3846,7985,2172,3064,4033,915,3305,4267,4268,3306,1605,1834,7986,2739,398,3601,4269,3847,4034,328,1912,2847,4035,3848,1331,4270,3011,937,4271,7987,3602,4036,4037,3387,2160,4546,3388,524,742,538,3065,1012,7988,7989,3849,2461,7990,658,1103,225,3850,7991,7992,4547,7993,4548,7994,3236,1243,7995,4038,963,2246,4549,7996,2705,3603,3161,7997,7998,2588,2327,7999,4550,8e3,8001,8002,3489,3307,957,3389,2540,2032,1930,2927,2462,870,2018,3604,1746,2770,2771,2434,2463,8003,3851,8004,3723,3107,3724,3490,3390,3725,8005,1179,3066,8006,3162,2373,4272,3726,2541,3163,3108,2740,4039,8007,3391,1556,2542,2292,977,2887,2033,4040,1205,3392,8008,1765,3393,3164,2124,1271,1689,714,4551,3491,8009,2328,3852,533,4273,3605,2181,617,8010,2464,3308,3492,2310,8011,8012,3165,8013,8014,3853,1987,618,427,2641,3493,3394,8015,8016,1244,1690,8017,2806,4274,4552,8018,3494,8019,8020,2279,1576,473,3606,4275,3395,972,8021,3607,8022,3067,8023,8024,4553,4554,8025,3727,4041,4042,8026,153,4555,356,8027,1891,2888,4276,2143,408,803,2352,8028,3854,8029,4277,1646,2570,2511,4556,4557,3855,8030,3856,4278,8031,2411,3396,752,8032,8033,1961,2964,8034,746,3012,2465,8035,4279,3728,698,4558,1892,4280,3608,2543,4559,3609,3857,8036,3166,3397,8037,1823,1302,4043,2706,3858,1973,4281,8038,4282,3167,823,1303,1288,1236,2848,3495,4044,3398,774,3859,8039,1581,4560,1304,2849,3860,4561,8040,2435,2161,1083,3237,4283,4045,4284,344,1173,288,2311,454,1683,8041,8042,1461,4562,4046,2589,8043,8044,4563,985,894,8045,3399,3168,8046,1913,2928,3729,1988,8047,2110,1974,8048,4047,8049,2571,1194,425,8050,4564,3169,1245,3730,4285,8051,8052,2850,8053,636,4565,1855,3861,760,1799,8054,4286,2209,1508,4566,4048,1893,1684,2293,8055,8056,8057,4287,4288,2210,479,8058,8059,832,8060,4049,2489,8061,2965,2490,3731,990,3109,627,1814,2642,4289,1582,4290,2125,2111,3496,4567,8062,799,4291,3170,8063,4568,2112,1737,3013,1018,543,754,4292,3309,1676,4569,4570,4050,8064,1489,8065,3497,8066,2614,2889,4051,8067,8068,2966,8069,8070,8071,8072,3171,4571,4572,2182,1722,8073,3238,3239,1842,3610,1715,481,365,1975,1856,8074,8075,1962,2491,4573,8076,2126,3611,3240,433,1894,2063,2075,8077,602,2741,8078,8079,8080,8081,8082,3014,1628,3400,8083,3172,4574,4052,2890,4575,2512,8084,2544,2772,8085,8086,8087,3310,4576,2891,8088,4577,8089,2851,4578,4579,1221,2967,4053,2513,8090,8091,8092,1867,1989,8093,8094,8095,1895,8096,8097,4580,1896,4054,318,8098,2094,4055,4293,8099,8100,485,8101,938,3862,553,2670,116,8102,3863,3612,8103,3498,2671,2773,3401,3311,2807,8104,3613,2929,4056,1747,2930,2968,8105,8106,207,8107,8108,2672,4581,2514,8109,3015,890,3614,3864,8110,1877,3732,3402,8111,2183,2353,3403,1652,8112,8113,8114,941,2294,208,3499,4057,2019,330,4294,3865,2892,2492,3733,4295,8115,8116,8117,8118,2515,1613,4582,8119,3312,3866,2516,8120,4058,8121,1637,4059,2466,4583,3867,8122,2493,3016,3734,8123,8124,2192,8125,8126,2162,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),Wr}var qr={},Qs;function Ox(){return Qs||(Qs=1,qr.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,qr.EUCKR_TABLE_SIZE=2352,qr.EUCKRCharToFreqOrder=[13,130,120,1396,481,1719,1720,328,609,212,1721,707,400,299,1722,87,1397,1723,104,536,1117,1203,1724,1267,685,1268,508,1725,1726,1727,1728,1398,1399,1729,1730,1731,141,621,326,1057,368,1732,267,488,20,1733,1269,1734,945,1400,1735,47,904,1270,1736,1737,773,248,1738,409,313,786,429,1739,116,987,813,1401,683,75,1204,145,1740,1741,1742,1743,16,847,667,622,708,1744,1745,1746,966,787,304,129,1747,60,820,123,676,1748,1749,1750,1751,617,1752,626,1753,1754,1755,1756,653,1757,1758,1759,1760,1761,1762,856,344,1763,1764,1765,1766,89,401,418,806,905,848,1767,1768,1769,946,1205,709,1770,1118,1771,241,1772,1773,1774,1271,1775,569,1776,999,1777,1778,1779,1780,337,751,1058,28,628,254,1781,177,906,270,349,891,1079,1782,19,1783,379,1784,315,1785,629,754,1402,559,1786,636,203,1206,1787,710,567,1788,935,814,1789,1790,1207,766,528,1791,1792,1208,1793,1794,1795,1796,1797,1403,1798,1799,533,1059,1404,1405,1156,1406,936,884,1080,1800,351,1801,1802,1803,1804,1805,801,1806,1807,1808,1119,1809,1157,714,474,1407,1810,298,899,885,1811,1120,802,1158,1812,892,1813,1814,1408,659,1815,1816,1121,1817,1818,1819,1820,1821,1822,319,1823,594,545,1824,815,937,1209,1825,1826,573,1409,1022,1827,1210,1828,1829,1830,1831,1832,1833,556,722,807,1122,1060,1834,697,1835,900,557,715,1836,1410,540,1411,752,1159,294,597,1211,976,803,770,1412,1837,1838,39,794,1413,358,1839,371,925,1840,453,661,788,531,723,544,1023,1081,869,91,1841,392,430,790,602,1414,677,1082,457,1415,1416,1842,1843,475,327,1024,1417,795,121,1844,733,403,1418,1845,1846,1847,300,119,711,1212,627,1848,1272,207,1849,1850,796,1213,382,1851,519,1852,1083,893,1853,1854,1855,367,809,487,671,1856,663,1857,1858,956,471,306,857,1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,282,96,574,1872,502,1085,1873,1214,1874,907,1875,1876,827,977,1419,1420,1421,268,1877,1422,1878,1879,1880,308,1881,2,537,1882,1883,1215,1884,1885,127,791,1886,1273,1423,1887,34,336,404,643,1888,571,654,894,840,1889,0,886,1274,122,575,260,908,938,1890,1275,410,316,1891,1892,100,1893,1894,1123,48,1161,1124,1025,1895,633,901,1276,1896,1897,115,816,1898,317,1899,694,1900,909,734,1424,572,866,1425,691,85,524,1010,543,394,841,1901,1902,1903,1026,1904,1905,1906,1907,1908,1909,30,451,651,988,310,1910,1911,1426,810,1216,93,1912,1913,1277,1217,1914,858,759,45,58,181,610,269,1915,1916,131,1062,551,443,1e3,821,1427,957,895,1086,1917,1918,375,1919,359,1920,687,1921,822,1922,293,1923,1924,40,662,118,692,29,939,887,640,482,174,1925,69,1162,728,1428,910,1926,1278,1218,1279,386,870,217,854,1163,823,1927,1928,1929,1930,834,1931,78,1932,859,1933,1063,1934,1935,1936,1937,438,1164,208,595,1938,1939,1940,1941,1219,1125,1942,280,888,1429,1430,1220,1431,1943,1944,1945,1946,1947,1280,150,510,1432,1948,1949,1950,1951,1952,1953,1954,1011,1087,1955,1433,1043,1956,881,1957,614,958,1064,1065,1221,1958,638,1001,860,967,896,1434,989,492,553,1281,1165,1959,1282,1002,1283,1222,1960,1961,1962,1963,36,383,228,753,247,454,1964,876,678,1965,1966,1284,126,464,490,835,136,672,529,940,1088,1435,473,1967,1968,467,50,390,227,587,279,378,598,792,968,240,151,160,849,882,1126,1285,639,1044,133,140,288,360,811,563,1027,561,142,523,1969,1970,1971,7,103,296,439,407,506,634,990,1972,1973,1974,1975,645,1976,1977,1978,1979,1980,1981,236,1982,1436,1983,1984,1089,192,828,618,518,1166,333,1127,1985,818,1223,1986,1987,1988,1989,1990,1991,1992,1993,342,1128,1286,746,842,1994,1995,560,223,1287,98,8,189,650,978,1288,1996,1437,1997,17,345,250,423,277,234,512,226,97,289,42,167,1998,201,1999,2e3,843,836,824,532,338,783,1090,182,576,436,1438,1439,527,500,2001,947,889,2002,2003,2004,2005,262,600,314,447,2006,547,2007,693,738,1129,2008,71,1440,745,619,688,2009,829,2010,2011,147,2012,33,948,2013,2014,74,224,2015,61,191,918,399,637,2016,1028,1130,257,902,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,837,2027,2028,2029,2030,179,874,591,52,724,246,2031,2032,2033,2034,1167,969,2035,1289,630,605,911,1091,1168,2036,2037,2038,1441,912,2039,623,2040,2041,253,1169,1290,2042,1442,146,620,611,577,433,2043,1224,719,1170,959,440,437,534,84,388,480,1131,159,220,198,679,2044,1012,819,1066,1443,113,1225,194,318,1003,1029,2045,2046,2047,2048,1067,2049,2050,2051,2052,2053,59,913,112,2054,632,2055,455,144,739,1291,2056,273,681,499,2057,448,2058,2059,760,2060,2061,970,384,169,245,1132,2062,2063,414,1444,2064,2065,41,235,2066,157,252,877,568,919,789,580,2067,725,2068,2069,1292,2070,2071,1445,2072,1446,2073,2074,55,588,66,1447,271,1092,2075,1226,2076,960,1013,372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085,850,2086,2087,2088,2089,2090,186,2091,1068,180,2092,2093,2094,109,1227,522,606,2095,867,1448,1093,991,1171,926,353,1133,2096,581,2097,2098,2099,1294,1449,1450,2100,596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,804,2118,2119,1230,1231,805,1456,405,1136,2120,2121,2122,2123,2124,720,701,1297,992,1457,927,1004,2125,2126,2127,2128,2129,2130,22,417,2131,303,2132,385,2133,971,520,513,2134,1174,73,1096,231,274,962,1458,673,2135,1459,2136,152,1137,2137,2138,2139,2140,1005,1138,1460,1139,2141,2142,2143,2144,11,374,844,2145,154,1232,46,1461,2146,838,830,721,1233,106,2147,90,428,462,578,566,1175,352,2148,2149,538,1234,124,1298,2150,1462,761,565,2151,686,2152,649,2153,72,173,2154,460,415,2155,1463,2156,1235,305,2157,2158,2159,2160,2161,2162,579,2163,2164,2165,2166,2167,747,2168,2169,2170,2171,1464,669,2172,2173,2174,2175,2176,1465,2177,23,530,285,2178,335,729,2179,397,2180,2181,2182,1030,2183,2184,698,2185,2186,325,2187,2188,369,2189,799,1097,1015,348,2190,1069,680,2191,851,1466,2192,2193,10,2194,613,424,2195,979,108,449,589,27,172,81,1031,80,774,281,350,1032,525,301,582,1176,2196,674,1045,2197,2198,1467,730,762,2199,2200,2201,2202,1468,2203,993,2204,2205,266,1070,963,1140,2206,2207,2208,664,1098,972,2209,2210,2211,1177,1469,1470,871,2212,2213,2214,2215,2216,1471,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,2234,2235,1299,2236,2237,200,2238,477,373,2239,2240,731,825,777,2241,2242,2243,521,486,548,2244,2245,2246,1473,1300,53,549,137,875,76,158,2247,1301,1474,469,396,1016,278,712,2248,321,442,503,767,744,941,1237,1178,1475,2249,82,178,1141,1179,973,2250,1302,2251,297,2252,2253,570,2254,2255,2256,18,450,206,2257,290,292,1142,2258,511,162,99,346,164,735,2259,1476,1477,4,554,343,798,1099,2260,1100,2261,43,171,1303,139,215,2262,2263,717,775,2264,1033,322,216,2265,831,2266,149,2267,1304,2268,2269,702,1238,135,845,347,309,2270,484,2271,878,655,238,1006,1478,2272,67,2273,295,2274,2275,461,2276,478,942,412,2277,1034,2278,2279,2280,265,2281,541,2282,2283,2284,2285,2286,70,852,1071,2287,2288,2289,2290,21,56,509,117,432,2291,2292,331,980,552,1101,148,284,105,393,1180,1239,755,2293,187,2294,1046,1479,2295,340,2296,63,1047,230,2297,2298,1305,763,1306,101,800,808,494,2299,2300,2301,903,2302,37,1072,14,5,2303,79,675,2304,312,2305,2306,2307,2308,2309,1480,6,1307,2310,2311,2312,1,470,35,24,229,2313,695,210,86,778,15,784,592,779,32,77,855,964,2314,259,2315,501,380,2316,2317,83,981,153,689,1308,1481,1482,1483,2318,2319,716,1484,2320,2321,2322,2323,2324,2325,1485,2326,2327,128,57,68,261,1048,211,170,1240,31,2328,51,435,742,2329,2330,2331,635,2332,264,456,2333,2334,2335,425,2336,1486,143,507,263,943,2337,363,920,1487,256,1488,1102,243,601,1489,2338,2339,2340,2341,2342,2343,2344,861,2345,2346,2347,2348,2349,2350,395,2351,1490,1491,62,535,166,225,2352,2353,668,419,1241,138,604,928,2354,1181,2355,1492,1493,2356,2357,2358,1143,2359,696,2360,387,307,1309,682,476,2361,2362,332,12,222,156,2363,232,2364,641,276,656,517,1494,1495,1035,416,736,1496,2365,1017,586,2366,2367,2368,1497,2369,242,2370,2371,2372,1498,2373,965,713,2374,2375,2376,2377,740,982,1499,944,1500,1007,2378,2379,1310,1501,2380,2381,2382,785,329,2383,2384,1502,2385,2386,2387,932,2388,1503,2389,2390,2391,2392,1242,2393,2394,2395,2396,2397,994,950,2398,2399,2400,2401,1504,1311,2402,2403,2404,2405,1049,749,2406,2407,853,718,1144,1312,2408,1182,1505,2409,2410,255,516,479,564,550,214,1506,1507,1313,413,239,444,339,1145,1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414,176,703,497,624,593,921,302,2415,341,165,1103,1512,2416,1513,2417,2418,2419,376,2420,700,2421,2422,2423,258,768,1316,2424,1183,2425,995,608,2426,2427,2428,2429,221,2430,2431,2432,2433,2434,2435,2436,2437,195,323,726,188,897,983,1317,377,644,1050,879,2438,452,2439,2440,2441,2442,2443,2444,914,2445,2446,2447,2448,915,489,2449,1514,1184,2450,2451,515,64,427,495,2452,583,2453,483,485,1038,562,213,1515,748,666,2454,2455,2456,2457,334,2458,780,996,1008,705,1243,2459,2460,2461,2462,2463,114,2464,493,1146,366,163,1516,961,1104,2465,291,2466,1318,1105,2467,1517,365,2468,355,951,1244,2469,1319,2470,631,2471,2472,218,1320,364,320,756,1518,1519,1321,1520,1322,2473,2474,2475,2476,997,2477,2478,2479,2480,665,1185,2481,916,1521,2482,2483,2484,584,684,2485,2486,797,2487,1051,1186,2488,2489,2490,1522,2491,2492,370,2493,1039,1187,65,2494,434,205,463,1188,2495,125,812,391,402,826,699,286,398,155,781,771,585,2496,590,505,1073,2497,599,244,219,917,1018,952,646,1523,2498,1323,2499,2500,49,984,354,741,2501,625,2502,1324,2503,1019,190,357,757,491,95,782,868,2504,2505,2506,2507,2508,2509,134,1524,1074,422,1525,898,2510,161,2511,2512,2513,2514,769,2515,1526,2516,2517,411,1325,2518,472,1527,2519,2520,2521,2522,2523,2524,985,2525,2526,2527,2528,2529,2530,764,2531,1245,2532,2533,25,204,311,2534,496,2535,1052,2536,2537,2538,2539,2540,2541,2542,199,704,504,468,758,657,1528,196,44,839,1246,272,750,2543,765,862,2544,2545,1326,2546,132,615,933,2547,732,2548,2549,2550,1189,1529,2551,283,1247,1053,607,929,2552,2553,2554,930,183,872,616,1040,1147,2555,1148,1020,441,249,1075,2556,2557,2558,466,743,2559,2560,2561,92,514,426,420,526,2562,2563,2564,2565,2566,2567,2568,185,2569,2570,2571,2572,776,1530,658,2573,362,2574,361,922,1076,793,2575,2576,2577,2578,2579,2580,1531,251,2581,2582,2583,2584,1532,54,612,237,1327,2585,2586,275,408,647,111,2587,1533,1106,465,3,458,9,38,2588,107,110,890,209,26,737,498,2589,1534,2590,431,202,88,1535,356,287,1107,660,1149,2591,381,1536,986,1150,445,1248,1151,974,2592,2593,846,2594,446,953,184,1249,1250,727,2595,923,193,883,2596,2597,2598,102,324,539,817,2599,421,1041,2600,832,2601,94,175,197,406,2602,459,2603,2604,2605,2606,2607,330,555,2608,2609,2610,706,1108,389,2611,2612,2613,2614,233,2615,833,558,931,954,1251,2616,2617,1537,546,2618,2619,1009,2620,2621,2622,1538,690,1328,2623,955,2624,1539,2625,2626,772,2627,2628,2629,2630,2631,924,648,863,603,2632,2633,934,1540,864,865,2634,642,1042,670,1190,2635,2636,2637,2638,168,2639,652,873,542,1054,1541,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,1542,880,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,1543,2726,2727,2728,2729,2730,2731,2732,1544,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,1545,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,1546,2767,1547,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,1548,2787,2788,2789,1109,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,1329,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,1549,2857,2858,2859,2860,1550,2861,2862,1551,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,1110,1330,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,1331,2931,2932,2933,2934,2935,2936,2937,2938,2939,2940,2941,2942,2943,1552,2944,2945,2946,2947,2948,2949,2950,2951,2952,2953,2954,2955,2956,2957,2958,2959,2960,2961,2962,2963,2964,1252,2965,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2976,2977,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3e3,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,1553,3013,3014,3015,3016,3017,1554,3018,1332,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050,1555,3051,3052,3053,1556,1557,3054,3055,3056,3057,3058,3059,3060,3061,3062,3063,3064,3065,3066,3067,1558,3068,3069,3070,3071,3072,3073,3074,3075,3076,1559,3077,3078,3079,3080,3081,3082,3083,1253,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,1152,3109,3110,3111,3112,3113,1560,3114,3115,3116,3117,1111,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142,3143,3144,3145,3146,3147,3148,3149,3150,3151,3152,3153,3154,3155,3156,3157,3158,3159,3160,3161,3162,3163,3164,3165,3166,3167,3168,3169,3170,3171,3172,3173,3174,3175,3176,1333,3177,3178,3179,3180,3181,3182,3183,3184,3185,3186,3187,3188,3189,1561,3190,3191,1334,3192,3193,3194,3195,3196,3197,3198,3199,3200,3201,3202,3203,3204,3205,3206,3207,3208,3209,3210,3211,3212,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,1562,3235,3236,3237,3238,3239,3240,3241,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3252,3253,3254,3255,3256,3257,3258,3259,3260,3261,3262,3263,3264,3265,3266,3267,3268,3269,3270,3271,3272,3273,3274,3275,3276,3277,1563,3278,3279,3280,3281,3282,3283,3284,3285,3286,3287,3288,3289,3290,3291,3292,3293,3294,3295,3296,3297,3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,3338,3339,3340,3341,3342,3343,3344,3345,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,1335,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3387,1336,3388,3389,3390,3391,3392,3393,3394,3395,3396,3397,3398,3399,3400,3401,3402,3403,3404,3405,3406,3407,3408,3409,3410,3411,3412,3413,3414,1337,3415,3416,3417,3418,3419,1338,3420,3421,3422,1564,1565,3423,3424,3425,3426,3427,3428,3429,3430,3431,1254,3432,3433,3434,1339,3435,3436,3437,3438,3439,1566,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,1255,3455,3456,3457,3458,3459,1567,1191,3460,1568,1569,3461,3462,3463,1570,3464,3465,3466,3467,3468,1571,3469,3470,3471,3472,3473,1572,3474,3475,3476,3477,3478,3479,3480,3481,3482,3483,3484,3485,3486,1340,3487,3488,3489,3490,3491,3492,1021,3493,3494,3495,3496,3497,3498,1573,3499,1341,3500,3501,3502,3503,3504,3505,3506,3507,3508,3509,3510,3511,1342,3512,3513,3514,3515,3516,1574,1343,3517,3518,3519,1575,3520,1576,3521,3522,3523,3524,3525,3526,3527,3528,3529,3530,3531,3532,3533,3534,3535,3536,3537,3538,3539,3540,3541,3542,3543,3544,3545,3546,3547,3548,3549,3550,3551,3552,3553,3554,3555,3556,3557,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3568,3569,3570,3571,3572,3573,3574,3575,3576,3577,3578,3579,3580,1577,3581,3582,1578,3583,3584,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,1579,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,1580,3630,3631,1581,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,3643,3644,3645,3646,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,1582,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,3676,3677,3678,3679,3680,3681,3682,3683,3684,3685,3686,3687,3688,3689,3690,3691,3692,3693,3694,3695,3696,3697,3698,3699,3700,1192,3701,3702,3703,3704,1256,3705,3706,3707,3708,1583,1257,3709,3710,3711,3712,3713,3714,3715,3716,1584,3717,3718,3719,3720,3721,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3740,3741,3742,3743,3744,3745,1344,3746,3747,3748,3749,3750,3751,3752,3753,3754,3755,3756,1585,3757,3758,3759,3760,3761,3762,3763,3764,3765,3766,1586,3767,3768,3769,3770,3771,3772,3773,3774,3775,3776,3777,3778,1345,3779,3780,3781,3782,3783,3784,3785,3786,3787,3788,3789,3790,3791,3792,3793,3794,3795,1346,1587,3796,3797,1588,3798,3799,3800,3801,3802,3803,3804,3805,3806,1347,3807,3808,3809,3810,3811,1589,3812,3813,3814,3815,3816,3817,3818,3819,3820,3821,1590,3822,3823,1591,1348,3824,3825,3826,3827,3828,3829,3830,1592,3831,3832,1593,3833,3834,3835,3836,3837,3838,3839,3840,3841,3842,3843,3844,1349,3845,3846,3847,3848,3849,3850,3851,3852,3853,3854,3855,3856,3857,3858,1594,3859,3860,3861,3862,3863,3864,3865,3866,3867,3868,3869,1595,3870,3871,3872,3873,1596,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,1597,3887,3888,3889,3890,3891,3892,3893,3894,3895,1598,3896,3897,3898,1599,1600,3899,1350,3900,1351,3901,3902,1352,3903,3904,3905,3906,3907,3908,3909,3910,3911,3912,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,1258,3925,3926,3927,3928,3929,3930,3931,1193,3932,1601,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,1602,3944,3945,3946,3947,3948,1603,3949,3950,3951,3952,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,1604,3966,3967,3968,3969,3970,3971,3972,3973,3974,3975,3976,3977,1353,3978,3979,3980,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,1354,3992,3993,3994,3995,3996,3997,3998,3999,4e3,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,1355,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4036,4037,4038,4039,4040,1605,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,1606,4061,4062,4063,4064,1607,4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076,1194,4077,4078,1608,4079,4080,4081,4082,4083,4084,4085,4086,4087,1609,4088,4089,4090,4091,4092,4093,4094,4095,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,1259,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,1195,4125,4126,4127,1610,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,1356,4138,4139,4140,4141,4142,4143,4144,1611,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4159,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4170,4171,4172,4173,4174,4175,4176,4177,4178,4179,4180,4181,4182,4183,4184,4185,4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196,4197,4198,4199,4200,4201,4202,4203,4204,4205,4206,4207,4208,4209,4210,4211,4212,4213,4214,4215,4216,4217,4218,4219,1612,4220,4221,4222,4223,4224,4225,4226,4227,1357,4228,1613,4229,4230,4231,4232,4233,4234,4235,4236,4237,4238,4239,4240,4241,4242,4243,1614,4244,4245,4246,4247,4248,4249,4250,4251,4252,4253,4254,4255,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,1196,1358,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,1615,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,1616,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,1617,4361,4362,4363,4364,4365,1618,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,1619,4417,4418,4419,4420,4421,4422,4423,4424,4425,1112,4426,4427,4428,4429,4430,1620,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,1260,1261,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,1359,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,1621,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,1055,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,1622,4519,4520,4521,1623,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,1360,4536,4537,4538,4539,4540,4541,4542,4543,975,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,1624,4572,4573,4574,4575,4576,1625,4577,4578,4579,4580,4581,4582,4583,4584,1626,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,1627,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,1628,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,1361,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,1362,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4681,4682,1629,4683,4684,4685,4686,4687,1630,4688,4689,4690,4691,1153,4692,4693,4694,1113,4695,4696,4697,4698,4699,4700,4701,4702,4703,4704,4705,4706,4707,4708,4709,4710,4711,1197,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,1631,4736,1632,4737,4738,4739,4740,4741,4742,4743,4744,1633,4745,4746,4747,4748,4749,1262,4750,4751,4752,4753,4754,1363,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,1634,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,1635,4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,1636,4790,4791,4792,4793,4794,4795,4796,4797,4798,4799,4800,4801,4802,4803,4804,4805,4806,1637,4807,4808,4809,1638,4810,4811,4812,4813,4814,4815,4816,4817,4818,1639,4819,4820,4821,4822,4823,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,1077,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883,1640,4884,4885,1641,4886,4887,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,1642,4912,4913,4914,1364,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,1643,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4955,4956,4957,4958,4959,4960,4961,4962,4963,4964,4965,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,1644,4981,4982,4983,4984,1645,4985,4986,1646,4987,4988,4989,4990,4991,4992,4993,4994,4995,4996,4997,4998,4999,5e3,5001,5002,5003,5004,5005,1647,5006,1648,5007,5008,5009,5010,5011,5012,1078,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027,5028,1365,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,1649,5040,5041,5042,5043,5044,5045,1366,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,1650,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,1651,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,1652,5111,5112,5113,5114,5115,5116,5117,5118,1367,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,1653,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,1368,5150,1654,5151,1369,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,1370,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,1655,5199,5200,5201,5202,1656,5203,5204,5205,5206,1371,5207,1372,5208,5209,5210,5211,1373,5212,5213,1374,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,1657,5248,5249,5250,5251,1658,1263,5252,5253,5254,5255,5256,1375,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,1659,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,1660,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,1376,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,1198,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,1661,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,1264,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,1662,5413,5414,5415,5416,1663,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,1664,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,1154,5479,5480,5481,5482,5483,5484,5485,1665,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,1377,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,1114,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,1378,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,1379,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,1380,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,1381,1056,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,1666,5661,5662,5663,5664,5665,5666,5667,5668,1667,5669,1668,5670,5671,5672,5673,5674,5675,5676,5677,5678,1155,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,1669,5699,5700,5701,5702,5703,5704,5705,1670,5706,5707,5708,5709,5710,1671,5711,5712,5713,5714,1382,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,1672,5726,5727,1673,1674,5728,5729,5730,5731,5732,5733,5734,5735,5736,1675,5737,5738,5739,5740,5741,5742,5743,5744,1676,5745,5746,5747,5748,5749,5750,5751,1383,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,1677,5769,5770,5771,5772,5773,1678,5774,5775,5776,998,5777,5778,5779,5780,5781,5782,5783,5784,5785,1384,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,1679,5801,5802,5803,1115,1116,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,1680,5856,5857,5858,5859,5860,5861,5862,5863,5864,1681,5865,5866,5867,1682,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,1683,5880,1684,5881,5882,5883,5884,1685,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,1686,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,1687,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,1688,1689,5953,1199,5954,5955,5956,5957,5958,5959,5960,5961,1690,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,1385,5982,1386,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,1265,6028,6029,1691,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,1692,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,1693,6132,6133,6134,6135,6136,1694,6137,6138,6139,6140,6141,1695,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,1696,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,1697,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,1698,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,1200,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,1699,6303,6304,1700,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6317,6318,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,1701,6340,6341,6342,6343,6344,1387,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,1702,6414,6415,6416,6417,6418,6419,6420,6421,6422,1703,6423,6424,6425,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,1704,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,1266,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,1705,1706,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633,6634,6635,6636,6637,1388,6638,6639,6640,6641,6642,6643,6644,1707,6645,6646,6647,6648,6649,6650,6651,6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,1708,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,1201,6675,6676,6677,6678,6679,6680,6681,6682,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,1389,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,1390,1709,6737,6738,6739,6740,6741,6742,1710,6743,6744,6745,6746,1391,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,1392,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,1202,6781,6782,6783,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,1711,6810,6811,6812,6813,6814,6815,6816,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,6836,1393,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6847,6848,6849,6850,6851,6852,6853,6854,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,6878,6879,6880,6881,6882,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,1712,6903,6904,6905,6906,6907,6908,6909,6910,1713,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,1714,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,1394,6989,6990,6991,6992,6993,6994,6995,6996,6997,6998,6999,7e3,1715,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,1716,7029,7030,7031,7032,7033,7034,7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,1395,7208,7209,7210,7211,7212,7213,1717,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,1718,7314,7315,7316,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),qr}var Gr={},e7;function Dx(){return e7||(e7=1,Gr.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,Gr.GB2312_TABLE_SIZE=3760,Gr.GB2312CharToFreqOrder=[1671,749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515,572,3191,2205,2361,224,2558,479,1711,963,3162,440,4060,1905,2966,2947,3580,2647,3961,3842,2204,869,4207,970,2678,5626,2944,2956,1479,4048,514,3595,588,1346,2820,3409,249,4088,1746,1873,2047,1774,581,1813,358,1174,3590,1014,1561,4844,2245,670,1636,3112,889,1286,953,556,2327,3060,1290,3141,613,185,3477,1367,850,3820,1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349,388,3098,2091,1360,3585,152,1687,1539,738,1559,59,1232,2925,2267,1388,1249,1741,1679,2960,151,1566,1125,1352,4271,924,4296,385,3166,4459,310,1245,2850,70,3285,2729,3534,3575,2398,3298,3466,1960,2265,217,3647,864,1909,2084,4401,2773,1010,3269,5152,853,3051,3121,1244,4251,1895,364,1499,1540,2313,1180,3655,2268,562,715,2417,3061,544,336,3768,2380,1752,4075,950,280,2425,4382,183,2759,3272,333,4297,2155,1688,2356,1444,1039,4540,736,1177,3349,2443,2368,2144,2225,565,196,1482,3406,927,1335,4147,692,878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,2534,1546,2393,2760,737,2494,13,447,245,2747,38,2765,2129,2589,1079,606,360,471,3755,2890,404,848,699,1785,1236,370,2221,1023,3746,2074,2026,2023,2388,1581,2119,812,1141,3091,2536,1519,804,2053,406,1596,1090,784,548,4414,1806,2264,2936,1100,343,4114,5096,622,3358,743,3668,1510,1626,5020,3567,2513,3195,4115,5627,2489,2991,24,2065,2697,1087,2719,48,1634,315,68,985,2052,198,2239,1347,1107,1439,597,2366,2172,871,3307,919,2487,2790,1867,236,2570,1413,3794,906,3365,3381,1701,1982,1818,1524,2924,1205,616,2586,2072,2004,575,253,3099,32,1365,1182,197,1714,2454,1201,554,3388,3224,2748,756,2587,250,2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153,615,911,1506,1474,2495,1265,1906,2749,3756,3280,2161,898,2714,1759,3450,2243,2444,563,26,3286,2266,3769,3344,2707,3677,611,1402,531,1028,2871,4548,1375,261,2948,835,1190,4134,353,840,2684,1900,3082,1435,2109,1207,1674,329,1872,2781,4055,2686,2104,608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,1681,1153,225,1627,2929,162,2050,2511,3687,1954,124,1859,2431,1684,3032,2894,585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209,256,518,2042,2105,3777,3657,643,2298,1148,1779,190,989,3544,414,11,2135,2063,2979,1471,403,3678,126,770,1563,671,2499,3216,2877,600,1179,307,2805,4937,1268,1297,2694,252,4032,1448,1494,1331,1394,127,2256,222,1647,1035,1481,3056,1915,1048,873,3651,210,33,1608,2516,200,1520,415,102,0,3389,1287,817,91,3299,2940,836,1814,549,2197,1396,1669,2987,3582,2297,2848,4528,1070,687,20,1819,121,1552,1364,1461,1968,2617,3540,2824,2083,177,948,4938,2291,110,4549,2066,648,3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123,208,1804,3159,2992,2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680,72,842,1990,212,1233,1154,1586,75,2027,3410,4900,1823,1337,2710,2676,728,2810,1522,3026,4995,157,755,1050,4022,710,785,1936,2194,2085,1406,2777,2400,150,1250,4049,1206,807,1910,534,529,3309,1721,1660,274,39,2827,661,2670,1578,925,3248,3815,1094,4278,4901,4252,41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,887,538,4187,3199,1294,2439,3042,2329,2343,2497,1255,107,543,1527,521,3478,3568,194,5062,15,961,3870,1241,1192,2664,66,5215,3260,2111,1295,1127,2152,3805,4135,901,1164,1976,398,1278,530,1460,748,904,1054,1966,1426,53,2909,509,523,2279,1534,536,1019,239,1685,460,2353,673,1065,2401,3600,4298,2272,1272,2363,284,1753,3679,4064,1695,81,815,2677,2757,2731,1386,859,500,4221,2190,2566,757,1006,2519,2068,1166,1455,337,2654,3203,1863,1682,1914,3025,1252,1409,1366,847,714,2834,2038,3209,964,2970,1901,885,2553,1078,1756,3049,301,1572,3326,688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088,262,1158,1254,389,1641,1812,526,1719,923,2073,1073,1902,468,489,4625,1140,857,2375,3070,3319,2863,380,116,1328,2693,1161,2244,273,1212,1884,2769,3011,1775,1142,461,3066,1200,2147,2212,790,702,2695,4222,1601,1058,434,2338,5153,3640,67,2360,4099,2502,618,3472,1329,416,1132,830,2782,1807,2653,3211,3510,1662,192,2124,296,3979,1739,1611,3684,23,118,324,446,1239,1225,293,2520,3814,3795,2535,3116,17,1074,467,2692,2201,387,2922,45,1326,3055,1645,3659,2817,958,243,1903,2320,1339,2825,1784,3289,356,576,865,2315,2381,3377,3916,1088,3122,1713,1655,935,628,4689,1034,1327,441,800,720,894,1979,2183,1528,5289,2702,1071,4046,3572,2399,1571,3281,79,761,1103,327,134,758,1899,1371,1615,879,442,215,2605,2579,173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,814,4968,3487,1548,2644,1567,1285,2,295,2636,97,946,3576,832,141,4257,3273,760,3821,3521,3156,2607,949,1024,1733,1516,1803,1920,2125,2283,2665,3180,1501,2064,3560,2171,1592,803,3518,1416,732,3897,4258,1363,1362,2458,119,1427,602,1525,2608,1605,1639,3175,694,3064,10,465,76,2e3,4846,4208,444,3781,1619,3353,2206,1273,3796,740,2483,320,1723,2377,3660,2619,1359,1137,1762,1724,2345,2842,1850,1862,912,821,1866,612,2625,1735,2573,3369,1093,844,89,937,930,1424,3564,2413,2972,1004,3046,3019,2011,711,3171,1452,4178,428,801,1943,432,445,2811,206,4136,1472,730,349,73,397,2802,2547,998,1637,1167,789,396,3217,154,1218,716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627,552,3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703,640,1045,1370,1246,4996,371,1575,2436,1621,2210,984,4033,1734,2638,16,4529,663,2755,3255,1451,3917,2257,1253,1955,2234,1263,2951,214,1229,617,485,359,1831,1969,473,2310,750,2058,165,80,2864,2419,361,4344,2416,2479,1134,796,3726,1266,2943,860,2715,938,390,2734,1313,1384,248,202,877,1064,2854,522,3907,279,1602,297,2357,395,3740,137,2075,944,4089,2584,1267,3802,62,1533,2285,178,176,780,2440,201,3707,590,478,1560,4354,2117,1075,30,74,4643,4004,1635,1441,2745,776,2596,238,1077,1692,1912,2844,605,499,1742,3947,241,3053,980,1749,936,2640,4511,2582,515,1543,2162,5322,2892,2993,890,2148,1924,665,1827,3581,1032,968,3163,339,1044,1896,270,583,1791,1720,4367,1194,3488,3669,43,2523,1657,163,2167,290,1209,1622,3378,550,634,2508,2510,695,2634,2384,2512,1476,1414,220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680,854,3227,1299,2976,3172,186,2998,1459,443,1067,3251,1495,321,1932,3054,909,753,1410,1828,436,2441,1119,1587,3164,2186,1258,227,231,1425,1890,3200,3942,247,959,725,5254,2741,577,2158,2079,929,120,174,838,2813,591,1115,417,2024,40,3240,1536,1037,291,4151,2354,632,1298,2406,2500,3535,1825,1846,3451,205,1171,345,4238,18,1163,811,685,2208,1217,425,1312,1508,1175,4308,2552,1033,587,1381,3059,2984,3482,340,1316,4023,3972,792,3176,519,777,4690,918,933,4130,2981,3741,90,3360,2911,2200,5184,4550,609,3079,2030,272,3379,2736,363,3881,1130,1447,286,779,357,1169,3350,3137,1630,1220,2687,2391,747,1277,3688,2618,2682,2601,1156,3196,5290,4034,3102,1689,3596,3128,874,219,2783,798,508,1843,2461,269,1658,1776,1392,1913,2983,3287,2866,2159,2372,829,4076,46,4253,2873,1889,1894,915,1834,1631,2181,2318,298,664,2818,3555,2735,954,3228,3117,527,3511,2173,681,2712,3033,2247,2346,3467,1652,155,2164,3382,113,1994,450,899,494,994,1237,2958,1875,2336,1926,3727,545,1577,1550,633,3473,204,1305,3072,2410,1956,2471,707,2134,841,2195,2196,2663,3843,1026,4940,990,3252,4997,368,1092,437,3212,3258,1933,1829,675,2977,2893,412,943,3723,4644,3294,3283,2230,2373,5154,2389,2241,2661,2323,1404,2524,593,787,677,3008,1275,2059,438,2709,2609,2240,2269,2246,1446,36,1568,1373,3892,1574,2301,1456,3962,693,2276,5216,2035,1143,2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090,424,1694,312,3634,3390,4179,3335,2252,1214,561,1059,3243,2295,2561,975,5155,2321,2751,3772,472,1537,3282,3398,1047,2077,2348,2878,1323,3340,3076,690,2906,51,369,170,3541,1060,2187,2688,3670,2541,1083,1683,928,3918,459,109,4427,599,3744,4286,143,2101,2730,2490,82,1588,3036,2121,281,1860,477,4035,1238,2812,3020,2716,3312,1530,2188,2055,1317,843,636,1808,1173,3495,649,181,1002,147,3641,1159,2414,3750,2289,2795,813,3123,2610,1136,4368,5,3391,4541,2174,420,429,1728,754,1228,2115,2219,347,2223,2733,735,1518,3003,2355,3134,1764,3948,3329,1888,2424,1001,1234,1972,3321,3363,1672,1021,1450,1584,226,765,655,2526,3404,3244,2302,3665,731,594,2184,319,1576,621,658,2656,4299,2099,3864,1279,2071,2598,2739,795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,2591,1084,213,2287,1963,3565,2250,822,793,4574,3187,1772,1789,3050,595,1484,1959,2770,1080,2650,456,422,2996,940,3322,4328,4345,3092,2742,965,2784,739,4124,952,1358,2498,2949,2565,332,2698,2378,660,2260,2473,4194,3856,2919,535,1260,2651,1208,1428,1300,1949,1303,2942,433,2455,2450,1251,1946,614,1269,641,1306,1810,2737,3078,2912,564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,3218,2175,1897,3063,682,1157,4040,4005,1712,1160,1941,1399,394,402,2952,1573,1151,2986,2404,862,299,2033,1489,3006,346,171,2886,3401,1726,2932,168,2533,47,2507,1030,3735,1145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,504,1036,2690,2988,2405,745,5871,849,2397,2056,3081,863,2359,3857,2096,99,1397,1769,2300,4428,1643,3455,1978,1757,3718,1440,35,4879,3742,1296,4228,2280,160,5063,1599,2013,166,520,3479,1646,3345,3012,490,1937,1545,1264,2182,2505,1096,1188,1369,1436,2421,1667,2792,2460,1270,2122,727,3167,2143,806,1706,1012,1800,3037,960,2218,1882,805,139,2456,1139,1521,851,1052,3093,3089,342,2039,744,5097,1468,1502,1585,2087,223,939,326,2140,2577,892,2481,1623,4077,982,3708,135,2131,87,2503,3114,2326,1106,876,1616,547,2997,2831,2093,3441,4530,4314,9,3256,4229,4148,659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,3274,1368,3689,4645,1477,705,3384,3635,1068,1529,2941,1458,3782,1509,100,1656,2548,718,2339,408,1590,2780,3548,1838,4117,3719,1345,3530,717,3442,2778,3220,2898,1892,4590,3614,3371,2043,1998,1224,3483,891,635,584,2559,3355,733,1766,1729,1172,3789,1891,2307,781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,3213,1189,1934,5693,3262,586,3118,1324,1598,517,1564,2217,1868,1893,4445,3728,2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287,338,1993,3129,3489,2689,1809,2815,1997,957,1855,3898,2550,3275,3057,1105,1319,627,1505,1911,1883,3526,698,3629,3456,1833,1431,746,77,1261,2017,2296,1977,1885,125,1334,1600,525,1798,1109,2222,1470,1945,559,2236,1186,3443,2476,1929,1411,2411,3135,1777,3372,2621,1841,1613,3229,668,1430,1839,2643,2916,195,1989,2671,2358,1387,629,3205,2293,5256,4439,123,1310,888,1879,4300,3021,3605,1003,1162,3192,2910,2010,140,2395,2859,55,1082,2012,2901,662,419,2081,1438,680,2774,4654,3912,1620,1731,1625,5035,4065,2328,512,1344,802,5443,2163,2311,2537,524,3399,98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,180,1113,4655,3461,2028,1698,833,2696,1235,1322,1594,4408,3623,3013,3225,2040,3022,541,2881,607,3632,2029,1665,1219,639,1385,1686,1099,2803,3231,1938,3188,2858,427,676,2772,1168,2025,454,3253,2486,3556,230,1950,580,791,1991,1280,1086,1974,2034,630,257,3338,2788,4903,1017,86,4790,966,2789,1995,1696,1131,259,3095,4188,1308,179,1463,5257,289,4107,1248,42,3413,1725,2288,896,1947,774,4474,4254,604,3430,4264,392,2514,2588,452,237,1408,3018,988,4531,1970,3034,3310,540,2370,1562,1288,2990,502,4765,1147,4,1853,2708,207,294,2814,4078,2902,2509,684,34,3105,3532,2551,644,709,2801,2344,573,1727,3573,3557,2021,1081,3100,4315,2100,3681,199,2263,1837,2385,146,3484,1195,2776,3949,997,1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076,493,117,5400,2521,972,1490,2934,1796,4542,2374,1512,2933,2657,413,2888,1135,2762,2314,2156,1355,2369,766,2007,2527,2170,3124,2491,2593,2632,4757,2437,234,3125,3591,1898,1750,1376,1942,3468,3138,570,2127,2145,3276,4131,962,132,1445,4196,19,941,3624,3480,3366,1973,1374,4461,3431,2629,283,2415,2275,808,2887,3620,2112,2563,1353,3610,955,1089,3103,1053,96,88,4097,823,3808,1583,399,292,4091,3313,421,1128,642,4006,903,2539,1877,2082,596,29,4066,1790,722,2157,130,995,1569,769,1485,464,513,2213,288,1923,1101,2453,4316,133,486,2445,50,625,487,2207,57,423,481,2962,159,3729,1558,491,303,482,501,240,2837,112,3648,2392,1783,362,8,3433,3422,610,2793,3277,1390,1284,1654,21,3823,734,367,623,193,287,374,1009,1483,816,476,313,2255,2340,1262,2150,2899,1146,2581,782,2116,1659,2018,1880,255,3586,3314,1110,2867,2137,2564,986,2767,5185,2006,650,158,926,762,881,3157,2717,2362,3587,306,3690,3245,1542,3077,2427,1691,2478,2118,2985,3490,2438,539,2305,983,129,1754,355,4201,2386,827,2923,104,1773,2838,2771,411,2905,3919,376,767,122,1114,828,2422,1817,3506,266,3460,1007,1609,4998,945,2612,4429,2274,726,1247,1964,2914,2199,2070,4002,4108,657,3323,1422,579,455,2764,4737,1222,2895,1670,824,1223,1487,2525,558,861,3080,598,2659,2515,1967,752,2583,2376,2214,4180,977,704,2464,4999,2622,4109,1210,2961,819,1541,142,2284,44,418,457,1126,3730,4347,4626,1644,1876,3671,1864,302,1063,5694,624,723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098,409,1011,2325,3704,2306,818,1732,1383,1824,1844,3757,999,2705,3497,1216,1423,2683,2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343,783,724,191,2434,1354,2220,5065,1763,2752,2472,4152,131,175,2885,3434,92,1466,4920,2616,3871,3872,3866,128,1551,1632,669,1854,3682,4691,4125,1230,188,2973,3290,1302,1213,560,3266,917,763,3909,3249,1760,868,1958,764,1782,2097,145,2277,3774,4462,64,1491,3062,971,2132,3606,2442,221,1226,1617,218,323,1185,3207,3147,571,619,1473,1005,1744,2281,449,1887,2396,3685,275,375,3816,1743,3844,3731,845,1983,2350,4210,1377,773,967,3499,3052,3743,2725,4007,1697,1022,3943,1464,3264,2855,2722,1952,1029,2839,2467,84,4383,2215,820,1391,2015,2448,3672,377,1948,2168,797,2545,3536,2578,2645,94,2874,1678,405,1259,3071,771,546,1315,470,1243,3083,895,2468,981,969,2037,846,4181,653,1276,2928,14,2594,557,3007,2474,156,902,1338,1740,2574,537,2518,973,2282,2216,2433,1928,138,2903,1293,2631,1612,646,3457,839,2935,111,496,2191,2847,589,3186,149,3994,2060,4031,2641,4067,3145,1870,37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,1301,251,2446,2599,2153,872,3246,637,334,3705,831,884,921,3065,3140,4092,2198,1944,246,2964,108,2045,1152,1921,2308,1031,203,3173,4170,1907,3890,810,1401,2003,1690,506,647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,498,666,2613,834,3817,1231,184,2851,1124,883,3197,2261,3710,1765,1553,2658,1178,2639,2351,93,1193,942,2538,2141,4402,235,1821,870,1591,2192,1709,1871,3341,1618,4126,2595,2334,603,651,69,701,268,2662,3411,2555,1380,1606,503,448,254,2371,2646,574,1187,2309,1770,322,2235,1292,1801,305,566,1133,229,2067,2057,706,167,483,2002,2672,3295,1820,3561,3067,316,378,2746,3452,1112,136,1981,507,1651,2917,1117,285,4591,182,2580,3522,1304,335,3303,1835,2504,1795,1792,2248,674,1018,2106,2449,1857,2292,2845,976,3047,1781,2600,2727,1389,1281,52,3152,153,265,3950,672,3485,3951,4463,430,1183,365,278,2169,27,1407,1336,2304,209,1340,1730,2202,1852,2403,2883,979,1737,1062,631,2829,2542,3876,2592,825,2086,2226,3048,3625,352,1417,3724,542,991,431,1351,3938,1861,2294,826,1361,2927,3142,3503,1738,463,2462,2723,582,1916,1595,2808,400,3845,3891,2868,3621,2254,58,2492,1123,910,2160,2614,1372,1603,1196,1072,3385,1700,3267,1980,696,480,2430,920,799,1570,2920,1951,2041,4047,2540,1321,4223,2469,3562,2228,1271,2602,401,2833,3351,2575,5157,907,2312,1256,410,263,3507,1582,996,678,1849,2316,1480,908,3545,2237,703,2322,667,1826,2849,1531,2604,2999,2407,3146,2151,2630,1786,3711,469,3542,497,3899,2409,858,837,4446,3393,1274,786,620,1845,2001,3311,484,308,3367,1204,1815,3691,2332,1532,2557,1842,2020,2724,1927,2333,4440,567,22,1673,2728,4475,1987,1858,1144,1597,101,1832,3601,12,974,3783,4391,951,1412,1,3720,453,4608,4041,528,1041,1027,3230,2628,1129,875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278,144,1758,3040,31,475,1680,366,2685,3184,311,1642,4008,2466,5036,1593,1493,2809,216,1420,1668,233,304,2128,3284,232,1429,1768,1040,2008,3407,2740,2967,2543,242,2133,778,1565,2022,2620,505,2189,2756,1098,2273,372,1614,708,553,2846,2094,2278,169,3626,2835,4161,228,2674,3165,809,1454,1309,466,1705,1095,900,3423,880,2667,3751,5258,2317,3109,2571,4317,2766,1503,1342,866,4447,1118,63,2076,314,1881,1348,1061,172,978,3515,1747,532,511,3970,6,601,905,2699,3300,1751,276,1467,3725,2668,65,4239,2544,2779,2556,1604,578,2451,1802,992,2331,2624,1320,3446,713,1513,1013,103,2786,2447,1661,886,1702,916,654,3574,2031,1556,751,2178,2821,2179,1498,1538,2176,271,914,2251,2080,1325,638,1953,2937,3877,2432,2754,95,3265,1716,260,1227,4083,775,106,1357,3254,426,1607,555,2480,772,1985,244,2546,474,495,1046,2611,1851,2061,71,2089,1675,2590,742,3758,2843,3222,1433,267,2180,2576,2826,2233,2092,3913,2435,956,1745,3075,856,2113,1116,451,3,1988,2896,1398,993,2463,1878,2049,1341,2718,2721,2870,2108,712,2904,4363,2753,2324,277,2872,2349,2649,384,987,435,691,3e3,922,164,3939,652,1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,2530,1434,2408,893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078,49,3770,3469,462,318,656,2259,3250,3069,679,1629,2758,344,1138,1104,3120,1836,1283,3115,2154,1437,4448,934,759,1999,794,2862,1038,533,2560,1722,2342,855,2626,1197,1663,4476,3127,85,4240,2528,25,1111,1181,3673,407,3470,4561,2679,2713,768,1925,2841,3986,1544,1165,932,373,1240,2146,1930,2673,721,4766,354,4333,391,2963,187,61,3364,1442,1102,330,1940,1767,341,3809,4118,393,2496,2062,2211,105,331,300,439,913,1332,626,379,3304,1557,328,689,3952,309,1555,931,317,2517,3027,325,569,686,2107,3084,60,1042,1333,2794,264,3177,4014,1628,258,3712,7,4464,1176,1043,1778,683,114,1975,78,1492,383,1886,510,386,645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,1282,1289,4609,697,1453,3044,2666,3611,1856,2412,54,719,1330,568,3778,2459,1748,788,492,551,1191,1e3,488,3394,3763,282,1799,348,2016,1523,3155,2390,1049,382,2019,1788,1170,729,2968,3523,897,3926,2785,2938,3292,350,2319,3238,1718,1717,2655,3453,3143,4465,161,2889,2980,2009,1421,56,1908,1640,2387,2232,1917,1874,2477,4921,148,83,3438,592,4245,2882,1822,1055,741,115,1496,1624,381,1638,4592,1020,516,3214,458,947,4575,1432,211,1514,2926,1865,2142,189,852,1221,1400,1486,882,2299,4036,351,28,1122,700,6479,6480,6481,6482,6483,5508,6484,3900,3414,3974,4441,4024,3537,4037,5628,5099,3633,6485,3148,6486,3636,5509,3257,5510,5973,5445,5872,4941,4403,3174,4627,5873,6276,2286,4230,5446,5874,5122,6102,6103,4162,5447,5123,5323,4849,6277,3980,3851,5066,4246,5774,5067,6278,3001,2807,5695,3346,5775,5974,5158,5448,6487,5975,5976,5776,3598,6279,5696,4806,4211,4154,6280,6488,6489,6490,6281,4212,5037,3374,4171,6491,4562,4807,4722,4827,5977,6104,4532,4079,5159,5324,5160,4404,3858,5359,5875,3975,4288,4610,3486,4512,5325,3893,5360,6282,6283,5560,2522,4231,5978,5186,5449,2569,3878,6284,5401,3578,4415,6285,4656,5124,5979,2506,4247,4449,3219,3417,4334,4969,4329,6492,4576,4828,4172,4416,4829,5402,6286,3927,3852,5361,4369,4830,4477,4867,5876,4173,6493,6105,4657,6287,6106,5877,5450,6494,4155,4868,5451,3700,5629,4384,6288,6289,5878,3189,4881,6107,6290,6495,4513,6496,4692,4515,4723,5100,3356,6497,6291,3810,4080,5561,3570,4430,5980,6498,4355,5697,6499,4724,6108,6109,3764,4050,5038,5879,4093,3226,6292,5068,5217,4693,3342,5630,3504,4831,4377,4466,4309,5698,4431,5777,6293,5778,4272,3706,6110,5326,3752,4676,5327,4273,5403,4767,5631,6500,5699,5880,3475,5039,6294,5562,5125,4348,4301,4482,4068,5126,4593,5700,3380,3462,5981,5563,3824,5404,4970,5511,3825,4738,6295,6501,5452,4516,6111,5881,5564,6502,6296,5982,6503,4213,4163,3454,6504,6112,4009,4450,6113,4658,6297,6114,3035,6505,6115,3995,4904,4739,4563,4942,4110,5040,3661,3928,5362,3674,6506,5292,3612,4791,5565,4149,5983,5328,5259,5021,4725,4577,4564,4517,4364,6298,5405,4578,5260,4594,4156,4157,5453,3592,3491,6507,5127,5512,4709,4922,5984,5701,4726,4289,6508,4015,6116,5128,4628,3424,4241,5779,6299,4905,6509,6510,5454,5702,5780,6300,4365,4923,3971,6511,5161,3270,3158,5985,4100,867,5129,5703,6117,5363,3695,3301,5513,4467,6118,6512,5455,4232,4242,4629,6513,3959,4478,6514,5514,5329,5986,4850,5162,5566,3846,4694,6119,5456,4869,5781,3779,6301,5704,5987,5515,4710,6302,5882,6120,4392,5364,5705,6515,6121,6516,6517,3736,5988,5457,5989,4695,2457,5883,4551,5782,6303,6304,6305,5130,4971,6122,5163,6123,4870,3263,5365,3150,4871,6518,6306,5783,5069,5706,3513,3498,4409,5330,5632,5366,5458,5459,3991,5990,4502,3324,5991,5784,3696,4518,5633,4119,6519,4630,5634,4417,5707,4832,5992,3418,6124,5993,5567,4768,5218,6520,4595,3458,5367,6125,5635,6126,4202,6521,4740,4924,6307,3981,4069,4385,6308,3883,2675,4051,3834,4302,4483,5568,5994,4972,4101,5368,6309,5164,5884,3922,6127,6522,6523,5261,5460,5187,4164,5219,3538,5516,4111,3524,5995,6310,6311,5369,3181,3386,2484,5188,3464,5569,3627,5708,6524,5406,5165,4677,4492,6312,4872,4851,5885,4468,5996,6313,5709,5710,6128,2470,5886,6314,5293,4882,5785,3325,5461,5101,6129,5711,5786,6525,4906,6526,6527,4418,5887,5712,4808,2907,3701,5713,5888,6528,3765,5636,5331,6529,6530,3593,5889,3637,4943,3692,5714,5787,4925,6315,6130,5462,4405,6131,6132,6316,5262,6531,6532,5715,3859,5716,5070,4696,5102,3929,5788,3987,4792,5997,6533,6534,3920,4809,5e3,5998,6535,2974,5370,6317,5189,5263,5717,3826,6536,3953,5001,4883,3190,5463,5890,4973,5999,4741,6133,6134,3607,5570,6e3,4711,3362,3630,4552,5041,6318,6001,2950,2953,5637,4646,5371,4944,6002,2044,4120,3429,6319,6537,5103,4833,6538,6539,4884,4647,3884,6003,6004,4758,3835,5220,5789,4565,5407,6540,6135,5294,4697,4852,6320,6321,3206,4907,6541,6322,4945,6542,6136,6543,6323,6005,4631,3519,6544,5891,6545,5464,3784,5221,6546,5571,4659,6547,6324,6137,5190,6548,3853,6549,4016,4834,3954,6138,5332,3827,4017,3210,3546,4469,5408,5718,3505,4648,5790,5131,5638,5791,5465,4727,4318,6325,6326,5792,4553,4010,4698,3439,4974,3638,4335,3085,6006,5104,5042,5166,5892,5572,6327,4356,4519,5222,5573,5333,5793,5043,6550,5639,5071,4503,6328,6139,6551,6140,3914,3901,5372,6007,5640,4728,4793,3976,3836,4885,6552,4127,6553,4451,4102,5002,6554,3686,5105,6555,5191,5072,5295,4611,5794,5296,6556,5893,5264,5894,4975,5466,5265,4699,4976,4370,4056,3492,5044,4886,6557,5795,4432,4769,4357,5467,3940,4660,4290,6141,4484,4770,4661,3992,6329,4025,4662,5022,4632,4835,4070,5297,4663,4596,5574,5132,5409,5895,6142,4504,5192,4664,5796,5896,3885,5575,5797,5023,4810,5798,3732,5223,4712,5298,4084,5334,5468,6143,4052,4053,4336,4977,4794,6558,5335,4908,5576,5224,4233,5024,4128,5469,5225,4873,6008,5045,4729,4742,4633,3675,4597,6559,5897,5133,5577,5003,5641,5719,6330,6560,3017,2382,3854,4406,4811,6331,4393,3964,4946,6561,2420,3722,6562,4926,4378,3247,1736,4442,6332,5134,6333,5226,3996,2918,5470,4319,4003,4598,4743,4744,4485,3785,3902,5167,5004,5373,4394,5898,6144,4874,1793,3997,6334,4085,4214,5106,5642,4909,5799,6009,4419,4189,3330,5899,4165,4420,5299,5720,5227,3347,6145,4081,6335,2876,3930,6146,3293,3786,3910,3998,5900,5300,5578,2840,6563,5901,5579,6147,3531,5374,6564,6565,5580,4759,5375,6566,6148,3559,5643,6336,6010,5517,6337,6338,5721,5902,3873,6011,6339,6567,5518,3868,3649,5722,6568,4771,4947,6569,6149,4812,6570,2853,5471,6340,6341,5644,4795,6342,6012,5723,6343,5724,6013,4349,6344,3160,6150,5193,4599,4514,4493,5168,4320,6345,4927,3666,4745,5169,5903,5005,4928,6346,5725,6014,4730,4203,5046,4948,3395,5170,6015,4150,6016,5726,5519,6347,5047,3550,6151,6348,4197,4310,5904,6571,5581,2965,6152,4978,3960,4291,5135,6572,5301,5727,4129,4026,5905,4853,5728,5472,6153,6349,4533,2700,4505,5336,4678,3583,5073,2994,4486,3043,4554,5520,6350,6017,5800,4487,6351,3931,4103,5376,6352,4011,4321,4311,4190,5136,6018,3988,3233,4350,5906,5645,4198,6573,5107,3432,4191,3435,5582,6574,4139,5410,6353,5411,3944,5583,5074,3198,6575,6354,4358,6576,5302,4600,5584,5194,5412,6577,6578,5585,5413,5303,4248,5414,3879,4433,6579,4479,5025,4854,5415,6355,4760,4772,3683,2978,4700,3797,4452,3965,3932,3721,4910,5801,6580,5195,3551,5907,3221,3471,3029,6019,3999,5908,5909,5266,5267,3444,3023,3828,3170,4796,5646,4979,4259,6356,5647,5337,3694,6357,5648,5338,4520,4322,5802,3031,3759,4071,6020,5586,4836,4386,5048,6581,3571,4679,4174,4949,6154,4813,3787,3402,3822,3958,3215,3552,5268,4387,3933,4950,4359,6021,5910,5075,3579,6358,4234,4566,5521,6359,3613,5049,6022,5911,3375,3702,3178,4911,5339,4521,6582,6583,4395,3087,3811,5377,6023,6360,6155,4027,5171,5649,4421,4249,2804,6584,2270,6585,4e3,4235,3045,6156,5137,5729,4140,4312,3886,6361,4330,6157,4215,6158,3500,3676,4929,4331,3713,4930,5912,4265,3776,3368,5587,4470,4855,3038,4980,3631,6159,6160,4132,4680,6161,6362,3923,4379,5588,4255,6586,4121,6587,6363,4649,6364,3288,4773,4774,6162,6024,6365,3543,6588,4274,3107,3737,5050,5803,4797,4522,5589,5051,5730,3714,4887,5378,4001,4523,6163,5026,5522,4701,4175,2791,3760,6589,5473,4224,4133,3847,4814,4815,4775,3259,5416,6590,2738,6164,6025,5304,3733,5076,5650,4816,5590,6591,6165,6592,3934,5269,6593,3396,5340,6594,5804,3445,3602,4042,4488,5731,5732,3525,5591,4601,5196,6166,6026,5172,3642,4612,3202,4506,4798,6366,3818,5108,4303,5138,5139,4776,3332,4304,2915,3415,4434,5077,5109,4856,2879,5305,4817,6595,5913,3104,3144,3903,4634,5341,3133,5110,5651,5805,6167,4057,5592,2945,4371,5593,6596,3474,4182,6367,6597,6168,4507,4279,6598,2822,6599,4777,4713,5594,3829,6169,3887,5417,6170,3653,5474,6368,4216,2971,5228,3790,4579,6369,5733,6600,6601,4951,4746,4555,6602,5418,5475,6027,3400,4665,5806,6171,4799,6028,5052,6172,3343,4800,4747,5006,6370,4556,4217,5476,4396,5229,5379,5477,3839,5914,5652,5807,4714,3068,4635,5808,6173,5342,4192,5078,5419,5523,5734,6174,4557,6175,4602,6371,6176,6603,5809,6372,5735,4260,3869,5111,5230,6029,5112,6177,3126,4681,5524,5915,2706,3563,4748,3130,6178,4018,5525,6604,6605,5478,4012,4837,6606,4534,4193,5810,4857,3615,5479,6030,4082,3697,3539,4086,5270,3662,4508,4931,5916,4912,5811,5027,3888,6607,4397,3527,3302,3798,2775,2921,2637,3966,4122,4388,4028,4054,1633,4858,5079,3024,5007,3982,3412,5736,6608,3426,3236,5595,3030,6179,3427,3336,3279,3110,6373,3874,3039,5080,5917,5140,4489,3119,6374,5812,3405,4494,6031,4666,4141,6180,4166,6032,5813,4981,6609,5081,4422,4982,4112,3915,5653,3296,3983,6375,4266,4410,5654,6610,6181,3436,5082,6611,5380,6033,3819,5596,4535,5231,5306,5113,6612,4952,5918,4275,3113,6613,6376,6182,6183,5814,3073,4731,4838,5008,3831,6614,4888,3090,3848,4280,5526,5232,3014,5655,5009,5737,5420,5527,6615,5815,5343,5173,5381,4818,6616,3151,4953,6617,5738,2796,3204,4360,2989,4281,5739,5174,5421,5197,3132,5141,3849,5142,5528,5083,3799,3904,4839,5480,2880,4495,3448,6377,6184,5271,5919,3771,3193,6034,6035,5920,5010,6036,5597,6037,6378,6038,3106,5422,6618,5423,5424,4142,6619,4889,5084,4890,4313,5740,6620,3437,5175,5307,5816,4199,5198,5529,5817,5199,5656,4913,5028,5344,3850,6185,2955,5272,5011,5818,4567,4580,5029,5921,3616,5233,6621,6622,6186,4176,6039,6379,6380,3352,5200,5273,2908,5598,5234,3837,5308,6623,6624,5819,4496,4323,5309,5201,6625,6626,4983,3194,3838,4167,5530,5922,5274,6381,6382,3860,3861,5599,3333,4292,4509,6383,3553,5481,5820,5531,4778,6187,3955,3956,4324,4389,4218,3945,4325,3397,2681,5923,4779,5085,4019,5482,4891,5382,5383,6040,4682,3425,5275,4094,6627,5310,3015,5483,5657,4398,5924,3168,4819,6628,5925,6629,5532,4932,4613,6041,6630,4636,6384,4780,4204,5658,4423,5821,3989,4683,5822,6385,4954,6631,5345,6188,5425,5012,5384,3894,6386,4490,4104,6632,5741,5053,6633,5823,5926,5659,5660,5927,6634,5235,5742,5824,4840,4933,4820,6387,4859,5928,4955,6388,4143,3584,5825,5346,5013,6635,5661,6389,5014,5484,5743,4337,5176,5662,6390,2836,6391,3268,6392,6636,6042,5236,6637,4158,6638,5744,5663,4471,5347,3663,4123,5143,4293,3895,6639,6640,5311,5929,5826,3800,6189,6393,6190,5664,5348,3554,3594,4749,4603,6641,5385,4801,6043,5827,4183,6642,5312,5426,4761,6394,5665,6191,4715,2669,6643,6644,5533,3185,5427,5086,5930,5931,5386,6192,6044,6645,4781,4013,5745,4282,4435,5534,4390,4267,6045,5746,4984,6046,2743,6193,3501,4087,5485,5932,5428,4184,4095,5747,4061,5054,3058,3862,5933,5600,6646,5144,3618,6395,3131,5055,5313,6396,4650,4956,3855,6194,3896,5202,4985,4029,4225,6195,6647,5828,5486,5829,3589,3002,6648,6397,4782,5276,6649,6196,6650,4105,3803,4043,5237,5830,6398,4096,3643,6399,3528,6651,4453,3315,4637,6652,3984,6197,5535,3182,3339,6653,3096,2660,6400,6654,3449,5934,4250,4236,6047,6401,5831,6655,5487,3753,4062,5832,6198,6199,6656,3766,6657,3403,4667,6048,6658,4338,2897,5833,3880,2797,3780,4326,6659,5748,5015,6660,5387,4351,5601,4411,6661,3654,4424,5935,4339,4072,5277,4568,5536,6402,6662,5238,6663,5349,5203,6200,5204,6201,5145,4536,5016,5056,4762,5834,4399,4957,6202,6403,5666,5749,6664,4340,6665,5936,5177,5667,6666,6667,3459,4668,6404,6668,6669,4543,6203,6670,4276,6405,4480,5537,6671,4614,5205,5668,6672,3348,2193,4763,6406,6204,5937,5602,4177,5669,3419,6673,4020,6205,4443,4569,5388,3715,3639,6407,6049,4058,6206,6674,5938,4544,6050,4185,4294,4841,4651,4615,5488,6207,6408,6051,5178,3241,3509,5835,6208,4958,5836,4341,5489,5278,6209,2823,5538,5350,5206,5429,6675,4638,4875,4073,3516,4684,4914,4860,5939,5603,5389,6052,5057,3237,5490,3791,6676,6409,6677,4821,4915,4106,5351,5058,4243,5539,4244,5604,4842,4916,5239,3028,3716,5837,5114,5605,5390,5940,5430,6210,4332,6678,5540,4732,3667,3840,6053,4305,3408,5670,5541,6410,2744,5240,5750,6679,3234,5606,6680,5607,5671,3608,4283,4159,4400,5352,4783,6681,6411,6682,4491,4802,6211,6412,5941,6413,6414,5542,5751,6683,4669,3734,5942,6684,6415,5943,5059,3328,4670,4144,4268,6685,6686,6687,6688,4372,3603,6689,5944,5491,4373,3440,6416,5543,4784,4822,5608,3792,4616,5838,5672,3514,5391,6417,4892,6690,4639,6691,6054,5673,5839,6055,6692,6056,5392,6212,4038,5544,5674,4497,6057,6693,5840,4284,5675,4021,4545,5609,6418,4454,6419,6213,4113,4472,5314,3738,5087,5279,4074,5610,4959,4063,3179,4750,6058,6420,6214,3476,4498,4716,5431,4960,4685,6215,5241,6694,6421,6216,6695,5841,5945,6422,3748,5946,5179,3905,5752,5545,5947,4374,6217,4455,6423,4412,6218,4803,5353,6696,3832,5280,6219,4327,4702,6220,6221,6059,4652,5432,6424,3749,4751,6425,5753,4986,5393,4917,5948,5030,5754,4861,4733,6426,4703,6697,6222,4671,5949,4546,4961,5180,6223,5031,3316,5281,6698,4862,4295,4934,5207,3644,6427,5842,5950,6428,6429,4570,5843,5282,6430,6224,5088,3239,6060,6699,5844,5755,6061,6431,2701,5546,6432,5115,5676,4039,3993,3327,4752,4425,5315,6433,3941,6434,5677,4617,4604,3074,4581,6225,5433,6435,6226,6062,4823,5756,5116,6227,3717,5678,4717,5845,6436,5679,5846,6063,5847,6064,3977,3354,6437,3863,5117,6228,5547,5394,4499,4524,6229,4605,6230,4306,4500,6700,5951,6065,3693,5952,5089,4366,4918,6701,6231,5548,6232,6702,6438,4704,5434,6703,6704,5953,4168,6705,5680,3420,6706,5242,4407,6066,3812,5757,5090,5954,4672,4525,3481,5681,4618,5395,5354,5316,5955,6439,4962,6707,4526,6440,3465,4673,6067,6441,5682,6708,5435,5492,5758,5683,4619,4571,4674,4804,4893,4686,5493,4753,6233,6068,4269,6442,6234,5032,4705,5146,5243,5208,5848,6235,6443,4963,5033,4640,4226,6236,5849,3387,6444,6445,4436,4437,5850,4843,5494,4785,4894,6709,4361,6710,5091,5956,3331,6237,4987,5549,6069,6711,4342,3517,4473,5317,6070,6712,6071,4706,6446,5017,5355,6713,6714,4988,5436,6447,4734,5759,6715,4735,4547,4456,4754,6448,5851,6449,6450,3547,5852,5318,6451,6452,5092,4205,6716,6238,4620,4219,5611,6239,6072,4481,5760,5957,5958,4059,6240,6453,4227,4537,6241,5761,4030,4186,5244,5209,3761,4457,4876,3337,5495,5181,6242,5959,5319,5612,5684,5853,3493,5854,6073,4169,5613,5147,4895,6074,5210,6717,5182,6718,3830,6243,2798,3841,6075,6244,5855,5614,3604,4606,5496,5685,5118,5356,6719,6454,5960,5357,5961,6720,4145,3935,4621,5119,5962,4261,6721,6455,4786,5963,4375,4582,6245,6246,6247,6076,5437,4877,5856,3376,4380,6248,4160,6722,5148,6456,5211,6457,6723,4718,6458,6724,6249,5358,4044,3297,6459,6250,5857,5615,5497,5245,6460,5498,6725,6251,6252,5550,3793,5499,2959,5396,6461,6462,4572,5093,5500,5964,3806,4146,6463,4426,5762,5858,6077,6253,4755,3967,4220,5965,6254,4989,5501,6464,4352,6726,6078,4764,2290,5246,3906,5438,5283,3767,4964,2861,5763,5094,6255,6256,4622,5616,5859,5860,4707,6727,4285,4708,4824,5617,6257,5551,4787,5212,4965,4935,4687,6465,6728,6466,5686,6079,3494,4413,2995,5247,5966,5618,6729,5967,5764,5765,5687,5502,6730,6731,6080,5397,6467,4990,6258,6732,4538,5060,5619,6733,4719,5688,5439,5018,5149,5284,5503,6734,6081,4607,6259,5120,3645,5861,4583,6260,4584,4675,5620,4098,5440,6261,4863,2379,3306,4585,5552,5689,4586,5285,6735,4864,6736,5286,6082,6737,4623,3010,4788,4381,4558,5621,4587,4896,3698,3161,5248,4353,4045,6262,3754,5183,4588,6738,6263,6739,6740,5622,3936,6741,6468,6742,6264,5095,6469,4991,5968,6743,4992,6744,6083,4897,6745,4256,5766,4307,3108,3968,4444,5287,3889,4343,6084,4510,6085,4559,6086,4898,5969,6746,5623,5061,4919,5249,5250,5504,5441,6265,5320,4878,3242,5862,5251,3428,6087,6747,4237,5624,5442,6266,5553,4539,6748,2585,3533,5398,4262,6088,5150,4736,4438,6089,6267,5505,4966,6749,6268,6750,6269,5288,5554,3650,6090,6091,4624,6092,5690,6751,5863,4270,5691,4277,5555,5864,6752,5692,4720,4865,6470,5151,4688,4825,6753,3094,6754,6471,3235,4653,6755,5213,5399,6756,3201,4589,5865,4967,6472,5866,6473,5019,3016,6757,5321,4756,3957,4573,6093,4993,5767,4721,6474,6758,5625,6759,4458,6475,6270,6760,5556,4994,5214,5252,6271,3875,5768,6094,5034,5506,4376,5769,6761,2120,6476,5253,5770,6762,5771,5970,3990,5971,5557,5558,5772,6477,6095,2787,4641,5972,5121,6096,6097,6272,6763,3703,5867,5507,6273,4206,6274,4789,6098,6764,3619,3646,3833,3804,2394,3788,4936,3978,4866,4899,6099,6100,5559,6478,6765,3599,5868,6101,5869,5870,6275,6766,4527,6767]),Gr}var zr={},t7;function $x(){return t7||(t7=1,zr.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,zr.BIG5_TABLE_SIZE=5376,zr.Big5CharToFreqOrder=[1,1801,1506,255,1431,198,9,82,6,5008,177,202,3681,1256,2821,110,3814,33,3274,261,76,44,2114,16,2946,2187,1176,659,3971,26,3451,2653,1198,3972,3350,4202,410,2215,302,590,361,1964,8,204,58,4510,5009,1932,63,5010,5011,317,1614,75,222,159,4203,2417,1480,5012,3555,3091,224,2822,3682,3,10,3973,1471,29,2787,1135,2866,1940,873,130,3275,1123,312,5013,4511,2052,507,252,682,5014,142,1915,124,206,2947,34,3556,3204,64,604,5015,2501,1977,1978,155,1991,645,641,1606,5016,3452,337,72,406,5017,80,630,238,3205,1509,263,939,1092,2654,756,1440,1094,3453,449,69,2987,591,179,2096,471,115,2035,1844,60,50,2988,134,806,1869,734,2036,3454,180,995,1607,156,537,2907,688,5018,319,1305,779,2145,514,2379,298,4512,359,2502,90,2716,1338,663,11,906,1099,2553,20,2441,182,532,1716,5019,732,1376,4204,1311,1420,3206,25,2317,1056,113,399,382,1950,242,3455,2474,529,3276,475,1447,3683,5020,117,21,656,810,1297,2300,2334,3557,5021,126,4205,706,456,150,613,4513,71,1118,2037,4206,145,3092,85,835,486,2115,1246,1426,428,727,1285,1015,800,106,623,303,1281,5022,2128,2359,347,3815,221,3558,3135,5023,1956,1153,4207,83,296,1199,3093,192,624,93,5024,822,1898,2823,3136,795,2065,991,1554,1542,1592,27,43,2867,859,139,1456,860,4514,437,712,3974,164,2397,3137,695,211,3037,2097,195,3975,1608,3559,3560,3684,3976,234,811,2989,2098,3977,2233,1441,3561,1615,2380,668,2077,1638,305,228,1664,4515,467,415,5025,262,2099,1593,239,108,300,200,1033,512,1247,2078,5026,5027,2176,3207,3685,2682,593,845,1062,3277,88,1723,2038,3978,1951,212,266,152,149,468,1899,4208,4516,77,187,5028,3038,37,5,2990,5029,3979,5030,5031,39,2524,4517,2908,3208,2079,55,148,74,4518,545,483,1474,1029,1665,217,1870,1531,3138,1104,2655,4209,24,172,3562,900,3980,3563,3564,4519,32,1408,2824,1312,329,487,2360,2251,2717,784,2683,4,3039,3351,1427,1789,188,109,499,5032,3686,1717,1790,888,1217,3040,4520,5033,3565,5034,3352,1520,3687,3981,196,1034,775,5035,5036,929,1816,249,439,38,5037,1063,5038,794,3982,1435,2301,46,178,3278,2066,5039,2381,5040,214,1709,4521,804,35,707,324,3688,1601,2554,140,459,4210,5041,5042,1365,839,272,978,2262,2580,3456,2129,1363,3689,1423,697,100,3094,48,70,1231,495,3139,2196,5043,1294,5044,2080,462,586,1042,3279,853,256,988,185,2382,3457,1698,434,1084,5045,3458,314,2625,2788,4522,2335,2336,569,2285,637,1817,2525,757,1162,1879,1616,3459,287,1577,2116,768,4523,1671,2868,3566,2526,1321,3816,909,2418,5046,4211,933,3817,4212,2053,2361,1222,4524,765,2419,1322,786,4525,5047,1920,1462,1677,2909,1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213,309,1369,1130,2825,364,2234,1653,1299,3984,3567,3985,3986,2656,525,1085,3041,902,2001,1475,964,4527,421,1845,1415,1057,2286,940,1364,3141,376,4528,4529,1381,7,2527,983,2383,336,1710,2684,1846,321,3461,559,1131,3042,2752,1809,1132,1313,265,1481,1858,5049,352,1203,2826,3280,167,1089,420,2827,776,792,1724,3568,4214,2443,3281,5050,4215,5051,446,229,333,2753,901,3818,1200,1557,4530,2657,1921,395,2754,2685,3819,4216,1836,125,916,3209,2626,4531,5052,5053,3820,5054,5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146,438,2601,2910,2384,3354,1068,958,3043,461,311,2869,2686,4217,1916,3210,4218,1979,383,750,2755,2627,4219,274,539,385,1278,1442,5058,1154,1965,384,561,210,98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257,129,5060,3821,642,523,2789,2790,2658,5061,141,2235,1333,68,176,441,876,907,4220,603,2602,710,171,3464,404,549,18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534,5063,2991,368,5064,146,366,99,871,3693,1543,748,807,1586,1185,22,2263,379,3822,3211,5065,3212,505,1942,2628,1992,1382,2319,5066,380,2362,218,702,1818,1248,3465,3044,3572,3355,3282,5067,2992,3694,930,3283,3823,5068,59,5069,585,601,4221,497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071,749,1837,690,1900,3824,1773,3988,1476,429,1043,1791,2236,2117,917,4222,447,1086,1629,5072,556,5073,5074,2021,1654,844,1090,105,550,966,1758,2828,1008,1783,686,1095,5075,2287,793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825,980,2503,544,353,527,4538,908,2687,2913,5077,381,2629,1943,1348,5078,1341,1252,560,3095,5079,3467,2870,5080,2054,973,886,2081,143,4539,5081,5082,157,3989,496,4224,57,840,540,2039,4540,4541,3468,2118,1445,970,2264,1748,1966,2082,4225,3144,1234,1776,3284,2829,3695,773,1206,2130,1066,2040,1326,3990,1738,1725,4226,279,3145,51,1544,2604,423,1578,2131,2067,173,4542,1880,5083,5084,1583,264,610,3696,4543,2444,280,154,5085,5086,5087,1739,338,1282,3096,693,2871,1411,1074,3826,2445,5088,4544,5089,5090,1240,952,2399,5091,2914,1538,2688,685,1483,4227,2475,1436,953,4228,2055,4545,671,2400,79,4229,2446,3285,608,567,2689,3469,4230,4231,1691,393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672,3827,3213,1464,522,1119,661,1150,216,675,4547,3991,1432,3574,609,4548,2690,2402,5097,5098,5099,4232,3045,0,5100,2476,315,231,2447,301,3356,4549,2385,5101,233,4233,3697,1819,4550,4551,5102,96,1777,1315,2083,5103,257,5104,1810,3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097,363,1655,3214,5106,2993,5107,5108,5109,3992,1567,3993,718,103,3215,849,1443,341,3357,2949,1484,5110,1712,127,67,339,4235,2403,679,1412,821,5111,5112,834,738,351,2994,2147,846,235,1497,1881,418,1993,3828,2719,186,1100,2148,2756,3575,1545,1355,2950,2872,1377,583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363,78,3829,3830,267,1289,2100,2002,1594,4237,348,369,1274,2197,2178,1838,4552,1821,2830,3701,2757,2288,2003,4553,2951,2758,144,3358,882,4554,3995,2759,3470,4555,2915,5114,4238,1726,320,5115,3996,3046,788,2996,5116,2831,1774,1327,2873,3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660,787,2023,506,824,3702,534,323,4557,1044,3359,2024,1901,946,3471,5118,1779,1500,1678,5119,1882,4558,165,243,4559,3703,2528,123,683,4239,764,4560,36,3998,1793,589,2916,816,626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4e3,2874,1370,1228,1933,891,2084,2917,304,4240,5121,292,2997,2720,3577,691,2101,4241,1115,4561,118,662,5122,611,1156,854,2386,1316,2875,2,386,515,2918,5123,5124,3286,868,2238,1486,855,2661,785,2216,3048,5125,1040,3216,3578,5126,3146,448,5127,1525,5128,2165,4562,5129,3833,5130,4242,2833,3579,3147,503,818,4001,3148,1568,814,676,1444,306,1749,5131,3834,1416,1030,197,1428,805,2834,1501,4563,5132,5133,5134,1994,5135,4564,5136,5137,2198,13,2792,3704,2998,3149,1229,1917,5138,3835,2132,5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142,646,3836,2448,307,5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148,519,5149,128,2133,92,2289,1980,5150,4003,1512,342,3150,2199,5151,2793,2218,1981,3360,4244,290,1656,1317,789,827,2365,5152,3837,4566,562,581,4004,5153,401,4567,2252,94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156,828,1105,4245,1262,1394,5157,4246,605,4570,5158,1784,2876,5159,2835,819,2102,578,2200,2952,5160,1502,436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162,5163,2337,2068,23,4571,193,826,3838,2103,699,1630,4248,3098,390,1794,1064,3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573,137,4250,598,3101,1967,780,104,974,2953,5167,278,899,253,402,572,504,493,1339,5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253,565,1334,2722,863,41,5170,5171,4575,5172,1657,2338,19,463,2760,4251,606,5173,2999,3289,1087,2085,1323,2662,3e3,5174,1631,1623,1750,4252,2691,5175,2878,791,2723,2663,2339,232,2421,5176,3001,1498,5177,2664,2630,755,1366,3707,3290,3151,2026,1609,119,1918,3474,862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125,817,4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507,5182,2692,733,40,1632,1106,2879,345,4257,841,2531,230,4578,3002,1847,3292,3475,5183,1263,986,3476,5184,735,879,254,1137,857,622,1300,1180,1388,1562,4010,4011,2954,967,2761,2665,1349,592,2134,1692,3361,3003,1995,4258,1679,4012,1902,2188,5185,739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559,1871,2762,3004,5187,435,5188,343,1108,596,17,1751,4579,2239,3477,3709,5189,4580,294,3582,2955,1693,477,979,281,2042,3583,643,2043,3710,2631,2795,2266,1031,2340,2135,2303,3584,4581,367,1249,2560,5190,3585,5191,4582,1283,3362,2005,240,1762,3363,4583,4584,836,1069,3153,474,5192,2149,2532,268,3586,5193,3219,1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262,961,1673,2632,190,2006,2203,3841,4585,4586,5197,570,2504,3711,1490,5198,4587,2633,3293,1957,4588,584,1514,396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013,619,5202,3154,3294,215,2007,2796,2561,3220,4591,3221,4592,763,4263,3842,4593,5203,5204,1958,1767,2956,3365,3712,1174,452,1477,4594,3366,3155,5205,2838,1253,2387,2189,1091,2290,4264,492,5206,638,1169,1825,2136,1752,4014,648,926,1021,1324,4595,520,4596,997,847,1007,892,4597,3843,2267,1872,3713,2405,1785,4598,1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551,30,2268,4266,5207,2027,4600,3589,5208,501,5209,4267,594,3478,2166,1822,3590,3479,3591,3223,829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602,4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603,374,4017,652,4272,4273,375,1140,798,5216,5217,5218,2366,4604,2269,546,1659,138,3051,2450,4605,5219,2254,612,1849,910,796,3844,1740,1371,825,3845,3846,5220,2920,2562,5221,692,444,3052,2634,801,4606,4274,5222,1491,244,1053,3053,4275,4276,340,5223,4018,1041,3005,293,1168,87,1357,5224,1539,959,5225,2240,721,694,4277,3847,219,1478,644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826,730,1515,184,2840,66,4607,5228,1660,2958,246,3369,378,1457,226,3480,975,4020,2959,1264,3592,674,696,5229,163,5230,1141,2422,2167,713,3593,3370,4608,4021,5231,5232,1186,15,5233,1079,1070,5234,1522,3224,3594,276,1050,2725,758,1126,653,2960,3296,5235,2342,889,3595,4022,3104,3007,903,1250,4609,4023,3481,3596,1342,1681,1718,766,3297,286,89,2961,3715,5236,1713,5237,2607,3371,3008,5238,2962,2219,3225,2880,5239,4610,2505,2533,181,387,1075,4024,731,2190,3372,5240,3298,310,313,3482,2304,770,4278,54,3054,189,4611,3105,3848,4025,5241,1230,1617,1850,355,3597,4279,4612,3373,111,4280,3716,1350,3160,3483,3055,4281,2150,3299,3598,5242,2797,4026,4027,3009,722,2009,5243,1071,247,1207,2343,2478,1378,4613,2010,864,1437,1214,4614,373,3849,1142,2220,667,4615,442,2763,2563,3850,4028,1969,4282,3300,1840,837,170,1107,934,1336,1883,5244,5245,2119,4283,2841,743,1569,5246,4616,4284,582,2389,1418,3484,5247,1803,5248,357,1395,1729,3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250,482,2451,4618,5251,5252,1492,833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718,4286,1686,1795,416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881,4619,1610,1584,3056,2424,2764,443,3302,1163,3161,5257,5258,4029,5259,4287,2506,3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289,431,3485,5261,250,97,81,4290,5262,1648,1851,1558,160,848,5263,866,740,1694,5264,2204,2843,3226,4291,4621,3719,1687,950,2479,426,469,3227,3720,3721,4031,5265,5266,1188,424,1996,861,3601,4292,3854,2205,2694,168,1235,3602,4293,5267,2087,1674,4622,3374,3303,220,2565,1009,5268,3855,670,3010,332,1208,717,5269,5270,3603,2452,4032,3375,5271,513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534,3722,3604,815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035,1741,4036,3857,4037,5278,236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625,5281,308,5282,4626,245,4627,1852,2480,1307,2583,430,715,2137,2454,5283,270,199,2883,4038,5284,3606,2727,1753,761,1754,725,1661,1841,4628,3487,3724,5285,5286,587,14,3305,227,2608,326,480,2270,943,2765,3607,291,650,1884,5287,1702,1226,102,1547,62,3488,904,4629,3489,1164,4294,5288,5289,1224,1548,2766,391,498,1493,5290,1386,1419,5291,2056,1177,4630,813,880,1081,2368,566,1145,4631,2291,1001,1035,2566,2609,2242,394,1286,5292,5293,2069,5294,86,1494,1730,4039,491,1588,745,897,2963,843,3377,4040,2767,2884,3306,1768,998,2221,2070,397,1827,1195,1970,3725,3011,3378,284,5295,3861,2507,2138,2120,1904,5296,4041,2151,4042,4295,1036,3490,1905,114,2567,4296,209,1527,5297,5298,2964,2844,2635,2390,2728,3164,812,2568,5299,3307,5300,1559,737,1885,3726,1210,885,28,2695,3608,3862,5301,4297,1004,1780,4632,5302,346,1982,2222,2696,4633,3863,1742,797,1642,4043,1934,1072,1384,2152,896,4044,3308,3727,3228,2885,3609,5303,2569,1959,4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528,2610,161,1178,4300,1983,987,4637,1101,4301,631,4046,1157,3229,2425,1343,1241,1016,2243,2570,372,877,2344,2508,1160,555,1935,911,4047,5307,466,1170,169,1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308,992,2345,3491,1540,2730,1201,2071,2406,1997,2482,5309,4638,528,1923,2191,1503,1874,1570,2369,3379,3309,5310,557,1073,5311,1828,3492,2088,2271,3165,3059,3107,767,3108,2799,4639,1006,4302,4640,2346,1267,2179,3730,3230,778,4048,3231,2731,1597,2667,5312,4641,5313,3493,5314,5315,5316,3310,2698,1433,3311,131,95,1504,4049,723,4303,3166,1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052,4304,2584,248,1634,3864,912,5319,2845,3732,3060,3865,654,53,5320,3014,5321,1688,4642,777,3494,1032,4053,1425,5322,191,820,2121,2846,971,4643,931,3233,135,664,783,3866,1998,772,2922,1936,4054,3867,4644,2923,3234,282,2732,640,1372,3495,1127,922,325,3381,5323,5324,711,2045,5325,5326,4055,2223,2800,1937,4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058,4059,5328,2225,258,3236,4646,101,1227,5329,3313,1755,5330,1391,3314,5331,2924,2057,893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338,878,1325,1781,2801,4647,259,1385,2585,744,1183,2272,4648,5339,4060,2509,5340,684,1024,4306,5341,472,3612,3496,1165,3315,4061,4062,322,2153,881,455,1695,1152,1340,660,554,2154,4649,1058,4650,4307,830,1065,3383,4063,4651,1924,5342,1703,1919,5343,932,2273,122,5344,4652,947,677,5345,3870,2637,297,1906,1925,2274,4653,2322,3316,5346,5347,4308,5348,4309,84,4310,112,989,5349,547,1059,4064,701,3613,1019,5350,4311,5351,3497,942,639,457,2306,2456,993,2966,407,851,494,4654,3384,927,5352,1237,5353,2426,3385,573,4312,680,921,2925,1279,1875,285,790,1448,1984,719,2168,5354,5355,4655,4065,4066,1649,5356,1541,563,5357,1077,5358,3386,3061,3498,511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657,5359,535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313,1238,2586,3109,1259,5361,700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907,4658,2611,4070,781,2427,132,1589,203,147,273,2802,2407,898,1787,2155,4071,4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872,965,5369,1805,2699,1516,3614,1121,1082,1329,3317,4073,1449,3873,65,1128,2848,2927,2769,1590,3874,5370,5371,12,2668,45,976,2587,3169,4661,517,2535,1013,1037,3240,5372,3875,2849,5373,3876,5374,3499,5375,2612,614,1999,2323,3877,3110,2733,2638,5376,2588,4316,599,1269,5377,1811,3735,5378,2700,3111,759,1060,489,1806,3388,3318,1358,5379,5380,2391,1387,1215,2639,2256,490,5381,5382,4317,1759,2392,2348,5383,4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349,874,5384,5385,3501,3736,1859,91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403,3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076,2370,4667,5390,2030,5391,5392,4077,2702,1216,237,2589,4318,2324,4078,3881,4668,4669,2703,3615,3504,445,4670,5393,5394,5395,5396,2771,61,4079,3738,1823,4080,5397,687,2046,935,925,405,2670,703,1096,1860,2734,4671,4081,1877,1367,2704,3389,918,2106,1782,2483,334,3320,1611,1093,4672,564,3171,3505,3739,3390,945,2641,2058,4673,5398,1926,872,4319,5399,3506,2705,3112,349,4320,3740,4082,4674,3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047,782,4084,400,251,4323,1624,5400,5401,277,3742,299,1265,476,1191,3883,2122,4324,4325,1109,205,5402,2590,1e3,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573,107,2484,2158,4085,3507,3172,5407,1533,541,1301,158,753,4326,2886,3617,5408,1696,370,1088,4327,4680,3618,579,327,440,162,2244,269,1938,1374,3508,968,3063,56,1396,3113,2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413,2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088,5418,1076,49,5419,951,3242,3322,3323,450,2850,920,5420,1812,2805,2371,4328,1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686,2393,2614,260,1796,3244,5423,5424,3887,3324,708,5425,3620,1704,5426,3621,1351,1618,3394,3017,1887,944,4329,3395,4330,3064,3396,4331,5427,3744,422,413,1714,3325,500,2059,2350,4332,2486,5428,1344,1911,954,5429,1668,5430,5431,4089,2409,4333,3622,3888,4334,5432,2307,1318,2512,3114,133,3115,2887,4687,629,31,2851,2706,3889,4688,850,949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091,620,3245,981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434,3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439,869,2852,655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733,558,4692,3747,335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192,470,2735,2108,2806,913,1054,4093,5443,1027,5444,3066,4094,4693,982,2672,3399,3173,3512,3247,3248,1947,2807,5445,571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090,984,4695,3749,1960,5449,3750,852,923,2808,3513,3751,969,1519,999,2049,2325,1705,5450,3118,615,1662,151,597,4095,2410,2326,1049,275,4696,3752,4337,568,3753,3626,2487,4338,3754,5451,2430,2275,409,3249,5452,1566,2888,3514,1002,769,2853,194,2091,3174,3755,2226,3327,4339,628,1505,5453,5454,1763,2180,3019,4096,521,1161,2592,1788,2206,2411,4697,4097,1625,4340,4341,412,42,3119,464,5455,2642,4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328,1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092,460,5461,4701,5462,3020,962,588,3629,289,3250,2644,1116,52,5463,3067,1797,5464,5465,5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402,465,4703,1572,510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472,5473,536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809,5477,3329,1122,377,3251,5478,360,5479,5480,4343,1529,551,5481,2060,3759,1769,2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404,136,1468,1479,672,1171,3252,2308,271,3176,5483,2772,5484,2050,678,2736,865,1948,4707,5485,2014,4098,2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895,509,2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010,552,681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179,358,453,736,175,478,1117,905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632,4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932,3069,2182,3521,595,2123,5496,4100,5497,5498,4349,1707,2646,223,3762,1359,751,3121,183,3522,5499,2810,3021,419,2374,633,704,3897,2394,241,5500,5501,5502,838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136,2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615,484,3764,5506,4102,625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509,2774,808,2616,3765,3406,4105,4355,3123,2539,526,3407,3900,4356,955,5510,1620,4357,2647,2432,5511,1429,3766,1669,1832,994,928,5512,3633,1260,5513,5514,5515,1949,2293,741,2933,1626,4358,2738,2460,867,1184,362,3408,1392,5516,5517,4106,4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292,1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490,3332,5520,3769,4715,5521,5522,666,1003,3023,1022,3634,4361,5523,4716,1814,2257,574,3901,1603,295,1535,705,3902,4362,283,858,417,5524,5525,3255,4717,4718,3071,1220,1890,1046,2281,2461,4107,1393,1599,689,2575,388,4363,5526,2491,802,5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529,809,5530,5531,5532,575,2739,3524,956,1552,1469,1144,2328,5533,2329,1560,2462,3635,3257,4108,616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770,3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905,607,2311,3906,762,2892,1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723,2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451,5545,5546,5547,5548,2936,4109,4110,2492,2351,411,4111,4112,3637,3333,3124,4725,1561,2674,1452,4113,1375,5549,5550,47,2974,316,5551,1406,1591,2937,3181,5552,1025,2142,3125,3182,354,2740,884,2228,4369,2412,508,3772,726,3638,996,2433,3639,729,5553,392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813,919,2352,2975,2353,1270,4727,4115,73,5556,5557,647,5558,3259,2856,2259,1550,1346,3024,5559,1332,883,3526,5560,5561,5562,5563,3334,2775,5564,1212,831,1347,4370,4728,2331,3909,1864,3073,720,3910,4729,4730,3911,5565,4371,5566,5567,4731,5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938,669,2211,2675,2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735,3183,518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912,516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976,1422,577,1470,3026,1524,3410,5585,5586,432,4376,3074,3527,5587,2594,1455,2515,2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529,2649,4119,4377,4738,2295,895,924,4378,2171,331,2247,3076,166,1627,3077,1098,5591,1232,2894,2231,3411,4739,657,403,1196,2377,542,3775,3412,1600,4379,3530,5592,4740,2777,3261,576,530,1362,4741,4742,2540,2676,3776,4120,5593,842,3913,5594,2814,2032,1014,4121,213,2709,3413,665,621,4380,5595,3777,2939,2435,5596,2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597,724,2282,600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600,651,4384,5601,1612,4385,2621,5602,2857,5603,2743,2312,3078,5604,716,2464,3079,174,1255,2710,4122,3645,548,1320,1398,728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082,3778,3646,3779,747,5607,635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613,3415,4749,2437,451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616,4390,350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127,488,4752,458,4392,4128,3781,771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494,2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016,2745,5622,1155,1017,3782,3915,5623,3336,2313,201,1865,4397,1430,5624,4129,5625,5626,5627,5628,5629,4398,1604,5630,414,1866,371,2595,4754,4755,3532,2017,3127,4756,1708,960,4399,887,389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580,5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896,4400,5637,4401,2650,3418,2815,673,2712,2465,709,3533,4131,3648,4402,5638,1148,502,634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128,948,3263,121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133,1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816,531,2746,2545,3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018,120,4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713,1266,5650,1368,4766,2858,649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2e3,5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415,2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460,856,5659,3655,5660,2899,2978,5661,2900,3922,5662,4408,632,2517,875,3923,1697,3924,2296,5663,5664,4767,3028,1239,580,4768,4409,5665,914,936,2075,1190,4136,1039,2124,5666,5667,5668,5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137,915,3338,4411,4412,3339,1605,1835,5671,2748,398,3656,4413,3926,4138,328,1913,2860,4139,3927,1331,4414,3029,937,4415,5672,3657,4140,4141,3424,2161,4770,3425,524,742,538,3085,1012,5673,5674,3928,2466,5675,658,1103,225,3929,5676,5677,4771,5678,4772,5679,3267,1243,5680,4142,963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774,5685,5686,5687,3536,957,3426,2547,2033,1931,2941,2467,870,2019,3659,1746,2780,2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691,3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297,977,2901,2034,4144,1205,3429,5693,1765,3430,3189,2125,1271,714,1689,4775,3538,5694,2333,3931,533,4417,3660,2184,617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699,3932,1988,618,427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703,3541,4777,5704,2284,1576,473,3661,4419,3432,972,5705,3662,5706,3087,5707,5708,4778,4779,5709,3793,4145,4146,5710,153,4780,356,5711,1892,2902,4420,2144,408,803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715,2416,3433,752,5716,5717,1962,3341,2979,5718,746,3030,2470,4783,4423,3794,698,4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715,3937,1974,4425,5721,4426,3192,823,1303,1288,1236,2861,3542,4148,3435,774,3938,5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428,344,1173,288,2316,454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789,985,894,5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194,425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736,636,4791,1856,3940,760,1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213,479,5740,5741,832,5742,4153,2496,5743,2980,2497,3797,990,3132,627,1815,2652,4433,1582,4434,2126,2112,3543,4794,5744,799,4435,3195,5745,4795,2113,1737,3031,1018,543,754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903,4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270,1843,3665,1715,481,365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271,433,1895,2064,2076,5758,602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764,3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769,4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775,5776,1896,5777,5778,4808,1897,4158,318,5779,2095,4159,4437,5780,5781,485,5782,938,3941,553,2680,116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785,3668,2943,4160,1747,2944,2983,5786,5787,207,5788,4809,5789,4810,2521,5790,3033,890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795,941,2299,208,3546,4161,2020,330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798,2522,1613,4812,5799,3345,3945,2523,5800,4162,5801,1637,4163,2471,4813,3946,5802,2500,3034,3800,5803,5804,2195,4814,5805,2163,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6138,6139,6140,6141,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,3670,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,4815,6286,6287,6288,6289,6290,6291,6292,4816,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,4817,4818,6312,6313,6314,6315,6316,6317,6318,4819,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,4820,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,3441,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,4440,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,4821,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,3947,3948,6478,6479,6480,6481,3272,4441,6482,6483,6484,6485,4442,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,4822,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,2784,6557,4823,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,3949,6570,6571,6572,4824,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,4825,6584,6585,6586,3950,2785,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,4826,6613,6614,6615,4827,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,4164,6626,6627,6628,6629,6630,6631,6632,6633,6634,3547,6635,4828,6636,6637,6638,6639,6640,6641,6642,3951,2984,6643,6644,6645,6646,6647,6648,6649,4165,6650,4829,6651,6652,4830,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,4831,6663,6664,6665,6666,6667,6668,6669,6670,6671,4166,6672,4832,3952,6673,6674,6675,6676,4833,6677,6678,6679,4167,6680,6681,6682,3198,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,4834,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,4443,6735,6736,6737,6738,6739,6740,6741,6742,6743,6744,6745,4444,6746,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6781,4168,6782,6783,3442,6784,6785,6786,6787,6788,6789,6790,6791,4169,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6810,6811,4835,6812,6813,6814,4445,6815,6816,4446,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,3548,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,4836,6847,6848,6849,6850,6851,6852,6853,6854,3953,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,3199,6878,6879,6880,6881,6882,4447,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,4170,6905,6906,6907,6908,6909,6910,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,4837,6928,6929,6930,6931,6932,6933,6934,6935,6936,3346,6937,6938,4838,6939,6940,6941,4448,6942,6943,6944,6945,6946,4449,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,6989,6990,6991,6992,6993,6994,3671,6995,6996,6997,6998,4839,6999,7e3,7001,7002,3549,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,4840,7031,7032,7033,7034,7035,7036,7037,7038,4841,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,2985,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,4842,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,4450,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4843,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,4171,4172,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,4844,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,7314,7315,7316,4451,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,4173,7354,7355,4845,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,4846,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,3672,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,4452,7454,3200,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,4847,7475,7476,7477,3133,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,3347,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,4848,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,3801,4849,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,3035,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,4850,7617,7618,3802,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,4851,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,4453,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,3443,7698,7699,7700,7701,7702,4454,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,2472,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,3954,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,3134,7751,7752,4852,7753,7754,7755,4853,7756,7757,7758,7759,7760,4174,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,4854,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,4855,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,3955,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,3444,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,4175,7892,7893,7894,7895,7896,4856,4857,7897,7898,7899,7900,2598,7901,7902,7903,7904,7905,7906,7907,7908,4455,7909,7910,7911,7912,7913,7914,3201,7915,7916,7917,7918,7919,7920,7921,4858,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,4859,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,4860,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,4176,8017,8018,8019,8020,8021,8022,8023,4861,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,4862,4456,8037,8038,8039,8040,4863,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,4864,4177,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,4178,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,4865,4866,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,4179,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,4457,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,3445,8257,8258,8259,8260,8261,8262,4458,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,4459,8273,8274,8275,8276,3550,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,4460,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,4867,8308,8309,8310,8311,8312,3551,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,4868,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,4869,4461,8364,8365,8366,8367,8368,8369,8370,4870,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,4871,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,4462,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,2986,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,4180,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,4872,8565,8566,8567,8568,8569,8570,8571,8572,8573,4873,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,3803,8606,8607,8608,8609,8610,8611,8612,8613,4874,3804,8614,8615,8616,8617,8618,8619,8620,8621,3956,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,2865,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,4463,8657,8658,8659,4875,4876,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,4464,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,2261,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,4181,8734,8735,8736,8737,8738,8739,8740,8741,8742,8743,8744,8745,8746,8747,8748,8749,8750,8751,8752,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,4877,8764,8765,8766,8767,8768,8769,8770,8771,8772,8773,8774,8775,8776,8777,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,4878,8789,4879,8790,8791,8792,4880,8793,8794,8795,8796,8797,8798,8799,8800,8801,4881,8802,8803,8804,8805,8806,8807,8808,8809,8810,8811,8812,8813,8814,8815,3957,8816,8817,8818,8819,8820,8821,8822,8823,8824,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8836,8837,8838,8839,8840,8841,8842,8843,8844,8845,8846,8847,4882,8848,8849,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8881,8882,8883,8884,3202,8885,8886,8887,8888,8889,8890,8891,8892,8893,8894,8895,8896,8897,8898,8899,8900,8901,8902,8903,8904,8905,8906,8907,8908,8909,8910,8911,8912,8913,8914,8915,8916,8917,8918,8919,8920,8921,8922,8923,8924,4465,8925,8926,8927,8928,8929,8930,8931,8932,4883,8933,8934,8935,8936,8937,8938,8939,8940,8941,8942,8943,2214,8944,8945,8946,8947,8948,8949,8950,8951,8952,8953,8954,8955,8956,8957,8958,8959,8960,8961,8962,8963,8964,8965,4884,8966,8967,8968,8969,8970,8971,8972,8973,8974,8975,8976,8977,8978,8979,8980,8981,8982,8983,8984,8985,8986,8987,8988,8989,8990,8991,8992,4885,8993,8994,8995,8996,8997,8998,8999,9e3,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,4182,9022,9023,9024,9025,9026,9027,9028,9029,9030,9031,9032,9033,9034,9035,9036,9037,9038,9039,9040,9041,9042,9043,9044,9045,9046,9047,9048,9049,9050,9051,9052,9053,9054,9055,9056,9057,9058,9059,9060,9061,9062,9063,4886,9064,9065,9066,9067,9068,9069,4887,9070,9071,9072,9073,9074,9075,9076,9077,9078,9079,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,9107,9108,9109,9110,9111,9112,9113,9114,9115,9116,9117,9118,9119,9120,9121,9122,9123,9124,9125,9126,9127,9128,9129,9130,9131,9132,9133,9134,9135,9136,9137,9138,9139,9140,9141,3958,9142,9143,9144,9145,9146,9147,9148,9149,9150,9151,4888,9152,9153,9154,9155,9156,9157,9158,9159,9160,9161,9162,9163,9164,9165,9166,9167,9168,9169,9170,9171,9172,9173,9174,9175,4889,9176,9177,9178,9179,9180,9181,9182,9183,9184,9185,9186,9187,9188,9189,9190,9191,9192,9193,9194,9195,9196,9197,9198,9199,9200,9201,9202,9203,4890,9204,9205,9206,9207,9208,9209,9210,9211,9212,9213,9214,9215,9216,9217,9218,9219,9220,9221,9222,4466,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,4891,9246,9247,9248,9249,9250,9251,9252,9253,9254,9255,9256,9257,4892,9258,9259,9260,9261,4893,4894,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,4467,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,3673,9286,9287,9288,9289,9290,9291,9292,9293,9294,9295,9296,9297,9298,9299,9300,9301,9302,9303,9304,9305,9306,9307,9308,9309,9310,9311,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,4895,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,4468,9348,9349,9350,9351,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9372,9373,4896,9374,4469,9375,9376,9377,9378,9379,4897,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9398,9399,9400,9401,9402,9403,9404,9405,9406,4470,9407,2751,9408,9409,3674,3552,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,4898,9422,9423,9424,9425,9426,9427,9428,9429,3959,9430,9431,9432,9433,9434,9435,9436,4471,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9450,3348,9451,9452,9453,9454,9455,9456,9457,9458,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,9472,4899,9473,9474,9475,9476,9477,4900,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,3349,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,4901,9521,9522,9523,9524,9525,9526,4902,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,9548,9549,9550,9551,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,3805,9585,9586,9587,9588,9589,9590,9591,9592,9593,9594,9595,9596,9597,9598,9599,9600,9601,9602,4903,9603,9604,9605,9606,9607,4904,9608,9609,9610,9611,9612,9613,9614,4905,9615,9616,9617,9618,9619,9620,9621,9622,9623,9624,9625,9626,9627,9628,9629,9630,9631,9632,4906,9633,9634,9635,9636,9637,9638,9639,9640,9641,9642,9643,4907,9644,9645,9646,9647,9648,9649,9650,9651,9652,9653,9654,9655,9656,9657,9658,9659,9660,9661,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,4183,9673,9674,9675,9676,9677,4908,9678,9679,9680,9681,4909,9682,9683,9684,9685,9686,9687,9688,9689,9690,4910,9691,9692,9693,3675,9694,9695,9696,2945,9697,9698,9699,9700,9701,9702,9703,9704,9705,4911,9706,9707,9708,9709,9710,9711,9712,9713,9714,9715,9716,9717,9718,9719,9720,9721,9722,9723,9724,9725,9726,9727,9728,9729,9730,9731,9732,9733,9734,9735,4912,9736,9737,9738,9739,9740,4913,9741,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,4914,9759,9760,9761,9762,9763,9764,9765,9766,9767,9768,9769,9770,9771,9772,9773,9774,9775,9776,9777,9778,9779,9780,9781,9782,4915,9783,9784,9785,9786,9787,9788,9789,9790,9791,9792,9793,4916,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,9836,9837,9838,9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9866,9867,9868,4917,9869,9870,9871,9872,9873,9874,9875,9876,9877,9878,9879,9880,9881,9882,9883,9884,9885,9886,9887,9888,9889,9890,9891,9892,4472,9893,9894,9895,9896,9897,3806,9898,9899,9900,9901,9902,9903,9904,9905,9906,9907,9908,9909,9910,9911,9912,9913,9914,4918,9915,9916,9917,4919,9918,9919,9920,9921,4184,9922,9923,9924,9925,9926,9927,9928,9929,9930,9931,9932,9933,9934,9935,9936,9937,9938,9939,9940,9941,9942,9943,9944,9945,9946,4920,9947,9948,9949,9950,9951,9952,9953,9954,9955,4185,9956,9957,9958,9959,9960,9961,9962,9963,9964,9965,4921,9966,9967,9968,4473,9969,9970,9971,9972,9973,9974,9975,9976,9977,4474,9978,9979,9980,9981,9982,9983,9984,9985,9986,9987,9988,9989,9990,9991,9992,9993,9994,9995,9996,9997,9998,9999,1e4,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,4922,10022,4923,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,4924,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,4475,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,4476,10098,10099,10100,10101,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,2174,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,10132,10133,10134,10135,10136,10137,10138,10139,10140,3807,4186,4925,10141,10142,10143,10144,10145,10146,10147,4477,4187,10148,10149,10150,10151,10152,10153,4188,10154,10155,10156,10157,10158,10159,10160,10161,4926,10162,10163,10164,10165,10166,10167,10168,10169,10170,10171,10172,10173,10174,10175,10176,10177,10178,10179,10180,10181,10182,10183,10184,10185,10186,10187,10188,10189,10190,10191,10192,3203,10193,10194,10195,10196,10197,10198,10199,10200,4478,10201,10202,10203,10204,4479,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,4927,10235,10236,10237,10238,10239,10240,10241,10242,10243,10244,10245,10246,10247,10248,10249,10250,10251,10252,10253,10254,10255,10256,10257,10258,10259,10260,10261,10262,10263,10264,10265,10266,10267,10268,10269,10270,10271,10272,10273,4480,4928,4929,10274,10275,10276,10277,10278,10279,10280,10281,10282,10283,10284,10285,10286,10287,10288,10289,10290,10291,10292,10293,10294,10295,10296,10297,10298,10299,10300,10301,10302,10303,10304,10305,10306,10307,10308,10309,10310,10311,10312,10313,10314,10315,10316,10317,10318,10319,10320,10321,10322,10323,10324,10325,10326,10327,10328,10329,10330,10331,10332,10333,10334,4930,10335,10336,10337,10338,10339,10340,10341,10342,4931,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,10354,10355,3088,10356,2786,10357,10358,10359,10360,4189,10361,10362,10363,10364,10365,10366,10367,10368,10369,10370,10371,10372,10373,10374,10375,4932,10376,10377,10378,10379,10380,10381,10382,10383,10384,10385,10386,10387,10388,10389,10390,10391,10392,4933,10393,10394,10395,4934,10396,10397,10398,10399,10400,10401,10402,10403,10404,10405,10406,10407,10408,10409,10410,10411,10412,3446,10413,10414,10415,10416,10417,10418,10419,10420,10421,10422,10423,4935,10424,10425,10426,10427,10428,10429,10430,4936,10431,10432,10433,10434,10435,10436,10437,10438,10439,10440,10441,10442,10443,4937,10444,10445,10446,10447,4481,10448,10449,10450,10451,10452,10453,10454,10455,10456,10457,10458,10459,10460,10461,10462,10463,10464,10465,10466,10467,10468,10469,10470,10471,10472,10473,10474,10475,10476,10477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10505,4938,10506,10507,10508,10509,10510,2552,10511,10512,10513,10514,10515,10516,3447,10517,10518,10519,10520,10521,10522,10523,10524,10525,10526,10527,10528,10529,10530,10531,10532,10533,10534,10535,10536,10537,10538,10539,10540,10541,10542,10543,4482,10544,4939,10545,10546,10547,10548,10549,10550,10551,10552,10553,10554,10555,10556,10557,10558,10559,10560,10561,10562,10563,10564,10565,10566,10567,3676,4483,10568,10569,10570,10571,10572,3448,10573,10574,10575,10576,10577,10578,10579,10580,10581,10582,10583,10584,10585,10586,10587,10588,10589,10590,10591,10592,10593,10594,10595,10596,10597,10598,10599,10600,10601,10602,10603,10604,10605,10606,10607,10608,10609,10610,10611,10612,10613,10614,10615,10616,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,4484,10628,10629,10630,10631,10632,4940,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10650,10651,10652,10653,10654,10655,10656,4941,10657,10658,10659,2599,10660,10661,10662,10663,10664,10665,10666,3089,10667,10668,10669,10670,10671,10672,10673,10674,10675,10676,10677,10678,10679,10680,4942,10681,10682,10683,10684,10685,10686,10687,10688,10689,10690,10691,10692,10693,10694,10695,10696,10697,4485,10698,10699,10700,10701,10702,10703,10704,4943,10705,3677,10706,10707,10708,10709,10710,10711,10712,4944,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10728,4945,10729,10730,10731,10732,10733,10734,10735,10736,10737,10738,10739,10740,10741,10742,10743,10744,10745,10746,10747,10748,10749,10750,10751,10752,10753,10754,10755,10756,10757,10758,10759,10760,10761,4946,10762,10763,10764,10765,10766,10767,4947,4948,10768,10769,10770,10771,10772,10773,10774,10775,10776,10777,10778,10779,10780,10781,10782,10783,10784,10785,10786,10787,10788,10789,10790,10791,10792,10793,10794,10795,10796,10797,10798,10799,10800,10801,10802,10803,10804,10805,10806,10807,10808,10809,10810,10811,10812,10813,10814,10815,10816,10817,10818,10819,10820,10821,10822,10823,10824,10825,10826,10827,10828,10829,10830,10831,10832,10833,10834,10835,10836,10837,10838,10839,10840,10841,10842,10843,10844,10845,10846,10847,10848,10849,10850,10851,10852,10853,10854,10855,10856,10857,10858,10859,10860,10861,10862,10863,10864,10865,10866,10867,10868,10869,10870,10871,10872,10873,10874,10875,10876,10877,10878,4486,10879,10880,10881,10882,10883,10884,10885,4949,10886,10887,10888,10889,10890,10891,10892,10893,10894,10895,10896,10897,10898,10899,10900,10901,10902,10903,10904,10905,10906,10907,10908,10909,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,4487,10920,10921,10922,10923,10924,10925,10926,10927,10928,10929,10930,10931,10932,4950,10933,10934,10935,10936,10937,10938,10939,10940,10941,10942,10943,10944,10945,10946,10947,10948,10949,4488,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,4190,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10972,10973,10974,10975,10976,10977,10978,10979,10980,10981,10982,10983,10984,10985,10986,10987,10988,10989,10990,10991,10992,10993,10994,10995,10996,10997,10998,10999,11e3,11001,11002,11003,11004,11005,11006,3960,11007,11008,11009,11010,11011,11012,11013,11014,11015,11016,11017,11018,11019,11020,11021,11022,11023,11024,11025,11026,11027,11028,11029,11030,11031,11032,4951,11033,11034,11035,11036,11037,11038,11039,11040,11041,11042,11043,11044,11045,11046,11047,4489,11048,11049,11050,11051,4952,11052,11053,11054,11055,11056,11057,11058,4953,11059,11060,11061,11062,11063,11064,11065,11066,11067,11068,11069,11070,11071,4954,11072,11073,11074,11075,11076,11077,11078,11079,11080,11081,11082,11083,11084,11085,11086,11087,11088,11089,11090,11091,11092,11093,11094,11095,11096,11097,11098,11099,11100,11101,11102,11103,11104,11105,11106,11107,11108,11109,11110,11111,11112,11113,11114,11115,3808,11116,11117,11118,11119,11120,11121,11122,11123,11124,11125,11126,11127,11128,11129,11130,11131,11132,11133,11134,4955,11135,11136,11137,11138,11139,11140,11141,11142,11143,11144,11145,11146,11147,11148,11149,11150,11151,11152,11153,11154,11155,11156,11157,11158,11159,11160,11161,4956,11162,11163,11164,11165,11166,11167,11168,11169,11170,11171,11172,11173,11174,11175,11176,11177,11178,11179,11180,4957,11181,11182,11183,11184,11185,11186,4958,11187,11188,11189,11190,11191,11192,11193,11194,11195,11196,11197,11198,11199,11200,3678,11201,11202,11203,11204,11205,11206,4191,11207,11208,11209,11210,11211,11212,11213,11214,11215,11216,11217,11218,11219,11220,11221,11222,11223,11224,11225,11226,11227,11228,11229,11230,11231,11232,11233,11234,11235,11236,11237,11238,11239,11240,11241,11242,11243,11244,11245,11246,11247,11248,11249,11250,11251,4959,11252,11253,11254,11255,11256,11257,11258,11259,11260,11261,11262,11263,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11311,11312,11313,11314,3679,11315,11316,11317,11318,4490,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,4960,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11359,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,3961,4961,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,4192,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,4962,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,4963,11470,11471,4491,11472,11473,11474,11475,4964,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,4965,11493,11494,11495,11496,11497,11498,11499,11500,11501,11502,11503,11504,11505,11506,11507,11508,11509,11510,11511,11512,11513,11514,11515,11516,11517,11518,11519,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,3962,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11558,11559,11560,11561,11562,11563,11564,4193,4194,11565,11566,11567,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,4966,4195,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,3090,11605,11606,11607,11608,11609,11610,4967,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11624,11625,11626,11627,11628,11629,11630,11631,11632,11633,11634,11635,11636,11637,11638,11639,11640,11641,11642,11643,11644,11645,11646,11647,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11671,11672,11673,11674,4968,11675,11676,11677,11678,11679,11680,11681,11682,11683,11684,11685,11686,11687,11688,11689,11690,11691,11692,11693,3809,11694,11695,11696,11697,11698,11699,11700,11701,11702,11703,11704,11705,11706,11707,11708,11709,11710,11711,11712,11713,11714,11715,11716,11717,11718,3553,11719,11720,11721,11722,11723,11724,11725,11726,11727,11728,11729,11730,4969,11731,11732,11733,11734,11735,11736,11737,11738,11739,11740,4492,11741,11742,11743,11744,11745,11746,11747,11748,11749,11750,11751,11752,4970,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,11776,11777,11778,11779,11780,11781,11782,11783,11784,11785,11786,11787,11788,11789,11790,4971,11791,11792,11793,11794,11795,11796,11797,4972,11798,11799,11800,11801,11802,11803,11804,11805,11806,11807,11808,11809,11810,4973,11811,11812,11813,11814,11815,11816,11817,11818,11819,11820,11821,11822,11823,11824,11825,11826,11827,11828,11829,11830,11831,11832,11833,11834,3680,3810,11835,11836,4974,11837,11838,11839,11840,11841,11842,11843,11844,11845,11846,11847,11848,11849,11850,11851,11852,11853,11854,11855,11856,11857,11858,11859,11860,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,4493,11885,11886,11887,11888,11889,11890,11891,11892,11893,11894,11895,11896,11897,11898,11899,11900,11901,11902,11903,11904,11905,11906,11907,11908,11909,11910,11911,11912,11913,11914,11915,4975,11916,11917,11918,11919,11920,11921,11922,11923,11924,11925,11926,11927,11928,11929,11930,11931,11932,11933,11934,11935,11936,11937,11938,11939,11940,11941,11942,11943,11944,11945,11946,11947,11948,11949,4976,11950,11951,11952,11953,11954,11955,11956,11957,11958,11959,11960,11961,11962,11963,11964,11965,11966,11967,11968,11969,11970,11971,11972,11973,11974,11975,11976,11977,11978,11979,11980,11981,11982,11983,11984,11985,11986,11987,4196,11988,11989,11990,11991,11992,4977,11993,11994,11995,11996,11997,11998,11999,12e3,12001,12002,12003,12004,12005,12006,12007,12008,12009,12010,12011,12012,12013,12014,12015,12016,12017,12018,12019,12020,12021,12022,12023,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12035,12036,12037,12038,12039,12040,12041,12042,12043,12044,12045,12046,12047,12048,12049,12050,12051,12052,12053,12054,12055,12056,12057,12058,12059,12060,12061,4978,12062,12063,12064,12065,12066,12067,12068,12069,12070,12071,12072,12073,12074,12075,12076,12077,12078,12079,12080,12081,12082,12083,12084,12085,12086,12087,12088,12089,12090,12091,12092,12093,12094,12095,12096,12097,12098,12099,12100,12101,12102,12103,12104,12105,12106,12107,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,12119,12120,12121,12122,12123,4979,12124,12125,12126,12127,12128,4197,12129,12130,12131,12132,12133,12134,12135,12136,12137,12138,12139,12140,12141,12142,12143,12144,12145,12146,12147,12148,12149,12150,12151,12152,12153,12154,4980,12155,12156,12157,12158,12159,12160,4494,12161,12162,12163,12164,3811,12165,12166,12167,12168,12169,4495,12170,12171,4496,12172,12173,12174,12175,12176,3812,12177,12178,12179,12180,12181,12182,12183,12184,12185,12186,12187,12188,12189,12190,12191,12192,12193,12194,12195,12196,12197,12198,12199,12200,12201,12202,12203,12204,12205,12206,12207,12208,12209,12210,12211,12212,12213,12214,12215,12216,12217,12218,12219,12220,12221,4981,12222,12223,12224,12225,12226,12227,12228,12229,12230,12231,12232,12233,12234,12235,4982,12236,12237,12238,12239,12240,12241,12242,12243,12244,12245,4983,12246,12247,12248,12249,4984,12250,12251,12252,12253,12254,12255,12256,12257,12258,12259,12260,12261,12262,12263,12264,4985,12265,4497,12266,12267,12268,12269,12270,12271,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12284,12285,12286,12287,4986,12288,12289,12290,12291,12292,12293,12294,12295,12296,2473,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12307,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12319,3963,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,12330,12331,12332,4987,12333,12334,12335,12336,12337,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12351,12352,12353,12354,12355,12356,12357,12358,12359,3964,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,3965,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,4988,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,3554,12439,12440,12441,12442,12443,12444,12445,12446,12447,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,4989,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,4990,12481,12482,12483,12484,12485,12486,12487,12488,12489,4498,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12539,12540,12541,12542,12543,12544,12545,12546,12547,12548,12549,12550,12551,4991,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,3036,12579,12580,12581,12582,12583,3966,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,4499,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12687,12688,12689,12690,12691,12692,12693,12694,12695,12696,12697,12698,4992,12699,12700,12701,12702,12703,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12731,12732,12733,12734,12735,12736,12737,12738,12739,12740,12741,12742,12743,12744,12745,12746,12747,12748,12749,12750,12751,12752,12753,12754,12755,12756,12757,12758,12759,12760,12761,12762,12763,12764,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12777,12778,4993,2175,12779,12780,12781,12782,12783,12784,12785,12786,4500,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,4198,3967,12827,12828,12829,12830,12831,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12842,12843,12844,12845,12846,12847,12848,12849,12850,12851,12852,12853,12854,12855,12856,12857,12858,12859,12860,12861,4199,12862,12863,12864,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,12883,12884,12885,12886,12887,4501,12888,12889,12890,12891,12892,12893,12894,12895,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,4994,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,12924,12925,12926,12927,12928,12929,12930,12931,12932,12933,12934,12935,12936,12937,12938,12939,12940,12941,12942,12943,12944,12945,12946,12947,12948,12949,12950,12951,12952,12953,12954,12955,12956,1772,12957,12958,12959,12960,12961,12962,12963,12964,12965,12966,12967,12968,12969,12970,12971,12972,12973,12974,12975,12976,12977,12978,12979,12980,12981,12982,12983,12984,12985,12986,12987,12988,12989,12990,12991,12992,12993,12994,12995,12996,12997,4502,12998,4503,12999,13e3,13001,13002,13003,4504,13004,13005,13006,13007,13008,13009,13010,13011,13012,13013,13014,13015,13016,13017,13018,13019,13020,13021,13022,13023,13024,13025,13026,13027,13028,13029,3449,13030,13031,13032,13033,13034,13035,13036,13037,13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13050,13051,13052,13053,13054,13055,13056,13057,13058,13059,13060,13061,13062,13063,13064,13065,13066,13067,13068,13069,13070,13071,13072,13073,13074,13075,13076,13077,13078,13079,13080,13081,13082,13083,13084,13085,13086,13087,13088,13089,13090,13091,13092,13093,13094,13095,13096,13097,13098,13099,13100,13101,13102,13103,13104,13105,13106,13107,13108,13109,13110,13111,13112,13113,13114,13115,13116,13117,13118,3968,13119,4995,13120,13121,13122,13123,13124,13125,13126,13127,4505,13128,13129,13130,13131,13132,13133,13134,4996,4506,13135,13136,13137,13138,13139,4997,13140,13141,13142,13143,13144,13145,13146,13147,13148,13149,13150,13151,13152,13153,13154,13155,13156,13157,13158,13159,4998,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,4999,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,5e3,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,13225,13226,13227,4200,5001,13228,13229,13230,13231,13232,13233,13234,13235,13236,13237,13238,13239,13240,3969,13241,13242,13243,13244,3970,13245,13246,13247,13248,13249,13250,13251,13252,13253,13254,13255,13256,13257,13258,13259,13260,13261,13262,13263,13264,13265,13266,13267,13268,3450,13269,13270,13271,13272,13273,13274,13275,13276,5002,13277,13278,13279,13280,13281,13282,13283,13284,13285,13286,13287,13288,13289,13290,13291,13292,13293,13294,13295,13296,13297,13298,13299,13300,13301,13302,3813,13303,13304,13305,13306,13307,13308,13309,13310,13311,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13325,13326,13327,13328,4507,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,13341,5003,13342,13343,13344,13345,13346,13347,13348,13349,13350,13351,13352,13353,13354,13355,13356,13357,13358,13359,13360,13361,13362,13363,13364,13365,13366,13367,5004,13368,13369,13370,13371,13372,13373,13374,13375,13376,13377,13378,13379,13380,13381,13382,13383,13384,13385,13386,13387,13388,13389,13390,13391,13392,13393,13394,13395,13396,13397,13398,13399,13400,13401,13402,13403,13404,13405,13406,13407,13408,13409,13410,13411,13412,13413,13414,13415,13416,13417,13418,13419,13420,13421,13422,13423,13424,13425,13426,13427,13428,13429,13430,13431,13432,4508,13433,13434,13435,4201,13436,13437,13438,13439,13440,13441,13442,13443,13444,13445,13446,13447,13448,13449,13450,13451,13452,13453,13454,13455,13456,13457,5005,13458,13459,13460,13461,13462,13463,13464,13465,13466,13467,13468,13469,13470,4509,13471,13472,13473,13474,13475,13476,13477,13478,13479,13480,13481,13482,13483,13484,13485,13486,13487,13488,13489,13490,13491,13492,13493,13494,13495,13496,13497,13498,13499,13500,13501,13502,13503,13504,13505,13506,13507,13508,13509,13510,13511,13512,13513,13514,13515,13516,13517,13518,13519,13520,13521,13522,13523,13524,13525,13526,13527,13528,13529,13530,13531,13532,13533,13534,13535,13536,13537,13538,13539,13540,13541,13542,13543,13544,13545,13546,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13558,13559,13560,13561,13562,13563,13564,13565,13566,13567,13568,13569,13570,13571,13572,13573,13574,13575,13576,13577,13578,13579,13580,13581,13582,13583,13584,13585,13586,13587,13588,13589,13590,13591,13592,13593,13594,13595,13596,13597,13598,13599,13600,13601,13602,13603,13604,13605,13606,13607,13608,13609,13610,13611,13612,13613,13614,13615,13616,13617,13618,13619,13620,13621,13622,13623,13624,13625,13626,13627,13628,13629,13630,13631,13632,13633,13634,13635,13636,13637,13638,13639,13640,13641,13642,5006,13643,13644,13645,13646,13647,13648,13649,13650,13651,5007,13652,13653,13654,13655,13656,13657,13658,13659,13660,13661,13662,13663,13664,13665,13666,13667,13668,13669,13670,13671,13672,13673,13674,13675,13676,13677,13678,13679,13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13691,13692,13693,13694,13695,13696,13697,13698,13699,13700,13701,13702,13703,13704,13705,13706,13707,13708,13709,13710,13711,13712,13713,13714,13715,13716,13717,13718,13719,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13733,13734,13735,13736,13737,13738,13739,13740,13741,13742,13743,13744,13745,13746,13747,13748,13749,13750,13751,13752,13753,13754,13755,13756,13757,13758,13759,13760,13761,13762,13763,13764,13765,13766,13767,13768,13769,13770,13771,13772,13773,13774,3273,13775,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13793,13794,13795,13796,13797,13798,13799,13800,13801,13802,13803,13804,13805,13806,13807,13808,13809,13810,13811,13812,13813,13814,13815,13816,13817,13818,13819,13820,13821,13822,13823,13824,13825,13826,13827,13828,13829,13830,13831,13832,13833,13834,13835,13836,13837,13838,13839,13840,13841,13842,13843,13844,13845,13846,13847,13848,13849,13850,13851,13852,13853,13854,13855,13856,13857,13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883,13884,13885,13886,13887,13888,13889,13890,13891,13892,13893,13894,13895,13896,13897,13898,13899,13900,13901,13902,13903,13904,13905,13906,13907,13908,13909,13910,13911,13912,13913,13914,13915,13916,13917,13918,13919,13920,13921,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962,13963,13964,13965,13966,13967,13968,13969,13970,13971,13972]),zr}var r7;function kr(){if(r7)return G1;r7=1;var e=Ix(),t=Rx(),r=Ox(),n=Dx(),i=$x();function o(){var m=1024,h=.99,p=.01,v=3,b=this;function _(){b._mCharToFreqOrder=null,b._mTableSize=null,b._mTypicalDistributionRatio=null,b.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(C,E){if(E==2)var N=this.getOrder(C);else N=-1;N>=0&&(this._mTotalChars++,N<this._mTableSize&&512>this._mCharToFreqOrder[N]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=v)return p;if(this._mTotalChars!=this._mFreqChars){var C=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(C<h)return C}return h},this.gotEnoughData=function(){return this._mTotalChars>m},this.getOrder=function(C){return-1},_()}G1.CharDistributionAnalysis=o;function s(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=t.EUCTWCharToFreqOrder,m._mTableSize=t.EUCTW_TABLE_SIZE,m._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=196?94*(p.charCodeAt(0)-196)+p.charCodeAt(1)-161:-1},h()}s.prototype=new o,G1.EUCTWDistributionAnalysis=s;function a(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=r.EUCKRCharToFreqOrder,m._mTableSize=r.EUCKR_TABLE_SIZE,m._mTypicalDistributionRatio=r.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},h()}a.prototype=new o,G1.EUCKRDistributionAnalysis=a;function l(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=n.GB2312CharToFreqOrder,m._mTableSize=n.GB2312_TABLE_SIZE,m._mTypicalDistributionRatio=n.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176&&p.charCodeAt(1)>=161?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},h()}l.prototype=new o,G1.GB2312DistributionAnalysis=l;function c(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=i.Big5CharToFreqOrder,m._mTableSize=i.BIG5_TABLE_SIZE,m._mTypicalDistributionRatio=i.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=164?p.charCodeAt(1)>=161?157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-161+63:157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-64:-1},h()}c.prototype=new o,G1.Big5DistributionAnalysis=c;function d(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=e.JISCharToFreqOrder,m._mTableSize=e.JIS_TABLE_SIZE,m._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){if(p.charCodeAt(0)>=129&&p.charCodeAt(0)<=159)var v=188*(p.charCodeAt(0)-129);else if(p.charCodeAt(0)>=224&&p.charCodeAt(0)<=239)v=188*(p.charCodeAt(0)-224+31);else return-1;return v+=p.charCodeAt(1)-64,(p.charCodeAt(1)<64||p.charCodeAt(1)===127||p.charCodeAt(1)>252)&&(v=-1),v},h()}d.prototype=new o,G1.SJISDistributionAnalysis=d;function f(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=e.JISCharToFreqOrder,m._mTableSize=e.JIS_TABLE_SIZE,m._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p[0]>=" "?94*(p.charCodeAt(0)-161)+p.charCodeAt(1)-161:-1},h()}return f.prototype=new o,G1.EUCJPDistributionAnalysis=f,G1}var a4,n7;function Fx(){if(n7)return a4;n7=1;var e=Xt(),t=Mr(),r=kx(),n=kr().Big5DistributionAnalysis;function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(r),o._mDistributionAnalyzer=new n,o.reset()}this.getCharsetName=function(){return"Big5"},s()}return i.prototype=new t,a4=i,a4}var l4,i7;function Px(){if(i7)return l4;i7=1;var e=C0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,9,8,8,10,11,11,11,11,11,11,11,12,13,13,13,14,15,0,0],r=[e.error,e.start,e.error,e.error,e.error,e.error,12,10,9,11,8,7,6,5,4,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,5,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error],n=[0,1,0,0,0,0,2,3,3,3,4,4,5,5,6,6];return l4={classTable:t,classFactor:16,stateTable:r,charLenTable:n,name:"UTF-8"},l4}var u4,o7;function Lx(){if(o7)return u4;o7=1;var e=Xt(),t=I2(),r=C0(),n=Px();function i(){t.apply(this);var o=.5,s=this;function a(){s._mCodingSM=new e(n),s.reset()}this.reset=function(){i.prototype.reset.apply(this),this._mCodingSM.reset(),this._mNumOfMBChar=0,this._mMBCharLen=0,this._mFullLen=0,this._mBasicAsciiLen=0},this.getCharsetName=function(){return"UTF-8"},this.feed=function(l){this._mFullLen+=l.length;for(var c=0,d;c<l.length;c++){d=l[c];var f=this._mCodingSM.nextState(d);if(f==r.error){this._mState=r.notMe;break}else if(f==r.itsMe){this._mState=r.foundIt;break}else f==r.start&&(this._mCodingSM.getCurrentCharLen()>=2?(this._mNumOfMBChar++,this._mMBCharLen+=this._mCodingSM.getCurrentCharLen()):d.charCodeAt(0)<128&&this._mBasicAsciiLen++)}return this.getState()==r.detecting&&this.getConfidence()>r.SHORTCUT_THRESHOLD&&(this._mState=r.foundIt),this.getState()},this.getConfidence=function(){var l=.99,c=0,d=this._mFullLen-this._mBasicAsciiLen;return d>0&&(c=this._mMBCharLen/d),this._mNumOfMBChar<6&&c<=.6?(l*=Math.pow(o,this._mNumOfMBChar),1-l):l},a()}return i.prototype=new t,u4=i,u4}var c4,s7;function Bx(){if(s7)return c4;s7=1;var e=C0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start],n=[0,1,1,2,0,0];return c4={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"Shift_JIS"},c4}var d4={},a7;function Q9(){return a7||(a7=1,function(e){e.jp2CharContext=[[0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1],[2,4,0,4,0,3,0,4,0,3,4,4,4,2,4,3,3,4,3,2,3,3,4,2,3,3,3,2,4,1,4,3,3,1,5,4,3,4,3,4,3,5,3,0,3,5,4,2,0,3,1,0,3,3,0,3,3,0,1,1,0,4,3,0,3,3,0,4,0,2,0,3,5,5,5,5,4,0,4,1,0,3,4],[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[0,4,0,5,0,5,0,4,0,4,5,4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4,3,2,2,1,2,0,3,0,0,4,1]];function t(){var i=6,o=-1,s=100,a=1e3,l=4,c=this;function d(){c.reset()}this.reset=function(){this._mTotalRel=0,this._mRelSample=[];for(var f=0;f<i;this._mRelSample[f++]=0);this._mNeedToSkipCharNum=0,this._mLastCharOrder=-1,this._mDone=!1},this.feed=function(f,m){if(!this._mDone)for(var h=this._mNeedToSkipCharNum;h<m;){var p=this.getOrder(f.slice(h,h+2)),v=p[0],b=p[1];if(h+=b,h>m)this._mNeedToSkipCharNum=h-m,this._mLastCharOrder=-1;else{if(v!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>a){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][v]]+=1}this._mLastCharOrder=v}}},this.gotEnoughData=function(){return this._mTotalRel>s},this.getConfidence=function(){return this._mTotalRel>l?(this._mTotalRel-this._mRelSample[0])/this._mTotalRel:o},this.getOrder=function(f){return[-1,1]},d()}function r(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=129&&i.charCodeAt(0)<=159||i.charCodeAt(0)>=224&&i.charCodeAt(0)<=252)var o=2;else o=1;return i.length>1&&i.charCodeAt(0)==130&&i.charCodeAt(1)>=159&&i.charCodeAt(0)<=241?[i.charCodeAt(1)-159,o]:[-1,o]}}r.prototype=new t,e.SJISContextAnalysis=r;function n(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=142||i.charCodeAt(0)>=161&&i.charCodeAt(0)<=254)var o=2;else i.charCodeAt(0)==143?o=3:o=1;return i.length>1&&i.charCodeAt(0)==164&&i.charCodeAt(1)>=161&&i.charCodeAt(1)<=243?[i.charCodeAt(1)-161,o]:[-1,o]}}n.prototype=new t,e.EUCJPContextAnalysis=n}(d4)),d4}var f4,l7;function Ux(){if(l7)return f4;l7=1;var e=Xt(),t=Mr(),r=Bx(),n=kr().SJISDistributionAnalysis,i=Q9().SJISContextAnalysis,o=C0(),s=R2();function a(){t.apply(this);var l=this;function c(){l._mCodingSM=new e(r),l._mDistributionAnalyzer=new n,l._mContextAnalyzer=new i,l.reset()}this.reset=function(){a.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"SHIFT_JIS"},this.feed=function(d){for(var f=d.length,m=0;m<f;m++){var h=this._mCodingSM.nextState(d[m]);if(h==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+m+`
|
|
55
|
-
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var p=this._mCodingSM.getCurrentCharLen();m==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-p).join(""),p),this._mDistributionAnalyzer.feed(this._mLastChar.join(""),p)):(this._mContextAnalyzer.feed(d.slice(m+1-p,m+3-p),p),this._mDistributionAnalyzer.feed(d.slice(m-1,m+1),p))}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},c()}return a.prototype=new t,
|
|
56
|
-
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var p=this._mCodingSM.getCurrentCharLen();if(m==0){this._mLastChar[1]=d[0];var v=this._mLastChar.join("");this._mContextAnalyzer.feed(v,p),this._mDistributionAnalyzer.feed(v,p)}else this._mContextAnalyzer.feed(d.slice(m-1,m+1),p),this._mDistributionAnalyzer.feed(d.slice(m-1,m+1),p)}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},c()}return a.prototype=new t,
|
|
57
|
-
`):
|
|
58
|
-
`),this._mState=t.notMe)}return this.getState()},this.getConfidence=function(){var b=.01;return this._mTotalSeqs>0&&(b=1*this._mSeqCounters[h]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,b*=this._mFreqChar/this._mTotalChar,b>=1&&(b=.99)),b},o=o!==void 0?o:!1,s=s!==void 0?s:null,v(i,o,s)}return n.prototype=new e,C4=n,C4}var x4={},v7;function Jx(){return v7||(v7=1,function(e){e.win1255_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,69,91,79,80,92,89,97,90,68,111,112,82,73,95,85,78,121,86,71,67,102,107,84,114,103,115,253,253,253,253,253,253,50,74,60,61,42,76,70,64,53,105,93,56,65,54,49,66,110,51,43,44,63,81,77,98,75,108,253,253,253,253,253,124,202,203,204,205,40,58,206,207,208,209,210,211,212,213,214,215,83,52,47,46,72,32,94,216,113,217,109,218,219,220,221,34,116,222,118,100,223,224,117,119,104,125,225,226,87,99,227,106,122,123,228,55,229,230,101,231,232,120,233,48,39,57,234,30,59,41,88,33,37,36,31,29,35,235,62,28,236,126,237,238,38,45,239,240,241,242,243,127,244,245,246,247,248,249,250,9,8,20,16,3,2,24,14,22,1,25,15,4,11,6,23,12,19,13,26,18,27,21,17,7,10,5,251,252,128,96,253],e.HebrewLangModel=[0,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,3,2,1,2,0,1,0,0,3,0,3,1,0,0,1,3,2,0,1,1,2,0,2,2,2,1,1,1,1,2,1,1,1,2,0,0,2,2,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,1,2,1,2,1,2,0,0,2,0,0,0,0,0,1,0,1,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,2,1,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,1,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,2,1,1,1,1,1,0,1,0,0,0,0,1,0,1,0,1,1,1,2,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0],e.Win1255HebrewModel={charToOrderMap:e.win1255_CharToOrderMap,precedenceMatrix:e.HebrewLangModel,mTypicalPositiveRatio:.984004,keepEnglishLetter:!1,charsetName:"windows-1255"}}(x4)),x4}var S4,b7;function Xx(){if(b7)return S4;b7=1;var e=I2(),t=C0();Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,o=Number(arguments[1])||0;for(o=o<0?Math.ceil(o):Math.floor(o),o<0&&(o+=i);o<i;o++)if(o in this&&this[o]===n)return o;return-1});function r(){e.apply(this);var n="ê",i="ë",o="í",s="î",a="ï",l="ð",c="ó",d="ô",f="õ",m=5,h=.01,p="ISO-8859-8",v="windows-1255",b=this;function _(){b._mLogicalProber=null,b._mVisualProber=null,b.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(C,E){this._mLogicalProber=C,this._mVisualProber=E},this.isFinal=function(C){return[n,o,a,c,f].indexOf(C)!=-1},this.isNonFinal=function(C){return[i,s,l,d].indexOf(C)!=-1},this.feed=function(C){if(this.getState()==t.notMe)return t.notMe;C=this.filterHighBitOnly(C);for(var E=0,N;E<C.length;E++)N=C[E],N==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&N!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=N;return t.detecting},this.getCharsetName=function(){var C=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(C>=m)return v;if(C<=-m)return p;var E=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return E>h?v:E<-h||C<0?p:v},this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},_()}return r.prototype=new e,S4=r,S4}var E4={},_7;function Qx(){return _7||(_7=1,function(e){e.KOI8R_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,68,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,27,3,21,28,13,2,39,19,26,4,23,11,8,12,5,1,15,16,9,7,6,14,24,10,17,18,20,25,30,29,22,54,59,37,44,58,41,48,53,46,55,42,60,36,49,38,31,34,35,43,45,32,40,52,56,33,61,62,51,57,47,63,50,70],e.win1251_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,68,247,248,249,250,251,252,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16],e.latin5_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.macCyrillic_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,68,16,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,255],e.IBM855_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,68,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,27,59,54,70,3,37,21,44,28,58,13,41,2,48,39,53,19,46,218,219,220,221,222,223,224,26,55,4,42,225,226,227,228,23,60,229,230,231,232,233,234,235,11,36,236,237,238,239,240,241,242,243,8,49,12,38,5,31,1,34,15,244,245,246,247,35,16,248,43,9,45,7,32,6,40,14,52,24,56,10,33,17,61,249,250,18,62,20,51,25,57,30,47,29,63,22,50,251,252,255],e.IBM866_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.RussianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,1,3,3,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,2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ToOrderMap:e.win1251_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"windows-1251"},e.Latin5CyrillicModel={charToOrderMap:e.latin5_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.MacCyrillicModel={charToOrderMap:e.macCyrillic_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"x-mac-cyrillic"},e.Ibm866Model={charToOrderMap:e.IBM866_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM866"},e.Ibm855Model={charToOrderMap:e.IBM855_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM855"}}(E4)),E4}var A4={},C7;function eS(){return C7||(C7=1,function(e){e.Latin7_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,90,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,248,61,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.win1253_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,61,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,253,253,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.GreekLangModel=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,2,0,0,0,2,0,0,0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,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.Latin7GreekModel={charToOrderMap:e.Latin7_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"ISO-8859-7"},e.Win1253GreekModel={charToOrderMap:e.win1253_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"windows-1253"}}(A4)),A4}var T4={},x7;function tS(){return x7||(x7=1,function(e){e.TIS620CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,182,106,107,100,183,184,185,101,94,186,187,108,109,110,111,188,189,190,89,95,112,113,191,192,193,194,253,253,253,253,253,253,64,72,73,114,74,115,116,102,81,201,117,90,103,78,82,96,202,91,79,84,104,105,97,98,92,203,253,253,253,253,253,209,210,211,212,213,88,214,215,216,217,218,219,220,118,221,222,223,224,99,85,83,225,226,227,228,229,230,231,232,233,234,235,236,5,30,237,24,238,75,8,26,52,34,51,119,47,58,57,49,53,55,43,20,19,44,14,48,3,17,25,39,62,31,54,45,9,16,2,61,15,239,12,42,46,18,21,76,4,66,63,22,10,1,36,23,13,40,27,32,35,86,240,241,242,243,244,11,28,41,29,33,245,50,37,6,7,67,77,38,93,246,247,68,56,59,65,69,60,70,80,71,87,248,249,250,251,252,253],e.ThaiLangModel=[0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,3,3,2,3,2,3,3,2,2,2,3,1,2,3,0,3,3,2,2,1,2,3,3,1,2,0,1,3,0,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,2,2,3,3,3,3,1,2,3,3,3,3,3,2,2,2,2,3,3,2,2,3,3,2,2,3,2,3,2,2,3,3,1,2,3,1,2,2,3,3,1,0,2,1,0,0,3,1,2,1,0,0,1,0,0,0,0,0,0,1,0,1,3,3,3,3,3,3,2,2,3,3,3,3,2,3,2,2,3,3,2,2,3,2,2,2,2,1,1,3,1,2,1,1,3,2,1,0,2,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,2,2,3,2,3,3,2,3,1,1,2,3,2,2,2,3,2,2,2,2,2,1,2,1,2,2,1,1,3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,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.TIS620ThaiModel={charToOrderMap:e.TIS620CharToOrderMap,precedenceMatrix:e.ThaiLangModel,mTypicalPositiveRatio:.926386,keepEnglishLetter:!1,charsetName:"TIS-620"}}(T4)),T4}var N4={},S7;function rS(){return S7||(S7=1,function(e){e.Latin2_HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,71,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,75,198,199,200,201,202,203,204,205,79,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,81,222,78,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,69,63,239,240,241,82,14,74,242,70,80,243,72,244,15,83,77,84,30,76,85,245,246,247,25,73,42,24,248,249,250,31,56,29,251,252,253],e.win1250HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,72,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,78,181,69,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,76,198,199,200,201,202,203,204,205,81,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,83,222,80,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,70,63,239,240,241,84,14,75,242,71,82,243,73,244,15,85,79,86,30,77,87,245,246,247,25,74,42,24,248,249,250,31,56,29,251,252,253],e.HungarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,2,3,3,1,1,2,2,2,2,2,1,2,3,2,2,3,3,3,3,3,2,3,3,3,3,3,3,1,2,3,3,3,3,2,3,3,1,1,3,3,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,3,2,1,3,3,3,3,3,2,3,3,3,3,3,1,1,2,3,3,3,3,3,3,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,1,1,2,3,3,3,1,3,3,3,3,3,1,3,3,2,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,2,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0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,1,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0],e.Latin2HungarianModel={charToOrderMap:e.Latin2_HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"ISO-8859-2"},e.Win1250HungarianModel={charToOrderMap:e.win1250HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"windows-1250"}}(N4)),N4}var M4={},E7;function nS(){return E7||(E7=1,function(e){e.Latin5_BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,81,226,227,228,229,230,105,231,232,233,234,235,236,45,237,238,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,239,67,240,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,241,42,16,62,242,243,244,58,245,98,246,247,248,249,250,251,91,252,253],e.win1251BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,206,207,208,209,210,211,212,213,120,214,215,216,217,218,219,220,221,78,64,83,121,98,117,105,222,223,224,225,226,227,228,229,88,230,231,232,233,122,89,106,234,235,236,237,238,45,239,240,73,80,118,114,241,242,243,244,245,62,58,246,247,248,249,250,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,251,67,252,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,253,42,16],e.BulgarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,2,2,1,2,2,3,1,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,2,0,0,2,0,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,2,0,0,0,0,0,0,2,1,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],e.Latin5BulgarianModel={charToOrderMap:e.Latin5_BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.Win1251BulgarianModel={charToOrderMap:e.win1251BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"windows-1251"}}(M4)),M4}var k4,A7;function iS(){if(A7)return k4;A7=1;var e=Kx(),t=X9(),r=Jx().Win1255HebrewModel,n=Xx(),i=Qx(),o=eS(),s=tS().TIS620ThaiModel,a=rS(),l=nS();function c(){t.apply(this);var d=this;function f(){d._mProbers=[new e(i.Win1251CyrillicModel),new e(i.Koi8rModel),new e(i.Latin5CyrillicModel),new e(i.MacCyrillicModel),new e(i.Ibm866Model),new e(i.Ibm855Model),new e(o.Latin7GreekModel),new e(o.Win1253GreekModel),new e(l.Latin5BulgarianModel),new e(l.Win1251BulgarianModel),new e(a.Latin2HungarianModel),new e(a.Win1250HungarianModel),new e(s)];var m=new n,h=new e(r,!1,m),p=new e(r,!0,m);m.setModelProbers(h,p),d._mProbers.push(m,h,p),d._supportedCharsetNames=[];for(const v of d._mProbers)d._supportedCharsetNames.push(v.getCharsetName());d.reset()}this.getSupportedCharsetNames=function(){return d._supportedCharsetNames},f()}return c.prototype=new t,k4=c,k4}var I4,T7;function oS(){if(T7)return I4;T7=1;var e=I2(),t=C0(),r=0,n=1,i=2,o=3,s=4,a=5,l=6,c=7,d=[n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,n,n,n,n,n,n,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,n,n,n,n,n,n,r,n,c,n,n,n,n,n,n,a,n,a,r,a,r,r,n,n,n,n,n,n,n,n,n,c,n,c,r,c,a,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,s,s,s,s,s,s,a,a,s,s,s,s,s,s,s,s,a,a,s,s,s,s,s,n,s,s,s,s,s,a,a,a,l,l,l,l,l,l,c,c,l,l,l,l,l,l,l,l,c,c,l,l,l,l,l,n,l,l,l,l,l,c,c,c],f=[0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,0,3,3,3,1,1,3,3,0,3,3,3,1,2,1,2,0,3,3,3,3,3,3,3,0,3,1,3,1,1,1,3,0,3,1,3,1,1,3,3];function m(){e.apply(this);var h=4,p=8,v=this;function b(){v.reset()}this.reset=function(){this._mLastCharClass=n,this._mFreqCounter=[];for(var _=0;_<h;this._mFreqCounter[_++]=0);m.prototype.reset.apply(this)},this.getCharsetName=function(){return"windows-1252"},this.getSupportedCharsetNames=function(){return[this.getCharsetName()]},this.feed=function(_){_=this.removeXmlTags(_);for(var C=0;C<_.length;C++){var E=_.charCodeAt(C),N=d[E],I=f[this._mLastCharClass*p+N];if(I==0){this._mState=t.notMe;break}this._mFreqCounter[I]++,this._mLastCharClass=N}return this.getState()},this.getConfidence=function(){var _;if(this.getState()==t.notMe)return .01;for(var C=0,E=0;E<this._mFreqCounter.length;E++)C+=this._mFreqCounter[E];return C<.01?_=0:_=this._mFreqCounter[3]/C-this._mFreqCounter[1]*20/C,_<0&&(_=0),_=_*.95,_},b()}return m.prototype=new e,I4=m,I4}var V2={},N7;function sS(){if(N7)return V2;N7=1;var e=C0(),t=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,5,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],r=[e.start,e.error,3,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,4,e.error,5,e.error,6,e.error,5,5,4,e.error,4,e.error,4,4,4,e.error,4,e.error,4,e.itsMe,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,0,0,0,0,0];V2.HZSMModel={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"HZ-GB-2312"};var i=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],o=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,5,6,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start],s=[0,0,0,0,0,0,0,0,0];V2.ISO2022CNSMModel={classTable:i,classFactor:9,stateTable:o,charLenTable:s,name:"ISO-2022-CN"};var a=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,7,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,4,0,8,0,0,0,0,9,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],l=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,5,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,6,e.itsMe,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start,e.start],c=[0,0,0,0,0,0,0,0,0,0];V2.ISO2022JPSMModel={classTable:a,classFactor:10,stateTable:l,charLenTable:c,name:"ISO-2022-JP"};var d=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],f=[e.start,3,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.start,e.start,e.start,e.start],m=[0,0,0,0,0,0];return V2.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:f,charLenTable:m,name:"ISO-2022-KR"},V2}var R4,M7;function aS(){if(M7)return R4;M7=1;var e=I2(),t=Xt(),r=sS(),n=C0();function i(){e.apply(this);var o=this;function s(){o._mCodingSM=[new t(r.HZSMModel),new t(r.ISO2022CNSMModel),new t(r.ISO2022JPSMModel),new t(r.ISO2022KRSMModel)],o._supportedCharsetNames=[];for(const a of o._mCodingSM)o._supportedCharsetNames.push(a.getCodingStateMachine());o.reset()}this.reset=function(){i.prototype.reset.apply(this);for(var a=0,l;l=this._mCodingSM[a];a++)l&&(l.active=!0,l.reset());this._mActiveSM=o._mCodingSM.length,this._mDetectedCharset=null},this.getCharsetName=function(){return this._mDetectedCharset},this.getSupportedCharsetNames=function(){return o._supportedCharsetNames},this.getConfidence=function(){return this._mDetectedCharset?.99:0},this.feed=function(a){for(var l=0,c;l<a.length;l++){c=a[l];for(var d=0,f;f=this._mCodingSM[d];d++)if(!(!f||!f.active)){var m=f.nextState(c);if(m==n.error){if(f.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=n.notMe,this.getState()}else if(m==n.itsMe)return this._mState=n.foundIt,this._mDetectedCharset=f.getCodingStateMachine(),this.getState()}}return this.getState()},s()}return i.prototype=new e,R4=i,R4}var O4,k7;function lS(){if(k7)return O4;k7=1;var e=C0(),t=Zx(),r=iS(),n=oS(),i=aS(),o=R2();const s=function(){const c=["UTF-8","UTF-32LE","UTF-32BE","UTF-32BE","UTF-16LE","UTF-16BE","X-ISO-10646-UCS-4-3412","X-ISO-10646-UCS-4-2143"],d=[new i,new t,new r,new n],f=c.slice(0);for(const m of d)[].push.apply(f,m.getSupportedCharsetNames());return f}(),a=function(){const c=[];for(const d of s)c.push(d.toLocaleLowerCase(),d.toLocaleLowerCase().replace(/-/g,""));return c}();function l(c){if(c||(c={}),typeof c.minimumThreshold!="number"&&(c.detectEncodings?c.minimumThreshold=0:c.minimumThreshold=.2),c.detectEncodings){for(const p of c.detectEncodings)if(!a.includes(p.toLowerCase()))throw new Error(`Encoding ${p} is not supported. Supported encodings: ${s}.`)}var d={pureAscii:0,escAscii:1,highbyte:2},f=this;function m(){f._highBitDetector=/[\x80-\xFF]/,f._escDetector=/(\x1B|~\{)/,f._mEscCharsetProber=null,f._mCharsetProbers=[],f.reset()}function h(p){if(!c.detectEncodings)return!0;var v=c.detectEncodings.map(b=>b.toLowerCase());return v.includes(p.toLowerCase())}this.reset=function(){this.result={encoding:null,confidence:0},this.results=[],this.done=!1,this._mStart=!0,this._mGotData=!1,this._mInputState=d.pureAscii,this._mLastChar=[],this._mBOM="",this._mEscCharsetProber&&this._mEscCharsetProber.reset();for(var p=0,v;v=this._mCharsetProbers[p];p++)v.reset()},this.feed=function(p){if(!this.done){var v=p.length;if(v){if(this._mGotData||(this._mBOM+=p,this._mBOM.slice(0,3)==""&&h("UTF-8")?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"&&h("UTF-32LE")?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"&&h("UTF-32BE")?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"&&h("X-ISO-10646-UCS-4-3412")?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"&&h("X-ISO-10646-UCS-4-2143")?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"&&h("UTF-16LE")?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&h("UTF-16BE")&&(this.result={encoding:"UTF-16BE",confidence:1}),this.result.confidence>0&&(this.results=[this.result]),this._mBOM.length>3&&(this._mGotData=!0)),this.result.encoding&&this.result.confidence>0){this.done=!0;return}if(this._mInputState==d.pureAscii&&(this._highBitDetector.test(p)?this._mInputState=d.highbyte:this._escDetector.test(this._mLastChar.join("")+p)&&(this._mInputState=d.escAscii)),this._mLastChar=p.slice(-1).split(""),this._mInputState==d.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new i),this._mEscCharsetProber.feed(p)==e.foundIt&&h(this._mEscCharsetProber.getCharsetName())&&(this.result={encoding:this._mEscCharsetProber.getCharsetName(),confidence:this._mEscCharsetProber.getConfidence()},this.results=[this.result],this.done=!0);else if(this._mInputState==d.highbyte){this._mCharsetProbers.length==0&&(this._mCharsetProbers=[new t,new r,new n]);for(var b=0,_;_=this._mCharsetProbers[b];b++)if(_.feed(p)==e.foundIt&&h(_.getCharsetName())){this.result={encoding:_.getCharsetName(),confidence:_.getConfidence()},this.results=[this.result],this.done=!0;break}}}}},this.close=function(){if(!this.done){if(this._mBOM.length===0){o.log(`no data received!
|
|
59
|
-
`);return}if(this.done=!0,this._mInputState==d.pureAscii&&h("ascii"))return o.log("pure ascii"),this.result={encoding:"ascii",confidence:1},this.results.push(this.result),this.result;if(this._mInputState==d.highbyte){let _=0,C=!1;for(var p=0,v;v=this._mCharsetProbers[p];p++){if(!v)continue;const
|
|
53
|
+
`),a<d&&(a=d,this._mBestGuessProber=c)}return this._mBestGuessProber?a:0},o()}return n.prototype=new t,t4=n,t4}var r4,zs;function Jt(){if(zs)return r4;zs=1;var e=_0();function t(r){var n=this;function i(o){n._mModel=o,n._mCurrentBytePos=0,n._mCurrentCharLen=0,n.reset()}this.reset=function(){this._mCurrentState=e.start},this.nextState=function(o){var s=this._mModel.classTable[o.charCodeAt(0)];return this._mCurrentState==e.start&&(this._mCurrentBytePos=0,this._mCurrentCharLen=this._mModel.charLenTable[s]),this._mCurrentState=this._mModel.stateTable[this._mCurrentState*this._mModel.classFactor+s],this._mCurrentBytePos++,this._mCurrentState},this.getCurrentCharLen=function(){return this._mCurrentCharLen},this.getCodingStateMachine=function(){return this._mModel.name},i(r)}return r4=t,r4}var n4,Ys;function Nr(){if(Ys)return n4;Ys=1;var e=N2(),t=_0(),r=M2();function n(){e.apply(this),this.reset=function(){n.prototype.reset.apply(this),this._mCodingSM&&this._mCodingSM.reset(),this._mDistributionAnalyzer&&this._mDistributionAnalyzer.reset(),this._mLastChar=["\0","\0"]},this.getCharsetName=function(){},this.feed=function(i){for(var o=i.length,s=0;s<o;s++){var a=this._mCodingSM.nextState(i[s]);if(a==t.error){r.log(this.getCharsetName()+" prober hit error at byte "+s+`
|
|
54
|
+
`),this._mState=t.notMe;break}else if(a==t.itsMe){this._mState=t.foundIt;break}else if(a==t.start){var l=this._mCodingSM.getCurrentCharLen();s==0?(this._mLastChar[1]=i[0],this._mDistributionAnalyzer.feed(this._mLastChar.join(""),l)):this._mDistributionAnalyzer.feed(i.slice(s-1,s+1),l)}}return this._mLastChar[0]=i[o-1],this.getState()==t.detecting&&this._mDistributionAnalyzer.gotEnoughData()&&this.getConfidence()>t.SHORTCUT_THRESHOLD&&(this._mState=t.foundIt),this.getState()},this.getConfidence=function(){return this._mDistributionAnalyzer.getConfidence()}}return n.prototype=new e,n4=n,n4}var i4,Zs;function Nx(){if(Zs)return i4;Zs=1;var e=_0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,1,1,2,0];return i4={classTable:t,classFactor:5,stateTable:r,charLenTable:n,name:"Big5"},i4}var j1={},Vr={},Ks;function Mx(){return Ks||(Ks=1,Vr.JIS_TYPICAL_DISTRIBUTION_RATIO=3,Vr.JIS_TABLE_SIZE=4368,Vr.JISCharToFreqOrder=[40,1,6,182,152,180,295,2127,285,381,3295,4304,3068,4606,3165,3510,3511,1822,2785,4607,1193,2226,5070,4608,171,2996,1247,18,179,5071,856,1661,1262,5072,619,127,3431,3512,3230,1899,1700,232,228,1294,1298,284,283,2041,2042,1061,1062,48,49,44,45,433,434,1040,1041,996,787,2997,1255,4305,2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928,5081,3296,3432,290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375,1691,3297,4306,4307,4611,452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117,5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472,598,618,820,1205,1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172,1875,2043,2149,1793,1382,2973,925,2404,1067,1241,960,1377,2935,1491,919,1217,1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804,2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998,3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161,26,3377,2,3929,20,3691,47,4100,50,17,16,35,268,27,243,42,155,24,154,29,184,4,91,14,92,53,396,33,289,9,37,64,620,21,39,321,5,12,11,52,13,3,208,138,0,7,60,526,141,151,1069,181,275,1591,83,132,1475,126,331,829,15,69,160,59,22,157,55,1079,312,109,38,23,25,10,19,79,5195,61,382,1124,8,30,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,89,62,74,34,2416,112,139,196,271,149,84,607,131,765,46,88,153,683,76,874,101,258,57,80,32,364,121,1508,169,1547,68,235,145,2999,41,360,3027,70,63,31,43,259,262,1383,99,533,194,66,93,846,217,192,56,106,58,565,280,272,311,256,146,82,308,71,100,128,214,655,110,261,104,1140,54,51,36,87,67,3070,185,2618,2936,2020,28,1066,2390,2059,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238,5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247,4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,363,642,2787,2878,2788,2789,2316,3232,2317,3434,2011,165,1942,3930,3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,2044,2060,4621,997,1235,473,1186,4622,920,3378,6115,6116,379,1108,4313,2657,2735,3934,6117,3809,636,3233,573,1026,3693,3435,2974,3300,2298,4105,854,2937,2463,393,2581,2417,539,752,1280,2750,2480,140,1161,440,708,1569,665,2497,1746,1291,1523,3e3,164,1603,847,1331,537,1997,486,508,1693,2418,1970,2227,878,1220,299,1030,969,652,2751,624,1137,3301,2619,65,3302,2045,1761,1859,3120,1930,3694,3516,663,1767,852,835,3695,269,767,2826,2339,1305,896,1150,770,1616,6118,506,1502,2075,1012,2519,775,2520,2975,2340,2938,4314,3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557,175,597,985,3517,2419,2521,1416,3029,585,938,1931,1007,1052,1932,1685,6120,3379,4316,4623,804,599,3121,1333,2128,2539,1159,1554,2032,3810,687,2033,2904,952,675,1467,3436,6121,2241,1096,1786,2440,1543,1924,980,1813,2228,781,2692,1879,728,1918,3696,4624,548,1950,4625,1809,1088,1356,3303,2522,1944,502,972,373,513,2827,586,2377,2391,1003,1976,1631,6122,2464,1084,648,1776,4626,2141,324,962,2012,2177,2076,1384,742,2178,1448,1173,1810,222,102,301,445,125,2420,662,2498,277,200,1476,1165,1068,224,2562,1378,1446,450,1880,659,791,582,4627,2939,3936,1516,1274,555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229,412,2114,1900,2392,3518,512,2597,427,1925,2341,3122,1653,1686,2465,2499,697,330,273,380,2162,951,832,780,991,1301,3073,965,2270,3519,668,2523,2636,1286,535,1407,518,671,957,2658,2378,267,611,2197,3030,6123,248,2299,967,1799,2356,850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879,2829,499,2179,676,4629,557,2329,2214,2090,325,3234,464,811,3001,992,2342,2481,1232,1469,303,2242,466,1070,2163,603,1777,2091,4630,2752,4631,2714,322,2659,1964,1768,481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849,2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634,1604,943,1724,1454,917,868,2215,1169,2940,552,1145,1800,1228,1823,1955,316,1080,2510,361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127,541,1263,1229,1148,2540,545,465,1833,2880,3438,1901,3074,2482,816,3937,713,1788,2500,122,1575,195,1451,2501,1111,6128,859,374,1225,2243,2483,4317,390,1033,3439,3075,2524,1687,266,793,1440,2599,946,779,802,507,897,1081,528,2189,1292,711,1866,1725,1167,1640,753,398,2661,1053,246,348,4318,137,1024,3440,1600,2077,2129,825,4319,698,238,521,187,2300,1157,2423,1641,1605,1464,1610,1097,2541,1260,1436,759,2255,1814,2150,705,3235,409,2563,3304,561,3033,2005,2564,726,1956,2343,3698,4109,949,3812,3813,3520,1669,653,1379,2525,881,2198,632,2256,1027,778,1074,733,1957,514,1481,2466,554,2180,702,3938,1606,1017,1398,6129,1380,3521,921,993,1313,594,449,1489,1617,1166,768,1426,1360,495,1794,3601,1177,3602,1170,4320,2344,476,425,3167,4635,3168,1424,401,2662,1171,3382,1998,1089,4110,477,3169,474,6130,1909,596,2831,1842,494,693,1051,1028,1207,3076,606,2115,727,2790,1473,1115,743,3522,630,805,1532,4321,2021,366,1057,838,684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090,1536,3939,3523,3306,1455,2199,336,369,2331,1035,584,2393,902,718,2600,6131,2753,463,2151,1149,1611,2467,715,1308,3124,1268,343,1413,3236,1517,1347,2663,2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980,872,2368,2441,2943,320,2369,2116,1082,679,1933,3941,2791,3815,625,1143,2023,422,2200,3816,6133,730,1695,356,2257,1626,2301,2858,2637,1627,1778,937,883,2906,2693,3002,1769,1086,400,1063,1325,3307,2792,4111,3077,456,2345,1046,747,6134,1524,884,1094,3383,1474,2164,1059,974,1688,2181,2258,1047,345,1665,1187,358,875,3170,305,660,3524,2190,1334,1135,3171,1540,1649,2542,1527,927,968,2793,885,1972,1850,482,500,2638,1218,1109,1085,2543,1654,2034,876,78,2287,1482,1277,861,1675,1083,1779,724,2754,454,397,1132,1612,2332,893,672,1237,257,2259,2370,135,3384,337,2244,547,352,340,709,2485,1400,788,1138,2511,540,772,1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533,407,576,3308,1254,2071,978,3385,170,136,1201,3125,2664,3172,2394,213,912,873,3603,1713,2202,699,3604,3699,813,3442,493,531,1054,468,2907,1483,304,281,4112,1726,1252,2094,339,2319,2130,2639,756,1563,2944,748,571,2976,1588,2425,2715,1851,1460,2426,1528,1392,1973,3237,288,3309,685,3386,296,892,2716,2216,1570,2245,722,1747,2217,905,3238,1103,6135,1893,1441,1965,251,1805,2371,3700,2601,1919,1078,75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817,524,706,1075,292,3818,1756,2602,317,98,3173,3605,3525,1844,2218,3819,2502,814,567,385,2908,1534,6137,534,1642,3239,797,6138,1670,1529,953,4323,188,1071,538,178,729,3240,2109,1226,1374,2e3,2357,2977,731,2468,1116,2014,2051,6139,1261,1593,803,2859,2736,3443,556,682,823,1541,6140,1369,2289,1706,2794,845,462,2603,2665,1361,387,162,2358,1740,739,1770,1720,1304,1401,3241,1049,627,1571,2427,3526,1877,3942,1852,1500,431,1910,1503,677,297,2795,286,1433,1038,1198,2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442,108,712,4640,2372,866,3701,2755,3242,1348,834,1945,1408,3527,2395,3243,1811,824,994,1179,2110,1548,1453,790,3003,690,4324,4325,2832,2909,3820,1860,3821,225,1748,310,346,1780,2470,821,1993,2717,2796,828,877,3528,2860,2471,1702,2165,2910,2486,1789,453,359,2291,1676,73,1164,1461,1127,3311,421,604,314,1037,589,116,2487,737,837,1180,111,244,735,6142,2261,1861,1362,986,523,418,581,2666,3822,103,855,503,1414,1867,2488,1091,657,1597,979,605,1316,4641,1021,2443,2078,2001,1209,96,587,2166,1032,260,1072,2153,173,94,226,3244,819,2006,4642,4114,2203,231,1744,782,97,2667,786,3387,887,391,442,2219,4326,1425,6143,2694,633,1544,1202,483,2015,592,2052,1958,2472,1655,419,129,4327,3444,3312,1714,1257,3078,4328,1518,1098,865,1310,1019,1885,1512,1734,469,2444,148,773,436,1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643,579,1238,932,2320,353,205,801,115,2428,944,2321,1881,399,2565,1211,678,766,3944,335,2101,1459,1781,1402,3945,2737,2131,1010,844,981,1326,1013,550,1816,1545,2620,1335,1008,371,2881,936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503,416,1643,4330,806,1126,229,591,3946,1314,1981,1576,1837,1666,347,1790,977,3313,764,2861,1853,688,2429,1920,1462,77,595,415,2002,3034,798,1192,4115,6144,2978,4331,3035,2695,2582,2072,2566,430,2430,1727,842,1396,3947,3702,613,377,278,236,1417,3388,3314,3174,757,1869,107,3530,6145,1194,623,2262,207,1253,2167,3446,3948,492,1117,1935,536,1838,2757,1246,4332,696,2095,2406,1393,1572,3175,1782,583,190,253,1390,2230,830,3126,3389,934,3245,1703,1749,2979,1870,2545,1656,2204,869,2346,4116,3176,1817,496,1764,4644,942,1504,404,1903,1122,1580,3606,2945,1022,515,372,1735,955,2431,3036,6146,2797,1110,2302,2798,617,6147,441,762,1771,3447,3607,3608,1904,840,3037,86,939,1385,572,1370,2445,1336,114,3703,898,294,203,3315,703,1583,2274,429,961,4333,1854,1951,3390,2373,3704,4334,1318,1381,966,1911,2322,1006,1155,309,989,458,2718,1795,1372,1203,252,1689,1363,3177,517,1936,168,1490,562,193,3823,1042,4117,1835,551,470,4645,395,489,3448,1871,1465,2583,2641,417,1493,279,1295,511,1236,1119,72,1231,1982,1812,3004,871,1564,984,3449,1667,2696,2096,4646,2347,2833,1673,3609,695,3246,2668,807,1183,4647,890,388,2333,1801,1457,2911,1765,1477,1031,3316,3317,1278,3391,2799,2292,2526,163,3450,4335,2669,1404,1802,6148,2323,2407,1584,1728,1494,1824,1269,298,909,3318,1034,1632,375,776,1683,2061,291,210,1123,809,1249,1002,2642,3038,206,1011,2132,144,975,882,1565,342,667,754,1442,2143,1299,2303,2062,447,626,2205,1221,2739,2912,1144,1214,2206,2584,760,1715,614,950,1281,2670,2621,810,577,1287,2546,4648,242,2168,250,2643,691,123,2644,647,313,1029,689,1357,2946,1650,216,771,1339,1306,808,2063,549,913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079,406,2671,2117,3949,4649,487,1825,2220,6150,2915,448,2348,1073,6151,2397,1707,130,900,1598,329,176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155,3706,1912,1513,1614,6153,1988,646,392,2304,1589,3320,3039,1826,1239,1352,1340,2916,505,2567,1709,1437,2408,2547,906,6154,2672,384,1458,1594,1100,1329,710,423,3531,2064,2231,2622,1989,2673,1087,1882,333,841,3005,1296,2882,2379,580,1937,1827,1293,2585,601,574,249,1772,4118,2079,1120,645,901,1176,1690,795,2207,478,1434,516,1190,1530,761,2080,930,1264,355,435,1552,644,1791,987,220,1364,1163,1121,1538,306,2169,1327,1222,546,2645,218,241,610,1704,3321,1984,1839,1966,2528,451,6155,2586,3707,2568,907,3178,254,2947,186,1845,4650,745,432,1757,428,1633,888,2246,2221,2489,3611,2118,1258,1265,956,3127,1784,4337,2490,319,510,119,457,3612,274,2035,2007,4651,1409,3128,970,2758,590,2800,661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111,485,2491,1429,1156,6156,2548,2183,1495,831,1840,2529,2446,501,1657,307,1894,3247,1341,666,899,2156,1539,2549,1559,886,349,2208,3081,2305,1736,3824,2170,2759,1014,1913,1386,542,1397,2948,490,368,716,362,159,282,2569,1129,1658,1288,1750,2674,276,649,2016,751,1496,658,1818,1284,1862,2209,2087,2512,3451,622,2834,376,117,1060,2053,1208,1721,1101,1443,247,1250,3179,1792,3952,2760,2398,3953,6157,2144,3708,446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082,424,2222,1251,2449,2119,2836,504,1581,4338,602,817,857,3825,2349,2306,357,3826,1470,1883,2883,255,958,929,2917,3248,302,4653,1050,1271,1751,2307,1952,1430,2697,2719,2359,354,3180,777,158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232,3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428,637,931,2721,2145,914,2550,2587,81,2450,612,827,2646,1242,4655,1118,2884,472,1855,3181,3533,3534,569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152,1938,134,1830,471,3710,2276,1112,1535,3323,3453,3535,982,1337,2950,488,826,674,1058,1628,4120,2017,522,2399,211,568,1367,3454,350,293,1872,1139,3249,1399,1946,3006,1300,2360,3324,588,736,6160,2606,744,669,3536,3828,6161,1358,199,723,848,933,851,1939,1505,1514,1338,1618,1831,4656,1634,3613,443,2740,3829,717,1947,491,1914,6162,2551,1542,4121,1025,6163,1099,1223,198,3040,2722,370,410,1905,2589,998,1248,3182,2380,519,1449,4122,1710,947,928,1153,4341,2277,344,2624,1511,615,105,161,1212,1076,1960,3130,2054,1926,1175,1906,2473,414,1873,2801,6164,2309,315,1319,3325,318,2018,2146,2157,963,631,223,4342,4343,2675,479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886,2184,1674,1330,1711,1635,1506,799,219,3250,3083,3954,1677,3713,3326,2081,3614,1652,2073,4657,1147,3041,1752,643,1961,147,1974,3955,6167,1716,2037,918,3007,1994,120,1537,118,609,3184,4345,740,3455,1219,332,1615,3830,6168,1621,2980,1582,783,212,553,2350,3714,1349,2433,2082,4124,889,6169,2310,1275,1410,973,166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658,629,822,3008,763,940,1990,2862,439,2409,1566,1240,1622,926,1282,1907,2764,654,2210,1607,327,1130,3956,1678,1623,6170,2434,2192,686,608,3831,3715,903,3957,3042,6171,2741,1522,1915,1105,1555,2552,1359,323,3251,4346,3457,738,1354,2553,2311,2334,1828,2003,3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847,520,1204,2607,264,4659,836,2677,2102,600,4660,3833,2278,3084,6174,4347,3615,1342,640,532,543,2608,1888,2400,2591,1009,4348,1497,341,1737,3616,2723,1394,529,3252,1321,983,4661,1515,2120,971,2592,924,287,1662,3186,4349,2700,4350,1519,908,1948,2452,156,796,1629,1486,2223,2055,694,4126,1259,1036,3392,1213,2249,2742,1889,1230,3958,1015,910,408,559,3617,4662,746,725,935,4663,3959,3009,1289,563,867,4664,3960,1567,2981,2038,2626,988,2263,2381,4351,143,2374,704,1895,6175,1188,3716,2088,673,3085,2362,4352,484,1608,1921,2765,2918,215,904,3618,3537,894,509,976,3043,2701,3961,4353,2837,2982,498,6176,6177,1102,3538,1332,3393,1487,1636,1637,233,245,3962,383,650,995,3044,460,1520,1206,2352,749,3327,530,700,389,1438,1560,1773,3963,2264,719,2951,2724,3834,870,1832,1644,1e3,839,2474,3717,197,1630,3394,365,2886,3964,1285,2133,734,922,818,1106,732,480,2083,1774,3458,923,2279,1350,221,3086,85,2233,2234,3835,1585,3010,2147,1387,1705,2382,1619,2475,133,239,2802,1991,1016,2084,2383,411,2838,1113,651,1985,1160,3328,990,1863,3087,1048,1276,2647,265,2627,1599,3253,2056,150,638,2019,656,853,326,1479,680,1439,4354,1001,1759,413,3459,3395,2492,1431,459,4355,1125,3329,2265,1953,1450,2065,2863,849,351,2678,3131,3254,3255,1104,1577,227,1351,1645,2453,2193,1421,2887,812,2121,634,95,2435,201,2312,4665,1646,1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189,328,2679,1077,1940,1136,558,1283,964,1195,621,2074,1199,1743,3460,3619,1896,1916,1890,3836,2952,1154,2112,1064,862,378,3011,2066,2113,2803,1568,2839,6178,3088,2919,1941,1660,2004,1992,2194,142,707,1590,1708,1624,1922,1023,1836,1233,1004,2313,789,741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721,593,2840,367,2920,1878,6180,3461,1521,628,1168,692,2211,2649,300,720,2067,2571,2953,3396,959,2504,3966,3539,3462,1977,701,6181,954,1043,800,681,183,3722,1803,1730,3540,4128,2103,815,2314,174,467,230,2454,1093,2134,755,3541,3397,1141,1162,6182,1738,2039,270,3256,2513,1005,1647,2185,3837,858,1679,1897,1719,2954,2324,1806,402,670,167,4129,1498,2158,2104,750,6183,915,189,1680,1551,455,4356,1501,2455,405,1095,2955,338,1586,1266,1819,570,641,1324,237,1556,2650,1388,3723,6184,1368,2384,1343,1978,3089,2436,879,3724,792,1191,758,3012,1411,2135,1322,4357,240,4667,1848,3725,1574,6185,420,3045,1546,1391,714,4358,1967,941,1864,863,664,426,560,1731,2680,1785,2864,1949,2363,403,3330,1415,1279,2136,1697,2335,204,721,2097,3838,90,6186,2085,2505,191,3967,124,2148,1376,1798,1178,1107,1898,1405,860,4359,1243,1272,2375,2983,1558,2456,1638,113,3621,578,1923,2609,880,386,4130,784,2186,2266,1422,2956,2172,1722,497,263,2514,1267,2412,2610,177,2703,3542,774,1927,1344,616,1432,1595,1018,172,4360,2325,911,4361,438,1468,3622,794,3968,2024,2173,1681,1829,2957,945,895,3090,575,2212,2476,475,2401,2681,785,2744,1745,2293,2555,1975,3133,2865,394,4668,3839,635,4131,639,202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457,3727,3134,4362,843,2611,437,916,4669,234,769,1884,3046,3047,3623,833,6187,1639,2250,2402,1355,1185,2010,2047,999,525,1732,1290,1488,2612,948,1578,3728,2413,2477,1216,2725,2159,334,3840,1328,3624,2921,1525,4132,564,1056,891,4363,1444,1698,2385,2251,3729,1365,2281,2235,1717,6188,864,3841,2515,444,527,2767,2922,3625,544,461,6189,566,209,2437,3398,2098,1065,2068,3331,3626,3257,2137,2138,2122,3730,2888,1995,1820,1044,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,4670,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,3187,6238,6239,3969,6240,6241,6242,6243,6244,4671,6245,6246,4672,6247,6248,4133,6249,6250,4364,6251,2923,2556,2613,4673,4365,3970,6252,6253,6254,6255,4674,6256,6257,6258,2768,2353,4366,4675,4676,3188,4367,3463,6259,4134,4677,4678,6260,2267,6261,3842,3332,4368,3543,6262,6263,6264,3013,1954,1928,4135,4679,6265,6266,2478,3091,6267,4680,4369,6268,6269,1699,6270,3544,4136,4681,6271,4137,6272,4370,2804,6273,6274,2593,3971,3972,4682,6275,2236,4683,6276,6277,4684,6278,6279,4138,3973,4685,6280,6281,3258,6282,6283,6284,6285,3974,4686,2841,3975,6286,6287,3545,6288,6289,4139,4687,4140,6290,4141,6291,4142,6292,6293,3333,6294,6295,6296,4371,6297,3399,6298,6299,4372,3976,6300,6301,6302,4373,6303,6304,3843,3731,6305,4688,4374,6306,6307,3259,2294,6308,3732,2530,4143,6309,4689,6310,6311,6312,3048,6313,6314,4690,3733,2237,6315,6316,2282,3334,6317,6318,3844,6319,6320,4691,6321,3400,4692,6322,4693,6323,3049,6324,4375,6325,3977,6326,6327,6328,3546,6329,4694,3335,6330,4695,4696,6331,6332,6333,6334,4376,3978,6335,4697,3979,4144,6336,3980,4698,6337,6338,6339,6340,6341,4699,4700,4701,6342,6343,4702,6344,6345,4703,6346,6347,4704,6348,4705,4706,3135,6349,4707,6350,4708,6351,4377,6352,4709,3734,4145,6353,2506,4710,3189,6354,3050,4711,3981,6355,3547,3014,4146,4378,3735,2651,3845,3260,3136,2224,1986,6356,3401,6357,4712,2594,3627,3137,2573,3736,3982,4713,3628,4714,4715,2682,3629,4716,6358,3630,4379,3631,6359,6360,6361,3983,6362,6363,6364,6365,4147,3846,4717,6366,6367,3737,2842,6368,4718,2628,6369,3261,6370,2386,6371,6372,3738,3984,4719,3464,4720,3402,6373,2924,3336,4148,2866,6374,2805,3262,4380,2704,2069,2531,3138,2806,2984,6375,2769,6376,4721,4722,3403,6377,6378,3548,6379,6380,2705,3092,1979,4149,2629,3337,2889,6381,3338,4150,2557,3339,4381,6382,3190,3263,3739,6383,4151,4723,4152,2558,2574,3404,3191,6384,6385,4153,6386,4724,4382,6387,6388,4383,6389,6390,4154,6391,4725,3985,6392,3847,4155,6393,6394,6395,6396,6397,3465,6398,4384,6399,6400,6401,6402,6403,6404,4156,6405,6406,6407,6408,2123,6409,6410,2326,3192,4726,6411,6412,6413,6414,4385,4157,6415,6416,4158,6417,3093,3848,6418,3986,6419,6420,3849,6421,6422,6423,4159,6424,6425,4160,6426,3740,6427,6428,6429,6430,3987,6431,4727,6432,2238,6433,6434,4386,3988,6435,6436,3632,6437,6438,2843,6439,6440,6441,6442,3633,6443,2958,6444,6445,3466,6446,2364,4387,3850,6447,4388,2959,3340,6448,3851,6449,4728,6450,6451,3264,4729,6452,3193,6453,4389,4390,2706,3341,4730,6454,3139,6455,3194,6456,3051,2124,3852,1602,4391,4161,3853,1158,3854,4162,3989,4392,3990,4731,4732,4393,2040,4163,4394,3265,6457,2807,3467,3855,6458,6459,6460,3991,3468,4733,4734,6461,3140,2960,6462,4735,6463,6464,6465,6466,4736,4737,4738,4739,6467,6468,4164,2403,3856,6469,6470,2770,2844,6471,4740,6472,6473,6474,6475,6476,6477,6478,3195,6479,4741,4395,6480,2867,6481,4742,2808,6482,2493,4165,6483,6484,6485,6486,2295,4743,6487,6488,6489,3634,6490,6491,6492,6493,6494,6495,6496,2985,4744,6497,6498,4745,6499,6500,2925,3141,4166,6501,6502,4746,6503,6504,4747,6505,6506,6507,2890,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,3469,4167,6520,6521,6522,4748,4396,3741,4397,4749,4398,3342,2125,4750,6523,4751,4752,4753,3052,6524,2961,4168,6525,4754,6526,4755,4399,2926,4169,6527,3857,6528,4400,4170,6529,4171,6530,6531,2595,6532,6533,6534,6535,3635,6536,6537,6538,6539,6540,6541,6542,4756,6543,6544,6545,6546,6547,6548,4401,6549,6550,6551,6552,4402,3405,4757,4403,6553,6554,6555,4172,3742,6556,6557,6558,3992,3636,6559,6560,3053,2726,6561,3549,4173,3054,4404,6562,6563,3993,4405,3266,3550,2809,4406,6564,6565,6566,4758,4759,6567,3743,6568,4760,3744,4761,3470,6569,6570,6571,4407,6572,3745,4174,6573,4175,2810,4176,3196,4762,6574,4177,6575,6576,2494,2891,3551,6577,6578,3471,6579,4408,6580,3015,3197,6581,3343,2532,3994,3858,6582,3094,3406,4409,6583,2892,4178,4763,4410,3016,4411,6584,3995,3142,3017,2683,6585,4179,6586,6587,4764,4412,6588,6589,4413,6590,2986,6591,2962,3552,6592,2963,3472,6593,6594,4180,4765,6595,6596,2225,3267,4414,6597,3407,3637,4766,6598,6599,3198,6600,4415,6601,3859,3199,6602,3473,4767,2811,4416,1856,3268,3200,2575,3996,3997,3201,4417,6603,3095,2927,6604,3143,6605,2268,6606,3998,3860,3096,2771,6607,6608,3638,2495,4768,6609,3861,6610,3269,2745,4769,4181,3553,6611,2845,3270,6612,6613,6614,3862,6615,6616,4770,4771,6617,3474,3999,4418,4419,6618,3639,3344,6619,4772,4182,6620,2126,6621,6622,6623,4420,4773,6624,3018,6625,4774,3554,6626,4183,2025,3746,6627,4184,2707,6628,4421,4422,3097,1775,4185,3555,6629,6630,2868,6631,6632,4423,6633,6634,4424,2414,2533,2928,6635,4186,2387,6636,4775,6637,4187,6638,1891,4425,3202,3203,6639,6640,4776,6641,3345,6642,6643,3640,6644,3475,3346,3641,4e3,6645,3144,6646,3098,2812,4188,3642,3204,6647,3863,3476,6648,3864,6649,4426,4001,6650,6651,6652,2576,6653,4189,4777,6654,6655,6656,2846,6657,3477,3205,4002,6658,4003,6659,3347,2252,6660,6661,6662,4778,6663,6664,6665,6666,6667,6668,6669,4779,4780,2048,6670,3478,3099,6671,3556,3747,4004,6672,6673,6674,3145,4005,3748,6675,6676,6677,6678,6679,3408,6680,6681,6682,6683,3206,3207,6684,6685,4781,4427,6686,4782,4783,4784,6687,6688,6689,4190,6690,6691,3479,6692,2746,6693,4428,6694,6695,6696,6697,6698,6699,4785,6700,6701,3208,2727,6702,3146,6703,6704,3409,2196,6705,4429,6706,6707,6708,2534,1996,6709,6710,6711,2747,6712,6713,6714,4786,3643,6715,4430,4431,6716,3557,6717,4432,4433,6718,6719,6720,6721,3749,6722,4006,4787,6723,6724,3644,4788,4434,6725,6726,4789,2772,6727,6728,6729,6730,6731,2708,3865,2813,4435,6732,6733,4790,4791,3480,6734,6735,6736,6737,4436,3348,6738,3410,4007,6739,6740,4008,6741,6742,4792,3411,4191,6743,6744,6745,6746,6747,3866,6748,3750,6749,6750,6751,6752,6753,6754,6755,3867,6756,4009,6757,4793,4794,6758,2814,2987,6759,6760,6761,4437,6762,6763,6764,6765,3645,6766,6767,3481,4192,6768,3751,6769,6770,2174,6771,3868,3752,6772,6773,6774,4193,4795,4438,3558,4796,4439,6775,4797,6776,6777,4798,6778,4799,3559,4800,6779,6780,6781,3482,6782,2893,6783,6784,4194,4801,4010,6785,6786,4440,6787,4011,6788,6789,6790,6791,6792,6793,4802,6794,6795,6796,4012,6797,6798,6799,6800,3349,4803,3483,6801,4804,4195,6802,4013,6803,6804,4196,6805,4014,4015,6806,2847,3271,2848,6807,3484,6808,6809,6810,4441,6811,4442,4197,4443,3272,4805,6812,3412,4016,1579,6813,6814,4017,6815,3869,6816,2964,6817,4806,6818,6819,4018,3646,6820,6821,4807,4019,4020,6822,6823,3560,6824,6825,4021,4444,6826,4198,6827,6828,4445,6829,6830,4199,4808,6831,6832,6833,3870,3019,2458,6834,3753,3413,3350,6835,4809,3871,4810,3561,4446,6836,6837,4447,4811,4812,6838,2459,4448,6839,4449,6840,6841,4022,3872,6842,4813,4814,6843,6844,4815,4200,4201,4202,6845,4023,6846,6847,4450,3562,3873,6848,6849,4816,4817,6850,4451,4818,2139,6851,3563,6852,6853,3351,6854,6855,3352,4024,2709,3414,4203,4452,6856,4204,6857,6858,3874,3875,6859,6860,4819,6861,6862,6863,6864,4453,3647,6865,6866,4820,6867,6868,6869,6870,4454,6871,2869,6872,6873,4821,6874,3754,6875,4822,4205,6876,6877,6878,3648,4206,4455,6879,4823,6880,4824,3876,6881,3055,4207,6882,3415,6883,6884,6885,4208,4209,6886,4210,3353,6887,3354,3564,3209,3485,2652,6888,2728,6889,3210,3755,6890,4025,4456,6891,4825,6892,6893,6894,6895,4211,6896,6897,6898,4826,6899,6900,4212,6901,4827,6902,2773,3565,6903,4828,6904,6905,6906,6907,3649,3650,6908,2849,3566,6909,3567,3100,6910,6911,6912,6913,6914,6915,4026,6916,3355,4829,3056,4457,3756,6917,3651,6918,4213,3652,2870,6919,4458,6920,2438,6921,6922,3757,2774,4830,6923,3356,4831,4832,6924,4833,4459,3653,2507,6925,4834,2535,6926,6927,3273,4027,3147,6928,3568,6929,6930,6931,4460,6932,3877,4461,2729,3654,6933,6934,6935,6936,2175,4835,2630,4214,4028,4462,4836,4215,6937,3148,4216,4463,4837,4838,4217,6938,6939,2850,4839,6940,4464,6941,6942,6943,4840,6944,4218,3274,4465,6945,6946,2710,6947,4841,4466,6948,6949,2894,6950,6951,4842,6952,4219,3057,2871,6953,6954,6955,6956,4467,6957,2711,6958,6959,6960,3275,3101,4843,6961,3357,3569,6962,4844,6963,6964,4468,4845,3570,6965,3102,4846,3758,6966,4847,3878,4848,4849,4029,6967,2929,3879,4850,4851,6968,6969,1733,6970,4220,6971,6972,6973,6974,6975,6976,4852,6977,6978,6979,6980,6981,6982,3759,6983,6984,6985,3486,3487,6986,3488,3416,6987,6988,6989,6990,6991,6992,6993,6994,6995,6996,6997,4853,6998,6999,4030,7e3,7001,3211,7002,7003,4221,7004,7005,3571,4031,7006,3572,7007,2614,4854,2577,7008,7009,2965,3655,3656,4855,2775,3489,3880,4222,4856,3881,4032,3882,3657,2730,3490,4857,7010,3149,7011,4469,4858,2496,3491,4859,2283,7012,7013,7014,2365,4860,4470,7015,7016,3760,7017,7018,4223,1917,7019,7020,7021,4471,7022,2776,4472,7023,7024,7025,7026,4033,7027,3573,4224,4861,4034,4862,7028,7029,1929,3883,4035,7030,4473,3058,7031,2536,3761,3884,7032,4036,7033,2966,2895,1968,4474,3276,4225,3417,3492,4226,2105,7034,7035,1754,2596,3762,4227,4863,4475,3763,4864,3764,2615,2777,3103,3765,3658,3418,4865,2296,3766,2815,7036,7037,7038,3574,2872,3277,4476,7039,4037,4477,7040,7041,4038,7042,7043,7044,7045,7046,7047,2537,7048,7049,7050,7051,7052,7053,7054,4478,7055,7056,3767,3659,4228,3575,7057,7058,4229,7059,7060,7061,3660,7062,3212,7063,3885,4039,2460,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,4866,3768,4867,7075,7076,7077,7078,4868,3358,3278,2653,7079,7080,4479,3886,7081,7082,4869,7083,7084,7085,7086,7087,7088,2538,7089,7090,7091,4040,3150,3769,4870,4041,2896,3359,4230,2930,7092,3279,7093,2967,4480,3213,4481,3661,7094,7095,7096,7097,7098,7099,7100,7101,7102,2461,3770,7103,7104,4231,3151,7105,7106,7107,4042,3662,7108,7109,4871,3663,4872,4043,3059,7110,7111,7112,3493,2988,7113,4873,7114,7115,7116,3771,4874,7117,7118,4232,4875,7119,3576,2336,4876,7120,4233,3419,4044,4877,4878,4482,4483,4879,4484,4234,7121,3772,4880,1045,3280,3664,4881,4882,7122,7123,7124,7125,4883,7126,2778,7127,4485,4486,7128,4884,3214,3887,7129,7130,3215,7131,4885,4045,7132,7133,4046,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4235,7144,4886,7145,7146,7147,4887,7148,7149,7150,4487,4047,4488,7151,7152,4888,4048,2989,3888,7153,3665,7154,4049,7155,7156,7157,7158,7159,7160,2931,4889,4890,4489,7161,2631,3889,4236,2779,7162,7163,4891,7164,3060,7165,1672,4892,7166,4893,4237,3281,4894,7167,7168,3666,7169,3494,7170,7171,4050,7172,7173,3104,3360,3420,4490,4051,2684,4052,7174,4053,7175,7176,7177,2253,4054,7178,7179,4895,7180,3152,3890,3153,4491,3216,7181,7182,7183,2968,4238,4492,4055,7184,2990,7185,2479,7186,7187,4493,7188,7189,7190,7191,7192,4896,7193,4897,2969,4494,4898,7194,3495,7195,7196,4899,4495,7197,3105,2731,7198,4900,7199,7200,7201,4056,7202,3361,7203,7204,4496,4901,4902,7205,4497,7206,7207,2315,4903,7208,4904,7209,4905,2851,7210,7211,3577,7212,3578,4906,7213,4057,3667,4907,7214,4058,2354,3891,2376,3217,3773,7215,7216,7217,7218,7219,4498,7220,4908,3282,2685,7221,3496,4909,2632,3154,4910,7222,2337,7223,4911,7224,7225,7226,4912,4913,3283,4239,4499,7227,2816,7228,7229,7230,7231,7232,7233,7234,4914,4500,4501,7235,7236,7237,2686,7238,4915,7239,2897,4502,7240,4503,7241,2516,7242,4504,3362,3218,7243,7244,7245,4916,7246,7247,4505,3363,7248,7249,7250,7251,3774,4506,7252,7253,4917,7254,7255,3284,2991,4918,4919,3219,3892,4920,3106,3497,4921,7256,7257,7258,4922,7259,4923,3364,4507,4508,4059,7260,4240,3498,7261,7262,4924,7263,2992,3893,4060,3220,7264,7265,7266,7267,7268,7269,4509,3775,7270,2817,7271,4061,4925,4510,3776,7272,4241,4511,3285,7273,7274,3499,7275,7276,7277,4062,4512,4926,7278,3107,3894,7279,7280,4927,7281,4513,7282,7283,3668,7284,7285,4242,4514,4243,7286,2058,4515,4928,4929,4516,7287,3286,4244,7288,4517,7289,7290,7291,3669,7292,7293,4930,4931,4932,2355,4933,7294,2633,4518,7295,4245,7296,7297,4519,7298,7299,4520,4521,4934,7300,4246,4522,7301,7302,7303,3579,7304,4247,4935,7305,4936,7306,7307,7308,7309,3777,7310,4523,7311,7312,7313,4248,3580,7314,4524,3778,4249,7315,3581,7316,3287,7317,3221,7318,4937,7319,7320,7321,7322,7323,7324,4938,4939,7325,4525,7326,7327,7328,4063,7329,7330,4940,7331,7332,4941,7333,4526,7334,3500,2780,1741,4942,2026,1742,7335,7336,3582,4527,2388,7337,7338,7339,4528,7340,4250,4943,7341,7342,7343,4944,7344,7345,7346,3020,7347,4945,7348,7349,7350,7351,3895,7352,3896,4064,3897,7353,7354,7355,4251,7356,7357,3898,7358,3779,7359,3780,3288,7360,7361,4529,7362,4946,4530,2027,7363,3899,4531,4947,3222,3583,7364,4948,7365,7366,7367,7368,4949,3501,4950,3781,4951,4532,7369,2517,4952,4252,4953,3155,7370,4954,4955,4253,2518,4533,7371,7372,2712,4254,7373,7374,7375,3670,4956,3671,7376,2389,3502,4065,7377,2338,7378,7379,7380,7381,3061,7382,4957,7383,7384,7385,7386,4958,4534,7387,7388,2993,7389,3062,7390,4959,7391,7392,7393,4960,3108,4961,7394,4535,7395,4962,3421,4536,7396,4963,7397,4964,1857,7398,4965,7399,7400,2176,3584,4966,7401,7402,3422,4537,3900,3585,7403,3782,7404,2852,7405,7406,7407,4538,3783,2654,3423,4967,4539,7408,3784,3586,2853,4540,4541,7409,3901,7410,3902,7411,7412,3785,3109,2327,3903,7413,7414,2970,4066,2932,7415,7416,7417,3904,3672,3424,7418,4542,4543,4544,7419,4968,7420,7421,4255,7422,7423,7424,7425,7426,4067,7427,3673,3365,4545,7428,3110,2559,3674,7429,7430,3156,7431,7432,3503,7433,3425,4546,7434,3063,2873,7435,3223,4969,4547,4548,2898,4256,4068,7436,4069,3587,3786,2933,3787,4257,4970,4971,3788,7437,4972,3064,7438,4549,7439,7440,7441,7442,7443,4973,3905,7444,2874,7445,7446,7447,7448,3021,7449,4550,3906,3588,4974,7450,7451,3789,3675,7452,2578,7453,4070,7454,7455,7456,4258,3676,7457,4975,7458,4976,4259,3790,3504,2634,4977,3677,4551,4260,7459,7460,7461,7462,3907,4261,4978,7463,7464,7465,7466,4979,4980,7467,7468,2213,4262,7469,7470,7471,3678,4981,7472,2439,7473,4263,3224,3289,7474,3908,2415,4982,7475,4264,7476,4983,2655,7477,7478,2732,4552,2854,2875,7479,7480,4265,7481,4553,4984,7482,7483,4266,7484,3679,3366,3680,2818,2781,2782,3367,3589,4554,3065,7485,4071,2899,7486,7487,3157,2462,4072,4555,4073,4985,4986,3111,4267,2687,3368,4556,4074,3791,4268,7488,3909,2783,7489,2656,1962,3158,4557,4987,1963,3159,3160,7490,3112,4988,4989,3022,4990,4991,3792,2855,7491,7492,2971,4558,7493,7494,4992,7495,7496,7497,7498,4993,7499,3426,4559,4994,7500,3681,4560,4269,4270,3910,7501,4075,4995,4271,7502,7503,4076,7504,4996,7505,3225,4997,4272,4077,2819,3023,7506,7507,2733,4561,7508,4562,7509,3369,3793,7510,3590,2508,7511,7512,4273,3113,2994,2616,7513,7514,7515,7516,7517,7518,2820,3911,4078,2748,7519,7520,4563,4998,7521,7522,7523,7524,4999,4274,7525,4564,3682,2239,4079,4565,7526,7527,7528,7529,5e3,7530,7531,5001,4275,3794,7532,7533,7534,3066,5002,4566,3161,7535,7536,4080,7537,3162,7538,7539,4567,7540,7541,7542,7543,7544,7545,5003,7546,4568,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,5004,7557,7558,7559,5005,7560,3795,7561,4569,7562,7563,7564,2821,3796,4276,4277,4081,7565,2876,7566,5006,7567,7568,2900,7569,3797,3912,7570,7571,7572,4278,7573,7574,7575,5007,7576,7577,5008,7578,7579,4279,2934,7580,7581,5009,7582,4570,7583,4280,7584,7585,7586,4571,4572,3913,7587,4573,3505,7588,5010,7589,7590,7591,7592,3798,4574,7593,7594,5011,7595,4281,7596,7597,7598,4282,5012,7599,7600,5013,3163,7601,5014,7602,3914,7603,7604,2734,4575,4576,4577,7605,7606,7607,7608,7609,3506,5015,4578,7610,4082,7611,2822,2901,2579,3683,3024,4579,3507,7612,4580,7613,3226,3799,5016,7614,7615,7616,7617,7618,7619,7620,2995,3290,7621,4083,7622,5017,7623,7624,7625,7626,7627,4581,3915,7628,3291,7629,5018,7630,7631,7632,7633,4084,7634,7635,3427,3800,7636,7637,4582,7638,5019,4583,5020,7639,3916,7640,3801,5021,4584,4283,7641,7642,3428,3591,2269,7643,2617,7644,4585,3592,7645,4586,2902,7646,7647,3227,5022,7648,4587,7649,4284,7650,7651,7652,4588,2284,7653,5023,7654,7655,7656,4589,5024,3802,7657,7658,5025,3508,4590,7659,7660,7661,1969,5026,7662,7663,3684,1821,2688,7664,2028,2509,4285,7665,2823,1841,7666,2689,3114,7667,3917,4085,2160,5027,5028,2972,7668,5029,7669,7670,7671,3593,4086,7672,4591,4087,5030,3803,7673,7674,7675,7676,7677,7678,7679,4286,2366,4592,4593,3067,2328,7680,7681,4594,3594,3918,2029,4287,7682,5031,3919,3370,4288,4595,2856,7683,3509,7684,7685,5032,5033,7686,7687,3804,2784,7688,7689,7690,7691,3371,7692,7693,2877,5034,7694,7695,3920,4289,4088,7696,7697,7698,5035,7699,5036,4290,5037,5038,5039,7700,7701,7702,5040,5041,3228,7703,1760,7704,5042,3229,4596,2106,4089,7705,4597,2824,5043,2107,3372,7706,4291,4090,5044,7707,4091,7708,5045,3025,3805,4598,4292,4293,4294,3373,7709,4599,7710,5046,7711,7712,5047,5048,3806,7713,7714,7715,5049,7716,7717,7718,7719,4600,5050,7720,7721,7722,5051,7723,4295,3429,7724,7725,7726,7727,3921,7728,3292,5052,4092,7729,7730,7731,7732,7733,7734,7735,5053,5054,7736,7737,7738,7739,3922,3685,7740,7741,7742,7743,2635,5055,7744,5056,4601,7745,7746,2560,7747,7748,7749,7750,3923,7751,7752,7753,7754,7755,4296,2903,7756,7757,7758,7759,7760,3924,7761,5057,4297,7762,7763,5058,4298,7764,4093,7765,7766,5059,3925,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,3595,7777,4299,5060,4094,7778,3293,5061,7779,7780,4300,7781,7782,4602,7783,3596,7784,7785,3430,2367,7786,3164,5062,5063,4301,7787,7788,4095,5064,5065,7789,3374,3115,7790,7791,7792,7793,7794,7795,7796,3597,4603,7797,7798,3686,3116,3807,5066,7799,7800,5067,7801,7802,4604,4302,5068,4303,4096,7803,7804,3294,7805,7806,5069,4605,2690,7807,3026,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,3926,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271]),Vr}var Ur={},Js;function kx(){return Js||(Js=1,Ur.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,Ur.EUCTW_TABLE_SIZE=8102,Ur.EUCTWCharToFreqOrder=[1,1800,1506,255,1431,198,9,82,6,7310,177,202,3615,1256,2808,110,3735,33,3241,261,76,44,2113,16,2931,2184,1176,659,3868,26,3404,2643,1198,3869,3313,4060,410,2211,302,590,361,1963,8,204,58,4296,7311,1931,63,7312,7313,317,1614,75,222,159,4061,2412,1480,7314,3500,3068,224,2809,3616,3,10,3870,1471,29,2774,1135,2852,1939,873,130,3242,1123,312,7315,4297,2051,507,252,682,7316,142,1914,124,206,2932,34,3501,3173,64,604,7317,2494,1976,1977,155,1990,645,641,1606,7318,3405,337,72,406,7319,80,630,238,3174,1509,263,939,1092,2644,756,1440,1094,3406,449,69,2969,591,179,2095,471,115,2034,1843,60,50,2970,134,806,1868,734,2035,3407,180,995,1607,156,537,2893,688,7320,319,1305,779,2144,514,2374,298,4298,359,2495,90,2707,1338,663,11,906,1099,2545,20,2436,182,532,1716,7321,732,1376,4062,1311,1420,3175,25,2312,1056,113,399,382,1949,242,3408,2467,529,3243,475,1447,3617,7322,117,21,656,810,1297,2295,2329,3502,7323,126,4063,706,456,150,613,4299,71,1118,2036,4064,145,3069,85,835,486,2114,1246,1426,428,727,1285,1015,800,106,623,303,1281,7324,2127,2354,347,3736,221,3503,3110,7325,1955,1153,4065,83,296,1199,3070,192,624,93,7326,822,1897,2810,3111,795,2064,991,1554,1542,1592,27,43,2853,859,139,1456,860,4300,437,712,3871,164,2392,3112,695,211,3017,2096,195,3872,1608,3504,3505,3618,3873,234,811,2971,2097,3874,2229,1441,3506,1615,2375,668,2076,1638,305,228,1664,4301,467,415,7327,262,2098,1593,239,108,300,200,1033,512,1247,2077,7328,7329,2173,3176,3619,2673,593,845,1062,3244,88,1723,2037,3875,1950,212,266,152,149,468,1898,4066,4302,77,187,7330,3018,37,5,2972,7331,3876,7332,7333,39,2517,4303,2894,3177,2078,55,148,74,4304,545,483,1474,1029,1665,217,1869,1531,3113,1104,2645,4067,24,172,3507,900,3877,3508,3509,4305,32,1408,2811,1312,329,487,2355,2247,2708,784,2674,4,3019,3314,1427,1788,188,109,499,7334,3620,1717,1789,888,1217,3020,4306,7335,3510,7336,3315,1520,3621,3878,196,1034,775,7337,7338,929,1815,249,439,38,7339,1063,7340,794,3879,1435,2296,46,178,3245,2065,7341,2376,7342,214,1709,4307,804,35,707,324,3622,1601,2546,140,459,4068,7343,7344,1365,839,272,978,2257,2572,3409,2128,1363,3623,1423,697,100,3071,48,70,1231,495,3114,2193,7345,1294,7346,2079,462,586,1042,3246,853,256,988,185,2377,3410,1698,434,1084,7347,3411,314,2615,2775,4308,2330,2331,569,2280,637,1816,2518,757,1162,1878,1616,3412,287,1577,2115,768,4309,1671,2854,3511,2519,1321,3737,909,2413,7348,4069,933,3738,7349,2052,2356,1222,4310,765,2414,1322,786,4311,7350,1919,1462,1677,2895,1699,7351,4312,1424,2437,3115,3624,2590,3316,1774,1940,3413,3880,4070,309,1369,1130,2812,364,2230,1653,1299,3881,3512,3882,3883,2646,525,1085,3021,902,2e3,1475,964,4313,421,1844,1415,1057,2281,940,1364,3116,376,4314,4315,1381,7,2520,983,2378,336,1710,2675,1845,321,3414,559,1131,3022,2742,1808,1132,1313,265,1481,1857,7352,352,1203,2813,3247,167,1089,420,2814,776,792,1724,3513,4071,2438,3248,7353,4072,7354,446,229,333,2743,901,3739,1200,1557,4316,2647,1920,395,2744,2676,3740,4073,1835,125,916,3178,2616,4317,7355,7356,3741,7357,7358,7359,4318,3117,3625,1133,2547,1757,3415,1510,2313,1409,3514,7360,2145,438,2591,2896,2379,3317,1068,958,3023,461,311,2855,2677,4074,1915,3179,4075,1978,383,750,2745,2617,4076,274,539,385,1278,1442,7361,1154,1964,384,561,210,98,1295,2548,3515,7362,1711,2415,1482,3416,3884,2897,1257,129,7363,3742,642,523,2776,2777,2648,7364,141,2231,1333,68,176,441,876,907,4077,603,2592,710,171,3417,404,549,18,3118,2393,1410,3626,1666,7365,3516,4319,2898,4320,7366,2973,368,7367,146,366,99,871,3627,1543,748,807,1586,1185,22,2258,379,3743,3180,7368,3181,505,1941,2618,1991,1382,2314,7369,380,2357,218,702,1817,1248,3418,3024,3517,3318,3249,7370,2974,3628,930,3250,3744,7371,59,7372,585,601,4078,497,3419,1112,1314,4321,1801,7373,1223,1472,2174,7374,749,1836,690,1899,3745,1772,3885,1476,429,1043,1790,2232,2116,917,4079,447,1086,1629,7375,556,7376,7377,2020,1654,844,1090,105,550,966,1758,2815,1008,1782,686,1095,7378,2282,793,1602,7379,3518,2593,4322,4080,2933,2297,4323,3746,980,2496,544,353,527,4324,908,2678,2899,7380,381,2619,1942,1348,7381,1341,1252,560,3072,7382,3420,2856,7383,2053,973,886,2080,143,4325,7384,7385,157,3886,496,4081,57,840,540,2038,4326,4327,3421,2117,1445,970,2259,1748,1965,2081,4082,3119,1234,1775,3251,2816,3629,773,1206,2129,1066,2039,1326,3887,1738,1725,4083,279,3120,51,1544,2594,423,1578,2130,2066,173,4328,1879,7386,7387,1583,264,610,3630,4329,2439,280,154,7388,7389,7390,1739,338,1282,3073,693,2857,1411,1074,3747,2440,7391,4330,7392,7393,1240,952,2394,7394,2900,1538,2679,685,1483,4084,2468,1436,953,4085,2054,4331,671,2395,79,4086,2441,3252,608,567,2680,3422,4087,4088,1691,393,1261,1791,2396,7395,4332,7396,7397,7398,7399,1383,1672,3748,3182,1464,522,1119,661,1150,216,675,4333,3888,1432,3519,609,4334,2681,2397,7400,7401,7402,4089,3025,0,7403,2469,315,231,2442,301,3319,4335,2380,7404,233,4090,3631,1818,4336,4337,7405,96,1776,1315,2082,7406,257,7407,1809,3632,2709,1139,1819,4091,2021,1124,2163,2778,1777,2649,7408,3074,363,1655,3183,7409,2975,7410,7411,7412,3889,1567,3890,718,103,3184,849,1443,341,3320,2934,1484,7413,1712,127,67,339,4092,2398,679,1412,821,7414,7415,834,738,351,2976,2146,846,235,1497,1880,418,1992,3749,2710,186,1100,2147,2746,3520,1545,1355,2935,2858,1377,583,3891,4093,2573,2977,7416,1298,3633,1078,2549,3634,2358,78,3750,3751,267,1289,2099,2001,1594,4094,348,369,1274,2194,2175,1837,4338,1820,2817,3635,2747,2283,2002,4339,2936,2748,144,3321,882,4340,3892,2749,3423,4341,2901,7417,4095,1726,320,7418,3893,3026,788,2978,7419,2818,1773,1327,2859,3894,2819,7420,1306,4342,2003,1700,3752,3521,2359,2650,787,2022,506,824,3636,534,323,4343,1044,3322,2023,1900,946,3424,7421,1778,1500,1678,7422,1881,4344,165,243,4345,3637,2521,123,683,4096,764,4346,36,3895,1792,589,2902,816,626,1667,3027,2233,1639,1555,1622,3753,3896,7423,3897,2860,1370,1228,1932,891,2083,2903,304,4097,7424,292,2979,2711,3522,691,2100,4098,1115,4347,118,662,7425,611,1156,854,2381,1316,2861,2,386,515,2904,7426,7427,3253,868,2234,1486,855,2651,785,2212,3028,7428,1040,3185,3523,7429,3121,448,7430,1525,7431,2164,4348,7432,3754,7433,4099,2820,3524,3122,503,818,3898,3123,1568,814,676,1444,306,1749,7434,3755,1416,1030,197,1428,805,2821,1501,4349,7435,7436,7437,1993,7438,4350,7439,7440,2195,13,2779,3638,2980,3124,1229,1916,7441,3756,2131,7442,4100,4351,2399,3525,7443,2213,1511,1727,1120,7444,7445,646,3757,2443,307,7446,7447,1595,3186,7448,7449,7450,3639,1113,1356,3899,1465,2522,2523,7451,519,7452,128,2132,92,2284,1979,7453,3900,1512,342,3125,2196,7454,2780,2214,1980,3323,7455,290,1656,1317,789,827,2360,7456,3758,4352,562,581,3901,7457,401,4353,2248,94,4354,1399,2781,7458,1463,2024,4355,3187,1943,7459,828,1105,4101,1262,1394,7460,4102,605,4356,7461,1783,2862,7462,2822,819,2101,578,2197,2937,7463,1502,436,3254,4103,3255,2823,3902,2905,3425,3426,7464,2712,2315,7465,7466,2332,2067,23,4357,193,826,3759,2102,699,1630,4104,3075,390,1793,1064,3526,7467,1579,3076,3077,1400,7468,4105,1838,1640,2863,7469,4358,4359,137,4106,598,3078,1966,780,104,974,2938,7470,278,899,253,402,572,504,493,1339,7471,3903,1275,4360,2574,2550,7472,3640,3029,3079,2249,565,1334,2713,863,41,7473,7474,4361,7475,1657,2333,19,463,2750,4107,606,7476,2981,3256,1087,2084,1323,2652,2982,7477,1631,1623,1750,4108,2682,7478,2864,791,2714,2653,2334,232,2416,7479,2983,1498,7480,2654,2620,755,1366,3641,3257,3126,2025,1609,119,1917,3427,862,1026,4109,7481,3904,3760,4362,3905,4363,2260,1951,2470,7482,1125,817,4110,4111,3906,1513,1766,2040,1487,4112,3030,3258,2824,3761,3127,7483,7484,1507,7485,2683,733,40,1632,1106,2865,345,4113,841,2524,230,4364,2984,1846,3259,3428,7486,1263,986,3429,7487,735,879,254,1137,857,622,1300,1180,1388,1562,3907,3908,2939,967,2751,2655,1349,592,2133,1692,3324,2985,1994,4114,1679,3909,1901,2185,7488,739,3642,2715,1296,1290,7489,4115,2198,2199,1921,1563,2595,2551,1870,2752,2986,7490,435,7491,343,1108,596,17,1751,4365,2235,3430,3643,7492,4366,294,3527,2940,1693,477,979,281,2041,3528,643,2042,3644,2621,2782,2261,1031,2335,2134,2298,3529,4367,367,1249,2552,7493,3530,7494,4368,1283,3325,2004,240,1762,3326,4369,4370,836,1069,3128,474,7495,2148,2525,268,3531,7496,3188,1521,1284,7497,1658,1546,4116,7498,3532,3533,7499,4117,3327,2684,1685,4118,961,1673,2622,190,2005,2200,3762,4371,4372,7500,570,2497,3645,1490,7501,4373,2623,3260,1956,4374,584,1514,396,1045,1944,7502,4375,1967,2444,7503,7504,4376,3910,619,7505,3129,3261,215,2006,2783,2553,3189,4377,3190,4378,763,4119,3763,4379,7506,7507,1957,1767,2941,3328,3646,1174,452,1477,4380,3329,3130,7508,2825,1253,2382,2186,1091,2285,4120,492,7509,638,1169,1824,2135,1752,3911,648,926,1021,1324,4381,520,4382,997,847,1007,892,4383,3764,2262,1871,3647,7510,2400,1784,4384,1952,2942,3080,3191,1728,4121,2043,3648,4385,2007,1701,3131,1551,30,2263,4122,7511,2026,4386,3534,7512,501,7513,4123,594,3431,2165,1821,3535,3432,3536,3192,829,2826,4124,7514,1680,3132,1225,4125,7515,3262,4387,4126,3133,2336,7516,4388,4127,7517,3912,3913,7518,1847,2383,2596,3330,7519,4389,374,3914,652,4128,4129,375,1140,798,7520,7521,7522,2361,4390,2264,546,1659,138,3031,2445,4391,7523,2250,612,1848,910,796,3765,1740,1371,825,3766,3767,7524,2906,2554,7525,692,444,3032,2624,801,4392,4130,7526,1491,244,1053,3033,4131,4132,340,7527,3915,1041,2987,293,1168,87,1357,7528,1539,959,7529,2236,721,694,4133,3768,219,1478,644,1417,3331,2656,1413,1401,1335,1389,3916,7530,7531,2988,2362,3134,1825,730,1515,184,2827,66,4393,7532,1660,2943,246,3332,378,1457,226,3433,975,3917,2944,1264,3537,674,696,7533,163,7534,1141,2417,2166,713,3538,3333,4394,3918,7535,7536,1186,15,7537,1079,1070,7538,1522,3193,3539,276,1050,2716,758,1126,653,2945,3263,7539,2337,889,3540,3919,3081,2989,903,1250,4395,3920,3434,3541,1342,1681,1718,766,3264,286,89,2946,3649,7540,1713,7541,2597,3334,2990,7542,2947,2215,3194,2866,7543,4396,2498,2526,181,387,1075,3921,731,2187,3335,7544,3265,310,313,3435,2299,770,4134,54,3034,189,4397,3082,3769,3922,7545,1230,1617,1849,355,3542,4135,4398,3336,111,4136,3650,1350,3135,3436,3035,4137,2149,3266,3543,7546,2784,3923,3924,2991,722,2008,7547,1071,247,1207,2338,2471,1378,4399,2009,864,1437,1214,4400,373,3770,1142,2216,667,4401,442,2753,2555,3771,3925,1968,4138,3267,1839,837,170,1107,934,1336,1882,7548,7549,2118,4139,2828,743,1569,7550,4402,4140,582,2384,1418,3437,7551,1802,7552,357,1395,1729,3651,3268,2418,1564,2237,7553,3083,3772,1633,4403,1114,2085,4141,1532,7554,482,2446,4404,7555,7556,1492,833,1466,7557,2717,3544,1641,2829,7558,1526,1272,3652,4142,1686,1794,416,2556,1902,1953,1803,7559,3773,2785,3774,1159,2316,7560,2867,4405,1610,1584,3036,2419,2754,443,3269,1163,3136,7561,7562,3926,7563,4143,2499,3037,4406,3927,3137,2103,1647,3545,2010,1872,4144,7564,4145,431,3438,7565,250,97,81,4146,7566,1648,1850,1558,160,848,7567,866,740,1694,7568,2201,2830,3195,4147,4407,3653,1687,950,2472,426,469,3196,3654,3655,3928,7569,7570,1188,424,1995,861,3546,4148,3775,2202,2685,168,1235,3547,4149,7571,2086,1674,4408,3337,3270,220,2557,1009,7572,3776,670,2992,332,1208,717,7573,7574,3548,2447,3929,3338,7575,513,7576,1209,2868,3339,3138,4409,1080,7577,7578,7579,7580,2527,3656,3549,815,1587,3930,3931,7581,3550,3439,3777,1254,4410,1328,3038,1390,3932,1741,3933,3778,3934,7582,236,3779,2448,3271,7583,7584,3657,3780,1273,3781,4411,7585,308,7586,4412,245,4413,1851,2473,1307,2575,430,715,2136,2449,7587,270,199,2869,3935,7588,3551,2718,1753,761,1754,725,1661,1840,4414,3440,3658,7589,7590,587,14,3272,227,2598,326,480,2265,943,2755,3552,291,650,1883,7591,1702,1226,102,1547,62,3441,904,4415,3442,1164,4150,7592,7593,1224,1548,2756,391,498,1493,7594,1386,1419,7595,2055,1177,4416,813,880,1081,2363,566,1145,4417,2286,1001,1035,2558,2599,2238,394,1286,7596,7597,2068,7598,86,1494,1730,3936,491,1588,745,897,2948,843,3340,3937,2757,2870,3273,1768,998,2217,2069,397,1826,1195,1969,3659,2993,3341,284,7599,3782,2500,2137,2119,1903,7600,3938,2150,3939,4151,1036,3443,1904,114,2559,4152,209,1527,7601,7602,2949,2831,2625,2385,2719,3139,812,2560,7603,3274,7604,1559,737,1884,3660,1210,885,28,2686,3553,3783,7605,4153,1004,1779,4418,7606,346,1981,2218,2687,4419,3784,1742,797,1642,3940,1933,1072,1384,2151,896,3941,3275,3661,3197,2871,3554,7607,2561,1958,4420,2450,1785,7608,7609,7610,3942,4154,1005,1308,3662,4155,2720,4421,4422,1528,2600,161,1178,4156,1982,987,4423,1101,4157,631,3943,1157,3198,2420,1343,1241,1016,2239,2562,372,877,2339,2501,1160,555,1934,911,3944,7611,466,1170,169,1051,2907,2688,3663,2474,2994,1182,2011,2563,1251,2626,7612,992,2340,3444,1540,2721,1201,2070,2401,1996,2475,7613,4424,528,1922,2188,1503,1873,1570,2364,3342,3276,7614,557,1073,7615,1827,3445,2087,2266,3140,3039,3084,767,3085,2786,4425,1006,4158,4426,2341,1267,2176,3664,3199,778,3945,3200,2722,1597,2657,7616,4427,7617,3446,7618,7619,7620,3277,2689,1433,3278,131,95,1504,3946,723,4159,3141,1841,3555,2758,2189,3947,2027,2104,3665,7621,2995,3948,1218,7622,3343,3201,3949,4160,2576,248,1634,3785,912,7623,2832,3666,3040,3786,654,53,7624,2996,7625,1688,4428,777,3447,1032,3950,1425,7626,191,820,2120,2833,971,4429,931,3202,135,664,783,3787,1997,772,2908,1935,3951,3788,4430,2909,3203,282,2723,640,1372,3448,1127,922,325,3344,7627,7628,711,2044,7629,7630,3952,2219,2787,1936,3953,3345,2220,2251,3789,2300,7631,4431,3790,1258,3279,3954,3204,2138,2950,3955,3956,7632,2221,258,3205,4432,101,1227,7633,3280,1755,7634,1391,3281,7635,2910,2056,893,7636,7637,7638,1402,4161,2342,7639,7640,3206,3556,7641,7642,878,1325,1780,2788,4433,259,1385,2577,744,1183,2267,4434,7643,3957,2502,7644,684,1024,4162,7645,472,3557,3449,1165,3282,3958,3959,322,2152,881,455,1695,1152,1340,660,554,2153,4435,1058,4436,4163,830,1065,3346,3960,4437,1923,7646,1703,1918,7647,932,2268,122,7648,4438,947,677,7649,3791,2627,297,1905,1924,2269,4439,2317,3283,7650,7651,4164,7652,4165,84,4166,112,989,7653,547,1059,3961,701,3558,1019,7654,4167,7655,3450,942,639,457,2301,2451,993,2951,407,851,494,4440,3347,927,7656,1237,7657,2421,3348,573,4168,680,921,2911,1279,1874,285,790,1448,1983,719,2167,7658,7659,4441,3962,3963,1649,7660,1541,563,7661,1077,7662,3349,3041,3451,511,2997,3964,3965,3667,3966,1268,2564,3350,3207,4442,4443,7663,535,1048,1276,1189,2912,2028,3142,1438,1373,2834,2952,1134,2012,7664,4169,1238,2578,3086,1259,7665,700,7666,2953,3143,3668,4170,7667,4171,1146,1875,1906,4444,2601,3967,781,2422,132,1589,203,147,273,2789,2402,898,1786,2154,3968,3969,7668,3792,2790,7669,7670,4445,4446,7671,3208,7672,1635,3793,965,7673,1804,2690,1516,3559,1121,1082,1329,3284,3970,1449,3794,65,1128,2835,2913,2759,1590,3795,7674,7675,12,2658,45,976,2579,3144,4447,517,2528,1013,1037,3209,7676,3796,2836,7677,3797,7678,3452,7679,2602,614,1998,2318,3798,3087,2724,2628,7680,2580,4172,599,1269,7681,1810,3669,7682,2691,3088,759,1060,489,1805,3351,3285,1358,7683,7684,2386,1387,1215,2629,2252,490,7685,7686,4173,1759,2387,2343,7687,4448,3799,1907,3971,2630,1806,3210,4449,3453,3286,2760,2344,874,7688,7689,3454,3670,1858,91,2914,3671,3042,3800,4450,7690,3145,3972,2659,7691,3455,1202,1403,3801,2954,2529,1517,2503,4451,3456,2504,7692,4452,7693,2692,1885,1495,1731,3973,2365,4453,7694,2029,7695,7696,3974,2693,1216,237,2581,4174,2319,3975,3802,4454,4455,2694,3560,3457,445,4456,7697,7698,7699,7700,2761,61,3976,3672,1822,3977,7701,687,2045,935,925,405,2660,703,1096,1859,2725,4457,3978,1876,1367,2695,3352,918,2105,1781,2476,334,3287,1611,1093,4458,564,3146,3458,3673,3353,945,2631,2057,4459,7702,1925,872,4175,7703,3459,2696,3089,349,4176,3674,3979,4460,3803,4177,3675,2155,3980,4461,4462,4178,4463,2403,2046,782,3981,400,251,4179,1624,7704,7705,277,3676,299,1265,476,1191,3804,2121,4180,4181,1109,205,7706,2582,1e3,2156,3561,1860,7707,7708,7709,4464,7710,4465,2565,107,2477,2157,3982,3460,3147,7711,1533,541,1301,158,753,4182,2872,3562,7712,1696,370,1088,4183,4466,3563,579,327,440,162,2240,269,1937,1374,3461,968,3043,56,1396,3090,2106,3288,3354,7713,1926,2158,4467,2998,7714,3564,7715,7716,3677,4468,2478,7717,2791,7718,1650,4469,7719,2603,7720,7721,3983,2661,3355,1149,3356,3984,3805,3985,7722,1076,49,7723,951,3211,3289,3290,450,2837,920,7724,1811,2792,2366,4184,1908,1138,2367,3806,3462,7725,3212,4470,1909,1147,1518,2423,4471,3807,7726,4472,2388,2604,260,1795,3213,7727,7728,3808,3291,708,7729,3565,1704,7730,3566,1351,1618,3357,2999,1886,944,4185,3358,4186,3044,3359,4187,7731,3678,422,413,1714,3292,500,2058,2345,4188,2479,7732,1344,1910,954,7733,1668,7734,7735,3986,2404,4189,3567,3809,4190,7736,2302,1318,2505,3091,133,3092,2873,4473,629,31,2838,2697,3810,4474,850,949,4475,3987,2955,1732,2088,4191,1496,1852,7737,3988,620,3214,981,1242,3679,3360,1619,3680,1643,3293,2139,2452,1970,1719,3463,2168,7738,3215,7739,7740,3361,1828,7741,1277,4476,1565,2047,7742,1636,3568,3093,7743,869,2839,655,3811,3812,3094,3989,3e3,3813,1310,3569,4477,7744,7745,7746,1733,558,4478,3681,335,1549,3045,1756,4192,3682,1945,3464,1829,1291,1192,470,2726,2107,2793,913,1054,3990,7747,1027,7748,3046,3991,4479,982,2662,3362,3148,3465,3216,3217,1946,2794,7749,571,4480,7750,1830,7751,3570,2583,1523,2424,7752,2089,984,4481,3683,1959,7753,3684,852,923,2795,3466,3685,969,1519,999,2048,2320,1705,7754,3095,615,1662,151,597,3992,2405,2321,1049,275,4482,3686,4193,568,3687,3571,2480,4194,3688,7755,2425,2270,409,3218,7756,1566,2874,3467,1002,769,2840,194,2090,3149,3689,2222,3294,4195,628,1505,7757,7758,1763,2177,3001,3993,521,1161,2584,1787,2203,2406,4483,3994,1625,4196,4197,412,42,3096,464,7759,2632,4484,3363,1760,1571,2875,3468,2530,1219,2204,3814,2633,2140,2368,4485,4486,3295,1651,3364,3572,7760,7761,3573,2481,3469,7762,3690,7763,7764,2271,2091,460,7765,4487,7766,3002,962,588,3574,289,3219,2634,1116,52,7767,3047,1796,7768,7769,7770,1467,7771,1598,1143,3691,4198,1984,1734,1067,4488,1280,3365,465,4489,1572,510,7772,1927,2241,1812,1644,3575,7773,4490,3692,7774,7775,2663,1573,1534,7776,7777,4199,536,1807,1761,3470,3815,3150,2635,7778,7779,7780,4491,3471,2915,1911,2796,7781,3296,1122,377,3220,7782,360,7783,7784,4200,1529,551,7785,2059,3693,1769,2426,7786,2916,4201,3297,3097,2322,2108,2030,4492,1404,136,1468,1479,672,1171,3221,2303,271,3151,7787,2762,7788,2049,678,2727,865,1947,4493,7789,2013,3995,2956,7790,2728,2223,1397,3048,3694,4494,4495,1735,2917,3366,3576,7791,3816,509,2841,2453,2876,3817,7792,7793,3152,3153,4496,4202,2531,4497,2304,1166,1010,552,681,1887,7794,7795,2957,2958,3996,1287,1596,1861,3154,358,453,736,175,478,1117,905,1167,1097,7796,1853,1530,7797,1706,7798,2178,3472,2287,3695,3473,3577,4203,2092,4204,7799,3367,1193,2482,4205,1458,2190,2205,1862,1888,1421,3298,2918,3049,2179,3474,595,2122,7800,3997,7801,7802,4206,1707,2636,223,3696,1359,751,3098,183,3475,7803,2797,3003,419,2369,633,704,3818,2389,241,7804,7805,7806,838,3004,3697,2272,2763,2454,3819,1938,2050,3998,1309,3099,2242,1181,7807,1136,2206,3820,2370,1446,4207,2305,4498,7808,7809,4208,1055,2605,484,3698,7810,3999,625,4209,2273,3368,1499,4210,4e3,7811,4001,4211,3222,2274,2275,3476,7812,7813,2764,808,2606,3699,3369,4002,4212,3100,2532,526,3370,3821,4213,955,7814,1620,4214,2637,2427,7815,1429,3700,1669,1831,994,928,7816,3578,1260,7817,7818,7819,1948,2288,741,2919,1626,4215,2729,2455,867,1184,362,3371,1392,7820,7821,4003,4216,1770,1736,3223,2920,4499,4500,1928,2698,1459,1158,7822,3050,3372,2877,1292,1929,2506,2842,3701,1985,1187,2071,2014,2607,4217,7823,2566,2507,2169,3702,2483,3299,7824,3703,4501,7825,7826,666,1003,3005,1022,3579,4218,7827,4502,1813,2253,574,3822,1603,295,1535,705,3823,4219,283,858,417,7828,7829,3224,4503,4504,3051,1220,1889,1046,2276,2456,4004,1393,1599,689,2567,388,4220,7830,2484,802,7831,2798,3824,2060,1405,2254,7832,4505,3825,2109,1052,1345,3225,1585,7833,809,7834,7835,7836,575,2730,3477,956,1552,1469,1144,2323,7837,2324,1560,2457,3580,3226,4005,616,2207,3155,2180,2289,7838,1832,7839,3478,4506,7840,1319,3704,3705,1211,3581,1023,3227,1293,2799,7841,7842,7843,3826,607,2306,3827,762,2878,1439,4221,1360,7844,1485,3052,7845,4507,1038,4222,1450,2061,2638,4223,1379,4508,2585,7846,7847,4224,1352,1414,2325,2921,1172,7848,7849,3828,3829,7850,1797,1451,7851,7852,7853,7854,2922,4006,4007,2485,2346,411,4008,4009,3582,3300,3101,4509,1561,2664,1452,4010,1375,7855,7856,47,2959,316,7857,1406,1591,2923,3156,7858,1025,2141,3102,3157,354,2731,884,2224,4225,2407,508,3706,726,3583,996,2428,3584,729,7859,392,2191,1453,4011,4510,3707,7860,7861,2458,3585,2608,1675,2800,919,2347,2960,2348,1270,4511,4012,73,7862,7863,647,7864,3228,2843,2255,1550,1346,3006,7865,1332,883,3479,7866,7867,7868,7869,3301,2765,7870,1212,831,1347,4226,4512,2326,3830,1863,3053,720,3831,4513,4514,3832,7871,4227,7872,7873,4515,7874,7875,1798,4516,3708,2609,4517,3586,1645,2371,7876,7877,2924,669,2208,2665,2429,7878,2879,7879,7880,1028,3229,7881,4228,2408,7882,2256,1353,7883,7884,4518,3158,518,7885,4013,7886,4229,1960,7887,2142,4230,7888,7889,3007,2349,2350,3833,516,1833,1454,4014,2699,4231,4519,2225,2610,1971,1129,3587,7890,2766,7891,2961,1422,577,1470,3008,1524,3373,7892,7893,432,4232,3054,3480,7894,2586,1455,2508,2226,1972,1175,7895,1020,2732,4015,3481,4520,7896,2733,7897,1743,1361,3055,3482,2639,4016,4233,4521,2290,895,924,4234,2170,331,2243,3056,166,1627,3057,1098,7898,1232,2880,2227,3374,4522,657,403,1196,2372,542,3709,3375,1600,4235,3483,7899,4523,2767,3230,576,530,1362,7900,4524,2533,2666,3710,4017,7901,842,3834,7902,2801,2031,1014,4018,213,2700,3376,665,621,4236,7903,3711,2925,2430,7904,2431,3302,3588,3377,7905,4237,2534,4238,4525,3589,1682,4239,3484,1380,7906,724,2277,600,1670,7907,1337,1233,4526,3103,2244,7908,1621,4527,7909,651,4240,7910,1612,4241,2611,7911,2844,7912,2734,2307,3058,7913,716,2459,3059,174,1255,2701,4019,3590,548,1320,1398,728,4020,1574,7914,1890,1197,3060,4021,7915,3061,3062,3712,3591,3713,747,7916,635,4242,4528,7917,7918,7919,4243,7920,7921,4529,7922,3378,4530,2432,451,7923,3714,2535,2072,4244,2735,4245,4022,7924,1764,4531,7925,4246,350,7926,2278,2390,2486,7927,4247,4023,2245,1434,4024,488,4532,458,4248,4025,3715,771,1330,2391,3835,2568,3159,2159,2409,1553,2667,3160,4249,7928,2487,2881,2612,1720,2702,4250,3379,4533,7929,2536,4251,7930,3231,4252,2768,7931,2015,2736,7932,1155,1017,3716,3836,7933,3303,2308,201,1864,4253,1430,7934,4026,7935,7936,7937,7938,7939,4254,1604,7940,414,1865,371,2587,4534,4535,3485,2016,3104,4536,1708,960,4255,887,389,2171,1536,1663,1721,7941,2228,4027,2351,2926,1580,7942,7943,7944,1744,7945,2537,4537,4538,7946,4539,7947,2073,7948,7949,3592,3380,2882,4256,7950,4257,2640,3381,2802,673,2703,2460,709,3486,4028,3593,4258,7951,1148,502,634,7952,7953,1204,4540,3594,1575,4541,2613,3717,7954,3718,3105,948,3232,121,1745,3837,1110,7955,4259,3063,2509,3009,4029,3719,1151,1771,3838,1488,4030,1986,7956,2433,3487,7957,7958,2093,7959,4260,3839,1213,1407,2803,531,2737,2538,3233,1011,1537,7960,2769,4261,3106,1061,7961,3720,3721,1866,2883,7962,2017,120,4262,4263,2062,3595,3234,2309,3840,2668,3382,1954,4542,7963,7964,3488,1047,2704,1266,7965,1368,4543,2845,649,3383,3841,2539,2738,1102,2846,2669,7966,7967,1999,7968,1111,3596,2962,7969,2488,3842,3597,2804,1854,3384,3722,7970,7971,3385,2410,2884,3304,3235,3598,7972,2569,7973,3599,2805,4031,1460,856,7974,3600,7975,2885,2963,7976,2886,3843,7977,4264,632,2510,875,3844,1697,3845,2291,7978,7979,4544,3010,1239,580,4545,4265,7980,914,936,2074,1190,4032,1039,2123,7981,7982,7983,3386,1473,7984,1354,4266,3846,7985,2172,3064,4033,915,3305,4267,4268,3306,1605,1834,7986,2739,398,3601,4269,3847,4034,328,1912,2847,4035,3848,1331,4270,3011,937,4271,7987,3602,4036,4037,3387,2160,4546,3388,524,742,538,3065,1012,7988,7989,3849,2461,7990,658,1103,225,3850,7991,7992,4547,7993,4548,7994,3236,1243,7995,4038,963,2246,4549,7996,2705,3603,3161,7997,7998,2588,2327,7999,4550,8e3,8001,8002,3489,3307,957,3389,2540,2032,1930,2927,2462,870,2018,3604,1746,2770,2771,2434,2463,8003,3851,8004,3723,3107,3724,3490,3390,3725,8005,1179,3066,8006,3162,2373,4272,3726,2541,3163,3108,2740,4039,8007,3391,1556,2542,2292,977,2887,2033,4040,1205,3392,8008,1765,3393,3164,2124,1271,1689,714,4551,3491,8009,2328,3852,533,4273,3605,2181,617,8010,2464,3308,3492,2310,8011,8012,3165,8013,8014,3853,1987,618,427,2641,3493,3394,8015,8016,1244,1690,8017,2806,4274,4552,8018,3494,8019,8020,2279,1576,473,3606,4275,3395,972,8021,3607,8022,3067,8023,8024,4553,4554,8025,3727,4041,4042,8026,153,4555,356,8027,1891,2888,4276,2143,408,803,2352,8028,3854,8029,4277,1646,2570,2511,4556,4557,3855,8030,3856,4278,8031,2411,3396,752,8032,8033,1961,2964,8034,746,3012,2465,8035,4279,3728,698,4558,1892,4280,3608,2543,4559,3609,3857,8036,3166,3397,8037,1823,1302,4043,2706,3858,1973,4281,8038,4282,3167,823,1303,1288,1236,2848,3495,4044,3398,774,3859,8039,1581,4560,1304,2849,3860,4561,8040,2435,2161,1083,3237,4283,4045,4284,344,1173,288,2311,454,1683,8041,8042,1461,4562,4046,2589,8043,8044,4563,985,894,8045,3399,3168,8046,1913,2928,3729,1988,8047,2110,1974,8048,4047,8049,2571,1194,425,8050,4564,3169,1245,3730,4285,8051,8052,2850,8053,636,4565,1855,3861,760,1799,8054,4286,2209,1508,4566,4048,1893,1684,2293,8055,8056,8057,4287,4288,2210,479,8058,8059,832,8060,4049,2489,8061,2965,2490,3731,990,3109,627,1814,2642,4289,1582,4290,2125,2111,3496,4567,8062,799,4291,3170,8063,4568,2112,1737,3013,1018,543,754,4292,3309,1676,4569,4570,4050,8064,1489,8065,3497,8066,2614,2889,4051,8067,8068,2966,8069,8070,8071,8072,3171,4571,4572,2182,1722,8073,3238,3239,1842,3610,1715,481,365,1975,1856,8074,8075,1962,2491,4573,8076,2126,3611,3240,433,1894,2063,2075,8077,602,2741,8078,8079,8080,8081,8082,3014,1628,3400,8083,3172,4574,4052,2890,4575,2512,8084,2544,2772,8085,8086,8087,3310,4576,2891,8088,4577,8089,2851,4578,4579,1221,2967,4053,2513,8090,8091,8092,1867,1989,8093,8094,8095,1895,8096,8097,4580,1896,4054,318,8098,2094,4055,4293,8099,8100,485,8101,938,3862,553,2670,116,8102,3863,3612,8103,3498,2671,2773,3401,3311,2807,8104,3613,2929,4056,1747,2930,2968,8105,8106,207,8107,8108,2672,4581,2514,8109,3015,890,3614,3864,8110,1877,3732,3402,8111,2183,2353,3403,1652,8112,8113,8114,941,2294,208,3499,4057,2019,330,4294,3865,2892,2492,3733,4295,8115,8116,8117,8118,2515,1613,4582,8119,3312,3866,2516,8120,4058,8121,1637,4059,2466,4583,3867,8122,2493,3016,3734,8123,8124,2192,8125,8126,2162,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),Ur}var jr={},Xs;function Ix(){return Xs||(Xs=1,jr.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,jr.EUCKR_TABLE_SIZE=2352,jr.EUCKRCharToFreqOrder=[13,130,120,1396,481,1719,1720,328,609,212,1721,707,400,299,1722,87,1397,1723,104,536,1117,1203,1724,1267,685,1268,508,1725,1726,1727,1728,1398,1399,1729,1730,1731,141,621,326,1057,368,1732,267,488,20,1733,1269,1734,945,1400,1735,47,904,1270,1736,1737,773,248,1738,409,313,786,429,1739,116,987,813,1401,683,75,1204,145,1740,1741,1742,1743,16,847,667,622,708,1744,1745,1746,966,787,304,129,1747,60,820,123,676,1748,1749,1750,1751,617,1752,626,1753,1754,1755,1756,653,1757,1758,1759,1760,1761,1762,856,344,1763,1764,1765,1766,89,401,418,806,905,848,1767,1768,1769,946,1205,709,1770,1118,1771,241,1772,1773,1774,1271,1775,569,1776,999,1777,1778,1779,1780,337,751,1058,28,628,254,1781,177,906,270,349,891,1079,1782,19,1783,379,1784,315,1785,629,754,1402,559,1786,636,203,1206,1787,710,567,1788,935,814,1789,1790,1207,766,528,1791,1792,1208,1793,1794,1795,1796,1797,1403,1798,1799,533,1059,1404,1405,1156,1406,936,884,1080,1800,351,1801,1802,1803,1804,1805,801,1806,1807,1808,1119,1809,1157,714,474,1407,1810,298,899,885,1811,1120,802,1158,1812,892,1813,1814,1408,659,1815,1816,1121,1817,1818,1819,1820,1821,1822,319,1823,594,545,1824,815,937,1209,1825,1826,573,1409,1022,1827,1210,1828,1829,1830,1831,1832,1833,556,722,807,1122,1060,1834,697,1835,900,557,715,1836,1410,540,1411,752,1159,294,597,1211,976,803,770,1412,1837,1838,39,794,1413,358,1839,371,925,1840,453,661,788,531,723,544,1023,1081,869,91,1841,392,430,790,602,1414,677,1082,457,1415,1416,1842,1843,475,327,1024,1417,795,121,1844,733,403,1418,1845,1846,1847,300,119,711,1212,627,1848,1272,207,1849,1850,796,1213,382,1851,519,1852,1083,893,1853,1854,1855,367,809,487,671,1856,663,1857,1858,956,471,306,857,1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,282,96,574,1872,502,1085,1873,1214,1874,907,1875,1876,827,977,1419,1420,1421,268,1877,1422,1878,1879,1880,308,1881,2,537,1882,1883,1215,1884,1885,127,791,1886,1273,1423,1887,34,336,404,643,1888,571,654,894,840,1889,0,886,1274,122,575,260,908,938,1890,1275,410,316,1891,1892,100,1893,1894,1123,48,1161,1124,1025,1895,633,901,1276,1896,1897,115,816,1898,317,1899,694,1900,909,734,1424,572,866,1425,691,85,524,1010,543,394,841,1901,1902,1903,1026,1904,1905,1906,1907,1908,1909,30,451,651,988,310,1910,1911,1426,810,1216,93,1912,1913,1277,1217,1914,858,759,45,58,181,610,269,1915,1916,131,1062,551,443,1e3,821,1427,957,895,1086,1917,1918,375,1919,359,1920,687,1921,822,1922,293,1923,1924,40,662,118,692,29,939,887,640,482,174,1925,69,1162,728,1428,910,1926,1278,1218,1279,386,870,217,854,1163,823,1927,1928,1929,1930,834,1931,78,1932,859,1933,1063,1934,1935,1936,1937,438,1164,208,595,1938,1939,1940,1941,1219,1125,1942,280,888,1429,1430,1220,1431,1943,1944,1945,1946,1947,1280,150,510,1432,1948,1949,1950,1951,1952,1953,1954,1011,1087,1955,1433,1043,1956,881,1957,614,958,1064,1065,1221,1958,638,1001,860,967,896,1434,989,492,553,1281,1165,1959,1282,1002,1283,1222,1960,1961,1962,1963,36,383,228,753,247,454,1964,876,678,1965,1966,1284,126,464,490,835,136,672,529,940,1088,1435,473,1967,1968,467,50,390,227,587,279,378,598,792,968,240,151,160,849,882,1126,1285,639,1044,133,140,288,360,811,563,1027,561,142,523,1969,1970,1971,7,103,296,439,407,506,634,990,1972,1973,1974,1975,645,1976,1977,1978,1979,1980,1981,236,1982,1436,1983,1984,1089,192,828,618,518,1166,333,1127,1985,818,1223,1986,1987,1988,1989,1990,1991,1992,1993,342,1128,1286,746,842,1994,1995,560,223,1287,98,8,189,650,978,1288,1996,1437,1997,17,345,250,423,277,234,512,226,97,289,42,167,1998,201,1999,2e3,843,836,824,532,338,783,1090,182,576,436,1438,1439,527,500,2001,947,889,2002,2003,2004,2005,262,600,314,447,2006,547,2007,693,738,1129,2008,71,1440,745,619,688,2009,829,2010,2011,147,2012,33,948,2013,2014,74,224,2015,61,191,918,399,637,2016,1028,1130,257,902,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,837,2027,2028,2029,2030,179,874,591,52,724,246,2031,2032,2033,2034,1167,969,2035,1289,630,605,911,1091,1168,2036,2037,2038,1441,912,2039,623,2040,2041,253,1169,1290,2042,1442,146,620,611,577,433,2043,1224,719,1170,959,440,437,534,84,388,480,1131,159,220,198,679,2044,1012,819,1066,1443,113,1225,194,318,1003,1029,2045,2046,2047,2048,1067,2049,2050,2051,2052,2053,59,913,112,2054,632,2055,455,144,739,1291,2056,273,681,499,2057,448,2058,2059,760,2060,2061,970,384,169,245,1132,2062,2063,414,1444,2064,2065,41,235,2066,157,252,877,568,919,789,580,2067,725,2068,2069,1292,2070,2071,1445,2072,1446,2073,2074,55,588,66,1447,271,1092,2075,1226,2076,960,1013,372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085,850,2086,2087,2088,2089,2090,186,2091,1068,180,2092,2093,2094,109,1227,522,606,2095,867,1448,1093,991,1171,926,353,1133,2096,581,2097,2098,2099,1294,1449,1450,2100,596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,804,2118,2119,1230,1231,805,1456,405,1136,2120,2121,2122,2123,2124,720,701,1297,992,1457,927,1004,2125,2126,2127,2128,2129,2130,22,417,2131,303,2132,385,2133,971,520,513,2134,1174,73,1096,231,274,962,1458,673,2135,1459,2136,152,1137,2137,2138,2139,2140,1005,1138,1460,1139,2141,2142,2143,2144,11,374,844,2145,154,1232,46,1461,2146,838,830,721,1233,106,2147,90,428,462,578,566,1175,352,2148,2149,538,1234,124,1298,2150,1462,761,565,2151,686,2152,649,2153,72,173,2154,460,415,2155,1463,2156,1235,305,2157,2158,2159,2160,2161,2162,579,2163,2164,2165,2166,2167,747,2168,2169,2170,2171,1464,669,2172,2173,2174,2175,2176,1465,2177,23,530,285,2178,335,729,2179,397,2180,2181,2182,1030,2183,2184,698,2185,2186,325,2187,2188,369,2189,799,1097,1015,348,2190,1069,680,2191,851,1466,2192,2193,10,2194,613,424,2195,979,108,449,589,27,172,81,1031,80,774,281,350,1032,525,301,582,1176,2196,674,1045,2197,2198,1467,730,762,2199,2200,2201,2202,1468,2203,993,2204,2205,266,1070,963,1140,2206,2207,2208,664,1098,972,2209,2210,2211,1177,1469,1470,871,2212,2213,2214,2215,2216,1471,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,2234,2235,1299,2236,2237,200,2238,477,373,2239,2240,731,825,777,2241,2242,2243,521,486,548,2244,2245,2246,1473,1300,53,549,137,875,76,158,2247,1301,1474,469,396,1016,278,712,2248,321,442,503,767,744,941,1237,1178,1475,2249,82,178,1141,1179,973,2250,1302,2251,297,2252,2253,570,2254,2255,2256,18,450,206,2257,290,292,1142,2258,511,162,99,346,164,735,2259,1476,1477,4,554,343,798,1099,2260,1100,2261,43,171,1303,139,215,2262,2263,717,775,2264,1033,322,216,2265,831,2266,149,2267,1304,2268,2269,702,1238,135,845,347,309,2270,484,2271,878,655,238,1006,1478,2272,67,2273,295,2274,2275,461,2276,478,942,412,2277,1034,2278,2279,2280,265,2281,541,2282,2283,2284,2285,2286,70,852,1071,2287,2288,2289,2290,21,56,509,117,432,2291,2292,331,980,552,1101,148,284,105,393,1180,1239,755,2293,187,2294,1046,1479,2295,340,2296,63,1047,230,2297,2298,1305,763,1306,101,800,808,494,2299,2300,2301,903,2302,37,1072,14,5,2303,79,675,2304,312,2305,2306,2307,2308,2309,1480,6,1307,2310,2311,2312,1,470,35,24,229,2313,695,210,86,778,15,784,592,779,32,77,855,964,2314,259,2315,501,380,2316,2317,83,981,153,689,1308,1481,1482,1483,2318,2319,716,1484,2320,2321,2322,2323,2324,2325,1485,2326,2327,128,57,68,261,1048,211,170,1240,31,2328,51,435,742,2329,2330,2331,635,2332,264,456,2333,2334,2335,425,2336,1486,143,507,263,943,2337,363,920,1487,256,1488,1102,243,601,1489,2338,2339,2340,2341,2342,2343,2344,861,2345,2346,2347,2348,2349,2350,395,2351,1490,1491,62,535,166,225,2352,2353,668,419,1241,138,604,928,2354,1181,2355,1492,1493,2356,2357,2358,1143,2359,696,2360,387,307,1309,682,476,2361,2362,332,12,222,156,2363,232,2364,641,276,656,517,1494,1495,1035,416,736,1496,2365,1017,586,2366,2367,2368,1497,2369,242,2370,2371,2372,1498,2373,965,713,2374,2375,2376,2377,740,982,1499,944,1500,1007,2378,2379,1310,1501,2380,2381,2382,785,329,2383,2384,1502,2385,2386,2387,932,2388,1503,2389,2390,2391,2392,1242,2393,2394,2395,2396,2397,994,950,2398,2399,2400,2401,1504,1311,2402,2403,2404,2405,1049,749,2406,2407,853,718,1144,1312,2408,1182,1505,2409,2410,255,516,479,564,550,214,1506,1507,1313,413,239,444,339,1145,1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414,176,703,497,624,593,921,302,2415,341,165,1103,1512,2416,1513,2417,2418,2419,376,2420,700,2421,2422,2423,258,768,1316,2424,1183,2425,995,608,2426,2427,2428,2429,221,2430,2431,2432,2433,2434,2435,2436,2437,195,323,726,188,897,983,1317,377,644,1050,879,2438,452,2439,2440,2441,2442,2443,2444,914,2445,2446,2447,2448,915,489,2449,1514,1184,2450,2451,515,64,427,495,2452,583,2453,483,485,1038,562,213,1515,748,666,2454,2455,2456,2457,334,2458,780,996,1008,705,1243,2459,2460,2461,2462,2463,114,2464,493,1146,366,163,1516,961,1104,2465,291,2466,1318,1105,2467,1517,365,2468,355,951,1244,2469,1319,2470,631,2471,2472,218,1320,364,320,756,1518,1519,1321,1520,1322,2473,2474,2475,2476,997,2477,2478,2479,2480,665,1185,2481,916,1521,2482,2483,2484,584,684,2485,2486,797,2487,1051,1186,2488,2489,2490,1522,2491,2492,370,2493,1039,1187,65,2494,434,205,463,1188,2495,125,812,391,402,826,699,286,398,155,781,771,585,2496,590,505,1073,2497,599,244,219,917,1018,952,646,1523,2498,1323,2499,2500,49,984,354,741,2501,625,2502,1324,2503,1019,190,357,757,491,95,782,868,2504,2505,2506,2507,2508,2509,134,1524,1074,422,1525,898,2510,161,2511,2512,2513,2514,769,2515,1526,2516,2517,411,1325,2518,472,1527,2519,2520,2521,2522,2523,2524,985,2525,2526,2527,2528,2529,2530,764,2531,1245,2532,2533,25,204,311,2534,496,2535,1052,2536,2537,2538,2539,2540,2541,2542,199,704,504,468,758,657,1528,196,44,839,1246,272,750,2543,765,862,2544,2545,1326,2546,132,615,933,2547,732,2548,2549,2550,1189,1529,2551,283,1247,1053,607,929,2552,2553,2554,930,183,872,616,1040,1147,2555,1148,1020,441,249,1075,2556,2557,2558,466,743,2559,2560,2561,92,514,426,420,526,2562,2563,2564,2565,2566,2567,2568,185,2569,2570,2571,2572,776,1530,658,2573,362,2574,361,922,1076,793,2575,2576,2577,2578,2579,2580,1531,251,2581,2582,2583,2584,1532,54,612,237,1327,2585,2586,275,408,647,111,2587,1533,1106,465,3,458,9,38,2588,107,110,890,209,26,737,498,2589,1534,2590,431,202,88,1535,356,287,1107,660,1149,2591,381,1536,986,1150,445,1248,1151,974,2592,2593,846,2594,446,953,184,1249,1250,727,2595,923,193,883,2596,2597,2598,102,324,539,817,2599,421,1041,2600,832,2601,94,175,197,406,2602,459,2603,2604,2605,2606,2607,330,555,2608,2609,2610,706,1108,389,2611,2612,2613,2614,233,2615,833,558,931,954,1251,2616,2617,1537,546,2618,2619,1009,2620,2621,2622,1538,690,1328,2623,955,2624,1539,2625,2626,772,2627,2628,2629,2630,2631,924,648,863,603,2632,2633,934,1540,864,865,2634,642,1042,670,1190,2635,2636,2637,2638,168,2639,652,873,542,1054,1541,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,1542,880,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,1543,2726,2727,2728,2729,2730,2731,2732,1544,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,1545,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,1546,2767,1547,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,1548,2787,2788,2789,1109,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,1329,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,1549,2857,2858,2859,2860,1550,2861,2862,1551,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,1110,1330,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,1331,2931,2932,2933,2934,2935,2936,2937,2938,2939,2940,2941,2942,2943,1552,2944,2945,2946,2947,2948,2949,2950,2951,2952,2953,2954,2955,2956,2957,2958,2959,2960,2961,2962,2963,2964,1252,2965,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2976,2977,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3e3,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,1553,3013,3014,3015,3016,3017,1554,3018,1332,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050,1555,3051,3052,3053,1556,1557,3054,3055,3056,3057,3058,3059,3060,3061,3062,3063,3064,3065,3066,3067,1558,3068,3069,3070,3071,3072,3073,3074,3075,3076,1559,3077,3078,3079,3080,3081,3082,3083,1253,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,1152,3109,3110,3111,3112,3113,1560,3114,3115,3116,3117,1111,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142,3143,3144,3145,3146,3147,3148,3149,3150,3151,3152,3153,3154,3155,3156,3157,3158,3159,3160,3161,3162,3163,3164,3165,3166,3167,3168,3169,3170,3171,3172,3173,3174,3175,3176,1333,3177,3178,3179,3180,3181,3182,3183,3184,3185,3186,3187,3188,3189,1561,3190,3191,1334,3192,3193,3194,3195,3196,3197,3198,3199,3200,3201,3202,3203,3204,3205,3206,3207,3208,3209,3210,3211,3212,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,1562,3235,3236,3237,3238,3239,3240,3241,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3252,3253,3254,3255,3256,3257,3258,3259,3260,3261,3262,3263,3264,3265,3266,3267,3268,3269,3270,3271,3272,3273,3274,3275,3276,3277,1563,3278,3279,3280,3281,3282,3283,3284,3285,3286,3287,3288,3289,3290,3291,3292,3293,3294,3295,3296,3297,3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,3338,3339,3340,3341,3342,3343,3344,3345,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,1335,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3387,1336,3388,3389,3390,3391,3392,3393,3394,3395,3396,3397,3398,3399,3400,3401,3402,3403,3404,3405,3406,3407,3408,3409,3410,3411,3412,3413,3414,1337,3415,3416,3417,3418,3419,1338,3420,3421,3422,1564,1565,3423,3424,3425,3426,3427,3428,3429,3430,3431,1254,3432,3433,3434,1339,3435,3436,3437,3438,3439,1566,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,1255,3455,3456,3457,3458,3459,1567,1191,3460,1568,1569,3461,3462,3463,1570,3464,3465,3466,3467,3468,1571,3469,3470,3471,3472,3473,1572,3474,3475,3476,3477,3478,3479,3480,3481,3482,3483,3484,3485,3486,1340,3487,3488,3489,3490,3491,3492,1021,3493,3494,3495,3496,3497,3498,1573,3499,1341,3500,3501,3502,3503,3504,3505,3506,3507,3508,3509,3510,3511,1342,3512,3513,3514,3515,3516,1574,1343,3517,3518,3519,1575,3520,1576,3521,3522,3523,3524,3525,3526,3527,3528,3529,3530,3531,3532,3533,3534,3535,3536,3537,3538,3539,3540,3541,3542,3543,3544,3545,3546,3547,3548,3549,3550,3551,3552,3553,3554,3555,3556,3557,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3568,3569,3570,3571,3572,3573,3574,3575,3576,3577,3578,3579,3580,1577,3581,3582,1578,3583,3584,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,1579,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,1580,3630,3631,1581,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,3643,3644,3645,3646,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,1582,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,3676,3677,3678,3679,3680,3681,3682,3683,3684,3685,3686,3687,3688,3689,3690,3691,3692,3693,3694,3695,3696,3697,3698,3699,3700,1192,3701,3702,3703,3704,1256,3705,3706,3707,3708,1583,1257,3709,3710,3711,3712,3713,3714,3715,3716,1584,3717,3718,3719,3720,3721,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3740,3741,3742,3743,3744,3745,1344,3746,3747,3748,3749,3750,3751,3752,3753,3754,3755,3756,1585,3757,3758,3759,3760,3761,3762,3763,3764,3765,3766,1586,3767,3768,3769,3770,3771,3772,3773,3774,3775,3776,3777,3778,1345,3779,3780,3781,3782,3783,3784,3785,3786,3787,3788,3789,3790,3791,3792,3793,3794,3795,1346,1587,3796,3797,1588,3798,3799,3800,3801,3802,3803,3804,3805,3806,1347,3807,3808,3809,3810,3811,1589,3812,3813,3814,3815,3816,3817,3818,3819,3820,3821,1590,3822,3823,1591,1348,3824,3825,3826,3827,3828,3829,3830,1592,3831,3832,1593,3833,3834,3835,3836,3837,3838,3839,3840,3841,3842,3843,3844,1349,3845,3846,3847,3848,3849,3850,3851,3852,3853,3854,3855,3856,3857,3858,1594,3859,3860,3861,3862,3863,3864,3865,3866,3867,3868,3869,1595,3870,3871,3872,3873,1596,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,1597,3887,3888,3889,3890,3891,3892,3893,3894,3895,1598,3896,3897,3898,1599,1600,3899,1350,3900,1351,3901,3902,1352,3903,3904,3905,3906,3907,3908,3909,3910,3911,3912,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,1258,3925,3926,3927,3928,3929,3930,3931,1193,3932,1601,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,1602,3944,3945,3946,3947,3948,1603,3949,3950,3951,3952,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,1604,3966,3967,3968,3969,3970,3971,3972,3973,3974,3975,3976,3977,1353,3978,3979,3980,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,1354,3992,3993,3994,3995,3996,3997,3998,3999,4e3,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,1355,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4036,4037,4038,4039,4040,1605,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,1606,4061,4062,4063,4064,1607,4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076,1194,4077,4078,1608,4079,4080,4081,4082,4083,4084,4085,4086,4087,1609,4088,4089,4090,4091,4092,4093,4094,4095,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,1259,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,1195,4125,4126,4127,1610,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,1356,4138,4139,4140,4141,4142,4143,4144,1611,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4159,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4170,4171,4172,4173,4174,4175,4176,4177,4178,4179,4180,4181,4182,4183,4184,4185,4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196,4197,4198,4199,4200,4201,4202,4203,4204,4205,4206,4207,4208,4209,4210,4211,4212,4213,4214,4215,4216,4217,4218,4219,1612,4220,4221,4222,4223,4224,4225,4226,4227,1357,4228,1613,4229,4230,4231,4232,4233,4234,4235,4236,4237,4238,4239,4240,4241,4242,4243,1614,4244,4245,4246,4247,4248,4249,4250,4251,4252,4253,4254,4255,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,1196,1358,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,1615,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,1616,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,1617,4361,4362,4363,4364,4365,1618,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,1619,4417,4418,4419,4420,4421,4422,4423,4424,4425,1112,4426,4427,4428,4429,4430,1620,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,1260,1261,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,1359,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,1621,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,1055,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,1622,4519,4520,4521,1623,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,1360,4536,4537,4538,4539,4540,4541,4542,4543,975,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,1624,4572,4573,4574,4575,4576,1625,4577,4578,4579,4580,4581,4582,4583,4584,1626,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,1627,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,1628,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,1361,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,1362,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4681,4682,1629,4683,4684,4685,4686,4687,1630,4688,4689,4690,4691,1153,4692,4693,4694,1113,4695,4696,4697,4698,4699,4700,4701,4702,4703,4704,4705,4706,4707,4708,4709,4710,4711,1197,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,1631,4736,1632,4737,4738,4739,4740,4741,4742,4743,4744,1633,4745,4746,4747,4748,4749,1262,4750,4751,4752,4753,4754,1363,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,1634,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,1635,4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,1636,4790,4791,4792,4793,4794,4795,4796,4797,4798,4799,4800,4801,4802,4803,4804,4805,4806,1637,4807,4808,4809,1638,4810,4811,4812,4813,4814,4815,4816,4817,4818,1639,4819,4820,4821,4822,4823,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,1077,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883,1640,4884,4885,1641,4886,4887,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,1642,4912,4913,4914,1364,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,1643,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4955,4956,4957,4958,4959,4960,4961,4962,4963,4964,4965,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,1644,4981,4982,4983,4984,1645,4985,4986,1646,4987,4988,4989,4990,4991,4992,4993,4994,4995,4996,4997,4998,4999,5e3,5001,5002,5003,5004,5005,1647,5006,1648,5007,5008,5009,5010,5011,5012,1078,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027,5028,1365,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,1649,5040,5041,5042,5043,5044,5045,1366,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,1650,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,1651,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,1652,5111,5112,5113,5114,5115,5116,5117,5118,1367,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,1653,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,1368,5150,1654,5151,1369,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,1370,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,1655,5199,5200,5201,5202,1656,5203,5204,5205,5206,1371,5207,1372,5208,5209,5210,5211,1373,5212,5213,1374,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,1657,5248,5249,5250,5251,1658,1263,5252,5253,5254,5255,5256,1375,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,1659,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,1660,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,1376,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,1198,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,1661,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,1264,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,1662,5413,5414,5415,5416,1663,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,1664,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,1154,5479,5480,5481,5482,5483,5484,5485,1665,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,1377,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,1114,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,1378,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,1379,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,1380,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,1381,1056,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,1666,5661,5662,5663,5664,5665,5666,5667,5668,1667,5669,1668,5670,5671,5672,5673,5674,5675,5676,5677,5678,1155,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,1669,5699,5700,5701,5702,5703,5704,5705,1670,5706,5707,5708,5709,5710,1671,5711,5712,5713,5714,1382,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,1672,5726,5727,1673,1674,5728,5729,5730,5731,5732,5733,5734,5735,5736,1675,5737,5738,5739,5740,5741,5742,5743,5744,1676,5745,5746,5747,5748,5749,5750,5751,1383,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,1677,5769,5770,5771,5772,5773,1678,5774,5775,5776,998,5777,5778,5779,5780,5781,5782,5783,5784,5785,1384,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,1679,5801,5802,5803,1115,1116,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,1680,5856,5857,5858,5859,5860,5861,5862,5863,5864,1681,5865,5866,5867,1682,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,1683,5880,1684,5881,5882,5883,5884,1685,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,1686,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,1687,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,1688,1689,5953,1199,5954,5955,5956,5957,5958,5959,5960,5961,1690,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,1385,5982,1386,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,1265,6028,6029,1691,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,1692,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,1693,6132,6133,6134,6135,6136,1694,6137,6138,6139,6140,6141,1695,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,1696,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,1697,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,1698,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,1200,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,1699,6303,6304,1700,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6317,6318,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,1701,6340,6341,6342,6343,6344,1387,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,1702,6414,6415,6416,6417,6418,6419,6420,6421,6422,1703,6423,6424,6425,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,1704,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,1266,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,1705,1706,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633,6634,6635,6636,6637,1388,6638,6639,6640,6641,6642,6643,6644,1707,6645,6646,6647,6648,6649,6650,6651,6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,1708,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,1201,6675,6676,6677,6678,6679,6680,6681,6682,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,1389,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,1390,1709,6737,6738,6739,6740,6741,6742,1710,6743,6744,6745,6746,1391,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,1392,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,1202,6781,6782,6783,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,1711,6810,6811,6812,6813,6814,6815,6816,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,6836,1393,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6847,6848,6849,6850,6851,6852,6853,6854,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,6878,6879,6880,6881,6882,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,1712,6903,6904,6905,6906,6907,6908,6909,6910,1713,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,1714,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,1394,6989,6990,6991,6992,6993,6994,6995,6996,6997,6998,6999,7e3,1715,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,1716,7029,7030,7031,7032,7033,7034,7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,1395,7208,7209,7210,7211,7212,7213,1717,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,1718,7314,7315,7316,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),jr}var Wr={},Qs;function Rx(){return Qs||(Qs=1,Wr.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,Wr.GB2312_TABLE_SIZE=3760,Wr.GB2312CharToFreqOrder=[1671,749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515,572,3191,2205,2361,224,2558,479,1711,963,3162,440,4060,1905,2966,2947,3580,2647,3961,3842,2204,869,4207,970,2678,5626,2944,2956,1479,4048,514,3595,588,1346,2820,3409,249,4088,1746,1873,2047,1774,581,1813,358,1174,3590,1014,1561,4844,2245,670,1636,3112,889,1286,953,556,2327,3060,1290,3141,613,185,3477,1367,850,3820,1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349,388,3098,2091,1360,3585,152,1687,1539,738,1559,59,1232,2925,2267,1388,1249,1741,1679,2960,151,1566,1125,1352,4271,924,4296,385,3166,4459,310,1245,2850,70,3285,2729,3534,3575,2398,3298,3466,1960,2265,217,3647,864,1909,2084,4401,2773,1010,3269,5152,853,3051,3121,1244,4251,1895,364,1499,1540,2313,1180,3655,2268,562,715,2417,3061,544,336,3768,2380,1752,4075,950,280,2425,4382,183,2759,3272,333,4297,2155,1688,2356,1444,1039,4540,736,1177,3349,2443,2368,2144,2225,565,196,1482,3406,927,1335,4147,692,878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,2534,1546,2393,2760,737,2494,13,447,245,2747,38,2765,2129,2589,1079,606,360,471,3755,2890,404,848,699,1785,1236,370,2221,1023,3746,2074,2026,2023,2388,1581,2119,812,1141,3091,2536,1519,804,2053,406,1596,1090,784,548,4414,1806,2264,2936,1100,343,4114,5096,622,3358,743,3668,1510,1626,5020,3567,2513,3195,4115,5627,2489,2991,24,2065,2697,1087,2719,48,1634,315,68,985,2052,198,2239,1347,1107,1439,597,2366,2172,871,3307,919,2487,2790,1867,236,2570,1413,3794,906,3365,3381,1701,1982,1818,1524,2924,1205,616,2586,2072,2004,575,253,3099,32,1365,1182,197,1714,2454,1201,554,3388,3224,2748,756,2587,250,2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153,615,911,1506,1474,2495,1265,1906,2749,3756,3280,2161,898,2714,1759,3450,2243,2444,563,26,3286,2266,3769,3344,2707,3677,611,1402,531,1028,2871,4548,1375,261,2948,835,1190,4134,353,840,2684,1900,3082,1435,2109,1207,1674,329,1872,2781,4055,2686,2104,608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,1681,1153,225,1627,2929,162,2050,2511,3687,1954,124,1859,2431,1684,3032,2894,585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209,256,518,2042,2105,3777,3657,643,2298,1148,1779,190,989,3544,414,11,2135,2063,2979,1471,403,3678,126,770,1563,671,2499,3216,2877,600,1179,307,2805,4937,1268,1297,2694,252,4032,1448,1494,1331,1394,127,2256,222,1647,1035,1481,3056,1915,1048,873,3651,210,33,1608,2516,200,1520,415,102,0,3389,1287,817,91,3299,2940,836,1814,549,2197,1396,1669,2987,3582,2297,2848,4528,1070,687,20,1819,121,1552,1364,1461,1968,2617,3540,2824,2083,177,948,4938,2291,110,4549,2066,648,3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123,208,1804,3159,2992,2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680,72,842,1990,212,1233,1154,1586,75,2027,3410,4900,1823,1337,2710,2676,728,2810,1522,3026,4995,157,755,1050,4022,710,785,1936,2194,2085,1406,2777,2400,150,1250,4049,1206,807,1910,534,529,3309,1721,1660,274,39,2827,661,2670,1578,925,3248,3815,1094,4278,4901,4252,41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,887,538,4187,3199,1294,2439,3042,2329,2343,2497,1255,107,543,1527,521,3478,3568,194,5062,15,961,3870,1241,1192,2664,66,5215,3260,2111,1295,1127,2152,3805,4135,901,1164,1976,398,1278,530,1460,748,904,1054,1966,1426,53,2909,509,523,2279,1534,536,1019,239,1685,460,2353,673,1065,2401,3600,4298,2272,1272,2363,284,1753,3679,4064,1695,81,815,2677,2757,2731,1386,859,500,4221,2190,2566,757,1006,2519,2068,1166,1455,337,2654,3203,1863,1682,1914,3025,1252,1409,1366,847,714,2834,2038,3209,964,2970,1901,885,2553,1078,1756,3049,301,1572,3326,688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088,262,1158,1254,389,1641,1812,526,1719,923,2073,1073,1902,468,489,4625,1140,857,2375,3070,3319,2863,380,116,1328,2693,1161,2244,273,1212,1884,2769,3011,1775,1142,461,3066,1200,2147,2212,790,702,2695,4222,1601,1058,434,2338,5153,3640,67,2360,4099,2502,618,3472,1329,416,1132,830,2782,1807,2653,3211,3510,1662,192,2124,296,3979,1739,1611,3684,23,118,324,446,1239,1225,293,2520,3814,3795,2535,3116,17,1074,467,2692,2201,387,2922,45,1326,3055,1645,3659,2817,958,243,1903,2320,1339,2825,1784,3289,356,576,865,2315,2381,3377,3916,1088,3122,1713,1655,935,628,4689,1034,1327,441,800,720,894,1979,2183,1528,5289,2702,1071,4046,3572,2399,1571,3281,79,761,1103,327,134,758,1899,1371,1615,879,442,215,2605,2579,173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,814,4968,3487,1548,2644,1567,1285,2,295,2636,97,946,3576,832,141,4257,3273,760,3821,3521,3156,2607,949,1024,1733,1516,1803,1920,2125,2283,2665,3180,1501,2064,3560,2171,1592,803,3518,1416,732,3897,4258,1363,1362,2458,119,1427,602,1525,2608,1605,1639,3175,694,3064,10,465,76,2e3,4846,4208,444,3781,1619,3353,2206,1273,3796,740,2483,320,1723,2377,3660,2619,1359,1137,1762,1724,2345,2842,1850,1862,912,821,1866,612,2625,1735,2573,3369,1093,844,89,937,930,1424,3564,2413,2972,1004,3046,3019,2011,711,3171,1452,4178,428,801,1943,432,445,2811,206,4136,1472,730,349,73,397,2802,2547,998,1637,1167,789,396,3217,154,1218,716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627,552,3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703,640,1045,1370,1246,4996,371,1575,2436,1621,2210,984,4033,1734,2638,16,4529,663,2755,3255,1451,3917,2257,1253,1955,2234,1263,2951,214,1229,617,485,359,1831,1969,473,2310,750,2058,165,80,2864,2419,361,4344,2416,2479,1134,796,3726,1266,2943,860,2715,938,390,2734,1313,1384,248,202,877,1064,2854,522,3907,279,1602,297,2357,395,3740,137,2075,944,4089,2584,1267,3802,62,1533,2285,178,176,780,2440,201,3707,590,478,1560,4354,2117,1075,30,74,4643,4004,1635,1441,2745,776,2596,238,1077,1692,1912,2844,605,499,1742,3947,241,3053,980,1749,936,2640,4511,2582,515,1543,2162,5322,2892,2993,890,2148,1924,665,1827,3581,1032,968,3163,339,1044,1896,270,583,1791,1720,4367,1194,3488,3669,43,2523,1657,163,2167,290,1209,1622,3378,550,634,2508,2510,695,2634,2384,2512,1476,1414,220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680,854,3227,1299,2976,3172,186,2998,1459,443,1067,3251,1495,321,1932,3054,909,753,1410,1828,436,2441,1119,1587,3164,2186,1258,227,231,1425,1890,3200,3942,247,959,725,5254,2741,577,2158,2079,929,120,174,838,2813,591,1115,417,2024,40,3240,1536,1037,291,4151,2354,632,1298,2406,2500,3535,1825,1846,3451,205,1171,345,4238,18,1163,811,685,2208,1217,425,1312,1508,1175,4308,2552,1033,587,1381,3059,2984,3482,340,1316,4023,3972,792,3176,519,777,4690,918,933,4130,2981,3741,90,3360,2911,2200,5184,4550,609,3079,2030,272,3379,2736,363,3881,1130,1447,286,779,357,1169,3350,3137,1630,1220,2687,2391,747,1277,3688,2618,2682,2601,1156,3196,5290,4034,3102,1689,3596,3128,874,219,2783,798,508,1843,2461,269,1658,1776,1392,1913,2983,3287,2866,2159,2372,829,4076,46,4253,2873,1889,1894,915,1834,1631,2181,2318,298,664,2818,3555,2735,954,3228,3117,527,3511,2173,681,2712,3033,2247,2346,3467,1652,155,2164,3382,113,1994,450,899,494,994,1237,2958,1875,2336,1926,3727,545,1577,1550,633,3473,204,1305,3072,2410,1956,2471,707,2134,841,2195,2196,2663,3843,1026,4940,990,3252,4997,368,1092,437,3212,3258,1933,1829,675,2977,2893,412,943,3723,4644,3294,3283,2230,2373,5154,2389,2241,2661,2323,1404,2524,593,787,677,3008,1275,2059,438,2709,2609,2240,2269,2246,1446,36,1568,1373,3892,1574,2301,1456,3962,693,2276,5216,2035,1143,2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090,424,1694,312,3634,3390,4179,3335,2252,1214,561,1059,3243,2295,2561,975,5155,2321,2751,3772,472,1537,3282,3398,1047,2077,2348,2878,1323,3340,3076,690,2906,51,369,170,3541,1060,2187,2688,3670,2541,1083,1683,928,3918,459,109,4427,599,3744,4286,143,2101,2730,2490,82,1588,3036,2121,281,1860,477,4035,1238,2812,3020,2716,3312,1530,2188,2055,1317,843,636,1808,1173,3495,649,181,1002,147,3641,1159,2414,3750,2289,2795,813,3123,2610,1136,4368,5,3391,4541,2174,420,429,1728,754,1228,2115,2219,347,2223,2733,735,1518,3003,2355,3134,1764,3948,3329,1888,2424,1001,1234,1972,3321,3363,1672,1021,1450,1584,226,765,655,2526,3404,3244,2302,3665,731,594,2184,319,1576,621,658,2656,4299,2099,3864,1279,2071,2598,2739,795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,2591,1084,213,2287,1963,3565,2250,822,793,4574,3187,1772,1789,3050,595,1484,1959,2770,1080,2650,456,422,2996,940,3322,4328,4345,3092,2742,965,2784,739,4124,952,1358,2498,2949,2565,332,2698,2378,660,2260,2473,4194,3856,2919,535,1260,2651,1208,1428,1300,1949,1303,2942,433,2455,2450,1251,1946,614,1269,641,1306,1810,2737,3078,2912,564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,3218,2175,1897,3063,682,1157,4040,4005,1712,1160,1941,1399,394,402,2952,1573,1151,2986,2404,862,299,2033,1489,3006,346,171,2886,3401,1726,2932,168,2533,47,2507,1030,3735,1145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,504,1036,2690,2988,2405,745,5871,849,2397,2056,3081,863,2359,3857,2096,99,1397,1769,2300,4428,1643,3455,1978,1757,3718,1440,35,4879,3742,1296,4228,2280,160,5063,1599,2013,166,520,3479,1646,3345,3012,490,1937,1545,1264,2182,2505,1096,1188,1369,1436,2421,1667,2792,2460,1270,2122,727,3167,2143,806,1706,1012,1800,3037,960,2218,1882,805,139,2456,1139,1521,851,1052,3093,3089,342,2039,744,5097,1468,1502,1585,2087,223,939,326,2140,2577,892,2481,1623,4077,982,3708,135,2131,87,2503,3114,2326,1106,876,1616,547,2997,2831,2093,3441,4530,4314,9,3256,4229,4148,659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,3274,1368,3689,4645,1477,705,3384,3635,1068,1529,2941,1458,3782,1509,100,1656,2548,718,2339,408,1590,2780,3548,1838,4117,3719,1345,3530,717,3442,2778,3220,2898,1892,4590,3614,3371,2043,1998,1224,3483,891,635,584,2559,3355,733,1766,1729,1172,3789,1891,2307,781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,3213,1189,1934,5693,3262,586,3118,1324,1598,517,1564,2217,1868,1893,4445,3728,2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287,338,1993,3129,3489,2689,1809,2815,1997,957,1855,3898,2550,3275,3057,1105,1319,627,1505,1911,1883,3526,698,3629,3456,1833,1431,746,77,1261,2017,2296,1977,1885,125,1334,1600,525,1798,1109,2222,1470,1945,559,2236,1186,3443,2476,1929,1411,2411,3135,1777,3372,2621,1841,1613,3229,668,1430,1839,2643,2916,195,1989,2671,2358,1387,629,3205,2293,5256,4439,123,1310,888,1879,4300,3021,3605,1003,1162,3192,2910,2010,140,2395,2859,55,1082,2012,2901,662,419,2081,1438,680,2774,4654,3912,1620,1731,1625,5035,4065,2328,512,1344,802,5443,2163,2311,2537,524,3399,98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,180,1113,4655,3461,2028,1698,833,2696,1235,1322,1594,4408,3623,3013,3225,2040,3022,541,2881,607,3632,2029,1665,1219,639,1385,1686,1099,2803,3231,1938,3188,2858,427,676,2772,1168,2025,454,3253,2486,3556,230,1950,580,791,1991,1280,1086,1974,2034,630,257,3338,2788,4903,1017,86,4790,966,2789,1995,1696,1131,259,3095,4188,1308,179,1463,5257,289,4107,1248,42,3413,1725,2288,896,1947,774,4474,4254,604,3430,4264,392,2514,2588,452,237,1408,3018,988,4531,1970,3034,3310,540,2370,1562,1288,2990,502,4765,1147,4,1853,2708,207,294,2814,4078,2902,2509,684,34,3105,3532,2551,644,709,2801,2344,573,1727,3573,3557,2021,1081,3100,4315,2100,3681,199,2263,1837,2385,146,3484,1195,2776,3949,997,1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076,493,117,5400,2521,972,1490,2934,1796,4542,2374,1512,2933,2657,413,2888,1135,2762,2314,2156,1355,2369,766,2007,2527,2170,3124,2491,2593,2632,4757,2437,234,3125,3591,1898,1750,1376,1942,3468,3138,570,2127,2145,3276,4131,962,132,1445,4196,19,941,3624,3480,3366,1973,1374,4461,3431,2629,283,2415,2275,808,2887,3620,2112,2563,1353,3610,955,1089,3103,1053,96,88,4097,823,3808,1583,399,292,4091,3313,421,1128,642,4006,903,2539,1877,2082,596,29,4066,1790,722,2157,130,995,1569,769,1485,464,513,2213,288,1923,1101,2453,4316,133,486,2445,50,625,487,2207,57,423,481,2962,159,3729,1558,491,303,482,501,240,2837,112,3648,2392,1783,362,8,3433,3422,610,2793,3277,1390,1284,1654,21,3823,734,367,623,193,287,374,1009,1483,816,476,313,2255,2340,1262,2150,2899,1146,2581,782,2116,1659,2018,1880,255,3586,3314,1110,2867,2137,2564,986,2767,5185,2006,650,158,926,762,881,3157,2717,2362,3587,306,3690,3245,1542,3077,2427,1691,2478,2118,2985,3490,2438,539,2305,983,129,1754,355,4201,2386,827,2923,104,1773,2838,2771,411,2905,3919,376,767,122,1114,828,2422,1817,3506,266,3460,1007,1609,4998,945,2612,4429,2274,726,1247,1964,2914,2199,2070,4002,4108,657,3323,1422,579,455,2764,4737,1222,2895,1670,824,1223,1487,2525,558,861,3080,598,2659,2515,1967,752,2583,2376,2214,4180,977,704,2464,4999,2622,4109,1210,2961,819,1541,142,2284,44,418,457,1126,3730,4347,4626,1644,1876,3671,1864,302,1063,5694,624,723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098,409,1011,2325,3704,2306,818,1732,1383,1824,1844,3757,999,2705,3497,1216,1423,2683,2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343,783,724,191,2434,1354,2220,5065,1763,2752,2472,4152,131,175,2885,3434,92,1466,4920,2616,3871,3872,3866,128,1551,1632,669,1854,3682,4691,4125,1230,188,2973,3290,1302,1213,560,3266,917,763,3909,3249,1760,868,1958,764,1782,2097,145,2277,3774,4462,64,1491,3062,971,2132,3606,2442,221,1226,1617,218,323,1185,3207,3147,571,619,1473,1005,1744,2281,449,1887,2396,3685,275,375,3816,1743,3844,3731,845,1983,2350,4210,1377,773,967,3499,3052,3743,2725,4007,1697,1022,3943,1464,3264,2855,2722,1952,1029,2839,2467,84,4383,2215,820,1391,2015,2448,3672,377,1948,2168,797,2545,3536,2578,2645,94,2874,1678,405,1259,3071,771,546,1315,470,1243,3083,895,2468,981,969,2037,846,4181,653,1276,2928,14,2594,557,3007,2474,156,902,1338,1740,2574,537,2518,973,2282,2216,2433,1928,138,2903,1293,2631,1612,646,3457,839,2935,111,496,2191,2847,589,3186,149,3994,2060,4031,2641,4067,3145,1870,37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,1301,251,2446,2599,2153,872,3246,637,334,3705,831,884,921,3065,3140,4092,2198,1944,246,2964,108,2045,1152,1921,2308,1031,203,3173,4170,1907,3890,810,1401,2003,1690,506,647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,498,666,2613,834,3817,1231,184,2851,1124,883,3197,2261,3710,1765,1553,2658,1178,2639,2351,93,1193,942,2538,2141,4402,235,1821,870,1591,2192,1709,1871,3341,1618,4126,2595,2334,603,651,69,701,268,2662,3411,2555,1380,1606,503,448,254,2371,2646,574,1187,2309,1770,322,2235,1292,1801,305,566,1133,229,2067,2057,706,167,483,2002,2672,3295,1820,3561,3067,316,378,2746,3452,1112,136,1981,507,1651,2917,1117,285,4591,182,2580,3522,1304,335,3303,1835,2504,1795,1792,2248,674,1018,2106,2449,1857,2292,2845,976,3047,1781,2600,2727,1389,1281,52,3152,153,265,3950,672,3485,3951,4463,430,1183,365,278,2169,27,1407,1336,2304,209,1340,1730,2202,1852,2403,2883,979,1737,1062,631,2829,2542,3876,2592,825,2086,2226,3048,3625,352,1417,3724,542,991,431,1351,3938,1861,2294,826,1361,2927,3142,3503,1738,463,2462,2723,582,1916,1595,2808,400,3845,3891,2868,3621,2254,58,2492,1123,910,2160,2614,1372,1603,1196,1072,3385,1700,3267,1980,696,480,2430,920,799,1570,2920,1951,2041,4047,2540,1321,4223,2469,3562,2228,1271,2602,401,2833,3351,2575,5157,907,2312,1256,410,263,3507,1582,996,678,1849,2316,1480,908,3545,2237,703,2322,667,1826,2849,1531,2604,2999,2407,3146,2151,2630,1786,3711,469,3542,497,3899,2409,858,837,4446,3393,1274,786,620,1845,2001,3311,484,308,3367,1204,1815,3691,2332,1532,2557,1842,2020,2724,1927,2333,4440,567,22,1673,2728,4475,1987,1858,1144,1597,101,1832,3601,12,974,3783,4391,951,1412,1,3720,453,4608,4041,528,1041,1027,3230,2628,1129,875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278,144,1758,3040,31,475,1680,366,2685,3184,311,1642,4008,2466,5036,1593,1493,2809,216,1420,1668,233,304,2128,3284,232,1429,1768,1040,2008,3407,2740,2967,2543,242,2133,778,1565,2022,2620,505,2189,2756,1098,2273,372,1614,708,553,2846,2094,2278,169,3626,2835,4161,228,2674,3165,809,1454,1309,466,1705,1095,900,3423,880,2667,3751,5258,2317,3109,2571,4317,2766,1503,1342,866,4447,1118,63,2076,314,1881,1348,1061,172,978,3515,1747,532,511,3970,6,601,905,2699,3300,1751,276,1467,3725,2668,65,4239,2544,2779,2556,1604,578,2451,1802,992,2331,2624,1320,3446,713,1513,1013,103,2786,2447,1661,886,1702,916,654,3574,2031,1556,751,2178,2821,2179,1498,1538,2176,271,914,2251,2080,1325,638,1953,2937,3877,2432,2754,95,3265,1716,260,1227,4083,775,106,1357,3254,426,1607,555,2480,772,1985,244,2546,474,495,1046,2611,1851,2061,71,2089,1675,2590,742,3758,2843,3222,1433,267,2180,2576,2826,2233,2092,3913,2435,956,1745,3075,856,2113,1116,451,3,1988,2896,1398,993,2463,1878,2049,1341,2718,2721,2870,2108,712,2904,4363,2753,2324,277,2872,2349,2649,384,987,435,691,3e3,922,164,3939,652,1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,2530,1434,2408,893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078,49,3770,3469,462,318,656,2259,3250,3069,679,1629,2758,344,1138,1104,3120,1836,1283,3115,2154,1437,4448,934,759,1999,794,2862,1038,533,2560,1722,2342,855,2626,1197,1663,4476,3127,85,4240,2528,25,1111,1181,3673,407,3470,4561,2679,2713,768,1925,2841,3986,1544,1165,932,373,1240,2146,1930,2673,721,4766,354,4333,391,2963,187,61,3364,1442,1102,330,1940,1767,341,3809,4118,393,2496,2062,2211,105,331,300,439,913,1332,626,379,3304,1557,328,689,3952,309,1555,931,317,2517,3027,325,569,686,2107,3084,60,1042,1333,2794,264,3177,4014,1628,258,3712,7,4464,1176,1043,1778,683,114,1975,78,1492,383,1886,510,386,645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,1282,1289,4609,697,1453,3044,2666,3611,1856,2412,54,719,1330,568,3778,2459,1748,788,492,551,1191,1e3,488,3394,3763,282,1799,348,2016,1523,3155,2390,1049,382,2019,1788,1170,729,2968,3523,897,3926,2785,2938,3292,350,2319,3238,1718,1717,2655,3453,3143,4465,161,2889,2980,2009,1421,56,1908,1640,2387,2232,1917,1874,2477,4921,148,83,3438,592,4245,2882,1822,1055,741,115,1496,1624,381,1638,4592,1020,516,3214,458,947,4575,1432,211,1514,2926,1865,2142,189,852,1221,1400,1486,882,2299,4036,351,28,1122,700,6479,6480,6481,6482,6483,5508,6484,3900,3414,3974,4441,4024,3537,4037,5628,5099,3633,6485,3148,6486,3636,5509,3257,5510,5973,5445,5872,4941,4403,3174,4627,5873,6276,2286,4230,5446,5874,5122,6102,6103,4162,5447,5123,5323,4849,6277,3980,3851,5066,4246,5774,5067,6278,3001,2807,5695,3346,5775,5974,5158,5448,6487,5975,5976,5776,3598,6279,5696,4806,4211,4154,6280,6488,6489,6490,6281,4212,5037,3374,4171,6491,4562,4807,4722,4827,5977,6104,4532,4079,5159,5324,5160,4404,3858,5359,5875,3975,4288,4610,3486,4512,5325,3893,5360,6282,6283,5560,2522,4231,5978,5186,5449,2569,3878,6284,5401,3578,4415,6285,4656,5124,5979,2506,4247,4449,3219,3417,4334,4969,4329,6492,4576,4828,4172,4416,4829,5402,6286,3927,3852,5361,4369,4830,4477,4867,5876,4173,6493,6105,4657,6287,6106,5877,5450,6494,4155,4868,5451,3700,5629,4384,6288,6289,5878,3189,4881,6107,6290,6495,4513,6496,4692,4515,4723,5100,3356,6497,6291,3810,4080,5561,3570,4430,5980,6498,4355,5697,6499,4724,6108,6109,3764,4050,5038,5879,4093,3226,6292,5068,5217,4693,3342,5630,3504,4831,4377,4466,4309,5698,4431,5777,6293,5778,4272,3706,6110,5326,3752,4676,5327,4273,5403,4767,5631,6500,5699,5880,3475,5039,6294,5562,5125,4348,4301,4482,4068,5126,4593,5700,3380,3462,5981,5563,3824,5404,4970,5511,3825,4738,6295,6501,5452,4516,6111,5881,5564,6502,6296,5982,6503,4213,4163,3454,6504,6112,4009,4450,6113,4658,6297,6114,3035,6505,6115,3995,4904,4739,4563,4942,4110,5040,3661,3928,5362,3674,6506,5292,3612,4791,5565,4149,5983,5328,5259,5021,4725,4577,4564,4517,4364,6298,5405,4578,5260,4594,4156,4157,5453,3592,3491,6507,5127,5512,4709,4922,5984,5701,4726,4289,6508,4015,6116,5128,4628,3424,4241,5779,6299,4905,6509,6510,5454,5702,5780,6300,4365,4923,3971,6511,5161,3270,3158,5985,4100,867,5129,5703,6117,5363,3695,3301,5513,4467,6118,6512,5455,4232,4242,4629,6513,3959,4478,6514,5514,5329,5986,4850,5162,5566,3846,4694,6119,5456,4869,5781,3779,6301,5704,5987,5515,4710,6302,5882,6120,4392,5364,5705,6515,6121,6516,6517,3736,5988,5457,5989,4695,2457,5883,4551,5782,6303,6304,6305,5130,4971,6122,5163,6123,4870,3263,5365,3150,4871,6518,6306,5783,5069,5706,3513,3498,4409,5330,5632,5366,5458,5459,3991,5990,4502,3324,5991,5784,3696,4518,5633,4119,6519,4630,5634,4417,5707,4832,5992,3418,6124,5993,5567,4768,5218,6520,4595,3458,5367,6125,5635,6126,4202,6521,4740,4924,6307,3981,4069,4385,6308,3883,2675,4051,3834,4302,4483,5568,5994,4972,4101,5368,6309,5164,5884,3922,6127,6522,6523,5261,5460,5187,4164,5219,3538,5516,4111,3524,5995,6310,6311,5369,3181,3386,2484,5188,3464,5569,3627,5708,6524,5406,5165,4677,4492,6312,4872,4851,5885,4468,5996,6313,5709,5710,6128,2470,5886,6314,5293,4882,5785,3325,5461,5101,6129,5711,5786,6525,4906,6526,6527,4418,5887,5712,4808,2907,3701,5713,5888,6528,3765,5636,5331,6529,6530,3593,5889,3637,4943,3692,5714,5787,4925,6315,6130,5462,4405,6131,6132,6316,5262,6531,6532,5715,3859,5716,5070,4696,5102,3929,5788,3987,4792,5997,6533,6534,3920,4809,5e3,5998,6535,2974,5370,6317,5189,5263,5717,3826,6536,3953,5001,4883,3190,5463,5890,4973,5999,4741,6133,6134,3607,5570,6e3,4711,3362,3630,4552,5041,6318,6001,2950,2953,5637,4646,5371,4944,6002,2044,4120,3429,6319,6537,5103,4833,6538,6539,4884,4647,3884,6003,6004,4758,3835,5220,5789,4565,5407,6540,6135,5294,4697,4852,6320,6321,3206,4907,6541,6322,4945,6542,6136,6543,6323,6005,4631,3519,6544,5891,6545,5464,3784,5221,6546,5571,4659,6547,6324,6137,5190,6548,3853,6549,4016,4834,3954,6138,5332,3827,4017,3210,3546,4469,5408,5718,3505,4648,5790,5131,5638,5791,5465,4727,4318,6325,6326,5792,4553,4010,4698,3439,4974,3638,4335,3085,6006,5104,5042,5166,5892,5572,6327,4356,4519,5222,5573,5333,5793,5043,6550,5639,5071,4503,6328,6139,6551,6140,3914,3901,5372,6007,5640,4728,4793,3976,3836,4885,6552,4127,6553,4451,4102,5002,6554,3686,5105,6555,5191,5072,5295,4611,5794,5296,6556,5893,5264,5894,4975,5466,5265,4699,4976,4370,4056,3492,5044,4886,6557,5795,4432,4769,4357,5467,3940,4660,4290,6141,4484,4770,4661,3992,6329,4025,4662,5022,4632,4835,4070,5297,4663,4596,5574,5132,5409,5895,6142,4504,5192,4664,5796,5896,3885,5575,5797,5023,4810,5798,3732,5223,4712,5298,4084,5334,5468,6143,4052,4053,4336,4977,4794,6558,5335,4908,5576,5224,4233,5024,4128,5469,5225,4873,6008,5045,4729,4742,4633,3675,4597,6559,5897,5133,5577,5003,5641,5719,6330,6560,3017,2382,3854,4406,4811,6331,4393,3964,4946,6561,2420,3722,6562,4926,4378,3247,1736,4442,6332,5134,6333,5226,3996,2918,5470,4319,4003,4598,4743,4744,4485,3785,3902,5167,5004,5373,4394,5898,6144,4874,1793,3997,6334,4085,4214,5106,5642,4909,5799,6009,4419,4189,3330,5899,4165,4420,5299,5720,5227,3347,6145,4081,6335,2876,3930,6146,3293,3786,3910,3998,5900,5300,5578,2840,6563,5901,5579,6147,3531,5374,6564,6565,5580,4759,5375,6566,6148,3559,5643,6336,6010,5517,6337,6338,5721,5902,3873,6011,6339,6567,5518,3868,3649,5722,6568,4771,4947,6569,6149,4812,6570,2853,5471,6340,6341,5644,4795,6342,6012,5723,6343,5724,6013,4349,6344,3160,6150,5193,4599,4514,4493,5168,4320,6345,4927,3666,4745,5169,5903,5005,4928,6346,5725,6014,4730,4203,5046,4948,3395,5170,6015,4150,6016,5726,5519,6347,5047,3550,6151,6348,4197,4310,5904,6571,5581,2965,6152,4978,3960,4291,5135,6572,5301,5727,4129,4026,5905,4853,5728,5472,6153,6349,4533,2700,4505,5336,4678,3583,5073,2994,4486,3043,4554,5520,6350,6017,5800,4487,6351,3931,4103,5376,6352,4011,4321,4311,4190,5136,6018,3988,3233,4350,5906,5645,4198,6573,5107,3432,4191,3435,5582,6574,4139,5410,6353,5411,3944,5583,5074,3198,6575,6354,4358,6576,5302,4600,5584,5194,5412,6577,6578,5585,5413,5303,4248,5414,3879,4433,6579,4479,5025,4854,5415,6355,4760,4772,3683,2978,4700,3797,4452,3965,3932,3721,4910,5801,6580,5195,3551,5907,3221,3471,3029,6019,3999,5908,5909,5266,5267,3444,3023,3828,3170,4796,5646,4979,4259,6356,5647,5337,3694,6357,5648,5338,4520,4322,5802,3031,3759,4071,6020,5586,4836,4386,5048,6581,3571,4679,4174,4949,6154,4813,3787,3402,3822,3958,3215,3552,5268,4387,3933,4950,4359,6021,5910,5075,3579,6358,4234,4566,5521,6359,3613,5049,6022,5911,3375,3702,3178,4911,5339,4521,6582,6583,4395,3087,3811,5377,6023,6360,6155,4027,5171,5649,4421,4249,2804,6584,2270,6585,4e3,4235,3045,6156,5137,5729,4140,4312,3886,6361,4330,6157,4215,6158,3500,3676,4929,4331,3713,4930,5912,4265,3776,3368,5587,4470,4855,3038,4980,3631,6159,6160,4132,4680,6161,6362,3923,4379,5588,4255,6586,4121,6587,6363,4649,6364,3288,4773,4774,6162,6024,6365,3543,6588,4274,3107,3737,5050,5803,4797,4522,5589,5051,5730,3714,4887,5378,4001,4523,6163,5026,5522,4701,4175,2791,3760,6589,5473,4224,4133,3847,4814,4815,4775,3259,5416,6590,2738,6164,6025,5304,3733,5076,5650,4816,5590,6591,6165,6592,3934,5269,6593,3396,5340,6594,5804,3445,3602,4042,4488,5731,5732,3525,5591,4601,5196,6166,6026,5172,3642,4612,3202,4506,4798,6366,3818,5108,4303,5138,5139,4776,3332,4304,2915,3415,4434,5077,5109,4856,2879,5305,4817,6595,5913,3104,3144,3903,4634,5341,3133,5110,5651,5805,6167,4057,5592,2945,4371,5593,6596,3474,4182,6367,6597,6168,4507,4279,6598,2822,6599,4777,4713,5594,3829,6169,3887,5417,6170,3653,5474,6368,4216,2971,5228,3790,4579,6369,5733,6600,6601,4951,4746,4555,6602,5418,5475,6027,3400,4665,5806,6171,4799,6028,5052,6172,3343,4800,4747,5006,6370,4556,4217,5476,4396,5229,5379,5477,3839,5914,5652,5807,4714,3068,4635,5808,6173,5342,4192,5078,5419,5523,5734,6174,4557,6175,4602,6371,6176,6603,5809,6372,5735,4260,3869,5111,5230,6029,5112,6177,3126,4681,5524,5915,2706,3563,4748,3130,6178,4018,5525,6604,6605,5478,4012,4837,6606,4534,4193,5810,4857,3615,5479,6030,4082,3697,3539,4086,5270,3662,4508,4931,5916,4912,5811,5027,3888,6607,4397,3527,3302,3798,2775,2921,2637,3966,4122,4388,4028,4054,1633,4858,5079,3024,5007,3982,3412,5736,6608,3426,3236,5595,3030,6179,3427,3336,3279,3110,6373,3874,3039,5080,5917,5140,4489,3119,6374,5812,3405,4494,6031,4666,4141,6180,4166,6032,5813,4981,6609,5081,4422,4982,4112,3915,5653,3296,3983,6375,4266,4410,5654,6610,6181,3436,5082,6611,5380,6033,3819,5596,4535,5231,5306,5113,6612,4952,5918,4275,3113,6613,6376,6182,6183,5814,3073,4731,4838,5008,3831,6614,4888,3090,3848,4280,5526,5232,3014,5655,5009,5737,5420,5527,6615,5815,5343,5173,5381,4818,6616,3151,4953,6617,5738,2796,3204,4360,2989,4281,5739,5174,5421,5197,3132,5141,3849,5142,5528,5083,3799,3904,4839,5480,2880,4495,3448,6377,6184,5271,5919,3771,3193,6034,6035,5920,5010,6036,5597,6037,6378,6038,3106,5422,6618,5423,5424,4142,6619,4889,5084,4890,4313,5740,6620,3437,5175,5307,5816,4199,5198,5529,5817,5199,5656,4913,5028,5344,3850,6185,2955,5272,5011,5818,4567,4580,5029,5921,3616,5233,6621,6622,6186,4176,6039,6379,6380,3352,5200,5273,2908,5598,5234,3837,5308,6623,6624,5819,4496,4323,5309,5201,6625,6626,4983,3194,3838,4167,5530,5922,5274,6381,6382,3860,3861,5599,3333,4292,4509,6383,3553,5481,5820,5531,4778,6187,3955,3956,4324,4389,4218,3945,4325,3397,2681,5923,4779,5085,4019,5482,4891,5382,5383,6040,4682,3425,5275,4094,6627,5310,3015,5483,5657,4398,5924,3168,4819,6628,5925,6629,5532,4932,4613,6041,6630,4636,6384,4780,4204,5658,4423,5821,3989,4683,5822,6385,4954,6631,5345,6188,5425,5012,5384,3894,6386,4490,4104,6632,5741,5053,6633,5823,5926,5659,5660,5927,6634,5235,5742,5824,4840,4933,4820,6387,4859,5928,4955,6388,4143,3584,5825,5346,5013,6635,5661,6389,5014,5484,5743,4337,5176,5662,6390,2836,6391,3268,6392,6636,6042,5236,6637,4158,6638,5744,5663,4471,5347,3663,4123,5143,4293,3895,6639,6640,5311,5929,5826,3800,6189,6393,6190,5664,5348,3554,3594,4749,4603,6641,5385,4801,6043,5827,4183,6642,5312,5426,4761,6394,5665,6191,4715,2669,6643,6644,5533,3185,5427,5086,5930,5931,5386,6192,6044,6645,4781,4013,5745,4282,4435,5534,4390,4267,6045,5746,4984,6046,2743,6193,3501,4087,5485,5932,5428,4184,4095,5747,4061,5054,3058,3862,5933,5600,6646,5144,3618,6395,3131,5055,5313,6396,4650,4956,3855,6194,3896,5202,4985,4029,4225,6195,6647,5828,5486,5829,3589,3002,6648,6397,4782,5276,6649,6196,6650,4105,3803,4043,5237,5830,6398,4096,3643,6399,3528,6651,4453,3315,4637,6652,3984,6197,5535,3182,3339,6653,3096,2660,6400,6654,3449,5934,4250,4236,6047,6401,5831,6655,5487,3753,4062,5832,6198,6199,6656,3766,6657,3403,4667,6048,6658,4338,2897,5833,3880,2797,3780,4326,6659,5748,5015,6660,5387,4351,5601,4411,6661,3654,4424,5935,4339,4072,5277,4568,5536,6402,6662,5238,6663,5349,5203,6200,5204,6201,5145,4536,5016,5056,4762,5834,4399,4957,6202,6403,5666,5749,6664,4340,6665,5936,5177,5667,6666,6667,3459,4668,6404,6668,6669,4543,6203,6670,4276,6405,4480,5537,6671,4614,5205,5668,6672,3348,2193,4763,6406,6204,5937,5602,4177,5669,3419,6673,4020,6205,4443,4569,5388,3715,3639,6407,6049,4058,6206,6674,5938,4544,6050,4185,4294,4841,4651,4615,5488,6207,6408,6051,5178,3241,3509,5835,6208,4958,5836,4341,5489,5278,6209,2823,5538,5350,5206,5429,6675,4638,4875,4073,3516,4684,4914,4860,5939,5603,5389,6052,5057,3237,5490,3791,6676,6409,6677,4821,4915,4106,5351,5058,4243,5539,4244,5604,4842,4916,5239,3028,3716,5837,5114,5605,5390,5940,5430,6210,4332,6678,5540,4732,3667,3840,6053,4305,3408,5670,5541,6410,2744,5240,5750,6679,3234,5606,6680,5607,5671,3608,4283,4159,4400,5352,4783,6681,6411,6682,4491,4802,6211,6412,5941,6413,6414,5542,5751,6683,4669,3734,5942,6684,6415,5943,5059,3328,4670,4144,4268,6685,6686,6687,6688,4372,3603,6689,5944,5491,4373,3440,6416,5543,4784,4822,5608,3792,4616,5838,5672,3514,5391,6417,4892,6690,4639,6691,6054,5673,5839,6055,6692,6056,5392,6212,4038,5544,5674,4497,6057,6693,5840,4284,5675,4021,4545,5609,6418,4454,6419,6213,4113,4472,5314,3738,5087,5279,4074,5610,4959,4063,3179,4750,6058,6420,6214,3476,4498,4716,5431,4960,4685,6215,5241,6694,6421,6216,6695,5841,5945,6422,3748,5946,5179,3905,5752,5545,5947,4374,6217,4455,6423,4412,6218,4803,5353,6696,3832,5280,6219,4327,4702,6220,6221,6059,4652,5432,6424,3749,4751,6425,5753,4986,5393,4917,5948,5030,5754,4861,4733,6426,4703,6697,6222,4671,5949,4546,4961,5180,6223,5031,3316,5281,6698,4862,4295,4934,5207,3644,6427,5842,5950,6428,6429,4570,5843,5282,6430,6224,5088,3239,6060,6699,5844,5755,6061,6431,2701,5546,6432,5115,5676,4039,3993,3327,4752,4425,5315,6433,3941,6434,5677,4617,4604,3074,4581,6225,5433,6435,6226,6062,4823,5756,5116,6227,3717,5678,4717,5845,6436,5679,5846,6063,5847,6064,3977,3354,6437,3863,5117,6228,5547,5394,4499,4524,6229,4605,6230,4306,4500,6700,5951,6065,3693,5952,5089,4366,4918,6701,6231,5548,6232,6702,6438,4704,5434,6703,6704,5953,4168,6705,5680,3420,6706,5242,4407,6066,3812,5757,5090,5954,4672,4525,3481,5681,4618,5395,5354,5316,5955,6439,4962,6707,4526,6440,3465,4673,6067,6441,5682,6708,5435,5492,5758,5683,4619,4571,4674,4804,4893,4686,5493,4753,6233,6068,4269,6442,6234,5032,4705,5146,5243,5208,5848,6235,6443,4963,5033,4640,4226,6236,5849,3387,6444,6445,4436,4437,5850,4843,5494,4785,4894,6709,4361,6710,5091,5956,3331,6237,4987,5549,6069,6711,4342,3517,4473,5317,6070,6712,6071,4706,6446,5017,5355,6713,6714,4988,5436,6447,4734,5759,6715,4735,4547,4456,4754,6448,5851,6449,6450,3547,5852,5318,6451,6452,5092,4205,6716,6238,4620,4219,5611,6239,6072,4481,5760,5957,5958,4059,6240,6453,4227,4537,6241,5761,4030,4186,5244,5209,3761,4457,4876,3337,5495,5181,6242,5959,5319,5612,5684,5853,3493,5854,6073,4169,5613,5147,4895,6074,5210,6717,5182,6718,3830,6243,2798,3841,6075,6244,5855,5614,3604,4606,5496,5685,5118,5356,6719,6454,5960,5357,5961,6720,4145,3935,4621,5119,5962,4261,6721,6455,4786,5963,4375,4582,6245,6246,6247,6076,5437,4877,5856,3376,4380,6248,4160,6722,5148,6456,5211,6457,6723,4718,6458,6724,6249,5358,4044,3297,6459,6250,5857,5615,5497,5245,6460,5498,6725,6251,6252,5550,3793,5499,2959,5396,6461,6462,4572,5093,5500,5964,3806,4146,6463,4426,5762,5858,6077,6253,4755,3967,4220,5965,6254,4989,5501,6464,4352,6726,6078,4764,2290,5246,3906,5438,5283,3767,4964,2861,5763,5094,6255,6256,4622,5616,5859,5860,4707,6727,4285,4708,4824,5617,6257,5551,4787,5212,4965,4935,4687,6465,6728,6466,5686,6079,3494,4413,2995,5247,5966,5618,6729,5967,5764,5765,5687,5502,6730,6731,6080,5397,6467,4990,6258,6732,4538,5060,5619,6733,4719,5688,5439,5018,5149,5284,5503,6734,6081,4607,6259,5120,3645,5861,4583,6260,4584,4675,5620,4098,5440,6261,4863,2379,3306,4585,5552,5689,4586,5285,6735,4864,6736,5286,6082,6737,4623,3010,4788,4381,4558,5621,4587,4896,3698,3161,5248,4353,4045,6262,3754,5183,4588,6738,6263,6739,6740,5622,3936,6741,6468,6742,6264,5095,6469,4991,5968,6743,4992,6744,6083,4897,6745,4256,5766,4307,3108,3968,4444,5287,3889,4343,6084,4510,6085,4559,6086,4898,5969,6746,5623,5061,4919,5249,5250,5504,5441,6265,5320,4878,3242,5862,5251,3428,6087,6747,4237,5624,5442,6266,5553,4539,6748,2585,3533,5398,4262,6088,5150,4736,4438,6089,6267,5505,4966,6749,6268,6750,6269,5288,5554,3650,6090,6091,4624,6092,5690,6751,5863,4270,5691,4277,5555,5864,6752,5692,4720,4865,6470,5151,4688,4825,6753,3094,6754,6471,3235,4653,6755,5213,5399,6756,3201,4589,5865,4967,6472,5866,6473,5019,3016,6757,5321,4756,3957,4573,6093,4993,5767,4721,6474,6758,5625,6759,4458,6475,6270,6760,5556,4994,5214,5252,6271,3875,5768,6094,5034,5506,4376,5769,6761,2120,6476,5253,5770,6762,5771,5970,3990,5971,5557,5558,5772,6477,6095,2787,4641,5972,5121,6096,6097,6272,6763,3703,5867,5507,6273,4206,6274,4789,6098,6764,3619,3646,3833,3804,2394,3788,4936,3978,4866,4899,6099,6100,5559,6478,6765,3599,5868,6101,5869,5870,6275,6766,4527,6767]),Wr}var qr={},e7;function Ox(){return e7||(e7=1,qr.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,qr.BIG5_TABLE_SIZE=5376,qr.Big5CharToFreqOrder=[1,1801,1506,255,1431,198,9,82,6,5008,177,202,3681,1256,2821,110,3814,33,3274,261,76,44,2114,16,2946,2187,1176,659,3971,26,3451,2653,1198,3972,3350,4202,410,2215,302,590,361,1964,8,204,58,4510,5009,1932,63,5010,5011,317,1614,75,222,159,4203,2417,1480,5012,3555,3091,224,2822,3682,3,10,3973,1471,29,2787,1135,2866,1940,873,130,3275,1123,312,5013,4511,2052,507,252,682,5014,142,1915,124,206,2947,34,3556,3204,64,604,5015,2501,1977,1978,155,1991,645,641,1606,5016,3452,337,72,406,5017,80,630,238,3205,1509,263,939,1092,2654,756,1440,1094,3453,449,69,2987,591,179,2096,471,115,2035,1844,60,50,2988,134,806,1869,734,2036,3454,180,995,1607,156,537,2907,688,5018,319,1305,779,2145,514,2379,298,4512,359,2502,90,2716,1338,663,11,906,1099,2553,20,2441,182,532,1716,5019,732,1376,4204,1311,1420,3206,25,2317,1056,113,399,382,1950,242,3455,2474,529,3276,475,1447,3683,5020,117,21,656,810,1297,2300,2334,3557,5021,126,4205,706,456,150,613,4513,71,1118,2037,4206,145,3092,85,835,486,2115,1246,1426,428,727,1285,1015,800,106,623,303,1281,5022,2128,2359,347,3815,221,3558,3135,5023,1956,1153,4207,83,296,1199,3093,192,624,93,5024,822,1898,2823,3136,795,2065,991,1554,1542,1592,27,43,2867,859,139,1456,860,4514,437,712,3974,164,2397,3137,695,211,3037,2097,195,3975,1608,3559,3560,3684,3976,234,811,2989,2098,3977,2233,1441,3561,1615,2380,668,2077,1638,305,228,1664,4515,467,415,5025,262,2099,1593,239,108,300,200,1033,512,1247,2078,5026,5027,2176,3207,3685,2682,593,845,1062,3277,88,1723,2038,3978,1951,212,266,152,149,468,1899,4208,4516,77,187,5028,3038,37,5,2990,5029,3979,5030,5031,39,2524,4517,2908,3208,2079,55,148,74,4518,545,483,1474,1029,1665,217,1870,1531,3138,1104,2655,4209,24,172,3562,900,3980,3563,3564,4519,32,1408,2824,1312,329,487,2360,2251,2717,784,2683,4,3039,3351,1427,1789,188,109,499,5032,3686,1717,1790,888,1217,3040,4520,5033,3565,5034,3352,1520,3687,3981,196,1034,775,5035,5036,929,1816,249,439,38,5037,1063,5038,794,3982,1435,2301,46,178,3278,2066,5039,2381,5040,214,1709,4521,804,35,707,324,3688,1601,2554,140,459,4210,5041,5042,1365,839,272,978,2262,2580,3456,2129,1363,3689,1423,697,100,3094,48,70,1231,495,3139,2196,5043,1294,5044,2080,462,586,1042,3279,853,256,988,185,2382,3457,1698,434,1084,5045,3458,314,2625,2788,4522,2335,2336,569,2285,637,1817,2525,757,1162,1879,1616,3459,287,1577,2116,768,4523,1671,2868,3566,2526,1321,3816,909,2418,5046,4211,933,3817,4212,2053,2361,1222,4524,765,2419,1322,786,4525,5047,1920,1462,1677,2909,1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213,309,1369,1130,2825,364,2234,1653,1299,3984,3567,3985,3986,2656,525,1085,3041,902,2001,1475,964,4527,421,1845,1415,1057,2286,940,1364,3141,376,4528,4529,1381,7,2527,983,2383,336,1710,2684,1846,321,3461,559,1131,3042,2752,1809,1132,1313,265,1481,1858,5049,352,1203,2826,3280,167,1089,420,2827,776,792,1724,3568,4214,2443,3281,5050,4215,5051,446,229,333,2753,901,3818,1200,1557,4530,2657,1921,395,2754,2685,3819,4216,1836,125,916,3209,2626,4531,5052,5053,3820,5054,5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146,438,2601,2910,2384,3354,1068,958,3043,461,311,2869,2686,4217,1916,3210,4218,1979,383,750,2755,2627,4219,274,539,385,1278,1442,5058,1154,1965,384,561,210,98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257,129,5060,3821,642,523,2789,2790,2658,5061,141,2235,1333,68,176,441,876,907,4220,603,2602,710,171,3464,404,549,18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534,5063,2991,368,5064,146,366,99,871,3693,1543,748,807,1586,1185,22,2263,379,3822,3211,5065,3212,505,1942,2628,1992,1382,2319,5066,380,2362,218,702,1818,1248,3465,3044,3572,3355,3282,5067,2992,3694,930,3283,3823,5068,59,5069,585,601,4221,497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071,749,1837,690,1900,3824,1773,3988,1476,429,1043,1791,2236,2117,917,4222,447,1086,1629,5072,556,5073,5074,2021,1654,844,1090,105,550,966,1758,2828,1008,1783,686,1095,5075,2287,793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825,980,2503,544,353,527,4538,908,2687,2913,5077,381,2629,1943,1348,5078,1341,1252,560,3095,5079,3467,2870,5080,2054,973,886,2081,143,4539,5081,5082,157,3989,496,4224,57,840,540,2039,4540,4541,3468,2118,1445,970,2264,1748,1966,2082,4225,3144,1234,1776,3284,2829,3695,773,1206,2130,1066,2040,1326,3990,1738,1725,4226,279,3145,51,1544,2604,423,1578,2131,2067,173,4542,1880,5083,5084,1583,264,610,3696,4543,2444,280,154,5085,5086,5087,1739,338,1282,3096,693,2871,1411,1074,3826,2445,5088,4544,5089,5090,1240,952,2399,5091,2914,1538,2688,685,1483,4227,2475,1436,953,4228,2055,4545,671,2400,79,4229,2446,3285,608,567,2689,3469,4230,4231,1691,393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672,3827,3213,1464,522,1119,661,1150,216,675,4547,3991,1432,3574,609,4548,2690,2402,5097,5098,5099,4232,3045,0,5100,2476,315,231,2447,301,3356,4549,2385,5101,233,4233,3697,1819,4550,4551,5102,96,1777,1315,2083,5103,257,5104,1810,3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097,363,1655,3214,5106,2993,5107,5108,5109,3992,1567,3993,718,103,3215,849,1443,341,3357,2949,1484,5110,1712,127,67,339,4235,2403,679,1412,821,5111,5112,834,738,351,2994,2147,846,235,1497,1881,418,1993,3828,2719,186,1100,2148,2756,3575,1545,1355,2950,2872,1377,583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363,78,3829,3830,267,1289,2100,2002,1594,4237,348,369,1274,2197,2178,1838,4552,1821,2830,3701,2757,2288,2003,4553,2951,2758,144,3358,882,4554,3995,2759,3470,4555,2915,5114,4238,1726,320,5115,3996,3046,788,2996,5116,2831,1774,1327,2873,3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660,787,2023,506,824,3702,534,323,4557,1044,3359,2024,1901,946,3471,5118,1779,1500,1678,5119,1882,4558,165,243,4559,3703,2528,123,683,4239,764,4560,36,3998,1793,589,2916,816,626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4e3,2874,1370,1228,1933,891,2084,2917,304,4240,5121,292,2997,2720,3577,691,2101,4241,1115,4561,118,662,5122,611,1156,854,2386,1316,2875,2,386,515,2918,5123,5124,3286,868,2238,1486,855,2661,785,2216,3048,5125,1040,3216,3578,5126,3146,448,5127,1525,5128,2165,4562,5129,3833,5130,4242,2833,3579,3147,503,818,4001,3148,1568,814,676,1444,306,1749,5131,3834,1416,1030,197,1428,805,2834,1501,4563,5132,5133,5134,1994,5135,4564,5136,5137,2198,13,2792,3704,2998,3149,1229,1917,5138,3835,2132,5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142,646,3836,2448,307,5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148,519,5149,128,2133,92,2289,1980,5150,4003,1512,342,3150,2199,5151,2793,2218,1981,3360,4244,290,1656,1317,789,827,2365,5152,3837,4566,562,581,4004,5153,401,4567,2252,94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156,828,1105,4245,1262,1394,5157,4246,605,4570,5158,1784,2876,5159,2835,819,2102,578,2200,2952,5160,1502,436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162,5163,2337,2068,23,4571,193,826,3838,2103,699,1630,4248,3098,390,1794,1064,3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573,137,4250,598,3101,1967,780,104,974,2953,5167,278,899,253,402,572,504,493,1339,5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253,565,1334,2722,863,41,5170,5171,4575,5172,1657,2338,19,463,2760,4251,606,5173,2999,3289,1087,2085,1323,2662,3e3,5174,1631,1623,1750,4252,2691,5175,2878,791,2723,2663,2339,232,2421,5176,3001,1498,5177,2664,2630,755,1366,3707,3290,3151,2026,1609,119,1918,3474,862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125,817,4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507,5182,2692,733,40,1632,1106,2879,345,4257,841,2531,230,4578,3002,1847,3292,3475,5183,1263,986,3476,5184,735,879,254,1137,857,622,1300,1180,1388,1562,4010,4011,2954,967,2761,2665,1349,592,2134,1692,3361,3003,1995,4258,1679,4012,1902,2188,5185,739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559,1871,2762,3004,5187,435,5188,343,1108,596,17,1751,4579,2239,3477,3709,5189,4580,294,3582,2955,1693,477,979,281,2042,3583,643,2043,3710,2631,2795,2266,1031,2340,2135,2303,3584,4581,367,1249,2560,5190,3585,5191,4582,1283,3362,2005,240,1762,3363,4583,4584,836,1069,3153,474,5192,2149,2532,268,3586,5193,3219,1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262,961,1673,2632,190,2006,2203,3841,4585,4586,5197,570,2504,3711,1490,5198,4587,2633,3293,1957,4588,584,1514,396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013,619,5202,3154,3294,215,2007,2796,2561,3220,4591,3221,4592,763,4263,3842,4593,5203,5204,1958,1767,2956,3365,3712,1174,452,1477,4594,3366,3155,5205,2838,1253,2387,2189,1091,2290,4264,492,5206,638,1169,1825,2136,1752,4014,648,926,1021,1324,4595,520,4596,997,847,1007,892,4597,3843,2267,1872,3713,2405,1785,4598,1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551,30,2268,4266,5207,2027,4600,3589,5208,501,5209,4267,594,3478,2166,1822,3590,3479,3591,3223,829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602,4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603,374,4017,652,4272,4273,375,1140,798,5216,5217,5218,2366,4604,2269,546,1659,138,3051,2450,4605,5219,2254,612,1849,910,796,3844,1740,1371,825,3845,3846,5220,2920,2562,5221,692,444,3052,2634,801,4606,4274,5222,1491,244,1053,3053,4275,4276,340,5223,4018,1041,3005,293,1168,87,1357,5224,1539,959,5225,2240,721,694,4277,3847,219,1478,644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826,730,1515,184,2840,66,4607,5228,1660,2958,246,3369,378,1457,226,3480,975,4020,2959,1264,3592,674,696,5229,163,5230,1141,2422,2167,713,3593,3370,4608,4021,5231,5232,1186,15,5233,1079,1070,5234,1522,3224,3594,276,1050,2725,758,1126,653,2960,3296,5235,2342,889,3595,4022,3104,3007,903,1250,4609,4023,3481,3596,1342,1681,1718,766,3297,286,89,2961,3715,5236,1713,5237,2607,3371,3008,5238,2962,2219,3225,2880,5239,4610,2505,2533,181,387,1075,4024,731,2190,3372,5240,3298,310,313,3482,2304,770,4278,54,3054,189,4611,3105,3848,4025,5241,1230,1617,1850,355,3597,4279,4612,3373,111,4280,3716,1350,3160,3483,3055,4281,2150,3299,3598,5242,2797,4026,4027,3009,722,2009,5243,1071,247,1207,2343,2478,1378,4613,2010,864,1437,1214,4614,373,3849,1142,2220,667,4615,442,2763,2563,3850,4028,1969,4282,3300,1840,837,170,1107,934,1336,1883,5244,5245,2119,4283,2841,743,1569,5246,4616,4284,582,2389,1418,3484,5247,1803,5248,357,1395,1729,3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250,482,2451,4618,5251,5252,1492,833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718,4286,1686,1795,416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881,4619,1610,1584,3056,2424,2764,443,3302,1163,3161,5257,5258,4029,5259,4287,2506,3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289,431,3485,5261,250,97,81,4290,5262,1648,1851,1558,160,848,5263,866,740,1694,5264,2204,2843,3226,4291,4621,3719,1687,950,2479,426,469,3227,3720,3721,4031,5265,5266,1188,424,1996,861,3601,4292,3854,2205,2694,168,1235,3602,4293,5267,2087,1674,4622,3374,3303,220,2565,1009,5268,3855,670,3010,332,1208,717,5269,5270,3603,2452,4032,3375,5271,513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534,3722,3604,815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035,1741,4036,3857,4037,5278,236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625,5281,308,5282,4626,245,4627,1852,2480,1307,2583,430,715,2137,2454,5283,270,199,2883,4038,5284,3606,2727,1753,761,1754,725,1661,1841,4628,3487,3724,5285,5286,587,14,3305,227,2608,326,480,2270,943,2765,3607,291,650,1884,5287,1702,1226,102,1547,62,3488,904,4629,3489,1164,4294,5288,5289,1224,1548,2766,391,498,1493,5290,1386,1419,5291,2056,1177,4630,813,880,1081,2368,566,1145,4631,2291,1001,1035,2566,2609,2242,394,1286,5292,5293,2069,5294,86,1494,1730,4039,491,1588,745,897,2963,843,3377,4040,2767,2884,3306,1768,998,2221,2070,397,1827,1195,1970,3725,3011,3378,284,5295,3861,2507,2138,2120,1904,5296,4041,2151,4042,4295,1036,3490,1905,114,2567,4296,209,1527,5297,5298,2964,2844,2635,2390,2728,3164,812,2568,5299,3307,5300,1559,737,1885,3726,1210,885,28,2695,3608,3862,5301,4297,1004,1780,4632,5302,346,1982,2222,2696,4633,3863,1742,797,1642,4043,1934,1072,1384,2152,896,4044,3308,3727,3228,2885,3609,5303,2569,1959,4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528,2610,161,1178,4300,1983,987,4637,1101,4301,631,4046,1157,3229,2425,1343,1241,1016,2243,2570,372,877,2344,2508,1160,555,1935,911,4047,5307,466,1170,169,1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308,992,2345,3491,1540,2730,1201,2071,2406,1997,2482,5309,4638,528,1923,2191,1503,1874,1570,2369,3379,3309,5310,557,1073,5311,1828,3492,2088,2271,3165,3059,3107,767,3108,2799,4639,1006,4302,4640,2346,1267,2179,3730,3230,778,4048,3231,2731,1597,2667,5312,4641,5313,3493,5314,5315,5316,3310,2698,1433,3311,131,95,1504,4049,723,4303,3166,1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052,4304,2584,248,1634,3864,912,5319,2845,3732,3060,3865,654,53,5320,3014,5321,1688,4642,777,3494,1032,4053,1425,5322,191,820,2121,2846,971,4643,931,3233,135,664,783,3866,1998,772,2922,1936,4054,3867,4644,2923,3234,282,2732,640,1372,3495,1127,922,325,3381,5323,5324,711,2045,5325,5326,4055,2223,2800,1937,4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058,4059,5328,2225,258,3236,4646,101,1227,5329,3313,1755,5330,1391,3314,5331,2924,2057,893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338,878,1325,1781,2801,4647,259,1385,2585,744,1183,2272,4648,5339,4060,2509,5340,684,1024,4306,5341,472,3612,3496,1165,3315,4061,4062,322,2153,881,455,1695,1152,1340,660,554,2154,4649,1058,4650,4307,830,1065,3383,4063,4651,1924,5342,1703,1919,5343,932,2273,122,5344,4652,947,677,5345,3870,2637,297,1906,1925,2274,4653,2322,3316,5346,5347,4308,5348,4309,84,4310,112,989,5349,547,1059,4064,701,3613,1019,5350,4311,5351,3497,942,639,457,2306,2456,993,2966,407,851,494,4654,3384,927,5352,1237,5353,2426,3385,573,4312,680,921,2925,1279,1875,285,790,1448,1984,719,2168,5354,5355,4655,4065,4066,1649,5356,1541,563,5357,1077,5358,3386,3061,3498,511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657,5359,535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313,1238,2586,3109,1259,5361,700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907,4658,2611,4070,781,2427,132,1589,203,147,273,2802,2407,898,1787,2155,4071,4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872,965,5369,1805,2699,1516,3614,1121,1082,1329,3317,4073,1449,3873,65,1128,2848,2927,2769,1590,3874,5370,5371,12,2668,45,976,2587,3169,4661,517,2535,1013,1037,3240,5372,3875,2849,5373,3876,5374,3499,5375,2612,614,1999,2323,3877,3110,2733,2638,5376,2588,4316,599,1269,5377,1811,3735,5378,2700,3111,759,1060,489,1806,3388,3318,1358,5379,5380,2391,1387,1215,2639,2256,490,5381,5382,4317,1759,2392,2348,5383,4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349,874,5384,5385,3501,3736,1859,91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403,3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076,2370,4667,5390,2030,5391,5392,4077,2702,1216,237,2589,4318,2324,4078,3881,4668,4669,2703,3615,3504,445,4670,5393,5394,5395,5396,2771,61,4079,3738,1823,4080,5397,687,2046,935,925,405,2670,703,1096,1860,2734,4671,4081,1877,1367,2704,3389,918,2106,1782,2483,334,3320,1611,1093,4672,564,3171,3505,3739,3390,945,2641,2058,4673,5398,1926,872,4319,5399,3506,2705,3112,349,4320,3740,4082,4674,3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047,782,4084,400,251,4323,1624,5400,5401,277,3742,299,1265,476,1191,3883,2122,4324,4325,1109,205,5402,2590,1e3,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573,107,2484,2158,4085,3507,3172,5407,1533,541,1301,158,753,4326,2886,3617,5408,1696,370,1088,4327,4680,3618,579,327,440,162,2244,269,1938,1374,3508,968,3063,56,1396,3113,2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413,2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088,5418,1076,49,5419,951,3242,3322,3323,450,2850,920,5420,1812,2805,2371,4328,1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686,2393,2614,260,1796,3244,5423,5424,3887,3324,708,5425,3620,1704,5426,3621,1351,1618,3394,3017,1887,944,4329,3395,4330,3064,3396,4331,5427,3744,422,413,1714,3325,500,2059,2350,4332,2486,5428,1344,1911,954,5429,1668,5430,5431,4089,2409,4333,3622,3888,4334,5432,2307,1318,2512,3114,133,3115,2887,4687,629,31,2851,2706,3889,4688,850,949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091,620,3245,981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434,3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439,869,2852,655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733,558,4692,3747,335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192,470,2735,2108,2806,913,1054,4093,5443,1027,5444,3066,4094,4693,982,2672,3399,3173,3512,3247,3248,1947,2807,5445,571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090,984,4695,3749,1960,5449,3750,852,923,2808,3513,3751,969,1519,999,2049,2325,1705,5450,3118,615,1662,151,597,4095,2410,2326,1049,275,4696,3752,4337,568,3753,3626,2487,4338,3754,5451,2430,2275,409,3249,5452,1566,2888,3514,1002,769,2853,194,2091,3174,3755,2226,3327,4339,628,1505,5453,5454,1763,2180,3019,4096,521,1161,2592,1788,2206,2411,4697,4097,1625,4340,4341,412,42,3119,464,5455,2642,4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328,1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092,460,5461,4701,5462,3020,962,588,3629,289,3250,2644,1116,52,5463,3067,1797,5464,5465,5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402,465,4703,1572,510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472,5473,536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809,5477,3329,1122,377,3251,5478,360,5479,5480,4343,1529,551,5481,2060,3759,1769,2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404,136,1468,1479,672,1171,3252,2308,271,3176,5483,2772,5484,2050,678,2736,865,1948,4707,5485,2014,4098,2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895,509,2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010,552,681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179,358,453,736,175,478,1117,905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632,4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932,3069,2182,3521,595,2123,5496,4100,5497,5498,4349,1707,2646,223,3762,1359,751,3121,183,3522,5499,2810,3021,419,2374,633,704,3897,2394,241,5500,5501,5502,838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136,2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615,484,3764,5506,4102,625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509,2774,808,2616,3765,3406,4105,4355,3123,2539,526,3407,3900,4356,955,5510,1620,4357,2647,2432,5511,1429,3766,1669,1832,994,928,5512,3633,1260,5513,5514,5515,1949,2293,741,2933,1626,4358,2738,2460,867,1184,362,3408,1392,5516,5517,4106,4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292,1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490,3332,5520,3769,4715,5521,5522,666,1003,3023,1022,3634,4361,5523,4716,1814,2257,574,3901,1603,295,1535,705,3902,4362,283,858,417,5524,5525,3255,4717,4718,3071,1220,1890,1046,2281,2461,4107,1393,1599,689,2575,388,4363,5526,2491,802,5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529,809,5530,5531,5532,575,2739,3524,956,1552,1469,1144,2328,5533,2329,1560,2462,3635,3257,4108,616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770,3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905,607,2311,3906,762,2892,1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723,2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451,5545,5546,5547,5548,2936,4109,4110,2492,2351,411,4111,4112,3637,3333,3124,4725,1561,2674,1452,4113,1375,5549,5550,47,2974,316,5551,1406,1591,2937,3181,5552,1025,2142,3125,3182,354,2740,884,2228,4369,2412,508,3772,726,3638,996,2433,3639,729,5553,392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813,919,2352,2975,2353,1270,4727,4115,73,5556,5557,647,5558,3259,2856,2259,1550,1346,3024,5559,1332,883,3526,5560,5561,5562,5563,3334,2775,5564,1212,831,1347,4370,4728,2331,3909,1864,3073,720,3910,4729,4730,3911,5565,4371,5566,5567,4731,5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938,669,2211,2675,2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735,3183,518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912,516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976,1422,577,1470,3026,1524,3410,5585,5586,432,4376,3074,3527,5587,2594,1455,2515,2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529,2649,4119,4377,4738,2295,895,924,4378,2171,331,2247,3076,166,1627,3077,1098,5591,1232,2894,2231,3411,4739,657,403,1196,2377,542,3775,3412,1600,4379,3530,5592,4740,2777,3261,576,530,1362,4741,4742,2540,2676,3776,4120,5593,842,3913,5594,2814,2032,1014,4121,213,2709,3413,665,621,4380,5595,3777,2939,2435,5596,2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597,724,2282,600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600,651,4384,5601,1612,4385,2621,5602,2857,5603,2743,2312,3078,5604,716,2464,3079,174,1255,2710,4122,3645,548,1320,1398,728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082,3778,3646,3779,747,5607,635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613,3415,4749,2437,451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616,4390,350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127,488,4752,458,4392,4128,3781,771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494,2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016,2745,5622,1155,1017,3782,3915,5623,3336,2313,201,1865,4397,1430,5624,4129,5625,5626,5627,5628,5629,4398,1604,5630,414,1866,371,2595,4754,4755,3532,2017,3127,4756,1708,960,4399,887,389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580,5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896,4400,5637,4401,2650,3418,2815,673,2712,2465,709,3533,4131,3648,4402,5638,1148,502,634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128,948,3263,121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133,1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816,531,2746,2545,3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018,120,4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713,1266,5650,1368,4766,2858,649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2e3,5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415,2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460,856,5659,3655,5660,2899,2978,5661,2900,3922,5662,4408,632,2517,875,3923,1697,3924,2296,5663,5664,4767,3028,1239,580,4768,4409,5665,914,936,2075,1190,4136,1039,2124,5666,5667,5668,5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137,915,3338,4411,4412,3339,1605,1835,5671,2748,398,3656,4413,3926,4138,328,1913,2860,4139,3927,1331,4414,3029,937,4415,5672,3657,4140,4141,3424,2161,4770,3425,524,742,538,3085,1012,5673,5674,3928,2466,5675,658,1103,225,3929,5676,5677,4771,5678,4772,5679,3267,1243,5680,4142,963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774,5685,5686,5687,3536,957,3426,2547,2033,1931,2941,2467,870,2019,3659,1746,2780,2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691,3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297,977,2901,2034,4144,1205,3429,5693,1765,3430,3189,2125,1271,714,1689,4775,3538,5694,2333,3931,533,4417,3660,2184,617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699,3932,1988,618,427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703,3541,4777,5704,2284,1576,473,3661,4419,3432,972,5705,3662,5706,3087,5707,5708,4778,4779,5709,3793,4145,4146,5710,153,4780,356,5711,1892,2902,4420,2144,408,803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715,2416,3433,752,5716,5717,1962,3341,2979,5718,746,3030,2470,4783,4423,3794,698,4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715,3937,1974,4425,5721,4426,3192,823,1303,1288,1236,2861,3542,4148,3435,774,3938,5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428,344,1173,288,2316,454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789,985,894,5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194,425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736,636,4791,1856,3940,760,1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213,479,5740,5741,832,5742,4153,2496,5743,2980,2497,3797,990,3132,627,1815,2652,4433,1582,4434,2126,2112,3543,4794,5744,799,4435,3195,5745,4795,2113,1737,3031,1018,543,754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903,4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270,1843,3665,1715,481,365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271,433,1895,2064,2076,5758,602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764,3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769,4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775,5776,1896,5777,5778,4808,1897,4158,318,5779,2095,4159,4437,5780,5781,485,5782,938,3941,553,2680,116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785,3668,2943,4160,1747,2944,2983,5786,5787,207,5788,4809,5789,4810,2521,5790,3033,890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795,941,2299,208,3546,4161,2020,330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798,2522,1613,4812,5799,3345,3945,2523,5800,4162,5801,1637,4163,2471,4813,3946,5802,2500,3034,3800,5803,5804,2195,4814,5805,2163,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6138,6139,6140,6141,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,3670,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,4815,6286,6287,6288,6289,6290,6291,6292,4816,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,4817,4818,6312,6313,6314,6315,6316,6317,6318,4819,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,4820,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,3441,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,4440,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,4821,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,3947,3948,6478,6479,6480,6481,3272,4441,6482,6483,6484,6485,4442,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,4822,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,2784,6557,4823,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,3949,6570,6571,6572,4824,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,4825,6584,6585,6586,3950,2785,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,4826,6613,6614,6615,4827,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,4164,6626,6627,6628,6629,6630,6631,6632,6633,6634,3547,6635,4828,6636,6637,6638,6639,6640,6641,6642,3951,2984,6643,6644,6645,6646,6647,6648,6649,4165,6650,4829,6651,6652,4830,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,4831,6663,6664,6665,6666,6667,6668,6669,6670,6671,4166,6672,4832,3952,6673,6674,6675,6676,4833,6677,6678,6679,4167,6680,6681,6682,3198,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,4834,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,4443,6735,6736,6737,6738,6739,6740,6741,6742,6743,6744,6745,4444,6746,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6781,4168,6782,6783,3442,6784,6785,6786,6787,6788,6789,6790,6791,4169,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6810,6811,4835,6812,6813,6814,4445,6815,6816,4446,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,3548,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,4836,6847,6848,6849,6850,6851,6852,6853,6854,3953,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,3199,6878,6879,6880,6881,6882,4447,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,4170,6905,6906,6907,6908,6909,6910,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,4837,6928,6929,6930,6931,6932,6933,6934,6935,6936,3346,6937,6938,4838,6939,6940,6941,4448,6942,6943,6944,6945,6946,4449,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,6989,6990,6991,6992,6993,6994,3671,6995,6996,6997,6998,4839,6999,7e3,7001,7002,3549,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,4840,7031,7032,7033,7034,7035,7036,7037,7038,4841,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,2985,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,4842,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,4450,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4843,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,4171,4172,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,4844,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,7314,7315,7316,4451,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,4173,7354,7355,4845,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,4846,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,3672,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,4452,7454,3200,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,4847,7475,7476,7477,3133,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,3347,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,4848,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,3801,4849,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,3035,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,4850,7617,7618,3802,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,4851,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,4453,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,3443,7698,7699,7700,7701,7702,4454,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,2472,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,3954,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,3134,7751,7752,4852,7753,7754,7755,4853,7756,7757,7758,7759,7760,4174,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,4854,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,4855,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,3955,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,3444,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,4175,7892,7893,7894,7895,7896,4856,4857,7897,7898,7899,7900,2598,7901,7902,7903,7904,7905,7906,7907,7908,4455,7909,7910,7911,7912,7913,7914,3201,7915,7916,7917,7918,7919,7920,7921,4858,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,4859,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,4860,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,4176,8017,8018,8019,8020,8021,8022,8023,4861,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,4862,4456,8037,8038,8039,8040,4863,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,4864,4177,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,4178,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,4865,4866,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,4179,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,4457,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,3445,8257,8258,8259,8260,8261,8262,4458,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,4459,8273,8274,8275,8276,3550,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,4460,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,4867,8308,8309,8310,8311,8312,3551,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,4868,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,4869,4461,8364,8365,8366,8367,8368,8369,8370,4870,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,4871,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,4462,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,2986,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,4180,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,4872,8565,8566,8567,8568,8569,8570,8571,8572,8573,4873,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,3803,8606,8607,8608,8609,8610,8611,8612,8613,4874,3804,8614,8615,8616,8617,8618,8619,8620,8621,3956,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,2865,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,4463,8657,8658,8659,4875,4876,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,4464,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,2261,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,4181,8734,8735,8736,8737,8738,8739,8740,8741,8742,8743,8744,8745,8746,8747,8748,8749,8750,8751,8752,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,4877,8764,8765,8766,8767,8768,8769,8770,8771,8772,8773,8774,8775,8776,8777,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,4878,8789,4879,8790,8791,8792,4880,8793,8794,8795,8796,8797,8798,8799,8800,8801,4881,8802,8803,8804,8805,8806,8807,8808,8809,8810,8811,8812,8813,8814,8815,3957,8816,8817,8818,8819,8820,8821,8822,8823,8824,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8836,8837,8838,8839,8840,8841,8842,8843,8844,8845,8846,8847,4882,8848,8849,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8881,8882,8883,8884,3202,8885,8886,8887,8888,8889,8890,8891,8892,8893,8894,8895,8896,8897,8898,8899,8900,8901,8902,8903,8904,8905,8906,8907,8908,8909,8910,8911,8912,8913,8914,8915,8916,8917,8918,8919,8920,8921,8922,8923,8924,4465,8925,8926,8927,8928,8929,8930,8931,8932,4883,8933,8934,8935,8936,8937,8938,8939,8940,8941,8942,8943,2214,8944,8945,8946,8947,8948,8949,8950,8951,8952,8953,8954,8955,8956,8957,8958,8959,8960,8961,8962,8963,8964,8965,4884,8966,8967,8968,8969,8970,8971,8972,8973,8974,8975,8976,8977,8978,8979,8980,8981,8982,8983,8984,8985,8986,8987,8988,8989,8990,8991,8992,4885,8993,8994,8995,8996,8997,8998,8999,9e3,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,4182,9022,9023,9024,9025,9026,9027,9028,9029,9030,9031,9032,9033,9034,9035,9036,9037,9038,9039,9040,9041,9042,9043,9044,9045,9046,9047,9048,9049,9050,9051,9052,9053,9054,9055,9056,9057,9058,9059,9060,9061,9062,9063,4886,9064,9065,9066,9067,9068,9069,4887,9070,9071,9072,9073,9074,9075,9076,9077,9078,9079,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,9107,9108,9109,9110,9111,9112,9113,9114,9115,9116,9117,9118,9119,9120,9121,9122,9123,9124,9125,9126,9127,9128,9129,9130,9131,9132,9133,9134,9135,9136,9137,9138,9139,9140,9141,3958,9142,9143,9144,9145,9146,9147,9148,9149,9150,9151,4888,9152,9153,9154,9155,9156,9157,9158,9159,9160,9161,9162,9163,9164,9165,9166,9167,9168,9169,9170,9171,9172,9173,9174,9175,4889,9176,9177,9178,9179,9180,9181,9182,9183,9184,9185,9186,9187,9188,9189,9190,9191,9192,9193,9194,9195,9196,9197,9198,9199,9200,9201,9202,9203,4890,9204,9205,9206,9207,9208,9209,9210,9211,9212,9213,9214,9215,9216,9217,9218,9219,9220,9221,9222,4466,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,4891,9246,9247,9248,9249,9250,9251,9252,9253,9254,9255,9256,9257,4892,9258,9259,9260,9261,4893,4894,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,4467,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,3673,9286,9287,9288,9289,9290,9291,9292,9293,9294,9295,9296,9297,9298,9299,9300,9301,9302,9303,9304,9305,9306,9307,9308,9309,9310,9311,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,4895,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,4468,9348,9349,9350,9351,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9372,9373,4896,9374,4469,9375,9376,9377,9378,9379,4897,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9398,9399,9400,9401,9402,9403,9404,9405,9406,4470,9407,2751,9408,9409,3674,3552,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,4898,9422,9423,9424,9425,9426,9427,9428,9429,3959,9430,9431,9432,9433,9434,9435,9436,4471,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9450,3348,9451,9452,9453,9454,9455,9456,9457,9458,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,9472,4899,9473,9474,9475,9476,9477,4900,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,3349,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,4901,9521,9522,9523,9524,9525,9526,4902,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,9548,9549,9550,9551,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,3805,9585,9586,9587,9588,9589,9590,9591,9592,9593,9594,9595,9596,9597,9598,9599,9600,9601,9602,4903,9603,9604,9605,9606,9607,4904,9608,9609,9610,9611,9612,9613,9614,4905,9615,9616,9617,9618,9619,9620,9621,9622,9623,9624,9625,9626,9627,9628,9629,9630,9631,9632,4906,9633,9634,9635,9636,9637,9638,9639,9640,9641,9642,9643,4907,9644,9645,9646,9647,9648,9649,9650,9651,9652,9653,9654,9655,9656,9657,9658,9659,9660,9661,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,4183,9673,9674,9675,9676,9677,4908,9678,9679,9680,9681,4909,9682,9683,9684,9685,9686,9687,9688,9689,9690,4910,9691,9692,9693,3675,9694,9695,9696,2945,9697,9698,9699,9700,9701,9702,9703,9704,9705,4911,9706,9707,9708,9709,9710,9711,9712,9713,9714,9715,9716,9717,9718,9719,9720,9721,9722,9723,9724,9725,9726,9727,9728,9729,9730,9731,9732,9733,9734,9735,4912,9736,9737,9738,9739,9740,4913,9741,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,4914,9759,9760,9761,9762,9763,9764,9765,9766,9767,9768,9769,9770,9771,9772,9773,9774,9775,9776,9777,9778,9779,9780,9781,9782,4915,9783,9784,9785,9786,9787,9788,9789,9790,9791,9792,9793,4916,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,9836,9837,9838,9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9866,9867,9868,4917,9869,9870,9871,9872,9873,9874,9875,9876,9877,9878,9879,9880,9881,9882,9883,9884,9885,9886,9887,9888,9889,9890,9891,9892,4472,9893,9894,9895,9896,9897,3806,9898,9899,9900,9901,9902,9903,9904,9905,9906,9907,9908,9909,9910,9911,9912,9913,9914,4918,9915,9916,9917,4919,9918,9919,9920,9921,4184,9922,9923,9924,9925,9926,9927,9928,9929,9930,9931,9932,9933,9934,9935,9936,9937,9938,9939,9940,9941,9942,9943,9944,9945,9946,4920,9947,9948,9949,9950,9951,9952,9953,9954,9955,4185,9956,9957,9958,9959,9960,9961,9962,9963,9964,9965,4921,9966,9967,9968,4473,9969,9970,9971,9972,9973,9974,9975,9976,9977,4474,9978,9979,9980,9981,9982,9983,9984,9985,9986,9987,9988,9989,9990,9991,9992,9993,9994,9995,9996,9997,9998,9999,1e4,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,4922,10022,4923,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,4924,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,4475,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,4476,10098,10099,10100,10101,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,2174,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,10132,10133,10134,10135,10136,10137,10138,10139,10140,3807,4186,4925,10141,10142,10143,10144,10145,10146,10147,4477,4187,10148,10149,10150,10151,10152,10153,4188,10154,10155,10156,10157,10158,10159,10160,10161,4926,10162,10163,10164,10165,10166,10167,10168,10169,10170,10171,10172,10173,10174,10175,10176,10177,10178,10179,10180,10181,10182,10183,10184,10185,10186,10187,10188,10189,10190,10191,10192,3203,10193,10194,10195,10196,10197,10198,10199,10200,4478,10201,10202,10203,10204,4479,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,4927,10235,10236,10237,10238,10239,10240,10241,10242,10243,10244,10245,10246,10247,10248,10249,10250,10251,10252,10253,10254,10255,10256,10257,10258,10259,10260,10261,10262,10263,10264,10265,10266,10267,10268,10269,10270,10271,10272,10273,4480,4928,4929,10274,10275,10276,10277,10278,10279,10280,10281,10282,10283,10284,10285,10286,10287,10288,10289,10290,10291,10292,10293,10294,10295,10296,10297,10298,10299,10300,10301,10302,10303,10304,10305,10306,10307,10308,10309,10310,10311,10312,10313,10314,10315,10316,10317,10318,10319,10320,10321,10322,10323,10324,10325,10326,10327,10328,10329,10330,10331,10332,10333,10334,4930,10335,10336,10337,10338,10339,10340,10341,10342,4931,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,10354,10355,3088,10356,2786,10357,10358,10359,10360,4189,10361,10362,10363,10364,10365,10366,10367,10368,10369,10370,10371,10372,10373,10374,10375,4932,10376,10377,10378,10379,10380,10381,10382,10383,10384,10385,10386,10387,10388,10389,10390,10391,10392,4933,10393,10394,10395,4934,10396,10397,10398,10399,10400,10401,10402,10403,10404,10405,10406,10407,10408,10409,10410,10411,10412,3446,10413,10414,10415,10416,10417,10418,10419,10420,10421,10422,10423,4935,10424,10425,10426,10427,10428,10429,10430,4936,10431,10432,10433,10434,10435,10436,10437,10438,10439,10440,10441,10442,10443,4937,10444,10445,10446,10447,4481,10448,10449,10450,10451,10452,10453,10454,10455,10456,10457,10458,10459,10460,10461,10462,10463,10464,10465,10466,10467,10468,10469,10470,10471,10472,10473,10474,10475,10476,10477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10505,4938,10506,10507,10508,10509,10510,2552,10511,10512,10513,10514,10515,10516,3447,10517,10518,10519,10520,10521,10522,10523,10524,10525,10526,10527,10528,10529,10530,10531,10532,10533,10534,10535,10536,10537,10538,10539,10540,10541,10542,10543,4482,10544,4939,10545,10546,10547,10548,10549,10550,10551,10552,10553,10554,10555,10556,10557,10558,10559,10560,10561,10562,10563,10564,10565,10566,10567,3676,4483,10568,10569,10570,10571,10572,3448,10573,10574,10575,10576,10577,10578,10579,10580,10581,10582,10583,10584,10585,10586,10587,10588,10589,10590,10591,10592,10593,10594,10595,10596,10597,10598,10599,10600,10601,10602,10603,10604,10605,10606,10607,10608,10609,10610,10611,10612,10613,10614,10615,10616,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,4484,10628,10629,10630,10631,10632,4940,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10650,10651,10652,10653,10654,10655,10656,4941,10657,10658,10659,2599,10660,10661,10662,10663,10664,10665,10666,3089,10667,10668,10669,10670,10671,10672,10673,10674,10675,10676,10677,10678,10679,10680,4942,10681,10682,10683,10684,10685,10686,10687,10688,10689,10690,10691,10692,10693,10694,10695,10696,10697,4485,10698,10699,10700,10701,10702,10703,10704,4943,10705,3677,10706,10707,10708,10709,10710,10711,10712,4944,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10728,4945,10729,10730,10731,10732,10733,10734,10735,10736,10737,10738,10739,10740,10741,10742,10743,10744,10745,10746,10747,10748,10749,10750,10751,10752,10753,10754,10755,10756,10757,10758,10759,10760,10761,4946,10762,10763,10764,10765,10766,10767,4947,4948,10768,10769,10770,10771,10772,10773,10774,10775,10776,10777,10778,10779,10780,10781,10782,10783,10784,10785,10786,10787,10788,10789,10790,10791,10792,10793,10794,10795,10796,10797,10798,10799,10800,10801,10802,10803,10804,10805,10806,10807,10808,10809,10810,10811,10812,10813,10814,10815,10816,10817,10818,10819,10820,10821,10822,10823,10824,10825,10826,10827,10828,10829,10830,10831,10832,10833,10834,10835,10836,10837,10838,10839,10840,10841,10842,10843,10844,10845,10846,10847,10848,10849,10850,10851,10852,10853,10854,10855,10856,10857,10858,10859,10860,10861,10862,10863,10864,10865,10866,10867,10868,10869,10870,10871,10872,10873,10874,10875,10876,10877,10878,4486,10879,10880,10881,10882,10883,10884,10885,4949,10886,10887,10888,10889,10890,10891,10892,10893,10894,10895,10896,10897,10898,10899,10900,10901,10902,10903,10904,10905,10906,10907,10908,10909,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,4487,10920,10921,10922,10923,10924,10925,10926,10927,10928,10929,10930,10931,10932,4950,10933,10934,10935,10936,10937,10938,10939,10940,10941,10942,10943,10944,10945,10946,10947,10948,10949,4488,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,4190,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10972,10973,10974,10975,10976,10977,10978,10979,10980,10981,10982,10983,10984,10985,10986,10987,10988,10989,10990,10991,10992,10993,10994,10995,10996,10997,10998,10999,11e3,11001,11002,11003,11004,11005,11006,3960,11007,11008,11009,11010,11011,11012,11013,11014,11015,11016,11017,11018,11019,11020,11021,11022,11023,11024,11025,11026,11027,11028,11029,11030,11031,11032,4951,11033,11034,11035,11036,11037,11038,11039,11040,11041,11042,11043,11044,11045,11046,11047,4489,11048,11049,11050,11051,4952,11052,11053,11054,11055,11056,11057,11058,4953,11059,11060,11061,11062,11063,11064,11065,11066,11067,11068,11069,11070,11071,4954,11072,11073,11074,11075,11076,11077,11078,11079,11080,11081,11082,11083,11084,11085,11086,11087,11088,11089,11090,11091,11092,11093,11094,11095,11096,11097,11098,11099,11100,11101,11102,11103,11104,11105,11106,11107,11108,11109,11110,11111,11112,11113,11114,11115,3808,11116,11117,11118,11119,11120,11121,11122,11123,11124,11125,11126,11127,11128,11129,11130,11131,11132,11133,11134,4955,11135,11136,11137,11138,11139,11140,11141,11142,11143,11144,11145,11146,11147,11148,11149,11150,11151,11152,11153,11154,11155,11156,11157,11158,11159,11160,11161,4956,11162,11163,11164,11165,11166,11167,11168,11169,11170,11171,11172,11173,11174,11175,11176,11177,11178,11179,11180,4957,11181,11182,11183,11184,11185,11186,4958,11187,11188,11189,11190,11191,11192,11193,11194,11195,11196,11197,11198,11199,11200,3678,11201,11202,11203,11204,11205,11206,4191,11207,11208,11209,11210,11211,11212,11213,11214,11215,11216,11217,11218,11219,11220,11221,11222,11223,11224,11225,11226,11227,11228,11229,11230,11231,11232,11233,11234,11235,11236,11237,11238,11239,11240,11241,11242,11243,11244,11245,11246,11247,11248,11249,11250,11251,4959,11252,11253,11254,11255,11256,11257,11258,11259,11260,11261,11262,11263,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11311,11312,11313,11314,3679,11315,11316,11317,11318,4490,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,4960,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11359,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,3961,4961,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,4192,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,4962,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,4963,11470,11471,4491,11472,11473,11474,11475,4964,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,4965,11493,11494,11495,11496,11497,11498,11499,11500,11501,11502,11503,11504,11505,11506,11507,11508,11509,11510,11511,11512,11513,11514,11515,11516,11517,11518,11519,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,3962,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11558,11559,11560,11561,11562,11563,11564,4193,4194,11565,11566,11567,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,4966,4195,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,3090,11605,11606,11607,11608,11609,11610,4967,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11624,11625,11626,11627,11628,11629,11630,11631,11632,11633,11634,11635,11636,11637,11638,11639,11640,11641,11642,11643,11644,11645,11646,11647,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11671,11672,11673,11674,4968,11675,11676,11677,11678,11679,11680,11681,11682,11683,11684,11685,11686,11687,11688,11689,11690,11691,11692,11693,3809,11694,11695,11696,11697,11698,11699,11700,11701,11702,11703,11704,11705,11706,11707,11708,11709,11710,11711,11712,11713,11714,11715,11716,11717,11718,3553,11719,11720,11721,11722,11723,11724,11725,11726,11727,11728,11729,11730,4969,11731,11732,11733,11734,11735,11736,11737,11738,11739,11740,4492,11741,11742,11743,11744,11745,11746,11747,11748,11749,11750,11751,11752,4970,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,11776,11777,11778,11779,11780,11781,11782,11783,11784,11785,11786,11787,11788,11789,11790,4971,11791,11792,11793,11794,11795,11796,11797,4972,11798,11799,11800,11801,11802,11803,11804,11805,11806,11807,11808,11809,11810,4973,11811,11812,11813,11814,11815,11816,11817,11818,11819,11820,11821,11822,11823,11824,11825,11826,11827,11828,11829,11830,11831,11832,11833,11834,3680,3810,11835,11836,4974,11837,11838,11839,11840,11841,11842,11843,11844,11845,11846,11847,11848,11849,11850,11851,11852,11853,11854,11855,11856,11857,11858,11859,11860,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,4493,11885,11886,11887,11888,11889,11890,11891,11892,11893,11894,11895,11896,11897,11898,11899,11900,11901,11902,11903,11904,11905,11906,11907,11908,11909,11910,11911,11912,11913,11914,11915,4975,11916,11917,11918,11919,11920,11921,11922,11923,11924,11925,11926,11927,11928,11929,11930,11931,11932,11933,11934,11935,11936,11937,11938,11939,11940,11941,11942,11943,11944,11945,11946,11947,11948,11949,4976,11950,11951,11952,11953,11954,11955,11956,11957,11958,11959,11960,11961,11962,11963,11964,11965,11966,11967,11968,11969,11970,11971,11972,11973,11974,11975,11976,11977,11978,11979,11980,11981,11982,11983,11984,11985,11986,11987,4196,11988,11989,11990,11991,11992,4977,11993,11994,11995,11996,11997,11998,11999,12e3,12001,12002,12003,12004,12005,12006,12007,12008,12009,12010,12011,12012,12013,12014,12015,12016,12017,12018,12019,12020,12021,12022,12023,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12035,12036,12037,12038,12039,12040,12041,12042,12043,12044,12045,12046,12047,12048,12049,12050,12051,12052,12053,12054,12055,12056,12057,12058,12059,12060,12061,4978,12062,12063,12064,12065,12066,12067,12068,12069,12070,12071,12072,12073,12074,12075,12076,12077,12078,12079,12080,12081,12082,12083,12084,12085,12086,12087,12088,12089,12090,12091,12092,12093,12094,12095,12096,12097,12098,12099,12100,12101,12102,12103,12104,12105,12106,12107,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,12119,12120,12121,12122,12123,4979,12124,12125,12126,12127,12128,4197,12129,12130,12131,12132,12133,12134,12135,12136,12137,12138,12139,12140,12141,12142,12143,12144,12145,12146,12147,12148,12149,12150,12151,12152,12153,12154,4980,12155,12156,12157,12158,12159,12160,4494,12161,12162,12163,12164,3811,12165,12166,12167,12168,12169,4495,12170,12171,4496,12172,12173,12174,12175,12176,3812,12177,12178,12179,12180,12181,12182,12183,12184,12185,12186,12187,12188,12189,12190,12191,12192,12193,12194,12195,12196,12197,12198,12199,12200,12201,12202,12203,12204,12205,12206,12207,12208,12209,12210,12211,12212,12213,12214,12215,12216,12217,12218,12219,12220,12221,4981,12222,12223,12224,12225,12226,12227,12228,12229,12230,12231,12232,12233,12234,12235,4982,12236,12237,12238,12239,12240,12241,12242,12243,12244,12245,4983,12246,12247,12248,12249,4984,12250,12251,12252,12253,12254,12255,12256,12257,12258,12259,12260,12261,12262,12263,12264,4985,12265,4497,12266,12267,12268,12269,12270,12271,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12284,12285,12286,12287,4986,12288,12289,12290,12291,12292,12293,12294,12295,12296,2473,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12307,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12319,3963,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,12330,12331,12332,4987,12333,12334,12335,12336,12337,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12351,12352,12353,12354,12355,12356,12357,12358,12359,3964,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,3965,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,4988,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,3554,12439,12440,12441,12442,12443,12444,12445,12446,12447,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,4989,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,4990,12481,12482,12483,12484,12485,12486,12487,12488,12489,4498,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12539,12540,12541,12542,12543,12544,12545,12546,12547,12548,12549,12550,12551,4991,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,3036,12579,12580,12581,12582,12583,3966,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,4499,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12687,12688,12689,12690,12691,12692,12693,12694,12695,12696,12697,12698,4992,12699,12700,12701,12702,12703,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12731,12732,12733,12734,12735,12736,12737,12738,12739,12740,12741,12742,12743,12744,12745,12746,12747,12748,12749,12750,12751,12752,12753,12754,12755,12756,12757,12758,12759,12760,12761,12762,12763,12764,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12777,12778,4993,2175,12779,12780,12781,12782,12783,12784,12785,12786,4500,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,4198,3967,12827,12828,12829,12830,12831,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12842,12843,12844,12845,12846,12847,12848,12849,12850,12851,12852,12853,12854,12855,12856,12857,12858,12859,12860,12861,4199,12862,12863,12864,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,12883,12884,12885,12886,12887,4501,12888,12889,12890,12891,12892,12893,12894,12895,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,4994,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,12924,12925,12926,12927,12928,12929,12930,12931,12932,12933,12934,12935,12936,12937,12938,12939,12940,12941,12942,12943,12944,12945,12946,12947,12948,12949,12950,12951,12952,12953,12954,12955,12956,1772,12957,12958,12959,12960,12961,12962,12963,12964,12965,12966,12967,12968,12969,12970,12971,12972,12973,12974,12975,12976,12977,12978,12979,12980,12981,12982,12983,12984,12985,12986,12987,12988,12989,12990,12991,12992,12993,12994,12995,12996,12997,4502,12998,4503,12999,13e3,13001,13002,13003,4504,13004,13005,13006,13007,13008,13009,13010,13011,13012,13013,13014,13015,13016,13017,13018,13019,13020,13021,13022,13023,13024,13025,13026,13027,13028,13029,3449,13030,13031,13032,13033,13034,13035,13036,13037,13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13050,13051,13052,13053,13054,13055,13056,13057,13058,13059,13060,13061,13062,13063,13064,13065,13066,13067,13068,13069,13070,13071,13072,13073,13074,13075,13076,13077,13078,13079,13080,13081,13082,13083,13084,13085,13086,13087,13088,13089,13090,13091,13092,13093,13094,13095,13096,13097,13098,13099,13100,13101,13102,13103,13104,13105,13106,13107,13108,13109,13110,13111,13112,13113,13114,13115,13116,13117,13118,3968,13119,4995,13120,13121,13122,13123,13124,13125,13126,13127,4505,13128,13129,13130,13131,13132,13133,13134,4996,4506,13135,13136,13137,13138,13139,4997,13140,13141,13142,13143,13144,13145,13146,13147,13148,13149,13150,13151,13152,13153,13154,13155,13156,13157,13158,13159,4998,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,4999,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,5e3,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,13225,13226,13227,4200,5001,13228,13229,13230,13231,13232,13233,13234,13235,13236,13237,13238,13239,13240,3969,13241,13242,13243,13244,3970,13245,13246,13247,13248,13249,13250,13251,13252,13253,13254,13255,13256,13257,13258,13259,13260,13261,13262,13263,13264,13265,13266,13267,13268,3450,13269,13270,13271,13272,13273,13274,13275,13276,5002,13277,13278,13279,13280,13281,13282,13283,13284,13285,13286,13287,13288,13289,13290,13291,13292,13293,13294,13295,13296,13297,13298,13299,13300,13301,13302,3813,13303,13304,13305,13306,13307,13308,13309,13310,13311,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13325,13326,13327,13328,4507,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,13341,5003,13342,13343,13344,13345,13346,13347,13348,13349,13350,13351,13352,13353,13354,13355,13356,13357,13358,13359,13360,13361,13362,13363,13364,13365,13366,13367,5004,13368,13369,13370,13371,13372,13373,13374,13375,13376,13377,13378,13379,13380,13381,13382,13383,13384,13385,13386,13387,13388,13389,13390,13391,13392,13393,13394,13395,13396,13397,13398,13399,13400,13401,13402,13403,13404,13405,13406,13407,13408,13409,13410,13411,13412,13413,13414,13415,13416,13417,13418,13419,13420,13421,13422,13423,13424,13425,13426,13427,13428,13429,13430,13431,13432,4508,13433,13434,13435,4201,13436,13437,13438,13439,13440,13441,13442,13443,13444,13445,13446,13447,13448,13449,13450,13451,13452,13453,13454,13455,13456,13457,5005,13458,13459,13460,13461,13462,13463,13464,13465,13466,13467,13468,13469,13470,4509,13471,13472,13473,13474,13475,13476,13477,13478,13479,13480,13481,13482,13483,13484,13485,13486,13487,13488,13489,13490,13491,13492,13493,13494,13495,13496,13497,13498,13499,13500,13501,13502,13503,13504,13505,13506,13507,13508,13509,13510,13511,13512,13513,13514,13515,13516,13517,13518,13519,13520,13521,13522,13523,13524,13525,13526,13527,13528,13529,13530,13531,13532,13533,13534,13535,13536,13537,13538,13539,13540,13541,13542,13543,13544,13545,13546,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13558,13559,13560,13561,13562,13563,13564,13565,13566,13567,13568,13569,13570,13571,13572,13573,13574,13575,13576,13577,13578,13579,13580,13581,13582,13583,13584,13585,13586,13587,13588,13589,13590,13591,13592,13593,13594,13595,13596,13597,13598,13599,13600,13601,13602,13603,13604,13605,13606,13607,13608,13609,13610,13611,13612,13613,13614,13615,13616,13617,13618,13619,13620,13621,13622,13623,13624,13625,13626,13627,13628,13629,13630,13631,13632,13633,13634,13635,13636,13637,13638,13639,13640,13641,13642,5006,13643,13644,13645,13646,13647,13648,13649,13650,13651,5007,13652,13653,13654,13655,13656,13657,13658,13659,13660,13661,13662,13663,13664,13665,13666,13667,13668,13669,13670,13671,13672,13673,13674,13675,13676,13677,13678,13679,13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13691,13692,13693,13694,13695,13696,13697,13698,13699,13700,13701,13702,13703,13704,13705,13706,13707,13708,13709,13710,13711,13712,13713,13714,13715,13716,13717,13718,13719,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13733,13734,13735,13736,13737,13738,13739,13740,13741,13742,13743,13744,13745,13746,13747,13748,13749,13750,13751,13752,13753,13754,13755,13756,13757,13758,13759,13760,13761,13762,13763,13764,13765,13766,13767,13768,13769,13770,13771,13772,13773,13774,3273,13775,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13793,13794,13795,13796,13797,13798,13799,13800,13801,13802,13803,13804,13805,13806,13807,13808,13809,13810,13811,13812,13813,13814,13815,13816,13817,13818,13819,13820,13821,13822,13823,13824,13825,13826,13827,13828,13829,13830,13831,13832,13833,13834,13835,13836,13837,13838,13839,13840,13841,13842,13843,13844,13845,13846,13847,13848,13849,13850,13851,13852,13853,13854,13855,13856,13857,13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883,13884,13885,13886,13887,13888,13889,13890,13891,13892,13893,13894,13895,13896,13897,13898,13899,13900,13901,13902,13903,13904,13905,13906,13907,13908,13909,13910,13911,13912,13913,13914,13915,13916,13917,13918,13919,13920,13921,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962,13963,13964,13965,13966,13967,13968,13969,13970,13971,13972]),qr}var t7;function Mr(){if(t7)return j1;t7=1;var e=Mx(),t=kx(),r=Ix(),n=Rx(),i=Ox();function o(){var m=1024,h=.99,p=.01,v=3,b=this;function _(){b._mCharToFreqOrder=null,b._mTableSize=null,b._mTypicalDistributionRatio=null,b.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(C,A){if(A==2)var N=this.getOrder(C);else N=-1;N>=0&&(this._mTotalChars++,N<this._mTableSize&&512>this._mCharToFreqOrder[N]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=v)return p;if(this._mTotalChars!=this._mFreqChars){var C=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(C<h)return C}return h},this.gotEnoughData=function(){return this._mTotalChars>m},this.getOrder=function(C){return-1},_()}j1.CharDistributionAnalysis=o;function s(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=t.EUCTWCharToFreqOrder,m._mTableSize=t.EUCTW_TABLE_SIZE,m._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=196?94*(p.charCodeAt(0)-196)+p.charCodeAt(1)-161:-1},h()}s.prototype=new o,j1.EUCTWDistributionAnalysis=s;function a(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=r.EUCKRCharToFreqOrder,m._mTableSize=r.EUCKR_TABLE_SIZE,m._mTypicalDistributionRatio=r.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},h()}a.prototype=new o,j1.EUCKRDistributionAnalysis=a;function l(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=n.GB2312CharToFreqOrder,m._mTableSize=n.GB2312_TABLE_SIZE,m._mTypicalDistributionRatio=n.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=176&&p.charCodeAt(1)>=161?94*(p.charCodeAt(0)-176)+p.charCodeAt(1)-161:-1},h()}l.prototype=new o,j1.GB2312DistributionAnalysis=l;function c(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=i.Big5CharToFreqOrder,m._mTableSize=i.BIG5_TABLE_SIZE,m._mTypicalDistributionRatio=i.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p.charCodeAt(0)>=164?p.charCodeAt(1)>=161?157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-161+63:157*(p.charCodeAt(0)-164)+p.charCodeAt(1)-64:-1},h()}c.prototype=new o,j1.Big5DistributionAnalysis=c;function d(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=e.JISCharToFreqOrder,m._mTableSize=e.JIS_TABLE_SIZE,m._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){if(p.charCodeAt(0)>=129&&p.charCodeAt(0)<=159)var v=188*(p.charCodeAt(0)-129);else if(p.charCodeAt(0)>=224&&p.charCodeAt(0)<=239)v=188*(p.charCodeAt(0)-224+31);else return-1;return v+=p.charCodeAt(1)-64,(p.charCodeAt(1)<64||p.charCodeAt(1)===127||p.charCodeAt(1)>252)&&(v=-1),v},h()}d.prototype=new o,j1.SJISDistributionAnalysis=d;function f(){o.apply(this);var m=this;function h(){m._mCharToFreqOrder=e.JISCharToFreqOrder,m._mTableSize=e.JIS_TABLE_SIZE,m._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(p){return p[0]>=" "?94*(p.charCodeAt(0)-161)+p.charCodeAt(1)-161:-1},h()}return f.prototype=new o,j1.EUCJPDistributionAnalysis=f,j1}var o4,r7;function Dx(){if(r7)return o4;r7=1;var e=Jt(),t=Nr(),r=Nx(),n=Mr().Big5DistributionAnalysis;function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(r),o._mDistributionAnalyzer=new n,o.reset()}this.getCharsetName=function(){return"Big5"},s()}return i.prototype=new t,o4=i,o4}var s4,n7;function $x(){if(n7)return s4;n7=1;var e=_0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,9,8,8,10,11,11,11,11,11,11,11,12,13,13,13,14,15,0,0],r=[e.error,e.start,e.error,e.error,e.error,e.error,12,10,9,11,8,7,6,5,4,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,5,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error],n=[0,1,0,0,0,0,2,3,3,3,4,4,5,5,6,6];return s4={classTable:t,classFactor:16,stateTable:r,charLenTable:n,name:"UTF-8"},s4}var a4,i7;function Fx(){if(i7)return a4;i7=1;var e=Jt(),t=N2(),r=_0(),n=$x();function i(){t.apply(this);var o=.5,s=this;function a(){s._mCodingSM=new e(n),s.reset()}this.reset=function(){i.prototype.reset.apply(this),this._mCodingSM.reset(),this._mNumOfMBChar=0,this._mMBCharLen=0,this._mFullLen=0,this._mBasicAsciiLen=0},this.getCharsetName=function(){return"UTF-8"},this.feed=function(l){this._mFullLen+=l.length;for(var c=0,d;c<l.length;c++){d=l[c];var f=this._mCodingSM.nextState(d);if(f==r.error){this._mState=r.notMe;break}else if(f==r.itsMe){this._mState=r.foundIt;break}else f==r.start&&(this._mCodingSM.getCurrentCharLen()>=2?(this._mNumOfMBChar++,this._mMBCharLen+=this._mCodingSM.getCurrentCharLen()):d.charCodeAt(0)<128&&this._mBasicAsciiLen++)}return this.getState()==r.detecting&&this.getConfidence()>r.SHORTCUT_THRESHOLD&&(this._mState=r.foundIt),this.getState()},this.getConfidence=function(){var l=.99,c=0,d=this._mFullLen-this._mBasicAsciiLen;return d>0&&(c=this._mMBCharLen/d),this._mNumOfMBChar<6&&c<=.6?(l*=Math.pow(o,this._mNumOfMBChar),1-l):l},a()}return i.prototype=new t,a4=i,a4}var l4,o7;function Px(){if(o7)return l4;o7=1;var e=_0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0],r=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start],n=[0,1,1,2,0,0];return l4={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"Shift_JIS"},l4}var u4={},s7;function X9(){return s7||(s7=1,function(e){e.jp2CharContext=[[0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1],[2,4,0,4,0,3,0,4,0,3,4,4,4,2,4,3,3,4,3,2,3,3,4,2,3,3,3,2,4,1,4,3,3,1,5,4,3,4,3,4,3,5,3,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4,4,3,5,3,5,3,3,2,4,2,4,3,4,3,1,4,0,2,3,4,4,4,3,3,3,4,4,4,3,4,1,3,4,3,2,1,2,1,3,3,3,4,4,3,3,5,0,4,0,3,0,4,3,3,3,2,1,0,3,0,0,3,3],[0,4,0,3,0,3,0,3,0,3,5,5,3,3,3,3,4,3,4,3,3,3,4,4,4,3,3,3,3,4,3,5,3,3,1,3,2,4,5,5,5,5,4,3,4,5,5,3,2,2,3,3,3,3,2,3,3,1,2,3,2,4,3,3,3,4,0,4,0,2,0,4,3,2,2,1,2,0,3,0,0,4,1]];function t(){var i=6,o=-1,s=100,a=1e3,l=4,c=this;function d(){c.reset()}this.reset=function(){this._mTotalRel=0,this._mRelSample=[];for(var f=0;f<i;this._mRelSample[f++]=0);this._mNeedToSkipCharNum=0,this._mLastCharOrder=-1,this._mDone=!1},this.feed=function(f,m){if(!this._mDone)for(var h=this._mNeedToSkipCharNum;h<m;){var p=this.getOrder(f.slice(h,h+2)),v=p[0],b=p[1];if(h+=b,h>m)this._mNeedToSkipCharNum=h-m,this._mLastCharOrder=-1;else{if(v!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>a){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][v]]+=1}this._mLastCharOrder=v}}},this.gotEnoughData=function(){return this._mTotalRel>s},this.getConfidence=function(){return this._mTotalRel>l?(this._mTotalRel-this._mRelSample[0])/this._mTotalRel:o},this.getOrder=function(f){return[-1,1]},d()}function r(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=129&&i.charCodeAt(0)<=159||i.charCodeAt(0)>=224&&i.charCodeAt(0)<=252)var o=2;else o=1;return i.length>1&&i.charCodeAt(0)==130&&i.charCodeAt(1)>=159&&i.charCodeAt(0)<=241?[i.charCodeAt(1)-159,o]:[-1,o]}}r.prototype=new t,e.SJISContextAnalysis=r;function n(){this.getOrder=function(i){if(!i)return[-1,1];if(i.charCodeAt(0)>=142||i.charCodeAt(0)>=161&&i.charCodeAt(0)<=254)var o=2;else i.charCodeAt(0)==143?o=3:o=1;return i.length>1&&i.charCodeAt(0)==164&&i.charCodeAt(1)>=161&&i.charCodeAt(1)<=243?[i.charCodeAt(1)-161,o]:[-1,o]}}n.prototype=new t,e.EUCJPContextAnalysis=n}(u4)),u4}var c4,a7;function Lx(){if(a7)return c4;a7=1;var e=Jt(),t=Nr(),r=Px(),n=Mr().SJISDistributionAnalysis,i=X9().SJISContextAnalysis,o=_0(),s=M2();function a(){t.apply(this);var l=this;function c(){l._mCodingSM=new e(r),l._mDistributionAnalyzer=new n,l._mContextAnalyzer=new i,l.reset()}this.reset=function(){a.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"SHIFT_JIS"},this.feed=function(d){for(var f=d.length,m=0;m<f;m++){var h=this._mCodingSM.nextState(d[m]);if(h==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+m+`
|
|
55
|
+
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var p=this._mCodingSM.getCurrentCharLen();m==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-p).join(""),p),this._mDistributionAnalyzer.feed(this._mLastChar.join(""),p)):(this._mContextAnalyzer.feed(d.slice(m+1-p,m+3-p),p),this._mDistributionAnalyzer.feed(d.slice(m-1,m+1),p))}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},c()}return a.prototype=new t,c4=a,c4}var d4,l7;function Bx(){if(l7)return d4;l7=1;var e=_0(),t=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,4,4,4,4,4,4,4,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,1,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5],r=[3,4,3,5,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.start,e.error,e.start,e.error,e.error,e.error,e.error,e.error,e.start,e.error,e.error,e.error,3,e.error,3,e.error,e.error,e.error,e.start,e.start,e.start,e.start],n=[2,2,2,3,1,0];return d4={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"EUC-JP"},d4}var f4,u7;function Hx(){if(u7)return f4;u7=1;var e=Jt(),t=Nr(),r=Mr().EUCJPDistributionAnalysis,n=X9().EUCJPContextAnalysis,i=Bx(),o=_0(),s=M2();function a(){t.apply(this);var l=this;function c(){l._mCodingSM=new e(i),l._mDistributionAnalyzer=new r,l._mContextAnalyzer=new n,l.reset()}this.reset=function(){a.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"EUC-JP"},this.feed=function(d){for(var f=d.length,m=0;m<f;m++){var h=this._mCodingSM.nextState(d[m]);if(h==o.error){s.log(this.getCharsetName()+" prober hit error at byte "+m+`
|
|
56
|
+
`),this._mState=o.notMe;break}else if(h==o.itsMe){this._mState=o.foundIt;break}else if(h==o.start){var p=this._mCodingSM.getCurrentCharLen();if(m==0){this._mLastChar[1]=d[0];var v=this._mLastChar.join("");this._mContextAnalyzer.feed(v,p),this._mDistributionAnalyzer.feed(v,p)}else this._mContextAnalyzer.feed(d.slice(m-1,m+1),p),this._mDistributionAnalyzer.feed(d.slice(m-1,m+1),p)}}return this._mLastChar[0]=d[f-1],this.getState()==o.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>o.SHORTCUT_THRESHOLD&&(this._mState=o.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),f=this._mDistributionAnalyzer.getConfidence();return Math.max(d,f)},c()}return a.prototype=new t,f4=a,f4}var m4,c7;function Vx(){if(c7)return m4;c7=1;var e=_0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0],r=[e.error,e.start,e.start,e.start,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,4,e.error,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,1,1,1,1,1,2];return m4={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"GB2312"},m4}var h4,d7;function Ux(){if(d7)return h4;d7=1;var e=Nr(),t=Jt(),r=Vx(),n=Mr().GB2312DistributionAnalysis;function i(){e.apply(this);var o=this;function s(){o._mCodingSM=new t(r),o._mDistributionAnalyzer=new n,o.reset()}this.getCharsetName=function(){return"GB2312"},s()}return i.prototype=new e,h4=i,h4}var p4,f7;function jx(){if(f7)return p4;f7=1;var e=_0(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0],r=[e.error,e.start,3,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start],n=[0,1,2,0];return p4={classTable:t,classFactor:4,stateTable:r,charLenTable:n,name:"EUC-KR"},p4}var g4,m7;function Wx(){if(m7)return g4;m7=1;var e=Jt(),t=Nr(),r=Mr().EUCKRDistributionAnalysis,n=jx();function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(n),o._mDistributionAnalyzer=new r,o.reset()}this.getCharsetName=function(){return"EUC-KR"},s()}return i.prototype=new t,g4=i,g4}var w4,h7;function qx(){if(h7)return w4;h7=1;var e=_0(),t=[2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],r=[e.error,e.error,e.start,3,3,3,4,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,0,1,2,2,2,3];return w4={classTable:t,classFactor:7,stateTable:r,charLenTable:n,name:"x-euc-tw"},w4}var y4,p7;function Gx(){if(p7)return y4;p7=1;var e=Jt(),t=Nr(),r=Mr().EUCTWDistributionAnalysis,n=qx();function i(){t.apply(this);var o=this;function s(){o._mCodingSM=new e(n),o._mDistributionAnalyzer=new r,o.reset()}this.getCharsetName=function(){return"EUC-TW"},s()}return i.prototype=new t,y4=i,y4}var v4,g7;function zx(){if(g7)return v4;g7=1;var e=J9(),t=Dx(),r=Fx(),n=Lx(),i=Hx(),o=Ux(),s=Wx(),a=Gx();function l(){e.apply(this),this._mProbers=[new r,new n,new i,new o,new s,new t,new a];const c=this._mProbers.map(d=>d.getCharsetName());this.getSupportedCharsetNames=function(){return c},this.reset()}return l.prototype=new e,v4=l,v4}var b4,w7;function Yx(){if(w7)return b4;w7=1;var e=N2(),t=_0(),r=M2();function n(i,o,s){e.apply(this);var a=64,l=1024,c=.95,d=.05,f=250,m=4,h=m-1,p=this;function v(b,_,C){p._mModel=b,p._mReversed=_,p._mNameProber=C,p.reset()}this.reset=function(){n.prototype.reset.apply(this),this._mLastOrder=255,this._mSeqCounters=[];for(var b=0;b<m;this._mSeqCounters[b++]=0);this._mTotalSeqs=0,this._mTotalChar=0,this._mFreqChar=0},this.getCharsetName=function(){return this._mNameProber?this._mNameProber.getCharsetName():this._mModel.charsetName},this.feed=function(b){this._mModel.keepEnglishLetter||(b=this.filterWithoutEnglishLetters(b));var _=b.length;if(!_)return this.getState();for(var C=0,A;C<_;C++){A=b.charCodeAt(C);var N=this._mModel.charToOrderMap[A];N<f&&this._mTotalChar++,N<a&&(this._mFreqChar++,this._mLastOrder<a&&(this._mTotalSeqs++,this._mReversed?this._mSeqCounters[this._mModel.precedenceMatrix[N*a+this._mLastOrder]]++:this._mSeqCounters[this._mModel.precedenceMatrix[this._mLastOrder*a+N]]++)),this._mLastOrder=N}if(this.getState()==t.detecting&&p._mTotalSeqs>l){var k=this.getConfidence();k>c?r.log(this._mModel.charsetName+" confidence = "+k+`, we have a winner
|
|
57
|
+
`):k<d&&(r.log(this._mModel.charsetName+" confidence = "+k+", below negative shortcut threshhold "+d+`
|
|
58
|
+
`),this._mState=t.notMe)}return this.getState()},this.getConfidence=function(){var b=.01;return this._mTotalSeqs>0&&(b=1*this._mSeqCounters[h]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,b*=this._mFreqChar/this._mTotalChar,b>=1&&(b=.99)),b},o=o!==void 0?o:!1,s=s!==void 0?s:null,v(i,o,s)}return n.prototype=new e,b4=n,b4}var _4={},y7;function Zx(){return y7||(y7=1,function(e){e.win1255_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,69,91,79,80,92,89,97,90,68,111,112,82,73,95,85,78,121,86,71,67,102,107,84,114,103,115,253,253,253,253,253,253,50,74,60,61,42,76,70,64,53,105,93,56,65,54,49,66,110,51,43,44,63,81,77,98,75,108,253,253,253,253,253,124,202,203,204,205,40,58,206,207,208,209,210,211,212,213,214,215,83,52,47,46,72,32,94,216,113,217,109,218,219,220,221,34,116,222,118,100,223,224,117,119,104,125,225,226,87,99,227,106,122,123,228,55,229,230,101,231,232,120,233,48,39,57,234,30,59,41,88,33,37,36,31,29,35,235,62,28,236,126,237,238,38,45,239,240,241,242,243,127,244,245,246,247,248,249,250,9,8,20,16,3,2,24,14,22,1,25,15,4,11,6,23,12,19,13,26,18,27,21,17,7,10,5,251,252,128,96,253],e.HebrewLangModel=[0,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,3,2,1,2,0,1,0,0,3,0,3,1,0,0,1,3,2,0,1,1,2,0,2,2,2,1,1,1,1,2,1,1,1,2,0,0,2,2,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,1,2,1,2,1,2,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,2,1,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,1,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,2,1,1,1,1,1,0,1,0,0,0,0,1,0,1,0,1,1,1,2,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0],e.Win1255HebrewModel={charToOrderMap:e.win1255_CharToOrderMap,precedenceMatrix:e.HebrewLangModel,mTypicalPositiveRatio:.984004,keepEnglishLetter:!1,charsetName:"windows-1255"}}(_4)),_4}var C4,v7;function Kx(){if(v7)return C4;v7=1;var e=N2(),t=_0();Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,o=Number(arguments[1])||0;for(o=o<0?Math.ceil(o):Math.floor(o),o<0&&(o+=i);o<i;o++)if(o in this&&this[o]===n)return o;return-1});function r(){e.apply(this);var n="ê",i="ë",o="í",s="î",a="ï",l="ð",c="ó",d="ô",f="õ",m=5,h=.01,p="ISO-8859-8",v="windows-1255",b=this;function _(){b._mLogicalProber=null,b._mVisualProber=null,b.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(C,A){this._mLogicalProber=C,this._mVisualProber=A},this.isFinal=function(C){return[n,o,a,c,f].indexOf(C)!=-1},this.isNonFinal=function(C){return[i,s,l,d].indexOf(C)!=-1},this.feed=function(C){if(this.getState()==t.notMe)return t.notMe;C=this.filterHighBitOnly(C);for(var A=0,N;A<C.length;A++)N=C[A],N==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&N!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=N;return t.detecting},this.getCharsetName=function(){var C=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(C>=m)return v;if(C<=-m)return p;var A=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return A>h?v:A<-h||C<0?p:v},this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},_()}return r.prototype=new e,C4=r,C4}var x4={},b7;function Jx(){return b7||(b7=1,function(e){e.KOI8R_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,68,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,27,3,21,28,13,2,39,19,26,4,23,11,8,12,5,1,15,16,9,7,6,14,24,10,17,18,20,25,30,29,22,54,59,37,44,58,41,48,53,46,55,42,60,36,49,38,31,34,35,43,45,32,40,52,56,33,61,62,51,57,47,63,50,70],e.win1251_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,68,247,248,249,250,251,252,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16],e.latin5_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.macCyrillic_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,68,16,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,255],e.IBM855_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,68,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,27,59,54,70,3,37,21,44,28,58,13,41,2,48,39,53,19,46,218,219,220,221,222,223,224,26,55,4,42,225,226,227,228,23,60,229,230,231,232,233,234,235,11,36,236,237,238,239,240,241,242,243,8,49,12,38,5,31,1,34,15,244,245,246,247,35,16,248,43,9,45,7,32,6,40,14,52,24,56,10,33,17,61,249,250,18,62,20,51,25,57,30,47,29,63,22,50,251,252,255],e.IBM866_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.RussianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,1,3,3,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,2,2,2,2,2,0,0,2,3,3,3,2,3,3,3,3,3,3,3,3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,1,0,2,2,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,2,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,2,0,1,2,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],e.Koi8rModel={charToOrderMap:e.KOI8R_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"KOI8-R"},e.Win1251CyrillicModel={charToOrderMap:e.win1251_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"windows-1251"},e.Latin5CyrillicModel={charToOrderMap:e.latin5_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.MacCyrillicModel={charToOrderMap:e.macCyrillic_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"x-mac-cyrillic"},e.Ibm866Model={charToOrderMap:e.IBM866_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM866"},e.Ibm855Model={charToOrderMap:e.IBM855_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM855"}}(x4)),x4}var S4={},_7;function Xx(){return _7||(_7=1,function(e){e.Latin7_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,90,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,248,61,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.win1253_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,61,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,253,253,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.GreekLangModel=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,2,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.Latin7GreekModel={charToOrderMap:e.Latin7_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"ISO-8859-7"},e.Win1253GreekModel={charToOrderMap:e.win1253_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"windows-1253"}}(S4)),S4}var E4={},C7;function Qx(){return C7||(C7=1,function(e){e.TIS620CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,182,106,107,100,183,184,185,101,94,186,187,108,109,110,111,188,189,190,89,95,112,113,191,192,193,194,253,253,253,253,253,253,64,72,73,114,74,115,116,102,81,201,117,90,103,78,82,96,202,91,79,84,104,105,97,98,92,203,253,253,253,253,253,209,210,211,212,213,88,214,215,216,217,218,219,220,118,221,222,223,224,99,85,83,225,226,227,228,229,230,231,232,233,234,235,236,5,30,237,24,238,75,8,26,52,34,51,119,47,58,57,49,53,55,43,20,19,44,14,48,3,17,25,39,62,31,54,45,9,16,2,61,15,239,12,42,46,18,21,76,4,66,63,22,10,1,36,23,13,40,27,32,35,86,240,241,242,243,244,11,28,41,29,33,245,50,37,6,7,67,77,38,93,246,247,68,56,59,65,69,60,70,80,71,87,248,249,250,251,252,253],e.ThaiLangModel=[0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,3,3,2,3,2,3,3,2,2,2,3,1,2,3,0,3,3,2,2,1,2,3,3,1,2,0,1,3,0,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,2,2,3,3,3,3,1,2,3,3,3,3,3,2,2,2,2,3,3,2,2,3,3,2,2,3,2,3,2,2,3,3,1,2,3,1,2,2,3,3,1,0,2,1,0,0,3,1,2,1,0,0,1,0,0,0,0,0,0,1,0,1,3,3,3,3,3,3,2,2,3,3,3,3,2,3,2,2,3,3,2,2,3,2,2,2,2,1,1,3,1,2,1,1,3,2,1,0,2,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,2,2,3,2,3,3,2,3,1,1,2,3,2,2,2,3,2,2,2,2,2,1,2,1,2,2,1,1,3,3,2,1,0,1,2,2,0,1,3,0,0,0,1,1,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.TIS620ThaiModel={charToOrderMap:e.TIS620CharToOrderMap,precedenceMatrix:e.ThaiLangModel,mTypicalPositiveRatio:.926386,keepEnglishLetter:!1,charsetName:"TIS-620"}}(E4)),E4}var A4={},x7;function eS(){return x7||(x7=1,function(e){e.Latin2_HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,71,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,75,198,199,200,201,202,203,204,205,79,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,81,222,78,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,69,63,239,240,241,82,14,74,242,70,80,243,72,244,15,83,77,84,30,76,85,245,246,247,25,73,42,24,248,249,250,31,56,29,251,252,253],e.win1250HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,72,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,78,181,69,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,76,198,199,200,201,202,203,204,205,81,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,83,222,80,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,70,63,239,240,241,84,14,75,242,71,82,243,73,244,15,85,79,86,30,77,87,245,246,247,25,74,42,24,248,249,250,31,56,29,251,252,253],e.HungarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,2,3,3,1,1,2,2,2,2,2,1,2,3,2,2,3,3,3,3,3,2,3,3,3,3,3,3,1,2,3,3,3,3,2,3,3,1,1,3,3,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,3,2,1,3,3,3,3,3,2,3,3,3,3,3,1,1,2,3,3,3,3,3,3,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,1,1,2,3,3,3,1,3,3,3,3,3,1,3,3,2,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,2,3,3,2,3,3,3,3,3,2,3,3,2,2,3,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0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,1,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0],e.Latin2HungarianModel={charToOrderMap:e.Latin2_HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"ISO-8859-2"},e.Win1250HungarianModel={charToOrderMap:e.win1250HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"windows-1250"}}(A4)),A4}var T4={},S7;function tS(){return S7||(S7=1,function(e){e.Latin5_BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,81,226,227,228,229,230,105,231,232,233,234,235,236,45,237,238,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,239,67,240,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,241,42,16,62,242,243,244,58,245,98,246,247,248,249,250,251,91,252,253],e.win1251BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,206,207,208,209,210,211,212,213,120,214,215,216,217,218,219,220,221,78,64,83,121,98,117,105,222,223,224,225,226,227,228,229,88,230,231,232,233,122,89,106,234,235,236,237,238,45,239,240,73,80,118,114,241,242,243,244,245,62,58,246,247,248,249,250,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,251,67,252,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,253,42,16],e.BulgarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,2,2,1,2,2,3,1,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,2,0,0,2,0,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,2,0,0,0,0,0,0,2,1,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],e.Latin5BulgarianModel={charToOrderMap:e.Latin5_BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.Win1251BulgarianModel={charToOrderMap:e.win1251BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"windows-1251"}}(T4)),T4}var N4,E7;function rS(){if(E7)return N4;E7=1;var e=Yx(),t=J9(),r=Zx().Win1255HebrewModel,n=Kx(),i=Jx(),o=Xx(),s=Qx().TIS620ThaiModel,a=eS(),l=tS();function c(){t.apply(this);var d=this;function f(){d._mProbers=[new e(i.Win1251CyrillicModel),new e(i.Koi8rModel),new e(i.Latin5CyrillicModel),new e(i.MacCyrillicModel),new e(i.Ibm866Model),new e(i.Ibm855Model),new e(o.Latin7GreekModel),new e(o.Win1253GreekModel),new e(l.Latin5BulgarianModel),new e(l.Win1251BulgarianModel),new e(a.Latin2HungarianModel),new e(a.Win1250HungarianModel),new e(s)];var m=new n,h=new e(r,!1,m),p=new e(r,!0,m);m.setModelProbers(h,p),d._mProbers.push(m,h,p),d._supportedCharsetNames=[];for(const v of d._mProbers)d._supportedCharsetNames.push(v.getCharsetName());d.reset()}this.getSupportedCharsetNames=function(){return d._supportedCharsetNames},f()}return c.prototype=new t,N4=c,N4}var M4,A7;function nS(){if(A7)return M4;A7=1;var e=N2(),t=_0(),r=0,n=1,i=2,o=3,s=4,a=5,l=6,c=7,d=[n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,n,n,n,n,n,n,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,n,n,n,n,n,n,r,n,c,n,n,n,n,n,n,a,n,a,r,a,r,r,n,n,n,n,n,n,n,n,n,c,n,c,r,c,a,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,s,s,s,s,s,s,a,a,s,s,s,s,s,s,s,s,a,a,s,s,s,s,s,n,s,s,s,s,s,a,a,a,l,l,l,l,l,l,c,c,l,l,l,l,l,l,l,l,c,c,l,l,l,l,l,n,l,l,l,l,l,c,c,c],f=[0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,0,3,3,3,1,1,3,3,0,3,3,3,1,2,1,2,0,3,3,3,3,3,3,3,0,3,1,3,1,1,1,3,0,3,1,3,1,1,3,3];function m(){e.apply(this);var h=4,p=8,v=this;function b(){v.reset()}this.reset=function(){this._mLastCharClass=n,this._mFreqCounter=[];for(var _=0;_<h;this._mFreqCounter[_++]=0);m.prototype.reset.apply(this)},this.getCharsetName=function(){return"windows-1252"},this.getSupportedCharsetNames=function(){return[this.getCharsetName()]},this.feed=function(_){_=this.removeXmlTags(_);for(var C=0;C<_.length;C++){var A=_.charCodeAt(C),N=d[A],k=f[this._mLastCharClass*p+N];if(k==0){this._mState=t.notMe;break}this._mFreqCounter[k]++,this._mLastCharClass=N}return this.getState()},this.getConfidence=function(){var _;if(this.getState()==t.notMe)return .01;for(var C=0,A=0;A<this._mFreqCounter.length;A++)C+=this._mFreqCounter[A];return C<.01?_=0:_=this._mFreqCounter[3]/C-this._mFreqCounter[1]*20/C,_<0&&(_=0),_=_*.95,_},b()}return m.prototype=new e,M4=m,M4}var B2={},T7;function iS(){if(T7)return B2;T7=1;var e=_0(),t=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,5,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],r=[e.start,e.error,3,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,4,e.error,5,e.error,6,e.error,5,5,4,e.error,4,e.error,4,4,4,e.error,4,e.error,4,e.itsMe,e.start,e.start,e.start,e.start,e.start,e.start],n=[0,0,0,0,0,0];B2.HZSMModel={classTable:t,classFactor:6,stateTable:r,charLenTable:n,name:"HZ-GB-2312"};var i=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],o=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,5,6,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start],s=[0,0,0,0,0,0,0,0,0];B2.ISO2022CNSMModel={classTable:i,classFactor:9,stateTable:o,charLenTable:s,name:"ISO-2022-CN"};var a=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,7,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,4,0,8,0,0,0,0,9,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],l=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,5,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,6,e.itsMe,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start,e.start],c=[0,0,0,0,0,0,0,0,0,0];B2.ISO2022JPSMModel={classTable:a,classFactor:10,stateTable:l,charLenTable:c,name:"ISO-2022-JP"};var d=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],f=[e.start,3,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.start,e.start,e.start,e.start],m=[0,0,0,0,0,0];return B2.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:f,charLenTable:m,name:"ISO-2022-KR"},B2}var k4,N7;function oS(){if(N7)return k4;N7=1;var e=N2(),t=Jt(),r=iS(),n=_0();function i(){e.apply(this);var o=this;function s(){o._mCodingSM=[new t(r.HZSMModel),new t(r.ISO2022CNSMModel),new t(r.ISO2022JPSMModel),new t(r.ISO2022KRSMModel)],o._supportedCharsetNames=[];for(const a of o._mCodingSM)o._supportedCharsetNames.push(a.getCodingStateMachine());o.reset()}this.reset=function(){i.prototype.reset.apply(this);for(var a=0,l;l=this._mCodingSM[a];a++)l&&(l.active=!0,l.reset());this._mActiveSM=o._mCodingSM.length,this._mDetectedCharset=null},this.getCharsetName=function(){return this._mDetectedCharset},this.getSupportedCharsetNames=function(){return o._supportedCharsetNames},this.getConfidence=function(){return this._mDetectedCharset?.99:0},this.feed=function(a){for(var l=0,c;l<a.length;l++){c=a[l];for(var d=0,f;f=this._mCodingSM[d];d++)if(!(!f||!f.active)){var m=f.nextState(c);if(m==n.error){if(f.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=n.notMe,this.getState()}else if(m==n.itsMe)return this._mState=n.foundIt,this._mDetectedCharset=f.getCodingStateMachine(),this.getState()}}return this.getState()},s()}return i.prototype=new e,k4=i,k4}var I4,M7;function sS(){if(M7)return I4;M7=1;var e=_0(),t=zx(),r=rS(),n=nS(),i=oS(),o=M2();const s=function(){const c=["UTF-8","UTF-32LE","UTF-32BE","UTF-32BE","UTF-16LE","UTF-16BE","X-ISO-10646-UCS-4-3412","X-ISO-10646-UCS-4-2143"],d=[new i,new t,new r,new n],f=c.slice(0);for(const m of d)[].push.apply(f,m.getSupportedCharsetNames());return f}(),a=function(){const c=[];for(const d of s)c.push(d.toLocaleLowerCase(),d.toLocaleLowerCase().replace(/-/g,""));return c}();function l(c){if(c||(c={}),typeof c.minimumThreshold!="number"&&(c.detectEncodings?c.minimumThreshold=0:c.minimumThreshold=.2),c.detectEncodings){for(const p of c.detectEncodings)if(!a.includes(p.toLowerCase()))throw new Error(`Encoding ${p} is not supported. Supported encodings: ${s}.`)}var d={pureAscii:0,escAscii:1,highbyte:2},f=this;function m(){f._highBitDetector=/[\x80-\xFF]/,f._escDetector=/(\x1B|~\{)/,f._mEscCharsetProber=null,f._mCharsetProbers=[],f.reset()}function h(p){if(!c.detectEncodings)return!0;var v=c.detectEncodings.map(b=>b.toLowerCase());return v.includes(p.toLowerCase())}this.reset=function(){this.result={encoding:null,confidence:0},this.results=[],this.done=!1,this._mStart=!0,this._mGotData=!1,this._mInputState=d.pureAscii,this._mLastChar=[],this._mBOM="",this._mEscCharsetProber&&this._mEscCharsetProber.reset();for(var p=0,v;v=this._mCharsetProbers[p];p++)v.reset()},this.feed=function(p){if(!this.done){var v=p.length;if(v){if(this._mGotData||(this._mBOM+=p,this._mBOM.slice(0,3)==""&&h("UTF-8")?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"&&h("UTF-32LE")?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"&&h("UTF-32BE")?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"&&h("X-ISO-10646-UCS-4-3412")?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"&&h("X-ISO-10646-UCS-4-2143")?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"&&h("UTF-16LE")?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&h("UTF-16BE")&&(this.result={encoding:"UTF-16BE",confidence:1}),this.result.confidence>0&&(this.results=[this.result]),this._mBOM.length>3&&(this._mGotData=!0)),this.result.encoding&&this.result.confidence>0){this.done=!0;return}if(this._mInputState==d.pureAscii&&(this._highBitDetector.test(p)?this._mInputState=d.highbyte:this._escDetector.test(this._mLastChar.join("")+p)&&(this._mInputState=d.escAscii)),this._mLastChar=p.slice(-1).split(""),this._mInputState==d.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new i),this._mEscCharsetProber.feed(p)==e.foundIt&&h(this._mEscCharsetProber.getCharsetName())&&(this.result={encoding:this._mEscCharsetProber.getCharsetName(),confidence:this._mEscCharsetProber.getConfidence()},this.results=[this.result],this.done=!0);else if(this._mInputState==d.highbyte){this._mCharsetProbers.length==0&&(this._mCharsetProbers=[new t,new r,new n]);for(var b=0,_;_=this._mCharsetProbers[b];b++)if(_.feed(p)==e.foundIt&&h(_.getCharsetName())){this.result={encoding:_.getCharsetName(),confidence:_.getConfidence()},this.results=[this.result],this.done=!0;break}}}}},this.close=function(){if(!this.done){if(this._mBOM.length===0){o.log(`no data received!
|
|
59
|
+
`);return}if(this.done=!0,this._mInputState==d.pureAscii&&h("ascii"))return o.log("pure ascii"),this.result={encoding:"ascii",confidence:1},this.results.push(this.result),this.result;if(this._mInputState==d.highbyte){let _=0,C=!1;for(var p=0,v;v=this._mCharsetProbers[p];p++){if(!v)continue;const A=v.getCharsetName(),N=v.getConfidence();v.getCharsetName()==="windows-1252"&&(_=N),!(!A||!h(A))&&(this.results.push({encoding:v.getCharsetName(),confidence:N}),v.getCharsetName()==="windows-1250"&&(C=!0),o.log(v.getCharsetName()+" confidence "+N))}if(_&&!C&&h("windows-1250")&&this.results.push({encoding:"windows-1250",confidence:_-Math.pow(5/10,String(_).length-1)}),this.results.sort(function(A,N){return N.confidence-A.confidence}),this.results.length>0){var b=this.results[0];if(b.confidence>=c.minimumThreshold)return this.result=b,b}}if(o.enabled){o.log(`no probers hit minimum threshhold
|
|
60
60
|
`);for(var p=0,v;v=this._mCharsetProbers[p];p++)!v||!h(v.getCharsetName())||o.log(v.getCharsetName()+" confidence = "+v.getConfidence()+`
|
|
61
|
-
`)}}},m()}return
|
|
61
|
+
`)}}},m()}return I4=l,I4}var k7;function aS(){if(k7)return P2;k7=1;var e=sS(),t=M2().setLogger;P2.detect=function(n,i){var o=r(n,i);return o.result},P2.detectAll=function(n,i){var o=r(n,i);return o.results},P2.UniversalDetector=e,P2.enableDebug=function(){t(console.log.bind(console))};function r(n,i){var o=new e(i);return o.reset(),typeof Buffer=="function"&&n instanceof Buffer?o.feed(n.toString("binary")):o.feed(n),o.close(),o}return P2}var R4,I7;function lS(){return I7||(I7=1,R4=aS()),R4}var uS=lS(),en={exports:{}};/* @license
|
|
62
62
|
Papa Parse
|
|
63
63
|
v5.5.1
|
|
64
64
|
https://github.com/mholt/PapaParse
|
|
65
65
|
License: MIT
|
|
66
|
-
*/var
|
|
67
|
-
`),
|
|
68
|
-
`;for(var
|
|
69
|
-
`&&
|
|
70
|
-
`:"\r"}}function b(
|
|
71
|
-
`&&
|
|
72
|
-
`&&(
|
|
73
|
-
`);var
|
|
74
|
-
`,j='"',
|
|
75
|
-
`,'"',c.BYTE_ORDER_MARK],c.WORKERS_SUPPORTED=!o&&!!n.Worker,c.NODE_STREAM_INPUT=1,c.LocalChunkSize=10485760,c.RemoteChunkSize=5242880,c.DefaultDelimiter=",",c.Parser=_,c.ParserHandle=v,c.NetworkStreamer=f,c.FileStreamer=m,c.StringStreamer=h,c.ReadableStreamStreamer=p,n.jQuery&&((i=n.jQuery).fn.parse=function(
|
|
66
|
+
*/var cS=en.exports,R7;function dS(){return R7||(R7=1,function(e,t){((r,n)=>{e.exports=n()})(cS,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},i,o=!n.document&&!!n.postMessage,s=n.IS_PAPA_WORKER||!1,a={},l=0,c={};function d(T){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(S){var I=k(S);I.chunkSize=parseInt(I.chunkSize),S.step||S.chunk||(I.chunkSize=null),this._handle=new v(I),(this._handle.streamer=this)._config=I}).call(this,T),this.parseChunk=function(S,I){var M=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<M){let O=this._config.newline;O||(L=this._config.quoteChar||'"',O=this._handle.guessLineEndings(S,L)),S=[...S.split(O).slice(M)].join(O)}this.isFirstChunk&&P(this._config.beforeFirstChunk)&&(L=this._config.beforeFirstChunk(S))!==void 0&&(S=L),this.isFirstChunk=!1,this._halted=!1;var M=this._partialLine+S,L=(this._partialLine="",this._handle.parse(M,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(S=L.meta.cursor,M=(this._finished||(this._partialLine=M.substring(S-this._baseIndex),this._baseIndex=S),L&&L.data&&(this._rowCount+=L.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),s)n.postMessage({results:L,workerId:c.WORKER_ID,finished:M});else if(P(this._config.chunk)&&!I){if(this._config.chunk(L,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=L=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(L.data),this._completeResults.errors=this._completeResults.errors.concat(L.errors),this._completeResults.meta=L.meta),this._completed||!M||!P(this._config.complete)||L&&L.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),M||L&&L.meta.paused||this._nextChunk(),L}this._halted=!0},this._sendError=function(S){P(this._config.error)?this._config.error(S):s&&this._config.error&&n.postMessage({workerId:c.WORKER_ID,error:S,finished:!1})}}function f(T){var S;(T=T||{}).chunkSize||(T.chunkSize=c.RemoteChunkSize),d.call(this,T),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(I){this._input=I,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(S=new XMLHttpRequest,this._config.withCredentials&&(S.withCredentials=this._config.withCredentials),o||(S.onload=D(this._chunkLoaded,this),S.onerror=D(this._chunkError,this)),S.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var I,M=this._config.downloadRequestHeaders;for(I in M)S.setRequestHeader(I,M[I])}var L;this._config.chunkSize&&(L=this._start+this._config.chunkSize-1,S.setRequestHeader("Range","bytes="+this._start+"-"+L));try{S.send(this._config.downloadRequestBody)}catch(O){this._chunkError(O.message)}o&&S.status===0&&this._chunkError()}},this._chunkLoaded=function(){S.readyState===4&&(S.status<200||400<=S.status?this._chunkError():(this._start+=this._config.chunkSize||S.responseText.length,this._finished=!this._config.chunkSize||this._start>=(I=>(I=I.getResponseHeader("Content-Range"))!==null?parseInt(I.substring(I.lastIndexOf("/")+1)):-1)(S),this.parseChunk(S.responseText)))},this._chunkError=function(I){I=S.statusText||I,this._sendError(new Error(I))}}function m(T){(T=T||{}).chunkSize||(T.chunkSize=c.LocalChunkSize),d.call(this,T);var S,I,M=typeof FileReader<"u";this.stream=function(L){this._input=L,I=L.slice||L.webkitSlice||L.mozSlice,M?((S=new FileReader).onload=D(this._chunkLoaded,this),S.onerror=D(this._chunkError,this)):S=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var L=this._input,O=(this._config.chunkSize&&(O=Math.min(this._start+this._config.chunkSize,this._input.size),L=I.call(L,this._start,O)),S.readAsText(L,this._config.encoding));M||this._chunkLoaded({target:{result:O}})},this._chunkLoaded=function(L){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(L.target.result)},this._chunkError=function(){this._sendError(S.error)}}function h(T){var S;d.call(this,T=T||{}),this.stream=function(I){return S=I,this._nextChunk()},this._nextChunk=function(){var I,M;if(!this._finished)return I=this._config.chunkSize,S=I?(M=S.substring(0,I),S.substring(I)):(M=S,""),this._finished=!S,this.parseChunk(M)}}function p(T){d.call(this,T=T||{});var S=[],I=!0,M=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(L){this._input=L,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){M&&S.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),S.length?this.parseChunk(S.shift()):I=!0},this._streamData=D(function(L){try{S.push(typeof L=="string"?L:L.toString(this._config.encoding)),I&&(I=!1,this._checkIsFinished(),this.parseChunk(S.shift()))}catch(O){this._streamError(O)}},this),this._streamError=D(function(L){this._streamCleanUp(),this._sendError(L)},this),this._streamEnd=D(function(){this._streamCleanUp(),M=!0,this._streamData("")},this),this._streamCleanUp=D(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function v(T){var S,I,M,L,O=Math.pow(2,53),j=-O,le=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,K=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,X=this,B=0,Y=0,W=!1,Q=!1,G=[],F={data:[],errors:[],meta:{}};function ue(ie){return T.skipEmptyLines==="greedy"?ie.join("").trim()==="":ie.length===1&&ie[0].length===0}function ce(){if(F&&M&&(Me("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+c.DefaultDelimiter+"'"),M=!1),T.skipEmptyLines&&(F.data=F.data.filter(function(re){return!ue(re)})),xe()){let re=function(ne,te){P(T.transformHeader)&&(ne=T.transformHeader(ne,te)),G.push(ne)};var he=re;if(F)if(Array.isArray(F.data[0])){for(var ie=0;xe()&&ie<F.data.length;ie++)F.data[ie].forEach(re);F.data.splice(0,1)}else F.data.forEach(re)}function V(re,ne){for(var te=T.header?{}:[],Z=0;Z<re.length;Z++){var ke=Z,be=re[Z],be=((A0,We)=>(m0=>(T.dynamicTypingFunction&&T.dynamicTyping[m0]===void 0&&(T.dynamicTyping[m0]=T.dynamicTypingFunction(m0)),(T.dynamicTyping[m0]||T.dynamicTyping)===!0))(A0)?We==="true"||We==="TRUE"||We!=="false"&&We!=="FALSE"&&((m0=>{if(le.test(m0)&&(m0=parseFloat(m0),j<m0&&m0<O))return 1})(We)?parseFloat(We):K.test(We)?new Date(We):We===""?null:We):We)(ke=T.header?Z>=G.length?"__parsed_extra":G[Z]:ke,be=T.transform?T.transform(be,ke):be);ke==="__parsed_extra"?(te[ke]=te[ke]||[],te[ke].push(be)):te[ke]=be}return T.header&&(Z>G.length?Me("FieldMismatch","TooManyFields","Too many fields: expected "+G.length+" fields but parsed "+Z,Y+ne):Z<G.length&&Me("FieldMismatch","TooFewFields","Too few fields: expected "+G.length+" fields but parsed "+Z,Y+ne)),te}var J;F&&(T.header||T.dynamicTyping||T.transform)&&(J=1,!F.data.length||Array.isArray(F.data[0])?(F.data=F.data.map(V),J=F.data.length):F.data=V(F.data,0),T.header&&F.meta&&(F.meta.fields=G),Y+=J)}function xe(){return T.header&&G.length===0}function Me(ie,V,J,he){ie={type:ie,code:V,message:J},he!==void 0&&(ie.row=he),F.errors.push(ie)}P(T.step)&&(L=T.step,T.step=function(ie){F=ie,xe()?ce():(ce(),F.data.length!==0&&(B+=ie.data.length,T.preview&&B>T.preview?I.abort():(F.data=F.data[0],L(F,X))))}),this.parse=function(ie,V,J){var he=T.quoteChar||'"',he=(T.newline||(T.newline=this.guessLineEndings(ie,he)),M=!1,T.delimiter?P(T.delimiter)&&(T.delimiter=T.delimiter(ie),F.meta.delimiter=T.delimiter):((he=((re,ne,te,Z,ke)=>{var be,A0,We,m0;ke=ke||[","," ","|",";",c.RECORD_SEP,c.UNIT_SEP];for(var E1=0;E1<ke.length;E1++){for(var Z0,M0=ke[E1],wt=0,h0=0,p1=0,A1=(We=void 0,new _({comments:Z,delimiter:M0,newline:ne,preview:10}).parse(re)),yt=0;yt<A1.data.length;yt++)te&&ue(A1.data[yt])?p1++:(Z0=A1.data[yt].length,h0+=Z0,We===void 0?We=Z0:0<Z0&&(wt+=Math.abs(Z0-We),We=Z0));0<A1.data.length&&(h0/=A1.data.length-p1),(A0===void 0||wt<=A0)&&(m0===void 0||m0<h0)&&1.99<h0&&(A0=wt,be=M0,m0=h0)}return{successful:!!(T.delimiter=be),bestDelimiter:be}})(ie,T.newline,T.skipEmptyLines,T.comments,T.delimitersToGuess)).successful?T.delimiter=he.bestDelimiter:(M=!0,T.delimiter=c.DefaultDelimiter),F.meta.delimiter=T.delimiter),k(T));return T.preview&&T.header&&he.preview++,S=ie,I=new _(he),F=I.parse(S,V,J),ce(),W?{meta:{paused:!0}}:F||{meta:{paused:!1}}},this.paused=function(){return W},this.pause=function(){W=!0,I.abort(),S=P(T.chunk)?"":S.substring(I.getCharIndex())},this.resume=function(){X.streamer._halted?(W=!1,X.streamer.parseChunk(S,!0)):setTimeout(X.resume,3)},this.aborted=function(){return Q},this.abort=function(){Q=!0,I.abort(),F.meta.aborted=!0,P(T.complete)&&T.complete(F),S=""},this.guessLineEndings=function(re,he){re=re.substring(0,1048576);var he=new RegExp(b(he)+"([^]*?)"+b(he),"gm"),J=(re=re.replace(he,"")).split("\r"),he=re.split(`
|
|
67
|
+
`),re=1<he.length&&he[0].length<J[0].length;if(J.length===1||re)return`
|
|
68
|
+
`;for(var ne=0,te=0;te<J.length;te++)J[te][0]===`
|
|
69
|
+
`&&ne++;return ne>=J.length/2?`\r
|
|
70
|
+
`:"\r"}}function b(T){return T.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(T){var S=(T=T||{}).delimiter,I=T.newline,M=T.comments,L=T.step,O=T.preview,j=T.fastMode,le=null,K=T.quoteChar==null?'"':T.quoteChar,X=K;if(T.escapeChar!==void 0&&(X=T.escapeChar),(typeof S!="string"||-1<c.BAD_DELIMITERS.indexOf(S))&&(S=","),M===S)throw new Error("Comment character same as delimiter");M===!0?M="#":(typeof M!="string"||-1<c.BAD_DELIMITERS.indexOf(M))&&(M=!1),I!==`
|
|
71
|
+
`&&I!=="\r"&&I!==`\r
|
|
72
|
+
`&&(I=`
|
|
73
|
+
`);var B=0,Y=!1;this.parse=function(W,Q,G){if(typeof W!="string")throw new Error("Input must be a string");var F=W.length,ue=S.length,ce=I.length,xe=M.length,Me=P(L),ie=[],V=[],J=[],he=B=0;if(!W)return M0();if(j||j!==!1&&W.indexOf(K)===-1){for(var re=W.split(I),ne=0;ne<re.length;ne++){if(J=re[ne],B+=J.length,ne!==re.length-1)B+=I.length;else if(G)return M0();if(!M||J.substring(0,xe)!==M){if(Me){if(ie=[],We(J.split(S)),wt(),Y)return M0()}else We(J.split(S));if(O&&O<=ne)return ie=ie.slice(0,O),M0(!0)}}return M0()}for(var te=W.indexOf(S,B),Z=W.indexOf(I,B),ke=new RegExp(b(X)+b(K),"g"),be=W.indexOf(K,B);;)if(W[B]===K)for(be=B,B++;;){if((be=W.indexOf(K,be+1))===-1)return G||V.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ie.length,index:B}),E1();if(be===F-1)return E1(W.substring(B,be).replace(ke,K));if(K===X&&W[be+1]===X)be++;else if(K===X||be===0||W[be-1]!==X){te!==-1&&te<be+1&&(te=W.indexOf(S,be+1));var A0=m0((Z=Z!==-1&&Z<be+1?W.indexOf(I,be+1):Z)===-1?te:Math.min(te,Z));if(W.substr(be+1+A0,ue)===S){J.push(W.substring(B,be).replace(ke,K)),W[B=be+1+A0+ue]!==K&&(be=W.indexOf(K,B)),te=W.indexOf(S,B),Z=W.indexOf(I,B);break}if(A0=m0(Z),W.substring(be+1+A0,be+1+A0+ce)===I){if(J.push(W.substring(B,be).replace(ke,K)),Z0(be+1+A0+ce),te=W.indexOf(S,B),be=W.indexOf(K,B),Me&&(wt(),Y))return M0();if(O&&ie.length>=O)return M0(!0);break}V.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ie.length,index:B}),be++}}else if(M&&J.length===0&&W.substring(B,B+xe)===M){if(Z===-1)return M0();B=Z+ce,Z=W.indexOf(I,B),te=W.indexOf(S,B)}else if(te!==-1&&(te<Z||Z===-1))J.push(W.substring(B,te)),B=te+ue,te=W.indexOf(S,B);else{if(Z===-1)break;if(J.push(W.substring(B,Z)),Z0(Z+ce),Me&&(wt(),Y))return M0();if(O&&ie.length>=O)return M0(!0)}return E1();function We(h0){ie.push(h0),he=B}function m0(h0){var p1=0;return p1=h0!==-1&&(h0=W.substring(be+1,h0))&&h0.trim()===""?h0.length:p1}function E1(h0){return G||(h0===void 0&&(h0=W.substring(B)),J.push(h0),B=F,We(J),Me&&wt()),M0()}function Z0(h0){B=h0,We(J),J=[],Z=W.indexOf(I,B)}function M0(h0){if(T.header&&!Q&&ie.length){var p1=ie[0],A1={},yt=new Set(p1);let Oo=!1;for(let k2=0;k2<p1.length;k2++){let T1=p1[k2];if(A1[T1=P(T.transformHeader)?T.transformHeader(T1,k2):T1]){let kr,Do=A1[T1];for(;kr=T1+"_"+Do,Do++,yt.has(kr););yt.add(kr),p1[k2]=kr,A1[T1]++,Oo=!0,(le=le===null?{}:le)[kr]=T1}else A1[T1]=1,p1[k2]=T1;yt.add(T1)}Oo&&console.warn("Duplicate headers found and renamed.")}return{data:ie,errors:V,meta:{delimiter:S,linebreak:I,aborted:Y,truncated:!!h0,cursor:he+(Q||0),renamedHeaders:le}}}function wt(){L(M0()),ie=[],V=[]}},this.abort=function(){Y=!0},this.getCharIndex=function(){return B}}function C(T){var S=T.data,I=a[S.workerId],M=!1;if(S.error)I.userError(S.error,S.file);else if(S.results&&S.results.data){var L={abort:function(){M=!0,A(S.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:N,resume:N};if(P(I.userStep)){for(var O=0;O<S.results.data.length&&(I.userStep({data:S.results.data[O],errors:S.results.errors,meta:S.results.meta},L),!M);O++);delete S.results}else P(I.userChunk)&&(I.userChunk(S.results,L,S.file),delete S.results)}S.finished&&!M&&A(S.workerId,S.results)}function A(T,S){var I=a[T];P(I.userComplete)&&I.userComplete(S),I.terminate(),delete a[T]}function N(){throw new Error("Not implemented.")}function k(T){if(typeof T!="object"||T===null)return T;var S,I=Array.isArray(T)?[]:{};for(S in T)I[S]=k(T[S]);return I}function D(T,S){return function(){T.apply(S,arguments)}}function P(T){return typeof T=="function"}return c.parse=function(T,S){var I=(S=S||{}).dynamicTyping||!1;if(P(I)&&(S.dynamicTypingFunction=I,I={}),S.dynamicTyping=I,S.transform=!!P(S.transform)&&S.transform,!S.worker||!c.WORKERS_SUPPORTED)return I=null,c.NODE_STREAM_INPUT,typeof T=="string"?(T=(M=>M.charCodeAt(0)!==65279?M:M.slice(1))(T),I=new(S.download?f:h)(S)):T.readable===!0&&P(T.read)&&P(T.on)?I=new p(S):(n.File&&T instanceof File||T instanceof Object)&&(I=new m(S)),I.stream(T);(I=(()=>{var M;return!!c.WORKERS_SUPPORTED&&(M=(()=>{var L=n.URL||n.webkitURL||null,O=r.toString();return c.BLOB_URL||(c.BLOB_URL=L.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",O,")();"],{type:"text/javascript"})))})(),(M=new n.Worker(M)).onmessage=C,M.id=l++,a[M.id]=M)})()).userStep=S.step,I.userChunk=S.chunk,I.userComplete=S.complete,I.userError=S.error,S.step=P(S.step),S.chunk=P(S.chunk),S.complete=P(S.complete),S.error=P(S.error),delete S.worker,I.postMessage({input:T,config:S,workerId:I.id})},c.unparse=function(T,S){var I=!1,M=!0,L=",",O=`\r
|
|
74
|
+
`,j='"',le=j+j,K=!1,X=null,B=!1,Y=((()=>{if(typeof S=="object"){if(typeof S.delimiter!="string"||c.BAD_DELIMITERS.filter(function(G){return S.delimiter.indexOf(G)!==-1}).length||(L=S.delimiter),typeof S.quotes!="boolean"&&typeof S.quotes!="function"&&!Array.isArray(S.quotes)||(I=S.quotes),typeof S.skipEmptyLines!="boolean"&&typeof S.skipEmptyLines!="string"||(K=S.skipEmptyLines),typeof S.newline=="string"&&(O=S.newline),typeof S.quoteChar=="string"&&(j=S.quoteChar),typeof S.header=="boolean"&&(M=S.header),Array.isArray(S.columns)){if(S.columns.length===0)throw new Error("Option columns is empty");X=S.columns}S.escapeChar!==void 0&&(le=S.escapeChar+j),S.escapeFormulae instanceof RegExp?B=S.escapeFormulae:typeof S.escapeFormulae=="boolean"&&S.escapeFormulae&&(B=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(j),"g"));if(typeof T=="string"&&(T=JSON.parse(T)),Array.isArray(T)){if(!T.length||Array.isArray(T[0]))return W(null,T,K);if(typeof T[0]=="object")return W(X||Object.keys(T[0]),T,K)}else if(typeof T=="object")return typeof T.data=="string"&&(T.data=JSON.parse(T.data)),Array.isArray(T.data)&&(T.fields||(T.fields=T.meta&&T.meta.fields||X),T.fields||(T.fields=Array.isArray(T.data[0])?T.fields:typeof T.data[0]=="object"?Object.keys(T.data[0]):[]),Array.isArray(T.data[0])||typeof T.data[0]=="object"||(T.data=[T.data])),W(T.fields||[],T.data||[],K);throw new Error("Unable to serialize unrecognized input");function W(G,F,ue){var ce="",xe=(typeof G=="string"&&(G=JSON.parse(G)),typeof F=="string"&&(F=JSON.parse(F)),Array.isArray(G)&&0<G.length),Me=!Array.isArray(F[0]);if(xe&&M){for(var ie=0;ie<G.length;ie++)0<ie&&(ce+=L),ce+=Q(G[ie],ie);0<F.length&&(ce+=O)}for(var V=0;V<F.length;V++){var J=(xe?G:F[V]).length,he=!1,re=xe?Object.keys(F[V]).length===0:F[V].length===0;if(ue&&!xe&&(he=ue==="greedy"?F[V].join("").trim()==="":F[V].length===1&&F[V][0].length===0),ue==="greedy"&&xe){for(var ne=[],te=0;te<J;te++){var Z=Me?G[te]:te;ne.push(F[V][Z])}he=ne.join("").trim()===""}if(!he){for(var ke=0;ke<J;ke++){0<ke&&!re&&(ce+=L);var be=xe&&Me?G[ke]:ke;ce+=Q(F[V][be],ke)}V<F.length-1&&(!ue||0<J&&!re)&&(ce+=O)}}return ce}function Q(G,F){var ue,ce;return G==null?"":G.constructor===Date?JSON.stringify(G).slice(1,25):(ce=!1,B&&typeof G=="string"&&B.test(G)&&(G="'"+G,ce=!0),ue=G.toString().replace(Y,le),(ce=ce||I===!0||typeof I=="function"&&I(G,F)||Array.isArray(I)&&I[F]||((xe,Me)=>{for(var ie=0;ie<Me.length;ie++)if(-1<xe.indexOf(Me[ie]))return!0;return!1})(ue,c.BAD_DELIMITERS)||-1<ue.indexOf(L)||ue.charAt(0)===" "||ue.charAt(ue.length-1)===" ")?j+ue+j:ue)}},c.RECORD_SEP="",c.UNIT_SEP="",c.BYTE_ORDER_MARK="\uFEFF",c.BAD_DELIMITERS=["\r",`
|
|
75
|
+
`,'"',c.BYTE_ORDER_MARK],c.WORKERS_SUPPORTED=!o&&!!n.Worker,c.NODE_STREAM_INPUT=1,c.LocalChunkSize=10485760,c.RemoteChunkSize=5242880,c.DefaultDelimiter=",",c.Parser=_,c.ParserHandle=v,c.NetworkStreamer=f,c.FileStreamer=m,c.StringStreamer=h,c.ReadableStreamStreamer=p,n.jQuery&&((i=n.jQuery).fn.parse=function(T){var S=T.config||{},I=[];return this.each(function(O){if(!(i(this).prop("tagName").toUpperCase()==="INPUT"&&i(this).attr("type").toLowerCase()==="file"&&n.FileReader)||!this.files||this.files.length===0)return!0;for(var j=0;j<this.files.length;j++)I.push({file:this.files[j],inputElem:this,instanceConfig:i.extend({},S)})}),M(),this;function M(){if(I.length===0)P(T.complete)&&T.complete();else{var O,j,le,K,X=I[0];if(P(T.before)){var B=T.before(X.file,X.inputElem);if(typeof B=="object"){if(B.action==="abort")return O="AbortError",j=X.file,le=X.inputElem,K=B.reason,void(P(T.error)&&T.error({name:O},j,le,K));if(B.action==="skip")return void L();typeof B.config=="object"&&(X.instanceConfig=i.extend(X.instanceConfig,B.config))}else if(B==="skip")return void L()}var Y=X.instanceConfig.complete;X.instanceConfig.complete=function(W){P(Y)&&Y(W,X.file,X.inputElem),L()},c.parse(X.file,X.instanceConfig)}}function L(){I.splice(0,1),M()}}),s&&(n.onmessage=function(T){T=T.data,c.WORKER_ID===void 0&&T&&(c.WORKER_ID=T.workerId),typeof T.input=="string"?n.postMessage({workerId:c.WORKER_ID,results:c.parse(T.input,T.config),finished:!0}):(n.File&&T.input instanceof File||T.input instanceof Object)&&(T=c.parse(T.input,T.config))&&n.postMessage({workerId:c.WORKER_ID,results:T,finished:!0})}),(f.prototype=Object.create(d.prototype)).constructor=f,(m.prototype=Object.create(d.prototype)).constructor=m,(h.prototype=Object.create(h.prototype)).constructor=h,(p.prototype=Object.create(d.prototype)).constructor=p,c})}(en)),en.exports}var fS=dS();const mS=["text/csv","application/vnd.ms-excel"];function hS(e){const t={};return t.detectEncodings=["UTF-8","windows-1252"],uS.detect(m3(e.result,`\r
|
|
76
76
|
|\r|
|
|
77
|
-
`,","),t).encoding}const wS=e=>e.filter(r=>!Ht(r)).length===0;function $4(e){return Na(e.trim(),'"')}function yS(e,t){const r=kc(t.name,".csv")&&D1(t.type,pS,{Equals:(i,o)=>i===o,GetHashCode:l1}),n=t.size<=10485760;if(r)if(n){const i=new FileReader;i.onload=o=>{const s=gS(i),a={};a.complete=(l,c)=>{let d,f,m,h,p,v,b,_,C,E,N,I,D;const P=l.errors;let A;switch(!$t(X,P,Ae())&&P.length===1?(d=we(0,P),d.code==="UndetectableDelimiter"?A=0:A=2):!$t(X,P,Ae())&&P.length===0?A=1:A=2,A){case 0:{we(0,P),D=!1;break}case 1:{D=!1;break}default:D=!0}e(D?new R(1,[new k1(7,[we(0,l.errors).message])]):(f=(m=l.data,m.filter(x=>!wS(x))),h=f.length>1?new R(0,[void 0]):new R(1,[new k1(2,[])]),h.tag===1?new R(1,[h.fields[0]]):(p=f.length<=5001?new R(0,[void 0]):new R(1,[new k1(3,[])]),p.tag===1?new R(1,[p.fields[0]]):(v=h6(f),b=v.length|0,_=v.some(Ht)?new R(1,[new k1(4,[])]):new R(0,[void 0]),_.tag===1?new R(1,[_.fields[0]]):(C=(E=gl(Je(x=>$4(x).toLocaleLowerCase(),v),{Equals:(x,k)=>x===k,GetHashCode:l1}),E.length===b?new R(0,[void 0]):new R(1,[new k1(5,[])])),C.tag===1?new R(1,[C.fields[0]]):(N=(I=f.filter(x=>x.length!==b),I.length===0?new R(0,[void 0]):new R(1,[new k1(6,[])])),N.tag===1?new R(1,[N.fields[0]]):new R(0,[new dy(new ml(t.name),Gn((x,k)=>[new ay(x),new ly($4(k))],h6(f)),new u5(Je(x=>new uy(Je($4,x)),Xc(f))),t.size)])))))))},a.error=(l,c)=>{e(new R(1,[new k1(7,[l])]))},a.worker=!0,a.skipEmptyLines=!0,a.encoding=s,mS.parse(t,a)},i.onerror=o=>{e(new R(1,[new k1(7,["Error reading file"])]))},i.readAsBinaryString(t)}else e(new R(1,[new k1(1,[])]));else e(new R(1,[new k1(0,[])]))}let rn=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Parse","CancelParsing","Remove"]}};function eu(e,t,r){let n,i;return A2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[T2(se(new ct(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=q(T(()=>{let o,s;return F(S(u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),u("button",y(g([["onClick",a=>{r()}],["type","button"],["className","text-gray-700"],(s=[Kt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))),T(()=>wr(a=>F(S(u("div",{className:"font-semibold text-sm pt-6",children:a[0]})),T(()=>S(u("div",{className:"text-sm text-gray-500 pt-2",children:a[1]})))),e)))})),["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}let St=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","ParsingFile","FileSelected"]}};function vS(e){return e==null?[new St(0,[void 0]),ge()]:[new St(2,[e]),ge()]}function bS(e,t,r){let n,i,o,s,a,l,c;switch(t.tag){case 1:{r.tag===1?n=5:n=6;break}case 2:{r.tag===2?n=7:n=8;break}default:if(t.fields[0].tag===1)t.fields[0].fields[0].tag===1?r.tag===1?(n=3,c=t.fields[0].fields[0].fields[0]):n=4:r.tag===1?(n=2,l=t.fields[0].fields[0].fields[0]):n=4;else switch(r.tag){case 0:{n=0,i=t.fields[0].fields[0][0],o=t.fields[0].fields[0][1];break}case 2:{n=1,s=t.fields[0].fields[0][0],a=t.fields[0].fields[0][1];break}default:n=4}}switch(n){case 0:return[new St(1,[i]),Cn(o)];case 1:return[new St(1,[s]),o5(g([s1(e,new U3(0,[])),Cn(a)]))];case 2:return[new St(2,[l]),s1(e,new U3(1,[l]))];case 3:return[new St(0,[c]),s1(e,new U3(2,[]))];case 4:return[r,ge()];case 5:return[new St(0,[void 0]),ge()];case 6:return[r,ge()];case 7:return[new St(0,[void 0]),s1(e,new U3(0,[]))];default:return[r,ge()]}}function _S(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM3.99743 10C3.99743 13.3151 6.68487 16.0026 10 16.0026C13.3151 16.0026 16.0026 13.3151 16.0026 10C16.0026 6.68487 13.3151 3.99743 10 3.99743C6.68487 3.99743 3.99743 6.68487 3.99743 10Z",["d",n]),["fill","#D6E2FC"]]))),u("path",y(g([(i="M10 3C10 2.44772 10.4494 1.99356 10.9974 2.06242C11.7053 2.15137 12.3996 2.3348 13.0615 2.60896C14.0321 3.011 14.914 3.60028 15.6569 4.34315C16.3997 5.08602 16.989 5.96793 17.391 6.93853C17.6652 7.60043 17.8486 8.29473 17.9376 9.0026C18.0064 9.55057 17.5523 10 17 10C16.4477 10 16.0085 9.54925 15.9169 9.00462C15.842 8.55939 15.7169 8.12298 15.5433 7.7039C15.2417 6.97595 14.7998 6.31451 14.2426 5.75736C13.6855 5.20021 13.0241 4.75825 12.2961 4.45672C11.877 4.28313 11.4406 4.15804 10.9954 4.08314C10.4508 3.99152 10 3.55228 10 3Z",["d",i]),["fill","#2E66F7"]])))]),["children",w.Children.toArray(Array.from(r))])])))}function CS(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M17 21H3C1.346 21 0 19.654 0 18V14H2V18C2 18.551 2.448 19 3 19H17C17.552 19 18 18.551 18 18V14H20V18C20 19.654 18.654 21 17 21Z",["d",n]),["fill","#9CA3AF"]]))),u("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",w.Children.toArray(Array.from(r))])])))}function xS(e,t){Wt(B.Delay(()=>B.Bind(Zn(1e3),()=>(yS(r=>{t(new rn(0,[new K8(1,[r])]))},e),B.Zero()))))}function tu(e){let t;const r=e.onChanged,n=e.templateDownloadUrl,i=e.existingCsvFile;let o;const s=vS(i);o=wt(()=>gt(()=>s,(h,p)=>bS(r,h,p),(h,p)=>{}),void 0,void 0);const a=o[0],l=o[1],c=w.useState(!1),d=c[1],f=w.useRef(void 0),m=h=>{l(new rn(0,[new K8(0,[[new ml(h.name),p=>{xS(h,p)}]])]))};return u("div",y(se((t=q(T(()=>{let h,p,v,b,_,C,E,N,I,D,P,A,x,k,M;switch(a.tag){case 2:{let L;const O=a.fields[0].SizeInBytes/1024/1024;return L=O<.01?.01:O,S(u("div",y(g([["className","border border-emerald-200 border-2 rounded-md my-6 bg-emerald-50 p-6"],(h=[u("div",y(g([["className","justify-between items-center inline-flex w-full"],(p=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(v=[u("div",y(g([Y0,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].Name.fields[0]]]))),u("span",y(g([["className","text-emerald-700"],(b=[Nr(20,20)],["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","justify-start items-start gap-3 flex"],(_=[u("div",{className:"text-center text-gray-500 text-sm font-medium",children:(C=Bi("{0:F2}",L),p2(lt("%s MB"))(C))}),u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",j=>{l(new rn(2,[]))}],(E=[u("div",{className:"text-center text-sm font-medium",children:"Remove"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(N=[Sn(10,10)],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(E))])])))],["children",w.Children.toArray(Array.from(_))])])))],["children",w.Children.toArray(Array.from(p))])]))),u("div",{className:"text-gray-500 text-xs font-normal",children:`${a.fields[0].DataRows.fields[0].length+1} rows`})],["children",w.Children.toArray(Array.from(h))])]))))}case 1:return S(u("div",y(g([["className","border-gray-300 border-dashed border-2 rounded-md my-6"],(I=[u("div",y(g([["className","p-6 justify-between items-center inline-flex w-full"],(D=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(P=[u("div",y(g([Y0,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].fields[0]]]))),u("span",y(g([["className","animate-spin"],(A=[_S(20,20)],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","justify-start items-start gap-2 flex"],(x=[u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",L=>{l(new rn(1,[]))}],(k=[u("div",{className:"text-center text-sm font-medium",children:"Cancel"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(M=[Sn(10,10)],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(x))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(I))])]))));default:{const L=O=>{O.preventDefault(),O.stopPropagation()};return S(u("div",y(q(T(()=>F(c[0]?S(["className","border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):S(["className","border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),T(()=>{let O,j;return S((O=[u("div",y(g([["className","flex flex-col items-center p-4"],["onDragEnter",oe=>{L(oe),d(!0)}],["onDragLeave",oe=>{L(oe),d(!1)}],["onDragOver",oe=>{L(oe),d(!0)}],["onDrop",oe=>{let Z;L(oe),d(!1),m((Z=oe,Z.dataTransfer).files.item(0))}],(j=q(T(()=>{let oe,Z,J,U,G,W;return F((oe=a.fields[0],oe==null?S(Ae()):(Z=oe,S(u("div",y(g([["className","p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full mb-4"],(J=[u("div",y(g([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(U=[B9(16,15)],["children",w.Children.toArray(Array.from(U))])]))),u("div",y(g([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],(G=[u("div",y(g([["className","self-stretch text-red-800 text-sm font-normal"],(W=q(T(()=>{let ie;const Y=he=>u("span",{className:"font-medium",children:he}),$=he=>u("span",{children:[he]}),fe=u("a",{className:"underline",children:"sample CSV",href:n,download:"sample_csv"});return S((ie=Z.tag===1?g([Y("File is too large (over 10 MB). "),$("Upload a "),Y("smaller file"),$(".")]):Z.tag===2?g([Y("File is empty. "),$("Ensure your file contains data before uploading.")]):Z.tag===3?g([Y("Too many rows (5000+). "),$("Upload a "),Y("file with fewer rows"),$(".")]):Z.tag===4?g([Y("Invalid CSV: Missing header field(s). "),$("Try using our "),fe,$(".")]):Z.tag===5?g([Y("Invalid CSV: Duplicate header fields. "),$("Try using our "),fe,$(".")]):Z.tag===6?g([Y("Invalid CSV: Rows have different lengths. "),$("Check for missing or extra columns.")]):Z.tag===7?g([Y("Invalid CSV format. "),$("Try using our "),fe,$(".")]):g([Y("Unsupported file type. "),$("Upload a "),Y(".csv file"),$(".")]),u("p",{children:w.Children.toArray(Array.from(ie))})))})),["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(G))])])))],["children",w.Children.toArray(Array.from(J))])])))))),T(()=>{let ie;return F(S(u("div",y(g([["className","pt-2"],(ie=[CS(20,21)],["children",w.Children.toArray(Array.from(ie))])])))),T(()=>F(S(u("input",{type:"file",onChange:Y=>{const $=Y.target.files;$!=null&&$.length>0&&m($.item(0))},className:"hidden",ref:f,accept:".csv"})),T(()=>F(S(u("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),T(()=>F(S(u("button",{className:"rounded text-sm w-[120px] border px-3 py-2 mt-4 font-medium text-gray-700 bg-white hover:bg-gray-50",onClick:Y=>{V1($=>{$.click()},Vt(f.current))},type:"button",children:w.Children.toArray(["Choose file"])})),T(()=>S(u("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(O))]))})))))))}}})),["children",w.Children.toArray(Array.from(t))]))))}const F4=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),SS=g([["What file format is accepted for bulk import?","The only accepted file format for bulk import is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported for bulk import?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You must include the required fields: “First name,” “Last name,” and “Email” to create a profile. “Mobile number” and “Employment basis” are optional but recommended, as they can help with searching and filtering."],["How do I format the CSV file?",`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
|
|
77
|
+
`,","),t).encoding}const pS=e=>e.filter(r=>!Ht(r)).length===0;function O4(e){return Ta(e.trim(),'"')}function gS(e,t){const r=Nc(t.name,".csv")&&R1(t.type,mS,{Equals:(i,o)=>i===o,GetHashCode:n1}),n=t.size<=10485760;if(r)if(n){const i=new FileReader;i.onload=o=>{const s=hS(i),a={};a.complete=(l,c)=>{let d,f,m,h,p,v,b,_,C,A,N,k,D;const P=l.errors;let T;switch(!Dt(ee,P,Ae())&&P.length===1?(d=ge(0,P),d.code==="UndetectableDelimiter"?T=0:T=2):!Dt(ee,P,Ae())&&P.length===0?T=1:T=2,T){case 0:{ge(0,P),D=!1;break}case 1:{D=!1;break}default:D=!0}e(D?new R(1,[new N1(7,[ge(0,l.errors).message])]):(f=(m=l.data,m.filter(S=>!pS(S))),h=f.length>1?new R(0,[void 0]):new R(1,[new N1(2,[])]),h.tag===1?new R(1,[h.fields[0]]):(p=f.length<=5001?new R(0,[void 0]):new R(1,[new N1(3,[])]),p.tag===1?new R(1,[p.fields[0]]):(v=f6(f),b=v.length|0,_=v.some(Ht)?new R(1,[new N1(4,[])]):new R(0,[void 0]),_.tag===1?new R(1,[_.fields[0]]):(C=(A=pl(Ke(S=>O4(S).toLocaleLowerCase(),v),{Equals:(S,I)=>S===I,GetHashCode:n1}),A.length===b?new R(0,[void 0]):new R(1,[new N1(5,[])])),C.tag===1?new R(1,[C.fields[0]]):(N=(k=f.filter(S=>S.length!==b),k.length===0?new R(0,[void 0]):new R(1,[new N1(6,[])])),N.tag===1?new R(1,[N.fields[0]]):new R(0,[new uy(new ml(t.name),qn((S,I)=>[new oy(S),new sy(O4(I))],f6(f)),new l5(Ke(S=>new ay(Ke(O4,S)),Kc(f))),t.size)])))))))},a.error=(l,c)=>{e(new R(1,[new N1(7,[l])]))},a.worker=!0,a.skipEmptyLines=!0,a.encoding=s,fS.parse(t,a)},i.onerror=o=>{e(new R(1,[new N1(7,["Error reading file"])]))},i.readAsBinaryString(t)}else e(new R(1,[new N1(1,[])]));else e(new R(1,[new N1(0,[])]))}let tn=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Parse","CancelParsing","Remove"]}};function Q9(e,t,r){let n,i;return x2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(ae(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=q(E(()=>{let o,s;return $(x(u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),u("button",y(g([["onClick",a=>{r()}],["type","button"],["className","text-gray-700"],(s=[Zt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])])))),E(()=>gr(a=>$(x(u("div",{className:"font-semibold text-sm pt-6",children:a[0]})),E(()=>x(u("div",{className:"text-sm text-gray-500 pt-2",children:a[1]})))),e)))})),["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}let xt=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["NoFileSelected","ParsingFile","FileSelected"]}};function wS(e){return e==null?[new xt(0,[void 0]),we()]:[new xt(2,[e]),we()]}function yS(e,t,r){let n,i,o,s,a,l,c;switch(t.tag){case 1:{r.tag===1?n=5:n=6;break}case 2:{r.tag===2?n=7:n=8;break}default:if(t.fields[0].tag===1)t.fields[0].fields[0].tag===1?r.tag===1?(n=3,c=t.fields[0].fields[0].fields[0]):n=4:r.tag===1?(n=2,l=t.fields[0].fields[0].fields[0]):n=4;else switch(r.tag){case 0:{n=0,i=t.fields[0].fields[0][0],o=t.fields[0].fields[0][1];break}case 2:{n=1,s=t.fields[0].fields[0][0],a=t.fields[0].fields[0][1];break}default:n=4}}switch(n){case 0:return[new xt(1,[i]),_n(o)];case 1:return[new xt(1,[s]),i5(g([t1(e,new L3(0,[])),_n(a)]))];case 2:return[new xt(2,[l]),t1(e,new L3(1,[l]))];case 3:return[new xt(0,[c]),t1(e,new L3(2,[]))];case 4:return[r,we()];case 5:return[new xt(0,[void 0]),we()];case 6:return[r,we()];case 7:return[new xt(0,[void 0]),t1(e,new L3(0,[]))];default:return[r,we()]}}function vS(e,t){let r,n,i;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10ZM3.99743 10C3.99743 13.3151 6.68487 16.0026 10 16.0026C13.3151 16.0026 16.0026 13.3151 16.0026 10C16.0026 6.68487 13.3151 3.99743 10 3.99743C6.68487 3.99743 3.99743 6.68487 3.99743 10Z",["d",n]),["fill","#D6E2FC"]]))),u("path",y(g([(i="M10 3C10 2.44772 10.4494 1.99356 10.9974 2.06242C11.7053 2.15137 12.3996 2.3348 13.0615 2.60896C14.0321 3.011 14.914 3.60028 15.6569 4.34315C16.3997 5.08602 16.989 5.96793 17.391 6.93853C17.6652 7.60043 17.8486 8.29473 17.9376 9.0026C18.0064 9.55057 17.5523 10 17 10C16.4477 10 16.0085 9.54925 15.9169 9.00462C15.842 8.55939 15.7169 8.12298 15.5433 7.7039C15.2417 6.97595 14.7998 6.31451 14.2426 5.75736C13.6855 5.20021 13.0241 4.75825 12.2961 4.45672C11.877 4.28313 11.4406 4.15804 10.9954 4.08314C10.4508 3.99152 10 3.55228 10 3Z",["d",i]),["fill","#2E66F7"]])))]),["children",w.Children.toArray(Array.from(r))])])))}function bS(e,t){let r,n;return u("svg",y(g([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(r=g([u("path",y(g([(n="M17 21H3C1.346 21 0 19.654 0 18V14H2V18C2 18.551 2.448 19 3 19H17C17.552 19 18 18.551 18 18V14H20V18C20 19.654 18.654 21 17 21Z",["d",n]),["fill","#9CA3AF"]]))),u("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",w.Children.toArray(Array.from(r))])])))}function _S(e,t){jt(H.Delay(()=>H.Bind(Yn(1e3),()=>(gS(r=>{t(new tn(0,[new Z8(1,[r])]))},e),H.Zero()))))}function eu(e){let t;const r=e.onChanged,n=e.templateDownloadUrl,i=e.existingCsvFile;let o;const s=wS(i);o=pt(()=>ht(()=>s,(h,p)=>yS(r,h,p),(h,p)=>{}),void 0,void 0);const a=o[0],l=o[1],c=w.useState(!1),d=c[1],f=w.useRef(void 0),m=h=>{l(new tn(0,[new Z8(0,[[new ml(h.name),p=>{_S(h,p)}]])]))};return u("div",y(ae((t=q(E(()=>{let h,p,v,b,_,C,A,N,k,D,P,T,S,I,M;switch(a.tag){case 2:{let L;const O=a.fields[0].SizeInBytes/1024/1024;return L=O<.01?.01:O,x(u("div",y(g([["className","border border-emerald-200 border-2 rounded-md my-6 bg-emerald-50 p-6"],(h=[u("div",y(g([["className","justify-between items-center inline-flex w-full"],(p=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(v=[u("div",y(g([q0,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].Name.fields[0]]]))),u("span",y(g([["className","text-emerald-700"],(b=[Tr(20,20)],["children",w.Children.toArray(Array.from(b))])])))],["children",w.Children.toArray(Array.from(v))])]))),u("div",y(g([["className","justify-start items-start gap-3 flex"],(_=[u("div",{className:"text-center text-gray-500 text-sm font-medium",children:(C=Pi("{0:F2}",L),f2(st("%s MB"))(C))}),u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",j=>{l(new tn(2,[]))}],(A=[u("div",{className:"text-center text-sm font-medium",children:"Remove"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(N=[xn(10,10)],["children",w.Children.toArray(Array.from(N))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(_))])])))],["children",w.Children.toArray(Array.from(p))])]))),u("div",{className:"text-gray-500 text-xs font-normal",children:`${a.fields[0].DataRows.fields[0].length+1} rows`})],["children",w.Children.toArray(Array.from(h))])]))))}case 1:return x(u("div",y(g([["className","border-gray-300 border-dashed border-2 rounded-md my-6"],(k=[u("div",y(g([["className","p-6 justify-between items-center inline-flex w-full"],(D=[u("div",y(g([["className","justify-start items-start gap-2 flex"],(P=[u("div",y(g([q0,["className","text-center text-gray-600 text-sm font-medium"],["children",a.fields[0].fields[0]]]))),u("span",y(g([["className","animate-spin"],(T=[vS(20,20)],["children",w.Children.toArray(Array.from(T))])])))],["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","justify-start items-start gap-2 flex"],(S=[u("button",y(g([["className","justify-start items-center gap-1 flex text-red-600"],["onClick",L=>{l(new tn(1,[]))}],(I=[u("div",{className:"text-center text-sm font-medium",children:"Cancel"}),u("div",y(g([["className","w-4 h-4 justify-center items-center flex"],(M=[xn(10,10)],["children",w.Children.toArray(Array.from(M))])])))],["children",w.Children.toArray(Array.from(I))])])))],["children",w.Children.toArray(Array.from(S))])])))],["children",w.Children.toArray(Array.from(D))])])))],["children",w.Children.toArray(Array.from(k))])]))));default:{const L=O=>{O.preventDefault(),O.stopPropagation()};return x(u("div",y(q(E(()=>$(c[0]?x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 bg-blue-50 border-blue-300"]):x(["className","border-gray-300 border-dashed border-2 rounded-md my-6 hover:bg-gray-100"]),E(()=>{let O,j;return x((O=[u("div",y(g([["className","flex flex-col items-center p-4"],["onDragEnter",le=>{L(le),d(!0)}],["onDragLeave",le=>{L(le),d(!1)}],["onDragOver",le=>{L(le),d(!0)}],["onDrop",le=>{let K;L(le),d(!1),m((K=le,K.dataTransfer).files.item(0))}],(j=q(E(()=>{let le,K,X,B,Y,W;return $((le=a.fields[0],le==null?x(Ae()):(K=le,x(u("div",y(g([["className","p-2 bg-red-50 rounded-md justify-start items-start gap-2 inline-flex w-full mb-4"],(X=[u("div",y(g([["className","w-5 h-5 px-0.5 pt-0.5 pb-[3px] justify-center items-center flex"],(B=[L9(16,15)],["children",w.Children.toArray(Array.from(B))])]))),u("div",y(g([["className","grow shrink basis-0 flex-col justify-start items-start gap-2 inline-flex"],(Y=[u("div",y(g([["className","self-stretch text-red-800 text-sm font-normal"],(W=q(E(()=>{let Q;const G=ce=>u("span",{className:"font-medium",children:ce}),F=ce=>u("span",{children:[ce]}),ue=u("a",{className:"underline",children:"sample CSV",href:n,download:"sample_csv"});return x((Q=K.tag===1?g([G("File is too large (over 10 MB). "),F("Upload a "),G("smaller file"),F(".")]):K.tag===2?g([G("File is empty. "),F("Ensure your file contains data before uploading.")]):K.tag===3?g([G("Too many rows (5000+). "),F("Upload a "),G("file with fewer rows"),F(".")]):K.tag===4?g([G("Invalid CSV: Missing header field(s). "),F("Try using our "),ue,F(".")]):K.tag===5?g([G("Invalid CSV: Duplicate header fields. "),F("Try using our "),ue,F(".")]):K.tag===6?g([G("Invalid CSV: Rows have different lengths. "),F("Check for missing or extra columns.")]):K.tag===7?g([G("Invalid CSV format. "),F("Try using our "),ue,F(".")]):g([G("Unsupported file type. "),F("Upload a "),G(".csv file"),F(".")]),u("p",{children:w.Children.toArray(Array.from(Q))})))})),["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Y))])])))],["children",w.Children.toArray(Array.from(X))])])))))),E(()=>{let Q;return $(x(u("div",y(g([["className","pt-2"],(Q=[bS(20,21)],["children",w.Children.toArray(Array.from(Q))])])))),E(()=>$(x(u("input",{type:"file",onChange:G=>{const F=G.target.files;F!=null&&F.length>0&&m(F.item(0))},className:"hidden",ref:f,accept:".csv"})),E(()=>$(x(u("span",{className:"text-gray-600 text-sm font-medium mt-3",children:"Drag and drop CSV file here"})),E(()=>$(x(u("button",{className:"rounded text-sm w-[120px] border px-3 py-2 mt-4 font-medium text-gray-700 bg-white hover:bg-gray-50",onClick:G=>{H1(F=>{F.click()},Vt(f.current))},type:"button",children:w.Children.toArray(["Choose file"])})),E(()=>x(u("span",{className:"text-gray-500 text-xs font-normal mt-2 font-normal pb-2",children:"Maximum size: 10 MB"}))))))))))}))})),["children",w.Children.toArray(Array.from(j))])])))],["children",w.Children.toArray(Array.from(O))]))})))))))}}})),["children",w.Children.toArray(Array.from(t))]))))}const D4=(()=>{const e=new Blob(["First name,Last name,Email,Mobile phone,Employment basis"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),CS=g([["What file format is accepted for bulk import?","The only accepted file format for bulk import is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported for bulk import?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You must include the required fields: “First name,” “Last name,” and “Email” to create a profile. “Mobile number” and “Employment basis” are optional but recommended, as they can help with searching and filtering."],["How do I format the CSV file?",`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
|
|
78
78
|
If you’re using your own CSV, ensure that your data is organised correctly and that there are no extra spaces or special characters.`],["What should I do if my CSV file contains errors?",`We recommend checking for common issues, such as missing data or incorrect formatting before upload.
|
|
79
|
-
If errors are detected during import, you can download a CSV file that lists all the rows with issues.`]]),ES=e=>eu(SS,e[0],e[1]);function AS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,m=e.cancel,h=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],E=w.useState(p),N=E[1],I=E[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[K9(F4,v[0],()=>{b(!1)}),ES([_[0],()=>{C(!1)}]),k2("Upload CSV"),Tr("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",F4],["download","import_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[T5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row py-3 gap-2"],(o=[x2("What kind of data do I need?",()=>{b(!0)}),x2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),E5("This importer only adds new users. It won't modify any existing user details."),u(tu,{existingCsvFile:et(p),templateDownloadUrl:F4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new h0(1,[{Success:!0}]));break}case 2:{N(void 0),f(!1),d(new h0(1,[{Success:!1}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",a]),["onClick",D=>{m()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]]))),u("button",y(g([(l="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm min-w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",l]),["onClick",D=>{I==null||h(I)}],["type","button"],["disabled",I==null],(c=["Map fields",O3(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let H0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}};function ru(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}let D0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}};function D7(e){return e.tag===1?"requested":ru(e.fields[0])}function TS(){return[new D0(0,[new H0(0,[void 0])]),ge()]}function NS(e,t,r,n){const i=(H,le)=>o5(g([s1(t,new h0(3,[{From:D7(H),To:D7(le)}])),J8(e)]));let o,s,a,l,c,d,f,m,h,p,v,b,_,C,E,N,I,D,P,A,x,k,M,L,O,j,oe,Z,J,U,G,W,ie,Y,$,fe,he,Ne,Ie,te;if(r.tag===1)switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(o=14,J=n.fields[0].fields[0][1],U=n.fields[0].fields[0][0],G=n.fields[0].fields[0][2],W=r.fields[0].fields[0]):o=15;break}case 2:{r.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(o=18,Ie=n.fields[0].fields[0][0],te=r.fields[0].fields[0].fields[0]):o=19:r.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=17,$=r.fields[0].fields[0].fields[0],fe=n.fields[0].fields[0][0],he=r.fields[0].fields[0].fields[1],Ne=n.fields[0].fields[0][1]):o=19:n.tag===0&&n.fields[0].tag===1?(o=16,ie=r.fields[0].fields[0].fields[0],Y=n.fields[0].fields[0][0]):o=19;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?n.fields[0].fields[0][2][1]!=null?(o=12,O=n.fields[0].fields[0][1],j=n.fields[0].fields[0][0],oe=n.fields[0].fields[0][2][0],Z=n.fields[0].fields[0][2][1]):(o=11,k=n.fields[0].fields[0][1],M=n.fields[0].fields[0][0],L=n.fields[0].fields[0][2][0]):(o=10,A=n.fields[0].fields[0][1],x=n.fields[0].fields[0][0]):o=13}else switch(r.fields[0].tag){case 1:{r.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=4,m=r.fields[0].fields[0],h=n.fields[0].fields[0][0],p=r.fields[0].fields[1],v=n.fields[0].fields[0][1]):o=5:n.tag===0&&n.fields[0].tag===1?(o=3,d=r.fields[0].fields[0],f=n.fields[0].fields[0][0]):o=5;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=6,b=n.fields[0].fields[0][1],_=n.fields[0].fields[0][0],C=n.fields[0].fields[0][2],E=r.fields[0].fields[0]):o=7;break}case 3:{n.tag===0&&n.fields[0].tag===3?(o=8,n.fields[0].fields[0][0],N=n.fields[0].fields[0][1],I=n.fields[0].fields[0][2],D=r.fields[0].fields[1],P=r.fields[0].fields[0]):o=9;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(o=1,a=r.fields[0].fields[0],l=n.fields[0].fields[0][0],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=2}switch(o){case 0:{const H=new D0(0,[new H0(1,[[s,new I1(0,[void 0])]])]);return[H,i(n,H)]}case 1:{const H=X(a,l)?new D0(0,[new H0(1,[[l,c]])]):new D0(0,[new H0(1,[[a,new I1(0,[void 0])]])]);return[H,i(n,H)]}case 2:return[n,ge()];case 3:{const H=new D0(0,[new H0(3,[[f,d,void 0]])]);return[H,i(n,H)]}case 4:{const H=c5(h.DataRows,p.fields[0])?new D0(0,[new H0(2,[[h,m,p,v.tag===1&&v.fields[0].tag===1&&X(p,v.fields[0].fields[1])?v.fields[0].fields[2]:void 0]])]):new D0(0,[new H0(3,[[h,m,[p,void 0]]])]);return[H,i(n,H)]}case 5:return[n,ge()];case 6:{const H=new D0(0,[new H0(3,[[_,b,[C,E]]])]);return[H,i(n,H)]}case 7:return[n,ge()];case 8:{const H=new D0(1,[[P,N,I,D]]);return[H,i(n,H)]}case 9:return[n,ge()];case 10:{const H=new D0(0,[new H0(1,[[x,new I1(1,[new e2(0,[A])])]])]);return[H,i(n,H)]}case 11:{const H=new D0(0,[new H0(1,[[M,new I1(1,[new e2(1,[k,L,void 0])])]])]);return[H,i(n,H)]}case 12:{const H=new D0(0,[new H0(2,[[j,O,oe,Z]])]);return[H,i(n,H)]}case 13:return[n,ge()];case 14:{const H=new D0(0,[new H0(1,[[U,new I1(1,[new e2(1,[J,G,W])])]])]);return[H,i(n,H)]}case 15:return[n,ge()];case 16:{const H=new D0(0,[new H0(0,[[Y,new I1(1,[new e2(0,[ie])])]])]);return[H,i(n,H)]}case 17:{const H=new D0(0,[new H0(0,[[fe,Ne.tag===1?Ne.fields[0].tag===1?X($,Ne.fields[0].fields[0])&&X(he,Ne.fields[0].fields[1])?Ne:new I1(1,[new e2(1,[$,he,void 0])]):new I1(1,[new e2(1,[$,he,void 0])]):new I1(1,[new e2(1,[$,he,void 0])])]])]);return[H,i(n,H)]}case 18:{const H=new D0(0,[new H0(0,[[Ie,new I1(0,[te])]])]);return[H,i(n,H)]}default:return[n,ge()]}}function MS(e){return`${e}/workspace/workspace/v1.0`}function kS(e,t){return B.Delay(()=>{let r;const n=mt(ht(new H1(0,[]),ft(MS(e)+"/users")));return r=B.Bind(n,i=>B.Return(new R(0,[i]))),B.Bind(r,i=>{const o=i;if(o.tag===1)return B.Return(new R(1,[o.fields[0]]));{const s=o.fields[0],a=s.statusCode===200?qt(We(Gt(g1(I0(["Email",Ze])),new K0(1,[]))),s.responseText):new R(1,["Failed to get account users"]);return B.Return(a)}})})}function Do(e,t,r,n,i,o,s){let a,l,c,d,f,m,h,p,v,b;return A2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(a=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(l=[T2(g([new ct(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new ct(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(c=[u("button",y(g([["type","button"],["onClick",_=>{t()}],["className","text-gray-600"],(d=[Kt(24,24)],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(f=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(m=[wx([])],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(h=[P9(g([new Dn(2,["text-gray-900 text-lg font-bold"]),new Dn(3,[[n]])])),u("div",{className:"mt-2 text-sm text-gray-500 leading-tight",children:w.Children.toArray(Array.from(s))})],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[u("button",y(g([["type","button"],["onClick",_=>{r()}],(v="inline-flex w-full justify-center rounded-md bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-red-500 sm:ml-3 sm:w-auto",["className",v]),["children",o]]))),u("button",y(g([["type","button"],["onClick",_=>{t()}],(b="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",b]),["children",i]])))],["children",w.Children.toArray(Array.from(p))])])))]])]))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])])))]])]))}function nu(e){let t,r,n,i,o,s,a;const l=e.onError,c=e.onStarted,d=e.startAsync;return lr((t=[d,f=>{let m,h,p,v;switch(f.tag){case 1:case 0:{m=3;break}case 3:{m=2,v=f.fields[0];break}default:f.fields[0].tag===1?(m=1,p=f.fields[0].fields[0]):(m=0,h=f.fields[0].fields[0])}switch(m){case 0:{c(h);break}case 1:{l(p);break}case 2:{l(e0(v));break}}}],Z8(t[0],t[1]))),u("div",y(g([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(r=[u("div",y(g([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(n=[u("div",y(g([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(i=[u("div",y(g([["className","relative"],(o=[vx([])],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","flex-col justify-start items-center gap-6 flex"],(s=[u("div",y(g([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(a=[u("div",{style:{animation:"progressBar 2s linear infinite"},className:"h-1.5 top-0 absolute bg-gradient-to-r from-[#a650ff] to-[#0095f2] rounded-[5px]"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))}class R1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","As","Appear","Show","ClassName","Enter","EnterFrom","EnterTo","Leave","LeaveFrom","LeaveTo","Children"]}}function IS(e){return u(R9,pt(e,1))}class Z1 extends ue{constructor(t,r,n){super(),this.Type=t,this.Title=r,this.Message=n}}class K1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Success","Failure","InProgress"]}}function RS(e,t){let r,n,i,o,s,a,l,c;return IS(g([new R1(1,["div"]),new R1(4,["pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"]),new R1(3,[!0]),new R1(5,["transform ease-out duration-300 transition"]),new R1(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new R1(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new R1(8,["transition ease-in duration-100"]),new R1(9,["opacity-100"]),new R1(10,["opacity-0"]),new R1(11,[[u("div",y(g([["key","1"],(r=[u("div",y(g([["className","p-4"],(n=[u("div",y(g([["className","flex items-start"],(i=[u("div",y(g([["className","flex-shrink-0"],(o=q(T(()=>{const d=t.Type;return d.tag===1?S(_x([])):d.tag===2?S(Cx([])):S(bx([]))})),["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[u("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),u("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","ml-4 flex flex-shrink-0"],(a=[u("button",y(g([["type","button"],(l="inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",["className",l]),["onClick",d=>{e()}],(c=[Sn(10,10)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function iu(e){const t=document.getElementById("workspace-toasts-container"),r=Xi(),n=RS(()=>{document.getElementById(r).remove()},e),i=document.createElement("div");Oi(n,i);const o=i.children[0];o.id=r,t.appendChild(o)}const OS=3e4;function DS(e,t,r,n,i){const o=n.fields[0],s=()=>B.Delay(()=>B.Bind(Zn(OS),()=>B.Bind(t(r),a=>{let l,c,d,f;const m=a;return m.tag!==1&&(m.fields[0].tag!==1||(m.fields[0].fields[0].tag===1?(e(new Z1(new K1(1,[]),"We found a duplicate user",`"${we(i.fields[0],we(m.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):m.fields[0].fields[0].tag===2?(l=m.fields[0].fields[0].fields[0].DuplicateEmailCount>0,c=m.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?c?new Z1(new K1(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d)):new Z1(new K1(1,[]),`We found ${m.fields[0].fields[0].fields[0].DuplicateEmailCount} duplicate users`,(f="One or more of the users you’re trying to add already exist in our system. These users were skipped during the import.",f)):new Z1(new K1(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d))),!1):(e(new Z1(new K1(0,[]),m.fields[0].fields[0].fields[0]===1?"Successfully added 1 user":`Successfully added ${m.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?B.Bind(s(),()=>B.Return(void 0)):B.Zero()})));e(new Z1(new K1(2,[]),o.length===1?"Importing 1 user":`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),Wt(s())}let O0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}},z3=class extends ue{constructor(t,r,n,i){super(),this.UploadingCsv=t,this.MappingColumns=r,this.MappingEmploymentBasis=n,this.Reviewing=i}};function $7(){l5(g(["workspace","app","users"]))}function ou(e){l5(g(["workspace","app","oops"]))}function $S(e){switch(e.tag){case 1:return new z3(new O0(0,[]),new O0(1,[]),new O0(2,[]),new O0(2,[]));case 2:return new z3(new O0(0,[]),new O0(0,[]),new O0(1,[]),new O0(2,[]));case 3:return new z3(new O0(0,[]),new O0(0,[]),new O0(0,[]),new O0(1,[]));default:return new z3(new O0(1,[]),new O0(2,[]),new O0(2,[]),new O0(2,[]))}}function FS(e,t,r,n,i,o,s){switch(s.tag){case 1:{const a=s.fields[0],l=a[1].tag===1?a[1].fields[0].tag===1?[ps(a[1].fields[0].fields[0],a[1].fields[0].fields[1]),a[0].HeaderRow,a[0].DataRows]:[ps(a[1].fields[0].fields[0],void 0),a[0].HeaderRow,a[0].DataRows]:[a[1].fields[0],a[0].HeaderRow,a[0].DataRows];return u(WC,{existingMappings:et(l[0]),headerRow:l[1],dataRows:l[2],next:c=>{let d;n(new t2(0,[(d=c,new W3(1,[d[0],d[1]]))]))},back:c=>{n(new t2(1,[new Q5(2,[c])]))},sendAnalytics:o})}case 2:{const a=Ey(s.fields[0][0].DataRows,s.fields[0][2]);return u(QC,{existingMappings:et(s.fields[0][3]),employmentBasisColumn:a,next:l=>{n(new t2(0,[new W3(2,[l])]))},back:l=>{n(new t2(1,[new Q5(1,[l])]))}})}case 3:return u(Mx,{getCurrentAccountUsersApiCallAsync:e,validateImportApiCallAsync:t,dataRows:s.fields[0][0].DataRows,baseColumnMappings:s.fields[0][1],employmentBasis:et(s.fields[0][2]),next:a=>{let l;n(new t2(0,[(l=a,new W3(3,[l[0],l[1]]))]))},back:()=>{n(new t2(1,[new Q5(0,[])]))},onError:a=>{ou()},sendAnalytics:o});default:{const a=i0(l=>l[0],s.fields[0]);return u(AS,{existingCsvFile:et(a),next:l=>{n(new t2(0,[new W3(0,[l])]))},cancel:r,setIsDirty:i,sendAnalytics:o})}}}function Y3(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[Nr(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function PS(){window.scrollTo(0,0)}function LS(e){let t,r,n,i,o,s,a,l;const c=(t=Xi(),t);l=I=>no(e.backendUrl,c,I),a=I=>{Wt(l(I))},s=w.useCallback(a,[]),lr(()=>{s(new h0(0,[{Section:"user import"}]))});const d=wt(()=>gt(TS,(I,D)=>NS(()=>{PS()},s,I,D),(I,D)=>{}),void 0,void 0),f=d[0],m=w.useState(!1),h=m[0],p=m[1],v=w.useState(!1),b=v[0],_=w.useCallback(I=>{I.preventDefault(),I.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};io(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let E;if(f.tag===0){const I=f.fields[0],D=()=>{h||p(!0)},P=$S(I),A=FS(()=>kS(e.backendUrl),x=>Bm(e.backendUrl,x),D,d[1],v[1],s,I);E=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Do(h,()=>{h&&p(!1)},()=>{h&&(s(new h0(2,[{From:ru(I)}])),C(),$7())},"Cancel import","Continue import","Cancel import and exit",g([u("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),u("button",y(g([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",i]),["onClick",x=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[Y3("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),Y3("2. Map fields",P.MappingColumns),u("hr",{className:"w-16 pt-1.5"}),Y3("3. Map values",P.MappingEmploymentBasis),u("hr",{className:"w-16 pt-1.5"}),Y3("4. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),A],["children",w.Children.toArray(Array.from(r))])])))}else{const I=f.fields[0][3],D=f.fields[0][0],P=f.fields[0][1];E=u(nu,{startAsync:()=>rx(A=>Um(e.backendUrl,A),D,P,f.fields[0][2],I),onStarted:A=>{s(new h0(8,[{ImportId:A,UsersInvited:I.tag!==1}])),C();const x=[A,D,P.Email];DS(k=>{iu(k)},k=>Hm(e.backendUrl,k),x[0],x[1],x[2]),$7()},onError:A=>{s(new h0(9,[{Reason:A}])),C(),ou()}})}const N=[u("style",{children:[Vn]}),E];return u(Ke,{},...N)}function BS(){Ln(e=>u(LS,e),"apollo-import-workspace-wizard")}let US=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear"]}},$n=class extends ue{constructor(t,r){super(),this.ColumnIndex=t,this.IsPrefilled=r}};function HS(e){const t=["email","emailaddress","mail"];return i0(r=>r[0],jt(r=>D1(p3(r[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),t,{Equals:(n,i)=>n===i,GetHashCode:l1}),e))}function VS(e,t){if(t==null){const r=HS(e);return[new $n(r,r!=null),ge()]}else return[new $n(t,!1),ge()]}function jS(e,t){return e.tag===1?[new $n(void 0,!1),ge()]:[new $n(e.fields[0],!1),ge()]}function F7(e,t){return Vi(qn(r=>i0(n=>n[1].fields[0],jt(n=>X(n[0],r),e)),t))}function WS(e){let t;const r=e.back,n=e.next,i=e.headerRow,o=e.existingEmailColumnIndex;let s;const a=VS(i,o);s=wt(()=>gt(()=>a,jS,(f,m)=>{}),void 0,void 0);const l=s[0],c=w.useState(!1),d=c[0];return u("div",y(g([["className","max-w-[640px] mx-12 mt-8 inline-flex flex-col justify-start items-start gap-6"],(t=q(T(()=>F(S(k2("Select email field")),T(()=>F(S(u("span",{className:"text-sm font-normal",children:"Select the column that contains the email addresses of users you want to remove."})),T(()=>F(l.IsPrefilled?S(E5("We’ve automatically pre-filled the email column based on a match found in your CSV. Please double-check to make sure this is correct before continuing.")):S(Ae()),T(()=>{let f,m,h;return F(S(u("div",y(g([["className","inline-flex flex-col justify-start items-start gap-2"],(f=[u("label",{className:"text-sm font-medium",children:"Email column"}),u("div",y(g([["className","w-[280px] h-[38px] justify-start items-center gap-2 flex"],(m=[No(g([new st(0,[F7(i,l.ColumnIndex)]),new st(1,[p=>{V1(v=>{s[1](new US(0,[v[0]]))},Vt(jt(v=>v[1].fields[0]===p,i)))}]),new st(2,[[u("div",y(g([Y0,["className","relative w-full"],(h=[Mo(q(T(()=>F(S(new fr(0,[`${d&&l.ColumnIndex==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),T(()=>{let p;return S(new fr(1,[[u("span",y(q(T(()=>{const v=l.ColumnIndex!=null?[F7(i,l.ColumnIndex),""]:d?["Select email column","text-red-900"]:["Select email column","text-gray-500"];return F(S(["className",`${v[1]} col-start-1 row-start-1 truncate pr-6`]),T(()=>S(["children",v[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(p=[Oo(20,20)],["children",w.Children.toArray(Array.from(p))])])))]]))}))))),Io(se(new ko("z-10 absolute max-h-64 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm")),q(T(()=>wr(p=>{const v=p[1].fields[0];return S(Ro(g([new z0(0,[h1(p[0].fields[0])]),new z0(1,[v]),new z0(3,["relative select-none"]),new z0(4,[b=>[u("span",{className:"px-4 py-2 block truncate "+(b.active?"bg-primary-600 text-white":"text-gray-700"),children:v})]])])))},i))))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])])))),T(()=>{let p,v,b,_,C;return S(u("div",y(g([["className","w-full flex flex-row justify-end gap-3"],(p=[u("button",y(g([(v="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",v]),["onClick",E=>{r(l.ColumnIndex)}],["type","button"],(b=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(b))])]))),u("button",y(g([(_="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",_]),["onClick",E=>{const N=l.ColumnIndex;N==null?c[1](!0):n(N)}],["type","button"],["disabled",d&&l.ColumnIndex==null],(C=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),O3(13,8)],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(p))])]))))}))})))))))),["children",w.Children.toArray(Array.from(t))])])))}let Yr=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}};class P4 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}class P7 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmailColumn"]}}class Z3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}}class t3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["EmptyEmail","InvalidEmail","DuplicateEmail"]}}function su(e){switch(e.tag){case 1:return"Invalid email";case 2:return"Duplicate email";default:return"No email"}}let nn=class extends ue{constructor(t,r,n,i,o,s,a,l,c,d,f,m){super(),this.Data=t,this.DuplicateEmailCount=r|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=n|0,this.NumberOfInvalidRows=i|0,this.NumberOfRows=o|0,this.NumberOfValidRows=s|0,this.ShowingOnlyRowsWithErrors=a,this.HasErrors=l,this.RowFrom=c|0,this.RowTo=d|0,this.Page=f,this.PageNo=m|0}};class qS extends ue{constructor(t,r,n){super(),this.RowNumber=t|0,this.Email=r,this.Error=n}}function Rt(e){return e.Error!=null}const L7=/^[^@\s]+@[^@\s]+\.[^@\s]+$/gu;function L4(e){return Ht(e)}function GS(e,t){const r=Je(o=>we(t.fields[0],o.fields[0]).toLocaleLowerCase().trim(),e.fields[0]),n=y1(Ot(o=>L4(o)?!1:!u6(L7,o),r)),i=y1(De(o=>o[0],Ot(o=>o[1]>1,my(o=>o,Ot(o=>L4(o)?!1:u6(L7,o),r),{Equals:(o,s)=>o===s,GetHashCode:l1}))));return g(Gn((o,s)=>{const a=L4(s);return new qS(o+1,a?void 0:s,a?new t3(0,[]):D1(s,n,{Equals:(l,c)=>l===c,GetHashCode:l1})?new t3(1,[]):D1(s,i,{Equals:(l,c)=>l===c,GetHashCode:l1})?new t3(2,[]):void 0)},r))}function on(e,t,r){const n=(e-1)*20|0,i=Za(n,e*20-1,r?N0(Rt,t):t);if(ke(i))return[0,0,Pe()];{const o=i;return[n+1,n+l0(o),o]}}function au(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function lu(e){return e.PageNo>1}function zS(e){const t=N0(Rt,e.Data);return F1(se(`Error detail,Email,Original row #
|
|
80
|
-
`),
|
|
81
|
-
`}`,t))}function YS(e,t,r){const n=GS(e,t);let i;const o=[n,!1];i=on(1,o[0],o[1]);const s=l0(N0(c=>!Rt(c),n))|0,a=l0(N0(c=>X(c.Error,new t3(2,[])),n))|0,l=l0(N0(Rt,n))|0;return[new nn(n,a,l0(N0(c=>X(c.Error,new t3(2,[]))?!1:c.Error!=null,n)),l,l0(n),s,!1,l>0,i[0],i[1],i[2],1),s1(r,new h0(10,[{Event:new it(3,[{DuplicateCount:a,RowCount:l0(n),SuccessCount:s,TotalFailedCount:l}]),Type:new nt}]))]}function ZS(e,t,r){let n,i;switch(t.tag){case 1:{au(r)?n=1:n=4;break}case 2:{lu(r)?n=2:n=4;break}case 3:{r.HasErrors?n=3:n=4;break}default:r.HasErrors&&r.ShowingOnlyRowsWithErrors!==t.fields[0]?(n=0,i=t.fields[0]):n=4}switch(n){case 0:{let o;const s=[r.Data,i];return o=on(1,s[0],s[1]),[new nn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,i,r.HasErrors,o[0],o[1],o[2],1),ge()]}case 1:{const o=r.PageNo+1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=on(o,a[0],a[1]),[new nn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),ge()]}case 2:{const o=r.PageNo-1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=on(o,a[0],a[1]),[new nn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),ge()]}case 3:return[r,s1(e,new h0(10,[{Event:new it(4,[]),Type:new nt}]))];default:return[r,ge()]}}function KS(e){const t=Je(n=>n,dt(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function JS(e){let t,r,n,i;const o=e.sendAnalytics,s=e.back,a=e.next,l=e.emailColumnIndex,c=e.dataRows;let d;const f=YS(c,l,o);d=wt(()=>gt(()=>f,(N,I)=>ZS(o,N,I),(N,I)=>{}),void 0,void 0);const m=d[0],h=d[1],p=w.useState(!1),v=p[0],b=p[1],_=N=>{h(new Z3(0,[N]))},C=au(m)?N=>{h(new Z3(1,[]))}:void 0,E=lu(m)?N=>{h(new Z3(2,[]))}:void 0;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[k2("Review"),Tr("Preview and confirm the users to remove."),u("div",y(g([["className","justify-start items-start inline-flex"],(r=[u("div",y(g([["className","pt-6 flex-col justify-start items-start inline-flex min-w-[640px]"],(n=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex w-full"],(i=q(T(()=>F(S(Do(v,()=>{b(!1)},()=>{v&&a(new u5(y1(De(N=>N[0],Ot(N=>!Rt(N[1]),n8(c.fields[0],m.Data))))))},`Permanently remove ${m.NumberOfValidRows} user${m.NumberOfValidRows>1?"s":""}`,"Cancel",`Remove user${m.NumberOfValidRows>1?"s":""}`,g([u("p",{children:[m.NumberOfValidRows===1?"This will immediately remove them and revoke their revoke workplace benefits access.":`This will immediately remove ${m.NumberOfValidRows} users and revoke workplace benefits access.`]}),u("br",{}),u("p",{className:"font-semibold",children:"This action cannot be undone."})]))),T(()=>{let N,I,D,P,A,x,k,M,L;return F(m.HasErrors?S(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(N=[J9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(I=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(D=[u("span",{children:[m.NumberOfInvalidRows>1?`We found some issues across ${m.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(D))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(P=q(T(()=>{let O;return F(m.DuplicateEmailCount>0?S((O=g([u("span",{className:"font-medium",children:`${m.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(O))}))):Te(),T(()=>{let j;return m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?S((j=g([u("span",{className:"font-medium",children:m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${m.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"a missing or incorrectly formatted email address"})]),u("li",{children:w.Children.toArray(Array.from(j))}))):Te()}))})),["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","px-2 py-1.5"],(A=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(x=[u("span",{children:[(k=m.NumberOfValidRows===0,M=m.NumberOfInvalidRows|0,k?M===1?"To remove this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To remove these rows later, download the error report with the ${m.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:M===1?"You can continue the removal without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the removal without these ${m.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${m.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(x))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(L=[u("a",{className:"py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:KS(zS(m)),onClick:O=>{h(new Z3(3,[]))},download:"remove_users_error_rows"})],["children",w.Children.toArray(Array.from(L))])])))],["children",w.Children.toArray(Array.from(A))])])))],["children",w.Children.toArray(Array.from(I))])])))],["children",w.Children.toArray(Array.from(N))])])))):Te(),T(()=>{let O;return F(S(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(O=q(T(()=>{let j,oe,Z,J;return F((j=m.NumberOfValidRows===0,m.HasErrors?j?Te():S(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",U=>{_(!m.ShowingOnlyRowsWithErrors)}],(oe=[u("input",y(g([["type","checkbox"],["checked",m.ShowingOnlyRowsWithErrors],(Z="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",Z]),["onKeyPress",U=>{U.preventDefault(),U.key==="Enter"&&_(!m.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(oe))])])))):j?Te():S(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(J=[Nr(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(J))])]))))),T(()=>{let U,G,W,ie,Y,$,fe,he,Ne,Ie,te;return S(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(U=[(G=g([u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(W=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(ie=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(Y=[($=q(T(()=>F(S(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),T(()=>F(m.HasErrors?S(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):Te(),T(()=>{let H;return S(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(H=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(H))])]))))})))))),u("tr",{children:w.Children.toArray(Array.from($))}))],["children",w.Children.toArray(Array.from(Y))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(fe=q(T(()=>De(H=>u("tr",y(q(T(()=>F(S(["key",H.RowNumber]),T(()=>F(Rt(H)?S(["className","bg-amber-50"]):S(["className","bg-white"]),T(()=>{let le;return S((le=q(T(()=>F(S(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:H.RowNumber})),T(()=>F(m.HasErrors?S(u("td",y(q(T(()=>F(S(["className","whitespace-nowrap px-3 py-2.5"]),T(()=>{let be,ae,K;return Rt(H)?S((be=[u("div",y(g([(ae="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",ae]),(K=[u("span",{children:[Le(i0(su,H.Error),"")]})],["children",w.Children.toArray(Array.from(K))])])))],["children",w.Children.toArray(Array.from(be))])):Te()}))))))):Te(),T(()=>S(u("td",y(q(T(()=>{const be=H.Email;if(be==null)return Te();{const ae=be;return F(S(Y0),T(()=>F(S(["className",v0(" ",q(T(()=>F(S("whitespace-nowrap px-3 py-2.5 text-sm"),T(()=>Rt(H)?S("font-medium text-amber-700"):S("text-gray-500"))))))]),T(()=>S(["children",ae])))))}}))))))))))),["children",w.Children.toArray(Array.from(le))]))})))))))),m.Page))),["children",w.Children.toArray(Array.from(fe))])])))],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(he=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(Ne=[(Ie=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.ShowingOnlyRowsWithErrors?m.NumberOfInvalidRows:m.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(Ie))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(te=[u("button",y(q(T(()=>{let H;return F((H=E,H==null?S(["disabled",!0]):S(["onClick",H])),T(()=>{let le;return F(S((le="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",le])),T(()=>{let be;return S((be=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(be))]))}))}))})))),u("button",y(q(T(()=>{let H;return F((H=C,H==null?S(["disabled",!0]):S(["onClick",H])),T(()=>{let le;return F(S((le="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",le])),T(()=>{let be;return S((be=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(be))]))}))}))}))))],["children",w.Children.toArray(Array.from(te))])])))],["children",w.Children.toArray(Array.from(Ne))])])))],["children",w.Children.toArray(Array.from(he))])])))]),u("div",{children:w.Children.toArray(Array.from(G))}))],["children",w.Children.toArray(Array.from(U))])]))))}))})),["children",w.Children.toArray(Array.from(O))])])))),T(()=>{let j,oe,Z,J,U,G,W,ie;return S(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(oe=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(Z=[u("button",y(g([(J="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",J]),["onClick",Y=>{s()}],(U=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(U))])]))),u("button",y(g([(G="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-red-600 hover:enabled:bg-red-500 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",G]),["onClick",Y=>{b(!0)}],["disabled",m.NumberOfValidRows===0],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(ie=m.NumberOfValidRows|0,ie===0?"Remove users":ie===1?"Remove 1 user":`Remove ${m.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(Z))])])))],["children",w.Children.toArray(Array.from(oe))])])))],["children",w.Children.toArray(Array.from(j))])]))))}))}))})))),["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function XS(e,t,r){let n,i,o,s,a,l,c,d,f,m,h;return A2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[M2(se(new N2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[T2(se(new ct(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",p=>{r()}],["type","button"],["className","text-gray-600"],(s=[Kt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",{children:" are required to remove a user."})],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(l=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(c=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(se((d=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(f=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","remove_users_template"],(m=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(h=[T5(16,16)],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}const B4=(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),QS=g([["What file formats are accepted?","The only accepted file format is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You only need to include a single required field “Email”."],["What should I do if my CSV file contains errors?","We recommend checking for common issues, such as missing data or incorrect formatting before upload."],["How can I check the status of my import?","The removal process usually finishes within a minute for smaller files. For larger files, the task will run in the background, and you will receive a notification when it’s completed."],["What should I do if removal fails?","We’ll notify you when removal fails. You can then try removal again with the CSV."],["Is there a way to preview the data before finalising the import?","Yes, you can preview the data to confirm that everything looks correct before completing the import."]]),eE=e=>eu(QS,e[0],e[1]);function tE(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,m=e.cancel,h=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],E=w.useState(p),N=E[1],I=E[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[XS(B4,v[0],()=>{b(!1)}),eE([_[0],()=>{C(!1)}]),k2("Upload CSV"),Tr("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",B4],["download","remove_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[T5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[x2("What kind of data do I need?",()=>{b(!0)}),x2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(tu,{existingCsvFile:et(p),templateDownloadUrl:B4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new h0(10,[{Event:new it(0,[{Success:!0}]),Type:new nt}]));break}case 2:{N(void 0),f(!1),d(new h0(10,[{Event:new it(0,[{Success:!1}]),Type:new nt}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",a]),["onClick",D=>{m()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]]))),u("button",y(g([(l="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm min-w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",l]),["onClick",D=>{I==null||h(I)}],["type","button"],["disabled",I==null],(c=["Select email field",O3(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class s2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}function uu(e){switch(e.tag){case 1:return"field mapping";case 2:return"review";default:return"file upload"}}class Ct extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}}function B7(e){return e.tag===1?"requested":uu(e.fields[0])}function rE(){return[new Ct(0,[new s2(0,[void 0])]),ge()]}function nE(e,t,r,n){const i=(C,E)=>o5(g([s1(t,new h0(10,[{Event:new it(2,[{From:B7(C),To:B7(E)}]),Type:new nt}])),J8(e)]));let o,s,a,l,c,d,f,m,h,p,v,b,_;if(r.tag===1)r.fields[0].tag===1?n.tag===0&&n.fields[0].tag===1?(o=5,b=r.fields[0].fields[0],_=n.fields[0].fields[0]):o=6:n.tag===0&&n.fields[0].tag===2?(o=4,p=n.fields[0].fields[1],v=n.fields[0].fields[0]):o=6;else switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===1?(o=2,d=r.fields[0].fields[0],f=n.fields[0].fields[0]):o=6;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=3,n.fields[0].fields[0],m=n.fields[0].fields[1],h=r.fields[0].fields[0]):o=6;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(o=1,a=r.fields[0].fields[0],l=n.fields[0].fields[0][0],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=6}switch(o){case 0:{const C=new Ct(0,[new s2(1,[s,void 0])]);return[C,i(n,C)]}case 1:{const C=X(a,l)?new Ct(0,[new s2(1,[l,c])]):new Ct(0,[new s2(1,[a,void 0])]);return[C,i(n,C)]}case 2:{const C=new Ct(0,[new s2(2,[f,d])]);return[C,i(n,C)]}case 3:{const C=new Ct(1,[h,m]);return[C,i(n,C)]}case 4:{const C=new Ct(0,[new s2(1,[v,p])]);return[C,i(n,C)]}case 5:{const C=new Ct(0,[new s2(0,[[_,b]])]);return[C,i(n,C)]}default:return[n,ge()]}}const iE=3e4;function oE(e,t,r,n){const i=n.fields[0],o=()=>B.Delay(()=>B.Bind(Zn(iE),()=>B.Bind(t(r),s=>{const a=s;return a.tag!==1&&(a.fields[0].tag!==1||(a.fields[0].fields[0].SucceededRowCount===0?(e(new Z1(new K1(1,[]),"No users removed","There were no eligible users to remove.")),!1):(e(new Z1(new K1(0,[]),a.fields[0].fields[0].SucceededRowCount===1?"Removed 1 user":`Removed ${a.fields[0].fields[0].SucceededRowCount} users`,"Refresh the page to see the changes.")),!1)))?B.Bind(o(),()=>B.Return(void 0)):B.Zero()})));e(new Z1(new K1(2,[]),i.length===1?"Removing 1 user":`Removing ${i.length} users`,"This might take a couple minutes.")),Wt(o())}function U7(){l5(g(["workspace","app","users"]))}function sE(e){l5(g(["workspace","app","oops"]))}function aE(e,t,r){return B.Delay(()=>B.TryWith(B.Delay(()=>B.Bind(e(new H8(new L8,g(Gn((n,i)=>new U8(n+2,new B8(we(r.fields[0],i.fields[0]))),t.fields[0])))),n=>B.Return(P1(i=>i.BatchOpId,n)))),n=>B.Return(new R(1,[e0(n)]))))}class z1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}}class U4 extends ue{constructor(t,r,n){super(),this.UploadingCsv=t,this.MappingEmailColumn=r,this.Reviewing=n}}function lE(e){switch(e.tag){case 1:return new U4(new z1(0,[]),new z1(1,[]),new z1(2,[]));case 2:return new U4(new z1(0,[]),new z1(0,[]),new z1(1,[]));default:return new U4(new z1(1,[]),new z1(2,[]),new z1(2,[]))}}function uE(e,t,r,n,i){switch(i.tag){case 1:return u(WS,{existingEmailColumnIndex:et(i.fields[1]),headerRow:i.fields[0].HeaderRow,next:o=>{t(new Yr(0,[new P4(1,[o])]))},back:o=>{t(new Yr(1,[new P7(1,[o])]))}});case 2:return u(JS,{dataRows:i.fields[0].DataRows,emailColumnIndex:i.fields[1],next:o=>{t(new Yr(0,[new P4(2,[o])]))},back:()=>{t(new Yr(1,[new P7(0,[])]))},sendAnalytics:n});default:{const o=i0(s=>s[0],i.fields[0]);return u(tE,{existingCsvFile:et(o),next:s=>{t(new Yr(0,[new P4(0,[s])]))},cancel:e,setIsDirty:r,sendAnalytics:n})}}}function H4(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[Nr(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function cE(){window.scrollTo(0,0)}function dE(e){let t,r,n,i,o,s,a,l;const c=(t=Xi(),t);l=I=>no(e.backendUrl,c,I),a=I=>{Wt(l(I))},s=w.useCallback(a,[]),lr(()=>{s(new h0(0,[{Section:"user archive"}]))});const d=wt(()=>gt(rE,(I,D)=>nE(()=>{cE()},s,I,D),(I,D)=>{}),void 0,void 0),f=d[0],m=w.useState(!1),h=m[0],p=m[1],v=w.useState(!1),b=v[0],_=w.useCallback(I=>{I.preventDefault(),I.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};io(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let E;if(f.tag===0){const I=f.fields[0],D=()=>{h||p(!0)},P=lE(I),A=uE(D,d[1],v[1],s,I);E=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Do(h,()=>{h&&p(!1)},()=>{h&&(s(new h0(10,[{Event:new it(1,[{From:uu(I)}]),Type:new nt}])),C(),U7())},"Cancel removal","Continue removal","Cancel removal and exit",g([u("p",{children:["You’re about to cancel your removal. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Remove users via CSV"}),u("button",y(g([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",i]),["onClick",x=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[H4("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),H4("2. Select email field",P.MappingEmailColumn),u("hr",{className:"w-16 pt-1.5"}),H4("3. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),A],["children",w.Children.toArray(Array.from(r))])])))}else{const I=f.fields[0];E=u(nu,{startAsync:()=>aE(D=>Vm(e.backendUrl,D),I,f.fields[1]),onStarted:D=>{s(new h0(10,[{Event:new it(5,[{BatchOpId:D}]),Type:new nt}])),C();const P=[D,I];oE(A=>{iu(A)},A=>jm(e.backendUrl,A),P[0],P[1]),U7()},onError:D=>{s(new h0(10,[{Event:new it(6,[{Reason:D}]),Type:new nt}])),C(),sE()}})}const N=[u("style",{children:[Vn]}),E];return u(Ke,{},...N)}function fE(){Ln(e=>u(dE,e),"apollo-import-workspace-remove-users-wizard")}Ln(e=>u(hd,e),"apollo-import-workspace-app");ry();BS();fE();
|
|
79
|
+
If errors are detected during import, you can download a CSV file that lists all the rows with issues.`]]),xS=e=>Q9(CS,e[0],e[1]);function SS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,m=e.cancel,h=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],k=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[Z9(D4,v[0],()=>{b(!1)}),xS([_[0],()=>{C(!1)}]),T2("Upload CSV"),Ar("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",D4],["download","import_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[A5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row py-3 gap-2"],(o=[b2("What kind of data do I need?",()=>{b(!0)}),b2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),S5("This importer only adds new users. It won't modify any existing user details."),u(eu,{existingCsvFile:X1(p),templateDownloadUrl:D4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new d0(1,[{Success:!0}]));break}case 2:{N(void 0),f(!1),d(new d0(1,[{Success:!1}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",a]),["onClick",D=>{m()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]]))),u("button",y(g([(l="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm min-w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",l]),["onClick",D=>{k==null||h(k)}],["type","button"],["disabled",k==null],(c=["Map fields",I3(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}let B0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingColumns","MappingEmploymentBasis","Reviewing"]}};function tu(e){switch(e.tag){case 1:return"field mapping";case 2:return"value mapping";case 3:return"review";default:return"file upload"}}let O0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}};function O7(e){return e.tag===1?"requested":tu(e.fields[0])}function ES(){return[new O0(0,[new B0(0,[void 0])]),we()]}function AS(e,t,r,n){const i=(V,J)=>i5(g([t1(t,new d0(3,[{From:O7(V),To:O7(J)}])),K8(e)]));let o,s,a,l,c,d,f,m,h,p,v,b,_,C,A,N,k,D,P,T,S,I,M,L,O,j,le,K,X,B,Y,W,Q,G,F,ue,ce,xe,Me,ie;if(r.tag===1)switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===2?(o=14,X=n.fields[0].fields[0][1],B=n.fields[0].fields[0][0],Y=n.fields[0].fields[0][2],W=r.fields[0].fields[0]):o=15;break}case 2:{r.fields[0].fields[0].tag===0?n.tag===0&&n.fields[0].tag===1?(o=18,Me=n.fields[0].fields[0][0],ie=r.fields[0].fields[0].fields[0]):o=19:r.fields[0].fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=17,F=r.fields[0].fields[0].fields[0],ue=n.fields[0].fields[0][0],ce=r.fields[0].fields[0].fields[1],xe=n.fields[0].fields[0][1]):o=19:n.tag===0&&n.fields[0].tag===1?(o=16,Q=r.fields[0].fields[0].fields[0],G=n.fields[0].fields[0][0]):o=19;break}default:n.tag===0&&n.fields[0].tag===3?n.fields[0].fields[0][2]!=null?n.fields[0].fields[0][2][1]!=null?(o=12,O=n.fields[0].fields[0][1],j=n.fields[0].fields[0][0],le=n.fields[0].fields[0][2][0],K=n.fields[0].fields[0][2][1]):(o=11,I=n.fields[0].fields[0][1],M=n.fields[0].fields[0][0],L=n.fields[0].fields[0][2][0]):(o=10,T=n.fields[0].fields[0][1],S=n.fields[0].fields[0][0]):o=13}else switch(r.fields[0].tag){case 1:{r.fields[0].fields[1]!=null?n.tag===0&&n.fields[0].tag===1?(o=4,m=r.fields[0].fields[0],h=n.fields[0].fields[0][0],p=r.fields[0].fields[1],v=n.fields[0].fields[0][1]):o=5:n.tag===0&&n.fields[0].tag===1?(o=3,d=r.fields[0].fields[0],f=n.fields[0].fields[0][0]):o=5;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=6,b=n.fields[0].fields[0][1],_=n.fields[0].fields[0][0],C=n.fields[0].fields[0][2],A=r.fields[0].fields[0]):o=7;break}case 3:{n.tag===0&&n.fields[0].tag===3?(o=8,n.fields[0].fields[0][0],N=n.fields[0].fields[0][1],k=n.fields[0].fields[0][2],D=r.fields[0].fields[1],P=r.fields[0].fields[0]):o=9;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(o=1,a=r.fields[0].fields[0],l=n.fields[0].fields[0][0],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=2}switch(o){case 0:{const V=new O0(0,[new B0(1,[[s,new M1(0,[void 0])]])]);return[V,i(n,V)]}case 1:{const V=ee(a,l)?new O0(0,[new B0(1,[[l,c]])]):new O0(0,[new B0(1,[[a,new M1(0,[void 0])]])]);return[V,i(n,V)]}case 2:return[n,we()];case 3:{const V=new O0(0,[new B0(3,[[f,d,void 0]])]);return[V,i(n,V)]}case 4:{const V=u5(h.DataRows,p.fields[0])?new O0(0,[new B0(2,[[h,m,p,v.tag===1&&v.fields[0].tag===1&&ee(p,v.fields[0].fields[1])?v.fields[0].fields[2]:void 0]])]):new O0(0,[new B0(3,[[h,m,[p,void 0]]])]);return[V,i(n,V)]}case 5:return[n,we()];case 6:{const V=new O0(0,[new B0(3,[[_,b,[C,A]]])]);return[V,i(n,V)]}case 7:return[n,we()];case 8:{const V=new O0(1,[[P,N,k,D]]);return[V,i(n,V)]}case 9:return[n,we()];case 10:{const V=new O0(0,[new B0(1,[[S,new M1(1,[new Qt(0,[T])])]])]);return[V,i(n,V)]}case 11:{const V=new O0(0,[new B0(1,[[M,new M1(1,[new Qt(1,[I,L,void 0])])]])]);return[V,i(n,V)]}case 12:{const V=new O0(0,[new B0(2,[[j,O,le,K]])]);return[V,i(n,V)]}case 13:return[n,we()];case 14:{const V=new O0(0,[new B0(1,[[B,new M1(1,[new Qt(1,[X,Y,W])])]])]);return[V,i(n,V)]}case 15:return[n,we()];case 16:{const V=new O0(0,[new B0(0,[[G,new M1(1,[new Qt(0,[Q])])]])]);return[V,i(n,V)]}case 17:{const V=new O0(0,[new B0(0,[[ue,xe.tag===1?xe.fields[0].tag===1?ee(F,xe.fields[0].fields[0])&&ee(ce,xe.fields[0].fields[1])?xe:new M1(1,[new Qt(1,[F,ce,void 0])]):new M1(1,[new Qt(1,[F,ce,void 0])]):new M1(1,[new Qt(1,[F,ce,void 0])])]])]);return[V,i(n,V)]}case 18:{const V=new O0(0,[new B0(0,[[Me,new M1(0,[ie])]])]);return[V,i(n,V)]}default:return[n,we()]}}function TS(e){return`${e}/workspace/workspace/v1.0`}function NS(e,t){return H.Delay(()=>{let r;const n=ft(dt(new B1(0,[]),ct(TS(e)+"/users")));return r=H.Bind(n,i=>H.Return(new R(0,[i]))),H.Bind(r,i=>{const o=i;if(o.tag===1)return H.Return(new R(1,[o.fields[0]]));{const s=o.fields[0],a=s.statusCode===200?Wt(je(qt(d1(k0(["Email",Ye])),new z0(1,[]))),s.responseText):new R(1,["Failed to get account users"]);return H.Return(a)}})})}function Ro(e,t,r,n,i,o,s){let a,l,c,d,f,m,h,p,v,b;return x2(g([new g0(3,[e]),new g0(4,[t]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed inset-0 z-10 w-screen overflow-y-auto"],(a=[u("div",y(g([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(l=[S2(g([new lt(1,["relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"]),new lt(2,[[u("div",y(g([["className","absolute top-0 right-0 hidden pt-4 pr-4 sm:block"],(c=[u("button",y(g([["type","button"],["onClick",_=>{t()}],["className","text-gray-600"],(d=[Zt(24,24)],["children",w.Children.toArray(Array.from(d))])])))],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(g([["className","sm:flex sm:items-start"],(f=[u("div",y(g([["className","mx-auto flex size-12 shrink-0 items-center justify-center sm:mx-0 sm:size-10"],(m=[px([])],["children",w.Children.toArray(Array.from(m))])]))),u("div",y(g([["className","mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"],(h=[F9(g([new On(2,["text-gray-900 text-lg font-bold"]),new On(3,[[n]])])),u("div",{className:"mt-2 text-sm text-gray-500 leading-tight",children:w.Children.toArray(Array.from(s))})],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(f))])]))),u("div",y(g([["className","mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"],(p=[u("button",y(g([["type","button"],["onClick",_=>{r()}],(v="inline-flex w-full justify-center rounded-md bg-red-600 px-3 py-2 text-sm font-medium text-white shadow-xs hover:bg-red-500 sm:ml-3 sm:w-auto",["className",v]),["children",o]]))),u("button",y(g([["type","button"],["onClick",_=>{t()}],(b="mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-gray-700 text-sm font-medium ring-1 shadow-xs ring-gray-300 ring-inset hover:bg-gray-50 sm:mt-0 sm:w-auto",["className",b]),["children",i]])))],["children",w.Children.toArray(Array.from(p))])])))]])]))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(a))])])))]])]))}function ru(e){let t,r,n,i,o,s,a;const l=e.onError,c=e.onStarted,d=e.startAsync;return ar((t=[d,f=>{let m,h,p,v;switch(f.tag){case 1:case 0:{m=3;break}case 3:{m=2,v=f.fields[0];break}default:f.fields[0].tag===1?(m=1,p=f.fields[0].fields[0]):(m=0,h=f.fields[0].fields[0])}switch(m){case 0:{c(h);break}case 1:{l(p);break}case 2:{l(Qe(v));break}}}],Y8(t[0],t[1]))),u("div",y(g([["className","fixed inset-0 z-100 w-screen overflow-y-auto bg-white"],(r=[u("div",y(g([["className","flex-col w-full h-full justify-center items-center gap-2.5 inline-flex overflow-hidden"],(n=[u("div",y(g([["className","self-stretch h-[118px] flex-col justify-center items-center gap-8 flex"],(i=[u("div",y(g([["className","relative"],(o=[wx([])],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","flex-col justify-start items-center gap-6 flex"],(s=[u("div",y(g([["className","w-[140px] h-1.5 relative bg-blue-100 rounded-[5px] overflow-hidden"],(a=[u("div",{style:{animation:"progressBar 2s linear infinite"},className:"h-1.5 top-0 absolute bg-gradient-to-r from-[#a650ff] to-[#0095f2] rounded-[5px]"})],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))}class k1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Key","As","Appear","Show","ClassName","Enter","EnterFrom","EnterTo","Leave","LeaveFrom","LeaveTo","Children"]}}function MS(e){return u(I9,mt(e,1))}class z1 extends de{constructor(t,r,n){super(),this.Type=t,this.Title=r,this.Message=n}}class Y1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Success","Failure","InProgress"]}}function kS(e,t){let r,n,i,o,s,a,l,c;return MS(g([new k1(1,["div"]),new k1(4,["pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5"]),new k1(3,[!0]),new k1(5,["transform ease-out duration-300 transition"]),new k1(6,["translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"]),new k1(7,["translate-y-0 opacity-100 sm:translate-x-0"]),new k1(8,["transition ease-in duration-100"]),new k1(9,["opacity-100"]),new k1(10,["opacity-0"]),new k1(11,[[u("div",y(g([["key","1"],(r=[u("div",y(g([["className","p-4"],(n=[u("div",y(g([["className","flex items-start"],(i=[u("div",y(g([["className","flex-shrink-0"],(o=q(E(()=>{const d=t.Type;return d.tag===1?x(vx([])):d.tag===2?x(bx([])):x(yx([]))})),["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","ml-3 w-0 flex-1 pt-0.5"],(s=[u("p",{className:"text-sm font-medium text-gray-900",children:t.Title}),u("p",{className:"mt-1 text-sm text-gray-500",children:t.Message})],["children",w.Children.toArray(Array.from(s))])]))),u("div",y(g([["className","ml-4 flex flex-shrink-0"],(a=[u("button",y(g([["type","button"],(l="inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",["className",l]),["onClick",d=>{e()}],(c=[xn(10,10)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(a))])])))],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))]])]))}function nu(e){const t=document.getElementById("workspace-toasts-container"),r=Ki(),n=kS(()=>{document.getElementById(r).remove()},e),i=document.createElement("div");Ii(n,i);const o=i.children[0];o.id=r,t.appendChild(o)}const IS=3e4;function RS(e,t,r,n,i){const o=n.fields[0],s=()=>H.Delay(()=>H.Bind(Yn(IS),()=>H.Bind(t(r),a=>{let l,c,d,f;const m=a;return m.tag!==1&&(m.fields[0].tag!==1||(m.fields[0].fields[0].tag===1?(e(new z1(new Y1(1,[]),"We found a duplicate user",`"${ge(i.fields[0],ge(m.fields[0].fields[0].fields[0]-2,o).fields[0])}" already exists in our system. This user was skipped during the import.`)),!1):m.fields[0].fields[0].tag===2?(l=m.fields[0].fields[0].fields[0].DuplicateEmailCount>0,c=m.fields[0].fields[0].fields[0].OtherFailuresCount>0,e(l?c?new z1(new Y1(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d)):new z1(new Y1(1,[]),`We found ${m.fields[0].fields[0].fields[0].DuplicateEmailCount} duplicate users`,(f="One or more of the users you’re trying to add already exist in our system. These users were skipped during the import.",f)):new z1(new Y1(1,[]),"We found multiple import errors",(d="One or more of the rows experienced errors during import. These rows were skipped during the import.",d))),!1):(e(new z1(new Y1(0,[]),m.fields[0].fields[0].fields[0]===1?"Successfully added 1 user":`Successfully added ${m.fields[0].fields[0].fields[0]} users`,"If you don’t see any new users, try refreshing this page.")),!1)))?H.Bind(s(),()=>H.Return(void 0)):H.Zero()})));e(new z1(new Y1(2,[]),o.length===1?"Importing 1 user":`Importing ${o.length} users`,"This might take a while. We’ll let you know via email when it’s finished.")),jt(s())}let R0=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}},G3=class extends de{constructor(t,r,n,i){super(),this.UploadingCsv=t,this.MappingColumns=r,this.MappingEmploymentBasis=n,this.Reviewing=i}};function D7(){a5(g(["workspace","app","users"]))}function iu(e){a5(g(["workspace","app","oops"]))}function OS(e){switch(e.tag){case 1:return new G3(new R0(0,[]),new R0(1,[]),new R0(2,[]),new R0(2,[]));case 2:return new G3(new R0(0,[]),new R0(0,[]),new R0(1,[]),new R0(2,[]));case 3:return new G3(new R0(0,[]),new R0(0,[]),new R0(0,[]),new R0(1,[]));default:return new G3(new R0(1,[]),new R0(2,[]),new R0(2,[]),new R0(2,[]))}}function DS(e,t,r,n,i,o,s){switch(s.tag){case 1:{const a=s.fields[0],l=a[1].tag===1?a[1].fields[0].tag===1?[hs(a[1].fields[0].fields[0],a[1].fields[0].fields[1]),a[0].HeaderRow,a[0].DataRows]:[hs(a[1].fields[0].fields[0],void 0),a[0].HeaderRow,a[0].DataRows]:[a[1].fields[0],a[0].HeaderRow,a[0].DataRows];return u(UC,{existingMappings:X1(l[0]),headerRow:l[1],dataRows:l[2],next:c=>{let d;n(new e2(0,[(d=c,new U3(1,[d[0],d[1]]))]))},back:c=>{n(new e2(1,[new J5(2,[c])]))},sendAnalytics:o})}case 2:{const a=xy(s.fields[0][0].DataRows,s.fields[0][2]);return u(JC,{existingMappings:X1(s.fields[0][3]),employmentBasisColumn:a,next:l=>{n(new e2(0,[new U3(2,[l])]))},back:l=>{n(new e2(1,[new J5(1,[l])]))}})}case 3:return u(Tx,{getCurrentAccountUsersApiCallAsync:e,validateImportApiCallAsync:t,dataRows:s.fields[0][0].DataRows,baseColumnMappings:s.fields[0][1],employmentBasis:X1(s.fields[0][2]),next:a=>{let l;n(new e2(0,[(l=a,new U3(3,[l[0],l[1]]))]))},back:()=>{n(new e2(1,[new J5(0,[])]))},onError:a=>{iu()},sendAnalytics:o});default:{const a=r0(l=>l[0],s.fields[0]);return u(SS,{existingCsvFile:X1(a),next:l=>{n(new e2(0,[new U3(0,[l])]))},cancel:r,setIsDirty:i,sendAnalytics:o})}}}function z3(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[Tr(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function $S(){window.scrollTo(0,0)}function FS(e){let t,r,n,i,o,s,a,l;const c=(t=Ki(),t);l=k=>to(e.backendUrl,c,k),a=k=>{jt(l(k))},s=w.useCallback(a,[]),ar(()=>{s(new d0(0,[{Section:"user import"}]))});const d=pt(()=>ht(ES,(k,D)=>AS(()=>{$S()},s,k,D),(k,D)=>{}),void 0,void 0),f=d[0],m=w.useState(!1),h=m[0],p=m[1],v=w.useState(!1),b=v[0],_=w.useCallback(k=>{k.preventDefault(),k.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};ro(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const k=f.fields[0],D=()=>{h||p(!0)},P=OS(k),T=DS(()=>NS(e.backendUrl),S=>Ph(e.backendUrl,S),D,d[1],v[1],s,k);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Ro(h,()=>{h&&p(!1)},()=>{h&&(s(new d0(2,[{From:tu(k)}])),C(),D7())},"Cancel import","Continue import","Cancel import and exit",g([u("p",{children:["You’re about to cancel your import. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),u("button",y(g([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel import"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[z3("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),z3("2. Map fields",P.MappingColumns),u("hr",{className:"w-16 pt-1.5"}),z3("3. Map values",P.MappingEmploymentBasis),u("hr",{className:"w-16 pt-1.5"}),z3("4. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),T],["children",w.Children.toArray(Array.from(r))])])))}else{const k=f.fields[0][3],D=f.fields[0][0],P=f.fields[0][1];A=u(ru,{startAsync:()=>ex(T=>Lh(e.backendUrl,T),D,P,f.fields[0][2],k),onStarted:T=>{s(new d0(8,[{ImportId:T,UsersInvited:k.tag!==1}])),C();const S=[T,D,P.Email];RS(I=>{nu(I)},I=>Bh(e.backendUrl,I),S[0],S[1],S[2]),D7()},onError:T=>{s(new d0(9,[{Reason:T}])),C(),iu()}})}const N=[u("style",{children:[Vn]}),A];return u(Ze,{},...N)}function PS(){Pn(e=>u(FS,e),"apollo-import-workspace-wizard")}let LS=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Set","Clear"]}},Dn=class extends de{constructor(t,r){super(),this.ColumnIndex=t,this.IsPrefilled=r}};function BS(e){const t=["email","emailaddress","mail"];return r0(r=>r[0],Ut(r=>R1(m3(r[1].fields[0],"[^a-zA-Z]","").toLocaleLowerCase(),t,{Equals:(n,i)=>n===i,GetHashCode:n1}),e))}function HS(e,t){if(t==null){const r=BS(e);return[new Dn(r,r!=null),we()]}else return[new Dn(t,!1),we()]}function VS(e,t){return e.tag===1?[new Dn(void 0,!1),we()]:[new Dn(e.fields[0],!1),we()]}function $7(e,t){return Hi(Wn(r=>r0(n=>n[1].fields[0],Ut(n=>ee(n[0],r),e)),t))}function US(e){let t;const r=e.back,n=e.next,i=e.headerRow,o=e.existingEmailColumnIndex;let s;const a=HS(i,o);s=pt(()=>ht(()=>a,VS,(f,m)=>{}),void 0,void 0);const l=s[0],c=w.useState(!1),d=c[0];return u("div",y(g([["className","max-w-[640px] mx-12 mt-8 inline-flex flex-col justify-start items-start gap-6"],(t=q(E(()=>$(x(T2("Select email field")),E(()=>$(x(u("span",{className:"text-sm font-normal",children:"Select the column that contains the email addresses of users you want to remove."})),E(()=>$(l.IsPrefilled?x(S5("We’ve automatically pre-filled the email column based on a match found in your CSV. Please double-check to make sure this is correct before continuing.")):x(Ae()),E(()=>{let f,m,h;return $(x(u("div",y(g([["className","inline-flex flex-col justify-start items-start gap-2"],(f=[u("label",{className:"text-sm font-medium",children:"Email column"}),u("div",y(g([["className","w-[280px] h-[38px] justify-start items-center gap-2 flex"],(m=[Ao(g([new it(0,[$7(i,l.ColumnIndex)]),new it(1,[p=>{H1(v=>{s[1](new LS(0,[v[0]]))},Vt(Ut(v=>v[1].fields[0]===p,i)))}]),new it(2,[[u("div",y(g([q0,["className","relative w-full"],(h=[To(q(E(()=>$(x(new dr(0,[`${d&&l.ColumnIndex==null?"outline-red-300":"outline-gray-300"} grid w-full grid-cols-1 rounded-md bg-white hover:bg-gray-50 py-1.5 pl-3 pr-2 text-left text-gray-900 text-sm outline outline-1 -outline-offset-1 focus:outline focus:outline-2 focus:outline-blue-600 focus:-outline-offset-2`])),E(()=>{let p;return x(new dr(1,[[u("span",y(q(E(()=>{const v=l.ColumnIndex!=null?[$7(i,l.ColumnIndex),""]:d?["Select email column","text-red-900"]:["Select email column","text-gray-500"];return $(x(["className",`${v[1]} col-start-1 row-start-1 truncate pr-6`]),E(()=>x(["children",v[0]])))})))),u("span",y(g([["className","col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4"],(p=[Io(20,20)],["children",w.Children.toArray(Array.from(p))])])))]]))}))))),Mo(ae(new No("z-10 absolute max-h-64 w-full overflow-auto rounded-md border border-gray-300 shadow-gray-300 shadow-lg bg-white py-1 text-sm")),q(E(()=>gr(p=>{const v=p[1].fields[0];return x(ko(g([new W0(0,[l1(p[0].fields[0])]),new W0(1,[v]),new W0(3,["relative select-none"]),new W0(4,[b=>[u("span",{className:"px-4 py-2 block truncate "+(b.active?"bg-primary-600 text-white":"text-gray-700"),children:v})]])])))},i))))],["children",w.Children.toArray(Array.from(h))])])))]])]))],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(f))])])))),E(()=>{let p,v,b,_,C;return x(u("div",y(g([["className","w-full flex flex-row justify-end gap-3"],(p=[u("button",y(g([(v="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",v]),["onClick",A=>{r(l.ColumnIndex)}],["type","button"],(b=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(b))])]))),u("button",y(g([(_="pl-[13px] pr-[11px] py-[9px] bg-primary-600 hover:enabled:bg-primary-700 disabled:opacity-50 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",_]),["onClick",A=>{const N=l.ColumnIndex;N==null?c[1](!0):n(N)}],["type","button"],["disabled",d&&l.ColumnIndex==null],(C=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:"Review"}),I3(13,8)],["children",w.Children.toArray(Array.from(C))])])))],["children",w.Children.toArray(Array.from(p))])]))))}))})))))))),["children",w.Children.toArray(Array.from(t))])])))}let Gr=class extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Next","Back"]}};class $4 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}class F7 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Reviewing","MappingEmailColumn"]}}class Y3 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["ShowOnlyRowsWithErrors","PreviewNextPage","PreviewPreviousPage","DownloadedErrorReport"]}}class Qr extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["EmptyEmail","InvalidEmail","DuplicateEmail"]}}function ou(e){switch(e.tag){case 1:return"Invalid email";case 2:return"Duplicate email";default:return"No email"}}let rn=class extends de{constructor(t,r,n,i,o,s,a,l,c,d,f,m){super(),this.Data=t,this.DuplicateEmailCount=r|0,this.NumberOfRowsWithErrorsOtherThanDuplicateEmail=n|0,this.NumberOfInvalidRows=i|0,this.NumberOfRows=o|0,this.NumberOfValidRows=s|0,this.ShowingOnlyRowsWithErrors=a,this.HasErrors=l,this.RowFrom=c|0,this.RowTo=d|0,this.Page=f,this.PageNo=m|0}};class jS extends de{constructor(t,r,n){super(),this.RowNumber=t|0,this.Email=r,this.Error=n}}function It(e){return e.Error!=null}const P7=/^[^@\s]+@[^@\s]+\.[^@\s]+$/gu;function F4(e){return Ht(e)}function WS(e,t){const r=Ke(o=>ge(t.fields[0],o.fields[0]).toLocaleLowerCase().trim(),e.fields[0]),n=m1(Rt(o=>F4(o)?!1:!l6(P7,o),r)),i=m1(Oe(o=>o[0],Rt(o=>o[1]>1,fy(o=>o,Rt(o=>F4(o)?!1:l6(P7,o),r),{Equals:(o,s)=>o===s,GetHashCode:n1}))));return g(qn((o,s)=>{const a=F4(s);return new jS(o+1,a?void 0:s,a?new Qr(0,[]):R1(s,n,{Equals:(l,c)=>l===c,GetHashCode:n1})?new Qr(1,[]):R1(s,i,{Equals:(l,c)=>l===c,GetHashCode:n1})?new Qr(2,[]):void 0)},r))}function nn(e,t,r){const n=(e-1)*20|0,i=Ya(n,e*20-1,r?T0(It,t):t);if(Te(i))return[0,0,$e()];{const o=i;return[n+1,n+o0(o),o]}}function su(e){return e.ShowingOnlyRowsWithErrors?e.RowTo<e.NumberOfInvalidRows:e.RowTo<e.NumberOfRows}function au(e){return e.PageNo>1}function qS(e){const t=T0(It,e.Data);return D1(ae(`Error detail,Email,Original row #
|
|
80
|
+
`),i3((r,n)=>`${Pe(r0(ou,n.Error),"")},${Pe(n.Email,"")},${n.RowNumber}${r===o0(t)-1?"":`
|
|
81
|
+
`}`,t))}function GS(e,t,r){const n=WS(e,t);let i;const o=[n,!1];i=nn(1,o[0],o[1]);const s=o0(T0(c=>!It(c),n))|0,a=o0(T0(c=>ee(c.Error,new Qr(2,[])),n))|0,l=o0(T0(It,n))|0;return[new rn(n,a,o0(T0(c=>ee(c.Error,new Qr(2,[]))?!1:c.Error!=null,n)),l,o0(n),s,!1,l>0,i[0],i[1],i[2],1),t1(r,new d0(10,[{Event:new rt(3,[{DuplicateCount:a,RowCount:o0(n),SuccessCount:s,TotalFailedCount:l}]),Type:new tt}]))]}function zS(e,t,r){let n,i;switch(t.tag){case 1:{su(r)?n=1:n=4;break}case 2:{au(r)?n=2:n=4;break}case 3:{r.HasErrors?n=3:n=4;break}default:r.HasErrors&&r.ShowingOnlyRowsWithErrors!==t.fields[0]?(n=0,i=t.fields[0]):n=4}switch(n){case 0:{let o;const s=[r.Data,i];return o=nn(1,s[0],s[1]),[new rn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,i,r.HasErrors,o[0],o[1],o[2],1),we()]}case 1:{const o=r.PageNo+1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=nn(o,a[0],a[1]),[new rn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),we()]}case 2:{const o=r.PageNo-1|0;let s;const a=[r.Data,r.ShowingOnlyRowsWithErrors];return s=nn(o,a[0],a[1]),[new rn(r.Data,r.DuplicateEmailCount,r.NumberOfRowsWithErrorsOtherThanDuplicateEmail,r.NumberOfInvalidRows,r.NumberOfRows,r.NumberOfValidRows,r.ShowingOnlyRowsWithErrors,r.HasErrors,s[0],s[1],s[2],o),we()]}case 3:return[r,t1(e,new d0(10,[{Event:new rt(4,[]),Type:new tt}]))];default:return[r,we()]}}function YS(e){const t=Ke(n=>n,ut(e)),r=new Blob(t,{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(r)}(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})();function ZS(e){let t,r,n,i;const o=e.sendAnalytics,s=e.back,a=e.next,l=e.emailColumnIndex,c=e.dataRows;let d;const f=GS(c,l,o);d=pt(()=>ht(()=>f,(N,k)=>zS(o,N,k),(N,k)=>{}),void 0,void 0);const m=d[0],h=d[1],p=w.useState(!1),v=p[0],b=p[1],_=N=>{h(new Y3(0,[N]))},C=su(m)?N=>{h(new Y3(1,[]))}:void 0,A=au(m)?N=>{h(new Y3(2,[]))}:void 0;return u("div",y(g([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12 h-full"],(t=[T2("Review"),Ar("Preview and confirm the users to remove."),u("div",y(g([["className","justify-start items-start inline-flex"],(r=[u("div",y(g([["className","pt-6 flex-col justify-start items-start inline-flex min-w-[640px]"],(n=[u("div",y(g([["className","flex-col justify-start items-start gap-6 inline-flex w-full"],(i=q(E(()=>$(x(Ro(v,()=>{b(!1)},()=>{v&&a(new l5(m1(Oe(N=>N[0],Rt(N=>!It(N[1]),r8(c.fields[0],m.Data))))))},`Permanently remove ${m.NumberOfValidRows} user${m.NumberOfValidRows>1?"s":""}`,"Cancel",`Remove user${m.NumberOfValidRows>1?"s":""}`,g([u("p",{children:[m.NumberOfValidRows===1?"This will immediately remove them and revoke their revoke workplace benefits access.":`This will immediately remove ${m.NumberOfValidRows} users and revoke workplace benefits access.`]}),u("br",{}),u("p",{className:"font-semibold",children:"This action cannot be undone."})]))),E(()=>{let N,k,D,P,T,S,I,M,L;return $(m.HasErrors?x(u("div",y(g([["className","p-4 bg-amber-50 rounded-md justify-start items-start gap-3 inline-flex"],(N=[K9(20,20),u("div",y(g([["className","flex-col justify-start items-start gap-2 inline-flex"],(k=[u("div",y(g([["className","self-stretch text-amber-800 text-sm font-medium leading-tight"],(D=[u("span",{children:[m.NumberOfInvalidRows>1?`We found some issues across ${m.NumberOfInvalidRows} rows in your CSV:`:"We have found an issue in your CSV:"]})],["children",w.Children.toArray(Array.from(D))])]))),u("ul",y(g([["className","pl-2 font-normal overflow-hidden list-inside list-disc text-amber-700 text-sm"],(P=q(E(()=>{let O;return $(m.DuplicateEmailCount>0?x((O=g([u("span",{className:"font-medium",children:`${m.DuplicateEmailCount} rows `}),u("span",{children:["have "]}),u("span",{className:"font-medium",children:"duplicate email addresses"})]),u("li",{children:w.Children.toArray(Array.from(O))}))):_e(),E(()=>{let j;return m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>0?x((j=g([u("span",{className:"font-medium",children:m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?`${m.NumberOfRowsWithErrorsOtherThanDuplicateEmail} rows `:"1 row "}),u("span",{children:[m.NumberOfRowsWithErrorsOtherThanDuplicateEmail>1?"have ":"has "]}),u("span",{className:"font-medium",children:"a missing or incorrectly formatted email address"})]),u("li",{children:w.Children.toArray(Array.from(j))}))):_e()}))})),["children",w.Children.toArray(Array.from(P))])]))),u("div",y(g([["className","px-2 py-1.5"],(T=[u("div",y(g([["className","text-amber-700 text-sm leading-tight"],(S=[u("span",{children:[(I=m.NumberOfValidRows===0,M=m.NumberOfInvalidRows|0,I?M===1?"To remove this row later, download the error report with the 1 row, fix the issue(s), and re-upload it.":`To remove these rows later, download the error report with the ${m.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`:M===1?"You can continue the removal without this row—we’ll automatically skip it. You can also download the error report with the 1 row, fix the issue(s), and re-upload it.":`You can continue the removal without these ${m.NumberOfInvalidRows} rows—we’ll automatically skip them. You can also download the error report with the ${m.NumberOfInvalidRows} rows, fix the issues, and re-upload them.`)]})],["children",w.Children.toArray(Array.from(S))])]))),u("div",y(g([["className","hover:bg-amber-100 rounded-md inline-flex justify-center items-center"],(L=[u("a",{className:"py-1.5 text-amber-800 text-sm font-medium underline",children:"Download error report (.csv)",href:YS(qS(m)),onClick:O=>{h(new Y3(3,[]))},download:"remove_users_error_rows"})],["children",w.Children.toArray(Array.from(L))])])))],["children",w.Children.toArray(Array.from(T))])])))],["children",w.Children.toArray(Array.from(k))])])))],["children",w.Children.toArray(Array.from(N))])])))):_e(),E(()=>{let O;return $(x(u("div",y(g([["className","w-full flex-col justify-start items-end gap-4 inline-flex"],(O=q(E(()=>{let j,le,K,X;return $((j=m.NumberOfValidRows===0,m.HasErrors?j?_e():x(u("div",y(g([["className","justify-start items-center gap-2 inline-flex py-3 -my-3 cursor-pointer"],["onClick",B=>{_(!m.ShowingOnlyRowsWithErrors)}],(le=[u("input",y(g([["type","checkbox"],["checked",m.ShowingOnlyRowsWithErrors],(K="rounded-sm border border-gray-300 bg-white checked:border-primary-600 checked:bg-primary-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",["className",K]),["onKeyPress",B=>{B.preventDefault(),B.key==="Enter"&&_(!m.ShowingOnlyRowsWithErrors)}]]))),u("span",{className:"text-gray-900 text-sm font-normal leading-tight",children:"Show only rows with errors"})],["children",w.Children.toArray(Array.from(le))])])))):j?_e():x(u("div",y(g([["className","text-sm font-medium text-emerald-700 gap-2 inline-flex text-nowrap"],(X=[Tr(20,20),u("span",{children:"No errors"})],["children",w.Children.toArray(Array.from(X))])]))))),E(()=>{let B,Y,W,Q,G,F,ue,ce,xe,Me,ie;return x(u("div",y(g([["className","w-full px-4 pt-4 pb-2 bg-white rounded-lg border border-gray-200 flex-col"],(B=[(Y=g([u("div",y(g([["className","w-full max-h-[470px] overflow-auto"],(W=[u("table",y(g([["className","w-full divide-y divide-gray-300"],(Q=[u("thead",y(g([["className","bg-gray-100 border-b border-gray-200 text-sm text-gray-900 text-sm font-medium leading-tight"],(G=[(F=q(E(()=>$(x(u("th",{scope:"col",className:"px-3 py-2.5 text-left",children:"#"})),E(()=>$(m.HasErrors?x(u("th",{scope:"col",className:"px-3 py-2.5 text-left text-nowrap",children:"Error detail"})):_e(),E(()=>{let V;return x(u("th",y(g([["scope","col"],["className","px-3 py-2.5 text-left text-nowrap"],(V=[u("span",{children:["Email "]}),u("span",{className:"text-red-500",children:"*"})],["children",w.Children.toArray(Array.from(V))])]))))})))))),u("tr",{children:w.Children.toArray(Array.from(F))}))],["children",w.Children.toArray(Array.from(G))])]))),u("tbody",y(g([["className","divide-y divide-gray-200"],(ue=q(E(()=>Oe(V=>u("tr",y(q(E(()=>$(x(["key",V.RowNumber]),E(()=>$(It(V)?x(["className","bg-amber-50"]):x(["className","bg-white"]),E(()=>{let J;return x((J=q(E(()=>$(x(u("td",{className:"whitespace-nowrap px-3 py-2.5 text-sm text-gray-500",children:V.RowNumber})),E(()=>$(m.HasErrors?x(u("td",y(q(E(()=>$(x(["className","whitespace-nowrap px-3 py-2.5"]),E(()=>{let he,re,ne;return It(V)?x((he=[u("div",y(g([(re="text-center text-amber-800 text-xs font-medium h-5 pl-2.5 pr-1.5 bg-amber-100 rounded justify-center items-center inline-flex",["className",re]),(ne=[u("span",{children:[Pe(r0(ou,V.Error),"")]})],["children",w.Children.toArray(Array.from(ne))])])))],["children",w.Children.toArray(Array.from(he))])):_e()}))))))):_e(),E(()=>x(u("td",y(q(E(()=>{const he=V.Email;if(he==null)return _e();{const re=he;return $(x(q0),E(()=>$(x(["className",l0(" ",q(E(()=>$(x("whitespace-nowrap px-3 py-2.5 text-sm"),E(()=>It(V)?x("font-medium text-amber-700"):x("text-gray-500"))))))]),E(()=>x(["children",re])))))}}))))))))))),["children",w.Children.toArray(Array.from(J))]))})))))))),m.Page))),["children",w.Children.toArray(Array.from(ue))])])))],["children",w.Children.toArray(Array.from(Q))])])))],["children",w.Children.toArray(Array.from(W))])]))),u("div",y(g([["className","h-[63px] w-full flex-col justify-start items-start inline-flex"],(ce=[u("div",y(g([["className","self-stretch py-2.5 justify-between items-center inline-flex"],(xe=[(Me=g([u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"Showing "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.RowFrom}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.RowTo}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:m.ShowingOnlyRowsWithErrors?m.NumberOfInvalidRows:m.NumberOfRows}),u("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),u("div",{children:w.Children.toArray(Array.from(Me))})),u("div",y(g([["className","justify-start items-start gap-3 flex"],(ie=[u("button",y(q(E(()=>{let V;return $((V=A,V==null?x(["disabled",!0]):x(["onClick",V])),E(()=>{let J;return $(x((J="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",J])),E(()=>{let he;return x((he=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Previous"})],["children",w.Children.toArray(Array.from(he))]))}))}))})))),u("button",y(q(E(()=>{let V;return $((V=C,V==null?x(["disabled",!0]):x(["onClick",V])),E(()=>{let J;return $(x((J="px-[17px] py-[9px] disabled:opacity-50 bg-white hover:enabled:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",J])),E(()=>{let he;return x((he=[u("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:"Next"})],["children",w.Children.toArray(Array.from(he))]))}))}))}))))],["children",w.Children.toArray(Array.from(ie))])])))],["children",w.Children.toArray(Array.from(xe))])])))],["children",w.Children.toArray(Array.from(ce))])])))]),u("div",{children:w.Children.toArray(Array.from(Y))}))],["children",w.Children.toArray(Array.from(B))])]))))}))})),["children",w.Children.toArray(Array.from(O))])])))),E(()=>{let j,le,K,X,B,Y,W,Q;return x(u("div",y(g([["className","justify-start items-end gap-2 inline-flex w-full pb-2"],(j=[u("div",y(g([["className","grow shrink basis-0 h-[34px] justify-start items-center gap-2 flex"],(le=[u("div",{className:"grow shrink basis-0 h-4 pr-2 justify-center items-center gap-2.5 flex"}),u("div",y(g([["className","justify-start items-center gap-2 flex"],(K=[u("button",y(g([(X="px-[13px] py-[9px] bg-white hover:bg-gray-50 rounded-md shadow-sm border border-gray-300 justify-center items-center flex overflow-hidden",["className",X]),["onClick",G=>{s()}],(B=[u("div",{className:"grow shrink basis-0 text-center text-gray-700 text-sm font-medium leading-none",children:"Back"})],["children",w.Children.toArray(Array.from(B))])]))),u("button",y(g([(Y="pl-[13px] pr-[11px] py-[9px] disabled:opacity-50 bg-red-600 hover:enabled:bg-red-500 rounded-md shadow-sm justify-center items-center gap-2 flex overflow-hidden",["className",Y]),["onClick",G=>{b(!0)}],["disabled",m.NumberOfValidRows===0],(W=[u("div",{className:"grow shrink basis-0 text-center text-white text-sm font-medium leading-none",children:(Q=m.NumberOfValidRows|0,Q===0?"Remove users":Q===1?"Remove 1 user":`Remove ${m.NumberOfValidRows} users`)})],["children",w.Children.toArray(Array.from(W))])])))],["children",w.Children.toArray(Array.from(K))])])))],["children",w.Children.toArray(Array.from(le))])])))],["children",w.Children.toArray(Array.from(j))])]))))}))}))})))),["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}function KS(e,t,r){let n,i,o,s,a,l,c,d,f,m,h;return x2(g([new g0(3,[t]),new g0(4,[r]),new g0(5,[[A2(ae(new E2(2,["fixed inset-0 bg-gray-500/50"]))),u("div",y(g([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[S2(ae(new lt(2,[[u("div",y(g([["className","flex flex-col mt-6 mb-6 px-6"],(i=[u("div",y(g([["className","flex flex-row justify-between"],(o=[u("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),u("button",y(g([["onClick",p=>{r()}],["type","button"],["className","text-gray-600"],(s=[Zt(24,24)],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(o))])]))),u("div",y(g([["className","text-gray-600 text-sm pt-6"],(a=[u("span",{children:"Fields marked with "}),u("span",{className:"text-red-600",children:"*"}),u("span",{children:" are required to remove a user."})],["children",w.Children.toArray(Array.from(a))])]))),u("div",y(g([["className","grid grid-cols-2 mt-3"],(l=[u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),u("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),u("div",y(g([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(c=[u("span",{children:"Email "}),u("span",{className:"text-red-600",children:"*"})],["children",w.Children.toArray(Array.from(c))])]))),u("div",y(ae((d=[u("div",y(g([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(f=[u("span",{children:"For example:"}),u("br",{}),u("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",w.Children.toArray(Array.from(f))])])))],["children",w.Children.toArray(Array.from(d))])))),u("a",y(g([["className","flex flex-row items-end gap-1 pt-3"],["href",e],["download","remove_users_template"],(m=[u("span",{className:"text-sm text-primary-600 font-medium",children:"Download template"}),u("span",y(g([["className","pb-0.5"],(h=[A5(16,16)],["children",w.Children.toArray(Array.from(h))])])))],["children",w.Children.toArray(Array.from(m))])])))],["children",w.Children.toArray(Array.from(l))])])))],["children",w.Children.toArray(Array.from(i))])])))]])))],["children",w.Children.toArray(Array.from(n))])])))]])]))}const P4=(()=>{const e=new Blob(["Email"],{type:"text/csv;charset=utf-8;"});return window.URL.createObjectURL(e)})(),JS=g([["What file formats are accepted?","The only accepted file format is CSV."],["What is the maximum upload file size?","The maximum upload file size is 10 MB."],["What is the maximum number of rows supported?","The maximum number of rows you can upload is 5,000."],["What information do I need to include in the CSV file?","You only need to include a single required field “Email”."],["What should I do if my CSV file contains errors?","We recommend checking for common issues, such as missing data or incorrect formatting before upload."],["How can I check the status of my import?","The removal process usually finishes within a minute for smaller files. For larger files, the task will run in the background, and you will receive a notification when it’s completed."],["What should I do if removal fails?","We’ll notify you when removal fails. You can then try removal again with the CSV."],["Is there a way to preview the data before finalising the import?","Yes, you can preview the data to confirm that everything looks correct before completing the import."]]),XS=e=>Q9(JS,e[0],e[1]);function QS(e){let t,r,n,i,o,s,a,l,c;const d=e.sendAnalytics,f=e.setIsDirty,m=e.cancel,h=e.next,p=e.existingCsvFile,v=w.useState(!1),b=v[1],_=w.useState(!1),C=_[1],A=w.useState(p),N=A[1],k=A[0];return u("div",y(g([["className","bg-gray-50 h-full"],(t=[u("div",y(g([["className","max-w-[640px] flex flex-col mx-12 mt-8 mb-12"],(r=[KS(P4,v[0],()=>{b(!1)}),XS([_[0],()=>{C(!1)}]),T2("Upload CSV"),Ar("Download and use our template, or upload your own CSV to get started."),u("a",y(g([["className","flex flex-row items-end gap-1 text-primary-600"],["href",P4],["download","remove_users_template"],(n=[u("span",{className:"text-sm font-medium pt-2",children:"Download sample CSV template"}),u("span",y(g([["className","pb-0.5"],(i=[A5(16,16)],["children",w.Children.toArray(Array.from(i))])])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row pt-3 gap-2"],(o=[b2("What kind of data do I need?",()=>{b(!0)}),b2("Frequently asked questions",()=>{C(!0)})],["children",w.Children.toArray(Array.from(o))])]))),u(eu,{existingCsvFile:X1(p),templateDownloadUrl:P4,onChanged:D=>{switch(D.tag){case 1:{N(D.fields[0]),f(!0),d(new d0(10,[{Event:new rt(0,[{Success:!0}]),Type:new tt}]));break}case 2:{N(void 0),f(!1),d(new d0(10,[{Event:new rt(0,[{Success:!1}]),Type:new tt}]));break}default:N(void 0),f(!1)}}}),u("div",y(g([["className","flex flex-row justify-end gap-3"],(s=[u("button",y(g([(a="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",a]),["onClick",D=>{m()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]]))),u("button",y(g([(l="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 hover:enabled:bg-primary-700 text-sm min-w-[120px] border font-medium px-3 py-2 disabled:opacity-50",["className",l]),["onClick",D=>{k==null||h(k)}],["type","button"],["disabled",k==null],(c=["Select email field",I3(13,8)],["children",w.Children.toArray(Array.from(c))])])))],["children",w.Children.toArray(Array.from(s))])])))],["children",w.Children.toArray(Array.from(r))])])))],["children",w.Children.toArray(Array.from(t))])])))}class n2 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["UploadingCsv","MappingEmailColumn","Reviewing"]}}function lu(e){switch(e.tag){case 1:return"field mapping";case 2:return"review";default:return"file upload"}}class _t extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Configuring","Starting"]}}function L7(e){return e.tag===1?"requested":lu(e.fields[0])}function eE(){return[new _t(0,[new n2(0,[void 0])]),we()]}function tE(e,t,r,n){const i=(C,A)=>i5(g([t1(t,new d0(10,[{Event:new rt(2,[{From:L7(C),To:L7(A)}]),Type:new tt}])),K8(e)]));let o,s,a,l,c,d,f,m,h,p,v,b,_;if(r.tag===1)r.fields[0].tag===1?n.tag===0&&n.fields[0].tag===1?(o=5,b=r.fields[0].fields[0],_=n.fields[0].fields[0]):o=6:n.tag===0&&n.fields[0].tag===2?(o=4,p=n.fields[0].fields[1],v=n.fields[0].fields[0]):o=6;else switch(r.fields[0].tag){case 1:{n.tag===0&&n.fields[0].tag===1?(o=2,d=r.fields[0].fields[0],f=n.fields[0].fields[0]):o=6;break}case 2:{n.tag===0&&n.fields[0].tag===2?(o=3,n.fields[0].fields[0],m=n.fields[0].fields[1],h=r.fields[0].fields[0]):o=6;break}default:n.tag===0&&n.fields[0].tag===0?n.fields[0].fields[0]!=null?(o=1,a=r.fields[0].fields[0],l=n.fields[0].fields[0][0],c=n.fields[0].fields[0][1]):(o=0,s=r.fields[0].fields[0]):o=6}switch(o){case 0:{const C=new _t(0,[new n2(1,[s,void 0])]);return[C,i(n,C)]}case 1:{const C=ee(a,l)?new _t(0,[new n2(1,[l,c])]):new _t(0,[new n2(1,[a,void 0])]);return[C,i(n,C)]}case 2:{const C=new _t(0,[new n2(2,[f,d])]);return[C,i(n,C)]}case 3:{const C=new _t(1,[h,m]);return[C,i(n,C)]}case 4:{const C=new _t(0,[new n2(1,[v,p])]);return[C,i(n,C)]}case 5:{const C=new _t(0,[new n2(0,[[_,b]])]);return[C,i(n,C)]}default:return[n,we()]}}const rE=3e4;function nE(e,t,r,n){const i=n.fields[0],o=()=>H.Delay(()=>H.Bind(Yn(rE),()=>H.Bind(t(r),s=>{const a=s;return a.tag!==1&&(a.fields[0].tag!==1||(a.fields[0].fields[0].SucceededRowCount===0?(e(new z1(new Y1(1,[]),"No users removed","There were no eligible users to remove.")),!1):(e(new z1(new Y1(0,[]),a.fields[0].fields[0].SucceededRowCount===1?"Removed 1 user":`Removed ${a.fields[0].fields[0].SucceededRowCount} users`,"Refresh the page to see the changes.")),!1)))?H.Bind(o(),()=>H.Return(void 0)):H.Zero()})));e(new z1(new Y1(2,[]),i.length===1?"Removing 1 user":`Removing ${i.length} users`,"This might take a couple minutes.")),jt(o())}function B7(){a5(g(["workspace","app","users"]))}function iE(e){a5(g(["workspace","app","oops"]))}function oE(e,t,r){return H.Delay(()=>H.TryWith(H.Delay(()=>H.Bind(e(new H8(new P8,g(qn((n,i)=>new B8(n+2,new L8(ge(r.fields[0],i.fields[0]))),t.fields[0])))),n=>H.Return($1(i=>i.BatchOpId,n)))),n=>H.Return(new R(1,[Qe(n)]))))}class W1 extends z{constructor(t,r){super(),this.tag=t,this.fields=r}cases(){return["Completed","Active","Disabled"]}}class L4 extends de{constructor(t,r,n){super(),this.UploadingCsv=t,this.MappingEmailColumn=r,this.Reviewing=n}}function sE(e){switch(e.tag){case 1:return new L4(new W1(0,[]),new W1(1,[]),new W1(2,[]));case 2:return new L4(new W1(0,[]),new W1(0,[]),new W1(1,[]));default:return new L4(new W1(1,[]),new W1(2,[]),new W1(2,[]))}}function aE(e,t,r,n,i){switch(i.tag){case 1:return u(US,{existingEmailColumnIndex:X1(i.fields[1]),headerRow:i.fields[0].HeaderRow,next:o=>{t(new Gr(0,[new $4(1,[o])]))},back:o=>{t(new Gr(1,[new F7(1,[o])]))}});case 2:return u(ZS,{dataRows:i.fields[0].DataRows,emailColumnIndex:i.fields[1],next:o=>{t(new Gr(0,[new $4(2,[o])]))},back:()=>{t(new Gr(1,[new F7(0,[])]))},sendAnalytics:n});default:{const o=r0(s=>s[0],i.fields[0]);return u(QS,{existingCsvFile:X1(o),next:s=>{t(new Gr(0,[new $4(0,[s])]))},cancel:e,setIsDirty:r,sendAnalytics:n})}}}function B4(e,t){let r,n,i;switch(t.tag){case 1:return u("div",y(g([["className","text-sm font-medium border-b-2 border-primary-600 pt-1 pb-3 text-primary-600 text-nowrap"],(r=[u("span",{children:e})],["children",w.Children.toArray(Array.from(r))])])));case 2:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-gray-500 text-nowrap"],(n=[u("span",{children:e})],["children",w.Children.toArray(Array.from(n))])])));default:return u("div",y(g([["className","text-sm font-medium pt-1 pb-3 text-emerald-700 gap-2 inline-flex text-nowrap"],(i=[Tr(20,20),u("span",{children:e})],["children",w.Children.toArray(Array.from(i))])])))}}function lE(){window.scrollTo(0,0)}function uE(e){let t,r,n,i,o,s,a,l;const c=(t=Ki(),t);l=k=>to(e.backendUrl,c,k),a=k=>{jt(l(k))},s=w.useCallback(a,[]),ar(()=>{s(new d0(0,[{Section:"user archive"}]))});const d=pt(()=>ht(eE,(k,D)=>tE(()=>{lE()},s,k,D),(k,D)=>{}),void 0,void 0),f=d[0],m=w.useState(!1),h=m[0],p=m[1],v=w.useState(!1),b=v[0],_=w.useCallback(k=>{k.preventDefault(),k.returnValue=!0},[]),C=()=>{window.removeEventListener("beforeunload",_)};ro(()=>(b?window.addEventListener("beforeunload",_):C(),{Dispose(){C()}}),[b]);let A;if(f.tag===0){const k=f.fields[0],D=()=>{h||p(!0)},P=sE(k),T=aE(D,d[1],v[1],s,k);A=u("div",y(g([["className","min-w-[640px] flex flex-col h-full"],(r=[Ro(h,()=>{h&&p(!1)},()=>{h&&(s(new d0(10,[{Event:new rt(1,[{From:lu(k)}]),Type:new tt}])),C(),B7())},"Cancel removal","Continue removal","Cancel removal and exit",g([u("p",{children:["You’re about to cancel your removal. All changes will be discarded."]}),u("br",{}),u("p",{children:["Are you sure you want to cancel and exit?"]})])),u("div",y(g([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(n=[u("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Remove users via CSV"}),u("button",y(g([(i="bg-white hover:bg-gray-50 rounded-md text-red-700 shadow-sm text-sm border border-gray-300 font-medium px-3 py-2 min-w-[120px]",["className",i]),["onClick",S=>{D()}],["type","button"],["children",w.Children.toArray(["Cancel and exit"])]])))],["children",w.Children.toArray(Array.from(n))])]))),u("div",y(g([["className","flex flex-row items-center px-12 gap-2 border-b border-gray-200"],(o=[B4("1. Upload CSV",P.UploadingCsv),u("hr",{className:"w-16 pt-1.5"}),B4("2. Select email field",P.MappingEmailColumn),u("hr",{className:"w-16 pt-1.5"}),B4("3. Review",P.Reviewing)],["children",w.Children.toArray(Array.from(o))])]))),T],["children",w.Children.toArray(Array.from(r))])])))}else{const k=f.fields[0];A=u(ru,{startAsync:()=>oE(D=>Hh(e.backendUrl,D),k,f.fields[1]),onStarted:D=>{s(new d0(10,[{Event:new rt(5,[{BatchOpId:D}]),Type:new tt}])),C();const P=[D,k];nE(T=>{nu(T)},T=>Vh(e.backendUrl,T),P[0],P[1]),B7()},onError:D=>{s(new d0(10,[{Event:new rt(6,[{Reason:D}]),Type:new tt}])),C(),iE()}})}const N=[u("style",{children:[Vn]}),A];return u(Ze,{},...N)}function cE(){Pn(e=>u(uE,e),"apollo-import-workspace-remove-users-wizard")}Pn(e=>u(dd,e),"apollo-import-workspace-app");ey();PS();cE();
|