1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[98443],{3386:(e,t,r)=>{"use strict";r.d(t,{Gq:()=>u,Qk:()=>l,Vg:()=>f,Yr:()=>s,fq:()=>o,vy:()=>p});var n=r(88687),i=r(14862);(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var s=(e,t,r)=>{let n=Array.from(e||[]);return n.splice(t,0,r),n};(0,i.hY)();var a=(e,t)=>{let[r]=e.split(":"),n=t.indexes.nodes[r];return((null==n?void 0:n.path)||[]).map(e=>e.split(":")[0])};(0,i.hY)();var o=(e,t,r=!1)=>{let s=(0,n.$C)(e.type);return(0,n.Ir)((0,i.ko)((0,i.IA)({},e),{props:r?(0,i.ko)((0,i.IA)({},e.props),{id:s}):(0,i.IA)({},e.props)}),t,e=>e.map(e=>{let t=(0,n.$C)(e.type);return(0,i.ko)((0,i.IA)({},e),{props:r?(0,i.ko)((0,i.IA)({},e.props),{id:t}):(0,i.IA)({id:t},e.props)})}))};function l(e,t,r){let l=t.id||(0,n.$C)(t.componentType),u=o({type:t.componentType,props:(0,i.ko)((0,i.IA)({},r.config.components[t.componentType].defaultProps||{}),{id:l})},r.config),[c]=t.destinationZone.split(":"),d=a(t.destinationZone,e);return(0,n.CS)(e,r.config,(e,r)=>r===t.destinationZone?s(e||[],t.destinationIndex,u):e,(e,r)=>e.props.id===l||e.props.id===c||d.includes(e.props.id)||r.includes(t.destinationZone)?e:null)}function u(e,t){var r,i;let s=null==(r=t.indexes.zones)?void 0:r[e.zone||n.Ln];return s?null==(i=t.indexes.nodes[s.contentIds[e.index]])?void 0:i.data:void 0}(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var c=(e,t)=>{let r=Array.from(e);return r.splice(t,1),r},d=(e,t,r)=>{if(t.sourceZone===t.destinationZone&&t.sourceIndex===t.destinationIndex)return e;let i=u({zone:t.sourceZone,index:t.sourceIndex},e);if(!i)return e;let o=a(t.sourceZone,e),l=a(t.destinationZone,e);return(0,n.CS)(e,r.config,(e,r)=>r===t.sourceZone&&r===t.destinationZone?s(c(e,t.sourceIndex),t.destinationIndex,i):r===t.sourceZone?c(e,t.sourceIndex):r===t.destinationZone?s(e,t.destinationIndex,i):e,(e,r)=>{let[n]=t.sourceZone.split(":"),[s]=t.destinationZone.split(":"),a=e.props.id;return n===a||s===a||i.props.id===a||o.indexOf(a)>-1||l.indexOf(a)>-1||r.includes(t.destinationZone)?e:null})};(0,i.hY)(),(0,i.hY)();var h={};(0,i.hY)(),(0,i.hY)(),(0,i.hY)();var f=e=>{let{data:t,ui:r}=e;return{data:t,ui:r}};function p({record:e,onAction:t,appStore:r}){var o;return o=(e,t)=>{if("set"===t.type){if("object"==typeof t.state){let s=(0,i.IA)((0,i.IA)({},e),t.state);return t.state.indexes?s:(console.warn("`set` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),(0,n.CS)(s,r.config))}return(0,i.IA)((0,i.IA)({},e),t.state(e))}if("insert"===t.type)return l(e,t,r);if("replace"===t.type)return((e,t,r)=>{let[s]=t.destinationZone.split(":"),o=a(t.destinationZone,e),l=e.indexes.zones[t.destinationZone].contentIds[t.destinationIndex];if(l!==t.data.props.id)throw Error('Can\'t change the id during a replace action. Please us "remove" and "insert" to define a new node.');let u=[],c=(0,n.Ir)(t.data,r.config,(e,t)=>(u.push(`${t.parentId}:${t.propName}`),e.map(e=>{let t=(0,n.$C)(e.type);return(0,i.ko)((0,i.IA)({},e),{props:(0,i.IA)({id:t},e.props)})}))),d=(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui)});return Object.keys(e.indexes.zones).forEach(e=>{e.split(":")[0]!==l||u.includes(e)||delete d.indexes.zones[e]}),(0,n.CS)(d,r.config,(e,r)=>{let n=[...e];return r===t.destinationZone&&(n[t.destinationIndex]=c),n},(e,t)=>{let r=t.map(e=>e.split(":")[0]);return e.props.id===c.props.id?c:e.props.id===s?e:o.indexOf(e.props.id)>-1?e:r.indexOf(c.props.id)>-1?e:null})})(e,t,r);if("replaceRoot"===t.type)return(0,n.CS)(e,r.config,e=>e,e=>"root"===e.props.id?(0,i.ko)((0,i.IA)({},e),{props:(0,i.IA)((0,i.IA)({},e.props),t.root.props),readOnly:t.root.readOnly}):e);if("duplicate"===t.type){let o,l,c,d;return o=u({index:t.sourceIndex,zone:t.sourceZone},e),l=a(t.sourceZone,e),c=(0,i.ko)((0,i.IA)({},o),{props:(0,i.ko)((0,i.IA)({},o.props),{id:(0,n.$C)(o.type)})}),d=(0,n.CS)(e,r.config,(e,r)=>r===t.sourceZone?s(e,t.sourceIndex+1,o):e,(e,r,s)=>{let a=r[r.length-1];if(r.map(e=>e.split(":")[0]).indexOf(c.props.id)>-1)return(0,i.ko)((0,i.IA)({},e),{props:(0,i.ko)((0,i.IA)({},e.props),{id:(0,n.$C)(e.type)})});if(a===t.sourceZone&&s===t.sourceIndex+1)return c;let[o]=t.sourceZone.split(":");return o===e.props.id||l.indexOf(e.props.id)>-1?e:null}),(0,i.ko)((0,i.IA)({},d),{ui:(0,i.ko)((0,i.IA)({},d.ui),{itemSelector:{index:t.sourceIndex+1,zone:t.sourceZone}})})}if("reorder"===t.type)return d(e,{type:"move",sourceIndex:t.sourceIndex,sourceZone:t.destinationZone,destinationIndex:t.destinationIndex,destinationZone:t.destinationZone},r);if("move"===t.type)return d(e,t,r);if("remove"===t.type){let i,s,a;return i=u({index:t.index,zone:t.zone},e),s=Object.entries(e.indexes.nodes).reduce((e,[t,r])=>r.path.map(e=>e.split(":")[0]).includes(i.props.id)?[...e,t]:e,[i.props.id]),Object.keys((a=(0,n.CS)(e,r.config,(e,r)=>r===t.zone?c(e,t.index):e)).data.zones||{}
1).forEach(e=>{let t=e.split(":")[0];s.includes(t)&&a.data.zones&&delete a.data.zones[e]}),Object.keys(a.indexes.zones).forEach(e=>{let t=e.split(":")[0];s.includes(t)&&delete a.indexes.zones[e]}),s.forEach(e=>{delete a.indexes.nodes[e]}),a}if("registerZone"===t.type)return h[t.zone]?(0,i.ko)((0,i.IA)({},e),{data:(0,i.ko)((0,i.IA)({},e.data),{zones:(0,i.ko)((0,i.IA)({},e.data.zones),{[t.zone]:h[t.zone]})}),indexes:(0,i.ko)((0,i.IA)({},e.indexes),{zones:(0,i.ko)((0,i.IA)({},e.indexes.zones),{[t.zone]:(0,i.ko)((0,i.IA)({},e.indexes.zones[t.zone]),{contentIds:h[t.zone].map(e=>e.props.id),type:"dropzone"})})})}):(0,i.ko)((0,i.IA)({},e),{data:(0,n.W8)(e.data,t.zone)});if("unregisterZone"===t.type){let r,n;return r=(0,i.IA)({},e.data.zones||{}),n=(0,i.IA)({},e.indexes.zones||{}),r[t.zone]&&(h[t.zone]=r[t.zone],delete r[t.zone]),delete n[t.zone],(0,i.ko)((0,i.IA)({},e),{data:(0,i.ko)((0,i.IA)({},e.data),{zones:r}),indexes:(0,i.ko)((0,i.IA)({},e.indexes),{zones:n})})}return"setData"===t.type?"object"==typeof t.data?(console.warn("`setData` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),(0,n.CS)((0,i.ko)((0,i.IA)({},e),{data:(0,i.IA)((0,i.IA)({},e.data),t.data)}),r.config)):(0,n.CS)((0,i.ko)((0,i.IA)({},e),{data:(0,i.IA)((0,i.IA)({},e.data),t.data(e.data))}),r.config):"setUi"===t.type?"object"==typeof t.ui?(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui)}):(0,i.ko)((0,i.IA)({},e),{ui:(0,i.IA)((0,i.IA)({},e.ui),t.ui(e.ui))}):e},(r,n)=>{let i=o(r,n),s=!["registerZone","unregisterZone","setData","setUi","set"].includes(n.type);return(void 0!==n.recordHistory?n.recordHistory:s)&&e&&e(i),null==t||t(n,f(i),f(r)),i}}(0,i.hY)()},3428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(73433),i=r(9709);t.default=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,i.default]},3776:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},4713:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(7293),i=r(77637),s=r(11865);t.default={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>(0,i.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,i._)`{missingProperty: ${e}}`},code(e){let{gen:t,schema:r,schemaCode:a,data:o,$data:l,it:u}=e,{opts:c}=u;if(!l&&0===r.length)return;let d=r.length>=c.loopRequired;if(u.allErrors?function(){if(d||l)e.block$data(i.nil,h);else for(let t of r)(0,n.checkReportMissingProp)(e,t)}():function(){let s=t.let("missing");if(d||l){let r=t.let("valid",!0);e.block$data(r,()=>{var l,u;return l=s,u=r,void(e.setParams({missingProperty:l}),t.forOf(l,a,()=>{t.assign(u,(0,n.propertyInData)(t,o,l,c.ownProperties)),t.if((0,i.not)(u),()=>{e.error(),t.break()})},i.nil))}),e.ok(r)}else t.if((0,n.checkMissingProp)(e,r,s)),(0,n.reportMissingProp)(e,s),t.else()}(),c.strictRequired){let t=e.parentSchema.properties,{definedProperties:n}=e.it;for(let e of r)if((null==t?void 0:t[e])===void 0&&!n.has(e)){let t=u.schemaEnv.baseId+u.errSchemaPath,r=`required property "${e}" is not defined at "${t}" (strictRequired)`;(0,s.checkStrictMode)(u,r,u.opts.strictRequired)}}function h(){t.forOf("prop",a,r=>{e.setParams({missingProperty:r}),t.if((0,n.noPropertyInData)(t,o,r,c.ownProperties),()=>e.error())})}}}},7293:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;let n=r(77637),i=r(11865),s=r(30199),a=r(11865);function o(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,n._)`Object.prototype.hasOwnProperty`})}function l(e,t,r){return(0,n._)`${o(e)}.call(${t}, ${r})`}function u(e,t,r,i){let s=(0,n._)`${t}${(0,n.getProperty)(r)} === undefined`;return i?(0,n.or)(s,(0,n.not)(l(e,t,r))):s}function c(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}t.checkReportMissingProp=function(e,t){let{gen:r,data:i,it:s}=e;r.if(u(r,i,t,s.opts.ownProperties),()=>{e.setParams({missingProperty:(0,n._)`${t}`},!0),e.error()})},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},i,s){return(0,n.or)(...i.map(i=>(0,n.and)(u(e,t,i,r.ownProperties),(0,n._)`${s} = ${i}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=o,t.isOwnProperty=l,t.propertyInData=function(e,t,r,i){let s=(0,n._)`${t}${(0,n.getProperty)(r)} !== undefined`;return i?(0,n._)`${s} && ${l(e,t,r)}`:s},t.noPropertyInData=u,t.allSchemaProperties=c,t.schemaProperties=function(e,t){return c(t).filter(r=>!(0,i.alwaysValidSchema)(e,t[r]))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:i,schemaPath:a,errorPath:o},it:l},u,c,d){let h=d?(0,n._)`${e}, ${t}, ${i}${a}`:t,f=[[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,o)],[s.default.parentData,l.parentData],[s.default.parentDataProperty,l.parentDataProperty],[s.default.rootData,s.default.rootData]];l.opts.dynamicRef&&f.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);let p=(0,n._)`${h}, ${r.object(...f)}`;return c!==n.nil?(0,n._)`${u}.call(${c}, ${p})`:(0,n._)`${u}(${p})`};let d=(0,n._)`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},r){let i=t.unicodeRegExp?"u":"",{regExp:s}=t.code,o=s(r,i);return e.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,n._)`${"new RegExp"===s.code?d:(0,a.useFunc)(e,s)}(${r}, ${i})`})},t.validateArray=function(e){let{gen:t,data:r,keyword:s,it:a}=e,o=t.name("valid");if(a.allErrors){let e=t.let("valid",!0);return l(()=>t.assign(e,!1)),e}return t.var(o,!0),l(()=>t.break()),o;function l(a){let l=t.const("len",(0,n._)`${r}.length`);t.forRange("i",0,l,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:i.Type.Num},o),t.if((0,n.not)(o),a)})}},t.validateUnion=function(e){let{gen:t,schema:r,keyword:s,it:a}=e;if(!Array.isArray(r))throw Error("ajv implementation error");if(r.some(e=>(0,i.alwaysValidSchema)(a,e))&&!a.opts.unevaluated)return;let o=t.let("valid",!1),l=t.name("_valid");t.block(()=>r.forEach((r,i)=>{let a=e.subschema({keyword:s,schemaProp:i,compositeRule:!0},l);t.assign(o,(0,n._)`${o} || ${l}`),e.mergeValidEvaluated(a,l)||t.if((0,n.not)(o))})),e.result(o,()=>e.reset(),()=>e.error(!0))}},7479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(11865);t.default={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){let{gen:t,schema:r,it:i}=e;if((0,n.alwaysValidSchema)(i,r))return void e.fail();let s=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),e.failResult(s,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}}},7974:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},8515:(e,t,r)=>{"use strict";r.d(t,{bD:()=>I});var n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty;function a(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function o(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,s=i.get(t),a=i.get(r);if(s&&a)return s===r&&a===t;i.set(t,r),i.set(r,t);var o=e(t,r,n);return i.delete(t),i.delete(r),o}}function l(e){return n(e).concat(i(e))}var u=Object.hasOwn||function(e,t){return s.call(e,t)};function c(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var d=Object.getOwnPropertyDescriptor,h=Object.keys;function f(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function p(e,t){return c(e.getTime(),t.getTime())}function m(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function y(e,t){return e===t}function g(e,t,r){var n,i,s=e.size;if(s!==t.size)return!1;if(!s)return!0;for(var a=Array(s),o=e.entries(),l=0;(n=o.next())&&!n.done;){for(var u=t.entries(),c=!1,d=0;(i=u.next())&&!i.done;){if(a[d]){d++;continue}var h=n.value,f=i.value;if(r.equals(h[0],f[0],l,d,e,t,r)&&r.equals(h[1],f[1],h[0],f[0],e,t,r)){c=a[d]=!0;break}d++}if(!c)return!1;l++}return!0}function v(e,t,r){var n=h(e),i=n.length;if(h(t).length!==i)return!1;for(;i-- >0;)if(!S(e,t,r,n[i]))return!1;return!0}function b(e,t,r){var n,i,s,a=l(e),o=a.length;if(l(t).length!==o)return!1;for(;o-- >0;
1)if(!S(e,t,r,n=a[o])||(i=d(e,n),s=d(t,n),(i||s)&&(!i||!s||i.configurable!==s.configurable||i.enumerable!==s.enumerable||i.writable!==s.writable)))return!1;return!0}function w(e,t){return c(e.valueOf(),t.valueOf())}function _(e,t){return e.source===t.source&&e.flags===t.flags}function $(e,t,r){var n,i,s=e.size;if(s!==t.size)return!1;if(!s)return!0;for(var a=Array(s),o=e.values();(n=o.next())&&!n.done;){for(var l=t.values(),u=!1,c=0;(i=l.next())&&!i.done;){if(!a[c]&&r.equals(n.value,i.value,n.value,i.value,e,t,r)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function E(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function k(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function S(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||u(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var O=Array.isArray,j="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,P=Object.assign,A=Object.prototype.toString.call.bind(Object.prototype.toString),I=C();function C(e){void 0===e&&(e={});var t,r,n,i,s,l,u,d,h,S,I,C,M,N=e.circular,R=e.createInternalComparator,T=e.createState,D=e.strict,z=(r=(t=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?b:f,areDatesEqual:p,areErrorsEqual:m,areFunctionsEqual:y,areMapsEqual:n?a(g,b):g,areNumbersEqual:c,areObjectsEqual:n?b:v,arePrimitiveWrappersEqual:w,areRegExpsEqual:_,areSetsEqual:n?a($,b):$,areTypedArraysEqual:n?b:E,areUrlsEqual:k};if(r&&(i=P({},i,r(i))),t){var s=o(i.areArraysEqual),l=o(i.areMapsEqual),u=o(i.areObjectsEqual),d=o(i.areSetsEqual);i=P({},i,{areArraysEqual:s,areMapsEqual:l,areObjectsEqual:u,areSetsEqual:d})}return i}(e)).areArraysEqual,n=t.areDatesEqual,i=t.areErrorsEqual,s=t.areFunctionsEqual,l=t.areMapsEqual,u=t.areNumbersEqual,d=t.areObjectsEqual,h=t.arePrimitiveWrappersEqual,S=t.areRegExpsEqual,I=t.areSetsEqual,C=t.areTypedArraysEqual,M=t.areUrlsEqual,function(e,t,a){if(e===t)return!0;if(null==e||null==t)return!1;var o=typeof e;if(o!==typeof t)return!1;if("object"!==o)return"number"===o?u(e,t,a):"function"===o&&s(e,t,a);var c=e.constructor;if(c!==t.constructor)return!1;if(c===Object)return d(e,t,a);if(O(e))return r(e,t,a);if(null!=j&&j(e))return C(e,t,a);if(c===Date)return n(e,t,a);if(c===RegExp)return S(e,t,a);if(c===Map)return l(e,t,a);if(c===Set)return I(e,t,a);var f=A(e);return"[object Date]"===f?n(e,t,a):"[object RegExp]"===f?S(e,t,a):"[object Map]"===f?l(e,t,a):"[object Set]"===f?I(e,t,a):"[object Object]"===f?"function"!=typeof e.then&&"function"!=typeof t.then&&d(e,t,a):"[object URL]"===f?M(e,t,a):"[object Error]"===f?i(e,t,a):"[object Arguments]"===f?d(e,t,a):("[object Boolean]"===f||"[object Number]"===f||"[object String]"===f)&&h(e,t,a)}),L=R?R(z):function(e,t,r,n,i,s,a){return z(e,t,a)};return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,s=e.strict;if(n)return function(e,a){var o=n(),l=o.cache;return r(e,a,{cache:void 0===l?t?new WeakMap:void 0:l,equals:i,meta:o.meta,strict:s})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:s})};var a={cache:void 0,equals:i,meta:void 0,strict:s};return function(e,t){return r(e,t,a)}}({circular:void 0!==N&&N,comparator:z,createState:T,equals:L,strict:void 0!==D&&D})}C({strict:!0}),C({circular:!0}),C({circular:!0,strict:!0}),C({createInternalComparator:function(){return c}}),C({strict:!0,createInternalComparator:function(){return c}}),C({circular:!0,createInternalComparator:function(){return c}}),C({circular:!0,createInternalComparator:function(){return c},strict:!0})},9709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;let n=r(76475),i=r(7293),s=r(77637),a=r(30199),o=r(48463),l=r(11865);function u(e,t){let{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,s._)`${r.scopeValue("wrapper",{ref:t})}.validate`}function c(e,t,r,n){let{gen:o,it:u}=e,{allErrors:c,schemaEnv:d,opts:h}=u,f=h.passContext?a.default.this:s.nil;function p(e){let t=(0,s._)`${e}.errors`;o.assign(a.default.vErrors,(0,s._)`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),o.assign(a.default.errors,(0,s._)`${a.default.vErrors}.length`)}function m(e){var t;if(!u.opts.unevaluated)return;let n=null==(t=null==r?void 0:r.validate)?void 0:t.evaluated;if(!0!==u.props)if(n&&!n.dynamicProps)void 0!==n.props&&(u.props=l.mergeEvaluated.props(o,n.props,u.props));else{let t=o.var("props",(0,s._)`${e}.evaluated.props`);u.props=l.mergeEvaluated.props(o,t,u.props,s.Name)}if(!0!==u.items)if(n&&!n.dynamicItems)void 0!==n.items&&(u.items=l.mergeEvaluated.items(o,n.items,u.items));else{let t=o.var("items",(0,s._)`${e}.evaluated.items`);u.items=l.mergeEvaluated.items(o,t,u.items,s.Name)}}n?function(){if(!d.$async)throw Error("async schema referenced by sync schema");let r=o.let("valid");o.try(()=>
1{o.code((0,s._)`await ${(0,i.callValidateCode)(e,t,f)}`),m(t),c||o.assign(r,!0)},e=>{o.if((0,s._)`!(${e} instanceof ${u.ValidationError})`,()=>o.throw(e)),p(e),c||o.assign(r,!1)}),e.ok(r)}():e.result((0,i.callValidateCode)(e,t,f),()=>m(t),()=>p(t))}t.getValidate=u,t.callRef=c,t.default={keyword:"$ref",schemaType:"string",code(e){var t,r;let i,a,l,d,{gen:h,schema:f,it:p}=e,{baseId:m,schemaEnv:y,validateName:g,opts:v,self:b}=p,{root:w}=y;if(("#"===f||"#/"===f)&&m===w.baseId){if(y===w)return c(e,g,y,y.$async);let t=h.scopeValue("root",{ref:w});return c(e,(0,s._)`${t}.validate`,w,w.$async)}let _=o.resolveRef.call(b,w,m,f);if(void 0===_)throw new n.default(p.opts.uriResolver,m,f);return _ instanceof o.SchemaEnv?(i=u(e,t=_),void c(e,i,t,t.$async)):(r=_,a=h.scopeValue("schema",!0===v.code.source?{ref:r,code:(0,s.stringify)(r)}:{ref:r}),l=h.name("valid"),d=e.subschema({schema:r,dataTypes:[],schemaPath:s.nil,topSchemaRef:a,errSchemaPath:f},l),void(e.mergeEvaluated(d),e.ok(l)))}}},10285:e=>{"use strict";function t(e){try{return JSON.stringify(e)}catch(e){return'"[Circular]"'}}e.exports=function(e,r,n){var i=n&&n.stringify||t;if("object"==typeof e&&null!==e){var s=r.length+1;if(1===s)return e;var a=Array(s);a[0]=i(e);for(var o=1;o<s;o++)a[o]=i(r[o]);return a.join(" ")}if("string"!=typeof e)return e;var l=r.length;if(0===l)return e;for(var u="",c=0,d=-1,h=e&&e.length||0,f=0;f<h;){if(37===e.charCodeAt(f)&&f+1<h){switch(d=d>-1?d:0,e.charCodeAt(f+1)){case 100:case 102:if(c>=l||null==r[c])break;d<f&&(u+=e.slice(d,f)),u+=Number(r[c]),d=f+2,f++;break;case 105:if(c>=l||null==r[c])break;d<f&&(u+=e.slice(d,f)),u+=Math.floor(Number(r[c])),d=f+2,f++;break;case 79:case 111:case 106:if(c>=l||void 0===r[c])break;d<f&&(u+=e.slice(d,f));var p=typeof r[c];if("string"===p){u+="'"+r[c]+"'",d=f+2,f++;break}if("function"===p){u+=r[c].name||"<anonymous>",d=f+2,f++;break}u+=i(r[c]),d=f+2,f++;break;case 115:if(c>=l)break;d<f&&(u+=e.slice(d,f)),u+=String(r[c]),d=f+2,f++;break;case 37:d<f&&(u+=e.slice(d,f)),u+="%",d=f+2,f++,c--}++c}++f}return -1===d?e:(d<h&&(u+=e.slice(d)),u)}},11485:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(59316),i=r(77637),s=r(11865),a=r(17918);t.default={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>(0,i.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,i._)`{i: ${e}, j: ${t}}`},code(e){let{gen:t,data:r,$data:o,schema:l,parentSchema:u,schemaCode:c,it:d}=e;if(!o&&!l)return;let h=t.let("valid"),f=u.items?(0,n.getSchemaTypes)(u.items):[];e.block$data(h,function(){let o=t.let("i",(0,i._)`${r}.length`),l=t.let("j");e.setParams({i:o,j:l}),t.assign(h,!0),t.if((0,i._)`${o} > 1`,()=>(f.length>0&&!f.some(e=>"object"===e||"array"===e)?function(s,a){let o=t.name("item"),l=(0,n.checkDataTypes)(f,o,d.opts.strictNumbers,n.DataType.Wrong),u=t.const("indices",(0,i._)`{}`);t.for((0,i._)`;${s}--;`,()=>{t.let(o,(0,i._)`${r}[${s}]`),t.if(l,(0,i._)`continue`),f.length>1&&t.if((0,i._)`typeof ${o} == "string"`,(0,i._)`${o} += "_"`),t.if((0,i._)`typeof ${u}[${o}] == "number"`,()=>{t.assign(a,(0,i._)`${u}[${o}]`),e.error(),t.assign(h,!1).break()}).code((0,i._)`${u}[${o}] = ${s}`)})}:function(n,o){let l=(0,s.useFunc)(t,a.default),u=t.name("outer");t.label(u).for((0,i._)`;${n}--;`,()=>t.for((0,i._)`${o} = ${n}; ${o}--;`,()=>t.if((0,i._)`${l}(${r}[${n}], ${r}[${o}])`,()=>{e.error(),t.assign(h,!1).break(u)})))})(o,l))},(0,i._)`${c} === false`),e.ok(h)}}},11865:(e,t,r)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;let s=r(77637),a=r(27302);function o(e,t=e.schema){let{opts:r,self:n}=e;if(!r.strictSchema||"boolean"==typeof t)return;let i=n.RULES.keywords;for(let r in t)i[r]||m(e,`unknown keyword: "${r}"`)}function l(e,t){if("boolean"==typeof e)return!e;for(let r in e)if(t[r])return!0;return!1}function u(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function d({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(i,a,o,l)=>{let u=void 0===o?a:o instanceof s.Name?(a instanceof s.Name?e(i,a,o):t(i,a,o),o):a instanceof s.Name?(t(i,o,a),a):r(a,o);return l!==s.Name||u instanceof s.Name?u:n(i,u)}}function h(e,t){if(!0===t)return e.var("props",!0);let r=e.var("props",(0,s._)`{}`);return void 0!==t&&f(e,r,t),r}function f(e,t,r){Object.keys(r).forEach(r=>e.assign((0,s._)`${t}${(0,s.getProperty)(r)}`,!0))}t.toHash=function(e){let t={};for(let r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(o(e,t),!l(t,e.self.RULES.all))},t.checkUnknownRules=o,t.schemaHasRules=l,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(let r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,n,i){if(!i){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return(0,s._)`${r}`}return(0,s._)`${e}${t}${(0,s.getProperty)(n)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(u(e))},t.escapeJsonPointer=u,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(let r of e)t(r);else t(e)},t.mergeEvaluated={props:d({mergeNames:(e,t,r)=>e.if((0,s._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,s._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,s._)`${r} || {}`).code((0,s._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,s._)`${r} !== true`,()=>{!0===t?e.assign(r,!0):(e.assign(r,(0,s._)`${r} || {}`),f(e,r,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:h}),items:d({mergeNames:(e,t,r)=>e.if((0,s._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,s._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,s._)`${r} !== true`,()=>e.assign(r,!0===t||(0,s._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>
1e.var("items",t)})},t.evaluatedPropsToName=h,t.setEvaluated=f;let p={};function m(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:p[t.code]||(p[t.code]=new a._Code(t.code))})},(i=n||(t.Type=n={}))[i.Num=0]="Num",i[i.Str=1]="Str",t.getErrorPath=function(e,t,r){if(e instanceof s.Name){let i=t===n.Num;return r?i?(0,s._)`"[" + ${e} + "]"`:(0,s._)`"['" + ${e} + "']"`:i?(0,s._)`"/" + ${e}`:(0,s._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,s.getProperty)(e).toString():"/"+u(e)},t.checkStrictMode=m},14825:(e,t,r)=>{"use strict";r.d(t,{Te:()=>o});var n=r(12115),i=r(47650),s=r(52500);let a="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function o(e){return function({useFlushSync:e=!0,...t}){let r=n.useReducer(()=>({}),{})[1],o={...t,onChange:(n,s)=>{var a;e&&s?(0,i.flushSync)(r):r(),null==(a=t.onChange)||a.call(t,n,s)}},[l]=n.useState(()=>new s.YV(o));return l.setOptions(o),a(()=>l._didMount(),[]),a(()=>l._willUpdate()),l}({observeElementRect:s.T6,observeElementOffset:s.AO,scrollToFn:s.Ox,...e})}},14862:(e,t,r)=>{"use strict";let n,i;r.d(t,{BU:()=>_,IA:()=>y,P$:()=>b,YG:()=>v,f1:()=>w,hY:()=>$,ko:()=>g}),r(12115);var s=Object.create,a=Object.defineProperty,o=Object.defineProperties,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&m(e,r,t[r]);if(d)for(var r of d(t))p.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>o(e,u(t)),v=(e,t)=>{var r={};for(var n in e)f.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))0>t.indexOf(n)&&p.call(e,n)&&(r[n]=e[n]);return r},b=(e,t)=>function(){return t||(0,e[c(e)[0]])((t={exports:{}}).exports,t),t.exports},w=(e,t,r)=>(r=null!=e?s(h(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of c(t))f.call(e,i)||i===r||a(e,i,{get:()=>t[i],enumerable:!(n=l(t,i))||n.enumerable});return e})(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),_=(e,t,r)=>new Promise((n,i)=>{var s=e=>{try{o(r.next(e))}catch(e){i(e)}},a=e=>{try{o(r.throw(e))}catch(e){i(e)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,a);o((r=r.apply(e,t)).next())}),$=(n={"../tsup-config/react-import.js"(){}},function(){return n&&(i=(0,n[c(n)[0]])(n=0)),i})},16236:(e,t,r)=>{"use strict";r.d(t,{d:()=>a});var n=r(14862),i=(0,n.P$)({"../../node_modules/classnames/index.js"(e,t){(0,n.hY)();var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}(n)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}void 0!==t&&t.exports?(i.default=i,t.exports=i):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return i}):window.classNames=i}});(0,n.hY)();var s=(0,n.f1)(i()),a=(e,t,r={baseClass:""})=>(i={})=>
1{if("string"==typeof i)return t[`${e}-${i}`]&&r.baseClass+t[`${e}-${i}`]||"";if("object"!=typeof i)return r.baseClass+t[e]||"";{let a={};for(let r in i)a[t[`${e}--${r}`]]=i[r];let o=t[e];return r.baseClass+(0,s.default)((0,n.IA)({[o]:!!o},a))}}},16683:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;let n=r(11865),i=r(42823),s=r(57681),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!function e(t){for(let r in t){if(o.has(r))return!0;let n=t[r];if(Array.isArray(n)&&n.some(e)||"object"==typeof n&&e(n))return!0}return!1}(e):!!t&&function e(t){let r=0;for(let i in t)if("$ref"===i||(r++,!a.has(i)&&("object"==typeof t[i]&&(0,n.eachItem)(t[i],t=>r+=e(t)),r===1/0)))return 1/0;return r}(e)<=t)};let o=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e,t="",r){!1!==r&&(t=d(t));let n=e.parse(t);return u(e,n)}function u(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=u;let c=/#\/?$/;function d(e){return e?e.replace(c,""):""}t.normalizeId=d,t.resolveUrl=function(e,t,r){return r=d(r),e.resolve(t,r)};let h=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};let{schemaId:r,uriResolver:n}=this.opts,a=d(e[r]||t),o={"":a},u=l(n,a,!1),c={},f=new Set;return s(e,{allKeys:!0},(e,t,n,i)=>{if(void 0===i)return;let s=u+t,a=o[i];function l(t){let r=this.opts.uriResolver.resolve;if(t=d(a?r(a,t):t),f.has(t))throw m(t);f.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?p(e,n.schema,t):t!==d(s)&&("#"===t[0]?(p(e,c[t],t),c[t]=e):this.refs[t]=s),t}function y(e){if("string"==typeof e){if(!h.test(e))throw Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}"string"==typeof e[r]&&(a=l.call(this,e[r])),y.call(this,e.$anchor),y.call(this,e.$dynamicAnchor),o[t]=a}),c;function p(e,t,r){if(void 0!==t&&!i(e,t))throw m(r)}function m(e){return Error(`reference "${e}" resolves to more than one schema`)}}},16848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicRef=void 0;let n=r(77637),i=r(30199),s=r(9709);function a(e,t){let{gen:r,keyword:a,it:o}=e;if("#"!==t[0])throw Error(`"${a}" only supports hash fragment reference`);let l=t.slice(1);if(o.allErrors)u();else{let t=r.let("valid",!1);u(t),e.ok(t)}function u(e){if(o.schemaEnv.root.dynamicAnchors[l]){let t=r.let("_v",(0,n._)`${i.default.dynamicAnchors}${(0,n.getProperty)(l)}`);r.if(t,c(t,e),c(o.validateName,e))}else c(o.validateName,e)()}function c(t,n){return n?()=>r.block(()=>{(0,s.callRef)(e,t),r.let(n,!0)}):()=>(0,s.callRef)(e,t)}}t.dynamicRef=a,t.default={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)}},17102:(e,t,r)=>{"use strict";r.d(t,{EW:()=>E,O8:()=>o,QZ:()=>P,vA:()=>s,vP:()=>v});var n=Symbol.for("preact-signals");function i(){if(c>1)c--;else{var e,t=!1,r=p;for(p=void 0;void 0!==r;)r.S.v===r.v&&(r.S.i=r.i),r=r.o;for(;void 0!==u;){var n=u;for(u=void 0,d++;void 0!==n;){var i=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&b(n))try{n.c()}catch(r){t||(e=r,t=!0)}n=i}}if(d=0,c--,t)throw e}}function s(e){if(c>0)return e();f=++h,c++;try{return e()}finally{i()}}var a=void 0;function o(e){var t=a;a=void 0;try{return e()}finally{a=t}}var l,u=void 0,c=0,d=0,h=0,f=0,p=void 0,m=0;function y(e){if(void 0!==a){var t=e.n;if(void 0===t||t.t!==a)return t={i:0,S:e,p:a.s,n:void 0,t:a,e:void 0,x:void 0,r:t},void 0!==a.s&&(a.s.n=t),a.s=t,e.n=t,32&a.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=a.s,t.n=void 0,a.s.n=t,a.s=t),t}}function g(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function v(e,t){return new g(e,t)}function b(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function w(e){for(var t=e.s;void 0!==t;t=t.n){var r=t.S.n;if(void 0!==r&&(t.r=r),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function _(e){for(var t=e.s,r=void 0;void 0!==t;){var n=t.p;-1===t.i?(t.S.U(t),void 0!==n&&(n.n=t.n),void 0!==t.n&&(t.n.p=n)):r=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=n}e.s=r}function $(e,t){g.call(this,void 0),this.x=e,this.s=void 0,this.g=m-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function E(e,t){return new $(e,t)}function k(e){var t=e.m;if(e.m=void 0,"function"==typeof t){c++;var r=a;a=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,S(e),t}finally{a=r,i()}}}function S(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,k(e)}function O(e){if(a!==this)throw Error("Out-of-order effect");_(this),a=e,this.f&=-2,8&this.f&&S(this),i()}function j(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,l&&l.push(this)}function P(e,t){var r=new j(e,t);try{r.c()}catch(e){throw r.d(),e}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}g.prototype.brand=n,g.prototype.h=function(){return!0},g.prototype.S=function(e){var t=this,r=this.t;r!==e&&void 0===e.e&&(e.x=r,this.t=e,void 0!==r?r.e=e:o(function(){var e;null==(e=t.W)||e.call(t)}))},g.prototype.U=function(e){var t=this;if(void 0!==this.t){var r=e.e,n=e.x;void 0!==r&&(r.x=n,e.e=void 0),void 0!==n&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&o(function(){var e;null==(e=t.Z)||e.call(t)}))}},g.prototype.subscribe=function(e){var t=this;return P(function(){var r=t.value,n=a;a=void 0;try{e(r)}finally{a=n}},{name:"sub"})},g.prototype.valueOf=function(){return this.value},g.prototype.toString=function(){return this.value+""},g.prototype.toJSON=function(){return this.value},g.prototype.peek=function(){var e=a;a=void 0;try{return this.value}finally{a=e}},Object.defineProperty(g.prototype,"value",{get:function(){var e=y(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(d>100)throw Error("Cycle detected");0!==c&&0===d&&this.l!==f&&(this.l=f,p={S:this,v:this.v,i:this.i,o:p}),this.v=e,this.i++,m++,c++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{i()}}}}),$.prototype=new g,$.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f)||(this.f&=-5,this.g===m))return!0;
1if(this.g=m,this.f|=1,this.i>0&&!b(this))return this.f&=-2,!0;var e=a;try{w(this),a=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return a=e,_(this),this.f&=-2,!0},$.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}g.prototype.S.call(this,e)},$.prototype.U=function(e){if(void 0!==this.t&&(g.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},$.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty($.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=y(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),j.prototype.c=function(){var e=this.S();try{if(8&this.f||void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},j.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,k(this),w(this),c++;var e=a;return a=this,O.bind(this,e)},j.prototype.N=function(){2&this.f||(this.f|=2,this.u=u,u=this)},j.prototype.d=function(){this.f|=8,1&this.f||S(this)},j.prototype.dispose=function(){this.d()}},17289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637);t.default={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>(0,n.str)`must NOT have ${"maxItems"===e?"more":"fewer"} than ${t} items`,params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`},code(e){let{keyword:t,data:r,schemaCode:i}=e,s="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`${r}.length ${s} ${i}`)}}},17565:(e,t,r)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;let s=r(27302);class a extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}(i=n||(t.UsedValueState=n={}))[i.Started=0]="Started",i[i.Completed=1]="Completed",t.varKinds={const:new s.Name("const"),let:new s.Name("let"),var:new s.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof s.Name?e:this.name(e)}name(e){return new s.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,r;if((null==(r=null==(t=this._parent)?void 0:t._prefixes)?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=o;class l extends s.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=(0,s._)`.${new s.Name(t)}[${r}]`}}t.ValueScopeName=l;let u=(0,s._)`\n`;class c extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:s.nil}}get(){return this._scope}name(e){return new l(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw Error("CodeGen: ref must be passed in value");let n=this.toName(e),{prefix:i}=n,s=null!=(r=t.key)?r:t.ref,a=this._values[i];if(a){let e=a.get(s);if(e)return e}else a=this._values[i]=new Map;a.set(s,n);let o=this._scope[i]||(this._scope[i]=[]),l=o.length;return o[l]=t.ref,n.setValue(t,{property:i,itemIndex:l}),n}getValue(e,t){let r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw Error(`CodeGen: name "${t}" has no value`);return(0,s._)`${e}${t.scopePath}`})}scopeCode(e=this._values,t,r){return this._reduceValues(e,e=>{if(void 0===e.value)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,r)}_reduceValues(e,r,i={},o){let l=s.nil;for(let u in e){let c=e[u];if(!c)continue;let d=i[u]=i[u]||new Map;c.forEach(e=>{if(d.has(e))return;d.set(e,n.Started);let i=r(e);if(i){let r=this.opts.es5?t.varKinds.var:t.varKinds.const;l=(0,s._)`${l}${r} ${e} = ${i};${this.opts._n}`}else if(i=null==o?void 0:o(e))l=(0,s._)`${l}${i}${this.opts._n}`;else throw new a(e);d.set(e,n.Completed)})}return l}}t.ValueScope=c},17918:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(42823);n.code='require("ajv/dist/runtime/equal").default',t.default=n},18083:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(94864),i=r(7293),s=r(11865),a=r(49734);t.default={keyword:"properties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,parentSchema:o,data:l,it:u}=e;"all"===u.opts.removeAdditional&&void 0===o.additionalProperties&&a.default.code(new n.KeywordCxt(u,a.default,"additionalProperties"));let c=(0,i.allSchemaProperties)(r);for(let e of c)u.definedProperties.add(e);u.opts.unevaluated&&c.length&&!0!==u.props&&(u.props=s.mergeEvaluated.props(t,(0,s.toHash)(c),u.props));let d=c.filter(e=>!(0,s.alwaysValidSchema)(u,r[e]));if(0===d.length)return;let h=t.name("valid");for(let n of d){var f;(f=n,u.opts.useDefaults&&!u.compositeRule&&void 0!==r[f].default)?p(n):(t.if((0,i.propertyInData)(t,l,n,u.opts.ownProperties)),p(n),u.allErrors||t.else().var(h,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(h)}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},h)}}}},18295:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var n=r(52340),i=r(14862),s=r(12115);(0,i.hY)();var a={left:{label:"Left",icon:n.TU},center:{label:"Center",icon:n.xd},right:{label:"Right",icon:n.GY},justify:{label:"Justify",icon:n.mT}},o=e=>{var t;let r=[];return(null==e?void 0:e.textAlign)!==!1&&((null==(t=null==e?void 0:e.textAlign)?void 0:t.alignments)?((null==e?void 0:e.textAlign.alignments.includes("left"))&&r.push("left"),(null==e?void 0:e.textAlign.alignments.includes("center"))&&r.push("center"),(null==e?void 0:e.textAlign.alignments.includes("right"))&&r.push("right"),(null==e?void 0:e.textAlign.alignments.includes("justify"))&&r.push("justify")):r=["left","center","right","justify"]),(0,s.useMemo)(()=>r.map(e=>({value:e,label:a[e].label,icon:a[e].icon})),[r])}},20160:(e,t,r)=>{"use strict";r.d(t,{BQ:()=>u,Ht:()=>d,P7:()=>v,Sj:()=>f,hB:()=>c,tw:()=>m,vO:()=>y});var n=r(73737);r(56705);var i=r(16236),s=r(88687),a=r(14862),o=r(12115),l=r(95155);(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)();var u=(e,t=e)=>({slot:({value:r,propName:n,field:i,isReadOnly:s})=>{let o=s?t:e;return e=>o((0,a.ko)((0,a.IA)({allow:(null==i?void 0:i.type)==="slot"?i.allow:[],disallow:(null==i?void 0:i.type)==="slot"?i.disallow:[]},e),{zone:n,content:r}))}});function c(e,t,r){return Object.keys(e).reduce((n,i)=>(0,a.ko)((0,a.IA)({},n),{[i]:n=>{var{parentId:s}=n,o=(0,a.YG)(n,["parentId"]);let l=o.propPath.replace(/\[\d+\]/g,"[*]"),u=(null==t?void 0:t[o.propPath])||(null==t?void 0:t[l])||r||!1,c=e[i];return null==c?void 0:c((0,a.ko)((0,a.IA)({},o),{isReadOnly:u,componentId:s}))}}),{})}function d(e,t,r,n=r,i,l){var h;let f,p;return h=u(r,n),f=(0,o.useMemo)(()=>c(h,i,l),[h,i,l]),p=(0,o.useMemo)(()=>(0,s.YP)(t,f,e).props,[e,t,f]),(0,o.useMemo)(()=>(0,a.IA)((0,a.IA)({},t.props),p),[t.props,p])}(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)(),(0,a.hY)();var h=(0,i.d)("RichTextEditor",n.o);function f({content:e}){return(0,l.jsx)("div",{className:h(),children:(0,l.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:e}})})}(0,a.hY)();var p=(e,t,r)=>{if(!e)return null;if(0===t.length)return r(e);let[n,...i]=t;return Array.isArray(e)?e.map(e=>p(e,t,r)):(0,a.ko)((0,a.IA)({},e),{[n]:p(e[n],i,r)})};function m(e,t){let n=(e,t=[])=>{if(!e)return[];let r=[];for(let[i,s]of Object.entries(e)){let e=[...t,i];"richtext"===s.type&&r.push({path:e,field:s}),"array"===s.type&&"arrayFields"in s&&r.push(...n(s.arrayFields,e)),"object"===s.type&&"objectFields"in s&&r.push(...n(s.objectFields,e))}return r},i=(0,o.useMemo)(()=>n(e),[e]);return(0,o.useMemo)(()=>{if(!(null==i?void 0:i.length))return{};let e=(0,o.lazy)(()=>Promise.all([r.e(67598),r.e(11194),r.e(26951),r.e(80264),r.e(2847)]).then(r.bind(r,2847)).then(e=>({default:e.RichTextRender}))),n=(0,a.IA)({},t);for(let{path:t,field:r}of i)n=p(n,t,t=>(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(f,{content:t}),children:(0,l.jsx)(e,{content:t,field:r})},(0,s.$C)()));return n},[i,t,e])}(0,a.hY)();var y=e=>(0,l.jsx)(v,(0,a.IA)({},e)),g=({config:e,item:t,metadata:r})=>{let n=e.components[t.type],i=d(e,t,t=>(0,l.jsx)(y,(0,a.ko)((0,a.IA)({},t),{config:e,metadata:r}))),s=m(n.fields,i);return(0,l.jsx)(n.render,(0,a.ko)((0,a.IA)((0,a.IA)({},i),s),{puck:(0,a.ko)((0,a.IA)({},i.puck),{metadata:r||{}})}))},v=(0,o.forwardRef)(function({className:e,style:t,content:r,config:n,metadata:i,as:s},a){return(0,l.jsx)(null!=s?s:"div",{className:e,style:t,ref:a,children:r.map(e=>n.components[e.type]?(0,l.jsx)(g,{config:n,item:e,metadata:i},e.props.id):null)})})},20601:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(7293),i=r(77637),s=r(11865),a=r(11865);t.default={keyword:"patternProperties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,data:o,parentSchema:l,it:u}=e,{opts:c}=u,d=(0,n.allSchemaProperties)(r),h=d.filter(e=>(0,s.alwaysValidSchema)(u,r[e]));if(0===d.length||h.length===d.length&&(!u.opts.unevaluated||!0===u.props))return;let f=c.strictSchema&&!c.allowMatchingProperties&&l.properties,p=t.name("valid");!0===u.props||u.props instanceof i.Name||(u.props=(0,a.evaluatedPropsToName)(t,u.props));let{props:m}=u;for(let e of d)f&&function(e){for(let t in f)new RegExp(e).test(t)&&(0,s.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}(e),u.allErrors?y(e):(t.var(p,!0),y(e),t.if(p));function y(r){t.forIn("key",o,s=>{t.if((0,i._)`${(0,n.usePattern)(e,r)}.test(${s})`,()=>{let n=h.includes(r);n||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:a.Type.Str},p),u.opts.unevaluated&&!0!==m?t.assign((0,i._)`${m}[${s}]`,!0):n||u.allErrors||t.if((0,i.not)(p),()=>t.break())})})}}}},20737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;let n=r(77637),i=r(11865);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:s,schemaPath:a,errSchemaPath:o,topSchemaRef:l}){if(void 0!==t&&void 0!==s)throw Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){let s=e.schema[t];return void 0===r?{schema:s,schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,n._)`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,i.escapeFragment)(r)}`}}if(void 0!==s){if(void 0===a||void 0===o||void 0===l)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:a,topSchemaRef:l,errSchemaPath:o}}throw Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:s,data:a,dataTypes:o,propertyName:l}){if(void 0!==a&&void 0!==r)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:u}=t;if(void 0!==r){let{errorPath:a,dataPathArr:o,opts:l}=t;c(u.let("data",(0,n._)`${t.data}${(0,n.getProperty)(r)}`,!0)),e.errorPath=(0,n.str)`${a}${(0,i.getErrorPath)(r,s,l.jsPropertySyntax)}`,e.parentDataProperty=(0,n._)`${r}`,e.dataPathArr=[...o,e.parentDataProperty]}function c(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}void 0!==a&&(c(a instanceof n.Name?a:u.let("data",a,!0)),void 0!==l&&(e.propertyName=l)),o&&(e.dataTypes=o)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:s}){void 0!==n&&(e.compositeRule=n),void 0!==i&&(e.createErrors=i),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r}},20760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[r(25907).default]},22757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637);t.default={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>(0,n.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,n._)`{multipleOf: ${e}}`},code(e){let{gen:t,data:r,schemaCode:i,it:s}=e,a=s.opts.multipleOfPrecision,o=t.let("res"),l=a?(0,n._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${a}`:(0,n._)`${o} !== parseInt(${o})`;e.fail$data((0,n._)`(${i} === 0 || (${o} = ${r}/${i}, ${l}))`)}}},23714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(11865);t.default={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:r}){void 0===t.contains&&(0,n.checkStrictMode)(r,`"${e}" without "contains" is ignored`)}}},23910:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865),s=r(30199);t.default={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>(0,n._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){let{gen:t,schema:r,data:a,errsCount:o,it:l}=e;if(!o)throw Error("ajv implementation error");let{allErrors:u,props:c}=l;function d(s){if(!1===r){e.setParams({unevaluatedProperty:s}),e.error(),u||t.break();return}
1if(!(0,i.alwaysValidSchema)(l,r)){let r=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:s,dataPropType:i.Type.Str},r),u||t.if((0,n.not)(r),()=>t.break())}}c instanceof n.Name?t.if((0,n._)`${c} !== true`,()=>t.forIn("key",a,e=>{var r,i;return t.if((r=c,i=e,(0,n._)`!${r} || !${r}[${i}]`),()=>d(e))})):!0!==c&&t.forIn("key",a,e=>void 0===c?d(e):t.if(function(e,t){let r=[];for(let i in e)!0===e[i]&&r.push((0,n._)`${t} !== ${i}`);return(0,n.and)(...r)}(c,e),()=>d(e))),l.props=!0,e.ok((0,n._)`${o} === ${s.default.errors}`)}}},24498:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},25141:(e,t)=>{"use strict";function r(e,t){return t.rules.some(t=>n(e,t))}function n(e,t){var r;return void 0!==e[t.keyword]||(null==(r=t.definition.implements)?void 0:r.some(t=>void 0!==e[t]))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){let i=t.RULES.types[n];return i&&!0!==i&&r(e,i)},t.shouldUseGroup=r,t.shouldUseRule=n},25219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(49067);t.default={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,n.validateSchemaDeps)(e)}},25907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637);t.default={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>(0,n.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,n._)`{format: ${e}}`},code(e,t){let r,i,s,a,o,l,{gen:u,data:c,$data:d,schema:h,schemaCode:f,it:p}=e,{opts:m,errSchemaPath:y,schemaEnv:g,self:v}=p;m.validateFormats&&(d?(r=u.scopeValue("formats",{ref:v.formats,code:m.code.formats}),i=u.const("fDef",(0,n._)`${r}[${f}]`),s=u.let("fType"),a=u.let("format"),u.if((0,n._)`typeof ${i} == "object" && !(${i} instanceof RegExp)`,()=>u.assign(s,(0,n._)`${i}.type || "string"`).assign(a,(0,n._)`${i}.validate`),()=>u.assign(s,(0,n._)`"string"`).assign(a,i)),e.fail$data((0,n.or)(!1===m.strictSchema?n.nil:(0,n._)`${f} && !${a}`,(o=g.$async?(0,n._)`(${i}.async ? await ${a}(${c}) : ${a}(${c}))`:(0,n._)`${a}(${c})`,l=(0,n._)`(typeof ${a} == "function" ? ${o} : ${a}.test(${c}))`,(0,n._)`${a} && ${a} !== true && ${s} === ${t} && !${l}`)))):function(){var r;let i,s,a=v.formats[h];if(!a){if(!1===m.strictSchema)return v.logger.warn(o());throw Error(o());function o(){return`unknown format "${h}" ignored in schema at path "${y}"`}}if(!0===a)return;let[l,d,f]=(i=(r=a)instanceof RegExp?(0,n.regexpCode)(r):m.code.formats?(0,n._)`${m.code.formats}${(0,n.getProperty)(h)}`:void 0,s=u.scopeValue("formats",{key:h,ref:r,code:i}),"object"!=typeof r||r instanceof RegExp?["string",r,s]:[r.type||"string",r.validate,(0,n._)`${s}.validate`]);l===t&&e.pass(function(){if("object"==typeof a&&!(a instanceof RegExp)&&a.async){if(!g.$async)throw Error("async format in sync schema");return(0,n._)`await ${f}(${c})`}return"function"==typeof d?(0,n._)`${f}(${c})`:(0,n._)`${f}.test(${c})`}())}())}}},27146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(49067);t.default={keyword:"dependentRequired",type:"object",schemaType:"object",error:n.error,code:e=>(0,n.validatePropertyDeps)(e)}},27302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class i extends r{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return""===e||'""'===e}get str(){var e;return null!=(e=this._str)?e:this._str=this._items.reduce((e,t)=>
1`${e}${t}`,"")}get names(){var e;return null!=(e=this._names)?e:this._names=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function s(e,...t){let r=[e[0]],n=0;for(;n<t.length;)l(r,t[n]),r.push(e[++n]);return new i(r)}t._Code=i,t.nil=new i(""),t._=s;let a=new i("+");function o(e,...t){let r=[u(e[0])],s=0;for(;s<t.length;)r.push(a),l(r,t[s]),r.push(a,u(e[++s]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){var r,i;let s=(r=e[t-1],'""'===(i=e[t+1])?r:'""'===r?i:"string"==typeof r?i instanceof n||'"'!==r[r.length-1]?void 0:"string"!=typeof i?`${r.slice(0,-1)}${i}"`:'"'===i[0]?r.slice(0,-1)+i.slice(1):void 0:"string"!=typeof i||'"'!==i[0]||r instanceof n?void 0:`"${r}${i.slice(1)}`);if(void 0!==s){e.splice(t-1,3,s);continue}e[t++]="+"}t++}}(r),new i(r)}function l(e,t){var r;t instanceof i?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:u(Array.isArray(r)?r.join(","):r))}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=o,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:o`${e}${t}`},t.stringify=function(e){return new i(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new i(`.${e}`):s`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new i(`${e}`);throw Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new i(e.toString())}},27874:(e,t,r)=>{"use strict";r.d(t,{E7:()=>p,K0:()=>b,aH:()=>g,sc:()=>L});var n=r(18295),i=r(35235),s=r(84668),a=r(52340),o=r(16236),l=r(14862),u=r(95155),c=r(12115);(0,l.hY)(),(0,l.hY)();var d={ActionBar:"_ActionBar_1nmyk_1","ActionBar-label":"_ActionBar-label_1nmyk_18",ActionBarAction:"_ActionBarAction_1nmyk_30","ActionBar-group":"_ActionBar-group_1nmyk_38","ActionBarAction--disabled":"_ActionBarAction--disabled_1nmyk_71","ActionBarAction--active":"_ActionBarAction--active_1nmyk_93","ActionBar-separator":"_ActionBar-separator_1nmyk_102"},h=(0,o.d)("ActionBar",d),f=(0,o.d)("ActionBarAction",d),p=({label:e,children:t})=>(0,u.jsxs)("div",{className:h(),onClick:e=>{e.stopPropagation()},children:[e&&(0,u.jsx)(p.Group,{children:(0,u.jsx)("div",{className:h("label"),children:e})}),t]}),m=({children:e,label:t,onClick:r,active:n=!1,disabled:i})=>(0,u.jsx)("button",{type:"button",className:f({active:n,disabled:i}),onClick:r,title:t,tabIndex:0,disabled:i,children:e});p.Action=m,p.Label=({label:e})=>(0,u.jsx)("div",{className:h("label"),children:e}),p.Group=({children:e})=>(0,u.jsx)("div",{className:h("group"),children:e}),p.Separator=()=>(0,u.jsx)("div",{className:h("separator")}),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var y=(0,o.d)("Loader",{Loader:"_Loader_nacdm_13","loader-animation":"_loader-animation_nacdm_1"}),g=e=>{var{color:t,size:r=16}=e,n=(0,l.YG)(e,["color","size"]);return(0,u.jsx)("span",(0,l.IA)({className:y(),style:{width:r,height:r,color:t},"aria-label":"loading"},n))},v=(0,o.d)("IconButton",{IconButton:"_IconButton_ffob9_1","IconButton--active":"_IconButton--active_ffob9_14","IconButton--disabled":"_IconButton--disabled_ffob9_24","IconButton-title":"_IconButton-title_ffob9_37"}),b=({active:e=!1,children:t,href:r,onClick:n,type:i,disabled:s,tabIndex:a,newTab:o,fullWidth:l,title:d,suppressHydrationWarning:h})=>{let[f,p]=(0,c.useState)(!1);return(0,u.jsxs)(r?"a":"button",{className:v({active:e,disabled:s,fullWidth:l}),onClick:e=>{n&&(p(!0),Promise.resolve(n(e)).then(()=>{p(!1)}))},type:i,disabled:s||f,tabIndex:a,target:o?"_blank":void 0,rel:o?"noreferrer":void 0,href:r,title:d,suppressHydrationWarning:h,children:[(0,u.jsx)("span",{className:v("title"),children:d}),t,f&&(0,u.jsxs)(u.Fragment,{children:["\xa0\xa0",(0,u.jsx)(g,{size:14})]})]})};(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var w=(0,o.d)("Control",{Control:"_Control_1aveu_1","Control--inline":"_Control--inline_1aveu_6"});function _({icon:e,disabled:t,active:r,onClick:n,title:i}){let{inline:s}=(0,a.ym)();return s?(0,u.jsx)("span",{className:w({inline:!0}),children:(0,u.jsx)(m,{onClick:n,disabled:t,active:r,label:i,children:e})}):(0,u.jsx)("span",{className:w(),children:(0,u.jsx)(b,{onClick:n,disabled:t,active:r,title:i,children:e})})}function $(){let e=(0,a.ym)(),t=(0,n.p)(e.options);return(0,u.jsx)(a.Yq,{options:t,onChange:()=>{},value:"left",defaultValue:"left",renderDefaultIcon:a.TU})}(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var E=(0,c.lazy)(()=>Promise.all([r.e(67598),r.e(11194),r.e(26951),r.e(31293),r.e(79142)]).then(r.bind(r,79142)).then(e=>({default:e.AlignSelectLoaded}))),k=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)($,{}),children:(0,u.jsx)(E,{})});function S(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.yN,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBold().run()},disabled:!(null==t?void 0:t.canBold),active:null==t?void 0:t.isBold,title:"Bold"})}function O(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.J2,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleItalic().run()},disabled:!(null==t?void 0:t.canItalic),active:null==t?void 0:t.isItalic,title:"Italic"})}function j(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.z2,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleUnderline().run()},disabled:!(null==t?void 0:t.canUnderline),active:null==t?void 0:t.isUnderline,title:"Underline"})}function P(){let e=(0,a.ym)(),t=(0,i.O)(e.options);return(0,u.jsx)(a.Yq,{options:t,onChange:()=>{},value:"p",defaultValue:"p",renderDefaultIcon:a.DZ})}(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)(),(0,l.hY)();var A=(0,c.lazy)(()=>Promise.all([r.e(67598),r.e(11194),r.e(26951),r.e(31293),r.e(57990)]).then(r.bind(r,57990)).then(e=>({default:e.HeadingSelectLoaded}))),I=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)(P,{}),children:(0,u.jsx)(A,{})});function C(){let e=(0,a.ym)(),t=(0,s.k)(e.options);return(0,u.jsx)(a.Yq,{options:t,onChange:()=>{},value:"p",defaultValue:"p",renderDefaultIcon:a.B8})}(0,l.hY)(),(0,l.hY)();var M=(0,c.lazy)(()=>Promise.all([r.e(67598),r.e(11194),r.e(26951),r.e(31293),r.e(76324)]).then(r.bind(r,76324)).then(e=>({default:e.ListSelectLoaded}))),N=()=>(0,u.jsx)(c.Suspense,{fallback:(0,u.jsx)(C,{}),children:(0,u.jsx)(M,{})}),R=(0,o.d)("RichTextMenu",{RichTextMenu:"_RichTextMenu_k97eh_1","RichTextMenu--form":"_RichTextMenu--form_k97eh_7","RichTextMenu-group":"_RichTextMenu-group_k97eh_17","RichTextMenu--inline":"_RichTextMenu--inline_k97eh_35"}),T=({children:e})=>(0,u.jsx)(D,{children:e}),D=({children:e})=>{let{inline:t}=(0,a.ym)();return(0,u.jsx)("div",{className:R({inline:t,form:!t}),"data-puck-rte-menu":!0,children:e})},z=({children:e})=>(0,u.jsx)("div",{className:R("group"),children:e});D.Group=z,D.Control=_,D.AlignCenter=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.xd,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("center").run()},disabled:!(null==t?void 0:t.canAlignCenter),active:null==t?void 0:t.isAlignCenter,title:"Align center"})},D.AlignJustify=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.mT,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("justify").run()},disabled:!(null==t?void 0:t.canAlignJustify),active:null==t?void 0:t.isAlignJustify,title:"Justify"})},D.AlignLeft=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.TU,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("left").run()},disabled:!(null==t?void 0:t.canAlignLeft),active:null==t?void 0:t.isAlignLeft,title:"Align left"})},D.AlignRight=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.GY,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setTextAlign("right").run()},disabled:!(null==t?void 0:t.canAlignRight),active:null==t?void 0:t.isAlignRight,title:"Align right"})},D.AlignSelect=k,D.Blockquote=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.Pk,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBlockquote().run()},disabled:!(null==t?void 0:t.canBlockquote),active:null==t?void 0:t.isBlockquote,title:"Blockquote"})},D.Bold=S,D.BulletList=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.B8,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleBulletList().run()},disabled:!(null==t?void 0:t.canBulletList),active:null==t?void 0:t.isBulletList,title:"Bullet list"})},D.CodeBlock=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.pJ,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleCodeBlock().run()},disabled:!(null==t?void 0:t.canCodeBlock),active:null==t?void 0:t.isCodeBlock,title:"Code block"})},D.HeadingSelect=I,D.HorizontalRule=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.Hs,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().setHorizontalRule().run()},disabled:!(null==t?void 0:t.canHorizontalRule),title:"Horizontal rule"})},D.InlineCode=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.Cy,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleCode().run()},disabled:!(null==t?void 0:t.canInlineCode),active:null==t?void 0:t.isInlineCode,title:"Inline code"})},D.Italic=O,D.ListSelect=N,D.OrderedList=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.cM,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleOrderedList().run()},disabled:!(null==t?void 0:t.canOrderedList),active:null==t?void 0:t.isOrderedList,title:"Ordered list"})},D.Strikethrough=function(){let{editor:e,editorState:t}=(0,a.ym)();return(0,u.jsx)(_,{icon:(0,u.jsx)(a.Gk,{}),onClick:t=>{t.stopPropagation(),null==e||e.chain().focus().toggleStrike().run()},disabled:!(null==t?void 0:t.canStrike),active:null==t?void 0:t.isStrike,title:"Str
1ikethrough"})},D.Underline=j;var L=({editor:e=null,editorState:t=null,field:r,readOnly:n,inline:i})=>{let{renderMenu:s,renderInlineMenu:o}=r,l=(0,c.useMemo)(()=>o||T,[o]),d=(0,c.useMemo)(()=>s||T,[s]);return(0,u.jsx)(a.Bq.Provider,{value:{editor:e,editorState:t,inline:i,options:r.options,readOnly:n},children:i?(0,u.jsx)(l,{editor:e,editorState:t,readOnly:n,children:(0,u.jsxs)(z,{children:[(0,u.jsx)(S,{}),(0,u.jsx)(O,{}),(0,u.jsx)(j,{})]})}):(0,u.jsxs)(d,{editor:e,editorState:t,readOnly:n,children:[(0,u.jsxs)(z,{children:[(0,u.jsx)(I,{}),(0,u.jsx)(N,{})]}),(0,u.jsxs)(z,{children:[(0,u.jsx)(S,{}),(0,u.jsx)(O,{}),(0,u.jsx)(j,{})]}),(0,u.jsx)(z,{children:(0,u.jsx)(k,{})})]})})}},28294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;let n=r(77637),i=r(11865),s=r(7293);function a(e,t,r=e.schema){let{gen:s,parentSchema:o,data:l,keyword:u,it:c}=e;(function(e){let{opts:n,errSchemaPath:s}=c,a=r.length,o=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(n.strictTuples&&!o){let e=`"${u}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,i.checkStrictMode)(c,e,n.strictTuples)}})(o),c.opts.unevaluated&&r.length&&!0!==c.items&&(c.items=i.mergeEvaluated.items(s,r.length,c.items));let d=s.name("valid"),h=s.const("len",(0,n._)`${l}.length`);r.forEach((t,r)=>{(0,i.alwaysValidSchema)(c,t)||(s.if((0,n._)`${h} > ${r}`,()=>e.subschema({keyword:u,schemaProp:r,dataProp:r},d)),e.ok(d))})}t.validateTuple=a,t.default={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){let{schema:t,it:r}=e;if(Array.isArray(t))return a(e,"additionalItems",t);r.items=!0,(0,i.alwaysValidSchema)(r,t)||e.ok((0,s.validateArray)(e))}}},28998:(e,t,r)=>{"use strict";r.d(t,{V6:()=>s,y$:()=>a});var n=r(77069),i=r(44087),s=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{let r=e.position.current;if(!r)return null;let{id:s}=t;return t.shape&&t.shape.containsPoint(r)?{id:s,value:1/i.bR.distance(t.shape.center,r),type:n.Bp.PointerIntersection,priority:n.zY.High}:null})(e))?t:(({dragOperation:e,droppable:t})=>{let{shape:r}=e;if(!t.shape||!(null==r?void 0:r.current))return null;let s=r.current.intersectionArea(t.shape);if(s){let{position:a}=e,o=i.bR.distance(t.shape.center,a.current),l=s/(r.current.area+t.shape.area-s);return{id:t.id,value:l/o,type:n.Bp.ShapeIntersection,priority:n.zY.Normal}}return null})(e)},a=e=>{let{dragOperation:t,droppable:r}=e,{shape:s,position:a}=t;if(!r.shape)return null;let o=s?i.M_.from(s.current.boundingRectangle).corners:void 0,l=i.M_.from(r.shape.boundingRectangle).corners.reduce((e,t,r)=>{var n;return e+i.bR.distance(i.bR.from(t),null!=(n=null==o?void 0:o[r])?n:a.current)},0);return{id:r.id,value:1/(l/4),type:n.Bp.Collision,priority:n.zY.Normal}}},29015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(75166),i=r(11865);t.default={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,n.dynamicAnchor)(e,""):(0,i.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}}},29097:(e,t,r)=>{"use strict";r.d(t,{E:()=>m});class n{add(e,t,r){if("string"!=typeof arguments[0])for(let e in arguments[0])this.add(e,arguments[0][e],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}class i{constructor(e){this.jsep=e,this.registered={}}register(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(e=>{if("object"!=typeof e||!e.name||!e.init)throw Error("Invalid JSEP plugin format");this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)})}}class s{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+s.version}static addUnaryOp(e){return s.max_unop_len=Math.max(e.length,s.max_unop_len),s.unary_ops[e]=1,s}static addBinaryOp(e,t,r){return s.max_binop_len=Math.max(e.length,s.max_binop_len),s.binary_ops[e]=t,r?s.right_associative.add(e):s.right_associative.delete(e),s}static addIdentifierChar(e){return s.additional_identifier_chars.add(e),s}static addLiteral(e,t){return s.literals[e]=t,s}static removeUnaryOp(e){return delete s.unary_ops[e],e.length===s.max_unop_len&&(s.max_unop_len=s.getMaxKeyLen(s.unary_ops)),s}static removeAllUnaryOps(){return s.unary_ops={},s.max_unop_len=0,s}static removeIdentifierChar(e){return s.additional_identifier_chars.delete(e),s}static removeBinaryOp(e){return delete s.binary_ops[e],e.length===s.max_binop_len&&(s.max_binop_len=s.getMaxKeyLen(s.binary_ops)),s.right_associative.delete(e),s}static removeAllBinaryOps(){return s.binary_ops={},s.max_binop_len=0,s}static removeLiteral(e){return delete s.literals[e],s}static removeAllLiterals(){return s.literals={},s}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(e){return new s(e).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map(e=>e.length))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(e){return s.binary_ops[e]||0}static isIdentifierStart(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128&&!s.binary_ops[String.fromCharCode(e)]||s.additional_identifier_chars.has(String.fromCharCode(e))}static isIdentifierPart(e){return s.isIdentifierStart(e)||s.isDecimalDigit(e)}throwError(e){let t=Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}runHook(e,t){if(s.hooks[e]){let r={context:this,node:t};return s.hooks.run(e,r),r.node}return t}searchHook(e){if(s.hooks[e]){let t={context:this};return s.hooks[e].find(function(e){return e.call(t.context,t),t.node}),t.node}}gobbleSpaces(){let e=this.code;for(;e===s.SPACE_CODE||e===s.TAB_CODE||e===s.LF_CODE||e===s.CR_CODE;)e=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");let e=this.gobbleExpressions(),t=1===e.length?e[0]:{type:s.COMPOUND,body:e};return this.runHook("after-all",t)}gobbleExpressions(e){let t=[],r,n;for(;this.index<this.expr.length;)if((r=this.code)===s.SEMCOL_CODE||r===s.COMMA_CODE)this.index++;else if(n=this.gobbleExpression())t.push(n);else if(this.index<this.expr.length){if(r===e)break;this.throwError('Unexpected "'+this.char+'"')}return t}gobbleExpression(){let e=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",e)}gobbleBinaryOp(){this.gobbleSpaces();let e=this.expr.substr(this.index,s.max_binop_len),t=e.length;for(;t>0;){if(s.binary_ops.hasOwnProperty(e)&&(!s.isIdentifierStart(this.code)||this.index+e.length<this.expr.length&&!s.isIdentifierPart(this.expr.charCodeAt(this.index+e.length))))return this.index+=t,e;e=e.substr(0,--t)}return!1}gobbleBinaryExpression(){let e,t,r,n,i,a,o,l,u;if(!(a=this.gobbleToken())||!(t=this.gobbleBinaryOp()))return a;for(i={value:t,prec:s.binaryPrecedence(t),right_a:s.right_associative.has(t)},(o=this.gobbleToken())||this.throwError("Expected expression after "+t),n=[a,i,o];t=this.gobbleBinaryOp();){if(0===(r=s.binaryPrecedence(t))){this.index-=t.length;break}i={value:t,prec:r,right_a:s.right_associative.has(t)},u=t;let l=e=>i.right_a&&e.right_a?r>e.prec:r<=e.prec;for(;n.length>2&&l(n[n.length-2]);)o=n.pop(),t=n.pop().value,a=n.pop(),e={type:s.BINARY_EXP,operator:t,left:a,right:o},n.push(e);(e=this.gobbleToken())||this.throwError("Expected expression after "+u),n.push(i,e)}for(l=n.length-1,e=n[l];l>1;)e={type:s.BINARY_EXP,operator:n[l-1].value,left:n[l-2],right:e},l-=2;return e}gobbleToken(){let e,t,r,n;if(this.gobbleSpaces(),n=this.searchHook("gobble-token"))return this.runHook("after-token",n);if(e=this.code,s.isDecimalDigit(e)||e===s.PERIOD_CODE)return this.gobbleNumericLiteral();if(e===s.SQUOTE_CODE||e===s.DQUOTE_CODE)n=this.gobbleStringLiteral();else if(e===s.OBRACK_CODE)n=this.gobbleArray();else{for(r=(t=this.expr.substr(this.index,s.max_unop_len)).length;r>0;){if(s.unary_ops.hasOwnProperty(t)&&(!s.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!s.isIdentifierPart(this.expr.charCodeAt(this.index+t.length)))){this.index+=r;let e=this.gobbleToken();return e||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:s.UNARY_EXP,operator:t,argument:e,prefix:!0})}t=t.substr(0,--r)}s.isIdentifierStart(e)?(n=this.gobbleIdentifier(),s.literals.hasOwnProperty(n.name)?n={type:s.LITERAL,value:s.literals[n.name],raw:n.name}:n.name===s.this_str&&(n={type:s.THIS_EXP})):e===s.OPAREN_CODE&&(n=this.gobbleGroup())}return n?(n=this.gobbleTokenProperty(n),this.runHook("after-token",n)):this.runHook("after-token",!1)}gobbleTokenProperty(e){this.gobbleSpaces();let t=this.code;for(;t===s.PERIOD_CODE||t===s.OBRACK_CODE||t===s.OPAREN_CODE||t===s.QUMARK_CODE;){let r;if(t===s.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==s.PERIOD_CODE)break;r=!0,this.index+=2,this.gobbleSpaces(),t=this.code}this.index++,t===s.OBRACK_CODE?((e={type:s.MEMBER_EXP,computed:!0,object:e,property:this.gobbleExpression()}).property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),(t=this.code)!==s.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):t===s.OPAREN_CODE?e={type:s.CALL_EXP,arguments:this.gobbleArguments(s.CPAREN_CODE),callee:e}:(t===s.PERIOD_CODE||r)&&(r&&this.index--,this.gobbleSpaces(),e={type:s.MEMBER_EXP,computed:!1,object:e,property:this.gobbleIdentifier()}),r&&(e.optional=!0),this.gobbleSpaces(),t=this.code}return e}gobbleNumericLiteral(){let e="",t,r;for(;s.isDecimalDigit(this.code);)e+=this.expr.charAt(this.index++);if(this.code===s.PERIOD_CODE)for(e+=this.expr.charAt(this.index++);s.isDecimalDigit(this.code);)e+=this.expr.charAt(this.index++);if("e"===(t=this.char)||"E"===t){for(e+=this.expr.charAt(this.index++),("+"===(t=this.char)||"-"===t)&&(e+=this.expr.charAt(this.index++));s.isDecimalDigit(this.code);)e+=this.expr.charAt(this.index++);s.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+e+this.char+")")}return r=this.code,s.isIdentifierStart(r)?this.throwError("Variable names cannot start with a number ("+e+this.char+")"):(r===s.PERIOD_CODE||1===e.length&&e.charCodeAt(0)===s.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:s.LITERAL,value:parseFloat(e),raw:e}}gobbleStringLiteral(){let e="",t=this.index,r=this.expr.charAt(this.index++),n=!1;for(;this.index<this.expr.length;){let t=this.expr.charAt(this.index++);if(t===r){n=!0;break}if("\\"===t)switch(t=this.expr.charAt(this.index++)){case"n":e+="\
1n";break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:e+=t}else e+=t}return n||this.throwError('Unclosed quote after "'+e+'"'),{type:s.LITERAL,value:e,raw:this.expr.substring(t,this.index)}}gobbleIdentifier(){let e=this.code,t=this.index;for(s.isIdentifierStart(e)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length;)if(e=this.code,s.isIdentifierPart(e))this.index++;else break;return{type:s.IDENTIFIER,name:this.expr.slice(t,this.index)}}gobbleArguments(e){let t=[],r=!1,n=0;for(;this.index<this.expr.length;){this.gobbleSpaces();let i=this.code;if(i===e){r=!0,this.index++,e===s.CPAREN_CODE&&n&&n>=t.length&&this.throwError("Unexpected token "+String.fromCharCode(e));break}if(i===s.COMMA_CODE){if(this.index++,++n!==t.length){if(e===s.CPAREN_CODE)this.throwError("Unexpected token ,");else if(e===s.CBRACK_CODE)for(let e=t.length;e<n;e++)t.push(null)}}else if(t.length!==n&&0!==n)this.throwError("Expected comma");else{let e=this.gobbleExpression();e&&e.type!==s.COMPOUND||this.throwError("Expected comma"),t.push(e)}}return r||this.throwError("Expected "+String.fromCharCode(e)),t}gobbleGroup(){this.index++;let e=this.gobbleExpressions(s.CPAREN_CODE);if(this.code===s.CPAREN_CODE)return(this.index++,1===e.length)?e[0]:!!e.length&&{type:s.SEQUENCE_EXP,expressions:e};this.throwError("Unclosed (")}gobbleArray(){return this.index++,{type:s.ARRAY_EXP,elements:this.gobbleArguments(s.CBRACK_CODE)}}}Object.assign(s,{hooks:new n,plugins:new i(s),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),s.max_unop_len=s.getMaxKeyLen(s.unary_ops),s.max_binop_len=s.getMaxKeyLen(s.binary_ops);let a=e=>new s(e).parse(),o=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(s).filter(e=>!o.includes(e)&&void 0===a[e]).forEach(e=>{a[e]=s[e]}),a.Jsep=s,a.plugins.register({name:"ternary",init(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;let r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;let i=this.gobbleExpression();if(i||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:i},r.operator&&e.binary_ops[r.operator]<=.9){let n=r;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=r}}else this.throwError("Expected :")}})}});let l={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[43,45],assignmentPrecedence:.9,init(e){let t=[e.IDENTIFIER,e.MEMBER_EXP];l.assignmentOperators.forEach(t=>e.addBinaryOp(t,l.assignmentPrecedence,!0)),e.hooks.add("gobble-token",function(e){let r=this.code;l.updateOperators.some(e=>e===r&&e===this.expr.charCodeAt(this.index+1))&&(this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},e.node.argument&&t.includes(e.node.argument.type)||this.throwError(`Unexpected ${e.node.operator}`))}),e.hooks.add("after-token",function(e){if(e.node){let r=this.code;l.updateOperators.some(e=>e===r&&e===this.expr.charCodeAt(this.index+1))&&(t.includes(e.node.type)||this.throwError(`Unexpected ${e.node.operator}`),this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:e.node,prefix:!1})}}),e.hooks.add("after-expression",function(e){e.node&&function e(t){l.assignmentOperators.has(t.operator)?(t.type="AssignmentExpression",e(t.left),e(t.right)):t.operator||Object.values(t).forEach(t=>{t&&"object"==typeof t&&e(t)})}
1(e.node)})}};a.plugins.register({name:"regex",init(e){e.hooks.add("gobble-token",function(t){if(47===this.code){let r=++this.index,n=!1;for(;this.index<this.expr.length;){if(47===this.code&&!n){let n,i=this.expr.slice(r,this.index),s="";for(;++this.index<this.expr.length;){let e=this.code;if(e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57)s+=this.char;else break}try{n=new RegExp(i,s)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:n,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}})}},l),a.addUnaryOp("typeof"),a.addLiteral("null",null),a.addLiteral("undefined",void 0);let u=new Set(["constructor","__proto__","__defineGetter__","__defineSetter__"]),c={evalAst(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":return c.evalBinaryExpression(e,t);case"Compound":return c.evalCompound(e,t);case"ConditionalExpression":return c.evalConditionalExpression(e,t);case"Identifier":return c.evalIdentifier(e,t);case"Literal":return c.evalLiteral(e,t);case"MemberExpression":return c.evalMemberExpression(e,t);case"UnaryExpression":return c.evalUnaryExpression(e,t);case"ArrayExpression":return c.evalArrayExpression(e,t);case"CallExpression":return c.evalCallExpression(e,t);case"AssignmentExpression":return c.evalAssignmentExpression(e,t);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression:(e,t)=>({"||":(e,t)=>e||t(),"&&":(e,t)=>e&&t(),"|":(e,t)=>e|t(),"^":(e,t)=>e^t(),"&":(e,t)=>e&t(),"==":(e,t)=>e==t(),"!=":(e,t)=>e!=t(),"===":(e,t)=>
1e===t(),"!==":(e,t)=>e!==t(),"<":(e,t)=>e<t(),">":(e,t)=>e>t(),"<=":(e,t)=>e<=t(),">=":(e,t)=>e>=t(),"<<":(e,t)=>e<<t(),">>":(e,t)=>e>>t(),">>>":(e,t)=>e>>>t(),"+":(e,t)=>e+t(),"-":(e,t)=>e-t(),"*":(e,t)=>e*t(),"/":(e,t)=>e/t(),"%":(e,t)=>e%t()})[e.operator](c.evalAst(e.left,t),()=>c.evalAst(e.right,t)),evalCompound(e,t){let r;for(let n=0;n<e.body.length;n++){"Identifier"===e.body[n].type&&["var","let","const"].includes(e.body[n].name)&&e.body[n+1]&&"AssignmentExpression"===e.body[n+1].type&&(n+=1);let i=e.body[n];r=c.evalAst(i,t)}return r},evalConditionalExpression:(e,t)=>c.evalAst(e.test,t)?c.evalAst(e.consequent,t):c.evalAst(e.alternate,t),evalIdentifier(e,t){if(Object.hasOwn(t,e.name))return t[e.name];throw ReferenceError(`${e.name} is not defined`)},evalLiteral:e=>e.value,evalMemberExpression(e,t){let r=String(e.computed?c.evalAst(e.property):e.property.name),n=c.evalAst(e.object,t);if(null==n||!Object.hasOwn(n,r)&&u.has(r))throw TypeError(`Cannot read properties of ${n} (reading '${r}')`);let i=n[r];return"function"==typeof i?i.bind(n):i},evalUnaryExpression:(e,t)=>({"-":e=>-c.evalAst(e,t),"!":e=>!c.evalAst(e,t),"~":e=>~c.evalAst(e,t),"+":e=>+c.evalAst(e,t),typeof:e=>typeof c.evalAst(e,t)})[e.operator](e.argument),evalArrayExpression:(e,t)=>e.elements.map(e=>c.evalAst(e,t)),evalCallExpression(e,t){let r=e.arguments.map(e=>c.evalAst(e,t));return c.evalAst(e.callee,t)(...r)},evalAssignmentExpression(e,t){if("Identifier"!==e.left.type)throw SyntaxError("Invalid left-hand side in assignment");let r=e.left.name,n=c.evalAst(e.right,t);return t[r]=n,t[r]}};class d{constructor(e){this.code=e,this.ast=a(this.code)}runInNewContext(e){let t=Object.assign(Object.create(null),e);return c.evalAst(this.ast,t)}}function h(e,t){return(e=e.slice()).push(t),e}function f(e,t){return(t=t.slice()).unshift(e),t}
1class p extends Error{constructor(e){super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),this.avoidNew=!0,this.value=e,this.name="NewError"}}function m(e,t,r,n,i){if(!(this instanceof m))try{return new m(e,t,r,n,i)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(i=n,n=r,r=t,t=e,e=null);let s=e&&"object"==typeof e;if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!Object.hasOwn(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.eval=void 0===e.eval?"safe":e.eval,this.ignoreEvalErrors=void 0!==e.ignoreEvalErrors&&e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||n||null,this.otherTypeCallback=e.otherTypeCallback||i||function(){throw TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){let n={path:s?e.path:t};s?"json"in e&&(n.json=e.json):n.json=r;let i=this.evaluate(n);if(!i||"object"!=typeof i)throw new p(i);return i}}m.prototype.evaluate=function(e,t,r,n){let i=this.parent,s=this.parentProperty,{flatten:a,wrap:o}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=n||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"==typeof e&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Object.hasOwn(e,"json"))throw TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');({json:t}=e),a=Object.hasOwn(e,"flatten")?e.flatten:a,this.currResultType=Object.hasOwn(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,"sandbox")?e.sandbox:this.currSandbox,o=Object.hasOwn(e,"wrap")?e.wrap:o,this.currEval=Object.hasOwn(e,"eval")?e.eval:this.currEval,r=Object.hasOwn(e,"callback")?e.callback:r,this.currOtherTypeCallback=Object.hasOwn(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,i=Object.hasOwn(e,"parent")?e.parent:i,s=Object.hasOwn(e,"parentProperty")?e.parentProperty:s,e=e.path}if(i=i||null,s=s||null,Array.isArray(e)&&(e=m.toPathString(e)),!e&&""!==e||!t)return;let l=m.toPathArray(e);"$"===l[0]&&l.length>1&&l.shift(),this._hasParentSelector=null;let u=this._trace(l,t,["$"],i,s,r).filter(function(e){return e&&!e.isParentSelector});return u.length?o||1!==u.length||u[0].hasArrExpr?u.reduce((e,t)=>{let r=this._getPreferredOutput(t);return a&&Array.isArray(r)?e=e.concat(r):e.push(r),e},[]):this._getPreferredOutput(u[0]):o?[]:void 0},m.prototype._getPreferredOutput=function(e){let t=this.currResultType;switch(t){case"all":{let t=Array.isArray(e.path)?e.path:m.toPathArray(e.path);
1return e.pointer=m.toPointer(t),e.path="string"==typeof e.path?e.path:m.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return m.toPathString(e[t]);case"pointer":return m.toPointer(e.path);default:throw TypeError("Unknown result type")}},m.prototype._handleCallback=function(e,t,r){if(t){let n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:m.toPathString(e.path),t(n,r,e)}},m.prototype._trace=function(e,t,r,n,i,s,a,o){let l;if(!e.length)return l={path:r,value:t,parent:n,parentProperty:i,hasArrExpr:a},this._handleCallback(l,s,"value"),l;let u=e[0],c=e.slice(1),d=[];function p(e){Array.isArray(e)?e.forEach(e=>{d.push(e)}):d.push(e)}if(("string"!=typeof u||o)&&t&&Object.hasOwn(t,u))p(this._trace(c,t[u],h(r,u),t,u,s,a));else if("*"===u)this._walk(t,e=>{p(this._trace(c,t[e],h(r,e),t,e,s,!0,!0))});else if(".."===u)p(this._trace(c,t,r,n,i,s,a)),this._walk(t,n=>{"object"==typeof t[n]&&p(this._trace(e.slice(),t[n],h(r,n),t,n,s,!0))});else if("^"===u)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:c,isParentSelector:!0};else if("~"===u)return l={path:h(r,u),value:i,parent:n,parentProperty:null},this._handleCallback(l,s,"property"),l;else if("$"===u)p(this._trace(c,t,r,null,null,s,a));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(u))p(this._slice(u,c,t,r,n,i,s));else if(0===u.indexOf("?(")){if(!1===this.currEval)throw Error("Eval [?(expr)] prevented in JSONPath expression.");let e=u.replace(/^\?\((.*?)\)$/u,"$1"),a=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(e);a?this._walk(t,e=>{let o=[a[2]],l=a[1]?t[e][a[1]]:t[e];this._trace(o,l,r,n,i,s,!0).length>0&&p(this._trace(c,t[e],h(r,e),t,e,s,!0))}):this._walk(t,a=>{this._eval(e,t[a],a,r,n,i)&&p(this._trace(c,t[a],h(r,a),t,a,s,!0))})}else if("("===u[0]){if(!1===this.currEval)throw Error("Eval [(expr)] prevented in JSONPath expression.");p(this._trace(f(this._eval(u,t,r.at(-1),r.slice(0,-1),n,i),c),t,r,n,i,s,a))}else if("@"===u[0]){let e=!1,a=u.slice(1,-2);switch(a){case"scalar":t&&["object","function"].includes(typeof t)||(e=!0);break;case"boolean":case"string":case"undefined":case"function":typeof t===a&&(e=!0);break;case"integer":Number.isFinite(t)&&!(t%1)&&(e=!0);break;case"number":Number.isFinite(t)&&(e=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(e=!0);break;case"object":t&&typeof t===a&&(e=!0);break;case"array":Array.isArray(t)&&(e=!0);break;case"other":e=this.currOtherTypeCallback(t,r,n,i);break;case"null":null===t&&(e=!0);break;default:throw TypeError("Unknown value type "+a)}if(e)return l={path:r,value:t,parent:n,parentProperty:i},this._handleCallback(l,s,"value"),l}else if("`"===u[0]&&t&&Object.hasOwn(t,u.slice(1))){let e=u.slice(1);p(this._trace(c,t[e],h(r,e),t,e,s,a,!0))}else if(u.includes(","))for(let e of u.split(","))p(this._trace(f(e,c),t,r,n,i,s,!0));else!o&&t&&Object.hasOwn(t,u)&&p(this._trace(c,t[u],h(r,u),t,u,s,a,!0));if(this._hasParentSelector)for(let e=0;e<d.length;e++){let r=d[e];if(r&&r.isParentSelector){let o=this._trace(r.expr,t,r.path,n,i,s,a);if(Array.isArray(o)){d[e]=o[0];let t=o.length;for(let r=1;r<t;r++)e++,d.splice(e,0,o[r])}else d[e]=o}}return d},m.prototype._walk=function(e,t){if(Array.isArray(e)){let r=e.length;for(let e=0;e<r;e++)t(e)}else e&&"object"==typeof e&&Object.keys(e).forEach(e=>{t(e)})},m.prototype._slice=function(e,t,r,n,i,s,a){if(!Array.isArray(r))return;let o=r.length,l=e.split(":"),u=l[2]&&Number.parseInt(l[2])||1,c=l[0]&&Number.parseInt(l[0])||0,d=l[1]&&Number.parseInt(l[1])||o;c=c<0?Math.max(0,c+o):Math.min(o,c),d=d<0?Math.max(0,d+o):Math.min(o,d);let h=[];for(let e=c;e<d;e+=u)this._trace(f(e,t),r,n,i,s,a,!0).forEach(e=>{h.push(e)});return h},m.prototype._eval=function(e,t,r,n,i,s){this.currSandbox._$_parentProperty=s,this.currSandbox._$_parent=i,this.currSandbox._$_property=r,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;let a=e.includes("@path");a&&(this.currSandbox._$_path=m.toPathString(n.concat([r])));let o=this.currEval+"Script:"+e;if(!m.cache[o]){let t=e.replaceAll("@parentProperty","_$_parentProperty").replaceAll("@parent","_$_parent").replaceAll("@property","_$_property").replaceAll("@root","_$_root").replaceAll(/@([.\s)[])/gu,"_$_v$1");
1if(a&&(t=t.replaceAll("@path","_$_path")),"safe"===this.currEval||!0===this.currEval||void 0===this.currEval)m.cache[o]=new this.safeVm.Script(t);else if("native"===this.currEval)m.cache[o]=new this.vm.Script(t);else if("function"==typeof this.currEval&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,"runInNewContext")){let e=this.currEval;m.cache[o]=new e(t)}else if("function"==typeof this.currEval)m.cache[o]={runInNewContext:e=>this.currEval(t,e)};else throw TypeError(`Unknown "eval" property "${this.currEval}"`)}try{return m.cache[o].runInNewContext(this.currSandbox)}catch(t){if(this.ignoreEvalErrors)return!1;throw Error("jsonPath: "+t.message+": "+e)}},m.cache={},m.toPathString=function(e){let t=e.length,r="$";for(let n=1;n<t;n++)/^(~|\^|@.*?\(\))$/u.test(e[n])||(r+=/^[0-9*]+$/u.test(e[n])?"["+e[n]+"]":"['"+e[n]+"']");return r},m.toPointer=function(e){let t=e.length,r="";for(let n=1;n<t;n++)/^(~|\^|@.*?\(\))$/u.test(e[n])||(r+="/"+e[n].toString().replaceAll("~","~0").replaceAll("/","~1"));return r},m.toPathArray=function(e){let{cache:t}=m;if(t[e])return t[e].concat();let r=[],n=e.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu,";$&;").replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu,function(e,t){return"[#"+(r.push(t)-1)+"]"}).replaceAll(/\[['"]([^'\]]*)['"]\]/gu,function(e,t){return"['"+t.replaceAll(".","%@%").replaceAll("~","%%@@%%")+"']"}).replaceAll("~",";~;").replaceAll(/['"]?\.['"]?(?![^[]*\])|\[['"]?/gu,";").replaceAll("%@%",".").replaceAll("%%@@%%","~").replaceAll(/(?:;)?(\^+)(?:;)?/gu,function(e,t){return";"+t.split("").join(";")+";"}).replaceAll(/;;;|;;/gu,";..;").replaceAll(/;$|'?\]|'$/gu,"").split(";").map(function(e){let t=e.match(/#(\d+)/u);return t&&t[1]?r[t[1]]:e});return t[e]=n,t[e].concat()},m.prototype.safeVm={Script:d};let y=function(e,t,r){let n=e.length;for(let i=0;i<n;i++)r(e[i])&&t.push(e.splice(i--,1)[0])};class g{constructor(e){this.code=e}runInNewContext(e){let t=this.code,r=Object.keys(e),n=[];y(r,n,t=>"function"==typeof e[t]);let i=r.map(t=>e[t]);t=n.reduce((t,r)=>{let n=e[r].toString();return/function/u.test(n)||(n="function "+n),"var "+r+"="+n+";"+t},"")+t,/(['"])use strict\1/u.test(t)||r.includes("arguments")||(t="var arguments = undefined;"+t);let s=(t=t.replace(/;\s*$/u,"")).lastIndexOf(";");return Function(...r,-1!==s?t.slice(0,s+1)+" return "+t.slice(s+1):" return "+t)(...i)}}m.prototype.vm={Script:g}},30191:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},30199:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637);t.default={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")}},32258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;let n=r(77637),i=r(11865),s=r(30199);function a(e,t){let r=e.const("err",t);e.if((0,n._)`${s.default.vErrors} === null`,()=>e.assign(s.default.vErrors,(0,n._)`[${r}]`),(0,n._)`${s.default.vErrors}.push(${r})`),e.code((0,n._)`${s.default.errors}++`)}function o(e,t){let{gen:r,validateName:i,schemaEnv:s}=e;s.$async?r.throw((0,n._)`new ${e.ValidationError}(${t})`):(r.assign((0,n._)`${i}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>(0,n.str)`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,n.str)`"${e}" keyword must be ${t} ($data)`:(0,n.str)`"${e}
1" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,i,s){let{it:l}=e,{gen:c,compositeRule:d,allErrors:h}=l,f=u(e,r,i);(null!=s?s:d||h)?a(c,f):o(l,(0,n._)`[${f}]`)},t.reportExtraError=function(e,r=t.keywordError,n){let{it:i}=e,{gen:l,compositeRule:c,allErrors:d}=i;a(l,u(e,r,n)),c||d||o(i,s.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(s.default.errors,t),e.if((0,n._)`${s.default.vErrors} !== null`,()=>e.if(t,()=>e.assign((0,n._)`${s.default.vErrors}.length`,t),()=>e.assign(s.default.vErrors,null)))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:i,errsCount:a,it:o}){if(void 0===a)throw Error("ajv implementation error");let l=e.name("err");e.forRange("i",a,s.default.errors,a=>{e.const(l,(0,n._)`${s.default.vErrors}[${a}]`),e.if((0,n._)`${l}.instancePath === undefined`,()=>e.assign((0,n._)`${l}.instancePath`,(0,n.strConcat)(s.default.instancePath,o.errorPath))),e.assign((0,n._)`${l}.schemaPath`,(0,n.str)`${o.errSchemaPath}/${t}`),o.opts.verbose&&(e.assign((0,n._)`${l}.schema`,r),e.assign((0,n._)`${l}.data`,i))})};let l={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function u(e,t,r){let{createErrors:a}=e.it;return!1===a?(0,n._)`{}`:function(e,t,r={}){let{gen:a,it:o}=e,u=[function({errorPath:e},{instancePath:t}){let r=t?(0,n.str)`${e}${(0,i.getErrorPath)(t,i.Type.Str)}`:e;return[s.default.instancePath,(0,n.strConcat)(s.default.instancePath,r)]}(o,r),function({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let a=s?t:(0,n.str)`${t}/${e}`;return r&&(a=(0,n.str)`${a}${(0,i.getErrorPath)(r,i.Type.Str)}`),[l.schemaPath,a]}(e,r)];return function(e,{params:t,message:r},i){let{keyword:a,data:o,schemaValue:u,it:c}=e,{opts:d,propertyName:h,topSchemaRef:f,schemaPath:p}=c;i.push([l.keyword,a],[l.params,"function"==typeof t?t(e):t||(0,n._)`{}`]),d.messages&&i.push([l.message,"function"==typeof r?r(e):r]),d.verbose&&i.push([l.schema,u],[l.parentSchema,(0,n._)`${f}${p}`],[s.default.data,o]),h&&i.push([l.propertyName,h])}(e,t,u),a.object(...u)}(e,t,r)}},32415:(e,t)=>{"use strict";function r(e){let t,r=e.length,n=0,i=0;for(;i<r;)n++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<r&&(64512&(t=e.charCodeAt(i)))==56320&&i++;return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},32589:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true}
vendor: 4,335 bytes, line 1
1,"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},32698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;let n=r(77637),i=r(11865);function s(e,t,r){let{gen:s,compositeRule:a,data:o,opts:l}=e;if(void 0===r)return;let u=(0,n._)`${o}${(0,n.getProperty)(t)}`;if(a)return void(0,i.checkStrictMode)(e,`default is ignored for: ${u}`);let c=(0,n._)`${u} === undefined`;"empty"===l.useDefaults&&(c=(0,n._)`${c} || ${u} === null || ${u} === ""`),s.if(c,(0,n._)`${u} = ${(0,n.stringify)(r)}`)}t.assignDefaults=function(e,t){let{properties:r,items:n}=e.schema;if("object"===t&&r)for(let t in r)s(e,t,r[t].default);else"array"===t&&Array.isArray(n)&&n.forEach((t,r)=>s(e,r,t.default))}},33665:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},34752:(e,t,r)=>{"use strict";r.d(t,{k:()=>s});var n=r(12115);let i=(e,t)=>{let r=e instanceof Map?e:new Map(e.entries()),n=t instanceof Map?t:new Map(t.entries());if(r.size!==n.size)return!1;for(let[e,t]of r)if(!n.has(e)||!Object.is(t,n.get(e)))return!1;return!0};function s(e){let t=n.useRef(void 0);return r=>{let n=e(r);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;if(Symbol.iterator in e&&Symbol.iterator in t){if("entries"in e&&"entries"in t)return i(e,t);let r=e[Symbol.iterator](),n=t[Symbol.iterator](),s=r.next(),a=n.next();for(;!s.done&&!a.done;){if(!Object.is(s.value,a.value))return!1;s=r.next(),a=n.next()}return!!s.done&&!!a.done}return i({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}(t.current,n)?t.current=n:t.current}}},35235:(e,t,r)=>{"use strict";r.d(t,{O:()=>o});var n=r(52340),i=r(14862),s=r(12115);(0,i.hY)();var a={h1:{label:"Heading 1",icon:n._},h2:{label:"Heading 2",icon:n.fV},h3:{label:"Heading 3",icon:n._B},h4:{label:"Heading 4",icon:n.f_},h5:{label:"Heading 5",icon:n.mM},h6:{label:"Heading 6",icon:n.TT}},o=e=>{var t;let r=[];return(null==e?void 0:e.heading)!==!1&&((null==(t=null==e?void 0:e.heading)?void 0:t.levels)?((null==e?void 0:e.heading.levels.includes(1))&&r.push("h1"),(null==e?void 0:e.heading.levels.includes(2))&&r.push("h2"),(null==e?void 0:e.heading.levels.includes(3))&&r.push("h3"),(null==e?void 0:e.heading.levels.includes(4))&&r.push("h4"),(null==e?void 0:e.heading.levels.includes(5))&&r.push("h5"),(null==e?void 0:e.heading.levels.includes(6))&&r.push("h6")):r=["h1","h2","h3","h4","h5","h6"]),(0,s.useMemo)(()=>r.map(e=>({value:e,label:a[e].label,icon:a[e].icon})),[r])}},35747:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});let n=r(16848);t.default={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,n.dynamicRef)(e,e.schema)}},35761:(e,t,r)=>{"use strict";r.d(t,{eh:()=>n});let n=e=>(t,r,n)=>{let i=n.subscribe;return n.subscribe=(e,t,r)=>{let s=e;if(t){let i=(null==r?void 0:r.equalityFn)||Object.is,a=e(n.getState());s=r=>{let n=e(r);if(!i(a,n)){let e=a;t(a=n,e)}},(null==r?void 0:r.fireImmediately)&&t(a,a)}return i(s)},e(t,r,n)}},37182:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){let i=(n=n||{}).delimiter||".",s=n.maxDepth,a=n.transformKey||r,o={};return!function e(r,l,u){u=u||1,Object.keys(r).forEach(function(c){let d=r[c],h=n.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),p=t(d),m=l?l+i+a(c):a(c);if(!h&&!p&&("[object Object]"===f||"[object Array]"===f)&&Object.keys(d).length&&(!n.maxDepth||u<s))return e(d,m,u+1);o[m]=d})}(e),o}e.exports=n,n.flatten=n,n.unflatten=function e(i,s){let a=(s=s||{}).delimiter||".",o=s.overwrite||!1,l=s.transformKey||r,u={};if(t(i)||"[object Object]"!==Object.prototype.toString.call(i))return i;function c(e){let t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||s.object?e:t}return Object.keys(i=Object.keys(i).reduce(function(e,t){var r,o;let l,u=Object.prototype.toString.call(i[t]);return("[object Object]"===u||"[object Array]"===u)&&(o=i[t],l=Object.prototype.toString.call(o),o&&("[object Array]"===l?o.length:"[object Object]"===l?Object.keys(o).length:!void 0))?Object.keys(r=n(i[t],s)).reduce(function(e,n){return e[t+a+n]=r[n],e},e):(e[t]=i[t],e)},{})).forEach(function(t){let r=t.split(a).map(l),n=c(r.shift()),d=c(r[0]),h=u;for(;void 0!==d;){if("__proto__"===n)return;let e=Object.prototype.toString.call(h[n]),t="[object Object]"===e||"[object Array]"===e;if(!o&&!t&&void 0!==h[n])return;(!o||t)&&(o||null!=h[n])||(h[n]="number"!=typeof d||s.object?{}:[]),h=h[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}h[n]=e(i[t],s)}),u}},38411:(e,t,r)=>{"use strict";let n,i;r.d(t,{g:()=>ew});var s,a,o,l,u,c,d,h,f,p=r(12115),m=r(17102),y=r(77790),g=r(28998),v=r(57599),b=r(46115),w=r(77069),_=r(44087),$=Object.create,E=Object.defineProperty,k=Object.defineProperties,S=Object.getOwnPropertyDescriptor,O=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,I=e=>{throw TypeError(e)},C=(e,t,r)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=["class","method","getter","setter","accessor","field","value","get","set"],N=e=>void 0!==e&&"function"!=typeof e?I("Function expected"):e,R=(e,t,r,n,i)=>({kind:M[e],name:t,metadata:n,addInitializer:e=>r._?I("Already initialized"):i.push(N(e||null))}),T=(e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)1&t?s[i].call(r):n=s[i].call(r,n);return n},D=(e,t,r,n,i,s)=>{for(var a,o,l,u,c,d=7&t,h=e.length+1,f=M[d+5],p=e[h-1]=[],m=e[h]||(e[h]=[]),y=(i=i.prototype,S({get[r](){return L(this,s)},set[r](x){return B(this,s,x)}},r)),g=n.length-1;g>=0;g--)(u=R(d,r,l={},e[3],m)).static=!1,u.private=!1,(c=u.access={has:e=>r in e}).get=e=>e[r],c.set=(e,t)=>e[r]=t,o=(0,n[g])({get:y.get,set:y.set},u),l._=1,void 0===o?N(o)&&(y[f]=o):"object"!=typeof o||null===o?I("Object expected"):(N(a=o.get)&&(y.get=a),N(a=o.set)&&(y.set=a),N(a=o.init)&&p.unshift(a));return y&&E(i,r,y),i},z=(e,t,r)=>t.has(e)||I("Cannot "+r),L=(e,t,r)=>(z(e,t,"read from private field"),t.get(e)),Y=(e,t,r)=>t.has(e)?I("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),B=(e,t,r,n)=>(z(e,t,"write to private field"),t.set(e,r),r);function U(e){return e instanceof el||e instanceof eo}var F=class extends w.k_{constructor(e){super(e);const t=(0,m.QZ)(()=>{let{dragOperation:t}=e;if((0,b.kx)(t.activatorEvent)&&U(t.source)&&t.status.initialized){let t=e.registry.plugins.get(v.HO);if(t)return t.disable(),()=>t.enable()}}),r=e.monitor.addEventListener("dragmove",(e,t)=>{queueMicrotask(()=>{if(this.disabled||e.defaultPrevented||!e.nativeEvent)return;let{dragOperation:r}=t;if(!(0,b.kx)(e.nativeEvent)||!U(r.source)||!r.shape)return;let{actions:n,collisionObserver:i,registry:s}=t,{by:a}=e;if(!a)return;let o=function(e){let{x:t,y:r}=e;return t>0?"right":t<0?"left":r>0?"down":r<0?"up":void 0}(a),{source:l,target:u}=r,{center:c}=r.shape.current,d=[],h=[];(0,m.vA)(()=>{for(let e of s.droppables){let{id:t}=e;if(!e.accepts(l)||t===(null==u?void 0:u.id)&&U(e)||!e.element)continue;let r=e.shape,n=new b.yS(e.element,{getBoundingClientRect:e=>(0,b.k$)(e,void 0,.2)});n.height&&n.width&&("down"==o&&c.y+10<n.center.y||"up"==o&&c.y-10>n.center.y||"left"==o&&c.x-10>n.center.x||"right"==o&&c.x+10<n.center.x)&&(d.push(e),e.shape=n,h.push(()=>e.shape=r))}}),e.preventDefault(),i.disable();let f=i.computeCollisions(d,g.y$);(0,m.vA)(()=>
1h.forEach(e=>e()));let[p]=f;if(!p)return;let{id:y}=p,{index:v,group:w}=l.sortable;n.setDropTarget(y).then(()=>{let{source:e,target:t,shape:s}=r;if(!e||!U(e)||!s)return;let{index:a,group:o,target:l}=e.sortable,u=v!==a||w!==o,c=u?l:null==t?void 0:t.element;if(!c)return;(0,b.$v)(c);let d=new b.yS(c);if(!d)return;let h=_.M_.delta(d,_.M_.from(s.current.boundingRectangle),e.alignment);n.move({by:h}),u?n.setDropTarget(e.id).then(()=>i.enable()):i.enable()})})});this.destroy=()=>{r(),t()}}},q=Object.defineProperty,V=Object.defineProperties,W=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,Z=(e,t,r)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,X=(e,t)=>{for(var r in t||(t={}))H.call(t,r)&&Z(e,r,t[r]);if(K)for(var r of K(t))G.call(t,r)&&Z(e,r,t[r]);return e};function J(e,t,r){if(t===r)return e;let n=e.slice();return n.splice(r,0,n.splice(t,1)[0]),n}var Q="__default__";function ee(e,t,r,n){r.insertAdjacentElement(n<t?"afterend":"beforebegin",e)}function et(e,t){return e.index-t.index}function er(e){return Array.from(e).sort(et)}var en=[F,class extends w.k_{constructor(e){super(e);const t=()=>{let t=new Map;for(let r of e.registry.droppables)if(r instanceof el){let{sortable:e}=r,{group:n}=e,i=t.get(n);i||(i=new Set,t.set(n,i)),i.add(e)}for(let[e,r]of t)t.set(e,new Set(er(r)));return t},r=[e.monitor.addEventListener("dragover",(e,r)=>{if(this.disabled)return;let{dragOperation:n}=r,{source:i,target:s}=n;if(!U(i)||!U(s)||i.sortable===s.sortable)return;let a=t(),o=i.sortable.group===s.sortable.group,l=a.get(i.sortable.group),u=o?l:a.get(s.sortable.group);l&&u&&queueMicrotask(()=>{e.defaultPrevented||r.renderer.rendering.then(()=>{var n,c,d;let h=t();for(let[e,t]of a.entries())for(let[r,i]of Array.from(t).entries())if(i.index!==r||i.group!==e||!(null==(n=h.get(e))?void 0:n.has(i)))return;let f=i.sortable.element,p=s.sortable.element;if(!p||!f||!o&&s.id===i.sortable.group)return;let y=er(l),g=o?y:er(u),v=null!=(c=i.sortable.group)?c:Q,b=null!=(d=s.sortable.group)?d:Q,w={[v]:y,[b]:g},_=function(e,t,r){var n,i;let s,a,{source:o,target:l,canceled:u}=t.operation;if(!o||!l||u)return"preventDefault"in t&&t.preventDefault(),e;let c=(e,t)=>e===t||"object"==typeof e&&"id"in e&&e.id===t;if(Array.isArray(e)){let t=e.findIndex(e=>c(e,o.id)),n=e.findIndex(e=>c(e,l.id));if(-1===t||-1===n)return e;if(!u&&"index"in o&&"number"==typeof o.index){let n=o.index;if(n!==t)return r(e,t,n)}return r(e,t,n)}let d=Object.entries(e),h=-1,f=-1;for(let[e,t]of d)if(-1===h&&-1!==(h=t.findIndex(e=>c(e,o.id)))&&(s=e),-1===f&&-1!==(f=t.findIndex(e=>c(e,l.id)))&&(a=e),-1!==h&&-1!==f)break;if(!o.manager)return e;let{dragOperation:p}=o.manager,m=null!=(i=null==(n=p.shape)?void 0:n.current.center)?i:p.position.current;if(null==a&&l.id in e){let t=l.shape&&m.y>l.shape.center.y?e[l.id].length:0;a=l.id,f=t}if(null==s||null==a||s===a&&h===f)return"preventDefault"in t&&t.preventDefault(),e;if(s===a)return V(X({},e),W({[s]:r(e[s],h,f)}));let y=+!!(l.shape&&Math.round(m.y)>Math.round(l.shape.center.y)),g=e[s][h];return V(X({},e),W({[s]:[...e[s].slice(0,h),...e[s].slice(h+1)],[a]:[...e[a].slice(0,f+y),g,...e[a].slice(f+y)]}))}(w,e,J);if(w===_)return;let $=_[b].indexOf(i.sortable),E=_[b].indexOf(s.sortable);r.collisionObserver.disable(),ee(f,$,p,E),(0,m.vA)(()=>{for(let[e,t]of _[v].entries())t.index=e;if(!o)for(let[e,t]of _[b].entries())t.group=s.sortable.group,t.index=e}),r.actions.setDropTarget(i.id).then(()=>r.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(e,r)=>{if(!e.canceled)return;let{dragOperation:n}=r,{source:i}=n;U(i)&&(i.sortable.initialIndex!==i.sortable.index||i.sortable.initialGroup!==i.sortable.group)&&queueMicrotask(()=>{let e=t(),n=e.get(i.sortable.initialGroup);n&&r.renderer.rendering.then(()=>{for(let[t,r]of e.entries())for(let[e,n]of Array.from(r).entries())if(n.index!==e||n.group!==t)return;let t=er(n),r=i.sortable.element,s=t[i.sortable.initialIndex],a=null==s?void 0:s.element;s&&a&&r&&(ee(r,s.index,a,i.index),(0,m.vA)(()=>{for(let[t,r]of e.entries())for(let e of Array.from(r).values())e.index=e.initialIndex,e.group=e.initialGroup}))})})})];this.destroy=()=>{for(let e of r)e()}}}],ei={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1},es=new y._Z;o=[y.Kh],a=[y.Kh];var ea=class{constructor(e,t){let r,n;Y(this,u,T(l,8,this)),T(l,11,this),Y(this,c),Y(this,d),Y(this,h,T(l,12,this)),T(l,15,this),Y(this,f),this.register=()=>((0,m.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.register(this.droppable),null==(t=this.manager)||t.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{(0,m.vA)(()=>{var e,t;null==(e=this.manager)||e.registry.unregister(this.droppable),null==(t=this.manager)||t.registry.unregister(this.draggable)})},this.destroy=()=>{(0,m.vA)(()=>{this.droppable.destroy(),this.draggable.destroy()})};var{effects:i=()=>[],group:s,index:a,sensors:o,type:p,transition:y=ei,plugins:g=en}=e,v=((e,t)=>{var r={};for(var n in e)P.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&j)for(var n of j(e))0>t.indexOf(n)&&A.call(e,n)&&(r[n]=e[n]);return r})(e,["effects","group","index","sensors","type","transition","plugins"]);this.droppable=new el(v,t,this),this.draggable=new eo((r=((e,t)=>{for(var r in t||(t={}))P.call(t,r)&&C(e,r,t[r]);if(j)for(var r of j(t))A.call(t,r)&&C(e,r,t[r]);return e})({},v),n={effects:()=>[()=>{var e,t,r;let n=null==(e=this.manager)?void 0:e.dragOperation.status;(null==n?void 0:n.initializing)&&this.id===(null==(r=null==(t=this.manager)?void 0:t.dragOperation.source)?void 0:r.id)&&es.clear(this.manager),(null==n?void 0:n.dragging)&&es.set(this.manager,this.id,(0,m.O8)(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:e,group:t,manager:r}=this,n=L(this,d),i=L(this,c);(e!==n||t!==i)&&(B(this,d,e),B(this,c,t),this.animate())},()=>{let{target:e}=this,{feedback:t,isDragSource:r}=this.draggable;"move"==t&&r&&(this.droppable.disabled=!e)},()=>{let{manager:e}=this;for(let t of g)null==e||e.registry.register(t)},...i()],type:p,sensors:o},k(r,O(n))),t,this),B(this,f,v.element),this.manager=t,this.index=a,B(this,d,a),this.group=s,B(this,c,s),this.type=p,this.transition=y}get initialIndex(){var e,t;return null!=(t=null==(e=es.get(this.manager,this.id))?void 0:e.initialIndex)?t:this.index}get initialGroup(){var e,t;return null!=(t=null==(e=es.get(this.manager,this.id))?void 0:e.initialGroup)?t:this.group}animate(){(0,m.O8)(()=>{let{manager:e,transition:t}=this,{shape:r}=this.droppable;if(!e)return;let{idle:n}=e.dragOperation.status;r&&t&&(!n||t.idle)&&e.renderer.rendering.then(()=>{let{element:n}=this;if(!n)return;let i=this.refreshShape();if(!i)return;let s={x:r.boundingRectangle.left-i.boundingRectangle.left,y:r.boun
1dingRectangle.top-i.boundingRectangle.top},{translate:a}=(0,b.qt)(n),o=(0,b.We)(n,a,!1),l=(0,b.We)(n,a);(s.x||s.y)&&(0,b.A$)({element:n,keyframes:{translate:[`${o.x+s.x}px ${o.y+s.y}px ${o.z}`,`${l.x}px ${l.y}px ${l.z}`]},options:t}).then(()=>{e.dragOperation.status.dragging||(this.droppable.shape=void 0)})})})}get manager(){return this.draggable.manager}set manager(e){(0,m.vA)(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){(0,m.vA)(()=>{let t=L(this,f),r=this.droppable.element,n=this.draggable.element;r&&r!==t||(this.droppable.element=e),n&&n!==t||(this.draggable.element=e),B(this,f,e)})}get element(){var e,t;let r=L(this,f);if(r)return null!=(t=null!=(e=b.hZ.get(r))?e:r)?t:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){return this.draggable.disabled&&this.droppable.disabled}set feedback(e){this.draggable.feedback=e}set disabled(e){(0,m.vA)(()=>{this.droppable.disabled=e,this.draggable.disabled=e})}set data(e){(0,m.vA)(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){(0,m.vA)(()=>{this.droppable.id=e,this.draggable.id=e})}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=null!=e?e:g.V6}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){(0,m.vA)(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};l=[,,,$(null)],u=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,f=new WeakMap,D(l,4,"index",o,ea,u),D(l,4,"group",a,ea,h),s=l,C(ea,(n="metadata",(i=Symbol[n])?i:Symbol.for("Symbol."+n)),s[3]);var eo=class extends v.sx{constructor(e,t,r){super(e,t),this.sortable=r}get index(){return this.sortable.index}},el=class extends v.gL{constructor(e,t,r){super(e,t),this.sortable=r}},eu=r(97026),ec=r(52842),ed=r(58690),eh=Object.defineProperty,ef=Object.defineProperties,ep=Object.getOwnPropertyDescriptors,em=Object.getOwnPropertySymbols,ey=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,ev=(e,t,r)=>t in e?eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eb=(e,t)=>{for(var r in t||(t={}))ey.call(t,r)&&ev(e,r,t[r]);if(em)for(var r of em(t))eg.call(t,r)&&ev(e,r,t[r]);return e};function ew(e){let{accept:t,collisionDetector:r,collisionPriority:n,id:i,data:s,element:a,handle:o,index:l,group:u,disabled:c,feedback:d,modifiers:h,sensors:f,target:g,type:v}=e,b=eb(eb({},ei),e.transition),w=(0,eu.Nj)(t=>new ea(ef(eb({},e),ep({transition:b,register:!1,handle:(0,ed.b)(o),element:(0,ed.b)(a),target:(0,ed.b)(g),feedback:d})),t)),_=(0,ec.MS)(w,ex);return(0,ec.CH)(i,()=>w.id=i),(0,ec.Es)(()=>{(0,m.vA)(()=>{w.group=u,w.index=l})},[w,u,l]),(0,ec.CH)(v,()=>w.type=v),(0,ec.CH)(t,()=>w.accept=t,void 0,y.bD),(0,ec.CH)(s,()=>s&&(w.data=s)),(0,ec.CH)(l,()=>{var e;(null==(e=w.manager)?void 0:e.dragOperation.status.idle)&&(null==b?void 0:b.idle)&&w.refreshShape()},ec.QL),(0,ec.T_)(o,e=>w.handle=e),(0,ec.T_)(a,e=>w.element=e),(0,ec.T_)(g,e=>w.target=e),(0,ec.CH)(c,()=>w.disabled=!0===c),(0,ec.CH)(f,()=>w.sensors=f),(0,ec.CH)(r,()=>w.collisionDetector=r),(0,ec.CH)(n,()=>w.collisionPriority=n),(0,ec.CH)(d,()=>w.feedback=null!=d?d:"default"),(0,ec.CH)(b,()=>w.transition=b,void 0,y.bD),(0,ec.CH)(h,()=>w.modifiers=h,void 0,y.bD),(0,ec.CH)(e.alignment,()=>w.alignment=e.alignment),{sortable:_,get isDragging(){return _.isDragging},get isDropping(){return _.isDropping},get isDragSource(){return _.isDragSource},get isDropTarget(){return _.isDropTarget},handleRef:(0,p.useCallback)(e=>{w.handle=null!=e?e:void 0},[w]),ref:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.element)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.element=null!=e?e:void 0)},[w]),sourceRef:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.source)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.source=null!=e?e:void 0)}
1,[w]),targetRef:(0,p.useCallback)(e=>{var t,r;(e||null==(t=w.target)||!t.isConnected||(null==(r=w.manager)?void 0:r.dragOperation.status.idle))&&(w.target=null!=e?e:void 0)},[w])}}function ex(e,t,r){return"isDragSource"===e&&!r&&!!t}},39704:(e,t,r)=>{"use strict";r.d(t,{P:()=>a,v:()=>l});var n=r(12115),i=r(49264);let s=e=>e;function a(e,t=s){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r}let o=e=>{let t=(0,i.y)(e),r=e=>a(t,e);return Object.assign(r,t),r},l=e=>e?o(e):o},40764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=r(94864);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var i=r(77637);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});let s=r(75292),a=r(76475),o=r(63432),l=r(48463),u=r(77637),c=r(16683),d=r(59316),h=r(11865),f=r(30191),p=r(50756),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";let y=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated
1ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...function(e){var t,r,n,i,s,a,o,l,u,c,d,h,f,y,g,v,b,w,_,$,E,k,S,O,j;let P=e.strict,A=null==(t=e.code)?void 0:t.optimize,I=!0===A||void 0===A?1:A||0,C=null!=(n=null==(r=e.code)?void 0:r.regExp)?n:m,M=null!=(i=e.uriResolver)?i:p.default;return{strictSchema:null==(a=null!=(s=e.strictSchema)?s:P)||a,strictNumbers:null==(l=null!=(o=e.strictNumbers)?o:P)||l,strictTypes:null!=(c=null!=(u=e.strictTypes)?u:P)?c:"log",strictTuples:null!=(h=null!=(d=e.strictTuples)?d:P)?h:"log",strictRequired:null!=(y=null!=(f=e.strictRequired)?f:P)&&y,code:e.code?{...e.code,optimize:I,regExp:C}:{optimize:I,regExp:C},loopRequired:null!=(g=e.loopRequired)?g:200,loopEnum:null!=(v=e.loopEnum)?v:200,meta:null==(b=e.meta)||b,messages:null==(w=e.messages)||w,inlineRefs:null==(_=e.inlineRefs)||_,schemaId:null!=($=e.schemaId)?$:"$id",addUsedSchema:null==(E=e.addUsedSchema)||E,validateSchema:null==(k=e.validateSchema)||k,validateFormats:null==(S=e.validateFormats)||S,unicodeRegExp:null==(O=e.unicodeRegExp)||O,int32range:null==(j=e.int32range)||j,uriResolver:M}}(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:g,es5:t,lines:r}),this.logger=function(e){if(!1===e)return j;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,o.getRules)(),_.call(this,v,e,"NOT SUPPORTED"),_.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=O.call(this),e.formats&&k.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&S.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),E.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:t,schemaId:r}=this.opts,n=f;"id"===r&&((n={...f}).id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){let{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);let n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){let r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw Error("options.loadSchema should be a function");let{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(e,t){await i.call(this,e.$schema);let r=this._addSchema(e,t);return r.validate||s.call(this,r)}async function i(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function s(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.default))throw t;return o.call(this,t),await l.call(this,t.missingSchema),s.call(this,e)}}function o({missingSchema:e,missingRef:t}){if(this.refs[e])throw Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){let r=await u.call(this,e);this.refs[e]||await i.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function u(e){let t=this._loading[e];if(t)return t;try{return await (this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){let i;
1if(Array.isArray(e)){for(let t of e)this.addSchema(t,void 0,r,n);return this}if("object"==typeof e){let{schemaId:t}=this.opts;if(void 0!==(i=e[t])&&"string"!=typeof i)throw Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){let r;if("boolean"==typeof e)return!0;if(void 0!==(r=e.$schema)&&"string"!=typeof r)throw Error("$schema must be a string");if(!(r=r||this.opts.defaultMeta||this.defaultMeta()))return this.logger.warn("meta-schema not available"),this.errors=null,!0;let n=this.validate(r,e);if(!n&&t){let e="schema is invalid: "+this.errorsText();if("log"===this.opts.validateSchema)this.logger.error(e);else throw Error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=$.call(this,e));)e=t;if(void 0===t){let{schemaId:r}=this.opts,n=new l.SchemaEnv({schema:{},schemaId:r});if(!(t=l.resolveSchema.call(this,n,e)))return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let t=$.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{this._cache.delete(e);let t=e[this.opts.schemaId];return t&&(t=(0,c.normalizeId)(t),delete this.schemas[t],delete this.refs[t]),this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(let t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else if("object"==typeof e&&void 0===t){if(Array.isArray(r=(t=e).keyword)&&!r.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(A.call(this,r,t),!t)return(0,h.eachItem)(r,e=>I.call(this,e)),this;M.call(this,t);let n={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(r,0===n.type.length?e=>I.call(this,e,n):e=>n.type.forEach(t=>I.call(this,e,n,t))),this}getKeyword(e){let t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){let{RULES:t}=this;for(let r of(delete t.keywords[e],delete t.all[e],t.rules)){let t=r.rules.findIndex(t=>t.keyword===e);t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r):"No errors"}$dataMetaSchema(e,t){let r=this.RULES.all;for(let n of(e=JSON.parse(JSON.stringify(e)),t)){let t=n.split("/").slice(1),i=e;for(let e of t)i=i[e];for(let e in r){let t=r[e];if("object"!=typeof t)continue;let{$data:n}=t.definition,s=i[e];n&&s&&(i[e]=R(s))}}return e}_removeAllSchemas(e,t){for(let r in e){let n=e[r];(!t||t.test(r))&&("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,i=this.opts.addUsedSchema){let s,{schemaId:a}=this.opts;if("object"==typeof e)s=e[a];else if(this.opts.jtd)throw Error("schema must be object");else if("boolean"!=typeof e)throw Error("schema must be object or boolean");let o=this._cache.get(e);if(void 0!==o)return o;r=(0,c.normalizeId)(s||r);let u=c.getSchemaRefs.call(this,e,r);return o=new l.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:r,localRefs:u}),this._cache.set(o.schema,o),i&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=o),n&&this.validateSchema(e,!0),o}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw Error("ajv implementation error");return e.validate}_compileMetaSchema(e){let t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,r,n="error"){for(let i in e)i in t&&this.logger[n](`${r}: option ${i}. ${e[i]}`)}
1function $(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function E(){let e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}function k(){for(let e in this.opts.formats){let t=this.opts.formats[e];t&&this.addFormat(e,t)}}function S(e){if(Array.isArray(e))return void this.addVocabulary(e);for(let t in this.logger.warn("keywords option as map is deprecated, pass array"),e){let r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}function O(){let e={...this.opts};for(let t of y)delete e[t];return e}w.ValidationError=s.default,w.MissingRefError=a.default,t.default=w;let j={log(){},warn(){},error(){}},P=/^[a-z_$][a-z0-9_$:-]*$/i;function A(e,t){let{RULES:r}=this;if((0,h.eachItem)(e,e=>{if(r.keywords[e])throw Error(`Keyword ${e} is already defined`);if(!P.test(e))throw Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t||"validate"in t))throw Error('$data keyword must have "code" or "validate" function')}function I(e,t,r){var n;let i=null==t?void 0:t.post;if(r&&i)throw Error('keyword with "post" flag cannot have "type"');let{RULES:s}=this,a=i?s.post:s.rules.find(({type:e})=>e===r);if(a||(a={type:r,rules:[]},s.rules.push(a)),s.keywords[e]=!0,!t)return;let o={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?C.call(this,a,o,t.before):a.rules.push(o),s.all[e]=o,null==(n=t.implements)||n.forEach(e=>this.addKeyword(e))}function C(e,t,r){let n=e.rules.findIndex(e=>e.keyword===r);n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function M(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=R(t)),e.validateSchema=this.compile(t,!0))}let N={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function R(e){return{anyOf:[e,N]}}},42189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(27146),i=r(25219),s=r(23714);t.default=[n.default,i.default,s.default]},42193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;let n=r(77637),i=r(11865);function s(e,t){let{gen:r,schema:s,data:a,keyword:o,it:l}=e;l.items=!0;let u=r.const("len",(0,n._)`${a}.length`);if(!1===s)e.setParams({len:t.length}),e.pass((0,n._)`${u} <= ${t.length}`);else if("object"==typeof s&&!(0,i.alwaysValidSchema)(l,s)){let s=r.var("valid",(0,n._)`${u} <= ${t.length}`);r.if((0,n.not)(s),()=>{var a;return a=s,void r.forRange("i",t.length,u,t=>{e.subschema({keyword:o,dataProp:t,dataPropType:i.Type.Num},a),l.allErrors||r.if((0,n.not)(a),()=>r.break())})}),e.ok(s)}}t.validateAdditionalItems=s,t.default={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`},code(e){let{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?s(e,n):(0,i.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}}},42823:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;0!=i--;){var n,i,s,a=s[i];if(!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},43882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(28294);t.default={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")}},44087:(e,t,r)=>{"use strict";r.d(t,{M_:()=>R,Y5:()=>L,bR:()=>N,dq:()=>D,yX:()=>T});var n,i,s,a,o,l,u,c=r(77790),d=r(17102),h=Object.create,f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(e,t)=>
1(t=Symbol[e])?t:Symbol.for("Symbol."+e),b=e=>{throw TypeError(e)},w=Math.pow,_=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>f(e,"name",{value:t,configurable:!0}),E=["class","method","getter","setter","accessor","field","value","get","set"],k=e=>void 0!==e&&"function"!=typeof e?b("Function expected"):e,S=(e,t,r,n,i)=>({kind:E[e],name:t,metadata:n,addInitializer:e=>r._?b("Already initialized"):i.push(k(e||null))}),O=(e,t)=>_(t,v("metadata"),e[3]),j=(e,t,r,n,i,s)=>{var a,o,l,u,c,d=7&t,h=!!(8&t),m=!!(16&t),y=d>3?e.length+1:d?h?1:2:0,g=E[d+5],v=d>3&&(e[y-1]=[]),w=e[y]||(e[y]=[]),_=d&&(m||h||(i=i.prototype),d<5&&(d>3||!m)&&p(d<4?i:{get[r](){return I(this,s)},set[r](x){return C(this,s,x)}},r));d?m&&d<4&&$(s,(d>2?"set ":d>1?"get ":"")+r):$(i,r);for(var j=n.length-1;j>=0;j--)u=S(d,r,l={},e[3],w),d&&(u.static=h,u.private=m,c=u.access={has:m?e=>A(i,e):e=>r in e},3^d&&(c.get=m?e=>(1^d?I:M)(e,i,4^d?s:_.get):e=>e[r]),d>2&&(c.set=m?(e,t)=>C(e,i,t,4^d?s:_.set):(e,t)=>e[r]=t)),o=(0,n[j])(d?d<4?m?s:_[g]:d>4?void 0:{get:_.get,set:_.set}:i,u),l._=1,4^d||void 0===o?k(o)&&(d>4?v.unshift(o):d?m?s=o:_[g]=o:i=o):"object"!=typeof o||null===o?b("Object expected"):(k(a=o.get)&&(_.get=a),k(a=o.set)&&(_.set=a),k(a=o.init)&&v.unshift(a));return d||O(e,i),_&&f(i,r,_),m?4^d?s:_:i},P=(e,t,r)=>t.has(e)||b("Cannot "+r),A=(e,t)=>Object(t)!==t?b('Cannot use the "in" operator on this value'):e.has(t),I=(e,t,r)=>(P(e,t,"read from private field"),r?r.call(e):t.get(e)),C=(e,t,r,n)=>(P(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),M=(e,t,r)=>(P(e,t,"access private method"),r),N=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,r){return new e(t.x-r.x,t.y-r.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:r}){return new e(t,r)}},R=class e{constructor(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(t,r){let{top:n,left:i,width:s,height:a,scale:o}=this,l=new e(i+t,n+r,s,a);return l.scale=((e,t)=>{for(var r in t||(t={}))y.call(t,r)&&_(e,r,t[r]);if(m)for(var r of m(t))g.call(t,r)&&_(e,r,t[r]);return e})({},o),l}get boundingRectangle(){let{width:e,height:t,left:r,top:n,right:i,bottom:s}=this;return{width:e,height:t,left:r,top:n,right:i,bottom:s}}get center(){let{left:e,top:t,right:r,bottom:n}=this;return new N((e+r)/2,(t+n)/2)}get area(){let{width:e,height:t}=this;return e*t}equals(t){if(!(t instanceof e))return!1;let{left:r,top:n,width:i,height:s}=this;return r===t.left&&n===t.top&&i===t.width&&s===t.height}containsPoint(e){let{top:t,left:r,bottom:n,right:i}=this;return t<=e.y&&e.y<=n&&r<=e.x&&e.x<=i}intersectionArea(t){var r,n;let i,s,a,o;return t instanceof e?(r=this,i=Math.max((n=t).top,r.top),s=Math.max(n.left,r.left),a=Math.min(n.left+n.width,r.left+r.width),o=Math.min(n.top+n.height,r.top+r.height),s<a&&i<o?(a-s)*(o-i):0):0}intersectionRatio(e){let{area:t}=this,r=this.intersectionArea(e);return r/(e.area+t-r)}get bottom(){let{top:e,height:t}=this;return e+t}get right(){let{left:e,width:t}=this;return e+t}get aspectRatio(){let{width:e,height:t}=this;return e/t}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:t,left:r,width:n,height:i}){return new e(r,t,n,i)}static delta(e,t,r={x:"center",y:"center"}){let n=(e,t)=>{let n=r[t],i="x"===t?e.left:e.top,s="x"===t?e.width:e.height;return"start"==n?i:"end"==n?i+s:i+s/2};return N.delta({x:n(e,"x"),y:n(e,"y")},{x:n(t,"x"),y:n(t,"y")})}static intersectionRatio(t,r){return e.from(t).intersectionRatio(e.from(r))}},T=class extends(o=c.Wf,a=[c.un],s=[c.un],o){constructor(e){super(N.from(e),(e,t)=>N.equals(e,t)),((e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)1&t?s[i].call(r):n=s[i].call(r,n)})(u,5,this),((e,t,r)=>t.has(e)?b("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r))(this,l,0),this.velocity={x:0,y:0}}get delta(){return N.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let r={x:e.x-t.x,y:e.y-t.y};return r.x||r.y?Math.abs(r.x)>Math.abs(r.y)?r.x>0?"right":"left":r.y>0?"down":"up":null}get current(){return super.current}set current(e){let{current:t}=this,r=N.from(e),n={x:r.x-t.x,y:r.y-t.y},i=Date.now(),s=i-I(this,l),a=e=>Math.round(e/s*100);(0,d.vA)(()=>{C(this,l,i),this.velocity={x:a(n.x),y:a(n.y)},super.current=r})}reset(e=this.defaultValue){super.reset(N.from(e)),this.velocity={x:0,y:0}}};function D({x:e,y:t},r){let n=Math.abs(e),i=Math.abs(t);return"number"==typeof r?Math.sqrt(w(n,2)+w(i,2))>r:"x"in r&&"y"in r?n>r.x&&i>r.y:"x"in r?n>r.x:"y"in r&&i>r.y}u=[,,,h(null!=(n=null==o?void 0:o[v("metadata")])?n:null)],l=new WeakMap,j(u,2,"delta",a,T),j(u,2,"direction",s,T),O(u,T);var z=((i=z||{}).Horizontal="x",i.Vertical="y",i),L=Object.values(z)},44530:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"}
1,"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},45657:(e,t,r)=>{"use strict";let{HEX:n}=r(49565),i=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function s(e){if(3>l(e,"."))return{host:e,isIPV4:!1};let[t]=e.match(i)||[];return t?{host:function(e,t){let r="",n=!0,i=e.length;for(let t=0;t<i;t++){let s=e[t];"0"===s&&n?(t+1<=i&&"."===e[t+1]||t+1===i)&&(r+=s,n=!1):(n="."===s,r+=s)}return r}(t,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function a(e,t=!1){let r="",i=!0;for(let t of e){if(void 0===n[t])return;"0"!==t&&!0===i&&(i=!1),i||(r+=t)}return t&&0===r.length&&(r="0"),r}function o(e){if(2>l(e,":"))return{host:e,isIPV6:!1};let t=function(e){let t=0,r={error:!1,address:"",zone:""},n=[],i=[],s=!1,o=!1,l=!1;function u(){if(i.length){if(!1===s){let e=a(i);if(void 0===e)return r.error=!0,!1;n.push(e)}i.length=0}return!0}for(let a=0;a<e.length;a++){let c=e[a];if("["!==c&&"]"!==c)if(":"===c){if(!0===o&&(l=!0),!u())break;if(t++,n.push(":"),t>7){r.error=!0;break}a-1>=0&&":"===e[a-1]&&(o=!0);continue}else if("%"===c){if(!u())break;s=!0}else{i.push(c);continue}}return i.length&&(s?r.zone=i.join(""):l?n.push(i.join("")):n.push(a(i))),r.address=n.join(""),r}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,r=t.address;return t.zone&&(e+="%"+t.zone,r+="%25"+t.zone),{host:e,escapedHost:r,isIPV6:!0}}}function l(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}let u=/^\.\.?\//u,c=/^\/\.(?:\/|$)/u,d=/^\/\.\.(?:\/|$)/u,h=/^\/?(?:.|\n)*?(?=\/|$)/u;e.exports={recomposeAuthority:function(e){let t=[];if(void 0!==e.userinfo&&(t.push(e.userinfo),t.push("@")),void 0!==e.host){let r=unescape(e.host),n=s(r);if(n.isIPV4)r=n.host;else{let t=o(n.host);r=!0===t.isIPV6?`[${t.escapedHost}]`:e.host}t.push(r)}return("number"==typeof e.port||"string"==typeof e.port)&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0},normalizeComponentEncoding:function(e,t){let r=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=r(e.scheme)),void 0!==e.userinfo&&(e.userinfo=r(e.userinfo)),void 0!==e.host&&(e.host=r(e.host)),void 0!==e.path&&(e.path=r(e.path)),void 0!==e.query&&(e.query=r(e.query)),void 0!==e.fragment&&(e.fragment=r(e.fragment)),e},removeDotSegments:function(e){let t=[];for(;e.length;)if(e.match(u))e=e.replace(u,"");else if(e.match(c))e=e.replace(c,"/");else if(e.match(d))e=e.replace(d,"/"),t.pop();else if("."===e||".."===e)e="";else{let r=e.match(h);if(r){let n=r[0];e=e.slice(n.length),t.push(n)}else throw Error("Unexpected dot segment condition")}return t.join("")},normalizeIPv4:s,normalizeIPv6:o,stringArrayToHexStripped:a}},46115:(e,t,r)=>{"use strict";r.d(t,{$v:()=>e_,A$:()=>e$,AI:()=>eN,Dh:()=>ev,EE:()=>eM,Fk:()=>ex,Fm:()=>function e(t,{x:r,y:n}){var i;let s=t.elementFromPoint(r,n);if((null==(i=s)?void 0:i.tagName)==="IFRAME"){let{contentDocument:t}=s;if(t){let{left:i,top:a}=s.getBoundingClientRect();return e(t,{x:r-i,y:n-a})}}return s},Ij:()=>eT,Ob:()=>B,Ot:()=>et,P_:()=>eA,UX:()=>ee,We:()=>eE,XZ:()=>P,YE:()=>z,_m:()=>W,a_:()=>es,ck:()=>eo,dO:()=>er,g:()=>ey,hZ:()=>q,k$:()=>L,kx:()=>eC,nr:()=>Y,o8:()=>eP,qR:()=>V,qt:()=>ed,sb:()=>T,sl:()=>ep,vq:()=>eI,y4:()=>em,yS:()=>ej,zk:()=>N});var n,i,s,a,o,l,u,c,d,h,f,p,m,y,g,v,b,w=r(44087),_=e=>{throw TypeError(e)},$=(e,t,r)=>t.has(e)||_("Cannot "+r),E=(e,t,r)=>($(e,t,"read from private field"),t.get(e)),k=(e,t,r)=>
1t.has(e)?_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),S=(e,t,r,n)=>($(e,t,"write to private field"),t.set(e,r),r),O=(e,t,r)=>($(e,t,"access private method"),r);function j(e){return!!e&&(e instanceof KeyframeEffect||"getKeyframes"in e&&"function"==typeof e.getKeyframes)}function P(e,t){let r=e.getAnimations();if(r.length>0)for(let e of r){if("running"!==e.playState)continue;let{effect:r}=e,n=(j(r)?r.getKeyframes():[]).filter(t);if(n.length>0)return[n[n.length-1],e]}return null}function A(e){let{width:t,height:r,top:n,left:i,bottom:s,right:a}=e.getBoundingClientRect();return{width:t,height:r,top:n,left:i,bottom:s,right:a}}var I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function C(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function M(e){return"nodeType"in e}function N(e){var t,r,n;return e?C(e)?e:M(e)?"defaultView"in e?null!=(t=e.defaultView)?t:window:null!=(n=null==(r=e.ownerDocument)?void 0:r.defaultView)?n:window:window:window}function R(e){let{Document:t}=N(e);return e instanceof t||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function T(e){return!(!e||C(e))&&(e instanceof N(e).HTMLElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("html"))}function D(e){return e instanceof N(e).SVGElement||"namespaceURI"in e&&"string"==typeof e.namespaceURI&&e.namespaceURI.endsWith("svg")}function z(e){return e?C(e)?e.document:M(e)?R(e)?e:T(e)||D(e)?e.ownerDocument:document:document:document}function L(e,t=e.getBoundingClientRect(),r=0){var n;let i=t,{ownerDocument:s}=e,a=null!=(n=s.defaultView)?n:window,o=e.parentElement;for(;o&&o!==s.documentElement;){if(!function(e,t){if("DETAILS"===e.tagName&&!1===e.open)return!1;let{overflow:r,overflowX:n,overflowY:i}=getComputedStyle(e);return"visible"===r&&"visible"===n&&"visible"===i}(o)){let e=o.getBoundingClientRect(),t=r*(e.bottom-e.top),n=r*(e.right-e.left),s=r*(e.bottom-e.top),a=r*(e.right-e.left);(i={top:Math.max(i.top,e.top-t),right:Math.min(i.right,e.right+n),bottom:Math.min(i.bottom,e.bottom+s),left:Math.max(i.left,e.left-a),width:0,height:0}).width=i.right-i.left,i.height=i.bottom-i.top}o=o.parentElement}let l=a.innerWidth,u=a.innerHeight,c=r*u,d=r*l;return(i={top:Math.max(i.top,0-c),right:Math.min(i.right,l+d),bottom:Math.min(i.bottom,u+c),left:Math.max(i.left,0-d),width:0,height:0}).width=i.right-i.left,i.height=i.bottom-i.top,i.width<0&&(i.width=0),i.height<0&&(i.height=0),i}function Y(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function B(e){let t="input, textarea, select, canvas, [contenteditable]",r=e.cloneNode(!0),n=Array.from(e.querySelectorAll(t));return Array.from(r.querySelectorAll(t)).forEach((e,t)=>{let r=n[t];if(U(e)&&U(r)&&("file"!==e.type&&(e.value=r.value),"radio"===e.type&&e.name&&(e.name=`Cloned__${e.name}`)),F(e)&&F(r)&&r.width>0&&r.height>0){let t=e.getContext("2d");null==t||t.drawImage(r,0,0)}}),r}function U(e){return"value"in e}function F(e){return"CANVAS"===e.tagName}var q=new WeakMap,V=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[t,{type:r,listener:n,options:i}]=e;t.removeEventListener(r,n,i)}this.entries.clear()}}bind(e,t){let r=Array.isArray(t)?t:[t],n=[];for(let t of r){let{type:r,listener:i,options:s}=t,a=[e,t];e.addEventListener(r,i,s),this.entries.add(a),n.push(a)}return function(){for(let[e,{type:t,listener:r,options:i}]of n)e.removeEventListener(t,r,i)}}};function W(e){let t=null==e?void 0:e.ownerDocument.defaultView;if(t&&t.self!==t.parent)return t.frameElement}function K(e,t){let r,n;return function(...i){let s=this;if(n){let a;null==r||r(),a=setTimeout(()=>{e.apply(s,i),n=performance.now()},t-(performance.now()-n)),r=()=>clearTimeout(a)}else e.apply(s,i),n=performance.now()}}var H=I?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},G=class extends H{constructor(e){super(t=>{E(this,i)?e(t,this):S(this,i,!0)}),k(this,i,!1)}};i=new WeakMap;var Z=Array.from({length:100},(e,t)=>t/100),X=class{constructor(e,t,r={debug:!1,skipInitial:!1}){this.element=e,this.callback=t,k(this,f),this.disconnect=()=>{var e,t,r;S(this,d,!0),null==(e=E(this,o))||e.disconnect(),null==(t=E(this,l))||t.disconnect(),E(this,u).disconnect(),null==(r=E(this,c))||r.remove()},k(this,s,!0),k(this,a),k(this,o),k(this,l),k(this,u),k(this,c),k(this,d,!1),k(this,h,K(()=>{var e,t,r;let{element:n}=this;if(null==(e=E(this,l))||e.disconnect(),E(this,d)||!E(this,s)||!n.isConnected)return;let i=null!=(t=n.ownerDocument)?t:document,{innerHeight:a,innerWidth:o}=null!=(r=i.defaultView)?r:window,u=n.getBoundingClientRect(),{top:c,left:m,bottom:y,right:g}=L(n,u),v=-Math.floor(c),b=-Math.floor(m),_=-Math.floor(o-g),$=-Math.floor(a-y),
1k=`${v}px ${_}px ${$}px ${b}px`;this.boundingClientRect=u,S(this,l,new IntersectionObserver(e=>{let[t]=e,{intersectionRect:r}=t;1!==(1!==t.intersectionRatio?t.intersectionRatio:w.M_.intersectionRatio(r,L(n)))&&E(this,h).call(this)},{threshold:Z,rootMargin:k,root:i})),E(this,l).observe(n),O(this,f,p).call(this)},75)),this.boundingClientRect=e.getBoundingClientRect(),S(this,s,function(e,t=e.getBoundingClientRect()){let{width:r,height:n}=L(e,t);return r>0&&n>0}(e,this.boundingClientRect));let n=!0;this.callback=e=>{n&&(n=!1,r.skipInitial)||t(e)};const i=e.ownerDocument;(null==r?void 0:r.debug)&&(S(this,c,document.createElement("div")),E(this,c).style.background="rgba(0,0,0,0.15)",E(this,c).style.position="fixed",E(this,c).style.pointerEvents="none",i.body.appendChild(E(this,c))),S(this,u,new IntersectionObserver(t=>{var r,n;let{boundingClientRect:i,isIntersecting:a}=t[t.length-1],{width:u,height:d}=i,f=E(this,s);S(this,s,a),(u||d)&&(f&&!a?(null==(r=E(this,l))||r.disconnect(),this.callback(null),null==(n=E(this,o))||n.disconnect(),S(this,o,void 0),E(this,c)&&(E(this,c).style.visibility="hidden")):E(this,h).call(this),a&&!E(this,o)&&(S(this,o,new G(E(this,h))),E(this,o).observe(e)))},{threshold:Z,root:i})),E(this,s)&&!r.skipInitial&&this.callback(this.boundingClientRect),E(this,u).observe(e)}};s=new WeakMap,a=new WeakMap,o=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,h=new WeakMap,f=new WeakSet,p=function(){var e,t;!E(this,d)&&(O(this,f,m).call(this),(e=this.boundingClientRect)===(t=E(this,a))||e&&t&&e.top==t.top&&e.left==t.left&&e.right==t.right&&e.bottom==t.bottom||(this.callback(this.boundingClientRect),S(this,a,this.boundingClientRect)))},m=function(){if(E(this,c)){let{top:e,left:t,width:r,height:n}=L(this.element);E(this,c).style.overflow="hidden",E(this,c).style.visibility="visible",E(this,c).style.top=`${Math.floor(e)}px`,E(this,c).style.left=`${Math.floor(t)}px`,E(this,c).style.width=`${Math.floor(r)}px`,E(this,c).style.height=`${Math.floor(n)}px`}};var J=new WeakMap,Q=new WeakMap,ee=class{constructor(e,t,r){this.callback=t,k(this,y),k(this,g,!1),k(this,v),k(this,b,K(e=>{if(!E(this,g)&&e.target&&"contains"in e.target&&"function"==typeof e.target.contains){for(let t of E(this,v))if(e.target.contains(t)){this.callback(E(this,y).boundingClientRect);break}}},75));const n=function(e){let t=new Set,r=W(e);for(;r;)t.add(r),r=W(r);return t}(e),i=function(e,t){let r=new Set;for(let n of e){let e=function(e,t){let r=J.get(e);return r||(r={disconnect:new X(e,t=>{let r=J.get(e);r&&r.callbacks.forEach(e=>e(t))},{skipInitial:!0}).disconnect,callbacks:new Set}),r.callbacks.add(t),J.set(e,r),()=>{r.callbacks.delete(t),0===r.callbacks.size&&(J.delete(e),r.disconnect())}}(n,t);r.add(e)}return()=>r.forEach(e=>e())}(n,t),s=function(e,t){var r;let n=e.ownerDocument;if(!Q.has(n)){let e=new AbortController,t=new Set;document.addEventListener("scroll",e=>t.forEach(t=>t(e)),{capture:!0,passive:!0,signal:e.signal}),Q.set(n,{disconnect:()=>e.abort(),listeners:t})}let{listeners:i,disconnect:s}=null!=(r=Q.get(n))?r:{};return i&&s?(i.add(t),()=>{i.delete(t),0===i.size&&(s(),Q.delete(n))}):()=>{}}(e,E(this,b));S(this,v,n),S(this,y,new X(e,t,r)),this.disconnect=()=>{E(this,g)||(S(this,g,!0),i(),s(),E(this,y).disconnect())}}};function et(e){return"showPopover"in e&&"hidePopover"in e&&"function"==typeof e.showPopover&&"function"==typeof e.hidePopover}function er(e){try{et(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open")&&e.showPopover()}catch(e){}}function en(e){return!!I&&!!e&&e===z(e).scrollingElement}function ei(e){let t=N(e),r=en(e)?function(e){let{documentElement:t}=z(e),r=t.clientWidth,n=t.clientHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}(e):A(e),n=en(e)?{height:t.innerHeight,width:t.innerWidth}:{height:e.clientHeight,width:e.clientWidth},i={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-n.width,y:e.scrollHeight-n.height}},s=i.current.y<=0,a=i.current.x<=0,o=i.current.y>=i.max.y,l=i.current.x>=i.max.x;return{rect:r,position:i,isTop:s,isLeft:a,isBottom:o,isRight:l}}function es(e,t){let{isTop:r,isBottom:n,isLeft:i,isRight:s,position:a}=ei(e),{x:o,y:l}=null!=t?t:{x:0,y:0},u=!r&&a.current.y+l>0,c=!n&&a.current.y+l<a.max.y,d=!i&&a.current.x+o>0,h=!s&&a.current.x+o<a.max.x;return{top:u,bottom:c,left:d,right:h,x:d||h,y:u||c}}y=new WeakMap,g=new WeakMap,v=new WeakMap,b=new WeakMap;
1var ea=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}},eo=new ea(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),el=new ea(e=>setTimeout(e,50)),eu=new Map,ec=eu.clear.bind(eu);function ed(e,t=!1){if(!t)return eh(e);let r=eu.get(e);return r||(r=eh(e),eu.set(e,r),el.schedule(ec)),r}function eh(e){return N(e).getComputedStyle(e)}var ef={excludeElement:!0};function ep(e,t=ef){let{limit:r,excludeElement:n}=t,i=new Set;return e?function t(s){if(null!=r&&i.size>=r||!s)return i;if(R(s)&&null!=s.scrollingElement&&!i.has(s.scrollingElement))return i.add(s.scrollingElement),i;if(!T(s))return D(s)?t(s.parentElement):i;if(i.has(s))return i;let a=ed(s,!0);if(n&&s===e||function(e,t=ed(e,!0)){let r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let n=t[e];return"string"==typeof n&&r.test(n)})}(s,a)&&i.add(s),function(e,t=ed(e,!0)){return"fixed"===t.position||"sticky"===t.position}(s,a)){let{scrollingElement:e}=s.ownerDocument;return e&&i.add(e),i}return t(s.parentNode)}(e):i}function em(e,t=window.frameElement){let r={x:0,y:0,scaleX:1,scaleY:1};if(!e)return r;let n=W(e);for(;n&&n!==t;){let e=A(n),{x:t,y:i}=function(e,t=A(e)){let r=Math.round(t.width),n=Math.round(t.height);if(T(e))return{x:r/e.offsetWidth,y:n/e.offsetHeight};let i=ed(e,!0);return{x:(parseFloat(i.width)||r)/r,y:(parseFloat(i.height)||n)/n}}(n,e);r.x=r.x+e.left,r.y=r.y+e.top,r.scaleX=r.scaleX*t,r.scaleY=r.scaleY*i,n=W(n)}return r}function ey(e){if("none"===e)return null;let[t,r,n="0"]=e.split(" "),i={x:parseFloat(t),y:parseFloat(r),z:parseInt(n,10)};return isNaN(i.x)&&isNaN(i.y)?null:{x:isNaN(i.x)?0:i.x,y:isNaN(i.y)?0:i.y,z:isNaN(i.z)?0:i.z}}function eg(e){var t,r,n,i,s,a,o,l,u;let{scale:c,transform:d,translate:h}=e,f=function(e){if("none"===e)return null;let t=e.split(" "),r=parseFloat(t[0]),n=parseFloat(t[1]);return isNaN(r)&&isNaN(n)?null:{x:isNaN(r)?n:r,y:isNaN(n)?r:n}}(c),p=ey(h),m=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(d);if(!m&&!f&&!p)return null;let y={x:null!=(t=null==f?void 0:f.x)?t:1,y:null!=(r=null==f?void 0:f.y)?r:1},g={x:null!=(n=null==p?void 0:p.x)?n:0,y:null!=(i=null==p?void 0:p.y)?i:0},v={x:null!=(s=null==m?void 0:m.x)?s:0,y:null!=(a=null==m?void 0:m.y)?a:0,scaleX:null!=(o=null==m?void 0:m.scaleX)?o:1,scaleY:null!=(l=null==m?void 0:m.scaleY)?l:1};return{x:g.x+v.x,y:g.y+v.y,z:null!=(u=null==p?void 0:p.z)?u:0,scaleX:y.x*v.scaleX,scaleY:y.y*v.scaleY}}var ev=((n=ev||{})[n.Idle=0]="Idle",n[n.Forward=1]="Forward",n[n.Reverse=-1]="Reverse",n),eb={x:.2,y:.2},ew={x:10,y:10};function ex(e,t,r,n=25,i=eb,s=ew){let{x:a,y:o}=t,{rect:l,isTop:u,isBottom:c,isLeft:d,isRight:h}=ei(e),f=em(e),p=eg(ed(e,!0)),m=null!==p&&(null==p?void 0:p.scaleX)<0,y=null!==p&&(null==p?void 0:p.scaleY)<0,g=new w.M_(l.left*f.scaleX+f.x,l.top*f.scaleY+f.y,l.width*f.scaleX,l.height*f.scaleY),v={x:0,y:0},b={x:0,y:0},_={height:g.height*i.y,width:g.width*i.x};return(!u||y&&!c)&&o<=g.top+_.height&&(null==r?void 0:r.y)!==1&&a>=g.left-s.x&&a<=g.right+s.x?(v.y=y?1:-1,b.y=n*Math.abs((g.top+_.height-o)/_.height)):(!c||y&&!u)&&o>=g.bottom-_.height&&(null==r?void 0:r.y)!==-1&&a>=g.left-s.x&&a<=g.right+s.x&&(v.y=y?-1:1,b.y=n*Math.abs((g.bottom-_.height-o)/_.height)),(!h||m&&!d)&&a>=g.right-_.width&&(null==r?void 0:r.x)!==-1&&o>=g.top-s.y&&o<=g.bottom+s.y?(v.x=m?-1:1,b.x=n*Math.abs((g.right-_.width-a)/_.width)):(!d||m&&!h)&&a<=g.left+_.width&&(null==r?void 0:r.x)!==1&&o>=g.top-s.y&&o<=g.bottom+s.y&&(v.x=m?1:-1,b.x=n*Math.abs((g.left+_.width-a)/_.width)),{direction:v,speed:b}}function e_(e,t=!1){if("scrollIntoViewIfNeeded"in e&&"function"==typeof e.scrollIntoViewIfNeeded)return void e.scrollIntoViewIfNeeded(t);if(!T(e))return e.scrollIntoView();var r=function(e){let[t]=ep(e,{limit:1});return null!=t?t:null}(e);if(!T(r))return;let n=ed(r,!0),i=parseInt(n.getPropertyValue("border-top-width")),s=parseInt(n.getPropertyValue("border-left-width")),a=e.offsetTop-r.offsetTop<r.scrollTop,o=e.offsetTop-r.offsetTop+e.clientHeight-i>r.scrollTop+r.clientHeight,l=e.offsetLeft-r.offsetLeft<r.scrollLeft,u=e.offsetLeft-r.offsetLeft+e.clientWidth-s>r.scrollLeft+r.clientWidth;(a||o)&&t&&(r.scrollTop=e.offsetTop-r.offsetTop-r.clientHeight/2-i+e.clientHeight/2),(l||u)&&t&&(r.scrollLeft=e.offsetLeft-r.offsetLeft-r.clientWidth/2-s+e.clientWidth/2),(a||o||l||u)&&!t&&e.scrollIntoView(a&&!o)}function e$({element:e,keyframes:t,options:r}){return e.animate(t,r).finished}function eE(e,t=ed(e).translate,r=!0){if(r){let t=P(e,e=>"translate"in e);if(t){let{translate:e=""}=t[0];if("string"==typeof e){let t=ey(e);if(t)return t}}}if(t){let e=ey(t);if(e)return e}return{x:0,y:0,z:0}}var ek=new ea(e=>setTimeout(e,0)),eS=new Map,eO=eS.clear.bind(eS),ej=class extends w.M_{constructor(e,t={}){var r,n,i,s;let a;const{frameTransform:o=em(e),ignoreTransforms:l,getBoundingClientRect:u=A}=t,c=function(e,t){let r=(function(e){let t=e.ownerDocument,r=eS.get(t);if(r)return r;r=t.getAnimations(),eS.set(t,r),ek.schedule(eO);let n=r.filter(t=>j(t.effect)&&t.effect.target===e);return eS.set(e,n),r})(e).filter(e=>{var r,n;if(j(e.effect)){let{target:i}=e.effect;if(null==(n=i&&(null==(r=t.isValidTarget)?void 0:r.call(t,i)))||n)return e.effect.getKeyframes().some(e=>{for(let r of t.properties)if(e[r])return!0})}}).map(e=>{let{effect:t,currentTime:r}=e,n=null==t?void 0:t.getComputedTiming().duration;if(!e.pending&&"finished"!==e.playState&&"number"==typeof n&&"number"==typeof r&&r<n)return e.currentTime=n,()=>{e.currentTime=r}});if(r.length>0)return()=>
1r.forEach(e=>null==e?void 0:e())}(e,{properties:["transform","translate","scale","width","height"],isValidTarget:t=>(t!==e||Y())&&t.contains(e)}),d=u(e);let{top:h,left:f,width:p,height:m}=d;const y=ed(e),g=eg(y),v={x:null!=(r=null==g?void 0:g.scaleX)?r:1,y:null!=(n=null==g?void 0:g.scaleY)?n:1},b=function(e,t){var r;let n=e.getAnimations(),i=null;if(!n.length)return null;for(let e of n){if("running"!==e.playState)continue;let n=j(e.effect)?e.effect.getKeyframes():[],s=n[n.length-1];if(!s)continue;let{transform:a,translate:o,scale:l}=s;if(a||o||l){let e=eg({transform:"string"==typeof a&&a?a:t.transform,translate:"string"==typeof o&&o?o:t.translate,scale:"string"==typeof l&&l?l:t.scale});e&&(i=i?{x:i.x+e.x,y:i.y+e.y,z:null!=(r=i.z)?r:e.z,scaleX:i.scaleX*e.scaleX,scaleY:i.scaleY*e.scaleY}:e)}}return i}(e,y);null==c||c(),g&&(a=function(e,t,r){let{scaleX:n,scaleY:i,x:s,y:a}=t,o=e.left-s-(1-n)*parseFloat(r),l=e.top-a-(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=n?e.width/n:e.width,c=i?e.height/i:e.height;return{width:u,height:c,top:l,right:o+u,bottom:l+c,left:o}}(d,g,y.transformOrigin),(l||b)&&(h=a.top,f=a.left,p=a.width,m=a.height));const w={width:null!=(i=null==a?void 0:a.width)?i:p,height:null!=(s=null==a?void 0:a.height)?s:m};if(b&&!l&&a){const e=function(e,t,r){let{scaleX:n,scaleY:i,x:s,y:a}=t,o=e.left+s+(1-n)*parseFloat(r),l=e.top+a+(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=n?e.width*n:e.width,c=i?e.height*i:e.height;return{width:u,height:c,top:l,right:o+u,bottom:l+c,left:o}}(a,b,y.transformOrigin);h=e.top,f=e.left,p=e.width,m=e.height,v.x=b.scaleX,v.y=b.scaleY}o&&(l||(f*=o.scaleX,p*=o.scaleX,h*=o.scaleY,m*=o.scaleY),f+=o.x,h+=o.y),super(f,h,p,m),this.scale=v,this.intrinsicWidth=w.width,this.intrinsicHeight=w.height}};function eP(e){return"style"in e&&"object"==typeof e.style&&null!==e.style&&"setProperty"in e.style&&"removeProperty"in e.style&&"function"==typeof e.style.setProperty&&"function"==typeof e.style.removeProperty}var eA=class{constructor(e){this.element=e,this.initial=new Map}set(e,t=""){let{element:r}=this;if(eP(r))for(let[n,i]of Object.entries(e)){let e=`${t}${n}`;this.initial.has(e)||this.initial.set(e,r.style.getPropertyValue(e)),r.style.setProperty(e,"string"==typeof i?i:`${i}px`)}}remove(e,t=""){let{element:r}=this;if(eP(r))for(let n of e){let e=`${t}${n}`;r.style.removeProperty(e)}}reset(){let{element:e}=this;if(eP(e)){for(let[t,r]of this.initial)e.style.setProperty(t,r);""===e.getAttribute("style")&&e.removeAttribute("style")}}};function eI(e){return!!e&&(e instanceof N(e).Element||M(e)&&e.nodeType===Node.ELEMENT_NODE)}function eC(e){if(!e)return!1;let{KeyboardEvent:t}=N(e.target);return e instanceof t}function eM(e){if(!e)return!1;let{PointerEvent:t}=N(e.target);return e instanceof t}function eN(e){var t;if(!eI(e))return!1;let{tagName:r}=e;return"INPUT"===r||"TEXTAREA"===r||(t=e).hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable")}var eR={};function eT(e){let t=null==eR[e]?0:eR[e]+1;return eR[e]=t,`${e}-${t}`}},48463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;let n=r(77637),i=r(75292),s=r(30199),a=r(16683),o=r(11865),l=r(94864);class u{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!=(t=e.baseId)?t:(0,a.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function c(e){let t,r,o=h.call(this,e);if(o)return o;let u=(0,a.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:c,lines:d}=this.opts.code,{ownProperties:f}=this.opts,p=new n.CodeGen(this.scope,{es5:c,lines:d,ownProperties:f});e.$async&&(t=p.scopeValue("Error",{ref:i.default,code:(0,n._)`require("ajv/dist/runtime/validation_error").default`}));let m=p.scopeName("validate");e.validateName=m;let y={gen:p,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:p.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:m,ValidationError:t,schema:e.schema,schemaEnv:e,rootId:u,baseId:e.baseId||u,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,n._)`""`,opts:this.opts,self:this};try{this._compilations.add(e),(0,l.validateFunctionCode)(y),p.optimize(this.opts.code.optimize);let t=p.toString();r=`${p.scopeRefs(s.default.scope)}return ${t}`,this.opts.code.process&&(r=this.opts.code.process(r,e));let i=Function(`${s.default.self}`,`${s.default.scope}`,r)(this,this.scope.get());if(this.scope.value(m,{ref:i}),i.errors=null,i.schema=e.schema,i.schemaEnv=e,e.$async&&(i.$async=!0),!0===this.opts.code.source&&(i.source={validateName:m,validateCode:t,scopeValues:p._values}),this.opts.unevaluated){let{props:e,items:t}=y;i.evaluated={props:e instanceof n.Name?void 0:e,items:t instanceof n.Name?void 0:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name},i.source&&(i.source.evaluated=(0,n.stringify)(i.evaluated))}return e.validate=i,e}catch(t){throw delete e.validate,delete e.validateName,r&&this.logger.error("Error compiling schema, function code:",r),t}finally{this._compilations.delete(e)}}function d(e){return(0,a.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function h(e){for(let n of this._compilations){var t,r;if(t=n,r=e,t.schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return n}}function f(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||p.call(this,e,t)}function p(e,t){let r=this.opts.uriResolver.parse(t),n=(0,a._getFullPath)(this.opts.uriResolver,r),i=(0,a.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>
10&&n===i)return y.call(this,r,e);let s=(0,a.normalizeId)(n),o=this.refs[s]||this.schemas[s];if("string"==typeof o){let t=p.call(this,e,o);if("object"!=typeof(null==t?void 0:t.schema))return;return y.call(this,r,t)}if("object"==typeof(null==o?void 0:o.schema)){if(o.validate||c.call(this,o),s===(0,a.normalizeId)(t)){let{schema:t}=o,{schemaId:r}=this.opts,n=t[r];return n&&(i=(0,a.resolveUrl)(this.opts.uriResolver,i,n)),new u({schema:t,schemaId:r,root:e,baseId:i})}return y.call(this,r,o)}}t.SchemaEnv=u,t.compileSchema=c,t.resolveRef=function(e,t,r){var n;r=(0,a.resolveUrl)(this.opts.uriResolver,t,r);let i=e.refs[r];if(i)return i;let s=f.call(this,e,r);if(void 0===s){let i=null==(n=e.localRefs)?void 0:n[r],{schemaId:a}=this.opts;i&&(s=new u({schema:i,schemaId:a,root:e,baseId:t}))}if(void 0!==s)return e.refs[r]=d.call(this,s)},t.getCompilingSchema=h,t.resolveSchema=p;let m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function y(e,{baseId:t,schema:r,root:n}){var i;let s;if((null==(i=e.fragment)?void 0:i[0])!=="/")return;for(let n of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;let e=r[(0,o.unescapeFragment)(n)];if(void 0===e)return;let i="object"==typeof(r=e)&&r[this.opts.schemaId];!m.has(n)&&i&&(t=(0,a.resolveUrl)(this.opts.uriResolver,t,i))}if("boolean"!=typeof r&&r.$ref&&!(0,o.schemaHasRulesButRef)(r,this.RULES)){let e=(0,a.resolveUrl)(this.opts.uriResolver,t,r.$ref);s=p.call(this,n,e)}let{schemaId:l}=this.opts;if((s=s||new u({schema:r,schemaId:l,root:n,baseId:t})).schema!==s.root.schema)return s}},48592:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},48596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(3428),i=r(80680),s=r(58766),a=r(20760),o=r(58373);t.default=[n.default,i.default,(0,s.default)(),a.default,o.metadataVocabulary,o.contentVocabulary]},49067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;let n=r(77637),i=r(11865),s=r(7293);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>(0,n.str)`must have ${1===t?"property":"properties"} ${r} when property ${e} is present`,params:({params:{property:e,depsCount:t,deps:r,missingProperty:i}})=>(0,n._)`{property: ${e}, 2 missingProperty: ${i}, 3 depsCount: ${t}, 4 deps: ${r}}`};let a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){let[t,r]=function({schema:e}){let t={},r={};for(let n in e)"__proto__"!==n&&((Array.isArray(e[n])?t:r)[n]=e[n]);return[t,r]}(e);o(e,t),l(e,r)}};function o(e,t=e.schema){let{gen:r,data:i,it:a}=e;if(0===Object.keys(t).length)return;let l=r.let("missing");for(let o in t){let u=t[o];if(0===u.length)continue;let c=(0,s.propertyInData)(r,i,o,a.opts.ownProperties);e.setParams({property:o,depsCount:u.length,deps:u.join(", ")}),a.allErrors?r.if(c,()=>{for(let t of u)(0,s.checkReportMissingProp)(e,t)}):(r.if((0,n._)`${c} && (${(0,s.checkMissingProp)(e,u,l)})`),(0,s.reportMissingProp)(e,l),r.else())}}function l(e,t=e.schema){let{gen:r,data:n,keyword:a,it:o}=e,u=r.name("valid");for(let l in t)(0,i.alwaysValidSchema)(o,t[l])||(r.if((0,s.propertyInData)(r,n,l,o.opts.ownProperties),()=>{let t=e.subschema({keyword:a,schemaProp:l},u);e.mergeValidEvaluated(t,u)},()=>r.var(u,!0)),e.ok(u))}t.validatePropertyDeps=o,t.validateSchemaDeps=l,t.default=a},49088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(60352),i=r(66651),s=r(77637),a=new s.Name("fullFormats"),o=new s.Name("fastFormats"),l=(e,t={keywords:!0})=>{if(Array.isArray(t))return u(e,t,n.fullFormats,a),e;let[r,s]="fast"===t.mode?[n.fastFormats,o]:[n.fullFormats,a];return u(e,t.formats||n.formatNames,r,s),t.keywords&&i.default(e),e};function u(e,t,r,n){var i;
4for(let a of(null!=(i=e.opts.code).formats||(i.formats=s._`require("ajv-formats/dist/formats").${n}`),t))e.addFormat(a,r[a])}l.get=(e,t="full")=>{let r=("fast"===t?n.fastFormats:n.fullFormats)[e];if(!r)throw Error(`Unknown format "${e}"`);return r},e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l},49264:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});let n=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i||null===i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,s={setState:n,getState:i,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,i,s);return s},i=e=>e?n(e):n},49565:e=>{"use strict";e.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}},49734:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(7293),i=r(77637),s=r(30199),a=r(11865);t.default={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>(0,i._)`{additionalProperty: ${e.additionalProperty}}`},code(e){let{gen:t,schema:r,parentSchema:o,data:l,errsCount:u,it:c}=e;if(!u)throw Error("ajv implementation error");let{allErrors:d,opts:h}=c;if(c.props=!0,"all"!==h.removeAdditional&&(0,a.alwaysValidSchema)(c,r))return;let f=(0,n.allSchemaProperties)(o.properties),p=(0,n.allSchemaProperties)(o.patternProperties);function m(e){t.code((0,i._)`delete ${l}[${e}]`)}function y(n){if("all"===h.removeAdditional||h.removeAdditional&&!1===r)return void m(n);if(!1===r){e.setParams({additionalProperty:n}),e.error(),d||t.break();return}if("object"==typeof r&&!(0,a.alwaysValidSchema)(c,r)){let r=t.name("valid");"failing"===h.removeAdditional?(g(n,r,!1),t.if((0,i.not)(r),()=>{e.reset(),m(n)})):(g(n,r),d||t.if((0,i.not)(r),()=>t.break()))}}function g(t,r,n){let i={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===n&&Object.assign(i,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(i,r)}t.forIn("key",l,r=>{f.length||p.length?t.if(function(r){let s;if(f.length>8){let e=(0,a.schemaRefOrVal)(c,o.properties,"properties");s=(0,n.isOwnProperty)(t,e,r)}else s=f.length?(0,i.or)(...f.map(e=>(0,i._)`${r} === ${e}`)):i.nil;return p.length&&(s=(0,i.or)(s,...p.map(t=>(0,i._)`${(0,n.usePattern)(e,t)}.test(${r})`))),(0,i.not)(s)}(r),()=>y(r)):y(r)}),e.ok((0,i._)`${u} === ${s.default.errors}`)}}},50756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(87492);n.code='require("ajv/dist/runtime/uri").default',t.default=n},51662:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637);t.default={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>(0,n.str)`must NOT have ${"maxProperties"===e?"more":"fewer"} than ${t} properties`,params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`},code(e){let{keyword:t,data:r,schemaCode:i}=e,s="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data((0,n._)`Object.keys(${r}).length ${s} ${i}`)}}},51867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(23910),i=r(57969);t.default=[n.default,i.default]},52186:(e,t,r)=>{"use strict";r.d(t,{I:()=>d,e:()=>f});var n=r(73737),i=r(27874),s=r(52340),a=r(16236),o=r(14862),l=r(12115),u=r(95155);(0,o.hY)();var c=(0,a.d)("RichTextEditor",n.o),d=(0,l.memo)(({children:e,menu:t,readOnly:r=!1,field:n,inline:i=!1,editor:a,id:o})=>{let{initialHeight:d}=n,h=(0,s.CU)(e=>{var t;return(null==(t=e.currentRichText)?void 0:t.id)===o&&i===e.currentRichText.inline}),f=(0,s.sL)(),p=(0,l.useCallback)(e=>{var t,r;(e.metaKey||e.ctrlKey)&&"i"===e.key.toLowerCase()&&(e.stopPropagation(),e.preventDefault(),null==(r=null==a?void 0:(t=a.commands).toggleItalic)||r.call(t)),"backspace"===e.key.toLowerCase()&&e.stopPropagation()},[a]),m=(0,l.useCallback)(e=>{var t,r;let n=!!(null==(r=null==(t=e.relatedTarget)?void 0:t.closest)?void 0:r.call(t,"[data-puck-rte-menu]"));e.relatedTarget&&!n?f.setState({currentRichText:null}):e.stopPropagation()},[f]);return(0,u.jsxs)("div",{className:c({editor:!i,inline:i,isActive:h,disabled:r}),style:i?{}:{height:null!=d?d:192,overflowY:"auto"},onKeyDownCapture:p,onBlur:m,children:[!i&&(0,u.jsx)("div",{className:c("menu"),children:t}),e]})});d.displayName="EditorInner",(0,o.hY)();var h=(0,l.lazy)(()=>Promise.all([r.e(67598),r.e(11194),r.e(26951),r.e(31293),r.e(62603)]).then(r.bind(r,62603)).then(e=>({default:e.LoadedRichTextMenuFull}))),f=e=>(0,u.jsx)(l.Suspense,{fallback:(0,u.jsx)(i.sc,(0,o.IA)({},e)),children:(0,u.jsx)(h,(0,o.IA)({},e))})},52340:(e,t,r)=>{"use strict";let n;r.d(t,{xd:()=>ta,mT:()=>to,TU:()=>tn,GY:()=>tl,yN:()=>tu,yQ:()=>tc,c_:()=>td,rX:()=>th,Dc:()=>tf,Cy:()=>tp,Bq:()=>rc,QR:()=>tm,AB:()=>ty,Yb:()=>tg,J:()=>tv,qz:()=>tb,pj:()=>tw,Vw:()=>tx,DZ:()=>ti,_:()=>t_,fV:()=>t$,_B:()=>tE,f_:()=>tk,mM:()=>tS,TT:()=>tO,J2:()=>tj,zg:()=>tP,D6:()=>tA,N_:()=>tI,B8:()=>ts,cM:()=>tC,LM:()=>tN,eV:()=>tM,h1:()=>tR,xq:()=>tT,Hs:()=>tD,VA:()=>tz,e6:()=>tL,jz:()=>tY,FW:()=>tB,Pk:()=>tU,fL:()=>tF,HZ:()=>tq,vj:()=>tV,Yq:()=>rO,lC:()=>tW,wO:()=>tK,pJ:()=>tH,Gk:()=>tG,jp:()=>tZ,Yf:()=>tX,lM:()=>tJ,ZU:()=>tQ,z2:()=>t0,bE:()=>t1,X:()=>t2,$Z:()=>t5,en:()=>t6,u0:()=>ro,pq:()=>ra,YH:()=>rx,uK:()=>t7,FQ:()=>rf,HC:()=>rp,CU:()=>rl,sL:()=>ru,ym:()=>rd,EE:()=>t9,RU:()=>t8,os:()=>ri,Fz:()=>rt,DQ:()=>rn,Zr:()=>r_});var i,s=r(3386),a=r(56705),o=r(16236),l=r(88687),u=r(14862),c=r(12115),d=r.t(c,2),h=r(39704),f=r(35761);function p(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function y(...e){return t=>{let r=!1,n=e.map(e=>{let n=m(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():m(e[t],null)}}}}function g(...e){return c.useCallback(y(...e),e)}"undefined"!=typeof window&&window.document&&window.document.createElement;var v=r(95155);function b(e,t=[]){let r=[],n=()=>{let t=r.map(e=>c.createContext(e));return function(r){let n=r?.[e]||t;return c.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let i=c.createContext(n),s=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,o=r?.[e]?.[s]||i,l=c.useMemo(()=>a,Object.values(a));return(0,v.jsx)(o.Provider,{value:l,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let o=a?.[e]?.[s]||i,l=c.useContext(o);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}var w=r(47650);function _(e){var t;let r,n=(t=e,(r=c.forwardRef((e,t)=>
4{let{children:r,...n}=e;if(c.isValidElement(r)){var i;let e,s,a=(i=r,(s=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),o=function(e,t){let r={...t};for(let n in t){let i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...s}:"className"===n&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==c.Fragment&&(o.ref=t?y(t,a):a),c.cloneElement(r,o)}return c.Children.count(r)>1?c.Children.only(null):null})).displayName=`${t}.SlotClone`,r),i=c.forwardRef((e,t)=>{let{children:r,...i}=e,s=c.Children.toArray(r),a=s.find(E);if(a){let e=a.props.children,r=s.map(t=>t!==a?t:c.Children.count(e)>1?c.Children.only(null):c.isValidElement(e)?e.props.children:null);return(0,v.jsx)(n,{...i,ref:t,children:c.isValidElement(e)?c.cloneElement(e,void 0,r):null})}return(0,v.jsx)(n,{...i,ref:t,children:r})});return i.displayName=`${e}.Slot`,i}var $=Symbol("radix.slottable");function E(e){return c.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===$}var k=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=_(`Primitive.${t}`),n=c.forwardRef((e,n)=>{let{asChild:i,...s}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,v.jsx)(i?r:t,{...s,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function S(e){let t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...e)=>t.current?.(...e),[])}var O="dismissableLayer.update",j=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),P=c.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:l,...u}=e,d=c.useContext(j),[h,f]=c.useState(null),m=h?.ownerDocument??globalThis?.document,[,y]=c.useState({}),b=g(t,e=>f(e)),w=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),$=w.indexOf(_),E=h?w.indexOf(h):-1,P=d.layersWithOutsidePointerEventsDisabled.size>0,C=E>=$,M=function(e,t=globalThis?.document){let r=S(e),n=c.useRef(!1),i=c.useRef(()=>{});return c.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){I("dismissableLayer.pointerDownOutside",r,s,{discrete:!0})},s={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...d.branches].some(e=>e.contains(t));C&&!r&&(s?.(e),o?.(e),e.defaultPrevented||l?.())},m),N=function(e,t=globalThis?.document){let r=S(e),n=c.useRef(!1);return c.useEffect(()=>{let e=e=>{e.target&&!n.current&&I("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(a?.(e),o?.(e),e.defaultPrevented||l?.())},m);return!function(e,t=globalThis?.document){let r=S(e);c.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{E===d.layers.size-1&&(n?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},m),c.useEffect(()=>{if(h)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(i=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),A(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=i)}},[h,m,r,d]),c.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),A())},[h,d]),c.useEffect(()=>{let e=()=>y({});return document.addEventListener(O,e),()=>document.removeEventListener(O,e)},[]),(0,v.jsx)(k.div,{...u,ref:b,style:{pointerEvents:P?C?"auto":"none":void 0,...e.style},onFocusCapture:p(e.onFocusCapture,N.onFocusCapture),onBlurCapture:p(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:p(e.onPointerDownCapture,M.onPointerDownCapture)})});function A(){let e=new CustomEvent(O);document.dispatchEvent(e)}function I(e,t,r,{discrete:n}){let i=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&i.addEventListener(e,t,{once:!0}),n)i&&w.flushSync(()=>i.dispatchEvent(s));else i.dispatchEvent(s)}P.displayName="DismissableLayer",c.forwardRef((e,t)=>
4{let r=c.useContext(j),n=c.useRef(null),i=g(t,n);return c.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,v.jsx)(k.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var C=0;function M(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var N="focusScope.autoFocusOnMount",R="focusScope.autoFocusOnUnmount",T={bubbles:!1,cancelable:!0},D=c.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[o,l]=c.useState(null),u=S(i),d=S(s),h=c.useRef(null),f=g(t,e=>l(e)),p=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(n){let e=function(e){if(p.paused||!o)return;let t=e.target;o.contains(t)?h.current=t:Y(h.current,{select:!0})},t=function(e){if(p.paused||!o)return;let t=e.relatedTarget;null!==t&&(o.contains(t)||Y(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Y(o)});return o&&r.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,o,p.paused]),c.useEffect(()=>{if(o){B.add(p);let e=document.activeElement;if(!o.contains(e)){let t=new CustomEvent(N,T);o.addEventListener(N,u),o.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Y(n,{select:t}),document.activeElement!==r)return}(z(o).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Y(o))}return()=>{o.removeEventListener(N,u),setTimeout(()=>{let t=new CustomEvent(R,T);o.addEventListener(R,d),o.dispatchEvent(t),t.defaultPrevented||Y(e??document.body,{select:!0}),o.removeEventListener(R,d),B.remove(p)},0)}}},[o,u,d,p]);let m=c.useCallback(e=>{if(!r&&!n||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var s;let t,n=e.currentTarget,[a,o]=[L(t=z(s=n),s),L(t.reverse(),s)];a&&o?e.shiftKey||i!==o?e.shiftKey&&i===a&&(e.preventDefault(),r&&Y(o,{select:!0})):(e.preventDefault(),r&&Y(a,{select:!0})):i===n&&e.preventDefault()}},[r,n,p.paused]);return(0,v.jsx)(k.div,{tabIndex:-1,...a,ref:f,onKeyDown:m})});function z(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function L(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function Y(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}D.displayName="FocusScope";var B=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=U(n,e)).unshift(e)},remove(e){n=U(n,e),n[0]?.resume()}});function U(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var F=globalThis?.document?c.useLayoutEffect:()=>{},q=d[" useId ".trim().toString()]||(()=>void 0),V=0,W=r(60240),K=r(69304),H=c.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...s}=e;return(0,v.jsx)(k.svg,{...s,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});H.displayName="Arrow";var G="Popper",[Z,X]=b(G),[J,Q]=Z(G),ee=e=>{let{__scopePopper:t,children:r}=e,[n,i]=c.useState(null);return(0,v.jsx)(J,{scope:t,anchor:n,onAnchorChange:i,children:r})};ee.displayName=G;var et="PopperAnchor",er=c.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,s=Q(et,r),a=c.useRef(null),o=g(t,a),l=c.useRef(null);return c.useEffect(()=>{let e=l.current;l.current=n?.current||a.current,e!==l.current&&s.onAnchorChange(l.current)}),n?null:(0,v.jsx)(k.div,{...i,ref:o})});er.displayName=et;
4var en="PopperContent",[ei,es]=Z(en),ea=c.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:s="center",alignOffset:a=0,arrowPadding:o=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...y}=e,b=Q(en,r),[w,_]=c.useState(null),$=g(t,e=>_(e)),[E,O]=c.useState(null),j=function(e){let[t,r]=c.useState(void 0);return F(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let s=t[0];if("borderBoxSize"in s){let e=s.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(E),P=j?.width??0,A=j?.height??0,I="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},C=Array.isArray(u)?u:[u],M=C.length>0,N={padding:I,boundary:C.filter(ec),altBoundary:M},{refs:R,floatingStyles:T,placement:D,isPositioned:z,middlewareData:L}=(0,W.we)({strategy:"fixed",placement:n+("center"!==s?"-"+s:""),whileElementsMounted:(...e)=>(0,K.ll)(...e,{animationFrame:"always"===p}),elements:{reference:b.anchor},middleware:[(0,W.cY)({mainAxis:i+A,alignmentAxis:a}),l&&(0,W.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===h?(0,W.ER)():void 0,...N}),l&&(0,W.UU)({...N}),(0,W.Ej)({...N,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:s}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${s}px`)}}),E&&(0,W.UE)({element:E,padding:o}),ed({arrowWidth:P,arrowHeight:A}),f&&(0,W.jD)({strategy:"referenceHidden",...N})]}),[Y,B]=eh(D),U=S(m);F(()=>{z&&U?.()},[z,U]);let q=L.arrow?.x,V=L.arrow?.y,H=L.arrow?.centerOffset!==0,[G,Z]=c.useState();return F(()=>{w&&Z(window.getComputedStyle(w).zIndex)},[w]),(0,v.jsx)("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:z?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(ei,{scope:r,placedSide:Y,onArrowChange:O,arrowX:q,arrowY:V,shouldHideArrow:H,children:(0,v.jsx)(k.div,{"data-side":Y,"data-align":B,...y,ref:$,style:{...y.style,animation:z?void 0:"none"}})})})});ea.displayName=en;var eo="PopperArrow",el={top:"bottom",right:"left",bottom:"top",left:"right"},eu=c.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=es(eo,r),s=el[i.placedSide];return(0,v.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,v.jsx)(H,{...n,ref:t,style:{...n.style,display:"block"}})})});function ec(e){return null!==e}eu.displayName=eo;var ed=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,s=i.arrow?.centerOffset!==0,a=s?0:e.arrowWidth,o=s?0:e.arrowHeight,[l,u]=eh(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,h=(i.arrow?.y??0)+o/2,f="",p="";return"bottom"===l?(f=s?c:`${d}px`,p=`${-o}px`):"top"===l?(f=s?c:`${d}px`,p=`${n.floating.height+o}px`):"right"===l?(f=`${-o}px`,p=s?c:`${h}px`):"left"===l&&(f=`${n.floating.width+o}px`,p=s?c:`${h}px`),{data:{x:f,y:p}}}});function eh(e){let[t,r="center"]=e.split("-");return[t,r]}var ef=c.forwardRef((e,t)=>{let{container:r,...n}=e,[i,s]=c.useState(!1);F(()=>s(!0),[]);let a=r||i&&globalThis?.document?.body;return a?w.createPortal((0,v.jsx)(k.div,{...n,ref:t}),a):null});ef.displayName="Portal";var ep=r(94522),em=d[" useInsertionEffect ".trim().toString()]||F;Symbol("RADIX:SYNC_STATE");var ey=r(79271),eg=r(1688),ev=r(65142),eb=r(16631),ew=(0,r(1613).f)(),ex=function(){},e_=c.forwardRef(function(e,t){var r=c.useRef(null),n=c.useState({onScrollCapture:ex,onWheelCapture:ex,onTouchMoveCapture:ex}),i=n[0],s=n[1],a=e.forwardProps,o=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,y=e.inert,g=e.allowPinchZoom,v=e.as,b=e.gapMode,w=(0,eg.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=(0,eb.S)([r,t]),$=(0,eg.Cl)((0,eg.Cl)({},w),i);return c.createElement(c.Fragment,null,d&&c.createElement(f,{sideCar:ew,removeScrollBar:u,shards:h,noRelative:p,noIsolation:m,inert:y,setCallbacks:s,allowPinchZoom:!!g,lockRef:r,gapMode:b}),a?c.cloneElement(c.Children.only(o),(0,eg.Cl)((0,eg.Cl)({},$),{ref:_})):c.createElement(void 0===v?"div":v,(0,eg.Cl)({},$,{className:l,ref:_}),o))});e_.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e_.classNames={fullWidth:ev.pN,zeroRight:ev.Mi};var e$=r(39069),eE=r(20144),ek=r(74475),eS=!1;if("undefined"!=typeof window)try{var eO=Object.defineProperty({},"passive",{get:function(){return eS=!0,!0}});window.addEventListener("test",eO,eO),window.removeEventListener("test",eO,eO)}catch(e){eS=!1}var ej=!!eS&&{passive:!1},eP=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eA=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eI(e,n)){var i=eC(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eI=function(e,t){return"v"===e?eP(t,"overflowY"):eP(t,"overflowX")},eC=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eM=function(e,t,r,n,i){var s,a=(s=window.getComputedStyle(t).direction,"h"===e&&"rtl"===s?-1:1),o=a*n,l=r.target,u=t.contains(l),c=!1,d=o>0,h=0,f=0;do{if(!l)break;var p=eC(e,l),m=p[0],y=p[1]-p[2]-a*m;(m||y)&&eI(e,l)&&(h+=y,f+=m);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&o>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-o>f)&&(c=!0),c},eN=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eR=function(e){return[e.deltaX,e.deltaY]},eT=function(e){return e&&"current"in e?e.current:e},eD=0,ez=[];let eL=(0,e$.m)(ew,function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),i=c.useState(eD++)[0],s=c.useState(ek.T0)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,eg.fX)([e.lockRef.current],(e.shards||[]).map(eT),!0).filter(
4Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var o=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,s=eN(e),o=r.current,l="deltaX"in e?e.deltaX:o[0]-s[0],u="deltaY"in e?e.deltaY:o[1]-s[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var p=eA(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=eA(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return eM(m,t,e,"h"===m?l:u,!0)},[]),l=c.useCallback(function(e){if(ez.length&&ez[ez.length-1]===s){var r="deltaY"in e?eR(e):eN(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(eT).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?o(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=c.useCallback(function(e,r,n,i){var s={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(s),setTimeout(function(){t.current=t.current.filter(function(e){return e!==s})},1)},[]),d=c.useCallback(function(e){r.current=eN(e),n.current=void 0},[]),h=c.useCallback(function(t){u(t.type,eR(t),t.target,o(t,e.lockRef.current))},[]),f=c.useCallback(function(t){u(t.type,eN(t),t.target,o(t,e.lockRef.current))},[]);c.useEffect(function(){return ez.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",l,ej),document.addEventListener("touchmove",l,ej),document.addEventListener("touchstart",d,ej),function(){ez=ez.filter(function(e){return e!==s}),document.removeEventListener("wheel",l,ej),document.removeEventListener("touchmove",l,ej),document.removeEventListener("touchstart",d,ej)}},[]);var p=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(s,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?c.createElement(eE.jp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)});var eY=c.forwardRef(function(e,t){return c.createElement(e_,(0,eg.Cl)({},e,{ref:t,sideCar:eL}))});eY.classNames=e_.classNames;var eB="Popover",[eU,eF]=b(eB,[X]),eq=X(),[eV,eW]=eU(eB),eK=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:i,onOpenChange:s,modal:a=!1}=e,o=eq(t),l=c.useRef(null),[u,d]=c.useState(!1),[h,f]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,s,a]=function({defaultProp:e,onChange:t}){let[r,n]=c.useState(e),i=c.useRef(r),s=c.useRef(t);return em(()=>{s.current=t},[t]),c.useEffect(()=>{i.current!==r&&(s.current?.(r),i.current=r)},[r,i]),[r,n,s]}({defaultProp:t,onChange:r}),o=void 0!==e,l=o?e:i;{let t=c.useRef(void 0!==e);c.useEffect(()=>{let e=t.current;if(e!==o){let t=o?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. 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.`)}t.current=o},[o,n])}return[l,c.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else s(t)},[o,e,s,a])]}({prop:n,defaultProp:i??!1,onChange:s,caller:eB});return(0,v.jsx)(ee,{...o,children:(0,v.jsx)(eV,{scope:t,contentId:function(e){let[t,r]=c.useState(q());return F(()=>{r(e=>e??String(V++))},[void 0]),t?`radix-${t}`:""}(),triggerRef:l,open:h,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:u,onCustomAnchorAdd:c.useCallback(()=>d(!0),[]),onCustomAnchorRemove:c.useCallback(()=>d(!1),[]),modal:a,children:r})})};eK.displayName=eB;var eH="PopoverAnchor";c.forwardRef((e,t)=>
4{let{__scopePopover:r,...n}=e,i=eW(eH,r),s=eq(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:o}=i;return c.useEffect(()=>(a(),()=>o()),[a,o]),(0,v.jsx)(er,{...s,...n,ref:t})}).displayName=eH;var eG="PopoverTrigger",eZ=c.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=eW(eG,r),s=eq(r),a=g(t,i.triggerRef),o=(0,v.jsx)(k.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":e8(i.open),...n,ref:a,onClick:p(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?o:(0,v.jsx)(er,{asChild:!0,...s,children:o})});eZ.displayName=eG;var eX="PopoverPortal",[eJ,eQ]=eU(eX,{forceMount:void 0}),e0=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,s=eW(eX,t);return(0,v.jsx)(eJ,{scope:t,forceMount:r,children:(0,v.jsx)(ep.C,{present:r||s.open,children:(0,v.jsx)(ef,{asChild:!0,container:i,children:n})})})};e0.displayName=eX;var e1="PopoverContent",e2=c.forwardRef((e,t)=>{let r=eQ(e1,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,s=eW(e1,e.__scopePopover);return(0,v.jsx)(ep.C,{present:n||s.open,children:s.modal?(0,v.jsx)(e6,{...i,ref:t}):(0,v.jsx)(e4,{...i,ref:t})})});e2.displayName=e1;var e5=_("PopoverContent.RemoveScroll"),e6=c.forwardRef((e,t)=>{let r=eW(e1,e.__scopePopover),n=c.useRef(null),i=g(t,n),s=c.useRef(!1);return c.useEffect(()=>{let e=n.current;if(e)return(0,ey.Eq)(e)},[]),(0,v.jsx)(eY,{as:e5,allowPinchZoom:!0,children:(0,v.jsx)(e3,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:p(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:p(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),e4=c.forwardRef((e,t)=>{let r=eW(e1,e.__scopePopover),n=c.useRef(!1),i=c.useRef(!1);return(0,v.jsx)(e3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let s=t.target;r.triggerRef.current?.contains(s)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),e3=c.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...h}=e,f=eW(e1,r),p=eq(r);return c.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??M()),document.body.insertAdjacentElement("beforeend",e[1]??M()),C++,()=>{1===C&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),C--}},[]),(0,v.jsx)(D,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,v.jsx)(P,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:(0,v.jsx)(ea,{"data-state":e8(f.open),role:"dialog",id:f.contentId,...p,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),e7="PopoverClose";function e8(e){return e?"open":"closed"}c.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=eW(e7,r);return(0,v.jsx)(k.button,{type:"button",...n,ref:t,onClick:p(e.onClick,()=>i.onOpenChange(!1))})}).displayName=e7,c.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=eq(r);return(0,v.jsx)(eu,{...i,...n,ref:t})}).displayName="PopoverArrow",(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var e9=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();(0,u.hY)(),(0,u.hY)();var te={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},tt=(0,c.forwardRef)((e,t)=>{var{color:r="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:a="",children:o,iconNode:l}=e,d=(0,u.YG)(e,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return(0,c.createElement)("svg",(0,u.IA)((0,u.ko)((0,u.IA)({ref:t},te),{width:n,height:n,stroke:r,strokeWidth:s?24*Number(i)/Number(n):i,className:e9("lucide",a)}),d),[...l.map(([e,t])=>(0,c.createElement)(e,t)),...Array.isArray(o)?o:[o]])}),tr=(e,t)=>{let r=(0,c.forwardRef)((r,n)=>{var{className:i}=r,s=(0,u.YG)(r,["className"]);return(0,c.createElement)(tt,(0,u.IA)({ref:n,iconNode:t,className:e9(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i)}
4,s))});return r.displayName=`${e}`,r},tn=tr("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,u.hY)();var ti=tr("Heading",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);(0,u.hY)();var ts=tr("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);(0,u.hY)(),(0,u.hY)();var ta=tr("AlignCenter",[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,u.hY)();var to=tr("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);(0,u.hY)();var tl=tr("AlignRight",[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,u.hY)();var tu=tr("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);(0,u.hY)();var tc=tr("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);(0,u.hY)();var td=tr("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);(0,u.hY)();var th=tr("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);(0,u.hY)();var tf=tr("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);(0,u.hY)();var tp=tr("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);(0,u.hY)();var tm=tr("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);(0,u.hY)();var ty=tr("CornerLeftUp",[["polyline",{points:"14 9 9 4 4 9",key:"m9oyvo"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]]);(0,u.hY)();var tg=tr("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);(0,u.hY)();var tv=tr("Expand",[["path",{d:"m21 21-6-6m6 6v-4.8m0 4.8h-4.8",key:"1c15vz"}],["path",{d:"M3 16.2V21m0 0h4.8M3 21l6-6",key:"1fsnz2"}],["path",{d:"M21 7.8V3m0 0h-4.8M21 3l-6 6",key:"hawz9i"}],["path",{d:"M3 7.8V3m0 0h4.8M3 3l6 6",key:"u9ee12"}]]);(0,u.hY)();var tb=tr("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);(0,u.hY)();var tw=tr("Hammer",[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]]);(0,u.hY)();var tx=tr("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);(0,u.hY)();var t_=tr("Heading1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]);(0,u.hY)();var t$=tr("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]);(0,u.hY)();var tE=tr("Heading3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);(0,u.hY)();var tk=tr("Heading4",[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]]);(0,u.hY)();var tS=tr("Heading5",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}
4],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]]);(0,u.hY)();var tO=tr("Heading6",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]]);(0,u.hY)();var tj=tr("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);(0,u.hY)();var tP=tr("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);(0,u.hY)();var tA=tr("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);(0,u.hY)();var tI=tr("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);(0,u.hY)();var tC=tr("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);(0,u.hY)();var tM=tr("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);(0,u.hY)();var tN=tr("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);(0,u.hY)();var tR=tr("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,u.hY)();var tT=tr("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,u.hY)();var tD=tr("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);(0,u.hY)();var tz=tr("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);(0,u.hY)();var tL=tr("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);(0,u.hY)();var tY=tr("PanelRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);(0,u.hY)();var tB=tr("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);(0,u.hY)();var tU=tr("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);(0,u.hY)();var tF=tr("RectangleEllipsis",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);(0,u.hY)();var tq=tr("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);(0,u.hY)();var tV=tr("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);(0,u.hY)();var tW=tr("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);(0,u.hY)();var tK=tr("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);(0,u.hY)();var tH=tr("SquareCode",[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);(0,u.hY)();var tG=tr("Strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);(0,u.hY)();var tZ=tr("Tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);(0,u.hY)();
4var tX=tr("ToyBrick",[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]]);(0,u.hY)();var tJ=tr("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);(0,u.hY)();var tQ=tr("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);(0,u.hY)();var t0=tr("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);(0,u.hY)();var t1=tr("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);(0,u.hY)();var t2=tr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);(0,u.hY)();var t5=tr("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,u.hY)();var t6=tr("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var t4={ControlLeft:"ctrl",ControlRight:"ctrl",MetaLeft:"meta",MetaRight:"meta",ShiftLeft:"shift",ShiftRight:"shift",KeyA:"a",KeyB:"b",KeyC:"c",KeyD:"d",KeyE:"e",KeyF:"f",KeyG:"g",KeyH:"h",KeyI:"i",KeyJ:"j",KeyK:"k",KeyL:"l",KeyM:"m",KeyN:"n",KeyO:"o",KeyP:"p",KeyQ:"q",KeyR:"r",KeyS:"s",KeyT:"t",KeyU:"u",KeyV:"v",KeyW:"w",KeyX:"x",KeyY:"y",KeyZ:"z",Delete:"delete",Backspace:"backspace",AltRight:"altRight"},t3=(0,h.v)()((0,f.eh)(e=>({held:{},hold:t=>e(e=>e.held[t]?e:{held:(0,u.ko)((0,u.IA)({},e.held),{[t]:!0})}),release:t=>e(e=>e.held[t]?{held:(0,u.ko)((0,u.IA)({},e.held),{[t]:!1})}:e),reset:(t={})=>e(()=>({held:t})),triggers:{}}))),t7=e=>{let t=e=>{if(e.getModifierState("AltGraph"))return void t3.getState().hold("altRight");let t=t4[e.code];if(t){t3.getState().hold(t);let{held:r,triggers:n}=t3.getState();Object.values(n).forEach(({combo:t,cb:n})=>{Object.entries(t).every(([e,t])=>!!r[e]===t)&&Object.entries(r).every(([e,r])=>!!t[e]===r)&&!1!==n(e)&&e.preventDefault()}),"meta"!==t&&"ctrl"!==t&&"shift"!==t&&t3.getState().release(t)}},r=e=>{if(!e.getModifierState("AltGraph")&&"ControlRight"===e.code)return void t3.getState().release("altRight");let t=t4[e.code];t&&("meta"===t?t3.getState().reset():t3.getState().release(t))},n=e=>{"hidden"===document.visibilityState&&t3.getState().reset()},i=()=>{t3.getState().reset()};return window.addEventListener("blur",i),e.addEventListener("keydown",t),e.addEventListener("keyup",r),e.addEventListener("visibilitychange",n),()=>{e.removeEventListener("keydown",t),e.removeEventListener("keyup",r),e.removeEventListener("visibilitychange",n),window.removeEventListener("blur",i)}},t8=()=>{(0,c.useEffect)(()=>t7(document),[])},t9=(e,t)=>
4{(0,c.useEffect)(()=>t3.setState(r=>({triggers:(0,u.ko)((0,u.IA)({},r.triggers),{[`${Object.keys(e).join("+")}`]:{combo:e,cb:t}})})),[])},re=e=>(0,u.ko)((0,u.IA)({},e),{ui:(0,u.ko)((0,u.IA)({},e.ui),{field:(0,u.ko)((0,u.IA)({},e.ui.field),{focus:null})})});function rt(e,{histories:t,index:r,initialAppState:n}){(0,c.useEffect)(()=>e.setState({history:(0,u.ko)((0,u.IA)({},e.getState().history),{histories:t,index:r,initialAppState:n})}),[t,r,n]);let i=()=>{e.getState().history.back()},s=()=>{e.getState().history.forward()};t9({altRight:!1,meta:!0,z:!0},i),t9({altRight:!1,meta:!0,shift:!0,z:!0},s),t9({altRight:!1,meta:!0,y:!0},s),t9({altRight:!1,ctrl:!0,z:!0},i),t9({altRight:!1,ctrl:!0,shift:!0,z:!0},s),t9({altRight:!1,ctrl:!0,y:!0},s)}(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var rr=(e,t)=>{let r=[];return(0,l.CS)(e,t,e=>e,e=>(r.push(e),e)),r},rn=(e,t)=>{(0,c.useEffect)(()=>{let{permissions:r}=e.getState(),{globalPermissions:n}=r;e.setState({permissions:(0,u.ko)((0,u.IA)({},r),{globalPermissions:(0,u.IA)((0,u.IA)({},n),t)})}),r.resolvePermissions()},[t]),(0,c.useEffect)(()=>e.subscribe(e=>e.state.data,()=>{e.getState().permissions.resolvePermissions()}),[]),(0,c.useEffect)(()=>e.subscribe(e=>e.config,()=>{e.getState().permissions.resolvePermissions()}),[])};(0,u.hY)();var ri=(e,t)=>{let r=(0,c.useCallback)(r=>(0,u.BU)(null,null,function*(){var n,i;let{fields:o,lastResolvedData:l}=e.getState().fields,c=e.getState().metadata,d=e.getState().state.indexes.nodes,h=d[t||"root"],f=null==h?void 0:h.data,p=(null==h?void 0:h.parentId)?d[h.parentId]:null,m=(null==p?void 0:p.data)||null,{getComponentConfig:y,state:g}=e.getState(),v=y(null==f?void 0:f.type);if(!f||!v)return;let b=v.fields||{},w=v.resolveFields,_=o;if(r&&(e.setState(e=>({fields:(0,u.ko)((0,u.IA)({},e.fields),{fields:b,id:t})})),_=b),w){let r=setTimeout(()=>{e.setState(e=>({fields:(0,u.ko)((0,u.IA)({},e.fields),{loading:!0})}))},50),o=(null==(n=l.props)?void 0:n.id)===t?l:null,d=(0,a.rv)(f,o),h=yield w(f,{changed:d,fields:b,lastFields:_,metadata:(0,u.IA)((0,u.IA)({},c),v.metadata),lastData:o,appState:(0,s.Vg)(g),parent:m});if(clearTimeout(r),(null==(i=e.getState().selectedItem)?void 0:i.props.id)!==t)return;e.setState({fields:{fields:h,loading:!1,lastResolvedData:f,id:t}})}else e.setState(e=>({fields:(0,u.ko)((0,u.IA)({},e.fields),{fields:b,id:t})}))}),[t]);(0,c.useEffect)(()=>(r(!0),e.subscribe(e=>e.state.indexes.nodes[t||"root"],()=>r())),[t])};(0,u.hY)();var rs={title:{type:"text"}},ra=e=>(0,h.v)()((0,f.eh)((t,r)=>{var n,i;let o,c;return(0,u.ko)((0,u.IA)({instanceId:(0,l.$C)(),state:a.Kn,config:{components:{}},componentState:{},plugins:[],overrides:{},viewports:a.lu,zoomConfig:{autoZoom:1,rootHeight:0,zoom:1},status:"LOADING",iframe:{},_experimentalFullScreenCanvas:!1,_experimentalVirtualization:!1,metadata:{},fieldTransforms:{}},e),{fields:{fields:{},loading:!1,lastResolvedData:{},id:void 0},history:{initialAppState:{},index:0,histories:[],hasPast:()=>r().history.index>0,hasFuture:()=>r().history.index<r().history.histories.length-1,prevHistory:()=>{let{history:e}=r();
4return e.hasPast()?e.histories[e.index-1]:null},nextHistory:()=>{let e=r().history;return e.hasFuture()?e.histories[e.index+1]:null},currentHistory:()=>r().history.histories[r().history.index],back:()=>{var e;let{history:n,dispatch:i}=r();n.hasPast()&&(i({type:"set",state:re((null==(e=n.prevHistory())?void 0:e.state)||n.initialAppState)}),t({history:(0,u.ko)((0,u.IA)({},n),{index:n.index-1})}))},forward:()=>{var e;let{history:n,dispatch:i}=r();if(n.hasFuture()){let r=null==(e=n.nextHistory())?void 0:e.state;i({type:"set",state:r?re(r):{}}),t({history:(0,u.ko)((0,u.IA)({},n),{index:n.index+1})})}},setHistories:e=>{var n;let{dispatch:i,history:s}=r();i({type:"set",state:(null==(n=e[e.length-1])?void 0:n.state)||s.initialAppState}),t({history:(0,u.ko)((0,u.IA)({},s),{histories:e,index:e.length-1})})},setHistoryIndex:e=>{var n;let{dispatch:i,history:s}=r();i({type:"set",state:(null==(n=s.histories[e])?void 0:n.state)||s.initialAppState}),t({history:(0,u.ko)((0,u.IA)({},s),{index:e})})},record:function(e,t=300){let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}(e=>{let{histories:n,index:i}=r().history,s={state:e,id:(0,l.$C)("history")},a=[...n.slice(0,i+1),s];t({history:(0,u.ko)((0,u.IA)({},r().history),{histories:a,index:a.length-1})})},250)},nodes:(o=new Map,{registerNode:(e,t)=>{o.set(e,t)},unregisterNode:e=>{o.delete(e)},syncNode:e=>{var t;e&&(null==(t=o.get(e))||t.sync())},syncNodes:e=>{e.forEach(e=>{var t;e&&(null==(t=o.get(e))||t.sync())})},setOverlayVisible:(e,t)=>{if(!e)return;let r=o.get(e);if(r){if(t)return void r.showOverlay();r.hideOverlay()}}}),permissions:{cache:{},globalPermissions:{drag:!0,edit:!0,delete:!0,duplicate:!0,insert:!0},resolvedPermissions:{},getPermissions:({item:e,type:t,root:n}={})=>{let{config:i,permissions:s}=r(),{globalPermissions:a,resolvedPermissions:o}=s;if(e){let t=i.components[e.type],r=(0,u.IA)((0,u.IA)({},a),null==t?void 0:t.permissions),n=o[e.props.id];return n?(0,u.IA)((0,u.IA)({},a),n):r}if(t){let e=i.components[t];return(0,u.IA)((0,u.IA)({},a),null==e?void 0:e.permissions)}if(n){let e=i.root,t=(0,u.IA)((0,u.IA)({},a),null==e?void 0:e.permissions),r=o.root;return r?(0,u.IA)((0,u.IA)({},a),r):t}return a},resolvePermissions:c=(...e)=>(0,u.BU)(null,[...e],function*(e={},n){let{state:i,permissions:o,config:l}=r(),{cache:c,globalPermissions:d}=o,h=(e,n=!1)=>(0,u.BU)(null,null,function*(){var i,o;let{config:l,state:h,setComponentLoading:f}=r(),p=c[e.props.id],m=h.indexes.nodes,y=null==(i=m[e.props.id])?void 0:i.parentId,g=y?m[y]:null,v=null!=(o=null==g?void 0:g.data)?o:null,b="root"===e.type?l.root:l.components[e.type];if(!b)return;let w=(0,u.IA)((0,u.IA)({},d),b.permissions);if(b.resolvePermissions){let i=(0,a.rv)(e,null==p?void 0:p.lastData),o=Object.values(i).some(e=>!0===e),l=(null==p?void 0:p.lastParentId)!==y;if(o||l||n){let n=f(e.props.id,!0,50),a=yield b.resolvePermissions(e,{changed:i,lastPermissions:(null==p?void 0:p.lastPermissions)||null,permissions:w,appState:(0,s.Vg)(h),lastData:(null==p?void 0:p.lastData)||null,parent:v}),o=r().permissions;t({permissions:(0,u.ko)((0,u.IA)({},o),{cache:(0,u.ko)((0,u.IA)({},o.cache),{[e.props.id]:{lastParentId:y,lastData:e,lastPermissions:a}}),resolvedPermissions:(0,u.ko)((0,u.IA)({},o.resolvedPermissions),{[e.props.id]:a})})}),n()}}}),{item:f,type:p,root:m}=e;f?yield h(f,n):p?rr(i,l).filter(e=>e.type===p).map(e=>(0,u.BU)(null,null,function*(){yield h(e,n)})):m?((e=!1)=>{let{state:t}=r();h({type:"root",props:(0,u.ko)((0,u.IA)({},t.data.root.props),{id:"root"})},e)})(n):rr(i,l).map(e=>(0,u.BU)(null,null,function*(){yield h(e,n)}))}),refreshPermissions:e=>c(e,!0)},getCurrentData:()=>{var e;let t=r();return null!=(e=t.selectedItem)?e:t.state.data.root},getComponentConfig:e=>{var t;let{config:n,selectedItem:i}=r(),s=(null==(t=n.root)?void 0:t.fields)||rs;return e&&"root"!==e?n.components[e]:i?n.components[i.type]:(0,u.ko)((0,u.IA)({},n.root),{fields:s})},selectedItem:(null==(n=null==e?void 0:e.state)?void 0:n.ui.itemSelector)?(0,s.Gq)(null==(i=null==e?void 0:e.state)?void 0:i.ui.itemSelector,e.state):null,dispatch:e=>t(t=>{var n,i;let{record:a}=r().history,o=(0,s.vy)({record:a,appStore:t})(t.state,e),l=o.ui.itemSelector?(0,s.Gq)(o.ui.itemSelector,o):null;return null==(i=(n=r()).onAction)||i.call(n,e,o,r().state),(0,u.ko)((0,u.IA)({},t),{state:o,selectedItem:l})}),setZoomConfig:e=>t({zoomConfig:e}),setStatus:e=>t({status:e}),setComponentState:e=>t({componentState:e}),pendingLoadTimeouts:{},setComponentLoading:(e,n=!0,i=0)=>{let{setComponentState:s,pendingLoadTimeouts:a}=r(),o=(0,l.$C)(),c=()=>{var n;
4let{componentState:i}=r();clearTimeout(d),delete a[o],t({pendingLoadTimeouts:a}),s((0,u.ko)((0,u.IA)({},i),{[e]:(0,u.ko)((0,u.IA)({},i[e]),{loadingCount:Math.max(((null==(n=i[e])?void 0:n.loadingCount)||0)-1,0)})}))},d=setTimeout(()=>{n?(()=>{var t;let{componentState:n}=r();s((0,u.ko)((0,u.IA)({},n),{[e]:(0,u.ko)((0,u.IA)({},n[e]),{loadingCount:((null==(t=n[e])?void 0:t.loadingCount)||0)+1})}))})():c(),delete a[o],t({pendingLoadTimeouts:a})},i);return t({pendingLoadTimeouts:(0,u.ko)((0,u.IA)({},a),{[e]:d})}),c},unsetComponentLoading:e=>{let{setComponentLoading:t}=r();t(e,!1)},setUi:(e,r)=>t(t=>{let n=(0,s.vy)({record:()=>{},appStore:t})(t.state,{type:"setUi",ui:e,recordHistory:r}),i=n.ui.itemSelector?(0,s.Gq)(n.ui.itemSelector,n):null;return(0,u.ko)((0,u.IA)({},t),{state:n,selectedItem:i})}),resolveComponentData:(e,t)=>(0,u.BU)(null,null,function*(){var n,i;let{config:s,metadata:o,setComponentLoading:l,permissions:c,state:d}=r(),h="id"in e.props?e.props.id:"root",f=null==(n=d.indexes.nodes[h])?void 0:n.parentId,p=f?d.indexes.nodes[f]:null,m=null!=(i=null==p?void 0:p.data)?i:null,y={};return yield(0,a.kW)(e,s,o,e=>{let t="id"in e.props?e.props.id:"root";y[t]=l(t,!0,50)},e=>(0,u.BU)(null,null,function*(){let t="id"in e.props?e.props.id:"root";"type"in e?yield c.refreshPermissions({item:e}):yield c.refreshPermissions({root:!0}),y[t]()}),t,m)}),resolveAndCommitData:()=>(0,u.BU)(null,null,function*(){let{config:e,state:t,dispatch:n,resolveComponentData:i}=r();(0,l.CS)(t,e,e=>e,(e,t)=>(t.length>1||i(e,"load").then(e=>{let{state:t}=r(),i=t.indexes.nodes[e.node.props.id];if(i&&e.didChange)if("root"===e.node.props.id)n({type:"replaceRoot",root:(e=>{if("type"in e&&"root"!==e.type)throw Error("Converting non-root item to root.");let{readOnly:t}=e;if(e.props){if("id"in e.props){let r=e.props,{id:n}=r;return{props:(0,u.YG)(r,["id"]),readOnly:t}}return{props:e.props,readOnly:t}}return{props:{},readOnly:t}})(e.node)});else{let r=`${i.parentId}:${i.zone}`,s=t.indexes.zones[r].contentIds.indexOf(e.node.props.id);n({type:"replace",data:e.node,destinationIndex:s,destinationZone:r})}}),e))})})})),ro=(0,c.createContext)(ra());function rl(e){let t=(0,c.useContext)(ro);return(0,h.P)(t,e)}function ru(){return(0,c.useContext)(ro)}(0,u.hY)();var rc=(0,c.createContext)({}),rd=()=>(0,c.useContext)(rc);(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var rh={Select:"_Select_xjbef_1","Select-button":"_Select-button_xjbef_6","Select--hasOptions":"_Select--hasOptions_xjbef_19","Select--disabled":"_Select--disabled_xjbef_23","Select-buttonIcon":"_Select-buttonIcon_xjbef_27","Select--standalone":"_Select--standalone_xjbef_33","Select--actionBar":"_Select--actionBar_xjbef_38","Select--hasValue":"_Select--hasValue_xjbef_44","Select-items":"_Select-items_xjbef_61",SelectItem:"_SelectItem_xjbef_72","SelectItem--isSelected":"_SelectItem--isSelected_xjbef_87","SelectItem-icon":"_SelectItem-icon_xjbef_93"};(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var rf=(e,t,r)=>{let n=Array.from(e),[i]=n.splice(t,1);return n.splice(r,0,i),n};(0,u.hY)();var rp=(e,t,r)=>{let n=Array.from(e);return n.splice(t,1),n.splice(t,0,r),n};(0,u.hY)(),(0,u.hY)(),(0,u.hY)(),(0,u.hY)();var rm=function(e){var t=e.top,r=e.right,n=e.bottom,i=e.left;return{top:t,right:r,bottom:n,left:i,width:r-i,height:n-t,x:i,y:t,center:{x:(r+i)/2,y:(n+t)/2}}},ry=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},rg={top:0,right:0,bottom:0,left:0},rv=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?rg:r,i=e.border,s=void 0===i?rg:i,a=e.padding,o=void 0===a?rg:a,l=rm({top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}),u=rm(ry(t,s)),c=rm(ry(u,o));return{marginBox:l,borderBox:rm(t),paddingBox:u,contentBox:c,margin:n,border:s,padding:o}},rb=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&function(e,t){if(!e)throw Error("Invariant failed")}(!1),r},rw=function(e,t){var r={top:rb(t.marginTop),right:rb(t.marginRight),bottom:rb(t.marginBottom),left:rb(t.marginLeft)};return rv({borderBox:e,margin:r,padding:{top:rb(t.paddingTop),right:rb(t.paddingRight),bottom:rb(t.paddingBottom),left:rb(t.paddingLeft)},border:{top:rb(t.borderTopWidth),right:rb(t.borderRightWidth),bottom:rb(t.borderBottomWidth),left:rb(t.borderLeftWidth)}})},rx=function(e){return rw(e.getBoundingClientRect(),window.getComputedStyle(e))},r_=e=>{let t=ru();return r=>{let{state:n,zoomConfig:i,setZoomConfig:s}=t.getState(),{viewports:a}=n.ui,o=(null==r?void 0:r.viewports)||a;e.current&&s(((e,t,r)=>{let{width:n,height:i}=rx(t).contentBox,s="auto"===e.height?i:e.height,a=0,o=1;if("number"==typeof e.width&&(e.width>n||s>i)){let t=Math.min(n/e.width,1),l=Math.min(i/s,1);r=t,t<l?a=s/r:(a=s,r=l),o=r}else o=1,r=1,a=s;return{autoZoom:o,rootHeight:a,zoom:r}})(null==o?void 0:o.current,e.current,i.zoom))}},r$=(0,o.d)("Select",rh),rE=(0,o.d)("SelectItem",rh),rk=({children:e,isSelected:t,onClick:r})=>(0,v.jsx)("button",{className:rE({isSelected:t}),onClick:r,children:e}),rS=({children:e,options:t,onChange:r,value:n,defaultValue:i,mode:s,disabled:a=!1})=>{let[o,l]=(0,c.useState)(!1),u=t.length>0;return(0,v.jsx)("div",{className:r$({hasValue:n!==i,hasOptions:u,actionBar:"actionBar"===s,standalone:"standalone"===s,disabled:a||!u}),children:(0,v.jsxs)(eK,{open:o,onOpenChange:l,children:[u?(0,v.jsx)(eZ,{asChild:!0,children:(0,v.jsxs)("button",{className:r$("button"),children:[(0,v.jsx)("span",{className:r$("buttonIcon"),children:e}),(0,v.jsx)(tc,{size:12})]})}):(0,v.jsx)("div",{children:(0,v.jsxs)("div",{className:r$("button"),children:[(0,v.jsx)("span",{className:r$("buttonIcon"),children:e}),(0,v.jsx)(tc,{size:12})]})}),t.length>0&&(0,v.jsx)(e0,{children:(0,v.jsx)(e2,{align:"start",children:(0,v.jsx)("ul",{className:r$("items"),"data-puck-rte-menu":!0,children:t.map(e=>{let t=e.icon;return(0,v.jsx)("li",{children:(0,v.jsxs)(rk,{isSelected:n===e.value,onClick:()=>{r(e.value),l(!1)},children:[t&&(0,v.jsx)("div",{className:rE("icon"),children:(0,v.jsx)(t,{size:16})}),e.label]})},e.value)})})})})]})})};function rO({renderDefaultIcon:e,onChange:t,options:r,value:n,defaultValue:i}){var s,a;let{inline:o,readOnly:l}=rd(),d=(0,c.useMemo)(()=>r.reduce((e,t)=>
4(0,u.ko)((0,u.IA)({},e),{[t.value]:t}),{}),[r]),h=null!=(a=n&&(null==(s=d[n])?void 0:s.icon))?a:e;return(0,v.jsx)(rS,{options:r,onChange:t,value:n,defaultValue:i,mode:o?"actionBar":"standalone",disabled:l,children:(0,v.jsx)(h,{})})}},52500:(e,t,r)=>{"use strict";function n(e,t,r){let n,i=r.initialDeps??[],s=!0;function a(){var a,o,l;let u,c;r.key&&(null==(a=r.debug)?void 0:a.call(r))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return n;if(i=d,r.key&&(null==(o=r.debug)?void 0:o.call(r))&&(c=Date.now()),n=t(...d),r.key&&(null==(l=r.debug)?void 0:l.call(r))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${i(t,5)} /${i(e,5)} ms`,` 5 font-size: .6rem; 6 font-weight: bold; 7 color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return(null==r?void 0:r.onChange)&&!(s&&r.skipInitialOnChange)&&r.onChange(n),s=!1,n}return a.updateDeps=e=>{i=e},a}function i(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}r.d(t,{YV:()=>v,vp:()=>l,Ox:()=>g,AO:()=>f,T6:()=>u,MH:()=>p,TH:()=>d,e8:()=>y});let s=(e,t,r)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout(()=>t.apply(this,i),r)}},a=e=>{let{offsetWidth:t,offsetHeight:r}=e;return{width:t,height:r}},o=e=>e,l=e=>{let t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},u=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=e=>{let{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(i(a(r)),!n.ResizeObserver)return()=>{};let s=new n.ResizeObserver(t=>{let n=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(a(r))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(n):n()});return s.observe(r,{box:"border-box"}),()=>{s.unobserve(r)}},c={passive:!0},d=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=()=>{t({width:r.innerWidth,height:r.innerHeight})};return n(),r.addEventListener("resize",n,c),()=>{r.removeEventListener("resize",n)}},h="undefined"==typeof window||"onscrollend"in window,f=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=0,a=e.options.useScrollendEvent&&h?()=>void 0:s(n,()=>{t(i,!1)},e.options.isScrollingResetDelay),o=n=>()=>{let{horizontal:s,isRtl:o}=e.options;i=s?r.scrollLeft*(o&&-1||1):r.scrollTop,a(),t(i,n)},l=o(!0),u=o(!1);r.addEventListener("scroll",l,c);let d=e.options.useScrollendEvent&&h;return d&&r.addEventListener("scrollend",u,c),()=>{r.removeEventListener("scroll",l),d&&r.removeEventListener("scrollend",u)}},p=(e,t)=>{let r=e.scrollElement;if(!r)return;let n=e.targetWindow;if(!n)return;let i=0,a=e.options.useScrollendEvent&&h?()=>void 0:s(n,()=>{t(i,!1)},e.options.isScrollingResetDelay),o=n=>()=>{i=r[e.options.horizontal?"scrollX":"scrollY"],a(),t(i,n)},l=o(!0),u=o(!1);r.addEventListener("scroll",l,c);let d=e.options.useScrollendEvent&&h;return d&&r.addEventListener("scrollend",u,c),()=>{r.removeEventListener("scroll",l),d&&r.removeEventListener("scrollend",u)}},m=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return e[r.options.horizontal?"offsetWidth":"offsetHeight"]},y=(e,{adjustments:t=0,behavior:r},n)=>{var i,s;null==(s=null==(i=n.scrollElement)?void 0:i.scrollTo)||s.call(i,{[n.options.horizontal?"left":"top"]:e+t,behavior:r})},g=(e,{adjustments:t=0,behavior:r},n)=>{var i,s;null==(s=null==(i=n.scrollElement)?void 0:i.scrollTo)||s.call(i,{[n.options.horizontal?"left":"top"]:e+t,behavior:r})};class v{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var e,t,r;return(null==(r=null==(t=null==(e=this.targetWindow)?void 0:e.performance)?void 0:t.now)?void 0:r.call(t))??Date.now()},this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>
7{e.forEach(e=>{let t=()=>{let t=e.target,r=this.indexFromElement(t);t.isConnected?this.shouldMeasureDuringScroll(r)&&this.resizeItem(r,this.options.measureElement(t,e,this)):this.observer.unobserve(t)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,r])=>{void 0===r&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:o,rangeExtractor:l,onChange:()=>{},measureElement:m,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=n(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),null!=this.rafId&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let r=new Map,n=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(r.has(t.lane))continue;let s=n.get(t.lane);if(null==s||t.end>s.end?n.set(t.lane,t):t.end<s.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=n(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(e,t,r,n,i,s,a)=>(void 0!==this.prevLanes&&this.prevLanes!==s&&(this.lanesChangedFlag=!0),this.prevLanes=s,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i,lanes:s,laneAssignmentMode:a}),{key:!1}),this.getMeasurements=n(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i,lanes:s,laneAssignmentMode:a},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e
7=>{this.itemSizeCache.set(e.key,e.size)}));let l=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let u=this.measurementsCache.slice(0,l),c=Array(s).fill(void 0);for(let e=0;e<l;e++){let t=u[e];t&&(c[t.lane]=e)}for(let i=l;i<e;i++){let e,s,l=n(i),d=this.laneAssignments.get(i),h="estimate"===a||o.has(l);if(void 0!==d&&this.options.lanes>1){let n=c[e=d],i=void 0!==n?u[n]:void 0;s=i?i.end+this.options.gap:t+r}else{let n=1===this.options.lanes?u[i-1]:this.getFurthestMeasurement(u,i);s=n?n.end+this.options.gap:t+r,e=n?n.lane:i%this.options.lanes,this.options.lanes>1&&h&&this.laneAssignments.set(i,e)}let f=o.get(l),p="number"==typeof f?f:this.options.estimateSize(i),m=s+p;u[i]={index:i,start:s,size:p,end:m,key:l,lane:e},c[e]=i}return this.measurementsCache=u,u},{key:!1,debug:()=>this.options.debug}),this.calculateRange=n(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,r,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r,lanes:n}){let i=e.length-1;if(e.length<=n)return{startIndex:0,endIndex:i};let s=b(0,i,t=>e[t].start,r),a=s;if(1===n)for(;a<i&&e[a].end<r+t;)a++;else if(n>1){let o=Array(n).fill(0);for(;a<i&&o.some(e=>e<r+t);){let t=e[a];o[t.lane]=t.end,a++}let l=Array(n).fill(r+t);for(;s>=0&&l.some(e=>e>=r);){let t=e[s];l[t.lane]=t.start,s--}s=Math.max(0,s-s%n),a=Math.min(i,a+(n-1-a%n))}return{startIndex:s,endIndex:a}}({measurements:e,outerSize:t,scrollOffset:r,lanes:n}):null,{key:!1,debug:()=>this.options.debug}
7),this.getVirtualIndexes=n(()=>{let e=null,t=null,r=this.calculateRange();return r&&(e=r.startIndex,t=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,r,n,i)=>null===n||null===i?[]:e({startIndex:n,endIndex:i,overscan:t,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{var t;if(!this.scrollState||"smooth"!==this.scrollState.behavior)return!0;let r=this.scrollState.index??(null==(t=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))?void 0:t.index);if(void 0!==r&&this.range){let t=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),n=Math.max(0,r-t),i=Math.min(this.options.count-1,r+t);return e>=n&&e<=i}return!0},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});let t=this.indexFromElement(e),r=this.options.getItemKey(t),n=this.elementsCache.get(r);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(r,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{var r;let n=this.measurementsCache[e];if(!n)return;let i=t-(this.itemSizeCache.get(n.key)??n.size);0!==i&&((null==(r=this.scrollState)?void 0:r.behavior)!=="smooth"&&(void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,i,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.getVirtualItems=n(()=>
7[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let r=[];for(let n=0,i=e.length;n<i;n++){let i=t[e[n]];r.push(i)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return i(t[b(0,t.length-1,e=>i(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,r=0)=>{if(!this.scrollElement)return 0;let n=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+n?"end":"start"),"center"===t?e+=(r-n)/2:"end"===t&&(e-=n),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getSize(),n=this.getScrollOffset(),i=this.measurementsCache[e];if(!i)return;if("auto"===t)if(i.end>=n+r-this.options.scrollPaddingEnd)t="end";else{if(!(i.start<=n+this.options.scrollPaddingStart))return[n,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let s="end"===t?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,t,i.size),t]},this.scrollToOffset=(e,{align:t="start",behavior:r="auto"}={})=>{let n=this.getOffsetForAlignment(e,t),i=this.now();this.scrollState={index:null,align:t,behavior:r,startedAt:i,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:t="auto",behavior:r="auto"}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getOffsetForIndex(e,t);if(!n)return;let[i,s]=n,a=this.now();this.scrollState={index:e,align:s,behavior:r,startedAt:a,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:t="auto"}={})=>{let r=this.getScrollOffset()+e,n=this.now();this.scrollState={index:null,align:"start",behavior:t,startedAt:n,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:t}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var e;let t,r=this.getMeasurements();if(0===r.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=r[r.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),n=r.length-1;for(;n>=0&&e.some(e=>null===e);){let t=r[n];null===e[t.lane]&&(e[t.lane]=t.end),n--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}null==this.rafId&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let e=null!=this.scrollState.index?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=e?e[0]:this.scrollState.lastTargetOffset,r=t!==this.scrollState.lastTargetOffset;if(!r&&1.01>Math.abs(t-this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=1){this.scrollState=null;return}}else this.scrollState.stableFrames=0,r&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior="auto",this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}let b=(e,t,r,n)=>{for(;e<=t;){let i=(e+t)/2|0,s=r(i);if(s<n)e=i+1;else{if(!(s>n))return i;t=i-1}}return e>0?e-1:0}},52842:(e,t,r)=>{"use strict";r.d(t,{CH:()=>d,Es:()=>o,FT:()=>c,MS:()=>l,QL:()=>u,T_:()=>h});var n=r(12115),i=r(17102),s=r(47650),a=r(58690),o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;
7function l(e,t){let r,a=(0,n.useRef)(new Map),l=(r=(0,n.useState)(0)[1],(0,n.useCallback)(()=>{r(e=>e+1)},[r]));return o(()=>e?(0,i.QZ)(()=>{var r;let n=!1,o=!1;for(let s of a.current){let[l]=s,u=(0,i.O8)(()=>s[1]),c=e[l];u!==c&&(n=!0,a.current.set(l,c),o=null!=(r=null==t?void 0:t(l,u,c))&&r)}n&&(o?(0,s.flushSync)(l):l())}):void a.current.clear(),[e]),(0,n.useMemo)(()=>e?new Proxy(e,{get(e,t){let r=e[t];return a.current.set(t,r),r}}):e,[e])}function u(e,t){e()}function c(e){let t=(0,n.useRef)(e);return o(()=>{t.current=e},[e]),t}function d(e,t,r=n.useEffect,i=Object.is){let s=(0,n.useRef)(e);r(()=>{let r=s.current;i(e,r)||(s.current=e,t(e,r))},[t,e])}function h(e,t){let r=(0,n.useRef)((0,a.b)(e));o(()=>{let n=(0,a.b)(e);n!==r.current&&(r.current=n,t(n))})}},53066:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>o});let i="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),s=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let o=function(e,t,r){if(i&&!t&&!e)return i();let o=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return function(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}(o)}},53247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865);t.default={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?(0,n.str)`must contain at least ${e} valid item(s)`:(0,n.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?(0,n._)`{minContains: ${e}}`:(0,n._)`{minContains: ${e}, maxContains: ${t}}`},code(e){let t,r,{gen:s,schema:a,parentSchema:o,data:l,it:u}=e,{minContains:c,maxContains:d}=o;u.opts.next?(t=void 0===c?1:c,r=d):t=1;let h=s.const("len",(0,n._)`${l}.length`);if(e.setParams({min:t,max:r}),void 0===r&&0===t)return void(0,i.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==r&&t>r){(0,i.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,i.alwaysValidSchema)(u,a)){let i=(0,n._)`${h} >= ${t}`;void 0!==r&&(i=(0,n._)`${i} && ${h} <= ${r}`),e.pass(i);return}u.items=!0;let f=s.name("valid");function p(){let e=s.name("_valid"),i=s.let("count",0);m(e,()=>s.if(e,()=>{var e;return e=i,void(s.code((0,n._)`${e}++`),void 0===r?s.if((0,n._)`${e} >= ${t}`,()=>s.assign(f,!0).break()):(s.if((0,n._)`${e} > ${r}`,()=>s.assign(f,!1).break()),1===t?s.assign(f,!0):s.if((0,n._)`${e} >= ${t}`,()=>s.assign(f,!0))))}))}function m(t,r){s.forRange("i",0,h,n=>{e.subschema({keyword:"contains",dataProp:n,dataPropType:i.Type.Num,compositeRule:!0},t),r()})}void 0===r&&1===t?m(f,()=>s.if(f,()=>s.break())):0===t?(s.let(f,!0),void 0!==r&&s.if((0,n._)`${l}.length > 0`,p)):(s.let(f,!1),p()),e.result(f,()=>e.reset())}}},56705:(e,t,r)=>{"use strict";r.d(t,{Kn:()=>c,kW:()=>u,lu:()=>a,rv:()=>o});var n=r(88687),i=r(14862),s=r(8515);(0,i.hY)();var a=[{width:360,height:"auto",icon:"Smartphone",label:"Small"},{width:768,height:"auto",icon:"Tablet",label:"Medium"},{width:1280,height:"auto",icon:"Monitor",label:"Large"},{width:"100%",height:"auto",icon:"FullWidth",label:"Full-width"}];(0,i.hY)(),(0,i.hY)();var o=(e,t)=>e?Object.keys(e.props||{}).reduce((r,n)=>{let a=(null==e?void 0:e.props)||{},o=(null==t?void 0:t.props)||{};return(0,i.ko)((0,i.IA)({},r),{[n]:!(0,s.bD)(o[n],a[n])})},{}):{},l={},u=(e,t,...r)=>(0,i.BU)(null,[e,t,...r],function*(e,t,r={},a,c,d="replace",h=null){let f="type"in e&&"root"!==e.type?t.components[e.type]:t.root,p=(0,i.IA)({},e),m=(null==f?void 0:f.resolveData)&&e.props,y="id"in e.props?e.props.id:"root";if(m){let{item:t=null,resolved:n={},parentId:u=null}=l[y]||{},c=null!==u&&(null==h?void 0:h.props.id)!==u,m=e&&!(0,s.bD)(e,t);if("move"===d&&!c||"move"!==d&&"force"!==d&&!m)return{node:n,didChange:!1};let g=o(e,t);a&&a(e);let{props:v,readOnly:b={}}=yield f.resolveData(e,{changed:g,lastData:t,metadata:(0,i.IA)((0,i.IA)({},r),f.metadata),trigger:d,parent:h});p.props=(0,i.IA)((0,i.IA)({},e.props),v),Object.keys(b).length&&(p.readOnly=b)}let g=(0,n.Rn)(p),v=yield(0,n.YP)(p,{slot:e=>(0,i.BU)(null,[e],function*({value:e}){return yield Promise.all(e.map(e=>(0,i.BU)(null,null,function*(){return(yield u(e,t,r,a,c,d,g)).node})))})},t);return m&&c&&c(p),l[y]={item:e,resolved:v,parentId:null==h?void 0:h.props.id},{node:v,didChange:!(0,s.bD)(e,v)}});(0,i.hY)();var c={data:{content:[],root:{},zones:{}},ui:{leftSideBarVisible:!0,rightSideBarVisible:!0,arrayState:{},itemSelector:null,componentList:{},isDragging:!1,previewMode:"edit",viewports:{current:{width:a[0].width,height:a[0].height||"auto"},options:[],controlsVisible:!0},field:{focus:null},plugin:{current:null}},indexes:{nodes:{},zones:{}}}},56729:(e,t,r)=>{"use strict";
7Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865);function s(e,t){let r=e.schema[t];return void 0!==r&&!(0,i.alwaysValidSchema)(e,r)}t.default={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>(0,n.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,n._)`{failingKeyword: ${e.ifClause}}`},code(e){let t,{gen:r,parentSchema:a,it:o}=e;void 0===a.then&&void 0===a.else&&(0,i.checkStrictMode)(o,'"if" without "then" and "else" is ignored');let l=s(o,"then"),u=s(o,"else");if(!l&&!u)return;let c=r.let("valid",!0),d=r.name("_valid");if(t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},d),e.mergeEvaluated(t),e.reset(),l&&u){let t=r.let("ifClause");e.setParams({ifClause:t}),r.if(d,h("then",t),h("else",t))}else l?r.if(d,h("then")):r.if((0,n.not)(d),h("else"));function h(t,i){return()=>{let s=e.subschema({keyword:t},d);r.assign(c,d),e.mergeValidEvaluated(s,c),i?r.assign(i,(0,n._)`${t}`):e.setParams({ifClause:t})}}e.pass(c,()=>e.error(!0))}}},57599:(e,t,r)=>{"use strict";r.d(t,{AN:()=>e7,FS:()=>tt,HO:()=>eH,gL:()=>ti,sx:()=>tn,ti:()=>tr,ys:()=>eX});var n,i,s,a,o,l,u,c,d,h,f,p,m,y,g,v,b,w,_,$,E,k,S,O,j,P,A,I,C,M,N,R,T,D,z,L,Y,B,U,F,q,V,W=r(77069),K=r(46115),H=r(77790),G=r(17102),Z=r(44087),X=r(28998),J=Object.create,Q=Object.defineProperty,ee=Object.defineProperties,et=Object.getOwnPropertyDescriptor,er=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,ea=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),eo=e=>{throw TypeError(e)},el=(e,t,r)=>t in e?Q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eu=(e,t)=>
7{for(var r in t||(t={}))ei.call(t,r)&&el(e,r,t[r]);if(en)for(var r of en(t))es.call(t,r)&&el(e,r,t[r]);return e},ec=(e,t)=>Q(e,"name",{value:t,configurable:!0}),ed=(e,t)=>{var r={};for(var n in e)ei.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&en)for(var n of en(e))0>t.indexOf(n)&&es.call(e,n)&&(r[n]=e[n]);return r},eh=e=>{var t;return[,,,J(null!=(t=null==e?void 0:e[ea("metadata")])?t:null)]},ef=["class","method","getter","setter","accessor","field","value","get","set"],ep=e=>void 0!==e&&"function"!=typeof e?eo("Function expected"):e,em=(e,t,r,n,i)=>({kind:ef[e],name:t,metadata:n,addInitializer:e=>r._?eo("Already initialized"):i.push(ep(e||null))}),ey=(e,t)=>el(t,ea("metadata"),e[3]),eg=(e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)1&t?s[i].call(r):n=s[i].call(r,n);return n},ev=(e,t,r,n,i,s)=>{var a,o,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,m=ef[d+5],y=d>3&&(e[p-1]=[]),g=e[p]||(e[p]=[]),v=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&et(d<4?i:{get[r](){return ex(this,s)},set[r](x){return e$(this,s,x)}},r));d?f&&d<4&&ec(s,(d>2?"set ":d>1?"get ":"")+r):ec(i,r);for(var b=n.length-1;b>=0;b--)u=em(d,r,l={},e[3],g),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>ew(i,e):e=>r in e},3^d&&(c.get=f?e=>(1^d?ex:eE)(e,i,4^d?s:v.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>e$(e,i,t,4^d?s:v.set):(e,t)=>e[r]=t)),o=(0,n[b])(d?d<4?f?s:v[m]:d>4?void 0:{get:v.get,set:v.set}:i,u),l._=1,4^d||void 0===o?ep(o)&&(d>4?y.unshift(o):d?f?s=o:v[m]=o:i=o):"object"!=typeof o||null===o?eo("Object expected"):(ep(a=o.get)&&(v.get=a),ep(a=o.set)&&(v.set=a),ep(a=o.init)&&y.unshift(a));return d||ey(e,i),v&&Q(i,r,v),f?4^d?s:v:i},eb=(e,t,r)=>t.has(e)||eo("Cannot "+r),ew=(e,t)=>Object(t)!==t?eo('Cannot use the "in" operator on this value'):e.has(t),ex=(e,t,r)=>(eb(e,t,"read from private field"),r?r.call(e):t.get(e)),e_=(e,t,r)=>t.has(e)?eo("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),e$=(e,t,r,n)=>(eb(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),eE=(e,t,r)=>(eb(e,t,"access private method"),r),ek={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},eS={dragstart({operation:{source:e}}){if(e)return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:t}}){if(e&&e.id!==(null==t?void 0:t.id))return t?`Draggable item ${e.id} was moved over droppable target ${t.id}.`:`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:t},canceled:r}){if(e)return r?`Dragging was cancelled. Draggable item ${e.id} was dropped.`:t?`Draggable item ${e.id} was dropped over droppable target ${t.id}`:`Draggable item ${e.id} was dropped.`}},eO=["dragover","dragmove"],ej=class extends W.k_{constructor(e,t){let r,n,i,s;super(e);const{id:a,idPrefix:{description:o="dnd-kit-description",announcement:l="dnd-kit-announcement"}={},announcements:u=eS,screenReaderInstructions:c=ek,debounce:d=500}=null!=t?t:{},h=a?`${o}-${a}`:(0,K.Ij)(o),f=a?`${l}-${a}`:(0,K.Ij)(l),p=(e=s)=>{i&&e&&(null==i?void 0:i.nodeValue)!==e&&(i.nodeValue=e)},m=()=>K.ck.schedule(p),y=function(e,t){let r,n=()=>{clearTimeout(r),r=setTimeout(e,t)};return n.cancel=()=>clearTimeout(r),n}(m,d),g=Object.entries(u).map(([e,t])=>this.manager.monitor.addEventListener(e,(r,n)=>{let a=i;if(!a)return;let o=null==t?void 0:t(r,n);o&&a.nodeValue!==o&&(s=o,eO.includes(e)?y():(m(),y.cancel()))})),v=()=>{var e;let t=[];if(!(null==r?void 0:r.isConnected)){let n;e=c.draggable,(n=document.createElement("div")).id=h,n.style.setProperty("display","none"),n.textContent=e,r=n,t.push(r)}if(!(null==n?void 0:n.isConnected)){let e;(e=document.createElement("div")).id=f,e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.setProperty("position","fixed"),e.style.setProperty("width","1px"),e.style.setProperty("height","1px"),e.style.setProperty("margin","-1px"),e.style.setProperty("border","0"),e.style.setProperty("padding","0"),e.style.setProperty("overflow","hidden"),e.style.setProperty("clip","rect(0 0 0 0)"),e.style.setProperty("clip-path","inset(100%)"),e.style.setProperty("white-space","nowrap"),n=e,i=document.createTextNode(""),n.appendChild(i),t.push(n)}t.length>0&&document.body.append(...t)},b=new Set;function w(){for(let e of b)e()}this.registerEffect(()=>{var e;
7for(let t of(b.clear(),this.manager.registry.draggables.value)){let i=null!=(e=t.handle)?e:t.element;if(i){for(let e of(r&&n||b.add(v),(!["input","select","textarea","a","button"].includes(i.tagName.toLowerCase())||(0,K.nr)())&&!i.hasAttribute("tabindex")&&b.add(()=>i.setAttribute("tabindex","0")),i.hasAttribute("role")||"button"===i.tagName.toLowerCase()||b.add(()=>i.setAttribute("role","button")),i.hasAttribute("aria-roledescription")||b.add(()=>i.setAttribute("aria-roledescription","draggable")),i.hasAttribute("aria-describedby")||b.add(()=>i.setAttribute("aria-describedby",h)),["aria-pressed","aria-grabbed"])){let r=String(t.isDragging);i.getAttribute(e)!==r&&b.add(()=>i.setAttribute(e,r))}let e=String(t.disabled);i.getAttribute("aria-disabled")!==e&&b.add(()=>i.setAttribute("aria-disabled",e))}}b.size>0&&K.ck.schedule(w)}),this.destroy=()=>{super.destroy(),null==r||r.remove(),null==n||n.remove(),g.forEach(e=>e())}}},eP=class extends W.k_{constructor(e,t){super(e,t),this.manager=e;const r=(0,H.EW)(()=>{var e;return(0,K.YE)(null==(e=this.manager.dragOperation.source)?void 0:e.element)});this.destroy=(0,G.QZ)(()=>{var e;let{dragOperation:t}=this.manager,{cursor:n="grabbing",nonce:i}=null!=(e=this.options)?e:{};if(t.status.initialized){let e=r.value,t=e.createElement("style");return i&&t.setAttribute("nonce",i),t.textContent=`* { cursor: ${n} !important; }`,e.head.appendChild(t),()=>t.remove()}})}},eA="data-dnd-",eI=`${eA}dropping`,eC="--dnd-",eM=`${eA}dragging`,eN=`${eA}placeholder`,eR=[eM,eN,"popover","aria-pressed","aria-grabbing"],eT=["view-transition-name"],eD=` 8 :root [${eM}] { 9 position: fixed !important; 10 pointer-events: none !important; 11 touch-action: none; 12 z-index: calc(infinity); 13 will-change: translate; 14 top: var(${eC}top, 0px) !important; 15 left: var(${eC}left, 0px) !important; 16 right: unset !important; 17 bottom: unset !important; 18 width: var(${eC}width, auto); 19 max-width: var(${eC}width, auto); 20 height: var(${eC}height, auto); 21 max-height: var(${eC}height, auto); 22 transition: var(${eC}transition) !important; 23 } 24 25 :root [${eN}] { 26 transition: none; 27 } 28 29 :root [${eN}='hidden'] { 30 visibility: hidden; 31 } 32 33 [${eM}] * { 34 pointer-events: none !important; 35 } 36 37 [${eM}]:not([${eI}]) { 38 translate: var(${eC}translate) !important; 39 } 40 41 [${eM}][style*='${eC}scale'] { 42 scale: var(${eC}scale) !important; 43 transform-origin: var(${eC}transform-origin) !important; 44 } 45 46 @layer { 47 :where([${eM}][popover]) { 48 overflow: visible; 49 background: unset; 50 border: unset; 51 margin: unset; 52 padding: unset; 53 color: inherit; 54 55 &:is(input, button) { 56 border: revert; 57 background: revert; 58 } 59 } 60 } 61 [${eM}]::backdrop, [${eA}overlay]:not([${eM}]) { 62 display: none; 63 visibility: hidden; 64 } 65`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function ez(e,t){return e===t||(0,K._m)(e)===(0,K._m)(t)}function eL(e){let{target:t}=e;"newState"in e&&"closed"===e.newState&&(0,K.vq)(t)&&t.hasAttribute("popover")&&requestAnimationFrame(()=>(0,K.dO)(t))}function eY(e){return"TR"===e.tagName}var eB=new Map,eU=class extends(i=W.k_,n=[H.Kh],i){constructor(e,t){super(e,t),e_(this,o),e_(this,a,eg(s,8,this)),eg(s,11,this),this.state={initial:{},current:{}},this.registerEffect(eE(this,o,u)),this.registerEffect(eE(this,o,l))}destroy(){for(let[e,t]of(super.destroy(),eB.entries()))t.instances.has(this)&&(t.instances.delete(this),0===t.instances.size&&(t.cleanup(),eB.delete(e)))}};s=eh(i),a=new WeakMap,o=new WeakSet,l=function(){var e,t,r;let n,i,{state:s,manager:a,options:o}=this,{dragOperation:l}=a,{position:u,source:c,status:d}=l;if(d.idle){s.current={},s.initial={};return}if(!c)return;let{element:h,feedback:f}=c;if(!h||"none"===f||!d.initialized||d.initializing)return;let{initial:p}=s,m=null!=(e=this.overlay)?e:h,y=(0,K.y4)(m),g=(0,K.y4)(h),v=!ez(h,m),b=new K.yS(h,{frameTransform:v?g:null,ignoreTransforms:!v}),w={x:g.scaleX/y.scaleX,y:g.scaleY/y.scaleY},{width:_,height:$,top:E,left:k}=b;v&&(_/=w.x,$/=w.y);let S=new K.P_(m),{transition:O,translate:j,boxSizing:P,paddingBlockStart:A,paddingBlockEnd:I,paddingInlineStart:C,paddingInlineEnd:M,borderInlineStartWidth:N,borderInlineEndWidth:R,borderBlockStartWidth:T,borderBlockEndWidth:D}=(0,K.qt)(h),z="clone"===f,L="content-box"===P,Y=L?parseInt(C)+parseInt(M)+parseInt(N)+parseInt(R):0,B=L?parseInt(A)+parseInt(I)+parseInt(T)+parseInt(D):0,U="move"===f||this.overlay?null:function(e,t="hidden"){return(0,G.O8)(()=>{let{element:r,manager:n}=e;if(!r||!n)return;let i=function(e,t){let r=new Map;for(let n of t)if(n.element&&(e===n.element||e.contains(n.element))){let e=`${eA}${(0,K.Ij)("dom-id")}`;n.element.setAttribute(e,""),r.set(n,e)}return r}(r,n.registry.droppables),s=[],a=(0,K.Ob)(r),{remove:o}=a;return function(e,t,r){for(let[n,i]of e){if(!n.element)continue;let e=`[${i}]`,s=t.matches(e)?t:t.querySelector(e);
65if(n.element.removeAttribute(i),!s)continue;let a=n.element;n.proxy=s,s.removeAttribute(i),K.hZ.set(a,s),r.push(()=>{K.hZ.delete(a),n.proxy=void 0})}}(i,a,s),function(e,t="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(eN,t)}(a,t),a.remove=()=>{s.forEach(e=>e()),o.call(a)},a})}(c,z?"clone":"hidden"),F=(0,G.O8)(()=>(0,K.kx)(a.dragOperation.activatorEvent));if("none"!==j){let e=(0,K.g)(j);e&&!p.translate&&(p.translate=e)}if(!p.transformOrigin){let e=(0,G.O8)(()=>u.current);p.transformOrigin={x:(e.x-k*y.scaleX-y.x)/(_*y.scaleX),y:(e.y-E*y.scaleY-y.y)/($*y.scaleY)}}let{transformOrigin:q}=p,V=E*y.scaleY+y.y,W=k*y.scaleX+y.x;if(!p.coordinates&&(p.coordinates={x:W,y:V},1!==w.x||1!==w.y)){let{scaleX:e,scaleY:t}=g,{x:r,y:n}=q;p.coordinates.x+=(_*e-_)*r,p.coordinates.y+=($*t-$)*n}p.dimensions||(p.dimensions={width:_,height:$}),p.frameTransform||(p.frameTransform=y);let X={x:p.coordinates.x-W,y:p.coordinates.y-V},J={width:(p.dimensions.width*p.frameTransform.scaleX-_*y.scaleX)*q.x,height:(p.dimensions.height*p.frameTransform.scaleY-$*y.scaleY)*q.y},Q={x:X.x/y.scaleX+J.width,y:X.y/y.scaleY+J.height},et={left:k+Q.x,top:E+Q.y};m.setAttribute(eM,"true");let en=(0,G.O8)(()=>l.transform),ei=null!=(t=p.translate)?t:{x:0,y:0},es=en.x*y.scaleX+ei.x,ea=en.y*y.scaleY+ei.y,eo=`${es}px ${ea}px 0`,el=O?`${O}, translate 0ms linear`:"";S.set({width:_-Y,height:$-B,top:et.top,left:et.left,translate:eo,transition:el,scale:v?`${w.x} ${w.y}`:"","transform-origin":`${100*q.x}% ${100*q.y}%`},eC),U&&(h.insertAdjacentElement("afterend",U),(null==o?void 0:o.rootElement)&&("function"==typeof o.rootElement?o.rootElement(c):o.rootElement).appendChild(h)),(0,K.Ot)(m)&&(m.hasAttribute("popover")||m.setAttribute("popover","manual"),(0,K.dO)(m),m.addEventListener("beforetoggle",eL));let ec=new ResizeObserver(()=>{if(!U)return;let e=new K.yS(U,{frameTransform:y,ignoreTransforms:!0}),t=null!=q?q:{x:1,y:1},r=(_-e.width)*t.x+Q.x,i=($-e.height)*t.y+Q.y;if(S.set({width:e.width-Y,height:e.height-B,top:E+i,left:k+r},eC),null==n||n.takeRecords(),eY(h)&&eY(U)){let e=Array.from(h.cells),t=Array.from(U.cells);for(let[r,n]of e.entries()){let e=t[r];n.style.width=`${e.offsetWidth}px`}}l.shape=new K.yS(m)}),ed=new K.yS(m);(0,G.O8)(()=>l.shape=ed);let eh=(0,K.zk)(m),ef=e=>{this.manager.actions.stop({event:e})};F&&eh.addEventListener("resize",ef),"idle"===(0,G.O8)(()=>c.status)&&requestAnimationFrame(()=>c.status="dragging"),U&&(ec.observe(U),(n=new MutationObserver(e=>{let t=!1;for(let r of e){if(r.target!==h){t=!0;continue}if("attributes"!==r.type)continue;let e=r.attributeName;if(e.startsWith("aria-")||eR.includes(e))continue;let n=h.getAttribute(e);if("style"===e){if((0,K.o8)(h)&&(0,K.o8)(U)){let e=h.style;for(let t of Array.from(U.style))""===e.getPropertyValue(t)&&U.style.removeProperty(t);for(let t of Array.from(e)){if(eT.includes(t)||t.startsWith(eC))continue;let r=e.getPropertyValue(t);U.style.setProperty(t,r)}}}else null!==n?U.setAttribute(e,n):U.removeAttribute(e)}t&&z&&(U.innerHTML=h.innerHTML)})).observe(h,{attributes:!0,subtree:!0,childList:!0}),(i=new MutationObserver(e=>{for(let t of e)if(0!==t.addedNodes.length)for(let e of Array.from(t.addedNodes)){if(e.contains(h)&&h.nextElementSibling!==U){h.insertAdjacentElement("afterend",U),(0,K.dO)(m);return}if(e.contains(U)&&U.previousElementSibling!==h){U.insertAdjacentElement("beforebegin",h),(0,K.dO)(m);return}}})).observe(h.ownerDocument.body,{childList:!0,subtree:!0}));let ep=null==(r=a.dragOperation.source)?void 0:r.id,em=()=>{var e;if(!F||null==ep)return;let t=a.registry.draggables.get(ep),r=null!=(e=null==t?void 0:t.handle)?e:null==t?void 0:t.element;(0,K.sb)(r)&&r.focus()},ey=()=>{null==n||n.disconnect(),null==i||i.disconnect(),ec.disconnect(),eh.removeEventListener("resize",ef),(0,K.Ot)(m)&&(m.removeEventListener("beforetoggle",eL),m.removeAttribute("popover")),m.removeAttribute(eM),S.reset(),c.status="idle";let e=null!=s.current.translate;U&&(e||U.parentElement!==m.parentElement)&&m.isConnected&&U.replaceWith(m),null==U||U.remove()},eg=(0,H.zb)(()=>{var e;let{transform:t,status:r}=l;if((t.x||t.y||s.current.translate)&&r.dragging){let r=null!=(e=p.translate)?e:{x:0,y:0},i={x:t.x/y.scaleX+r.x,y:t.y/y.scaleY+r.y},a=s.current.translate,o=(0,G.O8)(()=>l.modifiers),u=(0,G.O8)(()=>{var e;return null==(e=l.shape)?void 0:e.current});if(S.set({transition:`${O}, translate ${F?"250ms cubic-bezier(0.25, 1, 0.5, 1)":"0ms linear"}`,translate:`${i.x}px ${i.y}px 0`},eC),null==n||n.takeRecords(),u&&u!==ed&&a&&!o.length){let e=Z.bR.delta(i,a);l.shape=Z.M_.from(u.boundingRectangle).translate(e.x*y.scaleX,e.y*y.scaleY)}else l.shape=new K.yS(m);
65s.current.translate=i}},function(){if(l.status.dropped){this.dispose(),c.status="dropping";let e=s.current.translate,t=null!=e;if(e||h===m||(e={x:0,y:0}),!e)return void ey();a.renderer.rendering.then(()=>{var r,i;{(0,K.dO)(m);let[,s]=null!=(r=(0,K.XZ)(m,e=>"translate"in e))?r:[];null==s||s.pause();let a=null!=U?U:h,o={frameTransform:ez(m,a)?null:void 0},l=new K.yS(m,o),u=null!=(i=(0,K.g)((0,K.qt)(m).translate))?i:e,d=new K.yS(a,o),f=Z.M_.delta(l,d,c.alignment),p={x:u.x-f.x,y:u.y-f.y},y=Math.round(l.intrinsicHeight)!==Math.round(d.intrinsicHeight)?{minHeight:[`${l.intrinsicHeight}px`,`${d.intrinsicHeight}px`],maxHeight:[`${l.intrinsicHeight}px`,`${d.intrinsicHeight}px`]}:{},g=Math.round(l.intrinsicWidth)!==Math.round(d.intrinsicWidth)?{minWidth:[`${l.intrinsicWidth}px`,`${d.intrinsicWidth}px`],maxWidth:[`${l.intrinsicWidth}px`,`${d.intrinsicWidth}px`]}:{};S.set({transition:O},eC),m.setAttribute(eI,""),null==n||n.takeRecords(),(0,K.A$)({element:m,keyframes:ee(eu(eu({},y),g),er({translate:[`${u.x}px ${u.y}px 0`,`${p.x}px ${p.y}px 0`]})),options:{duration:t||m!==h?250:0,easing:"ease"}}).then(()=>{m.removeAttribute(eI),null==s||s.finish(),ey(),requestAnimationFrame(em)})}})}});return()=>{ey(),eg()}},u=function(){var e,t,r;let{status:n,source:i,target:s}=this.manager.dragOperation,{nonce:a}=null!=(e=this.options)?e:{};if(n.initializing)for(let e of new Set([(0,K.YE)(null!=(t=null==i?void 0:i.element)?t:null),(0,K.YE)(null!=(r=null==s?void 0:s.element)?r:null)])){let t=eB.get(e);if(!t){let r=document.createElement("style");r.textContent=eD,a&&r.setAttribute("nonce",a),e.head.prepend(r);let n=new MutationObserver(t=>{for(let n of t)if("childList"===n.type){let t=Array.from(n.removedNodes);t.length>0&&t.includes(r)&&e.head.prepend(r)}});n.observe(e.head,{childList:!0}),t={cleanup:()=>{n.disconnect(),r.remove()},instances:new Set},eB.set(e,t)}t.instances.add(this)}},ev(s,4,"overlay",n,eU,a),ey(s,eU),eU.configure=(0,W.cD)(eU),h=[H.Kh],f=K.Dh.Forward,c=[H.Kh],d=K.Dh.Reverse;var eF=class{constructor(){e_(this,m,eg(p,8,this,!0)),eg(p,11,this),e_(this,y,eg(p,12,this,!0)),eg(p,15,this)}isLocked(e){return e!==K.Dh.Idle&&(null==e?!0===this[K.Dh.Forward]&&!0===this[K.Dh.Reverse]:!0===this[e])}unlock(e){e!==K.Dh.Idle&&(this[e]=!1)}};p=eh(null),m=new WeakMap,y=new WeakMap,ev(p,4,f,h,eF,m),ev(p,4,d,c,eF,y),ey(p,eF);var eq=[K.Dh.Forward,K.Dh.Reverse],eV=class{constructor(){this.x=new eF,this.y=new eF}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},eW=class extends W.k_{constructor(e){super(e);const t=(0,G.vP)(new eV);let r=null;this.signal=t,(0,G.QZ)(()=>{let{status:n}=e.dragOperation;if(!n.initialized){r=null,t.value=new eV;return}let{delta:i}=e.dragOperation.position;if(r){let e={x:eK(i.x,r.x),y:eK(i.y,r.y)},n=t.peek();(0,G.vA)(()=>{for(let t of Z.Y5)for(let r of eq)e[t]===r&&n[t].unlock(r);t.value=n})}r=i})}get current(){return this.signal.peek()}};function eK(e,t){return Math.sign(e-t)}var eH=class extends(v=W.rV,g=[H.Kh],v){constructor(e){super(e),e_(this,w,eg(b,8,this,!1)),eg(b,11,this),e_(this,_),e_(this,$,()=>{if(!ex(this,_))return;let{element:e,by:t}=ex(this,_);t.y&&(e.scrollTop+=t.y),t.x&&(e.scrollLeft+=t.x)}),this.scroll=e=>{var t;if(this.disabled)return!1;let r=this.getScrollableElements();if(!r)return e$(this,_,void 0),!1;let{position:n}=this.manager.dragOperation,i=null==n?void 0:n.current;if(i){let{by:n}=null!=e?e:{},s=n?{x:eG(n.x),y:eG(n.y)}:void 0,a=s?void 0:this.scrollIntentTracker.current;if(null==a?void 0:a.isLocked())return!1;for(let e of r){let r=(0,K.a_)(e,n);if(r.x||r.y){let{speed:r,direction:o}=(0,K.Fk)(e,i,s);if(a)for(let e of Z.Y5)a[e].isLocked(o[e])&&(r[e]=0,o[e]=0);if(o.x||o.y){let{x:i,y:s}=null!=n?n:o,a=i*r.x,l=s*r.y;if(a||l){let r=null==(t=ex(this,_))?void 0:t.by;if(this.autoScrolling&&r&&(r.x&&!a||r.y&&!l))continue;return e$(this,_,{element:e,by:{x:a,y:l}}),K.ck.schedule(ex(this,$)),!0}}}}}return e$(this,_,void 0),!1};let t=null,r=null;const n=(0,H.EW)(()=>{let{position:r,source:n}=e.dragOperation;if(!r)return null;let i=(0,K.Fm)((0,K.YE)(null==n?void 0:n.element),r.current);return i&&(t=i),null!=i?i:t}),i=(0,H.EW)(()=>{let t=n.value,{documentElement:i}=(0,K.YE)(t);if(!t||t===i){let{target:t}=e.dragOperation,n=null==t?void 0:t.element;if(n){let e=(0,K.sl)(n,{excludeElement:!1});return r=e,e}}if(t){let e=(0,K.sl)(t,{excludeElement:!1});return this.autoScrolling&&r&&e.size<(null==r?void 0:r.size)?r:(r=e,e)}return r=null,null},H.bD);
65this.getScrollableElements=()=>i.value,this.scrollIntentTracker=new eW(e),this.destroy=e.monitor.addEventListener("dragmove",t=>{!this.disabled&&!t.defaultPrevented&&(0,K.kx)(e.dragOperation.activatorEvent)&&t.by&&this.scroll({by:t.by})&&t.preventDefault()})}};function eG(e){return e>0?K.Dh.Forward:e<0?K.Dh.Reverse:K.Dh.Idle}b=eh(v),w=new WeakMap,_=new WeakMap,$=new WeakMap,ev(b,4,"autoScrolling",g,eH,w),ey(b,eH);var eZ=new class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:e,resolvers:t}=this;for(let t of(this.pending=!1,this.tasks=new Set,this.resolvers=new Set,e))t();for(let e of t)e()}}schedule(e){return this.tasks.add(e),this.pending||(this.pending=!0,this.scheduler(this.flush)),new Promise(e=>this.resolvers.add(e))}}(e=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()}),eX=class extends W.k_{constructor(e,t){super(e);const r=e.registry.plugins.get(eH);if(!r)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=(0,G.QZ)(()=>{if(this.disabled)return;let{position:t,status:n}=e.dragOperation;if(n.dragging){if(r.scroll()){r.autoScrolling=!0;let e=setInterval(()=>eZ.schedule(r.scroll),10);return()=>{clearInterval(e)}}r.autoScrolling=!1}})}},eJ={capture:!0,passive:!0},eQ=class extends W.rV{constructor(e){super(e),e_(this,E),this.handleScroll=()=>{null==ex(this,E)&&e$(this,E,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),e$(this,E,void 0)},50))};const{dragOperation:t}=this.manager;this.destroy=(0,G.QZ)(()=>{var e,r,n;if(t.status.dragging){let i=null!=(n=null==(r=null==(e=t.source)?void 0:e.element)?void 0:r.ownerDocument)?n:document;return i.addEventListener("scroll",this.handleScroll,eJ),()=>{i.removeEventListener("scroll",this.handleScroll,eJ)}}})}};E=new WeakMap;var e0=class extends W.k_{constructor(e,t){super(e,t),this.manager=e,this.destroy=(0,G.QZ)(()=>{var e;let{dragOperation:t}=this.manager,{nonce:r}=null!=(e=this.options)?e:{};if(t.status.initialized){let e=document.createElement("style");return r&&e.setAttribute("nonce",r),e.textContent="* { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(e),e1(),document.addEventListener("selectionchange",e1,{capture:!0}),()=>{document.removeEventListener("selectionchange",e1,{capture:!0}),e.remove()}}})}};function e1(){var e;null==(e=document.getSelection())||e.removeAllRanges()}var e2=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},shouldActivate(e){var t;let{event:r,source:n}=e,i=null!=(t=n.handle)?t:n.element;return r.target===i}}),e5=class extends W.$A{constructor(e,t){super(e),this.manager=e,this.options=t,e_(this,k,[]),this.listeners=new K.qR,this.handleSourceKeyDown=(e,t,r)=>{if(this.disabled||e.defaultPrevented||!(0,K.vq)(e.target)||t.disabled)return;let{keyboardCodes:n=e2.keyboardCodes,shouldActivate:i=e2.shouldActivate}=null!=r?r:{};!n.start.includes(e.code)||this.manager.dragOperation.status.idle&&i({event:e,source:t,manager:this.manager})&&this.handleStart(e,t,r)}}bind(e,t=this.options){return(0,G.QZ)(()=>{var r;let n=null!=(r=e.handle)?r:e.element,i=r=>{(0,K.kx)(r)&&this.handleSourceKeyDown(r,e,t)};if(n)return n.addEventListener("keydown",i),()=>{n.removeEventListener("keydown",i)}})}handleStart(e,t,r){let{element:n}=t;if(!n)throw Error("Source draggable does not have an associated element");e.preventDefault(),e.stopImmediatePropagation(),(0,K.$v)(n);let{center:i}=new K.yS(n);if(this.manager.actions.start({event:e,coordinates:{x:i.x,y:i.y},source:t}).signal.aborted)return this.cleanup();this.sideEffects();let s=(0,K.YE)(n),a=[this.listeners.bind(s,[{type:"keydown",listener:e=>this.handleKeyDown(e,t,r),options:{capture:!0}}])];ex(this,k).push(...a)}handleKeyDown(e,t,r){let{keyboardCodes:n=e2.keyboardCodes}=null!=r?r:{};if(e6(e,[...n.end,...n.cancel])){e.preventDefault();let t=e6(e,n.cancel);this.handleEnd(e,t);return}e6(e,n.up)?this.handleMove("up",e):e6(e,n.down)&&this.handleMove("down",e),e6(e,n.left)?this.handleMove("left",e):e6(e,n.right)&&this.handleMove("right",e)}handleEnd(e,t){this.manager.actions.stop({event:e,canceled:t}),this.cleanup()}handleMove(e,t){var r,n;let{shape:i}=this.manager.dragOperation,s=t.shiftKey?5:1,a={x:0,y:0},o=null!=(n=null==(r=this.options)?void 0:r.offset)?n:e2.offset;if("number"==typeof o&&(o={x:o,y:o}),i){switch(e){case"up":a={x:0,y:-o.y*s};break;case"down":a={x:0,y:o.y*s};break;case"left":a={x:-o.x*s,y:0};break;case"right":a={x:o.x*s,y:0}}(a.x||a.y)&&(t.preventDefault(),this.manager.actions.move({event:t,by:a}))}}sideEffects(){let e=this.manager.registry.plugins.get(eX);(null==e?void 0:e.disabled)===!1&&(e.disable(),ex(this,k).push(()=>{e.enable()}))}
65cleanup(){ex(this,k).forEach(e=>e()),e$(this,k,[])}destroy(){this.cleanup(),this.listeners.clear()}};function e6(e,t){return t.includes(e.code)}k=new WeakMap,e5.configure=(0,W.cD)(e5),e5.defaults=e2;var e4=Object.freeze({activationConstraints(e,t){var r;let{pointerType:n,target:i}=e;if(!("mouse"===n&&(0,K.vq)(i)&&(t.handle===i||(null==(r=t.handle)?void 0:r.contains(i)))))return"touch"===n?{delay:{value:250,tolerance:5}}:(0,K.AI)(i)&&!e.defaultPrevented?{delay:{value:200,tolerance:0}}:{delay:{value:200,tolerance:10},distance:{value:5}}}}),e3=class extends W.$A{constructor(e,t){super(e),this.manager=e,this.options=t,e_(this,S,new Set),e_(this,O),this.listeners=new K.qR,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:e,coordinates:t}=this.latest;e&&t&&this.manager.actions.move({event:e,to:t})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(e,t){var r;let{activationConstraints:n=e4.activationConstraints}=null!=(r=this.options)?r:{};return"function"==typeof n?n(e,t):n}bind(e,t=this.options){return(0,G.QZ)(()=>{var r,n;let i=new AbortController,{signal:s}=i,a=r=>{(0,K.EE)(r)&&this.handlePointerDown(r,e,t)},o=[null!=(r=e.handle)?r:e.element];for(let r of((null==t?void 0:t.activatorElements)&&(o=Array.isArray(t.activatorElements)?t.activatorElements:t.activatorElements(e)),o)){r&&(!(n=r.ownerDocument.defaultView)||te.has(n)||(n.addEventListener("touchmove",e9,{capture:!1,passive:!1}),te.add(n)),r.addEventListener("pointerdown",a,{signal:s}))}return()=>i.abort()})}handlePointerDown(e,t,r={}){if(this.disabled||!e.isPrimary||0!==e.button||!(0,K.vq)(e.target)||t.disabled||"sensor"in e||!this.manager.dragOperation.status.idle)return;let{target:n}=e,i=(0,K.sb)(n)&&n.draggable&&"true"===n.getAttribute("draggable"),s=(0,K.y4)(t.element);this.initialCoordinates={x:e.clientX*s.scaleX+s.x,y:e.clientY*s.scaleY+s.y};let a=this.activationConstraints(e,t);if(e.sensor=this,(null==a?void 0:a.delay)||(null==a?void 0:a.distance)){let{delay:r}=a;if(r){let n=setTimeout(()=>this.handleStart(t,e),r.value);e$(this,O,()=>{clearTimeout(n),e$(this,O,void 0)})}}else this.handleStart(t,e);let o=(0,K.YE)(e.target),l=this.listeners.bind(o,[{type:"pointermove",listener:e=>this.handlePointerMove(e,t)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"dragstart",listener:i?this.handleCancel:e8,options:{capture:!0}}]),u=()=>{var e;l(),null==(e=ex(this,O))||e.call(this),this.initialCoordinates=void 0};ex(this,S).add(u)}handlePointerMove(e,t){let r={x:e.clientX,y:e.clientY},n=(0,K.y4)(t.element);if(r.x=r.x*n.scaleX+n.x,r.y=r.y*n.scaleY+n.y,this.manager.dragOperation.status.dragging){e.preventDefault(),e.stopPropagation(),this.latest.event=e,this.latest.coordinates=r,K.ck.schedule(this.handleMove);return}if(!this.initialCoordinates)return;let i={x:r.x-this.initialCoordinates.x,y:r.y-this.initialCoordinates.y},s=this.activationConstraints(e,t),{distance:a,delay:o}=null!=s?s:{};if(a){if(null!=a.tolerance&&(0,Z.dq)(i,a.tolerance))return this.handleCancel(e);if((0,Z.dq)(i,a.value))return this.handleStart(t,e)}if(o&&(0,Z.dq)(i,o.tolerance))return this.handleCancel(e)}handlePointerUp(e){let{status:t}=this.manager.dragOperation;if(!t.idle){e.preventDefault(),e.stopPropagation();let r=!t.initialized;this.manager.actions.stop({event:e,canceled:r})}this.cleanup()}handleKeyDown(e){"Escape"===e.key&&(e.preventDefault(),this.handleCancel(e))}handleStart(e,t){var r;let{manager:n,initialCoordinates:i}=this;if(null==(r=ex(this,O))||r.call(this),!i||!n.dragOperation.status.idle||t.defaultPrevented)return;if(n.actions.start({coordinates:i,event:t,source:e}).signal.aborted)return this.cleanup();t.preventDefault();let s=(0,K.YE)(t.target),a=s.body;a.setPointerCapture(t.pointerId);let o=this.listeners.bind(s,[{type:"touchmove",listener:e8,options:{passive:!1}},{type:"click",listener:e8},{type:"contextmenu",listener:e8},{type:"keydown",listener:this.handleKeyDown},{type:"lostpointercapture",listener:e=>{e.target===a&&this.handlePointerUp(e)}}]);ex(this,S).add(o)}handleCancel(e){let{dragOperation:t}=this.manager;t.status.initialized&&this.manager.actions.stop({event:e,canceled:!0}),this.cleanup()}cleanup(){this.latest={event:void 0,coordinates:void 0}
65,ex(this,S).forEach(e=>e()),ex(this,S).clear()}destroy(){this.cleanup(),this.listeners.clear()}};S=new WeakMap,O=new WeakMap,e3.configure=(0,W.cD)(e3),e3.defaults=e4;var e7=e3;function e8(e){e.preventDefault()}function e9(){}var te=new WeakSet,tt={modifiers:[],plugins:[ej,eX,eP,eU,e0],sensors:[e7,e5]},tr=class extends W.ti{constructor(e={}){const{plugins:t=tt.plugins,sensors:r=tt.sensors,modifiers:n=[]}=e;super(ee(eu({},e),er({plugins:[eQ,eH,...t],sensors:r,modifiers:n})))}},tn=class extends(I=W.sx,A=[H.Kh],P=[H.Kh],j=[H.Kh],I){constructor(e,t){var{element:r,effects:n=()=>[],handle:i,feedback:s="default"}=e;super(eu({effects:()=>[...n(),()=>{var e,t;let{manager:r}=this;if(!r)return;let n=(null!=(t=null==(e=this.sensors)?void 0:e.map(W.yu))?t:[...r.sensors]).map(e=>{let t=e instanceof W.$A?e:r.registry.register(e.plugin),n=e instanceof W.$A?void 0:e.options;return t.bind(this,n)});return function(){n.forEach(e=>e())}}]},ed(e,["element","effects","handle","feedback"])),t),e_(this,M,eg(C,8,this)),eg(C,11,this),e_(this,N,eg(C,12,this)),eg(C,15,this),e_(this,R,eg(C,16,this)),eg(C,19,this),this.element=r,this.handle=i,this.feedback=s}};C=eh(I),M=new WeakMap,N=new WeakMap,R=new WeakMap,ev(C,4,"handle",A,tn,M),ev(C,4,"element",P,tn,N),ev(C,4,"feedback",j,tn,R),ey(C,tn);var ti=class extends(z=W.gL,D=[H.Kh],T=[H.Kh],z){constructor(e,t){var{element:r,effects:n=()=>[]}=e,i=ed(e,["element","effects"]);const{collisionDetector:s=X.V6}=i,a=e=>{let{manager:t,element:r}=this;if(!r||null===e){this.shape=void 0;return}if(!t)return;let n=new K.yS(r),i=(0,G.O8)(()=>this.shape);return n&&(null==i?void 0:i.equals(n))?i:(this.shape=n,n)},o=(0,G.vP)(!1);super(ee(eu({},i),er({collisionDetector:s,effects:()=>[...n(),()=>{let{element:e,manager:t}=this;if(!t)return;let{dragOperation:r}=t,{source:n}=r;o.value=!!(n&&r.status.initialized&&e&&!this.disabled&&this.accepts(n))},()=>{let{element:e}=this;if(o.value&&e){let t=new K.UX(e,a);return()=>{t.disconnect(),this.shape=void 0}}},()=>{var e;if(null==(e=this.manager)?void 0:e.dragOperation.status.initialized)return()=>{this.shape=void 0}}]})),t),e_(this,q),e_(this,Y,eg(L,8,this)),eg(L,11,this),e_(this,V,eg(L,12,this)),eg(L,15,this),this.element=r,this.refreshShape=()=>a()}set element(e){e$(this,q,e,F)}get element(){var e;return null!=(e=this.proxy)?e:ex(this,q,U)}};L=eh(z),Y=new WeakMap,q=new WeakSet,V=new WeakMap,U=(B=ev(L,20,"#element",D,q,Y)).get,F=B.set,ev(L,4,"proxy",T,ti,V),ey(L,ti)},57681:e=>{"use strict";var t=e.exports=function(e,r,n){"function"==typeof r&&(n=r,r={});var i="function"==typeof(n=r.cb||n)?n:n.pre||function(){};!function e(r,n,i,s,a,o,l,u,c,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var h in n(s,a,o,l,u,c,d),s){var f=s[h];if(Array.isArray(f)){if(h in t.arrayKeywords)for(var p=0;p<f.length;p++)e(r,n,i,f[p],a+"/"+h+"/"+p,o,a,h,s,p)}else if(h in t.propsKeywords){if(f&&"object"==typeof f)for(var m in f)e(r,n,i,f[m],a+"/"+h+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),o,a,h,s,m)}else(h in t.keywords||r.allKeys&&!(h in t.skipKeywords))&&e(r,n,i,f,a+"/"+h,o,a,h,s)}i(s,a,o,l,u,c,d)}}(r,i,n.post||function(){},e,"",e)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},57787:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865),s=r(32415);t.default={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>(0,n.str)`must NOT have ${"maxLength"===e?"more":"fewer"} than ${t} characters`,params:({schemaCode:e})=>(0,n._)`{limit: ${e}}`},code(e){let{keyword:t,data:r,schemaCode:a,it:o}=e,l="maxLength"===t?n.operators.GT:n.operators.LT,u=!1===o.opts.unicode?(0,n._)`${r}.length`:(0,n._)`${(0,i.useFunc)(e.gen,s.default)}(${r})`;e.fail$data((0,n._)`${u} ${l} ${a}`)}}},57969:(e,t,r)=>{"use strict";
65Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865);t.default={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`},code(e){let{gen:t,schema:r,data:s,it:a}=e,o=a.items||0;if(!0===o)return;let l=t.const("len",(0,n._)`${s}.length`);if(!1===r)e.setParams({len:o}),e.fail((0,n._)`${l} > ${o}`);else if("object"==typeof r&&!(0,i.alwaysValidSchema)(a,r)){let r=t.var("valid",(0,n._)`${l} <= ${o}`);t.if((0,n.not)(r),()=>{var s,u;return s=r,u=o,void t.forRange("i",u,l,r=>{e.subschema({keyword:"unevaluatedItems",dataProp:r,dataPropType:i.Type.Num},s),a.allErrors||t.if((0,n.not)(s),()=>t.break())})}),e.ok(r)}a.items=!0}}},58373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},58690:(e,t,r)=>{"use strict";function n(e){var t;if(null!=e)return null!=e&&"object"==typeof e&&"current"in e?null!=(t=e.current)?t:void 0:e}r.d(t,{b:()=>n})},58766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(42193),i=r(43882),s=r(28294),a=r(97142),o=r(53247),l=r(49067),u=r(96797),c=r(49734),d=r(18083),h=r(20601),f=r(7479),p=r(93773),m=r(67107),y=r(67012),g=r(56729),v=r(74100);t.default=function(e=!1){let t=[f.default,p.default,m.default,y.default,g.default,v.default,u.default,c.default,l.default,d.default,h.default];return e?t.push(i.default,a.default):t.push(n.default,s.default),t.push(o.default),t}},59316:(e,t,r)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;let s=r(63432),a=r(25141),o=r(32258),l=r(77637),u=r(11865);function c(e){let t=Array.isArray(e)?e:e?[e]:[];if(t.every(s.isJSONType))return t;throw Error("type must be JSONType or JSONType[]: "+t.join(","))}(i=n||(t.DataType=n={}))[i.Correct=0]="Correct",i[i.Wrong=1]="Wrong",t.getSchemaTypes=function(e){let t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){var r,i;let{gen:s,data:o,opts:u}=e,c=(r=t,(i=u.coerceTypes)?r.filter(e=>d.has(e)||"array"===i&&"array"===e):[]),h=t.length>0&&!(0===c.length&&1===t.length&&(0,a.schemaHasRulesForType)(e,t[0]));if(h){let r=f(t,o,u.strictNumbers,n.Wrong);s.if(r,()=>{c.length?function(e,t,r){let{gen:n,data:i,opts:s}=e,a=n.let("dataType",(0,l._)`typeof ${i}`),o=n.let("coerced",(0,l._)`undefined`);for(let e of("array"===s.coerceTypes&&n.if((0,l._)`${a} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,l._)`${i}[0]`).assign(a,(0,l._)`typeof ${i}`).if(f(t,i,s.strictNumbers),()=>n.assign(o,i))),n.if((0,l._)`${o} !== undefined`),r))(d.has(e)||"array"===e&&"array"===s.coerceTypes)&&function(e){switch(e){case"string":n.elseIf((0,l._)`${a} == "number" || ${a} == "boolean"`).assign(o,(0,l._)`"" + ${i}`).elseIf((0,l._)`${i} === null`).assign(o,(0,l._)`""`);return;case"number":n.elseIf((0,l._)`${a} == "boolean" || ${i} === null 66 || (${a} == "string" && ${i} && ${i} == +${i})`).assign(o,(0,l._)`+${i}`);return;case"integer":n.elseIf((0,l._)`${a} === "boolean" || ${i} === null 67 || (${a} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(o,(0,l._)`+${i}`);return;case"boolean":n.elseIf((0,l._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(o,!1).elseIf((0,l._)`${i} === "true" || ${i} === 1`).assign(o,!0);return;case"null":n.elseIf((0,l._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(o,null);return;case"array":n.elseIf((0,l._)`${a} === "string" || ${a} === "number" 68 || ${a} === "boolean" || ${i} === null`).assign(o,(0,l._)`[${i}]`)}}(e);n.else(),m(e),n.endIf(),n.if((0,l._)`${o} !== undefined`,()=>{n.assign(i,o),function({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,l._)`${t} !== undefined`,()=>e.assign((0,l._)`${t}[${r}]`,n))}(e,o)})}(e,t,c):m(e)})}return h};let d=new Set(["string","number","integer","boolean","null"]);function h(e,t,r,i=n.Correct){let s,a=i===n.Correct?l.operators.EQ:l.operators.NEQ;switch(e){case"null":return(0,l._)`${t} ${a} null`;case"array":s=(0,l._)`Array.isArray(${t})`;break;case"object":s=(0,l._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=o((0,l._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=o();break;default:return(0,l._)`typeof ${t} ${a} ${e}`}return i===n.Correct?s:(0,l.not)(s);function o(e=l.nil){return(0,l.and)((0,l._)`typeof ${t} == "number"`,e,r?(0,l._)`isFinite(${t})`:l.nil)}}function f(e,t,r,n){let i;if(1===e.length)return h(e[0],t,r,n);let s=(0,u.toHash)(e);if(s.array&&s.object){let e=(0,l._)`typeof ${t} != "object"`;i=s.null?e:(0,l._)`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else i=l.nil;for(let e in s.number&&delete s.integer,s)i=(0,l.and)(i,h(e,t,r,n));return i}t.checkDataType=h,t.checkDataTypes=f;let p={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?(0,l._)`{type: ${e}}`:(0,l._)`{type: ${t}}`};function m(e){let t=function(e){let{gen:t,data:r,schema:n}=e,i=(0,u.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}(e);(0,o.reportError)(t,p)}t.reportTypeError=m},60352:(e,t)=>
68{"use strict";function r(e,t){return{validate:e,compare:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0,t.fullFormats={date:r(s,a),time:r(l,u),"date-time":r(function(e){let t=e.split(c);return 2===t.length&&s(t[0])&&l(t[1],!0)},d),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return h.test(e)&&f.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(v.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return p.lastIndex=0,p.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=y&&e>=m}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:g},double:{type:"number",validate:g},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:r(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,a),time:r(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":r(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,d),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);let n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(e){var t;let r=n.exec(e);if(!r)return!1;let s=+r[1],a=+r[2],o=+r[3];return a>=1&&a<=12&&o>=1&&o<=(2===a&&(t=s)%4==0&&(t%100!=0||t%400==0)?29:i[a])}function a(e,t){if(e&&t)return e>t?1:e<t?-1:0}let o=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function l(e,t){let r=o.exec(e);if(!r)return!1;let n=+r[1],i=+r[2],s=+r[3],a=r[5];return(n<=23&&i<=59&&s<=59||23===n&&59===i&&60===s)&&(!t||""!==a)}function u(e,t){if(!(e&&t))return;let r=o.exec(e),n=o.exec(t);if(r&&n)return(e=r[1]+r[2]+r[3]+(r[4]||""))>(t=n[1]+n[2]+n[3]+(n[4]||""))?1:e<t?-1:0}let c=/t|\s/i;function d(e,t){if(!(e&&t))return;
68let[r,n]=e.split(c),[i,s]=t.split(c),o=a(r,i);if(void 0!==o)return o||u(n,s)}let h=/\/|:/,f=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,p=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm,m=-0x80000000,y=0x80000000-1;function g(){return!0}let v=/[^\\]\\Z/},63432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;let r=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},66003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;let n=r(32258),i=r(77637),s=r(30199),a={message:"boolean schema is false"};function o(e,t){let{gen:r,data:i}=e;(0,n.reportError)({gen:r,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e},a,void 0,t)}t.topBoolOrEmptySchema=function(e){let{gen:t,schema:r,validateName:n}=e;!1===r?o(e,!1):"object"==typeof r&&!0===r.$async?t.return(s.default.data):(t.assign((0,i._)`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){let{gen:r,schema:n}=e;!1===n?(r.var(t,!1),o(e)):r.var(t,!0)}},66651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;let n=r(66790),i=r(77637),s=i.operators,a={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}};t.formatLimitDefinition={keyword:Object.keys(a),type:"string",schemaType:"string",$data:!0,error:{message:({keyword:e,schemaCode:t})=>i.str`should be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>i._`{comparison: ${a[e].okStr}, limit: ${t}}`},code(e){let t,r,{gen:s,data:o,schemaCode:l,keyword:u,it:c}=e,{opts:d,self:h}=c;if(!d.validateFormats)return;let f=new n.KeywordCxt(c,h.RULES.all.format.definition,"format");function p(e){return i._`${e}.compare(${o}, ${l}) ${a[u].fail} 0`}f.$data?(t=s.scopeValue("formats",{ref:h.formats,code:d.code.formats}),r=s.const("fmt",i._`${t}[${f.schemaCode}]`),e.fail$data(i.or(i._`typeof ${r} != "object"`,i._`${r} instanceof RegExp`,i._`typeof ${r}.compare != "function"`,p(r)))):function(){let t=f.schema,r=h.formats[t];if(!r||!0===r)return;if("object"!=typeof r||r instanceof RegExp||"function"!=typeof r.compare)throw Error(`"${u}": format "${t}" does not define "compare" function`);let n=s.scopeValue("formats",{key:t,ref:r,code:d.code.formats?i._`${d.code.formats}${i.getProperty(t)}`:void 0});e.fail$data(p(n))}()},dependencies:["format"]},t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},66790:(e,t,r)=>{"use strict";
68Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;let n=r(40764),i=r(48596),s=r(83671),a=r(32589),o=["/properties"],l="http://json-schema.org/draft-07/schema";class u extends n.default{_addVocabularies(){super._addVocabularies(),i.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(a,o):a;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=u,e.exports=t=u,e.exports.Ajv=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=r(94864);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var d=r(77637);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var h=r(75292);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=r(76475);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})},67012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(11865);t.default={keyword:"allOf",schemaType:"array",code(e){let{gen:t,schema:r,it:i}=e;if(!Array.isArray(r))throw Error("ajv implementation error");let s=t.name("valid");r.forEach((t,r)=>{if((0,n.alwaysValidSchema)(i,t))return;let a=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s),e.mergeEvaluated(a)})}}},67107:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865);t.default={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>(0,n._)`{passingSchemas: ${e.passing}}`},code(e){let{gen:t,schema:r,parentSchema:s,it:a}=e;if(!Array.isArray(r))throw Error("ajv implementation error");if(a.opts.discriminator&&s.discriminator)return;let o=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block(function(){r.forEach((r,s)=>{let c;(0,i.alwaysValidSchema)(a,r)?t.var(u,!0):c=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:!0},u),s>0&&t.if((0,n._)`${u} && ${o}`).assign(o,!1).assign(l,(0,n._)`[${l}, ${s}]`).else(),t.if(u,()=>{t.assign(o,!0),t.assign(l,s),c&&e.mergeEvaluated(c,n.Name)})})}),e.result(o,()=>e.reset(),()=>e.error(!0))}}},69218:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,(n=r||(t.DiscrError=r={})).Tag="tag",n.Mapping="mapping"},69914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=n.operators,s={maximum:{okStr:"<=",ok:i.LTE,fail:i.GT},minimum:{okStr:">=",ok:i.GTE,fail:i.LT},exclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},exclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}};t.default={keyword:Object.keys(s),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:e,schemaCode:t})=>(0,n.str)`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,n._)`{comparison: ${s[e].okStr}, limit: ${t}}`},code(e){let{keyword:t,data:r,schemaCode:i}=e;e.fail$data((0,n._)`${r} ${s[t].fail} ${i} || isNaN(${r})`)}}},71506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(75224),i=r(3776),s=r(33665),a=r(48592),o=r(7974),l=r(24498),u=r(88465),c=r(44530),d=["/properties"];t.default=function(e){return[n,i,s,a,o,t(this,l),u,t(this,c)].forEach(e=>this.addMetaSchema(e,void 0,!1)),this;function t(t,r){return e?t.$dataMetaSchema(r,d):r}}},72387:(e,t,r)=>{"use strict";
68Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;let n=r(77637),i=r(30199),s=r(7293),a=r(32258);function o(e){let{gen:t,data:r,it:i}=e;t.if(i.parentData,()=>t.assign(r,(0,n._)`${i.parentData}[${i.parentDataProperty}]`))}function l(e,t,r){if(void 0===r)throw Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}t.macroKeywordCode=function(e,t){let{gen:r,keyword:i,schema:s,parentSchema:a,it:o}=e,u=t.macro.call(o.self,s,a,o),c=l(r,i,u);!1!==o.opts.validateSchema&&o.self.validateSchema(u,!0);let d=r.name("valid");e.subschema({schema:u,schemaPath:n.nil,errSchemaPath:`${o.errSchemaPath}/${i}`,topSchemaRef:c,compositeRule:!0},d),e.pass(d,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var r;let{gen:u,keyword:c,schema:d,parentSchema:h,$data:f,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw Error("async keyword in sync schema")}(p,t);let m=l(u,c,!f&&t.compile?t.compile.call(p.self,d,h,p):t.validate),y=u.let("valid");function g(r=t.async?(0,n._)`await `:n.nil){let a=p.opts.passContext?i.default.this:i.default.self,o=!("compile"in t&&!f||!1===t.schema);u.assign(y,(0,n._)`${r}${(0,s.callValidateCode)(e,m,a,o)}`,t.modifying)}function v(e){var r;u.if((0,n.not)(null!=(r=t.valid)?r:y),e)}e.block$data(y,function(){if(!1===t.errors)g(),t.modifying&&o(e),v(()=>e.error());else{let r,s,l=t.async?(r=u.let("ruleErrs",null),u.try(()=>g((0,n._)`await `),e=>u.assign(y,!1).if((0,n._)`${e} instanceof ${p.ValidationError}`,()=>u.assign(r,(0,n._)`${e}.errors`),()=>u.throw(e))),r):(s=(0,n._)`${m}.errors`,u.assign(s,null),g(n.nil),s);t.modifying&&o(e),v(()=>(function(e,t){let{gen:r}=e;r.if((0,n._)`Array.isArray(${t})`,()=>{r.assign(i.default.vErrors,(0,n._)`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`).assign(i.default.errors,(0,n._)`${i.default.vErrors}.length`),(0,a.extendErrors)(e)},()=>e.error())})(e,l))}}),e.ok(null!=(r=t.valid)?r:y)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e)},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},i,s){if(Array.isArray(i.keyword)?!i.keyword.includes(s):i.keyword!==s)throw Error("ajv implementation error");let a=i.dependencies;if(null==a?void 0:a.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw Error(`parent schema must have dependencies of ${s}: ${a.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[s])){let e=`keyword "${s}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if("log"===t.validateSchema)r.logger.error(e);else throw Error(e)}}},73433:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}}},73737:(e,t,r)=>{"use strict";r.d(t,{o:()=>n}),(0,r(14862).hY)();var n={RichTextEditor:"_RichTextEditor_z25h4_1","RichTextEditor--editor":"_RichTextEditor--editor_z25h4_50","RichTextEditor--disabled":"_RichTextEditor--disabled_z25h4_107","RichTextEditor--isActive":"_RichTextEditor--isActive_z25h4_111","RichTextEditor-menu":"_RichTextEditor-menu_z25h4_117"}},74100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(11865);t.default={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}}},75134:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(7293),i=r(77637);t.default={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>(0,i.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,i._)`{pattern: ${e}}`},code(e){let{data:t,$data:r,schema:s,schemaCode:a,it:o}=e,l=o.opts.unicodeRegExp?"u":"",u=r?(0,i._)`(new RegExp(${a}, ${l}))`:(0,n.usePattern)(e,s);e.fail$data((0,i._)`!${u}.test(${t})`)}}},75166:(e,t,r)=>{"use strict";
68Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicAnchor=void 0;let n=r(77637),i=r(30199),s=r(48463),a=r(9709);function o(e,t){let{gen:r,it:o}=e;o.schemaEnv.root.dynamicAnchors[t]=!0;let l=(0,n._)`${i.default.dynamicAnchors}${(0,n.getProperty)(t)}`,u="#"===o.errSchemaPath?o.validateName:function(e){let{schemaEnv:t,schema:r,self:n}=e.it,{root:i,baseId:o,localRefs:l,meta:u}=t.root,{schemaId:c}=n.opts,d=new s.SchemaEnv({schema:r,schemaId:c,root:i,baseId:o,localRefs:l,meta:u});return s.compileSchema.call(n,d),(0,a.getValidate)(e,d)}(e);r.if((0,n._)`!${l}`,()=>r.assign(l,u))}t.dynamicAnchor=o,t.default={keyword:"$dynamicAnchor",schemaType:"string",code:e=>o(e,e.schema)}},75224:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')},75292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},76475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(16683);
68class i extends Error{constructor(e,t,r,i){super(i||`can't resolve reference ${r} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,r),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=i},76652:e=>{"use strict";let t=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,r=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function n(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function i(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function s(e){let t="https"===String(e.scheme).toLowerCase();return(e.port===(t?443:80)||""===e.port)&&(e.port=void 0),e.path||(e.path="/"),e}let a={scheme:"http",domainHost:!0,parse:i,serialize:s},o={scheme:"https",domainHost:a.domainHost,parse:i,serialize:s},l={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=n(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if((e.port===(n(e)?443:80)||""===e.port)&&(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){let[t,r]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}},u={scheme:"wss",domainHost:l.domainHost,parse:l.parse,serialize:l.serialize},c={http:a,https:o,ws:l,wss:u,urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;let n=e.path.match(r);if(n){let r=t.scheme||e.scheme||"urn";e.nid=n[1].toLowerCase(),e.nss=n[2];let i=c[`${r}:${t.nid||e.nid}`];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){let r=t.scheme||e.scheme||"urn",n=e.nid.toLowerCase(),i=c[`${r}:${t.nid||n}`];i&&(e=i.serialize(e,t));let s=e,a=e.nss;return s.path=`${n||t.nid}:${a}`,t.skipEscape=!0,s},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,r){return e.uuid=e.nss,e.nss=void 0,r.tolerant||e.uuid&&t.test(e.uuid)||(e.error=e.error||"UUID is not valid."),e},serialize:function(e){return e.nss=(e.uuid||"").toLowerCase(),e},skipNormalize:!0}};e.exports=c},77009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865),s=r(17918);t.default={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,n._)`{allowedValues: ${e}}`},code(e){let t,r,{gen:a,data:o,$data:l,schema:u,schemaCode:c,it:d}=e;if(!l&&0===u.length)throw Error("enum must have non-empty array");let h=u.length>=d.opts.loopEnum,f=()=>null!=t?t:t=(0,i.useFunc)(a,s.default);if(h||l)r=a.let("valid"),e.block$data(r,function(){a.assign(r,!1),a.forOf("v",c,e=>a.if((0,n._)`${f()}(${o}, ${e})`,()=>a.assign(r,!0).break()))});else{if(!Array.isArray(u))throw Error("ajv implementation error");let e=a.const("vSchema",c);r=(0,n.or)(...u.map((t,r)=>{var i,s;let a;return i=e,"object"==typeof(a=u[s=r])&&null!==a?(0,n._)`${f()}(${o}, ${i}[${s}])`:(0,n._)`${o} === ${a}`}))}e.pass(r)}}},77069:(e,t,r)=>{"use strict";r.d(t,{$A:()=>tl,Bp:()=>tt,cD:()=>eJ,gL:()=>to,k_:()=>e0,rV:()=>e1,sx:()=>ta,ti:()=>tf,yu:()=>eQ,zY:()=>te});var n,i,s,a,o,l,u,c,d,h,f,p,m,y,g,v,b,w,_,$,E,k,S,O,j,P,A,I,C,M,N,R,T,D,z,L,Y,B,U,F,q,V,W,K,H,G,Z,X,J,Q,ee,et,er,en,ei,es,ea,eo,el,eu,ec,ed,eh,ef,ep,em,ey,eg,ev,eb,ew=r(77790),ex=r(17102),e_=r(44087),e$=Object.create,eE=Object.defineProperty,ek=Object.defineProperties,eS=Object.getOwnPropertyDescriptor,eO=Object.getOwnPropertyDescriptors,ej=Object.getOwnPropertySymbols,eP=Object.prototype.hasOwnProperty,eA=Object.prototype.propertyIsEnumerable,eI=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),eC=e=>{throw TypeError(e)},eM=(e,t,r)=>t in e?eE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eN=(e,t)=>{for(var r in t||(t={}))eP.call(t,r)&&eM(e,r,t[r]);if(ej)for(var r of ej(t))eA.call(t,r)&&eM(e,r,t[r]);return e},eR=(e,t)=>ek(e,eO(t)),eT=(e,t)=>eE(e,"name",{value:t,configurable:!0}),eD=(e,t)=>{var r={};for(var n in e)eP.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&ej)for(var n of ej(e))0>t.indexOf(n)&&eA.call(e,n)&&(r[n]=e[n]);return r},ez=e=>{var t;return[,,,e$(null!=(t=null==e?void 0:e[eI("metadata")])?t:null)]},eL=["class","method","getter","setter","accessor","field","value","get","set"],eY=e=>void 0!==e&&"function"!=typeof e?eC("Function expected"):e,eB=(e,t,r,n,i)=>({kind:eL[e],name:t,metadata:n,addInitializer:e=>r._?eC("Already initialized"):i.push(eY(e||null))}),eU=(e,t)=>eM(t,eI("metadata"),e[3]),eF=(e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)1&t?s[i].call(r):n=s[i].call(r,n);return n},eq=(e,t,r,n,i,s)=>{var a,o,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,m=eL[d+5],y=d>
683&&(e[p-1]=[]),g=e[p]||(e[p]=[]),v=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&eS(d<4?i:{get[r](){return eK(this,s)},set[r](x){return eG(this,s,x)}},r));d?f&&d<4&&eT(s,(d>2?"set ":d>1?"get ":"")+r):eT(i,r);for(var b=n.length-1;b>=0;b--)u=eB(d,r,l={},e[3],g),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>eW(i,e):e=>r in e},3^d&&(c.get=f?e=>(1^d?eK:eZ)(e,i,4^d?s:v.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>eG(e,i,t,4^d?s:v.set):(e,t)=>e[r]=t)),o=(0,n[b])(d?d<4?f?s:v[m]:d>4?void 0:{get:v.get,set:v.set}:i,u),l._=1,4^d||void 0===o?eY(o)&&(d>4?y.unshift(o):d?f?s=o:v[m]=o:i=o):"object"!=typeof o||null===o?eC("Object expected"):(eY(a=o.get)&&(v.get=a),eY(a=o.set)&&(v.set=a),eY(a=o.init)&&y.unshift(a));return d||eU(e,i),v&&eE(i,r,v),f?4^d?s:v:i},eV=(e,t,r)=>t.has(e)||eC("Cannot "+r),eW=(e,t)=>Object(t)!==t?eC('Cannot use the "in" operator on this value'):e.has(t),eK=(e,t,r)=>(eV(e,t,"read from private field"),r?r.call(e):t.get(e)),eH=(e,t,r)=>t.has(e)?eC("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),eG=(e,t,r,n)=>(eV(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),eZ=(e,t,r)=>(eV(e,t,"access private method"),r);function eX(e,t){return{plugin:e,options:t}}function eJ(e){return t=>eX(e,t)}function eQ(e){return"function"==typeof e?{plugin:e,options:void 0}:e}s=[ew.Kh];var e0=class{constructor(e,t){this.manager=e,this.options=t,eH(this,o,eF(a,8,this,!1)),eF(a,11,this),eH(this,l,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return(0,ex.O8)(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let t=(0,ex.QZ)(e.bind(this));return eK(this,l).add(t),t}destroy(){eK(this,l).forEach(e=>e())}static configure(e){return eX(this,e)}};a=ez(null),o=new WeakMap,l=new WeakMap,eq(a,4,"disabled",s,e0,o),eU(a,e0);var e1=class extends e0{},e2=class{constructor(e){this.manager=e,this.instances=new Map,eH(this,u,[])}get values(){return Array.from(this.instances.values())}set values(e){let t=e.map(eQ).reduceRight((e,t)=>e.some(({plugin:e})=>e===t.plugin)?e:[t,...e],[]),r=t.map(({plugin:e})=>e);for(let e of eK(this,u))if(!r.includes(e)){if(e.prototype instanceof e1)continue;this.unregister(e)}for(let{plugin:e,options:r}of t)this.register(e,r);eG(this,u,r)}get(e){return this.instances.get(e)}register(e,t){let r=this.instances.get(e);if(r)return r.options!==t&&(r.options=t),r;let n=new e(this.manager,t);return this.instances.set(e,n),n}unregister(e){let t=this.instances.get(e);t&&(t.destroy(),this.instances.delete(e))}destroy(){for(let e of this.instances.values())e.destroy();this.instances.clear()}};function e5(e,t){return e.priority===t.priority?e.type===t.type?t.value-e.value:t.type-e.type:t.priority-e.priority}u=new WeakMap;var e6=[],e4=class extends e0{constructor(e){super(e),eH(this,c),eH(this,d),this.computeCollisions=this.computeCollisions.bind(this),eG(this,d,(0,ex.vP)(e6)),this.destroy=(0,ew.zb)(()=>{let e=this.computeCollisions(),t=(0,ex.O8)(()=>this.manager.dragOperation.position.current);if(e!==e6){let e=eK(this,c);if(eG(this,c,t),e&&t.x==e.x&&t.y==e.y)return}else eG(this,c,void 0);eK(this,d).value=e},()=>{let{dragOperation:e}=this.manager;e.status.initialized&&this.forceUpdate()})}forceUpdate(e=!0){(0,ex.O8)(()=>{e?eK(this,d).value=this.computeCollisions():eG(this,c,void 0)})}computeCollisions(e,t){let{registry:r,dragOperation:n}=this.manager,{source:i,shape:s,status:a}=n;if(!a.initialized||!s)return e6;let o=[],l=[];for(let s of null!=e?e:r.droppables){if(s.disabled||i&&!s.accepts(i))continue;let e=null!=t?t:s.collisionDetector;if(!e)continue;l.push(s),s.shape;let r=(0,ex.O8)(()=>e({droppable:s,dragOperation:n}));r&&(null!=s.collisionPriority&&(r.priority=s.collisionPriority),o.push(r))}return 0===l.length?e6:(o.sort(e5),o)}get collisions(){return eK(this,d).value}};c=new WeakMap,d=new WeakMap;var e3=class{constructor(){this.registry=new Map}addEventListener(e,t){let{registry:r}=this,n=new Set(r.get(e));return n.add(t),r.set(e,n),()=>this.removeEventListener(e,t)}removeEventListener(e,t){let{registry:r}=this,n=new Set(r.get(e));n.delete(t),r.set(e,n)}dispatch(e,...t){let{registry:r}=this,n=r.get(e);if(n)for(let e of n)e(...t)}}
68,e7=class extends e3{constructor(e){super(),this.manager=e}dispatch(e,t){let r=[t,this.manager];super.dispatch(e,...r)}};function e8(e,t=!0){let r=!1;return eR(eN({},e),{cancelable:t,get defaultPrevented(){return r},preventDefault(){t&&(r=!0)}})}var e9=class extends e1{constructor(e){super(e);let t=[];this.destroy=(0,ew.zb)(()=>{let{dragOperation:r,collisionObserver:n}=e;r.status.initializing&&(t=[],n.enable())},()=>{let r,{collisionObserver:n,monitor:i}=e,{collisions:s}=n;if(n.isDisabled())return;let a=e8({collisions:s});if(i.dispatch("collision",a),a.defaultPrevented||(r=t,s.map(({id:e})=>e).join("")===r.map(({id:e})=>e).join("")))return;t=s;let[o]=s;(0,ex.O8)(()=>{var t;(null==o?void 0:o.id)!==(null==(t=e.dragOperation.target)?void 0:t.id)&&(n.disable(),e.actions.setDropTarget(null==o?void 0:o.id).then(()=>{n.enable()}))})})}},te=((n=te||{})[n.Lowest=0]="Lowest",n[n.Low=1]="Low",n[n.Normal=2]="Normal",n[n.High=3]="High",n[n.Highest=4]="Highest",n),tt=((i=tt||{})[i.Collision=0]="Collision",i[i.ShapeIntersection=1]="ShapeIntersection",i[i.PointerIntersection=2]="PointerIntersection",i);v=[ew.Kh],g=[ew.un],y=[ew.un],m=[ew.un],p=[ew.un],f=[ew.un],h=[ew.un];var tr=class{constructor(){eF(b,5,this),eH(this,w,eF(b,8,this,"idle")),eF(b,11,this)}get current(){return this.value}get idle(){return"idle"===this.value}get initializing(){return"initializing"===this.value}get initialized(){let{value:e}=this;return"idle"!==e&&"initialization-pending"!==e}get dragging(){return"dragging"===this.value}get dropped(){return"dropped"===this.value}set(e){this.value=e}};b=ez(null),w=new WeakMap,eq(b,4,"value",v,tr,w),eq(b,2,"current",g,tr),eq(b,2,"idle",y,tr),eq(b,2,"initializing",m,tr),eq(b,2,"initialized",p,tr),eq(b,2,"dragging",f,tr),eq(b,2,"dropped",h,tr),eU(b,tr);var tn=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:t}=this.manager;t.sourceIdentifier="string"==typeof e||"number"==typeof e?e:e.id}setDropTarget(e){return(0,ex.O8)(()=>{let{dragOperation:t}=this.manager,r=null!=e?e:null;if(t.targetIdentifier===r)return Promise.resolve(!1);t.targetIdentifier=r;let n=e8({operation:t.snapshot()});return t.status.dragging&&this.manager.monitor.dispatch("dragover",n),this.manager.renderer.rendering.then(()=>n.defaultPrevented)})}start(e){return(0,ex.O8)(()=>{let{dragOperation:t}=this.manager;if(null!=e.source&&this.setDragSource(e.source),!t.source)throw Error("Cannot start a drag operation without a drag source");if(!t.status.idle)throw Error("Cannot start a drag operation while another is active");let r=new AbortController,{event:n,coordinates:i}=e;(0,ex.vA)(()=>{t.status.set("initialization-pending"),t.shape=null,t.canceled=!1,t.activatorEvent=null!=n?n:null,t.position.reset(i)});let s=e8({operation:t.snapshot()});return(this.manager.monitor.dispatch("beforedragstart",s),s.defaultPrevented)?(t.reset(),r.abort()):(t.status.set("initializing"),t.controller=r,this.manager.renderer.rendering.then(()=>{if(r.signal.aborted)return;let{status:e}=t;"initializing"===e.current&&(t.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:n,operation:t.snapshot(),cancelable:!1}))})),r})}move(e){return(0,ex.O8)(()=>{var t,r;let{dragOperation:n}=this.manager,{status:i,controller:s}=n;if(!i.dragging||!s||s.signal.aborted)return;let a=e8({nativeEvent:e.event,operation:n.snapshot(),by:e.by,to:e.to},null==(t=e.cancelable)||t);(null==(r=e.propagate)||r)&&this.manager.monitor.dispatch("dragmove",a),queueMicrotask(()=>{var t,r,i,s,o;if(a.defaultPrevented)return;let l=null!=(o=e.to)?o:{x:n.position.current.x+(null!=(r=null==(t=e.by)?void 0:t.x)?r:0),y:n.position.current.y+(null!=(s=null==(i=e.by)?void 0:i.y)?s:0)};n.position.current=l})})}stop(e={}){return(0,ex.O8)(()=>{var t,r;let n,{dragOperation:i}=this.manager,{controller:s}=i;if(!s||s.signal.aborted)return;s.abort();let a=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let e=(0,ex.O8)(()=>{var e;return(null==(e=i.source)?void 0:e.status)==="dropping"}),t=()=>{i.controller===s&&(i.controller=void 0),i.reset()};if(e){let{source:e}=i,r=(0,ex.QZ)(()=>{(null==e?void 0:e.status)==="idle"&&(r(),t())})}else this.manager.renderer.rendering.then(t)})};i.canceled=null!=(t=e.canceled)&&t,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:null!=(r=e.canceled)&&r,suspend:()=>{let e={resume:()=>{},abort:()=>{}};return n=new Promise((t,r)=>{e.resume=t,e.abort=r}),e}}),n?n.then(a).catch(()=>i.reset()):a()})}};k=[ew.Kh],E=[ew.Kh],$=[ew.Kh],_=[ew.Kh];var ti=class{constructor(e,t){eH(this,O,eF(S,8,this)),eF(S,11,this),eH(this,j,eF(S,12,this)),eF(S,15,this),eH(this,P,eF(S,16,this)),eF(S,19,this),eH(this,A,eF(S,20,this)),eF(S,23,this);const{effects:r,id:n,data:i={},disabled:s=!1,register:a=!0}=e;this.manager=t,this.id=n,this.data=i,this.disabled=s,this.effects=()=>{var e;return[()=>{let{id:e,manager:t}=this;if(e!==n)return null==t||t.registry.register(this),()=>null==t?void 0:t.registry.unregister(this)},...null!=(e=null==r?void 0:r())?e:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),t&&a&&queueMicrotask(this.register)}register(){var e;return null==(e=this.manager)?void 0:e.registry.register(this)}unregister(){var e;null==(e=this.manager)||e.registry.unregister(this)}destroy(){var e;null==(e=this.manager)||e.registry.unregister(this)}};S=ez(null),O=new WeakMap,j=new WeakMap,P=new WeakMap,A=new WeakMap,eq(S,4,"manager",k,ti,O),eq(S,4,"id",E,ti,j),eq(S,4,"data",$,ti,P),eq(S,4,"disabled",_,ti,A),eU(S,ti);var ts=class{constructor(){this.map=(0,ex.vP)(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,t)=>{let r=this.map.peek(),n=r.get(e),i=()=>this.unregister(e,t);if(n===t)return i;if(n){let e=this.cleanupFunctions.get(n);null==e||e(),this.cleanupFunctions.delete(n)}let s=new Map(r);s.set(e,t),this.map.value=s;let a=(0,ew.zb)(...t.effects());return this.cleanupFunctions.set(t,a),i},this.unregister=(e,t)=>{let r=this.map.peek();if(r.get(e)!==t)return;let n=this.cleanupFunctions.get(t);null==n||n(),this.cleanupFunctions.delete(t);let i=new Map(r);i.delete(e),this.map.value=i}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let t=this.cleanupFunctions.get(e);null==t||t(),e.destroy()}this.map.value=new Map}},ta=class extends(D=ti,T=[ew.Kh],R=[ew.Kh],N=[ew.Kh],M=[ew.un],C=[ew.un],I=[ew.un],D){constructor(e,t){var{modifiers:r,type:n,sensors:i}=e,s=eD(e,["modifiers","type","sensors"]);super(s,t),eF(z,5,this),eH(this,L,eF(z,8,this)),eF(z,11,this),eH(this,Y,eF(z,12,this)),eF(z,15,this),eH(this,B,eF(z,16,this,this.isDragSource?"dragging":"idle")),eF(z,19,this),this.type=n,this.sensors=i,this.modifiers=r,this.alignment=s.alignment}get isDropping(){return"dropping"===this.status&&this.isDragSource}get isDragging(){return"dragging"===this.status&&this.isDragSource}get isDragSource(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.source)?void 0:t.id)===this.id}};
68z=ez(D),L=new WeakMap,Y=new WeakMap,B=new WeakMap,eq(z,4,"type",T,ta,L),eq(z,4,"modifiers",R,ta,Y),eq(z,4,"status",N,ta,B),eq(z,2,"isDropping",M,ta),eq(z,2,"isDragging",C,ta),eq(z,2,"isDragSource",I,ta),eU(z,ta);var to=class extends(H=ti,K=[ew.Kh],W=[ew.Kh],V=[ew.Kh],q=[ew.Kh],F=[ew.Kh],U=[ew.un],H){constructor(e,t){var{accept:r,collisionDetector:n,collisionPriority:i,type:s}=e;super(eD(e,["accept","collisionDetector","collisionPriority","type"]),t),eF(G,5,this),eH(this,Z,eF(G,8,this)),eF(G,11,this),eH(this,X,eF(G,12,this)),eF(G,15,this),eH(this,J,eF(G,16,this)),eF(G,19,this),eH(this,Q,eF(G,20,this)),eF(G,23,this),eH(this,ee,eF(G,24,this)),eF(G,27,this),this.accept=r,this.collisionDetector=n,this.collisionPriority=i,this.type=s}accepts(e){let{accept:t}=this;return!t||("function"==typeof t?t(e):!!e.type&&(Array.isArray(t)?t.includes(e.type):e.type===t))}get isDropTarget(){var e,t;return(null==(t=null==(e=this.manager)?void 0:e.dragOperation.target)?void 0:t.id)===this.id}};G=ez(H),Z=new WeakMap,X=new WeakMap,J=new WeakMap,Q=new WeakMap,ee=new WeakMap,eq(G,4,"accept",K,to,Z),eq(G,4,"type",W,to,X),eq(G,4,"collisionDetector",V,to,J),eq(G,4,"collisionPriority",q,to,Q),eq(G,4,"shape",F,to,ee),eq(G,2,"isDropTarget",U,to),eU(G,to);var tl=class extends e0{constructor(e,t){super(e,t),this.manager=e,this.options=t}},tu=class extends e0{constructor(e,t){super(e,t),this.manager=e,this.options=t}apply(e){return e.transform}},tc=class{constructor(e){this.draggables=new ts,this.droppables=new ts,this.plugins=new e2(e),this.sensors=new e2(e),this.modifiers=new e2(e)}register(e,t){if(e instanceof ta)return this.draggables.register(e.id,e);if(e instanceof to)return this.droppables.register(e.id,e);if(e.prototype instanceof tu)return this.modifiers.register(e,t);if(e.prototype instanceof tl)return this.sensors.register(e,t);if(e.prototype instanceof e0)return this.plugins.register(e,t);throw Error("Invalid instance type")}unregister(e){if(e instanceof ti)return e instanceof ta?this.draggables.unregister(e.id,e):e instanceof to?this.droppables.unregister(e.id,e):()=>{};if(e.prototype instanceof tu)return this.modifiers.unregister(e);if(e.prototype instanceof tl)return this.sensors.unregister(e);if(e.prototype instanceof e0)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}};eu=[ew.un],el=[ew.Kh],eo=[ew.Kh],ea=[ew.Kh],es=[ew.Kh],ei=[ew.Kh],en=[ew.un],er=[ew.un],et=[ew.un];var td=class{constructor(e){eF(ef,5,this),eH(this,ec),eH(this,ed),eH(this,eh,new ew.Wf(void 0,(e,t)=>e&&t?e.equals(t):e===t)),this.status=new tr,eH(this,ep,eF(ef,8,this,!1)),eF(ef,11,this),eH(this,em,eF(ef,12,this,null)),eF(ef,15,this),eH(this,ey,eF(ef,16,this,null)),eF(ef,19,this),eH(this,eg,eF(ef,20,this,null)),eF(ef,23,this),eH(this,ev,eF(ef,24,this,[])),eF(ef,27,this),this.position=new e_.yX({x:0,y:0}),eH(this,eb,{x:0,y:0}),eG(this,ec,e)}get shape(){let{current:e,initial:t,previous:r}=eK(this,eh);return e&&t?{current:e,initial:t,previous:r}:null}set shape(e){e?eK(this,eh).current=e:eK(this,eh).reset()}get source(){var e;let t=this.sourceIdentifier;if(null==t)return null;let r=eK(this,ec).registry.draggables.get(t);return r&&eG(this,ed,r),null!=(e=null!=r?r:eK(this,ed))?e:null}get target(){var e;let t=this.targetIdentifier;return null!=t&&null!=(e=eK(this,ec).registry.droppables.get(t))?e:null}get transform(){let{x:e,y:t}=this.position.delta,r={x:e,y:t};for(let e of this.modifiers)r=e.apply(eR(eN({},this.snapshot()),{transform:r}));return eG(this,eb,r),r}snapshot(){return(0,ex.O8)(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:eK(this,eb),shape:this.shape?(0,ew.P9)(this.shape):null,position:(0,ew.P9)(this.position),status:(0,ew.P9)(this.status),canceled:this.canceled}))}reset(){(0,ex.vA)(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,eK(this,eh).reset(),this.position.reset({x:0,y:0}),eG(this,eb,{x:0,y:0}),this.modifiers=[]})}};ef=ez(null),ec=new WeakMap,ed=new WeakMap,eh=new WeakMap,ep=new WeakMap,em=new WeakMap,ey=new WeakMap,eg=new WeakMap,ev=new WeakMap,eb=new WeakMap,eq(ef,2,"shape",eu,td),eq(ef,4,"canceled",el,td,ep),eq(ef,4,"activatorEvent",eo,td,em),eq(ef,4,"sourceIdentifier",ea,td,ey),eq(ef,4,"targetIdentifier",es,td,eg),eq(ef,4,"modifiers",ei,td,ev),eq(ef,2,"source",en,td),eq(ef,2,"target",er,td),eq(ef,2,"transform",et,td),eU(ef,td);var th={get rendering(){return Promise.resolve()}},tf=class{constructor(e){this.destroy=()=>{this.dragOperation.status.idle||this.actions.stop({canceled:!0}
68),this.dragOperation.modifiers.forEach(e=>e.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};const{plugins:t=[],sensors:r=[],modifiers:n=[],renderer:i=th}=null!=e?e:{},s=new e7(this),a=new tc(this);this.registry=a,this.monitor=s,this.renderer=i,this.actions=new tn(this),this.dragOperation=new td(this),this.collisionObserver=new e4(this),this.plugins=[e9,...t],this.modifiers=n,this.sensors=r;const{destroy:o}=this,l=(0,ew.zb)(()=>{var e,t,r;let n=(0,ex.O8)(()=>this.dragOperation.modifiers),i=this.modifiers;n!==i&&n.forEach(e=>e.destroy()),this.dragOperation.modifiers=null!=(r=null==(t=null==(e=this.dragOperation.source)?void 0:e.modifiers)?void 0:t.map(e=>{let{plugin:t,options:r}=eQ(e);return new t(this,r)}))?r:i});this.destroy=()=>{l(),o()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}}},77637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;let n=r(27302),i=r(17565);var s=r(27302);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var a=r(17565);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class o{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends o{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){let r=e?i.varKinds.var:this.varKind,n=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=M(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class u extends o{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=M(this.rhs,e,t),this}get names(){return C(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class c extends u{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class h extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){let t=this.label?` ${this.label}`:"";return`break${t};`+e}}class f extends o{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends o{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=M(this.code,e,t),this}
68get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class m extends o{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,r)=>t+r.render(e),"")}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:r}=this,n=r.length;for(;n--;){let i=r[n];i.optimizeNames(e,t)||(function(e,t){for(let r in t)e[r]=(e[r]||0)-(t[r]||0)}(e,i.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>I(e,t.names),{})}}class y extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class g extends m{}class v extends y{}v.kind="else";class b extends y{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){let e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(N(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null==(r=this.else)?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=M(this.condition,e,t),this}get names(){let e=super.names;return C(e,this.condition),this.else&&I(e,this.else.names),e}}b.kind="if";class w extends y{}w.kind="for";class _ extends w{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=M(this.iteration,e,t),this}get names(){return I(super.names,this.iteration.names)}}class $ extends w{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){let t=e.es5?i.varKinds.var:this.varKind,{name:r,from:n,to:s}=this;return`for(${t} ${r}=${n}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){let e=C(super.names,this.from);return C(e,this.to)}}class E extends w{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=M(this.iterable,e,t),this}get names(){return I(super.names,this.iterable.names)}}class k extends y{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){let t=this.async?"async ":"";return`${t}function ${this.name}(${this.args})`+super.render(e)}}k.kind="func";class S extends m{render(e){return"return "+super.render(e)}}S.kind="return";class O extends y{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null==(e=this.catch)||e.optimizeNodes(),null==(t=this.finally)||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null==(r=this.catch)||r.optimizeNames(e,t),null==(n=this.finally)||n.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&I(e,this.catch.names),this.finally&&I(e,this.finally.names),e}}class j extends y{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}j.kind="catch";class P extends y{render(e){return"finally"+super.render(e)}}P.kind="finally";class A{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new i.Scope({parent:e}),this._nodes=[new g]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){let i=this._scope.toName(t);return void 0!==r&&n&&(this._constants[i.str]=r),this._leafNode(new l(e,i,r)),i}const(e,t,r){return this._def(i.varKinds.const,e,t,r)}let(e,t,r){return this._def(i.varKinds.let,e,t,r)}var(e,t,r){return this._def(i.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new u(e,t,r))}add(e,r){return this._leafNode(new c(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new p(e)),this}object(...e){let t=["{"];for(let[r,i]of e)t.length>1&&t.push(","),t.push(r),(r!==i||this.opts.es5)&&(t.push(":"),(0,n.addCodeArg)(t,i));return t.push("}"),new n._Code(t)}
68if(e,t,r){if(this._blockNode(new b(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new _(e),t)}forRange(e,t,r,n,s=this.opts.es5?i.varKinds.var:i.varKinds.let){let a=this._scope.toName(e);return this._for(new $(s,a,t,r),()=>n(a))}forOf(e,t,r,s=i.varKinds.const){let a=this._scope.toName(e);if(this.opts.es5){let e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,n._)`${e}.length`,t=>{this.var(a,(0,n._)`${e}[${t}]`),r(a)})}return this._for(new E("of",s,a,t),()=>r(a))}forIn(e,t,r,s=this.opts.es5?i.varKinds.var:i.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,n._)`Object.keys(${t})`,r);let a=this._scope.toName(e);return this._for(new E("in",s,a,t),()=>r(a))}endFor(){return this._endBlockNode(w)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new h(e))}return(e){let t=new S;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(S)}try(e,t,r){if(!t&&!r)throw Error('CodeGen: "try" without "catch" and "finally"');let n=new O;if(this._blockNode(n),this.code(e),t){let e=this.name("e");this._currNode=n.catch=new j(e),t(e)}return r&&(this._currNode=n.finally=new P,this.code(r)),this._endBlockNode(j,P)}throw(e){return this._leafNode(new f(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(void 0===t)throw Error("CodeGen: not in self-balancing block");let r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=n.nil,r,i){return this._blockNode(new k(e,t,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof b))throw Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}}function I(e,t){for(let r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function C(e,t){return t instanceof n._CodeOrName?I(e,t.names):e}function M(e,t,r){var i;if(e instanceof n.Name)return s(e);if(!((i=e)instanceof n._Code&&i._items.some(e=>e instanceof n.Name&&1===t[e.str]&&void 0!==r[e.str])))return e;return new n._Code(e._items.reduce((e,t)=>(t instanceof n.Name&&(t=s(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e),[]));function s(e){let n=r[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function N(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:(0,n._)`!${z(e)}`}t.CodeGen=A,t.not=N;let R=D(t.operators.AND);t.and=function(...e){return e.reduce(R)};let T=D(t.operators.OR);function D(e){return(t,r)=>t===n.nil?r:r===n.nil?t:(0,n._)`${z(t)} ${e} ${z(r)}`}function z(e){return e instanceof n.Name?e:(0,n._)`(${e})`}t.or=function(...e){return e.reduce(T)}},77790:(e,t,r)=>{"use strict";r.d(t,{EW:()=>G,Kh:()=>Z,P9:()=>et,Wf:()=>ee,_Z:()=>er,bD:()=>function e(t,r){if(Object.is(t,r))return!0;if(null===t||null===r)return!1;if("function"==typeof t&&"function"==typeof r)return t===r;if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(let e of t)if(!r.has(e))return!1;return!0}if(Array.isArray(t))return!!Array.isArray(r)&&t.length===r.length&&!t.some((t,n)=>!e(t,r[n]));if("object"==typeof t&&"object"==typeof r){let n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&!n.some(n=>!e(t[n],r[n]))}return!1},un:()=>X,zb:()=>Q});var n,i,s,a,o,l,u,c,d,h,f,p,m,y,g,v,b,w,_,$,E,k=r(17102),S=Object.create,O=Object.defineProperty,j=Object.defineProperties,P=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,N=e=>{throw TypeError(e)},R=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>
68O(e,"name",{value:t,configurable:!0}),D=["class","method","getter","setter","accessor","field","value","get","set"],z=e=>void 0!==e&&"function"!=typeof e?N("Function expected"):e,L=(e,t,r,n,i)=>({kind:D[e],name:t,metadata:n,addInitializer:e=>r._?N("Already initialized"):i.push(z(e||null))}),Y=(e,t)=>{let r,n;return R(t,(r="metadata",(n=Symbol[r])?n:Symbol.for("Symbol."+r)),e[3])},B=(e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)1&t?s[i].call(r):n=s[i].call(r,n);return n},U=(e,t,r,n,i,s)=>{var a,o,l,u,c,d=7&t,h=!!(8&t),f=!!(16&t),p=d>3?e.length+1:d?h?1:2:0,m=D[d+5],y=d>3&&(e[p-1]=[]),g=e[p]||(e[p]=[]),v=d&&(f||h||(i=i.prototype),d<5&&(d>3||!f)&&P(d<4?i:{get[r](){return V(this,s)},set[r](x){return K(this,s,x)}},r));d?f&&d<4&&T(s,(d>2?"set ":d>1?"get ":"")+r):T(i,r);for(var b=n.length-1;b>=0;b--)u=L(d,r,l={},e[3],g),d&&(u.static=h,u.private=f,c=u.access={has:f?e=>q(i,e):e=>r in e},3^d&&(c.get=f?e=>(1^d?V:H)(e,i,4^d?s:v.get):e=>e[r]),d>2&&(c.set=f?(e,t)=>K(e,i,t,4^d?s:v.set):(e,t)=>e[r]=t)),o=(0,n[b])(d?d<4?f?s:v[m]:d>4?void 0:{get:v.get,set:v.set}:i,u),l._=1,4^d||void 0===o?z(o)&&(d>4?y.unshift(o):d?f?s=o:v[m]=o:i=o):"object"!=typeof o||null===o?N("Object expected"):(z(a=o.get)&&(v.get=a),z(a=o.set)&&(v.set=a),z(a=o.init)&&y.unshift(a));return d||Y(e,i),v&&O(i,r,v),f?4^d?s:v:i},F=(e,t,r)=>t.has(e)||N("Cannot "+r),q=(e,t)=>Object(t)!==t?N('Cannot use the "in" operator on this value'):e.has(t),V=(e,t,r)=>(F(e,t,"read from private field"),r?r.call(e):t.get(e)),W=(e,t,r)=>t.has(e)?N("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),K=(e,t,r,n)=>(F(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),H=(e,t,r)=>(F(e,t,"access private method"),r);function G(e,t){if(t){let r;return(0,k.EW)(()=>{let n=e();return n&&r&&t(r,n)?r:(r=n,n)})}return(0,k.EW)(e)}function Z({get:e},t){return{init:e=>(0,k.vP)(e),get(){return e.call(this).value},set(t){let r=e.call(this);r.peek()!==t&&(r.value=t)}}}function X(e,t){let r=new WeakMap;return function(){let t=r.get(this);return t||(t=G(e.bind(this)),r.set(this,t)),t.value}}function J(e=!0){return function(t,r){r.addInitializer(function(){let t="field"===r.kind||r.static?this:Object.getPrototypeOf(this),n=Object.getOwnPropertyDescriptor(t,r.name);n&&Object.defineProperty(t,r.name,j(((e,t)=>{for(var r in t||(t={}))C.call(t,r)&&R(e,r,t[r]);if(I)for(var r of I(t))M.call(t,r)&&R(e,r,t[r]);return e})({},n),A({enumerable:e})))})}}function Q(...e){let t=e.map(k.QZ);return()=>t.forEach(e=>e())}l=[Z],o=[Z],a=[Z],s=[J()],i=[J()],n=[J()];var ee=class{constructor(e,t=Object.is){this.defaultValue=e,this.equals=t,B(u,5,this),W(this,p),W(this,c,B(u,8,this)),B(u,11,this),W(this,m,B(u,12,this)),B(u,15,this),W(this,b,B(u,16,this)),B(u,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return V(this,p,_)}get initial(){return V(this,p,h)}get previous(){return V(this,p,g)}set current(e){let t=(0,k.O8)(()=>V(this,p,_));e&&t&&this.equals(t,e)||(0,k.vA)(()=>{V(this,p,h)||K(this,p,e,f),K(this,p,t,v),K(this,p,e,$)})}reset(e=this.defaultValue){(0,k.vA)(()=>{K(this,p,void 0,v),K(this,p,e,f),K(this,p,e,$)})}};function et(e){return(0,k.O8)(()=>{let t={};for(let r in e)t[r]=e[r];return t})}u=[,,,S(null)],c=new WeakMap,p=new WeakSet,m=new WeakMap,b=new WeakMap,h=(d=U(u,20,"#initial",l,p,c)).get,f=d.set,g=(y=U(u,20,"#previous",o,p,m)).get,v=y.set,_=(w=U(u,20,"#current",a,p,b)).get,$=w.set,U(u,2,"current",s,ee),U(u,2,"initial",i,ee),U(u,2,"previous",n,ee),Y(u,ee);var er=class{constructor(){W(this,E,new WeakMap)}get(e,t){var r;return e?null==(r=V(this,E).get(e))?void 0:r.get(t):void 0}set(e,t,r){var n;if(e)return V(this,E).has(e)||V(this,E).set(e,new Map),null==(n=V(this,E).get(e))?void 0:n.set(t,r)}clear(e){var t;return e?null==(t=V(this,E).get(e))?void 0:t.clear():void 0}};E=new WeakMap},77883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865),s=r(17918);t.default={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>(0,n._)`{allowedValue: ${e}}`},code(e){let{gen:t,data:r,$data:a,schemaCode:o,schema:l}=e;a||l&&"object"==typeof l?e.fail$data((0,n._)`!${(0,i.useFunc)(t,s.default)}(${r}, ${o})`):e.fail((0,n._)`${l} !== ${r}`)}}},80680:(e,t,r)=>{"use strict";
68Object.defineProperty(t,"__esModule",{value:!0});let n=r(69914),i=r(22757),s=r(57787),a=r(75134),o=r(51662),l=r(4713),u=r(17289),c=r(11485),d=r(77883),h=r(77009);t.default=[n.default,i.default,s.default,a.default,o.default,l.default,u.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,h.default]},82113:(e,t,r)=>{"use strict";r.d(t,{dw:()=>n.dw});var n=r(15147);r(52186),r(20160),r(73737),r(27874),r(18295),r(35235),r(84668),r(52340),r(3386),r(56705),r(16236),r(88687),(0,r(14862).hY)()},83671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(69218),s=r(48463),a=r(76475),o=r(11865);t.default={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===i.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,n._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){let{gen:t,data:r,schema:l,parentSchema:u,it:c}=e,{oneOf:d}=u;if(!c.opts.discriminator)throw Error("discriminator: requires discriminator option");let h=l.propertyName;if("string"!=typeof h)throw Error("discriminator: requires propertyName");if(l.mapping)throw Error("discriminator: mapping is not supported");if(!d)throw Error("discriminator: requires oneOf keyword");let f=t.let("valid",!1),p=t.const("tag",(0,n._)`${r}${(0,n.getProperty)(h)}`);t.if((0,n._)`typeof ${p} == "string"`,()=>(function(){let r=function(){var e;let t={},r=i(u),n=!0;for(let t=0;t<d.length;t++){let u=d[t];if((null==u?void 0:u.$ref)&&!(0,o.schemaHasRulesButRef)(u,c.self.RULES)){let e=u.$ref;if((u=s.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,e))instanceof s.SchemaEnv&&(u=u.schema),void 0===u)throw new a.default(c.opts.uriResolver,c.baseId,e)}let f=null==(e=null==u?void 0:u.properties)?void 0:e[h];if("object"!=typeof f)throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${h}"`);n=n&&(r||i(u)),function(e,t){if(e.const)l(e.const,t);else if(e.enum)for(let r of e.enum)l(r,t);else throw Error(`discriminator: "properties/${h}" must have "const" or "enum"`)}(f,t)}if(!n)throw Error(`discriminator: "${h}" must be required`);return t;function i({required:e}){return Array.isArray(e)&&e.includes(h)}function l(e,r){if("string"!=typeof e||e in t)throw Error(`discriminator: "${h}" values must be unique strings`);t[e]=r}}();for(let i in t.if(!1),r)t.elseIf((0,n._)`${p} === ${i}`),t.assign(f,function(r){let i=t.name("valid"),s=e.subschema({keyword:"oneOf",schemaProp:r},i);return e.mergeEvaluated(s,n.Name),i}(r[i]));t.else(),e.error(!1,{discrError:i.DiscrError.Mapping,tag:p,tagName:h}),t.endIf()})(),()=>e.error(!1,{discrError:i.DiscrError.Tag,tag:p,tagName:h})),e.ok(f)}}},83761:(e,t,r)=>{"use strict";r.d(t,{k5:()=>c});var n=r(12115),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(i),a=["attr","size","title"];function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,i,s;n=e,i=t,s=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(i))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEac
68h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e){return t=>n.createElement(d,o({attr:u({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,u({key:r},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var r,{attr:i,size:s,title:l}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a),d=s||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,c,{className:r,style:u(u({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),e.children)};return void 0!==s?n.createElement(s.Consumer,null,e=>t(e)):t(i)}},84668:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var n=r(52340),i=r(14862),s=r(12115);(0,i.hY)();var a={ul:{label:"Bullet list",icon:n.B8},ol:{label:"Numbered list",icon:n.cM}},o=e=>{let t=[];return(null==e?void 0:e.listItem)!==!1&&(t=["ul","ol"]),(0,s.useMemo)(()=>t.map(e=>({value:e,label:a[e].label,icon:a[e].icon})),[t])}},85574:(e,t,r)=>{"use strict";let n=r(10285);e.exports=c;let i=function(){function e(e){return void 0!==e&&e}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{};function s(e,t){return"silent"===e?1/0:t.levels.values[e]}let a=Symbol("pino.logFuncs"),o=Symbol("pino.hierarchy"),l={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function u(e,t){let r={logger:t,parent:e[o]};t[o]=r}function c(e){var t,r,n;let o,p,m;(e=e||{}).browser=e.browser||{};let y=e.browser.transmit;if(y&&"function"!=typeof y.send)throw Error("pino: transmit option must have a send function");let w=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);let _=e.serializers||{},$=(t=e.browser.serialize,Array.isArray(t)?t.filter(function(e){return"!stdSerializers.err"!==e}):!0===t&&Object.keys(_)),E=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(E=!1);let k=Object.keys(e.customLevels||{}),S=["error","fatal","warn","info","debug","trace"].concat(k);"function"==typeof w&&S.forEach(function(e){w[e]=w}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let O=e.level||"info",j=Object.create(w);j.log||(j.log=g),o={},S.forEach(e=>{o[e]=w[e]?w[e]:i[e]||i[l[e]||"log"]||g}),j[a]=o,u({},j),Object.defineProperty(j,"levelVal",{get:function(){return s(this.level,this)}}),Object.defineProperty(j,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,d(this,P,j,"error"),d(this,P,j,"fatal"),d(this,P,j,"warn"),d(this,P,j,"info"),d(this,P,j,"debug"),d(this,P,j,"trace"),k.forEach(e=>{d(this,P,j,e)})}});let P={transmit:y,serialize:$,asObject:e.browser.asObject,asObjectBindingsOnly:e.browser.asObjectBindingsOnly,formatters:e.browser.formatters,levels:S,timestamp:"function"==typeof(r=e).timestamp?r.timestamp:!1===r.timestamp?v:b,messageKey:e.messageKey||"msg",onChild:e.onChild||g};function A(t,r,n){if(!r)throw Error("missing bindings for child Pino");n=n||{},$&&r.serializers&&(n.serializers=r.serializers);let i=n.serializers;if($&&i){var s=Object.assign({},_,i),a=!0===e.browser.serialize?Object.keys(s):$;delete r.serializers,h([r],a,s,this._stdErrSerialize)}function o(e){this._childLevel=(0|e._childLevel)+1,this.bindings=r,s&&(this.serializers=s,this._serialize=a),y&&(this._logEvent=f([].concat(e._logEvent.bindings,r)))}o.prototype=this;let l=new o(this);return u(this,l),l.child=function(...e){return A.call(this,t,...e)},l.level=n.level||this.level,t.onChild(l),l}return p=e.customLevels||{},j.levels={values:Object.assign({},c.levels.values,p),labels:Object.assign({},c.levels.labels,(m={}
68,Object.keys(n=p).forEach(function(e){m[n[e]]=e}),m))},j.level=O,j.isLevelEnabled=function(e){return!!this.levels.values[e]&&this.levels.values[e]>=this.levels.values[this.level]},j.setMaxListeners=j.getMaxListeners=j.emit=j.addListener=j.on=j.prependListener=j.once=j.prependOnceListener=j.removeListener=j.removeAllListeners=j.listeners=j.listenerCount=j.eventNames=j.write=j.flush=g,j.serializers=_,j._serialize=$,j._stdErrSerialize=E,j.child=function(...e){return A.call(this,P,...e)},y&&(j._logEvent=f()),j}function d(e,t,r,l){var u,c,d,p,m,y,v;if(Object.defineProperty(e,l,{value:s(e.level,r)>s(l,r)?g:r[a][l],writable:!0,enumerable:!0,configurable:!0}),e[l]===g){if(!t.transmit)return;let n=s(t.transmit.level||e.level,r);if(s(l,r)<n)return}e[l]=(u=e,c=t,d=r,p=l,m=u[a][p],function(){let e=c.timestamp(),t=Array(arguments.length),r=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var a=0;a<t.length;a++)t[a]=arguments[a];var o=!1;if(c.serialize&&(h(t,this._serialize,this.serializers,this._stdErrSerialize),o=!0),c.asObject||c.formatters?m.call(r,...function(e,t,r,i,s){let{level:a,log:o=e=>e}=s.formatters||{},l=r.slice(),u=l[0],c={},d=(0|e._childLevel)+1;if(d<1&&(d=1),i&&(c.time=i),a?Object.assign(c,a(t,e.levels.values[t])):c.level=e.levels.values[t],s.asObjectBindingsOnly){if(null!==u&&"object"==typeof u)for(;d--&&"object"==typeof l[0];)Object.assign(c,l.shift());return[o(c),...l]}if(null!==u&&"object"==typeof u){for(;d--&&"object"==typeof l[0];)Object.assign(c,l.shift());u=l.length?n(l.shift(),l):void 0}else"string"==typeof u&&(u=n(l.shift(),l));return void 0!==u&&(c[s.messageKey]=u),[o(c)]}(this,p,t,e,c)):m.apply(r,t),c.transmit){let r=c.transmit.level||u._level,n=s(r,d),i=s(p,d);if(i<n)return;!function(e,t,r,n=!1){let i=t.send,s=t.ts,a=t.methodLevel,o=t.methodValue,l=t.val,u=e._logEvent.bindings;n||h(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=s,e._logEvent.messages=r.filter(function(e){return -1===u.indexOf(e)}),e._logEvent.level.label=a,e._logEvent.level.value=o,i(a,e._logEvent,l),e._logEvent=f(u)}(this,{ts:e,methodLevel:p,methodValue:i,transmitLevel:r,transmitValue:d.levels.values[c.transmit.level||u._level],send:c.transmit.send,val:s(u._level,d)},t,o)}});let b=function(e){let t=[];e.bindings&&t.push(e.bindings);let r=e[o];for(;r.parent;)(r=r.parent).logger.bindings&&t.push(r.logger.bindings);return t.reverse()}(e);0!==b.length&&(e[l]=(y=b,v=e[l],function(){return v.apply(this,[...y,...arguments])}))}function h(e,t,r,n){for(let i in e)if(n&&e[i]instanceof Error)e[i]=c.stdSerializers.err(e[i]);else if("object"==typeof e[i]&&!Array.isArray(e[i])&&t)for(let n in e[i])t.indexOf(n)>-1&&n in r&&(e[i][n]=r[n](e[i][n]))}function f(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function p(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)void 0===t[r]&&(t[r]=e[r]);return t}function m(){return{}}function y(e){return e}function g(){}function v(){return!1}function b(){return Date.now()}c.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},c.stdSerializers={mapHttpRequest:m,mapHttpResponse:m,wrapRequestSerializer:y,wrapResponseSerializer:y,wrapErrorSerializer:y,req:m,res:m,err:p,errWithCause:p},c.stdTimeFunctions=Object.assign({},{nullTime:v,epochTime:b,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),e.exports.default=c,e.exports.pino=c},87492:(e,t,r)=>{"use strict";let{normalizeIPv6:n,normalizeIPv4:i,removeDotSegments:s,recomposeAuthority:a,normalizeComponentEncoding:o}=r(45657),l=r(76652);function u(e,t,r,n){let i={};return n||(e=f(c(e,r),r),t=f(c(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=s(t.path||""),i.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=s(t.path||""),i.query=t.query):(t.path?("/"===t.path.charAt(0)?i.path=s(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path:i.path="/"+t.path,i.path=s(i.path)),i.query=t.query):(i.path=e.path,void 0!==t.query?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function c(e,t){let r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},n=Object.assign({},t),i=[],o=l[(n.scheme||r.scheme||"").toLowerCase()];
68o&&o.serialize&&o.serialize(r,n),void 0!==r.path&&(n.skipEscape?r.path=unescape(r.path):(r.path=escape(r.path),void 0!==r.scheme&&(r.path=r.path.split("%3A").join(":")))),"suffix"!==n.reference&&r.scheme&&i.push(r.scheme,":");let u=a(r);if(void 0!==u&&("suffix"!==n.reference&&i.push("//"),i.push(u),r.path&&"/"!==r.path.charAt(0)&&i.push("/")),void 0!==r.path){let e=r.path;n.absolutePath||o&&o.absolutePath||(e=s(e)),void 0===u&&(e=e.replace(/^\/\//u,"/%2F")),i.push(e)}return void 0!==r.query&&i.push("?",r.query),void 0!==r.fragment&&i.push("#",r.fragment),i.join("")}let d=Array.from({length:127},(e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t))),h=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function f(e,t){let r=Object.assign({},t),s={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=-1!==e.indexOf("%"),o=!1;"suffix"===r.reference&&(e=(r.scheme?r.scheme+":":"")+"//"+e);let u=e.match(h);if(u){if(s.scheme=u[1],s.userinfo=u[3],s.host=u[4],s.port=parseInt(u[5],10),s.path=u[6]||"",s.query=u[7],s.fragment=u[8],isNaN(s.port)&&(s.port=u[5]),s.host){let e=i(s.host);if(!1===e.isIPV4){let t=n(e.host);s.host=t.host.toLowerCase(),o=t.isIPV6}else s.host=e.host,o=!0}void 0!==s.scheme||void 0!==s.userinfo||void 0!==s.host||void 0!==s.port||void 0!==s.query||s.path?void 0===s.scheme?s.reference="relative":void 0===s.fragment?s.reference="absolute":s.reference="uri":s.reference="same-document",r.reference&&"suffix"!==r.reference&&r.reference!==s.reference&&(s.error=s.error||"URI is not a "+r.reference+" reference.");let e=l[(r.scheme||s.scheme||"").toLowerCase()];if(!r.unicodeSupport&&(!e||!e.unicodeSupport)&&s.host&&(r.domainHost||e&&e.domainHost)&&!1===o&&function(e){let t=0;for(let r=0,n=e.length;r<n;++r)if((t=e.charCodeAt(r))>126||d[t])return!0;return!1}(s.host))try{s.host=URL.domainToASCII(s.host.toLowerCase())}catch(e){s.error=s.error||"Host's domain name can not be converted to ASCII: "+e}(!e||e&&!e.skipNormalize)&&(a&&void 0!==s.scheme&&(s.scheme=unescape(s.scheme)),a&&void 0!==s.host&&(s.host=unescape(s.host)),s.path&&(s.path=escape(unescape(s.path))),s.fragment&&(s.fragment=encodeURI(decodeURIComponent(s.fragment)))),e&&e.parse&&e.parse(s,r)}else s.error=s.error||"URI can not be parsed.";return s}let p={SCHEMES:l,normalize:function(e,t){return"string"==typeof e?e=c(f(e,t),t):"object"==typeof e&&(e=f(c(e,t),t)),e},resolve:function(e,t,r){let n=Object.assign({scheme:"null"},r);return c(u(f(e,n),f(t,n),n,!0),{...n,skipEscape:!0})},resolveComponents:u,equal:function(e,t,r){return"string"==typeof e?e=c(o(f(e=unescape(e),r),!0),{...r,skipEscape:!0}):"object"==typeof e&&(e=c(o(e,!0),{...r,skipEscape:!0})),"string"==typeof t?t=c(o(f(t=unescape(t),r),!0),{...r,skipEscape:!0}):"object"==typeof t&&(t=c(o(t,!0),{...r,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:c,parse:f};e.exports=p,e.exports.default=p,e.exports.fastUri=p},88465:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},88687:(e,t,r)=>{"use strict";r.d(t,{$C:()=>k,CS:()=>E,Ir:()=>h,Ln:()=>m,Rn:()=>$,Ur:()=>u,W8:()=>S,YP:()=>d,bo:()=>p,hE:()=>_,ho:()=>f,lH:()=>a});var n=r(14862),i=r(37182),s=r(53066);(0,n.hY)(),(0,n.hY)(),(0,n.hY)();var a=(e,t)=>Object.keys(t).reduce((e,r)=>"slot"===t[r].type?(0,n.IA)({[r]:[]},e):e,e),o=e=>!!e&&"function"==typeof e.then,l=e=>e.reduce((e,t)=>(0,n.IA)((0,n.IA)({},e),t),{}),u=({value:e,fields:t,mappers:r,propKey:i="",propPath:s="",id:l="",config:d,recurseSlots:h=!1})=>{var f,p,m;let y=null==(f=t[i])?void 0:f.type,g=r[y];if(g&&"slot"===y){let c=e||[],f=h?c.map(e=>{var t;let i=d.components[e.type];if(!i)throw Error(`Could not find component config for ${e.type}`);let s=null!=(t=i.fields)?t:{};return u({value:(0,n.ko)((0,n.IA)({},e),{props:a(e.props,s)}),fields:s,mappers:r,id:e.props.id,config:d,recurseSlots:h})}):c;return f.some(o)?Promise.all(f):g({value:f,parentId:l,propName:s,field:t[i],propPath:s})}if(g&&t[i])return g({value:e,parentId:l,propName:i,field:t[i],propPath:s});if(e&&"object"==typeof e)if(!Array.isArray(e))return"$$typeof"in e?e:c({value:e,fields:(null==(m=t[i])?void 0:m.type)==="object"?t[i].objectFields:t,mappers:r,id:l,getPropPath:e=>`${s}.${e}`,config:d,recurseSlots:h});else{let n=(null==(p=t[i])?void 0:p.type)==="array"?t[i].arrayFields:null;if(!n)return e;let a=e.map((e,t)=>u({value:e,fields:n,mappers:r,propKey:i,propPath:`${s}[${t}]`,id:l,config:d,recurseSlots:h}));return a.some(o)?Promise.all(a):a}return e},c=({value:e,fields:t,mappers:r,id:n,getPropPath:i,config:s,recurseSlots:a})=>{let c=Object.entries(e).map(([e,l])=>{let c=u({value:l,fields:t,mappers:r,propKey:e,propPath:i(e),id:n,config:s,recurseSlots:a});return o(c)?c.then(t=>({[e]:t})):{[e]:c}},{});return c.some(o)?Promise.all(c).then(l):l(c)};function d(e,t,r,i=!1,s=!0){var l,u,h,f,p;let m="type"in e?e.type:"root",y="root"===m?r.root:null==(l=r.components)?void 0:l[m],g=c({value:s?a(null!=(u=e.props)?u:{},null!=(h=null==y?void 0:y.fields)?h:{}):e.props,fields:null!=(f=null==y?void 0:y.fields)?f:{},mappers:t,id:e.props&&null!=(p=e.props.id)?p:"root",getPropPath:e=>e,config:r,recurseSlots:i});return o(g)?g.then(t=>(0,n.ko)((0,n.IA)({},e),{props:t})):(0,n.ko)((0,n.IA)({},e),{props:g})}function h(e,t,r){var i,s;let a=e=>d(e,{slot:({value:e,parentId:t,propName:n})=>{var i;return null!=(i=r(e,{parentId:t,propName:n}))?i:e}},t,!0);if("props"in e)return a(e);let o=null!=(i=e.zones)?i:{},l=e.content.map(a);return{root:a(e.root),content:null!=(s=r(l,{parentId:"root",propName:"default-zone"}
68))?s:l,zones:Object.keys(o).reduce((e,t)=>(0,n.ko)((0,n.IA)({},e),{[t]:o[t].map(a)}),{})}}(0,n.hY)();var f="root",p="default-zone",m=`${f}:${p}`;(0,n.hY)(),(0,n.hY)();var{flatten:y,unflatten:g}=i,v=e=>null!=e&&"[object Object]"===Object.prototype.toString.call(e),b="__puck_[]",w="__puck_{}",_=e=>{let t=g(function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];n===b?t[r]=[]:n===w?t[r]={}:t[r]=n}return t}(e.props));return(0,n.ko)((0,n.IA)({},e),{props:t})};(0,n.hY)();var $=e=>"type"in e?e:(0,n.ko)((0,n.IA)({},e),{props:(0,n.ko)((0,n.IA)({},e.props),{id:"root"}),type:"root"});function E(e,t,r=e=>e,i=e=>e){var s;let a={},o={},l={},u=(e,t,n,i,s)=>{var a;let[l]=t.split(":"),u=(null!=(a=r(n,t,i))?a:n)||[],[d,h]=t.split(":"),f=`${s||l}:${h}`,p=u.map((t,r)=>c(t,[...e,f],r));return o[f]={contentIds:p.map(e=>e.props.id),type:i},[f,p]},c=(r,s,o)=>{let c,h,f=i(r,s,o);if(!f)return r;let p=f.props.id,g=(0,n.ko)((0,n.IA)({},d(f,{slot:({value:e,parentId:t,propPath:r})=>{let[n,i]=u(s,`${t}:${r}`,e,"slot",t);return i}},t).props),{id:p});(function(e,t,r,n=[]){Object.entries(t.zones||{}).forEach(([t,i])=>{let[s]=t?t&&t.indexOf(":")>-1?t.split(":"):[m,t]:[];s===e.props.id&&r(n,t,i)})})(r,e.data,(e,t,r)=>
68{let[n,i]=u(e,t,r,"dropzone",p);a[n]=i},s);let _=(0,n.ko)((0,n.IA)({},f),{props:g}),$=s[s.length-1],[E,k]=$?$.split(":"):[null,""];l[p]={data:_,flatData:(c=_,h=t,(0,n.ko)((0,n.IA)({},c),{props:function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];Array.isArray(n)&&0===n.length?t[r]=b:v(n)&&0===Object.keys(n).length?t[r]=w:t[r]=n}return t}(y(d(c,{slot:()=>null},h).props))})),path:s,parentId:E,zone:k};let S=(0,n.ko)((0,n.IA)({},_),{props:(0,n.IA)({},_.props)});return"root"===g.id&&(delete S.type,delete S.props.id),S},h=e.data.zones||{},[f,p]=u([],m,e.data.content,"root"),g=Object.keys(a);Object.keys(h||{}).forEach(e=>{let[t]=e.split(":");if(g.includes(e))return;let[r,n]=u([m],e,h[e],"dropzone",t);a[e]=n},a);let _=$({props:(0,n.IA)({},null!=(s=e.data.root.props)?s:e.data.root)});e.data.root.readOnly&&(_.readOnly=e.data.root.readOnly);let k=c(_,[],-1),S=(0,n.IA)((0,n.IA)({},e.data.root),k);return(0,n.ko)((0,n.IA)({},e),{data:{root:S,content:p,zones:(0,n.IA)((0,n.IA)({},e.data.zones),a)},indexes:{nodes:(0,n.IA)((0,n.IA)({},e.indexes.nodes),l),zones:(0,n.IA)((0,n.IA)({},e.indexes.zones),o)}})}(0,n.hY)(),(0,n.hY)(),(0,n.hY)(),(0,n.hY)();var k=e=>e?`${e}-${(0,s.A)()}`:(0,s.A)();(0,n.hY)();var S=(e,t)=>{if(t===m)return e;let r=(0,n.ko)((0,n.IA)({},e),{zones:e.zones?(0,n.IA)({},e.zones):{}});return r.zones[t]=r.zones[t]||[],r}},90075:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>h,R4:()=>l,pp:()=>o});var n={mode:"global"},i={mode:"allowlist",tenantIds:["edx.org"]},s=["editor","ai","publish","runtime"],a=["publish","runtime"];function o(e,t){return!!e&&"object"==typeof e&&("global"===e.mode||"allowlist"===e.mode&&!!Array.isArray(e.tenantIds)&&0!==e.tenantIds.length&&!!t&&e.tenantIds.includes(t))}function l(e,t){if(d(e))return!1;if(t.endsWith("/*")){let r=t.slice(0,-2);return e===r||!!e.startsWith(`${r}/`)&&!d(e.slice(r.length))}if(!t.split("/").some(e=>e.startsWith(":")||e.startsWith("{")&&e.endsWith("}")))return e===t;let r=e.replace(/\/$/,"").split("/"),n=t.replace(/\/$/,"").split("/");return r.length===n.length&&n.every((e,t)=>{if(!(e.startsWith(":")||e.startsWith("{")&&e.endsWith("}")))return e===r[t];let n=u(r[t]??"");return null!==n&&n.length>0&&!c(n)})}function u(e){let t=e;for(let e=0;e<32;e+=1)try{let e=decodeURIComponent(t);if(e===t)return t;t=e}catch{break}return null}function c(e){return"."===e||".."===e||e.includes("/")}function d(e){return e.split("/").some(e=>{if(!e)return!1;let t=u(e);return null===t||c(t)})}var h=({version:"1.0.0",services:[{serviceId:"offerings",displayName:"Offerings"},{serviceId:"offeringsService",displayName:"Offerings",registryServiceName:"offeringsservice"},{serviceId:"organizations",displayName:"Organizations",registryServiceName:"organizationsservice"},{serviceId:"deliverySystem",displayName:"Delivery System"},{serviceId:"campaignManagement",displayName:"Campaign Management"},{serviceId:"mobius",displayName:"Mobius"},{serviceId:"reporting",displayName:"Reporting"},{serviceId:"sameOrigin",displayName:"Same Origin"},{serviceId:"productApi",displayName:"Product API",registryServiceName:"edxproductapi"}],operations:[{serviceId:"offerings",serviceName:"Offerings",method:"POST",schemaPath:"/v1/search",runtimePath:"/v1/search",tenantScope:n,surfaces:a,description:"Offerings search via Algolia facets."},{serviceId:"offerings",serviceName:"Offerings",method:"GET",schemaPath:"/v1/search",runtimePath:"/v1/search",tenantScope:n,surfaces:["runtime"],description:"Offerings query-string search."},{serviceId:"offerings",serviceName:"Offerings",method:"GET",schemaPath:"/v1/offerings",runtimePath:"/v1/offerings",tenantScope:n,surfaces:a,description:"Offerings list filtered by source."},{serviceId:"offerings",serviceName:"Offerings",method:"POST",schemaPath:"/v1/recommendations",runtimePath:"/v1/recommendations",tenantScope:n,surfaces:a,description:"Recommended offerings for a subject set."},{id:"education.offeringDimensions_v1",serviceId:"offeringsService",serviceName:"OfferingsService",method:"GET",schemaPath:"/v1/offerings/dimensions",runtimePath:"/v1/offerings/dimensions",tenantScope:n,surfaces:s,description:"Canonical academic dimensions.",approvedUseCases:["dropdown-options","faceted-filter-options","cascading-filter-options"],operationId:"OfferingsController_getDimensions"},{serviceId:"offeringsService",serviceName:"OfferingsService",method:"POST",schemaPath:"/v1/offerings/search",runtimePath:"/v1/offerings/search",tenantScope:n,surfaces:["editor","publish","runtime"],description:"Flat multi-dimensional offering search."},{id:"education.offeringMatchResults_v1",serviceId:"offeringsService",serviceName:"OfferingsService",method:"POST",schemaPath:"/v1/offerings/search/match",runtimePath:"/v1/offerings/search/match",tenantScope:n,surfaces:s,description:"Canonical offering match buckets.",approvedUseCases:["result-page-match-rendering","result-page-list-rendering","offerings-match-bucket-rendering"],operationId:"OfferingsController_matchOfferings",notes:["The endpoint returns top-level match buckets: exact, spotlight, recommended, and related.","Bind result-page sections to exact.data, spotlight.data, recommended.data, and related.data."]},{id:"education.offeringDetail_v1",serviceId:"offeringsService",serviceName:"OfferingsService",method:"GET",schemaPath:"/v1/offerings/{id}",runtimePath:"/v1/offerings/:offeringId",tenantScope:n,surfaces:s,description:"Offering detail by id.",approvedUseCases:["lead-form-drawer-detail","offering-detail-rendering"],operationId:"OfferingsController_getOfferingById",notes:["Use api-definitions as field evidence before binding.","The drawer detail binds to data.organizations[0].*."]},{serviceId:"organizations",serviceName:"OrganizationsService",method:"POST",schemaPath:"/v1/marketing/lookup",runtimePath:"/v1/marketing/lookup",tenantScope:n,surfaces:a,description:"School marketing data lookup."},{id:"education.organizationRankings_v1",serviceId:"organizations",serviceName:"OrganizationsService",method:"POST",schemaPath:"/v1/rankings/{listKey}",runtimePath:"/v1/rankings/:listKey",tenantScope:n,surfaces:s,description:"Curated ranking list by list key.",approvedUseCases:["rankings-list-rendering","ranked-schools-rendering"],operationId:"RankingsController_getRankingList",notes:["The Organizations rankings controller is POST-only.","Use api-definitions as field evidence before binding."]},{serviceId:"deliverySystem",serviceName:"DeliverySystem",method:"GET",schemaPath:"/v3/schema/*",runtimePath:"/v3/schema/*",tenantScope:n,surfaces:a,description:"Lead JSON sc
68hema for a school and program."},{serviceId:"deliverySystem",serviceName:"DeliverySystem",method:"POST",schemaPath:"/v3/lead",runtimePath:"/v3/lead",tenantScope:n,surfaces:a,description:"Submit a lead."},{serviceId:"deliverySystem",serviceName:"DeliverySystem",method:"POST",schemaPath:"/v3/lead/qualify",runtimePath:"/v3/lead/qualify",tenantScope:n,surfaces:a,description:"Qualify a lead against programs."},{serviceId:"deliverySystem",serviceName:"DeliverySystem",method:"POST",schemaPath:"/v4/request/qualify",runtimePath:"/v4/request/qualify",tenantScope:n,surfaces:a,description:"Qualify a lead request."},{serviceId:"reporting",serviceName:"Reporting",method:"POST",schemaPath:"/api/reporting/v1/query",runtimePath:"/api/reporting/v1/query",tenantScope:n,surfaces:a,description:"Semantic model query execution."},{serviceId:"reporting",serviceName:"Reporting",method:"POST",schemaPath:"/api/reporting/v1/query/execute",runtimePath:"/api/reporting/v1/query/execute",tenantScope:n,surfaces:a,description:"Named query execution."},{serviceId:"reporting",serviceName:"Reporting",method:"GET",schemaPath:"/api/reporting/v1/models/{modelId}/dimensions/{dimensionName}/values",runtimePath:"/api/reporting/v1/models/:modelId/dimensions/:dimensionName/values",tenantScope:n,surfaces:["runtime"],description:"Semantic model dimension values."},{serviceId:"sameOrigin",serviceName:"SameOrigin",method:"POST",schemaPath:"/api/ai/insight",runtimePath:"/api/ai/insight",tenantScope:n,surfaces:["runtime"],description:"Domain-neutral inference."},{id:"education.productSummaries_v1",serviceId:"productApi",serviceName:"EdxProductApi",method:"GET",schemaPath:"/v1/product-summaries",runtimePath:"/v1/product-summaries",runtimeAliases:["/api/product-api/v1/product-summaries"],tenantScope:i,surfaces:s,description:"Published product-summary list.",approvedUseCases:["product-summary-list-rendering"],operationId:"listProductSummaries"},{id:"education.productSummary_v1",serviceId:"productApi",serviceName:"EdxProductApi",method:"GET",schemaPath:"/v1/product-summaries/{uuid}",runtimePath:"/v1/product-summaries/:uuid",runtimeAliases:["/api/product-api/v1/product-summaries/:uuid"],tenantScope:i,surfaces:s,description:"Published product-summary by uuid.",approvedUseCases:["product-summary-detail-rendering"],operationId:"getProductSummary"}].map(e=>e.surfaces.includes("ai")?{...e,apiDefinitionRef:{corpusId:"api-definitions",serviceName:e.serviceName,operationId:e.operationId,method:e.method,path:e.schemaPath}}:e)}).operations.filter(e=>e.surfaces.includes("runtime"))},90610:e=>{e.exports=(function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){if(s)return s(a,!0);throw Error("Cannot find module '"+a+"'")}o=r[a]={exports:{}},t[a][0].call(o.exports,function(e){return i(t[a][1][e]||e)},o,o.exports,e,t,r,n)}return r[a].exports}for(var s=void 0,a=0;a<n.length;a++)i(n[a]);return i})({1:[function(e,t,r){(function(n,i,s,a,o,l,u,c,d){"use strict";var h=e("crypto");function f(e,t){var r;return void 0===(r="passthrough"!==(t=y(e,t)).algorithm?h.createHash(t.algorithm):new b).write&&(r.write=r.update,r.end=r.update),v(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=f).sha1=function(e){return f(e)},r.keys=function(e){return f(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return f(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return f(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var p=h.getHashes?h.getHashes().slice():["sha1","md5"],m=(p.push("passthrough"),["buffer","hex","binary","base64"]);function y(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw Error("Object argument required.");for(var n=0;n<p.length;++n)p[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=p[n]);if(-1===p.indexOf(r.algorithm))throw Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+p.join(", "));if(-1===m.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw Error('Encoding "'+r.encoding+'" not supported. supported values: '+m.join(", "));return r}function g(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function v(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,a=Object.prototype.toString.call(t),o=/\[object (.*)\]/i.exec(a);if(o=(o=o?o[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+a+"]");if(r.push(t),void 0!==s&&s.isBuffer&&s.isBuffer(t))return n("buffer:"),n(t);if("object"===o||"function"===o||"asyncfunction"===o)return a=Object.keys(t),e.unorderedObjects&&(a=a.sort()),!1===e.respectType||g(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter(function(t){return!e.excludeKeys(t)})),n("object:"+a.length+":"),i=this,a.forEach(function(r){i.dispatch(r),n(":"),e.excludeValues||i.dispatch(t[r]),n(",")});if(!this["_"+o]){if(e.ignoreUnknown)return n("["+o+"]");throw Error('Unknown object type "'+o+'"')}this["_"+o](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var s=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach(function(e){return s.dispatch(e)});var a=[],i=t.map(function(t){var n=new b,i=r.slice();return v(e,n,i).dispatch(t),a=a.concat(i.slice(r.length)),n.read().toString()});return r=r.concat(a),i.sort(),this._array(i,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())}
68,_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),g(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),v(t=y(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,i,s,a,o,l,u){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array;function r(e){return 43===(e=e.charCodeAt(0))||45===e?62:47===e||95===e?63:e<48?-1:e<58?e-48+26+26:e<91?e-65:e<123?e-97+26:void 0}e.toByteArray=function(e){if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");var n,i,s=e.length,s="="===e.charAt(s-2)?2:+("="===e.charAt(s-1)),a=new t(3*e.length/4-s),o=0<s?e.length-4:e.length,l=0;function u(e){a[l++]=e}for(n=0;n<o;n+=4)u((0xff0000&(i=r(e.charAt(n))<<18|r(e.charAt(n+1))<<12|r(e.charAt(n+2))<<6|r(e.charAt(n+3))))>>16),u((65280&i)>>8),u(255&i);return 2==s?u(255&(i=r(e.charAt(n))<<2|r(e.charAt(n+1))>>4)):1==s&&(u((i=r(e.charAt(n))<<10|r(e.charAt(n+1))<<4|r(e.charAt(n+2))>>2)>>8&255),u(255&i)),a},e.fromByteArray=function(e){var t,r,n,i,s=e.length%3,a="";function o(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
68+/".charAt(e)}for(t=0,n=e.length-s;t<n;t+=3)a+=o((i=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+o(i>>12&63)+o(i>>6&63)+o(63&i);switch(s){case 1:a=(a+=o((r=e[e.length-1])>>2))+o(r<<4&63)+"==";break;case 2:a=(a=(a+=o((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+o(r>>4&63))+o(r<<2&63)+"="}return a}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,i,s,a,o,l,u,c){var d=e("base64-js"),h=e("ieee754");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);var n,s,a,o,l=typeof e;if("base64"===t&&"string"==l)for(e=(o=e).trim?o.trim():o.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=j(e);else if("string"==l)n=i.byteLength(e,t);else{if("object"!=l)throw Error("First argument needs to be a number, array or string.");n=j(e.length)}if(i._useTypedArrays?s=i._augment(new Uint8Array(n)):((s=this).length=n,s._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)s._set(e);else if(P(o=e)||i.isBuffer(o)||o&&"object"==typeof o&&"number"==typeof o.length)for(a=0;a<n;a++)i.isBuffer(e)?s[a]=e.readUInt8(a):s[a]=e[a];else if("string"==l)s.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!r)for(a=0;a<n;a++)s[a]=0;return s}function f(e,t,r,n){n||(z("boolean"==typeof r,"missing or invalid endian"),z(null!=t,"missing offset"),z(t+1<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(i=e[t],t+1<n&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<n&&(i|=e[t+1])),i}function p(e,t,r,n){n||(z("boolean"==typeof r,"missing or invalid endian"),z(null!=t,"missing offset"),z(t+3<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(t+2<n&&(i=e[t+2]<<16),t+1<n&&(i|=e[t+1]<<8),i|=e[t],t+3<n&&(i+=e[t+3]<<24>>>0)):(t+1<n&&(i=e[t+1]<<16),t+2<n&&(i|=e[t+2]<<8),t+3<n&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function m(e,t,r,n){if(n||(z("boolean"==typeof r,"missing or invalid endian"),z(null!=t,"missing offset"),z(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=f(e,t,r,!0))?-1*(65535-n+1):n}function y(e,t,r,n){if(n||(z("boolean"==typeof r,"missing or invalid endian"),z(null!=t,"missing offset"),z(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 0x80000000&(n=p(e,t,r,!0))?-1*(0xffffffff-n+1):n}function g(e,t,r,n){return n||(z("boolean"==typeof r,"missing or invalid endian"),z(t+3<e.length,"Trying to read beyond buffer length")),h.read(e,t,r,23,4)}function v(e,t,r,n){return n||(z("boolean"==typeof r,"missing or invalid endian"),z(t+7<e.length,"Trying to read beyond buffer length")),h.read(e,t,r,52,8)}function b(e,t,r,n,i){if(i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+1<e.length,"trying to write beyond buffer length"),R(t,65535)),!((i=e.length)<=r))for(var s=0,a=Math.min(i-r,2);s<a;s++)e[r+s]=(t&255<<8*(n?s:1-s))>>>8*(n?s:1-s)}function w(e,t,r,n,i){if(i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+3<e.length,"trying to write beyond buffer length"),R(t,0xffffffff)),!((i=e.length)<=r))for(var s=0,a=Math.min(i-r,4);s<a;s++)e[r+s]=t>>>8*(n?s:3-s)&255}function _(e,t,r,n,i){i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+1<e.length,"Trying to write beyond buffer length"),T(t,32767,-32768)),e.length<=r||b(e,0<=t?t:65535+t+1,r,n,i)}function $(e,t,r,n,i){i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+3<e.length,"Trying to write beyond buffer length"),T(t,0x7fffffff,-0x80000000)),e.length<=r||w(e,0<=t?t:0xffffffff+t+1,r,n,i)}function E(e,t,r,n,i){i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+3<e.length,"Trying to write beyond buffer length"),D(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||h.write(e,t,r,n,23,4)}function k(e,t,r,n,i){i||(z(null!=t,"missing value"),z("boolean"==typeof n,"missing or invalid endian"),z(null!=r,"missing offset"),z(r+7<e.length,"Trying to write beyond buffer length"),D(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||h.write(e,t,r,n,52,8)}r.Buffer=i,r.SlowBuffer=i,r.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=I(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=C(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw Error("Unknown encoding")}return r},i.concat=function(e,t){if(z(P(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(s=t=0;s<e.length;s++)t+=e[s].length;for(var r=new i(t),n=0,s=0;s<e.length;s++){var a=e[s];a.copy(r,n),n+=a.length}return r}
68,i.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(f=n,n=t,t=r,r=f),t=Number(t)||0;var s,a,o,l,u,c,d,h,f=this.length-t;switch((!r||f<(r=Number(r)))&&(r=f),n=String(n||"utf8").toLowerCase()){case"hex":u=function(e,t,r,n){r=Number(r)||0;var s=e.length-r;(!n||s<(n=Number(n)))&&(n=s),z((s=t.length)%2==0,"Invalid hex string"),s/2<n&&(n=s/2);for(var a=0;a<n;a++){var o=parseInt(t.substr(2*a,2),16);z(!isNaN(o),"Invalid hex string"),e[r+a]=o}return i._charsWritten=2*a,a}(this,e,t,r);break;case"utf8":case"utf-8":c=this,d=t,h=r,u=i._charsWritten=M(I(e),c,d,h);break;case"ascii":case"binary":s=t,a=r,u=i._charsWritten=M(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);break;case"base64":c=this,d=t,h=r,u=i._charsWritten=M(C(e),c,d,h);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=t,l=r,u=i._charsWritten=M(function(e){for(var t,r,n=[],i=0;i<e.length;i++)t=(r=e.charCodeAt(i))>>8,n.push(r%=256),n.push(t);return n}(e),this,o,l);break;default:throw Error("Unknown encoding")}return u},i.prototype.toString=function(e,t,r){var n,i,s;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):this.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",s=t;s<r;s++)i+=A(e[s]);return i}(this,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var s=t;s<r;s++)e[s]<=127?(n+=N(i)+String.fromCharCode(e[s]),i=""):i+="%"+e[s].toString(16);return n+N(i)}(this,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}(this,t,r);break;case"base64":s=r,n=0===(i=t)&&s===this.length?d.fromByteArray(this):d.fromByteArray(this.slice(i,s));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}(this,t,r);break;default:throw Error("Unknown encoding")}return n},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){z(r<=n,"sourceEnd < sourceStart"),z(0<=t&&t<e.length,"targetStart out of bounds"),z(0<=r&&r<this.length,"sourceStart out of bounds"),z(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var s=(n=e.length-t<n-r?e.length-t+r:n)-r;if(s<100||!i._useTypedArrays)for(var a=0;a<s;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+s),t)}},i.prototype.slice=function(e,t){var r=this.length;if(e=O(e,r,0),t=O(t,r,r),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var n=t-e,s=new i(n,void 0,!0),a=0;a<n;a++)s[a]=this[a+e];return s},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(z(null!=e,"missing offset"),z(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return f(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return f(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return p(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return p(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(z(null!=e,"missing offset"),z(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return m(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return m(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return g(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return g(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return v(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return v(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,r){r||(z(null!=e,"missing value"),z(null!=t,"missing offset"),z(t<this.length,"trying to write beyond buffer length"),R(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,r){b(this,e,t,!0,r)},i.prototype.writeUInt16BE=function(e,t,r){b(this,e,t,!1,r)},i.prototype.writeUInt32LE=function(e,t,r){w(this,e,t,!0,r)},i.prototype.writeUInt32BE=function(e,t,r){w(this,e,t,!1,r)},i.prototype.writeInt8=function(e,t,r){r||(z(null!=e,"missing value"),z(null!=t,"missing offset"),z(t<this.length,"Trying to write beyond buffer length"),T(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},i.prototype.writeInt16LE=function(e,t,r){_(this,e,t,!0,r)},i.prototype.writeInt16BE=function(e,t,r){_(this,e,t,!1,r)},i.prototype.writeInt32LE=function(e,t,r){$(this,e,t,!0,r)},i.prototype.writeInt32BE=function(e,t,r){$(this,e,t,!1,r)},i.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){k(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){k(this,e,t,!1,r)},i.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,z("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),z(t<=r,"end < start"),r!==t&&0!==this.length){z(0<=t&&t<this.length,"start out of bounds"),z(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=A(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var S=i.prototype;function O(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function j(e){return(e=~~Math.ceil(+e))<0?0:e}function P(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function A(e){return e<16?"0"+e.toString(16):e.toString(16)}function I(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else for(var i=r,s=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(i,r+1)).substr(1).split("%")),a=0;a<s.length;a++)t.push(parseInt(s[a],16))}return t}function C(e){return d.toByteArray(e)}function M(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function N(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function R(e,t){z("number"==typeof e,"cannot write a non-number as a number"),z(0<=e,"specified a negative value for writing an unsigned value"),z(e<=t,"value is larger than maximum value for type"),z(Math.floor(e)===e,"value has a fractional component")}function T(e,t,r){z("number"==typeof e,"cannot write a non-number as a number"),z(e<=t,"value larger than maximum allowed value"),z(r<=e,"value smaller than minimum allowed value"),z(Math.floor(e)===e,"value has a fractional component")}function D(e,t,r){z("number"==typeof e,"cannot write a non-number as a number"),z(e<=t,"value larger than maximum allowed value"),z(r<=e,"value smaller than minimum allowed value")}function z(e,t){if(!e)throw Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=S.get,e.set=S.set,e.write=S.write,e.toString=S.toString,e.toLocaleStr
68ing=S.toString,e.toJSON=S.toJSON,e.copy=S.copy,e.slice=S.slice,e.readUInt8=S.readUInt8,e.readUInt16LE=S.readUInt16LE,e.readUInt16BE=S.readUInt16BE,e.readUInt32LE=S.readUInt32LE,e.readUInt32BE=S.readUInt32BE,e.readInt8=S.readInt8,e.readInt16LE=S.readInt16LE,e.readInt16BE=S.readInt16BE,e.readInt32LE=S.readInt32LE,e.readInt32BE=S.readInt32BE,e.readFloatLE=S.readFloatLE,e.readFloatBE=S.readFloatBE,e.readDoubleLE=S.readDoubleLE,e.readDoubleBE=S.readDoubleBE,e.writeUInt8=S.writeUInt8,e.writeUInt16LE=S.writeUInt16LE,e.writeUInt16BE=S.writeUInt16BE,e.writeUInt32LE=S.writeUInt32LE,e.writeUInt32BE=S.writeUInt32BE,e.writeInt8=S.writeInt8,e.writeInt16LE=S.writeInt16LE,e.writeInt16BE=S.writeInt16BE,e.writeInt32LE=S.writeInt32LE,e.writeInt32BE=S.writeInt32BE,e.writeFloatLE=S.writeFloatLE,e.writeFloatBE=S.writeFloatBE,e.writeDoubleLE=S.writeDoubleLE,e.writeDoubleBE=S.writeDoubleBE,e.fill=S.fill,e.inspect=S.inspect,e.toArrayBuffer=S.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,i,s,a,o,l,u,c){var i=e("buffer").Buffer,d=new i(4);d.fill(0),t.exports={hash:function(e,t,r,n){for(var s=t(function(e,t){e.length%4!=0&&(r=e.length+(4-e.length%4),e=i.concat([e,d],r));for(var r,n=[],s=t?e.readInt32BE:e.readInt32LE,a=0;a<e.length;a+=4)n.push(s.call(e,a));return n}(e=i.isBuffer(e)?e:new i(e),n),8*e.length),t=n,a=new i(r),o=t?a.writeInt32BE:a.writeInt32LE,l=0;l<s.length;l++)o.call(a,s[l],4*l,!0);return a}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,i,s,a,o,l,u,c){var i=e("buffer").Buffer,d=e("./sha"),h=e("./sha256"),f=e("./rng"),p={sha1:d,sha256:h,md5:e("./md5")},m=new i(64);function y(e,t){var r=p[e=e||"sha1"],n=[];return r||g("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),n.push(e),e.length,this},digest:function(e){var s=i.concat(n),s=t?function(e,t,r){i.isBuffer(t)||(t=new i(t)),i.isBuffer(r)||(r=new i(r)),t.length>64?t=e(t):t.length<64&&(t=i.concat([t,m],64));for(var n=new i(64),s=new i(64),a=0;a<64;a++)n[a]=54^t[a],s[a]=92^t[a];return r=e(i.concat([n,r])),e(i.concat([s,r]))}(r,t,s):r(s);return n=null,e?s.toString(e):s}}}function g(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests\nhttp://github.com/dominictarr/crypto-browserify"].join("\n"))}m.fill(0),r.createHash=function(e){return y(e)},r.createHmac=y,r.randomBytes=function(e,t){if(!t||!t.call)return new i(f(e));try{t.call(this,void 0,new i(f(e)))}catch(e){t(e)}};var v,b=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],w=function(e){r[e]=function(){g("sorry,",e,"is not implemented yet")}};for(v in b)w(b[v],v)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,i,s,a,o,l,u,c){var d=e("./helpers");function h(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=0x67452301,n=-0x10325477,i=-0x67452302,s=0x10325476,a=0;a<e.length;a+=16){var o=r,l=n,u=i,c=s,r=p(r,n,i,s,e[a+0],7,-0x28955b88),s=p(s,r,n,i,e[a+1],12,-0x173848aa),i=p(i,s,r,n,e[a+2],17,0x242070db),n=p(n,i,s,r,e[a+3],22,-0x3e423112);r=p(r,n,i,s,e[a+4],7,-0xa83f051),s=p(s,r,n,i,e[a+5],12,0x4787c62a),i=p(i,s,r,n,e[a+6],17,-0x57cfb9ed),n=p(n,i,s,r,e[a+7],22,-0x2b96aff),r=p(r,n,i,s,e[a+8],7,0x698098d8),s=p(s,r,n,i,e[a+9],12,-0x74bb0851),i=p(i,s,r,n,e[a+10],17,-42063),n=p(n,i,s,r,e[a+11],22,-0x76a32842),r=p(r,n,i,s,e[a+12],7,0x6b901122),s=p(s,r,n,i,e[a+13],12,-0x2678e6d),i=p(i,s,r,n,e[a+14],17,-0x5986bc72),r=m(r,n=p(n,i,s,r,e[a+15],22,0x49b40821),i,s,e[a+1],5,-0x9e1da9e),s=m(s,r,n,i,e[a+6],9,-0x3fbf4cc0),i=m(i,s,r,n,e[a+11],14,0x265e5a51),n=m(n,i,s,r,e[a+0],20,-0x16493856),r=m(r,n,i,s,e[a+5],5,-0x29d0efa3),s=m(s,r,n,i,e[a+10],9,0x2441453),i=m(i,s,r,n,e[a+15],14,-0x275e197f),n=m(n,i,s,r,e[a+4],20,-0x182c0438),r=m(r,n,i,s,e[a+9],5,0x21e1cde6),s=m(s,r,n,i,e[a+14],9,-0x3cc8f82a),i=m(i,s,r,n,e[a+3],14,-0xb2af279),n=m(n,i,s,r,e[a+8],20,0x455a14ed),r=m(r,n,i,s,e[a+13],5,-0x561c16fb),s=m(s,r,n,i,e[a+2],9,-0x3105c08),i=m(i,s,r,n,e[a+7],14,0x676f02d9),r=y(r,n=m(n,i,s,r,e[a+12],20,-0x72d5b376),i,s,e[a+5],4,-378558),s=y(s,r,n,i,e[a+8],11,-0x788e097f),i=y(i,s,r,n,e[a+11],16,0x6d9d6122),n=y(n,i,s,r,e[a+14],23,-0x21ac7f4),r=y(r,n,i,s,e[a+1],4,-0x5b4115bc),s=y(s,r,n,i,e[a+4],11,0x4bdecfa9),i=y(i,s,r,n,e[a+7],16,-0x944b4a0),n=y(n,i,s,r,e[a+10],23,-0x41404390),r=y(r,n,i,s,e[a+13],4,0x289b7ec6),s=y(s,r,n,i,e[a+0],11,-0x155ed806),i=y(i,s,r,n,e[a+3],16,-0x2b10cf7b),n=y(n,i,s,r,e[a+6],23,0x4881d05
68),r=y(r,n,i,s,e[a+9],4,-0x262b2fc7),s=y(s,r,n,i,e[a+12],11,-0x1924661b),i=y(i,s,r,n,e[a+15],16,0x1fa27cf8),r=g(r,n=y(n,i,s,r,e[a+2],23,-0x3b53a99b),i,s,e[a+0],6,-0xbd6ddbc),s=g(s,r,n,i,e[a+7],10,0x432aff97),i=g(i,s,r,n,e[a+14],15,-0x546bdc59),n=g(n,i,s,r,e[a+5],21,-0x36c5fc7),r=g(r,n,i,s,e[a+12],6,0x655b59c3),s=g(s,r,n,i,e[a+3],10,-0x70f3336e),i=g(i,s,r,n,e[a+10],15,-1051523),n=g(n,i,s,r,e[a+1],21,-0x7a7ba22f),r=g(r,n,i,s,e[a+8],6,0x6fa87e4f),s=g(s,r,n,i,e[a+15],10,-0x1d31920),i=g(i,s,r,n,e[a+6],15,-0x5cfebcec),n=g(n,i,s,r,e[a+13],21,0x4e0811a1),r=g(r,n,i,s,e[a+4],6,-0x8ac817e),s=g(s,r,n,i,e[a+11],10,-0x42c50dcb),i=g(i,s,r,n,e[a+2],15,0x2ad7d2bb),n=g(n,i,s,r,e[a+9],21,-0x14792c6f),r=v(r,o),n=v(n,l),i=v(i,u),s=v(s,c)}return[r,n,i,s]}function f(e,t,r,n,i,s){return v((t=v(v(t,e),v(n,s)))<<i|t>>>32-i,r)}function p(e,t,r,n,i,s,a){return f(t&r|~t&n,e,t,i,s,a)}function m(e,t,r,n,i,s,a){return f(t&n|r&~n,e,t,i,s,a)}function y(e,t,r,n,i,s,a){return f(t^r^n,e,t,i,s,a)}function g(e,t,r,n,i,s,a){return f(r^(t|~n),e,t,i,s,a)}function v(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return d.hash(e,h,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,i,s,a,o,l,u){t.exports=function(e){for(var t,r=Array(e),n=0;n<e;n++)0==(3&n)&&(t=0x100000000*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,i,s,a,o,l,u,c){var d=e("./helpers");function h(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,i,s=Array(80),a=0x67452301,o=-0x10325477,l=-0x67452302,u=0x10325476,c=-0x3c2d1e10,d=0;d<e.length;d+=16){for(var h=a,m=o,y=l,g=u,v=c,b=0;b<80;b++){s[b]=b<16?e[d+b]:p(s[b-3]^s[b-8]^s[b-14]^s[b-16],1);var w=f(f(p(a,5),(w=o,n=l,i=u,(r=b)<20?w&n|~w&i:!(r<40)&&r<60?w&n|w&i|n&i:w^n^i)),f(f(c,s[b]),(r=b)<20?0x5a827999:r<40?0x6ed9eba1:r<60?-0x70e44324:-0x359d3e2a)),c=u,u=l,l=p(o,30),o=a,a=w}a=f(a,h),o=f(o,m),l=f(l,y),u=f(u,g),c=f(c,v)}return[a,o,l,u,c]}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function p(e,t){return e<<t|e>>>32-t}t.exports=function(e){return d.hash(e,h,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,i,s,a,o,l,u,c){function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function h(e,t){var r,n=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],i=[0x6a09e66
687,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],s=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,o,l=0;l<e.length;l+=16){for(var u=i[0],c=i[1],h=i[2],f=i[3],y=i[4],g=i[5],v=i[6],b=i[7],w=0;w<64;w++)s[w]=w<16?e[w+l]:d(d(d(p(o=s[w-2],17)^p(o,19)^m(o,10),s[w-7]),p(o=s[w-15],7)^p(o,18)^m(o,3)),s[w-16]),r=d(d(d(d(b,p(o=y,6)^p(o,11)^p(o,25)),y&g^~y&v),n[w]),s[w]),a=d(p(a=u,2)^p(a,13)^p(a,22),u&c^u&h^c&h),b=v,v=g,g=y,y=d(f,r),f=h,h=c,c=u,u=d(r,a);i[0]=d(u,i[0]),i[1]=d(c,i[1]),i[2]=d(h,i[2]),i[3]=d(f,i[3]),i[4]=d(y,i[4]),i[5]=d(g,i[5]),i[6]=d(v,i[6]),i[7]=d(b,i[7])}return i}var f=e("./helpers"),p=function(e,t){return e>>>t|e<<32-t},m=function(e,t){return e>>>t};t.exports=function(e){return f.hash(e,h,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,i,s,a,o,l,u){r.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,i=e[t+d];for(d+=h,s=i&(1<<-c)-1,i>>=-c,c+=o;0<c;s=256*s+e[t+d],d+=h,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;0<c;a=256*a+e[t+d],d+=h,c-=8);if(0===s)s=1-u;else{if(s===l)return a?NaN:1/0*(i?-1:1);a+=Math.pow(2,n),s-=u}return(i?-1:1)*a*Math.pow(2,s-n)},r.write=function(e,t,r,n,i,s){var a,o,l=8*s-i-1,u=(1<<l)-1,c=u>>1,d=5960464477539062e-23*(23===i),h=n?0:s-1,f=n?1:-1,s=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(t+=1<=a+c?d/n:d*Math.pow(2,1-c))*n&&(a++,n/=2),u<=a+c?(o=0,a=u):1<=a+c?(o=(t*n-1)*Math.pow(2,i),a+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));8<=i;e[r+h]=255&o,h+=f,o/=256,i-=8);for(a=a<<i|o,l+=i;0<l;e[r+h]=255&a,h+=f,a/=256,l-=8);e[r+h-f]|=128*s}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,i,s,a,o,l,u){var c,d,h;function f(){}(e=t.exports={}).nextTick=(d="undefined"!=typeof window&&window.setImmediate,h="undefined"!=typeof window&&window.postMessage&&window.addEventListener,d?function(e){return window.setImmediate(e)}:h?(c=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<c.length&&c.shift()())},!0),function(e){c.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=f,e.addListener=f,e.once=f,e.off=f,e.removeListener=f,e.removeAllListeners=f,e.emit=f,e.binding=function(e){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},93275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;let n=r(40764),i=r(97067),s=r(83671),a=r(71506),o="https://json-schema.org/draft/2020-12/schema";class l extends n.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),i.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:e,meta:t}=this.opts;t&&(a.default.call(this,e),this.refs["http://json-schema.org/schema"]=o)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}}t.Ajv2020=l,e.exports=t=l,e.exports.Ajv2020=l,Object.defineProperty(t,"__esMo
68dule",{value:!0}),t.default=l;var u=r(94864);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var c=r(77637);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return c._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return c.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return c.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return c.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return c.CodeGen}});var d=r(75292);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var h=r(76475);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})},93773:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(7293).validateUnion,error:{message:"must match a schema in anyOf"}}},94864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;let n=r(66003),i=r(59316),s=r(25141),a=r(59316),o=r(32698),l=r(72387),u=r(20737),c=r(77637),d=r(30199),h=r(16683),f=r(11865),p=r(32258);function m({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},s){var a;i.code.es5?e.func(t,(0,c._)`${d.default.data}, ${d.default.valCxt}`,n.$async,()=>{var t,n;e.code((0,c._)`"use strict"; ${y(r,i)}`),t=e,n=i,t.if(d.default.valCxt,()=>{t.var(d.default.instancePath,(0,c._)`${d.default.valCxt}.${d.default.instancePath}`),t.var(d.default.parentData,(0,c._)`${d.default.valCxt}.${d.default.parentData}`),t.var(d.default.parentDataProperty,(0,c._)`${d.default.valCxt}.${d.default.parentDataProperty}`),t.var(d.default.rootData,(0,c._)`${d.default.valCxt}.${d.default.rootData}`),n.dynamicRef&&t.var(d.default.dynamicAnchors,(0,c._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{t.var(d.default.instancePath,(0,c._)`""`),t.var(d.default.parentData,(0,c._)`undefined`),t.var(d.default.parentDataProperty,(0,c._)`undefined`),t.var(d.default.rootData,d.default.data),n.dynamicRef&&t.var(d.default.dynamicAnchors,(0,c._)`{}`)}),e.code(s)}):e.func(t,(0,c._)`${d.default.data}, ${(a=i,(0,c._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${a.dynamicRef?(0,c._)`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`)}`,n.$async,()=>e.code(y(r,i)).code(s))}function y(e,t){let r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,c._)`/*# sourceURL=${r} */`:c.nil}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(let r in e)if(t.RULES.all[r])return!0;return!1}function v(e){return"boolean"!=typeof e.schema}function b(e){(0,f.checkUnknownRules)(e),function(e){let{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function w(e,t){if(e.opts.jtd)return $(e,[],!1,t);let r=(0,i.getSchemaTypes)(e.schema),n=(0,i.coerceAndCheckDataType)(e,r);$(e,r,!n,t)}function _({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){let s=r.$comment;if(!0===i.$comment)e.code((0,c._)`${d.default.self}.logger.log(${s})`);else if("function"==typeof i.$comment){let r=(0,c.str)`${n}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code((0,c._)`${d.default.self}.opts.$comment(${s}, ${r}, ${i}.schema)`)}}function $(e,t,r,n){var i,o,l,u;let{gen:h,schema:p,data:m,allErrors:y,opts:g,self:v}=e,{RULES:b}=v;if(p.$ref&&(g.ignoreKeywordsWithRef||!(0,f.schemaHasRulesButRef)(p,b)))return void h.block(()=>j(e,"$ref",b.all.$ref.definition));function w(i){(0,s.shouldUseGroup)(p,i)&&(i.type?(h.if((0,a.checkDataType)(i.type,m,g.strictNumbers)),E(e,i),1===t.length&&t[0]===i.type&&r&&(h.else(),(0,a.reportTypeError)(e)),h.endIf()):E(e,i),y||h.if((0,c._)`${d.default.errors} === ${n||0}`))}g.jtd||(i=e,o=t,!i.schemaEnv.meta&&i.opts.strictTypes&&(function(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(t=>
68{k(e.dataTypes,t)||S(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),function(e,t){let r=[];for(let n of e.dataTypes)k(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)}}(i,o),i.opts.allowUnionTypes||(l=i,(u=o).length>1&&!(2===u.length&&u.includes("null"))&&S(l,"use allowUnionTypes to allow union type keyword")),function(e,t){let r=e.self.RULES.all;for(let n in r){let i=r[n];if("object"==typeof i&&(0,s.shouldUseRule)(e.schema,i)){let{type:r}=i.definition;r.length&&!r.some(e=>{var r,n;return r=t,n=e,r.includes(n)||"number"===n&&r.includes("integer")})&&S(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}(i,i.dataTypes))),h.block(()=>{for(let e of b.rules)w(e);w(b.post)})}function E(e,t){let{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,o.assignDefaults)(e,t.type),r.block(()=>{for(let r of t.rules)(0,s.shouldUseRule)(n,r)&&j(e,r.keyword,r.definition,t.type)})}function k(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function S(e,t){let r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){v(e)&&(b(e),g(e))?function(e){let{schema:t,opts:r,gen:n}=e;m(e,()=>{r.$comment&&t.$comment&&_(e),function(e){let{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(d.default.vErrors,null),n.let(d.default.errors,0),r.unevaluated&&function(e){let{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,c._)`${r}.evaluated`),t.if((0,c._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,c._)`${e.evaluated}.props`,(0,c._)`undefined`)),t.if((0,c._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,c._)`${e.evaluated}.items`,(0,c._)`undefined`))}(e),w(e),function(e){let{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:s}=e;r.$async?t.if((0,c._)`${d.default.errors} === 0`,()=>t.return(d.default.data),()=>t.throw((0,c._)`new ${i}(${d.default.vErrors})`)):(t.assign((0,c._)`${n}.errors`,d.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof c.Name&&e.assign((0,c._)`${t}.props`,r),n instanceof c.Name&&e.assign((0,c._)`${t}.items`,n)}(e),t.return((0,c._)`${d.default.errors} === 0`))}(e)})}(e):m(e,()=>(0,n.topBoolOrEmptySchema)(e))};class O{constructor(e,t,r){if((0,l.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",I(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,r){this.failResult((0,c.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);let{schemaCode:t}=this;this.fail((0,c._)`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t){this.setParams(t),this._error(e,r),this.setParams({});return}this._error(e,r)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=c.nil){this.gen.block(()=>{this.check$data(e,r),t()})}check$data(e=c.nil,t=c.nil){if(!this.$data)return;let{gen:r,schemaCode:n,schemaType:i,def:s}=this;r.if((0,c.or)((0,c._)`${n} === undefined`,t)),e!==c.nil&&r.assign(e,!0),(i.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&r.assign(e,!1)),r.else()}invalid$data(){let{gen:e,schemaCode:t,schemaType:r,def:n,it:i}=this;return(0,c.or)(function(){if(r.length){if(!(t instanceof c.Name))throw Error("ajv implementation error");let e=Array.isArray(r)?r:[r];return(0,c._)`${(0,a.checkDataTypes)(e,t,i.opts.strictNumbers,a.DataType.Wrong)}`}return c.nil}(),function(){if(n.validateSchema){let r=e.scopeValue("validate$data",{ref:n.validateSchema});return(0,c._)`!${r}(${t})`}return c.nil}())}subschema(e,t){let r=(0,u.getSubschema)(this.it,e);(0,u.extendSubschemaData)(r,this.it,e),(0,u.extendSubschemaMode)(r,e);let i={...this.it,...r,items:void 0,props:void 0};return!function(e,t){if(v(e)&&(b(e),g(e)))return function(e,t){var r;let n,{schema:i,gen:s,opts:a}=e;a.$comment&&i.$comment&&_(e),(n=(r=e).schema[r.opts.schemaId])&&(r.baseId=(0,h.resolveUrl)(r.opts.uriResolver,r.baseId,n)
68),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw Error("async schema in sync schema")}(e);let o=s.const("_errs",d.default.errors);w(e,o),s.var(t,(0,c._)`${o} === ${d.default.errors}`)}(e,t);(0,n.boolOrEmptySchema)(e,t)}(i,t),i}mergeEvaluated(e,t){let{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=f.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=f.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){let{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,()=>this.mergeEvaluated(e,c.Name)),!0}}function j(e,t,r,n){let i=new O(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,l.funcKeywordCode)(i,r):"macro"in r?(0,l.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,l.funcKeywordCode)(i,r)}t.KeywordCxt=O;let P=/^\/(?:[^~]|~0|~1)*$/,A=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function I(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,s;if(""===e)return d.default.rootData;if("/"===e[0]){if(!P.test(e))throw Error(`Invalid JSON-pointer: ${e}`);i=e,s=d.default.rootData}else{let a=A.exec(e);if(!a)throw Error(`Invalid JSON-pointer: ${e}`);let l=+a[1];if("#"===(i=a[2])){if(l>=t)throw Error(o("property/index",l));return n[t-l]}if(l>t)throw Error(o("data",l));if(s=r[t-l],!i)return s}let a=s;for(let e of i.split("/"))e&&(s=(0,c._)`${s}${(0,c.getProperty)((0,f.unescapeJsonPointer)(e))}`,a=(0,c._)`${a} && ${s}`);return a;function o(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=I},95415:(e,t,r)=>{"use strict";r.d(t,{YQ:()=>i,d7:()=>o});var n=r(12115);function i(e,t,r){var i=this,s=(0,n.useRef)(null),a=(0,n.useRef)(0),o=(0,n.useRef)(null),l=(0,n.useRef)([]),u=(0,n.useRef)(),c=(0,n.useRef)(),d=(0,n.useRef)(e),h=(0,n.useRef)(!0);(0,n.useEffect)(function(){d.current=e},[e]);var f=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var p=!!(r=r||{}).leading,m=!("trailing"in r)||!!r.trailing,y="maxWait"in r,g=y?Math.max(+r.maxWait||0,t):null;return(0,n.useEffect)(function(){return h.current=!0,function(){h.current=!1}},[]),(0,n.useMemo)(function(){var e=function(e){var t=l.current,r=u.current;return l.current=u.current=null,a.current=e,c.current=d.current.apply(r,t)},r=function(e,t){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!h.current)return!1;var r=e-s.current;return!s.current||r>=t||r<0||y&&e-a.current>=g},v=function(t){return o.current=null,m&&l.current?e(t):(l.current=u.current=null,c.current)},b=function e(){var i=Date.now();if(n(i))return v(i);if(h.current){var o=t-(i-s.current);r(e,y?Math.min(o,g-(i-a.current)):o)}},w=function(){var d=Date.now(),f=n(d);if(l.current=[].slice.call(arguments),u.current=i,s.current=d,f){if(!o.current&&h.current)return a.current=s.current,r(b,t),p?e(s.current):c.current;if(y)return r(b,t),e(s.current)}return o.current||r(b,t),c.current};return w.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),a.current=0,l.current=s.current=u.current=o.current=null},w.isPending=function(){return!!o.current},w.flush=function(){return o.current?v(Date.now()):c.current},w},[p,y,t,g,m,f])}function s(e,t){return e===t}function a(e){return"function"==typeof e?function(){return e}:e}function o(e,t,r){var o,l,u=r&&r.equalityFn||s,c=(l=(o=(0,n.useState)(a(e)))[1],[o[0],(0,n.useCallback)(function(e){return l(a(e))},[])]),d=c[0],h=c[1],f=i((0,n.useCallback)(function(e){return h(e)},[h]),t,r),p=(0,n.useRef)(e);return u(p.current,e)||(f(e),p.current=e),[d,f]}},96797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865);t.default={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>(0,n._)`{propertyName: ${e.propertyName}}`}
68,code(e){let{gen:t,schema:r,data:s,it:a}=e;if((0,i.alwaysValidSchema)(a,r))return;let o=t.name("valid");t.forIn("key",s,r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},o),t.if((0,n.not)(o),()=>{e.error(!0),a.allErrors||t.break()})}),e.ok(o)}}},97026:(e,t,r)=>{"use strict";let n,i;r.d(t,{Nj:()=>T,PM:()=>D,XU:()=>N,uF:()=>R,zM:()=>Q});var s,a,o,l,u,c,d,h,f=r(12115),p=r(57599),m=r(52842),y=r(77790),g=r(17102),v=r(95155),b=r(58690),w=r(77069),_=Object.defineProperty,$=Object.defineProperties,E=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,j=(e,t,r)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))S.call(t,r)&&j(e,r,t[r]);if(k)for(var r of k(t))O.call(t,r)&&j(e,r,t[r]);return e},A=new p.ti,I=(0,f.createContext)(A),C=(0,f.memo)((0,f.forwardRef)(({children:e},t)=>{let[r,n]=(0,f.useState)(0),i=(0,f.useRef)(null),s=(0,f.useRef)(null),a=(0,f.useMemo)(()=>({renderer:{get rendering(){var e;return null!=(e=i.current)?e:Promise.resolve()}},trackRendering(e){i.current||(i.current=new Promise(e=>{s.current=e})),(0,f.startTransition)(()=>{e(),n(e=>e+1)})}}),[]);return(0,m.Es)(()=>{var e;null==(e=s.current)||e.call(s),i.current=null},[e,r]),(0,f.useImperativeHandle)(t,()=>a),null})),M=[void 0,y.bD];function N(e){var t,{children:r,onCollision:n,onBeforeDragStart:i,onDragStart:s,onDragMove:a,onDragOver:o,onDragEnd:l}=e,u=((e,t)=>{var r={};for(var n in e)S.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&k)for(var n of k(e))0>t.indexOf(n)&&O.call(e,n)&&(r[n]=e[n]);return r})(e,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let c=(0,f.useRef)(null),[d,h]=(0,f.useState)(null!=(t=u.manager)?t:null),{plugins:y,modifiers:g,sensors:b}=u,w=(0,m.FT)(i),_=(0,m.FT)(s),$=(0,m.FT)(o),E=(0,m.FT)(a),j=(0,m.FT)(l),P=(0,m.FT)(n);return(0,f.useEffect)(()=>{var e;if(!c.current)throw Error("Renderer not found");let{renderer:t,trackRendering:r}=c.current,n=null!=(e=u.manager)?e:new p.ti(u);return n.renderer=t,n.monitor.addEventListener("beforedragstart",e=>{let t=w.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragstart",e=>{var t;return null==(t=_.current)?void 0:t.call(_,e,n)}),n.monitor.addEventListener("dragover",e=>{let t=$.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragmove",e=>{let t=E.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("dragend",e=>{let t=j.current;t&&r(()=>t(e,n))}),n.monitor.addEventListener("collision",e=>{var t;return null==(t=P.current)?void 0:t.call(P,e,n)}),(0,f.startTransition)(()=>h(n)),n.destroy},[u.manager]),(0,m.CH)(y,()=>d&&(d.plugins=null!=y?y:p.FS.plugins),...M),(0,m.CH)(b,()=>d&&(d.sensors=null!=b?b:p.FS.sensors),...M),(0,m.CH)(g,()=>d&&(d.modifiers=null!=g?g:p.FS.modifiers),...M),(0,v.jsxs)(I.Provider,{value:d,children:[(0,v.jsx)(C,{ref:c,children:r}),r]})}function R(){return(0,f.useContext)(I)}function T(e){var t;let r=null!=(t=R())?t:void 0,[n]=(0,f.useState)(()=>e(r));return n.manager!==r&&(n.manager=r),(0,m.Es)(n.register,[r,n]),n}function D(e){let{disabled:t,data:r,element:n,handle:i,id:s,modifiers:a,sensors:o}=e,l=T(t=>new p.sx($(P({},e),E({register:!1,handle:(0,b.b)(i),element:(0,b.b)(n)})),t)),u=(0,m.MS)(l,z);return(0,m.CH)(s,()=>l.id=s),(0,m.T_)(i,e=>l.handle=e),(0,m.T_)(n,e=>l.element=e),(0,m.CH)(r,()=>r&&(l.data=r)),(0,m.CH)(t,()=>l.disabled=!0===t),(0,m.CH)(o,()=>l.sensors=o),(0,m.CH)(a,()=>l.modifiers=a,void 0,y.bD),(0,m.CH)(e.feedback,()=>{var t;return l.feedback=null!=(t=e.feedback)?t:"default"}),(0,m.CH)(e.alignment,()=>l.alignment=e.alignment),{draggable:u,get isDragging(){return u.isDragging},get isDropping(){return u.isDropping},get isDragSource(){return u.isDragSource},handleRef:(0,f.useCallback)(e=>{l.handle=null!=e?e:void 0},[l]),ref:(0,f.useCallback)(e=>{var t,r;(e||null==(t=l.element)||!t.isConnected||(null==(r=l.manager)?void 0:r.dragOperation.status.idle))&&(l.element=null!=e?e:void 0)},[l])}}function z(e,t,r){return"isDragSource"===e&&!r&&!!t}var L=Object.create,Y=Object.defineProperty,B=Object.getOwnPropertyDescriptor,U=(e,t)=>
68(t=Symbol[e])?t:Symbol.for("Symbol."+e),F=e=>{throw TypeError(e)},q=["class","method","getter","setter","accessor","field","value","get","set"],V=e=>void 0!==e&&"function"!=typeof e?F("Function expected"):e,W=(e,t,r,n,i)=>({kind:q[e],name:t,metadata:n,addInitializer:e=>r._?F("Already initialized"):i.push(V(e||null))}),K=(e,t,r,n,i,s)=>{for(var a,o,l,u=7&t,c=q[u+5],d=e[2]||(e[2]=[]),h=B(i=i.prototype,r),f=n.length-1;f>=0;f--)(l=W(u,r,o={},e[3],d)).static=!1,l.private=!1,(l.access={has:e=>r in e}).get=e=>e[r],a=(0,n[f])(h[c],l),o._=1,V(a)&&(h[c]=a);return h&&Y(i,r,h),i},H=(e,t,r)=>t.has(e)||F("Cannot "+r),G=class e{constructor(e,t){this.x=e,this.y=t}static delta(t,r){return new e(t.x-r.x,t.y-r.y)}static distance(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}static equals(e,t){return e.x===t.x&&e.y===t.y}static from({x:t,y:r}){return new e(t,r)}},Z=class extends(c=y.Wf,u=[y.un],l=[y.un],c){constructor(e){super(G.from(e),(e,t)=>G.equals(e,t)),((e,t,r,n)=>{for(var i=0,s=e[t>>1],a=s&&s.length;i<a;i++)s[i].call(r)})(h,5,this),((e,t,r)=>t.has(e)?F("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r))(this,d,0),this.velocity={x:0,y:0}}get delta(){return G.delta(this.current,this.initial)}get direction(){let{current:e,previous:t}=this;if(!t)return null;let r={x:e.x-t.x,y:e.y-t.y};return r.x||r.y?Math.abs(r.x)>Math.abs(r.y)?r.x>0?"right":"left":r.y>0?"down":"up":null}get current(){return super.current}set current(e){let t,{current:r}=this,n=G.from(e),i={x:n.x-r.x,y:n.y-r.y},s=Date.now(),a=s-(H(this,t=d,"read from private field"),t.get(this)),o=e=>Math.round(e/a*100);(0,g.vA)(()=>{let e;H(this,e=d,"write to private field"),e.set(this,s),this.velocity={x:o(i.x),y:o(i.y)},super.current=n})}reset(e=this.defaultValue){super.reset(G.from(e)),this.velocity={x:0,y:0}}};h=[,,,L(null!=(s=null==c?void 0:c[U("metadata")])?s:null)],d=new WeakMap,K(h,2,"delta",u,Z),K(h,2,"direction",l,Z),a=h,n=U("metadata"),i=a[3],n in Z?Y(Z,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):Z[n]=i;var X=((o=X||{}).Horizontal="x",o.Vertical="y",o);Object.values(X);var J=e=>{var t;return null!=(t=(({dragOperation:e,droppable:t})=>{let r=e.position.current;if(!r)return null;let{id:n}=t;return t.shape&&t.shape.containsPoint(r)?{id:n,value:1/G.distance(t.shape.center,r),type:w.Bp.PointerIntersection,priority:w.zY.High}:null})(e))?t:(({dragOperation:e,droppable:t})=>{let{shape:r}=e;if(!t.shape||!(null==r?void 0:r.current))return null;let n=r.current.intersectionArea(t.shape);if(n){let{position:i}=e,s=G.distance(t.shape.center,i.current),a=n/(r.current.area+t.shape.area-n);return{id:t.id,value:a/s,type:w.Bp.ShapeIntersection,priority:w.zY.Normal}}return null})(e)};function Q(e){let{collisionDetector:t,data:r,disabled:n,element:i,id:s,accept:a,type:o}=e,l=T(t=>new p.gL($(P({},e),E({register:!1,element:(0,b.b)(i)})),t)),u=(0,m.MS)(l);return(0,m.CH)(s,()=>l.id=s),(0,m.T_)(i,e=>l.element=e),(0,m.CH)(a,()=>l.accept=a,void 0,y.bD),(0,m.CH)(t,()=>l.collisionDetector=null!=t?t:J),(0,m.CH)(r,()=>r&&(l.data=r)),(0,m.CH)(n,()=>l.disabled=!0===n),(0,m.CH)(o,()=>l.type=o),{droppable:u,get isDropTarget(){return u.isDropTarget},ref:(0,f.useCallback)(e=>{var t,r;(e||null==(t=l.element)||!t.isConnected||(null==(r=l.manager)?void 0:r.dragOperation.status.idle))&&(l.element=null!=e?e:void 0)},[l])}}},97067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(3428),i=r(80680),s=r(58766),a=r(97426),o=r(42189),l=r(51867),u=r(20760),c=r(58373);t.default=[a.default,n.default,i.default,(0,s.default)(!0),u.default,c.metadataVocabulary,c.contentVocabulary,o.default,l.default]},97142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(77637),i=r(11865),s=r(7293),a=r(42193);t.default={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>(0,n.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,n._)`{limit: ${e}}`},code(e){let{schema:t,parentSchema:r,it:n}=e,{prefixItems:o}=r;n.items=!0,(0,i.alwaysValidSchema)(n,t)||(o?(0,a.validateAdditionalItems)(e,o):e.ok((0,s.validateArray)(e)))}}},97426:(e,t,r)=>{"use strict";
68Object.defineProperty(t,"__esModule",{value:!0});let n=r(75166),i=r(16848),s=r(29015),a=r(35747);t.default=[n.default,i.default,s.default,a.default]}}]); 69//# sourceMappingURL=98443-b00c4cc6ea56a51e.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.