@shawnjs/a2ui-vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/dist/A2UIAudio-Dk04owGa.cjs +1 -0
- package/dist/A2UIAudio-WmrsVVdB.js +33 -0
- package/dist/A2UIButton-BMHO6K6u.js +35 -0
- package/dist/A2UIButton-DwvJiYmv.cjs +1 -0
- package/dist/A2UICard--_T_isvU.cjs +1 -0
- package/dist/A2UICard-Cq5q3ZgF.js +34 -0
- package/dist/A2UICheckbox-C6okxLrX.js +44 -0
- package/dist/A2UICheckbox-CaRtMj7t.cjs +1 -0
- package/dist/A2UIDateTimeInput-BdcHcmk1.cjs +1 -0
- package/dist/A2UIDateTimeInput-BwL6Ejy1.js +60 -0
- package/dist/A2UIDivider-BB5LjXlM.js +22 -0
- package/dist/A2UIDivider-BGrs9_ef.cjs +1 -0
- package/dist/A2UIIcon-Bcd0cbht.cjs +1 -0
- package/dist/A2UIIcon-C45CAVyd.js +32 -0
- package/dist/A2UIImage-BSUuRZUD.cjs +1 -0
- package/dist/A2UIImage-DFu1Sj-k.js +43 -0
- package/dist/A2UIList-BqdYBWRw.cjs +1 -0
- package/dist/A2UIList-CHIcUerI.js +36 -0
- package/dist/A2UIModal-BF1VvRqK.js +59 -0
- package/dist/A2UIModal-DrlSVixf.cjs +1 -0
- package/dist/A2UIMultipleChoice-BgozRN_k.cjs +1 -0
- package/dist/A2UIMultipleChoice-D0L-7Jol.js +52 -0
- package/dist/A2UISlider--Vdoo1SX.cjs +1 -0
- package/dist/A2UISlider-PkQlrUwf.js +55 -0
- package/dist/A2UITabs-BOBp5yGv.cjs +1 -0
- package/dist/A2UITabs-CfJUet-J.js +47 -0
- package/dist/A2UITextField-78jRsRX-.js +47 -0
- package/dist/A2UITextField-Ba85Y1ag.cjs +1 -0
- package/dist/A2UIVideo-BBH-3hgb.js +32 -0
- package/dist/A2UIVideo-BlJlTrZ9.cjs +1 -0
- package/dist/a2ui-vue.css +1 -0
- package/dist/index-BOrHKsf8.cjs +435 -0
- package/dist/index-BpE-uBH2.js +8060 -0
- package/dist/index.d.ts +104 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +12 -0
- package/package.json +45 -0
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
"use strict";const y=require("vue"),Dr=Symbol("a2ui-config");function Ai(e){y.provide(Dr,e)}function rn(){const e=y.inject(Dr);if(!e)throw new Error("A2UI config not provided. Please call provideA2UI() in a parent component.");return e}function vi(e,u){return e==="path"&&typeof u=="string"}function P(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ci(e){return P(e)?"explicitList"in e||"template"in e:!1}function $e(e){return P(e)&&("path"in e||"literal"in e&&typeof e.literal=="string"||"literalString"in e)}function Ei(e){return P(e)&&("path"in e||"literal"in e&&typeof e.literal=="number"||"literalNumber"in e)}function Di(e){return P(e)&&("path"in e||"literal"in e&&typeof e.literal=="boolean"||"literalBoolean"in e)}function Me(e){return!(!P(e)||!("id"in e&&"type"in e&&"properties"in e))}function wi(e){return P(e)&&"url"in e&&$e(e.url)}function Ti(e){return P(e)&&"child"in e&&Me(e.child)&&"action"in e}function Si(e){return P(e)?"child"in e?Me(e.child):"children"in e?Array.isArray(e.children)&&e.children.every(Me):!1:!1}function Fi(e){return P(e)&&"label"in e&&$e(e.label)&&"value"in e&&Di(e.value)}function Ii(e){return P(e)&&"children"in e&&Array.isArray(e.children)&&e.children.every(Me)}function Ri(e){return P(e)&&"value"in e&&$e(e.value)}function Oi(e){return P(e)}function Mi(e){return P(e)&&"url"in e&&$e(e.url)}function Ni(e){return P(e)&&"name"in e&&$e(e.name)}function Li(e){return P(e)&&"children"in e&&Array.isArray(e.children)&&e.children.every(Me)}function $i(e){return P(e)&&"entryPointChild"in e&&Me(e.entryPointChild)&&"contentChild"in e&&Me(e.contentChild)}function Pi(e){return P(e)&&"selections"in e}function zi(e){return P(e)&&"children"in e&&Array.isArray(e.children)&&e.children.every(Me)}function Bi(e){return P(e)&&"value"in e&&Ei(e.value)}function ji(e){return P(e)&&"title"in e&&$e(e.title)&&"child"in e&&Me(e.child)}function Ui(e){return P(e)&&"tabItems"in e&&Array.isArray(e.tabItems)&&e.tabItems.every(ji)}function qi(e){return P(e)&&"text"in e&&$e(e.text)}function Zi(e){return P(e)&&"label"in e&&$e(e.label)}function Vi(e){return P(e)&&"url"in e&&$e(e.url)}var z;(function(e){e.assertEqual=r=>{};function u(r){}e.assertIs=u;function t(r){throw new Error}e.assertNever=t,e.arrayToEnum=r=>{const i={};for(const a of r)i[a]=a;return i},e.getValidEnumValues=r=>{const i=e.objectKeys(r).filter(o=>typeof r[r[o]]!="number"),a={};for(const o of i)a[o]=r[o];return e.objectValues(a)},e.objectValues=r=>e.objectKeys(r).map(function(i){return r[i]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{const i=[];for(const a in r)Object.prototype.hasOwnProperty.call(r,a)&&i.push(a);return i},e.find=(r,i)=>{for(const a of r)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&Number.isFinite(r)&&Math.floor(r)===r;function n(r,i=" | "){return r.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=n,e.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(z||(z={}));var Bn;(function(e){e.mergeShapes=(u,t)=>({...u,...t})})(Bn||(Bn={}));const k=z.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Be=e=>{switch(typeof e){case"undefined":return k.undefined;case"string":return k.string;case"number":return Number.isNaN(e)?k.nan:k.number;case"boolean":return k.boolean;case"function":return k.function;case"bigint":return k.bigint;case"symbol":return k.symbol;case"object":return Array.isArray(e)?k.array:e===null?k.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?k.promise:typeof Map<"u"&&e instanceof Map?k.map:typeof Set<"u"&&e instanceof Set?k.set:typeof Date<"u"&&e instanceof Date?k.date:k.object;default:return k.unknown}},b=z.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Ne extends Error{get errors(){return this.issues}constructor(u){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=u}format(u){const t=u||function(i){return i.message},n={_errors:[]},r=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(r);else if(a.code==="invalid_return_type")r(a.returnTypeError);else if(a.code==="invalid_arguments")r(a.argumentsError);else if(a.path.length===0)n._errors.push(t(a));else{let o=n,s=0;for(;s<a.path.length;){const c=a.path[s];s===a.path.length-1?(o[c]=o[c]||{_errors:[]},o[c]._errors.push(t(a))):o[c]=o[c]||{_errors:[]},o=o[c],s++}}};return r(this),n}static assert(u){if(!(u instanceof Ne))throw new Error(`Not a ZodError: ${u}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,z.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(u=t=>t.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const i=r.path[0];t[i]=t[i]||[],t[i].push(u(r))}else n.push(u(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}Ne.create=e=>new Ne(e);const Zt=(e,u)=>{let t;switch(e.code){case b.invalid_type:e.received===k.undefined?t="Required":t=`Expected ${e.expected}, received ${e.received}`;break;case b.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(e.expected,z.jsonStringifyReplacer)}`;break;case b.unrecognized_keys:t=`Unrecognized key(s) in object: ${z.joinValues(e.keys,", ")}`;break;case b.invalid_union:t="Invalid input";break;case b.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${z.joinValues(e.options)}`;break;case b.invalid_enum_value:t=`Invalid enum value. Expected ${z.joinValues(e.options)}, received '${e.received}'`;break;case b.invalid_arguments:t="Invalid function arguments";break;case b.invalid_return_type:t="Invalid function return type";break;case b.invalid_date:t="Invalid date";break;case b.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(t=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?t=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?t=`Invalid input: must end with "${e.validation.endsWith}"`:z.assertNever(e.validation):e.validation!=="regex"?t=`Invalid ${e.validation}`:t="Invalid";break;case b.too_small:e.type==="array"?t=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?t=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?t=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?t=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?t=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:t="Invalid input";break;case b.too_big:e.type==="array"?t=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?t=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?t=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?t=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?t=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:t="Invalid input";break;case b.custom:t="Invalid input";break;case b.invalid_intersection_types:t="Intersection results could not be merged";break;case b.not_multiple_of:t=`Number must be a multiple of ${e.multipleOf}`;break;case b.not_finite:t="Number must be finite";break;default:t=u.defaultError,z.assertNever(e)}return{message:t}};let Hi=Zt;function Wi(){return Hi}const Gi=e=>{const{data:u,path:t,errorMaps:n,issueData:r}=e,i=[...t,...r.path||[]],a={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let o="";const s=n.filter(c=>!!c).slice().reverse();for(const c of s)o=c(a,{data:u,defaultError:o}).message;return{...r,path:i,message:o}};function _(e,u){const t=Wi(),n=Gi({issueData:u,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,t,t===Zt?void 0:Zt].filter(r=>!!r)});e.common.issues.push(n)}class le{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(u,t){const n=[];for(const r of t){if(r.status==="aborted")return S;r.status==="dirty"&&u.dirty(),n.push(r.value)}return{status:u.value,value:n}}static async mergeObjectAsync(u,t){const n=[];for(const r of t){const i=await r.key,a=await r.value;n.push({key:i,value:a})}return le.mergeObjectSync(u,n)}static mergeObjectSync(u,t){const n={};for(const r of t){const{key:i,value:a}=r;if(i.status==="aborted"||a.status==="aborted")return S;i.status==="dirty"&&u.dirty(),a.status==="dirty"&&u.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||r.alwaysSet)&&(n[i.value]=a.value)}return{status:u.value,value:n}}}const S=Object.freeze({status:"aborted"}),Su=e=>({status:"dirty",value:e}),me=e=>({status:"valid",value:e}),jn=e=>e.status==="aborted",Un=e=>e.status==="dirty",du=e=>e.status==="valid",ut=e=>typeof Promise<"u"&&e instanceof Promise;var v;(function(e){e.errToObj=u=>typeof u=="string"?{message:u}:u||{},e.toString=u=>typeof u=="string"?u:u?.message})(v||(v={}));class He{constructor(u,t,n,r){this._cachedPath=[],this.parent=u,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const qn=(e,u)=>{if(du(u))return{success:!0,data:u.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new Ne(e.common.issues);return this._error=t,this._error}}};function N(e){if(!e)return{};const{errorMap:u,invalid_type_error:t,required_error:n,description:r}=e;if(u&&(t||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return u?{errorMap:u,description:r}:{errorMap:(a,o)=>{const{message:s}=e;return a.code==="invalid_enum_value"?{message:s??o.defaultError}:typeof o.data>"u"?{message:s??n??o.defaultError}:a.code!=="invalid_type"?{message:o.defaultError}:{message:s??t??o.defaultError}},description:r}}class ${get description(){return this._def.description}_getType(u){return Be(u.data)}_getOrReturnCtx(u,t){return t||{common:u.parent.common,data:u.data,parsedType:Be(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}_processInputParams(u){return{status:new le,ctx:{common:u.parent.common,data:u.data,parsedType:Be(u.data),schemaErrorMap:this._def.errorMap,path:u.path,parent:u.parent}}}_parseSync(u){const t=this._parse(u);if(ut(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(u){const t=this._parse(u);return Promise.resolve(t)}parse(u,t){const n=this.safeParse(u,t);if(n.success)return n.data;throw n.error}safeParse(u,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:Be(u)},r=this._parseSync({data:u,path:n.path,parent:n});return qn(n,r)}"~validate"(u){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:Be(u)};if(!this["~standard"].async)try{const n=this._parseSync({data:u,path:[],parent:t});return du(n)?{value:n.value}:{issues:t.common.issues}}catch(n){n?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:u,path:[],parent:t}).then(n=>du(n)?{value:n.value}:{issues:t.common.issues})}async parseAsync(u,t){const n=await this.safeParseAsync(u,t);if(n.success)return n.data;throw n.error}async safeParseAsync(u,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:u,parsedType:Be(u)},r=this._parse({data:u,path:n.path,parent:n}),i=await(ut(r)?r:Promise.resolve(r));return qn(n,i)}refine(u,t){const n=r=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(r):t;return this._refinement((r,i)=>{const a=u(r),o=()=>i.addIssue({code:b.custom,...n(r)});return typeof Promise<"u"&&a instanceof Promise?a.then(s=>s?!0:(o(),!1)):a?!0:(o(),!1)})}refinement(u,t){return this._refinement((n,r)=>u(n)?!0:(r.addIssue(typeof t=="function"?t(n,r):t),!1))}_refinement(u){return new pu({schema:this,typeName:F.ZodEffects,effect:{type:"refinement",refinement:u}})}superRefine(u){return this._refinement(u)}constructor(u){this.spa=this.safeParseAsync,this._def=u,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return Ve.create(this,this._def)}nullable(){return mu.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return De.create(this)}promise(){return it.create(this,this._def)}or(u){return nt.create([this,u],this._def)}and(u){return rt.create(this,u,this._def)}transform(u){return new pu({...N(this._def),schema:this,typeName:F.ZodEffects,effect:{type:"transform",transform:u}})}default(u){const t=typeof u=="function"?u:()=>u;return new Yt({...N(this._def),innerType:this,defaultValue:t,typeName:F.ZodDefault})}brand(){return new ga({typeName:F.ZodBranded,type:this,...N(this._def)})}catch(u){const t=typeof u=="function"?u:()=>u;return new Kt({...N(this._def),innerType:this,catchValue:t,typeName:F.ZodCatch})}describe(u){const t=this.constructor;return new t({...this._def,description:u})}pipe(u){return an.create(this,u)}readonly(){return Jt.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Yi=/^c[^\s-]{8,}$/i,Ki=/^[0-9a-z]+$/,Ji=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Xi=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Qi=/^[a-z0-9_-]{21}$/i,ea=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,ua=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ta=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,na="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Tt;const ra=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ia=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,aa=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,oa=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,sa=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ca=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,wr="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",la=new RegExp(`^${wr}$`);function Tr(e){let u="[0-5]\\d";e.precision?u=`${u}\\.\\d{${e.precision}}`:e.precision==null&&(u=`${u}(\\.\\d+)?`);const t=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${u})${t}`}function da(e){return new RegExp(`^${Tr(e)}$`)}function fa(e){let u=`${wr}T${Tr(e)}`;const t=[];return t.push(e.local?"Z?":"Z"),e.offset&&t.push("([+-]\\d{2}:?\\d{2})"),u=`${u}(${t.join("|")})`,new RegExp(`^${u}$`)}function ha(e,u){return!!((u==="v4"||!u)&&ra.test(e)||(u==="v6"||!u)&&aa.test(e))}function pa(e,u){if(!ea.test(e))return!1;try{const[t]=e.split(".");if(!t)return!1;const n=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"="),r=JSON.parse(atob(n));return!(typeof r!="object"||r===null||"typ"in r&&r?.typ!=="JWT"||!r.alg||u&&r.alg!==u)}catch{return!1}}function ma(e,u){return!!((u==="v4"||!u)&&ia.test(e)||(u==="v6"||!u)&&oa.test(e))}class qe extends ${_parse(u){if(this._def.coerce&&(u.data=String(u.data)),this._getType(u)!==k.string){const i=this._getOrReturnCtx(u);return _(i,{code:b.invalid_type,expected:k.string,received:i.parsedType}),S}const n=new le;let r;for(const i of this._def.checks)if(i.kind==="min")u.data.length<i.value&&(r=this._getOrReturnCtx(u,r),_(r,{code:b.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="max")u.data.length>i.value&&(r=this._getOrReturnCtx(u,r),_(r,{code:b.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if(i.kind==="length"){const a=u.data.length>i.value,o=u.data.length<i.value;(a||o)&&(r=this._getOrReturnCtx(u,r),a?_(r,{code:b.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):o&&_(r,{code:b.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if(i.kind==="email")ta.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"email",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="emoji")Tt||(Tt=new RegExp(na,"u")),Tt.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"emoji",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="uuid")Xi.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"uuid",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="nanoid")Qi.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"nanoid",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid")Yi.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"cuid",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="cuid2")Ki.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"cuid2",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="ulid")Ji.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"ulid",code:b.invalid_string,message:i.message}),n.dirty());else if(i.kind==="url")try{new URL(u.data)}catch{r=this._getOrReturnCtx(u,r),_(r,{validation:"url",code:b.invalid_string,message:i.message}),n.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"regex",code:b.invalid_string,message:i.message}),n.dirty())):i.kind==="trim"?u.data=u.data.trim():i.kind==="includes"?u.data.includes(i.value,i.position)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):i.kind==="toLowerCase"?u.data=u.data.toLowerCase():i.kind==="toUpperCase"?u.data=u.data.toUpperCase():i.kind==="startsWith"?u.data.startsWith(i.value)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):i.kind==="endsWith"?u.data.endsWith(i.value)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):i.kind==="datetime"?fa(i).test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:"datetime",message:i.message}),n.dirty()):i.kind==="date"?la.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:"date",message:i.message}),n.dirty()):i.kind==="time"?da(i).test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{code:b.invalid_string,validation:"time",message:i.message}),n.dirty()):i.kind==="duration"?ua.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"duration",code:b.invalid_string,message:i.message}),n.dirty()):i.kind==="ip"?ha(u.data,i.version)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"ip",code:b.invalid_string,message:i.message}),n.dirty()):i.kind==="jwt"?pa(u.data,i.alg)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"jwt",code:b.invalid_string,message:i.message}),n.dirty()):i.kind==="cidr"?ma(u.data,i.version)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"cidr",code:b.invalid_string,message:i.message}),n.dirty()):i.kind==="base64"?sa.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"base64",code:b.invalid_string,message:i.message}),n.dirty()):i.kind==="base64url"?ca.test(u.data)||(r=this._getOrReturnCtx(u,r),_(r,{validation:"base64url",code:b.invalid_string,message:i.message}),n.dirty()):z.assertNever(i);return{status:n.value,value:u.data}}_regex(u,t,n){return this.refinement(r=>u.test(r),{validation:t,code:b.invalid_string,...v.errToObj(n)})}_addCheck(u){return new qe({...this._def,checks:[...this._def.checks,u]})}email(u){return this._addCheck({kind:"email",...v.errToObj(u)})}url(u){return this._addCheck({kind:"url",...v.errToObj(u)})}emoji(u){return this._addCheck({kind:"emoji",...v.errToObj(u)})}uuid(u){return this._addCheck({kind:"uuid",...v.errToObj(u)})}nanoid(u){return this._addCheck({kind:"nanoid",...v.errToObj(u)})}cuid(u){return this._addCheck({kind:"cuid",...v.errToObj(u)})}cuid2(u){return this._addCheck({kind:"cuid2",...v.errToObj(u)})}ulid(u){return this._addCheck({kind:"ulid",...v.errToObj(u)})}base64(u){return this._addCheck({kind:"base64",...v.errToObj(u)})}base64url(u){return this._addCheck({kind:"base64url",...v.errToObj(u)})}jwt(u){return this._addCheck({kind:"jwt",...v.errToObj(u)})}ip(u){return this._addCheck({kind:"ip",...v.errToObj(u)})}cidr(u){return this._addCheck({kind:"cidr",...v.errToObj(u)})}datetime(u){return typeof u=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:u}):this._addCheck({kind:"datetime",precision:typeof u?.precision>"u"?null:u?.precision,offset:u?.offset??!1,local:u?.local??!1,...v.errToObj(u?.message)})}date(u){return this._addCheck({kind:"date",message:u})}time(u){return typeof u=="string"?this._addCheck({kind:"time",precision:null,message:u}):this._addCheck({kind:"time",precision:typeof u?.precision>"u"?null:u?.precision,...v.errToObj(u?.message)})}duration(u){return this._addCheck({kind:"duration",...v.errToObj(u)})}regex(u,t){return this._addCheck({kind:"regex",regex:u,...v.errToObj(t)})}includes(u,t){return this._addCheck({kind:"includes",value:u,position:t?.position,...v.errToObj(t?.message)})}startsWith(u,t){return this._addCheck({kind:"startsWith",value:u,...v.errToObj(t)})}endsWith(u,t){return this._addCheck({kind:"endsWith",value:u,...v.errToObj(t)})}min(u,t){return this._addCheck({kind:"min",value:u,...v.errToObj(t)})}max(u,t){return this._addCheck({kind:"max",value:u,...v.errToObj(t)})}length(u,t){return this._addCheck({kind:"length",value:u,...v.errToObj(t)})}nonempty(u){return this.min(1,v.errToObj(u))}trim(){return new qe({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new qe({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new qe({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(u=>u.kind==="datetime")}get isDate(){return!!this._def.checks.find(u=>u.kind==="date")}get isTime(){return!!this._def.checks.find(u=>u.kind==="time")}get isDuration(){return!!this._def.checks.find(u=>u.kind==="duration")}get isEmail(){return!!this._def.checks.find(u=>u.kind==="email")}get isURL(){return!!this._def.checks.find(u=>u.kind==="url")}get isEmoji(){return!!this._def.checks.find(u=>u.kind==="emoji")}get isUUID(){return!!this._def.checks.find(u=>u.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(u=>u.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(u=>u.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(u=>u.kind==="cuid2")}get isULID(){return!!this._def.checks.find(u=>u.kind==="ulid")}get isIP(){return!!this._def.checks.find(u=>u.kind==="ip")}get isCIDR(){return!!this._def.checks.find(u=>u.kind==="cidr")}get isBase64(){return!!this._def.checks.find(u=>u.kind==="base64")}get isBase64url(){return!!this._def.checks.find(u=>u.kind==="base64url")}get minLength(){let u=null;for(const t of this._def.checks)t.kind==="min"&&(u===null||t.value>u)&&(u=t.value);return u}get maxLength(){let u=null;for(const t of this._def.checks)t.kind==="max"&&(u===null||t.value<u)&&(u=t.value);return u}}qe.create=e=>new qe({checks:[],typeName:F.ZodString,coerce:e?.coerce??!1,...N(e)});function ba(e,u){const t=(e.toString().split(".")[1]||"").length,n=(u.toString().split(".")[1]||"").length,r=t>n?t:n,i=Number.parseInt(e.toFixed(r).replace(".","")),a=Number.parseInt(u.toFixed(r).replace(".",""));return i%a/10**r}class fu extends ${constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(u){if(this._def.coerce&&(u.data=Number(u.data)),this._getType(u)!==k.number){const i=this._getOrReturnCtx(u);return _(i,{code:b.invalid_type,expected:k.number,received:i.parsedType}),S}let n;const r=new le;for(const i of this._def.checks)i.kind==="int"?z.isInteger(u.data)||(n=this._getOrReturnCtx(u,n),_(n,{code:b.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?u.data<i.value:u.data<=i.value)&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?u.data>i.value:u.data>=i.value)&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?ba(u.data,i.value)!==0&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(u.data)||(n=this._getOrReturnCtx(u,n),_(n,{code:b.not_finite,message:i.message}),r.dirty()):z.assertNever(i);return{status:r.value,value:u.data}}gte(u,t){return this.setLimit("min",u,!0,v.toString(t))}gt(u,t){return this.setLimit("min",u,!1,v.toString(t))}lte(u,t){return this.setLimit("max",u,!0,v.toString(t))}lt(u,t){return this.setLimit("max",u,!1,v.toString(t))}setLimit(u,t,n,r){return new fu({...this._def,checks:[...this._def.checks,{kind:u,value:t,inclusive:n,message:v.toString(r)}]})}_addCheck(u){return new fu({...this._def,checks:[...this._def.checks,u]})}int(u){return this._addCheck({kind:"int",message:v.toString(u)})}positive(u){return this._addCheck({kind:"min",value:0,inclusive:!1,message:v.toString(u)})}negative(u){return this._addCheck({kind:"max",value:0,inclusive:!1,message:v.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:0,inclusive:!0,message:v.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:0,inclusive:!0,message:v.toString(u)})}multipleOf(u,t){return this._addCheck({kind:"multipleOf",value:u,message:v.toString(t)})}finite(u){return this._addCheck({kind:"finite",message:v.toString(u)})}safe(u){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:v.toString(u)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:v.toString(u)})}get minValue(){let u=null;for(const t of this._def.checks)t.kind==="min"&&(u===null||t.value>u)&&(u=t.value);return u}get maxValue(){let u=null;for(const t of this._def.checks)t.kind==="max"&&(u===null||t.value<u)&&(u=t.value);return u}get isInt(){return!!this._def.checks.find(u=>u.kind==="int"||u.kind==="multipleOf"&&z.isInteger(u.value))}get isFinite(){let u=null,t=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(u===null||n.value<u)&&(u=n.value)}return Number.isFinite(t)&&Number.isFinite(u)}}fu.create=e=>new fu({checks:[],typeName:F.ZodNumber,coerce:e?.coerce||!1,...N(e)});class Ru extends ${constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(u){if(this._def.coerce)try{u.data=BigInt(u.data)}catch{return this._getInvalidInput(u)}if(this._getType(u)!==k.bigint)return this._getInvalidInput(u);let n;const r=new le;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?u.data<i.value:u.data<=i.value)&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="max"?(i.inclusive?u.data>i.value:u.data>=i.value)&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?u.data%i.value!==BigInt(0)&&(n=this._getOrReturnCtx(u,n),_(n,{code:b.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):z.assertNever(i);return{status:r.value,value:u.data}}_getInvalidInput(u){const t=this._getOrReturnCtx(u);return _(t,{code:b.invalid_type,expected:k.bigint,received:t.parsedType}),S}gte(u,t){return this.setLimit("min",u,!0,v.toString(t))}gt(u,t){return this.setLimit("min",u,!1,v.toString(t))}lte(u,t){return this.setLimit("max",u,!0,v.toString(t))}lt(u,t){return this.setLimit("max",u,!1,v.toString(t))}setLimit(u,t,n,r){return new Ru({...this._def,checks:[...this._def.checks,{kind:u,value:t,inclusive:n,message:v.toString(r)}]})}_addCheck(u){return new Ru({...this._def,checks:[...this._def.checks,u]})}positive(u){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:v.toString(u)})}negative(u){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:v.toString(u)})}nonpositive(u){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:v.toString(u)})}nonnegative(u){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:v.toString(u)})}multipleOf(u,t){return this._addCheck({kind:"multipleOf",value:u,message:v.toString(t)})}get minValue(){let u=null;for(const t of this._def.checks)t.kind==="min"&&(u===null||t.value>u)&&(u=t.value);return u}get maxValue(){let u=null;for(const t of this._def.checks)t.kind==="max"&&(u===null||t.value<u)&&(u=t.value);return u}}Ru.create=e=>new Ru({checks:[],typeName:F.ZodBigInt,coerce:e?.coerce??!1,...N(e)});class Vt extends ${_parse(u){if(this._def.coerce&&(u.data=!!u.data),this._getType(u)!==k.boolean){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.boolean,received:n.parsedType}),S}return me(u.data)}}Vt.create=e=>new Vt({typeName:F.ZodBoolean,coerce:e?.coerce||!1,...N(e)});class tt extends ${_parse(u){if(this._def.coerce&&(u.data=new Date(u.data)),this._getType(u)!==k.date){const i=this._getOrReturnCtx(u);return _(i,{code:b.invalid_type,expected:k.date,received:i.parsedType}),S}if(Number.isNaN(u.data.getTime())){const i=this._getOrReturnCtx(u);return _(i,{code:b.invalid_date}),S}const n=new le;let r;for(const i of this._def.checks)i.kind==="min"?u.data.getTime()<i.value&&(r=this._getOrReturnCtx(u,r),_(r,{code:b.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):i.kind==="max"?u.data.getTime()>i.value&&(r=this._getOrReturnCtx(u,r),_(r,{code:b.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):z.assertNever(i);return{status:n.value,value:new Date(u.data.getTime())}}_addCheck(u){return new tt({...this._def,checks:[...this._def.checks,u]})}min(u,t){return this._addCheck({kind:"min",value:u.getTime(),message:v.toString(t)})}max(u,t){return this._addCheck({kind:"max",value:u.getTime(),message:v.toString(t)})}get minDate(){let u=null;for(const t of this._def.checks)t.kind==="min"&&(u===null||t.value>u)&&(u=t.value);return u!=null?new Date(u):null}get maxDate(){let u=null;for(const t of this._def.checks)t.kind==="max"&&(u===null||t.value<u)&&(u=t.value);return u!=null?new Date(u):null}}tt.create=e=>new tt({checks:[],coerce:e?.coerce||!1,typeName:F.ZodDate,...N(e)});class Zn extends ${_parse(u){if(this._getType(u)!==k.symbol){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.symbol,received:n.parsedType}),S}return me(u.data)}}Zn.create=e=>new Zn({typeName:F.ZodSymbol,...N(e)});class Vn extends ${_parse(u){if(this._getType(u)!==k.undefined){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.undefined,received:n.parsedType}),S}return me(u.data)}}Vn.create=e=>new Vn({typeName:F.ZodUndefined,...N(e)});class Hn extends ${_parse(u){if(this._getType(u)!==k.null){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.null,received:n.parsedType}),S}return me(u.data)}}Hn.create=e=>new Hn({typeName:F.ZodNull,...N(e)});class Ht extends ${constructor(){super(...arguments),this._any=!0}_parse(u){return me(u.data)}}Ht.create=e=>new Ht({typeName:F.ZodAny,...N(e)});class Wn extends ${constructor(){super(...arguments),this._unknown=!0}_parse(u){return me(u.data)}}Wn.create=e=>new Wn({typeName:F.ZodUnknown,...N(e)});class We extends ${_parse(u){const t=this._getOrReturnCtx(u);return _(t,{code:b.invalid_type,expected:k.never,received:t.parsedType}),S}}We.create=e=>new We({typeName:F.ZodNever,...N(e)});class Gn extends ${_parse(u){if(this._getType(u)!==k.undefined){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.void,received:n.parsedType}),S}return me(u.data)}}Gn.create=e=>new Gn({typeName:F.ZodVoid,...N(e)});class De extends ${_parse(u){const{ctx:t,status:n}=this._processInputParams(u),r=this._def;if(t.parsedType!==k.array)return _(t,{code:b.invalid_type,expected:k.array,received:t.parsedType}),S;if(r.exactLength!==null){const a=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(a||o)&&(_(t,{code:a?b.too_big:b.too_small,minimum:o?r.exactLength.value:void 0,maximum:a?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(r.minLength!==null&&t.data.length<r.minLength.value&&(_(t,{code:b.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),r.maxLength!==null&&t.data.length>r.maxLength.value&&(_(t,{code:b.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((a,o)=>r.type._parseAsync(new He(t,a,t.path,o)))).then(a=>le.mergeArray(n,a));const i=[...t.data].map((a,o)=>r.type._parseSync(new He(t,a,t.path,o)));return le.mergeArray(n,i)}get element(){return this._def.type}min(u,t){return new De({...this._def,minLength:{value:u,message:v.toString(t)}})}max(u,t){return new De({...this._def,maxLength:{value:u,message:v.toString(t)}})}length(u,t){return new De({...this._def,exactLength:{value:u,message:v.toString(t)}})}nonempty(u){return this.min(1,u)}}De.create=(e,u)=>new De({type:e,minLength:null,maxLength:null,exactLength:null,typeName:F.ZodArray,...N(u)});function cu(e){if(e instanceof V){const u={};for(const t in e.shape){const n=e.shape[t];u[t]=Ve.create(cu(n))}return new V({...e._def,shape:()=>u})}else return e instanceof De?new De({...e._def,type:cu(e.element)}):e instanceof Ve?Ve.create(cu(e.unwrap())):e instanceof mu?mu.create(cu(e.unwrap())):e instanceof Xe?Xe.create(e.items.map(u=>cu(u))):e}class V extends ${constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const u=this._def.shape(),t=z.objectKeys(u);return this._cached={shape:u,keys:t},this._cached}_parse(u){if(this._getType(u)!==k.object){const c=this._getOrReturnCtx(u);return _(c,{code:b.invalid_type,expected:k.object,received:c.parsedType}),S}const{status:n,ctx:r}=this._processInputParams(u),{shape:i,keys:a}=this._getCached(),o=[];if(!(this._def.catchall instanceof We&&this._def.unknownKeys==="strip"))for(const c in r.data)a.includes(c)||o.push(c);const s=[];for(const c of a){const l=i[c],f=r.data[c];s.push({key:{status:"valid",value:c},value:l._parse(new He(r,f,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof We){const c=this._def.unknownKeys;if(c==="passthrough")for(const l of o)s.push({key:{status:"valid",value:l},value:{status:"valid",value:r.data[l]}});else if(c==="strict")o.length>0&&(_(r,{code:b.unrecognized_keys,keys:o}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const l of o){const f=r.data[l];s.push({key:{status:"valid",value:l},value:c._parse(new He(r,f,r.path,l)),alwaysSet:l in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const c=[];for(const l of s){const f=await l.key,h=await l.value;c.push({key:f,value:h,alwaysSet:l.alwaysSet})}return c}).then(c=>le.mergeObjectSync(n,c)):le.mergeObjectSync(n,s)}get shape(){return this._def.shape()}strict(u){return v.errToObj,new V({...this._def,unknownKeys:"strict",...u!==void 0?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return t.code==="unrecognized_keys"?{message:v.errToObj(u).message??r}:{message:r}}}:{}})}strip(){return new V({...this._def,unknownKeys:"strip"})}passthrough(){return new V({...this._def,unknownKeys:"passthrough"})}extend(u){return new V({...this._def,shape:()=>({...this._def.shape(),...u})})}merge(u){return new V({unknownKeys:u._def.unknownKeys,catchall:u._def.catchall,shape:()=>({...this._def.shape(),...u._def.shape()}),typeName:F.ZodObject})}setKey(u,t){return this.augment({[u]:t})}catchall(u){return new V({...this._def,catchall:u})}pick(u){const t={};for(const n of z.objectKeys(u))u[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new V({...this._def,shape:()=>t})}omit(u){const t={};for(const n of z.objectKeys(this.shape))u[n]||(t[n]=this.shape[n]);return new V({...this._def,shape:()=>t})}deepPartial(){return cu(this)}partial(u){const t={};for(const n of z.objectKeys(this.shape)){const r=this.shape[n];u&&!u[n]?t[n]=r:t[n]=r.optional()}return new V({...this._def,shape:()=>t})}required(u){const t={};for(const n of z.objectKeys(this.shape))if(u&&!u[n])t[n]=this.shape[n];else{let i=this.shape[n];for(;i instanceof Ve;)i=i._def.innerType;t[n]=i}return new V({...this._def,shape:()=>t})}keyof(){return Sr(z.objectKeys(this.shape))}}V.create=(e,u)=>new V({shape:()=>e,unknownKeys:"strip",catchall:We.create(),typeName:F.ZodObject,...N(u)});V.strictCreate=(e,u)=>new V({shape:()=>e,unknownKeys:"strict",catchall:We.create(),typeName:F.ZodObject,...N(u)});V.lazycreate=(e,u)=>new V({shape:e,unknownKeys:"strip",catchall:We.create(),typeName:F.ZodObject,...N(u)});class nt extends ${_parse(u){const{ctx:t}=this._processInputParams(u),n=this._def.options;function r(i){for(const o of i)if(o.result.status==="valid")return o.result;for(const o of i)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;const a=i.map(o=>new Ne(o.ctx.common.issues));return _(t,{code:b.invalid_union,unionErrors:a}),S}if(t.common.async)return Promise.all(n.map(async i=>{const a={...t,common:{...t.common,issues:[]},parent:null};return{result:await i._parseAsync({data:t.data,path:t.path,parent:a}),ctx:a}})).then(r);{let i;const a=[];for(const s of n){const c={...t,common:{...t.common,issues:[]},parent:null},l=s._parseSync({data:t.data,path:t.path,parent:c});if(l.status==="valid")return l;l.status==="dirty"&&!i&&(i={result:l,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(i)return t.common.issues.push(...i.ctx.common.issues),i.result;const o=a.map(s=>new Ne(s));return _(t,{code:b.invalid_union,unionErrors:o}),S}}get options(){return this._def.options}}nt.create=(e,u)=>new nt({options:e,typeName:F.ZodUnion,...N(u)});function Wt(e,u){const t=Be(e),n=Be(u);if(e===u)return{valid:!0,data:e};if(t===k.object&&n===k.object){const r=z.objectKeys(u),i=z.objectKeys(e).filter(o=>r.indexOf(o)!==-1),a={...e,...u};for(const o of i){const s=Wt(e[o],u[o]);if(!s.valid)return{valid:!1};a[o]=s.data}return{valid:!0,data:a}}else if(t===k.array&&n===k.array){if(e.length!==u.length)return{valid:!1};const r=[];for(let i=0;i<e.length;i++){const a=e[i],o=u[i],s=Wt(a,o);if(!s.valid)return{valid:!1};r.push(s.data)}return{valid:!0,data:r}}else return t===k.date&&n===k.date&&+e==+u?{valid:!0,data:e}:{valid:!1}}class rt extends ${_parse(u){const{status:t,ctx:n}=this._processInputParams(u),r=(i,a)=>{if(jn(i)||jn(a))return S;const o=Wt(i.value,a.value);return o.valid?((Un(i)||Un(a))&&t.dirty(),{status:t.value,value:o.data}):(_(n,{code:b.invalid_intersection_types}),S)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,a])=>r(i,a)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}rt.create=(e,u,t)=>new rt({left:e,right:u,typeName:F.ZodIntersection,...N(t)});class Xe extends ${_parse(u){const{status:t,ctx:n}=this._processInputParams(u);if(n.parsedType!==k.array)return _(n,{code:b.invalid_type,expected:k.array,received:n.parsedType}),S;if(n.data.length<this._def.items.length)return _(n,{code:b.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),S;!this._def.rest&&n.data.length>this._def.items.length&&(_(n,{code:b.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const i=[...n.data].map((a,o)=>{const s=this._def.items[o]||this._def.rest;return s?s._parse(new He(n,a,n.path,o)):null}).filter(a=>!!a);return n.common.async?Promise.all(i).then(a=>le.mergeArray(t,a)):le.mergeArray(t,i)}get items(){return this._def.items}rest(u){return new Xe({...this._def,rest:u})}}Xe.create=(e,u)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Xe({items:e,typeName:F.ZodTuple,rest:null,...N(u)})};class Yn extends ${get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(u){const{status:t,ctx:n}=this._processInputParams(u);if(n.parsedType!==k.map)return _(n,{code:b.invalid_type,expected:k.map,received:n.parsedType}),S;const r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([o,s],c)=>({key:r._parse(new He(n,o,n.path,[c,"key"])),value:i._parse(new He(n,s,n.path,[c,"value"]))}));if(n.common.async){const o=new Map;return Promise.resolve().then(async()=>{for(const s of a){const c=await s.key,l=await s.value;if(c.status==="aborted"||l.status==="aborted")return S;(c.status==="dirty"||l.status==="dirty")&&t.dirty(),o.set(c.value,l.value)}return{status:t.value,value:o}})}else{const o=new Map;for(const s of a){const c=s.key,l=s.value;if(c.status==="aborted"||l.status==="aborted")return S;(c.status==="dirty"||l.status==="dirty")&&t.dirty(),o.set(c.value,l.value)}return{status:t.value,value:o}}}}Yn.create=(e,u,t)=>new Yn({valueType:u,keyType:e,typeName:F.ZodMap,...N(t)});class Ou extends ${_parse(u){const{status:t,ctx:n}=this._processInputParams(u);if(n.parsedType!==k.set)return _(n,{code:b.invalid_type,expected:k.set,received:n.parsedType}),S;const r=this._def;r.minSize!==null&&n.data.size<r.minSize.value&&(_(n,{code:b.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),r.maxSize!==null&&n.data.size>r.maxSize.value&&(_(n,{code:b.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const i=this._def.valueType;function a(s){const c=new Set;for(const l of s){if(l.status==="aborted")return S;l.status==="dirty"&&t.dirty(),c.add(l.value)}return{status:t.value,value:c}}const o=[...n.data.values()].map((s,c)=>i._parse(new He(n,s,n.path,c)));return n.common.async?Promise.all(o).then(s=>a(s)):a(o)}min(u,t){return new Ou({...this._def,minSize:{value:u,message:v.toString(t)}})}max(u,t){return new Ou({...this._def,maxSize:{value:u,message:v.toString(t)}})}size(u,t){return this.min(u,t).max(u,t)}nonempty(u){return this.min(1,u)}}Ou.create=(e,u)=>new Ou({valueType:e,minSize:null,maxSize:null,typeName:F.ZodSet,...N(u)});class Gt extends ${get schema(){return this._def.getter()}_parse(u){const{ctx:t}=this._processInputParams(u);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}Gt.create=(e,u)=>new Gt({getter:e,typeName:F.ZodLazy,...N(u)});class Kn extends ${_parse(u){if(u.data!==this._def.value){const t=this._getOrReturnCtx(u);return _(t,{received:t.data,code:b.invalid_literal,expected:this._def.value}),S}return{status:"valid",value:u.data}}get value(){return this._def.value}}Kn.create=(e,u)=>new Kn({value:e,typeName:F.ZodLiteral,...N(u)});function Sr(e,u){return new hu({values:e,typeName:F.ZodEnum,...N(u)})}class hu extends ${_parse(u){if(typeof u.data!="string"){const t=this._getOrReturnCtx(u),n=this._def.values;return _(t,{expected:z.joinValues(n),received:t.parsedType,code:b.invalid_type}),S}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(u.data)){const t=this._getOrReturnCtx(u),n=this._def.values;return _(t,{received:t.data,code:b.invalid_enum_value,options:n}),S}return me(u.data)}get options(){return this._def.values}get enum(){const u={};for(const t of this._def.values)u[t]=t;return u}get Values(){const u={};for(const t of this._def.values)u[t]=t;return u}get Enum(){const u={};for(const t of this._def.values)u[t]=t;return u}extract(u,t=this._def){return hu.create(u,{...this._def,...t})}exclude(u,t=this._def){return hu.create(this.options.filter(n=>!u.includes(n)),{...this._def,...t})}}hu.create=Sr;class Jn extends ${_parse(u){const t=z.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(u);if(n.parsedType!==k.string&&n.parsedType!==k.number){const r=z.objectValues(t);return _(n,{expected:z.joinValues(r),received:n.parsedType,code:b.invalid_type}),S}if(this._cache||(this._cache=new Set(z.getValidEnumValues(this._def.values))),!this._cache.has(u.data)){const r=z.objectValues(t);return _(n,{received:n.data,code:b.invalid_enum_value,options:r}),S}return me(u.data)}get enum(){return this._def.values}}Jn.create=(e,u)=>new Jn({values:e,typeName:F.ZodNativeEnum,...N(u)});class it extends ${unwrap(){return this._def.type}_parse(u){const{ctx:t}=this._processInputParams(u);if(t.parsedType!==k.promise&&t.common.async===!1)return _(t,{code:b.invalid_type,expected:k.promise,received:t.parsedType}),S;const n=t.parsedType===k.promise?t.data:Promise.resolve(t.data);return me(n.then(r=>this._def.type.parseAsync(r,{path:t.path,errorMap:t.common.contextualErrorMap})))}}it.create=(e,u)=>new it({type:e,typeName:F.ZodPromise,...N(u)});class pu extends ${innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===F.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(u){const{status:t,ctx:n}=this._processInputParams(u),r=this._def.effect||null,i={addIssue:a=>{_(n,a),a.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){const a=r.transform(n.data,i);if(n.common.async)return Promise.resolve(a).then(async o=>{if(t.value==="aborted")return S;const s=await this._def.schema._parseAsync({data:o,path:n.path,parent:n});return s.status==="aborted"?S:s.status==="dirty"||t.value==="dirty"?Su(s.value):s});{if(t.value==="aborted")return S;const o=this._def.schema._parseSync({data:a,path:n.path,parent:n});return o.status==="aborted"?S:o.status==="dirty"||t.value==="dirty"?Su(o.value):o}}if(r.type==="refinement"){const a=o=>{const s=r.refinement(o,i);if(n.common.async)return Promise.resolve(s);if(s instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?S:(o.status==="dirty"&&t.dirty(),a(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?S:(o.status==="dirty"&&t.dirty(),a(o.value).then(()=>({status:t.value,value:o.value}))))}if(r.type==="transform")if(n.common.async===!1){const a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!du(a))return S;const o=r.transform(a.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>du(a)?Promise.resolve(r.transform(a.value,i)).then(o=>({status:t.value,value:o})):S);z.assertNever(r)}}pu.create=(e,u,t)=>new pu({schema:e,typeName:F.ZodEffects,effect:u,...N(t)});pu.createWithPreprocess=(e,u,t)=>new pu({schema:u,effect:{type:"preprocess",transform:e},typeName:F.ZodEffects,...N(t)});class Ve extends ${_parse(u){return this._getType(u)===k.undefined?me(void 0):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}Ve.create=(e,u)=>new Ve({innerType:e,typeName:F.ZodOptional,...N(u)});class mu extends ${_parse(u){return this._getType(u)===k.null?me(null):this._def.innerType._parse(u)}unwrap(){return this._def.innerType}}mu.create=(e,u)=>new mu({innerType:e,typeName:F.ZodNullable,...N(u)});class Yt extends ${_parse(u){const{ctx:t}=this._processInputParams(u);let n=t.data;return t.parsedType===k.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Yt.create=(e,u)=>new Yt({innerType:e,typeName:F.ZodDefault,defaultValue:typeof u.default=="function"?u.default:()=>u.default,...N(u)});class Kt extends ${_parse(u){const{ctx:t}=this._processInputParams(u),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ut(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Ne(n.common.issues)},input:n.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new Ne(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Kt.create=(e,u)=>new Kt({innerType:e,typeName:F.ZodCatch,catchValue:typeof u.catch=="function"?u.catch:()=>u.catch,...N(u)});class Xn extends ${_parse(u){if(this._getType(u)!==k.nan){const n=this._getOrReturnCtx(u);return _(n,{code:b.invalid_type,expected:k.nan,received:n.parsedType}),S}return{status:"valid",value:u.data}}}Xn.create=e=>new Xn({typeName:F.ZodNaN,...N(e)});class ga extends ${_parse(u){const{ctx:t}=this._processInputParams(u),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class an extends ${_parse(u){const{status:t,ctx:n}=this._processInputParams(u);if(n.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?S:i.status==="dirty"?(t.dirty(),Su(i.value)):this._def.out._parseAsync({data:i.value,path:n.path,parent:n})})();{const r=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?S:r.status==="dirty"?(t.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:n.path,parent:n})}}static create(u,t){return new an({in:u,out:t,typeName:F.ZodPipeline})}}class Jt extends ${_parse(u){const t=this._def.innerType._parse(u),n=r=>(du(r)&&(r.value=Object.freeze(r.value)),r);return ut(t)?t.then(r=>n(r)):n(t)}unwrap(){return this._def.innerType}}Jt.create=(e,u)=>new Jt({innerType:e,typeName:F.ZodReadonly,...N(u)});var F;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(F||(F={}));const R=qe.create,be=fu.create,we=Vt.create,_a=Ht.create;We.create;const Le=De.create,I=V.create;nt.create;rt.create;Xe.create;const Fu=Gt.create,fe=hu.create;it.create;Ve.create;mu.create;const Te=(e,u)=>{const t=Object.keys(e).filter(n=>e[n]!==void 0);t.length!==1&&u.addIssue({code:b.custom,message:`Must define exactly one property, found ${t.length} (${t.join(", ")}).`})},ge=I({path:R().optional(),literalString:R().optional(),literal:R().optional()}).strict().superRefine(Te),Fr=Fu(()=>I({key:R(),valueString:R().optional(),valueNumber:be().optional(),valueBoolean:we().optional(),valueMap:Le(Fr).optional()}).strict().superRefine((e,u)=>{let t=0;e.valueString!==void 0&&t++,e.valueNumber!==void 0&&t++,e.valueBoolean!==void 0&&t++,e.valueMap!==void 0&&t++,t!==1&&u.addIssue({code:b.custom,message:`Value map item must have exactly one value property (valueString, valueNumber, valueBoolean, valueMap), found ${t}.`})})),xa=I({key:R(),valueString:R().optional(),valueNumber:be().optional(),valueBoolean:we().optional(),valueMap:Le(Fr).optional()}).strict().superRefine((e,u)=>{let t=0;e.valueString!==void 0&&t++,e.valueNumber!==void 0&&t++,e.valueBoolean!==void 0&&t++,e.valueMap!==void 0&&t++,t!==1&&u.addIssue({code:b.custom,message:`Value must have exactly one value property (valueString, valueNumber, valueBoolean, valueMap), found ${t}.`})}).superRefine((e,u)=>{const t=(n,r)=>{if(r>5){u.addIssue({code:b.custom,message:"valueMap recursion exceeded maximum depth of 5."});return}if(n.valueMap&&Array.isArray(n.valueMap))for(const i of n.valueMap)t(i,r+1)};t(e,1)});I({path:R().optional(),literalNumber:be().optional(),literal:be().optional()}).strict().superRefine(Te);I({path:R().optional(),literalBoolean:we().optional(),literal:we().optional()}).strict().superRefine(Te);const ya=I({name:R().describe("A unique name identifying the action (e.g., 'submitForm')."),context:Le(I({key:R(),value:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalString:R().describe("A fixed, hardcoded string value.").optional(),literalNumber:be().optional(),literalBoolean:we().optional()}).describe("The dynamic value. Define EXACTLY ONE of the nested properties.").strict().superRefine(Te)})).describe("A key-value map of data bindings to be resolved when the action is triggered.").optional()}),ka=I({text:ge,usageHint:fe(["h1","h2","h3","h4","h5","caption","body"]).optional()}),Aa=I({url:ge,usageHint:fe(["icon","avatar","smallFeature","mediumFeature","largeFeature","header"]).optional(),fit:fe(["contain","cover","fill","none","scale-down"]).optional(),altText:ge.optional()}),va=I({name:ge}),Ca=I({url:ge}),Ea=I({url:ge,description:ge.optional().describe("A label, title, or placeholder text.")}),Da=I({tabItems:Le(I({title:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalString:R().describe("A fixed, hardcoded string value.").optional()}),child:R().describe("A reference to a component instance by its unique ID.")}).strict().superRefine((e,u)=>{e.title||u.addIssue({code:b.custom,message:"Tab item is missing 'title'."}),e.child||u.addIssue({code:b.custom,message:"Tab item is missing 'child'."}),e.title&&Te(e.title,u)})).describe("A list of tabs, each with a title and a child component ID.")}),wa=I({axis:fe(["horizontal","vertical"]).optional().describe("The orientation."),color:R().optional().describe("The color of the divider (e.g., hex code or semantic name)."),thickness:be().optional().describe("The thickness of the divider.")}),Ta=I({entryPointChild:R().describe("The ID of the component (e.g., a button) that triggers the modal."),contentChild:R().describe("The ID of the component to display as the modal's content.")}),Sa=I({child:R().describe("The ID of the component to display as the button's content."),action:ya.describe("Represents a user-initiated action."),primary:we().optional().describe("Indicates if this button should be styled as the primary action.")}),Fa=I({label:ge,value:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalBoolean:we().optional()}).strict().superRefine(Te)}),Ia=I({text:ge.optional(),label:ge.describe("A label, title, or placeholder text."),textFieldType:fe(["shortText","number","date","longText"]).optional(),validationRegexp:R().optional().describe("A regex string to validate the input.")}),Ra=I({value:ge,enableDate:we().optional(),enableTime:we().optional(),outputFormat:R().optional().describe("The string format for the output (e.g., 'YYYY-MM-DD').")}),Oa=I({selections:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalArray:Le(R()).optional()}).strict().superRefine(Te),options:Le(I({label:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalString:R().describe("A fixed, hardcoded string value.").optional()}).strict().superRefine(Te),value:R()})).optional(),maxAllowedSelections:be().optional(),type:fe(["checkbox","chips"]).optional(),filterable:we().optional()}),Ma=I({value:I({path:R().describe("A data binding reference to a location in the data model (e.g., '/user/name').").optional(),literalNumber:be().optional()}).strict().superRefine(Te),minValue:be().optional(),maxValue:be().optional()}),Na=I({componentId:R(),dataBinding:R()}),on=I({explicitList:Le(R()).optional(),template:Na.describe("A template for generating a dynamic list of children from a data model list. `componentId` is the component to use as a template, and `dataBinding` is the path to the map of components in the data model. Values in the map will define the list of children.").optional()}).strict().superRefine(Te),La=I({children:on,distribution:fe(["start","center","end","spaceBetween","spaceAround","spaceEvenly"]).optional(),alignment:fe(["start","center","end","stretch"]).optional()}),$a=I({children:on,distribution:fe(["start","center","end","spaceBetween","spaceAround","spaceEvenly"]).optional(),alignment:fe(["start","center","end","stretch"]).optional()}),Pa=I({children:on,direction:fe(["vertical","horizontal"]).optional(),alignment:fe(["start","center","end","stretch"]).optional()}),za=I({child:R().describe("The ID of the component to be rendered inside the card.")}),Ba=xa.describe("A single data entry. Exactly one 'value*' property should be provided alongside the key."),ja=I({Text:ka.optional(),Image:Aa.optional(),Icon:va.optional(),Video:Ca.optional(),AudioPlayer:Ea.optional(),Row:Fu(()=>La).optional(),Column:Fu(()=>$a).optional(),List:Fu(()=>Pa).optional(),Card:Fu(()=>za).optional(),Tabs:Da.optional(),Divider:wa.optional(),Modal:Ta.optional(),Button:Sa.optional(),Checkbox:Fa.optional(),TextField:Ia.optional(),DateTimeInput:Ra.optional(),MultipleChoice:Oa.optional(),Slider:Ma.optional()}).catchall(_a()),Ua=ja,qa=I({id:R().describe("The unique identifier for this component."),weight:be().optional().describe("The relative weight of this component within a Row or Column. This corresponds to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column."),component:Ua.describe("A wrapper object that MUST contain exactly one key, which is the name of the component type (e.g., 'Heading'). The value is an object containing the properties for that specific component.")}).strict().describe("Represents a *single* component in a UI widget tree. This component could be one of many supported types."),Za=I({surfaceId:R().describe("The unique identifier for the UI surface to be rendered."),root:R().describe("The ID of the root component to render."),styles:I({font:R().optional().describe("The primary font for the UI."),primaryColor:R().regex(/^#[0-9a-fA-F]{6}$/).optional().describe("The primary UI color as a hexadecimal code (e.g., '#00BFFF').")}).strict().optional().describe("Styling information for the UI.")}).strict().describe("Signals the client to begin rendering a surface with a root component and specific styles."),Va=I({surfaceId:R().describe("The unique identifier for the UI surface to be updated. If you are adding a new surface this *must* be a new, unique identified that has never been used for any existing surfaces shown."),components:Le(qa).min(1).describe("A list containing all UI components for the surface.")}).strict().superRefine((e,u)=>{const t=new Set;for(const r of e.components)r.id&&(t.has(r.id)&&u.addIssue({code:b.custom,message:`Duplicate component ID found: ${r.id}`,path:["components"]}),t.add(r.id));const n=(r,i)=>{for(const a of r)a&&!t.has(a)&&u.addIssue({code:b.custom,message:`Component '${i}' references non-existent component ID '${a}'.`,path:["components"]})};for(const r of e.components){if(!r.id||!r.component)continue;const i=Object.keys(r.component);if(i.length!==1)continue;const a=i[0],o=r.component[a];switch(a){case"Row":case"Column":case"List":if(o.children&&!Array.isArray(o.children)){const s=!!o.children.explicitList,c=!!o.children.template;(s&&c||!s&&!c)&&u.addIssue({code:b.custom,message:`Component '${r.id}' must have either 'explicitList' or 'template' in children, but not both or neither.`}),s&&n(o.children.explicitList,r.id),c&&n([o.children.template?.componentId],r.id)}break;case"Card":o.child&&n([o.child],r.id);break;case"Tabs":o.tabItems&&Array.isArray(o.tabItems)&&o.tabItems.forEach(s=>{s.child&&n([s.child],r.id)});break;case"Modal":n([o.entryPointChild,o.contentChild],r.id);break;case"Button":o.child&&n([o.child],r.id);break}}}).describe("Updates a surface with a new set of components."),Ha=I({surfaceId:R().describe("The unique identifier for the UI surface this data model update applies to."),path:R().optional().describe("An optional path to a location within the data model (e.g., '/user/name'). If omitted, or set to '/', the entire data model will be replaced."),contents:Le(Ba).describe("An array of data entries. Each entry must contain a 'key' and exactly one corresponding typed 'value*' property.")}).strict().describe("Updates the data model for a surface."),Wa=I({surfaceId:R().describe("The unique identifier for the UI surface to be deleted.")}).strict().describe("Signals the client to delete the surface identified by 'surfaceId'."),Ga=I({beginRendering:Za.optional(),surfaceUpdate:Va.optional(),dataModelUpdate:Ha.optional(),deleteSurface:Wa.optional()}).strict().superRefine((e,u)=>{Object.keys(e).filter(n=>["beginRendering","surfaceUpdate","dataModelUpdate","deleteSurface"].includes(n)).length!==1&&u.addIssue({code:b.custom,message:"A2UI Protocol message must have exactly one of: surfaceUpdate, dataModelUpdate, beginRendering, deleteSurface."})}).describe("Describes a JSON payload for an A2UI (Agent to UI) message, which is used to dynamically construct and update user interfaces. A message MUST contain exactly ONE of the action properties: 'beginRendering', 'surfaceUpdate', 'dataModelUpdate', or 'deleteSurface'.");class Ir extends Error{constructor(u,t="UNKNOWN_ERROR"){super(u),this.name=this.constructor.name,this.code=t,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class J extends Ir{constructor(u,t){super(u,"VALIDATION_ERROR"),this.details=t}}class Ya extends Ir{constructor(u){super(u,"STATE_ERROR")}}const Iu=class Iu{constructor(u={mapCtor:Map,arrayCtor:Array,setCtor:Set,objCtor:Object}){this.opts=u,this.mapCtor=Map,this.arrayCtor=Array,this.setCtor=Set,this.objCtor=Object,this.arrayCtor=u.arrayCtor,this.mapCtor=u.mapCtor,this.setCtor=u.setCtor,this.objCtor=u.objCtor,this.surfaces=new u.mapCtor}getSurfaces(){return this.surfaces}clearSurfaces(){this.surfaces.clear()}processMessages(u){for(const t of u){const n=Ga.parse(t);n.beginRendering&&this.handleBeginRendering(n.beginRendering,n.beginRendering.surfaceId),n.surfaceUpdate&&this.handleSurfaceUpdate(n.surfaceUpdate,n.surfaceUpdate.surfaceId),n.dataModelUpdate&&this.handleDataModelUpdate(n.dataModelUpdate,n.dataModelUpdate.surfaceId),n.deleteSurface&&this.handleDeleteSurface(n.deleteSurface)}}getData(u,t,n=Iu.DEFAULT_SURFACE_ID){const r=this.getOrCreateSurface(n);if(!r)return null;let i;return t==="."||t===""?i=u.dataContextPath??"/":i=this.resolvePath(t,u.dataContextPath),this.getDataByPath(r.dataModel,i)}setData(u,t,n,r=Iu.DEFAULT_SURFACE_ID){if(!u){console.warn("No component node set");return}const i=this.getOrCreateSurface(r);if(!i)return;let a;t==="."||t===""?a=u.dataContextPath??"/":a=this.resolvePath(t,u.dataContextPath),this.setDataByPath(i.dataModel,a,n)}resolvePath(u,t){return u.startsWith("/")?u:t&&t!=="/"?t.endsWith("/")?`${t}${u}`:`${t}/${u}`:`/${u}`}parseIfJsonString(u){if(typeof u!="string")return u;const t=u.trim();if(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))try{return JSON.parse(u)}catch(n){return console.warn(`Failed to parse potential JSON string: "${u.substring(0,50)}..."`,n),u}return u}convertKeyValueArrayToMap(u){const t=new this.mapCtor;for(const n of u){if(!P(n)||!("key"in n))continue;const r=n.key,i=this.findValueKey(n);if(!i)continue;let a=n[i];i==="valueMap"&&Array.isArray(a)?a=this.convertKeyValueArrayToMap(a):typeof a=="string"&&(a=this.parseIfJsonString(a)),this.setDataByPath(t,r,a)}return t}setDataByPath(u,t,n){if(Array.isArray(n)&&(n.length===0||P(n[0])&&"key"in n[0]))if(n.length===1&&P(n[0])&&n[0].key==="."){const s=n[0],c=this.findValueKey(s);c?(n=s[c],c==="valueMap"&&Array.isArray(n)?n=this.convertKeyValueArrayToMap(n):typeof n=="string"&&(n=this.parseIfJsonString(n))):n=this.convertKeyValueArrayToMap(n)}else n=this.convertKeyValueArrayToMap(n);const r=this.normalizePath(t).split("/").filter(s=>s);if(r.length===0){if(n instanceof Map||P(n)){!(n instanceof Map)&&P(n)&&(n=new this.mapCtor(Object.entries(n))),u.clear();for(const[s,c]of n.entries())u.set(s,c)}else console.error("Cannot set root of DataModel to a non-Map value.");return}let i=u;for(let s=0;s<r.length-1;s++){const c=r[s];let l;i instanceof Map?l=i.get(c):Array.isArray(i)&&/^\d+$/.test(c)&&(l=i[parseInt(c,10)]),(l===void 0||typeof l!="object"||l===null)&&(l=new this.mapCtor,i instanceof this.mapCtor?i.set(c,l):Array.isArray(i)&&(i[parseInt(c,10)]=l)),i=l}const a=r[r.length-1],o=n;i instanceof this.mapCtor?i.set(a,o):Array.isArray(i)&&/^\d+$/.test(a)&&(i[parseInt(a,10)]=o)}normalizePath(u){return"/"+u.replace(/\[(\d+)\]/g,".$1").split(".").filter(r=>r.length>0).join("/")}getDataByPath(u,t){const n=this.normalizePath(t).split("/").filter(i=>i);let r=u;for(const i of n){if(r==null)return null;if(r instanceof Map)r=r.get(i);else if(Array.isArray(r)&&/^\d+$/.test(i))r=r[parseInt(i,10)];else if(P(r))r=r[i];else return null}return r}getOrCreateSurface(u){let t=this.surfaces.get(u);return t||(t=new this.objCtor({rootComponentId:null,componentTree:null,dataModel:new this.mapCtor,components:new this.mapCtor,styles:new this.objCtor}),this.surfaces.set(u,t)),t}handleBeginRendering(u,t){const n=this.getOrCreateSurface(t);n.rootComponentId=u.root,n.styles=u.styles??{},this.rebuildComponentTree(n)}handleSurfaceUpdate(u,t){const n=this.getOrCreateSurface(t);for(const r of u.components)n.components.set(r.id,r);this.rebuildComponentTree(n)}handleDataModelUpdate(u,t){const n=this.getOrCreateSurface(t),r=u.path??"/";this.setDataByPath(n.dataModel,r,u.contents),this.rebuildComponentTree(n)}handleDeleteSurface(u){this.surfaces.delete(u.surfaceId)}rebuildComponentTree(u){if(!u.rootComponentId){u.componentTree=null;return}const t=new this.setCtor;u.componentTree=this.buildNodeRecursive(u.rootComponentId,u,t,"/","")}findValueKey(u){return Object.keys(u).find(t=>t.startsWith("value"))}buildNodeRecursive(u,t,n,r,i=""){const a=`${u}${i}`,{components:o}=t;if(!o.has(u))return null;if(n.has(a))throw new Ya(`Circular dependency for component "${a}".`);n.add(a);const s=o.get(u),c=s.component??{},l=Object.keys(c)[0],f=c[l],h=new this.objCtor;if(P(f))for(const[p,T]of Object.entries(f))h[p]=this.resolvePropertyValue(T,t,n,r,i);n.delete(a);const m={id:a,dataContextPath:r,weight:s.weight??"initial"};switch(l){case"Text":if(!qi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Text",properties:h});case"Image":if(!Mi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Image",properties:h});case"Icon":if(!Ni(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Icon",properties:h});case"Video":if(!Vi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Video",properties:h});case"AudioPlayer":if(!wi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"AudioPlayer",properties:h});case"Row":if(!zi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Row",properties:h});case"Column":if(!Ii(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Column",properties:h});case"List":if(!Li(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"List",properties:h});case"Card":if(!Si(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Card",properties:h});case"Tabs":if(!Ui(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Tabs",properties:h});case"Divider":if(!Oi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Divider",properties:h});case"Modal":if(!$i(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Modal",properties:h});case"Button":if(!Ti(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Button",properties:h});case"CheckBox":if(!Fi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"CheckBox",properties:h});case"TextField":if(!Zi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"TextField",properties:h});case"DateTimeInput":if(!Ri(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"DateTimeInput",properties:h});case"MultipleChoice":if(!Pi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"MultipleChoice",properties:h});case"Slider":if(!Bi(h))throw new J(`Invalid data; expected ${l}`);return new this.objCtor({...m,type:"Slider",properties:h});default:return new this.objCtor({...m,type:l,properties:h})}}resolvePropertyValue(u,t,n,r,i=""){if(typeof u=="string"&&t.components.has(u))return this.buildNodeRecursive(u,t,n,r,i);if(Ci(u)){if(u.explicitList)return u.explicitList.map(a=>this.buildNodeRecursive(a,t,n,r,i));if(u.template){const a=this.resolvePath(u.template.dataBinding,r),o=this.getDataByPath(t.dataModel,a),s=u.template;if(Array.isArray(o))return o.map((l,f)=>{const p=`:${[...r.split("/").filter(O=>/^\d+$/.test(O)),f].join(":")}`,T=`${a}/${f}`;return this.buildNodeRecursive(s.componentId,t,n,T,p)});const c=this.mapCtor;return o instanceof c?Array.from(o.keys(),l=>{const f=`:${l}`,h=`${a}/${l}`;return this.buildNodeRecursive(s.componentId,t,n,h,f)}):new this.arrayCtor}}if(Array.isArray(u))return u.map(a=>this.resolvePropertyValue(a,t,n,r,i));if(P(u)){const a=new this.objCtor;for(const[o,s]of Object.entries(u)){let c=s;if(vi(o,s)&&r!=="/"){c=s.replace(/^\.?\/item/,"").replace(/^\.?\/text/,"").replace(/^\.?\/label/,"").replace(/^\.?\//,""),a[o]=c;continue}a[o]=this.resolvePropertyValue(c,t,n,r,i)}return a}return u}};Iu.DEFAULT_SURFACE_ID="@default";let Xt=Iu;const Ka=`
|
|
2
|
+
&:not([disabled]) {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
opacity: var(--opacity, 0);
|
|
5
|
+
transition: opacity var(--speed, 0.2s) cubic-bezier(0, 0, 0.3, 1);
|
|
6
|
+
|
|
7
|
+
&:hover,
|
|
8
|
+
&:focus {
|
|
9
|
+
opacity: 1;
|
|
10
|
+
}
|
|
11
|
+
}`,Ja=`
|
|
12
|
+
${new Array(21).fill(0).map((e,u)=>`.behavior-ho-${u*5} {
|
|
13
|
+
--opacity: ${u/20};
|
|
14
|
+
${Ka}
|
|
15
|
+
}`).join(`
|
|
16
|
+
`)}
|
|
17
|
+
|
|
18
|
+
.behavior-o-s {
|
|
19
|
+
overflow: scroll;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.behavior-o-a {
|
|
23
|
+
overflow: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.behavior-o-h {
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.behavior-sw-n {
|
|
31
|
+
scrollbar-width: none;
|
|
32
|
+
}
|
|
33
|
+
`,Y=4,Xa=`
|
|
34
|
+
${new Array(25).fill(0).map((e,u)=>`
|
|
35
|
+
.border-bw-${u} { border-width: ${u}px; }
|
|
36
|
+
.border-btw-${u} { border-top-width: ${u}px; }
|
|
37
|
+
.border-bbw-${u} { border-bottom-width: ${u}px; }
|
|
38
|
+
.border-blw-${u} { border-left-width: ${u}px; }
|
|
39
|
+
.border-brw-${u} { border-right-width: ${u}px; }
|
|
40
|
+
|
|
41
|
+
.border-ow-${u} { outline-width: ${u}px; }
|
|
42
|
+
.border-br-${u} { border-radius: ${u*Y}px; overflow: hidden;}`).join(`
|
|
43
|
+
`)}
|
|
44
|
+
|
|
45
|
+
.border-br-50pc {
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.border-bs-s {
|
|
50
|
+
border-style: solid;
|
|
51
|
+
}
|
|
52
|
+
`,Rr=[0,5,10,15,20,25,30,35,40,50,60,70,80,90,95,98,99,100];function Or(...e){const u={};for(const t of e)for(const[n,r]of Object.entries(t)){const i=n.split("-").with(-1,"").join("-"),a=Object.keys(u).filter(o=>o.startsWith(i));for(const o of a)delete u[o];u[n]=r}return u}function Qa(e,u,...t){const n=structuredClone(e);for(const r of t)for(const i of Object.keys(r)){const a=i.split("-").with(-1,"").join("-");for(const[o,s]of Object.entries(n)){if(u.includes(o))continue;let c=!1;for(let l=0;l<s.length;l++)s[l].startsWith(a)&&(c=!0,s[l]=i);c||s.push(i)}}return n}function Ae(e){return e.startsWith("nv")?`--nv-${e.slice(2)}`:`--${e[0]}-${e.slice(1)}`}const au=e=>`
|
|
53
|
+
${e.map(u=>{const t=St(u);return`.color-bc-${u} { border-color: light-dark(var(${Ae(u)}), var(${Ae(t)})); }`}).join(`
|
|
54
|
+
`)}
|
|
55
|
+
|
|
56
|
+
${e.map(u=>{const t=St(u),n=[`.color-bgc-${u} { background-color: light-dark(var(${Ae(u)}), var(${Ae(t)})); }`,`.color-bbgc-${u}::backdrop { background-color: light-dark(var(${Ae(u)}), var(${Ae(t)})); }`];for(let r=.1;r<1;r+=.1)n.push(`.color-bbgc-${u}_${(r*100).toFixed(0)}::backdrop {
|
|
57
|
+
background-color: light-dark(oklch(from var(${Ae(u)}) l c h / calc(alpha * ${r.toFixed(1)})), oklch(from var(${Ae(t)}) l c h / calc(alpha * ${r.toFixed(1)})) );
|
|
58
|
+
}
|
|
59
|
+
`);return n.join(`
|
|
60
|
+
`)}).join(`
|
|
61
|
+
`)}
|
|
62
|
+
|
|
63
|
+
${e.map(u=>{const t=St(u);return`.color-c-${u} { color: light-dark(var(${Ae(u)}), var(${Ae(t)})); }`}).join(`
|
|
64
|
+
`)}
|
|
65
|
+
`,St=e=>{const u=e.match(/^([a-z]+)(\d+)$/);if(!u)return e;const[,t,n]=u,i=100-parseInt(n,10),a=Rr.reduce((o,s)=>Math.abs(s-i)<Math.abs(o-i)?s:o);return`${t}${a}`},ou=e=>Rr.map(u=>`${e}${u}`),eo=[au(ou("p")),au(ou("s")),au(ou("t")),au(ou("n")),au(ou("nv")),au(ou("e")),`
|
|
66
|
+
.color-bgc-transparent {
|
|
67
|
+
background-color: transparent;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host {
|
|
71
|
+
color-scheme: var(--color-scheme);
|
|
72
|
+
}
|
|
73
|
+
`],uo=`
|
|
74
|
+
.g-icon {
|
|
75
|
+
font-family: "Material Symbols Outlined", "Google Symbols";
|
|
76
|
+
font-weight: normal;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
font-display: optional;
|
|
79
|
+
font-size: 20px;
|
|
80
|
+
width: 1em;
|
|
81
|
+
height: 1em;
|
|
82
|
+
user-select: none;
|
|
83
|
+
line-height: 1;
|
|
84
|
+
letter-spacing: normal;
|
|
85
|
+
text-transform: none;
|
|
86
|
+
display: inline-block;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
word-wrap: normal;
|
|
89
|
+
direction: ltr;
|
|
90
|
+
-webkit-font-feature-settings: "liga";
|
|
91
|
+
-webkit-font-smoothing: antialiased;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
|
|
94
|
+
font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48,
|
|
95
|
+
"ROND" 100;
|
|
96
|
+
|
|
97
|
+
&.filled {
|
|
98
|
+
font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 48,
|
|
99
|
+
"ROND" 100;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.filled-heavy {
|
|
103
|
+
font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 48,
|
|
104
|
+
"ROND" 100;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`,to=`
|
|
108
|
+
:host {
|
|
109
|
+
${new Array(16).fill(0).map((e,u)=>`--g-${u+1}: ${(u+1)*Y}px;`).join(`
|
|
110
|
+
`)}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
${new Array(49).fill(0).map((e,u)=>{const t=u-24,n=t<0?`n${Math.abs(t)}`:t.toString();return`
|
|
114
|
+
.layout-p-${n} { --padding: ${t*Y}px; padding: var(--padding); }
|
|
115
|
+
.layout-pt-${n} { padding-top: ${t*Y}px; }
|
|
116
|
+
.layout-pr-${n} { padding-right: ${t*Y}px; }
|
|
117
|
+
.layout-pb-${n} { padding-bottom: ${t*Y}px; }
|
|
118
|
+
.layout-pl-${n} { padding-left: ${t*Y}px; }
|
|
119
|
+
|
|
120
|
+
.layout-m-${n} { --margin: ${t*Y}px; margin: var(--margin); }
|
|
121
|
+
.layout-mt-${n} { margin-top: ${t*Y}px; }
|
|
122
|
+
.layout-mr-${n} { margin-right: ${t*Y}px; }
|
|
123
|
+
.layout-mb-${n} { margin-bottom: ${t*Y}px; }
|
|
124
|
+
.layout-ml-${n} { margin-left: ${t*Y}px; }
|
|
125
|
+
|
|
126
|
+
.layout-t-${n} { top: ${t*Y}px; }
|
|
127
|
+
.layout-r-${n} { right: ${t*Y}px; }
|
|
128
|
+
.layout-b-${n} { bottom: ${t*Y}px; }
|
|
129
|
+
.layout-l-${n} { left: ${t*Y}px; }`}).join(`
|
|
130
|
+
`)}
|
|
131
|
+
|
|
132
|
+
${new Array(25).fill(0).map((e,u)=>`
|
|
133
|
+
.layout-g-${u} { gap: ${u*Y}px; }`).join(`
|
|
134
|
+
`)}
|
|
135
|
+
|
|
136
|
+
${new Array(8).fill(0).map((e,u)=>`
|
|
137
|
+
.layout-grd-col${u+1} { grid-template-columns: ${"1fr ".repeat(u+1).trim()}; }`).join(`
|
|
138
|
+
`)}
|
|
139
|
+
|
|
140
|
+
.layout-pos-a {
|
|
141
|
+
position: absolute;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.layout-pos-rel {
|
|
145
|
+
position: relative;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.layout-dsp-none {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.layout-dsp-block {
|
|
153
|
+
display: block;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.layout-dsp-grid {
|
|
157
|
+
display: grid;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.layout-dsp-iflex {
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.layout-dsp-flexvert {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.layout-dsp-flexhor {
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: row;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.layout-fw-w {
|
|
175
|
+
flex-wrap: wrap;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.layout-al-fs {
|
|
179
|
+
align-items: start;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.layout-al-fe {
|
|
183
|
+
align-items: end;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.layout-al-c {
|
|
187
|
+
align-items: center;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.layout-as-n {
|
|
191
|
+
align-self: normal;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.layout-js-c {
|
|
195
|
+
justify-self: center;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.layout-sp-c {
|
|
199
|
+
justify-content: center;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.layout-sp-ev {
|
|
203
|
+
justify-content: space-evenly;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.layout-sp-bt {
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.layout-sp-s {
|
|
211
|
+
justify-content: start;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.layout-sp-e {
|
|
215
|
+
justify-content: end;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.layout-ji-e {
|
|
219
|
+
justify-items: end;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.layout-r-none {
|
|
223
|
+
resize: none;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.layout-fs-c {
|
|
227
|
+
field-sizing: content;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.layout-fs-n {
|
|
231
|
+
field-sizing: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.layout-flx-0 {
|
|
235
|
+
flex: 0 0 auto;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.layout-flx-1 {
|
|
239
|
+
flex: 1 0 auto;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.layout-c-s {
|
|
243
|
+
contain: strict;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/** Widths **/
|
|
247
|
+
|
|
248
|
+
${new Array(10).fill(0).map((e,u)=>{const t=(u+1)*10;return`.layout-w-${t} { width: ${t}%; max-width: ${t}%; }`}).join(`
|
|
249
|
+
`)}
|
|
250
|
+
|
|
251
|
+
${new Array(16).fill(0).map((e,u)=>{const t=u*Y;return`.layout-wp-${u} { width: ${t}px; }`}).join(`
|
|
252
|
+
`)}
|
|
253
|
+
|
|
254
|
+
/** Heights **/
|
|
255
|
+
|
|
256
|
+
${new Array(10).fill(0).map((e,u)=>{const t=(u+1)*10;return`.layout-h-${t} { height: ${t}%; }`}).join(`
|
|
257
|
+
`)}
|
|
258
|
+
|
|
259
|
+
${new Array(16).fill(0).map((e,u)=>{const t=u*Y;return`.layout-hp-${u} { height: ${t}px; }`}).join(`
|
|
260
|
+
`)}
|
|
261
|
+
|
|
262
|
+
.layout-el-cv {
|
|
263
|
+
& img,
|
|
264
|
+
& video {
|
|
265
|
+
width: 100%;
|
|
266
|
+
height: 100%;
|
|
267
|
+
object-fit: cover;
|
|
268
|
+
margin: 0;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.layout-ar-sq {
|
|
273
|
+
aspect-ratio: 1 / 1;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.layout-ex-fb {
|
|
277
|
+
margin: calc(var(--padding) * -1) 0 0 calc(var(--padding) * -1);
|
|
278
|
+
width: calc(100% + var(--padding) * 2);
|
|
279
|
+
height: calc(100% + var(--padding) * 2);
|
|
280
|
+
}
|
|
281
|
+
`,no=`
|
|
282
|
+
${new Array(21).fill(0).map((e,u)=>`.opacity-el-${u*5} { opacity: ${u/20}; }`).join(`
|
|
283
|
+
`)}
|
|
284
|
+
`,ro=`
|
|
285
|
+
:host {
|
|
286
|
+
--default-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
287
|
+
--default-font-family-mono: "Courier New", Courier, monospace;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.typography-f-s {
|
|
291
|
+
font-family: var(--font-family, var(--default-font-family));
|
|
292
|
+
font-optical-sizing: auto;
|
|
293
|
+
font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.typography-f-sf {
|
|
297
|
+
font-family: var(--font-family-flex, var(--default-font-family));
|
|
298
|
+
font-optical-sizing: auto;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.typography-f-c {
|
|
302
|
+
font-family: var(--font-family-mono, var(--default-font-family));
|
|
303
|
+
font-optical-sizing: auto;
|
|
304
|
+
font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.typography-v-r {
|
|
308
|
+
font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 100;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.typography-ta-s {
|
|
312
|
+
text-align: start;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.typography-ta-c {
|
|
316
|
+
text-align: center;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.typography-fs-n {
|
|
320
|
+
font-style: normal;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.typography-fs-i {
|
|
324
|
+
font-style: italic;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.typography-sz-ls {
|
|
328
|
+
font-size: 11px;
|
|
329
|
+
line-height: 16px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.typography-sz-lm {
|
|
333
|
+
font-size: 12px;
|
|
334
|
+
line-height: 16px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.typography-sz-ll {
|
|
338
|
+
font-size: 14px;
|
|
339
|
+
line-height: 20px;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.typography-sz-bs {
|
|
343
|
+
font-size: 12px;
|
|
344
|
+
line-height: 16px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.typography-sz-bm {
|
|
348
|
+
font-size: 14px;
|
|
349
|
+
line-height: 20px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.typography-sz-bl {
|
|
353
|
+
font-size: 16px;
|
|
354
|
+
line-height: 24px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.typography-sz-ts {
|
|
358
|
+
font-size: 14px;
|
|
359
|
+
line-height: 20px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.typography-sz-tm {
|
|
363
|
+
font-size: 16px;
|
|
364
|
+
line-height: 24px;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.typography-sz-tl {
|
|
368
|
+
font-size: 22px;
|
|
369
|
+
line-height: 28px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.typography-sz-hs {
|
|
373
|
+
font-size: 24px;
|
|
374
|
+
line-height: 32px;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.typography-sz-hm {
|
|
378
|
+
font-size: 28px;
|
|
379
|
+
line-height: 36px;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.typography-sz-hl {
|
|
383
|
+
font-size: 32px;
|
|
384
|
+
line-height: 40px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.typography-sz-ds {
|
|
388
|
+
font-size: 36px;
|
|
389
|
+
line-height: 44px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.typography-sz-dm {
|
|
393
|
+
font-size: 45px;
|
|
394
|
+
line-height: 52px;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.typography-sz-dl {
|
|
398
|
+
font-size: 57px;
|
|
399
|
+
line-height: 64px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.typography-ws-p {
|
|
403
|
+
white-space: pre-line;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.typography-ws-nw {
|
|
407
|
+
white-space: nowrap;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.typography-td-none {
|
|
411
|
+
text-decoration: none;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/** Weights **/
|
|
415
|
+
|
|
416
|
+
${new Array(9).fill(0).map((e,u)=>{const t=(u+1)*100;return`.typography-w-${t} { font-weight: ${t}; }`}).join(`
|
|
417
|
+
`)}
|
|
418
|
+
`,io=[Ja,Xa,eo,uo,to,no,ro].flat(1/0).join(`
|
|
419
|
+
`);class Mr extends Xt{eventHandlers=new Set;constructor(){super()}setData(u,t,n,r){return super.setData(u,t,n,r??void 0)}dispatch(u){return new Promise((t,n)=>{const r={message:u,resolve:t,reject:n};this.eventHandlers.forEach(i=>i(r))})}onEvent(u){return this.eventHandlers.add(u),()=>this.eventHandlers.delete(u)}}const Qn=Symbol("message-processor");function Nr(){let e=y.inject(Qn,null);return e||(e=y.reactive(new Mr),y.provide(Qn,e)),e}const er={};function ao(e){let u=er[e];if(u)return u;u=er[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);u.push(n)}for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);u[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return u}function bu(e,u){typeof u!="string"&&(u=bu.defaultChars);const t=ao(u);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let i=0,a=n.length;i<a;i+=3){const o=parseInt(n.slice(i+1,i+3),16);if(o<128){r+=t[o];continue}if((o&224)===192&&i+3<a){const s=parseInt(n.slice(i+4,i+6),16);if((s&192)===128){const c=o<<6&1984|s&63;c<128?r+="��":r+=String.fromCharCode(c),i+=3;continue}}if((o&240)===224&&i+6<a){const s=parseInt(n.slice(i+4,i+6),16),c=parseInt(n.slice(i+7,i+9),16);if((s&192)===128&&(c&192)===128){const l=o<<12&61440|s<<6&4032|c&63;l<2048||l>=55296&&l<=57343?r+="���":r+=String.fromCharCode(l),i+=6;continue}}if((o&248)===240&&i+9<a){const s=parseInt(n.slice(i+4,i+6),16),c=parseInt(n.slice(i+7,i+9),16),l=parseInt(n.slice(i+10,i+12),16);if((s&192)===128&&(c&192)===128&&(l&192)===128){let f=o<<18&1835008|s<<12&258048|c<<6&4032|l&63;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),i+=9;continue}}r+="�"}return r})}bu.defaultChars=";/?:@&=+$,#";bu.componentChars="";const ur={};function oo(e){let u=ur[e];if(u)return u;u=ur[e]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?u.push(n):u.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<e.length;t++)u[e.charCodeAt(t)]=e[t];return u}function Pu(e,u,t){typeof u!="string"&&(t=u,u=Pu.defaultChars),typeof t>"u"&&(t=!0);const n=oo(u);let r="";for(let i=0,a=e.length;i<a;i++){const o=e.charCodeAt(i);if(t&&o===37&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(o<128){r+=n[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1<a){const s=e.charCodeAt(i+1);if(s>=56320&&s<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}Pu.defaultChars=";/?:@&=+$,-_.!~*'()#";Pu.componentChars="-_.!~*'()";function sn(e){let u="";return u+=e.protocol||"",u+=e.slashes?"//":"",u+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?u+="["+e.hostname+"]":u+=e.hostname||"",u+=e.port?":"+e.port:"",u+=e.pathname||"",u+=e.search||"",u+=e.hash||"",u}function at(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const so=/^([a-z0-9.+-]+:)/i,co=/:[0-9]*$/,lo=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,fo=["<",">",'"',"`"," ","\r",`
|
|
420
|
+
`," "],ho=["{","}","|","\\","^","`"].concat(fo),po=["'"].concat(ho),tr=["%","/","?",";","#"].concat(po),nr=["/","?","#"],mo=255,rr=/^[+a-z0-9A-Z_-]{0,63}$/,bo=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ir={javascript:!0,"javascript:":!0},ar={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function cn(e,u){if(e&&e instanceof at)return e;const t=new at;return t.parse(e,u),t}at.prototype.parse=function(e,u){let t,n,r,i=e;if(i=i.trim(),!u&&e.split("#").length===1){const c=lo.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=so.exec(i);if(a&&(a=a[0],t=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(u||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(a&&ir[a])&&(i=i.substr(2),this.slashes=!0)),!ir[a]&&(r||a&&!ar[a])){let c=-1;for(let p=0;p<nr.length;p++)n=i.indexOf(nr[p]),n!==-1&&(c===-1||n<c)&&(c=n);let l,f;c===-1?f=i.lastIndexOf("@"):f=i.lastIndexOf("@",c),f!==-1&&(l=i.slice(0,f),i=i.slice(f+1),this.auth=l),c=-1;for(let p=0;p<tr.length;p++)n=i.indexOf(tr[p]),n!==-1&&(c===-1||n<c)&&(c=n);c===-1&&(c=i.length),i[c-1]===":"&&c--;const h=i.slice(0,c);i=i.slice(c),this.parseHost(h),this.hostname=this.hostname||"";const m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){const p=this.hostname.split(/\./);for(let T=0,O=p.length;T<O;T++){const B=p[T];if(B&&!B.match(rr)){let D="";for(let E=0,x=B.length;E<x;E++)B.charCodeAt(E)>127?D+="x":D+=B[E];if(!D.match(rr)){const E=p.slice(0,T),x=p.slice(T+1),w=B.match(bo);w&&(E.push(w[1]),x.unshift(w[2])),x.length&&(i=x.join(".")+i),this.hostname=E.join(".");break}}}}this.hostname.length>mo&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=i.indexOf("#");o!==-1&&(this.hash=i.substr(o),i=i.slice(0,o));const s=i.indexOf("?");return s!==-1&&(this.search=i.substr(s),i=i.slice(0,s)),i&&(this.pathname=i),ar[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};at.prototype.parseHost=function(e){let u=co.exec(e);u&&(u=u[0],u!==":"&&(this.port=u.substr(1)),e=e.substr(0,e.length-u.length)),e&&(this.hostname=e)};const go=Object.freeze(Object.defineProperty({__proto__:null,decode:bu,encode:Pu,format:sn,parse:cn},Symbol.toStringTag,{value:"Module"})),Lr=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,$r=/[\0-\x1F\x7F-\x9F]/,_o=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,ln=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Pr=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,zr=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,xo=Object.freeze(Object.defineProperty({__proto__:null,Any:Lr,Cc:$r,Cf:_o,P:ln,S:Pr,Z:zr},Symbol.toStringTag,{value:"Module"})),yo=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),ko=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ft;const Ao=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),vo=(Ft=String.fromCodePoint)!==null&&Ft!==void 0?Ft:function(e){let u="";return e>65535&&(e-=65536,u+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),u+=String.fromCharCode(e),u};function Co(e){var u;return e>=55296&&e<=57343||e>1114111?65533:(u=Ao.get(e))!==null&&u!==void 0?u:e}var Q;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Q||(Q={}));const Eo=32;var Ze;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ze||(Ze={}));function Qt(e){return e>=Q.ZERO&&e<=Q.NINE}function Do(e){return e>=Q.UPPER_A&&e<=Q.UPPER_F||e>=Q.LOWER_A&&e<=Q.LOWER_F}function wo(e){return e>=Q.UPPER_A&&e<=Q.UPPER_Z||e>=Q.LOWER_A&&e<=Q.LOWER_Z||Qt(e)}function To(e){return e===Q.EQUALS||wo(e)}var X;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(X||(X={}));var Ue;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ue||(Ue={}));class So{constructor(u,t,n){this.decodeTree=u,this.emitCodePoint=t,this.errors=n,this.state=X.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ue.Strict}startEntity(u){this.decodeMode=u,this.state=X.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(u,t){switch(this.state){case X.EntityStart:return u.charCodeAt(t)===Q.NUM?(this.state=X.NumericStart,this.consumed+=1,this.stateNumericStart(u,t+1)):(this.state=X.NamedEntity,this.stateNamedEntity(u,t));case X.NumericStart:return this.stateNumericStart(u,t);case X.NumericDecimal:return this.stateNumericDecimal(u,t);case X.NumericHex:return this.stateNumericHex(u,t);case X.NamedEntity:return this.stateNamedEntity(u,t)}}stateNumericStart(u,t){return t>=u.length?-1:(u.charCodeAt(t)|Eo)===Q.LOWER_X?(this.state=X.NumericHex,this.consumed+=1,this.stateNumericHex(u,t+1)):(this.state=X.NumericDecimal,this.stateNumericDecimal(u,t))}addToNumericResult(u,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(u.substr(t,i),r),this.consumed+=i}}stateNumericHex(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(Qt(r)||Do(r))t+=1;else return this.addToNumericResult(u,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(u,n,t,16),-1}stateNumericDecimal(u,t){const n=t;for(;t<u.length;){const r=u.charCodeAt(t);if(Qt(r))t+=1;else return this.addToNumericResult(u,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(u,n,t,10),-1}emitNumericEntity(u,t){var n;if(this.consumed<=t)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(u===Q.SEMI)this.consumed+=1;else if(this.decodeMode===Ue.Strict)return 0;return this.emitCodePoint(Co(this.result),this.consumed),this.errors&&(u!==Q.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(u,t){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&Ze.VALUE_LENGTH)>>14;for(;t<u.length;t++,this.excess++){const a=u.charCodeAt(t);if(this.treeIndex=Fo(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ue.Attribute&&(i===0||To(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Ze.VALUE_LENGTH)>>14,i!==0){if(a===Q.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ue.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var u;const{result:t,decodeTree:n}=this,r=(n[t]&Ze.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(u=this.errors)===null||u===void 0||u.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(u,t,n){const{decodeTree:r}=this;return this.emitCodePoint(t===1?r[u]&~Ze.VALUE_LENGTH:r[u+1],n),t===3&&this.emitCodePoint(r[u+2],n),n}end(){var u;switch(this.state){case X.NamedEntity:return this.result!==0&&(this.decodeMode!==Ue.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case X.NumericDecimal:return this.emitNumericEntity(0,2);case X.NumericHex:return this.emitNumericEntity(0,3);case X.NumericStart:return(u=this.errors)===null||u===void 0||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case X.EntityStart:return 0}}}function Br(e){let u="";const t=new So(e,n=>u+=vo(n));return function(r,i){let a=0,o=0;for(;(o=r.indexOf("&",o))>=0;){u+=r.slice(a,o),t.startEntity(i);const c=t.write(r,o+1);if(c<0){a=o+t.end();break}a=o+c,o=c===0?a+1:a}const s=u+r.slice(a);return u="",s}}function Fo(e,u,t,n){const r=(u&Ze.BRANCH_LENGTH)>>7,i=u&Ze.JUMP_TABLE;if(r===0)return i!==0&&n===i?t:-1;if(i){const s=n-i;return s<0||s>=r?-1:e[t+s]-1}let a=t,o=a+r-1;for(;a<=o;){const s=a+o>>>1,c=e[s];if(c<n)a=s+1;else if(c>n)o=s-1;else return e[s+r]}return-1}const Io=Br(yo);Br(ko);function jr(e,u=Ue.Legacy){return Io(e,u)}function Ro(e){return Object.prototype.toString.call(e)}function dn(e){return Ro(e)==="[object String]"}const Oo=Object.prototype.hasOwnProperty;function Mo(e,u){return Oo.call(e,u)}function ct(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function Ur(e,u,t){return[].concat(e.slice(0,u),t,e.slice(u+1))}function fn(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function ot(e){if(e>65535){e-=65536;const u=55296+(e>>10),t=56320+(e&1023);return String.fromCharCode(u,t)}return String.fromCharCode(e)}const qr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,No=/&([a-z#][a-z0-9]{1,31});/gi,Lo=new RegExp(qr.source+"|"+No.source,"gi"),$o=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Po(e,u){if(u.charCodeAt(0)===35&&$o.test(u)){const n=u[1].toLowerCase()==="x"?parseInt(u.slice(2),16):parseInt(u.slice(1),10);return fn(n)?ot(n):e}const t=jr(e);return t!==e?t:e}function zo(e){return e.indexOf("\\")<0?e:e.replace(qr,"$1")}function gu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Lo,function(u,t,n){return t||Po(u,n)})}const Bo=/[&<>"]/,jo=/[&<>"]/g,Uo={"&":"&","<":"<",">":">",'"':"""};function qo(e){return Uo[e]}function Ge(e){return Bo.test(e)?e.replace(jo,qo):e}const Zo=/[.?*+^$[\]\\(){}|-]/g;function Vo(e){return e.replace(Zo,"\\$&")}function j(e){switch(e){case 9:case 32:return!0}return!1}function Mu(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Nu(e){return ln.test(e)||Pr.test(e)}function Lu(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function lt(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Ho={mdurl:go,ucmicro:xo},Wo=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ur,assign:ct,escapeHtml:Ge,escapeRE:Vo,fromCodePoint:ot,has:Mo,isMdAsciiPunct:Lu,isPunctChar:Nu,isSpace:j,isString:dn,isValidEntityCode:fn,isWhiteSpace:Mu,lib:Ho,normalizeReference:lt,unescapeAll:gu,unescapeMd:zo},Symbol.toStringTag,{value:"Module"}));function Go(e,u,t){let n,r,i,a;const o=e.posMax,s=e.pos;for(e.pos=u+1,n=1;e.pos<o;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)n++;else if(t)return e.pos=s,-1}}let c=-1;return r&&(c=e.pos),e.pos=s,c}function Yo(e,u,t){let n,r=u;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<t;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=gu(e.slice(u+1,r)),i.ok=!0,i;if(n===92&&r+1<t){r+=2;continue}r++}return i}let a=0;for(;r<t&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<t){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(a++,a>32))return i;if(n===41){if(a===0)break;a--}r++}return u===r||a!==0||(i.str=gu(e.slice(u,r)),i.pos=r,i.ok=!0),i}function Ko(e,u,t,n){let r,i=u;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)a.str=n.str,a.marker=n.marker;else{if(i>=t)return a;let o=e.charCodeAt(i);if(o!==34&&o!==39&&o!==40)return a;u++,i++,o===40&&(o=41),a.marker=o}for(;i<t;){if(r=e.charCodeAt(i),r===a.marker)return a.pos=i+1,a.str+=gu(e.slice(u,i)),a.ok=!0,a;if(r===40&&a.marker===41)return a;r===92&&i+1<t&&i++,i++}return a.can_continue=!0,a.str+=gu(e.slice(u,i)),a}const Jo=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Yo,parseLinkLabel:Go,parseLinkTitle:Ko},Symbol.toStringTag,{value:"Module"})),Se={};Se.code_inline=function(e,u,t,n,r){const i=e[u];return"<code"+r.renderAttrs(i)+">"+Ge(i.content)+"</code>"};Se.code_block=function(e,u,t,n,r){const i=e[u];return"<pre"+r.renderAttrs(i)+"><code>"+Ge(e[u].content)+`</code></pre>
|
|
421
|
+
`};Se.fence=function(e,u,t,n,r){const i=e[u],a=i.info?gu(i.info).trim():"";let o="",s="";if(a){const l=a.split(/(\s+)/g);o=l[0],s=l.slice(2).join("")}let c;if(t.highlight?c=t.highlight(i.content,o,s)||Ge(i.content):c=Ge(i.content),c.indexOf("<pre")===0)return c+`
|
|
422
|
+
`;if(a){const l=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[];l<0?f.push(["class",t.langPrefix+o]):(f[l]=f[l].slice(),f[l][1]+=" "+t.langPrefix+o);const h={attrs:f};return`<pre><code${r.renderAttrs(h)}>${c}</code></pre>
|
|
423
|
+
`}return`<pre><code${r.renderAttrs(i)}>${c}</code></pre>
|
|
424
|
+
`};Se.image=function(e,u,t,n,r){const i=e[u];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,t,n),r.renderToken(e,u,t)};Se.hardbreak=function(e,u,t){return t.xhtmlOut?`<br />
|
|
425
|
+
`:`<br>
|
|
426
|
+
`};Se.softbreak=function(e,u,t){return t.breaks?t.xhtmlOut?`<br />
|
|
427
|
+
`:`<br>
|
|
428
|
+
`:`
|
|
429
|
+
`};Se.text=function(e,u){return Ge(e[u].content)};Se.html_block=function(e,u){return e[u].content};Se.html_inline=function(e,u){return e[u].content};function _u(){this.rules=ct({},Se)}_u.prototype.renderAttrs=function(u){let t,n,r;if(!u.attrs)return"";for(r="",t=0,n=u.attrs.length;t<n;t++)r+=" "+Ge(u.attrs[t][0])+'="'+Ge(u.attrs[t][1])+'"';return r};_u.prototype.renderToken=function(u,t,n){const r=u[t];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&t&&u[t-1].hidden&&(i+=`
|
|
430
|
+
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1&&t+1<u.length)){const o=u[t+1];(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===r.tag)&&(a=!1)}return i+=a?`>
|
|
431
|
+
`:">",i};_u.prototype.renderInline=function(e,u,t){let n="";const r=this.rules;for(let i=0,a=e.length;i<a;i++){const o=e[i].type;typeof r[o]<"u"?n+=r[o](e,i,u,t,this):n+=this.renderToken(e,i,u)}return n};_u.prototype.renderInlineAsText=function(e,u,t){let n="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,u,t);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
|
432
|
+
`;break}return n};_u.prototype.render=function(e,u,t){let n="";const r=this.rules;for(let i=0,a=e.length;i<a;i++){const o=e[i].type;o==="inline"?n+=this.renderInline(e[i].children,u,t):typeof r[o]<"u"?n+=r[o](e,i,u,t,this):n+=this.renderToken(e,i,u,t)}return n};function oe(){this.__rules__=[],this.__cache__=null}oe.prototype.__find__=function(e){for(let u=0;u<this.__rules__.length;u++)if(this.__rules__[u].name===e)return u;return-1};oe.prototype.__compile__=function(){const e=this,u=[""];e.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(n){u.indexOf(n)<0&&u.push(n)})}),e.__cache__={},u.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})};oe.prototype.at=function(e,u,t){const n=this.__find__(e),r=t||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=u,this.__rules__[n].alt=r.alt||[],this.__cache__=null};oe.prototype.before=function(e,u,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:u,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null};oe.prototype.after=function(e,u,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:u,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null};oe.prototype.push=function(e,u,t){const n=t||{};this.__rules__.push({name:e,enabled:!0,fn:u,alt:n.alt||[]}),this.__cache__=null};oe.prototype.enable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,t.push(n)},this),this.__cache__=null,t};oe.prototype.enableOnly=function(e,u){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(e,u)};oe.prototype.disable=function(e,u){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(u)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,t.push(n)},this),this.__cache__=null,t};oe.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function _e(e,u,t){this.type=e,this.tag=u,this.attrs=null,this.map=null,this.nesting=t,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}_e.prototype.attrIndex=function(u){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===u)return n;return-1};_e.prototype.attrPush=function(u){this.attrs?this.attrs.push(u):this.attrs=[u]};_e.prototype.attrSet=function(u,t){const n=this.attrIndex(u),r=[u,t];n<0?this.attrPush(r):this.attrs[n]=r};_e.prototype.attrGet=function(u){const t=this.attrIndex(u);let n=null;return t>=0&&(n=this.attrs[t][1]),n};_e.prototype.attrJoin=function(u,t){const n=this.attrIndex(u);n<0?this.attrPush([u,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};function Zr(e,u,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=u}Zr.prototype.Token=_e;const Xo=/\r\n?|\n/g,Qo=/\0/g;function es(e){let u;u=e.src.replace(Xo,`
|
|
433
|
+
`),u=u.replace(Qo,"�"),e.src=u}function us(e){let u;e.inlineMode?(u=new e.Token("inline","",0),u.content=e.src,u.map=[0,1],u.children=[],e.tokens.push(u)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function ts(e){const u=e.tokens;for(let t=0,n=u.length;t<n;t++){const r=u[t];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function ns(e){return/^<a[>\s]/i.test(e)}function rs(e){return/^<\/a\s*>/i.test(e)}function is(e){const u=e.tokens;if(e.md.options.linkify)for(let t=0,n=u.length;t<n;t++){if(u[t].type!=="inline"||!e.md.linkify.pretest(u[t].content))continue;let r=u[t].children,i=0;for(let a=r.length-1;a>=0;a--){const o=r[a];if(o.type==="link_close"){for(a--;r[a].level!==o.level&&r[a].type!=="link_open";)a--;continue}if(o.type==="html_inline"&&(ns(o.content)&&i>0&&i--,rs(o.content)&&i++),!(i>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const s=o.content;let c=e.md.linkify.match(s);const l=[];let f=o.level,h=0;c.length>0&&c[0].index===0&&a>0&&r[a-1].type==="text_special"&&(c=c.slice(1));for(let m=0;m<c.length;m++){const p=c[m].url,T=e.md.normalizeLink(p);if(!e.md.validateLink(T))continue;let O=c[m].text;c[m].schema?c[m].schema==="mailto:"&&!/^mailto:/i.test(O)?O=e.md.normalizeLinkText("mailto:"+O).replace(/^mailto:/,""):O=e.md.normalizeLinkText(O):O=e.md.normalizeLinkText("http://"+O).replace(/^http:\/\//,"");const B=c[m].index;if(B>h){const w=new e.Token("text","",0);w.content=s.slice(h,B),w.level=f,l.push(w)}const D=new e.Token("link_open","a",1);D.attrs=[["href",T]],D.level=f++,D.markup="linkify",D.info="auto",l.push(D);const E=new e.Token("text","",0);E.content=O,E.level=f,l.push(E);const x=new e.Token("link_close","a",-1);x.level=--f,x.markup="linkify",x.info="auto",l.push(x),h=c[m].lastIndex}if(h<s.length){const m=new e.Token("text","",0);m.content=s.slice(h),m.level=f,l.push(m)}u[t].children=r=Ur(r,a,l)}}}}const Vr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,as=/\((c|tm|r)\)/i,os=/\((c|tm|r)\)/ig,ss={c:"©",r:"®",tm:"™"};function cs(e,u){return ss[u.toLowerCase()]}function ls(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&(n.content=n.content.replace(os,cs)),n.type==="link_open"&&n.info==="auto"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function ds(e){let u=0;for(let t=e.length-1;t>=0;t--){const n=e[t];n.type==="text"&&!u&&Vr.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&u--,n.type==="link_close"&&n.info==="auto"&&u++}}function fs(e){let u;if(e.md.options.typographer)for(u=e.tokens.length-1;u>=0;u--)e.tokens[u].type==="inline"&&(as.test(e.tokens[u].content)&&ls(e.tokens[u].children),Vr.test(e.tokens[u].content)&&ds(e.tokens[u].children))}const hs=/['"]/,or=/['"]/g,sr="’";function Yu(e,u,t){return e.slice(0,u)+t+e.slice(u+1)}function ps(e,u){let t;const n=[];for(let r=0;r<e.length;r++){const i=e[r],a=e[r].level;for(t=n.length-1;t>=0&&!(n[t].level<=a);t--);if(n.length=t+1,i.type!=="text")continue;let o=i.content,s=0,c=o.length;e:for(;s<c;){or.lastIndex=s;const l=or.exec(o);if(!l)break;let f=!0,h=!0;s=l.index+1;const m=l[0]==="'";let p=32;if(l.index-1>=0)p=o.charCodeAt(l.index-1);else for(t=r-1;t>=0&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t--)if(e[t].content){p=e[t].content.charCodeAt(e[t].content.length-1);break}let T=32;if(s<c)T=o.charCodeAt(s);else for(t=r+1;t<e.length&&!(e[t].type==="softbreak"||e[t].type==="hardbreak");t++)if(e[t].content){T=e[t].content.charCodeAt(0);break}const O=Lu(p)||Nu(String.fromCharCode(p)),B=Lu(T)||Nu(String.fromCharCode(T)),D=Mu(p),E=Mu(T);if(E?f=!1:B&&(D||O||(f=!1)),D?h=!1:O&&(E||B||(h=!1)),T===34&&l[0]==='"'&&p>=48&&p<=57&&(h=f=!1),f&&h&&(f=O,h=B),!f&&!h){m&&(i.content=Yu(i.content,l.index,sr));continue}if(h)for(t=n.length-1;t>=0;t--){let x=n[t];if(n[t].level<a)break;if(x.single===m&&n[t].level===a){x=n[t];let w,L;m?(w=u.md.options.quotes[2],L=u.md.options.quotes[3]):(w=u.md.options.quotes[0],L=u.md.options.quotes[1]),i.content=Yu(i.content,l.index,L),e[x.token].content=Yu(e[x.token].content,x.pos,w),s+=L.length-1,x.token===r&&(s+=w.length-1),o=i.content,c=o.length,n.length=t;continue e}}f?n.push({token:r,pos:l.index,single:m,level:a}):h&&m&&(i.content=Yu(i.content,l.index,sr))}}}function ms(e){if(e.md.options.typographer)for(let u=e.tokens.length-1;u>=0;u--)e.tokens[u].type!=="inline"||!hs.test(e.tokens[u].content)||ps(e.tokens[u].children,e)}function bs(e){let u,t;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const a=n[i].children,o=a.length;for(u=0;u<o;u++)a[u].type==="text_special"&&(a[u].type="text");for(u=t=0;u<o;u++)a[u].type==="text"&&u+1<o&&a[u+1].type==="text"?a[u+1].content=a[u].content+a[u+1].content:(u!==t&&(a[t]=a[u]),t++);u!==t&&(a.length=t)}}const It=[["normalize",es],["block",us],["inline",ts],["linkify",is],["replacements",fs],["smartquotes",ms],["text_join",bs]];function hn(){this.ruler=new oe;for(let e=0;e<It.length;e++)this.ruler.push(It[e][0],It[e][1])}hn.prototype.process=function(e){const u=this.ruler.getRules("");for(let t=0,n=u.length;t<n;t++)u[t](e)};hn.prototype.State=Zr;function Fe(e,u,t,n){this.src=e,this.md=u,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,a=0,o=0,s=0,c=r.length,l=!1;a<c;a++){const f=r.charCodeAt(a);if(!l)if(j(f)){o++,f===9?s+=4-s%4:s++;continue}else l=!0;(f===10||a===c-1)&&(f!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(o),this.sCount.push(s),this.bsCount.push(0),l=!1,o=0,s=0,i=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Fe.prototype.push=function(e,u,t){const n=new _e(e,u,t);return n.block=!0,t<0&&this.level--,n.level=this.level,t>0&&this.level++,this.tokens.push(n),n};Fe.prototype.isEmpty=function(u){return this.bMarks[u]+this.tShift[u]>=this.eMarks[u]};Fe.prototype.skipEmptyLines=function(u){for(let t=this.lineMax;u<t&&!(this.bMarks[u]+this.tShift[u]<this.eMarks[u]);u++);return u};Fe.prototype.skipSpaces=function(u){for(let t=this.src.length;u<t;u++){const n=this.src.charCodeAt(u);if(!j(n))break}return u};Fe.prototype.skipSpacesBack=function(u,t){if(u<=t)return u;for(;u>t;)if(!j(this.src.charCodeAt(--u)))return u+1;return u};Fe.prototype.skipChars=function(u,t){for(let n=this.src.length;u<n&&this.src.charCodeAt(u)===t;u++);return u};Fe.prototype.skipCharsBack=function(u,t,n){if(u<=n)return u;for(;u>n;)if(t!==this.src.charCodeAt(--u))return u+1;return u};Fe.prototype.getLines=function(u,t,n,r){if(u>=t)return"";const i=new Array(t-u);for(let a=0,o=u;o<t;o++,a++){let s=0;const c=this.bMarks[o];let l=c,f;for(o+1<t||r?f=this.eMarks[o]+1:f=this.eMarks[o];l<f&&s<n;){const h=this.src.charCodeAt(l);if(j(h))h===9?s+=4-(s+this.bsCount[o])%4:s++;else if(l-c<this.tShift[o])s++;else break;l++}s>n?i[a]=new Array(s-n+1).join(" ")+this.src.slice(l,f):i[a]=this.src.slice(l,f)}return i.join("")};Fe.prototype.Token=_e;const gs=65536;function Rt(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];return e.src.slice(t,n)}function cr(e){const u=[],t=e.length;let n=0,r=e.charCodeAt(n),i=!1,a=0,o="";for(;n<t;)r===124&&(i?(o+=e.substring(a,n-1),a=n):(u.push(o+e.substring(a,n)),o="",a=n+1)),i=r===92,n++,r=e.charCodeAt(n);return u.push(o+e.substring(a)),u}function _s(e,u,t,n){if(u+2>t)return!1;let r=u+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58||i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58&&!j(o)||a===45&&j(o))return!1;for(;i<e.eMarks[r];){const x=e.src.charCodeAt(i);if(x!==124&&x!==45&&x!==58&&!j(x))return!1;i++}let s=Rt(e,u+1),c=s.split("|");const l=[];for(let x=0;x<c.length;x++){const w=c[x].trim();if(!w){if(x===0||x===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(w))return!1;w.charCodeAt(w.length-1)===58?l.push(w.charCodeAt(0)===58?"center":"right"):w.charCodeAt(0)===58?l.push("left"):l.push("")}if(s=Rt(e,u).trim(),s.indexOf("|")===-1||e.sCount[u]-e.blkIndent>=4)return!1;c=cr(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==l.length)return!1;if(n)return!0;const h=e.parentType;e.parentType="table";const m=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),T=[u,0];p.map=T;const O=e.push("thead_open","thead",1);O.map=[u,u+1];const B=e.push("tr_open","tr",1);B.map=[u,u+1];for(let x=0;x<c.length;x++){const w=e.push("th_open","th",1);l[x]&&(w.attrs=[["style","text-align:"+l[x]]]);const L=e.push("inline","",0);L.content=c[x].trim(),L.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let D,E=0;for(r=u+2;r<t&&!(e.sCount[r]<e.blkIndent);r++){let x=!1;for(let L=0,H=m.length;L<H;L++)if(m[L](e,r,t,!0)){x=!0;break}if(x||(s=Rt(e,r).trim(),!s)||e.sCount[r]-e.blkIndent>=4||(c=cr(s),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),E+=f-c.length,E>gs))break;if(r===u+2){const L=e.push("tbody_open","tbody",1);L.map=D=[u+2,0]}const w=e.push("tr_open","tr",1);w.map=[r,r+1];for(let L=0;L<f;L++){const H=e.push("td_open","td",1);l[L]&&(H.attrs=[["style","text-align:"+l[L]]]);const se=e.push("inline","",0);se.content=c[L]?c[L].trim():"",se.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return D&&(e.push("tbody_close","tbody",-1),D[1]=r),e.push("table_close","table",-1),T[1]=r,e.parentType=h,e.line=r,!0}function xs(e,u,t){if(e.sCount[u]-e.blkIndent<4)return!1;let n=u+1,r=n;for(;n<t;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(u,r,4+e.blkIndent,!1)+`
|
|
434
|
+
`,i.map=[u,e.line],!0}function ys(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||r+3>i)return!1;const a=e.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let o=r;r=e.skipChars(r,a);let s=r-o;if(s<3)return!1;const c=e.src.slice(o,r),l=e.src.slice(r,i);if(a===96&&l.indexOf(String.fromCharCode(a))>=0)return!1;if(n)return!0;let f=u,h=!1;for(;f++,!(f>=t||(r=o=e.bMarks[f]+e.tShift[f],i=e.eMarks[f],r<i&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===a&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,a),!(r-o<s)&&(r=e.skipSpaces(r),!(r<i)))){h=!0;break}s=e.sCount[u],e.line=f+(h?1:0);const m=e.push("fence","code",0);return m.info=l,m.content=e.getLines(u+1,f,s,!0),m.markup=c,m.map=[u,e.line],!0}function ks(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];const a=e.lineMax;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const o=[],s=[],c=[],l=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let m=!1,p;for(p=u;p<t;p++){const E=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],i=e.eMarks[p],r>=i)break;if(e.src.charCodeAt(r++)===62&&!E){let w=e.sCount[p]+1,L,H;e.src.charCodeAt(r)===32?(r++,w++,H=!1,L=!0):e.src.charCodeAt(r)===9?(L=!0,(e.bsCount[p]+w)%4===3?(r++,w++,H=!1):H=!0):L=!1;let se=w;for(o.push(e.bMarks[p]),e.bMarks[p]=r;r<i;){const xe=e.src.charCodeAt(r);if(j(xe))xe===9?se+=4-(se+e.bsCount[p]+(H?1:0))%4:se++;else break;r++}m=r>=i,s.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(L?1:0),c.push(e.sCount[p]),e.sCount[p]=se-w,l.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(m)break;let x=!1;for(let w=0,L=f.length;w<L;w++)if(f[w](e,p,t,!0)){x=!0;break}if(x){e.lineMax=p,e.blkIndent!==0&&(o.push(e.bMarks[p]),s.push(e.bsCount[p]),l.push(e.tShift[p]),c.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}o.push(e.bMarks[p]),s.push(e.bsCount[p]),l.push(e.tShift[p]),c.push(e.sCount[p]),e.sCount[p]=-1}const T=e.blkIndent;e.blkIndent=0;const O=e.push("blockquote_open","blockquote",1);O.markup=">";const B=[u,0];O.map=B,e.md.block.tokenize(e,u,p);const D=e.push("blockquote_close","blockquote",-1);D.markup=">",e.lineMax=a,e.parentType=h,B[1]=e.line;for(let E=0;E<l.length;E++)e.bMarks[E+u]=o[E],e.tShift[E+u]=l[E],e.sCount[E+u]=c[E],e.bsCount[E+u]=s[E];return e.blkIndent=T,!0}function As(e,u,t,n){const r=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let i=e.bMarks[u]+e.tShift[u];const a=e.src.charCodeAt(i++);if(a!==42&&a!==45&&a!==95)return!1;let o=1;for(;i<r;){const c=e.src.charCodeAt(i++);if(c!==a&&!j(c))return!1;c===a&&o++}if(o<3)return!1;if(n)return!0;e.line=u+1;const s=e.push("hr","hr",0);return s.map=[u,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0}function lr(e,u){const t=e.eMarks[u];let n=e.bMarks[u]+e.tShift[u];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<t){const i=e.src.charCodeAt(n);if(!j(i))return-1}return n}function dr(e,u){const t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];let r=t;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-t>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!j(i))?-1:r}function vs(e,u){const t=e.level+2;for(let n=u+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===t&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Cs(e,u,t,n){let r,i,a,o,s=u,c=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let l=!1;n&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(l=!0);let f,h,m;if((m=dr(e,s))>=0){if(f=!0,a=e.bMarks[s]+e.tShift[s],h=Number(e.src.slice(a,m-1)),l&&h!==1)return!1}else if((m=lr(e,s))>=0)f=!1;else return!1;if(l&&e.skipSpaces(m)>=e.eMarks[s])return!1;if(n)return!0;const p=e.src.charCodeAt(m-1),T=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),h!==1&&(o.attrs=[["start",h]])):o=e.push("bullet_list_open","ul",1);const O=[s,0];o.map=O,o.markup=String.fromCharCode(p);let B=!1;const D=e.md.block.ruler.getRules("list"),E=e.parentType;for(e.parentType="list";s<t;){i=m,r=e.eMarks[s];const x=e.sCount[s]+m-(e.bMarks[s]+e.tShift[s]);let w=x;for(;i<r;){const Pe=e.src.charCodeAt(i);if(Pe===9)w+=4-(w+e.bsCount[s])%4;else if(Pe===32)w++;else break;i++}const L=i;let H;L>=r?H=1:H=w-x,H>4&&(H=1);const se=x+H;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(p);const xe=[s,0];o.map=xe,f&&(o.info=e.src.slice(a,m-1));const Ye=e.tight,W=e.tShift[s],xu=e.sCount[s],yu=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=se,e.tight=!0,e.tShift[s]=L-e.bMarks[s],e.sCount[s]=w,L>=r&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,s,t,!0),(!e.tight||B)&&(c=!1),B=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=yu,e.tShift[s]=W,e.sCount[s]=xu,e.tight=Ye,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(p),s=e.line,xe[1]=s,s>=t||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let Qe=!1;for(let Pe=0,bt=D.length;Pe<bt;Pe++)if(D[Pe](e,s,t,!0)){Qe=!0;break}if(Qe)break;if(f){if(m=dr(e,s),m<0)break;a=e.bMarks[s]+e.tShift[s]}else if(m=lr(e,s),m<0)break;if(p!==e.src.charCodeAt(m-1))break}return f?o=e.push("ordered_list_close","ol",-1):o=e.push("bullet_list_close","ul",-1),o.markup=String.fromCharCode(p),O[1]=s,e.line=s,e.parentType=E,c&&vs(e,T),!0}function Es(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u],a=u+1;if(e.sCount[u]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function o(D){const E=e.lineMax;if(D>=E||e.isEmpty(D))return null;let x=!1;if(e.sCount[D]-e.blkIndent>3&&(x=!0),e.sCount[D]<0&&(x=!0),!x){const H=e.md.block.ruler.getRules("reference"),se=e.parentType;e.parentType="reference";let xe=!1;for(let Ye=0,W=H.length;Ye<W;Ye++)if(H[Ye](e,D,E,!0)){xe=!0;break}if(e.parentType=se,xe)return null}const w=e.bMarks[D]+e.tShift[D],L=e.eMarks[D];return e.src.slice(w,L+1)}let s=e.src.slice(r,i+1);i=s.length;let c=-1;for(r=1;r<i;r++){const D=s.charCodeAt(r);if(D===91)return!1;if(D===93){c=r;break}else if(D===10){const E=o(a);E!==null&&(s+=E,i=s.length,a++)}else if(D===92&&(r++,r<i&&s.charCodeAt(r)===10)){const E=o(a);E!==null&&(s+=E,i=s.length,a++)}}if(c<0||s.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<i;r++){const D=s.charCodeAt(r);if(D===10){const E=o(a);E!==null&&(s+=E,i=s.length,a++)}else if(!j(D))break}const l=e.md.helpers.parseLinkDestination(s,r,i);if(!l.ok)return!1;const f=e.md.normalizeLink(l.str);if(!e.md.validateLink(f))return!1;r=l.pos;const h=r,m=a,p=r;for(;r<i;r++){const D=s.charCodeAt(r);if(D===10){const E=o(a);E!==null&&(s+=E,i=s.length,a++)}else if(!j(D))break}let T=e.md.helpers.parseLinkTitle(s,r,i);for(;T.can_continue;){const D=o(a);if(D===null)break;s+=D,r=i,i=s.length,a++,T=e.md.helpers.parseLinkTitle(s,r,i,T)}let O;for(r<i&&p!==r&&T.ok?(O=T.str,r=T.pos):(O="",r=h,a=m);r<i;){const D=s.charCodeAt(r);if(!j(D))break;r++}if(r<i&&s.charCodeAt(r)!==10&&O)for(O="",r=h,a=m;r<i;){const D=s.charCodeAt(r);if(!j(D))break;r++}if(r<i&&s.charCodeAt(r)!==10)return!1;const B=lt(s.slice(1,c));return B?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[B]>"u"&&(e.env.references[B]={title:O,href:f}),e.line=a),!0):!1}const Ds=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ws="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ts="[^\"'=<>`\\x00-\\x20]+",Ss="'[^']*'",Fs='"[^"]*"',Is="(?:"+Ts+"|"+Ss+"|"+Fs+")",Rs="(?:\\s+"+ws+"(?:\\s*=\\s*"+Is+")?)",Hr="<[A-Za-z][A-Za-z0-9\\-]*"+Rs+"*\\s*\\/?>",Wr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Os="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Ms="<[?][\\s\\S]*?[?]>",Ns="<![A-Za-z][^>]*>",Ls="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",$s=new RegExp("^(?:"+Hr+"|"+Wr+"|"+Os+"|"+Ms+"|"+Ns+"|"+Ls+")"),Ps=new RegExp("^(?:"+Hr+"|"+Wr+")"),su=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ds.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ps.source+"\\s*$"),/^$/,!1]];function zs(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let a=e.src.slice(r,i),o=0;for(;o<su.length&&!su[o][0].test(a);o++);if(o===su.length)return!1;if(n)return su[o][2];let s=u+1;if(!su[o][1].test(a)){for(;s<t&&!(e.sCount[s]<e.blkIndent);s++)if(r=e.bMarks[s]+e.tShift[s],i=e.eMarks[s],a=e.src.slice(r,i),su[o][1].test(a)){a.length!==0&&s++;break}}e.line=s;const c=e.push("html_block","",0);return c.map=[u,s],c.content=e.getLines(u,s,e.blkIndent,!0),!0}function Bs(e,u,t,n){let r=e.bMarks[u]+e.tShift[u],i=e.eMarks[u];if(e.sCount[u]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(a!==35||r>=i)return!1;let o=1;for(a=e.src.charCodeAt(++r);a===35&&r<i&&o<=6;)o++,a=e.src.charCodeAt(++r);if(o>6||r<i&&!j(a))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const s=e.skipCharsBack(i,35,r);s>r&&j(e.src.charCodeAt(s-1))&&(i=s),e.line=u+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[u,e.line];const l=e.push("inline","",0);l.content=e.src.slice(r,i).trim(),l.map=[u,e.line],l.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function js(e,u,t){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[u]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,a,o=u+1;for(;o<t&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3)continue;if(e.sCount[o]>=e.blkIndent){let m=e.bMarks[o]+e.tShift[o];const p=e.eMarks[o];if(m<p&&(a=e.src.charCodeAt(m),(a===45||a===61)&&(m=e.skipChars(m,a),m=e.skipSpaces(m),m>=p))){i=a===61?1:2;break}}if(e.sCount[o]<0)continue;let h=!1;for(let m=0,p=n.length;m<p;m++)if(n[m](e,o,t,!0)){h=!0;break}if(h)break}if(!i)return!1;const s=e.getLines(u,o,e.blkIndent,!1).trim();e.line=o+1;const c=e.push("heading_open","h"+String(i),1);c.markup=String.fromCharCode(a),c.map=[u,e.line];const l=e.push("inline","",0);l.content=s,l.map=[u,e.line-1],l.children=[];const f=e.push("heading_close","h"+String(i),-1);return f.markup=String.fromCharCode(a),e.parentType=r,!0}function Us(e,u,t){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=u+1;for(e.parentType="paragraph";i<t&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let c=!1;for(let l=0,f=n.length;l<f;l++)if(n[l](e,i,t,!0)){c=!0;break}if(c)break}const a=e.getLines(u,i,e.blkIndent,!1).trim();e.line=i;const o=e.push("paragraph_open","p",1);o.map=[u,e.line];const s=e.push("inline","",0);return s.content=a,s.map=[u,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Ku=[["table",_s,["paragraph","reference"]],["code",xs],["fence",ys,["paragraph","reference","blockquote","list"]],["blockquote",ks,["paragraph","reference","blockquote","list"]],["hr",As,["paragraph","reference","blockquote","list"]],["list",Cs,["paragraph","reference","blockquote"]],["reference",Es],["html_block",zs,["paragraph","reference","blockquote"]],["heading",Bs,["paragraph","reference","blockquote"]],["lheading",js],["paragraph",Us]];function dt(){this.ruler=new oe;for(let e=0;e<Ku.length;e++)this.ruler.push(Ku[e][0],Ku[e][1],{alt:(Ku[e][2]||[]).slice()})}dt.prototype.tokenize=function(e,u,t){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let a=u,o=!1;for(;a<t&&(e.line=a=e.skipEmptyLines(a),!(a>=t||e.sCount[a]<e.blkIndent));){if(e.level>=i){e.line=t;break}const s=e.line;let c=!1;for(let l=0;l<r;l++)if(c=n[l](e,a,t,!1),c){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),a=e.line,a<t&&e.isEmpty(a)&&(o=!0,a++,e.line=a)}};dt.prototype.parse=function(e,u,t,n){if(!e)return;const r=new this.State(e,u,t,n);this.tokenize(r,r.line,r.lineMax)};dt.prototype.State=Fe;function zu(e,u,t,n){this.src=e,this.env=t,this.md=u,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}zu.prototype.pushPending=function(){const e=new _e("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};zu.prototype.push=function(e,u,t){this.pending&&this.pushPending();const n=new _e(e,u,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};zu.prototype.scanDelims=function(e,u){const t=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<t&&this.src.charCodeAt(i)===n;)i++;const a=i-e,o=i<t?this.src.charCodeAt(i):32,s=Lu(r)||Nu(String.fromCharCode(r)),c=Lu(o)||Nu(String.fromCharCode(o)),l=Mu(r),f=Mu(o),h=!f&&(!c||l||s),m=!l&&(!s||f||c);return{can_open:h&&(u||!m||s),can_close:m&&(u||!h||c),length:a}};zu.prototype.Token=_e;function qs(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Zs(e,u){let t=e.pos;for(;t<e.posMax&&!qs(e.src.charCodeAt(t));)t++;return t===e.pos?!1:(u||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}const Vs=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Hs(e,u){if(!e.md.options.linkify||e.linkLevel>0)return!1;const t=e.pos,n=e.posMax;if(t+3>n||e.src.charCodeAt(t)!==58||e.src.charCodeAt(t+1)!==47||e.src.charCodeAt(t+2)!==47)return!1;const r=e.pending.match(Vs);if(!r)return!1;const i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(t-i.length));if(!a)return!1;let o=a.url;if(o.length<=i.length)return!1;let s=o.length;for(;s>0&&o.charCodeAt(s-1)===42;)s--;s!==o.length&&(o=o.slice(0,s));const c=e.md.normalizeLink(o);if(!e.md.validateLink(c))return!1;if(!u){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",c]],l.markup="linkify",l.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(o);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=o.length-i.length,!0}function Ws(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!u)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(t++;t<r&&j(e.src.charCodeAt(t));)t++;return e.pos=t,!0}const pn=[];for(let e=0;e<256;e++)pn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){pn[e.charCodeAt(0)]=1});function Gs(e,u){let t=e.pos;const n=e.posMax;if(e.src.charCodeAt(t)!==92||(t++,t>=n))return!1;let r=e.src.charCodeAt(t);if(r===10){for(u||e.push("hardbreak","br",0),t++;t<n&&(r=e.src.charCodeAt(t),!!j(r));)t++;return e.pos=t,!0}let i=e.src[t];if(r>=55296&&r<=56319&&t+1<n){const o=e.src.charCodeAt(t+1);o>=56320&&o<=57343&&(i+=e.src[t+1],t++)}const a="\\"+i;if(!u){const o=e.push("text_special","",0);r<256&&pn[r]!==0?o.content=i:o.content=a,o.markup=a,o.info="escape"}return e.pos=t+1,!0}function Ys(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==96)return!1;const r=t;t++;const i=e.posMax;for(;t<i&&e.src.charCodeAt(t)===96;)t++;const a=e.src.slice(r,t),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return u||(e.pending+=a),e.pos+=o,!0;let s=t,c;for(;(c=e.src.indexOf("`",s))!==-1;){for(s=c+1;s<i&&e.src.charCodeAt(s)===96;)s++;const l=s-c;if(l===o){if(!u){const f=e.push("code_inline","code",0);f.markup=a,f.content=e.src.slice(t,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[l]=c}return e.backticksScanned=!0,u||(e.pending+=a),e.pos+=o,!0}function Ks(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const a=String.fromCharCode(n);if(i<2)return!1;let o;i%2&&(o=e.push("text","",0),o.content=a,i--);for(let s=0;s<i;s+=2)o=e.push("text","",0),o.content=a+a,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function fr(e,u){let t;const n=[],r=u.length;for(let i=0;i<r;i++){const a=u[i];if(a.marker!==126||a.end===-1)continue;const o=u[a.end];t=e.tokens[a.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[o.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="",e.tokens[o.token-1].type==="text"&&e.tokens[o.token-1].content==="~"&&n.push(o.token-1)}for(;n.length;){const i=n.pop();let a=i+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,i!==a&&(t=e.tokens[a],e.tokens[a]=e.tokens[i],e.tokens[i]=t)}}function Js(e){const u=e.tokens_meta,t=e.tokens_meta.length;fr(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&fr(e,u[n].delimiters)}const Gr={tokenize:Ks,postProcess:Js};function Xs(e,u){const t=e.pos,n=e.src.charCodeAt(t);if(u||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const a=e.push("text","",0);a.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function hr(e,u){const t=u.length;for(let n=t-1;n>=0;n--){const r=u[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=u[r.end],a=n>0&&u[n-1].end===r.end+1&&u[n-1].marker===r.marker&&u[n-1].token===r.token-1&&u[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="";const c=e.tokens[i.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?o+o:o,c.content="",a&&(e.tokens[u[n-1].token].content="",e.tokens[u[r.end+1].token].content="",n--)}}function Qs(e){const u=e.tokens_meta,t=e.tokens_meta.length;hr(e,e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&hr(e,u[n].delimiters)}const Yr={tokenize:Xs,postProcess:Qs};function e0(e,u){let t,n,r,i,a="",o="",s=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const l=e.pos,f=e.posMax,h=e.pos+1,m=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(m<0)return!1;let p=m+1;if(p<f&&e.src.charCodeAt(p)===40){for(c=!1,p++;p<f&&(t=e.src.charCodeAt(p),!(!j(t)&&t!==10));p++);if(p>=f)return!1;if(s=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?p=r.pos:a="",s=p;p<f&&(t=e.src.charCodeAt(p),!(!j(t)&&t!==10));p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&s!==p&&r.ok)for(o=r.str,p=r.pos;p<f&&(t=e.src.charCodeAt(p),!(!j(t)&&t!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(c=!0),p++}if(c){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(s=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?n=e.src.slice(s,p++):p=m+1):p=m+1,n||(n=e.src.slice(h,m)),i=e.env.references[lt(n)],!i)return e.pos=l,!1;a=i.href,o=i.title}if(!u){e.pos=h,e.posMax=m;const T=e.push("link_open","a",1),O=[["href",a]];T.attrs=O,o&&O.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function u0(e,u){let t,n,r,i,a,o,s,c,l="";const f=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const m=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(i=p+1,i<h&&e.src.charCodeAt(i)===40){for(i++;i<h&&(t=e.src.charCodeAt(i),!(!j(t)&&t!==10));i++);if(i>=h)return!1;for(c=i,o=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),o.ok&&(l=e.md.normalizeLink(o.str),e.md.validateLink(l)?i=o.pos:l=""),c=i;i<h&&(t=e.src.charCodeAt(i),!(!j(t)&&t!==10));i++);if(o=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<h&&c!==i&&o.ok)for(s=o.str,i=o.pos;i<h&&(t=e.src.charCodeAt(i),!(!j(t)&&t!==10));i++);else s="";if(i>=h||e.src.charCodeAt(i)!==41)return e.pos=f,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<h&&e.src.charCodeAt(i)===91?(c=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(c,i++):i=p+1):i=p+1,r||(r=e.src.slice(m,p)),a=e.env.references[lt(r)],!a)return e.pos=f,!1;l=a.href,s=a.title}if(!u){n=e.src.slice(m,p);const T=[];e.md.inline.parse(n,e.md,e.env,T);const O=e.push("image","img",0),B=[["src",l],["alt",""]];O.attrs=B,O.children=T,O.content=n,s&&B.push(["title",s])}return e.pos=i,e.posMax=h,!0}const t0=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n0=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function r0(e,u){let t=e.pos;if(e.src.charCodeAt(t)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++t>=r)return!1;const a=e.src.charCodeAt(t);if(a===60)return!1;if(a===62)break}const i=e.src.slice(n+1,t);if(n0.test(i)){const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!u){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}if(t0.test(i)){const a=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(a))return!1;if(!u){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=i.length+2,!0}return!1}function i0(e){return/^<a[>\s]/i.test(e)}function a0(e){return/^<\/a\s*>/i.test(e)}function o0(e){const u=e|32;return u>=97&&u<=122}function s0(e,u){if(!e.md.options.html)return!1;const t=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=t)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!o0(r))return!1;const i=e.src.slice(n).match($s);if(!i)return!1;if(!u){const a=e.push("html_inline","",0);a.content=i[0],i0(a.content)&&e.linkLevel++,a0(a.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const c0=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l0=/^&([a-z][a-z0-9]{1,31});/i;function d0(e,u){const t=e.pos,n=e.posMax;if(e.src.charCodeAt(t)!==38||t+1>=n)return!1;if(e.src.charCodeAt(t+1)===35){const i=e.src.slice(t).match(c0);if(i){if(!u){const a=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),o=e.push("text_special","",0);o.content=fn(a)?ot(a):ot(65533),o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(t).match(l0);if(i){const a=jr(i[0]);if(a!==i[0]){if(!u){const o=e.push("text_special","",0);o.content=a,o.markup=i[0],o.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function pr(e){const u={},t=e.length;if(!t)return;let n=0,r=-2;const i=[];for(let a=0;a<t;a++){const o=e[a];if(i.push(0),(e[n].marker!==o.marker||r!==o.token-1)&&(n=a),r=o.token,o.length=o.length||0,!o.close)continue;u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]);const s=u[o.marker][(o.open?3:0)+o.length%3];let c=n-i[n]-1,l=c;for(;c>s;c-=i[c]+1){const f=e[c];if(f.marker===o.marker&&f.open&&f.end<0){let h=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(h=!0),!h){const m=c>0&&!e[c-1].open?i[c-1]+1:0;i[a]=a-c+m,i[c]=m,o.open=!1,f.end=a,f.close=!1,l=-1,r=-2;break}}}l!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=l)}}function f0(e){const u=e.tokens_meta,t=e.tokens_meta.length;pr(e.delimiters);for(let n=0;n<t;n++)u[n]&&u[n].delimiters&&pr(u[n].delimiters)}function h0(e){let u,t,n=0;const r=e.tokens,i=e.tokens.length;for(u=t=0;u<i;u++)r[u].nesting<0&&n--,r[u].level=n,r[u].nesting>0&&n++,r[u].type==="text"&&u+1<i&&r[u+1].type==="text"?r[u+1].content=r[u].content+r[u+1].content:(u!==t&&(r[t]=r[u]),t++);u!==t&&(r.length=t)}const Ot=[["text",Zs],["linkify",Hs],["newline",Ws],["escape",Gs],["backticks",Ys],["strikethrough",Gr.tokenize],["emphasis",Yr.tokenize],["link",e0],["image",u0],["autolink",r0],["html_inline",s0],["entity",d0]],Mt=[["balance_pairs",f0],["strikethrough",Gr.postProcess],["emphasis",Yr.postProcess],["fragments_join",h0]];function Bu(){this.ruler=new oe;for(let e=0;e<Ot.length;e++)this.ruler.push(Ot[e][0],Ot[e][1]);this.ruler2=new oe;for(let e=0;e<Mt.length;e++)this.ruler2.push(Mt[e][0],Mt[e][1])}Bu.prototype.skipToken=function(e){const u=e.pos,t=this.ruler.getRules(""),n=t.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[u]<"u"){e.pos=i[u];return}let a=!1;if(e.level<r){for(let o=0;o<n;o++)if(e.level++,a=t[o](e,!0),e.level--,a){if(u>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,i[u]=e.pos};Bu.prototype.tokenize=function(e){const u=this.ruler.getRules(""),t=u.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let a=!1;if(e.level<r){for(let o=0;o<t;o++)if(a=u[o](e,!1),a){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Bu.prototype.parse=function(e,u,t,n){const r=new this.State(e,u,t,n);this.tokenize(r);const i=this.ruler2.getRules(""),a=i.length;for(let o=0;o<a;o++)i[o](r)};Bu.prototype.State=zu;function p0(e){const u={};e=e||{},u.src_Any=Lr.source,u.src_Cc=$r.source,u.src_Z=zr.source,u.src_P=ln.source,u.src_ZPCc=[u.src_Z,u.src_P,u.src_Cc].join("|"),u.src_ZCc=[u.src_Z,u.src_Cc].join("|");const t="[><|]";return u.src_pseudo_letter="(?:(?!"+t+"|"+u.src_ZPCc+")"+u.src_Any+")",u.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",u.src_auth="(?:(?:(?!"+u.src_ZCc+"|[@/\\[\\]()]).)+@)?",u.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",u.src_host_terminator="(?=$|"+t+"|"+u.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+u.src_ZPCc+"))",u.src_path="(?:[/?#](?:(?!"+u.src_ZCc+"|"+t+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+u.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+u.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+u.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+u.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+u.src_ZCc+"|[']).)+\\'|\\'(?="+u.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+u.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+u.src_ZCc+"|$)|;(?!"+u.src_ZCc+"|$)|\\!+(?!"+u.src_ZCc+"|[!]|$)|\\?(?!"+u.src_ZCc+"|[?]|$))+|\\/)?",u.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',u.src_xn="xn--[a-z0-9\\-]{1,59}",u.src_domain_root="(?:"+u.src_xn+"|"+u.src_pseudo_letter+"{1,63})",u.src_domain="(?:"+u.src_xn+"|(?:"+u.src_pseudo_letter+")|(?:"+u.src_pseudo_letter+"(?:-|"+u.src_pseudo_letter+"){0,61}"+u.src_pseudo_letter+"))",u.src_host="(?:(?:(?:(?:"+u.src_domain+")\\.)*"+u.src_domain+"))",u.tpl_host_fuzzy="(?:"+u.src_ip4+"|(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%)))",u.tpl_host_no_ip_fuzzy="(?:(?:(?:"+u.src_domain+")\\.)+(?:%TLDS%))",u.src_host_strict=u.src_host+u.src_host_terminator,u.tpl_host_fuzzy_strict=u.tpl_host_fuzzy+u.src_host_terminator,u.src_host_port_strict=u.src_host+u.src_port+u.src_host_terminator,u.tpl_host_port_fuzzy_strict=u.tpl_host_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_port_no_ip_fuzzy_strict=u.tpl_host_no_ip_fuzzy+u.src_port+u.src_host_terminator,u.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+u.src_ZPCc+"|>|$))",u.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+u.src_ZCc+")("+u.src_email_name+"@"+u.tpl_host_fuzzy_strict+")",u.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_fuzzy_strict+u.src_path+")",u.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+u.src_ZPCc+"))((?![$+<=>^`||])"+u.tpl_host_port_no_ip_fuzzy_strict+u.src_path+")",u}function en(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function ft(e){return Object.prototype.toString.call(e)}function m0(e){return ft(e)==="[object String]"}function b0(e){return ft(e)==="[object Object]"}function g0(e){return ft(e)==="[object RegExp]"}function mr(e){return ft(e)==="[object Function]"}function _0(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Kr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function x0(e){return Object.keys(e||{}).reduce(function(u,t){return u||Kr.hasOwnProperty(t)},!1)}const y0={"http:":{validate:function(e,u,t){const n=e.slice(u);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,u,t){const n=e.slice(u);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(n)?u>=3&&e[u-3]===":"||u>=3&&e[u-3]==="/"?0:n.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,u,t){const n=e.slice(u);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},k0="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",A0="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function v0(e){e.__index__=-1,e.__text_cache__=""}function C0(e){return function(u,t){const n=u.slice(t);return e.test(n)?n.match(e)[0].length:0}}function br(){return function(e,u){u.normalize(e)}}function st(e){const u=e.re=p0(e.__opts__),t=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||t.push(k0),t.push(u.src_xn),u.src_tlds=t.join("|");function n(o){return o.replace("%TLDS%",u.src_tlds)}u.email_fuzzy=RegExp(n(u.tpl_email_fuzzy),"i"),u.link_fuzzy=RegExp(n(u.tpl_link_fuzzy),"i"),u.link_no_ip_fuzzy=RegExp(n(u.tpl_link_no_ip_fuzzy),"i"),u.host_fuzzy_test=RegExp(n(u.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(o,s){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+s)}Object.keys(e.__schemas__).forEach(function(o){const s=e.__schemas__[o];if(s===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,b0(s)){g0(s.validate)?c.validate=C0(s.validate):mr(s.validate)?c.validate=s.validate:i(o,s),mr(s.normalize)?c.normalize=s.normalize:s.normalize?i(o,s):c.normalize=br();return}if(m0(s)){r.push(o);return}i(o,s)}),r.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:br()};const a=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(_0).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+u.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),v0(e)}function E0(e,u){const t=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+u,this.lastIndex=n+u,this.raw=r,this.text=r,this.url=r}function un(e,u){const t=new E0(e,u);return e.__compiled__[t.schema].normalize(t,e),t}function de(e,u){if(!(this instanceof de))return new de(e,u);u||x0(e)&&(u=e,e={}),this.__opts__=en({},Kr,u),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=en({},y0,e),this.__compiled__={},this.__tlds__=A0,this.__tlds_replaced__=!1,this.re={},st(this)}de.prototype.add=function(u,t){return this.__schemas__[u]=t,st(this),this};de.prototype.set=function(u){return this.__opts__=en(this.__opts__,u),this};de.prototype.test=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return!1;let t,n,r,i,a,o,s,c,l;if(this.re.schema_test.test(u)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(u))!==null;)if(i=this.testSchemaAt(u,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=u.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(n=u.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(l=u.indexOf("@"),l>=0&&(r=u.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0};de.prototype.pretest=function(u){return this.re.pretest.test(u)};de.prototype.testSchemaAt=function(u,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(u,n,this):0};de.prototype.match=function(u){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===u&&(t.push(un(this,n)),n=this.__last_index__);let r=n?u.slice(n):u;for(;this.test(r);)t.push(un(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null};de.prototype.matchAtStart=function(u){if(this.__text_cache__=u,this.__index__=-1,!u.length)return null;const t=this.re.schema_at_start.exec(u);if(!t)return null;const n=this.testSchemaAt(u,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,un(this,0)):null};de.prototype.tlds=function(u,t){return u=Array.isArray(u)?u:[u],t?(this.__tlds__=this.__tlds__.concat(u).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),st(this),this):(this.__tlds__=u.slice(),this.__tlds_replaced__=!0,st(this),this)};de.prototype.normalize=function(u){u.schema||(u.url="http://"+u.url),u.schema==="mailto:"&&!/^mailto:/i.test(u.url)&&(u.url="mailto:"+u.url)};de.prototype.onCompile=function(){};const lu=2147483647,Ce=36,mn=1,$u=26,D0=38,w0=700,Jr=72,Xr=128,Qr="-",T0=/^xn--/,S0=/[^\0-\x7F]/,F0=/[\x2E\u3002\uFF0E\uFF61]/g,I0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Nt=Ce-mn,Ee=Math.floor,Lt=String.fromCharCode;function je(e){throw new RangeError(I0[e])}function R0(e,u){const t=[];let n=e.length;for(;n--;)t[n]=u(e[n]);return t}function ei(e,u){const t=e.split("@");let n="";t.length>1&&(n=t[0]+"@",e=t[1]),e=e.replace(F0,".");const r=e.split("."),i=R0(r,u).join(".");return n+i}function ui(e){const u=[];let t=0;const n=e.length;for(;t<n;){const r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){const i=e.charCodeAt(t++);(i&64512)==56320?u.push(((r&1023)<<10)+(i&1023)+65536):(u.push(r),t--)}else u.push(r)}return u}const O0=e=>String.fromCodePoint(...e),M0=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ce},gr=function(e,u){return e+22+75*(e<26)-((u!=0)<<5)},ti=function(e,u,t){let n=0;for(e=t?Ee(e/w0):e>>1,e+=Ee(e/u);e>Nt*$u>>1;n+=Ce)e=Ee(e/Nt);return Ee(n+(Nt+1)*e/(e+D0))},ni=function(e){const u=[],t=e.length;let n=0,r=Xr,i=Jr,a=e.lastIndexOf(Qr);a<0&&(a=0);for(let o=0;o<a;++o)e.charCodeAt(o)>=128&&je("not-basic"),u.push(e.charCodeAt(o));for(let o=a>0?a+1:0;o<t;){const s=n;for(let l=1,f=Ce;;f+=Ce){o>=t&&je("invalid-input");const h=M0(e.charCodeAt(o++));h>=Ce&&je("invalid-input"),h>Ee((lu-n)/l)&&je("overflow"),n+=h*l;const m=f<=i?mn:f>=i+$u?$u:f-i;if(h<m)break;const p=Ce-m;l>Ee(lu/p)&&je("overflow"),l*=p}const c=u.length+1;i=ti(n-s,c,s==0),Ee(n/c)>lu-r&&je("overflow"),r+=Ee(n/c),n%=c,u.splice(n++,0,r)}return String.fromCodePoint(...u)},ri=function(e){const u=[];e=ui(e);const t=e.length;let n=Xr,r=0,i=Jr;for(const s of e)s<128&&u.push(Lt(s));const a=u.length;let o=a;for(a&&u.push(Qr);o<t;){let s=lu;for(const l of e)l>=n&&l<s&&(s=l);const c=o+1;s-n>Ee((lu-r)/c)&&je("overflow"),r+=(s-n)*c,n=s;for(const l of e)if(l<n&&++r>lu&&je("overflow"),l===n){let f=r;for(let h=Ce;;h+=Ce){const m=h<=i?mn:h>=i+$u?$u:h-i;if(f<m)break;const p=f-m,T=Ce-m;u.push(Lt(gr(m+p%T,0))),f=Ee(p/T)}u.push(Lt(gr(f,0))),i=ti(r,c,o===a),r=0,++o}++r,++n}return u.join("")},N0=function(e){return ei(e,function(u){return T0.test(u)?ni(u.slice(4).toLowerCase()):u})},L0=function(e){return ei(e,function(u){return S0.test(u)?"xn--"+ri(u):u})},ii={version:"2.3.1",ucs2:{decode:ui,encode:O0},decode:ni,encode:ri,toASCII:L0,toUnicode:N0},$0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},P0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},z0={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},B0={default:$0,zero:P0,commonmark:z0},j0=/^(vbscript|javascript|file|data):/,U0=/^data:image\/(gif|png|jpeg|webp);/;function q0(e){const u=e.trim().toLowerCase();return j0.test(u)?U0.test(u):!0}const ai=["http:","https:","mailto:"];function Z0(e){const u=cn(e,!0);if(u.hostname&&(!u.protocol||ai.indexOf(u.protocol)>=0))try{u.hostname=ii.toASCII(u.hostname)}catch{}return Pu(sn(u))}function V0(e){const u=cn(e,!0);if(u.hostname&&(!u.protocol||ai.indexOf(u.protocol)>=0))try{u.hostname=ii.toUnicode(u.hostname)}catch{}return bu(sn(u),bu.defaultChars+"%")}function he(e,u){if(!(this instanceof he))return new he(e,u);u||dn(e)||(u=e||{},e="default"),this.inline=new Bu,this.block=new dt,this.core=new hn,this.renderer=new _u,this.linkify=new de,this.validateLink=q0,this.normalizeLink=Z0,this.normalizeLinkText=V0,this.utils=Wo,this.helpers=ct({},Jo),this.options={},this.configure(e),u&&this.set(u)}he.prototype.set=function(e){return ct(this.options,e),this};he.prototype.configure=function(e){const u=this;if(dn(e)){const t=e;if(e=B0[t],!e)throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&u[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&u[t].ruler2.enableOnly(e.components[t].rules2)}),this};he.prototype.enable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};he.prototype.disable=function(e,u){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return t.indexOf(r)<0});if(n.length&&!u)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};he.prototype.use=function(e){const u=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,u),this};he.prototype.parse=function(e,u){if(typeof e!="string")throw new Error("Input data should be a String");const t=new this.core.State(e,this,u);return this.core.process(t),t.tokens};he.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)};he.prototype.parseInline=function(e,u){const t=new this.core.State(e,this,u);return t.inlineMode=!0,this.core.process(t),t.tokens};he.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};class H0{originalClassMap=new Map;markdownIt=new he({highlight:(u,t)=>{if(t==="html"){const n=document.createElement("iframe");return n.classList.add("html-view"),n.srcdoc=u,n.sandbox.add(""),n.outerHTML}return u}});render(u,t){t&&this.applyTagClassMap(t);const n=this.markdownIt.render(u);return this.unapplyTagClassMap(),n}applyTagClassMap(u){Object.entries(u).forEach(([t,n])=>{let r;switch(t){case"p":r="paragraph";break;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":r="heading";break;case"ul":r="bullet_list";break;case"ol":r="ordered_list";break;case"li":r="list_item";break;case"a":r="link";break;case"strong":r="strong";break;case"em":r="em";break}if(!r)return;const i=`${r}_open`;if(this.originalClassMap.has(i))return;const a=this.markdownIt.renderer.rules[i];this.originalClassMap.set(i,a),this.markdownIt.renderer.rules[i]=(o,s,c,l,f)=>{const h=o[s];for(const m of n)h.attrJoin("class",m);return a?a.call(this,o,s,c,l,f):f.renderToken(o,s,c)}})}unapplyTagClassMap(){this.originalClassMap.forEach((u,t)=>{u?this.markdownIt.renderer.rules[t]=u:delete this.markdownIt.renderer.rules[t]}),this.originalClassMap.clear()}}let $t=null;function oi(){return $t||($t=new H0),$t}const ht=y.defineComponent({__name:"A2UIRenderer",props:{surfaceId:{},component:{}},setup(e){const u=e,{catalog:t}=rn(),n=y.shallowRef(null),r=y.ref({});let i=!1;async function a(){const o=t[u.component.type];if(!o){console.warn(`No component registered for type: ${u.component.type}`),n.value=null;return}let s,c={};if(typeof o=="function"){const l=await o();s=l.default??l}else{const l=await o.type();s=l.default??l,c=o.props(u.component)}r.value={surfaceId:u.surfaceId,component:u.component,weight:u.component.weight??"initial",...c},n.value=s}return y.watch(()=>[u.surfaceId,u.component],()=>a(),{immediate:!0,deep:!0}),y.onMounted(()=>{if(!i&&typeof document<"u"){const o=document.createElement("style");o.textContent=io,document.head.appendChild(o),i=!0}}),(o,s)=>n.value?(y.openBlock(),y.createBlock(y.resolveDynamicComponent(n.value),y.normalizeProps(y.mergeProps({key:0},r.value)),null,16)):y.createCommentVNode("",!0)}});let W0=0;function pt(e){const{theme:u}=rn(),t=Nr();function n(o){const s=e.component,c=e.surfaceId??void 0,l={};if(o.context){for(const h of o.context)if(h.value.literalBoolean!==void 0)l[h.key]=h.value.literalBoolean;else if(h.value.literalNumber!==void 0)l[h.key]=h.value.literalNumber;else if(h.value.literalString!==void 0)l[h.key]=h.value.literalString;else if(h.value.path){const m=t.resolvePath(h.value.path,s.dataContextPath),p=t.getData(s,m,c);l[h.key]=p}}const f={userAction:{name:o.name,sourceComponentId:s.id,surfaceId:c,timestamp:new Date().toISOString(),context:l}};return t.dispatch(f)}function r(o){const s=e.component,c=e.surfaceId;return!o||typeof o!="object"?null:o.literal!=null?o.literal:o.path?t.getData(s,o.path,c??void 0):"literalString"in o?o.literalString??null:"literalNumber"in o?o.literalNumber??null:"literalBoolean"in o?o.literalBoolean??null:null}function i(o){return`${o}-${W0++}`}function a(o,s,c,l){t.setData(o,s,c,l)}return{theme:u,processor:t,sendAction:n,resolvePrimitive:r,getUniqueId:i,setData:a}}const G0=["data-alignment","data-distribution"],Y0=y.defineComponent({__name:"A2UIRow",props:{surfaceId:{},component:{},weight:{},alignment:{},distribution:{}},setup(e){y.useCssVars(r=>({v2e813481:u.weight}));const u=e,{theme:t}=pt(u),n=y.computed(()=>{const r=u.alignment??"stretch",i=u.distribution??"start";return{...t.components.Row,[`align-${r}`]:!0,[`distribute-${i}`]:!0}});return(r,i)=>(y.openBlock(),y.createElementBlock("a2ui-row",{"data-alignment":e.alignment,"data-distribution":e.distribution},[y.createElementVNode("section",{class:y.normalizeClass(n.value),style:y.normalizeStyle(y.unref(t).additionalStyles?.Row)},[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(e.component.properties.children,(a,o)=>(y.openBlock(),y.createBlock(ht,{key:a.id||o,"surface-id":e.surfaceId,component:a},null,8,["surface-id","component"]))),128))],6)],8,G0))}}),mt=(e,u)=>{const t=e.__vccOpts||e;for(const[n,r]of u)t[n]=r;return t},K0=mt(Y0,[["__scopeId","data-v-b53b531f"]]),J0=y.defineComponent({__name:"A2UIColumn",props:{surfaceId:{},component:{},weight:{},alignment:{},distribution:{}},setup(e){y.useCssVars(r=>({v34ef1c34:u.weight}));const u=e,{theme:t}=pt(u),n=y.computed(()=>{const r=u.alignment??"stretch",i=u.distribution??"start";return{...t.components.Column,[`align-${r}`]:!0,[`distribute-${i}`]:!0}});return(r,i)=>(y.openBlock(),y.createElementBlock("a2ui-column",null,[y.createElementVNode("section",{class:y.normalizeClass(n.value),style:y.normalizeStyle(y.unref(t).additionalStyles?.Column)},[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(e.component.properties.children,(a,o)=>(y.openBlock(),y.createBlock(ht,{key:a.id||o,"surface-id":e.surfaceId,component:a},null,8,["surface-id","component"]))),128))],6)]))}}),X0=mt(J0,[["__scopeId","data-v-962911bf"]]);const{entries:si,setPrototypeOf:_r,isFrozen:Q0,getPrototypeOf:ec,getOwnPropertyDescriptor:uc}=Object;let{freeze:re,seal:pe,create:Qu}=Object,{apply:tn,construct:nn}=typeof Reflect<"u"&&Reflect;re||(re=function(u){return u});pe||(pe=function(u){return u});tn||(tn=function(u,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return u.apply(t,r)});nn||(nn=function(u){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new u(...n)});const Ju=ie(Array.prototype.forEach),tc=ie(Array.prototype.lastIndexOf),xr=ie(Array.prototype.pop),Cu=ie(Array.prototype.push),nc=ie(Array.prototype.splice),et=ie(String.prototype.toLowerCase),Pt=ie(String.prototype.toString),zt=ie(String.prototype.match),Eu=ie(String.prototype.replace),rc=ie(String.prototype.indexOf),ic=ie(String.prototype.trim),ce=ie(Object.prototype.hasOwnProperty),ne=ie(RegExp.prototype.test),Du=ac(TypeError);function ie(e){return function(u){u instanceof RegExp&&(u.lastIndex=0);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return tn(e,u,n)}}function ac(e){return function(){for(var u=arguments.length,t=new Array(u),n=0;n<u;n++)t[n]=arguments[n];return nn(e,t)}}function M(e,u){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:et;_r&&_r(e,null);let n=u.length;for(;n--;){let r=u[n];if(typeof r=="string"){const i=t(r);i!==r&&(Q0(u)||(u[n]=i),r=i)}e[r]=!0}return e}function oc(e){for(let u=0;u<e.length;u++)ce(e,u)||(e[u]=null);return e}function ve(e){const u=Qu(null);for(const[t,n]of si(e))ce(e,t)&&(Array.isArray(n)?u[t]=oc(n):n&&typeof n=="object"&&n.constructor===Object?u[t]=ve(n):u[t]=n);return u}function wu(e,u){for(;e!==null;){const n=uc(e,u);if(n){if(n.get)return ie(n.get);if(typeof n.value=="function")return ie(n.value)}e=ec(e)}function t(){return null}return t}const yr=re(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Bt=re(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),jt=re(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),sc=re(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ut=re(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cc=re(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),kr=re(["#text"]),Ar=re(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),qt=re(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),vr=re(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xu=re(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),lc=pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm),dc=pe(/<%[\w\W]*|[\w\W]*%>/gm),fc=pe(/\$\{[\w\W]*/gm),hc=pe(/^data-[\-\w.\u00B7-\uFFFF]+$/),pc=pe(/^aria-[\-\w]+$/),ci=pe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mc=pe(/^(?:\w+script|data):/i),bc=pe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),li=pe(/^html$/i),gc=pe(/^[a-z][.\w]*(-[.\w]+)+$/i);var Cr=Object.freeze({__proto__:null,ARIA_ATTR:pc,ATTR_WHITESPACE:bc,CUSTOM_ELEMENT:gc,DATA_ATTR:hc,DOCTYPE_NAME:li,ERB_EXPR:dc,IS_ALLOWED_URI:ci,IS_SCRIPT_OR_DATA:mc,MUSTACHE_EXPR:lc,TMPLIT_EXPR:fc});const Tu={element:1,text:3,progressingInstruction:7,comment:8,document:9},_c=function(){return typeof window>"u"?null:window},xc=function(u,t){if(typeof u!="object"||typeof u.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return u.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Er=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function di(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_c();const u=C=>di(C);if(u.version="3.3.3",u.removed=[],!e||!e.document||e.document.nodeType!==Tu.document||!e.Element)return u.isSupported=!1,u;let{document:t}=e;const n=t,r=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:o,Element:s,NodeFilter:c,NamedNodeMap:l=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:m}=e,p=s.prototype,T=wu(p,"cloneNode"),O=wu(p,"remove"),B=wu(p,"nextSibling"),D=wu(p,"childNodes"),E=wu(p,"parentNode");if(typeof a=="function"){const C=t.createElement("template");C.content&&C.content.ownerDocument&&(t=C.content.ownerDocument)}let x,w="";const{implementation:L,createNodeIterator:H,createDocumentFragment:se,getElementsByTagName:xe}=t,{importNode:Ye}=n;let W=Er();u.isSupported=typeof si=="function"&&typeof E=="function"&&L&&L.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:xu,ERB_EXPR:yu,TMPLIT_EXPR:Qe,DATA_ATTR:Pe,ARIA_ATTR:bt,IS_SCRIPT_OR_DATA:fi,ATTR_WHITESPACE:bn,CUSTOM_ELEMENT:hi}=Cr;let{IS_ALLOWED_URI:gn}=Cr,K=null;const _n=M({},[...yr,...Bt,...jt,...Ut,...kr]);let ee=null;const xn=M({},[...Ar,...qt,...vr,...Xu]);let q=Object.seal(Qu(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ku=null,ju=null;const ze=Object.seal(Qu(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let yn=!0,gt=!0,kn=!1,An=!0,eu=!1,Uu=!0,Ke=!1,_t=!1,xt=!1,uu=!1,qu=!1,Zu=!1,vn=!0,Cn=!1;const pi="user-content-";let yt=!0,Au=!1,tu={},ye=null;const kt=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let En=null;const Dn=M({},["audio","video","img","source","image","track"]);let At=null;const wn=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vu="http://www.w3.org/1998/Math/MathML",Hu="http://www.w3.org/2000/svg",Ie="http://www.w3.org/1999/xhtml";let nu=Ie,vt=!1,Ct=null;const mi=M({},[Vu,Hu,Ie],Pt);let Wu=M({},["mi","mo","mn","ms","mtext"]),Gu=M({},["annotation-xml"]);const bi=M({},["title","style","font","a","script"]);let vu=null;const gi=["application/xhtml+xml","text/html"],_i="text/html";let G=null,ru=null;const xi=t.createElement("form"),Tn=function(d){return d instanceof RegExp||d instanceof Function},Et=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ru&&ru===d)){if((!d||typeof d!="object")&&(d={}),d=ve(d),vu=gi.indexOf(d.PARSER_MEDIA_TYPE)===-1?_i:d.PARSER_MEDIA_TYPE,G=vu==="application/xhtml+xml"?Pt:et,K=ce(d,"ALLOWED_TAGS")?M({},d.ALLOWED_TAGS,G):_n,ee=ce(d,"ALLOWED_ATTR")?M({},d.ALLOWED_ATTR,G):xn,Ct=ce(d,"ALLOWED_NAMESPACES")?M({},d.ALLOWED_NAMESPACES,Pt):mi,At=ce(d,"ADD_URI_SAFE_ATTR")?M(ve(wn),d.ADD_URI_SAFE_ATTR,G):wn,En=ce(d,"ADD_DATA_URI_TAGS")?M(ve(Dn),d.ADD_DATA_URI_TAGS,G):Dn,ye=ce(d,"FORBID_CONTENTS")?M({},d.FORBID_CONTENTS,G):kt,ku=ce(d,"FORBID_TAGS")?M({},d.FORBID_TAGS,G):ve({}),ju=ce(d,"FORBID_ATTR")?M({},d.FORBID_ATTR,G):ve({}),tu=ce(d,"USE_PROFILES")?d.USE_PROFILES:!1,yn=d.ALLOW_ARIA_ATTR!==!1,gt=d.ALLOW_DATA_ATTR!==!1,kn=d.ALLOW_UNKNOWN_PROTOCOLS||!1,An=d.ALLOW_SELF_CLOSE_IN_ATTR!==!1,eu=d.SAFE_FOR_TEMPLATES||!1,Uu=d.SAFE_FOR_XML!==!1,Ke=d.WHOLE_DOCUMENT||!1,uu=d.RETURN_DOM||!1,qu=d.RETURN_DOM_FRAGMENT||!1,Zu=d.RETURN_TRUSTED_TYPE||!1,xt=d.FORCE_BODY||!1,vn=d.SANITIZE_DOM!==!1,Cn=d.SANITIZE_NAMED_PROPS||!1,yt=d.KEEP_CONTENT!==!1,Au=d.IN_PLACE||!1,gn=d.ALLOWED_URI_REGEXP||ci,nu=d.NAMESPACE||Ie,Wu=d.MATHML_TEXT_INTEGRATION_POINTS||Wu,Gu=d.HTML_INTEGRATION_POINTS||Gu,q=d.CUSTOM_ELEMENT_HANDLING||{},d.CUSTOM_ELEMENT_HANDLING&&Tn(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=d.CUSTOM_ELEMENT_HANDLING.tagNameCheck),d.CUSTOM_ELEMENT_HANDLING&&Tn(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),d.CUSTOM_ELEMENT_HANDLING&&typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eu&&(gt=!1),qu&&(uu=!0),tu&&(K=M({},kr),ee=Qu(null),tu.html===!0&&(M(K,yr),M(ee,Ar)),tu.svg===!0&&(M(K,Bt),M(ee,qt),M(ee,Xu)),tu.svgFilters===!0&&(M(K,jt),M(ee,qt),M(ee,Xu)),tu.mathMl===!0&&(M(K,Ut),M(ee,vr),M(ee,Xu))),ce(d,"ADD_TAGS")||(ze.tagCheck=null),ce(d,"ADD_ATTR")||(ze.attributeCheck=null),d.ADD_TAGS&&(typeof d.ADD_TAGS=="function"?ze.tagCheck=d.ADD_TAGS:(K===_n&&(K=ve(K)),M(K,d.ADD_TAGS,G))),d.ADD_ATTR&&(typeof d.ADD_ATTR=="function"?ze.attributeCheck=d.ADD_ATTR:(ee===xn&&(ee=ve(ee)),M(ee,d.ADD_ATTR,G))),d.ADD_URI_SAFE_ATTR&&M(At,d.ADD_URI_SAFE_ATTR,G),d.FORBID_CONTENTS&&(ye===kt&&(ye=ve(ye)),M(ye,d.FORBID_CONTENTS,G)),d.ADD_FORBID_CONTENTS&&(ye===kt&&(ye=ve(ye)),M(ye,d.ADD_FORBID_CONTENTS,G)),yt&&(K["#text"]=!0),Ke&&M(K,["html","head","body"]),K.table&&(M(K,["tbody"]),delete ku.tbody),d.TRUSTED_TYPES_POLICY){if(typeof d.TRUSTED_TYPES_POLICY.createHTML!="function")throw Du('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof d.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Du('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=d.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else x===void 0&&(x=xc(m,r)),x!==null&&typeof w=="string"&&(w=x.createHTML(""));re&&re(d),ru=d}},Sn=M({},[...Bt,...jt,...sc]),Fn=M({},[...Ut,...cc]),yi=function(d){let g=E(d);(!g||!g.tagName)&&(g={namespaceURI:nu,tagName:"template"});const A=et(d.tagName),U=et(g.tagName);return Ct[d.namespaceURI]?d.namespaceURI===Hu?g.namespaceURI===Ie?A==="svg":g.namespaceURI===Vu?A==="svg"&&(U==="annotation-xml"||Wu[U]):!!Sn[A]:d.namespaceURI===Vu?g.namespaceURI===Ie?A==="math":g.namespaceURI===Hu?A==="math"&&Gu[U]:!!Fn[A]:d.namespaceURI===Ie?g.namespaceURI===Hu&&!Gu[U]||g.namespaceURI===Vu&&!Wu[U]?!1:!Fn[A]&&(bi[A]||!Sn[A]):!!(vu==="application/xhtml+xml"&&Ct[d.namespaceURI]):!1},ke=function(d){Cu(u.removed,{element:d});try{E(d).removeChild(d)}catch{O(d)}},Je=function(d,g){try{Cu(u.removed,{attribute:g.getAttributeNode(d),from:g})}catch{Cu(u.removed,{attribute:null,from:g})}if(g.removeAttribute(d),d==="is")if(uu||qu)try{ke(g)}catch{}else try{g.setAttribute(d,"")}catch{}},In=function(d){let g=null,A=null;if(xt)d="<remove></remove>"+d;else{const Z=zt(d,/^[\r\n\t ]+/);A=Z&&Z[0]}vu==="application/xhtml+xml"&&nu===Ie&&(d='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+d+"</body></html>");const U=x?x.createHTML(d):d;if(nu===Ie)try{g=new h().parseFromString(U,vu)}catch{}if(!g||!g.documentElement){g=L.createDocument(nu,"template",null);try{g.documentElement.innerHTML=vt?w:U}catch{}}const te=g.body||g.documentElement;return d&&A&&te.insertBefore(t.createTextNode(A),te.childNodes[0]||null),nu===Ie?xe.call(g,Ke?"html":"body")[0]:Ke?g.documentElement:te},Rn=function(d){return H.call(d.ownerDocument||d,d,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Dt=function(d){return d instanceof f&&(typeof d.nodeName!="string"||typeof d.textContent!="string"||typeof d.removeChild!="function"||!(d.attributes instanceof l)||typeof d.removeAttribute!="function"||typeof d.setAttribute!="function"||typeof d.namespaceURI!="string"||typeof d.insertBefore!="function"||typeof d.hasChildNodes!="function")},On=function(d){return typeof o=="function"&&d instanceof o};function Re(C,d,g){Ju(C,A=>{A.call(u,d,g,ru)})}const Mn=function(d){let g=null;if(Re(W.beforeSanitizeElements,d,null),Dt(d))return ke(d),!0;const A=G(d.nodeName);if(Re(W.uponSanitizeElement,d,{tagName:A,allowedTags:K}),Uu&&d.hasChildNodes()&&!On(d.firstElementChild)&&ne(/<[/\w!]/g,d.innerHTML)&&ne(/<[/\w!]/g,d.textContent)||d.nodeType===Tu.progressingInstruction||Uu&&d.nodeType===Tu.comment&&ne(/<[/\w]/g,d.data))return ke(d),!0;if(!(ze.tagCheck instanceof Function&&ze.tagCheck(A))&&(!K[A]||ku[A])){if(!ku[A]&&Ln(A)&&(q.tagNameCheck instanceof RegExp&&ne(q.tagNameCheck,A)||q.tagNameCheck instanceof Function&&q.tagNameCheck(A)))return!1;if(yt&&!ye[A]){const U=E(d)||d.parentNode,te=D(d)||d.childNodes;if(te&&U){const Z=te.length;for(let ae=Z-1;ae>=0;--ae){const Oe=T(te[ae],!0);Oe.__removalCount=(d.__removalCount||0)+1,U.insertBefore(Oe,B(d))}}}return ke(d),!0}return d instanceof s&&!yi(d)||(A==="noscript"||A==="noembed"||A==="noframes")&&ne(/<\/no(script|embed|frames)/i,d.innerHTML)?(ke(d),!0):(eu&&d.nodeType===Tu.text&&(g=d.textContent,Ju([xu,yu,Qe],U=>{g=Eu(g,U," ")}),d.textContent!==g&&(Cu(u.removed,{element:d.cloneNode()}),d.textContent=g)),Re(W.afterSanitizeElements,d,null),!1)},Nn=function(d,g,A){if(ju[g]||vn&&(g==="id"||g==="name")&&(A in t||A in xi))return!1;if(!(gt&&!ju[g]&&ne(Pe,g))){if(!(yn&&ne(bt,g))){if(!(ze.attributeCheck instanceof Function&&ze.attributeCheck(g,d))){if(!ee[g]||ju[g]){if(!(Ln(d)&&(q.tagNameCheck instanceof RegExp&&ne(q.tagNameCheck,d)||q.tagNameCheck instanceof Function&&q.tagNameCheck(d))&&(q.attributeNameCheck instanceof RegExp&&ne(q.attributeNameCheck,g)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(g,d))||g==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&ne(q.tagNameCheck,A)||q.tagNameCheck instanceof Function&&q.tagNameCheck(A))))return!1}else if(!At[g]){if(!ne(gn,Eu(A,bn,""))){if(!((g==="src"||g==="xlink:href"||g==="href")&&d!=="script"&&rc(A,"data:")===0&&En[d])){if(!(kn&&!ne(fi,Eu(A,bn,"")))){if(A)return!1}}}}}}}return!0},Ln=function(d){return d!=="annotation-xml"&&zt(d,hi)},$n=function(d){Re(W.beforeSanitizeAttributes,d,null);const{attributes:g}=d;if(!g||Dt(d))return;const A={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ee,forceKeepAttr:void 0};let U=g.length;for(;U--;){const te=g[U],{name:Z,namespaceURI:ae,value:Oe}=te,iu=G(Z),wt=Oe;let ue=Z==="value"?wt:ic(wt);if(A.attrName=iu,A.attrValue=ue,A.keepAttr=!0,A.forceKeepAttr=void 0,Re(W.uponSanitizeAttribute,d,A),ue=A.attrValue,Cn&&(iu==="id"||iu==="name")&&(Je(Z,d),ue=pi+ue),Uu&&ne(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ue)){Je(Z,d);continue}if(iu==="attributename"&&zt(ue,"href")){Je(Z,d);continue}if(A.forceKeepAttr)continue;if(!A.keepAttr){Je(Z,d);continue}if(!An&&ne(/\/>/i,ue)){Je(Z,d);continue}eu&&Ju([xu,yu,Qe],zn=>{ue=Eu(ue,zn," ")});const Pn=G(d.nodeName);if(!Nn(Pn,iu,ue)){Je(Z,d);continue}if(x&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!ae)switch(m.getAttributeType(Pn,iu)){case"TrustedHTML":{ue=x.createHTML(ue);break}case"TrustedScriptURL":{ue=x.createScriptURL(ue);break}}if(ue!==wt)try{ae?d.setAttributeNS(ae,Z,ue):d.setAttribute(Z,ue),Dt(d)?ke(d):xr(u.removed)}catch{Je(Z,d)}}Re(W.afterSanitizeAttributes,d,null)},ki=function C(d){let g=null;const A=Rn(d);for(Re(W.beforeSanitizeShadowDOM,d,null);g=A.nextNode();)Re(W.uponSanitizeShadowNode,g,null),Mn(g),$n(g),g.content instanceof i&&C(g.content);Re(W.afterSanitizeShadowDOM,d,null)};return u.sanitize=function(C){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=null,A=null,U=null,te=null;if(vt=!C,vt&&(C="<!-->"),typeof C!="string"&&!On(C))if(typeof C.toString=="function"){if(C=C.toString(),typeof C!="string")throw Du("dirty is not a string, aborting")}else throw Du("toString is not a function");if(!u.isSupported)return C;if(_t||Et(d),u.removed=[],typeof C=="string"&&(Au=!1),Au){if(C.nodeName){const Oe=G(C.nodeName);if(!K[Oe]||ku[Oe])throw Du("root node is forbidden and cannot be sanitized in-place")}}else if(C instanceof o)g=In("<!---->"),A=g.ownerDocument.importNode(C,!0),A.nodeType===Tu.element&&A.nodeName==="BODY"||A.nodeName==="HTML"?g=A:g.appendChild(A);else{if(!uu&&!eu&&!Ke&&C.indexOf("<")===-1)return x&&Zu?x.createHTML(C):C;if(g=In(C),!g)return uu?null:Zu?w:""}g&&xt&&ke(g.firstChild);const Z=Rn(Au?C:g);for(;U=Z.nextNode();)Mn(U),$n(U),U.content instanceof i&&ki(U.content);if(Au)return C;if(uu){if(qu)for(te=se.call(g.ownerDocument);g.firstChild;)te.appendChild(g.firstChild);else te=g;return(ee.shadowroot||ee.shadowrootmode)&&(te=Ye.call(n,te,!0)),te}let ae=Ke?g.outerHTML:g.innerHTML;return Ke&&K["!doctype"]&&g.ownerDocument&&g.ownerDocument.doctype&&g.ownerDocument.doctype.name&&ne(li,g.ownerDocument.doctype.name)&&(ae="<!DOCTYPE "+g.ownerDocument.doctype.name+`>
|
|
435
|
+
`+ae),eu&&Ju([xu,yu,Qe],Oe=>{ae=Eu(ae,Oe," ")}),x&&Zu?x.createHTML(ae):ae},u.setConfig=function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Et(C),_t=!0},u.clearConfig=function(){ru=null,_t=!1},u.isValidAttribute=function(C,d,g){ru||Et({});const A=G(C),U=G(d);return Nn(A,U,g)},u.addHook=function(C,d){typeof d=="function"&&Cu(W[C],d)},u.removeHook=function(C,d){if(d!==void 0){const g=tc(W[C],d);return g===-1?void 0:nc(W[C],g,1)[0]}return xr(W[C])},u.removeHooks=function(C){W[C]=[]},u.removeAllHooks=function(){W=Er()},u}var yc=di();const kc=["innerHTML"],Ac=y.defineComponent({__name:"A2UIText",props:{surfaceId:{},component:{},weight:{},text:{},usageHint:{}},setup(e){y.useCssVars(c=>({v8882f3e6:u.weight}));const u=e,{theme:t,resolvePrimitive:n}=pt(u),r=oi(),i=y.computed(()=>{const c=u.usageHint;let l=n(u.text);if(l==null)return"(empty)";switch(c){case"h1":l=`# ${l}`;break;case"h2":l=`## ${l}`;break;case"h3":l=`### ${l}`;break;case"h4":l=`#### ${l}`;break;case"h5":l=`##### ${l}`;break;case"caption":l=`*${l}*`;break;default:l=String(l);break}return yc.sanitize(r.render(l,Qa(t.markdown,["ol","ul","li"],{})))}),a=y.computed(()=>{const c=u.usageHint;return Or(t.components.Text.all,c?t.components.Text[c]:{})}),o=y.computed(()=>{const c=u.usageHint,l=t.additionalStyles?.Text;if(!l)return null;let f={};return s(l)?f=l[c??"body"]:f=l,f});function s(c){return typeof c!="object"||!c||Array.isArray(c)?!1:["h1","h2","h3","h4","h5","h6","caption","body"].every(f=>f in c)}return(c,l)=>(y.openBlock(),y.createElementBlock("a2ui-text",null,[y.createElementVNode("section",{class:y.normalizeClass(a.value),style:y.normalizeStyle(o.value),innerHTML:i.value},null,14,kc)]))}}),vc={Row:{type:()=>K0,props:e=>{const u=e.properties;return{alignment:u.alignment??"stretch",distribution:u.distribution??"start"}}},Column:{type:()=>X0,props:e=>{const u=e.properties;return{alignment:u.alignment??"stretch",distribution:u.distribution??"start"}}},List:{type:()=>Promise.resolve().then(()=>require("./A2UIList-BqdYBWRw.cjs")).then(e=>e.default),props:e=>({direction:e.properties.direction??"vertical"})},Card:()=>Promise.resolve().then(()=>require("./A2UICard--_T_isvU.cjs")).then(e=>e.default),Image:{type:()=>Promise.resolve().then(()=>require("./A2UIImage-BSUuRZUD.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{url:u.url,usageHint:u.usageHint}}},Icon:{type:()=>Promise.resolve().then(()=>require("./A2UIIcon-Bcd0cbht.cjs")).then(e=>e.default),props:e=>({name:e.properties.name})},Video:{type:()=>Promise.resolve().then(()=>require("./A2UIVideo-BlJlTrZ9.cjs")).then(e=>e.default),props:e=>({url:e.properties.url})},AudioPlayer:{type:()=>Promise.resolve().then(()=>require("./A2UIAudio-Dk04owGa.cjs")).then(e=>e.default),props:e=>({url:e.properties.url})},Text:{type:()=>Ac,props:e=>{const u=e.properties;return{text:u.text,usageHint:u.usageHint||null}}},Button:{type:()=>Promise.resolve().then(()=>require("./A2UIButton-DwvJiYmv.cjs")).then(e=>e.default),props:e=>({action:e.properties.action})},Divider:()=>Promise.resolve().then(()=>require("./A2UIDivider-BGrs9_ef.cjs")).then(e=>e.default),MultipleChoice:{type:()=>Promise.resolve().then(()=>require("./A2UIMultipleChoice-BgozRN_k.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{options:u.options||[],value:u.selections,description:"Select an item"}}},TextField:{type:()=>Promise.resolve().then(()=>require("./A2UITextField-Ba85Y1ag.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{text:u.text??null,label:u.label,textFieldType:u.textFieldType}}},DateTimeInput:{type:()=>Promise.resolve().then(()=>require("./A2UIDateTimeInput-BdcHcmk1.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{enableDate:u.enableDate,enableTime:u.enableTime,value:u.value}}},CheckBox:{type:()=>Promise.resolve().then(()=>require("./A2UICheckbox-CaRtMj7t.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{label:u.label,value:u.value}}},Slider:{type:()=>Promise.resolve().then(()=>require("./A2UISlider--Vdoo1SX.cjs")).then(e=>e.default),props:e=>{const u=e.properties;return{value:u.value,minValue:u.minValue,maxValue:u.maxValue,label:""}}},Tabs:{type:()=>Promise.resolve().then(()=>require("./A2UITabs-BOBp5yGv.cjs")).then(e=>e.default),props:e=>({tabs:e.properties.tabItems})},Modal:{type:()=>Promise.resolve().then(()=>require("./A2UIModal-DrlSVixf.cjs")).then(e=>e.default),props:()=>({})}},Cc=y.defineComponent({__name:"A2UISurface",props:{surfaceId:{},surface:{}},setup(e){const u=e,t=y.computed(()=>{const n=u.surface,r={};if(n?.styles)for(const[i,a]of Object.entries(n.styles))switch(i){case"primaryColor":{r["--p-100"]="#ffffff",r["--p-99"]=`color-mix(in srgb, ${a} 2%, white 98%)`,r["--p-98"]=`color-mix(in srgb, ${a} 4%, white 96%)`,r["--p-95"]=`color-mix(in srgb, ${a} 10%, white 90%)`,r["--p-90"]=`color-mix(in srgb, ${a} 20%, white 80%)`,r["--p-80"]=`color-mix(in srgb, ${a} 40%, white 60%)`,r["--p-70"]=`color-mix(in srgb, ${a} 60%, white 40%)`,r["--p-60"]=`color-mix(in srgb, ${a} 80%, white 20%)`,r["--p-50"]=a,r["--p-40"]=`color-mix(in srgb, ${a} 80%, black 20%)`,r["--p-35"]=`color-mix(in srgb, ${a} 70%, black 30%)`,r["--p-30"]=`color-mix(in srgb, ${a} 60%, black 40%)`,r["--p-25"]=`color-mix(in srgb, ${a} 50%, black 50%)`,r["--p-20"]=`color-mix(in srgb, ${a} 40%, black 60%)`,r["--p-15"]=`color-mix(in srgb, ${a} 30%, black 70%)`,r["--p-10"]=`color-mix(in srgb, ${a} 20%, black 80%)`,r["--p-5"]=`color-mix(in srgb, ${a} 10%, black 90%)`,r["--0"]="#00000";break}case"font":{r["--font-family"]=a,r["--font-family-flex"]=a;break}}return r});return(n,r)=>(y.openBlock(),y.createElementBlock("a2ui-surface",{style:y.normalizeStyle(t.value)},[e.surfaceId&&e.surface?.componentTree?(y.openBlock(),y.createBlock(ht,{key:0,"surface-id":e.surfaceId,component:e.surface.componentTree},null,8,["surface-id","component"])):y.createCommentVNode("",!0)],4))}}),Ec=mt(Cc,[["__scopeId","data-v-338a980c"]]);exports.A2UISurface=Ec;exports.DEFAULT_CATALOG=vc;exports.MessageProcessor=Mr;exports._export_sfc=mt;exports._sfc_main=ht;exports.merge=Or;exports.provideA2UI=Ai;exports.useA2UIConfig=rn;exports.useDynamicComponent=pt;exports.useMarkdownRenderer=oi;exports.useMessageProcessor=Nr;
|