@tech_carthagos/page-builder 1.0.36 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -227,7 +227,7 @@ Please only use useNode in components that are children of the <Editor /> compon
227
227
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Kc(t){if(Array.isArray(t))return t}function Jc(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function as(t,e){if(t){if(typeof t=="string")return Qa(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qa(t,e):void 0}}function Qa(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Zc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
228
228
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qc(t){var e=function(r,n){if(typeof r!="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,"string");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(t);return typeof e=="symbol"?e:String(e)}var fe={UNDO:"HISTORY_UNDO",REDO:"HISTORY_REDO",THROTTLE:"HISTORY_THROTTLE",IGNORE:"HISTORY_IGNORE",MERGE:"HISTORY_MERGE",CLEAR:"HISTORY_CLEAR"},qx=function(){function t(){Lr(this,t),ve(this,"timeline",[]),ve(this,"pointer",-1)}return $r(t,[{key:"add",value:function(e,r){e.length===0&&r.length===0||(this.pointer=this.pointer+1,this.timeline.length=this.pointer,this.timeline[this.pointer]={patches:e,inversePatches:r,timestamp:Date.now()})}},{key:"throttleAdd",value:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:500;if(e.length!==0||r.length!==0){if(this.timeline.length&&this.pointer>=0){var o=this.timeline[this.pointer],a=o.patches,i=o.inversePatches,s=o.timestamp;if(new Date().getTime()-s<n)return void(this.timeline[this.pointer]={timestamp:s,patches:[].concat(Ce(a),Ce(e)),inversePatches:[].concat(Ce(r),Ce(i))})}this.add(e,r)}}},{key:"merge",value:function(e,r){if(e.length!==0||r.length!==0)if(this.timeline.length&&this.pointer>=0){var n=this.timeline[this.pointer],o=n.inversePatches;this.timeline[this.pointer]={timestamp:n.timestamp,patches:[].concat(Ce(n.patches),Ce(e)),inversePatches:[].concat(Ce(r),Ce(o))}}else this.add(e,r)}},{key:"clear",value:function(){this.timeline=[],this.pointer=-1}},{key:"canUndo",value:function(){return this.pointer>=0}},{key:"canRedo",value:function(){return this.pointer<this.timeline.length-1}},{key:"undo",value:function(e){if(this.canUndo()){var r=this.timeline[this.pointer].inversePatches;return this.pointer=this.pointer-1,ju(e,r)}}},{key:"redo",value:function(e){if(this.canRedo())return this.pointer=this.pointer+1,ju(e,this.timeline[this.pointer].patches)}}]),t}();function Ux(t,e,r,n){var o,a=w.useMemo(function(){return new qx},[]),i=w.useRef([]),s=w.useRef(function(){});typeof t=="function"?o=t:(o=t.methods,i.current=t.ignoreHistoryForActions,s.current=t.normalizeHistory);var u=w.useRef(n);u.current=n;var l=w.useRef(e),c=w.useMemo(function(){var m=s.current,v=i.current,x=u.current;return function(S,E){var j,k=r&&nl(r,function(){return S},a),_=Xc(Nu(S,function(C){var N,P;switch(E.type){case fe.UNDO:return a.undo(C);case fe.REDO:return a.redo(C);case fe.CLEAR:return a.clear(),_e({},C);case fe.IGNORE:case fe.MERGE:case fe.THROTTLE:var I,T=Kc(P=E.payload)||Jc(P)||as(P)||Zc(),O=T[0],A=T.slice(1);(I=o(C,k))[O].apply(I,Ce(A));break;default:(N=o(C,k))[E.type].apply(N,Ce(E.payload))}}),3),D=_[0],L=_[1],$=_[2];return j=D,x&&x(D,S,{type:E.type,params:E.payload,patches:L},k,function(C){var N=Nu(D,C);j=N[0],L=[].concat(Ce(L),Ce(N[1])),$=[].concat(Ce(N[2]),Ce($))}),[fe.UNDO,fe.REDO].includes(E.type)&&m&&(j=Gh(j,m)),[].concat(Ce(v),[fe.UNDO,fe.REDO,fe.IGNORE,fe.CLEAR]).includes(E.type)||(E.type===fe.THROTTLE?a.throttleAdd(L,$,E.config&&E.config.rate):E.type===fe.MERGE?a.merge(L,$):a.add(L,$)),j}},[a,o,r]),h=w.useCallback(function(){return l.current},[]),f=w.useMemo(function(){return new Vx(h)},[h]),d=w.useCallback(function(m){var v=c(l.current,m);l.current=v,f.notify()},[c,f]);w.useEffect(function(){f.notify()},[f]);var b=w.useMemo(function(){return r?nl(r,function(){return l.current},a):[]},[a,r]),g=w.useMemo(function(){var m=Object.keys(o(null,null)),v=i.current;return _e(_e({},m.reduce(function(x,S){return x[S]=function(){for(var E=arguments.length,j=new Array(E),k=0;k<E;k++)j[k]=arguments[k];return d({type:S,payload:j})},x},{})),{},{history:{undo:function(){return d({type:fe.UNDO})},redo:function(){return d({type:fe.REDO})},clear:function(){return d({type:fe.CLEAR})},throttle:function(x){return _e({},m.filter(function(S){return!v.includes(S)}).reduce(function(S,E){return S[E]=function(){for(var j=arguments.length,k=new Array(j),_=0;_<j;_++)k[_]=arguments[_];return d({type:fe.THROTTLE,payload:[E].concat(k),config:{rate:x}})},S},{}))},ignore:function(){return _e({},m.filter(function(x){return!v.includes(x)}).reduce(function(x,S){return x[S]=function(){for(var E=arguments.length,j=new Array(E),k=0;k<E;k++)j[k]=arguments[k];return d({type:fe.IGNORE,payload:[S].concat(j)})},x},{}))},merge:function(){return _e({},m.filter(function(x){return!v.includes(x)}).reduce(function(x,S){return x[S]=function(){for(var E=arguments.length,j=new Array(E),k=0;k<E;k++)j[k]=arguments[k];return d({type:fe.MERGE,payload:[S].concat(j)})},x},{}))}}})},[d,o]);return w.useMemo(function(){return{getState:h,subscribe:function(m,v,x){return f.subscribe(m,v,x)},actions:g,query:b,history:a}},[g,b,f,h,a])}function nl(t,e,r){var n=Object.keys(t()).reduce(function(o,a){return _e(_e({},o),{},ve({},a,function(){var i;return(i=t(e()))[a].apply(i,arguments)}))},{});return _e(_e({},n),{},{history:{canUndo:function(){return r.canUndo()},canRedo:function(){return r.canRedo()}}})}Hh(),Bh();var Vx=function(){function t(e){Lr(this,t),ve(this,"getState",void 0),ve(this,"subscribers",[]),this.getState=e}return $r(t,[{key:"subscribe",value:function(e,r,n){var o=this,a=new Wx(function(){return e(o.getState())},r,n);return this.subscribers.push(a),this.unsubscribe.bind(this,a)}},{key:"unsubscribe",value:function(e){if(this.subscribers.length){var r=this.subscribers.indexOf(e);if(r>-1)return this.subscribers.splice(r,1)}}},{key:"notify",value:function(){this.subscribers.forEach(function(e){return e.collect()})}}]),t}(),Wx=function(){function t(e,r){var n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];Lr(this,t),ve(this,"collected",void 0),ve(this,"collector",void 0),ve(this,"onChange",void 0),ve(this,"id",void 0),this.collector=e,this.onChange=r,n&&this.collect()}return $r(t,[{key:"collect",value:function(){try{var e=this.collector();Sx(e,this.collected)||(this.collected=e,this.onChange&&this.onChange(this.collected))}catch(r){console.warn(r)}}}]),t}(),un=function(t){var e=t.getBoundingClientRect(),r=e.x,n=e.y,o=e.top,a=e.left,i=e.bottom,s=e.right,u=e.width,l=e.height,c=window.getComputedStyle(t),h={left:parseInt(c.marginLeft),right:parseInt(c.marginRight),bottom:parseInt(c.marginBottom),top:parseInt(c.marginTop)},f={left:parseInt(c.paddingLeft),right:parseInt(c.paddingRight),bottom:parseInt(c.paddingBottom),top:parseInt(c.paddingTop)};return{x:r,y:n,top:o,left:a,bottom:i,right:s,width:u,height:l,outerWidth:Math.round(u+h.left+h.right),outerHeight:Math.round(l+h.top+h.bottom),margin:h,padding:f,inFlow:t.parentElement&&!!function(d){var b=getComputedStyle(d);if(!(c.overflow&&c.overflow!=="visible"||b.float!=="none"||b.display==="grid"||b.display==="flex"&&b["flex-direction"]!=="column")){switch(c.position){case"static":case"relative":break;default:return}switch(t.tagName){case"TR":case"TBODY":case"THEAD":case"TFOOT":return!0}switch(c.display){case"block":case"list-item":case"table":case"flex":case"grid":return!0}}}(t.parentElement)}};function Gx(t,e){const{subscribe:r,getState:n,actions:o,query:a}=t,i=w.useRef(!0),s=w.useRef(null),u=w.useRef(e);u.current=e;const l=w.useCallback(f=>({...f,actions:o,query:a}),[o,a]);i.current&&e&&(s.current=e(n(),a),i.current=!1);const[c,h]=w.useState(l(s.current));return w.useEffect(()=>{let f;return u.current&&(f=r(d=>u.current(d,a),d=>{h(l(d))})),()=>{f&&f()}},[l,a,r]),c}var xr,ed=function(){return Tx(arguments.length>0&&arguments[0]!==void 0?arguments[0]:10)},Yx=function(){function t(){Lr(this,t),ve(this,"isEnabled",!0),ve(this,"elementIdMap",new WeakMap),ve(this,"registry",new Map)}return $r(t,[{key:"getElementId",value:function(e){var r=this.elementIdMap.get(e);if(r)return r;var n=ed();return this.elementIdMap.set(e,n),n}},{key:"getConnectorId",value:function(e,r){var n=this.getElementId(e);return"".concat(r,"--").concat(n)}},{key:"register",value:function(e,r){var n=this,o=this.getByElement(e,r.name);if(o){if(Ex(r.required,o.required))return o;this.getByElement(e,r.name).disable()}var a=null,i=this.getConnectorId(e,r.name);return this.registry.set(i,{id:i,required:r.required,enable:function(){a&&a(),a=r.connector(e,r.required,r.options)},disable:function(){a&&a()},remove:function(){return n.remove(i)}}),this.isEnabled&&this.registry.get(i).enable(),this.registry.get(i)}},{key:"get",value:function(e){return this.registry.get(e)}},{key:"remove",value:function(e){var r=this.get(e);r&&(r.disable(),this.registry.delete(r.id))}},{key:"enable",value:function(){this.isEnabled=!0,this.registry.forEach(function(e){e.enable()})}},{key:"disable",value:function(){this.isEnabled=!1,this.registry.forEach(function(e){e.disable()})}},{key:"getByElement",value:function(e,r){return this.get(this.getConnectorId(e,r))}},{key:"removeByElement",value:function(e,r){return this.remove(this.getConnectorId(e,r))}},{key:"clear",value:function(){this.disable(),this.elementIdMap=new WeakMap,this.registry=new Map}}]),t}();(function(t){t[t.HandlerDisabled=0]="HandlerDisabled",t[t.HandlerEnabled=1]="HandlerEnabled"})(xr||(xr={}));var td=function(){function t(e){Lr(this,t),ve(this,"options",void 0),ve(this,"registry",new Yx),ve(this,"subscribers",new Set),this.options=e}return $r(t,[{key:"listen",value:function(e){var r=this;return this.subscribers.add(e),function(){return r.subscribers.delete(e)}}},{key:"disable",value:function(){this.onDisable&&this.onDisable(),this.registry.disable(),this.subscribers.forEach(function(e){e(xr.HandlerDisabled)})}},{key:"enable",value:function(){this.onEnable&&this.onEnable(),this.registry.enable(),this.subscribers.forEach(function(e){e(xr.HandlerEnabled)})}},{key:"cleanup",value:function(){this.disable(),this.subscribers.clear(),this.registry.clear()}},{key:"addCraftEventListener",value:function(e,r,n,o){var a=function(i){(function(s,u,l){s.craft||(s.craft={stopPropagation:function(){},blockedEvents:{}});for(var c=s.craft&&s.craft.blockedEvents[u]||[],h=0;h<c.length;h++){var f=c[h];if(l!==f&&l.contains(f))return!0}return!1})(i,r,e)||(i.craft.stopPropagation=function(){i.craft.blockedEvents[r]||(i.craft.blockedEvents[r]=[]),i.craft.blockedEvents[r].push(e)},n(i))};return e.addEventListener(r,a,o),function(){return e.removeEventListener(r,a,o)}}},{key:"createConnectorsUsage",value:function(){var e=this,r=this.handlers(),n=new Set,o=!1,a=new Map;return{connectors:Object.entries(r).reduce(function(i,s){var u=Xc(s,2),l=u[0],c=u[1];return _e(_e({},i),{},ve({},l,function(h,f,d){var b=function(){var g=e.registry.register(h,{required:f,name:l,options:d,connector:c});return n.add(g.id),g};return a.set(e.registry.getConnectorId(h,l),b),o&&b(),h}))},{}),register:function(){o=!0,a.forEach(function(i){i()})},cleanup:function(){o=!1,n.forEach(function(i){return e.registry.remove(i)})}}}},{key:"derive",value:function(e,r){return new e(this,r)}},{key:"createProxyHandlers",value:function(e,r){var n=[],o=e.handlers(),a=new Proxy(o,{get:function(i,s,u){return s in o==0?Reflect.get(i,s,u):function(l){for(var c=arguments.length,h=new Array(c>1?c-1:0),f=1;f<c;f++)h[f-1]=arguments[f];var d=o[s].apply(o,[l].concat(h));d&&n.push(d)}}});return r(a),function(){n.forEach(function(i){i()})}}},{key:"reflect",value:function(e){return this.createProxyHandlers(this,e)}}]),t}(),Xx=function(t){(function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),i&&Ja(a,i)})(o,td);var e,r,n=(e=o,r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var a,i=br(e);if(r){var s=br(this).constructor;a=Reflect.construct(i,arguments,s)}else a=i.apply(this,arguments);return function(u,l){if(l&&(typeof l=="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pa(u)}(this,a)});function o(a,i){var s;return Lr(this,o),ve(Pa(s=n.call(this,i)),"derived",void 0),ve(Pa(s),"unsubscribeParentHandlerListener",void 0),s.derived=a,s.options=i,s.unsubscribeParentHandlerListener=s.derived.listen(function(u){switch(u){case xr.HandlerEnabled:return s.enable();case xr.HandlerDisabled:return s.disable();default:return}}),s}return $r(o,[{key:"inherit",value:function(a){return this.createProxyHandlers(this.derived,a)}},{key:"cleanup",value:function(){Za(br(o.prototype),"cleanup",this).call(this),this.unsubscribeParentHandlerListener()}}]),o}();function ol(t,e){e&&(typeof t=="function"?t(e):t.current=e)}function Kx(t,e){const r=t.ref;return oe(typeof r!="string","Cannot connect to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),w.cloneElement(t,r?{ref:n=>{ol(r,n),ol(e,n)}}:{ref:e})}function Jx(t){return(e=null,...r)=>{if(!w.isValidElement(e)){if(!e)return;const o=e;return o&&t(o,...r),o}const n=e;return function(o){if(typeof o.type!="string")throw new Error}(n),Kx(n,t)}}function rd(t){return Object.keys(t).reduce((e,r)=>(e[r]=Jx((...n)=>t[r](...n)),e),{})}const Zx=({style:t,className:e,parentDom:r})=>{const n=w.createElement("div",{className:e,style:{position:"fixed",display:"block",opacity:1,borderStyle:"solid",borderWidth:"1px",borderColor:"transparent",zIndex:99999,...t}});return r&&r.ownerDocument!==document?Mi.createPortal(n,r.ownerDocument.body):n};var _t=function(t,e){var r="Deprecation warning: ".concat(t," will be deprecated in future relases."),n=e.suggest,o=e.doc;n&&(r+=" Please use ".concat(n," instead.")),o&&(r+="(".concat(o,")")),console.warn(r)},nd=function(){return typeof window<"u"},Qx=function(){return nd()&&/Linux/i.test(window.navigator.userAgent)},e2=function(){return nd()&&/Chrome/i.test(window.navigator.userAgent)},t2=Zt;(function(){try{var t=t2(Object,"defineProperty");return t({},"",{}),t}catch{}})();var mo={exports:{}};mo.exports;(function(t,e){var r=rt,n=e&&!e.nodeType&&e,o=n&&!0&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;function u(l,c){if(c)return l.slice();var h=l.length,f=s?s(h):new l.constructor(h);return l.copy(f),f}t.exports=u})(mo,mo.exports);mo.exports;var al=qo,il=al?al.prototype:void 0;il&&il.valueOf;var sl=os;sl&&sl.isMap;var ul=os;ul&&ul.isSet;typeof window<"u"&&(window.__CRAFTJS__||(window.__CRAFTJS__={}),window.__CRAFTJS__["@craftjs/core"]="0.2.12");const od=w.createContext(null),ad=({id:t,related:e=!1,children:r})=>w.createElement(od.Provider,{value:{id:t,related:e}},r);function ll(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function se(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ll(Object(r),!0).forEach(function(n){ge(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ei(t){return ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ei(t)}function Yo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ud(n.key),n)}}function Xo(t,e,r){return e&&r2(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ge(t,e,r){return(e=ud(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function is(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ti(t,e)}function bo(t){return bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bo(t)}function ti(t,e){return ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ti(t,e)}function ss(t,e){if(t==null)return{};var r,n,o=function(i,s){if(i==null)return{};var u,l,c={},h=Object.keys(i);for(l=0;l<h.length;l++)s.indexOf(u=h[l])>=0||(c[u]=i[u]);return c}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)e.indexOf(r=a[n])>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function us(t){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,n=bo(t);if(e){var o=bo(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(a,i){if(i&&(typeof i=="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qr(a)}(this,r)}}function id(t,e){return function(r){if(Array.isArray(r))return r}(t)||function(r,n){var o=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var a,i,s,u,l=[],c=!0,h=!1;try{if(s=(o=o.call(r)).next,n!==0)for(;!(c=(a=s.call(o)).done)&&(l.push(a.value),l.length!==n);c=!0);}catch(f){h=!0,i=f}finally{try{if(!c&&o.return!=null&&(u=o.return(),Object(u)!==u))return}finally{if(h)throw i}}return l}}(t,e)||sd(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
229
229
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ln(t){return function(e){if(Array.isArray(e))return ri(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||sd(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
230
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sd(t,e){if(t){if(typeof t=="string")return ri(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ri(t,e):void 0}}function ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ud(t){var e=function(r,n){if(typeof r!="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,"string");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(t);return typeof e=="symbol"?e:String(e)}const ls=w.createContext(null);var ld=w.createContext(null),cd=function(){return w.useContext(ld)};function Qt(t){var e=cd(),r=w.useContext(ls);oe(r,Hx);var n=Gx(r,t),o=w.useMemo(function(){return e&&e.createConnectorsUsage()},[e]);w.useEffect(function(){return o.register(),function(){o.cleanup()}},[o]);var a=w.useMemo(function(){return o&&rd(o.connectors)},[o]);return se(se({},n),{},{connectors:a,inContext:!!r,store:r})}var n2=["actions","query","connectors"];function Ko(t){var e=w.useContext(od);oe(e,zx);var r=e.id,n=e.related,o=Qt(function(c){return r&&c.nodes[r]&&t&&t(c.nodes[r])}),a=o.actions,i=o.connectors,s=ss(o,n2),u=w.useMemo(function(){return rd({connect:function(c){return i.connect(c,r)},drag:function(c){return i.drag(c,r)}})},[i,r]),l=w.useMemo(function(){return{setProp:function(c,h){h?a.history.throttle(h).setProp(r,c):a.setProp(r,c)},setCustom:function(c,h){h?a.history.throttle(h).setCustom(r,c):a.setCustom(r,c)},setHidden:function(c){return a.setHidden(r,c)}}},[a,r]);return se(se({},s),{},{id:r,related:n,inNodeContext:!!e,actions:l,connectors:u})}var o2=["id","related","actions","inNodeContext","connectors"];function ne(t){var e=Ko(t),r=e.id,n=e.related,o=e.actions,a=e.inNodeContext,i=e.connectors;return se(se({},ss(e,o2)),{},{actions:o,id:r,related:n,setProp:function(s,u){return _t("useNode().setProp()",{suggest:"useNode().actions.setProp()"}),o.setProp(s,u)},inNodeContext:a,connectors:i})}const a2=({render:t})=>{const{connectors:{connect:e,drag:r}}=ne();return typeof t.type=="string"?e(r(w.cloneElement(t))):t},i2=()=>{const{type:t,props:e,nodes:r,hydrationTimestamp:n}=Ko(o=>({type:o.data.type,props:o.data.props,nodes:o.data.nodes,hydrationTimestamp:o._hydrationTimestamp}));return w.useMemo(()=>{let o=e.children;r&&r.length>0&&(o=w.createElement(w.Fragment,null,r.map(i=>w.createElement(cs,{id:i,key:i}))));const a=w.createElement(t,e,o);return typeof t=="string"?w.createElement(a2,{render:a}):a},[t,e,n,r])},s2=({render:t})=>{const{hidden:e}=Ko(n=>({hidden:n.data.hidden})),{onRender:r}=Qt(n=>({onRender:n.options.onRender}));return e?null:w.createElement(r,{render:t||w.createElement(i2,null)})},cs=({id:t,render:e})=>w.createElement(ad,{id:t},w.createElement(s2,{render:e})),ni={is:"div",canvas:!1,custom:{},hidden:!1},u2={is:"type",canvas:"isCanvas"};function bt({id:t,children:e,...r}){const{is:n}={...ni,...r},{query:o,actions:a}=Qt(),{id:i,inNodeContext:s}=Ko(),[u]=w.useState(()=>{oe(!!t,Ox);const l=o.node(i).get();if(s){const c=l.data.linkedNodes[t]?o.node(l.data.linkedNodes[t]).get():null;if(c&&c.data.type===n)return c.id;const h=w.createElement(bt,r,e),f=o.parseReactElement(h).toNodeTree();return a.history.ignore().addLinkedNodeFromTree(f,i,t),f.rootNodeId}return null});return u?w.createElement(cs,{id:u}):null}const dd=()=>_t("<Canvas />",{suggest:"<Element canvas={true} />"});function oi({...t}){return w.useEffect(()=>dd(),[]),w.createElement(bt,{...t,canvas:!0})}const l2=()=>{const{timestamp:t}=Qt(e=>({timestamp:e.nodes[mt]&&e.nodes[mt]._hydrationTimestamp}));return t?w.createElement(cs,{id:mt,key:t}):null},fd=({children:t,json:e,data:r})=>{const{actions:n,query:o}=Qt();e&&_t("<Frame json={...} />",{suggest:"<Frame data={...} />"});const a=w.useRef(!1);if(!a.current){const i=r||e;if(i)n.history.ignore().deserialize(i);else if(t){const s=w.Children.only(t),u=o.parseReactElement(s).toNodeTree((l,c)=>(c===s&&(l.id=mt),l));n.history.ignore().addNodeTree(u)}a.current=!0}return w.createElement(l2,null)};var cl;(function(t){t[t.Any=0]="Any",t[t.Id=1]="Id",t[t.Obj=2]="Obj"})(cl||(cl={}));const ka=t=>{const{addLinkedNodeFromTree:e,setDOM:r,setNodeEvent:n,replaceNodes:o,reset:a,...i}=t;return i};function Lt(t){const{connectors:e,actions:r,query:n,store:o,...a}=Qt(t),i=ka(r);return{connectors:e,actions:w.useMemo(()=>({...i,history:{...i.history,ignore:(...s)=>ka(i.history.ignore(...s)),throttle:(...s)=>ka(i.history.throttle(...s))}}),[i]),query:n,store:o,...a}}var pd=function(t){return Object.fromEntries?Object.fromEntries(t):t.reduce(function(e,r){var n=id(r,2),o=n[0],a=n[1];return se(se({},e),{},ge({},o,a))},{})},ft=function(t,e,r){var n=Array.isArray(e)?e:[e],o=se({existOnly:!1,idOnly:!1},r||{}),a=n.filter(function(i){return!!i}).map(function(i){return typeof i=="string"?{node:t[i],exists:!!t[i]}:ei(i)!=="object"||o.idOnly?{node:null,exists:!1}:{node:i,exists:!!t[i.id]}});return o.existOnly&&oe(a.filter(function(i){return!i.exists}).length===0,Yc),a},c2=["history"],lr=null,go=function(t,e){if(typeof e=="string")return e;var r,n=function(o,a){var i=function(s){if(lr&&lr.resolver===s)return lr.reversed;lr={resolver:s,reversed:new Map};for(var u=0,l=Object.entries(s);u<l.length;u++){var c=id(l[u],2);lr.reversed.set(c[1],c[0])}return lr.reversed}(o).get(a);return i!==void 0?i:null}(t,e);return oe(n,ho.replace("%node_type%",(r=e).name||r.displayName)),n};const d2=(t,e)=>typeof t=="string"?t:{resolvedName:go(e,t)},ai=(t,e)=>{let{type:r,isCanvas:n,props:o}=t;return o=Object.keys(o).reduce((a,i)=>{const s=o[i];return s==null||typeof s=="function"||(a[i]=i==="children"&&typeof s!="string"?w.Children.map(s,u=>typeof u=="string"?u:ai(u,e)):typeof s.type=="function"?ai(s,e):s),a},{}),{type:d2(r,e),isCanvas:!!n,props:o}},f2=(t,e)=>{const{type:r,props:n,isCanvas:o,name:a,...i}=t;return{...ai({type:r,isCanvas:o,props:n},e),...i}};function ii(t,e){oe(typeof e=="string",Mx);var r=t.nodes[e],n=function(o){return ii(t,o)};return{isCanvas:function(){return!!r.data.isCanvas},isRoot:function(){return r.id===mt},isLinkedNode:function(){return r.data.parent&&n(r.data.parent).linkedNodes().includes(r.id)},isTopLevelNode:function(){return this.isRoot()||this.isLinkedNode()},isDeletable:function(){return!this.isTopLevelNode()},isParentOfTopLevelNodes:function(){return r.data.linkedNodes&&Object.keys(r.data.linkedNodes).length>0},isParentOfTopLevelCanvas:function(){return _t("query.node(id).isParentOfTopLevelCanvas",{suggest:"query.node(id).isParentOfTopLevelNodes"}),this.isParentOfTopLevelNodes()},isSelected:function(){return t.events.selected.has(e)},isHovered:function(){return t.events.hovered.has(e)},isDragged:function(){return t.events.dragged.has(e)},get:function(){return r},ancestors:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return function a(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=t.nodes[i];return l?(s.push(i),l.data.parent&&(o||!o&&u===0)&&(s=a(l.data.parent,s,u+1)),s):s}(r.data.parent)},descendants:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=arguments.length>1?arguments[1]:void 0;return function i(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return(o||!o&&l===0)&&t.nodes[s]&&(a!=="childNodes"&&n(s).linkedNodes().forEach(function(c){u.push(c),u=i(c,u,l+1)}),a!=="linkedNodes"&&n(s).childNodes().forEach(function(c){u.push(c),u=i(c,u,l+1)})),u}(e)},linkedNodes:function(){return Object.values(r.data.linkedNodes||{})},childNodes:function(){return r.data.nodes||[]},isDraggable:function(o){try{var a=r;return oe(!this.isTopLevelNode(),tl),oe(ii(t,a.data.parent).isCanvas(),el),oe(a.rules.canDrag(a,n),Dx),!0}catch(i){return o&&o(i),!1}},isDroppable:function(o,a){var i=ft(t.nodes,o),s=r;try{oe(this.isCanvas(),Rx),oe(s.rules.canMoveIn(i.map(function(l){return l.node}),s,n),kx);var u={};return i.forEach(function(l){var c=l.node,h=l.exists;if(oe(c.rules.canDrop(s,c,n),Px),h){oe(!n(c.id).isTopLevelNode(),tl);var f=n(c.id).descendants(!0);oe(!f.includes(s.id)&&s.id!==c.id,Ix);var d=c.data.parent&&t.nodes[c.data.parent];oe(d.data.isCanvas,el),oe(d||!d&&!t.nodes[c.id],Ax),d.id!==s.id&&(u[d.id]||(u[d.id]=[]),u[d.id].push(c))}}),Object.keys(u).forEach(function(l){var c=t.nodes[l];oe(c.rules.canMoveOut(u[l],c,n),_x)}),!0}catch(l){return a&&a(l),!1}},toSerializedNode:function(){return f2(r.data,t.options.resolver)},toNodeTree:function(o){var a=[e].concat(ln(this.descendants(!0,o))).reduce(function(i,s){return i[s]=n(s).get(),i},{});return{rootNodeId:e,nodes:a}},decendants:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return _t("query.node(id).decendants",{suggest:"query.node(id).descendants"}),this.descendants(o)},isTopLevelCanvas:function(){return!this.isRoot()&&!r.data.parent}}}function hd(t,e,r,n){for(var o={parent:t,index:0,where:"before"},a=0,i=0,s=0,u=0,l=0,c=0,h=0,f=e.length;h<f;h++){var d=e[h];if(c=d.top+d.outerHeight,u=d.left+d.outerWidth/2,l=d.top+d.outerHeight/2,!(i&&d.left>i||s&&l>=s||a&&d.left+d.outerWidth<a))if(o.index=h,d.inFlow){if(n<l){o.where="before";break}o.where="after"}else n<c&&(s=c),r<u?(i=u,o.where="before"):(a=u,o.where="after")}return o}var Bn=function(t){return typeof t=="string"?t:t.name};function dl(t,e){var r=t.data.type,n={id:t.id||ed(),_hydrationTimestamp:Date.now(),data:se({type:r,name:Bn(r),displayName:Bn(r),props:{},custom:{},parent:null,isCanvas:!1,hidden:!1,nodes:[],linkedNodes:{}},t.data),info:{},related:{},events:{selected:!1,dragged:!1,hovered:!1},rules:{canDrag:function(){return!0},canDrop:function(){return!0},canMoveIn:function(){return!0},canMoveOut:function(){return!0}},dom:null};if(n.data.type===bt||n.data.type===oi){var o=se(se({},ni),n.data.props);n.data.props=Object.keys(n.data.props).reduce(function(s,u){return Object.keys(ni).includes(u)?n.data[u2[u]||u]=o[u]:s[u]=n.data.props[u],s},{}),n.data.name=Bn(r=n.data.type),n.data.displayName=Bn(r),n.data.type===oi&&(n.data.isCanvas=!0,dd())}e&&e(n);var a=r.craft;if(a){if(n.data.displayName=a.displayName||a.name||n.data.displayName,n.data.props=se(se({},a.props||a.defaultProps||{}),n.data.props),n.data.custom=se(se({},a.custom||{}),n.data.custom),a.isCanvas!=null&&(n.data.isCanvas=a.isCanvas),a.rules&&Object.keys(a.rules).forEach(function(s){["canDrag","canDrop","canMoveIn","canMoveOut"].includes(s)&&(n.rules[s]=a.rules[s])}),a.related){var i={id:n.id,related:!0};Object.keys(a.related).forEach(function(s){n.related[s]=function(u){return w.createElement(ad,i,w.createElement(a.related[s],u))}})}a.info&&(n.info=a.info)}return n}const si=(t,e,r)=>{let{type:n,props:o}=t;const a=((s,u)=>typeof s=="object"&&s.resolvedName?s.resolvedName==="Canvas"?oi:u[s.resolvedName]:typeof s=="string"?s:null)(n,e);if(!a)return;o=Object.keys(o).reduce((s,u)=>{const l=o[u];return s[u]=l==null?null:typeof l=="object"&&l.resolvedName?si(l,e):u==="children"&&Array.isArray(l)?l.map(c=>typeof c=="string"?c:si(c,e)):l,s},{});const i={...w.createElement(a,{...o})};return{...i,name:go(e,i.type)}},p2=(t,e)=>{const{type:r,props:n,...o}=t;oe(r!==void 0&&typeof r=="string"||r!==void 0&&r.resolvedName!==void 0,Bx.replace("%displayName%",t.displayName).replace("%availableComponents%",Object.keys(e).join(", ")));const{type:a,name:i,props:s}=si(t,e),{parent:u,custom:l,displayName:c,isCanvas:h,nodes:f,hidden:d}=o;return{type:a,name:i,displayName:c||i,props:s,custom:l||{},isCanvas:!!h,hidden:!!d,parent:u,linkedNodes:o.linkedNodes||o._childCanvas||{},nodes:f||[]}},h2=(t,e)=>{if(e.length<1)return{[t.id]:t};const r=e.map(({rootNodeId:o})=>o),n={...t,data:{...t.data,nodes:r}};return e.reduce((o,a)=>{const i=a.nodes[a.rootNodeId];return{...o,...a.nodes,[i.id]:{...i,data:{...i.data,parent:t.id}}}},{[t.id]:n})},m2=(t,e)=>({rootNodeId:t.id,nodes:h2(t,e)});function md(t){const e=t&&t.options,r=()=>md(t);return{getDropPlaceholder:(n,o,a,i=s=>t.nodes[s.id].dom)=>{const s=t.nodes[o],u=r().node(s.id).isCanvas()?s:t.nodes[s.data.parent];if(!u)return;const l=u.data.nodes||[],c=hd(u,l?l.reduce((d,b)=>{const g=i(t.nodes[b]);if(g){const m={id:b,...un(g)};d.push(m)}return d},[]):[],a.x,a.y),h=l.length&&t.nodes[l[c.index]],f={placement:{...c,currentNode:h},error:null};return ft(t.nodes,n).forEach(({node:d,exists:b})=>{b&&r().node(d.id).isDraggable(g=>f.error=g)}),r().node(u.id).isDroppable(n,d=>f.error=d),f},getOptions:()=>e,getNodes:()=>t.nodes,node:n=>ii(t,n),getSerializedNodes(){const n=Object.keys(t.nodes).map(o=>[o,this.node(o).toSerializedNode()]);return pd(n)},getEvent:n=>function(o,a){var i=o.events[a];return{contains:function(s){return i.has(s)},isEmpty:function(){return this.all().length===0},first:function(){return this.all()[0]},last:function(){var s=this.all();return s[s.length-1]},all:function(){return Array.from(i)},size:function(){return this.all().length},at:function(s){return this.all()[s]},raw:function(){return i}}}(t,n),serialize(){return JSON.stringify(this.getSerializedNodes())},parseReactElement:n=>({toNodeTree(o){let a=function(s,u){let l=s;return typeof l=="string"&&(l=w.createElement(w.Fragment,{},l)),dl({data:{type:l.type,props:{...l.props}}},c=>{u&&u(c,l)})}(n,(s,u)=>{const l=go(t.options.resolver,s.data.type);s.data.displayName=s.data.displayName||l,s.data.name=l,o&&o(s,u)}),i=[];return n.props&&n.props.children&&(i=w.Children.toArray(n.props.children).reduce((s,u)=>(w.isValidElement(u)&&s.push(r().parseReactElement(u).toNodeTree(o)),s),[])),m2(a,i)}}),parseSerializedNode:n=>({toNode(o){const a=p2(n,t.options.resolver);oe(a.type,ho);const i=typeof o=="string"&&o;return i&&_t("query.parseSerializedNode(...).toNode(id)",{suggest:"query.parseSerializedNode(...).toNode(node => node.id = id)"}),r().parseFreshNode({...i?{id:i}:{},data:a}).toNode(!i&&o)}}),parseFreshNode:n=>({toNode:o=>dl(n,a=>{a.data.parent===Gc&&(a.data.parent=mt);const i=go(t.options.resolver,a.data.type);oe(i!==null,ho),a.data.displayName=a.data.displayName||i,a.data.name=i,o&&o(a)})}),createNode(n,o){_t(`query.createNode(${n})`,{suggest:`query.parseReactElement(${n}).toNodeTree()`});const a=this.parseReactElement(n).toNodeTree(),i=a.nodes[a.rootNodeId];return o&&(o.id&&(i.id=o.id),o.data&&(i.data={...i.data,...o.data})),i},getState:()=>t}}var b2=function(t){is(r,td);var e=us(r);function r(){return Yo(this,r),e.apply(this,arguments)}return Xo(r,[{key:"handlers",value:function(){return{connect:function(n,o){},select:function(n,o){},hover:function(n,o){},drag:function(n,o){},drop:function(n,o){},create:function(n,o,a){}}}}]),r}();(function(t){is(r,Xx);var e=us(r);function r(){return Yo(this,r),e.apply(this,arguments)}return Xo(r)})();var fl=function(t){t.preventDefault()},ui=function(){function t(e,r){Yo(this,t),ge(this,"store",void 0),ge(this,"dragTarget",void 0),ge(this,"currentDropTargetId",void 0),ge(this,"currentDropTargetCanvasAncestorId",void 0),ge(this,"currentIndicator",null),ge(this,"currentTargetId",void 0),ge(this,"currentTargetChildDimensions",void 0),ge(this,"dragError",void 0),ge(this,"draggedNodes",void 0),ge(this,"onScrollListener",void 0),this.store=e,this.dragTarget=r,this.currentDropTargetId=null,this.currentDropTargetCanvasAncestorId=null,this.currentTargetId=null,this.currentTargetChildDimensions=null,this.currentIndicator=null,this.dragError=null,this.draggedNodes=this.getDraggedNodes(),this.validateDraggedNodes(),this.onScrollListener=this.onScroll.bind(this),window.addEventListener("scroll",this.onScrollListener,!0),window.addEventListener("dragover",fl,!1)}return Xo(t,[{key:"cleanup",value:function(){window.removeEventListener("scroll",this.onScrollListener,!0),window.removeEventListener("dragover",fl,!1)}},{key:"onScroll",value:function(e){var r=e.target,n=this.store.query.node(mt).get();r instanceof Element&&n&&n.dom&&r.contains(n.dom)&&(this.currentTargetChildDimensions=null)}},{key:"getDraggedNodes",value:function(){return ft(this.store.query.getNodes(),this.dragTarget.type==="new"?this.dragTarget.tree.nodes[this.dragTarget.tree.rootNodeId]:this.dragTarget.nodes)}},{key:"validateDraggedNodes",value:function(){var e=this;this.dragTarget.type!=="new"&&this.draggedNodes.forEach(function(r){r.exists&&e.store.query.node(r.node.id).isDraggable(function(n){e.dragError=n})})}},{key:"isNearBorders",value:function(e,r,n){return e.top+t.BORDER_OFFSET>n||e.bottom-t.BORDER_OFFSET<n||e.left+t.BORDER_OFFSET>r||e.right-t.BORDER_OFFSET<r}},{key:"isDiff",value:function(e){return!this.currentIndicator||this.currentIndicator.placement.parent.id!==e.parent.id||this.currentIndicator.placement.index!==e.index||this.currentIndicator.placement.where!==e.where}},{key:"getChildDimensions",value:function(e){var r=this,n=this.currentTargetChildDimensions;return this.currentTargetId===e.id&&n?n:e.data.nodes.reduce(function(o,a){var i=r.store.query.node(a).get().dom;return i&&o.push(se({id:a},un(i))),o},[])}},{key:"getCanvasAncestor",value:function(e){var r=this;if(e===this.currentDropTargetId&&this.currentDropTargetCanvasAncestorId){var n=this.store.query.node(this.currentDropTargetCanvasAncestorId).get();if(n)return n}return function o(a){var i=r.store.query.node(a).get();return i&&i.data.isCanvas?i:i.data.parent?o(i.data.parent):null}(e)}},{key:"computeIndicator",value:function(e,r,n){var o=this.getCanvasAncestor(e);if(o&&(this.currentDropTargetId=e,this.currentDropTargetCanvasAncestorId=o.id,o.data.parent&&this.isNearBorders(un(o.dom),r,n)&&!this.store.query.node(o.id).isLinkedNode()&&(o=this.store.query.node(o.data.parent).get()),o)){this.currentTargetChildDimensions=this.getChildDimensions(o),this.currentTargetId=o.id;var a=hd(o,this.currentTargetChildDimensions,r,n);if(this.isDiff(a)){var i=this.dragError;i||this.store.query.node(o.id).isDroppable(this.draggedNodes.map(function(l){return l.node}),function(l){i=l});var s=o.data.nodes[a.index],u=s&&this.store.query.node(s).get();return this.currentIndicator={placement:se(se({},a),{},{currentNode:u}),error:i},this.currentIndicator}}}},{key:"getIndicator",value:function(){return this.currentIndicator}}]),t}();ge(ui,"BORDER_OFFSET",10);var pl=function(t,e){if(e.length===1||arguments.length>2&&arguments[2]!==void 0&&arguments[2]){var r=e[0].getBoundingClientRect(),n=r.width,o=r.height,a=e[0].cloneNode(!0);return a.style.position="absolute",a.style.left="-100%",a.style.top="-100%",a.style.width="".concat(n,"px"),a.style.height="".concat(o,"px"),a.style.pointerEvents="none",a.classList.add("drag-shadow"),document.body.appendChild(a),t.dataTransfer.setDragImage(a,0,0),a}var i=document.createElement("div");return i.style.position="absolute",i.style.left="-100%",i.style.top="-100%",i.style.width="100%",i.style.height="100%",i.style.pointerEvents="none",i.classList.add("drag-shadow-container"),e.forEach(function(s){var u=s.getBoundingClientRect(),l=u.width,c=u.height,h=u.top,f=u.left,d=s.cloneNode(!0);d.style.position="absolute",d.style.left="".concat(f,"px"),d.style.top="".concat(h,"px"),d.style.width="".concat(l,"px"),d.style.height="".concat(c,"px"),d.classList.add("drag-shadow"),i.appendChild(d)}),document.body.appendChild(i),t.dataTransfer.setDragImage(i,t.clientX,t.clientY),i},bd=function(t){is(r,b2);var e=us(r);function r(){var n;Yo(this,r);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return ge(Qr(n=e.call.apply(e,[this].concat(a))),"draggedElementShadow",void 0),ge(Qr(n),"dragTarget",void 0),ge(Qr(n),"positioner",null),ge(Qr(n),"currentSelectedElementIds",[]),n}return Xo(r,[{key:"onDisable",value:function(){this.options.store.actions.clearEvents()}},{key:"handlers",value:function(){var n=this,o=this.options.store;return{connect:function(a,i){return o.actions.setDOM(i,a),n.reflect(function(s){s.select(a,i),s.hover(a,i),s.drop(a,i)})},select:function(a,i){var s=n.addCraftEventListener(a,"mousedown",function(l){l.craft.stopPropagation();var c=[];if(i){var h=o.query,f=h.getEvent("selected").all();(n.options.isMultiSelectEnabled(l)||f.includes(i))&&(c=f.filter(function(d){var b=h.node(d).descendants(!0),g=h.node(d).ancestors(!0);return!b.includes(i)&&!g.includes(i)})),c.includes(i)||c.push(i)}o.actions.setNodeEvent("selected",c)}),u=n.addCraftEventListener(a,"click",function(l){l.craft.stopPropagation();var c=o.query.getEvent("selected").all(),h=n.options.isMultiSelectEnabled(l),f=n.currentSelectedElementIds.includes(i),d=ln(c);h&&f?(d.splice(d.indexOf(i),1),o.actions.setNodeEvent("selected",d)):!h&&c.length>1&&o.actions.setNodeEvent("selected",d=[i]),n.currentSelectedElementIds=d});return function(){s(),u()}},hover:function(a,i){var s=n.addCraftEventListener(a,"mouseover",function(l){l.craft.stopPropagation(),o.actions.setNodeEvent("hovered",i)}),u=null;return n.options.removeHoverOnMouseleave&&(u=n.addCraftEventListener(a,"mouseleave",function(l){l.craft.stopPropagation(),o.actions.setNodeEvent("hovered",null)})),function(){s(),u&&u()}},drop:function(a,i){var s=n.addCraftEventListener(a,"dragover",function(l){if(l.craft.stopPropagation(),l.preventDefault(),n.positioner){var c=n.positioner.computeIndicator(i,l.clientX,l.clientY);c&&o.actions.setIndicator(c)}}),u=n.addCraftEventListener(a,"dragenter",function(l){l.craft.stopPropagation(),l.preventDefault()});return function(){u(),s()}},drag:function(a,i){if(!o.query.node(i).isDraggable())return function(){};a.setAttribute("draggable","true");var s=n.addCraftEventListener(a,"dragstart",function(l){l.craft.stopPropagation();var c=o.query,h=o.actions,f=c.getEvent("selected").all(),d=n.options.isMultiSelectEnabled(l);n.currentSelectedElementIds.includes(i)||(f=d?[].concat(ln(f),[i]):[i],o.actions.setNodeEvent("selected",f)),h.setNodeEvent("dragged",f);var b=f.map(function(g){return c.node(g).get().dom});n.draggedElementShadow=pl(l,b,r.forceSingleDragShadow),n.dragTarget={type:"existing",nodes:f},n.positioner=new ui(n.options.store,n.dragTarget)}),u=n.addCraftEventListener(a,"dragend",function(l){l.craft.stopPropagation(),n.dropElement(function(c,h){c.type!=="new"&&o.actions.move(c.nodes,h.placement.parent.id,h.placement.index+(h.placement.where==="after"?1:0))})});return function(){a.setAttribute("draggable","false"),s(),u()}},create:function(a,i,s){a.setAttribute("draggable","true");var u=n.addCraftEventListener(a,"dragstart",function(c){var h;if(c.craft.stopPropagation(),typeof i=="function"){var f=i();h=w.isValidElement(f)?o.query.parseReactElement(f).toNodeTree():f}else h=o.query.parseReactElement(i).toNodeTree();n.draggedElementShadow=pl(c,[c.currentTarget],r.forceSingleDragShadow),n.dragTarget={type:"new",tree:h},n.positioner=new ui(n.options.store,n.dragTarget)}),l=n.addCraftEventListener(a,"dragend",function(c){c.craft.stopPropagation(),n.dropElement(function(h,f){h.type!=="existing"&&(o.actions.addNodeTree(h.tree,f.placement.parent.id,f.placement.index+(f.placement.where==="after"?1:0)),s&&tb(s.onCreate)&&s.onCreate(h.tree))})});return function(){a.removeAttribute("draggable"),u(),l()}}}}},{key:"dropElement",value:function(n){var o=this.options.store;if(this.positioner){var a=this.draggedElementShadow,i=this.positioner.getIndicator();this.dragTarget&&i&&!i.error&&n(this.dragTarget,i),a&&(a.parentNode.removeChild(a),this.draggedElementShadow=null),this.dragTarget=null,o.actions.setIndicator(null),o.actions.setNodeEvent("dragged",null),this.positioner.cleanup(),this.positioner=null}}}]),r}();function g2(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,o=0,a=0,i=0,s=0,u=t.where;return r?r.inFlow?(i=r.outerWidth,s=n,o=u==="before"?r.top:r.bottom,a=r.left):(i=n,s=r.outerHeight,o=r.top,a=u==="before"?r.left:r.left+r.outerWidth):e&&(o=e.top+e.padding.top,a=e.left+e.padding.left,i=e.outerWidth-e.padding.right-e.padding.left-e.margin.left-e.margin.right,s=n),{top:"".concat(o,"px"),left:"".concat(a,"px"),width:"".concat(i,"px"),height:"".concat(s,"px")}}ge(bd,"forceSingleDragShadow",e2()&&Qx());const v2=()=>{const{indicator:t,indicatorOptions:e,enabled:r}=Qt(o=>({indicator:o.indicator,indicatorOptions:o.options.indicator,enabled:o.options.enabled})),n=cd();return w.useEffect(()=>{n&&(r?n.enable():n.disable())},[r,n]),t?w.createElement(Zx,{className:e.className,style:{...g2(t.placement,un(t.placement.parent.dom),t.placement.currentNode&&un(t.placement.currentNode.dom),e.thickness),backgroundColor:t.error?e.error:e.success,transition:e.transition||"0.2s ease-in",...e.style??{}},parentDom:t.placement.parent.dom}):null},y2=({children:t})=>{const e=w.useContext(ls),r=w.useMemo(()=>e.query.getOptions().handlers(e),[e]);return r?w.createElement(ld.Provider,{value:r},w.createElement(v2,null),t):null},hl={nodes:{},events:{dragged:new Set,selected:new Set,hovered:new Set},indicator:null,options:{onNodesChange:()=>null,onRender:({render:t})=>t,onBeforeMoveEnd:()=>null,resolver:{},enabled:!0,indicator:{error:"red",success:"rgb(98, 196, 98)"},handlers:t=>new bd({store:t,removeHoverOnMouseleave:!1,isMultiSelectEnabled:e=>!!e.metaKey}),normalizeNodes:()=>{}}},x2={methods:function(t,e){return se(se({},function(r,n){var o=function(s,u,l){if(function f(d,b){var g=s.nodes[d];typeof g.data.type!="string"&&oe(r.options.resolver[g.data.name],ho.replace("%node_type%","".concat(g.data.type.name))),r.nodes[d]=se(se({},g),{},{data:se(se({},g.data),{},{parent:b})}),g.data.nodes.length>0&&(delete r.nodes[d].data.props.children,g.data.nodes.forEach(function(m){return f(m,g.id)})),Object.values(g.data.linkedNodes).forEach(function(m){return f(m,g.id)})}(s.rootNodeId,u),u||s.rootNodeId!==mt){var c=a(u);if(l.type!=="child")c.data.linkedNodes[l.id]=s.rootNodeId;else{var h=l.index;h!=null?c.data.nodes.splice(h,0,s.rootNodeId):c.data.nodes.push(s.rootNodeId)}}},a=function(s){oe(s,jx);var u=r.nodes[s];return oe(u,Yc),u},i=function s(u){var l=r.nodes[u],c=r.nodes[l.data.parent];if(l.data.nodes&&ln(l.data.nodes).forEach(function(d){return s(d)}),l.data.linkedNodes&&Object.values(l.data.linkedNodes).map(function(d){return s(d)}),c.data.nodes.includes(u)){var h=c.data.nodes;h.splice(h.indexOf(u),1)}else{var f=Object.keys(c.data.linkedNodes).find(function(d){return c.data.linkedNodes[d]===d});f&&delete c.data.linkedNodes[f]}(function(d,b){Object.keys(d.events).forEach(function(g){var m=d.events[g];m&&m.has&&m.has(b)&&(d.events[g]=new Set(Array.from(m).filter(function(v){return b!==v})))})})(r,u),delete r.nodes[u]};return{addLinkedNodeFromTree:function(s,u,l){var c=a(u).data.linkedNodes[l];c&&i(c),o(s,u,{type:"linked",id:l})},add:function(s,u,l){var c=[s];Array.isArray(s)&&(_t("actions.add(node: Node[])",{suggest:"actions.add(node: Node)"}),c=s),c.forEach(function(h){o({nodes:ge({},h.id,h),rootNodeId:h.id},u,{type:"child",index:l})})},addNodeTree:function(s,u,l){o(s,u,{type:"child",index:l})},delete:function(s){ft(r.nodes,s,{existOnly:!0,idOnly:!0}).forEach(function(u){var l=u.node;oe(!n.node(l.id).isTopLevelNode(),Lx),i(l.id)})},deserialize:function(s){var u=typeof s=="string"?JSON.parse(s):s,l=Object.keys(u).map(function(c){var h=c;return c===Gc&&(h=mt),[h,n.parseSerializedNode(u[c]).toNode(function(f){return f.id=h})]});this.replaceNodes(pd(l))},move:function(s,u,l){var c=ft(r.nodes,s,{existOnly:!0}),h=r.nodes[u],f=new Set;c.forEach(function(d,b){var g=d.node,m=g.id,v=g.data.parent;n.node(u).isDroppable([m],function(E){throw new Error(E)}),r.options.onBeforeMoveEnd(g,h,r.nodes[v]);var x=r.nodes[v].data.nodes;f.add(x);var S=x.indexOf(m);x[S]="$$",h.data.nodes.splice(l+b,0,m),r.nodes[m].data.parent=u}),f.forEach(function(d){var b=d.length;ln(d).reverse().forEach(function(g,m){g==="$$"&&d.splice(b-1-m,1)})})},replaceNodes:function(s){this.clearEvents(),r.nodes=s},clearEvents:function(){this.setNodeEvent("selected",null),this.setNodeEvent("hovered",null),this.setNodeEvent("dragged",null),this.setIndicator(null)},reset:function(){this.clearEvents(),this.replaceNodes({})},setOptions:function(s){s(r.options)},setNodeEvent:function(s,u){if(r.events[s].forEach(function(h){r.nodes[h]&&(r.nodes[h].events[s]=!1)}),r.events[s]=new Set,u){var l=ft(r.nodes,u,{idOnly:!0,existOnly:!0}),c=new Set(l.map(function(h){return h.node.id}));c.forEach(function(h){r.nodes[h].events[s]=!0}),r.events[s]=c}},setCustom:function(s,u){ft(r.nodes,s,{idOnly:!0,existOnly:!0}).forEach(function(l){return u(r.nodes[l.node.id].data.custom)})},setDOM:function(s,u){r.nodes[s]&&(r.nodes[s].dom=u)},setIndicator:function(s){s&&(!s.placement.parent.dom||s.placement.currentNode&&!s.placement.currentNode.dom)||(r.indicator=s)},setHidden:function(s,u){r.nodes[s].data.hidden=u},setProp:function(s,u){ft(r.nodes,s,{idOnly:!0,existOnly:!0}).forEach(function(l){return u(r.nodes[l.node.id].data.props)})},selectNode:function(s){if(s){var u=ft(r.nodes,s,{idOnly:!0,existOnly:!0});this.setNodeEvent("selected",u.map(function(l){return l.node.id}))}else this.setNodeEvent("selected",null);this.setNodeEvent("hovered",null)}}}(t,e)),{},{setState:function(r){var n=ss(this,c2);r(t,n)}})},ignoreHistoryForActions:["setDOM","setNodeEvent","selectNode","clearEvents","setOptions","setIndicator"],normalizeHistory:t=>{Object.keys(t.events).forEach(e=>{Array.from(t.events[e]||[]).forEach(r=>{t.nodes[r]||t.events[e].delete(r)})}),Object.keys(t.nodes).forEach(e=>{const r=t.nodes[e];Object.keys(r.events).forEach(n=>{r.events[n]&&t.events[n]&&!t.events[n].has(r.id)&&(r.events[n]=!1)})})}},w2=(t,e)=>Ux(x2,{...hl,options:{...hl.options,...t}},md,e),li=({children:t,...e})=>{e.resolver!==void 0&&oe(typeof e.resolver=="object"&&!Array.isArray(e.resolver)&&e.resolver!==null,$x);const r=y.useRef(e),n=w2(r.current,(o,a,i,s,u)=>{if(!i)return;const{patches:l,...c}=i;for(let h=0;h<l.length;h++){const{path:f}=l[h],d=f.length>2&&f[0]==="nodes"&&f[2]==="data";if([fe.IGNORE,fe.THROTTLE].includes(c.type)&&c.params&&(c.type=c.params[0]),["setState","deserialize"].includes(c.type)||d){u(b=>{o.options.normalizeNodes&&o.options.normalizeNodes(b,a,c,s)});break}}});return y.useEffect(()=>{n&&e.enabled!==void 0&&n.query.getOptions().enabled!==e.enabled&&n.actions.setOptions(o=>{o.enabled=e.enabled})},[n,e.enabled]),y.useEffect(()=>{n.subscribe(o=>({json:n.query.serialize()}),()=>{n.query.getOptions().onNodesChange(n.query)})},[n]),n?y.createElement(ls.Provider,{value:n},y.createElement(y2,null,t)):null},gd=w.createContext("desktop"),ds=({value:t,children:e})=>p.jsx(gd.Provider,{value:t,children:e}),er=()=>w.useContext(gd),Re=["mobile","tablet","small","desktop"],ht=(t,e,r)=>{if(typeof t!="object"||t===null)return t??r;if("top"in t||"right"in t)return t;const n=Re.indexOf(e);for(let o=n;o<Re.length;o++){const a=Re[o];if(t[a]!==void 0&&t[a]!==null)return t[a]}for(let o=n-1;o>=0;o--){const a=Re[o];if(t[a]!==void 0&&t[a]!==null)return t[a]}return r};function ue(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function tr(t,e=[]){let r=[];function n(a,i){const s=y.createContext(i),u=r.length;r=[...r,i];const l=h=>{var v;const{scope:f,children:d,...b}=h,g=((v=f==null?void 0:f[t])==null?void 0:v[u])||s,m=y.useMemo(()=>b,Object.values(b));return p.jsx(g.Provider,{value:m,children:d})};l.displayName=a+"Provider";function c(h,f){var g;const d=((g=f==null?void 0:f[t])==null?void 0:g[u])||s,b=y.useContext(d);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[l,c]}const o=()=>{const a=r.map(i=>y.createContext(i));return function(s){const u=(s==null?void 0:s[t])||a;return y.useMemo(()=>({[`__scope${t}`]:{...s,[t]:u}}),[s,u])}};return o.scopeName=t,[n,S2(o,...e)]}function S2(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:u,scopeName:l})=>{const h=u(a)[`__scope${l}`];return{...s,...h}},{});return y.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return r.scopeName=e.scopeName,r}function C2(t){const e=E2(t),r=y.forwardRef((n,o)=>{const{children:a,...i}=n,s=y.Children.toArray(a),u=s.find(N2);if(u){const l=u.props.children,c=s.map(h=>h===u?y.Children.count(l)>1?y.Children.only(null):y.isValidElement(l)?l.props.children:null:h);return p.jsx(e,{...i,ref:o,children:y.isValidElement(l)?y.cloneElement(l,void 0,c):null})}return p.jsx(e,{...i,ref:o,children:a})});return r.displayName=`${t}.Slot`,r}function E2(t){const e=y.forwardRef((r,n)=>{const{children:o,...a}=r;if(y.isValidElement(o)){const i=A2(o),s=j2(a,o.props);return o.type!==y.Fragment&&(s.ref=n?Lo(n,i):i),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var T2=Symbol("radix.slottable");function N2(t){return y.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===T2}function j2(t,e){const r={...e};for(const n in e){const o=t[n],a=e[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{const u=a(...s);return o(...s),u}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...t,...r}}function A2(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var O2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=O2.reduce((t,e)=>{const r=C2(`Primitive.${e}`),n=y.forwardRef((o,a)=>{const{asChild:i,...s}=o,u=i?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...s,ref:a})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function P2(t,e){t&&pc.flushSync(()=>t.dispatchEvent(e))}function Ie(t){const e=y.useRef(t);return y.useEffect(()=>{e.current=t}),y.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function k2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t);y.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var _2="DismissableLayer",ci="dismissableLayer.update",R2="dismissableLayer.pointerDownOutside",I2="dismissableLayer.focusOutside",ml,vd=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yd=y.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:i,onDismiss:s,...u}=t,l=y.useContext(vd),[c,h]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=y.useState({}),b=we(e,_=>h(_)),g=Array.from(l.layers),[m]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(m),x=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,E=x>=v,j=L2(_=>{const D=_.target,L=[...l.branches].some($=>$.contains(D));!E||L||(o==null||o(_),i==null||i(_),_.defaultPrevented||s==null||s())},f),k=$2(_=>{const D=_.target;[...l.branches].some($=>$.contains(D))||(a==null||a(_),i==null||i(_),_.defaultPrevented||s==null||s())},f);return k2(_=>{x===l.layers.size-1&&(n==null||n(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(ml=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),bl(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=ml)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),bl())},[c,l]),y.useEffect(()=>{const _=()=>d({});return document.addEventListener(ci,_),()=>document.removeEventListener(ci,_)},[]),p.jsx(me.div,{...u,ref:b,style:{pointerEvents:S?E?"auto":"none":void 0,...t.style},onFocusCapture:ue(t.onFocusCapture,k.onFocusCapture),onBlurCapture:ue(t.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ue(t.onPointerDownCapture,j.onPointerDownCapture)})});yd.displayName=_2;var D2="DismissableLayerBranch",M2=y.forwardRef((t,e)=>{const r=y.useContext(vd),n=y.useRef(null),o=we(e,n);return y.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),p.jsx(me.div,{...t,ref:o})});M2.displayName=D2;function L2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t),n=y.useRef(!1),o=y.useRef(()=>{});return y.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){xd(R2,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=u,e.addEventListener("click",o.current,{once:!0})):u()}else e.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",a),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function $2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t),n=y.useRef(!1);return y.useEffect(()=>{const o=a=>{a.target&&!n.current&&xd(I2,r,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function bl(){const t=new CustomEvent(ci);document.dispatchEvent(t)}function xd(t,e,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?P2(o,a):o.dispatchEvent(a)}var Rt=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},B2=y[" useId ".trim().toString()]||(()=>{}),H2=0;function wd(t){const[e,r]=y.useState(B2());return Rt(()=>{r(n=>n??String(H2++))},[t]),e?`radix-${e}`:""}const z2=["top","right","bottom","left"],It=Math.min,Ae=Math.max,vo=Math.round,Hn=Math.floor,Ke=t=>({x:t,y:t}),F2={left:"right",right:"left",bottom:"top",top:"bottom"},q2={start:"end",end:"start"};function di(t,e,r){return Ae(t,It(e,r))}function vt(t,e){return typeof t=="function"?t(e):t}function yt(t){return t.split("-")[0]}function Br(t){return t.split("-")[1]}function fs(t){return t==="x"?"y":"x"}function ps(t){return t==="y"?"height":"width"}const U2=new Set(["top","bottom"]);function Ye(t){return U2.has(yt(t))?"y":"x"}function hs(t){return fs(Ye(t))}function V2(t,e,r){r===void 0&&(r=!1);const n=Br(t),o=hs(t),a=ps(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=yo(i)),[i,yo(i)]}function W2(t){const e=yo(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>q2[e])}const gl=["left","right"],vl=["right","left"],G2=["top","bottom"],Y2=["bottom","top"];function X2(t,e,r){switch(t){case"top":case"bottom":return r?e?vl:gl:e?gl:vl;case"left":case"right":return e?G2:Y2;default:return[]}}function K2(t,e,r,n){const o=Br(t);let a=X2(yt(t),r==="start",n);return o&&(a=a.map(i=>i+"-"+o),e&&(a=a.concat(a.map(fi)))),a}function yo(t){return t.replace(/left|right|bottom|top/g,e=>F2[e])}function J2(t){return{top:0,right:0,bottom:0,left:0,...t}}function Sd(t){return typeof t!="number"?J2(t):{top:t,right:t,bottom:t,left:t}}function xo(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function yl(t,e,r){let{reference:n,floating:o}=t;const a=Ye(e),i=hs(e),s=ps(i),u=yt(e),l=a==="y",c=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,f=n[s]/2-o[s]/2;let d;switch(u){case"top":d={x:c,y:n.y-o.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:h};break;case"left":d={x:n.x-o.width,y:h};break;default:d={x:n.x,y:n.y}}switch(Br(e)){case"start":d[i]-=f*(r&&l?-1:1);break;case"end":d[i]+=f*(r&&l?-1:1);break}return d}const Z2=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=a.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let l=await i.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:h}=yl(l,n,u),f=n,d={},b=0;for(let g=0;g<s.length;g++){const{name:m,fn:v}=s[g],{x,y:S,data:E,reset:j}=await v({x:c,y:h,initialPlacement:n,placement:f,strategy:o,middlewareData:d,rects:l,platform:i,elements:{reference:t,floating:e}});c=x??c,h=S??h,d={...d,[m]:{...d[m],...E}},j&&b<=50&&(b++,typeof j=="object"&&(j.placement&&(f=j.placement),j.rects&&(l=j.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:o}):j.rects),{x:c,y:h}=yl(l,f,u)),g=-1)}return{x:c,y:h,placement:f,strategy:o,middlewareData:d}};async function cn(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:u}=t,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:d=0}=vt(e,t),b=Sd(d),m=s[f?h==="floating"?"reference":"floating":h],v=xo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(m)))==null||r?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),x=h==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),E=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},j=xo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:S,strategy:u}):x);return{top:(v.top-j.top+b.top)/E.y,bottom:(j.bottom-v.bottom+b.bottom)/E.y,left:(v.left-j.left+b.left)/E.x,right:(j.right-v.right+b.right)/E.x}}const Q2=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:a,platform:i,elements:s,middlewareData:u}=e,{element:l,padding:c=0}=vt(t,e)||{};if(l==null)return{};const h=Sd(c),f={x:r,y:n},d=hs(o),b=ps(d),g=await i.getDimensions(l),m=d==="y",v=m?"top":"left",x=m?"bottom":"right",S=m?"clientHeight":"clientWidth",E=a.reference[b]+a.reference[d]-f[d]-a.floating[b],j=f[d]-a.reference[d],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let _=k?k[S]:0;(!_||!await(i.isElement==null?void 0:i.isElement(k)))&&(_=s.floating[S]||a.floating[b]);const D=E/2-j/2,L=_/2-g[b]/2-1,$=It(h[v],L),C=It(h[x],L),N=$,P=_-g[b]-C,I=_/2-g[b]/2+D,T=di(N,I,P),O=!u.arrow&&Br(o)!=null&&I!==T&&a.reference[b]/2-(I<N?$:C)-g[b]/2<0,A=O?I<N?I-N:I-P:0;return{[d]:f[d]+A,data:{[d]:T,centerOffset:I-T-A,...O&&{alignmentOffset:A}},reset:O}}}),ew=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:u,elements:l}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...m}=vt(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const v=yt(o),x=Ye(s),S=yt(s)===s,E=await(u.isRTL==null?void 0:u.isRTL(l.floating)),j=f||(S||!g?[yo(s)]:W2(s)),k=b!=="none";!f&&k&&j.push(...K2(s,g,b,E));const _=[s,...j],D=await cn(e,m),L=[];let $=((n=a.flip)==null?void 0:n.overflows)||[];if(c&&L.push(D[v]),h){const I=V2(o,i,E);L.push(D[I[0]],D[I[1]])}if($=[...$,{placement:o,overflows:L}],!L.every(I=>I<=0)){var C,N;const I=(((C=a.flip)==null?void 0:C.index)||0)+1,T=_[I];if(T&&(!(h==="alignment"?x!==Ye(T):!1)||$.every(R=>Ye(R.placement)===x?R.overflows[0]>0:!0)))return{data:{index:I,overflows:$},reset:{placement:T}};let O=(N=$.filter(A=>A.overflows[0]<=0).sort((A,R)=>A.overflows[1]-R.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(d){case"bestFit":{var P;const A=(P=$.filter(R=>{if(k){const M=Ye(R.placement);return M===x||M==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(M=>M>0).reduce((M,q)=>M+q,0)]).sort((R,M)=>R[1]-M[1])[0])==null?void 0:P[0];A&&(O=A);break}case"initialPlacement":O=s;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function xl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wl(t){return z2.some(e=>t[e]>=0)}const tw=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=vt(t,e);switch(n){case"referenceHidden":{const a=await cn(e,{...o,elementContext:"reference"}),i=xl(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:wl(i)}}}case"escaped":{const a=await cn(e,{...o,altBoundary:!0}),i=xl(a,r.floating);return{data:{escapedOffsets:i,escaped:wl(i)}}}default:return{}}}}},Cd=new Set(["left","top"]);async function rw(t,e){const{placement:r,platform:n,elements:o}=t,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=yt(r),s=Br(r),u=Ye(r)==="y",l=Cd.has(i)?-1:1,c=a&&u?-1:1,h=vt(e,t);let{mainAxis:f,crossAxis:d,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof b=="number"&&(d=s==="end"?b*-1:b),u?{x:d*c,y:f*l}:{x:f*l,y:d*c}}const nw=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:a,placement:i,middlewareData:s}=e,u=await rw(e,t);return i===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:i}}}}},ow=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:m=>{let{x:v,y:x}=m;return{x:v,y:x}}},...u}=vt(t,e),l={x:r,y:n},c=await cn(e,u),h=Ye(yt(o)),f=fs(h);let d=l[f],b=l[h];if(a){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",x=d+c[m],S=d-c[v];d=di(x,d,S)}if(i){const m=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=b+c[m],S=b-c[v];b=di(x,b,S)}const g=s.fn({...e,[f]:d,[h]:b});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[f]:a,[h]:i}}}}}},aw=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=e,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=vt(t,e),c={x:r,y:n},h=Ye(o),f=fs(h);let d=c[f],b=c[h];const g=vt(s,e),m=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const S=f==="y"?"height":"width",E=a.reference[f]-a.floating[S]+m.mainAxis,j=a.reference[f]+a.reference[S]-m.mainAxis;d<E?d=E:d>j&&(d=j)}if(l){var v,x;const S=f==="y"?"width":"height",E=Cd.has(yt(o)),j=a.reference[h]-a.floating[S]+(E&&((v=i.offset)==null?void 0:v[h])||0)+(E?0:m.crossAxis),k=a.reference[h]+a.reference[S]+(E?0:((x=i.offset)==null?void 0:x[h])||0)-(E?m.crossAxis:0);b<j?b=j:b>k&&(b=k)}return{[f]:d,[h]:b}}}},iw=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:a,platform:i,elements:s}=e,{apply:u=()=>{},...l}=vt(t,e),c=await cn(e,l),h=yt(o),f=Br(o),d=Ye(o)==="y",{width:b,height:g}=a.floating;let m,v;h==="top"||h==="bottom"?(m=h,v=f===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(v=h,m=f==="end"?"top":"bottom");const x=g-c.top-c.bottom,S=b-c.left-c.right,E=It(g-c[m],x),j=It(b-c[v],S),k=!e.middlewareData.shift;let _=E,D=j;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(D=S),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(_=x),k&&!f){const $=Ae(c.left,0),C=Ae(c.right,0),N=Ae(c.top,0),P=Ae(c.bottom,0);d?D=b-2*($!==0||C!==0?$+C:Ae(c.left,c.right)):_=g-2*(N!==0||P!==0?N+P:Ae(c.top,c.bottom))}await u({...e,availableWidth:D,availableHeight:_});const L=await i.getDimensions(s.floating);return b!==L.width||g!==L.height?{reset:{rects:!0}}:{}}}};function Jo(){return typeof window<"u"}function Hr(t){return Ed(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function nt(t){var e;return(e=(Ed(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ed(t){return Jo()?t instanceof Node||t instanceof Oe(t).Node:!1}function Fe(t){return Jo()?t instanceof Element||t instanceof Oe(t).Element:!1}function tt(t){return Jo()?t instanceof HTMLElement||t instanceof Oe(t).HTMLElement:!1}function Sl(t){return!Jo()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot}const sw=new Set(["inline","contents"]);function En(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!sw.has(o)}const uw=new Set(["table","td","th"]);function lw(t){return uw.has(Hr(t))}const cw=[":popover-open",":modal"];function Zo(t){return cw.some(e=>{try{return t.matches(e)}catch{return!1}})}const dw=["transform","translate","scale","rotate","perspective"],fw=["transform","translate","scale","rotate","perspective","filter"],pw=["paint","layout","strict","content"];function ms(t){const e=bs(),r=Fe(t)?qe(t):t;return dw.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||fw.some(n=>(r.willChange||"").includes(n))||pw.some(n=>(r.contain||"").includes(n))}function hw(t){let e=Dt(t);for(;tt(e)&&!wr(e);){if(ms(e))return e;if(Zo(e))return null;e=Dt(e)}return null}function bs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mw=new Set(["html","body","#document"]);function wr(t){return mw.has(Hr(t))}function qe(t){return Oe(t).getComputedStyle(t)}function Qo(t){return Fe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dt(t){if(Hr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Sl(t)&&t.host||nt(t);return Sl(e)?e.host:e}function Td(t){const e=Dt(t);return wr(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&En(e)?e:Td(e)}function dn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=Td(t),a=o===((n=t.ownerDocument)==null?void 0:n.body),i=Oe(o);if(a){const s=pi(i);return e.concat(i,i.visualViewport||[],En(o)?o:[],s&&r?dn(s):[])}return e.concat(o,dn(o,[],r))}function pi(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Nd(t){const e=qe(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=tt(t),a=o?t.offsetWidth:r,i=o?t.offsetHeight:n,s=vo(r)!==a||vo(n)!==i;return s&&(r=a,n=i),{width:r,height:n,$:s}}function gs(t){return Fe(t)?t:t.contextElement}function gr(t){const e=gs(t);if(!tt(e))return Ke(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:a}=Nd(e);let i=(a?vo(r.width):r.width)/n,s=(a?vo(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const bw=Ke(0);function jd(t){const e=Oe(t);return!bs()||!e.visualViewport?bw:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function gw(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Oe(t)?!1:e}function Yt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),a=gs(t);let i=Ke(1);e&&(n?Fe(n)&&(i=gr(n)):i=gr(t));const s=gw(a,r,n)?jd(a):Ke(0);let u=(o.left+s.x)/i.x,l=(o.top+s.y)/i.y,c=o.width/i.x,h=o.height/i.y;if(a){const f=Oe(a),d=n&&Fe(n)?Oe(n):n;let b=f,g=pi(b);for(;g&&n&&d!==b;){const m=gr(g),v=g.getBoundingClientRect(),x=qe(g),S=v.left+(g.clientLeft+parseFloat(x.paddingLeft))*m.x,E=v.top+(g.clientTop+parseFloat(x.paddingTop))*m.y;u*=m.x,l*=m.y,c*=m.x,h*=m.y,u+=S,l+=E,b=Oe(g),g=pi(b)}}return xo({width:c,height:h,x:u,y:l})}function ea(t,e){const r=Qo(t).scrollLeft;return e?e.left+r:Yt(nt(t)).left+r}function Ad(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-ea(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function vw(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const a=o==="fixed",i=nt(n),s=e?Zo(e.floating):!1;if(n===i||s&&a)return r;let u={scrollLeft:0,scrollTop:0},l=Ke(1);const c=Ke(0),h=tt(n);if((h||!h&&!a)&&((Hr(n)!=="body"||En(i))&&(u=Qo(n)),tt(n))){const d=Yt(n);l=gr(n),c.x=d.x+n.clientLeft,c.y=d.y+n.clientTop}const f=i&&!h&&!a?Ad(i,u):Ke(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+f.x,y:r.y*l.y-u.scrollTop*l.y+c.y+f.y}}function yw(t){return Array.from(t.getClientRects())}function xw(t){const e=nt(t),r=Qo(t),n=t.ownerDocument.body,o=Ae(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ae(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+ea(t);const s=-r.scrollTop;return qe(n).direction==="rtl"&&(i+=Ae(e.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}const Cl=25;function ww(t,e){const r=Oe(t),n=nt(t),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,u=0;if(o){a=o.width,i=o.height;const c=bs();(!c||c&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}const l=ea(n);if(l<=0){const c=n.ownerDocument,h=c.body,f=getComputedStyle(h),d=c.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-d);b<=Cl&&(a-=b)}else l<=Cl&&(a+=l);return{width:a,height:i,x:s,y:u}}const Sw=new Set(["absolute","fixed"]);function Cw(t,e){const r=Yt(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,a=tt(t)?gr(t):Ke(1),i=t.clientWidth*a.x,s=t.clientHeight*a.y,u=o*a.x,l=n*a.y;return{width:i,height:s,x:u,y:l}}function El(t,e,r){let n;if(e==="viewport")n=ww(t,r);else if(e==="document")n=xw(nt(t));else if(Fe(e))n=Cw(e,r);else{const o=jd(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return xo(n)}function Od(t,e){const r=Dt(t);return r===e||!Fe(r)||wr(r)?!1:qe(r).position==="fixed"||Od(r,e)}function Ew(t,e){const r=e.get(t);if(r)return r;let n=dn(t,[],!1).filter(s=>Fe(s)&&Hr(s)!=="body"),o=null;const a=qe(t).position==="fixed";let i=a?Dt(t):t;for(;Fe(i)&&!wr(i);){const s=qe(i),u=ms(i);!u&&s.position==="fixed"&&(o=null),(a?!u&&!o:!u&&s.position==="static"&&!!o&&Sw.has(o.position)||En(i)&&!u&&Od(t,i))?n=n.filter(c=>c!==i):o=s,i=Dt(i)}return e.set(t,n),n}function Tw(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const i=[...r==="clippingAncestors"?Zo(e)?[]:Ew(e,this._c):[].concat(r),n],s=i[0],u=i.reduce((l,c)=>{const h=El(e,c,o);return l.top=Ae(h.top,l.top),l.right=It(h.right,l.right),l.bottom=It(h.bottom,l.bottom),l.left=Ae(h.left,l.left),l},El(e,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Nw(t){const{width:e,height:r}=Nd(t);return{width:e,height:r}}function jw(t,e,r){const n=tt(e),o=nt(e),a=r==="fixed",i=Yt(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const u=Ke(0);function l(){u.x=ea(o)}if(n||!n&&!a)if((Hr(e)!=="body"||En(o))&&(s=Qo(e)),n){const d=Yt(e,!0,a,e);u.x=d.x+e.clientLeft,u.y=d.y+e.clientTop}else o&&l();a&&!n&&o&&l();const c=o&&!n&&!a?Ad(o,s):Ke(0),h=i.left+s.scrollLeft-u.x-c.x,f=i.top+s.scrollTop-u.y-c.y;return{x:h,y:f,width:i.width,height:i.height}}function _a(t){return qe(t).position==="static"}function Tl(t,e){if(!tt(t)||qe(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return nt(t)===r&&(r=r.ownerDocument.body),r}function Pd(t,e){const r=Oe(t);if(Zo(t))return r;if(!tt(t)){let o=Dt(t);for(;o&&!wr(o);){if(Fe(o)&&!_a(o))return o;o=Dt(o)}return r}let n=Tl(t,e);for(;n&&lw(n)&&_a(n);)n=Tl(n,e);return n&&wr(n)&&_a(n)&&!ms(n)?r:n||hw(t)||r}const Aw=async function(t){const e=this.getOffsetParent||Pd,r=this.getDimensions,n=await r(t.floating);return{reference:jw(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ow(t){return qe(t).direction==="rtl"}const Pw={convertOffsetParentRelativeRectToViewportRelativeRect:vw,getDocumentElement:nt,getClippingRect:Tw,getOffsetParent:Pd,getElementRects:Aw,getClientRects:yw,getDimensions:Nw,getScale:gr,isElement:Fe,isRTL:Ow};function kd(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function kw(t,e){let r=null,n;const o=nt(t);function a(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function i(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),a();const l=t.getBoundingClientRect(),{left:c,top:h,width:f,height:d}=l;if(s||e(),!f||!d)return;const b=Hn(h),g=Hn(o.clientWidth-(c+f)),m=Hn(o.clientHeight-(h+d)),v=Hn(c),S={rootMargin:-b+"px "+-g+"px "+-m+"px "+-v+"px",threshold:Ae(0,It(1,u))||1};let E=!0;function j(k){const _=k[0].intersectionRatio;if(_!==u){if(!E)return i();_?i(!1,_):n=setTimeout(()=>{i(!1,1e-7)},1e3)}_===1&&!kd(l,t.getBoundingClientRect())&&i(),E=!1}try{r=new IntersectionObserver(j,{...S,root:o.ownerDocument})}catch{r=new IntersectionObserver(j,S)}r.observe(t)}return i(!0),a}function _w(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,l=gs(t),c=o||a?[...l?dn(l):[],...dn(e)]:[];c.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),a&&v.addEventListener("resize",r)});const h=l&&s?kw(l,r):null;let f=-1,d=null;i&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===l&&d&&(d.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=d)==null||S.observe(e)})),r()}),l&&!u&&d.observe(l),d.observe(e));let b,g=u?Yt(t):null;u&&m();function m(){const v=Yt(t);g&&!kd(g,v)&&r(),g=v,b=requestAnimationFrame(m)}return r(),()=>{var v;c.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),h==null||h(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(b)}}const Rw=nw,Iw=ow,Dw=ew,Mw=iw,Lw=tw,Nl=Q2,$w=aw,Bw=(t,e,r)=>{const n=new Map,o={platform:Pw,...r},a={...o.platform,_c:n};return Z2(t,e,{...o,platform:a})};var Hw=typeof document<"u",zw=function(){},eo=Hw?w.useLayoutEffect:zw;function wo(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!wo(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&t.$$typeof)&&!wo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function _d(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function jl(t,e){const r=_d(t);return Math.round(e*r)/r}function Ra(t){const e=y.useRef(t);return eo(()=>{e.current=t}),e}function Fw(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:u,open:l}=t,[c,h]=y.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,d]=y.useState(n);wo(f,n)||d(n);const[b,g]=y.useState(null),[m,v]=y.useState(null),x=y.useCallback(R=>{R!==k.current&&(k.current=R,g(R))},[]),S=y.useCallback(R=>{R!==_.current&&(_.current=R,v(R))},[]),E=a||b,j=i||m,k=y.useRef(null),_=y.useRef(null),D=y.useRef(c),L=u!=null,$=Ra(u),C=Ra(o),N=Ra(l),P=y.useCallback(()=>{if(!k.current||!_.current)return;const R={placement:e,strategy:r,middleware:f};C.current&&(R.platform=C.current),Bw(k.current,_.current,R).then(M=>{const q={...M,isPositioned:N.current!==!1};I.current&&!wo(D.current,q)&&(D.current=q,pc.flushSync(()=>{h(q)}))})},[f,e,r,C,N]);eo(()=>{l===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(R=>({...R,isPositioned:!1})))},[l]);const I=y.useRef(!1);eo(()=>(I.current=!0,()=>{I.current=!1}),[]),eo(()=>{if(E&&(k.current=E),j&&(_.current=j),E&&j){if($.current)return $.current(E,j,P);P()}},[E,j,P,$,L]);const T=y.useMemo(()=>({reference:k,floating:_,setReference:x,setFloating:S}),[x,S]),O=y.useMemo(()=>({reference:E,floating:j}),[E,j]),A=y.useMemo(()=>{const R={position:r,left:0,top:0};if(!O.floating)return R;const M=jl(O.floating,c.x),q=jl(O.floating,c.y);return s?{...R,transform:"translate("+M+"px, "+q+"px)",..._d(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:M,top:q}},[r,s,O.floating,c.x,c.y]);return y.useMemo(()=>({...c,update:P,refs:T,elements:O,floatingStyles:A}),[c,P,T,O,A])}const qw=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?Nl({element:n.current,padding:o}).fn(r):{}:n?Nl({element:n,padding:o}).fn(r):{}}}},Uw=(t,e)=>({...Rw(t),options:[t,e]}),Vw=(t,e)=>({...Iw(t),options:[t,e]}),Ww=(t,e)=>({...$w(t),options:[t,e]}),Gw=(t,e)=>({...Dw(t),options:[t,e]}),Yw=(t,e)=>({...Mw(t),options:[t,e]}),Xw=(t,e)=>({...Lw(t),options:[t,e]}),Kw=(t,e)=>({...qw(t),options:[t,e]});var Jw="Arrow",Rd=y.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...a}=t;return p.jsx(me.svg,{...a,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Rd.displayName=Jw;var Zw=Rd;function Id(t){const[e,r]=y.useState(void 0);return Rt(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const u=a.borderBoxSize,l=Array.isArray(u)?u[0]:u;i=l.inlineSize,s=l.blockSize}else i=t.offsetWidth,s=t.offsetHeight;r({width:i,height:s})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}var vs="Popper",[Dd,Md]=tr(vs),[Qw,Ld]=Dd(vs),$d=t=>{const{__scopePopper:e,children:r}=t,[n,o]=y.useState(null);return p.jsx(Qw,{scope:e,anchor:n,onAnchorChange:o,children:r})};$d.displayName=vs;var Bd="PopperAnchor",Hd=y.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,a=Ld(Bd,r),i=y.useRef(null),s=we(e,i),u=y.useRef(null);return y.useEffect(()=>{const l=u.current;u.current=(n==null?void 0:n.current)||i.current,l!==u.current&&a.onAnchorChange(u.current)}),n?null:p.jsx(me.div,{...o,ref:s})});Hd.displayName=Bd;var ys="PopperContent",[e3,t3]=Dd(ys),zd=y.forwardRef((t,e)=>{var z,Ee,ye,be,Ve,it;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:d="optimized",onPlaced:b,...g}=t,m=Ld(ys,r),[v,x]=y.useState(null),S=we(e,We=>x(We)),[E,j]=y.useState(null),k=Id(E),_=(k==null?void 0:k.width)??0,D=(k==null?void 0:k.height)??0,L=n+(a!=="center"?"-"+a:""),$=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},C=Array.isArray(l)?l:[l],N=C.length>0,P={padding:$,boundary:C.filter(n3),altBoundary:N},{refs:I,floatingStyles:T,placement:O,isPositioned:A,middlewareData:R}=Fw({strategy:"fixed",placement:L,whileElementsMounted:(...We)=>_w(...We,{animationFrame:d==="always"}),elements:{reference:m.anchor},middleware:[Uw({mainAxis:o+D,alignmentAxis:i}),u&&Vw({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Ww():void 0,...P}),u&&Gw({...P}),Yw({...P,apply:({elements:We,rects:Rn,availableWidth:ga,availableHeight:In})=>{const{width:va,height:Ur}=Rn.reference,ar=We.floating.style;ar.setProperty("--radix-popper-available-width",`${ga}px`),ar.setProperty("--radix-popper-available-height",`${In}px`),ar.setProperty("--radix-popper-anchor-width",`${va}px`),ar.setProperty("--radix-popper-anchor-height",`${Ur}px`)}}),E&&Kw({element:E,padding:s}),o3({arrowWidth:_,arrowHeight:D}),f&&Xw({strategy:"referenceHidden",...P})]}),[M,q]=Ud(O),de=Ie(b);Rt(()=>{A&&(de==null||de())},[A,de]);const Z=(z=R.arrow)==null?void 0:z.x,B=(Ee=R.arrow)==null?void 0:Ee.y,H=((ye=R.arrow)==null?void 0:ye.centerOffset)!==0,[he,X]=y.useState();return Rt(()=>{v&&X(window.getComputedStyle(v).zIndex)},[v]),p.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:A?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(be=R.transformOrigin)==null?void 0:be.x,(Ve=R.transformOrigin)==null?void 0:Ve.y].join(" "),...((it=R.hide)==null?void 0:it.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:p.jsx(e3,{scope:r,placedSide:M,onArrowChange:j,arrowX:Z,arrowY:B,shouldHideArrow:H,children:p.jsx(me.div,{"data-side":M,"data-align":q,...g,ref:S,style:{...g.style,animation:A?void 0:"none"}})})})});zd.displayName=ys;var Fd="PopperArrow",r3={top:"bottom",right:"left",bottom:"top",left:"right"},qd=y.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,a=t3(Fd,n),i=r3[a.placedSide];return p.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:p.jsx(Zw,{...o,ref:r,style:{...o.style,display:"block"}})})});qd.displayName=Fd;function n3(t){return t!==null}var o3=t=>({name:"transformOrigin",options:t,fn(e){var m,v,x;const{placement:r,rects:n,middlewareData:o}=e,i=((m=o.arrow)==null?void 0:m.centerOffset)!==0,s=i?0:t.arrowWidth,u=i?0:t.arrowHeight,[l,c]=Ud(r),h={start:"0%",center:"50%",end:"100%"}[c],f=(((v=o.arrow)==null?void 0:v.x)??0)+s/2,d=(((x=o.arrow)==null?void 0:x.y)??0)+u/2;let b="",g="";return l==="bottom"?(b=i?h:`${f}px`,g=`${-u}px`):l==="top"?(b=i?h:`${f}px`,g=`${n.floating.height+u}px`):l==="right"?(b=`${-u}px`,g=i?h:`${d}px`):l==="left"&&(b=`${n.floating.width+u}px`,g=i?h:`${d}px`),{data:{x:b,y:g}}}});function Ud(t){const[e,r="center"]=t.split("-");return[e,r]}var a3=$d,i3=Hd,s3=zd,u3=qd;function l3(t,e){return y.useReducer((r,n)=>e[r][n]??r,t)}var rr=t=>{const{present:e,children:r}=t,n=c3(e),o=typeof r=="function"?r({present:n.isPresent}):y.Children.only(r),a=we(n.ref,d3(o));return typeof r=="function"||n.isPresent?y.cloneElement(o,{ref:a}):null};rr.displayName="Presence";function c3(t){const[e,r]=y.useState(),n=y.useRef(null),o=y.useRef(t),a=y.useRef("none"),i=t?"mounted":"unmounted",[s,u]=l3(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const l=zn(n.current);a.current=s==="mounted"?l:"none"},[s]),Rt(()=>{const l=n.current,c=o.current;if(c!==t){const f=a.current,d=zn(l);t?u("MOUNT"):d==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&f!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,u]),Rt(()=>{if(e){let l;const c=e.ownerDocument.defaultView??window,h=d=>{const g=zn(n.current).includes(CSS.escape(d.animationName));if(d.target===e&&g&&(u("ANIMATION_END"),!o.current)){const m=e.style.animationFillMode;e.style.animationFillMode="forwards",l=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=m)})}},f=d=>{d.target===e&&(a.current=zn(n.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{c.clearTimeout(l),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:y.useCallback(l=>{n.current=l?getComputedStyle(l):null,r(l)},[])}}function zn(t){return(t==null?void 0:t.animationName)||"none"}function d3(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var f3=Symbol("radix.slottable");function p3(t){const e=({children:r})=>p.jsx(p.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=f3,e}var h3=y[" useInsertionEffect ".trim().toString()]||Rt;function zr({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,a,i]=m3({defaultProp:e,onChange:r}),s=t!==void 0,u=s?t:o;{const c=y.useRef(t!==void 0);y.useEffect(()=>{const h=c.current;h!==s&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,n])}const l=y.useCallback(c=>{var h;if(s){const f=b3(c)?c(t):c;f!==t&&((h=i.current)==null||h.call(i,f))}else a(c)},[s,t,a,i]);return[u,l]}function m3({defaultProp:t,onChange:e}){const[r,n]=y.useState(t),o=y.useRef(r),a=y.useRef(e);return h3(()=>{a.current=e},[e]),y.useEffect(()=>{var i;o.current!==r&&((i=a.current)==null||i.call(a,r),o.current=r)},[r,o]),[r,n,a]}function b3(t){return typeof t=="function"}var g3=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),v3="VisuallyHidden",Vd=y.forwardRef((t,e)=>p.jsx(me.span,{...t,ref:e,style:{...g3,...t.style}}));Vd.displayName=v3;var y3=Vd,[ta]=tr("Tooltip",[Md]),ra=Md(),Wd="TooltipProvider",x3=700,hi="tooltip.open",[w3,xs]=ta(Wd),Gd=t=>{const{__scopeTooltip:e,delayDuration:r=x3,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=t,i=y.useRef(!0),s=y.useRef(!1),u=y.useRef(0);return y.useEffect(()=>{const l=u.current;return()=>window.clearTimeout(l)},[]),p.jsx(w3,{scope:e,isOpenDelayedRef:i,delayDuration:r,onOpen:y.useCallback(()=>{window.clearTimeout(u.current),i.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:s,onPointerInTransitChange:y.useCallback(l=>{s.current=l},[]),disableHoverableContent:o,children:a})};Gd.displayName=Wd;var fn="Tooltip",[S3,na]=ta(fn),Yd=t=>{const{__scopeTooltip:e,children:r,open:n,defaultOpen:o,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=t,u=xs(fn,t.__scopeTooltip),l=ra(e),[c,h]=y.useState(null),f=wd(),d=y.useRef(0),b=i??u.disableHoverableContent,g=s??u.delayDuration,m=y.useRef(!1),[v,x]=zr({prop:n,defaultProp:o??!1,onChange:_=>{_?(u.onOpen(),document.dispatchEvent(new CustomEvent(hi))):u.onClose(),a==null||a(_)},caller:fn}),S=y.useMemo(()=>v?m.current?"delayed-open":"instant-open":"closed",[v]),E=y.useCallback(()=>{window.clearTimeout(d.current),d.current=0,m.current=!1,x(!0)},[x]),j=y.useCallback(()=>{window.clearTimeout(d.current),d.current=0,x(!1)},[x]),k=y.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>{m.current=!0,x(!0),d.current=0},g)},[g,x]);return y.useEffect(()=>()=>{d.current&&(window.clearTimeout(d.current),d.current=0)},[]),p.jsx(a3,{...l,children:p.jsx(S3,{scope:e,contentId:f,open:v,stateAttribute:S,trigger:c,onTriggerChange:h,onTriggerEnter:y.useCallback(()=>{u.isOpenDelayedRef.current?k():E()},[u.isOpenDelayedRef,k,E]),onTriggerLeave:y.useCallback(()=>{b?j():(window.clearTimeout(d.current),d.current=0)},[j,b]),onOpen:E,onClose:j,disableHoverableContent:b,children:r})})};Yd.displayName=fn;var mi="TooltipTrigger",Xd=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,o=na(mi,r),a=xs(mi,r),i=ra(r),s=y.useRef(null),u=we(e,s,o.onTriggerChange),l=y.useRef(!1),c=y.useRef(!1),h=y.useCallback(()=>l.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),p.jsx(i3,{asChild:!0,...i,children:p.jsx(me.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:u,onPointerMove:ue(t.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ue(t.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ue(t.onPointerDown,()=>{o.open&&o.onClose(),l.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ue(t.onFocus,()=>{l.current||o.onOpen()}),onBlur:ue(t.onBlur,o.onClose),onClick:ue(t.onClick,o.onClose)})})});Xd.displayName=mi;var C3="TooltipPortal",[fC,E3]=ta(C3,{forceMount:void 0}),Sr="TooltipContent",Kd=y.forwardRef((t,e)=>{const r=E3(Sr,t.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=t,i=na(Sr,t.__scopeTooltip);return p.jsx(rr,{present:n||i.open,children:i.disableHoverableContent?p.jsx(Jd,{side:o,...a,ref:e}):p.jsx(T3,{side:o,...a,ref:e})})}),T3=y.forwardRef((t,e)=>{const r=na(Sr,t.__scopeTooltip),n=xs(Sr,t.__scopeTooltip),o=y.useRef(null),a=we(e,o),[i,s]=y.useState(null),{trigger:u,onClose:l}=r,c=o.current,{onPointerInTransitChange:h}=n,f=y.useCallback(()=>{s(null),h(!1)},[h]),d=y.useCallback((b,g)=>{const m=b.currentTarget,v={x:b.clientX,y:b.clientY},x=P3(v,m.getBoundingClientRect()),S=k3(v,x),E=_3(g.getBoundingClientRect()),j=I3([...S,...E]);s(j),h(!0)},[h]);return y.useEffect(()=>()=>f(),[f]),y.useEffect(()=>{if(u&&c){const b=m=>d(m,c),g=m=>d(m,u);return u.addEventListener("pointerleave",b),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",b),c.removeEventListener("pointerleave",g)}}},[u,c,d,f]),y.useEffect(()=>{if(i){const b=g=>{const m=g.target,v={x:g.clientX,y:g.clientY},x=(u==null?void 0:u.contains(m))||(c==null?void 0:c.contains(m)),S=!R3(v,i);x?f():S&&(f(),l())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[u,c,i,l,f]),p.jsx(Jd,{...t,ref:a})}),[N3,j3]=ta(fn,{isInside:!1}),A3=p3("TooltipContent"),Jd=y.forwardRef((t,e)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=t,u=na(Sr,r),l=ra(r),{onClose:c}=u;return y.useEffect(()=>(document.addEventListener(hi,c),()=>document.removeEventListener(hi,c)),[c]),y.useEffect(()=>{if(u.trigger){const h=f=>{const d=f.target;d!=null&&d.contains(u.trigger)&&c()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[u.trigger,c]),p.jsx(yd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:c,children:p.jsxs(s3,{"data-state":u.stateAttribute,...l,...s,ref:e,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(A3,{children:n}),p.jsx(N3,{scope:r,isInside:!0,children:p.jsx(y3,{id:u.contentId,role:"tooltip",children:o||n})})]})})});Kd.displayName=Sr;var Zd="TooltipArrow",O3=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,o=ra(r);return j3(Zd,r).isInside?null:p.jsx(u3,{...o,...n,ref:e})});O3.displayName=Zd;function P3(t,e){const r=Math.abs(e.top-t.y),n=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),a=Math.abs(e.left-t.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function k3(t,e,r=5){const n=[];switch(e){case"top":n.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":n.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":n.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":n.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return n}function _3(t){const{top:e,right:r,bottom:n,left:o}=t;return[{x:o,y:e},{x:r,y:e},{x:r,y:n},{x:o,y:n}]}function R3(t,e){const{x:r,y:n}=t;let o=!1;for(let a=0,i=e.length-1;a<e.length;i=a++){const s=e[a],u=e[i],l=s.x,c=s.y,h=u.x,f=u.y;c>n!=f>n&&r<(h-l)*(n-c)/(f-c)+l&&(o=!o)}return o}function I3(t){const e=t.slice();return e.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),D3(e)}function D3(t){if(t.length<=1)return t.slice();const e=[];for(let n=0;n<t.length;n++){const o=t[n];for(;e.length>=2;){const a=e[e.length-1],i=e[e.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))e.pop();else break}e.push(o)}e.pop();const r=[];for(let n=t.length-1;n>=0;n--){const o=t[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),e.length===1&&r.length===1&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}var M3=Gd,L3=Yd,$3=Xd,Qd=Kd;const pn=M3,Cr=L3,Er=$3,Xt=y.forwardRef(({className:t,sideOffset:e=4,...r},n)=>p.jsx(Qd,{ref:n,sideOffset:e,className:Se("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...r}));Xt.displayName=Qd.displayName;const vr={mobile:{icon:Wi,label:"Mobile"},tablet:{icon:Gi,label:"Tablet"},small:{icon:Vi,label:"Small Desktop"},desktop:{icon:Yi,label:"Desktop"}},V=({title:t,children:e,defaultOpen:r=!0})=>{const[n,o]=w.useState(r);return p.jsxs("div",{className:"border-b border-border pb-3",children:[p.jsxs("button",{onClick:()=>o(!n),className:"flex items-center justify-between w-full py-1.5 text-xs font-medium text-muted-foreground hover:text-foreground",children:[t,n?p.jsx(Fi,{className:"h-3 w-3"}):p.jsx(qi,{className:"h-3 w-3"})]}),n&&p.jsx("div",{className:"mt-2 space-y-3",children:e})]})},pe=({label:t,value:e,onChange:r,min:n=0,max:o=100,unit:a,inputClassName:i=""})=>p.jsxs("div",{className:"flex items-center justify-between",children:[t?p.jsx("label",{className:"text-xs text-muted-foreground",children:t}):null,p.jsxs("div",{className:"flex items-center gap-1",children:[p.jsx("input",{type:"number",value:e,onChange:s=>r(parseInt(s.target.value)||0),min:n,max:o,className:Qe("w-14 px-2 py-1 text-xs rounded border border-input bg-background text-right",i)}),a?p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a}):null]})]}),So=({label:t,values:e,onChange:r,min:n=0,max:o=100,unit:a="px",defaultValue:i=16})=>{const s=er(),[u,l]=w.useState(!1),c=typeof e=="object"&&e!==null&&!("top"in e)?e:{desktop:e??i},h=()=>c[s]??c.desktop??i,f=(g,m)=>{const v={...c,[g]:m};r(v)},d=g=>{f(s,g)},b=Re.some(g=>g!=="desktop"&&c[g]!==void 0);return p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("button",{onClick:()=>l(!u),className:`p-1 rounded transition-colors ${u||b?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground"}`,children:w.createElement(vr[s].icon,{className:"h-3 w-3"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:u?"Hide breakpoints":"Edit per breakpoint"})})]})})]}),u?p.jsx("div",{className:"space-y-1.5 pl-2 border-l-2 border-primary/20",children:Re.map(g=>{const m=vr[g].icon,v=c[g],x=v===void 0?Re.find(S=>Re.indexOf(S)>Re.indexOf(g)&&c[S]!==void 0)||"desktop":null;return p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("div",{className:`p-1 rounded ${g===s?"bg-primary/10":""}`,children:p.jsx(m,{className:"h-3 w-3 text-muted-foreground"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:vr[g].label})})]})}),p.jsx("input",{type:"number",value:v??"",placeholder:x?`${c[x]??i}`:"",onChange:S=>{const E=S.target.value===""?void 0:parseInt(S.target.value)||0;f(g,E)},min:n,max:o,className:`flex-1 px-2 py-1 text-xs rounded border border-input bg-background text-right ${v===void 0?"text-muted-foreground":""}`}),p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a})]},g)})}):p.jsxs("div",{className:"flex items-center gap-1",children:[p.jsx("input",{type:"number",value:h(),onChange:g=>d(parseInt(g.target.value)||0),min:n,max:o,className:"w-full px-2 py-1 text-xs rounded border border-input bg-background text-right"}),p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a})]})]})},De=({label:t,values:e,onChange:r})=>{const[n,o]=w.useState(!0),a=(i,s)=>{r(n?{top:s,right:s,bottom:s,left:s}:{...e,[i]:s})};return p.jsxs("div",{className:"space-y-2",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx("button",{onClick:()=>o(!n),className:`text-xs px-2 py-0.5 rounded ${n?"bg-primary/10 text-primary":"text-muted-foreground"}`,children:n?"Linked":"Individual"})]}),n?p.jsx("input",{type:"number",value:e.top,onChange:i=>a("top",parseInt(i.target.value)||0),min:0,className:"w-full px-2 py-1 text-xs rounded border border-input bg-background text-center"}):p.jsx("div",{className:"grid grid-cols-4 gap-1",children:["top","right","bottom","left"].map(i=>p.jsxs("div",{className:"text-center",children:[p.jsx("input",{type:"number",value:e[i],onChange:s=>a(i,parseInt(s.target.value)||0),min:0,className:"w-full px-1 py-1 text-xs rounded border border-input bg-background text-center"}),p.jsx("span",{className:"text-[10px] text-muted-foreground",children:i[0].toUpperCase()})]},i))})]})},J=({label:t,value:e,options:r,onChange:n,className:o="",selectClassName:a=""})=>p.jsxs("div",{className:Qe("flex items-center justify-between",o,a),children:[t?p.jsx("label",{className:"text-xs text-muted-foreground",children:t}):null,p.jsx("select",{value:e,onChange:i=>n(i.target.value),className:Qe("px-2 py-1 text-xs rounded border border-input bg-background ",a),children:r.map(i=>p.jsx("option",{value:i.value,children:i.label},i.value))})]}),Je=({label:t,value:e,onChange:r})=>p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx("input",{type:"color",value:e!=null&&e.startsWith("#")?e:"#000000",onChange:n=>r(n.target.value),className:"w-6 h-6 rounded border border-input cursor-pointer"}),p.jsx("input",{type:"text",value:e||"",onChange:n=>r(n.target.value),className:"w-20 px-2 py-1 text-xs rounded border border-input bg-background",placeholder:"#000000"})]})]}),gt=({label:t,value:e,options:r,onChange:n})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx("div",{className:"flex gap-1",children:r.map(o=>p.jsx("button",{onClick:()=>n(o.value),className:`flex-1 px-2 py-1.5 text-xs rounded border transition-colors ${e===o.value?"bg-primary text-primary-foreground border-primary":"border-input hover:bg-secondary"}`,title:o.label,children:o.icon||o.label},o.value))})]}),Mt=({label:t,value:e,onChange:r,multiline:n=!1})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),n?p.jsx("textarea",{value:e||"",onChange:o=>r(o.target.value),className:"w-full p-2 text-xs rounded border border-input bg-background resize-none",rows:3}):p.jsx("input",{type:"text",value:e||"",onChange:o=>r(o.target.value),className:"w-full px-2 py-1.5 text-xs rounded border border-input bg-background"})]}),oa=({label:t,value:e,onChange:r,min:n=0,max:o=100,unit:a=""})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("span",{className:"text-xs text-muted-foreground",children:[e,a]})]}),p.jsx("input",{type:"range",value:e,onChange:i=>r(parseInt(i.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]}),Co=({label:t,values:e,onChange:r,min:n=0,max:o=100,unit:a="",defaultValue:i=50})=>{const s=er(),[u,l]=w.useState(!1),c=typeof e=="object"&&e!==null&&!("top"in e)?e:{desktop:e??i},h=()=>c[s]??c.desktop??i,f=(b,g)=>{const m={...c,[b]:g};r(m)},d=Re.some(b=>b!=="desktop"&&c[b]!==void 0);return p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsxs("span",{className:"text-xs text-muted-foreground",children:[h(),a]}),p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("button",{onClick:()=>l(!u),className:`p-1 rounded transition-colors ${u||d?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground"}`,children:w.createElement(vr[s].icon,{className:"h-3 w-3"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:u?"Hide breakpoints":"Edit per breakpoint"})})]})})]})]}),u?p.jsx("div",{className:"space-y-2 pl-2 border-l-2 border-primary/20",children:Re.map(b=>{const g=vr[b].icon,m=c[b];return p.jsxs("div",{className:"space-y-1",children:[p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx("div",{className:`p-1 rounded ${b===s?"bg-primary/10":""}`,children:p.jsx(g,{className:"h-3 w-3 text-muted-foreground"})}),p.jsx("span",{className:"text-xs text-muted-foreground flex-1",children:vr[b].label}),p.jsxs("span",{className:"text-xs",children:[m??"-",m!==void 0?a:""]})]}),p.jsx("input",{type:"range",value:m??c.desktop??i,onChange:v=>f(b,parseInt(v.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]},b)})}):p.jsx("input",{type:"range",value:h(),onChange:b=>f(s,parseInt(b.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]})},ws=({text:t="Click me",variant:e="solid",size:r="md",backgroundColor:n="#FF6B35",textColor:o="#ffffff",borderColor:a="#FF6B35",borderWidth:i=0,borderRadius:s=8,fontWeight:u="500",fontSize:l="auto",width:c="auto",paddingX:h=16,paddingY:f=10,margin:d={top:0,right:0,bottom:0,left:0},boxShadow:b="none",opacity:g=100})=>{let m,v,x;try{const{connectors:P,events:I}=ne(T=>({events:T.events}));m=P.connect,v=P.drag,x=I.selected}catch{}const S={sm:{px:12,py:6,fs:14},md:{px:16,py:10,fs:16},lg:{px:24,py:14,fs:18}},E=S[r]||S.md,j=h==="auto"?E.px:h,k=f==="auto"?E.py:f,_=l==="auto"?E.fs:l,D=typeof d=="object"?`${d.top}px ${d.right}px ${d.bottom}px ${d.left}px`:`${d}px`,L=e==="outline"?"transparent":n,$=e==="outline"?n:o,C=e==="outline"?2:i,N=e==="outline"?n:a;return p.jsx("button",{ref:P=>P&&m&&v&&(m==null?void 0:m(v==null?void 0:v(P))),className:`cursor-move transition-all hover:opacity-90 ${x?"ring-2 ring-primary ring-offset-2":""}`,style:{backgroundColor:L,color:$,borderWidth:`${C}px`,borderColor:N,borderStyle:"solid",borderRadius:`${s}px`,fontWeight:u,fontSize:`${_}px`,padding:`${k}px ${j}px`,margin:D,width:c==="full"?"100%":"auto",boxShadow:b==="none"?"none":b,opacity:g/100},children:t})},B3=()=>{const{actions:{setProp:t},props:e}=ne(n=>({props:n.data.props})),r=typeof e.margin=="object"?e.margin:{top:0,right:0,bottom:0,left:0};return p.jsxs("div",{className:"space-y-3",children:[p.jsx(V,{title:"Content",defaultOpen:!0,children:p.jsx(Mt,{label:"Text",value:e.text,onChange:n=>t(o=>o.text=n)})}),p.jsxs(V,{title:"Style",defaultOpen:!0,children:[p.jsx(gt,{label:"Variant",value:e.variant||"solid",options:[{value:"solid",label:"Solid"},{value:"outline",label:"Outline"}],onChange:n=>t(o=>o.variant=n)}),p.jsx(gt,{label:"Size Preset",value:e.size||"md",options:[{value:"sm",label:"S"},{value:"md",label:"M"},{value:"lg",label:"L"}],onChange:n=>t(o=>o.size=n)}),p.jsx(gt,{label:"Width",value:e.width||"auto",options:[{value:"auto",label:"Auto"},{value:"full",label:"Full"}],onChange:n=>t(o=>o.width=n)})]}),p.jsxs(V,{title:"Colors",defaultOpen:!0,children:[p.jsx(Je,{label:"Background",value:e.backgroundColor||"#FF6B35",onChange:n=>t(o=>o.backgroundColor=n)}),p.jsx(Je,{label:"Text",value:e.textColor||"#ffffff",onChange:n=>t(o=>o.textColor=n)}),p.jsx(oa,{label:"Opacity",value:e.opacity||100,onChange:n=>t(o=>o.opacity=n),min:0,max:100,unit:"%"})]}),p.jsxs(V,{title:"Typography",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Font Size",value:e.fontSize==="auto"?16:e.fontSize,onChange:n=>t(o=>o.fontSize=n),min:10,max:32}),p.jsx(J,{label:"Weight",value:e.fontWeight||"500",options:[{value:"400",label:"Regular"},{value:"500",label:"Medium"},{value:"600",label:"Semibold"},{value:"700",label:"Bold"}],onChange:n=>t(o=>o.fontWeight=n)})]}),p.jsxs(V,{title:"Padding",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Horizontal",value:e.paddingX||16,onChange:n=>t(o=>o.paddingX=n),max:64}),p.jsx(pe,{unit:"px",label:"Vertical",value:e.paddingY||10,onChange:n=>t(o=>o.paddingY=n),max:48})]}),p.jsxs(V,{title:"Border",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Radius",value:e.borderRadius||8,onChange:n=>t(o=>o.borderRadius=n),max:50}),p.jsx(pe,{unit:"px",label:"Width",value:e.borderWidth||0,onChange:n=>t(o=>o.borderWidth=n),max:10}),p.jsx(Je,{label:"Color",value:e.borderColor||"#FF6B35",onChange:n=>t(o=>o.borderColor=n)})]}),p.jsx(V,{title:"Effects",defaultOpen:!1,children:p.jsx(J,{label:"Shadow",value:e.boxShadow||"none",options:[{value:"none",label:"None"},{value:"0 2px 4px rgba(0,0,0,0.1)",label:"Small"},{value:"0 4px 12px rgba(0,0,0,0.15)",label:"Medium"},{value:"0 8px 24px rgba(0,0,0,0.2)",label:"Large"}],onChange:n=>t(o=>o.boxShadow=n)})}),p.jsx(V,{title:"Spacing",defaultOpen:!1,children:p.jsx(De,{label:"Margin",values:r,onChange:n=>t(o=>o.margin=n)})})]})};ws.craft={displayName:"Button",props:{text:"Click me",variant:"solid",size:"md",backgroundColor:"#FF6B35",textColor:"#ffffff",borderColor:"#FF6B35",borderWidth:0,borderRadius:8,fontWeight:"500",fontSize:"auto",width:"auto",paddingX:16,paddingY:10,margin:{top:0,right:0,bottom:0,left:0},boxShadow:"none",opacity:100},related:{settings:B3}};const cr=({label:t,value:e,onChange:r,max:n=1e4})=>{const o=(e==null?void 0:e.type)||"custom",a=(e==null?void 0:e.value)||100,i=(e==null?void 0:e.unit)||"%",s=c=>{r(c==="none"?{type:"none"}:c==="auto"?{type:"auto"}:{type:"custom",value:a,unit:i})},u=c=>{r({type:"custom",value:c,unit:i})},l=c=>{r({type:"custom",value:a,unit:c})};return p.jsxs("div",{className:"space-y-2",children:[p.jsx("label",{className:"text-xs font-medium",children:t}),p.jsx(J,{selectClassName:"w-full",value:o,options:[{value:"none",label:"None"},{value:"auto",label:"Auto"},{value:"custom",label:"Custom"}],onChange:s}),o==="custom"&&p.jsxs("div",{className:"flex",children:[p.jsx("div",{className:"",children:p.jsx(pe,{inputClassName:"w-full h-8 rounded-l-lg",value:a,onChange:u,max:n})}),p.jsx("div",{className:"",children:p.jsx(J,{selectClassName:" h-8",value:i,options:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"%",label:"%"},{value:"rem",label:"rem"},{value:"vh",label:"vh"},{value:"vw",label:"vw"}],onChange:l})})]})]})},dr=t=>t?typeof t=="string"?t:typeof t=="number"?`${t}px`:t.type==="none"?"none":t.type==="auto"?"auto":t.type==="custom"?`${t.value}${t.unit||"px"}`:"auto":"auto",Ss=t=>{const e=typeof t.padding=="object"?`${t.padding.top}px ${t.padding.right}px ${t.padding.bottom}px ${t.padding.left}px`:`${t.padding}px`,r=typeof t.margin=="object"?`${t.margin.top}px ${t.margin.right}px ${t.margin.bottom}px ${t.margin.left}px`:`${t.margin}px`;return{backgroundColor:t.backgroundColor,backgroundImage:t.backgroundImage?`url(${t.backgroundImage})`:"none",backgroundSize:t.backgroundSize,backgroundRepeat:t.backgroundRepeat,padding:e,margin:r,width:dr(t.width),height:dr(t.height),minHeight:dr(t.minHeight),maxHeight:dr(t.maxHeight),minWidth:dr(t.minWidth),maxWidth:dr(t.maxWidth),display:t.display,flexDirection:t.display==="flex"?t.flexDirection:void 0,justifyContent:t.display==="flex"?t.justifyContent:void 0,alignItems:t.display==="flex"?t.alignItems:void 0,gap:t.display==="flex"?`${t.gap}px`:void 0,borderRadius:`${t.borderRadius}px`,borderWidth:`${t.borderWidth}px`,borderColor:t.borderColor,borderStyle:t.borderStyle,boxShadow:t.boxShadow==="none"?"none":t.boxShadow}},Cs={backgroundColor:"transparent",backgroundImage:"",backgroundSize:"cover",backgroundRepeat:"no-repeat",padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},width:{type:"auto"},height:{type:"auto"},minHeight:{type:"custom",value:50,unit:"px"},maxHeight:{type:"none"},minWidth:{type:"none"},maxWidth:{type:"auto"},display:"block",flexDirection:"column",justifyContent:"flex-start",alignItems:"stretch",gap:0,borderRadius:0,borderWidth:1,borderColor:"transparent",borderStyle:"dashed",boxShadow:"none"},aa=t=>{const{actions:{setProp:e},props:r}=ne(a=>({props:a.data.props})),n=typeof r.padding=="object"?r.padding:{top:r.padding||16,right:r.padding||16,bottom:r.padding||16,left:r.padding||16},o=typeof r.margin=="object"?r.margin:{top:r.margin||0,right:r.margin||0,bottom:r.margin||0,left:r.margin||0};return p.jsxs("div",{className:"space-y-3",children:[p.jsxs(V,{title:"Layout",defaultOpen:!0,children:[p.jsx(J,{label:"Display",value:r.display||"block",options:[{value:"block",label:"Block"},{value:"flex",label:"Flex"}],onChange:a=>e(i=>i.display=a)}),r.display==="flex"&&p.jsxs(p.Fragment,{children:[p.jsx(gt,{label:"Direction",value:r.flexDirection||"column",options:[{value:"row",label:"Row"},{value:"column",label:"Col"}],onChange:a=>e(i=>i.flexDirection=a)}),p.jsx(J,{label:"Justify",value:r.justifyContent||"flex-start",options:[{value:"flex-start",label:"Start"},{value:"center",label:"Center"},{value:"flex-end",label:"End"},{value:"space-between",label:"Between"}],onChange:a=>e(i=>i.justifyContent=a)}),p.jsx(pe,{unit:"px",label:"Gap",value:r.gap||0,onChange:a=>e(i=>i.gap=a),max:64})]})]}),p.jsxs(V,{title:"Sizing",defaultOpen:!0,children:[p.jsx(cr,{label:"Width",value:r.width,onChange:a=>e(i=>i.width=a),max:1e4}),p.jsx(cr,{label:"Min Width",value:r.minWidth,onChange:a=>e(i=>i.minWidth=a),max:1e4}),p.jsx(cr,{label:"Max Width",value:r.maxWidth,onChange:a=>e(i=>i.maxWidth=a),max:1e4}),p.jsx(cr,{label:"Height",value:r.height,onChange:a=>e(i=>i.height=a),max:1e4}),p.jsx(cr,{label:"Min Height",value:r.minHeight,onChange:a=>e(i=>i.minHeight=a),max:1e4}),p.jsx(cr,{label:"Max Height",value:r.maxHeight,onChange:a=>e(i=>i.maxHeight=a),max:1e4})]}),p.jsxs(V,{title:"Spacing",defaultOpen:!0,children:[p.jsx(De,{label:"Padding",values:n,onChange:a=>e(i=>i.padding=a)}),p.jsx(De,{label:"Margin",values:o,onChange:a=>e(i=>i.margin=a)})]}),p.jsxs(V,{title:"Background",defaultOpen:!1,children:[p.jsx(Je,{label:"Color",value:r.backgroundColor||"transparent",onChange:a=>e(i=>i.backgroundColor=a)}),p.jsx("input",{type:"text",placeholder:"Background image URL",value:r.backgroundImage||"",onChange:a=>e(i=>i.backgroundImage=a.target.value),className:"w-full px-2 py-1 border rounded text-sm"}),p.jsx(J,{label:"Image Size",value:r.backgroundSize||"cover",options:[{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"stretch",label:"Stretch"}],onChange:a=>e(i=>i.backgroundSize=a)}),p.jsx(J,{label:"Image Repeat",value:r.backgroundRepeat||"no-repeat",options:[{value:"no-repeat",label:"No Repeat"},{value:"repeat",label:"Repeat"},{value:"repeat-x",label:"Repeat X"},{value:"repeat-y",label:"Repeat Y"}],onChange:a=>e(i=>i.backgroundRepeat=a)})]}),p.jsxs(V,{title:"Border",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Radius",value:r.borderRadius,onChange:a=>e(i=>i.borderRadius=a),max:5e3}),p.jsx(pe,{unit:"px",label:"Width",value:r.borderWidth||1,onChange:a=>e(i=>i.borderWidth=a),max:10}),p.jsx(Je,{label:"Color",value:r.borderColor||"transparent",onChange:a=>e(i=>i.borderColor=a)})]})]})},Tn=t=>{let e,r,n=!1;try{const{connectors:o,events:a}=ne(i=>({events:i.events}));e=o.connect,r=o.drag,n=a.selected}catch{}return p.jsx("div",{ref:o=>{o&&e&&r&&e(r(o))},style:Ss(t),className:`min-h-[50px] w-full ${n?"outline outline-blue-500":""}`,children:t.children})};Tn.craft={isCanvas:!0,props:Cs,displayName:"Container",related:{settings:aa},rules:{canMoveIn:t=>t.every(e=>e.data.displayName!=="Wrapper")}};const H3=/\{\{\s*([\w.]+)\s*\}\}/g,z3=(t,e)=>{if(!t||!e)return;const r=e.split(".");let n=t;for(const o of r){if(n==null)return;n=n[o]}return n},Eo=(t,e)=>{if(!t||typeof t!="string"||!e)return t;const r=/\{\{\s*([\w.]+)\s*\}\}/g;return t.replace(r,(n,o)=>{const a=z3(e,o);return a==null?n:String(a)})},F3=t=>!t||typeof t!="string"?!1:/\{\{\s*([\w.]+)\s*\}\}/.test(t),q3=t=>{if(!t||typeof t!="string")return[];const e=[];let r;const n=new RegExp(H3.source,"g");for(;(r=n.exec(t))!==null;)e.push(r[1]);return e},U3={athlete:{name:"Full name (from API)",bibId:"Bib number",firstName:"First name",lastName:"Last name",fullName:"Full name (firstName + lastName)",raceTime:"Race finish time",email:"Email address",phone:"Phone number"},event:{name:"Event name",slug:"Event URL slug",date:"Event date"},organization:{name:"Organization name",website:"Organization website"}},V3={athlete:{label:"Athlete",variables:[{key:"athlete.name",description:"Full name"},{key:"athlete.bibId",description:"Bib number"},{key:"athlete.firstName",description:"First name"},{key:"athlete.lastName",description:"Last name"},{key:"athlete.fullName",description:"First + Last name"},{key:"athlete.raceTime",description:"Race finish time"},{key:"athlete.email",description:"Email address"},{key:"athlete.phone",description:"Phone number"}]},event:{label:"Event",variables:[{key:"event.name",description:"Event name"},{key:"event.slug",description:"URL slug"},{key:"event.date",description:"Event date"}]},organization:{label:"Organization",variables:[{key:"organization.name",description:"Organization name"},{key:"organization.website",description:"Website URL"}]}},W3=({variable:t,onCopy:e})=>{const[r,n]=w.useState(!1),o=()=>{navigator.clipboard.writeText(`{{ ${t.key} }}`),n(!0),e==null||e(`{{ ${t.key} }}`),setTimeout(()=>n(!1),1500)};return p.jsxs("button",{onClick:o,className:"w-full flex items-center justify-between gap-2 px-2 py-1.5 text-left hover:bg-muted rounded-md transition-colors group",children:[p.jsxs("div",{className:"min-w-0 flex-1",children:[p.jsx("code",{className:"text-xs font-mono text-primary bg-primary/10 px-1 py-0.5 rounded",children:`{{ ${t.key} }}`}),p.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:t.description})]}),p.jsx("div",{className:"shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",children:r?p.jsx(zi,{className:"h-3.5 w-3.5 text-green-500"}):p.jsx(sh,{className:"h-3.5 w-3.5 text-muted-foreground"})})]})},G3=({category:t,data:e,defaultOpen:r=!1})=>{const[n,o]=w.useState(r);return p.jsxs("div",{className:"border-b border-border last:border-0",children:[p.jsxs("button",{onClick:()=>o(!n),className:"w-full flex items-center gap-2 py-2 text-left hover:bg-muted/50 transition-colors",children:[n?p.jsx(Fi,{className:"h-3.5 w-3.5 text-muted-foreground"}):p.jsx(qi,{className:"h-3.5 w-3.5 text-muted-foreground"}),p.jsx("span",{className:"text-xs font-medium",children:e.label}),p.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",e.variables.length,")"]})]}),n&&p.jsx("div",{className:"pb-2 space-y-0.5",children:e.variables.map(a=>p.jsx(W3,{variable:a},a.key))})]})},ef=({className:t})=>p.jsxs("div",{className:Se("rounded-lg border border-border bg-muted/30",t),children:[p.jsxs("div",{className:"px-3 py-2 border-b border-border",children:[p.jsx("h4",{className:"text-xs font-semibold",children:"Dynamic Variables"}),p.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Click to copy, then paste in your text"})]}),p.jsx("div",{className:"px-2",children:Object.entries(V3).map(([e,r],n)=>p.jsx(G3,{category:e,data:r,defaultOpen:n===0},e))})]});var tf={},hn={},Es={},mn={},Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}));var Ns={};Object.defineProperty(Ns,"__esModule",{value:!0});Ns.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}));var bi={};(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function n(a){var i;return a>=55296&&a<=57343||a>1114111?65533:(i=r.get(a))!==null&&i!==void 0?i:a}t.replaceCodePoint=n;function o(a){return(0,t.fromCodePoint)(n(a))}t.default=o})(bi);(function(t){var e=F&&F.__createBinding||(Object.create?function(C,N,P,I){I===void 0&&(I=P);var T=Object.getOwnPropertyDescriptor(N,P);(!T||("get"in T?!N.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return N[P]}}),Object.defineProperty(C,I,T)}:function(C,N,P,I){I===void 0&&(I=P),C[I]=N[P]}),r=F&&F.__setModuleDefault||(Object.create?function(C,N){Object.defineProperty(C,"default",{enumerable:!0,value:N})}:function(C,N){C.default=N}),n=F&&F.__importStar||function(C){if(C&&C.__esModule)return C;var N={};if(C!=null)for(var P in C)P!=="default"&&Object.prototype.hasOwnProperty.call(C,P)&&e(N,C,P);return r(N,C),N},o=F&&F.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var a=o(Ts);t.htmlDecodeTree=a.default;var i=o(Ns);t.xmlDecodeTree=i.default;var s=n(bi);t.decodeCodePoint=s.default;var u=bi;Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(C){C[C.NUM=35]="NUM",C[C.SEMI=59]="SEMI",C[C.EQUALS=61]="EQUALS",C[C.ZERO=48]="ZERO",C[C.NINE=57]="NINE",C[C.LOWER_A=97]="LOWER_A",C[C.LOWER_F=102]="LOWER_F",C[C.LOWER_X=120]="LOWER_X",C[C.LOWER_Z=122]="LOWER_Z",C[C.UPPER_A=65]="UPPER_A",C[C.UPPER_F=70]="UPPER_F",C[C.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var c=32,h;(function(C){C[C.VALUE_LENGTH=49152]="VALUE_LENGTH",C[C.BRANCH_LENGTH=16256]="BRANCH_LENGTH",C[C.JUMP_TABLE=127]="JUMP_TABLE"})(h=t.BinTrieFlags||(t.BinTrieFlags={}));function f(C){return C>=l.ZERO&&C<=l.NINE}function d(C){return C>=l.UPPER_A&&C<=l.UPPER_F||C>=l.LOWER_A&&C<=l.LOWER_F}function b(C){return C>=l.UPPER_A&&C<=l.UPPER_Z||C>=l.LOWER_A&&C<=l.LOWER_Z||f(C)}function g(C){return C===l.EQUALS||b(C)}var m;(function(C){C[C.EntityStart=0]="EntityStart",C[C.NumericStart=1]="NumericStart",C[C.NumericDecimal=2]="NumericDecimal",C[C.NumericHex=3]="NumericHex",C[C.NamedEntity=4]="NamedEntity"})(m||(m={}));var v;(function(C){C[C.Legacy=0]="Legacy",C[C.Strict=1]="Strict",C[C.Attribute=2]="Attribute"})(v=t.DecodingMode||(t.DecodingMode={}));var x=function(){function C(N,P,I){this.decodeTree=N,this.emitCodePoint=P,this.errors=I,this.state=m.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=v.Strict}return C.prototype.startEntity=function(N){this.decodeMode=N,this.state=m.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},C.prototype.write=function(N,P){switch(this.state){case m.EntityStart:return N.charCodeAt(P)===l.NUM?(this.state=m.NumericStart,this.consumed+=1,this.stateNumericStart(N,P+1)):(this.state=m.NamedEntity,this.stateNamedEntity(N,P));case m.NumericStart:return this.stateNumericStart(N,P);case m.NumericDecimal:return this.stateNumericDecimal(N,P);case m.NumericHex:return this.stateNumericHex(N,P);case m.NamedEntity:return this.stateNamedEntity(N,P)}},C.prototype.stateNumericStart=function(N,P){return P>=N.length?-1:(N.charCodeAt(P)|c)===l.LOWER_X?(this.state=m.NumericHex,this.consumed+=1,this.stateNumericHex(N,P+1)):(this.state=m.NumericDecimal,this.stateNumericDecimal(N,P))},C.prototype.addToNumericResult=function(N,P,I,T){if(P!==I){var O=I-P;this.result=this.result*Math.pow(T,O)+parseInt(N.substr(P,O),T),this.consumed+=O}},C.prototype.stateNumericHex=function(N,P){for(var I=P;P<N.length;){var T=N.charCodeAt(P);if(f(T)||d(T))P+=1;else return this.addToNumericResult(N,I,P,16),this.emitNumericEntity(T,3)}return this.addToNumericResult(N,I,P,16),-1},C.prototype.stateNumericDecimal=function(N,P){for(var I=P;P<N.length;){var T=N.charCodeAt(P);if(f(T))P+=1;else return this.addToNumericResult(N,I,P,10),this.emitNumericEntity(T,2)}return this.addToNumericResult(N,I,P,10),-1},C.prototype.emitNumericEntity=function(N,P){var I;if(this.consumed<=P)return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(N===l.SEMI)this.consumed+=1;else if(this.decodeMode===v.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(N!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},C.prototype.stateNamedEntity=function(N,P){for(var I=this.decodeTree,T=I[this.treeIndex],O=(T&h.VALUE_LENGTH)>>14;P<N.length;P++,this.excess++){var A=N.charCodeAt(P);if(this.treeIndex=E(I,T,this.treeIndex+Math.max(1,O),A),this.treeIndex<0)return this.result===0||this.decodeMode===v.Attribute&&(O===0||g(A))?0:this.emitNotTerminatedNamedEntity();if(T=I[this.treeIndex],O=(T&h.VALUE_LENGTH)>>14,O!==0){if(A===l.SEMI)return this.emitNamedEntityData(this.treeIndex,O,this.consumed+this.excess);this.decodeMode!==v.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},C.prototype.emitNotTerminatedNamedEntity=function(){var N,P=this,I=P.result,T=P.decodeTree,O=(T[I]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(I,O,this.consumed),(N=this.errors)===null||N===void 0||N.missingSemicolonAfterCharacterReference(),this.consumed},C.prototype.emitNamedEntityData=function(N,P,I){var T=this.decodeTree;return this.emitCodePoint(P===1?T[N]&~h.VALUE_LENGTH:T[N+1],I),P===3&&this.emitCodePoint(T[N+2],I),I},C.prototype.end=function(){var N;switch(this.state){case m.NamedEntity:return this.result!==0&&(this.decodeMode!==v.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case m.NumericDecimal:return this.emitNumericEntity(0,2);case m.NumericHex:return this.emitNumericEntity(0,3);case m.NumericStart:return(N=this.errors)===null||N===void 0||N.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case m.EntityStart:return 0}},C}();t.EntityDecoder=x;function S(C){var N="",P=new x(C,function(I){return N+=(0,s.fromCodePoint)(I)});return function(T,O){for(var A=0,R=0;(R=T.indexOf("&",R))>=0;){N+=T.slice(A,R),P.startEntity(O);var M=P.write(T,R+1);if(M<0){A=R+P.end();break}A=R+M,R=M===0?A+1:A}var q=N+T.slice(A);return N="",q}}function E(C,N,P,I){var T=(N&h.BRANCH_LENGTH)>>7,O=N&h.JUMP_TABLE;if(T===0)return O!==0&&I===O?P:-1;if(O){var A=I-O;return A<0||A>=T?-1:C[P+A]-1}for(var R=P,M=R+T-1;R<=M;){var q=R+M>>>1,de=C[q];if(de<I)R=q+1;else if(de>I)M=q-1;else return C[q+T]}return-1}t.determineBranch=E;var j=S(a.default),k=S(i.default);function _(C,N){return N===void 0&&(N=v.Legacy),j(C,N)}t.decodeHTML=_;function D(C){return j(C,v.Attribute)}t.decodeHTMLAttribute=D;function L(C){return j(C,v.Strict)}t.decodeHTMLStrict=L;function $(C){return k(C,v.Strict)}t.decodeXML=$})(mn);(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var e=mn,r;(function(f){f[f.Tab=9]="Tab",f[f.NewLine=10]="NewLine",f[f.FormFeed=12]="FormFeed",f[f.CarriageReturn=13]="CarriageReturn",f[f.Space=32]="Space",f[f.ExclamationMark=33]="ExclamationMark",f[f.Number=35]="Number",f[f.Amp=38]="Amp",f[f.SingleQuote=39]="SingleQuote",f[f.DoubleQuote=34]="DoubleQuote",f[f.Dash=45]="Dash",f[f.Slash=47]="Slash",f[f.Zero=48]="Zero",f[f.Nine=57]="Nine",f[f.Semi=59]="Semi",f[f.Lt=60]="Lt",f[f.Eq=61]="Eq",f[f.Gt=62]="Gt",f[f.Questionmark=63]="Questionmark",f[f.UpperA=65]="UpperA",f[f.LowerA=97]="LowerA",f[f.UpperF=70]="UpperF",f[f.LowerF=102]="LowerF",f[f.UpperZ=90]="UpperZ",f[f.LowerZ=122]="LowerZ",f[f.LowerX=120]="LowerX",f[f.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(f){f[f.Text=1]="Text",f[f.BeforeTagName=2]="BeforeTagName",f[f.InTagName=3]="InTagName",f[f.InSelfClosingTag=4]="InSelfClosingTag",f[f.BeforeClosingTagName=5]="BeforeClosingTagName",f[f.InClosingTagName=6]="InClosingTagName",f[f.AfterClosingTagName=7]="AfterClosingTagName",f[f.BeforeAttributeName=8]="BeforeAttributeName",f[f.InAttributeName=9]="InAttributeName",f[f.AfterAttributeName=10]="AfterAttributeName",f[f.BeforeAttributeValue=11]="BeforeAttributeValue",f[f.InAttributeValueDq=12]="InAttributeValueDq",f[f.InAttributeValueSq=13]="InAttributeValueSq",f[f.InAttributeValueNq=14]="InAttributeValueNq",f[f.BeforeDeclaration=15]="BeforeDeclaration",f[f.InDeclaration=16]="InDeclaration",f[f.InProcessingInstruction=17]="InProcessingInstruction",f[f.BeforeComment=18]="BeforeComment",f[f.CDATASequence=19]="CDATASequence",f[f.InSpecialComment=20]="InSpecialComment",f[f.InCommentLike=21]="InCommentLike",f[f.BeforeSpecialS=22]="BeforeSpecialS",f[f.SpecialStartSequence=23]="SpecialStartSequence",f[f.InSpecialTag=24]="InSpecialTag",f[f.BeforeEntity=25]="BeforeEntity",f[f.BeforeNumericEntity=26]="BeforeNumericEntity",f[f.InNamedEntity=27]="InNamedEntity",f[f.InNumericEntity=28]="InNumericEntity",f[f.InHexEntity=29]="InHexEntity"})(n||(n={}));function o(f){return f===r.Space||f===r.NewLine||f===r.Tab||f===r.FormFeed||f===r.CarriageReturn}function a(f){return f===r.Slash||f===r.Gt||o(f)}function i(f){return f>=r.Zero&&f<=r.Nine}function s(f){return f>=r.LowerA&&f<=r.LowerZ||f>=r.UpperA&&f<=r.UpperZ}function u(f){return f>=r.UpperA&&f<=r.UpperF||f>=r.LowerA&&f<=r.LowerF}var l;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(l=t.QuoteType||(t.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function f(d,b){var g=d.xmlMode,m=g===void 0?!1:g,v=d.decodeEntities,x=v===void 0?!0:v;this.cbs=b,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=m,this.decodeEntities=x,this.entityTrie=m?e.xmlDecodeTree:e.htmlDecodeTree}return f.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},f.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},f.prototype.end=function(){this.running&&this.finish()},f.prototype.pause=function(){this.running=!1},f.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},f.prototype.getIndex=function(){return this.index},f.prototype.getSectionStart=function(){return this.sectionStart},f.prototype.stateText=function(d){d===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity)},f.prototype.stateSpecialStartSequence=function(d){var b=this.sequenceIndex===this.currentSequence.length,g=b?a(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!g)this.isSpecial=!1;else if(!b){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},f.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===r.Gt||o(d)){var b=this.index-this.currentSequence.length;if(this.sectionStart<b){var g=this.index;this.index=b,this.cbs.ontext(this.sectionStart,b),this.index=g}this.isSpecial=!1,this.sectionStart=b+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===c.TitleEnd?this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===r.Lt)},f.prototype.stateCDATASequence=function(d){d===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(d))},f.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},f.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},f.prototype.isTagStartChar=function(d){return this.xmlMode?!a(d):s(d)},f.prototype.startSpecial=function(d,b){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=b,this.state=n.SpecialStartSequence},f.prototype.stateBeforeTagName=function(d){if(d===r.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===r.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var b=d|32;this.sectionStart=this.index,!this.xmlMode&&b===c.TitleEnd[2]?this.startSpecial(c.TitleEnd,3):this.state=!this.xmlMode&&b===c.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else d===r.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(d))},f.prototype.stateInTagName=function(d){a(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},f.prototype.stateBeforeClosingTagName=function(d){o(d)||(d===r.Gt?this.state=n.Text:(this.state=this.isTagStartChar(d)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},f.prototype.stateInClosingTagName=function(d){(d===r.Gt||o(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(d))},f.prototype.stateAfterClosingTagName=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeAttributeName=function(d){d===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===r.Slash?this.state=n.InSelfClosingTag:o(d)||(this.state=n.InAttributeName,this.sectionStart=this.index)},f.prototype.stateInSelfClosingTag=function(d){d===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(d)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},f.prototype.stateInAttributeName=function(d){(d===r.Eq||a(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(d))},f.prototype.stateAfterAttributeName=function(d){d===r.Eq?this.state=n.BeforeAttributeValue:d===r.Slash||d===r.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):o(d)||(this.cbs.onattribend(l.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},f.prototype.stateBeforeAttributeValue=function(d){d===r.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):d===r.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):o(d)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},f.prototype.handleInAttributeValue=function(d,b){d===b||!this.decodeEntities&&this.fastForwardTo(b)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(b===r.DoubleQuote?l.Double:l.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},f.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,r.DoubleQuote)},f.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,r.SingleQuote)},f.prototype.stateInAttributeValueNoQuotes=function(d){o(d)||d===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},f.prototype.stateBeforeDeclaration=function(d){d===r.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===r.Dash?n.BeforeComment:n.InDeclaration},f.prototype.stateInDeclaration=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateInProcessingInstruction=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeComment=function(d){d===r.Dash?(this.state=n.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},f.prototype.stateInSpecialComment=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeSpecialS=function(d){var b=d|32;b===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):b===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},f.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===r.Number?this.state=n.BeforeNumericEntity:d===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(d))},f.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var b=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(b){var g=(b>>14)-1;if(!this.allowLegacyEntity()&&d!==r.Semi)this.trieIndex+=g;else{var m=this.index-this.entityExcess+1;m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.entityResult=this.trieIndex,this.trieIndex+=g,this.entityExcess=0,this.sectionStart=this.index+1,g===0&&this.emitNamedEntity()}}},f.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},f.prototype.stateBeforeNumericEntity=function(d){(d|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},f.prototype.emitNumericEntity=function(d){var b=this.index-this.entityExcess-1,g=b+2+ +(this.state===n.InHexEntity);g!==this.index&&(b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},f.prototype.stateInNumericEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*10+(d-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.stateInHexEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*16+(d-r.Zero),this.entityExcess++):u(d)?(this.entityResult=this.entityResult*16+((d|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},f.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},f.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},f.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(d);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case n.InSpecialTag:{this.stateInSpecialTag(d);break}case n.CDATASequence:{this.stateCDATASequence(d);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case n.InAttributeName:{this.stateInAttributeName(d);break}case n.InCommentLike:{this.stateInCommentLike(d);break}case n.InSpecialComment:{this.stateInSpecialComment(d);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case n.InTagName:{this.stateInTagName(d);break}case n.InClosingTagName:{this.stateInClosingTagName(d);break}case n.BeforeTagName:{this.stateBeforeTagName(d);break}case n.AfterAttributeName:{this.stateAfterAttributeName(d);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case n.InDeclaration:{this.stateInDeclaration(d);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case n.BeforeComment:{this.stateBeforeComment(d);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case n.InNamedEntity:{this.stateInNamedEntity(d);break}case n.BeforeEntity:{this.stateBeforeEntity(d);break}case n.InHexEntity:{this.stateInHexEntity(d);break}case n.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},f.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},f.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},f.prototype.emitPartial=function(d,b){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,b):this.cbs.ontext(d,b)},f.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},f}();t.default=h})(Es);var Y3=F&&F.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),X3=F&&F.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),K3=F&&F.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Y3(e,t,r);return X3(e,t),e};Object.defineProperty(hn,"__esModule",{value:!0});hn.Parser=void 0;var Fn=K3(Es),Al=mn,fr=new Set(["input","option","optgroup","select","button","datalist","textarea"]),re=new Set(["p"]),Ol=new Set(["thead","tbody"]),Pl=new Set(["dd","dt"]),kl=new Set(["rt","rp"]),J3=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",re],["h1",re],["h2",re],["h3",re],["h4",re],["h5",re],["h6",re],["select",fr],["input",fr],["output",fr],["button",fr],["datalist",fr],["textarea",fr],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Pl],["dt",Pl],["address",re],["article",re],["aside",re],["blockquote",re],["details",re],["div",re],["dl",re],["fieldset",re],["figcaption",re],["figure",re],["footer",re],["form",re],["header",re],["hr",re],["main",re],["nav",re],["ol",re],["pre",re],["section",re],["table",re],["ul",re],["rt",kl],["rp",kl],["tbody",Ol],["tfoot",Ol]]),Z3=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),_l=new Set(["math","svg"]),Rl=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Q3=/\s|\//,e6=function(){function t(e,r){r===void 0&&(r={});var n,o,a,i,s;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=(n=r.lowerCaseTags)!==null&&n!==void 0?n:!r.xmlMode,this.lowerCaseAttributeNames=(o=r.lowerCaseAttributeNames)!==null&&o!==void 0?o:!r.xmlMode,this.tokenizer=new((a=r.Tokenizer)!==null&&a!==void 0?a:Fn.default)(this.options,this),(s=(i=this.cbs).onparserinit)===null||s===void 0||s.call(i,this)}return t.prototype.ontext=function(e,r){var n,o,a=this.getSlice(e,r);this.endIndex=r-1,(o=(n=this.cbs).ontext)===null||o===void 0||o.call(n,a),this.startIndex=r},t.prototype.ontextentity=function(e){var r,n,o=this.tokenizer.getSectionStart();this.endIndex=o-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,(0,Al.fromCodePoint)(e)),this.startIndex=o},t.prototype.isVoidElement=function(e){return!this.options.xmlMode&&Z3.has(e)},t.prototype.onopentagname=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},t.prototype.emitOpenTag=function(e){var r,n,o,a;this.openTagStart=this.startIndex,this.tagname=e;var i=!this.options.xmlMode&&J3.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,s,!0)}this.isVoidElement(e)||(this.stack.push(e),_l.has(e)?this.foreignContext.push(!0):Rl.has(e)&&this.foreignContext.push(!1)),(a=(o=this.cbs).onopentagname)===null||a===void 0||a.call(o,e),this.cbs.onopentag&&(this.attribs={})},t.prototype.endOpenTag=function(e){var r,n;this.startIndex=this.openTagStart,this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},t.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},t.prototype.onclosetag=function(e,r){var n,o,a,i,s,u;this.endIndex=r;var l=this.getSlice(e,r);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(_l.has(l)||Rl.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((o=(n=this.cbs).onopentagname)===null||o===void 0||o.call(n,"br"),(i=(a=this.cbs).onopentag)===null||i===void 0||i.call(a,"br",{},!0),(u=(s=this.cbs).onclosetag)===null||u===void 0||u.call(s,"br",!1));else{var c=this.stack.lastIndexOf(l);if(c!==-1)if(this.cbs.onclosetag)for(var h=this.stack.length-c;h--;)this.cbs.onclosetag(this.stack.pop(),h!==0);else this.stack.length=c;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1},t.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},t.prototype.closeCurrentTag=function(e){var r,n,o=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===o&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,o,!e),this.stack.pop())},t.prototype.onattribname=function(e,r){this.startIndex=e;var n=this.getSlice(e,r);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},t.prototype.onattribdata=function(e,r){this.attribvalue+=this.getSlice(e,r)},t.prototype.onattribentity=function(e){this.attribvalue+=(0,Al.fromCodePoint)(e)},t.prototype.onattribend=function(e,r){var n,o;this.endIndex=r,(o=(n=this.cbs).onattribute)===null||o===void 0||o.call(n,this.attribname,this.attribvalue,e===Fn.QuoteType.Double?'"':e===Fn.QuoteType.Single?"'":e===Fn.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},t.prototype.getInstructionName=function(e){var r=e.search(Q3),n=r<0?e:e.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},t.prototype.ondeclaration=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(o),"!".concat(n))}this.startIndex=r+1},t.prototype.onprocessinginstruction=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(o),"?".concat(n))}this.startIndex=r+1},t.prototype.oncomment=function(e,r,n){var o,a,i,s;this.endIndex=r,(a=(o=this.cbs).oncomment)===null||a===void 0||a.call(o,this.getSlice(e,r-n)),(s=(i=this.cbs).oncommentend)===null||s===void 0||s.call(i),this.startIndex=r+1},t.prototype.oncdata=function(e,r,n){var o,a,i,s,u,l,c,h,f,d;this.endIndex=r;var b=this.getSlice(e,r-n);this.options.xmlMode||this.options.recognizeCDATA?((a=(o=this.cbs).oncdatastart)===null||a===void 0||a.call(o),(s=(i=this.cbs).ontext)===null||s===void 0||s.call(i,b),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((h=(c=this.cbs).oncomment)===null||h===void 0||h.call(c,"[CDATA[".concat(b,"]]")),(d=(f=this.cbs).oncommentend)===null||d===void 0||d.call(f)),this.startIndex=r+1},t.prototype.onend=function(){var e,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(e=this.cbs).onend)===null||r===void 0||r.call(e)},t.prototype.reset=function(){var e,r,n,o;(r=(e=this.cbs).onreset)===null||r===void 0||r.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(n=this.cbs).onparserinit)===null||o===void 0||o.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},t.prototype.parseComplete=function(e){this.reset(),this.end(e)},t.prototype.getSlice=function(e,r){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,r-this.bufferOffset);r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,r-this.bufferOffset);return n},t.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},t.prototype.write=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},t.prototype.end=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},t.prototype.pause=function(){this.tokenizer.pause()},t.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},t.prototype.parseChunk=function(e){this.write(e)},t.prototype.done=function(e){this.end(e)},t}();hn.Parser=e6;var xt={},Fr={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function r(n){return n.type===e.Tag||n.type===e.Script||n.type===e.Style}t.isTag=r,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype})(Fr);var K={},$t=F&&F.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(n[a]=o[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),nn=F&&F.__assign||function(){return nn=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},nn.apply(this,arguments)};Object.defineProperty(K,"__esModule",{value:!0});K.cloneNode=K.hasChildren=K.isDocument=K.isDirective=K.isComment=K.isText=K.isCDATA=K.isTag=K.Element=K.Document=K.CDATA=K.NodeWithChildren=K.ProcessingInstruction=K.Comment=K.Text=K.DataNode=K.Node=void 0;var je=Fr,js=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(e){return e===void 0&&(e=!1),As(this,e)},t}();K.Node=js;var ia=function(t){$t(e,t);function e(r){var n=t.call(this)||this;return n.data=r,n}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),e}(js);K.DataNode=ia;var rf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Text,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(ia);K.Text=rf;var nf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Comment,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(ia);K.Comment=nf;var of=function(t){$t(e,t);function e(r,n){var o=t.call(this,n)||this;return o.name=r,o.type=je.ElementType.Directive,o}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(ia);K.ProcessingInstruction=of;var sa=function(t){$t(e,t);function e(r){var n=t.call(this)||this;return n.children=r,n}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),e}(js);K.NodeWithChildren=sa;var af=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.CDATA,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(sa);K.CDATA=af;var sf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Root,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(sa);K.Document=sf;var uf=function(t){$t(e,t);function e(r,n,o,a){o===void 0&&(o=[]),a===void 0&&(a=r==="script"?je.ElementType.Script:r==="style"?je.ElementType.Style:je.ElementType.Tag);var i=t.call(this,o)||this;return i.name=r,i.attribs=n,i.type=a,i}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,a;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(a=r["x-attribsPrefix"])===null||a===void 0?void 0:a[n]}})},enumerable:!1,configurable:!0}),e}(sa);K.Element=uf;function lf(t){return(0,je.isTag)(t)}K.isTag=lf;function cf(t){return t.type===je.ElementType.CDATA}K.isCDATA=cf;function df(t){return t.type===je.ElementType.Text}K.isText=df;function ff(t){return t.type===je.ElementType.Comment}K.isComment=ff;function pf(t){return t.type===je.ElementType.Directive}K.isDirective=pf;function hf(t){return t.type===je.ElementType.Root}K.isDocument=hf;function t6(t){return Object.prototype.hasOwnProperty.call(t,"children")}K.hasChildren=t6;function As(t,e){e===void 0&&(e=!1);var r;if(df(t))r=new rf(t.data);else if(ff(t))r=new nf(t.data);else if(lf(t)){var n=e?Ia(t.children):[],o=new uf(t.name,nn({},t.attribs),n);n.forEach(function(u){return u.parent=o}),t.namespace!=null&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=nn({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=nn({},t["x-attribsPrefix"])),r=o}else if(cf(t)){var n=e?Ia(t.children):[],a=new af(n);n.forEach(function(l){return l.parent=a}),r=a}else if(hf(t)){var n=e?Ia(t.children):[],i=new sf(n);n.forEach(function(l){return l.parent=i}),t["x-mode"]&&(i["x-mode"]=t["x-mode"]),r=i}else if(pf(t)){var s=new of(t.name,t.data);t["x-name"]!=null&&(s["x-name"]=t["x-name"],s["x-publicId"]=t["x-publicId"],s["x-systemId"]=t["x-systemId"]),r=s}else throw new Error("Not implemented yet: ".concat(t.type));return r.startIndex=t.startIndex,r.endIndex=t.endIndex,t.sourceCodeLocation!=null&&(r.sourceCodeLocation=t.sourceCodeLocation),r}K.cloneNode=As;function Ia(t){for(var e=t.map(function(n){return As(n,!0)}),r=1;r<e.length;r++)e[r].prev=e[r-1],e[r-1].next=e[r];return e}(function(t){var e=F&&F.__createBinding||(Object.create?function(s,u,l,c){c===void 0&&(c=l);var h=Object.getOwnPropertyDescriptor(u,l);(!h||("get"in h?!u.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return u[l]}}),Object.defineProperty(s,c,h)}:function(s,u,l,c){c===void 0&&(c=l),s[c]=u[l]}),r=F&&F.__exportStar||function(s,u){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&e(u,s,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var n=Fr,o=K;r(K,t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},i=function(){function s(u,l,c){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(c=l,l=a),typeof u=="object"&&(l=u,u=void 0),this.callback=u??null,this.options=l??a,this.elementCB=c??null}return s.prototype.onparserinit=function(u){this.parser=u},s.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(u){this.handleCallback(u)},s.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},s.prototype.onopentag=function(u,l){var c=this.options.xmlMode?n.ElementType.Tag:void 0,h=new o.Element(u,l,void 0,c);this.addNode(h),this.tagStack.push(h)},s.prototype.ontext=function(u){var l=this.lastNode;if(l&&l.type===n.ElementType.Text)l.data+=u,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var c=new o.Text(u);this.addNode(c),this.lastNode=c}},s.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=u;return}var l=new o.Comment(u);this.addNode(l),this.lastNode=l},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var u=new o.Text(""),l=new o.CDATA([u]);this.addNode(l),u.parent=l,this.lastNode=u},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(u,l){var c=new o.ProcessingInstruction(u,l);this.addNode(c)},s.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},s.prototype.addNode=function(u){var l=this.tagStack[this.tagStack.length-1],c=l.children[l.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),l.children.push(u),c&&(u.prev=c,c.next=u),u.parent=l,this.lastNode=null},s}();t.DomHandler=i,t.default=i})(xt);var to={},Bt={},Nn={},mf={},Kt={},Os={};Object.defineProperty(Os,"__esModule",{value:!0});function qn(t){for(var e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}Os.default=new Map(qn([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(qn([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(qn([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(qn([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var To={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(o,a){return o.codePointAt(a)}:function(o,a){return(o.charCodeAt(a)&64512)===55296?(o.charCodeAt(a)-55296)*1024+o.charCodeAt(a+1)-56320+65536:o.charCodeAt(a)};function r(o){for(var a="",i=0,s;(s=t.xmlReplacer.exec(o))!==null;){var u=s.index,l=o.charCodeAt(u),c=e.get(l);c!==void 0?(a+=o.substring(i,u)+c,i=u+1):(a+="".concat(o.substring(i,u),"&#x").concat((0,t.getCodePoint)(o,u).toString(16),";"),i=t.xmlReplacer.lastIndex+=+((l&64512)===55296))}return a+o.substr(i)}t.encodeXML=r,t.escape=r;function n(o,a){return function(s){for(var u,l=0,c="";u=o.exec(s);)l!==u.index&&(c+=s.substring(l,u.index)),c+=a.get(u[0].charCodeAt(0)),l=u.index+1;return c+s.substring(l)}}t.escapeUTF8=n(/[&<>'"]/g,e),t.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(To);var r6=F&&F.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.encodeNonAsciiHTML=Kt.encodeHTML=void 0;var n6=r6(Os),bf=To,o6=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a6(t){return gf(o6,t)}Kt.encodeHTML=a6;function i6(t){return gf(bf.xmlReplacer,t)}Kt.encodeNonAsciiHTML=i6;function gf(t,e){for(var r="",n=0,o;(o=t.exec(e))!==null;){var a=o.index;r+=e.substring(n,a);var i=e.charCodeAt(a),s=n6.default.get(i);if(typeof s=="object"){if(a+1<e.length){var u=e.charCodeAt(a+1),l=typeof s.n=="number"?s.n===u?s.o:void 0:s.n.get(u);if(l!==void 0){r+=l,n=t.lastIndex+=1;continue}}s=s.v}if(s!==void 0)r+=s,n=a+1;else{var c=(0,bf.getCodePoint)(e,a);r+="&#x".concat(c.toString(16),";"),n=t.lastIndex+=+(c!==i)}}return r+e.substr(n)}(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var e=mn,r=Kt,n=To,o;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(o=t.EntityLevel||(t.EntityLevel={}));var a;(function(f){f[f.UTF8=0]="UTF8",f[f.ASCII=1]="ASCII",f[f.Extensive=2]="Extensive",f[f.Attribute=3]="Attribute",f[f.Text=4]="Text"})(a=t.EncodingMode||(t.EncodingMode={}));function i(f,d){d===void 0&&(d=o.XML);var b=typeof d=="number"?d:d.level;if(b===o.HTML){var g=typeof d=="object"?d.mode:void 0;return(0,e.decodeHTML)(f,g)}return(0,e.decodeXML)(f)}t.decode=i;function s(f,d){var b;d===void 0&&(d=o.XML);var g=typeof d=="number"?{level:d}:d;return(b=g.mode)!==null&&b!==void 0||(g.mode=e.DecodingMode.Strict),i(f,g)}t.decodeStrict=s;function u(f,d){d===void 0&&(d=o.XML);var b=typeof d=="number"?{level:d}:d;return b.mode===a.UTF8?(0,n.escapeUTF8)(f):b.mode===a.Attribute?(0,n.escapeAttribute)(f):b.mode===a.Text?(0,n.escapeText)(f):b.level===o.HTML?b.mode===a.ASCII?(0,r.encodeNonAsciiHTML)(f):(0,r.encodeHTML)(f):(0,n.encodeXML)(f)}t.encode=u;var l=To;Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=Kt;Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var h=mn;Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(mf);var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});Tr.attributeNames=Tr.elementNames=void 0;Tr.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(t){return[t.toLowerCase(),t]}));Tr.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(t){return[t.toLowerCase(),t]}));var hr=F&&F.__assign||function(){return hr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},hr.apply(this,arguments)},s6=F&&F.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),u6=F&&F.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l6=F&&F.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&s6(e,t,r);return u6(e,t),e};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.render=void 0;var ut=l6(Fr),No=mf,vf=Tr,c6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d6(t){return t.replace(/"/g,"&quot;")}function f6(t,e){var r;if(t){var n=((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)===!1?d6:e.xmlMode||e.encodeEntities!=="utf8"?No.encodeXML:No.escapeAttribute;return Object.keys(t).map(function(o){var a,i,s=(a=t[o])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(o=(i=vf.attributeNames.get(o))!==null&&i!==void 0?i:o),!e.emptyAttrs&&!e.xmlMode&&s===""?o:"".concat(o,'="').concat(n(s),'"')}).join(" ")}}var Il=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function ua(t,e){e===void 0&&(e={});for(var r=("length"in t)?t:[t],n="",o=0;o<r.length;o++)n+=p6(r[o],e);return n}Nn.render=ua;Nn.default=ua;function p6(t,e){switch(t.type){case ut.Root:return ua(t.children,e);case ut.Doctype:case ut.Directive:return g6(t);case ut.Comment:return x6(t);case ut.CDATA:return y6(t);case ut.Script:case ut.Style:case ut.Tag:return b6(t,e);case ut.Text:return v6(t,e)}}var h6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m6=new Set(["svg","math"]);function b6(t,e){var r;e.xmlMode==="foreign"&&(t.name=(r=vf.elementNames.get(t.name))!==null&&r!==void 0?r:t.name,t.parent&&h6.has(t.parent.name)&&(e=hr(hr({},e),{xmlMode:!1}))),!e.xmlMode&&m6.has(t.name)&&(e=hr(hr({},e),{xmlMode:"foreign"}));var n="<".concat(t.name),o=f6(t.attribs,e);return o&&(n+=" ".concat(o)),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Il.has(t.name))?(e.xmlMode||(n+=" "),n+="/>"):(n+=">",t.children.length>0&&(n+=ua(t.children,e)),(e.xmlMode||!Il.has(t.name))&&(n+="</".concat(t.name,">"))),n}function g6(t){return"<".concat(t.data,">")}function v6(t,e){var r,n=t.data||"";return((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&c6.has(t.parent.name))&&(n=e.xmlMode||e.encodeEntities!=="utf8"?(0,No.encodeXML)(n):(0,No.escapeText)(n)),n}function y6(t){return"<![CDATA[".concat(t.children[0].data,"]]>")}function x6(t){return"<!--".concat(t.data,"-->")}var w6=F&&F.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bt,"__esModule",{value:!0});Bt.getOuterHTML=yf;Bt.getInnerHTML=E6;Bt.getText=ro;Bt.textContent=gi;Bt.innerText=vi;var Ze=xt,S6=w6(Nn),C6=Fr;function yf(t,e){return(0,S6.default)(t,e)}function E6(t,e){return(0,Ze.hasChildren)(t)?t.children.map(function(r){return yf(r,e)}).join(""):""}function ro(t){return Array.isArray(t)?t.map(ro).join(""):(0,Ze.isTag)(t)?t.name==="br"?`
230
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sd(t,e){if(t){if(typeof t=="string")return ri(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ri(t,e):void 0}}function ri(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ud(t){var e=function(r,n){if(typeof r!="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,"string");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(t);return typeof e=="symbol"?e:String(e)}const ls=w.createContext(null);var ld=w.createContext(null),cd=function(){return w.useContext(ld)};function Qt(t){var e=cd(),r=w.useContext(ls);oe(r,Hx);var n=Gx(r,t),o=w.useMemo(function(){return e&&e.createConnectorsUsage()},[e]);w.useEffect(function(){return o.register(),function(){o.cleanup()}},[o]);var a=w.useMemo(function(){return o&&rd(o.connectors)},[o]);return se(se({},n),{},{connectors:a,inContext:!!r,store:r})}var n2=["actions","query","connectors"];function Ko(t){var e=w.useContext(od);oe(e,zx);var r=e.id,n=e.related,o=Qt(function(c){return r&&c.nodes[r]&&t&&t(c.nodes[r])}),a=o.actions,i=o.connectors,s=ss(o,n2),u=w.useMemo(function(){return rd({connect:function(c){return i.connect(c,r)},drag:function(c){return i.drag(c,r)}})},[i,r]),l=w.useMemo(function(){return{setProp:function(c,h){h?a.history.throttle(h).setProp(r,c):a.setProp(r,c)},setCustom:function(c,h){h?a.history.throttle(h).setCustom(r,c):a.setCustom(r,c)},setHidden:function(c){return a.setHidden(r,c)}}},[a,r]);return se(se({},s),{},{id:r,related:n,inNodeContext:!!e,actions:l,connectors:u})}var o2=["id","related","actions","inNodeContext","connectors"];function ne(t){var e=Ko(t),r=e.id,n=e.related,o=e.actions,a=e.inNodeContext,i=e.connectors;return se(se({},ss(e,o2)),{},{actions:o,id:r,related:n,setProp:function(s,u){return _t("useNode().setProp()",{suggest:"useNode().actions.setProp()"}),o.setProp(s,u)},inNodeContext:a,connectors:i})}const a2=({render:t})=>{const{connectors:{connect:e,drag:r}}=ne();return typeof t.type=="string"?e(r(w.cloneElement(t))):t},i2=()=>{const{type:t,props:e,nodes:r,hydrationTimestamp:n}=Ko(o=>({type:o.data.type,props:o.data.props,nodes:o.data.nodes,hydrationTimestamp:o._hydrationTimestamp}));return w.useMemo(()=>{let o=e.children;r&&r.length>0&&(o=w.createElement(w.Fragment,null,r.map(i=>w.createElement(cs,{id:i,key:i}))));const a=w.createElement(t,e,o);return typeof t=="string"?w.createElement(a2,{render:a}):a},[t,e,n,r])},s2=({render:t})=>{const{hidden:e}=Ko(n=>({hidden:n.data.hidden})),{onRender:r}=Qt(n=>({onRender:n.options.onRender}));return e?null:w.createElement(r,{render:t||w.createElement(i2,null)})},cs=({id:t,render:e})=>w.createElement(ad,{id:t},w.createElement(s2,{render:e})),ni={is:"div",canvas:!1,custom:{},hidden:!1},u2={is:"type",canvas:"isCanvas"};function bt({id:t,children:e,...r}){const{is:n}={...ni,...r},{query:o,actions:a}=Qt(),{id:i,inNodeContext:s}=Ko(),[u]=w.useState(()=>{oe(!!t,Ox);const l=o.node(i).get();if(s){const c=l.data.linkedNodes[t]?o.node(l.data.linkedNodes[t]).get():null;if(c&&c.data.type===n)return c.id;const h=w.createElement(bt,r,e),f=o.parseReactElement(h).toNodeTree();return a.history.ignore().addLinkedNodeFromTree(f,i,t),f.rootNodeId}return null});return u?w.createElement(cs,{id:u}):null}const dd=()=>_t("<Canvas />",{suggest:"<Element canvas={true} />"});function oi({...t}){return w.useEffect(()=>dd(),[]),w.createElement(bt,{...t,canvas:!0})}const l2=()=>{const{timestamp:t}=Qt(e=>({timestamp:e.nodes[mt]&&e.nodes[mt]._hydrationTimestamp}));return t?w.createElement(cs,{id:mt,key:t}):null},fd=({children:t,json:e,data:r})=>{const{actions:n,query:o}=Qt();e&&_t("<Frame json={...} />",{suggest:"<Frame data={...} />"});const a=w.useRef(!1);if(!a.current){const i=r||e;if(i)n.history.ignore().deserialize(i);else if(t){const s=w.Children.only(t),u=o.parseReactElement(s).toNodeTree((l,c)=>(c===s&&(l.id=mt),l));n.history.ignore().addNodeTree(u)}a.current=!0}return w.createElement(l2,null)};var cl;(function(t){t[t.Any=0]="Any",t[t.Id=1]="Id",t[t.Obj=2]="Obj"})(cl||(cl={}));const ka=t=>{const{addLinkedNodeFromTree:e,setDOM:r,setNodeEvent:n,replaceNodes:o,reset:a,...i}=t;return i};function Lt(t){const{connectors:e,actions:r,query:n,store:o,...a}=Qt(t),i=ka(r);return{connectors:e,actions:w.useMemo(()=>({...i,history:{...i.history,ignore:(...s)=>ka(i.history.ignore(...s)),throttle:(...s)=>ka(i.history.throttle(...s))}}),[i]),query:n,store:o,...a}}var pd=function(t){return Object.fromEntries?Object.fromEntries(t):t.reduce(function(e,r){var n=id(r,2),o=n[0],a=n[1];return se(se({},e),{},ge({},o,a))},{})},ft=function(t,e,r){var n=Array.isArray(e)?e:[e],o=se({existOnly:!1,idOnly:!1},r||{}),a=n.filter(function(i){return!!i}).map(function(i){return typeof i=="string"?{node:t[i],exists:!!t[i]}:ei(i)!=="object"||o.idOnly?{node:null,exists:!1}:{node:i,exists:!!t[i.id]}});return o.existOnly&&oe(a.filter(function(i){return!i.exists}).length===0,Yc),a},c2=["history"],lr=null,go=function(t,e){if(typeof e=="string")return e;var r,n=function(o,a){var i=function(s){if(lr&&lr.resolver===s)return lr.reversed;lr={resolver:s,reversed:new Map};for(var u=0,l=Object.entries(s);u<l.length;u++){var c=id(l[u],2);lr.reversed.set(c[1],c[0])}return lr.reversed}(o).get(a);return i!==void 0?i:null}(t,e);return oe(n,ho.replace("%node_type%",(r=e).name||r.displayName)),n};const d2=(t,e)=>typeof t=="string"?t:{resolvedName:go(e,t)},ai=(t,e)=>{let{type:r,isCanvas:n,props:o}=t;return o=Object.keys(o).reduce((a,i)=>{const s=o[i];return s==null||typeof s=="function"||(a[i]=i==="children"&&typeof s!="string"?w.Children.map(s,u=>typeof u=="string"?u:ai(u,e)):typeof s.type=="function"?ai(s,e):s),a},{}),{type:d2(r,e),isCanvas:!!n,props:o}},f2=(t,e)=>{const{type:r,props:n,isCanvas:o,name:a,...i}=t;return{...ai({type:r,isCanvas:o,props:n},e),...i}};function ii(t,e){oe(typeof e=="string",Mx);var r=t.nodes[e],n=function(o){return ii(t,o)};return{isCanvas:function(){return!!r.data.isCanvas},isRoot:function(){return r.id===mt},isLinkedNode:function(){return r.data.parent&&n(r.data.parent).linkedNodes().includes(r.id)},isTopLevelNode:function(){return this.isRoot()||this.isLinkedNode()},isDeletable:function(){return!this.isTopLevelNode()},isParentOfTopLevelNodes:function(){return r.data.linkedNodes&&Object.keys(r.data.linkedNodes).length>0},isParentOfTopLevelCanvas:function(){return _t("query.node(id).isParentOfTopLevelCanvas",{suggest:"query.node(id).isParentOfTopLevelNodes"}),this.isParentOfTopLevelNodes()},isSelected:function(){return t.events.selected.has(e)},isHovered:function(){return t.events.hovered.has(e)},isDragged:function(){return t.events.dragged.has(e)},get:function(){return r},ancestors:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return function a(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=t.nodes[i];return l?(s.push(i),l.data.parent&&(o||!o&&u===0)&&(s=a(l.data.parent,s,u+1)),s):s}(r.data.parent)},descendants:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=arguments.length>1?arguments[1]:void 0;return function i(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return(o||!o&&l===0)&&t.nodes[s]&&(a!=="childNodes"&&n(s).linkedNodes().forEach(function(c){u.push(c),u=i(c,u,l+1)}),a!=="linkedNodes"&&n(s).childNodes().forEach(function(c){u.push(c),u=i(c,u,l+1)})),u}(e)},linkedNodes:function(){return Object.values(r.data.linkedNodes||{})},childNodes:function(){return r.data.nodes||[]},isDraggable:function(o){try{var a=r;return oe(!this.isTopLevelNode(),tl),oe(ii(t,a.data.parent).isCanvas(),el),oe(a.rules.canDrag(a,n),Dx),!0}catch(i){return o&&o(i),!1}},isDroppable:function(o,a){var i=ft(t.nodes,o),s=r;try{oe(this.isCanvas(),Rx),oe(s.rules.canMoveIn(i.map(function(l){return l.node}),s,n),kx);var u={};return i.forEach(function(l){var c=l.node,h=l.exists;if(oe(c.rules.canDrop(s,c,n),Px),h){oe(!n(c.id).isTopLevelNode(),tl);var f=n(c.id).descendants(!0);oe(!f.includes(s.id)&&s.id!==c.id,Ix);var d=c.data.parent&&t.nodes[c.data.parent];oe(d.data.isCanvas,el),oe(d||!d&&!t.nodes[c.id],Ax),d.id!==s.id&&(u[d.id]||(u[d.id]=[]),u[d.id].push(c))}}),Object.keys(u).forEach(function(l){var c=t.nodes[l];oe(c.rules.canMoveOut(u[l],c,n),_x)}),!0}catch(l){return a&&a(l),!1}},toSerializedNode:function(){return f2(r.data,t.options.resolver)},toNodeTree:function(o){var a=[e].concat(ln(this.descendants(!0,o))).reduce(function(i,s){return i[s]=n(s).get(),i},{});return{rootNodeId:e,nodes:a}},decendants:function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return _t("query.node(id).decendants",{suggest:"query.node(id).descendants"}),this.descendants(o)},isTopLevelCanvas:function(){return!this.isRoot()&&!r.data.parent}}}function hd(t,e,r,n){for(var o={parent:t,index:0,where:"before"},a=0,i=0,s=0,u=0,l=0,c=0,h=0,f=e.length;h<f;h++){var d=e[h];if(c=d.top+d.outerHeight,u=d.left+d.outerWidth/2,l=d.top+d.outerHeight/2,!(i&&d.left>i||s&&l>=s||a&&d.left+d.outerWidth<a))if(o.index=h,d.inFlow){if(n<l){o.where="before";break}o.where="after"}else n<c&&(s=c),r<u?(i=u,o.where="before"):(a=u,o.where="after")}return o}var Bn=function(t){return typeof t=="string"?t:t.name};function dl(t,e){var r=t.data.type,n={id:t.id||ed(),_hydrationTimestamp:Date.now(),data:se({type:r,name:Bn(r),displayName:Bn(r),props:{},custom:{},parent:null,isCanvas:!1,hidden:!1,nodes:[],linkedNodes:{}},t.data),info:{},related:{},events:{selected:!1,dragged:!1,hovered:!1},rules:{canDrag:function(){return!0},canDrop:function(){return!0},canMoveIn:function(){return!0},canMoveOut:function(){return!0}},dom:null};if(n.data.type===bt||n.data.type===oi){var o=se(se({},ni),n.data.props);n.data.props=Object.keys(n.data.props).reduce(function(s,u){return Object.keys(ni).includes(u)?n.data[u2[u]||u]=o[u]:s[u]=n.data.props[u],s},{}),n.data.name=Bn(r=n.data.type),n.data.displayName=Bn(r),n.data.type===oi&&(n.data.isCanvas=!0,dd())}e&&e(n);var a=r.craft;if(a){if(n.data.displayName=a.displayName||a.name||n.data.displayName,n.data.props=se(se({},a.props||a.defaultProps||{}),n.data.props),n.data.custom=se(se({},a.custom||{}),n.data.custom),a.isCanvas!=null&&(n.data.isCanvas=a.isCanvas),a.rules&&Object.keys(a.rules).forEach(function(s){["canDrag","canDrop","canMoveIn","canMoveOut"].includes(s)&&(n.rules[s]=a.rules[s])}),a.related){var i={id:n.id,related:!0};Object.keys(a.related).forEach(function(s){n.related[s]=function(u){return w.createElement(ad,i,w.createElement(a.related[s],u))}})}a.info&&(n.info=a.info)}return n}const si=(t,e,r)=>{let{type:n,props:o}=t;const a=((s,u)=>typeof s=="object"&&s.resolvedName?s.resolvedName==="Canvas"?oi:u[s.resolvedName]:typeof s=="string"?s:null)(n,e);if(!a)return;o=Object.keys(o).reduce((s,u)=>{const l=o[u];return s[u]=l==null?null:typeof l=="object"&&l.resolvedName?si(l,e):u==="children"&&Array.isArray(l)?l.map(c=>typeof c=="string"?c:si(c,e)):l,s},{});const i={...w.createElement(a,{...o})};return{...i,name:go(e,i.type)}},p2=(t,e)=>{const{type:r,props:n,...o}=t;oe(r!==void 0&&typeof r=="string"||r!==void 0&&r.resolvedName!==void 0,Bx.replace("%displayName%",t.displayName).replace("%availableComponents%",Object.keys(e).join(", ")));const{type:a,name:i,props:s}=si(t,e),{parent:u,custom:l,displayName:c,isCanvas:h,nodes:f,hidden:d}=o;return{type:a,name:i,displayName:c||i,props:s,custom:l||{},isCanvas:!!h,hidden:!!d,parent:u,linkedNodes:o.linkedNodes||o._childCanvas||{},nodes:f||[]}},h2=(t,e)=>{if(e.length<1)return{[t.id]:t};const r=e.map(({rootNodeId:o})=>o),n={...t,data:{...t.data,nodes:r}};return e.reduce((o,a)=>{const i=a.nodes[a.rootNodeId];return{...o,...a.nodes,[i.id]:{...i,data:{...i.data,parent:t.id}}}},{[t.id]:n})},m2=(t,e)=>({rootNodeId:t.id,nodes:h2(t,e)});function md(t){const e=t&&t.options,r=()=>md(t);return{getDropPlaceholder:(n,o,a,i=s=>t.nodes[s.id].dom)=>{const s=t.nodes[o],u=r().node(s.id).isCanvas()?s:t.nodes[s.data.parent];if(!u)return;const l=u.data.nodes||[],c=hd(u,l?l.reduce((d,b)=>{const g=i(t.nodes[b]);if(g){const m={id:b,...un(g)};d.push(m)}return d},[]):[],a.x,a.y),h=l.length&&t.nodes[l[c.index]],f={placement:{...c,currentNode:h},error:null};return ft(t.nodes,n).forEach(({node:d,exists:b})=>{b&&r().node(d.id).isDraggable(g=>f.error=g)}),r().node(u.id).isDroppable(n,d=>f.error=d),f},getOptions:()=>e,getNodes:()=>t.nodes,node:n=>ii(t,n),getSerializedNodes(){const n=Object.keys(t.nodes).map(o=>[o,this.node(o).toSerializedNode()]);return pd(n)},getEvent:n=>function(o,a){var i=o.events[a];return{contains:function(s){return i.has(s)},isEmpty:function(){return this.all().length===0},first:function(){return this.all()[0]},last:function(){var s=this.all();return s[s.length-1]},all:function(){return Array.from(i)},size:function(){return this.all().length},at:function(s){return this.all()[s]},raw:function(){return i}}}(t,n),serialize(){return JSON.stringify(this.getSerializedNodes())},parseReactElement:n=>({toNodeTree(o){let a=function(s,u){let l=s;return typeof l=="string"&&(l=w.createElement(w.Fragment,{},l)),dl({data:{type:l.type,props:{...l.props}}},c=>{u&&u(c,l)})}(n,(s,u)=>{const l=go(t.options.resolver,s.data.type);s.data.displayName=s.data.displayName||l,s.data.name=l,o&&o(s,u)}),i=[];return n.props&&n.props.children&&(i=w.Children.toArray(n.props.children).reduce((s,u)=>(w.isValidElement(u)&&s.push(r().parseReactElement(u).toNodeTree(o)),s),[])),m2(a,i)}}),parseSerializedNode:n=>({toNode(o){const a=p2(n,t.options.resolver);oe(a.type,ho);const i=typeof o=="string"&&o;return i&&_t("query.parseSerializedNode(...).toNode(id)",{suggest:"query.parseSerializedNode(...).toNode(node => node.id = id)"}),r().parseFreshNode({...i?{id:i}:{},data:a}).toNode(!i&&o)}}),parseFreshNode:n=>({toNode:o=>dl(n,a=>{a.data.parent===Gc&&(a.data.parent=mt);const i=go(t.options.resolver,a.data.type);oe(i!==null,ho),a.data.displayName=a.data.displayName||i,a.data.name=i,o&&o(a)})}),createNode(n,o){_t(`query.createNode(${n})`,{suggest:`query.parseReactElement(${n}).toNodeTree()`});const a=this.parseReactElement(n).toNodeTree(),i=a.nodes[a.rootNodeId];return o&&(o.id&&(i.id=o.id),o.data&&(i.data={...i.data,...o.data})),i},getState:()=>t}}var b2=function(t){is(r,td);var e=us(r);function r(){return Yo(this,r),e.apply(this,arguments)}return Xo(r,[{key:"handlers",value:function(){return{connect:function(n,o){},select:function(n,o){},hover:function(n,o){},drag:function(n,o){},drop:function(n,o){},create:function(n,o,a){}}}}]),r}();(function(t){is(r,Xx);var e=us(r);function r(){return Yo(this,r),e.apply(this,arguments)}return Xo(r)})();var fl=function(t){t.preventDefault()},ui=function(){function t(e,r){Yo(this,t),ge(this,"store",void 0),ge(this,"dragTarget",void 0),ge(this,"currentDropTargetId",void 0),ge(this,"currentDropTargetCanvasAncestorId",void 0),ge(this,"currentIndicator",null),ge(this,"currentTargetId",void 0),ge(this,"currentTargetChildDimensions",void 0),ge(this,"dragError",void 0),ge(this,"draggedNodes",void 0),ge(this,"onScrollListener",void 0),this.store=e,this.dragTarget=r,this.currentDropTargetId=null,this.currentDropTargetCanvasAncestorId=null,this.currentTargetId=null,this.currentTargetChildDimensions=null,this.currentIndicator=null,this.dragError=null,this.draggedNodes=this.getDraggedNodes(),this.validateDraggedNodes(),this.onScrollListener=this.onScroll.bind(this),window.addEventListener("scroll",this.onScrollListener,!0),window.addEventListener("dragover",fl,!1)}return Xo(t,[{key:"cleanup",value:function(){window.removeEventListener("scroll",this.onScrollListener,!0),window.removeEventListener("dragover",fl,!1)}},{key:"onScroll",value:function(e){var r=e.target,n=this.store.query.node(mt).get();r instanceof Element&&n&&n.dom&&r.contains(n.dom)&&(this.currentTargetChildDimensions=null)}},{key:"getDraggedNodes",value:function(){return ft(this.store.query.getNodes(),this.dragTarget.type==="new"?this.dragTarget.tree.nodes[this.dragTarget.tree.rootNodeId]:this.dragTarget.nodes)}},{key:"validateDraggedNodes",value:function(){var e=this;this.dragTarget.type!=="new"&&this.draggedNodes.forEach(function(r){r.exists&&e.store.query.node(r.node.id).isDraggable(function(n){e.dragError=n})})}},{key:"isNearBorders",value:function(e,r,n){return e.top+t.BORDER_OFFSET>n||e.bottom-t.BORDER_OFFSET<n||e.left+t.BORDER_OFFSET>r||e.right-t.BORDER_OFFSET<r}},{key:"isDiff",value:function(e){return!this.currentIndicator||this.currentIndicator.placement.parent.id!==e.parent.id||this.currentIndicator.placement.index!==e.index||this.currentIndicator.placement.where!==e.where}},{key:"getChildDimensions",value:function(e){var r=this,n=this.currentTargetChildDimensions;return this.currentTargetId===e.id&&n?n:e.data.nodes.reduce(function(o,a){var i=r.store.query.node(a).get().dom;return i&&o.push(se({id:a},un(i))),o},[])}},{key:"getCanvasAncestor",value:function(e){var r=this;if(e===this.currentDropTargetId&&this.currentDropTargetCanvasAncestorId){var n=this.store.query.node(this.currentDropTargetCanvasAncestorId).get();if(n)return n}return function o(a){var i=r.store.query.node(a).get();return i&&i.data.isCanvas?i:i.data.parent?o(i.data.parent):null}(e)}},{key:"computeIndicator",value:function(e,r,n){var o=this.getCanvasAncestor(e);if(o&&(this.currentDropTargetId=e,this.currentDropTargetCanvasAncestorId=o.id,o.data.parent&&this.isNearBorders(un(o.dom),r,n)&&!this.store.query.node(o.id).isLinkedNode()&&(o=this.store.query.node(o.data.parent).get()),o)){this.currentTargetChildDimensions=this.getChildDimensions(o),this.currentTargetId=o.id;var a=hd(o,this.currentTargetChildDimensions,r,n);if(this.isDiff(a)){var i=this.dragError;i||this.store.query.node(o.id).isDroppable(this.draggedNodes.map(function(l){return l.node}),function(l){i=l});var s=o.data.nodes[a.index],u=s&&this.store.query.node(s).get();return this.currentIndicator={placement:se(se({},a),{},{currentNode:u}),error:i},this.currentIndicator}}}},{key:"getIndicator",value:function(){return this.currentIndicator}}]),t}();ge(ui,"BORDER_OFFSET",10);var pl=function(t,e){if(e.length===1||arguments.length>2&&arguments[2]!==void 0&&arguments[2]){var r=e[0].getBoundingClientRect(),n=r.width,o=r.height,a=e[0].cloneNode(!0);return a.style.position="absolute",a.style.left="-100%",a.style.top="-100%",a.style.width="".concat(n,"px"),a.style.height="".concat(o,"px"),a.style.pointerEvents="none",a.classList.add("drag-shadow"),document.body.appendChild(a),t.dataTransfer.setDragImage(a,0,0),a}var i=document.createElement("div");return i.style.position="absolute",i.style.left="-100%",i.style.top="-100%",i.style.width="100%",i.style.height="100%",i.style.pointerEvents="none",i.classList.add("drag-shadow-container"),e.forEach(function(s){var u=s.getBoundingClientRect(),l=u.width,c=u.height,h=u.top,f=u.left,d=s.cloneNode(!0);d.style.position="absolute",d.style.left="".concat(f,"px"),d.style.top="".concat(h,"px"),d.style.width="".concat(l,"px"),d.style.height="".concat(c,"px"),d.classList.add("drag-shadow"),i.appendChild(d)}),document.body.appendChild(i),t.dataTransfer.setDragImage(i,t.clientX,t.clientY),i},bd=function(t){is(r,b2);var e=us(r);function r(){var n;Yo(this,r);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return ge(Qr(n=e.call.apply(e,[this].concat(a))),"draggedElementShadow",void 0),ge(Qr(n),"dragTarget",void 0),ge(Qr(n),"positioner",null),ge(Qr(n),"currentSelectedElementIds",[]),n}return Xo(r,[{key:"onDisable",value:function(){this.options.store.actions.clearEvents()}},{key:"handlers",value:function(){var n=this,o=this.options.store;return{connect:function(a,i){return o.actions.setDOM(i,a),n.reflect(function(s){s.select(a,i),s.hover(a,i),s.drop(a,i)})},select:function(a,i){var s=n.addCraftEventListener(a,"mousedown",function(l){l.craft.stopPropagation();var c=[];if(i){var h=o.query,f=h.getEvent("selected").all();(n.options.isMultiSelectEnabled(l)||f.includes(i))&&(c=f.filter(function(d){var b=h.node(d).descendants(!0),g=h.node(d).ancestors(!0);return!b.includes(i)&&!g.includes(i)})),c.includes(i)||c.push(i)}o.actions.setNodeEvent("selected",c)}),u=n.addCraftEventListener(a,"click",function(l){l.craft.stopPropagation();var c=o.query.getEvent("selected").all(),h=n.options.isMultiSelectEnabled(l),f=n.currentSelectedElementIds.includes(i),d=ln(c);h&&f?(d.splice(d.indexOf(i),1),o.actions.setNodeEvent("selected",d)):!h&&c.length>1&&o.actions.setNodeEvent("selected",d=[i]),n.currentSelectedElementIds=d});return function(){s(),u()}},hover:function(a,i){var s=n.addCraftEventListener(a,"mouseover",function(l){l.craft.stopPropagation(),o.actions.setNodeEvent("hovered",i)}),u=null;return n.options.removeHoverOnMouseleave&&(u=n.addCraftEventListener(a,"mouseleave",function(l){l.craft.stopPropagation(),o.actions.setNodeEvent("hovered",null)})),function(){s(),u&&u()}},drop:function(a,i){var s=n.addCraftEventListener(a,"dragover",function(l){if(l.craft.stopPropagation(),l.preventDefault(),n.positioner){var c=n.positioner.computeIndicator(i,l.clientX,l.clientY);c&&o.actions.setIndicator(c)}}),u=n.addCraftEventListener(a,"dragenter",function(l){l.craft.stopPropagation(),l.preventDefault()});return function(){u(),s()}},drag:function(a,i){if(!o.query.node(i).isDraggable())return function(){};a.setAttribute("draggable","true");var s=n.addCraftEventListener(a,"dragstart",function(l){l.craft.stopPropagation();var c=o.query,h=o.actions,f=c.getEvent("selected").all(),d=n.options.isMultiSelectEnabled(l);n.currentSelectedElementIds.includes(i)||(f=d?[].concat(ln(f),[i]):[i],o.actions.setNodeEvent("selected",f)),h.setNodeEvent("dragged",f);var b=f.map(function(g){return c.node(g).get().dom});n.draggedElementShadow=pl(l,b,r.forceSingleDragShadow),n.dragTarget={type:"existing",nodes:f},n.positioner=new ui(n.options.store,n.dragTarget)}),u=n.addCraftEventListener(a,"dragend",function(l){l.craft.stopPropagation(),n.dropElement(function(c,h){c.type!=="new"&&o.actions.move(c.nodes,h.placement.parent.id,h.placement.index+(h.placement.where==="after"?1:0))})});return function(){a.setAttribute("draggable","false"),s(),u()}},create:function(a,i,s){a.setAttribute("draggable","true");var u=n.addCraftEventListener(a,"dragstart",function(c){var h;if(c.craft.stopPropagation(),typeof i=="function"){var f=i();h=w.isValidElement(f)?o.query.parseReactElement(f).toNodeTree():f}else h=o.query.parseReactElement(i).toNodeTree();n.draggedElementShadow=pl(c,[c.currentTarget],r.forceSingleDragShadow),n.dragTarget={type:"new",tree:h},n.positioner=new ui(n.options.store,n.dragTarget)}),l=n.addCraftEventListener(a,"dragend",function(c){c.craft.stopPropagation(),n.dropElement(function(h,f){h.type!=="existing"&&(o.actions.addNodeTree(h.tree,f.placement.parent.id,f.placement.index+(f.placement.where==="after"?1:0)),s&&tb(s.onCreate)&&s.onCreate(h.tree))})});return function(){a.removeAttribute("draggable"),u(),l()}}}}},{key:"dropElement",value:function(n){var o=this.options.store;if(this.positioner){var a=this.draggedElementShadow,i=this.positioner.getIndicator();this.dragTarget&&i&&!i.error&&n(this.dragTarget,i),a&&(a.parentNode.removeChild(a),this.draggedElementShadow=null),this.dragTarget=null,o.actions.setIndicator(null),o.actions.setNodeEvent("dragged",null),this.positioner.cleanup(),this.positioner=null}}}]),r}();function g2(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,o=0,a=0,i=0,s=0,u=t.where;return r?r.inFlow?(i=r.outerWidth,s=n,o=u==="before"?r.top:r.bottom,a=r.left):(i=n,s=r.outerHeight,o=r.top,a=u==="before"?r.left:r.left+r.outerWidth):e&&(o=e.top+e.padding.top,a=e.left+e.padding.left,i=e.outerWidth-e.padding.right-e.padding.left-e.margin.left-e.margin.right,s=n),{top:"".concat(o,"px"),left:"".concat(a,"px"),width:"".concat(i,"px"),height:"".concat(s,"px")}}ge(bd,"forceSingleDragShadow",e2()&&Qx());const v2=()=>{const{indicator:t,indicatorOptions:e,enabled:r}=Qt(o=>({indicator:o.indicator,indicatorOptions:o.options.indicator,enabled:o.options.enabled})),n=cd();return w.useEffect(()=>{n&&(r?n.enable():n.disable())},[r,n]),t?w.createElement(Zx,{className:e.className,style:{...g2(t.placement,un(t.placement.parent.dom),t.placement.currentNode&&un(t.placement.currentNode.dom),e.thickness),backgroundColor:t.error?e.error:e.success,transition:e.transition||"0.2s ease-in",...e.style??{}},parentDom:t.placement.parent.dom}):null},y2=({children:t})=>{const e=w.useContext(ls),r=w.useMemo(()=>e.query.getOptions().handlers(e),[e]);return r?w.createElement(ld.Provider,{value:r},w.createElement(v2,null),t):null},hl={nodes:{},events:{dragged:new Set,selected:new Set,hovered:new Set},indicator:null,options:{onNodesChange:()=>null,onRender:({render:t})=>t,onBeforeMoveEnd:()=>null,resolver:{},enabled:!0,indicator:{error:"red",success:"rgb(98, 196, 98)"},handlers:t=>new bd({store:t,removeHoverOnMouseleave:!1,isMultiSelectEnabled:e=>!!e.metaKey}),normalizeNodes:()=>{}}},x2={methods:function(t,e){return se(se({},function(r,n){var o=function(s,u,l){if(function f(d,b){var g=s.nodes[d];typeof g.data.type!="string"&&oe(r.options.resolver[g.data.name],ho.replace("%node_type%","".concat(g.data.type.name))),r.nodes[d]=se(se({},g),{},{data:se(se({},g.data),{},{parent:b})}),g.data.nodes.length>0&&(delete r.nodes[d].data.props.children,g.data.nodes.forEach(function(m){return f(m,g.id)})),Object.values(g.data.linkedNodes).forEach(function(m){return f(m,g.id)})}(s.rootNodeId,u),u||s.rootNodeId!==mt){var c=a(u);if(l.type!=="child")c.data.linkedNodes[l.id]=s.rootNodeId;else{var h=l.index;h!=null?c.data.nodes.splice(h,0,s.rootNodeId):c.data.nodes.push(s.rootNodeId)}}},a=function(s){oe(s,jx);var u=r.nodes[s];return oe(u,Yc),u},i=function s(u){var l=r.nodes[u],c=r.nodes[l.data.parent];if(l.data.nodes&&ln(l.data.nodes).forEach(function(d){return s(d)}),l.data.linkedNodes&&Object.values(l.data.linkedNodes).map(function(d){return s(d)}),c.data.nodes.includes(u)){var h=c.data.nodes;h.splice(h.indexOf(u),1)}else{var f=Object.keys(c.data.linkedNodes).find(function(d){return c.data.linkedNodes[d]===d});f&&delete c.data.linkedNodes[f]}(function(d,b){Object.keys(d.events).forEach(function(g){var m=d.events[g];m&&m.has&&m.has(b)&&(d.events[g]=new Set(Array.from(m).filter(function(v){return b!==v})))})})(r,u),delete r.nodes[u]};return{addLinkedNodeFromTree:function(s,u,l){var c=a(u).data.linkedNodes[l];c&&i(c),o(s,u,{type:"linked",id:l})},add:function(s,u,l){var c=[s];Array.isArray(s)&&(_t("actions.add(node: Node[])",{suggest:"actions.add(node: Node)"}),c=s),c.forEach(function(h){o({nodes:ge({},h.id,h),rootNodeId:h.id},u,{type:"child",index:l})})},addNodeTree:function(s,u,l){o(s,u,{type:"child",index:l})},delete:function(s){ft(r.nodes,s,{existOnly:!0,idOnly:!0}).forEach(function(u){var l=u.node;oe(!n.node(l.id).isTopLevelNode(),Lx),i(l.id)})},deserialize:function(s){var u=typeof s=="string"?JSON.parse(s):s,l=Object.keys(u).map(function(c){var h=c;return c===Gc&&(h=mt),[h,n.parseSerializedNode(u[c]).toNode(function(f){return f.id=h})]});this.replaceNodes(pd(l))},move:function(s,u,l){var c=ft(r.nodes,s,{existOnly:!0}),h=r.nodes[u],f=new Set;c.forEach(function(d,b){var g=d.node,m=g.id,v=g.data.parent;n.node(u).isDroppable([m],function(E){throw new Error(E)}),r.options.onBeforeMoveEnd(g,h,r.nodes[v]);var x=r.nodes[v].data.nodes;f.add(x);var S=x.indexOf(m);x[S]="$$",h.data.nodes.splice(l+b,0,m),r.nodes[m].data.parent=u}),f.forEach(function(d){var b=d.length;ln(d).reverse().forEach(function(g,m){g==="$$"&&d.splice(b-1-m,1)})})},replaceNodes:function(s){this.clearEvents(),r.nodes=s},clearEvents:function(){this.setNodeEvent("selected",null),this.setNodeEvent("hovered",null),this.setNodeEvent("dragged",null),this.setIndicator(null)},reset:function(){this.clearEvents(),this.replaceNodes({})},setOptions:function(s){s(r.options)},setNodeEvent:function(s,u){if(r.events[s].forEach(function(h){r.nodes[h]&&(r.nodes[h].events[s]=!1)}),r.events[s]=new Set,u){var l=ft(r.nodes,u,{idOnly:!0,existOnly:!0}),c=new Set(l.map(function(h){return h.node.id}));c.forEach(function(h){r.nodes[h].events[s]=!0}),r.events[s]=c}},setCustom:function(s,u){ft(r.nodes,s,{idOnly:!0,existOnly:!0}).forEach(function(l){return u(r.nodes[l.node.id].data.custom)})},setDOM:function(s,u){r.nodes[s]&&(r.nodes[s].dom=u)},setIndicator:function(s){s&&(!s.placement.parent.dom||s.placement.currentNode&&!s.placement.currentNode.dom)||(r.indicator=s)},setHidden:function(s,u){r.nodes[s].data.hidden=u},setProp:function(s,u){ft(r.nodes,s,{idOnly:!0,existOnly:!0}).forEach(function(l){return u(r.nodes[l.node.id].data.props)})},selectNode:function(s){if(s){var u=ft(r.nodes,s,{idOnly:!0,existOnly:!0});this.setNodeEvent("selected",u.map(function(l){return l.node.id}))}else this.setNodeEvent("selected",null);this.setNodeEvent("hovered",null)}}}(t,e)),{},{setState:function(r){var n=ss(this,c2);r(t,n)}})},ignoreHistoryForActions:["setDOM","setNodeEvent","selectNode","clearEvents","setOptions","setIndicator"],normalizeHistory:t=>{Object.keys(t.events).forEach(e=>{Array.from(t.events[e]||[]).forEach(r=>{t.nodes[r]||t.events[e].delete(r)})}),Object.keys(t.nodes).forEach(e=>{const r=t.nodes[e];Object.keys(r.events).forEach(n=>{r.events[n]&&t.events[n]&&!t.events[n].has(r.id)&&(r.events[n]=!1)})})}},w2=(t,e)=>Ux(x2,{...hl,options:{...hl.options,...t}},md,e),li=({children:t,...e})=>{e.resolver!==void 0&&oe(typeof e.resolver=="object"&&!Array.isArray(e.resolver)&&e.resolver!==null,$x);const r=y.useRef(e),n=w2(r.current,(o,a,i,s,u)=>{if(!i)return;const{patches:l,...c}=i;for(let h=0;h<l.length;h++){const{path:f}=l[h],d=f.length>2&&f[0]==="nodes"&&f[2]==="data";if([fe.IGNORE,fe.THROTTLE].includes(c.type)&&c.params&&(c.type=c.params[0]),["setState","deserialize"].includes(c.type)||d){u(b=>{o.options.normalizeNodes&&o.options.normalizeNodes(b,a,c,s)});break}}});return y.useEffect(()=>{n&&e.enabled!==void 0&&n.query.getOptions().enabled!==e.enabled&&n.actions.setOptions(o=>{o.enabled=e.enabled})},[n,e.enabled]),y.useEffect(()=>{n.subscribe(o=>({json:n.query.serialize()}),()=>{n.query.getOptions().onNodesChange(n.query)})},[n]),n?y.createElement(ls.Provider,{value:n},y.createElement(y2,null,t)):null},gd=w.createContext("desktop"),ds=({value:t,children:e})=>p.jsx(gd.Provider,{value:t,children:e}),er=()=>w.useContext(gd),Re=["mobile","tablet","small","desktop"],ht=(t,e,r)=>{if(typeof t!="object"||t===null)return t??r;if("top"in t||"right"in t)return t;const n=Re.indexOf(e);for(let o=n;o<Re.length;o++){const a=Re[o];if(t[a]!==void 0&&t[a]!==null)return t[a]}for(let o=n-1;o>=0;o--){const a=Re[o];if(t[a]!==void 0&&t[a]!==null)return t[a]}return r};function ue(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function tr(t,e=[]){let r=[];function n(a,i){const s=y.createContext(i),u=r.length;r=[...r,i];const l=h=>{var v;const{scope:f,children:d,...b}=h,g=((v=f==null?void 0:f[t])==null?void 0:v[u])||s,m=y.useMemo(()=>b,Object.values(b));return p.jsx(g.Provider,{value:m,children:d})};l.displayName=a+"Provider";function c(h,f){var g;const d=((g=f==null?void 0:f[t])==null?void 0:g[u])||s,b=y.useContext(d);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[l,c]}const o=()=>{const a=r.map(i=>y.createContext(i));return function(s){const u=(s==null?void 0:s[t])||a;return y.useMemo(()=>({[`__scope${t}`]:{...s,[t]:u}}),[s,u])}};return o.scopeName=t,[n,S2(o,...e)]}function S2(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=n.reduce((s,{useScope:u,scopeName:l})=>{const h=u(a)[`__scope${l}`];return{...s,...h}},{});return y.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return r.scopeName=e.scopeName,r}function C2(t){const e=E2(t),r=y.forwardRef((n,o)=>{const{children:a,...i}=n,s=y.Children.toArray(a),u=s.find(N2);if(u){const l=u.props.children,c=s.map(h=>h===u?y.Children.count(l)>1?y.Children.only(null):y.isValidElement(l)?l.props.children:null:h);return p.jsx(e,{...i,ref:o,children:y.isValidElement(l)?y.cloneElement(l,void 0,c):null})}return p.jsx(e,{...i,ref:o,children:a})});return r.displayName=`${t}.Slot`,r}function E2(t){const e=y.forwardRef((r,n)=>{const{children:o,...a}=r;if(y.isValidElement(o)){const i=A2(o),s=j2(a,o.props);return o.type!==y.Fragment&&(s.ref=n?Lo(n,i):i),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var T2=Symbol("radix.slottable");function N2(t){return y.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===T2}function j2(t,e){const r={...e};for(const n in e){const o=t[n],a=e[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...s)=>{const u=a(...s);return o(...s),u}:o&&(r[n]=o):n==="style"?r[n]={...o,...a}:n==="className"&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...t,...r}}function A2(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var O2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=O2.reduce((t,e)=>{const r=C2(`Primitive.${e}`),n=y.forwardRef((o,a)=>{const{asChild:i,...s}=o,u=i?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...s,ref:a})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function P2(t,e){t&&pc.flushSync(()=>t.dispatchEvent(e))}function Ie(t){const e=y.useRef(t);return y.useEffect(()=>{e.current=t}),y.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function k2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t);y.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var _2="DismissableLayer",ci="dismissableLayer.update",R2="dismissableLayer.pointerDownOutside",I2="dismissableLayer.focusOutside",ml,vd=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yd=y.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:i,onDismiss:s,...u}=t,l=y.useContext(vd),[c,h]=y.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=y.useState({}),b=we(e,_=>h(_)),g=Array.from(l.layers),[m]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(m),x=c?g.indexOf(c):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,E=x>=v,j=L2(_=>{const D=_.target,L=[...l.branches].some($=>$.contains(D));!E||L||(o==null||o(_),i==null||i(_),_.defaultPrevented||s==null||s())},f),k=$2(_=>{const D=_.target;[...l.branches].some($=>$.contains(D))||(a==null||a(_),i==null||i(_),_.defaultPrevented||s==null||s())},f);return k2(_=>{x===l.layers.size-1&&(n==null||n(_),!_.defaultPrevented&&s&&(_.preventDefault(),s()))},f),y.useEffect(()=>{if(c)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(ml=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),bl(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=ml)}},[c,f,r,l]),y.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),bl())},[c,l]),y.useEffect(()=>{const _=()=>d({});return document.addEventListener(ci,_),()=>document.removeEventListener(ci,_)},[]),p.jsx(me.div,{...u,ref:b,style:{pointerEvents:S?E?"auto":"none":void 0,...t.style},onFocusCapture:ue(t.onFocusCapture,k.onFocusCapture),onBlurCapture:ue(t.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ue(t.onPointerDownCapture,j.onPointerDownCapture)})});yd.displayName=_2;var D2="DismissableLayerBranch",M2=y.forwardRef((t,e)=>{const r=y.useContext(vd),n=y.useRef(null),o=we(e,n);return y.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),p.jsx(me.div,{...t,ref:o})});M2.displayName=D2;function L2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t),n=y.useRef(!1),o=y.useRef(()=>{});return y.useEffect(()=>{const a=s=>{if(s.target&&!n.current){let u=function(){xd(R2,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=u,e.addEventListener("click",o.current,{once:!0})):u()}else e.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",a),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function $2(t,e=globalThis==null?void 0:globalThis.document){const r=Ie(t),n=y.useRef(!1);return y.useEffect(()=>{const o=a=>{a.target&&!n.current&&xd(I2,r,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function bl(){const t=new CustomEvent(ci);document.dispatchEvent(t)}function xd(t,e,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?P2(o,a):o.dispatchEvent(a)}var Rt=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},B2=y[" useId ".trim().toString()]||(()=>{}),H2=0;function wd(t){const[e,r]=y.useState(B2());return Rt(()=>{r(n=>n??String(H2++))},[t]),e?`radix-${e}`:""}const z2=["top","right","bottom","left"],It=Math.min,Ae=Math.max,vo=Math.round,Hn=Math.floor,Ke=t=>({x:t,y:t}),F2={left:"right",right:"left",bottom:"top",top:"bottom"},q2={start:"end",end:"start"};function di(t,e,r){return Ae(t,It(e,r))}function vt(t,e){return typeof t=="function"?t(e):t}function yt(t){return t.split("-")[0]}function Br(t){return t.split("-")[1]}function fs(t){return t==="x"?"y":"x"}function ps(t){return t==="y"?"height":"width"}const U2=new Set(["top","bottom"]);function Ye(t){return U2.has(yt(t))?"y":"x"}function hs(t){return fs(Ye(t))}function V2(t,e,r){r===void 0&&(r=!1);const n=Br(t),o=hs(t),a=ps(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=yo(i)),[i,yo(i)]}function W2(t){const e=yo(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>q2[e])}const gl=["left","right"],vl=["right","left"],G2=["top","bottom"],Y2=["bottom","top"];function X2(t,e,r){switch(t){case"top":case"bottom":return r?e?vl:gl:e?gl:vl;case"left":case"right":return e?G2:Y2;default:return[]}}function K2(t,e,r,n){const o=Br(t);let a=X2(yt(t),r==="start",n);return o&&(a=a.map(i=>i+"-"+o),e&&(a=a.concat(a.map(fi)))),a}function yo(t){return t.replace(/left|right|bottom|top/g,e=>F2[e])}function J2(t){return{top:0,right:0,bottom:0,left:0,...t}}function Sd(t){return typeof t!="number"?J2(t):{top:t,right:t,bottom:t,left:t}}function xo(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function yl(t,e,r){let{reference:n,floating:o}=t;const a=Ye(e),i=hs(e),s=ps(i),u=yt(e),l=a==="y",c=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,f=n[s]/2-o[s]/2;let d;switch(u){case"top":d={x:c,y:n.y-o.height};break;case"bottom":d={x:c,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:h};break;case"left":d={x:n.x-o.width,y:h};break;default:d={x:n.x,y:n.y}}switch(Br(e)){case"start":d[i]-=f*(r&&l?-1:1);break;case"end":d[i]+=f*(r&&l?-1:1);break}return d}const Z2=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=a.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let l=await i.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:h}=yl(l,n,u),f=n,d={},b=0;for(let g=0;g<s.length;g++){const{name:m,fn:v}=s[g],{x,y:S,data:E,reset:j}=await v({x:c,y:h,initialPlacement:n,placement:f,strategy:o,middlewareData:d,rects:l,platform:i,elements:{reference:t,floating:e}});c=x??c,h=S??h,d={...d,[m]:{...d[m],...E}},j&&b<=50&&(b++,typeof j=="object"&&(j.placement&&(f=j.placement),j.rects&&(l=j.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:o}):j.rects),{x:c,y:h}=yl(l,f,u)),g=-1)}return{x:c,y:h,placement:f,strategy:o,middlewareData:d}};async function cn(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:u}=t,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:d=0}=vt(e,t),b=Sd(d),m=s[f?h==="floating"?"reference":"floating":h],v=xo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(m)))==null||r?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),x=h==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),E=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},j=xo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:S,strategy:u}):x);return{top:(v.top-j.top+b.top)/E.y,bottom:(j.bottom-v.bottom+b.bottom)/E.y,left:(v.left-j.left+b.left)/E.x,right:(j.right-v.right+b.right)/E.x}}const Q2=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:a,platform:i,elements:s,middlewareData:u}=e,{element:l,padding:c=0}=vt(t,e)||{};if(l==null)return{};const h=Sd(c),f={x:r,y:n},d=hs(o),b=ps(d),g=await i.getDimensions(l),m=d==="y",v=m?"top":"left",x=m?"bottom":"right",S=m?"clientHeight":"clientWidth",E=a.reference[b]+a.reference[d]-f[d]-a.floating[b],j=f[d]-a.reference[d],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let _=k?k[S]:0;(!_||!await(i.isElement==null?void 0:i.isElement(k)))&&(_=s.floating[S]||a.floating[b]);const D=E/2-j/2,L=_/2-g[b]/2-1,$=It(h[v],L),C=It(h[x],L),N=$,P=_-g[b]-C,I=_/2-g[b]/2+D,T=di(N,I,P),O=!u.arrow&&Br(o)!=null&&I!==T&&a.reference[b]/2-(I<N?$:C)-g[b]/2<0,A=O?I<N?I-N:I-P:0;return{[d]:f[d]+A,data:{[d]:T,centerOffset:I-T-A,...O&&{alignmentOffset:A}},reset:O}}}),ew=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:u,elements:l}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...m}=vt(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const v=yt(o),x=Ye(s),S=yt(s)===s,E=await(u.isRTL==null?void 0:u.isRTL(l.floating)),j=f||(S||!g?[yo(s)]:W2(s)),k=b!=="none";!f&&k&&j.push(...K2(s,g,b,E));const _=[s,...j],D=await cn(e,m),L=[];let $=((n=a.flip)==null?void 0:n.overflows)||[];if(c&&L.push(D[v]),h){const I=V2(o,i,E);L.push(D[I[0]],D[I[1]])}if($=[...$,{placement:o,overflows:L}],!L.every(I=>I<=0)){var C,N;const I=(((C=a.flip)==null?void 0:C.index)||0)+1,T=_[I];if(T&&(!(h==="alignment"?x!==Ye(T):!1)||$.every(R=>Ye(R.placement)===x?R.overflows[0]>0:!0)))return{data:{index:I,overflows:$},reset:{placement:T}};let O=(N=$.filter(A=>A.overflows[0]<=0).sort((A,R)=>A.overflows[1]-R.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(d){case"bestFit":{var P;const A=(P=$.filter(R=>{if(k){const M=Ye(R.placement);return M===x||M==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(M=>M>0).reduce((M,q)=>M+q,0)]).sort((R,M)=>R[1]-M[1])[0])==null?void 0:P[0];A&&(O=A);break}case"initialPlacement":O=s;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function xl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wl(t){return z2.some(e=>t[e]>=0)}const tw=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=vt(t,e);switch(n){case"referenceHidden":{const a=await cn(e,{...o,elementContext:"reference"}),i=xl(a,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:wl(i)}}}case"escaped":{const a=await cn(e,{...o,altBoundary:!0}),i=xl(a,r.floating);return{data:{escapedOffsets:i,escaped:wl(i)}}}default:return{}}}}},Cd=new Set(["left","top"]);async function rw(t,e){const{placement:r,platform:n,elements:o}=t,a=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=yt(r),s=Br(r),u=Ye(r)==="y",l=Cd.has(i)?-1:1,c=a&&u?-1:1,h=vt(e,t);let{mainAxis:f,crossAxis:d,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof b=="number"&&(d=s==="end"?b*-1:b),u?{x:d*c,y:f*l}:{x:f*l,y:d*c}}const nw=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:a,placement:i,middlewareData:s}=e,u=await rw(e,t);return i===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:i}}}}},ow=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:m=>{let{x:v,y:x}=m;return{x:v,y:x}}},...u}=vt(t,e),l={x:r,y:n},c=await cn(e,u),h=Ye(yt(o)),f=fs(h);let d=l[f],b=l[h];if(a){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",x=d+c[m],S=d-c[v];d=di(x,d,S)}if(i){const m=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=b+c[m],S=b-c[v];b=di(x,b,S)}const g=s.fn({...e,[f]:d,[h]:b});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[f]:a,[h]:i}}}}}},aw=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=e,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=vt(t,e),c={x:r,y:n},h=Ye(o),f=fs(h);let d=c[f],b=c[h];const g=vt(s,e),m=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const S=f==="y"?"height":"width",E=a.reference[f]-a.floating[S]+m.mainAxis,j=a.reference[f]+a.reference[S]-m.mainAxis;d<E?d=E:d>j&&(d=j)}if(l){var v,x;const S=f==="y"?"width":"height",E=Cd.has(yt(o)),j=a.reference[h]-a.floating[S]+(E&&((v=i.offset)==null?void 0:v[h])||0)+(E?0:m.crossAxis),k=a.reference[h]+a.reference[S]+(E?0:((x=i.offset)==null?void 0:x[h])||0)-(E?m.crossAxis:0);b<j?b=j:b>k&&(b=k)}return{[f]:d,[h]:b}}}},iw=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:a,platform:i,elements:s}=e,{apply:u=()=>{},...l}=vt(t,e),c=await cn(e,l),h=yt(o),f=Br(o),d=Ye(o)==="y",{width:b,height:g}=a.floating;let m,v;h==="top"||h==="bottom"?(m=h,v=f===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(v=h,m=f==="end"?"top":"bottom");const x=g-c.top-c.bottom,S=b-c.left-c.right,E=It(g-c[m],x),j=It(b-c[v],S),k=!e.middlewareData.shift;let _=E,D=j;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(D=S),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(_=x),k&&!f){const $=Ae(c.left,0),C=Ae(c.right,0),N=Ae(c.top,0),P=Ae(c.bottom,0);d?D=b-2*($!==0||C!==0?$+C:Ae(c.left,c.right)):_=g-2*(N!==0||P!==0?N+P:Ae(c.top,c.bottom))}await u({...e,availableWidth:D,availableHeight:_});const L=await i.getDimensions(s.floating);return b!==L.width||g!==L.height?{reset:{rects:!0}}:{}}}};function Jo(){return typeof window<"u"}function Hr(t){return Ed(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function nt(t){var e;return(e=(Ed(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ed(t){return Jo()?t instanceof Node||t instanceof Oe(t).Node:!1}function Fe(t){return Jo()?t instanceof Element||t instanceof Oe(t).Element:!1}function tt(t){return Jo()?t instanceof HTMLElement||t instanceof Oe(t).HTMLElement:!1}function Sl(t){return!Jo()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot}const sw=new Set(["inline","contents"]);function En(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=qe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!sw.has(o)}const uw=new Set(["table","td","th"]);function lw(t){return uw.has(Hr(t))}const cw=[":popover-open",":modal"];function Zo(t){return cw.some(e=>{try{return t.matches(e)}catch{return!1}})}const dw=["transform","translate","scale","rotate","perspective"],fw=["transform","translate","scale","rotate","perspective","filter"],pw=["paint","layout","strict","content"];function ms(t){const e=bs(),r=Fe(t)?qe(t):t;return dw.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||fw.some(n=>(r.willChange||"").includes(n))||pw.some(n=>(r.contain||"").includes(n))}function hw(t){let e=Dt(t);for(;tt(e)&&!wr(e);){if(ms(e))return e;if(Zo(e))return null;e=Dt(e)}return null}function bs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mw=new Set(["html","body","#document"]);function wr(t){return mw.has(Hr(t))}function qe(t){return Oe(t).getComputedStyle(t)}function Qo(t){return Fe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dt(t){if(Hr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Sl(t)&&t.host||nt(t);return Sl(e)?e.host:e}function Td(t){const e=Dt(t);return wr(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&En(e)?e:Td(e)}function dn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=Td(t),a=o===((n=t.ownerDocument)==null?void 0:n.body),i=Oe(o);if(a){const s=pi(i);return e.concat(i,i.visualViewport||[],En(o)?o:[],s&&r?dn(s):[])}return e.concat(o,dn(o,[],r))}function pi(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Nd(t){const e=qe(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=tt(t),a=o?t.offsetWidth:r,i=o?t.offsetHeight:n,s=vo(r)!==a||vo(n)!==i;return s&&(r=a,n=i),{width:r,height:n,$:s}}function gs(t){return Fe(t)?t:t.contextElement}function gr(t){const e=gs(t);if(!tt(e))return Ke(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:a}=Nd(e);let i=(a?vo(r.width):r.width)/n,s=(a?vo(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const bw=Ke(0);function jd(t){const e=Oe(t);return!bs()||!e.visualViewport?bw:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function gw(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Oe(t)?!1:e}function Yt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),a=gs(t);let i=Ke(1);e&&(n?Fe(n)&&(i=gr(n)):i=gr(t));const s=gw(a,r,n)?jd(a):Ke(0);let u=(o.left+s.x)/i.x,l=(o.top+s.y)/i.y,c=o.width/i.x,h=o.height/i.y;if(a){const f=Oe(a),d=n&&Fe(n)?Oe(n):n;let b=f,g=pi(b);for(;g&&n&&d!==b;){const m=gr(g),v=g.getBoundingClientRect(),x=qe(g),S=v.left+(g.clientLeft+parseFloat(x.paddingLeft))*m.x,E=v.top+(g.clientTop+parseFloat(x.paddingTop))*m.y;u*=m.x,l*=m.y,c*=m.x,h*=m.y,u+=S,l+=E,b=Oe(g),g=pi(b)}}return xo({width:c,height:h,x:u,y:l})}function ea(t,e){const r=Qo(t).scrollLeft;return e?e.left+r:Yt(nt(t)).left+r}function Ad(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-ea(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function vw(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const a=o==="fixed",i=nt(n),s=e?Zo(e.floating):!1;if(n===i||s&&a)return r;let u={scrollLeft:0,scrollTop:0},l=Ke(1);const c=Ke(0),h=tt(n);if((h||!h&&!a)&&((Hr(n)!=="body"||En(i))&&(u=Qo(n)),tt(n))){const d=Yt(n);l=gr(n),c.x=d.x+n.clientLeft,c.y=d.y+n.clientTop}const f=i&&!h&&!a?Ad(i,u):Ke(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+f.x,y:r.y*l.y-u.scrollTop*l.y+c.y+f.y}}function yw(t){return Array.from(t.getClientRects())}function xw(t){const e=nt(t),r=Qo(t),n=t.ownerDocument.body,o=Ae(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ae(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+ea(t);const s=-r.scrollTop;return qe(n).direction==="rtl"&&(i+=Ae(e.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}const Cl=25;function ww(t,e){const r=Oe(t),n=nt(t),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,u=0;if(o){a=o.width,i=o.height;const c=bs();(!c||c&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}const l=ea(n);if(l<=0){const c=n.ownerDocument,h=c.body,f=getComputedStyle(h),d=c.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-d);b<=Cl&&(a-=b)}else l<=Cl&&(a+=l);return{width:a,height:i,x:s,y:u}}const Sw=new Set(["absolute","fixed"]);function Cw(t,e){const r=Yt(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,a=tt(t)?gr(t):Ke(1),i=t.clientWidth*a.x,s=t.clientHeight*a.y,u=o*a.x,l=n*a.y;return{width:i,height:s,x:u,y:l}}function El(t,e,r){let n;if(e==="viewport")n=ww(t,r);else if(e==="document")n=xw(nt(t));else if(Fe(e))n=Cw(e,r);else{const o=jd(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return xo(n)}function Od(t,e){const r=Dt(t);return r===e||!Fe(r)||wr(r)?!1:qe(r).position==="fixed"||Od(r,e)}function Ew(t,e){const r=e.get(t);if(r)return r;let n=dn(t,[],!1).filter(s=>Fe(s)&&Hr(s)!=="body"),o=null;const a=qe(t).position==="fixed";let i=a?Dt(t):t;for(;Fe(i)&&!wr(i);){const s=qe(i),u=ms(i);!u&&s.position==="fixed"&&(o=null),(a?!u&&!o:!u&&s.position==="static"&&!!o&&Sw.has(o.position)||En(i)&&!u&&Od(t,i))?n=n.filter(c=>c!==i):o=s,i=Dt(i)}return e.set(t,n),n}function Tw(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const i=[...r==="clippingAncestors"?Zo(e)?[]:Ew(e,this._c):[].concat(r),n],s=i[0],u=i.reduce((l,c)=>{const h=El(e,c,o);return l.top=Ae(h.top,l.top),l.right=It(h.right,l.right),l.bottom=It(h.bottom,l.bottom),l.left=Ae(h.left,l.left),l},El(e,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Nw(t){const{width:e,height:r}=Nd(t);return{width:e,height:r}}function jw(t,e,r){const n=tt(e),o=nt(e),a=r==="fixed",i=Yt(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const u=Ke(0);function l(){u.x=ea(o)}if(n||!n&&!a)if((Hr(e)!=="body"||En(o))&&(s=Qo(e)),n){const d=Yt(e,!0,a,e);u.x=d.x+e.clientLeft,u.y=d.y+e.clientTop}else o&&l();a&&!n&&o&&l();const c=o&&!n&&!a?Ad(o,s):Ke(0),h=i.left+s.scrollLeft-u.x-c.x,f=i.top+s.scrollTop-u.y-c.y;return{x:h,y:f,width:i.width,height:i.height}}function _a(t){return qe(t).position==="static"}function Tl(t,e){if(!tt(t)||qe(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return nt(t)===r&&(r=r.ownerDocument.body),r}function Pd(t,e){const r=Oe(t);if(Zo(t))return r;if(!tt(t)){let o=Dt(t);for(;o&&!wr(o);){if(Fe(o)&&!_a(o))return o;o=Dt(o)}return r}let n=Tl(t,e);for(;n&&lw(n)&&_a(n);)n=Tl(n,e);return n&&wr(n)&&_a(n)&&!ms(n)?r:n||hw(t)||r}const Aw=async function(t){const e=this.getOffsetParent||Pd,r=this.getDimensions,n=await r(t.floating);return{reference:jw(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ow(t){return qe(t).direction==="rtl"}const Pw={convertOffsetParentRelativeRectToViewportRelativeRect:vw,getDocumentElement:nt,getClippingRect:Tw,getOffsetParent:Pd,getElementRects:Aw,getClientRects:yw,getDimensions:Nw,getScale:gr,isElement:Fe,isRTL:Ow};function kd(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function kw(t,e){let r=null,n;const o=nt(t);function a(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function i(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),a();const l=t.getBoundingClientRect(),{left:c,top:h,width:f,height:d}=l;if(s||e(),!f||!d)return;const b=Hn(h),g=Hn(o.clientWidth-(c+f)),m=Hn(o.clientHeight-(h+d)),v=Hn(c),S={rootMargin:-b+"px "+-g+"px "+-m+"px "+-v+"px",threshold:Ae(0,It(1,u))||1};let E=!0;function j(k){const _=k[0].intersectionRatio;if(_!==u){if(!E)return i();_?i(!1,_):n=setTimeout(()=>{i(!1,1e-7)},1e3)}_===1&&!kd(l,t.getBoundingClientRect())&&i(),E=!1}try{r=new IntersectionObserver(j,{...S,root:o.ownerDocument})}catch{r=new IntersectionObserver(j,S)}r.observe(t)}return i(!0),a}function _w(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,l=gs(t),c=o||a?[...l?dn(l):[],...dn(e)]:[];c.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),a&&v.addEventListener("resize",r)});const h=l&&s?kw(l,r):null;let f=-1,d=null;i&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===l&&d&&(d.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var S;(S=d)==null||S.observe(e)})),r()}),l&&!u&&d.observe(l),d.observe(e));let b,g=u?Yt(t):null;u&&m();function m(){const v=Yt(t);g&&!kd(g,v)&&r(),g=v,b=requestAnimationFrame(m)}return r(),()=>{var v;c.forEach(x=>{o&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),h==null||h(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(b)}}const Rw=nw,Iw=ow,Dw=ew,Mw=iw,Lw=tw,Nl=Q2,$w=aw,Bw=(t,e,r)=>{const n=new Map,o={platform:Pw,...r},a={...o.platform,_c:n};return Z2(t,e,{...o,platform:a})};var Hw=typeof document<"u",zw=function(){},eo=Hw?w.useLayoutEffect:zw;function wo(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!wo(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const a=o[n];if(!(a==="_owner"&&t.$$typeof)&&!wo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function _d(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function jl(t,e){const r=_d(t);return Math.round(e*r)/r}function Ra(t){const e=y.useRef(t);return eo(()=>{e.current=t}),e}function Fw(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:u,open:l}=t,[c,h]=y.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,d]=y.useState(n);wo(f,n)||d(n);const[b,g]=y.useState(null),[m,v]=y.useState(null),x=y.useCallback(R=>{R!==k.current&&(k.current=R,g(R))},[]),S=y.useCallback(R=>{R!==_.current&&(_.current=R,v(R))},[]),E=a||b,j=i||m,k=y.useRef(null),_=y.useRef(null),D=y.useRef(c),L=u!=null,$=Ra(u),C=Ra(o),N=Ra(l),P=y.useCallback(()=>{if(!k.current||!_.current)return;const R={placement:e,strategy:r,middleware:f};C.current&&(R.platform=C.current),Bw(k.current,_.current,R).then(M=>{const q={...M,isPositioned:N.current!==!1};I.current&&!wo(D.current,q)&&(D.current=q,pc.flushSync(()=>{h(q)}))})},[f,e,r,C,N]);eo(()=>{l===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(R=>({...R,isPositioned:!1})))},[l]);const I=y.useRef(!1);eo(()=>(I.current=!0,()=>{I.current=!1}),[]),eo(()=>{if(E&&(k.current=E),j&&(_.current=j),E&&j){if($.current)return $.current(E,j,P);P()}},[E,j,P,$,L]);const T=y.useMemo(()=>({reference:k,floating:_,setReference:x,setFloating:S}),[x,S]),O=y.useMemo(()=>({reference:E,floating:j}),[E,j]),A=y.useMemo(()=>{const R={position:r,left:0,top:0};if(!O.floating)return R;const M=jl(O.floating,c.x),q=jl(O.floating,c.y);return s?{...R,transform:"translate("+M+"px, "+q+"px)",..._d(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:M,top:q}},[r,s,O.floating,c.x,c.y]);return y.useMemo(()=>({...c,update:P,refs:T,elements:O,floatingStyles:A}),[c,P,T,O,A])}const qw=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?Nl({element:n.current,padding:o}).fn(r):{}:n?Nl({element:n,padding:o}).fn(r):{}}}},Uw=(t,e)=>({...Rw(t),options:[t,e]}),Vw=(t,e)=>({...Iw(t),options:[t,e]}),Ww=(t,e)=>({...$w(t),options:[t,e]}),Gw=(t,e)=>({...Dw(t),options:[t,e]}),Yw=(t,e)=>({...Mw(t),options:[t,e]}),Xw=(t,e)=>({...Lw(t),options:[t,e]}),Kw=(t,e)=>({...qw(t),options:[t,e]});var Jw="Arrow",Rd=y.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...a}=t;return p.jsx(me.svg,{...a,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Rd.displayName=Jw;var Zw=Rd;function Id(t){const[e,r]=y.useState(void 0);return Rt(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const u=a.borderBoxSize,l=Array.isArray(u)?u[0]:u;i=l.inlineSize,s=l.blockSize}else i=t.offsetWidth,s=t.offsetHeight;r({width:i,height:s})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}var vs="Popper",[Dd,Md]=tr(vs),[Qw,Ld]=Dd(vs),$d=t=>{const{__scopePopper:e,children:r}=t,[n,o]=y.useState(null);return p.jsx(Qw,{scope:e,anchor:n,onAnchorChange:o,children:r})};$d.displayName=vs;var Bd="PopperAnchor",Hd=y.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,a=Ld(Bd,r),i=y.useRef(null),s=we(e,i),u=y.useRef(null);return y.useEffect(()=>{const l=u.current;u.current=(n==null?void 0:n.current)||i.current,l!==u.current&&a.onAnchorChange(u.current)}),n?null:p.jsx(me.div,{...o,ref:s})});Hd.displayName=Bd;var ys="PopperContent",[e3,t3]=Dd(ys),zd=y.forwardRef((t,e)=>{var z,Ee,ye,be,Ve,it;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:d="optimized",onPlaced:b,...g}=t,m=Ld(ys,r),[v,x]=y.useState(null),S=we(e,We=>x(We)),[E,j]=y.useState(null),k=Id(E),_=(k==null?void 0:k.width)??0,D=(k==null?void 0:k.height)??0,L=n+(a!=="center"?"-"+a:""),$=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},C=Array.isArray(l)?l:[l],N=C.length>0,P={padding:$,boundary:C.filter(n3),altBoundary:N},{refs:I,floatingStyles:T,placement:O,isPositioned:A,middlewareData:R}=Fw({strategy:"fixed",placement:L,whileElementsMounted:(...We)=>_w(...We,{animationFrame:d==="always"}),elements:{reference:m.anchor},middleware:[Uw({mainAxis:o+D,alignmentAxis:i}),u&&Vw({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Ww():void 0,...P}),u&&Gw({...P}),Yw({...P,apply:({elements:We,rects:Rn,availableWidth:ga,availableHeight:In})=>{const{width:va,height:Ur}=Rn.reference,ar=We.floating.style;ar.setProperty("--radix-popper-available-width",`${ga}px`),ar.setProperty("--radix-popper-available-height",`${In}px`),ar.setProperty("--radix-popper-anchor-width",`${va}px`),ar.setProperty("--radix-popper-anchor-height",`${Ur}px`)}}),E&&Kw({element:E,padding:s}),o3({arrowWidth:_,arrowHeight:D}),f&&Xw({strategy:"referenceHidden",...P})]}),[M,q]=Ud(O),de=Ie(b);Rt(()=>{A&&(de==null||de())},[A,de]);const Z=(z=R.arrow)==null?void 0:z.x,B=(Ee=R.arrow)==null?void 0:Ee.y,H=((ye=R.arrow)==null?void 0:ye.centerOffset)!==0,[he,X]=y.useState();return Rt(()=>{v&&X(window.getComputedStyle(v).zIndex)},[v]),p.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:A?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(be=R.transformOrigin)==null?void 0:be.x,(Ve=R.transformOrigin)==null?void 0:Ve.y].join(" "),...((it=R.hide)==null?void 0:it.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:p.jsx(e3,{scope:r,placedSide:M,onArrowChange:j,arrowX:Z,arrowY:B,shouldHideArrow:H,children:p.jsx(me.div,{"data-side":M,"data-align":q,...g,ref:S,style:{...g.style,animation:A?void 0:"none"}})})})});zd.displayName=ys;var Fd="PopperArrow",r3={top:"bottom",right:"left",bottom:"top",left:"right"},qd=y.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,a=t3(Fd,n),i=r3[a.placedSide];return p.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:p.jsx(Zw,{...o,ref:r,style:{...o.style,display:"block"}})})});qd.displayName=Fd;function n3(t){return t!==null}var o3=t=>({name:"transformOrigin",options:t,fn(e){var m,v,x;const{placement:r,rects:n,middlewareData:o}=e,i=((m=o.arrow)==null?void 0:m.centerOffset)!==0,s=i?0:t.arrowWidth,u=i?0:t.arrowHeight,[l,c]=Ud(r),h={start:"0%",center:"50%",end:"100%"}[c],f=(((v=o.arrow)==null?void 0:v.x)??0)+s/2,d=(((x=o.arrow)==null?void 0:x.y)??0)+u/2;let b="",g="";return l==="bottom"?(b=i?h:`${f}px`,g=`${-u}px`):l==="top"?(b=i?h:`${f}px`,g=`${n.floating.height+u}px`):l==="right"?(b=`${-u}px`,g=i?h:`${d}px`):l==="left"&&(b=`${n.floating.width+u}px`,g=i?h:`${d}px`),{data:{x:b,y:g}}}});function Ud(t){const[e,r="center"]=t.split("-");return[e,r]}var a3=$d,i3=Hd,s3=zd,u3=qd;function l3(t,e){return y.useReducer((r,n)=>e[r][n]??r,t)}var rr=t=>{const{present:e,children:r}=t,n=c3(e),o=typeof r=="function"?r({present:n.isPresent}):y.Children.only(r),a=we(n.ref,d3(o));return typeof r=="function"||n.isPresent?y.cloneElement(o,{ref:a}):null};rr.displayName="Presence";function c3(t){const[e,r]=y.useState(),n=y.useRef(null),o=y.useRef(t),a=y.useRef("none"),i=t?"mounted":"unmounted",[s,u]=l3(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const l=zn(n.current);a.current=s==="mounted"?l:"none"},[s]),Rt(()=>{const l=n.current,c=o.current;if(c!==t){const f=a.current,d=zn(l);t?u("MOUNT"):d==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&f!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,u]),Rt(()=>{if(e){let l;const c=e.ownerDocument.defaultView??window,h=d=>{const g=zn(n.current).includes(CSS.escape(d.animationName));if(d.target===e&&g&&(u("ANIMATION_END"),!o.current)){const m=e.style.animationFillMode;e.style.animationFillMode="forwards",l=c.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=m)})}},f=d=>{d.target===e&&(a.current=zn(n.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",h),e.addEventListener("animationend",h),()=>{c.clearTimeout(l),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",h),e.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:y.useCallback(l=>{n.current=l?getComputedStyle(l):null,r(l)},[])}}function zn(t){return(t==null?void 0:t.animationName)||"none"}function d3(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var f3=Symbol("radix.slottable");function p3(t){const e=({children:r})=>p.jsx(p.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=f3,e}var h3=y[" useInsertionEffect ".trim().toString()]||Rt;function zr({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,a,i]=m3({defaultProp:e,onChange:r}),s=t!==void 0,u=s?t:o;{const c=y.useRef(t!==void 0);y.useEffect(()=>{const h=c.current;h!==s&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,n])}const l=y.useCallback(c=>{var h;if(s){const f=b3(c)?c(t):c;f!==t&&((h=i.current)==null||h.call(i,f))}else a(c)},[s,t,a,i]);return[u,l]}function m3({defaultProp:t,onChange:e}){const[r,n]=y.useState(t),o=y.useRef(r),a=y.useRef(e);return h3(()=>{a.current=e},[e]),y.useEffect(()=>{var i;o.current!==r&&((i=a.current)==null||i.call(a,r),o.current=r)},[r,o]),[r,n,a]}function b3(t){return typeof t=="function"}var g3=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),v3="VisuallyHidden",Vd=y.forwardRef((t,e)=>p.jsx(me.span,{...t,ref:e,style:{...g3,...t.style}}));Vd.displayName=v3;var y3=Vd,[ta]=tr("Tooltip",[Md]),ra=Md(),Wd="TooltipProvider",x3=700,hi="tooltip.open",[w3,xs]=ta(Wd),Gd=t=>{const{__scopeTooltip:e,delayDuration:r=x3,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:a}=t,i=y.useRef(!0),s=y.useRef(!1),u=y.useRef(0);return y.useEffect(()=>{const l=u.current;return()=>window.clearTimeout(l)},[]),p.jsx(w3,{scope:e,isOpenDelayedRef:i,delayDuration:r,onOpen:y.useCallback(()=>{window.clearTimeout(u.current),i.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:s,onPointerInTransitChange:y.useCallback(l=>{s.current=l},[]),disableHoverableContent:o,children:a})};Gd.displayName=Wd;var fn="Tooltip",[S3,na]=ta(fn),Yd=t=>{const{__scopeTooltip:e,children:r,open:n,defaultOpen:o,onOpenChange:a,disableHoverableContent:i,delayDuration:s}=t,u=xs(fn,t.__scopeTooltip),l=ra(e),[c,h]=y.useState(null),f=wd(),d=y.useRef(0),b=i??u.disableHoverableContent,g=s??u.delayDuration,m=y.useRef(!1),[v,x]=zr({prop:n,defaultProp:o??!1,onChange:_=>{_?(u.onOpen(),document.dispatchEvent(new CustomEvent(hi))):u.onClose(),a==null||a(_)},caller:fn}),S=y.useMemo(()=>v?m.current?"delayed-open":"instant-open":"closed",[v]),E=y.useCallback(()=>{window.clearTimeout(d.current),d.current=0,m.current=!1,x(!0)},[x]),j=y.useCallback(()=>{window.clearTimeout(d.current),d.current=0,x(!1)},[x]),k=y.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>{m.current=!0,x(!0),d.current=0},g)},[g,x]);return y.useEffect(()=>()=>{d.current&&(window.clearTimeout(d.current),d.current=0)},[]),p.jsx(a3,{...l,children:p.jsx(S3,{scope:e,contentId:f,open:v,stateAttribute:S,trigger:c,onTriggerChange:h,onTriggerEnter:y.useCallback(()=>{u.isOpenDelayedRef.current?k():E()},[u.isOpenDelayedRef,k,E]),onTriggerLeave:y.useCallback(()=>{b?j():(window.clearTimeout(d.current),d.current=0)},[j,b]),onOpen:E,onClose:j,disableHoverableContent:b,children:r})})};Yd.displayName=fn;var mi="TooltipTrigger",Xd=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,o=na(mi,r),a=xs(mi,r),i=ra(r),s=y.useRef(null),u=we(e,s,o.onTriggerChange),l=y.useRef(!1),c=y.useRef(!1),h=y.useCallback(()=>l.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),p.jsx(i3,{asChild:!0,...i,children:p.jsx(me.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:u,onPointerMove:ue(t.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ue(t.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ue(t.onPointerDown,()=>{o.open&&o.onClose(),l.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ue(t.onFocus,()=>{l.current||o.onOpen()}),onBlur:ue(t.onBlur,o.onClose),onClick:ue(t.onClick,o.onClose)})})});Xd.displayName=mi;var C3="TooltipPortal",[fC,E3]=ta(C3,{forceMount:void 0}),Sr="TooltipContent",Kd=y.forwardRef((t,e)=>{const r=E3(Sr,t.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...a}=t,i=na(Sr,t.__scopeTooltip);return p.jsx(rr,{present:n||i.open,children:i.disableHoverableContent?p.jsx(Jd,{side:o,...a,ref:e}):p.jsx(T3,{side:o,...a,ref:e})})}),T3=y.forwardRef((t,e)=>{const r=na(Sr,t.__scopeTooltip),n=xs(Sr,t.__scopeTooltip),o=y.useRef(null),a=we(e,o),[i,s]=y.useState(null),{trigger:u,onClose:l}=r,c=o.current,{onPointerInTransitChange:h}=n,f=y.useCallback(()=>{s(null),h(!1)},[h]),d=y.useCallback((b,g)=>{const m=b.currentTarget,v={x:b.clientX,y:b.clientY},x=P3(v,m.getBoundingClientRect()),S=k3(v,x),E=_3(g.getBoundingClientRect()),j=I3([...S,...E]);s(j),h(!0)},[h]);return y.useEffect(()=>()=>f(),[f]),y.useEffect(()=>{if(u&&c){const b=m=>d(m,c),g=m=>d(m,u);return u.addEventListener("pointerleave",b),c.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",b),c.removeEventListener("pointerleave",g)}}},[u,c,d,f]),y.useEffect(()=>{if(i){const b=g=>{const m=g.target,v={x:g.clientX,y:g.clientY},x=(u==null?void 0:u.contains(m))||(c==null?void 0:c.contains(m)),S=!R3(v,i);x?f():S&&(f(),l())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[u,c,i,l,f]),p.jsx(Jd,{...t,ref:a})}),[N3,j3]=ta(fn,{isInside:!1}),A3=p3("TooltipContent"),Jd=y.forwardRef((t,e)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:i,...s}=t,u=na(Sr,r),l=ra(r),{onClose:c}=u;return y.useEffect(()=>(document.addEventListener(hi,c),()=>document.removeEventListener(hi,c)),[c]),y.useEffect(()=>{if(u.trigger){const h=f=>{const d=f.target;d!=null&&d.contains(u.trigger)&&c()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[u.trigger,c]),p.jsx(yd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:c,children:p.jsxs(s3,{"data-state":u.stateAttribute,...l,...s,ref:e,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(A3,{children:n}),p.jsx(N3,{scope:r,isInside:!0,children:p.jsx(y3,{id:u.contentId,role:"tooltip",children:o||n})})]})})});Kd.displayName=Sr;var Zd="TooltipArrow",O3=y.forwardRef((t,e)=>{const{__scopeTooltip:r,...n}=t,o=ra(r);return j3(Zd,r).isInside?null:p.jsx(u3,{...o,...n,ref:e})});O3.displayName=Zd;function P3(t,e){const r=Math.abs(e.top-t.y),n=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),a=Math.abs(e.left-t.x);switch(Math.min(r,n,o,a)){case a:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function k3(t,e,r=5){const n=[];switch(e){case"top":n.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":n.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":n.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":n.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return n}function _3(t){const{top:e,right:r,bottom:n,left:o}=t;return[{x:o,y:e},{x:r,y:e},{x:r,y:n},{x:o,y:n}]}function R3(t,e){const{x:r,y:n}=t;let o=!1;for(let a=0,i=e.length-1;a<e.length;i=a++){const s=e[a],u=e[i],l=s.x,c=s.y,h=u.x,f=u.y;c>n!=f>n&&r<(h-l)*(n-c)/(f-c)+l&&(o=!o)}return o}function I3(t){const e=t.slice();return e.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),D3(e)}function D3(t){if(t.length<=1)return t.slice();const e=[];for(let n=0;n<t.length;n++){const o=t[n];for(;e.length>=2;){const a=e[e.length-1],i=e[e.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))e.pop();else break}e.push(o)}e.pop();const r=[];for(let n=t.length-1;n>=0;n--){const o=t[n];for(;r.length>=2;){const a=r[r.length-1],i=r[r.length-2];if((a.x-i.x)*(o.y-i.y)>=(a.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),e.length===1&&r.length===1&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}var M3=Gd,L3=Yd,$3=Xd,Qd=Kd;const pn=M3,Cr=L3,Er=$3,Xt=y.forwardRef(({className:t,sideOffset:e=4,...r},n)=>p.jsx(Qd,{ref:n,sideOffset:e,className:Se("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...r}));Xt.displayName=Qd.displayName;const vr={mobile:{icon:Wi,label:"Mobile"},tablet:{icon:Gi,label:"Tablet"},small:{icon:Vi,label:"Small Desktop"},desktop:{icon:Yi,label:"Desktop"}},V=({title:t,children:e,defaultOpen:r=!0})=>{const[n,o]=w.useState(r);return p.jsxs("div",{className:"border-b border-border pb-3",children:[p.jsxs("button",{onClick:()=>o(!n),className:"flex items-center justify-between w-full py-1.5 text-xs font-medium text-muted-foreground hover:text-foreground",children:[t,n?p.jsx(Fi,{className:"h-3 w-3"}):p.jsx(qi,{className:"h-3 w-3"})]}),n&&p.jsx("div",{className:"mt-2 space-y-3",children:e})]})},pe=({label:t,value:e,onChange:r,min:n=0,max:o=100,unit:a,inputClassName:i=""})=>p.jsxs("div",{className:"flex items-center justify-between",children:[t?p.jsx("label",{className:"text-xs text-muted-foreground",children:t}):null,p.jsxs("div",{className:"flex items-center gap-1",children:[p.jsx("input",{type:"number",value:e,onChange:s=>r(parseInt(s.target.value)||0),min:n,max:o,className:Qe("w-14 px-2 py-1 text-xs rounded border border-input bg-background text-right",i)}),a?p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a}):null]})]}),So=({label:t,values:e,onChange:r,min:n=0,max:o=100,unit:a="px",defaultValue:i=16})=>{const s=er(),[u,l]=w.useState(!1),c=typeof e=="object"&&e!==null&&!("top"in e)?e:{desktop:e??i},h=()=>c[s]??c.desktop??i,f=(g,m)=>{const v={...c,[g]:m};r(v)},d=g=>{f(s,g)},b=Re.some(g=>g!=="desktop"&&c[g]!==void 0);return p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("button",{onClick:()=>l(!u),className:`p-1 rounded transition-colors ${u||b?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground"}`,children:w.createElement(vr[s].icon,{className:"h-3 w-3"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:u?"Hide breakpoints":"Edit per breakpoint"})})]})})]}),u?p.jsx("div",{className:"space-y-1.5 pl-2 border-l-2 border-primary/20",children:Re.map(g=>{const m=vr[g].icon,v=c[g],x=v===void 0?Re.find(S=>Re.indexOf(S)>Re.indexOf(g)&&c[S]!==void 0)||"desktop":null;return p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("div",{className:`p-1 rounded ${g===s?"bg-primary/10":""}`,children:p.jsx(m,{className:"h-3 w-3 text-muted-foreground"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:vr[g].label})})]})}),p.jsx("input",{type:"number",value:v??"",placeholder:x?`${c[x]??i}`:"",onChange:S=>{const E=S.target.value===""?void 0:parseInt(S.target.value)||0;f(g,E)},min:n,max:o,className:`flex-1 px-2 py-1 text-xs rounded border border-input bg-background text-right ${v===void 0?"text-muted-foreground":""}`}),p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a})]},g)})}):p.jsxs("div",{className:"flex items-center gap-1",children:[p.jsx("input",{type:"number",value:h(),onChange:g=>d(parseInt(g.target.value)||0),min:n,max:o,className:"w-full px-2 py-1 text-xs rounded border border-input bg-background text-right"}),p.jsx("span",{className:"text-xs text-muted-foreground w-6",children:a})]})]})},De=({label:t,values:e,onChange:r})=>{const[n,o]=w.useState(!0),a=(i,s)=>{r(n?{top:s,right:s,bottom:s,left:s}:{...e,[i]:s})};return p.jsxs("div",{className:"space-y-2",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx("button",{onClick:()=>o(!n),className:`text-xs px-2 py-0.5 rounded ${n?"bg-primary/10 text-primary":"text-muted-foreground"}`,children:n?"Linked":"Individual"})]}),n?p.jsx("input",{type:"number",value:e.top,onChange:i=>a("top",parseInt(i.target.value)||0),min:0,className:"w-full px-2 py-1 text-xs rounded border border-input bg-background text-center"}):p.jsx("div",{className:"grid grid-cols-4 gap-1",children:["top","right","bottom","left"].map(i=>p.jsxs("div",{className:"text-center",children:[p.jsx("input",{type:"number",value:e[i],onChange:s=>a(i,parseInt(s.target.value)||0),min:0,className:"w-full px-1 py-1 text-xs rounded border border-input bg-background text-center"}),p.jsx("span",{className:"text-[10px] text-muted-foreground",children:i[0].toUpperCase()})]},i))})]})},J=({label:t,value:e,options:r,onChange:n,className:o="",selectClassName:a=""})=>p.jsxs("div",{className:Qe("flex items-center justify-between",o,a),children:[t?p.jsx("label",{className:"text-xs text-muted-foreground",children:t}):null,p.jsx("select",{value:e,onChange:i=>n(i.target.value),className:Qe("px-2 py-1 text-xs rounded border border-input bg-background ",a),children:r.map(i=>p.jsx("option",{value:i.value,children:i.label},i.value))})]}),Je=({label:t,value:e,onChange:r})=>p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx("input",{type:"color",value:e!=null&&e.startsWith("#")?e:"#000000",onChange:n=>r(n.target.value),className:"w-6 h-6 rounded border border-input cursor-pointer"}),p.jsx("input",{type:"text",value:e||"",onChange:n=>r(n.target.value),className:"w-20 px-2 py-1 text-xs rounded border border-input bg-background",placeholder:"#000000"})]})]}),gt=({label:t,value:e,options:r,onChange:n})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsx("div",{className:"flex gap-1",children:r.map(o=>p.jsx("button",{onClick:()=>n(o.value),className:`flex-1 px-2 py-1.5 text-xs rounded border transition-colors ${e===o.value?"bg-primary text-primary-foreground border-primary":"border-input hover:bg-secondary"}`,title:o.label,children:o.icon||o.label},o.value))})]}),Mt=({label:t,value:e,onChange:r,multiline:n=!1})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),n?p.jsx("textarea",{value:e||"",onChange:o=>r(o.target.value),className:"w-full p-2 text-xs rounded border border-input bg-background resize-none",rows:3}):p.jsx("input",{type:"text",value:e||"",onChange:o=>r(o.target.value),className:"w-full px-2 py-1.5 text-xs rounded border border-input bg-background"})]}),oa=({label:t,value:e,onChange:r,min:n=0,max:o=100,unit:a=""})=>p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("span",{className:"text-xs text-muted-foreground",children:[e,a]})]}),p.jsx("input",{type:"range",value:e,onChange:i=>r(parseInt(i.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]}),Co=({label:t,values:e,onChange:r,min:n=0,max:o=100,unit:a="",defaultValue:i=50})=>{const s=er(),[u,l]=w.useState(!1),c=typeof e=="object"&&e!==null&&!("top"in e)?e:{desktop:e??i},h=()=>c[s]??c.desktop??i,f=(b,g)=>{const m={...c,[b]:g};r(m)},d=Re.some(b=>b!=="desktop"&&c[b]!==void 0);return p.jsxs("div",{className:"space-y-1.5",children:[p.jsxs("div",{className:"flex items-center justify-between",children:[p.jsx("label",{className:"text-xs text-muted-foreground",children:t}),p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsxs("span",{className:"text-xs text-muted-foreground",children:[h(),a]}),p.jsx(pn,{children:p.jsxs(Cr,{children:[p.jsx(Er,{asChild:!0,children:p.jsx("button",{onClick:()=>l(!u),className:`p-1 rounded transition-colors ${u||d?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground"}`,children:w.createElement(vr[s].icon,{className:"h-3 w-3"})})}),p.jsx(Xt,{side:"left",children:p.jsx("p",{children:u?"Hide breakpoints":"Edit per breakpoint"})})]})})]})]}),u?p.jsx("div",{className:"space-y-2 pl-2 border-l-2 border-primary/20",children:Re.map(b=>{const g=vr[b].icon,m=c[b];return p.jsxs("div",{className:"space-y-1",children:[p.jsxs("div",{className:"flex items-center gap-2",children:[p.jsx("div",{className:`p-1 rounded ${b===s?"bg-primary/10":""}`,children:p.jsx(g,{className:"h-3 w-3 text-muted-foreground"})}),p.jsx("span",{className:"text-xs text-muted-foreground flex-1",children:vr[b].label}),p.jsxs("span",{className:"text-xs",children:[m??"-",m!==void 0?a:""]})]}),p.jsx("input",{type:"range",value:m??c.desktop??i,onChange:v=>f(b,parseInt(v.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]},b)})}):p.jsx("input",{type:"range",value:h(),onChange:b=>f(s,parseInt(b.target.value)),min:n,max:o,className:"w-full h-1.5 accent-primary"})]})},ws=({text:t="Click me",variant:e="solid",size:r="md",backgroundColor:n="#FF6B35",textColor:o="#ffffff",borderColor:a="#FF6B35",borderWidth:i=0,borderRadius:s=8,fontWeight:u="500",fontSize:l="auto",width:c="auto",paddingX:h=16,paddingY:f=10,margin:d={top:0,right:0,bottom:0,left:0},boxShadow:b="none",opacity:g=100})=>{let m,v,x;try{const{connectors:P,events:I}=ne(T=>({events:T.events}));m=P.connect,v=P.drag,x=I.selected}catch{}const S={sm:{px:12,py:6,fs:14},md:{px:16,py:10,fs:16},lg:{px:24,py:14,fs:18}},E=S[r]||S.md,j=h==="auto"?E.px:h,k=f==="auto"?E.py:f,_=l==="auto"?E.fs:l,D=typeof d=="object"?`${d.top}px ${d.right}px ${d.bottom}px ${d.left}px`:`${d}px`,L=e==="outline"?"transparent":n,$=e==="outline"?n:o,C=e==="outline"?2:i,N=e==="outline"?n:a;return p.jsx("button",{ref:P=>P&&m&&v&&(m==null?void 0:m(v==null?void 0:v(P))),className:`cursor-move transition-all hover:opacity-90 ${x?"ring-2 ring-primary ring-offset-2":""}`,style:{backgroundColor:L,color:$,borderWidth:`${C}px`,borderColor:N,borderStyle:"solid",borderRadius:`${s}px`,fontWeight:u,fontSize:`${_}px`,padding:`${k}px ${j}px`,margin:D,width:c==="full"?"100%":"auto",boxShadow:b==="none"?"none":b,opacity:g/100},children:t})},B3=()=>{const{actions:{setProp:t},props:e}=ne(n=>({props:n.data.props})),r=typeof e.margin=="object"?e.margin:{top:0,right:0,bottom:0,left:0};return p.jsxs("div",{className:"space-y-3",children:[p.jsx(V,{title:"Content",defaultOpen:!0,children:p.jsx(Mt,{label:"Text",value:e.text,onChange:n=>t(o=>o.text=n)})}),p.jsxs(V,{title:"Style",defaultOpen:!0,children:[p.jsx(gt,{label:"Variant",value:e.variant||"solid",options:[{value:"solid",label:"Solid"},{value:"outline",label:"Outline"}],onChange:n=>t(o=>o.variant=n)}),p.jsx(gt,{label:"Size Preset",value:e.size||"md",options:[{value:"sm",label:"S"},{value:"md",label:"M"},{value:"lg",label:"L"}],onChange:n=>t(o=>o.size=n)}),p.jsx(gt,{label:"Width",value:e.width||"auto",options:[{value:"auto",label:"Auto"},{value:"full",label:"Full"}],onChange:n=>t(o=>o.width=n)})]}),p.jsxs(V,{title:"Colors",defaultOpen:!0,children:[p.jsx(Je,{label:"Background",value:e.backgroundColor||"#FF6B35",onChange:n=>t(o=>o.backgroundColor=n)}),p.jsx(Je,{label:"Text",value:e.textColor||"#ffffff",onChange:n=>t(o=>o.textColor=n)}),p.jsx(oa,{label:"Opacity",value:e.opacity||100,onChange:n=>t(o=>o.opacity=n),min:0,max:100,unit:"%"})]}),p.jsxs(V,{title:"Typography",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Font Size",value:e.fontSize==="auto"?16:e.fontSize,onChange:n=>t(o=>o.fontSize=n),min:10,max:32}),p.jsx(J,{label:"Weight",value:e.fontWeight||"500",options:[{value:"400",label:"Regular"},{value:"500",label:"Medium"},{value:"600",label:"Semibold"},{value:"700",label:"Bold"}],onChange:n=>t(o=>o.fontWeight=n)})]}),p.jsxs(V,{title:"Padding",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Horizontal",value:e.paddingX||16,onChange:n=>t(o=>o.paddingX=n),max:64}),p.jsx(pe,{unit:"px",label:"Vertical",value:e.paddingY||10,onChange:n=>t(o=>o.paddingY=n),max:48})]}),p.jsxs(V,{title:"Border",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Radius",value:e.borderRadius||8,onChange:n=>t(o=>o.borderRadius=n),max:50}),p.jsx(pe,{unit:"px",label:"Width",value:e.borderWidth||0,onChange:n=>t(o=>o.borderWidth=n),max:10}),p.jsx(Je,{label:"Color",value:e.borderColor||"#FF6B35",onChange:n=>t(o=>o.borderColor=n)})]}),p.jsx(V,{title:"Effects",defaultOpen:!1,children:p.jsx(J,{label:"Shadow",value:e.boxShadow||"none",options:[{value:"none",label:"None"},{value:"0 2px 4px rgba(0,0,0,0.1)",label:"Small"},{value:"0 4px 12px rgba(0,0,0,0.15)",label:"Medium"},{value:"0 8px 24px rgba(0,0,0,0.2)",label:"Large"}],onChange:n=>t(o=>o.boxShadow=n)})}),p.jsx(V,{title:"Spacing",defaultOpen:!1,children:p.jsx(De,{label:"Margin",values:r,onChange:n=>t(o=>o.margin=n)})})]})};ws.craft={displayName:"Button",props:{text:"Click me",variant:"solid",size:"md",backgroundColor:"#FF6B35",textColor:"#ffffff",borderColor:"#FF6B35",borderWidth:0,borderRadius:8,fontWeight:"500",fontSize:"auto",width:"auto",paddingX:16,paddingY:10,margin:{top:0,right:0,bottom:0,left:0},boxShadow:"none",opacity:100},related:{settings:B3}};const cr=({label:t,value:e,onChange:r,max:n=1e4})=>{const o=(e==null?void 0:e.type)||"custom",a=(e==null?void 0:e.value)||100,i=(e==null?void 0:e.unit)||"%",s=c=>{r(c==="none"?{type:"none"}:c==="auto"?{type:"auto"}:{type:"custom",value:a,unit:i})},u=c=>{r({type:"custom",value:c,unit:i})},l=c=>{r({type:"custom",value:a,unit:c})};return p.jsxs("div",{className:"space-y-2",children:[p.jsx("label",{className:"text-xs font-medium",children:t}),p.jsx(J,{selectClassName:"w-full",value:o,options:[{value:"none",label:"None"},{value:"auto",label:"Auto"},{value:"custom",label:"Custom"}],onChange:s}),o==="custom"&&p.jsxs("div",{className:"flex",children:[p.jsx("div",{className:"",children:p.jsx(pe,{inputClassName:"w-full h-8 rounded-l-lg",value:a,onChange:u,max:n})}),p.jsx("div",{className:"",children:p.jsx(J,{selectClassName:" h-8",value:i,options:[{value:"px",label:"px"},{value:"em",label:"em"},{value:"%",label:"%"},{value:"rem",label:"rem"},{value:"vh",label:"vh"},{value:"vw",label:"vw"}],onChange:l})})]})]})},dr=t=>t?typeof t=="string"?t:typeof t=="number"?`${t}px`:t.type==="none"?"none":t.type==="auto"?"auto":t.type==="custom"?`${t.value}${t.unit||"px"}`:"auto":"auto",Ss=t=>{const e=typeof t.padding=="object"?`${t.padding.top}px ${t.padding.right}px ${t.padding.bottom}px ${t.padding.left}px`:`${t.padding}px`,r=typeof t.margin=="object"?`${t.margin.top}px ${t.margin.right}px ${t.margin.bottom}px ${t.margin.left}px`:`${t.margin}px`;return{backgroundColor:t.backgroundColor,backgroundImage:t.backgroundImage?`url(${t.backgroundImage})`:"none",backgroundSize:t.backgroundSize,backgroundRepeat:t.backgroundRepeat,padding:e,margin:r,width:dr(t.width),height:dr(t.height),minHeight:dr(t.minHeight),maxHeight:dr(t.maxHeight),minWidth:dr(t.minWidth),maxWidth:dr(t.maxWidth),display:t.display,flexDirection:t.display==="flex"?t.flexDirection:void 0,justifyContent:t.display==="flex"?t.justifyContent:void 0,alignItems:t.display==="flex"?t.alignItems:void 0,gap:t.display==="flex"?`${t.gap}px`:void 0,borderRadius:`${t.borderRadius}px`,borderWidth:`${t.borderWidth}px`,borderColor:t.borderColor,borderStyle:t.borderStyle,boxShadow:t.boxShadow==="none"?"none":t.boxShadow}},Cs={backgroundColor:"transparent",backgroundImage:"",backgroundSize:"cover",backgroundRepeat:"no-repeat",padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},width:{type:"auto"},height:{type:"auto"},minHeight:{type:"custom",value:50,unit:"px"},maxHeight:{type:"none"},minWidth:{type:"none"},maxWidth:{type:"auto"},display:"block",flexDirection:"column",justifyContent:"flex-start",alignItems:"stretch",gap:0,borderRadius:0,borderWidth:1,borderColor:"transparent",borderStyle:"dashed",boxShadow:"none"},aa=t=>{const{actions:{setProp:e},props:r}=ne(a=>({props:a.data.props})),n=typeof r.padding=="object"?r.padding:{top:r.padding||16,right:r.padding||16,bottom:r.padding||16,left:r.padding||16},o=typeof r.margin=="object"?r.margin:{top:r.margin||0,right:r.margin||0,bottom:r.margin||0,left:r.margin||0};return p.jsxs("div",{className:"space-y-3",children:[p.jsxs(V,{title:"Layout",defaultOpen:!0,children:[p.jsx(J,{label:"Display",value:r.display||"block",options:[{value:"block",label:"Block"},{value:"flex",label:"Flex"}],onChange:a=>e(i=>i.display=a)}),r.display==="flex"&&p.jsxs(p.Fragment,{children:[p.jsx(gt,{label:"Direction",value:r.flexDirection||"column",options:[{value:"row",label:"Row"},{value:"column",label:"Col"}],onChange:a=>e(i=>i.flexDirection=a)}),p.jsx(J,{label:"Justify",value:r.justifyContent||"flex-start",options:[{value:"flex-start",label:"Start"},{value:"center",label:"Center"},{value:"flex-end",label:"End"},{value:"space-between",label:"Between"}],onChange:a=>e(i=>i.justifyContent=a)}),p.jsx(pe,{unit:"px",label:"Gap",value:r.gap||0,onChange:a=>e(i=>i.gap=a),max:64})]})]}),p.jsxs(V,{title:"Sizing",defaultOpen:!0,children:[p.jsx(cr,{label:"Width",value:r.width,onChange:a=>e(i=>i.width=a),max:1e4}),p.jsx(cr,{label:"Min Width",value:r.minWidth,onChange:a=>e(i=>i.minWidth=a),max:1e4}),p.jsx(cr,{label:"Max Width",value:r.maxWidth,onChange:a=>e(i=>i.maxWidth=a),max:1e4}),p.jsx(cr,{label:"Height",value:r.height,onChange:a=>e(i=>i.height=a),max:1e4}),p.jsx(cr,{label:"Min Height",value:r.minHeight,onChange:a=>e(i=>i.minHeight=a),max:1e4}),p.jsx(cr,{label:"Max Height",value:r.maxHeight,onChange:a=>e(i=>i.maxHeight=a),max:1e4})]}),p.jsxs(V,{title:"Spacing",defaultOpen:!0,children:[p.jsx(De,{label:"Padding",values:n,onChange:a=>e(i=>i.padding=a)}),p.jsx(De,{label:"Margin",values:o,onChange:a=>e(i=>i.margin=a)})]}),p.jsxs(V,{title:"Background",defaultOpen:!1,children:[p.jsx(Je,{label:"Color",value:r.backgroundColor||"transparent",onChange:a=>e(i=>i.backgroundColor=a)}),p.jsx("input",{type:"text",placeholder:"Background image URL",value:r.backgroundImage||"",onChange:a=>e(i=>i.backgroundImage=a.target.value),className:"w-full px-2 py-1 border rounded text-sm"}),p.jsx(J,{label:"Image Size",value:r.backgroundSize||"cover",options:[{value:"cover",label:"Cover"},{value:"contain",label:"Contain"},{value:"stretch",label:"Stretch"}],onChange:a=>e(i=>i.backgroundSize=a)}),p.jsx(J,{label:"Image Repeat",value:r.backgroundRepeat||"no-repeat",options:[{value:"no-repeat",label:"No Repeat"},{value:"repeat",label:"Repeat"},{value:"repeat-x",label:"Repeat X"},{value:"repeat-y",label:"Repeat Y"}],onChange:a=>e(i=>i.backgroundRepeat=a)})]}),p.jsxs(V,{title:"Border",defaultOpen:!1,children:[p.jsx(pe,{unit:"px",label:"Radius",value:r.borderRadius,onChange:a=>e(i=>i.borderRadius=a),max:5e3}),p.jsx(pe,{unit:"px",label:"Width",value:r.borderWidth||1,onChange:a=>e(i=>i.borderWidth=a),max:10}),p.jsx(Je,{label:"Color",value:r.borderColor||"transparent",onChange:a=>e(i=>i.borderColor=a)})]})]})},Tn=t=>{let e,r,n=!1;try{const{connectors:o,events:a}=ne(i=>({events:i.events}));e=o.connect,r=o.drag,n=a.selected}catch{}return p.jsx("div",{ref:o=>{o&&e&&r&&e(r(o))},style:Ss(t),className:`min-h-[50px] w-full max-w-5xl px-[15px] lg:px-0 ${n?"outline outline-blue-500":""}`,children:t.children})};Tn.craft={isCanvas:!0,props:Cs,displayName:"Container",related:{settings:aa},rules:{canMoveIn:t=>t.every(e=>e.data.displayName!=="Wrapper")}};const H3=/\{\{\s*([\w.]+)\s*\}\}/g,z3=(t,e)=>{if(!t||!e)return;const r=e.split(".");let n=t;for(const o of r){if(n==null)return;n=n[o]}return n},Eo=(t,e)=>{if(!t||typeof t!="string"||!e)return t;const r=/\{\{\s*([\w.]+)\s*\}\}/g;return t.replace(r,(n,o)=>{const a=z3(e,o);return a==null?n:String(a)})},F3=t=>!t||typeof t!="string"?!1:/\{\{\s*([\w.]+)\s*\}\}/.test(t),q3=t=>{if(!t||typeof t!="string")return[];const e=[];let r;const n=new RegExp(H3.source,"g");for(;(r=n.exec(t))!==null;)e.push(r[1]);return e},U3={athlete:{name:"Full name (from API)",bibId:"Bib number",firstName:"First name",lastName:"Last name",fullName:"Full name (firstName + lastName)",raceTime:"Race finish time",email:"Email address",phone:"Phone number"},event:{name:"Event name",slug:"Event URL slug",date:"Event date"},organization:{name:"Organization name",website:"Organization website"}},V3={athlete:{label:"Athlete",variables:[{key:"athlete.name",description:"Full name"},{key:"athlete.bibId",description:"Bib number"},{key:"athlete.firstName",description:"First name"},{key:"athlete.lastName",description:"Last name"},{key:"athlete.fullName",description:"First + Last name"},{key:"athlete.raceTime",description:"Race finish time"},{key:"athlete.email",description:"Email address"},{key:"athlete.phone",description:"Phone number"}]},event:{label:"Event",variables:[{key:"event.name",description:"Event name"},{key:"event.slug",description:"URL slug"},{key:"event.date",description:"Event date"}]},organization:{label:"Organization",variables:[{key:"organization.name",description:"Organization name"},{key:"organization.website",description:"Website URL"}]}},W3=({variable:t,onCopy:e})=>{const[r,n]=w.useState(!1),o=()=>{navigator.clipboard.writeText(`{{ ${t.key} }}`),n(!0),e==null||e(`{{ ${t.key} }}`),setTimeout(()=>n(!1),1500)};return p.jsxs("button",{onClick:o,className:"w-full flex items-center justify-between gap-2 px-2 py-1.5 text-left hover:bg-muted rounded-md transition-colors group",children:[p.jsxs("div",{className:"min-w-0 flex-1",children:[p.jsx("code",{className:"text-xs font-mono text-primary bg-primary/10 px-1 py-0.5 rounded",children:`{{ ${t.key} }}`}),p.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 truncate",children:t.description})]}),p.jsx("div",{className:"shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",children:r?p.jsx(zi,{className:"h-3.5 w-3.5 text-green-500"}):p.jsx(sh,{className:"h-3.5 w-3.5 text-muted-foreground"})})]})},G3=({category:t,data:e,defaultOpen:r=!1})=>{const[n,o]=w.useState(r);return p.jsxs("div",{className:"border-b border-border last:border-0",children:[p.jsxs("button",{onClick:()=>o(!n),className:"w-full flex items-center gap-2 py-2 text-left hover:bg-muted/50 transition-colors",children:[n?p.jsx(Fi,{className:"h-3.5 w-3.5 text-muted-foreground"}):p.jsx(qi,{className:"h-3.5 w-3.5 text-muted-foreground"}),p.jsx("span",{className:"text-xs font-medium",children:e.label}),p.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",e.variables.length,")"]})]}),n&&p.jsx("div",{className:"pb-2 space-y-0.5",children:e.variables.map(a=>p.jsx(W3,{variable:a},a.key))})]})},ef=({className:t})=>p.jsxs("div",{className:Se("rounded-lg border border-border bg-muted/30",t),children:[p.jsxs("div",{className:"px-3 py-2 border-b border-border",children:[p.jsx("h4",{className:"text-xs font-semibold",children:"Dynamic Variables"}),p.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Click to copy, then paste in your text"})]}),p.jsx("div",{className:"px-2",children:Object.entries(V3).map(([e,r],n)=>p.jsx(G3,{category:e,data:r,defaultOpen:n===0},e))})]});var tf={},hn={},Es={},mn={},Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}));var Ns={};Object.defineProperty(Ns,"__esModule",{value:!0});Ns.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}));var bi={};(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function n(a){var i;return a>=55296&&a<=57343||a>1114111?65533:(i=r.get(a))!==null&&i!==void 0?i:a}t.replaceCodePoint=n;function o(a){return(0,t.fromCodePoint)(n(a))}t.default=o})(bi);(function(t){var e=F&&F.__createBinding||(Object.create?function(C,N,P,I){I===void 0&&(I=P);var T=Object.getOwnPropertyDescriptor(N,P);(!T||("get"in T?!N.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return N[P]}}),Object.defineProperty(C,I,T)}:function(C,N,P,I){I===void 0&&(I=P),C[I]=N[P]}),r=F&&F.__setModuleDefault||(Object.create?function(C,N){Object.defineProperty(C,"default",{enumerable:!0,value:N})}:function(C,N){C.default=N}),n=F&&F.__importStar||function(C){if(C&&C.__esModule)return C;var N={};if(C!=null)for(var P in C)P!=="default"&&Object.prototype.hasOwnProperty.call(C,P)&&e(N,C,P);return r(N,C),N},o=F&&F.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var a=o(Ts);t.htmlDecodeTree=a.default;var i=o(Ns);t.xmlDecodeTree=i.default;var s=n(bi);t.decodeCodePoint=s.default;var u=bi;Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(C){C[C.NUM=35]="NUM",C[C.SEMI=59]="SEMI",C[C.EQUALS=61]="EQUALS",C[C.ZERO=48]="ZERO",C[C.NINE=57]="NINE",C[C.LOWER_A=97]="LOWER_A",C[C.LOWER_F=102]="LOWER_F",C[C.LOWER_X=120]="LOWER_X",C[C.LOWER_Z=122]="LOWER_Z",C[C.UPPER_A=65]="UPPER_A",C[C.UPPER_F=70]="UPPER_F",C[C.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var c=32,h;(function(C){C[C.VALUE_LENGTH=49152]="VALUE_LENGTH",C[C.BRANCH_LENGTH=16256]="BRANCH_LENGTH",C[C.JUMP_TABLE=127]="JUMP_TABLE"})(h=t.BinTrieFlags||(t.BinTrieFlags={}));function f(C){return C>=l.ZERO&&C<=l.NINE}function d(C){return C>=l.UPPER_A&&C<=l.UPPER_F||C>=l.LOWER_A&&C<=l.LOWER_F}function b(C){return C>=l.UPPER_A&&C<=l.UPPER_Z||C>=l.LOWER_A&&C<=l.LOWER_Z||f(C)}function g(C){return C===l.EQUALS||b(C)}var m;(function(C){C[C.EntityStart=0]="EntityStart",C[C.NumericStart=1]="NumericStart",C[C.NumericDecimal=2]="NumericDecimal",C[C.NumericHex=3]="NumericHex",C[C.NamedEntity=4]="NamedEntity"})(m||(m={}));var v;(function(C){C[C.Legacy=0]="Legacy",C[C.Strict=1]="Strict",C[C.Attribute=2]="Attribute"})(v=t.DecodingMode||(t.DecodingMode={}));var x=function(){function C(N,P,I){this.decodeTree=N,this.emitCodePoint=P,this.errors=I,this.state=m.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=v.Strict}return C.prototype.startEntity=function(N){this.decodeMode=N,this.state=m.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},C.prototype.write=function(N,P){switch(this.state){case m.EntityStart:return N.charCodeAt(P)===l.NUM?(this.state=m.NumericStart,this.consumed+=1,this.stateNumericStart(N,P+1)):(this.state=m.NamedEntity,this.stateNamedEntity(N,P));case m.NumericStart:return this.stateNumericStart(N,P);case m.NumericDecimal:return this.stateNumericDecimal(N,P);case m.NumericHex:return this.stateNumericHex(N,P);case m.NamedEntity:return this.stateNamedEntity(N,P)}},C.prototype.stateNumericStart=function(N,P){return P>=N.length?-1:(N.charCodeAt(P)|c)===l.LOWER_X?(this.state=m.NumericHex,this.consumed+=1,this.stateNumericHex(N,P+1)):(this.state=m.NumericDecimal,this.stateNumericDecimal(N,P))},C.prototype.addToNumericResult=function(N,P,I,T){if(P!==I){var O=I-P;this.result=this.result*Math.pow(T,O)+parseInt(N.substr(P,O),T),this.consumed+=O}},C.prototype.stateNumericHex=function(N,P){for(var I=P;P<N.length;){var T=N.charCodeAt(P);if(f(T)||d(T))P+=1;else return this.addToNumericResult(N,I,P,16),this.emitNumericEntity(T,3)}return this.addToNumericResult(N,I,P,16),-1},C.prototype.stateNumericDecimal=function(N,P){for(var I=P;P<N.length;){var T=N.charCodeAt(P);if(f(T))P+=1;else return this.addToNumericResult(N,I,P,10),this.emitNumericEntity(T,2)}return this.addToNumericResult(N,I,P,10),-1},C.prototype.emitNumericEntity=function(N,P){var I;if(this.consumed<=P)return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(N===l.SEMI)this.consumed+=1;else if(this.decodeMode===v.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(N!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},C.prototype.stateNamedEntity=function(N,P){for(var I=this.decodeTree,T=I[this.treeIndex],O=(T&h.VALUE_LENGTH)>>14;P<N.length;P++,this.excess++){var A=N.charCodeAt(P);if(this.treeIndex=E(I,T,this.treeIndex+Math.max(1,O),A),this.treeIndex<0)return this.result===0||this.decodeMode===v.Attribute&&(O===0||g(A))?0:this.emitNotTerminatedNamedEntity();if(T=I[this.treeIndex],O=(T&h.VALUE_LENGTH)>>14,O!==0){if(A===l.SEMI)return this.emitNamedEntityData(this.treeIndex,O,this.consumed+this.excess);this.decodeMode!==v.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},C.prototype.emitNotTerminatedNamedEntity=function(){var N,P=this,I=P.result,T=P.decodeTree,O=(T[I]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(I,O,this.consumed),(N=this.errors)===null||N===void 0||N.missingSemicolonAfterCharacterReference(),this.consumed},C.prototype.emitNamedEntityData=function(N,P,I){var T=this.decodeTree;return this.emitCodePoint(P===1?T[N]&~h.VALUE_LENGTH:T[N+1],I),P===3&&this.emitCodePoint(T[N+2],I),I},C.prototype.end=function(){var N;switch(this.state){case m.NamedEntity:return this.result!==0&&(this.decodeMode!==v.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case m.NumericDecimal:return this.emitNumericEntity(0,2);case m.NumericHex:return this.emitNumericEntity(0,3);case m.NumericStart:return(N=this.errors)===null||N===void 0||N.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case m.EntityStart:return 0}},C}();t.EntityDecoder=x;function S(C){var N="",P=new x(C,function(I){return N+=(0,s.fromCodePoint)(I)});return function(T,O){for(var A=0,R=0;(R=T.indexOf("&",R))>=0;){N+=T.slice(A,R),P.startEntity(O);var M=P.write(T,R+1);if(M<0){A=R+P.end();break}A=R+M,R=M===0?A+1:A}var q=N+T.slice(A);return N="",q}}function E(C,N,P,I){var T=(N&h.BRANCH_LENGTH)>>7,O=N&h.JUMP_TABLE;if(T===0)return O!==0&&I===O?P:-1;if(O){var A=I-O;return A<0||A>=T?-1:C[P+A]-1}for(var R=P,M=R+T-1;R<=M;){var q=R+M>>>1,de=C[q];if(de<I)R=q+1;else if(de>I)M=q-1;else return C[q+T]}return-1}t.determineBranch=E;var j=S(a.default),k=S(i.default);function _(C,N){return N===void 0&&(N=v.Legacy),j(C,N)}t.decodeHTML=_;function D(C){return j(C,v.Attribute)}t.decodeHTMLAttribute=D;function L(C){return j(C,v.Strict)}t.decodeHTMLStrict=L;function $(C){return k(C,v.Strict)}t.decodeXML=$})(mn);(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var e=mn,r;(function(f){f[f.Tab=9]="Tab",f[f.NewLine=10]="NewLine",f[f.FormFeed=12]="FormFeed",f[f.CarriageReturn=13]="CarriageReturn",f[f.Space=32]="Space",f[f.ExclamationMark=33]="ExclamationMark",f[f.Number=35]="Number",f[f.Amp=38]="Amp",f[f.SingleQuote=39]="SingleQuote",f[f.DoubleQuote=34]="DoubleQuote",f[f.Dash=45]="Dash",f[f.Slash=47]="Slash",f[f.Zero=48]="Zero",f[f.Nine=57]="Nine",f[f.Semi=59]="Semi",f[f.Lt=60]="Lt",f[f.Eq=61]="Eq",f[f.Gt=62]="Gt",f[f.Questionmark=63]="Questionmark",f[f.UpperA=65]="UpperA",f[f.LowerA=97]="LowerA",f[f.UpperF=70]="UpperF",f[f.LowerF=102]="LowerF",f[f.UpperZ=90]="UpperZ",f[f.LowerZ=122]="LowerZ",f[f.LowerX=120]="LowerX",f[f.OpeningSquareBracket=91]="OpeningSquareBracket"})(r||(r={}));var n;(function(f){f[f.Text=1]="Text",f[f.BeforeTagName=2]="BeforeTagName",f[f.InTagName=3]="InTagName",f[f.InSelfClosingTag=4]="InSelfClosingTag",f[f.BeforeClosingTagName=5]="BeforeClosingTagName",f[f.InClosingTagName=6]="InClosingTagName",f[f.AfterClosingTagName=7]="AfterClosingTagName",f[f.BeforeAttributeName=8]="BeforeAttributeName",f[f.InAttributeName=9]="InAttributeName",f[f.AfterAttributeName=10]="AfterAttributeName",f[f.BeforeAttributeValue=11]="BeforeAttributeValue",f[f.InAttributeValueDq=12]="InAttributeValueDq",f[f.InAttributeValueSq=13]="InAttributeValueSq",f[f.InAttributeValueNq=14]="InAttributeValueNq",f[f.BeforeDeclaration=15]="BeforeDeclaration",f[f.InDeclaration=16]="InDeclaration",f[f.InProcessingInstruction=17]="InProcessingInstruction",f[f.BeforeComment=18]="BeforeComment",f[f.CDATASequence=19]="CDATASequence",f[f.InSpecialComment=20]="InSpecialComment",f[f.InCommentLike=21]="InCommentLike",f[f.BeforeSpecialS=22]="BeforeSpecialS",f[f.SpecialStartSequence=23]="SpecialStartSequence",f[f.InSpecialTag=24]="InSpecialTag",f[f.BeforeEntity=25]="BeforeEntity",f[f.BeforeNumericEntity=26]="BeforeNumericEntity",f[f.InNamedEntity=27]="InNamedEntity",f[f.InNumericEntity=28]="InNumericEntity",f[f.InHexEntity=29]="InHexEntity"})(n||(n={}));function o(f){return f===r.Space||f===r.NewLine||f===r.Tab||f===r.FormFeed||f===r.CarriageReturn}function a(f){return f===r.Slash||f===r.Gt||o(f)}function i(f){return f>=r.Zero&&f<=r.Nine}function s(f){return f>=r.LowerA&&f<=r.LowerZ||f>=r.UpperA&&f<=r.UpperZ}function u(f){return f>=r.UpperA&&f<=r.UpperF||f>=r.LowerA&&f<=r.LowerF}var l;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(l=t.QuoteType||(t.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function f(d,b){var g=d.xmlMode,m=g===void 0?!1:g,v=d.decodeEntities,x=v===void 0?!0:v;this.cbs=b,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=m,this.decodeEntities=x,this.entityTrie=m?e.xmlDecodeTree:e.htmlDecodeTree}return f.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},f.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},f.prototype.end=function(){this.running&&this.finish()},f.prototype.pause=function(){this.running=!1},f.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},f.prototype.getIndex=function(){return this.index},f.prototype.getSectionStart=function(){return this.sectionStart},f.prototype.stateText=function(d){d===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity)},f.prototype.stateSpecialStartSequence=function(d){var b=this.sequenceIndex===this.currentSequence.length,g=b?a(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!g)this.isSpecial=!1;else if(!b){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(d)},f.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===r.Gt||o(d)){var b=this.index-this.currentSequence.length;if(this.sectionStart<b){var g=this.index;this.index=b,this.cbs.ontext(this.sectionStart,b),this.index=g}this.isSpecial=!1,this.sectionStart=b+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===c.TitleEnd?this.decodeEntities&&d===r.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===r.Lt)},f.prototype.stateCDATASequence=function(d){d===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(d))},f.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},f.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},f.prototype.isTagStartChar=function(d){return this.xmlMode?!a(d):s(d)},f.prototype.startSpecial=function(d,b){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=b,this.state=n.SpecialStartSequence},f.prototype.stateBeforeTagName=function(d){if(d===r.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===r.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var b=d|32;this.sectionStart=this.index,!this.xmlMode&&b===c.TitleEnd[2]?this.startSpecial(c.TitleEnd,3):this.state=!this.xmlMode&&b===c.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else d===r.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(d))},f.prototype.stateInTagName=function(d){a(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},f.prototype.stateBeforeClosingTagName=function(d){o(d)||(d===r.Gt?this.state=n.Text:(this.state=this.isTagStartChar(d)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},f.prototype.stateInClosingTagName=function(d){(d===r.Gt||o(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(d))},f.prototype.stateAfterClosingTagName=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeAttributeName=function(d){d===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===r.Slash?this.state=n.InSelfClosingTag:o(d)||(this.state=n.InAttributeName,this.sectionStart=this.index)},f.prototype.stateInSelfClosingTag=function(d){d===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(d)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d))},f.prototype.stateInAttributeName=function(d){(d===r.Eq||a(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(d))},f.prototype.stateAfterAttributeName=function(d){d===r.Eq?this.state=n.BeforeAttributeValue:d===r.Slash||d===r.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):o(d)||(this.cbs.onattribend(l.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},f.prototype.stateBeforeAttributeValue=function(d){d===r.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):d===r.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):o(d)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},f.prototype.handleInAttributeValue=function(d,b){d===b||!this.decodeEntities&&this.fastForwardTo(b)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(b===r.DoubleQuote?l.Double:l.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},f.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,r.DoubleQuote)},f.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,r.SingleQuote)},f.prototype.stateInAttributeValueNoQuotes=function(d){o(d)||d===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===r.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},f.prototype.stateBeforeDeclaration=function(d){d===r.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=d===r.Dash?n.BeforeComment:n.InDeclaration},f.prototype.stateInDeclaration=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateInProcessingInstruction=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeComment=function(d){d===r.Dash?(this.state=n.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},f.prototype.stateInSpecialComment=function(d){(d===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},f.prototype.stateBeforeSpecialS=function(d){var b=d|32;b===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):b===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(d))},f.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===r.Number?this.state=n.BeforeNumericEntity:d===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(d))},f.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var b=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(b){var g=(b>>14)-1;if(!this.allowLegacyEntity()&&d!==r.Semi)this.trieIndex+=g;else{var m=this.index-this.entityExcess+1;m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.entityResult=this.trieIndex,this.trieIndex+=g,this.entityExcess=0,this.sectionStart=this.index+1,g===0&&this.emitNamedEntity()}}},f.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},f.prototype.stateBeforeNumericEntity=function(d){(d|32)===r.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(d))},f.prototype.emitNumericEntity=function(d){var b=this.index-this.entityExcess-1,g=b+2+ +(this.state===n.InHexEntity);g!==this.index&&(b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},f.prototype.stateInNumericEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*10+(d-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.stateInHexEntity=function(d){d===r.Semi?this.emitNumericEntity(!0):i(d)?(this.entityResult=this.entityResult*16+(d-r.Zero),this.entityExcess++):u(d)?(this.entityResult=this.entityResult*16+((d|32)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},f.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},f.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},f.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},f.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(d);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case n.InSpecialTag:{this.stateInSpecialTag(d);break}case n.CDATASequence:{this.stateCDATASequence(d);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case n.InAttributeName:{this.stateInAttributeName(d);break}case n.InCommentLike:{this.stateInCommentLike(d);break}case n.InSpecialComment:{this.stateInSpecialComment(d);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case n.InTagName:{this.stateInTagName(d);break}case n.InClosingTagName:{this.stateInClosingTagName(d);break}case n.BeforeTagName:{this.stateBeforeTagName(d);break}case n.AfterAttributeName:{this.stateAfterAttributeName(d);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case n.InDeclaration:{this.stateInDeclaration(d);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case n.BeforeComment:{this.stateBeforeComment(d);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case n.InNamedEntity:{this.stateInNamedEntity(d);break}case n.BeforeEntity:{this.stateBeforeEntity(d);break}case n.InHexEntity:{this.stateInHexEntity(d);break}case n.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},f.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},f.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},f.prototype.emitPartial=function(d,b){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(d,b):this.cbs.ontext(d,b)},f.prototype.emitCodePoint=function(d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},f}();t.default=h})(Es);var Y3=F&&F.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),X3=F&&F.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),K3=F&&F.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Y3(e,t,r);return X3(e,t),e};Object.defineProperty(hn,"__esModule",{value:!0});hn.Parser=void 0;var Fn=K3(Es),Al=mn,fr=new Set(["input","option","optgroup","select","button","datalist","textarea"]),re=new Set(["p"]),Ol=new Set(["thead","tbody"]),Pl=new Set(["dd","dt"]),kl=new Set(["rt","rp"]),J3=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",re],["h1",re],["h2",re],["h3",re],["h4",re],["h5",re],["h6",re],["select",fr],["input",fr],["output",fr],["button",fr],["datalist",fr],["textarea",fr],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Pl],["dt",Pl],["address",re],["article",re],["aside",re],["blockquote",re],["details",re],["div",re],["dl",re],["fieldset",re],["figcaption",re],["figure",re],["footer",re],["form",re],["header",re],["hr",re],["main",re],["nav",re],["ol",re],["pre",re],["section",re],["table",re],["ul",re],["rt",kl],["rp",kl],["tbody",Ol],["tfoot",Ol]]),Z3=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),_l=new Set(["math","svg"]),Rl=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Q3=/\s|\//,e6=function(){function t(e,r){r===void 0&&(r={});var n,o,a,i,s;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=(n=r.lowerCaseTags)!==null&&n!==void 0?n:!r.xmlMode,this.lowerCaseAttributeNames=(o=r.lowerCaseAttributeNames)!==null&&o!==void 0?o:!r.xmlMode,this.tokenizer=new((a=r.Tokenizer)!==null&&a!==void 0?a:Fn.default)(this.options,this),(s=(i=this.cbs).onparserinit)===null||s===void 0||s.call(i,this)}return t.prototype.ontext=function(e,r){var n,o,a=this.getSlice(e,r);this.endIndex=r-1,(o=(n=this.cbs).ontext)===null||o===void 0||o.call(n,a),this.startIndex=r},t.prototype.ontextentity=function(e){var r,n,o=this.tokenizer.getSectionStart();this.endIndex=o-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,(0,Al.fromCodePoint)(e)),this.startIndex=o},t.prototype.isVoidElement=function(e){return!this.options.xmlMode&&Z3.has(e)},t.prototype.onopentagname=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},t.prototype.emitOpenTag=function(e){var r,n,o,a;this.openTagStart=this.startIndex,this.tagname=e;var i=!this.options.xmlMode&&J3.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var s=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,s,!0)}this.isVoidElement(e)||(this.stack.push(e),_l.has(e)?this.foreignContext.push(!0):Rl.has(e)&&this.foreignContext.push(!1)),(a=(o=this.cbs).onopentagname)===null||a===void 0||a.call(o,e),this.cbs.onopentag&&(this.attribs={})},t.prototype.endOpenTag=function(e){var r,n;this.startIndex=this.openTagStart,this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},t.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},t.prototype.onclosetag=function(e,r){var n,o,a,i,s,u;this.endIndex=r;var l=this.getSlice(e,r);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(_l.has(l)||Rl.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((o=(n=this.cbs).onopentagname)===null||o===void 0||o.call(n,"br"),(i=(a=this.cbs).onopentag)===null||i===void 0||i.call(a,"br",{},!0),(u=(s=this.cbs).onclosetag)===null||u===void 0||u.call(s,"br",!1));else{var c=this.stack.lastIndexOf(l);if(c!==-1)if(this.cbs.onclosetag)for(var h=this.stack.length-c;h--;)this.cbs.onclosetag(this.stack.pop(),h!==0);else this.stack.length=c;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1},t.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},t.prototype.closeCurrentTag=function(e){var r,n,o=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===o&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,o,!e),this.stack.pop())},t.prototype.onattribname=function(e,r){this.startIndex=e;var n=this.getSlice(e,r);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},t.prototype.onattribdata=function(e,r){this.attribvalue+=this.getSlice(e,r)},t.prototype.onattribentity=function(e){this.attribvalue+=(0,Al.fromCodePoint)(e)},t.prototype.onattribend=function(e,r){var n,o;this.endIndex=r,(o=(n=this.cbs).onattribute)===null||o===void 0||o.call(n,this.attribname,this.attribvalue,e===Fn.QuoteType.Double?'"':e===Fn.QuoteType.Single?"'":e===Fn.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},t.prototype.getInstructionName=function(e){var r=e.search(Q3),n=r<0?e:e.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},t.prototype.ondeclaration=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(o),"!".concat(n))}this.startIndex=r+1},t.prototype.onprocessinginstruction=function(e,r){this.endIndex=r;var n=this.getSlice(e,r);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(o),"?".concat(n))}this.startIndex=r+1},t.prototype.oncomment=function(e,r,n){var o,a,i,s;this.endIndex=r,(a=(o=this.cbs).oncomment)===null||a===void 0||a.call(o,this.getSlice(e,r-n)),(s=(i=this.cbs).oncommentend)===null||s===void 0||s.call(i),this.startIndex=r+1},t.prototype.oncdata=function(e,r,n){var o,a,i,s,u,l,c,h,f,d;this.endIndex=r;var b=this.getSlice(e,r-n);this.options.xmlMode||this.options.recognizeCDATA?((a=(o=this.cbs).oncdatastart)===null||a===void 0||a.call(o),(s=(i=this.cbs).ontext)===null||s===void 0||s.call(i,b),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((h=(c=this.cbs).oncomment)===null||h===void 0||h.call(c,"[CDATA[".concat(b,"]]")),(d=(f=this.cbs).oncommentend)===null||d===void 0||d.call(f)),this.startIndex=r+1},t.prototype.onend=function(){var e,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(e=this.cbs).onend)===null||r===void 0||r.call(e)},t.prototype.reset=function(){var e,r,n,o;(r=(e=this.cbs).onreset)===null||r===void 0||r.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(n=this.cbs).onparserinit)===null||o===void 0||o.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},t.prototype.parseComplete=function(e){this.reset(),this.end(e)},t.prototype.getSlice=function(e,r){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,r-this.bufferOffset);r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,r-this.bufferOffset);return n},t.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},t.prototype.write=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},t.prototype.end=function(e){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},t.prototype.pause=function(){this.tokenizer.pause()},t.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},t.prototype.parseChunk=function(e){this.write(e)},t.prototype.done=function(e){this.end(e)},t}();hn.Parser=e6;var xt={},Fr={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function r(n){return n.type===e.Tag||n.type===e.Script||n.type===e.Style}t.isTag=r,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype})(Fr);var K={},$t=F&&F.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(n[a]=o[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),nn=F&&F.__assign||function(){return nn=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},nn.apply(this,arguments)};Object.defineProperty(K,"__esModule",{value:!0});K.cloneNode=K.hasChildren=K.isDocument=K.isDirective=K.isComment=K.isText=K.isCDATA=K.isTag=K.Element=K.Document=K.CDATA=K.NodeWithChildren=K.ProcessingInstruction=K.Comment=K.Text=K.DataNode=K.Node=void 0;var je=Fr,js=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(e){return e===void 0&&(e=!1),As(this,e)},t}();K.Node=js;var ia=function(t){$t(e,t);function e(r){var n=t.call(this)||this;return n.data=r,n}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),e}(js);K.DataNode=ia;var rf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Text,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(ia);K.Text=rf;var nf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Comment,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(ia);K.Comment=nf;var of=function(t){$t(e,t);function e(r,n){var o=t.call(this,n)||this;return o.name=r,o.type=je.ElementType.Directive,o}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(ia);K.ProcessingInstruction=of;var sa=function(t){$t(e,t);function e(r){var n=t.call(this)||this;return n.children=r,n}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),e}(js);K.NodeWithChildren=sa;var af=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.CDATA,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(sa);K.CDATA=af;var sf=function(t){$t(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=je.ElementType.Root,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(sa);K.Document=sf;var uf=function(t){$t(e,t);function e(r,n,o,a){o===void 0&&(o=[]),a===void 0&&(a=r==="script"?je.ElementType.Script:r==="style"?je.ElementType.Style:je.ElementType.Tag);var i=t.call(this,o)||this;return i.name=r,i.attribs=n,i.type=a,i}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var o,a;return{name:n,value:r.attribs[n],namespace:(o=r["x-attribsNamespace"])===null||o===void 0?void 0:o[n],prefix:(a=r["x-attribsPrefix"])===null||a===void 0?void 0:a[n]}})},enumerable:!1,configurable:!0}),e}(sa);K.Element=uf;function lf(t){return(0,je.isTag)(t)}K.isTag=lf;function cf(t){return t.type===je.ElementType.CDATA}K.isCDATA=cf;function df(t){return t.type===je.ElementType.Text}K.isText=df;function ff(t){return t.type===je.ElementType.Comment}K.isComment=ff;function pf(t){return t.type===je.ElementType.Directive}K.isDirective=pf;function hf(t){return t.type===je.ElementType.Root}K.isDocument=hf;function t6(t){return Object.prototype.hasOwnProperty.call(t,"children")}K.hasChildren=t6;function As(t,e){e===void 0&&(e=!1);var r;if(df(t))r=new rf(t.data);else if(ff(t))r=new nf(t.data);else if(lf(t)){var n=e?Ia(t.children):[],o=new uf(t.name,nn({},t.attribs),n);n.forEach(function(u){return u.parent=o}),t.namespace!=null&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=nn({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=nn({},t["x-attribsPrefix"])),r=o}else if(cf(t)){var n=e?Ia(t.children):[],a=new af(n);n.forEach(function(l){return l.parent=a}),r=a}else if(hf(t)){var n=e?Ia(t.children):[],i=new sf(n);n.forEach(function(l){return l.parent=i}),t["x-mode"]&&(i["x-mode"]=t["x-mode"]),r=i}else if(pf(t)){var s=new of(t.name,t.data);t["x-name"]!=null&&(s["x-name"]=t["x-name"],s["x-publicId"]=t["x-publicId"],s["x-systemId"]=t["x-systemId"]),r=s}else throw new Error("Not implemented yet: ".concat(t.type));return r.startIndex=t.startIndex,r.endIndex=t.endIndex,t.sourceCodeLocation!=null&&(r.sourceCodeLocation=t.sourceCodeLocation),r}K.cloneNode=As;function Ia(t){for(var e=t.map(function(n){return As(n,!0)}),r=1;r<e.length;r++)e[r].prev=e[r-1],e[r-1].next=e[r];return e}(function(t){var e=F&&F.__createBinding||(Object.create?function(s,u,l,c){c===void 0&&(c=l);var h=Object.getOwnPropertyDescriptor(u,l);(!h||("get"in h?!u.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return u[l]}}),Object.defineProperty(s,c,h)}:function(s,u,l,c){c===void 0&&(c=l),s[c]=u[l]}),r=F&&F.__exportStar||function(s,u){for(var l in s)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&e(u,s,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var n=Fr,o=K;r(K,t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},i=function(){function s(u,l,c){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(c=l,l=a),typeof u=="object"&&(l=u,u=void 0),this.callback=u??null,this.options=l??a,this.elementCB=c??null}return s.prototype.onparserinit=function(u){this.parser=u},s.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(u){this.handleCallback(u)},s.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},s.prototype.onopentag=function(u,l){var c=this.options.xmlMode?n.ElementType.Tag:void 0,h=new o.Element(u,l,void 0,c);this.addNode(h),this.tagStack.push(h)},s.prototype.ontext=function(u){var l=this.lastNode;if(l&&l.type===n.ElementType.Text)l.data+=u,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var c=new o.Text(u);this.addNode(c),this.lastNode=c}},s.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=u;return}var l=new o.Comment(u);this.addNode(l),this.lastNode=l},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var u=new o.Text(""),l=new o.CDATA([u]);this.addNode(l),u.parent=l,this.lastNode=u},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(u,l){var c=new o.ProcessingInstruction(u,l);this.addNode(c)},s.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},s.prototype.addNode=function(u){var l=this.tagStack[this.tagStack.length-1],c=l.children[l.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),l.children.push(u),c&&(u.prev=c,c.next=u),u.parent=l,this.lastNode=null},s}();t.DomHandler=i,t.default=i})(xt);var to={},Bt={},Nn={},mf={},Kt={},Os={};Object.defineProperty(Os,"__esModule",{value:!0});function qn(t){for(var e=1;e<t.length;e++)t[e][0]+=t[e-1][0]+1;return t}Os.default=new Map(qn([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(qn([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(qn([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(qn([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var To={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(o,a){return o.codePointAt(a)}:function(o,a){return(o.charCodeAt(a)&64512)===55296?(o.charCodeAt(a)-55296)*1024+o.charCodeAt(a+1)-56320+65536:o.charCodeAt(a)};function r(o){for(var a="",i=0,s;(s=t.xmlReplacer.exec(o))!==null;){var u=s.index,l=o.charCodeAt(u),c=e.get(l);c!==void 0?(a+=o.substring(i,u)+c,i=u+1):(a+="".concat(o.substring(i,u),"&#x").concat((0,t.getCodePoint)(o,u).toString(16),";"),i=t.xmlReplacer.lastIndex+=+((l&64512)===55296))}return a+o.substr(i)}t.encodeXML=r,t.escape=r;function n(o,a){return function(s){for(var u,l=0,c="";u=o.exec(s);)l!==u.index&&(c+=s.substring(l,u.index)),c+=a.get(u[0].charCodeAt(0)),l=u.index+1;return c+s.substring(l)}}t.escapeUTF8=n(/[&<>'"]/g,e),t.escapeAttribute=n(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=n(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(To);var r6=F&&F.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.encodeNonAsciiHTML=Kt.encodeHTML=void 0;var n6=r6(Os),bf=To,o6=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a6(t){return gf(o6,t)}Kt.encodeHTML=a6;function i6(t){return gf(bf.xmlReplacer,t)}Kt.encodeNonAsciiHTML=i6;function gf(t,e){for(var r="",n=0,o;(o=t.exec(e))!==null;){var a=o.index;r+=e.substring(n,a);var i=e.charCodeAt(a),s=n6.default.get(i);if(typeof s=="object"){if(a+1<e.length){var u=e.charCodeAt(a+1),l=typeof s.n=="number"?s.n===u?s.o:void 0:s.n.get(u);if(l!==void 0){r+=l,n=t.lastIndex+=1;continue}}s=s.v}if(s!==void 0)r+=s,n=a+1;else{var c=(0,bf.getCodePoint)(e,a);r+="&#x".concat(c.toString(16),";"),n=t.lastIndex+=+(c!==i)}}return r+e.substr(n)}(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var e=mn,r=Kt,n=To,o;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(o=t.EntityLevel||(t.EntityLevel={}));var a;(function(f){f[f.UTF8=0]="UTF8",f[f.ASCII=1]="ASCII",f[f.Extensive=2]="Extensive",f[f.Attribute=3]="Attribute",f[f.Text=4]="Text"})(a=t.EncodingMode||(t.EncodingMode={}));function i(f,d){d===void 0&&(d=o.XML);var b=typeof d=="number"?d:d.level;if(b===o.HTML){var g=typeof d=="object"?d.mode:void 0;return(0,e.decodeHTML)(f,g)}return(0,e.decodeXML)(f)}t.decode=i;function s(f,d){var b;d===void 0&&(d=o.XML);var g=typeof d=="number"?{level:d}:d;return(b=g.mode)!==null&&b!==void 0||(g.mode=e.DecodingMode.Strict),i(f,g)}t.decodeStrict=s;function u(f,d){d===void 0&&(d=o.XML);var b=typeof d=="number"?{level:d}:d;return b.mode===a.UTF8?(0,n.escapeUTF8)(f):b.mode===a.Attribute?(0,n.escapeAttribute)(f):b.mode===a.Text?(0,n.escapeText)(f):b.level===o.HTML?b.mode===a.ASCII?(0,r.encodeNonAsciiHTML)(f):(0,r.encodeHTML)(f):(0,n.encodeXML)(f)}t.encode=u;var l=To;Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=Kt;Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var h=mn;Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(mf);var Tr={};Object.defineProperty(Tr,"__esModule",{value:!0});Tr.attributeNames=Tr.elementNames=void 0;Tr.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(t){return[t.toLowerCase(),t]}));Tr.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(t){return[t.toLowerCase(),t]}));var hr=F&&F.__assign||function(){return hr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},hr.apply(this,arguments)},s6=F&&F.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),u6=F&&F.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l6=F&&F.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&s6(e,t,r);return u6(e,t),e};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.render=void 0;var ut=l6(Fr),No=mf,vf=Tr,c6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d6(t){return t.replace(/"/g,"&quot;")}function f6(t,e){var r;if(t){var n=((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)===!1?d6:e.xmlMode||e.encodeEntities!=="utf8"?No.encodeXML:No.escapeAttribute;return Object.keys(t).map(function(o){var a,i,s=(a=t[o])!==null&&a!==void 0?a:"";return e.xmlMode==="foreign"&&(o=(i=vf.attributeNames.get(o))!==null&&i!==void 0?i:o),!e.emptyAttrs&&!e.xmlMode&&s===""?o:"".concat(o,'="').concat(n(s),'"')}).join(" ")}}var Il=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function ua(t,e){e===void 0&&(e={});for(var r=("length"in t)?t:[t],n="",o=0;o<r.length;o++)n+=p6(r[o],e);return n}Nn.render=ua;Nn.default=ua;function p6(t,e){switch(t.type){case ut.Root:return ua(t.children,e);case ut.Doctype:case ut.Directive:return g6(t);case ut.Comment:return x6(t);case ut.CDATA:return y6(t);case ut.Script:case ut.Style:case ut.Tag:return b6(t,e);case ut.Text:return v6(t,e)}}var h6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m6=new Set(["svg","math"]);function b6(t,e){var r;e.xmlMode==="foreign"&&(t.name=(r=vf.elementNames.get(t.name))!==null&&r!==void 0?r:t.name,t.parent&&h6.has(t.parent.name)&&(e=hr(hr({},e),{xmlMode:!1}))),!e.xmlMode&&m6.has(t.name)&&(e=hr(hr({},e),{xmlMode:"foreign"}));var n="<".concat(t.name),o=f6(t.attribs,e);return o&&(n+=" ".concat(o)),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&Il.has(t.name))?(e.xmlMode||(n+=" "),n+="/>"):(n+=">",t.children.length>0&&(n+=ua(t.children,e)),(e.xmlMode||!Il.has(t.name))&&(n+="</".concat(t.name,">"))),n}function g6(t){return"<".concat(t.data,">")}function v6(t,e){var r,n=t.data||"";return((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&c6.has(t.parent.name))&&(n=e.xmlMode||e.encodeEntities!=="utf8"?(0,No.encodeXML)(n):(0,No.escapeText)(n)),n}function y6(t){return"<![CDATA[".concat(t.children[0].data,"]]>")}function x6(t){return"<!--".concat(t.data,"-->")}var w6=F&&F.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bt,"__esModule",{value:!0});Bt.getOuterHTML=yf;Bt.getInnerHTML=E6;Bt.getText=ro;Bt.textContent=gi;Bt.innerText=vi;var Ze=xt,S6=w6(Nn),C6=Fr;function yf(t,e){return(0,S6.default)(t,e)}function E6(t,e){return(0,Ze.hasChildren)(t)?t.children.map(function(r){return yf(r,e)}).join(""):""}function ro(t){return Array.isArray(t)?t.map(ro).join(""):(0,Ze.isTag)(t)?t.name==="br"?`
231
231
  `:ro(t.children):(0,Ze.isCDATA)(t)?ro(t.children):(0,Ze.isText)(t)?t.data:""}function gi(t){return Array.isArray(t)?t.map(gi).join(""):(0,Ze.hasChildren)(t)&&!(0,Ze.isComment)(t)?gi(t.children):(0,Ze.isText)(t)?t.data:""}function vi(t){return Array.isArray(t)?t.map(vi).join(""):(0,Ze.hasChildren)(t)&&(t.type===C6.ElementType.Tag||(0,Ze.isCDATA)(t))?vi(t.children):(0,Ze.isText)(t)?t.data:""}var ot={};Object.defineProperty(ot,"__esModule",{value:!0});ot.getChildren=xf;ot.getParent=wf;ot.getSiblings=T6;ot.getAttributeValue=N6;ot.hasAttrib=j6;ot.getName=A6;ot.nextElementSibling=O6;ot.prevElementSibling=P6;var Ps=xt;function xf(t){return(0,Ps.hasChildren)(t)?t.children:[]}function wf(t){return t.parent||null}function T6(t){var e,r,n=wf(t);if(n!=null)return xf(n);for(var o=[t],a=t.prev,i=t.next;a!=null;)o.unshift(a),e=a,a=e.prev;for(;i!=null;)o.push(i),r=i,i=r.next;return o}function N6(t,e){var r;return(r=t.attribs)===null||r===void 0?void 0:r[e]}function j6(t,e){return t.attribs!=null&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&t.attribs[e]!=null}function A6(t){return t.name}function O6(t){for(var e,r=t.next;r!==null&&!(0,Ps.isTag)(r);)e=r,r=e.next;return r}function P6(t){for(var e,r=t.prev;r!==null&&!(0,Ps.isTag)(r);)e=r,r=e.prev;return r}var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.removeElement=jn;Ht.replaceElement=k6;Ht.appendChild=_6;Ht.append=R6;Ht.prependChild=I6;Ht.prepend=D6;function jn(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children,r=e.lastIndexOf(t);r>=0&&e.splice(r,1)}t.next=null,t.prev=null,t.parent=null}function k6(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var o=e.parent=t.parent;if(o){var a=o.children;a[a.lastIndexOf(t)]=e,t.parent=null}}function _6(t,e){if(jn(e),e.next=null,e.parent=t,t.children.push(e)>1){var r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null}function R6(t,e){jn(e);var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var o=r.children;o.splice(o.lastIndexOf(n),0,e)}}else r&&r.children.push(e)}function I6(t,e){if(jn(e),e.parent=t,e.prev=null,t.children.unshift(e)!==1){var r=t.children[1];r.prev=e,e.next=r}else e.next=null}function D6(t,e){jn(e);var r=t.parent;if(r){var n=r.children;n.splice(n.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}var St={};Object.defineProperty(St,"__esModule",{value:!0});St.filter=M6;St.find=Sf;St.findOneChild=L6;St.findOne=Cf;St.existsOne=Ef;St.findAll=$6;var Jt=xt;function M6(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),Sf(t,Array.isArray(e)?e:[e],r,n)}function Sf(t,e,r,n){for(var o=[],a=[Array.isArray(e)?e:[e]],i=[0];;){if(i[0]>=a[0].length){if(i.length===1)return o;a.shift(),i.shift();continue}var s=a[0][i[0]++];if(t(s)&&(o.push(s),--n<=0))return o;r&&(0,Jt.hasChildren)(s)&&s.children.length>0&&(i.unshift(0),a.unshift(s.children))}}function L6(t,e){return e.find(t)}function Cf(t,e,r){r===void 0&&(r=!0);for(var n=Array.isArray(e)?e:[e],o=0;o<n.length;o++){var a=n[o];if((0,Jt.isTag)(a)&&t(a))return a;if(r&&(0,Jt.hasChildren)(a)&&a.children.length>0){var i=Cf(t,a.children,!0);if(i)return i}}return null}function Ef(t,e){return(Array.isArray(e)?e:[e]).some(function(r){return(0,Jt.isTag)(r)&&t(r)||(0,Jt.hasChildren)(r)&&Ef(t,r.children)})}function $6(t,e){for(var r=[],n=[Array.isArray(e)?e:[e]],o=[0];;){if(o[0]>=n[0].length){if(n.length===1)return r;n.shift(),o.shift();continue}var a=n[0][o[0]++];(0,Jt.isTag)(a)&&t(a)&&r.push(a),(0,Jt.hasChildren)(a)&&a.children.length>0&&(o.unshift(0),n.unshift(a.children))}}var Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.testElement=H6;Ct.getElements=z6;Ct.getElementById=F6;Ct.getElementsByTagName=q6;Ct.getElementsByClassName=U6;Ct.getElementsByTagType=V6;var Vt=xt,An=St,jo={tag_name:function(t){return typeof t=="function"?function(e){return(0,Vt.isTag)(e)&&t(e.name)}:t==="*"?Vt.isTag:function(e){return(0,Vt.isTag)(e)&&e.name===t}},tag_type:function(t){return typeof t=="function"?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return typeof t=="function"?function(e){return(0,Vt.isText)(e)&&t(e.data)}:function(e){return(0,Vt.isText)(e)&&e.data===t}}};function ks(t,e){return typeof e=="function"?function(r){return(0,Vt.isTag)(r)&&e(r.attribs[t])}:function(r){return(0,Vt.isTag)(r)&&r.attribs[t]===e}}function B6(t,e){return function(r){return t(r)||e(r)}}function Tf(t){var e=Object.keys(t).map(function(r){var n=t[r];return Object.prototype.hasOwnProperty.call(jo,r)?jo[r](n):ks(r,n)});return e.length===0?null:e.reduce(B6)}function H6(t,e){var r=Tf(t);return r?r(e):!0}function z6(t,e,r,n){n===void 0&&(n=1/0);var o=Tf(t);return o?(0,An.filter)(o,e,r,n):[]}function F6(t,e,r){return r===void 0&&(r=!0),Array.isArray(e)||(e=[e]),(0,An.findOne)(ks("id",t),e,r)}function q6(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,An.filter)(jo.tag_name(t),e,r,n)}function U6(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,An.filter)(ks("class",t),e,r,n)}function V6(t,e,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,An.filter)(jo.tag_type(t),e,r,n)}var nr={};Object.defineProperty(nr,"__esModule",{value:!0});nr.DocumentPosition=void 0;nr.removeSubsets=W6;nr.compareDocumentPosition=Nf;nr.uniqueSort=G6;var Dl=xt;function W6(t){for(var e=t.length;--e>=0;){var r=t[e];if(e>0&&t.lastIndexOf(r,e-1)>=0){t.splice(e,1);continue}for(var n=r.parent;n;n=n.parent)if(t.includes(n)){t.splice(e,1);break}}return t}var ze;(function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"})(ze||(nr.DocumentPosition=ze={}));function Nf(t,e){var r=[],n=[];if(t===e)return 0;for(var o=(0,Dl.hasChildren)(t)?t:t.parent;o;)r.unshift(o),o=o.parent;for(o=(0,Dl.hasChildren)(e)?e:e.parent;o;)n.unshift(o),o=o.parent;for(var a=Math.min(r.length,n.length),i=0;i<a&&r[i]===n[i];)i++;if(i===0)return ze.DISCONNECTED;var s=r[i-1],u=s.children,l=r[i],c=n[i];return u.indexOf(l)>u.indexOf(c)?s===e?ze.FOLLOWING|ze.CONTAINED_BY:ze.FOLLOWING:s===t?ze.PRECEDING|ze.CONTAINS:ze.PRECEDING}function G6(t){return t=t.filter(function(e,r,n){return!n.includes(e,r+1)}),t.sort(function(e,r){var n=Nf(e,r);return n&ze.PRECEDING?-1:n&ze.FOLLOWING?1:0}),t}var _s={};Object.defineProperty(_s,"__esModule",{value:!0});_s.getFeed=X6;var Y6=Bt,On=Ct;function X6(t){var e=Ao(e4,t);return e?e.name==="feed"?K6(e):J6(e):null}function K6(t){var e,r=t.children,n={type:"atom",items:(0,On.getElementsByTagName)("entry",r).map(function(i){var s,u=i.children,l={media:jf(u)};Ne(l,"id","id",u),Ne(l,"title","title",u);var c=(s=Ao("link",u))===null||s===void 0?void 0:s.attribs.href;c&&(l.link=c);var h=Ot("summary",u)||Ot("content",u);h&&(l.description=h);var f=Ot("updated",u);return f&&(l.pubDate=new Date(f)),l})};Ne(n,"id","id",r),Ne(n,"title","title",r);var o=(e=Ao("link",r))===null||e===void 0?void 0:e.attribs.href;o&&(n.link=o),Ne(n,"description","subtitle",r);var a=Ot("updated",r);return a&&(n.updated=new Date(a)),Ne(n,"author","email",r,!0),n}function J6(t){var e,r,n=(r=(e=Ao("channel",t.children))===null||e===void 0?void 0:e.children)!==null&&r!==void 0?r:[],o={type:t.name.substr(0,3),id:"",items:(0,On.getElementsByTagName)("item",t.children).map(function(i){var s=i.children,u={media:jf(s)};Ne(u,"id","guid",s),Ne(u,"title","title",s),Ne(u,"link","link",s),Ne(u,"description","description",s);var l=Ot("pubDate",s)||Ot("dc:date",s);return l&&(u.pubDate=new Date(l)),u})};Ne(o,"title","title",n),Ne(o,"link","link",n),Ne(o,"description","description",n);var a=Ot("lastBuildDate",n);return a&&(o.updated=new Date(a)),Ne(o,"author","managingEditor",n,!0),o}var Z6=["url","type","lang"],Q6=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function jf(t){return(0,On.getElementsByTagName)("media:content",t).map(function(e){for(var r=e.attribs,n={medium:r.medium,isDefault:!!r.isDefault},o=0,a=Z6;o<a.length;o++){var i=a[o];r[i]&&(n[i]=r[i])}for(var s=0,u=Q6;s<u.length;s++){var i=u[s];r[i]&&(n[i]=parseInt(r[i],10))}return r.expression&&(n.expression=r.expression),n})}function Ao(t,e){return(0,On.getElementsByTagName)(t,e,!0,1)[0]}function Ot(t,e,r){return r===void 0&&(r=!1),(0,Y6.textContent)((0,On.getElementsByTagName)(t,e,r,1)).trim()}function Ne(t,e,r,n,o){o===void 0&&(o=!1);var a=Ot(r,n,o);a&&(t[e]=a)}function e4(t){return t==="rss"||t==="feed"||t==="rdf:RDF"}(function(t){var e=F&&F.__createBinding||(Object.create?function(o,a,i,s){s===void 0&&(s=i);var u=Object.getOwnPropertyDescriptor(a,i);(!u||("get"in u?!a.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(o,s,u)}:function(o,a,i,s){s===void 0&&(s=i),o[s]=a[i]}),r=F&&F.__exportStar||function(o,a){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,o,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,r(Bt,t),r(ot,t),r(Ht,t),r(St,t),r(Ct,t),r(nr,t),r(_s,t);var n=xt;Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return n.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return n.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return n.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return n.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return n.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return n.hasChildren}})})(to);(function(t){var e=F&&F.__createBinding||(Object.create?function(v,x,S,E){E===void 0&&(E=S);var j=Object.getOwnPropertyDescriptor(x,S);(!j||("get"in j?!x.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return x[S]}}),Object.defineProperty(v,E,j)}:function(v,x,S,E){E===void 0&&(E=S),v[E]=x[S]}),r=F&&F.__setModuleDefault||(Object.create?function(v,x){Object.defineProperty(v,"default",{enumerable:!0,value:x})}:function(v,x){v.default=x}),n=F&&F.__importStar||function(v){if(v&&v.__esModule)return v;var x={};if(v!=null)for(var S in v)S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)&&e(x,v,S);return r(x,v),x},o=F&&F.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var a=hn,i=hn;Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return i.Parser}});var s=xt,u=xt;Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}});function l(v,x){var S=new s.DomHandler(void 0,x);return new a.Parser(S,x).end(v),S.root}t.parseDocument=l;function c(v,x){return l(v,x).children}t.parseDOM=c;function h(v,x,S){var E=new s.DomHandler(v,x,S);return new a.Parser(E,x)}t.createDomStream=h;var f=Es;Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return o(f).default}}),t.ElementType=n(Fr);var d=to,b=to;Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return b.getFeed}});var g={xmlMode:!0};function m(v,x){return x===void 0&&(x=g),(0,d.getFeed)(c(v,x))}t.parseFeed=m,t.DomUtils=n(to)})(tf);var t4=t=>{if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});/*!
232
232
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
233
233
  *