Files
recipes/cookbook/static/vue3/assets/main-MtGxR7il.js
2024-04-26 12:21:34 -05:00

7822 lines
2.6 MiB
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var Cv=Object.defineProperty;var Ev=(a,i,u)=>i in a?Cv(a,i,{enumerable:!0,configurable:!0,writable:!0,value:u}):a[i]=u;var xv=(a,i)=>()=>(i||a((i={exports:{}}).exports,i),i.exports);var Aa=(a,i,u)=>(Ev(a,typeof i!="symbol"?i+"":i,u),u);var Tv=xv((exports,module)=>{/**
* @vue/shared v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function makeMap(a,i){const u=new Set(a.split(","));return i?c=>u.has(c.toLowerCase()):c=>u.has(c)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn$1=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&(a.charCodeAt(2)>122||a.charCodeAt(2)<97),isModelListener=a=>a.startsWith("onUpdate:"),extend$4=Object.assign,remove=(a,i)=>{const u=a.indexOf(i);u>-1&&a.splice(u,1)},hasOwnProperty$i=Object.prototype.hasOwnProperty,hasOwn=(a,i)=>hasOwnProperty$i.call(a,i),isArray$o=Array.isArray,isMap$2=a=>toTypeString(a)==="[object Map]",isSet$3=a=>toTypeString(a)==="[object Set]",isDate$3=a=>toTypeString(a)==="[object Date]",isRegExp$1=a=>toTypeString(a)==="[object RegExp]",isFunction$7=a=>typeof a=="function",isString$5=a=>typeof a=="string",isSymbol$6=a=>typeof a=="symbol",isObject$h=a=>a!==null&&typeof a=="object",isPromise=a=>(isObject$h(a)||isFunction$7(a))&&isFunction$7(a.then)&&isFunction$7(a.catch),objectToString$2=Object.prototype.toString,toTypeString=a=>objectToString$2.call(a),toRawType=a=>toTypeString(a).slice(8,-1),isPlainObject$5=a=>toTypeString(a)==="[object Object]",isIntegerKey=a=>isString$5(a)&&a!=="NaN"&&a[0]!=="-"&&""+parseInt(a,10)===a,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=a=>{const i=Object.create(null);return u=>i[u]||(i[u]=a(u))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(a=>a.replace(camelizeRE,(i,u)=>u?u.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(a=>a.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$2=cacheStringFunction(a=>a.charAt(0).toUpperCase()+a.slice(1)),toHandlerKey=cacheStringFunction(a=>a?`on${capitalize$2(a)}`:""),hasChanged=(a,i)=>!Object.is(a,i),invokeArrayFns=(a,i)=>{for(let u=0;u<a.length;u++)a[u](i)},def=(a,i,u)=>{Object.defineProperty(a,i,{configurable:!0,enumerable:!1,value:u})},looseToNumber=a=>{const i=parseFloat(a);return isNaN(i)?a:i},toNumber$2=a=>{const i=isString$5(a)?Number(a):NaN;return isNaN(i)?a:i};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(a){if(isArray$o(a)){const i={};for(let u=0;u<a.length;u++){const c=a[u],d=isString$5(c)?parseStringStyle(c):normalizeStyle(c);if(d)for(const m in d)i[m]=d[m]}return i}else if(isString$5(a)||isObject$h(a))return a}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(a){const i={};return a.replace(styleCommentRE,"").split(listDelimiterRE).forEach(u=>{if(u){const c=u.split(propertyDelimiterRE);c.length>1&&(i[c[0].trim()]=c[1].trim())}}),i}function normalizeClass(a){let i="";if(isString$5(a))i=a;else if(isArray$o(a))for(let u=0;u<a.length;u++){const c=normalizeClass(a[u]);c&&(i+=c+" ")}else if(isObject$h(a))for(const u in a)a[u]&&(i+=u+" ");return i.trim()}function normalizeProps(a){if(!a)return null;let{class:i,style:u}=a;return i&&!isString$5(i)&&(a.class=normalizeClass(i)),u&&(a.style=normalizeStyle(u)),a}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(a){return!!a||a===""}function looseCompareArrays(a,i){if(a.length!==i.length)return!1;let u=!0;for(let c=0;u&&c<a.length;c++)u=looseEqual(a[c],i[c]);return u}function looseEqual(a,i){if(a===i)return!0;let u=isDate$3(a),c=isDate$3(i);if(u||c)return u&&c?a.getTime()===i.getTime():!1;if(u=isSymbol$6(a),c=isSymbol$6(i),u||c)return a===i;if(u=isArray$o(a),c=isArray$o(i),u||c)return u&&c?looseCompareArrays(a,i):!1;if(u=isObject$h(a),c=isObject$h(i),u||c){if(!u||!c)return!1;const d=Object.keys(a).length,m=Object.keys(i).length;if(d!==m)return!1;for(const f in a){const v=a.hasOwnProperty(f),g=i.hasOwnProperty(f);if(v&&!g||!v&&g||!looseEqual(a[f],i[f]))return!1}}return String(a)===String(i)}function looseIndexOf(a,i){return a.findIndex(u=>looseEqual(u,i))}const toDisplayString=a=>isString$5(a)?a:a==null?"":isArray$o(a)||isObject$h(a)&&(a.toString===objectToString$2||!isFunction$7(a.toString))?JSON.stringify(a,replacer,2):String(a),replacer=(a,i)=>i&&i.__v_isRef?replacer(a,i.value):isMap$2(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((u,[c,d],m)=>(u[stringifySymbol(c,m)+" =>"]=d,u),{})}:isSet$3(i)?{[`Set(${i.size})`]:[...i.values()].map(u=>stringifySymbol(u))}:isSymbol$6(i)?stringifySymbol(i):isObject$h(i)&&!isArray$o(i)&&!isPlainObject$5(i)?String(i):i,stringifySymbol=(a,i="")=>{var u;return isSymbol$6(a)?`Symbol(${(u=a.description)!=null?u:i})`:a};/**
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!i&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const u=activeEffectScope;try{return activeEffectScope=this,i()}finally{activeEffectScope=u}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(i){if(this._active){let u,c;for(u=0,c=this.effects.length;u<c;u++)this.effects[u].stop();for(u=0,c=this.cleanups.length;u<c;u++)this.cleanups[u]();if(this.scopes)for(u=0,c=this.scopes.length;u<c;u++)this.scopes[u].stop(!0);if(!this.detached&&this.parent&&!i){const d=this.parent.scopes.pop();d&&d!==this&&(this.parent.scopes[this.index]=d,d.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(a){return new EffectScope(a)}function recordEffectScope(a,i=activeEffectScope){i&&i.active&&i.effects.push(a)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(a){activeEffectScope&&activeEffectScope.cleanups.push(a)}let activeEffect;class ReactiveEffect{constructor(i,u,c,d){this.fn=i,this.trigger=u,this.scheduler=c,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,d)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let i=0;i<this._depsLength;i++){const u=this.deps[i];if(u.computed&&(triggerComputed(u.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(i){this._dirtyLevel=i?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let i=shouldTrack,u=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=u,shouldTrack=i}}stop(){var i;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(i=this.onStop)==null||i.call(this),this.active=!1)}}function triggerComputed(a){return a.value}function preCleanupEffect(a){a._trackId++,a._depsLength=0}function postCleanupEffect(a){if(a.deps.length>a._depsLength){for(let i=a._depsLength;i<a.deps.length;i++)cleanupDepEffect(a.deps[i],a);a.deps.length=a._depsLength}}function cleanupDepEffect(a,i){const u=a.get(i);u!==void 0&&i._trackId!==u&&(a.delete(i),a.size===0&&a.cleanup())}function effect$3(a,i){a.effect instanceof ReactiveEffect&&(a=a.effect.fn);const u=new ReactiveEffect(a,NOOP,()=>{u.dirty&&u.run()});i&&(extend$4(u,i),i.scope&&recordEffectScope(u,i.scope)),(!i||!i.lazy)&&u.run();const c=u.run.bind(u);return c.effect=u,c}function stop(a){a.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const a=trackStack.pop();shouldTrack=a===void 0?!0:a}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(a,i,u){if(i.get(a)!==a._trackId){i.set(a,a._trackId);const c=a.deps[a._depsLength];c!==i?(c&&cleanupDepEffect(c,a),a.deps[a._depsLength++]=i):a._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(a,i,u){pauseScheduling();for(const c of a.keys()){let d;c._dirtyLevel<i&&(d??(d=a.get(c)===c._trackId))&&(c._shouldSchedule||(c._shouldSchedule=c._dirtyLevel===0),c._dirtyLevel=i),c._shouldSchedule&&(d??(d=a.get(c)===c._trackId))&&(c.trigger(),(!c._runnings||c.allowRecurse)&&c._dirtyLevel!==2&&(c._shouldSchedule=!1,c.scheduler&&queueEffectSchedulers.push(c.scheduler)))}resetScheduling()}const createDep=(a,i)=>{const u=new Map;return u.cleanup=a,u.computed=i,u},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(a,i,u){if(shouldTrack&&activeEffect){let c=targetMap.get(a);c||targetMap.set(a,c=new Map);let d=c.get(u);d||c.set(u,d=createDep(()=>c.delete(u))),trackEffect(activeEffect,d)}}function trigger(a,i,u,c,d,m){const f=targetMap.get(a);if(!f)return;let v=[];if(i==="clear")v=[...f.values()];else if(u==="length"&&isArray$o(a)){const g=Number(c);f.forEach((y,b)=>{(b==="length"||!isSymbol$6(b)&&b>=g)&&v.push(y)})}else switch(u!==void 0&&v.push(f.get(u)),i){case"add":isArray$o(a)?isIntegerKey(u)&&v.push(f.get("length")):(v.push(f.get(ITERATE_KEY)),isMap$2(a)&&v.push(f.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$o(a)||(v.push(f.get(ITERATE_KEY)),isMap$2(a)&&v.push(f.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$2(a)&&v.push(f.get(ITERATE_KEY));break}pauseScheduling();for(const g of v)g&&triggerEffects(g,4);resetScheduling()}function getDepFromReactive(a,i){var u;return(u=targetMap.get(a))==null?void 0:u.get(i)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(a=>a!=="arguments"&&a!=="caller").map(a=>Symbol[a]).filter(isSymbol$6)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const a={};return["includes","indexOf","lastIndexOf"].forEach(i=>{a[i]=function(...u){const c=toRaw(this);for(let m=0,f=this.length;m<f;m++)track(c,"get",m+"");const d=c[i](...u);return d===-1||d===!1?c[i](...u.map(toRaw)):d}}),["push","pop","shift","unshift","splice"].forEach(i=>{a[i]=function(...u){pauseTracking(),pauseScheduling();const c=toRaw(this)[i].apply(this,u);return resetScheduling(),resetTracking(),c}}),a}function hasOwnProperty$h(a){const i=toRaw(this);return track(i,"has",a),i.hasOwnProperty(a)}class BaseReactiveHandler{constructor(i=!1,u=!1){this._isReadonly=i,this._shallow=u}get(i,u,c){const d=this._isReadonly,m=this._shallow;if(u==="__v_isReactive")return!d;if(u==="__v_isReadonly")return d;if(u==="__v_isShallow")return m;if(u==="__v_raw")return c===(d?m?shallowReadonlyMap:readonlyMap:m?shallowReactiveMap:reactiveMap).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(c)?i:void 0;const f=isArray$o(i);if(!d){if(f&&hasOwn(arrayInstrumentations,u))return Reflect.get(arrayInstrumentations,u,c);if(u==="hasOwnProperty")return hasOwnProperty$h}const v=Reflect.get(i,u,c);return(isSymbol$6(u)?builtInSymbols.has(u):isNonTrackableKeys(u))||(d||track(i,"get",u),m)?v:isRef(v)?f&&isIntegerKey(u)?v:v.value:isObject$h(v)?d?readonly(v):reactive(v):v}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(i=!1){super(!1,i)}set(i,u,c,d){let m=i[u];if(!this._shallow){const g=isReadonly(m);if(!isShallow(c)&&!isReadonly(c)&&(m=toRaw(m),c=toRaw(c)),!isArray$o(i)&&isRef(m)&&!isRef(c))return g?!1:(m.value=c,!0)}const f=isArray$o(i)&&isIntegerKey(u)?Number(u)<i.length:hasOwn(i,u),v=Reflect.set(i,u,c,d);return i===toRaw(d)&&(f?hasChanged(c,m)&&trigger(i,"set",u,c):trigger(i,"add",u,c)),v}deleteProperty(i,u){const c=hasOwn(i,u);i[u];const d=Reflect.deleteProperty(i,u);return d&&c&&trigger(i,"delete",u,void 0),d}has(i,u){const c=Reflect.has(i,u);return(!isSymbol$6(u)||!builtInSymbols.has(u))&&track(i,"has",u),c}ownKeys(i){return track(i,"iterate",isArray$o(i)?"length":ITERATE_KEY),Reflect.ownKeys(i)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(i=!1){super(!0,i)}set(i,u){return!0}deleteProperty(i,u){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=a=>a,getProto=a=>Reflect.getPrototypeOf(a);function get$3(a,i,u=!1,c=!1){a=a.__v_raw;const d=toRaw(a),m=toRaw(i);u||(hasChanged(i,m)&&track(d,"get",i),track(d,"get",m));const{has:f}=getProto(d),v=c?toShallow:u?toReadonly:toReactive;if(f.call(d,i))return v(a.get(i));if(f.call(d,m))return v(a.get(m));a!==d&&a.get(i)}function has$1(a,i=!1){const u=this.__v_raw,c=toRaw(u),d=toRaw(a);return i||(hasChanged(a,d)&&track(c,"has",a),track(c,"has",d)),a===d?u.has(a):u.has(a)||u.has(d)}function size$1(a,i=!1){return a=a.__v_raw,!i&&track(toRaw(a),"iterate",ITERATE_KEY),Reflect.get(a,"size",a)}function add$2(a){a=toRaw(a);const i=toRaw(this);return getProto(i).has.call(i,a)||(i.add(a),trigger(i,"add",a,a)),this}function set$2(a,i){i=toRaw(i);const u=toRaw(this),{has:c,get:d}=getProto(u);let m=c.call(u,a);m||(a=toRaw(a),m=c.call(u,a));const f=d.call(u,a);return u.set(a,i),m?hasChanged(i,f)&&trigger(u,"set",a,i):trigger(u,"add",a,i),this}function deleteEntry(a){const i=toRaw(this),{has:u,get:c}=getProto(i);let d=u.call(i,a);d||(a=toRaw(a),d=u.call(i,a)),c&&c.call(i,a);const m=i.delete(a);return d&&trigger(i,"delete",a,void 0),m}function clear(){const a=toRaw(this),i=a.size!==0,u=a.clear();return i&&trigger(a,"clear",void 0,void 0),u}function createForEach(a,i){return function(c,d){const m=this,f=m.__v_raw,v=toRaw(f),g=i?toShallow:a?toReadonly:toReactive;return!a&&track(v,"iterate",ITERATE_KEY),f.forEach((y,b)=>c.call(d,g(y),g(b),m))}}function createIterableMethod(a,i,u){return function(...c){const d=this.__v_raw,m=toRaw(d),f=isMap$2(m),v=a==="entries"||a===Symbol.iterator&&f,g=a==="keys"&&f,y=d[a](...c),b=u?toShallow:i?toReadonly:toReactive;return!i&&track(m,"iterate",g?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:w,done:k}=y.next();return k?{value:w,done:k}:{value:v?[b(w[0]),b(w[1])]:b(w),done:k}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(a){return function(...i){return a==="delete"?!1:a==="clear"?void 0:this}}function createInstrumentations(){const a={get(m){return get$3(this,m)},get size(){return size$1(this)},has:has$1,add:add$2,set:set$2,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},i={get(m){return get$3(this,m,!1,!0)},get size(){return size$1(this)},has:has$1,add:add$2,set:set$2,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},u={get(m){return get$3(this,m,!0)},get size(){return size$1(this,!0)},has(m){return has$1.call(this,m,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},c={get(m){return get$3(this,m,!0,!0)},get size(){return size$1(this,!0)},has(m){return has$1.call(this,m,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(m=>{a[m]=createIterableMethod(m,!1,!1),u[m]=createIterableMethod(m,!0,!1),i[m]=createIterableMethod(m,!1,!0),c[m]=createIterableMethod(m,!0,!0)}),[a,u,i,c]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(a,i){const u=i?a?shallowReadonlyInstrumentations:shallowInstrumentations:a?readonlyInstrumentations:mutableInstrumentations;return(c,d,m)=>d==="__v_isReactive"?!a:d==="__v_isReadonly"?a:d==="__v_raw"?c:Reflect.get(hasOwn(u,d)&&d in c?u:c,d,m)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(a){switch(a){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(a){return a.__v_skip||!Object.isExtensible(a)?0:targetTypeMap(toRawType(a))}function reactive(a){return isReadonly(a)?a:createReactiveObject(a,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(a){return createReactiveObject(a,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(a){return createReactiveObject(a,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(a){return createReactiveObject(a,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(a,i,u,c,d){if(!isObject$h(a)||a.__v_raw&&!(i&&a.__v_isReactive))return a;const m=d.get(a);if(m)return m;const f=getTargetType(a);if(f===0)return a;const v=new Proxy(a,f===2?c:u);return d.set(a,v),v}function isReactive(a){return isReadonly(a)?isReactive(a.__v_raw):!!(a&&a.__v_isReactive)}function isReadonly(a){return!!(a&&a.__v_isReadonly)}function isShallow(a){return!!(a&&a.__v_isShallow)}function isProxy(a){return isReactive(a)||isReadonly(a)}function toRaw(a){const i=a&&a.__v_raw;return i?toRaw(i):a}function markRaw(a){return Object.isExtensible(a)&&def(a,"__v_skip",!0),a}const toReactive=a=>isObject$h(a)?reactive(a):a,toReadonly=a=>isObject$h(a)?readonly(a):a;class ComputedRefImpl{constructor(i,u,c,d){this._setter=u,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>i(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!d,this.__v_isReadonly=c}get value(){const i=toRaw(this);return(!i._cacheable||i.effect.dirty)&&hasChanged(i._value,i._value=i.effect.run())&&triggerRefValue(i,4),trackRefValue(i),i.effect._dirtyLevel>=2&&triggerRefValue(i,2),i._value}set value(i){this._setter(i)}get _dirty(){return this.effect.dirty}set _dirty(i){this.effect.dirty=i}}function computed$1(a,i,u=!1){let c,d;const m=isFunction$7(a);return m?(c=a,d=NOOP):(c=a.get,d=a.set),new ComputedRefImpl(c,d,m||!d,u)}function trackRefValue(a){var i;shouldTrack&&activeEffect&&(a=toRaw(a),trackEffect(activeEffect,(i=a.dep)!=null?i:a.dep=createDep(()=>a.dep=void 0,a instanceof ComputedRefImpl?a:void 0)))}function triggerRefValue(a,i=4,u){a=toRaw(a);const c=a.dep;c&&triggerEffects(c,i)}function isRef(a){return!!(a&&a.__v_isRef===!0)}function ref(a){return createRef(a,!1)}function shallowRef(a){return createRef(a,!0)}function createRef(a,i){return isRef(a)?a:new RefImpl(a,i)}class RefImpl{constructor(i,u){this.__v_isShallow=u,this.dep=void 0,this.__v_isRef=!0,this._rawValue=u?i:toRaw(i),this._value=u?i:toReactive(i)}get value(){return trackRefValue(this),this._value}set value(i){const u=this.__v_isShallow||isShallow(i)||isReadonly(i);i=u?i:toRaw(i),hasChanged(i,this._rawValue)&&(this._rawValue=i,this._value=u?i:toReactive(i),triggerRefValue(this,4))}}function triggerRef(a){triggerRefValue(a,4)}function unref(a){return isRef(a)?a.value:a}function toValue$1(a){return isFunction$7(a)?a():unref(a)}const shallowUnwrapHandlers={get:(a,i,u)=>unref(Reflect.get(a,i,u)),set:(a,i,u,c)=>{const d=a[i];return isRef(d)&&!isRef(u)?(d.value=u,!0):Reflect.set(a,i,u,c)}};function proxyRefs(a){return isReactive(a)?a:new Proxy(a,shallowUnwrapHandlers)}class CustomRefImpl{constructor(i){this.dep=void 0,this.__v_isRef=!0;const{get:u,set:c}=i(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=u,this._set=c}get value(){return this._get()}set value(i){this._set(i)}}function customRef(a){return new CustomRefImpl(a)}function toRefs(a){const i=isArray$o(a)?new Array(a.length):{};for(const u in a)i[u]=propertyToRef(a,u);return i}class ObjectRefImpl{constructor(i,u,c){this._object=i,this._key=u,this._defaultValue=c,this.__v_isRef=!0}get value(){const i=this._object[this._key];return i===void 0?this._defaultValue:i}set value(i){this._object[this._key]=i}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(i){this._getter=i,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(a,i,u){return isRef(a)?a:isFunction$7(a)?new GetterRefImpl(a):isObject$h(a)&&arguments.length>1?propertyToRef(a,i,u):ref(a)}function propertyToRef(a,i,u){const c=a[i];return isRef(c)?c:new ObjectRefImpl(a,i,u)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
* @vue/runtime-core v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];function warn$1(a,...i){pauseTracking();const u=stack.length?stack[stack.length-1].component:null,c=u&&u.appContext.config.warnHandler,d=getComponentTrace();if(c)callWithErrorHandling(c,u,11,[a+i.join(""),u&&u.proxy,d.map(({vnode:m})=>`at <${formatComponentName(u,m.type)}>`).join(`
`),d]);else{const m=[`[Vue warn]: ${a}`,...i];d.length&&m.push(`
`,...formatTrace(d)),console.warn(...m)}resetTracking()}function getComponentTrace(){let a=stack[stack.length-1];if(!a)return[];const i=[];for(;a;){const u=i[0];u&&u.vnode===a?u.recurseCount++:i.push({vnode:a,recurseCount:0});const c=a.component&&a.component.parent;a=c&&c.vnode}return i}function formatTrace(a){const i=[];return a.forEach((u,c)=>{i.push(...c===0?[]:[`
`],...formatTraceEntry(u))}),i}function formatTraceEntry({vnode:a,recurseCount:i}){const u=i>0?`... (${i} recursive calls)`:"",c=a.component?a.component.parent==null:!1,d=` at <${formatComponentName(a.component,a.type,c)}`,m=">"+u;return a.props?[d,...formatProps(a.props),m]:[d+m]}function formatProps(a){const i=[],u=Object.keys(a);return u.slice(0,3).forEach(c=>{i.push(...formatProp(c,a[c]))}),u.length>3&&i.push(" ..."),i}function formatProp(a,i,u){return isString$5(i)?(i=JSON.stringify(i),u?i:[`${a}=${i}`]):typeof i=="number"||typeof i=="boolean"||i==null?u?i:[`${a}=${i}`]:isRef(i)?(i=formatProp(a,toRaw(i.value),!0),u?i:[`${a}=Ref<`,i,">"]):isFunction$7(i)?[`${a}=fn${i.name?`<${i.name}>`:""}`]:(i=toRaw(i),u?i:[`${a}=`,i])}function assertNumber(a,i){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(a,i,u,c){try{return c?a(...c):a()}catch(d){handleError(d,i,u)}}function callWithAsyncErrorHandling(a,i,u,c){if(isFunction$7(a)){const m=callWithErrorHandling(a,i,u,c);return m&&isPromise(m)&&m.catch(f=>{handleError(f,i,u)}),m}const d=[];for(let m=0;m<a.length;m++)d.push(callWithAsyncErrorHandling(a[m],i,u,c));return d}function handleError(a,i,u,c=!0){const d=i?i.vnode:null;if(i){let m=i.parent;const f=i.proxy,v=`https://vuejs.org/error-reference/#runtime-${u}`;for(;m;){const y=m.ec;if(y){for(let b=0;b<y.length;b++)if(y[b](a,f,v)===!1)return}m=m.parent}const g=i.appContext.config.errorHandler;if(g){callWithErrorHandling(g,null,10,[a,f,v]);return}}logError(a,u,d,c)}function logError(a,i,u,c=!0){console.error(a)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(a){const i=currentFlushPromise||resolvedPromise;return a?i.then(this?a.bind(this):a):i}function findInsertionIndex(a){let i=flushIndex+1,u=queue.length;for(;i<u;){const c=i+u>>>1,d=queue[c],m=getId(d);m<a||m===a&&d.pre?i=c+1:u=c}return i}function queueJob(a){(!queue.length||!queue.includes(a,isFlushing&&a.allowRecurse?flushIndex+1:flushIndex))&&(a.id==null?queue.push(a):queue.splice(findInsertionIndex(a.id),0,a),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(a){const i=queue.indexOf(a);i>flushIndex&&queue.splice(i,1)}function queuePostFlushCb(a){isArray$o(a)?pendingPostFlushCbs.push(...a):(!activePostFlushCbs||!activePostFlushCbs.includes(a,a.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(a),queueFlush()}function flushPreFlushCbs(a,i,u=isFlushing?flushIndex+1:0){for(;u<queue.length;u++){const c=queue[u];if(c&&c.pre){if(a&&c.id!==a.uid)continue;queue.splice(u,1),u--,c()}}}function flushPostFlushCbs(a){if(pendingPostFlushCbs.length){const i=[...new Set(pendingPostFlushCbs)].sort((u,c)=>getId(u)-getId(c));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...i);return}for(activePostFlushCbs=i,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=a=>a.id==null?1/0:a.id,comparator=(a,i)=>{const u=getId(a)-getId(i);if(u===0){if(a.pre&&!i.pre)return-1;if(i.pre&&!a.pre)return 1}return u};function flushJobs(a){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const i=queue[flushIndex];i&&i.active!==!1&&callWithErrorHandling(i,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(a,i){var u,c;devtools$1=a,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:d,args:m})=>devtools$1.emit(d,...m)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((c=(u=window.navigator)==null?void 0:u.userAgent)!=null&&c.includes("jsdom"))?((i.__VUE_DEVTOOLS_HOOK_REPLAY__=i.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(m=>{setDevtoolsHook$1(m,i)}),setTimeout(()=>{devtools$1||(i.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(a,i,...u){if(a.isUnmounted)return;const c=a.vnode.props||EMPTY_OBJ;let d=u;const m=i.startsWith("update:"),f=m&&i.slice(7);if(f&&f in c){const b=`${f==="modelValue"?"model":f}Modifiers`,{number:w,trim:k}=c[b]||EMPTY_OBJ;k&&(d=u.map($=>isString$5($)?$.trim():$)),w&&(d=u.map(looseToNumber))}let v,g=c[v=toHandlerKey(i)]||c[v=toHandlerKey(camelize(i))];!g&&m&&(g=c[v=toHandlerKey(hyphenate(i))]),g&&callWithAsyncErrorHandling(g,a,6,d);const y=c[v+"Once"];if(y){if(!a.emitted)a.emitted={};else if(a.emitted[v])return;a.emitted[v]=!0,callWithAsyncErrorHandling(y,a,6,d)}}function normalizeEmitsOptions(a,i,u=!1){const c=i.emitsCache,d=c.get(a);if(d!==void 0)return d;const m=a.emits;let f={},v=!1;if(!isFunction$7(a)){const g=y=>{const b=normalizeEmitsOptions(y,i,!0);b&&(v=!0,extend$4(f,b))};!u&&i.mixins.length&&i.mixins.forEach(g),a.extends&&g(a.extends),a.mixins&&a.mixins.forEach(g)}return!m&&!v?(isObject$h(a)&&c.set(a,null),null):(isArray$o(m)?m.forEach(g=>f[g]=null):extend$4(f,m),isObject$h(a)&&c.set(a,f),f)}function isEmitListener(a,i){return!a||!isOn$1(i)?!1:(i=i.slice(2).replace(/Once$/,""),hasOwn(a,i[0].toLowerCase()+i.slice(1))||hasOwn(a,hyphenate(i))||hasOwn(a,i))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(a){const i=currentRenderingInstance;return currentRenderingInstance=a,currentScopeId=a&&a.type.__scopeId||null,i}function pushScopeId(a){currentScopeId=a}function popScopeId(){currentScopeId=null}const withScopeId=a=>withCtx;function withCtx(a,i=currentRenderingInstance,u){if(!i||a._n)return a;const c=(...d)=>{c._d&&setBlockTracking(-1);const m=setCurrentRenderingInstance(i);let f;try{f=a(...d)}finally{setCurrentRenderingInstance(m),c._d&&setBlockTracking(1)}return f};return c._n=!0,c._c=!0,c._d=!0,c}function markAttrsAccessed(){}function renderComponentRoot(a){const{type:i,vnode:u,proxy:c,withProxy:d,props:m,propsOptions:[f],slots:v,attrs:g,emit:y,render:b,renderCache:w,data:k,setupState:$,ctx:S,inheritAttrs:C}=a;let E,D;const A=setCurrentRenderingInstance(a);try{if(u.shapeFlag&4){const F=d||c,B=F;E=normalizeVNode(b.call(B,F,w,m,$,k,S)),D=g}else{const F=i;E=normalizeVNode(F.length>1?F(m,{attrs:g,slots:v,emit:y}):F(m,null)),D=i.props?g:getFunctionalFallthrough(g)}}catch(F){blockStack.length=0,handleError(F,a,1),E=createVNode(Comment)}let O=E;if(D&&C!==!1){const F=Object.keys(D),{shapeFlag:B}=O;F.length&&B&7&&(f&&F.some(isModelListener)&&(D=filterModelListeners(D,f)),O=cloneVNode(O,D))}return u.dirs&&(O=cloneVNode(O),O.dirs=O.dirs?O.dirs.concat(u.dirs):u.dirs),u.transition&&(O.transition=u.transition),E=O,setCurrentRenderingInstance(A),E}function filterSingleRoot(a,i=!0){let u;for(let c=0;c<a.length;c++){const d=a[c];if(isVNode(d)){if(d.type!==Comment||d.children==="v-if"){if(u)return;u=d}}else return}return u}const getFunctionalFallthrough=a=>{let i;for(const u in a)(u==="class"||u==="style"||isOn$1(u))&&((i||(i={}))[u]=a[u]);return i},filterModelListeners=(a,i)=>{const u={};for(const c in a)(!isModelListener(c)||!(c.slice(9)in i))&&(u[c]=a[c]);return u};function shouldUpdateComponent(a,i,u){const{props:c,children:d,component:m}=a,{props:f,children:v,patchFlag:g}=i,y=m.emitsOptions;if(i.dirs||i.transition)return!0;if(u&&g>=0){if(g&1024)return!0;if(g&16)return c?hasPropsChanged(c,f,y):!!f;if(g&8){const b=i.dynamicProps;for(let w=0;w<b.length;w++){const k=b[w];if(f[k]!==c[k]&&!isEmitListener(y,k))return!0}}}else return(d||v)&&(!v||!v.$stable)?!0:c===f?!1:c?f?hasPropsChanged(c,f,y):!0:!!f;return!1}function hasPropsChanged(a,i,u){const c=Object.keys(i);if(c.length!==Object.keys(a).length)return!0;for(let d=0;d<c.length;d++){const m=c[d];if(i[m]!==a[m]&&!isEmitListener(u,m))return!0}return!1}function updateHOCHostEl({vnode:a,parent:i},u){for(;i;){const c=i.subTree;if(c.suspense&&c.suspense.activeBranch===a&&(c.el=a.el),c===a)(a=i.vnode).el=u,i=i.parent;else break}}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(a,i){return resolveAsset(COMPONENTS,a,!0,i)||a}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(a){return isString$5(a)?resolveAsset(COMPONENTS,a,!1)||a:a||NULL_DYNAMIC_COMPONENT}function resolveDirective(a){return resolveAsset(DIRECTIVES,a)}function resolveAsset(a,i,u=!0,c=!1){const d=currentRenderingInstance||currentInstance;if(d){const m=d.type;if(a===COMPONENTS){const v=getComponentName(m,!1);if(v&&(v===i||v===camelize(i)||v===capitalize$2(camelize(i))))return m}const f=resolve(d[a]||m[a],i)||resolve(d.appContext[a],i);return!f&&c?m:f}}function resolve(a,i){return a&&(a[i]||a[camelize(i)]||a[capitalize$2(camelize(i))])}const isSuspense=a=>a.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(a,i,u,c,d,m,f,v,g,y){if(a==null)mountSuspense(i,u,c,d,m,f,v,g,y);else{if(m&&m.deps>0){i.suspense=a.suspense;return}patchSuspense(a,i,u,c,d,f,v,g,y)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(a,i){const u=a.props&&a.props[i];isFunction$7(u)&&u()}function mountSuspense(a,i,u,c,d,m,f,v,g){const{p:y,o:{createElement:b}}=g,w=b("div"),k=a.suspense=createSuspenseBoundary(a,d,c,i,w,u,m,f,v,g);y(null,k.pendingBranch=a.ssContent,w,null,c,k,m,f),k.deps>0?(triggerEvent(a,"onPending"),triggerEvent(a,"onFallback"),y(null,a.ssFallback,i,u,c,null,m,f),setActiveBranch(k,a.ssFallback)):k.resolve(!1,!0)}function patchSuspense(a,i,u,c,d,m,f,v,{p:g,um:y,o:{createElement:b}}){const w=i.suspense=a.suspense;w.vnode=i,i.el=a.el;const k=i.ssContent,$=i.ssFallback,{activeBranch:S,pendingBranch:C,isInFallback:E,isHydrating:D}=w;if(C)w.pendingBranch=k,isSameVNodeType(k,C)?(g(C,k,w.hiddenContainer,null,d,w,m,f,v),w.deps<=0?w.resolve():E&&(D||(g(S,$,u,c,d,null,m,f,v),setActiveBranch(w,$)))):(w.pendingId=suspenseId++,D?(w.isHydrating=!1,w.activeBranch=C):y(C,d,w),w.deps=0,w.effects.length=0,w.hiddenContainer=b("div"),E?(g(null,k,w.hiddenContainer,null,d,w,m,f,v),w.deps<=0?w.resolve():(g(S,$,u,c,d,null,m,f,v),setActiveBranch(w,$))):S&&isSameVNodeType(k,S)?(g(S,k,u,c,d,w,m,f,v),w.resolve(!0)):(g(null,k,w.hiddenContainer,null,d,w,m,f,v),w.deps<=0&&w.resolve()));else if(S&&isSameVNodeType(k,S))g(S,k,u,c,d,w,m,f,v),setActiveBranch(w,k);else if(triggerEvent(i,"onPending"),w.pendingBranch=k,k.shapeFlag&512?w.pendingId=k.component.suspenseId:w.pendingId=suspenseId++,g(null,k,w.hiddenContainer,null,d,w,m,f,v),w.deps<=0)w.resolve();else{const{timeout:A,pendingId:O}=w;A>0?setTimeout(()=>{w.pendingId===O&&w.fallback($)},A):A===0&&w.fallback($)}}function createSuspenseBoundary(a,i,u,c,d,m,f,v,g,y,b=!1){const{p:w,m:k,um:$,n:S,o:{parentNode:C,remove:E}}=y;let D;const A=isVNodeSuspensible(a);A&&i!=null&&i.pendingBranch&&(D=i.pendingId,i.deps++);const O=a.props?toNumber$2(a.props.timeout):void 0,F=m,B={vnode:a,parent:i,parentComponent:u,namespace:f,container:c,hiddenContainer:d,deps:0,pendingId:suspenseId++,timeout:typeof O=="number"?O:-1,activeBranch:null,pendingBranch:null,isInFallback:!b,isHydrating:b,isUnmounted:!1,effects:[],resolve(I=!1,M=!1){const{vnode:z,activeBranch:q,pendingBranch:H,pendingId:Q,effects:j,parentComponent:ee,container:G}=B;let J=!1;B.isHydrating?B.isHydrating=!1:I||(J=q&&H.transition&&H.transition.mode==="out-in",J&&(q.transition.afterLeave=()=>{Q===B.pendingId&&(k(H,G,m===F?S(q):m,0),queuePostFlushCb(j))}),q&&(C(q.el)!==B.hiddenContainer&&(m=S(q)),$(q,ee,B,!0)),J||k(H,G,m,0)),setActiveBranch(B,H),B.pendingBranch=null,B.isInFallback=!1;let te=B.parent,re=!1;for(;te;){if(te.pendingBranch){te.effects.push(...j),re=!0;break}te=te.parent}!re&&!J&&queuePostFlushCb(j),B.effects=[],A&&i&&i.pendingBranch&&D===i.pendingId&&(i.deps--,i.deps===0&&!M&&i.resolve()),triggerEvent(z,"onResolve")},fallback(I){if(!B.pendingBranch)return;const{vnode:M,activeBranch:z,parentComponent:q,container:H,namespace:Q}=B;triggerEvent(M,"onFallback");const j=S(z),ee=()=>{B.isInFallback&&(w(null,I,H,j,q,null,Q,v,g),setActiveBranch(B,I))},G=I.transition&&I.transition.mode==="out-in";G&&(z.transition.afterLeave=ee),B.isInFallback=!0,$(z,q,null,!0),G||ee()},move(I,M,z){B.activeBranch&&k(B.activeBranch,I,M,z),B.container=I},next(){return B.activeBranch&&S(B.activeBranch)},registerDep(I,M){const z=!!B.pendingBranch;z&&B.deps++;const q=I.vnode.el;I.asyncDep.catch(H=>{handleError(H,I,0)}).then(H=>{if(I.isUnmounted||B.isUnmounted||B.pendingId!==I.suspenseId)return;I.asyncResolved=!0;const{vnode:Q}=I;handleSetupResult(I,H,!1),q&&(Q.el=q);const j=!q&&I.subTree.el;M(I,Q,C(q||I.subTree.el),q?null:S(I.subTree),B,f,g),j&&E(j),updateHOCHostEl(I,Q.el),z&&--B.deps===0&&B.resolve()})},unmount(I,M){B.isUnmounted=!0,B.activeBranch&&$(B.activeBranch,u,I,M),B.pendingBranch&&$(B.pendingBranch,u,I,M)}};return B}function hydrateSuspense(a,i,u,c,d,m,f,v,g){const y=i.suspense=createSuspenseBoundary(i,c,u,a.parentNode,document.createElement("div"),null,d,m,f,v,!0),b=g(a,y.pendingBranch=i.ssContent,u,y,m,f);return y.deps===0&&y.resolve(!1,!0),b}function normalizeSuspenseChildren(a){const{shapeFlag:i,children:u}=a,c=i&32;a.ssContent=normalizeSuspenseSlot(c?u.default:u),a.ssFallback=c?normalizeSuspenseSlot(u.fallback):createVNode(Comment)}function normalizeSuspenseSlot(a){let i;if(isFunction$7(a)){const u=isBlockTreeEnabled&&a._c;u&&(a._d=!1,openBlock()),a=a(),u&&(a._d=!0,i=currentBlock,closeBlock())}return isArray$o(a)&&(a=filterSingleRoot(a)),a=normalizeVNode(a),i&&!a.dynamicChildren&&(a.dynamicChildren=i.filter(u=>u!==a)),a}function queueEffectWithSuspense(a,i){i&&i.pendingBranch?isArray$o(a)?i.effects.push(...a):i.effects.push(a):queuePostFlushCb(a)}function setActiveBranch(a,i){a.activeBranch=i;const{vnode:u,parentComponent:c}=a;let d=i.el;for(;!d&&i.component;)i=i.component.subTree,d=i.el;u.el=d,c&&c.subTree===u&&(c.vnode.el=d,updateHOCHostEl(c,d))}function isVNodeSuspensible(a){var i;return((i=a.props)==null?void 0:i.suspensible)!=null&&a.props.suspensible!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject$1(ssrContextKey);function watchEffect(a,i){return doWatch(a,null,i)}function watchPostEffect(a,i){return doWatch(a,null,{flush:"post"})}function watchSyncEffect(a,i){return doWatch(a,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(a,i,u){return doWatch(a,i,u)}function doWatch(a,i,{immediate:u,deep:c,flush:d,once:m,onTrack:f,onTrigger:v}=EMPTY_OBJ){if(i&&m){const I=i;i=(...M)=>{I(...M),B()}}const g=currentInstance,y=I=>c===!0?I:traverse(I,c===!1?1:void 0);let b,w=!1,k=!1;if(isRef(a)?(b=()=>a.value,w=isShallow(a)):isReactive(a)?(b=()=>y(a),w=!0):isArray$o(a)?(k=!0,w=a.some(I=>isReactive(I)||isShallow(I)),b=()=>a.map(I=>{if(isRef(I))return I.value;if(isReactive(I))return y(I);if(isFunction$7(I))return callWithErrorHandling(I,g,2)})):isFunction$7(a)?i?b=()=>callWithErrorHandling(a,g,2):b=()=>($&&$(),callWithAsyncErrorHandling(a,g,3,[S])):b=NOOP,i&&c){const I=b;b=()=>traverse(I())}let $,S=I=>{$=O.onStop=()=>{callWithErrorHandling(I,g,4),$=O.onStop=void 0}},C;if(isInSSRComponentSetup)if(S=NOOP,i?u&&callWithAsyncErrorHandling(i,g,3,[b(),k?[]:void 0,S]):b(),d==="sync"){const I=useSSRContext();C=I.__watcherHandles||(I.__watcherHandles=[])}else return NOOP;let E=k?new Array(a.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const D=()=>{if(!(!O.active||!O.dirty))if(i){const I=O.run();(c||w||(k?I.some((M,z)=>hasChanged(M,E[z])):hasChanged(I,E)))&&($&&$(),callWithAsyncErrorHandling(i,g,3,[I,E===INITIAL_WATCHER_VALUE?void 0:k&&E[0]===INITIAL_WATCHER_VALUE?[]:E,S]),E=I)}else O.run()};D.allowRecurse=!!i;let A;d==="sync"?A=D:d==="post"?A=()=>queuePostRenderEffect(D,g&&g.suspense):(D.pre=!0,g&&(D.id=g.uid),A=()=>queueJob(D));const O=new ReactiveEffect(b,NOOP,A),F=getCurrentScope(),B=()=>{O.stop(),F&&remove(F.effects,O)};return i?u?D():E=O.run():d==="post"?queuePostRenderEffect(O.run.bind(O),g&&g.suspense):O.run(),C&&C.push(B),B}function instanceWatch(a,i,u){const c=this.proxy,d=isString$5(a)?a.includes(".")?createPathGetter(c,a):()=>c[a]:a.bind(c,c);let m;isFunction$7(i)?m=i:(m=i.handler,u=i);const f=setCurrentInstance(this),v=doWatch(d,m.bind(c),u);return f(),v}function createPathGetter(a,i){const u=i.split(".");return()=>{let c=a;for(let d=0;d<u.length&&c;d++)c=c[u[d]];return c}}function traverse(a,i,u=0,c){if(!isObject$h(a)||a.__v_skip)return a;if(i&&i>0){if(u>=i)return a;u++}if(c=c||new Set,c.has(a))return a;if(c.add(a),isRef(a))traverse(a.value,i,u,c);else if(isArray$o(a))for(let d=0;d<a.length;d++)traverse(a[d],i,u,c);else if(isSet$3(a)||isMap$2(a))a.forEach(d=>{traverse(d,i,u,c)});else if(isPlainObject$5(a))for(const d in a)traverse(a[d],i,u,c);return a}function withDirectives(a,i){if(currentRenderingInstance===null)return a;const u=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,c=a.dirs||(a.dirs=[]);for(let d=0;d<i.length;d++){let[m,f,v,g=EMPTY_OBJ]=i[d];m&&(isFunction$7(m)&&(m={mounted:m,updated:m}),m.deep&&traverse(f),c.push({dir:m,instance:u,value:f,oldValue:void 0,arg:v,modifiers:g}))}return a}function invokeDirectiveHook(a,i,u,c){const d=a.dirs,m=i&&i.dirs;for(let f=0;f<d.length;f++){const v=d[f];m&&(v.oldValue=m[f].value);let g=v.dir[c];g&&(pauseTracking(),callWithAsyncErrorHandling(g,u,8,[a.el,v,a,i]),resetTracking())}}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const a={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{a.isMounted=!0}),onBeforeUnmount(()=>{a.isUnmounting=!0}),a}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(a,{slots:i}){const u=getCurrentInstance$1(),c=useTransitionState();let d;return()=>{const m=i.default&&getTransitionRawChildren(i.default(),!0);if(!m||!m.length)return;let f=m[0];if(m.length>1){for(const C of m)if(C.type!==Comment){f=C;break}}const v=toRaw(a),{mode:g}=v;if(c.isLeaving)return emptyPlaceholder(f);const y=getKeepAliveChild(f);if(!y)return emptyPlaceholder(f);const b=resolveTransitionHooks(y,v,c,u);setTransitionHooks(y,b);const w=u.subTree,k=w&&getKeepAliveChild(w);let $=!1;const{getTransitionKey:S}=y.type;if(S){const C=S();d===void 0?d=C:C!==d&&(d=C,$=!0)}if(k&&k.type!==Comment&&(!isSameVNodeType(y,k)||$)){const C=resolveTransitionHooks(k,v,c,u);if(setTransitionHooks(k,C),g==="out-in")return c.isLeaving=!0,C.afterLeave=()=>{c.isLeaving=!1,u.update.active!==!1&&(u.effect.dirty=!0,u.update())},emptyPlaceholder(f);g==="in-out"&&y.type!==Comment&&(C.delayLeave=(E,D,A)=>{const O=getLeavingNodesForType(c,k);O[String(k.key)]=k,E[leaveCbKey]=()=>{D(),E[leaveCbKey]=void 0,delete b.delayedLeave},b.delayedLeave=A})}return f}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(a,i){const{leavingVNodes:u}=a;let c=u.get(i.type);return c||(c=Object.create(null),u.set(i.type,c)),c}function resolveTransitionHooks(a,i,u,c){const{appear:d,mode:m,persisted:f=!1,onBeforeEnter:v,onEnter:g,onAfterEnter:y,onEnterCancelled:b,onBeforeLeave:w,onLeave:k,onAfterLeave:$,onLeaveCancelled:S,onBeforeAppear:C,onAppear:E,onAfterAppear:D,onAppearCancelled:A}=i,O=String(a.key),F=getLeavingNodesForType(u,a),B=(z,q)=>{z&&callWithAsyncErrorHandling(z,c,9,q)},I=(z,q)=>{const H=q[1];B(z,q),isArray$o(z)?z.every(Q=>Q.length<=1)&&H():z.length<=1&&H()},M={mode:m,persisted:f,beforeEnter(z){let q=v;if(!u.isMounted)if(d)q=C||v;else return;z[leaveCbKey]&&z[leaveCbKey](!0);const H=F[O];H&&isSameVNodeType(a,H)&&H.el[leaveCbKey]&&H.el[leaveCbKey](),B(q,[z])},enter(z){let q=g,H=y,Q=b;if(!u.isMounted)if(d)q=E||g,H=D||y,Q=A||b;else return;let j=!1;const ee=z[enterCbKey$1]=G=>{j||(j=!0,G?B(Q,[z]):B(H,[z]),M.delayedLeave&&M.delayedLeave(),z[enterCbKey$1]=void 0)};q?I(q,[z,ee]):ee()},leave(z,q){const H=String(a.key);if(z[enterCbKey$1]&&z[enterCbKey$1](!0),u.isUnmounting)return q();B(w,[z]);let Q=!1;const j=z[leaveCbKey]=ee=>{Q||(Q=!0,q(),ee?B(S,[z]):B($,[z]),z[leaveCbKey]=void 0,F[H]===a&&delete F[H])};F[H]=a,k?I(k,[z,j]):j()},clone(z){return resolveTransitionHooks(z,i,u,c)}};return M}function emptyPlaceholder(a){if(isKeepAlive(a))return a=cloneVNode(a),a.children=null,a}function getKeepAliveChild(a){return isKeepAlive(a)?a.children?a.children[0]:void 0:a}function setTransitionHooks(a,i){a.shapeFlag&6&&a.component?setTransitionHooks(a.component.subTree,i):a.shapeFlag&128?(a.ssContent.transition=i.clone(a.ssContent),a.ssFallback.transition=i.clone(a.ssFallback)):a.transition=i}function getTransitionRawChildren(a,i=!1,u){let c=[],d=0;for(let m=0;m<a.length;m++){let f=a[m];const v=u==null?f.key:String(u)+String(f.key!=null?f.key:m);f.type===Fragment?(f.patchFlag&128&&d++,c=c.concat(getTransitionRawChildren(f.children,i,v))):(i||f.type!==Comment)&&c.push(v!=null?cloneVNode(f,{key:v}):f)}if(d>1)for(let m=0;m<c.length;m++)c[m].patchFlag=-2;return c}/*! #__NO_SIDE_EFFECTS__ */function defineComponent$1(a,i){return isFunction$7(a)?extend$4({name:a.name},i,{setup:a}):a}const isAsyncWrapper=a=>!!a.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(a){isFunction$7(a)&&(a={loader:a});const{loader:i,loadingComponent:u,errorComponent:c,delay:d=200,timeout:m,suspensible:f=!0,onError:v}=a;let g=null,y,b=0;const w=()=>(b++,g=null,k()),k=()=>{let $;return g||($=g=i().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),v)return new Promise((C,E)=>{v(S,()=>C(w()),()=>E(S),b+1)});throw S}).then(S=>$!==g&&g?g:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),y=S,S)))};return defineComponent$1({name:"AsyncComponentWrapper",__asyncLoader:k,get __asyncResolved(){return y},setup(){const $=currentInstance;if(y)return()=>createInnerComp(y,$);const S=A=>{g=null,handleError(A,$,13,!c)};if(f&&$.suspense||isInSSRComponentSetup)return k().then(A=>()=>createInnerComp(A,$)).catch(A=>(S(A),()=>c?createVNode(c,{error:A}):null));const C=ref(!1),E=ref(),D=ref(!!d);return d&&setTimeout(()=>{D.value=!1},d),m!=null&&setTimeout(()=>{if(!C.value&&!E.value){const A=new Error(`Async component timed out after ${m}ms.`);S(A),E.value=A}},m),k().then(()=>{C.value=!0,$.parent&&isKeepAlive($.parent.vnode)&&($.parent.effect.dirty=!0,queueJob($.parent.update))}).catch(A=>{S(A),E.value=A}),()=>{if(C.value&&y)return createInnerComp(y,$);if(E.value&&c)return createVNode(c,{error:E.value});if(u&&!D.value)return createVNode(u)}}})}function createInnerComp(a,i){const{ref:u,props:c,children:d,ce:m}=i.vnode,f=createVNode(a,c,d);return f.ref=u,f.ce=m,delete i.vnode.ce,f}const isKeepAlive=a=>a.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(a,{slots:i}){const u=getCurrentInstance$1(),c=u.ctx;if(!c.renderer)return()=>{const A=i.default&&i.default();return A&&A.length===1?A[0]:A};const d=new Map,m=new Set;let f=null;const v=u.suspense,{renderer:{p:g,m:y,um:b,o:{createElement:w}}}=c,k=w("div");c.activate=(A,O,F,B,I)=>{const M=A.component;y(A,O,F,0,v),g(M.vnode,A,O,F,M,v,B,A.slotScopeIds,I),queuePostRenderEffect(()=>{M.isDeactivated=!1,M.a&&invokeArrayFns(M.a);const z=A.props&&A.props.onVnodeMounted;z&&invokeVNodeHook(z,M.parent,A)},v)},c.deactivate=A=>{const O=A.component;y(A,k,null,1,v),queuePostRenderEffect(()=>{O.da&&invokeArrayFns(O.da);const F=A.props&&A.props.onVnodeUnmounted;F&&invokeVNodeHook(F,O.parent,A),O.isDeactivated=!0},v)};function $(A){resetShapeFlag(A),b(A,u,v,!0)}function S(A){d.forEach((O,F)=>{const B=getComponentName(O.type);B&&(!A||!A(B))&&C(F)})}function C(A){const O=d.get(A);!f||!isSameVNodeType(O,f)?$(O):f&&resetShapeFlag(f),d.delete(A),m.delete(A)}watch(()=>[a.include,a.exclude],([A,O])=>{A&&S(F=>matches$2(A,F)),O&&S(F=>!matches$2(O,F))},{flush:"post",deep:!0});let E=null;const D=()=>{E!=null&&d.set(E,getInnerChild(u.subTree))};return onMounted(D),onUpdated(D),onBeforeUnmount(()=>{d.forEach(A=>{const{subTree:O,suspense:F}=u,B=getInnerChild(O);if(A.type===B.type&&A.key===B.key){resetShapeFlag(B);const I=B.component.da;I&&queuePostRenderEffect(I,F);return}$(A)})}),()=>{if(E=null,!i.default)return null;const A=i.default(),O=A[0];if(A.length>1)return f=null,A;if(!isVNode(O)||!(O.shapeFlag&4)&&!(O.shapeFlag&128))return f=null,O;let F=getInnerChild(O);const B=F.type,I=getComponentName(isAsyncWrapper(F)?F.type.__asyncResolved||{}:B),{include:M,exclude:z,max:q}=a;if(M&&(!I||!matches$2(M,I))||z&&I&&matches$2(z,I))return f=F,O;const H=F.key==null?B:F.key,Q=d.get(H);return F.el&&(F=cloneVNode(F),O.shapeFlag&128&&(O.ssContent=F)),E=H,Q?(F.el=Q.el,F.component=Q.component,F.transition&&setTransitionHooks(F,F.transition),F.shapeFlag|=512,m.delete(H),m.add(H)):(m.add(H),q&&m.size>parseInt(q,10)&&C(m.values().next().value)),F.shapeFlag|=256,f=F,isSuspense(O.type)?O:F}}},KeepAlive=KeepAliveImpl;function matches$2(a,i){return isArray$o(a)?a.some(u=>matches$2(u,i)):isString$5(a)?a.split(",").includes(i):isRegExp$1(a)?a.test(i):!1}function onActivated(a,i){registerKeepAliveHook(a,"a",i)}function onDeactivated(a,i){registerKeepAliveHook(a,"da",i)}function registerKeepAliveHook(a,i,u=currentInstance){const c=a.__wdc||(a.__wdc=()=>{let d=u;for(;d;){if(d.isDeactivated)return;d=d.parent}return a()});if(injectHook(i,c,u),u){let d=u.parent;for(;d&&d.parent;)isKeepAlive(d.parent.vnode)&&injectToKeepAliveRoot(c,i,u,d),d=d.parent}}function injectToKeepAliveRoot(a,i,u,c){const d=injectHook(i,a,c,!0);onUnmounted(()=>{remove(c[i],d)},u)}function resetShapeFlag(a){a.shapeFlag&=-257,a.shapeFlag&=-513}function getInnerChild(a){return a.shapeFlag&128?a.ssContent:a}function injectHook(a,i,u=currentInstance,c=!1){if(u){const d=u[a]||(u[a]=[]),m=i.__weh||(i.__weh=(...f)=>{if(u.isUnmounted)return;pauseTracking();const v=setCurrentInstance(u),g=callWithAsyncErrorHandling(i,u,a,f);return v(),resetTracking(),g});return c?d.unshift(m):d.push(m),m}}const createHook=a=>(i,u=currentInstance)=>(!isInSSRComponentSetup||a==="sp")&&injectHook(a,(...c)=>i(...c),u),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(a,i=currentInstance){injectHook("ec",a,i)}function renderList(a,i,u,c){let d;const m=u&&u[c];if(isArray$o(a)||isString$5(a)){d=new Array(a.length);for(let f=0,v=a.length;f<v;f++)d[f]=i(a[f],f,void 0,m&&m[f])}else if(typeof a=="number"){d=new Array(a);for(let f=0;f<a;f++)d[f]=i(f+1,f,void 0,m&&m[f])}else if(isObject$h(a))if(a[Symbol.iterator])d=Array.from(a,(f,v)=>i(f,v,void 0,m&&m[v]));else{const f=Object.keys(a);d=new Array(f.length);for(let v=0,g=f.length;v<g;v++){const y=f[v];d[v]=i(a[y],y,v,m&&m[v])}}else d=[];return u&&(u[c]=d),d}function createSlots(a,i){for(let u=0;u<i.length;u++){const c=i[u];if(isArray$o(c))for(let d=0;d<c.length;d++)a[c[d].name]=c[d].fn;else c&&(a[c.name]=c.key?(...d)=>{const m=c.fn(...d);return m&&(m.key=c.key),m}:c.fn)}return a}function renderSlot(a,i,u={},c,d){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return i!=="default"&&(u.name=i),createVNode("slot",u,c&&c());let m=a[i];m&&m._c&&(m._d=!1),openBlock();const f=m&&ensureValidVNode$1(m(u)),v=createBlock(Fragment,{key:u.key||f&&f.key||`_${i}`},f||(c?c():[]),f&&a._===1?64:-2);return!d&&v.scopeId&&(v.slotScopeIds=[v.scopeId+"-s"]),m&&m._c&&(m._d=!0),v}function ensureValidVNode$1(a){return a.some(i=>isVNode(i)?!(i.type===Comment||i.type===Fragment&&!ensureValidVNode$1(i.children)):!0)?a:null}function toHandlers(a,i){const u={};for(const c in a)u[i&&/[A-Z]/.test(c)?`on:${c}`:toHandlerKey(c)]=a[c];return u}const getPublicInstance=a=>a?isStatefulComponent(a)?getExposeProxy(a)||a.proxy:getPublicInstance(a.parent):null,publicPropertiesMap=extend$4(Object.create(null),{$:a=>a,$el:a=>a.vnode.el,$data:a=>a.data,$props:a=>a.props,$attrs:a=>a.attrs,$slots:a=>a.slots,$refs:a=>a.refs,$parent:a=>getPublicInstance(a.parent),$root:a=>getPublicInstance(a.root),$emit:a=>a.emit,$options:a=>resolveMergedOptions(a),$forceUpdate:a=>a.f||(a.f=()=>{a.effect.dirty=!0,queueJob(a.update)}),$nextTick:a=>a.n||(a.n=nextTick.bind(a.proxy)),$watch:a=>instanceWatch.bind(a)}),hasSetupBinding=(a,i)=>a!==EMPTY_OBJ&&!a.__isScriptSetup&&hasOwn(a,i),PublicInstanceProxyHandlers={get({_:a},i){const{ctx:u,setupState:c,data:d,props:m,accessCache:f,type:v,appContext:g}=a;let y;if(i[0]!=="$"){const $=f[i];if($!==void 0)switch($){case 1:return c[i];case 2:return d[i];case 4:return u[i];case 3:return m[i]}else{if(hasSetupBinding(c,i))return f[i]=1,c[i];if(d!==EMPTY_OBJ&&hasOwn(d,i))return f[i]=2,d[i];if((y=a.propsOptions[0])&&hasOwn(y,i))return f[i]=3,m[i];if(u!==EMPTY_OBJ&&hasOwn(u,i))return f[i]=4,u[i];shouldCacheAccess&&(f[i]=0)}}const b=publicPropertiesMap[i];let w,k;if(b)return i==="$attrs"&&track(a,"get",i),b(a);if((w=v.__cssModules)&&(w=w[i]))return w;if(u!==EMPTY_OBJ&&hasOwn(u,i))return f[i]=4,u[i];if(k=g.config.globalProperties,hasOwn(k,i))return k[i]},set({_:a},i,u){const{data:c,setupState:d,ctx:m}=a;return hasSetupBinding(d,i)?(d[i]=u,!0):c!==EMPTY_OBJ&&hasOwn(c,i)?(c[i]=u,!0):hasOwn(a.props,i)||i[0]==="$"&&i.slice(1)in a?!1:(m[i]=u,!0)},has({_:{data:a,setupState:i,accessCache:u,ctx:c,appContext:d,propsOptions:m}},f){let v;return!!u[f]||a!==EMPTY_OBJ&&hasOwn(a,f)||hasSetupBinding(i,f)||(v=m[0])&&hasOwn(v,f)||hasOwn(c,f)||hasOwn(publicPropertiesMap,f)||hasOwn(d.config.globalProperties,f)},defineProperty(a,i,u){return u.get!=null?a._.accessCache[i]=0:hasOwn(u,"value")&&this.set(a,i,u.value,null),Reflect.defineProperty(a,i,u)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$4({},PublicInstanceProxyHandlers,{get(a,i){if(i!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(a,i,a)},has(a,i){return i[0]!=="_"&&!isGloballyAllowed(i)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(a){}function defineOptions(a){}function defineSlots(){return null}function defineModel(){}function withDefaults(a,i){return null}function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const a=getCurrentInstance$1();return a.setupContext||(a.setupContext=createSetupContext(a))}function normalizePropsOrEmits(a){return isArray$o(a)?a.reduce((i,u)=>(i[u]=null,i),{}):a}function mergeDefaults(a,i){const u=normalizePropsOrEmits(a);for(const c in i){if(c.startsWith("__skip"))continue;let d=u[c];d?isArray$o(d)||isFunction$7(d)?d=u[c]={type:d,default:i[c]}:d.default=i[c]:d===null&&(d=u[c]={default:i[c]}),d&&i[`__skip_${c}`]&&(d.skipFactory=!0)}return u}function mergeModels(a,i){return!a||!i?a||i:isArray$o(a)&&isArray$o(i)?a.concat(i):extend$4({},normalizePropsOrEmits(a),normalizePropsOrEmits(i))}function createPropsRestProxy(a,i){const u={};for(const c in a)i.includes(c)||Object.defineProperty(u,c,{enumerable:!0,get:()=>a[c]});return u}function withAsyncContext(a){const i=getCurrentInstance$1();let u=a();return unsetCurrentInstance(),isPromise(u)&&(u=u.catch(c=>{throw setCurrentInstance(i),c})),[u,()=>setCurrentInstance(i)]}let shouldCacheAccess=!0;function applyOptions(a){const i=resolveMergedOptions(a),u=a.proxy,c=a.ctx;shouldCacheAccess=!1,i.beforeCreate&&callHook$1(i.beforeCreate,a,"bc");const{data:d,computed:m,methods:f,watch:v,provide:g,inject:y,created:b,beforeMount:w,mounted:k,beforeUpdate:$,updated:S,activated:C,deactivated:E,beforeDestroy:D,beforeUnmount:A,destroyed:O,unmounted:F,render:B,renderTracked:I,renderTriggered:M,errorCaptured:z,serverPrefetch:q,expose:H,inheritAttrs:Q,components:j,directives:ee,filters:G}=i;if(y&&resolveInjections(y,c,null),f)for(const re in f){const ae=f[re];isFunction$7(ae)&&(c[re]=ae.bind(u))}if(d){const re=d.call(u,u);isObject$h(re)&&(a.data=reactive(re))}if(shouldCacheAccess=!0,m)for(const re in m){const ae=m[re],ye=isFunction$7(ae)?ae.bind(u,u):isFunction$7(ae.get)?ae.get.bind(u,u):NOOP,ve=!isFunction$7(ae)&&isFunction$7(ae.set)?ae.set.bind(u):NOOP,le=computed({get:ye,set:ve});Object.defineProperty(c,re,{enumerable:!0,configurable:!0,get:()=>le.value,set:Se=>le.value=Se})}if(v)for(const re in v)createWatcher(v[re],c,u,re);if(g){const re=isFunction$7(g)?g.call(u):g;Reflect.ownKeys(re).forEach(ae=>{provide(ae,re[ae])})}b&&callHook$1(b,a,"c");function te(re,ae){isArray$o(ae)?ae.forEach(ye=>re(ye.bind(u))):ae&&re(ae.bind(u))}if(te(onBeforeMount,w),te(onMounted,k),te(onBeforeUpdate,$),te(onUpdated,S),te(onActivated,C),te(onDeactivated,E),te(onErrorCaptured,z),te(onRenderTracked,I),te(onRenderTriggered,M),te(onBeforeUnmount,A),te(onUnmounted,F),te(onServerPrefetch,q),isArray$o(H))if(H.length){const re=a.exposed||(a.exposed={});H.forEach(ae=>{Object.defineProperty(re,ae,{get:()=>u[ae],set:ye=>u[ae]=ye})})}else a.exposed||(a.exposed={});B&&a.render===NOOP&&(a.render=B),Q!=null&&(a.inheritAttrs=Q),j&&(a.components=j),ee&&(a.directives=ee)}function resolveInjections(a,i,u=NOOP){isArray$o(a)&&(a=normalizeInject(a));for(const c in a){const d=a[c];let m;isObject$h(d)?"default"in d?m=inject$1(d.from||c,d.default,!0):m=inject$1(d.from||c):m=inject$1(d),isRef(m)?Object.defineProperty(i,c,{enumerable:!0,configurable:!0,get:()=>m.value,set:f=>m.value=f}):i[c]=m}}function callHook$1(a,i,u){callWithAsyncErrorHandling(isArray$o(a)?a.map(c=>c.bind(i.proxy)):a.bind(i.proxy),i,u)}function createWatcher(a,i,u,c){const d=c.includes(".")?createPathGetter(u,c):()=>u[c];if(isString$5(a)){const m=i[a];isFunction$7(m)&&watch(d,m)}else if(isFunction$7(a))watch(d,a.bind(u));else if(isObject$h(a))if(isArray$o(a))a.forEach(m=>createWatcher(m,i,u,c));else{const m=isFunction$7(a.handler)?a.handler.bind(u):i[a.handler];isFunction$7(m)&&watch(d,m,a)}}function resolveMergedOptions(a){const i=a.type,{mixins:u,extends:c}=i,{mixins:d,optionsCache:m,config:{optionMergeStrategies:f}}=a.appContext,v=m.get(i);let g;return v?g=v:!d.length&&!u&&!c?g=i:(g={},d.length&&d.forEach(y=>mergeOptions$1(g,y,f,!0)),mergeOptions$1(g,i,f)),isObject$h(i)&&m.set(i,g),g}function mergeOptions$1(a,i,u,c=!1){const{mixins:d,extends:m}=i;m&&mergeOptions$1(a,m,u,!0),d&&d.forEach(f=>mergeOptions$1(a,f,u,!0));for(const f in i)if(!(c&&f==="expose")){const v=internalOptionMergeStrats[f]||u&&u[f];a[f]=v?v(a[f],i[f]):i[f]}return a}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(a,i){return i?a?function(){return extend$4(isFunction$7(a)?a.call(this,this):a,isFunction$7(i)?i.call(this,this):i)}:i:a}function mergeInject(a,i){return mergeObjectOptions(normalizeInject(a),normalizeInject(i))}function normalizeInject(a){if(isArray$o(a)){const i={};for(let u=0;u<a.length;u++)i[a[u]]=a[u];return i}return a}function mergeAsArray(a,i){return a?[...new Set([].concat(a,i))]:i}function mergeObjectOptions(a,i){return a?extend$4(Object.create(null),a,i):i}function mergeEmitsOrPropsOptions(a,i){return a?isArray$o(a)&&isArray$o(i)?[...new Set([...a,...i])]:extend$4(Object.create(null),normalizePropsOrEmits(a),normalizePropsOrEmits(i??{})):i}function mergeWatchOptions(a,i){if(!a)return i;if(!i)return a;const u=extend$4(Object.create(null),a);for(const c in i)u[c]=mergeAsArray(a[c],i[c]);return u}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(a,i){return function(c,d=null){isFunction$7(c)||(c=extend$4({},c)),d!=null&&!isObject$h(d)&&(d=null);const m=createAppContext(),f=new WeakSet;let v=!1;const g=m.app={_uid:uid$1++,_component:c,_props:d,_container:null,_context:m,_instance:null,version:version$4,get config(){return m.config},set config(y){},use(y,...b){return f.has(y)||(y&&isFunction$7(y.install)?(f.add(y),y.install(g,...b)):isFunction$7(y)&&(f.add(y),y(g,...b))),g},mixin(y){return m.mixins.includes(y)||m.mixins.push(y),g},component(y,b){return b?(m.components[y]=b,g):m.components[y]},directive(y,b){return b?(m.directives[y]=b,g):m.directives[y]},mount(y,b,w){if(!v){const k=createVNode(c,d);return k.appContext=m,w===!0?w="svg":w===!1&&(w=void 0),b&&i?i(k,y):a(k,y,w),v=!0,g._container=y,y.__vue_app__=g,getExposeProxy(k.component)||k.component.proxy}},unmount(){v&&(a(null,g._container),delete g._container.__vue_app__)},provide(y,b){return m.provides[y]=b,g},runWithContext(y){const b=currentApp;currentApp=g;try{return y()}finally{currentApp=b}}};return g}}let currentApp=null;function provide(a,i){if(currentInstance){let u=currentInstance.provides;const c=currentInstance.parent&&currentInstance.parent.provides;c===u&&(u=currentInstance.provides=Object.create(c)),u[a]=i}}function inject$1(a,i,u=!1){const c=currentInstance||currentRenderingInstance;if(c||currentApp){const d=c?c.parent==null?c.vnode.appContext&&c.vnode.appContext.provides:c.parent.provides:currentApp._context.provides;if(d&&a in d)return d[a];if(arguments.length>1)return u&&isFunction$7(i)?i.call(c&&c.proxy):i}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps(a,i,u,c=!1){const d={},m={};def(m,InternalObjectKey,1),a.propsDefaults=Object.create(null),setFullProps(a,i,d,m);for(const f in a.propsOptions[0])f in d||(d[f]=void 0);u?a.props=c?d:shallowReactive(d):a.type.props?a.props=d:a.props=m,a.attrs=m}function updateProps(a,i,u,c){const{props:d,attrs:m,vnode:{patchFlag:f}}=a,v=toRaw(d),[g]=a.propsOptions;let y=!1;if((c||f>0)&&!(f&16)){if(f&8){const b=a.vnode.dynamicProps;for(let w=0;w<b.length;w++){let k=b[w];if(isEmitListener(a.emitsOptions,k))continue;const $=i[k];if(g)if(hasOwn(m,k))$!==m[k]&&(m[k]=$,y=!0);else{const S=camelize(k);d[S]=resolvePropValue(g,v,S,$,a,!1)}else $!==m[k]&&(m[k]=$,y=!0)}}}else{setFullProps(a,i,d,m)&&(y=!0);let b;for(const w in v)(!i||!hasOwn(i,w)&&((b=hyphenate(w))===w||!hasOwn(i,b)))&&(g?u&&(u[w]!==void 0||u[b]!==void 0)&&(d[w]=resolvePropValue(g,v,w,void 0,a,!0)):delete d[w]);if(m!==v)for(const w in m)(!i||!hasOwn(i,w))&&(delete m[w],y=!0)}y&&trigger(a,"set","$attrs")}function setFullProps(a,i,u,c){const[d,m]=a.propsOptions;let f=!1,v;if(i)for(let g in i){if(isReservedProp(g))continue;const y=i[g];let b;d&&hasOwn(d,b=camelize(g))?!m||!m.includes(b)?u[b]=y:(v||(v={}))[b]=y:isEmitListener(a.emitsOptions,g)||(!(g in c)||y!==c[g])&&(c[g]=y,f=!0)}if(m){const g=toRaw(u),y=v||EMPTY_OBJ;for(let b=0;b<m.length;b++){const w=m[b];u[w]=resolvePropValue(d,g,w,y[w],a,!hasOwn(y,w))}}return f}function resolvePropValue(a,i,u,c,d,m){const f=a[u];if(f!=null){const v=hasOwn(f,"default");if(v&&c===void 0){const g=f.default;if(f.type!==Function&&!f.skipFactory&&isFunction$7(g)){const{propsDefaults:y}=d;if(u in y)c=y[u];else{const b=setCurrentInstance(d);c=y[u]=g.call(null,i),b()}}else c=g}f[0]&&(m&&!v?c=!1:f[1]&&(c===""||c===hyphenate(u))&&(c=!0))}return c}function normalizePropsOptions(a,i,u=!1){const c=i.propsCache,d=c.get(a);if(d)return d;const m=a.props,f={},v=[];let g=!1;if(!isFunction$7(a)){const b=w=>{g=!0;const[k,$]=normalizePropsOptions(w,i,!0);extend$4(f,k),$&&v.push(...$)};!u&&i.mixins.length&&i.mixins.forEach(b),a.extends&&b(a.extends),a.mixins&&a.mixins.forEach(b)}if(!m&&!g)return isObject$h(a)&&c.set(a,EMPTY_ARR),EMPTY_ARR;if(isArray$o(m))for(let b=0;b<m.length;b++){const w=camelize(m[b]);validatePropName(w)&&(f[w]=EMPTY_OBJ)}else if(m)for(const b in m){const w=camelize(b);if(validatePropName(w)){const k=m[b],$=f[w]=isArray$o(k)||isFunction$7(k)?{type:k}:extend$4({},k);if($){const S=getTypeIndex(Boolean,$.type),C=getTypeIndex(String,$.type);$[0]=S>-1,$[1]=C<0||S<C,(S>-1||hasOwn($,"default"))&&v.push(w)}}}const y=[f,v];return isObject$h(a)&&c.set(a,y),y}function validatePropName(a){return a[0]!=="$"&&!isReservedProp(a)}function getType(a){return a===null?"null":typeof a=="function"?a.name||"":typeof a=="object"&&a.constructor&&a.constructor.name||""}function isSameType(a,i){return getType(a)===getType(i)}function getTypeIndex(a,i){return isArray$o(i)?i.findIndex(u=>isSameType(u,a)):isFunction$7(i)&&isSameType(i,a)?0:-1}const isInternalKey=a=>a[0]==="_"||a==="$stable",normalizeSlotValue=a=>isArray$o(a)?a.map(normalizeVNode):[normalizeVNode(a)],normalizeSlot$1=(a,i,u)=>{if(i._n)return i;const c=withCtx((...d)=>normalizeSlotValue(i(...d)),u);return c._c=!1,c},normalizeObjectSlots=(a,i,u)=>{const c=a._ctx;for(const d in a){if(isInternalKey(d))continue;const m=a[d];if(isFunction$7(m))i[d]=normalizeSlot$1(d,m,c);else if(m!=null){const f=normalizeSlotValue(m);i[d]=()=>f}}},normalizeVNodeSlots=(a,i)=>{const u=normalizeSlotValue(i);a.slots.default=()=>u},initSlots=(a,i)=>{if(a.vnode.shapeFlag&32){const u=i._;u?(a.slots=toRaw(i),def(i,"_",u)):normalizeObjectSlots(i,a.slots={})}else a.slots={},i&&normalizeVNodeSlots(a,i);def(a.slots,InternalObjectKey,1)},updateSlots=(a,i,u)=>{const{vnode:c,slots:d}=a;let m=!0,f=EMPTY_OBJ;if(c.shapeFlag&32){const v=i._;v?u&&v===1?m=!1:(extend$4(d,i),!u&&v===1&&delete d._):(m=!i.$stable,normalizeObjectSlots(i,d)),f=i}else i&&(normalizeVNodeSlots(a,i),f={default:1});if(m)for(const v in d)!isInternalKey(v)&&f[v]==null&&delete d[v]};function setRef(a,i,u,c,d=!1){if(isArray$o(a)){a.forEach((k,$)=>setRef(k,i&&(isArray$o(i)?i[$]:i),u,c,d));return}if(isAsyncWrapper(c)&&!d)return;const m=c.shapeFlag&4?getExposeProxy(c.component)||c.component.proxy:c.el,f=d?null:m,{i:v,r:g}=a,y=i&&i.r,b=v.refs===EMPTY_OBJ?v.refs={}:v.refs,w=v.setupState;if(y!=null&&y!==g&&(isString$5(y)?(b[y]=null,hasOwn(w,y)&&(w[y]=null)):isRef(y)&&(y.value=null)),isFunction$7(g))callWithErrorHandling(g,v,12,[f,b]);else{const k=isString$5(g),$=isRef(g);if(k||$){const S=()=>{if(a.f){const C=k?hasOwn(w,g)?w[g]:b[g]:g.value;d?isArray$o(C)&&remove(C,m):isArray$o(C)?C.includes(m)||C.push(m):k?(b[g]=[m],hasOwn(w,g)&&(w[g]=b[g])):(g.value=[m],a.k&&(b[a.k]=g.value))}else k?(b[g]=f,hasOwn(w,g)&&(w[g]=f)):$&&(g.value=f,a.k&&(b[a.k]=f))};f?(S.id=-1,queuePostRenderEffect(S,u)):S()}}}let hasMismatch=!1;const isSVGContainer=a=>a.namespaceURI.includes("svg")&&a.tagName!=="foreignObject",isMathMLContainer=a=>a.namespaceURI.includes("MathML"),getContainerType=a=>{if(isSVGContainer(a))return"svg";if(isMathMLContainer(a))return"mathml"},isComment=a=>a.nodeType===8;function createHydrationFunctions(a){const{mt:i,p:u,o:{patchProp:c,createText:d,nextSibling:m,parentNode:f,remove:v,insert:g,createComment:y}}=a,b=(O,F)=>{if(!F.hasChildNodes()){u(null,O,F),flushPostFlushCbs(),F._vnode=O;return}hasMismatch=!1,w(F.firstChild,O,null,null,null),flushPostFlushCbs(),F._vnode=O,hasMismatch&&console.error("Hydration completed but contains mismatches.")},w=(O,F,B,I,M,z=!1)=>{const q=isComment(O)&&O.data==="[",H=()=>C(O,F,B,I,M,q),{type:Q,ref:j,shapeFlag:ee,patchFlag:G}=F;let J=O.nodeType;F.el=O,G===-2&&(z=!1,F.dynamicChildren=null);let te=null;switch(Q){case Text:J!==3?F.children===""?(g(F.el=d(""),f(O),O),te=O):te=H():(O.data!==F.children&&(hasMismatch=!0,O.data=F.children),te=m(O));break;case Comment:A(O)?(te=m(O),D(F.el=O.content.firstChild,O,B)):J!==8||q?te=H():te=m(O);break;case Static:if(q&&(O=m(O),J=O.nodeType),J===1||J===3){te=O;const re=!F.children.length;for(let ae=0;ae<F.staticCount;ae++)re&&(F.children+=te.nodeType===1?te.outerHTML:te.data),ae===F.staticCount-1&&(F.anchor=te),te=m(te);return q?m(te):te}else H();break;case Fragment:q?te=S(O,F,B,I,M,z):te=H();break;default:if(ee&1)(J!==1||F.type.toLowerCase()!==O.tagName.toLowerCase())&&!A(O)?te=H():te=k(O,F,B,I,M,z);else if(ee&6){F.slotScopeIds=M;const re=f(O);if(q?te=E(O):isComment(O)&&O.data==="teleport start"?te=E(O,O.data,"teleport end"):te=m(O),i(F,re,null,B,I,getContainerType(re),z),isAsyncWrapper(F)){let ae;q?(ae=createVNode(Fragment),ae.anchor=te?te.previousSibling:re.lastChild):ae=O.nodeType===3?createTextVNode(""):createVNode("div"),ae.el=O,F.component.subTree=ae}}else ee&64?J!==8?te=H():te=F.type.hydrate(O,F,B,I,M,z,a,$):ee&128&&(te=F.type.hydrate(O,F,B,I,getContainerType(f(O)),M,z,a,w))}return j!=null&&setRef(j,null,I,F),te},k=(O,F,B,I,M,z)=>{z=z||!!F.dynamicChildren;const{type:q,props:H,patchFlag:Q,shapeFlag:j,dirs:ee,transition:G}=F,J=q==="input"||q==="option";if(J||Q!==-1){ee&&invokeDirectiveHook(F,null,B,"created");let te=!1;if(A(O)){te=needTransition(I,G)&&B&&B.vnode.props&&B.vnode.props.appear;const ae=O.content.firstChild;te&&G.beforeEnter(ae),D(ae,O,B),F.el=O=ae}if(j&16&&!(H&&(H.innerHTML||H.textContent))){let ae=$(O.firstChild,F,O,B,I,M,z);for(;ae;){hasMismatch=!0;const ye=ae;ae=ae.nextSibling,v(ye)}}else j&8&&O.textContent!==F.children&&(hasMismatch=!0,O.textContent=F.children);if(H)if(J||!z||Q&48)for(const ae in H)(J&&(ae.endsWith("value")||ae==="indeterminate")||isOn$1(ae)&&!isReservedProp(ae)||ae[0]===".")&&c(O,ae,null,H[ae],void 0,void 0,B);else H.onClick&&c(O,"onClick",null,H.onClick,void 0,void 0,B);let re;(re=H&&H.onVnodeBeforeMount)&&invokeVNodeHook(re,B,F),ee&&invokeDirectiveHook(F,null,B,"beforeMount"),((re=H&&H.onVnodeMounted)||ee||te)&&queueEffectWithSuspense(()=>{re&&invokeVNodeHook(re,B,F),te&&G.enter(O),ee&&invokeDirectiveHook(F,null,B,"mounted")},I)}return O.nextSibling},$=(O,F,B,I,M,z,q)=>{q=q||!!F.dynamicChildren;const H=F.children,Q=H.length;for(let j=0;j<Q;j++){const ee=q?H[j]:H[j]=normalizeVNode(H[j]);if(O)O=w(O,ee,I,M,z,q);else{if(ee.type===Text&&!ee.children)continue;hasMismatch=!0,u(null,ee,B,null,I,M,getContainerType(B),z)}}return O},S=(O,F,B,I,M,z)=>{const{slotScopeIds:q}=F;q&&(M=M?M.concat(q):q);const H=f(O),Q=$(m(O),F,H,B,I,M,z);return Q&&isComment(Q)&&Q.data==="]"?m(F.anchor=Q):(hasMismatch=!0,g(F.anchor=y("]"),H,Q),Q)},C=(O,F,B,I,M,z)=>{if(hasMismatch=!0,F.el=null,z){const Q=E(O);for(;;){const j=m(O);if(j&&j!==Q)v(j);else break}}const q=m(O),H=f(O);return v(O),u(null,F,H,q,B,I,getContainerType(H),M),q},E=(O,F="[",B="]")=>{let I=0;for(;O;)if(O=m(O),O&&isComment(O)&&(O.data===F&&I++,O.data===B)){if(I===0)return m(O);I--}return O},D=(O,F,B)=>{const I=F.parentNode;I&&I.replaceChild(O,F);let M=B;for(;M;)M.vnode.el===F&&(M.vnode.el=M.subTree.el=O),M=M.parent},A=O=>O.nodeType===1&&O.tagName.toLowerCase()==="template";return[b,w]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(a){return baseCreateRenderer(a)}function createHydrationRenderer(a){return baseCreateRenderer(a,createHydrationFunctions)}function baseCreateRenderer(a,i){const u=getGlobalThis();u.__VUE__=!0;const{insert:c,remove:d,patchProp:m,createElement:f,createText:v,createComment:g,setText:y,setElementText:b,parentNode:w,nextSibling:k,setScopeId:$=NOOP,insertStaticContent:S}=a,C=(ie,de,Fe,We=null,wt=null,jt=null,Ut=void 0,Tt=null,Ft=!!de.dynamicChildren)=>{if(ie===de)return;ie&&!isSameVNodeType(ie,de)&&(We=ue(ie),Se(ie,wt,jt,!0),ie=null),de.patchFlag===-2&&(Ft=!1,de.dynamicChildren=null);const{type:St,ref:Wt,shapeFlag:$t}=de;switch(St){case Text:E(ie,de,Fe,We);break;case Comment:D(ie,de,Fe,We);break;case Static:ie==null&&A(de,Fe,We,Ut);break;case Fragment:j(ie,de,Fe,We,wt,jt,Ut,Tt,Ft);break;default:$t&1?B(ie,de,Fe,We,wt,jt,Ut,Tt,Ft):$t&6?ee(ie,de,Fe,We,wt,jt,Ut,Tt,Ft):($t&64||$t&128)&&St.process(ie,de,Fe,We,wt,jt,Ut,Tt,Ft,Pe)}Wt!=null&&wt&&setRef(Wt,ie&&ie.ref,jt,de||ie,!de)},E=(ie,de,Fe,We)=>{if(ie==null)c(de.el=v(de.children),Fe,We);else{const wt=de.el=ie.el;de.children!==ie.children&&y(wt,de.children)}},D=(ie,de,Fe,We)=>{ie==null?c(de.el=g(de.children||""),Fe,We):de.el=ie.el},A=(ie,de,Fe,We)=>{[ie.el,ie.anchor]=S(ie.children,de,Fe,We,ie.el,ie.anchor)},O=({el:ie,anchor:de},Fe,We)=>{let wt;for(;ie&&ie!==de;)wt=k(ie),c(ie,Fe,We),ie=wt;c(de,Fe,We)},F=({el:ie,anchor:de})=>{let Fe;for(;ie&&ie!==de;)Fe=k(ie),d(ie),ie=Fe;d(de)},B=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft)=>{de.type==="svg"?Ut="svg":de.type==="math"&&(Ut="mathml"),ie==null?I(de,Fe,We,wt,jt,Ut,Tt,Ft):q(ie,de,wt,jt,Ut,Tt,Ft)},I=(ie,de,Fe,We,wt,jt,Ut,Tt)=>{let Ft,St;const{props:Wt,shapeFlag:$t,transition:xt,dirs:Kt}=ie;if(Ft=ie.el=f(ie.type,jt,Wt&&Wt.is,Wt),$t&8?b(Ft,ie.children):$t&16&&z(ie.children,Ft,null,We,wt,resolveChildrenNamespace(ie,jt),Ut,Tt),Kt&&invokeDirectiveHook(ie,null,We,"created"),M(Ft,ie,ie.scopeId,Ut,We),Wt){for(const hn in Wt)hn!=="value"&&!isReservedProp(hn)&&m(Ft,hn,null,Wt[hn],jt,ie.children,We,wt,ke);"value"in Wt&&m(Ft,"value",null,Wt.value,jt),(St=Wt.onVnodeBeforeMount)&&invokeVNodeHook(St,We,ie)}Kt&&invokeDirectiveHook(ie,null,We,"beforeMount");const ln=needTransition(wt,xt);ln&&xt.beforeEnter(Ft),c(Ft,de,Fe),((St=Wt&&Wt.onVnodeMounted)||ln||Kt)&&queuePostRenderEffect(()=>{St&&invokeVNodeHook(St,We,ie),ln&&xt.enter(Ft),Kt&&invokeDirectiveHook(ie,null,We,"mounted")},wt)},M=(ie,de,Fe,We,wt)=>{if(Fe&&$(ie,Fe),We)for(let jt=0;jt<We.length;jt++)$(ie,We[jt]);if(wt){let jt=wt.subTree;if(de===jt){const Ut=wt.vnode;M(ie,Ut,Ut.scopeId,Ut.slotScopeIds,wt.parent)}}},z=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft=0)=>{for(let St=Ft;St<ie.length;St++){const Wt=ie[St]=Tt?cloneIfMounted(ie[St]):normalizeVNode(ie[St]);C(null,Wt,de,Fe,We,wt,jt,Ut,Tt)}},q=(ie,de,Fe,We,wt,jt,Ut)=>{const Tt=de.el=ie.el;let{patchFlag:Ft,dynamicChildren:St,dirs:Wt}=de;Ft|=ie.patchFlag&16;const $t=ie.props||EMPTY_OBJ,xt=de.props||EMPTY_OBJ;let Kt;if(Fe&&toggleRecurse(Fe,!1),(Kt=xt.onVnodeBeforeUpdate)&&invokeVNodeHook(Kt,Fe,de,ie),Wt&&invokeDirectiveHook(de,ie,Fe,"beforeUpdate"),Fe&&toggleRecurse(Fe,!0),St?H(ie.dynamicChildren,St,Tt,Fe,We,resolveChildrenNamespace(de,wt),jt):Ut||ae(ie,de,Tt,null,Fe,We,resolveChildrenNamespace(de,wt),jt,!1),Ft>0){if(Ft&16)Q(Tt,de,$t,xt,Fe,We,wt);else if(Ft&2&&$t.class!==xt.class&&m(Tt,"class",null,xt.class,wt),Ft&4&&m(Tt,"style",$t.style,xt.style,wt),Ft&8){const ln=de.dynamicProps;for(let hn=0;hn<ln.length;hn++){const kt=ln[hn],Et=$t[kt],zt=xt[kt];(zt!==Et||kt==="value")&&m(Tt,kt,Et,zt,wt,ie.children,Fe,We,ke)}}Ft&1&&ie.children!==de.children&&b(Tt,de.children)}else!Ut&&St==null&&Q(Tt,de,$t,xt,Fe,We,wt);((Kt=xt.onVnodeUpdated)||Wt)&&queuePostRenderEffect(()=>{Kt&&invokeVNodeHook(Kt,Fe,de,ie),Wt&&invokeDirectiveHook(de,ie,Fe,"updated")},We)},H=(ie,de,Fe,We,wt,jt,Ut)=>{for(let Tt=0;Tt<de.length;Tt++){const Ft=ie[Tt],St=de[Tt],Wt=Ft.el&&(Ft.type===Fragment||!isSameVNodeType(Ft,St)||Ft.shapeFlag&70)?w(Ft.el):Fe;C(Ft,St,Wt,null,We,wt,jt,Ut,!0)}},Q=(ie,de,Fe,We,wt,jt,Ut)=>{if(Fe!==We){if(Fe!==EMPTY_OBJ)for(const Tt in Fe)!isReservedProp(Tt)&&!(Tt in We)&&m(ie,Tt,Fe[Tt],null,Ut,de.children,wt,jt,ke);for(const Tt in We){if(isReservedProp(Tt))continue;const Ft=We[Tt],St=Fe[Tt];Ft!==St&&Tt!=="value"&&m(ie,Tt,St,Ft,Ut,de.children,wt,jt,ke)}"value"in We&&m(ie,"value",Fe.value,We.value,Ut)}},j=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft)=>{const St=de.el=ie?ie.el:v(""),Wt=de.anchor=ie?ie.anchor:v("");let{patchFlag:$t,dynamicChildren:xt,slotScopeIds:Kt}=de;Kt&&(Tt=Tt?Tt.concat(Kt):Kt),ie==null?(c(St,Fe,We),c(Wt,Fe,We),z(de.children||[],Fe,Wt,wt,jt,Ut,Tt,Ft)):$t>0&&$t&64&&xt&&ie.dynamicChildren?(H(ie.dynamicChildren,xt,Fe,wt,jt,Ut,Tt),(de.key!=null||wt&&de===wt.subTree)&&traverseStaticChildren(ie,de,!0)):ae(ie,de,Fe,Wt,wt,jt,Ut,Tt,Ft)},ee=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft)=>{de.slotScopeIds=Tt,ie==null?de.shapeFlag&512?wt.ctx.activate(de,Fe,We,Ut,Ft):G(de,Fe,We,wt,jt,Ut,Ft):J(ie,de,Ft)},G=(ie,de,Fe,We,wt,jt,Ut)=>{const Tt=ie.component=createComponentInstance(ie,We,wt);if(isKeepAlive(ie)&&(Tt.ctx.renderer=Pe),setupComponent(Tt),Tt.asyncDep){if(wt&&wt.registerDep(Tt,te),!ie.el){const Ft=Tt.subTree=createVNode(Comment);D(null,Ft,de,Fe)}}else te(Tt,ie,de,Fe,wt,jt,Ut)},J=(ie,de,Fe)=>{const We=de.component=ie.component;if(shouldUpdateComponent(ie,de,Fe))if(We.asyncDep&&!We.asyncResolved){re(We,de,Fe);return}else We.next=de,invalidateJob(We.update),We.effect.dirty=!0,We.update();else de.el=ie.el,We.vnode=de},te=(ie,de,Fe,We,wt,jt,Ut)=>{const Tt=()=>{if(ie.isMounted){let{next:Wt,bu:$t,u:xt,parent:Kt,vnode:ln}=ie;{const Yt=locateNonHydratedAsyncRoot(ie);if(Yt){Wt&&(Wt.el=ln.el,re(ie,Wt,Ut)),Yt.asyncDep.then(()=>{ie.isUnmounted||Tt()});return}}let hn=Wt,kt;toggleRecurse(ie,!1),Wt?(Wt.el=ln.el,re(ie,Wt,Ut)):Wt=ln,$t&&invokeArrayFns($t),(kt=Wt.props&&Wt.props.onVnodeBeforeUpdate)&&invokeVNodeHook(kt,Kt,Wt,ln),toggleRecurse(ie,!0);const Et=renderComponentRoot(ie),zt=ie.subTree;ie.subTree=Et,C(zt,Et,w(zt.el),ue(zt),ie,wt,jt),Wt.el=Et.el,hn===null&&updateHOCHostEl(ie,Et.el),xt&&queuePostRenderEffect(xt,wt),(kt=Wt.props&&Wt.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(kt,Kt,Wt,ln),wt)}else{let Wt;const{el:$t,props:xt}=de,{bm:Kt,m:ln,parent:hn}=ie,kt=isAsyncWrapper(de);if(toggleRecurse(ie,!1),Kt&&invokeArrayFns(Kt),!kt&&(Wt=xt&&xt.onVnodeBeforeMount)&&invokeVNodeHook(Wt,hn,de),toggleRecurse(ie,!0),$t&&Ie){const Et=()=>{ie.subTree=renderComponentRoot(ie),Ie($t,ie.subTree,ie,wt,null)};kt?de.type.__asyncLoader().then(()=>!ie.isUnmounted&&Et()):Et()}else{const Et=ie.subTree=renderComponentRoot(ie);C(null,Et,Fe,We,ie,wt,jt),de.el=Et.el}if(ln&&queuePostRenderEffect(ln,wt),!kt&&(Wt=xt&&xt.onVnodeMounted)){const Et=de;queuePostRenderEffect(()=>invokeVNodeHook(Wt,hn,Et),wt)}(de.shapeFlag&256||hn&&isAsyncWrapper(hn.vnode)&&hn.vnode.shapeFlag&256)&&ie.a&&queuePostRenderEffect(ie.a,wt),ie.isMounted=!0,de=Fe=We=null}},Ft=ie.effect=new ReactiveEffect(Tt,NOOP,()=>queueJob(St),ie.scope),St=ie.update=()=>{Ft.dirty&&Ft.run()};St.id=ie.uid,toggleRecurse(ie,!0),St()},re=(ie,de,Fe)=>{de.component=ie;const We=ie.vnode.props;ie.vnode=de,ie.next=null,updateProps(ie,de.props,We,Fe),updateSlots(ie,de.children,Fe),pauseTracking(),flushPreFlushCbs(ie),resetTracking()},ae=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft=!1)=>{const St=ie&&ie.children,Wt=ie?ie.shapeFlag:0,$t=de.children,{patchFlag:xt,shapeFlag:Kt}=de;if(xt>0){if(xt&128){ve(St,$t,Fe,We,wt,jt,Ut,Tt,Ft);return}else if(xt&256){ye(St,$t,Fe,We,wt,jt,Ut,Tt,Ft);return}}Kt&8?(Wt&16&&ke(St,wt,jt),$t!==St&&b(Fe,$t)):Wt&16?Kt&16?ve(St,$t,Fe,We,wt,jt,Ut,Tt,Ft):ke(St,wt,jt,!0):(Wt&8&&b(Fe,""),Kt&16&&z($t,Fe,We,wt,jt,Ut,Tt,Ft))},ye=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft)=>{ie=ie||EMPTY_ARR,de=de||EMPTY_ARR;const St=ie.length,Wt=de.length,$t=Math.min(St,Wt);let xt;for(xt=0;xt<$t;xt++){const Kt=de[xt]=Ft?cloneIfMounted(de[xt]):normalizeVNode(de[xt]);C(ie[xt],Kt,Fe,null,wt,jt,Ut,Tt,Ft)}St>Wt?ke(ie,wt,jt,!0,!1,$t):z(de,Fe,We,wt,jt,Ut,Tt,Ft,$t)},ve=(ie,de,Fe,We,wt,jt,Ut,Tt,Ft)=>{let St=0;const Wt=de.length;let $t=ie.length-1,xt=Wt-1;for(;St<=$t&&St<=xt;){const Kt=ie[St],ln=de[St]=Ft?cloneIfMounted(de[St]):normalizeVNode(de[St]);if(isSameVNodeType(Kt,ln))C(Kt,ln,Fe,null,wt,jt,Ut,Tt,Ft);else break;St++}for(;St<=$t&&St<=xt;){const Kt=ie[$t],ln=de[xt]=Ft?cloneIfMounted(de[xt]):normalizeVNode(de[xt]);if(isSameVNodeType(Kt,ln))C(Kt,ln,Fe,null,wt,jt,Ut,Tt,Ft);else break;$t--,xt--}if(St>$t){if(St<=xt){const Kt=xt+1,ln=Kt<Wt?de[Kt].el:We;for(;St<=xt;)C(null,de[St]=Ft?cloneIfMounted(de[St]):normalizeVNode(de[St]),Fe,ln,wt,jt,Ut,Tt,Ft),St++}}else if(St>xt)for(;St<=$t;)Se(ie[St],wt,jt,!0),St++;else{const Kt=St,ln=St,hn=new Map;for(St=ln;St<=xt;St++){const wn=de[St]=Ft?cloneIfMounted(de[St]):normalizeVNode(de[St]);wn.key!=null&&hn.set(wn.key,St)}let kt,Et=0;const zt=xt-ln+1;let Yt=!1,mn=0;const an=new Array(zt);for(St=0;St<zt;St++)an[St]=0;for(St=Kt;St<=$t;St++){const wn=ie[St];if(Et>=zt){Se(wn,wt,jt,!0);continue}let Cn;if(wn.key!=null)Cn=hn.get(wn.key);else for(kt=ln;kt<=xt;kt++)if(an[kt-ln]===0&&isSameVNodeType(wn,de[kt])){Cn=kt;break}Cn===void 0?Se(wn,wt,jt,!0):(an[Cn-ln]=St+1,Cn>=mn?mn=Cn:Yt=!0,C(wn,de[Cn],Fe,null,wt,jt,Ut,Tt,Ft),Et++)}const sn=Yt?getSequence(an):EMPTY_ARR;for(kt=sn.length-1,St=zt-1;St>=0;St--){const wn=ln+St,Cn=de[wn],gn=wn+1<Wt?de[wn+1].el:We;an[St]===0?C(null,Cn,Fe,gn,wt,jt,Ut,Tt,Ft):Yt&&(kt<0||St!==sn[kt]?le(Cn,Fe,gn,2):kt--)}}},le=(ie,de,Fe,We,wt=null)=>{const{el:jt,type:Ut,transition:Tt,children:Ft,shapeFlag:St}=ie;if(St&6){le(ie.component.subTree,de,Fe,We);return}if(St&128){ie.suspense.move(de,Fe,We);return}if(St&64){Ut.move(ie,de,Fe,Pe);return}if(Ut===Fragment){c(jt,de,Fe);for(let $t=0;$t<Ft.length;$t++)le(Ft[$t],de,Fe,We);c(ie.anchor,de,Fe);return}if(Ut===Static){O(ie,de,Fe);return}if(We!==2&&St&1&&Tt)if(We===0)Tt.beforeEnter(jt),c(jt,de,Fe),queuePostRenderEffect(()=>Tt.enter(jt),wt);else{const{leave:$t,delayLeave:xt,afterLeave:Kt}=Tt,ln=()=>c(jt,de,Fe),hn=()=>{$t(jt,()=>{ln(),Kt&&Kt()})};xt?xt(jt,ln,hn):hn()}else c(jt,de,Fe)},Se=(ie,de,Fe,We=!1,wt=!1)=>{const{type:jt,props:Ut,ref:Tt,children:Ft,dynamicChildren:St,shapeFlag:Wt,patchFlag:$t,dirs:xt}=ie;if(Tt!=null&&setRef(Tt,null,Fe,ie,!0),Wt&256){de.ctx.deactivate(ie);return}const Kt=Wt&1&&xt,ln=!isAsyncWrapper(ie);let hn;if(ln&&(hn=Ut&&Ut.onVnodeBeforeUnmount)&&invokeVNodeHook(hn,de,ie),Wt&6)Le(ie.component,Fe,We);else{if(Wt&128){ie.suspense.unmount(Fe,We);return}Kt&&invokeDirectiveHook(ie,null,de,"beforeUnmount"),Wt&64?ie.type.remove(ie,de,Fe,wt,Pe,We):St&&(jt!==Fragment||$t>0&&$t&64)?ke(St,de,Fe,!1,!0):(jt===Fragment&&$t&384||!wt&&Wt&16)&&ke(Ft,de,Fe),We&&De(ie)}(ln&&(hn=Ut&&Ut.onVnodeUnmounted)||Kt)&&queuePostRenderEffect(()=>{hn&&invokeVNodeHook(hn,de,ie),Kt&&invokeDirectiveHook(ie,null,de,"unmounted")},Fe)},De=ie=>{const{type:de,el:Fe,anchor:We,transition:wt}=ie;if(de===Fragment){At(Fe,We);return}if(de===Static){F(ie);return}const jt=()=>{d(Fe),wt&&!wt.persisted&&wt.afterLeave&&wt.afterLeave()};if(ie.shapeFlag&1&&wt&&!wt.persisted){const{leave:Ut,delayLeave:Tt}=wt,Ft=()=>Ut(Fe,jt);Tt?Tt(ie.el,jt,Ft):Ft()}else jt()},At=(ie,de)=>{let Fe;for(;ie!==de;)Fe=k(ie),d(ie),ie=Fe;d(de)},Le=(ie,de,Fe)=>{const{bum:We,scope:wt,update:jt,subTree:Ut,um:Tt}=ie;We&&invokeArrayFns(We),wt.stop(),jt&&(jt.active=!1,Se(Ut,ie,de,Fe)),Tt&&queuePostRenderEffect(Tt,de),queuePostRenderEffect(()=>{ie.isUnmounted=!0},de),de&&de.pendingBranch&&!de.isUnmounted&&ie.asyncDep&&!ie.asyncResolved&&ie.suspenseId===de.pendingId&&(de.deps--,de.deps===0&&de.resolve())},ke=(ie,de,Fe,We=!1,wt=!1,jt=0)=>{for(let Ut=jt;Ut<ie.length;Ut++)Se(ie[Ut],de,Fe,We,wt)},ue=ie=>ie.shapeFlag&6?ue(ie.component.subTree):ie.shapeFlag&128?ie.suspense.next():k(ie.anchor||ie.el);let Ce=!1;const Te=(ie,de,Fe)=>{ie==null?de._vnode&&Se(de._vnode,null,null,!0):C(de._vnode||null,ie,de,null,null,null,Fe),Ce||(Ce=!0,flushPreFlushCbs(),flushPostFlushCbs(),Ce=!1),de._vnode=ie},Pe={p:C,um:Se,m:le,r:De,mt:G,mc:z,pc:ae,pbc:H,n:ue,o:a};let Vt,Ie;return i&&([Vt,Ie]=i(Pe)),{render:Te,hydrate:Vt,createApp:createAppAPI(Te,Vt)}}function resolveChildrenNamespace({type:a,props:i},u){return u==="svg"&&a==="foreignObject"||u==="mathml"&&a==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:u}function toggleRecurse({effect:a,update:i},u){a.allowRecurse=i.allowRecurse=u}function needTransition(a,i){return(!a||a&&!a.pendingBranch)&&i&&!i.persisted}function traverseStaticChildren(a,i,u=!1){const c=a.children,d=i.children;if(isArray$o(c)&&isArray$o(d))for(let m=0;m<c.length;m++){const f=c[m];let v=d[m];v.shapeFlag&1&&!v.dynamicChildren&&((v.patchFlag<=0||v.patchFlag===32)&&(v=d[m]=cloneIfMounted(d[m]),v.el=f.el),u||traverseStaticChildren(f,v)),v.type===Text&&(v.el=f.el)}}function getSequence(a){const i=a.slice(),u=[0];let c,d,m,f,v;const g=a.length;for(c=0;c<g;c++){const y=a[c];if(y!==0){if(d=u[u.length-1],a[d]<y){i[c]=d,u.push(c);continue}for(m=0,f=u.length-1;m<f;)v=m+f>>1,a[u[v]]<y?m=v+1:f=v;y<a[u[m]]&&(m>0&&(i[c]=u[m-1]),u[m]=c)}}for(m=u.length,f=u[m-1];m-- >0;)u[m]=f,f=i[f];return u}function locateNonHydratedAsyncRoot(a){const i=a.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:locateNonHydratedAsyncRoot(i)}const isTeleport=a=>a.__isTeleport,isTeleportDisabled=a=>a&&(a.disabled||a.disabled===""),isTargetSVG=a=>typeof SVGElement<"u"&&a instanceof SVGElement,isTargetMathML=a=>typeof MathMLElement=="function"&&a instanceof MathMLElement,resolveTarget=(a,i)=>{const u=a&&a.to;return isString$5(u)?i?i(u):null:u},TeleportImpl={name:"Teleport",__isTeleport:!0,process(a,i,u,c,d,m,f,v,g,y){const{mc:b,pc:w,pbc:k,o:{insert:$,querySelector:S,createText:C,createComment:E}}=y,D=isTeleportDisabled(i.props);let{shapeFlag:A,children:O,dynamicChildren:F}=i;if(a==null){const B=i.el=C(""),I=i.anchor=C("");$(B,u,c),$(I,u,c);const M=i.target=resolveTarget(i.props,S),z=i.targetAnchor=C("");M&&($(z,M),f==="svg"||isTargetSVG(M)?f="svg":(f==="mathml"||isTargetMathML(M))&&(f="mathml"));const q=(H,Q)=>{A&16&&b(O,H,Q,d,m,f,v,g)};D?q(u,I):M&&q(M,z)}else{i.el=a.el;const B=i.anchor=a.anchor,I=i.target=a.target,M=i.targetAnchor=a.targetAnchor,z=isTeleportDisabled(a.props),q=z?u:I,H=z?B:M;if(f==="svg"||isTargetSVG(I)?f="svg":(f==="mathml"||isTargetMathML(I))&&(f="mathml"),F?(k(a.dynamicChildren,F,q,d,m,f,v),traverseStaticChildren(a,i,!0)):g||w(a,i,q,H,d,m,f,v,!1),D)z?i.props&&a.props&&i.props.to!==a.props.to&&(i.props.to=a.props.to):moveTeleport(i,u,B,y,1);else if((i.props&&i.props.to)!==(a.props&&a.props.to)){const Q=i.target=resolveTarget(i.props,S);Q&&moveTeleport(i,Q,null,y,0)}else z&&moveTeleport(i,I,M,y,1)}updateCssVars(i)},remove(a,i,u,c,{um:d,o:{remove:m}},f){const{shapeFlag:v,children:g,anchor:y,targetAnchor:b,target:w,props:k}=a;if(w&&m(b),f&&m(y),v&16){const $=f||!isTeleportDisabled(k);for(let S=0;S<g.length;S++){const C=g[S];d(C,i,u,$,!!C.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(a,i,u,{o:{insert:c},m:d},m=2){m===0&&c(a.targetAnchor,i,u);const{el:f,anchor:v,shapeFlag:g,children:y,props:b}=a,w=m===2;if(w&&c(f,i,u),(!w||isTeleportDisabled(b))&&g&16)for(let k=0;k<y.length;k++)d(y[k],i,u,2);w&&c(v,i,u)}function hydrateTeleport(a,i,u,c,d,m,{o:{nextSibling:f,parentNode:v,querySelector:g}},y){const b=i.target=resolveTarget(i.props,g);if(b){const w=b._lpa||b.firstChild;if(i.shapeFlag&16)if(isTeleportDisabled(i.props))i.anchor=y(f(a),i,v(a),u,c,d,m),i.targetAnchor=w;else{i.anchor=f(a);let k=w;for(;k;)if(k=f(k),k&&k.nodeType===8&&k.data==="teleport anchor"){i.targetAnchor=k,b._lpa=i.targetAnchor&&f(i.targetAnchor);break}y(w,i,b,u,c,d,m)}updateCssVars(i)}return i.anchor&&f(i.anchor)}const Teleport=TeleportImpl;function updateCssVars(a){const i=a.ctx;if(i&&i.ut){let u=a.children[0].el;for(;u&&u!==a.targetAnchor;)u.nodeType===1&&u.setAttribute("data-v-owner",i.uid),u=u.nextSibling;i.ut()}}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(a=!1){blockStack.push(currentBlock=a?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(a){isBlockTreeEnabled+=a}function setupBlock(a){return a.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(a),a}function createElementBlock(a,i,u,c,d,m){return setupBlock(createBaseVNode(a,i,u,c,d,m,!0))}function createBlock(a,i,u,c,d){return setupBlock(createVNode(a,i,u,c,d,!0))}function isVNode(a){return a?a.__v_isVNode===!0:!1}function isSameVNodeType(a,i){return a.type===i.type&&a.key===i.key}function transformVNodeArgs(a){}const InternalObjectKey="__vInternal",normalizeKey=({key:a})=>a??null,normalizeRef=({ref:a,ref_key:i,ref_for:u})=>(typeof a=="number"&&(a=""+a),a!=null?isString$5(a)||isRef(a)||isFunction$7(a)?{i:currentRenderingInstance,r:a,k:i,f:!!u}:a:null);function createBaseVNode(a,i=null,u=null,c=0,d=null,m=a===Fragment?0:1,f=!1,v=!1){const g={__v_isVNode:!0,__v_skip:!0,type:a,props:i,key:i&&normalizeKey(i),ref:i&&normalizeRef(i),scopeId:currentScopeId,slotScopeIds:null,children:u,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:m,patchFlag:c,dynamicProps:d,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return v?(normalizeChildren(g,u),m&128&&a.normalize(g)):u&&(g.shapeFlag|=isString$5(u)?8:16),isBlockTreeEnabled>0&&!f&&currentBlock&&(g.patchFlag>0||m&6)&&g.patchFlag!==32&&currentBlock.push(g),g}const createVNode=_createVNode;function _createVNode(a,i=null,u=null,c=0,d=null,m=!1){if((!a||a===NULL_DYNAMIC_COMPONENT)&&(a=Comment),isVNode(a)){const v=cloneVNode(a,i,!0);return u&&normalizeChildren(v,u),isBlockTreeEnabled>0&&!m&&currentBlock&&(v.shapeFlag&6?currentBlock[currentBlock.indexOf(a)]=v:currentBlock.push(v)),v.patchFlag|=-2,v}if(isClassComponent(a)&&(a=a.__vccOpts),i){i=guardReactiveProps(i);let{class:v,style:g}=i;v&&!isString$5(v)&&(i.class=normalizeClass(v)),isObject$h(g)&&(isProxy(g)&&!isArray$o(g)&&(g=extend$4({},g)),i.style=normalizeStyle(g))}const f=isString$5(a)?1:isSuspense(a)?128:isTeleport(a)?64:isObject$h(a)?4:isFunction$7(a)?2:0;return createBaseVNode(a,i,u,c,d,f,m,!0)}function guardReactiveProps(a){return a?isProxy(a)||InternalObjectKey in a?extend$4({},a):a:null}function cloneVNode(a,i,u=!1){const{props:c,ref:d,patchFlag:m,children:f}=a,v=i?mergeProps(c||{},i):c;return{__v_isVNode:!0,__v_skip:!0,type:a.type,props:v,key:v&&normalizeKey(v),ref:i&&i.ref?u&&d?isArray$o(d)?d.concat(normalizeRef(i)):[d,normalizeRef(i)]:normalizeRef(i):d,scopeId:a.scopeId,slotScopeIds:a.slotScopeIds,children:f,target:a.target,targetAnchor:a.targetAnchor,staticCount:a.staticCount,shapeFlag:a.shapeFlag,patchFlag:i&&a.type!==Fragment?m===-1?16:m|16:m,dynamicProps:a.dynamicProps,dynamicChildren:a.dynamicChildren,appContext:a.appContext,dirs:a.dirs,transition:a.transition,component:a.component,suspense:a.suspense,ssContent:a.ssContent&&cloneVNode(a.ssContent),ssFallback:a.ssFallback&&cloneVNode(a.ssFallback),el:a.el,anchor:a.anchor,ctx:a.ctx,ce:a.ce}}function createTextVNode(a=" ",i=0){return createVNode(Text,null,a,i)}function createStaticVNode(a,i){const u=createVNode(Static,null,a);return u.staticCount=i,u}function createCommentVNode(a="",i=!1){return i?(openBlock(),createBlock(Comment,null,a)):createVNode(Comment,null,a)}function normalizeVNode(a){return a==null||typeof a=="boolean"?createVNode(Comment):isArray$o(a)?createVNode(Fragment,null,a.slice()):typeof a=="object"?cloneIfMounted(a):createVNode(Text,null,String(a))}function cloneIfMounted(a){return a.el===null&&a.patchFlag!==-1||a.memo?a:cloneVNode(a)}function normalizeChildren(a,i){let u=0;const{shapeFlag:c}=a;if(i==null)i=null;else if(isArray$o(i))u=16;else if(typeof i=="object")if(c&65){const d=i.default;d&&(d._c&&(d._d=!1),normalizeChildren(a,d()),d._c&&(d._d=!0));return}else{u=32;const d=i._;!d&&!(InternalObjectKey in i)?i._ctx=currentRenderingInstance:d===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?i._=1:(i._=2,a.patchFlag|=1024))}else isFunction$7(i)?(i={default:i,_ctx:currentRenderingInstance},u=32):(i=String(i),c&64?(u=16,i=[createTextVNode(i)]):u=8);a.children=i,a.shapeFlag|=u}function mergeProps(...a){const i={};for(let u=0;u<a.length;u++){const c=a[u];for(const d in c)if(d==="class")i.class!==c.class&&(i.class=normalizeClass([i.class,c.class]));else if(d==="style")i.style=normalizeStyle([i.style,c.style]);else if(isOn$1(d)){const m=i[d],f=c[d];f&&m!==f&&!(isArray$o(m)&&m.includes(f))&&(i[d]=m?[].concat(m,f):f)}else d!==""&&(i[d]=c[d])}return i}function invokeVNodeHook(a,i,u,c=null){callWithAsyncErrorHandling(a,i,7,[u,c])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(a,i,u){const c=a.type,d=(i?i.appContext:a.appContext)||emptyAppContext,m={uid:uid++,vnode:a,type:c,parent:i,appContext:d,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:i?i.provides:Object.create(d.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(c,d),emitsOptions:normalizeEmitsOptions(c,d),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:c.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:u,suspenseId:u?u.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return m.ctx={_:m},m.root=i?i.root:m,m.emit=emit.bind(null,m),a.ce&&a.ce(m),m}let currentInstance=null;const getCurrentInstance$1=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const a=getGlobalThis(),i=(u,c)=>{let d;return(d=a[u])||(d=a[u]=[]),d.push(c),m=>{d.length>1?d.forEach(f=>f(m)):d[0](m)}};internalSetCurrentInstance=i("__VUE_INSTANCE_SETTERS__",u=>currentInstance=u),setInSSRSetupState=i("__VUE_SSR_SETTERS__",u=>isInSSRComponentSetup=u)}const setCurrentInstance=a=>{const i=currentInstance;return internalSetCurrentInstance(a),a.scope.on(),()=>{a.scope.off(),internalSetCurrentInstance(i)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(a){return a.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(a,i=!1){i&&setInSSRSetupState(i);const{props:u,children:c}=a.vnode,d=isStatefulComponent(a);initProps(a,u,d,i),initSlots(a,c);const m=d?setupStatefulComponent(a,i):void 0;return i&&setInSSRSetupState(!1),m}function setupStatefulComponent(a,i){const u=a.type;a.accessCache=Object.create(null),a.proxy=markRaw(new Proxy(a.ctx,PublicInstanceProxyHandlers));const{setup:c}=u;if(c){const d=a.setupContext=c.length>1?createSetupContext(a):null,m=setCurrentInstance(a);pauseTracking();const f=callWithErrorHandling(c,a,0,[a.props,d]);if(resetTracking(),m(),isPromise(f)){if(f.then(unsetCurrentInstance,unsetCurrentInstance),i)return f.then(v=>{handleSetupResult(a,v,i)}).catch(v=>{handleError(v,a,0)});a.asyncDep=f}else handleSetupResult(a,f,i)}else finishComponentSetup(a,i)}function handleSetupResult(a,i,u){isFunction$7(i)?a.type.__ssrInlineRender?a.ssrRender=i:a.render=i:isObject$h(i)&&(a.setupState=proxyRefs(i)),finishComponentSetup(a,u)}let compile$1,installWithProxy;function registerRuntimeCompiler(a){compile$1=a,installWithProxy=i=>{i.render._rc&&(i.withProxy=new Proxy(i.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(a,i,u){const c=a.type;if(!a.render){if(!i&&compile$1&&!c.render){const d=c.template||resolveMergedOptions(a).template;if(d){const{isCustomElement:m,compilerOptions:f}=a.appContext.config,{delimiters:v,compilerOptions:g}=c,y=extend$4(extend$4({isCustomElement:m,delimiters:v},f),g);c.render=compile$1(d,y)}}a.render=c.render||NOOP,installWithProxy&&installWithProxy(a)}{const d=setCurrentInstance(a);pauseTracking();try{applyOptions(a)}finally{resetTracking(),d()}}}function getAttrsProxy(a){return a.attrsProxy||(a.attrsProxy=new Proxy(a.attrs,{get(i,u){return track(a,"get","$attrs"),i[u]}}))}function createSetupContext(a){const i=u=>{a.exposed=u||{}};return{get attrs(){return getAttrsProxy(a)},slots:a.slots,emit:a.emit,expose:i}}function getExposeProxy(a){if(a.exposed)return a.exposeProxy||(a.exposeProxy=new Proxy(proxyRefs(markRaw(a.exposed)),{get(i,u){if(u in i)return i[u];if(u in publicPropertiesMap)return publicPropertiesMap[u](a)},has(i,u){return u in i||u in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=a=>a.replace(classifyRE,i=>i.toUpperCase()).replace(/[-_]/g,"");function getComponentName(a,i=!0){return isFunction$7(a)?a.displayName||a.name:a.name||i&&a.__name}function formatComponentName(a,i,u=!1){let c=getComponentName(i);if(!c&&i.__file){const d=i.__file.match(/([^/\\]+)\.\w+$/);d&&(c=d[1])}if(!c&&a&&a.parent){const d=m=>{for(const f in m)if(m[f]===i)return f};c=d(a.components||a.parent.type.components)||d(a.appContext.components)}return c?classify(c):u?"App":"Anonymous"}function isClassComponent(a){return isFunction$7(a)&&"__vccOpts"in a}const computed=(a,i)=>computed$1(a,i,isInSSRComponentSetup);function useModel$1(a,i,u=EMPTY_OBJ){const c=getCurrentInstance$1(),d=camelize(i),m=hyphenate(i),f=customRef((g,y)=>{let b;return watchSyncEffect(()=>{const w=a[i];hasChanged(b,w)&&(b=w,y())}),{get(){return g(),u.get?u.get(b):b},set(w){const k=c.vnode.props;!(k&&(i in k||d in k||m in k)&&(`onUpdate:${i}`in k||`onUpdate:${d}`in k||`onUpdate:${m}`in k))&&hasChanged(w,b)&&(b=w,y()),c.emit(`update:${i}`,u.set?u.set(w):w)}}}),v=i==="modelValue"?"modelModifiers":`${i}Modifiers`;return f[Symbol.iterator]=()=>{let g=0;return{next(){return g<2?{value:g++?a[v]||{}:f,done:!1}:{done:!0}}}},f}function h(a,i,u){const c=arguments.length;return c===2?isObject$h(i)&&!isArray$o(i)?isVNode(i)?createVNode(a,null,[i]):createVNode(a,i):createVNode(a,null,i):(c>3?u=Array.prototype.slice.call(arguments,2):c===3&&isVNode(u)&&(u=[u]),createVNode(a,i,u))}function initCustomFormatter(){}function withMemo(a,i,u,c){const d=u[c];if(d&&isMemoSame(d,a))return d;const m=i();return m.memo=a.slice(),u[c]=m}function isMemoSame(a,i){const u=a.memo;if(u.length!=i.length)return!1;for(let c=0;c<u.length;c++)if(hasChanged(u[c],i[c]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(a),!0}const version$4="3.4.19",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
* @vue/runtime-dom v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(a,i,u)=>{i.insertBefore(a,u||null)},remove:a=>{const i=a.parentNode;i&&i.removeChild(a)},createElement:(a,i,u,c)=>{const d=i==="svg"?doc.createElementNS(svgNS,a):i==="mathml"?doc.createElementNS(mathmlNS,a):doc.createElement(a,u?{is:u}:void 0);return a==="select"&&c&&c.multiple!=null&&d.setAttribute("multiple",c.multiple),d},createText:a=>doc.createTextNode(a),createComment:a=>doc.createComment(a),setText:(a,i)=>{a.nodeValue=i},setElementText:(a,i)=>{a.textContent=i},parentNode:a=>a.parentNode,nextSibling:a=>a.nextSibling,querySelector:a=>doc.querySelector(a),setScopeId(a,i){a.setAttribute(i,"")},insertStaticContent(a,i,u,c,d,m){const f=u?u.previousSibling:i.lastChild;if(d&&(d===m||d.nextSibling))for(;i.insertBefore(d.cloneNode(!0),u),!(d===m||!(d=d.nextSibling)););else{templateContainer.innerHTML=c==="svg"?`<svg>${a}</svg>`:c==="mathml"?`<math>${a}</math>`:a;const v=templateContainer.content;if(c==="svg"||c==="mathml"){const g=v.firstChild;for(;g.firstChild;)v.appendChild(g.firstChild);v.removeChild(g)}i.insertBefore(v,u)}return[f?f.nextSibling:i.firstChild,u?u.previousSibling:i.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(a,{slots:i})=>h(BaseTransition,resolveTransitionProps(a),i);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$4({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(a,i=[])=>{isArray$o(a)?a.forEach(u=>u(...i)):a&&a(...i)},hasExplicitCallback=a=>a?isArray$o(a)?a.some(i=>i.length>1):a.length>1:!1;function resolveTransitionProps(a){const i={};for(const j in a)j in DOMTransitionPropsValidators||(i[j]=a[j]);if(a.css===!1)return i;const{name:u="v",type:c,duration:d,enterFromClass:m=`${u}-enter-from`,enterActiveClass:f=`${u}-enter-active`,enterToClass:v=`${u}-enter-to`,appearFromClass:g=m,appearActiveClass:y=f,appearToClass:b=v,leaveFromClass:w=`${u}-leave-from`,leaveActiveClass:k=`${u}-leave-active`,leaveToClass:$=`${u}-leave-to`}=a,S=normalizeDuration(d),C=S&&S[0],E=S&&S[1],{onBeforeEnter:D,onEnter:A,onEnterCancelled:O,onLeave:F,onLeaveCancelled:B,onBeforeAppear:I=D,onAppear:M=A,onAppearCancelled:z=O}=i,q=(j,ee,G)=>{removeTransitionClass(j,ee?b:v),removeTransitionClass(j,ee?y:f),G&&G()},H=(j,ee)=>{j._isLeaving=!1,removeTransitionClass(j,w),removeTransitionClass(j,$),removeTransitionClass(j,k),ee&&ee()},Q=j=>(ee,G)=>{const J=j?M:A,te=()=>q(ee,j,G);callHook(J,[ee,te]),nextFrame(()=>{removeTransitionClass(ee,j?g:m),addTransitionClass(ee,j?b:v),hasExplicitCallback(J)||whenTransitionEnds(ee,c,C,te)})};return extend$4(i,{onBeforeEnter(j){callHook(D,[j]),addTransitionClass(j,m),addTransitionClass(j,f)},onBeforeAppear(j){callHook(I,[j]),addTransitionClass(j,g),addTransitionClass(j,y)},onEnter:Q(!1),onAppear:Q(!0),onLeave(j,ee){j._isLeaving=!0;const G=()=>H(j,ee);addTransitionClass(j,w),forceReflow(),addTransitionClass(j,k),nextFrame(()=>{j._isLeaving&&(removeTransitionClass(j,w),addTransitionClass(j,$),hasExplicitCallback(F)||whenTransitionEnds(j,c,E,G))}),callHook(F,[j,G])},onEnterCancelled(j){q(j,!1),callHook(O,[j])},onAppearCancelled(j){q(j,!0),callHook(z,[j])},onLeaveCancelled(j){H(j),callHook(B,[j])}})}function normalizeDuration(a){if(a==null)return null;if(isObject$h(a))return[NumberOf(a.enter),NumberOf(a.leave)];{const i=NumberOf(a);return[i,i]}}function NumberOf(a){return toNumber$2(a)}function addTransitionClass(a,i){i.split(/\s+/).forEach(u=>u&&a.classList.add(u)),(a[vtcKey]||(a[vtcKey]=new Set)).add(i)}function removeTransitionClass(a,i){i.split(/\s+/).forEach(c=>c&&a.classList.remove(c));const u=a[vtcKey];u&&(u.delete(i),u.size||(a[vtcKey]=void 0))}function nextFrame(a){requestAnimationFrame(()=>{requestAnimationFrame(a)})}let endId=0;function whenTransitionEnds(a,i,u,c){const d=a._endId=++endId,m=()=>{d===a._endId&&c()};if(u)return setTimeout(m,u);const{type:f,timeout:v,propCount:g}=getTransitionInfo(a,i);if(!f)return c();const y=f+"end";let b=0;const w=()=>{a.removeEventListener(y,k),m()},k=$=>{$.target===a&&++b>=g&&w()};setTimeout(()=>{b<g&&w()},v+1),a.addEventListener(y,k)}function getTransitionInfo(a,i){const u=window.getComputedStyle(a),c=S=>(u[S]||"").split(", "),d=c(`${TRANSITION}Delay`),m=c(`${TRANSITION}Duration`),f=getTimeout(d,m),v=c(`${ANIMATION}Delay`),g=c(`${ANIMATION}Duration`),y=getTimeout(v,g);let b=null,w=0,k=0;i===TRANSITION?f>0&&(b=TRANSITION,w=f,k=m.length):i===ANIMATION?y>0&&(b=ANIMATION,w=y,k=g.length):(w=Math.max(f,y),b=w>0?f>y?TRANSITION:ANIMATION:null,k=b?b===TRANSITION?m.length:g.length:0);const $=b===TRANSITION&&/\b(transform|all)(,|$)/.test(c(`${TRANSITION}Property`).toString());return{type:b,timeout:w,propCount:k,hasTransform:$}}function getTimeout(a,i){for(;a.length<i.length;)a=a.concat(a);return Math.max(...i.map((u,c)=>toMs(u)+toMs(a[c])))}function toMs(a){return a==="auto"?0:Number(a.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(a,i,u){const c=a[vtcKey];c&&(i=(i?[i,...c]:[...c]).join(" ")),i==null?a.removeAttribute("class"):u?a.setAttribute("class",i):a.className=i}const vShowOldKey=Symbol("_vod"),vShow={beforeMount(a,{value:i},{transition:u}){a[vShowOldKey]=a.style.display==="none"?"":a.style.display,u&&i?u.beforeEnter(a):setDisplay(a,i)},mounted(a,{value:i},{transition:u}){u&&i&&u.enter(a)},updated(a,{value:i,oldValue:u},{transition:c}){!i==!u&&(a.style.display===a[vShowOldKey]||!i)||(c?i?(c.beforeEnter(a),setDisplay(a,!0),c.enter(a)):c.leave(a,()=>{setDisplay(a,!1)}):setDisplay(a,i))},beforeUnmount(a,{value:i}){setDisplay(a,i)}};function setDisplay(a,i){a.style.display=i?a[vShowOldKey]:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:a})=>{if(!a)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(a){const i=getCurrentInstance$1();if(!i)return;const u=i.ut=(d=a(i.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${i.uid}"]`)).forEach(m=>setVarsOnNode(m,d))},c=()=>{const d=a(i.proxy);setVarsOnVNode(i.subTree,d),u(d)};watchPostEffect(c),onMounted(()=>{const d=new MutationObserver(c);d.observe(i.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>d.disconnect())})}function setVarsOnVNode(a,i){if(a.shapeFlag&128){const u=a.suspense;a=u.activeBranch,u.pendingBranch&&!u.isHydrating&&u.effects.push(()=>{setVarsOnVNode(u.activeBranch,i)})}for(;a.component;)a=a.component.subTree;if(a.shapeFlag&1&&a.el)setVarsOnNode(a.el,i);else if(a.type===Fragment)a.children.forEach(u=>setVarsOnVNode(u,i));else if(a.type===Static){let{el:u,anchor:c}=a;for(;u&&(setVarsOnNode(u,i),u!==c);)u=u.nextSibling}}function setVarsOnNode(a,i){if(a.nodeType===1){const u=a.style;let c="";for(const d in i)u.setProperty(`--${d}`,i[d]),c+=`--${d}: ${i[d]};`;u[CSS_VAR_TEXT]=c}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(a,i,u){const c=a.style,d=isString$5(u),m=c.display;let f=!1;if(u&&!d){if(i&&!isString$5(i))for(const v in i)u[v]==null&&setStyle(c,v,"");for(const v in u)v==="display"&&(f=!0),setStyle(c,v,u[v])}else if(d){if(i!==u){const v=c[CSS_VAR_TEXT];v&&(u+=";"+v),c.cssText=u,f=displayRE.test(u)}}else i&&a.removeAttribute("style");vShowOldKey in a&&(a[vShowOldKey]=f?c.display:"",c.display=m)}const importantRE=/\s*!important$/;function setStyle(a,i,u){if(isArray$o(u))u.forEach(c=>setStyle(a,i,c));else if(u==null&&(u=""),i.startsWith("--"))a.setProperty(i,u);else{const c=autoPrefix(a,i);importantRE.test(u)?a.setProperty(hyphenate(c),u.replace(importantRE,""),"important"):a[c]=u}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(a,i){const u=prefixCache[i];if(u)return u;let c=camelize(i);if(c!=="filter"&&c in a)return prefixCache[i]=c;c=capitalize$2(c);for(let d=0;d<prefixes.length;d++){const m=prefixes[d]+c;if(m in a)return prefixCache[i]=m}return i}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(a,i,u,c,d){if(c&&i.startsWith("xlink:"))u==null?a.removeAttributeNS(xlinkNS,i.slice(6,i.length)):a.setAttributeNS(xlinkNS,i,u);else{const m=isSpecialBooleanAttr(i);u==null||m&&!includeBooleanAttr(u)?a.removeAttribute(i):a.setAttribute(i,m?"":u)}}function patchDOMProp(a,i,u,c,d,m,f){if(i==="innerHTML"||i==="textContent"){c&&f(c,d,m),a[i]=u??"";return}const v=a.tagName;if(i==="value"&&v!=="PROGRESS"&&!v.includes("-")){a._value=u;const y=v==="OPTION"?a.getAttribute("value"):a.value,b=u??"";y!==b&&(a.value=b),u==null&&a.removeAttribute(i);return}let g=!1;if(u===""||u==null){const y=typeof a[i];y==="boolean"?u=includeBooleanAttr(u):u==null&&y==="string"?(u="",g=!0):y==="number"&&(u=0,g=!0)}try{a[i]=u}catch{}g&&a.removeAttribute(i)}function addEventListener(a,i,u,c){a.addEventListener(i,u,c)}function removeEventListener(a,i,u,c){a.removeEventListener(i,u,c)}const veiKey=Symbol("_vei");function patchEvent(a,i,u,c,d=null){const m=a[veiKey]||(a[veiKey]={}),f=m[i];if(c&&f)f.value=c;else{const[v,g]=parseName(i);if(c){const y=m[i]=createInvoker(c,d);addEventListener(a,v,y,g)}else f&&(removeEventListener(a,v,f,g),m[i]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(a){let i;if(optionsModifierRE.test(a)){i={};let c;for(;c=a.match(optionsModifierRE);)a=a.slice(0,a.length-c[0].length),i[c[0].toLowerCase()]=!0}return[a[2]===":"?a.slice(3):hyphenate(a.slice(2)),i]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(a,i){const u=c=>{if(!c._vts)c._vts=Date.now();else if(c._vts<=u.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(c,u.value),i,5,[c])};return u.value=a,u.attached=getNow(),u}function patchStopImmediatePropagation(a,i){if(isArray$o(i)){const u=a.stopImmediatePropagation;return a.stopImmediatePropagation=()=>{u.call(a),a._stopped=!0},i.map(c=>d=>!d._stopped&&c&&c(d))}else return i}const isNativeOn=a=>a.charCodeAt(0)===111&&a.charCodeAt(1)===110&&a.charCodeAt(2)>96&&a.charCodeAt(2)<123,patchProp=(a,i,u,c,d,m,f,v,g)=>{const y=d==="svg";i==="class"?patchClass(a,c,y):i==="style"?patchStyle(a,u,c):isOn$1(i)?isModelListener(i)||patchEvent(a,i,u,c,f):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):shouldSetAsProp(a,i,c,y))?patchDOMProp(a,i,c,m,f,v,g):(i==="true-value"?a._trueValue=c:i==="false-value"&&(a._falseValue=c),patchAttr(a,i,c,y))};function shouldSetAsProp(a,i,u,c){if(c)return!!(i==="innerHTML"||i==="textContent"||i in a&&isNativeOn(i)&&isFunction$7(u));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&a.tagName==="INPUT"||i==="type"&&a.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const d=a.tagName;if(d==="IMG"||d==="VIDEO"||d==="CANVAS"||d==="SOURCE")return!1}return isNativeOn(i)&&isString$5(u)?!1:i in a}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(a,i){const u=defineComponent$1(a);class c extends VueElement{constructor(m){super(u,m,i)}}return c.def=u,c}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=a=>defineCustomElement(a,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(i,u={},c){super(),this._def=i,this._props=u,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&c?c(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick(()=>{this._connected||(render$_(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let c=0;c<this.attributes.length;c++)this._setAttr(this.attributes[c].name);this._ob=new MutationObserver(c=>{for(const d of c)this._setAttr(d.attributeName)}),this._ob.observe(this,{attributes:!0});const i=(c,d=!1)=>{const{props:m,styles:f}=c;let v;if(m&&!isArray$o(m))for(const g in m){const y=m[g];(y===Number||y&&y.type===Number)&&(g in this._props&&(this._props[g]=toNumber$2(this._props[g])),(v||(v=Object.create(null)))[camelize(g)]=!0)}this._numberProps=v,d&&this._resolveProps(c),this._applyStyles(f),this._update()},u=this._def.__asyncLoader;u?u().then(c=>i(c,!0)):i(this._def)}_resolveProps(i){const{props:u}=i,c=isArray$o(u)?u:Object.keys(u||{});for(const d of Object.keys(this))d[0]!=="_"&&c.includes(d)&&this._setProp(d,this[d],!0,!1);for(const d of c.map(camelize))Object.defineProperty(this,d,{get(){return this._getProp(d)},set(m){this._setProp(d,m)}})}_setAttr(i){let u=this.getAttribute(i);const c=camelize(i);this._numberProps&&this._numberProps[c]&&(u=toNumber$2(u)),this._setProp(c,u,!1)}_getProp(i){return this._props[i]}_setProp(i,u,c=!0,d=!0){u!==this._props[i]&&(this._props[i]=u,d&&this._instance&&this._update(),c&&(u===!0?this.setAttribute(hyphenate(i),""):typeof u=="string"||typeof u=="number"?this.setAttribute(hyphenate(i),u+""):u||this.removeAttribute(hyphenate(i))))}_update(){render$_(this._createVNode(),this.shadowRoot)}_createVNode(){const i=createVNode(this._def,extend$4({},this._props));return this._instance||(i.ce=u=>{this._instance=u,u.isCE=!0;const c=(m,f)=>{this.dispatchEvent(new CustomEvent(m,{detail:f}))};u.emit=(m,...f)=>{c(m,f),hyphenate(m)!==m&&c(hyphenate(m),f)};let d=this;for(;d=d&&(d.parentNode||d.host);)if(d instanceof VueElement){u.parent=d._instance,u.provides=d._instance.provides;break}}),i}_applyStyles(i){i&&i.forEach(u=>{const c=document.createElement("style");c.textContent=u,this.shadowRoot.appendChild(c)})}}function useCssModule(a="$style"){{const i=getCurrentInstance$1();if(!i)return EMPTY_OBJ;const u=i.type.__cssModules;if(!u)return EMPTY_OBJ;const c=u[a];return c||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$4({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(a,{slots:i}){const u=getCurrentInstance$1(),c=useTransitionState();let d,m;return onUpdated(()=>{if(!d.length)return;const f=a.moveClass||`${a.name||"v"}-move`;if(!hasCSSTransform(d[0].el,u.vnode.el,f))return;d.forEach(callPendingCbs),d.forEach(recordPosition);const v=d.filter(applyTranslation);forceReflow(),v.forEach(g=>{const y=g.el,b=y.style;addTransitionClass(y,f),b.transform=b.webkitTransform=b.transitionDuration="";const w=y[moveCbKey]=k=>{k&&k.target!==y||(!k||/transform$/.test(k.propertyName))&&(y.removeEventListener("transitionend",w),y[moveCbKey]=null,removeTransitionClass(y,f))};y.addEventListener("transitionend",w)})}),()=>{const f=toRaw(a),v=resolveTransitionProps(f);let g=f.tag||Fragment;d=m,m=i.default?getTransitionRawChildren(i.default()):[];for(let y=0;y<m.length;y++){const b=m[y];b.key!=null&&setTransitionHooks(b,resolveTransitionHooks(b,v,c,u))}if(d)for(let y=0;y<d.length;y++){const b=d[y];setTransitionHooks(b,resolveTransitionHooks(b,v,c,u)),positionMap.set(b,b.el.getBoundingClientRect())}return createVNode(g,null,m)}}},removeMode=a=>delete a.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(a){const i=a.el;i[moveCbKey]&&i[moveCbKey](),i[enterCbKey]&&i[enterCbKey]()}function recordPosition(a){newPositionMap.set(a,a.el.getBoundingClientRect())}function applyTranslation(a){const i=positionMap.get(a),u=newPositionMap.get(a),c=i.left-u.left,d=i.top-u.top;if(c||d){const m=a.el.style;return m.transform=m.webkitTransform=`translate(${c}px,${d}px)`,m.transitionDuration="0s",a}}function hasCSSTransform(a,i,u){const c=a.cloneNode(),d=a[vtcKey];d&&d.forEach(v=>{v.split(/\s+/).forEach(g=>g&&c.classList.remove(g))}),u.split(/\s+/).forEach(v=>v&&c.classList.add(v)),c.style.display="none";const m=i.nodeType===1?i:i.parentNode;m.appendChild(c);const{hasTransform:f}=getTransitionInfo(c);return m.removeChild(c),f}const getModelAssigner=a=>{const i=a.props["onUpdate:modelValue"]||!1;return isArray$o(i)?u=>invokeArrayFns(i,u):i};function onCompositionStart(a){a.target.composing=!0}function onCompositionEnd(a){const i=a.target;i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(a,{modifiers:{lazy:i,trim:u,number:c}},d){a[assignKey]=getModelAssigner(d);const m=c||d.props&&d.props.type==="number";addEventListener(a,i?"change":"input",f=>{if(f.target.composing)return;let v=a.value;u&&(v=v.trim()),m&&(v=looseToNumber(v)),a[assignKey](v)}),u&&addEventListener(a,"change",()=>{a.value=a.value.trim()}),i||(addEventListener(a,"compositionstart",onCompositionStart),addEventListener(a,"compositionend",onCompositionEnd),addEventListener(a,"change",onCompositionEnd))},mounted(a,{value:i}){a.value=i??""},beforeUpdate(a,{value:i,modifiers:{lazy:u,trim:c,number:d}},m){if(a[assignKey]=getModelAssigner(m),a.composing)return;const f=d||a.type==="number"?looseToNumber(a.value):a.value,v=i??"";f!==v&&(document.activeElement===a&&a.type!=="range"&&(u||c&&a.value.trim()===v)||(a.value=v))}},vModelCheckbox={deep:!0,created(a,i,u){a[assignKey]=getModelAssigner(u),addEventListener(a,"change",()=>{const c=a._modelValue,d=getValue$2(a),m=a.checked,f=a[assignKey];if(isArray$o(c)){const v=looseIndexOf(c,d),g=v!==-1;if(m&&!g)f(c.concat(d));else if(!m&&g){const y=[...c];y.splice(v,1),f(y)}}else if(isSet$3(c)){const v=new Set(c);m?v.add(d):v.delete(d),f(v)}else f(getCheckboxValue(a,m))})},mounted:setChecked,beforeUpdate(a,i,u){a[assignKey]=getModelAssigner(u),setChecked(a,i,u)}};function setChecked(a,{value:i,oldValue:u},c){a._modelValue=i,isArray$o(i)?a.checked=looseIndexOf(i,c.props.value)>-1:isSet$3(i)?a.checked=i.has(c.props.value):i!==u&&(a.checked=looseEqual(i,getCheckboxValue(a,!0)))}const vModelRadio={created(a,{value:i},u){a.checked=looseEqual(i,u.props.value),a[assignKey]=getModelAssigner(u),addEventListener(a,"change",()=>{a[assignKey](getValue$2(a))})},beforeUpdate(a,{value:i,oldValue:u},c){a[assignKey]=getModelAssigner(c),i!==u&&(a.checked=looseEqual(i,c.props.value))}},vModelSelect={deep:!0,created(a,{value:i,modifiers:{number:u}},c){const d=isSet$3(i);addEventListener(a,"change",()=>{const m=Array.prototype.filter.call(a.options,f=>f.selected).map(f=>u?looseToNumber(getValue$2(f)):getValue$2(f));a[assignKey](a.multiple?d?new Set(m):m:m[0]),a._assigning=!0,nextTick(()=>{a._assigning=!1})}),a[assignKey]=getModelAssigner(c)},mounted(a,{value:i,oldValue:u,modifiers:{number:c}}){setSelected(a,i,u,c)},beforeUpdate(a,i,u){a[assignKey]=getModelAssigner(u)},updated(a,{value:i,oldValue:u,modifiers:{number:c}}){a._assigning||setSelected(a,i,u,c)}};function setSelected(a,i,u,c){const d=a.multiple,m=isArray$o(i);if(!(d&&!m&&!isSet$3(i))){for(let f=0,v=a.options.length;f<v;f++){const g=a.options[f],y=getValue$2(g);if(d)if(m){const b=typeof y;b==="string"||b==="number"?g.selected=i.includes(c?looseToNumber(y):y):g.selected=looseIndexOf(i,y)>-1}else g.selected=i.has(y);else if(looseEqual(getValue$2(g),i)){a.selectedIndex!==f&&(a.selectedIndex=f);return}}!d&&a.selectedIndex!==-1&&(a.selectedIndex=-1)}}function getValue$2(a){return"_value"in a?a._value:a.value}function getCheckboxValue(a,i){const u=i?"_trueValue":"_falseValue";return u in a?a[u]:i}const vModelDynamic={created(a,i,u){callModelHook(a,i,u,null,"created")},mounted(a,i,u){callModelHook(a,i,u,null,"mounted")},beforeUpdate(a,i,u,c){callModelHook(a,i,u,c,"beforeUpdate")},updated(a,i,u,c){callModelHook(a,i,u,c,"updated")}};function resolveDynamicModel(a,i){switch(a){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(i){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(a,i,u,c,d){const f=resolveDynamicModel(a.tagName,u.props&&u.props.type)[d];f&&f(a,i,u,c)}function initVModelForSSR(){vModelText.getSSRProps=({value:a})=>({value:a}),vModelRadio.getSSRProps=({value:a},i)=>{if(i.props&&looseEqual(i.props.value,a))return{checked:!0}},vModelCheckbox.getSSRProps=({value:a},i)=>{if(isArray$o(a)){if(i.props&&looseIndexOf(a,i.props.value)>-1)return{checked:!0}}else if(isSet$3(a)){if(i.props&&a.has(i.props.value))return{checked:!0}}else if(a)return{checked:!0}},vModelDynamic.getSSRProps=(a,i)=>{if(typeof i.type!="string")return;const u=resolveDynamicModel(i.type.toUpperCase(),i.props&&i.props.type);if(u.getSSRProps)return u.getSSRProps(a,i)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:a=>a.stopPropagation(),prevent:a=>a.preventDefault(),self:a=>a.target!==a.currentTarget,ctrl:a=>!a.ctrlKey,shift:a=>!a.shiftKey,alt:a=>!a.altKey,meta:a=>!a.metaKey,left:a=>"button"in a&&a.button!==0,middle:a=>"button"in a&&a.button!==1,right:a=>"button"in a&&a.button!==2,exact:(a,i)=>systemModifiers.some(u=>a[`${u}Key`]&&!i.includes(u))},withModifiers=(a,i)=>{const u=a._withMods||(a._withMods={}),c=i.join(".");return u[c]||(u[c]=(d,...m)=>{for(let f=0;f<i.length;f++){const v=modifierGuards[i[f]];if(v&&v(d,i))return}return a(d,...m)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(a,i)=>{const u=a._withKeys||(a._withKeys={}),c=i.join(".");return u[c]||(u[c]=d=>{if(!("key"in d))return;const m=hyphenate(d.key);if(i.some(f=>f===m||keyNames[f]===m))return a(d)})},rendererOptions=extend$4({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$_=(...a)=>{ensureRenderer().render(...a)},hydrate=(...a)=>{ensureHydrationRenderer().hydrate(...a)},createApp=(...a)=>{const i=ensureRenderer().createApp(...a),{mount:u}=i;return i.mount=c=>{const d=normalizeContainer(c);if(!d)return;const m=i._component;!isFunction$7(m)&&!m.render&&!m.template&&(m.template=d.innerHTML),d.innerHTML="";const f=u(d,!1,resolveRootNamespace(d));return d instanceof Element&&(d.removeAttribute("v-cloak"),d.setAttribute("data-v-app","")),f},i},createSSRApp=(...a)=>{const i=ensureHydrationRenderer().createApp(...a),{mount:u}=i;return i.mount=c=>{const d=normalizeContainer(c);if(d)return u(d,!0,resolveRootNamespace(d))},i};function resolveRootNamespace(a){if(a instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&a instanceof MathMLElement)return"mathml"}function normalizeContainer(a){return isString$5(a)?document.querySelector(a):a}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())};/**
* vue v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$2,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent:defineComponent$1,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect:effect$3,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$_,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue:toValue$1,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel:useModel$1,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$4,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const isBrowser=typeof window<"u";function isESModule(a){return a.__esModule||a[Symbol.toStringTag]==="Module"}const assign$1=Object.assign;function applyToParams(a,i){const u={};for(const c in i){const d=i[c];u[c]=isArray$n(d)?d.map(a):a(d)}return u}const noop$6=()=>{},isArray$n=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=a=>a.replace(TRAILING_SLASH_RE,"");function parseURL(a,i,u="/"){let c,d={},m="",f="";const v=i.indexOf("#");let g=i.indexOf("?");return v<g&&v>=0&&(g=-1),g>-1&&(c=i.slice(0,g),m=i.slice(g+1,v>-1?v:i.length),d=a(m)),v>-1&&(c=c||i.slice(0,v),f=i.slice(v,i.length)),c=resolveRelativePath(c??i,u),{fullPath:c+(m&&"?")+m+f,path:c,query:d,hash:f}}function stringifyURL(a,i){const u=i.query?a(i.query):"";return i.path+(u&&"?")+u+(i.hash||"")}function stripBase(a,i){return!i||!a.toLowerCase().startsWith(i.toLowerCase())?a:a.slice(i.length)||"/"}function isSameRouteLocation(a,i,u){const c=i.matched.length-1,d=u.matched.length-1;return c>-1&&c===d&&isSameRouteRecord(i.matched[c],u.matched[d])&&isSameRouteLocationParams(i.params,u.params)&&a(i.query)===a(u.query)&&i.hash===u.hash}function isSameRouteRecord(a,i){return(a.aliasOf||a)===(i.aliasOf||i)}function isSameRouteLocationParams(a,i){if(Object.keys(a).length!==Object.keys(i).length)return!1;for(const u in a)if(!isSameRouteLocationParamsValue(a[u],i[u]))return!1;return!0}function isSameRouteLocationParamsValue(a,i){return isArray$n(a)?isEquivalentArray(a,i):isArray$n(i)?isEquivalentArray(i,a):a===i}function isEquivalentArray(a,i){return isArray$n(i)?a.length===i.length&&a.every((u,c)=>u===i[c]):a.length===1&&a[0]===i}function resolveRelativePath(a,i){if(a.startsWith("/"))return a;if(!a)return i;const u=i.split("/"),c=a.split("/"),d=c[c.length-1];(d===".."||d===".")&&c.push("");let m=u.length-1,f,v;for(f=0;f<c.length;f++)if(v=c[f],v!==".")if(v==="..")m>1&&m--;else break;return u.slice(0,m).join("/")+"/"+c.slice(f-(f===c.length?1:0)).join("/")}var NavigationType;(function(a){a.pop="pop",a.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(a){a.back="back",a.forward="forward",a.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(a){if(!a)if(isBrowser){const i=document.querySelector("base");a=i&&i.getAttribute("href")||"/",a=a.replace(/^\w+:\/\/[^\/]+/,"")}else a="/";return a[0]!=="/"&&a[0]!=="#"&&(a="/"+a),removeTrailingSlash(a)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(a,i){return a.replace(BEFORE_HASH_RE,"#")+i}function getElementPosition(a,i){const u=document.documentElement.getBoundingClientRect(),c=a.getBoundingClientRect();return{behavior:i.behavior,left:c.left-u.left-(i.left||0),top:c.top-u.top-(i.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(a){let i;if("el"in a){const u=a.el,c=typeof u=="string"&&u.startsWith("#"),d=typeof u=="string"?c?document.getElementById(u.slice(1)):document.querySelector(u):u;if(!d)return;i=getElementPosition(d,a)}else i=a;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function getScrollKey(a,i){return(history.state?history.state.position-i:-1)+a}const scrollPositions=new Map;function saveScrollPosition(a,i){scrollPositions.set(a,i)}function getSavedScrollPosition(a){const i=scrollPositions.get(a);return scrollPositions.delete(a),i}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(a,i){const{pathname:u,search:c,hash:d}=i,m=a.indexOf("#");if(m>-1){let v=d.includes(a.slice(m))?a.slice(m).length:1,g=d.slice(v);return g[0]!=="/"&&(g="/"+g),stripBase(g,"")}return stripBase(u,a)+c+d}function useHistoryListeners(a,i,u,c){let d=[],m=[],f=null;const v=({state:k})=>{const $=createCurrentLocation(a,location),S=u.value,C=i.value;let E=0;if(k){if(u.value=$,i.value=k,f&&f===S){f=null;return}E=C?k.position-C.position:0}else c($);d.forEach(D=>{D(u.value,S,{delta:E,type:NavigationType.pop,direction:E?E>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function g(){f=u.value}function y(k){d.push(k);const $=()=>{const S=d.indexOf(k);S>-1&&d.splice(S,1)};return m.push($),$}function b(){const{history:k}=window;k.state&&k.replaceState(assign$1({},k.state,{scroll:computeScrollPosition()}),"")}function w(){for(const k of m)k();m=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",b)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",b,{passive:!0}),{pauseListeners:g,listen:y,destroy:w}}function buildState(a,i,u,c=!1,d=!1){return{back:a,current:i,forward:u,replaced:c,position:window.history.length,scroll:d?computeScrollPosition():null}}function useHistoryStateNavigation(a){const{history:i,location:u}=window,c={value:createCurrentLocation(a,u)},d={value:i.state};d.value||m(c.value,{back:null,current:c.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function m(g,y,b){const w=a.indexOf("#"),k=w>-1?(u.host&&document.querySelector("base")?a:a.slice(w))+g:createBaseLocation()+a+g;try{i[b?"replaceState":"pushState"](y,"",k),d.value=y}catch($){console.error($),u[b?"replace":"assign"](k)}}function f(g,y){const b=assign$1({},i.state,buildState(d.value.back,g,d.value.forward,!0),y,{position:d.value.position});m(g,b,!0),c.value=g}function v(g,y){const b=assign$1({},d.value,i.state,{forward:g,scroll:computeScrollPosition()});m(b.current,b,!0);const w=assign$1({},buildState(c.value,g,null),{position:b.position+1},y);m(g,w,!1),c.value=g}return{location:c,state:d,push:v,replace:f}}function createWebHistory(a){a=normalizeBase(a);const i=useHistoryStateNavigation(a),u=useHistoryListeners(a,i.state,i.location,i.replace);function c(m,f=!0){f||u.pauseListeners(),history.go(m)}const d=assign$1({location:"",base:a,go:c,createHref:createHref.bind(null,a)},i,u);return Object.defineProperty(d,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(d,"state",{enumerable:!0,get:()=>i.state.value}),d}function createWebHashHistory(a){return a=location.host?a||location.pathname+location.search:"",a.includes("#")||(a+="#"),createWebHistory(a)}function isRouteLocation(a){return typeof a=="string"||a&&typeof a=="object"}function isRouteName(a){return typeof a=="string"||typeof a=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(a){a[a.aborted=4]="aborted",a[a.cancelled=8]="cancelled",a[a.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(a,i){return assign$1(new Error,{type:a,[NavigationFailureSymbol]:!0},i)}function isNavigationFailure(a,i){return a instanceof Error&&NavigationFailureSymbol in a&&(i==null||!!(a.type&i))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(a,i){const u=assign$1({},BASE_PATH_PARSER_OPTIONS,i),c=[];let d=u.start?"^":"";const m=[];for(const y of a){const b=y.length?[]:[90];u.strict&&!y.length&&(d+="/");for(let w=0;w<y.length;w++){const k=y[w];let $=40+(u.sensitive?.25:0);if(k.type===0)w||(d+="/"),d+=k.value.replace(REGEX_CHARS_RE,"\\$&"),$+=40;else if(k.type===1){const{value:S,repeatable:C,optional:E,regexp:D}=k;m.push({name:S,repeatable:C,optional:E});const A=D||BASE_PARAM_PATTERN;if(A!==BASE_PARAM_PATTERN){$+=10;try{new RegExp(`(${A})`)}catch(F){throw new Error(`Invalid custom RegExp for param "${S}" (${A}): `+F.message)}}let O=C?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;w||(O=E&&y.length<2?`(?:/${O})`:"/"+O),E&&(O+="?"),d+=O,$+=20,E&&($+=-8),C&&($+=-20),A===".*"&&($+=-50)}b.push($)}c.push(b)}if(u.strict&&u.end){const y=c.length-1;c[y][c[y].length-1]+=.7000000000000001}u.strict||(d+="/?"),u.end?d+="$":u.strict&&(d+="(?:/|$)");const f=new RegExp(d,u.sensitive?"":"i");function v(y){const b=y.match(f),w={};if(!b)return null;for(let k=1;k<b.length;k++){const $=b[k]||"",S=m[k-1];w[S.name]=$&&S.repeatable?$.split("/"):$}return w}function g(y){let b="",w=!1;for(const k of a){(!w||!b.endsWith("/"))&&(b+="/"),w=!1;for(const $ of k)if($.type===0)b+=$.value;else if($.type===1){const{value:S,repeatable:C,optional:E}=$,D=S in y?y[S]:"";if(isArray$n(D)&&!C)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const A=isArray$n(D)?D.join("/"):D;if(!A)if(E)k.length<2&&(b.endsWith("/")?b=b.slice(0,-1):w=!0);else throw new Error(`Missing required param "${S}"`);b+=A}}return b||"/"}return{re:f,score:c,keys:m,parse:v,stringify:g}}function compareScoreArray(a,i){let u=0;for(;u<a.length&&u<i.length;){const c=i[u]-a[u];if(c)return c;u++}return a.length<i.length?a.length===1&&a[0]===80?-1:1:a.length>i.length?i.length===1&&i[0]===80?1:-1:0}function comparePathParserScore(a,i){let u=0;const c=a.score,d=i.score;for(;u<c.length&&u<d.length;){const m=compareScoreArray(c[u],d[u]);if(m)return m;u++}if(Math.abs(d.length-c.length)===1){if(isLastScoreNegative(c))return 1;if(isLastScoreNegative(d))return-1}return d.length-c.length}function isLastScoreNegative(a){const i=a[a.length-1];return a.length>0&&i[i.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(a){if(!a)return[[]];if(a==="/")return[[ROOT_TOKEN]];if(!a.startsWith("/"))throw new Error(`Invalid path "${a}"`);function i($){throw new Error(`ERR (${u})/"${y}": ${$}`)}let u=0,c=u;const d=[];let m;function f(){m&&d.push(m),m=[]}let v=0,g,y="",b="";function w(){y&&(u===0?m.push({type:0,value:y}):u===1||u===2||u===3?(m.length>1&&(g==="*"||g==="+")&&i(`A repeatable param (${y}) must be alone in its segment. eg: '/:ids+.`),m.push({type:1,value:y,regexp:b,repeatable:g==="*"||g==="+",optional:g==="*"||g==="?"})):i("Invalid state to consume buffer"),y="")}function k(){y+=g}for(;v<a.length;){if(g=a[v++],g==="\\"&&u!==2){c=u,u=4;continue}switch(u){case 0:g==="/"?(y&&w(),f()):g===":"?(w(),u=1):k();break;case 4:k(),u=c;break;case 1:g==="("?u=2:VALID_PARAM_RE.test(g)?k():(w(),u=0,g!=="*"&&g!=="?"&&g!=="+"&&v--);break;case 2:g===")"?b[b.length-1]=="\\"?b=b.slice(0,-1)+g:u=3:b+=g;break;case 3:w(),u=0,g!=="*"&&g!=="?"&&g!=="+"&&v--,b="";break;default:i("Unknown state");break}}return u===2&&i(`Unfinished custom RegExp for param "${y}"`),w(),f(),d}function createRouteRecordMatcher(a,i,u){const c=tokensToParser(tokenizePath(a.path),u),d=assign$1(c,{record:a,parent:i,children:[],alias:[]});return i&&!d.record.aliasOf==!i.record.aliasOf&&i.children.push(d),d}function createRouterMatcher(a,i){const u=[],c=new Map;i=mergeOptions({strict:!1,end:!0,sensitive:!1},i);function d(b){return c.get(b)}function m(b,w,k){const $=!k,S=normalizeRouteRecord(b);S.aliasOf=k&&k.record;const C=mergeOptions(i,b),E=[S];if("alias"in b){const O=typeof b.alias=="string"?[b.alias]:b.alias;for(const F of O)E.push(assign$1({},S,{components:k?k.record.components:S.components,path:F,aliasOf:k?k.record:S}))}let D,A;for(const O of E){const{path:F}=O;if(w&&F[0]!=="/"){const B=w.record.path,I=B[B.length-1]==="/"?"":"/";O.path=w.record.path+(F&&I+F)}if(D=createRouteRecordMatcher(O,w,C),k?k.alias.push(D):(A=A||D,A!==D&&A.alias.push(D),$&&b.name&&!isAliasRecord(D)&&f(b.name)),S.children){const B=S.children;for(let I=0;I<B.length;I++)m(B[I],D,k&&k.children[I])}k=k||D,(D.record.components&&Object.keys(D.record.components).length||D.record.name||D.record.redirect)&&g(D)}return A?()=>{f(A)}:noop$6}function f(b){if(isRouteName(b)){const w=c.get(b);w&&(c.delete(b),u.splice(u.indexOf(w),1),w.children.forEach(f),w.alias.forEach(f))}else{const w=u.indexOf(b);w>-1&&(u.splice(w,1),b.record.name&&c.delete(b.record.name),b.children.forEach(f),b.alias.forEach(f))}}function v(){return u}function g(b){let w=0;for(;w<u.length&&comparePathParserScore(b,u[w])>=0&&(b.record.path!==u[w].record.path||!isRecordChildOf(b,u[w]));)w++;u.splice(w,0,b),b.record.name&&!isAliasRecord(b)&&c.set(b.record.name,b)}function y(b,w){let k,$={},S,C;if("name"in b&&b.name){if(k=c.get(b.name),!k)throw createRouterError(1,{location:b});C=k.record.name,$=assign$1(paramsFromLocation(w.params,k.keys.filter(A=>!A.optional).map(A=>A.name)),b.params&&paramsFromLocation(b.params,k.keys.map(A=>A.name))),S=k.stringify($)}else if("path"in b)S=b.path,k=u.find(A=>A.re.test(S)),k&&($=k.parse(S),C=k.record.name);else{if(k=w.name?c.get(w.name):u.find(A=>A.re.test(w.path)),!k)throw createRouterError(1,{location:b,currentLocation:w});C=k.record.name,$=assign$1({},w.params,b.params),S=k.stringify($)}const E=[];let D=k;for(;D;)E.unshift(D.record),D=D.parent;return{name:C,path:S,params:$,matched:E,meta:mergeMetaFields(E)}}return a.forEach(b=>m(b)),{addRoute:m,resolve:y,removeRoute:f,getRoutes:v,getRecordMatcher:d}}function paramsFromLocation(a,i){const u={};for(const c of i)c in a&&(u[c]=a[c]);return u}function normalizeRouteRecord(a){return{path:a.path,redirect:a.redirect,name:a.name,meta:a.meta||{},aliasOf:void 0,beforeEnter:a.beforeEnter,props:normalizeRecordProps(a),children:a.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in a?a.components||null:a.component&&{default:a.component}}}function normalizeRecordProps(a){const i={},u=a.props||!1;if("component"in a)i.default=u;else for(const c in a.components)i[c]=typeof u=="object"?u[c]:u;return i}function isAliasRecord(a){for(;a;){if(a.record.aliasOf)return!0;a=a.parent}return!1}function mergeMetaFields(a){return a.reduce((i,u)=>assign$1(i,u.meta),{})}function mergeOptions(a,i){const u={};for(const c in a)u[c]=c in i?i[c]:a[c];return u}function isRecordChildOf(a,i){return i.children.some(u=>u===a||isRecordChildOf(a,u))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(a){return encodeURI(""+a).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(a){return commonEncode(a).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(a){return commonEncode(a).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(a){return encodeQueryValue(a).replace(EQUAL_RE,"%3D")}function encodePath(a){return commonEncode(a).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(a){return a==null?"":encodePath(a).replace(SLASH_RE,"%2F")}function decode(a){try{return decodeURIComponent(""+a)}catch{}return""+a}function parseQuery(a){const i={};if(a===""||a==="?")return i;const c=(a[0]==="?"?a.slice(1):a).split("&");for(let d=0;d<c.length;++d){const m=c[d].replace(PLUS_RE," "),f=m.indexOf("="),v=decode(f<0?m:m.slice(0,f)),g=f<0?null:decode(m.slice(f+1));if(v in i){let y=i[v];isArray$n(y)||(y=i[v]=[y]),y.push(g)}else i[v]=g}return i}function stringifyQuery(a){let i="";for(let u in a){const c=a[u];if(u=encodeQueryKey(u),c==null){c!==void 0&&(i+=(i.length?"&":"")+u);continue}(isArray$n(c)?c.map(m=>m&&encodeQueryValue(m)):[c&&encodeQueryValue(c)]).forEach(m=>{m!==void 0&&(i+=(i.length?"&":"")+u,m!=null&&(i+="="+m))})}return i}function normalizeQuery(a){const i={};for(const u in a){const c=a[u];c!==void 0&&(i[u]=isArray$n(c)?c.map(d=>d==null?null:""+d):c==null?c:""+c)}return i}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let a=[];function i(c){return a.push(c),()=>{const d=a.indexOf(c);d>-1&&a.splice(d,1)}}function u(){a=[]}return{add:i,list:()=>a.slice(),reset:u}}function guardToPromiseFn(a,i,u,c,d){const m=c&&(c.enterCallbacks[d]=c.enterCallbacks[d]||[]);return()=>new Promise((f,v)=>{const g=w=>{w===!1?v(createRouterError(4,{from:u,to:i})):w instanceof Error?v(w):isRouteLocation(w)?v(createRouterError(2,{from:i,to:w})):(m&&c.enterCallbacks[d]===m&&typeof w=="function"&&m.push(w),f())},y=a.call(c&&c.instances[d],i,u,g);let b=Promise.resolve(y);a.length<3&&(b=b.then(g)),b.catch(w=>v(w))})}function extractComponentsGuards(a,i,u,c){const d=[];for(const m of a)for(const f in m.components){let v=m.components[f];if(!(i!=="beforeRouteEnter"&&!m.instances[f]))if(isRouteComponent(v)){const y=(v.__vccOpts||v)[i];y&&d.push(guardToPromiseFn(y,u,c,m,f))}else{let g=v();d.push(()=>g.then(y=>{if(!y)return Promise.reject(new Error(`Couldn't resolve component "${f}" at "${m.path}"`));const b=isESModule(y)?y.default:y;m.components[f]=b;const k=(b.__vccOpts||b)[i];return k&&guardToPromiseFn(k,u,c,m,f)()}))}}return d}function isRouteComponent(a){return typeof a=="object"||"displayName"in a||"props"in a||"__vccOpts"in a}function useLink$1(a){const i=inject$1(routerKey),u=inject$1(routeLocationKey),c=computed(()=>i.resolve(unref(a.to))),d=computed(()=>{const{matched:g}=c.value,{length:y}=g,b=g[y-1],w=u.matched;if(!b||!w.length)return-1;const k=w.findIndex(isSameRouteRecord.bind(null,b));if(k>-1)return k;const $=getOriginalPath(g[y-2]);return y>1&&getOriginalPath(b)===$&&w[w.length-1].path!==$?w.findIndex(isSameRouteRecord.bind(null,g[y-2])):k}),m=computed(()=>d.value>-1&&includesParams(u.params,c.value.params)),f=computed(()=>d.value>-1&&d.value===u.matched.length-1&&isSameRouteLocationParams(u.params,c.value.params));function v(g={}){return guardEvent(g)?i[unref(a.replace)?"replace":"push"](unref(a.to)).catch(noop$6):Promise.resolve()}return{route:c,href:computed(()=>c.value.href),isActive:m,isExactActive:f,navigate:v}}const RouterLinkImpl=defineComponent$1({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink$1,setup(a,{slots:i}){const u=reactive(useLink$1(a)),{options:c}=inject$1(routerKey),d=computed(()=>({[getLinkClass(a.activeClass,c.linkActiveClass,"router-link-active")]:u.isActive,[getLinkClass(a.exactActiveClass,c.linkExactActiveClass,"router-link-exact-active")]:u.isExactActive}));return()=>{const m=i.default&&i.default(u);return a.custom?m:h("a",{"aria-current":u.isExactActive?a.ariaCurrentValue:null,href:u.href,onClick:u.navigate,class:d.value},m)}}}),RouterLink=RouterLinkImpl;function guardEvent(a){if(!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)&&!a.defaultPrevented&&!(a.button!==void 0&&a.button!==0)){if(a.currentTarget&&a.currentTarget.getAttribute){const i=a.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return a.preventDefault&&a.preventDefault(),!0}}function includesParams(a,i){for(const u in i){const c=i[u],d=a[u];if(typeof c=="string"){if(c!==d)return!1}else if(!isArray$n(d)||d.length!==c.length||c.some((m,f)=>m!==d[f]))return!1}return!0}function getOriginalPath(a){return a?a.aliasOf?a.aliasOf.path:a.path:""}const getLinkClass=(a,i,u)=>a??i??u,RouterViewImpl=defineComponent$1({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(a,{attrs:i,slots:u}){const c=inject$1(routerViewLocationKey),d=computed(()=>a.route||c.value),m=inject$1(viewDepthKey,0),f=computed(()=>{let y=unref(m);const{matched:b}=d.value;let w;for(;(w=b[y])&&!w.components;)y++;return y}),v=computed(()=>d.value.matched[f.value]);provide(viewDepthKey,computed(()=>f.value+1)),provide(matchedRouteKey,v),provide(routerViewLocationKey,d);const g=ref();return watch(()=>[g.value,v.value,a.name],([y,b,w],[k,$,S])=>{b&&(b.instances[w]=y,$&&$!==b&&y&&y===k&&(b.leaveGuards.size||(b.leaveGuards=$.leaveGuards),b.updateGuards.size||(b.updateGuards=$.updateGuards))),y&&b&&(!$||!isSameRouteRecord(b,$)||!k)&&(b.enterCallbacks[w]||[]).forEach(C=>C(y))},{flush:"post"}),()=>{const y=d.value,b=a.name,w=v.value,k=w&&w.components[b];if(!k)return normalizeSlot(u.default,{Component:k,route:y});const $=w.props[b],S=$?$===!0?y.params:typeof $=="function"?$(y):$:null,E=h(k,assign$1({},S,i,{onVnodeUnmounted:D=>{D.component.isUnmounted&&(w.instances[b]=null)},ref:g}));return normalizeSlot(u.default,{Component:E,route:y})||E}}});function normalizeSlot(a,i){if(!a)return null;const u=a(i);return u.length===1?u[0]:u}const RouterView=RouterViewImpl;function createRouter(a){const i=createRouterMatcher(a.routes,a),u=a.parseQuery||parseQuery,c=a.stringifyQuery||stringifyQuery,d=a.history,m=useCallbacks(),f=useCallbacks(),v=useCallbacks(),g=shallowRef(START_LOCATION_NORMALIZED);let y=START_LOCATION_NORMALIZED;isBrowser&&a.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=applyToParams.bind(null,ue=>""+ue),w=applyToParams.bind(null,encodeParam),k=applyToParams.bind(null,decode);function $(ue,Ce){let Te,Pe;return isRouteName(ue)?(Te=i.getRecordMatcher(ue),Pe=Ce):Pe=ue,i.addRoute(Pe,Te)}function S(ue){const Ce=i.getRecordMatcher(ue);Ce&&i.removeRoute(Ce)}function C(){return i.getRoutes().map(ue=>ue.record)}function E(ue){return!!i.getRecordMatcher(ue)}function D(ue,Ce){if(Ce=assign$1({},Ce||g.value),typeof ue=="string"){const de=parseURL(u,ue,Ce.path),Fe=i.resolve({path:de.path},Ce),We=d.createHref(de.fullPath);return assign$1(de,Fe,{params:k(Fe.params),hash:decode(de.hash),redirectedFrom:void 0,href:We})}let Te;if("path"in ue)Te=assign$1({},ue,{path:parseURL(u,ue.path,Ce.path).path});else{const de=assign$1({},ue.params);for(const Fe in de)de[Fe]==null&&delete de[Fe];Te=assign$1({},ue,{params:w(de)}),Ce.params=w(Ce.params)}const Pe=i.resolve(Te,Ce),Vt=ue.hash||"";Pe.params=b(k(Pe.params));const Ie=stringifyURL(c,assign$1({},ue,{hash:encodeHash(Vt),path:Pe.path})),ie=d.createHref(Ie);return assign$1({fullPath:Ie,hash:Vt,query:c===stringifyQuery?normalizeQuery(ue.query):ue.query||{}},Pe,{redirectedFrom:void 0,href:ie})}function A(ue){return typeof ue=="string"?parseURL(u,ue,g.value.path):assign$1({},ue)}function O(ue,Ce){if(y!==ue)return createRouterError(8,{from:Ce,to:ue})}function F(ue){return M(ue)}function B(ue){return F(assign$1(A(ue),{replace:!0}))}function I(ue){const Ce=ue.matched[ue.matched.length-1];if(Ce&&Ce.redirect){const{redirect:Te}=Ce;let Pe=typeof Te=="function"?Te(ue):Te;return typeof Pe=="string"&&(Pe=Pe.includes("?")||Pe.includes("#")?Pe=A(Pe):{path:Pe},Pe.params={}),assign$1({query:ue.query,hash:ue.hash,params:"path"in Pe?{}:ue.params},Pe)}}function M(ue,Ce){const Te=y=D(ue),Pe=g.value,Vt=ue.state,Ie=ue.force,ie=ue.replace===!0,de=I(Te);if(de)return M(assign$1(A(de),{state:typeof de=="object"?assign$1({},Vt,de.state):Vt,force:Ie,replace:ie}),Ce||Te);const Fe=Te;Fe.redirectedFrom=Ce;let We;return!Ie&&isSameRouteLocation(c,Pe,Te)&&(We=createRouterError(16,{to:Fe,from:Pe}),le(Pe,Pe,!0,!1)),(We?Promise.resolve(We):H(Fe,Pe)).catch(wt=>isNavigationFailure(wt)?isNavigationFailure(wt,2)?wt:ve(wt):ae(wt,Fe,Pe)).then(wt=>{if(wt){if(isNavigationFailure(wt,2))return M(assign$1({replace:ie},A(wt.to),{state:typeof wt.to=="object"?assign$1({},Vt,wt.to.state):Vt,force:Ie}),Ce||Fe)}else wt=j(Fe,Pe,!0,ie,Vt);return Q(Fe,Pe,wt),wt})}function z(ue,Ce){const Te=O(ue,Ce);return Te?Promise.reject(Te):Promise.resolve()}function q(ue){const Ce=At.values().next().value;return Ce&&typeof Ce.runWithContext=="function"?Ce.runWithContext(ue):ue()}function H(ue,Ce){let Te;const[Pe,Vt,Ie]=extractChangingRecords(ue,Ce);Te=extractComponentsGuards(Pe.reverse(),"beforeRouteLeave",ue,Ce);for(const de of Pe)de.leaveGuards.forEach(Fe=>{Te.push(guardToPromiseFn(Fe,ue,Ce))});const ie=z.bind(null,ue,Ce);return Te.push(ie),ke(Te).then(()=>{Te=[];for(const de of m.list())Te.push(guardToPromiseFn(de,ue,Ce));return Te.push(ie),ke(Te)}).then(()=>{Te=extractComponentsGuards(Vt,"beforeRouteUpdate",ue,Ce);for(const de of Vt)de.updateGuards.forEach(Fe=>{Te.push(guardToPromiseFn(Fe,ue,Ce))});return Te.push(ie),ke(Te)}).then(()=>{Te=[];for(const de of Ie)if(de.beforeEnter)if(isArray$n(de.beforeEnter))for(const Fe of de.beforeEnter)Te.push(guardToPromiseFn(Fe,ue,Ce));else Te.push(guardToPromiseFn(de.beforeEnter,ue,Ce));return Te.push(ie),ke(Te)}).then(()=>(ue.matched.forEach(de=>de.enterCallbacks={}),Te=extractComponentsGuards(Ie,"beforeRouteEnter",ue,Ce),Te.push(ie),ke(Te))).then(()=>{Te=[];for(const de of f.list())Te.push(guardToPromiseFn(de,ue,Ce));return Te.push(ie),ke(Te)}).catch(de=>isNavigationFailure(de,8)?de:Promise.reject(de))}function Q(ue,Ce,Te){v.list().forEach(Pe=>q(()=>Pe(ue,Ce,Te)))}function j(ue,Ce,Te,Pe,Vt){const Ie=O(ue,Ce);if(Ie)return Ie;const ie=Ce===START_LOCATION_NORMALIZED,de=isBrowser?history.state:{};Te&&(Pe||ie?d.replace(ue.fullPath,assign$1({scroll:ie&&de&&de.scroll},Vt)):d.push(ue.fullPath,Vt)),g.value=ue,le(ue,Ce,Te,ie),ve()}let ee;function G(){ee||(ee=d.listen((ue,Ce,Te)=>{if(!Le.listening)return;const Pe=D(ue),Vt=I(Pe);if(Vt){M(assign$1(Vt,{replace:!0}),Pe).catch(noop$6);return}y=Pe;const Ie=g.value;isBrowser&&saveScrollPosition(getScrollKey(Ie.fullPath,Te.delta),computeScrollPosition()),H(Pe,Ie).catch(ie=>isNavigationFailure(ie,12)?ie:isNavigationFailure(ie,2)?(M(ie.to,Pe).then(de=>{isNavigationFailure(de,20)&&!Te.delta&&Te.type===NavigationType.pop&&d.go(-1,!1)}).catch(noop$6),Promise.reject()):(Te.delta&&d.go(-Te.delta,!1),ae(ie,Pe,Ie))).then(ie=>{ie=ie||j(Pe,Ie,!1),ie&&(Te.delta&&!isNavigationFailure(ie,8)?d.go(-Te.delta,!1):Te.type===NavigationType.pop&&isNavigationFailure(ie,20)&&d.go(-1,!1)),Q(Pe,Ie,ie)}).catch(noop$6)}))}let J=useCallbacks(),te=useCallbacks(),re;function ae(ue,Ce,Te){ve(ue);const Pe=te.list();return Pe.length?Pe.forEach(Vt=>Vt(ue,Ce,Te)):console.error(ue),Promise.reject(ue)}function ye(){return re&&g.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((ue,Ce)=>{J.add([ue,Ce])})}function ve(ue){return re||(re=!ue,G(),J.list().forEach(([Ce,Te])=>ue?Te(ue):Ce()),J.reset()),ue}function le(ue,Ce,Te,Pe){const{scrollBehavior:Vt}=a;if(!isBrowser||!Vt)return Promise.resolve();const Ie=!Te&&getSavedScrollPosition(getScrollKey(ue.fullPath,0))||(Pe||!Te)&&history.state&&history.state.scroll||null;return nextTick().then(()=>Vt(ue,Ce,Ie)).then(ie=>ie&&scrollToPosition(ie)).catch(ie=>ae(ie,ue,Ce))}const Se=ue=>d.go(ue);let De;const At=new Set,Le={currentRoute:g,listening:!0,addRoute:$,removeRoute:S,hasRoute:E,getRoutes:C,resolve:D,options:a,push:F,replace:B,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:m.add,beforeResolve:f.add,afterEach:v.add,onError:te.add,isReady:ye,install(ue){const Ce=this;ue.component("RouterLink",RouterLink),ue.component("RouterView",RouterView),ue.config.globalProperties.$router=Ce,Object.defineProperty(ue.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(g)}),isBrowser&&!De&&g.value===START_LOCATION_NORMALIZED&&(De=!0,F(d.location).catch(Vt=>{}));const Te={};for(const Vt in START_LOCATION_NORMALIZED)Object.defineProperty(Te,Vt,{get:()=>g.value[Vt],enumerable:!0});ue.provide(routerKey,Ce),ue.provide(routeLocationKey,shallowReactive(Te)),ue.provide(routerViewLocationKey,g);const Pe=ue.unmount;At.add(ue),ue.unmount=function(){At.delete(ue),At.size<1&&(y=START_LOCATION_NORMALIZED,ee&&ee(),ee=null,g.value=START_LOCATION_NORMALIZED,De=!1,re=!1),Pe()}}};function ke(ue){return ue.reduce((Ce,Te)=>Ce.then(()=>q(Te)),Promise.resolve())}return Le}function extractChangingRecords(a,i){const u=[],c=[],d=[],m=Math.max(i.matched.length,a.matched.length);for(let f=0;f<m;f++){const v=i.matched[f];v&&(a.matched.find(y=>isSameRouteRecord(y,v))?c.push(v):u.push(v));const g=a.matched[f];g&&(i.matched.find(y=>isSameRouteRecord(y,g))||d.push(g))}return[u,c,d]}function useRouter$1(){return inject$1(routerKey)}var isVue2=!1;/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/let activePinia;const setActivePinia=a=>activePinia=a,piniaSymbol=Symbol();function isPlainObject$4(a){return a&&typeof a=="object"&&Object.prototype.toString.call(a)==="[object Object]"&&typeof a.toJSON!="function"}var MutationType;(function(a){a.direct="direct",a.patchObject="patch object",a.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const a=effectScope(!0),i=a.run(()=>ref({}));let u=[],c=[];const d=markRaw({install(m){setActivePinia(d),d._a=m,m.provide(piniaSymbol,d),m.config.globalProperties.$pinia=d,c.forEach(f=>u.push(f)),c=[]},use(m){return!this._a&&!isVue2?c.push(m):u.push(m),this},_p:u,_a:null,_e:a,_s:new Map,state:i});return d}const noop$5=()=>{};function addSubscription(a,i,u,c=noop$5){a.push(i);const d=()=>{const m=a.indexOf(i);m>-1&&(a.splice(m,1),c())};return!u&&getCurrentScope()&&onScopeDispose(d),d}function triggerSubscriptions(a,...i){a.slice().forEach(u=>{u(...i)})}const fallbackRunWithContext=a=>a();function mergeReactiveObjects(a,i){a instanceof Map&&i instanceof Map&&i.forEach((u,c)=>a.set(c,u)),a instanceof Set&&i instanceof Set&&i.forEach(a.add,a);for(const u in i){if(!i.hasOwnProperty(u))continue;const c=i[u],d=a[u];isPlainObject$4(d)&&isPlainObject$4(c)&&a.hasOwnProperty(u)&&!isRef(c)&&!isReactive(c)?a[u]=mergeReactiveObjects(d,c):a[u]=c}return a}const skipHydrateSymbol=Symbol();function shouldHydrate(a){return!isPlainObject$4(a)||!a.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(a){return!!(isRef(a)&&a.effect)}function createOptionsStore(a,i,u,c){const{state:d,actions:m,getters:f}=i,v=u.state.value[a];let g;function y(){v||(u.state.value[a]=d?d():{});const b=toRefs(u.state.value[a]);return assign(b,m,Object.keys(f||{}).reduce((w,k)=>(w[k]=markRaw(computed(()=>{setActivePinia(u);const $=u._s.get(a);return f[k].call($,$)})),w),{}))}return g=createSetupStore(a,y,i,u,c,!0),g}function createSetupStore(a,i,u={},c,d,m){let f;const v=assign({actions:{}},u),g={deep:!0};let y,b,w=[],k=[],$;const S=c.state.value[a];!m&&!S&&(c.state.value[a]={}),ref({});let C;function E(z){let q;y=b=!1,typeof z=="function"?(z(c.state.value[a]),q={type:MutationType.patchFunction,storeId:a,events:$}):(mergeReactiveObjects(c.state.value[a],z),q={type:MutationType.patchObject,payload:z,storeId:a,events:$});const H=C=Symbol();nextTick().then(()=>{C===H&&(y=!0)}),b=!0,triggerSubscriptions(w,q,c.state.value[a])}const D=m?function(){const{state:q}=u,H=q?q():{};this.$patch(Q=>{assign(Q,H)})}:noop$5;function A(){f.stop(),w=[],k=[],c._s.delete(a)}function O(z,q){return function(){setActivePinia(c);const H=Array.from(arguments),Q=[],j=[];function ee(te){Q.push(te)}function G(te){j.push(te)}triggerSubscriptions(k,{args:H,name:z,store:B,after:ee,onError:G});let J;try{J=q.apply(this&&this.$id===a?this:B,H)}catch(te){throw triggerSubscriptions(j,te),te}return J instanceof Promise?J.then(te=>(triggerSubscriptions(Q,te),te)).catch(te=>(triggerSubscriptions(j,te),Promise.reject(te))):(triggerSubscriptions(Q,J),J)}}const F={_p:c,$id:a,$onAction:addSubscription.bind(null,k),$patch:E,$reset:D,$subscribe(z,q={}){const H=addSubscription(w,z,q.detached,()=>Q()),Q=f.run(()=>watch(()=>c.state.value[a],j=>{(q.flush==="sync"?b:y)&&z({storeId:a,type:MutationType.direct,events:$},j)},assign({},g,q)));return H},$dispose:A},B=reactive(F);c._s.set(a,B);const M=(c._a&&c._a.runWithContext||fallbackRunWithContext)(()=>c._e.run(()=>(f=effectScope()).run(i)));for(const z in M){const q=M[z];if(isRef(q)&&!isComputed(q)||isReactive(q))m||(S&&shouldHydrate(q)&&(isRef(q)?q.value=S[z]:mergeReactiveObjects(q,S[z])),c.state.value[a][z]=q);else if(typeof q=="function"){const H=O(z,q);M[z]=H,v.actions[z]=q}}return assign(B,M),assign(toRaw(B),M),Object.defineProperty(B,"$state",{get:()=>c.state.value[a],set:z=>{E(q=>{assign(q,z)})}}),c._p.forEach(z=>{assign(B,f.run(()=>z({store:B,app:c._a,pinia:c,options:v})))}),S&&m&&u.hydrate&&u.hydrate(B.$state,S),y=!0,b=!0,B}function defineStore(a,i,u){let c,d;const m=typeof i=="function";typeof a=="string"?(c=a,d=m?u:i):(d=a,c=a.id);function f(v,g){const y=hasInjectionContext();return v=v||(y?inject$1(piniaSymbol,null):null),v&&setActivePinia(v),v=activePinia,v._s.has(c)||(m?createSetupStore(c,i,d,v):createOptionsStore(c,d,v)),v._s.get(c)}return f.$id=c,f}const _imports_0$1="/static/vue3/assets/brand_logo-B3nCJMk0.svg";let BASE_PATH=typeof window<"u"?localStorage.getItem("BASE_PATH")||"":location.protocol+"//"+location.host;class Configuration{constructor(i={}){this.configuration=i}set config(i){this.configuration=i}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:BASE_PATH}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||querystring}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const i=this.configuration.apiKey;if(i)return typeof i=="function"?i:()=>i}get accessToken(){const i=this.configuration.accessToken;if(i)return typeof i=="function"?i:async()=>i}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const DefaultConfig=new Configuration,_o=class _o{constructor(i=DefaultConfig){Aa(this,"middleware");Aa(this,"fetchApi",async(i,u)=>{let c={url:i,init:u};for(const m of this.middleware)m.pre&&(c=await m.pre({fetch:this.fetchApi,...c})||c);let d;try{d=await(this.configuration.fetchApi||fetch)(c.url,c.init)}catch(m){for(const f of this.middleware)f.onError&&(d=await f.onError({fetch:this.fetchApi,url:c.url,init:c.init,error:m,response:d?d.clone():void 0})||d);if(d===void 0)throw m instanceof Error?new FetchError(m,"The request failed and the interceptors did not return an alternative response"):m}for(const m of this.middleware)m.post&&(d=await m.post({fetch:this.fetchApi,url:c.url,init:c.init,response:d.clone()})||d);return d});this.configuration=i,this.middleware=i.middleware}withMiddleware(...i){const u=this.clone();return u.middleware=u.middleware.concat(...i),u}withPreMiddleware(...i){const u=i.map(c=>({pre:c}));return this.withMiddleware(...u)}withPostMiddleware(...i){const u=i.map(c=>({post:c}));return this.withMiddleware(...u)}isJsonMime(i){return i?_o.jsonRegex.test(i):!1}async request(i,u){const{url:c,init:d}=await this.createFetchParams(i,u),m=await this.fetchApi(c,d);if(m&&m.status>=200&&m.status<300)return m;throw new ResponseError(m,"Response returned an error code")}getCookie(i){let u=null;if(document.cookie&&document.cookie!==""){const c=document.cookie.split(";");for(let d=0;d<c.length;d++){const m=c[d].trim();if(m.substring(0,i.length+1)===i+"="){u=decodeURIComponent(m.substring(i.length+1));break}}}return u}async createFetchParams(i,u){let c=this.configuration.basePath+i.path;i.query!==void 0&&Object.keys(i.query).length!==0&&(c+="?"+this.configuration.queryParamsStringify(i.query));const d=Object.assign({},this.configuration.headers,i.headers,{"X-CSRFToken":this.getCookie("csrftoken")});Object.keys(d).forEach(b=>d[b]===void 0?delete d[b]:{});const m=typeof u=="function"?u:async()=>u,f={method:i.method,headers:d,body:i.body,credentials:this.configuration.credentials},v={...f,...await m({init:f,context:i})};let g;isFormData$1(v.body)||v.body instanceof URLSearchParams||isBlob$1(v.body)?g=v.body:this.isJsonMime(d["Content-Type"])?g=JSON.stringify(v.body):g=v.body;const y={...v,body:g};return{url:c,init:y}}clone(){const i=this.constructor,u=new i(this.configuration);return u.middleware=this.middleware.slice(),u}};Aa(_o,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let BaseAPI=_o;function isBlob$1(a){return typeof Blob<"u"&&a instanceof Blob}function isFormData$1(a){return typeof FormData<"u"&&a instanceof FormData}class ResponseError extends Error{constructor(u,c){super(c);Aa(this,"name","ResponseError");this.response=u}}class FetchError extends Error{constructor(u,c){super(c);Aa(this,"name","FetchError");this.cause=u}}class RequiredError extends Error{constructor(u,c){super(c);Aa(this,"name","RequiredError");this.field=u}}function querystring(a,i=""){return Object.keys(a).map(u=>querystringSingleKey(u,a[u],i)).filter(u=>u.length>0).join("&")}function querystringSingleKey(a,i,u=""){const c=u+(u.length?`[${a}]`:a);if(i instanceof Array){const d=i.map(m=>encodeURIComponent(String(m))).join(`&${encodeURIComponent(c)}=`);return`${encodeURIComponent(c)}=${d}`}if(i instanceof Set){const d=Array.from(i);return querystringSingleKey(a,d,u)}return i instanceof Date?`${encodeURIComponent(c)}=${encodeURIComponent(i.toISOString())}`:i instanceof Object?querystring(i,c):`${encodeURIComponent(c)}=${encodeURIComponent(String(i))}`}function canConsumeForm(a){for(const i of a)if(i.contentType==="multipart/form-data")return!0;return!1}class JSONApiResponse{constructor(i,u=c=>c){this.raw=i,this.transformer=u}async value(){return this.transformer(await this.raw.json())}}class VoidApiResponse{constructor(i){this.raw=i}async value(){}}class TextApiResponse{constructor(i){this.raw=i}async value(){return await this.raw.text()}}function AccessTokenFromJSON(a){return AccessTokenFromJSONTyped(a)}function AccessTokenFromJSONTyped(a,i){return a==null?a:{id:a.id,token:a.token,expires:new Date(a.expires),scope:a.scope==null?void 0:a.scope,created:new Date(a.created),updated:new Date(a.updated)}}function AccessTokenRequestToJSON(a){return a==null?a:{expires:a.expires.toISOString(),scope:a.scope,id:a.id}}function UserFromJSON(a){return UserFromJSONTyped(a)}function UserFromJSONTyped(a,i){return a==null?a:{id:a.id,username:a.username,firstName:a.first_name==null?void 0:a.first_name,lastName:a.last_name==null?void 0:a.last_name,displayName:a.display_name}}function AutoMealPlanFromJSON(a){return AutoMealPlanFromJSONTyped(a)}function AutoMealPlanFromJSONTyped(a,i){return a==null?a:{startDate:new Date(a.start_date),endDate:new Date(a.end_date),mealTypeId:a.meal_type_id,keywordIds:a.keyword_ids,servings:a.servings,shared:a.shared==null?void 0:a.shared.map(UserFromJSON),addshopping:a.addshopping}}function UserRequestToJSON(a){return a==null?a:{first_name:a.firstName,last_name:a.lastName,id:a.id}}function AutoMealPlanRequestToJSON(a){return a==null?a:{start_date:a.startDate.toISOString().substring(0,10),end_date:a.endDate.toISOString().substring(0,10),meal_type_id:a.mealTypeId,keyword_ids:a.keywordIds,servings:a.servings,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),addshopping:a.addshopping}}function TypeEnumFromJSON(a){return TypeEnumFromJSONTyped(a)}function TypeEnumFromJSONTyped(a,i){return a}function TypeEnumToJSON(a){return a}function AutomationFromJSON(a){return AutomationFromJSONTyped(a)}function AutomationFromJSONTyped(a,i){return a==null?a:{id:a.id,type:TypeEnumFromJSON(a.type),name:a.name==null?void 0:a.name,description:a.description==null?void 0:a.description,param1:a.param_1==null?void 0:a.param_1,param2:a.param_2==null?void 0:a.param_2,param3:a.param_3==null?void 0:a.param_3,order:a.order==null?void 0:a.order,disabled:a.disabled==null?void 0:a.disabled,createdBy:a.created_by}}function AutomationRequestToJSON(a){return a==null?a:{type:a.type,name:a.name,description:a.description,param_1:a.param1,param_2:a.param2,param_3:a.param3,order:a.order,disabled:a.disabled,id:a.id}}function BookmarkletImportFromJSON(a){return BookmarkletImportFromJSONTyped(a)}function BookmarkletImportFromJSONTyped(a,i){return a==null?a:{id:a.id,url:a.url==null?void 0:a.url,html:a.html,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function BookmarkletImportListFromJSON(a){return BookmarkletImportListFromJSONTyped(a)}function BookmarkletImportListFromJSONTyped(a,i){return a==null?a:{id:a.id,url:a.url==null?void 0:a.url,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function BookmarkletImportRequestToJSON(a){return a==null?a:{url:a.url,html:a.html,id:a.id}}function ConnectorConfigConfigFromJSON(a){return ConnectorConfigConfigFromJSONTyped(a)}function ConnectorConfigConfigFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,url:a.url==null?void 0:a.url,todoEntity:a.todo_entity==null?void 0:a.todo_entity,enabled:a.enabled==null?void 0:a.enabled,onShoppingListEntryCreatedEnabled:a.on_shopping_list_entry_created_enabled==null?void 0:a.on_shopping_list_entry_created_enabled,onShoppingListEntryUpdatedEnabled:a.on_shopping_list_entry_updated_enabled==null?void 0:a.on_shopping_list_entry_updated_enabled,onShoppingListEntryDeletedEnabled:a.on_shopping_list_entry_deleted_enabled==null?void 0:a.on_shopping_list_entry_deleted_enabled,createdBy:a.created_by}}function ConnectorConfigConfigRequestToJSON(a){return a==null?a:{name:a.name,url:a.url,token:a.token,todo_entity:a.todoEntity,enabled:a.enabled,on_shopping_list_entry_created_enabled:a.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:a.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:a.onShoppingListEntryDeletedEnabled,id:a.id}}function CookLogFromJSON(a){return CookLogFromJSONTyped(a)}function CookLogFromJSONTyped(a,i){return a==null?a:{id:a.id,recipe:a.recipe,servings:a.servings==null?void 0:a.servings,rating:a.rating==null?void 0:a.rating,comment:a.comment==null?void 0:a.comment,createdBy:UserFromJSON(a.created_by),createdAt:a.created_at==null?void 0:new Date(a.created_at),updatedAt:new Date(a.updated_at)}}function CookLogRequestToJSON(a){return a==null?a:{recipe:a.recipe,servings:a.servings,rating:a.rating,comment:a.comment,created_at:a.createdAt==null?void 0:a.createdAt.toISOString(),id:a.id}}function CustomFilterFromJSON(a){return CustomFilterFromJSONTyped(a)}function CustomFilterFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,search:a.search,shared:a.shared==null?void 0:a.shared.map(UserFromJSON),createdBy:a.created_by}}function CustomFilterRequestToJSON(a){return a==null?a:{name:a.name,search:a.search,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function DefaultPageEnumFromJSON(a){return DefaultPageEnumFromJSONTyped(a)}function DefaultPageEnumFromJSONTyped(a,i){return a}function DefaultPageEnumToJSON(a){return a}function DeleteEnumToJSON(a){return a}function ExportLogFromJSON(a){return ExportLogFromJSONTyped(a)}function ExportLogFromJSONTyped(a,i){return a==null?a:{id:a.id,type:a.type,msg:a.msg==null?void 0:a.msg,running:a.running==null?void 0:a.running,totalRecipes:a.total_recipes==null?void 0:a.total_recipes,exportedRecipes:a.exported_recipes==null?void 0:a.exported_recipes,cacheDuration:a.cache_duration==null?void 0:a.cache_duration,possiblyNotExpired:a.possibly_not_expired==null?void 0:a.possibly_not_expired,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function ExportLogRequestToJSON(a){return a==null?a:{type:a.type,msg:a.msg,running:a.running,total_recipes:a.totalRecipes,exported_recipes:a.exportedRecipes,cache_duration:a.cacheDuration,possibly_not_expired:a.possiblyNotExpired,id:a.id}}function FoodInheritFieldFromJSON(a){return FoodInheritFieldFromJSONTyped(a)}function FoodInheritFieldFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name==null?void 0:a.name,field:a.field==null?void 0:a.field}}function FoodSimpleFromJSON(a){return FoodSimpleFromJSONTyped(a)}function FoodSimpleFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,pluralName:a.plural_name==null?void 0:a.plural_name}}function PropertyTypeFromJSON(a){return PropertyTypeFromJSONTyped(a)}function PropertyTypeFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,unit:a.unit==null?void 0:a.unit,description:a.description==null?void 0:a.description,order:a.order==null?void 0:a.order,openDataSlug:a.open_data_slug==null?void 0:a.open_data_slug,fdcId:a.fdc_id==null?void 0:a.fdc_id}}function PropertyFromJSON(a){return PropertyFromJSONTyped(a)}function PropertyFromJSONTyped(a,i){return a==null?a:{id:a.id,propertyAmount:a.property_amount,propertyType:PropertyTypeFromJSON(a.property_type)}}function RecipeSimpleFromJSON(a){return RecipeSimpleFromJSONTyped(a)}function RecipeSimpleFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,url:a.url}}function SupermarketCategoryFromJSON(a){return SupermarketCategoryFromJSONTyped(a)}function SupermarketCategoryFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,description:a.description==null?void 0:a.description}}function UnitFromJSON(a){return UnitFromJSONTyped(a)}function UnitFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,pluralName:a.plural_name==null?void 0:a.plural_name,description:a.description==null?void 0:a.description,baseUnit:a.base_unit==null?void 0:a.base_unit,openDataSlug:a.open_data_slug==null?void 0:a.open_data_slug}}function FoodFromJSON(a){return FoodFromJSONTyped(a)}function FoodFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,pluralName:a.plural_name==null?void 0:a.plural_name,description:a.description==null?void 0:a.description,shopping:a.shopping,recipe:a.recipe==null?void 0:RecipeSimpleFromJSON(a.recipe),url:a.url==null?void 0:a.url,properties:a.properties==null?void 0:a.properties.map(PropertyFromJSON),propertiesFoodAmount:a.properties_food_amount==null?void 0:a.properties_food_amount,propertiesFoodUnit:a.properties_food_unit==null?void 0:UnitFromJSON(a.properties_food_unit),fdcId:a.fdc_id==null?void 0:a.fdc_id,foodOnhand:a.food_onhand==null?void 0:a.food_onhand,supermarketCategory:a.supermarket_category==null?void 0:SupermarketCategoryFromJSON(a.supermarket_category),parent:a.parent,numchild:a.numchild,inheritFields:a.inherit_fields==null?void 0:a.inherit_fields.map(FoodInheritFieldFromJSON),fullName:a.full_name,ignoreShopping:a.ignore_shopping==null?void 0:a.ignore_shopping,substitute:a.substitute==null?void 0:a.substitute.map(FoodSimpleFromJSON),substituteSiblings:a.substitute_siblings==null?void 0:a.substitute_siblings,substituteChildren:a.substitute_children==null?void 0:a.substitute_children,substituteOnhand:a.substitute_onhand,childInheritFields:a.child_inherit_fields==null?void 0:a.child_inherit_fields.map(FoodInheritFieldFromJSON),openDataSlug:a.open_data_slug==null?void 0:a.open_data_slug}}function FoodInheritFieldRequestToJSON(a){return a==null?a:{name:a.name,field:a.field,id:a.id}}function FoodSimpleRequestToJSON(a){return a==null?a:{name:a.name,plural_name:a.pluralName,id:a.id}}function PropertyTypeRequestToJSON(a){return a==null?a:{id:a.id,name:a.name,unit:a.unit,description:a.description,order:a.order,open_data_slug:a.openDataSlug,fdc_id:a.fdcId}}function PropertyRequestToJSON(a){return a==null?a:{property_amount:a.propertyAmount,property_type:PropertyTypeRequestToJSON(a.propertyType),id:a.id}}function RecipeSimpleRequestToJSON(a){return a==null?a:{name:a.name,id:a.id}}function SupermarketCategoryRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,id:a.id}}function UnitRequestToJSON(a){return a==null?a:{name:a.name,plural_name:a.pluralName,description:a.description,base_unit:a.baseUnit,open_data_slug:a.openDataSlug,id:a.id}}function FoodRequestToJSON(a){return a==null?a:{name:a.name,plural_name:a.pluralName,description:a.description,recipe:RecipeSimpleRequestToJSON(a.recipe),url:a.url,properties:a.properties==null?void 0:a.properties.map(PropertyRequestToJSON),properties_food_amount:a.propertiesFoodAmount,properties_food_unit:UnitRequestToJSON(a.propertiesFoodUnit),fdc_id:a.fdcId,food_onhand:a.foodOnhand,supermarket_category:SupermarketCategoryRequestToJSON(a.supermarketCategory),inherit_fields:a.inheritFields==null?void 0:a.inheritFields.map(FoodInheritFieldRequestToJSON),ignore_shopping:a.ignoreShopping,substitute:a.substitute==null?void 0:a.substitute.map(FoodSimpleRequestToJSON),substitute_siblings:a.substituteSiblings,substitute_children:a.substituteChildren,child_inherit_fields:a.childInheritFields==null?void 0:a.childInheritFields.map(FoodInheritFieldRequestToJSON),open_data_slug:a.openDataSlug,id:a.id}}function FoodShoppingUpdateFromJSON(a){return FoodShoppingUpdateFromJSONTyped(a)}function FoodShoppingUpdateFromJSONTyped(a,i){return a==null?a:{id:a.id}}function FoodShoppingUpdateRequestToJSON(a){return a==null?a:{amount:a.amount,unit:a.unit,delete:a._delete,id:a.id}}function GroupFromJSON(a){return GroupFromJSONTyped(a)}function GroupFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name}}function GroupRequestToJSON(a){return a==null?a:{name:a.name,id:a.id}}function KeywordFromJSON(a){return KeywordFromJSONTyped(a)}function KeywordFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,label:a.label,description:a.description==null?void 0:a.description,parent:a.parent,numchild:a.numchild,createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at),fullName:a.full_name}}function ImportLogFromJSON(a){return ImportLogFromJSONTyped(a)}function ImportLogFromJSONTyped(a,i){return a==null?a:{id:a.id,type:a.type,msg:a.msg==null?void 0:a.msg,running:a.running==null?void 0:a.running,keyword:KeywordFromJSON(a.keyword),totalRecipes:a.total_recipes==null?void 0:a.total_recipes,importedRecipes:a.imported_recipes==null?void 0:a.imported_recipes,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function ImportLogRequestToJSON(a){return a==null?a:{type:a.type,msg:a.msg,running:a.running,total_recipes:a.totalRecipes,imported_recipes:a.importedRecipes,id:a.id}}function IngredientFromJSON(a){return IngredientFromJSONTyped(a)}function IngredientFromJSONTyped(a,i){return a==null?a:{id:a.id,food:FoodFromJSON(a.food),unit:UnitFromJSON(a.unit),amount:a.amount,conversions:a.conversions,note:a.note==null?void 0:a.note,order:a.order==null?void 0:a.order,isHeader:a.is_header==null?void 0:a.is_header,noAmount:a.no_amount==null?void 0:a.no_amount,originalText:a.original_text==null?void 0:a.original_text,usedInRecipes:a.used_in_recipes,alwaysUsePluralUnit:a.always_use_plural_unit==null?void 0:a.always_use_plural_unit,alwaysUsePluralFood:a.always_use_plural_food==null?void 0:a.always_use_plural_food}}function IngredientRequestToJSON(a){return a==null?a:{food:FoodRequestToJSON(a.food),unit:UnitRequestToJSON(a.unit),amount:a.amount,note:a.note,order:a.order,is_header:a.isHeader,no_amount:a.noAmount,original_text:a.originalText,always_use_plural_unit:a.alwaysUsePluralUnit,always_use_plural_food:a.alwaysUsePluralFood,id:a.id}}function IngredientStringRequestToJSON(a){return a==null?a:{text:a.text}}function InviteLinkFromJSON(a){return InviteLinkFromJSONTyped(a)}function InviteLinkFromJSONTyped(a,i){return a==null?a:{id:a.id,uuid:a.uuid,email:a.email==null?void 0:a.email,group:GroupFromJSON(a.group),validUntil:a.valid_until==null?void 0:new Date(a.valid_until),usedBy:a.used_by==null?void 0:a.used_by,reusable:a.reusable==null?void 0:a.reusable,internalNote:a.internal_note==null?void 0:a.internal_note,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function InviteLinkRequestToJSON(a){return a==null?a:{email:a.email,group:GroupRequestToJSON(a.group),valid_until:a.validUntil==null?void 0:a.validUntil.toISOString().substring(0,10),used_by:a.usedBy,reusable:a.reusable,internal_note:a.internalNote,id:a.id}}function KeywordLabelFromJSON(a){return KeywordLabelFromJSONTyped(a)}function KeywordLabelFromJSONTyped(a,i){return a==null?a:{id:a.id,label:a.label}}function KeywordRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,id:a.id}}function MealTypeFromJSON(a){return MealTypeFromJSONTyped(a)}function MealTypeFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,order:a.order==null?void 0:a.order,color:a.color==null?void 0:a.color,_default:a.default==null?void 0:a.default,createdBy:a.created_by}}function RecipeOverviewFromJSON(a){return RecipeOverviewFromJSONTyped(a)}function RecipeOverviewFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,description:a.description==null?void 0:a.description,image:a.image,keywords:a.keywords.map(KeywordLabelFromJSON),workingTime:a.working_time,waitingTime:a.waiting_time,createdBy:a.created_by,createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at),internal:a.internal,servings:a.servings,servingsText:a.servings_text,rating:a.rating,lastCooked:a.last_cooked==null?null:new Date(a.last_cooked),_new:a.new,recent:a.recent}}function MealPlanFromJSON(a){return MealPlanFromJSONTyped(a)}function MealPlanFromJSONTyped(a,i){return a==null?a:{id:a.id,title:a.title==null?void 0:a.title,recipe:a.recipe==null?void 0:RecipeOverviewFromJSON(a.recipe),servings:a.servings,note:a.note==null?void 0:a.note,noteMarkdown:a.note_markdown,fromDate:new Date(a.from_date),toDate:a.to_date==null?void 0:new Date(a.to_date),mealType:MealTypeFromJSON(a.meal_type),createdBy:a.created_by,shared:a.shared==null?void 0:a.shared.map(UserFromJSON),recipeName:a.recipe_name,mealTypeName:a.meal_type_name,shopping:a.shopping}}function MealTypeRequestToJSON(a){return a==null?a:{name:a.name,order:a.order,color:a.color,default:a._default,id:a.id}}function RecipeOverviewRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,id:a.id}}function MealPlanRequestToJSON(a){return a==null?a:{title:a.title,recipe:RecipeOverviewRequestToJSON(a.recipe),servings:a.servings,note:a.note,from_date:a.fromDate.toISOString().substring(0,10),to_date:a.toDate==null?void 0:a.toDate.toISOString().substring(0,10),meal_type:MealTypeRequestToJSON(a.mealType),shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function MethodEnumFromJSON(a){return MethodEnumFromJSONTyped(a)}function MethodEnumFromJSONTyped(a,i){return a}function MethodEnumToJSON(a){return a}function NutritionInformationFromJSON(a){return NutritionInformationFromJSONTyped(a)}function NutritionInformationFromJSONTyped(a,i){return a==null?a:{id:a.id,carbohydrates:a.carbohydrates,fats:a.fats,proteins:a.proteins,calories:a.calories,source:a.source==null?void 0:a.source}}function NutritionInformationRequestToJSON(a){return a==null?a:{carbohydrates:a.carbohydrates,fats:a.fats,proteins:a.proteins,calories:a.calories,source:a.source,id:a.id}}function PaginatedAutomationListFromJSON(a){return PaginatedAutomationListFromJSONTyped(a)}function PaginatedAutomationListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(AutomationFromJSON)}}function PaginatedBookmarkletImportListListFromJSON(a){return PaginatedBookmarkletImportListListFromJSONTyped(a)}function PaginatedBookmarkletImportListListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(BookmarkletImportListFromJSON)}}function PaginatedCookLogListFromJSON(a){return PaginatedCookLogListFromJSONTyped(a)}function PaginatedCookLogListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(CookLogFromJSON)}}function PaginatedCustomFilterListFromJSON(a){return PaginatedCustomFilterListFromJSONTyped(a)}function PaginatedCustomFilterListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(CustomFilterFromJSON)}}function PaginatedExportLogListFromJSON(a){return PaginatedExportLogListFromJSONTyped(a)}function PaginatedExportLogListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(ExportLogFromJSON)}}function PaginatedFoodListFromJSON(a){return PaginatedFoodListFromJSONTyped(a)}function PaginatedFoodListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(FoodFromJSON)}}function PaginatedImportLogListFromJSON(a){return PaginatedImportLogListFromJSONTyped(a)}function PaginatedImportLogListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(ImportLogFromJSON)}}function PaginatedIngredientListFromJSON(a){return PaginatedIngredientListFromJSONTyped(a)}function PaginatedIngredientListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(IngredientFromJSON)}}function PaginatedInviteLinkListFromJSON(a){return PaginatedInviteLinkListFromJSONTyped(a)}function PaginatedInviteLinkListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(InviteLinkFromJSON)}}function PaginatedKeywordListFromJSON(a){return PaginatedKeywordListFromJSONTyped(a)}function PaginatedKeywordListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(KeywordFromJSON)}}function PaginatedMealPlanListFromJSON(a){return PaginatedMealPlanListFromJSONTyped(a)}function PaginatedMealPlanListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(MealPlanFromJSON)}}function PaginatedMealTypeListFromJSON(a){return PaginatedMealTypeListFromJSONTyped(a)}function PaginatedMealTypeListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(MealTypeFromJSON)}}function PaginatedPropertyListFromJSON(a){return PaginatedPropertyListFromJSONTyped(a)}function PaginatedPropertyListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(PropertyFromJSON)}}function PaginatedPropertyTypeListFromJSON(a){return PaginatedPropertyTypeListFromJSONTyped(a)}function PaginatedPropertyTypeListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(PropertyTypeFromJSON)}}function RecipeBookFromJSON(a){return RecipeBookFromJSONTyped(a)}function RecipeBookFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,description:a.description==null?void 0:a.description,shared:a.shared.map(UserFromJSON),createdBy:a.created_by,filter:a.filter==null?void 0:CustomFilterFromJSON(a.filter),order:a.order==null?void 0:a.order}}function RecipeBookEntryFromJSON(a){return RecipeBookEntryFromJSONTyped(a)}function RecipeBookEntryFromJSONTyped(a,i){return a==null?a:{id:a.id,book:a.book,bookContent:RecipeBookFromJSON(a.book_content),recipe:a.recipe,recipeContent:RecipeOverviewFromJSON(a.recipe_content)}}function PaginatedRecipeBookEntryListFromJSON(a){return PaginatedRecipeBookEntryListFromJSONTyped(a)}function PaginatedRecipeBookEntryListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(RecipeBookEntryFromJSON)}}function PaginatedRecipeBookListFromJSON(a){return PaginatedRecipeBookListFromJSONTyped(a)}function PaginatedRecipeBookListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(RecipeBookFromJSON)}}function PaginatedRecipeOverviewListFromJSON(a){return PaginatedRecipeOverviewListFromJSONTyped(a)}function PaginatedRecipeOverviewListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(RecipeOverviewFromJSON)}}function ShoppingListRecipeFromJSON(a){return ShoppingListRecipeFromJSONTyped(a)}function ShoppingListRecipeFromJSONTyped(a,i){return a==null?a:{id:a.id,recipeName:a.recipe_name,name:a.name,recipe:a.recipe==null?void 0:a.recipe,mealplan:a.mealplan==null?void 0:a.mealplan,servings:a.servings,mealplanNote:a.mealplan_note,mealplanFromDate:new Date(a.mealplan_from_date),mealplanType:a.mealplan_type}}function ShoppingListEntryFromJSON(a){return ShoppingListEntryFromJSONTyped(a)}function ShoppingListEntryFromJSONTyped(a,i){return a==null?a:{id:a.id,listRecipe:a.list_recipe==null?void 0:a.list_recipe,food:FoodFromJSON(a.food),unit:a.unit==null?void 0:UnitFromJSON(a.unit),amount:a.amount,order:a.order==null?void 0:a.order,checked:a.checked==null?void 0:a.checked,recipeMealplan:ShoppingListRecipeFromJSON(a.recipe_mealplan),createdBy:UserFromJSON(a.created_by),createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at),completedAt:a.completed_at==null?void 0:new Date(a.completed_at),delayUntil:a.delay_until==null?void 0:new Date(a.delay_until)}}function PaginatedShoppingListEntryListFromJSON(a){return PaginatedShoppingListEntryListFromJSONTyped(a)}function PaginatedShoppingListEntryListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(ShoppingListEntryFromJSON)}}function PaginatedShoppingListRecipeListFromJSON(a){return PaginatedShoppingListRecipeListFromJSONTyped(a)}function PaginatedShoppingListRecipeListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(ShoppingListRecipeFromJSON)}}function UserFileViewFromJSON(a){return UserFileViewFromJSONTyped(a)}function UserFileViewFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,fileDownload:a.file_download,preview:a.preview}}function StepFromJSON(a){return StepFromJSONTyped(a)}function StepFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name==null?void 0:a.name,instruction:a.instruction==null?void 0:a.instruction,ingredients:a.ingredients.map(IngredientFromJSON),instructionsMarkdown:a.instructions_markdown,time:a.time==null?void 0:a.time,order:a.order==null?void 0:a.order,showAsHeader:a.show_as_header==null?void 0:a.show_as_header,file:a.file==null?void 0:UserFileViewFromJSON(a.file),stepRecipe:a.step_recipe==null?void 0:a.step_recipe,stepRecipeData:a.step_recipe_data,numrecipe:a.numrecipe,showIngredientsTable:a.show_ingredients_table==null?void 0:a.show_ingredients_table}}function PaginatedStepListFromJSON(a){return PaginatedStepListFromJSONTyped(a)}function PaginatedStepListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(StepFromJSON)}}function PaginatedSupermarketCategoryListFromJSON(a){return PaginatedSupermarketCategoryListFromJSONTyped(a)}function PaginatedSupermarketCategoryListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(SupermarketCategoryFromJSON)}}function SupermarketCategoryRelationFromJSON(a){return SupermarketCategoryRelationFromJSONTyped(a)}function SupermarketCategoryRelationFromJSONTyped(a,i){return a==null?a:{id:a.id,category:SupermarketCategoryFromJSON(a.category),supermarket:a.supermarket,order:a.order==null?void 0:a.order}}function PaginatedSupermarketCategoryRelationListFromJSON(a){return PaginatedSupermarketCategoryRelationListFromJSONTyped(a)}function PaginatedSupermarketCategoryRelationListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(SupermarketCategoryRelationFromJSON)}}function SupermarketFromJSON(a){return SupermarketFromJSONTyped(a)}function SupermarketFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,description:a.description==null?void 0:a.description,categoryToSupermarket:a.category_to_supermarket.map(SupermarketCategoryRelationFromJSON),openDataSlug:a.open_data_slug==null?void 0:a.open_data_slug}}function PaginatedSupermarketListFromJSON(a){return PaginatedSupermarketListFromJSONTyped(a)}function PaginatedSupermarketListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(SupermarketFromJSON)}}function SyncFromJSON(a){return SyncFromJSONTyped(a)}function SyncFromJSONTyped(a,i){return a==null?a:{id:a.id,storage:a.storage,path:a.path==null?void 0:a.path,active:a.active==null?void 0:a.active,lastChecked:a.last_checked==null?void 0:new Date(a.last_checked),createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at)}}function PaginatedSyncListFromJSON(a){return PaginatedSyncListFromJSONTyped(a)}function PaginatedSyncListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(SyncFromJSON)}}function SyncLogFromJSON(a){return SyncLogFromJSONTyped(a)}function SyncLogFromJSONTyped(a,i){return a==null?a:{id:a.id,sync:a.sync,status:a.status,msg:a.msg==null?void 0:a.msg,createdAt:new Date(a.created_at)}}function PaginatedSyncLogListFromJSON(a){return PaginatedSyncLogListFromJSONTyped(a)}function PaginatedSyncLogListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(SyncLogFromJSON)}}function UnitConversionFromJSON(a){return UnitConversionFromJSONTyped(a)}function UnitConversionFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,baseAmount:a.base_amount,baseUnit:UnitFromJSON(a.base_unit),convertedAmount:a.converted_amount,convertedUnit:UnitFromJSON(a.converted_unit),food:a.food==null?void 0:FoodFromJSON(a.food),openDataSlug:a.open_data_slug==null?void 0:a.open_data_slug}}function PaginatedUnitConversionListFromJSON(a){return PaginatedUnitConversionListFromJSONTyped(a)}function PaginatedUnitConversionListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(UnitConversionFromJSON)}}function PaginatedUnitListFromJSON(a){return PaginatedUnitListFromJSONTyped(a)}function PaginatedUnitListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(UnitFromJSON)}}function UserFileFromJSON(a){return UserFileFromJSONTyped(a)}function UserFileFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,fileDownload:a.file_download,preview:a.preview,fileSizeKb:a.file_size_kb}}function PaginatedUserFileListFromJSON(a){return PaginatedUserFileListFromJSONTyped(a)}function PaginatedUserFileListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(UserFileFromJSON)}}function UserSpaceFromJSON(a){return UserSpaceFromJSONTyped(a)}function UserSpaceFromJSONTyped(a,i){return a==null?a:{id:a.id,user:UserFromJSON(a.user),space:a.space,groups:a.groups.map(GroupFromJSON),active:a.active==null?void 0:a.active,internalNote:a.internal_note==null?void 0:a.internal_note,inviteLink:a.invite_link,createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at)}}function PaginatedUserSpaceListFromJSON(a){return PaginatedUserSpaceListFromJSONTyped(a)}function PaginatedUserSpaceListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(UserSpaceFromJSON)}}function ViewLogFromJSON(a){return ViewLogFromJSONTyped(a)}function ViewLogFromJSONTyped(a,i){return a==null?a:{id:a.id,recipe:a.recipe,createdBy:a.created_by,createdAt:new Date(a.created_at)}}function PaginatedViewLogListFromJSON(a){return PaginatedViewLogListFromJSONTyped(a)}function PaginatedViewLogListFromJSONTyped(a,i){return a==null?a:{count:a.count==null?void 0:a.count,next:a.next==null?void 0:a.next,previous:a.previous==null?void 0:a.previous,results:a.results==null?void 0:a.results.map(ViewLogFromJSON)}}function ParsedIngredientFromJSON(a){return ParsedIngredientFromJSONTyped(a)}function ParsedIngredientFromJSONTyped(a,i){return a==null?a:{amount:a.amount,unit:a.unit,food:a.food,note:a.note}}function PatchedAccessTokenRequestToJSON(a){return a==null?a:{expires:a.expires==null?void 0:a.expires.toISOString(),scope:a.scope,id:a.id}}function PatchedAutomationRequestToJSON(a){return a==null?a:{type:a.type,name:a.name,description:a.description,param_1:a.param1,param_2:a.param2,param_3:a.param3,order:a.order,disabled:a.disabled,id:a.id}}function PatchedBookmarkletImportRequestToJSON(a){return a==null?a:{url:a.url,html:a.html,id:a.id}}function PatchedConnectorConfigConfigRequestToJSON(a){return a==null?a:{name:a.name,url:a.url,token:a.token,todo_entity:a.todoEntity,enabled:a.enabled,on_shopping_list_entry_created_enabled:a.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:a.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:a.onShoppingListEntryDeletedEnabled,id:a.id}}function PatchedCookLogRequestToJSON(a){return a==null?a:{recipe:a.recipe,servings:a.servings,rating:a.rating,comment:a.comment,created_at:a.createdAt==null?void 0:a.createdAt.toISOString(),id:a.id}}function PatchedCustomFilterRequestToJSON(a){return a==null?a:{name:a.name,search:a.search,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function PatchedExportLogRequestToJSON(a){return a==null?a:{type:a.type,msg:a.msg,running:a.running,total_recipes:a.totalRecipes,exported_recipes:a.exportedRecipes,cache_duration:a.cacheDuration,possibly_not_expired:a.possiblyNotExpired,id:a.id}}function PatchedFoodRequestToJSON(a){return a==null?a:{name:a.name,plural_name:a.pluralName,description:a.description,recipe:RecipeSimpleRequestToJSON(a.recipe),url:a.url,properties:a.properties==null?void 0:a.properties.map(PropertyRequestToJSON),properties_food_amount:a.propertiesFoodAmount,properties_food_unit:UnitRequestToJSON(a.propertiesFoodUnit),fdc_id:a.fdcId,food_onhand:a.foodOnhand,supermarket_category:SupermarketCategoryRequestToJSON(a.supermarketCategory),inherit_fields:a.inheritFields==null?void 0:a.inheritFields.map(FoodInheritFieldRequestToJSON),ignore_shopping:a.ignoreShopping,substitute:a.substitute==null?void 0:a.substitute.map(FoodSimpleRequestToJSON),substitute_siblings:a.substituteSiblings,substitute_children:a.substituteChildren,child_inherit_fields:a.childInheritFields==null?void 0:a.childInheritFields.map(FoodInheritFieldRequestToJSON),open_data_slug:a.openDataSlug,id:a.id}}function PatchedImportLogRequestToJSON(a){return a==null?a:{type:a.type,msg:a.msg,running:a.running,total_recipes:a.totalRecipes,imported_recipes:a.importedRecipes,id:a.id}}function PatchedIngredientRequestToJSON(a){return a==null?a:{food:FoodRequestToJSON(a.food),unit:UnitRequestToJSON(a.unit),amount:a.amount,note:a.note,order:a.order,is_header:a.isHeader,no_amount:a.noAmount,original_text:a.originalText,always_use_plural_unit:a.alwaysUsePluralUnit,always_use_plural_food:a.alwaysUsePluralFood,id:a.id}}function PatchedInviteLinkRequestToJSON(a){return a==null?a:{email:a.email,group:GroupRequestToJSON(a.group),valid_until:a.validUntil==null?void 0:a.validUntil.toISOString().substring(0,10),used_by:a.usedBy,reusable:a.reusable,internal_note:a.internalNote,id:a.id}}function PatchedKeywordRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,id:a.id}}function PatchedMealPlanRequestToJSON(a){return a==null?a:{title:a.title,recipe:RecipeOverviewRequestToJSON(a.recipe),servings:a.servings,note:a.note,from_date:a.fromDate==null?void 0:a.fromDate.toISOString().substring(0,10),to_date:a.toDate==null?void 0:a.toDate.toISOString().substring(0,10),meal_type:MealTypeRequestToJSON(a.mealType),shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function PatchedMealTypeRequestToJSON(a){return a==null?a:{name:a.name,order:a.order,color:a.color,default:a._default,id:a.id}}function PatchedPropertyRequestToJSON(a){return a==null?a:{property_amount:a.propertyAmount,property_type:PropertyTypeRequestToJSON(a.propertyType),id:a.id}}function PatchedPropertyTypeRequestToJSON(a){return a==null?a:{id:a.id,name:a.name,unit:a.unit,description:a.description,order:a.order,open_data_slug:a.openDataSlug,fdc_id:a.fdcId}}function PatchedRecipeBookEntryRequestToJSON(a){return a==null?a:{book:a.book,recipe:a.recipe,id:a.id}}function PatchedRecipeBookRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),filter:CustomFilterRequestToJSON(a.filter),order:a.order,id:a.id}}function UserFileViewRequestToJSON(a){return a==null?a:{name:a.name,id:a.id}}function StepRequestToJSON(a){return a==null?a:{name:a.name,instruction:a.instruction,ingredients:a.ingredients.map(IngredientRequestToJSON),time:a.time,order:a.order,show_as_header:a.showAsHeader,file:UserFileViewRequestToJSON(a.file),step_recipe:a.stepRecipe,show_ingredients_table:a.showIngredientsTable,id:a.id}}function PatchedRecipeRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,keywords:a.keywords==null?void 0:a.keywords.map(KeywordRequestToJSON),steps:a.steps==null?void 0:a.steps.map(StepRequestToJSON),working_time:a.workingTime,waiting_time:a.waitingTime,source_url:a.sourceUrl,internal:a.internal,show_ingredient_overview:a.showIngredientOverview,nutrition:NutritionInformationRequestToJSON(a.nutrition),properties:a.properties==null?void 0:a.properties.map(PropertyRequestToJSON),servings:a.servings,file_path:a.filePath,servings_text:a.servingsText,private:a._private,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function PatchedShoppingListEntryRequestToJSON(a){return a==null?a:{list_recipe:a.listRecipe,food:FoodRequestToJSON(a.food),unit:UnitRequestToJSON(a.unit),amount:a.amount,order:a.order,checked:a.checked,completed_at:a.completedAt==null?void 0:a.completedAt.toISOString(),delay_until:a.delayUntil==null?void 0:a.delayUntil.toISOString(),id:a.id}}function PatchedShoppingListRecipeRequestToJSON(a){return a==null?a:{recipe:a.recipe,mealplan:a.mealplan,servings:a.servings,id:a.id}}function SpaceNavTextColorEnumFromJSON(a){return SpaceNavTextColorEnumFromJSONTyped(a)}function SpaceNavTextColorEnumFromJSONTyped(a,i){return a}function SpaceNavTextColorEnumToJSON(a){return a}function SpaceThemeEnumFromJSON(a){return SpaceThemeEnumFromJSONTyped(a)}function SpaceThemeEnumFromJSONTyped(a,i){return a}function SpaceThemeEnumToJSON(a){return a}function PatchedSpaceRequestToJSON(a){return a==null?a:{name:a.name,message:a.message,food_inherit:a.foodInherit==null?void 0:a.foodInherit.map(FoodInheritFieldRequestToJSON),image:UserFileViewRequestToJSON(a.image),nav_logo:UserFileViewRequestToJSON(a.navLogo),space_theme:a.spaceTheme,custom_space_theme:UserFileViewRequestToJSON(a.customSpaceTheme),nav_bg_color:a.navBgColor,nav_text_color:a.navTextColor,logo_color_32:UserFileViewRequestToJSON(a.logoColor32),logo_color_128:UserFileViewRequestToJSON(a.logoColor128),logo_color_144:UserFileViewRequestToJSON(a.logoColor144),logo_color_180:UserFileViewRequestToJSON(a.logoColor180),logo_color_192:UserFileViewRequestToJSON(a.logoColor192),logo_color_512:UserFileViewRequestToJSON(a.logoColor512),logo_color_svg:UserFileViewRequestToJSON(a.logoColorSvg),id:a.id}}function PatchedStepRequestToJSON(a){return a==null?a:{name:a.name,instruction:a.instruction,ingredients:a.ingredients==null?void 0:a.ingredients.map(IngredientRequestToJSON),time:a.time,order:a.order,show_as_header:a.showAsHeader,file:UserFileViewRequestToJSON(a.file),step_recipe:a.stepRecipe,show_ingredients_table:a.showIngredientsTable,id:a.id}}function PatchedStorageRequestToJSON(a){return a==null?a:{name:a.name,method:a.method,username:a.username,password:a.password,token:a.token,id:a.id}}function PatchedSupermarketCategoryRelationRequestToJSON(a){return a==null?a:{category:SupermarketCategoryRequestToJSON(a.category),supermarket:a.supermarket,order:a.order,id:a.id}}function PatchedSupermarketCategoryRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,id:a.id}}function PatchedSupermarketRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,open_data_slug:a.openDataSlug,id:a.id}}function PatchedSyncRequestToJSON(a){return a==null?a:{storage:a.storage,path:a.path,active:a.active,last_checked:a.lastChecked==null?void 0:a.lastChecked.toISOString(),id:a.id}}function PatchedUnitConversionRequestToJSON(a){return a==null?a:{base_amount:a.baseAmount,base_unit:UnitRequestToJSON(a.baseUnit),converted_amount:a.convertedAmount,converted_unit:UnitRequestToJSON(a.convertedUnit),food:FoodRequestToJSON(a.food),open_data_slug:a.openDataSlug,id:a.id}}function PatchedUnitRequestToJSON(a){return a==null?a:{name:a.name,plural_name:a.pluralName,description:a.description,base_unit:a.baseUnit,open_data_slug:a.openDataSlug,id:a.id}}function ThemeEnumFromJSON(a){return ThemeEnumFromJSONTyped(a)}function ThemeEnumFromJSONTyped(a,i){return a}function ThemeEnumToJSON(a){return a}function UserPreferenceNavTextColorEnumFromJSON(a){return UserPreferenceNavTextColorEnumFromJSONTyped(a)}function UserPreferenceNavTextColorEnumFromJSONTyped(a,i){return a}function UserPreferenceNavTextColorEnumToJSON(a){return a}function PatchedUserPreferenceRequestToJSON(a){return a==null?a:{user:a.user,image:UserFileViewRequestToJSON(a.image),theme:a.theme,nav_bg_color:a.navBgColor,nav_text_color:a.navTextColor,nav_show_logo:a.navShowLogo,default_unit:a.defaultUnit,default_page:a.defaultPage,use_fractions:a.useFractions,use_kj:a.useKj,plan_share:a.planShare==null?void 0:a.planShare.map(UserRequestToJSON),nav_sticky:a.navSticky,ingredient_decimals:a.ingredientDecimals,comments:a.comments,shopping_auto_sync:a.shoppingAutoSync,mealplan_autoadd_shopping:a.mealplanAutoaddShopping,default_delay:a.defaultDelay,mealplan_autoinclude_related:a.mealplanAutoincludeRelated,mealplan_autoexclude_onhand:a.mealplanAutoexcludeOnhand,shopping_share:a.shoppingShare==null?void 0:a.shoppingShare.map(UserRequestToJSON),shopping_recent_days:a.shoppingRecentDays,csv_delim:a.csvDelim,csv_prefix:a.csvPrefix,filter_to_supermarket:a.filterToSupermarket,shopping_add_onhand:a.shoppingAddOnhand,left_handed:a.leftHanded,show_step_ingredients:a.showStepIngredients}}function PatchedUserRequestToJSON(a){return a==null?a:{first_name:a.firstName,last_name:a.lastName,id:a.id}}function PatchedUserSpaceRequestToJSON(a){return a==null?a:{groups:a.groups==null?void 0:a.groups.map(GroupRequestToJSON),active:a.active,internal_note:a.internalNote,id:a.id}}function PatchedViewLogRequestToJSON(a){return a==null?a:{recipe:a.recipe,id:a.id}}function RecipeFromJSON(a){return RecipeFromJSONTyped(a)}function RecipeFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,description:a.description==null?void 0:a.description,image:a.image,keywords:a.keywords==null?void 0:a.keywords.map(KeywordFromJSON),steps:a.steps.map(StepFromJSON),workingTime:a.working_time==null?void 0:a.working_time,waitingTime:a.waiting_time==null?void 0:a.waiting_time,createdBy:a.created_by,createdAt:new Date(a.created_at),updatedAt:new Date(a.updated_at),sourceUrl:a.source_url==null?void 0:a.source_url,internal:a.internal==null?void 0:a.internal,showIngredientOverview:a.show_ingredient_overview==null?void 0:a.show_ingredient_overview,nutrition:a.nutrition==null?void 0:NutritionInformationFromJSON(a.nutrition),properties:a.properties==null?void 0:a.properties.map(PropertyFromJSON),foodProperties:a.food_properties,servings:a.servings==null?void 0:a.servings,filePath:a.file_path==null?void 0:a.file_path,servingsText:a.servings_text==null?void 0:a.servings_text,rating:a.rating,lastCooked:a.last_cooked==null?null:new Date(a.last_cooked),_private:a.private==null?void 0:a.private,shared:a.shared==null?void 0:a.shared.map(UserFromJSON)}}function RecipeBookEntryRequestToJSON(a){return a==null?a:{book:a.book,recipe:a.recipe,id:a.id}}function RecipeBookRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,shared:a.shared.map(UserRequestToJSON),filter:CustomFilterRequestToJSON(a.filter),order:a.order,id:a.id}}function RecipeFlatFromJSON(a){return RecipeFlatFromJSONTyped(a)}function RecipeFlatFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,image:a.image==null?void 0:a.image}}function RecipeImageFromJSON(a){return RecipeImageFromJSONTyped(a)}function RecipeImageFromJSONTyped(a,i){return a==null?a:{image:a.image==null?void 0:a.image,imageUrl:a.image_url==null?void 0:a.image_url}}function RecipeRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,keywords:a.keywords==null?void 0:a.keywords.map(KeywordRequestToJSON),steps:a.steps.map(StepRequestToJSON),working_time:a.workingTime,waiting_time:a.waitingTime,source_url:a.sourceUrl,internal:a.internal,show_ingredient_overview:a.showIngredientOverview,nutrition:NutritionInformationRequestToJSON(a.nutrition),properties:a.properties==null?void 0:a.properties.map(PropertyRequestToJSON),servings:a.servings,file_path:a.filePath,servings_text:a.servingsText,private:a._private,shared:a.shared==null?void 0:a.shared.map(UserRequestToJSON),id:a.id}}function RecipeShoppingUpdateFromJSON(a){return RecipeShoppingUpdateFromJSONTyped(a)}function RecipeShoppingUpdateFromJSONTyped(a,i){return a==null?a:{id:a.id}}function RecipeShoppingUpdateRequestToJSON(a){return a==null?a:{list_recipe:a.listRecipe,ingredients:a.ingredients,servings:a.servings,id:a.id}}function ShareLinkFromJSON(a){return ShareLinkFromJSONTyped(a)}function ShareLinkFromJSONTyped(a,i){return a==null?a:{pk:a.pk,share:a.share,link:a.link}}function ShoppingListEntryBulkFromJSON(a){return ShoppingListEntryBulkFromJSONTyped(a)}function ShoppingListEntryBulkFromJSONTyped(a,i){return a==null?a:{ids:a.ids,checked:a.checked}}function ShoppingListEntryBulkRequestToJSON(a){return a==null?a:{ids:a.ids,checked:a.checked}}function ShoppingListEntryRequestToJSON(a){return a==null?a:{list_recipe:a.listRecipe,food:FoodRequestToJSON(a.food),unit:UnitRequestToJSON(a.unit),amount:a.amount,order:a.order,checked:a.checked,completed_at:a.completedAt==null?void 0:a.completedAt.toISOString(),delay_until:a.delayUntil==null?void 0:a.delayUntil.toISOString(),id:a.id}}function ShoppingListRecipeRequestToJSON(a){return a==null?a:{recipe:a.recipe,mealplan:a.mealplan,servings:a.servings,id:a.id}}function SpaceFromJSON(a){return SpaceFromJSONTyped(a)}function SpaceFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name==null?void 0:a.name,createdBy:a.created_by,createdAt:new Date(a.created_at),message:a.message==null?void 0:a.message,maxRecipes:a.max_recipes,maxFileStorageMb:a.max_file_storage_mb,maxUsers:a.max_users,allowSharing:a.allow_sharing,demo:a.demo,foodInherit:a.food_inherit.map(FoodInheritFieldFromJSON),userCount:a.user_count,recipeCount:a.recipe_count,fileSizeMb:a.file_size_mb,image:a.image==null?void 0:UserFileViewFromJSON(a.image),navLogo:a.nav_logo==null?void 0:UserFileViewFromJSON(a.nav_logo),spaceTheme:a.space_theme==null?void 0:SpaceThemeEnumFromJSON(a.space_theme),customSpaceTheme:a.custom_space_theme==null?void 0:UserFileViewFromJSON(a.custom_space_theme),navBgColor:a.nav_bg_color==null?void 0:a.nav_bg_color,navTextColor:a.nav_text_color==null?void 0:SpaceNavTextColorEnumFromJSON(a.nav_text_color),logoColor32:a.logo_color_32==null?void 0:UserFileViewFromJSON(a.logo_color_32),logoColor128:a.logo_color_128==null?void 0:UserFileViewFromJSON(a.logo_color_128),logoColor144:a.logo_color_144==null?void 0:UserFileViewFromJSON(a.logo_color_144),logoColor180:a.logo_color_180==null?void 0:UserFileViewFromJSON(a.logo_color_180),logoColor192:a.logo_color_192==null?void 0:UserFileViewFromJSON(a.logo_color_192),logoColor512:a.logo_color_512==null?void 0:UserFileViewFromJSON(a.logo_color_512),logoColorSvg:a.logo_color_svg==null?void 0:UserFileViewFromJSON(a.logo_color_svg)}}function StorageFromJSON(a){return StorageFromJSONTyped(a)}function StorageFromJSONTyped(a,i){return a==null?a:{id:a.id,name:a.name,method:a.method==null?void 0:MethodEnumFromJSON(a.method),username:a.username==null?void 0:a.username,createdBy:a.created_by}}function StorageRequestToJSON(a){return a==null?a:{name:a.name,method:a.method,username:a.username,password:a.password,token:a.token,id:a.id}}function SupermarketCategoryRelationRequestToJSON(a){return a==null?a:{category:SupermarketCategoryRequestToJSON(a.category),supermarket:a.supermarket,order:a.order,id:a.id}}function SupermarketRequestToJSON(a){return a==null?a:{name:a.name,description:a.description,open_data_slug:a.openDataSlug,id:a.id}}function SyncRequestToJSON(a){return a==null?a:{storage:a.storage,path:a.path,active:a.active,last_checked:a.lastChecked==null?void 0:a.lastChecked.toISOString(),id:a.id}}function UnitConversionRequestToJSON(a){return a==null?a:{base_amount:a.baseAmount,base_unit:UnitRequestToJSON(a.baseUnit),converted_amount:a.convertedAmount,converted_unit:UnitRequestToJSON(a.convertedUnit),food:FoodRequestToJSON(a.food),open_data_slug:a.openDataSlug,id:a.id}}function UserPreferenceFromJSON(a){return UserPreferenceFromJSONTyped(a)}function UserPreferenceFromJSONTyped(a,i){return a==null?a:{user:a.user,image:a.image==null?void 0:UserFileViewFromJSON(a.image),theme:a.theme==null?void 0:ThemeEnumFromJSON(a.theme),navBgColor:a.nav_bg_color==null?void 0:a.nav_bg_color,navTextColor:a.nav_text_color==null?void 0:UserPreferenceNavTextColorEnumFromJSON(a.nav_text_color),navShowLogo:a.nav_show_logo==null?void 0:a.nav_show_logo,defaultUnit:a.default_unit==null?void 0:a.default_unit,defaultPage:a.default_page==null?void 0:DefaultPageEnumFromJSON(a.default_page),useFractions:a.use_fractions==null?void 0:a.use_fractions,useKj:a.use_kj==null?void 0:a.use_kj,planShare:a.plan_share==null?void 0:a.plan_share.map(UserFromJSON),navSticky:a.nav_sticky==null?void 0:a.nav_sticky,ingredientDecimals:a.ingredient_decimals==null?void 0:a.ingredient_decimals,comments:a.comments==null?void 0:a.comments,shoppingAutoSync:a.shopping_auto_sync==null?void 0:a.shopping_auto_sync,mealplanAutoaddShopping:a.mealplan_autoadd_shopping==null?void 0:a.mealplan_autoadd_shopping,foodInheritDefault:FoodInheritFieldFromJSON(a.food_inherit_default),defaultDelay:a.default_delay==null?void 0:a.default_delay,mealplanAutoincludeRelated:a.mealplan_autoinclude_related==null?void 0:a.mealplan_autoinclude_related,mealplanAutoexcludeOnhand:a.mealplan_autoexclude_onhand==null?void 0:a.mealplan_autoexclude_onhand,shoppingShare:a.shopping_share==null?void 0:a.shopping_share.map(UserFromJSON),shoppingRecentDays:a.shopping_recent_days==null?void 0:a.shopping_recent_days,csvDelim:a.csv_delim==null?void 0:a.csv_delim,csvPrefix:a.csv_prefix==null?void 0:a.csv_prefix,filterToSupermarket:a.filter_to_supermarket==null?void 0:a.filter_to_supermarket,shoppingAddOnhand:a.shopping_add_onhand==null?void 0:a.shopping_add_onhand,leftHanded:a.left_handed==null?void 0:a.left_handed,showStepIngredients:a.show_step_ingredients==null?void 0:a.show_step_ingredients,foodChildrenExist:a.food_children_exist}}function ViewLogRequestToJSON(a){return a==null?a:{recipe:a.recipe,id:a.id}}class ApiApi extends BaseAPI{async apiAccessTokenCreateRaw(i,u){if(i.accessTokenRequest==null)throw new RequiredError("accessTokenRequest",'Required parameter "accessTokenRequest" was null or undefined when calling apiAccessTokenCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/access-token/",method:"POST",headers:d,query:c,body:AccessTokenRequestToJSON(i.accessTokenRequest)},u);return new JSONApiResponse(m,f=>AccessTokenFromJSON(f))}async apiAccessTokenCreate(i,u){return await(await this.apiAccessTokenCreateRaw(i,u)).value()}async apiAccessTokenDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiAccessTokenDestroy(i,u){await this.apiAccessTokenDestroyRaw(i,u)}async apiAccessTokenListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/access-token/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(AccessTokenFromJSON))}async apiAccessTokenList(i){return await(await this.apiAccessTokenListRaw(i)).value()}async apiAccessTokenPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedAccessTokenRequestToJSON(i.patchedAccessTokenRequest)},u);return new JSONApiResponse(m,f=>AccessTokenFromJSON(f))}async apiAccessTokenPartialUpdate(i,u){return await(await this.apiAccessTokenPartialUpdateRaw(i,u)).value()}async apiAccessTokenRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>AccessTokenFromJSON(f))}async apiAccessTokenRetrieve(i,u){return await(await this.apiAccessTokenRetrieveRaw(i,u)).value()}async apiAccessTokenUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenUpdate().');if(i.accessTokenRequest==null)throw new RequiredError("accessTokenRequest",'Required parameter "accessTokenRequest" was null or undefined when calling apiAccessTokenUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:AccessTokenRequestToJSON(i.accessTokenRequest)},u);return new JSONApiResponse(m,f=>AccessTokenFromJSON(f))}async apiAccessTokenUpdate(i,u){return await(await this.apiAccessTokenUpdateRaw(i,u)).value()}async apiAutoPlanCreateRaw(i,u){if(i.autoMealPlanRequest==null)throw new RequiredError("autoMealPlanRequest",'Required parameter "autoMealPlanRequest" was null or undefined when calling apiAutoPlanCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/auto-plan/",method:"POST",headers:d,query:c,body:AutoMealPlanRequestToJSON(i.autoMealPlanRequest)},u);return new JSONApiResponse(m,f=>AutoMealPlanFromJSON(f))}async apiAutoPlanCreate(i,u){return await(await this.apiAutoPlanCreateRaw(i,u)).value()}async apiAutomationCreateRaw(i,u){if(i.automationRequest==null)throw new RequiredError("automationRequest",'Required parameter "automationRequest" was null or undefined when calling apiAutomationCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/",method:"POST",headers:d,query:c,body:AutomationRequestToJSON(i.automationRequest)},u);return new JSONApiResponse(m,f=>AutomationFromJSON(f))}async apiAutomationCreate(i,u){return await(await this.apiAutomationCreateRaw(i,u)).value()}async apiAutomationDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiAutomationDestroy(i,u){await this.apiAutomationDestroyRaw(i,u)}async apiAutomationListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.type!=null&&(c.type=i.type);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedAutomationListFromJSON(f))}async apiAutomationList(i={},u){return await(await this.apiAutomationListRaw(i,u)).value()}async apiAutomationPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedAutomationRequestToJSON(i.patchedAutomationRequest)},u);return new JSONApiResponse(m,f=>AutomationFromJSON(f))}async apiAutomationPartialUpdate(i,u){return await(await this.apiAutomationPartialUpdateRaw(i,u)).value()}async apiAutomationRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>AutomationFromJSON(f))}async apiAutomationRetrieve(i,u){return await(await this.apiAutomationRetrieveRaw(i,u)).value()}async apiAutomationUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationUpdate().');if(i.automationRequest==null)throw new RequiredError("automationRequest",'Required parameter "automationRequest" was null or undefined when calling apiAutomationUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:AutomationRequestToJSON(i.automationRequest)},u);return new JSONApiResponse(m,f=>AutomationFromJSON(f))}async apiAutomationUpdate(i,u){return await(await this.apiAutomationUpdateRaw(i,u)).value()}async apiBookmarkletImportCreateRaw(i,u){if(i.bookmarkletImportRequest==null)throw new RequiredError("bookmarkletImportRequest",'Required parameter "bookmarkletImportRequest" was null or undefined when calling apiBookmarkletImportCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/",method:"POST",headers:d,query:c,body:BookmarkletImportRequestToJSON(i.bookmarkletImportRequest)},u);return new JSONApiResponse(m,f=>BookmarkletImportFromJSON(f))}async apiBookmarkletImportCreate(i,u){return await(await this.apiBookmarkletImportCreateRaw(i,u)).value()}async apiBookmarkletImportDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiBookmarkletImportDestroy(i,u){await this.apiBookmarkletImportDestroyRaw(i,u)}async apiBookmarkletImportListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedBookmarkletImportListListFromJSON(f))}async apiBookmarkletImportList(i={},u){return await(await this.apiBookmarkletImportListRaw(i,u)).value()}async apiBookmarkletImportPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedBookmarkletImportRequestToJSON(i.patchedBookmarkletImportRequest)},u);return new JSONApiResponse(m,f=>BookmarkletImportFromJSON(f))}async apiBookmarkletImportPartialUpdate(i,u){return await(await this.apiBookmarkletImportPartialUpdateRaw(i,u)).value()}async apiBookmarkletImportRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>BookmarkletImportFromJSON(f))}async apiBookmarkletImportRetrieve(i,u){return await(await this.apiBookmarkletImportRetrieveRaw(i,u)).value()}async apiBookmarkletImportUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportUpdate().');if(i.bookmarkletImportRequest==null)throw new RequiredError("bookmarkletImportRequest",'Required parameter "bookmarkletImportRequest" was null or undefined when calling apiBookmarkletImportUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:BookmarkletImportRequestToJSON(i.bookmarkletImportRequest)},u);return new JSONApiResponse(m,f=>BookmarkletImportFromJSON(f))}async apiBookmarkletImportUpdate(i,u){return await(await this.apiBookmarkletImportUpdateRaw(i,u)).value()}async apiConnectorConfigCreateRaw(i,u){if(i.connectorConfigConfigRequest==null)throw new RequiredError("connectorConfigConfigRequest",'Required parameter "connectorConfigConfigRequest" was null or undefined when calling apiConnectorConfigCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/connector-config/",method:"POST",headers:d,query:c,body:ConnectorConfigConfigRequestToJSON(i.connectorConfigConfigRequest)},u);return new JSONApiResponse(m,f=>ConnectorConfigConfigFromJSON(f))}async apiConnectorConfigCreate(i,u){return await(await this.apiConnectorConfigCreateRaw(i,u)).value()}async apiConnectorConfigDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiConnectorConfigDestroy(i,u){await this.apiConnectorConfigDestroyRaw(i,u)}async apiConnectorConfigListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/connector-config/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(ConnectorConfigConfigFromJSON))}async apiConnectorConfigList(i){return await(await this.apiConnectorConfigListRaw(i)).value()}async apiConnectorConfigPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedConnectorConfigConfigRequestToJSON(i.patchedConnectorConfigConfigRequest)},u);return new JSONApiResponse(m,f=>ConnectorConfigConfigFromJSON(f))}async apiConnectorConfigPartialUpdate(i,u){return await(await this.apiConnectorConfigPartialUpdateRaw(i,u)).value()}async apiConnectorConfigRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ConnectorConfigConfigFromJSON(f))}async apiConnectorConfigRetrieve(i,u){return await(await this.apiConnectorConfigRetrieveRaw(i,u)).value()}async apiConnectorConfigUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigUpdate().');if(i.connectorConfigConfigRequest==null)throw new RequiredError("connectorConfigConfigRequest",'Required parameter "connectorConfigConfigRequest" was null or undefined when calling apiConnectorConfigUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ConnectorConfigConfigRequestToJSON(i.connectorConfigConfigRequest)},u);return new JSONApiResponse(m,f=>ConnectorConfigConfigFromJSON(f))}async apiConnectorConfigUpdate(i,u){return await(await this.apiConnectorConfigUpdateRaw(i,u)).value()}async apiCookLogCreateRaw(i,u){if(i.cookLogRequest==null)throw new RequiredError("cookLogRequest",'Required parameter "cookLogRequest" was null or undefined when calling apiCookLogCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/",method:"POST",headers:d,query:c,body:CookLogRequestToJSON(i.cookLogRequest)},u);return new JSONApiResponse(m,f=>CookLogFromJSON(f))}async apiCookLogCreate(i,u){return await(await this.apiCookLogCreateRaw(i,u)).value()}async apiCookLogDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiCookLogDestroy(i,u){await this.apiCookLogDestroyRaw(i,u)}async apiCookLogListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.recipe!=null&&(c.recipe=i.recipe);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedCookLogListFromJSON(f))}async apiCookLogList(i={},u){return await(await this.apiCookLogListRaw(i,u)).value()}async apiCookLogPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedCookLogRequestToJSON(i.patchedCookLogRequest)},u);return new JSONApiResponse(m,f=>CookLogFromJSON(f))}async apiCookLogPartialUpdate(i,u){return await(await this.apiCookLogPartialUpdateRaw(i,u)).value()}async apiCookLogRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>CookLogFromJSON(f))}async apiCookLogRetrieve(i,u){return await(await this.apiCookLogRetrieveRaw(i,u)).value()}async apiCookLogUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogUpdate().');if(i.cookLogRequest==null)throw new RequiredError("cookLogRequest",'Required parameter "cookLogRequest" was null or undefined when calling apiCookLogUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:CookLogRequestToJSON(i.cookLogRequest)},u);return new JSONApiResponse(m,f=>CookLogFromJSON(f))}async apiCookLogUpdate(i,u){return await(await this.apiCookLogUpdateRaw(i,u)).value()}async apiCustomFilterCreateRaw(i,u){if(i.customFilterRequest==null)throw new RequiredError("customFilterRequest",'Required parameter "customFilterRequest" was null or undefined when calling apiCustomFilterCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/",method:"POST",headers:d,query:c,body:CustomFilterRequestToJSON(i.customFilterRequest)},u);return new JSONApiResponse(m,f=>CustomFilterFromJSON(f))}async apiCustomFilterCreate(i,u){return await(await this.apiCustomFilterCreateRaw(i,u)).value()}async apiCustomFilterDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiCustomFilterDestroy(i,u){await this.apiCustomFilterDestroyRaw(i,u)}async apiCustomFilterListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.type!=null&&(c.type=i.type),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedCustomFilterListFromJSON(f))}async apiCustomFilterList(i={},u){return await(await this.apiCustomFilterListRaw(i,u)).value()}async apiCustomFilterPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedCustomFilterRequestToJSON(i.patchedCustomFilterRequest)},u);return new JSONApiResponse(m,f=>CustomFilterFromJSON(f))}async apiCustomFilterPartialUpdate(i,u){return await(await this.apiCustomFilterPartialUpdateRaw(i,u)).value()}async apiCustomFilterRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>CustomFilterFromJSON(f))}async apiCustomFilterRetrieve(i,u){return await(await this.apiCustomFilterRetrieveRaw(i,u)).value()}async apiCustomFilterUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterUpdate().');if(i.customFilterRequest==null)throw new RequiredError("customFilterRequest",'Required parameter "customFilterRequest" was null or undefined when calling apiCustomFilterUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:CustomFilterRequestToJSON(i.customFilterRequest)},u);return new JSONApiResponse(m,f=>CustomFilterFromJSON(f))}async apiCustomFilterUpdate(i,u){return await(await this.apiCustomFilterUpdateRaw(i,u)).value()}async apiDownloadFileRetrieveRaw(i,u){if(i.fileId==null)throw new RequiredError("fileId",'Required parameter "fileId" was null or undefined when calling apiDownloadFileRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/download-file/{fileId}/".replace("{fileId}",encodeURIComponent(String(i.fileId))),method:"GET",headers:d,query:c},u);return new VoidApiResponse(m)}async apiDownloadFileRetrieve(i,u){await this.apiDownloadFileRetrieveRaw(i,u)}async apiExportLogCreateRaw(i,u){if(i.exportLogRequest==null)throw new RequiredError("exportLogRequest",'Required parameter "exportLogRequest" was null or undefined when calling apiExportLogCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/",method:"POST",headers:d,query:c,body:ExportLogRequestToJSON(i.exportLogRequest)},u);return new JSONApiResponse(m,f=>ExportLogFromJSON(f))}async apiExportLogCreate(i,u){return await(await this.apiExportLogCreateRaw(i,u)).value()}async apiExportLogDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiExportLogDestroy(i,u){await this.apiExportLogDestroyRaw(i,u)}async apiExportLogListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedExportLogListFromJSON(f))}async apiExportLogList(i={},u){return await(await this.apiExportLogListRaw(i,u)).value()}async apiExportLogPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedExportLogRequestToJSON(i.patchedExportLogRequest)},u);return new JSONApiResponse(m,f=>ExportLogFromJSON(f))}async apiExportLogPartialUpdate(i,u){return await(await this.apiExportLogPartialUpdateRaw(i,u)).value()}async apiExportLogRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ExportLogFromJSON(f))}async apiExportLogRetrieve(i,u){return await(await this.apiExportLogRetrieveRaw(i,u)).value()}async apiExportLogUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogUpdate().');if(i.exportLogRequest==null)throw new RequiredError("exportLogRequest",'Required parameter "exportLogRequest" was null or undefined when calling apiExportLogUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ExportLogRequestToJSON(i.exportLogRequest)},u);return new JSONApiResponse(m,f=>ExportLogFromJSON(f))}async apiExportLogUpdate(i,u){return await(await this.apiExportLogUpdateRaw(i,u)).value()}async apiFoodCreateRaw(i,u){if(i.foodRequest==null)throw new RequiredError("foodRequest",'Required parameter "foodRequest" was null or undefined when calling apiFoodCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/",method:"POST",headers:d,query:c,body:FoodRequestToJSON(i.foodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodCreate(i,u){return await(await this.apiFoodCreateRaw(i,u)).value()}async apiFoodDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiFoodDestroy(i,u){await this.apiFoodDestroyRaw(i,u)}async apiFoodFdcCreateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodFdcCreate().');if(i.foodRequest==null)throw new RequiredError("foodRequest",'Required parameter "foodRequest" was null or undefined when calling apiFoodFdcCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/fdc/".replace("{id}",encodeURIComponent(String(i.id))),method:"POST",headers:d,query:c,body:FoodRequestToJSON(i.foodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodFdcCreate(i,u){return await(await this.apiFoodFdcCreateRaw(i,u)).value()}async apiFoodInheritFieldListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/food-inherit-field/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(FoodInheritFieldFromJSON))}async apiFoodInheritFieldList(i){return await(await this.apiFoodInheritFieldListRaw(i)).value()}async apiFoodInheritFieldRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodInheritFieldRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-inherit-field/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>FoodInheritFieldFromJSON(f))}async apiFoodInheritFieldRetrieve(i,u){return await(await this.apiFoodInheritFieldRetrieveRaw(i,u)).value()}async apiFoodListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.root!=null&&(c.root=i.root),i.tree!=null&&(c.tree=i.tree),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedFoodListFromJSON(f))}async apiFoodList(i={},u){return await(await this.apiFoodListRaw(i,u)).value()}async apiFoodMergeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodMergeUpdate().');if(i.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiFoodMergeUpdate().');if(i.foodRequest==null)throw new RequiredError("foodRequest",'Required parameter "foodRequest" was null or undefined when calling apiFoodMergeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{target}",encodeURIComponent(String(i.target))),method:"PUT",headers:d,query:c,body:FoodRequestToJSON(i.foodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodMergeUpdate(i,u){return await(await this.apiFoodMergeUpdateRaw(i,u)).value()}async apiFoodMoveUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodMoveUpdate().');if(i.parent==null)throw new RequiredError("parent",'Required parameter "parent" was null or undefined when calling apiFoodMoveUpdate().');if(i.foodRequest==null)throw new RequiredError("foodRequest",'Required parameter "foodRequest" was null or undefined when calling apiFoodMoveUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{parent}",encodeURIComponent(String(i.parent))),method:"PUT",headers:d,query:c,body:FoodRequestToJSON(i.foodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodMoveUpdate(i,u){return await(await this.apiFoodMoveUpdateRaw(i,u)).value()}async apiFoodPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedFoodRequestToJSON(i.patchedFoodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodPartialUpdate(i,u){return await(await this.apiFoodPartialUpdateRaw(i,u)).value()}async apiFoodPropertyCreateRaw(i,u){if(i.propertyRequest==null)throw new RequiredError("propertyRequest",'Required parameter "propertyRequest" was null or undefined when calling apiFoodPropertyCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/",method:"POST",headers:d,query:c,body:PropertyRequestToJSON(i.propertyRequest)},u);return new JSONApiResponse(m,f=>PropertyFromJSON(f))}async apiFoodPropertyCreate(i,u){return await(await this.apiFoodPropertyCreateRaw(i,u)).value()}async apiFoodPropertyDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiFoodPropertyDestroy(i,u){await this.apiFoodPropertyDestroyRaw(i,u)}async apiFoodPropertyListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedPropertyListFromJSON(f))}async apiFoodPropertyList(i={},u){return await(await this.apiFoodPropertyListRaw(i,u)).value()}async apiFoodPropertyPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedPropertyRequestToJSON(i.patchedPropertyRequest)},u);return new JSONApiResponse(m,f=>PropertyFromJSON(f))}async apiFoodPropertyPartialUpdate(i,u){return await(await this.apiFoodPropertyPartialUpdateRaw(i,u)).value()}async apiFoodPropertyRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PropertyFromJSON(f))}async apiFoodPropertyRetrieve(i,u){return await(await this.apiFoodPropertyRetrieveRaw(i,u)).value()}async apiFoodPropertyTypeCreateRaw(i,u){if(i.propertyTypeRequest==null)throw new RequiredError("propertyTypeRequest",'Required parameter "propertyTypeRequest" was null or undefined when calling apiFoodPropertyTypeCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/",method:"POST",headers:d,query:c,body:PropertyTypeRequestToJSON(i.propertyTypeRequest)},u);return new JSONApiResponse(m,f=>PropertyTypeFromJSON(f))}async apiFoodPropertyTypeCreate(i,u){return await(await this.apiFoodPropertyTypeCreateRaw(i,u)).value()}async apiFoodPropertyTypeDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiFoodPropertyTypeDestroy(i,u){await this.apiFoodPropertyTypeDestroyRaw(i,u)}async apiFoodPropertyTypeListRaw(i,u){const c={};i.category!=null&&(c.category=i.category),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedPropertyTypeListFromJSON(f))}async apiFoodPropertyTypeList(i={},u){return await(await this.apiFoodPropertyTypeListRaw(i,u)).value()}async apiFoodPropertyTypePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedPropertyTypeRequestToJSON(i.patchedPropertyTypeRequest)},u);return new JSONApiResponse(m,f=>PropertyTypeFromJSON(f))}async apiFoodPropertyTypePartialUpdate(i,u){return await(await this.apiFoodPropertyTypePartialUpdateRaw(i,u)).value()}async apiFoodPropertyTypeRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PropertyTypeFromJSON(f))}async apiFoodPropertyTypeRetrieve(i,u){return await(await this.apiFoodPropertyTypeRetrieveRaw(i,u)).value()}async apiFoodPropertyTypeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeUpdate().');if(i.propertyTypeRequest==null)throw new RequiredError("propertyTypeRequest",'Required parameter "propertyTypeRequest" was null or undefined when calling apiFoodPropertyTypeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:PropertyTypeRequestToJSON(i.propertyTypeRequest)},u);return new JSONApiResponse(m,f=>PropertyTypeFromJSON(f))}async apiFoodPropertyTypeUpdate(i,u){return await(await this.apiFoodPropertyTypeUpdateRaw(i,u)).value()}async apiFoodPropertyUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyUpdate().');if(i.propertyRequest==null)throw new RequiredError("propertyRequest",'Required parameter "propertyRequest" was null or undefined when calling apiFoodPropertyUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:PropertyRequestToJSON(i.propertyRequest)},u);return new JSONApiResponse(m,f=>PropertyFromJSON(f))}async apiFoodPropertyUpdate(i,u){return await(await this.apiFoodPropertyUpdateRaw(i,u)).value()}async apiFoodRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodRetrieve(i,u){return await(await this.apiFoodRetrieveRaw(i,u)).value()}async apiFoodShoppingUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodShoppingUpdate().');if(i.foodShoppingUpdateRequest==null)throw new RequiredError("foodShoppingUpdateRequest",'Required parameter "foodShoppingUpdateRequest" was null or undefined when calling apiFoodShoppingUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/shopping/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:FoodShoppingUpdateRequestToJSON(i.foodShoppingUpdateRequest)},u);return new JSONApiResponse(m,f=>FoodShoppingUpdateFromJSON(f))}async apiFoodShoppingUpdate(i,u){return await(await this.apiFoodShoppingUpdateRaw(i,u)).value()}async apiFoodUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodUpdate().');if(i.foodRequest==null)throw new RequiredError("foodRequest",'Required parameter "foodRequest" was null or undefined when calling apiFoodUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:FoodRequestToJSON(i.foodRequest)},u);return new JSONApiResponse(m,f=>FoodFromJSON(f))}async apiFoodUpdate(i,u){return await(await this.apiFoodUpdateRaw(i,u)).value()}async apiGetExternalFileLinkRetrieveRaw(i,u){if(i.recipeId==null)throw new RequiredError("recipeId",'Required parameter "recipeId" was null or undefined when calling apiGetExternalFileLinkRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/get_external_file_link/{recipeId}/".replace("{recipeId}",encodeURIComponent(String(i.recipeId))),method:"GET",headers:d,query:c},u);return new VoidApiResponse(m)}async apiGetExternalFileLinkRetrieve(i,u){await this.apiGetExternalFileLinkRetrieveRaw(i,u)}async apiGetRecipeFileRetrieveRaw(i,u){if(i.recipeId==null)throw new RequiredError("recipeId",'Required parameter "recipeId" was null or undefined when calling apiGetRecipeFileRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/get_recipe_file/{recipeId}/".replace("{recipeId}",encodeURIComponent(String(i.recipeId))),method:"GET",headers:d,query:c},u);return new VoidApiResponse(m)}async apiGetRecipeFileRetrieve(i,u){await this.apiGetRecipeFileRetrieveRaw(i,u)}async apiGroupListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/group/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(GroupFromJSON))}async apiGroupList(i){return await(await this.apiGroupListRaw(i)).value()}async apiGroupRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiGroupRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/group/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>GroupFromJSON(f))}async apiGroupRetrieve(i,u){return await(await this.apiGroupRetrieveRaw(i,u)).value()}async apiImportCreateRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/import/",method:"POST",headers:c,query:u},i);return new VoidApiResponse(d)}async apiImportCreate(i){await this.apiImportCreateRaw(i)}async apiImportLogCreateRaw(i,u){if(i.importLogRequest==null)throw new RequiredError("importLogRequest",'Required parameter "importLogRequest" was null or undefined when calling apiImportLogCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/",method:"POST",headers:d,query:c,body:ImportLogRequestToJSON(i.importLogRequest)},u);return new JSONApiResponse(m,f=>ImportLogFromJSON(f))}async apiImportLogCreate(i,u){return await(await this.apiImportLogCreateRaw(i,u)).value()}async apiImportLogDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiImportLogDestroy(i,u){await this.apiImportLogDestroyRaw(i,u)}async apiImportLogListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedImportLogListFromJSON(f))}async apiImportLogList(i={},u){return await(await this.apiImportLogListRaw(i,u)).value()}async apiImportLogPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedImportLogRequestToJSON(i.patchedImportLogRequest)},u);return new JSONApiResponse(m,f=>ImportLogFromJSON(f))}async apiImportLogPartialUpdate(i,u){return await(await this.apiImportLogPartialUpdateRaw(i,u)).value()}async apiImportLogRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ImportLogFromJSON(f))}async apiImportLogRetrieve(i,u){return await(await this.apiImportLogRetrieveRaw(i,u)).value()}async apiImportLogUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogUpdate().');if(i.importLogRequest==null)throw new RequiredError("importLogRequest",'Required parameter "importLogRequest" was null or undefined when calling apiImportLogUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ImportLogRequestToJSON(i.importLogRequest)},u);return new JSONApiResponse(m,f=>ImportLogFromJSON(f))}async apiImportLogUpdate(i,u){return await(await this.apiImportLogUpdateRaw(i,u)).value()}async apiIngredientCreateRaw(i,u){if(i.ingredientRequest==null)throw new RequiredError("ingredientRequest",'Required parameter "ingredientRequest" was null or undefined when calling apiIngredientCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/",method:"POST",headers:d,query:c,body:IngredientRequestToJSON(i.ingredientRequest)},u);return new JSONApiResponse(m,f=>IngredientFromJSON(f))}async apiIngredientCreate(i,u){return await(await this.apiIngredientCreateRaw(i,u)).value()}async apiIngredientDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiIngredientDestroy(i,u){await this.apiIngredientDestroyRaw(i,u)}async apiIngredientFromStringCreateRaw(i,u){if(i.ingredientStringRequest==null)throw new RequiredError("ingredientStringRequest",'Required parameter "ingredientStringRequest" was null or undefined when calling apiIngredientFromStringCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient-from-string/",method:"POST",headers:d,query:c,body:IngredientStringRequestToJSON(i.ingredientStringRequest)},u);return new JSONApiResponse(m,f=>ParsedIngredientFromJSON(f))}async apiIngredientFromStringCreate(i,u){return await(await this.apiIngredientFromStringCreateRaw(i,u)).value()}async apiIngredientListRaw(i,u){const c={};i.food!=null&&(c.food=i.food),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.unit!=null&&(c.unit=i.unit);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedIngredientListFromJSON(f))}async apiIngredientList(i={},u){return await(await this.apiIngredientListRaw(i,u)).value()}async apiIngredientPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedIngredientRequestToJSON(i.patchedIngredientRequest)},u);return new JSONApiResponse(m,f=>IngredientFromJSON(f))}async apiIngredientPartialUpdate(i,u){return await(await this.apiIngredientPartialUpdateRaw(i,u)).value()}async apiIngredientRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>IngredientFromJSON(f))}async apiIngredientRetrieve(i,u){return await(await this.apiIngredientRetrieveRaw(i,u)).value()}async apiIngredientUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientUpdate().');if(i.ingredientRequest==null)throw new RequiredError("ingredientRequest",'Required parameter "ingredientRequest" was null or undefined when calling apiIngredientUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:IngredientRequestToJSON(i.ingredientRequest)},u);return new JSONApiResponse(m,f=>IngredientFromJSON(f))}async apiIngredientUpdate(i,u){return await(await this.apiIngredientUpdateRaw(i,u)).value()}async apiInviteLinkCreateRaw(i,u){if(i.inviteLinkRequest==null)throw new RequiredError("inviteLinkRequest",'Required parameter "inviteLinkRequest" was null or undefined when calling apiInviteLinkCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/",method:"POST",headers:d,query:c,body:InviteLinkRequestToJSON(i.inviteLinkRequest)},u);return new JSONApiResponse(m,f=>InviteLinkFromJSON(f))}async apiInviteLinkCreate(i,u){return await(await this.apiInviteLinkCreateRaw(i,u)).value()}async apiInviteLinkDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiInviteLinkDestroy(i,u){await this.apiInviteLinkDestroyRaw(i,u)}async apiInviteLinkListRaw(i,u){const c={};i.internalNote!=null&&(c.internal_note=i.internalNote),i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedInviteLinkListFromJSON(f))}async apiInviteLinkList(i={},u){return await(await this.apiInviteLinkListRaw(i,u)).value()}async apiInviteLinkPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedInviteLinkRequestToJSON(i.patchedInviteLinkRequest)},u);return new JSONApiResponse(m,f=>InviteLinkFromJSON(f))}async apiInviteLinkPartialUpdate(i,u){return await(await this.apiInviteLinkPartialUpdateRaw(i,u)).value()}async apiInviteLinkRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>InviteLinkFromJSON(f))}async apiInviteLinkRetrieve(i,u){return await(await this.apiInviteLinkRetrieveRaw(i,u)).value()}async apiInviteLinkUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkUpdate().');if(i.inviteLinkRequest==null)throw new RequiredError("inviteLinkRequest",'Required parameter "inviteLinkRequest" was null or undefined when calling apiInviteLinkUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:InviteLinkRequestToJSON(i.inviteLinkRequest)},u);return new JSONApiResponse(m,f=>InviteLinkFromJSON(f))}async apiInviteLinkUpdate(i,u){return await(await this.apiInviteLinkUpdateRaw(i,u)).value()}async apiKeywordCreateRaw(i,u){if(i.keywordRequest==null)throw new RequiredError("keywordRequest",'Required parameter "keywordRequest" was null or undefined when calling apiKeywordCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/",method:"POST",headers:d,query:c,body:KeywordRequestToJSON(i.keywordRequest)},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordCreate(i,u){return await(await this.apiKeywordCreateRaw(i,u)).value()}async apiKeywordDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiKeywordDestroy(i,u){await this.apiKeywordDestroyRaw(i,u)}async apiKeywordListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.root!=null&&(c.root=i.root),i.tree!=null&&(c.tree=i.tree),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedKeywordListFromJSON(f))}async apiKeywordList(i={},u){return await(await this.apiKeywordListRaw(i,u)).value()}async apiKeywordMergeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordMergeUpdate().');if(i.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiKeywordMergeUpdate().');if(i.keywordRequest==null)throw new RequiredError("keywordRequest",'Required parameter "keywordRequest" was null or undefined when calling apiKeywordMergeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{target}",encodeURIComponent(String(i.target))),method:"PUT",headers:d,query:c,body:KeywordRequestToJSON(i.keywordRequest)},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordMergeUpdate(i,u){return await(await this.apiKeywordMergeUpdateRaw(i,u)).value()}async apiKeywordMoveUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordMoveUpdate().');if(i.parent==null)throw new RequiredError("parent",'Required parameter "parent" was null or undefined when calling apiKeywordMoveUpdate().');if(i.keywordRequest==null)throw new RequiredError("keywordRequest",'Required parameter "keywordRequest" was null or undefined when calling apiKeywordMoveUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{parent}",encodeURIComponent(String(i.parent))),method:"PUT",headers:d,query:c,body:KeywordRequestToJSON(i.keywordRequest)},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordMoveUpdate(i,u){return await(await this.apiKeywordMoveUpdateRaw(i,u)).value()}async apiKeywordPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedKeywordRequestToJSON(i.patchedKeywordRequest)},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordPartialUpdate(i,u){return await(await this.apiKeywordPartialUpdateRaw(i,u)).value()}async apiKeywordRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordRetrieve(i,u){return await(await this.apiKeywordRetrieveRaw(i,u)).value()}async apiKeywordUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordUpdate().');if(i.keywordRequest==null)throw new RequiredError("keywordRequest",'Required parameter "keywordRequest" was null or undefined when calling apiKeywordUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:KeywordRequestToJSON(i.keywordRequest)},u);return new JSONApiResponse(m,f=>KeywordFromJSON(f))}async apiKeywordUpdate(i,u){return await(await this.apiKeywordUpdateRaw(i,u)).value()}async apiMealPlanCreateRaw(i,u){if(i.mealPlanRequest==null)throw new RequiredError("mealPlanRequest",'Required parameter "mealPlanRequest" was null or undefined when calling apiMealPlanCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/",method:"POST",headers:d,query:c,body:MealPlanRequestToJSON(i.mealPlanRequest)},u);return new JSONApiResponse(m,f=>MealPlanFromJSON(f))}async apiMealPlanCreate(i,u){return await(await this.apiMealPlanCreateRaw(i,u)).value()}async apiMealPlanDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiMealPlanDestroy(i,u){await this.apiMealPlanDestroyRaw(i,u)}async apiMealPlanIcalRetrieveRaw(i,u){const c={};i.fromDate!=null&&(c.from_date=i.fromDate),i.mealType!=null&&(c.meal_type=i.mealType),i.toDate!=null&&(c.to_date=i.toDate);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/ical/",method:"GET",headers:d,query:c},u);return this.isJsonMime(m.headers.get("content-type"))?new JSONApiResponse(m):new TextApiResponse(m)}async apiMealPlanIcalRetrieve(i={},u){return await(await this.apiMealPlanIcalRetrieveRaw(i,u)).value()}async apiMealPlanListRaw(i,u){const c={};i.fromDate!=null&&(c.from_date=i.fromDate),i.mealType!=null&&(c.meal_type=i.mealType),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.toDate!=null&&(c.to_date=i.toDate);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedMealPlanListFromJSON(f))}async apiMealPlanList(i={},u){return await(await this.apiMealPlanListRaw(i,u)).value()}async apiMealPlanPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedMealPlanRequestToJSON(i.patchedMealPlanRequest)},u);return new JSONApiResponse(m,f=>MealPlanFromJSON(f))}async apiMealPlanPartialUpdate(i,u){return await(await this.apiMealPlanPartialUpdateRaw(i,u)).value()}async apiMealPlanRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>MealPlanFromJSON(f))}async apiMealPlanRetrieve(i,u){return await(await this.apiMealPlanRetrieveRaw(i,u)).value()}async apiMealPlanUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanUpdate().');if(i.mealPlanRequest==null)throw new RequiredError("mealPlanRequest",'Required parameter "mealPlanRequest" was null or undefined when calling apiMealPlanUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:MealPlanRequestToJSON(i.mealPlanRequest)},u);return new JSONApiResponse(m,f=>MealPlanFromJSON(f))}async apiMealPlanUpdate(i,u){return await(await this.apiMealPlanUpdateRaw(i,u)).value()}async apiMealTypeCreateRaw(i,u){if(i.mealTypeRequest==null)throw new RequiredError("mealTypeRequest",'Required parameter "mealTypeRequest" was null or undefined when calling apiMealTypeCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/",method:"POST",headers:d,query:c,body:MealTypeRequestToJSON(i.mealTypeRequest)},u);return new JSONApiResponse(m,f=>MealTypeFromJSON(f))}async apiMealTypeCreate(i,u){return await(await this.apiMealTypeCreateRaw(i,u)).value()}async apiMealTypeDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiMealTypeDestroy(i,u){await this.apiMealTypeDestroyRaw(i,u)}async apiMealTypeListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedMealTypeListFromJSON(f))}async apiMealTypeList(i={},u){return await(await this.apiMealTypeListRaw(i,u)).value()}async apiMealTypePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedMealTypeRequestToJSON(i.patchedMealTypeRequest)},u);return new JSONApiResponse(m,f=>MealTypeFromJSON(f))}async apiMealTypePartialUpdate(i,u){return await(await this.apiMealTypePartialUpdateRaw(i,u)).value()}async apiMealTypeRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>MealTypeFromJSON(f))}async apiMealTypeRetrieve(i,u){return await(await this.apiMealTypeRetrieveRaw(i,u)).value()}async apiMealTypeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeUpdate().');if(i.mealTypeRequest==null)throw new RequiredError("mealTypeRequest",'Required parameter "mealTypeRequest" was null or undefined when calling apiMealTypeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:MealTypeRequestToJSON(i.mealTypeRequest)},u);return new JSONApiResponse(m,f=>MealTypeFromJSON(f))}async apiMealTypeUpdate(i,u){return await(await this.apiMealTypeUpdateRaw(i,u)).value()}async apiRecipeBookCreateRaw(i,u){if(i.recipeBookRequest==null)throw new RequiredError("recipeBookRequest",'Required parameter "recipeBookRequest" was null or undefined when calling apiRecipeBookCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/",method:"POST",headers:d,query:c,body:RecipeBookRequestToJSON(i.recipeBookRequest)},u);return new JSONApiResponse(m,f=>RecipeBookFromJSON(f))}async apiRecipeBookCreate(i,u){return await(await this.apiRecipeBookCreateRaw(i,u)).value()}async apiRecipeBookDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiRecipeBookDestroy(i,u){await this.apiRecipeBookDestroyRaw(i,u)}async apiRecipeBookEntryCreateRaw(i,u){if(i.recipeBookEntryRequest==null)throw new RequiredError("recipeBookEntryRequest",'Required parameter "recipeBookEntryRequest" was null or undefined when calling apiRecipeBookEntryCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/",method:"POST",headers:d,query:c,body:RecipeBookEntryRequestToJSON(i.recipeBookEntryRequest)},u);return new JSONApiResponse(m,f=>RecipeBookEntryFromJSON(f))}async apiRecipeBookEntryCreate(i,u){return await(await this.apiRecipeBookEntryCreateRaw(i,u)).value()}async apiRecipeBookEntryDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiRecipeBookEntryDestroy(i,u){await this.apiRecipeBookEntryDestroyRaw(i,u)}async apiRecipeBookEntryListRaw(i,u){const c={};i.book!=null&&(c.book=i.book),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.recipe!=null&&(c.recipe=i.recipe);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedRecipeBookEntryListFromJSON(f))}async apiRecipeBookEntryList(i={},u){return await(await this.apiRecipeBookEntryListRaw(i,u)).value()}async apiRecipeBookEntryPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedRecipeBookEntryRequestToJSON(i.patchedRecipeBookEntryRequest)},u);return new JSONApiResponse(m,f=>RecipeBookEntryFromJSON(f))}async apiRecipeBookEntryPartialUpdate(i,u){return await(await this.apiRecipeBookEntryPartialUpdateRaw(i,u)).value()}async apiRecipeBookEntryRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>RecipeBookEntryFromJSON(f))}async apiRecipeBookEntryRetrieve(i,u){return await(await this.apiRecipeBookEntryRetrieveRaw(i,u)).value()}async apiRecipeBookEntryUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryUpdate().');if(i.recipeBookEntryRequest==null)throw new RequiredError("recipeBookEntryRequest",'Required parameter "recipeBookEntryRequest" was null or undefined when calling apiRecipeBookEntryUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:RecipeBookEntryRequestToJSON(i.recipeBookEntryRequest)},u);return new JSONApiResponse(m,f=>RecipeBookEntryFromJSON(f))}async apiRecipeBookEntryUpdate(i,u){return await(await this.apiRecipeBookEntryUpdateRaw(i,u)).value()}async apiRecipeBookListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.orderDirection!=null&&(c.order_direction=i.orderDirection),i.orderField!=null&&(c.order_field=i.orderField),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedRecipeBookListFromJSON(f))}async apiRecipeBookList(i={},u){return await(await this.apiRecipeBookListRaw(i,u)).value()}async apiRecipeBookPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedRecipeBookRequestToJSON(i.patchedRecipeBookRequest)},u);return new JSONApiResponse(m,f=>RecipeBookFromJSON(f))}async apiRecipeBookPartialUpdate(i,u){return await(await this.apiRecipeBookPartialUpdateRaw(i,u)).value()}async apiRecipeBookRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>RecipeBookFromJSON(f))}async apiRecipeBookRetrieve(i,u){return await(await this.apiRecipeBookRetrieveRaw(i,u)).value()}async apiRecipeBookUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookUpdate().');if(i.recipeBookRequest==null)throw new RequiredError("recipeBookRequest",'Required parameter "recipeBookRequest" was null or undefined when calling apiRecipeBookUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:RecipeBookRequestToJSON(i.recipeBookRequest)},u);return new JSONApiResponse(m,f=>RecipeBookFromJSON(f))}async apiRecipeBookUpdate(i,u){return await(await this.apiRecipeBookUpdateRaw(i,u)).value()}async apiRecipeCreateRaw(i,u){if(i.recipeRequest==null)throw new RequiredError("recipeRequest",'Required parameter "recipeRequest" was null or undefined when calling apiRecipeCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/",method:"POST",headers:d,query:c,body:RecipeRequestToJSON(i.recipeRequest)},u);return new JSONApiResponse(m,f=>RecipeFromJSON(f))}async apiRecipeCreate(i,u){return await(await this.apiRecipeCreateRaw(i,u)).value()}async apiRecipeDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiRecipeDestroy(i,u){await this.apiRecipeDestroyRaw(i,u)}async apiRecipeFlatListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/recipe/flat/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(RecipeFlatFromJSON))}async apiRecipeFlatList(i){return await(await this.apiRecipeFlatListRaw(i)).value()}async apiRecipeFromSourceCreateRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/recipe-from-source/",method:"POST",headers:c,query:u},i);return new VoidApiResponse(d)}async apiRecipeFromSourceCreate(i){await this.apiRecipeFromSourceCreateRaw(i)}async apiRecipeImageUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImageUpdate().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const f=canConsumeForm([{contentType:"multipart/form-data"}]);let v,g=!1;g=f,g?v=new FormData:v=new URLSearchParams,i.image!=null&&v.append("image",i.image),i.imageUrl!=null&&v.append("image_url",i.imageUrl);const y=await this.request({path:"/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:v},u);return new JSONApiResponse(y,b=>RecipeImageFromJSON(b))}async apiRecipeImageUpdate(i,u){return await(await this.apiRecipeImageUpdateRaw(i,u)).value()}async apiRecipeListRaw(i,u){const c={};i.books!=null&&(c.books=i.books),i.booksAnd!=null&&(c.books_and=i.booksAnd),i.booksAndNot!=null&&(c.books_and_not=i.booksAndNot),i.booksOr!=null&&(c.books_or=i.booksOr),i.booksOrNot!=null&&(c.books_or_not=i.booksOrNot),i.cookedon!=null&&(c.cookedon=i.cookedon),i.createdon!=null&&(c.createdon=i.createdon),i.foods!=null&&(c.foods=i.foods),i.foodsAnd!=null&&(c.foods_and=i.foodsAnd),i.foodsAndNot!=null&&(c.foods_and_not=i.foodsAndNot),i.foodsOr!=null&&(c.foods_or=i.foodsOr),i.foodsOrNot!=null&&(c.foods_or_not=i.foodsOrNot),i.internal!=null&&(c.internal=i.internal),i.keywords!=null&&(c.keywords=i.keywords),i.keywordsAnd!=null&&(c.keywords_and=i.keywordsAnd),i.keywordsAndNot!=null&&(c.keywords_and_not=i.keywordsAndNot),i.keywordsOr!=null&&(c.keywords_or=i.keywordsOr),i.keywordsOrNot!=null&&(c.keywords_or_not=i.keywordsOrNot),i.makenow!=null&&(c.makenow=i.makenow),i._new!=null&&(c.new=i._new),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.rating!=null&&(c.rating=i.rating),i.timescooked!=null&&(c.timescooked=i.timescooked),i.units!=null&&(c.units=i.units),i.updatedon!=null&&(c.updatedon=i.updatedon),i.viewedon!=null&&(c.viewedon=i.viewedon);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedRecipeOverviewListFromJSON(f))}async apiRecipeList(i={},u){return await(await this.apiRecipeListRaw(i,u)).value()}async apiRecipePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedRecipeRequestToJSON(i.patchedRecipeRequest)},u);return new JSONApiResponse(m,f=>RecipeFromJSON(f))}async apiRecipePartialUpdate(i,u){return await(await this.apiRecipePartialUpdateRaw(i,u)).value()}async apiRecipeRelatedRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeRelatedRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/related/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>RecipeSimpleFromJSON(f))}async apiRecipeRelatedRetrieve(i,u){return await(await this.apiRecipeRelatedRetrieveRaw(i,u)).value()}async apiRecipeRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>RecipeFromJSON(f))}async apiRecipeRetrieve(i,u){return await(await this.apiRecipeRetrieveRaw(i,u)).value()}async apiRecipeShoppingUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeShoppingUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/shopping/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:RecipeShoppingUpdateRequestToJSON(i.recipeShoppingUpdateRequest)},u);return new JSONApiResponse(m,f=>RecipeShoppingUpdateFromJSON(f))}async apiRecipeShoppingUpdate(i,u){return await(await this.apiRecipeShoppingUpdateRaw(i,u)).value()}async apiRecipeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeUpdate().');if(i.recipeRequest==null)throw new RequiredError("recipeRequest",'Required parameter "recipeRequest" was null or undefined when calling apiRecipeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:RecipeRequestToJSON(i.recipeRequest)},u);return new JSONApiResponse(m,f=>RecipeFromJSON(f))}async apiRecipeUpdate(i,u){return await(await this.apiRecipeUpdateRaw(i,u)).value()}async apiResetFoodInheritanceCreateRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/reset-food-inheritance/",method:"POST",headers:c,query:u},i);return new VoidApiResponse(d)}async apiResetFoodInheritanceCreate(i){await this.apiResetFoodInheritanceCreateRaw(i)}async apiShareLinkRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShareLinkRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/share-link/{id}".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ShareLinkFromJSON(f))}async apiShareLinkRetrieve(i,u){return await(await this.apiShareLinkRetrieveRaw(i,u)).value()}async apiShoppingListEntryBulkCreateRaw(i,u){if(i.shoppingListEntryBulkRequest==null)throw new RequiredError("shoppingListEntryBulkRequest",'Required parameter "shoppingListEntryBulkRequest" was null or undefined when calling apiShoppingListEntryBulkCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/bulk/",method:"POST",headers:d,query:c,body:ShoppingListEntryBulkRequestToJSON(i.shoppingListEntryBulkRequest)},u);return new JSONApiResponse(m,f=>ShoppingListEntryBulkFromJSON(f))}async apiShoppingListEntryBulkCreate(i,u){return await(await this.apiShoppingListEntryBulkCreateRaw(i,u)).value()}async apiShoppingListEntryCreateRaw(i,u){if(i.shoppingListEntryRequest==null)throw new RequiredError("shoppingListEntryRequest",'Required parameter "shoppingListEntryRequest" was null or undefined when calling apiShoppingListEntryCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/",method:"POST",headers:d,query:c,body:ShoppingListEntryRequestToJSON(i.shoppingListEntryRequest)},u);return new JSONApiResponse(m,f=>ShoppingListEntryFromJSON(f))}async apiShoppingListEntryCreate(i,u){return await(await this.apiShoppingListEntryCreateRaw(i,u)).value()}async apiShoppingListEntryDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiShoppingListEntryDestroy(i,u){await this.apiShoppingListEntryDestroyRaw(i,u)}async apiShoppingListEntryListRaw(i,u){const c={};i.checked!=null&&(c.checked=i.checked),i.id!=null&&(c.id=i.id),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.supermarket!=null&&(c.supermarket=i.supermarket);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedShoppingListEntryListFromJSON(f))}async apiShoppingListEntryList(i={},u){return await(await this.apiShoppingListEntryListRaw(i,u)).value()}async apiShoppingListEntryPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedShoppingListEntryRequestToJSON(i.patchedShoppingListEntryRequest)},u);return new JSONApiResponse(m,f=>ShoppingListEntryFromJSON(f))}async apiShoppingListEntryPartialUpdate(i,u){return await(await this.apiShoppingListEntryPartialUpdateRaw(i,u)).value()}async apiShoppingListEntryRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ShoppingListEntryFromJSON(f))}async apiShoppingListEntryRetrieve(i,u){return await(await this.apiShoppingListEntryRetrieveRaw(i,u)).value()}async apiShoppingListEntryUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryUpdate().');if(i.shoppingListEntryRequest==null)throw new RequiredError("shoppingListEntryRequest",'Required parameter "shoppingListEntryRequest" was null or undefined when calling apiShoppingListEntryUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ShoppingListEntryRequestToJSON(i.shoppingListEntryRequest)},u);return new JSONApiResponse(m,f=>ShoppingListEntryFromJSON(f))}async apiShoppingListEntryUpdate(i,u){return await(await this.apiShoppingListEntryUpdateRaw(i,u)).value()}async apiShoppingListRecipeCreateRaw(i,u){if(i.shoppingListRecipeRequest==null)throw new RequiredError("shoppingListRecipeRequest",'Required parameter "shoppingListRecipeRequest" was null or undefined when calling apiShoppingListRecipeCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/",method:"POST",headers:d,query:c,body:ShoppingListRecipeRequestToJSON(i.shoppingListRecipeRequest)},u);return new JSONApiResponse(m,f=>ShoppingListRecipeFromJSON(f))}async apiShoppingListRecipeCreate(i,u){return await(await this.apiShoppingListRecipeCreateRaw(i,u)).value()}async apiShoppingListRecipeDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiShoppingListRecipeDestroy(i,u){await this.apiShoppingListRecipeDestroyRaw(i,u)}async apiShoppingListRecipeListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedShoppingListRecipeListFromJSON(f))}async apiShoppingListRecipeList(i={},u){return await(await this.apiShoppingListRecipeListRaw(i,u)).value()}async apiShoppingListRecipePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedShoppingListRecipeRequestToJSON(i.patchedShoppingListRecipeRequest)},u);return new JSONApiResponse(m,f=>ShoppingListRecipeFromJSON(f))}async apiShoppingListRecipePartialUpdate(i,u){return await(await this.apiShoppingListRecipePartialUpdateRaw(i,u)).value()}async apiShoppingListRecipeRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ShoppingListRecipeFromJSON(f))}async apiShoppingListRecipeRetrieve(i,u){return await(await this.apiShoppingListRecipeRetrieveRaw(i,u)).value()}async apiShoppingListRecipeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeUpdate().');if(i.shoppingListRecipeRequest==null)throw new RequiredError("shoppingListRecipeRequest",'Required parameter "shoppingListRecipeRequest" was null or undefined when calling apiShoppingListRecipeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ShoppingListRecipeRequestToJSON(i.shoppingListRecipeRequest)},u);return new JSONApiResponse(m,f=>ShoppingListRecipeFromJSON(f))}async apiShoppingListRecipeUpdate(i,u){return await(await this.apiShoppingListRecipeUpdateRaw(i,u)).value()}async apiSpaceListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/space/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(SpaceFromJSON))}async apiSpaceList(i){return await(await this.apiSpaceListRaw(i)).value()}async apiSpacePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpacePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedSpaceRequestToJSON(i.patchedSpaceRequest)},u);return new JSONApiResponse(m,f=>SpaceFromJSON(f))}async apiSpacePartialUpdate(i,u){return await(await this.apiSpacePartialUpdateRaw(i,u)).value()}async apiSpaceRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpaceRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SpaceFromJSON(f))}async apiSpaceRetrieve(i,u){return await(await this.apiSpaceRetrieveRaw(i,u)).value()}async apiStepCreateRaw(i,u){if(i.stepRequest==null)throw new RequiredError("stepRequest",'Required parameter "stepRequest" was null or undefined when calling apiStepCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/",method:"POST",headers:d,query:c,body:StepRequestToJSON(i.stepRequest)},u);return new JSONApiResponse(m,f=>StepFromJSON(f))}async apiStepCreate(i,u){return await(await this.apiStepCreateRaw(i,u)).value()}async apiStepDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiStepDestroy(i,u){await this.apiStepDestroyRaw(i,u)}async apiStepListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.recipe!=null&&(c.recipe=i.recipe);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedStepListFromJSON(f))}async apiStepList(i={},u){return await(await this.apiStepListRaw(i,u)).value()}async apiStepPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedStepRequestToJSON(i.patchedStepRequest)},u);return new JSONApiResponse(m,f=>StepFromJSON(f))}async apiStepPartialUpdate(i,u){return await(await this.apiStepPartialUpdateRaw(i,u)).value()}async apiStepRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>StepFromJSON(f))}async apiStepRetrieve(i,u){return await(await this.apiStepRetrieveRaw(i,u)).value()}async apiStepUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepUpdate().');if(i.stepRequest==null)throw new RequiredError("stepRequest",'Required parameter "stepRequest" was null or undefined when calling apiStepUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:StepRequestToJSON(i.stepRequest)},u);return new JSONApiResponse(m,f=>StepFromJSON(f))}async apiStepUpdate(i,u){return await(await this.apiStepUpdateRaw(i,u)).value()}async apiStorageCreateRaw(i,u){if(i.storageRequest==null)throw new RequiredError("storageRequest",'Required parameter "storageRequest" was null or undefined when calling apiStorageCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/storage/",method:"POST",headers:d,query:c,body:StorageRequestToJSON(i.storageRequest)},u);return new JSONApiResponse(m,f=>StorageFromJSON(f))}async apiStorageCreate(i,u){return await(await this.apiStorageCreateRaw(i,u)).value()}async apiStorageDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiStorageDestroy(i,u){await this.apiStorageDestroyRaw(i,u)}async apiStorageListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/storage/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(StorageFromJSON))}async apiStorageList(i){return await(await this.apiStorageListRaw(i)).value()}async apiStoragePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStoragePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedStorageRequestToJSON(i.patchedStorageRequest)},u);return new JSONApiResponse(m,f=>StorageFromJSON(f))}async apiStoragePartialUpdate(i,u){return await(await this.apiStoragePartialUpdateRaw(i,u)).value()}async apiStorageRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>StorageFromJSON(f))}async apiStorageRetrieve(i,u){return await(await this.apiStorageRetrieveRaw(i,u)).value()}async apiStorageUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageUpdate().');if(i.storageRequest==null)throw new RequiredError("storageRequest",'Required parameter "storageRequest" was null or undefined when calling apiStorageUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:StorageRequestToJSON(i.storageRequest)},u);return new JSONApiResponse(m,f=>StorageFromJSON(f))}async apiStorageUpdate(i,u){return await(await this.apiStorageUpdateRaw(i,u)).value()}async apiSupermarketCategoryCreateRaw(i,u){if(i.supermarketCategoryRequest==null)throw new RequiredError("supermarketCategoryRequest",'Required parameter "supermarketCategoryRequest" was null or undefined when calling apiSupermarketCategoryCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/",method:"POST",headers:d,query:c,body:SupermarketCategoryRequestToJSON(i.supermarketCategoryRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryFromJSON(f))}async apiSupermarketCategoryCreate(i,u){return await(await this.apiSupermarketCategoryCreateRaw(i,u)).value()}async apiSupermarketCategoryDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiSupermarketCategoryDestroy(i,u){await this.apiSupermarketCategoryDestroyRaw(i,u)}async apiSupermarketCategoryListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedSupermarketCategoryListFromJSON(f))}async apiSupermarketCategoryList(i={},u){return await(await this.apiSupermarketCategoryListRaw(i,u)).value()}async apiSupermarketCategoryMergeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');if(i.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');if(i.supermarketCategoryRequest==null)throw new RequiredError("supermarketCategoryRequest",'Required parameter "supermarketCategoryRequest" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{target}",encodeURIComponent(String(i.target))),method:"PUT",headers:d,query:c,body:SupermarketCategoryRequestToJSON(i.supermarketCategoryRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryFromJSON(f))}async apiSupermarketCategoryMergeUpdate(i,u){return await(await this.apiSupermarketCategoryMergeUpdateRaw(i,u)).value()}async apiSupermarketCategoryPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedSupermarketCategoryRequestToJSON(i.patchedSupermarketCategoryRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryFromJSON(f))}async apiSupermarketCategoryPartialUpdate(i,u){return await(await this.apiSupermarketCategoryPartialUpdateRaw(i,u)).value()}async apiSupermarketCategoryRelationCreateRaw(i,u){if(i.supermarketCategoryRelationRequest==null)throw new RequiredError("supermarketCategoryRelationRequest",'Required parameter "supermarketCategoryRelationRequest" was null or undefined when calling apiSupermarketCategoryRelationCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/",method:"POST",headers:d,query:c,body:SupermarketCategoryRelationRequestToJSON(i.supermarketCategoryRelationRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryRelationFromJSON(f))}async apiSupermarketCategoryRelationCreate(i,u){return await(await this.apiSupermarketCategoryRelationCreateRaw(i,u)).value()}async apiSupermarketCategoryRelationDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiSupermarketCategoryRelationDestroy(i,u){await this.apiSupermarketCategoryRelationDestroyRaw(i,u)}async apiSupermarketCategoryRelationListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedSupermarketCategoryRelationListFromJSON(f))}async apiSupermarketCategoryRelationList(i={},u){return await(await this.apiSupermarketCategoryRelationListRaw(i,u)).value()}async apiSupermarketCategoryRelationPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedSupermarketCategoryRelationRequestToJSON(i.patchedSupermarketCategoryRelationRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryRelationFromJSON(f))}async apiSupermarketCategoryRelationPartialUpdate(i,u){return await(await this.apiSupermarketCategoryRelationPartialUpdateRaw(i,u)).value()}async apiSupermarketCategoryRelationRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SupermarketCategoryRelationFromJSON(f))}async apiSupermarketCategoryRelationRetrieve(i,u){return await(await this.apiSupermarketCategoryRelationRetrieveRaw(i,u)).value()}async apiSupermarketCategoryRelationUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationUpdate().');if(i.supermarketCategoryRelationRequest==null)throw new RequiredError("supermarketCategoryRelationRequest",'Required parameter "supermarketCategoryRelationRequest" was null or undefined when calling apiSupermarketCategoryRelationUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:SupermarketCategoryRelationRequestToJSON(i.supermarketCategoryRelationRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryRelationFromJSON(f))}async apiSupermarketCategoryRelationUpdate(i,u){return await(await this.apiSupermarketCategoryRelationUpdateRaw(i,u)).value()}async apiSupermarketCategoryRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SupermarketCategoryFromJSON(f))}async apiSupermarketCategoryRetrieve(i,u){return await(await this.apiSupermarketCategoryRetrieveRaw(i,u)).value()}async apiSupermarketCategoryUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryUpdate().');if(i.supermarketCategoryRequest==null)throw new RequiredError("supermarketCategoryRequest",'Required parameter "supermarketCategoryRequest" was null or undefined when calling apiSupermarketCategoryUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:SupermarketCategoryRequestToJSON(i.supermarketCategoryRequest)},u);return new JSONApiResponse(m,f=>SupermarketCategoryFromJSON(f))}async apiSupermarketCategoryUpdate(i,u){return await(await this.apiSupermarketCategoryUpdateRaw(i,u)).value()}async apiSupermarketCreateRaw(i,u){if(i.supermarketRequest==null)throw new RequiredError("supermarketRequest",'Required parameter "supermarketRequest" was null or undefined when calling apiSupermarketCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/",method:"POST",headers:d,query:c,body:SupermarketRequestToJSON(i.supermarketRequest)},u);return new JSONApiResponse(m,f=>SupermarketFromJSON(f))}async apiSupermarketCreate(i,u){return await(await this.apiSupermarketCreateRaw(i,u)).value()}async apiSupermarketDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiSupermarketDestroy(i,u){await this.apiSupermarketDestroyRaw(i,u)}async apiSupermarketListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedSupermarketListFromJSON(f))}async apiSupermarketList(i={},u){return await(await this.apiSupermarketListRaw(i,u)).value()}async apiSupermarketPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedSupermarketRequestToJSON(i.patchedSupermarketRequest)},u);return new JSONApiResponse(m,f=>SupermarketFromJSON(f))}async apiSupermarketPartialUpdate(i,u){return await(await this.apiSupermarketPartialUpdateRaw(i,u)).value()}async apiSupermarketRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SupermarketFromJSON(f))}async apiSupermarketRetrieve(i,u){return await(await this.apiSupermarketRetrieveRaw(i,u)).value()}async apiSupermarketUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketUpdate().');if(i.supermarketRequest==null)throw new RequiredError("supermarketRequest",'Required parameter "supermarketRequest" was null or undefined when calling apiSupermarketUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:SupermarketRequestToJSON(i.supermarketRequest)},u);return new JSONApiResponse(m,f=>SupermarketFromJSON(f))}async apiSupermarketUpdate(i,u){return await(await this.apiSupermarketUpdateRaw(i,u)).value()}async apiSwitchActiveSpaceRetrieveRaw(i,u){if(i.spaceId==null)throw new RequiredError("spaceId",'Required parameter "spaceId" was null or undefined when calling apiSwitchActiveSpaceRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/switch-active-space/{spaceId}/".replace("{spaceId}",encodeURIComponent(String(i.spaceId))),method:"GET",headers:d,query:c},u);return new VoidApiResponse(m)}async apiSwitchActiveSpaceRetrieve(i,u){await this.apiSwitchActiveSpaceRetrieveRaw(i,u)}async apiSyncCreateRaw(i,u){if(i.syncRequest==null)throw new RequiredError("syncRequest",'Required parameter "syncRequest" was null or undefined when calling apiSyncCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/",method:"POST",headers:d,query:c,body:SyncRequestToJSON(i.syncRequest)},u);return new JSONApiResponse(m,f=>SyncFromJSON(f))}async apiSyncCreate(i,u){return await(await this.apiSyncCreateRaw(i,u)).value()}async apiSyncDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiSyncDestroy(i,u){await this.apiSyncDestroyRaw(i,u)}async apiSyncListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedSyncListFromJSON(f))}async apiSyncList(i={},u){return await(await this.apiSyncListRaw(i,u)).value()}async apiSyncLogListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync-log/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedSyncLogListFromJSON(f))}async apiSyncLogList(i={},u){return await(await this.apiSyncLogListRaw(i,u)).value()}async apiSyncLogRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncLogRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SyncLogFromJSON(f))}async apiSyncLogRetrieve(i,u){return await(await this.apiSyncLogRetrieveRaw(i,u)).value()}async apiSyncPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedSyncRequestToJSON(i.patchedSyncRequest)},u);return new JSONApiResponse(m,f=>SyncFromJSON(f))}async apiSyncPartialUpdate(i,u){return await(await this.apiSyncPartialUpdateRaw(i,u)).value()}async apiSyncRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>SyncFromJSON(f))}async apiSyncRetrieve(i,u){return await(await this.apiSyncRetrieveRaw(i,u)).value()}async apiSyncUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncUpdate().');if(i.syncRequest==null)throw new RequiredError("syncRequest",'Required parameter "syncRequest" was null or undefined when calling apiSyncUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:SyncRequestToJSON(i.syncRequest)},u);return new JSONApiResponse(m,f=>SyncFromJSON(f))}async apiSyncUpdate(i,u){return await(await this.apiSyncUpdateRaw(i,u)).value()}async apiUnitConversionCreateRaw(i,u){if(i.unitConversionRequest==null)throw new RequiredError("unitConversionRequest",'Required parameter "unitConversionRequest" was null or undefined when calling apiUnitConversionCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/",method:"POST",headers:d,query:c,body:UnitConversionRequestToJSON(i.unitConversionRequest)},u);return new JSONApiResponse(m,f=>UnitConversionFromJSON(f))}async apiUnitConversionCreate(i,u){return await(await this.apiUnitConversionCreateRaw(i,u)).value()}async apiUnitConversionDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiUnitConversionDestroy(i,u){await this.apiUnitConversionDestroyRaw(i,u)}async apiUnitConversionListRaw(i,u){const c={};i.foodId!=null&&(c.food_id=i.foodId),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedUnitConversionListFromJSON(f))}async apiUnitConversionList(i={},u){return await(await this.apiUnitConversionListRaw(i,u)).value()}async apiUnitConversionPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedUnitConversionRequestToJSON(i.patchedUnitConversionRequest)},u);return new JSONApiResponse(m,f=>UnitConversionFromJSON(f))}async apiUnitConversionPartialUpdate(i,u){return await(await this.apiUnitConversionPartialUpdateRaw(i,u)).value()}async apiUnitConversionRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UnitConversionFromJSON(f))}async apiUnitConversionRetrieve(i,u){return await(await this.apiUnitConversionRetrieveRaw(i,u)).value()}async apiUnitConversionUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionUpdate().');if(i.unitConversionRequest==null)throw new RequiredError("unitConversionRequest",'Required parameter "unitConversionRequest" was null or undefined when calling apiUnitConversionUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:UnitConversionRequestToJSON(i.unitConversionRequest)},u);return new JSONApiResponse(m,f=>UnitConversionFromJSON(f))}async apiUnitConversionUpdate(i,u){return await(await this.apiUnitConversionUpdateRaw(i,u)).value()}async apiUnitCreateRaw(i,u){if(i.unitRequest==null)throw new RequiredError("unitRequest",'Required parameter "unitRequest" was null or undefined when calling apiUnitCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/",method:"POST",headers:d,query:c,body:UnitRequestToJSON(i.unitRequest)},u);return new JSONApiResponse(m,f=>UnitFromJSON(f))}async apiUnitCreate(i,u){return await(await this.apiUnitCreateRaw(i,u)).value()}async apiUnitDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiUnitDestroy(i,u){await this.apiUnitDestroyRaw(i,u)}async apiUnitListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedUnitListFromJSON(f))}async apiUnitList(i={},u){return await(await this.apiUnitListRaw(i,u)).value()}async apiUnitMergeUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitMergeUpdate().');if(i.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiUnitMergeUpdate().');if(i.unitRequest==null)throw new RequiredError("unitRequest",'Required parameter "unitRequest" was null or undefined when calling apiUnitMergeUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(i.id))).replace("{target}",encodeURIComponent(String(i.target))),method:"PUT",headers:d,query:c,body:UnitRequestToJSON(i.unitRequest)},u);return new JSONApiResponse(m,f=>UnitFromJSON(f))}async apiUnitMergeUpdate(i,u){return await(await this.apiUnitMergeUpdateRaw(i,u)).value()}async apiUnitPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedUnitRequestToJSON(i.patchedUnitRequest)},u);return new JSONApiResponse(m,f=>UnitFromJSON(f))}async apiUnitPartialUpdate(i,u){return await(await this.apiUnitPartialUpdateRaw(i,u)).value()}async apiUnitRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UnitFromJSON(f))}async apiUnitRetrieve(i,u){return await(await this.apiUnitRetrieveRaw(i,u)).value()}async apiUnitUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitUpdate().');if(i.unitRequest==null)throw new RequiredError("unitRequest",'Required parameter "unitRequest" was null or undefined when calling apiUnitUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:UnitRequestToJSON(i.unitRequest)},u);return new JSONApiResponse(m,f=>UnitFromJSON(f))}async apiUnitUpdate(i,u){return await(await this.apiUnitUpdateRaw(i,u)).value()}async apiUserFileCreateRaw(i,u){if(i.name==null)throw new RequiredError("name",'Required parameter "name" was null or undefined when calling apiUserFileCreate().');if(i.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiUserFileCreate().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const f=canConsumeForm([{contentType:"multipart/form-data"}]);let v,g=!1;g=f,g?v=new FormData:v=new URLSearchParams,i.name!=null&&v.append("name",i.name),i.file!=null&&v.append("file",i.file),i.id!=null&&v.append("id",i.id);const y=await this.request({path:"/api/user-file/",method:"POST",headers:d,query:c,body:v},u);return new JSONApiResponse(y,b=>UserFileFromJSON(b))}async apiUserFileCreate(i,u){return await(await this.apiUserFileCreateRaw(i,u)).value()}async apiUserFileDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiUserFileDestroy(i,u){await this.apiUserFileDestroyRaw(i,u)}async apiUserFileListRaw(i,u){const c={};i.limit!=null&&(c.limit=i.limit),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize),i.query!=null&&(c.query=i.query),i.random!=null&&(c.random=i.random),i.updatedAt!=null&&(c.updated_at=i.updatedAt);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-file/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedUserFileListFromJSON(f))}async apiUserFileList(i={},u){return await(await this.apiUserFileListRaw(i,u)).value()}async apiUserFilePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFilePartialUpdate().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const f=canConsumeForm([{contentType:"multipart/form-data"}]);let v,g=!1;g=f,g?v=new FormData:v=new URLSearchParams,i.name!=null&&v.append("name",i.name),i.file!=null&&v.append("file",i.file),i.id2!=null&&v.append("id",i.id2);const y=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:v},u);return new JSONApiResponse(y,b=>UserFileFromJSON(b))}async apiUserFilePartialUpdate(i,u){return await(await this.apiUserFilePartialUpdateRaw(i,u)).value()}async apiUserFileRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UserFileFromJSON(f))}async apiUserFileRetrieve(i,u){return await(await this.apiUserFileRetrieveRaw(i,u)).value()}async apiUserFileUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileUpdate().');if(i.name==null)throw new RequiredError("name",'Required parameter "name" was null or undefined when calling apiUserFileUpdate().');if(i.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiUserFileUpdate().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const f=canConsumeForm([{contentType:"multipart/form-data"}]);let v,g=!1;g=f,g?v=new FormData:v=new URLSearchParams,i.name!=null&&v.append("name",i.name),i.file!=null&&v.append("file",i.file),i.id2!=null&&v.append("id",i.id2);const y=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:v},u);return new JSONApiResponse(y,b=>UserFileFromJSON(b))}async apiUserFileUpdate(i,u){return await(await this.apiUserFileUpdateRaw(i,u)).value()}async apiUserListRaw(i,u){const c={};i.filterList!=null&&(c.filter_list=i.filterList);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>f.map(UserFromJSON))}async apiUserList(i={},u){return await(await this.apiUserListRaw(i,u)).value()}async apiUserPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedUserRequestToJSON(i.patchedUserRequest)},u);return new JSONApiResponse(m,f=>UserFromJSON(f))}async apiUserPartialUpdate(i,u){return await(await this.apiUserPartialUpdateRaw(i,u)).value()}async apiUserPreferenceListRaw(i){const u={},c={};this.configuration&&this.configuration.apiKey&&(c.Authorization=await this.configuration.apiKey("Authorization"));const d=await this.request({path:"/api/user-preference/",method:"GET",headers:c,query:u},i);return new JSONApiResponse(d,m=>m.map(UserPreferenceFromJSON))}async apiUserPreferenceList(i){return await(await this.apiUserPreferenceListRaw(i)).value()}async apiUserPreferencePartialUpdateRaw(i,u){if(i.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiUserPreferencePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(i.user))),method:"PATCH",headers:d,query:c,body:PatchedUserPreferenceRequestToJSON(i.patchedUserPreferenceRequest)},u);return new JSONApiResponse(m,f=>UserPreferenceFromJSON(f))}async apiUserPreferencePartialUpdate(i,u){return await(await this.apiUserPreferencePartialUpdateRaw(i,u)).value()}async apiUserPreferenceRetrieveRaw(i,u){if(i.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiUserPreferenceRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(i.user))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UserPreferenceFromJSON(f))}async apiUserPreferenceRetrieve(i,u){return await(await this.apiUserPreferenceRetrieveRaw(i,u)).value()}async apiUserRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UserFromJSON(f))}async apiUserRetrieve(i,u){return await(await this.apiUserRetrieveRaw(i,u)).value()}async apiUserSpaceDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpaceDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiUserSpaceDestroy(i,u){await this.apiUserSpaceDestroyRaw(i,u)}async apiUserSpaceListRaw(i,u){const c={};i.internalNote!=null&&(c.internal_note=i.internalNote),i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-space/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedUserSpaceListFromJSON(f))}async apiUserSpaceList(i={},u){return await(await this.apiUserSpaceListRaw(i,u)).value()}async apiUserSpacePartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpacePartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedUserSpaceRequestToJSON(i.patchedUserSpaceRequest)},u);return new JSONApiResponse(m,f=>UserSpaceFromJSON(f))}async apiUserSpacePartialUpdate(i,u){return await(await this.apiUserSpacePartialUpdateRaw(i,u)).value()}async apiUserSpaceRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpaceRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>UserSpaceFromJSON(f))}async apiUserSpaceRetrieve(i,u){return await(await this.apiUserSpaceRetrieveRaw(i,u)).value()}async apiViewLogCreateRaw(i,u){if(i.viewLogRequest==null)throw new RequiredError("viewLogRequest",'Required parameter "viewLogRequest" was null or undefined when calling apiViewLogCreate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/",method:"POST",headers:d,query:c,body:ViewLogRequestToJSON(i.viewLogRequest)},u);return new JSONApiResponse(m,f=>ViewLogFromJSON(f))}async apiViewLogCreate(i,u){return await(await this.apiViewLogCreateRaw(i,u)).value()}async apiViewLogDestroyRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogDestroy().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"DELETE",headers:d,query:c},u);return new VoidApiResponse(m)}async apiViewLogDestroy(i,u){await this.apiViewLogDestroyRaw(i,u)}async apiViewLogListRaw(i,u){const c={};i.page!=null&&(c.page=i.page),i.pageSize!=null&&(c.page_size=i.pageSize);const d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/",method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>PaginatedViewLogListFromJSON(f))}async apiViewLogList(i={},u){return await(await this.apiViewLogListRaw(i,u)).value()}async apiViewLogPartialUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogPartialUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PATCH",headers:d,query:c,body:PatchedViewLogRequestToJSON(i.patchedViewLogRequest)},u);return new JSONApiResponse(m,f=>ViewLogFromJSON(f))}async apiViewLogPartialUpdate(i,u){return await(await this.apiViewLogPartialUpdateRaw(i,u)).value()}async apiViewLogRetrieveRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogRetrieve().');const c={},d={};this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"GET",headers:d,query:c},u);return new JSONApiResponse(m,f=>ViewLogFromJSON(f))}async apiViewLogRetrieve(i,u){return await(await this.apiViewLogRetrieveRaw(i,u)).value()}async apiViewLogUpdateRaw(i,u){if(i.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogUpdate().');if(i.viewLogRequest==null)throw new RequiredError("viewLogRequest",'Required parameter "viewLogRequest" was null or undefined when calling apiViewLogUpdate().');const c={},d={};d["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(d.Authorization=await this.configuration.apiKey("Authorization"));const m=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(i.id))),method:"PUT",headers:d,query:c,body:ViewLogRequestToJSON(i.viewLogRequest)},u);return new JSONApiResponse(m,f=>ViewLogFromJSON(f))}async apiViewLogUpdate(i,u){return await(await this.apiViewLogUpdateRaw(i,u)).value()}}const IN_BROWSER=typeof window<"u",SUPPORTS_INTERSECTION=IN_BROWSER&&"IntersectionObserver"in window,SUPPORTS_TOUCH=IN_BROWSER&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function _classPrivateFieldInitSpec(a,i,u){_checkPrivateRedeclaration(a,i),i.set(a,u)}function _checkPrivateRedeclaration(a,i){if(i.has(a))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(a,i,u){return a.set(_assertClassBrand(a,i),u),u}function _classPrivateFieldGet(a,i){return a.get(_assertClassBrand(a,i))}function _assertClassBrand(a,i,u){if(typeof a=="function"?a===i:a.has(i))return arguments.length<3?i:u;throw new TypeError("Private element is not present on this object")}function getNestedValue(a,i,u){const c=i.length-1;if(c<0)return a===void 0?u:a;for(let d=0;d<c;d++){if(a==null)return u;a=a[i[d]]}return a==null||a[i[c]]===void 0?u:a[i[c]]}function deepEqual(a,i){if(a===i)return!0;if(a instanceof Date&&i instanceof Date&&a.getTime()!==i.getTime()||a!==Object(a)||i!==Object(i))return!1;const u=Object.keys(a);return u.length!==Object.keys(i).length?!1:u.every(c=>deepEqual(a[c],i[c]))}function getObjectValueByPath(a,i,u){return a==null||!i||typeof i!="string"?u:a[i]!==void 0?a[i]:(i=i.replace(/\[(\w+)\]/g,".$1"),i=i.replace(/^\./,""),getNestedValue(a,i.split("."),u))}function getPropertyFromItem(a,i,u){if(i===!0)return a===void 0?u:a;if(i==null||typeof i=="boolean")return u;if(a!==Object(a)){if(typeof i!="function")return u;const d=i(a,u);return typeof d>"u"?u:d}if(typeof i=="string")return getObjectValueByPath(a,i,u);if(Array.isArray(i))return getNestedValue(a,i,u);if(typeof i!="function")return u;const c=i(a,u);return typeof c>"u"?u:c}function createRange(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:a},(u,c)=>i+c)}function convertToUnit(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(a==null||a===""))return isNaN(+a)?String(a):isFinite(+a)?`${Number(a)}${i}`:void 0}function isObject$g(a){return a!==null&&typeof a=="object"&&!Array.isArray(a)}function refElement(a){if(a&&"$el"in a){const i=a.$el;return(i==null?void 0:i.nodeType)===Node.TEXT_NODE?i.nextElementSibling:i}return a}const keyCodes=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function keys$9(a){return Object.keys(a)}function has(a,i){return i.every(u=>a.hasOwnProperty(u))}function pick$2(a,i){const u={},c=new Set(Object.keys(a));for(const d of i)c.has(d)&&(u[d]=a[d]);return u}function pickWithRest(a,i,u){const c=Object.create(null),d=Object.create(null);for(const m in a)i.some(f=>f instanceof RegExp?f.test(m):f===m)&&!(u!=null&&u.some(f=>f===m))?c[m]=a[m]:d[m]=a[m];return[c,d]}function omit$1(a,i){const u={...a};return i.forEach(c=>delete u[c]),u}function only(a,i){const u={};return i.forEach(c=>u[c]=a[c]),u}const onRE=/^on[^a-z]/,isOn=a=>onRE.test(a),bubblingEvents=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],compositionIgnoreKeys=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function isComposingIgnoreKey(a){return a.isComposing&&compositionIgnoreKeys.includes(a.key)}function filterInputAttrs(a){const[i,u]=pickWithRest(a,[onRE]),c=omit$1(i,bubblingEvents),[d,m]=pickWithRest(u,["class","style","id",/^data-/]);return Object.assign(d,i),Object.assign(m,c),[d,m]}function wrapInArray(a){return a==null?[]:Array.isArray(a)?a:[a]}function debounce$3(a,i){let u=0;const c=function(){for(var d=arguments.length,m=new Array(d),f=0;f<d;f++)m[f]=arguments[f];clearTimeout(u),u=setTimeout(()=>a(...m),unref(i))};return c.clear=()=>{clearTimeout(u)},c.immediate=a,c}function clamp(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(i,Math.min(u,a))}function padEnd(a,i){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return a+u.repeat(Math.max(0,i-a.length))}function padStart$1(a,i){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,i-a.length))+a}function chunk(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const u=[];let c=0;for(;c<a.length;)u.push(a.substr(c,i)),c+=i;return u}function mergeDeep(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2?arguments[2]:void 0;const c={};for(const d in a)c[d]=a[d];for(const d in i){const m=a[d],f=i[d];if(isObject$g(m)&&isObject$g(f)){c[d]=mergeDeep(m,f,u);continue}if(Array.isArray(m)&&Array.isArray(f)&&u){c[d]=u(m,f);continue}c[d]=f}return c}function flattenFragments(a){return a.map(i=>i.type===Fragment?flattenFragments(i.children):i).flat()}function toKebabCase(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(toKebabCase.cache.has(a))return toKebabCase.cache.get(a);const i=a.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return toKebabCase.cache.set(a,i),i}toKebabCase.cache=new Map;function findChildrenWithProvide(a,i){if(!i||typeof i!="object")return[];if(Array.isArray(i))return i.map(u=>findChildrenWithProvide(a,u)).flat(1);if(Array.isArray(i.children))return i.children.map(u=>findChildrenWithProvide(a,u)).flat(1);if(i.component){if(Object.getOwnPropertySymbols(i.component.provides).includes(a))return[i.component];if(i.component.subTree)return findChildrenWithProvide(a,i.component.subTree).flat(1)}return[]}var _arr=new WeakMap,_pointer=new WeakMap;class CircularBuffer{constructor(i){_classPrivateFieldInitSpec(this,_arr,[]),_classPrivateFieldInitSpec(this,_pointer,0),this.size=i}push(i){_classPrivateFieldGet(_arr,this)[_classPrivateFieldGet(_pointer,this)]=i,_classPrivateFieldSet(_pointer,this,(_classPrivateFieldGet(_pointer,this)+1)%this.size)}values(){return _classPrivateFieldGet(_arr,this).slice(_classPrivateFieldGet(_pointer,this)).concat(_classPrivateFieldGet(_arr,this).slice(0,_classPrivateFieldGet(_pointer,this)))}}function destructComputed(a){const i=reactive({}),u=computed(a);return watchEffect(()=>{for(const c in u.value)i[c]=u.value[c]},{flush:"sync"}),toRefs(i)}function includes$2(a,i){return a.includes(i)}function eventName(a){return a[2].toLowerCase()+a.slice(3)}const EventProp=()=>[Function,Array];function hasEvent(a,i){return i="on"+capitalize$2(i),!!(a[i]||a[`${i}Once`]||a[`${i}Capture`]||a[`${i}OnceCapture`]||a[`${i}CaptureOnce`])}function callEvent(a){for(var i=arguments.length,u=new Array(i>1?i-1:0),c=1;c<i;c++)u[c-1]=arguments[c];if(Array.isArray(a))for(const d of a)d(...u);else typeof a=="function"&&a(...u)}function focusableChildren(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const u=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(c=>`${c}${i?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...a.querySelectorAll(u)]}function getNextElement(a,i,u){let c,d=a.indexOf(document.activeElement);const m=i==="next"?1:-1;do d+=m,c=a[d];while((!c||c.offsetParent==null||!((u==null?void 0:u(c))??!0))&&d<a.length&&d>=0);return c}function focusChild(a,i){var c,d,m,f;const u=focusableChildren(a);if(!i)(a===document.activeElement||!a.contains(document.activeElement))&&((c=u[0])==null||c.focus());else if(i==="first")(d=u[0])==null||d.focus();else if(i==="last")(m=u.at(-1))==null||m.focus();else if(typeof i=="number")(f=u[i])==null||f.focus();else{const v=getNextElement(u,i);v?v.focus():focusChild(a,i==="next"?"first":"last")}}function noop$4(){}function matchesSelector(a,i){if(!(IN_BROWSER&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${i})`)))return null;try{return!!a&&a.matches(i)}catch{return null}}function ensureValidVNode(a){return a.some(i=>isVNode(i)?i.type===Comment?!1:i.type!==Fragment||ensureValidVNode(i.children):!0)?a:null}function defer(a,i){if(!IN_BROWSER||a===0)return i(),()=>{};const u=window.setTimeout(i,a);return()=>window.clearTimeout(u)}function isClickInsideElement(a,i){const u=a.clientX,c=a.clientY,d=i.getBoundingClientRect(),m=d.left,f=d.top,v=d.right,g=d.bottom;return u>=m&&u<=v&&c>=f&&c<=g}const block=["top","bottom"],inline=["start","end","left","right"];function parseAnchor(a,i){let[u,c]=a.split(" ");return c||(c=includes$2(block,u)?"start":includes$2(inline,u)?"top":"center"),{side:toPhysical(u,i),align:toPhysical(c,i)}}function toPhysical(a,i){return a==="start"?i?"right":"left":a==="end"?i?"left":"right":a}function flipSide(a){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[a.side],align:a.align}}function flipAlign(a){return{side:a.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[a.align]}}function flipCorner(a){return{side:a.align,align:a.side}}function getAxis(a){return includes$2(block,a.side)?"y":"x"}class Box{constructor(i){let{x:u,y:c,width:d,height:m}=i;this.x=u,this.y=c,this.width=d,this.height=m}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function getOverflow(a,i){return{x:{before:Math.max(0,i.left-a.left),after:Math.max(0,a.right-i.right)},y:{before:Math.max(0,i.top-a.top),after:Math.max(0,a.bottom-i.bottom)}}}function getTargetBox(a){return Array.isArray(a)?new Box({x:a[0],y:a[1],width:0,height:0}):a.getBoundingClientRect()}function nullifyTransforms(a){const i=a.getBoundingClientRect(),u=getComputedStyle(a),c=u.transform;if(c){let d,m,f,v,g;if(c.startsWith("matrix3d("))d=c.slice(9,-1).split(/, /),m=+d[0],f=+d[5],v=+d[12],g=+d[13];else if(c.startsWith("matrix("))d=c.slice(7,-1).split(/, /),m=+d[0],f=+d[3],v=+d[4],g=+d[5];else return new Box(i);const y=u.transformOrigin,b=i.x-v-(1-m)*parseFloat(y),w=i.y-g-(1-f)*parseFloat(y.slice(y.indexOf(" ")+1)),k=m?i.width/m:a.offsetWidth+1,$=f?i.height/f:a.offsetHeight+1;return new Box({x:b,y:w,width:k,height:$})}else return new Box(i)}function animate(a,i,u){if(typeof a.animate>"u")return{finished:Promise.resolve()};let c;try{c=a.animate(i,u)}catch{return{finished:Promise.resolve()}}return typeof c.finished>"u"&&(c.finished=new Promise(d=>{c.onfinish=()=>{d(c)}})),c}const handlers=new WeakMap;function bindProps(a,i){Object.keys(i).forEach(u=>{if(isOn(u)){const c=eventName(u),d=handlers.get(a);if(i[u]==null)d==null||d.forEach(m=>{const[f,v]=m;f===c&&(a.removeEventListener(c,v),d.delete(m))});else if(!d||![...d].some(m=>m[0]===c&&m[1]===i[u])){a.addEventListener(c,i[u]);const m=d||new Set;m.add([c,i[u]]),handlers.has(a)||handlers.set(a,m)}}else i[u]==null?a.removeAttribute(u):a.setAttribute(u,i[u])})}function unbindProps(a,i){Object.keys(i).forEach(u=>{if(isOn(u)){const c=eventName(u),d=handlers.get(a);d==null||d.forEach(m=>{const[f,v]=m;f===c&&(a.removeEventListener(c,v),d.delete(m))})}else a.removeAttribute(u)})}const mainTRC=2.4,Rco=.2126729,Gco=.7151522,Bco=.072175,normBG=.55,normTXT=.58,revTXT=.57,revBG=.62,blkThrs=.03,blkClmp=1.45,deltaYmin=5e-4,scaleBoW=1.25,scaleWoB=1.25,loConThresh=.078,loConFactor=12.82051282051282,loConOffset=.06,loClip=.001;function APCAcontrast(a,i){const u=(a.r/255)**mainTRC,c=(a.g/255)**mainTRC,d=(a.b/255)**mainTRC,m=(i.r/255)**mainTRC,f=(i.g/255)**mainTRC,v=(i.b/255)**mainTRC;let g=u*Rco+c*Gco+d*Bco,y=m*Rco+f*Gco+v*Bco;if(g<=blkThrs&&(g+=(blkThrs-g)**blkClmp),y<=blkThrs&&(y+=(blkThrs-y)**blkClmp),Math.abs(y-g)<deltaYmin)return 0;let b;if(y>g){const w=(y**normBG-g**normTXT)*scaleBoW;b=w<loClip?0:w<loConThresh?w-w*loConFactor*loConOffset:w-loConOffset}else{const w=(y**revBG-g**revTXT)*scaleWoB;b=w>-loClip?0:w>-loConThresh?w-w*loConFactor*loConOffset:w+loConOffset}return b*100}function consoleWarn(a){}function deprecate$1(a,i){i=Array.isArray(i)?i.slice(0,-1).map(u=>`'${u}'`).join(", ")+` or '${i.at(-1)}'`:`'${i}'`}const delta=.20689655172413793,cielabForwardTransform=a=>a>delta**3?Math.cbrt(a):a/(3*delta**2)+4/29,cielabReverseTransform=a=>a>delta?a**3:3*delta**2*(a-4/29);function fromXYZ$1(a){const i=cielabForwardTransform,u=i(a[1]);return[116*u-16,500*(i(a[0]/.95047)-u),200*(u-i(a[2]/1.08883))]}function toXYZ$1(a){const i=cielabReverseTransform,u=(a[0]+16)/116;return[i(u+a[1]/500)*.95047,i(u),i(u-a[2]/200)*1.08883]}const srgbForwardMatrix=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],srgbForwardTransform=a=>a<=.0031308?a*12.92:1.055*a**(1/2.4)-.055,srgbReverseMatrix=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],srgbReverseTransform=a=>a<=.04045?a/12.92:((a+.055)/1.055)**2.4;function fromXYZ(a){const i=Array(3),u=srgbForwardTransform,c=srgbForwardMatrix;for(let d=0;d<3;++d)i[d]=Math.round(clamp(u(c[d][0]*a[0]+c[d][1]*a[1]+c[d][2]*a[2]))*255);return{r:i[0],g:i[1],b:i[2]}}function toXYZ(a){let{r:i,g:u,b:c}=a;const d=[0,0,0],m=srgbReverseTransform,f=srgbReverseMatrix;i=m(i/255),u=m(u/255),c=m(c/255);for(let v=0;v<3;++v)d[v]=f[v][0]*i+f[v][1]*u+f[v][2]*c;return d}function isCssColor(a){return!!a&&/^(#|var\(--|(rgb|hsl)a?\()/.test(a)}function isParsableColor(a){return isCssColor(a)&&!/^((rgb|hsl)a?\()?var\(--/.test(a)}const cssColorRe=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,mappers={rgb:(a,i,u,c)=>({r:a,g:i,b:u,a:c}),rgba:(a,i,u,c)=>({r:a,g:i,b:u,a:c}),hsl:(a,i,u,c)=>HSLtoRGB({h:a,s:i,l:u,a:c}),hsla:(a,i,u,c)=>HSLtoRGB({h:a,s:i,l:u,a:c}),hsv:(a,i,u,c)=>HSVtoRGB({h:a,s:i,v:u,a:c}),hsva:(a,i,u,c)=>HSVtoRGB({h:a,s:i,v:u,a:c})};function parseColor(a){if(typeof a=="number")return{r:(a&16711680)>>16,g:(a&65280)>>8,b:a&255};if(typeof a=="string"&&cssColorRe.test(a)){const{groups:i}=a.match(cssColorRe),{fn:u,values:c}=i,d=c.split(/,\s*/).map(m=>m.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(u)?parseFloat(m)/100:parseFloat(m));return mappers[u](...d)}else if(typeof a=="string"){let i=a.startsWith("#")?a.slice(1):a;return[3,4].includes(i.length)?i=i.split("").map(u=>u+u).join(""):[6,8].includes(i.length),HexToRGB(i)}else if(typeof a=="object"){if(has(a,["r","g","b"]))return a;if(has(a,["h","s","l"]))return HSVtoRGB(HSLtoHSV(a));if(has(a,["h","s","v"]))return HSVtoRGB(a)}throw new TypeError(`Invalid color: ${a==null?a:String(a)||a.constructor.name}
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function HSVtoRGB(a){const{h:i,s:u,v:c,a:d}=a,m=v=>{const g=(v+i/60)%6;return c-c*u*Math.max(Math.min(g,4-g,1),0)},f=[m(5),m(3),m(1)].map(v=>Math.round(v*255));return{r:f[0],g:f[1],b:f[2],a:d}}function HSLtoRGB(a){return HSVtoRGB(HSLtoHSV(a))}function HSLtoHSV(a){const{h:i,s:u,l:c,a:d}=a,m=c+u*Math.min(c,1-c),f=m===0?0:2-2*c/m;return{h:i,s:f,v:m,a:d}}function toHex(a){const i=Math.round(a).toString(16);return("00".substr(0,2-i.length)+i).toUpperCase()}function RGBtoHex(a){let{r:i,g:u,b:c,a:d}=a;return`#${[toHex(i),toHex(u),toHex(c),d!==void 0?toHex(Math.round(d*255)):""].join("")}`}function HexToRGB(a){a=parseHex(a);let[i,u,c,d]=chunk(a,2).map(m=>parseInt(m,16));return d=d===void 0?d:d/255,{r:i,g:u,b:c,a:d}}function parseHex(a){return a.startsWith("#")&&(a=a.slice(1)),a=a.replace(/([^0-9a-f])/gi,"F"),(a.length===3||a.length===4)&&(a=a.split("").map(i=>i+i).join("")),a.length!==6&&(a=padEnd(padEnd(a,6),8,"F")),a}function lighten(a,i){const u=fromXYZ$1(toXYZ(a));return u[0]=u[0]+i*10,fromXYZ(toXYZ$1(u))}function darken(a,i){const u=fromXYZ$1(toXYZ(a));return u[0]=u[0]-i*10,fromXYZ(toXYZ$1(u))}function getLuma(a){const i=parseColor(a);return toXYZ(i)[1]}function getForeground(a){const i=Math.abs(APCAcontrast(parseColor(0),parseColor(a)));return Math.abs(APCAcontrast(parseColor(16777215),parseColor(a)))>Math.min(i,50)?"#fff":"#000"}function propsFactory(a,i){return u=>Object.keys(a).reduce((c,d)=>{const f=typeof a[d]=="object"&&a[d]!=null&&!Array.isArray(a[d])?a[d]:{type:a[d]};return u&&d in u?c[d]={...f,default:u[d]}:c[d]=f,i&&!c[d].source&&(c[d].source=i),c},{})}const makeComponentProps=propsFactory({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function defineComponent(a){if(a._setup=a._setup??a.setup,!a.name)return a;if(a._setup){a.props=propsFactory(a.props??{},a.name)();const i=Object.keys(a.props).filter(u=>u!=="class"&&u!=="style");a.filterProps=function(c){return pick$2(c,i)},a.props._as=String,a.setup=function(c,d){const m=injectDefaults();if(!m.value)return a._setup(c,d);const{props:f,provideSubDefaults:v}=internalUseDefaults(c,c._as??a.name,m),g=a._setup(f,d);return v(),g}}return a}function genericComponent(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return i=>(a?defineComponent:defineComponent$1)(i)}function createSimpleFunctional(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",u=arguments.length>2?arguments[2]:void 0;return genericComponent()({name:u??capitalize$2(camelize(a.replace(/__/g,"-"))),props:{tag:{type:String,default:i},...makeComponentProps()},setup(c,d){let{slots:m}=d;return()=>{var f;return h(c.tag,{class:[a,c.class],style:c.style},(f=m.default)==null?void 0:f.call(m))}}})}function attachedRoot(a){if(typeof a.getRootNode!="function"){for(;a.parentNode;)a=a.parentNode;return a!==document?null:document}const i=a.getRootNode();return i!==document&&i.getRootNode({composed:!0})!==document?null:i}const standardEasing="cubic-bezier(0.4, 0, 0.2, 1)",deceleratedEasing="cubic-bezier(0.0, 0, 0.2, 1)",acceleratedEasing="cubic-bezier(0.4, 0, 1, 1)";function getCurrentInstance(a,i){const u=getCurrentInstance$1();if(!u)throw new Error(`[Vuetify] ${a} ${i||"must be called from inside a setup function"}`);return u}function getCurrentInstanceName(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const i=getCurrentInstance(a).type;return toKebabCase((i==null?void 0:i.aliasName)||(i==null?void 0:i.name))}let _uid=0,_map=new WeakMap;function getUid(){const a=getCurrentInstance("getUid");if(_map.has(a))return _map.get(a);{const i=_uid++;return _map.set(a,i),i}}getUid.reset=()=>{_uid=0,_map=new WeakMap};function getScrollParent$2(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;a;){if(i?isPotentiallyScrollable(a):hasScrollbar(a))return a;a=a.parentElement}return document.scrollingElement}function getScrollParents(a,i){const u=[];if(i&&a&&!i.contains(a))return u;for(;a&&(hasScrollbar(a)&&u.push(a),a!==i);)a=a.parentElement;return u}function hasScrollbar(a){if(!a||a.nodeType!==Node.ELEMENT_NODE)return!1;const i=window.getComputedStyle(a);return i.overflowY==="scroll"||i.overflowY==="auto"&&a.scrollHeight>a.clientHeight}function isPotentiallyScrollable(a){if(!a||a.nodeType!==Node.ELEMENT_NODE)return!1;const i=window.getComputedStyle(a);return["scroll","auto"].includes(i.overflowY)}function injectSelf(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstance("injectSelf");const{provides:u}=i;if(u&&a in u)return u[a]}function isFixedPosition(a){for(;a;){if(window.getComputedStyle(a).position==="fixed")return!0;a=a.offsetParent}return!1}function useRender(a){const i=getCurrentInstance("useRender");i.render=a}const DefaultsSymbol=Symbol.for("vuetify:defaults");function createDefaults(a){return ref(a)}function injectDefaults(){const a=inject$1(DefaultsSymbol);if(!a)throw new Error("[Vuetify] Could not find defaults instance");return a}function provideDefaults(a,i){const u=injectDefaults(),c=ref(a),d=computed(()=>{if(unref(i==null?void 0:i.disabled))return u.value;const f=unref(i==null?void 0:i.scoped),v=unref(i==null?void 0:i.reset),g=unref(i==null?void 0:i.root);if(c.value==null&&!(f||v||g))return u.value;let y=mergeDeep(c.value,{prev:u.value});if(f)return y;if(v||g){const b=Number(v||1/0);for(let w=0;w<=b&&!(!y||!("prev"in y));w++)y=y.prev;return y&&typeof g=="string"&&g in y&&(y=mergeDeep(mergeDeep(y,{prev:y}),y[g])),y}return y.prev?mergeDeep(y.prev,y):y});return provide(DefaultsSymbol,d),d}function propIsDefined(a,i){var u,c;return typeof((u=a.props)==null?void 0:u[i])<"u"||typeof((c=a.props)==null?void 0:c[toKebabCase(i)])<"u"}function internalUseDefaults(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:injectDefaults();const c=getCurrentInstance("useDefaults");if(i=i??c.type.name??c.type.__name,!i)throw new Error("[Vuetify] Could not determine component name");const d=computed(()=>{var g;return(g=u.value)==null?void 0:g[a._as??i]}),m=new Proxy(a,{get(g,y){var w,k,$,S;const b=Reflect.get(g,y);return y==="class"||y==="style"?[(w=d.value)==null?void 0:w[y],b].filter(C=>C!=null):typeof y=="string"&&!propIsDefined(c.vnode,y)?((k=d.value)==null?void 0:k[y])??((S=($=u.value)==null?void 0:$.global)==null?void 0:S[y])??b:b}}),f=shallowRef();watchEffect(()=>{if(d.value){const g=Object.entries(d.value).filter(y=>{let[b]=y;return b.startsWith(b[0].toUpperCase())});f.value=g.length?Object.fromEntries(g):void 0}else f.value=void 0});function v(){const g=injectSelf(DefaultsSymbol,c);provide(DefaultsSymbol,computed(()=>f.value?mergeDeep((g==null?void 0:g.value)??{},f.value):g==null?void 0:g.value))}return{props:m,provideSubDefaults:v}}const makeVDefaultsProviderProps=propsFactory({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),VDefaultsProvider=genericComponent(!1)({name:"VDefaultsProvider",props:makeVDefaultsProviderProps(),setup(a,i){let{slots:u}=i;const{defaults:c,disabled:d,reset:m,root:f,scoped:v}=toRefs(a);return provideDefaults(c,{reset:m,root:f,scoped:v,disabled:d}),()=>{var g;return(g=u.default)==null?void 0:g.call(u)}}});function useColor(a){return destructComputed(()=>{const i=[],u={};if(a.value.background)if(isCssColor(a.value.background)){if(u.backgroundColor=a.value.background,!a.value.text&&isParsableColor(a.value.background)){const c=parseColor(a.value.background);if(c.a==null||c.a===1){const d=getForeground(c);u.color=d,u.caretColor=d}}}else i.push(`bg-${a.value.background}`);return a.value.text&&(isCssColor(a.value.text)?(u.color=a.value.text,u.caretColor=a.value.text):i.push(`text-${a.value.text}`)),{colorClasses:i,colorStyles:u}})}function useTextColor(a,i){const u=computed(()=>({text:isRef(a)?a.value:i?a[i]:null})),{colorClasses:c,colorStyles:d}=useColor(u);return{textColorClasses:c,textColorStyles:d}}function useBackgroundColor(a,i){const u=computed(()=>({background:isRef(a)?a.value:i?a[i]:null})),{colorClasses:c,colorStyles:d}=useColor(u);return{backgroundColorClasses:c,backgroundColorStyles:d}}const aliases$2={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},mdi={component:a=>h(VClassIcon,{...a,class:"mdi"})},IconValue=[String,Function,Object,Array],IconSymbol=Symbol.for("vuetify:icons"),makeIconProps=propsFactory({icon:{type:IconValue},tag:{type:String,required:!0}},"icon"),VComponentIcon=genericComponent()({name:"VComponentIcon",props:makeIconProps(),setup(a,i){let{slots:u}=i;return()=>{const c=a.icon;return createVNode(a.tag,null,{default:()=>{var d;return[a.icon?createVNode(c,null,null):(d=u.default)==null?void 0:d.call(u)]}})}}}),VSvgIcon=defineComponent({name:"VSvgIcon",inheritAttrs:!1,props:makeIconProps(),setup(a,i){let{attrs:u}=i;return()=>createVNode(a.tag,mergeProps(u,{style:null}),{default:()=>[createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(a.icon)?a.icon.map(c=>Array.isArray(c)?createVNode("path",{d:c[0],"fill-opacity":c[1]},null):createVNode("path",{d:c},null)):createVNode("path",{d:a.icon},null)])]})}});defineComponent({name:"VLigatureIcon",props:makeIconProps(),setup(a){return()=>createVNode(a.tag,null,{default:()=>[a.icon]})}});const VClassIcon=defineComponent({name:"VClassIcon",props:makeIconProps(),setup(a){return()=>createVNode(a.tag,{class:a.icon},null)}});function genDefaults$3(){return{svg:{component:VSvgIcon},class:{component:VClassIcon}}}function createIcons(a){const i=genDefaults$3(),u=(a==null?void 0:a.defaultSet)??"mdi";return u==="mdi"&&!i.mdi&&(i.mdi=mdi),mergeDeep({defaultSet:u,sets:i,aliases:{...aliases$2,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},a)}const useIcon=a=>{const i=inject$1(IconSymbol);if(!i)throw new Error("Missing Vuetify Icons provide!");return{iconData:computed(()=>{var g;const c=unref(a);if(!c)return{component:VComponentIcon};let d=c;if(typeof d=="string"&&(d=d.trim(),d.startsWith("$")&&(d=(g=i.aliases)==null?void 0:g[d.slice(1)])),Array.isArray(d))return{component:VSvgIcon,icon:d};if(typeof d!="string")return{component:VComponentIcon,icon:d};const m=Object.keys(i.sets).find(y=>typeof d=="string"&&d.startsWith(`${y}:`)),f=m?d.slice(m.length+1):d;return{component:i.sets[m??i.defaultSet].component,icon:f}})}},predefinedSizes=["x-small","small","default","large","x-large"],makeSizeProps=propsFactory({size:{type:[String,Number],default:"default"}},"size");function useSize(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return destructComputed(()=>{let u,c;return includes$2(predefinedSizes,a.size)?u=`${i}--size-${a.size}`:a.size&&(c={width:convertToUnit(a.size),height:convertToUnit(a.size)}),{sizeClasses:u,sizeStyles:c}})}const makeTagProps=propsFactory({tag:{type:String,default:"div"}},"tag"),ThemeSymbol=Symbol.for("vuetify:theme"),makeThemeProps=propsFactory({theme:String},"theme");function genDefaults$2(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function parseThemeOptions(){var c,d;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:genDefaults$2();const i=genDefaults$2();if(!a)return{...i,isDisabled:!0};const u={};for(const[m,f]of Object.entries(a.themes??{})){const v=f.dark||m==="dark"?(c=i.themes)==null?void 0:c.dark:(d=i.themes)==null?void 0:d.light;u[m]=mergeDeep(v,f)}return mergeDeep(i,{...a,themes:u})}function createTheme(a){const i=parseThemeOptions(a),u=ref(i.defaultTheme),c=ref(i.themes),d=computed(()=>{const b={};for(const[w,k]of Object.entries(c.value)){const $=b[w]={...k,colors:{...k.colors}};if(i.variations)for(const S of i.variations.colors){const C=$.colors[S];if(C)for(const E of["lighten","darken"]){const D=E==="lighten"?lighten:darken;for(const A of createRange(i.variations[E],1))$.colors[`${S}-${E}-${A}`]=RGBtoHex(D(parseColor(C),A))}}for(const S of Object.keys($.colors)){if(/^on-[a-z]/.test(S)||$.colors[`on-${S}`])continue;const C=`on-${S}`,E=parseColor($.colors[S]);$.colors[C]=getForeground(E)}}return b}),m=computed(()=>d.value[u.value]),f=computed(()=>{var S;const b=[];(S=m.value)!=null&&S.dark&&createCssClass(b,":root",["color-scheme: dark"]),createCssClass(b,":root",genCssVariables(m.value));for(const[C,E]of Object.entries(d.value))createCssClass(b,`.v-theme--${C}`,[`color-scheme: ${E.dark?"dark":"normal"}`,...genCssVariables(E)]);const w=[],k=[],$=new Set(Object.values(d.value).flatMap(C=>Object.keys(C.colors)));for(const C of $)/^on-[a-z]/.test(C)?createCssClass(k,`.${C}`,[`color: rgb(var(--v-theme-${C})) !important`]):(createCssClass(w,`.bg-${C}`,[`--v-theme-overlay-multiplier: var(--v-theme-${C}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${C})) !important`,`color: rgb(var(--v-theme-on-${C})) !important`]),createCssClass(k,`.text-${C}`,[`color: rgb(var(--v-theme-${C})) !important`]),createCssClass(k,`.border-${C}`,[`--v-border-color: var(--v-theme-${C})`]));return b.push(...w,...k),b.map((C,E)=>E===0?C:` ${C}`).join("")});function v(){return{style:[{children:f.value,id:"vuetify-theme-stylesheet",nonce:i.cspNonce||!1}]}}function g(b){if(i.isDisabled)return;const w=b._context.provides.usehead;if(w)if(w.push){const $=w.push(v);IN_BROWSER&&watch(f,()=>{$.patch(v)})}else IN_BROWSER?(w.addHeadObjs(computed(v)),watchEffect(()=>w.updateDOM())):w.addHeadObjs(v());else{let S=function(){if(typeof document<"u"&&!$){const C=document.createElement("style");C.type="text/css",C.id="vuetify-theme-stylesheet",i.cspNonce&&C.setAttribute("nonce",i.cspNonce),$=C,document.head.appendChild($)}$&&($.innerHTML=f.value)};var k=S;let $=IN_BROWSER?document.getElementById("vuetify-theme-stylesheet"):null;IN_BROWSER?watch(f,S,{immediate:!0}):S()}}const y=computed(()=>i.isDisabled?void 0:`v-theme--${u.value}`);return{install:g,isDisabled:i.isDisabled,name:u,themes:c,current:m,computedThemes:d,themeClasses:y,styles:f,global:{name:u,current:m}}}function provideTheme(a){getCurrentInstance("provideTheme");const i=inject$1(ThemeSymbol,null);if(!i)throw new Error("Could not find Vuetify theme injection");const u=computed(()=>a.theme??i.name.value),c=computed(()=>i.themes.value[u.value]),d=computed(()=>i.isDisabled?void 0:`v-theme--${u.value}`),m={...i,name:u,current:c,themeClasses:d};return provide(ThemeSymbol,m),m}function useTheme(){getCurrentInstance("useTheme");const a=inject$1(ThemeSymbol,null);if(!a)throw new Error("Could not find Vuetify theme injection");return a}function createCssClass(a,i,u){a.push(`${i} {
`,...u.map(c=>` ${c};
`),`}
`)}function genCssVariables(a){const i=a.dark?2:1,u=a.dark?1:2,c=[];for(const[d,m]of Object.entries(a.colors)){const f=parseColor(m);c.push(`--v-theme-${d}: ${f.r},${f.g},${f.b}`),d.startsWith("on-")||c.push(`--v-theme-${d}-overlay-multiplier: ${getLuma(m)>.18?i:u}`)}for(const[d,m]of Object.entries(a.variables)){const f=typeof m=="string"&&m.startsWith("#")?parseColor(m):void 0,v=f?`${f.r}, ${f.g}, ${f.b}`:void 0;c.push(`--v-${d}: ${v??m}`)}return c}const makeVIconProps=propsFactory({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:IconValue,...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"i"}),...makeThemeProps()},"VIcon"),VIcon=genericComponent()({name:"VIcon",props:makeVIconProps(),setup(a,i){let{attrs:u,slots:c}=i;const d=ref(),{themeClasses:m}=provideTheme(a),{iconData:f}=useIcon(computed(()=>d.value||a.icon)),{sizeClasses:v}=useSize(a),{textColorClasses:g,textColorStyles:y}=useTextColor(toRef(a,"color"));return useRender(()=>{var k,$;const b=(k=c.default)==null?void 0:k.call(c);b&&(d.value=($=flattenFragments(b).filter(S=>S.type===Text&&S.children&&typeof S.children=="string")[0])==null?void 0:$.children);const w=!!(u.onClick||u.onClickOnce);return createVNode(f.value.component,{tag:a.tag,icon:f.value.icon,class:["v-icon","notranslate",m.value,v.value,g.value,{"v-icon--clickable":w,"v-icon--disabled":a.disabled,"v-icon--start":a.start,"v-icon--end":a.end},a.class],style:[v.value?void 0:{fontSize:convertToUnit(a.size),height:convertToUnit(a.size),width:convertToUnit(a.size)},y.value,a.style],role:w?"button":void 0,"aria-hidden":!w,tabindex:w?a.disabled?-1:0:void 0},{default:()=>[b]})}),{}}}),makeDimensionProps=propsFactory({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function useDimension(a){return{dimensionStyles:computed(()=>({height:convertToUnit(a.height),maxHeight:convertToUnit(a.maxHeight),maxWidth:convertToUnit(a.maxWidth),minHeight:convertToUnit(a.minHeight),minWidth:convertToUnit(a.minWidth),width:convertToUnit(a.width)}))}}function useAspectStyles(a){return{aspectStyles:computed(()=>{const i=Number(a.aspectRatio);return i?{paddingBottom:String(1/i*100)+"%"}:void 0})}}const makeVResponsiveProps=propsFactory({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...makeComponentProps(),...makeDimensionProps()},"VResponsive"),VResponsive=genericComponent()({name:"VResponsive",props:makeVResponsiveProps(),setup(a,i){let{slots:u}=i;const{aspectStyles:c}=useAspectStyles(a),{dimensionStyles:d}=useDimension(a);return useRender(()=>{var m;return createVNode("div",{class:["v-responsive",{"v-responsive--inline":a.inline},a.class],style:[d.value,a.style]},[createVNode("div",{class:"v-responsive__sizer",style:c.value},null),(m=u.additional)==null?void 0:m.call(u),u.default&&createVNode("div",{class:["v-responsive__content",a.contentClass]},[u.default()])])}),{}}}),makeRoundedProps=propsFactory({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function useRounded(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{roundedClasses:computed(()=>{const c=isRef(a)?a.value:a.rounded,d=isRef(a)?a.value:a.tile,m=[];if(c===!0||c==="")m.push(`${i}--rounded`);else if(typeof c=="string"||c===0)for(const f of String(c).split(" "))m.push(`rounded-${f}`);else(d||c===!1)&&m.push("rounded-0");return m})}}const makeTransitionProps$1=propsFactory({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:a=>a!==!0}},"transition"),MaybeTransition=(a,i)=>{let{slots:u}=i;const{transition:c,disabled:d,group:m,...f}=a,{component:v=m?TransitionGroup:Transition,...g}=typeof c=="object"?c:{};return h(v,mergeProps(typeof c=="string"?{name:d?"":c}:g,typeof c=="string"?{}:Object.fromEntries(Object.entries({disabled:d,group:m}).filter(y=>{let[b,w]=y;return w!==void 0})),f),u)};function mounted$2(a,i){if(!SUPPORTS_INTERSECTION)return;const u=i.modifiers||{},c=i.value,{handler:d,options:m}=typeof c=="object"?c:{handler:c,options:{}},f=new IntersectionObserver(function(){var w;let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g=arguments.length>1?arguments[1]:void 0;const y=(w=a._observe)==null?void 0:w[i.instance.$.uid];if(!y)return;const b=v.some(k=>k.isIntersecting);d&&(!u.quiet||y.init)&&(!u.once||b||y.init)&&d(b,v,g),b&&u.once?unmounted$2(a,i):y.init=!0},m);a._observe=Object(a._observe),a._observe[i.instance.$.uid]={init:!1,observer:f},f.observe(a)}function unmounted$2(a,i){var c;const u=(c=a._observe)==null?void 0:c[i.instance.$.uid];u&&(u.observer.unobserve(a),delete a._observe[i.instance.$.uid])}const Intersect={mounted:mounted$2,unmounted:unmounted$2},Intersect$1=Intersect,makeVImgProps=propsFactory({alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...makeVResponsiveProps(),...makeComponentProps(),...makeRoundedProps(),...makeTransitionProps$1()},"VImg"),VImg=genericComponent()({name:"VImg",directives:{intersect:Intersect$1},props:makeVImgProps(),emits:{loadstart:a=>!0,load:a=>!0,error:a=>!0},setup(a,i){let{emit:u,slots:c}=i;const{backgroundColorClasses:d,backgroundColorStyles:m}=useBackgroundColor(toRef(a,"color")),{roundedClasses:f}=useRounded(a),v=getCurrentInstance("VImg"),g=shallowRef(""),y=ref(),b=shallowRef(a.eager?"loading":"idle"),w=shallowRef(),k=shallowRef(),$=computed(()=>a.src&&typeof a.src=="object"?{src:a.src.src,srcset:a.srcset||a.src.srcset,lazySrc:a.lazySrc||a.src.lazySrc,aspect:Number(a.aspectRatio||a.src.aspect||0)}:{src:a.src,srcset:a.srcset,lazySrc:a.lazySrc,aspect:Number(a.aspectRatio||0)}),S=computed(()=>$.value.aspect||w.value/k.value||0);watch(()=>a.src,()=>{C(b.value!=="idle")}),watch(S,(j,ee)=>{!j&&ee&&y.value&&F(y.value)}),onBeforeMount(()=>C());function C(j){if(!(a.eager&&j)&&!(SUPPORTS_INTERSECTION&&!j&&!a.eager)){if(b.value="loading",$.value.lazySrc){const ee=new Image;ee.src=$.value.lazySrc,F(ee,null)}$.value.src&&nextTick(()=>{var ee;u("loadstart",((ee=y.value)==null?void 0:ee.currentSrc)||$.value.src),setTimeout(()=>{var G;if(!v.isUnmounted)if((G=y.value)!=null&&G.complete){if(y.value.naturalWidth||D(),b.value==="error")return;S.value||F(y.value,null),b.value==="loading"&&E()}else S.value||F(y.value),A()})})}}function E(){var j;v.isUnmounted||(A(),F(y.value),b.value="loaded",u("load",((j=y.value)==null?void 0:j.currentSrc)||$.value.src))}function D(){var j;v.isUnmounted||(b.value="error",u("error",((j=y.value)==null?void 0:j.currentSrc)||$.value.src))}function A(){const j=y.value;j&&(g.value=j.currentSrc||j.src)}let O=-1;onBeforeUnmount(()=>{clearTimeout(O)});function F(j){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const G=()=>{if(clearTimeout(O),v.isUnmounted)return;const{naturalHeight:J,naturalWidth:te}=j;J||te?(w.value=te,k.value=J):!j.complete&&b.value==="loading"&&ee!=null?O=window.setTimeout(G,ee):(j.currentSrc.endsWith(".svg")||j.currentSrc.startsWith("data:image/svg+xml"))&&(w.value=1,k.value=1)};G()}const B=computed(()=>({"v-img__img--cover":a.cover,"v-img__img--contain":!a.cover})),I=()=>{var G;if(!$.value.src||b.value==="idle")return null;const j=createVNode("img",{class:["v-img__img",B.value],style:{objectPosition:a.position},src:$.value.src,srcset:$.value.srcset,alt:a.alt,crossorigin:a.crossorigin,referrerpolicy:a.referrerpolicy,draggable:a.draggable,sizes:a.sizes,ref:y,onLoad:E,onError:D},null),ee=(G=c.sources)==null?void 0:G.call(c);return createVNode(MaybeTransition,{transition:a.transition,appear:!0},{default:()=>[withDirectives(ee?createVNode("picture",{class:"v-img__picture"},[ee,j]):j,[[vShow,b.value==="loaded"]])]})},M=()=>createVNode(MaybeTransition,{transition:a.transition},{default:()=>[$.value.lazySrc&&b.value!=="loaded"&&createVNode("img",{class:["v-img__img","v-img__img--preload",B.value],style:{objectPosition:a.position},src:$.value.lazySrc,alt:a.alt,crossorigin:a.crossorigin,referrerpolicy:a.referrerpolicy,draggable:a.draggable},null)]}),z=()=>c.placeholder?createVNode(MaybeTransition,{transition:a.transition,appear:!0},{default:()=>[(b.value==="loading"||b.value==="error"&&!c.error)&&createVNode("div",{class:"v-img__placeholder"},[c.placeholder()])]}):null,q=()=>c.error?createVNode(MaybeTransition,{transition:a.transition,appear:!0},{default:()=>[b.value==="error"&&createVNode("div",{class:"v-img__error"},[c.error()])]}):null,H=()=>a.gradient?createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${a.gradient})`}},null):null,Q=shallowRef(!1);{const j=watch(S,ee=>{ee&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{Q.value=!0})}),j())})}return useRender(()=>{const j=VResponsive.filterProps(a);return withDirectives(createVNode(VResponsive,mergeProps({class:["v-img",{"v-img--booting":!Q.value},d.value,f.value,a.class],style:[{width:convertToUnit(a.width==="auto"?w.value:a.width)},m.value,a.style]},j,{aspectRatio:S.value,"aria-label":a.alt,role:a.alt?"img":void 0}),{additional:()=>createVNode(Fragment,null,[createVNode(I,null,null),createVNode(M,null,null),createVNode(H,null,null),createVNode(z,null,null),createVNode(q,null,null)]),default:c.default}),[[resolveDirective("intersect"),{handler:C,options:a.options},null,{once:!0}]])}),{currentSrc:g,image:y,state:b,naturalWidth:w,naturalHeight:k}}}),allowedDensities$1=[null,"default","comfortable","compact"],makeDensityProps=propsFactory({density:{type:String,default:"default",validator:a=>allowedDensities$1.includes(a)}},"density");function useDensity(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{densityClasses:computed(()=>`${i}--density-${a.density}`)}}const allowedVariants$2=["elevated","flat","tonal","outlined","text","plain"];function genOverlays(a,i){return createVNode(Fragment,null,[a&&createVNode("span",{key:"overlay",class:`${i}__overlay`},null),createVNode("span",{key:"underlay",class:`${i}__underlay`},null)])}const makeVariantProps=propsFactory({color:String,variant:{type:String,default:"elevated",validator:a=>allowedVariants$2.includes(a)}},"variant");function useVariant(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const u=computed(()=>{const{variant:m}=unref(a);return`${i}--variant-${m}`}),{colorClasses:c,colorStyles:d}=useColor(computed(()=>{const{variant:m,color:f}=unref(a);return{[["elevated","flat"].includes(m)?"background":"text"]:f}}));return{colorClasses:c,colorStyles:d,variantClasses:u}}const makeVAvatarProps=propsFactory({start:Boolean,end:Boolean,icon:IconValue,image:String,text:String,...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAvatar"),VAvatar=genericComponent()({name:"VAvatar",props:makeVAvatarProps(),setup(a,i){let{slots:u}=i;const{themeClasses:c}=provideTheme(a),{colorClasses:d,colorStyles:m,variantClasses:f}=useVariant(a),{densityClasses:v}=useDensity(a),{roundedClasses:g}=useRounded(a),{sizeClasses:y,sizeStyles:b}=useSize(a);return useRender(()=>createVNode(a.tag,{class:["v-avatar",{"v-avatar--start":a.start,"v-avatar--end":a.end},c.value,d.value,v.value,g.value,y.value,f.value,a.class],style:[m.value,b.value,a.style]},{default:()=>[u.default?createVNode(VDefaultsProvider,{key:"content-defaults",defaults:{VImg:{cover:!0,image:a.image},VIcon:{icon:a.icon}}},{default:()=>[u.default()]}):a.image?createVNode(VImg,{key:"image",src:a.image,alt:"",cover:!0},null):a.icon?createVNode(VIcon,{key:"icon",icon:a.icon},null):a.text,genOverlays(!1,"v-avatar")]})),{}}}),makeBorderProps=propsFactory({border:[Boolean,Number,String]},"border");function useBorder(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{borderClasses:computed(()=>{const c=isRef(a)?a.value:a.border,d=[];if(c===!0||c==="")d.push(`${i}--border`);else if(typeof c=="string"||c===0)for(const m of String(c).split(" "))d.push(`border-${m}`);return d})}}const makeElevationProps=propsFactory({elevation:{type:[Number,String],validator(a){const i=parseInt(a);return!isNaN(i)&&i>=0&&i<=24}}},"elevation");function useElevation(a){return{elevationClasses:computed(()=>{const u=isRef(a)?a.value:a.elevation,c=[];return u==null||c.push(`elevation-${u}`),c})}}const makeVBtnGroupProps=propsFactory({divided:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps()},"VBtnGroup"),VBtnGroup=genericComponent()({name:"VBtnGroup",props:makeVBtnGroupProps(),setup(a,i){let{slots:u}=i;const{themeClasses:c}=provideTheme(a),{densityClasses:d}=useDensity(a),{borderClasses:m}=useBorder(a),{elevationClasses:f}=useElevation(a),{roundedClasses:v}=useRounded(a);provideDefaults({VBtn:{height:"auto",color:toRef(a,"color"),density:toRef(a,"density"),flat:!0,variant:toRef(a,"variant")}}),useRender(()=>createVNode(a.tag,{class:["v-btn-group",{"v-btn-group--divided":a.divided},c.value,m.value,d.value,f.value,v.value,a.class],style:a.style},u))}});function useToggleScope(a,i){let u;function c(){u=effectScope(),u.run(()=>i.length?i(()=>{u==null||u.stop(),c()}):i())}watch(a,d=>{d&&!u?c():d||(u==null||u.stop(),u=void 0)},{immediate:!0}),onScopeDispose(()=>{u==null||u.stop()})}function useProxiedModel(a,i,u){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:w=>w,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:w=>w;const m=getCurrentInstance("useProxiedModel"),f=ref(a[i]!==void 0?a[i]:u),v=toKebabCase(i),y=computed(v!==i?()=>{var w,k,$,S;return a[i],!!(((w=m.vnode.props)!=null&&w.hasOwnProperty(i)||(k=m.vnode.props)!=null&&k.hasOwnProperty(v))&&(($=m.vnode.props)!=null&&$.hasOwnProperty(`onUpdate:${i}`)||(S=m.vnode.props)!=null&&S.hasOwnProperty(`onUpdate:${v}`)))}:()=>{var w,k;return a[i],!!((w=m.vnode.props)!=null&&w.hasOwnProperty(i)&&((k=m.vnode.props)!=null&&k.hasOwnProperty(`onUpdate:${i}`)))});useToggleScope(()=>!y.value,()=>{watch(()=>a[i],w=>{f.value=w})});const b=computed({get(){const w=a[i];return c(y.value?w:f.value)},set(w){const k=d(w),$=toRaw(y.value?a[i]:f.value);$===k||c($)===w||(f.value=k,m==null||m.emit(`update:${i}`,k))}});return Object.defineProperty(b,"externalValue",{get:()=>y.value?a[i]:f.value}),b}const makeGroupProps=propsFactory({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),makeGroupItemProps=propsFactory({value:null,disabled:Boolean,selectedClass:String},"group-item");function useGroupItem(a,i){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const c=getCurrentInstance("useGroupItem");if(!c)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const d=getUid();provide(Symbol.for(`${i.description}:id`),d);const m=inject$1(i,null);if(!m){if(!u)return m;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${i.description}`)}const f=toRef(a,"value"),v=computed(()=>!!(m.disabled.value||a.disabled));m.register({id:d,value:f,disabled:v},c),onBeforeUnmount(()=>{m.unregister(d)});const g=computed(()=>m.isSelected(d)),y=computed(()=>g.value&&[m.selectedClass.value,a.selectedClass]);return watch(g,b=>{c.emit("group:selected",{value:b})},{flush:"sync"}),{id:d,isSelected:g,toggle:()=>m.select(d,!g.value),select:b=>m.select(d,b),selectedClass:y,value:f,disabled:v,group:m}}function useGroup(a,i){let u=!1;const c=reactive([]),d=useProxiedModel(a,"modelValue",[],k=>k==null?[]:getIds(c,wrapInArray(k)),k=>{const $=getValues(c,k);return a.multiple?$:$[0]}),m=getCurrentInstance("useGroup");function f(k,$){const S=k,C=Symbol.for(`${i.description}:id`),D=findChildrenWithProvide(C,m==null?void 0:m.vnode).indexOf($);unref(S.value)==null&&(S.value=D),D>-1?c.splice(D,0,S):c.push(S)}function v(k){if(u)return;g();const $=c.findIndex(S=>S.id===k);c.splice($,1)}function g(){const k=c.find($=>!$.disabled);k&&a.mandatory==="force"&&!d.value.length&&(d.value=[k.id])}onMounted(()=>{g()}),onBeforeUnmount(()=>{u=!0});function y(k,$){const S=c.find(C=>C.id===k);if(!($&&(S!=null&&S.disabled)))if(a.multiple){const C=d.value.slice(),E=C.findIndex(A=>A===k),D=~E;if($=$??!D,D&&a.mandatory&&C.length<=1||!D&&a.max!=null&&C.length+1>a.max)return;E<0&&$?C.push(k):E>=0&&!$&&C.splice(E,1),d.value=C}else{const C=d.value.includes(k);if(a.mandatory&&C)return;d.value=$??!C?[k]:[]}}function b(k){if(a.multiple,d.value.length){const $=d.value[0],S=c.findIndex(D=>D.id===$);let C=(S+k)%c.length,E=c[C];for(;E.disabled&&C!==S;)C=(C+k)%c.length,E=c[C];if(E.disabled)return;d.value=[c[C].id]}else{const $=c.find(S=>!S.disabled);$&&(d.value=[$.id])}}const w={register:f,unregister:v,selected:d,select:y,disabled:toRef(a,"disabled"),prev:()=>b(c.length-1),next:()=>b(1),isSelected:k=>d.value.includes(k),selectedClass:computed(()=>a.selectedClass),items:computed(()=>c),getItemIndex:k=>getItemIndex(c,k)};return provide(i,w),w}function getItemIndex(a,i){const u=getIds(a,[i]);return u.length?a.findIndex(c=>c.id===u[0]):-1}function getIds(a,i){const u=[];return i.forEach(c=>{const d=a.find(f=>deepEqual(c,f.value)),m=a[c];(d==null?void 0:d.value)!=null?u.push(d.id):m!=null&&u.push(m.id)}),u}function getValues(a,i){const u=[];return i.forEach(c=>{const d=a.findIndex(m=>m.id===c);if(~d){const m=a[d];u.push(m.value!=null?m.value:d)}}),u}const VBtnToggleSymbol=Symbol.for("vuetify:v-btn-toggle"),makeVBtnToggleProps=propsFactory({...makeVBtnGroupProps(),...makeGroupProps()},"VBtnToggle");genericComponent()({name:"VBtnToggle",props:makeVBtnToggleProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{isSelected:c,next:d,prev:m,select:f,selected:v}=useGroup(a,VBtnToggleSymbol);return useRender(()=>{const g=VBtnGroup.filterProps(a);return createVNode(VBtnGroup,mergeProps({class:["v-btn-toggle",a.class]},g,{style:a.style}),{default:()=>{var y;return[(y=u.default)==null?void 0:y.call(u,{isSelected:c,next:d,prev:m,select:f,selected:v})]}})}),{next:d,prev:m,select:f}}});function useIntersectionObserver(a,i){const u=ref(),c=shallowRef(!1);if(SUPPORTS_INTERSECTION){const d=new IntersectionObserver(m=>{a==null||a(m,d),c.value=!!m.find(f=>f.isIntersecting)},i);onBeforeUnmount(()=>{d.disconnect()}),watch(u,(m,f)=>{f&&(d.unobserve(f),c.value=!1),m&&d.observe(m)},{flush:"post"})}return{intersectionRef:u,isIntersecting:c}}function useResizeObserver(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const u=ref(),c=ref();if(IN_BROWSER){const d=new ResizeObserver(m=>{a==null||a(m,d),m.length&&(i==="content"?c.value=m[0].contentRect:c.value=m[0].target.getBoundingClientRect())});onBeforeUnmount(()=>{d.disconnect()}),watch(u,(m,f)=>{f&&(d.unobserve(refElement(f)),c.value=void 0),m&&d.observe(refElement(m))},{flush:"post"})}return{resizeRef:u,contentRect:readonly(c)}}const makeVProgressCircularProps=propsFactory({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"div"}),...makeThemeProps()},"VProgressCircular"),VProgressCircular=genericComponent()({name:"VProgressCircular",props:makeVProgressCircularProps(),setup(a,i){let{slots:u}=i;const c=20,d=2*Math.PI*c,m=ref(),{themeClasses:f}=provideTheme(a),{sizeClasses:v,sizeStyles:g}=useSize(a),{textColorClasses:y,textColorStyles:b}=useTextColor(toRef(a,"color")),{textColorClasses:w,textColorStyles:k}=useTextColor(toRef(a,"bgColor")),{intersectionRef:$,isIntersecting:S}=useIntersectionObserver(),{resizeRef:C,contentRect:E}=useResizeObserver(),D=computed(()=>Math.max(0,Math.min(100,parseFloat(a.modelValue)))),A=computed(()=>Number(a.width)),O=computed(()=>g.value?Number(a.size):E.value?E.value.width:Math.max(A.value,32)),F=computed(()=>c/(1-A.value/O.value)*2),B=computed(()=>A.value/O.value*F.value),I=computed(()=>convertToUnit((100-D.value)/100*d));return watchEffect(()=>{$.value=m.value,C.value=m.value}),useRender(()=>createVNode(a.tag,{ref:m,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!a.indeterminate,"v-progress-circular--visible":S.value,"v-progress-circular--disable-shrink":a.indeterminate==="disable-shrink"},f.value,v.value,y.value,a.class],style:[g.value,b.value,a.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":a.indeterminate?void 0:D.value},{default:()=>[createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(a.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${F.value} ${F.value}`},[createVNode("circle",{class:["v-progress-circular__underlay",w.value],style:k.value,fill:"transparent",cx:"50%",cy:"50%",r:c,"stroke-width":B.value,"stroke-dasharray":d,"stroke-dashoffset":0},null),createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:c,"stroke-width":B.value,"stroke-dasharray":d,"stroke-dashoffset":I.value},null)]),u.default&&createVNode("div",{class:"v-progress-circular__content"},[u.default({value:D.value})])]})),{}}}),en$1={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},LANG_PREFIX="$vuetify.",replace=(a,i)=>a.replace(/\{(\d+)\}/g,(u,c)=>String(i[+c])),createTranslateFunction=(a,i,u)=>function(c){for(var d=arguments.length,m=new Array(d>1?d-1:0),f=1;f<d;f++)m[f-1]=arguments[f];if(!c.startsWith(LANG_PREFIX))return replace(c,m);const v=c.replace(LANG_PREFIX,""),g=a.value&&u.value[a.value],y=i.value&&u.value[i.value];let b=getObjectValueByPath(g,v,null);return b||(`${c}${a.value}`,b=getObjectValueByPath(y,v,null)),b||(b=c),typeof b!="string"&&(b=c),replace(b,m)};function createNumberFunction(a,i){return(u,c)=>new Intl.NumberFormat([a.value,i.value],c).format(u)}function useProvided(a,i,u){const c=useProxiedModel(a,i,a[i]??u.value);return c.value=a[i]??u.value,watch(u,d=>{a[i]==null&&(c.value=u.value)}),c}function createProvideFunction(a){return i=>{const u=useProvided(i,"locale",a.current),c=useProvided(i,"fallback",a.fallback),d=useProvided(i,"messages",a.messages);return{name:"vuetify",current:u,fallback:c,messages:d,t:createTranslateFunction(u,c,d),n:createNumberFunction(u,c),provide:createProvideFunction({current:u,fallback:c,messages:d})}}}function createVuetifyAdapter(a){const i=shallowRef((a==null?void 0:a.locale)??"en"),u=shallowRef((a==null?void 0:a.fallback)??"en"),c=ref({en:en$1,...a==null?void 0:a.messages});return{name:"vuetify",current:i,fallback:u,messages:c,t:createTranslateFunction(i,u,c),n:createNumberFunction(i,u),provide:createProvideFunction({current:i,fallback:u,messages:c})}}const LocaleSymbol=Symbol.for("vuetify:locale");function isLocaleInstance(a){return a.name!=null}function createLocale(a){const i=a!=null&&a.adapter&&isLocaleInstance(a==null?void 0:a.adapter)?a==null?void 0:a.adapter:createVuetifyAdapter(a),u=createRtl(i,a);return{...i,...u}}function useLocale(){const a=inject$1(LocaleSymbol);if(!a)throw new Error("[Vuetify] Could not find injected locale instance");return a}function genDefaults$1(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function createRtl(a,i){const u=ref((i==null?void 0:i.rtl)??genDefaults$1()),c=computed(()=>u.value[a.current.value]??!1);return{isRtl:c,rtl:u,rtlClasses:computed(()=>`v-locale--is-${c.value?"rtl":"ltr"}`)}}function useRtl(){const a=inject$1(LocaleSymbol);if(!a)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:a.isRtl,rtlClasses:a.rtlClasses}}const makeVProgressLinearProps=propsFactory({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...makeComponentProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VProgressLinear"),VProgressLinear=genericComponent()({name:"VProgressLinear",props:makeVProgressLinearProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),{isRtl:d,rtlClasses:m}=useRtl(),{themeClasses:f}=provideTheme(a),{textColorClasses:v,textColorStyles:g}=useTextColor(a,"color"),{backgroundColorClasses:y,backgroundColorStyles:b}=useBackgroundColor(computed(()=>a.bgColor||a.color)),{backgroundColorClasses:w,backgroundColorStyles:k}=useBackgroundColor(a,"color"),{roundedClasses:$}=useRounded(a),{intersectionRef:S,isIntersecting:C}=useIntersectionObserver(),E=computed(()=>parseInt(a.max,10)),D=computed(()=>parseInt(a.height,10)),A=computed(()=>parseFloat(a.bufferValue)/E.value*100),O=computed(()=>parseFloat(c.value)/E.value*100),F=computed(()=>d.value!==a.reverse),B=computed(()=>a.indeterminate?"fade-transition":"slide-x-transition"),I=computed(()=>a.bgOpacity==null?a.bgOpacity:parseFloat(a.bgOpacity));function M(z){if(!S.value)return;const{left:q,right:H,width:Q}=S.value.getBoundingClientRect(),j=F.value?Q-z.clientX+(H-Q):z.clientX-q;c.value=Math.round(j/Q*E.value)}return useRender(()=>createVNode(a.tag,{ref:S,class:["v-progress-linear",{"v-progress-linear--absolute":a.absolute,"v-progress-linear--active":a.active&&C.value,"v-progress-linear--reverse":F.value,"v-progress-linear--rounded":a.rounded,"v-progress-linear--rounded-bar":a.roundedBar,"v-progress-linear--striped":a.striped},$.value,f.value,m.value,a.class],style:[{height:a.active?convertToUnit(D.value):0,"--v-progress-linear-height":convertToUnit(D.value)},a.style],role:"progressbar","aria-hidden":a.active?"false":"true","aria-valuemin":"0","aria-valuemax":a.max,"aria-valuenow":a.indeterminate?void 0:O.value,onClick:a.clickable&&M},{default:()=>[a.stream&&createVNode("div",{key:"stream",class:["v-progress-linear__stream",v.value],style:{...g.value,[F.value?"left":"right"]:convertToUnit(-D.value),borderTop:`${convertToUnit(D.value/2)} dotted`,opacity:I.value,top:`calc(50% - ${convertToUnit(D.value/4)})`,width:convertToUnit(100-A.value,"%"),"--v-progress-linear-stream-to":convertToUnit(D.value*(F.value?1:-1))}},null),createVNode("div",{class:["v-progress-linear__background",y.value],style:[b.value,{opacity:I.value,width:convertToUnit(a.stream?A.value:100,"%")}]},null),createVNode(Transition,{name:B.value},{default:()=>[a.indeterminate?createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(z=>createVNode("div",{key:z,class:["v-progress-linear__indeterminate",z,w.value],style:k.value},null))]):createVNode("div",{class:["v-progress-linear__determinate",w.value],style:[k.value,{width:convertToUnit(O.value,"%")}]},null)]}),u.default&&createVNode("div",{class:"v-progress-linear__content"},[u.default({value:O.value,buffer:A.value})])]})),{}}}),makeLoaderProps=propsFactory({loading:[Boolean,String]},"loader");function useLoader(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{loaderClasses:computed(()=>({[`${i}--loading`]:a.loading}))}}function LoaderSlot(a,i){var c;let{slots:u}=i;return createVNode("div",{class:`${a.name}__loader`},[((c=u.default)==null?void 0:c.call(u,{color:a.color,isActive:a.active}))||createVNode(VProgressLinear,{absolute:a.absolute,active:a.active,color:a.color,height:"2",indeterminate:!0},null)])}const oppositeMap={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},makeLocationProps=propsFactory({location:String},"location");function useLocation(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2?arguments[2]:void 0;const{isRtl:c}=useRtl();return{locationStyles:computed(()=>{if(!a.location)return{};const{side:m,align:f}=parseAnchor(a.location.split(" ").length>1?a.location:`${a.location} center`,c.value);function v(y){return u?u(y):0}const g={};return m!=="center"&&(i?g[oppositeMap[m]]=`calc(100% - ${v(m)}px)`:g[m]=0),f!=="center"?i?g[oppositeMap[f]]=`calc(100% - ${v(f)}px)`:g[f]=0:(m==="center"?g.top=g.left="50%":g[{top:"left",bottom:"left",left:"top",right:"top"}[m]]="50%",g.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[m]),g})}}const positionValues=["static","relative","fixed","absolute","sticky"],makePositionProps=propsFactory({position:{type:String,validator:a=>positionValues.includes(a)}},"position");function usePosition(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{positionClasses:computed(()=>a.position?`${i}--${a.position}`:void 0)}}function useRoute(){const a=getCurrentInstance("useRoute");return computed(()=>{var i;return(i=a==null?void 0:a.proxy)==null?void 0:i.$route})}function useRouter(){var a,i;return(i=(a=getCurrentInstance("useRouter"))==null?void 0:a.proxy)==null?void 0:i.$router}function useLink(a,i){var y,b;const u=resolveDynamicComponent("RouterLink"),c=computed(()=>!!(a.href||a.to)),d=computed(()=>(c==null?void 0:c.value)||hasEvent(i,"click")||hasEvent(a,"click"));if(typeof u=="string"||!("useLink"in u))return{isLink:c,isClickable:d,href:toRef(a,"href")};const m=computed(()=>({...a,to:toRef(()=>a.to||"")})),f=u.useLink(m.value),v=computed(()=>a.to?f:void 0),g=useRoute();return{isLink:c,isClickable:d,route:(y=v.value)==null?void 0:y.route,navigate:(b=v.value)==null?void 0:b.navigate,isActive:computed(()=>{var w,k,$;return v.value?a.exact?g.value?(($=v.value.isExactActive)==null?void 0:$.value)&&deepEqual(v.value.route.value.query,g.value.query):((k=v.value.isExactActive)==null?void 0:k.value)??!1:((w=v.value.isActive)==null?void 0:w.value)??!1:!1}),href:computed(()=>{var w;return a.to?(w=v.value)==null?void 0:w.route.value.href:a.href})}}const makeRouterProps=propsFactory({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let inTransition=!1;function useBackButton(a,i){let u=!1,c,d;IN_BROWSER&&(nextTick(()=>{window.addEventListener("popstate",m),c=a==null?void 0:a.beforeEach((f,v,g)=>{inTransition?u?i(g):g():setTimeout(()=>u?i(g):g()),inTransition=!0}),d=a==null?void 0:a.afterEach(()=>{inTransition=!1})}),onScopeDispose(()=>{window.removeEventListener("popstate",m),c==null||c(),d==null||d()}));function m(f){var v;(v=f.state)!=null&&v.replaced||(u=!0,setTimeout(()=>u=!1))}}function useSelectLink(a,i){watch(()=>{var u;return(u=a.isActive)==null?void 0:u.value},u=>{a.isLink.value&&u&&i&&nextTick(()=>{i(!0)})},{immediate:!0})}const stopSymbol=Symbol("rippleStop"),DELAY_RIPPLE=80;function transform(a,i){a.style.transform=i,a.style.webkitTransform=i}function isTouchEvent(a){return a.constructor.name==="TouchEvent"}function isKeyboardEvent(a){return a.constructor.name==="KeyboardEvent"}const calculate=function(a,i){var w;let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=0,d=0;if(!isKeyboardEvent(a)){const k=i.getBoundingClientRect(),$=isTouchEvent(a)?a.touches[a.touches.length-1]:a;c=$.clientX-k.left,d=$.clientY-k.top}let m=0,f=.3;(w=i._ripple)!=null&&w.circle?(f=.15,m=i.clientWidth/2,m=u.center?m:m+Math.sqrt((c-m)**2+(d-m)**2)/4):m=Math.sqrt(i.clientWidth**2+i.clientHeight**2)/2;const v=`${(i.clientWidth-m*2)/2}px`,g=`${(i.clientHeight-m*2)/2}px`,y=u.center?v:`${c-m}px`,b=u.center?g:`${d-m}px`;return{radius:m,scale:f,x:y,y:b,centerX:v,centerY:g}},ripples={show(a,i){var $;let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(($=i==null?void 0:i._ripple)!=null&&$.enabled))return;const c=document.createElement("span"),d=document.createElement("span");c.appendChild(d),c.className="v-ripple__container",u.class&&(c.className+=` ${u.class}`);const{radius:m,scale:f,x:v,y:g,centerX:y,centerY:b}=calculate(a,i,u),w=`${m*2}px`;d.className="v-ripple__animation",d.style.width=w,d.style.height=w,i.appendChild(c);const k=window.getComputedStyle(i);k&&k.position==="static"&&(i.style.position="relative",i.dataset.previousPosition="static"),d.classList.add("v-ripple__animation--enter"),d.classList.add("v-ripple__animation--visible"),transform(d,`translate(${v}, ${g}) scale3d(${f},${f},${f})`),d.dataset.activated=String(performance.now()),setTimeout(()=>{d.classList.remove("v-ripple__animation--enter"),d.classList.add("v-ripple__animation--in"),transform(d,`translate(${y}, ${b}) scale3d(1,1,1)`)},0)},hide(a){var m;if(!((m=a==null?void 0:a._ripple)!=null&&m.enabled))return;const i=a.getElementsByClassName("v-ripple__animation");if(i.length===0)return;const u=i[i.length-1];if(u.dataset.isHiding)return;u.dataset.isHiding="true";const c=performance.now()-Number(u.dataset.activated),d=Math.max(250-c,0);setTimeout(()=>{u.classList.remove("v-ripple__animation--in"),u.classList.add("v-ripple__animation--out"),setTimeout(()=>{var v;a.getElementsByClassName("v-ripple__animation").length===1&&a.dataset.previousPosition&&(a.style.position=a.dataset.previousPosition,delete a.dataset.previousPosition),((v=u.parentNode)==null?void 0:v.parentNode)===a&&a.removeChild(u.parentNode)},300)},d)}};function isRippleEnabled(a){return typeof a>"u"||!!a}function rippleShow(a){const i={},u=a.currentTarget;if(!(!(u!=null&&u._ripple)||u._ripple.touched||a[stopSymbol])){if(a[stopSymbol]=!0,isTouchEvent(a))u._ripple.touched=!0,u._ripple.isTouch=!0;else if(u._ripple.isTouch)return;if(i.center=u._ripple.centered||isKeyboardEvent(a),u._ripple.class&&(i.class=u._ripple.class),isTouchEvent(a)){if(u._ripple.showTimerCommit)return;u._ripple.showTimerCommit=()=>{ripples.show(a,u,i)},u._ripple.showTimer=window.setTimeout(()=>{var c;(c=u==null?void 0:u._ripple)!=null&&c.showTimerCommit&&(u._ripple.showTimerCommit(),u._ripple.showTimerCommit=null)},DELAY_RIPPLE)}else ripples.show(a,u,i)}}function rippleStop(a){a[stopSymbol]=!0}function rippleHide(a){const i=a.currentTarget;if(i!=null&&i._ripple){if(window.clearTimeout(i._ripple.showTimer),a.type==="touchend"&&i._ripple.showTimerCommit){i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null,i._ripple.showTimer=window.setTimeout(()=>{rippleHide(a)});return}window.setTimeout(()=>{i._ripple&&(i._ripple.touched=!1)}),ripples.hide(i)}}function rippleCancelShow(a){const i=a.currentTarget;i!=null&&i._ripple&&(i._ripple.showTimerCommit&&(i._ripple.showTimerCommit=null),window.clearTimeout(i._ripple.showTimer))}let keyboardRipple=!1;function keyboardRippleShow(a){!keyboardRipple&&(a.keyCode===keyCodes.enter||a.keyCode===keyCodes.space)&&(keyboardRipple=!0,rippleShow(a))}function keyboardRippleHide(a){keyboardRipple=!1,rippleHide(a)}function focusRippleHide(a){keyboardRipple&&(keyboardRipple=!1,rippleHide(a))}function updateRipple(a,i,u){const{value:c,modifiers:d}=i,m=isRippleEnabled(c);if(m||ripples.hide(a),a._ripple=a._ripple??{},a._ripple.enabled=m,a._ripple.centered=d.center,a._ripple.circle=d.circle,isObject$g(c)&&c.class&&(a._ripple.class=c.class),m&&!u){if(d.stop){a.addEventListener("touchstart",rippleStop,{passive:!0}),a.addEventListener("mousedown",rippleStop);return}a.addEventListener("touchstart",rippleShow,{passive:!0}),a.addEventListener("touchend",rippleHide,{passive:!0}),a.addEventListener("touchmove",rippleCancelShow,{passive:!0}),a.addEventListener("touchcancel",rippleHide),a.addEventListener("mousedown",rippleShow),a.addEventListener("mouseup",rippleHide),a.addEventListener("mouseleave",rippleHide),a.addEventListener("keydown",keyboardRippleShow),a.addEventListener("keyup",keyboardRippleHide),a.addEventListener("blur",focusRippleHide),a.addEventListener("dragstart",rippleHide,{passive:!0})}else!m&&u&&removeListeners(a)}function removeListeners(a){a.removeEventListener("mousedown",rippleShow),a.removeEventListener("touchstart",rippleShow),a.removeEventListener("touchend",rippleHide),a.removeEventListener("touchmove",rippleCancelShow),a.removeEventListener("touchcancel",rippleHide),a.removeEventListener("mouseup",rippleHide),a.removeEventListener("mouseleave",rippleHide),a.removeEventListener("keydown",keyboardRippleShow),a.removeEventListener("keyup",keyboardRippleHide),a.removeEventListener("dragstart",rippleHide),a.removeEventListener("blur",focusRippleHide)}function mounted$1(a,i){updateRipple(a,i,!1)}function unmounted$1(a){delete a._ripple,removeListeners(a)}function updated(a,i){if(i.value===i.oldValue)return;const u=isRippleEnabled(i.oldValue);updateRipple(a,i,u)}const Ripple={mounted:mounted$1,unmounted:unmounted$1,updated},makeVBtnProps=propsFactory({active:{type:Boolean,default:void 0},symbol:{type:null,default:VBtnToggleSymbol},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:IconValue,appendIcon:IconValue,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"button"}),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VBtn"),VBtn=genericComponent()({name:"VBtn",props:makeVBtnProps(),emits:{"group:selected":a=>!0},setup(a,i){let{attrs:u,slots:c}=i;const{themeClasses:d}=provideTheme(a),{borderClasses:m}=useBorder(a),{colorClasses:f,colorStyles:v,variantClasses:g}=useVariant(a),{densityClasses:y}=useDensity(a),{dimensionStyles:b}=useDimension(a),{elevationClasses:w}=useElevation(a),{loaderClasses:k}=useLoader(a),{locationStyles:$}=useLocation(a),{positionClasses:S}=usePosition(a),{roundedClasses:C}=useRounded(a),{sizeClasses:E,sizeStyles:D}=useSize(a),A=useGroupItem(a,a.symbol,!1),O=useLink(a,u),F=computed(()=>{var q;return a.active!==void 0?a.active:O.isLink.value?(q=O.isActive)==null?void 0:q.value:A==null?void 0:A.isSelected.value}),B=computed(()=>(A==null?void 0:A.disabled.value)||a.disabled),I=computed(()=>a.variant==="elevated"&&!(a.disabled||a.flat||a.border)),M=computed(()=>{if(!(a.value===void 0||typeof a.value=="symbol"))return Object(a.value)===a.value?JSON.stringify(a.value,null,0):a.value});function z(q){var H;B.value||O.isLink.value&&(q.metaKey||q.ctrlKey||q.shiftKey||q.button!==0||u.target==="_blank")||((H=O.navigate)==null||H.call(O,q),A==null||A.toggle())}return useSelectLink(O,A==null?void 0:A.select),useRender(()=>{var G,J;const q=O.isLink.value?"a":a.tag,H=!!(a.prependIcon||c.prepend),Q=!!(a.appendIcon||c.append),j=!!(a.icon&&a.icon!==!0),ee=(A==null?void 0:A.isSelected.value)&&(!O.isLink.value||((G=O.isActive)==null?void 0:G.value))||!A||((J=O.isActive)==null?void 0:J.value);return withDirectives(createVNode(q,{type:q==="a"?void 0:"button",class:["v-btn",A==null?void 0:A.selectedClass.value,{"v-btn--active":F.value,"v-btn--block":a.block,"v-btn--disabled":B.value,"v-btn--elevated":I.value,"v-btn--flat":a.flat,"v-btn--icon":!!a.icon,"v-btn--loading":a.loading,"v-btn--slim":a.slim,"v-btn--stacked":a.stacked},d.value,m.value,ee?f.value:void 0,y.value,w.value,k.value,S.value,C.value,E.value,g.value,a.class],style:[ee?v.value:void 0,b.value,$.value,D.value,a.style],"aria-busy":a.loading?!0:void 0,disabled:B.value||void 0,href:O.href.value,tabindex:a.loading?-1:void 0,onClick:z,value:M.value},{default:()=>{var te;return[genOverlays(!0,"v-btn"),!a.icon&&H&&createVNode("span",{key:"prepend",class:"v-btn__prepend"},[c.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!a.prependIcon,defaults:{VIcon:{icon:a.prependIcon}}},c.prepend):createVNode(VIcon,{key:"prepend-icon",icon:a.prependIcon},null)]),createVNode("span",{class:"v-btn__content","data-no-activator":""},[!c.default&&j?createVNode(VIcon,{key:"content-icon",icon:a.icon},null):createVNode(VDefaultsProvider,{key:"content-defaults",disabled:!j,defaults:{VIcon:{icon:a.icon}}},{default:()=>{var re;return[((re=c.default)==null?void 0:re.call(c))??a.text]}})]),!a.icon&&Q&&createVNode("span",{key:"append",class:"v-btn__append"},[c.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!a.appendIcon,defaults:{VIcon:{icon:a.appendIcon}}},c.append):createVNode(VIcon,{key:"append-icon",icon:a.appendIcon},null)]),!!a.loading&&createVNode("span",{key:"loader",class:"v-btn__loader"},[((te=c.loader)==null?void 0:te.call(c))??createVNode(VProgressCircular,{color:typeof a.loading=="boolean"?void 0:a.loading,indeterminate:!0,width:"2"},null)])]}}),[[Ripple,!B.value&&!!a.ripple,"",{center:!!a.icon}]])}),{group:A}}}),VCardActions=genericComponent()({name:"VCardActions",props:makeComponentProps(),setup(a,i){let{slots:u}=i;return provideDefaults({VBtn:{slim:!0,variant:"text"}}),useRender(()=>{var c;return createVNode("div",{class:["v-card-actions",a.class],style:a.style},[(c=u.default)==null?void 0:c.call(u)])}),{}}}),VCardSubtitle=createSimpleFunctional("v-card-subtitle"),VCardTitle=createSimpleFunctional("v-card-title"),makeCardItemProps=propsFactory({appendAvatar:String,appendIcon:IconValue,prependAvatar:String,prependIcon:IconValue,subtitle:[String,Number],title:[String,Number],...makeComponentProps(),...makeDensityProps()},"VCardItem"),VCardItem=genericComponent()({name:"VCardItem",props:makeCardItemProps(),setup(a,i){let{slots:u}=i;return useRender(()=>{var y;const c=!!(a.prependAvatar||a.prependIcon),d=!!(c||u.prepend),m=!!(a.appendAvatar||a.appendIcon),f=!!(m||u.append),v=!!(a.title!=null||u.title),g=!!(a.subtitle!=null||u.subtitle);return createVNode("div",{class:["v-card-item",a.class],style:a.style},[d&&createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[u.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:a.density,image:a.prependAvatar},VIcon:{density:a.density,icon:a.prependIcon}}},u.prepend):createVNode(Fragment,null,[a.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:a.density,image:a.prependAvatar},null),a.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:a.density,icon:a.prependIcon},null)])]),createVNode("div",{class:"v-card-item__content"},[v&&createVNode(VCardTitle,{key:"title"},{default:()=>{var b;return[((b=u.title)==null?void 0:b.call(u))??a.title]}}),g&&createVNode(VCardSubtitle,{key:"subtitle"},{default:()=>{var b;return[((b=u.subtitle)==null?void 0:b.call(u))??a.subtitle]}}),(y=u.default)==null?void 0:y.call(u)]),f&&createVNode("div",{key:"append",class:"v-card-item__append"},[u.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!m,defaults:{VAvatar:{density:a.density,image:a.appendAvatar},VIcon:{density:a.density,icon:a.appendIcon}}},u.append):createVNode(Fragment,null,[a.appendIcon&&createVNode(VIcon,{key:"append-icon",density:a.density,icon:a.appendIcon},null),a.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:a.density,image:a.appendAvatar},null)])])])}),{}}}),VCardText=createSimpleFunctional("v-card-text"),makeVCardProps=propsFactory({appendAvatar:String,appendIcon:IconValue,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VCard"),VCard=genericComponent()({name:"VCard",directives:{Ripple},props:makeVCardProps(),setup(a,i){let{attrs:u,slots:c}=i;const{themeClasses:d}=provideTheme(a),{borderClasses:m}=useBorder(a),{colorClasses:f,colorStyles:v,variantClasses:g}=useVariant(a),{densityClasses:y}=useDensity(a),{dimensionStyles:b}=useDimension(a),{elevationClasses:w}=useElevation(a),{loaderClasses:k}=useLoader(a),{locationStyles:$}=useLocation(a),{positionClasses:S}=usePosition(a),{roundedClasses:C}=useRounded(a),E=useLink(a,u),D=computed(()=>a.link!==!1&&E.isLink.value),A=computed(()=>!a.disabled&&a.link!==!1&&(a.link||E.isClickable.value));return useRender(()=>{const O=D.value?"a":a.tag,F=!!(c.title||a.title!=null),B=!!(c.subtitle||a.subtitle!=null),I=F||B,M=!!(c.append||a.appendAvatar||a.appendIcon),z=!!(c.prepend||a.prependAvatar||a.prependIcon),q=!!(c.image||a.image),H=I||z||M,Q=!!(c.text||a.text!=null);return withDirectives(createVNode(O,{class:["v-card",{"v-card--disabled":a.disabled,"v-card--flat":a.flat,"v-card--hover":a.hover&&!(a.disabled||a.flat),"v-card--link":A.value},d.value,m.value,f.value,y.value,w.value,k.value,S.value,C.value,g.value,a.class],style:[v.value,b.value,$.value,a.style],href:E.href.value,onClick:A.value&&E.navigate,tabindex:a.disabled?-1:void 0},{default:()=>{var j;return[q&&createVNode("div",{key:"image",class:"v-card__image"},[c.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!a.image,defaults:{VImg:{cover:!0,src:a.image}}},c.image):createVNode(VImg,{key:"image-img",cover:!0,src:a.image},null)]),createVNode(LoaderSlot,{name:"v-card",active:!!a.loading,color:typeof a.loading=="boolean"?void 0:a.loading},{default:c.loader}),H&&createVNode(VCardItem,{key:"item",prependAvatar:a.prependAvatar,prependIcon:a.prependIcon,title:a.title,subtitle:a.subtitle,appendAvatar:a.appendAvatar,appendIcon:a.appendIcon},{default:c.item,prepend:c.prepend,title:c.title,subtitle:c.subtitle,append:c.append}),Q&&createVNode(VCardText,{key:"text"},{default:()=>{var ee;return[((ee=c.text)==null?void 0:ee.call(c))??a.text]}}),(j=c.default)==null?void 0:j.call(c),c.actions&&createVNode(VCardActions,null,{default:c.actions}),genOverlays(A.value,"v-card")]}}),[[resolveDirective("ripple"),A.value&&a.ripple]])}),{}}}),makeTransitionProps=propsFactory({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function createCssTransition(a,i,u){return genericComponent()({name:a,props:makeTransitionProps({mode:u,origin:i}),setup(c,d){let{slots:m}=d;const f={onBeforeEnter(v){c.origin&&(v.style.transformOrigin=c.origin)},onLeave(v){if(c.leaveAbsolute){const{offsetTop:g,offsetLeft:y,offsetWidth:b,offsetHeight:w}=v;v._transitionInitialStyles={position:v.style.position,top:v.style.top,left:v.style.left,width:v.style.width,height:v.style.height},v.style.position="absolute",v.style.top=`${g}px`,v.style.left=`${y}px`,v.style.width=`${b}px`,v.style.height=`${w}px`}c.hideOnLeave&&v.style.setProperty("display","none","important")},onAfterLeave(v){if(c.leaveAbsolute&&(v!=null&&v._transitionInitialStyles)){const{position:g,top:y,left:b,width:w,height:k}=v._transitionInitialStyles;delete v._transitionInitialStyles,v.style.position=g||"",v.style.top=y||"",v.style.left=b||"",v.style.width=w||"",v.style.height=k||""}}};return()=>{const v=c.group?TransitionGroup:Transition;return h(v,{name:c.disabled?"":a,css:!c.disabled,...c.group?void 0:{mode:c.mode},...c.disabled?{}:f},m.default)}}})}function createJavascriptTransition(a,i){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return genericComponent()({name:a,props:{mode:{type:String,default:u},disabled:Boolean},setup(c,d){let{slots:m}=d;return()=>h(Transition,{name:c.disabled?"":a,css:!c.disabled,...c.disabled?{}:i},m.default)}})}function ExpandTransitionGenerator(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const u=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",c=camelize(`offset-${u}`);return{onBeforeEnter(f){f._parent=f.parentNode,f._initialStyle={transition:f.style.transition,overflow:f.style.overflow,[u]:f.style[u]}},onEnter(f){const v=f._initialStyle;f.style.setProperty("transition","none","important"),f.style.overflow="hidden";const g=`${f[c]}px`;f.style[u]="0",f.offsetHeight,f.style.transition=v.transition,a&&f._parent&&f._parent.classList.add(a),requestAnimationFrame(()=>{f.style[u]=g})},onAfterEnter:m,onEnterCancelled:m,onLeave(f){f._initialStyle={transition:"",overflow:f.style.overflow,[u]:f.style[u]},f.style.overflow="hidden",f.style[u]=`${f[c]}px`,f.offsetHeight,requestAnimationFrame(()=>f.style[u]="0")},onAfterLeave:d,onLeaveCancelled:d};function d(f){a&&f._parent&&f._parent.classList.remove(a),m(f)}function m(f){const v=f._initialStyle[u];f.style.overflow=f._initialStyle.overflow,v!=null&&(f.style[u]=v),delete f._initialStyle}}const makeVDialogTransitionProps=propsFactory({target:[Object,Array]},"v-dialog-transition"),VDialogTransition=genericComponent()({name:"VDialogTransition",props:makeVDialogTransitionProps(),setup(a,i){let{slots:u}=i;const c={onBeforeEnter(d){d.style.pointerEvents="none",d.style.visibility="hidden"},async onEnter(d,m){var k;await new Promise($=>requestAnimationFrame($)),await new Promise($=>requestAnimationFrame($)),d.style.visibility="";const{x:f,y:v,sx:g,sy:y,speed:b}=getDimensions(a.target,d),w=animate(d,[{transform:`translate(${f}px, ${v}px) scale(${g}, ${y})`,opacity:0},{}],{duration:225*b,easing:deceleratedEasing});(k=getChildren(d))==null||k.forEach($=>{animate($,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*b,easing:standardEasing})}),w.finished.then(()=>m())},onAfterEnter(d){d.style.removeProperty("pointer-events")},onBeforeLeave(d){d.style.pointerEvents="none"},async onLeave(d,m){var k;await new Promise($=>requestAnimationFrame($));const{x:f,y:v,sx:g,sy:y,speed:b}=getDimensions(a.target,d);animate(d,[{},{transform:`translate(${f}px, ${v}px) scale(${g}, ${y})`,opacity:0}],{duration:125*b,easing:acceleratedEasing}).finished.then(()=>m()),(k=getChildren(d))==null||k.forEach($=>{animate($,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*b,easing:standardEasing})})},onAfterLeave(d){d.style.removeProperty("pointer-events")}};return()=>a.target?createVNode(Transition,mergeProps({name:"dialog-transition"},c,{css:!1}),u):createVNode(Transition,{name:"dialog-transition"},u)}});function getChildren(a){var u;const i=(u=a.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:u.children;return i&&[...i]}function getDimensions(a,i){const u=getTargetBox(a),c=nullifyTransforms(i),[d,m]=getComputedStyle(i).transformOrigin.split(" ").map(D=>parseFloat(D)),[f,v]=getComputedStyle(i).getPropertyValue("--v-overlay-anchor-origin").split(" ");let g=u.left+u.width/2;f==="left"||v==="left"?g-=u.width/2:(f==="right"||v==="right")&&(g+=u.width/2);let y=u.top+u.height/2;f==="top"||v==="top"?y-=u.height/2:(f==="bottom"||v==="bottom")&&(y+=u.height/2);const b=u.width/c.width,w=u.height/c.height,k=Math.max(1,b,w),$=b/k||0,S=w/k||0,C=c.width*c.height/(window.innerWidth*window.innerHeight),E=C>.12?Math.min(1.5,(C-.12)*10+1):1;return{x:g-(d+c.left),y:y-(m+c.top),sx:$,sy:S,speed:E}}createCssTransition("fab-transition","center center","out-in");createCssTransition("dialog-bottom-transition");createCssTransition("dialog-top-transition");const VFadeTransition=createCssTransition("fade-transition");createCssTransition("scale-transition");createCssTransition("scroll-x-transition");createCssTransition("scroll-x-reverse-transition");createCssTransition("scroll-y-transition");createCssTransition("scroll-y-reverse-transition");createCssTransition("slide-x-transition");createCssTransition("slide-x-reverse-transition");const VSlideYTransition=createCssTransition("slide-y-transition");createCssTransition("slide-y-reverse-transition");const VExpandTransition=createJavascriptTransition("expand-transition",ExpandTransitionGenerator()),VExpandXTransition=createJavascriptTransition("expand-x-transition",ExpandTransitionGenerator("",!0)),breakpoints=["sm","md","lg","xl","xxl"],DisplaySymbol=Symbol.for("vuetify:display"),defaultDisplayOptions={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},parseDisplayOptions=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:defaultDisplayOptions;return mergeDeep(defaultDisplayOptions,a)};function getClientWidth(a){return IN_BROWSER&&!a?window.innerWidth:typeof a=="object"&&a.clientWidth||0}function getClientHeight(a){return IN_BROWSER&&!a?window.innerHeight:typeof a=="object"&&a.clientHeight||0}function getPlatform(a){const i=IN_BROWSER&&!a?window.navigator.userAgent:"ssr";function u(S){return!!i.match(S)}const c=u(/android/i),d=u(/iphone|ipad|ipod/i),m=u(/cordova/i),f=u(/electron/i),v=u(/chrome/i),g=u(/edge/i),y=u(/firefox/i),b=u(/opera/i),w=u(/win/i),k=u(/mac/i),$=u(/linux/i);return{android:c,ios:d,cordova:m,electron:f,chrome:v,edge:g,firefox:y,opera:b,win:w,mac:k,linux:$,touch:SUPPORTS_TOUCH,ssr:i==="ssr"}}function createDisplay(a,i){const{thresholds:u,mobileBreakpoint:c}=parseDisplayOptions(a),d=shallowRef(getClientHeight(i)),m=shallowRef(getPlatform(i)),f=reactive({}),v=shallowRef(getClientWidth(i));function g(){d.value=getClientHeight(),v.value=getClientWidth()}function y(){g(),m.value=getPlatform()}return watchEffect(()=>{const b=v.value<u.sm,w=v.value<u.md&&!b,k=v.value<u.lg&&!(w||b),$=v.value<u.xl&&!(k||w||b),S=v.value<u.xxl&&!($||k||w||b),C=v.value>=u.xxl,E=b?"xs":w?"sm":k?"md":$?"lg":S?"xl":"xxl",D=typeof c=="number"?c:u[c],A=v.value<D;f.xs=b,f.sm=w,f.md=k,f.lg=$,f.xl=S,f.xxl=C,f.smAndUp=!b,f.mdAndUp=!(b||w),f.lgAndUp=!(b||w||k),f.xlAndUp=!(b||w||k||$),f.smAndDown=!(k||$||S||C),f.mdAndDown=!($||S||C),f.lgAndDown=!(S||C),f.xlAndDown=!C,f.name=E,f.height=d.value,f.width=v.value,f.mobile=A,f.mobileBreakpoint=c,f.platform=m.value,f.thresholds=u}),IN_BROWSER&&window.addEventListener("resize",g,{passive:!0}),{...toRefs(f),update:y,ssr:!!i}}const makeDisplayProps=propsFactory({mobileBreakpoint:[Number,String]},"display");function useDisplay(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const u=inject$1(DisplaySymbol);if(!u)throw new Error("Could not find Vuetify display injection");const c=computed(()=>{if(!a.mobileBreakpoint)return u.mobile.value;const m=typeof a.mobileBreakpoint=="number"?a.mobileBreakpoint:u.thresholds.value[a.mobileBreakpoint];return u.width.value<m}),d=computed(()=>i?{[`${i}--mobile`]:c.value}:{});return{...u,displayClasses:d,mobile:c}}function bias(a){const u=Math.abs(a);return Math.sign(a)*(u/((1/.501-2)*(1-u)+1))}function calculateUpdatedOffset(a){let{selectedElement:i,containerSize:u,contentSize:c,isRtl:d,currentScrollOffset:m,isHorizontal:f}=a;const v=f?i.clientWidth:i.clientHeight,g=f?i.offsetLeft:i.offsetTop,y=d&&f?c-g-v:g,b=u+m,w=v+y,k=v*.4;return y<=m?m=Math.max(y-k,0):b<=w&&(m=Math.min(m-(b-w-k),c-u)),m}function calculateCenteredOffset(a){let{selectedElement:i,containerSize:u,contentSize:c,isRtl:d,isHorizontal:m}=a;const f=m?i.clientWidth:i.clientHeight,v=m?i.offsetLeft:i.offsetTop,g=d&&m?c-v-f/2-u/2:v+f/2-u/2;return Math.min(c-u,Math.max(0,g))}const VSlideGroupSymbol=Symbol.for("vuetify:v-slide-group"),makeVSlideGroupProps=propsFactory({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:VSlideGroupSymbol},nextIcon:{type:IconValue,default:"$next"},prevIcon:{type:IconValue,default:"$prev"},showArrows:{type:[Boolean,String],validator:a=>typeof a=="boolean"||["always","desktop","mobile"].includes(a)},...makeComponentProps(),...makeDisplayProps(),...makeTagProps(),...makeGroupProps({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),VSlideGroup=genericComponent()({name:"VSlideGroup",props:makeVSlideGroupProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{isRtl:c}=useRtl(),{displayClasses:d,mobile:m}=useDisplay(a),f=useGroup(a,a.symbol),v=shallowRef(!1),g=shallowRef(0),y=shallowRef(0),b=shallowRef(0),w=computed(()=>a.direction==="horizontal"),{resizeRef:k,contentRect:$}=useResizeObserver(),{resizeRef:S,contentRect:C}=useResizeObserver(),E=computed(()=>f.selected.value.length?f.items.value.findIndex(le=>le.id===f.selected.value[0]):-1),D=computed(()=>f.selected.value.length?f.items.value.findIndex(le=>le.id===f.selected.value[f.selected.value.length-1]):-1);if(IN_BROWSER){let le=-1;watch(()=>[f.selected.value,$.value,C.value,w.value],()=>{cancelAnimationFrame(le),le=requestAnimationFrame(()=>{if($.value&&C.value){const Se=w.value?"width":"height";y.value=$.value[Se],b.value=C.value[Se],v.value=y.value+1<b.value}if(E.value>=0&&S.value){const Se=S.value.children[D.value];E.value===0||!v.value?g.value=0:a.centerActive?g.value=calculateCenteredOffset({selectedElement:Se,containerSize:y.value,contentSize:b.value,isRtl:c.value,isHorizontal:w.value}):v.value&&(g.value=calculateUpdatedOffset({selectedElement:Se,containerSize:y.value,contentSize:b.value,isRtl:c.value,currentScrollOffset:g.value,isHorizontal:w.value}))}})})}const A=shallowRef(!1);let O=0,F=0;function B(le){const Se=w.value?"clientX":"clientY";F=(c.value&&w.value?-1:1)*g.value,O=le.touches[0][Se],A.value=!0}function I(le){if(!v.value)return;const Se=w.value?"clientX":"clientY",De=c.value&&w.value?-1:1;g.value=De*(F+O-le.touches[0][Se])}function M(le){const Se=b.value-y.value;g.value<0||!v.value?g.value=0:g.value>=Se&&(g.value=Se),A.value=!1}function z(){k.value&&(k.value[w.value?"scrollLeft":"scrollTop"]=0)}const q=shallowRef(!1);function H(le){if(q.value=!0,!(!v.value||!S.value)){for(const Se of le.composedPath())for(const De of S.value.children)if(De===Se){g.value=calculateUpdatedOffset({selectedElement:De,containerSize:y.value,contentSize:b.value,isRtl:c.value,currentScrollOffset:g.value,isHorizontal:w.value});return}}}function Q(le){q.value=!1}function j(le){var Se;!q.value&&!(le.relatedTarget&&((Se=S.value)!=null&&Se.contains(le.relatedTarget)))&&G()}function ee(le){S.value&&(w.value?le.key==="ArrowRight"?G(c.value?"prev":"next"):le.key==="ArrowLeft"&&G(c.value?"next":"prev"):le.key==="ArrowDown"?G("next"):le.key==="ArrowUp"&&G("prev"),le.key==="Home"?G("first"):le.key==="End"&&G("last"))}function G(le){var Se,De,At,Le,ke;if(S.value)if(!le)(Se=focusableChildren(S.value)[0])==null||Se.focus();else if(le==="next"){const ue=(De=S.value.querySelector(":focus"))==null?void 0:De.nextElementSibling;ue?ue.focus():G("first")}else if(le==="prev"){const ue=(At=S.value.querySelector(":focus"))==null?void 0:At.previousElementSibling;ue?ue.focus():G("last")}else le==="first"?(Le=S.value.firstElementChild)==null||Le.focus():le==="last"&&((ke=S.value.lastElementChild)==null||ke.focus())}function J(le){const Se=g.value+(le==="prev"?-1:1)*y.value;g.value=clamp(Se,0,b.value-y.value)}const te=computed(()=>{let le=g.value>b.value-y.value?-(b.value-y.value)+bias(b.value-y.value-g.value):-g.value;g.value<=0&&(le=bias(-g.value));const Se=c.value&&w.value?-1:1;return{transform:`translate${w.value?"X":"Y"}(${Se*le}px)`,transition:A.value?"none":"",willChange:A.value?"transform":""}}),re=computed(()=>({next:f.next,prev:f.prev,select:f.select,isSelected:f.isSelected})),ae=computed(()=>{switch(a.showArrows){case"always":return!0;case"desktop":return!m.value;case!0:return v.value||Math.abs(g.value)>0;case"mobile":return m.value||v.value||Math.abs(g.value)>0;default:return!m.value&&(v.value||Math.abs(g.value)>0)}}),ye=computed(()=>Math.abs(g.value)>0),ve=computed(()=>b.value>Math.abs(g.value)+y.value);return useRender(()=>createVNode(a.tag,{class:["v-slide-group",{"v-slide-group--vertical":!w.value,"v-slide-group--has-affixes":ae.value,"v-slide-group--is-overflowing":v.value},d.value,a.class],style:a.style,tabindex:q.value||f.selected.value.length?-1:0,onFocus:j},{default:()=>{var le,Se,De;return[ae.value&&createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!ye.value}],onClick:()=>ye.value&&J("prev")},[((le=u.prev)==null?void 0:le.call(u,re.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:c.value?a.nextIcon:a.prevIcon},null)]})]),createVNode("div",{key:"container",ref:k,class:"v-slide-group__container",onScroll:z},[createVNode("div",{ref:S,class:"v-slide-group__content",style:te.value,onTouchstartPassive:B,onTouchmovePassive:I,onTouchendPassive:M,onFocusin:H,onFocusout:Q,onKeydown:ee},[(Se=u.default)==null?void 0:Se.call(u,re.value)])]),ae.value&&createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!ve.value}],onClick:()=>ve.value&&J("next")},[((De=u.next)==null?void 0:De.call(u,re.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:c.value?a.prevIcon:a.nextIcon},null)]})])]}})),{selected:f.selected,scrollTo:J,scrollOffset:g,focus:G}}}),VChipGroupSymbol=Symbol.for("vuetify:v-chip-group"),makeVChipGroupProps=propsFactory({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:deepEqual},...makeVSlideGroupProps(),...makeComponentProps(),...makeGroupProps({selectedClass:"v-chip--selected"}),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChipGroup"),VChipGroup=genericComponent()({name:"VChipGroup",props:makeVChipGroupProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{themeClasses:c}=provideTheme(a),{isSelected:d,select:m,next:f,prev:v,selected:g}=useGroup(a,VChipGroupSymbol);return provideDefaults({VChip:{color:toRef(a,"color"),disabled:toRef(a,"disabled"),filter:toRef(a,"filter"),variant:toRef(a,"variant")}}),useRender(()=>{const y=VSlideGroup.filterProps(a);return createVNode(VSlideGroup,mergeProps(y,{class:["v-chip-group",{"v-chip-group--column":a.column},c.value,a.class],style:a.style}),{default:()=>{var b;return[(b=u.default)==null?void 0:b.call(u,{isSelected:d,select:m,next:f,prev:v,selected:g.value})]}})}),{}}}),makeVChipProps=propsFactory({activeClass:String,appendAvatar:String,appendIcon:IconValue,closable:Boolean,closeIcon:{type:IconValue,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeGroupItemProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"span"}),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChip"),VChip=genericComponent()({name:"VChip",directives:{Ripple},props:makeVChipProps(),emits:{"click:close":a=>!0,"update:modelValue":a=>!0,"group:selected":a=>!0,click:a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const{t:m}=useLocale(),{borderClasses:f}=useBorder(a),{colorClasses:v,colorStyles:g,variantClasses:y}=useVariant(a),{densityClasses:b}=useDensity(a),{elevationClasses:w}=useElevation(a),{roundedClasses:k}=useRounded(a),{sizeClasses:$}=useSize(a),{themeClasses:S}=provideTheme(a),C=useProxiedModel(a,"modelValue"),E=useGroupItem(a,VChipGroupSymbol,!1),D=useLink(a,u),A=computed(()=>a.link!==!1&&D.isLink.value),O=computed(()=>!a.disabled&&a.link!==!1&&(!!E||a.link||D.isClickable.value)),F=computed(()=>({"aria-label":m(a.closeLabel),onClick(M){M.preventDefault(),M.stopPropagation(),C.value=!1,c("click:close",M)}}));function B(M){var z;c("click",M),O.value&&((z=D.navigate)==null||z.call(D,M),E==null||E.toggle())}function I(M){(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),B(M))}return()=>{const M=D.isLink.value?"a":a.tag,z=!!(a.appendIcon||a.appendAvatar),q=!!(z||d.append),H=!!(d.close||a.closable),Q=!!(d.filter||a.filter)&&E,j=!!(a.prependIcon||a.prependAvatar),ee=!!(j||d.prepend),G=!E||E.isSelected.value;return C.value&&withDirectives(createVNode(M,{class:["v-chip",{"v-chip--disabled":a.disabled,"v-chip--label":a.label,"v-chip--link":O.value,"v-chip--filter":Q,"v-chip--pill":a.pill},S.value,f.value,G?v.value:void 0,b.value,w.value,k.value,$.value,y.value,E==null?void 0:E.selectedClass.value,a.class],style:[G?g.value:void 0,a.style],disabled:a.disabled||void 0,draggable:a.draggable,href:D.href.value,tabindex:O.value?0:void 0,onClick:B,onKeydown:O.value&&!A.value&&I},{default:()=>{var J;return[genOverlays(O.value,"v-chip"),Q&&createVNode(VExpandXTransition,{key:"filter"},{default:()=>[withDirectives(createVNode("div",{class:"v-chip__filter"},[d.filter?createVNode(VDefaultsProvider,{key:"filter-defaults",disabled:!a.filterIcon,defaults:{VIcon:{icon:a.filterIcon}}},d.filter):createVNode(VIcon,{key:"filter-icon",icon:a.filterIcon},null)]),[[vShow,E.isSelected.value]])]}),ee&&createVNode("div",{key:"prepend",class:"v-chip__prepend"},[d.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!j,defaults:{VAvatar:{image:a.prependAvatar,start:!0},VIcon:{icon:a.prependIcon,start:!0}}},d.prepend):createVNode(Fragment,null,[a.prependIcon&&createVNode(VIcon,{key:"prepend-icon",icon:a.prependIcon,start:!0},null),a.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",image:a.prependAvatar,start:!0},null)])]),createVNode("div",{class:"v-chip__content","data-no-activator":""},[((J=d.default)==null?void 0:J.call(d,{isSelected:E==null?void 0:E.isSelected.value,selectedClass:E==null?void 0:E.selectedClass.value,select:E==null?void 0:E.select,toggle:E==null?void 0:E.toggle,value:E==null?void 0:E.value.value,disabled:a.disabled}))??a.text]),q&&createVNode("div",{key:"append",class:"v-chip__append"},[d.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!z,defaults:{VAvatar:{end:!0,image:a.appendAvatar},VIcon:{end:!0,icon:a.appendIcon}}},d.append):createVNode(Fragment,null,[a.appendIcon&&createVNode(VIcon,{key:"append-icon",end:!0,icon:a.appendIcon},null),a.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",end:!0,image:a.appendAvatar},null)])]),H&&createVNode("button",mergeProps({key:"close",class:"v-chip__close",type:"button"},F.value),[d.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VIcon:{icon:a.closeIcon,size:"x-small"}}},d.close):createVNode(VIcon,{key:"close-icon",icon:a.closeIcon,size:"x-small"},null)])]}}),[[resolveDirective("ripple"),O.value&&a.ripple,null]])}}});function elementToViewport(a,i){return{x:a.x+i.x,y:a.y+i.y}}function getOffset(a,i){return{x:a.x-i.x,y:a.y-i.y}}function anchorToPoint(a,i){if(a.side==="top"||a.side==="bottom"){const{side:u,align:c}=a,d=c==="left"?0:c==="center"?i.width/2:c==="right"?i.width:c,m=u==="top"?0:u==="bottom"?i.height:u;return elementToViewport({x:d,y:m},i)}else if(a.side==="left"||a.side==="right"){const{side:u,align:c}=a,d=u==="left"?0:u==="right"?i.width:u,m=c==="top"?0:c==="center"?i.height/2:c==="bottom"?i.height:c;return elementToViewport({x:d,y:m},i)}return elementToViewport({x:i.width/2,y:i.height/2},i)}const locationStrategies={static:staticLocationStrategy,connected:connectedLocationStrategy},makeLocationStrategyProps=propsFactory({locationStrategy:{type:[String,Function],default:"static",validator:a=>typeof a=="function"||a in locationStrategies},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function useLocationStrategies(a,i){const u=ref({}),c=ref();IN_BROWSER&&useToggleScope(()=>!!(i.isActive.value&&a.locationStrategy),m=>{var f,v;watch(()=>a.locationStrategy,m),onScopeDispose(()=>{window.removeEventListener("resize",d),c.value=void 0}),window.addEventListener("resize",d,{passive:!0}),typeof a.locationStrategy=="function"?c.value=(f=a.locationStrategy(i,a,u))==null?void 0:f.updateLocation:c.value=(v=locationStrategies[a.locationStrategy](i,a,u))==null?void 0:v.updateLocation});function d(m){var f;(f=c.value)==null||f.call(c,m)}return{contentStyles:u,updateLocation:c}}function staticLocationStrategy(){}function getIntrinsicSize(a,i){i?a.style.removeProperty("left"):a.style.removeProperty("right");const u=nullifyTransforms(a);return i?u.x+=parseFloat(a.style.right||0):u.x-=parseFloat(a.style.left||0),u.y-=parseFloat(a.style.top||0),u}function connectedLocationStrategy(a,i,u){(Array.isArray(a.target.value)||isFixedPosition(a.target.value))&&Object.assign(u.value,{position:"fixed",top:0,[a.isRtl.value?"right":"left"]:0});const{preferredAnchor:d,preferredOrigin:m}=destructComputed(()=>{const S=parseAnchor(i.location,a.isRtl.value),C=i.origin==="overlap"?S:i.origin==="auto"?flipSide(S):parseAnchor(i.origin,a.isRtl.value);return S.side===C.side&&S.align===flipAlign(C).align?{preferredAnchor:flipCorner(S),preferredOrigin:flipCorner(C)}:{preferredAnchor:S,preferredOrigin:C}}),[f,v,g,y]=["minWidth","minHeight","maxWidth","maxHeight"].map(S=>computed(()=>{const C=parseFloat(i[S]);return isNaN(C)?1/0:C})),b=computed(()=>{if(Array.isArray(i.offset))return i.offset;if(typeof i.offset=="string"){const S=i.offset.split(" ").map(parseFloat);return S.length<2&&S.push(0),S}return typeof i.offset=="number"?[i.offset,0]:[0,0]});let w=!1;const k=new ResizeObserver(()=>{w&&$()});watch([a.target,a.contentEl],(S,C)=>{let[E,D]=S,[A,O]=C;A&&!Array.isArray(A)&&k.unobserve(A),E&&!Array.isArray(E)&&k.observe(E),O&&k.unobserve(O),D&&k.observe(D)},{immediate:!0}),onScopeDispose(()=>{k.disconnect()});function $(){if(w=!1,requestAnimationFrame(()=>w=!0),!a.target.value||!a.contentEl.value)return;const S=getTargetBox(a.target.value),C=getIntrinsicSize(a.contentEl.value,a.isRtl.value),E=getScrollParents(a.contentEl.value),D=12;E.length||(E.push(document.documentElement),a.contentEl.value.style.top&&a.contentEl.value.style.left||(C.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),C.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const A=E.reduce((Q,j)=>{const ee=j.getBoundingClientRect(),G=new Box({x:j===document.documentElement?0:ee.x,y:j===document.documentElement?0:ee.y,width:j.clientWidth,height:j.clientHeight});return Q?new Box({x:Math.max(Q.left,G.left),y:Math.max(Q.top,G.top),width:Math.min(Q.right,G.right)-Math.max(Q.left,G.left),height:Math.min(Q.bottom,G.bottom)-Math.max(Q.top,G.top)}):G},void 0);A.x+=D,A.y+=D,A.width-=D*2,A.height-=D*2;let O={anchor:d.value,origin:m.value};function F(Q){const j=new Box(C),ee=anchorToPoint(Q.anchor,S),G=anchorToPoint(Q.origin,j);let{x:J,y:te}=getOffset(ee,G);switch(Q.anchor.side){case"top":te-=b.value[0];break;case"bottom":te+=b.value[0];break;case"left":J-=b.value[0];break;case"right":J+=b.value[0];break}switch(Q.anchor.align){case"top":te-=b.value[1];break;case"bottom":te+=b.value[1];break;case"left":J-=b.value[1];break;case"right":J+=b.value[1];break}return j.x+=J,j.y+=te,j.width=Math.min(j.width,g.value),j.height=Math.min(j.height,y.value),{overflows:getOverflow(j,A),x:J,y:te}}let B=0,I=0;const M={x:0,y:0},z={x:!1,y:!1};let q=-1;for(;!(q++>10);){const{x:Q,y:j,overflows:ee}=F(O);B+=Q,I+=j,C.x+=Q,C.y+=j;{const G=getAxis(O.anchor),J=ee.x.before||ee.x.after,te=ee.y.before||ee.y.after;let re=!1;if(["x","y"].forEach(ae=>{if(ae==="x"&&J&&!z.x||ae==="y"&&te&&!z.y){const ye={anchor:{...O.anchor},origin:{...O.origin}},ve=ae==="x"?G==="y"?flipAlign:flipSide:G==="y"?flipSide:flipAlign;ye.anchor=ve(ye.anchor),ye.origin=ve(ye.origin);const{overflows:le}=F(ye);(le[ae].before<=ee[ae].before&&le[ae].after<=ee[ae].after||le[ae].before+le[ae].after<(ee[ae].before+ee[ae].after)/2)&&(O=ye,re=z[ae]=!0)}}),re)continue}ee.x.before&&(B+=ee.x.before,C.x+=ee.x.before),ee.x.after&&(B-=ee.x.after,C.x-=ee.x.after),ee.y.before&&(I+=ee.y.before,C.y+=ee.y.before),ee.y.after&&(I-=ee.y.after,C.y-=ee.y.after);{const G=getOverflow(C,A);M.x=A.width-G.x.before-G.x.after,M.y=A.height-G.y.before-G.y.after,B+=G.x.before,C.x+=G.x.before,I+=G.y.before,C.y+=G.y.before}break}const H=getAxis(O.anchor);return Object.assign(u.value,{"--v-overlay-anchor-origin":`${O.anchor.side} ${O.anchor.align}`,transformOrigin:`${O.origin.side} ${O.origin.align}`,top:convertToUnit(pixelRound(I)),left:a.isRtl.value?void 0:convertToUnit(pixelRound(B)),right:a.isRtl.value?convertToUnit(pixelRound(-B)):void 0,minWidth:convertToUnit(H==="y"?Math.min(f.value,S.width):f.value),maxWidth:convertToUnit(pixelCeil(clamp(M.x,f.value===1/0?0:f.value,g.value))),maxHeight:convertToUnit(pixelCeil(clamp(M.y,v.value===1/0?0:v.value,y.value)))}),{available:M,contentBox:C}}return watch(()=>[d.value,m.value,i.offset,i.minWidth,i.minHeight,i.maxWidth,i.maxHeight],()=>$()),nextTick(()=>{const S=$();if(!S)return;const{available:C,contentBox:E}=S;E.height>C.y&&requestAnimationFrame(()=>{$(),requestAnimationFrame(()=>{$()})})}),{updateLocation:$}}function pixelRound(a){return Math.round(a*devicePixelRatio)/devicePixelRatio}function pixelCeil(a){return Math.ceil(a*devicePixelRatio)/devicePixelRatio}let clean=!0;const frames=[];function requestNewFrame(a){!clean||frames.length?(frames.push(a),run()):(clean=!1,a(),run())}let raf=-1;function run(){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{const a=frames.shift();a&&a(),frames.length?run():clean=!0})}const scrollStrategies={none:null,close:closeScrollStrategy,block:blockScrollStrategy,reposition:repositionScrollStrategy},makeScrollStrategyProps=propsFactory({scrollStrategy:{type:[String,Function],default:"block",validator:a=>typeof a=="function"||a in scrollStrategies}},"VOverlay-scroll-strategies");function useScrollStrategies(a,i){if(!IN_BROWSER)return;let u;watchEffect(async()=>{u==null||u.stop(),i.isActive.value&&a.scrollStrategy&&(u=effectScope(),await new Promise(c=>setTimeout(c)),u.active&&u.run(()=>{var c;typeof a.scrollStrategy=="function"?a.scrollStrategy(i,a,u):(c=scrollStrategies[a.scrollStrategy])==null||c.call(scrollStrategies,i,a,u)}))}),onScopeDispose(()=>{u==null||u.stop()})}function closeScrollStrategy(a){function i(u){a.isActive.value=!1}bindScroll(a.targetEl.value??a.contentEl.value,i)}function blockScrollStrategy(a,i){var f;const u=(f=a.root.value)==null?void 0:f.offsetParent,c=[...new Set([...getScrollParents(a.targetEl.value,i.contained?u:void 0),...getScrollParents(a.contentEl.value,i.contained?u:void 0)])].filter(v=>!v.classList.contains("v-overlay-scroll-blocked")),d=window.innerWidth-document.documentElement.offsetWidth,m=(v=>hasScrollbar(v)&&v)(u||document.documentElement);m&&a.root.value.classList.add("v-overlay--scroll-blocked"),c.forEach((v,g)=>{v.style.setProperty("--v-body-scroll-x",convertToUnit(-v.scrollLeft)),v.style.setProperty("--v-body-scroll-y",convertToUnit(-v.scrollTop)),v!==document.documentElement&&v.style.setProperty("--v-scrollbar-offset",convertToUnit(d)),v.classList.add("v-overlay-scroll-blocked")}),onScopeDispose(()=>{c.forEach((v,g)=>{const y=parseFloat(v.style.getPropertyValue("--v-body-scroll-x")),b=parseFloat(v.style.getPropertyValue("--v-body-scroll-y")),w=v.style.scrollBehavior;v.style.scrollBehavior="auto",v.style.removeProperty("--v-body-scroll-x"),v.style.removeProperty("--v-body-scroll-y"),v.style.removeProperty("--v-scrollbar-offset"),v.classList.remove("v-overlay-scroll-blocked"),v.scrollLeft=-y,v.scrollTop=-b,v.style.scrollBehavior=w}),m&&a.root.value.classList.remove("v-overlay--scroll-blocked")})}function repositionScrollStrategy(a,i,u){let c=!1,d=-1,m=-1;function f(v){requestNewFrame(()=>{var b,w;const g=performance.now();(w=(b=a.updateLocation).value)==null||w.call(b,v),c=(performance.now()-g)/(1e3/60)>2})}m=(typeof requestIdleCallback>"u"?v=>v():requestIdleCallback)(()=>{u.run(()=>{bindScroll(a.targetEl.value??a.contentEl.value,v=>{c?(cancelAnimationFrame(d),d=requestAnimationFrame(()=>{d=requestAnimationFrame(()=>{f(v)})})):f(v)})})}),onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(m),cancelAnimationFrame(d)})}function bindScroll(a,i){const u=[document,...getScrollParents(a)];u.forEach(c=>{c.addEventListener("scroll",i,{passive:!0})}),onScopeDispose(()=>{u.forEach(c=>{c.removeEventListener("scroll",i)})})}const VMenuSymbol=Symbol.for("vuetify:v-menu"),makeDelayProps=propsFactory({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function useDelay(a,i){let u=()=>{};function c(f){u==null||u();const v=Number(f?a.openDelay:a.closeDelay);return new Promise(g=>{u=defer(v,()=>{i==null||i(f),g(f)})})}function d(){return c(!0)}function m(){return c(!1)}return{clearDelay:u,runOpenDelay:d,runCloseDelay:m}}const makeActivatorProps=propsFactory({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...makeDelayProps()},"VOverlay-activator");function useActivator(a,i){let{isActive:u,isTop:c}=i;const d=getCurrentInstance("useActivator"),m=ref();let f=!1,v=!1,g=!0;const y=computed(()=>a.openOnFocus||a.openOnFocus==null&&a.openOnHover),b=computed(()=>a.openOnClick||a.openOnClick==null&&!a.openOnHover&&!y.value),{runOpenDelay:w,runCloseDelay:k}=useDelay(a,M=>{M===(a.openOnHover&&f||y.value&&v)&&!(a.openOnHover&&u.value&&!c.value)&&(u.value!==M&&(g=!0),u.value=M)}),$=ref(),S={onClick:M=>{M.stopPropagation(),m.value=M.currentTarget||M.target,u.value||($.value=[M.clientX,M.clientY]),u.value=!u.value},onMouseenter:M=>{var z;(z=M.sourceCapabilities)!=null&&z.firesTouchEvents||(f=!0,m.value=M.currentTarget||M.target,w())},onMouseleave:M=>{f=!1,k()},onFocus:M=>{matchesSelector(M.target,":focus-visible")!==!1&&(v=!0,M.stopPropagation(),m.value=M.currentTarget||M.target,w())},onBlur:M=>{v=!1,M.stopPropagation(),k()}},C=computed(()=>{const M={};return b.value&&(M.onClick=S.onClick),a.openOnHover&&(M.onMouseenter=S.onMouseenter,M.onMouseleave=S.onMouseleave),y.value&&(M.onFocus=S.onFocus,M.onBlur=S.onBlur),M}),E=computed(()=>{const M={};if(a.openOnHover&&(M.onMouseenter=()=>{f=!0,w()},M.onMouseleave=()=>{f=!1,k()}),y.value&&(M.onFocusin=()=>{v=!0,w()},M.onFocusout=()=>{v=!1,k()}),a.closeOnContentClick){const z=inject$1(VMenuSymbol,null);M.onClick=()=>{u.value=!1,z==null||z.closeParents()}}return M}),D=computed(()=>{const M={};return a.openOnHover&&(M.onMouseenter=()=>{g&&(f=!0,g=!1,w())},M.onMouseleave=()=>{f=!1,k()}),M});watch(c,M=>{M&&(a.openOnHover&&!f&&(!y.value||!v)||y.value&&!v&&(!a.openOnHover||!f))&&(u.value=!1)}),watch(u,M=>{M||setTimeout(()=>{$.value=void 0})},{flush:"post"});const A=ref();watchEffect(()=>{A.value&&nextTick(()=>{m.value=refElement(A.value)})});const O=ref(),F=computed(()=>a.target==="cursor"&&$.value?$.value:O.value?refElement(O.value):getTarget(a.target,d)||m.value),B=computed(()=>Array.isArray(F.value)?void 0:F.value);let I;return watch(()=>!!a.activator,M=>{M&&IN_BROWSER?(I=effectScope(),I.run(()=>{_useActivator(a,d,{activatorEl:m,activatorEvents:C})})):I&&I.stop()},{flush:"post",immediate:!0}),onScopeDispose(()=>{I==null||I.stop()}),{activatorEl:m,activatorRef:A,target:F,targetEl:B,targetRef:O,activatorEvents:C,contentEvents:E,scrimEvents:D}}function _useActivator(a,i,u){let{activatorEl:c,activatorEvents:d}=u;watch(()=>a.activator,(g,y)=>{if(y&&g!==y){const b=v(y);b&&f(b)}g&&nextTick(()=>m())},{immediate:!0}),watch(()=>a.activatorProps,()=>{m()}),onScopeDispose(()=>{f()});function m(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.activatorProps;g&&bindProps(g,mergeProps(d.value,y))}function f(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.activatorProps;g&&unbindProps(g,mergeProps(d.value,y))}function v(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.activator;const y=getTarget(g,i);return c.value=(y==null?void 0:y.nodeType)===Node.ELEMENT_NODE?y:void 0,c.value}}function getTarget(a,i){var c,d;if(!a)return;let u;if(a==="parent"){let m=(d=(c=i==null?void 0:i.proxy)==null?void 0:c.$el)==null?void 0:d.parentNode;for(;m!=null&&m.hasAttribute("data-no-activator");)m=m.parentNode;u=m}else typeof a=="string"?u=document.querySelector(a):"$el"in a?u=a.$el:u=a;return u}function useHydration(){if(!IN_BROWSER)return shallowRef(!1);const{ssr:a}=useDisplay();if(a){const i=shallowRef(!1);return onMounted(()=>{i.value=!0}),i}else return shallowRef(!0)}const makeLazyProps=propsFactory({eager:Boolean},"lazy");function useLazy(a,i){const u=shallowRef(!1),c=computed(()=>u.value||a.eager||i.value);watch(i,()=>u.value=!0);function d(){a.eager||(u.value=!1)}return{isBooted:u,hasContent:c,onAfterLeave:d}}function useScopeId(){const i=getCurrentInstance("useScopeId").vnode.scopeId;return{scopeId:i?{[i]:""}:void 0}}const StackSymbol=Symbol.for("vuetify:stack"),globalStack=reactive([]);function useStack(a,i,u){const c=getCurrentInstance("useStack"),d=!u,m=inject$1(StackSymbol,void 0),f=reactive({activeChildren:new Set});provide(StackSymbol,f);const v=shallowRef(+i.value);useToggleScope(a,()=>{var w;const b=(w=globalStack.at(-1))==null?void 0:w[1];v.value=b?b+10:+i.value,d&&globalStack.push([c.uid,v.value]),m==null||m.activeChildren.add(c.uid),onScopeDispose(()=>{if(d){const k=toRaw(globalStack).findIndex($=>$[0]===c.uid);globalStack.splice(k,1)}m==null||m.activeChildren.delete(c.uid)})});const g=shallowRef(!0);d&&watchEffect(()=>{var w;const b=((w=globalStack.at(-1))==null?void 0:w[0])===c.uid;setTimeout(()=>g.value=b)});const y=computed(()=>!f.activeChildren.size);return{globalTop:readonly(g),localTop:y,stackStyles:computed(()=>({zIndex:v.value}))}}function useTeleport(a){return{teleportTarget:computed(()=>{const u=a.value;if(u===!0||!IN_BROWSER)return;const c=u===!1?document.body:typeof u=="string"?document.querySelector(u):u;if(c==null)return;let d=c.querySelector(":scope > .v-overlay-container");return d||(d=document.createElement("div"),d.className="v-overlay-container",c.appendChild(d)),d})}}function defaultConditional(){return!0}function checkEvent(a,i,u){if(!a||checkIsActive(a,u)===!1)return!1;const c=attachedRoot(i);if(typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&c.host===a.target)return!1;const d=(typeof u.value=="object"&&u.value.include||(()=>[]))();return d.push(i),!d.some(m=>m==null?void 0:m.contains(a.target))}function checkIsActive(a,i){return(typeof i.value=="object"&&i.value.closeConditional||defaultConditional)(a)}function directive(a,i,u){const c=typeof u.value=="function"?u.value:u.value.handler;i._clickOutside.lastMousedownWasOutside&&checkEvent(a,i,u)&&setTimeout(()=>{checkIsActive(a,u)&&c&&c(a)},0)}function handleShadow(a,i){const u=attachedRoot(a);i(document),typeof ShadowRoot<"u"&&u instanceof ShadowRoot&&i(u)}const ClickOutside={mounted(a,i){const u=d=>directive(d,a,i),c=d=>{a._clickOutside.lastMousedownWasOutside=checkEvent(d,a,i)};handleShadow(a,d=>{d.addEventListener("click",u,!0),d.addEventListener("mousedown",c,!0)}),a._clickOutside||(a._clickOutside={lastMousedownWasOutside:!1}),a._clickOutside[i.instance.$.uid]={onClick:u,onMousedown:c}},unmounted(a,i){a._clickOutside&&(handleShadow(a,u=>{var m;if(!u||!((m=a._clickOutside)!=null&&m[i.instance.$.uid]))return;const{onClick:c,onMousedown:d}=a._clickOutside[i.instance.$.uid];u.removeEventListener("click",c,!0),u.removeEventListener("mousedown",d,!0)}),delete a._clickOutside[i.instance.$.uid])}};function Scrim(a){const{modelValue:i,color:u,...c}=a;return createVNode(Transition,{name:"fade-transition",appear:!0},{default:()=>[a.modelValue&&createVNode("div",mergeProps({class:["v-overlay__scrim",a.color.backgroundColorClasses.value],style:a.color.backgroundColorStyles.value},c),null)]})}const makeVOverlayProps=propsFactory({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...makeActivatorProps(),...makeComponentProps(),...makeDimensionProps(),...makeLazyProps(),...makeLocationStrategyProps(),...makeScrollStrategyProps(),...makeThemeProps(),...makeTransitionProps$1()},"VOverlay"),VOverlay=genericComponent()({name:"VOverlay",directives:{ClickOutside},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...makeVOverlayProps()},emits:{"click:outside":a=>!0,"update:modelValue":a=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(a,i){let{slots:u,attrs:c,emit:d}=i;const m=useProxiedModel(a,"modelValue"),f=computed({get:()=>m.value,set:Le=>{Le&&a.disabled||(m.value=Le)}}),{teleportTarget:v}=useTeleport(computed(()=>a.attach||a.contained)),{themeClasses:g}=provideTheme(a),{rtlClasses:y,isRtl:b}=useRtl(),{hasContent:w,onAfterLeave:k}=useLazy(a,f),$=useBackgroundColor(computed(()=>typeof a.scrim=="string"?a.scrim:null)),{globalTop:S,localTop:C,stackStyles:E}=useStack(f,toRef(a,"zIndex"),a._disableGlobalStack),{activatorEl:D,activatorRef:A,target:O,targetEl:F,targetRef:B,activatorEvents:I,contentEvents:M,scrimEvents:z}=useActivator(a,{isActive:f,isTop:C}),{dimensionStyles:q}=useDimension(a),H=useHydration(),{scopeId:Q}=useScopeId();watch(()=>a.disabled,Le=>{Le&&(f.value=!1)});const j=ref(),ee=ref(),G=ref(),{contentStyles:J,updateLocation:te}=useLocationStrategies(a,{isRtl:b,contentEl:G,target:O,isActive:f});useScrollStrategies(a,{root:j,contentEl:G,targetEl:F,isActive:f,updateLocation:te});function re(Le){d("click:outside",Le),a.persistent?Se():f.value=!1}function ae(Le){return f.value&&S.value&&(!a.scrim||Le.target===ee.value)}IN_BROWSER&&watch(f,Le=>{Le?window.addEventListener("keydown",ye):window.removeEventListener("keydown",ye)},{immediate:!0}),onBeforeUnmount(()=>{IN_BROWSER&&window.removeEventListener("keydown",ye)});function ye(Le){var ke,ue;Le.key==="Escape"&&S.value&&(a.persistent?Se():(f.value=!1,(ke=G.value)!=null&&ke.contains(document.activeElement)&&((ue=D.value)==null||ue.focus())))}const ve=useRouter();useToggleScope(()=>a.closeOnBack,()=>{useBackButton(ve,Le=>{S.value&&f.value?(Le(!1),a.persistent?Se():f.value=!1):Le()})});const le=ref();watch(()=>f.value&&(a.absolute||a.contained)&&v.value==null,Le=>{if(Le){const ke=getScrollParent$2(j.value);ke&&ke!==document.scrollingElement&&(le.value=ke.scrollTop)}});function Se(){a.noClickAnimation||G.value&&animate(G.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:standardEasing})}function De(){d("afterEnter")}function At(){k(),d("afterLeave")}return useRender(()=>{var Le;return createVNode(Fragment,null,[(Le=u.activator)==null?void 0:Le.call(u,{isActive:f.value,props:mergeProps({ref:A,targetRef:B},I.value,a.activatorProps)}),H.value&&w.value&&createVNode(Teleport,{disabled:!v.value,to:v.value},{default:()=>[createVNode("div",mergeProps({class:["v-overlay",{"v-overlay--absolute":a.absolute||a.contained,"v-overlay--active":f.value,"v-overlay--contained":a.contained},g.value,y.value,a.class],style:[E.value,{"--v-overlay-opacity":a.opacity,top:convertToUnit(le.value)},a.style],ref:j},Q,c),[createVNode(Scrim,mergeProps({color:$,modelValue:f.value&&!!a.scrim,ref:ee},z.value),null),createVNode(MaybeTransition,{appear:!0,persisted:!0,transition:a.transition,target:O.value,onAfterEnter:De,onAfterLeave:At},{default:()=>{var ke;return[withDirectives(createVNode("div",mergeProps({ref:G,class:["v-overlay__content",a.contentClass],style:[q.value,J.value]},M.value,a.contentProps),[(ke=u.default)==null?void 0:ke.call(u,{isActive:f})]),[[vShow,f.value],[resolveDirective("click-outside"),{handler:re,closeConditional:ae,include:()=>[D.value]}]])]}})])]})])}),{activatorEl:D,scrimEl:ee,target:O,animateClick:Se,contentEl:G,globalTop:S,localTop:C,updateLocation:te}}}),Refs=Symbol("Forwarded refs");function getDescriptor(a,i){let u=a;for(;u;){const c=Reflect.getOwnPropertyDescriptor(u,i);if(c)return c;u=Object.getPrototypeOf(u)}}function forwardRefs(a){for(var i=arguments.length,u=new Array(i>1?i-1:0),c=1;c<i;c++)u[c-1]=arguments[c];return a[Refs]=u,new Proxy(a,{get(d,m){if(Reflect.has(d,m))return Reflect.get(d,m);if(!(typeof m=="symbol"||m.startsWith("$")||m.startsWith("__"))){for(const f of u)if(f.value&&Reflect.has(f.value,m)){const v=Reflect.get(f.value,m);return typeof v=="function"?v.bind(f.value):v}}},has(d,m){if(Reflect.has(d,m))return!0;if(typeof m=="symbol"||m.startsWith("$")||m.startsWith("__"))return!1;for(const f of u)if(f.value&&Reflect.has(f.value,m))return!0;return!1},set(d,m,f){if(Reflect.has(d,m))return Reflect.set(d,m,f);if(typeof m=="symbol"||m.startsWith("$")||m.startsWith("__"))return!1;for(const v of u)if(v.value&&Reflect.has(v.value,m))return Reflect.set(v.value,m,f);return!1},getOwnPropertyDescriptor(d,m){var v;const f=Reflect.getOwnPropertyDescriptor(d,m);if(f)return f;if(!(typeof m=="symbol"||m.startsWith("$")||m.startsWith("__"))){for(const g of u){if(!g.value)continue;const y=getDescriptor(g.value,m)??("_"in g.value?getDescriptor((v=g.value._)==null?void 0:v.setupState,m):void 0);if(y)return y}for(const g of u){const y=g.value&&g.value[Refs];if(!y)continue;const b=y.slice();for(;b.length;){const w=b.shift(),k=getDescriptor(w.value,m);if(k)return k;const $=w.value&&w.value[Refs];$&&b.push(...$)}}}}})}const makeVDialogProps=propsFactory({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...makeVOverlayProps({origin:"center center",scrollStrategy:"block",transition:{component:VDialogTransition},zIndex:2400})},"VDialog"),VDialog=genericComponent()({name:"VDialog",props:makeVDialogProps(),emits:{"click:outside":a=>!0,"update:modelValue":a=>!0,afterLeave:()=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),{scopeId:d}=useScopeId(),m=ref();function f(g){var w,k;const y=g.relatedTarget,b=g.target;if(y!==b&&((w=m.value)!=null&&w.contentEl)&&((k=m.value)!=null&&k.globalTop)&&![document,m.value.contentEl].includes(b)&&!m.value.contentEl.contains(b)){const $=focusableChildren(m.value.contentEl);if(!$.length)return;const S=$[0],C=$[$.length-1];y===S?C.focus():S.focus()}}IN_BROWSER&&watch(()=>c.value&&a.retainFocus,g=>{g?document.addEventListener("focusin",f):document.removeEventListener("focusin",f)},{immediate:!0});function v(){var g;(g=m.value)!=null&&g.contentEl&&!m.value.contentEl.contains(document.activeElement)&&m.value.contentEl.focus({preventScroll:!0})}return watch(c,async g=>{var y;g||(await nextTick(),(y=m.value.activatorEl)==null||y.focus({preventScroll:!0}))}),useRender(()=>{const g=VOverlay.filterProps(a),y=mergeProps({"aria-haspopup":"dialog","aria-expanded":String(c.value)},a.activatorProps),b=mergeProps({tabindex:-1},a.contentProps);return createVNode(VOverlay,mergeProps({ref:m,class:["v-dialog",{"v-dialog--fullscreen":a.fullscreen,"v-dialog--scrollable":a.scrollable},a.class],style:a.style},g,{modelValue:c.value,"onUpdate:modelValue":w=>c.value=w,"aria-modal":"true",activatorProps:y,contentProps:b,role:"dialog",onAfterEnter:v},d),{activator:u.activator,default:function(){for(var w=arguments.length,k=new Array(w),$=0;$<w;$++)k[$]=arguments[$];return createVNode(VDefaultsProvider,{root:"VDialog"},{default:()=>{var S;return[(S=u.default)==null?void 0:S.call(u,...k)]}})}})}),forwardRefs({},m)}}),makeVDividerProps=propsFactory({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...makeComponentProps(),...makeThemeProps()},"VDivider"),VDivider=genericComponent()({name:"VDivider",props:makeVDividerProps(),setup(a,i){let{attrs:u}=i;const{themeClasses:c}=provideTheme(a),{textColorClasses:d,textColorStyles:m}=useTextColor(toRef(a,"color")),f=computed(()=>{const v={};return a.length&&(v[a.vertical?"maxHeight":"maxWidth"]=convertToUnit(a.length)),a.thickness&&(v[a.vertical?"borderRightWidth":"borderTopWidth"]=convertToUnit(a.thickness)),v});return useRender(()=>createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":a.inset,"v-divider--vertical":a.vertical},c.value,d.value,a.class],style:[f.value,m.value,a.style],"aria-orientation":!u.role||u.role==="separator"?a.vertical?"vertical":"horizontal":void 0,role:`${u.role||"separator"}`},null)),{}}}),makeVCounterProps=propsFactory({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...makeComponentProps(),...makeTransitionProps$1({transition:{component:VSlideYTransition}})},"VCounter"),VCounter=genericComponent()({name:"VCounter",functional:!0,props:makeVCounterProps(),setup(a,i){let{slots:u}=i;const c=computed(()=>a.max?`${a.value} / ${a.max}`:String(a.value));return useRender(()=>createVNode(MaybeTransition,{transition:a.transition},{default:()=>[withDirectives(createVNode("div",{class:["v-counter",a.class],style:a.style},[u.default?u.default({counter:c.value,max:a.max,value:a.value}):c.value]),[[vShow,a.active]])]})),{}}}),makeVLabelProps=propsFactory({text:String,onClick:EventProp(),...makeComponentProps(),...makeThemeProps()},"VLabel"),VLabel=genericComponent()({name:"VLabel",props:makeVLabelProps(),setup(a,i){let{slots:u}=i;return useRender(()=>{var c;return createVNode("label",{class:["v-label",{"v-label--clickable":!!a.onClick},a.class],style:a.style,onClick:a.onClick},[a.text,(c=u.default)==null?void 0:c.call(u)])}),{}}}),makeVFieldLabelProps=propsFactory({floating:Boolean,...makeComponentProps()},"VFieldLabel"),VFieldLabel=genericComponent()({name:"VFieldLabel",props:makeVFieldLabelProps(),setup(a,i){let{slots:u}=i;return useRender(()=>createVNode(VLabel,{class:["v-field-label",{"v-field-label--floating":a.floating},a.class],style:a.style,"aria-hidden":a.floating||void 0},u)),{}}});function useInputIcon(a){const{t:i}=useLocale();function u(c){let{name:d}=c;const m={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[d],f=a[`onClick:${d}`],v=f&&m?i(`$vuetify.input.${m}`,a.label??""):void 0;return createVNode(VIcon,{icon:a[`${d}Icon`],"aria-label":v,onClick:f},null)}return{InputIcon:u}}const makeFocusProps=propsFactory({focused:Boolean,"onUpdate:focused":EventProp()},"focus");function useFocus(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const u=useProxiedModel(a,"focused"),c=computed(()=>({[`${i}--focused`]:u.value}));function d(){u.value=!0}function m(){u.value=!1}return{focusClasses:c,isFocused:u,focus:d,blur:m}}const allowedVariants$1=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],makeVFieldProps=propsFactory({appendInnerIcon:IconValue,bgColor:String,clearable:Boolean,clearIcon:{type:IconValue,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:IconValue,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:a=>allowedVariants$1.includes(a)},"onClick:clear":EventProp(),"onClick:appendInner":EventProp(),"onClick:prependInner":EventProp(),...makeComponentProps(),...makeLoaderProps(),...makeRoundedProps(),...makeThemeProps()},"VField"),VField=genericComponent()({name:"VField",inheritAttrs:!1,props:{id:String,...makeFocusProps(),...makeVFieldProps()},emits:{"update:focused":a=>!0,"update:modelValue":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const{themeClasses:m}=provideTheme(a),{loaderClasses:f}=useLoader(a),{focusClasses:v,isFocused:g,focus:y,blur:b}=useFocus(a),{InputIcon:w}=useInputIcon(a),{roundedClasses:k}=useRounded(a),{rtlClasses:$}=useRtl(),S=computed(()=>a.dirty||a.active),C=computed(()=>!a.singleLine&&!!(a.label||d.label)),E=getUid(),D=computed(()=>a.id||`input-${E}`),A=computed(()=>`${D.value}-messages`),O=ref(),F=ref(),B=ref(),I=computed(()=>["plain","underlined"].includes(a.variant)),{backgroundColorClasses:M,backgroundColorStyles:z}=useBackgroundColor(toRef(a,"bgColor")),{textColorClasses:q,textColorStyles:H}=useTextColor(computed(()=>a.error||a.disabled?void 0:S.value&&g.value?a.color:a.baseColor));watch(S,G=>{if(C.value){const J=O.value.$el,te=F.value.$el;requestAnimationFrame(()=>{const re=nullifyTransforms(J),ae=te.getBoundingClientRect(),ye=ae.x-re.x,ve=ae.y-re.y-(re.height/2-ae.height/2),le=ae.width/.75,Se=Math.abs(le-re.width)>1?{maxWidth:convertToUnit(le)}:void 0,De=getComputedStyle(J),At=getComputedStyle(te),Le=parseFloat(De.transitionDuration)*1e3||150,ke=parseFloat(At.getPropertyValue("--v-field-label-scale")),ue=At.getPropertyValue("color");J.style.visibility="visible",te.style.visibility="hidden",animate(J,{transform:`translate(${ye}px, ${ve}px) scale(${ke})`,color:ue,...Se},{duration:Le,easing:standardEasing,direction:G?"normal":"reverse"}).finished.then(()=>{J.style.removeProperty("visibility"),te.style.removeProperty("visibility")})})}},{flush:"post"});const Q=computed(()=>({isActive:S,isFocused:g,controlRef:B,blur:b,focus:y}));function j(G){G.target!==document.activeElement&&G.preventDefault()}function ee(G){var J;G.key!=="Enter"&&G.key!==" "||(G.preventDefault(),G.stopPropagation(),(J=a["onClick:clear"])==null||J.call(a,new MouseEvent("click")))}return useRender(()=>{var ye,ve,le;const G=a.variant==="outlined",J=!!(d["prepend-inner"]||a.prependInnerIcon),te=!!(a.clearable||d.clear),re=!!(d["append-inner"]||a.appendInnerIcon||te),ae=()=>d.label?d.label({...Q.value,label:a.label,props:{for:D.value}}):a.label;return createVNode("div",mergeProps({class:["v-field",{"v-field--active":S.value,"v-field--appended":re,"v-field--center-affix":a.centerAffix??!I.value,"v-field--disabled":a.disabled,"v-field--dirty":a.dirty,"v-field--error":a.error,"v-field--flat":a.flat,"v-field--has-background":!!a.bgColor,"v-field--persistent-clear":a.persistentClear,"v-field--prepended":J,"v-field--reverse":a.reverse,"v-field--single-line":a.singleLine,"v-field--no-label":!ae(),[`v-field--variant-${a.variant}`]:!0},m.value,M.value,v.value,f.value,k.value,$.value,a.class],style:[z.value,a.style],onClick:j},u),[createVNode("div",{class:"v-field__overlay"},null),createVNode(LoaderSlot,{name:"v-field",active:!!a.loading,color:a.error?"error":typeof a.loading=="string"?a.loading:a.color},{default:d.loader}),J&&createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[a.prependInnerIcon&&createVNode(w,{key:"prepend-icon",name:"prependInner"},null),(ye=d["prepend-inner"])==null?void 0:ye.call(d,Q.value)]),createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(a.variant)&&C.value&&createVNode(VFieldLabel,{key:"floating-label",ref:F,class:[q.value],floating:!0,for:D.value,style:H.value},{default:()=>[ae()]}),createVNode(VFieldLabel,{ref:O,for:D.value},{default:()=>[ae()]}),(ve=d.default)==null?void 0:ve.call(d,{...Q.value,props:{id:D.value,class:"v-field__input","aria-describedby":A.value},focus:y,blur:b})]),te&&createVNode(VExpandXTransition,{key:"clear"},{default:()=>[withDirectives(createVNode("div",{class:"v-field__clearable",onMousedown:Se=>{Se.preventDefault(),Se.stopPropagation()}},[createVNode(VDefaultsProvider,{defaults:{VIcon:{icon:a.clearIcon}}},{default:()=>[d.clear?d.clear({...Q.value,props:{onKeydown:ee,onFocus:y,onBlur:b,onClick:a["onClick:clear"]}}):createVNode(w,{name:"clear",onKeydown:ee,onFocus:y,onBlur:b},null)]})]),[[vShow,a.dirty]])]}),re&&createVNode("div",{key:"append",class:"v-field__append-inner"},[(le=d["append-inner"])==null?void 0:le.call(d,Q.value),a.appendInnerIcon&&createVNode(w,{key:"append-icon",name:"appendInner"},null)]),createVNode("div",{class:["v-field__outline",q.value],style:H.value},[G&&createVNode(Fragment,null,[createVNode("div",{class:"v-field__outline__start"},null),C.value&&createVNode("div",{class:"v-field__outline__notch"},[createVNode(VFieldLabel,{ref:F,floating:!0,for:D.value},{default:()=>[ae()]})]),createVNode("div",{class:"v-field__outline__end"},null)]),I.value&&C.value&&createVNode(VFieldLabel,{ref:F,floating:!0,for:D.value},{default:()=>[ae()]})])])}),{controlRef:B}}});function filterFieldProps(a){const i=Object.keys(VField.props).filter(u=>!isOn(u)&&u!=="class"&&u!=="style");return pick$2(a,i)}const makeVMessagesProps=propsFactory({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...makeComponentProps(),...makeTransitionProps$1({transition:{component:VSlideYTransition,leaveAbsolute:!0,group:!0}})},"VMessages"),VMessages=genericComponent()({name:"VMessages",props:makeVMessagesProps(),setup(a,i){let{slots:u}=i;const c=computed(()=>wrapInArray(a.messages)),{textColorClasses:d,textColorStyles:m}=useTextColor(computed(()=>a.color));return useRender(()=>createVNode(MaybeTransition,{transition:a.transition,tag:"div",class:["v-messages",d.value,a.class],style:[m.value,a.style],role:"alert","aria-live":"polite"},{default:()=>[a.active&&c.value.map((f,v)=>createVNode("div",{class:"v-messages__message",key:`${v}-${c.value}`},[u.message?u.message({message:f}):f]))]})),{}}}),FormKey=Symbol.for("vuetify:form"),makeFormProps=propsFactory({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function createForm(a){const i=useProxiedModel(a,"modelValue"),u=computed(()=>a.disabled),c=computed(()=>a.readonly),d=shallowRef(!1),m=ref([]),f=ref([]);async function v(){const b=[];let w=!0;f.value=[],d.value=!0;for(const k of m.value){const $=await k.validate();if($.length>0&&(w=!1,b.push({id:k.id,errorMessages:$})),!w&&a.fastFail)break}return f.value=b,d.value=!1,{valid:w,errors:f.value}}function g(){m.value.forEach(b=>b.reset())}function y(){m.value.forEach(b=>b.resetValidation())}return watch(m,()=>{let b=0,w=0;const k=[];for(const $ of m.value)$.isValid===!1?(w++,k.push({id:$.id,errorMessages:$.errorMessages})):$.isValid===!0&&b++;f.value=k,i.value=w>0?!1:b===m.value.length?!0:null},{deep:!0,flush:"post"}),provide(FormKey,{register:b=>{let{id:w,validate:k,reset:$,resetValidation:S}=b;m.value.some(C=>C.id===w),m.value.push({id:w,validate:k,reset:$,resetValidation:S,isValid:null,errorMessages:[]})},unregister:b=>{m.value=m.value.filter(w=>w.id!==b)},update:(b,w,k)=>{const $=m.value.find(S=>S.id===b);$&&($.isValid=w,$.errorMessages=k)},isDisabled:u,isReadonly:c,isValidating:d,isValid:i,items:m,validateOn:toRef(a,"validateOn")}),{errors:f,isDisabled:u,isReadonly:c,isValidating:d,isValid:i,items:m,validate:v,reset:g,resetValidation:y}}function useForm(){return inject$1(FormKey,null)}const makeValidationProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...makeFocusProps()},"validation");function useValidation(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:getUid();const c=useProxiedModel(a,"modelValue"),d=computed(()=>a.validationValue===void 0?c.value:a.validationValue),m=useForm(),f=ref([]),v=shallowRef(!0),g=computed(()=>!!(wrapInArray(c.value===""?null:c.value).length||wrapInArray(d.value===""?null:d.value).length)),y=computed(()=>!!(a.disabled??(m==null?void 0:m.isDisabled.value))),b=computed(()=>!!(a.readonly??(m==null?void 0:m.isReadonly.value))),w=computed(()=>{var F;return(F=a.errorMessages)!=null&&F.length?wrapInArray(a.errorMessages).concat(f.value).slice(0,Math.max(0,+a.maxErrors)):f.value}),k=computed(()=>{let F=(a.validateOn??(m==null?void 0:m.validateOn.value))||"input";F==="lazy"&&(F="input lazy");const B=new Set((F==null?void 0:F.split(" "))??[]);return{blur:B.has("blur")||B.has("input"),input:B.has("input"),submit:B.has("submit"),lazy:B.has("lazy")}}),$=computed(()=>{var F;return a.error||(F=a.errorMessages)!=null&&F.length?!1:a.rules.length?v.value?f.value.length||k.value.lazy?null:!0:!f.value.length:!0}),S=shallowRef(!1),C=computed(()=>({[`${i}--error`]:$.value===!1,[`${i}--dirty`]:g.value,[`${i}--disabled`]:y.value,[`${i}--readonly`]:b.value})),E=computed(()=>a.name??unref(u));onBeforeMount(()=>{m==null||m.register({id:E.value,validate:O,reset:D,resetValidation:A})}),onBeforeUnmount(()=>{m==null||m.unregister(E.value)}),onMounted(async()=>{k.value.lazy||await O(!0),m==null||m.update(E.value,$.value,w.value)}),useToggleScope(()=>k.value.input,()=>{watch(d,()=>{if(d.value!=null)O();else if(a.focused){const F=watch(()=>a.focused,B=>{B||O(),F()})}})}),useToggleScope(()=>k.value.blur,()=>{watch(()=>a.focused,F=>{F||O()})}),watch([$,w],()=>{m==null||m.update(E.value,$.value,w.value)});async function D(){c.value=null,await nextTick(),await A()}async function A(){v.value=!0,k.value.lazy?f.value=[]:await O(!0)}async function O(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const B=[];S.value=!0;for(const I of a.rules){if(B.length>=+(a.maxErrors??1))break;const z=await(typeof I=="function"?I:()=>I)(d.value);if(z!==!0){if(z!==!1&&typeof z!="string"){console.warn(`${z} is not a valid value. Rule functions must return boolean true or a string.`);continue}B.push(z||"")}}return f.value=B,S.value=!1,v.value=F,f.value}return{errorMessages:w,isDirty:g,isDisabled:y,isReadonly:b,isPristine:v,isValid:$,isValidating:S,reset:D,resetValidation:A,validate:O,validationClasses:C}}const makeVInputProps=propsFactory({id:String,appendIcon:IconValue,centerAffix:{type:Boolean,default:!0},prependIcon:IconValue,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:a=>["horizontal","vertical"].includes(a)},"onClick:prepend":EventProp(),"onClick:append":EventProp(),...makeComponentProps(),...makeDensityProps(),...makeValidationProps()},"VInput"),VInput=genericComponent()({name:"VInput",props:{...makeVInputProps()},emits:{"update:modelValue":a=>!0},setup(a,i){let{attrs:u,slots:c,emit:d}=i;const{densityClasses:m}=useDensity(a),{rtlClasses:f}=useRtl(),{InputIcon:v}=useInputIcon(a),g=getUid(),y=computed(()=>a.id||`input-${g}`),b=computed(()=>`${y.value}-messages`),{errorMessages:w,isDirty:k,isDisabled:$,isReadonly:S,isPristine:C,isValid:E,isValidating:D,reset:A,resetValidation:O,validate:F,validationClasses:B}=useValidation(a,"v-input",y),I=computed(()=>({id:y,messagesId:b,isDirty:k,isDisabled:$,isReadonly:S,isPristine:C,isValid:E,isValidating:D,reset:A,resetValidation:O,validate:F})),M=computed(()=>{var z;return(z=a.errorMessages)!=null&&z.length||!C.value&&w.value.length?w.value:a.hint&&(a.persistentHint||a.focused)?a.hint:a.messages});return useRender(()=>{var j,ee,G,J;const z=!!(c.prepend||a.prependIcon),q=!!(c.append||a.appendIcon),H=M.value.length>0,Q=!a.hideDetails||a.hideDetails==="auto"&&(H||!!c.details);return createVNode("div",{class:["v-input",`v-input--${a.direction}`,{"v-input--center-affix":a.centerAffix,"v-input--hide-spin-buttons":a.hideSpinButtons},m.value,f.value,B.value,a.class],style:a.style},[z&&createVNode("div",{key:"prepend",class:"v-input__prepend"},[(j=c.prepend)==null?void 0:j.call(c,I.value),a.prependIcon&&createVNode(v,{key:"prepend-icon",name:"prepend"},null)]),c.default&&createVNode("div",{class:"v-input__control"},[(ee=c.default)==null?void 0:ee.call(c,I.value)]),q&&createVNode("div",{key:"append",class:"v-input__append"},[a.appendIcon&&createVNode(v,{key:"append-icon",name:"append"},null),(G=c.append)==null?void 0:G.call(c,I.value)]),Q&&createVNode("div",{class:"v-input__details"},[createVNode(VMessages,{id:b.value,active:H,messages:M.value},{message:c.message}),(J=c.details)==null?void 0:J.call(c,I.value)])])}),{reset:A,resetValidation:O,validate:F,isValid:E,errorMessages:w}}}),activeTypes=["color","file","time","date","datetime-local","week","month"],makeVTextFieldProps=propsFactory({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextField"),VTextField=genericComponent()({name:"VTextField",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextFieldProps(),emits:{"click:control":a=>!0,"mousedown:control":a=>!0,"update:focused":a=>!0,"update:modelValue":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const m=useProxiedModel(a,"modelValue"),{isFocused:f,focus:v,blur:g}=useFocus(a),y=computed(()=>typeof a.counterValue=="function"?a.counterValue(m.value):typeof a.counterValue=="number"?a.counterValue:(m.value??"").toString().length),b=computed(()=>{if(u.maxlength)return u.maxlength;if(!(!a.counter||typeof a.counter!="number"&&typeof a.counter!="string"))return a.counter}),w=computed(()=>["plain","underlined"].includes(a.variant));function k(I,M){var z,q;!a.autofocus||!I||(q=(z=M[0].target)==null?void 0:z.focus)==null||q.call(z)}const $=ref(),S=ref(),C=ref(),E=computed(()=>activeTypes.includes(a.type)||a.persistentPlaceholder||f.value||a.active);function D(){var I;C.value!==document.activeElement&&((I=C.value)==null||I.focus()),f.value||v()}function A(I){c("mousedown:control",I),I.target!==C.value&&(D(),I.preventDefault())}function O(I){D(),c("click:control",I)}function F(I){I.stopPropagation(),D(),nextTick(()=>{m.value=null,callEvent(a["onClick:clear"],I)})}function B(I){var z;const M=I.target;if(m.value=M.value,(z=a.modelModifiers)!=null&&z.trim&&["text","search","password","tel","url"].includes(a.type)){const q=[M.selectionStart,M.selectionEnd];nextTick(()=>{M.selectionStart=q[0],M.selectionEnd=q[1]})}}return useRender(()=>{const I=!!(d.counter||a.counter!==!1&&a.counter!=null),M=!!(I||d.details),[z,q]=filterInputAttrs(u),{modelValue:H,...Q}=VInput.filterProps(a),j=filterFieldProps(a);return createVNode(VInput,mergeProps({ref:$,modelValue:m.value,"onUpdate:modelValue":ee=>m.value=ee,class:["v-text-field",{"v-text-field--prefixed":a.prefix,"v-text-field--suffixed":a.suffix,"v-input--plain-underlined":w.value},a.class],style:a.style},z,Q,{centerAffix:!w.value,focused:f.value}),{...d,default:ee=>{let{id:G,isDisabled:J,isDirty:te,isReadonly:re,isValid:ae}=ee;return createVNode(VField,mergeProps({ref:S,onMousedown:A,onClick:O,"onClick:clear":F,"onClick:prependInner":a["onClick:prependInner"],"onClick:appendInner":a["onClick:appendInner"],role:a.role},j,{id:G.value,active:E.value||te.value,dirty:te.value||a.dirty,disabled:J.value,focused:f.value,error:ae.value===!1}),{...d,default:ye=>{let{props:{class:ve,...le}}=ye;const Se=withDirectives(createVNode("input",mergeProps({ref:C,value:m.value,onInput:B,autofocus:a.autofocus,readonly:re.value,disabled:J.value,name:a.name,placeholder:a.placeholder,size:1,type:a.type,onFocus:D,onBlur:g},le,q),null),[[resolveDirective("intersect"),{handler:k},null,{once:!0}]]);return createVNode(Fragment,null,[a.prefix&&createVNode("span",{class:"v-text-field__prefix"},[createVNode("span",{class:"v-text-field__prefix__text"},[a.prefix])]),d.default?createVNode("div",{class:ve,"data-no-activator":""},[d.default(),Se]):cloneVNode(Se,{class:ve}),a.suffix&&createVNode("span",{class:"v-text-field__suffix"},[createVNode("span",{class:"v-text-field__suffix__text"},[a.suffix])])])}})},details:M?ee=>{var G;return createVNode(Fragment,null,[(G=d.details)==null?void 0:G.call(d,ee),I&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:a.persistentCounter||f.value,value:y.value,max:b.value},d.counter)])])}:void 0})}),forwardRefs({},$,S,C)}}),_hoisted_1$10=createBaseVNode("i",{class:"fas fa-search mr-1"},null,-1),_hoisted_2$F=createBaseVNode("span",{class:"d-none d-sm-block"},"Search",-1),_hoisted_3$s=createBaseVNode("i",{class:"fas fa-arrow-up"},null,-1),_hoisted_4$j=createBaseVNode("i",{class:"fas fa-arrow-down"},null,-1),_hoisted_5$c=createBaseVNode("small",{class:"mr-2"},"to navigate",-1),_hoisted_6$9=createBaseVNode("i",{class:"fas fa-level-down-alt fa-rotate-90"},null,-1),_hoisted_7$7=createBaseVNode("small",{class:"mr-2"},"to select",-1),_hoisted_8$5=createBaseVNode("small",null,"to close",-1),_sfc_main$u=defineComponent$1({__name:"GlobalSearchDialog",setup(a){const i=useRouter$1(),u=ref(!1);ref([]);const c=ref([]),d=ref(null),m=ref(0),f=computed(()=>{let y=[];return d.value!=""&&d.value!=null?(y.push({name:d.value,icon:"fas fa-search",suffix:"Advanced Search"}),c.value.filter(b=>b.name.toLowerCase().includes(d.value.toLowerCase())).slice(0,10).forEach(b=>{y.push({name:b.name,image:b.image,recipe_id:b.id})})):c.value.slice(0,5).forEach(b=>{y.push({name:b.name,image:b.image,recipe_id:b.id})}),y});watch(u,y=>{d.value="",setTimeout(()=>{if(y){let b=document.getElementById("id_global_search_input");b!=null&&b.focus()}},20)}),watch(d,()=>{m.value>=f.value.length&&(m.value=f.value.length-1)}),onMounted(()=>{window.addEventListener("keydown",b=>{u.value?(b.key=="ArrowUp"&&(m.value=Math.max(0,m.value-1)),b.key=="ArrowDown"&&(m.value=Math.min(f.value.length,m.value+1)),b.key=="Enter"&&g()):b.key=="k"&&b.ctrlKey&&(b.preventDefault(),u.value=!0)}),new ApiApi().apiRecipeFlatList().then(b=>{c.value=b})});function v(y){return m.value==y?"tonal":"elevated"}function g(){u.value=!1;let y=f.value[m.value];y.recipe_id!=null&&i.push({name:"view_recipe",params:{id:y.recipe_id}})}return(y,b)=>(openBlock(),createElementBlock(Fragment,null,[renderSlot(y.$slots,"activator",{},()=>[createVNode(VBtn,{onClick:b[0]||(b[0]=w=>u.value=!0),variant:"plain",density:"default"},{default:withCtx(()=>[_hoisted_1$10,_hoisted_2$F,createVNode(VChip,{size:"x-small",variant:"tonal",class:"d-none d-md-flex ml-1",label:""},{default:withCtx(()=>[createTextVNode("Ctrl+K")]),_:1})]),_:1})]),createVNode(VDialog,{width:"90%","max-width":"800px",modelValue:u.value,"onUpdate:modelValue":b[3]||(b[3]=w=>u.value=w),location:"id_dialog_anchor","location-strategy":"connected"},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardText,{class:"pb-0"},{default:withCtx(()=>[createVNode(VTextField,{id:"id_global_search_input",modelValue:d.value,"onUpdate:modelValue":b[1]||(b[1]=w=>d.value=w),autocomplete:"off",clearable:"",placeholder:"Search","prepend-inner-icon":"fas fa-search",variant:"solo"},null,8,["modelValue"])]),_:1}),createVNode(VDivider),createVNode(VCardText,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(f.value,(w,k)=>(openBlock(),createBlock(VCard,{variant:v(k),hover:"",class:"mt-1",onClick:$=>m.value=k,key:k},{default:withCtx(()=>[createVNode(VCardTitle,{onClick:b[2]||(b[2]=$=>g())},{default:withCtx(()=>[w.image?(openBlock(),createBlock(VAvatar,{key:0,image:w.image},null,8,["image"])):w.recipe_id!==void 0?(openBlock(),createBlock(VAvatar,{key:1,color:"tandoor"},{default:withCtx(()=>[createTextVNode(toDisplayString(w.name.charAt(0)),1)]),_:2},1024)):createCommentVNode("",!0),w.icon?(openBlock(),createBlock(VIcon,{key:2,icon:w.icon},null,8,["icon"])):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(w.name),1)]),_:2},1024)]),_:2},1032,["variant","onClick"]))),128))]),_:1}),createVNode(VDivider,{class:"d-none d-sm-block"}),createVNode(VCardText,{class:"d-none d-sm-block pt-2"},{default:withCtx(()=>[createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_3$s]),_:1}),createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_4$j]),_:1}),_hoisted_5$c,createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_6$9]),_:1}),_hoisted_7$7,createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[createTextVNode(" esc")]),_:1}),_hoisted_8$5]),_:1})]),_:1})]),_:1},8,["modelValue"])],64))}}),firstDay={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function getWeekArray(a,i){const u=[];let c=[];const d=startOfMonth(a),m=endOfMonth(a),f=(d.getDay()-firstDay[i.slice(-2).toUpperCase()]+7)%7,v=(m.getDay()-firstDay[i.slice(-2).toUpperCase()]+7)%7;for(let g=0;g<f;g++){const y=new Date(d);y.setDate(y.getDate()-(f-g)),c.push(y)}for(let g=1;g<=m.getDate();g++){const y=new Date(a.getFullYear(),a.getMonth(),g);c.push(y),c.length===7&&(u.push(c),c=[])}for(let g=1;g<7-v;g++){const y=new Date(m);y.setDate(y.getDate()+g),c.push(y)}return c.length>0&&u.push(c),u}function startOfWeek(a,i){const u=new Date(a);for(;u.getDay()!==(firstDay[i.slice(-2).toUpperCase()]??0);)u.setDate(u.getDate()-1);return u}function endOfWeek(a,i){const u=new Date(a),c=((firstDay[i.slice(-2).toUpperCase()]??0)+6)%7;for(;u.getDay()!==c;)u.setDate(u.getDate()+1);return u}function startOfMonth(a){return new Date(a.getFullYear(),a.getMonth(),1)}function endOfMonth(a){return new Date(a.getFullYear(),a.getMonth()+1,0)}function parseLocalDate(a){const i=a.split("-").map(Number);return new Date(i[0],i[1]-1,i[2])}const _YYYMMDD=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function date$5(a){if(a==null)return new Date;if(a instanceof Date)return a;if(typeof a=="string"){let i;if(_YYYMMDD.test(a))return parseLocalDate(a);if(i=Date.parse(a),!isNaN(i))return new Date(i)}return null}const sundayJanuarySecond2000=new Date(2e3,0,2);function getWeekdays(a){const i=firstDay[a.slice(-2).toUpperCase()];return createRange(7).map(u=>{const c=new Date(sundayJanuarySecond2000);return c.setDate(sundayJanuarySecond2000.getDate()+i+u),new Intl.DateTimeFormat(a,{weekday:"narrow"}).format(c)})}function format$1(a,i,u,c){const d=date$5(a)??new Date,m=c==null?void 0:c[i];if(typeof m=="function")return m(d,i,u);let f={};switch(i){case"fullDateWithWeekday":f={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"hours12h":f={hour:"numeric",hour12:!0};break;case"normalDateWithWeekday":f={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":f={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":f={month:"long",day:"numeric"};break;case"monthAndYear":f={month:"long",year:"numeric"};break;case"month":f={month:"long"};break;case"monthShort":f={month:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(u).format(d.getDate());case"shortDate":f={year:"2-digit",month:"numeric",day:"numeric"};break;case"weekdayShort":f={weekday:"short"};break;case"year":f={year:"numeric"};break;default:f=m??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(u,f).format(d)}function toISO(a,i){const u=a.toJsDate(i),c=u.getFullYear(),d=padStart$1(String(u.getMonth()+1),2,"0"),m=padStart$1(String(u.getDate()),2,"0");return`${c}-${d}-${m}`}function parseISO(a){const[i,u,c]=a.split("-").map(Number);return new Date(i,u-1,c)}function addMinutes(a,i){const u=new Date(a);return u.setMinutes(u.getMinutes()+i),u}function addHours(a,i){const u=new Date(a);return u.setHours(u.getHours()+i),u}function addDays(a,i){const u=new Date(a);return u.setDate(u.getDate()+i),u}function addWeeks(a,i){const u=new Date(a);return u.setDate(u.getDate()+i*7),u}function addMonths(a,i){const u=new Date(a);return u.setMonth(u.getMonth()+i),u}function getYear(a){return a.getFullYear()}function getMonth(a){return a.getMonth()}function getDate(a){return a.getDate()}function getNextMonth(a){return new Date(a.getFullYear(),a.getMonth()+1,1)}function getHours(a){return a.getHours()}function getMinutes(a){return a.getMinutes()}function startOfYear(a){return new Date(a.getFullYear(),0,1)}function endOfYear(a){return new Date(a.getFullYear(),11,31)}function isWithinRange(a,i){return isAfter$1(a,i[0])&&isBefore$1(a,i[1])}function isValid$3(a){const i=new Date(a);return i instanceof Date&&!isNaN(i.getTime())}function isAfter$1(a,i){return a.getTime()>i.getTime()}function isBefore$1(a,i){return a.getTime()<i.getTime()}function isEqual$1(a,i){return a.getTime()===i.getTime()}function isSameDay(a,i){return a.getDate()===i.getDate()&&a.getMonth()===i.getMonth()&&a.getFullYear()===i.getFullYear()}function isSameMonth(a,i){return a.getMonth()===i.getMonth()&&a.getFullYear()===i.getFullYear()}function getDiff(a,i,u){const c=new Date(a),d=new Date(i);switch(u){case"years":return c.getFullYear()-d.getFullYear();case"quarters":return Math.floor((c.getMonth()-d.getMonth()+(c.getFullYear()-d.getFullYear())*12)/4);case"months":return c.getMonth()-d.getMonth()+(c.getFullYear()-d.getFullYear())*12;case"weeks":return Math.floor((c.getTime()-d.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((c.getTime()-d.getTime())/(1e3*60*60*24));case"hours":return Math.floor((c.getTime()-d.getTime())/(1e3*60*60));case"minutes":return Math.floor((c.getTime()-d.getTime())/(1e3*60));case"seconds":return Math.floor((c.getTime()-d.getTime())/1e3);default:return c.getTime()-d.getTime()}}function setHours(a,i){const u=new Date(a);return u.setHours(i),u}function setMinutes(a,i){const u=new Date(a);return u.setMinutes(i),u}function setMonth$1(a,i){const u=new Date(a);return u.setMonth(i),u}function setDate(a,i){const u=new Date(a);return u.setDate(i),u}function setYear(a,i){const u=new Date(a);return u.setFullYear(i),u}function startOfDay(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate(),0,0,0,0)}function endOfDay(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate(),23,59,59,999)}class VuetifyDateAdapter{constructor(i){this.locale=i.locale,this.formats=i.formats}date(i){return date$5(i)}toJsDate(i){return i}toISO(i){return toISO(this,i)}parseISO(i){return parseISO(i)}addMinutes(i,u){return addMinutes(i,u)}addHours(i,u){return addHours(i,u)}addDays(i,u){return addDays(i,u)}addWeeks(i,u){return addWeeks(i,u)}addMonths(i,u){return addMonths(i,u)}getWeekArray(i){return getWeekArray(i,this.locale)}startOfWeek(i){return startOfWeek(i,this.locale)}endOfWeek(i){return endOfWeek(i,this.locale)}startOfMonth(i){return startOfMonth(i)}endOfMonth(i){return endOfMonth(i)}format(i,u){return format$1(i,u,this.locale,this.formats)}isEqual(i,u){return isEqual$1(i,u)}isValid(i){return isValid$3(i)}isWithinRange(i,u){return isWithinRange(i,u)}isAfter(i,u){return isAfter$1(i,u)}isBefore(i,u){return!isAfter$1(i,u)&&!isEqual$1(i,u)}isSameDay(i,u){return isSameDay(i,u)}isSameMonth(i,u){return isSameMonth(i,u)}setMinutes(i,u){return setMinutes(i,u)}setHours(i,u){return setHours(i,u)}setMonth(i,u){return setMonth$1(i,u)}setDate(i,u){return setDate(i,u)}setYear(i,u){return setYear(i,u)}getDiff(i,u,c){return getDiff(i,u,c)}getWeekdays(){return getWeekdays(this.locale)}getYear(i){return getYear(i)}getMonth(i){return getMonth(i)}getDate(i){return getDate(i)}getNextMonth(i){return getNextMonth(i)}getHours(i){return getHours(i)}getMinutes(i){return getMinutes(i)}startOfDay(i){return startOfDay(i)}endOfDay(i){return endOfDay(i)}startOfYear(i){return startOfYear(i)}endOfYear(i){return endOfYear(i)}}const DateOptionsSymbol=Symbol.for("vuetify:date-options"),DateAdapterSymbol=Symbol.for("vuetify:date-adapter");function createDate$1(a,i){const u=mergeDeep({adapter:VuetifyDateAdapter,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},a);return{options:u,instance:createInstance$1(u,i)}}function createInstance$1(a,i){const u=reactive(typeof a.adapter=="function"?new a.adapter({locale:a.locale[i.current.value]??i.current.value,formats:a.formats}):a.adapter);return watch(i.current,c=>{u.locale=a.locale[c]??c??u.locale}),u}const GoToSymbol=Symbol.for("vuetify:goto");function genDefaults(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:a=>a,easeInQuad:a=>a**2,easeOutQuad:a=>a*(2-a),easeInOutQuad:a=>a<.5?2*a**2:-1+(4-2*a)*a,easeInCubic:a=>a**3,easeOutCubic:a=>--a**3+1,easeInOutCubic:a=>a<.5?4*a**3:(a-1)*(2*a-2)*(2*a-2)+1,easeInQuart:a=>a**4,easeOutQuart:a=>1- --a**4,easeInOutQuart:a=>a<.5?8*a**4:1-8*--a**4,easeInQuint:a=>a**5,easeOutQuint:a=>1+--a**5,easeInOutQuint:a=>a<.5?16*a**5:1+16*--a**5}}}function createGoTo(a,i){return{rtl:i.isRtl,options:mergeDeep(genDefaults(),a)}}const VuetifyLayoutKey=Symbol.for("vuetify:layout"),VuetifyLayoutItemKey=Symbol.for("vuetify:layout-item"),ROOT_ZINDEX=1e3,makeLayoutProps=propsFactory({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),makeLayoutItemProps=propsFactory({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function useLayout(){const a=inject$1(VuetifyLayoutKey);if(!a)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:a.getLayoutItem,mainRect:a.mainRect,mainStyles:a.mainStyles}}function useLayoutItem(a){const i=inject$1(VuetifyLayoutKey);if(!i)throw new Error("[Vuetify] Could not find injected layout");const u=a.id??`layout-item-${getUid()}`,c=getCurrentInstance("useLayoutItem");provide(VuetifyLayoutItemKey,{id:u});const d=shallowRef(!1);onDeactivated(()=>d.value=!0),onActivated(()=>d.value=!1);const{layoutItemStyles:m,layoutItemScrimStyles:f}=i.register(c,{...a,active:computed(()=>d.value?!1:a.active.value),id:u});return onBeforeUnmount(()=>i.unregister(u)),{layoutItemStyles:m,layoutRect:i.layoutRect,layoutItemScrimStyles:f}}const generateLayers=(a,i,u,c)=>{let d={top:0,left:0,right:0,bottom:0};const m=[{id:"",layer:{...d}}];for(const f of a){const v=i.get(f),g=u.get(f),y=c.get(f);if(!v||!g||!y)continue;const b={...d,[v.value]:parseInt(d[v.value],10)+(y.value?parseInt(g.value,10):0)};m.push({id:f,layer:b}),d=b}return m};function createLayout(a){const i=inject$1(VuetifyLayoutKey,null),u=computed(()=>i?i.rootZIndex.value-100:ROOT_ZINDEX),c=ref([]),d=reactive(new Map),m=reactive(new Map),f=reactive(new Map),v=reactive(new Map),g=reactive(new Map),{resizeRef:y,contentRect:b}=useResizeObserver(),w=computed(()=>{const I=new Map,M=a.overlaps??[];for(const z of M.filter(q=>q.includes(":"))){const[q,H]=z.split(":");if(!c.value.includes(q)||!c.value.includes(H))continue;const Q=d.get(q),j=d.get(H),ee=m.get(q),G=m.get(H);!Q||!j||!ee||!G||(I.set(H,{position:Q.value,amount:parseInt(ee.value,10)}),I.set(q,{position:j.value,amount:-parseInt(G.value,10)}))}return I}),k=computed(()=>{const I=[...new Set([...f.values()].map(z=>z.value))].sort((z,q)=>z-q),M=[];for(const z of I){const q=c.value.filter(H=>{var Q;return((Q=f.get(H))==null?void 0:Q.value)===z});M.push(...q)}return generateLayers(M,d,m,v)}),$=computed(()=>!Array.from(g.values()).some(I=>I.value)),S=computed(()=>k.value[k.value.length-1].layer),C=computed(()=>({"--v-layout-left":convertToUnit(S.value.left),"--v-layout-right":convertToUnit(S.value.right),"--v-layout-top":convertToUnit(S.value.top),"--v-layout-bottom":convertToUnit(S.value.bottom),...$.value?void 0:{transition:"none"}})),E=computed(()=>k.value.slice(1).map((I,M)=>{let{id:z}=I;const{layer:q}=k.value[M],H=m.get(z),Q=d.get(z);return{id:z,...q,size:Number(H.value),position:Q.value}})),D=I=>E.value.find(M=>M.id===I),A=getCurrentInstance("createLayout"),O=shallowRef(!1);onMounted(()=>{O.value=!0}),provide(VuetifyLayoutKey,{register:(I,M)=>{let{id:z,order:q,position:H,layoutSize:Q,elementSize:j,active:ee,disableTransitions:G,absolute:J}=M;f.set(z,q),d.set(z,H),m.set(z,Q),v.set(z,ee),G&&g.set(z,G);const re=findChildrenWithProvide(VuetifyLayoutItemKey,A==null?void 0:A.vnode).indexOf(I);re>-1?c.value.splice(re,0,z):c.value.push(z);const ae=computed(()=>E.value.findIndex(Se=>Se.id===z)),ye=computed(()=>u.value+k.value.length*2-ae.value*2),ve=computed(()=>{const Se=H.value==="left"||H.value==="right",De=H.value==="right",At=H.value==="bottom",Le={[H.value]:0,zIndex:ye.value,transform:`translate${Se?"X":"Y"}(${(ee.value?0:-110)*(De||At?-1:1)}%)`,position:J.value||u.value!==ROOT_ZINDEX?"absolute":"fixed",...$.value?void 0:{transition:"none"}};if(!O.value)return Le;const ke=E.value[ae.value];if(!ke)throw new Error(`[Vuetify] Could not find layout item "${z}"`);const ue=w.value.get(z);return ue&&(ke[ue.position]+=ue.amount),{...Le,height:Se?`calc(100% - ${ke.top}px - ${ke.bottom}px)`:j.value?`${j.value}px`:void 0,left:De?void 0:`${ke.left}px`,right:De?`${ke.right}px`:void 0,top:H.value!=="bottom"?`${ke.top}px`:void 0,bottom:H.value!=="top"?`${ke.bottom}px`:void 0,width:Se?j.value?`${j.value}px`:void 0:`calc(100% - ${ke.left}px - ${ke.right}px)`}}),le=computed(()=>({zIndex:ye.value-1}));return{layoutItemStyles:ve,layoutItemScrimStyles:le,zIndex:ye}},unregister:I=>{f.delete(I),d.delete(I),m.delete(I),v.delete(I),g.delete(I),c.value=c.value.filter(M=>M!==I)},mainRect:S,mainStyles:C,getLayoutItem:D,items:E,layoutRect:b,rootZIndex:u});const F=computed(()=>["v-layout",{"v-layout--full-height":a.fullHeight}]),B=computed(()=>({zIndex:i?u.value:void 0,position:i?"relative":void 0,overflow:i?"hidden":void 0}));return{layoutClasses:F,layoutStyles:B,getLayoutItem:D,items:E,layoutRect:b,layoutRef:y}}function createVuetify(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:i,...u}=a,c=mergeDeep(i,u),{aliases:d={},components:m={},directives:f={}}=c,v=createDefaults(c.defaults),g=createDisplay(c.display,c.ssr),y=createTheme(c.theme),b=createIcons(c.icons),w=createLocale(c.locale),k=createDate$1(c.date,w),$=createGoTo(c.goTo,w);return{install:C=>{for(const E in f)C.directive(E,f[E]);for(const E in m)C.component(E,m[E]);for(const E in d)C.component(E,defineComponent({...d[E],name:E,aliasName:d[E].name}));if(y.install(C),C.provide(DefaultsSymbol,v),C.provide(DisplaySymbol,g),C.provide(ThemeSymbol,y),C.provide(IconSymbol,b),C.provide(LocaleSymbol,w),C.provide(DateOptionsSymbol,k.options),C.provide(DateAdapterSymbol,k.instance),C.provide(GoToSymbol,$),IN_BROWSER&&c.ssr)if(C.$nuxt)C.$nuxt.hook("app:suspense:resolve",()=>{g.update()});else{const{mount:E}=C;C.mount=function(){const D=E(...arguments);return nextTick(()=>g.update()),C.mount=E,D}}getUid.reset(),C.mixin({computed:{$vuetify(){return reactive({defaults:inject.call(this,DefaultsSymbol),display:inject.call(this,DisplaySymbol),theme:inject.call(this,ThemeSymbol),icons:inject.call(this,IconSymbol),locale:inject.call(this,LocaleSymbol),date:inject.call(this,DateAdapterSymbol)})}}})},defaults:v,display:g,theme:y,icons:b,locale:w,date:k,goTo:$}}const version$3="3.5.16";createVuetify.version=version$3;function inject(a){var c,d;const i=this.$,u=((c=i.parent)==null?void 0:c.provides)??((d=i.vnode.appContext)==null?void 0:d.provides);if(u&&a in u)return u[a]}const makeVAppProps=propsFactory({...makeComponentProps(),...makeLayoutProps({fullHeight:!0}),...makeThemeProps()},"VApp"),VApp=genericComponent()({name:"VApp",props:makeVAppProps(),setup(a,i){let{slots:u}=i;const c=provideTheme(a),{layoutClasses:d,getLayoutItem:m,items:f,layoutRef:v}=createLayout(a),{rtlClasses:g}=useRtl();return useRender(()=>{var y;return createVNode("div",{ref:v,class:["v-application",c.themeClasses.value,d.value,g.value,a.class],style:[a.style]},[createVNode("div",{class:"v-application__wrap"},[(y=u.default)==null?void 0:y.call(u)])])}),{getLayoutItem:m,items:f,theme:c}}}),makeVToolbarTitleProps=propsFactory({text:String,...makeComponentProps(),...makeTagProps()},"VToolbarTitle"),VToolbarTitle=genericComponent()({name:"VToolbarTitle",props:makeVToolbarTitleProps(),setup(a,i){let{slots:u}=i;return useRender(()=>{const c=!!(u.default||u.text||a.text);return createVNode(a.tag,{class:["v-toolbar-title",a.class],style:a.style},{default:()=>{var d;return[c&&createVNode("div",{class:"v-toolbar-title__placeholder"},[u.text?u.text():a.text,(d=u.default)==null?void 0:d.call(u)])]}})}),{}}}),allowedDensities=[null,"prominent","default","comfortable","compact"],makeVToolbarProps=propsFactory({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:a=>allowedDensities.includes(a)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps({tag:"header"}),...makeThemeProps()},"VToolbar"),VToolbar=genericComponent()({name:"VToolbar",props:makeVToolbarProps(),setup(a,i){var $;let{slots:u}=i;const{backgroundColorClasses:c,backgroundColorStyles:d}=useBackgroundColor(toRef(a,"color")),{borderClasses:m}=useBorder(a),{elevationClasses:f}=useElevation(a),{roundedClasses:v}=useRounded(a),{themeClasses:g}=provideTheme(a),{rtlClasses:y}=useRtl(),b=shallowRef(!!(a.extended||($=u.extension)!=null&&$.call(u))),w=computed(()=>parseInt(Number(a.height)+(a.density==="prominent"?Number(a.height):0)-(a.density==="comfortable"?8:0)-(a.density==="compact"?16:0),10)),k=computed(()=>b.value?parseInt(Number(a.extensionHeight)+(a.density==="prominent"?Number(a.extensionHeight):0)-(a.density==="comfortable"?4:0)-(a.density==="compact"?8:0),10):0);return provideDefaults({VBtn:{variant:"text"}}),useRender(()=>{var D;const S=!!(a.title||u.title),C=!!(u.image||a.image),E=(D=u.extension)==null?void 0:D.call(u);return b.value=!!(a.extended||E),createVNode(a.tag,{class:["v-toolbar",{"v-toolbar--absolute":a.absolute,"v-toolbar--collapse":a.collapse,"v-toolbar--flat":a.flat,"v-toolbar--floating":a.floating,[`v-toolbar--density-${a.density}`]:!0},c.value,m.value,f.value,v.value,g.value,y.value,a.class],style:[d.value,a.style]},{default:()=>[C&&createVNode("div",{key:"image",class:"v-toolbar__image"},[u.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!a.image,defaults:{VImg:{cover:!0,src:a.image}}},u.image):createVNode(VImg,{key:"image-img",cover:!0,src:a.image},null)]),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(w.value)}}},{default:()=>{var A,O,F;return[createVNode("div",{class:"v-toolbar__content",style:{height:convertToUnit(w.value)}},[u.prepend&&createVNode("div",{class:"v-toolbar__prepend"},[(A=u.prepend)==null?void 0:A.call(u)]),S&&createVNode(VToolbarTitle,{key:"title",text:a.title},{text:u.title}),(O=u.default)==null?void 0:O.call(u),u.append&&createVNode("div",{class:"v-toolbar__append"},[(F=u.append)==null?void 0:F.call(u)])])]}}),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(k.value)}}},{default:()=>[createVNode(VExpandTransition,null,{default:()=>[b.value&&createVNode("div",{class:"v-toolbar__extension",style:{height:convertToUnit(k.value)}},[E])]})]})]})}),{contentHeight:w,extensionHeight:k}}}),makeScrollProps=propsFactory({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function useScroll$2(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:u}=i;let c=0;const d=ref(null),m=shallowRef(0),f=shallowRef(0),v=shallowRef(0),g=shallowRef(!1),y=shallowRef(!1),b=computed(()=>Number(a.scrollThreshold)),w=computed(()=>clamp((b.value-m.value)/b.value||0)),k=()=>{const $=d.value;!$||u&&!u.value||(c=m.value,m.value="window"in $?$.pageYOffset:$.scrollTop,y.value=m.value<c,v.value=Math.abs(m.value-b.value))};return watch(y,()=>{f.value=f.value||m.value}),watch(g,()=>{f.value=0}),onMounted(()=>{watch(()=>a.scrollTarget,$=>{var C;const S=$?document.querySelector($):window;S&&S!==d.value&&((C=d.value)==null||C.removeEventListener("scroll",k),d.value=S,d.value.addEventListener("scroll",k,{passive:!0}))},{immediate:!0})}),onBeforeUnmount(()=>{var $;($=d.value)==null||$.removeEventListener("scroll",k)}),u&&watch(u,k,{immediate:!0}),{scrollThreshold:b,currentScroll:m,currentThreshold:v,isScrollActive:g,scrollRatio:w,isScrollingUp:y,savedScroll:f}}function useSsrBoot(){const a=shallowRef(!1);return onMounted(()=>{window.requestAnimationFrame(()=>{a.value=!0})}),{ssrBootStyles:computed(()=>a.value?void 0:{transition:"none !important"}),isBooted:readonly(a)}}const makeVAppBarProps=propsFactory({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:a=>["top","bottom"].includes(a)},...makeVToolbarProps(),...makeLayoutItemProps(),...makeScrollProps(),height:{type:[Number,String],default:64}},"VAppBar"),VAppBar=genericComponent()({name:"VAppBar",props:makeVAppBarProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=ref(),d=useProxiedModel(a,"modelValue"),m=computed(()=>{var A;const D=new Set(((A=a.scrollBehavior)==null?void 0:A.split(" "))??[]);return{hide:D.has("hide"),inverted:D.has("inverted"),collapse:D.has("collapse"),elevate:D.has("elevate"),fadeImage:D.has("fade-image")}}),f=computed(()=>{const D=m.value;return D.hide||D.inverted||D.collapse||D.elevate||D.fadeImage||!d.value}),{currentScroll:v,scrollThreshold:g,isScrollingUp:y,scrollRatio:b}=useScroll$2(a,{canScroll:f}),w=computed(()=>a.collapse||m.value.collapse&&(m.value.inverted?b.value>0:b.value===0)),k=computed(()=>a.flat||m.value.elevate&&(m.value.inverted?v.value>0:v.value===0)),$=computed(()=>m.value.fadeImage?m.value.inverted?1-b.value:b.value:void 0),S=computed(()=>{var O,F;if(m.value.hide&&m.value.inverted)return 0;const D=((O=c.value)==null?void 0:O.contentHeight)??0,A=((F=c.value)==null?void 0:F.extensionHeight)??0;return D+A});useToggleScope(computed(()=>!!a.scrollBehavior),()=>{watchEffect(()=>{m.value.hide?m.value.inverted?d.value=v.value>g.value:d.value=y.value||v.value<g.value:d.value=!0})});const{ssrBootStyles:C}=useSsrBoot(),{layoutItemStyles:E}=useLayoutItem({id:a.name,order:computed(()=>parseInt(a.order,10)),position:toRef(a,"location"),layoutSize:S,elementSize:shallowRef(void 0),active:d,absolute:toRef(a,"absolute")});return useRender(()=>{const D=VToolbar.filterProps(a);return createVNode(VToolbar,mergeProps({ref:c,class:["v-app-bar",{"v-app-bar--bottom":a.location==="bottom"},a.class],style:[{...E.value,"--v-toolbar-image-opacity":$.value,height:void 0,...C.value},a.style]},D,{collapse:w.value,flat:k.value}),u)}),{}}}),makeVBottomNavigationProps=propsFactory({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:a=>!a||["horizontal","shift"].includes(a)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeLayoutItemProps({name:"bottom-navigation"}),...makeTagProps({tag:"header"}),...makeGroupProps({modelValue:!0,selectedClass:"v-btn--selected"}),...makeThemeProps()},"VBottomNavigation"),VBottomNavigation=genericComponent()({name:"VBottomNavigation",props:makeVBottomNavigationProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{themeClasses:c}=useTheme(),{borderClasses:d}=useBorder(a),{backgroundColorClasses:m,backgroundColorStyles:f}=useBackgroundColor(toRef(a,"bgColor")),{densityClasses:v}=useDensity(a),{elevationClasses:g}=useElevation(a),{roundedClasses:y}=useRounded(a),{ssrBootStyles:b}=useSsrBoot(),w=computed(()=>Number(a.height)-(a.density==="comfortable"?8:0)-(a.density==="compact"?16:0)),k=toRef(a,"active"),{layoutItemStyles:$}=useLayoutItem({id:a.name,order:computed(()=>parseInt(a.order,10)),position:computed(()=>"bottom"),layoutSize:computed(()=>k.value?w.value:0),elementSize:w,active:k,absolute:toRef(a,"absolute")});return useGroup(a,VBtnToggleSymbol),provideDefaults({VBtn:{color:toRef(a,"color"),density:toRef(a,"density"),stacked:computed(()=>a.mode!=="horizontal"),variant:"text"}},{scoped:!0}),useRender(()=>createVNode(a.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":k.value,"v-bottom-navigation--grow":a.grow,"v-bottom-navigation--shift":a.mode==="shift"},c.value,m.value,d.value,v.value,g.value,y.value,a.class],style:[f.value,$.value,{height:convertToUnit(w.value),transform:`translateY(${convertToUnit(k.value?0:100,"%")})`},b.value,a.style]},{default:()=>[u.default&&createVNode("div",{class:"v-bottom-navigation__content"},[u.default()])]})),{}}}),makeVContainerProps=propsFactory({fluid:{type:Boolean,default:!1},...makeComponentProps(),...makeTagProps()},"VContainer"),VContainer=genericComponent()({name:"VContainer",props:makeVContainerProps(),setup(a,i){let{slots:u}=i;const{rtlClasses:c}=useRtl();return useRender(()=>createVNode(a.tag,{class:["v-container",{"v-container--fluid":a.fluid},c.value,a.class],style:a.style},u)),{}}}),breakpointProps=breakpoints.reduce((a,i)=>(a[i]={type:[Boolean,String,Number],default:!1},a),{}),offsetProps=breakpoints.reduce((a,i)=>{const u="offset"+capitalize$2(i);return a[u]={type:[String,Number],default:null},a},{}),orderProps=breakpoints.reduce((a,i)=>{const u="order"+capitalize$2(i);return a[u]={type:[String,Number],default:null},a},{}),propMap$1={col:Object.keys(breakpointProps),offset:Object.keys(offsetProps),order:Object.keys(orderProps)};function breakpointClass$1(a,i,u){let c=a;if(!(u==null||u===!1)){if(i){const d=i.replace(a,"");c+=`-${d}`}return a==="col"&&(c="v-"+c),a==="col"&&(u===""||u===!0)||(c+=`-${u}`),c.toLowerCase()}}const ALIGN_SELF_VALUES=["auto","start","end","center","baseline","stretch"],makeVColProps=propsFactory({cols:{type:[Boolean,String,Number],default:!1},...breakpointProps,offset:{type:[String,Number],default:null},...offsetProps,order:{type:[String,Number],default:null},...orderProps,alignSelf:{type:String,default:null,validator:a=>ALIGN_SELF_VALUES.includes(a)},...makeComponentProps(),...makeTagProps()},"VCol"),VCol=genericComponent()({name:"VCol",props:makeVColProps(),setup(a,i){let{slots:u}=i;const c=computed(()=>{const d=[];let m;for(m in propMap$1)propMap$1[m].forEach(v=>{const g=a[v],y=breakpointClass$1(m,v,g);y&&d.push(y)});const f=d.some(v=>v.startsWith("v-col-"));return d.push({"v-col":!f||!a.cols,[`v-col-${a.cols}`]:a.cols,[`offset-${a.offset}`]:a.offset,[`order-${a.order}`]:a.order,[`align-self-${a.alignSelf}`]:a.alignSelf}),d});return()=>{var d;return h(a.tag,{class:[c.value,a.class],style:a.style},(d=u.default)==null?void 0:d.call(u))}}}),ALIGNMENT=["start","end","center"],SPACE=["space-between","space-around","space-evenly"];function makeRowProps(a,i){return breakpoints.reduce((u,c)=>{const d=a+capitalize$2(c);return u[d]=i(),u},{})}const ALIGN_VALUES=[...ALIGNMENT,"baseline","stretch"],alignValidator=a=>ALIGN_VALUES.includes(a),alignProps=makeRowProps("align",()=>({type:String,default:null,validator:alignValidator})),JUSTIFY_VALUES=[...ALIGNMENT,...SPACE],justifyValidator=a=>JUSTIFY_VALUES.includes(a),justifyProps=makeRowProps("justify",()=>({type:String,default:null,validator:justifyValidator})),ALIGN_CONTENT_VALUES=[...ALIGNMENT,...SPACE,"stretch"],alignContentValidator=a=>ALIGN_CONTENT_VALUES.includes(a),alignContentProps=makeRowProps("alignContent",()=>({type:String,default:null,validator:alignContentValidator})),propMap={align:Object.keys(alignProps),justify:Object.keys(justifyProps),alignContent:Object.keys(alignContentProps)},classMap={align:"align",justify:"justify",alignContent:"align-content"};function breakpointClass(a,i,u){let c=classMap[a];if(u!=null){if(i){const d=i.replace(a,"");c+=`-${d}`}return c+=`-${u}`,c.toLowerCase()}}const makeVRowProps=propsFactory({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:alignValidator},...alignProps,justify:{type:String,default:null,validator:justifyValidator},...justifyProps,alignContent:{type:String,default:null,validator:alignContentValidator},...alignContentProps,...makeComponentProps(),...makeTagProps()},"VRow"),VRow=genericComponent()({name:"VRow",props:makeVRowProps(),setup(a,i){let{slots:u}=i;const c=computed(()=>{const d=[];let m;for(m in propMap)propMap[m].forEach(f=>{const v=a[f],g=breakpointClass(m,f,v);g&&d.push(g)});return d.push({"v-row--no-gutters":a.noGutters,"v-row--dense":a.dense,[`align-${a.align}`]:a.align,[`justify-${a.justify}`]:a.justify,[`align-content-${a.alignContent}`]:a.alignContent}),d});return()=>{var d;return h(a.tag,{class:["v-row",c.value,a.class],style:a.style},(d=u.default)==null?void 0:d.call(u))}}}),VSpacer=createSimpleFunctional("v-spacer","div","VSpacer"),ListKey=Symbol.for("vuetify:list");function createList(){const a=inject$1(ListKey,{hasPrepend:shallowRef(!1),updateHasPrepend:()=>null}),i={hasPrepend:shallowRef(!1),updateHasPrepend:u=>{u&&(i.hasPrepend.value=u)}};return provide(ListKey,i),a}function useList(){return inject$1(ListKey,null)}const independentActiveStrategy=a=>{const i={activate:u=>{let{id:c,value:d,activated:m}=u;return c=toRaw(c),a&&!d&&m.size===1&&m.has(c)||(d?m.add(c):m.delete(c)),m},in:(u,c,d)=>{let m=new Set;for(const f of u||[])m=i.activate({id:f,value:!0,activated:new Set(m),children:c,parents:d});return m},out:u=>Array.from(u)};return i},independentSingleActiveStrategy=a=>{const i=independentActiveStrategy(a);return{activate:c=>{let{activated:d,id:m,...f}=c;m=toRaw(m);const v=d.has(m)?new Set([m]):new Set;return i.activate({...f,id:m,activated:v})},in:(c,d,m)=>{let f=new Set;return c!=null&&c.length&&(f=i.in(c.slice(0,1),d,m)),f},out:(c,d,m)=>i.out(c,d,m)}},leafActiveStrategy=a=>{const i=independentActiveStrategy(a);return{activate:c=>{let{id:d,activated:m,children:f,...v}=c;return d=toRaw(d),f.has(d)?m:i.activate({id:d,activated:m,children:f,...v})},in:i.in,out:i.out}},leafSingleActiveStrategy=a=>{const i=independentSingleActiveStrategy(a);return{activate:c=>{let{id:d,activated:m,children:f,...v}=c;return d=toRaw(d),f.has(d)?m:i.activate({id:d,activated:m,children:f,...v})},in:i.in,out:i.out}},singleOpenStrategy={open:a=>{let{id:i,value:u,opened:c,parents:d}=a;if(u){const m=new Set;m.add(i);let f=d.get(i);for(;f!=null;)m.add(f),f=d.get(f);return m}else return c.delete(i),c},select:()=>null},multipleOpenStrategy={open:a=>{let{id:i,value:u,opened:c,parents:d}=a;if(u){let m=d.get(i);for(c.add(i);m!=null&&m!==i;)c.add(m),m=d.get(m);return c}else c.delete(i);return c},select:()=>null},listOpenStrategy={open:multipleOpenStrategy.open,select:a=>{let{id:i,value:u,opened:c,parents:d}=a;if(!u)return c;const m=[];let f=d.get(i);for(;f!=null;)m.push(f),f=d.get(f);return new Set(m)}},independentSelectStrategy=a=>{const i={select:u=>{let{id:c,value:d,selected:m}=u;if(c=toRaw(c),a&&!d){const f=Array.from(m.entries()).reduce((v,g)=>{let[y,b]=g;return b==="on"&&v.push(y),v},[]);if(f.length===1&&f[0]===c)return m}return m.set(c,d?"on":"off"),m},in:(u,c,d)=>{let m=new Map;for(const f of u||[])m=i.select({id:f,value:!0,selected:new Map(m),children:c,parents:d});return m},out:u=>{const c=[];for(const[d,m]of u.entries())m==="on"&&c.push(d);return c}};return i},independentSingleSelectStrategy=a=>{const i=independentSelectStrategy(a);return{select:c=>{let{selected:d,id:m,...f}=c;m=toRaw(m);const v=d.has(m)?new Map([[m,d.get(m)]]):new Map;return i.select({...f,id:m,selected:v})},in:(c,d,m)=>{let f=new Map;return c!=null&&c.length&&(f=i.in(c.slice(0,1),d,m)),f},out:(c,d,m)=>i.out(c,d,m)}},leafSelectStrategy=a=>{const i=independentSelectStrategy(a);return{select:c=>{let{id:d,selected:m,children:f,...v}=c;return d=toRaw(d),f.has(d)?m:i.select({id:d,selected:m,children:f,...v})},in:i.in,out:i.out}},leafSingleSelectStrategy=a=>{const i=independentSingleSelectStrategy(a);return{select:c=>{let{id:d,selected:m,children:f,...v}=c;return d=toRaw(d),f.has(d)?m:i.select({id:d,selected:m,children:f,...v})},in:i.in,out:i.out}},classicSelectStrategy=a=>{const i={select:u=>{let{id:c,value:d,selected:m,children:f,parents:v}=u;c=toRaw(c);const g=new Map(m),y=[c];for(;y.length;){const w=y.shift();m.set(w,d?"on":"off"),f.has(w)&&y.push(...f.get(w))}let b=v.get(c);for(;b;){const w=f.get(b),k=w.every(S=>m.get(S)==="on"),$=w.every(S=>!m.has(S)||m.get(S)==="off");m.set(b,k?"on":$?"off":"indeterminate"),b=v.get(b)}return a&&!d&&Array.from(m.entries()).reduce((k,$)=>{let[S,C]=$;return C==="on"&&k.push(S),k},[]).length===0?g:m},in:(u,c,d)=>{let m=new Map;for(const f of u||[])m=i.select({id:f,value:!0,selected:new Map(m),children:c,parents:d});return m},out:(u,c)=>{const d=[];for(const[m,f]of u.entries())f==="on"&&!c.has(m)&&d.push(m);return d}};return i},VNestedSymbol=Symbol.for("vuetify:nested"),emptyNested={id:shallowRef(),root:{register:()=>null,unregister:()=>null,parents:ref(new Map),children:ref(new Map),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:ref(!1),selectable:ref(!1),opened:ref(new Set),activated:ref(new Set),selected:ref(new Map),selectedValues:ref([])}},makeNestedProps=propsFactory({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function],selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,activated:Array,selected:Array,mandatory:Boolean},"nested"),useNested=a=>{let i=!1;const u=ref(new Map),c=ref(new Map),d=useProxiedModel(a,"opened",a.opened,$=>new Set($),$=>[...$.values()]),m=computed(()=>{if(typeof a.activeStrategy=="object")return a.activeStrategy;switch(a.activeStrategy){case"leaf":return leafActiveStrategy(a.mandatory);case"single-leaf":return leafSingleActiveStrategy(a.mandatory);case"independent":return independentActiveStrategy(a.mandatory);case"single-independent":default:return independentSingleActiveStrategy(a.mandatory)}}),f=computed(()=>{if(typeof a.selectStrategy=="object")return a.selectStrategy;switch(a.selectStrategy){case"single-leaf":return leafSingleSelectStrategy(a.mandatory);case"leaf":return leafSelectStrategy(a.mandatory);case"independent":return independentSelectStrategy(a.mandatory);case"single-independent":return independentSingleSelectStrategy(a.mandatory);case"classic":default:return classicSelectStrategy(a.mandatory)}}),v=computed(()=>{if(typeof a.openStrategy=="object")return a.openStrategy;switch(a.openStrategy){case"list":return listOpenStrategy;case"single":return singleOpenStrategy;case"multiple":default:return multipleOpenStrategy}}),g=useProxiedModel(a,"activated",a.activated,$=>m.value.in($,u.value,c.value),$=>m.value.out($,u.value,c.value)),y=useProxiedModel(a,"selected",a.selected,$=>f.value.in($,u.value,c.value),$=>f.value.out($,u.value,c.value));onBeforeUnmount(()=>{i=!0});function b($){const S=[];let C=$;for(;C!=null;)S.unshift(C),C=c.value.get(C);return S}const w=getCurrentInstance("nested"),k={id:shallowRef(),root:{opened:d,activatable:toRef(a,"activatable"),selectable:toRef(a,"selectable"),activated:g,selected:y,selectedValues:computed(()=>{const $=[];for(const[S,C]of y.value.entries())C==="on"&&$.push(S);return $}),register:($,S,C)=>{S&&$!==S&&c.value.set($,S),C&&u.value.set($,[]),S!=null&&u.value.set(S,[...u.value.get(S)||[],$])},unregister:$=>{if(i)return;u.value.delete($);const S=c.value.get($);if(S){const C=u.value.get(S)??[];u.value.set(S,C.filter(E=>E!==$))}c.value.delete($),d.value.delete($)},open:($,S,C)=>{w.emit("click:open",{id:$,value:S,path:b($),event:C});const E=v.value.open({id:$,value:S,opened:new Set(d.value),children:u.value,parents:c.value,event:C});E&&(d.value=E)},openOnSelect:($,S,C)=>{const E=v.value.select({id:$,value:S,selected:new Map(y.value),opened:new Set(d.value),children:u.value,parents:c.value,event:C});E&&(d.value=E)},select:($,S,C)=>{w.emit("click:select",{id:$,value:S,path:b($),event:C});const E=f.value.select({id:$,value:S,selected:new Map(y.value),children:u.value,parents:c.value,event:C});E&&(y.value=E),k.root.openOnSelect($,S,C)},activate:($,S,C)=>{if(!a.activatable)return k.root.select($,!0,C);w.emit("click:activate",{id:$,value:S,path:b($),event:C});const E=m.value.activate({id:$,value:S,activated:new Set(g.value),children:u.value,parents:c.value,event:C});E&&(g.value=E)},children:u,parents:c}};return provide(VNestedSymbol,k),k.root},useNestedItem=(a,i)=>{const u=inject$1(VNestedSymbol,emptyNested),c=Symbol(getUid()),d=computed(()=>a.value!==void 0?a.value:c),m={...u,id:d,open:(f,v)=>u.root.open(d.value,f,v),openOnSelect:(f,v)=>u.root.openOnSelect(d.value,f,v),isOpen:computed(()=>u.root.opened.value.has(d.value)),parent:computed(()=>u.root.parents.value.get(d.value)),activate:(f,v)=>u.root.activate(d.value,f,v),isActivated:computed(()=>u.root.activated.value.has(toRaw(d.value))),select:(f,v)=>u.root.select(d.value,f,v),isSelected:computed(()=>u.root.selected.value.get(toRaw(d.value))==="on"),isIndeterminate:computed(()=>u.root.selected.value.get(d.value)==="indeterminate"),isLeaf:computed(()=>!u.root.children.value.get(d.value)),isGroupActivator:u.isGroupActivator};return!u.isGroupActivator&&u.root.register(d.value,u.id.value,i),onBeforeUnmount(()=>{!u.isGroupActivator&&u.root.unregister(d.value)}),i&&provide(VNestedSymbol,m),m},useNestedGroupActivator=()=>{const a=inject$1(VNestedSymbol,emptyNested);provide(VNestedSymbol,{...a,isGroupActivator:!0})},VListGroupActivator=defineComponent({name:"VListGroupActivator",setup(a,i){let{slots:u}=i;return useNestedGroupActivator(),()=>{var c;return(c=u.default)==null?void 0:c.call(u)}}}),makeVListGroupProps=propsFactory({activeColor:String,baseColor:String,color:String,collapseIcon:{type:IconValue,default:"$collapse"},expandIcon:{type:IconValue,default:"$expand"},prependIcon:IconValue,appendIcon:IconValue,fluid:Boolean,subgroup:Boolean,title:String,value:null,...makeComponentProps(),...makeTagProps()},"VListGroup"),VListGroup=genericComponent()({name:"VListGroup",props:makeVListGroupProps(),setup(a,i){let{slots:u}=i;const{isOpen:c,open:d,id:m}=useNestedItem(toRef(a,"value"),!0),f=computed(()=>`v-list-group--id-${String(m.value)}`),v=useList(),{isBooted:g}=useSsrBoot();function y($){d(!c.value,$)}const b=computed(()=>({onClick:y,class:"v-list-group__header",id:f.value})),w=computed(()=>c.value?a.collapseIcon:a.expandIcon),k=computed(()=>({VListItem:{active:c.value,activeColor:a.activeColor,baseColor:a.baseColor,color:a.color,prependIcon:a.prependIcon||a.subgroup&&w.value,appendIcon:a.appendIcon||!a.subgroup&&w.value,title:a.title,value:a.value}}));return useRender(()=>createVNode(a.tag,{class:["v-list-group",{"v-list-group--prepend":v==null?void 0:v.hasPrepend.value,"v-list-group--fluid":a.fluid,"v-list-group--subgroup":a.subgroup,"v-list-group--open":c.value},a.class],style:a.style},{default:()=>[u.activator&&createVNode(VDefaultsProvider,{defaults:k.value},{default:()=>[createVNode(VListGroupActivator,null,{default:()=>[u.activator({props:b.value,isOpen:c.value})]})]}),createVNode(MaybeTransition,{transition:{component:VExpandTransition},disabled:!g.value},{default:()=>{var $;return[withDirectives(createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":f.value},[($=u.default)==null?void 0:$.call(u)]),[[vShow,c.value]])]}})]})),{isOpen:c}}}),VListItemSubtitle=createSimpleFunctional("v-list-item-subtitle"),VListItemTitle=createSimpleFunctional("v-list-item-title"),makeVListItemProps=propsFactory({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:IconValue,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VListItem"),VListItem=genericComponent()({name:"VListItem",directives:{Ripple},props:makeVListItemProps(),emits:{click:a=>!0},setup(a,i){let{attrs:u,slots:c,emit:d}=i;const m=useLink(a,u),f=computed(()=>a.value===void 0?m.href.value:a.value),{activate:v,isActivated:g,select:y,isSelected:b,isIndeterminate:w,isGroupActivator:k,root:$,parent:S,openOnSelect:C}=useNestedItem(f,!1),E=useList(),D=computed(()=>{var ve;return a.active!==!1&&(a.active||((ve=m.isActive)==null?void 0:ve.value)||($.activatable.value?g.value:b.value))}),A=computed(()=>a.link!==!1&&m.isLink.value),O=computed(()=>!a.disabled&&a.link!==!1&&(a.link||m.isClickable.value||!!E&&($.selectable.value||$.activatable.value||a.value!=null))),F=computed(()=>a.rounded||a.nav),B=computed(()=>a.color??a.activeColor),I=computed(()=>({color:D.value?B.value??a.baseColor:a.baseColor,variant:a.variant}));watch(()=>{var ve;return(ve=m.isActive)==null?void 0:ve.value},ve=>{ve&&S.value!=null&&$.open(S.value,!0),ve&&C(ve)},{immediate:!0});const{themeClasses:M}=provideTheme(a),{borderClasses:z}=useBorder(a),{colorClasses:q,colorStyles:H,variantClasses:Q}=useVariant(I),{densityClasses:j}=useDensity(a),{dimensionStyles:ee}=useDimension(a),{elevationClasses:G}=useElevation(a),{roundedClasses:J}=useRounded(F),te=computed(()=>a.lines?`v-list-item--${a.lines}-line`:void 0),re=computed(()=>({isActive:D.value,select:y,isSelected:b.value,isIndeterminate:w.value}));function ae(ve){var le;d("click",ve),!(k||!O.value)&&((le=m.navigate)==null||le.call(m,ve),$.activatable.value?v(!g.value,ve):($.selectable.value||a.value!=null)&&y(!b.value,ve))}function ye(ve){(ve.key==="Enter"||ve.key===" ")&&(ve.preventDefault(),ae(ve))}return useRender(()=>{const ve=A.value?"a":a.tag,le=c.title||a.title!=null,Se=c.subtitle||a.subtitle!=null,De=!!(a.appendAvatar||a.appendIcon),At=!!(De||c.append),Le=!!(a.prependAvatar||a.prependIcon),ke=!!(Le||c.prepend);return E==null||E.updateHasPrepend(ke),a.activeColor&&deprecate$1("active-color",["color","base-color"]),withDirectives(createVNode(ve,{class:["v-list-item",{"v-list-item--active":D.value,"v-list-item--disabled":a.disabled,"v-list-item--link":O.value,"v-list-item--nav":a.nav,"v-list-item--prepend":!ke&&(E==null?void 0:E.hasPrepend.value),"v-list-item--slim":a.slim,[`${a.activeClass}`]:a.activeClass&&D.value},M.value,z.value,q.value,j.value,G.value,te.value,J.value,Q.value,a.class],style:[H.value,ee.value,a.style],href:m.href.value,tabindex:O.value?E?-2:0:void 0,onClick:ae,onKeydown:O.value&&!A.value&&ye},{default:()=>{var ue;return[genOverlays(O.value||D.value,"v-list-item"),ke&&createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[c.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!Le,defaults:{VAvatar:{density:a.density,image:a.prependAvatar},VIcon:{density:a.density,icon:a.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var Ce;return[(Ce=c.prepend)==null?void 0:Ce.call(c,re.value)]}}):createVNode(Fragment,null,[a.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:a.density,image:a.prependAvatar},null),a.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:a.density,icon:a.prependIcon},null)]),createVNode("div",{class:"v-list-item__spacer"},null)]),createVNode("div",{class:"v-list-item__content","data-no-activator":""},[le&&createVNode(VListItemTitle,{key:"title"},{default:()=>{var Ce;return[((Ce=c.title)==null?void 0:Ce.call(c,{title:a.title}))??a.title]}}),Se&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>{var Ce;return[((Ce=c.subtitle)==null?void 0:Ce.call(c,{subtitle:a.subtitle}))??a.subtitle]}}),(ue=c.default)==null?void 0:ue.call(c,re.value)]),At&&createVNode("div",{key:"append",class:"v-list-item__append"},[c.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!De,defaults:{VAvatar:{density:a.density,image:a.appendAvatar},VIcon:{density:a.density,icon:a.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var Ce;return[(Ce=c.append)==null?void 0:Ce.call(c,re.value)]}}):createVNode(Fragment,null,[a.appendIcon&&createVNode(VIcon,{key:"append-icon",density:a.density,icon:a.appendIcon},null),a.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:a.density,image:a.appendAvatar},null)]),createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[resolveDirective("ripple"),O.value&&a.ripple]])}),{isGroupActivator:k,isSelected:b,list:E,select:y}}}),makeVListSubheaderProps=propsFactory({color:String,inset:Boolean,sticky:Boolean,title:String,...makeComponentProps(),...makeTagProps()},"VListSubheader"),VListSubheader=genericComponent()({name:"VListSubheader",props:makeVListSubheaderProps(),setup(a,i){let{slots:u}=i;const{textColorClasses:c,textColorStyles:d}=useTextColor(toRef(a,"color"));return useRender(()=>{const m=!!(u.default||a.title);return createVNode(a.tag,{class:["v-list-subheader",{"v-list-subheader--inset":a.inset,"v-list-subheader--sticky":a.sticky},c.value,a.class],style:[{textColorStyles:d},a.style]},{default:()=>{var f;return[m&&createVNode("div",{class:"v-list-subheader__text"},[((f=u.default)==null?void 0:f.call(u))??a.title])]}})}),{}}}),makeVListChildrenProps=propsFactory({items:Array,returnObject:Boolean},"VListChildren"),VListChildren=genericComponent()({name:"VListChildren",props:makeVListChildrenProps(),setup(a,i){let{slots:u}=i;return createList(),()=>{var c,d;return((c=u.default)==null?void 0:c.call(u))??((d=a.items)==null?void 0:d.map(m=>{var k,$;let{children:f,props:v,type:g,raw:y}=m;if(g==="divider")return((k=u.divider)==null?void 0:k.call(u,{props:v}))??createVNode(VDivider,v,null);if(g==="subheader")return(($=u.subheader)==null?void 0:$.call(u,{props:v}))??createVNode(VListSubheader,v,null);const b={subtitle:u.subtitle?S=>{var C;return(C=u.subtitle)==null?void 0:C.call(u,{...S,item:y})}:void 0,prepend:u.prepend?S=>{var C;return(C=u.prepend)==null?void 0:C.call(u,{...S,item:y})}:void 0,append:u.append?S=>{var C;return(C=u.append)==null?void 0:C.call(u,{...S,item:y})}:void 0,title:u.title?S=>{var C;return(C=u.title)==null?void 0:C.call(u,{...S,item:y})}:void 0},w=VListGroup.filterProps(v);return f?createVNode(VListGroup,mergeProps({value:v==null?void 0:v.value},w),{activator:S=>{let{props:C}=S;const E={...v,...C,value:a.returnObject?y:v.value};return u.header?u.header({props:E}):createVNode(VListItem,E,b)},default:()=>createVNode(VListChildren,{items:f},u)}):u.item?u.item({props:v}):createVNode(VListItem,mergeProps(v,{value:a.returnObject?y:v.value}),b)}))}}}),makeItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:deepEqual}},"list-items");function transformItem$1(a,i){const u=getPropertyFromItem(i,a.itemTitle,i),c=getPropertyFromItem(i,a.itemValue,u),d=getPropertyFromItem(i,a.itemChildren),m=a.itemProps===!0?typeof i=="object"&&i!=null&&!Array.isArray(i)?"children"in i?omit$1(i,["children"]):i:void 0:getPropertyFromItem(i,a.itemProps),f={title:u,value:c,...m};return{title:String(f.title??""),value:f.value,props:f,children:Array.isArray(d)?transformItems$1(a,d):void 0,raw:i}}function transformItems$1(a,i){const u=[];for(const c of i)u.push(transformItem$1(a,c));return u}function useItems(a){const i=computed(()=>transformItems$1(a,a.items)),u=computed(()=>i.value.some(m=>m.value===null));function c(m){return u.value||(m=m.filter(f=>f!==null)),m.map(f=>a.returnObject&&typeof f=="string"?transformItem$1(a,f):i.value.find(v=>a.valueComparator(f,v.value))||transformItem$1(a,f))}function d(m){return a.returnObject?m.map(f=>{let{raw:v}=f;return v}):m.map(f=>{let{value:v}=f;return v})}return{items:i,transformIn:c,transformOut:d}}function isPrimitive(a){return typeof a=="string"||typeof a=="number"||typeof a=="boolean"}function transformItem(a,i){const u=getPropertyFromItem(i,a.itemType,"item"),c=isPrimitive(i)?i:getPropertyFromItem(i,a.itemTitle),d=getPropertyFromItem(i,a.itemValue,void 0),m=getPropertyFromItem(i,a.itemChildren),f=a.itemProps===!0?omit$1(i,["children"]):getPropertyFromItem(i,a.itemProps),v={title:c,value:d,...f};return{type:u,title:v.title,value:v.value,props:v,children:u==="item"&&m?transformItems(a,m):void 0,raw:i}}function transformItems(a,i){const u=[];for(const c of i)u.push(transformItem(a,c));return u}function useListItems(a){return{items:computed(()=>transformItems(a,a.items))}}const makeVListProps=propsFactory({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:String,collapseIcon:String,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...makeNestedProps({selectStrategy:"single-leaf",openStrategy:"list"}),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),itemType:{type:String,default:"type"},...makeItemsProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VList"),VList=genericComponent()({name:"VList",props:makeVListProps(),emits:{"update:selected":a=>!0,"update:activated":a=>!0,"update:opened":a=>!0,"click:open":a=>!0,"click:activate":a=>!0,"click:select":a=>!0},setup(a,i){let{slots:u}=i;const{items:c}=useListItems(a),{themeClasses:d}=provideTheme(a),{backgroundColorClasses:m,backgroundColorStyles:f}=useBackgroundColor(toRef(a,"bgColor")),{borderClasses:v}=useBorder(a),{densityClasses:g}=useDensity(a),{dimensionStyles:y}=useDimension(a),{elevationClasses:b}=useElevation(a),{roundedClasses:w}=useRounded(a),{children:k,open:$,parents:S,select:C}=useNested(a),E=computed(()=>a.lines?`v-list--${a.lines}-line`:void 0),D=toRef(a,"activeColor"),A=toRef(a,"baseColor"),O=toRef(a,"color");createList(),provideDefaults({VListGroup:{activeColor:D,baseColor:A,color:O,expandIcon:toRef(a,"expandIcon"),collapseIcon:toRef(a,"collapseIcon")},VListItem:{activeClass:toRef(a,"activeClass"),activeColor:D,baseColor:A,color:O,density:toRef(a,"density"),disabled:toRef(a,"disabled"),lines:toRef(a,"lines"),nav:toRef(a,"nav"),slim:toRef(a,"slim"),variant:toRef(a,"variant")}});const F=shallowRef(!1),B=ref();function I(j){F.value=!0}function M(j){F.value=!1}function z(j){var ee;!F.value&&!(j.relatedTarget&&((ee=B.value)!=null&&ee.contains(j.relatedTarget)))&&Q()}function q(j){if(B.value){if(j.key==="ArrowDown")Q("next");else if(j.key==="ArrowUp")Q("prev");else if(j.key==="Home")Q("first");else if(j.key==="End")Q("last");else return;j.preventDefault()}}function H(j){F.value=!0}function Q(j){if(B.value)return focusChild(B.value,j)}return useRender(()=>createVNode(a.tag,{ref:B,class:["v-list",{"v-list--disabled":a.disabled,"v-list--nav":a.nav,"v-list--slim":a.slim},d.value,m.value,v.value,g.value,b.value,E.value,w.value,a.class],style:[f.value,y.value,a.style],tabindex:a.disabled||F.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:I,onFocusout:M,onFocus:z,onKeydown:q,onMousedown:H},{default:()=>[createVNode(VListChildren,{items:c.value,returnObject:a.returnObject},u)]})),{open:$,select:C,focus:Q,children:k,parents:S}}}),makeVMainProps=propsFactory({scrollable:Boolean,...makeComponentProps(),...makeTagProps({tag:"main"})},"VMain"),VMain=genericComponent()({name:"VMain",props:makeVMainProps(),setup(a,i){let{slots:u}=i;const{mainStyles:c}=useLayout(),{ssrBootStyles:d}=useSsrBoot();return useRender(()=>createVNode(a.tag,{class:["v-main",{"v-main--scrollable":a.scrollable},a.class],style:[c.value,d.value,a.style]},{default:()=>{var m,f;return[a.scrollable?createVNode("div",{class:"v-main__scroller"},[(m=u.default)==null?void 0:m.call(u)]):(f=u.default)==null?void 0:f.call(u)]}})),{}}});function useSticky(a){let{rootEl:i,isSticky:u,layoutItemStyles:c}=a;const d=shallowRef(!1),m=shallowRef(0),f=computed(()=>{const y=typeof d.value=="boolean"?"top":d.value;return[u.value?{top:"auto",bottom:"auto",height:void 0}:void 0,d.value?{[y]:convertToUnit(m.value)}:{top:c.value.top}]});onMounted(()=>{watch(u,y=>{y?window.addEventListener("scroll",g,{passive:!0}):window.removeEventListener("scroll",g)},{immediate:!0})}),onBeforeUnmount(()=>{window.removeEventListener("scroll",g)});let v=0;function g(){const y=v>window.scrollY?"up":"down",b=i.value.getBoundingClientRect(),w=parseFloat(c.value.top??0),k=window.scrollY-Math.max(0,m.value-w),$=b.height+Math.max(m.value,w)-window.scrollY-window.innerHeight,S=parseFloat(getComputedStyle(i.value).getPropertyValue("--v-body-scroll-y"))||0;b.height<window.innerHeight-w?(d.value="top",m.value=w):y==="up"&&d.value==="bottom"||y==="down"&&d.value==="top"?(m.value=window.scrollY+b.top-S,d.value=!0):y==="down"&&$<=0?(m.value=0,d.value="bottom"):y==="up"&&k<=0&&(S?d.value!=="top"&&(m.value=-k+S+w,d.value="top"):(m.value=b.top+k,d.value="top")),v=window.scrollY}return{isStuck:d,stickyStyles:f}}const HORIZON=100,HISTORY=20;function kineticEnergyToVelocity(a){return(a<0?-1:1)*Math.sqrt(Math.abs(a))*1.41421356237}function calculateImpulseVelocity(a){if(a.length<2)return 0;if(a.length===2)return a[1].t===a[0].t?0:(a[1].d-a[0].d)/(a[1].t-a[0].t);let i=0;for(let u=a.length-1;u>0;u--){if(a[u].t===a[u-1].t)continue;const c=kineticEnergyToVelocity(i),d=(a[u].d-a[u-1].d)/(a[u].t-a[u-1].t);i+=(d-c)*Math.abs(d),u===a.length-1&&(i*=.5)}return kineticEnergyToVelocity(i)*1e3}function useVelocity(){const a={};function i(d){Array.from(d.changedTouches).forEach(m=>{(a[m.identifier]??(a[m.identifier]=new CircularBuffer(HISTORY))).push([d.timeStamp,m])})}function u(d){Array.from(d.changedTouches).forEach(m=>{delete a[m.identifier]})}function c(d){var y;const m=(y=a[d])==null?void 0:y.values().reverse();if(!m)throw new Error(`No samples for touch id ${d}`);const f=m[0],v=[],g=[];for(const b of m){if(f[0]-b[0]>HORIZON)break;v.push({t:b[0],d:b[1].clientX}),g.push({t:b[0],d:b[1].clientY})}return{x:calculateImpulseVelocity(v),y:calculateImpulseVelocity(g),get direction(){const{x:b,y:w}=this,[k,$]=[Math.abs(b),Math.abs(w)];return k>$&&b>=0?"right":k>$&&b<=0?"left":$>k&&w>=0?"down":$>k&&w<=0?"up":oops$1()}}}return{addMovement:i,endTouch:u,getVelocity:c}}function oops$1(){throw new Error}function useTouch(a){let{isActive:i,isTemporary:u,width:c,touchless:d,position:m}=a;onMounted(()=>{window.addEventListener("touchstart",D,{passive:!0}),window.addEventListener("touchmove",A,{passive:!1}),window.addEventListener("touchend",O,{passive:!0})}),onBeforeUnmount(()=>{window.removeEventListener("touchstart",D),window.removeEventListener("touchmove",A),window.removeEventListener("touchend",O)});const f=computed(()=>["left","right"].includes(m.value)),{addMovement:v,endTouch:g,getVelocity:y}=useVelocity();let b=!1;const w=shallowRef(!1),k=shallowRef(0),$=shallowRef(0);let S;function C(B,I){return(m.value==="left"?B:m.value==="right"?document.documentElement.clientWidth-B:m.value==="top"?B:m.value==="bottom"?document.documentElement.clientHeight-B:oops())-(I?c.value:0)}function E(B){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const M=m.value==="left"?(B-$.value)/c.value:m.value==="right"?(document.documentElement.clientWidth-B-$.value)/c.value:m.value==="top"?(B-$.value)/c.value:m.value==="bottom"?(document.documentElement.clientHeight-B-$.value)/c.value:oops();return I?Math.max(0,Math.min(1,M)):M}function D(B){if(d.value)return;const I=B.changedTouches[0].clientX,M=B.changedTouches[0].clientY,z=25,q=m.value==="left"?I<z:m.value==="right"?I>document.documentElement.clientWidth-z:m.value==="top"?M<z:m.value==="bottom"?M>document.documentElement.clientHeight-z:oops(),H=i.value&&(m.value==="left"?I<c.value:m.value==="right"?I>document.documentElement.clientWidth-c.value:m.value==="top"?M<c.value:m.value==="bottom"?M>document.documentElement.clientHeight-c.value:oops());(q||H||i.value&&u.value)&&(b=!0,S=[I,M],$.value=C(f.value?I:M,i.value),k.value=E(f.value?I:M),g(B),v(B))}function A(B){const I=B.changedTouches[0].clientX,M=B.changedTouches[0].clientY;if(b){if(!B.cancelable){b=!1;return}const q=Math.abs(I-S[0]),H=Math.abs(M-S[1]);(f.value?q>H&&q>3:H>q&&H>3)?(w.value=!0,b=!1):(f.value?H:q)>3&&(b=!1)}if(!w.value)return;B.preventDefault(),v(B);const z=E(f.value?I:M,!1);k.value=Math.max(0,Math.min(1,z)),z>1?$.value=C(f.value?I:M,!0):z<0&&($.value=C(f.value?I:M,!1))}function O(B){if(b=!1,!w.value)return;v(B),w.value=!1;const I=y(B.changedTouches[0].identifier),M=Math.abs(I.x),z=Math.abs(I.y);(f.value?M>z&&M>400:z>M&&z>3)?i.value=I.direction===({left:"right",right:"left",top:"down",bottom:"up"}[m.value]||oops()):i.value=k.value>.5}const F=computed(()=>w.value?{transform:m.value==="left"?`translateX(calc(-100% + ${k.value*c.value}px))`:m.value==="right"?`translateX(calc(100% - ${k.value*c.value}px))`:m.value==="top"?`translateY(calc(-100% + ${k.value*c.value}px))`:m.value==="bottom"?`translateY(calc(100% - ${k.value*c.value}px))`:oops(),transition:"none"}:void 0);return{isDragging:w,dragProgress:k,dragStyles:F}}function oops(){throw new Error}const locations=["start","end","left","right","top","bottom"],makeVNavigationDrawerProps=propsFactory({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:a=>locations.includes(a)},sticky:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDisplayProps(),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"nav"}),...makeThemeProps()},"VNavigationDrawer"),VNavigationDrawer=genericComponent()({name:"VNavigationDrawer",props:makeVNavigationDrawerProps(),emits:{"update:modelValue":a=>!0,"update:rail":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const{isRtl:m}=useRtl(),{themeClasses:f}=provideTheme(a),{borderClasses:v}=useBorder(a),{backgroundColorClasses:g,backgroundColorStyles:y}=useBackgroundColor(toRef(a,"color")),{elevationClasses:b}=useElevation(a),{displayClasses:w,mobile:k}=useDisplay(a),{roundedClasses:$}=useRounded(a),S=useRouter(),C=useProxiedModel(a,"modelValue",null,ve=>!!ve),{ssrBootStyles:E}=useSsrBoot(),{scopeId:D}=useScopeId(),A=ref(),O=shallowRef(!1),F=computed(()=>a.rail&&a.expandOnHover&&O.value?Number(a.width):Number(a.rail?a.railWidth:a.width)),B=computed(()=>toPhysical(a.location,m.value)),I=computed(()=>!a.permanent&&(k.value||a.temporary)),M=computed(()=>a.sticky&&!I.value&&B.value!=="bottom");useToggleScope(()=>a.expandOnHover&&a.rail!=null,()=>{watch(O,ve=>c("update:rail",!ve))}),useToggleScope(()=>!a.disableResizeWatcher,()=>{watch(I,ve=>!a.permanent&&nextTick(()=>C.value=!ve))}),useToggleScope(()=>!a.disableRouteWatcher&&!!S,()=>{watch(S.currentRoute,()=>I.value&&(C.value=!1))}),watch(()=>a.permanent,ve=>{ve&&(C.value=!0)}),onBeforeMount(()=>{a.modelValue!=null||I.value||(C.value=a.permanent||!k.value)});const{isDragging:z,dragProgress:q,dragStyles:H}=useTouch({isActive:C,isTemporary:I,width:F,touchless:toRef(a,"touchless"),position:B}),Q=computed(()=>{const ve=I.value?0:a.rail&&a.expandOnHover?Number(a.railWidth):F.value;return z.value?ve*q.value:ve}),{layoutItemStyles:j,layoutItemScrimStyles:ee}=useLayoutItem({id:a.name,order:computed(()=>parseInt(a.order,10)),position:B,layoutSize:Q,elementSize:F,active:computed(()=>C.value||z.value),disableTransitions:computed(()=>z.value),absolute:computed(()=>a.absolute||M.value&&typeof G.value!="string")}),{isStuck:G,stickyStyles:J}=useSticky({rootEl:A,isSticky:M,layoutItemStyles:j}),te=useBackgroundColor(computed(()=>typeof a.scrim=="string"?a.scrim:null)),re=computed(()=>({...z.value?{opacity:q.value*.2,transition:"none"}:void 0,...ee.value}));provideDefaults({VList:{bgColor:"transparent"}});function ae(){O.value=!0}function ye(){O.value=!1}return useRender(()=>{const ve=d.image||a.image;return createVNode(Fragment,null,[createVNode(a.tag,mergeProps({ref:A,onMouseenter:ae,onMouseleave:ye,class:["v-navigation-drawer",`v-navigation-drawer--${B.value}`,{"v-navigation-drawer--expand-on-hover":a.expandOnHover,"v-navigation-drawer--floating":a.floating,"v-navigation-drawer--is-hovering":O.value,"v-navigation-drawer--rail":a.rail,"v-navigation-drawer--temporary":I.value,"v-navigation-drawer--active":C.value,"v-navigation-drawer--sticky":M.value},f.value,g.value,v.value,w.value,b.value,$.value,a.class],style:[y.value,j.value,H.value,E.value,J.value,a.style]},D,u),{default:()=>{var le,Se,De;return[ve&&createVNode("div",{key:"image",class:"v-navigation-drawer__img"},[d.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!a.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:a.image}}},d.image):createVNode(VImg,{key:"image-img",alt:"",cover:!0,height:"inherit",src:a.image},null)]),d.prepend&&createVNode("div",{class:"v-navigation-drawer__prepend"},[(le=d.prepend)==null?void 0:le.call(d)]),createVNode("div",{class:"v-navigation-drawer__content"},[(Se=d.default)==null?void 0:Se.call(d)]),d.append&&createVNode("div",{class:"v-navigation-drawer__append"},[(De=d.append)==null?void 0:De.call(d)])]}}),createVNode(Transition,{name:"fade-transition"},{default:()=>[I.value&&(z.value||C.value)&&!!a.scrim&&createVNode("div",mergeProps({class:["v-navigation-drawer__scrim",te.backgroundColorClasses.value],style:[re.value,te.backgroundColorStyles.value],onClick:()=>C.value=!1},D),null)]})])}),{isStuck:G}}}),_hoisted_1$$=createBaseVNode("span",null,"Recipes",-1),_hoisted_2$E=createBaseVNode("span",null,"MealPlan",-1),_hoisted_3$r=createBaseVNode("span",null,"Shopping",-1),_hoisted_4$i=createBaseVNode("span",null,"More",-1),_sfc_main$t=defineComponent$1({__name:"Tandoor",setup(a){const{lgAndUp:i}=useDisplay();return ref(!0),ref(!0),ref(!1),(u,c)=>{const d=resolveComponent("router-link"),m=resolveComponent("router-view");return openBlock(),createBlock(VApp,null,{default:withCtx(()=>[createVNode(VAppBar,{color:"tandoor",flat:"",density:"comfortable"},{default:withCtx(()=>[createVNode(d,{to:{name:"view_home",params:{}}},{default:withCtx(()=>[createVNode(VImg,{src:_imports_0$1,width:"140px",class:"ms-2"})]),_:1}),createVNode(VSpacer),createVNode(_sfc_main$u),createVNode(VAvatar,{color:"cyan",class:"me-2"},{default:withCtx(()=>[createTextVNode("V")]),_:1})]),_:1}),createVNode(VMain,null,{default:withCtx(()=>[createVNode(m)]),_:1}),unref(i)?(openBlock(),createBlock(VNavigationDrawer,{key:0},{default:withCtx(()=>[createVNode(VListItem,{title:"My Application",subtitle:"Vuetify"}),createVNode(VDivider),createVNode(VListItem,{"prepend-icon":"fas fa-book",title:"Home",to:{name:"view_home",params:{}}}),createVNode(VListItem,{"prepend-icon":"fas fa-calendar-alt",title:"Mealplan",to:{name:"view_mealplan",params:{}}}),createVNode(VListItem,{"prepend-icon":"fas fa-shopping-cart",title:"Shopping",to:{name:"view_shopping",params:{}}}),createVNode(VListItem,{"prepend-icon":"fas fa-bars",title:"More",to:{name:"view_books",params:{}}})]),_:1})):createCommentVNode("",!0),unref(i)?createCommentVNode("",!0):(openBlock(),createBlock(VBottomNavigation,{key:1,grow:""},{default:withCtx(()=>[createVNode(VBtn,{value:"recent",to:{name:"view_home",params:{}}},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-book "}),_hoisted_1$$]),_:1}),createVNode(VBtn,{value:"favorites",to:"/mealplan"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-calendar-alt"}),_hoisted_2$E]),_:1}),createVNode(VBtn,{value:"nearby",to:"/shopping"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-shopping-cart"}),_hoisted_3$r]),_:1}),createVNode(VBtn,{value:"nearby",to:"/books"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-bars"}),_hoisted_4$i]),_:1})]),_:1}))]),_:1})}}});var commonjsGlobal$2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function getAugmentedNamespace(a){if(a.__esModule)return a;var i=a.default;if(typeof i=="function"){var u=function c(){return this instanceof c?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};u.prototype=i.prototype}else u={};return Object.defineProperty(u,"__esModule",{value:!0}),Object.keys(a).forEach(function(c){var d=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(u,c,d.get?d:{enumerable:!0,get:function(){return a[c]}})}),u}var mavonEditor$1={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(a,i){module.exports=i(require$$0)})(window,function(__WEBPACK_EXTERNAL_MODULE__0__){return function(a){var i={};function u(c){if(i[c])return i[c].exports;var d=i[c]={i:c,l:!1,exports:{}};return a[c].call(d.exports,d,d.exports,u),d.l=!0,d.exports}return u.m=a,u.c=i,u.d=function(c,d,m){u.o(c,d)||Object.defineProperty(c,d,{enumerable:!0,get:m})},u.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},u.t=function(c,d){if(1&d&&(c=u(c)),8&d||4&d&&typeof c=="object"&&c&&c.__esModule)return c;var m=Object.create(null);if(u.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:c}),2&d&&typeof c!="string")for(var f in c)u.d(m,f,(function(v){return c[v]}).bind(null,f));return m},u.n=function(c){var d=c&&c.__esModule?function(){return c.default}:function(){return c};return u.d(d,"a",d),d},u.o=function(c,d){return Object.prototype.hasOwnProperty.call(c,d)},u.p="",u(u.s=79)}([function(a,i){a.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(a,i,u){var c=Object.prototype.hasOwnProperty;function d(D,A){return c.call(D,A)}function m(D){return!(D>=55296&&D<=57343)&&!(D>=64976&&D<=65007)&&(65535&D)!=65535&&(65535&D)!=65534&&!(D>=0&&D<=8)&&D!==11&&!(D>=14&&D<=31)&&!(D>=127&&D<=159)&&!(D>1114111)}function f(D){if(D>65535){var A=55296+((D-=65536)>>10),O=56320+(1023&D);return String.fromCharCode(A,O)}return String.fromCharCode(D)}var v=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,g=new RegExp(v.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),y=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,b=u(62),w=/[&<>"]/,k=/[&<>"]/g,$={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function S(D){return $[D]}var C=/[.?*+^$[\]\\(){}|-]/g,E=u(40);i.lib={},i.lib.mdurl=u(63),i.lib.ucmicro=u(145),i.assign=function(D){var A=Array.prototype.slice.call(arguments,1);return A.forEach(function(O){if(O){if(typeof O!="object")throw new TypeError(O+"must be object");Object.keys(O).forEach(function(F){D[F]=O[F]})}}),D},i.isString=function(D){return function(A){return Object.prototype.toString.call(A)}(D)==="[object String]"},i.has=d,i.unescapeMd=function(D){return D.indexOf("\\")<0?D:D.replace(v,"$1")},i.unescapeAll=function(D){return D.indexOf("\\")<0&&D.indexOf("&")<0?D:D.replace(g,function(A,O,F){return O||function(B,I){var M=0;return d(b,I)?b[I]:I.charCodeAt(0)===35&&y.test(I)&&m(M=I[1].toLowerCase()==="x"?parseInt(I.slice(2),16):parseInt(I.slice(1),10))?f(M):B}(A,F)})},i.isValidEntityCode=m,i.fromCodePoint=f,i.escapeHtml=function(D){return w.test(D)?D.replace(k,S):D},i.arrayReplaceAt=function(D,A,O){return[].concat(D.slice(0,A),O,D.slice(A+1))},i.isSpace=function(D){switch(D){case 9:case 32:return!0}return!1},i.isWhiteSpace=function(D){if(D>=8192&&D<=8202)return!0;switch(D){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},i.isMdAsciiPunct=function(D){switch(D){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}},i.isPunctChar=function(D){return E.test(D)},i.escapeRE=function(D){return D.replace(C,"\\$&")},i.normalizeReference=function(D){return D=D.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(D=D.replace(/ẞ/g,"ß")),D.toLowerCase().toUpperCase()}},function(a,i){var u=a.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=u)},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default=(c,d)=>{const m=c.__vccOpts||c;for(const[f,v]of d)m[f]=v;return m}},function(a,i){var u={}.hasOwnProperty;a.exports=function(c,d){return u.call(c,d)}},function(a,i,u){var c=u(6),d=u(16);a.exports=u(7)?function(m,f,v){return c.f(m,f,d(1,v))}:function(m,f,v){return m[f]=v,m}},function(a,i,u){var c=u(14),d=u(47),m=u(28),f=Object.defineProperty;i.f=u(7)?Object.defineProperty:function(v,g,y){if(c(v),g=m(g,!0),c(y),d)try{return f(v,g,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported!");return"value"in y&&(v[g]=y.value),v}},function(a,i,u){a.exports=!u(15)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(a,i,u){var c=u(89),d=u(27);a.exports=function(m){return c(d(m))}},function(a,i,u){var c=u(32)("wks"),d=u(17),m=u(2).Symbol,f=typeof m=="function";(a.exports=function(v){return c[v]||(c[v]=f&&m[v]||(f?m:d)("Symbol."+v))}).store=c},function(a,i){a.exports=function(u){return typeof u=="object"?u!==null:typeof u=="function"}},function(module,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:!0});var _typeof2=__webpack_require__(25),_typeof3=_interopRequireDefault(_typeof2),_keydownListen=__webpack_require__(110),_langHljsCss=__webpack_require__(111),_langHljsCss2=_interopRequireDefault(_langHljsCss),_langHljs=__webpack_require__(56);_interopRequireDefault(_langHljs);var _extraFunction=__webpack_require__(57),_util=__webpack_require__(112),_toolbar_left_click2=__webpack_require__(113),_toolbar_right_click2=__webpack_require__(114),_config=__webpack_require__(115),_markdown=__webpack_require__(132),_markdown2=_interopRequireDefault(_markdown),_mdToolbarLeft=__webpack_require__(70),_mdToolbarLeft2=_interopRequireDefault(_mdToolbarLeft),_mdToolbarRight=__webpack_require__(72),_mdToolbarRight2=_interopRequireDefault(_mdToolbarRight),_autoTextarea=__webpack_require__(216),_autoTextarea2=_interopRequireDefault(_autoTextarea);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}__webpack_require__(222),__webpack_require__(231),exports.default={emits:["imgDel","change","fullScreen","readModel","previewToggle","subfieldToggle","htmlCode","helpToggle","save","navigationToggle","update:modelValue"],mixins:[_markdown2.default],props:{scrollStyle:{type:Boolean,default:!0},boxShadow:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!0},fontSize:{type:String,default:"14px"},toolbarsBackground:{type:String,default:"#ffffff"},editorBackground:{type:String,default:"#ffffff"},previewBackground:{type:String,default:"#fbfbfb"},boxShadowStyle:{type:String,default:"0 2px 12px 0 rgba(0, 0, 0, 0.1)"},help:{type:String,default:null},modelValue:{type:String,default:""},language:{type:String,default:"zh-CN"},subfield:{type:Boolean,default:!0},navigation:{type:Boolean,default:!1},defaultOpen:{type:String,default:null},editable:{type:Boolean,default:!0},toolbarsFlag:{type:Boolean,default:!0},toolbars:{type:Object,default:function(){return _config.CONFIG.toolbars}},html:{type:Boolean,default:!0},xssOptions:{type:[Object,Boolean],default:function(){return{}}},codeStyle:{type:String,default:function(){return"github"}},placeholder:{type:String,default:null},ishljs:{type:Boolean,default:!0},externalLink:{type:[Object,Boolean],default:!0},imageFilter:{type:Function,default:null},imageClick:{type:Function,default:null},tabSize:{type:Number,default:0},shortCut:{type:Boolean,default:!0}},data:function(){var a,i,u=this;return{s_right_click_menu_show:!1,right_click_menu_top:0,right_click_menu_left:0,s_subfield:u.subfield,s_autofocus:!0,s_navigation:u.navigation,s_scrollStyle:u.scrollStyle,d_value:"",d_render:"",s_preview_switch:(i=u.defaultOpen,i||(i=u.subfield?"preview":"edit"),i==="preview"),s_fullScreen:!1,s_help:!1,s_html_code:!1,d_help:null,d_words:null,edit_scroll_height:-1,s_readmodel:!1,s_table_enter:!1,d_history:(a=[],a.push(u.modelValue),a),d_history_index:0,currentTimeout:"",d_image_file:[],d_preview_imgsrc:null,s_external_link:{markdown_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.9.0/github-markdown.min.css"},hljs_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"},hljs_lang:function(c){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/languages/"+c+".min.js"},hljs_css:function(c){return _langHljsCss2.default[c]?"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/"+c+".min.css":""},katex_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.js"},katex_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.css"}},p_external_link:{},textarea_selectionEnd:0,textarea_selectionEnds:[0],_xssHandler:null}},created:function(){var a=this;this.initLanguage(),this.initExternalFuc(),this.$nextTick(function(){a.editableTextarea()})},mounted:function(){var a=this;this.$el.addEventListener("paste",function(i){a.$paste(i)}),this.$el.addEventListener("drop",function(i){a.$drag(i)}),(0,_keydownListen.keydownListen)(this),(0,_extraFunction.ImagePreviewListener)(this),this.autofocus&&this.getTextareaDom().focus(),(0,_extraFunction.fullscreenchange)(this),this.d_value=this.modelValue||"",document.body.appendChild(this.$refs.help),this.loadExternalLink("markdown_css","css"),this.loadExternalLink("katex_css","css"),this.loadExternalLink("katex_js","js",function(){a.iRender(!0)}),this.loadExternalLink("hljs_js","js",function(){a.iRender(!0)}),(0,_typeof3.default)(a.externalLink)==="object"&&typeof a.externalLink.markdown_css=="function"||a.codeStyleChange(a.codeStyle,!0)},beforeUnmount:function(){document.body.removeChild(this.$refs.help)},getMarkdownIt:function(){var a=this.mixins[0].data().markdownIt;return a||(a=(0,_markdown.initMarkdown)()),a},methods:{loadExternalLink:function(a,i,u){if(typeof this.p_external_link[a]=="function"){var c={css:_extraFunction.loadLink,js:_extraFunction.loadScript};c.hasOwnProperty(i)&&c[i](this.p_external_link[a](),u)}else this.p_external_link[a]!==!1&&console.error("external_link."+a,"is not a function, if you want to disabled this error log, set external_link."+a,"to function or false")},initExternalFuc:function(){for(var a=["markdown_css","hljs_js","hljs_css","hljs_lang","katex_js","katex_css"],i=(0,_typeof3.default)(this.externalLink),u=i==="object",c=i==="boolean",d=0;d<a.length;d++)c&&!this.externalLink||u&&this.externalLink[a[d]]===!1?this.p_external_link[a[d]]=!1:u&&typeof this.externalLink[a[d]]=="function"?this.p_external_link[a[d]]=this.externalLink[a[d]]:this.p_external_link[a[d]]=this.s_external_link[a[d]]},textAreaFocus:function(){this.$refs.vNoteTextarea.$refs.vTextarea.focus()},$drag:function(a){var i=a.dataTransfer;if(i){var u=i.files;u.length>0&&(a.preventDefault(),this.$refs.toolbar_left.$imgFilesAdd(u))}},$paste:function(a){var i=a.clipboardData;if(i){var u=i.items;if(!u)return;for(var c=i.types||[],d=null,m=0;m<c.length;m++)if(c[m]==="Files"){d=u[m];break}if(d&&d.kind==="file"){(0,_util.stopEvent)(a);var f=d.getAsFile();this.$refs.toolbar_left.$imgFilesAdd([f])}}},$imgTouch:function(a){},$imgDel:function(a){this.markdownIt.image_del(a[1]);var i=a[0],u=new RegExp("\\!\\["+a[1]._name+"\\]\\("+i+"\\)","g");this.d_value=this.d_value.replace(u,""),this.iRender(),this.$emit("imgDel",a)},$imgAdd:function(a,i,u){u===void 0&&(u=!0);var c=this;if(this.__rFilter==null&&(this.__rFilter=/^image\//i),this.__oFReader=new FileReader,this.__oFReader.onload=function(m){c.markdownIt.image_add(a,m.target.result),i.miniurl=m.target.result,u===!0&&(i._name=i.name.replace(/[\[\]\(\)\+\{\}&\|\\\*^%$#@\-]/g,""),c.insertText(c.getTextareaDom(),{prefix:"!["+i._name+"]("+a+")",subfix:"",str:""}),c.$nextTick(function(){c.$emit("imgAdd",a,i)}))},i){var d=i;this.__rFilter.test(d.type)&&this.__oFReader.readAsDataURL(d)}},$imgUpdateByUrl:function(a,i){var u=this;this.markdownIt.image_add(a,i),this.$nextTick(function(){u.d_render=this.markdownIt.render(this.d_value)})},$imgAddByUrl:function(a,i){return!!this.$refs.toolbar_left.$imgAddByUrl(a,i)&&(this.$imgUpdateByUrl(a,i),!0)},$img2Url:function $img2Url(fileIndex,url){var reg_str="/(!\\[[^\\[]*?\\](?=\\())\\(\\s*("+fileIndex+")\\s*\\)/g",reg=eval(reg_str);this.d_value=this.d_value.replace(reg,"$1("+url+")"),this.$refs.toolbar_left.$changeUrl(fileIndex,url),this.iRender()},$imglst2Url:function(a){if(a instanceof Array)for(var i=0;i<a.length;i++)this.$img2Url(a[i][0],a[i][1])},toolbar_left_click:function(a){(0,_toolbar_left_click2.toolbar_left_click)(a,this)},toolbar_left_addlink:function(a,i,u){(0,_toolbar_left_click2.toolbar_left_addlink)(a,i,u,this)},toolbar_right_click:function(a){(0,_toolbar_right_click2.toolbar_right_click)(a,this)},getNavigation:function(a,i){return(0,_extraFunction.getNavigation)(a,i)},change:function(a,i){this.$emit("change",a,i)},fullscreen:function(a,i){this.$emit("fullScreen",a,i)},readmodel:function(a,i){this.$emit("readModel",a,i)},previewtoggle:function(a,i){this.$emit("previewToggle",a,i)},subfieldtoggle:function(a,i){this.$emit("subfieldToggle",a,i)},htmlcode:function(a,i){this.$emit("htmlCode",a,i)},helptoggle:function(a,i){this.$emit("helpToggle",a,i)},save:function(a,i){this.$emit("save",a,i)},navigationtoggle:function(a,i){this.$emit("navigationToggle",a,i)},$toolbar_right_read_change_status:function(){this.s_readmodel=!this.s_readmodel,this.readmodel&&this.readmodel(this.s_readmodel,this.d_value),this.s_readmodel&&this.toolbars.navigation&&this.getNavigation(this,!0)},$v_edit_scroll:function(a){(0,_extraFunction.scrollLink)(a,this)},getTextareaDom:function(){return this.$refs.vNoteTextarea.$refs.vTextarea},insertText:function(a,i){var u=i.prefix,c=i.subfix,d=i.str,m=i.type;(0,_extraFunction.insertTextAtCaret)(a,{prefix:u,subfix:c,str:d,type:m},this)},insertTab:function(){(0,_extraFunction.insertTab)(this,this.tabSize)},insertOl:function(){(0,_extraFunction.insertOl)(this)},removeLine:function(){(0,_extraFunction.removeLine)(this)},insertUl:function(){(0,_extraFunction.insertUl)(this)},unInsertTab:function(){(0,_extraFunction.unInsertTab)(this,this.tabSize)},insertCodeBlock:function(){(0,_extraFunction.insertCodeBlock)(this)},insertEnter:function(a){(0,_extraFunction.insertEnter)(this,a)},saveHistory:function(){this.d_history.splice(this.d_history_index+1,this.d_history.length),this.d_history.push(this.d_value),this.textarea_selectionEnds.splice(this.d_history_index+1,this.textarea_selectionEnds.length),this.textarea_selectionEnds.push(this.textarea_selectionEnd),this.d_history_index=this.d_history.length-1},saveSelectionEndsHistory:function(){var a=this.$refs.vNoteTextarea&&this.$refs.vNoteTextarea.$el.querySelector("textarea");this.textarea_selectionEnd=a?a.selectionEnd:this.textarea_selectionEnd},initLanguage:function(){var a=_config.CONFIG.langList.indexOf(this.language)>=0?this.language:"zh-CN",i=this;i.$render(_config.CONFIG["help_"+a],function(u){i.d_help=u}),this.d_words=_config.CONFIG["words_"+a]},editableTextarea:function(){var a=this.$refs.vNoteTextarea.$refs.vTextarea;this.editable?a.removeAttribute("disabled"):a.setAttribute("disabled","disabled")},codeStyleChange:function(a,i){if(i=i||!1,typeof this.p_external_link.hljs_css=="function"){var u=this.p_external_link.hljs_css(a);u.length===0&&i&&(console.warn("hljs color scheme",a,"do not exist, loading default github"),u=this.p_external_link.hljs_css("github")),u.length>0?(0,_extraFunction.loadLink)(u,null,"md-code-style"):console.warn("hljs color scheme",a,"do not exist, hljs color scheme will not change")}else this.p_external_link.hljs_css!==!1&&console.error("external_link.hljs_css is not a function, if you want to disabled this error log, set external_link.hljs_css to function or false")},iRender:function(a){var i=this;this.$render(i.d_value,function(u){i.d_render=u,a||i.change&&i.change(i.d_value,i.d_render),i.s_navigation&&(0,_extraFunction.getNavigation)(i,!1),i.$emit("update:modelValue",i.d_value),i.d_value!==i.d_history[i.d_history_index]&&(window.clearTimeout(i.currentTimeout),i.currentTimeout=setTimeout(function(){i.saveHistory()},500))})},$emptyHistory:function(){this.d_history=[this.d_value],this.d_history_index=0}},watch:{d_value:function(a,i){this.saveSelectionEndsHistory(),this.iRender()},modelValue:function(a,i){a!==this.d_value&&(this.d_value=a)},subfield:function(a,i){this.s_subfield=a},d_history_index:function(){this.d_history_index>20&&(this.d_history.shift(),this.d_history_index=this.d_history_index-1),this.d_value=this.d_history[this.d_history_index]},language:function(a){this.initLanguage()},editable:function(){this.editableTextarea()},defaultOpen:function(a){var i=a;return i||(i=this.subfield?"preview":"edit"),this.s_preview_switch=i==="preview",this.s_preview_switch},codeStyle:function(a){this.codeStyleChange(a)}},components:{"v-autoTextarea":_autoTextarea2.default,"v-md-toolbar-left":_mdToolbarLeft2.default,"v-md-toolbar-right":_mdToolbarRight2.default}}},function(a,i){a.exports=!0},function(a,i){var u=a.exports={version:"2.6.12"};typeof __e=="number"&&(__e=u)},function(a,i,u){var c=u(10);a.exports=function(d){if(!c(d))throw TypeError(d+" is not an object!");return d}},function(a,i){a.exports=function(u){try{return!!u()}catch{return!0}}},function(a,i){a.exports=function(u,c){return{enumerable:!(1&u),configurable:!(2&u),writable:!(4&u),value:c}}},function(a,i){var u=0,c=Math.random();a.exports=function(d){return"Symbol(".concat(d===void 0?"":d,")_",(++u+c).toString(36))}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default={emits:["toolbar_left_addlink","imgTouch","imgAdd","imgDel","imgAdd","imgAdd","toolbar_left_click","toolbar_left_click"],name:"s-md-toolbar-left",props:{editable:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},toolbars:{type:Object,required:!0},d_words:{type:Object,required:!0},image_filter:{type:Function,default:null}},data:function(){return{img_file:[[0,null]],img_timer:null,header_timer:null,s_img_dropdown_open:!1,s_header_dropdown_open:!1,s_img_link_open:!1,trigger:null,num:0,link_text:"",link_addr:"",link_type:"link"}},methods:{$imgLinkAdd:function(){this.$emit("toolbar_left_addlink",this.link_type,this.link_text,this.link_addr),this.s_img_link_open=!1},$toggle_imgLinkAdd:function(c){var d=this;this.link_type=c,this.link_text=this.link_addr="",this.s_img_link_open=!0,this.$nextTick(function(){d.$refs.linkTextInput.focus()}),this.s_img_dropdown_open=!1},$imgFileListClick:function(c){this.$emit("imgTouch",this.img_file[c])},$changeUrl:function(c,d){this.img_file[c][0]=d},$imgFileAdd:function(c){this.img_file.push([++this.num,c]),this.$emit("imgAdd",this.num,c),this.s_img_dropdown_open=!1},$imgFilesAdd:function(c){for(var d=typeof this.image_filter=="function",m=0;m<c.length;m++)(d&&this.image_filter(c[m])===!0||!d&&c[m].type.match(/^image\//i))&&this.$imgFileAdd(c[m])},$imgAdd:function(c){this.$imgFilesAdd(c.target.files),c.target.value=""},$imgDel:function(c){this.$emit("imgDel",this.img_file[c]),this.img_file.splice(c,1),this.num--,this.s_img_dropdown_open=!1},isEqualName:function(c,d){return!(!this.img_file[d][1]||this.img_file[d][1].name!==c&&this.img_file[d][1]._name!==c)},$imgDelByFilename:function(c){for(var d=0;this.img_file.length>d;){if(this.img_file[d][1]===c||this.isEqualName(c,d))return this.$imgDel(d),!0;d+=1}return!1},$imgAddByFilename:function(c,d){for(var m=0;m<this.img_file.length;m++)if(this.img_file[m][0]===c)return!1;return this.img_file[0][0]=c,this.img_file[0][1]=d,this.img_file[0][2]=c,this.img_file.unshift(["./"+this.num,null]),this.$emit("imgAdd",this.img_file[1][0],d,!1),!0},$imgAddByUrl:function(c,d){for(var m=0;m<this.img_file.length;m++)if(this.img_file[m][0]===c)return!1;return this.img_file[0][0]=c,this.img_file[0][1]=d,this.img_file.unshift(["./"+this.num,null]),!0},$imgUpdateByFilename:function(c,d){for(var m=0;m<this.img_file.length;m++)if(this.img_file[m][0]===c||this.isEqualName(c,m))return this.img_file[m][1]=d,this.$emit("imgAdd",c,d,!1),!0;return!1},$mouseenter_img_dropdown:function(){this.editable&&(clearTimeout(this.img_timer),this.s_img_dropdown_open=!0)},$mouseleave_img_dropdown:function(){var c=this;this.img_timer=setTimeout(function(){c.s_img_dropdown_open=!1},200)},$mouseenter_header_dropdown:function(){this.editable&&(clearTimeout(this.header_timer),this.s_header_dropdown_open=!0)},$mouseleave_header_dropdown:function(){var c=this;this.header_timer=setTimeout(function(){c.s_header_dropdown_open=!1},200)},$clicks:function(c){this.editable&&this.$emit("toolbar_left_click",c)},$click_header:function(c){this.$emit("toolbar_left_click",c),this.s_header_dropdown_open=!1},handleClose:function(c){this.s_img_dropdown_open=!1}},watch:{s_img_link_open:function(c){this.$parent.$el.style.zIndex=c?1501:1500}}}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default={emits:["toolbar_right_click"],name:"s-md-toolbar-right",props:{s_subfield:{type:Boolean,required:!0},toolbars:{type:Object,required:!0},s_preview_switch:{type:Boolean,required:!0},s_fullScreen:{type:Boolean,required:!0},s_html_code:{type:Boolean,required:!0},s_navigation:{type:Boolean,required:!0},d_words:{type:Object,required:!0}},methods:{$clicks:function(c){this.$emit("toolbar_right_click",c)}}}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default={emits:["update:modelValue"],data:function(){var c=this;return{temp_value:c.modelValue,s_autofocus:function(){if(c.autofocus)return"autofocus"}()}},created:function(){},props:{fullHeight:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},modelValue:{type:String,default:""},placeholder:{type:String,default:""},border:{type:Boolean,default:!1},resize:{type:Boolean,default:!1},onchange:{type:Function,default:null},fontSize:{type:String,default:"14px"},lineHeight:{type:String,default:"18px"}},methods:{change:function(c){this.onchange&&this.onchange(this.temp_value,c)}},watch:{modelValue:function(c,d){this.temp_value=c},temp_value:function(c,d){this.$emit("update:modelValue",c)}}}},function(a,i,u){u.r(i);var c=u(11),d=u.n(c);for(var m in u.d(i,"default",function(){return d.a}),c)["default"].indexOf(m)<0&&function(f){u.d(i,f,function(){return c[f]})}(m)},function(a,i,u){u.r(i);var c=u(18),d=u.n(c);for(var m in u.d(i,"default",function(){return d.a}),c)["default"].indexOf(m)<0&&function(f){u.d(i,f,function(){return c[f]})}(m)},function(a,i,u){u.r(i);var c=u(19),d=u.n(c);for(var m in u.d(i,"default",function(){return d.a}),c)["default"].indexOf(m)<0&&function(f){u.d(i,f,function(){return c[f]})}(m)},function(a,i,u){u.r(i);var c=u(20),d=u.n(c);for(var m in u.d(i,"default",function(){return d.a}),c)["default"].indexOf(m)<0&&function(f){u.d(i,f,function(){return c[f]})}(m)},function(a,i,u){i.__esModule=!0;var c=f(u(81)),d=f(u(99)),m=typeof d.default=="function"&&typeof c.default=="symbol"?function(v){return typeof v}:function(v){return v&&typeof d.default=="function"&&v.constructor===d.default&&v!==d.default.prototype?"symbol":typeof v};function f(v){return v&&v.__esModule?v:{default:v}}i.default=typeof d.default=="function"&&m(c.default)==="symbol"?function(v){return v===void 0?"undefined":m(v)}:function(v){return v&&typeof d.default=="function"&&v.constructor===d.default&&v!==d.default.prototype?"symbol":v===void 0?"undefined":m(v)}},function(a,i){var u=Math.ceil,c=Math.floor;a.exports=function(d){return isNaN(d=+d)?0:(d>0?c:u)(d)}},function(a,i){a.exports=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u}},function(a,i,u){var c=u(10);a.exports=function(d,m){if(!c(d))return d;var f,v;if(m&&typeof(f=d.toString)=="function"&&!c(v=f.call(d))||typeof(f=d.valueOf)=="function"&&!c(v=f.call(d))||!m&&typeof(f=d.toString)=="function"&&!c(v=f.call(d)))return v;throw TypeError("Can't convert object to primitive value")}},function(a,i){a.exports={}},function(a,i,u){var c=u(51),d=u(33);a.exports=Object.keys||function(m){return c(m,d)}},function(a,i,u){var c=u(32)("keys"),d=u(17);a.exports=function(m){return c[m]||(c[m]=d(m))}},function(a,i,u){var c=u(13),d=u(2),m=d["__core-js_shared__"]||(d["__core-js_shared__"]={});(a.exports=function(f,v){return m[f]||(m[f]=v!==void 0?v:{})})("versions",[]).push({version:c.version,mode:u(12)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(a,i){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,i,u){var c=u(6).f,d=u(4),m=u(9)("toStringTag");a.exports=function(f,v,g){f&&!d(f=g?f:f.prototype,m)&&c(f,m,{configurable:!0,value:v})}},function(a,i,u){i.f=u(9)},function(a,i,u){var c=u(2),d=u(13),m=u(12),f=u(35),v=u(6).f;a.exports=function(g){var y=d.Symbol||(d.Symbol=m?{}:c.Symbol||{});g.charAt(0)=="_"||g in y||v(y,g,{value:f.f(g)})}},function(a,i){i.f={}.propertyIsEnumerable},function(a,i,u){var c=u(59),d=u(135);for(var m in(i=a.exports=function(f,v){return new d(v).process(f)}).FilterCSS=d,c)i[m]=c[m];typeof window<"u"&&(window.filterCSS=a.exports)},function(a,i){a.exports={indexOf:function(u,c){var d,m;if(Array.prototype.indexOf)return u.indexOf(c);for(d=0,m=u.length;d<m;d++)if(u[d]===c)return d;return-1},forEach:function(u,c,d){var m,f;if(Array.prototype.forEach)return u.forEach(c,d);for(m=0,f=u.length;m<f;m++)c.call(d,u[m],m,u)},trim:function(u){return String.prototype.trim?u.trim():u.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(u){var c=/\s|\n|\t/.exec(u);return c?c.index:-1}}},function(a,i){a.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(a,i,u){function c(){this.__rules__=[],this.__cache__=null}c.prototype.__find__=function(d){for(var m=0;m<this.__rules__.length;m++)if(this.__rules__[m].name===d)return m;return-1},c.prototype.__compile__=function(){var d=this,m=[""];d.__rules__.forEach(function(f){f.enabled&&f.alt.forEach(function(v){m.indexOf(v)<0&&m.push(v)})}),d.__cache__={},m.forEach(function(f){d.__cache__[f]=[],d.__rules__.forEach(function(v){v.enabled&&(f&&v.alt.indexOf(f)<0||d.__cache__[f].push(v.fn))})})},c.prototype.at=function(d,m,f){var v=this.__find__(d),g=f||{};if(v===-1)throw new Error("Parser rule not found: "+d);this.__rules__[v].fn=m,this.__rules__[v].alt=g.alt||[],this.__cache__=null},c.prototype.before=function(d,m,f,v){var g=this.__find__(d),y=v||{};if(g===-1)throw new Error("Parser rule not found: "+d);this.__rules__.splice(g,0,{name:m,enabled:!0,fn:f,alt:y.alt||[]}),this.__cache__=null},c.prototype.after=function(d,m,f,v){var g=this.__find__(d),y=v||{};if(g===-1)throw new Error("Parser rule not found: "+d);this.__rules__.splice(g+1,0,{name:m,enabled:!0,fn:f,alt:y.alt||[]}),this.__cache__=null},c.prototype.push=function(d,m,f){var v=f||{};this.__rules__.push({name:d,enabled:!0,fn:m,alt:v.alt||[]}),this.__cache__=null},c.prototype.enable=function(d,m){Array.isArray(d)||(d=[d]);var f=[];return d.forEach(function(v){var g=this.__find__(v);if(g<0){if(m)return;throw new Error("Rules manager: invalid rule name "+v)}this.__rules__[g].enabled=!0,f.push(v)},this),this.__cache__=null,f},c.prototype.enableOnly=function(d,m){Array.isArray(d)||(d=[d]),this.__rules__.forEach(function(f){f.enabled=!1}),this.enable(d,m)},c.prototype.disable=function(d,m){Array.isArray(d)||(d=[d]);var f=[];return d.forEach(function(v){var g=this.__find__(v);if(g<0){if(m)return;throw new Error("Rules manager: invalid rule name "+v)}this.__rules__[g].enabled=!1,f.push(v)},this),this.__cache__=null,f},c.prototype.getRules=function(d){return this.__cache__===null&&this.__compile__(),this.__cache__[d]||[]},a.exports=c},function(a,i,u){function c(d,m,f){this.type=d,this.tag=m,this.attrs=null,this.map=null,this.nesting=f,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}c.prototype.attrIndex=function(d){var m,f,v;if(!this.attrs)return-1;for(f=0,v=(m=this.attrs).length;f<v;f++)if(m[f][0]===d)return f;return-1},c.prototype.attrPush=function(d){this.attrs?this.attrs.push(d):this.attrs=[d]},c.prototype.attrSet=function(d,m){var f=this.attrIndex(d),v=[d,m];f<0?this.attrPush(v):this.attrs[f]=v},c.prototype.attrGet=function(d){var m=this.attrIndex(d),f=null;return m>=0&&(f=this.attrs[m][1]),f},c.prototype.attrJoin=function(d,m){var f=this.attrIndex(d);f<0?this.attrPush([d,m]):this.attrs[f][1]=this.attrs[f][1]+" "+m},a.exports=c},function(a,i,u){a.exports=function(c){var d=[];return d.toString=function(){return this.map(function(m){var f=function(v,g){var y=v[1]||"",b=v[3];if(!b)return y;if(g&&typeof btoa=="function"){var w=($=b,S=btoa(unescape(encodeURIComponent(JSON.stringify($)))),C="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(S),"/*# ".concat(C," */")),k=b.sources.map(function(E){return"/*# sourceURL=".concat(b.sourceRoot||"").concat(E," */")});return[y].concat(k).concat([w]).join(`
`)}var $,S,C;return[y].join(`
`)}(m,c);return m[2]?"@media ".concat(m[2]," {").concat(f,"}"):f}).join("")},d.i=function(m,f,v){typeof m=="string"&&(m=[[null,m,""]]);var g={};if(v)for(var y=0;y<this.length;y++){var b=this[y][0];b!=null&&(g[b]=!0)}for(var w=0;w<m.length;w++){var k=[].concat(m[w]);v&&g[k[0]]||(f&&(k[2]?k[2]="".concat(f," and ").concat(k[2]):k[2]=f),d.push(k))}},d}},function(a,i,u){function c(B,I){for(var M=[],z={},q=0;q<I.length;q++){var H=I[q],Q=H[0],j={id:B+":"+q,css:H[1],media:H[2],sourceMap:H[3]};z[Q]?z[Q].parts.push(j):M.push(z[Q]={id:Q,parts:[j]})}return M}u.r(i),u.d(i,"default",function(){return $});var d=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var m={},f=d&&(document.head||document.getElementsByTagName("head")[0]),v=null,g=0,y=!1,b=function(){},w=null,k=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function $(B,I,M,z){y=M,w=z||{};var q=c(B,I);return S(q),function(H){for(var Q=[],j=0;j<q.length;j++){var ee=q[j];(G=m[ee.id]).refs--,Q.push(G)}for(H?S(q=c(B,H)):q=[],j=0;j<Q.length;j++){var G;if((G=Q[j]).refs===0){for(var J=0;J<G.parts.length;J++)G.parts[J]();delete m[G.id]}}}}function S(B){for(var I=0;I<B.length;I++){var M=B[I],z=m[M.id];if(z){z.refs++;for(var q=0;q<z.parts.length;q++)z.parts[q](M.parts[q]);for(;q<M.parts.length;q++)z.parts.push(E(M.parts[q]));z.parts.length>M.parts.length&&(z.parts.length=M.parts.length)}else{var H=[];for(q=0;q<M.parts.length;q++)H.push(E(M.parts[q]));m[M.id]={id:M.id,refs:1,parts:H}}}}function C(){var B=document.createElement("style");return B.type="text/css",f.appendChild(B),B}function E(B){var I,M,z=document.querySelector('style[data-vue-ssr-id~="'+B.id+'"]');if(z){if(y)return b;z.parentNode.removeChild(z)}if(k){var q=g++;z=v||(v=C()),I=O.bind(null,z,q,!1),M=O.bind(null,z,q,!0)}else z=C(),I=F.bind(null,z),M=function(){z.parentNode.removeChild(z)};return I(B),function(H){if(H){if(H.css===B.css&&H.media===B.media&&H.sourceMap===B.sourceMap)return;I(B=H)}else M()}}var D,A=(D=[],function(B,I){return D[B]=I,D.filter(Boolean).join(`
`)});function O(B,I,M,z){var q=M?"":z.css;if(B.styleSheet)B.styleSheet.cssText=A(I,q);else{var H=document.createTextNode(q),Q=B.childNodes;Q[I]&&B.removeChild(Q[I]),Q.length?B.insertBefore(H,Q[I]):B.appendChild(H)}}function F(B,I){var M=I.css,z=I.media,q=I.sourceMap;if(z&&B.setAttribute("media",z),w.ssrId&&B.setAttribute("data-vue-ssr-id",I.id),q&&(M+=`
/*# sourceURL=`+q.sources[0]+" */",M+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(q))))+" */"),B.styleSheet)B.styleSheet.cssText=M;else{for(;B.firstChild;)B.removeChild(B.firstChild);B.appendChild(document.createTextNode(M))}}},function(a,i,u){var c=u(12),d=u(46),m=u(49),f=u(5),v=u(29),g=u(87),y=u(34),b=u(94),w=u(9)("iterator"),k=!([].keys&&"next"in[].keys()),$=function(){return this};a.exports=function(S,C,E,D,A,O,F){g(E,C,D);var B,I,M,z=function(re){if(!k&&re in j)return j[re];switch(re){case"keys":case"values":return function(){return new E(this,re)}}return function(){return new E(this,re)}},q=C+" Iterator",H=A=="values",Q=!1,j=S.prototype,ee=j[w]||j["@@iterator"]||A&&j[A],G=ee||z(A),J=A?H?z("entries"):G:void 0,te=C=="Array"&&j.entries||ee;if(te&&(M=b(te.call(new S)))!==Object.prototype&&M.next&&(y(M,q,!0),c||typeof M[w]=="function"||f(M,w,$)),H&&ee&&ee.name!=="values"&&(Q=!0,G=function(){return ee.call(this)}),c&&!F||!k&&!Q&&j[w]||f(j,w,G),v[C]=G,v[q]=$,A)if(B={values:H?G:z("values"),keys:O?G:z("keys"),entries:J},F)for(I in B)I in j||m(j,I,B[I]);else d(d.P+d.F*(k||Q),C,B);return B}},function(a,i,u){var c=u(2),d=u(13),m=u(85),f=u(5),v=u(4),g=function(y,b,w){var k,$,S,C=y&g.F,E=y&g.G,D=y&g.S,A=y&g.P,O=y&g.B,F=y&g.W,B=E?d:d[b]||(d[b]={}),I=B.prototype,M=E?c:D?c[b]:(c[b]||{}).prototype;for(k in E&&(w=b),w)($=!C&&M&&M[k]!==void 0)&&v(B,k)||(S=$?M[k]:w[k],B[k]=E&&typeof M[k]!="function"?w[k]:O&&$?m(S,c):F&&M[k]==S?function(z){var q=function(H,Q,j){if(this instanceof z){switch(arguments.length){case 0:return new z;case 1:return new z(H);case 2:return new z(H,Q)}return new z(H,Q,j)}return z.apply(this,arguments)};return q.prototype=z.prototype,q}(S):A&&typeof S=="function"?m(Function.call,S):S,A&&((B.virtual||(B.virtual={}))[k]=S,y&g.R&&I&&!I[k]&&f(I,k,S)))};g.F=1,g.G=2,g.S=4,g.P=8,g.B=16,g.W=32,g.U=64,g.R=128,a.exports=g},function(a,i,u){a.exports=!u(7)&&!u(15)(function(){return Object.defineProperty(u(48)("div"),"a",{get:function(){return 7}}).a!=7})},function(a,i,u){var c=u(10),d=u(2).document,m=c(d)&&c(d.createElement);a.exports=function(f){return m?d.createElement(f):{}}},function(a,i,u){a.exports=u(5)},function(a,i,u){var c=u(14),d=u(88),m=u(33),f=u(31)("IE_PROTO"),v=function(){},g=function(){var y,b=u(48)("iframe"),w=m.length;for(b.style.display="none",u(93).appendChild(b),b.src="javascript:",(y=b.contentWindow.document).open(),y.write("<script>document.F=Object<\/script>"),y.close(),g=y.F;w--;)delete g.prototype[m[w]];return g()};a.exports=Object.create||function(y,b){var w;return y!==null?(v.prototype=c(y),w=new v,v.prototype=null,w[f]=y):w=g(),b===void 0?w:d(w,b)}},function(a,i,u){var c=u(4),d=u(8),m=u(90)(!1),f=u(31)("IE_PROTO");a.exports=function(v,g){var y,b=d(v),w=0,k=[];for(y in b)y!=f&&c(b,y)&&k.push(y);for(;g.length>w;)c(b,y=g[w++])&&(~m(k,y)||k.push(y));return k}},function(a,i){var u={}.toString;a.exports=function(c){return u.call(c).slice(8,-1)}},function(a,i,u){var c=u(27);a.exports=function(d){return Object(c(d))}},function(a,i){i.f=Object.getOwnPropertySymbols},function(a,i,u){var c=u(51),d=u(33).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(m){return c(m,d)}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default={"1c":"1c",abnf:"abnf",accesslog:"accesslog",actionscript:"actionscript",as:"actionscript",ada:"ada",apache:"apache",apacheconf:"apache",applescript:"applescript",osascript:"applescript",arduino:"arduino",armasm:"armasm",arm:"armasm",asciidoc:"asciidoc",adoc:"asciidoc",aspectj:"aspectj",autohotkey:"autohotkey",ahk:"autohotkey",autoit:"autoit",avrasm:"avrasm",awk:"awk",axapta:"axapta",bash:"bash",sh:"bash",zsh:"bash",basic:"basic",bnf:"bnf",brainfuck:"brainfuck",bf:"brainfuck",cal:"cal",capnproto:"capnproto",capnp:"capnproto",ceylon:"ceylon",clean:"clean",icl:"clean",dcl:"clean","clojure-repl":"clojure-repl",clojure:"clojure",clj:"clojure",cmake:"cmake","cmake.in":"cmake",coffeescript:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",coq:"coq",cos:"cos",cls:"cos",cpp:"cpp",c:"cpp",cc:"cpp",h:"cpp","c++":"cpp","h++":"cpp",hpp:"cpp",crmsh:"crmsh",crm:"crmsh",pcmk:"crmsh",crystal:"crystal",cr:"crystal",cs:"cs",csharp:"cs",csp:"csp",css:"css",d:"d",dart:"dart",delphi:"delphi",dpr:"delphi",dfm:"delphi",pas:"delphi",pascal:"delphi",freepascal:"delphi",lazarus:"delphi",lpr:"delphi",lfm:"delphi",diff:"diff",patch:"diff",django:"django",jinja:"django",dns:"dns",bind:"dns",zone:"dns",dockerfile:"dockerfile",docker:"dockerfile",dos:"dos",bat:"dos",cmd:"dos",dsconfig:"dsconfig",dts:"dts",dust:"dust",dst:"dust",ebnf:"ebnf",elixir:"elixir",elm:"elm",erb:"erb","erlang-repl":"erlang-repl",erlang:"erlang",erl:"erlang",excel:"excel",xlsx:"excel",xls:"excel",fix:"fix",flix:"flix",fortran:"fortran",f90:"fortran",f95:"fortran",fsharp:"fsharp",fs:"fsharp",gams:"gams",gms:"gams",gauss:"gauss",gss:"gauss",gcode:"gcode",nc:"gcode",gherkin:"gherkin",feature:"gherkin",glsl:"glsl",go:"go",golang:"go",golo:"golo",gradle:"gradle",groovy:"groovy",haml:"haml",handlebars:"handlebars",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",haskell:"haskell",hs:"haskell",haxe:"haxe",hx:"haxe",hsp:"hsp",htmlbars:"htmlbars",http:"http",https:"http",hy:"hy",hylang:"hy",inform7:"inform7",i7:"inform7",ini:"ini",toml:"ini",irpf90:"irpf90",java:"java",jsp:"java",javascript:"javascript",js:"javascript",jsx:"javascript","jboss-cli":"jboss-cli","wildfly-cli":"jboss-cli",json:"json","julia-repl":"julia-repl",julia:"julia",kotlin:"kotlin",lasso:"lasso",ls:"livescript",lassoscript:"lasso",ldif:"ldif",leaf:"leaf",less:"less",lisp:"lisp",livecodeserver:"livecodeserver",livescript:"livescript",llvm:"llvm",lsl:"lsl",lua:"lua",makefile:"makefile",mk:"makefile",mak:"makefile",markdown:"markdown",md:"markdown",mkdown:"markdown",mkd:"markdown",mathematica:"mathematica",mma:"mathematica",matlab:"matlab",maxima:"maxima",mel:"mel",mercury:"mercury",m:"mercury",moo:"mercury",mipsasm:"mipsasm",mips:"mipsasm",mizar:"mizar",mojolicious:"mojolicious",monkey:"monkey",moonscript:"moonscript",moon:"moonscript",n1ql:"n1ql",nginx:"nginx",nginxconf:"nginx",nimrod:"nimrod",nim:"nimrod",nix:"nix",nixos:"nix",nsis:"nsis",objectivec:"objectivec",mm:"objectivec",objc:"objectivec","obj-c":"objectivec",ocaml:"ocaml",ml:"sml",openscad:"openscad",scad:"openscad",oxygene:"oxygene",parser3:"parser3",perl:"perl",pl:"perl",pm:"perl",pf:"pf","pf.conf":"pf",php:"php",php3:"php",php4:"php",php5:"php",php6:"php",pony:"pony",powershell:"powershell",ps:"powershell",processing:"processing",profile:"profile",prolog:"prolog",protobuf:"protobuf",puppet:"puppet",pp:"puppet",purebasic:"purebasic",pb:"purebasic",pbi:"purebasic",python:"python",py:"python",gyp:"python",q:"q",k:"q",kdb:"q",qml:"qml",qt:"qml",r:"r",rib:"rib",roboconf:"roboconf",graph:"roboconf",instances:"roboconf",routeros:"routeros",mikrotik:"routeros",rsl:"rsl",ruby:"ruby",rb:"ruby",gemspec:"ruby",podspec:"ruby",thor:"ruby",irb:"ruby",ruleslanguage:"ruleslanguage",rust:"rust",rs:"rust",scala:"scala",scheme:"scheme",scilab:"scilab",sci:"scilab",scss:"scss",shell:"shell",console:"shell",smali:"smali",smalltalk:"smalltalk",st:"smalltalk",sml:"sml",sqf:"sqf",sql:"sql",stan:"stan",stata:"stata",do:"stata",ado:"stata",step21:"step21",p21:"step21",step:"step21",stp:"step21",stylus:"stylus",styl:"stylus",subunit:"subunit",swift:"swift",taggerscript:"taggerscript",tap:"tap",tcl:"tcl",tk:"tcl",tex:"tex",thrift:"thrift",tp:"tp",twig:"twig",craftcms:"twig",typescript:"typescript",ts:"typescript",vala:"vala",vbnet:"vbnet",vb:"vbnet","vbscript-html":"vbscript-html",vbscript:"vbscript",vbs:"vbscript",verilog:"verilog",v:"verilog",sv:"verilog",svh:"verilog",vhdl:"vhdl",vim:"vim",x86asm:"x86asm",xl:"xl",tao:"xl",xml:"xml",html:"xml",xhtml:"xml",rss:"xml",atom:"xml",xjb:"xml",xsd:"xml",xsl:"xml",plist:"xml",xquery:"xquery",xpath:"xquery",xq:"xquery",yaml:"yaml",yml:"yaml",YAML:"yaml",zephir:"zephir",zep:"zephir"}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.loadScript=function(g,y){typeof y!="function"&&(y=function(){});var b=document.querySelectorAll("script[src='"+g+"']");if(b.length>0)return b[0].addEventListener("load",function(){y()}),void y();var w=document.createElement("script"),k=document.getElementsByTagName("head")[0];w.type="text/javascript",w.charset="UTF-8",w.src=g,w.addEventListener?w.addEventListener("load",function(){y()},!1):w.attachEvent&&w.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&y()}),k.appendChild(w)},i.loadLink=function(g,y,b){if(typeof y!="function"&&(y=function(){}),document.querySelectorAll("link[href='"+g+"']").length>0)return void y();if(b){var w=document.querySelectorAll("link#"+b);if(w.length)return void(w[0].href=g)}var k=document.createElement("link"),$=document.getElementsByTagName("head")[0];k.rel="stylesheet",k.href=g,b&&(k.id=b),k.addEventListener?k.addEventListener("load",function(){y()},!1):k.attachEvent&&k.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&y()}),$.appendChild(k)},i.insertTextAtCaret=function(g,y,b){var w=y.prefix,k=y.subfix,$=y.str;if(y.type,g.focus(),v(g)){var S=g.selectionStart,C=g.selectionEnd,E=g.value;S===C?(g.value=E.substring(0,S)+w+$+k+E.substring(C,E.length),g.selectionStart=S+w.length,g.selectionEnd=S+($.length+w.length)):E.substring(S-w.length,S)===w&&E.substring(C,C+k.length)===k&&function(D,A,O,F,B){return!(D==="*"&&A==="*"&&O.substring(F-2,F-1)==="*"&&O.substring(B+1,B+2)==="*")}(w,k,E,S,C)?(g.value=E.substring(0,S-w.length)+E.substring(S,C)+E.substring(C+k.length,E.length),g.selectionStart=S-w.length,g.selectionEnd=C-w.length):(g.value=E.substring(0,S)+w+E.substring(S,C)+k+E.substring(C,E.length),g.selectionStart=S+w.length,g.selectionEnd=S+(C-S+w.length))}else alert("Error: Browser version is too low");b.d_value=g.value,g.focus()};var c="```",d="\n```\n",m="language";i.insertCodeBlock=function(g){var y=g.getTextareaDom();if(v(y)){var b=m,w=y.selectionStart,k=y.selectionEnd,$=y.value;w===k?f(b,"",y):function(S){var C=S.selectionStart,E=S.selectionEnd,D=S.value,A=c,O=d;return D.substring(C-1,C)===`
`?A+=`
`:O=`
`+O,D.substring(C-A.length,C)===A&&D.substring(E,E+O.length)===O}(y)?function(S){var C=c,E=d,D=m,A=S.selectionStart,O=S.selectionEnd,F=S.value,B=F.substring(A,O);if(F.substring(A-1,A)===`
`)C+=`
`;else if(C+D+(E=`
`+E)===F.substring(A-C.length,O+E.length)){var I=F.substring(0,A-C.length);return I+=F.substring(O+E.length,F.length),S.value=I,S.selectionStart=A-C.length,void(S.selectionEnd=S.selectionStart)}var M=F.substring(0,A-C.length);M+=B,M+=F.substring(O+E.length,F.length),S.value=M,S.selectionStart=A-C.length,S.selectionEnd=S.selectionStart+B.length}(y):f("",$.substring(w,k),y),g.d_value=y.value,y.focus()}else alert("Error: Browser version is too low")};function f(g,y,b){var w=c,k=d,$=b.selectionStart,S=b.selectionEnd,C=b.value,E=C.substring(0,$);E+=w+g+`
`,E+=y,E+=k,E+=C.substring(S,C.length),b.value=E,b.selectionStart=$+w.length+(g?0:1),b.selectionEnd=b.selectionStart+g.length+y.length}function v(g){return typeof g.selectionStart=="number"&&typeof g.selectionEnd=="number"}i.insertOl=function(g){var y=g.getTextareaDom();if(v(y)){var b=y.selectionStart,w=y.selectionEnd,k=y.value;if(b===w)y.value=k.substring(0,b)+"1. "+k.substring(w,k.length),y.selectionEnd=y.selectionStart=b+3;else{for(var $=b;$>0&&k.substring($-1,$)!==`
`;)$--;for(var S=k.substring($,w),C=S.split(`
`),E=0;E<C.length;E++)C[E]=E+1+". "+C[E];var D=C.join(`
`);y.value=k.substring(0,$)+D+k.substring(w,k.length),y.selectionStart=$,y.selectionEnd=w+D.length-S.length}}else alert("Error: Browser version is too low");g.d_value=y.value,y.focus()},i.removeLine=function(g){var y=g.getTextareaDom();if(v(y)){for(var b=y.selectionStart,w=y.selectionEnd,k=y.value,$=b;$>0&&k.substring($-1,$)!==`
`;)$--;for(var S=w;S<k.length&&k.substring(S,S+1)!==`
`;)S++;S<k.length&&S++,y.value=k.substring(0,$)+k.substring(S,k.length),y.selectionEnd=y.selectionStart=$===0?0:$-1}else alert("Error: Browser version is too low");g.d_value=y.value,y.focus()},i.insertUl=function(g){var y=g.getTextareaDom();if(v(y)){var b=y.selectionStart,w=y.selectionEnd,k=y.value;if(b===w)y.value=k.substring(0,b)+"- "+k.substring(w,k.length),y.selectionEnd=y.selectionStart=b+2;else{for(var $=b;$>0&&k.substring($-1,$)!==`
`;)$--;var S=k.substring($,w),C=S.replace(/\n/g,`
- `);C="- "+C,y.value=k.substring(0,$)+C+k.substring(w,k.length),y.selectionStart=$,y.selectionEnd=w+C.length-S.length}}else alert("Error: Browser version is too low");g.d_value=y.value,y.focus()},i.insertTab=function(g,y){y=y?new Array(y).fill(" ").join(""):" ";var b=g.getTextareaDom();if(v(b)){var w=b.selectionStart,k=b.selectionEnd,$=b.value,S=$.substring(0,w).split(`
`).pop();if(S.match(/^\s*[0-9]+\.\s+\S*/)){var C=S.replace(/(\d+)/,1);b.value=$.substring(0,w-C.length)+y+C+$.substring(k,$.length)}else S.match(/^\s*-\s+\S*/)?b.value=$.substring(0,w-S.length)+y+S+$.substring(k,$.length):b.value=$.substring(0,w)+y+$.substring(k,$.length);b.selectionStart=b.selectionEnd=w+y.length}else alert("Error: Browser version is too low");g.d_value=b.value,b.focus()},i.unInsertTab=function(g,y){var b=new RegExp(y?"\\s{"+y+"}":" ");console.log("regTab:",b);var w=g.getTextareaDom();if(v(w)){var k=w.selectionStart,$=w.selectionEnd,S=w.value,C=S.substring(0,k).split(`
`).pop();C.search(b)>=0&&(w.value=S.substring(0,k-C.length)+C.replace(b,"")+S.substring($,S.length),w.selectionStart=w.selectionEnd=k-(y||1))}else alert("Error: Browser version is too low");g.d_value=w.value,w.focus()},i.insertEnter=function(g,y){var b=g.getTextareaDom();if(v(b)){var w=b.selectionStart,k=b.selectionEnd,$=b.value,S=$.substring(0,w).split(`
`).pop(),C=S.match(/^\s*(?:[0-9]+\.|-)\s+\S+/);if(C){y.preventDefault();var E=C.shift().match(/^\s*(?:[0-9]+\.|-)\s/).shift();if(E.search(/-/)>=0)b.value=$.substring(0,w)+`
`+E+$.substring(k,$.length),b.selectionStart=b.selectionEnd=w+E.length+1;else{var D=E.replace(/(\d+)/,parseInt(E)+1);b.value=$.substring(0,w)+`
`+D+$.substring(k,$.length),b.selectionStart=b.selectionEnd=w+D.length+1}}else{var A=S.match(/^\s*(?:[0-9]+\.|-)\s+$/);if(A){y.preventDefault();var O=A.shift().length;b.value=$.substring(0,w-O)+`
`+$.substring(k,$.length),b.selectionStart=b.selectionEnd=w-O}}}else alert("Error: Browser version is too low");g.d_value=b.value,b.focus()},i.getNavigation=function(g,y){var b=void 0;(b=g.$refs.navigationContent).innerHTML=g.d_render;var w=b.children;if(w.length)for(var k=0;k<w.length;k++)$(w[k],k);function $(S,C,E){/^H[1-6]{1}$/.exec(S.tagName)?S.onclick=function(){var D=g.$refs.vShowContent,A=g.$refs.vNoteEdit;g.s_subfield?g.s_preview_switch&&(A.scrollTop=D.children[C].offsetTop*(A.scrollHeight-A.offsetHeight)/(D.scrollHeight-D.offsetHeight)):g.s_preview_switch&&(D.scrollTop=D.children[C].offsetTop)}:S.style.display="none"}},i.scrollLink=function(g,y){var b=g.srcElement?g.srcElement:g.target,w=b.scrollTop/(b.scrollHeight-b.offsetHeight);y.edit_scroll_height>=0&&b.scrollHeight!==y.edit_scroll_height&&b.scrollHeight-b.offsetHeight-b.scrollTop<=30&&(y.$refs.vNoteEdit.scrollTop=b.scrollHeight-b.offsetHeight,w=1),y.edit_scroll_height=b.scrollHeight,y.$refs.vShowContent.scrollHeight>y.$refs.vShowContent.offsetHeight&&(y.$refs.vShowContent.scrollTop=(y.$refs.vShowContent.scrollHeight-y.$refs.vShowContent.offsetHeight)*w)},i.fullscreenchange=function(g){g.$el.addEventListener("fullscreenchange",function(y){g.$toolbar_right_read_change_status()},!1),g.$el.addEventListener("mozfullscreenchange",function(y){g.$toolbar_right_read_change_status()},!1),g.$el.addEventListener("webkitfullscreenchange",function(y){g.$toolbar_right_read_change_status()},!1),g.$el.addEventListener("msfullscreenchange",function(y){g.$toolbar_right_read_change_status()},!1)},i.windowResize=function(g){function y(){g.$el.clientWidth>768?g.s_subfield=g.subfield:g.s_subfield=!1}y(),window.addEventListener("resize",y)},i.ImagePreviewListener=function(g){g.$refs.vShowContent.addEventListener("click",function(y){var b=(y=y||window.event).srcElement?y.srcElement:y.target;b.tagName==="IMG"&&(g.imageClick!=null?g.imageClick(b):g.d_preview_imgsrc=b.src)})}},function(a,i,u){var c=u(38).FilterCSS,d=u(38).getDefaultWhiteList,m=u(39);function f(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var v=new c;function g(H){return H.replace(y,"&lt;").replace(b,"&gt;")}var y=/</g,b=/>/g,w=/"/g,k=/&quot;/g,$=/&#([a-zA-Z0-9]*);?/gim,S=/&colon;?/gim,C=/&newline;?/gim,E=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,A=/u\s*r\s*l\s*\(.*/gi;function O(H){return H.replace(w,"&quot;")}function F(H){return H.replace(k,'"')}function B(H){return H.replace($,function(Q,j){return j[0]==="x"||j[0]==="X"?String.fromCharCode(parseInt(j.substr(1),16)):String.fromCharCode(parseInt(j,10))})}function I(H){return H.replace(S,":").replace(C," ")}function M(H){for(var Q="",j=0,ee=H.length;j<ee;j++)Q+=H.charCodeAt(j)<32?" ":H.charAt(j);return m.trim(Q)}function z(H){return H=M(H=I(H=B(H=F(H))))}function q(H){return H=g(H=O(H))}i.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},i.getDefaultWhiteList=f,i.onTag=function(H,Q,j){},i.onIgnoreTag=function(H,Q,j){},i.onTagAttr=function(H,Q,j){},i.onIgnoreTagAttr=function(H,Q,j){},i.safeAttrValue=function(H,Q,j,ee){if(j=z(j),Q==="href"||Q==="src"){if((j=m.trim(j))==="#")return"#";if(j.substr(0,7)!=="http://"&&j.substr(0,8)!=="https://"&&j.substr(0,7)!=="mailto:"&&j.substr(0,4)!=="tel:"&&j.substr(0,11)!=="data:image/"&&j.substr(0,6)!=="ftp://"&&j.substr(0,2)!=="./"&&j.substr(0,3)!=="../"&&j[0]!=="#"&&j[0]!=="/")return""}else if(Q==="background"){if(E.lastIndex=0,E.test(j))return""}else if(Q==="style"){if(D.lastIndex=0,D.test(j)||(A.lastIndex=0,A.test(j)&&(E.lastIndex=0,E.test(j))))return"";ee!==!1&&(j=(ee=ee||v).process(j))}return j=q(j)},i.escapeHtml=g,i.escapeQuote=O,i.unescapeQuote=F,i.escapeHtmlEntities=B,i.escapeDangerHtml5Entities=I,i.clearNonPrintableCharacter=M,i.friendlyAttrValue=z,i.escapeAttrValue=q,i.onIgnoreTagStripAll=function(){return""},i.StripTagBody=function(H,Q){typeof Q!="function"&&(Q=function(){});var j=!Array.isArray(H),ee=[],G=!1;return{onIgnoreTag:function(J,te,re){if(function(ve){return!!j||m.indexOf(H,ve)!==-1}(J)){if(re.isClosing){var ae="[/removed]",ye=re.position+ae.length;return ee.push([G!==!1?G:re.position,ye]),G=!1,ae}return G||(G=re.position),"[removed]"}return Q(J,te,re)},remove:function(J){var te="",re=0;return m.forEach(ee,function(ae){te+=J.slice(re,ae[0]),re=ae[1]}),te+=J.slice(re)}}},i.stripCommentTag=function(H){for(var Q="",j=0;j<H.length;){var ee=H.indexOf("<!--",j);if(ee===-1){Q+=H.slice(j);break}Q+=H.slice(j,ee);var G=H.indexOf("-->",ee);if(G===-1)break;j=G+3}return Q},i.stripBlankChar=function(H){var Q=H.split("");return(Q=Q.filter(function(j){var ee=j.charCodeAt(0);return ee!==127&&(!(ee<=31)||ee===10||ee===13)})).join("")},i.cssFilter=v,i.getDefaultCSSWhiteList=d},function(a,i){function u(){var d={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return d}var c=/javascript\s*\:/gim;i.whiteList=u(),i.getDefaultWhiteList=u,i.onAttr=function(d,m,f){},i.onIgnoreAttr=function(d,m,f){},i.safeAttrValue=function(d,m){return c.test(m)?"":m}},function(a,i){a.exports={indexOf:function(u,c){var d,m;if(Array.prototype.indexOf)return u.indexOf(c);for(d=0,m=u.length;d<m;d++)if(u[d]===c)return d;return-1},forEach:function(u,c,d){var m,f;if(Array.prototype.forEach)return u.forEach(c,d);for(m=0,f=u.length;m<f;m++)c.call(d,u[m],m,u)},trim:function(u){return String.prototype.trim?u.trim():u.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(u){return String.prototype.trimRight?u.trimRight():u.replace(/(\s*$)/g,"")}}},function(a,i,u){var c=u(39);function d(w){var k,$=c.spaceIndex(w);return k=$===-1?w.slice(1,-1):w.slice(1,$+1),(k=c.trim(k).toLowerCase()).slice(0,1)==="/"&&(k=k.slice(1)),k.slice(-1)==="/"&&(k=k.slice(0,-1)),k}function m(w){return w.slice(0,2)==="</"}var f=/[^a-zA-Z0-9\\_:.-]/gim;function v(w,k){for(;k<w.length;k++){var $=w[k];if($!==" ")return $==="="?k:-1}}function g(w,k){for(;k<w.length;k++){var $=w[k];if($!==" ")return $==="'"||$==='"'?k:-1}}function y(w,k){for(;k>0;k--){var $=w[k];if($!==" ")return $==="="?k:-1}}function b(w){return function(k){return k[0]==='"'&&k[k.length-1]==='"'||k[0]==="'"&&k[k.length-1]==="'"}(w)?w.substr(1,w.length-2):w}i.parseTag=function(w,k,$){var S="",C=0,E=!1,D=!1,A=0,O=w.length,F="",B="";e:for(A=0;A<O;A++){var I=w.charAt(A);if(E===!1){if(I==="<"){E=A;continue}}else if(D===!1){if(I==="<"){S+=$(w.slice(C,A)),E=A,C=A;continue}if(I===">"||A===O-1){S+=$(w.slice(C,E)),F=d(B=w.slice(E,A+1)),S+=k(E,S.length,F,B,m(B)),C=A+1,E=!1;continue}if(I==='"'||I==="'")for(var M=1,z=w.charAt(A-M);z.trim()===""||z==="=";){if(z==="="){D=I;continue e}z=w.charAt(A-++M)}}else if(I===D){D=!1;continue}}return C<O&&(S+=$(w.substr(C))),S},i.parseAttr=function(w,k){var $=0,S=0,C=[],E=!1,D=w.length;function A(I,M){if(!((I=(I=c.trim(I)).replace(f,"").toLowerCase()).length<1)){var z=k(I,M||"");z&&C.push(z)}}for(var O=0;O<D;O++){var F,B=w.charAt(O);if(E!==!1||B!=="=")if(E===!1||O!==S){if(/\s|\n|\t/.test(B)){if(w=w.replace(/\s|\n|\t/g," "),E===!1){if((F=v(w,O))===-1){A(c.trim(w.slice($,O))),E=!1,$=O+1;continue}O=F-1;continue}if((F=y(w,O-1))===-1){A(E,b(c.trim(w.slice($,O)))),E=!1,$=O+1;continue}}}else{if((F=w.indexOf(B,O+1))===-1)break;A(E,c.trim(w.slice(S+1,F))),E=!1,$=(O=F)+1}else E=w.slice($,O),$=O+1,S=w.charAt($)==='"'||w.charAt($)==="'"?$:g(w,O+1)}return $<w.length&&(E===!1?A(w.slice($)):A(E,b(c.trim(w.slice($))))),c.trim(C.join(" "))}},function(a,i,u){a.exports=u(140)},function(a,i,u){a.exports.encode=u(141),a.exports.decode=u(142),a.exports.format=u(143),a.exports.parse=u(144)},function(a,i){a.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(a,i){a.exports=/[\0-\x1F\x7F-\x9F]/},function(a,i){a.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(a,i,u){var c=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,d="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",m=new RegExp("^(?:"+c+"|"+d+"|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),f=new RegExp("^(?:"+c+"|"+d+")");a.exports.HTML_TAG_RE=m,a.exports.HTML_OPEN_CLOSE_TAG_RE=f},function(a,i,u){function c(d,m){var f,v,g,y,b,w=[],k=m.length;for(f=0;f<k;f++)(g=m[f]).marker===126&&g.end!==-1&&(y=m[g.end],(b=d.tokens[g.token]).type="s_open",b.tag="s",b.nesting=1,b.markup="~~",b.content="",(b=d.tokens[y.token]).type="s_close",b.tag="s",b.nesting=-1,b.markup="~~",b.content="",d.tokens[y.token-1].type==="text"&&d.tokens[y.token-1].content==="~"&&w.push(y.token-1));for(;w.length;){for(v=(f=w.pop())+1;v<d.tokens.length&&d.tokens[v].type==="s_close";)v++;f!==--v&&(b=d.tokens[v],d.tokens[v]=d.tokens[f],d.tokens[f]=b)}}a.exports.tokenize=function(d,m){var f,v,g,y,b=d.pos,w=d.src.charCodeAt(b);if(m||w!==126||(g=(v=d.scanDelims(d.pos,!0)).length,y=String.fromCharCode(w),g<2))return!1;for(g%2&&(d.push("text","",0).content=y,g--),f=0;f<g;f+=2)d.push("text","",0).content=y+y,d.delimiters.push({marker:w,length:0,jump:f,token:d.tokens.length-1,end:-1,open:v.can_open,close:v.can_close});return d.pos+=v.length,!0},a.exports.postProcess=function(d){var m,f=d.tokens_meta,v=d.tokens_meta.length;for(c(d,d.delimiters),m=0;m<v;m++)f[m]&&f[m].delimiters&&c(d,f[m].delimiters)}},function(a,i,u){function c(d,m){var f,v,g,y,b,w;for(f=m.length-1;f>=0;f--)(v=m[f]).marker!==95&&v.marker!==42||v.end!==-1&&(g=m[v.end],w=f>0&&m[f-1].end===v.end+1&&m[f-1].token===v.token-1&&m[v.end+1].token===g.token+1&&m[f-1].marker===v.marker,b=String.fromCharCode(v.marker),(y=d.tokens[v.token]).type=w?"strong_open":"em_open",y.tag=w?"strong":"em",y.nesting=1,y.markup=w?b+b:b,y.content="",(y=d.tokens[g.token]).type=w?"strong_close":"em_close",y.tag=w?"strong":"em",y.nesting=-1,y.markup=w?b+b:b,y.content="",w&&(d.tokens[m[f-1].token].content="",d.tokens[m[v.end+1].token].content="",f--))}a.exports.tokenize=function(d,m){var f,v,g=d.pos,y=d.src.charCodeAt(g);if(m||y!==95&&y!==42)return!1;for(v=d.scanDelims(d.pos,y===42),f=0;f<v.length;f++)d.push("text","",0).content=String.fromCharCode(y),d.delimiters.push({marker:y,length:v.length,jump:f,token:d.tokens.length-1,end:-1,open:v.can_open,close:v.can_close});return d.pos+=v.length,!0},a.exports.postProcess=function(d){var m,f=d.tokens_meta,v=d.tokens_meta.length;for(c(d,d.delimiters),m=0;m<v;m++)f[m]&&f[m].delimiters&&c(d,f[m].delimiters)}},function(a,i,u){u.r(i);var c=u(76),d=u(22);for(var m in d)["default"].indexOf(m)<0&&function(g){u.d(i,g,function(){return d[g]})}(m);u(214);var f=u(3);const v=u.n(f)()(d.default,[["render",c.a],["__scopeId","data-v-218640b4"]]);i.default=v},function(a,i,u){var c=u(215);c.__esModule&&(c=c.default),typeof c=="string"&&(c=[[a.i,c,""]]),c.locals&&(a.exports=c.locals),(0,u(44).default)("74ee9320",c,!1,{})},function(a,i,u){u.r(i);var c=u(77),d=u(23);for(var m in d)["default"].indexOf(m)<0&&function(g){u.d(i,g,function(){return d[g]})}(m);var f=u(3);const v=u.n(f)()(d.default,[["render",c.a]]);i.default=v},function(a,i,u){var c=u(218);c.__esModule&&(c=c.default),typeof c=="string"&&(c=[[a.i,c,""]]),c.locals&&(a.exports=c.locals),(0,u(44).default)("4958985a",c,!1,{})},function(a,i,u){var c=u(220);c.__esModule&&(c=c.default),typeof c=="string"&&(c=[[a.i,c,""]]),c.locals&&(a.exports=c.locals),(0,u(44).default)("200b97d3",c,!1,{})},function(a,i,u){u.d(i,"a",function(){return w});var c=u(0);const d={class:"v-note-panel"},m=["innerHTML"],f={class:"v-note-navigation-title"},v={ref:"help"},g=["innerHTML"],y=["src"],b=["innerHTML"];function w(k,$,S,C,E,D){const A=Object(c.resolveComponent)("v-md-toolbar-left"),O=Object(c.resolveComponent)("v-md-toolbar-right"),F=Object(c.resolveComponent)("v-autoTextarea");return Object(c.openBlock)(),Object(c.createElementBlock)("div",{class:Object(c.normalizeClass)([[{fullscreen:E.s_fullScreen,shadow:S.boxShadow}],"v-note-wrapper markdown-body"]),style:Object(c.normalizeStyle)({"box-shadow":S.boxShadow?S.boxShadowStyle:""})},[Object(c.createCommentVNode)("工具栏"),Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:"v-note-op",style:Object(c.normalizeStyle)({background:S.toolbarsBackground})},[Object(c.createVNode)(A,{ref:"toolbar_left",editable:S.editable,transition:S.transition,d_words:E.d_words,onToolbar_left_click:D.toolbar_left_click,onToolbar_left_addlink:D.toolbar_left_addlink,toolbars:S.toolbars,onImgAdd:D.$imgAdd,onImgDel:D.$imgDel,onImgTouch:D.$imgTouch,image_filter:S.imageFilter,class:Object(c.normalizeClass)({transition:S.transition})},{"left-toolbar-before":Object(c.withCtx)(()=>[Object(c.renderSlot)(k.$slots,"left-toolbar-before",{},void 0,!0)]),"left-toolbar-after":Object(c.withCtx)(()=>[Object(c.renderSlot)(k.$slots,"left-toolbar-after",{},void 0,!0)]),_:3},8,["editable","transition","d_words","onToolbar_left_click","onToolbar_left_addlink","toolbars","onImgAdd","onImgDel","onImgTouch","image_filter","class"]),Object(c.createVNode)(O,{ref:"toolbar_right",d_words:E.d_words,onToolbar_right_click:D.toolbar_right_click,toolbars:S.toolbars,s_subfield:E.s_subfield,s_preview_switch:E.s_preview_switch,s_fullScreen:E.s_fullScreen,s_html_code:E.s_html_code,s_navigation:E.s_navigation,class:Object(c.normalizeClass)({transition:S.transition})},{"right-toolbar-before":Object(c.withCtx)(()=>[Object(c.renderSlot)(k.$slots,"right-toolbar-before",{},void 0,!0)]),"right-toolbar-after":Object(c.withCtx)(()=>[Object(c.renderSlot)(k.$slots,"right-toolbar-after",{},void 0,!0)]),_:3},8,["d_words","onToolbar_right_click","toolbars","s_subfield","s_preview_switch","s_fullScreen","s_html_code","s_navigation","class"])],4),[[c.vShow,S.toolbarsFlag]]),Object(c.createCommentVNode)("编辑展示区域"),Object(c.createElementVNode)("div",d,[Object(c.createCommentVNode)("编辑区"),Object(c.createElementVNode)("div",{ref:"vNoteEdit",onScroll:$[1]||($[1]=(...B)=>D.$v_edit_scroll&&D.$v_edit_scroll(...B)),class:Object(c.normalizeClass)(["v-note-edit divarea-wrapper",{"scroll-style":E.s_scrollStyle,"scroll-style-border-radius":E.s_scrollStyle&&!E.s_preview_switch&&!E.s_html_code,"single-edit":!E.s_preview_switch&&!E.s_html_code,"single-show":!E.s_subfield&&E.s_preview_switch||!E.s_subfield&&E.s_html_code,transition:S.transition}]),onClick:$[2]||($[2]=(...B)=>D.textAreaFocus&&D.textAreaFocus(...B))},[Object(c.createElementVNode)("div",{class:"content-input-wrapper",style:Object(c.normalizeStyle)({"background-color":S.editorBackground})},[Object(c.createCommentVNode)(" 双栏 "),Object(c.createVNode)(F,{ref:"vNoteTextarea",placeholder:S.placeholder?S.placeholder:E.d_words.start_editor,class:"content-input",fontSize:S.fontSize,lineHeight:"1.5",modelValue:E.d_value,"onUpdate:modelValue":$[0]||($[0]=B=>E.d_value=B),fullHeight:"",style:Object(c.normalizeStyle)({"background-color":S.editorBackground})},null,8,["placeholder","fontSize","modelValue","style"])],4)],34),Object(c.createCommentVNode)("展示区"),Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)([{"single-show":!E.s_subfield&&E.s_preview_switch||!E.s_subfield&&E.s_html_code},"v-note-show"])},[Object(c.withDirectives)(Object(c.createElementVNode)("div",{ref:"vShowContent",innerHTML:E.d_render,class:Object(c.normalizeClass)([{"scroll-style":E.s_scrollStyle,"scroll-style-border-radius":E.s_scrollStyle},"v-show-content"]),style:Object(c.normalizeStyle)({"background-color":S.previewBackground})},null,14,m),[[c.vShow,!E.s_html_code]]),Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)([{"scroll-style":E.s_scrollStyle,"scroll-style-border-radius":E.s_scrollStyle},"v-show-content-html"]),style:Object(c.normalizeStyle)({"background-color":S.previewBackground})},Object(c.toDisplayString)(E.d_render),7),[[c.vShow,E.s_html_code]])],2),[[c.vShow,E.s_preview_switch||E.s_html_code]]),Object(c.createCommentVNode)("标题导航"),Object(c.createVNode)(c.Transition,{name:"slideTop",persisted:""},{default:Object(c.withCtx)(()=>[Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)(["v-note-navigation-wrapper",{transition:S.transition}])},[Object(c.createElementVNode)("div",f,[Object(c.createTextVNode)(Object(c.toDisplayString)(E.d_words.navigation_title),1),Object(c.createElementVNode)("i",{onClick:$[3]||($[3]=B=>D.toolbar_right_click("navigation")),class:"fa fa-mavon-times v-note-navigation-close","aria-hidden":"true"})]),Object(c.createElementVNode)("div",{ref:"navigationContent",class:Object(c.normalizeClass)(["v-note-navigation-content",{"scroll-style":E.s_scrollStyle}])},null,2)],2),[[c.vShow,E.s_navigation]])]),_:1})]),Object(c.createCommentVNode)("帮助文档"),Object(c.createVNode)(c.Transition,{name:"fade"},{default:Object(c.withCtx)(()=>[Object(c.createElementVNode)("div",v,[E.s_help?(Object(c.openBlock)(),Object(c.createElementBlock)("div",{key:0,onClick:$[5]||($[5]=Object(c.withModifiers)(B=>D.toolbar_right_click("help"),["self"])),class:"v-note-help-wrapper"},[Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)(["v-note-help-content markdown-body",{shadow:S.boxShadow}])},[Object(c.createElementVNode)("i",{onClick:$[4]||($[4]=Object(c.withModifiers)(B=>D.toolbar_right_click("help"),["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(c.createElementVNode)("div",{class:"scroll-style v-note-help-show",innerHTML:E.d_help},null,8,g)],2)])):Object(c.createCommentVNode)("v-if",!0)],512)]),_:1}),Object(c.createCommentVNode)(" 预览图片 "),Object(c.createVNode)(c.Transition,{name:"fade"},{default:Object(c.withCtx)(()=>[E.d_preview_imgsrc?(Object(c.openBlock)(),Object(c.createElementBlock)("div",{key:0,onClick:$[6]||($[6]=B=>E.d_preview_imgsrc=null),class:"v-note-img-wrapper"},[Object(c.createElementVNode)("img",{src:E.d_preview_imgsrc,alt:"none"},null,8,y)])):Object(c.createCommentVNode)("v-if",!0)]),_:1}),Object(c.createCommentVNode)("阅读模式"),Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)([{show:E.s_readmodel},"v-note-read-model scroll-style"]),ref:"vReadModel"},[Object(c.createElementVNode)("div",{ref:"vNoteReadContent",class:"v-note-read-content",innerHTML:E.d_render},null,8,b)],2)],6)}},function(a,i,u){u.d(i,"a",function(){return ke});var c=u(0);const d={class:"v-left-item"},m=["disabled","title"],f=["disabled","title"],v=["disabled","title"],g={key:3,class:"op-icon-divider"},y=["disabled","title"],b=["disabled","title"],w=["disabled","title"],k=["disabled","title"],$=["disabled","title"],S=["disabled","title"],C=["disabled","title"],E=["disabled","title"],D={key:12,class:"op-icon-divider"},A=["disabled","title"],O=["disabled","title"],F=["disabled","title"],B={key:16,class:"op-icon-divider"},I=["disabled","title"],M=["disabled"],z={class:"dropdown-item",style:{overflow:"hidden"}},q=["title","onClick"],H=["onClick","title"],Q=["src"],j=["disabled","title"],ee=["disabled","title"],G={key:21,class:"op-icon-divider"},J=["title"],te=["title"],re=["title"],ae=["title"],ye={key:0,class:"add-image-link-wrapper"},ve={class:"add-image-link"},le={class:"title"},Se={class:"link-text input-wrapper"},De=["placeholder"],At={class:"link-addr input-wrapper"},Le=["placeholder"];function ke(ue,Ce,Te,Pe,Vt,Ie){return Object(c.openBlock)(),Object(c.createElementBlock)("div",d,[Object(c.renderSlot)(ue.$slots,"left-toolbar-before",{},void 0,!0),Te.toolbars.bold?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:0,disabled:!Te.editable,type:"button",onClick:Ce[0]||(Ce[0]=ie=>Ie.$clicks("bold")),class:"op-icon fa fa-mavon-bold","aria-hidden":"true",title:Te.d_words.tl_bold+" (ctrl+b)"},null,8,m)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.italic?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:1,disabled:!Te.editable,type:"button",onClick:Ce[1]||(Ce[1]=ie=>Ie.$clicks("italic")),class:"op-icon fa fa-mavon-italic","aria-hidden":"true",title:Te.d_words.tl_italic+" (ctrl+i)"},null,8,f)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.header?(Object(c.openBlock)(),Object(c.createElementBlock)("div",{key:2,class:Object(c.normalizeClass)([{selected:Vt.s_header_dropdown_open},"op-icon fa fa-mavon-header dropdown dropdown-wrapper"]),disabled:!Te.editable,type:"button",onMouseleave:Ce[10]||(Ce[10]=(...ie)=>Ie.$mouseleave_header_dropdown&&Ie.$mouseleave_header_dropdown(...ie)),onMouseenter:Ce[11]||(Ce[11]=(...ie)=>Ie.$mouseenter_header_dropdown&&Ie.$mouseenter_header_dropdown(...ie)),"aria-hidden":"true",title:Te.d_words.tl_header+" (ctrl+h)"},[Object(c.createVNode)(c.Transition,{name:"fade",persisted:""},{default:Object(c.withCtx)(()=>[Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)(["op-header popup-dropdown",{transition:Te.transition}]),onMouseenter:Ce[8]||(Ce[8]=(...ie)=>Ie.$mouseenter_header_dropdown&&Ie.$mouseenter_header_dropdown(...ie)),onMouseleave:Ce[9]||(Ce[9]=(...ie)=>Ie.$mouseleave_header_dropdown&&Ie.$mouseleave_header_dropdown(...ie))},[Object(c.createElementVNode)("div",{title:"#",class:"dropdown-item",onClick:Ce[2]||(Ce[2]=Object(c.withModifiers)(ie=>Ie.$click_header("header1"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_one),1)]),Object(c.createElementVNode)("div",{title:"## ",class:"dropdown-item",onClick:Ce[3]||(Ce[3]=Object(c.withModifiers)(ie=>Ie.$click_header("header2"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_two),1)]),Object(c.createElementVNode)("div",{title:"### ",class:"dropdown-item",onClick:Ce[4]||(Ce[4]=Object(c.withModifiers)(ie=>Ie.$click_header("header3"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_three),1)]),Object(c.createElementVNode)("div",{title:"#### ",class:"dropdown-item",onClick:Ce[5]||(Ce[5]=Object(c.withModifiers)(ie=>Ie.$click_header("header4"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_four),1)]),Object(c.createElementVNode)("div",{title:"##### ",class:"dropdown-item",onClick:Ce[6]||(Ce[6]=Object(c.withModifiers)(ie=>Ie.$click_header("header5"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_five),1)]),Object(c.createElementVNode)("div",{title:"###### ",class:"dropdown-item",onClick:Ce[7]||(Ce[7]=Object(c.withModifiers)(ie=>Ie.$click_header("header6"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_header_six),1)])],34),[[c.vShow,Vt.s_header_dropdown_open]])]),_:1})],42,v)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.header||Te.toolbars.italic||Te.toolbars.bold?(Object(c.openBlock)(),Object(c.createElementBlock)("span",g)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.underline?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:4,disabled:!Te.editable,type:"button",onClick:Ce[12]||(Ce[12]=ie=>Ie.$clicks("underline")),class:"op-icon fa fa-mavon-underline",title:Te.d_words.tl_underline+" (ctrl+u)","aria-hidden":"true"},null,8,y)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.strikethrough?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:5,disabled:!Te.editable,type:"button",onClick:Ce[13]||(Ce[13]=ie=>Ie.$clicks("strikethrough")),class:"op-icon fa fa-mavon-strikethrough",title:Te.d_words.tl_strikethrough+" (ctrl+shift+d)","aria-hidden":"true"},null,8,b)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.mark?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:6,disabled:!Te.editable,type:"button",onClick:Ce[14]||(Ce[14]=ie=>Ie.$clicks("mark")),class:"op-icon fa fa-mavon-thumb-tack",title:Te.d_words.tl_mark+" (ctrl+m)","aria-hidden":"true"},null,8,w)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.superscript?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:7,disabled:!Te.editable,type:"button",onClick:Ce[15]||(Ce[15]=ie=>Ie.$clicks("superscript")),class:"op-icon fa fa-mavon-superscript","aria-hidden":"true",title:Te.d_words.tl_superscript+" (ctrl+alt+s)"},null,8,k)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.subscript?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:8,disabled:!Te.editable,type:"button",onClick:Ce[16]||(Ce[16]=ie=>Ie.$clicks("subscript")),class:"op-icon fa fa-mavon-subscript","aria-hidden":"true",title:Te.d_words.tl_subscript+" (ctrl+shift+s)"},null,8,$)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.alignleft?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:9,disabled:!Te.editable,type:"button",onClick:Ce[17]||(Ce[17]=ie=>Ie.$clicks("alignleft")),class:"op-icon fa fa-mavon-align-left","aria-hidden":"true",title:Te.d_words.tl_alignleft+" (ctrl+l)"},null,8,S)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.aligncenter?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:10,disabled:!Te.editable,type:"button",onClick:Ce[18]||(Ce[18]=ie=>Ie.$clicks("aligncenter")),class:"op-icon fa fa-mavon-align-center","aria-hidden":"true",title:Te.d_words.tl_aligncenter+" (ctrl+e)"},null,8,C)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.alignright?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:11,disabled:!Te.editable,type:"button",onClick:Ce[19]||(Ce[19]=ie=>Ie.$clicks("alignright")),class:"op-icon fa fa-mavon-align-right","aria-hidden":"true",title:Te.d_words.tl_alignright+" (ctrl+r)"},null,8,E)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.superscript||Te.toolbars.subscript||Te.toolbars.underline||Te.toolbars.strikethrough||Te.toolbars.mark?(Object(c.openBlock)(),Object(c.createElementBlock)("span",D)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.quote?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:13,disabled:!Te.editable,type:"button",onClick:Ce[20]||(Ce[20]=ie=>Ie.$clicks("quote")),class:"op-icon fa fa-mavon-quote-left","aria-hidden":"true",title:Te.d_words.tl_quote+" (ctrl+q)"},null,8,A)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.ol?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:14,disabled:!Te.editable,type:"button",onClick:Ce[21]||(Ce[21]=ie=>Ie.$clicks("ol")),class:"op-icon fa fa-mavon-list-ol","aria-hidden":"true",title:Te.d_words.tl_ol+" (ctrl+o)"},null,8,O)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.ul?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:15,disabled:!Te.editable,type:"button",onClick:Ce[22]||(Ce[22]=ie=>Ie.$clicks("ul")),class:"op-icon fa fa-mavon-list-ul","aria-hidden":"true",title:Te.d_words.tl_ul+" (ctrl+alt+u)"},null,8,F)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.ul||Te.toolbars.ol||Te.toolbars.quote?(Object(c.openBlock)(),Object(c.createElementBlock)("span",B)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.link?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:17,disabled:!Te.editable,type:"button",onClick:Ce[23]||(Ce[23]=Object(c.withModifiers)(ie=>Ie.$toggle_imgLinkAdd("link"),["stop"])),class:"op-icon fa fa-mavon-link","aria-hidden":"true",title:Te.d_words.tl_link+" (ctrl+l)"},null,8,I)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.imagelink?(Object(c.openBlock)(),Object(c.createElementBlock)("div",{key:18,disabled:!Te.editable,class:Object(c.normalizeClass)([{selected:Vt.s_img_dropdown_open},"op-icon fa fa-mavon-picture-o dropdown dropdown-wrapper"]),type:"button",onMouseleave:Ce[28]||(Ce[28]=(...ie)=>Ie.$mouseleave_img_dropdown&&Ie.$mouseleave_img_dropdown(...ie)),onMouseenter:Ce[29]||(Ce[29]=(...ie)=>Ie.$mouseenter_img_dropdown&&Ie.$mouseenter_img_dropdown(...ie)),"aria-hidden":"true"},[Object(c.createVNode)(c.Transition,{name:"fade",persisted:""},{default:Object(c.withCtx)(()=>[Object(c.withDirectives)(Object(c.createElementVNode)("div",{class:Object(c.normalizeClass)(["op-image popup-dropdown",{transition:Te.transition}]),onMouseleave:Ce[26]||(Ce[26]=(...ie)=>Ie.$mouseleave_img_dropdown&&Ie.$mouseleave_img_dropdown(...ie)),onMouseenter:Ce[27]||(Ce[27]=(...ie)=>Ie.$mouseenter_img_dropdown&&Ie.$mouseenter_img_dropdown(...ie))},[Object(c.createElementVNode)("div",{class:"dropdown-item",onClick:Ce[24]||(Ce[24]=Object(c.withModifiers)(ie=>Ie.$toggle_imgLinkAdd("imagelink"),["stop"]))},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(Te.d_words.tl_image),1)]),Object(c.createElementVNode)("div",z,[Object(c.createElementVNode)("input",{type:"file",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",onChange:Ce[25]||(Ce[25]=ie=>Ie.$imgAdd(ie)),multiple:"multiple"},null,32),Object(c.createTextVNode)(Object(c.toDisplayString)(Te.d_words.tl_upload),1)]),(Object(c.openBlock)(!0),Object(c.createElementBlock)(c.Fragment,null,Object(c.renderList)(Vt.img_file,(ie,de)=>(Object(c.openBlock)(),Object(c.createElementBlock)(c.Fragment,{key:de},[ie&&ie[1]?(Object(c.openBlock)(),Object(c.createElementBlock)("div",{key:0,class:"dropdown-item dropdown-images",title:ie[1].name,onClick:Object(c.withModifiers)(Fe=>Ie.$imgFileListClick(de),["stop"])},[Object(c.createElementVNode)("span",null,Object(c.toDisplayString)(ie[1].name),1),Object(c.createElementVNode)("button",{type:"button",onClick:Object(c.withModifiers)(Fe=>Ie.$imgDel(de),["stop"]),class:"op-icon fa fa-mavon-times","aria-hidden":"true",title:Te.d_words.tl_upload_remove},null,8,H),Object(c.createCommentVNode)(" 缩略图展示 "),Object(c.createElementVNode)("img",{class:Object(c.normalizeClass)(["image-show",{transition:Te.transition}]),src:ie[1].miniurl,alt:"none"},null,10,Q)],8,q)):Object(c.createCommentVNode)("v-if",!0)],64))),128))],34),[[c.vShow,Vt.s_img_dropdown_open]])]),_:1})],42,M)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.code?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:19,disabled:!Te.editable,type:"button",onClick:Ce[30]||(Ce[30]=ie=>Ie.$clicks("code")),class:"op-icon fa fa-mavon-code","aria-hidden":"true",title:Te.d_words.tl_code+" (ctrl+alt+c)"},null,8,j)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.table?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:20,disabled:!Te.editable,type:"button",onClick:Ce[31]||(Ce[31]=ie=>Ie.$clicks("table")),class:"op-icon fa fa-mavon-table","aria-hidden":"true",title:Te.d_words.tl_table+" (ctrl+alt+t)"},null,8,ee)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.link||Te.toolbars.imagelink||Te.toolbars.code||Te.toolbars.table?(Object(c.openBlock)(),Object(c.createElementBlock)("span",G)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.undo?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:22,type:"button",onClick:Ce[32]||(Ce[32]=ie=>Ie.$clicks("undo")),class:"op-icon fa fa-mavon-undo","aria-hidden":"true",title:Te.d_words.tl_undo+" (ctrl+z)"},null,8,J)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.redo?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:23,type:"button",onClick:Ce[33]||(Ce[33]=ie=>Ie.$clicks("redo")),class:"op-icon fa fa-mavon-repeat","aria-hidden":"true",title:Te.d_words.tl_redo+" (ctrl+y)"},null,8,te)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.trash?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:24,type:"button",onClick:Ce[34]||(Ce[34]=ie=>Ie.$clicks("trash")),class:"op-icon fa fa-mavon-trash-o","aria-hidden":"true",title:Te.d_words.tl_trash+" (ctrl+breakspace)"},null,8,re)):Object(c.createCommentVNode)("v-if",!0),Te.toolbars.save?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:25,type:"button",onClick:Ce[35]||(Ce[35]=ie=>Ie.$clicks("save")),class:"op-icon fa fa-mavon-floppy-o","aria-hidden":"true",title:Te.d_words.tl_save+" (ctrl+s)"},null,8,ae)):Object(c.createCommentVNode)("v-if",!0),Object(c.renderSlot)(ue.$slots,"left-toolbar-after",{},void 0,!0),Object(c.createCommentVNode)(" 添加image链接 "),Object(c.createVNode)(c.Transition,{name:"fade"},{default:Object(c.withCtx)(()=>[Vt.s_img_link_open?(Object(c.openBlock)(),Object(c.createElementBlock)("div",ye,[Object(c.createElementVNode)("div",ve,[Object(c.createElementVNode)("i",{onClick:Ce[36]||(Ce[36]=Object(c.withModifiers)(ie=>Vt.s_img_link_open=!1,["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(c.createElementVNode)("h3",le,Object(c.toDisplayString)(Vt.link_type=="link"?Te.d_words.tl_popup_link_title:Te.d_words.tl_popup_img_link_title),1),Object(c.createElementVNode)("div",Se,[Object(c.withDirectives)(Object(c.createElementVNode)("input",{ref:"linkTextInput",type:"text","onUpdate:modelValue":Ce[37]||(Ce[37]=ie=>Vt.link_text=ie),placeholder:Vt.link_type=="link"?Te.d_words.tl_popup_link_text:Te.d_words.tl_popup_img_link_text},null,8,De),[[c.vModelText,Vt.link_text]])]),Object(c.createElementVNode)("div",At,[Object(c.withDirectives)(Object(c.createElementVNode)("input",{type:"text","onUpdate:modelValue":Ce[38]||(Ce[38]=ie=>Vt.link_addr=ie),placeholder:Vt.link_type=="link"?Te.d_words.tl_popup_link_addr:Te.d_words.tl_popup_img_link_addr},null,8,Le),[[c.vModelText,Vt.link_addr]])]),Object(c.createElementVNode)("div",{class:"op-btn cancel",onClick:Ce[39]||(Ce[39]=Object(c.withModifiers)(ie=>Vt.s_img_link_open=!1,["stop"]))},Object(c.toDisplayString)(Te.d_words.tl_popup_link_cancel),1),Object(c.createElementVNode)("div",{class:"op-btn sure",onClick:Ce[40]||(Ce[40]=Object(c.withModifiers)(ie=>Ie.$imgLinkAdd(),["stop"]))},Object(c.toDisplayString)(Te.d_words.tl_popup_link_sure),1)])])):Object(c.createCommentVNode)("v-if",!0)]),_:1})])}},function(a,i,u){u.d(i,"a",function(){return D});var c=u(0);const d={class:"v-right-item"},m=["title"],f=["title"],v=["title"],g=["title"],y=["title"],b=["title"],w=["title"],k=["title"],$={key:8,class:"op-icon-divider"},S=["title"],C=["title"],E=["title"];function D(A,O,F,B,I,M){return Object(c.openBlock)(),Object(c.createElementBlock)("div",d,[Object(c.renderSlot)(A.$slots,"right-toolbar-before"),F.toolbars.navigation?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:0,type:"button",onClick:O[0]||(O[0]=z=>M.$clicks("navigation")),class:"op-icon fa fa-mavon-bars","aria-hidden":"true",title:F.d_words.tl_navigation_on+" (F8)"},null,8,m)),[[c.vShow,!F.s_navigation]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.navigation?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:1,type:"button",onClick:O[1]||(O[1]=z=>M.$clicks("navigation")),class:"op-icon fa fa-mavon-bars selected","aria-hidden":"true",title:F.d_words.tl_navigation_off+" (F8)"},null,8,f)),[[c.vShow,F.s_navigation]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.preview?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:2,type:"button",onClick:O[2]||(O[2]=z=>M.$clicks("preview")),class:"op-icon fa fa-mavon-eye-slash selected","aria-hidden":"true",title:F.d_words.tl_edit+" (F9)"},null,8,v)),[[c.vShow,F.s_preview_switch]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.preview?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:3,type:"button",onClick:O[3]||(O[3]=z=>M.$clicks("preview")),class:"op-icon fa fa-mavon-eye","aria-hidden":"true",title:F.d_words.tl_preview+" (F9)"},null,8,g)),[[c.vShow,!F.s_preview_switch]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.fullscreen?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:4,type:"button",onClick:O[4]||(O[4]=z=>M.$clicks("fullscreen")),class:"op-icon fa fa-mavon-arrows-alt",title:F.d_words.tl_fullscreen_on+" (F10)","aria-hidden":"true"},null,8,y)),[[c.vShow,!F.s_fullScreen]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.fullscreen?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:5,type:"button",onClick:O[5]||(O[5]=z=>M.$clicks("fullscreen")),class:"op-icon fa fa-mavon-compress selected",title:F.d_words.tl_fullscreen_off+" (F10)","aria-hidden":"true"},null,8,b)),[[c.vShow,F.s_fullScreen]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.readmodel?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:6,type:"button",onClick:O[6]||(O[6]=z=>M.$clicks("read")),class:"op-icon fa fa-mavon-window-maximize","aria-hidden":"true",title:F.d_words.tl_read+" (F11)"},null,8,w)):Object(c.createCommentVNode)("v-if",!0),F.toolbars.subfield?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:7,type:"button",onClick:O[7]||(O[7]=z=>M.$clicks("subfield")),class:Object(c.normalizeClass)(["op-icon fa fa-mavon-columns",{selected:F.s_subfield}]),"aria-hidden":"true",title:(F.s_subfield?F.d_words.tl_single_column:F.d_words.tl_double_column)+" (F12)"},null,10,k)):Object(c.createCommentVNode)("v-if",!0),F.toolbars.help&&F.toolbars.htmlcode&&F.toolbars.readmodel&&F.toolbars.fullscreen&&F.toolbars.subfield&&F.toolbars.navigation?(Object(c.openBlock)(),Object(c.createElementBlock)("span",$)):Object(c.createCommentVNode)("v-if",!0),F.toolbars.htmlcode?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:9,type:"button",onClick:O[8]||(O[8]=z=>M.$clicks("html")),class:"op-icon fa fa-mavon-code",title:F.d_words.tl_html_on,"aria-hidden":"true"},null,8,S)),[[c.vShow,!F.s_html_code]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.htmlcode?Object(c.withDirectives)((Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:10,type:"button",onClick:O[9]||(O[9]=z=>M.$clicks("html")),class:"op-icon fa fa-mavon-code selected",title:F.d_words.tl_html_off,"aria-hidden":"true"},null,8,C)),[[c.vShow,F.s_html_code]]):Object(c.createCommentVNode)("v-if",!0),F.toolbars.help?(Object(c.openBlock)(),Object(c.createElementBlock)("button",{key:11,type:"button",onClick:O[10]||(O[10]=z=>M.$clicks("help")),class:"op-icon fa fa-mavon-question-circle",style:{"font-size":"17px",padding:"5px 6px 5px 3px"},title:F.d_words.tl_help,"aria-hidden":"true"},null,8,E)):Object(c.createCommentVNode)("v-if",!0),Object(c.renderSlot)(A.$slots,"right-toolbar-after")])}},function(a,i,u){u.d(i,"a",function(){return f});var c=u(0);const d=Object(c.createElementVNode)("br",null,null,-1),m=["autofocus","placeholder"];function f(v,g,y,b,w,k){return Object(c.openBlock)(),Object(c.createElementBlock)("div",{style:Object(c.normalizeStyle)({fontSize:y.fontSize,lineHeight:y.lineHeight,height:y.fullHeight?"100%":"auto"}),class:"auto-textarea-wrapper"},[Object(c.createElementVNode)("pre",{style:Object(c.normalizeStyle)({fontSize:y.fontSize,lineHeight:y.lineHeight,minHeight:y.fullHeight?"100%":"auto"}),class:"auto-textarea-block"},[d,Object(c.createTextVNode)(Object(c.toDisplayString)(w.temp_value)+" ",1)],4),Object(c.withDirectives)(Object(c.createElementVNode)("textarea",{ref:"vTextarea",autofocus:w.s_autofocus,onKeyup:g[0]||(g[0]=(...$)=>k.change&&k.change(...$)),spellcheck:"false",placeholder:y.placeholder,"onUpdate:modelValue":g[1]||(g[1]=$=>w.temp_value=$),style:Object(c.normalizeStyle)({fontSize:y.fontSize,lineHeight:y.lineHeight}),class:Object(c.normalizeClass)([{"no-border":!y.border,"no-resize":!y.resize},"auto-textarea-input"])},`\r
`,46,m),[[c.vModelText,w.temp_value]])],4)}},function(a,i,u){var c=u(80).default,d={markdownIt:c.mixins[0].data().markdownIt,mavonEditor:c,LeftToolbar:u(70).default,RightToolbar:u(72).default,install:function(m){m.component("mavon-editor",c)}};a.exports=d},function(a,i,u){u.r(i);var c=u(75),d=u(21);for(var m in d)["default"].indexOf(m)<0&&function(g){u.d(i,g,function(){return d[g]})}(m);u(219),u(221);var f=u(3);const v=u.n(f)()(d.default,[["render",c.a],["__scopeId","data-v-33c11741"]]);i.default=v},function(a,i,u){a.exports={default:u(82),__esModule:!0}},function(a,i,u){u(83),u(95),a.exports=u(35).f("iterator")},function(a,i,u){var c=u(84)(!0);u(45)(String,"String",function(d){this._t=String(d),this._i=0},function(){var d,m=this._t,f=this._i;return f>=m.length?{value:void 0,done:!0}:(d=c(m,f),this._i+=d.length,{value:d,done:!1})})},function(a,i,u){var c=u(26),d=u(27);a.exports=function(m){return function(f,v){var g,y,b=String(d(f)),w=c(v),k=b.length;return w<0||w>=k?m?"":void 0:(g=b.charCodeAt(w))<55296||g>56319||w+1===k||(y=b.charCodeAt(w+1))<56320||y>57343?m?b.charAt(w):g:m?b.slice(w,w+2):y-56320+(g-55296<<10)+65536}}},function(a,i,u){var c=u(86);a.exports=function(d,m,f){if(c(d),m===void 0)return d;switch(f){case 1:return function(v){return d.call(m,v)};case 2:return function(v,g){return d.call(m,v,g)};case 3:return function(v,g,y){return d.call(m,v,g,y)}}return function(){return d.apply(m,arguments)}}},function(a,i){a.exports=function(u){if(typeof u!="function")throw TypeError(u+" is not a function!");return u}},function(a,i,u){var c=u(50),d=u(16),m=u(34),f={};u(5)(f,u(9)("iterator"),function(){return this}),a.exports=function(v,g,y){v.prototype=c(f,{next:d(1,y)}),m(v,g+" Iterator")}},function(a,i,u){var c=u(6),d=u(14),m=u(30);a.exports=u(7)?Object.defineProperties:function(f,v){d(f);for(var g,y=m(v),b=y.length,w=0;b>w;)c.f(f,g=y[w++],v[g]);return f}},function(a,i,u){var c=u(52);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(d){return c(d)=="String"?d.split(""):Object(d)}},function(a,i,u){var c=u(8),d=u(91),m=u(92);a.exports=function(f){return function(v,g,y){var b,w=c(v),k=d(w.length),$=m(y,k);if(f&&g!=g){for(;k>$;)if((b=w[$++])!=b)return!0}else for(;k>$;$++)if((f||$ in w)&&w[$]===g)return f||$||0;return!f&&-1}}},function(a,i,u){var c=u(26),d=Math.min;a.exports=function(m){return m>0?d(c(m),9007199254740991):0}},function(a,i,u){var c=u(26),d=Math.max,m=Math.min;a.exports=function(f,v){return(f=c(f))<0?d(f+v,0):m(f,v)}},function(a,i,u){var c=u(2).document;a.exports=c&&c.documentElement},function(a,i,u){var c=u(4),d=u(53),m=u(31)("IE_PROTO"),f=Object.prototype;a.exports=Object.getPrototypeOf||function(v){return v=d(v),c(v,m)?v[m]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?f:null}},function(a,i,u){u(96);for(var c=u(2),d=u(5),m=u(29),f=u(9)("toStringTag"),v="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),g=0;g<v.length;g++){var y=v[g],b=c[y],w=b&&b.prototype;w&&!w[f]&&d(w,f,y),m[y]=m.Array}},function(a,i,u){var c=u(97),d=u(98),m=u(29),f=u(8);a.exports=u(45)(Array,"Array",function(v,g){this._t=f(v),this._i=0,this._k=g},function(){var v=this._t,g=this._k,y=this._i++;return!v||y>=v.length?(this._t=void 0,d(1)):d(0,g=="keys"?y:g=="values"?v[y]:[y,v[y]])},"values"),m.Arguments=m.Array,c("keys"),c("values"),c("entries")},function(a,i){a.exports=function(){}},function(a,i){a.exports=function(u,c){return{value:c,done:!!u}}},function(a,i,u){a.exports={default:u(100),__esModule:!0}},function(a,i,u){u(101),u(107),u(108),u(109),a.exports=u(13).Symbol},function(a,i,u){var c=u(2),d=u(4),m=u(7),f=u(46),v=u(49),g=u(102).KEY,y=u(15),b=u(32),w=u(34),k=u(17),$=u(9),S=u(35),C=u(36),E=u(103),D=u(104),A=u(14),O=u(10),F=u(53),B=u(8),I=u(28),M=u(16),z=u(50),q=u(105),H=u(106),Q=u(54),j=u(6),ee=u(30),G=H.f,J=j.f,te=q.f,re=c.Symbol,ae=c.JSON,ye=ae&&ae.stringify,ve=$("_hidden"),le=$("toPrimitive"),Se={}.propertyIsEnumerable,De=b("symbol-registry"),At=b("symbols"),Le=b("op-symbols"),ke=Object.prototype,ue=typeof re=="function"&&!!Q.f,Ce=c.QObject,Te=!Ce||!Ce.prototype||!Ce.prototype.findChild,Pe=m&&y(function(){return z(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a!=7})?function($t,xt,Kt){var ln=G(ke,xt);ln&&delete ke[xt],J($t,xt,Kt),ln&&$t!==ke&&J(ke,xt,ln)}:J,Vt=function($t){var xt=At[$t]=z(re.prototype);return xt._k=$t,xt},Ie=ue&&typeof re.iterator=="symbol"?function($t){return typeof $t=="symbol"}:function($t){return $t instanceof re},ie=function($t,xt,Kt){return $t===ke&&ie(Le,xt,Kt),A($t),xt=I(xt,!0),A(Kt),d(At,xt)?(Kt.enumerable?(d($t,ve)&&$t[ve][xt]&&($t[ve][xt]=!1),Kt=z(Kt,{enumerable:M(0,!1)})):(d($t,ve)||J($t,ve,M(1,{})),$t[ve][xt]=!0),Pe($t,xt,Kt)):J($t,xt,Kt)},de=function($t,xt){A($t);for(var Kt,ln=E(xt=B(xt)),hn=0,kt=ln.length;kt>hn;)ie($t,Kt=ln[hn++],xt[Kt]);return $t},Fe=function($t){var xt=Se.call(this,$t=I($t,!0));return!(this===ke&&d(At,$t)&&!d(Le,$t))&&(!(xt||!d(this,$t)||!d(At,$t)||d(this,ve)&&this[ve][$t])||xt)},We=function($t,xt){if($t=B($t),xt=I(xt,!0),$t!==ke||!d(At,xt)||d(Le,xt)){var Kt=G($t,xt);return!Kt||!d(At,xt)||d($t,ve)&&$t[ve][xt]||(Kt.enumerable=!0),Kt}},wt=function($t){for(var xt,Kt=te(B($t)),ln=[],hn=0;Kt.length>hn;)d(At,xt=Kt[hn++])||xt==ve||xt==g||ln.push(xt);return ln},jt=function($t){for(var xt,Kt=$t===ke,ln=te(Kt?Le:B($t)),hn=[],kt=0;ln.length>kt;)!d(At,xt=ln[kt++])||Kt&&!d(ke,xt)||hn.push(At[xt]);return hn};ue||(v((re=function(){if(this instanceof re)throw TypeError("Symbol is not a constructor!");var $t=k(arguments.length>0?arguments[0]:void 0),xt=function(Kt){this===ke&&xt.call(Le,Kt),d(this,ve)&&d(this[ve],$t)&&(this[ve][$t]=!1),Pe(this,$t,M(1,Kt))};return m&&Te&&Pe(ke,$t,{configurable:!0,set:xt}),Vt($t)}).prototype,"toString",function(){return this._k}),H.f=We,j.f=ie,u(55).f=q.f=wt,u(37).f=Fe,Q.f=jt,m&&!u(12)&&v(ke,"propertyIsEnumerable",Fe,!0),S.f=function($t){return Vt($($t))}),f(f.G+f.W+f.F*!ue,{Symbol:re});for(var Ut="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Tt=0;Ut.length>Tt;)$(Ut[Tt++]);for(var Ft=ee($.store),St=0;Ft.length>St;)C(Ft[St++]);f(f.S+f.F*!ue,"Symbol",{for:function($t){return d(De,$t+="")?De[$t]:De[$t]=re($t)},keyFor:function($t){if(!Ie($t))throw TypeError($t+" is not a symbol!");for(var xt in De)if(De[xt]===$t)return xt},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),f(f.S+f.F*!ue,"Object",{create:function($t,xt){return xt===void 0?z($t):de(z($t),xt)},defineProperty:ie,defineProperties:de,getOwnPropertyDescriptor:We,getOwnPropertyNames:wt,getOwnPropertySymbols:jt});var Wt=y(function(){Q.f(1)});f(f.S+f.F*Wt,"Object",{getOwnPropertySymbols:function($t){return Q.f(F($t))}}),ae&&f(f.S+f.F*(!ue||y(function(){var $t=re();return ye([$t])!="[null]"||ye({a:$t})!="{}"||ye(Object($t))!="{}"})),"JSON",{stringify:function($t){for(var xt,Kt,ln=[$t],hn=1;arguments.length>hn;)ln.push(arguments[hn++]);if(Kt=xt=ln[1],(O(xt)||$t!==void 0)&&!Ie($t))return D(xt)||(xt=function(kt,Et){if(typeof Kt=="function"&&(Et=Kt.call(this,kt,Et)),!Ie(Et))return Et}),ln[1]=xt,ye.apply(ae,ln)}}),re.prototype[le]||u(5)(re.prototype,le,re.prototype.valueOf),w(re,"Symbol"),w(Math,"Math",!0),w(c.JSON,"JSON",!0)},function(a,i,u){var c=u(17)("meta"),d=u(10),m=u(4),f=u(6).f,v=0,g=Object.isExtensible||function(){return!0},y=!u(15)(function(){return g(Object.preventExtensions({}))}),b=function(k){f(k,c,{value:{i:"O"+ ++v,w:{}}})},w=a.exports={KEY:c,NEED:!1,fastKey:function(k,$){if(!d(k))return typeof k=="symbol"?k:(typeof k=="string"?"S":"P")+k;if(!m(k,c)){if(!g(k))return"F";if(!$)return"E";b(k)}return k[c].i},getWeak:function(k,$){if(!m(k,c)){if(!g(k))return!0;if(!$)return!1;b(k)}return k[c].w},onFreeze:function(k){return y&&w.NEED&&g(k)&&!m(k,c)&&b(k),k}}},function(a,i,u){var c=u(30),d=u(54),m=u(37);a.exports=function(f){var v=c(f),g=d.f;if(g)for(var y,b=g(f),w=m.f,k=0;b.length>k;)w.call(f,y=b[k++])&&v.push(y);return v}},function(a,i,u){var c=u(52);a.exports=Array.isArray||function(d){return c(d)=="Array"}},function(a,i,u){var c=u(8),d=u(55).f,m={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];a.exports.f=function(v){return f&&m.call(v)=="[object Window]"?function(g){try{return d(g)}catch{return f.slice()}}(v):d(c(v))}},function(a,i,u){var c=u(37),d=u(16),m=u(8),f=u(28),v=u(4),g=u(47),y=Object.getOwnPropertyDescriptor;i.f=u(7)?y:function(b,w){if(b=m(b),w=f(w,!0),g)try{return y(b,w)}catch{}if(v(b,w))return d(!c.f.call(b,w),b[w])}},function(a,i){},function(a,i,u){u(36)("asyncIterator")},function(a,i,u){u(36)("observable")},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0});var c=119,d=120,m=121,f=122,v=123,g=66,y=73,b=72,w=85,k=68,$=77,S=81,C=79,E=76,D=83,A=90,O=89,F=67,B=84,I=82,M=8,z=9,q=13,H=97,Q=98,j=99,ee=100,G=101,J=102,te=49,re=50,ae=51,ye=52,ve=53,le=54;i.keydownListen=function(Se){Se.shortCut&&Se.$el.addEventListener("keydown",function(De){if(De.ctrlKey||De.metaKey||De.altKey||De.shiftKey)if(!De.ctrlKey&&!De.metaKey||De.altKey||De.shiftKey){if((De.ctrlKey||De.metaKey)&&De.altKey&&!De.shiftKey)switch(De.keyCode){case D:De.preventDefault(),Se.toolbar_left_click("superscript");break;case w:De.preventDefault(),Se.toolbar_left_click("ul");break;case E:De.preventDefault(),Se.toolbar_left_click("imagelink");break;case F:De.preventDefault(),Se.toolbar_left_click("code");break;case B:De.preventDefault(),Se.toolbar_left_click("table")}else if((De.ctrlKey||De.metaKey)&&De.shiftKey&&!De.altKey)switch(De.keyCode){case D:De.preventDefault(),Se.toolbar_left_click("subscript");break;case k:De.preventDefault(),Se.toolbar_left_click("strikethrough");break;case E:De.preventDefault(),Se.toolbar_left_click("alignleft");break;case I:De.preventDefault(),Se.toolbar_left_click("alignright");break;case F:De.preventDefault(),Se.toolbar_left_click("aligncenter")}else if(!De.ctrlKey&&!De.metaKey&&De.shiftKey&&!De.altKey)switch(De.keyCode){case z:Se.$refs.toolbar_left.s_img_link_open||(De.preventDefault(),Se.unInsertTab())}}else switch(De.keyCode){case g:De.preventDefault(),Se.toolbar_left_click("bold");break;case y:De.preventDefault(),Se.toolbar_left_click("italic");break;case b:De.preventDefault(),Se.toolbar_left_click("header");break;case w:De.preventDefault(),Se.toolbar_left_click("underline");break;case k:De.preventDefault(),Se.toolbar_left_click("removeLine");break;case $:De.preventDefault(),Se.toolbar_left_click("mark");break;case S:De.preventDefault(),Se.toolbar_left_click("quote");break;case C:De.preventDefault(),Se.toolbar_left_click("ol");break;case E:De.preventDefault(),Se.toolbar_left_click("link");break;case D:De.preventDefault(),Se.toolbar_left_click("save");break;case A:De.preventDefault(),Se.toolbar_left_click("undo");break;case O:De.preventDefault(),Se.toolbar_left_click("redo");break;case M:De.preventDefault(),Se.toolbar_left_click("trash");break;case H:De.preventDefault(),Se.toolbar_left_click("header1");break;case Q:De.preventDefault(),Se.toolbar_left_click("header2");break;case j:De.preventDefault(),Se.toolbar_left_click("header3");break;case ee:De.preventDefault(),Se.toolbar_left_click("header4");break;case G:De.preventDefault(),Se.toolbar_left_click("header5");break;case J:De.preventDefault(),Se.toolbar_left_click("header6");break;case te:De.preventDefault(),Se.toolbar_left_click("header1");break;case re:De.preventDefault(),Se.toolbar_left_click("header2");break;case ae:De.preventDefault(),Se.toolbar_left_click("header3");break;case ye:De.preventDefault(),Se.toolbar_left_click("header4");break;case ve:De.preventDefault(),Se.toolbar_left_click("header5");break;case le:De.preventDefault(),Se.toolbar_left_click("header6")}else switch(De.keyCode){case c:Se.toolbars.navigation&&(De.preventDefault(),Se.toolbar_right_click("navigation"));break;case d:Se.toolbars.preview&&(De.preventDefault(),Se.toolbar_right_click("preview"));break;case m:Se.toolbars.fullscreen&&(De.preventDefault(),Se.toolbar_right_click("fullscreen"));break;case f:Se.toolbars.readmodel&&(De.preventDefault(),Se.toolbar_right_click("read"));break;case v:Se.toolbars.subfield&&(De.preventDefault(),Se.toolbar_right_click("subfield"));break;case z:Se.$refs.toolbar_left.s_img_link_open||(De.preventDefault(),Se.insertTab());break;case q:Se.$refs.toolbar_left.s_img_link_open?(De.preventDefault(),Se.$refs.toolbar_left.$imgLinkAdd()):Se.insertEnter(De)}})}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default={agate:1,androidstudio:1,"arduino-light":1,arta:1,ascetic:1,"atom-one-dark":1,"atom-one-light":1,"brown-paper":1,"codepen-embed":1,"color-brewer":1,dark:1,default:1,docco:1,far:1,foundation:1,github:1,googlecode:1,grayscale:1,hybrid:1,idea:1,"ir-black":1,magula:1,"mono-blue":1,"monokai-sublime":1,monokai:1,obsidian:1,"paraiso-dark":1,"paraiso-light":1,pojoaque:1,purebasic:1,rainbow:1,routeros:1,"school-book":1,sunburst:1,"tomorrow-night-blue":1,"tomorrow-night-bright":1,vs:1,vs2015:1,xcode:1,xt256:1,"a11y-dark":1,"a11y-light":1,"an-old-hope":1,"atom-one-dark-reasonable":1,"brown-pap":1,devibeans:1,"github-dark":1,"github-dark-dimmed":1,gml:1,"gradient-dark":1,"gradient-light":1,"isbl-editor-dark":1,"isbl-editor-light":1,"kimbie-dark":1,"kimbie-light":1,lightfair:1,lioshi:1,"night-owl":1,"nnfx-dark":1,"nnfx-light":1,nord:1,pojo:1,"qtcreator-dark":1,"qtcreator-light":1,"shades-of-purple":1,srcery:1,"stackoverflow-dark":1,"stackoverflow-light":1}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0});var c,d=u(25),m=(c=d)&&c.__esModule?c:{default:c};i.p_ObjectCopy_DEEP=function f(v,g){for(var y in g){var b=(0,m.default)(g[y]);!v[y]||b!=="Object"&&b!=="object"?v[y]=g[y]:v[y]=f(v[y],g[y])}return v},i.p_urlParse=function(){var f=window.location.search,v={},g=f.match(/[?&][^?&]+=[^?&]+/g);return g&&g.forEach(function(y){var b=y.substring(1).split("="),w=decodeURIComponent(b[0]),k=decodeURIComponent(b[1]);v[w]=k}),v},i.stopEvent=function(f){f&&(f.preventDefault&&f.preventDefault(),f.stopPropagation&&f.stopPropagation())}},function(a,i,u){function c(w){w.d_history_index>0&&w.d_history_index--,w.$nextTick(function(){var k=w.textarea_selectionEnds[w.d_history_index];w.getTextareaDom().selectionStart=k,w.getTextareaDom().selectionEnd=k}),w.getTextareaDom().focus()}function d(w){w.d_history_index<w.d_history.length-1&&w.d_history_index++,w.$nextTick(function(){var k=w.textarea_selectionEnds[w.d_history_index];w.getTextareaDom().selectionStart=k,w.getTextareaDom().selectionEnd=k}),w.getTextareaDom().focus()}function m(w){w.d_value="",w.getTextareaDom().focus()}function f(w){w.save(w.d_value,w.d_render)}function v(w){w.insertOl()}function g(w){w.insertUl()}function y(w){w.removeLine()}function b(w){w.insertCodeBlock()}Object.defineProperty(i,"__esModule",{value:!0}),i.toolbar_left_addlink=function(w,k,$,S){var C={prefix:w==="link"?"["+k+"](":"!["+k+"](",subfix:")",str:$};S.insertText(S.getTextareaDom(),C)},i.toolbar_left_click=function(w,k){var $={bold:{prefix:"**",subfix:"**",str:k.d_words.tl_bold},italic:{prefix:"*",subfix:"*",str:k.d_words.tl_italic},header:{prefix:"# ",subfix:"",str:k.d_words.tl_header},header1:{prefix:"# ",subfix:"",str:k.d_words.tl_header_one},header2:{prefix:"## ",subfix:"",str:k.d_words.tl_header_two},header3:{prefix:"### ",subfix:"",str:k.d_words.tl_header_three},header4:{prefix:"#### ",subfix:"",str:k.d_words.tl_header_four},header5:{prefix:"##### ",subfix:"",str:k.d_words.tl_header_five},header6:{prefix:"###### ",subfix:"",str:k.d_words.tl_header_six},underline:{prefix:"++",subfix:"++",str:k.d_words.tl_underline},strikethrough:{prefix:"~~",subfix:"~~",str:k.d_words.tl_strikethrough},mark:{prefix:"==",subfix:"==",str:k.d_words.tl_mark},superscript:{prefix:"^",subfix:"^",str:k.d_words.tl_superscript},subscript:{prefix:"~",subfix:"~",str:k.d_words.tl_subscript},quote:{prefix:"> ",subfix:"",str:k.d_words.tl_quote},link:{prefix:"[](",subfix:")",str:k.d_words.tl_link},imagelink:{prefix:"![](",subfix:")",str:k.d_words.tl_image},table:{prefix:"",subfix:"",str:`|column1|column2|column3|
|-|-|-|
|content1|content2|content3|
`},aligncenter:{prefix:`::: hljs-center
`,subfix:`
:::
`,str:k.d_words.tl_aligncenter},alignright:{prefix:`::: hljs-right
`,subfix:`
:::
`,str:k.d_words.tl_alignright},alignleft:{prefix:`::: hljs-left
`,subfix:`
:::
`,str:k.d_words.tl_alignleft}};$.hasOwnProperty(w)&&k.insertText(k.getTextareaDom(),$[w]);var S={undo:c,redo:d,trash:m,save:f,ol:v,ul:g,removeLine:y,code:b};S.hasOwnProperty(w)&&S[w](k)}},function(a,i,u){function c(b){b.s_html_code=!b.s_html_code,b.htmlcode&&b.htmlcode(b.s_html_code,b.d_value)}function d(b){b.s_help=!b.s_help,b.helptoggle&&b.helptoggle(b.s_help,b.d_value)}function m(b){var w=b.$refs.vReadModel;w.requestFullscreen?w.requestFullscreen():w.mozRequestFullScreen?w.mozRequestFullScreen():w.webkitRequestFullscreen?w.webkitRequestFullscreen():w.msRequestFullscreen&&w.msRequestFullscreen()}function f(b){b.s_preview_switch=!b.s_preview_switch,b.previewtoggle&&b.previewtoggle(b.s_preview_switch,b.d_value)}function v(b){b.s_fullScreen=!b.s_fullScreen,b.fullscreen&&b.fullscreen(b.s_fullScreen,b.d_value)}function g(b){b.s_subfield=!b.s_subfield,b.s_preview_switch=b.s_subfield,b.previewtoggle&&b.previewtoggle(b.s_preview_switch,b.d_value),b.subfieldtoggle&&b.subfieldtoggle(b.s_subfield,b.d_value)}function y(b){b.s_navigation=!b.s_navigation,b.s_navigation&&(b.s_preview_switch=!0),b.navigationtoggle&&b.navigationtoggle(b.s_navigation,b.d_value),b.s_navigation&&b.getNavigation(b,!1)}Object.defineProperty(i,"__esModule",{value:!0}),i.toolbar_right_click=function(b,w){var k={help:d,html:c,read:m,preview:f,fullscreen:v,navigation:y,subfield:g};k.hasOwnProperty(b)&&k[b](w)}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.CONFIG=void 0;var c=O(u(116)),d=O(u(117)),m=O(u(118)),f=O(u(119)),v=O(u(120)),g=O(u(121)),y=O(u(122)),b=O(u(123)),w=O(u(124)),k=O(u(125)),$=O(u(126)),S=O(u(127)),C=O(u(128)),E=O(u(129)),D=O(u(130)),A=O(u(131));function O(F){return F&&F.__esModule?F:{default:F}}i.CONFIG={"help_zh-CN":c.default,"help_zh-TW":d.default,"help_pt-BR":v.default,help_en:m.default,help_fr:f.default,help_ru:g.default,help_de:y.default,help_ja:b.default,"words_zh-CN":w.default,"words_zh-TW":k.default,"words_pt-BR":C.default,words_en:$.default,words_fr:S.default,words_ru:E.default,words_de:D.default,words_ja:A.default,langList:["en","zh-CN","zh-TW","fr","pt-BR","ru","de","ja"],toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,mark:!0,superscript:!0,subscript:!0,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!0,code:!0,table:!0,undo:!0,redo:!0,trash:!0,save:!0,alignleft:!0,aligncenter:!0,alignright:!0,navigation:!0,subfield:!0,fullscreen:!0,readmodel:!0,htmlcode:!0,help:!0,preview:!0}}},function(a,i){a.exports=`@[toc](目录)\r
\r
Markdown 语法简介\r
=============\r
> [语法详解](http://commonmark.org/help/)\r
\r
## **目录**\r
\`\`\`\r
@[toc](目录)\r
\`\`\`\r
\r
## **粗体**\r
\`\`\`\r
**粗体**\r
__粗体__\r
\`\`\`\r
## *斜体*\r
\`\`\`\r
*斜体*\r
_斜体_\r
\`\`\`\r
## 标题\r
\`\`\`\r
# 一级标题 #\r
一级标题\r
====\r
## 二级标题 ##\r
二级标题\r
----\r
### 三级标题 ###\r
#### 四级标题 ####\r
##### 五级标题 #####\r
###### 六级标题 ######\r
\`\`\`\r
## 分割线\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上^角~下~标\r
\`\`\`\r
上角标 x^2^\r
下角标 H~2~0\r
\`\`\`\r
## ++下划线++ ~~中划线~~\r
\`\`\`\r
++下划线++\r
~~中划线~~\r
\`\`\`\r
## ==标记==\r
\`\`\`\r
==标记==\r
\`\`\`\r
## 段落引用\r
\`\`\`\r
> 一级\r
>> 二级\r
>>> 三级\r
...\r
\`\`\`\r
\r
## 列表\r
\`\`\`\r
有序列表\r
1.\r
2.\r
3.\r
...\r
无序列表\r
-\r
-\r
...\r
\`\`\`\r
\r
## 任务列表\r
\r
- [x] 已完成任务\r
- [ ] 未完成任务\r
\r
\`\`\`\r
- [x] 已完成任务\r
- [ ] 未完成任务\r
\`\`\`\r
\r
## 链接\r
\`\`\`\r
[链接](www.baidu.com)\r
![图片描述](http://www.image.com)\r
\`\`\`\r
## 代码段落\r
\\\`\`\` type\r
\r
代码段落\r
\r
\\\`\`\`\r
\r
\\\` 代码块 \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
## 表格(table)\r
\`\`\`\r
| 标题1 | 标题2 | 标题3 |\r
| :-- | :--: | ----: |\r
| 左对齐 | 居中 | 右对齐 |\r
| ---------------------- | ------------- | ----------------- |\r
\`\`\`\r
| 标题1 | 标题2 | 标题3 |\r
| :-- | :--: | ----: |\r
| 左对齐 | 居中 | 右对齐 |\r
| ---------------------- | ------------- | ----------------- |\r
## 脚注(footnote)\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
见底部脚注[^hello]\r
\r
[^hello]: 一个注脚\r
\r
## 表情(emoji)\r
[参考网站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$公式\r
\r
我们可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r
我们也可以单行渲染\r
$$\\sum_{i=1}^n a_i=0$$\r
具体可参照[katex文档](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函数](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文档](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## 布局\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`居左\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`居中\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`居右\`\r
\`:::\`\r
:::\r
\r
## 定义\r
\r
术语一\r
\r
: 定义一\r
\r
包含有*行内标记*的术语二\r
\r
: 定义二\r
\r
{一些定义二的文字或代码}\r
\r
定义二的第三段\r
\r
\`\`\`\r
术语一\r
\r
: 定义一\r
\r
包含有*行内标记*的术语二\r
\r
: 定义二\r
\r
{一些定义二的文字或代码}\r
\r
定义二的第三段\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 规范由 W3C 维护\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 规范由 W3C 维护\r
\`\`\`\r
\r
`},function(a,i){a.exports=`@[toc](目錄)\r
\r
Markdown 語法簡介\r
=============\r
> [語法詳解](http://commonmark.org/help/)\r
\r
## **粗體**\r
\`\`\`\r
**粗體**\r
__粗體__\r
\`\`\`\r
## *斜體*\r
\`\`\`\r
*斜體*\r
_斜體_\r
\`\`\`\r
## 標題\r
\`\`\`\r
# 一級標題 #\r
一級標題\r
====\r
## 二級標題 ##\r
二級標題\r
----\r
### 三級標題 ###\r
#### 四級標題 ####\r
##### 五級標題 #####\r
###### 六級標題 ######\r
\`\`\`\r
## 分割線\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上^角~下~標\r
\`\`\`\r
上角標 x^2^\r
下角標 H~2~0\r
\`\`\`\r
## ++下劃線++ ~~中劃線~~\r
\`\`\`\r
++下劃線++\r
~~中劃線~~\r
\`\`\`\r
## ==標記==\r
\`\`\`\r
==標記==\r
\`\`\`\r
## 段落引用\r
\`\`\`\r
> 一級\r
>> 二級\r
>>> 三級\r
...\r
\`\`\`\r
\r
## 列表\r
\`\`\`\r
有序列表\r
1.\r
2.\r
3.\r
...\r
無序列表\r
-\r
-\r
...\r
\`\`\`\r
\r
## 任務列表\r
\r
- [x] 已完成任務\r
- [ ] 未完成任務\r
\r
\`\`\`\r
- [x] 已完成任務\r
- [ ] 未完成任務\r
\`\`\`\r
\r
## 鏈接\r
\`\`\`\r
[鏈接](www.baidu.com)\r
![圖片描述](http://www.image.com)\r
\`\`\`\r
## 代碼段落\r
\\\`\`\` type\r
\r
代碼段落\r
\r
\\\`\`\`\r
\r
\\\` 代碼塊 \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
## 表格(table)\r
\`\`\`\r
| 標題1 | 標題2 | 標題3 |\r
| :-- | :--: | ----: |\r
| 左對齊 | 居中 | 右對齊 |\r
| ---------------------- | ------------- | ----------------- |\r
\`\`\`\r
| 標題1 | 標題2 | 標題3 |\r
| :-- | :--: | ----: |\r
| 左對齊 | 居中 | 右對齊 |\r
| ---------------------- | ------------- | ----------------- |\r
## 腳註(footnote)\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
見底部腳註[^hello]\r
\r
[^hello]: 一個註腳\r
\r
## 表情(emoji)\r
[參考網站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$公式\r
\r
我們可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r
我們也可以單行渲染\r
$$\\sum_{i=1}^n a_i=0$$\r
具體可參照[katex文檔](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函數](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文檔](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## 布局\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`居左\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`居中\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`居右\`\r
\`:::\`\r
:::\r
\r
## 定義\r
\r
術語一\r
\r
: 定義一\r
\r
包含有*行內標記*的術語二\r
\r
: 定義二\r
\r
{一些定義二的文字或代碼}\r
\r
定義二的第三段\r
\r
\`\`\`\r
術語一\r
\r
: 定義一\r
\r
包含有*行內標記*的術語二\r
\r
: 定義二\r
\r
{一些定義二的文字或代碼}\r
\r
定義二的第三段\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 規範由 W3C 維護\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 規範由 W3C 維護\r
\`\`\`\r
\r
`},function(a,i){a.exports=`@[toc](Catalog)\r
\r
Markdown Guide\r
===\r
> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Bold**\r
\`\`\`\r
**bold**\r
__bold__\r
\`\`\`\r
## *Italic*\r
\`\`\`\r
*italic*\r
_italic_\r
\`\`\`\r
## Header\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Dividing line\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Super^script & ~Sub~script\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Underline++ & ~~Strikethrough~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==Mark==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## Quote\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## List\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo List\r
\r
- [x] task 1\r
- [ ] task 2\r
\r
\`\`\`\r
- [x] task 1\r
- [ ] task 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Table\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
## Footnote\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## Emojis\r
Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## deflist\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(a,i){a.exports=`@[toc](Catalogue)\r
\r
Guide Markdown\r
==============\r
> Détail : [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Bold**\r
\`\`\`\r
**bold**\r
__bold__\r
\`\`\`\r
## *Italic*\r
\`\`\`\r
*italic*\r
_italic_\r
\`\`\`\r
## Header\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Dividing line\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Super^script & ~Sub~script\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Underline++ & ~~Strikethrough~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==Mark==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## Quote\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## List\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
## Link\r
\r
## Todo List\r
\r
- [x] Équipe 1\r
- [ ] Équipe 2\r
\r
\`\`\`\r
- [x] Équipe 1\r
- [ ] Équipe 2\r
\`\`\`\r
\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Table\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
## Footnote\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## Emojis\r
Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## deflist\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(a,i){a.exports=`@[toc](Directory)\r
\r
Guia Markdown\r
===\r
> Detalhes: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Negrito**\r
\`\`\`\r
**negrito**\r
__negrito__\r
\`\`\`\r
## *Itálico*\r
\`\`\`\r
*itálico*\r
_itálico_\r
\`\`\`\r
## Cabeçalho\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Linha Divisora\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Sobre^scrito & ~Sub~scrito\r
\`\`\`\r
sobre x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Sublinhar++ & ~~Tachar~~\r
\`\`\`\r
++sublinhar++\r
~~tachar~~\r
\`\`\`\r
## ==Marcador==\r
\`\`\`\r
==marcador==\r
\`\`\`\r
## Citação\r
\r
\`\`\`\r
> citação 1\r
>> citação 2\r
>>> citação 3\r
...\r
\`\`\`\r
\r
## Listas\r
\`\`\`\r
lista Numerada\r
1.\r
2.\r
3.\r
...\r
\r
lista com marcadores\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo Listas\r
\r
- [x] Tarefa 1\r
- [ ] Tarefa 2\r
\r
\`\`\`\r
- [x] Tarefa 1\r
- [ ] Tarefa 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Link Texto\r
[Text](www.baidu.com)\r
\r
Link Imagem\r
![Text](http://www.image.com)\r
\`\`\`\r
## Código\r
\\\`\`\` tipo\r
\r
bloco de código\r
\r
\\\`\`\`\r
\r
\\\` código \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Tabela\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| esquerda | centro | direita |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| esquerda | centro | direita |\r
| ---------------------- | ------------- | ----------------- |\r
## Rodapé\r
\`\`\`\r
olá[^olá]\r
\`\`\`\r
\r
Olhe para baixo[^olá]\r
\r
[^olá]: rodapé\r
\r
## Emojis\r
Detalhes: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
Podemos mostrar fórmulas por exemplo$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
Podemos também mostrar em uma única linha:\r
$$\\sum_{i=1}^n a_i=0$$\r
Detalhes: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`esquerda\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`centro\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`direita\`\r
\`:::\`\r
:::\r
\r
## Definições\r
\r
Termo 1\r
\r
: Definição 1\r
\r
Termo 2 com *markup inline*\r
\r
: Definição 2\r
\r
{ um pouco de código, parte da Definição 2 }\r
\r
Terceiro parágrafo da definição 2.\r
\r
\`\`\`\r
Termo 1\r
\r
: Definição 1\r
\r
Termo 2 com *markup inline*\r
\r
: Definição 2\r
\r
{ um pouco de código, parte da Definição 2 }\r
\r
Terceiro parágrafo da definição 2.\r
\r
\`\`\`\r
\r
## Abreviações\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
A especificação HTML\r
é mantida pela W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
é mantida pela W3C.\r
\`\`\`\r
`},function(a,i){a.exports=`@[toc](Catalog) \r
\r
Markdown помощь \r
=== \r
> Подробнее: [http://commonmark.org/help/](http://commonmark.org/help/) \r
\r
## **Полужирный** \r
\`\`\` \r
**Полужирный** \r
__Полужирный__ \r
\`\`\` \r
## *Курсив* \r
\`\`\` \r
*Курсив* \r
_Курсив_ \r
\`\`\` \r
## Заголовок \r
\`\`\` \r
# h1 # \r
h1 \r
==== \r
## h2 ## \r
h2 \r
---- \r
### h3 ### \r
#### h4 #### \r
##### h5 ##### \r
###### h6 ###### \r
\`\`\` \r
## Разделительная линия \r
\`\`\` \r
*** \r
--- \r
\`\`\` \r
**** \r
## ^Верхний^индекс & ~Нижний~индекс \r
\`\`\` \r
верхний x^2^ \r
нижний H~2~0 \r
\`\`\` \r
## ++Подчеркнутый++ & ~~Зачеркнутый~~ \r
\`\`\` \r
++Подчеркнутый++ \r
~~Зачеркнутый~~ \r
\`\`\` \r
## ==Отметка== \r
\`\`\` \r
==Отметка== \r
\`\`\` \r
## Цитата \r
\r
\`\`\` \r
> Цитата \r
>> Цитата 2 \r
>>> Цитата 3 \r
... \r
\`\`\` \r
\r
## Список \r
\`\`\` \r
ol \r
1. \r
2. \r
3. \r
... \r
\r
ul \r
- \r
- \r
... \r
\`\`\` \r
\r
## Список задач \r
\r
- [x] Задача 1 \r
- [ ] Задача 2 \r
\r
\`\`\` \r
- [x] Задача 1 \r
- [ ] Задача 2 \r
\`\`\` \r
\r
## Ссылка \r
\`\`\` \r
Ссылка \r
[Текст](www.baidu.com) \r
\r
Ссылка изображения \r
![Текст](http://www.image.com) \r
\`\`\` \r
## Код \r
\\\`\`\` type \r
\r
code block \r
\r
\\\`\`\` \r
\r
\\\` code \\\` \r
\r
\`\`\`c++ \r
int main() \r
{ \r
printf("hello world!");} \r
\`\`\` \r
\`code\` \r
\r
## Таблица \r
\`\`\` \r
| th1 | th2 | th3 | \r
| :-- | :--: | ----: | \r
| left | center | right | \r
\`\`\` \r
| th1 | th2 | th3 | \r
| :-- | :--: | ----: | \r
| left | center | right | \r
| ---------------------- | ------------- | ----------------- | \r
## Сноска \r
\`\`\` \r
Привет[^Привет] \r
\`\`\` \r
\r
Тут что-то непонятное[^Привет] \r
\r
[^Привет]: А тут объяснение \r
\r
## Emojis \r
Подробнее: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) \r
\`\`\` \r
:laughing: \r
:blush: \r
:smiley: \r
:) \r
... \r
\`\`\` \r
:laughing::blush::smiley::) \r
\r
## $\\KaTeX$ Mathematics \r
\r
Можно выводить такие формулы:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r
А также в одну строку:\r
$$\\sum_{i=1}^n a_i=0$$ \r
Подробнее: \r
- [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)\r
- [katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)\r
- [latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) \r
\r
## Разметка\r
\r
::: hljs-left \r
\`::: hljs-left\` \r
\`left\` \r
\`:::\` \r
::: \r
\r
::: hljs-center \r
\`::: hljs-center\` \r
\`center\` \r
\`:::\` \r
::: \r
\r
::: hljs-right \r
\`::: hljs-right\` \r
\`right\` \r
\`:::\` \r
::: \r
\r
## Список определений\r
\r
Термин 1 \r
\r
: Определение 1 \r
\r
Термин 2 с использованием *разметки*\r
\r
: Определение 2 \r
\r
{ Какой-нибудь код, часть определения 2 } \r
Третий параграф определения 2. \r
\`\`\` \r
Термин 1 \r
\r
: Определение 1 \r
\r
Термин 2 с использованием *разметки*\r
\r
: Определение 2 \r
\r
{ Какой-нибудь код, часть определения 2 } \r
Третий параграф определения 2. \r
\`\`\` \r
\r
## Сокращения\r
*[HTML]: Hyper Text Markup Language \r
*[W3C]: World Wide Web Consortium \r
The HTML specification \r
is maintained by the W3C. \r
\`\`\` \r
*[HTML]: Hyper Text Markup Language \r
*[W3C]: World Wide Web Consortium \r
The HTML specification \r
is maintained by the W3C. \r
\`\`\`\r
`},function(a,i){a.exports=`@[toc](Catalog)\r
\r
Markdown Handbuch\r
===\r
> Details: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Fett**\r
\`\`\`\r
**fett**\r
__fett__\r
\`\`\`\r
## *Kursiv*\r
\`\`\`\r
*kursiv*\r
_kursiv_\r
\`\`\`\r
## Überschriften\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Trennlinien\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Hoch^gestellt & ~Tief~gestellt\r
\`\`\`\r
hochgestellt x^2^\r
tiefgestellt H~2~0\r
\`\`\`\r
## ++Unterstrichen++ & ~~Durchgestrichen~~\r
\`\`\`\r
++unterstrichen++\r
~~durchgestrichen~~\r
\`\`\`\r
## ==Markiert==\r
\`\`\`\r
==markiert==\r
\`\`\`\r
## Zitat\r
\r
\`\`\`\r
> zitat 1\r
>> zitat 2\r
>>> zitat 3\r
...\r
\`\`\`\r
\r
## Liste\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo Liste\r
\r
- [x] aufgabe 1\r
- [ ] aufgabe 2\r
\r
\`\`\`\r
- [x] aufgabe 1\r
- [ ] aufgabe 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Link mit Bild\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` Typ\r
\r
Codeblock\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Tabelle\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| links | mitte | rechts |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| links | mitte | rechts |\r
| ---------------------- | ------------- | ----------------- |\r
## Fußnote\r
\`\`\`\r
hallo[^hallo]\r
\`\`\`\r
\r
Schau zum unteren Rand[^hallo]\r
\r
[^hallo]: fussnote\r
\r
## Emojis\r
Details: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematik\r
\r
Formeln lassen sich darstellen z.b. $x_i + y_i = z_i$ und $\\sum_{i=1}^n a_i=0$\r
Formeln können auf einer eigenen Zeile gerendert werden\r
$$\\sum_{i=1}^n a_i=0$$\r
Details: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`links\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`mitte\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`rechts\`\r
\`:::\`\r
:::\r
\r
## Liste von Definitionen\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 mit *inline markup*\r
\r
: Definition 2\r
\r
{ ein wenig code, teil von Definition 2 }\r
\r
Dritter Absatz von Definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 mit *inline markup*\r
\r
: Definition 2\r
\r
{ ein wenig code, teil von Definition 2 }\r
\r
Dritter Absatz von Definition 2.\r
\r
\`\`\`\r
\r
## Abkürzungen\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
Die HTML Spezifikation\r
wird gepflegt vom W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
Die HTML Spezifikation\r
wird gepflegt vom W3C.\r
\`\`\`\r
`},function(a,i){a.exports=`@[toc](目次)\r
\r
Markdown 文法ガイド\r
===\r
> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **太字**\r
\`\`\`\r
**太字**\r
__太字__\r
\`\`\`\r
## *斜体*\r
\`\`\`\r
*斜体*\r
_斜体_\r
\`\`\`\r
## 見出し\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## 横線\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上付き^文字 & ~下付き~文字\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++下線++ & ~~取り消し線~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==蛍光ペン==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## 引用\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## リスト\r
\`\`\`\r
番号付きリスト\r
1.\r
2.\r
3.\r
...\r
\r
箇条書きリスト\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todoリスト\r
\r
- [x] task 1\r
- [ ] task 2\r
\r
\`\`\`\r
- [x] task 1\r
- [ ] task 2\r
\`\`\`\r
\r
## リンク\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## コード\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## 表\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
\r
## 脚注\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## 絵文字\r
> Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ 数式\r
> Detailed: [KaTeXマニュアル](http://www.intmath.com/cg5/katex-mathjax-comparison.php)、[KaTeX function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)、[LaTeXマニュアル](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
\r
## レイアウト\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## 定義リスト\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(a){a.exports=JSON.parse('{"start_editor":"开始编辑...","navigation_title":"导航目录","tl_bold":"粗体","tl_italic":"斜体","tl_header":"标题","tl_header_one":"一级标题","tl_header_two":"二级标题","tl_header_three":"三级标题","tl_header_four":"四级标题","tl_header_five":"五级标题","tl_header_six":"六级标题","tl_underline":"下划线","tl_strikethrough":"中划线","tl_mark":"标记","tl_superscript":"上角标","tl_subscript":"下角标","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"无序列表","tl_link":"链接","tl_image":"添加图片链接","tl_code":"代码块","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"开启标题导航","tl_navigation_off":"关闭标题导航","tl_preview":"预览","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"编辑","tl_single_column":"单栏","tl_double_column":"双栏","tl_fullscreen_on":"全屏编辑","tl_fullscreen_off":"退出全屏","tl_read":"沉浸式阅读","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown语法帮助","tl_upload":"上传图片","tl_upload_remove":"删除","tl_popup_link_title":"添加链接","tl_popup_link_text":"链接描述","tl_popup_link_addr":"链接地址","tl_popup_img_link_title":"添加图片","tl_popup_img_link_text":"图片描述","tl_popup_img_link_addr":"图片链接","tl_popup_link_sure":"确定","tl_popup_link_cancel":"取消"}')},function(a){a.exports=JSON.parse('{"start_editor":"開始編輯...","navigation_title":"導航目錄","tl_bold":"粗體","tl_italic":"斜體","tl_header":"標題","tl_header_one":"一級標題","tl_header_two":"二級標題","tl_header_three":"三級標題","tl_header_four":"四級標題","tl_header_five":"五級標題","tl_header_six":"六級標題","tl_underline":"下劃線","tl_strikethrough":"中劃線","tl_mark":"標記","tl_superscript":"上角標","tl_subscript":"下角標","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"無序列表","tl_link":"鏈接","tl_image":"添加圖片鏈接","tl_code":"代碼塊","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"開啟標題導航","tl_navigation_off":"關閉標題導航","tl_preview":"預覽","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"編輯","tl_single_column":"單欄","tl_double_column":"雙欄","tl_fullscreen_on":"全屏編輯","tl_fullscreen_off":"退出全屏","tl_read":"沈浸式閱讀","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown語法幫助","tl_upload":"上傳圖片","tl_upload_remove":"刪除","tl_popup_link_title":"添加鏈接","tl_popup_link_text":"鏈接描述","tl_popup_link_addr":"鏈接地址","tl_popup_img_link_title":"添加圖片","tl_popup_img_link_text":"圖片描述","tl_popup_img_link_addr":"圖片鏈接","tl_popup_link_sure":"確定","tl_popup_link_cancel":"取消"}')},function(a){a.exports=JSON.parse('{"start_editor":"Begin editing...","navigation_title":"Navigation","tl_bold":"Bold","tl_italic":"Italic","tl_header":"Header","tl_header_one":"Header 1","tl_header_two":"Header 2","tl_header_three":"Header 3","tl_header_four":"Header 4","tl_header_five":"Header 5","tl_header_six":"Header 6","tl_underline":"Underline","tl_strikethrough":"Strikethrough","tl_mark":"Mark","tl_superscript":"Superscript","tl_subscript":"Subscript","tl_quote":"Quote","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Image Link","tl_code":"Code","tl_table":"Table","tl_undo":"Undo","tl_redo":"Redo","tl_trash":"Trash","tl_save":"Save","tl_navigation_on":"Navigation ON","tl_navigation_off":"Navigation OFF","tl_preview":"Preview","tl_aligncenter":"Center text","tl_alignleft":"Clamp text to the left","tl_alignright":"Clamp text to the right","tl_edit":"Edit","tl_single_column":"Single Column","tl_double_column":"Double Columns","tl_fullscreen_on":"FullScreen ON","tl_fullscreen_off":"FullScreen OFF","tl_read":"Read Model","tl_html_on":"HTML ON","tl_html_off":"HTML OFF","tl_help":"Markdown Guide","tl_upload":"Upload Images","tl_upload_remove":"Remove","tl_popup_link_title":"Add Link","tl_popup_link_text":"Link text","tl_popup_link_addr":"Link address","tl_popup_img_link_title":"Add Image","tl_popup_img_link_text":"Image Text","tl_popup_img_link_addr":"Image Link","tl_popup_link_sure":"Sure","tl_popup_link_cancel":"Cancel"}')},function(a){a.exports=JSON.parse(`{"start_editor":"Début d'édition...","navigation_title":"Navigation","tl_bold":"Gras","tl_italic":"Italique","tl_header":"Entête","tl_header_one":"Entête 1","tl_header_two":"Entête 2","tl_header_three":"Entête 3","tl_header_four":"Entête 4","tl_header_five":"Entête 5","tl_header_six":"Entête 6","tl_underline":"Souligné","tl_strikethrough":"Barré","tl_mark":"Mark","tl_superscript":"Exposant","tl_subscript":"Sous-exposant","tl_quote":"Quote","tl_ol":"Liste ","tl_ul":"Puce","tl_link":"Lien","tl_image":"Image Lien","tl_code":"Code","tl_table":"Table","tl_undo":"Annuler","tl_redo":"Refaire","tl_trash":"Supprimer","tl_save":"Sauver","tl_navigation_on":"Activer la navigation","tl_navigation_off":"Désactiver le navigation","tl_preview":"Previsualisé","tl_aligncenter":"Center le texte","tl_alignleft":"Férer le texte à gauche","tl_alignright":"Férer le texte à droite","tl_edit":"Editer","tl_single_column":"Seule Colonne","tl_double_column":"Colonnes Doubles","tl_fullscreen_on":"Activer le mode plein écran","tl_fullscreen_off":"Désactiver le mode plein écran","tl_read":"Lire le modèle","tl_html_on":"Activer le mode HTML","tl_html_off":"Désactiver le mode HTML","tl_help":"Guide Markdown","tl_upload":"Télécharger les images","tl_upload_remove":"Supprimer","tl_popup_link_title":"Ajouter un lien","tl_popup_link_text":"Description","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Ajouter une image","tl_popup_img_link_text":"Description","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"sûr","tl_popup_link_cancel":"Annuler"}`)},function(a){a.exports=JSON.parse('{"start_editor":"Começar edição...","navigation_title":"Navegação","tl_bold":"Negrito","tl_italic":"Itálico","tl_header":"Cabeçalho","tl_header_one":"Cabeçalho 1","tl_header_two":"Cabeçalho 2","tl_header_three":"Cabeçalho 3","tl_header_four":"Cabeçalho 4","tl_header_five":"Cabeçalho 5","tl_header_six":"Cabeçalho 6","tl_underline":"Sublinhar","tl_strikethrough":"Tachar","tl_mark":"Marcação","tl_superscript":"Sobrescrito","tl_subscript":"Subscrito","tl_quote":"Citação","tl_ol":"Lista Numerada","tl_ul":"Lista com marcadores","tl_link":"Link","tl_image":"Link de imagem","tl_code":"Código","tl_table":"Tabela","tl_undo":"Desfazer","tl_redo":"Refazer","tl_trash":"Lixo","tl_save":"Salvar","tl_navigation_on":"Mostrar Navegação","tl_navigation_off":"Esconder Navegação","tl_preview":"Preview","tl_aligncenter":"Alinhar no centro","tl_alignleft":"Alinhar à esquerda","tl_alignright":"Alinhar à direita","tl_edit":"Editar","tl_single_column":"Coluna Única","tl_double_column":"Duas Colunas","tl_fullscreen_on":"Ligar Tela Cheia","tl_fullscreen_off":"Desligar Tela Cheia","tl_read":"Modo de Leitura","tl_html_on":"Ligar HTML","tl_html_off":"Desligar HTML","tl_help":"Guia Markdown","tl_upload":"Upload de Imagens","tl_upload_remove":"Remover","tl_popup_link_title":"Adicionar Link","tl_popup_link_text":"Descrição","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Adicionar fotos","tl_popup_img_link_text":"Descrição","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"Confirmar","tl_popup_link_cancel":"Cancelar"}')},function(a){a.exports=JSON.parse('{"start_editor":"Начните редактирование...","navigation_title":"Навигация","tl_bold":"Полужирный","tl_italic":"Курсив","tl_header":"Заголовки","tl_header_one":"Заголовок 1","tl_header_two":"Заголовок 2","tl_header_three":"Заголовок 3","tl_header_four":"Заголовок 4","tl_header_five":"Заголовок 5","tl_header_six":"Заголовок 6","tl_underline":"Подчеркнутый","tl_strikethrough":"Зачеркнутый","tl_mark":"Отметка","tl_superscript":"Верхний индекс","tl_subscript":"Нижний индекс","tl_quote":"Цитата","tl_ol":"Нумерованный список","tl_ul":"Список","tl_link":"Ссылка","tl_image":"Ссылка изображения","tl_code":"Код","tl_table":"Таблица","tl_undo":"Отменить","tl_redo":"Вернуть","tl_trash":"Удалить","tl_save":"Сохранить","tl_navigation_on":"Показать навигацию","tl_navigation_off":"Скрыть навигацию","tl_preview":"Предпросмотр","tl_aligncenter":"Выровнять по центру","tl_alignleft":"Выровнять по левому краю","tl_alignright":"Выровнять по правому краю","tl_edit":"Редактор","tl_single_column":"Одно поле","tl_double_column":"Два поля","tl_fullscreen_on":"Полноэкранный режим","tl_fullscreen_off":"Выключить полноэкранный режим","tl_read":"Режим чтения","tl_html_on":"Показать HTML","tl_html_off":"Убрать HTML","tl_help":"Markdown помощь","tl_upload":"Загрузить изображение","tl_upload_remove":"Удалить","tl_popup_link_title":"Добавить ссылку","tl_popup_link_text":"Текст ссылки","tl_popup_link_addr":"Адрес ссылки","tl_popup_img_link_title":"Локальное изображение","tl_popup_img_link_text":"Текст изображения","tl_popup_img_link_addr":"Ссылка изображения","tl_popup_link_sure":"Добавить","tl_popup_link_cancel":"Отменить"}')},function(a){a.exports=JSON.parse('{"start_editor":"Bearbeitung beginnen...","navigation_title":"Navigation","tl_bold":"Fett","tl_italic":"Kursiv","tl_header":"Überschrift","tl_header_one":"Überschrift 1","tl_header_two":"Überschrift 2","tl_header_three":"Überschrift 3","tl_header_four":"Überschrift 4","tl_header_five":"Überschrift 5","tl_header_six":"Überschrift 6","tl_underline":"Unterstrichen","tl_strikethrough":"Durchgestrichen","tl_mark":"Markiert","tl_superscript":"Hochgestellt","tl_subscript":"Tiefgestellt","tl_quote":"Zitat","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Link mit Bild","tl_code":"Code","tl_table":"Tabelle","tl_undo":"Rückgängig","tl_redo":"Wiederherstellen","tl_trash":"Mülleimer","tl_save":"Speichern","tl_navigation_on":"Navigation AN","tl_navigation_off":"Navigation AUS","tl_preview":"Vorschau","tl_aligncenter":"Text zentrieren","tl_alignleft":"Nach links ausrichten","tl_alignright":"Nach rechts ausrichten","tl_edit":"Bearbeiten","tl_single_column":"Einspaltig","tl_double_column":"Zweispaltig","tl_fullscreen_on":"Vollbild AN","tl_fullscreen_off":"Vollbild AUS","tl_read":"Lesemodus","tl_html_on":"HTML AN","tl_html_off":"HTML AUS","tl_help":"Markdown Handbuch","tl_upload":"Bilder-Upload","tl_upload_remove":"Entfernen","tl_popup_link_title":"Link hinzufügen","tl_popup_link_text":"Text des Links","tl_popup_link_addr":"Linkziel","tl_popup_img_link_title":"Bild hinzufügen","tl_popup_img_link_text":"Text des Bildes","tl_popup_img_link_addr":"Link auf Bild","tl_popup_link_sure":"Ja","tl_popup_link_cancel":"Abbruch"}')},function(a){a.exports=JSON.parse('{"start_editor":"編集を始めてね!","navigation_title":"ナビゲーション","tl_bold":"太字","tl_italic":"斜体","tl_header":"見出し","tl_header_one":"見出し1","tl_header_two":"見出し2","tl_header_three":"見出し3","tl_header_four":"見出し4","tl_header_five":"見出し5","tl_header_six":"見出し6","tl_underline":"下線","tl_strikethrough":"取り消し線","tl_mark":"蛍光ペン","tl_superscript":"上付き文字","tl_subscript":"下付き文字","tl_quote":"引用","tl_ol":"番号付きリスト","tl_ul":"箇条書きリスト","tl_link":"ハイパーリンク","tl_image":"画像のリンク","tl_code":"コードの挿入","tl_table":"表の挿入","tl_undo":"戻る","tl_redo":"進む","tl_trash":"削除","tl_save":"保存","tl_navigation_on":"ナビゲーションを表示","tl_navigation_off":"ナビゲーションを非表示","tl_preview":"プレビュー","tl_aligncenter":"中央揃え","tl_alignleft":"左揃え","tl_alignright":"右揃え","tl_edit":"編集","tl_single_column":"一列","tl_double_column":"二列","tl_fullscreen_on":"全画面表示","tl_fullscreen_off":"全画面表示の終了","tl_read":"モデルの読み込み","tl_html_on":"HTMLで表示","tl_html_off":"HTML表示の終了","tl_help":"ヘルプ","tl_upload":"画像をアップロード","tl_upload_remove":"画像の削除","tl_popup_link_title":"リンクの追加","tl_popup_link_text":"リンクテキスト","tl_popup_link_addr":"リンク先のURL","tl_popup_img_link_title":"画像の追加","tl_popup_img_link_text":"画像タイトル","tl_popup_img_link_addr":"画像URL","tl_popup_link_sure":"OK","tl_popup_link_cancel":"戻る"}')},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0});var c=v(u(25));i.initMarkdown=Q;var d=v(u(56)),m=u(57),f=v(u(133));function v(j){return j&&j.__esModule?j:{default:j}}var g={html:!0,xhtmlOut:!0,breaks:!0,langPrefix:"lang-",linkify:!1,typographer:!0,quotes:"“”‘’"},y=u(138),b=u(195),w=u(201),k=u(202),$=u(203),S=u(204),C=u(205),E=u(206),D=u(207),A=u(208),O=u(209),F=u(210),B=u(211),I=u(212),M=u(213),z={},q=[],H={hljs:"auto",highlighted:!0,langCheck:function(j){j&&d.default[j]&&!z[j]&&(z[j]=1,q.push(d.default[j]))}};function Q(){var j=new y(g),ee=j.renderer.rules.link_open||function(G,J,te,re,ae){return ae.renderToken(G,J,te)};return j.renderer.rules.link_open=function(G,J,te,re,ae){var ye=G[J].attrIndex("href");if(G[J].attrs[ye][1].startsWith("#"))return ee(G,J,te,re,ae);var ve=G[J].attrIndex("target");return ve<0?G[J].attrPush(["target","_blank"]):G[J].attrs[ve][1]="_blank",ee(G,J,te,re,ae)},j.use(B,H).use(b).use(k).use(w).use(O).use(O,"hljs-left").use(O,"hljs-center").use(O,"hljs-right").use($).use(S).use(C).use(E).use(D).use(O).use(M).use(I).use(A).use(F),j}i.default={data:function(){return{markdownIt:null}},created:function(){this.markdownIt=Q(),this.html?(0,c.default)(this.xssOptions)==="object"&&this.markdownIt.use(f.default,this.xssOptions):(this.markdownIt.set({html:!1}),this.xssOptions=!1)},mounted:function(){H.highlighted=this.ishljs},methods:{$render:function(j,ee){z={},q=[];var G=this.markdownIt.render(j);this.ishljs&&q.length>0&&this.$_render(j,ee,G),ee(G)},$_render:function(j,ee,G){for(var J=0,te=0;te<q.length;te++){var re=this.p_external_link.hljs_lang(q[te]);(0,m.loadScript)(re,function(){(J+=1)===q.length&&(G=this.markdownIt.render(j),ee(G))})}}},watch:{ishljs:function(j){H.highlighted=j}}}},function(a,i,u){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(f,v){f.options.html&&(d=new c.FilterXSS(v),f.core.ruler.push("mavoneditor_sanitizer",m))};var c=u(134),d=void 0;function m(f){d&&function v(g,y){for(var b=void 0,w=void 0,k=0;k<g.length;k++)y.indexOf(g[k].type)!==-1&&(b=g[k].content,w=g[k].children,g[k].content=d.process(b),w&&w.length&&b!==g[k].content&&v(w,["html_inline"]))}(f.tokens,["inline","html_block"])}},function(a,i,u){var c=u(58),d=u(61),m=u(137);function f(v,g){return new m(g).process(v)}(i=a.exports=f).filterXSS=f,i.FilterXSS=m,function(){for(var v in c)i[v]=c[v];for(var g in d)i[g]=d[g]}(),typeof window<"u"&&(window.filterXSS=a.exports),typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=a.exports)},function(a,i,u){var c=u(59),d=u(136);u(60);function m(v){return v==null}function f(v){(v=function(g){var y={};for(var b in g)y[b]=g[b];return y}(v||{})).whiteList=v.whiteList||c.whiteList,v.onAttr=v.onAttr||c.onAttr,v.onIgnoreAttr=v.onIgnoreAttr||c.onIgnoreAttr,v.safeAttrValue=v.safeAttrValue||c.safeAttrValue,this.options=v}f.prototype.process=function(v){if(!(v=(v=v||"").toString()))return"";var g=this.options,y=g.whiteList,b=g.onAttr,w=g.onIgnoreAttr,k=g.safeAttrValue;return d(v,function($,S,C,E,D){var A=y[C],O=!1;if(A===!0?O=A:typeof A=="function"?O=A(E):A instanceof RegExp&&(O=A.test(E)),O!==!0&&(O=!1),E=k(C,E)){var F,B={position:S,sourcePosition:$,source:D,isWhite:O};return O?m(F=b(C,E,B))?C+":"+E:F:m(F=w(C,E,B))?void 0:F}})},a.exports=f},function(a,i,u){var c=u(60);a.exports=function(d,m){(d=c.trimRight(d))[d.length-1]!==";"&&(d+=";");var f=d.length,v=!1,g=0,y=0,b="";function w(){if(!v){var S=c.trim(d.slice(g,y)),C=S.indexOf(":");if(C!==-1){var E=c.trim(S.slice(0,C)),D=c.trim(S.slice(C+1));if(E){var A=m(g,b.length,E,D,S);A&&(b+=A+"; ")}}}g=y+1}for(;y<f;y++){var k=d[y];if(k==="/"&&d[y+1]==="*"){var $=d.indexOf("*/",y+2);if($===-1)break;g=(y=$+1)+1,v=!1}else k==="("?v=!0:k===")"?v=!1:k===";"?v||w():k===`
`&&w()}return c.trim(b)}},function(a,i,u){var c=u(38).FilterCSS,d=u(58),m=u(61),f=m.parseTag,v=m.parseAttr,g=u(39);function y(w){return w==null}function b(w){(w=function(k){var $={};for(var S in k)$[S]=k[S];return $}(w||{})).stripIgnoreTag&&(w.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),w.onIgnoreTag=d.onIgnoreTagStripAll),w.whiteList||w.allowList?w.whiteList=function(k){var $={};for(var S in k)Array.isArray(k[S])?$[S.toLowerCase()]=k[S].map(function(C){return C.toLowerCase()}):$[S.toLowerCase()]=k[S];return $}(w.whiteList||w.allowList):w.whiteList=d.whiteList,w.onTag=w.onTag||d.onTag,w.onTagAttr=w.onTagAttr||d.onTagAttr,w.onIgnoreTag=w.onIgnoreTag||d.onIgnoreTag,w.onIgnoreTagAttr=w.onIgnoreTagAttr||d.onIgnoreTagAttr,w.safeAttrValue=w.safeAttrValue||d.safeAttrValue,w.escapeHtml=w.escapeHtml||d.escapeHtml,this.options=w,w.css===!1?this.cssFilter=!1:(w.css=w.css||{},this.cssFilter=new c(w.css))}b.prototype.process=function(w){if(!(w=(w=w||"").toString()))return"";var k=this.options,$=k.whiteList,S=k.onTag,C=k.onIgnoreTag,E=k.onTagAttr,D=k.onIgnoreTagAttr,A=k.safeAttrValue,O=k.escapeHtml,F=this.cssFilter;k.stripBlankChar&&(w=d.stripBlankChar(w)),k.allowCommentTag||(w=d.stripCommentTag(w));var B=!1;k.stripIgnoreTagBody&&(B=d.StripTagBody(k.stripIgnoreTagBody,C),C=B.onIgnoreTag);var I=f(w,function(M,z,q,H,Q){var j={sourcePosition:M,position:z,isClosing:Q,isWhite:Object.prototype.hasOwnProperty.call($,q)},ee=S(q,H,j);if(!y(ee))return ee;if(j.isWhite){if(j.isClosing)return"</"+q+">";var G=function(re){var ae=g.spaceIndex(re);if(ae===-1)return{html:"",closing:re[re.length-2]==="/"};var ye=(re=g.trim(re.slice(ae+1,-1)))[re.length-1]==="/";return ye&&(re=g.trim(re.slice(0,-1))),{html:re,closing:ye}}(H),J=$[q],te=v(G.html,function(re,ae){var ye=g.indexOf(J,re)!==-1,ve=E(q,re,ae,ye);return y(ve)?ye?(ae=A(q,re,ae,F))?re+'="'+ae+'"':re:y(ve=D(q,re,ae,ye))?void 0:ve:ve});return H="<"+q,te&&(H+=" "+te),G.closing&&(H+=" /"),H+=">"}return y(ee=C(q,H,j))?O(H):ee},O);return B&&(I=B.remove(I)),I},a.exports=b},function(a,i,u){a.exports=u(139)},function(a,i,u){var c=u(1),d=u(147),m=u(151),f=u(152),v=u(160),g=u(174),y=u(187),b=u(63),w=u(189),k={default:u(192),zero:u(193),commonmark:u(194)},$=/^(vbscript|javascript|file|data):/,S=/^data:image\/(gif|png|jpeg|webp);/;function C(F){var B=F.trim().toLowerCase();return!$.test(B)||!!S.test(B)}var E=["http:","https:","mailto:"];function D(F){var B=b.parse(F,!0);if(B.hostname&&(!B.protocol||E.indexOf(B.protocol)>=0))try{B.hostname=w.toASCII(B.hostname)}catch{}return b.encode(b.format(B))}function A(F){var B=b.parse(F,!0);if(B.hostname&&(!B.protocol||E.indexOf(B.protocol)>=0))try{B.hostname=w.toUnicode(B.hostname)}catch{}return b.decode(b.format(B))}function O(F,B){if(!(this instanceof O))return new O(F,B);B||c.isString(F)||(B=F||{},F="default"),this.inline=new g,this.block=new v,this.core=new f,this.renderer=new m,this.linkify=new y,this.validateLink=C,this.normalizeLink=D,this.normalizeLinkText=A,this.utils=c,this.helpers=c.assign({},d),this.options={},this.configure(F),B&&this.set(B)}O.prototype.set=function(F){return c.assign(this.options,F),this},O.prototype.configure=function(F){var B,I=this;if(c.isString(F)&&!(F=k[B=F]))throw new Error('Wrong `markdown-it` preset "'+B+'", check name');if(!F)throw new Error("Wrong `markdown-it` preset, can't be empty");return F.options&&I.set(F.options),F.components&&Object.keys(F.components).forEach(function(M){F.components[M].rules&&I[M].ruler.enableOnly(F.components[M].rules),F.components[M].rules2&&I[M].ruler2.enableOnly(F.components[M].rules2)}),this},O.prototype.enable=function(F,B){var I=[];Array.isArray(F)||(F=[F]),["core","block","inline"].forEach(function(z){I=I.concat(this[z].ruler.enable(F,!0))},this),I=I.concat(this.inline.ruler2.enable(F,!0));var M=F.filter(function(z){return I.indexOf(z)<0});if(M.length&&!B)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+M);return this},O.prototype.disable=function(F,B){var I=[];Array.isArray(F)||(F=[F]),["core","block","inline"].forEach(function(z){I=I.concat(this[z].ruler.disable(F,!0))},this),I=I.concat(this.inline.ruler2.disable(F,!0));var M=F.filter(function(z){return I.indexOf(z)<0});if(M.length&&!B)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+M);return this},O.prototype.use=function(F){var B=[this].concat(Array.prototype.slice.call(arguments,1));return F.apply(F,B),this},O.prototype.parse=function(F,B){if(typeof F!="string")throw new Error("Input data should be a String");var I=new this.core.State(F,this,B);return this.core.process(I),I.tokens},O.prototype.render=function(F,B){return B=B||{},this.renderer.render(this.parse(F,B),this.options,B)},O.prototype.parseInline=function(F,B){var I=new this.core.State(F,this,B);return I.inlineMode=!0,this.core.process(I),I.tokens},O.prototype.renderInline=function(F,B){return B=B||{},this.renderer.render(this.parseInline(F,B),this.options,B)},a.exports=O},function(a){a.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"","backsim":"∽","backsimeq":"⋍","Backslash":"","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"","Bernoullis":"","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"","caps":"∩︀","caret":"","caron":"ˇ","Cayleys":"","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"","dd":"","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":"","emsp14":"","emsp":"","ENG":"Ŋ","eng":"ŋ","ensp":"","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"","Escr":"","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"","exponentiale":"","ExponentialE":"","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"","frown":"⌢","fscr":"𝒻","Fscr":"","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":"","half":"½","hamilt":"","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"","HilbertSpace":"","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"","hyphen":"","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"","Igrave":"Ì","igrave":"ì","ii":"","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"","ImaginaryI":"","imagline":"","imagpart":"","imath":"ı","Im":"","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"","lscr":"𝓁","Lscr":"","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"","lsquor":"","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":"","Mellintrf":"","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"","middot":"·","minusb":"⊟","minus":"","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":"","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"","ord":"⩝","order":"","orderof":"","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"","pointint":"⨕","popf":"𝕡","Popf":"","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"","Prime":"″","primes":"","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":"","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"","rationals":"","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"","realine":"","realpart":"","reals":"","Re":"","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"","rscr":"𝓇","Rscr":"","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"","rsquor":"","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"","setmn":"","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"","smashp":"⨳","smeparsl":"⧤","smid":"","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"","ThickSpace":"","ThinSpace":"","thinsp":"","thkap":"≈","thksim":"","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"","Vee":"","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":"","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(a,i,u){var c={};function d(m,f,v){var g,y,b,w,k,$="";for(typeof f!="string"&&(v=f,f=d.defaultChars),v===void 0&&(v=!0),k=function(S){var C,E,D=c[S];if(D)return D;for(D=c[S]=[],C=0;C<128;C++)E=String.fromCharCode(C),/^[0-9a-z]$/i.test(E)?D.push(E):D.push("%"+("0"+C.toString(16).toUpperCase()).slice(-2));for(C=0;C<S.length;C++)D[S.charCodeAt(C)]=S[C];return D}(f),g=0,y=m.length;g<y;g++)if(b=m.charCodeAt(g),v&&b===37&&g+2<y&&/^[0-9a-f]{2}$/i.test(m.slice(g+1,g+3)))$+=m.slice(g,g+3),g+=2;else if(b<128)$+=k[b];else if(b>=55296&&b<=57343){if(b>=55296&&b<=56319&&g+1<y&&(w=m.charCodeAt(g+1))>=56320&&w<=57343){$+=encodeURIComponent(m[g]+m[g+1]),g++;continue}$+="%EF%BF%BD"}else $+=encodeURIComponent(m[g]);return $}d.defaultChars=";/?:@&=+$,-_.!~*'()#",d.componentChars="-_.!~*'()",a.exports=d},function(a,i,u){var c={};function d(m,f){var v;return typeof f!="string"&&(f=d.defaultChars),v=function(g){var y,b,w=c[g];if(w)return w;for(w=c[g]=[],y=0;y<128;y++)b=String.fromCharCode(y),w.push(b);for(y=0;y<g.length;y++)w[b=g.charCodeAt(y)]="%"+("0"+b.toString(16).toUpperCase()).slice(-2);return w}(f),m.replace(/(%[a-f0-9]{2})+/gi,function(g){var y,b,w,k,$,S,C,E="";for(y=0,b=g.length;y<b;y+=3)(w=parseInt(g.slice(y+1,y+3),16))<128?E+=v[w]:(224&w)==192&&y+3<b&&(192&(k=parseInt(g.slice(y+4,y+6),16)))==128?(E+=(C=w<<6&1984|63&k)<128?"<22><>":String.fromCharCode(C),y+=3):(240&w)==224&&y+6<b&&(k=parseInt(g.slice(y+4,y+6),16),$=parseInt(g.slice(y+7,y+9),16),(192&k)==128&&(192&$)==128)?(E+=(C=w<<12&61440|k<<6&4032|63&$)<2048||C>=55296&&C<=57343?"<22><><EFBFBD>":String.fromCharCode(C),y+=6):(248&w)==240&&y+9<b&&(k=parseInt(g.slice(y+4,y+6),16),$=parseInt(g.slice(y+7,y+9),16),S=parseInt(g.slice(y+10,y+12),16),(192&k)==128&&(192&$)==128&&(192&S)==128)?((C=w<<18&1835008|k<<12&258048|$<<6&4032|63&S)<65536||C>1114111?E+="<22><><EFBFBD><EFBFBD>":(C-=65536,E+=String.fromCharCode(55296+(C>>10),56320+(1023&C))),y+=9):E+="<22>";return E})}d.defaultChars=";/?:@&=+$,#",d.componentChars="",a.exports=d},function(a,i,u){a.exports=function(c){var d="";return d+=c.protocol||"",d+=c.slashes?"//":"",d+=c.auth?c.auth+"@":"",c.hostname&&c.hostname.indexOf(":")!==-1?d+="["+c.hostname+"]":d+=c.hostname||"",d+=c.port?":"+c.port:"",d+=c.pathname||"",d+=c.search||"",d+=c.hash||""}},function(a,i,u){function c(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var d=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,v=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
`," "]),g=["'"].concat(v),y=["%","/","?",";","#"].concat(g),b=["/","?","#"],w=/^[+a-z0-9A-Z_-]{0,63}$/,k=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};c.prototype.parse=function(C,E){var D,A,O,F,B,I=C;if(I=I.trim(),!E&&C.split("#").length===1){var M=f.exec(I);if(M)return this.pathname=M[1],M[2]&&(this.search=M[2]),this}var z=d.exec(I);if(z&&(O=(z=z[0]).toLowerCase(),this.protocol=z,I=I.substr(z.length)),(E||z||I.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(B=I.substr(0,2)==="//")||z&&$[z]||(I=I.substr(2),this.slashes=!0)),!$[z]&&(B||z&&!S[z])){var q,H,Q=-1;for(D=0;D<b.length;D++)(F=I.indexOf(b[D]))!==-1&&(Q===-1||F<Q)&&(Q=F);for((H=Q===-1?I.lastIndexOf("@"):I.lastIndexOf("@",Q))!==-1&&(q=I.slice(0,H),I=I.slice(H+1),this.auth=q),Q=-1,D=0;D<y.length;D++)(F=I.indexOf(y[D]))!==-1&&(Q===-1||F<Q)&&(Q=F);Q===-1&&(Q=I.length),I[Q-1]===":"&&Q--;var j=I.slice(0,Q);I=I.slice(Q),this.parseHost(j),this.hostname=this.hostname||"";var ee=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ee){var G=this.hostname.split(/\./);for(D=0,A=G.length;D<A;D++){var J=G[D];if(J&&!J.match(w)){for(var te="",re=0,ae=J.length;re<ae;re++)J.charCodeAt(re)>127?te+="x":te+=J[re];if(!te.match(w)){var ye=G.slice(0,D),ve=G.slice(D+1),le=J.match(k);le&&(ye.push(le[1]),ve.unshift(le[2])),ve.length&&(I=ve.join(".")+I),this.hostname=ye.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),ee&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Se=I.indexOf("#");Se!==-1&&(this.hash=I.substr(Se),I=I.slice(0,Se));var De=I.indexOf("?");return De!==-1&&(this.search=I.substr(De),I=I.slice(0,De)),I&&(this.pathname=I),S[O]&&this.hostname&&!this.pathname&&(this.pathname=""),this},c.prototype.parseHost=function(C){var E=m.exec(C);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),C=C.substr(0,C.length-E.length)),C&&(this.hostname=C)},a.exports=function(C,E){if(C&&C instanceof c)return C;var D=new c;return D.parse(C,E),D}},function(a,i,u){i.Any=u(64),i.Cc=u(65),i.Cf=u(146),i.P=u(40),i.Z=u(66)},function(a,i){a.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(a,i,u){i.parseLinkLabel=u(148),i.parseLinkDestination=u(149),i.parseLinkTitle=u(150)},function(a,i,u){a.exports=function(c,d,m){var f,v,g,y,b=-1,w=c.posMax,k=c.pos;for(c.pos=d+1,f=1;c.pos<w;){if((g=c.src.charCodeAt(c.pos))===93&&--f===0){v=!0;break}if(y=c.pos,c.md.inline.skipToken(c),g===91){if(y===c.pos-1)f++;else if(m)return c.pos=k,-1}}return v&&(b=c.pos),c.pos=k,b}},function(a,i,u){var c=u(1).unescapeAll;a.exports=function(d,m,f){var v,g,y=m,b={ok:!1,pos:0,lines:0,str:""};if(d.charCodeAt(m)===60){for(m++;m<f;){if((v=d.charCodeAt(m))===10)return b;if(v===62)return b.pos=m+1,b.str=c(d.slice(y+1,m)),b.ok=!0,b;v===92&&m+1<f?m+=2:m++}return b}for(g=0;m<f&&(v=d.charCodeAt(m))!==32&&!(v<32||v===127);)if(v===92&&m+1<f)m+=2;else{if(v===40&&g++,v===41){if(g===0)break;g--}m++}return y===m||g!==0||(b.str=c(d.slice(y,m)),b.lines=0,b.pos=m,b.ok=!0),b}},function(a,i,u){var c=u(1).unescapeAll;a.exports=function(d,m,f){var v,g,y=0,b=m,w={ok:!1,pos:0,lines:0,str:""};if(m>=f||(g=d.charCodeAt(m))!==34&&g!==39&&g!==40)return w;for(m++,g===40&&(g=41);m<f;){if((v=d.charCodeAt(m))===g)return w.pos=m+1,w.lines=y,w.str=c(d.slice(b+1,m)),w.ok=!0,w;v===10?y++:v===92&&m+1<f&&(m++,d.charCodeAt(m)===10&&y++),m++}return w}},function(a,i,u){var c=u(1).assign,d=u(1).unescapeAll,m=u(1).escapeHtml,f={};function v(){this.rules=c({},f)}f.code_inline=function(g,y,b,w,k){var $=g[y];return"<code"+k.renderAttrs($)+">"+m(g[y].content)+"</code>"},f.code_block=function(g,y,b,w,k){var $=g[y];return"<pre"+k.renderAttrs($)+"><code>"+m(g[y].content)+`</code></pre>
`},f.fence=function(g,y,b,w,k){var $,S,C,E,D=g[y],A=D.info?d(D.info).trim():"",O="";return A&&(O=A.split(/\s+/g)[0]),($=b.highlight&&b.highlight(D.content,O)||m(D.content)).indexOf("<pre")===0?$+`
`:A?(S=D.attrIndex("class"),C=D.attrs?D.attrs.slice():[],S<0?C.push(["class",b.langPrefix+O]):C[S][1]+=" "+b.langPrefix+O,E={attrs:C},"<pre><code"+k.renderAttrs(E)+">"+$+`</code></pre>
`):"<pre><code"+k.renderAttrs(D)+">"+$+`</code></pre>
`},f.image=function(g,y,b,w,k){var $=g[y];return $.attrs[$.attrIndex("alt")][1]=k.renderInlineAsText($.children,b,w),k.renderToken(g,y,b)},f.hardbreak=function(g,y,b){return b.xhtmlOut?`<br />
`:`<br>
`},f.softbreak=function(g,y,b){return b.breaks?b.xhtmlOut?`<br />
`:`<br>
`:`
`},f.text=function(g,y){return m(g[y].content)},f.html_block=function(g,y){return g[y].content},f.html_inline=function(g,y){return g[y].content},v.prototype.renderAttrs=function(g){var y,b,w;if(!g.attrs)return"";for(w="",y=0,b=g.attrs.length;y<b;y++)w+=" "+m(g.attrs[y][0])+'="'+m(g.attrs[y][1])+'"';return w},v.prototype.renderToken=function(g,y,b){var w,k="",$=!1,S=g[y];return S.hidden?"":(S.block&&S.nesting!==-1&&y&&g[y-1].hidden&&(k+=`
`),k+=(S.nesting===-1?"</":"<")+S.tag,k+=this.renderAttrs(S),S.nesting===0&&b.xhtmlOut&&(k+=" /"),S.block&&($=!0,S.nesting===1&&y+1<g.length&&((w=g[y+1]).type==="inline"||w.hidden||w.nesting===-1&&w.tag===S.tag)&&($=!1)),k+=$?`>
`:">")},v.prototype.renderInline=function(g,y,b){for(var w,k="",$=this.rules,S=0,C=g.length;S<C;S++)$[w=g[S].type]!==void 0?k+=$[w](g,S,y,b,this):k+=this.renderToken(g,S,y);return k},v.prototype.renderInlineAsText=function(g,y,b){for(var w="",k=0,$=g.length;k<$;k++)g[k].type==="text"?w+=g[k].content:g[k].type==="image"&&(w+=this.renderInlineAsText(g[k].children,y,b));return w},v.prototype.render=function(g,y,b){var w,k,$,S="",C=this.rules;for(w=0,k=g.length;w<k;w++)($=g[w].type)==="inline"?S+=this.renderInline(g[w].children,y,b):C[$]!==void 0?S+=C[g[w].type](g,w,y,b,this):S+=this.renderToken(g,w,y,b);return S},a.exports=v},function(a,i,u){var c=u(41),d=[["normalize",u(153)],["block",u(154)],["inline",u(155)],["linkify",u(156)],["replacements",u(157)],["smartquotes",u(158)]];function m(){this.ruler=new c;for(var f=0;f<d.length;f++)this.ruler.push(d[f][0],d[f][1])}m.prototype.process=function(f){var v,g,y;for(v=0,g=(y=this.ruler.getRules("")).length;v<g;v++)y[v](f)},m.prototype.State=u(159),a.exports=m},function(a,i,u){var c=/\r\n?|\n/g,d=/\0/g;a.exports=function(m){var f;f=(f=m.src.replace(c,`
`)).replace(d,"<22>"),m.src=f}},function(a,i,u){a.exports=function(c){var d;c.inlineMode?((d=new c.Token("inline","",0)).content=c.src,d.map=[0,1],d.children=[],c.tokens.push(d)):c.md.block.parse(c.src,c.md,c.env,c.tokens)}},function(a,i,u){a.exports=function(c){var d,m,f,v=c.tokens;for(m=0,f=v.length;m<f;m++)(d=v[m]).type==="inline"&&c.md.inline.parse(d.content,c.md,c.env,d.children)}},function(a,i,u){var c=u(1).arrayReplaceAt;function d(m){return/^<\/a\s*>/i.test(m)}a.exports=function(m){var f,v,g,y,b,w,k,$,S,C,E,D,A,O,F,B,I,M,z=m.tokens;if(m.md.options.linkify){for(v=0,g=z.length;v<g;v++)if(z[v].type==="inline"&&m.md.linkify.pretest(z[v].content))for(A=0,f=(y=z[v].children).length-1;f>=0;f--)if((w=y[f]).type!=="link_close"){if(w.type==="html_inline"&&(M=w.content,/^<a[>\s]/i.test(M)&&A>0&&A--,d(w.content)&&A++),!(A>0)&&w.type==="text"&&m.md.linkify.test(w.content)){for(S=w.content,I=m.md.linkify.match(S),k=[],D=w.level,E=0,$=0;$<I.length;$++)O=I[$].url,F=m.md.normalizeLink(O),m.md.validateLink(F)&&(B=I[$].text,B=I[$].schema?I[$].schema!=="mailto:"||/^mailto:/i.test(B)?m.md.normalizeLinkText(B):m.md.normalizeLinkText("mailto:"+B).replace(/^mailto:/,""):m.md.normalizeLinkText("http://"+B).replace(/^http:\/\//,""),(C=I[$].index)>E&&((b=new m.Token("text","",0)).content=S.slice(E,C),b.level=D,k.push(b)),(b=new m.Token("link_open","a",1)).attrs=[["href",F]],b.level=D++,b.markup="linkify",b.info="auto",k.push(b),(b=new m.Token("text","",0)).content=B,b.level=D,k.push(b),(b=new m.Token("link_close","a",-1)).level=--D,b.markup="linkify",b.info="auto",k.push(b),E=I[$].lastIndex);E<S.length&&((b=new m.Token("text","",0)).content=S.slice(E),b.level=D,k.push(b)),z[v].children=y=c(y,f,k)}}else for(f--;y[f].level!==w.level&&y[f].type!=="link_open";)f--}}},function(a,i,u){var c=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,d=/\((c|tm|r|p)\)/i,m=/\((c|tm|r|p)\)/gi,f={c:"©",r:"®",p:"§",tm:"™"};function v(b,w){return f[w.toLowerCase()]}function g(b){var w,k,$=0;for(w=b.length-1;w>=0;w--)(k=b[w]).type!=="text"||$||(k.content=k.content.replace(m,v)),k.type==="link_open"&&k.info==="auto"&&$--,k.type==="link_close"&&k.info==="auto"&&$++}function y(b){var w,k,$=0;for(w=b.length-1;w>=0;w--)(k=b[w]).type!=="text"||$||c.test(k.content)&&(k.content=k.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1$2")),k.type==="link_open"&&k.info==="auto"&&$--,k.type==="link_close"&&k.info==="auto"&&$++}a.exports=function(b){var w;if(b.md.options.typographer)for(w=b.tokens.length-1;w>=0;w--)b.tokens[w].type==="inline"&&(d.test(b.tokens[w].content)&&g(b.tokens[w].children),c.test(b.tokens[w].content)&&y(b.tokens[w].children))}},function(a,i,u){var c=u(1).isWhiteSpace,d=u(1).isPunctChar,m=u(1).isMdAsciiPunct,f=/['"]/,v=/['"]/g;function g(b,w,k){return b.substr(0,w)+k+b.substr(w+1)}function y(b,w){var k,$,S,C,E,D,A,O,F,B,I,M,z,q,H,Q,j,ee,G,J,te;for(G=[],k=0;k<b.length;k++){for($=b[k],A=b[k].level,j=G.length-1;j>=0&&!(G[j].level<=A);j--);if(G.length=j+1,$.type==="text"){E=0,D=(S=$.content).length;e:for(;E<D&&(v.lastIndex=E,C=v.exec(S));){if(H=Q=!0,E=C.index+1,ee=C[0]==="'",F=32,C.index-1>=0)F=S.charCodeAt(C.index-1);else for(j=k-1;j>=0&&b[j].type!=="softbreak"&&b[j].type!=="hardbreak";j--)if(b[j].type==="text"){F=b[j].content.charCodeAt(b[j].content.length-1);break}if(B=32,E<D)B=S.charCodeAt(E);else for(j=k+1;j<b.length&&b[j].type!=="softbreak"&&b[j].type!=="hardbreak";j++)if(b[j].type==="text"){B=b[j].content.charCodeAt(0);break}if(I=m(F)||d(String.fromCharCode(F)),M=m(B)||d(String.fromCharCode(B)),z=c(F),(q=c(B))?H=!1:M&&(z||I||(H=!1)),z?Q=!1:I&&(q||M||(Q=!1)),B===34&&C[0]==='"'&&F>=48&&F<=57&&(Q=H=!1),H&&Q&&(H=!1,Q=M),H||Q){if(Q){for(j=G.length-1;j>=0&&(O=G[j],!(G[j].level<A));j--)if(O.single===ee&&G[j].level===A){O=G[j],ee?(J=w.md.options.quotes[2],te=w.md.options.quotes[3]):(J=w.md.options.quotes[0],te=w.md.options.quotes[1]),$.content=g($.content,C.index,te),b[O.token].content=g(b[O.token].content,O.pos,J),E+=te.length-1,O.token===k&&(E+=J.length-1),D=(S=$.content).length,G.length=j;continue e}}H?G.push({token:k,pos:C.index,single:ee,level:A}):Q&&ee&&($.content=g($.content,C.index,""))}else ee&&($.content=g($.content,C.index,""))}}}}a.exports=function(b){var w;if(b.md.options.typographer)for(w=b.tokens.length-1;w>=0;w--)b.tokens[w].type==="inline"&&f.test(b.tokens[w].content)&&y(b.tokens[w].children,b)}},function(a,i,u){var c=u(42);function d(m,f,v){this.src=m,this.env=v,this.tokens=[],this.inlineMode=!1,this.md=f}d.prototype.Token=c,a.exports=d},function(a,i,u){var c=u(41),d=[["table",u(161),["paragraph","reference"]],["code",u(162)],["fence",u(163),["paragraph","reference","blockquote","list"]],["blockquote",u(164),["paragraph","reference","blockquote","list"]],["hr",u(165),["paragraph","reference","blockquote","list"]],["list",u(166),["paragraph","reference","blockquote"]],["reference",u(167)],["heading",u(168),["paragraph","reference","blockquote"]],["lheading",u(169)],["html_block",u(170),["paragraph","reference","blockquote"]],["paragraph",u(172)]];function m(){this.ruler=new c;for(var f=0;f<d.length;f++)this.ruler.push(d[f][0],d[f][1],{alt:(d[f][2]||[]).slice()})}m.prototype.tokenize=function(f,v,g){for(var y,b=this.ruler.getRules(""),w=b.length,k=v,$=!1,S=f.md.options.maxNesting;k<g&&(f.line=k=f.skipEmptyLines(k),!(k>=g))&&!(f.sCount[k]<f.blkIndent);){if(f.level>=S){f.line=g;break}for(y=0;y<w&&!b[y](f,k,g,!1);y++);f.tight=!$,f.isEmpty(f.line-1)&&($=!0),(k=f.line)<g&&f.isEmpty(k)&&($=!0,k++,f.line=k)}},m.prototype.parse=function(f,v,g,y){var b;f&&(b=new this.State(f,v,g,y),this.tokenize(b,b.line,b.lineMax))},m.prototype.State=u(173),a.exports=m},function(a,i,u){var c=u(1).isSpace;function d(f,v){var g=f.bMarks[v]+f.blkIndent,y=f.eMarks[v];return f.src.substr(g,y-g)}function m(f){var v,g=[],y=0,b=f.length,w=0,k=0,$=!1,S=0;for(v=f.charCodeAt(y);y<b;)v===96?$?($=!1,S=y):w%2==0&&($=!0,S=y):v!==124||w%2!=0||$||(g.push(f.substring(k,y)),k=y+1),v===92?w++:w=0,++y===b&&$&&($=!1,y=S+1),v=f.charCodeAt(y);return g.push(f.substring(k)),g}a.exports=function(f,v,g,y){var b,w,k,$,S,C,E,D,A,O,F,B;if(v+2>g||(S=v+1,f.sCount[S]<f.blkIndent)||f.sCount[S]-f.blkIndent>=4||(k=f.bMarks[S]+f.tShift[S])>=f.eMarks[S]||(b=f.src.charCodeAt(k++))!==124&&b!==45&&b!==58)return!1;for(;k<f.eMarks[S];){if((b=f.src.charCodeAt(k))!==124&&b!==45&&b!==58&&!c(b))return!1;k++}for(C=(w=d(f,v+1)).split("|"),A=[],$=0;$<C.length;$++){if(!(O=C[$].trim())){if($===0||$===C.length-1)continue;return!1}if(!/^:?-+:?$/.test(O))return!1;O.charCodeAt(O.length-1)===58?A.push(O.charCodeAt(0)===58?"center":"right"):O.charCodeAt(0)===58?A.push("left"):A.push("")}if((w=d(f,v).trim()).indexOf("|")===-1||f.sCount[v]-f.blkIndent>=4||(E=(C=m(w.replace(/^\||\|$/g,""))).length)>A.length)return!1;if(y)return!0;for((D=f.push("table_open","table",1)).map=F=[v,0],(D=f.push("thead_open","thead",1)).map=[v,v+1],(D=f.push("tr_open","tr",1)).map=[v,v+1],$=0;$<C.length;$++)(D=f.push("th_open","th",1)).map=[v,v+1],A[$]&&(D.attrs=[["style","text-align:"+A[$]]]),(D=f.push("inline","",0)).content=C[$].trim(),D.map=[v,v+1],D.children=[],D=f.push("th_close","th",-1);for(D=f.push("tr_close","tr",-1),D=f.push("thead_close","thead",-1),(D=f.push("tbody_open","tbody",1)).map=B=[v+2,0],S=v+2;S<g&&!(f.sCount[S]<f.blkIndent)&&(w=d(f,S).trim()).indexOf("|")!==-1&&!(f.sCount[S]-f.blkIndent>=4);S++){for(C=m(w.replace(/^\||\|$/g,"")),D=f.push("tr_open","tr",1),$=0;$<E;$++)D=f.push("td_open","td",1),A[$]&&(D.attrs=[["style","text-align:"+A[$]]]),(D=f.push("inline","",0)).content=C[$]?C[$].trim():"",D.children=[],D=f.push("td_close","td",-1);D=f.push("tr_close","tr",-1)}return D=f.push("tbody_close","tbody",-1),D=f.push("table_close","table",-1),F[1]=B[1]=S,f.line=S,!0}},function(a,i,u){a.exports=function(c,d,m){var f,v,g;if(c.sCount[d]-c.blkIndent<4)return!1;for(v=f=d+1;f<m;)if(c.isEmpty(f))f++;else{if(!(c.sCount[f]-c.blkIndent>=4))break;v=++f}return c.line=v,(g=c.push("code_block","code",0)).content=c.getLines(d,v,4+c.blkIndent,!0),g.map=[d,c.line],!0}},function(a,i,u){a.exports=function(c,d,m,f){var v,g,y,b,w,k,$,S=!1,C=c.bMarks[d]+c.tShift[d],E=c.eMarks[d];if(c.sCount[d]-c.blkIndent>=4||C+3>E||(v=c.src.charCodeAt(C))!==126&&v!==96||(w=C,(g=(C=c.skipChars(C,v))-w)<3)||($=c.src.slice(w,C),y=c.src.slice(C,E),v===96&&y.indexOf(String.fromCharCode(v))>=0))return!1;if(f)return!0;for(b=d;!(++b>=m)&&!((C=w=c.bMarks[b]+c.tShift[b])<(E=c.eMarks[b])&&c.sCount[b]<c.blkIndent);)if(c.src.charCodeAt(C)===v&&!(c.sCount[b]-c.blkIndent>=4||(C=c.skipChars(C,v))-w<g||(C=c.skipSpaces(C))<E)){S=!0;break}return g=c.sCount[d],c.line=b+(S?1:0),(k=c.push("fence","code",0)).info=y,k.content=c.getLines(d+1,b,g,!0),k.markup=$,k.map=[d,c.line],!0}},function(a,i,u){var c=u(1).isSpace;a.exports=function(d,m,f,v){var g,y,b,w,k,$,S,C,E,D,A,O,F,B,I,M,z,q,H,Q,j=d.lineMax,ee=d.bMarks[m]+d.tShift[m],G=d.eMarks[m];if(d.sCount[m]-d.blkIndent>=4||d.src.charCodeAt(ee++)!==62)return!1;if(v)return!0;for(w=E=d.sCount[m]+ee-(d.bMarks[m]+d.tShift[m]),d.src.charCodeAt(ee)===32?(ee++,w++,E++,g=!1,M=!0):d.src.charCodeAt(ee)===9?(M=!0,(d.bsCount[m]+E)%4==3?(ee++,w++,E++,g=!1):g=!0):M=!1,D=[d.bMarks[m]],d.bMarks[m]=ee;ee<G&&(y=d.src.charCodeAt(ee),c(y));)y===9?E+=4-(E+d.bsCount[m]+(g?1:0))%4:E++,ee++;for(A=[d.bsCount[m]],d.bsCount[m]=d.sCount[m]+1+(M?1:0),$=ee>=G,B=[d.sCount[m]],d.sCount[m]=E-w,I=[d.tShift[m]],d.tShift[m]=ee-d.bMarks[m],q=d.md.block.ruler.getRules("blockquote"),F=d.parentType,d.parentType="blockquote",Q=!1,C=m+1;C<f&&(d.sCount[C]<d.blkIndent&&(Q=!0),!((ee=d.bMarks[C]+d.tShift[C])>=(G=d.eMarks[C])));C++)if(d.src.charCodeAt(ee++)!==62||Q){if($)break;for(z=!1,b=0,k=q.length;b<k;b++)if(q[b](d,C,f,!0)){z=!0;break}if(z){d.lineMax=C,d.blkIndent!==0&&(D.push(d.bMarks[C]),A.push(d.bsCount[C]),I.push(d.tShift[C]),B.push(d.sCount[C]),d.sCount[C]-=d.blkIndent);break}D.push(d.bMarks[C]),A.push(d.bsCount[C]),I.push(d.tShift[C]),B.push(d.sCount[C]),d.sCount[C]=-1}else{for(w=E=d.sCount[C]+ee-(d.bMarks[C]+d.tShift[C]),d.src.charCodeAt(ee)===32?(ee++,w++,E++,g=!1,M=!0):d.src.charCodeAt(ee)===9?(M=!0,(d.bsCount[C]+E)%4==3?(ee++,w++,E++,g=!1):g=!0):M=!1,D.push(d.bMarks[C]),d.bMarks[C]=ee;ee<G&&(y=d.src.charCodeAt(ee),c(y));)y===9?E+=4-(E+d.bsCount[C]+(g?1:0))%4:E++,ee++;$=ee>=G,A.push(d.bsCount[C]),d.bsCount[C]=d.sCount[C]+1+(M?1:0),B.push(d.sCount[C]),d.sCount[C]=E-w,I.push(d.tShift[C]),d.tShift[C]=ee-d.bMarks[C]}for(O=d.blkIndent,d.blkIndent=0,(H=d.push("blockquote_open","blockquote",1)).markup=">",H.map=S=[m,0],d.md.block.tokenize(d,m,C),(H=d.push("blockquote_close","blockquote",-1)).markup=">",d.lineMax=j,d.parentType=F,S[1]=d.line,b=0;b<I.length;b++)d.bMarks[b+m]=D[b],d.tShift[b+m]=I[b],d.sCount[b+m]=B[b],d.bsCount[b+m]=A[b];return d.blkIndent=O,!0}},function(a,i,u){var c=u(1).isSpace;a.exports=function(d,m,f,v){var g,y,b,w,k=d.bMarks[m]+d.tShift[m],$=d.eMarks[m];if(d.sCount[m]-d.blkIndent>=4||(g=d.src.charCodeAt(k++))!==42&&g!==45&&g!==95)return!1;for(y=1;k<$;){if((b=d.src.charCodeAt(k++))!==g&&!c(b))return!1;b===g&&y++}return!(y<3)&&(v||(d.line=m+1,(w=d.push("hr","hr",0)).map=[m,d.line],w.markup=Array(y+1).join(String.fromCharCode(g))),!0)}},function(a,i,u){var c=u(1).isSpace;function d(f,v){var g,y,b,w;return y=f.bMarks[v]+f.tShift[v],b=f.eMarks[v],(g=f.src.charCodeAt(y++))!==42&&g!==45&&g!==43||y<b&&(w=f.src.charCodeAt(y),!c(w))?-1:y}function m(f,v){var g,y=f.bMarks[v]+f.tShift[v],b=y,w=f.eMarks[v];if(b+1>=w||(g=f.src.charCodeAt(b++))<48||g>57)return-1;for(;;){if(b>=w)return-1;if(!((g=f.src.charCodeAt(b++))>=48&&g<=57)){if(g===41||g===46)break;return-1}if(b-y>=10)return-1}return b<w&&(g=f.src.charCodeAt(b),!c(g))?-1:b}a.exports=function(f,v,g,y){var b,w,k,$,S,C,E,D,A,O,F,B,I,M,z,q,H,Q,j,ee,G,J,te,re,ae,ye,ve,le,Se=!1,De=!0;if(f.sCount[v]-f.blkIndent>=4||f.listIndent>=0&&f.sCount[v]-f.listIndent>=4&&f.sCount[v]<f.blkIndent)return!1;if(y&&f.parentType==="paragraph"&&f.tShift[v]>=f.blkIndent&&(Se=!0),(te=m(f,v))>=0){if(E=!0,ae=f.bMarks[v]+f.tShift[v],I=Number(f.src.substr(ae,te-ae-1)),Se&&I!==1)return!1}else{if(!((te=d(f,v))>=0))return!1;E=!1}if(Se&&f.skipSpaces(te)>=f.eMarks[v])return!1;if(B=f.src.charCodeAt(te-1),y)return!0;for(F=f.tokens.length,E?(le=f.push("ordered_list_open","ol",1),I!==1&&(le.attrs=[["start",I]])):le=f.push("bullet_list_open","ul",1),le.map=O=[v,0],le.markup=String.fromCharCode(B),z=v,re=!1,ve=f.md.block.ruler.getRules("list"),Q=f.parentType,f.parentType="list";z<g;){for(J=te,M=f.eMarks[z],C=q=f.sCount[z]+te-(f.bMarks[v]+f.tShift[v]);J<M;){if((b=f.src.charCodeAt(J))===9)q+=4-(q+f.bsCount[z])%4;else{if(b!==32)break;q++}J++}if((S=(w=J)>=M?1:q-C)>4&&(S=1),$=C+S,(le=f.push("list_item_open","li",1)).markup=String.fromCharCode(B),le.map=D=[v,0],G=f.tight,ee=f.tShift[v],j=f.sCount[v],H=f.listIndent,f.listIndent=f.blkIndent,f.blkIndent=$,f.tight=!0,f.tShift[v]=w-f.bMarks[v],f.sCount[v]=q,w>=M&&f.isEmpty(v+1)?f.line=Math.min(f.line+2,g):f.md.block.tokenize(f,v,g,!0),f.tight&&!re||(De=!1),re=f.line-v>1&&f.isEmpty(f.line-1),f.blkIndent=f.listIndent,f.listIndent=H,f.tShift[v]=ee,f.sCount[v]=j,f.tight=G,(le=f.push("list_item_close","li",-1)).markup=String.fromCharCode(B),z=v=f.line,D[1]=z,w=f.bMarks[v],z>=g||f.sCount[z]<f.blkIndent||f.sCount[v]-f.blkIndent>=4)break;for(ye=!1,k=0,A=ve.length;k<A;k++)if(ve[k](f,z,g,!0)){ye=!0;break}if(ye)break;if(E){if((te=m(f,z))<0)break}else if((te=d(f,z))<0)break;if(B!==f.src.charCodeAt(te-1))break}return(le=E?f.push("ordered_list_close","ol",-1):f.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(B),O[1]=z,f.line=z,f.parentType=Q,De&&function(At,Le){var ke,ue,Ce=At.level+2;for(ke=Le+2,ue=At.tokens.length-2;ke<ue;ke++)At.tokens[ke].level===Ce&&At.tokens[ke].type==="paragraph_open"&&(At.tokens[ke+2].hidden=!0,At.tokens[ke].hidden=!0,ke+=2)}(f,F),!0}},function(a,i,u){var c=u(1).normalizeReference,d=u(1).isSpace;a.exports=function(m,f,v,g){var y,b,w,k,$,S,C,E,D,A,O,F,B,I,M,z,q=0,H=m.bMarks[f]+m.tShift[f],Q=m.eMarks[f],j=f+1;if(m.sCount[f]-m.blkIndent>=4||m.src.charCodeAt(H)!==91)return!1;for(;++H<Q;)if(m.src.charCodeAt(H)===93&&m.src.charCodeAt(H-1)!==92){if(H+1===Q||m.src.charCodeAt(H+1)!==58)return!1;break}for(k=m.lineMax,M=m.md.block.ruler.getRules("reference"),A=m.parentType,m.parentType="reference";j<k&&!m.isEmpty(j);j++)if(!(m.sCount[j]-m.blkIndent>3||m.sCount[j]<0)){for(I=!1,S=0,C=M.length;S<C;S++)if(M[S](m,j,k,!0)){I=!0;break}if(I)break}for(Q=(B=m.getLines(f,j,m.blkIndent,!1).trim()).length,H=1;H<Q;H++){if((y=B.charCodeAt(H))===91)return!1;if(y===93){D=H;break}(y===10||y===92&&++H<Q&&B.charCodeAt(H)===10)&&q++}if(D<0||B.charCodeAt(D+1)!==58)return!1;for(H=D+2;H<Q;H++)if((y=B.charCodeAt(H))===10)q++;else if(!d(y))break;if(!(O=m.md.helpers.parseLinkDestination(B,H,Q)).ok||($=m.md.normalizeLink(O.str),!m.md.validateLink($)))return!1;for(b=H=O.pos,w=q+=O.lines,F=H;H<Q;H++)if((y=B.charCodeAt(H))===10)q++;else if(!d(y))break;for(O=m.md.helpers.parseLinkTitle(B,H,Q),H<Q&&F!==H&&O.ok?(z=O.str,H=O.pos,q+=O.lines):(z="",H=b,q=w);H<Q&&(y=B.charCodeAt(H),d(y));)H++;if(H<Q&&B.charCodeAt(H)!==10&&z)for(z="",H=b,q=w;H<Q&&(y=B.charCodeAt(H),d(y));)H++;return!(H<Q&&B.charCodeAt(H)!==10)&&!!(E=c(B.slice(1,D)))&&(g||(m.env.references===void 0&&(m.env.references={}),m.env.references[E]===void 0&&(m.env.references[E]={title:z,href:$}),m.parentType=A,m.line=f+q+1),!0)}},function(a,i,u){var c=u(1).isSpace;a.exports=function(d,m,f,v){var g,y,b,w,k=d.bMarks[m]+d.tShift[m],$=d.eMarks[m];if(d.sCount[m]-d.blkIndent>=4||(g=d.src.charCodeAt(k))!==35||k>=$)return!1;for(y=1,g=d.src.charCodeAt(++k);g===35&&k<$&&y<=6;)y++,g=d.src.charCodeAt(++k);return!(y>6||k<$&&!c(g))&&(v||($=d.skipSpacesBack($,k),(b=d.skipCharsBack($,35,k))>k&&c(d.src.charCodeAt(b-1))&&($=b),d.line=m+1,(w=d.push("heading_open","h"+String(y),1)).markup="########".slice(0,y),w.map=[m,d.line],(w=d.push("inline","",0)).content=d.src.slice(k,$).trim(),w.map=[m,d.line],w.children=[],(w=d.push("heading_close","h"+String(y),-1)).markup="########".slice(0,y)),!0)}},function(a,i,u){a.exports=function(c,d,m){var f,v,g,y,b,w,k,$,S,C,E=d+1,D=c.md.block.ruler.getRules("paragraph");if(c.sCount[d]-c.blkIndent>=4)return!1;for(C=c.parentType,c.parentType="paragraph";E<m&&!c.isEmpty(E);E++)if(!(c.sCount[E]-c.blkIndent>3)){if(c.sCount[E]>=c.blkIndent&&(w=c.bMarks[E]+c.tShift[E])<(k=c.eMarks[E])&&((S=c.src.charCodeAt(w))===45||S===61)&&(w=c.skipChars(w,S),(w=c.skipSpaces(w))>=k)){$=S===61?1:2;break}if(!(c.sCount[E]<0)){for(v=!1,g=0,y=D.length;g<y;g++)if(D[g](c,E,m,!0)){v=!0;break}if(v)break}}return!!$&&(f=c.getLines(d,E,c.blkIndent,!1).trim(),c.line=E+1,(b=c.push("heading_open","h"+String($),1)).markup=String.fromCharCode(S),b.map=[d,c.line],(b=c.push("inline","",0)).content=f,b.map=[d,c.line-1],b.children=[],(b=c.push("heading_close","h"+String($),-1)).markup=String.fromCharCode(S),c.parentType=C,!0)}},function(a,i,u){var c=u(171),d=u(67).HTML_OPEN_CLOSE_TAG_RE,m=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+c.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(d.source+"\\s*$"),/^$/,!1]];a.exports=function(f,v,g,y){var b,w,k,$,S=f.bMarks[v]+f.tShift[v],C=f.eMarks[v];if(f.sCount[v]-f.blkIndent>=4||!f.md.options.html||f.src.charCodeAt(S)!==60)return!1;for($=f.src.slice(S,C),b=0;b<m.length&&!m[b][0].test($);b++);if(b===m.length)return!1;if(y)return m[b][2];if(w=v+1,!m[b][1].test($)){for(;w<g&&!(f.sCount[w]<f.blkIndent);w++)if(S=f.bMarks[w]+f.tShift[w],C=f.eMarks[w],$=f.src.slice(S,C),m[b][1].test($)){$.length!==0&&w++;break}}return f.line=w,(k=f.push("html_block","",0)).map=[v,w],k.content=f.getLines(v,w,f.blkIndent,!0),!0}},function(a,i,u){a.exports=["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","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(a,i,u){a.exports=function(c,d){var m,f,v,g,y,b,w=d+1,k=c.md.block.ruler.getRules("paragraph"),$=c.lineMax;for(b=c.parentType,c.parentType="paragraph";w<$&&!c.isEmpty(w);w++)if(!(c.sCount[w]-c.blkIndent>3||c.sCount[w]<0)){for(f=!1,v=0,g=k.length;v<g;v++)if(k[v](c,w,$,!0)){f=!0;break}if(f)break}return m=c.getLines(d,w,c.blkIndent,!1).trim(),c.line=w,(y=c.push("paragraph_open","p",1)).map=[d,c.line],(y=c.push("inline","",0)).content=m,y.map=[d,c.line],y.children=[],y=c.push("paragraph_close","p",-1),c.parentType=b,!0}},function(a,i,u){var c=u(42),d=u(1).isSpace;function m(f,v,g,y){var b,w,k,$,S,C,E,D;for(this.src=f,this.md=v,this.env=g,this.tokens=y,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,this.result="",D=!1,k=$=C=E=0,S=(w=this.src).length;$<S;$++){if(b=w.charCodeAt($),!D){if(d(b)){C++,b===9?E+=4-E%4:E++;continue}D=!0}b!==10&&$!==S-1||(b!==10&&$++,this.bMarks.push(k),this.eMarks.push($),this.tShift.push(C),this.sCount.push(E),this.bsCount.push(0),D=!1,C=0,E=0,k=$+1)}this.bMarks.push(w.length),this.eMarks.push(w.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}m.prototype.push=function(f,v,g){var y=new c(f,v,g);return y.block=!0,g<0&&this.level--,y.level=this.level,g>0&&this.level++,this.tokens.push(y),y},m.prototype.isEmpty=function(f){return this.bMarks[f]+this.tShift[f]>=this.eMarks[f]},m.prototype.skipEmptyLines=function(f){for(var v=this.lineMax;f<v&&!(this.bMarks[f]+this.tShift[f]<this.eMarks[f]);f++);return f},m.prototype.skipSpaces=function(f){for(var v,g=this.src.length;f<g&&(v=this.src.charCodeAt(f),d(v));f++);return f},m.prototype.skipSpacesBack=function(f,v){if(f<=v)return f;for(;f>v;)if(!d(this.src.charCodeAt(--f)))return f+1;return f},m.prototype.skipChars=function(f,v){for(var g=this.src.length;f<g&&this.src.charCodeAt(f)===v;f++);return f},m.prototype.skipCharsBack=function(f,v,g){if(f<=g)return f;for(;f>g;)if(v!==this.src.charCodeAt(--f))return f+1;return f},m.prototype.getLines=function(f,v,g,y){var b,w,k,$,S,C,E,D=f;if(f>=v)return"";for(C=new Array(v-f),b=0;D<v;D++,b++){for(w=0,E=$=this.bMarks[D],S=D+1<v||y?this.eMarks[D]+1:this.eMarks[D];$<S&&w<g;){if(k=this.src.charCodeAt($),d(k))k===9?w+=4-(w+this.bsCount[D])%4:w++;else{if(!($-E<this.tShift[D]))break;w++}$++}C[b]=w>g?new Array(w-g+1).join(" ")+this.src.slice($,S):this.src.slice($,S)}return C.join("")},m.prototype.Token=c,a.exports=m},function(a,i,u){var c=u(41),d=[["text",u(175)],["newline",u(176)],["escape",u(177)],["backticks",u(178)],["strikethrough",u(68).tokenize],["emphasis",u(69).tokenize],["link",u(179)],["image",u(180)],["autolink",u(181)],["html_inline",u(182)],["entity",u(183)]],m=[["balance_pairs",u(184)],["strikethrough",u(68).postProcess],["emphasis",u(69).postProcess],["text_collapse",u(185)]];function f(){var v;for(this.ruler=new c,v=0;v<d.length;v++)this.ruler.push(d[v][0],d[v][1]);for(this.ruler2=new c,v=0;v<m.length;v++)this.ruler2.push(m[v][0],m[v][1])}f.prototype.skipToken=function(v){var g,y,b=v.pos,w=this.ruler.getRules(""),k=w.length,$=v.md.options.maxNesting,S=v.cache;if(S[b]===void 0){if(v.level<$)for(y=0;y<k&&(v.level++,g=w[y](v,!0),v.level--,!g);y++);else v.pos=v.posMax;g||v.pos++,S[b]=v.pos}else v.pos=S[b]},f.prototype.tokenize=function(v){for(var g,y,b=this.ruler.getRules(""),w=b.length,k=v.posMax,$=v.md.options.maxNesting;v.pos<k;){if(v.level<$)for(y=0;y<w&&!(g=b[y](v,!1));y++);if(g){if(v.pos>=k)break}else v.pending+=v.src[v.pos++]}v.pending&&v.pushPending()},f.prototype.parse=function(v,g,y,b){var w,k,$,S=new this.State(v,g,y,b);for(this.tokenize(S),$=(k=this.ruler2.getRules("")).length,w=0;w<$;w++)k[w](S)},f.prototype.State=u(186),a.exports=f},function(a,i,u){function c(d){switch(d){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}}a.exports=function(d,m){for(var f=d.pos;f<d.posMax&&!c(d.src.charCodeAt(f));)f++;return f!==d.pos&&(m||(d.pending+=d.src.slice(d.pos,f)),d.pos=f,!0)}},function(a,i,u){var c=u(1).isSpace;a.exports=function(d,m){var f,v,g=d.pos;if(d.src.charCodeAt(g)!==10)return!1;for(f=d.pending.length-1,v=d.posMax,m||(f>=0&&d.pending.charCodeAt(f)===32?f>=1&&d.pending.charCodeAt(f-1)===32?(d.pending=d.pending.replace(/ +$/,""),d.push("hardbreak","br",0)):(d.pending=d.pending.slice(0,-1),d.push("softbreak","br",0)):d.push("softbreak","br",0)),g++;g<v&&c(d.src.charCodeAt(g));)g++;return d.pos=g,!0}},function(a,i,u){for(var c=u(1).isSpace,d=[],m=0;m<256;m++)d.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(f){d[f.charCodeAt(0)]=1}),a.exports=function(f,v){var g,y=f.pos,b=f.posMax;if(f.src.charCodeAt(y)!==92)return!1;if(++y<b){if((g=f.src.charCodeAt(y))<256&&d[g]!==0)return v||(f.pending+=f.src[y]),f.pos+=2,!0;if(g===10){for(v||f.push("hardbreak","br",0),y++;y<b&&(g=f.src.charCodeAt(y),c(g));)y++;return f.pos=y,!0}}return v||(f.pending+="\\"),f.pos++,!0}},function(a,i,u){a.exports=function(c,d){var m,f,v,g,y,b,w=c.pos;if(c.src.charCodeAt(w)!==96)return!1;for(m=w,w++,f=c.posMax;w<f&&c.src.charCodeAt(w)===96;)w++;for(v=c.src.slice(m,w),g=y=w;(g=c.src.indexOf("`",y))!==-1;){for(y=g+1;y<f&&c.src.charCodeAt(y)===96;)y++;if(y-g===v.length)return d||((b=c.push("code_inline","code",0)).markup=v,b.content=c.src.slice(w,g).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),c.pos=y,!0}return d||(c.pending+=v),c.pos+=v.length,!0}},function(a,i,u){var c=u(1).normalizeReference,d=u(1).isSpace;a.exports=function(m,f){var v,g,y,b,w,k,$,S,C,E="",D=m.pos,A=m.posMax,O=m.pos,F=!0;if(m.src.charCodeAt(m.pos)!==91||(w=m.pos+1,(b=m.md.helpers.parseLinkLabel(m,m.pos,!0))<0))return!1;if((k=b+1)<A&&m.src.charCodeAt(k)===40){for(F=!1,k++;k<A&&(g=m.src.charCodeAt(k),d(g)||g===10);k++);if(k>=A)return!1;for(O=k,($=m.md.helpers.parseLinkDestination(m.src,k,m.posMax)).ok&&(E=m.md.normalizeLink($.str),m.md.validateLink(E)?k=$.pos:E=""),O=k;k<A&&(g=m.src.charCodeAt(k),d(g)||g===10);k++);if($=m.md.helpers.parseLinkTitle(m.src,k,m.posMax),k<A&&O!==k&&$.ok)for(C=$.str,k=$.pos;k<A&&(g=m.src.charCodeAt(k),d(g)||g===10);k++);else C="";(k>=A||m.src.charCodeAt(k)!==41)&&(F=!0),k++}if(F){if(m.env.references===void 0)return!1;if(k<A&&m.src.charCodeAt(k)===91?(O=k+1,(k=m.md.helpers.parseLinkLabel(m,k))>=0?y=m.src.slice(O,k++):k=b+1):k=b+1,y||(y=m.src.slice(w,b)),!(S=m.env.references[c(y)]))return m.pos=D,!1;E=S.href,C=S.title}return f||(m.pos=w,m.posMax=b,m.push("link_open","a",1).attrs=v=[["href",E]],C&&v.push(["title",C]),m.md.inline.tokenize(m),m.push("link_close","a",-1)),m.pos=k,m.posMax=A,!0}},function(a,i,u){var c=u(1).normalizeReference,d=u(1).isSpace;a.exports=function(m,f){var v,g,y,b,w,k,$,S,C,E,D,A,O,F="",B=m.pos,I=m.posMax;if(m.src.charCodeAt(m.pos)!==33||m.src.charCodeAt(m.pos+1)!==91||(k=m.pos+2,(w=m.md.helpers.parseLinkLabel(m,m.pos+1,!1))<0))return!1;if(($=w+1)<I&&m.src.charCodeAt($)===40){for($++;$<I&&(g=m.src.charCodeAt($),d(g)||g===10);$++);if($>=I)return!1;for(O=$,(C=m.md.helpers.parseLinkDestination(m.src,$,m.posMax)).ok&&(F=m.md.normalizeLink(C.str),m.md.validateLink(F)?$=C.pos:F=""),O=$;$<I&&(g=m.src.charCodeAt($),d(g)||g===10);$++);if(C=m.md.helpers.parseLinkTitle(m.src,$,m.posMax),$<I&&O!==$&&C.ok)for(E=C.str,$=C.pos;$<I&&(g=m.src.charCodeAt($),d(g)||g===10);$++);else E="";if($>=I||m.src.charCodeAt($)!==41)return m.pos=B,!1;$++}else{if(m.env.references===void 0)return!1;if($<I&&m.src.charCodeAt($)===91?(O=$+1,($=m.md.helpers.parseLinkLabel(m,$))>=0?b=m.src.slice(O,$++):$=w+1):$=w+1,b||(b=m.src.slice(k,w)),!(S=m.env.references[c(b)]))return m.pos=B,!1;F=S.href,E=S.title}return f||(y=m.src.slice(k,w),m.md.inline.parse(y,m.md,m.env,A=[]),(D=m.push("image","img",0)).attrs=v=[["src",F],["alt",""]],D.children=A,D.content=y,E&&v.push(["title",E])),m.pos=$,m.posMax=I,!0}},function(a,i,u){var c=/^<([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])?)*)>/,d=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;a.exports=function(m,f){var v,g,y,b,w,k,$=m.pos;return m.src.charCodeAt($)===60&&!((v=m.src.slice($)).indexOf(">")<0)&&(d.test(v)?(b=(g=v.match(d))[0].slice(1,-1),w=m.md.normalizeLink(b),!!m.md.validateLink(w)&&(f||((k=m.push("link_open","a",1)).attrs=[["href",w]],k.markup="autolink",k.info="auto",(k=m.push("text","",0)).content=m.md.normalizeLinkText(b),(k=m.push("link_close","a",-1)).markup="autolink",k.info="auto"),m.pos+=g[0].length,!0)):!!c.test(v)&&(b=(y=v.match(c))[0].slice(1,-1),w=m.md.normalizeLink("mailto:"+b),!!m.md.validateLink(w)&&(f||((k=m.push("link_open","a",1)).attrs=[["href",w]],k.markup="autolink",k.info="auto",(k=m.push("text","",0)).content=m.md.normalizeLinkText(b),(k=m.push("link_close","a",-1)).markup="autolink",k.info="auto"),m.pos+=y[0].length,!0)))}},function(a,i,u){var c=u(67).HTML_TAG_RE;a.exports=function(d,m){var f,v,g,y=d.pos;return!!d.md.options.html&&(g=d.posMax,!(d.src.charCodeAt(y)!==60||y+2>=g)&&!((f=d.src.charCodeAt(y+1))!==33&&f!==63&&f!==47&&!function(b){var w=32|b;return w>=97&&w<=122}(f))&&!!(v=d.src.slice(y).match(c))&&(m||(d.push("html_inline","",0).content=d.src.slice(y,y+v[0].length)),d.pos+=v[0].length,!0))}},function(a,i,u){var c=u(62),d=u(1).has,m=u(1).isValidEntityCode,f=u(1).fromCodePoint,v=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,g=/^&([a-z][a-z0-9]{1,31});/i;a.exports=function(y,b){var w,k,$=y.pos,S=y.posMax;if(y.src.charCodeAt($)!==38)return!1;if($+1<S){if(y.src.charCodeAt($+1)===35){if(k=y.src.slice($).match(v))return b||(w=k[1][0].toLowerCase()==="x"?parseInt(k[1].slice(1),16):parseInt(k[1],10),y.pending+=m(w)?f(w):f(65533)),y.pos+=k[0].length,!0}else if((k=y.src.slice($).match(g))&&d(c,k[1]))return b||(y.pending+=c[k[1]]),y.pos+=k[0].length,!0}return b||(y.pending+="&"),y.pos++,!0}},function(a,i,u){function c(d,m){var f,v,g,y,b,w,k,$,S={},C=m.length;for(f=0;f<C;f++)if((g=m[f]).length=g.length||0,g.close){for(S.hasOwnProperty(g.marker)||(S[g.marker]=[-1,-1,-1]),b=S[g.marker][g.length%3],w=-1,v=f-g.jump-1;v>b;v-=y.jump+1)if((y=m[v]).marker===g.marker&&(w===-1&&(w=v),y.open&&y.end<0&&y.level===g.level&&(k=!1,(y.close||g.open)&&(y.length+g.length)%3==0&&(y.length%3==0&&g.length%3==0||(k=!0)),!k))){$=v>0&&!m[v-1].open?m[v-1].jump+1:0,g.jump=f-v+$,g.open=!1,y.end=f,y.jump=$,y.close=!1,w=-1;break}w!==-1&&(S[g.marker][(g.length||0)%3]=w)}}a.exports=function(d){var m,f=d.tokens_meta,v=d.tokens_meta.length;for(c(0,d.delimiters),m=0;m<v;m++)f[m]&&f[m].delimiters&&c(0,f[m].delimiters)}},function(a,i,u){a.exports=function(c){var d,m,f=0,v=c.tokens,g=c.tokens.length;for(d=m=0;d<g;d++)v[d].nesting<0&&f--,v[d].level=f,v[d].nesting>0&&f++,v[d].type==="text"&&d+1<g&&v[d+1].type==="text"?v[d+1].content=v[d].content+v[d+1].content:(d!==m&&(v[m]=v[d]),m++);d!==m&&(v.length=m)}},function(a,i,u){var c=u(42),d=u(1).isWhiteSpace,m=u(1).isPunctChar,f=u(1).isMdAsciiPunct;function v(g,y,b,w){this.src=g,this.env=b,this.md=y,this.tokens=w,this.tokens_meta=Array(w.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}v.prototype.pushPending=function(){var g=new c("text","",0);return g.content=this.pending,g.level=this.pendingLevel,this.tokens.push(g),this.pending="",g},v.prototype.push=function(g,y,b){this.pending&&this.pushPending();var w=new c(g,y,b),k=null;return b<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),w.level=this.level,b>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],k={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(w),this.tokens_meta.push(k),w},v.prototype.scanDelims=function(g,y){var b,w,k,$,S,C,E,D,A,O=g,F=!0,B=!0,I=this.posMax,M=this.src.charCodeAt(g);for(b=g>0?this.src.charCodeAt(g-1):32;O<I&&this.src.charCodeAt(O)===M;)O++;return k=O-g,w=O<I?this.src.charCodeAt(O):32,E=f(b)||m(String.fromCharCode(b)),A=f(w)||m(String.fromCharCode(w)),C=d(b),(D=d(w))?F=!1:A&&(C||E||(F=!1)),C?B=!1:E&&(D||A||(B=!1)),y?($=F,S=B):($=F&&(!B||E),S=B&&(!F||A)),{can_open:$,can_close:S,length:k}},v.prototype.Token=c,a.exports=v},function(a,i,u){function c(S){var C=Array.prototype.slice.call(arguments,1);return C.forEach(function(E){E&&Object.keys(E).forEach(function(D){S[D]=E[D]})}),S}function d(S){return Object.prototype.toString.call(S)}function m(S){return d(S)==="[object Function]"}function f(S){return S.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},g={"http:":{validate:function(S,C,E){var D=S.slice(C);return E.re.http||(E.re.http=new RegExp("^\\/\\/"+E.re.src_auth+E.re.src_host_port_strict+E.re.src_path,"i")),E.re.http.test(D)?D.match(E.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(S,C,E){var D=S.slice(C);return E.re.no_http||(E.re.no_http=new RegExp("^"+E.re.src_auth+"(?:localhost|(?:(?:"+E.re.src_domain+")\\.)+"+E.re.src_domain_root+")"+E.re.src_port+E.re.src_host_terminator+E.re.src_path,"i")),E.re.no_http.test(D)?C>=3&&S[C-3]===":"||C>=3&&S[C-3]==="/"?0:D.match(E.re.no_http)[0].length:0}},"mailto:":{validate:function(S,C,E){var D=S.slice(C);return E.re.mailto||(E.re.mailto=new RegExp("^"+E.re.src_email_name+"@"+E.re.src_host_strict,"i")),E.re.mailto.test(D)?D.match(E.re.mailto)[0].length:0}}},y="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function b(S){var C=S.re=u(188)(S.__opts__),E=S.__tlds__.slice();function D(B){return B.replace("%TLDS%",C.src_tlds)}S.onCompile(),S.__tlds_replaced__||E.push("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]"),E.push(C.src_xn),C.src_tlds=E.join("|"),C.email_fuzzy=RegExp(D(C.tpl_email_fuzzy),"i"),C.link_fuzzy=RegExp(D(C.tpl_link_fuzzy),"i"),C.link_no_ip_fuzzy=RegExp(D(C.tpl_link_no_ip_fuzzy),"i"),C.host_fuzzy_test=RegExp(D(C.tpl_host_fuzzy_test),"i");var A=[];function O(B,I){throw new Error('(LinkifyIt) Invalid schema "'+B+'": '+I)}S.__compiled__={},Object.keys(S.__schemas__).forEach(function(B){var I=S.__schemas__[B];if(I!==null){var M={validate:null,link:null};if(S.__compiled__[B]=M,d(I)==="[object Object]")return function(z){return d(z)==="[object RegExp]"}(I.validate)?M.validate=function(z){return function(q,H){var Q=q.slice(H);return z.test(Q)?Q.match(z)[0].length:0}}(I.validate):m(I.validate)?M.validate=I.validate:O(B,I),void(m(I.normalize)?M.normalize=I.normalize:I.normalize?O(B,I):M.normalize=function(z,q){q.normalize(z)});(function(z){return d(z)==="[object String]"})(I)?A.push(B):O(B,I)}}),A.forEach(function(B){S.__compiled__[S.__schemas__[B]]&&(S.__compiled__[B].validate=S.__compiled__[S.__schemas__[B]].validate,S.__compiled__[B].normalize=S.__compiled__[S.__schemas__[B]].normalize)}),S.__compiled__[""]={validate:null,normalize:function(B,I){I.normalize(B)}};var F=Object.keys(S.__compiled__).filter(function(B){return B.length>0&&S.__compiled__[B]}).map(f).join("|");S.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+C.src_ZPCc+"))("+F+")","i"),S.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+C.src_ZPCc+"))("+F+")","ig"),S.re.pretest=RegExp("("+S.re.schema_test.source+")|("+S.re.host_fuzzy_test.source+")|@","i"),function(B){B.__index__=-1,B.__text_cache__=""}(S)}function w(S,C){var E=S.__index__,D=S.__last_index__,A=S.__text_cache__.slice(E,D);this.schema=S.__schema__.toLowerCase(),this.index=E+C,this.lastIndex=D+C,this.raw=A,this.text=A,this.url=A}function k(S,C){var E=new w(S,C);return S.__compiled__[E.schema].normalize(E,S),E}function $(S,C){if(!(this instanceof $))return new $(S,C);var E;C||(E=S,Object.keys(E||{}).reduce(function(D,A){return D||v.hasOwnProperty(A)},!1)&&(C=S,S={})),this.__opts__=c({},v,C),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=c({},g,S),this.__compiled__={},this.__tlds__=y,this.__tlds_replaced__=!1,this.re={},b(this)}$.prototype.add=function(S,C){return this.__schemas__[S]=C,b(this),this},$.prototype.set=function(S){return this.__opts__=c(this.__opts__,S),this},$.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var C,E,D,A,O,F,B,I;if(this.re.schema_test.test(S)){for((B=this.re.schema_search).lastIndex=0;(C=B.exec(S))!==null;)if(A=this.testSchemaAt(S,C[2],B.lastIndex)){this.__schema__=C[2],this.__index__=C.index+C[1].length,this.__last_index__=C.index+C[0].length+A;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(I=S.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||I<this.__index__)&&(E=S.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(O=E.index+E[1].length,(this.__index__<0||O<this.__index__)&&(this.__schema__="",this.__index__=O,this.__last_index__=E.index+E[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&S.indexOf("@")>=0&&(D=S.match(this.re.email_fuzzy))!==null&&(O=D.index+D[1].length,F=D.index+D[0].length,(this.__index__<0||O<this.__index__||O===this.__index__&&F>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=O,this.__last_index__=F)),this.__index__>=0},$.prototype.pretest=function(S){return this.re.pretest.test(S)},$.prototype.testSchemaAt=function(S,C,E){return this.__compiled__[C.toLowerCase()]?this.__compiled__[C.toLowerCase()].validate(S,E,this):0},$.prototype.match=function(S){var C=0,E=[];this.__index__>=0&&this.__text_cache__===S&&(E.push(k(this,C)),C=this.__last_index__);for(var D=C?S.slice(C):S;this.test(D);)E.push(k(this,C)),D=D.slice(this.__last_index__),C+=this.__last_index__;return E.length?E:null},$.prototype.tlds=function(S,C){return S=Array.isArray(S)?S:[S],C?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(E,D,A){return E!==A[D-1]}).reverse(),b(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,b(this),this)},$.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema!=="mailto:"||/^mailto:/i.test(S.url)||(S.url="mailto:"+S.url)},$.prototype.onCompile=function(){},a.exports=$},function(a,i,u){a.exports=function(c){var d={};return d.src_Any=u(64).source,d.src_Cc=u(65).source,d.src_Z=u(66).source,d.src_P=u(40).source,d.src_ZPCc=[d.src_Z,d.src_P,d.src_Cc].join("|"),d.src_ZCc=[d.src_Z,d.src_Cc].join("|"),d.src_pseudo_letter="(?:(?![><]|"+d.src_ZPCc+")"+d.src_Any+")",d.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]?)",d.src_auth="(?:(?:(?!"+d.src_ZCc+"|[@/\\[\\]()]).)+@)?",d.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",d.src_host_terminator="(?=$|[><]|"+d.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+d.src_ZPCc+"))",d.src_path="(?:[/?#](?:(?!"+d.src_ZCc+`|[><]|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+d.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+d.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+d.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+d.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+d.src_ZCc+"|[']).)+\\'|\\'(?="+d.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+d.src_ZCc+"|[.]).|"+(c&&c["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+d.src_ZCc+").|\\!(?!"+d.src_ZCc+"|[!]).|\\?(?!"+d.src_ZCc+"|[?]).)+|\\/)?",d.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',d.src_xn="xn--[a-z0-9\\-]{1,59}",d.src_domain_root="(?:"+d.src_xn+"|"+d.src_pseudo_letter+"{1,63})",d.src_domain="(?:"+d.src_xn+"|(?:"+d.src_pseudo_letter+")|(?:"+d.src_pseudo_letter+"(?:-|"+d.src_pseudo_letter+"){0,61}"+d.src_pseudo_letter+"))",d.src_host="(?:(?:(?:(?:"+d.src_domain+")\\.)*"+d.src_domain+"))",d.tpl_host_fuzzy="(?:"+d.src_ip4+"|(?:(?:(?:"+d.src_domain+")\\.)+(?:%TLDS%)))",d.tpl_host_no_ip_fuzzy="(?:(?:(?:"+d.src_domain+")\\.)+(?:%TLDS%))",d.src_host_strict=d.src_host+d.src_host_terminator,d.tpl_host_fuzzy_strict=d.tpl_host_fuzzy+d.src_host_terminator,d.src_host_port_strict=d.src_host+d.src_port+d.src_host_terminator,d.tpl_host_port_fuzzy_strict=d.tpl_host_fuzzy+d.src_port+d.src_host_terminator,d.tpl_host_port_no_ip_fuzzy_strict=d.tpl_host_no_ip_fuzzy+d.src_port+d.src_host_terminator,d.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+d.src_ZPCc+"|>|$))",d.tpl_email_fuzzy='(^|[><]|"|\\(|'+d.src_ZCc+")("+d.src_email_name+"@"+d.tpl_host_fuzzy_strict+")",d.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+d.src_ZPCc+"))((?![$+<=>^`|])"+d.tpl_host_port_fuzzy_strict+d.src_path+")",d.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+d.src_ZPCc+"))((?![$+<=>^`|])"+d.tpl_host_port_no_ip_fuzzy_strict+d.src_path+")",d}},function(a,i,u){(function(c,d){var m;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){i&&i.nodeType,c&&c.nodeType;var v=typeof d=="object"&&d;v.global!==v&&v.window!==v&&v.self;var g,y=2147483647,b=/^xn--/,w=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,$={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=Math.floor,C=String.fromCharCode;function E(q){throw new RangeError($[q])}function D(q,H){for(var Q=q.length,j=[];Q--;)j[Q]=H(q[Q]);return j}function A(q,H){var Q=q.split("@"),j="";return Q.length>1&&(j=Q[0]+"@",q=Q[1]),j+D((q=q.replace(k,".")).split("."),H).join(".")}function O(q){for(var H,Q,j=[],ee=0,G=q.length;ee<G;)(H=q.charCodeAt(ee++))>=55296&&H<=56319&&ee<G?(64512&(Q=q.charCodeAt(ee++)))==56320?j.push(((1023&H)<<10)+(1023&Q)+65536):(j.push(H),ee--):j.push(H);return j}function F(q){return D(q,function(H){var Q="";return H>65535&&(Q+=C((H-=65536)>>>10&1023|55296),H=56320|1023&H),Q+=C(H)}).join("")}function B(q,H){return q+22+75*(q<26)-((H!=0)<<5)}function I(q,H,Q){var j=0;for(q=Q?S(q/700):q>>1,q+=S(q/H);q>455;j+=36)q=S(q/35);return S(j+36*q/(q+38))}function M(q){var H,Q,j,ee,G,J,te,re,ae,ye,ve,le=[],Se=q.length,De=0,At=128,Le=72;for((Q=q.lastIndexOf("-"))<0&&(Q=0),j=0;j<Q;++j)q.charCodeAt(j)>=128&&E("not-basic"),le.push(q.charCodeAt(j));for(ee=Q>0?Q+1:0;ee<Se;){for(G=De,J=1,te=36;ee>=Se&&E("invalid-input"),((re=(ve=q.charCodeAt(ee++))-48<10?ve-22:ve-65<26?ve-65:ve-97<26?ve-97:36)>=36||re>S((y-De)/J))&&E("overflow"),De+=re*J,!(re<(ae=te<=Le?1:te>=Le+26?26:te-Le));te+=36)J>S(y/(ye=36-ae))&&E("overflow"),J*=ye;Le=I(De-G,H=le.length+1,G==0),S(De/H)>y-At&&E("overflow"),At+=S(De/H),De%=H,le.splice(De++,0,At)}return F(le)}function z(q){var H,Q,j,ee,G,J,te,re,ae,ye,ve,le,Se,De,At,Le=[];for(le=(q=O(q)).length,H=128,Q=0,G=72,J=0;J<le;++J)(ve=q[J])<128&&Le.push(C(ve));for(j=ee=Le.length,ee&&Le.push("-");j<le;){for(te=y,J=0;J<le;++J)(ve=q[J])>=H&&ve<te&&(te=ve);for(te-H>S((y-Q)/(Se=j+1))&&E("overflow"),Q+=(te-H)*Se,H=te,J=0;J<le;++J)if((ve=q[J])<H&&++Q>y&&E("overflow"),ve==H){for(re=Q,ae=36;!(re<(ye=ae<=G?1:ae>=G+26?26:ae-G));ae+=36)At=re-ye,De=36-ye,Le.push(C(B(ye+At%De,0))),re=S(At/De);Le.push(C(B(re,0))),G=I(Q,Se,j==ee),Q=0,++j}++Q,++H}return Le.join("")}g={version:"1.4.1",ucs2:{decode:O,encode:F},decode:M,encode:z,toASCII:function(q){return A(q,function(H){return w.test(H)?"xn--"+z(H):H})},toUnicode:function(q){return A(q,function(H){return b.test(H)?M(H.slice(4).toLowerCase()):H})}},(m=(function(){return g}).call(i,u,i,c))===void 0||(c.exports=m)})()}).call(this,u(190)(a),u(191))},function(a,i){a.exports=function(u){return u.webpackPolyfill||(u.deprecate=function(){},u.paths=[],u.children||(u.children=[]),Object.defineProperty(u,"loaded",{enumerable:!0,get:function(){return u.l}}),Object.defineProperty(u,"id",{enumerable:!0,get:function(){return u.i}}),u.webpackPolyfill=1),u}},function(a,i){var u;u=function(){return this}();try{u=u||new Function("return this")()}catch{typeof window=="object"&&(u=window)}a.exports=u},function(a,i,u){a.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(a,i,u){a.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(a,i,u){a.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},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","text_collapse"]}}}},function(a,i,u){var c=u(196),d=u(197),m=u(198),f=u(199),v=u(200);a.exports=function(g,y){var b={defs:c,shortcuts:d,enabled:[]},w=v(g.utils.assign({},b,y||{}));g.renderer.rules.emoji=m,g.core.ruler.push("emoji",f(g,w.defs,w.shortcuts,w.scanRE,w.replaceRE))}},function(a){a.exports=JSON.parse('{"100":"💯","1234":"🔢","grinning":"😀","smiley":"😃","smile":"😄","grin":"😁","laughing":"😆","satisfied":"😆","sweat_smile":"😅","joy":"😂","rofl":"🤣","relaxed":"☺️","blush":"😊","innocent":"😇","slightly_smiling_face":"🙂","upside_down_face":"🙃","wink":"😉","relieved":"😌","heart_eyes":"😍","kissing_heart":"😘","kissing":"😗","kissing_smiling_eyes":"😙","kissing_closed_eyes":"😚","yum":"😋","stuck_out_tongue_winking_eye":"😜","stuck_out_tongue_closed_eyes":"😝","stuck_out_tongue":"😛","money_mouth_face":"🤑","hugs":"🤗","nerd_face":"🤓","sunglasses":"😎","clown_face":"🤡","cowboy_hat_face":"🤠","smirk":"😏","unamused":"😒","disappointed":"😞","pensive":"😔","worried":"😟","confused":"😕","slightly_frowning_face":"🙁","frowning_face":"☹️","persevere":"😣","confounded":"😖","tired_face":"😫","weary":"😩","triumph":"😤","angry":"😠","rage":"😡","pout":"😡","no_mouth":"😶","neutral_face":"😐","expressionless":"😑","hushed":"😯","frowning":"😦","anguished":"😧","open_mouth":"😮","astonished":"😲","dizzy_face":"😵","flushed":"😳","scream":"😱","fearful":"😨","cold_sweat":"😰","cry":"😢","disappointed_relieved":"😥","drooling_face":"🤤","sob":"😭","sweat":"😓","sleepy":"😪","sleeping":"😴","roll_eyes":"🙄","thinking":"🤔","lying_face":"🤥","grimacing":"😬","zipper_mouth_face":"🤐","nauseated_face":"🤢","sneezing_face":"🤧","mask":"😷","face_with_thermometer":"🤒","face_with_head_bandage":"🤕","smiling_imp":"😈","imp":"👿","japanese_ogre":"👹","japanese_goblin":"👺","hankey":"💩","poop":"💩","shit":"💩","ghost":"👻","skull":"💀","skull_and_crossbones":"☠️","alien":"👽","space_invader":"👾","robot":"🤖","jack_o_lantern":"🎃","smiley_cat":"😺","smile_cat":"😸","joy_cat":"😹","heart_eyes_cat":"😻","smirk_cat":"😼","kissing_cat":"😽","scream_cat":"🙀","crying_cat_face":"😿","pouting_cat":"😾","open_hands":"👐","raised_hands":"🙌","clap":"👏","pray":"🙏","handshake":"🤝","+1":"👍","thumbsup":"👍","-1":"👎","thumbsdown":"👎","fist_oncoming":"👊","facepunch":"👊","punch":"👊","fist_raised":"✊","fist":"✊","fist_left":"🤛","fist_right":"🤜","crossed_fingers":"🤞","v":"✌️","metal":"🤘","ok_hand":"👌","point_left":"👈","point_right":"👉","point_up_2":"👆","point_down":"👇","point_up":"☝️","hand":"✋","raised_hand":"✋","raised_back_of_hand":"🤚","raised_hand_with_fingers_splayed":"🖐","vulcan_salute":"🖖","wave":"👋","call_me_hand":"🤙","muscle":"💪","middle_finger":"🖕","fu":"🖕","writing_hand":"✍️","selfie":"🤳","nail_care":"💅","ring":"💍","lipstick":"💄","kiss":"💋","lips":"👄","tongue":"👅","ear":"👂","nose":"👃","footprints":"👣","eye":"👁","eyes":"👀","speaking_head":"🗣","bust_in_silhouette":"👤","busts_in_silhouette":"👥","baby":"👶","boy":"👦","girl":"👧","man":"👨","woman":"👩","blonde_woman":"👱‍♀","blonde_man":"👱","person_with_blond_hair":"👱","older_man":"👴","older_woman":"👵","man_with_gua_pi_mao":"👲","woman_with_turban":"👳‍♀","man_with_turban":"👳","policewoman":"👮‍♀","policeman":"👮","cop":"👮","construction_worker_woman":"👷‍♀","construction_worker_man":"👷","construction_worker":"👷","guardswoman":"💂‍♀","guardsman":"💂","female_detective":"🕵️‍♀️","male_detective":"🕵","detective":"🕵","woman_health_worker":"👩‍⚕","man_health_worker":"👨‍⚕","woman_farmer":"👩‍🌾","man_farmer":"👨‍🌾","woman_cook":"👩‍🍳","man_cook":"👨‍🍳","woman_student":"👩‍🎓","man_student":"👨‍🎓","woman_singer":"👩‍🎤","man_singer":"👨‍🎤","woman_teacher":"👩‍🏫","man_teacher":"👨‍🏫","woman_factory_worker":"👩‍🏭","man_factory_worker":"👨‍🏭","woman_technologist":"👩‍💻","man_technologist":"👨‍💻","woman_office_worker":"👩‍💼","man_office_worker":"👨‍💼","woman_mechanic":"👩‍🔧","man_mechanic":"👨‍🔧","woman_scientist":"👩‍🔬","man_scientist":"👨‍🔬","woman_artist":"👩‍🎨","man_artist":"👨‍🎨","woman_firefighter":"👩‍🚒","man_firefighter":"👨‍🚒","woman_pilot":"👩‍✈","man_pilot":"👨‍✈","woman_astronaut":"👩‍🚀","man_astronaut":"👨‍🚀","woman_judge":"👩‍⚖","man_judge":"👨‍⚖","mrs_claus":"🤶","santa":"🎅","princess":"👸","prince":"🤴","bride_with_veil":"👰","man_in_tuxedo":"🤵","angel":"👼","pregnant_woman":"🤰","bowing_woman":"🙇‍♀","bowing_man":"🙇","bow":"🙇","tipping_hand_woman":"💁","information_desk_person":"💁","sassy_woman":"💁","tipping_hand_man":"💁‍♂","sassy_man":"💁‍♂","no_good_woman":"🙅","no_good":"🙅","ng_woman":"🙅","no_good_man":"🙅‍♂","ng_man":"🙅‍♂","ok_woman":"🙆","ok_man":"🙆‍♂","raising_hand_woman":"🙋","raising_hand":"🙋","raising_hand_man":"🙋‍♂","woman_facepalming":"🤦‍♀","man_facepalming":"🤦‍♂","woman_shrugging":"🤷‍♀","man_shrugging":"🤷‍♂","pouting_woman":"🙎","person_with_pouting_face":"🙎","pouting_man":"🙎‍♂","frowning_woman":"🙍","person_frowning":"🙍","frowning_man":"🙍‍♂","haircut_woman":"💇","haircut":"💇","haircut_man":"💇‍♂","massage_woman":"💆","massage":"💆","massage_man":"💆‍♂","business_suit_levitating":"🕴","dancer":"💃","man_dancing":"🕺","dancing_women":"👯","dancers":"👯","dancing_men":"👯‍♂","walking_woman":"🚶‍♀","walking_man":"🚶","walking":"🚶","running_woman":"🏃‍♀","running_man":"🏃","runner":"🏃","running":"🏃","couple":"👫","two_women_holding_hands":"👭","two_men_holding_hands":"👬","couple_with_heart_woman_man":"💑","couple_with_heart":"💑","couple_with_heart_woman_woman":"👩‍❤️‍👩","couple_with_heart_man_man":"👨‍❤️‍👨","couplekiss_man_woman":"💏","couplekiss_woman_woman":"👩‍❤️‍💋‍👩","couplekiss_man_man":"👨‍❤️‍💋‍👨","family_man_woman_boy":"👪","family":"👪","family_man_woman_girl":"👨‍👩‍👧","family_man_woman_girl_boy":"👨‍👩‍👧‍👦","family_man_woman_boy_boy":"👨‍👩‍👦‍👦","family_man_woman_girl_girl":"👨‍👩‍👧‍👧","family_woman_woman_boy":"👩‍👩‍👦","family_woman_woman_girl":"👩‍👩‍👧","family_woman_woman_girl_boy":"👩‍👩‍👧‍👦","family_woman_woman_boy_boy":"👩‍👩‍👦‍👦","family_woman_woman_girl_girl":"👩‍👩‍👧‍👧","family_man_man_boy":"👨‍👨‍👦","family_man_man_girl":"👨‍👨‍👧","family_man_man_girl_boy":"👨‍👨‍👧‍👦","family_man_man_boy_boy":"👨‍👨‍👦‍👦","family_man_man_girl_girl":"👨‍👨‍👧‍👧","family_woman_boy":"👩‍👦","family_woman_girl":"👩‍👧","family_woman_girl_boy":"👩‍👧‍👦","family_woman_boy_boy":"👩‍👦‍👦","family_woman_girl_girl":"👩‍👧‍👧","family_man_boy":"👨‍👦","family_man_girl":"👨‍👧","family_man_girl_boy":"👨‍👧‍👦","family_man_boy_boy":"👨‍👦‍👦","family_man_girl_girl":"👨‍👧‍👧","womans_clothes":"👚","shirt":"👕","tshirt":"👕","jeans":"👖","necktie":"👔","dress":"👗","bikini":"👙","kimono":"👘","high_heel":"👠","sandal":"👡","boot":"👢","mans_shoe":"👞","shoe":"👞","athletic_shoe":"👟","womans_hat":"👒","tophat":"🎩","mortar_board":"🎓","crown":"👑","rescue_worker_helmet":"⛑","school_satchel":"🎒","pouch":"👝","purse":"👛","handbag":"👜","briefcase":"💼","eyeglasses":"👓","dark_sunglasses":"🕶","closed_umbrella":"🌂","open_umbrella":"☂️","dog":"🐶","cat":"🐱","mouse":"🐭","hamster":"🐹","rabbit":"🐰","fox_face":"🦊","bear":"🐻","panda_face":"🐼","koala":"🐨","tiger":"🐯","lion":"🦁","cow":"🐮","pig":"🐷","pig_nose":"🐽","frog":"🐸","monkey_face":"🐵","see_no_evil":"🙈","hear_no_evil":"🙉","speak_no_evil":"🙊","monkey":"🐒","chicken":"🐔","penguin":"🐧","bird":"🐦","baby_chick":"🐤","hatching_chick":"🐣","hatched_chick":"🐥","duck":"🦆","eagle":"🦅","owl":"🦉","bat":"🦇","wolf":"🐺","boar":"🐗","horse":"🐴","unicorn":"🦄","bee":"🐝","honeybee":"🐝","bug":"🐛","butterfly":"🦋","snail":"🐌","shell":"🐚","beetle":"🐞","ant":"🐜","spider":"🕷","spider_web":"🕸","turtle":"🐢","snake":"🐍","lizard":"🦎","scorpion":"🦂","crab":"🦀","squid":"🦑","octopus":"🐙","shrimp":"🦐","tropical_fish":"🐠","fish":"🐟","blowfish":"🐡","dolphin":"🐬","flipper":"🐬","shark":"🦈","whale":"🐳","whale2":"🐋","crocodile":"🐊","leopard":"🐆","tiger2":"🐅","water_buffalo":"🐃","ox":"🐂","cow2":"🐄","deer":"🦌","dromedary_camel":"🐪","camel":"🐫","elephant":"🐘","rhinoceros":"🦏","gorilla":"🦍","racehorse":"🐎","pig2":"🐖","goat":"🐐","ram":"🐏","sheep":"🐑","dog2":"🐕","poodle":"🐩","cat2":"🐈","rooster":"🐓","turkey":"🦃","dove":"🕊","rabbit2":"🐇","mouse2":"🐁","rat":"🐀","chipmunk":"🐿","feet":"🐾","paw_prints":"🐾","dragon":"🐉","dragon_face":"🐲","cactus":"🌵","christmas_tree":"🎄","evergreen_tree":"🌲","deciduous_tree":"🌳","palm_tree":"🌴","seedling":"🌱","herb":"🌿","shamrock":"☘️","four_leaf_clover":"🍀","bamboo":"🎍","tanabata_tree":"🎋","leaves":"🍃","fallen_leaf":"🍂","maple_leaf":"🍁","mushroom":"🍄","ear_of_rice":"🌾","bouquet":"💐","tulip":"🌷","rose":"🌹","wilted_flower":"🥀","sunflower":"🌻","blossom":"🌼","cherry_blossom":"🌸","hibiscus":"🌺","earth_americas":"🌎","earth_africa":"🌍","earth_asia":"🌏","full_moon":"🌕","waning_gibbous_moon":"🌖","last_quarter_moon":"🌗","waning_crescent_moon":"🌘","new_moon":"🌑","waxing_crescent_moon":"🌒","first_quarter_moon":"🌓","moon":"🌔","waxing_gibbous_moon":"🌔","new_moon_with_face":"🌚","full_moon_with_face":"🌝","sun_with_face":"🌞","first_quarter_moon_with_face":"🌛","last_quarter_moon_with_face":"🌜","crescent_moon":"🌙","dizzy":"💫","star":"⭐️","star2":"🌟","sparkles":"✨","zap":"⚡️","fire":"🔥","boom":"💥","collision":"💥","comet":"☄","sunny":"☀️","sun_behind_small_cloud":"🌤","partly_sunny":"⛅️","sun_behind_large_cloud":"🌥","sun_behind_rain_cloud":"🌦","rainbow":"🌈","cloud":"☁️","cloud_with_rain":"🌧","cloud_with_lightning_and_rain":"⛈","cloud_with_lightning":"🌩","cloud_with_snow":"🌨","snowman_with_snow":"☃️","snowman":"⛄️","snowflake":"❄️","wind_face":"🌬","dash":"💨","tornado":"🌪","fog":"🌫","ocean":"🌊","droplet":"💧","sweat_drops":"💦","umbrella":"☔️","green_apple":"🍏","apple":"🍎","pear":"🍐","tangerine":"🍊","orange":"🍊","mandarin":"🍊","lemon":"🍋","banana":"🍌","watermelon":"🍉","grapes":"🍇","strawberry":"🍓","melon":"🍈","cherries":"🍒","peach":"🍑","pineapple":"🍍","kiwi_fruit":"🥝","avocado":"🥑","tomato":"🍅","eggplant":"🍆","cucumber":"🥒","carrot":"🥕","corn":"🌽","hot_pepper":"🌶","potato":"🥔","sweet_potato":"🍠","chestnut":"🌰","peanuts":"🥜","honey_pot":"🍯","croissant":"🥐","bread":"🍞","baguette_bread":"🥖","cheese":"🧀","egg":"🥚","fried_egg":"🍳","bacon":"🥓","pancakes":"🥞","fried_shrimp":"🍤","poultry_leg":"🍗","meat_on_bone":"🍖","pizza":"🍕","hotdog":"🌭","hamburger":"🍔","fries":"🍟","stuffed_flatbread":"🥙","taco":"🌮","burrito":"🌯","green_salad":"🥗","shallow_pan_of_food":"🥘","spaghetti":"🍝","ramen":"🍜","stew":"🍲","fish_cake":"🍥","sushi":"🍣","bento":"🍱","curry":"🍛","rice":"🍚","rice_ball":"🍙","rice_cracker":"🍘","oden":"🍢","dango":"🍡","shaved_ice":"🍧","ice_cream":"🍨","icecream":"🍦","cake":"🍰","birthday":"🎂","custard":"🍮","lollipop":"🍭","candy":"🍬","chocolate_bar":"🍫","popcorn":"🍿","doughnut":"🍩","cookie":"🍪","milk_glass":"🥛","baby_bottle":"🍼","coffee":"☕️","tea":"🍵","sake":"🍶","beer":"🍺","beers":"🍻","clinking_glasses":"🥂","wine_glass":"🍷","tumbler_glass":"🥃","cocktail":"🍸","tropical_drink":"🍹","champagne":"🍾","spoon":"🥄","fork_and_knife":"🍴","plate_with_cutlery":"🍽","soccer":"⚽️","basketball":"🏀","football":"🏈","baseball":"⚾️","tennis":"🎾","volleyball":"🏐","rugby_football":"🏉","8ball":"🎱","ping_pong":"🏓","badminton":"🏸","goal_net":"🥅","ice_hockey":"🏒","field_hockey":"🏑","cricket":"🏏","golf":"⛳️","bow_and_arrow":"🏹","fishing_pole_and_fish":"🎣","boxing_glove":"🥊","martial_arts_uniform":"🥋","ice_skate":"⛸","ski":"🎿","skier":"⛷","snowboarder":"🏂","weight_lifting_woman":"🏋️‍♀️","weight_lifting_man":"🏋","person_fencing":"🤺","women_wrestling":"🤼‍♀","men_wrestling":"🤼‍♂","woman_cartwheeling":"🤸‍♀","man_cartwheeling":"🤸‍♂","basketball_woman":"⛹️‍♀️","basketball_man":"⛹","woman_playing_handball":"🤾‍♀","man_playing_handball":"🤾‍♂","golfing_woman":"🏌️‍♀️","golfing_man":"🏌","surfing_woman":"🏄‍♀","surfing_man":"🏄","surfer":"🏄","swimming_woman":"🏊‍♀","swimming_man":"🏊","swimmer":"🏊","woman_playing_water_polo":"🤽‍♀","man_playing_water_polo":"🤽‍♂","rowing_woman":"🚣‍♀","rowing_man":"🚣","rowboat":"🚣","horse_racing":"🏇","biking_woman":"🚴‍♀","biking_man":"🚴","bicyclist":"🚴","mountain_biking_woman":"🚵‍♀","mountain_biking_man":"🚵","mountain_bicyclist":"🚵","running_shirt_with_sash":"🎽","medal_sports":"🏅","medal_military":"🎖","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","trophy":"🏆","rosette":"🏵","reminder_ribbon":"🎗","ticket":"🎫","tickets":"🎟","circus_tent":"🎪","woman_juggling":"🤹‍♀","man_juggling":"🤹‍♂","performing_arts":"🎭","art":"🎨","clapper":"🎬","microphone":"🎤","headphones":"🎧","musical_score":"🎼","musical_keyboard":"🎹","drum":"🥁","saxophone":"🎷","trumpet":"🎺","guitar":"🎸","violin":"🎻","game_die":"🎲","dart":"🎯","bowling":"🎳","video_game":"🎮","slot_machine":"🎰","car":"🚗","red_car":"🚗","taxi":"🚕","blue_car":"🚙","bus":"🚌","trolleybus":"🚎","racing_car":"🏎","police_car":"🚓","ambulance":"🚑","fire_engine":"🚒","minibus":"🚐","truck":"🚚","articulated_lorry":"🚛","tractor":"🚜","kick_scooter":"🛴","bike":"🚲","motor_scooter":"🛵","motorcycle":"🏍","rotating_light":"🚨","oncoming_police_car":"🚔","oncoming_bus":"🚍","oncoming_automobile":"🚘","oncoming_taxi":"🚖","aerial_tramway":"🚡","mountain_cableway":"🚠","suspension_railway":"🚟","railway_car":"🚃","train":"🚋","mountain_railway":"🚞","monorail":"🚝","bullettrain_side":"🚄","bullettrain_front":"🚅","light_rail":"🚈","steam_locomotive":"🚂","train2":"🚆","metro":"🚇","tram":"🚊","station":"🚉","helicopter":"🚁","small_airplane":"🛩","airplane":"✈️","flight_departure":"🛫","flight_arrival":"🛬","rocket":"🚀","artificial_satellite":"🛰","seat":"💺","canoe":"🛶","boat":"⛵️","sailboat":"⛵️","motor_boat":"🛥","speedboat":"🚤","passenger_ship":"🛳","ferry":"⛴","ship":"🚢","anchor":"⚓️","construction":"🚧","fuelpump":"⛽️","busstop":"🚏","vertical_traffic_light":"🚦","traffic_light":"🚥","world_map":"🗺","moyai":"🗿","statue_of_liberty":"🗽","fountain":"⛲️","tokyo_tower":"🗼","european_castle":"🏰","japanese_castle":"🏯","stadium":"🏟","ferris_wheel":"🎡","roller_coaster":"🎢","carousel_horse":"🎠","parasol_on_ground":"⛱","beach_umbrella":"🏖","desert_island":"🏝","mountain":"⛰","mountain_snow":"🏔","mount_fuji":"🗻","volcano":"🌋","desert":"🏜","camping":"🏕","tent":"⛺️","railway_track":"🛤","motorway":"🛣","building_construction":"🏗","factory":"🏭","house":"🏠","house_with_garden":"🏡","houses":"🏘","derelict_house":"🏚","office":"🏢","department_store":"🏬","post_office":"🏣","european_post_office":"🏤","hospital":"🏥","bank":"🏦","hotel":"🏨","convenience_store":"🏪","school":"🏫","love_hotel":"🏩","wedding":"💒","classical_building":"🏛","church":"⛪️","mosque":"🕌","synagogue":"🕍","kaaba":"🕋","shinto_shrine":"⛩","japan":"🗾","rice_scene":"🎑","national_park":"🏞","sunrise":"🌅","sunrise_over_mountains":"🌄","stars":"🌠","sparkler":"🎇","fireworks":"🎆","city_sunrise":"🌇","city_sunset":"🌆","cityscape":"🏙","night_with_stars":"🌃","milky_way":"🌌","bridge_at_night":"🌉","foggy":"🌁","watch":"⌚️","iphone":"📱","calling":"📲","computer":"💻","keyboard":"⌨️","desktop_computer":"🖥","printer":"🖨","computer_mouse":"🖱","trackball":"🖲","joystick":"🕹","clamp":"🗜","minidisc":"💽","floppy_disk":"💾","cd":"💿","dvd":"📀","vhs":"📼","camera":"📷","camera_flash":"📸","video_camera":"📹","movie_camera":"🎥","film_projector":"📽","film_strip":"🎞","telephone_receiver":"📞","phone":"☎️","telephone":"☎️","pager":"📟","fax":"📠","tv":"📺","radio":"📻","studio_microphone":"🎙","level_slider":"🎚","control_knobs":"🎛","stopwatch":"⏱","timer_clock":"⏲","alarm_clock":"⏰","mantelpiece_clock":"🕰","hourglass":"⌛️","hourglass_flowing_sand":"⏳","satellite":"📡","battery":"🔋","electric_plug":"🔌","bulb":"💡","flashlight":"🔦","candle":"🕯","wastebasket":"🗑","oil_drum":"🛢","money_with_wings":"💸","dollar":"💵","yen":"💴","euro":"💶","pound":"💷","moneybag":"💰","credit_card":"💳","gem":"💎","balance_scale":"⚖️","wrench":"🔧","hammer":"🔨","hammer_and_pick":"⚒","hammer_and_wrench":"🛠","pick":"⛏","nut_and_bolt":"🔩","gear":"⚙️","chains":"⛓","gun":"🔫","bomb":"💣","hocho":"🔪","knife":"🔪","dagger":"🗡","crossed_swords":"⚔️","shield":"🛡","smoking":"🚬","coffin":"⚰️","funeral_urn":"⚱️","amphora":"🏺","crystal_ball":"🔮","prayer_beads":"📿","barber":"💈","alembic":"⚗️","telescope":"🔭","microscope":"🔬","hole":"🕳","pill":"💊","syringe":"💉","thermometer":"🌡","toilet":"🚽","potable_water":"🚰","shower":"🚿","bathtub":"🛁","bath":"🛀","bellhop_bell":"🛎","key":"🔑","old_key":"🗝","door":"🚪","couch_and_lamp":"🛋","bed":"🛏","sleeping_bed":"🛌","framed_picture":"🖼","shopping":"🛍","shopping_cart":"🛒","gift":"🎁","balloon":"🎈","flags":"🎏","ribbon":"🎀","confetti_ball":"🎊","tada":"🎉","dolls":"🎎","izakaya_lantern":"🏮","lantern":"🏮","wind_chime":"🎐","email":"✉️","envelope":"✉️","envelope_with_arrow":"📩","incoming_envelope":"📨","e-mail":"📧","love_letter":"💌","inbox_tray":"📥","outbox_tray":"📤","package":"📦","label":"🏷","mailbox_closed":"📪","mailbox":"📫","mailbox_with_mail":"📬","mailbox_with_no_mail":"📭","postbox":"📮","postal_horn":"📯","scroll":"📜","page_with_curl":"📃","page_facing_up":"📄","bookmark_tabs":"📑","bar_chart":"📊","chart_with_upwards_trend":"📈","chart_with_downwards_trend":"📉","spiral_notepad":"🗒","spiral_calendar":"🗓","calendar":"📆","date":"📅","card_index":"📇","card_file_box":"🗃","ballot_box":"🗳","file_cabinet":"🗄","clipboard":"📋","file_folder":"📁","open_file_folder":"📂","card_index_dividers":"🗂","newspaper_roll":"🗞","newspaper":"📰","notebook":"📓","notebook_with_decorative_cover":"📔","ledger":"📒","closed_book":"📕","green_book":"📗","blue_book":"📘","orange_book":"📙","books":"📚","book":"📖","open_book":"📖","bookmark":"🔖","link":"🔗","paperclip":"📎","paperclips":"🖇","triangular_ruler":"📐","straight_ruler":"📏","pushpin":"📌","round_pushpin":"📍","scissors":"✂️","pen":"🖊","fountain_pen":"🖋","black_nib":"✒️","paintbrush":"🖌","crayon":"🖍","memo":"📝","pencil":"📝","pencil2":"✏️","mag":"🔍","mag_right":"🔎","lock_with_ink_pen":"🔏","closed_lock_with_key":"🔐","lock":"🔒","unlock":"🔓","heart":"❤️","yellow_heart":"💛","green_heart":"💚","blue_heart":"💙","purple_heart":"💜","black_heart":"🖤","broken_heart":"💔","heavy_heart_exclamation":"❣️","two_hearts":"💕","revolving_hearts":"💞","heartbeat":"💓","heartpulse":"💗","sparkling_heart":"💖","cupid":"💘","gift_heart":"💝","heart_decoration":"💟","peace_symbol":"☮️","latin_cross":"✝️","star_and_crescent":"☪️","om":"🕉","wheel_of_dharma":"☸️","star_of_david":"✡️","six_pointed_star":"🔯","menorah":"🕎","yin_yang":"☯️","orthodox_cross":"☦️","place_of_worship":"🛐","ophiuchus":"⛎","aries":"♈️","taurus":"♉️","gemini":"♊️","cancer":"♋️","leo":"♌️","virgo":"♍️","libra":"♎️","scorpius":"♏️","sagittarius":"♐️","capricorn":"♑️","aquarius":"♒️","pisces":"♓️","id":"🆔","atom_symbol":"⚛️","accept":"🉑","radioactive":"☢️","biohazard":"☣️","mobile_phone_off":"📴","vibration_mode":"📳","eight_pointed_black_star":"✴️","vs":"🆚","white_flower":"💮","ideograph_advantage":"🉐","secret":"㊙️","congratulations":"㊗️","u6e80":"🈵","a":"🅰️","b":"🅱️","ab":"🆎","cl":"🆑","o2":"🅾️","sos":"🆘","x":"❌","o":"⭕️","stop_sign":"🛑","no_entry":"⛔️","name_badge":"📛","no_entry_sign":"🚫","anger":"💢","hotsprings":"♨️","no_pedestrians":"🚷","do_not_litter":"🚯","no_bicycles":"🚳","non-potable_water":"🚱","underage":"🔞","no_mobile_phones":"📵","no_smoking":"🚭","exclamation":"❗️","heavy_exclamation_mark":"❗️","grey_exclamation":"❕","question":"❓","grey_question":"❔","bangbang":"‼️","interrobang":"⁉️","low_brightness":"🔅","high_brightness":"🔆","part_alternation_mark":"〽️","warning":"⚠️","children_crossing":"🚸","trident":"🔱","fleur_de_lis":"⚜️","beginner":"🔰","recycle":"♻️","white_check_mark":"✅","chart":"💹","sparkle":"❇️","eight_spoked_asterisk":"✳️","negative_squared_cross_mark":"❎","globe_with_meridians":"🌐","diamond_shape_with_a_dot_inside":"💠","m":"Ⓜ️","cyclone":"🌀","zzz":"💤","atm":"🏧","wc":"🚾","wheelchair":"♿️","parking":"🅿️","sa":"🈂️","passport_control":"🛂","customs":"🛃","baggage_claim":"🛄","left_luggage":"🛅","mens":"🚹","womens":"🚺","baby_symbol":"🚼","restroom":"🚻","put_litter_in_its_place":"🚮","cinema":"🎦","signal_strength":"📶","koko":"🈁","symbols":"🔣","information_source":"","abc":"🔤","abcd":"🔡","capital_abcd":"🔠","ng":"🆖","ok":"🆗","up":"🆙","cool":"🆒","new":"🆕","free":"🆓","zero":"0⃣","one":"1⃣","two":"2⃣","three":"3⃣","four":"4⃣","five":"5⃣","six":"6⃣","seven":"7⃣","eight":"8⃣","nine":"9⃣","keycap_ten":"🔟","hash":"#️⃣","asterisk":"*️⃣","arrow_forward":"▶️","pause_button":"⏸","play_or_pause_button":"⏯","stop_button":"⏹","record_button":"⏺","next_track_button":"⏭","previous_track_button":"⏮","fast_forward":"⏩","rewind":"⏪","arrow_double_up":"⏫","arrow_double_down":"⏬","arrow_backward":"◀️","arrow_up_small":"🔼","arrow_down_small":"🔽","arrow_right":"➡️","arrow_left":"⬅️","arrow_up":"⬆️","arrow_down":"⬇️","arrow_upper_right":"↗️","arrow_lower_right":"↘️","arrow_lower_left":"↙️","arrow_upper_left":"↖️","arrow_up_down":"↕️","left_right_arrow":"↔️","arrow_right_hook":"↪️","leftwards_arrow_with_hook":"↩️","arrow_heading_up":"⤴️","arrow_heading_down":"⤵️","twisted_rightwards_arrows":"🔀","repeat":"🔁","repeat_one":"🔂","arrows_counterclockwise":"🔄","arrows_clockwise":"🔃","musical_note":"🎵","notes":"🎶","heavy_plus_sign":"","heavy_minus_sign":"","heavy_division_sign":"➗","heavy_multiplication_x":"✖️","heavy_dollar_sign":"💲","currency_exchange":"💱","tm":"™️","copyright":"©️","registered":"®️","wavy_dash":"〰️","curly_loop":"➰","loop":"➿","end":"🔚","back":"🔙","on":"🔛","top":"🔝","soon":"🔜","heavy_check_mark":"✔️","ballot_box_with_check":"☑️","radio_button":"🔘","white_circle":"⚪️","black_circle":"⚫️","red_circle":"🔴","large_blue_circle":"🔵","small_red_triangle":"🔺","small_red_triangle_down":"🔻","small_orange_diamond":"🔸","small_blue_diamond":"🔹","large_orange_diamond":"🔶","large_blue_diamond":"🔷","white_square_button":"🔳","black_square_button":"🔲","black_small_square":"▪️","white_small_square":"▫️","black_medium_small_square":"◾️","white_medium_small_square":"◽️","black_medium_square":"◼️","white_medium_square":"◻️","black_large_square":"⬛️","white_large_square":"⬜️","speaker":"🔈","mute":"🔇","sound":"🔉","loud_sound":"🔊","bell":"🔔","no_bell":"🔕","mega":"📣","loudspeaker":"📢","eye_speech_bubble":"👁‍🗨","speech_balloon":"💬","thought_balloon":"💭","right_anger_bubble":"🗯","spades":"♠️","clubs":"♣️","hearts":"♥️","diamonds":"♦️","black_joker":"🃏","flower_playing_cards":"🎴","mahjong":"🀄️","clock1":"🕐","clock2":"🕑","clock3":"🕒","clock4":"🕓","clock5":"🕔","clock6":"🕕","clock7":"🕖","clock8":"🕗","clock9":"🕘","clock10":"🕙","clock11":"🕚","clock12":"🕛","clock130":"🕜","clock230":"🕝","clock330":"🕞","clock430":"🕟","clock530":"🕠","clock630":"🕡","clock730":"🕢","clock830":"🕣","clock930":"🕤","clock1030":"🕥","clock1130":"🕦","clock1230":"🕧","white_flag":"🏳️","black_flag":"🏴","checkered_flag":"🏁","triangular_flag_on_post":"🚩","rainbow_flag":"🏳️‍🌈","afghanistan":"🇦🇫","aland_islands":"🇦🇽","albania":"🇦🇱","algeria":"🇩🇿","american_samoa":"🇦🇸","andorra":"🇦🇩","angola":"🇦🇴","anguilla":"🇦🇮","antarctica":"🇦🇶","antigua_barbuda":"🇦🇬","argentina":"🇦🇷","armenia":"🇦🇲","aruba":"🇦🇼","australia":"🇦🇺","austria":"🇦🇹","azerbaijan":"🇦🇿","bahamas":"🇧🇸","bahrain":"🇧🇭","bangladesh":"🇧🇩","barbados":"🇧🇧","belarus":"🇧🇾","belgium":"🇧🇪","belize":"🇧🇿","benin":"🇧🇯","bermuda":"🇧🇲","bhutan":"🇧🇹","bolivia":"🇧🇴","caribbean_netherlands":"🇧🇶","bosnia_herzegovina":"🇧🇦","botswana":"🇧🇼","brazil":"🇧🇷","british_indian_ocean_territory":"🇮🇴","british_virgin_islands":"🇻🇬","brunei":"🇧🇳","bulgaria":"🇧🇬","burkina_faso":"🇧🇫","burundi":"🇧🇮","cape_verde":"🇨🇻","cambodia":"🇰🇭","cameroon":"🇨🇲","canada":"🇨🇦","canary_islands":"🇮🇨","cayman_islands":"🇰🇾","central_african_republic":"🇨🇫","chad":"🇹🇩","chile":"🇨🇱","cn":"🇨🇳","christmas_island":"🇨🇽","cocos_islands":"🇨🇨","colombia":"🇨🇴","comoros":"🇰🇲","congo_brazzaville":"🇨🇬","congo_kinshasa":"🇨🇩","cook_islands":"🇨🇰","costa_rica":"🇨🇷","cote_divoire":"🇨🇮","croatia":"🇭🇷","cuba":"🇨🇺","curacao":"🇨🇼","cyprus":"🇨🇾","czech_republic":"🇨🇿","denmark":"🇩🇰","djibouti":"🇩🇯","dominica":"🇩🇲","dominican_republic":"🇩🇴","ecuador":"🇪🇨","egypt":"🇪🇬","el_salvador":"🇸🇻","equatorial_guinea":"🇬🇶","eritrea":"🇪🇷","estonia":"🇪🇪","ethiopia":"🇪🇹","eu":"🇪🇺","european_union":"🇪🇺","falkland_islands":"🇫🇰","faroe_islands":"🇫🇴","fiji":"🇫🇯","finland":"🇫🇮","fr":"🇫🇷","french_guiana":"🇬🇫","french_polynesia":"🇵🇫","french_southern_territories":"🇹🇫","gabon":"🇬🇦","gambia":"🇬🇲","georgia":"🇬🇪","de":"🇩🇪","ghana":"🇬🇭","gibraltar":"🇬🇮","greece":"🇬🇷","greenland":"🇬🇱","grenada":"🇬🇩","guadeloupe":"🇬🇵","guam":"🇬🇺","guatemala":"🇬🇹","guernsey":"🇬🇬","guinea":"🇬🇳","guinea_bissau":"🇬🇼","guyana":"🇬🇾","haiti":"🇭🇹","honduras":"🇭🇳","hong_kong":"🇭🇰","hungary":"🇭🇺","iceland":"🇮🇸","india":"🇮🇳","indonesia":"🇮🇩","iran":"🇮🇷","iraq":"🇮🇶","ireland":"🇮🇪","isle_of_man":"🇮🇲","israel":"🇮🇱","it":"🇮🇹","jamaica":"🇯🇲","jp":"🇯🇵","crossed_flags":"🎌","jersey":"🇯🇪","jordan":"🇯🇴","kazakhstan":"🇰🇿","kenya":"🇰🇪","kiribati":"🇰🇮","kosovo":"🇽🇰","kuwait":"🇰🇼","kyrgyzstan":"🇰🇬","laos":"🇱🇦","latvia":"🇱🇻","lebanon":"🇱🇧","lesotho":"🇱🇸","liberia":"🇱🇷","libya":"🇱🇾","liechtenstein":"🇱🇮","lithuania":"🇱🇹","luxembourg":"🇱🇺","macau":"🇲🇴","macedonia":"🇲🇰","madagascar":"🇲🇬","malawi":"🇲🇼","malaysia":"🇲🇾","maldives":"🇲🇻","mali":"🇲🇱","malta":"🇲🇹","marshall_islands":"🇲🇭","martinique":"🇲🇶","mauritania":"🇲🇷","mauritius":"🇲🇺","mayotte":"🇾🇹","mexico":"🇲🇽","micronesia":"🇫🇲","moldova":"🇲🇩","monaco":"🇲🇨","mongolia":"🇲🇳","montenegro":"🇲🇪","montserrat":"🇲🇸","morocco":"🇲🇦","mozambique":"🇲🇿","myanmar":"🇲🇲","namibia":"🇳🇦","nauru":"🇳🇷","nepal":"🇳🇵","netherlands":"🇳🇱","new_caledonia":"🇳🇨","new_zealand":"🇳🇿","nicaragua":"🇳🇮","niger":"🇳🇪","nigeria":"🇳🇬","niue":"🇳🇺","norfolk_island":"🇳🇫","northern_mariana_islands":"🇲🇵","north_korea":"🇰🇵","norway":"🇳🇴","oman":"🇴🇲","pakistan":"🇵🇰","palau":"🇵🇼","palestinian_territories":"🇵🇸","panama":"🇵🇦","papua_new_guinea":"🇵🇬","paraguay":"🇵🇾","peru":"🇵🇪","philippines":"🇵🇭","pitcairn_islands":"🇵🇳","poland":"🇵🇱","portugal":"🇵🇹","puerto_rico":"🇵🇷","qatar":"🇶🇦","reunion":"🇷🇪","romania":"🇷🇴","ru":"🇷🇺","rwanda":"🇷🇼","st_barthelemy":"🇧🇱","st_helena":"🇸🇭","st_kitts_nevis":"🇰🇳","st_lucia":"🇱🇨","st_pierre_miquelon":"🇵🇲","st_vincent_grenadines":"🇻🇨","samoa":"🇼🇸","san_marino":"🇸🇲","sao_tome_principe":"🇸🇹","saudi_arabia":"🇸🇦","senegal":"🇸🇳","serbia":"🇷🇸","seychelles":"🇸🇨","sierra_leone":"🇸🇱","singapore":"🇸🇬","sint_maarten":"🇸🇽","slovakia":"🇸🇰","slovenia":"🇸🇮","solomon_islands":"🇸🇧","somalia":"🇸🇴","south_africa":"🇿🇦","south_georgia_south_sandwich_islands":"🇬🇸","kr":"🇰🇷","south_sudan":"🇸🇸","es":"🇪🇸","sri_lanka":"🇱🇰","sudan":"🇸🇩","suriname":"🇸🇷","swaziland":"🇸🇿","sweden":"🇸🇪","switzerland":"🇨🇭","syria":"🇸🇾","taiwan":"🇹🇼","tajikistan":"🇹🇯","tanzania":"🇹🇿","thailand":"🇹🇭","timor_leste":"🇹🇱","togo":"🇹🇬","tokelau":"🇹🇰","tonga":"🇹🇴","trinidad_tobago":"🇹🇹","tunisia":"🇹🇳","tr":"🇹🇷","turkmenistan":"🇹🇲","turks_caicos_islands":"🇹🇨","tuvalu":"🇹🇻","uganda":"🇺🇬","ukraine":"🇺🇦","united_arab_emirates":"🇦🇪","gb":"🇬🇧","uk":"🇬🇧","us":"🇺🇸","us_virgin_islands":"🇻🇮","uruguay":"🇺🇾","uzbekistan":"🇺🇿","vanuatu":"🇻🇺","vatican_city":"🇻🇦","venezuela":"🇻🇪","vietnam":"🇻🇳","wallis_futuna":"🇼🇫","western_sahara":"🇪🇭","yemen":"🇾🇪","zambia":"🇿🇲","zimbabwe":"🇿🇼"}')},function(a,i,u){a.exports={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}},function(a,i,u){a.exports=function(c,d){return c[d].content}},function(a,i,u){a.exports=function(c,d,m,f,v){var g=c.utils.arrayReplaceAt,y=c.utils.lib.ucmicro,b=new RegExp([y.Z.source,y.P.source,y.Cc.source].join("|"));function w(k,$,S){var C,E=0,D=[];return k.replace(v,function(A,O,F){var B;if(m.hasOwnProperty(A)){if(B=m[A],O>0&&!b.test(F[O-1])||O+A.length<F.length&&!b.test(F[O+A.length]))return}else B=A.slice(1,-1);O>E&&((C=new S("text","",0)).content=k.slice(E,O),D.push(C)),(C=new S("emoji","",0)).markup=B,C.content=d[B],D.push(C),E=O+A.length}),E<k.length&&((C=new S("text","",0)).content=k.slice(E),D.push(C)),D}return function(k){var $,S,C,E,D,A=k.tokens,O=0;for(S=0,C=A.length;S<C;S++)if(A[S].type==="inline")for($=(E=A[S].children).length-1;$>=0;$--)(D=E[$]).type!=="link_open"&&D.type!=="link_close"||D.info==="auto"&&(O-=D.nesting),D.type==="text"&&O===0&&f.test(D.content)&&(A[S].children=E=g(E,$,w(D.content,D.level,k.Token)))}}},function(a,i,u){a.exports=function(c){var d,m=c.defs;c.enabled.length&&(m=Object.keys(m).reduce(function(y,b){return c.enabled.indexOf(b)>=0&&(y[b]=m[b]),y},{})),d=Object.keys(c.shortcuts).reduce(function(y,b){return m[b]?Array.isArray(c.shortcuts[b])?(c.shortcuts[b].forEach(function(w){y[w]=b}),y):(y[c.shortcuts[b]]=b,y):y},{});var f=Object.keys(m).map(function(y){return":"+y+":"}).concat(Object.keys(d)).sort().reverse().map(function(y){return y.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}).join("|"),v=RegExp(f),g=RegExp(f,"g");return{defs:m,shortcuts:d,scanRE:v,replaceRE:g}}},function(a,i,u){var c=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function d(m,f){var v,g,y=m.posMax,b=m.pos;if(m.src.charCodeAt(b)!==126||f||b+2>=y)return!1;for(m.pos=b+1;m.pos<y;){if(m.src.charCodeAt(m.pos)===126){v=!0;break}m.md.inline.skipToken(m)}return v&&b+1!==m.pos?(g=m.src.slice(b+1,m.pos)).match(/(^|[^\\])(\\\\)*\s/)?(m.pos=b,!1):(m.posMax=m.pos,m.pos=b+1,m.push("sub_open","sub",1).markup="~",m.push("text","",0).content=g.replace(c,"$1"),m.push("sub_close","sub",-1).markup="~",m.pos=m.posMax+1,m.posMax=y,!0):(m.pos=b,!1)}a.exports=function(m){m.inline.ruler.after("emphasis","sub",d)}},function(a,i,u){var c=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function d(m,f){var v,g,y=m.posMax,b=m.pos;if(m.src.charCodeAt(b)!==94||f||b+2>=y)return!1;for(m.pos=b+1;m.pos<y;){if(m.src.charCodeAt(m.pos)===94){v=!0;break}m.md.inline.skipToken(m)}return v&&b+1!==m.pos?(g=m.src.slice(b+1,m.pos)).match(/(^|[^\\])(\\\\)*\s/)?(m.pos=b,!1):(m.posMax=m.pos,m.pos=b+1,m.push("sup_open","sup",1).markup="^",m.push("text","",0).content=g.replace(c,"$1"),m.push("sup_close","sup",-1).markup="^",m.pos=m.posMax+1,m.posMax=y,!0):(m.pos=b,!1)}a.exports=function(m){m.inline.ruler.after("emphasis","sup",d)}},function(a,i,u){a.exports=function(c){var d=c.utils.isSpace;function m(f,v){var g,y,b=f.bMarks[v]+f.tShift[v],w=f.eMarks[v];return b>=w||(y=f.src.charCodeAt(b++))!==126&&y!==58||b===(g=f.skipSpaces(b))||g>=w?-1:b}c.block.ruler.before("paragraph","deflist",function(f,v,g,y){var b,w,k,$,S,C,E,D,A,O,F,B,I,M,z,q,H,Q,j,ee;if(y)return!(f.ddIndent<0)&&m(f,v)>=0;if((A=v+1)>=g||f.isEmpty(A)&&++A>=g||f.sCount[A]<f.blkIndent||(w=m(f,A))<0)return!1;E=f.tokens.length,j=!0,(ee=f.push("dl_open","dl",1)).map=C=[v,0],$=v,k=A;e:for(;;){for(Q=!1,(ee=f.push("dt_open","dt",1)).map=[$,$],(ee=f.push("inline","",0)).map=[$,$],ee.content=f.getLines($,$+1,f.blkIndent,!1).trim(),ee.children=[],ee=f.push("dt_close","dt",-1);;){for((ee=f.push("dd_open","dd",1)).map=S=[A,0],H=w,D=f.eMarks[k],O=f.sCount[k]+w-(f.bMarks[k]+f.tShift[k]);H<D&&(b=f.src.charCodeAt(H),d(b));)b===9?O+=4-O%4:O++,H++;if(w=H,q=f.tight,F=f.ddIndent,B=f.blkIndent,z=f.tShift[k],M=f.sCount[k],I=f.parentType,f.blkIndent=f.ddIndent=f.sCount[k]+2,f.tShift[k]=w-f.bMarks[k],f.sCount[k]=O,f.tight=!0,f.parentType="deflist",f.md.block.tokenize(f,k,g,!0),f.tight&&!Q||(j=!1),Q=f.line-k>1&&f.isEmpty(f.line-1),f.tShift[k]=z,f.sCount[k]=M,f.tight=q,f.parentType=I,f.blkIndent=B,f.ddIndent=F,ee=f.push("dd_close","dd",-1),S[1]=A=f.line,A>=g||f.sCount[A]<f.blkIndent)break e;if((w=m(f,A))<0)break;k=A}if(A>=g||($=A,f.isEmpty($))||f.sCount[$]<f.blkIndent||(k=$+1)>=g||(f.isEmpty(k)&&k++,k>=g)||f.sCount[k]<f.blkIndent||(w=m(f,k))<0)break}return ee=f.push("dl_close","dl",-1),C[1]=A,f.line=A,j&&function(G,J){var te,re,ae=G.level+2;for(te=J+2,re=G.tokens.length-2;te<re;te++)G.tokens[te].level===ae&&G.tokens[te].type==="paragraph_open"&&(G.tokens[te+2].hidden=!0,G.tokens[te].hidden=!0,te+=2)}(f,E),!0},{alt:["paragraph","reference","blockquote"]})}},function(a,i,u){a.exports=function(c){var d=c.utils.escapeRE,m=c.utils.arrayReplaceAt,f=c.utils.lib.ucmicro.P.source,v=c.utils.lib.ucmicro.Z.source;c.block.ruler.before("reference","abbr_def",function(g,y,b,w){var k,$,S,C,E,D=g.bMarks[y]+g.tShift[y],A=g.eMarks[y];if(D+2>=A||g.src.charCodeAt(D++)!==42||g.src.charCodeAt(D++)!==91)return!1;for(C=D;D<A;D++){if((S=g.src.charCodeAt(D))===91)return!1;if(S===93){E=D;break}S===92&&D++}return!(E<0||g.src.charCodeAt(E+1)!==58)&&(!!w||(k=g.src.slice(C,E).replace(/\\(.)/g,"$1"),$=g.src.slice(E+2,A).trim(),k.length!==0&&$.length!==0&&(g.env.abbreviations||(g.env.abbreviations={}),g.env.abbreviations[":"+k]===void 0&&(g.env.abbreviations[":"+k]=$),g.line=y+1,!0)))},{alt:["paragraph","reference"]}),c.core.ruler.after("linkify","abbr_replace",function(g){var y,b,w,k,$,S,C,E,D,A,O,F,B,I=g.tokens;if(g.env.abbreviations){for(F=new RegExp("(?:"+Object.keys(g.env.abbreviations).map(function(M){return M.substr(1)}).sort(function(M,z){return z.length-M.length}).map(d).join("|")+")"),O="(^|"+f+"|"+v+"|["+" \r\n$+<=>^`|~".split("").map(d).join("")+"])("+Object.keys(g.env.abbreviations).map(function(M){return M.substr(1)}).sort(function(M,z){return z.length-M.length}).map(d).join("|")+")($|"+f+"|"+v+"|["+" \r\n$+<=>^`|~".split("").map(d).join("")+"])",D=new RegExp(O,"g"),b=0,w=I.length;b<w;b++)if(I[b].type==="inline"){for(y=(k=I[b].children).length-1;y>=0;y--)if((B=k[y]).type==="text"&&(E=0,S=B.content,D.lastIndex=0,C=[],F.test(S))){for(;A=D.exec(S);)(A.index>0||A[1].length>0)&&(($=new g.Token("text","",0)).content=S.slice(E,A.index+A[1].length),C.push($)),($=new g.Token("abbr_open","abbr",1)).attrs=[["title",g.env.abbreviations[":"+A[2]]]],C.push($),($=new g.Token("text","",0)).content=A[2],C.push($),$=new g.Token("abbr_close","abbr",-1),C.push($),D.lastIndex-=A[3].length,E=D.lastIndex;C.length&&(E<S.length&&(($=new g.Token("text","",0)).content=S.slice(E),C.push($)),I[b].children=k=m(k,y,C))}}}})}},function(a,i,u){function c(w,k,$,S){var C=Number(w[k].meta.id+1).toString(),E="";return typeof S.docId=="string"&&(E="-"+S.docId+"-"),E+C}function d(w,k){var $=Number(w[k].meta.id+1).toString();return w[k].meta.subId>0&&($+=":"+w[k].meta.subId),"["+$+"]"}function m(w,k,$,S,C){var E=C.rules.footnote_anchor_name(w,k,$,S,C),D=C.rules.footnote_caption(w,k,$,S,C),A=E;return w[k].meta.subId>0&&(A+=":"+w[k].meta.subId),'<sup class="footnote-ref"><a href="#fn'+E+'" id="fnref'+A+'">'+D+"</a></sup>"}function f(w,k,$){return($.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`)+`<section class="footnotes">
<ol class="footnotes-list">
`}function v(){return`</ol>
</section>
`}function g(w,k,$,S,C){var E=C.rules.footnote_anchor_name(w,k,$,S,C);return w[k].meta.subId>0&&(E+=":"+w[k].meta.subId),'<li id="fn'+E+'" class="footnote-item">'}function y(){return`</li>
`}function b(w,k,$,S,C){var E=C.rules.footnote_anchor_name(w,k,$,S,C);return w[k].meta.subId>0&&(E+=":"+w[k].meta.subId),' <a href="#fnref'+E+'" class="footnote-backref">↩︎</a>'}a.exports=function(w){var k=w.helpers.parseLinkLabel,$=w.utils.isSpace;w.renderer.rules.footnote_ref=m,w.renderer.rules.footnote_block_open=f,w.renderer.rules.footnote_block_close=v,w.renderer.rules.footnote_open=g,w.renderer.rules.footnote_close=y,w.renderer.rules.footnote_anchor=b,w.renderer.rules.footnote_caption=d,w.renderer.rules.footnote_anchor_name=c,w.block.ruler.before("reference","footnote_def",function(S,C,E,D){var A,O,F,B,I,M,z,q,H,Q,j,ee=S.bMarks[C]+S.tShift[C],G=S.eMarks[C];if(ee+4>G||S.src.charCodeAt(ee)!==91||S.src.charCodeAt(ee+1)!==94)return!1;for(I=ee+2;I<G;I++){if(S.src.charCodeAt(I)===32)return!1;if(S.src.charCodeAt(I)===93)break}if(I===ee+2||I+1>=G||S.src.charCodeAt(++I)!==58)return!1;if(D)return!0;for(I++,S.env.footnotes||(S.env.footnotes={}),S.env.footnotes.refs||(S.env.footnotes.refs={}),M=S.src.slice(ee+2,I-2),S.env.footnotes.refs[":"+M]=-1,(z=new S.Token("footnote_reference_open","",1)).meta={label:M},z.level=S.level++,S.tokens.push(z),A=S.bMarks[C],O=S.tShift[C],F=S.sCount[C],B=S.parentType,j=I,q=H=S.sCount[C]+I-(S.bMarks[C]+S.tShift[C]);I<G&&(Q=S.src.charCodeAt(I),$(Q));)Q===9?H+=4-H%4:H++,I++;return S.tShift[C]=I-j,S.sCount[C]=H-q,S.bMarks[C]=j,S.blkIndent+=4,S.parentType="footnote",S.sCount[C]<S.blkIndent&&(S.sCount[C]+=S.blkIndent),S.md.block.tokenize(S,C,E,!0),S.parentType=B,S.blkIndent-=4,S.tShift[C]=O,S.sCount[C]=F,S.bMarks[C]=A,(z=new S.Token("footnote_reference_close","",-1)).level=--S.level,S.tokens.push(z),!0},{alt:["paragraph","reference"]}),w.inline.ruler.after("image","footnote_inline",function(S,C){var E,D,A,O,F=S.posMax,B=S.pos;return!(B+2>=F)&&S.src.charCodeAt(B)===94&&S.src.charCodeAt(B+1)===91&&(E=B+2,!((D=k(S,B+1))<0)&&(C||(S.env.footnotes||(S.env.footnotes={}),S.env.footnotes.list||(S.env.footnotes.list=[]),A=S.env.footnotes.list.length,S.md.inline.parse(S.src.slice(E,D),S.md,S.env,O=[]),S.push("footnote_ref","",0).meta={id:A},S.env.footnotes.list[A]={content:S.src.slice(E,D),tokens:O}),S.pos=D+1,S.posMax=F,!0))}),w.inline.ruler.after("footnote_inline","footnote_ref",function(S,C){var E,D,A,O,F=S.posMax,B=S.pos;if(B+3>F||!S.env.footnotes||!S.env.footnotes.refs||S.src.charCodeAt(B)!==91||S.src.charCodeAt(B+1)!==94)return!1;for(D=B+2;D<F;D++){if(S.src.charCodeAt(D)===32||S.src.charCodeAt(D)===10)return!1;if(S.src.charCodeAt(D)===93)break}return D!==B+2&&!(D>=F)&&(D++,E=S.src.slice(B+2,D-1),S.env.footnotes.refs[":"+E]!==void 0&&(C||(S.env.footnotes.list||(S.env.footnotes.list=[]),S.env.footnotes.refs[":"+E]<0?(A=S.env.footnotes.list.length,S.env.footnotes.list[A]={label:E,count:0},S.env.footnotes.refs[":"+E]=A):A=S.env.footnotes.refs[":"+E],O=S.env.footnotes.list[A].count,S.env.footnotes.list[A].count++,S.push("footnote_ref","",0).meta={id:A,subId:O,label:E}),S.pos=D,S.posMax=F,!0))}),w.core.ruler.after("inline","footnote_tail",function(S){var C,E,D,A,O,F,B,I,M,z,q=!1,H={};if(S.env.footnotes&&(S.tokens=S.tokens.filter(function(Q){return Q.type==="footnote_reference_open"?(q=!0,M=[],z=Q.meta.label,!1):Q.type==="footnote_reference_close"?(q=!1,H[":"+z]=M,!1):(q&&M.push(Q),!q)}),S.env.footnotes.list)){for(F=S.env.footnotes.list,B=new S.Token("footnote_block_open","",1),S.tokens.push(B),C=0,E=F.length;C<E;C++){for((B=new S.Token("footnote_open","",1)).meta={id:C,label:F[C].label},S.tokens.push(B),F[C].tokens?(I=[],(B=new S.Token("paragraph_open","p",1)).block=!0,I.push(B),(B=new S.Token("inline","",0)).children=F[C].tokens,B.content=F[C].content,I.push(B),(B=new S.Token("paragraph_close","p",-1)).block=!0,I.push(B)):F[C].label&&(I=H[":"+F[C].label]),I&&(S.tokens=S.tokens.concat(I)),O=S.tokens[S.tokens.length-1].type==="paragraph_close"?S.tokens.pop():null,A=F[C].count>0?F[C].count:1,D=0;D<A;D++)(B=new S.Token("footnote_anchor","",0)).meta={id:C,subId:D,label:F[C].label},S.tokens.push(B);O&&S.tokens.push(O),B=new S.Token("footnote_close","",-1),S.tokens.push(B)}B=new S.Token("footnote_block_close","",-1),S.tokens.push(B)}})}},function(a,i,u){a.exports=function(c){c.inline.ruler.before("emphasis","ins",function(d,m){var f,v,g,y,b=d.pos,w=d.src.charCodeAt(b);if(m||w!==43||(g=(v=d.scanDelims(d.pos,!0)).length,y=String.fromCharCode(w),g<2))return!1;for(g%2&&(d.push("text","",0).content=y,g--),f=0;f<g;f+=2)d.push("text","",0).content=y+y,d.delimiters.push({marker:w,jump:f,token:d.tokens.length-1,level:d.level,end:-1,open:v.can_open,close:v.can_close});return d.pos+=v.length,!0}),c.inline.ruler2.before("emphasis","ins",function(d){var m,f,v,g,y,b=[],w=d.delimiters,k=d.delimiters.length;for(m=0;m<k;m++)(v=w[m]).marker===43&&v.end!==-1&&(g=w[v.end],(y=d.tokens[v.token]).type="ins_open",y.tag="ins",y.nesting=1,y.markup="++",y.content="",(y=d.tokens[g.token]).type="ins_close",y.tag="ins",y.nesting=-1,y.markup="++",y.content="",d.tokens[g.token-1].type==="text"&&d.tokens[g.token-1].content==="+"&&b.push(g.token-1));for(;b.length;){for(f=(m=b.pop())+1;f<d.tokens.length&&d.tokens[f].type==="ins_close";)f++;m!==--f&&(y=d.tokens[f],d.tokens[f]=d.tokens[m],d.tokens[m]=y)}})}},function(a,i,u){a.exports=function(c){c.inline.ruler.before("emphasis","mark",function(d,m){var f,v,g,y,b=d.pos,w=d.src.charCodeAt(b);if(m||w!==61||(g=(v=d.scanDelims(d.pos,!0)).length,y=String.fromCharCode(w),g<2))return!1;for(g%2&&(d.push("text","",0).content=y,g--),f=0;f<g;f+=2)d.push("text","",0).content=y+y,d.delimiters.push({marker:w,jump:f,token:d.tokens.length-1,level:d.level,end:-1,open:v.can_open,close:v.can_close});return d.pos+=v.length,!0}),c.inline.ruler2.before("emphasis","mark",function(d){var m,f,v,g,y,b=[],w=d.delimiters,k=d.delimiters.length;for(m=0;m<k;m++)(v=w[m]).marker===61&&v.end!==-1&&(g=w[v.end],(y=d.tokens[v.token]).type="mark_open",y.tag="mark",y.nesting=1,y.markup="==",y.content="",(y=d.tokens[g.token]).type="mark_close",y.tag="mark",y.nesting=-1,y.markup="==",y.content="",d.tokens[g.token-1].type==="text"&&d.tokens[g.token-1].content==="="&&b.push(g.token-1));for(;b.length;){for(f=(m=b.pop())+1;f<d.tokens.length&&d.tokens[f].type==="mark_close";)f++;m!==--f&&(y=d.tokens[f],d.tokens[f]=d.tokens[m],d.tokens[m]=y)}})}},function(a,i){var u=!0,c=!1,d=!1;function m(y,b,w){var k=y.attrIndex(b),$=[b,w];k<0?y.attrPush($):y.attrs[k]=$}function f(y,b){for(var w=y[b].level-1,k=b-1;k>=0;k--)if(y[k].level===w)return k;return-1}function v(y,b){return y[b].type==="inline"&&function(w){return w.type==="paragraph_open"}(y[b-1])&&function(w){return w.type==="list_item_open"}(y[b-2])&&function(w){return w.content.indexOf("[ ] ")===0||w.content.indexOf("[x] ")===0||w.content.indexOf("[X] ")===0}(y[b])}function g(y,b){if(y.children.unshift(function(k,$){var S=new $("html_inline","",0),C=u?' disabled="" ':"";return k.content.indexOf("[ ] ")===0?S.content='<input class="task-list-item-checkbox"'+C+'type="checkbox">':k.content.indexOf("[x] ")!==0&&k.content.indexOf("[X] ")!==0||(S.content='<input class="task-list-item-checkbox" checked=""'+C+'type="checkbox">'),S}(y,b)),y.children[1].content=y.children[1].content.slice(3),y.content=y.content.slice(3),c)if(d){y.children.pop();var w="task-item-"+Math.ceil(1e7*Math.random()-1e3);y.children[0].content=y.children[0].content.slice(0,-1)+' id="'+w+'">',y.children.push(function(k,$,S){var C=new S("html_inline","",0);return C.content='<label class="task-list-item-label" for="'+$+'">'+k+"</label>",C.attrs=[{for:$}],C}(y.content,w,b))}else y.children.unshift(function(k){var $=new k("html_inline","",0);return $.content="<label>",$}(b)),y.children.push(function(k){var $=new k("html_inline","",0);return $.content="</label>",$}(b))}a.exports=function(y,b){b&&(u=!b.enabled,c=!!b.label,d=!!b.labelAfter),y.core.ruler.after("inline","github-task-lists",function(w){for(var k=w.tokens,$=2;$<k.length;$++)v(k,$)&&(g(k[$],w.Token),m(k[$-2],"class","task-list-item"+(u?"":" enabled")),m(k[f(k,$-2)],"class","contains-task-list"))})}},function(a,i,u){a.exports=function(c,d,m){var f=(m=m||{}).marker||":",v=f.charCodeAt(0),g=f.length,y=m.validate||function(w){return w.trim().split(" ",2)[0]===d},b=m.render||function(w,k,$,S,C){return w[k].nesting===1&&w[k].attrPush(["class",d]),C.renderToken(w,k,$,S,C)};c.block.ruler.before("fence","container_"+d,function(w,k,$,S){var C,E,D,A,O,F,B,I,M=!1,z=w.bMarks[k]+w.tShift[k],q=w.eMarks[k];if(v!==w.src.charCodeAt(z))return!1;for(C=z+1;C<=q&&f[(C-z)%g]===w.src[C];C++);if((D=Math.floor((C-z)/g))<3||(C-=(C-z)%g,A=w.src.slice(z,C),O=w.src.slice(C,q),!y(O)))return!1;if(S)return!0;for(E=k;!(++E>=$)&&!((z=w.bMarks[E]+w.tShift[E])<(q=w.eMarks[E])&&w.sCount[E]<w.blkIndent);)if(v===w.src.charCodeAt(z)&&!(w.sCount[E]-w.blkIndent>=4)){for(C=z+1;C<=q&&f[(C-z)%g]===w.src[C];C++);if(!(Math.floor((C-z)/g)<D||(C-=(C-z)%g,(C=w.skipSpaces(C))<q))){M=!0;break}}return B=w.parentType,I=w.lineMax,w.parentType="container",w.lineMax=E,(F=w.push("container_"+d+"_open","div",1)).markup=A,F.block=!0,F.info=O,F.map=[k,E],w.md.block.tokenize(w,k+1,E),(F=w.push("container_"+d+"_close","div",-1)).markup=w.src.slice(z,C),F.block=!0,w.parentType=B,w.lineMax=I,w.line=E+(M?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),c.renderer.rules["container_"+d+"_open"]=b,c.renderer.rules["container_"+d+"_close"]=b}},function(a,i,u){a.exports=function(c){var d,m=/^@\[toc\](?:\((?:\s+)?([^\)]+)(?:\s+)?\)?)?(?:\s+?)?$/im,f=function(v){return v.replace(/[^\w\s]/gi,"").split(" ").join("_")};c.renderer.rules.heading_open=function(v,g){var y=v[g].tag,b=v[g+1];return b.type==="inline"?"<"+y+'><a id="'+(f(b.content)+"_"+b.map[0])+'"></a>':"</h1>"},c.renderer.rules.toc_open=function(v,g){return""},c.renderer.rules.toc_close=function(v,g){return""},c.renderer.rules.toc_body=function(v,g){for(var y=[],b=d.tokens,w=b.length,k=0;k<w;k++)if(b[k].type==="heading_close"){var $=b[k],S=b[k-1];S.type==="inline"&&y.push({level:+$.tag.substr(1,1),anchor:f(S.content)+"_"+S.map[0],content:S.content})}var C=0,E=y.map(function(D){var A=[];if(D.level>C)for(var O=D.level-C,F=0;F<O;F++)A.push("<ul>"),C++;else if(D.level<C)for(O=C-D.level,F=0;F<O;F++)A.push("</ul>"),C--;return(A=A.concat(['<li><a href="#',D.anchor,'">',D.content,"</a></li>"])).join("")});return"<h3>"+v[g].content+"</h3>"+E.join("")+new Array(C+1).join("</ul>")},c.core.ruler.push("grab_state",function(v){d=v}),c.inline.ruler.after("emphasis","toc",function(v,g){for(;v.src.indexOf(`
`)>=0&&v.src.indexOf(`
`)<v.src.indexOf("@[toc]");)v.tokens.slice(-1)[0].type==="softbreak"&&(v.src=v.src.split(`
`).slice(1).join(`
`),v.pos=0);var y;if(v.src.charCodeAt(v.pos)!==64||v.src.charCodeAt(v.pos+1)!==91)return!1;var b=m.exec(v.src);if(!b||(b=b.filter(function(S){return S})).length<1||g)return!1;(y=v.push("toc_open","toc",1)).markup="@[toc]",y=v.push("toc_body","",0);var w="Table of Contents";b.length>1&&(w=b.pop()),y.content=w,y=v.push("toc_close","toc",-1);var k=0,$=v.src.indexOf(`
`);return k=$!==-1?v.pos+$:v.pos+v.posMax+1,v.pos=k,!0})}},function(a,i){a.exports=function(u,c){(c=c||{}).highlighted===void 0&&(c.highlighted=!0),c.hljs===void 0&&(c.hljs="auto"),typeof c.langCheck!="function"&&(c.langCheck=function(){}),u.options.highlight=function(d,m){var f=c.hljs;if(c.hljs==="auto"&&(f=window.hljs),c.highlighted&&m&&f){if(f.getLanguage(m))return'<pre><div class="hljs"><code class="'+u.options.langPrefix+m+'">'+f.highlight(m,d,!0).value+"</code></div></pre>";typeof c.langCheck=="function"&&c.langCheck(m)}return'<pre><code class="'+u.options.langPrefix+m+'">'+u.utils.escapeHtml(d)+"</code></pre>"}}},function(a,i,u){var c=null;function d(v,g){var y,b,w=v.posMax,k=!0,$=!0;return y=g>0?v.src.charCodeAt(g-1):-1,b=g+1<=w?v.src.charCodeAt(g+1):-1,(y===32||y===9||b>=48&&b<=57)&&($=!1),b!==32&&b!==9||(k=!1),{can_open:k,can_close:$}}function m(v,g){if(!c&&window.katex&&(c=window.katex),!c)return!1;var y,b,w,k;if(v.src[v.pos]!=="$")return!1;if(!d(v,v.pos).can_open)return g||(v.pending+="$"),v.pos+=1,!0;for(b=y=v.pos+1;(b=v.src.indexOf("$",b))!==-1;){for(k=b-1;v.src[k]==="\\";)k-=1;if((b-k)%2==1)break;b+=1}return b===-1?(g||(v.pending+="$"),v.pos=y,!0):b-y==0?(g||(v.pending+="$$"),v.pos=y+1,!0):d(v,b).can_close?(g||((w=v.push("math_inline","math",0)).markup="$",w.content=v.src.slice(y,b)),v.pos=b+1,!0):(g||(v.pending+="$"),v.pos=y,!0)}function f(v,g,y,b){if(!c&&window.katex&&(c=window.katex),!c)return!1;var w,k,$,S,C,E=!1,D=v.bMarks[g]+v.tShift[g],A=v.eMarks[g];if(D+2>A||v.src.slice(D,D+2)!=="$$")return!1;if(D+=2,w=v.src.slice(D,A),b)return!0;for(w.trim().slice(-2)==="$$"&&(w=w.trim().slice(0,-2),E=!0),$=g;!E&&!(++$>=y)&&!((D=v.bMarks[$]+v.tShift[$])<(A=v.eMarks[$])&&v.tShift[$]<v.blkIndent);)v.src.slice(D,A).trim().slice(-2)==="$$"&&(S=v.src.slice(0,A).lastIndexOf("$$"),k=v.src.slice(D,S),E=!0);return v.line=$+1,(C=v.push("math_block","math",0)).block=!0,C.content=(w&&w.trim()?w+`
`:"")+v.getLines(g+1,$,v.tShift[g],!0)+(k&&k.trim()?k:""),C.map=[g,v.line],C.markup="$$",!0}a.exports=function(v,g){g=g||{},v.inline.ruler.after("escape","math_inline",m),v.block.ruler.after("blockquote","math_block",f,{alt:["paragraph","reference","blockquote","list"]}),v.renderer.rules.math_inline=function(y,b){return function(w){!c&&window.katex&&(c=window.katex),g.displayMode=!1;try{return c.renderToString(w,g)}catch(k){return g.throwOnError&&console.log(k),w}}(y[b].content)},v.renderer.rules.math_block=function(y,b){return function(w){!c&&window.katex&&(c=window.katex),g.displayMode=!0;try{return"<p>"+c.renderToString(w,g)+"</p>"}catch(k){return g.throwOnError&&console.log(k),w}}(y[b].content)+`
`}}},function(a,i){a.exports=function(u,c){u.image_add=function(m,f){u.__image instanceof Object||(u.__image={}),u.__image[m]=f},u.image_del=function(m){u.__image instanceof Object||(u.__image={}),delete u.__image[m]};var d=u.renderer.rules.image;u.renderer.rules.image=function(m,f,v,g,y){var b=m[f].attrs;if(u.__image instanceof Object){for(var w=0;w<b.length;w++)if(b[w][0]=="src"&&u.__image.hasOwnProperty(m[f].attrs[w][1])){b.push(["rel",b[w][1]]),b[w][1]=u.__image[m[f].attrs[w][1]];break}}return d(m,f,v,g,y)}}},function(a,i,u){u(71)},function(a,i,u){(i=u(43)(!1)).push([a.i,".op-icon.dropdown-wrapper.dropdown[data-v-218640b4]{position:relative}.op-icon.dropdown-wrapper.dropdown[type=button][data-v-218640b4]{-webkit-appearance:unset}.op-icon.dropdown-wrapper.dropdown .popup-dropdown[data-v-218640b4]{position:absolute;display:block;background:#fff;top:32px;left:-45px;min-width:130px;z-index:1600;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,0.1)}.op-icon.dropdown-wrapper.dropdown .popup-dropdown .dropdown-item[data-v-218640b4]:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown .dropdown-item[data-v-218640b4]:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.op-header[data-v-218640b4]{left:-30px;min-width:90px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-enter-active[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-leave-active[data-v-218640b4]{opacity:1}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-enter[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-leave-active[data-v-218640b4]{opacity:0}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.transition[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.transition .dropdown-item[data-v-218640b4]{transition:all .2s linear 0s}.op-icon.dropdown-wrapper.dropdown .dropdown-item[data-v-218640b4]{height:40px;line-height:40px;font-size:14px;color:#606266;position:relative}.op-icon.dropdown-wrapper.dropdown .dropdown-item[data-v-218640b4]:hover{color:#303133;background-color:#e9e9eb}.op-icon.dropdown-wrapper.dropdown .dropdown-item input[data-v-218640b4]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.op-icon.dropdown-wrapper.dropdown .dropdown-images[data-v-218640b4]{box-sizing:border-box}.op-icon.dropdown-wrapper.dropdown .dropdown-images button[data-v-218640b4]{position:absolute;top:-1px;right:5px;font-size:14px}.op-icon.dropdown-wrapper.dropdown .dropdown-images button[data-v-218640b4]:hover{color:#f56c6c;background-color:transparent}.op-icon.dropdown-wrapper.dropdown .dropdown-images span[data-v-218640b4]{display:inline-block;width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.op-icon.dropdown-wrapper.dropdown .dropdown-images:hover .image-show[data-v-218640b4]{display:block !important}.op-icon.dropdown-wrapper.dropdown .dropdown-images .image-show[data-v-218640b4]{display:none;position:absolute;left:-128px;top:0;width:120px;height:90px;object-fit:contain;border:1px solid #f2f6fc}.op-icon.dropdown-wrapper.dropdown .dropdown-images .image-show.transition[data-v-218640b4]{transition:all .2s linear 0s}.op-icon.dropdown-wrapper.dropdown .dropdown-images.transition[data-v-218640b4]{transition:all .2s linear 0s}.add-image-link-wrapper[data-v-218640b4]{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.add-image-link-wrapper.fade-enter-active[data-v-218640b4],.add-image-link-wrapper.fade-leave-active[data-v-218640b4]{opacity:1}.add-image-link-wrapper.fade-enter[data-v-218640b4],.add-image-link-wrapper.fade-leave-active[data-v-218640b4]{opacity:0}.add-image-link-wrapper .add-image-link[data-v-218640b4]{position:fixed;box-sizing:border-box;text-align:center;width:24%;left:38%;height:auto;padding:40px;top:25%;transition:all .1s linear 0s;z-index:3;background:#fff;border-radius:2px}@media only screen and (max-width:1500px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:34%;left:33%}}@media only screen and (max-width:1000px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:50%;left:25%}}@media only screen and (max-width:600px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:80%;left:10%}}.add-image-link-wrapper .add-image-link i[data-v-218640b4]{font-size:24px;position:absolute;right:8px;top:6px;color:rgba(0,0,0,0.7);cursor:pointer}.add-image-link-wrapper .add-image-link .title[data-v-218640b4]{font-size:20px;margin-bottom:30px;margin-top:10px;font-weight:500 !important}.add-image-link-wrapper .add-image-link .input-wrapper[data-v-218640b4]{margin-top:10px;width:80%;border:1px solid #eeece8;text-align:left;margin-left:10%;height:35px}.add-image-link-wrapper .add-image-link .input-wrapper input[data-v-218640b4]{height:32px;line-height:32px;font-size:15px;width:90%;margin-left:8px;border:none;outline:none}.add-image-link-wrapper .add-image-link .op-btn[data-v-218640b4]{width:100px;height:35px;display:inline-block;margin-top:30px;cursor:pointer;text-align:center;line-height:35px;opacity:.9;border-radius:2px;letter-spacing:1px;font-size:15px}.add-image-link-wrapper .add-image-link .op-btn.sure[data-v-218640b4]{background:#2185d0;color:#fff;margin-left:5%}.add-image-link-wrapper .add-image-link .op-btn.sure[data-v-218640b4]:hover{opacity:1}.add-image-link-wrapper .add-image-link .op-btn.cancel[data-v-218640b4]{border:1px solid #bcbcbc;color:#bcbcbc}.add-image-link-wrapper .add-image-link .op-btn.cancel[data-v-218640b4]:hover{color:#000}",""]),a.exports=i},function(a,i,u){u.r(i);var c=u(78),d=u(24);for(var m in d)["default"].indexOf(m)<0&&function(g){u.d(i,g,function(){return d[g]})}(m);u(217);var f=u(3);const v=u.n(f)()(d.default,[["render",c.a]]);i.default=v},function(a,i,u){u(73)},function(a,i,u){(i=u(43)(!1)).push([a.i,'.auto-textarea-wrapper{position:relative;width:100%;margin:0;padding:0;line-height:normal}.auto-textarea-wrapper .auto-textarea-block{display:block;white-space:pre-wrap;word-wrap:break-word !important;visibility:hidden;overflow:hidden;margin:0;padding:0;box-sizing:border-box;font-size:100%}.auto-textarea-wrapper .auto-textarea-input{font-family:Menlo,"Ubuntu Mono",Consolas,"Courier New","Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow-y:hidden;color:#2c3e50}.auto-textarea-wrapper .auto-textarea-input.no-border{outline:0 none;border:none !important}.auto-textarea-wrapper .auto-textarea-input.no-resize{resize:none}',""]),a.exports=i},function(a,i,u){u(74)},function(a,i,u){(i=u(43)(!1)).push([a.i,"textarea:disabled{background-color:#fff}.v-note-wrapper{position:relative;min-width:300px;min-height:300px;display:flex;flex-direction:column;background-color:#fff;z-index:1500;text-align:left;border:1px solid #f2f6fc;border-radius:4px}.v-note-wrapper.fullscreen{position:fixed;left:0;right:0;bottom:0;top:0;margin:0;height:auto;z-index:1501}.v-note-wrapper .v-note-op{padding:1px;width:100%;display:flex;white-space:pre-line;flex:none;min-height:40px;user-select:none;border-bottom:1px solid #f2f6fc;border-radius:4px 4px 0 0;background-color:#fff;z-index:1}.v-note-wrapper .v-note-op .v-left-item,.v-note-wrapper .v-note-op .v-right-item{flex:1;min-height:40px;box-sizing:border-box}.v-note-wrapper .v-note-op .v-left-item .op-icon-divider,.v-note-wrapper .v-note-op .v-right-item .op-icon-divider{height:40px;border-left:1px solid #e5e5e5;margin:0 6px 0 4px}.v-note-wrapper .v-note-op .v-left-item .op-icon,.v-note-wrapper .v-note-op .v-right-item .op-icon{box-sizing:border-box;display:inline-block;cursor:pointer;height:28px;width:28px;margin:6px 0 5px 0;font-size:14px;padding:4.5px 6px 5px 3.5px;color:#757575;border-radius:5px;text-align:center;background:none;border:none;outline:none;line-height:1}.v-note-wrapper .v-note-op .v-left-item .op-icon.dropdown-wrapper,.v-note-wrapper .v-note-op .v-right-item .op-icon.dropdown-wrapper{line-height:18px}.v-note-wrapper .v-note-op .v-left-item .op-icon.selected,.v-note-wrapper .v-note-op .v-right-item .op-icon.selected{color:rgba(0,0,0,0.8);background:#eaeaea}.v-note-wrapper .v-note-op .v-left-item .op-icon:hover,.v-note-wrapper .v-note-op .v-right-item .op-icon:hover{color:rgba(0,0,0,0.8);background:#e9e9eb}.v-note-wrapper .v-note-op .v-left-item.transition .op-icon,.v-note-wrapper .v-note-op .v-right-item.transition .op-icon{transition:all .2s linear 0s}.v-note-wrapper .v-note-op .v-right-item{text-align:right;padding-right:6px;max-width:30%}.v-note-wrapper .v-note-op .v-left-item{text-align:left;padding-left:6px}.v-note-wrapper .v-note-panel{position:relative;border-top:none;display:flex;flex:1;width:100%;box-sizing:border-box;overflow:hidden}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper{flex:0 0 50%;width:50%;padding:0;overflow-y:scroll;overflow-x:hidden;box-sizing:border-box;cursor:text;border-bottom-left-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.transition{transition:all .2s linear 0s}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.single-edit{width:100%;flex:0 0 100%;overflow-y:auto}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.single-show{width:0;flex:0 0 0;display:none}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper .content-div{width:100%;padding:20px 25px;box-sizing:border-box;outline:0 none;border:none !important;color:#2c3e50;font-size:16px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper .content-input-wrapper{width:100%;padding:8px 25px 15px 25px}.v-note-wrapper .v-note-panel .v-note-show{flex:0 0 50%;width:50%;overflow-y:auto;padding:0 0;transition:all .2s linear 0s}.v-note-wrapper .v-note-panel .v-note-show.single-show{flex:0 0 100%;width:100%}.v-note-wrapper .v-note-panel .v-note-show .v-show-content,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html{width:100%;height:100%;padding:8px 25px 15px 25px;overflow-y:auto;box-sizing:border-box;overflow-x:hidden}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb:hover,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb:active,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-track,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style-border-radius::-webkit-scrollbar,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper{display:flex;position:absolute;width:250px;right:0;top:0;bottom:0;height:100%;flex-direction:column;background-color:rgba(255,255,255,0.98);border-left:1px solid #f2f6fc;border-right:1px solid #f2f6fc}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.transition{transition:all .1s linear 0s}@media only screen and (max-width:768px){.v-note-wrapper .v-note-panel .v-note-navigation-wrapper{width:50%}}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-enter-active,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-leave-active{height:100%}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-enter,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-leave-active{height:0}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title{height:50px;width:100%;border-bottom:1px solid #f2f6fc;flex:none;line-height:50px;font-size:16px;box-sizing:border-box;padding:0 12px 0 18px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title .v-note-navigation-close{float:right;color:#606266;font-size:18px;cursor:pointer}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title .v-note-navigation-close:hover{color:#303133}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content{overflow-y:auto;flex:1;padding:8px 0}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h1,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6{margin:2px 0;font-weight:500;font-size:17px;color:#2185d0;cursor:pointer;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 12px;border-bottom:none}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h1:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6:hover{color:#483d8b;text-decoration-line:underline}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2{padding-left:27px;font-size:17px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3{padding-left:42px;font-size:17px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4{padding-left:58px;font-size:15px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5{padding-left:72px;font-size:15px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6{padding-left:87px;font-size:15px}.v-note-wrapper .v-note-read-model{position:relative;display:none;width:100%;height:100%;background:#fbfbfb;padding:30px 8% 50px 8%;overflow-y:auto;box-sizing:border-box}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-read-model.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-read-model.show{display:block}.v-note-wrapper.shadow{border:none}.v-note-help-wrapper{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.v-note-help-wrapper.fade-enter-active,.v-note-help-wrapper.fade-leave-active{opacity:1}.v-note-help-wrapper.fade-enter,.v-note-help-wrapper.fade-leave-active{opacity:0}.v-note-help-wrapper .v-note-help-content{position:relative;width:60%;max-width:800px;margin:30px auto;height:90%;min-width:320px;transition:all .1s linear 0s;z-index:3;border:1px solid #f2f6fc}.v-note-help-wrapper .v-note-help-content.shadow{border:none;box-shadow:0 0 5px rgba(0,0,0,0.157),0 0 5px rgba(0,0,0,0.227)}.v-note-help-wrapper .v-note-help-content i{font-size:28px;position:absolute;right:15px;top:8px;color:rgba(0,0,0,0.7);cursor:pointer}.v-note-help-wrapper .v-note-help-content i:hover{color:#000}.v-note-help-wrapper .v-note-help-content .v-note-help-show{width:100%;height:100%;font-size:18px;background:#fbfbfb;overflow-y:auto;padding:2% 6%}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-img-wrapper{position:fixed;display:flex;justify-content:center;align-items:center;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.v-note-img-wrapper.fade-enter-active,.v-note-img-wrapper.fade-leave-active{opacity:1}.v-note-img-wrapper.fade-enter,.v-note-img-wrapper.fade-leave-active{opacity:0}.v-note-img-wrapper img{flex:0 0 auto;z-index:3}.v-note-img-wrapper i{font-size:28px;position:absolute;right:15px;top:8px;color:rgba(255,255,255,0.7);cursor:pointer}.v-note-img-wrapper i:hover{color:#fff}",""]),a.exports=i},function(a,i,u){u(233)},function(a,i){},,,,,,,,,function(a,i){},,function(a,i){}])})})(mavonEditor$1);var mavonEditorExports=mavonEditor$1.exports;const mavonEditor=getDefaultExportFromCjs$1(mavonEditorExports);(function a(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const f of m.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&c(f)}).observe(document,{childList:!0,subtree:!0});function u(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(d){if(d.ep)return;d.ep=!0;const m=u(d);fetch(d.href,m)}})();const aliases$1={collapse:"fas fa-chevron-up",complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sortAsc:"fas fa-arrow-up",sortDesc:"fas fa-arrow-down",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus",calendar:"fas fa-calendar",treeviewCollapse:"fas fa-caret-down",treeviewExpand:"fas fa-caret-right",eyeDropper:"fas fa-eye-dropper"},fa={component:VClassIcon},vuetify=createVuetify({defaults:{},theme:{defaultTheme:"light",themes:{light:{colors:{background:"#f5efea",tandoor:"#ddbf86",primary:"#b98766",secondary:"#b55e4f",success:"#82aa8b",info:"#385f84",warning:"#eaaa21",error:"#a7240e"}}}},icons:{defaultSet:"fa",aliases:aliases$1,sets:{fa}}});class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(i){super(`Invalid DateTime: ${i.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(i){super(`Invalid Interval: ${i.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(i){super(`Invalid Duration: ${i.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(i){super(`Invalid unit ${i}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const n$1="numeric",s="short",l="long",DATE_SHORT={year:n$1,month:n$1,day:n$1},DATE_MED={year:n$1,month:s,day:n$1},DATE_MED_WITH_WEEKDAY={year:n$1,month:s,day:n$1,weekday:s},DATE_FULL={year:n$1,month:l,day:n$1},DATE_HUGE={year:n$1,month:l,day:n$1,weekday:l},TIME_SIMPLE={hour:n$1,minute:n$1},TIME_WITH_SECONDS={hour:n$1,minute:n$1,second:n$1},TIME_WITH_SHORT_OFFSET={hour:n$1,minute:n$1,second:n$1,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n$1,minute:n$1,second:n$1,timeZoneName:l},TIME_24_SIMPLE={hour:n$1,minute:n$1,hourCycle:"h23"},TIME_24_WITH_SECONDS={hour:n$1,minute:n$1,second:n$1,hourCycle:"h23"},TIME_24_WITH_SHORT_OFFSET={hour:n$1,minute:n$1,second:n$1,hourCycle:"h23",timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n$1,minute:n$1,second:n$1,hourCycle:"h23",timeZoneName:l},DATETIME_SHORT={year:n$1,month:n$1,day:n$1,hour:n$1,minute:n$1},DATETIME_SHORT_WITH_SECONDS={year:n$1,month:n$1,day:n$1,hour:n$1,minute:n$1,second:n$1},DATETIME_MED={year:n$1,month:s,day:n$1,hour:n$1,minute:n$1},DATETIME_MED_WITH_SECONDS={year:n$1,month:s,day:n$1,hour:n$1,minute:n$1,second:n$1},DATETIME_MED_WITH_WEEKDAY={year:n$1,month:s,day:n$1,weekday:s,hour:n$1,minute:n$1},DATETIME_FULL={year:n$1,month:l,day:n$1,hour:n$1,minute:n$1,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n$1,month:l,day:n$1,hour:n$1,minute:n$1,second:n$1,timeZoneName:s},DATETIME_HUGE={year:n$1,month:l,day:n$1,weekday:l,hour:n$1,minute:n$1,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n$1,month:l,day:n$1,weekday:l,hour:n$1,minute:n$1,second:n$1,timeZoneName:l};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(i,u){throw new ZoneIsAbstractError}formatOffset(i,u){throw new ZoneIsAbstractError}offset(i){throw new ZoneIsAbstractError}equals(i){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let singleton$1=null;class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(i,{format:u,locale:c}){return parseZoneInfo(i,u,c)}formatOffset(i,u){return formatOffset(this.offset(i),u)}offset(i){return-new Date(i).getTimezoneOffset()}equals(i){return i.type==="system"}get isValid(){return!0}}let dtfCache={};function makeDTF(a){return dtfCache[a]||(dtfCache[a]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),dtfCache[a]}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(a,i){const u=a.format(i).replace(/\u200E/g,""),c=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(u),[,d,m,f,v,g,y,b]=c;return[f,d,m,v,g,y,b]}function partsOffset(a,i){const u=a.formatToParts(i),c=[];for(let d=0;d<u.length;d++){const{type:m,value:f}=u[d],v=typeToPos[m];m==="era"?c[v]=f:isUndefined$2(v)||(c[v]=parseInt(f,10))}return c}let ianaZoneCache={};class IANAZone extends Zone{static create(i){return ianaZoneCache[i]||(ianaZoneCache[i]=new IANAZone(i)),ianaZoneCache[i]}static resetCache(){ianaZoneCache={},dtfCache={}}static isValidSpecifier(i){return this.isValidZone(i)}static isValidZone(i){if(!i)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:i}).format(),!0}catch{return!1}}constructor(i){super(),this.zoneName=i,this.valid=IANAZone.isValidZone(i)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(i,{format:u,locale:c}){return parseZoneInfo(i,u,c,this.name)}formatOffset(i,u){return formatOffset(this.offset(i),u)}offset(i){const u=new Date(i);if(isNaN(u))return NaN;const c=makeDTF(this.name);let[d,m,f,v,g,y,b]=c.formatToParts?partsOffset(c,u):hackyOffset(c,u);v==="BC"&&(d=-Math.abs(d)+1);const k=objToLocalTS({year:d,month:m,day:f,hour:g===24?0:g,minute:y,second:b,millisecond:0});let $=+u;const S=$%1e3;return $-=S>=0?S:1e3+S,(k-$)/(60*1e3)}equals(i){return i.type==="iana"&&i.name===this.name}get isValid(){return this.valid}}let intlLFCache={};function getCachedLF(a,i={}){const u=JSON.stringify([a,i]);let c=intlLFCache[u];return c||(c=new Intl.ListFormat(a,i),intlLFCache[u]=c),c}let intlDTCache={};function getCachedDTF(a,i={}){const u=JSON.stringify([a,i]);let c=intlDTCache[u];return c||(c=new Intl.DateTimeFormat(a,i),intlDTCache[u]=c),c}let intlNumCache={};function getCachedINF(a,i={}){const u=JSON.stringify([a,i]);let c=intlNumCache[u];return c||(c=new Intl.NumberFormat(a,i),intlNumCache[u]=c),c}let intlRelCache={};function getCachedRTF(a,i={}){const{base:u,...c}=i,d=JSON.stringify([a,c]);let m=intlRelCache[d];return m||(m=new Intl.RelativeTimeFormat(a,i),intlRelCache[d]=m),m}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}let weekInfoCache={};function getCachedWeekInfo(a){let i=weekInfoCache[a];if(!i){const u=new Intl.Locale(a);i="getWeekInfo"in u?u.getWeekInfo():u.weekInfo,weekInfoCache[a]=i}return i}function parseLocaleString(a){const i=a.indexOf("-x-");i!==-1&&(a=a.substring(0,i));const u=a.indexOf("-u-");if(u===-1)return[a];{let c,d;try{c=getCachedDTF(a).resolvedOptions(),d=a}catch{const g=a.substring(0,u);c=getCachedDTF(g).resolvedOptions(),d=g}const{numberingSystem:m,calendar:f}=c;return[d,m,f]}}function intlConfigString(a,i,u){return(u||i)&&(a.includes("-u-")||(a+="-u"),u&&(a+=`-ca-${u}`),i&&(a+=`-nu-${i}`)),a}function mapMonths(a){const i=[];for(let u=1;u<=12;u++){const c=DateTime.utc(2009,u,1);i.push(a(c))}return i}function mapWeekdays(a){const i=[];for(let u=1;u<=7;u++){const c=DateTime.utc(2016,11,13+u);i.push(a(c))}return i}function listStuff(a,i,u,c){const d=a.listingMode();return d==="error"?null:d==="en"?u(i):c(i)}function supportsFastNumbers(a){return a.numberingSystem&&a.numberingSystem!=="latn"?!1:a.numberingSystem==="latn"||!a.locale||a.locale.startsWith("en")||new Intl.DateTimeFormat(a.intl).resolvedOptions().numberingSystem==="latn"}class PolyNumberFormatter{constructor(i,u,c){this.padTo=c.padTo||0,this.floor=c.floor||!1;const{padTo:d,floor:m,...f}=c;if(!u||Object.keys(f).length>0){const v={useGrouping:!1,...c};c.padTo>0&&(v.minimumIntegerDigits=c.padTo),this.inf=getCachedINF(i,v)}}format(i){if(this.inf){const u=this.floor?Math.floor(i):i;return this.inf.format(u)}else{const u=this.floor?Math.floor(i):roundTo(i,3);return padStart(u,this.padTo)}}}class PolyDateFormatter{constructor(i,u,c){this.opts=c,this.originalZone=void 0;let d;if(this.opts.timeZone)this.dt=i;else if(i.zone.type==="fixed"){const f=-1*(i.offset/60),v=f>=0?`Etc/GMT+${f}`:`Etc/GMT${f}`;i.offset!==0&&IANAZone.create(v).valid?(d=v,this.dt=i):(d="UTC",this.dt=i.offset===0?i:i.setZone("UTC").plus({minutes:i.offset}),this.originalZone=i.zone)}else i.zone.type==="system"?this.dt=i:i.zone.type==="iana"?(this.dt=i,d=i.zone.name):(d="UTC",this.dt=i.setZone("UTC").plus({minutes:i.offset}),this.originalZone=i.zone);const m={...this.opts};m.timeZone=m.timeZone||d,this.dtf=getCachedDTF(u,m)}format(){return this.originalZone?this.formatToParts().map(({value:i})=>i).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const i=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?i.map(u=>{if(u.type==="timeZoneName"){const c=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...u,value:c}}else return u}):i}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(i,u,c){this.opts={style:"long",...c},!u&&hasRelative()&&(this.rtf=getCachedRTF(i,c))}format(i,u){return this.rtf?this.rtf.format(i,u):formatRelativeTime(u,i,this.opts.numeric,this.opts.style!=="long")}formatToParts(i,u){return this.rtf?this.rtf.formatToParts(i,u):[]}}const fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};let Locale$1=class wi{static fromOpts(i){return wi.create(i.locale,i.numberingSystem,i.outputCalendar,i.weekSettings,i.defaultToEN)}static create(i,u,c,d,m=!1){const f=i||Settings.defaultLocale,v=f||(m?"en-US":systemLocale()),g=u||Settings.defaultNumberingSystem,y=c||Settings.defaultOutputCalendar,b=validateWeekSettings(d)||Settings.defaultWeekSettings;return new wi(v,g,y,b,f)}static resetCache(){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={}}static fromObject({locale:i,numberingSystem:u,outputCalendar:c,weekSettings:d}={}){return wi.create(i,u,c,d)}constructor(i,u,c,d,m){const[f,v,g]=parseLocaleString(i);this.locale=f,this.numberingSystem=u||v||null,this.outputCalendar=c||g||null,this.weekSettings=d,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=m,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}listingMode(){const i=this.isEnglish(),u=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return i&&u?"en":"intl"}clone(i){return!i||Object.getOwnPropertyNames(i).length===0?this:wi.create(i.locale||this.specifiedLocale,i.numberingSystem||this.numberingSystem,i.outputCalendar||this.outputCalendar,validateWeekSettings(i.weekSettings)||this.weekSettings,i.defaultToEN||!1)}redefaultToEN(i={}){return this.clone({...i,defaultToEN:!0})}redefaultToSystem(i={}){return this.clone({...i,defaultToEN:!1})}months(i,u=!1){return listStuff(this,i,months$1,()=>{const c=u?{month:i,day:"numeric"}:{month:i},d=u?"format":"standalone";return this.monthsCache[d][i]||(this.monthsCache[d][i]=mapMonths(m=>this.extract(m,c,"month"))),this.monthsCache[d][i]})}weekdays(i,u=!1){return listStuff(this,i,weekdays,()=>{const c=u?{weekday:i,year:"numeric",month:"long",day:"numeric"}:{weekday:i},d=u?"format":"standalone";return this.weekdaysCache[d][i]||(this.weekdaysCache[d][i]=mapWeekdays(m=>this.extract(m,c,"weekday"))),this.weekdaysCache[d][i]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){const i={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map(u=>this.extract(u,i,"dayperiod"))}return this.meridiemCache})}eras(i){return listStuff(this,i,eras,()=>{const u={era:i};return this.eraCache[i]||(this.eraCache[i]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map(c=>this.extract(c,u,"era"))),this.eraCache[i]})}extract(i,u,c){const d=this.dtFormatter(i,u),m=d.formatToParts(),f=m.find(v=>v.type.toLowerCase()===c);return f?f.value:null}numberFormatter(i={}){return new PolyNumberFormatter(this.intl,i.forceSimple||this.fastNumbers,i)}dtFormatter(i,u={}){return new PolyDateFormatter(i,this.intl,u)}relFormatter(i={}){return new PolyRelFormatter(this.intl,this.isEnglish(),i)}listFormatter(i={}){return getCachedLF(this.intl,i)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo()?getCachedWeekInfo(this.locale):fallbackWeekSettings}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(i){return this.locale===i.locale&&this.numberingSystem===i.numberingSystem&&this.outputCalendar===i.outputCalendar}},singleton=null;class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(i){return i===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(i)}static parseSpecifier(i){if(i){const u=i.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(u)return new FixedOffsetZone(signedOffset(u[1],u[2]))}return null}constructor(i){super(),this.fixed=i}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(i,u){return formatOffset(this.fixed,u)}get isUniversal(){return!0}offset(){return this.fixed}equals(i){return i.type==="fixed"&&i.fixed===this.fixed}get isValid(){return!0}}class InvalidZone extends Zone{constructor(i){super(),this.zoneName=i}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function normalizeZone(a,i){if(isUndefined$2(a)||a===null)return i;if(a instanceof Zone)return a;if(isString$4(a)){const u=a.toLowerCase();return u==="default"?i:u==="local"||u==="system"?SystemZone.instance:u==="utc"||u==="gmt"?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(u)||IANAZone.create(a)}else return isNumber$2(a)?FixedOffsetZone.instance(a):typeof a=="object"&&"offset"in a&&typeof a.offset=="function"?a:new InvalidZone(a)}let now$1=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;class Settings{static get now(){return now$1}static set now(i){now$1=i}static set defaultZone(i){defaultZone=i}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(i){defaultLocale=i}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(i){defaultNumberingSystem=i}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(i){defaultOutputCalendar=i}static get defaultWeekSettings(){return defaultWeekSettings}static set defaultWeekSettings(i){defaultWeekSettings=validateWeekSettings(i)}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(i){twoDigitCutoffYear=i%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(i){throwOnInvalid=i}static resetCaches(){Locale$1.resetCache(),IANAZone.resetCache()}}class Invalid{constructor(i,u){this.reason=i,this.explanation=u}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(a,i){return new Invalid("unit out of range",`you specified ${i} (of type ${typeof i}) as a ${a}, which is invalid`)}function dayOfWeek(a,i,u){const c=new Date(Date.UTC(a,i-1,u));a<100&&a>=0&&c.setUTCFullYear(c.getUTCFullYear()-1900);const d=c.getUTCDay();return d===0?7:d}function computeOrdinal(a,i,u){return u+(isLeapYear$1(a)?leapLadder:nonLeapLadder)[i-1]}function uncomputeOrdinal(a,i){const u=isLeapYear$1(a)?leapLadder:nonLeapLadder,c=u.findIndex(m=>m<i),d=i-u[c];return{month:c+1,day:d}}function isoWeekdayToLocal(a,i){return(a-i+7)%7+1}function gregorianToWeek(a,i=4,u=1){const{year:c,month:d,day:m}=a,f=computeOrdinal(c,d,m),v=isoWeekdayToLocal(dayOfWeek(c,d,m),u);let g=Math.floor((f-v+14-i)/7),y;return g<1?(y=c-1,g=weeksInWeekYear(y,i,u)):g>weeksInWeekYear(c,i,u)?(y=c+1,g=1):y=c,{weekYear:y,weekNumber:g,weekday:v,...timeObject(a)}}function weekToGregorian(a,i=4,u=1){const{weekYear:c,weekNumber:d,weekday:m}=a,f=isoWeekdayToLocal(dayOfWeek(c,1,i),u),v=daysInYear$1(c);let g=d*7+m-f-7+i,y;g<1?(y=c-1,g+=daysInYear$1(y)):g>v?(y=c+1,g-=daysInYear$1(c)):y=c;const{month:b,day:w}=uncomputeOrdinal(y,g);return{year:y,month:b,day:w,...timeObject(a)}}function gregorianToOrdinal(a){const{year:i,month:u,day:c}=a,d=computeOrdinal(i,u,c);return{year:i,ordinal:d,...timeObject(a)}}function ordinalToGregorian(a){const{year:i,ordinal:u}=a,{month:c,day:d}=uncomputeOrdinal(i,u);return{year:i,month:c,day:d,...timeObject(a)}}function usesLocalWeekValues(a,i){if(!isUndefined$2(a.localWeekday)||!isUndefined$2(a.localWeekNumber)||!isUndefined$2(a.localWeekYear)){if(!isUndefined$2(a.weekday)||!isUndefined$2(a.weekNumber)||!isUndefined$2(a.weekYear))throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields");return isUndefined$2(a.localWeekday)||(a.weekday=a.localWeekday),isUndefined$2(a.localWeekNumber)||(a.weekNumber=a.localWeekNumber),isUndefined$2(a.localWeekYear)||(a.weekYear=a.localWeekYear),delete a.localWeekday,delete a.localWeekNumber,delete a.localWeekYear,{minDaysInFirstWeek:i.getMinDaysInFirstWeek(),startOfWeek:i.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData(a,i=4,u=1){const c=isInteger(a.weekYear),d=integerBetween(a.weekNumber,1,weeksInWeekYear(a.weekYear,i,u)),m=integerBetween(a.weekday,1,7);return c?d?m?!1:unitOutOfRange("weekday",a.weekday):unitOutOfRange("week",a.weekNumber):unitOutOfRange("weekYear",a.weekYear)}function hasInvalidOrdinalData(a){const i=isInteger(a.year),u=integerBetween(a.ordinal,1,daysInYear$1(a.year));return i?u?!1:unitOutOfRange("ordinal",a.ordinal):unitOutOfRange("year",a.year)}function hasInvalidGregorianData(a){const i=isInteger(a.year),u=integerBetween(a.month,1,12),c=integerBetween(a.day,1,daysInMonth$1(a.year,a.month));return i?u?c?!1:unitOutOfRange("day",a.day):unitOutOfRange("month",a.month):unitOutOfRange("year",a.year)}function hasInvalidTimeData(a){const{hour:i,minute:u,second:c,millisecond:d}=a,m=integerBetween(i,0,23)||i===24&&u===0&&c===0&&d===0,f=integerBetween(u,0,59),v=integerBetween(c,0,59),g=integerBetween(d,0,999);return m?f?v?g?!1:unitOutOfRange("millisecond",d):unitOutOfRange("second",c):unitOutOfRange("minute",u):unitOutOfRange("hour",i)}function isUndefined$2(a){return typeof a>"u"}function isNumber$2(a){return typeof a=="number"}function isInteger(a){return typeof a=="number"&&a%1===0}function isString$4(a){return typeof a=="string"}function isDate$2(a){return Object.prototype.toString.call(a)==="[object Date]"}function hasRelative(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function hasLocaleWeekInfo(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function maybeArray(a){return Array.isArray(a)?a:[a]}function bestBy(a,i,u){if(a.length!==0)return a.reduce((c,d)=>{const m=[i(d),d];return c&&u(c[0],m[0])===c[0]?c:m},null)[1]}function pick$1(a,i){return i.reduce((u,c)=>(u[c]=a[c],u),{})}function hasOwnProperty$g(a,i){return Object.prototype.hasOwnProperty.call(a,i)}function validateWeekSettings(a){if(a==null)return null;if(typeof a!="object")throw new InvalidArgumentError("Week settings must be an object");if(!integerBetween(a.firstDay,1,7)||!integerBetween(a.minimalDays,1,7)||!Array.isArray(a.weekend)||a.weekend.some(i=>!integerBetween(i,1,7)))throw new InvalidArgumentError("Invalid week settings");return{firstDay:a.firstDay,minimalDays:a.minimalDays,weekend:Array.from(a.weekend)}}function integerBetween(a,i,u){return isInteger(a)&&a>=i&&a<=u}function floorMod(a,i){return a-i*Math.floor(a/i)}function padStart(a,i=2){const u=a<0;let c;return u?c="-"+(""+-a).padStart(i,"0"):c=(""+a).padStart(i,"0"),c}function parseInteger(a){if(!(isUndefined$2(a)||a===null||a===""))return parseInt(a,10)}function parseFloating(a){if(!(isUndefined$2(a)||a===null||a===""))return parseFloat(a)}function parseMillis(a){if(!(isUndefined$2(a)||a===null||a==="")){const i=parseFloat("0."+a)*1e3;return Math.floor(i)}}function roundTo(a,i,u=!1){const c=10**i;return(u?Math.trunc:Math.round)(a*c)/c}function isLeapYear$1(a){return a%4===0&&(a%100!==0||a%400===0)}function daysInYear$1(a){return isLeapYear$1(a)?366:365}function daysInMonth$1(a,i){const u=floorMod(i-1,12)+1,c=a+(i-u)/12;return u===2?isLeapYear$1(c)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][u-1]}function objToLocalTS(a){let i=Date.UTC(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.millisecond);return a.year<100&&a.year>=0&&(i=new Date(i),i.setUTCFullYear(a.year,a.month-1,a.day)),+i}function firstWeekOffset$1(a,i,u){return-isoWeekdayToLocal(dayOfWeek(a,1,i),u)+i-1}function weeksInWeekYear(a,i=4,u=1){const c=firstWeekOffset$1(a,i,u),d=firstWeekOffset$1(a+1,i,u);return(daysInYear$1(a)-c+d)/7}function untruncateYear$1(a){return a>99?a:a>Settings.twoDigitCutoffYear?1900+a:2e3+a}function parseZoneInfo(a,i,u,c=null){const d=new Date(a),m={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};c&&(m.timeZone=c);const f={timeZoneName:i,...m},v=new Intl.DateTimeFormat(u,f).formatToParts(d).find(g=>g.type.toLowerCase()==="timezonename");return v?v.value:null}function signedOffset(a,i){let u=parseInt(a,10);Number.isNaN(u)&&(u=0);const c=parseInt(i,10)||0,d=u<0||Object.is(u,-0)?-c:c;return u*60+d}function asNumber(a){const i=Number(a);if(typeof a=="boolean"||a===""||Number.isNaN(i))throw new InvalidArgumentError(`Invalid unit value ${a}`);return i}function normalizeObject(a,i){const u={};for(const c in a)if(hasOwnProperty$g(a,c)){const d=a[c];if(d==null)continue;u[i(c)]=asNumber(d)}return u}function formatOffset(a,i){const u=Math.trunc(Math.abs(a/60)),c=Math.trunc(Math.abs(a%60)),d=a>=0?"+":"-";switch(i){case"short":return`${d}${padStart(u,2)}:${padStart(c,2)}`;case"narrow":return`${d}${u}${c>0?`:${c}`:""}`;case"techie":return`${d}${padStart(u,2)}${padStart(c,2)}`;default:throw new RangeError(`Value format ${i} is out of range for property format`)}}function timeObject(a){return pick$1(a,["hour","minute","second","millisecond"])}const monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months$1(a){switch(a){case"narrow":return[...monthsNarrow];case"short":return[...monthsShort];case"long":return[...monthsLong];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(a){switch(a){case"narrow":return[...weekdaysNarrow];case"short":return[...weekdaysShort];case"long":return[...weekdaysLong];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"];function eras(a){switch(a){case"narrow":return[...erasNarrow];case"short":return[...erasShort];case"long":return[...erasLong];default:return null}}function meridiemForDateTime(a){return meridiems[a.hour<12?0:1]}function weekdayForDateTime(a,i){return weekdays(i)[a.weekday-1]}function monthForDateTime(a,i){return months$1(i)[a.month-1]}function eraForDateTime(a,i){return eras(i)[a.year<0?0:1]}function formatRelativeTime(a,i,u="always",c=!1){const d={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},m=["hours","minutes","seconds"].indexOf(a)===-1;if(u==="auto"&&m){const w=a==="days";switch(i){case 1:return w?"tomorrow":`next ${d[a][0]}`;case-1:return w?"yesterday":`last ${d[a][0]}`;case 0:return w?"today":`this ${d[a][0]}`}}const f=Object.is(i,-0)||i<0,v=Math.abs(i),g=v===1,y=d[a],b=c?g?y[1]:y[2]||y[1]:g?d[a][0]:a;return f?`${v} ${b} ago`:`in ${v} ${b}`}function stringifyTokens(a,i){let u="";for(const c of a)c.literal?u+=c.val:u+=i(c.val);return u}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};class Formatter{static create(i,u={}){return new Formatter(i,u)}static parseFormat(i){let u=null,c="",d=!1;const m=[];for(let f=0;f<i.length;f++){const v=i.charAt(f);v==="'"?(c.length>0&&m.push({literal:d||/^\s+$/.test(c),val:c}),u=null,c="",d=!d):d||v===u?c+=v:(c.length>0&&m.push({literal:/^\s+$/.test(c),val:c}),c=v,u=v)}return c.length>0&&m.push({literal:d||/^\s+$/.test(c),val:c}),m}static macroTokenToFormatOpts(i){return macroTokenToFormatOpts[i]}constructor(i,u){this.opts=u,this.loc=i,this.systemLoc=null}formatWithSystemDefault(i,u){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(i,{...this.opts,...u}).format()}dtFormatter(i,u={}){return this.loc.dtFormatter(i,{...this.opts,...u})}formatDateTime(i,u){return this.dtFormatter(i,u).format()}formatDateTimeParts(i,u){return this.dtFormatter(i,u).formatToParts()}formatInterval(i,u){return this.dtFormatter(i.start,u).dtf.formatRange(i.start.toJSDate(),i.end.toJSDate())}resolvedOptions(i,u){return this.dtFormatter(i,u).resolvedOptions()}num(i,u=0){if(this.opts.forceSimple)return padStart(i,u);const c={...this.opts};return u>0&&(c.padTo=u),this.loc.numberFormatter(c).format(i)}formatDateTimeFromString(i,u){const c=this.loc.listingMode()==="en",d=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",m=($,S)=>this.loc.extract(i,$,S),f=$=>i.isOffsetFixed&&i.offset===0&&$.allowZ?"Z":i.isValid?i.zone.formatOffset(i.ts,$.format):"",v=()=>c?meridiemForDateTime(i):m({hour:"numeric",hourCycle:"h12"},"dayperiod"),g=($,S)=>c?monthForDateTime(i,$):m(S?{month:$}:{month:$,day:"numeric"},"month"),y=($,S)=>c?weekdayForDateTime(i,$):m(S?{weekday:$}:{weekday:$,month:"long",day:"numeric"},"weekday"),b=$=>{const S=Formatter.macroTokenToFormatOpts($);return S?this.formatWithSystemDefault(i,S):$},w=$=>c?eraForDateTime(i,$):m({era:$},"era"),k=$=>{switch($){case"S":return this.num(i.millisecond);case"u":case"SSS":return this.num(i.millisecond,3);case"s":return this.num(i.second);case"ss":return this.num(i.second,2);case"uu":return this.num(Math.floor(i.millisecond/10),2);case"uuu":return this.num(Math.floor(i.millisecond/100));case"m":return this.num(i.minute);case"mm":return this.num(i.minute,2);case"h":return this.num(i.hour%12===0?12:i.hour%12);case"hh":return this.num(i.hour%12===0?12:i.hour%12,2);case"H":return this.num(i.hour);case"HH":return this.num(i.hour,2);case"Z":return f({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return f({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return f({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return i.zone.offsetName(i.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return i.zone.offsetName(i.ts,{format:"long",locale:this.loc.locale});case"z":return i.zoneName;case"a":return v();case"d":return d?m({day:"numeric"},"day"):this.num(i.day);case"dd":return d?m({day:"2-digit"},"day"):this.num(i.day,2);case"c":return this.num(i.weekday);case"ccc":return y("short",!0);case"cccc":return y("long",!0);case"ccccc":return y("narrow",!0);case"E":return this.num(i.weekday);case"EEE":return y("short",!1);case"EEEE":return y("long",!1);case"EEEEE":return y("narrow",!1);case"L":return d?m({month:"numeric",day:"numeric"},"month"):this.num(i.month);case"LL":return d?m({month:"2-digit",day:"numeric"},"month"):this.num(i.month,2);case"LLL":return g("short",!0);case"LLLL":return g("long",!0);case"LLLLL":return g("narrow",!0);case"M":return d?m({month:"numeric"},"month"):this.num(i.month);case"MM":return d?m({month:"2-digit"},"month"):this.num(i.month,2);case"MMM":return g("short",!1);case"MMMM":return g("long",!1);case"MMMMM":return g("narrow",!1);case"y":return d?m({year:"numeric"},"year"):this.num(i.year);case"yy":return d?m({year:"2-digit"},"year"):this.num(i.year.toString().slice(-2),2);case"yyyy":return d?m({year:"numeric"},"year"):this.num(i.year,4);case"yyyyyy":return d?m({year:"numeric"},"year"):this.num(i.year,6);case"G":return w("short");case"GG":return w("long");case"GGGGG":return w("narrow");case"kk":return this.num(i.weekYear.toString().slice(-2),2);case"kkkk":return this.num(i.weekYear,4);case"W":return this.num(i.weekNumber);case"WW":return this.num(i.weekNumber,2);case"n":return this.num(i.localWeekNumber);case"nn":return this.num(i.localWeekNumber,2);case"ii":return this.num(i.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(i.localWeekYear,4);case"o":return this.num(i.ordinal);case"ooo":return this.num(i.ordinal,3);case"q":return this.num(i.quarter);case"qq":return this.num(i.quarter,2);case"X":return this.num(Math.floor(i.ts/1e3));case"x":return this.num(i.ts);default:return b($)}};return stringifyTokens(Formatter.parseFormat(u),k)}formatDurationFromString(i,u){const c=g=>{switch(g[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},d=g=>y=>{const b=c(y);return b?this.num(g.get(b),y.length):y},m=Formatter.parseFormat(u),f=m.reduce((g,{literal:y,val:b})=>y?g:g.concat(b),[]),v=i.shiftTo(...f.map(c).filter(g=>g));return stringifyTokens(m,d(v))}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...a){const i=a.reduce((u,c)=>u+c.source,"");return RegExp(`^${i}$`)}function combineExtractors(...a){return i=>a.reduce(([u,c,d],m)=>{const[f,v,g]=m(i,d);return[{...u,...f},v||c,g]},[{},null,1]).slice(0,2)}function parse$1(a,...i){if(a==null)return[null,null];for(const[u,c]of i){const d=u.exec(a);if(d)return c(d)}return[null,null]}function simpleParse(...a){return(i,u)=>{const c={};let d;for(d=0;d<a.length;d++)c[a[d]]=parseInteger(i[u+d]);return[c,null,u+d]}}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone=`(?:${offsetRegex.source}?(?:\\[(${ianaRegex.source})\\])?)?`,isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,isoTimeRegex=RegExp(`${isoTimeBaseRegex.source}${isoExtendedZone}`),isoTimeExtensionRegex=RegExp(`(?:T${isoTimeRegex.source})?`),isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/,isoOrdinalRegex=/(\d{4})-?(\d{3})/,extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay"),extractISOOrdinalData=simpleParse("year","ordinal"),sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex=RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`),sqlTimeExtensionRegex=RegExp(`(?: ${sqlTimeRegex.source})?`);function int$1(a,i,u){const c=a[i];return isUndefined$2(c)?u:parseInteger(c)}function extractISOYmd(a,i){return[{year:int$1(a,i),month:int$1(a,i+1,1),day:int$1(a,i+2,1)},null,i+3]}function extractISOTime(a,i){return[{hours:int$1(a,i,0),minutes:int$1(a,i+1,0),seconds:int$1(a,i+2,0),milliseconds:parseMillis(a[i+3])},null,i+4]}function extractISOOffset(a,i){const u=!a[i]&&!a[i+1],c=signedOffset(a[i+1],a[i+2]),d=u?null:FixedOffsetZone.instance(c);return[{},d,i+3]}function extractIANAZone(a,i){const u=a[i]?IANAZone.create(a[i]):null;return[{},u,i+1]}const isoTimeOnly=RegExp(`^T?${isoTimeBaseRegex.source}$`),isoDuration=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration(a){const[i,u,c,d,m,f,v,g,y]=a,b=i[0]==="-",w=g&&g[0]==="-",k=($,S=!1)=>$!==void 0&&(S||$&&b)?-$:$;return[{years:k(parseFloating(u)),months:k(parseFloating(c)),weeks:k(parseFloating(d)),days:k(parseFloating(m)),hours:k(parseFloating(f)),minutes:k(parseFloating(v)),seconds:k(parseFloating(g),g==="-0"),milliseconds:k(parseMillis(y),w)}]}const obsOffsets$1={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(a,i,u,c,d,m,f){const v={year:i.length===2?untruncateYear$1(parseInteger(i)):parseInteger(i),month:monthsShort.indexOf(u)+1,day:parseInteger(c),hour:parseInteger(d),minute:parseInteger(m)};return f&&(v.second=parseInteger(f)),a&&(v.weekday=a.length>3?weekdaysLong.indexOf(a)+1:weekdaysShort.indexOf(a)+1),v}const rfc2822$1=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(a){const[,i,u,c,d,m,f,v,g,y,b,w]=a,k=fromStrings(i,d,c,u,m,f,v);let $;return g?$=obsOffsets$1[g]:y?$=0:$=signedOffset(b,w),[k,new FixedOffsetZone($)]}function preprocessRFC2822$1(a){return a.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(a){const[,i,u,c,d,m,f,v]=a;return[fromStrings(i,d,c,u,m,f,v),FixedOffsetZone.utcInstance]}function extractASCII(a){const[,i,u,c,d,m,f,v]=a;return[fromStrings(i,v,u,c,d,m,f),FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(a){return parse$1(a,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(a){return parse$1(preprocessRFC2822$1(a),[rfc2822$1,extractRFC2822])}function parseHTTPDate(a){return parse$1(a,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(a){return parse$1(a,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(a){return parse$1(a,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(a){return parse$1(a,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2="Invalid Duration",lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$5(a,i,u=!1){const c={values:u?i.values:{...a.values,...i.values||{}},loc:a.loc.clone(i.loc),conversionAccuracy:i.conversionAccuracy||a.conversionAccuracy,matrix:i.matrix||a.matrix};return new Duration$1(c)}function durationToMillis(a,i){let u=i.milliseconds??0;for(const c of reverseUnits.slice(1))i[c]&&(u+=i[c]*a[c].milliseconds);return u}function normalizeValues(a,i){const u=durationToMillis(a,i)<0?-1:1;orderedUnits$1.reduceRight((c,d)=>{if(isUndefined$2(i[d]))return c;if(c){const m=i[c]*u,f=a[d][c],v=Math.floor(m/f);i[d]+=v*u,i[c]-=v*f*u}return d},null),orderedUnits$1.reduce((c,d)=>{if(isUndefined$2(i[d]))return c;if(c){const m=i[c]%1;i[c]-=m,i[d]+=m*a[c][d]}return d},null)}function removeZeroes(a){const i={};for(const[u,c]of Object.entries(a))c!==0&&(i[u]=c);return i}let Duration$1=class cr{constructor(i){const u=i.conversionAccuracy==="longterm"||!1;let c=u?accurateMatrix:casualMatrix;i.matrix&&(c=i.matrix),this.values=i.values,this.loc=i.loc||Locale$1.create(),this.conversionAccuracy=u?"longterm":"casual",this.invalid=i.invalid||null,this.matrix=c,this.isLuxonDuration=!0}static fromMillis(i,u){return cr.fromObject({milliseconds:i},u)}static fromObject(i,u={}){if(i==null||typeof i!="object")throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${i===null?"null":typeof i}`);return new cr({values:normalizeObject(i,cr.normalizeUnit),loc:Locale$1.fromObject(u),conversionAccuracy:u.conversionAccuracy,matrix:u.matrix})}static fromDurationLike(i){if(isNumber$2(i))return cr.fromMillis(i);if(cr.isDuration(i))return i;if(typeof i=="object")return cr.fromObject(i);throw new InvalidArgumentError(`Unknown duration argument ${i} of type ${typeof i}`)}static fromISO(i,u){const[c]=parseISODuration(i);return c?cr.fromObject(c,u):cr.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static fromISOTime(i,u){const[c]=parseISOTimeOnly(i);return c?cr.fromObject(c,u):cr.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static invalid(i,u=null){if(!i)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");const c=i instanceof Invalid?i:new Invalid(i,u);if(Settings.throwOnInvalid)throw new InvalidDurationError(c);return new cr({invalid:c})}static normalizeUnit(i){const u={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[i&&i.toLowerCase()];if(!u)throw new InvalidUnitError(i);return u}static isDuration(i){return i&&i.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(i,u={}){const c={...u,floor:u.round!==!1&&u.floor!==!1};return this.isValid?Formatter.create(this.loc,c).formatDurationFromString(this,i):INVALID$2}toHuman(i={}){if(!this.isValid)return INVALID$2;const u=orderedUnits$1.map(c=>{const d=this.values[c];return isUndefined$2(d)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...i,unit:c.slice(0,-1)}).format(d)}).filter(c=>c);return this.loc.listFormatter({type:"conjunction",style:i.listStyle||"narrow",...i}).format(u)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let i="P";return this.years!==0&&(i+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(i+=this.months+this.quarters*3+"M"),this.weeks!==0&&(i+=this.weeks+"W"),this.days!==0&&(i+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(i+="T"),this.hours!==0&&(i+=this.hours+"H"),this.minutes!==0&&(i+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(i+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),i==="P"&&(i+="T0S"),i}toISOTime(i={}){if(!this.isValid)return null;const u=this.toMillis();return u<0||u>=864e5?null:(i={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...i,includeOffset:!1},DateTime.fromMillis(u,{zone:"UTC"}).toISOTime(i))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(i){if(!this.isValid)return this;const u=cr.fromDurationLike(i),c={};for(const d of orderedUnits$1)(hasOwnProperty$g(u.values,d)||hasOwnProperty$g(this.values,d))&&(c[d]=u.get(d)+this.get(d));return clone$5(this,{values:c},!0)}minus(i){if(!this.isValid)return this;const u=cr.fromDurationLike(i);return this.plus(u.negate())}mapUnits(i){if(!this.isValid)return this;const u={};for(const c of Object.keys(this.values))u[c]=asNumber(i(this.values[c],c));return clone$5(this,{values:u},!0)}get(i){return this[cr.normalizeUnit(i)]}set(i){if(!this.isValid)return this;const u={...this.values,...normalizeObject(i,cr.normalizeUnit)};return clone$5(this,{values:u})}reconfigure({locale:i,numberingSystem:u,conversionAccuracy:c,matrix:d}={}){const f={loc:this.loc.clone({locale:i,numberingSystem:u}),matrix:d,conversionAccuracy:c};return clone$5(this,f)}as(i){return this.isValid?this.shiftTo(i).get(i):NaN}normalize(){if(!this.isValid)return this;const i=this.toObject();return normalizeValues(this.matrix,i),clone$5(this,{values:i},!0)}rescale(){if(!this.isValid)return this;const i=removeZeroes(this.normalize().shiftToAll().toObject());return clone$5(this,{values:i},!0)}shiftTo(...i){if(!this.isValid)return this;if(i.length===0)return this;i=i.map(f=>cr.normalizeUnit(f));const u={},c={},d=this.toObject();let m;for(const f of orderedUnits$1)if(i.indexOf(f)>=0){m=f;let v=0;for(const y in c)v+=this.matrix[y][f]*c[y],c[y]=0;isNumber$2(d[f])&&(v+=d[f]);const g=Math.trunc(v);u[f]=g,c[f]=(v*1e3-g*1e3)/1e3}else isNumber$2(d[f])&&(c[f]=d[f]);for(const f in c)c[f]!==0&&(u[m]+=f===m?c[f]:c[f]/this.matrix[m][f]);return normalizeValues(this.matrix,u),clone$5(this,{values:u},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const i={};for(const u of Object.keys(this.values))i[u]=this.values[u]===0?0:-this.values[u];return clone$5(this,{values:i},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(i){if(!this.isValid||!i.isValid||!this.loc.equals(i.loc))return!1;function u(c,d){return c===void 0||c===0?d===void 0||d===0:c===d}for(const c of orderedUnits$1)if(!u(this.values[c],i.values[c]))return!1;return!0}};const INVALID$1="Invalid Interval";function validateStartEnd(a,i){return!a||!a.isValid?Interval.invalid("missing or invalid start"):!i||!i.isValid?Interval.invalid("missing or invalid end"):i<a?Interval.invalid("end before start",`The end of an interval must be after its start, but you had start=${a.toISO()} and end=${i.toISO()}`):null}class Interval{constructor(i){this.s=i.start,this.e=i.end,this.invalid=i.invalid||null,this.isLuxonInterval=!0}static invalid(i,u=null){if(!i)throw new InvalidArgumentError("need to specify a reason the Interval is invalid");const c=i instanceof Invalid?i:new Invalid(i,u);if(Settings.throwOnInvalid)throw new InvalidIntervalError(c);return new Interval({invalid:c})}static fromDateTimes(i,u){const c=friendlyDateTime(i),d=friendlyDateTime(u),m=validateStartEnd(c,d);return m??new Interval({start:c,end:d})}static after(i,u){const c=Duration$1.fromDurationLike(u),d=friendlyDateTime(i);return Interval.fromDateTimes(d,d.plus(c))}static before(i,u){const c=Duration$1.fromDurationLike(u),d=friendlyDateTime(i);return Interval.fromDateTimes(d.minus(c),d)}static fromISO(i,u){const[c,d]=(i||"").split("/",2);if(c&&d){let m,f;try{m=DateTime.fromISO(c,u),f=m.isValid}catch{f=!1}let v,g;try{v=DateTime.fromISO(d,u),g=v.isValid}catch{g=!1}if(f&&g)return Interval.fromDateTimes(m,v);if(f){const y=Duration$1.fromISO(d,u);if(y.isValid)return Interval.after(m,y)}else if(g){const y=Duration$1.fromISO(c,u);if(y.isValid)return Interval.before(v,y)}}return Interval.invalid("unparsable",`the input "${i}" can't be parsed as ISO 8601`)}static isInterval(i){return i&&i.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(i="milliseconds"){return this.isValid?this.toDuration(i).get(i):NaN}count(i="milliseconds",u){if(!this.isValid)return NaN;const c=this.start.startOf(i,u);let d;return u!=null&&u.useLocaleWeeks?d=this.end.reconfigure({locale:c.locale}):d=this.end,d=d.startOf(i,u),Math.floor(d.diff(c,i).get(i))+(d.valueOf()!==this.end.valueOf())}hasSame(i){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,i):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(i){return this.isValid?this.s>i:!1}isBefore(i){return this.isValid?this.e<=i:!1}contains(i){return this.isValid?this.s<=i&&this.e>i:!1}set({start:i,end:u}={}){return this.isValid?Interval.fromDateTimes(i||this.s,u||this.e):this}splitAt(...i){if(!this.isValid)return[];const u=i.map(friendlyDateTime).filter(f=>this.contains(f)).sort((f,v)=>f.toMillis()-v.toMillis()),c=[];let{s:d}=this,m=0;for(;d<this.e;){const f=u[m]||this.e,v=+f>+this.e?this.e:f;c.push(Interval.fromDateTimes(d,v)),d=v,m+=1}return c}splitBy(i){const u=Duration$1.fromDurationLike(i);if(!this.isValid||!u.isValid||u.as("milliseconds")===0)return[];let{s:c}=this,d=1,m;const f=[];for(;c<this.e;){const v=this.start.plus(u.mapUnits(g=>g*d));m=+v>+this.e?this.e:v,f.push(Interval.fromDateTimes(c,m)),c=m,d+=1}return f}divideEqually(i){return this.isValid?this.splitBy(this.length()/i).slice(0,i):[]}overlaps(i){return this.e>i.s&&this.s<i.e}abutsStart(i){return this.isValid?+this.e==+i.s:!1}abutsEnd(i){return this.isValid?+i.e==+this.s:!1}engulfs(i){return this.isValid?this.s<=i.s&&this.e>=i.e:!1}equals(i){return!this.isValid||!i.isValid?!1:this.s.equals(i.s)&&this.e.equals(i.e)}intersection(i){if(!this.isValid)return this;const u=this.s>i.s?this.s:i.s,c=this.e<i.e?this.e:i.e;return u>=c?null:Interval.fromDateTimes(u,c)}union(i){if(!this.isValid)return this;const u=this.s<i.s?this.s:i.s,c=this.e>i.e?this.e:i.e;return Interval.fromDateTimes(u,c)}static merge(i){const[u,c]=i.sort((d,m)=>d.s-m.s).reduce(([d,m],f)=>m?m.overlaps(f)||m.abutsStart(f)?[d,m.union(f)]:[d.concat([m]),f]:[d,f],[[],null]);return c&&u.push(c),u}static xor(i){let u=null,c=0;const d=[],m=i.map(g=>[{time:g.s,type:"s"},{time:g.e,type:"e"}]),f=Array.prototype.concat(...m),v=f.sort((g,y)=>g.time-y.time);for(const g of v)c+=g.type==="s"?1:-1,c===1?u=g.time:(u&&+u!=+g.time&&d.push(Interval.fromDateTimes(u,g.time)),u=null);return Interval.merge(d)}difference(...i){return Interval.xor([this].concat(i)).map(u=>this.intersection(u)).filter(u=>u&&!u.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:INVALID$1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(i=DATE_SHORT,u={}){return this.isValid?Formatter.create(this.s.loc.clone(u),i).formatInterval(this):INVALID$1}toISO(i){return this.isValid?`${this.s.toISO(i)}/${this.e.toISO(i)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(i){return this.isValid?`${this.s.toISOTime(i)}/${this.e.toISOTime(i)}`:INVALID$1}toFormat(i,{separator:u=" "}={}){return this.isValid?`${this.s.toFormat(i)}${u}${this.e.toFormat(i)}`:INVALID$1}toDuration(i,u){return this.isValid?this.e.diff(this.s,i,u):Duration$1.invalid(this.invalidReason)}mapEndpoints(i){return Interval.fromDateTimes(i(this.s),i(this.e))}}class Info{static hasDST(i=Settings.defaultZone){const u=DateTime.now().setZone(i).set({month:12});return!i.isUniversal&&u.offset!==u.set({month:6}).offset}static isValidIANAZone(i){return IANAZone.isValidZone(i)}static normalizeZone(i){return normalizeZone(i,Settings.defaultZone)}static getStartOfWeek({locale:i=null,locObj:u=null}={}){return(u||Locale$1.create(i)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:i=null,locObj:u=null}={}){return(u||Locale$1.create(i)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:i=null,locObj:u=null}={}){return(u||Locale$1.create(i)).getWeekendDays().slice()}static months(i="long",{locale:u=null,numberingSystem:c=null,locObj:d=null,outputCalendar:m="gregory"}={}){return(d||Locale$1.create(u,c,m)).months(i)}static monthsFormat(i="long",{locale:u=null,numberingSystem:c=null,locObj:d=null,outputCalendar:m="gregory"}={}){return(d||Locale$1.create(u,c,m)).months(i,!0)}static weekdays(i="long",{locale:u=null,numberingSystem:c=null,locObj:d=null}={}){return(d||Locale$1.create(u,c,null)).weekdays(i)}static weekdaysFormat(i="long",{locale:u=null,numberingSystem:c=null,locObj:d=null}={}){return(d||Locale$1.create(u,c,null)).weekdays(i,!0)}static meridiems({locale:i=null}={}){return Locale$1.create(i).meridiems()}static eras(i="short",{locale:u=null}={}){return Locale$1.create(u,null,"gregory").eras(i)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(a,i){const u=d=>d.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),c=u(i)-u(a);return Math.floor(Duration$1.fromMillis(c).as("days"))}function highOrderDiffs(a,i,u){const c=[["years",(g,y)=>y.year-g.year],["quarters",(g,y)=>y.quarter-g.quarter+(y.year-g.year)*4],["months",(g,y)=>y.month-g.month+(y.year-g.year)*12],["weeks",(g,y)=>{const b=dayDiff(g,y);return(b-b%7)/7}],["days",dayDiff]],d={},m=a;let f,v;for(const[g,y]of c)u.indexOf(g)>=0&&(f=g,d[g]=y(a,i),v=m.plus(d),v>i?(d[g]--,a=m.plus(d),a>i&&(v=a,d[g]--,a=m.plus(d))):a=v);return[a,d,v,f]}function diff$1(a,i,u,c){let[d,m,f,v]=highOrderDiffs(a,i,u);const g=i-d,y=u.filter(w=>["hours","minutes","seconds","milliseconds"].indexOf(w)>=0);y.length===0&&(f<i&&(f=d.plus({[v]:1})),f!==d&&(m[v]=(m[v]||0)+g/(f-d)));const b=Duration$1.fromObject(m,c);return y.length>0?Duration$1.fromMillis(g,c).shiftTo(...y).plus(b):b}const numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(a){let i=parseInt(a,10);if(isNaN(i)){i="";for(let u=0;u<a.length;u++){const c=a.charCodeAt(u);if(a[u].search(numberingSystems.hanidec)!==-1)i+=hanidecChars.indexOf(a[u]);else for(const d in numberingSystemsUTF16){const[m,f]=numberingSystemsUTF16[d];c>=m&&c<=f&&(i+=c-m)}}return parseInt(i,10)}else return i}function digitRegex({numberingSystem:a},i=""){return new RegExp(`${numberingSystems[a||"latn"]}${i}`)}const MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(a,i=u=>u){return{regex:a,deser:([u])=>i(parseDigits(u))}}const NBSP=" ",spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(a){return a.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(a){return a.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(a,i){return a===null?null:{regex:RegExp(a.map(fixListRegex).join("|")),deser:([u])=>a.findIndex(c=>stripInsensitivities(u)===stripInsensitivities(c))+i}}function offset$2(a,i){return{regex:a,deser:([,u,c])=>signedOffset(u,c),groups:i}}function simple(a){return{regex:a,deser:([i])=>i}}function escapeToken(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(a,i){const u=digitRegex(i),c=digitRegex(i,"{2}"),d=digitRegex(i,"{3}"),m=digitRegex(i,"{4}"),f=digitRegex(i,"{6}"),v=digitRegex(i,"{1,2}"),g=digitRegex(i,"{1,3}"),y=digitRegex(i,"{1,6}"),b=digitRegex(i,"{1,9}"),w=digitRegex(i,"{2,4}"),k=digitRegex(i,"{4,6}"),$=E=>({regex:RegExp(escapeToken(E.val)),deser:([D])=>D,literal:!0}),C=(E=>{if(a.literal)return $(E);switch(E.val){case"G":return oneOf(i.eras("short"),0);case"GG":return oneOf(i.eras("long"),0);case"y":return intUnit(y);case"yy":return intUnit(w,untruncateYear$1);case"yyyy":return intUnit(m);case"yyyyy":return intUnit(k);case"yyyyyy":return intUnit(f);case"M":return intUnit(v);case"MM":return intUnit(c);case"MMM":return oneOf(i.months("short",!0),1);case"MMMM":return oneOf(i.months("long",!0),1);case"L":return intUnit(v);case"LL":return intUnit(c);case"LLL":return oneOf(i.months("short",!1),1);case"LLLL":return oneOf(i.months("long",!1),1);case"d":return intUnit(v);case"dd":return intUnit(c);case"o":return intUnit(g);case"ooo":return intUnit(d);case"HH":return intUnit(c);case"H":return intUnit(v);case"hh":return intUnit(c);case"h":return intUnit(v);case"mm":return intUnit(c);case"m":return intUnit(v);case"q":return intUnit(v);case"qq":return intUnit(c);case"s":return intUnit(v);case"ss":return intUnit(c);case"S":return intUnit(g);case"SSS":return intUnit(d);case"u":return simple(b);case"uu":return simple(v);case"uuu":return intUnit(u);case"a":return oneOf(i.meridiems(),0);case"kkkk":return intUnit(m);case"kk":return intUnit(w,untruncateYear$1);case"W":return intUnit(v);case"WW":return intUnit(c);case"E":case"c":return intUnit(u);case"EEE":return oneOf(i.weekdays("short",!1),1);case"EEEE":return oneOf(i.weekdays("long",!1),1);case"ccc":return oneOf(i.weekdays("short",!0),1);case"cccc":return oneOf(i.weekdays("long",!0),1);case"Z":case"ZZ":return offset$2(new RegExp(`([+-]${v.source})(?::(${c.source}))?`),2);case"ZZZ":return offset$2(new RegExp(`([+-]${v.source})(${c.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return $(E)}})(a)||{invalidReason:MISSING_FTP};return C.token=a,C}const partTypeStyleToTokenVal={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(a,i,u){const{type:c,value:d}=a;if(c==="literal"){const g=/^\s+$/.test(d);return{literal:!g,val:g?" ":d}}const m=i[c];let f=c;c==="hour"&&(i.hour12!=null?f=i.hour12?"hour12":"hour24":i.hourCycle!=null?i.hourCycle==="h11"||i.hourCycle==="h12"?f="hour12":f="hour24":f=u.hour12?"hour12":"hour24");let v=partTypeStyleToTokenVal[f];if(typeof v=="object"&&(v=v[m]),v)return{literal:!1,val:v}}function buildRegex(a){return[`^${a.map(u=>u.regex).reduce((u,c)=>`${u}(${c.source})`,"")}$`,a]}function match(a,i,u){const c=a.match(i);if(c){const d={};let m=1;for(const f in u)if(hasOwnProperty$g(u,f)){const v=u[f],g=v.groups?v.groups+1:1;!v.literal&&v.token&&(d[v.token.val[0]]=v.deser(c.slice(m,m+g))),m+=g}return[c,d]}else return[c,{}]}function dateTimeFromMatches(a){const i=m=>{switch(m){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let u=null,c;return isUndefined$2(a.z)||(u=IANAZone.create(a.z)),isUndefined$2(a.Z)||(u||(u=new FixedOffsetZone(a.Z)),c=a.Z),isUndefined$2(a.q)||(a.M=(a.q-1)*3+1),isUndefined$2(a.h)||(a.h<12&&a.a===1?a.h+=12:a.h===12&&a.a===0&&(a.h=0)),a.G===0&&a.y&&(a.y=-a.y),isUndefined$2(a.u)||(a.S=parseMillis(a.u)),[Object.keys(a).reduce((m,f)=>{const v=i(f);return v&&(m[v]=a[f]),m},{}),u,c]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime.fromMillis(1555555555555)),dummyDateTimeCache}function maybeExpandMacroToken(a,i){if(a.literal)return a;const u=Formatter.macroTokenToFormatOpts(a.val),c=formatOptsToTokens(u,i);return c==null||c.includes(void 0)?a:c}function expandMacroTokens(a,i){return Array.prototype.concat(...a.map(u=>maybeExpandMacroToken(u,i)))}function explainFromTokens(a,i,u){const c=expandMacroTokens(Formatter.parseFormat(u),a),d=c.map(f=>unitForToken(f,a)),m=d.find(f=>f.invalidReason);if(m)return{input:i,tokens:c,invalidReason:m.invalidReason};{const[f,v]=buildRegex(d),g=RegExp(f,"i"),[y,b]=match(i,g,v),[w,k,$]=b?dateTimeFromMatches(b):[null,null,void 0];if(hasOwnProperty$g(b,"a")&&hasOwnProperty$g(b,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:i,tokens:c,regex:g,rawMatches:y,matches:b,result:w,zone:k,specificOffset:$}}}function parseFromTokens(a,i,u){const{result:c,zone:d,specificOffset:m,invalidReason:f}=explainFromTokens(a,i,u);return[c,d,m,f]}function formatOptsToTokens(a,i){if(!a)return null;const c=Formatter.create(i,a).dtFormatter(getDummyDateTime()),d=c.formatToParts(),m=c.resolvedOptions();return d.map(f=>tokenForPart(f,a,m))}const INVALID="Invalid DateTime",MAX_DATE=864e13;function unsupportedZone(a){return new Invalid("unsupported zone",`the zone "${a.name}" is not supported`)}function possiblyCachedWeekData(a){return a.weekData===null&&(a.weekData=gregorianToWeek(a.c)),a.weekData}function possiblyCachedLocalWeekData(a){return a.localWeekData===null&&(a.localWeekData=gregorianToWeek(a.c,a.loc.getMinDaysInFirstWeek(),a.loc.getStartOfWeek())),a.localWeekData}function clone$4(a,i){const u={ts:a.ts,zone:a.zone,c:a.c,o:a.o,loc:a.loc,invalid:a.invalid};return new DateTime({...u,...i,old:u})}function fixOffset(a,i,u){let c=a-i*60*1e3;const d=u.offset(c);if(i===d)return[c,i];c-=(d-i)*60*1e3;const m=u.offset(c);return d===m?[c,d]:[a-Math.min(d,m)*60*1e3,Math.max(d,m)]}function tsToObj(a,i){a+=i*60*1e3;const u=new Date(a);return{year:u.getUTCFullYear(),month:u.getUTCMonth()+1,day:u.getUTCDate(),hour:u.getUTCHours(),minute:u.getUTCMinutes(),second:u.getUTCSeconds(),millisecond:u.getUTCMilliseconds()}}function objToTS(a,i,u){return fixOffset(objToLocalTS(a),i,u)}function adjustTime(a,i){const u=a.o,c=a.c.year+Math.trunc(i.years),d=a.c.month+Math.trunc(i.months)+Math.trunc(i.quarters)*3,m={...a.c,year:c,month:d,day:Math.min(a.c.day,daysInMonth$1(c,d))+Math.trunc(i.days)+Math.trunc(i.weeks)*7},f=Duration$1.fromObject({years:i.years-Math.trunc(i.years),quarters:i.quarters-Math.trunc(i.quarters),months:i.months-Math.trunc(i.months),weeks:i.weeks-Math.trunc(i.weeks),days:i.days-Math.trunc(i.days),hours:i.hours,minutes:i.minutes,seconds:i.seconds,milliseconds:i.milliseconds}).as("milliseconds"),v=objToLocalTS(m);let[g,y]=fixOffset(v,u,a.zone);return f!==0&&(g+=f,y=a.zone.offset(g)),{ts:g,o:y}}function parseDataToDateTime(a,i,u,c,d,m){const{setZone:f,zone:v}=u;if(a&&Object.keys(a).length!==0||i){const g=i||v,y=DateTime.fromObject(a,{...u,zone:g,specificOffset:m});return f?y:y.setZone(v)}else return DateTime.invalid(new Invalid("unparsable",`the input "${d}" can't be parsed as ${c}`))}function toTechFormat(a,i,u=!0){return a.isValid?Formatter.create(Locale$1.create("en-US"),{allowZ:u,forceSimple:!0}).formatDateTimeFromString(a,i):null}function toISODate(a,i){const u=a.c.year>9999||a.c.year<0;let c="";return u&&a.c.year>=0&&(c+="+"),c+=padStart(a.c.year,u?6:4),i?(c+="-",c+=padStart(a.c.month),c+="-",c+=padStart(a.c.day)):(c+=padStart(a.c.month),c+=padStart(a.c.day)),c}function toISOTime(a,i,u,c,d,m){let f=padStart(a.c.hour);return i?(f+=":",f+=padStart(a.c.minute),(a.c.millisecond!==0||a.c.second!==0||!u)&&(f+=":")):f+=padStart(a.c.minute),(a.c.millisecond!==0||a.c.second!==0||!u)&&(f+=padStart(a.c.second),(a.c.millisecond!==0||!c)&&(f+=".",f+=padStart(a.c.millisecond,3))),d&&(a.isOffsetFixed&&a.offset===0&&!m?f+="Z":a.o<0?(f+="-",f+=padStart(Math.trunc(-a.o/60)),f+=":",f+=padStart(Math.trunc(-a.o%60))):(f+="+",f+=padStart(Math.trunc(a.o/60)),f+=":",f+=padStart(Math.trunc(a.o%60)))),m&&(f+="["+a.zone.ianaName+"]"),f}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(a){const i={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[a.toLowerCase()];if(!i)throw new InvalidUnitError(a);return i}function normalizeUnitWithLocalWeeks(a){switch(a.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(a)}}function quickDT(a,i){const u=normalizeZone(i.zone,Settings.defaultZone),c=Locale$1.fromObject(i),d=Settings.now();let m,f;if(isUndefined$2(a.year))m=d;else{for(const y of orderedUnits)isUndefined$2(a[y])&&(a[y]=defaultUnitValues[y]);const v=hasInvalidGregorianData(a)||hasInvalidTimeData(a);if(v)return DateTime.invalid(v);const g=u.offset(d);[m,f]=objToTS(a,g,u)}return new DateTime({ts:m,zone:u,loc:c,o:f})}function diffRelative(a,i,u){const c=isUndefined$2(u.round)?!0:u.round,d=(f,v)=>(f=roundTo(f,c||u.calendary?0:2,!0),i.loc.clone(u).relFormatter(u).format(f,v)),m=f=>u.calendary?i.hasSame(a,f)?0:i.startOf(f).diff(a.startOf(f),f).get(f):i.diff(a,f).get(f);if(u.unit)return d(m(u.unit),u.unit);for(const f of u.units){const v=m(f);if(Math.abs(v)>=1)return d(v,f)}return d(a>i?-0:0,u.units[u.units.length-1])}function lastOpts(a){let i={},u;return a.length>0&&typeof a[a.length-1]=="object"?(i=a[a.length-1],u=Array.from(a).slice(0,a.length-1)):u=Array.from(a),[i,u]}class DateTime{constructor(i){const u=i.zone||Settings.defaultZone;let c=i.invalid||(Number.isNaN(i.ts)?new Invalid("invalid input"):null)||(u.isValid?null:unsupportedZone(u));this.ts=isUndefined$2(i.ts)?Settings.now():i.ts;let d=null,m=null;if(!c)if(i.old&&i.old.ts===this.ts&&i.old.zone.equals(u))[d,m]=[i.old.c,i.old.o];else{const v=u.offset(this.ts);d=tsToObj(this.ts,v),c=Number.isNaN(d.year)?new Invalid("invalid input"):null,d=c?null:d,m=c?null:v}this._zone=u,this.loc=i.loc||Locale$1.create(),this.invalid=c,this.weekData=null,this.localWeekData=null,this.c=d,this.o=m,this.isLuxonDateTime=!0}static now(){return new DateTime({})}static local(){const[i,u]=lastOpts(arguments),[c,d,m,f,v,g,y]=u;return quickDT({year:c,month:d,day:m,hour:f,minute:v,second:g,millisecond:y},i)}static utc(){const[i,u]=lastOpts(arguments),[c,d,m,f,v,g,y]=u;return i.zone=FixedOffsetZone.utcInstance,quickDT({year:c,month:d,day:m,hour:f,minute:v,second:g,millisecond:y},i)}static fromJSDate(i,u={}){const c=isDate$2(i)?i.valueOf():NaN;if(Number.isNaN(c))return DateTime.invalid("invalid input");const d=normalizeZone(u.zone,Settings.defaultZone);return d.isValid?new DateTime({ts:c,zone:d,loc:Locale$1.fromObject(u)}):DateTime.invalid(unsupportedZone(d))}static fromMillis(i,u={}){if(isNumber$2(i))return i<-MAX_DATE||i>MAX_DATE?DateTime.invalid("Timestamp out of range"):new DateTime({ts:i,zone:normalizeZone(u.zone,Settings.defaultZone),loc:Locale$1.fromObject(u)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof i} with value ${i}`)}static fromSeconds(i,u={}){if(isNumber$2(i))return new DateTime({ts:i*1e3,zone:normalizeZone(u.zone,Settings.defaultZone),loc:Locale$1.fromObject(u)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(i,u={}){i=i||{};const c=normalizeZone(u.zone,Settings.defaultZone);if(!c.isValid)return DateTime.invalid(unsupportedZone(c));const d=Locale$1.fromObject(u),m=normalizeObject(i,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:f,startOfWeek:v}=usesLocalWeekValues(m,d),g=Settings.now(),y=isUndefined$2(u.specificOffset)?c.offset(g):u.specificOffset,b=!isUndefined$2(m.ordinal),w=!isUndefined$2(m.year),k=!isUndefined$2(m.month)||!isUndefined$2(m.day),$=w||k,S=m.weekYear||m.weekNumber;if(($||b)&&S)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(k&&b)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const C=S||m.weekday&&!$;let E,D,A=tsToObj(g,y);C?(E=orderedWeekUnits,D=defaultWeekUnitValues,A=gregorianToWeek(A,f,v)):b?(E=orderedOrdinalUnits,D=defaultOrdinalUnitValues,A=gregorianToOrdinal(A)):(E=orderedUnits,D=defaultUnitValues);let O=!1;for(const H of E){const Q=m[H];isUndefined$2(Q)?O?m[H]=D[H]:m[H]=A[H]:O=!0}const F=C?hasInvalidWeekData(m,f,v):b?hasInvalidOrdinalData(m):hasInvalidGregorianData(m),B=F||hasInvalidTimeData(m);if(B)return DateTime.invalid(B);const I=C?weekToGregorian(m,f,v):b?ordinalToGregorian(m):m,[M,z]=objToTS(I,y,c),q=new DateTime({ts:M,zone:c,o:z,loc:d});return m.weekday&&$&&i.weekday!==q.weekday?DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${m.weekday} and a date of ${q.toISO()}`):q}static fromISO(i,u={}){const[c,d]=parseISODate(i);return parseDataToDateTime(c,d,u,"ISO 8601",i)}static fromRFC2822(i,u={}){const[c,d]=parseRFC2822Date(i);return parseDataToDateTime(c,d,u,"RFC 2822",i)}static fromHTTP(i,u={}){const[c,d]=parseHTTPDate(i);return parseDataToDateTime(c,d,u,"HTTP",u)}static fromFormat(i,u,c={}){if(isUndefined$2(i)||isUndefined$2(u))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:d=null,numberingSystem:m=null}=c,f=Locale$1.fromOpts({locale:d,numberingSystem:m,defaultToEN:!0}),[v,g,y,b]=parseFromTokens(f,i,u);return b?DateTime.invalid(b):parseDataToDateTime(v,g,c,`format ${u}`,i,y)}static fromString(i,u,c={}){return DateTime.fromFormat(i,u,c)}static fromSQL(i,u={}){const[c,d]=parseSQL(i);return parseDataToDateTime(c,d,u,"SQL",i)}static invalid(i,u=null){if(!i)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const c=i instanceof Invalid?i:new Invalid(i,u);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(c);return new DateTime({invalid:c})}static isDateTime(i){return i&&i.isLuxonDateTime||!1}static parseFormatForOpts(i,u={}){const c=formatOptsToTokens(i,Locale$1.fromObject(u));return c?c.map(d=>d?d.val:null).join(""):null}static expandFormat(i,u={}){return expandMacroTokens(Formatter.parseFormat(i),Locale$1.fromObject(u)).map(d=>d.val).join("")}get(i){return this[i]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const i=864e5,u=6e4,c=objToLocalTS(this.c),d=this.zone.offset(c-i),m=this.zone.offset(c+i),f=this.zone.offset(c-d*u),v=this.zone.offset(c-m*u);if(f===v)return[this];const g=c-f*u,y=c-v*u,b=tsToObj(g,f),w=tsToObj(y,v);return b.hour===w.hour&&b.minute===w.minute&&b.second===w.second&&b.millisecond===w.millisecond?[clone$4(this,{ts:g}),clone$4(this,{ts:y})]:[this]}get isInLeapYear(){return isLeapYear$1(this.year)}get daysInMonth(){return daysInMonth$1(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear$1(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(i={}){const{locale:u,numberingSystem:c,calendar:d}=Formatter.create(this.loc.clone(i),i).resolvedOptions(this);return{locale:u,numberingSystem:c,outputCalendar:d}}toUTC(i=0,u={}){return this.setZone(FixedOffsetZone.instance(i),u)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(i,{keepLocalTime:u=!1,keepCalendarTime:c=!1}={}){if(i=normalizeZone(i,Settings.defaultZone),i.equals(this.zone))return this;if(i.isValid){let d=this.ts;if(u||c){const m=i.offset(this.ts),f=this.toObject();[d]=objToTS(f,m,i)}return clone$4(this,{ts:d,zone:i})}else return DateTime.invalid(unsupportedZone(i))}reconfigure({locale:i,numberingSystem:u,outputCalendar:c}={}){const d=this.loc.clone({locale:i,numberingSystem:u,outputCalendar:c});return clone$4(this,{loc:d})}setLocale(i){return this.reconfigure({locale:i})}set(i){if(!this.isValid)return this;const u=normalizeObject(i,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:c,startOfWeek:d}=usesLocalWeekValues(u,this.loc),m=!isUndefined$2(u.weekYear)||!isUndefined$2(u.weekNumber)||!isUndefined$2(u.weekday),f=!isUndefined$2(u.ordinal),v=!isUndefined$2(u.year),g=!isUndefined$2(u.month)||!isUndefined$2(u.day),y=v||g,b=u.weekYear||u.weekNumber;if((y||f)&&b)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&f)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let w;m?w=weekToGregorian({...gregorianToWeek(this.c,c,d),...u},c,d):isUndefined$2(u.ordinal)?(w={...this.toObject(),...u},isUndefined$2(u.day)&&(w.day=Math.min(daysInMonth$1(w.year,w.month),w.day))):w=ordinalToGregorian({...gregorianToOrdinal(this.c),...u});const[k,$]=objToTS(w,this.o,this.zone);return clone$4(this,{ts:k,o:$})}plus(i){if(!this.isValid)return this;const u=Duration$1.fromDurationLike(i);return clone$4(this,adjustTime(this,u))}minus(i){if(!this.isValid)return this;const u=Duration$1.fromDurationLike(i).negate();return clone$4(this,adjustTime(this,u))}startOf(i,{useLocaleWeeks:u=!1}={}){if(!this.isValid)return this;const c={},d=Duration$1.normalizeUnit(i);switch(d){case"years":c.month=1;case"quarters":case"months":c.day=1;case"weeks":case"days":c.hour=0;case"hours":c.minute=0;case"minutes":c.second=0;case"seconds":c.millisecond=0;break}if(d==="weeks")if(u){const m=this.loc.getStartOfWeek(),{weekday:f}=this;f<m&&(c.weekNumber=this.weekNumber-1),c.weekday=m}else c.weekday=1;if(d==="quarters"){const m=Math.ceil(this.month/3);c.month=(m-1)*3+1}return this.set(c)}endOf(i,u){return this.isValid?this.plus({[i]:1}).startOf(i,u).minus(1):this}toFormat(i,u={}){return this.isValid?Formatter.create(this.loc.redefaultToEN(u)).formatDateTimeFromString(this,i):INVALID}toLocaleString(i=DATE_SHORT,u={}){return this.isValid?Formatter.create(this.loc.clone(u),i).formatDateTime(this):INVALID}toLocaleParts(i={}){return this.isValid?Formatter.create(this.loc.clone(i),i).formatDateTimeParts(this):[]}toISO({format:i="extended",suppressSeconds:u=!1,suppressMilliseconds:c=!1,includeOffset:d=!0,extendedZone:m=!1}={}){if(!this.isValid)return null;const f=i==="extended";let v=toISODate(this,f);return v+="T",v+=toISOTime(this,f,u,c,d,m),v}toISODate({format:i="extended"}={}){return this.isValid?toISODate(this,i==="extended"):null}toISOWeekDate(){return toTechFormat(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:i=!1,suppressSeconds:u=!1,includeOffset:c=!0,includePrefix:d=!1,extendedZone:m=!1,format:f="extended"}={}){return this.isValid?(d?"T":"")+toISOTime(this,f==="extended",u,i,c,m):null}toRFC2822(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?toISODate(this,!0):null}toSQLTime({includeOffset:i=!0,includeZone:u=!1,includeOffsetSpace:c=!0}={}){let d="HH:mm:ss.SSS";return(u||i)&&(c&&(d+=" "),u?d+="z":i&&(d+="ZZ")),toTechFormat(this,d,!0)}toSQL(i={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(i)}`:null}toString(){return this.isValid?this.toISO():INVALID}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(i={}){if(!this.isValid)return{};const u={...this.c};return i.includeConfig&&(u.outputCalendar=this.outputCalendar,u.numberingSystem=this.loc.numberingSystem,u.locale=this.loc.locale),u}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(i,u="milliseconds",c={}){if(!this.isValid||!i.isValid)return Duration$1.invalid("created by diffing an invalid DateTime");const d={locale:this.locale,numberingSystem:this.numberingSystem,...c},m=maybeArray(u).map(Duration$1.normalizeUnit),f=i.valueOf()>this.valueOf(),v=f?this:i,g=f?i:this,y=diff$1(v,g,m,d);return f?y.negate():y}diffNow(i="milliseconds",u={}){return this.diff(DateTime.now(),i,u)}until(i){return this.isValid?Interval.fromDateTimes(this,i):this}hasSame(i,u,c){if(!this.isValid)return!1;const d=i.valueOf(),m=this.setZone(i.zone,{keepLocalTime:!0});return m.startOf(u,c)<=d&&d<=m.endOf(u,c)}equals(i){return this.isValid&&i.isValid&&this.valueOf()===i.valueOf()&&this.zone.equals(i.zone)&&this.loc.equals(i.loc)}toRelative(i={}){if(!this.isValid)return null;const u=i.base||DateTime.fromObject({},{zone:this.zone}),c=i.padding?this<u?-i.padding:i.padding:0;let d=["years","months","days","hours","minutes","seconds"],m=i.unit;return Array.isArray(i.unit)&&(d=i.unit,m=void 0),diffRelative(u,this.plus(c),{...i,numeric:"always",units:d,unit:m})}toRelativeCalendar(i={}){return this.isValid?diffRelative(i.base||DateTime.fromObject({},{zone:this.zone}),this,{...i,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...i){if(!i.every(DateTime.isDateTime))throw new InvalidArgumentError("min requires all arguments be DateTimes");return bestBy(i,u=>u.valueOf(),Math.min)}static max(...i){if(!i.every(DateTime.isDateTime))throw new InvalidArgumentError("max requires all arguments be DateTimes");return bestBy(i,u=>u.valueOf(),Math.max)}static fromFormatExplain(i,u,c={}){const{locale:d=null,numberingSystem:m=null}=c,f=Locale$1.fromOpts({locale:d,numberingSystem:m,defaultToEN:!0});return explainFromTokens(f,i,u)}static fromStringExplain(i,u,c={}){return DateTime.fromFormatExplain(i,u,c)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}}function friendlyDateTime(a){if(DateTime.isDateTime(a))return a;if(a&&a.valueOf&&isNumber$2(a.valueOf()))return DateTime.fromJSDate(a);if(a&&typeof a=="object")return DateTime.fromObject(a);throw new InvalidArgumentError(`Unknown datetime argument: ${a}, of type ${typeof a}`)}var lodash={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/lodash.exports;(function(a,i){(function(){var u,c="4.17.21",d=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",v="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",y=500,b="__lodash_placeholder__",w=1,k=2,$=4,S=1,C=2,E=1,D=2,A=4,O=8,F=16,B=32,I=64,M=128,z=256,q=512,H=30,Q="...",j=800,ee=16,G=1,J=2,te=3,re=1/0,ae=9007199254740991,ye=17976931348623157e292,ve=NaN,le=4294967295,Se=le-1,De=le>>>1,At=[["ary",M],["bind",E],["bindKey",D],["curry",O],["curryRight",F],["flip",q],["partial",B],["partialRight",I],["rearg",z]],Le="[object Arguments]",ke="[object Array]",ue="[object AsyncFunction]",Ce="[object Boolean]",Te="[object Date]",Pe="[object DOMException]",Vt="[object Error]",Ie="[object Function]",ie="[object GeneratorFunction]",de="[object Map]",Fe="[object Number]",We="[object Null]",wt="[object Object]",jt="[object Promise]",Ut="[object Proxy]",Tt="[object RegExp]",Ft="[object Set]",St="[object String]",Wt="[object Symbol]",$t="[object Undefined]",xt="[object WeakMap]",Kt="[object WeakSet]",ln="[object ArrayBuffer]",hn="[object DataView]",kt="[object Float32Array]",Et="[object Float64Array]",zt="[object Int8Array]",Yt="[object Int16Array]",mn="[object Int32Array]",an="[object Uint8Array]",sn="[object Uint8ClampedArray]",wn="[object Uint16Array]",Cn="[object Uint32Array]",gn=/\b__p \+= '';/g,dn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oe=/&(?:amp|lt|gt|quot|#39);/g,Ye=/[&<>"']/g,Rt=RegExp(Oe.source),oe=RegExp(Ye.source),pe=/<%-([\s\S]+?)%>/g,Ne=/<%([\s\S]+?)%>/g,Nt=/<%=([\s\S]+?)%>/g,qt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tn=/^\w*$/,un=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gt=/[\\^$.*+?()[\]{}|]/g,_n=RegExp(Gt.source),nn=/^\s+/,cn=/\s/,fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,Rn=/,? & /,tr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wn=/[()=,{}\[\]\/\s]/,ir=/\\(\\)?/g,nr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kn=/\w*$/,dr=/^[-+]0x[0-9a-f]+$/i,xr=/^0b[01]+$/i,or=/^\[object .+?Constructor\]$/,Ir=/^0o[0-7]+$/i,he=/^(?:0|[1-9]\d*)$/,It=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pn=/($^)/,On=/['\n\r\u2028\u2029\\]/g,Gn="\\ud800-\\udfff",Ur="\\u0300-\\u036f",Ka="\\ufe20-\\ufe2f",ra="\\u20d0-\\u20ff",Pr=Ur+Ka+ra,_i="\\u2700-\\u27bf",Ja="a-z\\xdf-\\xf6\\xf8-\\xff",ko="\\xac\\xb1\\xd7\\xf7",ki="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Si="\\u2000-\\u206f",Oa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$i="A-Z\\xc0-\\xd6\\xd8-\\xde",Ra="\\ufe0e\\ufe0f",Ci=ko+ki+Si+Oa,Ga="[']",Ya="["+Gn+"]",Ei="["+Ci+"]",Kr="["+Pr+"]",aa="\\d+",So="["+_i+"]",xi="["+Ja+"]",Za="[^"+Gn+Ci+aa+_i+Ja+$i+"]",ya="\\ud83c[\\udffb-\\udfff]",ba="(?:"+Kr+"|"+ya+")",Xa="[^"+Gn+"]",Da="(?:\\ud83c[\\udde6-\\uddff]){2}",Qa="[\\ud800-\\udbff][\\udc00-\\udfff]",ia="["+$i+"]",Ti="\\u200d",Ai="(?:"+xi+"|"+Za+")",$o="(?:"+ia+"|"+Za+")",ei="(?:"+Ga+"(?:d|ll|m|re|s|t|ve))?",ti="(?:"+Ga+"(?:D|LL|M|RE|S|T|VE))?",ni=ba+"?",ri="["+Ra+"]?",Oi="(?:"+Ti+"(?:"+[Xa,Da,Qa].join("|")+")"+ri+ni+")*",Co="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Eo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ri=ri+ni+Oi,xo="(?:"+[So,Da,Qa].join("|")+")"+Ri,ai="(?:"+[Xa+Kr+"?",Kr,Da,Qa,Ya].join("|")+")",To=RegExp(Ga,"g"),Ao=RegExp(Kr,"g"),oa=RegExp(ya+"(?="+ya+")|"+ai+Ri,"g"),Oo=RegExp([ia+"?"+xi+"+"+ei+"(?="+[Ei,ia,"$"].join("|")+")",$o+"+"+ti+"(?="+[Ei,ia+Ai,"$"].join("|")+")",ia+"?"+Ai+"+"+ei,ia+"+"+ti,Eo,Co,aa,xo].join("|"),"g"),Di=RegExp("["+Ti+Gn+Pr+Ra+"]"),Zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],En=-1,$n={};$n[kt]=$n[Et]=$n[zt]=$n[Yt]=$n[mn]=$n[an]=$n[sn]=$n[wn]=$n[Cn]=!0,$n[Le]=$n[ke]=$n[ln]=$n[Ce]=$n[hn]=$n[Te]=$n[Vt]=$n[Ie]=$n[de]=$n[Fe]=$n[wt]=$n[Tt]=$n[Ft]=$n[St]=$n[xt]=!1;var In={};In[Le]=In[ke]=In[ln]=In[hn]=In[Ce]=In[Te]=In[kt]=In[Et]=In[zt]=In[Yt]=In[mn]=In[de]=In[Fe]=In[wt]=In[Tt]=In[Ft]=In[St]=In[Wt]=In[an]=In[sn]=In[wn]=In[Cn]=!0,In[Vt]=In[Ie]=In[xt]=!1;var Zn={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},sa={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ro={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ni={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Br=parseFloat,Na=parseInt,Bs=typeof commonjsGlobal$2=="object"&&commonjsGlobal$2&&commonjsGlobal$2.Object===Object&&commonjsGlobal$2,Hu=typeof self=="object"&&self&&self.Object===Object&&self,lr=Bs||Hu||Function("return this")(),Do=i&&!i.nodeType&&i,wa=Do&&!0&&a&&!a.nodeType&&a,Ms=wa&&wa.exports===Do,No=Ms&&Bs.process,Tr=function(){try{var Lt=wa&&wa.require&&wa.require("util").types;return Lt||No&&No.binding&&No.binding("util")}catch{}}(),Vs=Tr&&Tr.isArrayBuffer,zs=Tr&&Tr.isDate,qs=Tr&&Tr.isMap,Us=Tr&&Tr.isRegExp,js=Tr&&Tr.isSet,Hs=Tr&&Tr.isTypedArray;function _r(Lt,Jt,Ht){switch(Ht.length){case 0:return Lt.call(Jt);case 1:return Lt.call(Jt,Ht[0]);case 2:return Lt.call(Jt,Ht[0],Ht[1]);case 3:return Lt.call(Jt,Ht[0],Ht[1],Ht[2])}return Lt.apply(Jt,Ht)}function Wu(Lt,Jt,Ht,kn){for(var Dn=-1,qn=Lt==null?0:Lt.length;++Dn<qn;){var rr=Lt[Dn];Jt(kn,rr,Ht(rr),Lt)}return kn}function Ar(Lt,Jt){for(var Ht=-1,kn=Lt==null?0:Lt.length;++Ht<kn&&Jt(Lt[Ht],Ht,Lt)!==!1;);return Lt}function Ku(Lt,Jt){for(var Ht=Lt==null?0:Lt.length;Ht--&&Jt(Lt[Ht],Ht,Lt)!==!1;);return Lt}function Ws(Lt,Jt){for(var Ht=-1,kn=Lt==null?0:Lt.length;++Ht<kn;)if(!Jt(Lt[Ht],Ht,Lt))return!1;return!0}function la(Lt,Jt){for(var Ht=-1,kn=Lt==null?0:Lt.length,Dn=0,qn=[];++Ht<kn;){var rr=Lt[Ht];Jt(rr,Ht,Lt)&&(qn[Dn++]=rr)}return qn}function Fi(Lt,Jt){var Ht=Lt==null?0:Lt.length;return!!Ht&&Fa(Lt,Jt,0)>-1}function Fo(Lt,Jt,Ht){for(var kn=-1,Dn=Lt==null?0:Lt.length;++kn<Dn;)if(Ht(Jt,Lt[kn]))return!0;return!1}function Jn(Lt,Jt){for(var Ht=-1,kn=Lt==null?0:Lt.length,Dn=Array(kn);++Ht<kn;)Dn[Ht]=Jt(Lt[Ht],Ht,Lt);return Dn}function ua(Lt,Jt){for(var Ht=-1,kn=Jt.length,Dn=Lt.length;++Ht<kn;)Lt[Dn+Ht]=Jt[Ht];return Lt}function Lo(Lt,Jt,Ht,kn){var Dn=-1,qn=Lt==null?0:Lt.length;for(kn&&qn&&(Ht=Lt[++Dn]);++Dn<qn;)Ht=Jt(Ht,Lt[Dn],Dn,Lt);return Ht}function Ju(Lt,Jt,Ht,kn){var Dn=Lt==null?0:Lt.length;for(kn&&Dn&&(Ht=Lt[--Dn]);Dn--;)Ht=Jt(Ht,Lt[Dn],Dn,Lt);return Ht}function Io(Lt,Jt){for(var Ht=-1,kn=Lt==null?0:Lt.length;++Ht<kn;)if(Jt(Lt[Ht],Ht,Lt))return!0;return!1}var Gu=Po("length");function Yu(Lt){return Lt.split("")}function Zu(Lt){return Lt.match(tr)||[]}function Ks(Lt,Jt,Ht){var kn;return Ht(Lt,function(Dn,qn,rr){if(Jt(Dn,qn,rr))return kn=qn,!1}),kn}function Li(Lt,Jt,Ht,kn){for(var Dn=Lt.length,qn=Ht+(kn?1:-1);kn?qn--:++qn<Dn;)if(Jt(Lt[qn],qn,Lt))return qn;return-1}function Fa(Lt,Jt,Ht){return Jt===Jt?uc(Lt,Jt,Ht):Li(Lt,Js,Ht)}function Xu(Lt,Jt,Ht,kn){for(var Dn=Ht-1,qn=Lt.length;++Dn<qn;)if(kn(Lt[Dn],Jt))return Dn;return-1}function Js(Lt){return Lt!==Lt}function Gs(Lt,Jt){var Ht=Lt==null?0:Lt.length;return Ht?Mo(Lt,Jt)/Ht:ve}function Po(Lt){return function(Jt){return Jt==null?u:Jt[Lt]}}function Bo(Lt){return function(Jt){return Lt==null?u:Lt[Jt]}}function Ys(Lt,Jt,Ht,kn,Dn){return Dn(Lt,function(qn,rr,Hn){Ht=kn?(kn=!1,qn):Jt(Ht,qn,rr,Hn)}),Ht}function Qu(Lt,Jt){var Ht=Lt.length;for(Lt.sort(Jt);Ht--;)Lt[Ht]=Lt[Ht].value;return Lt}function Mo(Lt,Jt){for(var Ht,kn=-1,Dn=Lt.length;++kn<Dn;){var qn=Jt(Lt[kn]);qn!==u&&(Ht=Ht===u?qn:Ht+qn)}return Ht}function Vo(Lt,Jt){for(var Ht=-1,kn=Array(Lt);++Ht<Lt;)kn[Ht]=Jt(Ht);return kn}function ec(Lt,Jt){return Jn(Jt,function(Ht){return[Ht,Lt[Ht]]})}function Zs(Lt){return Lt&&Lt.slice(0,tl(Lt)+1).replace(nn,"")}function kr(Lt){return function(Jt){return Lt(Jt)}}function zo(Lt,Jt){return Jn(Jt,function(Ht){return Lt[Ht]})}function ii(Lt,Jt){return Lt.has(Jt)}function Xs(Lt,Jt){for(var Ht=-1,kn=Lt.length;++Ht<kn&&Fa(Jt,Lt[Ht],0)>-1;);return Ht}function Qs(Lt,Jt){for(var Ht=Lt.length;Ht--&&Fa(Jt,Lt[Ht],0)>-1;);return Ht}function tc(Lt,Jt){for(var Ht=Lt.length,kn=0;Ht--;)Lt[Ht]===Jt&&++kn;return kn}var nc=Bo(Zn),rc=Bo(sa);function ac(Lt){return"\\"+Ni[Lt]}function ic(Lt,Jt){return Lt==null?u:Lt[Jt]}function La(Lt){return Di.test(Lt)}function oc(Lt){return Zt.test(Lt)}function sc(Lt){for(var Jt,Ht=[];!(Jt=Lt.next()).done;)Ht.push(Jt.value);return Ht}function qo(Lt){var Jt=-1,Ht=Array(Lt.size);return Lt.forEach(function(kn,Dn){Ht[++Jt]=[Dn,kn]}),Ht}function el(Lt,Jt){return function(Ht){return Lt(Jt(Ht))}}function ca(Lt,Jt){for(var Ht=-1,kn=Lt.length,Dn=0,qn=[];++Ht<kn;){var rr=Lt[Ht];(rr===Jt||rr===b)&&(Lt[Ht]=b,qn[Dn++]=Ht)}return qn}function Ii(Lt){var Jt=-1,Ht=Array(Lt.size);return Lt.forEach(function(kn){Ht[++Jt]=kn}),Ht}function lc(Lt){var Jt=-1,Ht=Array(Lt.size);return Lt.forEach(function(kn){Ht[++Jt]=[kn,kn]}),Ht}function uc(Lt,Jt,Ht){for(var kn=Ht-1,Dn=Lt.length;++kn<Dn;)if(Lt[kn]===Jt)return kn;return-1}function cc(Lt,Jt,Ht){for(var kn=Ht+1;kn--;)if(Lt[kn]===Jt)return kn;return kn}function Ia(Lt){return La(Lt)?fc(Lt):Gu(Lt)}function Mr(Lt){return La(Lt)?pc(Lt):Yu(Lt)}function tl(Lt){for(var Jt=Lt.length;Jt--&&cn.test(Lt.charAt(Jt)););return Jt}var dc=Bo(Ro);function fc(Lt){for(var Jt=oa.lastIndex=0;oa.test(Lt);)++Jt;return Jt}function pc(Lt){return Lt.match(oa)||[]}function hc(Lt){return Lt.match(Oo)||[]}var mc=function Lt(Jt){Jt=Jt==null?lr:Pa.defaults(lr.Object(),Jt,Pa.pick(lr,vn));var Ht=Jt.Array,kn=Jt.Date,Dn=Jt.Error,qn=Jt.Function,rr=Jt.Math,Hn=Jt.Object,Uo=Jt.RegExp,vc=Jt.String,Or=Jt.TypeError,Pi=Ht.prototype,gc=qn.prototype,Ba=Hn.prototype,Bi=Jt["__core-js_shared__"],Mi=gc.toString,jn=Ba.hasOwnProperty,yc=0,nl=function(){var T=/[^.]+$/.exec(Bi&&Bi.keys&&Bi.keys.IE_PROTO||"");return T?"Symbol(src)_1."+T:""}(),Vi=Ba.toString,bc=Mi.call(Hn),wc=lr._,_c=Uo("^"+Mi.call(jn).replace(Gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zi=Ms?Jt.Buffer:u,da=Jt.Symbol,qi=Jt.Uint8Array,rl=zi?zi.allocUnsafe:u,Ui=el(Hn.getPrototypeOf,Hn),al=Hn.create,il=Ba.propertyIsEnumerable,ji=Pi.splice,ol=da?da.isConcatSpreadable:u,oi=da?da.iterator:u,_a=da?da.toStringTag:u,Hi=function(){try{var T=Ea(Hn,"defineProperty");return T({},"",{}),T}catch{}}(),kc=Jt.clearTimeout!==lr.clearTimeout&&Jt.clearTimeout,Sc=kn&&kn.now!==lr.Date.now&&kn.now,$c=Jt.setTimeout!==lr.setTimeout&&Jt.setTimeout,Wi=rr.ceil,Ki=rr.floor,jo=Hn.getOwnPropertySymbols,Cc=zi?zi.isBuffer:u,sl=Jt.isFinite,Ec=Pi.join,xc=el(Hn.keys,Hn),ar=rr.max,fr=rr.min,Tc=kn.now,Ac=Jt.parseInt,ll=rr.random,Oc=Pi.reverse,Ho=Ea(Jt,"DataView"),si=Ea(Jt,"Map"),Wo=Ea(Jt,"Promise"),Ma=Ea(Jt,"Set"),li=Ea(Jt,"WeakMap"),ui=Ea(Hn,"create"),Ji=li&&new li,Va={},Rc=xa(Ho),Dc=xa(si),Nc=xa(Wo),Fc=xa(Ma),Lc=xa(li),Gi=da?da.prototype:u,ci=Gi?Gi.valueOf:u,ul=Gi?Gi.toString:u;function be(T){if(Xn(T)&&!Nn(T)&&!(T instanceof Vn)){if(T instanceof Rr)return T;if(jn.call(T,"__wrapped__"))return cu(T)}return new Rr(T)}var za=function(){function T(){}return function(P){if(!Yn(P))return{};if(al)return al(P);T.prototype=P;var U=new T;return T.prototype=u,U}}();function Yi(){}function Rr(T,P){this.__wrapped__=T,this.__actions__=[],this.__chain__=!!P,this.__index__=0,this.__values__=u}be.templateSettings={escape:pe,evaluate:Ne,interpolate:Nt,variable:"",imports:{_:be}},be.prototype=Yi.prototype,be.prototype.constructor=be,Rr.prototype=za(Yi.prototype),Rr.prototype.constructor=Rr;function Vn(T){this.__wrapped__=T,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=le,this.__views__=[]}function Ic(){var T=new Vn(this.__wrapped__);return T.__actions__=gr(this.__actions__),T.__dir__=this.__dir__,T.__filtered__=this.__filtered__,T.__iteratees__=gr(this.__iteratees__),T.__takeCount__=this.__takeCount__,T.__views__=gr(this.__views__),T}function Pc(){if(this.__filtered__){var T=new Vn(this);T.__dir__=-1,T.__filtered__=!0}else T=this.clone(),T.__dir__*=-1;return T}function Bc(){var T=this.__wrapped__.value(),P=this.__dir__,U=Nn(T),ne=P<0,se=U?T.length:0,$e=Yd(0,se,this.__views__),Me=$e.start,_t=$e.end,Bt=_t-Me,Xt=ne?_t:Me-1,Qt=this.__iteratees__,rn=Qt.length,yn=0,Sn=fr(Bt,this.__takeCount__);if(!U||!ne&&se==Bt&&Sn==Bt)return Nl(T,this.__actions__);var Tn=[];e:for(;Bt--&&yn<Sn;){Xt+=P;for(var Ln=-1,An=T[Xt];++Ln<rn;){var Mn=Qt[Ln],zn=Mn.iteratee,Cr=Mn.type,vr=zn(An);if(Cr==J)An=vr;else if(!vr){if(Cr==G)continue e;break e}}Tn[yn++]=An}return Tn}Vn.prototype=za(Yi.prototype),Vn.prototype.constructor=Vn;function ka(T){var P=-1,U=T==null?0:T.length;for(this.clear();++P<U;){var ne=T[P];this.set(ne[0],ne[1])}}function Mc(){this.__data__=ui?ui(null):{},this.size=0}function Vc(T){var P=this.has(T)&&delete this.__data__[T];return this.size-=P?1:0,P}function zc(T){var P=this.__data__;if(ui){var U=P[T];return U===g?u:U}return jn.call(P,T)?P[T]:u}function qc(T){var P=this.__data__;return ui?P[T]!==u:jn.call(P,T)}function Uc(T,P){var U=this.__data__;return this.size+=this.has(T)?0:1,U[T]=ui&&P===u?g:P,this}ka.prototype.clear=Mc,ka.prototype.delete=Vc,ka.prototype.get=zc,ka.prototype.has=qc,ka.prototype.set=Uc;function Jr(T){var P=-1,U=T==null?0:T.length;for(this.clear();++P<U;){var ne=T[P];this.set(ne[0],ne[1])}}function jc(){this.__data__=[],this.size=0}function Hc(T){var P=this.__data__,U=Zi(P,T);if(U<0)return!1;var ne=P.length-1;return U==ne?P.pop():ji.call(P,U,1),--this.size,!0}function Wc(T){var P=this.__data__,U=Zi(P,T);return U<0?u:P[U][1]}function Kc(T){return Zi(this.__data__,T)>-1}function Jc(T,P){var U=this.__data__,ne=Zi(U,T);return ne<0?(++this.size,U.push([T,P])):U[ne][1]=P,this}Jr.prototype.clear=jc,Jr.prototype.delete=Hc,Jr.prototype.get=Wc,Jr.prototype.has=Kc,Jr.prototype.set=Jc;function Gr(T){var P=-1,U=T==null?0:T.length;for(this.clear();++P<U;){var ne=T[P];this.set(ne[0],ne[1])}}function Gc(){this.size=0,this.__data__={hash:new ka,map:new(si||Jr),string:new ka}}function Yc(T){var P=co(this,T).delete(T);return this.size-=P?1:0,P}function Zc(T){return co(this,T).get(T)}function Xc(T){return co(this,T).has(T)}function Qc(T,P){var U=co(this,T),ne=U.size;return U.set(T,P),this.size+=U.size==ne?0:1,this}Gr.prototype.clear=Gc,Gr.prototype.delete=Yc,Gr.prototype.get=Zc,Gr.prototype.has=Xc,Gr.prototype.set=Qc;function Sa(T){var P=-1,U=T==null?0:T.length;for(this.__data__=new Gr;++P<U;)this.add(T[P])}function ed(T){return this.__data__.set(T,g),this}function td(T){return this.__data__.has(T)}Sa.prototype.add=Sa.prototype.push=ed,Sa.prototype.has=td;function Vr(T){var P=this.__data__=new Jr(T);this.size=P.size}function nd(){this.__data__=new Jr,this.size=0}function rd(T){var P=this.__data__,U=P.delete(T);return this.size=P.size,U}function ad(T){return this.__data__.get(T)}function id(T){return this.__data__.has(T)}function od(T,P){var U=this.__data__;if(U instanceof Jr){var ne=U.__data__;if(!si||ne.length<d-1)return ne.push([T,P]),this.size=++U.size,this;U=this.__data__=new Gr(ne)}return U.set(T,P),this.size=U.size,this}Vr.prototype.clear=nd,Vr.prototype.delete=rd,Vr.prototype.get=ad,Vr.prototype.has=id,Vr.prototype.set=od;function cl(T,P){var U=Nn(T),ne=!U&&Ta(T),se=!U&&!ne&&ga(T),$e=!U&&!ne&&!se&&Ha(T),Me=U||ne||se||$e,_t=Me?Vo(T.length,vc):[],Bt=_t.length;for(var Xt in T)(P||jn.call(T,Xt))&&!(Me&&(Xt=="length"||se&&(Xt=="offset"||Xt=="parent")||$e&&(Xt=="buffer"||Xt=="byteLength"||Xt=="byteOffset")||Qr(Xt,Bt)))&&_t.push(Xt);return _t}function dl(T){var P=T.length;return P?T[rs(0,P-1)]:u}function sd(T,P){return fo(gr(T),$a(P,0,T.length))}function ld(T){return fo(gr(T))}function Ko(T,P,U){(U!==u&&!zr(T[P],U)||U===u&&!(P in T))&&Yr(T,P,U)}function di(T,P,U){var ne=T[P];(!(jn.call(T,P)&&zr(ne,U))||U===u&&!(P in T))&&Yr(T,P,U)}function Zi(T,P){for(var U=T.length;U--;)if(zr(T[U][0],P))return U;return-1}function ud(T,P,U,ne){return pa(T,function(se,$e,Me){P(ne,se,U(se),Me)}),ne}function fl(T,P){return T&&Hr(P,sr(P),T)}function cd(T,P){return T&&Hr(P,br(P),T)}function Yr(T,P,U){P=="__proto__"&&Hi?Hi(T,P,{configurable:!0,enumerable:!0,value:U,writable:!0}):T[P]=U}function Jo(T,P){for(var U=-1,ne=P.length,se=Ht(ne),$e=T==null;++U<ne;)se[U]=$e?u:As(T,P[U]);return se}function $a(T,P,U){return T===T&&(U!==u&&(T=T<=U?T:U),P!==u&&(T=T>=P?T:P)),T}function Dr(T,P,U,ne,se,$e){var Me,_t=P&w,Bt=P&k,Xt=P&$;if(U&&(Me=se?U(T,ne,se,$e):U(T)),Me!==u)return Me;if(!Yn(T))return T;var Qt=Nn(T);if(Qt){if(Me=Xd(T),!_t)return gr(T,Me)}else{var rn=pr(T),yn=rn==Ie||rn==ie;if(ga(T))return Il(T,_t);if(rn==wt||rn==Le||yn&&!se){if(Me=Bt||yn?{}:tu(T),!_t)return Bt?zd(T,cd(Me,T)):Vd(T,fl(Me,T))}else{if(!In[rn])return se?T:{};Me=Qd(T,rn,_t)}}$e||($e=new Vr);var Sn=$e.get(T);if(Sn)return Sn;$e.set(T,Me),Ou(T)?T.forEach(function(An){Me.add(Dr(An,P,U,An,T,$e))}):Tu(T)&&T.forEach(function(An,Mn){Me.set(Mn,Dr(An,P,U,Mn,T,$e))});var Tn=Xt?Bt?ms:hs:Bt?br:sr,Ln=Qt?u:Tn(T);return Ar(Ln||T,function(An,Mn){Ln&&(Mn=An,An=T[Mn]),di(Me,Mn,Dr(An,P,U,Mn,T,$e))}),Me}function dd(T){var P=sr(T);return function(U){return pl(U,T,P)}}function pl(T,P,U){var ne=U.length;if(T==null)return!ne;for(T=Hn(T);ne--;){var se=U[ne],$e=P[se],Me=T[se];if(Me===u&&!(se in T)||!$e(Me))return!1}return!0}function hl(T,P,U){if(typeof T!="function")throw new Or(f);return yi(function(){T.apply(u,U)},P)}function fi(T,P,U,ne){var se=-1,$e=Fi,Me=!0,_t=T.length,Bt=[],Xt=P.length;if(!_t)return Bt;U&&(P=Jn(P,kr(U))),ne?($e=Fo,Me=!1):P.length>=d&&($e=ii,Me=!1,P=new Sa(P));e:for(;++se<_t;){var Qt=T[se],rn=U==null?Qt:U(Qt);if(Qt=ne||Qt!==0?Qt:0,Me&&rn===rn){for(var yn=Xt;yn--;)if(P[yn]===rn)continue e;Bt.push(Qt)}else $e(P,rn,ne)||Bt.push(Qt)}return Bt}var pa=zl(jr),ml=zl(Yo,!0);function fd(T,P){var U=!0;return pa(T,function(ne,se,$e){return U=!!P(ne,se,$e),U}),U}function Xi(T,P,U){for(var ne=-1,se=T.length;++ne<se;){var $e=T[ne],Me=P($e);if(Me!=null&&(_t===u?Me===Me&&!$r(Me):U(Me,_t)))var _t=Me,Bt=$e}return Bt}function pd(T,P,U,ne){var se=T.length;for(U=Fn(U),U<0&&(U=-U>se?0:se+U),ne=ne===u||ne>se?se:Fn(ne),ne<0&&(ne+=se),ne=U>ne?0:Du(ne);U<ne;)T[U++]=P;return T}function vl(T,P){var U=[];return pa(T,function(ne,se,$e){P(ne,se,$e)&&U.push(ne)}),U}function ur(T,P,U,ne,se){var $e=-1,Me=T.length;for(U||(U=tf),se||(se=[]);++$e<Me;){var _t=T[$e];P>0&&U(_t)?P>1?ur(_t,P-1,U,ne,se):ua(se,_t):ne||(se[se.length]=_t)}return se}var Go=ql(),gl=ql(!0);function jr(T,P){return T&&Go(T,P,sr)}function Yo(T,P){return T&&gl(T,P,sr)}function Qi(T,P){return la(P,function(U){return ea(T[U])})}function Ca(T,P){P=ma(P,T);for(var U=0,ne=P.length;T!=null&&U<ne;)T=T[Wr(P[U++])];return U&&U==ne?T:u}function yl(T,P,U){var ne=P(T);return Nn(T)?ne:ua(ne,U(T))}function hr(T){return T==null?T===u?$t:We:_a&&_a in Hn(T)?Gd(T):uf(T)}function Zo(T,P){return T>P}function hd(T,P){return T!=null&&jn.call(T,P)}function md(T,P){return T!=null&&P in Hn(T)}function vd(T,P,U){return T>=fr(P,U)&&T<ar(P,U)}function Xo(T,P,U){for(var ne=U?Fo:Fi,se=T[0].length,$e=T.length,Me=$e,_t=Ht($e),Bt=1/0,Xt=[];Me--;){var Qt=T[Me];Me&&P&&(Qt=Jn(Qt,kr(P))),Bt=fr(Qt.length,Bt),_t[Me]=!U&&(P||se>=120&&Qt.length>=120)?new Sa(Me&&Qt):u}Qt=T[0];var rn=-1,yn=_t[0];e:for(;++rn<se&&Xt.length<Bt;){var Sn=Qt[rn],Tn=P?P(Sn):Sn;if(Sn=U||Sn!==0?Sn:0,!(yn?ii(yn,Tn):ne(Xt,Tn,U))){for(Me=$e;--Me;){var Ln=_t[Me];if(!(Ln?ii(Ln,Tn):ne(T[Me],Tn,U)))continue e}yn&&yn.push(Tn),Xt.push(Sn)}}return Xt}function gd(T,P,U,ne){return jr(T,function(se,$e,Me){P(ne,U(se),$e,Me)}),ne}function pi(T,P,U){P=ma(P,T),T=iu(T,P);var ne=T==null?T:T[Wr(Fr(P))];return ne==null?u:_r(ne,T,U)}function bl(T){return Xn(T)&&hr(T)==Le}function yd(T){return Xn(T)&&hr(T)==ln}function bd(T){return Xn(T)&&hr(T)==Te}function hi(T,P,U,ne,se){return T===P?!0:T==null||P==null||!Xn(T)&&!Xn(P)?T!==T&&P!==P:wd(T,P,U,ne,hi,se)}function wd(T,P,U,ne,se,$e){var Me=Nn(T),_t=Nn(P),Bt=Me?ke:pr(T),Xt=_t?ke:pr(P);Bt=Bt==Le?wt:Bt,Xt=Xt==Le?wt:Xt;var Qt=Bt==wt,rn=Xt==wt,yn=Bt==Xt;if(yn&&ga(T)){if(!ga(P))return!1;Me=!0,Qt=!1}if(yn&&!Qt)return $e||($e=new Vr),Me||Ha(T)?Xl(T,P,U,ne,se,$e):Kd(T,P,Bt,U,ne,se,$e);if(!(U&S)){var Sn=Qt&&jn.call(T,"__wrapped__"),Tn=rn&&jn.call(P,"__wrapped__");if(Sn||Tn){var Ln=Sn?T.value():T,An=Tn?P.value():P;return $e||($e=new Vr),se(Ln,An,U,ne,$e)}}return yn?($e||($e=new Vr),Jd(T,P,U,ne,se,$e)):!1}function _d(T){return Xn(T)&&pr(T)==de}function Qo(T,P,U,ne){var se=U.length,$e=se,Me=!ne;if(T==null)return!$e;for(T=Hn(T);se--;){var _t=U[se];if(Me&&_t[2]?_t[1]!==T[_t[0]]:!(_t[0]in T))return!1}for(;++se<$e;){_t=U[se];var Bt=_t[0],Xt=T[Bt],Qt=_t[1];if(Me&&_t[2]){if(Xt===u&&!(Bt in T))return!1}else{var rn=new Vr;if(ne)var yn=ne(Xt,Qt,Bt,T,P,rn);if(!(yn===u?hi(Qt,Xt,S|C,ne,rn):yn))return!1}}return!0}function wl(T){if(!Yn(T)||rf(T))return!1;var P=ea(T)?_c:or;return P.test(xa(T))}function kd(T){return Xn(T)&&hr(T)==Tt}function Sd(T){return Xn(T)&&pr(T)==Ft}function $d(T){return Xn(T)&&yo(T.length)&&!!$n[hr(T)]}function _l(T){return typeof T=="function"?T:T==null?wr:typeof T=="object"?Nn(T)?$l(T[0],T[1]):Sl(T):Uu(T)}function es(T){if(!gi(T))return xc(T);var P=[];for(var U in Hn(T))jn.call(T,U)&&U!="constructor"&&P.push(U);return P}function Cd(T){if(!Yn(T))return lf(T);var P=gi(T),U=[];for(var ne in T)ne=="constructor"&&(P||!jn.call(T,ne))||U.push(ne);return U}function ts(T,P){return T<P}function kl(T,P){var U=-1,ne=yr(T)?Ht(T.length):[];return pa(T,function(se,$e,Me){ne[++U]=P(se,$e,Me)}),ne}function Sl(T){var P=gs(T);return P.length==1&&P[0][2]?ru(P[0][0],P[0][1]):function(U){return U===T||Qo(U,T,P)}}function $l(T,P){return bs(T)&&nu(P)?ru(Wr(T),P):function(U){var ne=As(U,T);return ne===u&&ne===P?Os(U,T):hi(P,ne,S|C)}}function eo(T,P,U,ne,se){T!==P&&Go(P,function($e,Me){if(se||(se=new Vr),Yn($e))Ed(T,P,Me,U,eo,ne,se);else{var _t=ne?ne(_s(T,Me),$e,Me+"",T,P,se):u;_t===u&&(_t=$e),Ko(T,Me,_t)}},br)}function Ed(T,P,U,ne,se,$e,Me){var _t=_s(T,U),Bt=_s(P,U),Xt=Me.get(Bt);if(Xt){Ko(T,U,Xt);return}var Qt=$e?$e(_t,Bt,U+"",T,P,Me):u,rn=Qt===u;if(rn){var yn=Nn(Bt),Sn=!yn&&ga(Bt),Tn=!yn&&!Sn&&Ha(Bt);Qt=Bt,yn||Sn||Tn?Nn(_t)?Qt=_t:Qn(_t)?Qt=gr(_t):Sn?(rn=!1,Qt=Il(Bt,!0)):Tn?(rn=!1,Qt=Pl(Bt,!0)):Qt=[]:bi(Bt)||Ta(Bt)?(Qt=_t,Ta(_t)?Qt=Nu(_t):(!Yn(_t)||ea(_t))&&(Qt=tu(Bt))):rn=!1}rn&&(Me.set(Bt,Qt),se(Qt,Bt,ne,$e,Me),Me.delete(Bt)),Ko(T,U,Qt)}function Cl(T,P){var U=T.length;if(U)return P+=P<0?U:0,Qr(P,U)?T[P]:u}function El(T,P,U){P.length?P=Jn(P,function($e){return Nn($e)?function(Me){return Ca(Me,$e.length===1?$e[0]:$e)}:$e}):P=[wr];var ne=-1;P=Jn(P,kr(xn()));var se=kl(T,function($e,Me,_t){var Bt=Jn(P,function(Xt){return Xt($e)});return{criteria:Bt,index:++ne,value:$e}});return Qu(se,function($e,Me){return Md($e,Me,U)})}function xd(T,P){return xl(T,P,function(U,ne){return Os(T,ne)})}function xl(T,P,U){for(var ne=-1,se=P.length,$e={};++ne<se;){var Me=P[ne],_t=Ca(T,Me);U(_t,Me)&&mi($e,ma(Me,T),_t)}return $e}function Td(T){return function(P){return Ca(P,T)}}function ns(T,P,U,ne){var se=ne?Xu:Fa,$e=-1,Me=P.length,_t=T;for(T===P&&(P=gr(P)),U&&(_t=Jn(T,kr(U)));++$e<Me;)for(var Bt=0,Xt=P[$e],Qt=U?U(Xt):Xt;(Bt=se(_t,Qt,Bt,ne))>-1;)_t!==T&&ji.call(_t,Bt,1),ji.call(T,Bt,1);return T}function Tl(T,P){for(var U=T?P.length:0,ne=U-1;U--;){var se=P[U];if(U==ne||se!==$e){var $e=se;Qr(se)?ji.call(T,se,1):ss(T,se)}}return T}function rs(T,P){return T+Ki(ll()*(P-T+1))}function Ad(T,P,U,ne){for(var se=-1,$e=ar(Wi((P-T)/(U||1)),0),Me=Ht($e);$e--;)Me[ne?$e:++se]=T,T+=U;return Me}function is(T,P){var U="";if(!T||P<1||P>ae)return U;do P%2&&(U+=T),P=Ki(P/2),P&&(T+=T);while(P);return U}function Pn(T,P){return ks(au(T,P,wr),T+"")}function Od(T){return dl(Wa(T))}function Rd(T,P){var U=Wa(T);return fo(U,$a(P,0,U.length))}function mi(T,P,U,ne){if(!Yn(T))return T;P=ma(P,T);for(var se=-1,$e=P.length,Me=$e-1,_t=T;_t!=null&&++se<$e;){var Bt=Wr(P[se]),Xt=U;if(Bt==="__proto__"||Bt==="constructor"||Bt==="prototype")return T;if(se!=Me){var Qt=_t[Bt];Xt=ne?ne(Qt,Bt,_t):u,Xt===u&&(Xt=Yn(Qt)?Qt:Qr(P[se+1])?[]:{})}di(_t,Bt,Xt),_t=_t[Bt]}return T}var Al=Ji?function(T,P){return Ji.set(T,P),T}:wr,Dd=Hi?function(T,P){return Hi(T,"toString",{configurable:!0,enumerable:!1,value:Ds(P),writable:!0})}:wr;function Nd(T){return fo(Wa(T))}function Nr(T,P,U){var ne=-1,se=T.length;P<0&&(P=-P>se?0:se+P),U=U>se?se:U,U<0&&(U+=se),se=P>U?0:U-P>>>0,P>>>=0;for(var $e=Ht(se);++ne<se;)$e[ne]=T[ne+P];return $e}function Fd(T,P){var U;return pa(T,function(ne,se,$e){return U=P(ne,se,$e),!U}),!!U}function no(T,P,U){var ne=0,se=T==null?ne:T.length;if(typeof P=="number"&&P===P&&se<=De){for(;ne<se;){var $e=ne+se>>>1,Me=T[$e];Me!==null&&!$r(Me)&&(U?Me<=P:Me<P)?ne=$e+1:se=$e}return se}return os(T,P,wr,U)}function os(T,P,U,ne){var se=0,$e=T==null?0:T.length;if($e===0)return 0;P=U(P);for(var Me=P!==P,_t=P===null,Bt=$r(P),Xt=P===u;se<$e;){var Qt=Ki((se+$e)/2),rn=U(T[Qt]),yn=rn!==u,Sn=rn===null,Tn=rn===rn,Ln=$r(rn);if(Me)var An=ne||Tn;else Xt?An=Tn&&(ne||yn):_t?An=Tn&&yn&&(ne||!Sn):Bt?An=Tn&&yn&&!Sn&&(ne||!Ln):Sn||Ln?An=!1:An=ne?rn<=P:rn<P;An?se=Qt+1:$e=Qt}return fr($e,Se)}function Ol(T,P){for(var U=-1,ne=T.length,se=0,$e=[];++U<ne;){var Me=T[U],_t=P?P(Me):Me;if(!U||!zr(_t,Bt)){var Bt=_t;$e[se++]=Me===0?0:Me}}return $e}function Rl(T){return typeof T=="number"?T:$r(T)?ve:+T}function Sr(T){if(typeof T=="string")return T;if(Nn(T))return Jn(T,Sr)+"";if($r(T))return ul?ul.call(T):"";var P=T+"";return P=="0"&&1/T==-re?"-0":P}function ha(T,P,U){var ne=-1,se=Fi,$e=T.length,Me=!0,_t=[],Bt=_t;if(U)Me=!1,se=Fo;else if($e>=d){var Xt=P?null:Hd(T);if(Xt)return Ii(Xt);Me=!1,se=ii,Bt=new Sa}else Bt=P?[]:_t;e:for(;++ne<$e;){var Qt=T[ne],rn=P?P(Qt):Qt;if(Qt=U||Qt!==0?Qt:0,Me&&rn===rn){for(var yn=Bt.length;yn--;)if(Bt[yn]===rn)continue e;P&&Bt.push(rn),_t.push(Qt)}else se(Bt,rn,U)||(Bt!==_t&&Bt.push(rn),_t.push(Qt))}return _t}function ss(T,P){return P=ma(P,T),T=iu(T,P),T==null||delete T[Wr(Fr(P))]}function Dl(T,P,U,ne){return mi(T,P,U(Ca(T,P)),ne)}function ro(T,P,U,ne){for(var se=T.length,$e=ne?se:-1;(ne?$e--:++$e<se)&&P(T[$e],$e,T););return U?Nr(T,ne?0:$e,ne?$e+1:se):Nr(T,ne?$e+1:0,ne?se:$e)}function Nl(T,P){var U=T;return U instanceof Vn&&(U=U.value()),Lo(P,function(ne,se){return se.func.apply(se.thisArg,ua([ne],se.args))},U)}function ls(T,P,U){var ne=T.length;if(ne<2)return ne?ha(T[0]):[];for(var se=-1,$e=Ht(ne);++se<ne;)for(var Me=T[se],_t=-1;++_t<ne;)_t!=se&&($e[se]=fi($e[se]||Me,T[_t],P,U));return ha(ur($e,1),P,U)}function Fl(T,P,U){for(var ne=-1,se=T.length,$e=P.length,Me={};++ne<se;){var _t=ne<$e?P[ne]:u;U(Me,T[ne],_t)}return Me}function us(T){return Qn(T)?T:[]}function cs(T){return typeof T=="function"?T:wr}function ma(T,P){return Nn(T)?T:bs(T,P)?[T]:uu(Un(T))}var Ld=Pn;function va(T,P,U){var ne=T.length;return U=U===u?ne:U,!P&&U>=ne?T:Nr(T,P,U)}var Ll=kc||function(T){return lr.clearTimeout(T)};function Il(T,P){if(P)return T.slice();var U=T.length,ne=rl?rl(U):new T.constructor(U);return T.copy(ne),ne}function ds(T){var P=new T.constructor(T.byteLength);return new qi(P).set(new qi(T)),P}function Id(T,P){var U=P?ds(T.buffer):T.buffer;return new T.constructor(U,T.byteOffset,T.byteLength)}function Pd(T){var P=new T.constructor(T.source,Kn.exec(T));return P.lastIndex=T.lastIndex,P}function Bd(T){return ci?Hn(ci.call(T)):{}}function Pl(T,P){var U=P?ds(T.buffer):T.buffer;return new T.constructor(U,T.byteOffset,T.length)}function Bl(T,P){if(T!==P){var U=T!==u,ne=T===null,se=T===T,$e=$r(T),Me=P!==u,_t=P===null,Bt=P===P,Xt=$r(P);if(!_t&&!Xt&&!$e&&T>P||$e&&Me&&Bt&&!_t&&!Xt||ne&&Me&&Bt||!U&&Bt||!se)return 1;if(!ne&&!$e&&!Xt&&T<P||Xt&&U&&se&&!ne&&!$e||_t&&U&&se||!Me&&se||!Bt)return-1}return 0}function Md(T,P,U){for(var ne=-1,se=T.criteria,$e=P.criteria,Me=se.length,_t=U.length;++ne<Me;){var Bt=Bl(se[ne],$e[ne]);if(Bt){if(ne>=_t)return Bt;var Xt=U[ne];return Bt*(Xt=="desc"?-1:1)}}return T.index-P.index}function Ml(T,P,U,ne){for(var se=-1,$e=T.length,Me=U.length,_t=-1,Bt=P.length,Xt=ar($e-Me,0),Qt=Ht(Bt+Xt),rn=!ne;++_t<Bt;)Qt[_t]=P[_t];for(;++se<Me;)(rn||se<$e)&&(Qt[U[se]]=T[se]);for(;Xt--;)Qt[_t++]=T[se++];return Qt}function Vl(T,P,U,ne){for(var se=-1,$e=T.length,Me=-1,_t=U.length,Bt=-1,Xt=P.length,Qt=ar($e-_t,0),rn=Ht(Qt+Xt),yn=!ne;++se<Qt;)rn[se]=T[se];for(var Sn=se;++Bt<Xt;)rn[Sn+Bt]=P[Bt];for(;++Me<_t;)(yn||se<$e)&&(rn[Sn+U[Me]]=T[se++]);return rn}function gr(T,P){var U=-1,ne=T.length;for(P||(P=Ht(ne));++U<ne;)P[U]=T[U];return P}function Hr(T,P,U,ne){var se=!U;U||(U={});for(var $e=-1,Me=P.length;++$e<Me;){var _t=P[$e],Bt=ne?ne(U[_t],T[_t],_t,U,T):u;Bt===u&&(Bt=T[_t]),se?Yr(U,_t,Bt):di(U,_t,Bt)}return U}function Vd(T,P){return Hr(T,ys(T),P)}function zd(T,P){return Hr(T,Ql(T),P)}function ao(T,P){return function(U,ne){var se=Nn(U)?Wu:ud,$e=P?P():{};return se(U,T,xn(ne,2),$e)}}function qa(T){return Pn(function(P,U){var ne=-1,se=U.length,$e=se>1?U[se-1]:u,Me=se>2?U[2]:u;for($e=T.length>3&&typeof $e=="function"?(se--,$e):u,Me&&mr(U[0],U[1],Me)&&($e=se<3?u:$e,se=1),P=Hn(P);++ne<se;){var _t=U[ne];_t&&T(P,_t,ne,$e)}return P})}function zl(T,P){return function(U,ne){if(U==null)return U;if(!yr(U))return T(U,ne);for(var se=U.length,$e=P?se:-1,Me=Hn(U);(P?$e--:++$e<se)&&ne(Me[$e],$e,Me)!==!1;);return U}}function ql(T){return function(P,U,ne){for(var se=-1,$e=Hn(P),Me=ne(P),_t=Me.length;_t--;){var Bt=Me[T?_t:++se];if(U($e[Bt],Bt,$e)===!1)break}return P}}function qd(T,P,U){var ne=P&E,se=vi(T);function $e(){var Me=this&&this!==lr&&this instanceof $e?se:T;return Me.apply(ne?U:this,arguments)}return $e}function Ul(T){return function(P){P=Un(P);var U=La(P)?Mr(P):u,ne=U?U[0]:P.charAt(0),se=U?va(U,1).join(""):P.slice(1);return ne[T]()+se}}function Ua(T){return function(P){return Lo(zu(Vu(P).replace(To,"")),T,"")}}function vi(T){return function(){var P=arguments;switch(P.length){case 0:return new T;case 1:return new T(P[0]);case 2:return new T(P[0],P[1]);case 3:return new T(P[0],P[1],P[2]);case 4:return new T(P[0],P[1],P[2],P[3]);case 5:return new T(P[0],P[1],P[2],P[3],P[4]);case 6:return new T(P[0],P[1],P[2],P[3],P[4],P[5]);case 7:return new T(P[0],P[1],P[2],P[3],P[4],P[5],P[6])}var U=za(T.prototype),ne=T.apply(U,P);return Yn(ne)?ne:U}}function Ud(T,P,U){var ne=vi(T);function se(){for(var $e=arguments.length,Me=Ht($e),_t=$e,Bt=ja(se);_t--;)Me[_t]=arguments[_t];var Xt=$e<3&&Me[0]!==Bt&&Me[$e-1]!==Bt?[]:ca(Me,Bt);if($e-=Xt.length,$e<U)return Jl(T,P,io,se.placeholder,u,Me,Xt,u,u,U-$e);var Qt=this&&this!==lr&&this instanceof se?ne:T;return _r(Qt,this,Me)}return se}function jl(T){return function(P,U,ne){var se=Hn(P);if(!yr(P)){var $e=xn(U,3);P=sr(P),U=function(_t){return $e(se[_t],_t,se)}}var Me=T(P,U,ne);return Me>-1?se[$e?P[Me]:Me]:u}}function Hl(T){return Xr(function(P){var U=P.length,ne=U,se=Rr.prototype.thru;for(T&&P.reverse();ne--;){var $e=P[ne];if(typeof $e!="function")throw new Or(f);if(se&&!Me&&uo($e)=="wrapper")var Me=new Rr([],!0)}for(ne=Me?ne:U;++ne<U;){$e=P[ne];var _t=uo($e),Bt=_t=="wrapper"?vs($e):u;Bt&&ws(Bt[0])&&Bt[1]==(M|O|B|z)&&!Bt[4].length&&Bt[9]==1?Me=Me[uo(Bt[0])].apply(Me,Bt[3]):Me=$e.length==1&&ws($e)?Me[_t]():Me.thru($e)}return function(){var Xt=arguments,Qt=Xt[0];if(Me&&Xt.length==1&&Nn(Qt))return Me.plant(Qt).value();for(var rn=0,yn=U?P[rn].apply(this,Xt):Qt;++rn<U;)yn=P[rn].call(this,yn);return yn}})}function io(T,P,U,ne,se,$e,Me,_t,Bt,Xt){var Qt=P&M,rn=P&E,yn=P&D,Sn=P&(O|F),Tn=P&q,Ln=yn?u:vi(T);function An(){for(var Mn=arguments.length,zn=Ht(Mn),Cr=Mn;Cr--;)zn[Cr]=arguments[Cr];if(Sn)var vr=ja(An),Er=tc(zn,vr);if(ne&&(zn=Ml(zn,ne,se,Sn)),$e&&(zn=Vl(zn,$e,Me,Sn)),Mn-=Er,Sn&&Mn<Xt){var er=ca(zn,vr);return Jl(T,P,io,An.placeholder,U,zn,er,_t,Bt,Xt-Mn)}var qr=rn?U:this,na=yn?qr[T]:T;return Mn=zn.length,_t?zn=cf(zn,_t):Tn&&Mn>1&&zn.reverse(),Qt&&Bt<Mn&&(zn.length=Bt),this&&this!==lr&&this instanceof An&&(na=Ln||vi(na)),na.apply(qr,zn)}return An}function Wl(T,P){return function(U,ne){return gd(U,T,P(ne),{})}}function oo(T,P){return function(U,ne){var se;if(U===u&&ne===u)return P;if(U!==u&&(se=U),ne!==u){if(se===u)return ne;typeof U=="string"||typeof ne=="string"?(U=Sr(U),ne=Sr(ne)):(U=Rl(U),ne=Rl(ne)),se=T(U,ne)}return se}}function fs(T){return Xr(function(P){return P=Jn(P,kr(xn())),Pn(function(U){var ne=this;return T(P,function(se){return _r(se,ne,U)})})})}function so(T,P){P=P===u?" ":Sr(P);var U=P.length;if(U<2)return U?is(P,T):P;var ne=is(P,Wi(T/Ia(P)));return La(P)?va(Mr(ne),0,T).join(""):ne.slice(0,T)}function jd(T,P,U,ne){var se=P&E,$e=vi(T);function Me(){for(var _t=-1,Bt=arguments.length,Xt=-1,Qt=ne.length,rn=Ht(Qt+Bt),yn=this&&this!==lr&&this instanceof Me?$e:T;++Xt<Qt;)rn[Xt]=ne[Xt];for(;Bt--;)rn[Xt++]=arguments[++_t];return _r(yn,se?U:this,rn)}return Me}function Kl(T){return function(P,U,ne){return ne&&typeof ne!="number"&&mr(P,U,ne)&&(U=ne=u),P=ta(P),U===u?(U=P,P=0):U=ta(U),ne=ne===u?P<U?1:-1:ta(ne),Ad(P,U,ne,T)}}function lo(T){return function(P,U){return typeof P=="string"&&typeof U=="string"||(P=Lr(P),U=Lr(U)),T(P,U)}}function Jl(T,P,U,ne,se,$e,Me,_t,Bt,Xt){var Qt=P&O,rn=Qt?Me:u,yn=Qt?u:Me,Sn=Qt?$e:u,Tn=Qt?u:$e;P|=Qt?B:I,P&=~(Qt?I:B),P&A||(P&=~(E|D));var Ln=[T,P,se,Sn,rn,Tn,yn,_t,Bt,Xt],An=U.apply(u,Ln);return ws(T)&&ou(An,Ln),An.placeholder=ne,su(An,T,P)}function ps(T){var P=rr[T];return function(U,ne){if(U=Lr(U),ne=ne==null?0:fr(Fn(ne),292),ne&&sl(U)){var se=(Un(U)+"e").split("e"),$e=P(se[0]+"e"+(+se[1]+ne));return se=(Un($e)+"e").split("e"),+(se[0]+"e"+(+se[1]-ne))}return P(U)}}var Hd=Ma&&1/Ii(new Ma([,-0]))[1]==re?function(T){return new Ma(T)}:Ls;function Gl(T){return function(P){var U=pr(P);return U==de?qo(P):U==Ft?lc(P):ec(P,T(P))}}function Zr(T,P,U,ne,se,$e,Me,_t){var Bt=P&D;if(!Bt&&typeof T!="function")throw new Or(f);var Xt=ne?ne.length:0;if(Xt||(P&=~(B|I),ne=se=u),Me=Me===u?Me:ar(Fn(Me),0),_t=_t===u?_t:Fn(_t),Xt-=se?se.length:0,P&I){var Qt=ne,rn=se;ne=se=u}var yn=Bt?u:vs(T),Sn=[T,P,U,ne,se,Qt,rn,$e,Me,_t];if(yn&&sf(Sn,yn),T=Sn[0],P=Sn[1],U=Sn[2],ne=Sn[3],se=Sn[4],_t=Sn[9]=Sn[9]===u?Bt?0:T.length:ar(Sn[9]-Xt,0),!_t&&P&(O|F)&&(P&=~(O|F)),!P||P==E)var Tn=qd(T,P,U);else P==O||P==F?Tn=Ud(T,P,_t):(P==B||P==(E|B))&&!se.length?Tn=jd(T,P,U,ne):Tn=io.apply(u,Sn);var Ln=yn?Al:ou;return su(Ln(Tn,Sn),T,P)}function Yl(T,P,U,ne){return T===u||zr(T,Ba[U])&&!jn.call(ne,U)?P:T}function Zl(T,P,U,ne,se,$e){return Yn(T)&&Yn(P)&&($e.set(P,T),eo(T,P,u,Zl,$e),$e.delete(P)),T}function Wd(T){return bi(T)?u:T}function Xl(T,P,U,ne,se,$e){var Me=U&S,_t=T.length,Bt=P.length;if(_t!=Bt&&!(Me&&Bt>_t))return!1;var Xt=$e.get(T),Qt=$e.get(P);if(Xt&&Qt)return Xt==P&&Qt==T;var rn=-1,yn=!0,Sn=U&C?new Sa:u;for($e.set(T,P),$e.set(P,T);++rn<_t;){var Tn=T[rn],Ln=P[rn];if(ne)var An=Me?ne(Ln,Tn,rn,P,T,$e):ne(Tn,Ln,rn,T,P,$e);if(An!==u){if(An)continue;yn=!1;break}if(Sn){if(!Io(P,function(Mn,zn){if(!ii(Sn,zn)&&(Tn===Mn||se(Tn,Mn,U,ne,$e)))return Sn.push(zn)})){yn=!1;break}}else if(!(Tn===Ln||se(Tn,Ln,U,ne,$e))){yn=!1;break}}return $e.delete(T),$e.delete(P),yn}function Kd(T,P,U,ne,se,$e,Me){switch(U){case hn:if(T.byteLength!=P.byteLength||T.byteOffset!=P.byteOffset)return!1;T=T.buffer,P=P.buffer;case ln:return!(T.byteLength!=P.byteLength||!$e(new qi(T),new qi(P)));case Ce:case Te:case Fe:return zr(+T,+P);case Vt:return T.name==P.name&&T.message==P.message;case Tt:case St:return T==P+"";case de:var _t=qo;case Ft:var Bt=ne&S;if(_t||(_t=Ii),T.size!=P.size&&!Bt)return!1;var Xt=Me.get(T);if(Xt)return Xt==P;ne|=C,Me.set(T,P);var Qt=Xl(_t(T),_t(P),ne,se,$e,Me);return Me.delete(T),Qt;case Wt:if(ci)return ci.call(T)==ci.call(P)}return!1}function Jd(T,P,U,ne,se,$e){var Me=U&S,_t=hs(T),Bt=_t.length,Xt=hs(P),Qt=Xt.length;if(Bt!=Qt&&!Me)return!1;for(var rn=Bt;rn--;){var yn=_t[rn];if(!(Me?yn in P:jn.call(P,yn)))return!1}var Sn=$e.get(T),Tn=$e.get(P);if(Sn&&Tn)return Sn==P&&Tn==T;var Ln=!0;$e.set(T,P),$e.set(P,T);for(var An=Me;++rn<Bt;){yn=_t[rn];var Mn=T[yn],zn=P[yn];if(ne)var Cr=Me?ne(zn,Mn,yn,P,T,$e):ne(Mn,zn,yn,T,P,$e);if(!(Cr===u?Mn===zn||se(Mn,zn,U,ne,$e):Cr)){Ln=!1;break}An||(An=yn=="constructor")}if(Ln&&!An){var vr=T.constructor,Er=P.constructor;vr!=Er&&"constructor"in T&&"constructor"in P&&!(typeof vr=="function"&&vr instanceof vr&&typeof Er=="function"&&Er instanceof Er)&&(Ln=!1)}return $e.delete(T),$e.delete(P),Ln}function Xr(T){return ks(au(T,u,pu),T+"")}function hs(T){return yl(T,sr,ys)}function ms(T){return yl(T,br,Ql)}var vs=Ji?function(T){return Ji.get(T)}:Ls;function uo(T){for(var P=T.name+"",U=Va[P],ne=jn.call(Va,P)?U.length:0;ne--;){var se=U[ne],$e=se.func;if($e==null||$e==T)return se.name}return P}function ja(T){var P=jn.call(be,"placeholder")?be:T;return P.placeholder}function xn(){var T=be.iteratee||Ns;return T=T===Ns?_l:T,arguments.length?T(arguments[0],arguments[1]):T}function co(T,P){var U=T.__data__;return nf(P)?U[typeof P=="string"?"string":"hash"]:U.map}function gs(T){for(var P=sr(T),U=P.length;U--;){var ne=P[U],se=T[ne];P[U]=[ne,se,nu(se)]}return P}function Ea(T,P){var U=ic(T,P);return wl(U)?U:u}function Gd(T){var P=jn.call(T,_a),U=T[_a];try{T[_a]=u;var ne=!0}catch{}var se=Vi.call(T);return ne&&(P?T[_a]=U:delete T[_a]),se}var ys=jo?function(T){return T==null?[]:(T=Hn(T),la(jo(T),function(P){return il.call(T,P)}))}:Is,Ql=jo?function(T){for(var P=[];T;)ua(P,ys(T)),T=Ui(T);return P}:Is,pr=hr;(Ho&&pr(new Ho(new ArrayBuffer(1)))!=hn||si&&pr(new si)!=de||Wo&&pr(Wo.resolve())!=jt||Ma&&pr(new Ma)!=Ft||li&&pr(new li)!=xt)&&(pr=function(T){var P=hr(T),U=P==wt?T.constructor:u,ne=U?xa(U):"";if(ne)switch(ne){case Rc:return hn;case Dc:return de;case Nc:return jt;case Fc:return Ft;case Lc:return xt}return P});function Yd(T,P,U){for(var ne=-1,se=U.length;++ne<se;){var $e=U[ne],Me=$e.size;switch($e.type){case"drop":T+=Me;break;case"dropRight":P-=Me;break;case"take":P=fr(P,T+Me);break;case"takeRight":T=ar(T,P-Me);break}}return{start:T,end:P}}function Zd(T){var P=T.match(Bn);return P?P[1].split(Rn):[]}function eu(T,P,U){P=ma(P,T);for(var ne=-1,se=P.length,$e=!1;++ne<se;){var Me=Wr(P[ne]);if(!($e=T!=null&&U(T,Me)))break;T=T[Me]}return $e||++ne!=se?$e:(se=T==null?0:T.length,!!se&&yo(se)&&Qr(Me,se)&&(Nn(T)||Ta(T)))}function Xd(T){var P=T.length,U=new T.constructor(P);return P&&typeof T[0]=="string"&&jn.call(T,"index")&&(U.index=T.index,U.input=T.input),U}function tu(T){return typeof T.constructor=="function"&&!gi(T)?za(Ui(T)):{}}function Qd(T,P,U){var ne=T.constructor;switch(P){case ln:return ds(T);case Ce:case Te:return new ne(+T);case hn:return Id(T,U);case kt:case Et:case zt:case Yt:case mn:case an:case sn:case wn:case Cn:return Pl(T,U);case de:return new ne;case Fe:case St:return new ne(T);case Tt:return Pd(T);case Ft:return new ne;case Wt:return Bd(T)}}function ef(T,P){var U=P.length;if(!U)return T;var ne=U-1;return P[ne]=(U>1?"& ":"")+P[ne],P=P.join(U>2?", ":" "),T.replace(fn,`{
/* [wrapped with `+P+`] */
`)}function tf(T){return Nn(T)||Ta(T)||!!(ol&&T&&T[ol])}function Qr(T,P){var U=typeof T;return P=P??ae,!!P&&(U=="number"||U!="symbol"&&he.test(T))&&T>-1&&T%1==0&&T<P}function mr(T,P,U){if(!Yn(U))return!1;var ne=typeof P;return(ne=="number"?yr(U)&&Qr(P,U.length):ne=="string"&&P in U)?zr(U[P],T):!1}function bs(T,P){if(Nn(T))return!1;var U=typeof T;return U=="number"||U=="symbol"||U=="boolean"||T==null||$r(T)?!0:tn.test(T)||!qt.test(T)||P!=null&&T in Hn(P)}function nf(T){var P=typeof T;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?T!=="__proto__":T===null}function ws(T){var P=uo(T),U=be[P];if(typeof U!="function"||!(P in Vn.prototype))return!1;if(T===U)return!0;var ne=vs(U);return!!ne&&T===ne[0]}function rf(T){return!!nl&&nl in T}var af=Bi?ea:Ps;function gi(T){var P=T&&T.constructor,U=typeof P=="function"&&P.prototype||Ba;return T===U}function nu(T){return T===T&&!Yn(T)}function ru(T,P){return function(U){return U==null?!1:U[T]===P&&(P!==u||T in Hn(U))}}function of(T){var P=vo(T,function(ne){return U.size===y&&U.clear(),ne}),U=P.cache;return P}function sf(T,P){var U=T[1],ne=P[1],se=U|ne,$e=se<(E|D|M),Me=ne==M&&U==O||ne==M&&U==z&&T[7].length<=P[8]||ne==(M|z)&&P[7].length<=P[8]&&U==O;if(!($e||Me))return T;ne&E&&(T[2]=P[2],se|=U&E?0:A);var _t=P[3];if(_t){var Bt=T[3];T[3]=Bt?Ml(Bt,_t,P[4]):_t,T[4]=Bt?ca(T[3],b):P[4]}return _t=P[5],_t&&(Bt=T[5],T[5]=Bt?Vl(Bt,_t,P[6]):_t,T[6]=Bt?ca(T[5],b):P[6]),_t=P[7],_t&&(T[7]=_t),ne&M&&(T[8]=T[8]==null?P[8]:fr(T[8],P[8])),T[9]==null&&(T[9]=P[9]),T[0]=P[0],T[1]=se,T}function lf(T){var P=[];if(T!=null)for(var U in Hn(T))P.push(U);return P}function uf(T){return Vi.call(T)}function au(T,P,U){return P=ar(P===u?T.length-1:P,0),function(){for(var ne=arguments,se=-1,$e=ar(ne.length-P,0),Me=Ht($e);++se<$e;)Me[se]=ne[P+se];se=-1;for(var _t=Ht(P+1);++se<P;)_t[se]=ne[se];return _t[P]=U(Me),_r(T,this,_t)}}function iu(T,P){return P.length<2?T:Ca(T,Nr(P,0,-1))}function cf(T,P){for(var U=T.length,ne=fr(P.length,U),se=gr(T);ne--;){var $e=P[ne];T[ne]=Qr($e,U)?se[$e]:u}return T}function _s(T,P){if(!(P==="constructor"&&typeof T[P]=="function")&&P!="__proto__")return T[P]}var ou=lu(Al),yi=$c||function(T,P){return lr.setTimeout(T,P)},ks=lu(Dd);function su(T,P,U){var ne=P+"";return ks(T,ef(ne,df(Zd(ne),U)))}function lu(T){var P=0,U=0;return function(){var ne=Tc(),se=ee-(ne-U);if(U=ne,se>0){if(++P>=j)return arguments[0]}else P=0;return T.apply(u,arguments)}}function fo(T,P){var U=-1,ne=T.length,se=ne-1;for(P=P===u?ne:P;++U<P;){var $e=rs(U,se),Me=T[$e];T[$e]=T[U],T[U]=Me}return T.length=P,T}var uu=of(function(T){var P=[];return T.charCodeAt(0)===46&&P.push(""),T.replace(un,function(U,ne,se,$e){P.push(se?$e.replace(ir,"$1"):ne||U)}),P});function Wr(T){if(typeof T=="string"||$r(T))return T;var P=T+"";return P=="0"&&1/T==-re?"-0":P}function xa(T){if(T!=null){try{return Mi.call(T)}catch{}try{return T+""}catch{}}return""}function df(T,P){return Ar(At,function(U){var ne="_."+U[0];P&U[1]&&!Fi(T,ne)&&T.push(ne)}),T.sort()}function cu(T){if(T instanceof Vn)return T.clone();var P=new Rr(T.__wrapped__,T.__chain__);return P.__actions__=gr(T.__actions__),P.__index__=T.__index__,P.__values__=T.__values__,P}function ff(T,P,U){(U?mr(T,P,U):P===u)?P=1:P=ar(Fn(P),0);var ne=T==null?0:T.length;if(!ne||P<1)return[];for(var se=0,$e=0,Me=Ht(Wi(ne/P));se<ne;)Me[$e++]=Nr(T,se,se+=P);return Me}function pf(T){for(var P=-1,U=T==null?0:T.length,ne=0,se=[];++P<U;){var $e=T[P];$e&&(se[ne++]=$e)}return se}function hf(){var T=arguments.length;if(!T)return[];for(var P=Ht(T-1),U=arguments[0],ne=T;ne--;)P[ne-1]=arguments[ne];return ua(Nn(U)?gr(U):[U],ur(P,1))}var mf=Pn(function(T,P){return Qn(T)?fi(T,ur(P,1,Qn,!0)):[]}),vf=Pn(function(T,P){var U=Fr(P);return Qn(U)&&(U=u),Qn(T)?fi(T,ur(P,1,Qn,!0),xn(U,2)):[]}),gf=Pn(function(T,P){var U=Fr(P);return Qn(U)&&(U=u),Qn(T)?fi(T,ur(P,1,Qn,!0),u,U):[]});function yf(T,P,U){var ne=T==null?0:T.length;return ne?(P=U||P===u?1:Fn(P),Nr(T,P<0?0:P,ne)):[]}function bf(T,P,U){var ne=T==null?0:T.length;return ne?(P=U||P===u?1:Fn(P),P=ne-P,Nr(T,0,P<0?0:P)):[]}function wf(T,P){return T&&T.length?ro(T,xn(P,3),!0,!0):[]}function _f(T,P){return T&&T.length?ro(T,xn(P,3),!0):[]}function kf(T,P,U,ne){var se=T==null?0:T.length;return se?(U&&typeof U!="number"&&mr(T,P,U)&&(U=0,ne=se),pd(T,P,U,ne)):[]}function du(T,P,U){var ne=T==null?0:T.length;if(!ne)return-1;var se=U==null?0:Fn(U);return se<0&&(se=ar(ne+se,0)),Li(T,xn(P,3),se)}function fu(T,P,U){var ne=T==null?0:T.length;if(!ne)return-1;var se=ne-1;return U!==u&&(se=Fn(U),se=U<0?ar(ne+se,0):fr(se,ne-1)),Li(T,xn(P,3),se,!0)}function pu(T){var P=T==null?0:T.length;return P?ur(T,1):[]}function Sf(T){var P=T==null?0:T.length;return P?ur(T,re):[]}function $f(T,P){var U=T==null?0:T.length;return U?(P=P===u?1:Fn(P),ur(T,P)):[]}function Cf(T){for(var P=-1,U=T==null?0:T.length,ne={};++P<U;){var se=T[P];ne[se[0]]=se[1]}return ne}function hu(T){return T&&T.length?T[0]:u}function Ef(T,P,U){var ne=T==null?0:T.length;if(!ne)return-1;var se=U==null?0:Fn(U);return se<0&&(se=ar(ne+se,0)),Fa(T,P,se)}function xf(T){var P=T==null?0:T.length;return P?Nr(T,0,-1):[]}var Tf=Pn(function(T){var P=Jn(T,us);return P.length&&P[0]===T[0]?Xo(P):[]}),Af=Pn(function(T){var P=Fr(T),U=Jn(T,us);return P===Fr(U)?P=u:U.pop(),U.length&&U[0]===T[0]?Xo(U,xn(P,2)):[]}),Of=Pn(function(T){var P=Fr(T),U=Jn(T,us);return P=typeof P=="function"?P:u,P&&U.pop(),U.length&&U[0]===T[0]?Xo(U,u,P):[]});function Rf(T,P){return T==null?"":Ec.call(T,P)}function Fr(T){var P=T==null?0:T.length;return P?T[P-1]:u}function Df(T,P,U){var ne=T==null?0:T.length;if(!ne)return-1;var se=ne;return U!==u&&(se=Fn(U),se=se<0?ar(ne+se,0):fr(se,ne-1)),P===P?cc(T,P,se):Li(T,Js,se,!0)}function Nf(T,P){return T&&T.length?Cl(T,Fn(P)):u}var Ff=Pn(mu);function mu(T,P){return T&&T.length&&P&&P.length?ns(T,P):T}function Lf(T,P,U){return T&&T.length&&P&&P.length?ns(T,P,xn(U,2)):T}function If(T,P,U){return T&&T.length&&P&&P.length?ns(T,P,u,U):T}var Pf=Xr(function(T,P){var U=T==null?0:T.length,ne=Jo(T,P);return Tl(T,Jn(P,function(se){return Qr(se,U)?+se:se}).sort(Bl)),ne});function Bf(T,P){var U=[];if(!(T&&T.length))return U;var ne=-1,se=[],$e=T.length;for(P=xn(P,3);++ne<$e;){var Me=T[ne];P(Me,ne,T)&&(U.push(Me),se.push(ne))}return Tl(T,se),U}function Ss(T){return T==null?T:Oc.call(T)}function Mf(T,P,U){var ne=T==null?0:T.length;return ne?(U&&typeof U!="number"&&mr(T,P,U)?(P=0,U=ne):(P=P==null?0:Fn(P),U=U===u?ne:Fn(U)),Nr(T,P,U)):[]}function Vf(T,P){return no(T,P)}function zf(T,P,U){return os(T,P,xn(U,2))}function qf(T,P){var U=T==null?0:T.length;if(U){var ne=no(T,P);if(ne<U&&zr(T[ne],P))return ne}return-1}function Uf(T,P){return no(T,P,!0)}function jf(T,P,U){return os(T,P,xn(U,2),!0)}function Hf(T,P){var U=T==null?0:T.length;if(U){var ne=no(T,P,!0)-1;if(zr(T[ne],P))return ne}return-1}function Wf(T){return T&&T.length?Ol(T):[]}function Kf(T,P){return T&&T.length?Ol(T,xn(P,2)):[]}function Jf(T){var P=T==null?0:T.length;return P?Nr(T,1,P):[]}function Gf(T,P,U){return T&&T.length?(P=U||P===u?1:Fn(P),Nr(T,0,P<0?0:P)):[]}function Yf(T,P,U){var ne=T==null?0:T.length;return ne?(P=U||P===u?1:Fn(P),P=ne-P,Nr(T,P<0?0:P,ne)):[]}function Zf(T,P){return T&&T.length?ro(T,xn(P,3),!1,!0):[]}function Xf(T,P){return T&&T.length?ro(T,xn(P,3)):[]}var Qf=Pn(function(T){return ha(ur(T,1,Qn,!0))}),ep=Pn(function(T){var P=Fr(T);return Qn(P)&&(P=u),ha(ur(T,1,Qn,!0),xn(P,2))}),tp=Pn(function(T){var P=Fr(T);return P=typeof P=="function"?P:u,ha(ur(T,1,Qn,!0),u,P)});function np(T){return T&&T.length?ha(T):[]}function rp(T,P){return T&&T.length?ha(T,xn(P,2)):[]}function ap(T,P){return P=typeof P=="function"?P:u,T&&T.length?ha(T,u,P):[]}function $s(T){if(!(T&&T.length))return[];var P=0;return T=la(T,function(U){if(Qn(U))return P=ar(U.length,P),!0}),Vo(P,function(U){return Jn(T,Po(U))})}function vu(T,P){if(!(T&&T.length))return[];var U=$s(T);return P==null?U:Jn(U,function(ne){return _r(P,u,ne)})}var op=Pn(function(T,P){return Qn(T)?fi(T,P):[]}),sp=Pn(function(T){return ls(la(T,Qn))}),lp=Pn(function(T){var P=Fr(T);return Qn(P)&&(P=u),ls(la(T,Qn),xn(P,2))}),up=Pn(function(T){var P=Fr(T);return P=typeof P=="function"?P:u,ls(la(T,Qn),u,P)}),cp=Pn($s);function dp(T,P){return Fl(T||[],P||[],di)}function fp(T,P){return Fl(T||[],P||[],mi)}var pp=Pn(function(T){var P=T.length,U=P>1?T[P-1]:u;return U=typeof U=="function"?(T.pop(),U):u,vu(T,U)});function gu(T){var P=be(T);return P.__chain__=!0,P}function hp(T,P){return P(T),T}function po(T,P){return P(T)}var mp=Xr(function(T){var P=T.length,U=P?T[0]:0,ne=this.__wrapped__,se=function($e){return Jo($e,T)};return P>1||this.__actions__.length||!(ne instanceof Vn)||!Qr(U)?this.thru(se):(ne=ne.slice(U,+U+(P?1:0)),ne.__actions__.push({func:po,args:[se],thisArg:u}),new Rr(ne,this.__chain__).thru(function($e){return P&&!$e.length&&$e.push(u),$e}))});function vp(){return gu(this)}function gp(){return new Rr(this.value(),this.__chain__)}function yp(){this.__values__===u&&(this.__values__=Ru(this.value()));var T=this.__index__>=this.__values__.length,P=T?u:this.__values__[this.__index__++];return{done:T,value:P}}function bp(){return this}function wp(T){for(var P,U=this;U instanceof Yi;){var ne=cu(U);ne.__index__=0,ne.__values__=u,P?se.__wrapped__=ne:P=ne;var se=ne;U=U.__wrapped__}return se.__wrapped__=T,P}function _p(){var T=this.__wrapped__;if(T instanceof Vn){var P=T;return this.__actions__.length&&(P=new Vn(this)),P=P.reverse(),P.__actions__.push({func:po,args:[Ss],thisArg:u}),new Rr(P,this.__chain__)}return this.thru(Ss)}function kp(){return Nl(this.__wrapped__,this.__actions__)}var Sp=ao(function(T,P,U){jn.call(T,U)?++T[U]:Yr(T,U,1)});function $p(T,P,U){var ne=Nn(T)?Ws:fd;return U&&mr(T,P,U)&&(P=u),ne(T,xn(P,3))}function Cp(T,P){var U=Nn(T)?la:vl;return U(T,xn(P,3))}var Ep=jl(du),xp=jl(fu);function Tp(T,P){return ur(ho(T,P),1)}function Ap(T,P){return ur(ho(T,P),re)}function Op(T,P,U){return U=U===u?1:Fn(U),ur(ho(T,P),U)}function yu(T,P){var U=Nn(T)?Ar:pa;return U(T,xn(P,3))}function bu(T,P){var U=Nn(T)?Ku:ml;return U(T,xn(P,3))}var Rp=ao(function(T,P,U){jn.call(T,U)?T[U].push(P):Yr(T,U,[P])});function Dp(T,P,U,ne){T=yr(T)?T:Wa(T),U=U&&!ne?Fn(U):0;var se=T.length;return U<0&&(U=ar(se+U,0)),bo(T)?U<=se&&T.indexOf(P,U)>-1:!!se&&Fa(T,P,U)>-1}var Np=Pn(function(T,P,U){var ne=-1,se=typeof P=="function",$e=yr(T)?Ht(T.length):[];return pa(T,function(Me){$e[++ne]=se?_r(P,Me,U):pi(Me,P,U)}),$e}),Fp=ao(function(T,P,U){Yr(T,U,P)});function ho(T,P){var U=Nn(T)?Jn:kl;return U(T,xn(P,3))}function Lp(T,P,U,ne){return T==null?[]:(Nn(P)||(P=P==null?[]:[P]),U=ne?u:U,Nn(U)||(U=U==null?[]:[U]),El(T,P,U))}var Ip=ao(function(T,P,U){T[U?0:1].push(P)},function(){return[[],[]]});function Pp(T,P,U){var ne=Nn(T)?Lo:Ys,se=arguments.length<3;return ne(T,xn(P,4),U,se,pa)}function Bp(T,P,U){var ne=Nn(T)?Ju:Ys,se=arguments.length<3;return ne(T,xn(P,4),U,se,ml)}function Mp(T,P){var U=Nn(T)?la:vl;return U(T,go(xn(P,3)))}function Vp(T){var P=Nn(T)?dl:Od;return P(T)}function zp(T,P,U){(U?mr(T,P,U):P===u)?P=1:P=Fn(P);var ne=Nn(T)?sd:Rd;return ne(T,P)}function qp(T){var P=Nn(T)?ld:Nd;return P(T)}function Up(T){if(T==null)return 0;if(yr(T))return bo(T)?Ia(T):T.length;var P=pr(T);return P==de||P==Ft?T.size:es(T).length}function jp(T,P,U){var ne=Nn(T)?Io:Fd;return U&&mr(T,P,U)&&(P=u),ne(T,xn(P,3))}var Hp=Pn(function(T,P){if(T==null)return[];var U=P.length;return U>1&&mr(T,P[0],P[1])?P=[]:U>2&&mr(P[0],P[1],P[2])&&(P=[P[0]]),El(T,ur(P,1),[])}),mo=Sc||function(){return lr.Date.now()};function Wp(T,P){if(typeof P!="function")throw new Or(f);return T=Fn(T),function(){if(--T<1)return P.apply(this,arguments)}}function wu(T,P,U){return P=U?u:P,P=T&&P==null?T.length:P,Zr(T,M,u,u,u,u,P)}function _u(T,P){var U;if(typeof P!="function")throw new Or(f);return T=Fn(T),function(){return--T>0&&(U=P.apply(this,arguments)),T<=1&&(P=u),U}}var Cs=Pn(function(T,P,U){var ne=E;if(U.length){var se=ca(U,ja(Cs));ne|=B}return Zr(T,ne,P,U,se)}),ku=Pn(function(T,P,U){var ne=E|D;if(U.length){var se=ca(U,ja(ku));ne|=B}return Zr(P,ne,T,U,se)});function Su(T,P,U){P=U?u:P;var ne=Zr(T,O,u,u,u,u,u,P);return ne.placeholder=Su.placeholder,ne}function $u(T,P,U){P=U?u:P;var ne=Zr(T,F,u,u,u,u,u,P);return ne.placeholder=$u.placeholder,ne}function Cu(T,P,U){var ne,se,$e,Me,_t,Bt,Xt=0,Qt=!1,rn=!1,yn=!0;if(typeof T!="function")throw new Or(f);P=Lr(P)||0,Yn(U)&&(Qt=!!U.leading,rn="maxWait"in U,$e=rn?ar(Lr(U.maxWait)||0,P):$e,yn="trailing"in U?!!U.trailing:yn);function Sn(er){var qr=ne,na=se;return ne=se=u,Xt=er,Me=T.apply(na,qr),Me}function Tn(er){return Xt=er,_t=yi(Mn,P),Qt?Sn(er):Me}function Ln(er){var qr=er-Bt,na=er-Xt,ju=P-qr;return rn?fr(ju,$e-na):ju}function An(er){var qr=er-Bt,na=er-Xt;return Bt===u||qr>=P||qr<0||rn&&na>=$e}function Mn(){var er=mo();if(An(er))return zn(er);_t=yi(Mn,Ln(er))}function zn(er){return _t=u,yn&&ne?Sn(er):(ne=se=u,Me)}function Cr(){_t!==u&&Ll(_t),Xt=0,ne=Bt=se=_t=u}function vr(){return _t===u?Me:zn(mo())}function Er(){var er=mo(),qr=An(er);if(ne=arguments,se=this,Bt=er,qr){if(_t===u)return Tn(Bt);if(rn)return Ll(_t),_t=yi(Mn,P),Sn(Bt)}return _t===u&&(_t=yi(Mn,P)),Me}return Er.cancel=Cr,Er.flush=vr,Er}var Kp=Pn(function(T,P){return hl(T,1,P)}),Jp=Pn(function(T,P,U){return hl(T,Lr(P)||0,U)});function Gp(T){return Zr(T,q)}function vo(T,P){if(typeof T!="function"||P!=null&&typeof P!="function")throw new Or(f);var U=function(){var ne=arguments,se=P?P.apply(this,ne):ne[0],$e=U.cache;if($e.has(se))return $e.get(se);var Me=T.apply(this,ne);return U.cache=$e.set(se,Me)||$e,Me};return U.cache=new(vo.Cache||Gr),U}vo.Cache=Gr;function go(T){if(typeof T!="function")throw new Or(f);return function(){var P=arguments;switch(P.length){case 0:return!T.call(this);case 1:return!T.call(this,P[0]);case 2:return!T.call(this,P[0],P[1]);case 3:return!T.call(this,P[0],P[1],P[2])}return!T.apply(this,P)}}function Yp(T){return _u(2,T)}var Zp=Ld(function(T,P){P=P.length==1&&Nn(P[0])?Jn(P[0],kr(xn())):Jn(ur(P,1),kr(xn()));var U=P.length;return Pn(function(ne){for(var se=-1,$e=fr(ne.length,U);++se<$e;)ne[se]=P[se].call(this,ne[se]);return _r(T,this,ne)})}),Es=Pn(function(T,P){var U=ca(P,ja(Es));return Zr(T,B,u,P,U)}),Eu=Pn(function(T,P){var U=ca(P,ja(Eu));return Zr(T,I,u,P,U)}),Xp=Xr(function(T,P){return Zr(T,z,u,u,u,P)});function Qp(T,P){if(typeof T!="function")throw new Or(f);return P=P===u?P:Fn(P),Pn(T,P)}function eh(T,P){if(typeof T!="function")throw new Or(f);return P=P==null?0:ar(Fn(P),0),Pn(function(U){var ne=U[P],se=va(U,0,P);return ne&&ua(se,ne),_r(T,this,se)})}function th(T,P,U){var ne=!0,se=!0;if(typeof T!="function")throw new Or(f);return Yn(U)&&(ne="leading"in U?!!U.leading:ne,se="trailing"in U?!!U.trailing:se),Cu(T,P,{leading:ne,maxWait:P,trailing:se})}function nh(T){return wu(T,1)}function rh(T,P){return Es(cs(P),T)}function ah(){if(!arguments.length)return[];var T=arguments[0];return Nn(T)?T:[T]}function ih(T){return Dr(T,$)}function oh(T,P){return P=typeof P=="function"?P:u,Dr(T,$,P)}function sh(T){return Dr(T,w|$)}function lh(T,P){return P=typeof P=="function"?P:u,Dr(T,w|$,P)}function uh(T,P){return P==null||pl(T,P,sr(P))}function zr(T,P){return T===P||T!==T&&P!==P}var ch=lo(Zo),dh=lo(function(T,P){return T>=P}),Ta=bl(function(){return arguments}())?bl:function(T){return Xn(T)&&jn.call(T,"callee")&&!il.call(T,"callee")},Nn=Ht.isArray,fh=Vs?kr(Vs):yd;function yr(T){return T!=null&&yo(T.length)&&!ea(T)}function Qn(T){return Xn(T)&&yr(T)}function ph(T){return T===!0||T===!1||Xn(T)&&hr(T)==Ce}var ga=Cc||Ps,hh=zs?kr(zs):bd;function mh(T){return Xn(T)&&T.nodeType===1&&!bi(T)}function vh(T){if(T==null)return!0;if(yr(T)&&(Nn(T)||typeof T=="string"||typeof T.splice=="function"||ga(T)||Ha(T)||Ta(T)))return!T.length;var P=pr(T);if(P==de||P==Ft)return!T.size;if(gi(T))return!es(T).length;for(var U in T)if(jn.call(T,U))return!1;return!0}function gh(T,P){return hi(T,P)}function yh(T,P,U){U=typeof U=="function"?U:u;var ne=U?U(T,P):u;return ne===u?hi(T,P,u,U):!!ne}function xs(T){if(!Xn(T))return!1;var P=hr(T);return P==Vt||P==Pe||typeof T.message=="string"&&typeof T.name=="string"&&!bi(T)}function bh(T){return typeof T=="number"&&sl(T)}function ea(T){if(!Yn(T))return!1;var P=hr(T);return P==Ie||P==ie||P==ue||P==Ut}function xu(T){return typeof T=="number"&&T==Fn(T)}function yo(T){return typeof T=="number"&&T>-1&&T%1==0&&T<=ae}function Yn(T){var P=typeof T;return T!=null&&(P=="object"||P=="function")}function Xn(T){return T!=null&&typeof T=="object"}var Tu=qs?kr(qs):_d;function wh(T,P){return T===P||Qo(T,P,gs(P))}function _h(T,P,U){return U=typeof U=="function"?U:u,Qo(T,P,gs(P),U)}function kh(T){return Au(T)&&T!=+T}function Sh(T){if(af(T))throw new Dn(m);return wl(T)}function $h(T){return T===null}function Ch(T){return T==null}function Au(T){return typeof T=="number"||Xn(T)&&hr(T)==Fe}function bi(T){if(!Xn(T)||hr(T)!=wt)return!1;var P=Ui(T);if(P===null)return!0;var U=jn.call(P,"constructor")&&P.constructor;return typeof U=="function"&&U instanceof U&&Mi.call(U)==bc}var Ts=Us?kr(Us):kd;function Eh(T){return xu(T)&&T>=-ae&&T<=ae}var Ou=js?kr(js):Sd;function bo(T){return typeof T=="string"||!Nn(T)&&Xn(T)&&hr(T)==St}function $r(T){return typeof T=="symbol"||Xn(T)&&hr(T)==Wt}var Ha=Hs?kr(Hs):$d;function xh(T){return T===u}function Th(T){return Xn(T)&&pr(T)==xt}function Ah(T){return Xn(T)&&hr(T)==Kt}var Oh=lo(ts),Rh=lo(function(T,P){return T<=P});function Ru(T){if(!T)return[];if(yr(T))return bo(T)?Mr(T):gr(T);if(oi&&T[oi])return sc(T[oi]());var P=pr(T),U=P==de?qo:P==Ft?Ii:Wa;return U(T)}function ta(T){if(!T)return T===0?T:0;if(T=Lr(T),T===re||T===-re){var P=T<0?-1:1;return P*ye}return T===T?T:0}function Fn(T){var P=ta(T),U=P%1;return P===P?U?P-U:P:0}function Du(T){return T?$a(Fn(T),0,le):0}function Lr(T){if(typeof T=="number")return T;if($r(T))return ve;if(Yn(T)){var P=typeof T.valueOf=="function"?T.valueOf():T;T=Yn(P)?P+"":P}if(typeof T!="string")return T===0?T:+T;T=Zs(T);var U=xr.test(T);return U||Ir.test(T)?Na(T.slice(2),U?2:8):dr.test(T)?ve:+T}function Nu(T){return Hr(T,br(T))}function Dh(T){return T?$a(Fn(T),-ae,ae):T===0?T:0}function Un(T){return T==null?"":Sr(T)}var Nh=qa(function(T,P){if(gi(P)||yr(P)){Hr(P,sr(P),T);return}for(var U in P)jn.call(P,U)&&di(T,U,P[U])}),Fu=qa(function(T,P){Hr(P,br(P),T)}),wo=qa(function(T,P,U,ne){Hr(P,br(P),T,ne)}),Fh=qa(function(T,P,U,ne){Hr(P,sr(P),T,ne)}),Lh=Xr(Jo);function Ih(T,P){var U=za(T);return P==null?U:fl(U,P)}var Ph=Pn(function(T,P){T=Hn(T);var U=-1,ne=P.length,se=ne>2?P[2]:u;for(se&&mr(P[0],P[1],se)&&(ne=1);++U<ne;)for(var $e=P[U],Me=br($e),_t=-1,Bt=Me.length;++_t<Bt;){var Xt=Me[_t],Qt=T[Xt];(Qt===u||zr(Qt,Ba[Xt])&&!jn.call(T,Xt))&&(T[Xt]=$e[Xt])}return T}),Bh=Pn(function(T){return T.push(u,Zl),_r(Lu,u,T)});function Mh(T,P){return Ks(T,xn(P,3),jr)}function Vh(T,P){return Ks(T,xn(P,3),Yo)}function zh(T,P){return T==null?T:Go(T,xn(P,3),br)}function qh(T,P){return T==null?T:gl(T,xn(P,3),br)}function Uh(T,P){return T&&jr(T,xn(P,3))}function jh(T,P){return T&&Yo(T,xn(P,3))}function Hh(T){return T==null?[]:Qi(T,sr(T))}function Wh(T){return T==null?[]:Qi(T,br(T))}function As(T,P,U){var ne=T==null?u:Ca(T,P);return ne===u?U:ne}function Kh(T,P){return T!=null&&eu(T,P,hd)}function Os(T,P){return T!=null&&eu(T,P,md)}var Jh=Wl(function(T,P,U){P!=null&&typeof P.toString!="function"&&(P=Vi.call(P)),T[P]=U},Ds(wr)),Gh=Wl(function(T,P,U){P!=null&&typeof P.toString!="function"&&(P=Vi.call(P)),jn.call(T,P)?T[P].push(U):T[P]=[U]},xn),Yh=Pn(pi);function sr(T){return yr(T)?cl(T):es(T)}function br(T){return yr(T)?cl(T,!0):Cd(T)}function Zh(T,P){var U={};return P=xn(P,3),jr(T,function(ne,se,$e){Yr(U,P(ne,se,$e),ne)}),U}function Xh(T,P){var U={};return P=xn(P,3),jr(T,function(ne,se,$e){Yr(U,se,P(ne,se,$e))}),U}var Qh=qa(function(T,P,U){eo(T,P,U)}),Lu=qa(function(T,P,U,ne){eo(T,P,U,ne)}),em=Xr(function(T,P){var U={};if(T==null)return U;var ne=!1;P=Jn(P,function($e){return $e=ma($e,T),ne||(ne=$e.length>1),$e}),Hr(T,ms(T),U),ne&&(U=Dr(U,w|k|$,Wd));for(var se=P.length;se--;)ss(U,P[se]);return U});function tm(T,P){return Iu(T,go(xn(P)))}var nm=Xr(function(T,P){return T==null?{}:xd(T,P)});function Iu(T,P){if(T==null)return{};var U=Jn(ms(T),function(ne){return[ne]});return P=xn(P),xl(T,U,function(ne,se){return P(ne,se[0])})}function rm(T,P,U){P=ma(P,T);var ne=-1,se=P.length;for(se||(se=1,T=u);++ne<se;){var $e=T==null?u:T[Wr(P[ne])];$e===u&&(ne=se,$e=U),T=ea($e)?$e.call(T):$e}return T}function am(T,P,U){return T==null?T:mi(T,P,U)}function im(T,P,U,ne){return ne=typeof ne=="function"?ne:u,T==null?T:mi(T,P,U,ne)}var Pu=Gl(sr),Bu=Gl(br);function om(T,P,U){var ne=Nn(T),se=ne||ga(T)||Ha(T);if(P=xn(P,4),U==null){var $e=T&&T.constructor;se?U=ne?new $e:[]:Yn(T)?U=ea($e)?za(Ui(T)):{}:U={}}return(se?Ar:jr)(T,function(Me,_t,Bt){return P(U,Me,_t,Bt)}),U}function sm(T,P){return T==null?!0:ss(T,P)}function lm(T,P,U){return T==null?T:Dl(T,P,cs(U))}function um(T,P,U,ne){return ne=typeof ne=="function"?ne:u,T==null?T:Dl(T,P,cs(U),ne)}function Wa(T){return T==null?[]:zo(T,sr(T))}function cm(T){return T==null?[]:zo(T,br(T))}function dm(T,P,U){return U===u&&(U=P,P=u),U!==u&&(U=Lr(U),U=U===U?U:0),P!==u&&(P=Lr(P),P=P===P?P:0),$a(Lr(T),P,U)}function fm(T,P,U){return P=ta(P),U===u?(U=P,P=0):U=ta(U),T=Lr(T),vd(T,P,U)}function pm(T,P,U){if(U&&typeof U!="boolean"&&mr(T,P,U)&&(P=U=u),U===u&&(typeof P=="boolean"?(U=P,P=u):typeof T=="boolean"&&(U=T,T=u)),T===u&&P===u?(T=0,P=1):(T=ta(T),P===u?(P=T,T=0):P=ta(P)),T>P){var ne=T;T=P,P=ne}if(U||T%1||P%1){var se=ll();return fr(T+se*(P-T+Br("1e-"+((se+"").length-1))),P)}return rs(T,P)}var hm=Ua(function(T,P,U){return P=P.toLowerCase(),T+(U?Mu(P):P)});function Mu(T){return Rs(Un(T).toLowerCase())}function Vu(T){return T=Un(T),T&&T.replace(It,nc).replace(Ao,"")}function mm(T,P,U){T=Un(T),P=Sr(P);var ne=T.length;U=U===u?ne:$a(Fn(U),0,ne);var se=U;return U-=P.length,U>=0&&T.slice(U,se)==P}function vm(T){return T=Un(T),T&&oe.test(T)?T.replace(Ye,rc):T}function gm(T){return T=Un(T),T&&_n.test(T)?T.replace(Gt,"\\$&"):T}var ym=Ua(function(T,P,U){return T+(U?"-":"")+P.toLowerCase()}),bm=Ua(function(T,P,U){return T+(U?" ":"")+P.toLowerCase()}),wm=Ul("toLowerCase");function _m(T,P,U){T=Un(T),P=Fn(P);var ne=P?Ia(T):0;if(!P||ne>=P)return T;var se=(P-ne)/2;return so(Ki(se),U)+T+so(Wi(se),U)}function km(T,P,U){T=Un(T),P=Fn(P);var ne=P?Ia(T):0;return P&&ne<P?T+so(P-ne,U):T}function Sm(T,P,U){T=Un(T),P=Fn(P);var ne=P?Ia(T):0;return P&&ne<P?so(P-ne,U)+T:T}function $m(T,P,U){return U||P==null?P=0:P&&(P=+P),Ac(Un(T).replace(nn,""),P||0)}function Cm(T,P,U){return(U?mr(T,P,U):P===u)?P=1:P=Fn(P),is(Un(T),P)}function Em(){var T=arguments,P=Un(T[0]);return T.length<3?P:P.replace(T[1],T[2])}var xm=Ua(function(T,P,U){return T+(U?"_":"")+P.toLowerCase()});function Tm(T,P,U){return U&&typeof U!="number"&&mr(T,P,U)&&(P=U=u),U=U===u?le:U>>>0,U?(T=Un(T),T&&(typeof P=="string"||P!=null&&!Ts(P))&&(P=Sr(P),!P&&La(T))?va(Mr(T),0,U):T.split(P,U)):[]}var Am=Ua(function(T,P,U){return T+(U?" ":"")+Rs(P)});function Om(T,P,U){return T=Un(T),U=U==null?0:$a(Fn(U),0,T.length),P=Sr(P),T.slice(U,U+P.length)==P}function Rm(T,P,U){var ne=be.templateSettings;U&&mr(T,P,U)&&(P=u),T=Un(T),P=wo({},P,ne,Yl);var se=wo({},P.imports,ne.imports,Yl),$e=sr(se),Me=zo(se,$e),_t,Bt,Xt=0,Qt=P.interpolate||pn,rn="__p += '",yn=Uo((P.escape||pn).source+"|"+Qt.source+"|"+(Qt===Nt?nr:pn).source+"|"+(P.evaluate||pn).source+"|$","g"),Sn="//# sourceURL="+(jn.call(P,"sourceURL")?(P.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++En+"]")+`
`;T.replace(yn,function(An,Mn,zn,Cr,vr,Er){return zn||(zn=Cr),rn+=T.slice(Xt,Er).replace(On,ac),Mn&&(_t=!0,rn+=`' +
__e(`+Mn+`) +
'`),vr&&(Bt=!0,rn+=`';
`+vr+`;
__p += '`),zn&&(rn+=`' +
((__t = (`+zn+`)) == null ? '' : __t) +
'`),Xt=Er+An.length,An}),rn+=`';
`;var Tn=jn.call(P,"variable")&&P.variable;if(!Tn)rn=`with (obj) {
`+rn+`
}
`;else if(Wn.test(Tn))throw new Dn(v);rn=(Bt?rn.replace(gn,""):rn).replace(dn,"$1").replace(bn,"$1;"),rn="function("+(Tn||"obj")+`) {
`+(Tn?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(_t?", __e = _.escape":"")+(Bt?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+rn+`return __p
}`;var Ln=qu(function(){return qn($e,Sn+"return "+rn).apply(u,Me)});if(Ln.source=rn,xs(Ln))throw Ln;return Ln}function Dm(T){return Un(T).toLowerCase()}function Nm(T){return Un(T).toUpperCase()}function Fm(T,P,U){if(T=Un(T),T&&(U||P===u))return Zs(T);if(!T||!(P=Sr(P)))return T;var ne=Mr(T),se=Mr(P),$e=Xs(ne,se),Me=Qs(ne,se)+1;return va(ne,$e,Me).join("")}function Lm(T,P,U){if(T=Un(T),T&&(U||P===u))return T.slice(0,tl(T)+1);if(!T||!(P=Sr(P)))return T;var ne=Mr(T),se=Qs(ne,Mr(P))+1;return va(ne,0,se).join("")}function Im(T,P,U){if(T=Un(T),T&&(U||P===u))return T.replace(nn,"");if(!T||!(P=Sr(P)))return T;var ne=Mr(T),se=Xs(ne,Mr(P));return va(ne,se).join("")}function Pm(T,P){var U=H,ne=Q;if(Yn(P)){var se="separator"in P?P.separator:se;U="length"in P?Fn(P.length):U,ne="omission"in P?Sr(P.omission):ne}T=Un(T);var $e=T.length;if(La(T)){var Me=Mr(T);$e=Me.length}if(U>=$e)return T;var _t=U-Ia(ne);if(_t<1)return ne;var Bt=Me?va(Me,0,_t).join(""):T.slice(0,_t);if(se===u)return Bt+ne;if(Me&&(_t+=Bt.length-_t),Ts(se)){if(T.slice(_t).search(se)){var Xt,Qt=Bt;for(se.global||(se=Uo(se.source,Un(Kn.exec(se))+"g")),se.lastIndex=0;Xt=se.exec(Qt);)var rn=Xt.index;Bt=Bt.slice(0,rn===u?_t:rn)}}else if(T.indexOf(Sr(se),_t)!=_t){var yn=Bt.lastIndexOf(se);yn>-1&&(Bt=Bt.slice(0,yn))}return Bt+ne}function Bm(T){return T=Un(T),T&&Rt.test(T)?T.replace(Oe,dc):T}var Mm=Ua(function(T,P,U){return T+(U?" ":"")+P.toUpperCase()}),Rs=Ul("toUpperCase");function zu(T,P,U){return T=Un(T),P=U?u:P,P===u?oc(T)?hc(T):Zu(T):T.match(P)||[]}var qu=Pn(function(T,P){try{return _r(T,u,P)}catch(U){return xs(U)?U:new Dn(U)}}),Vm=Xr(function(T,P){return Ar(P,function(U){U=Wr(U),Yr(T,U,Cs(T[U],T))}),T});function zm(T){var P=T==null?0:T.length,U=xn();return T=P?Jn(T,function(ne){if(typeof ne[1]!="function")throw new Or(f);return[U(ne[0]),ne[1]]}):[],Pn(function(ne){for(var se=-1;++se<P;){var $e=T[se];if(_r($e[0],this,ne))return _r($e[1],this,ne)}})}function qm(T){return dd(Dr(T,w))}function Ds(T){return function(){return T}}function Um(T,P){return T==null||T!==T?P:T}var jm=Hl(),Hm=Hl(!0);function wr(T){return T}function Ns(T){return _l(typeof T=="function"?T:Dr(T,w))}function Wm(T){return Sl(Dr(T,w))}function Km(T,P){return $l(T,Dr(P,w))}var Jm=Pn(function(T,P){return function(U){return pi(U,T,P)}}),Gm=Pn(function(T,P){return function(U){return pi(T,U,P)}});function Fs(T,P,U){var ne=sr(P),se=Qi(P,ne);U==null&&!(Yn(P)&&(se.length||!ne.length))&&(U=P,P=T,T=this,se=Qi(P,sr(P)));var $e=!(Yn(U)&&"chain"in U)||!!U.chain,Me=ea(T);return Ar(se,function(_t){var Bt=P[_t];T[_t]=Bt,Me&&(T.prototype[_t]=function(){var Xt=this.__chain__;if($e||Xt){var Qt=T(this.__wrapped__),rn=Qt.__actions__=gr(this.__actions__);return rn.push({func:Bt,args:arguments,thisArg:T}),Qt.__chain__=Xt,Qt}return Bt.apply(T,ua([this.value()],arguments))})}),T}function Ym(){return lr._===this&&(lr._=wc),this}function Ls(){}function Zm(T){return T=Fn(T),Pn(function(P){return Cl(P,T)})}var Xm=fs(Jn),Qm=fs(Ws),ev=fs(Io);function Uu(T){return bs(T)?Po(Wr(T)):Td(T)}function tv(T){return function(P){return T==null?u:Ca(T,P)}}var nv=Kl(),rv=Kl(!0);function Is(){return[]}function Ps(){return!1}function av(){return{}}function iv(){return""}function ov(){return!0}function sv(T,P){if(T=Fn(T),T<1||T>ae)return[];var U=le,ne=fr(T,le);P=xn(P),T-=le;for(var se=Vo(ne,P);++U<T;)P(U);return se}function lv(T){return Nn(T)?Jn(T,Wr):$r(T)?[T]:gr(uu(Un(T)))}function uv(T){var P=++yc;return Un(T)+P}var cv=oo(function(T,P){return T+P},0),dv=ps("ceil"),fv=oo(function(T,P){return T/P},1),pv=ps("floor");function hv(T){return T&&T.length?Xi(T,wr,Zo):u}function mv(T,P){return T&&T.length?Xi(T,xn(P,2),Zo):u}function vv(T){return Gs(T,wr)}function gv(T,P){return Gs(T,xn(P,2))}function yv(T){return T&&T.length?Xi(T,wr,ts):u}function bv(T,P){return T&&T.length?Xi(T,xn(P,2),ts):u}var wv=oo(function(T,P){return T*P},1),_v=ps("round"),kv=oo(function(T,P){return T-P},0);function Sv(T){return T&&T.length?Mo(T,wr):0}function $v(T,P){return T&&T.length?Mo(T,xn(P,2)):0}return be.after=Wp,be.ary=wu,be.assign=Nh,be.assignIn=Fu,be.assignInWith=wo,be.assignWith=Fh,be.at=Lh,be.before=_u,be.bind=Cs,be.bindAll=Vm,be.bindKey=ku,be.castArray=ah,be.chain=gu,be.chunk=ff,be.compact=pf,be.concat=hf,be.cond=zm,be.conforms=qm,be.constant=Ds,be.countBy=Sp,be.create=Ih,be.curry=Su,be.curryRight=$u,be.debounce=Cu,be.defaults=Ph,be.defaultsDeep=Bh,be.defer=Kp,be.delay=Jp,be.difference=mf,be.differenceBy=vf,be.differenceWith=gf,be.drop=yf,be.dropRight=bf,be.dropRightWhile=wf,be.dropWhile=_f,be.fill=kf,be.filter=Cp,be.flatMap=Tp,be.flatMapDeep=Ap,be.flatMapDepth=Op,be.flatten=pu,be.flattenDeep=Sf,be.flattenDepth=$f,be.flip=Gp,be.flow=jm,be.flowRight=Hm,be.fromPairs=Cf,be.functions=Hh,be.functionsIn=Wh,be.groupBy=Rp,be.initial=xf,be.intersection=Tf,be.intersectionBy=Af,be.intersectionWith=Of,be.invert=Jh,be.invertBy=Gh,be.invokeMap=Np,be.iteratee=Ns,be.keyBy=Fp,be.keys=sr,be.keysIn=br,be.map=ho,be.mapKeys=Zh,be.mapValues=Xh,be.matches=Wm,be.matchesProperty=Km,be.memoize=vo,be.merge=Qh,be.mergeWith=Lu,be.method=Jm,be.methodOf=Gm,be.mixin=Fs,be.negate=go,be.nthArg=Zm,be.omit=em,be.omitBy=tm,be.once=Yp,be.orderBy=Lp,be.over=Xm,be.overArgs=Zp,be.overEvery=Qm,be.overSome=ev,be.partial=Es,be.partialRight=Eu,be.partition=Ip,be.pick=nm,be.pickBy=Iu,be.property=Uu,be.propertyOf=tv,be.pull=Ff,be.pullAll=mu,be.pullAllBy=Lf,be.pullAllWith=If,be.pullAt=Pf,be.range=nv,be.rangeRight=rv,be.rearg=Xp,be.reject=Mp,be.remove=Bf,be.rest=Qp,be.reverse=Ss,be.sampleSize=zp,be.set=am,be.setWith=im,be.shuffle=qp,be.slice=Mf,be.sortBy=Hp,be.sortedUniq=Wf,be.sortedUniqBy=Kf,be.split=Tm,be.spread=eh,be.tail=Jf,be.take=Gf,be.takeRight=Yf,be.takeRightWhile=Zf,be.takeWhile=Xf,be.tap=hp,be.throttle=th,be.thru=po,be.toArray=Ru,be.toPairs=Pu,be.toPairsIn=Bu,be.toPath=lv,be.toPlainObject=Nu,be.transform=om,be.unary=nh,be.union=Qf,be.unionBy=ep,be.unionWith=tp,be.uniq=np,be.uniqBy=rp,be.uniqWith=ap,be.unset=sm,be.unzip=$s,be.unzipWith=vu,be.update=lm,be.updateWith=um,be.values=Wa,be.valuesIn=cm,be.without=op,be.words=zu,be.wrap=rh,be.xor=sp,be.xorBy=lp,be.xorWith=up,be.zip=cp,be.zipObject=dp,be.zipObjectDeep=fp,be.zipWith=pp,be.entries=Pu,be.entriesIn=Bu,be.extend=Fu,be.extendWith=wo,Fs(be,be),be.add=cv,be.attempt=qu,be.camelCase=hm,be.capitalize=Mu,be.ceil=dv,be.clamp=dm,be.clone=ih,be.cloneDeep=sh,be.cloneDeepWith=lh,be.cloneWith=oh,be.conformsTo=uh,be.deburr=Vu,be.defaultTo=Um,be.divide=fv,be.endsWith=mm,be.eq=zr,be.escape=vm,be.escapeRegExp=gm,be.every=$p,be.find=Ep,be.findIndex=du,be.findKey=Mh,be.findLast=xp,be.findLastIndex=fu,be.findLastKey=Vh,be.floor=pv,be.forEach=yu,be.forEachRight=bu,be.forIn=zh,be.forInRight=qh,be.forOwn=Uh,be.forOwnRight=jh,be.get=As,be.gt=ch,be.gte=dh,be.has=Kh,be.hasIn=Os,be.head=hu,be.identity=wr,be.includes=Dp,be.indexOf=Ef,be.inRange=fm,be.invoke=Yh,be.isArguments=Ta,be.isArray=Nn,be.isArrayBuffer=fh,be.isArrayLike=yr,be.isArrayLikeObject=Qn,be.isBoolean=ph,be.isBuffer=ga,be.isDate=hh,be.isElement=mh,be.isEmpty=vh,be.isEqual=gh,be.isEqualWith=yh,be.isError=xs,be.isFinite=bh,be.isFunction=ea,be.isInteger=xu,be.isLength=yo,be.isMap=Tu,be.isMatch=wh,be.isMatchWith=_h,be.isNaN=kh,be.isNative=Sh,be.isNil=Ch,be.isNull=$h,be.isNumber=Au,be.isObject=Yn,be.isObjectLike=Xn,be.isPlainObject=bi,be.isRegExp=Ts,be.isSafeInteger=Eh,be.isSet=Ou,be.isString=bo,be.isSymbol=$r,be.isTypedArray=Ha,be.isUndefined=xh,be.isWeakMap=Th,be.isWeakSet=Ah,be.join=Rf,be.kebabCase=ym,be.last=Fr,be.lastIndexOf=Df,be.lowerCase=bm,be.lowerFirst=wm,be.lt=Oh,be.lte=Rh,be.max=hv,be.maxBy=mv,be.mean=vv,be.meanBy=gv,be.min=yv,be.minBy=bv,be.stubArray=Is,be.stubFalse=Ps,be.stubObject=av,be.stubString=iv,be.stubTrue=ov,be.multiply=wv,be.nth=Nf,be.noConflict=Ym,be.noop=Ls,be.now=mo,be.pad=_m,be.padEnd=km,be.padStart=Sm,be.parseInt=$m,be.random=pm,be.reduce=Pp,be.reduceRight=Bp,be.repeat=Cm,be.replace=Em,be.result=rm,be.round=_v,be.runInContext=Lt,be.sample=Vp,be.size=Up,be.snakeCase=xm,be.some=jp,be.sortedIndex=Vf,be.sortedIndexBy=zf,be.sortedIndexOf=qf,be.sortedLastIndex=Uf,be.sortedLastIndexBy=jf,be.sortedLastIndexOf=Hf,be.startCase=Am,be.startsWith=Om,be.subtract=kv,be.sum=Sv,be.sumBy=$v,be.template=Rm,be.times=sv,be.toFinite=ta,be.toInteger=Fn,be.toLength=Du,be.toLower=Dm,be.toNumber=Lr,be.toSafeInteger=Dh,be.toString=Un,be.toUpper=Nm,be.trim=Fm,be.trimEnd=Lm,be.trimStart=Im,be.truncate=Pm,be.unescape=Bm,be.uniqueId=uv,be.upperCase=Mm,be.upperFirst=Rs,be.each=yu,be.eachRight=bu,be.first=hu,Fs(be,function(){var T={};return jr(be,function(P,U){jn.call(be.prototype,U)||(T[U]=P)}),T}(),{chain:!1}),be.VERSION=c,Ar(["bind","bindKey","curry","curryRight","partial","partialRight"],function(T){be[T].placeholder=be}),Ar(["drop","take"],function(T,P){Vn.prototype[T]=function(U){U=U===u?1:ar(Fn(U),0);var ne=this.__filtered__&&!P?new Vn(this):this.clone();return ne.__filtered__?ne.__takeCount__=fr(U,ne.__takeCount__):ne.__views__.push({size:fr(U,le),type:T+(ne.__dir__<0?"Right":"")}),ne},Vn.prototype[T+"Right"]=function(U){return this.reverse()[T](U).reverse()}}),Ar(["filter","map","takeWhile"],function(T,P){var U=P+1,ne=U==G||U==te;Vn.prototype[T]=function(se){var $e=this.clone();return $e.__iteratees__.push({iteratee:xn(se,3),type:U}),$e.__filtered__=$e.__filtered__||ne,$e}}),Ar(["head","last"],function(T,P){var U="take"+(P?"Right":"");Vn.prototype[T]=function(){return this[U](1).value()[0]}}),Ar(["initial","tail"],function(T,P){var U="drop"+(P?"":"Right");Vn.prototype[T]=function(){return this.__filtered__?new Vn(this):this[U](1)}}),Vn.prototype.compact=function(){return this.filter(wr)},Vn.prototype.find=function(T){return this.filter(T).head()},Vn.prototype.findLast=function(T){return this.reverse().find(T)},Vn.prototype.invokeMap=Pn(function(T,P){return typeof T=="function"?new Vn(this):this.map(function(U){return pi(U,T,P)})}),Vn.prototype.reject=function(T){return this.filter(go(xn(T)))},Vn.prototype.slice=function(T,P){T=Fn(T);var U=this;return U.__filtered__&&(T>0||P<0)?new Vn(U):(T<0?U=U.takeRight(-T):T&&(U=U.drop(T)),P!==u&&(P=Fn(P),U=P<0?U.dropRight(-P):U.take(P-T)),U)},Vn.prototype.takeRightWhile=function(T){return this.reverse().takeWhile(T).reverse()},Vn.prototype.toArray=function(){return this.take(le)},jr(Vn.prototype,function(T,P){var U=/^(?:filter|find|map|reject)|While$/.test(P),ne=/^(?:head|last)$/.test(P),se=be[ne?"take"+(P=="last"?"Right":""):P],$e=ne||/^find/.test(P);se&&(be.prototype[P]=function(){var Me=this.__wrapped__,_t=ne?[1]:arguments,Bt=Me instanceof Vn,Xt=_t[0],Qt=Bt||Nn(Me),rn=function(Mn){var zn=se.apply(be,ua([Mn],_t));return ne&&yn?zn[0]:zn};Qt&&U&&typeof Xt=="function"&&Xt.length!=1&&(Bt=Qt=!1);var yn=this.__chain__,Sn=!!this.__actions__.length,Tn=$e&&!yn,Ln=Bt&&!Sn;if(!$e&&Qt){Me=Ln?Me:new Vn(this);var An=T.apply(Me,_t);return An.__actions__.push({func:po,args:[rn],thisArg:u}),new Rr(An,yn)}return Tn&&Ln?T.apply(this,_t):(An=this.thru(rn),Tn?ne?An.value()[0]:An.value():An)})}),Ar(["pop","push","shift","sort","splice","unshift"],function(T){var P=Pi[T],U=/^(?:push|sort|unshift)$/.test(T)?"tap":"thru",ne=/^(?:pop|shift)$/.test(T);be.prototype[T]=function(){var se=arguments;if(ne&&!this.__chain__){var $e=this.value();return P.apply(Nn($e)?$e:[],se)}return this[U](function(Me){return P.apply(Nn(Me)?Me:[],se)})}}),jr(Vn.prototype,function(T,P){var U=be[P];if(U){var ne=U.name+"";jn.call(Va,ne)||(Va[ne]=[]),Va[ne].push({name:P,func:U})}}),Va[io(u,D).name]=[{name:"wrapper",func:u}],Vn.prototype.clone=Ic,Vn.prototype.reverse=Pc,Vn.prototype.value=Bc,be.prototype.at=mp,be.prototype.chain=vp,be.prototype.commit=gp,be.prototype.next=yp,be.prototype.plant=wp,be.prototype.reverse=_p,be.prototype.toJSON=be.prototype.valueOf=be.prototype.value=kp,be.prototype.first=be.prototype.head,oi&&(be.prototype[oi]=bp),be},Pa=mc();wa?((wa.exports=Pa)._=Pa,Do._=Pa):lr._=Pa}).call(commonjsGlobal$2)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs$1(lodashExports),_STORE_ID$1="shopping_store",UNDEFINED_CATEGORY="shopping_undefined_category",useShoppingStore=defineStore(_STORE_ID$1,()=>{let a=ref(new Map),i=ref([]),u=ref([]);ref(0),ref(0),ref(0),ref(0);let c=ref(!1),d=ref(0);ref(!0),ref(null),ref([]),ref(null);let m=ref(null);const f=computed(()=>{let k={};k.categories=new Map;let $=[];for(let S in a.value.keys());return a.value.forEach(S=>{k=w(k,S,"food.supermarketCategory.name")}),k.categories.has(UNDEFINED_CATEGORY)&&($.push(k.categories.get(UNDEFINED_CATEGORY)),k.categories.delete(UNDEFINED_CATEGORY)),k.categories.forEach(S=>{$.push(S)}),$});function v(){var $,S;let k=[];for(let C in this.get_entries_by_group)for(let E in this.get_entries_by_group[C].foods)for(let D in this.get_entries_by_group[C].foods[E].entries)k.push({amount:this.get_entries_by_group[C].foods[E].entries[D].amount,unit:(($=this.get_entries_by_group[C].foods[E].entries[D].unit)==null?void 0:$.name)??"",food:((S=this.get_entries_by_group[C].foods[E].entries[D].food)==null?void 0:S.name)??""});return k}function g(){return[{id:"food.supermarketCategory.name",translationKey:"Category"},{id:"createdBy.displayName",translationKey:"created_by"},{id:"recipeMealplan.recipeName",translationKey:"Recipe"}]}function y(){for(let k in m.value)if(m.value[k].status==="syncing_failed_before"||m.value[k].status==="waiting_failed_before")return!0;return!1}function b(){if(!c.value){c.value=!0,d.value=new Date().getTime();let k=new ApiApi;k.apiShoppingListEntryList().then($=>{a.value=new Map,$.forEach(S=>{a.value.set(S.id,S)}),c.value=!1}).catch($=>{c.value=!1}),k.apiSupermarketList().then($=>{i.value=$}).catch($=>{}),k.apiSupermarketList().then($=>{u.value=$}).catch($=>{})}}function w(k,$,S){let C=_.get($,S,UNDEFINED_CATEGORY);return C==null&&(C=UNDEFINED_CATEGORY),k.categories.has(C)||k.categories.set(C,{name:C,foods:new Map}),k.categories.get(C).foods.has($.food.id)||k.categories.get(C).foods.set($.food.id,{food:$.food,entries:new Map}),k.categories.get(C).foods.get($.food.id).entries.set($.id,$),k}return{entries:a,supermarkets:u,supermarketCategories:i,getEntriesByGroup:f,getFlatEntries:v,groupingOptions:g,hasFailedItems:y,refreshFromAPI:b}}),VTabsSymbol=Symbol.for("vuetify:v-tabs"),makeVTabProps=propsFactory({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...omit$1(makeVBtnProps({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),VTab=genericComponent()({name:"VTab",props:makeVTabProps(),setup(a,i){let{slots:u,attrs:c}=i;const{textColorClasses:d,textColorStyles:m}=useTextColor(a,"sliderColor"),f=ref(),v=ref(),g=computed(()=>a.direction==="horizontal"),y=computed(()=>{var w,k;return((k=(w=f.value)==null?void 0:w.group)==null?void 0:k.isSelected.value)??!1});function b(w){var $,S;let{value:k}=w;if(k){const C=(S=($=f.value)==null?void 0:$.$el.parentElement)==null?void 0:S.querySelector(".v-tab--selected .v-tab__slider"),E=v.value;if(!C||!E)return;const D=getComputedStyle(C).color,A=C.getBoundingClientRect(),O=E.getBoundingClientRect(),F=g.value?"x":"y",B=g.value?"X":"Y",I=g.value?"right":"bottom",M=g.value?"width":"height",z=A[F],q=O[F],H=z>q?A[I]-O[I]:A[F]-O[F],Q=Math.sign(H)>0?g.value?"right":"bottom":Math.sign(H)<0?g.value?"left":"top":"center",ee=(Math.abs(H)+(Math.sign(H)<0?A[M]:O[M]))/Math.max(A[M],O[M])||0,G=A[M]/O[M]||0,J=1.5;animate(E,{backgroundColor:[D,"currentcolor"],transform:[`translate${B}(${H}px) scale${B}(${G})`,`translate${B}(${H/J}px) scale${B}(${(ee-1)/J+1})`,"none"],transformOrigin:Array(3).fill(Q)},{duration:225,easing:standardEasing})}}return useRender(()=>{const w=VBtn.filterProps(a);return createVNode(VBtn,mergeProps({symbol:VTabsSymbol,ref:f,class:["v-tab",a.class],style:a.style,tabindex:y.value?0:-1,role:"tab","aria-selected":String(y.value),active:!1},w,c,{block:a.fixed,maxWidth:a.fixed?300:void 0,"onGroup:selected":b}),{...u,default:()=>{var k;return createVNode(Fragment,null,[((k=u.default)==null?void 0:k.call(u))??a.text,!a.hideSlider&&createVNode("div",{ref:v,class:["v-tab__slider",d.value],style:m.value},null)])}})}),forwardRefs({},f)}});function parseItems(a){return a?a.map(i=>isObject$g(i)?i:{text:i,value:i}):[]}const makeVTabsProps=propsFactory({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...makeVSlideGroupProps({mandatory:"force"}),...makeDensityProps(),...makeTagProps()},"VTabs"),VTabs=genericComponent()({name:"VTabs",props:makeVTabsProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),d=computed(()=>parseItems(a.items)),{densityClasses:m}=useDensity(a),{backgroundColorClasses:f,backgroundColorStyles:v}=useBackgroundColor(toRef(a,"bgColor"));return provideDefaults({VTab:{color:toRef(a,"color"),direction:toRef(a,"direction"),stacked:toRef(a,"stacked"),fixed:toRef(a,"fixedTabs"),sliderColor:toRef(a,"sliderColor"),hideSlider:toRef(a,"hideSlider")}}),useRender(()=>{const g=VSlideGroup.filterProps(a);return createVNode(VSlideGroup,mergeProps(g,{modelValue:c.value,"onUpdate:modelValue":y=>c.value=y,class:["v-tabs",`v-tabs--${a.direction}`,`v-tabs--align-tabs-${a.alignTabs}`,{"v-tabs--fixed-tabs":a.fixedTabs,"v-tabs--grow":a.grow,"v-tabs--stacked":a.stacked},m.value,f.value,a.class],style:[{"--v-tabs-height":convertToUnit(a.height)},v.value,a.style],role:"tablist",symbol:VTabsSymbol}),{default:()=>[u.default?u.default():d.value.map(y=>createVNode(VTab,mergeProps(y,{key:y.text}),null))]})}),{}}}),handleGesture=a=>{const{touchstartX:i,touchendX:u,touchstartY:c,touchendY:d}=a,m=.5,f=16;a.offsetX=u-i,a.offsetY=d-c,Math.abs(a.offsetY)<m*Math.abs(a.offsetX)&&(a.left&&u<i-f&&a.left(a),a.right&&u>i+f&&a.right(a)),Math.abs(a.offsetX)<m*Math.abs(a.offsetY)&&(a.up&&d<c-f&&a.up(a),a.down&&d>c+f&&a.down(a))};function touchstart(a,i){var c;const u=a.changedTouches[0];i.touchstartX=u.clientX,i.touchstartY=u.clientY,(c=i.start)==null||c.call(i,{originalEvent:a,...i})}function touchend(a,i){var c;const u=a.changedTouches[0];i.touchendX=u.clientX,i.touchendY=u.clientY,(c=i.end)==null||c.call(i,{originalEvent:a,...i}),handleGesture(i)}function touchmove(a,i){var c;const u=a.changedTouches[0];i.touchmoveX=u.clientX,i.touchmoveY=u.clientY,(c=i.move)==null||c.call(i,{originalEvent:a,...i})}function createHandlers(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const i={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:a.left,right:a.right,up:a.up,down:a.down,start:a.start,move:a.move,end:a.end};return{touchstart:u=>touchstart(u,i),touchend:u=>touchend(u,i),touchmove:u=>touchmove(u,i)}}function mounted(a,i){var v;const u=i.value,c=u!=null&&u.parent?a.parentElement:a,d=(u==null?void 0:u.options)??{passive:!0},m=(v=i.instance)==null?void 0:v.$.uid;if(!c||!m)return;const f=createHandlers(i.value);c._touchHandlers=c._touchHandlers??Object.create(null),c._touchHandlers[m]=f,keys$9(f).forEach(g=>{c.addEventListener(g,f[g],d)})}function unmounted(a,i){var m,f;const u=(m=i.value)!=null&&m.parent?a.parentElement:a,c=(f=i.instance)==null?void 0:f.$.uid;if(!(u!=null&&u._touchHandlers)||!c)return;const d=u._touchHandlers[c];keys$9(d).forEach(v=>{u.removeEventListener(v,d[v])}),delete u._touchHandlers[c]}const Touch={mounted,unmounted},Touch$1=Touch,VWindowSymbol=Symbol.for("vuetify:v-window"),VWindowGroupSymbol=Symbol.for("vuetify:v-window-group"),makeVWindowProps=propsFactory({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:a=>typeof a=="boolean"||a==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...makeComponentProps(),...makeTagProps(),...makeThemeProps()},"VWindow"),VWindow=genericComponent()({name:"VWindow",directives:{Touch},props:makeVWindowProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{themeClasses:c}=provideTheme(a),{isRtl:d}=useRtl(),{t:m}=useLocale(),f=useGroup(a,VWindowGroupSymbol),v=ref(),g=computed(()=>d.value?!a.reverse:a.reverse),y=shallowRef(!1),b=computed(()=>{const F=a.direction==="vertical"?"y":"x",I=(g.value?!y.value:y.value)?"-reverse":"";return`v-window-${F}${I}-transition`}),w=shallowRef(0),k=ref(void 0),$=computed(()=>f.items.value.findIndex(F=>f.selected.value.includes(F.id)));watch($,(F,B)=>{const I=f.items.value.length,M=I-1;I<=2?y.value=F<B:F===M&&B===0?y.value=!0:F===0&&B===M?y.value=!1:y.value=F<B}),provide(VWindowSymbol,{transition:b,isReversed:y,transitionCount:w,transitionHeight:k,rootRef:v});const S=computed(()=>a.continuous||$.value!==0),C=computed(()=>a.continuous||$.value!==f.items.value.length-1);function E(){S.value&&f.prev()}function D(){C.value&&f.next()}const A=computed(()=>{const F=[],B={icon:d.value?a.nextIcon:a.prevIcon,class:`v-window__${g.value?"right":"left"}`,onClick:f.prev,"aria-label":m("$vuetify.carousel.prev")};F.push(S.value?u.prev?u.prev({props:B}):createVNode(VBtn,B,null):createVNode("div",null,null));const I={icon:d.value?a.prevIcon:a.nextIcon,class:`v-window__${g.value?"left":"right"}`,onClick:f.next,"aria-label":m("$vuetify.carousel.next")};return F.push(C.value?u.next?u.next({props:I}):createVNode(VBtn,I,null):createVNode("div",null,null)),F}),O=computed(()=>a.touch===!1?a.touch:{...{left:()=>{g.value?E():D()},right:()=>{g.value?D():E()},start:B=>{let{originalEvent:I}=B;I.stopPropagation()}},...a.touch===!0?{}:a.touch});return useRender(()=>withDirectives(createVNode(a.tag,{ref:v,class:["v-window",{"v-window--show-arrows-on-hover":a.showArrows==="hover"},c.value,a.class],style:a.style},{default:()=>{var F,B;return[createVNode("div",{class:"v-window__container",style:{height:k.value}},[(F=u.default)==null?void 0:F.call(u,{group:f}),a.showArrows!==!1&&createVNode("div",{class:"v-window__controls"},[A.value])]),(B=u.additional)==null?void 0:B.call(u,{group:f})]}}),[[resolveDirective("touch"),O.value]])),{group:f}}}),makeVWindowItemProps=propsFactory({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...makeComponentProps(),...makeGroupItemProps(),...makeLazyProps()},"VWindowItem"),VWindowItem=genericComponent()({name:"VWindowItem",directives:{Touch:Touch$1},props:makeVWindowItemProps(),emits:{"group:selected":a=>!0},setup(a,i){let{slots:u}=i;const c=inject$1(VWindowSymbol),d=useGroupItem(a,VWindowGroupSymbol),{isBooted:m}=useSsrBoot();if(!c||!d)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const f=shallowRef(!1),v=computed(()=>m.value&&(c.isReversed.value?a.reverseTransition!==!1:a.transition!==!1));function g(){!f.value||!c||(f.value=!1,c.transitionCount.value>0&&(c.transitionCount.value-=1,c.transitionCount.value===0&&(c.transitionHeight.value=void 0)))}function y(){var S;f.value||!c||(f.value=!0,c.transitionCount.value===0&&(c.transitionHeight.value=convertToUnit((S=c.rootRef.value)==null?void 0:S.clientHeight)),c.transitionCount.value+=1)}function b(){g()}function w(S){f.value&&nextTick(()=>{!v.value||!f.value||!c||(c.transitionHeight.value=convertToUnit(S.clientHeight))})}const k=computed(()=>{const S=c.isReversed.value?a.reverseTransition:a.transition;return v.value?{name:typeof S!="string"?c.transition.value:S,onBeforeEnter:y,onAfterEnter:g,onEnterCancelled:b,onBeforeLeave:y,onAfterLeave:g,onLeaveCancelled:b,onEnter:w}:!1}),{hasContent:$}=useLazy(a,d.isSelected);return useRender(()=>createVNode(MaybeTransition,{transition:k.value,disabled:!m.value},{default:()=>{var S;return[withDirectives(createVNode("div",{class:["v-window-item",d.selectedClass.value,a.class],style:a.style},[$.value&&((S=u.default)==null?void 0:S.call(u))]),[[vShow,d.isSelected.value]])]}})),{groupItem:d}}}),_hoisted_1$_=createBaseVNode("i",{class:"fas fa-shopping-cart fa-fw"},null,-1),_hoisted_2$D=createBaseVNode("span",{class:"d-none d-md-block ms-1"},"Shopping List",-1),_hoisted_3$q=createBaseVNode("i",{class:"fas fa-book fa-fw"},null,-1),_hoisted_4$h=createBaseVNode("span",{class:"d-none d-md-block ms-1"},"Recipes",-1),_sfc_main$s=defineComponent$1({__name:"ShoppingListView",setup(a){const i=ref("shopping");return useShoppingStore(),useShoppingStore().refreshFromAPI(),(u,c)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VTabs,{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=d=>i.value=d),grow:""},{default:withCtx(()=>[createVNode(VTab,{value:"shopping"},{default:withCtx(()=>[_hoisted_1$_,createTextVNode(),_hoisted_2$D]),_:1}),createVNode(VTab,{value:"recipes"},{default:withCtx(()=>[_hoisted_3$q,createTextVNode(),_hoisted_4$h]),_:1})]),_:1},8,["modelValue"]),createVNode(VWindow,{modelValue:i.value,"onUpdate:modelValue":c[1]||(c[1]=d=>i.value=d)},{default:withCtx(()=>[createVNode(VWindowItem,{value:"shopping"},{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VList,{lines:"two",density:"compact"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(useShoppingStore)().getEntriesByGroup,d=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VListSubheader,null,{default:withCtx(()=>[createTextVNode(toDisplayString(d.name),1)]),_:2},1024),createVNode(VDivider),(openBlock(!0),createElementBlock(Fragment,null,renderList(d.foods,m=>(openBlock(),createBlock(VListItem,null,{append:withCtx(()=>[createVNode(VBtn,{color:"success",icon:"fas fa-check",variant:"text"})]),default:withCtx(()=>[createTextVNode(toDisplayString(m[1].food.name)+" ",1)]),_:2},1024))),256))],64))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),createVNode(VWindowItem,{value:"recipes"},{default:withCtx(()=>[createTextVNode(" Recipes ")]),_:1})]),_:1},8,["modelValue"])],64))}}),_sfc_main$r=defineComponent$1({__name:"ShoppingListPage",setup(a){return(i,u)=>(openBlock(),createBlock(_sfc_main$s))}}),_hoisted_1$Z={key:0},_sfc_main$q=defineComponent$1({__name:"KeywordsBar",props:{keywords:Array,size:{type:String,default:"x-small"},color:{type:String,default:""},variant:{type:String,default:"tonal"}},setup(a){const i=a;return(u,c)=>i.keywords?(openBlock(),createElementBlock("div",_hoisted_1$Z,[(openBlock(!0),createElementBlock(Fragment,null,renderList(i.keywords,d=>(openBlock(),createBlock(VChip,{class:"ms-1",color:i.color,size:i.size,variant:i.variant},{default:withCtx(()=>[createTextVNode(toDisplayString(d.label),1)]),_:2},1032,["color","size","variant"]))),256))])):createCommentVNode("",!0)}}),_imports_0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='pizza-slice'%20class='svg-inline--fa%20fa-pizza-slice%20fa-w-16'%20role='img'%20viewBox='0%200%20512%20512'%20version='1.1'%20id='svg4'%20sodipodi:docname='recipe_no_image.svg'%20inkscape:version='0.92.4%20(5da689c313,%202019-01-14)'%3e%3cmetadata%20id='metadata10'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs8'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='3840'%20inkscape:window-height='2066'%20id='namedview6'%20showgrid='false'%20inkscape:zoom='0.921875'%20inkscape:cx='-25.662611'%20inkscape:cy='214.71807'%20inkscape:window-x='2869'%20inkscape:window-y='54'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg4'%20/%3e%3cpath%20d='m%20235.62851,202.1526%20c%20-3.38906,-0.31992%20-6.54323,1.7722%20-7.40937,5.07666%20l%20-3.10593,11.84344%20c%2039.34747,1.15551%2065.965,27.49017%2067.63017,66.72064%20l%2011.9414,-3.32129%20c%203.29677,-0.91767%205.34573,-4.14216%204.95356,-7.55606%20-4.37894,-38.04972%20-35.85985,-69.14953%20-74.00983,-72.76339%20z%20m%20-12.26226,23.57322%20-20.94044,79.87325%20a%203.3995443,3.4118034%200%200%200%204.19438,4.15688%20L%20286.10367,287.635%20c%20-0.8955,-36.81001%20-25.8122,-61.48823%20-62.73742,-61.90076%20z%20m%205.78824,63.9529%20a%206.7110067,6.7352075%200%201%201%206.711,-6.73521%206.7110067,6.7352075%200%200%201%20-6.711,6.73521%20z%20M%20239.221,257.68648%20a%206.7110067,6.7352075%200%201%201%206.71101,-6.7352%206.7110067,6.7352075%200%200%201%20-6.71101,6.7352%20z%20m%2021.81077,21.88943%20a%206.7110067,6.7352075%200%201%201%206.71101,-6.73521%206.7110067,6.7352075%200%200%201%20-6.71101,6.73521%20z'%20id='path2'%20style='fill:%23d9cfbe;fill-opacity:1;stroke-width:0.21009675'%20inkscape:connector-curvature='0'%20/%3e%3c/svg%3e",makeVMenuProps=propsFactory({id:String,...omit$1(makeVOverlayProps({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:VDialogTransition}}),["absolute"])},"VMenu"),VMenu=genericComponent()({name:"VMenu",props:makeVMenuProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),{scopeId:d}=useScopeId(),m=getUid(),f=computed(()=>a.id||`v-menu-${m}`),v=ref(),g=inject$1(VMenuSymbol,null),y=shallowRef(0);provide(VMenuSymbol,{register(){++y.value},unregister(){--y.value},closeParents(C){setTimeout(()=>{!y.value&&(C==null||C&&!isClickInsideElement(C,v.value.contentEl))&&(c.value=!1,g==null||g.closeParents())},40)}});async function b(C){var A,O,F;const E=C.relatedTarget,D=C.target;await nextTick(),c.value&&E!==D&&((A=v.value)!=null&&A.contentEl)&&((O=v.value)!=null&&O.globalTop)&&![document,v.value.contentEl].includes(D)&&!v.value.contentEl.contains(D)&&((F=focusableChildren(v.value.contentEl)[0])==null||F.focus())}watch(c,C=>{C?(g==null||g.register(),document.addEventListener("focusin",b,{once:!0})):(g==null||g.unregister(),document.removeEventListener("focusin",b))});function w(C){g==null||g.closeParents(C)}function k(C){var E,D,A;a.disabled||(C.key==="Tab"||C.key==="Enter"&&!a.closeOnContentClick?(C.key==="Enter"&&C.preventDefault(),getNextElement(focusableChildren((E=v.value)==null?void 0:E.contentEl,!1),C.shiftKey?"prev":"next",F=>F.tabIndex>=0)||(c.value=!1,(A=(D=v.value)==null?void 0:D.activatorEl)==null||A.focus())):["Enter"," "].includes(C.key)&&a.closeOnContentClick&&(c.value=!1,g==null||g.closeParents()))}function $(C){var D;if(a.disabled)return;const E=(D=v.value)==null?void 0:D.contentEl;E&&c.value?C.key==="ArrowDown"?(C.preventDefault(),focusChild(E,"next")):C.key==="ArrowUp"&&(C.preventDefault(),focusChild(E,"prev")):["ArrowDown","ArrowUp"].includes(C.key)&&(c.value=!0,C.preventDefault(),setTimeout(()=>setTimeout(()=>$(C))))}const S=computed(()=>mergeProps({"aria-haspopup":"menu","aria-expanded":String(c.value),"aria-owns":f.value,onKeydown:$},a.activatorProps));return useRender(()=>{const C=VOverlay.filterProps(a);return createVNode(VOverlay,mergeProps({ref:v,id:f.value,class:["v-menu",a.class],style:a.style},C,{modelValue:c.value,"onUpdate:modelValue":E=>c.value=E,absolute:!0,activatorProps:S.value,"onClick:outside":w,onKeydown:k},d),{activator:u.activator,default:function(){for(var E=arguments.length,D=new Array(E),A=0;A<E;A++)D[A]=arguments[A];return createVNode(VDefaultsProvider,{root:"VMenu"},{default:()=>{var O;return[(O=u.default)==null?void 0:O.call(u,...D)]}})}})}),forwardRefs({id:f,ΨopenChildren:y},v)}}),_hoisted_1$Y=createBaseVNode("i",{class:"fas fa-edit fa-fw mr-2"},null,-1),_sfc_main$p=defineComponent$1({__name:"RecipeContextMenu",props:{recipe:{type:Object,required:!0}},setup(a){const i=useRouter$1(),u=a;function c(){i.push({name:"edit_recipe",params:{recipe_id:u.recipe.id}})}return(d,m)=>(openBlock(),createBlock(VMenu,{"open-on-hover":"","open-delay":"0","open-on-click":!0,location:"start"},{activator:withCtx(({props:f})=>[createVNode(VBtn,mergeProps(f,{icon:"fas fa-ellipsis-v",variant:"plain"}),null,16)]),default:withCtx(()=>[createVNode(VList,null,{default:withCtx(()=>[createVNode(VListItem,null,{default:withCtx(()=>[createVNode(VListItemTitle,{onClick:m[0]||(m[0]=f=>c())},{default:withCtx(()=>[_hoisted_1$Y,createTextVNode(" Edit")]),_:1})]),_:1})]),_:1})]),_:1}))}}),_sfc_main$o=defineComponent$1({__name:"RecipeImage",props:{recipe:{type:{},required:!1,default:void 0},height:{type:String},width:{type:String},cover:{type:Boolean,default:!0}},setup(a){const i=a,u=computed(()=>i.recipe!=null&&i.recipe.image!=null?i.recipe.image:_imports_0);return watch(()=>i.recipe,()=>{console.log("changed")}),(c,d)=>(openBlock(),createBlock(VImg,{cover:a.cover,style:normalizeStyle({height:a.height,width:a.width}),src:u.value,alt:"Recipe Image"},{default:withCtx(()=>[renderSlot(c.$slots,"overlay")]),_:3},8,["cover","style","src"]))}}),rootTypes={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function genBone(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${a}`]},[i])}function genBones(a){const[i,u]=a.split("@");return Array.from({length:u}).map(()=>genStructure(i))}function genStructure(a){let i=[];if(!a)return i;const u=rootTypes[a];if(a!==u){if(a.includes(","))return mapBones(a);if(a.includes("@"))return genBones(a);u.includes(",")?i=mapBones(u):u.includes("@")?i=genBones(u):u&&i.push(genStructure(u))}return[genBone(a,i)]}function mapBones(a){return a.replace(/\s/g,"").split(",").map(genStructure)}const makeVSkeletonLoaderProps=propsFactory({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...makeDimensionProps(),...makeElevationProps(),...makeThemeProps()},"VSkeletonLoader"),VSkeletonLoader=genericComponent()({name:"VSkeletonLoader",props:makeVSkeletonLoaderProps(),setup(a,i){let{slots:u}=i;const{backgroundColorClasses:c,backgroundColorStyles:d}=useBackgroundColor(toRef(a,"color")),{dimensionStyles:m}=useDimension(a),{elevationClasses:f}=useElevation(a),{themeClasses:v}=provideTheme(a),{t:g}=useLocale(),y=computed(()=>genStructure(wrapInArray(a.type).join(",")));return useRender(()=>{var w;const b=!u.default||a.loading;return createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":a.boilerplate},v.value,c.value,f.value],style:[d.value,b?m.value:{}],"aria-busy":a.boilerplate?void 0:b,"aria-live":a.boilerplate?void 0:"polite","aria-label":a.boilerplate?void 0:g(a.loadingText),role:a.boilerplate?void 0:"alert"},[b?y.value:(w=u.default)==null?void 0:w.call(u)])}),{}}}),makeVTooltipProps=propsFactory({id:String,text:String,...omit$1(makeVOverlayProps({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),VTooltip=genericComponent()({name:"VTooltip",props:makeVTooltipProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),{scopeId:d}=useScopeId(),m=getUid(),f=computed(()=>a.id||`v-tooltip-${m}`),v=ref(),g=computed(()=>a.location.split(" ").length>1?a.location:a.location+" center"),y=computed(()=>a.origin==="auto"||a.origin==="overlap"||a.origin.split(" ").length>1||a.location.split(" ").length>1?a.origin:a.origin+" center"),b=computed(()=>a.transition?a.transition:c.value?"scale-transition":"fade-transition"),w=computed(()=>mergeProps({"aria-describedby":f.value},a.activatorProps));return useRender(()=>{const k=VOverlay.filterProps(a);return createVNode(VOverlay,mergeProps({ref:v,class:["v-tooltip",a.class],style:a.style,id:f.value},k,{modelValue:c.value,"onUpdate:modelValue":$=>c.value=$,transition:b.value,absolute:!0,location:g.value,origin:y.value,persistent:!0,role:"tooltip",activatorProps:w.value,_disableGlobalStack:!0},d),{activator:u.activator,default:function(){var E;for(var $=arguments.length,S=new Array($),C=0;C<$;C++)S[C]=arguments[C];return((E=u.default)==null?void 0:E.call(u,...S))??a.text}})}),forwardRefs({},v)}}),_hoisted_1$X={key:0},_sfc_main$n=defineComponent$1({__name:"RecipeCard",props:{recipe:{type:{},required:!0},loading:{type:Boolean,required:!1},show_keywords:{type:Boolean,required:!1},show_description:{type:Boolean,required:!1},height:{type:String,required:!1,default:"25vh"}},setup(a){const i=a;return(u,c)=>i.loading?(openBlock(),createBlock(VCard,{key:1,style:normalizeStyle({height:i.height})},{default:withCtx(()=>[createVNode(VImg,{src:_imports_0,cover:"",height:"60%"}),createVNode(VCardTitle,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{type:"heading"})]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{type:"subtitle"})]),_:1})]),_:1},8,["style"])):(openBlock(),createBlock(VCard,{key:0,to:`/recipe/${i.recipe.id}`,style:normalizeStyle({height:i.height})},{default:withCtx(()=>[createVNode(VTooltip,{class:"align-center justify-center",location:"top center",origin:"overlap","no-click-animation":"","open-on-hover":i.recipe.description!=null&&i.recipe.description!="",contained:""},{activator:withCtx(({props:d})=>[createVNode(_sfc_main$o,{height:"60%",width:"100%",recipe:i.recipe},{overlay:withCtx(()=>[i.recipe.workingTime!=null&&i.recipe.workingTime>0?(openBlock(),createBlock(VChip,{key:0,size:"x-small","prepend-icon":"fa fa-clock",label:"",color:"light",variant:"elevated",class:"float-start ms-1 mt-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(a.recipe.workingTime),1)]),_:1})):createCommentVNode("",!0),i.recipe.waitingTime!=null&&i.recipe.waitingTime>0?(openBlock(),createBlock(VChip,{key:1,size:"x-small","prepend-icon":"fa fa-pause",label:"",color:"secondary",variant:"elevated",class:"float-start ms-1 mt-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(a.recipe.waitingTime),1)]),_:1})):createCommentVNode("",!0),createVNode(_sfc_main$q,{variant:"flat",keywords:i.recipe.keywords},null,8,["keywords"])]),_:1},8,["recipe"]),i.recipe.image==null?(openBlock(),createBlock(VDivider,{key:0,class:"p-0"})):createCommentVNode("",!0)]),default:withCtx(()=>[i.recipe.description!=null&&i.recipe.description!=""?(openBlock(),createElementBlock("div",_hoisted_1$X,toDisplayString(i.recipe.description),1)):createCommentVNode("",!0)]),_:1},8,["open-on-hover"]),createVNode(VCardItem,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(i.recipe.name)+" ",1),createVNode(_sfc_main$p,{class:"float-end",recipe:a.recipe},null,8,["recipe"])]),_:1}),createVNode(VCardSubtitle,null,{default:withCtx(()=>[createTextVNode("by "+toDisplayString(i.recipe.createdBy),1)]),_:1})]),_:1})]),_:1},8,["to","style"]))}});function homePageCols(a){switch(a){case"xs":return 1;case"sm":return 2;case"md":return 4;case"lg":return 5;case"xl":return 6;case"xxl":return 7;default:return 1}}const _sfc_main$m=defineComponent$1({__name:"HorizontalRecipeWindow",props:{title:{type:String,required:!0},icon:{type:String,required:!1},skeletons:{type:Number,default:0},recipes:{type:Array,required:!0}},setup(a){const i=a,{title:u,recipes:c}=toRefs(i);let d=computed(()=>{const{name:f}=useDisplay();return homePageCols(f.value)}),m=computed(()=>{let f=[],v=[];for(const[g,y]of c==null?void 0:c.value.entries())v.push(y),g%d.value==d.value-1&&(v.length>0&&f.push(v),v=[]);return v.length>0&&f.push(v),f});return(f,v)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VRow,{justify:"space-between"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createBaseVNode("h2",null,[a.icon!="undefined"?(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(a.icon+" fa-fw")},null,2)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(unref(u)),1)])]),_:1})]),_:1}),unref(m).length>0?(openBlock(),createBlock(VRow,{key:0,class:"mt-0"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,{"show-arrows":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(m),g=>(openBlock(),createBlock(VWindowItem,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(g,y=>(openBlock(),createBlock(VCol,{key:y.id},{default:withCtx(()=>[createVNode(_sfc_main$n,{recipe:y,show_description:!0,show_keywords:!0,style:{height:"25vh"}},null,8,["recipe"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),unref(m).length==0&&a.skeletons>0?(openBlock(),createBlock(VRow,{key:1},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,null,{default:withCtx(()=>[createVNode(VWindowItem,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.skeletons,g=>(openBlock(),createBlock(VCol,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{elevation:3,type:"card"})]),_:1}))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64))}}),_STORE_ID="meal_plan_store",useMealPlanStore=defineStore(_STORE_ID,()=>{let a=ref(new Map),i=ref([new Date(0),new Date(0)]);ref({});const u=computed(()=>{let g=[];return a.value.forEach((y,b)=>{g.push(y)}),g});computed(()=>({from_date:null,to_date:null,id:-1,meal_type:null,note:"",note_markdown:"",recipe:null,servings:1,shared:[],title:"",title_placeholder:"Title"}));function c(g,y){return i.value[0]!==g||i.value[1]!==y?(i.value=[g,y],new ApiApi().apiMealPlanList({fromDate:DateTime.fromJSDate(g).toISODate(),toDate:DateTime.fromJSDate(y).toISODate()}).then(w=>{w.forEach(k=>{a.value.set(k.id,k)}),i.value=[new Date(0),new Date(0)]})):new Promise(()=>{})}function d(g){return g.id==null?m(g):f(g)}function m(g){return new ApiApi().apiMealPlanCreate({mealPlanRequest:g}).then(b=>(a.value.set(b.id,b),b)).catch(b=>{})}function f(g){return new ApiApi().apiMealPlanUpdate({id:g.id,mealPlanRequest:g}).then(b=>{a.value.set(b.id,b)}).catch(b=>{})}function v(g){return new ApiApi().apiMealPlanDestroy({id:g.id}).then(b=>{a.value.delete(g.id)}).catch(b=>{})}return{plans:a,currently_updating:i,plan_list:u,refreshFromAPI:c,createObject:m,updateObject:f,deleteObject:v,createOrUpdate:d}}),makeVNumberInputProps=propsFactory({controlVariant:{type:String,default:"default"},inset:Boolean,hideInput:Boolean,min:Number,max:Number,step:Number,...only(makeVInputProps(),["density","disabled","focused","hideDetails","hint","label","persistentHint","readonly"]),...only(makeVFieldProps(),["baseColor","bgColor","class","color","disabled","error","loading","reverse","rounded","style","theme","variant"]),...makeFocusProps()},"VNumberInput"),VNumberInput=genericComponent()({name:"VNumberInput",inheritAttrs:!1,props:{...makeVNumberInputProps(),modelValue:{type:[Number,String],default:0}},emits:{"update:modelValue":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const m=useProxiedModel(a,"modelValue"),{isFocused:f,focus:v,blur:g}=useFocus(a),y=ref();function b(){f.value||v()}const w=computed(()=>a.hideInput?"stacked":a.controlVariant);function k(){var A,O;(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?(A=y.value)==null||A.stepUp():(O=y.value)==null||O.stepDown(),y.value&&(m.value=parseInt(y.value.value,10))}function $(){k()}function S(){k(!1)}const C=computed(()=>({click:$})),E=computed(()=>({click:S}));useRender(()=>{const D=filterFieldProps(a),[A,O]=filterInputAttrs(u),{modelValue:F,...B}=VInput.filterProps(a);function I(){const z=w.value==="stacked"?"auto":"100%";return createVNode("div",{class:"v-number-input__control"},[d.decrement?createVNode(VDefaultsProvider,{key:"decrement-defaults",defaults:{VBtn:{flat:!0,height:z,size:"small",icon:"$expand"}}},{default:()=>[d.decrement(E.value)]}):createVNode(VBtn,{flat:!0,key:"decrement-btn",height:z,icon:"$expand",size:"small",onClick:S},null),createVNode(VDivider,{vertical:w.value!=="stacked"},null),d.increment?createVNode(VDefaultsProvider,{key:"increment-defaults",defaults:{VBtn:{flat:!0,height:z,size:"small",icon:"$collapse"}}},{default:()=>[d.increment(C.value)]}):createVNode(VBtn,{flat:!0,key:"increment-btn",height:z,icon:"$collapse",onClick:$,size:"small"},null)])}function M(){return!a.hideInput&&!a.inset?createVNode(VDivider,{vertical:!0},null):void 0}return createVNode(VInput,mergeProps({class:["v-number-input",{"v-number-input--default":w.value==="default","v-number-input--hide-input":a.hideInput,"v-number-input--inset":a.inset,"v-number-input--reverse":a.reverse,"v-number-input--split":w.value==="split","v-number-input--stacked":w.value==="stacked"},a.class]},A,B,{focused:f.value,style:a.style}),{...d,default:()=>createVNode(VField,mergeProps(D,{active:!0,focused:f.value}),{...d,default:z=>{let{props:{class:q,...H}}=z;return withDirectives(createVNode("input",mergeProps({ref:y,type:"number","onUpdate:modelValue":Q=>m.value=Q,class:q,max:a.max,min:a.min,step:a.step,onFocus:b,onBlur:g},O),null),[[vModelText,m.value]])},"append-inner":w.value==="split"?()=>createVNode("div",{class:"v-number-input__control"},[createVNode(VDivider,{vertical:!0},null),createVNode(VBtn,{flat:!0,height:"100%",icon:"$plus",tile:!0,onClick:$},null)]):a.reverse?void 0:()=>createVNode(Fragment,null,[M(),I()]),"prepend-inner":w.value==="split"?()=>createVNode("div",{class:"v-number-input__control"},[createVNode(VBtn,{flat:!0,height:"100%",icon:"$minus",tile:!0,onClick:S},null),createVNode(VDivider,{vertical:!0},null)]):a.reverse?()=>createVNode(Fragment,null,[I(),M()]):void 0})})})}});function isNullish$2(a){return[null,void 0].indexOf(a)!==-1}function useData$1(a,i,u){const{object:c,valueProp:d,mode:m}=toRefs(a),f=getCurrentInstance$1().proxy,v=u.iv,g=(w,k=!0)=>{v.value=b(w);const $=y(w);i.emit("change",$,f),k&&(i.emit("input",$),i.emit("update:modelValue",$))},y=w=>c.value||isNullish$2(w)?w:Array.isArray(w)?w.map(k=>k[d.value]):w[d.value],b=w=>isNullish$2(w)?m.value==="single"?{}:[]:w;return{update:g}}function useValue$4(a,i){const{value:u,modelValue:c,mode:d,valueProp:m}=toRefs(a),f=ref(d.value!=="single"?[]:{}),v=computed(()=>c&&c.value!==void 0?c.value:u.value),g=computed(()=>d.value==="single"?f.value[m.value]:f.value.map(b=>b[m.value])),y=computed(()=>d.value!=="single"?f.value.map(b=>b[m.value]).join(","):f.value[m.value]);return{iv:f,internalValue:f,ev:v,externalValue:v,textValue:y,plainValue:g}}function useSearch$1(a,i,u){const{regex:c}=toRefs(a),d=getCurrentInstance$1().proxy,m=u.isOpen,f=u.open,v=ref(null),g=()=>{v.value=""},y=k=>{v.value=k.target.value},b=k=>{if(c&&c.value){let $=c.value;typeof $=="string"&&($=new RegExp($)),k.key.match($)||k.preventDefault()}},w=k=>{if(c&&c.value){let S=(k.clipboardData||window.clipboardData).getData("Text"),C=c.value;typeof C=="string"&&(C=new RegExp(C)),S.split("").every(E=>!!E.match(C))||k.preventDefault()}i.emit("paste",k,d)};return watch(v,k=>{!m.value&&k&&f(),i.emit("search-change",k,d)}),{search:v,clearSearch:g,handleSearchInput:y,handleKeypress:b,handlePaste:w}}function usePointer$1$1(a,i,u){const{groupSelect:c,mode:d,groups:m,disabledProp:f}=toRefs(a),v=ref(null),g=b=>{b===void 0||b!==null&&b[f.value]||m.value&&b&&b.group&&(d.value==="single"||!c.value)||(v.value=b)};return{pointer:v,setPointer:g,clearPointer:()=>{g(null)}}}function normalize$2(a,i=!0){return i?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(new RegExp("\\p{Diacritic}","gu"),"")}function isObject$f(a){return Object.prototype.toString.call(a)==="[object Object]"}function arraysEqual$2(a,i){const u=i.slice().sort();return a.length===i.length&&a.slice().sort().every(function(c,d){return c===u[d]})}function useOptions$1(a,i,u){const{options:c,mode:d,trackBy:m,limit:f,hideSelected:v,createTag:g,createOption:y,label:b,appendNewTag:w,appendNewOption:k,multipleLabel:$,object:S,loading:C,delay:E,resolveOnLoad:D,minChars:A,filterResults:O,clearOnSearch:F,clearOnSelect:B,valueProp:I,allowAbsent:M,groupLabel:z,canDeselect:q,max:H,strict:Q,closeOnSelect:j,closeOnDeselect:ee,groups:G,reverse:J,infinite:te,groupOptions:re,groupHideEmpty:ae,groupSelect:ye,onCreate:ve,disabledProp:le,searchStart:Se,searchFilter:De}=toRefs(a),At=getCurrentInstance$1().proxy,Le=u.iv,ke=u.ev,ue=u.search,Ce=u.clearSearch,Te=u.update,Pe=u.pointer,Vt=u.setPointer,Ie=u.clearPointer,ie=u.focus,de=u.deactivate,Fe=u.close,We=u.localize,wt=ref([]),jt=ref([]),Ut=ref(!1),Tt=ref(null),Ft=ref(te.value&&f.value===-1?10:f.value),St=computed(()=>g.value||y.value||!1),Wt=computed(()=>w.value!==void 0?w.value:k.value!==void 0?k.value:!0),$t=computed(()=>{if(G.value){let he=ln.value||[],It=[];return he.forEach(pn=>{ir(pn[re.value]).forEach(On=>{It.push(Object.assign({},On,pn[le.value]?{[le.value]:!0}:{}))})}),It}else{let he=ir(jt.value||[]);return wt.value.length&&(he=he.concat(wt.value)),he}}),xt=computed(()=>{let he=$t.value;return J.value&&(he=he.reverse()),an.value.length&&(he=an.value.concat(he)),Wn(he)}),Kt=computed(()=>{let he=xt.value;return Ft.value>0&&(he=he.slice(0,Ft.value)),he}),ln=computed(()=>{if(!G.value)return[];let he=[],It=jt.value||[];return wt.value.length&&he.push({[z.value]:" ",[re.value]:[...wt.value],__CREATE__:!0}),he.concat(It)}),hn=computed(()=>{let he=[...ln.value].map(It=>({...It}));return an.value.length&&(he[0]&&he[0].__CREATE__?he[0][re.value]=[...an.value,...he[0][re.value]]:he=[{[z.value]:" ",[re.value]:[...an.value],__CREATE__:!0}].concat(he)),he}),kt=computed(()=>{if(!G.value)return[];let he=hn.value;return tr((he||[]).map((It,pn)=>{const On=ir(It[re.value]);return{...It,index:pn,group:!0,[re.value]:Wn(On,!1).map(Gn=>Object.assign({},Gn,It[le.value]?{[le.value]:!0}:{})),__VISIBLE__:Wn(On).map(Gn=>Object.assign({},Gn,It[le.value]?{[le.value]:!0}:{}))}}))}),Et=computed(()=>{switch(d.value){case"single":return!isNullish$2(Le.value[I.value]);case"multiple":case"tags":return!isNullish$2(Le.value)&&Le.value.length>0}}),zt=computed(()=>$!==void 0&&$.value!==void 0?$.value(Le.value,At):Le.value&&Le.value.length>1?`${Le.value.length} options selected`:"1 option selected"),Yt=computed(()=>!$t.value.length&&!Ut.value&&!an.value.length),mn=computed(()=>$t.value.length>0&&Kt.value.length==0&&(ue.value&&G.value||!G.value)),an=computed(()=>St.value===!1||!ue.value?[]:fn(ue.value)!==-1?[]:[{[I.value]:ue.value,[sn.value[0]]:ue.value,[b.value]:ue.value,__CREATE__:!0}]),sn=computed(()=>m.value?Array.isArray(m.value)?m.value:[m.value]:[b.value]),wn=computed(()=>{switch(d.value){case"single":return null;case"multiple":case"tags":return[]}}),Cn=computed(()=>C.value||Ut.value),gn=he=>{switch(typeof he!="object"&&(he=cn(he)),d.value){case"single":Te(he);break;case"multiple":case"tags":Te(Le.value.concat(he));break}i.emit("select",bn(he),he,At)},dn=he=>{switch(typeof he!="object"&&(he=cn(he)),d.value){case"single":Rt();break;case"tags":case"multiple":Te(Array.isArray(he)?Le.value.filter(It=>he.map(pn=>pn[I.value]).indexOf(It[I.value])===-1):Le.value.filter(It=>It[I.value]!=he[I.value]));break}i.emit("deselect",bn(he),he,At)},bn=he=>S.value?he:he[I.value],Oe=he=>{dn(he)},Ye=(he,It)=>{if(It.button!==0){It.preventDefault();return}Oe(he)},Rt=()=>{Te(wn.value),i.emit("clear",At)},oe=he=>{if(he.group!==void 0)return d.value==="single"?!1:nn(he[re.value])&&he[re.value].length;switch(d.value){case"single":return!isNullish$2(Le.value)&&Le.value[I.value]==he[I.value];case"tags":case"multiple":return!isNullish$2(Le.value)&&Le.value.map(It=>It[I.value]).indexOf(he[I.value])!==-1}},pe=he=>he[le.value]===!0,Ne=()=>H===void 0||H.value===-1||!Et.value&&H.value>0?!1:Le.value.length>=H.value,Nt=he=>{if(!pe(he)){if(ve&&ve.value&&!oe(he)&&he.__CREATE__&&(he={...he},delete he.__CREATE__,he=ve.value(he,At),he instanceof Promise)){Ut.value=!0,he.then(It=>{Ut.value=!1,qt(It)});return}qt(he)}},qt=he=>{switch(he.__CREATE__&&(he={...he},delete he.__CREATE__),d.value){case"single":if(he&&oe(he)){q.value&&dn(he),ee.value&&(Ie(),Fe());return}he&&un(he),B.value&&Ce(),j.value&&(Ie(),Fe()),he&&gn(he);break;case"multiple":if(he&&oe(he)){dn(he),ee.value&&(Ie(),Fe());return}if(Ne()){i.emit("max",At);return}he&&(un(he),gn(he)),B.value&&Ce(),v.value&&Ie(),j.value&&Fe();break;case"tags":if(he&&oe(he)){dn(he),ee.value&&(Ie(),Fe());return}if(Ne()){i.emit("max",At);return}he&&un(he),B.value&&Ce(),he&&gn(he),v.value&&Ie(),j.value&&Fe();break}j.value||ie()},tn=he=>{if(!(pe(he)||d.value==="single"||!ye.value)){switch(d.value){case"multiple":case"tags":_n(he[re.value])?dn(he[re.value]):gn(he[re.value].filter(It=>Le.value.map(pn=>pn[I.value]).indexOf(It[I.value])===-1).filter(It=>!It[le.value]).filter((It,pn)=>Le.value.length+1+pn<=H.value||H.value===-1)),v.value&&Pe.value&&Vt(kt.value.filter(It=>!It[le.value])[Pe.value.index]);break}j.value&&de()}},un=he=>{cn(he[I.value])===void 0&&St.value&&(i.emit("tag",he[I.value],At),i.emit("option",he[I.value],At),i.emit("create",he[I.value],At),Wt.value&&Rn(he),Ce())},Gt=()=>{d.value!=="single"&&gn(Kt.value.filter(he=>!he.disabled&&!oe(he)))},_n=he=>he.find(It=>!oe(It)&&!It[le.value])===void 0,nn=he=>he.find(It=>!oe(It))===void 0,cn=he=>$t.value[$t.value.map(It=>String(It[I.value])).indexOf(String(he))],fn=he=>$t.value.findIndex(It=>sn.value.some(pn=>(parseInt(It[pn])==It[pn]?parseInt(It[pn]):It[pn])===(parseInt(he)==he?parseInt(he):he))),Bn=he=>["tags","multiple"].indexOf(d.value)!==-1&&v.value&&oe(he),Rn=he=>{wt.value.push(he)},tr=he=>ae.value?he.filter(It=>ue.value?It.__VISIBLE__.length:It[re.value].length):he.filter(It=>ue.value?It.__VISIBLE__.length:!0),Wn=(he,It=!0)=>{let pn=he;if(ue.value&&O.value){let On=De.value;On||(On=(Gn,Ur,Ka)=>sn.value.some(ra=>{let Pr=normalize$2(We(Gn[ra]),Q.value);return Se.value?Pr.startsWith(normalize$2(Ur,Q.value)):Pr.indexOf(normalize$2(Ur,Q.value))!==-1})),pn=pn.filter(Gn=>On(Gn,ue.value,At))}return v.value&&It&&(pn=pn.filter(On=>!Bn(On))),pn},ir=he=>{let It=he;return isObject$f(It)&&(It=Object.keys(It).map(pn=>{let On=It[pn];return{[I.value]:pn,[sn.value[0]]:On,[b.value]:On}})),It=It.map(pn=>typeof pn=="object"?pn:{[I.value]:pn,[sn.value[0]]:pn,[b.value]:pn}),It},nr=()=>{isNullish$2(ke.value)||(Le.value=or(ke.value))},Kn=he=>(Ut.value=!0,new Promise((It,pn)=>{c.value(ue.value,At).then(On=>{jt.value=On||[],typeof he=="function"&&he(On),Ut.value=!1}).catch(On=>{console.error(On),jt.value=[],Ut.value=!1}).finally(()=>{It()})})),dr=()=>{if(Et.value)if(d.value==="single"){let he=cn(Le.value[I.value]);if(he!==void 0){let It=he[b.value];Le.value[b.value]=It,S.value&&(ke.value[b.value]=It)}}else Le.value.forEach((he,It)=>{let pn=cn(Le.value[It][I.value]);if(pn!==void 0){let On=pn[b.value];Le.value[It][b.value]=On,S.value&&(ke.value[It][b.value]=On)}})},xr=he=>{Kn(he)},or=he=>isNullish$2(he)?d.value==="single"?{}:[]:S.value?he:d.value==="single"?cn(he)||(M.value?{[b.value]:he,[I.value]:he,[sn.value[0]]:he}:{}):he.filter(It=>!!cn(It)||M.value).map(It=>cn(It)||{[b.value]:It,[I.value]:It,[sn.value[0]]:It}),Ir=()=>{Tt.value=watch(ue,he=>{he.length<A.value||!he&&A.value!==0||(Ut.value=!0,F.value&&(jt.value=[]),setTimeout(()=>{he==ue.value&&c.value(ue.value,At).then(It=>{(he==ue.value||!ue.value)&&(jt.value=It,Pe.value=Kt.value.filter(pn=>pn[le.value]!==!0)[0]||null,Ut.value=!1)}).catch(It=>{console.error(It)})},E.value))},{flush:"sync"})};if(d.value!=="single"&&!isNullish$2(ke.value)&&!Array.isArray(ke.value))throw new Error(`v-model must be an array when using "${d.value}" mode`);return c&&typeof c.value=="function"?D.value?Kn(nr):S.value==!0&&nr():(jt.value=c.value,nr()),E.value>-1&&Ir(),watch(E,(he,It)=>{Tt.value&&Tt.value(),he>=0&&Ir()}),watch(ke,he=>{if(isNullish$2(he)){Te(or(he),!1);return}switch(d.value){case"single":(S.value?he[I.value]!=Le.value[I.value]:he!=Le.value[I.value])&&Te(or(he),!1);break;case"multiple":case"tags":arraysEqual$2(S.value?he.map(It=>It[I.value]):he,Le.value.map(It=>It[I.value]))||Te(or(he),!1);break}},{deep:!0}),watch(c,(he,It)=>{typeof a.options=="function"?D.value&&(!It||he&&he.toString()!==It.toString())&&Kn():(jt.value=a.options,Object.keys(Le.value).length||nr(),dr())}),watch(b,dr),watch(f,(he,It)=>{Ft.value=te.value&&he===-1?10:he}),{pfo:xt,fo:Kt,filteredOptions:Kt,hasSelected:Et,multipleLabelText:zt,eo:$t,extendedOptions:$t,eg:ln,extendedGroups:ln,fg:kt,filteredGroups:kt,noOptions:Yt,noResults:mn,resolving:Ut,busy:Cn,offset:Ft,select:gn,deselect:dn,remove:Oe,selectAll:Gt,clear:Rt,isSelected:oe,isDisabled:pe,isMax:Ne,getOption:cn,handleOptionClick:Nt,handleGroupClick:tn,handleTagRemove:Ye,refreshOptions:xr,resolveOptions:Kn,refreshLabels:dr}}function usePointer$2(a,i,u){const{valueProp:c,showOptions:d,searchable:m,groupLabel:f,groups:v,mode:g,groupSelect:y,disabledProp:b,groupOptions:w}=toRefs(a),k=u.fo,$=u.fg,S=u.handleOptionClick,C=u.handleGroupClick,E=u.search,D=u.pointer,A=u.setPointer,O=u.clearPointer,F=u.multiselect,B=u.isOpen,I=computed(()=>k.value.filter(ke=>!ke[b.value])),M=computed(()=>$.value.filter(ke=>!ke[b.value])),z=computed(()=>g.value!=="single"&&y.value),q=computed(()=>D.value&&D.value.group),H=computed(()=>At(D.value)),Q=computed(()=>{const ke=q.value?D.value:At(D.value),ue=M.value.map(Te=>Te[f.value]).indexOf(ke[f.value]);let Ce=M.value[ue-1];return Ce===void 0&&(Ce=ee.value),Ce}),j=computed(()=>{let ke=M.value.map(ue=>ue.label).indexOf(q.value?D.value[f.value]:At(D.value)[f.value])+1;return M.value.length<=ke&&(ke=0),M.value[ke]}),ee=computed(()=>[...M.value].slice(-1)[0]),G=computed(()=>D.value.__VISIBLE__.filter(ke=>!ke[b.value])[0]),J=computed(()=>{const ke=H.value.__VISIBLE__.filter(ue=>!ue[b.value]);return ke[ke.map(ue=>ue[c.value]).indexOf(D.value[c.value])-1]}),te=computed(()=>{const ke=At(D.value).__VISIBLE__.filter(ue=>!ue[b.value]);return ke[ke.map(ue=>ue[c.value]).indexOf(D.value[c.value])+1]}),re=computed(()=>[...Q.value.__VISIBLE__.filter(ke=>!ke[b.value])].slice(-1)[0]),ae=computed(()=>[...ee.value.__VISIBLE__.filter(ke=>!ke[b.value])].slice(-1)[0]),ye=ke=>D.value&&(!ke.group&&D.value[c.value]===ke[c.value]||ke.group!==void 0&&D.value[f.value]===ke[f.value])?!0:void 0,ve=()=>{A(I.value[0]||null)},le=()=>{!D.value||D.value[b.value]===!0||(q.value?C(D.value):S(D.value))},Se=()=>{if(D.value===null)A((v.value&&z.value?M.value[0].__CREATE__?I.value[0]:M.value[0]:I.value[0])||null);else if(v.value&&z.value){let ke=q.value?G.value:te.value;ke===void 0&&(ke=j.value,ke.__CREATE__&&(ke=ke[w.value][0])),A(ke||null)}else{let ke=I.value.map(ue=>ue[c.value]).indexOf(D.value[c.value])+1;I.value.length<=ke&&(ke=0),A(I.value[ke]||null)}nextTick(()=>{Le()})},De=()=>{if(D.value===null){let ke=I.value[I.value.length-1];v.value&&z.value&&(ke=ae.value,ke===void 0&&(ke=ee.value)),A(ke||null)}else if(v.value&&z.value){let ke=q.value?re.value:J.value;ke===void 0&&(ke=q.value?Q.value:H.value,ke.__CREATE__&&(ke=re.value,ke===void 0&&(ke=Q.value))),A(ke||null)}else{let ke=I.value.map(ue=>ue[c.value]).indexOf(D.value[c.value])-1;ke<0&&(ke=I.value.length-1),A(I.value[ke]||null)}nextTick(()=>{Le()})},At=ke=>M.value.find(ue=>ue.__VISIBLE__.map(Ce=>Ce[c.value]).indexOf(ke[c.value])!==-1),Le=()=>{let ke=F.value.querySelector("[data-pointed]");if(!ke)return;let ue=ke.parentElement.parentElement;v.value&&(ue=q.value?ke.parentElement.parentElement.parentElement:ke.parentElement.parentElement.parentElement.parentElement),ke.offsetTop+ke.offsetHeight>ue.clientHeight+ue.scrollTop&&(ue.scrollTop=ke.offsetTop+ke.offsetHeight-ue.clientHeight),ke.offsetTop<ue.scrollTop&&(ue.scrollTop=ke.offsetTop)};return watch(E,ke=>{m.value&&(ke.length&&d.value?ve():O())}),watch(B,ke=>{if(ke&&(F!=null&&F.value)){let ue=F.value.querySelectorAll("[data-selected]")[0];if(!ue)return;let Ce=ue.parentElement.parentElement;nextTick(()=>{Ce.scrollTop>0||(Ce.scrollTop=ue.offsetTop)})}}),{pointer:D,canPointGroups:z,isPointed:ye,setPointerFirst:ve,selectPointer:le,forwardPointer:Se,backwardPointer:De}}function getWindow$1(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var i=a.ownerDocument;return i&&i.defaultView||window}return a}function isElement$2(a){var i=getWindow$1(a).Element;return a instanceof i||a instanceof Element}function isHTMLElement$1(a){var i=getWindow$1(a).HTMLElement;return a instanceof i||a instanceof HTMLElement}function isShadowRoot$1(a){if(typeof ShadowRoot>"u")return!1;var i=getWindow$1(a).ShadowRoot;return a instanceof i||a instanceof ShadowRoot}var max$3=Math.max,min$4=Math.min,round$2=Math.round;function getUAString$1(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function isLayoutViewport$1(){return!/^((?!chrome|android).)*safari/i.test(getUAString$1())}function getBoundingClientRect$1(a,i,u){i===void 0&&(i=!1),u===void 0&&(u=!1);var c=a.getBoundingClientRect(),d=1,m=1;i&&isHTMLElement$1(a)&&(d=a.offsetWidth>0&&round$2(c.width)/a.offsetWidth||1,m=a.offsetHeight>0&&round$2(c.height)/a.offsetHeight||1);var f=isElement$2(a)?getWindow$1(a):window,v=f.visualViewport,g=!isLayoutViewport$1()&&u,y=(c.left+(g&&v?v.offsetLeft:0))/d,b=(c.top+(g&&v?v.offsetTop:0))/m,w=c.width/d,k=c.height/m;return{width:w,height:k,top:b,right:y+w,bottom:b+k,left:y,x:y,y:b}}function getWindowScroll$1(a){var i=getWindow$1(a),u=i.pageXOffset,c=i.pageYOffset;return{scrollLeft:u,scrollTop:c}}function getHTMLElementScroll$1(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function getNodeScroll$1(a){return a===getWindow$1(a)||!isHTMLElement$1(a)?getWindowScroll$1(a):getHTMLElementScroll$1(a)}function getNodeName$1(a){return a?(a.nodeName||"").toLowerCase():null}function getDocumentElement$1(a){return((isElement$2(a)?a.ownerDocument:a.document)||window.document).documentElement}function getWindowScrollBarX$1(a){return getBoundingClientRect$1(getDocumentElement$1(a)).left+getWindowScroll$1(a).scrollLeft}function getComputedStyle$1$1(a){return getWindow$1(a).getComputedStyle(a)}function isScrollParent$1(a){var i=getComputedStyle$1$1(a),u=i.overflow,c=i.overflowX,d=i.overflowY;return/auto|scroll|overlay|hidden/.test(u+d+c)}function isElementScaled$1(a){var i=a.getBoundingClientRect(),u=round$2(i.width)/a.offsetWidth||1,c=round$2(i.height)/a.offsetHeight||1;return u!==1||c!==1}function getCompositeRect$1(a,i,u){u===void 0&&(u=!1);var c=isHTMLElement$1(i),d=isHTMLElement$1(i)&&isElementScaled$1(i),m=getDocumentElement$1(i),f=getBoundingClientRect$1(a,d,u),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(c||!c&&!u)&&((getNodeName$1(i)!=="body"||isScrollParent$1(m))&&(v=getNodeScroll$1(i)),isHTMLElement$1(i)?(g=getBoundingClientRect$1(i,!0),g.x+=i.clientLeft,g.y+=i.clientTop):m&&(g.x=getWindowScrollBarX$1(m))),{x:f.left+v.scrollLeft-g.x,y:f.top+v.scrollTop-g.y,width:f.width,height:f.height}}function getLayoutRect$1(a){var i=getBoundingClientRect$1(a),u=a.offsetWidth,c=a.offsetHeight;return Math.abs(i.width-u)<=1&&(u=i.width),Math.abs(i.height-c)<=1&&(c=i.height),{x:a.offsetLeft,y:a.offsetTop,width:u,height:c}}function getParentNode$1(a){return getNodeName$1(a)==="html"?a:a.assignedSlot||a.parentNode||(isShadowRoot$1(a)?a.host:null)||getDocumentElement$1(a)}function getScrollParent$1(a){return["html","body","#document"].indexOf(getNodeName$1(a))>=0?a.ownerDocument.body:isHTMLElement$1(a)&&isScrollParent$1(a)?a:getScrollParent$1(getParentNode$1(a))}function listScrollParents$1(a,i){var u;i===void 0&&(i=[]);var c=getScrollParent$1(a),d=c===((u=a.ownerDocument)==null?void 0:u.body),m=getWindow$1(c),f=d?[m].concat(m.visualViewport||[],isScrollParent$1(c)?c:[]):c,v=i.concat(f);return d?v:v.concat(listScrollParents$1(getParentNode$1(f)))}function isTableElement$1(a){return["table","td","th"].indexOf(getNodeName$1(a))>=0}function getTrueOffsetParent$1(a){return!isHTMLElement$1(a)||getComputedStyle$1$1(a).position==="fixed"?null:a.offsetParent}function getContainingBlock$1(a){var i=/firefox/i.test(getUAString$1()),u=/Trident/i.test(getUAString$1());if(u&&isHTMLElement$1(a)){var c=getComputedStyle$1$1(a);if(c.position==="fixed")return null}var d=getParentNode$1(a);for(isShadowRoot$1(d)&&(d=d.host);isHTMLElement$1(d)&&["html","body"].indexOf(getNodeName$1(d))<0;){var m=getComputedStyle$1$1(d);if(m.transform!=="none"||m.perspective!=="none"||m.contain==="paint"||["transform","perspective"].indexOf(m.willChange)!==-1||i&&m.willChange==="filter"||i&&m.filter&&m.filter!=="none")return d;d=d.parentNode}return null}function getOffsetParent$1(a){for(var i=getWindow$1(a),u=getTrueOffsetParent$1(a);u&&isTableElement$1(u)&&getComputedStyle$1$1(u).position==="static";)u=getTrueOffsetParent$1(u);return u&&(getNodeName$1(u)==="html"||getNodeName$1(u)==="body"&&getComputedStyle$1$1(u).position==="static")?i:u||getContainingBlock$1(a)||i}var top$1="top",bottom$1="bottom",right$1="right",left$1="left",auto$1="auto",basePlacements$1=[top$1,bottom$1,right$1,left$1],start$1="start",end$1="end",clippingParents$1="clippingParents",viewport$1="viewport",popper$1="popper",reference$1="reference",variationPlacements$1=basePlacements$1.reduce(function(a,i){return a.concat([i+"-"+start$1,i+"-"+end$1])},[]),placements$1=[].concat(basePlacements$1,[auto$1]).reduce(function(a,i){return a.concat([i,i+"-"+start$1,i+"-"+end$1])},[]),beforeRead$1="beforeRead",read$1="read",afterRead$1="afterRead",beforeMain$1="beforeMain",main$2="main",afterMain$1="afterMain",beforeWrite$1="beforeWrite",write$1="write",afterWrite$1="afterWrite",modifierPhases$1=[beforeRead$1,read$1,afterRead$1,beforeMain$1,main$2,afterMain$1,beforeWrite$1,write$1,afterWrite$1];function order$1(a){var i=new Map,u=new Set,c=[];a.forEach(function(m){i.set(m.name,m)});function d(m){u.add(m.name);var f=[].concat(m.requires||[],m.requiresIfExists||[]);f.forEach(function(v){if(!u.has(v)){var g=i.get(v);g&&d(g)}}),c.push(m)}return a.forEach(function(m){u.has(m.name)||d(m)}),c}function orderModifiers$1(a){var i=order$1(a);return modifierPhases$1.reduce(function(u,c){return u.concat(i.filter(function(d){return d.phase===c}))},[])}function debounce$2(a){var i;return function(){return i||(i=new Promise(function(u){Promise.resolve().then(function(){i=void 0,u(a())})})),i}}function mergeByName$1(a){var i=a.reduce(function(u,c){var d=u[c.name];return u[c.name]=d?Object.assign({},d,c,{options:Object.assign({},d.options,c.options),data:Object.assign({},d.data,c.data)}):c,u},{});return Object.keys(i).map(function(u){return i[u]})}function getViewportRect$1(a,i){var u=getWindow$1(a),c=getDocumentElement$1(a),d=u.visualViewport,m=c.clientWidth,f=c.clientHeight,v=0,g=0;if(d){m=d.width,f=d.height;var y=isLayoutViewport$1();(y||!y&&i==="fixed")&&(v=d.offsetLeft,g=d.offsetTop)}return{width:m,height:f,x:v+getWindowScrollBarX$1(a),y:g}}function getDocumentRect$1(a){var i,u=getDocumentElement$1(a),c=getWindowScroll$1(a),d=(i=a.ownerDocument)==null?void 0:i.body,m=max$3(u.scrollWidth,u.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),f=max$3(u.scrollHeight,u.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),v=-c.scrollLeft+getWindowScrollBarX$1(a),g=-c.scrollTop;return getComputedStyle$1$1(d||u).direction==="rtl"&&(v+=max$3(u.clientWidth,d?d.clientWidth:0)-m),{width:m,height:f,x:v,y:g}}function contains$1(a,i){var u=i.getRootNode&&i.getRootNode();if(a.contains(i))return!0;if(u&&isShadowRoot$1(u)){var c=i;do{if(c&&a.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function rectToClientRect$1(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function getInnerBoundingClientRect$1(a,i){var u=getBoundingClientRect$1(a,!1,i==="fixed");return u.top=u.top+a.clientTop,u.left=u.left+a.clientLeft,u.bottom=u.top+a.clientHeight,u.right=u.left+a.clientWidth,u.width=a.clientWidth,u.height=a.clientHeight,u.x=u.left,u.y=u.top,u}function getClientRectFromMixedType$1(a,i,u){return i===viewport$1?rectToClientRect$1(getViewportRect$1(a,u)):isElement$2(i)?getInnerBoundingClientRect$1(i,u):rectToClientRect$1(getDocumentRect$1(getDocumentElement$1(a)))}function getClippingParents$1(a){var i=listScrollParents$1(getParentNode$1(a)),u=["absolute","fixed"].indexOf(getComputedStyle$1$1(a).position)>=0,c=u&&isHTMLElement$1(a)?getOffsetParent$1(a):a;return isElement$2(c)?i.filter(function(d){return isElement$2(d)&&contains$1(d,c)&&getNodeName$1(d)!=="body"}):[]}function getClippingRect$1(a,i,u,c){var d=i==="clippingParents"?getClippingParents$1(a):[].concat(i),m=[].concat(d,[u]),f=m[0],v=m.reduce(function(g,y){var b=getClientRectFromMixedType$1(a,y,c);return g.top=max$3(b.top,g.top),g.right=min$4(b.right,g.right),g.bottom=min$4(b.bottom,g.bottom),g.left=max$3(b.left,g.left),g},getClientRectFromMixedType$1(a,f,c));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function getBasePlacement$1(a){return a.split("-")[0]}function getVariation$1(a){return a.split("-")[1]}function getMainAxisFromPlacement$1(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function computeOffsets$1(a){var i=a.reference,u=a.element,c=a.placement,d=c?getBasePlacement$1(c):null,m=c?getVariation$1(c):null,f=i.x+i.width/2-u.width/2,v=i.y+i.height/2-u.height/2,g;switch(d){case top$1:g={x:f,y:i.y-u.height};break;case bottom$1:g={x:f,y:i.y+i.height};break;case right$1:g={x:i.x+i.width,y:v};break;case left$1:g={x:i.x-u.width,y:v};break;default:g={x:i.x,y:i.y}}var y=d?getMainAxisFromPlacement$1(d):null;if(y!=null){var b=y==="y"?"height":"width";switch(m){case start$1:g[y]=g[y]-(i[b]/2-u[b]/2);break;case end$1:g[y]=g[y]+(i[b]/2-u[b]/2);break}}return g}function getFreshSideObject$1(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject$1(a){return Object.assign({},getFreshSideObject$1(),a)}function expandToHashMap$1(a,i){return i.reduce(function(u,c){return u[c]=a,u},{})}function detectOverflow$1(a,i){i===void 0&&(i={});var u=i,c=u.placement,d=c===void 0?a.placement:c,m=u.strategy,f=m===void 0?a.strategy:m,v=u.boundary,g=v===void 0?clippingParents$1:v,y=u.rootBoundary,b=y===void 0?viewport$1:y,w=u.elementContext,k=w===void 0?popper$1:w,$=u.altBoundary,S=$===void 0?!1:$,C=u.padding,E=C===void 0?0:C,D=mergePaddingObject$1(typeof E!="number"?E:expandToHashMap$1(E,basePlacements$1)),A=k===popper$1?reference$1:popper$1,O=a.rects.popper,F=a.elements[S?A:k],B=getClippingRect$1(isElement$2(F)?F:F.contextElement||getDocumentElement$1(a.elements.popper),g,b,f),I=getBoundingClientRect$1(a.elements.reference),M=computeOffsets$1({reference:I,element:O,strategy:"absolute",placement:d}),z=rectToClientRect$1(Object.assign({},O,M)),q=k===popper$1?z:I,H={top:B.top-q.top+D.top,bottom:q.bottom-B.bottom+D.bottom,left:B.left-q.left+D.left,right:q.right-B.right+D.right},Q=a.modifiersData.offset;if(k===popper$1&&Q){var j=Q[d];Object.keys(H).forEach(function(ee){var G=[right$1,bottom$1].indexOf(ee)>=0?1:-1,J=[top$1,bottom$1].indexOf(ee)>=0?"y":"x";H[ee]+=j[J]*G})}return H}var DEFAULT_OPTIONS$1={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements$1(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return!i.some(function(c){return!(c&&typeof c.getBoundingClientRect=="function")})}function popperGenerator$1(a){a===void 0&&(a={});var i=a,u=i.defaultModifiers,c=u===void 0?[]:u,d=i.defaultOptions,m=d===void 0?DEFAULT_OPTIONS$1:d;return function(v,g,y){y===void 0&&(y=m);var b={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS$1,m),modifiersData:{},elements:{reference:v,popper:g},attributes:{},styles:{}},w=[],k=!1,$={state:b,setOptions:function(D){var A=typeof D=="function"?D(b.options):D;C(),b.options=Object.assign({},m,b.options,A),b.scrollParents={reference:isElement$2(v)?listScrollParents$1(v):v.contextElement?listScrollParents$1(v.contextElement):[],popper:listScrollParents$1(g)};var O=orderModifiers$1(mergeByName$1([].concat(c,b.options.modifiers)));return b.orderedModifiers=O.filter(function(F){return F.enabled}),S(),$.update()},forceUpdate:function(){if(!k){var D=b.elements,A=D.reference,O=D.popper;if(areValidElements$1(A,O)){b.rects={reference:getCompositeRect$1(A,getOffsetParent$1(O),b.options.strategy==="fixed"),popper:getLayoutRect$1(O)},b.reset=!1,b.placement=b.options.placement,b.orderedModifiers.forEach(function(H){return b.modifiersData[H.name]=Object.assign({},H.data)});for(var F=0;F<b.orderedModifiers.length;F++){if(b.reset===!0){b.reset=!1,F=-1;continue}var B=b.orderedModifiers[F],I=B.fn,M=B.options,z=M===void 0?{}:M,q=B.name;typeof I=="function"&&(b=I({state:b,options:z,name:q,instance:$})||b)}}}},update:debounce$2(function(){return new Promise(function(E){$.forceUpdate(),E(b)})}),destroy:function(){C(),k=!0}};if(!areValidElements$1(v,g))return $;$.setOptions(y).then(function(E){!k&&y.onFirstUpdate&&y.onFirstUpdate(E)});function S(){b.orderedModifiers.forEach(function(E){var D=E.name,A=E.options,O=A===void 0?{}:A,F=E.effect;if(typeof F=="function"){var B=F({state:b,name:D,instance:$,options:O}),I=function(){};w.push(B||I)}})}function C(){w.forEach(function(E){return E()}),w=[]}return $}}var passive$1={passive:!0};function effect$1$1(a){var i=a.state,u=a.instance,c=a.options,d=c.scroll,m=d===void 0?!0:d,f=c.resize,v=f===void 0?!0:f,g=getWindow$1(i.elements.popper),y=[].concat(i.scrollParents.reference,i.scrollParents.popper);return m&&y.forEach(function(b){b.addEventListener("scroll",u.update,passive$1)}),v&&g.addEventListener("resize",u.update,passive$1),function(){m&&y.forEach(function(b){b.removeEventListener("scroll",u.update,passive$1)}),v&&g.removeEventListener("resize",u.update,passive$1)}}var eventListeners$1={name:"eventListeners",enabled:!0,phase:"write",fn:function a(){},effect:effect$1$1,data:{}};function popperOffsets$2(a){var i=a.state,u=a.name;i.modifiersData[u]=computeOffsets$1({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}var popperOffsets$1$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets$2,data:{}},unsetSides$1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR$1(a,i){var u=a.x,c=a.y,d=i.devicePixelRatio||1;return{x:round$2(u*d)/d||0,y:round$2(c*d)/d||0}}function mapToStyles$1(a){var i,u=a.popper,c=a.popperRect,d=a.placement,m=a.variation,f=a.offsets,v=a.position,g=a.gpuAcceleration,y=a.adaptive,b=a.roundOffsets,w=a.isFixed,k=f.x,$=k===void 0?0:k,S=f.y,C=S===void 0?0:S,E=typeof b=="function"?b({x:$,y:C}):{x:$,y:C};$=E.x,C=E.y;var D=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),O=left$1,F=top$1,B=window;if(y){var I=getOffsetParent$1(u),M="clientHeight",z="clientWidth";if(I===getWindow$1(u)&&(I=getDocumentElement$1(u),getComputedStyle$1$1(I).position!=="static"&&v==="absolute"&&(M="scrollHeight",z="scrollWidth")),I=I,d===top$1||(d===left$1||d===right$1)&&m===end$1){F=bottom$1;var q=w&&I===B&&B.visualViewport?B.visualViewport.height:I[M];C-=q-c.height,C*=g?1:-1}if(d===left$1||(d===top$1||d===bottom$1)&&m===end$1){O=right$1;var H=w&&I===B&&B.visualViewport?B.visualViewport.width:I[z];$-=H-c.width,$*=g?1:-1}}var Q=Object.assign({position:v},y&&unsetSides$1),j=b===!0?roundOffsetsByDPR$1({x:$,y:C},getWindow$1(u)):{x:$,y:C};if($=j.x,C=j.y,g){var ee;return Object.assign({},Q,(ee={},ee[F]=A?"0":"",ee[O]=D?"0":"",ee.transform=(B.devicePixelRatio||1)<=1?"translate("+$+"px, "+C+"px)":"translate3d("+$+"px, "+C+"px, 0)",ee))}return Object.assign({},Q,(i={},i[F]=A?C+"px":"",i[O]=D?$+"px":"",i.transform="",i))}function computeStyles$2(a){var i=a.state,u=a.options,c=u.gpuAcceleration,d=c===void 0?!0:c,m=u.adaptive,f=m===void 0?!0:m,v=u.roundOffsets,g=v===void 0?!0:v,y={placement:getBasePlacement$1(i.placement),variation:getVariation$1(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:d,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,mapToStyles$1(Object.assign({},y,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:f,roundOffsets:g})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,mapToStyles$1(Object.assign({},y,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}var computeStyles$1$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles$2,data:{}};function applyStyles$2(a){var i=a.state;Object.keys(i.elements).forEach(function(u){var c=i.styles[u]||{},d=i.attributes[u]||{},m=i.elements[u];!isHTMLElement$1(m)||!getNodeName$1(m)||(Object.assign(m.style,c),Object.keys(d).forEach(function(f){var v=d[f];v===!1?m.removeAttribute(f):m.setAttribute(f,v===!0?"":v)}))})}function effect$2(a){var i=a.state,u={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,u.popper),i.styles=u,i.elements.arrow&&Object.assign(i.elements.arrow.style,u.arrow),function(){Object.keys(i.elements).forEach(function(c){var d=i.elements[c],m=i.attributes[c]||{},f=Object.keys(i.styles.hasOwnProperty(c)?i.styles[c]:u[c]),v=f.reduce(function(g,y){return g[y]="",g},{});!isHTMLElement$1(d)||!getNodeName$1(d)||(Object.assign(d.style,v),Object.keys(m).forEach(function(g){d.removeAttribute(g)}))})}}var applyStyles$1$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles$2,effect:effect$2,requires:["computeStyles"]},defaultModifiers$1=[eventListeners$1,popperOffsets$1$1,computeStyles$1$1,applyStyles$1$1],createPopper$1=popperGenerator$1({defaultModifiers:defaultModifiers$1});function getAltAxis$1(a){return a==="x"?"y":"x"}function within$1(a,i,u){return max$3(a,min$4(i,u))}function withinMaxClamp$1(a,i,u){var c=within$1(a,i,u);return c>u?u:c}function preventOverflow$2(a){var i=a.state,u=a.options,c=a.name,d=u.mainAxis,m=d===void 0?!0:d,f=u.altAxis,v=f===void 0?!1:f,g=u.boundary,y=u.rootBoundary,b=u.altBoundary,w=u.padding,k=u.tether,$=k===void 0?!0:k,S=u.tetherOffset,C=S===void 0?0:S,E=detectOverflow$1(i,{boundary:g,rootBoundary:y,padding:w,altBoundary:b}),D=getBasePlacement$1(i.placement),A=getVariation$1(i.placement),O=!A,F=getMainAxisFromPlacement$1(D),B=getAltAxis$1(F),I=i.modifiersData.popperOffsets,M=i.rects.reference,z=i.rects.popper,q=typeof C=="function"?C(Object.assign({},i.rects,{placement:i.placement})):C,H=typeof q=="number"?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),Q=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,j={x:0,y:0};if(I){if(m){var ee,G=F==="y"?top$1:left$1,J=F==="y"?bottom$1:right$1,te=F==="y"?"height":"width",re=I[F],ae=re+E[G],ye=re-E[J],ve=$?-z[te]/2:0,le=A===start$1?M[te]:z[te],Se=A===start$1?-z[te]:-M[te],De=i.elements.arrow,At=$&&De?getLayoutRect$1(De):{width:0,height:0},Le=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:getFreshSideObject$1(),ke=Le[G],ue=Le[J],Ce=within$1(0,M[te],At[te]),Te=O?M[te]/2-ve-Ce-ke-H.mainAxis:le-Ce-ke-H.mainAxis,Pe=O?-M[te]/2+ve+Ce+ue+H.mainAxis:Se+Ce+ue+H.mainAxis,Vt=i.elements.arrow&&getOffsetParent$1(i.elements.arrow),Ie=Vt?F==="y"?Vt.clientTop||0:Vt.clientLeft||0:0,ie=(ee=Q==null?void 0:Q[F])!=null?ee:0,de=re+Te-ie-Ie,Fe=re+Pe-ie,We=within$1($?min$4(ae,de):ae,re,$?max$3(ye,Fe):ye);I[F]=We,j[F]=We-re}if(v){var wt,jt=F==="x"?top$1:left$1,Ut=F==="x"?bottom$1:right$1,Tt=I[B],Ft=B==="y"?"height":"width",St=Tt+E[jt],Wt=Tt-E[Ut],$t=[top$1,left$1].indexOf(D)!==-1,xt=(wt=Q==null?void 0:Q[B])!=null?wt:0,Kt=$t?St:Tt-M[Ft]-z[Ft]-xt+H.altAxis,ln=$t?Tt+M[Ft]+z[Ft]-xt-H.altAxis:Wt,hn=$&&$t?withinMaxClamp$1(Kt,Tt,ln):within$1($?Kt:St,Tt,$?ln:Wt);I[B]=hn,j[B]=hn-Tt}i.modifiersData[c]=j}}var preventOverflow$1$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow$2,requiresIfExists:["offset"]},hash$1$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement$1(a){return a.replace(/left|right|bottom|top/g,function(i){return hash$1$1[i]})}var hash$2={start:"end",end:"start"};function getOppositeVariationPlacement$1(a){return a.replace(/start|end/g,function(i){return hash$2[i]})}function computeAutoPlacement$1(a,i){i===void 0&&(i={});var u=i,c=u.placement,d=u.boundary,m=u.rootBoundary,f=u.padding,v=u.flipVariations,g=u.allowedAutoPlacements,y=g===void 0?placements$1:g,b=getVariation$1(c),w=b?v?variationPlacements$1:variationPlacements$1.filter(function(S){return getVariation$1(S)===b}):basePlacements$1,k=w.filter(function(S){return y.indexOf(S)>=0});k.length===0&&(k=w);var $=k.reduce(function(S,C){return S[C]=detectOverflow$1(a,{placement:C,boundary:d,rootBoundary:m,padding:f})[getBasePlacement$1(C)],S},{});return Object.keys($).sort(function(S,C){return $[S]-$[C]})}function getExpandedFallbackPlacements$1(a){if(getBasePlacement$1(a)===auto$1)return[];var i=getOppositePlacement$1(a);return[getOppositeVariationPlacement$1(a),i,getOppositeVariationPlacement$1(i)]}function flip$2(a){var i=a.state,u=a.options,c=a.name;if(!i.modifiersData[c]._skip){for(var d=u.mainAxis,m=d===void 0?!0:d,f=u.altAxis,v=f===void 0?!0:f,g=u.fallbackPlacements,y=u.padding,b=u.boundary,w=u.rootBoundary,k=u.altBoundary,$=u.flipVariations,S=$===void 0?!0:$,C=u.allowedAutoPlacements,E=i.options.placement,D=getBasePlacement$1(E),A=D===E,O=g||(A||!S?[getOppositePlacement$1(E)]:getExpandedFallbackPlacements$1(E)),F=[E].concat(O).reduce(function(At,Le){return At.concat(getBasePlacement$1(Le)===auto$1?computeAutoPlacement$1(i,{placement:Le,boundary:b,rootBoundary:w,padding:y,flipVariations:S,allowedAutoPlacements:C}):Le)},[]),B=i.rects.reference,I=i.rects.popper,M=new Map,z=!0,q=F[0],H=0;H<F.length;H++){var Q=F[H],j=getBasePlacement$1(Q),ee=getVariation$1(Q)===start$1,G=[top$1,bottom$1].indexOf(j)>=0,J=G?"width":"height",te=detectOverflow$1(i,{placement:Q,boundary:b,rootBoundary:w,altBoundary:k,padding:y}),re=G?ee?right$1:left$1:ee?bottom$1:top$1;B[J]>I[J]&&(re=getOppositePlacement$1(re));var ae=getOppositePlacement$1(re),ye=[];if(m&&ye.push(te[j]<=0),v&&ye.push(te[re]<=0,te[ae]<=0),ye.every(function(At){return At})){q=Q,z=!1;break}M.set(Q,ye)}if(z)for(var ve=S?3:1,le=function(Le){var ke=F.find(function(ue){var Ce=M.get(ue);if(Ce)return Ce.slice(0,Le).every(function(Te){return Te})});if(ke)return q=ke,"break"},Se=ve;Se>0;Se--){var De=le(Se);if(De==="break")break}i.placement!==q&&(i.modifiersData[c]._skip=!0,i.placement=q,i.reset=!0)}}var flip$1$1={name:"flip",enabled:!0,phase:"main",fn:flip$2,requiresIfExists:["offset"],data:{_skip:!1}};function useDropdown$1(a,i,u){const{disabled:c,appendTo:d,appendToBody:m,openDirection:f}=toRefs(a),v=getCurrentInstance$1().proxy,g=u.multiselect,y=u.dropdown,b=ref(!1),w=ref(null),k=ref(null),$=computed(()=>d.value||m.value),S=computed(()=>f.value==="top"&&k.value==="bottom"||f.value==="bottom"&&k.value!=="top"?"bottom":"top"),C=()=>{b.value||c.value||(b.value=!0,i.emit("open",v),$.value&&nextTick(()=>{D()}))},E=()=>{b.value&&(b.value=!1,i.emit("close",v))},D=()=>{if(!w.value)return;let O=parseInt(window.getComputedStyle(y.value).borderTopWidth.replace("px","")),F=parseInt(window.getComputedStyle(y.value).borderBottomWidth.replace("px",""));w.value.setOptions(B=>({...B,modifiers:[...B.modifiers,{name:"offset",options:{offset:[0,(S.value==="top"?O:F)*-1]}}]})),w.value.update()},A=O=>{for(;O&&O!==document.body;){if(getComputedStyle(O).position==="fixed")return!0;O=O.parentElement}return!1};return onMounted(()=>{$.value&&(w.value=createPopper$1(g.value,y.value,{strategy:A(g.value)?"fixed":void 0,placement:f.value,modifiers:[preventOverflow$1$1,flip$1$1,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:O})=>{O.styles.popper.width=`${O.rects.reference.width}px`},effect:({state:O})=>{O.elements.popper.style.width=`${O.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:O}){k.value=O.placement}}]}))}),onBeforeUnmount(()=>{!$.value||!w.value||(w.value.destroy(),w.value=null)}),{popper:w,isOpen:b,open:C,close:E,placement:S,updatePopper:D}}function useMultiselect$1(a,i,u){const{searchable:c,disabled:d,clearOnBlur:m}=toRefs(a),f=u.input,v=u.open,g=u.close,y=u.clearSearch,b=u.isOpen,w=u.wrapper,k=u.tags,$=ref(!1),S=ref(!1),C=computed(()=>c.value||d.value?-1:0),E=()=>{c.value&&f.value.blur(),w.value.blur()},D=()=>{c.value&&!d.value&&f.value.focus()},A=(z=!0)=>{d.value||($.value=!0,z&&v())},O=()=>{$.value=!1,setTimeout(()=>{$.value||(g(),m.value&&y())},1)};return{tabindex:C,isActive:$,mouseClicked:S,blur:E,focus:D,activate:A,deactivate:O,handleFocusIn:z=>{z.target.closest("[data-tags]")&&z.target.nodeName!=="INPUT"||z.target.closest("[data-clear]")||A(S.value)},handleFocusOut:()=>{O()},handleCaretClick:()=>{O(),E()},handleMousedown:z=>{S.value=!0,b.value&&(z.target.isEqualNode(w.value)||z.target.isEqualNode(k.value))?setTimeout(()=>{O()},0):!b.value&&(document.activeElement.isEqualNode(w.value)||document.activeElement.isEqualNode(f.value))&&A(),setTimeout(()=>{S.value=!1},0)}}}function useKeyboard$1(a,i,u){const{mode:c,addTagOn:d,openDirection:m,searchable:f,showOptions:v,valueProp:g,groups:y,addOptionOn:b,createTag:w,createOption:k,reverse:$}=toRefs(a),S=getCurrentInstance$1().proxy,C=u.iv,E=u.update,D=u.deselect,A=u.search,O=u.setPointer,F=u.selectPointer,B=u.backwardPointer,I=u.forwardPointer,M=u.multiselect,z=u.wrapper,q=u.tags,H=u.isOpen,Q=u.open,j=u.blur,ee=u.fo,G=computed(()=>w.value||k.value||!1),J=computed(()=>d.value!==void 0?d.value:b.value!==void 0?b.value:["enter"]),te=()=>{c.value==="tags"&&!v.value&&G.value&&f.value&&!y.value&&O(ee.value[ee.value.map(ye=>ye[g.value]).indexOf(A.value)])};return{handleKeydown:ye=>{i.emit("keydown",ye,S);let ve,le;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(ye.key)!==-1&&c.value==="tags"&&(ve=[...M.value.querySelectorAll("[data-tags] > *")].filter(Se=>Se!==q.value),le=ve.findIndex(Se=>Se===document.activeElement)),ye.key){case"Backspace":if(c.value==="single"||f.value&&[null,""].indexOf(A.value)===-1||C.value.length===0)return;let Se=C.value.filter(De=>!De.disabled&&De.remove!==!1);Se.length&&D(Se[Se.length-1]);break;case"Enter":if(ye.preventDefault(),ye.keyCode===229)return;if(le!==-1&&le!==void 0){E([...C.value].filter((De,At)=>At!==le)),le===ve.length-1&&(ve.length-1?ve[ve.length-2].focus():f.value?q.value.querySelector("input").focus():z.value.focus());return}if(J.value.indexOf("enter")===-1&&G.value)return;te(),F();break;case" ":if(!G.value&&!f.value){ye.preventDefault(),te(),F();return}if(!G.value)return!1;if(J.value.indexOf("space")===-1&&G.value)return;ye.preventDefault(),te(),F();break;case"Tab":case";":case",":if(J.value.indexOf(ye.key.toLowerCase())===-1||!G.value)return;te(),F(),ye.preventDefault();break;case"Escape":j();break;case"ArrowUp":if(ye.preventDefault(),!v.value)return;H.value||Q(),B();break;case"ArrowDown":if(ye.preventDefault(),!v.value)return;H.value||Q(),I();break;case"ArrowLeft":if(f.value&&q.value&&q.value.querySelector("input").selectionStart||ye.shiftKey||c.value!=="tags"||!C.value||!C.value.length)return;ye.preventDefault(),le===-1?ve[ve.length-1].focus():le>0&&ve[le-1].focus();break;case"ArrowRight":if(le===-1||ye.shiftKey||c.value!=="tags"||!C.value||!C.value.length)return;ye.preventDefault(),ve.length>le+1?ve[le+1].focus():f.value?q.value.querySelector("input").focus():f.value||z.value.focus();break}},handleKeyup:ye=>{i.emit("keyup",ye,S)},preparePointer:te}}function useClasses$3(a,i,u){const{classes:c,disabled:d,showOptions:m,breakTags:f}=toRefs(a),v=u.isOpen,g=u.isPointed,y=u.isSelected,b=u.isDisabled,w=u.isActive,k=u.canPointGroups,$=u.resolving,S=u.fo,C=u.placement,E=computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...c.value})),D=computed(()=>!!(v.value&&m.value&&(!$.value||$.value&&S.value.length)));return{classList:computed(()=>{const O=E.value;return{container:[O.container].concat(d.value?O.containerDisabled:[]).concat(D.value&&C.value==="top"?O.containerOpenTop:[]).concat(D.value&&C.value!=="top"?O.containerOpen:[]).concat(w.value?O.containerActive:[]),wrapper:O.wrapper,spacer:O.spacer,singleLabel:O.singleLabel,singleLabelText:O.singleLabelText,multipleLabel:O.multipleLabel,search:O.search,tags:O.tags,tag:[O.tag].concat(d.value?O.tagDisabled:[]),tagWrapper:[O.tagWrapper,f.value?O.tagWrapperBreak:null],tagDisabled:O.tagDisabled,tagRemove:O.tagRemove,tagRemoveIcon:O.tagRemoveIcon,tagsSearchWrapper:O.tagsSearchWrapper,tagsSearch:O.tagsSearch,tagsSearchCopy:O.tagsSearchCopy,placeholder:O.placeholder,caret:[O.caret].concat(v.value?O.caretOpen:[]),clear:O.clear,clearIcon:O.clearIcon,spinner:O.spinner,inifinite:O.inifinite,inifiniteSpinner:O.inifiniteSpinner,dropdown:[O.dropdown].concat(C.value==="top"?O.dropdownTop:[]).concat(!v.value||!m.value||!D.value?O.dropdownHidden:[]),options:[O.options].concat(C.value==="top"?O.optionsTop:[]),group:O.group,groupLabel:F=>{let B=[O.groupLabel];return g(F)?B.push(y(F)?O.groupLabelSelectedPointed:O.groupLabelPointed):y(F)&&k.value?B.push(b(F)?O.groupLabelSelectedDisabled:O.groupLabelSelected):b(F)&&B.push(O.groupLabelDisabled),k.value&&B.push(O.groupLabelPointable),B},groupOptions:O.groupOptions,option:(F,B)=>{let I=[O.option];return g(F)?I.push(y(F)?O.optionSelectedPointed:O.optionPointed):y(F)?I.push(b(F)?O.optionSelectedDisabled:O.optionSelected):(b(F)||B&&b(B))&&I.push(O.optionDisabled),I},noOptions:O.noOptions,noResults:O.noResults,assist:O.assist,fakeInput:O.fakeInput}}),showDropdown:D}}function useScroll$1(a,i,u){const{limit:c,infinite:d}=toRefs(a),m=u.isOpen,f=u.offset,v=u.search,g=u.pfo,y=u.eo,b=ref(null),w=ref(null),k=computed(()=>f.value<g.value.length),$=C=>{const{isIntersecting:E,target:D}=C[0];if(E){const A=D.offsetParent,O=A.scrollTop;f.value+=c.value==-1?10:c.value,nextTick(()=>{A.scrollTop=O})}},S=()=>{m.value&&f.value<g.value.length?b.value.observe(w.value):!m.value&&b.value&&b.value.disconnect()};return watch(m,()=>{d.value&&S()}),watch(v,()=>{d.value&&(f.value=c.value,S())},{flush:"post"}),watch(y,()=>{d.value&&S()},{immediate:!1,flush:"post"}),onMounted(()=>{window&&window.IntersectionObserver&&(b.value=new IntersectionObserver($))}),{hasMore:k,infiniteLoader:w}}function useA11y$1(a,i,u){const{placeholder:c,id:d,valueProp:m,label:f,mode:v,groupLabel:g,aria:y,searchable:b}=toRefs(a),w=u.pointer,k=u.iv,$=u.hasSelected,S=u.multipleLabelText,C=ref(null),E=computed(()=>{let j=[];return d&&d.value&&j.push(d.value),j.push("assist"),j.join("-")}),D=computed(()=>{let j=[];return d&&d.value&&j.push(d.value),j.push("multiselect-options"),j.join("-")}),A=computed(()=>{let j=[];if(d&&d.value&&j.push(d.value),w.value)return j.push(w.value.group?"multiselect-group":"multiselect-option"),j.push(w.value.group?w.value.index:w.value[m.value]),j.join("-")}),O=computed(()=>c.value),F=computed(()=>v.value!=="single"),B=computed(()=>{let j="";return v.value==="single"&&$.value&&(j+=k.value[f.value]),v.value==="multiple"&&$.value&&(j+=S.value),v.value==="tags"&&$.value&&(j+=k.value.map(ee=>ee[f.value]).join(", ")),j}),I=computed(()=>{let j={...y.value};return b.value&&(j["aria-labelledby"]=j["aria-labelledby"]?`${E.value} ${j["aria-labelledby"]}`:E.value,B.value&&j["aria-label"]&&(j["aria-label"]=`${B.value}, ${j["aria-label"]}`)),j}),M=j=>{let ee=[];return d&&d.value&&ee.push(d.value),ee.push("multiselect-option"),ee.push(j[m.value]),ee.join("-")},z=j=>{let ee=[];return d&&d.value&&ee.push(d.value),ee.push("multiselect-group"),ee.push(j.index),ee.join("-")},q=j=>{let ee=[];return ee.push(j),ee.join(" ")},H=j=>{let ee=[];return ee.push(j),ee.join(" ")},Q=j=>`${j} ❎`;return onMounted(()=>{if(d&&d.value&&document&&document.querySelector){let j=document.querySelector(`[for="${d.value}"]`);C.value=j?j.innerText:null}}),{arias:I,ariaLabel:B,ariaAssist:E,ariaControls:D,ariaPlaceholder:O,ariaMultiselectable:F,ariaActiveDescendant:A,ariaOptionId:M,ariaOptionLabel:q,ariaGroupId:z,ariaGroupLabel:H,ariaTagLabel:Q}}function useI18n$1(a,i,u){const{locale:c,fallbackLocale:d}=toRefs(a);return{localize:f=>!f||typeof f!="object"?f:f&&f[c.value]?f[c.value]:f&&c.value&&f[c.value.toUpperCase()]?f[c.value.toUpperCase()]:f&&f[d.value]?f[d.value]:f&&d.value&&f[d.value.toUpperCase()]?f[d.value.toUpperCase()]:f&&Object.keys(f)[0]?f[Object.keys(f)[0]]:""}}function useRefs$1(a,i,u){const c=ref(null),d=ref(null),m=ref(null),f=ref(null),v=ref(null);return{multiselect:c,wrapper:d,tags:m,input:f,dropdown:v}}function resolveDeps$2(a,i,u,c={}){return u.forEach(d=>{d&&(c={...c,...d(a,i,c)})}),c}var script$22={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,i){return resolveDeps$2(a,i,[useRefs$1,useI18n$1,useValue$4,usePointer$1$1,useDropdown$1,useSearch$1,useData$1,useMultiselect$1,useOptions$1,useScroll$1,usePointer$2,useKeyboard$1,useClasses$3,useA11y$1])},beforeMount(){var a,i;((i=(a=this.$root.constructor)==null?void 0:a.version)!=null&&i.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const _hoisted_1$W=["id","dir"],_hoisted_2$C=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],_hoisted_3$p=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_4$g=["onKeyup","aria-label"],_hoisted_5$b=["onClick"],_hoisted_6$8=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_7$6=["innerHTML"],_hoisted_8$4=["id"],_hoisted_9$4=["id"],_hoisted_10$3=["id","aria-label","aria-selected"],_hoisted_11$3=["data-pointed","onMouseenter","onMousedown"],_hoisted_12$2=["innerHTML"],_hoisted_13$2=["aria-label"],_hoisted_14$1=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],_hoisted_15$1=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],_hoisted_16$1=["innerHTML"],_hoisted_17$1=["innerHTML"],_hoisted_18$1=["value"],_hoisted_19$1=["name","value"],_hoisted_20$1=["name","value"],_hoisted_21$1=["id"];function render$Z(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{ref:"multiselect",class:normalizeClass(a.classList.container),id:u.searchable?void 0:u.id,dir:u.rtl?"rtl":void 0,onFocusin:i[12]||(i[12]=(...f)=>a.handleFocusIn&&a.handleFocusIn(...f)),onFocusout:i[13]||(i[13]=(...f)=>a.handleFocusOut&&a.handleFocusOut(...f)),onKeyup:i[14]||(i[14]=(...f)=>a.handleKeyup&&a.handleKeyup(...f)),onKeydown:i[15]||(i[15]=(...f)=>a.handleKeydown&&a.handleKeydown(...f))},[createBaseVNode("div",mergeProps({class:a.classList.wrapper,onMousedown:i[9]||(i[9]=(...f)=>a.handleMousedown&&a.handleMousedown(...f)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":u.searchable?void 0:a.ariaControls,"aria-placeholder":u.searchable?void 0:a.ariaPlaceholder,"aria-expanded":u.searchable?void 0:a.isOpen,"aria-activedescendant":u.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":u.searchable?void 0:a.ariaMultiselectable,role:u.searchable?void 0:"combobox"},u.searchable?{}:a.arias),[createCommentVNode(" Search "),u.mode!=="tags"&&u.searchable&&!u.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:u.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:u.autocomplete,id:u.searchable?u.id:void 0,onInput:i[0]||(i[0]=(...f)=>a.handleSearchInput&&a.handleSearchInput(...f)),onKeypress:i[1]||(i[1]=(...f)=>a.handleKeypress&&a.handleKeypress(...f)),onPaste:i[2]||(i[2]=withModifiers((...f)=>a.handlePaste&&a.handlePaste(...f),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...u.attrs,...a.arias}),null,16,_hoisted_3$p)):createCommentVNode("v-if",!0),createCommentVNode(" Tags (with search) "),u.mode=="tags"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classList.tags),"data-tags":""},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.iv,(f,v,g)=>renderSlot(a.$slots,"tag",{option:f,handleTagRemove:a.handleTagRemove,disabled:u.disabled},()=>[(openBlock(),createElementBlock("span",{class:normalizeClass([a.classList.tag,f.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:withKeys(y=>a.handleTagRemove(f,y),["enter"]),key:g,"aria-label":a.ariaTagLabel(a.localize(f[u.label]))},[createBaseVNode("span",{class:normalizeClass(a.classList.tagWrapper)},toDisplayString(a.localize(f[u.label])),3),!u.disabled&&!f.disabled?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classList.tagRemove),onClick:withModifiers(y=>a.handleTagRemove(f,y),["stop"])},[createBaseVNode("span",{class:normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,_hoisted_5$b)):createCommentVNode("v-if",!0)],42,_hoisted_4$g))])),256)),createBaseVNode("div",{class:normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[createCommentVNode(" Used for measuring search width "),createBaseVNode("span",{class:normalizeClass(a.classList.tagsSearchCopy)},toDisplayString(a.search),3),createCommentVNode(" Actual search input "),u.searchable&&!u.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:u.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:u.searchable?u.id:void 0,autocomplete:u.autocomplete,onInput:i[3]||(i[3]=(...f)=>a.handleSearchInput&&a.handleSearchInput(...f)),onKeypress:i[4]||(i[4]=(...f)=>a.handleKeypress&&a.handleKeypress(...f)),onPaste:i[5]||(i[5]=withModifiers((...f)=>a.handlePaste&&a.handlePaste(...f),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...u.attrs,...a.arias}),null,16,_hoisted_6$8)):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Single label "),u.mode=="single"&&a.hasSelected&&!a.search&&a.iv?renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.singleLabel)},[createBaseVNode("span",{class:normalizeClass(a.classList.singleLabelText)},toDisplayString(a.localize(a.iv[u.label])),3)],2)]):createCommentVNode("v-if",!0),createCommentVNode(" Multiple label "),u.mode=="multiple"&&a.hasSelected&&!a.search?renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,_hoisted_7$6)]):createCommentVNode("v-if",!0),createCommentVNode(" Placeholder "),u.placeholder&&!a.hasSelected&&!a.search?renderSlot(a.$slots,"placeholder",{key:4},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.placeholder),"aria-hidden":"true"},toDisplayString(u.placeholder),3)]):createCommentVNode("v-if",!0),createCommentVNode(" Spinner "),u.loading||a.resolving?renderSlot(a.$slots,"spinner",{key:5},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0),createCommentVNode(" Clear "),a.hasSelected&&!u.disabled&&u.canClear&&!a.busy?renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[createBaseVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:normalizeClass(a.classList.clear),onClick:i[6]||(i[6]=(...f)=>a.clear&&a.clear(...f)),onKeyup:i[7]||(i[7]=withKeys((...f)=>a.clear&&a.clear(...f),["enter"]))},[createBaseVNode("span",{class:normalizeClass(a.classList.clearIcon)},null,2)],34)]):createCommentVNode("v-if",!0),createCommentVNode(" Caret "),u.caret&&u.showOptions?renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.caret),onClick:i[8]||(i[8]=(...f)=>a.handleCaretClick&&a.handleCaretClick(...f)),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0)],16,_hoisted_2$C),createCommentVNode(" Options "),(openBlock(),createBlock(Teleport,{to:u.appendTo||"body",disabled:!u.appendToBody&&!u.appendTo},[createBaseVNode("div",{id:u.id?`${u.id}-dropdown`:void 0,class:normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown",onFocusin:i[10]||(i[10]=(...f)=>a.handleFocusIn&&a.handleFocusIn(...f)),onFocusout:i[11]||(i[11]=(...f)=>a.handleFocusOut&&a.handleFocusOut(...f))},[renderSlot(a.$slots,"beforelist",{options:a.fo}),createBaseVNode("ul",{class:normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[u.groups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(a.fg,(f,v,g)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.group),key:g,id:a.ariaGroupId(f),"aria-label":a.ariaGroupLabel(a.localize(f[u.groupLabel])),"aria-selected":a.isSelected(f),role:"option"},[f.__CREATE__?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classList.groupLabel(f)),"data-pointed":a.isPointed(f),onMouseenter:y=>a.setPointer(f,v),onMousedown:withModifiers(y=>a.handleGroupClick(f),["prevent"])},[renderSlot(a.$slots,"grouplabel",{group:f,isSelected:a.isSelected,isPointed:a.isPointed},()=>[createBaseVNode("span",{innerHTML:a.localize(f[u.groupLabel])},null,8,_hoisted_12$2)])],42,_hoisted_11$3)),createBaseVNode("ul",{class:normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(f[u.groupLabel])),role:"group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(f.__VISIBLE__,(y,b,w)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.option(y,f)),"data-pointed":a.isPointed(y),"data-selected":a.isSelected(y)||void 0,key:w,onMouseenter:k=>a.setPointer(y),onMousedown:withModifiers(k=>a.handleOptionClick(y),["prevent"]),id:a.ariaOptionId(y),"aria-selected":a.isSelected(y),"aria-label":a.ariaOptionLabel(a.localize(y[u.label])),role:"option"},[renderSlot(a.$slots,"option",{option:y,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[createBaseVNode("span",null,toDisplayString(a.localize(y[u.label])),1)])],42,_hoisted_14$1))),128))],10,_hoisted_13$2)],10,_hoisted_10$3))),128)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(a.fo,(f,v,g)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.option(f)),"data-pointed":a.isPointed(f),"data-selected":a.isSelected(f)||void 0,key:g,onMouseenter:y=>a.setPointer(f),onMousedown:withModifiers(y=>a.handleOptionClick(f),["prevent"]),id:a.ariaOptionId(f),"aria-selected":a.isSelected(f),"aria-label":a.ariaOptionLabel(a.localize(f[u.label])),role:"option"},[renderSlot(a.$slots,"option",{option:f,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[createBaseVNode("span",null,toDisplayString(a.localize(f[u.label])),1)])],42,_hoisted_15$1))),128))],10,_hoisted_9$4),a.noOptions?renderSlot(a.$slots,"nooptions",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.noOptions),innerHTML:a.localize(u.noOptionsText)},null,10,_hoisted_16$1)]):createCommentVNode("v-if",!0),a.noResults?renderSlot(a.$slots,"noresults",{key:1},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.noResults),innerHTML:a.localize(u.noResultsText)},null,10,_hoisted_17$1)]):createCommentVNode("v-if",!0),u.infinite&&a.hasMore?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[renderSlot(a.$slots,"infinite",{},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):createCommentVNode("v-if",!0),renderSlot(a.$slots,"afterlist",{options:a.fo})],42,_hoisted_8$4)],8,["to","disabled"])),createCommentVNode(" Hacky input element to show HTML5 required warning "),u.required?(openBlock(),createElementBlock("input",{key:0,class:normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,_hoisted_18$1)):createCommentVNode("v-if",!0),createCommentVNode(" Native input support "),u.nativeSupport?(openBlock(),createElementBlock(Fragment,{key:1},[u.mode=="single"?(openBlock(),createElementBlock("input",{key:0,type:"hidden",name:u.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,_hoisted_19$1)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(a.plainValue,(f,v)=>(openBlock(),createElementBlock("input",{type:"hidden",name:`${u.name}[]`,value:f,key:v},null,8,_hoisted_20$1))),128))],64)):createCommentVNode("v-if",!0),createCommentVNode(" Screen reader assistive text "),u.searchable&&a.hasSelected?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},toDisplayString(a.ariaLabel),11,_hoisted_21$1)):createCommentVNode("v-if",!0),createCommentVNode(" Create height for empty input "),createBaseVNode("div",{class:normalizeClass(a.classList.spacer)},null,2)],42,_hoisted_1$W)}script$22.render=render$Z;script$22.__file="src/Multiselect.vue";const makeVFormProps=propsFactory({...makeComponentProps(),...makeFormProps()},"VForm"),VForm=genericComponent()({name:"VForm",props:makeVFormProps(),emits:{"update:modelValue":a=>!0,submit:a=>!0},setup(a,i){let{slots:u,emit:c}=i;const d=createForm(a),m=ref();function f(g){g.preventDefault(),d.reset()}function v(g){const y=g,b=d.validate();y.then=b.then.bind(b),y.catch=b.catch.bind(b),y.finally=b.finally.bind(b),c("submit",y),y.defaultPrevented||b.then(w=>{var $;let{valid:k}=w;k&&(($=m.value)==null||$.submit())}),y.preventDefault()}return useRender(()=>{var g;return createVNode("form",{ref:m,class:["v-form",a.class],style:a.style,novalidate:!0,onReset:f,onSubmit:v},[(g=u.default)==null?void 0:g.call(u,d)])}),forwardRefs(d,m)}}),makeVTextareaProps=propsFactory({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:a=>!isNaN(parseFloat(a))},maxRows:{type:[Number,String],validator:a=>!isNaN(parseFloat(a))},suffix:String,modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextarea"),VTextarea=genericComponent()({name:"VTextarea",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextareaProps(),emits:{"click:control":a=>!0,"mousedown:control":a=>!0,"update:focused":a=>!0,"update:modelValue":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const m=useProxiedModel(a,"modelValue"),{isFocused:f,focus:v,blur:g}=useFocus(a),y=computed(()=>typeof a.counterValue=="function"?a.counterValue(m.value):(m.value||"").toString().length),b=computed(()=>{if(u.maxlength)return u.maxlength;if(!(!a.counter||typeof a.counter!="number"&&typeof a.counter!="string"))return a.counter});function w(Q,j){var ee,G;!a.autofocus||!Q||(G=(ee=j[0].target)==null?void 0:ee.focus)==null||G.call(ee)}const k=ref(),$=ref(),S=shallowRef(""),C=ref(),E=computed(()=>a.persistentPlaceholder||f.value||a.active);function D(){var Q;C.value!==document.activeElement&&((Q=C.value)==null||Q.focus()),f.value||v()}function A(Q){D(),c("click:control",Q)}function O(Q){c("mousedown:control",Q)}function F(Q){Q.stopPropagation(),D(),nextTick(()=>{m.value="",callEvent(a["onClick:clear"],Q)})}function B(Q){var ee;const j=Q.target;if(m.value=j.value,(ee=a.modelModifiers)!=null&&ee.trim){const G=[j.selectionStart,j.selectionEnd];nextTick(()=>{j.selectionStart=G[0],j.selectionEnd=G[1]})}}const I=ref(),M=ref(+a.rows),z=computed(()=>["plain","underlined"].includes(a.variant));watchEffect(()=>{a.autoGrow||(M.value=+a.rows)});function q(){a.autoGrow&&nextTick(()=>{if(!I.value||!$.value)return;const Q=getComputedStyle(I.value),j=getComputedStyle($.value.$el),ee=parseFloat(Q.getPropertyValue("--v-field-padding-top"))+parseFloat(Q.getPropertyValue("--v-input-padding-top"))+parseFloat(Q.getPropertyValue("--v-field-padding-bottom")),G=I.value.scrollHeight,J=parseFloat(Q.lineHeight),te=Math.max(parseFloat(a.rows)*J+ee,parseFloat(j.getPropertyValue("--v-input-control-height"))),re=parseFloat(a.maxRows)*J+ee||1/0,ae=clamp(G??0,te,re);M.value=Math.floor((ae-ee)/J),S.value=convertToUnit(ae)})}onMounted(q),watch(m,q),watch(()=>a.rows,q),watch(()=>a.maxRows,q),watch(()=>a.density,q);let H;return watch(I,Q=>{Q?(H=new ResizeObserver(q),H.observe(I.value)):H==null||H.disconnect()}),onBeforeUnmount(()=>{H==null||H.disconnect()}),useRender(()=>{const Q=!!(d.counter||a.counter||a.counterValue),j=!!(Q||d.details),[ee,G]=filterInputAttrs(u),{modelValue:J,...te}=VInput.filterProps(a),re=filterFieldProps(a);return createVNode(VInput,mergeProps({ref:k,modelValue:m.value,"onUpdate:modelValue":ae=>m.value=ae,class:["v-textarea v-text-field",{"v-textarea--prefixed":a.prefix,"v-textarea--suffixed":a.suffix,"v-text-field--prefixed":a.prefix,"v-text-field--suffixed":a.suffix,"v-textarea--auto-grow":a.autoGrow,"v-textarea--no-resize":a.noResize||a.autoGrow,"v-input--plain-underlined":z.value},a.class],style:a.style},ee,te,{centerAffix:M.value===1&&!z.value,focused:f.value}),{...d,default:ae=>{let{id:ye,isDisabled:ve,isDirty:le,isReadonly:Se,isValid:De}=ae;return createVNode(VField,mergeProps({ref:$,style:{"--v-textarea-control-height":S.value},onClick:A,onMousedown:O,"onClick:clear":F,"onClick:prependInner":a["onClick:prependInner"],"onClick:appendInner":a["onClick:appendInner"]},re,{id:ye.value,active:E.value||le.value,centerAffix:M.value===1&&!z.value,dirty:le.value||a.dirty,disabled:ve.value,focused:f.value,error:De.value===!1}),{...d,default:At=>{let{props:{class:Le,...ke}}=At;return createVNode(Fragment,null,[a.prefix&&createVNode("span",{class:"v-text-field__prefix"},[a.prefix]),withDirectives(createVNode("textarea",mergeProps({ref:C,class:Le,value:m.value,onInput:B,autofocus:a.autofocus,readonly:Se.value,disabled:ve.value,placeholder:a.placeholder,rows:a.rows,name:a.name,onFocus:D,onBlur:g},ke,G),null),[[resolveDirective("intersect"),{handler:w},null,{once:!0}]]),a.autoGrow&&withDirectives(createVNode("textarea",{class:[Le,"v-textarea__sizer"],id:`${ke.id}-sizer`,"onUpdate:modelValue":ue=>m.value=ue,ref:I,readonly:!0,"aria-hidden":"true"},null),[[vModelText,m.value]]),a.suffix&&createVNode("span",{class:"v-text-field__suffix"},[a.suffix])])}})},details:j?ae=>{var ye;return createVNode(Fragment,null,[(ye=d.details)==null?void 0:ye.call(d,ae),Q&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:a.persistentCounter||f.value,value:y.value,max:b.value},d.counter)])])}:void 0})}),forwardRefs({},k,$,C)}}),_hoisted_1$V=["onClick"],_sfc_main$l=defineComponent$1({__name:"MealPlanDialog",props:{mealPlan:{type:Object,required:!1}},setup(a){const i=a,u=ref(!1);let c=ref(i.mealPlan);watchEffect(()=>{i.mealPlan!=null?c.value=i.mealPlan:c.value=m()});function d(){c.value!=null&&(c.value.recipe=c.value.recipe,console.log("calling save method"),useMealPlanStore().createOrUpdate(c.value).catch(v=>{}).finally(()=>{u.value=!1}))}function m(){return{fromDate:DateTime.now().toJSDate(),toDate:DateTime.now().toJSDate()}}async function f(v){return console.log("called recipe search"),(await new ApiApi().apiRecipeList({query:v})).results}return(v,g)=>(openBlock(),createBlock(VDialog,{activator:"parent",modelValue:u.value,"onUpdate:modelValue":g[0]||(g[0]=y=>u.value=y)},{default:withCtx(({isActive:y})=>[createVNode(VCard,{style:{overflow:"auto"}},{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Meal Plan Edit "),createBaseVNode("i",{class:"mt-2 float-right fas fa-times",onClick:b=>y.value=!1},null,8,_hoisted_1$V)]),_:2},1024),createVNode(VDivider),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,{cols:"12",md:"6"},{default:withCtx(()=>[createVNode(VTextField,{label:"Title"}),createVNode(VTextField,{label:"From Date",type:"date"}),createVNode(VTextField,{label:"Meal Type"}),createVNode(unref(VNumberInput),{"control-variant":"split",min:0}),createVNode(VTextField,{label:"Share"})]),_:1}),createVNode(VCol,{cols:"12",md:"6"},{default:withCtx(()=>[createVNode(unref(script$22),{name:"recipe",columns:{sm:12,md:6},label:"Recipe","label-prop":"name","value-prop":"id",object:!0,strict:!1,search:!0,items:f,delay:300,rules:"required"}),createVNode(VTextField,{label:"To Date",type:"date"}),unref(c)&&unref(c).recipe?(openBlock(),createBlock(_sfc_main$n,{key:0,recipe:unref(c).recipe},null,8,["recipe"])):createCommentVNode("",!0)]),_:1})]),_:1}),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextarea,{label:"Note"})]),_:1})]),_:1})]),_:1})]),_:1}),createVNode(VDivider),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VBtn,{color:"error"},{default:withCtx(()=>[createTextVNode(" Delete ")]),_:1}),createVNode(VBtn,{color:"success",class:"ml-auto",onClick:d},{default:withCtx(()=>[createTextVNode(" Save ")]),_:1})]),_:1})]),_:2},1024)]),_:1},8,["modelValue"]))}}),_hoisted_1$U=createBaseVNode("h2",null,[createBaseVNode("i",{class:"fas fa-calendar-week fa-fw"}),createTextVNode(" Meal Plans")],-1),_hoisted_2$B={class:"d-flex justify-space-between"},_hoisted_3$o={class:"align-self-center"},_hoisted_4$f={class:"align-self-center"},_hoisted_5$a=createBaseVNode("i",{class:"fas fa-plus"},null,-1),_hoisted_6$7={key:0},_hoisted_7$5={key:1},_sfc_main$k=defineComponent$1({__name:"HorizontalMealPlanWindow",setup(a){const i=ref(!1);let u=computed(()=>{const{name:m}=useDisplay();return homePageCols(m.value)});const c=computed(()=>{let m=[];for(const f of Array(4).keys()){let v=DateTime.now().plus({days:f});console.log("going trough days ",f,v),m.push({date:v,create_default_date:v.toISODate(),date_label:v.toLocaleString(DateTime.DATE_MED),plan_entries:useMealPlanStore().plan_list.filter(g=>DateTime.fromJSDate(g.fromDate).startOf("day")<=v.startOf("day")&&DateTime.fromJSDate(g.toDate!=null?g.toDate:g.fromDate).startOf("day")>=v.startOf("day"))})}return m});let d=computed(()=>{let m=[],f=[];for(const[v,g]of c.value.entries())f.push(g),v%u.value==u.value-1&&(f.length>0&&m.push(f),f=[]);return f.length>0&&m.push(f),m});return onMounted(()=>{i.value=!0,useMealPlanStore().refreshFromAPI(DateTime.now().toJSDate(),DateTime.now().plus({days:7}).toJSDate()).finally(()=>{i.value=!1})}),(m,f)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VRow,{justify:"space-between"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[_hoisted_1$U]),_:1})]),_:1}),unref(d).length>0?(openBlock(),createBlock(VRow,{key:0,class:"mt-0"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,{"show-arrows":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(d),v=>(openBlock(),createBlock(VWindowItem,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(v,g=>(openBlock(),createBlock(VCol,null,{default:withCtx(()=>[createVNode(VList,{density:"compact",class:"pt-0 pb-0"},{default:withCtx(()=>[createVNode(VListItem,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$B,[createBaseVNode("div",_hoisted_3$o,toDisplayString(g.date_label),1),createBaseVNode("div",_hoisted_4$f,[createVNode(VBtn,{variant:"flat",icon:""},{default:withCtx(()=>[_hoisted_5$a,createVNode(_sfc_main$l)]),_:1})])])]),_:2},1024),g.plan_entries.length>0?(openBlock(),createBlock(VDivider,{key:0})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(g.plan_entries,y=>(openBlock(),createBlock(VListItem,null,{prepend:withCtx(()=>{var b;return[(b=y.recipe)!=null&&b.image?(openBlock(),createBlock(VAvatar,{key:0,image:y.recipe.image},null,8,["image"])):(openBlock(),createBlock(VAvatar,{key:1,image:_imports_0}))]}),default:withCtx(()=>[createVNode(VListItemTitle,null,{default:withCtx(()=>[y.recipe?(openBlock(),createElementBlock("span",_hoisted_6$7,toDisplayString(y.recipe.name),1)):(openBlock(),createElementBlock("span",_hoisted_7$5,toDisplayString(y.title),1))]),_:2},1024),createVNode(VListItemSubtitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(y.mealType.name),1)]),_:2},1024),createVNode(_sfc_main$l,{"meal-plan":y},null,8,["meal-plan"])]),_:2},1024))),256))]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64))}}),_sfc_main$j=defineComponent$1({name:"StartPage",components:{MealPlanDialog:_sfc_main$l,HorizontalMealPlanWindow:_sfc_main$k,HorizontalRecipeScroller:_sfc_main$m,RecipeCard:_sfc_main$n,GlobalSearchDialog:_sfc_main$u,RecipeCardComponent:_sfc_main$n,KeywordsComponent:_sfc_main$q},computed:{},data(){return{recipes:[],items:Array.from({length:50},(a,i)=>i+1),new_recipes:[],high_rated_recipes:[],random_keyword:{},random_keyword_recipes:[]}},mounted(){const a=new ApiApi;a.apiRecipeList({_new:"true",pageSize:16}).then(i=>{i.results!=null&&(this.new_recipes=i.results)}),a.apiRecipeList({rating:4,pageSize:16}).then(i=>{i.results!=null&&(this.high_rated_recipes=i.results)}),a.apiKeywordList({random:"true",limit:"1"}).then(i=>{i.results!=null&&i.results.length>0&&(this.random_keyword=i.results[0],a.apiRecipeList({keywords:i.results[0].id}).then(u=>{u.results!=null&&(this.random_keyword_recipes=u.results)}))})},methods:{}}),_export_sfc=(a,i)=>{const u=a.__vccOpts||a;for(const[c,d]of i)u[c]=d;return u};function _sfc_render$7(a,i,u,c,d,m){const f=resolveComponent("horizontal-meal-plan-window"),v=resolveComponent("horizontal-recipe-scroller");return openBlock(),createBlock(VContainer,null,{default:withCtx(()=>[createVNode(f),createVNode(v,{title:"New Recipes",skeletons:4,recipes:a.new_recipes,icon:"fas fa-calendar-alt"},null,8,["recipes"]),createVNode(v,{title:"Top Rated",skeletons:2,recipes:a.high_rated_recipes,icon:"fas fa-star"},null,8,["recipes"]),a.random_keyword.label?(openBlock(),createBlock(v,{key:0,title:a.random_keyword.label,skeletons:4,recipes:a.random_keyword_recipes,icon:"fas fa-tags"},null,8,["title","recipes"])):createCommentVNode("",!0)]),_:1})}const StartPage=_export_sfc(_sfc_main$j,[["render",_sfc_render$7]]),_hoisted_1$T=createBaseVNode("i",{class:"fas fa-divide"},null,-1),_hoisted_2$A=createBaseVNode("i",{class:"fas fa-times"},null,-1),_sfc_main$i=defineComponent$1({__name:"NumberScalerDialog",props:{number:{type:Number,default:0},title:{type:String,default:"Number"}},emits:{change(a){return a}},setup(a,{emit:i}){const u=i,c=a,d=ref(!1),m=ref(0);watch(()=>c.number,v=>{m.value=v}),onMounted(()=>{m.value=c.number});function f(v){v==="half"&&(m.value=c.number/2),v==="double"&&(m.value=c.number*2),v==="add"&&(m.value=c.number+1),v==="sub"&&(m.value=c.number-1),console.log(v,m.value),u("change",{number:m.value})}return(v,g)=>(openBlock(),createBlock(VDialog,{width:"500",activator:"parent",modelValue:d.value,"onUpdate:modelValue":g[5]||(g[5]=y=>d.value=y)},{activator:withCtx(({props:y})=>[renderSlot(v.$slots,"activator",{},()=>[createVNode(VBtn,mergeProps(y,{text:"Open Dialog"}),null,16)])]),default:withCtx(({isActive:y})=>[createVNode(VCard,{title:a.title},{default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createVNode(unref(VNumberInput),{modelValue:m.value,"onUpdate:modelValue":[g[0]||(g[0]=b=>m.value=b),g[1]||(g[1]=b=>f("set"))],"control-variant":"split",min:0},null,8,["modelValue"]),createVNode(VBtnGroup,{divided:"",class:"d-flex"},{default:withCtx(()=>[createVNode(VBtn,{variant:"tonal",class:"flex-grow-1",onClick:g[2]||(g[2]=b=>f("half"))},{default:withCtx(()=>[_hoisted_1$T,createTextVNode(" 2 ")]),_:1}),createVNode(VBtn,{variant:"tonal",class:"flex-grow-1",onClick:g[3]||(g[3]=b=>f("double"))},{default:withCtx(()=>[_hoisted_2$A,createTextVNode(" 2 ")]),_:1})]),_:1})]),_:1}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{class:"float-right",rounded:"",onClick:g[4]||(g[4]=b=>d.value=!1)},{default:withCtx(()=>[createTextVNode("Close")]),_:1})]),_:1})]),_:1},8,["title"])]),_:3},8,["modelValue"]))}}),_hoisted_1$S={key:0,colspan:"4"},_hoisted_2$z={key:0},_hoisted_3$n={key:0},_hoisted_4$e={key:0},_hoisted_5$9={key:1},_hoisted_6$6=createBaseVNode("i",{class:"fas fa-grip-lines drag-handle cursor-move"},null,-1),_hoisted_7$4=[_hoisted_6$6],_sfc_main$h=defineComponent$1({__name:"IngredientsTableRow",props:{ingredient:{type:{},required:!0},showNotes:{type:Boolean,default:!0},draggable:{type:Boolean}},setup(a){const i=a,u=ref(!1);return(c,d)=>(openBlock(),createElementBlock("tr",null,[i.ingredient.isHeader?(openBlock(),createElementBlock("td",_hoisted_1$S,[createBaseVNode("b",null,toDisplayString(i.ingredient.note),1)])):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("td",null,toDisplayString(i.ingredient.amount),1),createBaseVNode("td",null,[i.ingredient.unit!=null?(openBlock(),createElementBlock("span",_hoisted_2$z,toDisplayString(i.ingredient.unit.name),1)):createCommentVNode("",!0)]),createBaseVNode("td",null,[i.ingredient.food!=null?(openBlock(),createElementBlock("span",_hoisted_3$n,toDisplayString(i.ingredient.food.name),1)):createCommentVNode("",!0)]),i.showNotes?(openBlock(),createElementBlock("td",_hoisted_4$e,[i.ingredient.note!=""&&i.ingredient.note!=null?(openBlock(),createBlock(VIcon,{key:0,class:"far fa-comment float-right",onClick:d[1]||(d[1]=m=>u.value=!u.value)},{default:withCtx(()=>[createVNode(VTooltip,{modelValue:u.value,"onUpdate:modelValue":d[0]||(d[0]=m=>u.value=m),activator:"parent",location:"start"},{default:withCtx(()=>[createTextVNode(toDisplayString(i.ingredient.note),1)]),_:1},8,["modelValue"])]),_:1})):createCommentVNode("",!0)])):createCommentVNode("",!0),i.draggable?(openBlock(),createElementBlock("td",_hoisted_5$9,_hoisted_7$4)):createCommentVNode("",!0)],64))]))}}),makeVTableProps=propsFactory({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTable"),VTable=genericComponent()({name:"VTable",props:makeVTableProps(),setup(a,i){let{slots:u,emit:c}=i;const{themeClasses:d}=provideTheme(a),{densityClasses:m}=useDensity(a);return useRender(()=>createVNode(a.tag,{class:["v-table",{"v-table--fixed-height":!!a.height,"v-table--fixed-header":a.fixedHeader,"v-table--fixed-footer":a.fixedFooter,"v-table--has-top":!!u.top,"v-table--has-bottom":!!u.bottom,"v-table--hover":a.hover},d.value,m.value,a.class],style:a.style},{default:()=>{var f,v,g;return[(f=u.top)==null?void 0:f.call(u),u.default?createVNode("div",{class:"v-table__wrapper",style:{height:convertToUnit(a.height)}},[createVNode("table",null,[u.default()])]):(v=u.wrapper)==null?void 0:v.call(u),(g=u.bottom)==null?void 0:g.call(u)]}})),{}}}),_sfc_main$g=defineComponent$1({__name:"IngredientsTable",props:{ingredients:{type:Array,default:[]},showNotes:{type:Boolean,default:!0},draggable:{type:Boolean}},setup(a){const i=a,u=ref([]);return onMounted(()=>{u.value=i.ingredients}),(c,d)=>i.ingredients.length>0?(openBlock(),createBlock(VTable,{key:0,density:"compact"},{default:withCtx(()=>[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(i.ingredients,m=>(openBlock(),createBlock(_sfc_main$h,{ingredient:m,key:m.id,"show-notes":i.showNotes,draggable:i.draggable},null,8,["ingredient","show-notes","draggable"]))),128))])]),_:1})):createCommentVNode("",!0)}}),VExpansionPanelSymbol=Symbol.for("vuetify:v-expansion-panel"),allowedVariants=["default","accordion","inset","popout"],makeVExpansionPanelsProps=propsFactory({color:String,flat:Boolean,focusable:Boolean,static:Boolean,tile:Boolean,variant:{type:String,default:"default",validator:a=>allowedVariants.includes(a)},readonly:Boolean,...makeComponentProps(),...makeGroupProps(),...makeTagProps(),...makeThemeProps()},"VExpansionPanels"),VExpansionPanels=genericComponent()({name:"VExpansionPanels",props:makeVExpansionPanelsProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;useGroup(a,VExpansionPanelSymbol);const{themeClasses:c}=provideTheme(a),d=computed(()=>a.variant&&`v-expansion-panels--variant-${a.variant}`);return provideDefaults({VExpansionPanel:{color:toRef(a,"color"),readonly:toRef(a,"readonly")},VExpansionPanelTitle:{focusable:toRef(a,"focusable"),static:toRef(a,"static")}}),useRender(()=>createVNode(a.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":a.flat,"v-expansion-panels--tile":a.tile},c.value,d.value,a.class],style:a.style},u)),{}}}),makeVExpansionPanelTextProps=propsFactory({...makeComponentProps(),...makeLazyProps()},"VExpansionPanelText"),VExpansionPanelText=genericComponent()({name:"VExpansionPanelText",props:makeVExpansionPanelTextProps(),setup(a,i){let{slots:u}=i;const c=inject$1(VExpansionPanelSymbol);if(!c)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:d,onAfterLeave:m}=useLazy(a,c.isSelected);return useRender(()=>createVNode(VExpandTransition,{onAfterLeave:m},{default:()=>{var f;return[withDirectives(createVNode("div",{class:["v-expansion-panel-text",a.class],style:a.style},[u.default&&d.value&&createVNode("div",{class:"v-expansion-panel-text__wrapper"},[(f=u.default)==null?void 0:f.call(u)])]),[[vShow,c.isSelected.value]])]}})),{}}}),makeVExpansionPanelTitleProps=propsFactory({color:String,expandIcon:{type:IconValue,default:"$expand"},collapseIcon:{type:IconValue,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...makeComponentProps()},"VExpansionPanelTitle"),VExpansionPanelTitle=genericComponent()({name:"VExpansionPanelTitle",directives:{Ripple},props:makeVExpansionPanelTitleProps(),setup(a,i){let{slots:u}=i;const c=inject$1(VExpansionPanelSymbol);if(!c)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:d,backgroundColorStyles:m}=useBackgroundColor(a,"color"),f=computed(()=>({collapseIcon:a.collapseIcon,disabled:c.disabled.value,expanded:c.isSelected.value,expandIcon:a.expandIcon,readonly:a.readonly}));return useRender(()=>{var v;return withDirectives(createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":c.isSelected.value,"v-expansion-panel-title--focusable":a.focusable,"v-expansion-panel-title--static":a.static},d.value,a.class],style:[m.value,a.style],type:"button",tabindex:c.disabled.value?-1:void 0,disabled:c.disabled.value,"aria-expanded":c.isSelected.value,onClick:a.readonly?void 0:c.toggle},[createVNode("span",{class:"v-expansion-panel-title__overlay"},null),(v=u.default)==null?void 0:v.call(u,f.value),!a.hideActions&&createVNode("span",{class:"v-expansion-panel-title__icon"},[u.actions?u.actions(f.value):createVNode(VIcon,{icon:c.isSelected.value?a.collapseIcon:a.expandIcon},null)])]),[[resolveDirective("ripple"),a.ripple]])}),{}}}),makeVExpansionPanelProps=propsFactory({title:String,text:String,bgColor:String,...makeComponentProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLazyProps(),...makeRoundedProps(),...makeTagProps(),...makeVExpansionPanelTitleProps()},"VExpansionPanel"),VExpansionPanel=genericComponent()({name:"VExpansionPanel",props:makeVExpansionPanelProps(),emits:{"group:selected":a=>!0},setup(a,i){let{slots:u}=i;const c=useGroupItem(a,VExpansionPanelSymbol),{backgroundColorClasses:d,backgroundColorStyles:m}=useBackgroundColor(a,"bgColor"),{elevationClasses:f}=useElevation(a),{roundedClasses:v}=useRounded(a),g=computed(()=>(c==null?void 0:c.disabled.value)||a.disabled),y=computed(()=>c.group.items.value.reduce((k,$,S)=>(c.group.selected.value.includes($.id)&&k.push(S),k),[])),b=computed(()=>{const k=c.group.items.value.findIndex($=>$.id===c.id);return!c.isSelected.value&&y.value.some($=>$-k===1)}),w=computed(()=>{const k=c.group.items.value.findIndex($=>$.id===c.id);return!c.isSelected.value&&y.value.some($=>$-k===-1)});return provide(VExpansionPanelSymbol,c),provideDefaults({VExpansionPanelText:{eager:toRef(a,"eager")},VExpansionPanelTitle:{readonly:toRef(a,"readonly")}}),useRender(()=>{const k=!!(u.text||a.text),$=!!(u.title||a.title);return createVNode(a.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":c.isSelected.value,"v-expansion-panel--before-active":b.value,"v-expansion-panel--after-active":w.value,"v-expansion-panel--disabled":g.value},v.value,d.value,a.class],style:[m.value,a.style]},{default:()=>{var S;return[createVNode("div",{class:["v-expansion-panel__shadow",...f.value]},null),$&&createVNode(VExpansionPanelTitle,{key:"title",collapseIcon:a.collapseIcon,color:a.color,expandIcon:a.expandIcon,hideActions:a.hideActions,ripple:a.ripple},{default:()=>[u.title?u.title():a.title]}),k&&createVNode(VExpansionPanelText,{key:"text"},{default:()=>[u.text?u.text():a.text]}),(S=u.default)==null?void 0:S.call(u)]}})}),{}}}),_hoisted_1$R=createBaseVNode("i",{class:"far fa-list-alt fa-fw me-2"},null,-1),_hoisted_2$y={key:0},_sfc_main$f=defineComponent$1({__name:"StepsOverview",props:{steps:{type:Array,default:[]}},setup(a){const i=a;return(u,c)=>(openBlock(),createBlock(VExpansionPanels,null,{default:withCtx(()=>[createVNode(VExpansionPanel,null,{default:withCtx(()=>[createVNode(VExpansionPanelTitle,null,{default:withCtx(()=>[_hoisted_1$R,createTextVNode(" Steps Overview")]),_:1}),createVNode(VExpansionPanelText,null,{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(i.steps,(d,m)=>(openBlock(),createBlock(VRow,null,{default:withCtx(()=>[createVNode(VCol,{class:"pa-1"},{default:withCtx(()=>[d.showAsHeader?(openBlock(),createElementBlock("b",_hoisted_2$y,toDisplayString(m+1)+". "+toDisplayString(d.name),1)):createCommentVNode("",!0),createVNode(_sfc_main$g,{ingredients:d.ingredients},null,8,["ingredients"])]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})]),_:1}))}});function roundDecimals(a){return Number(a.toFixed(2))}function calculateFoodAmount(a,i){return roundDecimals(a*i)}const _sfc_main$e={name:"ScalableNumber",props:{number:Number,factor:{type:Number,default:4}},methods:{calculateAmount:function(a){return calculateFoodAmount(a,this.factor)}}},_hoisted_1$Q=["innerHTML"];function _sfc_render$6(a,i,u,c,d,m){return openBlock(),createElementBlock("span",{class:normalizeClass(["step__scalable-num",[this.factor===1?"step__scalable-num_scaled_false":this.factor>1?"step__scalable-num_scaled_up":"step__scalable-num_scaled_down"]]),innerHTML:m.calculateAmount(u.number)},null,10,_hoisted_1$Q)}const ScalableNumber=_export_sfc(_sfc_main$e,[["render",_sfc_render$6]]),_sfc_main$d=defineComponent$1({name:"Instructions",computed:{},components:{ScalableNumber},props:{instructions_html:{type:String,required:!0},ingredient_factor:{type:Number,required:!0}},data(){return{compiled_instructions:markRaw(defineComponent$1({name:"compiled-instructions-component",props:{instructions_html:{type:String,required:!0},ingredient_factor:{type:Number,required:!0}},components:{ScalableNumber},template:`<div>${this.instructions_html}</div>`}))}},mounted(){}});function _sfc_render$5(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.compiled_instructions),{ingredient_factor:a.ingredient_factor,instructions_html:a.instructions_html},null,8,["ingredient_factor","instructions_html"])}const Instructions=_export_sfc(_sfc_main$d,[["render",_sfc_render$5]]),VAlertTitle=createSimpleFunctional("v-alert-title"),allowedTypes=["success","info","warning","error"],makeVAlertProps=propsFactory({border:{type:[Boolean,String],validator:a=>typeof a=="boolean"||["top","end","bottom","start"].includes(a)},borderColor:String,closable:Boolean,closeIcon:{type:IconValue,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:a=>allowedTypes.includes(a)},...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAlert"),VAlert=genericComponent()({name:"VAlert",props:makeVAlertProps(),emits:{"click:close":a=>!0,"update:modelValue":a=>!0},setup(a,i){let{emit:u,slots:c}=i;const d=useProxiedModel(a,"modelValue"),m=computed(()=>{if(a.icon!==!1)return a.type?a.icon??`$${a.type}`:a.icon}),f=computed(()=>({color:a.color??a.type,variant:a.variant})),{themeClasses:v}=provideTheme(a),{colorClasses:g,colorStyles:y,variantClasses:b}=useVariant(f),{densityClasses:w}=useDensity(a),{dimensionStyles:k}=useDimension(a),{elevationClasses:$}=useElevation(a),{locationStyles:S}=useLocation(a),{positionClasses:C}=usePosition(a),{roundedClasses:E}=useRounded(a),{textColorClasses:D,textColorStyles:A}=useTextColor(toRef(a,"borderColor")),{t:O}=useLocale(),F=computed(()=>({"aria-label":O(a.closeLabel),onClick(B){d.value=!1,u("click:close",B)}}));return()=>{const B=!!(c.prepend||m.value),I=!!(c.title||a.title),M=!!(c.close||a.closable);return d.value&&createVNode(a.tag,{class:["v-alert",a.border&&{"v-alert--border":!!a.border,[`v-alert--border-${a.border===!0?"start":a.border}`]:!0},{"v-alert--prominent":a.prominent},v.value,g.value,w.value,$.value,C.value,E.value,b.value,a.class],style:[y.value,k.value,S.value,a.style],role:"alert"},{default:()=>{var z,q;return[genOverlays(!1,"v-alert"),a.border&&createVNode("div",{key:"border",class:["v-alert__border",D.value],style:A.value},null),B&&createVNode("div",{key:"prepend",class:"v-alert__prepend"},[c.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!m.value,defaults:{VIcon:{density:a.density,icon:m.value,size:a.prominent?44:28}}},c.prepend):createVNode(VIcon,{key:"prepend-icon",density:a.density,icon:m.value,size:a.prominent?44:28},null)]),createVNode("div",{class:"v-alert__content"},[I&&createVNode(VAlertTitle,{key:"title"},{default:()=>{var H;return[((H=c.title)==null?void 0:H.call(c))??a.title]}}),((z=c.text)==null?void 0:z.call(c))??a.text,(q=c.default)==null?void 0:q.call(c)]),c.append&&createVNode("div",{key:"append",class:"v-alert__append"},[c.append()]),M&&createVNode("div",{key:"close",class:"v-alert__close"},[c.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VBtn:{icon:a.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var H;return[(H=c.close)==null?void 0:H.call(c,{props:F.value})]}}):createVNode(VBtn,mergeProps({key:"close-btn",icon:a.closeIcon,size:"x-small",variant:"text"},F.value),null)])]}})}}}),_hoisted_1$P=createBaseVNode("i",{class:"fas fa-stopwatch mr-1"},null,-1),_hoisted_2$x=createBaseVNode("i",{class:"fas fa-minus"},null,-1),_hoisted_3$m=createBaseVNode("i",{class:"fas fa-plus"},null,-1),_hoisted_4$d=createBaseVNode("i",{class:"fas fa-stop"},null,-1),_sfc_main$c=defineComponent$1({__name:"Timer",props:{seconds:{type:Number,required:!0}},emits:["stop"],setup(a,{emit:i}){const u=i,c=a,d=ref(c.seconds),m=ref(d.value),f=ref(!0);let v=computed(()=>m.value>0?"primary":"warning");const g=computed(()=>d.value==0?100:(1-m.value/d.value)*100);onMounted(()=>{setInterval(()=>{f.value&&m.value>0&&(m.value=m.value-1)},1e3)});function y(w){m.value=Math.max(0,m.value+w),d.value=Math.max(0,d.value+w)}function b(){m.value=c.seconds,d.value=c.seconds,u("stop")}return(w,k)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VProgressLinear,{"model-value":g.value,color:"primary",height:"5"},null,8,["model-value"]),createVNode(VAlert,{color:unref(v),class:"rounded-0",variant:"tonal"},{close:withCtx(()=>[createVNode(VBtnGroup,{divided:""},{default:withCtx(()=>[createVNode(VBtn,{width:"40",onClick:k[0]||(k[0]=$=>y(-60))},{default:withCtx(()=>[_hoisted_2$x,createTextVNode("1")]),_:1}),createVNode(VBtn,{width:"40",onClick:k[1]||(k[1]=$=>y(60))},{default:withCtx(()=>[_hoisted_3$m,createTextVNode("1")]),_:1}),createVNode(VBtn,{width:"40",onClick:k[2]||(k[2]=$=>f.value=!f.value)},{default:withCtx(()=>[createBaseVNode("i",{class:normalizeClass(["fas fa-fw",{"fa-pause":f.value,"fa-play":!f.value}])},null,2)]),_:1}),createVNode(VBtn,{width:"40",onClick:k[3]||(k[3]=$=>b())},{default:withCtx(()=>[_hoisted_4$d]),_:1})]),_:1})]),default:withCtx(()=>[createVNode(VAlertTitle,null,{default:withCtx(()=>[_hoisted_1$P,createTextVNode(" "+toDisplayString(unref(Duration$1).fromMillis(m.value*1e3).toFormat("hh:mm:ss")),1)]),_:1}),createTextVNode(" Finished at "+toDisplayString(unref(DateTime).now().plus({seconds:m.value}).toLocaleString(unref(DateTime).TIME_SIMPLE))+" ",1)]),_:1},8,["color"])],64))}}),_hoisted_1$O={key:0},_hoisted_2$w={key:1},_hoisted_3$l=createBaseVNode("i",{class:"fas fa-stopwatch mr-1 fa-fw"},null,-1),_sfc_main$b=defineComponent$1({__name:"Step",props:{step:{type:{},required:!0},stepNumber:{type:Number,required:!1,default:1},ingredient_factor:{type:Number,required:!0}},setup(a){const i=a,u=ref(!1),c=ref(!1),d=computed(()=>i.step.ingredients.length>0||i.step.instruction!=null&&i.step.instruction.length>0||i.step.stepRecipeData!=null||i.step.file!=null);return(m,f)=>(openBlock(),createBlock(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[i.step.name?(openBlock(),createElementBlock("span",_hoisted_1$O,toDisplayString(i.step.name),1)):(openBlock(),createElementBlock("span",_hoisted_2$w,"Step "+toDisplayString(i.stepNumber),1))]),_:1}),createVNode(VCol,{class:"text-right"},{default:withCtx(()=>[createVNode(VBtnGroup,{density:"compact",variant:"tonal"},{default:withCtx(()=>[i.step.time!=null&&i.step.time>0?(openBlock(),createBlock(VBtn,{key:0,size:"small",color:"info",onClick:f[0]||(f[0]=v=>u.value=!0)},{default:withCtx(()=>[_hoisted_3$l,createTextVNode(" "+toDisplayString(i.step.time),1)]),_:1})):createCommentVNode("",!0),d.value?(openBlock(),createBlock(VBtn,{key:1,size:"small",color:"success",onClick:f[1]||(f[1]=v=>c.value=!c.value)},{default:withCtx(()=>[createBaseVNode("i",{class:normalizeClass(["fas fa-fw",{"fa-check":!c.value,"fa-times":c.value}])},null,2)]),_:1})):createCommentVNode("",!0)]),_:1})]),_:1})]),_:1})]),_:1}),c.value?createCommentVNode("",!0):(openBlock(),createElementBlock(Fragment,{key:0},[u.value?(openBlock(),createBlock(_sfc_main$c,{key:0,seconds:i.step.time!=null?i.step.time*60:0,onStop:f[2]||(f[2]=v=>u.value=!1)},null,8,["seconds"])):createCommentVNode("",!0),createVNode(_sfc_main$g,{ingredients:i.step.ingredients},null,8,["ingredients"]),i.step.instructionsMarkdown.length>0?(openBlock(),createBlock(VCardText,{key:1},{default:withCtx(()=>[createVNode(Instructions,{instructions_html:i.step.instructionsMarkdown,ingredient_factor:a.ingredient_factor},null,8,["instructions_html","ingredient_factor"])]),_:1})):createCommentVNode("",!0)],64))]),_:1}))}}),makeVRatingProps=propsFactory({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:IconValue,default:"$ratingEmpty"},fullIcon:{type:IconValue,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:a=>["top","bottom"].includes(a)},ripple:Boolean,...makeComponentProps(),...makeDensityProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps()},"VRating"),VRating=genericComponent()({name:"VRating",props:makeVRatingProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const{t:c}=useLocale(),{themeClasses:d}=provideTheme(a),m=useProxiedModel(a,"modelValue"),f=computed(()=>clamp(parseFloat(m.value),0,+a.length)),v=computed(()=>createRange(Number(a.length),1)),g=computed(()=>v.value.flatMap(C=>a.halfIncrements?[C-.5,C]:[C])),y=shallowRef(-1),b=computed(()=>g.value.map(C=>{const E=a.hover&&y.value>-1,D=f.value>=C,A=y.value>=C,F=(E?A:D)?a.fullIcon:a.emptyIcon,B=a.activeColor??a.color,I=D||A?B:a.color;return{isFilled:D,isHovered:A,icon:F,color:I}})),w=computed(()=>[0,...g.value].map(C=>{function E(){y.value=C}function D(){y.value=-1}function A(){a.disabled||a.readonly||(m.value=f.value===C&&a.clearable?0:C)}return{onMouseenter:a.hover?E:void 0,onMouseleave:a.hover?D:void 0,onClick:A}})),k=computed(()=>a.name??`v-rating-${getUid()}`);function $(C){var z,q;let{value:E,index:D,showStar:A=!0}=C;const{onMouseenter:O,onMouseleave:F,onClick:B}=w.value[D+1],I=`${k.value}-${String(E).replace(".","-")}`,M={color:(z=b.value[D])==null?void 0:z.color,density:a.density,disabled:a.disabled,icon:(q=b.value[D])==null?void 0:q.icon,ripple:a.ripple,size:a.size,variant:"plain"};return createVNode(Fragment,null,[createVNode("label",{for:I,class:{"v-rating__item--half":a.halfIncrements&&E%1>0,"v-rating__item--full":a.halfIncrements&&E%1===0},onMouseenter:O,onMouseleave:F,onClick:B},[createVNode("span",{class:"v-rating__hidden"},[c(a.itemAriaLabel,E,a.length)]),A?u.item?u.item({...b.value[D],props:M,value:E,index:D,rating:f.value}):createVNode(VBtn,mergeProps({"aria-label":c(a.itemAriaLabel,E,a.length)},M),null):void 0]),createVNode("input",{class:"v-rating__hidden",name:k.value,id:I,type:"radio",value:E,checked:f.value===E,tabindex:-1,readonly:a.readonly,disabled:a.disabled},null)])}function S(C){return u["item-label"]?u["item-label"](C):C.label?createVNode("span",null,[C.label]):createVNode("span",null,[createTextVNode(" ")])}return useRender(()=>{var E;const C=!!((E=a.itemLabels)!=null&&E.length)||u["item-label"];return createVNode(a.tag,{class:["v-rating",{"v-rating--hover":a.hover,"v-rating--readonly":a.readonly},d.value,a.class],style:a.style},{default:()=>[createVNode($,{value:0,index:-1,showStar:!1},null),v.value.map((D,A)=>{var O,F;return createVNode("div",{class:"v-rating__wrapper"},[C&&a.itemLabelPosition==="top"?S({value:D,index:A,label:(O=a.itemLabels)==null?void 0:O[A]}):void 0,createVNode("div",{class:"v-rating__item"},[a.halfIncrements?createVNode(Fragment,null,[createVNode($,{value:D-.5,index:A*2},null),createVNode($,{value:D,index:A*2+1},null)]):createVNode($,{value:D,index:A},null)]),C&&a.itemLabelPosition==="bottom"?S({value:D,index:A,label:(F=a.itemLabels)==null?void 0:F[A]}):void 0])})]})}),{}}}),_hoisted_1$N=createBaseVNode("br",null,null,-1),_hoisted_2$v={key:0},_hoisted_3$k={key:0},_hoisted_4$c={key:1},_hoisted_5$8=createBaseVNode("br",null,null,-1),_sfc_main$a=defineComponent$1({__name:"RecipeActivity",props:{recipe:{type:Object,required:!0}},setup(a){const i=a,u=ref([]);function c(){new ApiApi().apiCookLogList({recipe:i.recipe.id}).then(f=>{f.results&&(u.value=f.results)})}function d(m){const f=new ApiApi;let v={recipe:i.recipe.id,comment:m.data.comment,servings:m.data.servings,rating:m.data.rating};f.apiCookLogCreate({cookLogRequest:v}).then(g=>{console.log("success",g)}).catch(g=>{console.log("error",g)})}return onMounted(()=>{c()}),(m,f)=>{const v=resolveComponent("textarea-element"),g=resolveComponent("text-element"),y=resolveComponent("button-element"),b=resolveComponent("Vueform");return openBlock(),createBlock(VCard,{class:"mt-1"},{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Activity")]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.value,w=>(openBlock(),createBlock(VCard,{key:w.id,class:"mt-1"},{default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VRating,{density:"comfortable",size:"x-small",color:"tandoor",modelValue:w.rating,"onUpdate:modelValue":k=>w.rating=k},null,8,["modelValue","onUpdate:modelValue"]),_hoisted_1$N,w.servings!=null&&w.servings>0?(openBlock(),createElementBlock("span",_hoisted_2$v,[createTextVNode(toDisplayString(w.servings)+" ",1),a.recipe.servingsText!=""?(openBlock(),createElementBlock("span",_hoisted_3$k,toDisplayString(a.recipe.servingsText),1)):(openBlock(),createElementBlock("span",_hoisted_4$c,"Servings"))])):createCommentVNode("",!0),createTextVNode(),_hoisted_5$8,createTextVNode(" "+toDisplayString(w.comment),1)]),_:2},1024),createVNode(VDivider),createVNode(VCardSubtitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(DateTime).fromJSDate(w.createdAt).toLocaleString(unref(DateTime).DATETIME_SHORT))+" by "+toDisplayString(w.createdBy.displayName),1)]),_:2},1024)]),_:2},1024))),128)),createVNode(b,{endpoint:!1,onSubmit:d,class:"mt-2"},{default:withCtx(()=>[createVNode(v,{name:"comment",label:"Comment"}),createVNode(g,{type:"number",name:"rating",label:"Rating",default:5},{"addon-before":withCtx(()=>[createVNode(VBtnGroup,{class:"rounded-0"},{default:withCtx(()=>[createVNode(VBtn,{color:"secondary"},{default:withCtx(()=>[createTextVNode("-")]),_:1})]),_:1})]),"addon-after":withCtx(()=>[createVNode(VBtnGroup,{class:"rounded-0"},{default:withCtx(()=>[createVNode(VBtn,{color:"primary"},{default:withCtx(()=>[createTextVNode("+")]),_:1})]),_:1})]),_:1}),createVNode(g,{type:"number",name:"servings",label:"Servings",default:a.recipe.servings},{"addon-before":withCtx(()=>[createVNode(VBtnGroup,{class:"rounded-0"},{default:withCtx(()=>[createVNode(VBtn,{color:"secondary"},{default:withCtx(()=>[createTextVNode("-")]),_:1})]),_:1})]),"addon-after":withCtx(()=>[createVNode(VBtnGroup,{class:"rounded-0"},{default:withCtx(()=>[createVNode(VBtn,{color:"primary"},{default:withCtx(()=>[createTextVNode("+")]),_:1})]),_:1})]),_:1},8,["default"]),createVNode(y,{name:"submit",submits:!0,"button-label":"Submit"})]),_:1})]),_:1})]),_:1})}}}),makeVSheetProps=propsFactory({color:String,...makeBorderProps(),...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSheet"),VSheet=genericComponent()({name:"VSheet",props:makeVSheetProps(),setup(a,i){let{slots:u}=i;const{themeClasses:c}=provideTheme(a),{backgroundColorClasses:d,backgroundColorStyles:m}=useBackgroundColor(toRef(a,"color")),{borderClasses:f}=useBorder(a),{dimensionStyles:v}=useDimension(a),{elevationClasses:g}=useElevation(a),{locationStyles:y}=useLocation(a),{positionClasses:b}=usePosition(a),{roundedClasses:w}=useRounded(a);return useRender(()=>createVNode(a.tag,{class:["v-sheet",c.value,d.value,f.value,g.value,b.value,w.value,a.class],style:[m.value,v.value,y.value,a.style]},u)),{}}}),_hoisted_1$M=createBaseVNode("i",{class:"fas fa-cogs fa-fw mr-1"},null,-1),_hoisted_2$u=createBaseVNode("br",null,null,-1),_hoisted_3$j=createBaseVNode("div",{class:"text-grey"},"Working Time",-1),_hoisted_4$b=createBaseVNode("i",{class:"fas fa-hourglass-half fa-fw mr-1"},null,-1),_hoisted_5$7=createBaseVNode("div",{class:"text-grey"},"Waiting Time",-1),_hoisted_6$5={class:"cursor-pointer"},_hoisted_7$3=createBaseVNode("i",{class:"fas fa-sort-numeric-up fa-fw mr-1"},null,-1),_hoisted_8$3=createBaseVNode("br",null,null,-1),_hoisted_9$3={class:"text-grey"},_hoisted_10$2={key:0},_hoisted_11$2={key:1},_sfc_main$9=defineComponent$1({__name:"RecipeView",props:{recipe:{type:Object,required:!0}},setup(a){const i=a,u=ref(1),c=ref(!1),d=computed(()=>u.value/(i.recipe.servings!=null?i.recipe.servings:1));return watch(()=>i.recipe.servings,()=>{i.recipe.servings&&(u.value=i.recipe.servings)}),(m,f)=>i.recipe.name!=null?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(VCard,{class:"mt-md-4 rounded-0"},{default:withCtx(()=>[createVNode(_sfc_main$o,{"max-height":"25vh",recipe:i.recipe},{overlay:withCtx(()=>[createVNode(VChip,{class:"ms-2",color:"primary",variant:"flat",size:"x-small"},{default:withCtx(()=>[createTextVNode("by "+toDisplayString(i.recipe.createdBy),1)]),_:1}),createVNode(_sfc_main$q,{variant:"flat",class:"ms-1 mb-2",keywords:i.recipe.keywords},null,8,["keywords"])]),_:1},8,["recipe"]),createVNode(VCard,null,{default:withCtx(()=>[createVNode(VSheet,{class:"d-flex align-center"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(["ps-2 text-h5 flex-grow-1",{"text-truncate":!c.value}]),onClick:f[0]||(f[0]=v=>c.value=!c.value)},toDisplayString(i.recipe.name),3),createVNode(_sfc_main$p,{recipe:a.recipe},null,8,["recipe"])]),_:1})]),_:1})]),_:1}),createVNode(VCard,{class:"mt-1"},{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VRow,{class:"text-center text-body-2"},{default:withCtx(()=>[createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[_hoisted_1$M,createTextVNode(" "+toDisplayString(i.recipe.workingTime)+" min",1),_hoisted_2$u,_hoisted_3$j]),_:1}),createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[createBaseVNode("div",null,[_hoisted_4$b,createTextVNode(" "+toDisplayString(i.recipe.waitingTime)+" min",1)]),_hoisted_5$7]),_:1}),createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(_sfc_main$i,{number:u.value,onChange:f[1]||(f[1]=v=>u.value=v.number),title:"Servings"},{activator:withCtx(()=>{var v;return[createBaseVNode("div",_hoisted_6$5,[_hoisted_7$3,createTextVNode(" "+toDisplayString(u.value)+" ",1),_hoisted_8$3,createBaseVNode("div",_hoisted_9$3,[(v=i.recipe)!=null&&v.servingsText?(openBlock(),createElementBlock("span",_hoisted_10$2,toDisplayString(i.recipe.servingsText),1)):(openBlock(),createElementBlock("span",_hoisted_11$2,"Servings"))])])]}),_:1},8,["number"])]),_:1})]),_:1})]),_:1})]),_:1}),i.recipe.steps.length>1?(openBlock(),createBlock(VCard,{key:0,class:"mt-1"},{default:withCtx(()=>[createVNode(_sfc_main$f,{steps:i.recipe.steps},null,8,["steps"])]),_:1})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(i.recipe.steps,(v,g)=>(openBlock(),createBlock(VCard,{class:"mt-1",key:v.id},{default:withCtx(()=>[createVNode(_sfc_main$b,{step:v,"step-number":g+1,ingredient_factor:d.value},null,8,["step","step-number","ingredient_factor"])]),_:2},1024))),128)),createVNode(_sfc_main$a,{recipe:a.recipe},null,8,["recipe"])],64)):createCommentVNode("",!0)}}),_sfc_main$8=defineComponent$1({name:"RecipeSearchPage",components:{RecipeView:_sfc_main$9},watch:{id:function(a){this.refreshData(a)}},props:{id:{type:String,required:!0}},data(){return{recipe:{}}},mounted(){this.refreshData(this.id)},methods:{refreshData(a){new ApiApi().apiRecipeRetrieve({id:Number(a)}).then(u=>{this.recipe=u})}}});function _sfc_render$4(a,i,u,c,d,m){const f=resolveComponent("RecipeView");return openBlock(),createBlock(VContainer,{class:"ps-0 pe-0 pt-0"},{default:withCtx(()=>[createVNode(f,{recipe:a.recipe},null,8,["recipe"])]),_:1})}const RecipeViewPage=_export_sfc(_sfc_main$8,[["render",_sfc_render$4]]),luxonPlugin={install:a=>{a.config.globalProperties.$luxon=DateTime}},_sfc_main$7=defineComponent$1({name:"StepMarkdownEditor",emits:{change(a){return a}},watch:{mutable_step:function(){this.$emit("change",{step:this.mutable_step})}},props:{step:{type:Object,required:!0}},data(){return{mutable_step:{},md_editor_toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,mark:!1,superscript:!1,subscript:!1,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!1,code:!1,table:!1,fullscreen:!1,readmodel:!1,htmlcode:!1,help:!1,undo:!0,redo:!0,navigation:!1,alignleft:!1,aligncenter:!1,alignright:!1,subfield:!0,preview:!0}}},mounted(){this.mutable_step=this.step}}),_hoisted_1$L=createBaseVNode("span",{class:"op-icon-divider"},null,-1);function _sfc_render$3(a,i,u,c,d,m){const f=resolveComponent("mavon-editor");return openBlock(),createBlock(f,{modelValue:a.mutable_step.instruction,"onUpdate:modelValue":i[1]||(i[1]=v=>a.mutable_step.instruction=v),autofocus:!1,style:{"z-index":"auto"},id:"id_instruction_"+a.mutable_step.id,language:"en",toolbars:a.md_editor_toolbars,defaultOpen:"edit"},{"left-toolbar-after":withCtx(()=>[_hoisted_1$L,createBaseVNode("button",{type:"button",onClick:i[0]||(i[0]=v=>a.mutable_step.instruction+=" {{ scale(100) }}"),class:"op-icon fas fa-calculator","aria-hidden":"true",title:"Scalable Number"})]),_:1},8,["modelValue","id","toolbars"])}const StepMarkdownEditor=_export_sfc(_sfc_main$7,[["render",_sfc_render$3]]);var vuedraggable_umd={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function ownKeys$2(a,i){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);i&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,c)}return u}function _objectSpread2$2(a){for(var i=1;i<arguments.length;i++){var u=arguments[i]!=null?arguments[i]:{};i%2?ownKeys$2(Object(u),!0).forEach(function(c){_defineProperty$3(a,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):ownKeys$2(Object(u)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(u,c))})}return a}function _typeof$1(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(i){return typeof i}:_typeof$1=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$1(a)}function _defineProperty$3(a,i,u){return i in a?Object.defineProperty(a,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[i]=u,a}function _extends$1(){return _extends$1=Object.assign||function(a){for(var i=1;i<arguments.length;i++){var u=arguments[i];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(a[c]=u[c])}return a},_extends$1.apply(this,arguments)}function _objectWithoutPropertiesLoose$1(a,i){if(a==null)return{};var u={},c=Object.keys(a),d,m;for(m=0;m<c.length;m++)d=c[m],!(i.indexOf(d)>=0)&&(u[d]=a[d]);return u}function _objectWithoutProperties$1(a,i){if(a==null)return{};var u=_objectWithoutPropertiesLoose$1(a,i),c,d;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(a);for(d=0;d<m.length;d++)c=m[d],!(i.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(u[c]=a[c])}return u}function _toConsumableArray(a){return _arrayWithoutHoles(a)||_iterableToArray(a)||_unsupportedIterableToArray(a)||_nonIterableSpread()}function _arrayWithoutHoles(a){if(Array.isArray(a))return _arrayLikeToArray(a)}function _iterableToArray(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function _unsupportedIterableToArray(a,i){if(a){if(typeof a=="string")return _arrayLikeToArray(a,i);var u=Object.prototype.toString.call(a).slice(8,-1);if(u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set")return Array.from(a);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(a,i)}}function _arrayLikeToArray(a,i){(i==null||i>a.length)&&(i=a.length);for(var u=0,c=new Array(i);u<i;u++)c[u]=a[u];return c}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var version$2="1.14.0";function userAgent$1(a){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(a)}var IE11OrLess$1=userAgent$1(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge$1=userAgent$1(/Edge/i),FireFox$1=userAgent$1(/firefox/i),Safari$1=userAgent$1(/safari/i)&&!userAgent$1(/chrome/i)&&!userAgent$1(/android/i),IOS$1=userAgent$1(/iP(ad|od|hone)/i),ChromeForAndroid$1=userAgent$1(/chrome/i)&&userAgent$1(/android/i),captureMode$1={capture:!1,passive:!1};function on$1(a,i,u){a.addEventListener(i,u,!IE11OrLess$1&&captureMode$1)}function off$1(a,i,u){a.removeEventListener(i,u,!IE11OrLess$1&&captureMode$1)}function matches$1(a,i){if(i){if(i[0]===">"&&(i=i.substring(1)),a)try{if(a.matches)return a.matches(i);if(a.msMatchesSelector)return a.msMatchesSelector(i);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(i)}catch{return!1}return!1}}function getParentOrHost$1(a){return a.host&&a!==document&&a.host.nodeType?a.host:a.parentNode}function closest$2(a,i,u,c){if(a){u=u||document;do{if(i!=null&&(i[0]===">"?a.parentNode===u&&matches$1(a,i):matches$1(a,i))||c&&a===u)return a;if(a===u)break}while(a=getParentOrHost$1(a))}return null}var R_SPACE$1=/\s+/g;function toggleClass$2(a,i,u){if(a&&i)if(a.classList)a.classList[u?"add":"remove"](i);else{var c=(" "+a.className+" ").replace(R_SPACE$1," ").replace(" "+i+" "," ");a.className=(c+(u?" "+i:"")).replace(R_SPACE$1," ")}}function css$1(a,i,u){var c=a&&a.style;if(c){if(u===void 0)return document.defaultView&&document.defaultView.getComputedStyle?u=document.defaultView.getComputedStyle(a,""):a.currentStyle&&(u=a.currentStyle),i===void 0?u:u[i];!(i in c)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),c[i]=u+(typeof u=="string"?"":"px")}}function matrix$1(a,i){var u="";if(typeof a=="string")u=a;else do{var c=css$1(a,"transform");c&&c!=="none"&&(u=c+" "+u)}while(!i&&(a=a.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(u)}function find$2(a,i,u){if(a){var c=a.getElementsByTagName(i),d=0,m=c.length;if(u)for(;d<m;d++)u(c[d],d);return c}return[]}function getWindowScrollingElement$1(){var a=document.scrollingElement;return a||document.documentElement}function getRect$1(a,i,u,c,d){if(!(!a.getBoundingClientRect&&a!==window)){var m,f,v,g,y,b,w;if(a!==window&&a.parentNode&&a!==getWindowScrollingElement$1()?(m=a.getBoundingClientRect(),f=m.top,v=m.left,g=m.bottom,y=m.right,b=m.height,w=m.width):(f=0,v=0,g=window.innerHeight,y=window.innerWidth,b=window.innerHeight,w=window.innerWidth),(i||u)&&a!==window&&(d=d||a.parentNode,!IE11OrLess$1))do if(d&&d.getBoundingClientRect&&(css$1(d,"transform")!=="none"||u&&css$1(d,"position")!=="static")){var k=d.getBoundingClientRect();f-=k.top+parseInt(css$1(d,"border-top-width")),v-=k.left+parseInt(css$1(d,"border-left-width")),g=f+m.height,y=v+m.width;break}while(d=d.parentNode);if(c&&a!==window){var $=matrix$1(d||a),S=$&&$.a,C=$&&$.d;$&&(f/=C,v/=S,w/=S,b/=C,g=f+b,y=v+w)}return{top:f,left:v,bottom:g,right:y,width:w,height:b}}}function isScrolledPast$1(a,i,u){for(var c=getParentAutoScrollElement$1(a,!0),d=getRect$1(a)[i];c;){var m=getRect$1(c)[u],f=void 0;if(u==="top"||u==="left"?f=d>=m:f=d<=m,!f)return c;if(c===getWindowScrollingElement$1())break;c=getParentAutoScrollElement$1(c,!1)}return!1}function getChild$1(a,i,u,c){for(var d=0,m=0,f=a.children;m<f.length;){if(f[m].style.display!=="none"&&f[m]!==Sortable$1.ghost&&(c||f[m]!==Sortable$1.dragged)&&closest$2(f[m],u.draggable,a,!1)){if(d===i)return f[m];d++}m++}return null}function lastChild$1(a,i){for(var u=a.lastElementChild;u&&(u===Sortable$1.ghost||css$1(u,"display")==="none"||i&&!matches$1(u,i));)u=u.previousElementSibling;return u||null}function index$4(a,i){var u=0;if(!a||!a.parentNode)return-1;for(;a=a.previousElementSibling;)a.nodeName.toUpperCase()!=="TEMPLATE"&&a!==Sortable$1.clone&&(!i||matches$1(a,i))&&u++;return u}function getRelativeScrollOffset$1(a){var i=0,u=0,c=getWindowScrollingElement$1();if(a)do{var d=matrix$1(a),m=d.a,f=d.d;i+=a.scrollLeft*m,u+=a.scrollTop*f}while(a!==c&&(a=a.parentNode));return[i,u]}function indexOfObject$1(a,i){for(var u in a)if(a.hasOwnProperty(u)){for(var c in i)if(i.hasOwnProperty(c)&&i[c]===a[u][c])return Number(u)}return-1}function getParentAutoScrollElement$1(a,i){if(!a||!a.getBoundingClientRect)return getWindowScrollingElement$1();var u=a,c=!1;do if(u.clientWidth<u.scrollWidth||u.clientHeight<u.scrollHeight){var d=css$1(u);if(u.clientWidth<u.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||u.clientHeight<u.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!u.getBoundingClientRect||u===document.body)return getWindowScrollingElement$1();if(c||i)return u;c=!0}}while(u=u.parentNode);return getWindowScrollingElement$1()}function extend$3(a,i){if(a&&i)for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u]);return a}function isRectEqual$1(a,i){return Math.round(a.top)===Math.round(i.top)&&Math.round(a.left)===Math.round(i.left)&&Math.round(a.height)===Math.round(i.height)&&Math.round(a.width)===Math.round(i.width)}var _throttleTimeout$1;function throttle$1(a,i){return function(){if(!_throttleTimeout$1){var u=arguments,c=this;u.length===1?a.call(c,u[0]):a.apply(c,u),_throttleTimeout$1=setTimeout(function(){_throttleTimeout$1=void 0},i)}}}function cancelThrottle$1(){clearTimeout(_throttleTimeout$1),_throttleTimeout$1=void 0}function scrollBy$1(a,i,u){a.scrollLeft+=i,a.scrollTop+=u}function clone$3(a){var i=window.Polymer,u=window.jQuery||window.Zepto;return i&&i.dom?i.dom(a).cloneNode(!0):u?u(a).clone(!0)[0]:a.cloneNode(!0)}function setRect(a,i){css$1(a,"position","absolute"),css$1(a,"top",i.top),css$1(a,"left",i.left),css$1(a,"width",i.width),css$1(a,"height",i.height)}function unsetRect(a){css$1(a,"position",""),css$1(a,"top",""),css$1(a,"left",""),css$1(a,"width",""),css$1(a,"height","")}var expando$1="Sortable"+new Date().getTime();function AnimationStateManager$1(){var a=[],i;return{captureAnimationState:function(){if(a=[],!!this.options.animation){var c=[].slice.call(this.el.children);c.forEach(function(d){if(!(css$1(d,"display")==="none"||d===Sortable$1.ghost)){a.push({target:d,rect:getRect$1(d)});var m=_objectSpread2$2({},a[a.length-1].rect);if(d.thisAnimationDuration){var f=matrix$1(d,!0);f&&(m.top-=f.f,m.left-=f.e)}d.fromRect=m}})}},addAnimationState:function(c){a.push(c)},removeAnimationState:function(c){a.splice(indexOfObject$1(a,{target:c}),1)},animateAll:function(c){var d=this;if(!this.options.animation){clearTimeout(i),typeof c=="function"&&c();return}var m=!1,f=0;a.forEach(function(v){var g=0,y=v.target,b=y.fromRect,w=getRect$1(y),k=y.prevFromRect,$=y.prevToRect,S=v.rect,C=matrix$1(y,!0);C&&(w.top-=C.f,w.left-=C.e),y.toRect=w,y.thisAnimationDuration&&isRectEqual$1(k,w)&&!isRectEqual$1(b,w)&&(S.top-w.top)/(S.left-w.left)===(b.top-w.top)/(b.left-w.left)&&(g=calculateRealTime$1(S,k,$,d.options)),isRectEqual$1(w,b)||(y.prevFromRect=b,y.prevToRect=w,g||(g=d.options.animation),d.animate(y,S,w,g)),g&&(m=!0,f=Math.max(f,g),clearTimeout(y.animationResetTimer),y.animationResetTimer=setTimeout(function(){y.animationTime=0,y.prevFromRect=null,y.fromRect=null,y.prevToRect=null,y.thisAnimationDuration=null},g),y.thisAnimationDuration=g)}),clearTimeout(i),m?i=setTimeout(function(){typeof c=="function"&&c()},f):typeof c=="function"&&c(),a=[]},animate:function(c,d,m,f){if(f){css$1(c,"transition",""),css$1(c,"transform","");var v=matrix$1(this.el),g=v&&v.a,y=v&&v.d,b=(d.left-m.left)/(g||1),w=(d.top-m.top)/(y||1);c.animatingX=!!b,c.animatingY=!!w,css$1(c,"transform","translate3d("+b+"px,"+w+"px,0)"),this.forRepaintDummy=repaint$1(c),css$1(c,"transition","transform "+f+"ms"+(this.options.easing?" "+this.options.easing:"")),css$1(c,"transform","translate3d(0,0,0)"),typeof c.animated=="number"&&clearTimeout(c.animated),c.animated=setTimeout(function(){css$1(c,"transition",""),css$1(c,"transform",""),c.animated=!1,c.animatingX=!1,c.animatingY=!1},f)}}}}function repaint$1(a){return a.offsetWidth}function calculateRealTime$1(a,i,u,c){return Math.sqrt(Math.pow(i.top-a.top,2)+Math.pow(i.left-a.left,2))/Math.sqrt(Math.pow(i.top-u.top,2)+Math.pow(i.left-u.left,2))*c.animation}var plugins$1=[],defaults$5={initializeByDefault:!0},PluginManager$1={mount:function a(i){for(var u in defaults$5)defaults$5.hasOwnProperty(u)&&!(u in i)&&(i[u]=defaults$5[u]);plugins$1.forEach(function(c){if(c.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),plugins$1.push(i)},pluginEvent:function a(i,u,c){var d=this;this.eventCanceled=!1,c.cancel=function(){d.eventCanceled=!0};var m=i+"Global";plugins$1.forEach(function(f){u[f.pluginName]&&(u[f.pluginName][m]&&u[f.pluginName][m](_objectSpread2$2({sortable:u},c)),u.options[f.pluginName]&&u[f.pluginName][i]&&u[f.pluginName][i](_objectSpread2$2({sortable:u},c)))})},initializePlugins:function a(i,u,c,d){plugins$1.forEach(function(v){var g=v.pluginName;if(!(!i.options[g]&&!v.initializeByDefault)){var y=new v(i,u,i.options);y.sortable=i,y.options=i.options,i[g]=y,_extends$1(c,y.defaults)}});for(var m in i.options)if(i.options.hasOwnProperty(m)){var f=this.modifyOption(i,m,i.options[m]);typeof f<"u"&&(i.options[m]=f)}},getEventProperties:function a(i,u){var c={};return plugins$1.forEach(function(d){typeof d.eventProperties=="function"&&_extends$1(c,d.eventProperties.call(u[d.pluginName],i))}),c},modifyOption:function a(i,u,c){var d;return plugins$1.forEach(function(m){i[m.pluginName]&&m.optionListeners&&typeof m.optionListeners[u]=="function"&&(d=m.optionListeners[u].call(i[m.pluginName],c))}),d}};function dispatchEvent$1(a){var i=a.sortable,u=a.rootEl,c=a.name,d=a.targetEl,m=a.cloneEl,f=a.toEl,v=a.fromEl,g=a.oldIndex,y=a.newIndex,b=a.oldDraggableIndex,w=a.newDraggableIndex,k=a.originalEvent,$=a.putSortable,S=a.extraEventProperties;if(i=i||u&&u[expando$1],!!i){var C,E=i.options,D="on"+c.charAt(0).toUpperCase()+c.substr(1);window.CustomEvent&&!IE11OrLess$1&&!Edge$1?C=new CustomEvent(c,{bubbles:!0,cancelable:!0}):(C=document.createEvent("Event"),C.initEvent(c,!0,!0)),C.to=f||u,C.from=v||u,C.item=d||u,C.clone=m,C.oldIndex=g,C.newIndex=y,C.oldDraggableIndex=b,C.newDraggableIndex=w,C.originalEvent=k,C.pullMode=$?$.lastPutMode:void 0;var A=_objectSpread2$2(_objectSpread2$2({},S),PluginManager$1.getEventProperties(c,i));for(var O in A)C[O]=A[O];u&&u.dispatchEvent(C),E[D]&&E[D].call(i,C)}}var _excluded$1=["evt"],pluginEvent$1=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=c.evt,m=_objectWithoutProperties$1(c,_excluded$1);PluginManager$1.pluginEvent.bind(Sortable$1)(i,u,_objectSpread2$2({dragEl:dragEl$1,parentEl:parentEl$1,ghostEl:ghostEl$1,rootEl:rootEl$1,nextEl:nextEl$1,lastDownEl:lastDownEl$1,cloneEl:cloneEl$1,cloneHidden:cloneHidden$1,dragStarted:moved$1,putSortable:putSortable$1,activeSortable:Sortable$1.active,originalEvent:d,oldIndex:oldIndex$1,oldDraggableIndex:oldDraggableIndex$1,newIndex:newIndex$1,newDraggableIndex:newDraggableIndex$1,hideGhostForTarget:_hideGhostForTarget$1,unhideGhostForTarget:_unhideGhostForTarget$1,cloneNowHidden:function(){cloneHidden$1=!0},cloneNowShown:function(){cloneHidden$1=!1},dispatchSortableEvent:function(v){_dispatchEvent$1({sortable:u,name:v,originalEvent:d})}},m))};function _dispatchEvent$1(a){dispatchEvent$1(_objectSpread2$2({putSortable:putSortable$1,cloneEl:cloneEl$1,targetEl:dragEl$1,rootEl:rootEl$1,oldIndex:oldIndex$1,oldDraggableIndex:oldDraggableIndex$1,newIndex:newIndex$1,newDraggableIndex:newDraggableIndex$1},a))}var dragEl$1,parentEl$1,ghostEl$1,rootEl$1,nextEl$1,lastDownEl$1,cloneEl$1,cloneHidden$1,oldIndex$1,newIndex$1,oldDraggableIndex$1,newDraggableIndex$1,activeGroup$1,putSortable$1,awaitingDragStarted$1=!1,ignoreNextClick$1=!1,sortables$1=[],tapEvt$1,touchEvt$2,lastDx$1,lastDy$1,tapDistanceLeft$1,tapDistanceTop$1,moved$1,lastTarget$1,lastDirection$1,pastFirstInvertThresh$1=!1,isCircumstantialInvert$1=!1,targetMoveDistance$1,ghostRelativeParent$1,ghostRelativeParentInitialScroll$1=[],_silent$1=!1,savedInputChecked$1=[],documentExists$1=typeof document<"u",PositionGhostAbsolutely$1=IOS$1,CSSFloatProperty$1=Edge$1||IE11OrLess$1?"cssFloat":"float",supportDraggable$1=documentExists$1&&!ChromeForAndroid$1&&!IOS$1&&"draggable"in document.createElement("div"),supportCssPointerEvents$1=function(){if(documentExists$1){if(IE11OrLess$1)return!1;var a=document.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"}}(),_detectDirection$1=function a(i,u){var c=css$1(i),d=parseInt(c.width)-parseInt(c.paddingLeft)-parseInt(c.paddingRight)-parseInt(c.borderLeftWidth)-parseInt(c.borderRightWidth),m=getChild$1(i,0,u),f=getChild$1(i,1,u),v=m&&css$1(m),g=f&&css$1(f),y=v&&parseInt(v.marginLeft)+parseInt(v.marginRight)+getRect$1(m).width,b=g&&parseInt(g.marginLeft)+parseInt(g.marginRight)+getRect$1(f).width;if(c.display==="flex")return c.flexDirection==="column"||c.flexDirection==="column-reverse"?"vertical":"horizontal";if(c.display==="grid")return c.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(m&&v.float&&v.float!=="none"){var w=v.float==="left"?"left":"right";return f&&(g.clear==="both"||g.clear===w)?"vertical":"horizontal"}return m&&(v.display==="block"||v.display==="flex"||v.display==="table"||v.display==="grid"||y>=d&&c[CSSFloatProperty$1]==="none"||f&&c[CSSFloatProperty$1]==="none"&&y+b>d)?"vertical":"horizontal"},_dragElInRowColumn$1=function a(i,u,c){var d=c?i.left:i.top,m=c?i.right:i.bottom,f=c?i.width:i.height,v=c?u.left:u.top,g=c?u.right:u.bottom,y=c?u.width:u.height;return d===v||m===g||d+f/2===v+y/2},_detectNearestEmptySortable$1=function a(i,u){var c;return sortables$1.some(function(d){var m=d[expando$1].options.emptyInsertThreshold;if(!(!m||lastChild$1(d))){var f=getRect$1(d),v=i>=f.left-m&&i<=f.right+m,g=u>=f.top-m&&u<=f.bottom+m;if(v&&g)return c=d}}),c},_prepareGroup$1=function a(i){function u(m,f){return function(v,g,y,b){var w=v.options.group.name&&g.options.group.name&&v.options.group.name===g.options.group.name;if(m==null&&(f||w))return!0;if(m==null||m===!1)return!1;if(f&&m==="clone")return m;if(typeof m=="function")return u(m(v,g,y,b),f)(v,g,y,b);var k=(f?v:g).options.group.name;return m===!0||typeof m=="string"&&m===k||m.join&&m.indexOf(k)>-1}}var c={},d=i.group;(!d||_typeof$1(d)!="object")&&(d={name:d}),c.name=d.name,c.checkPull=u(d.pull,!0),c.checkPut=u(d.put),c.revertClone=d.revertClone,i.group=c},_hideGhostForTarget$1=function a(){!supportCssPointerEvents$1&&ghostEl$1&&css$1(ghostEl$1,"display","none")},_unhideGhostForTarget$1=function a(){!supportCssPointerEvents$1&&ghostEl$1&&css$1(ghostEl$1,"display","")};documentExists$1&&document.addEventListener("click",function(a){if(ignoreNextClick$1)return a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),ignoreNextClick$1=!1,!1},!0);var nearestEmptyInsertDetectEvent$1=function a(i){if(dragEl$1){i=i.touches?i.touches[0]:i;var u=_detectNearestEmptySortable$1(i.clientX,i.clientY);if(u){var c={};for(var d in i)i.hasOwnProperty(d)&&(c[d]=i[d]);c.target=c.rootEl=u,c.preventDefault=void 0,c.stopPropagation=void 0,u[expando$1]._onDragOver(c)}}},_checkOutsideTargetEl$1=function a(i){dragEl$1&&dragEl$1.parentNode[expando$1]._isOutsideThisEl(i.target)};function Sortable$1(a,i){if(!(a&&a.nodeType&&a.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(a));this.el=a,this.options=i=_extends$1({},i),a[expando$1]=this;var u={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(a.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection$1(a,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(f,v){f.setData("Text",v.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable$1.supportPointer!==!1&&"PointerEvent"in window&&!Safari$1,emptyInsertThreshold:5};PluginManager$1.initializePlugins(this,a,u);for(var c in u)!(c in i)&&(i[c]=u[c]);_prepareGroup$1(i);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=i.forceFallback?!1:supportDraggable$1,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?on$1(a,"pointerdown",this._onTapStart):(on$1(a,"mousedown",this._onTapStart),on$1(a,"touchstart",this._onTapStart)),this.nativeDraggable&&(on$1(a,"dragover",this),on$1(a,"dragenter",this)),sortables$1.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),_extends$1(this,AnimationStateManager$1())}Sortable$1.prototype={constructor:Sortable$1,_isOutsideThisEl:function a(i){!this.el.contains(i)&&i!==this.el&&(lastTarget$1=null)},_getDirection:function a(i,u){return typeof this.options.direction=="function"?this.options.direction.call(this,i,u,dragEl$1):this.options.direction},_onTapStart:function a(i){if(i.cancelable){var u=this,c=this.el,d=this.options,m=d.preventOnFilter,f=i.type,v=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,g=(v||i).target,y=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||g,b=d.filter;if(_saveInputCheckedState$1(c),!dragEl$1&&!(/mousedown|pointerdown/.test(f)&&i.button!==0||d.disabled)&&!y.isContentEditable&&!(!this.nativeDraggable&&Safari$1&&g&&g.tagName.toUpperCase()==="SELECT")&&(g=closest$2(g,d.draggable,c,!1),!(g&&g.animated)&&lastDownEl$1!==g)){if(oldIndex$1=index$4(g),oldDraggableIndex$1=index$4(g,d.draggable),typeof b=="function"){if(b.call(this,i,g,this)){_dispatchEvent$1({sortable:u,rootEl:y,name:"filter",targetEl:g,toEl:c,fromEl:c}),pluginEvent$1("filter",u,{evt:i}),m&&i.cancelable&&i.preventDefault();return}}else if(b&&(b=b.split(",").some(function(w){if(w=closest$2(y,w.trim(),c,!1),w)return _dispatchEvent$1({sortable:u,rootEl:w,name:"filter",targetEl:g,fromEl:c,toEl:c}),pluginEvent$1("filter",u,{evt:i}),!0}),b)){m&&i.cancelable&&i.preventDefault();return}d.handle&&!closest$2(y,d.handle,c,!1)||this._prepareDragStart(i,v,g)}}},_prepareDragStart:function a(i,u,c){var d=this,m=d.el,f=d.options,v=m.ownerDocument,g;if(c&&!dragEl$1&&c.parentNode===m){var y=getRect$1(c);if(rootEl$1=m,dragEl$1=c,parentEl$1=dragEl$1.parentNode,nextEl$1=dragEl$1.nextSibling,lastDownEl$1=c,activeGroup$1=f.group,Sortable$1.dragged=dragEl$1,tapEvt$1={target:dragEl$1,clientX:(u||i).clientX,clientY:(u||i).clientY},tapDistanceLeft$1=tapEvt$1.clientX-y.left,tapDistanceTop$1=tapEvt$1.clientY-y.top,this._lastX=(u||i).clientX,this._lastY=(u||i).clientY,dragEl$1.style["will-change"]="all",g=function(){if(pluginEvent$1("delayEnded",d,{evt:i}),Sortable$1.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!FireFox$1&&d.nativeDraggable&&(dragEl$1.draggable=!0),d._triggerDragStart(i,u),_dispatchEvent$1({sortable:d,name:"choose",originalEvent:i}),toggleClass$2(dragEl$1,f.chosenClass,!0)},f.ignore.split(",").forEach(function(b){find$2(dragEl$1,b.trim(),_disableDraggable$1)}),on$1(v,"dragover",nearestEmptyInsertDetectEvent$1),on$1(v,"mousemove",nearestEmptyInsertDetectEvent$1),on$1(v,"touchmove",nearestEmptyInsertDetectEvent$1),on$1(v,"mouseup",d._onDrop),on$1(v,"touchend",d._onDrop),on$1(v,"touchcancel",d._onDrop),FireFox$1&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl$1.draggable=!0),pluginEvent$1("delayStart",this,{evt:i}),f.delay&&(!f.delayOnTouchOnly||u)&&(!this.nativeDraggable||!(Edge$1||IE11OrLess$1))){if(Sortable$1.eventCanceled){this._onDrop();return}on$1(v,"mouseup",d._disableDelayedDrag),on$1(v,"touchend",d._disableDelayedDrag),on$1(v,"touchcancel",d._disableDelayedDrag),on$1(v,"mousemove",d._delayedDragTouchMoveHandler),on$1(v,"touchmove",d._delayedDragTouchMoveHandler),f.supportPointer&&on$1(v,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(g,f.delay)}else g()}},_delayedDragTouchMoveHandler:function a(i){var u=i.touches?i.touches[0]:i;Math.max(Math.abs(u.clientX-this._lastX),Math.abs(u.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function a(){dragEl$1&&_disableDraggable$1(dragEl$1),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function a(){var i=this.el.ownerDocument;off$1(i,"mouseup",this._disableDelayedDrag),off$1(i,"touchend",this._disableDelayedDrag),off$1(i,"touchcancel",this._disableDelayedDrag),off$1(i,"mousemove",this._delayedDragTouchMoveHandler),off$1(i,"touchmove",this._delayedDragTouchMoveHandler),off$1(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function a(i,u){u=u||i.pointerType=="touch"&&i,!this.nativeDraggable||u?this.options.supportPointer?on$1(document,"pointermove",this._onTouchMove):u?on$1(document,"touchmove",this._onTouchMove):on$1(document,"mousemove",this._onTouchMove):(on$1(dragEl$1,"dragend",this),on$1(rootEl$1,"dragstart",this._onDragStart));try{document.selection?_nextTick$1(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function a(i,u){if(awaitingDragStarted$1=!1,rootEl$1&&dragEl$1){pluginEvent$1("dragStarted",this,{evt:u}),this.nativeDraggable&&on$1(document,"dragover",_checkOutsideTargetEl$1);var c=this.options;!i&&toggleClass$2(dragEl$1,c.dragClass,!1),toggleClass$2(dragEl$1,c.ghostClass,!0),Sortable$1.active=this,i&&this._appendGhost(),_dispatchEvent$1({sortable:this,name:"start",originalEvent:u})}else this._nulling()},_emulateDragOver:function a(){if(touchEvt$2){this._lastX=touchEvt$2.clientX,this._lastY=touchEvt$2.clientY,_hideGhostForTarget$1();for(var i=document.elementFromPoint(touchEvt$2.clientX,touchEvt$2.clientY),u=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(touchEvt$2.clientX,touchEvt$2.clientY),i!==u);)u=i;if(dragEl$1.parentNode[expando$1]._isOutsideThisEl(i),u)do{if(u[expando$1]){var c=void 0;if(c=u[expando$1]._onDragOver({clientX:touchEvt$2.clientX,clientY:touchEvt$2.clientY,target:i,rootEl:u}),c&&!this.options.dragoverBubble)break}i=u}while(u=u.parentNode);_unhideGhostForTarget$1()}},_onTouchMove:function a(i){if(tapEvt$1){var u=this.options,c=u.fallbackTolerance,d=u.fallbackOffset,m=i.touches?i.touches[0]:i,f=ghostEl$1&&matrix$1(ghostEl$1,!0),v=ghostEl$1&&f&&f.a,g=ghostEl$1&&f&&f.d,y=PositionGhostAbsolutely$1&&ghostRelativeParent$1&&getRelativeScrollOffset$1(ghostRelativeParent$1),b=(m.clientX-tapEvt$1.clientX+d.x)/(v||1)+(y?y[0]-ghostRelativeParentInitialScroll$1[0]:0)/(v||1),w=(m.clientY-tapEvt$1.clientY+d.y)/(g||1)+(y?y[1]-ghostRelativeParentInitialScroll$1[1]:0)/(g||1);if(!Sortable$1.active&&!awaitingDragStarted$1){if(c&&Math.max(Math.abs(m.clientX-this._lastX),Math.abs(m.clientY-this._lastY))<c)return;this._onDragStart(i,!0)}if(ghostEl$1){f?(f.e+=b-(lastDx$1||0),f.f+=w-(lastDy$1||0)):f={a:1,b:0,c:0,d:1,e:b,f:w};var k="matrix(".concat(f.a,",").concat(f.b,",").concat(f.c,",").concat(f.d,",").concat(f.e,",").concat(f.f,")");css$1(ghostEl$1,"webkitTransform",k),css$1(ghostEl$1,"mozTransform",k),css$1(ghostEl$1,"msTransform",k),css$1(ghostEl$1,"transform",k),lastDx$1=b,lastDy$1=w,touchEvt$2=m}i.cancelable&&i.preventDefault()}},_appendGhost:function a(){if(!ghostEl$1){var i=this.options.fallbackOnBody?document.body:rootEl$1,u=getRect$1(dragEl$1,!0,PositionGhostAbsolutely$1,!0,i),c=this.options;if(PositionGhostAbsolutely$1){for(ghostRelativeParent$1=i;css$1(ghostRelativeParent$1,"position")==="static"&&css$1(ghostRelativeParent$1,"transform")==="none"&&ghostRelativeParent$1!==document;)ghostRelativeParent$1=ghostRelativeParent$1.parentNode;ghostRelativeParent$1!==document.body&&ghostRelativeParent$1!==document.documentElement?(ghostRelativeParent$1===document&&(ghostRelativeParent$1=getWindowScrollingElement$1()),u.top+=ghostRelativeParent$1.scrollTop,u.left+=ghostRelativeParent$1.scrollLeft):ghostRelativeParent$1=getWindowScrollingElement$1(),ghostRelativeParentInitialScroll$1=getRelativeScrollOffset$1(ghostRelativeParent$1)}ghostEl$1=dragEl$1.cloneNode(!0),toggleClass$2(ghostEl$1,c.ghostClass,!1),toggleClass$2(ghostEl$1,c.fallbackClass,!0),toggleClass$2(ghostEl$1,c.dragClass,!0),css$1(ghostEl$1,"transition",""),css$1(ghostEl$1,"transform",""),css$1(ghostEl$1,"box-sizing","border-box"),css$1(ghostEl$1,"margin",0),css$1(ghostEl$1,"top",u.top),css$1(ghostEl$1,"left",u.left),css$1(ghostEl$1,"width",u.width),css$1(ghostEl$1,"height",u.height),css$1(ghostEl$1,"opacity","0.8"),css$1(ghostEl$1,"position",PositionGhostAbsolutely$1?"absolute":"fixed"),css$1(ghostEl$1,"zIndex","100000"),css$1(ghostEl$1,"pointerEvents","none"),Sortable$1.ghost=ghostEl$1,i.appendChild(ghostEl$1),css$1(ghostEl$1,"transform-origin",tapDistanceLeft$1/parseInt(ghostEl$1.style.width)*100+"% "+tapDistanceTop$1/parseInt(ghostEl$1.style.height)*100+"%")}},_onDragStart:function a(i,u){var c=this,d=i.dataTransfer,m=c.options;if(pluginEvent$1("dragStart",this,{evt:i}),Sortable$1.eventCanceled){this._onDrop();return}pluginEvent$1("setupClone",this),Sortable$1.eventCanceled||(cloneEl$1=clone$3(dragEl$1),cloneEl$1.draggable=!1,cloneEl$1.style["will-change"]="",this._hideClone(),toggleClass$2(cloneEl$1,this.options.chosenClass,!1),Sortable$1.clone=cloneEl$1),c.cloneId=_nextTick$1(function(){pluginEvent$1("clone",c),!Sortable$1.eventCanceled&&(c.options.removeCloneOnHide||rootEl$1.insertBefore(cloneEl$1,dragEl$1),c._hideClone(),_dispatchEvent$1({sortable:c,name:"clone"}))}),!u&&toggleClass$2(dragEl$1,m.dragClass,!0),u?(ignoreNextClick$1=!0,c._loopId=setInterval(c._emulateDragOver,50)):(off$1(document,"mouseup",c._onDrop),off$1(document,"touchend",c._onDrop),off$1(document,"touchcancel",c._onDrop),d&&(d.effectAllowed="move",m.setData&&m.setData.call(c,d,dragEl$1)),on$1(document,"drop",c),css$1(dragEl$1,"transform","translateZ(0)")),awaitingDragStarted$1=!0,c._dragStartId=_nextTick$1(c._dragStarted.bind(c,u,i)),on$1(document,"selectstart",c),moved$1=!0,Safari$1&&css$1(document.body,"user-select","none")},_onDragOver:function a(i){var u=this.el,c=i.target,d,m,f,v=this.options,g=v.group,y=Sortable$1.active,b=activeGroup$1===g,w=v.sort,k=putSortable$1||y,$,S=this,C=!1;if(_silent$1)return;function E(ae,ye){pluginEvent$1(ae,S,_objectSpread2$2({evt:i,isOwner:b,axis:$?"vertical":"horizontal",revert:f,dragRect:d,targetRect:m,canSort:w,fromSortable:k,target:c,completed:A,onMove:function(le,Se){return _onMove$1(rootEl$1,u,dragEl$1,d,le,getRect$1(le),i,Se)},changed:O},ye))}function D(){E("dragOverAnimationCapture"),S.captureAnimationState(),S!==k&&k.captureAnimationState()}function A(ae){return E("dragOverCompleted",{insertion:ae}),ae&&(b?y._hideClone():y._showClone(S),S!==k&&(toggleClass$2(dragEl$1,putSortable$1?putSortable$1.options.ghostClass:y.options.ghostClass,!1),toggleClass$2(dragEl$1,v.ghostClass,!0)),putSortable$1!==S&&S!==Sortable$1.active?putSortable$1=S:S===Sortable$1.active&&putSortable$1&&(putSortable$1=null),k===S&&(S._ignoreWhileAnimating=c),S.animateAll(function(){E("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==k&&(k.animateAll(),k._ignoreWhileAnimating=null)),(c===dragEl$1&&!dragEl$1.animated||c===u&&!c.animated)&&(lastTarget$1=null),!v.dragoverBubble&&!i.rootEl&&c!==document&&(dragEl$1.parentNode[expando$1]._isOutsideThisEl(i.target),!ae&&nearestEmptyInsertDetectEvent$1(i)),!v.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),C=!0}function O(){newIndex$1=index$4(dragEl$1),newDraggableIndex$1=index$4(dragEl$1,v.draggable),_dispatchEvent$1({sortable:S,name:"change",toEl:u,newIndex:newIndex$1,newDraggableIndex:newDraggableIndex$1,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),c=closest$2(c,v.draggable,u,!0),E("dragOver"),Sortable$1.eventCanceled)return C;if(dragEl$1.contains(i.target)||c.animated&&c.animatingX&&c.animatingY||S._ignoreWhileAnimating===c)return A(!1);if(ignoreNextClick$1=!1,y&&!v.disabled&&(b?w||(f=parentEl$1!==rootEl$1):putSortable$1===this||(this.lastPutMode=activeGroup$1.checkPull(this,y,dragEl$1,i))&&g.checkPut(this,y,dragEl$1,i))){if($=this._getDirection(i,c)==="vertical",d=getRect$1(dragEl$1),E("dragOverValid"),Sortable$1.eventCanceled)return C;if(f)return parentEl$1=rootEl$1,D(),this._hideClone(),E("revert"),Sortable$1.eventCanceled||(nextEl$1?rootEl$1.insertBefore(dragEl$1,nextEl$1):rootEl$1.appendChild(dragEl$1)),A(!0);var F=lastChild$1(u,v.draggable);if(!F||_ghostIsLast$1(i,$,this)&&!F.animated){if(F===dragEl$1)return A(!1);if(F&&u===i.target&&(c=F),c&&(m=getRect$1(c)),_onMove$1(rootEl$1,u,dragEl$1,d,c,m,i,!!c)!==!1)return D(),u.appendChild(dragEl$1),parentEl$1=u,O(),A(!0)}else if(F&&_ghostIsFirst$1(i,$,this)){var B=getChild$1(u,0,v,!0);if(B===dragEl$1)return A(!1);if(c=B,m=getRect$1(c),_onMove$1(rootEl$1,u,dragEl$1,d,c,m,i,!1)!==!1)return D(),u.insertBefore(dragEl$1,B),parentEl$1=u,O(),A(!0)}else if(c.parentNode===u){m=getRect$1(c);var I=0,M,z=dragEl$1.parentNode!==u,q=!_dragElInRowColumn$1(dragEl$1.animated&&dragEl$1.toRect||d,c.animated&&c.toRect||m,$),H=$?"top":"left",Q=isScrolledPast$1(c,"top","top")||isScrolledPast$1(dragEl$1,"top","top"),j=Q?Q.scrollTop:void 0;lastTarget$1!==c&&(M=m[H],pastFirstInvertThresh$1=!1,isCircumstantialInvert$1=!q&&v.invertSwap||z),I=_getSwapDirection$1(i,c,m,$,q?1:v.swapThreshold,v.invertedSwapThreshold==null?v.swapThreshold:v.invertedSwapThreshold,isCircumstantialInvert$1,lastTarget$1===c);var ee;if(I!==0){var G=index$4(dragEl$1);do G-=I,ee=parentEl$1.children[G];while(ee&&(css$1(ee,"display")==="none"||ee===ghostEl$1))}if(I===0||ee===c)return A(!1);lastTarget$1=c,lastDirection$1=I;var J=c.nextElementSibling,te=!1;te=I===1;var re=_onMove$1(rootEl$1,u,dragEl$1,d,c,m,i,te);if(re!==!1)return(re===1||re===-1)&&(te=re===1),_silent$1=!0,setTimeout(_unsilent$1,30),D(),te&&!J?u.appendChild(dragEl$1):c.parentNode.insertBefore(dragEl$1,te?J:c),Q&&scrollBy$1(Q,0,j-Q.scrollTop),parentEl$1=dragEl$1.parentNode,M!==void 0&&!isCircumstantialInvert$1&&(targetMoveDistance$1=Math.abs(M-getRect$1(c)[H])),O(),A(!0)}if(u.contains(dragEl$1))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function a(){off$1(document,"mousemove",this._onTouchMove),off$1(document,"touchmove",this._onTouchMove),off$1(document,"pointermove",this._onTouchMove),off$1(document,"dragover",nearestEmptyInsertDetectEvent$1),off$1(document,"mousemove",nearestEmptyInsertDetectEvent$1),off$1(document,"touchmove",nearestEmptyInsertDetectEvent$1)},_offUpEvents:function a(){var i=this.el.ownerDocument;off$1(i,"mouseup",this._onDrop),off$1(i,"touchend",this._onDrop),off$1(i,"pointerup",this._onDrop),off$1(i,"touchcancel",this._onDrop),off$1(document,"selectstart",this)},_onDrop:function a(i){var u=this.el,c=this.options;if(newIndex$1=index$4(dragEl$1),newDraggableIndex$1=index$4(dragEl$1,c.draggable),pluginEvent$1("drop",this,{evt:i}),parentEl$1=dragEl$1&&dragEl$1.parentNode,newIndex$1=index$4(dragEl$1),newDraggableIndex$1=index$4(dragEl$1,c.draggable),Sortable$1.eventCanceled){this._nulling();return}awaitingDragStarted$1=!1,isCircumstantialInvert$1=!1,pastFirstInvertThresh$1=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick$1(this.cloneId),_cancelNextTick$1(this._dragStartId),this.nativeDraggable&&(off$1(document,"drop",this),off$1(u,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari$1&&css$1(document.body,"user-select",""),css$1(dragEl$1,"transform",""),i&&(moved$1&&(i.cancelable&&i.preventDefault(),!c.dropBubble&&i.stopPropagation()),ghostEl$1&&ghostEl$1.parentNode&&ghostEl$1.parentNode.removeChild(ghostEl$1),(rootEl$1===parentEl$1||putSortable$1&&putSortable$1.lastPutMode!=="clone")&&cloneEl$1&&cloneEl$1.parentNode&&cloneEl$1.parentNode.removeChild(cloneEl$1),dragEl$1&&(this.nativeDraggable&&off$1(dragEl$1,"dragend",this),_disableDraggable$1(dragEl$1),dragEl$1.style["will-change"]="",moved$1&&!awaitingDragStarted$1&&toggleClass$2(dragEl$1,putSortable$1?putSortable$1.options.ghostClass:this.options.ghostClass,!1),toggleClass$2(dragEl$1,this.options.chosenClass,!1),_dispatchEvent$1({sortable:this,name:"unchoose",toEl:parentEl$1,newIndex:null,newDraggableIndex:null,originalEvent:i}),rootEl$1!==parentEl$1?(newIndex$1>=0&&(_dispatchEvent$1({rootEl:parentEl$1,name:"add",toEl:parentEl$1,fromEl:rootEl$1,originalEvent:i}),_dispatchEvent$1({sortable:this,name:"remove",toEl:parentEl$1,originalEvent:i}),_dispatchEvent$1({rootEl:parentEl$1,name:"sort",toEl:parentEl$1,fromEl:rootEl$1,originalEvent:i}),_dispatchEvent$1({sortable:this,name:"sort",toEl:parentEl$1,originalEvent:i})),putSortable$1&&putSortable$1.save()):newIndex$1!==oldIndex$1&&newIndex$1>=0&&(_dispatchEvent$1({sortable:this,name:"update",toEl:parentEl$1,originalEvent:i}),_dispatchEvent$1({sortable:this,name:"sort",toEl:parentEl$1,originalEvent:i})),Sortable$1.active&&((newIndex$1==null||newIndex$1===-1)&&(newIndex$1=oldIndex$1,newDraggableIndex$1=oldDraggableIndex$1),_dispatchEvent$1({sortable:this,name:"end",toEl:parentEl$1,originalEvent:i}),this.save()))),this._nulling()},_nulling:function a(){pluginEvent$1("nulling",this),rootEl$1=dragEl$1=parentEl$1=ghostEl$1=nextEl$1=cloneEl$1=lastDownEl$1=cloneHidden$1=tapEvt$1=touchEvt$2=moved$1=newIndex$1=newDraggableIndex$1=oldIndex$1=oldDraggableIndex$1=lastTarget$1=lastDirection$1=putSortable$1=activeGroup$1=Sortable$1.dragged=Sortable$1.ghost=Sortable$1.clone=Sortable$1.active=null,savedInputChecked$1.forEach(function(i){i.checked=!0}),savedInputChecked$1.length=lastDx$1=lastDy$1=0},handleEvent:function a(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":dragEl$1&&(this._onDragOver(i),_globalDragOver$1(i));break;case"selectstart":i.preventDefault();break}},toArray:function a(){for(var i=[],u,c=this.el.children,d=0,m=c.length,f=this.options;d<m;d++)u=c[d],closest$2(u,f.draggable,this.el,!1)&&i.push(u.getAttribute(f.dataIdAttr)||_generateId$1(u));return i},sort:function a(i,u){var c={},d=this.el;this.toArray().forEach(function(m,f){var v=d.children[f];closest$2(v,this.options.draggable,d,!1)&&(c[m]=v)},this),u&&this.captureAnimationState(),i.forEach(function(m){c[m]&&(d.removeChild(c[m]),d.appendChild(c[m]))}),u&&this.animateAll()},save:function a(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function a(i,u){return closest$2(i,u||this.options.draggable,this.el,!1)},option:function a(i,u){var c=this.options;if(u===void 0)return c[i];var d=PluginManager$1.modifyOption(this,i,u);typeof d<"u"?c[i]=d:c[i]=u,i==="group"&&_prepareGroup$1(c)},destroy:function a(){pluginEvent$1("destroy",this);var i=this.el;i[expando$1]=null,off$1(i,"mousedown",this._onTapStart),off$1(i,"touchstart",this._onTapStart),off$1(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(off$1(i,"dragover",this),off$1(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(u){u.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables$1.splice(sortables$1.indexOf(this.el),1),this.el=i=null},_hideClone:function a(){if(!cloneHidden$1){if(pluginEvent$1("hideClone",this),Sortable$1.eventCanceled)return;css$1(cloneEl$1,"display","none"),this.options.removeCloneOnHide&&cloneEl$1.parentNode&&cloneEl$1.parentNode.removeChild(cloneEl$1),cloneHidden$1=!0}},_showClone:function a(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden$1){if(pluginEvent$1("showClone",this),Sortable$1.eventCanceled)return;dragEl$1.parentNode==rootEl$1&&!this.options.group.revertClone?rootEl$1.insertBefore(cloneEl$1,dragEl$1):nextEl$1?rootEl$1.insertBefore(cloneEl$1,nextEl$1):rootEl$1.appendChild(cloneEl$1),this.options.group.revertClone&&this.animate(dragEl$1,cloneEl$1),css$1(cloneEl$1,"display",""),cloneHidden$1=!1}}};function _globalDragOver$1(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.cancelable&&a.preventDefault()}function _onMove$1(a,i,u,c,d,m,f,v){var g,y=a[expando$1],b=y.options.onMove,w;return window.CustomEvent&&!IE11OrLess$1&&!Edge$1?g=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent("move",!0,!0)),g.to=i,g.from=a,g.dragged=u,g.draggedRect=c,g.related=d||i,g.relatedRect=m||getRect$1(i),g.willInsertAfter=v,g.originalEvent=f,a.dispatchEvent(g),b&&(w=b.call(y,g,f)),w}function _disableDraggable$1(a){a.draggable=!1}function _unsilent$1(){_silent$1=!1}function _ghostIsFirst$1(a,i,u){var c=getRect$1(getChild$1(u.el,0,u.options,!0)),d=10;return i?a.clientX<c.left-d||a.clientY<c.top&&a.clientX<c.right:a.clientY<c.top-d||a.clientY<c.bottom&&a.clientX<c.left}function _ghostIsLast$1(a,i,u){var c=getRect$1(lastChild$1(u.el,u.options.draggable)),d=10;return i?a.clientX>c.right+d||a.clientX<=c.right&&a.clientY>c.bottom&&a.clientX>=c.left:a.clientX>c.right&&a.clientY>c.top||a.clientX<=c.right&&a.clientY>c.bottom+d}function _getSwapDirection$1(a,i,u,c,d,m,f,v){var g=c?a.clientY:a.clientX,y=c?u.height:u.width,b=c?u.top:u.left,w=c?u.bottom:u.right,k=!1;if(!f){if(v&&targetMoveDistance$1<y*d){if(!pastFirstInvertThresh$1&&(lastDirection$1===1?g>b+y*m/2:g<w-y*m/2)&&(pastFirstInvertThresh$1=!0),pastFirstInvertThresh$1)k=!0;else if(lastDirection$1===1?g<b+targetMoveDistance$1:g>w-targetMoveDistance$1)return-lastDirection$1}else if(g>b+y*(1-d)/2&&g<w-y*(1-d)/2)return _getInsertDirection$1(i)}return k=k||f,k&&(g<b+y*m/2||g>w-y*m/2)?g>b+y/2?1:-1:0}function _getInsertDirection$1(a){return index$4(dragEl$1)<index$4(a)?1:-1}function _generateId$1(a){for(var i=a.tagName+a.className+a.src+a.href+a.textContent,u=i.length,c=0;u--;)c+=i.charCodeAt(u);return c.toString(36)}function _saveInputCheckedState$1(a){savedInputChecked$1.length=0;for(var i=a.getElementsByTagName("input"),u=i.length;u--;){var c=i[u];c.checked&&savedInputChecked$1.push(c)}}function _nextTick$1(a){return setTimeout(a,0)}function _cancelNextTick$1(a){return clearTimeout(a)}documentExists$1&&on$1(document,"touchmove",function(a){(Sortable$1.active||awaitingDragStarted$1)&&a.cancelable&&a.preventDefault()});Sortable$1.utils={on:on$1,off:off$1,css:css$1,find:find$2,is:function a(i,u){return!!closest$2(i,u,i,!1)},extend:extend$3,throttle:throttle$1,closest:closest$2,toggleClass:toggleClass$2,clone:clone$3,index:index$4,nextTick:_nextTick$1,cancelNextTick:_cancelNextTick$1,detectDirection:_detectDirection$1,getChild:getChild$1};Sortable$1.get=function(a){return a[expando$1]};Sortable$1.mount=function(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];i[0].constructor===Array&&(i=i[0]),i.forEach(function(c){if(!c.prototype||!c.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(c));c.utils&&(Sortable$1.utils=_objectSpread2$2(_objectSpread2$2({},Sortable$1.utils),c.utils)),PluginManager$1.mount(c)})};Sortable$1.create=function(a,i){return new Sortable$1(a,i)};Sortable$1.version=version$2;var autoScrolls$1=[],scrollEl$1,scrollRootEl$1,scrolling$1=!1,lastAutoScrollX$1,lastAutoScrollY$1,touchEvt$1$1,pointerElemChangedInterval$1;function AutoScrollPlugin$1(){function a(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return a.prototype={dragStarted:function(u){var c=u.originalEvent;this.sortable.nativeDraggable?on$1(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on$1(document,"pointermove",this._handleFallbackAutoScroll):c.touches?on$1(document,"touchmove",this._handleFallbackAutoScroll):on$1(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(u){var c=u.originalEvent;!this.options.dragOverBubble&&!c.rootEl&&this._handleAutoScroll(c)},drop:function(){this.sortable.nativeDraggable?off$1(document,"dragover",this._handleAutoScroll):(off$1(document,"pointermove",this._handleFallbackAutoScroll),off$1(document,"touchmove",this._handleFallbackAutoScroll),off$1(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval$1(),clearAutoScrolls$1(),cancelThrottle$1()},nulling:function(){touchEvt$1$1=scrollRootEl$1=scrollEl$1=scrolling$1=pointerElemChangedInterval$1=lastAutoScrollX$1=lastAutoScrollY$1=null,autoScrolls$1.length=0},_handleFallbackAutoScroll:function(u){this._handleAutoScroll(u,!0)},_handleAutoScroll:function(u,c){var d=this,m=(u.touches?u.touches[0]:u).clientX,f=(u.touches?u.touches[0]:u).clientY,v=document.elementFromPoint(m,f);if(touchEvt$1$1=u,c||this.options.forceAutoScrollFallback||Edge$1||IE11OrLess$1||Safari$1){autoScroll$1(u,this.options,v,c);var g=getParentAutoScrollElement$1(v,!0);scrolling$1&&(!pointerElemChangedInterval$1||m!==lastAutoScrollX$1||f!==lastAutoScrollY$1)&&(pointerElemChangedInterval$1&&clearPointerElemChangedInterval$1(),pointerElemChangedInterval$1=setInterval(function(){var y=getParentAutoScrollElement$1(document.elementFromPoint(m,f),!0);y!==g&&(g=y,clearAutoScrolls$1()),autoScroll$1(u,d.options,y,c)},10),lastAutoScrollX$1=m,lastAutoScrollY$1=f)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement$1(v,!0)===getWindowScrollingElement$1()){clearAutoScrolls$1();return}autoScroll$1(u,this.options,getParentAutoScrollElement$1(v,!1),!1)}}},_extends$1(a,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls$1(){autoScrolls$1.forEach(function(a){clearInterval(a.pid)}),autoScrolls$1=[]}function clearPointerElemChangedInterval$1(){clearInterval(pointerElemChangedInterval$1)}var autoScroll$1=throttle$1(function(a,i,u,c){if(i.scroll){var d=(a.touches?a.touches[0]:a).clientX,m=(a.touches?a.touches[0]:a).clientY,f=i.scrollSensitivity,v=i.scrollSpeed,g=getWindowScrollingElement$1(),y=!1,b;scrollRootEl$1!==u&&(scrollRootEl$1=u,clearAutoScrolls$1(),scrollEl$1=i.scroll,b=i.scrollFn,scrollEl$1===!0&&(scrollEl$1=getParentAutoScrollElement$1(u,!0)));var w=0,k=scrollEl$1;do{var $=k,S=getRect$1($),C=S.top,E=S.bottom,D=S.left,A=S.right,O=S.width,F=S.height,B=void 0,I=void 0,M=$.scrollWidth,z=$.scrollHeight,q=css$1($),H=$.scrollLeft,Q=$.scrollTop;$===g?(B=O<M&&(q.overflowX==="auto"||q.overflowX==="scroll"||q.overflowX==="visible"),I=F<z&&(q.overflowY==="auto"||q.overflowY==="scroll"||q.overflowY==="visible")):(B=O<M&&(q.overflowX==="auto"||q.overflowX==="scroll"),I=F<z&&(q.overflowY==="auto"||q.overflowY==="scroll"));var j=B&&(Math.abs(A-d)<=f&&H+O<M)-(Math.abs(D-d)<=f&&!!H),ee=I&&(Math.abs(E-m)<=f&&Q+F<z)-(Math.abs(C-m)<=f&&!!Q);if(!autoScrolls$1[w])for(var G=0;G<=w;G++)autoScrolls$1[G]||(autoScrolls$1[G]={});(autoScrolls$1[w].vx!=j||autoScrolls$1[w].vy!=ee||autoScrolls$1[w].el!==$)&&(autoScrolls$1[w].el=$,autoScrolls$1[w].vx=j,autoScrolls$1[w].vy=ee,clearInterval(autoScrolls$1[w].pid),(j!=0||ee!=0)&&(y=!0,autoScrolls$1[w].pid=setInterval((function(){c&&this.layer===0&&Sortable$1.active._onTouchMove(touchEvt$1$1);var J=autoScrolls$1[this.layer].vy?autoScrolls$1[this.layer].vy*v:0,te=autoScrolls$1[this.layer].vx?autoScrolls$1[this.layer].vx*v:0;typeof b=="function"&&b.call(Sortable$1.dragged.parentNode[expando$1],te,J,a,touchEvt$1$1,autoScrolls$1[this.layer].el)!=="continue"||scrollBy$1(autoScrolls$1[this.layer].el,te,J)}).bind({layer:w}),24))),w++}while(i.bubbleScroll&&k!==g&&(k=getParentAutoScrollElement$1(k,!1)));scrolling$1=y}},30),drop$1=function a(i){var u=i.originalEvent,c=i.putSortable,d=i.dragEl,m=i.activeSortable,f=i.dispatchSortableEvent,v=i.hideGhostForTarget,g=i.unhideGhostForTarget;if(u){var y=c||m;v();var b=u.changedTouches&&u.changedTouches.length?u.changedTouches[0]:u,w=document.elementFromPoint(b.clientX,b.clientY);g(),y&&!y.el.contains(w)&&(f("spill"),this.onSpill({dragEl:d,putSortable:c}))}};function Revert$1(){}Revert$1.prototype={startIndex:null,dragStart:function a(i){var u=i.oldDraggableIndex;this.startIndex=u},onSpill:function a(i){var u=i.dragEl,c=i.putSortable;this.sortable.captureAnimationState(),c&&c.captureAnimationState();var d=getChild$1(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(u,d):this.sortable.el.appendChild(u),this.sortable.animateAll(),c&&c.animateAll()},drop:drop$1};_extends$1(Revert$1,{pluginName:"revertOnSpill"});function Remove$1(){}Remove$1.prototype={onSpill:function a(i){var u=i.dragEl,c=i.putSortable,d=c||this.sortable;d.captureAnimationState(),u.parentNode&&u.parentNode.removeChild(u),d.animateAll()},drop:drop$1};_extends$1(Remove$1,{pluginName:"removeOnSpill"});var lastSwapEl;function SwapPlugin(){function a(){this.defaults={swapClass:"sortable-swap-highlight"}}return a.prototype={dragStart:function(u){var c=u.dragEl;lastSwapEl=c},dragOverValid:function(u){var c=u.completed,d=u.target,m=u.onMove,f=u.activeSortable,v=u.changed,g=u.cancel;if(f.options.swap){var y=this.sortable.el,b=this.options;if(d&&d!==y){var w=lastSwapEl;m(d)!==!1?(toggleClass$2(d,b.swapClass,!0),lastSwapEl=d):lastSwapEl=null,w&&w!==lastSwapEl&&toggleClass$2(w,b.swapClass,!1)}v(),c(!0),g()}},drop:function(u){var c=u.activeSortable,d=u.putSortable,m=u.dragEl,f=d||this.sortable,v=this.options;lastSwapEl&&toggleClass$2(lastSwapEl,v.swapClass,!1),lastSwapEl&&(v.swap||d&&d.options.swap)&&m!==lastSwapEl&&(f.captureAnimationState(),f!==c&&c.captureAnimationState(),swapNodes(m,lastSwapEl),f.animateAll(),f!==c&&c.animateAll())},nulling:function(){lastSwapEl=null}},_extends$1(a,{pluginName:"swap",eventProperties:function(){return{swapItem:lastSwapEl}}})}function swapNodes(a,i){var u=a.parentNode,c=i.parentNode,d,m;!u||!c||u.isEqualNode(i)||c.isEqualNode(a)||(d=index$4(a),m=index$4(i),u.isEqualNode(c)&&d<m&&m++,u.insertBefore(i,u.children[d]),c.insertBefore(a,c.children[m]))}var multiDragElements=[],multiDragClones=[],lastMultiDragSelect,multiDragSortable,initialFolding=!1,folding=!1,dragStarted=!1,dragEl$1$1,clonesFromRect,clonesHidden;function MultiDragPlugin(){function a(i){for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this));i.options.supportPointer?on$1(document,"pointerup",this._deselectMultiDrag):(on$1(document,"mouseup",this._deselectMultiDrag),on$1(document,"touchend",this._deselectMultiDrag)),on$1(document,"keydown",this._checkKeyDown),on$1(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(d,m){var f="";multiDragElements.length&&multiDragSortable===i?multiDragElements.forEach(function(v,g){f+=(g?", ":"")+v.textContent}):f=m.textContent,d.setData("Text",f)}}}return a.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(u){var c=u.dragEl;dragEl$1$1=c},delayEnded:function(){this.isMultiDrag=~multiDragElements.indexOf(dragEl$1$1)},setupClone:function(u){var c=u.sortable,d=u.cancel;if(this.isMultiDrag){for(var m=0;m<multiDragElements.length;m++)multiDragClones.push(clone$3(multiDragElements[m])),multiDragClones[m].sortableIndex=multiDragElements[m].sortableIndex,multiDragClones[m].draggable=!1,multiDragClones[m].style["will-change"]="",toggleClass$2(multiDragClones[m],this.options.selectedClass,!1),multiDragElements[m]===dragEl$1$1&&toggleClass$2(multiDragClones[m],this.options.chosenClass,!1);c._hideClone(),d()}},clone:function(u){var c=u.sortable,d=u.rootEl,m=u.dispatchSortableEvent,f=u.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||multiDragElements.length&&multiDragSortable===c&&(insertMultiDragClones(!0,d),m("clone"),f()))},showClone:function(u){var c=u.cloneNowShown,d=u.rootEl,m=u.cancel;this.isMultiDrag&&(insertMultiDragClones(!1,d),multiDragClones.forEach(function(f){css$1(f,"display","")}),c(),clonesHidden=!1,m())},hideClone:function(u){var c=this;u.sortable;var d=u.cloneNowHidden,m=u.cancel;this.isMultiDrag&&(multiDragClones.forEach(function(f){css$1(f,"display","none"),c.options.removeCloneOnHide&&f.parentNode&&f.parentNode.removeChild(f)}),d(),clonesHidden=!0,m())},dragStartGlobal:function(u){u.sortable,!this.isMultiDrag&&multiDragSortable&&multiDragSortable.multiDrag._deselectMultiDrag(),multiDragElements.forEach(function(c){c.sortableIndex=index$4(c)}),multiDragElements=multiDragElements.sort(function(c,d){return c.sortableIndex-d.sortableIndex}),dragStarted=!0},dragStarted:function(u){var c=this,d=u.sortable;if(this.isMultiDrag){if(this.options.sort&&(d.captureAnimationState(),this.options.animation)){multiDragElements.forEach(function(f){f!==dragEl$1$1&&css$1(f,"position","absolute")});var m=getRect$1(dragEl$1$1,!1,!0,!0);multiDragElements.forEach(function(f){f!==dragEl$1$1&&setRect(f,m)}),folding=!0,initialFolding=!0}d.animateAll(function(){folding=!1,initialFolding=!1,c.options.animation&&multiDragElements.forEach(function(f){unsetRect(f)}),c.options.sort&&removeMultiDragElements()})}},dragOver:function(u){var c=u.target,d=u.completed,m=u.cancel;folding&&~multiDragElements.indexOf(c)&&(d(!1),m())},revert:function(u){var c=u.fromSortable,d=u.rootEl,m=u.sortable,f=u.dragRect;multiDragElements.length>1&&(multiDragElements.forEach(function(v){m.addAnimationState({target:v,rect:folding?getRect$1(v):f}),unsetRect(v),v.fromRect=f,c.removeAnimationState(v)}),folding=!1,insertMultiDragElements(!this.options.removeCloneOnHide,d))},dragOverCompleted:function(u){var c=u.sortable,d=u.isOwner,m=u.insertion,f=u.activeSortable,v=u.parentEl,g=u.putSortable,y=this.options;if(m){if(d&&f._hideClone(),initialFolding=!1,y.animation&&multiDragElements.length>1&&(folding||!d&&!f.options.sort&&!g)){var b=getRect$1(dragEl$1$1,!1,!0,!0);multiDragElements.forEach(function(k){k!==dragEl$1$1&&(setRect(k,b),v.appendChild(k))}),folding=!0}if(!d)if(folding||removeMultiDragElements(),multiDragElements.length>1){var w=clonesHidden;f._showClone(c),f.options.animation&&!clonesHidden&&w&&multiDragClones.forEach(function(k){f.addAnimationState({target:k,rect:clonesFromRect}),k.fromRect=clonesFromRect,k.thisAnimationDuration=null})}else f._showClone(c)}},dragOverAnimationCapture:function(u){var c=u.dragRect,d=u.isOwner,m=u.activeSortable;if(multiDragElements.forEach(function(v){v.thisAnimationDuration=null}),m.options.animation&&!d&&m.multiDrag.isMultiDrag){clonesFromRect=_extends$1({},c);var f=matrix$1(dragEl$1$1,!0);clonesFromRect.top-=f.f,clonesFromRect.left-=f.e}},dragOverAnimationComplete:function(){folding&&(folding=!1,removeMultiDragElements())},drop:function(u){var c=u.originalEvent,d=u.rootEl,m=u.parentEl,f=u.sortable,v=u.dispatchSortableEvent,g=u.oldIndex,y=u.putSortable,b=y||this.sortable;if(c){var w=this.options,k=m.children;if(!dragStarted)if(w.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),toggleClass$2(dragEl$1$1,w.selectedClass,!~multiDragElements.indexOf(dragEl$1$1)),~multiDragElements.indexOf(dragEl$1$1))multiDragElements.splice(multiDragElements.indexOf(dragEl$1$1),1),lastMultiDragSelect=null,dispatchEvent$1({sortable:f,rootEl:d,name:"deselect",targetEl:dragEl$1$1,originalEvt:c});else{if(multiDragElements.push(dragEl$1$1),dispatchEvent$1({sortable:f,rootEl:d,name:"select",targetEl:dragEl$1$1,originalEvt:c}),c.shiftKey&&lastMultiDragSelect&&f.el.contains(lastMultiDragSelect)){var $=index$4(lastMultiDragSelect),S=index$4(dragEl$1$1);if(~$&&~S&&$!==S){var C,E;for(S>$?(E=$,C=S):(E=S,C=$+1);E<C;E++)~multiDragElements.indexOf(k[E])||(toggleClass$2(k[E],w.selectedClass,!0),multiDragElements.push(k[E]),dispatchEvent$1({sortable:f,rootEl:d,name:"select",targetEl:k[E],originalEvt:c}))}}else lastMultiDragSelect=dragEl$1$1;multiDragSortable=b}if(dragStarted&&this.isMultiDrag){if(folding=!1,(m[expando$1].options.sort||m!==d)&&multiDragElements.length>1){var D=getRect$1(dragEl$1$1),A=index$4(dragEl$1$1,":not(."+this.options.selectedClass+")");if(!initialFolding&&w.animation&&(dragEl$1$1.thisAnimationDuration=null),b.captureAnimationState(),!initialFolding&&(w.animation&&(dragEl$1$1.fromRect=D,multiDragElements.forEach(function(F){if(F.thisAnimationDuration=null,F!==dragEl$1$1){var B=folding?getRect$1(F):D;F.fromRect=B,b.addAnimationState({target:F,rect:B})}})),removeMultiDragElements(),multiDragElements.forEach(function(F){k[A]?m.insertBefore(F,k[A]):m.appendChild(F),A++}),g===index$4(dragEl$1$1))){var O=!1;multiDragElements.forEach(function(F){if(F.sortableIndex!==index$4(F)){O=!0;return}}),O&&v("update")}multiDragElements.forEach(function(F){unsetRect(F)}),b.animateAll()}multiDragSortable=b}(d===m||y&&y.lastPutMode!=="clone")&&multiDragClones.forEach(function(F){F.parentNode&&F.parentNode.removeChild(F)})}},nullingGlobal:function(){this.isMultiDrag=dragStarted=!1,multiDragClones.length=0},destroyGlobal:function(){this._deselectMultiDrag(),off$1(document,"pointerup",this._deselectMultiDrag),off$1(document,"mouseup",this._deselectMultiDrag),off$1(document,"touchend",this._deselectMultiDrag),off$1(document,"keydown",this._checkKeyDown),off$1(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(u){if(!(typeof dragStarted<"u"&&dragStarted)&&multiDragSortable===this.sortable&&!(u&&closest$2(u.target,this.options.draggable,this.sortable.el,!1))&&!(u&&u.button!==0))for(;multiDragElements.length;){var c=multiDragElements[0];toggleClass$2(c,this.options.selectedClass,!1),multiDragElements.shift(),dispatchEvent$1({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:c,originalEvt:u})}},_checkKeyDown:function(u){u.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(u){u.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_extends$1(a,{pluginName:"multiDrag",utils:{select:function(u){var c=u.parentNode[expando$1];!c||!c.options.multiDrag||~multiDragElements.indexOf(u)||(multiDragSortable&&multiDragSortable!==c&&(multiDragSortable.multiDrag._deselectMultiDrag(),multiDragSortable=c),toggleClass$2(u,c.options.selectedClass,!0),multiDragElements.push(u))},deselect:function(u){var c=u.parentNode[expando$1],d=multiDragElements.indexOf(u);!c||!c.options.multiDrag||!~d||(toggleClass$2(u,c.options.selectedClass,!1),multiDragElements.splice(d,1))}},eventProperties:function(){var u=this,c=[],d=[];return multiDragElements.forEach(function(m){c.push({multiDragElement:m,index:m.sortableIndex});var f;folding&&m!==dragEl$1$1?f=-1:folding?f=index$4(m,":not(."+u.options.selectedClass+")"):f=index$4(m),d.push({multiDragElement:m,index:f})}),{items:_toConsumableArray(multiDragElements),clones:[].concat(multiDragClones),oldIndicies:c,newIndicies:d}},optionListeners:{multiDragKey:function(u){return u=u.toLowerCase(),u==="ctrl"?u="Control":u.length>1&&(u=u.charAt(0).toUpperCase()+u.substr(1)),u}}})}function insertMultiDragElements(a,i){multiDragElements.forEach(function(u,c){var d=i.children[u.sortableIndex+(a?Number(c):0)];d?i.insertBefore(u,d):i.appendChild(u)})}function insertMultiDragClones(a,i){multiDragClones.forEach(function(u,c){var d=i.children[u.sortableIndex+(a?Number(c):0)];d?i.insertBefore(u,d):i.appendChild(u)})}function removeMultiDragElements(){multiDragElements.forEach(function(a){a!==dragEl$1$1&&a.parentNode&&a.parentNode.removeChild(a)})}Sortable$1.mount(new AutoScrollPlugin$1);Sortable$1.mount(Remove$1,Revert$1);const sortable_esm=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:MultiDragPlugin,Sortable:Sortable$1,Swap:SwapPlugin,default:Sortable$1},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(sortable_esm);(function(a,i){(function(c,d){a.exports=d(require$$0,require$$1)})(typeof self<"u"?self:commonjsGlobal$2,function(u,c){return function(d){var m={};function f(v){if(m[v])return m[v].exports;var g=m[v]={i:v,l:!1,exports:{}};return d[v].call(g.exports,g,g.exports,f),g.l=!0,g.exports}return f.m=d,f.c=m,f.d=function(v,g,y){f.o(v,g)||Object.defineProperty(v,g,{enumerable:!0,get:y})},f.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},f.t=function(v,g){if(g&1&&(v=f(v)),g&8||g&4&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(f.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),g&2&&typeof v!="string")for(var b in v)f.d(y,b,(function(w){return v[w]}).bind(null,b));return y},f.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return f.d(g,"a",g),g},f.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)},f.p="",f(f.s="fb15")}({"00ee":function(d,m,f){var v=f("b622"),g=v("toStringTag"),y={};y[g]="z",d.exports=String(y)==="[object z]"},"0366":function(d,m,f){var v=f("1c0b");d.exports=function(g,y,b){if(v(g),y===void 0)return g;switch(b){case 0:return function(){return g.call(y)};case 1:return function(w){return g.call(y,w)};case 2:return function(w,k){return g.call(y,w,k)};case 3:return function(w,k,$){return g.call(y,w,k,$)}}return function(){return g.apply(y,arguments)}}},"057f":function(d,m,f){var v=f("fc6a"),g=f("241c").f,y={}.toString,b=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],w=function(k){try{return g(k)}catch{return b.slice()}};d.exports.f=function($){return b&&y.call($)=="[object Window]"?w($):g(v($))}},"06cf":function(d,m,f){var v=f("83ab"),g=f("d1e7"),y=f("5c6c"),b=f("fc6a"),w=f("c04e"),k=f("5135"),$=f("0cfb"),S=Object.getOwnPropertyDescriptor;m.f=v?S:function(E,D){if(E=b(E),D=w(D,!0),$)try{return S(E,D)}catch{}if(k(E,D))return y(!g.f.call(E,D),E[D])}},"0cfb":function(d,m,f){var v=f("83ab"),g=f("d039"),y=f("cc12");d.exports=!v&&!g(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(d,m,f){var v=f("23e7"),g=f("d58f").left,y=f("a640"),b=f("ae40"),w=y("reduce"),k=b("reduce",{1:0});v({target:"Array",proto:!0,forced:!w||!k},{reduce:function(S){return g(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(d,m,f){var v=f("c6b6"),g=f("9263");d.exports=function(y,b){var w=y.exec;if(typeof w=="function"){var k=w.call(y,b);if(typeof k!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return k}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return g.call(y,b)}},"159b":function(d,m,f){var v=f("da84"),g=f("fdbc"),y=f("17c2"),b=f("9112");for(var w in g){var k=v[w],$=k&&k.prototype;if($&&$.forEach!==y)try{b($,"forEach",y)}catch{$.forEach=y}}},"17c2":function(d,m,f){var v=f("b727").forEach,g=f("a640"),y=f("ae40"),b=g("forEach"),w=y("forEach");d.exports=!b||!w?function($){return v(this,$,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(d,m,f){var v=f("d066");d.exports=v("document","documentElement")},"1c0b":function(d,m){d.exports=function(f){if(typeof f!="function")throw TypeError(String(f)+" is not a function");return f}},"1c7e":function(d,m,f){var v=f("b622"),g=v("iterator"),y=!1;try{var b=0,w={next:function(){return{done:!!b++}},return:function(){y=!0}};w[g]=function(){return this},Array.from(w,function(){throw 2})}catch{}d.exports=function(k,$){if(!$&&!y)return!1;var S=!1;try{var C={};C[g]=function(){return{next:function(){return{done:S=!0}}}},k(C)}catch{}return S}},"1d80":function(d,m){d.exports=function(f){if(f==null)throw TypeError("Can't call method on "+f);return f}},"1dde":function(d,m,f){var v=f("d039"),g=f("b622"),y=f("2d00"),b=g("species");d.exports=function(w){return y>=51||!v(function(){var k=[],$=k.constructor={};return $[b]=function(){return{foo:1}},k[w](Boolean).foo!==1})}},"23cb":function(d,m,f){var v=f("a691"),g=Math.max,y=Math.min;d.exports=function(b,w){var k=v(b);return k<0?g(k+w,0):y(k,w)}},"23e7":function(d,m,f){var v=f("da84"),g=f("06cf").f,y=f("9112"),b=f("6eeb"),w=f("ce4e"),k=f("e893"),$=f("94ca");d.exports=function(S,C){var E=S.target,D=S.global,A=S.stat,O,F,B,I,M,z;if(D?F=v:A?F=v[E]||w(E,{}):F=(v[E]||{}).prototype,F)for(B in C){if(M=C[B],S.noTargetGet?(z=g(F,B),I=z&&z.value):I=F[B],O=$(D?B:E+(A?".":"#")+B,S.forced),!O&&I!==void 0){if(typeof M==typeof I)continue;k(M,I)}(S.sham||I&&I.sham)&&y(M,"sham",!0),b(F,B,M,S)}}},"241c":function(d,m,f){var v=f("ca84"),g=f("7839"),y=g.concat("length","prototype");m.f=Object.getOwnPropertyNames||function(w){return v(w,y)}},"25f0":function(d,m,f){var v=f("6eeb"),g=f("825a"),y=f("d039"),b=f("ad6d"),w="toString",k=RegExp.prototype,$=k[w],S=y(function(){return $.call({source:"a",flags:"b"})!="/a/b"}),C=$.name!=w;(S||C)&&v(RegExp.prototype,w,function(){var D=g(this),A=String(D.source),O=D.flags,F=String(O===void 0&&D instanceof RegExp&&!("flags"in k)?b.call(D):O);return"/"+A+"/"+F},{unsafe:!0})},"2ca0":function(d,m,f){var v=f("23e7"),g=f("06cf").f,y=f("50c4"),b=f("5a34"),w=f("1d80"),k=f("ab13"),$=f("c430"),S="".startsWith,C=Math.min,E=k("startsWith"),D=!$&&!E&&!!function(){var A=g(String.prototype,"startsWith");return A&&!A.writable}();v({target:"String",proto:!0,forced:!D&&!E},{startsWith:function(O){var F=String(w(this));b(O);var B=y(C(arguments.length>1?arguments[1]:void 0,F.length)),I=String(O);return S?S.call(F,I,B):F.slice(B,B+I.length)===I}})},"2d00":function(d,m,f){var v=f("da84"),g=f("342f"),y=v.process,b=y&&y.versions,w=b&&b.v8,k,$;w?(k=w.split("."),$=k[0]+k[1]):g&&(k=g.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=g.match(/Chrome\/(\d+)/),k&&($=k[1]))),d.exports=$&&+$},"342f":function(d,m,f){var v=f("d066");d.exports=v("navigator","userAgent")||""},"35a1":function(d,m,f){var v=f("f5df"),g=f("3f8c"),y=f("b622"),b=y("iterator");d.exports=function(w){if(w!=null)return w[b]||w["@@iterator"]||g[v(w)]}},"37e8":function(d,m,f){var v=f("83ab"),g=f("9bf2"),y=f("825a"),b=f("df75");d.exports=v?Object.defineProperties:function(k,$){y(k);for(var S=b($),C=S.length,E=0,D;C>E;)g.f(k,D=S[E++],$[D]);return k}},"3bbe":function(d,m,f){var v=f("861d");d.exports=function(g){if(!v(g)&&g!==null)throw TypeError("Can't set "+String(g)+" as a prototype");return g}},"3ca3":function(d,m,f){var v=f("6547").charAt,g=f("69f3"),y=f("7dd0"),b="String Iterator",w=g.set,k=g.getterFor(b);y(String,"String",function($){w(this,{type:b,string:String($),index:0})},function(){var S=k(this),C=S.string,E=S.index,D;return E>=C.length?{value:void 0,done:!0}:(D=v(C,E),S.index+=D.length,{value:D,done:!1})})},"3f8c":function(d,m){d.exports={}},4160:function(d,m,f){var v=f("23e7"),g=f("17c2");v({target:"Array",proto:!0,forced:[].forEach!=g},{forEach:g})},"428f":function(d,m,f){var v=f("da84");d.exports=v},"44ad":function(d,m,f){var v=f("d039"),g=f("c6b6"),y="".split;d.exports=v(function(){return!Object("z").propertyIsEnumerable(0)})?function(b){return g(b)=="String"?y.call(b,""):Object(b)}:Object},"44d2":function(d,m,f){var v=f("b622"),g=f("7c73"),y=f("9bf2"),b=v("unscopables"),w=Array.prototype;w[b]==null&&y.f(w,b,{configurable:!0,value:g(null)}),d.exports=function(k){w[b][k]=!0}},"44e7":function(d,m,f){var v=f("861d"),g=f("c6b6"),y=f("b622"),b=y("match");d.exports=function(w){var k;return v(w)&&((k=w[b])!==void 0?!!k:g(w)=="RegExp")}},4930:function(d,m,f){var v=f("d039");d.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},"4d64":function(d,m,f){var v=f("fc6a"),g=f("50c4"),y=f("23cb"),b=function(w){return function(k,$,S){var C=v(k),E=g(C.length),D=y(S,E),A;if(w&&$!=$){for(;E>D;)if(A=C[D++],A!=A)return!0}else for(;E>D;D++)if((w||D in C)&&C[D]===$)return w||D||0;return!w&&-1}};d.exports={includes:b(!0),indexOf:b(!1)}},"4de4":function(d,m,f){var v=f("23e7"),g=f("b727").filter,y=f("1dde"),b=f("ae40"),w=y("filter"),k=b("filter");v({target:"Array",proto:!0,forced:!w||!k},{filter:function(S){return g(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(d,m,f){var v=f("0366"),g=f("7b0b"),y=f("9bdd"),b=f("e95a"),w=f("50c4"),k=f("8418"),$=f("35a1");d.exports=function(C){var E=g(C),D=typeof this=="function"?this:Array,A=arguments.length,O=A>1?arguments[1]:void 0,F=O!==void 0,B=$(E),I=0,M,z,q,H,Q,j;if(F&&(O=v(O,A>2?arguments[2]:void 0,2)),B!=null&&!(D==Array&&b(B)))for(H=B.call(E),Q=H.next,z=new D;!(q=Q.call(H)).done;I++)j=F?y(H,O,[q.value,I],!0):q.value,k(z,I,j);else for(M=w(E.length),z=new D(M);M>I;I++)j=F?O(E[I],I):E[I],k(z,I,j);return z.length=I,z}},"4fad":function(d,m,f){var v=f("23e7"),g=f("6f53").entries;v({target:"Object",stat:!0},{entries:function(b){return g(b)}})},"50c4":function(d,m,f){var v=f("a691"),g=Math.min;d.exports=function(y){return y>0?g(v(y),9007199254740991):0}},5135:function(d,m){var f={}.hasOwnProperty;d.exports=function(v,g){return f.call(v,g)}},5319:function(d,m,f){var v=f("d784"),g=f("825a"),y=f("7b0b"),b=f("50c4"),w=f("a691"),k=f("1d80"),$=f("8aa5"),S=f("14c3"),C=Math.max,E=Math.min,D=Math.floor,A=/\$([$&'`]|\d\d?|<[^>]*>)/g,O=/\$([$&'`]|\d\d?)/g,F=function(B){return B===void 0?B:String(B)};v("replace",2,function(B,I,M,z){var q=z.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,H=z.REPLACE_KEEPS_$0,Q=q?"$":"$0";return[function(G,J){var te=k(this),re=G==null?void 0:G[B];return re!==void 0?re.call(G,te,J):I.call(String(te),G,J)},function(ee,G){if(!q&&H||typeof G=="string"&&G.indexOf(Q)===-1){var J=M(I,ee,this,G);if(J.done)return J.value}var te=g(ee),re=String(this),ae=typeof G=="function";ae||(G=String(G));var ye=te.global;if(ye){var ve=te.unicode;te.lastIndex=0}for(var le=[];;){var Se=S(te,re);if(Se===null||(le.push(Se),!ye))break;var De=String(Se[0]);De===""&&(te.lastIndex=$(re,b(te.lastIndex),ve))}for(var At="",Le=0,ke=0;ke<le.length;ke++){Se=le[ke];for(var ue=String(Se[0]),Ce=C(E(w(Se.index),re.length),0),Te=[],Pe=1;Pe<Se.length;Pe++)Te.push(F(Se[Pe]));var Vt=Se.groups;if(ae){var Ie=[ue].concat(Te,Ce,re);Vt!==void 0&&Ie.push(Vt);var ie=String(G.apply(void 0,Ie))}else ie=j(ue,re,Ce,Te,Vt,G);Ce>=Le&&(At+=re.slice(Le,Ce)+ie,Le=Ce+ue.length)}return At+re.slice(Le)}];function j(ee,G,J,te,re,ae){var ye=J+ee.length,ve=te.length,le=O;return re!==void 0&&(re=y(re),le=A),I.call(ae,le,function(Se,De){var At;switch(De.charAt(0)){case"$":return"$";case"&":return ee;case"`":return G.slice(0,J);case"'":return G.slice(ye);case"<":At=re[De.slice(1,-1)];break;default:var Le=+De;if(Le===0)return Se;if(Le>ve){var ke=D(Le/10);return ke===0?Se:ke<=ve?te[ke-1]===void 0?De.charAt(1):te[ke-1]+De.charAt(1):Se}At=te[Le-1]}return At===void 0?"":At})}})},5692:function(d,m,f){var v=f("c430"),g=f("c6cd");(d.exports=function(y,b){return g[y]||(g[y]=b!==void 0?b:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(d,m,f){var v=f("d066"),g=f("241c"),y=f("7418"),b=f("825a");d.exports=v("Reflect","ownKeys")||function(k){var $=g.f(b(k)),S=y.f;return S?$.concat(S(k)):$}},"5a34":function(d,m,f){var v=f("44e7");d.exports=function(g){if(v(g))throw TypeError("The method doesn't accept regular expressions");return g}},"5c6c":function(d,m){d.exports=function(f,v){return{enumerable:!(f&1),configurable:!(f&2),writable:!(f&4),value:v}}},"5db7":function(d,m,f){var v=f("23e7"),g=f("a2bf"),y=f("7b0b"),b=f("50c4"),w=f("1c0b"),k=f("65f0");v({target:"Array",proto:!0},{flatMap:function(S){var C=y(this),E=b(C.length),D;return w(S),D=k(C,0),D.length=g(D,C,C,E,0,1,S,arguments.length>1?arguments[1]:void 0),D}})},6547:function(d,m,f){var v=f("a691"),g=f("1d80"),y=function(b){return function(w,k){var $=String(g(w)),S=v(k),C=$.length,E,D;return S<0||S>=C?b?"":void 0:(E=$.charCodeAt(S),E<55296||E>56319||S+1===C||(D=$.charCodeAt(S+1))<56320||D>57343?b?$.charAt(S):E:b?$.slice(S,S+2):(E-55296<<10)+(D-56320)+65536)}};d.exports={codeAt:y(!1),charAt:y(!0)}},"65f0":function(d,m,f){var v=f("861d"),g=f("e8b5"),y=f("b622"),b=y("species");d.exports=function(w,k){var $;return g(w)&&($=w.constructor,typeof $=="function"&&($===Array||g($.prototype))?$=void 0:v($)&&($=$[b],$===null&&($=void 0))),new($===void 0?Array:$)(k===0?0:k)}},"69f3":function(d,m,f){var v=f("7f9a"),g=f("da84"),y=f("861d"),b=f("9112"),w=f("5135"),k=f("f772"),$=f("d012"),S=g.WeakMap,C,E,D,A=function(q){return D(q)?E(q):C(q,{})},O=function(q){return function(H){var Q;if(!y(H)||(Q=E(H)).type!==q)throw TypeError("Incompatible receiver, "+q+" required");return Q}};if(v){var F=new S,B=F.get,I=F.has,M=F.set;C=function(q,H){return M.call(F,q,H),H},E=function(q){return B.call(F,q)||{}},D=function(q){return I.call(F,q)}}else{var z=k("state");$[z]=!0,C=function(q,H){return b(q,z,H),H},E=function(q){return w(q,z)?q[z]:{}},D=function(q){return w(q,z)}}d.exports={set:C,get:E,has:D,enforce:A,getterFor:O}},"6eeb":function(d,m,f){var v=f("da84"),g=f("9112"),y=f("5135"),b=f("ce4e"),w=f("8925"),k=f("69f3"),$=k.get,S=k.enforce,C=String(String).split("String");(d.exports=function(E,D,A,O){var F=O?!!O.unsafe:!1,B=O?!!O.enumerable:!1,I=O?!!O.noTargetGet:!1;if(typeof A=="function"&&(typeof D=="string"&&!y(A,"name")&&g(A,"name",D),S(A).source=C.join(typeof D=="string"?D:"")),E===v){B?E[D]=A:b(D,A);return}else F?!I&&E[D]&&(B=!0):delete E[D];B?E[D]=A:g(E,D,A)})(Function.prototype,"toString",function(){return typeof this=="function"&&$(this).source||w(this)})},"6f53":function(d,m,f){var v=f("83ab"),g=f("df75"),y=f("fc6a"),b=f("d1e7").f,w=function(k){return function($){for(var S=y($),C=g(S),E=C.length,D=0,A=[],O;E>D;)O=C[D++],(!v||b.call(S,O))&&A.push(k?[O,S[O]]:S[O]);return A}};d.exports={entries:w(!0),values:w(!1)}},"73d9":function(d,m,f){var v=f("44d2");v("flatMap")},7418:function(d,m){m.f=Object.getOwnPropertySymbols},"746f":function(d,m,f){var v=f("428f"),g=f("5135"),y=f("e538"),b=f("9bf2").f;d.exports=function(w){var k=v.Symbol||(v.Symbol={});g(k,w)||b(k,w,{value:y.f(w)})}},7839:function(d,m){d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(d,m,f){var v=f("1d80");d.exports=function(g){return Object(v(g))}},"7c73":function(d,m,f){var v=f("825a"),g=f("37e8"),y=f("7839"),b=f("d012"),w=f("1be4"),k=f("cc12"),$=f("f772"),S=">",C="<",E="prototype",D="script",A=$("IE_PROTO"),O=function(){},F=function(q){return C+D+S+q+C+"/"+D+S},B=function(q){q.write(F("")),q.close();var H=q.parentWindow.Object;return q=null,H},I=function(){var q=k("iframe"),H="java"+D+":",Q;return q.style.display="none",w.appendChild(q),q.src=String(H),Q=q.contentWindow.document,Q.open(),Q.write(F("document.F=Object")),Q.close(),Q.F},M,z=function(){try{M=document.domain&&new ActiveXObject("htmlfile")}catch{}z=M?B(M):I();for(var q=y.length;q--;)delete z[E][y[q]];return z()};b[A]=!0,d.exports=Object.create||function(H,Q){var j;return H!==null?(O[E]=v(H),j=new O,O[E]=null,j[A]=H):j=z(),Q===void 0?j:g(j,Q)}},"7dd0":function(d,m,f){var v=f("23e7"),g=f("9ed3"),y=f("e163"),b=f("d2bb"),w=f("d44e"),k=f("9112"),$=f("6eeb"),S=f("b622"),C=f("c430"),E=f("3f8c"),D=f("ae93"),A=D.IteratorPrototype,O=D.BUGGY_SAFARI_ITERATORS,F=S("iterator"),B="keys",I="values",M="entries",z=function(){return this};d.exports=function(q,H,Q,j,ee,G,J){g(Q,H,j);var te=function(ke){if(ke===ee&&le)return le;if(!O&&ke in ye)return ye[ke];switch(ke){case B:return function(){return new Q(this,ke)};case I:return function(){return new Q(this,ke)};case M:return function(){return new Q(this,ke)}}return function(){return new Q(this)}},re=H+" Iterator",ae=!1,ye=q.prototype,ve=ye[F]||ye["@@iterator"]||ee&&ye[ee],le=!O&&ve||te(ee),Se=H=="Array"&&ye.entries||ve,De,At,Le;if(Se&&(De=y(Se.call(new q)),A!==Object.prototype&&De.next&&(!C&&y(De)!==A&&(b?b(De,A):typeof De[F]!="function"&&k(De,F,z)),w(De,re,!0,!0),C&&(E[re]=z))),ee==I&&ve&&ve.name!==I&&(ae=!0,le=function(){return ve.call(this)}),(!C||J)&&ye[F]!==le&&k(ye,F,le),E[H]=le,ee)if(At={values:te(I),keys:G?le:te(B),entries:te(M)},J)for(Le in At)(O||ae||!(Le in ye))&&$(ye,Le,At[Le]);else v({target:H,proto:!0,forced:O||ae},At);return At}},"7f9a":function(d,m,f){var v=f("da84"),g=f("8925"),y=v.WeakMap;d.exports=typeof y=="function"&&/native code/.test(g(y))},"825a":function(d,m,f){var v=f("861d");d.exports=function(g){if(!v(g))throw TypeError(String(g)+" is not an object");return g}},"83ab":function(d,m,f){var v=f("d039");d.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(d,m,f){var v=f("c04e"),g=f("9bf2"),y=f("5c6c");d.exports=function(b,w,k){var $=v(w);$ in b?g.f(b,$,y(0,k)):b[$]=k}},"861d":function(d,m){d.exports=function(f){return typeof f=="object"?f!==null:typeof f=="function"}},8875:function(d,m,f){var v,g,y;(function(b,w){g=[],v=w,y=typeof v=="function"?v.apply(m,g):v,y!==void 0&&(d.exports=y)})(typeof self<"u"?self:this,function(){function b(){var w=Object.getOwnPropertyDescriptor(document,"currentScript");if(!w&&"currentScript"in document&&document.currentScript||w&&w.get!==b&&document.currentScript)return document.currentScript;try{throw new Error}catch(M){var k=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,$=/@([^@]*):(\d+):(\d+)\s*$/ig,S=k.exec(M.stack)||$.exec(M.stack),C=S&&S[1]||!1,E=S&&S[2]||!1,D=document.location.href.replace(document.location.hash,""),A,O,F,B=document.getElementsByTagName("script");C===D&&(A=document.documentElement.outerHTML,O=new RegExp("(?:[^\\n]+?\\n){0,"+(E-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),F=A.replace(O,"$1").trim());for(var I=0;I<B.length;I++)if(B[I].readyState==="interactive"||B[I].src===C||C===D&&B[I].innerHTML&&B[I].innerHTML.trim()===F)return B[I];return null}}return b})},8925:function(d,m,f){var v=f("c6cd"),g=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return g.call(y)}),d.exports=v.inspectSource},"8aa5":function(d,m,f){var v=f("6547").charAt;d.exports=function(g,y,b){return y+(b?v(g,y).length:1)}},"8bbf":function(d,m){d.exports=u},"90e3":function(d,m){var f=0,v=Math.random();d.exports=function(g){return"Symbol("+String(g===void 0?"":g)+")_"+(++f+v).toString(36)}},9112:function(d,m,f){var v=f("83ab"),g=f("9bf2"),y=f("5c6c");d.exports=v?function(b,w,k){return g.f(b,w,y(1,k))}:function(b,w,k){return b[w]=k,b}},9263:function(d,m,f){var v=f("ad6d"),g=f("9f7f"),y=RegExp.prototype.exec,b=String.prototype.replace,w=y,k=function(){var E=/a/,D=/b*/g;return y.call(E,"a"),y.call(D,"a"),E.lastIndex!==0||D.lastIndex!==0}(),$=g.UNSUPPORTED_Y||g.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,C=k||S||$;C&&(w=function(D){var A=this,O,F,B,I,M=$&&A.sticky,z=v.call(A),q=A.source,H=0,Q=D;return M&&(z=z.replace("y",""),z.indexOf("g")===-1&&(z+="g"),Q=String(D).slice(A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&D[A.lastIndex-1]!==`
`)&&(q="(?: "+q+")",Q=" "+Q,H++),F=new RegExp("^(?:"+q+")",z)),S&&(F=new RegExp("^"+q+"$(?!\\s)",z)),k&&(O=A.lastIndex),B=y.call(M?F:A,Q),M?B?(B.input=B.input.slice(H),B[0]=B[0].slice(H),B.index=A.lastIndex,A.lastIndex+=B[0].length):A.lastIndex=0:k&&B&&(A.lastIndex=A.global?B.index+B[0].length:O),S&&B&&B.length>1&&b.call(B[0],F,function(){for(I=1;I<arguments.length-2;I++)arguments[I]===void 0&&(B[I]=void 0)}),B}),d.exports=w},"94ca":function(d,m,f){var v=f("d039"),g=/#|\.prototype\./,y=function(S,C){var E=w[b(S)];return E==$?!0:E==k?!1:typeof C=="function"?v(C):!!C},b=y.normalize=function(S){return String(S).replace(g,".").toLowerCase()},w=y.data={},k=y.NATIVE="N",$=y.POLYFILL="P";d.exports=y},"99af":function(d,m,f){var v=f("23e7"),g=f("d039"),y=f("e8b5"),b=f("861d"),w=f("7b0b"),k=f("50c4"),$=f("8418"),S=f("65f0"),C=f("1dde"),E=f("b622"),D=f("2d00"),A=E("isConcatSpreadable"),O=9007199254740991,F="Maximum allowed index exceeded",B=D>=51||!g(function(){var q=[];return q[A]=!1,q.concat()[0]!==q}),I=C("concat"),M=function(q){if(!b(q))return!1;var H=q[A];return H!==void 0?!!H:y(q)},z=!B||!I;v({target:"Array",proto:!0,forced:z},{concat:function(H){var Q=w(this),j=S(Q,0),ee=0,G,J,te,re,ae;for(G=-1,te=arguments.length;G<te;G++)if(ae=G===-1?Q:arguments[G],M(ae)){if(re=k(ae.length),ee+re>O)throw TypeError(F);for(J=0;J<re;J++,ee++)J in ae&&$(j,ee,ae[J])}else{if(ee>=O)throw TypeError(F);$(j,ee++,ae)}return j.length=ee,j}})},"9bdd":function(d,m,f){var v=f("825a");d.exports=function(g,y,b,w){try{return w?y(v(b)[0],b[1]):y(b)}catch($){var k=g.return;throw k!==void 0&&v(k.call(g)),$}}},"9bf2":function(d,m,f){var v=f("83ab"),g=f("0cfb"),y=f("825a"),b=f("c04e"),w=Object.defineProperty;m.f=v?w:function($,S,C){if(y($),S=b(S,!0),y(C),g)try{return w($,S,C)}catch{}if("get"in C||"set"in C)throw TypeError("Accessors not supported");return"value"in C&&($[S]=C.value),$}},"9ed3":function(d,m,f){var v=f("ae93").IteratorPrototype,g=f("7c73"),y=f("5c6c"),b=f("d44e"),w=f("3f8c"),k=function(){return this};d.exports=function($,S,C){var E=S+" Iterator";return $.prototype=g(v,{next:y(1,C)}),b($,E,!1,!0),w[E]=k,$}},"9f7f":function(d,m,f){var v=f("d039");function g(y,b){return RegExp(y,b)}m.UNSUPPORTED_Y=v(function(){var y=g("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),m.BROKEN_CARET=v(function(){var y=g("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},a2bf:function(d,m,f){var v=f("e8b5"),g=f("50c4"),y=f("0366"),b=function(w,k,$,S,C,E,D,A){for(var O=C,F=0,B=D?y(D,A,3):!1,I;F<S;){if(F in $){if(I=B?B($[F],F,k):$[F],E>0&&v(I))O=b(w,k,I,g(I.length),O,E-1)-1;else{if(O>=9007199254740991)throw TypeError("Exceed the acceptable array length");w[O]=I}O++}F++}return O};d.exports=b},a352:function(d,m){d.exports=c},a434:function(d,m,f){var v=f("23e7"),g=f("23cb"),y=f("a691"),b=f("50c4"),w=f("7b0b"),k=f("65f0"),$=f("8418"),S=f("1dde"),C=f("ae40"),E=S("splice"),D=C("splice",{ACCESSORS:!0,0:0,1:2}),A=Math.max,O=Math.min,F=9007199254740991,B="Maximum allowed length exceeded";v({target:"Array",proto:!0,forced:!E||!D},{splice:function(M,z){var q=w(this),H=b(q.length),Q=g(M,H),j=arguments.length,ee,G,J,te,re,ae;if(j===0?ee=G=0:j===1?(ee=0,G=H-Q):(ee=j-2,G=O(A(y(z),0),H-Q)),H+ee-G>F)throw TypeError(B);for(J=k(q,G),te=0;te<G;te++)re=Q+te,re in q&&$(J,te,q[re]);if(J.length=G,ee<G){for(te=Q;te<H-G;te++)re=te+G,ae=te+ee,re in q?q[ae]=q[re]:delete q[ae];for(te=H;te>H-G+ee;te--)delete q[te-1]}else if(ee>G)for(te=H-G;te>Q;te--)re=te+G-1,ae=te+ee-1,re in q?q[ae]=q[re]:delete q[ae];for(te=0;te<ee;te++)q[te+Q]=arguments[te+2];return q.length=H-G+ee,J}})},a4d3:function(d,m,f){var v=f("23e7"),g=f("da84"),y=f("d066"),b=f("c430"),w=f("83ab"),k=f("4930"),$=f("fdbf"),S=f("d039"),C=f("5135"),E=f("e8b5"),D=f("861d"),A=f("825a"),O=f("7b0b"),F=f("fc6a"),B=f("c04e"),I=f("5c6c"),M=f("7c73"),z=f("df75"),q=f("241c"),H=f("057f"),Q=f("7418"),j=f("06cf"),ee=f("9bf2"),G=f("d1e7"),J=f("9112"),te=f("6eeb"),re=f("5692"),ae=f("f772"),ye=f("d012"),ve=f("90e3"),le=f("b622"),Se=f("e538"),De=f("746f"),At=f("d44e"),Le=f("69f3"),ke=f("b727").forEach,ue=ae("hidden"),Ce="Symbol",Te="prototype",Pe=le("toPrimitive"),Vt=Le.set,Ie=Le.getterFor(Ce),ie=Object[Te],de=g.Symbol,Fe=y("JSON","stringify"),We=j.f,wt=ee.f,jt=H.f,Ut=G.f,Tt=re("symbols"),Ft=re("op-symbols"),St=re("string-to-symbol-registry"),Wt=re("symbol-to-string-registry"),$t=re("wks"),xt=g.QObject,Kt=!xt||!xt[Te]||!xt[Te].findChild,ln=w&&S(function(){return M(wt({},"a",{get:function(){return wt(this,"a",{value:7}).a}})).a!=7})?function(gn,dn,bn){var Oe=We(ie,dn);Oe&&delete ie[dn],wt(gn,dn,bn),Oe&&gn!==ie&&wt(ie,dn,Oe)}:wt,hn=function(gn,dn){var bn=Tt[gn]=M(de[Te]);return Vt(bn,{type:Ce,tag:gn,description:dn}),w||(bn.description=dn),bn},kt=$?function(gn){return typeof gn=="symbol"}:function(gn){return Object(gn)instanceof de},Et=function(dn,bn,Oe){dn===ie&&Et(Ft,bn,Oe),A(dn);var Ye=B(bn,!0);return A(Oe),C(Tt,Ye)?(Oe.enumerable?(C(dn,ue)&&dn[ue][Ye]&&(dn[ue][Ye]=!1),Oe=M(Oe,{enumerable:I(0,!1)})):(C(dn,ue)||wt(dn,ue,I(1,{})),dn[ue][Ye]=!0),ln(dn,Ye,Oe)):wt(dn,Ye,Oe)},zt=function(dn,bn){A(dn);var Oe=F(bn),Ye=z(Oe).concat(wn(Oe));return ke(Ye,function(Rt){(!w||mn.call(Oe,Rt))&&Et(dn,Rt,Oe[Rt])}),dn},Yt=function(dn,bn){return bn===void 0?M(dn):zt(M(dn),bn)},mn=function(dn){var bn=B(dn,!0),Oe=Ut.call(this,bn);return this===ie&&C(Tt,bn)&&!C(Ft,bn)?!1:Oe||!C(this,bn)||!C(Tt,bn)||C(this,ue)&&this[ue][bn]?Oe:!0},an=function(dn,bn){var Oe=F(dn),Ye=B(bn,!0);if(!(Oe===ie&&C(Tt,Ye)&&!C(Ft,Ye))){var Rt=We(Oe,Ye);return Rt&&C(Tt,Ye)&&!(C(Oe,ue)&&Oe[ue][Ye])&&(Rt.enumerable=!0),Rt}},sn=function(dn){var bn=jt(F(dn)),Oe=[];return ke(bn,function(Ye){!C(Tt,Ye)&&!C(ye,Ye)&&Oe.push(Ye)}),Oe},wn=function(dn){var bn=dn===ie,Oe=jt(bn?Ft:F(dn)),Ye=[];return ke(Oe,function(Rt){C(Tt,Rt)&&(!bn||C(ie,Rt))&&Ye.push(Tt[Rt])}),Ye};if(k||(de=function(){if(this instanceof de)throw TypeError("Symbol is not a constructor");var dn=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),bn=ve(dn),Oe=function(Ye){this===ie&&Oe.call(Ft,Ye),C(this,ue)&&C(this[ue],bn)&&(this[ue][bn]=!1),ln(this,bn,I(1,Ye))};return w&&Kt&&ln(ie,bn,{configurable:!0,set:Oe}),hn(bn,dn)},te(de[Te],"toString",function(){return Ie(this).tag}),te(de,"withoutSetter",function(gn){return hn(ve(gn),gn)}),G.f=mn,ee.f=Et,j.f=an,q.f=H.f=sn,Q.f=wn,Se.f=function(gn){return hn(le(gn),gn)},w&&(wt(de[Te],"description",{configurable:!0,get:function(){return Ie(this).description}}),b||te(ie,"propertyIsEnumerable",mn,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!k,sham:!k},{Symbol:de}),ke(z($t),function(gn){De(gn)}),v({target:Ce,stat:!0,forced:!k},{for:function(gn){var dn=String(gn);if(C(St,dn))return St[dn];var bn=de(dn);return St[dn]=bn,Wt[bn]=dn,bn},keyFor:function(dn){if(!kt(dn))throw TypeError(dn+" is not a symbol");if(C(Wt,dn))return Wt[dn]},useSetter:function(){Kt=!0},useSimple:function(){Kt=!1}}),v({target:"Object",stat:!0,forced:!k,sham:!w},{create:Yt,defineProperty:Et,defineProperties:zt,getOwnPropertyDescriptor:an}),v({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:sn,getOwnPropertySymbols:wn}),v({target:"Object",stat:!0,forced:S(function(){Q.f(1)})},{getOwnPropertySymbols:function(dn){return Q.f(O(dn))}}),Fe){var Cn=!k||S(function(){var gn=de();return Fe([gn])!="[null]"||Fe({a:gn})!="{}"||Fe(Object(gn))!="{}"});v({target:"JSON",stat:!0,forced:Cn},{stringify:function(dn,bn,Oe){for(var Ye=[dn],Rt=1,oe;arguments.length>Rt;)Ye.push(arguments[Rt++]);if(oe=bn,!(!D(bn)&&dn===void 0||kt(dn)))return E(bn)||(bn=function(pe,Ne){if(typeof oe=="function"&&(Ne=oe.call(this,pe,Ne)),!kt(Ne))return Ne}),Ye[1]=bn,Fe.apply(null,Ye)}})}de[Te][Pe]||J(de[Te],Pe,de[Te].valueOf),At(de,Ce),ye[ue]=!0},a630:function(d,m,f){var v=f("23e7"),g=f("4df4"),y=f("1c7e"),b=!y(function(w){Array.from(w)});v({target:"Array",stat:!0,forced:b},{from:g})},a640:function(d,m,f){var v=f("d039");d.exports=function(g,y){var b=[][g];return!!b&&v(function(){b.call(null,y||function(){throw 1},1)})}},a691:function(d,m){var f=Math.ceil,v=Math.floor;d.exports=function(g){return isNaN(g=+g)?0:(g>0?v:f)(g)}},ab13:function(d,m,f){var v=f("b622"),g=v("match");d.exports=function(y){var b=/./;try{"/./"[y](b)}catch{try{return b[g]=!1,"/./"[y](b)}catch{}}return!1}},ac1f:function(d,m,f){var v=f("23e7"),g=f("9263");v({target:"RegExp",proto:!0,forced:/./.exec!==g},{exec:g})},ad6d:function(d,m,f){var v=f("825a");d.exports=function(){var g=v(this),y="";return g.global&&(y+="g"),g.ignoreCase&&(y+="i"),g.multiline&&(y+="m"),g.dotAll&&(y+="s"),g.unicode&&(y+="u"),g.sticky&&(y+="y"),y}},ae40:function(d,m,f){var v=f("83ab"),g=f("d039"),y=f("5135"),b=Object.defineProperty,w={},k=function($){throw $};d.exports=function($,S){if(y(w,$))return w[$];S||(S={});var C=[][$],E=y(S,"ACCESSORS")?S.ACCESSORS:!1,D=y(S,0)?S[0]:k,A=y(S,1)?S[1]:void 0;return w[$]=!!C&&!g(function(){if(E&&!v)return!0;var O={length:-1};E?b(O,1,{enumerable:!0,get:k}):O[1]=1,C.call(O,D,A)})}},ae93:function(d,m,f){var v=f("e163"),g=f("9112"),y=f("5135"),b=f("b622"),w=f("c430"),k=b("iterator"),$=!1,S=function(){return this},C,E,D;[].keys&&(D=[].keys(),"next"in D?(E=v(v(D)),E!==Object.prototype&&(C=E)):$=!0),C==null&&(C={}),!w&&!y(C,k)&&g(C,k,S),d.exports={IteratorPrototype:C,BUGGY_SAFARI_ITERATORS:$}},b041:function(d,m,f){var v=f("00ee"),g=f("f5df");d.exports=v?{}.toString:function(){return"[object "+g(this)+"]"}},b0c0:function(d,m,f){var v=f("83ab"),g=f("9bf2").f,y=Function.prototype,b=y.toString,w=/^\s*function ([^ (]*)/,k="name";v&&!(k in y)&&g(y,k,{configurable:!0,get:function(){try{return b.call(this).match(w)[1]}catch{return""}}})},b622:function(d,m,f){var v=f("da84"),g=f("5692"),y=f("5135"),b=f("90e3"),w=f("4930"),k=f("fdbf"),$=g("wks"),S=v.Symbol,C=k?S:S&&S.withoutSetter||b;d.exports=function(E){return y($,E)||(w&&y(S,E)?$[E]=S[E]:$[E]=C("Symbol."+E)),$[E]}},b64b:function(d,m,f){var v=f("23e7"),g=f("7b0b"),y=f("df75"),b=f("d039"),w=b(function(){y(1)});v({target:"Object",stat:!0,forced:w},{keys:function($){return y(g($))}})},b727:function(d,m,f){var v=f("0366"),g=f("44ad"),y=f("7b0b"),b=f("50c4"),w=f("65f0"),k=[].push,$=function(S){var C=S==1,E=S==2,D=S==3,A=S==4,O=S==6,F=S==5||O;return function(B,I,M,z){for(var q=y(B),H=g(q),Q=v(I,M,3),j=b(H.length),ee=0,G=z||w,J=C?G(B,j):E?G(B,0):void 0,te,re;j>ee;ee++)if((F||ee in H)&&(te=H[ee],re=Q(te,ee,q),S)){if(C)J[ee]=re;else if(re)switch(S){case 3:return!0;case 5:return te;case 6:return ee;case 2:k.call(J,te)}else if(A)return!1}return O?-1:D||A?A:J}};d.exports={forEach:$(0),map:$(1),filter:$(2),some:$(3),every:$(4),find:$(5),findIndex:$(6)}},c04e:function(d,m,f){var v=f("861d");d.exports=function(g,y){if(!v(g))return g;var b,w;if(y&&typeof(b=g.toString)=="function"&&!v(w=b.call(g))||typeof(b=g.valueOf)=="function"&&!v(w=b.call(g))||!y&&typeof(b=g.toString)=="function"&&!v(w=b.call(g)))return w;throw TypeError("Can't convert object to primitive value")}},c430:function(d,m){d.exports=!1},c6b6:function(d,m){var f={}.toString;d.exports=function(v){return f.call(v).slice(8,-1)}},c6cd:function(d,m,f){var v=f("da84"),g=f("ce4e"),y="__core-js_shared__",b=v[y]||g(y,{});d.exports=b},c740:function(d,m,f){var v=f("23e7"),g=f("b727").findIndex,y=f("44d2"),b=f("ae40"),w="findIndex",k=!0,$=b(w);w in[]&&Array(1)[w](function(){k=!1}),v({target:"Array",proto:!0,forced:k||!$},{findIndex:function(C){return g(this,C,arguments.length>1?arguments[1]:void 0)}}),y(w)},c8ba:function(d,m){var f;f=function(){return this}();try{f=f||new Function("return this")()}catch{typeof window=="object"&&(f=window)}d.exports=f},c975:function(d,m,f){var v=f("23e7"),g=f("4d64").indexOf,y=f("a640"),b=f("ae40"),w=[].indexOf,k=!!w&&1/[1].indexOf(1,-0)<0,$=y("indexOf"),S=b("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:k||!$||!S},{indexOf:function(E){return k?w.apply(this,arguments)||0:g(this,E,arguments.length>1?arguments[1]:void 0)}})},ca84:function(d,m,f){var v=f("5135"),g=f("fc6a"),y=f("4d64").indexOf,b=f("d012");d.exports=function(w,k){var $=g(w),S=0,C=[],E;for(E in $)!v(b,E)&&v($,E)&&C.push(E);for(;k.length>S;)v($,E=k[S++])&&(~y(C,E)||C.push(E));return C}},caad:function(d,m,f){var v=f("23e7"),g=f("4d64").includes,y=f("44d2"),b=f("ae40"),w=b("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:!w},{includes:function($){return g(this,$,arguments.length>1?arguments[1]:void 0)}}),y("includes")},cc12:function(d,m,f){var v=f("da84"),g=f("861d"),y=v.document,b=g(y)&&g(y.createElement);d.exports=function(w){return b?y.createElement(w):{}}},ce4e:function(d,m,f){var v=f("da84"),g=f("9112");d.exports=function(y,b){try{g(v,y,b)}catch{v[y]=b}return b}},d012:function(d,m){d.exports={}},d039:function(d,m){d.exports=function(f){try{return!!f()}catch{return!0}}},d066:function(d,m,f){var v=f("428f"),g=f("da84"),y=function(b){return typeof b=="function"?b:void 0};d.exports=function(b,w){return arguments.length<2?y(v[b])||y(g[b]):v[b]&&v[b][w]||g[b]&&g[b][w]}},d1e7:function(d,m,f){var v={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,y=g&&!v.call({1:2},1);m.f=y?function(w){var k=g(this,w);return!!k&&k.enumerable}:v},d28b:function(d,m,f){var v=f("746f");v("iterator")},d2bb:function(d,m,f){var v=f("825a"),g=f("3bbe");d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y=!1,b={},w;try{w=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,w.call(b,[]),y=b instanceof Array}catch{}return function($,S){return v($),g(S),y?w.call($,S):$.__proto__=S,$}}():void 0)},d3b7:function(d,m,f){var v=f("00ee"),g=f("6eeb"),y=f("b041");v||g(Object.prototype,"toString",y,{unsafe:!0})},d44e:function(d,m,f){var v=f("9bf2").f,g=f("5135"),y=f("b622"),b=y("toStringTag");d.exports=function(w,k,$){w&&!g(w=$?w:w.prototype,b)&&v(w,b,{configurable:!0,value:k})}},d58f:function(d,m,f){var v=f("1c0b"),g=f("7b0b"),y=f("44ad"),b=f("50c4"),w=function(k){return function($,S,C,E){v(S);var D=g($),A=y(D),O=b(D.length),F=k?O-1:0,B=k?-1:1;if(C<2)for(;;){if(F in A){E=A[F],F+=B;break}if(F+=B,k?F<0:O<=F)throw TypeError("Reduce of empty array with no initial value")}for(;k?F>=0:O>F;F+=B)F in A&&(E=S(E,A[F],F,D));return E}};d.exports={left:w(!1),right:w(!0)}},d784:function(d,m,f){f("ac1f");var v=f("6eeb"),g=f("d039"),y=f("b622"),b=f("9263"),w=f("9112"),k=y("species"),$=!g(function(){var A=/./;return A.exec=function(){var O=[];return O.groups={a:"7"},O},"".replace(A,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),C=y("replace"),E=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),D=!g(function(){var A=/(?:)/,O=A.exec;A.exec=function(){return O.apply(this,arguments)};var F="ab".split(A);return F.length!==2||F[0]!=="a"||F[1]!=="b"});d.exports=function(A,O,F,B){var I=y(A),M=!g(function(){var ee={};return ee[I]=function(){return 7},""[A](ee)!=7}),z=M&&!g(function(){var ee=!1,G=/a/;return A==="split"&&(G={},G.constructor={},G.constructor[k]=function(){return G},G.flags="",G[I]=/./[I]),G.exec=function(){return ee=!0,null},G[I](""),!ee});if(!M||!z||A==="replace"&&!($&&S&&!E)||A==="split"&&!D){var q=/./[I],H=F(I,""[A],function(ee,G,J,te,re){return G.exec===b?M&&!re?{done:!0,value:q.call(G,J,te)}:{done:!0,value:ee.call(J,G,te)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:E}),Q=H[0],j=H[1];v(String.prototype,A,Q),v(RegExp.prototype,I,O==2?function(ee,G){return j.call(ee,this,G)}:function(ee){return j.call(ee,this)})}B&&w(RegExp.prototype[I],"sham",!0)}},d81d:function(d,m,f){var v=f("23e7"),g=f("b727").map,y=f("1dde"),b=f("ae40"),w=y("map"),k=b("map");v({target:"Array",proto:!0,forced:!w||!k},{map:function(S){return g(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(d,m,f){(function(v){var g=function(y){return y&&y.Math==Math&&y};d.exports=g(typeof globalThis=="object"&&globalThis)||g(typeof window=="object"&&window)||g(typeof self=="object"&&self)||g(typeof v=="object"&&v)||Function("return this")()}).call(this,f("c8ba"))},dbb4:function(d,m,f){var v=f("23e7"),g=f("83ab"),y=f("56ef"),b=f("fc6a"),w=f("06cf"),k=f("8418");v({target:"Object",stat:!0,sham:!g},{getOwnPropertyDescriptors:function(S){for(var C=b(S),E=w.f,D=y(C),A={},O=0,F,B;D.length>O;)B=E(C,F=D[O++]),B!==void 0&&k(A,F,B);return A}})},dbf1:function(d,m,f){(function(v){f.d(m,"a",function(){return y});function g(){return typeof window<"u"?window.console:v.console}var y=g()}).call(this,f("c8ba"))},ddb0:function(d,m,f){var v=f("da84"),g=f("fdbc"),y=f("e260"),b=f("9112"),w=f("b622"),k=w("iterator"),$=w("toStringTag"),S=y.values;for(var C in g){var E=v[C],D=E&&E.prototype;if(D){if(D[k]!==S)try{b(D,k,S)}catch{D[k]=S}if(D[$]||b(D,$,C),g[C]){for(var A in y)if(D[A]!==y[A])try{b(D,A,y[A])}catch{D[A]=y[A]}}}}},df75:function(d,m,f){var v=f("ca84"),g=f("7839");d.exports=Object.keys||function(b){return v(b,g)}},e01a:function(d,m,f){var v=f("23e7"),g=f("83ab"),y=f("da84"),b=f("5135"),w=f("861d"),k=f("9bf2").f,$=f("e893"),S=y.Symbol;if(g&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var C={},E=function(){var I=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof E?new S(I):I===void 0?S():S(I);return I===""&&(C[M]=!0),M};$(E,S);var D=E.prototype=S.prototype;D.constructor=E;var A=D.toString,O=String(S("test"))=="Symbol(test)",F=/^Symbol\((.*)\)[^)]+$/;k(D,"description",{configurable:!0,get:function(){var I=w(this)?this.valueOf():this,M=A.call(I);if(b(C,I))return"";var z=O?M.slice(7,-1):M.replace(F,"$1");return z===""?void 0:z}}),v({global:!0,forced:!0},{Symbol:E})}},e163:function(d,m,f){var v=f("5135"),g=f("7b0b"),y=f("f772"),b=f("e177"),w=y("IE_PROTO"),k=Object.prototype;d.exports=b?Object.getPrototypeOf:function($){return $=g($),v($,w)?$[w]:typeof $.constructor=="function"&&$ instanceof $.constructor?$.constructor.prototype:$ instanceof Object?k:null}},e177:function(d,m,f){var v=f("d039");d.exports=!v(function(){function g(){}return g.prototype.constructor=null,Object.getPrototypeOf(new g)!==g.prototype})},e260:function(d,m,f){var v=f("fc6a"),g=f("44d2"),y=f("3f8c"),b=f("69f3"),w=f("7dd0"),k="Array Iterator",$=b.set,S=b.getterFor(k);d.exports=w(Array,"Array",function(C,E){$(this,{type:k,target:v(C),index:0,kind:E})},function(){var C=S(this),E=C.target,D=C.kind,A=C.index++;return!E||A>=E.length?(C.target=void 0,{value:void 0,done:!0}):D=="keys"?{value:A,done:!1}:D=="values"?{value:E[A],done:!1}:{value:[A,E[A]],done:!1}},"values"),y.Arguments=y.Array,g("keys"),g("values"),g("entries")},e439:function(d,m,f){var v=f("23e7"),g=f("d039"),y=f("fc6a"),b=f("06cf").f,w=f("83ab"),k=g(function(){b(1)}),$=!w||k;v({target:"Object",stat:!0,forced:$,sham:!w},{getOwnPropertyDescriptor:function(C,E){return b(y(C),E)}})},e538:function(d,m,f){var v=f("b622");m.f=v},e893:function(d,m,f){var v=f("5135"),g=f("56ef"),y=f("06cf"),b=f("9bf2");d.exports=function(w,k){for(var $=g(k),S=b.f,C=y.f,E=0;E<$.length;E++){var D=$[E];v(w,D)||S(w,D,C(k,D))}}},e8b5:function(d,m,f){var v=f("c6b6");d.exports=Array.isArray||function(y){return v(y)=="Array"}},e95a:function(d,m,f){var v=f("b622"),g=f("3f8c"),y=v("iterator"),b=Array.prototype;d.exports=function(w){return w!==void 0&&(g.Array===w||b[y]===w)}},f5df:function(d,m,f){var v=f("00ee"),g=f("c6b6"),y=f("b622"),b=y("toStringTag"),w=g(function(){return arguments}())=="Arguments",k=function($,S){try{return $[S]}catch{}};d.exports=v?g:function($){var S,C,E;return $===void 0?"Undefined":$===null?"Null":typeof(C=k(S=Object($),b))=="string"?C:w?g(S):(E=g(S))=="Object"&&typeof S.callee=="function"?"Arguments":E}},f772:function(d,m,f){var v=f("5692"),g=f("90e3"),y=v("keys");d.exports=function(b){return y[b]||(y[b]=g(b))}},fb15:function(d,m,f){if(f.r(m),typeof window<"u"){var v=window.document.currentScript;{var g=f("8875");v=g(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:g})}var y=v&&v.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);y&&(f.p=y[1])}f("99af"),f("4de4"),f("4160"),f("c975"),f("d81d"),f("a434"),f("159b"),f("a4d3"),f("e439"),f("dbb4"),f("b64b");function b(kt,Et,zt){return Et in kt?Object.defineProperty(kt,Et,{value:zt,enumerable:!0,configurable:!0,writable:!0}):kt[Et]=zt,kt}function w(kt,Et){var zt=Object.keys(kt);if(Object.getOwnPropertySymbols){var Yt=Object.getOwnPropertySymbols(kt);Et&&(Yt=Yt.filter(function(mn){return Object.getOwnPropertyDescriptor(kt,mn).enumerable})),zt.push.apply(zt,Yt)}return zt}function k(kt){for(var Et=1;Et<arguments.length;Et++){var zt=arguments[Et]!=null?arguments[Et]:{};Et%2?w(Object(zt),!0).forEach(function(Yt){b(kt,Yt,zt[Yt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(kt,Object.getOwnPropertyDescriptors(zt)):w(Object(zt)).forEach(function(Yt){Object.defineProperty(kt,Yt,Object.getOwnPropertyDescriptor(zt,Yt))})}return kt}function $(kt){if(Array.isArray(kt))return kt}f("e01a"),f("d28b"),f("e260"),f("d3b7"),f("3ca3"),f("ddb0");function S(kt,Et){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(kt)))){var zt=[],Yt=!0,mn=!1,an=void 0;try{for(var sn=kt[Symbol.iterator](),wn;!(Yt=(wn=sn.next()).done)&&(zt.push(wn.value),!(Et&&zt.length===Et));Yt=!0);}catch(Cn){mn=!0,an=Cn}finally{try{!Yt&&sn.return!=null&&sn.return()}finally{if(mn)throw an}}return zt}}f("a630"),f("fb6a"),f("b0c0"),f("25f0");function C(kt,Et){(Et==null||Et>kt.length)&&(Et=kt.length);for(var zt=0,Yt=new Array(Et);zt<Et;zt++)Yt[zt]=kt[zt];return Yt}function E(kt,Et){if(kt){if(typeof kt=="string")return C(kt,Et);var zt=Object.prototype.toString.call(kt).slice(8,-1);if(zt==="Object"&&kt.constructor&&(zt=kt.constructor.name),zt==="Map"||zt==="Set")return Array.from(kt);if(zt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(zt))return C(kt,Et)}}function D(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(kt,Et){return $(kt)||S(kt,Et)||E(kt,Et)||D()}function O(kt){if(Array.isArray(kt))return C(kt)}function F(kt){if(typeof Symbol<"u"&&Symbol.iterator in Object(kt))return Array.from(kt)}function B(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I(kt){return O(kt)||F(kt)||E(kt)||B()}var M=f("a352"),z=f.n(M);function q(kt){kt.parentElement!==null&&kt.parentElement.removeChild(kt)}function H(kt,Et,zt){var Yt=zt===0?kt.children[0]:kt.children[zt-1].nextSibling;kt.insertBefore(Et,Yt)}var Q=f("dbf1");f("13d5"),f("4fad"),f("ac1f"),f("5319");function j(kt){var Et=Object.create(null);return function(Yt){var mn=Et[Yt];return mn||(Et[Yt]=kt(Yt))}}var ee=/-(\w)/g,G=j(function(kt){return kt.replace(ee,function(Et,zt){return zt.toUpperCase()})});f("5db7"),f("73d9");var J=["Start","Add","Remove","Update","End"],te=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],ae=[re,J,te].flatMap(function(kt){return kt}).map(function(kt){return"on".concat(kt)}),ye={manage:re,manageAndEmit:J,emit:te};function ve(kt){return ae.indexOf(kt)!==-1}f("caad"),f("2ca0");var le=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Se(kt){return le.includes(kt)}function De(kt){return["transition-group","TransitionGroup"].includes(kt)}function At(kt){return["id","class","role","style"].includes(kt)||kt.startsWith("data-")||kt.startsWith("aria-")||kt.startsWith("on")}function Le(kt){return kt.reduce(function(Et,zt){var Yt=A(zt,2),mn=Yt[0],an=Yt[1];return Et[mn]=an,Et},{})}function ke(kt){var Et=kt.$attrs,zt=kt.componentData,Yt=zt===void 0?{}:zt,mn=Le(Object.entries(Et).filter(function(an){var sn=A(an,2),wn=sn[0];return sn[1],At(wn)}));return k(k({},mn),Yt)}function ue(kt){var Et=kt.$attrs,zt=kt.callBackBuilder,Yt=Le(Ce(Et));Object.entries(zt).forEach(function(an){var sn=A(an,2),wn=sn[0],Cn=sn[1];ye[wn].forEach(function(gn){Yt["on".concat(gn)]=Cn(gn)})});var mn="[data-draggable]".concat(Yt.draggable||"");return k(k({},Yt),{},{draggable:mn})}function Ce(kt){return Object.entries(kt).filter(function(Et){var zt=A(Et,2),Yt=zt[0];return zt[1],!At(Yt)}).map(function(Et){var zt=A(Et,2),Yt=zt[0],mn=zt[1];return[G(Yt),mn]}).filter(function(Et){var zt=A(Et,2),Yt=zt[0];return zt[1],!ve(Yt)})}f("c740");function Te(kt,Et){if(!(kt instanceof Et))throw new TypeError("Cannot call a class as a function")}function Pe(kt,Et){for(var zt=0;zt<Et.length;zt++){var Yt=Et[zt];Yt.enumerable=Yt.enumerable||!1,Yt.configurable=!0,"value"in Yt&&(Yt.writable=!0),Object.defineProperty(kt,Yt.key,Yt)}}function Vt(kt,Et,zt){return Et&&Pe(kt.prototype,Et),zt&&Pe(kt,zt),kt}var Ie=function(Et){var zt=Et.el;return zt},ie=function(Et,zt){return Et.__draggable_context=zt},de=function(Et){return Et.__draggable_context},Fe=function(){function kt(Et){var zt=Et.nodes,Yt=zt.header,mn=zt.default,an=zt.footer,sn=Et.root,wn=Et.realList;Te(this,kt),this.defaultNodes=mn,this.children=[].concat(I(Yt),I(mn),I(an)),this.externalComponent=sn.externalComponent,this.rootTransition=sn.transition,this.tag=sn.tag,this.realList=wn}return Vt(kt,[{key:"render",value:function(zt,Yt){var mn=this.tag,an=this.children,sn=this._isRootComponent,wn=sn?{default:function(){return an}}:an;return zt(mn,Yt,wn)}},{key:"updated",value:function(){var zt=this.defaultNodes,Yt=this.realList;zt.forEach(function(mn,an){ie(Ie(mn),{element:Yt[an],index:an})})}},{key:"getUnderlyingVm",value:function(zt){return de(zt)}},{key:"getVmIndexFromDomIndex",value:function(zt,Yt){var mn=this.defaultNodes,an=mn.length,sn=Yt.children,wn=sn.item(zt);if(wn===null)return an;var Cn=de(wn);if(Cn)return Cn.index;if(an===0)return 0;var gn=Ie(mn[0]),dn=I(sn).findIndex(function(bn){return bn===gn});return zt<dn?0:an}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),kt}(),We=f("8bbf");function wt(kt,Et){var zt=kt[Et];return zt?zt():[]}function jt(kt){var Et=kt.$slots,zt=kt.realList,Yt=kt.getKey,mn=zt||[],an=["header","footer"].map(function(bn){return wt(Et,bn)}),sn=A(an,2),wn=sn[0],Cn=sn[1],gn=Et.item;if(!gn)throw new Error("draggable element must have an item slot");var dn=mn.flatMap(function(bn,Oe){return gn({element:bn,index:Oe}).map(function(Ye){return Ye.key=Yt(bn),Ye.props=k(k({},Ye.props||{}),{},{"data-draggable":!0}),Ye})});if(dn.length!==mn.length)throw new Error("Item slot must have only one child");return{header:wn,footer:Cn,default:dn}}function Ut(kt){var Et=De(kt),zt=!Se(kt)&&!Et;return{transition:Et,externalComponent:zt,tag:zt?Object(We.resolveComponent)(kt):Et?We.TransitionGroup:kt}}function Tt(kt){var Et=kt.$slots,zt=kt.tag,Yt=kt.realList,mn=kt.getKey,an=jt({$slots:Et,realList:Yt,getKey:mn}),sn=Ut(zt);return new Fe({nodes:an,root:sn,realList:Yt})}function Ft(kt,Et){var zt=this;Object(We.nextTick)(function(){return zt.$emit(kt.toLowerCase(),Et)})}function St(kt){var Et=this;return function(zt,Yt){if(Et.realList!==null)return Et["onDrag".concat(kt)](zt,Yt)}}function Wt(kt){var Et=this,zt=St.call(this,kt);return function(Yt,mn){zt.call(Et,Yt,mn),Ft.call(Et,kt,Yt)}}var $t=null,xt={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Et){return Et}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Kt=["update:modelValue","change"].concat(I([].concat(I(ye.manageAndEmit),I(ye.emit)).map(function(kt){return kt.toLowerCase()}))),ln=Object(We.defineComponent)({name:"draggable",inheritAttrs:!1,props:xt,emits:Kt,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Et=this.$slots,zt=this.$attrs,Yt=this.tag,mn=this.componentData,an=this.realList,sn=this.getKey,wn=Tt({$slots:Et,tag:Yt,realList:an,getKey:sn});this.componentStructure=wn;var Cn=ke({$attrs:zt,componentData:mn});return wn.render(We.h,Cn)}catch(gn){return this.error=!0,Object(We.h)("pre",{style:{color:"red"}},gn.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Q.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Et=this;if(!this.error){var zt=this.$attrs,Yt=this.$el,mn=this.componentStructure;mn.updated();var an=ue({$attrs:zt,callBackBuilder:{manageAndEmit:function(Cn){return Wt.call(Et,Cn)},emit:function(Cn){return Ft.bind(Et,Cn)},manage:function(Cn){return St.call(Et,Cn)}}}),sn=Yt.nodeType===1?Yt:Yt.parentElement;this._sortable=new z.a(sn,an),this.targetDomElement=sn,sn.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Et=this.list;return Et||this.modelValue},getKey:function(){var Et=this.itemKey;return typeof Et=="function"?Et:function(zt){return zt[Et]}}},watch:{$attrs:{handler:function(Et){var zt=this._sortable;zt&&Ce(Et).forEach(function(Yt){var mn=A(Yt,2),an=mn[0],sn=mn[1];zt.option(an,sn)})},deep:!0}},methods:{getUnderlyingVm:function(Et){return this.componentStructure.getUnderlyingVm(Et)||null},getUnderlyingPotencialDraggableComponent:function(Et){return Et.__draggable_component__},emitChanges:function(Et){var zt=this;Object(We.nextTick)(function(){return zt.$emit("change",Et)})},alterList:function(Et){if(this.list){Et(this.list);return}var zt=I(this.modelValue);Et(zt),this.$emit("update:modelValue",zt)},spliceList:function(){var Et=arguments,zt=function(mn){return mn.splice.apply(mn,I(Et))};this.alterList(zt)},updatePosition:function(Et,zt){var Yt=function(an){return an.splice(zt,0,an.splice(Et,1)[0])};this.alterList(Yt)},getRelatedContextFromMoveEvent:function(Et){var zt=Et.to,Yt=Et.related,mn=this.getUnderlyingPotencialDraggableComponent(zt);if(!mn)return{component:mn};var an=mn.realList,sn={list:an,component:mn};if(zt!==Yt&&an){var wn=mn.getUnderlyingVm(Yt)||{};return k(k({},wn),sn)}return sn},getVmIndexFromDomIndex:function(Et){return this.componentStructure.getVmIndexFromDomIndex(Et,this.targetDomElement)},onDragStart:function(Et){this.context=this.getUnderlyingVm(Et.item),Et.item._underlying_vm_=this.clone(this.context.element),$t=Et.item},onDragAdd:function(Et){var zt=Et.item._underlying_vm_;if(zt!==void 0){q(Et.item);var Yt=this.getVmIndexFromDomIndex(Et.newIndex);this.spliceList(Yt,0,zt);var mn={element:zt,newIndex:Yt};this.emitChanges({added:mn})}},onDragRemove:function(Et){if(H(this.$el,Et.item,Et.oldIndex),Et.pullMode==="clone"){q(Et.clone);return}var zt=this.context,Yt=zt.index,mn=zt.element;this.spliceList(Yt,1);var an={element:mn,oldIndex:Yt};this.emitChanges({removed:an})},onDragUpdate:function(Et){q(Et.item),H(Et.from,Et.item,Et.oldIndex);var zt=this.context.index,Yt=this.getVmIndexFromDomIndex(Et.newIndex);this.updatePosition(zt,Yt);var mn={element:this.context.element,oldIndex:zt,newIndex:Yt};this.emitChanges({moved:mn})},computeFutureIndex:function(Et,zt){if(!Et.element)return 0;var Yt=I(zt.to.children).filter(function(wn){return wn.style.display!=="none"}),mn=Yt.indexOf(zt.related),an=Et.component.getVmIndexFromDomIndex(mn),sn=Yt.indexOf($t)!==-1;return sn||!zt.willInsertAfter?an:an+1},onDragMove:function(Et,zt){var Yt=this.move,mn=this.realList;if(!Yt||!mn)return!0;var an=this.getRelatedContextFromMoveEvent(Et),sn=this.computeFutureIndex(an,Et),wn=k(k({},this.context),{},{futureIndex:sn}),Cn=k(k({},Et),{},{relatedContext:an,draggedContext:wn});return Yt(Cn,zt)},onDragEnd:function(){$t=null}}}),hn=ln;m.default=hn},fb6a:function(d,m,f){var v=f("23e7"),g=f("861d"),y=f("e8b5"),b=f("23cb"),w=f("50c4"),k=f("fc6a"),$=f("8418"),S=f("b622"),C=f("1dde"),E=f("ae40"),D=C("slice"),A=E("slice",{ACCESSORS:!0,0:0,1:2}),O=S("species"),F=[].slice,B=Math.max;v({target:"Array",proto:!0,forced:!D||!A},{slice:function(M,z){var q=k(this),H=w(q.length),Q=b(M,H),j=b(z===void 0?H:z,H),ee,G,J;if(y(q)&&(ee=q.constructor,typeof ee=="function"&&(ee===Array||y(ee.prototype))?ee=void 0:g(ee)&&(ee=ee[O],ee===null&&(ee=void 0)),ee===Array||ee===void 0))return F.call(q,Q,j);for(G=new(ee===void 0?Array:ee)(B(j-Q,0)),J=0;Q<j;Q++,J++)Q in q&&$(G,J,q[Q]);return G.length=J,G}})},fc6a:function(d,m,f){var v=f("44ad"),g=f("1d80");d.exports=function(y){return v(g(y))}},fdbc:function(d,m){d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(d,m,f){var v=f("4930");d.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var vuedraggable_umdExports=vuedraggable_umd.exports;const draggable=getDefaultExportFromCjs$1(vuedraggable_umdExports);function toValue(a){return typeof a=="function"?a():unref(a)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const noop$3=()=>{};function createFilterWrapper(a,i){function u(...c){return new Promise((d,m)=>{Promise.resolve(a(()=>i.apply(this,c),{fn:i,thisArg:this,args:c})).then(d).catch(m)})}return u}function debounceFilter(a,i={}){let u,c,d=noop$3;const m=v=>{clearTimeout(v),d(),d=noop$3};return v=>{const g=toValue(a),y=toValue(i.maxWait);return u&&m(u),g<=0||y!==void 0&&y<=0?(c&&(m(c),c=null),Promise.resolve(v())):new Promise((b,w)=>{d=i.rejectOnCancel?w:b,y&&!c&&(c=setTimeout(()=>{u&&m(u),c=null,b(v())},y)),u=setTimeout(()=>{c&&m(c),c=null,b(v())},g)})}}function useDebounceFn(a,i=200,u={}){return createFilterWrapper(debounceFilter(i,u),a)}function getModelFromStr(a){switch(a.toLowerCase()){case"food":return new Food;case"unit":return new Unit;case"keyword":return new Keyword;case"recipe":return new Recipe;default:throw Error(`Invalid Model ${a}, did you forget to register it in Models.ts?`)}}class GenericModel{}class Keyword extends GenericModel{create(i){return new ApiApi().apiKeywordCreate({keyword:{name:i}})}list(i){return new ApiApi().apiKeywordList({query:i}).then(c=>c.results?c.results:[])}}class Food extends GenericModel{create(i){return new ApiApi().apiFoodCreate({food:{name:i}})}list(i){return new ApiApi().apiFoodList({query:i}).then(c=>c.results?c.results:[])}}class Unit extends GenericModel{create(i){return new ApiApi().apiUnitCreate({unit:{name:i}})}list(i){return new ApiApi().apiUnitList({query:i}).then(c=>c.results?c.results:[])}}class Recipe extends GenericModel{create(i){return new ApiApi().apiRecipeCreate({recipe:{name:i}}).then(c=>c)}list(i){return new ApiApi().apiRecipeList({query:i}).then(c=>c.results?c.results:[])}}function isEmpty$1(a){return a===0?!1:Array.isArray(a)&&a.length===0?!0:!a}function not(a){return(...i)=>!a(...i)}function includes$1(a,i){return a===void 0&&(a="undefined"),a===null&&(a="null"),a===!1&&(a="false"),a.toString().toLowerCase().indexOf(i.trim())!==-1}function filterOptions(a,i,u,c){return i?a.filter(d=>includes$1(c(d,u),i)).sort((d,m)=>c(d,u).length-c(m,u).length):a}function stripGroups(a){return a.filter(i=>!i.$isLabel)}function flattenOptions(a,i){return u=>u.reduce((c,d)=>d[a]&&d[a].length?(c.push({$groupLabel:d[i],$isLabel:!0}),c.concat(d[a])):c,[])}function filterGroups(a,i,u,c,d){return m=>m.map(f=>{if(!f[u])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const v=filterOptions(f[u],a,i,d);return v.length?{[c]:f[c],[u]:v}:[]})}const flow=(...a)=>i=>a.reduce((u,c)=>c(u),i);var multiselectMixin={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(a,i){return isEmpty$1(a)?"":i?a[i]:a}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const a=this.search||"",i=a.toLowerCase().trim();let u=this.options.concat();return this.internalSearch?u=this.groupValues?this.filterAndFlat(u,i,this.label):filterOptions(u,i,this.label,this.customLabel):u=this.groupValues?flattenOptions(this.groupValues,this.groupLabel)(u):u,u=this.hideSelected?u.filter(not(this.isSelected)):u,this.taggable&&i.length&&!this.isExistingOption(i)&&(this.tagPosition==="bottom"?u.push({isTag:!0,label:a}):u.unshift({isTag:!0,label:a})),u.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(a=>a[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(i=>this.customLabel(i,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(a,i,u){return flow(filterGroups(i,u,this.groupValues,this.groupLabel,this.customLabel),flattenOptions(this.groupValues,this.groupLabel))(a)},flatAndStrip(a){return flow(flattenOptions(this.groupValues,this.groupLabel),stripGroups)(a)},updateSearch(a){this.search=a},isExistingOption(a){return this.options?this.optionKeys.indexOf(a)>-1:!1},isSelected(a){const i=this.trackBy?a[this.trackBy]:a;return this.valueKeys.indexOf(i)>-1},isOptionDisabled(a){return!!a.$isDisabled},getOptionLabel(a){if(isEmpty$1(a))return"";if(a.isTag)return a.label;if(a.$isLabel)return a.$groupLabel;const i=this.customLabel(a,this.label);return isEmpty$1(i)?"":i},select(a,i){if(a.$isLabel&&this.groupSelect){this.selectGroup(a);return}if(!(this.blockKeys.indexOf(i)!==-1||this.disabled||a.$isDisabled||a.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(i==="Tab"&&!this.pointerDirty)){if(a.isTag)this.$emit("tag",a.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(a)){i!=="Tab"&&this.removeElement(a);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([a])):this.$emit("update:modelValue",a),this.$emit("select",a,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(a){const i=this.options.find(u=>u[this.groupLabel]===a.$groupLabel);if(i){if(this.wholeGroupSelected(i)){this.$emit("remove",i[this.groupValues],this.id);const u=this.internalValue.filter(c=>i[this.groupValues].indexOf(c)===-1);this.$emit("update:modelValue",u)}else{let u=i[this.groupValues].filter(c=>!(this.isOptionDisabled(c)||this.isSelected(c)));this.max&&u.splice(this.max-this.internalValue.length),this.$emit("select",u,this.id),this.$emit("update:modelValue",this.internalValue.concat(u))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(a){return a[this.groupValues].every(i=>this.isSelected(i)||this.isOptionDisabled(i))},wholeGroupDisabled(a){return a[this.groupValues].every(this.isOptionDisabled)},removeElement(a,i=!0){if(this.disabled||a.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const u=typeof a=="object"?this.valueKeys.indexOf(a[this.trackBy]):this.valueKeys.indexOf(a);if(this.multiple){const c=this.internalValue.slice(0,u).concat(this.internalValue.slice(u+1));this.$emit("update:modelValue",c)}else this.$emit("update:modelValue",null);this.$emit("remove",a,this.id),this.closeOnSelect&&i&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const a=this.$el.getBoundingClientRect().top,i=window.innerHeight-this.$el.getBoundingClientRect().bottom;i>this.maxHeight||i>a||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(i-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(a-40,this.maxHeight))}}},pointerMixin={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(a,i){return{"multiselect__option--highlight":a===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(i)}},groupHighlight(a,i){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":i.$isLabel}];const u=this.options.find(c=>c[this.groupLabel]===i.$groupLabel);return u&&!this.wholeGroupDisabled(u)?["multiselect__option--group",{"multiselect__option--highlight":a===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(u)}]:"multiselect__option--disabled"},addPointerElement({key:a}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],a),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(a){this.pointer=a,this.pointerDirty=!0}}},script$21={name:"vue-multiselect",mixins:[multiselectMixin,pointerMixin],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:a=>`and ${a} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const _hoisted_1$K={ref:"tags",class:"multiselect__tags"},_hoisted_2$t={class:"multiselect__tags-wrap"},_hoisted_3$i={class:"multiselect__spinner"},_hoisted_4$a={key:0},_hoisted_5$6={class:"multiselect__option"},_hoisted_6$4={class:"multiselect__option"},_hoisted_7$2=createTextVNode("No elements found. Consider changing the search query."),_hoisted_8$2={class:"multiselect__option"},_hoisted_9$2=createTextVNode("List is empty.");function render$Y(a,i,u,c,d,m){return openBlock(),createBlock("div",{tabindex:a.searchable?-1:u.tabindex,class:[{"multiselect--active":a.isOpen,"multiselect--disabled":u.disabled,"multiselect--above":m.isAbove,"multiselect--has-options-group":m.hasOptionGroup},"multiselect"],onFocus:i[14]||(i[14]=f=>a.activate()),onBlur:i[15]||(i[15]=f=>a.searchable?!1:a.deactivate()),onKeydown:[i[16]||(i[16]=withKeys(withModifiers(f=>a.pointerForward(),["self","prevent"]),["down"])),i[17]||(i[17]=withKeys(withModifiers(f=>a.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:i[18]||(i[18]=withKeys(withModifiers(f=>a.addPointerElement(f),["stop","self"]),["enter","tab"])),onKeyup:i[19]||(i[19]=withKeys(f=>a.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+a.id},[renderSlot(a.$slots,"caret",{toggle:a.toggle},()=>[createVNode("div",{onMousedown:i[1]||(i[1]=withModifiers(f=>a.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),renderSlot(a.$slots,"clear",{search:a.search}),createVNode("div",_hoisted_1$K,[renderSlot(a.$slots,"selection",{search:a.search,remove:a.removeElement,values:m.visibleValues,isOpen:a.isOpen},()=>[withDirectives(createVNode("div",_hoisted_2$t,[(openBlock(!0),createBlock(Fragment,null,renderList(m.visibleValues,(f,v)=>renderSlot(a.$slots,"tag",{option:f,search:a.search,remove:a.removeElement},()=>[(openBlock(),createBlock("span",{class:"multiselect__tag",key:v},[createVNode("span",{textContent:toDisplayString(a.getOptionLabel(f))},null,8,["textContent"]),createVNode("i",{tabindex:"1",onKeypress:withKeys(withModifiers(g=>a.removeElement(f),["prevent"]),["enter"]),onMousedown:withModifiers(g=>a.removeElement(f),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[vShow,m.visibleValues.length>0]]),a.internalValue&&a.internalValue.length>u.limit?renderSlot(a.$slots,"limit",{key:0},()=>[createVNode("strong",{class:"multiselect__strong",textContent:toDisplayString(u.limitText(a.internalValue.length-u.limit))},null,8,["textContent"])]):createCommentVNode("v-if",!0)]),createVNode(Transition,{name:"multiselect__loading"},{default:withCtx(()=>[renderSlot(a.$slots,"loading",{},()=>[withDirectives(createVNode("div",_hoisted_3$i,null,512),[[vShow,u.loading]])])]),_:3}),a.searchable?(openBlock(),createBlock("input",{key:0,ref:"search",name:u.name,id:a.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:a.placeholder,style:m.inputStyle,value:a.search,disabled:u.disabled,tabindex:u.tabindex,onInput:i[2]||(i[2]=f=>a.updateSearch(f.target.value)),onFocus:i[3]||(i[3]=withModifiers(f=>a.activate(),["prevent"])),onBlur:i[4]||(i[4]=withModifiers(f=>a.deactivate(),["prevent"])),onKeyup:i[5]||(i[5]=withKeys(f=>a.deactivate(),["esc"])),onKeydown:[i[6]||(i[6]=withKeys(withModifiers(f=>a.pointerForward(),["prevent"]),["down"])),i[7]||(i[7]=withKeys(withModifiers(f=>a.pointerBackward(),["prevent"]),["up"])),i[9]||(i[9]=withKeys(withModifiers(f=>a.removeLastElement(),["stop"]),["delete"]))],onKeypress:i[8]||(i[8]=withKeys(withModifiers(f=>a.addPointerElement(f),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+a.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):createCommentVNode("v-if",!0),m.isSingleLabelVisible?(openBlock(),createBlock("span",{key:1,class:"multiselect__single",onMousedown:i[10]||(i[10]=withModifiers((...f)=>a.toggle&&a.toggle(...f),["prevent"]))},[renderSlot(a.$slots,"singleLabel",{option:m.singleValue},()=>[createTextVNode(toDisplayString(a.currentOptionLabel),1)])],32)):createCommentVNode("v-if",!0),m.isPlaceholderVisible?(openBlock(),createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:i[11]||(i[11]=withModifiers((...f)=>a.toggle&&a.toggle(...f),["prevent"]))},[renderSlot(a.$slots,"placeholder",{},()=>[createTextVNode(toDisplayString(a.placeholder),1)])],32)):createCommentVNode("v-if",!0)],512),createVNode(Transition,{name:"multiselect"},{default:withCtx(()=>[withDirectives(createVNode("div",{class:"multiselect__content-wrapper",onFocus:i[12]||(i[12]=(...f)=>a.activate&&a.activate(...f)),tabindex:"-1",onMousedown:i[13]||(i[13]=withModifiers(()=>{},["prevent"])),style:{maxHeight:a.optimizedHeight+"px"},ref:"list"},[createVNode("ul",{class:"multiselect__content",style:m.contentStyle,role:"listbox",id:"listbox-"+a.id},[renderSlot(a.$slots,"beforeList"),a.multiple&&a.max===a.internalValue.length?(openBlock(),createBlock("li",_hoisted_4$a,[createVNode("span",_hoisted_5$6,[renderSlot(a.$slots,"maxElements",{},()=>[createTextVNode("Maximum of "+toDisplayString(a.max)+" options selected. First remove a selected option to select another.",1)])])])):createCommentVNode("v-if",!0),!a.max||a.internalValue.length<a.max?(openBlock(!0),createBlock(Fragment,{key:1},renderList(a.filteredOptions,(f,v)=>(openBlock(),createBlock("li",{class:"multiselect__element",key:v,id:a.id+"-"+v,role:f&&(f.$isLabel||f.$isDisabled)?null:"option"},[f&&(f.$isLabel||f.$isDisabled)?createCommentVNode("v-if",!0):(openBlock(),createBlock("span",{key:0,class:[a.optionHighlight(v,f),"multiselect__option"],onClick:withModifiers(g=>a.select(f),["stop"]),onMouseenter:withModifiers(g=>a.pointerSet(v),["self"]),"data-select":f&&f.isTag?a.tagPlaceholder:m.selectLabelText,"data-selected":m.selectedLabelText,"data-deselect":m.deselectLabelText},[renderSlot(a.$slots,"option",{option:f,search:a.search,index:v},()=>[createVNode("span",null,toDisplayString(a.getOptionLabel(f)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),f&&(f.$isLabel||f.$isDisabled)?(openBlock(),createBlock("span",{key:1,"data-select":a.groupSelect&&m.selectGroupLabelText,"data-deselect":a.groupSelect&&m.deselectGroupLabelText,class:[a.groupHighlight(v,f),"multiselect__option"],onMouseenter:withModifiers(g=>a.groupSelect&&a.pointerSet(v),["self"]),onMousedown:withModifiers(g=>a.selectGroup(f),["prevent"])},[renderSlot(a.$slots,"option",{option:f,search:a.search,index:v},()=>[createVNode("span",null,toDisplayString(a.getOptionLabel(f)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):createCommentVNode("v-if",!0)],8,["id","role"]))),128)):createCommentVNode("v-if",!0),withDirectives(createVNode("li",null,[createVNode("span",_hoisted_6$4,[renderSlot(a.$slots,"noResult",{search:a.search},()=>[_hoisted_7$2])])],512),[[vShow,u.showNoResults&&a.filteredOptions.length===0&&a.search&&!u.loading]]),withDirectives(createVNode("li",null,[createVNode("span",_hoisted_8$2,[renderSlot(a.$slots,"noOptions",{},()=>[_hoisted_9$2])])],512),[[vShow,u.showNoOptions&&(a.options.length===0||m.hasOptionGroup===!0&&a.filteredOptions.length===0)&&!a.search&&!u.loading]]),renderSlot(a.$slots,"afterList")],12,["id"])],36),[[vShow,a.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}script$21.render=render$Y;const _sfc_main$6=defineComponent$1({__name:"ModelSelect",props:{model:{type:String,required:!0},multiple:{type:Boolean,default:!0},limit:{type:Number,default:25},allowCreate:{type:Boolean,default:!1},id:{type:String,required:!1,default:Math.random().toString()},search_on_load:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},chips:{type:Boolean,default:void 0},itemName:{type:String,default:"name"},itemValue:{type:String,default:"id"},placeholder:{type:String,default:void 0},label:{type:String,default:"name"},parent_variable:{type:String,default:void 0},sticky_options:{type:Array,default(){return[]}},initial_selection:{type:Array,default(){return[]}},initial_single_selection:{type:Object,default:void 0},disabled:{type:Boolean,default:!1}},setup(a){const i=a,u=ref({}),c=ref([]),d=ref(void 0),m=ref(""),f=ref(!1);onMounted(()=>{u.value=getModelFromStr(i.model),i.search_on_load&&v("")});const v=useDebounceFn(w=>{g(w)},300);function g(w){f.value=!0,u.value.list(w).then(k=>{c.value=k,i.allowCreate&&m.value!=""&&c.value.unshift({id:null,name:`Create "${m.value}"`})}).catch(k=>{}).finally(()=>{f.value=!1})}function y(w){console.log("CREATEING NEW with -> ",w),new ApiApi().apiKeywordList(),u.value.create(w).then($=>{d.value instanceof Array?d.value.push($):d.value=$,c.value.push($)}).catch($=>{}).finally(()=>{f.value=!1})}function b(){}return(w,k)=>(openBlock(),createBlock(VInput,null,{default:withCtx(()=>[createVNode(unref(script$21),{id:a.id,modelValue:d.value,"onUpdate:modelValue":k[0]||(k[0]=$=>d.value=$),options:c.value,"close-on-select":!0,"clear-on-select":!0,"hide-selected":a.multiple,"preserve-search":!0,"internal-search":!1,limit:a.limit,placeholder:a.model,label:a.label,"track-by":"id",multiple:a.multiple,taggable:a.allowCreate,"tag-placeholder":"TODO CREATE PLACEHOLDER",loading:f.value,onSearchChange:unref(v),onInput:b,onTag:y,onOpen:k[1]||(k[1]=$=>g("")),disabled:a.disabled},null,8,["id","modelValue","options","hide-selected","limit","placeholder","label","multiple","taggable","loading","onSearchChange","disabled"])]),_:1}))}}),_sfc_main$5=defineComponent$1({name:"StepEditor",components:{ModelSelect:_sfc_main$6,draggable,IngredientsTableRow:_sfc_main$h,IngredientsTable:_sfc_main$g,StepMarkdownEditor},emits:["update:modelValue"],props:{modelValue:{type:Object,required:!0},stepIndex:{type:Number,required:!1}},computed:{step:{get(){return this.modelValue},set(a){this.$emit("update:modelValue",a)}}},data(){return{dialog_markdown_edit:!1}},methods:{sortIngredients(){this.step.ingredients.forEach((a,i)=>{a.order=i})}}}),_hoisted_1$J=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_2$s=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_3$h=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_4$9=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1);function _sfc_render$2(a,i,u,c,d,m){const f=resolveComponent("IngredientsTableRow"),v=resolveComponent("model-select"),g=resolveComponent("draggable"),y=resolveComponent("step-markdown-editor");return openBlock(),createElementBlock(Fragment,null,[createVNode(VCard,null,{title:withCtx(()=>[a.step.name?(openBlock(),createBlock(VCardTitle,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString(a.step.name),1)]),_:1})):a.stepIndex!==void 0?(openBlock(),createBlock(VCardTitle,{key:1},{default:withCtx(()=>[createTextVNode("Step "+toDisplayString(a.stepIndex+1),1)]),_:1})):createCommentVNode("",!0)]),append:withCtx(()=>[createVNode(VBtn,{size:"small",variant:"plain",icon:"fas fa-sliders-h"})]),default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:a.step.name,"onUpdate:modelValue":i[0]||(i[0]=b=>a.step.name=b),label:"Step Name"},null,8,["modelValue"]),createVNode(VChipGroup,null,{default:withCtx(()=>[a.step.time==0?(openBlock(),createBlock(VChip,{key:0},{default:withCtx(()=>[_hoisted_1$J,createTextVNode(" Time")]),_:1})):createCommentVNode("",!0),a.step.instruction==""?(openBlock(),createBlock(VChip,{key:1},{default:withCtx(()=>[_hoisted_2$s,createTextVNode(" Instructions")]),_:1})):createCommentVNode("",!0),a.step.file==null?(openBlock(),createBlock(VChip,{key:2},{default:withCtx(()=>[_hoisted_3$h,createTextVNode(" File")]),_:1})):createCommentVNode("",!0),a.step.stepRecipe==null?(openBlock(),createBlock(VChip,{key:3},{default:withCtx(()=>[_hoisted_4$9,createTextVNode(" Recipe")]),_:1})):createCommentVNode("",!0)]),_:1}),createVNode(VTable,{density:"compact"},{default:withCtx(()=>[createVNode(g,{tag:"tbody",modelValue:a.step.ingredients,"onUpdate:modelValue":i[1]||(i[1]=b=>a.step.ingredients=b),handle:".drag-handle","item-key":"id",onSort:a.sortIngredients},{item:withCtx(({element:b})=>[createVNode(VDialog,null,{activator:withCtx(({props:w})=>[(openBlock(),createBlock(f,mergeProps(w,{ingredient:b,key:b.id,"show-notes":!1,draggable:!0}),null,16,["ingredient"]))]),default:withCtx(({isActive:w})=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Ingredient")]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField,{label:"Amount",modelValue:b.amount,"onUpdate:modelValue":k=>b.amount=k,modelModifiers:{number:!0}},null,8,["modelValue","onUpdate:modelValue"]),createVNode(v,{model:"Unit",modelValue:b.unit,"onUpdate:modelValue":k=>b.unit=k,multiple:!1},null,8,["modelValue","onUpdate:modelValue"]),createVNode(v,{model:"Food",modelValue:b.food,"onUpdate:modelValue":k=>b.food=k,multiple:!1},null,8,["modelValue","onUpdate:modelValue"]),createVNode(VTextField,{label:"Note",modelValue:b.note,"onUpdate:modelValue":k=>b.note=k},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:1},8,["modelValue","onSort"])]),_:1}),createVNode(VAlert,{onClick:i[2]||(i[2]=b=>a.dialog_markdown_edit=!0),class:"mt-2"},{default:withCtx(()=>[createTextVNode(toDisplayString(a.step.instruction),1)]),_:1})]),_:1})]),_:1}),createVNode(VDialog,{modelValue:a.dialog_markdown_edit,"onUpdate:modelValue":i[3]||(i[3]=b=>a.dialog_markdown_edit=b),transition:"dialog-bottom-transition"},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Ingredient")]),_:1}),createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField)]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(VDialog,{modelValue:a.dialog_markdown_edit,"onUpdate:modelValue":i[6]||(i[6]=b=>a.dialog_markdown_edit=b),transition:"dialog-bottom-transition",fullscreen:""},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VToolbar,null,{default:withCtx(()=>[createVNode(VToolbarTitle,null,{default:withCtx(()=>[createTextVNode("Edit Instructions")]),_:1}),createVNode(VBtn,{icon:"fas fa-close",onClick:i[4]||(i[4]=b=>a.dialog_markdown_edit=!1)})]),_:1}),createVNode(y,{class:"h-100",step:a.step,onChange:i[5]||(i[5]=b=>{a.step=b.step})},null,8,["step"])]),_:1})]),_:1},8,["modelValue"])],64)}const StepEditor=_export_sfc(_sfc_main$5,[["render",_sfc_render$2]]),_sfc_main$4=defineComponent$1({name:"RecipeEditPage",components:{StepEditor,StepMarkdownEditor},props:{recipe_id:{type:String,required:!1}},watch:{recipe_id:function(){this.refreshRecipe()}},data(){return{recipe:{},keywords:[]}},mounted(){this.refreshRecipe(),new ApiApi().apiKeywordList({page:1,pageSize:100}).then(i=>{i.results&&(this.keywords=i.results)})},methods:{refreshRecipe(){this.recipe.id!=Number(this.recipe_id)&&new ApiApi().apiRecipeRetrieve({id:Number(this.recipe_id)}).then(i=>{this.recipe=i})},updateRecipe(){new ApiApi().apiRecipeUpdate({id:Number(this.recipe_id),recipe:this.recipe}).then(i=>{this.recipe=i})}}}),VSelectionControlGroupSymbol=Symbol.for("vuetify:selection-control-group"),makeSelectionControlGroupProps=propsFactory({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:IconValue,trueIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:deepEqual},...makeComponentProps(),...makeDensityProps(),...makeThemeProps()},"SelectionControlGroup"),makeVSelectionControlGroupProps=propsFactory({...makeSelectionControlGroupProps({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");genericComponent()({name:"VSelectionControlGroup",props:makeVSelectionControlGroupProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"modelValue"),d=getUid(),m=computed(()=>a.id||`v-selection-control-group-${d}`),f=computed(()=>a.name||m.value),v=new Set;return provide(VSelectionControlGroupSymbol,{modelValue:c,forceUpdate:()=>{v.forEach(g=>g())},onForceUpdate:g=>{v.add(g),onScopeDispose(()=>{v.delete(g)})}}),provideDefaults({[a.defaultsTarget]:{color:toRef(a,"color"),disabled:toRef(a,"disabled"),density:toRef(a,"density"),error:toRef(a,"error"),inline:toRef(a,"inline"),modelValue:c,multiple:computed(()=>!!a.multiple||a.multiple==null&&Array.isArray(c.value)),name:f,falseIcon:toRef(a,"falseIcon"),trueIcon:toRef(a,"trueIcon"),readonly:toRef(a,"readonly"),ripple:toRef(a,"ripple"),type:toRef(a,"type"),valueComparator:toRef(a,"valueComparator")}}),useRender(()=>{var g;return createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":a.inline},a.class],style:a.style,role:a.type==="radio"?"radiogroup":void 0},[(g=u.default)==null?void 0:g.call(u)])}),{}}});const makeVSelectionControlProps=propsFactory({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...makeComponentProps(),...makeSelectionControlGroupProps()},"VSelectionControl");function useSelectionControl(a){const i=inject$1(VSelectionControlGroupSymbol,void 0),{densityClasses:u}=useDensity(a),c=useProxiedModel(a,"modelValue"),d=computed(()=>a.trueValue!==void 0?a.trueValue:a.value!==void 0?a.value:!0),m=computed(()=>a.falseValue!==void 0?a.falseValue:!1),f=computed(()=>!!a.multiple||a.multiple==null&&Array.isArray(c.value)),v=computed({get(){const $=i?i.modelValue.value:c.value;return f.value?wrapInArray($).some(S=>a.valueComparator(S,d.value)):a.valueComparator($,d.value)},set($){if(a.readonly)return;const S=$?d.value:m.value;let C=S;f.value&&(C=$?[...wrapInArray(c.value),S]:wrapInArray(c.value).filter(E=>!a.valueComparator(E,d.value))),i?i.modelValue.value=C:c.value=C}}),{textColorClasses:g,textColorStyles:y}=useTextColor(computed(()=>{if(!(a.error||a.disabled))return v.value?a.color:a.baseColor})),{backgroundColorClasses:b,backgroundColorStyles:w}=useBackgroundColor(computed(()=>v.value&&!a.error&&!a.disabled?a.color:a.baseColor)),k=computed(()=>v.value?a.trueIcon:a.falseIcon);return{group:i,densityClasses:u,trueValue:d,falseValue:m,model:v,textColorClasses:g,textColorStyles:y,backgroundColorClasses:b,backgroundColorStyles:w,icon:k}}const VSelectionControl=genericComponent()({name:"VSelectionControl",directives:{Ripple},inheritAttrs:!1,props:makeVSelectionControlProps(),emits:{"update:modelValue":a=>!0},setup(a,i){let{attrs:u,slots:c}=i;const{group:d,densityClasses:m,icon:f,model:v,textColorClasses:g,textColorStyles:y,backgroundColorClasses:b,backgroundColorStyles:w,trueValue:k}=useSelectionControl(a),$=getUid(),S=shallowRef(!1),C=shallowRef(!1),E=ref(),D=computed(()=>a.id||`input-${$}`),A=computed(()=>!a.disabled&&!a.readonly);d==null||d.onForceUpdate(()=>{E.value&&(E.value.checked=v.value)});function O(M){A.value&&(S.value=!0,matchesSelector(M.target,":focus-visible")!==!1&&(C.value=!0))}function F(){S.value=!1,C.value=!1}function B(M){M.stopPropagation()}function I(M){A.value&&(a.readonly&&d&&nextTick(()=>d.forceUpdate()),v.value=M.target.checked)}return useRender(()=>{var Q,j;const M=c.label?c.label({label:a.label,props:{for:D.value}}):a.label,[z,q]=filterInputAttrs(u),H=createVNode("input",mergeProps({ref:E,checked:v.value,disabled:!!a.disabled,id:D.value,onBlur:F,onFocus:O,onInput:I,"aria-disabled":!!a.disabled,"aria-label":a.label,type:a.type,value:k.value,name:a.name,"aria-checked":a.type==="checkbox"?v.value:void 0},q),null);return createVNode("div",mergeProps({class:["v-selection-control",{"v-selection-control--dirty":v.value,"v-selection-control--disabled":a.disabled,"v-selection-control--error":a.error,"v-selection-control--focused":S.value,"v-selection-control--focus-visible":C.value,"v-selection-control--inline":a.inline},m.value,a.class]},z,{style:a.style}),[createVNode("div",{class:["v-selection-control__wrapper",g.value],style:y.value},[(Q=c.default)==null?void 0:Q.call(c,{backgroundColorClasses:b,backgroundColorStyles:w}),withDirectives(createVNode("div",{class:["v-selection-control__input"]},[((j=c.input)==null?void 0:j.call(c,{model:v,textColorClasses:g,textColorStyles:y,backgroundColorClasses:b,backgroundColorStyles:w,inputNode:H,icon:f.value,props:{onFocus:O,onBlur:F,id:D.value}}))??createVNode(Fragment,null,[f.value&&createVNode(VIcon,{key:"icon",icon:f.value},null),H])]),[[resolveDirective("ripple"),a.ripple&&[!a.disabled&&!a.readonly,null,["center","circle"]]]])]),M&&createVNode(VLabel,{for:D.value,onClick:B},{default:()=>[M]})])}),{isFocused:S,input:E}}}),makeVCheckboxBtnProps=propsFactory({indeterminate:Boolean,indeterminateIcon:{type:IconValue,default:"$checkboxIndeterminate"},...makeVSelectionControlProps({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),VCheckboxBtn=genericComponent()({name:"VCheckboxBtn",props:makeVCheckboxBtnProps(),emits:{"update:modelValue":a=>!0,"update:indeterminate":a=>!0},setup(a,i){let{slots:u}=i;const c=useProxiedModel(a,"indeterminate"),d=useProxiedModel(a,"modelValue");function m(g){c.value&&(c.value=!1)}const f=computed(()=>c.value?a.indeterminateIcon:a.falseIcon),v=computed(()=>c.value?a.indeterminateIcon:a.trueIcon);return useRender(()=>{const g=omit$1(VSelectionControl.filterProps(a),["modelValue"]);return createVNode(VSelectionControl,mergeProps(g,{modelValue:d.value,"onUpdate:modelValue":[y=>d.value=y,m],class:["v-checkbox-btn",a.class],style:a.style,type:"checkbox",falseIcon:f.value,trueIcon:v.value,"aria-checked":c.value?"mixed":void 0}),u)}),{}}}),makeVVirtualScrollItemProps=propsFactory({renderless:Boolean,...makeComponentProps()},"VVirtualScrollItem"),VVirtualScrollItem=genericComponent()({name:"VVirtualScrollItem",inheritAttrs:!1,props:makeVVirtualScrollItemProps(),emits:{"update:height":a=>!0},setup(a,i){let{attrs:u,emit:c,slots:d}=i;const{resizeRef:m,contentRect:f}=useResizeObserver(void 0,"border");watch(()=>{var v;return(v=f.value)==null?void 0:v.height},v=>{v!=null&&c("update:height",v)}),useRender(()=>{var v,g;return a.renderless?createVNode(Fragment,null,[(v=d.default)==null?void 0:v.call(d,{itemRef:m})]):createVNode("div",mergeProps({ref:m,class:["v-virtual-scroll__item",a.class],style:a.style},u),[(g=d.default)==null?void 0:g.call(d)])})}}),UP=-1,DOWN=1,BUFFER_PX=100,makeVirtualProps=propsFactory({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function useVirtual(a,i){const u=useDisplay(),c=shallowRef(0);watchEffect(()=>{c.value=parseFloat(a.itemHeight||0)});const d=shallowRef(0),m=shallowRef(Math.ceil((parseInt(a.height)||u.height.value)/(c.value||16))||1),f=shallowRef(0),v=shallowRef(0),g=ref(),y=ref();let b=0;const{resizeRef:w,contentRect:k}=useResizeObserver();watchEffect(()=>{w.value=g.value});const $=computed(()=>{var ye;return g.value===document.documentElement?u.height.value:((ye=k.value)==null?void 0:ye.height)||parseInt(a.height)||0}),S=computed(()=>!!(g.value&&y.value&&$.value&&c.value));let C=Array.from({length:i.value.length}),E=Array.from({length:i.value.length});const D=shallowRef(0);let A=-1;function O(ye){return C[ye]||c.value}const F=debounce$3(()=>{const ye=performance.now();E[0]=0;const ve=i.value.length;for(let le=1;le<=ve-1;le++)E[le]=(E[le-1]||0)+O(le-1);D.value=Math.max(D.value,performance.now()-ye)},D),B=watch(S,ye=>{ye&&(B(),b=y.value.offsetTop,F.immediate(),J(),~A&&nextTick(()=>{IN_BROWSER&&window.requestAnimationFrame(()=>{re(A),A=-1})}))});onScopeDispose(()=>{F.clear()});function I(ye,ve){const le=C[ye],Se=c.value;c.value=Se?Math.min(c.value,ve):ve,(le!==ve||Se!==c.value)&&(C[ye]=ve,F())}function M(ye){return ye=clamp(ye,0,i.value.length-1),E[ye]||0}function z(ye){return binaryClosest(E,ye)}let q=0,H=0,Q=0;watch($,(ye,ve)=>{ve&&(J(),ye<ve&&requestAnimationFrame(()=>{H=0,J()}))});function j(){if(!g.value||!y.value)return;const ye=g.value.scrollTop,ve=performance.now();ve-Q>500?(H=Math.sign(ye-q),b=y.value.offsetTop):H=ye-q,q=ye,Q=ve,J()}function ee(){!g.value||!y.value||(H=0,Q=0,J())}let G=-1;function J(){cancelAnimationFrame(G),G=requestAnimationFrame(te)}function te(){if(!g.value||!$.value)return;const ye=q-b,ve=Math.sign(H),le=Math.max(0,ye-BUFFER_PX),Se=clamp(z(le),0,i.value.length),De=ye+$.value+BUFFER_PX,At=clamp(z(De)+1,Se+1,i.value.length);if((ve!==UP||Se<d.value)&&(ve!==DOWN||At>m.value)){const Le=M(d.value)-M(Se),ke=M(At)-M(m.value);Math.max(Le,ke)>BUFFER_PX?(d.value=Se,m.value=At):(Se<=0&&(d.value=Se),At>=i.value.length&&(m.value=At))}f.value=M(d.value),v.value=M(i.value.length)-M(m.value)}function re(ye){const ve=M(ye);!g.value||ye&&!ve?A=ye:g.value.scrollTop=ve}const ae=computed(()=>i.value.slice(d.value,m.value).map((ye,ve)=>({raw:ye,index:ve+d.value})));return watch(i,()=>{C=Array.from({length:i.value.length}),E=Array.from({length:i.value.length}),F.immediate(),J()},{deep:!0}),{containerRef:g,markerRef:y,computedItems:ae,paddingTop:f,paddingBottom:v,scrollToIndex:re,handleScroll:j,handleScrollend:ee,handleItemResize:I}}function binaryClosest(a,i){let u=a.length-1,c=0,d=0,m=null,f=-1;if(a[u]<i)return u;for(;c<=u;)if(d=c+u>>1,m=a[d],m>i)u=d-1;else if(m<i)f=d,c=d+1;else return m===i?d:c;return f}const makeVVirtualScrollProps=propsFactory({items:{type:Array,default:()=>[]},renderless:Boolean,...makeVirtualProps(),...makeComponentProps(),...makeDimensionProps()},"VVirtualScroll"),VVirtualScroll=genericComponent()({name:"VVirtualScroll",props:makeVVirtualScrollProps(),setup(a,i){let{slots:u}=i;const c=getCurrentInstance("VVirtualScroll"),{dimensionStyles:d}=useDimension(a),{containerRef:m,markerRef:f,handleScroll:v,handleScrollend:g,handleItemResize:y,scrollToIndex:b,paddingTop:w,paddingBottom:k,computedItems:$}=useVirtual(a,toRef(a,"items"));return useToggleScope(()=>a.renderless,()=>{function S(){var D,A;const E=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";m.value===document.documentElement?(document[E]("scroll",v,{passive:!0}),document[E]("scrollend",g)):((D=m.value)==null||D[E]("scroll",v,{passive:!0}),(A=m.value)==null||A[E]("scrollend",g))}onMounted(()=>{m.value=getScrollParent$2(c.vnode.el,!0),S(!0)}),onScopeDispose(S)}),useRender(()=>{const S=$.value.map(C=>createVNode(VVirtualScrollItem,{key:C.index,renderless:a.renderless,"onUpdate:height":E=>y(C.index,E)},{default:E=>{var D;return(D=u.default)==null?void 0:D.call(u,{item:C.raw,index:C.index,...E})}}));return a.renderless?createVNode(Fragment,null,[createVNode("div",{ref:f,class:"v-virtual-scroll__spacer",style:{paddingTop:convertToUnit(w.value)}},null),S,createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:convertToUnit(k.value)}},null)]):createVNode("div",{ref:m,class:["v-virtual-scroll",a.class],onScrollPassive:v,onScrollend:g,style:[d.value,a.style]},[createVNode("div",{ref:f,class:"v-virtual-scroll__container",style:{paddingTop:convertToUnit(w.value),paddingBottom:convertToUnit(k.value)}},[S])])}),{scrollToIndex:b}}});function useScrolling(a,i){const u=shallowRef(!1);let c;function d(v){cancelAnimationFrame(c),u.value=!0,c=requestAnimationFrame(()=>{c=requestAnimationFrame(()=>{u.value=!1})})}async function m(){await new Promise(v=>requestAnimationFrame(v)),await new Promise(v=>requestAnimationFrame(v)),await new Promise(v=>requestAnimationFrame(v)),await new Promise(v=>{if(u.value){const g=watch(u,()=>{g(),v()})}else v()})}async function f(v){var b,w;if(v.key==="Tab"&&((b=i.value)==null||b.focus()),!["PageDown","PageUp","Home","End"].includes(v.key))return;const g=(w=a.value)==null?void 0:w.$el;if(!g)return;(v.key==="Home"||v.key==="End")&&g.scrollTo({top:v.key==="Home"?0:g.scrollHeight,behavior:"smooth"}),await m();const y=g.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(v.key==="PageDown"||v.key==="Home"){const k=g.getBoundingClientRect().top;for(const $ of y)if($.getBoundingClientRect().top>=k){$.focus();break}}else{const k=g.getBoundingClientRect().bottom;for(const $ of[...y].reverse())if($.getBoundingClientRect().bottom<=k){$.focus();break}}}return{onListScroll:d,onListKeydown:f}}const makeSelectProps=propsFactory({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:IconValue,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...makeItemsProps({itemChildren:!1})},"Select"),makeVSelectProps=propsFactory({...makeSelectProps(),...omit$1(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:{component:VDialogTransition}})},"VSelect");genericComponent()({name:"VSelect",props:makeVSelectProps(),emits:{"update:focused":a=>!0,"update:modelValue":a=>!0,"update:menu":a=>!0},setup(a,i){let{slots:u}=i;const{t:c}=useLocale(),d=ref(),m=ref(),f=ref(),v=useProxiedModel(a,"menu"),g=computed({get:()=>v.value,set:ae=>{var ye;v.value&&!ae&&((ye=m.value)!=null&&ye.ΨopenChildren)||(v.value=ae)}}),{items:y,transformIn:b,transformOut:w}=useItems(a),k=useProxiedModel(a,"modelValue",[],ae=>b(ae===null?[null]:wrapInArray(ae)),ae=>{const ye=w(ae);return a.multiple?ye:ye[0]??null}),$=computed(()=>typeof a.counterValue=="function"?a.counterValue(k.value):typeof a.counterValue=="number"?a.counterValue:k.value.length),S=useForm(),C=computed(()=>k.value.map(ae=>ae.value)),E=shallowRef(!1),D=computed(()=>g.value?a.closeText:a.openText);let A="",O;const F=computed(()=>a.hideSelected?y.value.filter(ae=>!k.value.some(ye=>ye===ae)):y.value),B=computed(()=>a.hideNoData&&!F.value.length||a.readonly||(S==null?void 0:S.isReadonly.value)),I=computed(()=>{var ae;return{...a.menuProps,activatorProps:{...((ae=a.menuProps)==null?void 0:ae.activatorProps)||{},"aria-haspopup":"listbox"}}}),M=ref(),{onListScroll:z,onListKeydown:q}=useScrolling(M,d);function H(ae){a.openOnClear&&(g.value=!0)}function Q(){B.value||(g.value=!g.value)}function j(ae){var De,At;if(!ae.key||a.readonly||S!=null&&S.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(ae.key)&&ae.preventDefault(),["Enter","ArrowDown"," "].includes(ae.key)&&(g.value=!0),["Escape","Tab"].includes(ae.key)&&(g.value=!1),ae.key==="Home"?(De=M.value)==null||De.focus("first"):ae.key==="End"&&((At=M.value)==null||At.focus("last"));const ye=1e3;function ve(Le){const ke=Le.key.length===1,ue=!Le.ctrlKey&&!Le.metaKey&&!Le.altKey;return ke&&ue}if(a.multiple||!ve(ae))return;const le=performance.now();le-O>ye&&(A=""),A+=ae.key.toLowerCase(),O=le;const Se=y.value.find(Le=>Le.title.toLowerCase().startsWith(A));Se!==void 0&&(k.value=[Se])}function ee(ae){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!ae.props.disabled)if(a.multiple){const ve=k.value.findIndex(Se=>a.valueComparator(Se.value,ae.value)),le=ye??!~ve;if(~ve){const Se=le?[...k.value,ae]:[...k.value];Se.splice(ve,1),k.value=Se}else le&&(k.value=[...k.value,ae])}else{const ve=ye!==!1;k.value=ve?[ae]:[],nextTick(()=>{g.value=!1})}}function G(ae){var ye;(ye=M.value)!=null&&ye.$el.contains(ae.relatedTarget)||(g.value=!1)}function J(){var ae;E.value&&((ae=d.value)==null||ae.focus())}function te(ae){E.value=!0}function re(ae){if(ae==null)k.value=[];else if(matchesSelector(d.value,":autofill")||matchesSelector(d.value,":-webkit-autofill")){const ye=y.value.find(ve=>ve.title===ae);ye&&ee(ye)}else d.value&&(d.value.value="")}return watch([g,k],()=>{if(!a.hideSelected&&g.value&&k.value.length){const ae=F.value.findIndex(ye=>k.value.some(ve=>a.valueComparator(ve.value,ye.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var ye;ae>=0&&((ye=f.value)==null||ye.scrollToIndex(ae))})}}),watch(()=>a.items,(ae,ye)=>{g.value||E.value&&!ye.length&&ae.length&&(g.value=!0)}),useRender(()=>{const ae=!!(a.chips||u.chip),ye=!!(!a.hideNoData||F.value.length||u["prepend-item"]||u["append-item"]||u["no-data"]),ve=k.value.length>0,le=VTextField.filterProps(a),Se=ve||!E.value&&a.label&&!a.persistentPlaceholder?void 0:a.placeholder;return createVNode(VTextField,mergeProps({ref:d},le,{modelValue:k.value.map(De=>De.props.value).join(", "),"onUpdate:modelValue":re,focused:E.value,"onUpdate:focused":De=>E.value=De,validationValue:k.externalValue,counterValue:$.value,dirty:ve,class:["v-select",{"v-select--active-menu":g.value,"v-select--chips":!!a.chips,[`v-select--${a.multiple?"multiple":"single"}`]:!0,"v-select--selected":k.value.length,"v-select--selection-slot":!!u.selection},a.class],style:a.style,inputmode:"none",placeholder:Se,"onClick:clear":H,"onMousedown:control":Q,onBlur:G,onKeydown:j,"aria-label":c(D.value),title:c(D.value)}),{...u,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:m,modelValue:g.value,"onUpdate:modelValue":De=>g.value=De,activator:"parent",contentClass:"v-select__content",disabled:B.value,eager:a.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:a.transition,onAfterLeave:J},I.value),{default:()=>[ye&&createVNode(VList,mergeProps({ref:M,selected:C.value,selectStrategy:a.multiple?"independent":"single-independent",onMousedown:De=>De.preventDefault(),onKeydown:q,onFocusin:te,onScrollPassive:z,tabindex:"-1","aria-live":"polite",color:a.itemColor??a.color},a.listProps),{default:()=>{var De,At,Le;return[(De=u["prepend-item"])==null?void 0:De.call(u),!F.value.length&&!a.hideNoData&&(((At=u["no-data"])==null?void 0:At.call(u))??createVNode(VListItem,{title:c(a.noDataText)},null)),createVNode(VVirtualScroll,{ref:f,renderless:!0,items:F.value},{default:ke=>{var Vt;let{item:ue,index:Ce,itemRef:Te}=ke;const Pe=mergeProps(ue.props,{ref:Te,key:Ce,onClick:()=>ee(ue,null)});return((Vt=u.item)==null?void 0:Vt.call(u,{item:ue,index:Ce,props:Pe}))??createVNode(VListItem,mergeProps(Pe,{role:"option"}),{prepend:Ie=>{let{isSelected:ie}=Ie;return createVNode(Fragment,null,[a.multiple&&!a.hideSelected?createVNode(VCheckboxBtn,{key:ue.value,modelValue:ie,ripple:!1,tabindex:"-1"},null):void 0,ue.props.prependAvatar&&createVNode(VAvatar,{image:ue.props.prependAvatar},null),ue.props.prependIcon&&createVNode(VIcon,{icon:ue.props.prependIcon},null)])}})}}),(Le=u["append-item"])==null?void 0:Le.call(u)]}})]}),k.value.map((De,At)=>{function Le(Te){Te.stopPropagation(),Te.preventDefault(),ee(De,!1)}const ke={"onClick:close":Le,onKeydown(Te){Te.key!=="Enter"&&Te.key!==" "||(Te.preventDefault(),Te.stopPropagation(),Le(Te))},onMousedown(Te){Te.preventDefault(),Te.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ue=ae?!!u.chip:!!u.selection,Ce=ue?ensureValidVNode(ae?u.chip({item:De,index:At,props:ke}):u.selection({item:De,index:At})):void 0;if(!(ue&&!Ce))return createVNode("div",{key:De.value,class:"v-select__selection"},[ae?u.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:a.closableChips,size:"small",text:De.title}}},{default:()=>[Ce]}):createVNode(VChip,mergeProps({key:"chip",closable:a.closableChips,size:"small",text:De.title,disabled:De.props.disabled},ke),null):Ce??createVNode("span",{class:"v-select__selection-text"},[De.title,a.multiple&&At<k.value.length-1&&createVNode("span",{class:"v-select__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var ke;for(var De=arguments.length,At=new Array(De),Le=0;Le<De;Le++)At[Le]=arguments[Le];return createVNode(Fragment,null,[(ke=u["append-inner"])==null?void 0:ke.call(u,...At),a.menuIcon?createVNode(VIcon,{class:"v-select__menu-icon",icon:a.menuIcon},null):void 0])}})}),forwardRefs({isFocused:E,menu:g,select:ee},d)}});const defaultFilter=(a,i,u)=>a==null||i==null?-1:a.toString().toLocaleLowerCase().indexOf(i.toString().toLocaleLowerCase()),makeFilterProps=propsFactory({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function filterItems(a,i,u){var v;const c=[],d=(u==null?void 0:u.default)??defaultFilter,m=u!=null&&u.filterKeys?wrapInArray(u.filterKeys):!1,f=Object.keys((u==null?void 0:u.customKeyFilter)??{}).length;if(!(a!=null&&a.length))return c;e:for(let g=0;g<a.length;g++){const[y,b=y]=wrapInArray(a[g]),w={},k={};let $=-1;if(i&&!(u!=null&&u.noFilter)){if(typeof y=="object"){const E=m||Object.keys(b);for(const D of E){const A=getPropertyFromItem(b,D),O=(v=u==null?void 0:u.customKeyFilter)==null?void 0:v[D];if($=O?O(A,i,y):d(A,i,y),$!==-1&&$!==!1)O?w[D]=$:k[D]=$;else if((u==null?void 0:u.filterMode)==="every")continue e}}else $=d(y,i,y),$!==-1&&$!==!1&&(k.title=$);const S=Object.keys(k).length,C=Object.keys(w).length;if(!S&&!C||(u==null?void 0:u.filterMode)==="union"&&C!==f&&!S||(u==null?void 0:u.filterMode)==="intersection"&&(C!==f||!S))continue}c.push({index:g,matches:{...k,...w}})}return c}function useFilter(a,i,u,c){const d=ref([]),m=ref(new Map),f=computed(()=>c!=null&&c.transform?unref(i).map(g=>[g,c.transform(g)]):unref(i));watchEffect(()=>{const g=typeof u=="function"?u():unref(u),y=typeof g!="string"&&typeof g!="number"?"":String(g),b=filterItems(f.value,y,{customKeyFilter:{...a.customKeyFilter,...unref(c==null?void 0:c.customKeyFilter)},default:a.customFilter,filterKeys:a.filterKeys,filterMode:a.filterMode,noFilter:a.noFilter}),w=unref(i),k=[],$=new Map;b.forEach(S=>{let{index:C,matches:E}=S;const D=w[C];k.push(D),$.set(D.value,E)}),d.value=k,m.value=$});function v(g){return m.value.get(g.value)}return{filteredItems:d,filteredMatches:m,getMatches:v}}function highlightResult(a,i,u){if(i==null)return a;if(Array.isArray(i))throw new Error("Multiple matches is not implemented");return typeof i=="number"&&~i?createVNode(Fragment,null,[createVNode("span",{class:"v-combobox__unmask"},[a.substr(0,i)]),createVNode("span",{class:"v-combobox__mask"},[a.substr(i,u)]),createVNode("span",{class:"v-combobox__unmask"},[a.substr(i+u)])]):a}const makeVComboboxProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps({hideNoData:!0,returnObject:!0}),...omit$1(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:!1})},"VCombobox"),VCombobox=genericComponent()({name:"VCombobox",props:makeVComboboxProps(),emits:{"update:focused":a=>!0,"update:modelValue":a=>!0,"update:search":a=>!0,"update:menu":a=>!0},setup(a,i){var Vt;let{emit:u,slots:c}=i;const{t:d}=useLocale(),m=ref(),f=shallowRef(!1),v=shallowRef(!0),g=shallowRef(!1),y=ref(),b=ref(),w=useProxiedModel(a,"menu"),k=computed({get:()=>w.value,set:Ie=>{var ie;w.value&&!Ie&&((ie=y.value)!=null&&ie.ΨopenChildren)||(w.value=Ie)}}),$=shallowRef(-1);let S=!1;const C=computed(()=>{var Ie;return(Ie=m.value)==null?void 0:Ie.color}),E=computed(()=>k.value?a.closeText:a.openText),{items:D,transformIn:A,transformOut:O}=useItems(a),{textColorClasses:F,textColorStyles:B}=useTextColor(C),I=useProxiedModel(a,"modelValue",[],Ie=>A(wrapInArray(Ie)),Ie=>{const ie=O(Ie);return a.multiple?ie:ie[0]??null}),M=useForm(),z=computed(()=>!!(a.chips||c.chip)),q=computed(()=>z.value||!!c.selection),H=shallowRef(!a.multiple&&!q.value?((Vt=I.value[0])==null?void 0:Vt.title)??"":""),Q=computed({get:()=>H.value,set:Ie=>{var ie;if(H.value=Ie??"",!a.multiple&&!q.value&&(I.value=[transformItem$1(a,Ie)]),Ie&&a.multiple&&((ie=a.delimiters)!=null&&ie.length)){const de=Ie.split(new RegExp(`(?:${a.delimiters.join("|")})+`));de.length>1&&(de.forEach(Fe=>{Fe=Fe.trim(),Fe&&ue(transformItem$1(a,Fe))}),H.value="")}Ie||($.value=-1),v.value=!Ie}}),j=computed(()=>typeof a.counterValue=="function"?a.counterValue(I.value):typeof a.counterValue=="number"?a.counterValue:a.multiple?I.value.length:Q.value.length);watch(H,Ie=>{S?nextTick(()=>S=!1):f.value&&!k.value&&(k.value=!0),u("update:search",Ie)}),watch(I,Ie=>{var ie;!a.multiple&&!q.value&&(H.value=((ie=Ie[0])==null?void 0:ie.title)??"")});const{filteredItems:ee,getMatches:G}=useFilter(a,D,()=>v.value?"":Q.value),J=computed(()=>a.hideSelected?ee.value.filter(Ie=>!I.value.some(ie=>ie.value===Ie.value)):ee.value),te=computed(()=>I.value.map(Ie=>Ie.value)),re=computed(()=>{var ie;return(a.autoSelectFirst===!0||a.autoSelectFirst==="exact"&&Q.value===((ie=J.value[0])==null?void 0:ie.title))&&J.value.length>0&&!v.value&&!g.value}),ae=computed(()=>a.hideNoData&&!J.value.length||a.readonly||(M==null?void 0:M.isReadonly.value)),ye=ref(),{onListScroll:ve,onListKeydown:le}=useScrolling(ye,m);function Se(Ie){S=!0,a.openOnClear&&(k.value=!0)}function De(){ae.value||(k.value=!0)}function At(Ie){ae.value||(f.value&&(Ie.preventDefault(),Ie.stopPropagation()),k.value=!k.value)}function Le(Ie){var Fe;if(isComposingIgnoreKey(Ie)||a.readonly||M!=null&&M.isReadonly.value)return;const ie=m.value.selectionStart,de=I.value.length;if(($.value>-1||["Enter","ArrowDown","ArrowUp"].includes(Ie.key))&&Ie.preventDefault(),["Enter","ArrowDown"].includes(Ie.key)&&(k.value=!0),["Escape"].includes(Ie.key)&&(k.value=!1),["Enter","Escape","Tab"].includes(Ie.key)&&(re.value&&["Enter","Tab"].includes(Ie.key)&&ue(ee.value[0]),v.value=!0),Ie.key==="ArrowDown"&&re.value&&((Fe=ye.value)==null||Fe.focus("next")),Ie.key==="Enter"&&Q.value&&(ue(transformItem$1(a,Q.value)),q.value&&(H.value="")),["Backspace","Delete"].includes(Ie.key)){if(!a.multiple&&q.value&&I.value.length>0)return ue(I.value[0],!1);if($.value<0){Ie.key==="Backspace"&&!Q.value&&($.value=de-1);return}const We=$.value;ue(I.value[$.value],!1),$.value=We>=de-1?de-2:We}if(a.multiple){if(Ie.key==="ArrowLeft"){if($.value<0&&ie>0)return;const We=$.value>-1?$.value-1:de-1;I.value[We]?$.value=We:($.value=-1,m.value.setSelectionRange(Q.value.length,Q.value.length))}if(Ie.key==="ArrowRight"){if($.value<0)return;const We=$.value+1;I.value[We]?$.value=We:($.value=-1,m.value.setSelectionRange(0,0))}}}function ke(){var Ie;f.value&&(v.value=!0,(Ie=m.value)==null||Ie.focus())}function ue(Ie){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!Ie||Ie.props.disabled))if(a.multiple){const de=I.value.findIndex(We=>a.valueComparator(We.value,Ie.value)),Fe=ie??!~de;if(~de){const We=Fe?[...I.value,Ie]:[...I.value];We.splice(de,1),I.value=We}else Fe&&(I.value=[...I.value,Ie]);a.clearOnSelect&&(Q.value="")}else{const de=ie!==!1;I.value=de?[Ie]:[],H.value=de&&!q.value?Ie.title:"",nextTick(()=>{k.value=!1,v.value=!0})}}function Ce(Ie){f.value=!0,setTimeout(()=>{g.value=!0})}function Te(Ie){g.value=!1}function Pe(Ie){(Ie==null||Ie===""&&!a.multiple)&&(I.value=[])}return watch(f,(Ie,ie)=>{if(!(Ie||Ie===ie)){if($.value=-1,k.value=!1,re.value&&!g.value&&!I.value.some(de=>{let{value:Fe}=de;return Fe===J.value[0].value})){ue(J.value[0]);return}if(Q.value){if(a.multiple){ue(transformItem$1(a,Q.value));return}if(!q.value)return;I.value.some(de=>{let{title:Fe}=de;return Fe===Q.value})?H.value="":ue(transformItem$1(a,Q.value))}}}),watch(k,()=>{if(!a.hideSelected&&k.value&&I.value.length){const Ie=J.value.findIndex(ie=>I.value.some(de=>a.valueComparator(de.value,ie.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var ie;Ie>=0&&((ie=b.value)==null||ie.scrollToIndex(Ie))})}}),watch(()=>a.items,(Ie,ie)=>{k.value||f.value&&!ie.length&&Ie.length&&(k.value=!0)}),useRender(()=>{const Ie=!!(!a.hideNoData||J.value.length||c["prepend-item"]||c["append-item"]||c["no-data"]),ie=I.value.length>0,de=VTextField.filterProps(a);return createVNode(VTextField,mergeProps({ref:m},de,{modelValue:Q.value,"onUpdate:modelValue":[Fe=>Q.value=Fe,Pe],focused:f.value,"onUpdate:focused":Fe=>f.value=Fe,validationValue:I.externalValue,counterValue:j.value,dirty:ie,class:["v-combobox",{"v-combobox--active-menu":k.value,"v-combobox--chips":!!a.chips,"v-combobox--selection-slot":!!q.value,"v-combobox--selecting-index":$.value>-1,[`v-combobox--${a.multiple?"multiple":"single"}`]:!0},a.class],style:a.style,readonly:a.readonly,placeholder:ie?void 0:a.placeholder,"onClick:clear":Se,"onMousedown:control":De,onKeydown:Le}),{...c,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:y,modelValue:k.value,"onUpdate:modelValue":Fe=>k.value=Fe,activator:"parent",contentClass:"v-combobox__content",disabled:ae.value,eager:a.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:a.transition,onAfterLeave:ke},a.menuProps),{default:()=>[Ie&&createVNode(VList,mergeProps({ref:ye,selected:te.value,selectStrategy:a.multiple?"independent":"single-independent",onMousedown:Fe=>Fe.preventDefault(),onKeydown:le,onFocusin:Ce,onFocusout:Te,onScrollPassive:ve,tabindex:"-1","aria-live":"polite",color:a.itemColor??a.color},a.listProps),{default:()=>{var Fe,We,wt;return[(Fe=c["prepend-item"])==null?void 0:Fe.call(c),!J.value.length&&!a.hideNoData&&(((We=c["no-data"])==null?void 0:We.call(c))??createVNode(VListItem,{title:d(a.noDataText)},null)),createVNode(VVirtualScroll,{ref:b,renderless:!0,items:J.value},{default:jt=>{var Wt;let{item:Ut,index:Tt,itemRef:Ft}=jt;const St=mergeProps(Ut.props,{ref:Ft,key:Tt,active:re.value&&Tt===0?!0:void 0,onClick:()=>ue(Ut,null)});return((Wt=c.item)==null?void 0:Wt.call(c,{item:Ut,index:Tt,props:St}))??createVNode(VListItem,mergeProps(St,{role:"option"}),{prepend:$t=>{let{isSelected:xt}=$t;return createVNode(Fragment,null,[a.multiple&&!a.hideSelected?createVNode(VCheckboxBtn,{key:Ut.value,modelValue:xt,ripple:!1,tabindex:"-1"},null):void 0,Ut.props.prependAvatar&&createVNode(VAvatar,{image:Ut.props.prependAvatar},null),Ut.props.prependIcon&&createVNode(VIcon,{icon:Ut.props.prependIcon},null)])},title:()=>{var $t,xt;return v.value?Ut.title:highlightResult(Ut.title,($t=G(Ut))==null?void 0:$t.title,((xt=Q.value)==null?void 0:xt.length)??0)}})}}),(wt=c["append-item"])==null?void 0:wt.call(c)]}})]}),I.value.map((Fe,We)=>{function wt(Ft){Ft.stopPropagation(),Ft.preventDefault(),ue(Fe,!1)}const jt={"onClick:close":wt,onKeydown(Ft){Ft.key!=="Enter"&&Ft.key!==" "||(Ft.preventDefault(),Ft.stopPropagation(),wt(Ft))},onMousedown(Ft){Ft.preventDefault(),Ft.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},Ut=z.value?!!c.chip:!!c.selection,Tt=Ut?ensureValidVNode(z.value?c.chip({item:Fe,index:We,props:jt}):c.selection({item:Fe,index:We})):void 0;if(!(Ut&&!Tt))return createVNode("div",{key:Fe.value,class:["v-combobox__selection",We===$.value&&["v-combobox__selection--selected",F.value]],style:We===$.value?B.value:{}},[z.value?c.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:a.closableChips,size:"small",text:Fe.title}}},{default:()=>[Tt]}):createVNode(VChip,mergeProps({key:"chip",closable:a.closableChips,size:"small",text:Fe.title,disabled:Fe.props.disabled},jt),null):Tt??createVNode("span",{class:"v-combobox__selection-text"},[Fe.title,a.multiple&&We<I.value.length-1&&createVNode("span",{class:"v-combobox__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var jt;for(var Fe=arguments.length,We=new Array(Fe),wt=0;wt<Fe;wt++)We[wt]=arguments[wt];return createVNode(Fragment,null,[(jt=c["append-inner"])==null?void 0:jt.call(c,...We),(!a.hideNoData||a.items.length)&&a.menuIcon?createVNode(VIcon,{class:"v-combobox__menu-icon",icon:a.menuIcon,onMousedown:At,onClick:noop$4,"aria-label":d(E.value),title:d(E.value)},null):void 0])}})}),forwardRefs({isFocused:f,isPristine:v,menu:k,search:Q,selectionIndex:$,filteredItems:ee,select:ue},m)}});function _sfc_render$1(a,i,u,c,d,m){const f=resolveComponent("step-editor");return openBlock(),createElementBlock(Fragment,null,[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(a.recipe.name),1)]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField,{label:"Name",modelValue:a.recipe.name,"onUpdate:modelValue":i[0]||(i[0]=v=>a.recipe.name=v)},null,8,["modelValue"]),createVNode(VTextarea,{label:"Description",modelValue:a.recipe.description,"onUpdate:modelValue":i[1]||(i[1]=v=>a.recipe.description=v),clearable:""},null,8,["modelValue"]),createVNode(VCombobox,{label:"Keywords",modelValue:a.recipe.keywords,"onUpdate:modelValue":i[2]||(i[2]=v=>a.recipe.keywords=v),items:a.keywords,"item-title":"name",multiple:"",clearable:"",chips:""},null,8,["modelValue","items"]),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:a.recipe.waitingTime,"onUpdate:modelValue":i[3]||(i[3]=v=>a.recipe.waitingTime=v),modelModifiers:{number:!0},label:"Waiting Time (min)"},null,8,["modelValue"])]),_:1}),createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:a.recipe.workingTime,"onUpdate:modelValue":i[4]||(i[4]=v=>a.recipe.workingTime=v),modelModifiers:{number:!0},label:"Working Time (min)"},null,8,["modelValue"])]),_:1})]),_:1}),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:a.recipe.servings,"onUpdate:modelValue":i[5]||(i[5]=v=>a.recipe.servings=v),modelModifiers:{number:!0},label:"Servings"},null,8,["modelValue"])]),_:1}),createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:a.recipe.servingsText,"onUpdate:modelValue":i[6]||(i[6]=v=>a.recipe.servingsText=v),label:"Servings Text"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(a.recipe.steps,(v,g)=>(openBlock(),createBlock(VRow,{class:"mt-1"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(f,{modelValue:a.recipe.steps[g],"onUpdate:modelValue":y=>a.recipe.steps[g]=y,"step-index":g},null,8,["modelValue","onUpdate:modelValue","step-index"])]),_:2},1024)]),_:2},1024))),256))]),_:1}),createVNode(VBtn,{onClick:i[7]||(i[7]=v=>a.updateRecipe())},{default:withCtx(()=>[createTextVNode("Save")]),_:1}),createVNode(VBtn,{to:{name:"view_recipe",params:{id:a.recipe_id}}},{default:withCtx(()=>[createTextVNode("View")]),_:1},8,["to"])],64)}const RecipeEditPage=_export_sfc(_sfc_main$4,[["render",_sfc_render$1]]);var we=Object.defineProperty,Ae=(a,i,u)=>i in a?we(a,i,{enumerable:!0,configurable:!0,writable:!0,value:u}):a[i]=u,Y=(a,i,u)=>(Ae(a,typeof i!="symbol"?i+"":i,u),u);const N=()=>R(new Date),He=(a,i,u)=>{switch(i){case"year":return new Date(a.getFullYear(),0);case"month":return new Date(a.getFullYear(),a.getMonth());case"week":return X(a,u);default:return a}},Be=a=>[...Array(7)].map((i,u)=>L(a,u)),L=(a,i)=>new Date(a.getFullYear(),a.getMonth(),a.getDate()+i,a.getHours(),a.getMinutes(),a.getSeconds()),X=(a,i)=>L(a,(i-a.getDay()-7)%-7),Ee=(a,i)=>L(X(a,i),7),W=a=>new Date(a.getFullYear(),a.getMonth()),Ue=a=>Math.ceil(a.getDate()/7),Re=(a,i,u)=>new Date(a.getFullYear()+(i=="year"?u:0),a.getMonth()+(i=="month"?u:0),a.getDate()+(i=="week"?u*7:0)),Z=a=>("0"+String(a.getMonth()+1)).slice(-2),x=a=>("0"+String(a.getDate())).slice(-2),ce=a=>a.getFullYear()+"-"+Z(a),Ve=a=>ce(a)+"-"+x(a),ze=a=>Z(a)+"-"+x(a),je=(a,i,u)=>{if(a.getHours()===0&&a.getMinutes()===0&&a.getSeconds()===0)return"";if(!V()){var c=new Date().getTimezoneOffset()*6e4;return new Date(a.getTime()-c).toISOString().slice(11,16)}return a.toLocaleTimeString(i,u)},qe=(a,i,u,c)=>{const d=a.getFullYear()===i.getFullYear(),m=me(a,i),f=u!=="year"&&u!=="month";let v=[];return v.push(c[a.getMonth()]),f&&(v.push(" "),v.push(a.getDate())),d||(v.push(f?", ":" "),v.push(a.getFullYear())),!m||!d?(v.push(" "),m||v.push(c[i.getMonth()]),f&&v.push(" ")):f&&v.push(" "),f?(v.push(i.getDate()),v.push(", ")):v.push(" "),v.push(i.getFullYear()),v.join("")},ge=(a,i)=>{const u=Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()),c=Date.UTC(a.getFullYear(),a.getMonth(),a.getDate());return(u-c)/864e5},Ge=(a,i)=>!!a&&!!i&&ge(a,i)===0,Qe=(a,i)=>!!a&&!!i&&a.getTime()===i.getTime(),me=(a,i)=>!!a&&!!i&&a.getFullYear()===i.getFullYear()&&a.getMonth()===i.getMonth(),Je=a=>W(a)<W(N()),Ke=a=>W(a)>W(N()),Xe=a=>R(a)>N(),Ze=a=>R(a)<N(),xe=a=>a.getMonth()!==L(a,7).getMonth(),_e=a=>a.getMonth()!==L(a,1).getMonth(),fe=a=>{let i=[...Array(7)].map(u=>0);return a.split(/\D/,7).forEach((u,c)=>i[c]=Number(u)),i[1]--,new Date(i[0],i[1],i[2],i[3],i[4],i[5],i[6])},K=a=>typeof a=="string"?fe(a):new Date(a),R=a=>{const i=new Date(a);return i.setHours(0,0,0,0),i},et=a=>a.substring(0,2),V=()=>typeof Intl<"u",tt=(a,i)=>{if(!V())return[...Array(12)].map(c=>"");const u=new Intl.DateTimeFormat(a,{month:i});return[...Array(12)].map((c,d)=>u.format(new Date(2017,d,1)))},at=(a,i,u)=>{if(!V())return[...Array(7)].map(d=>"");const c=new Intl.DateTimeFormat(a,{weekday:i});return[...Array(7)].map((d,m)=>c.format(new Date(2017,0,(m+1+u)%7)))},rt=()=>typeof navigator>"u"?"unk":(navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language).toLowerCase(),nt=(a,i)=>{const u=a.classes?[...a.classes]:[];return i&&u.push("isHovered"),{originalItem:a,startDate:K(a.startDate),endDate:K(a.endDate||a.startDate),classes:u,title:a.title||"Untitled",id:a.id,url:a.url,tooltip:a.tooltip??a.title}},o$1={addDays:L,beginningOfMonth:W,beginningOfPeriod:He,beginningOfWeek:X,dateOnly:R,dayDiff:ge,daysOfWeek:Be,endOfWeek:Ee,formattedPeriod:qe,formattedTime:je,fromIsoStringToLocalDate:fe,getDefaultBrowserLocale:rt,getFormattedMonthNames:tt,getFormattedWeekdayNames:at,incrementPeriod:Re,instanceOfMonth:Ue,isFutureMonth:Ke,isInFuture:Xe,isInPast:Ze,isLastDayOfMonth:_e,isLastInstanceOfMonth:xe,isoMonthDay:ze,isoYearMonth:ce,isoYearMonthDay:Ve,isPastMonth:Je,isSameDate:Ge,isSameDateTime:Qe,isSameMonth:me,languageCode:et,normalizeItem:nt,paddedDay:x,paddedMonth:Z,supportsIntl:V,today:N,toLocalDate:K};class ot{constructor(){Y(this,"currentDragItem"),Y(this,"dateSelectionOrigin"),Y(this,"currentHoveredItemId",""),Y(this,"CalendarMath",o$1)}}const st={class:"cv-header-days"},it={key:0,class:"cv-weeknumber"},lt$1=["aria-multiselectable"],dt={key:0,class:"cv-weeknumber"},ut={class:"cv-weekdays"},ct=["draggable","aria-grabbed","aria-label","aria-selected","aria-dropeffect","onClick","onDragstart","onDrop","onDragover","onDragenter","onDragleave"],gt$1={class:"cv-day-number"},mt={key:0,class:"cv-fom-name"},ft=["draggable","aria-grabbed","title","onDragstart","onMouseenter","onMouseleave","onClick","innerHTML"],pt=["draggable","aria-grabbed","title","onDragstart","onMouseenter","onMouseleave","onClick"],Ot=defineComponent$1({__name:"CalendarView",props:{showDate:{default:void 0},displayPeriodUom:{default:"month"},displayPeriodCount:{default:1},displayWeekNumbers:{type:Boolean,default:!1},locale:{default:void 0},monthNameFormat:{default:"long"},weekdayNameFormat:{default:"short"},showTimes:{type:Boolean,default:!1},timeFormatOptions:{default:()=>({})},disablePast:{type:Boolean,default:!1},disableFuture:{type:Boolean,default:!1},enableDateSelection:{type:Boolean,default:!1},selectionStart:{default:void 0},selectionEnd:{default:void 0},enableDragDrop:{type:Boolean,default:!1},startingDayOfWeek:{default:0},items:{default:()=>[]},dateClasses:{default:()=>({})},itemTop:{default:"1.4em"},itemContentHeight:{default:"1.4em"},itemBorderHeight:{default:"2px"},periodChangedCallback:{type:Function,default:void 0},currentPeriodLabel:{default:""},currentPeriodLabelIcons:{default:"⇤-⇥"},doEmitItemMouseEvents:{type:Boolean,default:!1},enableHtmlTitles:{type:Boolean,default:!0},monthNameOn1st:{type:Boolean,default:!0}},emits:["period-changed","click-date","click-item","item-mouseenter","item-mouseleave","drag-start","drag-over-date","drag-enter-date","drag-leave-date","drop-on-date","date-selection","date-selection-start","date-selection-finish"],setup(a,{emit:i}){const u=a,c=i,d=reactive(new ot),m=computed(()=>u.locale||o$1.getDefaultBrowserLocale()),f=computed(()=>u.showDate?o$1.dateOnly(u.showDate):o$1.today()),v=computed(()=>o$1.beginningOfPeriod(f.value,u.displayPeriodUom,u.startingDayOfWeek)),g=computed(()=>o$1.addDays(o$1.incrementPeriod(v.value,u.displayPeriodUom,u.displayPeriodCount),-1)),y=computed(()=>{const Pe=new Date(v.value.getFullYear(),0,1),Vt=o$1.addDays(Pe,(11-Pe.getDay())%7),Ie=o$1.beginningOfPeriod(Vt,"week",u.startingDayOfWeek),ie=o$1.beginningOfWeek(v.value,u.startingDayOfWeek);return 1+Math.floor(o$1.dayDiff(Ie,ie)/7)}),b=computed(()=>o$1.beginningOfWeek(v.value,u.startingDayOfWeek)),w=computed(()=>o$1.endOfWeek(g.value,u.startingDayOfWeek)),k=computed(()=>{const Pe=Math.floor((o$1.dayDiff(b.value,w.value)+1)/7);return[...Array(Pe)].map((Vt,Ie)=>o$1.addDays(b.value,Ie*7))}),$=computed(()=>o$1.getFormattedMonthNames(m.value,u.monthNameFormat)),S=computed(()=>o$1.getFormattedWeekdayNames(m.value,u.weekdayNameFormat,u.startingDayOfWeek)),C=computed(()=>u.items?u.items.map(Pe=>o$1.normalizeItem(Pe,Pe.id===d.currentHoveredItemId)):[]),E=computed(()=>o$1.beginningOfPeriod(o$1.today(),u.displayPeriodUom,u.startingDayOfWeek)),D=computed(()=>o$1.addDays(o$1.incrementPeriod(E.value,u.displayPeriodUom,u.displayPeriodCount),-1)),A=computed(()=>o$1.formattedPeriod(v.value,g.value,u.displayPeriodUom,$.value)),O=computed(()=>{const Pe=E.value,Vt=v.value;return u.currentPeriodLabel?u.currentPeriodLabel==="icons"?u.currentPeriodLabelIcons[Math.sign(Pe.getTime()-Vt.getTime())+1]:u.currentPeriodLabel:o$1.formattedPeriod(Pe,D.value,u.displayPeriodUom,$.value)}),F=computed(()=>u.monthNameOn1st&&(u.displayPeriodUom!=="month"||u.displayPeriodCount>1)),B=Pe=>F.value&&Pe.getDate()==1?$.value[Pe.getMonth()]:"",I=computed(()=>({previousYear:Q(-12),previousPeriod:Q(-1),nextPeriod:Q(1),previousFullPeriod:Q(-u.displayPeriodCount),nextFullPeriod:Q(u.displayPeriodCount),nextYear:Q(12),currentPeriod:E.value,currentPeriodLabel:O.value,periodStart:v.value,periodEnd:g.value,displayLocale:m.value,displayFirstDate:b.value,displayLastDate:w.value,monthNames:$.value,fixedItems:C.value,periodLabel:A.value})),M=computed(()=>({periodStart:v,periodEnd:g,displayFirstDate:b,displayLastDate:w}));watch(()=>M,Pe=>{u.periodChangedCallback&&(c("period-changed"),u.periodChangedCallback(Pe,"watch"))},{immediate:!0,deep:!0});const z=(Pe,Vt)=>{u.disablePast&&o$1.isInPast(Pe)||u.disableFuture&&o$1.isInFuture(Pe)||c("click-date",Pe,De(Pe,Pe),Vt)},q=(Pe,Vt)=>c("click-item",Pe,Vt),H=Pe=>"dow"+(Pe+u.startingDayOfWeek)%7,Q=Pe=>{const Vt=o$1.incrementPeriod(v.value,u.displayPeriodUom,Pe),Ie=o$1.incrementPeriod(Vt,u.displayPeriodUom,u.displayPeriodCount);return u.disablePast&&Ie<=o$1.today()||u.disableFuture&&Vt>o$1.today()?null:Vt},j=(Pe,Vt)=>{d.currentHoveredItemId=Pe.id,u.doEmitItemMouseEvents&&c("item-mouseenter",Pe,Vt)},ee=(Pe,Vt)=>{d.currentHoveredItemId="",u.doEmitItemMouseEvents&&c("item-mouseleave",Pe,Vt)},G=(Pe,Vt)=>{var Ie,ie;if(!u.enableDateSelection)return!1;(Ie=Vt.dataTransfer)==null||Ie.setData("text",Pe.toString());let de=new Image;return de.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",(ie=Vt.dataTransfer)==null||ie.setDragImage(de,10,10),d.dateSelectionOrigin=Pe,c("date-selection-start",te(Pe),Vt),!0},J=(Pe,Vt)=>{var Ie;return u.enableDragDrop?((Ie=Vt.dataTransfer)==null||Ie.setData("text",Pe.id),d.currentDragItem=Pe,d.dateSelectionOrigin=void 0,c("drag-start",Pe,Vt),!0):!1},te=Pe=>Pe<=d.dateSelectionOrigin?[Pe,d.dateSelectionOrigin]:[d.dateSelectionOrigin,Pe],re=(Pe,Vt)=>{u.enableDragDrop&&c("drag-over-date",d.currentDragItem,Pe,Vt)},ae=(Pe,Vt)=>{u.enableDateSelection&&d.dateSelectionOrigin&&c("date-selection",te(Pe),Vt),u.enableDragDrop&&(c("drag-enter-date",d.currentDragItem,Pe,Vt),Vt.target.classList.add("draghover"))},ye=(Pe,Vt)=>{u.enableDateSelection&&u.selectionStart||!u.enableDragDrop||(c("drag-leave-date",d.currentDragItem,Pe,Vt),Vt.target.classList.remove("draghover"))},ve=(Pe,Vt)=>{if(u.enableDateSelection&&d.dateSelectionOrigin){c("date-selection-finish",te(Pe),Vt);return}u.enableDragDrop&&(c("drop-on-date",d.currentDragItem,Pe,Vt),Vt.target.classList.remove("draghover"))},le=(Pe,Vt)=>Pe.startDate<Vt.startDate?-1:Vt.startDate<Pe.startDate?1:Pe.endDate>Vt.endDate?-1:Vt.endDate>Pe.endDate?1:Pe.id<Vt.id?-1:1,Se=Pe=>De(Pe,o$1.addDays(Pe,6)),De=(Pe,Vt)=>C.value.filter(Ie=>Ie.endDate>=Pe&&o$1.dateOnly(Ie.startDate)<=Vt,this).sort(le),At=Pe=>!!C.value.find(Vt=>Vt.endDate>=Pe&&o$1.dateOnly(Vt.startDate)<=Pe),Le=Pe=>!(!u.selectionStart||!u.selectionEnd||Pe<o$1.dateOnly(u.selectionStart)||Pe>o$1.dateOnly(u.selectionEnd)),ke=Pe=>{const Vt=Se(Pe),Ie=[],ie=[[],[],[],[],[],[],[]];if(!Vt)return Ie;for(let de=0;de<Vt.length;de++){const Fe=Object.assign({},Vt[de],{classes:[...Vt[de].classes],itemRow:0}),We=Fe.startDate<Pe,wt=We?0:o$1.dayDiff(Pe,Fe.startDate),jt=Math.max(1,Math.min(7-wt,o$1.dayDiff(o$1.addDays(Pe,wt),Fe.endDate)+1));We&&Fe.classes.push("continued"),o$1.dayDiff(Pe,Fe.endDate)>6&&Fe.classes.push("toBeContinued"),o$1.isInPast(Fe.endDate)&&Fe.classes.push("past"),Fe.originalItem.url&&Fe.classes.push("hasUrl");for(let Ut=0;Ut<7;Ut++)if(Ut===wt){let Tt=0;for(;ie[Ut][Tt];)Tt++;Fe.itemRow=Tt,ie[Ut][Tt]=!0}else Ut<wt+jt&&(ie[Ut][Fe.itemRow]=!0);Fe.classes.push(`offset${wt}`),Fe.classes.push(`span${jt}`),Ie.push(Fe)}return Ie},ue=Pe=>{const Vt='<span class="startTime">'+o$1.formattedTime(Pe.startDate,m.value,u.timeFormatOptions)+"</span>";let Ie="";return o$1.isSameDateTime(Pe.startDate,Pe.endDate)||(Ie='<span class="endTime">'+o$1.formattedTime(Pe.endDate,m.value,u.timeFormatOptions)+"</span>"),Vt+Ie},Ce=Pe=>u.showTimes?ue(Pe)+" "+Pe.title:Pe.title,Te=Pe=>{const Vt=Pe.itemRow,Ie=u.itemContentHeight,ie=u.itemBorderHeight;return`calc(${u.itemTop} + ${Vt}*${Ie} + ${Vt}*${ie})`};return(Pe,Vt)=>(openBlock(),createElementBlock("div",{"aria-label":"Calendar",class:normalizeClass(["cv-wrapper",`locale-${unref(o$1).languageCode(m.value)}`,`locale-${m.value}`,`y${v.value.getFullYear()}`,`m${unref(o$1).paddedMonth(v.value)}`,`period-${Pe.displayPeriodUom}`,`periodCount-${Pe.displayPeriodCount}`,{past:unref(o$1).isPastMonth(v.value),future:unref(o$1).isFutureMonth(v.value),noIntl:!unref(o$1).supportsIntl}])},[renderSlot(Pe.$slots,"header",{headerProps:I.value}),createBaseVNode("div",st,[Pe.displayWeekNumbers?(openBlock(),createElementBlock("div",it)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(S.value,(Ie,ie)=>renderSlot(Pe.$slots,"day-header",{index:H(ie),label:Ie},()=>[(openBlock(),createElementBlock("div",{key:H(ie),class:normalizeClass([H(ie),"cv-header-day"])},toDisplayString(Ie),3))])),256))]),createBaseVNode("div",{"aria-multiselectable":Pe.enableDateSelection,class:"cv-weeks"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(k.value,(Ie,ie)=>(openBlock(),createElementBlock("div",{key:`${ie}-week`,class:normalizeClass(["cv-week",`week${ie+1}`,`ws${unref(o$1).isoYearMonthDay(Ie)}`])},[Pe.displayWeekNumbers?(openBlock(),createElementBlock("div",dt,[renderSlot(Pe.$slots,"week-number",{date:Ie,numberInYear:y.value+ie,numberInPeriod:ie+1},()=>[createBaseVNode("span",null,toDisplayString(y.value+ie),1)])])):createCommentVNode("",!0),createBaseVNode("div",ut,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(o$1).daysOfWeek(Ie),(de,Fe)=>(openBlock(),createElementBlock("div",{key:H(Fe),draggable:Pe.enableDateSelection,class:normalizeClass(["cv-day",H(Fe),`d${unref(o$1).isoYearMonthDay(de)}`,`d${unref(o$1).isoMonthDay(de)}`,`d${unref(o$1).paddedDay(de)}`,`instance${unref(o$1).instanceOfMonth(de)}`,{today:unref(o$1).isSameDate(de,unref(o$1).today()),outsideOfMonth:!unref(o$1).isSameMonth(de,f.value),past:unref(o$1).isInPast(de),future:unref(o$1).isInFuture(de),last:unref(o$1).isLastDayOfMonth(de),lastInstance:unref(o$1).isLastInstanceOfMonth(de),hasItems:At(de),selectionStart:unref(o$1).isSameDate(de,Pe.selectionStart),selectionEnd:unref(o$1).isSameDate(de,Pe.selectionEnd)},...Pe.dateClasses&&Pe.dateClasses[unref(o$1).isoYearMonthDay(de)]||[]]),"aria-grabbed":Pe.enableDateSelection?Le(de):void 0,"aria-label":de.getDate().toString(),"aria-selected":Le(de),"aria-dropeffect":Pe.enableDragDrop&&d.currentDragItem?"move":Pe.enableDateSelection&&d.dateSelectionOrigin?"execute":"none",onClick:We=>z(de,We),onDragstart:We=>G(de,We),onDrop:withModifiers(We=>ve(de,We),["prevent"]),onDragover:withModifiers(We=>re(de,We),["prevent"]),onDragenter:withModifiers(We=>ae(de,We),["prevent"]),onDragleave:withModifiers(We=>ye(de,We),["prevent"])},[createBaseVNode("div",gt$1,[B(de)?(openBlock(),createElementBlock("span",mt,toDisplayString(B(de)),1)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(de.getDate()),1)]),renderSlot(Pe.$slots,"day-content",{day:de})],42,ct))),128)),u.enableHtmlTitles?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(ke(Ie),de=>renderSlot(Pe.$slots,"item",{value:de,weekStartDate:Ie,top:Te(de)},()=>[(openBlock(),createElementBlock("div",{key:de.id,draggable:Pe.enableDragDrop,"aria-grabbed":Pe.enableDragDrop?de==d.currentDragItem:void 0,class:normalizeClass([de.classes,"cv-item"]),title:de.tooltip||de.title,style:normalizeStyle(`top:${Te(de)};${de.originalItem.style}`),onDragstart:Fe=>J(de,Fe),onMouseenter:Fe=>j(de,Fe),onMouseleave:Fe=>ee(de,Fe),onClick:withModifiers(Fe=>q(de,Fe),["stop"]),innerHTML:Ce(de)},null,46,ft))])),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(ke(Ie),de=>renderSlot(Pe.$slots,"item",{value:de,weekStartDate:Ie,top:Te(de)},()=>[(openBlock(),createElementBlock("div",{key:de.id,draggable:Pe.enableDragDrop,"aria-grabbed":Pe.enableDragDrop?de==d.currentDragItem:void 0,class:normalizeClass([de.classes,"cv-item"]),title:de.tooltip||de.title,style:normalizeStyle(`top:${Te(de)};${de.originalItem.style}`),onDragstart:Fe=>J(de,Fe),onMouseenter:Fe=>j(de,Fe),onMouseleave:Fe=>ee(de,Fe),onClick:withModifiers(Fe=>q(de,Fe),["stop"])},toDisplayString(Ce(de)),47,pt)),createTextVNode(" div> ")])),256))])],2))),128))],8,lt$1)],2))}}),Dt={class:"cv-header"},vt={class:"cv-header-nav"},ht=["disabled"],bt=["disabled","innerHTML"],yt=["disabled"],Pt=["disabled"],Mt={class:"periodLabel"},Ct=defineComponent$1({__name:"CalendarViewHeader",props:{headerProps:{type:Object,required:!0},previousYearLabel:{type:String,default:"<<"},previousPeriodLabel:{type:String,default:"<"},nextPeriodLabel:{type:String,default:">"},nextYearLabel:{type:String,default:">>"}},emits:["input"],setup(a,{emit:i}){const u=i,c=d=>u("input",d);return(d,m)=>(openBlock(),createElementBlock("div",Dt,[createBaseVNode("div",vt,[createBaseVNode("button",{disabled:!a.headerProps.previousYear,class:"previousYear","aria-label":"Previous Year",onClick:m[0]||(m[0]=withModifiers(f=>c(a.headerProps.previousYear),["prevent"]))},toDisplayString(a.previousYearLabel),9,ht),createBaseVNode("button",{disabled:!a.headerProps.previousPeriod,class:"previousPeriod","aria-label":"Previous Period",onClick:m[1]||(m[1]=withModifiers(f=>c(a.headerProps.previousPeriod),["prevent"])),innerHTML:a.previousPeriodLabel},null,8,bt),createBaseVNode("button",{class:"currentPeriod","aria-label":"Current Period",onClick:m[2]||(m[2]=withModifiers(f=>c(a.headerProps.currentPeriod),["prevent"]))},toDisplayString(a.headerProps.currentPeriodLabel),1),createBaseVNode("button",{disabled:!a.headerProps.nextPeriod,class:"nextPeriod","aria-label":"Next Period",onClick:m[3]||(m[3]=withModifiers(f=>c(a.headerProps.nextPeriod),["prevent"]))},toDisplayString(a.nextPeriodLabel),9,yt),createBaseVNode("button",{disabled:!a.headerProps.nextYear,class:"nextYear","aria-label":"Next Year",onClick:m[4]||(m[4]=withModifiers(f=>c(a.headerProps.nextYear),["prevent"]))},toDisplayString(a.nextYearLabel),9,Pt)]),createBaseVNode("div",Mt,[renderSlot(d.$slots,"label",{},()=>[createTextVNode(toDisplayString(a.headerProps.periodLabel),1)])])]))}}),_hoisted_1$I={class:"d-flex flex-row align-items-center"},_hoisted_2$r={key:0,class:"flex-column"},_hoisted_3$g={class:"flex-column flex-grow-0 pa-1"},_hoisted_4$8={key:0,class:"fas fa-shopping-cart fa-xs float-left"},_sfc_main$3=defineComponent$1({__name:"MealPlanCalendarItem",props:{value:{type:{},required:!0},itemHeight:{type:String},itemTop:{type:String},detailedItems:{type:Boolean,default:!0}},emits:{onDragStart:(a,i)=>!0},setup(a,{emit:i}){const u=i;let c=a;const d=computed(()=>c.value.originalItem.mealPlan),m=computed(()=>d.value.recipe!=null?d.value.recipe.name:d.value.title!=null&&d.value.title!==""?d.value.title:"ERROR");return(f,v)=>(openBlock(),createBlock(VCard,{class:normalizeClass(["card cv-item pa-0",a.value.classes]),hover:"",style:normalizeStyle({top:a.itemTop,height:a.itemHeight,"border-color":d.value.mealType.color}),draggable:!0,key:a.value.id,onDragstart:v[0]||(v[0]=g=>u("onDragStart",a.value,g))},{default:withCtx(()=>[createVNode(VCardText,{class:"pa-0"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$I,[a.detailedItems?(openBlock(),createElementBlock("div",_hoisted_2$r,[createVNode(_sfc_main$o,{height:a.itemHeight,width:a.itemHeight,recipe:d.value.recipe},null,8,["height","width","recipe"])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$g,[createBaseVNode("span",{class:normalizeClass(["font-light",{"two-line-text":a.detailedItems,"one-line-text":!a.detailedItems}])},[d.value.shopping?(openBlock(),createElementBlock("i",_hoisted_4$8)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(m.value),1)],2)])])]),_:1})]),_:1},8,["style","class"]))}}),MealPlanCalendarItem=_export_sfc(_sfc_main$3,[["__scopeId","data-v-9cce622f"]]),_sfc_main$2=defineComponent$1({__name:"MealPlanView",setup(a){const{lgAndUp:i}=useDisplay(),u=ref([]),c=ref({}),d=computed(()=>{let v=[];return u.value.forEach(g=>{v.push({startDate:g.fromDate,endDate:g.toDate,id:g.id,mealPlan:g})}),v}),m=computed(()=>i.value?"2.6rem":"1.3rem");onMounted(()=>{new ApiApi().apiMealPlanList().then(g=>{u.value=g})});function f(v,g,y){u.value.forEach(b=>{if(b.id==c.value.originalItem.mealPlan.id){let w=DateTime.fromJSDate(b.toDate).diff(DateTime.fromJSDate(b.fromDate),"days");if(y.ctrlKey){let k=Object.assign({},b);k.fromDate=g,k.toDate=DateTime.fromJSDate(g).plus(w).toJSDate()}else b.fromDate=g,b.toDate=DateTime.fromJSDate(g).plus(w).toJSDate(),console.log(b.fromDate,b.toDate)}})}return(v,g)=>(openBlock(),createBlock(VRow,{class:"h-100"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(unref(Ot),{items:d.value,class:"theme-default","item-content-height":m.value,"enable-drag-drop":!0,onDropOnDate:f},{header:withCtx(({headerProps:y})=>[createVNode(unref(Ct),{"header-props":y},null,8,["header-props"])]),item:withCtx(({value:y,weekStartDate:b,top:w})=>[createVNode(MealPlanCalendarItem,{"item-height":m.value,value:y,"item-top":w,onOnDragStart:k=>c.value=y,"detailed-items":unref(i)},null,8,["item-height","value","item-top","onOnDragStart","detailed-items"])]),_:1},8,["items","item-content-height"])]),_:1})]),_:1}))}}),MealPlanView=_export_sfc(_sfc_main$2,[["__scopeId","data-v-fc83e9f8"]]),_sfc_main$1=defineComponent$1({__name:"MealPlanPage",setup(a){return(i,u)=>(openBlock(),createBlock(MealPlanView))}});function bind(a,i){return function(){return a.apply(i,arguments)}}const{toString:toString$b}=Object.prototype,{getPrototypeOf}=Object,kindOf=(a=>i=>{const u=toString$b.call(i);return a[u]||(a[u]=u.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=a=>(a=a.toLowerCase(),i=>kindOf(i)===a),typeOfTest=a=>i=>typeof i===a,{isArray:isArray$m}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer$7(a){return a!==null&&!isUndefined$1(a)&&a.constructor!==null&&!isUndefined$1(a.constructor)&&isFunction$6(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(a){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(a):i=a&&a.buffer&&isArrayBuffer(a.buffer),i}const isString$3=typeOfTest("string"),isFunction$6=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$e=a=>a!==null&&typeof a=="object",isBoolean=a=>a===!0||a===!1,isPlainObject$3=a=>{if(kindOf(a)!=="object")return!1;const i=getPrototypeOf(a);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=a=>isObject$e(a)&&isFunction$6(a.pipe),isFormData=a=>{let i;return a&&(typeof FormData=="function"&&a instanceof FormData||isFunction$6(a.append)&&((i=kindOf(a))==="formdata"||i==="object"&&isFunction$6(a.toString)&&a.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim$1=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$1(a,i,{allOwnKeys:u=!1}={}){if(a===null||typeof a>"u")return;let c,d;if(typeof a!="object"&&(a=[a]),isArray$m(a))for(c=0,d=a.length;c<d;c++)i.call(null,a[c],c,a);else{const m=u?Object.getOwnPropertyNames(a):Object.keys(a),f=m.length;let v;for(c=0;c<f;c++)v=m[c],i.call(null,a[v],v,a)}}function findKey(a,i){i=i.toLowerCase();const u=Object.keys(a);let c=u.length,d;for(;c-- >0;)if(d=u[c],i===d.toLowerCase())return d;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=a=>!isUndefined$1(a)&&a!==_global;function merge$1(){const{caseless:a}=isContextDefined(this)&&this||{},i={},u=(c,d)=>{const m=a&&findKey(i,d)||d;isPlainObject$3(i[m])&&isPlainObject$3(c)?i[m]=merge$1(i[m],c):isPlainObject$3(c)?i[m]=merge$1({},c):isArray$m(c)?i[m]=c.slice():i[m]=c};for(let c=0,d=arguments.length;c<d;c++)arguments[c]&&forEach$1(arguments[c],u);return i}const extend$2=(a,i,u,{allOwnKeys:c}={})=>(forEach$1(i,(d,m)=>{u&&isFunction$6(d)?a[m]=bind(d,u):a[m]=d},{allOwnKeys:c}),a),stripBOM=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),inherits=(a,i,u,c)=>{a.prototype=Object.create(i.prototype,c),a.prototype.constructor=a,Object.defineProperty(a,"super",{value:i.prototype}),u&&Object.assign(a.prototype,u)},toFlatObject=(a,i,u,c)=>{let d,m,f;const v={};if(i=i||{},a==null)return i;do{for(d=Object.getOwnPropertyNames(a),m=d.length;m-- >0;)f=d[m],(!c||c(f,a,i))&&!v[f]&&(i[f]=a[f],v[f]=!0);a=u!==!1&&getPrototypeOf(a)}while(a&&(!u||u(a,i))&&a!==Object.prototype);return i},endsWith$1=(a,i,u)=>{a=String(a),(u===void 0||u>a.length)&&(u=a.length),u-=i.length;const c=a.indexOf(i,u);return c!==-1&&c===u},toArray$1=a=>{if(!a)return null;if(isArray$m(a))return a;let i=a.length;if(!isNumber$1(i))return null;const u=new Array(i);for(;i-- >0;)u[i]=a[i];return u},isTypedArray$5=(a=>i=>a&&i instanceof a)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(a,i)=>{const c=(a&&a[Symbol.iterator]).call(a);let d;for(;(d=c.next())&&!d.done;){const m=d.value;i.call(a,m[0],m[1])}},matchAll=(a,i)=>{let u;const c=[];for(;(u=a.exec(i))!==null;)c.push(u);return c},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=a=>a.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(u,c,d){return c.toUpperCase()+d}),hasOwnProperty$f=(({hasOwnProperty:a})=>(i,u)=>a.call(i,u))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(a,i)=>{const u=Object.getOwnPropertyDescriptors(a),c={};forEach$1(u,(d,m)=>{let f;(f=i(d,m,a))!==!1&&(c[m]=f||d)}),Object.defineProperties(a,c)},freezeMethods=a=>{reduceDescriptors(a,(i,u)=>{if(isFunction$6(a)&&["arguments","caller","callee"].indexOf(u)!==-1)return!1;const c=a[u];if(isFunction$6(c)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+u+"'")})}})},toObjectSet=(a,i)=>{const u={},c=d=>{d.forEach(m=>{u[m]=!0})};return isArray$m(a)?c(a):c(String(a).split(i)),u},noop$2=()=>{},toFiniteNumber=(a,i)=>(a=+a,Number.isFinite(a)?a:i),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(a=16,i=ALPHABET.ALPHA_DIGIT)=>{let u="";const{length:c}=i;for(;a--;)u+=i[Math.random()*c|0];return u};function isSpecCompliantForm(a){return!!(a&&isFunction$6(a.append)&&a[Symbol.toStringTag]==="FormData"&&a[Symbol.iterator])}const toJSONObject=a=>{const i=new Array(10),u=(c,d)=>{if(isObject$e(c)){if(i.indexOf(c)>=0)return;if(!("toJSON"in c)){i[d]=c;const m=isArray$m(c)?[]:{};return forEach$1(c,(f,v)=>{const g=u(f,d+1);!isUndefined$1(g)&&(m[v]=g)}),i[d]=void 0,m}}return c};return u(a,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=a=>a&&(isObject$e(a)||isFunction$6(a))&&isFunction$6(a.then)&&isFunction$6(a.catch),utils$1={isArray:isArray$m,isArrayBuffer,isBuffer:isBuffer$7,isFormData,isArrayBufferView,isString:isString$3,isNumber:isNumber$1,isBoolean,isObject:isObject$e,isPlainObject:isPlainObject$3,isUndefined:isUndefined$1,isDate:isDate$1,isFile,isBlob,isRegExp,isFunction:isFunction$6,isStream,isURLSearchParams,isTypedArray:isTypedArray$5,isFileList,forEach:forEach$1,merge:merge$1,extend:extend$2,trim:trim$1,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$f,hasOwnProp:hasOwnProperty$f,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$2,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(a,i,u,c,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=a,this.name="AxiosError",i&&(this.code=i),u&&(this.config=u),c&&(this.request=c),d&&(this.response=d)}utils$1.inherits(AxiosError,Error,{toJSON:function a(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(a=>{descriptors[a]={value:a}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(a,i,u,c,d,m)=>{const f=Object.create(prototype$1);return utils$1.toFlatObject(a,f,function(g){return g!==Error.prototype},v=>v!=="isAxiosError"),AxiosError.call(f,a.message,i,u,c,d),f.cause=a,f.name=a.name,m&&Object.assign(f,m),f};const httpAdapter=null;function isVisitable(a){return utils$1.isPlainObject(a)||utils$1.isArray(a)}function removeBrackets(a){return utils$1.endsWith(a,"[]")?a.slice(0,-2):a}function renderKey(a,i,u){return a?a.concat(i).map(function(d,m){return d=removeBrackets(d),!u&&m?"["+d+"]":d}).join(u?".":""):i}function isFlatArray(a){return utils$1.isArray(a)&&!a.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function a(i){return/^is[A-Z]/.test(i)});function toFormData(a,i,u){if(!utils$1.isObject(a))throw new TypeError("target must be an object");i=i||new FormData,u=utils$1.toFlatObject(u,{metaTokens:!0,dots:!1,indexes:!1},!1,function(C,E){return!utils$1.isUndefined(E[C])});const c=u.metaTokens,d=u.visitor||b,m=u.dots,f=u.indexes,g=(u.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(i);if(!utils$1.isFunction(d))throw new TypeError("visitor must be a function");function y(S){if(S===null)return"";if(utils$1.isDate(S))return S.toISOString();if(!g&&utils$1.isBlob(S))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(S)||utils$1.isTypedArray(S)?g&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function b(S,C,E){let D=S;if(S&&!E&&typeof S=="object"){if(utils$1.endsWith(C,"{}"))C=c?C:C.slice(0,-2),S=JSON.stringify(S);else if(utils$1.isArray(S)&&isFlatArray(S)||(utils$1.isFileList(S)||utils$1.endsWith(C,"[]"))&&(D=utils$1.toArray(S)))return C=removeBrackets(C),D.forEach(function(O,F){!(utils$1.isUndefined(O)||O===null)&&i.append(f===!0?renderKey([C],F,m):f===null?C:C+"[]",y(O))}),!1}return isVisitable(S)?!0:(i.append(renderKey(E,C,m),y(S)),!1)}const w=[],k=Object.assign(predicates,{defaultVisitor:b,convertValue:y,isVisitable});function $(S,C){if(!utils$1.isUndefined(S)){if(w.indexOf(S)!==-1)throw Error("Circular reference detected in "+C.join("."));w.push(S),utils$1.forEach(S,function(D,A){(!(utils$1.isUndefined(D)||D===null)&&d.call(i,D,utils$1.isString(A)?A.trim():A,C,k))===!0&&$(D,C?C.concat(A):[A])}),w.pop()}}if(!utils$1.isObject(a))throw new TypeError("data must be an object");return $(a),i}function encode$1(a){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(a).replace(/[!'()~]|%20|%00/g,function(c){return i[c]})}function AxiosURLSearchParams(a,i){this._pairs=[],a&&toFormData(a,this,i)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function a(i,u){this._pairs.push([i,u])};prototype.toString=function a(i){const u=i?function(c){return i.call(this,c,encode$1)}:encode$1;return this._pairs.map(function(d){return u(d[0])+"="+u(d[1])},"").join("&")};function encode(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(a,i,u){if(!i)return a;const c=u&&u.encode||encode,d=u&&u.serialize;let m;if(d?m=d(i,u):m=utils$1.isURLSearchParams(i)?i.toString():new AxiosURLSearchParams(i,u).toString(c),m){const f=a.indexOf("#");f!==-1&&(a=a.slice(0,f)),a+=(a.indexOf("?")===-1?"?":"&")+m}return a}class InterceptorManager{constructor(){this.handlers=[]}use(i,u,c){return this.handlers.push({fulfilled:i,rejected:u,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){utils$1.forEach(this.handlers,function(c){c!==null&&i(c)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(a=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(a)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv},Symbol.toStringTag,{value:"Module"})),platform={...utils,...platform$1};function toURLEncodedForm(a,i){return toFormData(a,new platform.classes.URLSearchParams,Object.assign({visitor:function(u,c,d,m){return platform.isNode&&utils$1.isBuffer(u)?(this.append(c,u.toString("base64")),!1):m.defaultVisitor.apply(this,arguments)}},i))}function parsePropPath(a){return utils$1.matchAll(/\w+|\[(\w*)]/g,a).map(i=>i[0]==="[]"?"":i[1]||i[0])}function arrayToObject(a){const i={},u=Object.keys(a);let c;const d=u.length;let m;for(c=0;c<d;c++)m=u[c],i[m]=a[m];return i}function formDataToJSON(a){function i(u,c,d,m){let f=u[m++];if(f==="__proto__")return!0;const v=Number.isFinite(+f),g=m>=u.length;return f=!f&&utils$1.isArray(d)?d.length:f,g?(utils$1.hasOwnProp(d,f)?d[f]=[d[f],c]:d[f]=c,!v):((!d[f]||!utils$1.isObject(d[f]))&&(d[f]=[]),i(u,c,d[f],m)&&utils$1.isArray(d[f])&&(d[f]=arrayToObject(d[f])),!v)}if(utils$1.isFormData(a)&&utils$1.isFunction(a.entries)){const u={};return utils$1.forEachEntry(a,(c,d)=>{i(parsePropPath(c),d,u,0)}),u}return null}function stringifySafely(a,i,u){if(utils$1.isString(a))try{return(i||JSON.parse)(a),utils$1.trim(a)}catch(c){if(c.name!=="SyntaxError")throw c}return(u||JSON.stringify)(a)}const defaults$3={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function a(i,u){const c=u.getContentType()||"",d=c.indexOf("application/json")>-1,m=utils$1.isObject(i);if(m&&utils$1.isHTMLForm(i)&&(i=new FormData(i)),utils$1.isFormData(i))return d?JSON.stringify(formDataToJSON(i)):i;if(utils$1.isArrayBuffer(i)||utils$1.isBuffer(i)||utils$1.isStream(i)||utils$1.isFile(i)||utils$1.isBlob(i))return i;if(utils$1.isArrayBufferView(i))return i.buffer;if(utils$1.isURLSearchParams(i))return u.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let v;if(m){if(c.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(i,this.formSerializer).toString();if((v=utils$1.isFileList(i))||c.indexOf("multipart/form-data")>-1){const g=this.env&&this.env.FormData;return toFormData(v?{"files[]":i}:i,g&&new g,this.formSerializer)}}return m||d?(u.setContentType("application/json",!1),stringifySafely(i)):i}],transformResponse:[function a(i){const u=this.transitional||defaults$3.transitional,c=u&&u.forcedJSONParsing,d=this.responseType==="json";if(i&&utils$1.isString(i)&&(c&&!this.responseType||d)){const f=!(u&&u.silentJSONParsing)&&d;try{return JSON.parse(i)}catch(v){if(f)throw v.name==="SyntaxError"?AxiosError.from(v,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):v}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function a(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],a=>{defaults$3.headers[a]={}});const defaults$4=defaults$3,ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=a=>{const i={};let u,c,d;return a&&a.split(`
`).forEach(function(f){d=f.indexOf(":"),u=f.substring(0,d).trim().toLowerCase(),c=f.substring(d+1).trim(),!(!u||i[u]&&ignoreDuplicateOf[u])&&(u==="set-cookie"?i[u]?i[u].push(c):i[u]=[c]:i[u]=i[u]?i[u]+", "+c:c)}),i},$internals=Symbol("internals");function normalizeHeader(a){return a&&String(a).trim().toLowerCase()}function normalizeValue(a){return a===!1||a==null?a:utils$1.isArray(a)?a.map(normalizeValue):String(a)}function parseTokens(a){const i=Object.create(null),u=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=u.exec(a);)i[c[1]]=c[2];return i}const isValidHeaderName=a=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(a.trim());function matchHeaderValue(a,i,u,c,d){if(utils$1.isFunction(c))return c.call(this,i,u);if(d&&(i=u),!!utils$1.isString(i)){if(utils$1.isString(c))return i.indexOf(c)!==-1;if(utils$1.isRegExp(c))return c.test(i)}}function formatHeader(a){return a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,u,c)=>u.toUpperCase()+c)}function buildAccessors(a,i){const u=utils$1.toCamelCase(" "+i);["get","set","has"].forEach(c=>{Object.defineProperty(a,c+u,{value:function(d,m,f){return this[c].call(this,i,d,m,f)},configurable:!0})})}class AxiosHeaders{constructor(i){i&&this.set(i)}set(i,u,c){const d=this;function m(v,g,y){const b=normalizeHeader(g);if(!b)throw new Error("header name must be a non-empty string");const w=utils$1.findKey(d,b);(!w||d[w]===void 0||y===!0||y===void 0&&d[w]!==!1)&&(d[w||g]=normalizeValue(v))}const f=(v,g)=>utils$1.forEach(v,(y,b)=>m(y,b,g));return utils$1.isPlainObject(i)||i instanceof this.constructor?f(i,u):utils$1.isString(i)&&(i=i.trim())&&!isValidHeaderName(i)?f(parseHeaders(i),u):i!=null&&m(u,i,c),this}get(i,u){if(i=normalizeHeader(i),i){const c=utils$1.findKey(this,i);if(c){const d=this[c];if(!u)return d;if(u===!0)return parseTokens(d);if(utils$1.isFunction(u))return u.call(this,d,c);if(utils$1.isRegExp(u))return u.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,u){if(i=normalizeHeader(i),i){const c=utils$1.findKey(this,i);return!!(c&&this[c]!==void 0&&(!u||matchHeaderValue(this,this[c],c,u)))}return!1}delete(i,u){const c=this;let d=!1;function m(f){if(f=normalizeHeader(f),f){const v=utils$1.findKey(c,f);v&&(!u||matchHeaderValue(c,c[v],v,u))&&(delete c[v],d=!0)}}return utils$1.isArray(i)?i.forEach(m):m(i),d}clear(i){const u=Object.keys(this);let c=u.length,d=!1;for(;c--;){const m=u[c];(!i||matchHeaderValue(this,this[m],m,i,!0))&&(delete this[m],d=!0)}return d}normalize(i){const u=this,c={};return utils$1.forEach(this,(d,m)=>{const f=utils$1.findKey(c,m);if(f){u[f]=normalizeValue(d),delete u[m];return}const v=i?formatHeader(m):String(m).trim();v!==m&&delete u[m],u[v]=normalizeValue(d),c[v]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const u=Object.create(null);return utils$1.forEach(this,(c,d)=>{c!=null&&c!==!1&&(u[d]=i&&utils$1.isArray(c)?c.join(", "):c)}),u}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,u])=>i+": "+u).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...u){const c=new this(i);return u.forEach(d=>c.set(d)),c}static accessor(i){const c=(this[$internals]=this[$internals]={accessors:{}}).accessors,d=this.prototype;function m(f){const v=normalizeHeader(f);c[v]||(buildAccessors(d,f),c[v]=!0)}return utils$1.isArray(i)?i.forEach(m):m(i),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:a},i)=>{let u=i[0].toUpperCase()+i.slice(1);return{get:()=>a,set(c){this[u]=c}}});utils$1.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(a,i){const u=this||defaults$4,c=i||u,d=AxiosHeaders$1.from(c.headers);let m=c.data;return utils$1.forEach(a,function(v){m=v.call(u,m,d.normalize(),i?i.status:void 0)}),d.normalize(),m}function isCancel(a){return!!(a&&a.__CANCEL__)}function CanceledError(a,i,u){AxiosError.call(this,a??"canceled",AxiosError.ERR_CANCELED,i,u),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(a,i,u){const c=u.config.validateStatus;!u.status||!c||c(u.status)?a(u):i(new AxiosError("Request failed with status code "+u.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(u.status/100)-4],u.config,u.request,u))}const cookies=platform.hasStandardBrowserEnv?{write(a,i,u,c,d,m){const f=[a+"="+encodeURIComponent(i)];utils$1.isNumber(u)&&f.push("expires="+new Date(u).toGMTString()),utils$1.isString(c)&&f.push("path="+c),utils$1.isString(d)&&f.push("domain="+d),m===!0&&f.push("secure"),document.cookie=f.join("; ")},read(a){const i=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(a){this.write(a,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)}function combineURLs(a,i){return i?a.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):a}function buildFullPath(a,i){return a&&!isAbsoluteURL(i)?combineURLs(a,i):i}const isURLSameOrigin=platform.hasStandardBrowserEnv?function a(){const i=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a");let c;function d(m){let f=m;return i&&(u.setAttribute("href",f),f=u.href),u.setAttribute("href",f),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return c=d(window.location.href),function(f){const v=utils$1.isString(f)?d(f):f;return v.protocol===c.protocol&&v.host===c.host}}():function a(){return function(){return!0}}();function parseProtocol(a){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return i&&i[1]||""}function speedometer(a,i){a=a||10;const u=new Array(a),c=new Array(a);let d=0,m=0,f;return i=i!==void 0?i:1e3,function(g){const y=Date.now(),b=c[m];f||(f=y),u[d]=g,c[d]=y;let w=m,k=0;for(;w!==d;)k+=u[w++],w=w%a;if(d=(d+1)%a,d===m&&(m=(m+1)%a),y-f<i)return;const $=b&&y-b;return $?Math.round(k*1e3/$):void 0}}function progressEventReducer(a,i){let u=0;const c=speedometer(50,250);return d=>{const m=d.loaded,f=d.lengthComputable?d.total:void 0,v=m-u,g=c(v),y=m<=f;u=m;const b={loaded:m,total:f,progress:f?m/f:void 0,bytes:v,rate:g||void 0,estimated:g&&f&&y?(f-m)/g:void 0,event:d};b[i?"download":"upload"]=!0,a(b)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(a){return new Promise(function(u,c){let d=a.data;const m=AxiosHeaders$1.from(a.headers).normalize();let{responseType:f,withXSRFToken:v}=a,g;function y(){a.cancelToken&&a.cancelToken.unsubscribe(g),a.signal&&a.signal.removeEventListener("abort",g)}let b;if(utils$1.isFormData(d)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)m.setContentType(!1);else if((b=m.getContentType())!==!1){const[C,...E]=b?b.split(";").map(D=>D.trim()).filter(Boolean):[];m.setContentType([C||"multipart/form-data",...E].join("; "))}}let w=new XMLHttpRequest;if(a.auth){const C=a.auth.username||"",E=a.auth.password?unescape(encodeURIComponent(a.auth.password)):"";m.set("Authorization","Basic "+btoa(C+":"+E))}const k=buildFullPath(a.baseURL,a.url);w.open(a.method.toUpperCase(),buildURL(k,a.params,a.paramsSerializer),!0),w.timeout=a.timeout;function $(){if(!w)return;const C=AxiosHeaders$1.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),D={data:!f||f==="text"||f==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:C,config:a,request:w};settle(function(O){u(O),y()},function(O){c(O),y()},D),w=null}if("onloadend"in w?w.onloadend=$:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout($)},w.onabort=function(){w&&(c(new AxiosError("Request aborted",AxiosError.ECONNABORTED,a,w)),w=null)},w.onerror=function(){c(new AxiosError("Network Error",AxiosError.ERR_NETWORK,a,w)),w=null},w.ontimeout=function(){let E=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const D=a.transitional||transitionalDefaults;a.timeoutErrorMessage&&(E=a.timeoutErrorMessage),c(new AxiosError(E,D.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,a,w)),w=null},platform.hasStandardBrowserEnv&&(v&&utils$1.isFunction(v)&&(v=v(a)),v||v!==!1&&isURLSameOrigin(k))){const C=a.xsrfHeaderName&&a.xsrfCookieName&&cookies.read(a.xsrfCookieName);C&&m.set(a.xsrfHeaderName,C)}d===void 0&&m.setContentType(null),"setRequestHeader"in w&&utils$1.forEach(m.toJSON(),function(E,D){w.setRequestHeader(D,E)}),utils$1.isUndefined(a.withCredentials)||(w.withCredentials=!!a.withCredentials),f&&f!=="json"&&(w.responseType=a.responseType),typeof a.onDownloadProgress=="function"&&w.addEventListener("progress",progressEventReducer(a.onDownloadProgress,!0)),typeof a.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",progressEventReducer(a.onUploadProgress)),(a.cancelToken||a.signal)&&(g=C=>{w&&(c(!C||C.type?new CanceledError(null,a,w):C),w.abort(),w=null)},a.cancelToken&&a.cancelToken.subscribe(g),a.signal&&(a.signal.aborted?g():a.signal.addEventListener("abort",g)));const S=parseProtocol(k);if(S&&platform.protocols.indexOf(S)===-1){c(new AxiosError("Unsupported protocol "+S+":",AxiosError.ERR_BAD_REQUEST,a));return}w.send(d||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$1.forEach(knownAdapters,(a,i)=>{if(a){try{Object.defineProperty(a,"name",{value:i})}catch{}Object.defineProperty(a,"adapterName",{value:i})}});const renderReason=a=>`- ${a}`,isResolvedHandle=a=>utils$1.isFunction(a)||a===null||a===!1,adapters={getAdapter:a=>{a=utils$1.isArray(a)?a:[a];const{length:i}=a;let u,c;const d={};for(let m=0;m<i;m++){u=a[m];let f;if(c=u,!isResolvedHandle(u)&&(c=knownAdapters[(f=String(u)).toLowerCase()],c===void 0))throw new AxiosError(`Unknown adapter '${f}'`);if(c)break;d[f||"#"+m]=c}if(!c){const m=Object.entries(d).map(([v,g])=>`adapter ${v} `+(g===!1?"is not supported by the environment":"is not available in the build"));let f=i?m.length>1?`since :
`+m.map(renderReason).join(`
`):" "+renderReason(m[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return c},adapters:knownAdapters};function throwIfCancellationRequested(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new CanceledError(null,a)}function dispatchRequest(a){return throwIfCancellationRequested(a),a.headers=AxiosHeaders$1.from(a.headers),a.data=transformData.call(a,a.transformRequest),["post","put","patch"].indexOf(a.method)!==-1&&a.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(a.adapter||defaults$4.adapter)(a).then(function(c){return throwIfCancellationRequested(a),c.data=transformData.call(a,a.transformResponse,c),c.headers=AxiosHeaders$1.from(c.headers),c},function(c){return isCancel(c)||(throwIfCancellationRequested(a),c&&c.response&&(c.response.data=transformData.call(a,a.transformResponse,c.response),c.response.headers=AxiosHeaders$1.from(c.response.headers))),Promise.reject(c)})}const headersToObject=a=>a instanceof AxiosHeaders$1?{...a}:a;function mergeConfig(a,i){i=i||{};const u={};function c(y,b,w){return utils$1.isPlainObject(y)&&utils$1.isPlainObject(b)?utils$1.merge.call({caseless:w},y,b):utils$1.isPlainObject(b)?utils$1.merge({},b):utils$1.isArray(b)?b.slice():b}function d(y,b,w){if(utils$1.isUndefined(b)){if(!utils$1.isUndefined(y))return c(void 0,y,w)}else return c(y,b,w)}function m(y,b){if(!utils$1.isUndefined(b))return c(void 0,b)}function f(y,b){if(utils$1.isUndefined(b)){if(!utils$1.isUndefined(y))return c(void 0,y)}else return c(void 0,b)}function v(y,b,w){if(w in i)return c(y,b);if(w in a)return c(void 0,y)}const g={url:m,method:m,data:m,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:v,headers:(y,b)=>d(headersToObject(y),headersToObject(b),!0)};return utils$1.forEach(Object.keys(Object.assign({},a,i)),function(b){const w=g[b]||d,k=w(a[b],i[b],b);utils$1.isUndefined(k)&&w!==v||(u[b]=k)}),u}const VERSION="1.6.8",validators$1={};["object","boolean","number","function","string","symbol"].forEach((a,i)=>{validators$1[a]=function(c){return typeof c===a||"a"+(i<1?"n ":" ")+a}});const deprecatedWarnings={};validators$1.transitional=function a(i,u,c){function d(m,f){return"[Axios v"+VERSION+"] Transitional option '"+m+"'"+f+(c?". "+c:"")}return(m,f,v)=>{if(i===!1)throw new AxiosError(d(f," has been removed"+(u?" in "+u:"")),AxiosError.ERR_DEPRECATED);return u&&!deprecatedWarnings[f]&&(deprecatedWarnings[f]=!0,console.warn(d(f," has been deprecated since v"+u+" and will be removed in the near future"))),i?i(m,f,v):!0}};function assertOptions(a,i,u){if(typeof a!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const c=Object.keys(a);let d=c.length;for(;d-- >0;){const m=c[d],f=i[m];if(f){const v=a[m],g=v===void 0||f(v,m,a);if(g!==!0)throw new AxiosError("option "+m+" must be "+g,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(u!==!0)throw new AxiosError("Unknown option "+m,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(i){this.defaults=i,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(i,u){try{return await this._request(i,u)}catch(c){if(c instanceof Error){let d;Error.captureStackTrace?Error.captureStackTrace(d={}):d=new Error;const m=d.stack?d.stack.replace(/^.+\n/,""):"";c.stack?m&&!String(c.stack).endsWith(m.replace(/^.+\n.+\n/,""))&&(c.stack+=`
`+m):c.stack=m}throw c}}_request(i,u){typeof i=="string"?(u=u||{},u.url=i):u=i||{},u=mergeConfig(this.defaults,u);const{transitional:c,paramsSerializer:d,headers:m}=u;c!==void 0&&validator.assertOptions(c,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),d!=null&&(utils$1.isFunction(d)?u.paramsSerializer={serialize:d}:validator.assertOptions(d,{encode:validators.function,serialize:validators.function},!0)),u.method=(u.method||this.defaults.method||"get").toLowerCase();let f=m&&utils$1.merge(m.common,m[u.method]);m&&utils$1.forEach(["delete","get","head","post","put","patch","common"],S=>{delete m[S]}),u.headers=AxiosHeaders$1.concat(f,m);const v=[];let g=!0;this.interceptors.request.forEach(function(C){typeof C.runWhen=="function"&&C.runWhen(u)===!1||(g=g&&C.synchronous,v.unshift(C.fulfilled,C.rejected))});const y=[];this.interceptors.response.forEach(function(C){y.push(C.fulfilled,C.rejected)});let b,w=0,k;if(!g){const S=[dispatchRequest.bind(this),void 0];for(S.unshift.apply(S,v),S.push.apply(S,y),k=S.length,b=Promise.resolve(u);w<k;)b=b.then(S[w++],S[w++]);return b}k=v.length;let $=u;for(w=0;w<k;){const S=v[w++],C=v[w++];try{$=S($)}catch(E){C.call(this,E);break}}try{b=dispatchRequest.call(this,$)}catch(S){return Promise.reject(S)}for(w=0,k=y.length;w<k;)b=b.then(y[w++],y[w++]);return b}getUri(i){i=mergeConfig(this.defaults,i);const u=buildFullPath(i.baseURL,i.url);return buildURL(u,i.params,i.paramsSerializer)}}utils$1.forEach(["delete","get","head","options"],function a(i){Axios.prototype[i]=function(u,c){return this.request(mergeConfig(c||{},{method:i,url:u,data:(c||{}).data}))}});utils$1.forEach(["post","put","patch"],function a(i){function u(c){return function(m,f,v){return this.request(mergeConfig(v||{},{method:i,headers:c?{"Content-Type":"multipart/form-data"}:{},url:m,data:f}))}}Axios.prototype[i]=u(),Axios.prototype[i+"Form"]=u(!0)});const Axios$1=Axios;class CancelToken{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let u;this.promise=new Promise(function(m){u=m});const c=this;this.promise.then(d=>{if(!c._listeners)return;let m=c._listeners.length;for(;m-- >0;)c._listeners[m](d);c._listeners=null}),this.promise.then=d=>{let m;const f=new Promise(v=>{c.subscribe(v),m=v}).then(d);return f.cancel=function(){c.unsubscribe(m)},f},i(function(m,f,v){c.reason||(c.reason=new CanceledError(m,f,v),u(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const u=this._listeners.indexOf(i);u!==-1&&this._listeners.splice(u,1)}static source(){let i;return{token:new CancelToken(function(d){i=d}),cancel:i}}}const CancelToken$1=CancelToken;function spread(a){return function(u){return a.apply(null,u)}}function isAxiosError(a){return utils$1.isObject(a)&&a.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([a,i])=>{HttpStatusCode[i]=a});const HttpStatusCode$1=HttpStatusCode;function createInstance(a){const i=new Axios$1(a),u=bind(Axios$1.prototype.request,i);return utils$1.extend(u,Axios$1.prototype,i,{allOwnKeys:!0}),utils$1.extend(u,i,null,{allOwnKeys:!0}),u.create=function(d){return createInstance(mergeConfig(a,d))},u}const axios=createInstance(defaults$4);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function a(i){return Promise.all(i)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=a=>formDataToJSON(utils$1.isHTMLForm(a)?new FormData(a):a);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var hookCallback;function hooks(){return hookCallback.apply(null,arguments)}function setHookCallback(a){hookCallback=a}function isArray$l(a){return a instanceof Array||Object.prototype.toString.call(a)==="[object Array]"}function isObject$d(a){return a!=null&&Object.prototype.toString.call(a)==="[object Object]"}function hasOwnProp(a,i){return Object.prototype.hasOwnProperty.call(a,i)}function isObjectEmpty(a){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(a).length===0;var i;for(i in a)if(hasOwnProp(a,i))return!1;return!0}function isUndefined(a){return a===void 0}function isNumber(a){return typeof a=="number"||Object.prototype.toString.call(a)==="[object Number]"}function isDate(a){return a instanceof Date||Object.prototype.toString.call(a)==="[object Date]"}function map$2(a,i){var u=[],c,d=a.length;for(c=0;c<d;++c)u.push(i(a[c],c));return u}function extend$1(a,i){for(var u in i)hasOwnProp(i,u)&&(a[u]=i[u]);return hasOwnProp(i,"toString")&&(a.toString=i.toString),hasOwnProp(i,"valueOf")&&(a.valueOf=i.valueOf),a}function createUTC(a,i,u,c){return createLocalOrUTC(a,i,u,c,!0).utc()}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function getParsingFlags(a){return a._pf==null&&(a._pf=defaultParsingFlags()),a._pf}var some$1;Array.prototype.some?some$1=Array.prototype.some:some$1=function(a){var i=Object(this),u=i.length>>>0,c;for(c=0;c<u;c++)if(c in i&&a.call(this,i[c],c,i))return!0;return!1};function isValid(a){var i=null,u=!1,c=a._d&&!isNaN(a._d.getTime());if(c&&(i=getParsingFlags(a),u=some$1.call(i.parsedDateParts,function(d){return d!=null}),c=i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&u),a._strict&&(c=c&&i.charsLeftOver===0&&i.unusedTokens.length===0&&i.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(a))a._isValid=c;else return c;return a._isValid}function createInvalid(a){var i=createUTC(NaN);return a!=null?extend$1(getParsingFlags(i),a):getParsingFlags(i).userInvalidated=!0,i}var momentProperties=hooks.momentProperties=[],updateInProgress=!1;function copyConfig(a,i){var u,c,d,m=momentProperties.length;if(isUndefined(i._isAMomentObject)||(a._isAMomentObject=i._isAMomentObject),isUndefined(i._i)||(a._i=i._i),isUndefined(i._f)||(a._f=i._f),isUndefined(i._l)||(a._l=i._l),isUndefined(i._strict)||(a._strict=i._strict),isUndefined(i._tzm)||(a._tzm=i._tzm),isUndefined(i._isUTC)||(a._isUTC=i._isUTC),isUndefined(i._offset)||(a._offset=i._offset),isUndefined(i._pf)||(a._pf=getParsingFlags(i)),isUndefined(i._locale)||(a._locale=i._locale),m>0)for(u=0;u<m;u++)c=momentProperties[u],d=i[c],isUndefined(d)||(a[c]=d);return a}function Moment(a){copyConfig(this,a),this._d=new Date(a._d!=null?a._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),updateInProgress===!1&&(updateInProgress=!0,hooks.updateOffset(this),updateInProgress=!1)}function isMoment(a){return a instanceof Moment||a!=null&&a._isAMomentObject!=null}function warn(a){hooks.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+a)}function deprecate(a,i){var u=!0;return extend$1(function(){if(hooks.deprecationHandler!=null&&hooks.deprecationHandler(null,a),u){var c=[],d,m,f,v=arguments.length;for(m=0;m<v;m++){if(d="",typeof arguments[m]=="object"){d+=`
[`+m+"] ";for(f in arguments[0])hasOwnProp(arguments[0],f)&&(d+=f+": "+arguments[0][f]+", ");d=d.slice(0,-2)}else d=arguments[m];c.push(d)}warn(a+`
Arguments: `+Array.prototype.slice.call(c).join("")+`
`+new Error().stack),u=!1}return i.apply(this,arguments)},i)}var deprecations={};function deprecateSimple(a,i){hooks.deprecationHandler!=null&&hooks.deprecationHandler(a,i),deprecations[a]||(warn(i),deprecations[a]=!0)}hooks.suppressDeprecationWarnings=!1;hooks.deprecationHandler=null;function isFunction$5(a){return typeof Function<"u"&&a instanceof Function||Object.prototype.toString.call(a)==="[object Function]"}function set$1(a){var i,u;for(u in a)hasOwnProp(a,u)&&(i=a[u],isFunction$5(i)?this[u]=i:this["_"+u]=i);this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(a,i){var u=extend$1({},a),c;for(c in i)hasOwnProp(i,c)&&(isObject$d(a[c])&&isObject$d(i[c])?(u[c]={},extend$1(u[c],a[c]),extend$1(u[c],i[c])):i[c]!=null?u[c]=i[c]:delete u[c]);for(c in a)hasOwnProp(a,c)&&!hasOwnProp(i,c)&&isObject$d(a[c])&&(u[c]=extend$1({},u[c]));return u}function Locale(a){a!=null&&this.set(a)}var keys$8;Object.keys?keys$8=Object.keys:keys$8=function(a){var i,u=[];for(i in a)hasOwnProp(a,i)&&u.push(i);return u};var defaultCalendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function calendar(a,i,u){var c=this._calendar[a]||this._calendar.sameElse;return isFunction$5(c)?c.call(i,u):c}function zeroFill(a,i,u){var c=""+Math.abs(a),d=i-c.length,m=a>=0;return(m?u?"+":"":"-")+Math.pow(10,Math.max(0,d)).toString().substr(1)+c}var formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(a,i,u,c){var d=c;typeof c=="string"&&(d=function(){return this[c]()}),a&&(formatTokenFunctions[a]=d),i&&(formatTokenFunctions[i[0]]=function(){return zeroFill(d.apply(this,arguments),i[1],i[2])}),u&&(formatTokenFunctions[u]=function(){return this.localeData().ordinal(d.apply(this,arguments),a)})}function removeFormattingTokens(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function makeFormatFunction(a){var i=a.match(formattingTokens),u,c;for(u=0,c=i.length;u<c;u++)formatTokenFunctions[i[u]]?i[u]=formatTokenFunctions[i[u]]:i[u]=removeFormattingTokens(i[u]);return function(d){var m="",f;for(f=0;f<c;f++)m+=isFunction$5(i[f])?i[f].call(d,a):i[f];return m}}function formatMoment(a,i){return a.isValid()?(i=expandFormat(i,a.localeData()),formatFunctions[i]=formatFunctions[i]||makeFormatFunction(i),formatFunctions[i](a)):a.localeData().invalidDate()}function expandFormat(a,i){var u=5;function c(d){return i.longDateFormat(d)||d}for(localFormattingTokens.lastIndex=0;u>=0&&localFormattingTokens.test(a);)a=a.replace(localFormattingTokens,c),localFormattingTokens.lastIndex=0,u-=1;return a}var defaultLongDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function longDateFormat(a){var i=this._longDateFormat[a],u=this._longDateFormat[a.toUpperCase()];return i||!u?i:(this._longDateFormat[a]=u.match(formattingTokens).map(function(c){return c==="MMMM"||c==="MM"||c==="DD"||c==="dddd"?c.slice(1):c}).join(""),this._longDateFormat[a])}var defaultInvalidDate="Invalid date";function invalidDate(){return this._invalidDate}var defaultOrdinal="%d",defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(a){return this._ordinal.replace("%d",a)}var defaultRelativeTime={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function relativeTime(a,i,u,c){var d=this._relativeTime[u];return isFunction$5(d)?d(a,i,u,c):d.replace(/%d/i,a)}function pastFuture(a,i){var u=this._relativeTime[a>0?"future":"past"];return isFunction$5(u)?u(i):u.replace(/%s/i,i)}var aliases={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function normalizeUnits(a){return typeof a=="string"?aliases[a]||aliases[a.toLowerCase()]:void 0}function normalizeObjectUnits(a){var i={},u,c;for(c in a)hasOwnProp(a,c)&&(u=normalizeUnits(c),u&&(i[u]=a[c]));return i}var priorities={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function getPrioritizedUnits(a){var i=[],u;for(u in a)hasOwnProp(a,u)&&i.push({unit:u,priority:priorities[u]});return i.sort(function(c,d){return c.priority-d.priority}),i}var match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchTimestamp=/[+-]?\d+(\.\d{1,3})?/,matchWord=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,match1to2NoLeadingZero=/^[1-9]\d?/,match1to2HasZero=/^([1-9]\d|\d)/,regexes;regexes={};function addRegexToken(a,i,u){regexes[a]=isFunction$5(i)?i:function(c,d){return c&&u?u:i}}function getParseRegexForToken(a,i){return hasOwnProp(regexes,a)?regexes[a](i._strict,i._locale):new RegExp(unescapeFormat(a))}function unescapeFormat(a){return regexEscape(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(i,u,c,d,m){return u||c||d||m}))}function regexEscape(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function absFloor(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function toInt(a){var i=+a,u=0;return i!==0&&isFinite(i)&&(u=absFloor(i)),u}var tokens={};function addParseToken(a,i){var u,c=i,d;for(typeof a=="string"&&(a=[a]),isNumber(i)&&(c=function(m,f){f[i]=toInt(m)}),d=a.length,u=0;u<d;u++)tokens[a[u]]=c}function addWeekParseToken(a,i){addParseToken(a,function(u,c,d,m){d._w=d._w||{},i(u,d._w,d,m)})}function addTimeToArrayFromToken(a,i,u){i!=null&&hasOwnProp(tokens,a)&&tokens[a](i,u._a,u,a)}function isLeapYear(a){return a%4===0&&a%100!==0||a%400===0}var YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8;addFormatToken("Y",0,0,function(){var a=this.year();return a<=9999?zeroFill(a,4):"+"+a});addFormatToken(0,["YY",2],0,function(){return this.year()%100});addFormatToken(0,["YYYY",4],0,"year");addFormatToken(0,["YYYYY",5],0,"year");addFormatToken(0,["YYYYYY",6,!0],0,"year");addRegexToken("Y",matchSigned);addRegexToken("YY",match1to2,match2);addRegexToken("YYYY",match1to4,match4);addRegexToken("YYYYY",match1to6,match6);addRegexToken("YYYYYY",match1to6,match6);addParseToken(["YYYYY","YYYYYY"],YEAR);addParseToken("YYYY",function(a,i){i[YEAR]=a.length===2?hooks.parseTwoDigitYear(a):toInt(a)});addParseToken("YY",function(a,i){i[YEAR]=hooks.parseTwoDigitYear(a)});addParseToken("Y",function(a,i){i[YEAR]=parseInt(a,10)});function daysInYear(a){return isLeapYear(a)?366:365}hooks.parseTwoDigitYear=function(a){return toInt(a)+(toInt(a)>68?1900:2e3)};var getSetYear=makeGetSet("FullYear",!0);function getIsLeapYear(){return isLeapYear(this.year())}function makeGetSet(a,i){return function(u){return u!=null?(set$1$1(this,a,u),hooks.updateOffset(this,i),this):get$2(this,a)}}function get$2(a,i){if(!a.isValid())return NaN;var u=a._d,c=a._isUTC;switch(i){case"Milliseconds":return c?u.getUTCMilliseconds():u.getMilliseconds();case"Seconds":return c?u.getUTCSeconds():u.getSeconds();case"Minutes":return c?u.getUTCMinutes():u.getMinutes();case"Hours":return c?u.getUTCHours():u.getHours();case"Date":return c?u.getUTCDate():u.getDate();case"Day":return c?u.getUTCDay():u.getDay();case"Month":return c?u.getUTCMonth():u.getMonth();case"FullYear":return c?u.getUTCFullYear():u.getFullYear();default:return NaN}}function set$1$1(a,i,u){var c,d,m,f,v;if(!(!a.isValid()||isNaN(u))){switch(c=a._d,d=a._isUTC,i){case"Milliseconds":return void(d?c.setUTCMilliseconds(u):c.setMilliseconds(u));case"Seconds":return void(d?c.setUTCSeconds(u):c.setSeconds(u));case"Minutes":return void(d?c.setUTCMinutes(u):c.setMinutes(u));case"Hours":return void(d?c.setUTCHours(u):c.setHours(u));case"Date":return void(d?c.setUTCDate(u):c.setDate(u));case"FullYear":break;default:return}m=u,f=a.month(),v=a.date(),v=v===29&&f===1&&!isLeapYear(m)?28:v,d?c.setUTCFullYear(m,f,v):c.setFullYear(m,f,v)}}function stringGet(a){return a=normalizeUnits(a),isFunction$5(this[a])?this[a]():this}function stringSet(a,i){if(typeof a=="object"){a=normalizeObjectUnits(a);var u=getPrioritizedUnits(a),c,d=u.length;for(c=0;c<d;c++)this[u[c].unit](a[u[c].unit])}else if(a=normalizeUnits(a),isFunction$5(this[a]))return this[a](i);return this}function mod(a,i){return(a%i+i)%i}var indexOf;Array.prototype.indexOf?indexOf=Array.prototype.indexOf:indexOf=function(a){var i;for(i=0;i<this.length;++i)if(this[i]===a)return i;return-1};function daysInMonth(a,i){if(isNaN(a)||isNaN(i))return NaN;var u=mod(i,12);return a+=(i-u)/12,u===1?isLeapYear(a)?29:28:31-u%7%2}addFormatToken("M",["MM",2],"Mo",function(){return this.month()+1});addFormatToken("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)});addFormatToken("MMMM",0,0,function(a){return this.localeData().months(this,a)});addRegexToken("M",match1to2,match1to2NoLeadingZero);addRegexToken("MM",match1to2,match2);addRegexToken("MMM",function(a,i){return i.monthsShortRegex(a)});addRegexToken("MMMM",function(a,i){return i.monthsRegex(a)});addParseToken(["M","MM"],function(a,i){i[MONTH]=toInt(a)-1});addParseToken(["MMM","MMMM"],function(a,i,u,c){var d=u._locale.monthsParse(a,c,u._strict);d!=null?i[MONTH]=d:getParsingFlags(u).invalidMonth=a});var defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function localeMonths(a,i){return a?isArray$l(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(i)?"format":"standalone"][a.month()]:isArray$l(this._months)?this._months:this._months.standalone}function localeMonthsShort(a,i){return a?isArray$l(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(i)?"format":"standalone"][a.month()]:isArray$l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function handleStrictParse(a,i,u){var c,d,m,f=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],c=0;c<12;++c)m=createUTC([2e3,c]),this._shortMonthsParse[c]=this.monthsShort(m,"").toLocaleLowerCase(),this._longMonthsParse[c]=this.months(m,"").toLocaleLowerCase();return u?i==="MMM"?(d=indexOf.call(this._shortMonthsParse,f),d!==-1?d:null):(d=indexOf.call(this._longMonthsParse,f),d!==-1?d:null):i==="MMM"?(d=indexOf.call(this._shortMonthsParse,f),d!==-1?d:(d=indexOf.call(this._longMonthsParse,f),d!==-1?d:null)):(d=indexOf.call(this._longMonthsParse,f),d!==-1?d:(d=indexOf.call(this._shortMonthsParse,f),d!==-1?d:null))}function localeMonthsParse(a,i,u){var c,d,m;if(this._monthsParseExact)return handleStrictParse.call(this,a,i,u);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),c=0;c<12;c++){if(d=createUTC([2e3,c]),u&&!this._longMonthsParse[c]&&(this._longMonthsParse[c]=new RegExp("^"+this.months(d,"").replace(".","")+"$","i"),this._shortMonthsParse[c]=new RegExp("^"+this.monthsShort(d,"").replace(".","")+"$","i")),!u&&!this._monthsParse[c]&&(m="^"+this.months(d,"")+"|^"+this.monthsShort(d,""),this._monthsParse[c]=new RegExp(m.replace(".",""),"i")),u&&i==="MMMM"&&this._longMonthsParse[c].test(a))return c;if(u&&i==="MMM"&&this._shortMonthsParse[c].test(a))return c;if(!u&&this._monthsParse[c].test(a))return c}}function setMonth(a,i){if(!a.isValid())return a;if(typeof i=="string"){if(/^\d+$/.test(i))i=toInt(i);else if(i=a.localeData().monthsParse(i),!isNumber(i))return a}var u=i,c=a.date();return c=c<29?c:Math.min(c,daysInMonth(a.year(),u)),a._isUTC?a._d.setUTCMonth(u,c):a._d.setMonth(u,c),a}function getSetMonth(a){return a!=null?(setMonth(this,a),hooks.updateOffset(this,!0),this):get$2(this,"Month")}function getDaysInMonth(){return daysInMonth(this.year(),this.month())}function monthsShortRegex(a){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,"_monthsShortRegex")||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function monthsRegex(a){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),a?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,"_monthsRegex")||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function computeMonthsParse(){function a(g,y){return y.length-g.length}var i=[],u=[],c=[],d,m,f,v;for(d=0;d<12;d++)m=createUTC([2e3,d]),f=regexEscape(this.monthsShort(m,"")),v=regexEscape(this.months(m,"")),i.push(f),u.push(v),c.push(v),c.push(f);i.sort(a),u.sort(a),c.sort(a),this._monthsRegex=new RegExp("^("+c.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function createDate(a,i,u,c,d,m,f){var v;return a<100&&a>=0?(v=new Date(a+400,i,u,c,d,m,f),isFinite(v.getFullYear())&&v.setFullYear(a)):v=new Date(a,i,u,c,d,m,f),v}function createUTCDate(a){var i,u;return a<100&&a>=0?(u=Array.prototype.slice.call(arguments),u[0]=a+400,i=new Date(Date.UTC.apply(null,u)),isFinite(i.getUTCFullYear())&&i.setUTCFullYear(a)):i=new Date(Date.UTC.apply(null,arguments)),i}function firstWeekOffset(a,i,u){var c=7+i-u,d=(7+createUTCDate(a,0,c).getUTCDay()-i)%7;return-d+c-1}function dayOfYearFromWeeks(a,i,u,c,d){var m=(7+u-c)%7,f=firstWeekOffset(a,c,d),v=1+7*(i-1)+m+f,g,y;return v<=0?(g=a-1,y=daysInYear(g)+v):v>daysInYear(a)?(g=a+1,y=v-daysInYear(a)):(g=a,y=v),{year:g,dayOfYear:y}}function weekOfYear(a,i,u){var c=firstWeekOffset(a.year(),i,u),d=Math.floor((a.dayOfYear()-c-1)/7)+1,m,f;return d<1?(f=a.year()-1,m=d+weeksInYear(f,i,u)):d>weeksInYear(a.year(),i,u)?(m=d-weeksInYear(a.year(),i,u),f=a.year()+1):(f=a.year(),m=d),{week:m,year:f}}function weeksInYear(a,i,u){var c=firstWeekOffset(a,i,u),d=firstWeekOffset(a+1,i,u);return(daysInYear(a)-c+d)/7}addFormatToken("w",["ww",2],"wo","week");addFormatToken("W",["WW",2],"Wo","isoWeek");addRegexToken("w",match1to2,match1to2NoLeadingZero);addRegexToken("ww",match1to2,match2);addRegexToken("W",match1to2,match1to2NoLeadingZero);addRegexToken("WW",match1to2,match2);addWeekParseToken(["w","ww","W","WW"],function(a,i,u,c){i[c.substr(0,1)]=toInt(a)});function localeWeek(a){return weekOfYear(a,this._week.dow,this._week.doy).week}var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(a){var i=this.localeData().week(this);return a==null?i:this.add((a-i)*7,"d")}function getSetISOWeek(a){var i=weekOfYear(this,1,4).week;return a==null?i:this.add((a-i)*7,"d")}addFormatToken("d",0,"do","day");addFormatToken("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)});addFormatToken("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)});addFormatToken("dddd",0,0,function(a){return this.localeData().weekdays(this,a)});addFormatToken("e",0,0,"weekday");addFormatToken("E",0,0,"isoWeekday");addRegexToken("d",match1to2);addRegexToken("e",match1to2);addRegexToken("E",match1to2);addRegexToken("dd",function(a,i){return i.weekdaysMinRegex(a)});addRegexToken("ddd",function(a,i){return i.weekdaysShortRegex(a)});addRegexToken("dddd",function(a,i){return i.weekdaysRegex(a)});addWeekParseToken(["dd","ddd","dddd"],function(a,i,u,c){var d=u._locale.weekdaysParse(a,c,u._strict);d!=null?i.d=d:getParsingFlags(u).invalidWeekday=a});addWeekParseToken(["d","e","E"],function(a,i,u,c){i[c]=toInt(a)});function parseWeekday(a,i){return typeof a!="string"?a:isNaN(a)?(a=i.weekdaysParse(a),typeof a=="number"?a:null):parseInt(a,10)}function parseIsoWeekday(a,i){return typeof a=="string"?i.weekdaysParse(a)%7||7:isNaN(a)?null:a}function shiftWeekdays(a,i){return a.slice(i,7).concat(a.slice(0,i))}var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(a,i){var u=isArray$l(this._weekdays)?this._weekdays:this._weekdays[a&&a!==!0&&this._weekdays.isFormat.test(i)?"format":"standalone"];return a===!0?shiftWeekdays(u,this._week.dow):a?u[a.day()]:u}function localeWeekdaysShort(a){return a===!0?shiftWeekdays(this._weekdaysShort,this._week.dow):a?this._weekdaysShort[a.day()]:this._weekdaysShort}function localeWeekdaysMin(a){return a===!0?shiftWeekdays(this._weekdaysMin,this._week.dow):a?this._weekdaysMin[a.day()]:this._weekdaysMin}function handleStrictParse$1(a,i,u){var c,d,m,f=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],c=0;c<7;++c)m=createUTC([2e3,1]).day(c),this._minWeekdaysParse[c]=this.weekdaysMin(m,"").toLocaleLowerCase(),this._shortWeekdaysParse[c]=this.weekdaysShort(m,"").toLocaleLowerCase(),this._weekdaysParse[c]=this.weekdays(m,"").toLocaleLowerCase();return u?i==="dddd"?(d=indexOf.call(this._weekdaysParse,f),d!==-1?d:null):i==="ddd"?(d=indexOf.call(this._shortWeekdaysParse,f),d!==-1?d:null):(d=indexOf.call(this._minWeekdaysParse,f),d!==-1?d:null):i==="dddd"?(d=indexOf.call(this._weekdaysParse,f),d!==-1||(d=indexOf.call(this._shortWeekdaysParse,f),d!==-1)?d:(d=indexOf.call(this._minWeekdaysParse,f),d!==-1?d:null)):i==="ddd"?(d=indexOf.call(this._shortWeekdaysParse,f),d!==-1||(d=indexOf.call(this._weekdaysParse,f),d!==-1)?d:(d=indexOf.call(this._minWeekdaysParse,f),d!==-1?d:null)):(d=indexOf.call(this._minWeekdaysParse,f),d!==-1||(d=indexOf.call(this._weekdaysParse,f),d!==-1)?d:(d=indexOf.call(this._shortWeekdaysParse,f),d!==-1?d:null))}function localeWeekdaysParse(a,i,u){var c,d,m;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,a,i,u);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),c=0;c<7;c++){if(d=createUTC([2e3,1]).day(c),u&&!this._fullWeekdaysParse[c]&&(this._fullWeekdaysParse[c]=new RegExp("^"+this.weekdays(d,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[c]=new RegExp("^"+this.weekdaysShort(d,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[c]=new RegExp("^"+this.weekdaysMin(d,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[c]||(m="^"+this.weekdays(d,"")+"|^"+this.weekdaysShort(d,"")+"|^"+this.weekdaysMin(d,""),this._weekdaysParse[c]=new RegExp(m.replace(".",""),"i")),u&&i==="dddd"&&this._fullWeekdaysParse[c].test(a))return c;if(u&&i==="ddd"&&this._shortWeekdaysParse[c].test(a))return c;if(u&&i==="dd"&&this._minWeekdaysParse[c].test(a))return c;if(!u&&this._weekdaysParse[c].test(a))return c}}function getSetDayOfWeek(a){if(!this.isValid())return a!=null?this:NaN;var i=get$2(this,"Day");return a!=null?(a=parseWeekday(a,this.localeData()),this.add(a-i,"d")):i}function getSetLocaleDayOfWeek(a){if(!this.isValid())return a!=null?this:NaN;var i=(this.day()+7-this.localeData()._week.dow)%7;return a==null?i:this.add(a-i,"d")}function getSetISODayOfWeek(a){if(!this.isValid())return a!=null?this:NaN;if(a!=null){var i=parseIsoWeekday(a,this.localeData());return this.day(this.day()%7?i:i-7)}else return this.day()||7}function weekdaysRegex(a){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(a){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(a){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function a(b,w){return w.length-b.length}var i=[],u=[],c=[],d=[],m,f,v,g,y;for(m=0;m<7;m++)f=createUTC([2e3,1]).day(m),v=regexEscape(this.weekdaysMin(f,"")),g=regexEscape(this.weekdaysShort(f,"")),y=regexEscape(this.weekdays(f,"")),i.push(v),u.push(g),c.push(y),d.push(v),d.push(g),d.push(y);i.sort(a),u.sort(a),c.sort(a),d.sort(a),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken("H",["HH",2],0,"hour");addFormatToken("h",["hh",2],0,hFormat);addFormatToken("k",["kk",2],0,kFormat);addFormatToken("hmm",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)});addFormatToken("hmmss",0,0,function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});addFormatToken("Hmm",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)});addFormatToken("Hmmss",0,0,function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});function meridiem(a,i){addFormatToken(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),i)})}meridiem("a",!0);meridiem("A",!1);function matchMeridiem(a,i){return i._meridiemParse}addRegexToken("a",matchMeridiem);addRegexToken("A",matchMeridiem);addRegexToken("H",match1to2,match1to2HasZero);addRegexToken("h",match1to2,match1to2NoLeadingZero);addRegexToken("k",match1to2,match1to2NoLeadingZero);addRegexToken("HH",match1to2,match2);addRegexToken("hh",match1to2,match2);addRegexToken("kk",match1to2,match2);addRegexToken("hmm",match3to4);addRegexToken("hmmss",match5to6);addRegexToken("Hmm",match3to4);addRegexToken("Hmmss",match5to6);addParseToken(["H","HH"],HOUR);addParseToken(["k","kk"],function(a,i,u){var c=toInt(a);i[HOUR]=c===24?0:c});addParseToken(["a","A"],function(a,i,u){u._isPm=u._locale.isPM(a),u._meridiem=a});addParseToken(["h","hh"],function(a,i,u){i[HOUR]=toInt(a),getParsingFlags(u).bigHour=!0});addParseToken("hmm",function(a,i,u){var c=a.length-2;i[HOUR]=toInt(a.substr(0,c)),i[MINUTE]=toInt(a.substr(c)),getParsingFlags(u).bigHour=!0});addParseToken("hmmss",function(a,i,u){var c=a.length-4,d=a.length-2;i[HOUR]=toInt(a.substr(0,c)),i[MINUTE]=toInt(a.substr(c,2)),i[SECOND]=toInt(a.substr(d)),getParsingFlags(u).bigHour=!0});addParseToken("Hmm",function(a,i,u){var c=a.length-2;i[HOUR]=toInt(a.substr(0,c)),i[MINUTE]=toInt(a.substr(c))});addParseToken("Hmmss",function(a,i,u){var c=a.length-4,d=a.length-2;i[HOUR]=toInt(a.substr(0,c)),i[MINUTE]=toInt(a.substr(c,2)),i[SECOND]=toInt(a.substr(d))});function localeIsPM(a){return(a+"").toLowerCase().charAt(0)==="p"}var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet("Hours",!0);function localeMeridiem(a,i,u){return a>11?u?"pm":"PM":u?"am":"AM"}var baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={},globalLocale;function commonPrefix(a,i){var u,c=Math.min(a.length,i.length);for(u=0;u<c;u+=1)if(a[u]!==i[u])return u;return c}function normalizeLocale(a){return a&&a.toLowerCase().replace("_","-")}function chooseLocale(a){for(var i=0,u,c,d,m;i<a.length;){for(m=normalizeLocale(a[i]).split("-"),u=m.length,c=normalizeLocale(a[i+1]),c=c?c.split("-"):null;u>0;){if(d=loadLocale(m.slice(0,u).join("-")),d)return d;if(c&&c.length>=u&&commonPrefix(m,c)>=u-1)break;u--}i++}return globalLocale}function isLocaleNameSane(a){return!!(a&&a.match("^[^/\\\\]*$"))}function loadLocale(a){var i=null,u;if(locales[a]===void 0&&typeof module<"u"&&module&&module.exports&&isLocaleNameSane(a))try{i=globalLocale._abbr,u=require,u("./locale/"+a),getSetGlobalLocale(i)}catch{locales[a]=null}return locales[a]}function getSetGlobalLocale(a,i){var u;return a&&(isUndefined(i)?u=getLocale(a):u=defineLocale(a,i),u?globalLocale=u:typeof console<"u"&&console.warn&&console.warn("Locale "+a+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(a,i){if(i!==null){var u,c=baseConfig;if(i.abbr=a,locales[a]!=null)deprecateSimple("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=locales[a]._config;else if(i.parentLocale!=null)if(locales[i.parentLocale]!=null)c=locales[i.parentLocale]._config;else if(u=loadLocale(i.parentLocale),u!=null)c=u._config;else return localeFamilies[i.parentLocale]||(localeFamilies[i.parentLocale]=[]),localeFamilies[i.parentLocale].push({name:a,config:i}),null;return locales[a]=new Locale(mergeConfigs(c,i)),localeFamilies[a]&&localeFamilies[a].forEach(function(d){defineLocale(d.name,d.config)}),getSetGlobalLocale(a),locales[a]}else return delete locales[a],null}function updateLocale(a,i){if(i!=null){var u,c,d=baseConfig;locales[a]!=null&&locales[a].parentLocale!=null?locales[a].set(mergeConfigs(locales[a]._config,i)):(c=loadLocale(a),c!=null&&(d=c._config),i=mergeConfigs(d,i),c==null&&(i.abbr=a),u=new Locale(i),u.parentLocale=locales[a],locales[a]=u),getSetGlobalLocale(a)}else locales[a]!=null&&(locales[a].parentLocale!=null?(locales[a]=locales[a].parentLocale,a===getSetGlobalLocale()&&getSetGlobalLocale(a)):locales[a]!=null&&delete locales[a]);return locales[a]}function getLocale(a){var i;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return globalLocale;if(!isArray$l(a)){if(i=loadLocale(a),i)return i;a=[a]}return chooseLocale(a)}function listLocales(){return keys$8(locales)}function checkOverflow(a){var i,u=a._a;return u&&getParsingFlags(a).overflow===-2&&(i=u[MONTH]<0||u[MONTH]>11?MONTH:u[DATE]<1||u[DATE]>daysInMonth(u[YEAR],u[MONTH])?DATE:u[HOUR]<0||u[HOUR]>24||u[HOUR]===24&&(u[MINUTE]!==0||u[SECOND]!==0||u[MILLISECOND]!==0)?HOUR:u[MINUTE]<0||u[MINUTE]>59?MINUTE:u[SECOND]<0||u[SECOND]>59?SECOND:u[MILLISECOND]<0||u[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(a)._overflowDayOfYear&&(i<YEAR||i>DATE)&&(i=DATE),getParsingFlags(a)._overflowWeeks&&i===-1&&(i=WEEK),getParsingFlags(a)._overflowWeekday&&i===-1&&(i=WEEKDAY),getParsingFlags(a).overflow=i),a}var extendedIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,basicIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],isoTimes=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,obsOffsets={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function configFromISO(a){var i,u,c=a._i,d=extendedIsoRegex.exec(c)||basicIsoRegex.exec(c),m,f,v,g,y=isoDates.length,b=isoTimes.length;if(d){for(getParsingFlags(a).iso=!0,i=0,u=y;i<u;i++)if(isoDates[i][1].exec(d[1])){f=isoDates[i][0],m=isoDates[i][2]!==!1;break}if(f==null){a._isValid=!1;return}if(d[3]){for(i=0,u=b;i<u;i++)if(isoTimes[i][1].exec(d[3])){v=(d[2]||" ")+isoTimes[i][0];break}if(v==null){a._isValid=!1;return}}if(!m&&v!=null){a._isValid=!1;return}if(d[4])if(tzRegex.exec(d[4]))g="Z";else{a._isValid=!1;return}a._f=f+(v||"")+(g||""),configFromStringAndFormat(a)}else a._isValid=!1}function extractFromRFC2822Strings(a,i,u,c,d,m){var f=[untruncateYear(a),defaultLocaleMonthsShort.indexOf(i),parseInt(u,10),parseInt(c,10),parseInt(d,10)];return m&&f.push(parseInt(m,10)),f}function untruncateYear(a){var i=parseInt(a,10);return i<=49?2e3+i:i<=999?1900+i:i}function preprocessRFC2822(a){return a.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function checkWeekday(a,i,u){if(a){var c=defaultLocaleWeekdaysShort.indexOf(a),d=new Date(i[0],i[1],i[2]).getDay();if(c!==d)return getParsingFlags(u).weekdayMismatch=!0,u._isValid=!1,!1}return!0}function calculateOffset(a,i,u){if(a)return obsOffsets[a];if(i)return 0;var c=parseInt(u,10),d=c%100,m=(c-d)/100;return m*60+d}function configFromRFC2822(a){var i=rfc2822.exec(preprocessRFC2822(a._i)),u;if(i){if(u=extractFromRFC2822Strings(i[4],i[3],i[2],i[5],i[6],i[7]),!checkWeekday(i[1],u,a))return;a._a=u,a._tzm=calculateOffset(i[8],i[9],i[10]),a._d=createUTCDate.apply(null,a._a),a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),getParsingFlags(a).rfc2822=!0}else a._isValid=!1}function configFromString(a){var i=aspNetJsonRegex.exec(a._i);if(i!==null){a._d=new Date(+i[1]);return}if(configFromISO(a),a._isValid===!1)delete a._isValid;else return;if(configFromRFC2822(a),a._isValid===!1)delete a._isValid;else return;a._strict?a._isValid=!1:hooks.createFromInputFallback(a)}hooks.createFromInputFallback=deprecate("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))});function defaults$2(a,i,u){return a??i??u}function currentDateArray(a){var i=new Date(hooks.now());return a._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}function configFromArray(a){var i,u,c=[],d,m,f;if(!a._d){for(d=currentDateArray(a),a._w&&a._a[DATE]==null&&a._a[MONTH]==null&&dayOfYearFromWeekInfo(a),a._dayOfYear!=null&&(f=defaults$2(a._a[YEAR],d[YEAR]),(a._dayOfYear>daysInYear(f)||a._dayOfYear===0)&&(getParsingFlags(a)._overflowDayOfYear=!0),u=createUTCDate(f,0,a._dayOfYear),a._a[MONTH]=u.getUTCMonth(),a._a[DATE]=u.getUTCDate()),i=0;i<3&&a._a[i]==null;++i)a._a[i]=c[i]=d[i];for(;i<7;i++)a._a[i]=c[i]=a._a[i]==null?i===2?1:0:a._a[i];a._a[HOUR]===24&&a._a[MINUTE]===0&&a._a[SECOND]===0&&a._a[MILLISECOND]===0&&(a._nextDay=!0,a._a[HOUR]=0),a._d=(a._useUTC?createUTCDate:createDate).apply(null,c),m=a._useUTC?a._d.getUTCDay():a._d.getDay(),a._tzm!=null&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[HOUR]=24),a._w&&typeof a._w.d<"u"&&a._w.d!==m&&(getParsingFlags(a).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(a){var i,u,c,d,m,f,v,g,y;i=a._w,i.GG!=null||i.W!=null||i.E!=null?(m=1,f=4,u=defaults$2(i.GG,a._a[YEAR],weekOfYear(createLocal(),1,4).year),c=defaults$2(i.W,1),d=defaults$2(i.E,1),(d<1||d>7)&&(g=!0)):(m=a._locale._week.dow,f=a._locale._week.doy,y=weekOfYear(createLocal(),m,f),u=defaults$2(i.gg,a._a[YEAR],y.year),c=defaults$2(i.w,y.week),i.d!=null?(d=i.d,(d<0||d>6)&&(g=!0)):i.e!=null?(d=i.e+m,(i.e<0||i.e>6)&&(g=!0)):d=m),c<1||c>weeksInYear(u,m,f)?getParsingFlags(a)._overflowWeeks=!0:g!=null?getParsingFlags(a)._overflowWeekday=!0:(v=dayOfYearFromWeeks(u,c,d,m,f),a._a[YEAR]=v.year,a._dayOfYear=v.dayOfYear)}hooks.ISO_8601=function(){};hooks.RFC_2822=function(){};function configFromStringAndFormat(a){if(a._f===hooks.ISO_8601){configFromISO(a);return}if(a._f===hooks.RFC_2822){configFromRFC2822(a);return}a._a=[],getParsingFlags(a).empty=!0;var i=""+a._i,u,c,d,m,f,v=i.length,g=0,y,b;for(d=expandFormat(a._f,a._locale).match(formattingTokens)||[],b=d.length,u=0;u<b;u++)m=d[u],c=(i.match(getParseRegexForToken(m,a))||[])[0],c&&(f=i.substr(0,i.indexOf(c)),f.length>0&&getParsingFlags(a).unusedInput.push(f),i=i.slice(i.indexOf(c)+c.length),g+=c.length),formatTokenFunctions[m]?(c?getParsingFlags(a).empty=!1:getParsingFlags(a).unusedTokens.push(m),addTimeToArrayFromToken(m,c,a)):a._strict&&!c&&getParsingFlags(a).unusedTokens.push(m);getParsingFlags(a).charsLeftOver=v-g,i.length>0&&getParsingFlags(a).unusedInput.push(i),a._a[HOUR]<=12&&getParsingFlags(a).bigHour===!0&&a._a[HOUR]>0&&(getParsingFlags(a).bigHour=void 0),getParsingFlags(a).parsedDateParts=a._a.slice(0),getParsingFlags(a).meridiem=a._meridiem,a._a[HOUR]=meridiemFixWrap(a._locale,a._a[HOUR],a._meridiem),y=getParsingFlags(a).era,y!==null&&(a._a[YEAR]=a._locale.erasConvertYear(y,a._a[YEAR])),configFromArray(a),checkOverflow(a)}function meridiemFixWrap(a,i,u){var c;return u==null?i:a.meridiemHour!=null?a.meridiemHour(i,u):(a.isPM!=null&&(c=a.isPM(u),c&&i<12&&(i+=12),!c&&i===12&&(i=0)),i)}function configFromStringAndArray(a){var i,u,c,d,m,f,v=!1,g=a._f.length;if(g===0){getParsingFlags(a).invalidFormat=!0,a._d=new Date(NaN);return}for(d=0;d<g;d++)m=0,f=!1,i=copyConfig({},a),a._useUTC!=null&&(i._useUTC=a._useUTC),i._f=a._f[d],configFromStringAndFormat(i),isValid(i)&&(f=!0),m+=getParsingFlags(i).charsLeftOver,m+=getParsingFlags(i).unusedTokens.length*10,getParsingFlags(i).score=m,v?m<c&&(c=m,u=i):(c==null||m<c||f)&&(c=m,u=i,f&&(v=!0));extend$1(a,u||i)}function configFromObject(a){if(!a._d){var i=normalizeObjectUnits(a._i),u=i.day===void 0?i.date:i.day;a._a=map$2([i.year,i.month,u,i.hour,i.minute,i.second,i.millisecond],function(c){return c&&parseInt(c,10)}),configFromArray(a)}}function createFromConfig(a){var i=new Moment(checkOverflow(prepareConfig(a)));return i._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function prepareConfig(a){var i=a._i,u=a._f;return a._locale=a._locale||getLocale(a._l),i===null||u===void 0&&i===""?createInvalid({nullInput:!0}):(typeof i=="string"&&(a._i=i=a._locale.preparse(i)),isMoment(i)?new Moment(checkOverflow(i)):(isDate(i)?a._d=i:isArray$l(u)?configFromStringAndArray(a):u?configFromStringAndFormat(a):configFromInput(a),isValid(a)||(a._d=null),a))}function configFromInput(a){var i=a._i;isUndefined(i)?a._d=new Date(hooks.now()):isDate(i)?a._d=new Date(i.valueOf()):typeof i=="string"?configFromString(a):isArray$l(i)?(a._a=map$2(i.slice(0),function(u){return parseInt(u,10)}),configFromArray(a)):isObject$d(i)?configFromObject(a):isNumber(i)?a._d=new Date(i):hooks.createFromInputFallback(a)}function createLocalOrUTC(a,i,u,c,d){var m={};return(i===!0||i===!1)&&(c=i,i=void 0),(u===!0||u===!1)&&(c=u,u=void 0),(isObject$d(a)&&isObjectEmpty(a)||isArray$l(a)&&a.length===0)&&(a=void 0),m._isAMomentObject=!0,m._useUTC=m._isUTC=d,m._l=u,m._i=a,m._f=i,m._strict=c,createFromConfig(m)}function createLocal(a,i,u,c){return createLocalOrUTC(a,i,u,c,!1)}var prototypeMin=deprecate("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=createLocal.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:createInvalid()}),prototypeMax=deprecate("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=createLocal.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:createInvalid()});function pickBy(a,i){var u,c;if(i.length===1&&isArray$l(i[0])&&(i=i[0]),!i.length)return createLocal();for(u=i[0],c=1;c<i.length;++c)(!i[c].isValid()||i[c][a](u))&&(u=i[c]);return u}function min$3(){var a=[].slice.call(arguments,0);return pickBy("isBefore",a)}function max$2(){var a=[].slice.call(arguments,0);return pickBy("isAfter",a)}var now=function(){return Date.now?Date.now():+new Date},ordering=["year","quarter","month","week","day","hour","minute","second","millisecond"];function isDurationValid(a){var i,u=!1,c,d=ordering.length;for(i in a)if(hasOwnProp(a,i)&&!(indexOf.call(ordering,i)!==-1&&(a[i]==null||!isNaN(a[i]))))return!1;for(c=0;c<d;++c)if(a[ordering[c]]){if(u)return!1;parseFloat(a[ordering[c]])!==toInt(a[ordering[c]])&&(u=!0)}return!0}function isValid$1(){return this._isValid}function createInvalid$1(){return createDuration(NaN)}function Duration(a){var i=normalizeObjectUnits(a),u=i.year||0,c=i.quarter||0,d=i.month||0,m=i.week||i.isoWeek||0,f=i.day||0,v=i.hour||0,g=i.minute||0,y=i.second||0,b=i.millisecond||0;this._isValid=isDurationValid(i),this._milliseconds=+b+y*1e3+g*6e4+v*1e3*60*60,this._days=+f+m*7,this._months=+d+c*3+u*12,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(a){return a instanceof Duration}function absRound(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function compareArrays(a,i,u){var c=Math.min(a.length,i.length),d=Math.abs(a.length-i.length),m=0,f;for(f=0;f<c;f++)(u&&a[f]!==i[f]||!u&&toInt(a[f])!==toInt(i[f]))&&m++;return m+d}function offset$1(a,i){addFormatToken(a,0,0,function(){var u=this.utcOffset(),c="+";return u<0&&(u=-u,c="-"),c+zeroFill(~~(u/60),2)+i+zeroFill(~~u%60,2)})}offset$1("Z",":");offset$1("ZZ","");addRegexToken("Z",matchShortOffset);addRegexToken("ZZ",matchShortOffset);addParseToken(["Z","ZZ"],function(a,i,u){u._useUTC=!0,u._tzm=offsetFromString(matchShortOffset,a)});var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(a,i){var u=(i||"").match(a),c,d,m;return u===null?null:(c=u[u.length-1]||[],d=(c+"").match(chunkOffset)||["-",0,0],m=+(d[1]*60)+toInt(d[2]),m===0?0:d[0]==="+"?m:-m)}function cloneWithOffset(a,i){var u,c;return i._isUTC?(u=i.clone(),c=(isMoment(a)||isDate(a)?a.valueOf():createLocal(a).valueOf())-u.valueOf(),u._d.setTime(u._d.valueOf()+c),hooks.updateOffset(u,!1),u):createLocal(a).local()}function getDateOffset(a){return-Math.round(a._d.getTimezoneOffset())}hooks.updateOffset=function(){};function getSetOffset(a,i,u){var c=this._offset||0,d;if(!this.isValid())return a!=null?this:NaN;if(a!=null){if(typeof a=="string"){if(a=offsetFromString(matchShortOffset,a),a===null)return this}else Math.abs(a)<16&&!u&&(a=a*60);return!this._isUTC&&i&&(d=getDateOffset(this)),this._offset=a,this._isUTC=!0,d!=null&&this.add(d,"m"),c!==a&&(!i||this._changeInProgress?addSubtract(this,createDuration(a-c,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,hooks.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?c:getDateOffset(this)}function getSetZone(a,i){return a!=null?(typeof a!="string"&&(a=-a),this.utcOffset(a,i),this):-this.utcOffset()}function setOffsetToUTC(a){return this.utcOffset(0,a)}function setOffsetToLocal(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(getDateOffset(this),"m")),this}function setOffsetToParsedOffset(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var a=offsetFromString(matchOffset,this._i);a!=null?this.utcOffset(a):this.utcOffset(0,!0)}return this}function hasAlignedHourOffset(a){return this.isValid()?(a=a?createLocal(a).utcOffset():0,(this.utcOffset()-a)%60===0):!1}function isDaylightSavingTime(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var a={},i;return copyConfig(a,this),a=prepareConfig(a),a._a?(i=a._isUTC?createUTC(a._a):createLocal(a._a),this._isDSTShifted=this.isValid()&&compareArrays(a._a,i.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:!1}function isUtcOffset(){return this.isValid()?this._isUTC:!1}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(a,i){var u=a,c=null,d,m,f;return isDuration(a)?u={ms:a._milliseconds,d:a._days,M:a._months}:isNumber(a)||!isNaN(+a)?(u={},i?u[i]=+a:u.milliseconds=+a):(c=aspNetRegex.exec(a))?(d=c[1]==="-"?-1:1,u={y:0,d:toInt(c[DATE])*d,h:toInt(c[HOUR])*d,m:toInt(c[MINUTE])*d,s:toInt(c[SECOND])*d,ms:toInt(absRound(c[MILLISECOND]*1e3))*d}):(c=isoRegex.exec(a))?(d=c[1]==="-"?-1:1,u={y:parseIso(c[2],d),M:parseIso(c[3],d),w:parseIso(c[4],d),d:parseIso(c[5],d),h:parseIso(c[6],d),m:parseIso(c[7],d),s:parseIso(c[8],d)}):u==null?u={}:typeof u=="object"&&("from"in u||"to"in u)&&(f=momentsDifference(createLocal(u.from),createLocal(u.to)),u={},u.ms=f.milliseconds,u.M=f.months),m=new Duration(u),isDuration(a)&&hasOwnProp(a,"_locale")&&(m._locale=a._locale),isDuration(a)&&hasOwnProp(a,"_isValid")&&(m._isValid=a._isValid),m}createDuration.fn=Duration.prototype;createDuration.invalid=createInvalid$1;function parseIso(a,i){var u=a&&parseFloat(a.replace(",","."));return(isNaN(u)?0:u)*i}function positiveMomentsDifference(a,i){var u={};return u.months=i.month()-a.month()+(i.year()-a.year())*12,a.clone().add(u.months,"M").isAfter(i)&&--u.months,u.milliseconds=+i-+a.clone().add(u.months,"M"),u}function momentsDifference(a,i){var u;return a.isValid()&&i.isValid()?(i=cloneWithOffset(i,a),a.isBefore(i)?u=positiveMomentsDifference(a,i):(u=positiveMomentsDifference(i,a),u.milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0}}function createAdder(a,i){return function(u,c){var d,m;return c!==null&&!isNaN(+c)&&(deprecateSimple(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),m=u,u=c,c=m),d=createDuration(u,c),addSubtract(this,d,a),this}}function addSubtract(a,i,u,c){var d=i._milliseconds,m=absRound(i._days),f=absRound(i._months);a.isValid()&&(c=c??!0,f&&setMonth(a,get$2(a,"Month")+f*u),m&&set$1$1(a,"Date",get$2(a,"Date")+m*u),d&&a._d.setTime(a._d.valueOf()+d*u),c&&hooks.updateOffset(a,m||f))}var add=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function isString$2(a){return typeof a=="string"||a instanceof String}function isMomentInput(a){return isMoment(a)||isDate(a)||isString$2(a)||isNumber(a)||isNumberOrStringArray(a)||isMomentInputObject(a)||a===null||a===void 0}function isMomentInputObject(a){var i=isObject$d(a)&&!isObjectEmpty(a),u=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d,m,f=c.length;for(d=0;d<f;d+=1)m=c[d],u=u||hasOwnProp(a,m);return i&&u}function isNumberOrStringArray(a){var i=isArray$l(a),u=!1;return i&&(u=a.filter(function(c){return!isNumber(c)&&isString$2(a)}).length===0),i&&u}function isCalendarSpec(a){var i=isObject$d(a)&&!isObjectEmpty(a),u=!1,c=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],d,m;for(d=0;d<c.length;d+=1)m=c[d],u=u||hasOwnProp(a,m);return i&&u}function getCalendarFormat(a,i){var u=a.diff(i,"days",!0);return u<-6?"sameElse":u<-1?"lastWeek":u<0?"lastDay":u<1?"sameDay":u<2?"nextDay":u<7?"nextWeek":"sameElse"}function calendar$1(a,i){arguments.length===1&&(arguments[0]?isMomentInput(arguments[0])?(a=arguments[0],i=void 0):isCalendarSpec(arguments[0])&&(i=arguments[0],a=void 0):(a=void 0,i=void 0));var u=a||createLocal(),c=cloneWithOffset(u,this).startOf("day"),d=hooks.calendarFormat(this,c)||"sameElse",m=i&&(isFunction$5(i[d])?i[d].call(this,u):i[d]);return this.format(m||this.localeData().calendar(d,this,createLocal(u)))}function clone$2(){return new Moment(this)}function isAfter(a,i){var u=isMoment(a)?a:createLocal(a);return this.isValid()&&u.isValid()?(i=normalizeUnits(i)||"millisecond",i==="millisecond"?this.valueOf()>u.valueOf():u.valueOf()<this.clone().startOf(i).valueOf()):!1}function isBefore(a,i){var u=isMoment(a)?a:createLocal(a);return this.isValid()&&u.isValid()?(i=normalizeUnits(i)||"millisecond",i==="millisecond"?this.valueOf()<u.valueOf():this.clone().endOf(i).valueOf()<u.valueOf()):!1}function isBetween$1(a,i,u,c){var d=isMoment(a)?a:createLocal(a),m=isMoment(i)?i:createLocal(i);return this.isValid()&&d.isValid()&&m.isValid()?(c=c||"()",(c[0]==="("?this.isAfter(d,u):!this.isBefore(d,u))&&(c[1]===")"?this.isBefore(m,u):!this.isAfter(m,u))):!1}function isSame(a,i){var u=isMoment(a)?a:createLocal(a),c;return this.isValid()&&u.isValid()?(i=normalizeUnits(i)||"millisecond",i==="millisecond"?this.valueOf()===u.valueOf():(c=u.valueOf(),this.clone().startOf(i).valueOf()<=c&&c<=this.clone().endOf(i).valueOf())):!1}function isSameOrAfter(a,i){return this.isSame(a,i)||this.isAfter(a,i)}function isSameOrBefore(a,i){return this.isSame(a,i)||this.isBefore(a,i)}function diff(a,i,u){var c,d,m;if(!this.isValid())return NaN;if(c=cloneWithOffset(a,this),!c.isValid())return NaN;switch(d=(c.utcOffset()-this.utcOffset())*6e4,i=normalizeUnits(i),i){case"year":m=monthDiff(this,c)/12;break;case"month":m=monthDiff(this,c);break;case"quarter":m=monthDiff(this,c)/3;break;case"second":m=(this-c)/1e3;break;case"minute":m=(this-c)/6e4;break;case"hour":m=(this-c)/36e5;break;case"day":m=(this-c-d)/864e5;break;case"week":m=(this-c-d)/6048e5;break;default:m=this-c}return u?m:absFloor(m)}function monthDiff(a,i){if(a.date()<i.date())return-monthDiff(i,a);var u=(i.year()-a.year())*12+(i.month()-a.month()),c=a.clone().add(u,"months"),d,m;return i-c<0?(d=a.clone().add(u-1,"months"),m=(i-c)/(c-d)):(d=a.clone().add(u+1,"months"),m=(i-c)/(d-c)),-(u+m)||0}hooks.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";hooks.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function toString$a(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function toISOString(a){if(!this.isValid())return null;var i=a!==!0,u=i?this.clone().utc():this;return u.year()<0||u.year()>9999?formatMoment(u,i?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction$5(Date.prototype.toISOString)?i?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",formatMoment(u,"Z")):formatMoment(u,i?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function inspect(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",i="",u,c,d,m;return this.isLocal()||(a=this.utcOffset()===0?"moment.utc":"moment.parseZone",i="Z"),u="["+a+'("]',c=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",d="-MM-DD[T]HH:mm:ss.SSS",m=i+'[")]',this.format(u+c+d+m)}function format(a){a||(a=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat);var i=formatMoment(this,a);return this.localeData().postformat(i)}function from(a,i){return this.isValid()&&(isMoment(a)&&a.isValid()||createLocal(a).isValid())?createDuration({to:this,from:a}).locale(this.locale()).humanize(!i):this.localeData().invalidDate()}function fromNow(a){return this.from(createLocal(),a)}function to(a,i){return this.isValid()&&(isMoment(a)&&a.isValid()||createLocal(a).isValid())?createDuration({from:this,to:a}).locale(this.locale()).humanize(!i):this.localeData().invalidDate()}function toNow(a){return this.to(createLocal(),a)}function locale(a){var i;return a===void 0?this._locale._abbr:(i=getLocale(a),i!=null&&(this._locale=i),this)}var lang=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return a===void 0?this.localeData():this.locale(a)});function localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=(365*400+97)*24*MS_PER_HOUR;function mod$1(a,i){return(a%i+i)%i}function localStartOfDate(a,i,u){return a<100&&a>=0?new Date(a+400,i,u)-MS_PER_400_YEARS:new Date(a,i,u).valueOf()}function utcStartOfDate(a,i,u){return a<100&&a>=0?Date.UTC(a+400,i,u)-MS_PER_400_YEARS:Date.UTC(a,i,u)}function startOf(a){var i,u;if(a=normalizeUnits(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?utcStartOfDate:localStartOfDate,a){case"year":i=u(this.year(),0,1);break;case"quarter":i=u(this.year(),this.month()-this.month()%3,1);break;case"month":i=u(this.year(),this.month(),1);break;case"week":i=u(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":i=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":i=u(this.year(),this.month(),this.date());break;case"hour":i=this._d.valueOf(),i-=mod$1(i+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":i=this._d.valueOf(),i-=mod$1(i,MS_PER_MINUTE);break;case"second":i=this._d.valueOf(),i-=mod$1(i,MS_PER_SECOND);break}return this._d.setTime(i),hooks.updateOffset(this,!0),this}function endOf(a){var i,u;if(a=normalizeUnits(a),a===void 0||a==="millisecond"||!this.isValid())return this;switch(u=this._isUTC?utcStartOfDate:localStartOfDate,a){case"year":i=u(this.year()+1,0,1)-1;break;case"quarter":i=u(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":i=u(this.year(),this.month()+1,1)-1;break;case"week":i=u(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":i=u(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":i=u(this.year(),this.month(),this.date()+1)-1;break;case"hour":i=this._d.valueOf(),i+=MS_PER_HOUR-mod$1(i+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":i=this._d.valueOf(),i+=MS_PER_MINUTE-mod$1(i,MS_PER_MINUTE)-1;break;case"second":i=this._d.valueOf(),i+=MS_PER_SECOND-mod$1(i,MS_PER_SECOND)-1;break}return this._d.setTime(i),hooks.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function toObject(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend$1({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken("N",0,0,"eraAbbr");addFormatToken("NN",0,0,"eraAbbr");addFormatToken("NNN",0,0,"eraAbbr");addFormatToken("NNNN",0,0,"eraName");addFormatToken("NNNNN",0,0,"eraNarrow");addFormatToken("y",["y",1],"yo","eraYear");addFormatToken("y",["yy",2],0,"eraYear");addFormatToken("y",["yyy",3],0,"eraYear");addFormatToken("y",["yyyy",4],0,"eraYear");addRegexToken("N",matchEraAbbr);addRegexToken("NN",matchEraAbbr);addRegexToken("NNN",matchEraAbbr);addRegexToken("NNNN",matchEraName);addRegexToken("NNNNN",matchEraNarrow);addParseToken(["N","NN","NNN","NNNN","NNNNN"],function(a,i,u,c){var d=u._locale.erasParse(a,c,u._strict);d?getParsingFlags(u).era=d:getParsingFlags(u).invalidEra=a});addRegexToken("y",matchUnsigned);addRegexToken("yy",matchUnsigned);addRegexToken("yyy",matchUnsigned);addRegexToken("yyyy",matchUnsigned);addRegexToken("yo",matchEraYearOrdinal);addParseToken(["y","yy","yyy","yyyy"],YEAR);addParseToken(["yo"],function(a,i,u,c){var d;u._locale._eraYearOrdinalRegex&&(d=a.match(u._locale._eraYearOrdinalRegex)),u._locale.eraYearOrdinalParse?i[YEAR]=u._locale.eraYearOrdinalParse(a,d):i[YEAR]=parseInt(a,10)});function localeEras(a,i){var u,c,d,m=this._eras||getLocale("en")._eras;for(u=0,c=m.length;u<c;++u){switch(typeof m[u].since){case"string":d=hooks(m[u].since).startOf("day"),m[u].since=d.valueOf();break}switch(typeof m[u].until){case"undefined":m[u].until=1/0;break;case"string":d=hooks(m[u].until).startOf("day").valueOf(),m[u].until=d.valueOf();break}}return m}function localeErasParse(a,i,u){var c,d,m=this.eras(),f,v,g;for(a=a.toUpperCase(),c=0,d=m.length;c<d;++c)if(f=m[c].name.toUpperCase(),v=m[c].abbr.toUpperCase(),g=m[c].narrow.toUpperCase(),u)switch(i){case"N":case"NN":case"NNN":if(v===a)return m[c];break;case"NNNN":if(f===a)return m[c];break;case"NNNNN":if(g===a)return m[c];break}else if([f,v,g].indexOf(a)>=0)return m[c]}function localeErasConvertYear(a,i){var u=a.since<=a.until?1:-1;return i===void 0?hooks(a.since).year():hooks(a.since).year()+(i-a.offset)*u}function getEraName(){var a,i,u,c=this.localeData().eras();for(a=0,i=c.length;a<i;++a)if(u=this.clone().startOf("day").valueOf(),c[a].since<=u&&u<=c[a].until||c[a].until<=u&&u<=c[a].since)return c[a].name;return""}function getEraNarrow(){var a,i,u,c=this.localeData().eras();for(a=0,i=c.length;a<i;++a)if(u=this.clone().startOf("day").valueOf(),c[a].since<=u&&u<=c[a].until||c[a].until<=u&&u<=c[a].since)return c[a].narrow;return""}function getEraAbbr(){var a,i,u,c=this.localeData().eras();for(a=0,i=c.length;a<i;++a)if(u=this.clone().startOf("day").valueOf(),c[a].since<=u&&u<=c[a].until||c[a].until<=u&&u<=c[a].since)return c[a].abbr;return""}function getEraYear(){var a,i,u,c,d=this.localeData().eras();for(a=0,i=d.length;a<i;++a)if(u=d[a].since<=d[a].until?1:-1,c=this.clone().startOf("day").valueOf(),d[a].since<=c&&c<=d[a].until||d[a].until<=c&&c<=d[a].since)return(this.year()-hooks(d[a].since).year())*u+d[a].offset;return this.year()}function erasNameRegex(a){return hasOwnProp(this,"_erasNameRegex")||computeErasParse.call(this),a?this._erasNameRegex:this._erasRegex}function erasAbbrRegex(a){return hasOwnProp(this,"_erasAbbrRegex")||computeErasParse.call(this),a?this._erasAbbrRegex:this._erasRegex}function erasNarrowRegex(a){return hasOwnProp(this,"_erasNarrowRegex")||computeErasParse.call(this),a?this._erasNarrowRegex:this._erasRegex}function matchEraAbbr(a,i){return i.erasAbbrRegex(a)}function matchEraName(a,i){return i.erasNameRegex(a)}function matchEraNarrow(a,i){return i.erasNarrowRegex(a)}function matchEraYearOrdinal(a,i){return i._eraYearOrdinalRegex||matchUnsigned}function computeErasParse(){var a=[],i=[],u=[],c=[],d,m,f,v,g,y=this.eras();for(d=0,m=y.length;d<m;++d)f=regexEscape(y[d].name),v=regexEscape(y[d].abbr),g=regexEscape(y[d].narrow),i.push(f),a.push(v),u.push(g),c.push(f),c.push(v),c.push(g);this._erasRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+u.join("|")+")","i")}addFormatToken(0,["gg",2],0,function(){return this.weekYear()%100});addFormatToken(0,["GG",2],0,function(){return this.isoWeekYear()%100});function addWeekYearFormatToken(a,i){addFormatToken(0,[a,a.length],0,i)}addWeekYearFormatToken("gggg","weekYear");addWeekYearFormatToken("ggggg","weekYear");addWeekYearFormatToken("GGGG","isoWeekYear");addWeekYearFormatToken("GGGGG","isoWeekYear");addRegexToken("G",matchSigned);addRegexToken("g",matchSigned);addRegexToken("GG",match1to2,match2);addRegexToken("gg",match1to2,match2);addRegexToken("GGGG",match1to4,match4);addRegexToken("gggg",match1to4,match4);addRegexToken("GGGGG",match1to6,match6);addRegexToken("ggggg",match1to6,match6);addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],function(a,i,u,c){i[c.substr(0,2)]=toInt(a)});addWeekParseToken(["gg","GG"],function(a,i,u,c){i[c]=hooks.parseTwoDigitYear(a)});function getSetWeekYear(a){return getSetWeekYearHelper.call(this,a,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function getSetISOWeekYear(a){return getSetWeekYearHelper.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function getISOWeeksInYear(){return weeksInYear(this.year(),1,4)}function getISOWeeksInISOWeekYear(){return weeksInYear(this.isoWeekYear(),1,4)}function getWeeksInYear(){var a=this.localeData()._week;return weeksInYear(this.year(),a.dow,a.doy)}function getWeeksInWeekYear(){var a=this.localeData()._week;return weeksInYear(this.weekYear(),a.dow,a.doy)}function getSetWeekYearHelper(a,i,u,c,d){var m;return a==null?weekOfYear(this,c,d).year:(m=weeksInYear(a,c,d),i>m&&(i=m),setWeekAll.call(this,a,i,u,c,d))}function setWeekAll(a,i,u,c,d){var m=dayOfYearFromWeeks(a,i,u,c,d),f=createUTCDate(m.year,0,m.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}addFormatToken("Q",0,"Qo","quarter");addRegexToken("Q",match1);addParseToken("Q",function(a,i){i[MONTH]=(toInt(a)-1)*3});function getSetQuarter(a){return a==null?Math.ceil((this.month()+1)/3):this.month((a-1)*3+this.month()%3)}addFormatToken("D",["DD",2],"Do","date");addRegexToken("D",match1to2,match1to2NoLeadingZero);addRegexToken("DD",match1to2,match2);addRegexToken("Do",function(a,i){return a?i._dayOfMonthOrdinalParse||i._ordinalParse:i._dayOfMonthOrdinalParseLenient});addParseToken(["D","DD"],DATE);addParseToken("Do",function(a,i){i[DATE]=toInt(a.match(match1to2)[0])});var getSetDayOfMonth=makeGetSet("Date",!0);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear");addRegexToken("DDD",match1to3);addRegexToken("DDDD",match3);addParseToken(["DDD","DDDD"],function(a,i,u){u._dayOfYear=toInt(a)});function getSetDayOfYear(a){var i=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return a==null?i:this.add(a-i,"d")}addFormatToken("m",["mm",2],0,"minute");addRegexToken("m",match1to2,match1to2HasZero);addRegexToken("mm",match1to2,match2);addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second");addRegexToken("s",match1to2,match1to2HasZero);addRegexToken("ss",match1to2,match2);addParseToken(["s","ss"],SECOND);var getSetSecond=makeGetSet("Seconds",!1);addFormatToken("S",0,0,function(){return~~(this.millisecond()/100)});addFormatToken(0,["SS",2],0,function(){return~~(this.millisecond()/10)});addFormatToken(0,["SSS",3],0,"millisecond");addFormatToken(0,["SSSS",4],0,function(){return this.millisecond()*10});addFormatToken(0,["SSSSS",5],0,function(){return this.millisecond()*100});addFormatToken(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});addFormatToken(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});addFormatToken(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});addFormatToken(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});addRegexToken("S",match1to3,match1);addRegexToken("SS",match1to3,match2);addRegexToken("SSS",match1to3,match3);var token,getSetMillisecond;for(token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(a,i){i[MILLISECOND]=toInt(("0."+a)*1e3)}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);getSetMillisecond=makeGetSet("Milliseconds",!1);addFormatToken("z",0,0,"zoneAbbr");addFormatToken("zz",0,0,"zoneName");function getZoneAbbr(){return this._isUTC?"UTC":""}function getZoneName(){return this._isUTC?"Coordinated Universal Time":""}var proto=Moment.prototype;proto.add=add;proto.calendar=calendar$1;proto.clone=clone$2;proto.diff=diff;proto.endOf=endOf;proto.format=format;proto.from=from;proto.fromNow=fromNow;proto.to=to;proto.toNow=toNow;proto.get=stringGet;proto.invalidAt=invalidAt;proto.isAfter=isAfter;proto.isBefore=isBefore;proto.isBetween=isBetween$1;proto.isSame=isSame;proto.isSameOrAfter=isSameOrAfter;proto.isSameOrBefore=isSameOrBefore;proto.isValid=isValid$2;proto.lang=lang;proto.locale=locale;proto.localeData=localeData;proto.max=prototypeMax;proto.min=prototypeMin;proto.parsingFlags=parsingFlags;proto.set=stringSet;proto.startOf=startOf;proto.subtract=subtract;proto.toArray=toArray;proto.toObject=toObject;proto.toDate=toDate;proto.toISOString=toISOString;proto.inspect=inspect;typeof Symbol<"u"&&Symbol.for!=null&&(proto[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});proto.toJSON=toJSON;proto.toString=toString$a;proto.unix=unix;proto.valueOf=valueOf;proto.creationData=creationData;proto.eraName=getEraName;proto.eraNarrow=getEraNarrow;proto.eraAbbr=getEraAbbr;proto.eraYear=getEraYear;proto.year=getSetYear;proto.isLeapYear=getIsLeapYear;proto.weekYear=getSetWeekYear;proto.isoWeekYear=getSetISOWeekYear;proto.quarter=proto.quarters=getSetQuarter;proto.month=getSetMonth;proto.daysInMonth=getDaysInMonth;proto.week=proto.weeks=getSetWeek;proto.isoWeek=proto.isoWeeks=getSetISOWeek;proto.weeksInYear=getWeeksInYear;proto.weeksInWeekYear=getWeeksInWeekYear;proto.isoWeeksInYear=getISOWeeksInYear;proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear;proto.date=getSetDayOfMonth;proto.day=proto.days=getSetDayOfWeek;proto.weekday=getSetLocaleDayOfWeek;proto.isoWeekday=getSetISODayOfWeek;proto.dayOfYear=getSetDayOfYear;proto.hour=proto.hours=getSetHour;proto.minute=proto.minutes=getSetMinute;proto.second=proto.seconds=getSetSecond;proto.millisecond=proto.milliseconds=getSetMillisecond;proto.utcOffset=getSetOffset;proto.utc=setOffsetToUTC;proto.local=setOffsetToLocal;proto.parseZone=setOffsetToParsedOffset;proto.hasAlignedHourOffset=hasAlignedHourOffset;proto.isDST=isDaylightSavingTime;proto.isLocal=isLocal;proto.isUtcOffset=isUtcOffset;proto.isUtc=isUtc;proto.isUTC=isUtc;proto.zoneAbbr=getZoneAbbr;proto.zoneName=getZoneName;proto.dates=deprecate("dates accessor is deprecated. Use date instead.",getSetDayOfMonth);proto.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth);proto.years=deprecate("years accessor is deprecated. Use year instead",getSetYear);proto.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",getSetZone);proto.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",isDaylightSavingTimeShifted);function createUnix(a){return createLocal(a*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(a){return a}var proto$1=Locale.prototype;proto$1.calendar=calendar;proto$1.longDateFormat=longDateFormat;proto$1.invalidDate=invalidDate;proto$1.ordinal=ordinal;proto$1.preparse=preParsePostFormat;proto$1.postformat=preParsePostFormat;proto$1.relativeTime=relativeTime;proto$1.pastFuture=pastFuture;proto$1.set=set$1;proto$1.eras=localeEras;proto$1.erasParse=localeErasParse;proto$1.erasConvertYear=localeErasConvertYear;proto$1.erasAbbrRegex=erasAbbrRegex;proto$1.erasNameRegex=erasNameRegex;proto$1.erasNarrowRegex=erasNarrowRegex;proto$1.months=localeMonths;proto$1.monthsShort=localeMonthsShort;proto$1.monthsParse=localeMonthsParse;proto$1.monthsRegex=monthsRegex;proto$1.monthsShortRegex=monthsShortRegex;proto$1.week=localeWeek;proto$1.firstDayOfYear=localeFirstDayOfYear;proto$1.firstDayOfWeek=localeFirstDayOfWeek;proto$1.weekdays=localeWeekdays;proto$1.weekdaysMin=localeWeekdaysMin;proto$1.weekdaysShort=localeWeekdaysShort;proto$1.weekdaysParse=localeWeekdaysParse;proto$1.weekdaysRegex=weekdaysRegex;proto$1.weekdaysShortRegex=weekdaysShortRegex;proto$1.weekdaysMinRegex=weekdaysMinRegex;proto$1.isPM=localeIsPM;proto$1.meridiem=localeMeridiem;function get$1$1(a,i,u,c){var d=getLocale(),m=createUTC().set(c,i);return d[u](m,a)}function listMonthsImpl(a,i,u){if(isNumber(a)&&(i=a,a=void 0),a=a||"",i!=null)return get$1$1(a,i,u,"month");var c,d=[];for(c=0;c<12;c++)d[c]=get$1$1(a,c,u,"month");return d}function listWeekdaysImpl(a,i,u,c){typeof a=="boolean"?(isNumber(i)&&(u=i,i=void 0),i=i||""):(i=a,u=i,a=!1,isNumber(i)&&(u=i,i=void 0),i=i||"");var d=getLocale(),m=a?d._week.dow:0,f,v=[];if(u!=null)return get$1$1(i,(u+m)%7,c,"day");for(f=0;f<7;f++)v[f]=get$1$1(i,(f+m)%7,c,"day");return v}function listMonths(a,i){return listMonthsImpl(a,i,"months")}function listMonthsShort(a,i){return listMonthsImpl(a,i,"monthsShort")}function listWeekdays(a,i,u){return listWeekdaysImpl(a,i,u,"weekdays")}function listWeekdaysShort(a,i,u){return listWeekdaysImpl(a,i,u,"weekdaysShort")}function listWeekdaysMin(a,i,u){return listWeekdaysImpl(a,i,u,"weekdaysMin")}getSetGlobalLocale("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var i=a%10,u=toInt(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+u}});hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale);hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function abs(){var a=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),a.milliseconds=mathAbs(a.milliseconds),a.seconds=mathAbs(a.seconds),a.minutes=mathAbs(a.minutes),a.hours=mathAbs(a.hours),a.months=mathAbs(a.months),a.years=mathAbs(a.years),this}function addSubtract$1(a,i,u,c){var d=createDuration(i,u);return a._milliseconds+=c*d._milliseconds,a._days+=c*d._days,a._months+=c*d._months,a._bubble()}function add$1(a,i){return addSubtract$1(this,a,i,1)}function subtract$1(a,i){return addSubtract$1(this,a,i,-1)}function absCeil(a){return a<0?Math.floor(a):Math.ceil(a)}function bubble(){var a=this._milliseconds,i=this._days,u=this._months,c=this._data,d,m,f,v,g;return a>=0&&i>=0&&u>=0||a<=0&&i<=0&&u<=0||(a+=absCeil(monthsToDays(u)+i)*864e5,i=0,u=0),c.milliseconds=a%1e3,d=absFloor(a/1e3),c.seconds=d%60,m=absFloor(d/60),c.minutes=m%60,f=absFloor(m/60),c.hours=f%24,i+=absFloor(f/24),g=absFloor(daysToMonths(i)),u+=g,i-=absCeil(monthsToDays(g)),v=absFloor(u/12),u%=12,c.days=i,c.months=u,c.years=v,this}function daysToMonths(a){return a*4800/146097}function monthsToDays(a){return a*146097/4800}function as(a){if(!this.isValid())return NaN;var i,u,c=this._milliseconds;if(a=normalizeUnits(a),a==="month"||a==="quarter"||a==="year")switch(i=this._days+c/864e5,u=this._months+daysToMonths(i),a){case"month":return u;case"quarter":return u/3;case"year":return u/12}else switch(i=this._days+Math.round(monthsToDays(this._months)),a){case"week":return i/7+c/6048e5;case"day":return i+c/864e5;case"hour":return i*24+c/36e5;case"minute":return i*1440+c/6e4;case"second":return i*86400+c/1e3;case"millisecond":return Math.floor(i*864e5)+c;default:throw new Error("Unknown unit "+a)}}function makeAs(a){return function(){return this.as(a)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y"),valueOf$1=asMilliseconds;function clone$1$1(){return createDuration(this)}function get$2$1(a){return a=normalizeUnits(a),this.isValid()?this[a+"s"]():NaN}function makeGetter(a){return function(){return this.isValid()?this._data[a]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years");function weeks(){return absFloor(this.days()/7)}var round$1=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(a,i,u,c,d){return d.relativeTime(i||1,!!u,a,c)}function relativeTime$1(a,i,u,c){var d=createDuration(a).abs(),m=round$1(d.as("s")),f=round$1(d.as("m")),v=round$1(d.as("h")),g=round$1(d.as("d")),y=round$1(d.as("M")),b=round$1(d.as("w")),w=round$1(d.as("y")),k=m<=u.ss&&["s",m]||m<u.s&&["ss",m]||f<=1&&["m"]||f<u.m&&["mm",f]||v<=1&&["h"]||v<u.h&&["hh",v]||g<=1&&["d"]||g<u.d&&["dd",g];return u.w!=null&&(k=k||b<=1&&["w"]||b<u.w&&["ww",b]),k=k||y<=1&&["M"]||y<u.M&&["MM",y]||w<=1&&["y"]||["yy",w],k[2]=i,k[3]=+a>0,k[4]=c,substituteTimeAgo.apply(null,k)}function getSetRelativeTimeRounding(a){return a===void 0?round$1:typeof a=="function"?(round$1=a,!0):!1}function getSetRelativeTimeThreshold(a,i){return thresholds[a]===void 0?!1:i===void 0?thresholds[a]:(thresholds[a]=i,a==="s"&&(thresholds.ss=i-1),!0)}function humanize(a,i){if(!this.isValid())return this.localeData().invalidDate();var u=!1,c=thresholds,d,m;return typeof a=="object"&&(i=a,a=!1),typeof a=="boolean"&&(u=a),typeof i=="object"&&(c=Object.assign({},thresholds,i),i.s!=null&&i.ss==null&&(c.ss=i.s-1)),d=this.localeData(),m=relativeTime$1(this,!u,c,d),u&&(m=d.pastFuture(+this,m)),d.postformat(m)}var abs$1=Math.abs;function sign(a){return(a>0)-(a<0)||+a}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var a=abs$1(this._milliseconds)/1e3,i=abs$1(this._days),u=abs$1(this._months),c,d,m,f,v=this.asSeconds(),g,y,b,w;return v?(c=absFloor(a/60),d=absFloor(c/60),a%=60,c%=60,m=absFloor(u/12),u%=12,f=a?a.toFixed(3).replace(/\.?0+$/,""):"",g=v<0?"-":"",y=sign(this._months)!==sign(v)?"-":"",b=sign(this._days)!==sign(v)?"-":"",w=sign(this._milliseconds)!==sign(v)?"-":"",g+"P"+(m?y+m+"Y":"")+(u?y+u+"M":"")+(i?b+i+"D":"")+(d||c||a?"T":"")+(d?w+d+"H":"")+(c?w+c+"M":"")+(a?w+f+"S":"")):"P0D"}var proto$2=Duration.prototype;proto$2.isValid=isValid$1;proto$2.abs=abs;proto$2.add=add$1;proto$2.subtract=subtract$1;proto$2.as=as;proto$2.asMilliseconds=asMilliseconds;proto$2.asSeconds=asSeconds;proto$2.asMinutes=asMinutes;proto$2.asHours=asHours;proto$2.asDays=asDays;proto$2.asWeeks=asWeeks;proto$2.asMonths=asMonths;proto$2.asQuarters=asQuarters;proto$2.asYears=asYears;proto$2.valueOf=valueOf$1;proto$2._bubble=bubble;proto$2.clone=clone$1$1;proto$2.get=get$2$1;proto$2.milliseconds=milliseconds;proto$2.seconds=seconds;proto$2.minutes=minutes;proto$2.hours=hours;proto$2.days=days;proto$2.weeks=weeks;proto$2.months=months;proto$2.years=years;proto$2.humanize=humanize;proto$2.toISOString=toISOString$1;proto$2.toString=toISOString$1;proto$2.toJSON=toISOString$1;proto$2.locale=locale;proto$2.localeData=localeData;proto$2.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1);proto$2.lang=lang;addFormatToken("X",0,0,"unix");addFormatToken("x",0,0,"valueOf");addRegexToken("x",matchSigned);addRegexToken("X",matchTimestamp);addParseToken("X",function(a,i,u){u._d=new Date(parseFloat(a)*1e3)});addParseToken("x",function(a,i,u){u._d=new Date(toInt(a))});//! moment.js
hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=proto;hooks.min=min$3;hooks.max=max$2;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=proto;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};/*!
* Vueform v1.9.2 (https://github.com/vueform/vueform)
* Copyright (c) 2024 Adam Berecz <adam@vueform.com>
* Licensed under the MIT License
*/function ownKeys$1(a,i){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);i&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,c)}return u}function _objectSpread2$1(a){for(var i=1;i<arguments.length;i++){var u=arguments[i]!=null?arguments[i]:{};i%2?ownKeys$1(Object(u),!0).forEach(function(c){_defineProperty$2(a,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):ownKeys$1(Object(u)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(u,c))})}return a}function _toPrimitive(a,i){if(typeof a!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,i||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function _toPropertyKey(a){var i=_toPrimitive(a,"string");return typeof i=="symbol"?i:String(i)}function asyncGeneratorStep(a,i,u,c,d,m,f){try{var v=a[m](f),g=v.value}catch(y){u(y);return}v.done?i(g):Promise.resolve(g).then(c,d)}function _asyncToGenerator(a){return function(){var i=this,u=arguments;return new Promise(function(c,d){var m=a.apply(i,u);function f(g){asyncGeneratorStep(m,c,d,f,v,"next",g)}function v(g){asyncGeneratorStep(m,c,d,f,v,"throw",g)}f(void 0)})}}function _defineProperty$2(a,i,u){return i=_toPropertyKey(i),i in a?Object.defineProperty(a,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[i]=u,a}var commonjsGlobal$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var each$1={exports:{}};function arrayEach$2(a,i){for(var u=-1,c=a==null?0:a.length;++u<c&&i(a[u],u,a)!==!1;);return a}var _arrayEach=arrayEach$2;function createBaseFor$1(a){return function(i,u,c){for(var d=-1,m=Object(i),f=c(i),v=f.length;v--;){var g=f[a?v:++d];if(u(m[g],g,m)===!1)break}return i}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$2=createBaseFor(),_baseFor=baseFor$2;function baseTimes$1(a,i){for(var u=-1,c=Array(a);++u<a;)c[u]=i(u);return c}var _baseTimes=baseTimes$1,freeGlobal$1=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$8=freeGlobal||freeSelf||Function("return this")(),_root=root$8,root$7=_root,Symbol$7=root$7.Symbol,_Symbol=Symbol$7,Symbol$6=_Symbol,objectProto$g=Object.prototype,hasOwnProperty$e=objectProto$g.hasOwnProperty,nativeObjectToString$1=objectProto$g.toString,symToStringTag$1=Symbol$6?Symbol$6.toStringTag:void 0;function getRawTag$1(a){var i=hasOwnProperty$e.call(a,symToStringTag$1),u=a[symToStringTag$1];try{a[symToStringTag$1]=void 0;var c=!0}catch{}var d=nativeObjectToString$1.call(a);return c&&(i?a[symToStringTag$1]=u:delete a[symToStringTag$1]),d}var _getRawTag=getRawTag$1,objectProto$f=Object.prototype,nativeObjectToString=objectProto$f.toString;function objectToString$1(a){return nativeObjectToString.call(a)}var _objectToString=objectToString$1,Symbol$5=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$5?Symbol$5.toStringTag:void 0;function baseGetTag$7(a){return a==null?a===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(a)?getRawTag(a):objectToString(a)}var _baseGetTag=baseGetTag$7;function isObjectLike$a(a){return a!=null&&typeof a=="object"}var isObjectLike_1=isObjectLike$a,baseGetTag$6=_baseGetTag,isObjectLike$9=isObjectLike_1,argsTag$3="[object Arguments]";function baseIsArguments$1(a){return isObjectLike$9(a)&&baseGetTag$6(a)==argsTag$3}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$8=isObjectLike_1,objectProto$e=Object.prototype,hasOwnProperty$d=objectProto$e.hasOwnProperty,propertyIsEnumerable$1=objectProto$e.propertyIsEnumerable,isArguments$5=baseIsArguments(function(){return arguments}())?baseIsArguments:function(a){return isObjectLike$8(a)&&hasOwnProperty$d.call(a,"callee")&&!propertyIsEnumerable$1.call(a,"callee")},isArguments_1=isArguments$5,isArray$k=Array.isArray,isArray_1=isArray$k,isBuffer$6={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;(function(a,i){var u=_root,c=stubFalse_1,d=i&&!i.nodeType&&i,m=d&&!0&&a&&!a.nodeType&&a,f=m&&m.exports===d,v=f?u.Buffer:void 0,g=v?v.isBuffer:void 0,y=g||c;a.exports=y})(isBuffer$6,isBuffer$6.exports);var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$4(a,i){var u=typeof a;return i=i??MAX_SAFE_INTEGER$1,!!i&&(u=="number"||u!="symbol"&&reIsUint.test(a))&&a>-1&&a%1==0&&a<i}var _isIndex=isIndex$4,MAX_SAFE_INTEGER=9007199254740991;function isLength$3(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=MAX_SAFE_INTEGER}var isLength_1=isLength$3,baseGetTag$5=_baseGetTag,isLength$2=isLength_1,isObjectLike$7=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$2="[object Function]",mapTag$6="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$4="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$2]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$4]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(a){return isObjectLike$7(a)&&isLength$2(a.length)&&!!typedArrayTags[baseGetTag$5(a)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$5(a){return function(i){return a(i)}}var _baseUnary=baseUnary$5,_nodeUtil={exports:{}};(function(a,i){var u=_freeGlobal,c=i&&!i.nodeType&&i,d=c&&!0&&a&&!a.nodeType&&a,m=d&&d.exports===c,f=m&&u.process,v=function(){try{var g=d&&d.require&&d.require("util").types;return g||f&&f.binding&&f.binding("util")}catch{}}();a.exports=v})(_nodeUtil,_nodeUtil.exports);var baseIsTypedArray=_baseIsTypedArray,baseUnary$4=_baseUnary,nodeUtil$2=_nodeUtil.exports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$4=nodeIsTypedArray?baseUnary$4(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$4,baseTimes=_baseTimes,isArguments$4=isArguments_1,isArray$j=isArray_1,isBuffer$5=isBuffer$6.exports,isIndex$3=_isIndex,isTypedArray$3=isTypedArray_1,objectProto$d=Object.prototype,hasOwnProperty$c=objectProto$d.hasOwnProperty;function arrayLikeKeys$2(a,i){var u=isArray$j(a),c=!u&&isArguments$4(a),d=!u&&!c&&isBuffer$5(a),m=!u&&!c&&!d&&isTypedArray$3(a),f=u||c||d||m,v=f?baseTimes(a.length,String):[],g=v.length;for(var y in a)(i||hasOwnProperty$c.call(a,y))&&!(f&&(y=="length"||d&&(y=="offset"||y=="parent")||m&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||isIndex$3(y,g)))&&v.push(y);return v}var _arrayLikeKeys=arrayLikeKeys$2,objectProto$c=Object.prototype;function isPrototype$4(a){var i=a&&a.constructor,u=typeof i=="function"&&i.prototype||objectProto$c;return a===u}var _isPrototype=isPrototype$4;function overArg$2(a,i){return function(u){return a(i(u))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$3=_isPrototype,nativeKeys=_nativeKeys,objectProto$b=Object.prototype,hasOwnProperty$b=objectProto$b.hasOwnProperty;function baseKeys$2(a){if(!isPrototype$3(a))return nativeKeys(a);var i=[];for(var u in Object(a))hasOwnProperty$b.call(a,u)&&u!="constructor"&&i.push(u);return i}var _baseKeys=baseKeys$2;function isObject$b(a){var i=typeof a;return a!=null&&(i=="object"||i=="function")}var isObject_1=isObject$b,baseGetTag$4=_baseGetTag,isObject$a=isObject_1,asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$4(a){if(!isObject$a(a))return!1;var i=baseGetTag$4(a);return i==funcTag$1||i==genTag$1||i==asyncTag||i==proxyTag}var isFunction_1=isFunction$4,isFunction$3=isFunction_1,isLength$1=isLength_1;function isArrayLike$9(a){return a!=null&&isLength$1(a.length)&&!isFunction$3(a)}var isArrayLike_1=isArrayLike$9,arrayLikeKeys$1=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$8=isArrayLike_1;function keys$7(a){return isArrayLike$8(a)?arrayLikeKeys$1(a):baseKeys$1(a)}var keys_1=keys$7,baseFor$1=_baseFor,keys$6=keys_1;function baseForOwn$2(a,i){return a&&baseFor$1(a,i,keys$6)}var _baseForOwn=baseForOwn$2,isArrayLike$7=isArrayLike_1;function createBaseEach$1(a,i){return function(u,c){if(u==null)return u;if(!isArrayLike$7(u))return a(u,c);for(var d=u.length,m=i?d:-1,f=Object(u);(i?m--:++m<d)&&c(f[m],m,f)!==!1;);return u}}var _createBaseEach=createBaseEach$1,baseForOwn$1=_baseForOwn,createBaseEach=_createBaseEach,baseEach$5=createBaseEach(baseForOwn$1),_baseEach=baseEach$5;function identity$5(a){return a}var identity_1=identity$5,identity$4=identity_1;function castFunction$1(a){return typeof a=="function"?a:identity$4}var _castFunction=castFunction$1,arrayEach$1=_arrayEach,baseEach$4=_baseEach,castFunction=_castFunction,isArray$i=isArray_1;function forEach(a,i){var u=isArray$i(a)?arrayEach$1:baseEach$4;return u(a,castFunction(i))}var forEach_1=forEach;(function(a){a.exports=forEach_1})(each$1);var each=getDefaultExportFromCjs(each$1.exports);function listCacheClear$1(){this.__data__=[],this.size=0}var _listCacheClear=listCacheClear$1;function eq$5(a,i){return a===i||a!==a&&i!==i}var eq_1=eq$5,eq$4=eq_1;function assocIndexOf$4(a,i){for(var u=a.length;u--;)if(eq$4(a[u][0],i))return u;return-1}var _assocIndexOf=assocIndexOf$4,assocIndexOf$3=_assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete$1(a){var i=this.__data__,u=assocIndexOf$3(i,a);if(u<0)return!1;var c=i.length-1;return u==c?i.pop():splice.call(i,u,1),--this.size,!0}var _listCacheDelete=listCacheDelete$1,assocIndexOf$2=_assocIndexOf;function listCacheGet$1(a){var i=this.__data__,u=assocIndexOf$2(i,a);return u<0?void 0:i[u][1]}var _listCacheGet=listCacheGet$1,assocIndexOf$1=_assocIndexOf;function listCacheHas$1(a){return assocIndexOf$1(this.__data__,a)>-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(a,i){var u=this.__data__,c=assocIndexOf(u,a);return c<0?(++this.size,u.push([a,i])):u[c][1]=i,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(a){var i=-1,u=a==null?0:a.length;for(this.clear();++i<u;){var c=a[i];this.set(c[0],c[1])}}ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype.delete=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4,ListCache$3=_ListCache;function stackClear$1(){this.__data__=new ListCache$3,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(a){var i=this.__data__,u=i.delete(a);return this.size=i.size,u}var _stackDelete=stackDelete$1;function stackGet$1(a){return this.__data__.get(a)}var _stackGet=stackGet$1;function stackHas$1(a){return this.__data__.has(a)}var _stackHas=stackHas$1,root$6=_root,coreJsData$1=root$6["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var a=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function isMasked$1(a){return!!maskSrcKey&&maskSrcKey in a}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(a){if(a!=null){try{return funcToString$2.call(a)}catch{}try{return a+""}catch{}}return""}var _toSource=toSource$2,isFunction$2=isFunction_1,isMasked=_isMasked,isObject$9=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$a=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(a){if(!isObject$9(a)||isMasked(a))return!1;var i=isFunction$2(a)?reIsNative:reIsHostCtor;return i.test(toSource$1(a))}var _baseIsNative=baseIsNative$1;function getValue$1(a,i){return a==null?void 0:a[i]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$7(a,i){var u=getValue(a,i);return baseIsNative(u)?u:void 0}var _getNative=getNative$7,getNative$6=_getNative,root$5=_root,Map$4=getNative$6(root$5,"Map"),_Map=Map$4,getNative$5=_getNative,nativeCreate$4=getNative$5(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(a){var i=this.has(a)&&delete this.__data__[a];return this.size-=i?1:0,i}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$9=objectProto$9.hasOwnProperty;function hashGet$1(a){var i=this.__data__;if(nativeCreate$2){var u=i[a];return u===HASH_UNDEFINED$2?void 0:u}return hasOwnProperty$9.call(i,a)?i[a]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$8=Object.prototype,hasOwnProperty$8=objectProto$8.hasOwnProperty;function hashHas$1(a){var i=this.__data__;return nativeCreate$1?i[a]!==void 0:hasOwnProperty$8.call(i,a)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(a,i){var u=this.__data__;return this.size+=this.has(a)?0:1,u[a]=nativeCreate&&i===void 0?HASH_UNDEFINED$1:i,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(a){var i=-1,u=a==null?0:a.length;for(this.clear();++i<u;){var c=a[i];this.set(c[0],c[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1,Hash=_Hash,ListCache$2=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$2),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(a){var i=typeof a;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?a!=="__proto__":a===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(a,i){var u=a.__data__;return isKeyable(i)?u[typeof i=="string"?"string":"hash"]:u.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(a){var i=getMapData$3(this,a).delete(a);return this.size-=i?1:0,i}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(a){return getMapData$2(this,a).get(a)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(a){return getMapData$1(this,a).has(a)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(a,i){var u=getMapData(this,a),c=u.size;return u.set(a,i),this.size+=u.size==c?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$3(a){var i=-1,u=a==null?0:a.length;for(this.clear();++i<u;){var c=a[i];this.set(c[0],c[1])}}MapCache$3.prototype.clear=mapCacheClear;MapCache$3.prototype.delete=mapCacheDelete;MapCache$3.prototype.get=mapCacheGet;MapCache$3.prototype.has=mapCacheHas;MapCache$3.prototype.set=mapCacheSet;var _MapCache=MapCache$3,ListCache$1=_ListCache,Map$2=_Map,MapCache$2=_MapCache,LARGE_ARRAY_SIZE$2=200;function stackSet$1(a,i){var u=this.__data__;if(u instanceof ListCache$1){var c=u.__data__;if(!Map$2||c.length<LARGE_ARRAY_SIZE$2-1)return c.push([a,i]),this.size=++u.size,this;u=this.__data__=new MapCache$2(c)}return u.set(a,i),this.size=u.size,this}var _stackSet=stackSet$1,ListCache=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(a){var i=this.__data__=new ListCache(a);this.size=i.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,getNative$4=_getNative,defineProperty$2=function(){try{var a=getNative$4(Object,"defineProperty");return a({},"",{}),a}catch{}}(),_defineProperty$1=defineProperty$2,defineProperty$1=_defineProperty$1;function baseAssignValue$4(a,i,u){i=="__proto__"&&defineProperty$1?defineProperty$1(a,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):a[i]=u}var _baseAssignValue=baseAssignValue$4,baseAssignValue$3=_baseAssignValue,eq$3=eq_1;function assignMergeValue$2(a,i,u){(u!==void 0&&!eq$3(a[i],u)||u===void 0&&!(i in a))&&baseAssignValue$3(a,i,u)}var _assignMergeValue=assignMergeValue$2,_cloneBuffer={exports:{}};(function(a,i){var u=_root,c=i&&!i.nodeType&&i,d=c&&!0&&a&&!a.nodeType&&a,m=d&&d.exports===c,f=m?u.Buffer:void 0,v=f?f.allocUnsafe:void 0;function g(y,b){if(b)return y.slice();var w=y.length,k=v?v(w):new y.constructor(w);return y.copy(k),k}a.exports=g})(_cloneBuffer,_cloneBuffer.exports);var root$4=_root,Uint8Array$2=root$4.Uint8Array,_Uint8Array=Uint8Array$2,Uint8Array$1=_Uint8Array;function cloneArrayBuffer$3(a){var i=new a.constructor(a.byteLength);return new Uint8Array$1(i).set(new Uint8Array$1(a)),i}var _cloneArrayBuffer=cloneArrayBuffer$3,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(a,i){var u=i?cloneArrayBuffer$2(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$3(a,i){var u=-1,c=a.length;for(i||(i=Array(c));++u<c;)i[u]=a[u];return i}var _copyArray=copyArray$3,isObject$8=isObject_1,objectCreate=Object.create,baseCreate$1=function(){function a(){}return function(i){if(!isObject$8(i))return{};if(objectCreate)return objectCreate(i);a.prototype=i;var u=new a;return a.prototype=void 0,u}}(),_baseCreate=baseCreate$1,overArg=_overArg,getPrototype$3=overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype$3,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$2=_isPrototype;function initCloneObject$2(a){return typeof a.constructor=="function"&&!isPrototype$2(a)?baseCreate(getPrototype$2(a)):{}}var _initCloneObject=initCloneObject$2,isArrayLike$6=isArrayLike_1,isObjectLike$6=isObjectLike_1;function isArrayLikeObject$4(a){return isObjectLike$6(a)&&isArrayLike$6(a)}var isArrayLikeObject_1=isArrayLikeObject$4,baseGetTag$3=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$5=isObjectLike_1,objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$7=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$7=objectProto$7.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(a){if(!isObjectLike$5(a)||baseGetTag$3(a)!=objectTag$3)return!1;var i=getPrototype$1(a);if(i===null)return!0;var u=hasOwnProperty$7.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&funcToString.call(u)==objectCtorString}var isPlainObject_1=isPlainObject$2;function safeGet$2(a,i){if(!(i==="constructor"&&typeof a[i]=="function")&&i!="__proto__")return a[i]}var _safeGet=safeGet$2,baseAssignValue$2=_baseAssignValue,eq$2=eq_1,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function assignValue$3(a,i,u){var c=a[i];(!(hasOwnProperty$6.call(a,i)&&eq$2(c,u))||u===void 0&&!(i in a))&&baseAssignValue$2(a,i,u)}var _assignValue=assignValue$3,assignValue$2=_assignValue,baseAssignValue$1=_baseAssignValue;function copyObject$6(a,i,u,c){var d=!u;u||(u={});for(var m=-1,f=i.length;++m<f;){var v=i[m],g=c?c(u[v],a[v],v,u,a):void 0;g===void 0&&(g=a[v]),d?baseAssignValue$1(u,v,g):assignValue$2(u,v,g)}return u}var _copyObject=copyObject$6;function nativeKeysIn$1(a){var i=[];if(a!=null)for(var u in Object(a))i.push(u);return i}var _nativeKeysIn=nativeKeysIn$1,isObject$7=isObject_1,isPrototype$1=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function baseKeysIn$1(a){if(!isObject$7(a))return nativeKeysIn(a);var i=isPrototype$1(a),u=[];for(var c in a)c=="constructor"&&(i||!hasOwnProperty$5.call(a,c))||u.push(c);return u}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$5=isArrayLike_1;function keysIn$5(a){return isArrayLike$5(a)?arrayLikeKeys(a,!0):baseKeysIn(a)}var keysIn_1=keysIn$5,copyObject$5=_copyObject,keysIn$4=keysIn_1;function toPlainObject$1(a){return copyObject$5(a,keysIn$4(a))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBuffer.exports,cloneTypedArray$1=_cloneTypedArray,copyArray$2=_copyArray,initCloneObject$1=_initCloneObject,isArguments$3=isArguments_1,isArray$h=isArray_1,isArrayLikeObject$3=isArrayLikeObject_1,isBuffer$4=isBuffer$6.exports,isFunction$1=isFunction_1,isObject$6=isObject_1,isPlainObject$1=isPlainObject_1,isTypedArray$2=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(a,i,u,c,d,m,f){var v=safeGet$1(a,u),g=safeGet$1(i,u),y=f.get(g);if(y){assignMergeValue$1(a,u,y);return}var b=m?m(v,g,u+"",a,i,f):void 0,w=b===void 0;if(w){var k=isArray$h(g),$=!k&&isBuffer$4(g),S=!k&&!$&&isTypedArray$2(g);b=g,k||$||S?isArray$h(v)?b=v:isArrayLikeObject$3(v)?b=copyArray$2(v):$?(w=!1,b=cloneBuffer$1(g,!0)):S?(w=!1,b=cloneTypedArray$1(g,!0)):b=[]:isPlainObject$1(g)||isArguments$3(g)?(b=v,isArguments$3(v)?b=toPlainObject(v):(!isObject$6(v)||isFunction$1(v))&&(b=initCloneObject$1(g))):w=!1}w&&(f.set(g,b),d(b,g,c,m,f),f.delete(g)),assignMergeValue$1(a,u,b)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$5=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$1(a,i,u,c,d){a!==i&&baseFor(i,function(m,f){if(d||(d=new Stack$3),isObject$5(m))baseMergeDeep(a,i,f,u,baseMerge$1,c,d);else{var v=c?c(safeGet(a,f),m,f+"",a,i,d):void 0;v===void 0&&(v=m),assignMergeValue(a,f,v)}},keysIn$3)}var _baseMerge=baseMerge$1;function apply$1(a,i,u){switch(u.length){case 0:return a.call(i);case 1:return a.call(i,u[0]);case 2:return a.call(i,u[0],u[1]);case 3:return a.call(i,u[0],u[1],u[2])}return a.apply(i,u)}var _apply=apply$1,apply=_apply,nativeMax$3=Math.max;function overRest$2(a,i,u){return i=nativeMax$3(i===void 0?a.length-1:i,0),function(){for(var c=arguments,d=-1,m=nativeMax$3(c.length-i,0),f=Array(m);++d<m;)f[d]=c[i+d];d=-1;for(var v=Array(i+1);++d<i;)v[d]=c[d];return v[i]=u(f),apply(a,this,v)}}var _overRest=overRest$2;function constant$1(a){return function(){return a}}var constant_1=constant$1,constant=constant_1,defineProperty=_defineProperty$1,identity$3=identity_1,baseSetToString$1=defineProperty?function(a,i){return defineProperty(a,"toString",{configurable:!0,enumerable:!1,value:constant(i),writable:!0})}:identity$3,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(a){var i=0,u=0;return function(){var c=nativeNow(),d=HOT_SPAN-(c-u);if(u=c,d>0){if(++i>=HOT_COUNT)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2,identity$2=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$5(a,i){return setToString$1(overRest$1(a,i,identity$2),a+"")}var _baseRest=baseRest$5,eq$1=eq_1,isArrayLike$4=isArrayLike_1,isIndex$2=_isIndex,isObject$4=isObject_1;function isIterateeCall$3(a,i,u){if(!isObject$4(u))return!1;var c=typeof i;return(c=="number"?isArrayLike$4(u)&&isIndex$2(i,u.length):c=="string"&&i in u)?eq$1(u[i],a):!1}var _isIterateeCall=isIterateeCall$3,baseRest$4=_baseRest,isIterateeCall$2=_isIterateeCall;function createAssigner$1(a){return baseRest$4(function(i,u){var c=-1,d=u.length,m=d>1?u[d-1]:void 0,f=d>2?u[2]:void 0;for(m=a.length>3&&typeof m=="function"?(d--,m):void 0,f&&isIterateeCall$2(u[0],u[1],f)&&(m=d<3?void 0:m,d=1),i=Object(i);++c<d;){var v=u[c];v&&a(i,v,c,m)}return i})}var _createAssigner=createAssigner$1,baseMerge=_baseMerge,createAssigner=_createAssigner,merge=createAssigner(function(a,i,u){baseMerge(a,i,u)}),merge_1=merge;function arraySome$2(a,i){for(var u=-1,c=a==null?0:a.length;++u<c;)if(i(a[u],u,a))return!0;return!1}var _arraySome=arraySome$2,HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd$1(a){return this.__data__.set(a,HASH_UNDEFINED),this}var _setCacheAdd=setCacheAdd$1;function setCacheHas$1(a){return this.__data__.has(a)}var _setCacheHas=setCacheHas$1,MapCache$1=_MapCache,setCacheAdd=_setCacheAdd,setCacheHas=_setCacheHas;function SetCache$3(a){var i=-1,u=a==null?0:a.length;for(this.__data__=new MapCache$1;++i<u;)this.add(a[i])}SetCache$3.prototype.add=SetCache$3.prototype.push=setCacheAdd;SetCache$3.prototype.has=setCacheHas;var _SetCache=SetCache$3;function cacheHas$3(a,i){return a.has(i)}var _cacheHas=cacheHas$3,SetCache$2=_SetCache,arraySome$1=_arraySome,cacheHas$2=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(a,i,u,c,d,m){var f=u&COMPARE_PARTIAL_FLAG$5,v=a.length,g=i.length;if(v!=g&&!(f&&g>v))return!1;var y=m.get(a),b=m.get(i);if(y&&b)return y==i&&b==a;var w=-1,k=!0,$=u&COMPARE_UNORDERED_FLAG$3?new SetCache$2:void 0;for(m.set(a,i),m.set(i,a);++w<v;){var S=a[w],C=i[w];if(c)var E=f?c(C,S,w,i,a,m):c(S,C,w,a,i,m);if(E!==void 0){if(E)continue;k=!1;break}if($){if(!arraySome$1(i,function(D,A){if(!cacheHas$2($,A)&&(S===D||d(S,D,u,c,m)))return $.push(A)})){k=!1;break}}else if(!(S===C||d(S,C,u,c,m))){k=!1;break}}return m.delete(a),m.delete(i),k}var _equalArrays=equalArrays$2;function mapToArray$1(a){var i=-1,u=Array(a.size);return a.forEach(function(c,d){u[++i]=[d,c]}),u}var _mapToArray=mapToArray$1;function setToArray$3(a){var i=-1,u=Array(a.size);return a.forEach(function(c){u[++i]=c}),u}var _setToArray=setToArray$3,Symbol$4=_Symbol,Uint8Array$3=_Uint8Array,eq=eq_1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$1="[object Error]",mapTag$5="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",symbolTag$3="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",symbolProto$2=Symbol$4?Symbol$4.prototype:void 0,symbolValueOf$1=symbolProto$2?symbolProto$2.valueOf:void 0;function equalByTag$1(a,i,u,c,d,m,f){switch(u){case dataViewTag$3:if(a.byteLength!=i.byteLength||a.byteOffset!=i.byteOffset)return!1;a=a.buffer,i=i.buffer;case arrayBufferTag$2:return!(a.byteLength!=i.byteLength||!m(new Uint8Array$3(a),new Uint8Array$3(i)));case boolTag$2:case dateTag$2:case numberTag$2:return eq(+a,+i);case errorTag$1:return a.name==i.name&&a.message==i.message;case regexpTag$2:case stringTag$3:return a==i+"";case mapTag$5:var v=mapToArray;case setTag$5:var g=c&COMPARE_PARTIAL_FLAG$4;if(v||(v=setToArray$2),a.size!=i.size&&!g)return!1;var y=f.get(a);if(y)return y==i;c|=COMPARE_UNORDERED_FLAG$2,f.set(a,i);var b=equalArrays$1(v(a),v(i),c,d,m,f);return f.delete(a),b;case symbolTag$3:if(symbolValueOf$1)return symbolValueOf$1.call(a)==symbolValueOf$1.call(i)}return!1}var _equalByTag=equalByTag$1;function arrayPush$4(a,i){for(var u=-1,c=i.length,d=a.length;++u<c;)a[d+u]=i[u];return a}var _arrayPush=arrayPush$4,arrayPush$3=_arrayPush,isArray$g=isArray_1;function baseGetAllKeys$2(a,i,u){var c=i(a);return isArray$g(a)?c:arrayPush$3(c,u(a))}var _baseGetAllKeys=baseGetAllKeys$2;function arrayFilter$2(a,i){for(var u=-1,c=a==null?0:a.length,d=0,m=[];++u<c;){var f=a[u];i(f,u,a)&&(m[d++]=f)}return m}var _arrayFilter=arrayFilter$2;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter$1=_arrayFilter,stubArray$1=stubArray_1,objectProto$4=Object.prototype,propertyIsEnumerable=objectProto$4.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(a){return a==null?[]:(a=Object(a),arrayFilter$1(nativeGetSymbols$1(a),function(i){return propertyIsEnumerable.call(a,i)}))}:stubArray$1,_getSymbols=getSymbols$3,baseGetAllKeys$1=_baseGetAllKeys,getSymbols$2=_getSymbols,keys$5=keys_1;function getAllKeys$2(a){return baseGetAllKeys$1(a,keys$5,getSymbols$2)}var _getAllKeys=getAllKeys$2,getAllKeys$1=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$3=Object.prototype,hasOwnProperty$4=objectProto$3.hasOwnProperty;function equalObjects$1(a,i,u,c,d,m){var f=u&COMPARE_PARTIAL_FLAG$3,v=getAllKeys$1(a),g=v.length,y=getAllKeys$1(i),b=y.length;if(g!=b&&!f)return!1;for(var w=g;w--;){var k=v[w];if(!(f?k in i:hasOwnProperty$4.call(i,k)))return!1}var $=m.get(a),S=m.get(i);if($&&S)return $==i&&S==a;var C=!0;m.set(a,i),m.set(i,a);for(var E=f;++w<g;){k=v[w];var D=a[k],A=i[k];if(c)var O=f?c(A,D,k,i,a,m):c(D,A,k,a,i,m);if(!(O===void 0?D===A||d(D,A,u,c,m):O)){C=!1;break}E||(E=k=="constructor")}if(C&&!E){var F=a.constructor,B=i.constructor;F!=B&&"constructor"in a&&"constructor"in i&&!(typeof F=="function"&&F instanceof F&&typeof B=="function"&&B instanceof B)&&(C=!1)}return m.delete(a),m.delete(i),C}var _equalObjects=equalObjects$1,getNative$3=_getNative,root$3=_root,DataView$1=getNative$3(root$3,"DataView"),_DataView=DataView$1,getNative$2=_getNative,root$2=_root,Promise$2=getNative$2(root$2,"Promise"),_Promise=Promise$2,getNative$1=_getNative,root$1=_root,Set$2=getNative$1(root$1,"Set"),_Set=Set$2,getNative=_getNative,root=_root,WeakMap$1=getNative(root,"WeakMap"),_WeakMap=WeakMap$1,DataView=_DataView,Map$1=_Map,Promise$1=_Promise,Set$1=_Set,WeakMap$2=_WeakMap,baseGetTag$2=_baseGetTag,toSource=_toSource,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$2="[object DataView]",dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$2),getTag$5=baseGetTag$2;(DataView&&getTag$5(new DataView(new ArrayBuffer(1)))!=dataViewTag$2||Map$1&&getTag$5(new Map$1)!=mapTag$4||Promise$1&&getTag$5(Promise$1.resolve())!=promiseTag||Set$1&&getTag$5(new Set$1)!=setTag$4||WeakMap$2&&getTag$5(new WeakMap$2)!=weakMapTag$1)&&(getTag$5=function(a){var i=baseGetTag$2(a),u=i==objectTag$2?a.constructor:void 0,c=u?toSource(u):"";if(c)switch(c){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return i});var _getTag=getTag$5,Stack$2=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag$4=_getTag,isArray$f=isArray_1,isBuffer$3=isBuffer$6.exports,isTypedArray$1=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",objectTag$1="[object Object]",objectProto$2=Object.prototype,hasOwnProperty$3=objectProto$2.hasOwnProperty;function baseIsEqualDeep$1(a,i,u,c,d,m){var f=isArray$f(a),v=isArray$f(i),g=f?arrayTag$1:getTag$4(a),y=v?arrayTag$1:getTag$4(i);g=g==argsTag$1?objectTag$1:g,y=y==argsTag$1?objectTag$1:y;var b=g==objectTag$1,w=y==objectTag$1,k=g==y;if(k&&isBuffer$3(a)){if(!isBuffer$3(i))return!1;f=!0,b=!1}if(k&&!b)return m||(m=new Stack$2),f||isTypedArray$1(a)?equalArrays(a,i,u,c,d,m):equalByTag(a,i,g,u,c,d,m);if(!(u&COMPARE_PARTIAL_FLAG$2)){var $=b&&hasOwnProperty$3.call(a,"__wrapped__"),S=w&&hasOwnProperty$3.call(i,"__wrapped__");if($||S){var C=$?a.value():a,E=S?i.value():i;return m||(m=new Stack$2),d(C,E,u,c,m)}}return k?(m||(m=new Stack$2),equalObjects(a,i,u,c,d,m)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$4=isObjectLike_1;function baseIsEqual$3(a,i,u,c,d){return a===i?!0:a==null||i==null||!isObjectLike$4(a)&&!isObjectLike$4(i)?a!==a&&i!==i:baseIsEqualDeep(a,i,u,c,baseIsEqual$3,d)}var _baseIsEqual=baseIsEqual$3,Stack$1=_Stack,baseIsEqual$2=_baseIsEqual,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch$1(a,i,u,c){var d=u.length,m=d,f=!c;if(a==null)return!m;for(a=Object(a);d--;){var v=u[d];if(f&&v[2]?v[1]!==a[v[0]]:!(v[0]in a))return!1}for(;++d<m;){v=u[d];var g=v[0],y=a[g],b=v[1];if(f&&v[2]){if(y===void 0&&!(g in a))return!1}else{var w=new Stack$1;if(c)var k=c(y,b,g,a,i,w);if(!(k===void 0?baseIsEqual$2(b,y,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,c,w):k))return!1}}return!0}var _baseIsMatch=baseIsMatch$1,isObject$3=isObject_1;function isStrictComparable$2(a){return a===a&&!isObject$3(a)}var _isStrictComparable=isStrictComparable$2,isStrictComparable$1=_isStrictComparable,keys$4=keys_1;function getMatchData$1(a){for(var i=keys$4(a),u=i.length;u--;){var c=i[u],d=a[c];i[u]=[c,d,isStrictComparable$1(d)]}return i}var _getMatchData=getMatchData$1;function matchesStrictComparable$2(a,i){return function(u){return u==null?!1:u[a]===i&&(i!==void 0||a in Object(u))}}var _matchesStrictComparable=matchesStrictComparable$2,baseIsMatch=_baseIsMatch,getMatchData=_getMatchData,matchesStrictComparable$1=_matchesStrictComparable;function baseMatches$1(a){var i=getMatchData(a);return i.length==1&&i[0][2]?matchesStrictComparable$1(i[0][0],i[0][1]):function(u){return u===a||baseIsMatch(u,a,i)}}var _baseMatches=baseMatches$1,baseGetTag$1=_baseGetTag,isObjectLike$3=isObjectLike_1,symbolTag$2="[object Symbol]";function isSymbol$5(a){return typeof a=="symbol"||isObjectLike$3(a)&&baseGetTag$1(a)==symbolTag$2}var isSymbol_1=isSymbol$5,isArray$e=isArray_1,isSymbol$4=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$3(a,i){if(isArray$e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||isSymbol$4(a)?!0:reIsPlainProp.test(a)||!reIsDeepProp.test(a)||i!=null&&a in Object(i)}var _isKey=isKey$3,MapCache=_MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize$1(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(FUNC_ERROR_TEXT);var u=function(){var c=arguments,d=i?i.apply(this,c):c[0],m=u.cache;if(m.has(d))return m.get(d);var f=a.apply(this,c);return u.cache=m.set(d,f)||m,f};return u.cache=new(memoize$1.Cache||MapCache),u}memoize$1.Cache=MapCache;var memoize_1=memoize$1,memoize=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(a){var i=memoize(a,function(c){return u.size===MAX_MEMOIZE_SIZE&&u.clear(),c}),u=i.cache;return i}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(rePropName,function(u,c,d,m){i.push(d?m.replace(reEscapeChar,"$1"):c||u)}),i}),_stringToPath=stringToPath$1;function arrayMap$6(a,i){for(var u=-1,c=a==null?0:a.length,d=Array(c);++u<c;)d[u]=i(a[u],u,a);return d}var _arrayMap=arrayMap$6,Symbol$3=_Symbol,arrayMap$5=_arrayMap,isArray$d=isArray_1,isSymbol$3=isSymbol_1,INFINITY$4=1/0,symbolProto$1=Symbol$3?Symbol$3.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString$4(a){if(typeof a=="string")return a;if(isArray$d(a))return arrayMap$5(a,baseToString$4)+"";if(isSymbol$3(a))return symbolToString?symbolToString.call(a):"";var i=a+"";return i=="0"&&1/a==-INFINITY$4?"-0":i}var _baseToString=baseToString$4,baseToString$3=_baseToString;function toString$9(a){return a==null?"":baseToString$3(a)}var toString_1=toString$9,isArray$c=isArray_1,isKey$2=_isKey,stringToPath=_stringToPath,toString$8=toString_1;function castPath$6(a,i){return isArray$c(a)?a:isKey$2(a,i)?[a]:stringToPath(toString$8(a))}var _castPath=castPath$6,isSymbol$2=isSymbol_1,INFINITY$3=1/0;function toKey$6(a){if(typeof a=="string"||isSymbol$2(a))return a;var i=a+"";return i=="0"&&1/a==-INFINITY$3?"-0":i}var _toKey=toKey$6,castPath$5=_castPath,toKey$5=_toKey;function baseGet$5(a,i){i=castPath$5(i,a);for(var u=0,c=i.length;a!=null&&u<c;)a=a[toKey$5(i[u++])];return u&&u==c?a:void 0}var _baseGet=baseGet$5,baseGet$4=_baseGet;function get$1(a,i,u){var c=a==null?void 0:baseGet$4(a,i);return c===void 0?u:c}var get_1=get$1;function baseHasIn$1(a,i){return a!=null&&i in Object(a)}var _baseHasIn=baseHasIn$1,castPath$4=_castPath,isArguments$2=isArguments_1,isArray$b=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$4=_toKey;function hasPath$1(a,i,u){i=castPath$4(i,a);for(var c=-1,d=i.length,m=!1;++c<d;){var f=toKey$4(i[c]);if(!(m=a!=null&&u(a,f)))break;a=a[f]}return m||++c!=d?m:(d=a==null?0:a.length,!!d&&isLength(d)&&isIndex$1(f,d)&&(isArray$b(a)||isArguments$2(a)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$2(a,i){return a!=null&&hasPath(a,i,baseHasIn)}var hasIn_1=hasIn$2,baseIsEqual$1=_baseIsEqual,get=get_1,hasIn$1=hasIn_1,isKey$1=_isKey,isStrictComparable=_isStrictComparable,matchesStrictComparable=_matchesStrictComparable,toKey$3=_toKey,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty$1(a,i){return isKey$1(a)&&isStrictComparable(i)?matchesStrictComparable(toKey$3(a),i):function(u){var c=get(u,a);return c===void 0&&c===i?hasIn$1(u,a):baseIsEqual$1(i,c,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}var _baseMatchesProperty=baseMatchesProperty$1;function baseProperty$1(a){return function(i){return i==null?void 0:i[a]}}var _baseProperty=baseProperty$1,baseGet$3=_baseGet;function basePropertyDeep$1(a){return function(i){return baseGet$3(i,a)}}var _basePropertyDeep=basePropertyDeep$1,baseProperty=_baseProperty,basePropertyDeep=_basePropertyDeep,isKey=_isKey,toKey$2=_toKey;function property$1(a){return isKey(a)?baseProperty(toKey$2(a)):basePropertyDeep(a)}var property_1=property$1,baseMatches=_baseMatches,baseMatchesProperty=_baseMatchesProperty,identity$1=identity_1,isArray$a=isArray_1,property=property_1;function baseIteratee$9(a){return typeof a=="function"?a:a==null?identity$1:typeof a=="object"?isArray$a(a)?baseMatchesProperty(a[0],a[1]):baseMatches(a):property(a)}var _baseIteratee=baseIteratee$9,baseEach$3=_baseEach;function baseSome$1(a,i){var u;return baseEach$3(a,function(c,d,m){return u=i(c,d,m),!u}),!!u}var _baseSome=baseSome$1,arraySome=_arraySome,baseIteratee$8=_baseIteratee,baseSome=_baseSome,isArray$9=isArray_1,isIterateeCall$1=_isIterateeCall;function some(a,i,u){var c=isArray$9(a)?arraySome:baseSome;return u&&isIterateeCall$1(a,i,u)&&(i=void 0),c(a,baseIteratee$8(i))}var some_1=some,baseKeys=_baseKeys,getTag$3=_getTag,isArguments$1=isArguments_1,isArray$8=isArray_1,isArrayLike$3=isArrayLike_1,isBuffer$2=isBuffer$6.exports,isPrototype=_isPrototype,isTypedArray=isTypedArray_1,mapTag$3="[object Map]",setTag$3="[object Set]",objectProto$1=Object.prototype,hasOwnProperty$2=objectProto$1.hasOwnProperty;function isEmpty(a){if(a==null)return!0;if(isArrayLike$3(a)&&(isArray$8(a)||typeof a=="string"||typeof a.splice=="function"||isBuffer$2(a)||isTypedArray(a)||isArguments$1(a)))return!a.length;var i=getTag$3(a);if(i==mapTag$3||i==setTag$3)return!a.size;if(isPrototype(a))return!baseKeys(a).length;for(var u in a)if(hasOwnProperty$2.call(a,u))return!1;return!0}var isEmpty_1=isEmpty;function baseSlice$2(a,i,u){var c=-1,d=a.length;i<0&&(i=-i>d?0:d+i),u=u>d?d:u,u<0&&(u+=d),d=i>u?0:u-i>>>0,i>>>=0;for(var m=Array(d);++c<d;)m[c]=a[c+i];return m}var _baseSlice=baseSlice$2,baseSlice$1=_baseSlice;function castSlice$2(a,i,u){var c=a.length;return u=u===void 0?c:u,!i&&u>=c?a:baseSlice$1(a,i,u)}var _castSlice=castSlice$2,rsAstralRange$2="\\ud800-\\udfff",rsComboMarksRange$3="\\u0300-\\u036f",reComboHalfMarksRange$3="\\ufe20-\\ufe2f",rsComboSymbolsRange$3="\\u20d0-\\u20ff",rsComboRange$3=rsComboMarksRange$3+reComboHalfMarksRange$3+rsComboSymbolsRange$3,rsVarRange$2="\\ufe0e\\ufe0f",rsZWJ$2="\\u200d",reHasUnicode=RegExp("["+rsZWJ$2+rsAstralRange$2+rsComboRange$3+rsVarRange$2+"]");function hasUnicode$2(a){return reHasUnicode.test(a)}var _hasUnicode=hasUnicode$2;function asciiToArray$1(a){return a.split("")}var _asciiToArray=asciiToArray$1,rsAstralRange$1="\\ud800-\\udfff",rsComboMarksRange$2="\\u0300-\\u036f",reComboHalfMarksRange$2="\\ufe20-\\ufe2f",rsComboSymbolsRange$2="\\u20d0-\\u20ff",rsComboRange$2=rsComboMarksRange$2+reComboHalfMarksRange$2+rsComboSymbolsRange$2,rsVarRange$1="\\ufe0e\\ufe0f",rsAstral="["+rsAstralRange$1+"]",rsCombo$2="["+rsComboRange$2+"]",rsFitz$1="\\ud83c[\\udffb-\\udfff]",rsModifier$1="(?:"+rsCombo$2+"|"+rsFitz$1+")",rsNonAstral$1="[^"+rsAstralRange$1+"]",rsRegional$1="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair$1="[\\ud800-\\udbff][\\udc00-\\udfff]",rsZWJ$1="\\u200d",reOptMod$1=rsModifier$1+"?",rsOptVar$1="["+rsVarRange$1+"]?",rsOptJoin$1="(?:"+rsZWJ$1+"(?:"+[rsNonAstral$1,rsRegional$1,rsSurrPair$1].join("|")+")"+rsOptVar$1+reOptMod$1+")*",rsSeq$1=rsOptVar$1+reOptMod$1+rsOptJoin$1,rsSymbol="(?:"+[rsNonAstral$1+rsCombo$2+"?",rsCombo$2,rsRegional$1,rsSurrPair$1,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz$1+"(?="+rsFitz$1+")|"+rsSymbol+rsSeq$1,"g");function unicodeToArray$1(a){return a.match(reUnicode)||[]}var _unicodeToArray=unicodeToArray$1,asciiToArray=_asciiToArray,hasUnicode$1=_hasUnicode,unicodeToArray=_unicodeToArray;function stringToArray$2(a){return hasUnicode$1(a)?unicodeToArray(a):asciiToArray(a)}var _stringToArray=stringToArray$2,castSlice$1=_castSlice,hasUnicode=_hasUnicode,stringToArray$1=_stringToArray,toString$7=toString_1;function createCaseFirst$2(a){return function(i){i=toString$7(i);var u=hasUnicode(i)?stringToArray$1(i):void 0,c=u?u[0]:i.charAt(0),d=u?castSlice$1(u,1).join(""):i.slice(1);return c[a]()+d}}var _createCaseFirst=createCaseFirst$2,createCaseFirst$1=_createCaseFirst,upperFirst$1=createCaseFirst$1("toUpperCase"),upperFirst_1=upperFirst$1,baseEach$2=_baseEach;function baseFilter$1(a,i){var u=[];return baseEach$2(a,function(c,d,m){i(c,d,m)&&u.push(c)}),u}var _baseFilter=baseFilter$1,arrayFilter=_arrayFilter,baseFilter=_baseFilter,baseIteratee$7=_baseIteratee,isArray$7=isArray_1;function filter(a,i){var u=isArray$7(a)?arrayFilter:baseFilter;return u(a,baseIteratee$7(i))}var filter_1=filter,copyObject$4=_copyObject,keys$3=keys_1;function baseAssign$1(a,i){return a&&copyObject$4(i,keys$3(i),a)}var _baseAssign=baseAssign$1,copyObject$3=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(a,i){return a&&copyObject$3(i,keysIn$2(i),a)}var _baseAssignIn=baseAssignIn$1,copyObject$2=_copyObject,getSymbols$1=_getSymbols;function copySymbols$1(a,i){return copyObject$2(a,getSymbols$1(a),i)}var _copySymbols=copySymbols$1,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(a){for(var i=[];a;)arrayPush$2(i,getSymbols(a)),a=getPrototype(a);return i}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$1=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(a,i){return copyObject$1(a,getSymbolsIn$1(a),i)}var _copySymbolsIn=copySymbolsIn$1,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$2(a){return baseGetAllKeys(a,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$2,objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function initCloneArray$1(a){var i=a.length,u=new a.constructor(i);return i&&typeof a[0]=="string"&&hasOwnProperty$1.call(a,"index")&&(u.index=a.index,u.input=a.input),u}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(a,i){var u=i?cloneArrayBuffer$1(a.buffer):a.buffer;return new a.constructor(u,a.byteOffset,a.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(a){var i=new a.constructor(a.source,reFlags.exec(a));return i.lastIndex=a.lastIndex,i}var _cloneRegExp=cloneRegExp$1,Symbol$2=_Symbol,symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol$1(a){return symbolValueOf?Object(symbolValueOf.call(a)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$1="[object Boolean]",dateTag$1="[object Date]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$2="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(a,i,u){var c=a.constructor;switch(i){case arrayBufferTag$1:return cloneArrayBuffer(a);case boolTag$1:case dateTag$1:return new c(+a);case dataViewTag$1:return cloneDataView(a,u);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(a,u);case mapTag$2:return new c;case numberTag$1:case stringTag$2:return new c(a);case regexpTag$1:return cloneRegExp(a);case setTag$2:return new c;case symbolTag$1:return cloneSymbol(a)}}var _initCloneByTag=initCloneByTag$1,getTag$2=_getTag,isObjectLike$2=isObjectLike_1,mapTag$1="[object Map]";function baseIsMap$1(a){return isObjectLike$2(a)&&getTag$2(a)==mapTag$1}var _baseIsMap=baseIsMap$1,baseIsMap=_baseIsMap,baseUnary$3=_baseUnary,nodeUtil$1=_nodeUtil.exports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$3(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$1=_getTag,isObjectLike$1=isObjectLike_1,setTag$1="[object Set]";function baseIsSet$1(a){return isObjectLike$1(a)&&getTag$1(a)==setTag$1}var _baseIsSet=baseIsSet$1,baseIsSet=_baseIsSet,baseUnary$2=_baseUnary,nodeUtil=_nodeUtil.exports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary$2(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack=_Stack,arrayEach=_arrayEach,assignValue$1=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBuffer.exports,copyArray$1=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys=_getAllKeys,getAllKeysIn$1=_getAllKeysIn,getTag=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$6=isArray_1,isBuffer$1=isBuffer$6.exports,isMap=isMap_1,isObject$2=isObject_1,isSet$2=isSet_1,keys$2=keys_1,keysIn=keysIn_1,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$3=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag$1="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag$1]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone$3(a,i,u,c,d,m){var f,v=i&CLONE_DEEP_FLAG$2,g=i&CLONE_FLAT_FLAG$1,y=i&CLONE_SYMBOLS_FLAG$3;if(u&&(f=d?u(a,c,d,m):u(a)),f!==void 0)return f;if(!isObject$2(a))return a;var b=isArray$6(a);if(b){if(f=initCloneArray(a),!v)return copyArray$1(a,f)}else{var w=getTag(a),k=w==funcTag||w==genTag;if(isBuffer$1(a))return cloneBuffer(a,v);if(w==objectTag||w==argsTag||k&&!d){if(f=g||k?{}:initCloneObject(a),!v)return g?copySymbolsIn(a,baseAssignIn(f,a)):copySymbols(a,baseAssign(f,a))}else{if(!cloneableTags[w])return d?a:{};f=initCloneByTag(a,w,v)}}m||(m=new Stack);var $=m.get(a);if($)return $;m.set(a,f),isSet$2(a)?a.forEach(function(E){f.add(baseClone$3(E,i,u,E,a,m))}):isMap(a)&&a.forEach(function(E,D){f.set(D,baseClone$3(E,i,u,D,a,m))});var S=y?g?getAllKeysIn$1:getAllKeys:g?keysIn:keys$2,C=b?void 0:S(a);return arrayEach(C||a,function(E,D){C&&(D=E,E=a[D]),assignValue$1(f,D,baseClone$3(E,i,u,D,a,m))}),f}var _baseClone=baseClone$3,baseClone$2=_baseClone,CLONE_DEEP_FLAG$1=1,CLONE_SYMBOLS_FLAG$2=4;function cloneDeep(a){return baseClone$2(a,CLONE_DEEP_FLAG$1|CLONE_SYMBOLS_FLAG$2)}var cloneDeep_1=cloneDeep,assignValue=_assignValue,castPath$3=_castPath,isIndex=_isIndex,isObject$1=isObject_1,toKey$1=_toKey;function baseSet$2(a,i,u,c){if(!isObject$1(a))return a;i=castPath$3(i,a);for(var d=-1,m=i.length,f=m-1,v=a;v!=null&&++d<m;){var g=toKey$1(i[d]),y=u;if(g==="__proto__"||g==="constructor"||g==="prototype")return a;if(d!=f){var b=v[g];y=c?c(b,g,v):void 0,y===void 0&&(y=isObject$1(b)?b:isIndex(i[d+1])?[]:{})}assignValue(v,g,y),v=v[g]}return a}var _baseSet=baseSet$2,baseSet$1=_baseSet;function set(a,i,u){return a==null?a:baseSet$1(a,i,u)}var set_1=set,Symbol$1=_Symbol,isArguments=isArguments_1,isArray$5=isArray_1,spreadableSymbol=Symbol$1?Symbol$1.isConcatSpreadable:void 0;function isFlattenable$1(a){return isArray$5(a)||isArguments(a)||!!(spreadableSymbol&&a&&a[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush$1=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$7(a,i,u,c,d){var m=-1,f=a.length;for(u||(u=isFlattenable),d||(d=[]);++m<f;){var v=a[m];i>0&&u(v)?i>1?baseFlatten$7(v,i-1,u,c,d):arrayPush$1(d,v):c||(d[d.length]=v)}return d}var _baseFlatten=baseFlatten$7;function baseFindIndex$3(a,i,u,c){for(var d=a.length,m=u+(c?1:-1);c?m--:++m<d;)if(i(a[m],m,a))return m;return-1}var _baseFindIndex=baseFindIndex$3;function baseIsNaN$1(a){return a!==a}var _baseIsNaN=baseIsNaN$1;function strictIndexOf$1(a,i,u){for(var c=u-1,d=a.length;++c<d;)if(a[c]===i)return c;return-1}var _strictIndexOf=strictIndexOf$1,baseFindIndex$2=_baseFindIndex,baseIsNaN=_baseIsNaN,strictIndexOf=_strictIndexOf;function baseIndexOf$4(a,i,u){return i===i?strictIndexOf(a,i,u):baseFindIndex$2(a,baseIsNaN,u)}var _baseIndexOf=baseIndexOf$4,baseIndexOf$3=_baseIndexOf;function arrayIncludes$2(a,i){var u=a==null?0:a.length;return!!u&&baseIndexOf$3(a,i,0)>-1}var _arrayIncludes=arrayIncludes$2;function arrayIncludesWith$2(a,i,u){for(var c=-1,d=a==null?0:a.length;++c<d;)if(u(i,a[c]))return!0;return!1}var _arrayIncludesWith=arrayIncludesWith$2;function noop$1(){}var noop_1=noop$1,Set$3=_Set,noop=noop_1,setToArray$1=_setToArray,INFINITY$2=1/0,createSet$1=Set$3&&1/setToArray$1(new Set$3([,-0]))[1]==INFINITY$2?function(a){return new Set$3(a)}:noop,_createSet=createSet$1,SetCache$1=_SetCache,arrayIncludes$1=_arrayIncludes,arrayIncludesWith$1=_arrayIncludesWith,cacheHas$1=_cacheHas,createSet=_createSet,setToArray=_setToArray,LARGE_ARRAY_SIZE$1=200;function baseUniq$1(a,i,u){var c=-1,d=arrayIncludes$1,m=a.length,f=!0,v=[],g=v;if(u)f=!1,d=arrayIncludesWith$1;else if(m>=LARGE_ARRAY_SIZE$1){var y=i?null:createSet(a);if(y)return setToArray(y);f=!1,d=cacheHas$1,g=new SetCache$1}else g=i?[]:v;e:for(;++c<m;){var b=a[c],w=i?i(b):b;if(b=u||b!==0?b:0,f&&w===w){for(var k=g.length;k--;)if(g[k]===w)continue e;i&&g.push(w),v.push(b)}else d(g,w,u)||(g!==v&&g.push(w),v.push(b))}return v}var _baseUniq=baseUniq$1,baseFlatten$6=_baseFlatten,baseRest$3=_baseRest,baseUniq=_baseUniq,isArrayLikeObject$2=isArrayLikeObject_1,union=baseRest$3(function(a){return baseUniq(baseFlatten$6(a,1,isArrayLikeObject$2,!0))}),union_1=union,baseFlatten$5=_baseFlatten,INFINITY$1=1/0;function flattenDeep(a){var i=a==null?0:a.length;return i?baseFlatten$5(a,INFINITY$1):[]}var flattenDeep_1=flattenDeep,MERGE_KEYS=["presets","usePresets","addClasses","prependClasses","removeClasses","replaceClasses","overrideClasses"],LOCALS_KEYS=["addClass","removeClass","replaceClass","overrideClass"];class MergeClasses{constructor(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.options=i,this.shouldMergeTemplateClasses?(this.componentClasses=this.templateClasses,this.merge({overrideClasses:{[this.component]:this.themeClasses}})):this.componentClasses=this.templateClasses,this.merge(this.config),each(i.merge,u=>{this.merge(u)}),this.merge(this.locals||this.component$.value,!0),this.config.classHelpers&&this.config.env!=="production"&&this.merge({prependClasses:{[this.component]:this.getClassHelpers(this.componentClasses,[this.component])}})}get classes(){return new Proxy(this.componentClasses,{get:(i,u)=>typeof u!="string"?i[u]:this.getDynamicClasses(i,u)})}get config(){return this.options.config||{}}get component(){return this.options.component}get component$(){return this.options.component$}get locals(){return this.options.locals}get view(){return this.options.view}get theme(){return this.options.theme}get presets(){return this.config.presets}get templates(){return this.options.templates||{}}get template(){return this.view&&this.templates["".concat(this.component,"_").concat(this.view)]?this.templates["".concat(this.component,"_").concat(this.view)]:this.templates[this.component]||{}}get themeClasses(){return cloneDeep_1(this.toArray(this.view&&this.theme.classes["".concat(this.component,"_").concat(this.view)]?this.theme.classes["".concat(this.component,"_").concat(this.view)]:this.theme.classes[this.component]))}get templateClasses(){return cloneDeep_1(this.toArray(this.defaultClasses))}get shouldMergeTemplateClasses(){var i=typeof this.template.data=="function"&&this.template.data().merge!==void 0?this.template.data().merge:this.component$.value.merge;return i!==void 0?i:!1}get defaultClasses(){return typeof this.template.data=="function"&&this.template.data().defaultClasses?this.template.data().defaultClasses:this.component$.value.defaultClasses}get mainClass(){var i=typeof this.template.data=="function"&&this.template.data().defaultClasses?this.template.data().defaultClasses:this.component$.value.defaultClasses;return Object.keys(i)[0]}merge(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;each(this.pick(i,u?LOCALS_KEYS:MERGE_KEYS),(c,d)=>{switch(typeof c=="function"&&(c=c(this.component$.value.form$)),d){case"addClasses":case"prependClasses":case"overrideClasses":if(!c||c[this.component]===void 0)return;this.mergeComponentClasses(this.toArray(c[this.component]),d);break;case"removeClasses":case"replaceClasses":if(!c||c[this.component]===void 0)return;this.mergeComponentClasses(c[this.component],d);break;case"addClass":case"removeClass":case"replaceClass":case"overrideClass":if(!c)return;typeof c=="string"||Array.isArray(c)?(Array.isArray(c)||(c=c.length>0?c.split(" "):[]),this.mergeComponentClasses({[this.mainClass]:c},"".concat(d,"es"))):d==="replaceClass"?this.mergeComponentClasses(c,"".concat(d,"es")):isPlainObject_1(c)&&this.mergeComponentClasses(this.toArray(c),"".concat(d,"es"));break;case"presets":case"usePresets":if(!Array.isArray(c))return;each(c,m=>{this.merge(this.presets[m])});break}})}mergeComponentClasses(i,u){each(i,(c,d)=>{this[u](c,[d])})}addClasses(i,u){var c=get_1(this.componentClasses,u.join("."));i.length==1&&!i[0]||(isPlainObject_1(c)?each(i,(d,m)=>{this.addClasses(d,u.concat(m))}):set_1(this.componentClasses,u.join("."),union_1(c,i)))}prependClasses(i,u){var c=get_1(this.componentClasses,u.join("."));i.length==1&&!i[0]||(isPlainObject_1(c)?each(i,(d,m)=>{this.prependClasses(d,u.concat(m))}):set_1(this.componentClasses,u.join("."),union_1(i,c)))}removeClasses(i,u){var c=get_1(this.componentClasses,u.join("."));isPlainObject_1(c)?each(i,(d,m)=>{this.removeClasses(d,u.concat(m))}):Array.isArray(c)&&set_1(this.componentClasses,u.join("."),c.filter(d=>typeof d!="string"||i.indexOf(d)===-1))}replaceClasses(i,u){var c=get_1(this.componentClasses,u.join("."));if(Array.isArray(i)){var d={};i.forEach(m=>{d=_objectSpread2$1(_objectSpread2$1({},d),m)}),i=d}isPlainObject_1(c)?each(i,(m,f)=>{this.replaceClasses(m,u.concat(f))}):Array.isArray(c)&&set_1(this.componentClasses,u.join("."),c.map(m=>typeof m!="string"||Object.keys(i).indexOf(m)===-1?m:i[m]))}overrideClasses(i,u){var c=get_1(this.componentClasses,u.join("."));isPlainObject_1(c)?each(i,(d,m)=>{this.overrideClasses(d,u.concat(m))}):set_1(this.componentClasses,u.join("."),i)}toArray(i){var u={};return each(i,(c,d)=>{u[d]=this.classesToArray(c,[d])}),u}classesToArray(i,u){var c,d=i,m=u?get_1(this.componentClasses,u.join(".")):void 0;if(typeof i=="string")d=i.length>0?i.split(" "):[];else if(isPlainObject_1(i))m&&Array.isArray(m)?d=[i]:(!m||isPlainObject_1(m))&&(d={},each(i,(f,v)=>{d[v]=this.classesToArray(f,u.concat([v]))}));else if(typeof i=="boolean"||typeof i=="object"&&["ComputedRefImpl","RefImpl"].indexOf(i==null||(c=i.constructor)===null||c===void 0?void 0:c.name)!==-1)throw Error("Cannot add conditional class to ".concat(this.component,": '").concat(u.join("."),"'"));return d}getDynamicClasses(i,u,c){c||(c=i);var d=Array.isArray(i[u])?flattenDeep_1(i[u]):i[u];return i["$".concat(u)]?flattenDeep_1(i["$".concat(u)](c,this.component$.value)):(isPlainObject_1(d)&&(d=cloneDeep_1(d),each(d,(m,f)=>{d[f]=this.getDynamicClasses(d,f,i)})),d)}getClassHelpers(i,u){var c={};return each(i,(d,m)=>{m.match(/[$]/)||(isPlainObject_1(d)?c[m]=this.getClassHelpers(i[m],u.concat([m])):c[m]=["".concat(u.join("."),".").concat(m,"-->")])}),c}pick(i,u){var c={};return i&&each(u,d=>{d in i&&(c[d]=i[d])}),c}}var getFormData=function a(i,u,c){return u===void 0&&(u=new FormData),c===void 0&&(c=""),isArray_1(i)?each(i,(d,m)=>{a(d,u,c+"["+m+"]")}):isPlainObject_1(i)?each(i,(d,m)=>{a(d,u,c?c+"["+m+"]":m)}):u.append(c,i===null?"":i),u},arrayMap$4=_arrayMap;function baseValues$1(a,i){return arrayMap$4(i,function(u){return a[u]})}var _baseValues=baseValues$1,baseValues=_baseValues,keys$1=keys_1;function values$1(a){return a==null?[]:baseValues(a,keys$1(a))}var values_1=values$1;function asyncForEach(a,i){return _asyncForEach.apply(this,arguments)}function _asyncForEach(){return _asyncForEach=_asyncToGenerator(function*(a,i){for(var u=0;u<(isPlainObject_1(a)?values_1(a):a).length;u++){var c=isPlainObject_1(a)?keys_1(a)[u]:u;yield i(a[c],c,a)}}),_asyncForEach.apply(this,arguments)}var baseAssignValue=_baseAssignValue,baseForOwn=_baseForOwn,baseIteratee$6=_baseIteratee;function mapValues(a,i){var u={};return i=baseIteratee$6(i),baseForOwn(a,function(c,d,m){baseAssignValue(u,d,i(c,d,m))}),u}var mapValues_1=mapValues,baseIsEqual=_baseIsEqual;function isEqual(a,i){return baseIsEqual(a,i)}var isEqual_1=isEqual,fileToObject=function a(i){return{lastModified:i.lastModified,name:i.name,size:i.size,type:i.type}},dataToComperable=function a(i){return i instanceof File?fileToObject(i):i instanceof Date?i.toString():Array.isArray(i)?i.map(a):typeof i=="object"&&i!==null?mapValues_1(i,a):i};function dataEquals(a,i){return isEqual_1(dataToComperable(a),dataToComperable(i))}function isComponentRegistered(a,i){return a.appContext!==void 0?typeof a.appContext.app.component(i)!="string":!!a.proxy.$root.$options.components[i]}var flatten$3=a=>{var i=[];return a.forEach(u=>{i.push(u.path),u.children&&flatten$3(u.children).forEach(c=>{i.push(c)})}),i},collect=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",d=f=>{var v=i[f],g=c.length?"".concat(c,".").concat(f):f,y={name:f,path:g,type:v.type};return["group","object"].indexOf(v.type)!==-1&&Object.keys(v.schema||{}).length&&(y.children=a(v.schema,null,g)),v.type==="list"&&Object.keys((v==null?void 0:v.element)||{}).length&&(y.children=a({0:v.element},null,g)),y},m=[];return u&&Object.keys(u).length?Object.values(u).forEach(f=>{f.elements.forEach(v=>{m.push(d(v))})}):Object.keys(i).forEach(f=>{m.push(d(f))}),m},toString$6=toString_1,upperFirst=upperFirst_1;function capitalize$1(a){return upperFirst(toString$6(a).toLowerCase())}var capitalize_1=capitalize$1;function arrayReduce$2(a,i,u,c){var d=-1,m=a==null?0:a.length;for(c&&m&&(u=a[++d]);++d<m;)u=i(u,a[d],d,a);return u}var _arrayReduce=arrayReduce$2;function basePropertyOf$1(a){return function(i){return a==null?void 0:a[i]}}var _basePropertyOf=basePropertyOf$1,basePropertyOf=_basePropertyOf,deburredLetters={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},deburrLetter$1=basePropertyOf(deburredLetters),_deburrLetter=deburrLetter$1,deburrLetter=_deburrLetter,toString$5=toString_1,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange$1="\\u0300-\\u036f",reComboHalfMarksRange$1="\\ufe20-\\ufe2f",rsComboSymbolsRange$1="\\u20d0-\\u20ff",rsComboRange$1=rsComboMarksRange$1+reComboHalfMarksRange$1+rsComboSymbolsRange$1,rsCombo$1="["+rsComboRange$1+"]",reComboMark=RegExp(rsCombo$1,"g");function deburr$1(a){return a=toString$5(a),a&&a.replace(reLatin,deburrLetter).replace(reComboMark,"")}var deburr_1=deburr$1,reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function asciiWords$1(a){return a.match(reAsciiWord)||[]}var _asciiWords=asciiWords$1,reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function hasUnicodeWord$1(a){return reHasUnicodeWord.test(a)}var _hasUnicodeWord=hasUnicodeWord$1,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos$1="[']",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos$1+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos$1+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords$1(a){return a.match(reUnicodeWord)||[]}var _unicodeWords=unicodeWords$1,asciiWords=_asciiWords,hasUnicodeWord=_hasUnicodeWord,toString$4=toString_1,unicodeWords=_unicodeWords;function words$1(a,i,u){return a=toString$4(a),i=u?void 0:i,i===void 0?hasUnicodeWord(a)?unicodeWords(a):asciiWords(a):a.match(i)||[]}var words_1=words$1,arrayReduce$1=_arrayReduce,deburr=deburr_1,words=words_1,rsApos="[']",reApos=RegExp(rsApos,"g");function createCompounder$1(a){return function(i){return arrayReduce$1(words(deburr(i).replace(reApos,"")),a,"")}}var _createCompounder=createCompounder$1,capitalize=capitalize_1,createCompounder=_createCompounder,camelCase=createCompounder(function(a,i,u){return i=i.toLowerCase(),a+(u?capitalize(i):i)}),camelCase_1=camelCase,base$1a=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!d.events)throw new Error("`events` option is required for useEvents");var m=ref(d.events),f=ref({}),v=(b,w)=>{f.value[b]||(f.value[b]=[]),f.value[b].push(w)},g=b=>{delete f.value[b]},y=function(){var w=arguments[0],k=[].slice.call(arguments).splice(1);each(f.value[w],$=>{$(...k)}),(!f.value[w]||!f.value[w].length)&&u.emit(...[w].concat(k))};return each(m.value,b=>{var w=i["on"+upperFirst_1(camelCase_1(b))];w&&v(b,w)}),{events:m,listeners:f,on:v,off:g,fire:y}};function useModel(a,i,u){var{value:c,modelValue:d,sync:m}=toRefs(a),f=u.$this,v=f.$vueform.vueVersion===3?d:c,g=ref({}),y=ref(v&&v.value?cloneDeep_1(v.value):null),b=computed(()=>m.value&&v&&v.value!==void 0),w=computed(()=>cloneDeep_1(v.value||g.value)),k=($,S)=>{if(v.value)if($){var C=$.split("."),E=C.pop(),D=C.join(".")||null,A=D?get_1(v.value,D):v.value;A!==void 0&&f.$set(A,E,S),y.value=cloneDeep_1(v.value)}else each(S,(F,B)=>{v.value!==void 0&&f.$set(v.value,B,F),y.value!==void 0&&f.$set(y.value,B,F)});else{var O=cloneDeep_1(v.value||g.value);$?set_1(O,$,S):O=Object.assign({},O,S),g.value=O}};return v&&v.value&&watch(w,($,S)=>{dataEquals($,S)||(g.value=$)},{deep:!0,immediate:!1}),{model:w,internalData:g,intermediaryValue:y,externalValue:v,isSync:b,updateModel:k}}var base$19=function a(i,u){var{schema:c,tabs:d,steps:m,size:f,view:v,views:g,addClass:y,removeClass:b,replaceClass:w,overrideClass:k,addClasses:$,removeClasses:S,replaceClasses:C,overrideClasses:E,presets:D,templates:A,theme:O,messages:F,columns:B,languages:I,formKey:M,endpoint:z,method:q,formData:H,language:Q,locale:j,validateOn:ee,forceLabels:G,floatPlaceholders:J,multilingual:te,stepsControls:re,displayErrors:ae,displayMessages:ye,formatLoad:ve,formatData:le,forceNumbers:Se,prepare:De,default:At,disabled:Le,loading:ke,onChange:ue,onReset:Ce,onClear:Te,onSubmit:Pe,onSuccess:Vt,onError:Ie,onLanguage:ie,onBeforeMount:de,onMounted:Fe,onBeforeUpdate:We,onUpdated:wt,onBeforeUnmount:jt,onUnmounted:Ut}=toRefs(i),Tt=["change","reset","clear","submit","success","error","language","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],Ft=getCurrentInstance$1(),St=Ft.proxy,{events:Wt,listeners:$t,fire:xt,on:Kt,off:ln}=base$1a(i,u,{form$:St},{events:Tt}),{externalValue:hn,model:kt,internalData:Et,intermediaryValue:zt,isSync:Yt,updateModel:mn}=useModel(i,u,{$this:St,fire:xt}),an=ref({}),sn=ref(null),wn=ref(null),Cn=ref(!0),gn=ref(!0),dn=ref({}),bn=ref(!1),Oe=ref(!1),Ye=ref(null),Rt=ref({}),oe=ref(!1),pe=ref(isComponentRegistered(Ft,"FormMessages")),Ne=ref(isComponentRegistered(Ft,"FormErrors")),Nt=ref(isComponentRegistered(Ft,"FormLanguages")),qt=ref(isComponentRegistered(Ft,"FormTabs")),tn=ref(isComponentRegistered(Ft,"FormSteps")),un=computed(()=>St),Gt=computed(()=>St.$vueform),_n=computed(()=>Gt.value),nn=computed(()=>fn.value.locale||Gt.value.i18n.locale),cn=computed(()=>St.$vueform.services),fn=computed(()=>{var Zt={schema:Bn.value,tabs:tr.value,steps:Wn.value},vn={columns:B,languages:I,language:Q,theme:O,method:q,validateOn:ee,messages:F,formKey:M,multilingual:te,formatLoad:ve,formatData:le,prepare:De,default:At,formData:H,templates:A,addClass:y,removeClass:b,replaceClass:w,overrideClass:k,addClasses:$,removeClasses:S,replaceClasses:C,overrideClasses:E,presets:D,size:f,view:v,views:g,locale:j},En={stepsControls:re,displayErrors:ae,displayMessages:ye,forceLabels:G,disabled:Le,loading:ke,floatPlaceholders:J,endpoint:z,forceNumbers:Se,onChange:ue.value,onReset:Ce.value,onClear:Te.value,onSubmit:Pe.value,onSuccess:Vt.value,onError:Ie.value,onLanguage:ie.value,onBeforeMount:de.value,onMounted:Fe.value,onBeforeUpdate:We.value,onUpdated:wt.value,onBeforeUnmount:jt.value,onUnmounted:Ut.value},$n={languages:Gt.value.config.languages,language:Gt.value.config.language,endpoint:typeof Gt.value.config.endpoints.submit=="function"?Gt.value.config.endpoints.submit:Gt.value.config.endpoints.submit.url,method:typeof Gt.value.config.endpoints.submit=="function"?null:Gt.value.config.endpoints.submit.method,validateOn:Gt.value.config.validateOn,displayErrors:Gt.value.config.displayErrors,displayMessages:Gt.value.config.displayMessages,forceLabels:Gt.value.config.forceLabels,floatPlaceholders:Gt.value.config.floatPlaceholders,formData:Gt.value.config.formData,theme:Gt.value.theme,view:Gt.value.config.view,views:{},columns:{},size:null,addClass:null,removeClass:null,replaceClass:null,overrideClass:null,addClasses:{},removeClasses:{},replaceClasses:{},overrideClasses:{},presets:[],templates:{},messages:{},default:{},formKey:null,formatLoad:null,formatData:null,forceNumbers:null,prepare:null,multilingual:!1,stepsControls:!0,disabled:!1,loading:!1};return each(vn,(In,Zn)=>{Zt[Zn]=Rt.value[Zn]!==void 0?Rt.value[Zn]:(In&&In.value?In.value:void 0)||$n[Zn]}),each(En,(In,Zn)=>{Zt[Zn]=Rt.value[Zn]!==void 0?Rt.value[Zn]:In&&In.value!==null?In.value:$n[Zn]}),Zt}),Bn=computed(()=>{var Zt,vn=Rn.value;return Object.keys(Wn.value).length>0&&(Zt=Wn.value),Object.keys(tr.value).length>0&&(Zt=tr.value),Zt&&(vn={},each(Zt,En=>{each(En.elements,$n=>{Rn.value[$n]&&(vn[$n]=Rn.value[$n])})}),each(Object.keys(Rn.value),En=>{vn[En]===void 0&&(vn[En]=Rn.value[En])})),vn}),Rn=computed(()=>merge_1({},c&&c.value?c.value:{},Rt.value.schema||{})),tr=computed(()=>merge_1({},d&&d.value?d.value:{},Rt.value.tabs||{})),Wn=computed(()=>merge_1({},m&&m.value?m.value:{},Rt.value.steps||{})),ir=computed(()=>collect(Rn.value,Ya.value?tr.value:Wn.value)),nr=computed(()=>flatten$3(ir.value)),Kn=computed(()=>{var Zt={};return each(an.value,vn=>{vn.isStatic||(Zt=Object.assign({},Zt,vn.data))}),Zt}),dr=computed(()=>{var Zt={};return each(an.value,vn=>{vn.isStatic||(Zt=Object.assign({},Zt,vn.requestData))}),le.value?le.value(Zt):Zt}),xr=computed(()=>some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.dirty===!0)),or=computed(()=>some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.invalid===!0)),Ir=computed(()=>some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.debouncing===!0)),he=computed(()=>some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.pending===!0)),It=computed(()=>!some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.validated===!1)),pn=computed(()=>some_1(an.value,Zt=>Zt.isStatic===!1&&Zt.available===!0&&Zt.busy===!0)||bn.value||Oe.value||Si.value),On=computed(()=>{var Zt=[];return each(filter_1(an.value,{available:!0,isStatic:!1}),vn=>{each(vn.errors,En=>{Zt.push(En)})}),Zt}),Gn=computed(()=>dn.value.errors),Ur=computed(()=>Gn.value.length>0),Ka=computed(()=>Ur.value&&fn.value.displayErrors&&Ne.value),ra=computed(()=>dn.value.messages),Pr=computed(()=>ra.value.length>0),_i=computed(()=>Pr.value&&fn.value.displayMessages&&pe.value),Ja=computed(()=>fn.value.multilingual),ko=computed(()=>Ja.value&&Nt.value),ki=computed(()=>or.value&&Oa.value||pn.value||fn.value.disabled),Si=computed(()=>fn.value.loading),Oa=computed(()=>fn.value.validateOn.split("|").indexOf("change")!==-1),$i=computed(()=>fn.value.validateOn.split("|").indexOf("step")!==-1),Ra=computed(()=>!isEmpty_1(fn.value.steps)),Ci=computed(()=>Ra.value&&tn.value),Ga=computed(()=>Ra.value&&fn.value.stepsControls&&tn.value),Ya=computed(()=>!isEmpty_1(fn.value.tabs)),Ei=computed(()=>Ya.value&&qt.value),Kr=computed(()=>{var Zt={};return each(Gt.value.config.usePresets.concat(fn.value.presets),vn=>{var En=Gt.value.config.presets[vn];!En||!En.templates||(Zt=Object.assign({},Zt,En.templates))}),Object.assign({},fn.value.theme,{templates:Object.assign({},fn.value.theme.templates,Gt.value.templates,Zt,fn.value.templates||{})})}),aa=computed(()=>Kr.value.templates),So=computed(()=>ba.value&&aa.value["Vueform_".concat(ba.value)]?aa.value["Vueform_".concat(ba.value)]:aa.value.Vueform),xi=computed(()=>new MergeClasses({component:"Vueform",component$:un,theme:Kr.value,config:Gt.value.config,templates:aa.value,view:ba.value,locals:fn.value,merge:[fn.value]}).classes),Za=computed(()=>{var Zt;return fn.value.size?Zt=fn.value.size:each(Gt.value.config.usePresets.concat(fn.value.presets),vn=>{var En=Gt.value.config.presets[vn];!En||!En.size||(Zt=En.size)}),Zt||(Zt=Gt.value.config.size),Zt}),ya=computed(()=>{var Zt=Gt.value.config.views;return each(Gt.value.config.usePresets.concat(fn.value.presets),vn=>{var En=Gt.value.config.presets[vn];!En||!En.views||(Zt=Object.assign({},Zt,En.views))}),Zt=Object.assign({},Zt,fn.value.views),Zt}),ba=computed(()=>fn.value.view?fn.value.view:ya.value.Vueform),Xa=computed(()=>{var Zt=St.$vueform.i18n,vn=Zt.locales,En=j.value||Zt.locale,$n=Zt.fallbackLocale||"en";return En?merge_1({},vn[$n],vn[En]):vn[$n]}),Da=function(vn){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(En){oa(En).update(vn);return}each(an.value,$n=>{$n.isStatic||vn[$n.name]===void 0&&!$n.flat||$n.update($n.flat?vn:vn[$n.name])})},Qa=function(){var Zt=_asyncToGenerator(function*(vn){var En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;wn.value!==null&&wn.value.enableAllSteps();var $n=En&&fn.value.formatLoad!==null?fn.value.formatLoad(vn):vn;yield asyncForEach(an.value,function(){var In=_asyncToGenerator(function*(Zn){if(!Zn.isStatic){var sa=Zn.flat?$n:$n[Zn.name];if(sa===void 0){Zn.clear();return}yield Zn.load(sa,En)}});return function(Zn){return In.apply(this,arguments)}}())});return function(En){return Zt.apply(this,arguments)}}(),ia=()=>{each(an.value,Zt=>{Zt.isStatic||Zt.reset()}),wn.value!==null&&wn.value.reset(),sn.value!==null&&sn.value.reset(),xt("reset")},Ti=()=>{each(an.value,Zt=>{Zt.isStatic||Zt.clear()}),wn.value!==null&&wn.value.reset(),sn.value!==null&&sn.value.reset(),xt("clear")},Ai=()=>{each(an.value,Zt=>{Zt.isStatic||Zt.clean()})},$o=()=>{dn.value&&dn.value.clear(),each(an.value,Zt=>{Zt.isStatic||Zt.clearMessages()})},ei=function(){var Zt=_asyncToGenerator(function*(){if(!(!or.value&&It.value&&Oa.value)){var vn=Object.values(an.value).filter(En=>En.available&&!En.isStatic&&(!En.validated||!Oa.value));yield asyncForEach(vn,function(){var En=_asyncToGenerator(function*($n){yield $n.validate()});return function($n){return En.apply(this,arguments)}}())}});return function(){return Zt.apply(this,arguments)}}(),ti=()=>{each(an.value,Zt=>{Zt.isStatic||Zt.resetValidators()})},ni=function(){var Zt=_asyncToGenerator(function*(){if(!ki.value&&(yield ei(),!or.value)){Oe.value=!0;try{yield Oi(),typeof fn.value.prepare=="function"&&(yield fn.value.prepare(un.value)),typeof St.$vueform.config.beforeSend=="function"&&(yield St.$vueform.config.beforeSend(un.value))}catch(vn){xt("error",vn,{type:"prepare"},un.value),console.error(vn);return}finally{Oe.value=!1}xt("submit",un.value),fn.value.endpoint&&ri()}});return function(){return Zt.apply(this,arguments)}}(),ri=function(){var Zt=_asyncToGenerator(function*(){bn.value=!0;var vn={};try{var En,$n;ti();var In=fn.value.formData(un.value);if(typeof fn.value.endpoint=="function")vn=yield fn.value.endpoint(In,un.value);else{var Zn,sa,Ro=((Zn=St.$vueform.config.endpoints[fn.value.endpoint])===null||Zn===void 0?void 0:Zn.url)||fn.value.endpoint,Ni=((sa=St.$vueform.config.endpoints[fn.value.endpoint])===null||sa===void 0?void 0:sa.method)||fn.value.method;vn=yield cn.value.axios.request({url:Ro,method:Ni.toLowerCase(),[Ni.toLowerCase()==="get"?"params":"data"]:In})}if(vn&&!(vn instanceof Promise)){var Br;(Br=vn)!==null&&Br!==void 0&&(Br=Br.data)!==null&&Br!==void 0&&(Br=Br.payload)!==null&&Br!==void 0&&Br.updates&&Da(vn.data.payload.updates)}((En=vn)===null||En===void 0?void 0:En.status)>=200&&(($n=vn)===null||$n===void 0?void 0:$n.status)<300?xt("success",vn,un.value):xt("error",{response:vn},{type:"submit"},un.value)}catch(Na){Na.response&&xt("response",Na.response,un.value),xt("error",Na,{type:"submit"},un.value),console.error(Na);return}finally{bn.value=!1}xt("response",vn,un.value)});return function(){return Zt.apply(this,arguments)}}(),Oi=function(){var Zt=_asyncToGenerator(function*(){try{yield asyncForEach(an.value,function(){var vn=_asyncToGenerator(function*(En){En.prepare&&(yield En.prepare())});return function(En){return vn.apply(this,arguments)}}())}catch(vn){throw new Error(vn)}});return function(){return Zt.apply(this,arguments)}}(),Co=()=>{Cn.value=!1},Eo=()=>{Cn.value=!0},Ri=()=>{gn.value=!0},xo=()=>{gn.value=!1},ai=Zt=>{Ye.value=Zt,xt("language",Zt)},To=()=>{ni()},Ao=Zt=>getFormData(Zt),oa=(Zt,vn)=>{if(vn===void 0&&(vn=an.value),isEmpty_1(vn)||!Zt)return null;var En=String(Zt).match(/^[^.]+\./);if(En){var $n=En[0].replace(".","");return vn[$n]?oa(Zt.replace(En[0],""),vn[$n].children$):null}else if(vn[Zt]!==void 0)return vn[Zt];return null},Oo=Zt=>{var vn;return/\.+/.test(Zt)?((vn=oa(Zt.match(/.*(?=\.)/)[0]))===null||vn===void 0?void 0:vn.children$)||{}:an.value},Di=()=>{dn.value=new cn.value.messageBag(On)};return provide("form$",un),provide("theme",Kr),provide("Size",Za),provide("Views",ya),provide("translations",Xa),provide("config$",_n),Di(),ai(fn.value.language),onBeforeMount(()=>{Rt.value=St.vueform||{},each(Tt,Zt=>{var vn=fn.value["on"+upperFirst_1(Zt)];vn&&Kt(Zt,vn)}),xt("beforeMount",St)}),onMounted(()=>{oe.value=!0,watch(Kn,(Zt,vn)=>{dataEquals(Zt,vn)||(xt("change",Zt,vn,St),hn&&hn.value!==void 0&&(u.emit("input",Zt),u.emit("update:modelValue",Zt)))},{deep:!0,immediate:!1}),hn&&hn.value!==void 0&&JSON.stringify(hn.value)!==JSON.stringify(Kn.value)&&(u.emit("input",Kn.value),u.emit("update:modelValue",Kn.value)),xt("mounted",St)}),onBeforeUpdate(()=>xt("beforeUpdate",St)),onUpdated(()=>xt("updated",St)),onBeforeUnmount(()=>xt("beforeUnmount",St)),onUnmounted(()=>xt("unmounted",St)),watch(computed(()=>fn.value.language),(Zt,vn)=>{Zt&&ai(Zt)}),{tabs$:sn,steps$:wn,elements$:an,options:fn,validation:Cn,conditions:gn,messageBag:dn,selectedLanguage:Ye,submitting:bn,preparing:Oe,events:Wt,listeners:$t,internalData:Et,data:Kn,requestData:dr,dirty:xr,invalid:or,debouncing:Ir,pending:he,validated:It,busy:pn,formErrors:Gn,formMessages:ra,isDisabled:ki,isLoading:Si,shouldValidateOnChange:Oa,shouldValidateOnStep:$i,hasSteps:Ra,hasTabs:Ya,hasErrors:Ur,hasMessages:Pr,isMultilingual:Ja,showErrors:Ka,showMessages:_i,showLanguages:ko,showSteps:Ci,showTabs:Ei,showStepsControls:Ga,classes:xi,Templates:aa,template:So,extendedTheme:Kr,Size:Za,View:ba,Views:ya,form$:un,model:kt,intermediaryValue:zt,userConfig:Rt,isSync:Yt,tree:ir,flatTree:nr,translations:Xa,locale$:nn,prepareElements:Oi,updateModel:mn,update:Da,load:Qa,reset:ia,clear:Ti,clean:Ai,clearMessages:$o,validate:ei,resetValidators:ti,convertFormData:Ao,submit:ni,send:ri,disableValidation:Co,enableValidation:Eo,enableConditions:Ri,disableConditions:xo,setLanguage:ai,handleSubmit:To,el$:oa,siblings$:Oo,initMessageBag:Di,fire:xt,on:Kt,off:ln,messagesRegistered:pe,errorsRegistered:Ne,languagesRegistered:Nt,tabsRegistered:qt,stepsRegistered:tn}},base$18=function a(i,u,c){var d=u.name,m=c.form$,f=c.el$,v=c.component$||c.el$,g=c.theme,y=c.Templates,b=c.View,w=computed(()=>new MergeClasses({component:d.value,component$:v,theme:g.value,config:m.value.$vueform.config,templates:y.value,view:b.value,merge:[m.value.options,f.value]})),k=computed(()=>{var $;return _objectSpread2$1({},($=w.value)===null||$===void 0?void 0:$.classes)});return{classes:k,classesInstance:w}},VueformComponent={name:"Vueform",emits:["input","update:modelValue","change","reset","clear","submit","success","error","response","language","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],slots:["default","empty"],setup:(a,i)=>{i.emits=["input","update:modelValue","change","reset","clear","submit","success","error","response","language","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],i.name=ref("Vueform");var{tabs$:u,steps$:c,elements$:d,options:m,validation:f,conditions:v,messageBag:g,selectedLanguage:y,submitting:b,preparing:w,events:k,listeners:$,internalData:S,data:C,requestData:E,dirty:D,invalid:A,debouncing:O,pending:F,validated:B,busy:I,formErrors:M,formMessages:z,isDisabled:q,isLoading:H,shouldValidateOnChange:Q,shouldValidateOnStep:j,hasSteps:ee,hasTabs:G,hasErrors:J,hasMessages:te,isMultilingual:re,showErrors:ae,showMessages:ye,showLanguages:ve,showSteps:le,showTabs:Se,showStepsControls:De,classes:At,Templates:Le,template:ke,extendedTheme:ue,Size:Ce,View:Te,Views:Pe,form$:Vt,model:Ie,intermediaryValue:ie,userConfig:de,isSync:Fe,tree:We,flatTree:wt,translations:jt,locale$:Ut,prepareElements:Tt,updateModel:Ft,update:St,load:Wt,reset:$t,clear:xt,clean:Kt,clearMessages:ln,validate:hn,resetValidators:kt,convertFormData:Et,submit:zt,send:Yt,disableValidation:mn,enableValidation:an,enableConditions:sn,disableConditions:wn,setLanguage:Cn,handleSubmit:gn,el$:dn,siblings$:bn,initMessageBag:Oe,fire:Ye,on:Rt,off:oe,messagesRegistered:pe,errorsRegistered:Ne,languagesRegistered:Nt,tabsRegistered:qt,stepsRegistered:tn}=base$19(a,i);return{tabs$:u,steps$:c,elements$:d,options:m,validation:f,conditions:v,messageBag:g,selectedLanguage:y,submitting:b,preparing:w,events:k,listeners:$,internalData:S,data:C,requestData:E,dirty:D,invalid:A,debouncing:O,pending:F,validated:B,busy:I,formErrors:M,formMessages:z,isDisabled:q,isLoading:H,shouldValidateOnChange:Q,shouldValidateOnStep:j,hasSteps:ee,hasTabs:G,hasErrors:J,hasMessages:te,isMultilingual:re,showErrors:ae,showMessages:ye,showLanguages:ve,showSteps:le,showTabs:Se,showStepsControls:De,classes:At,Templates:Le,template:ke,extendedTheme:ue,Size:Ce,View:Te,Views:Pe,form$:Vt,model:Ie,intermediaryValue:ie,userConfig:de,isSync:Fe,tree:We,flatTree:wt,translations:jt,locale$:Ut,prepareElements:Tt,updateModel:Ft,update:St,load:Wt,reset:$t,clear:xt,clean:Kt,clearMessages:ln,validate:hn,resetValidators:kt,convertFormData:Et,submit:zt,send:Yt,disableValidation:mn,enableValidation:an,enableConditions:sn,disableConditions:wn,setLanguage:Cn,handleSubmit:gn,el$:dn,siblings$:bn,initMessageBag:Oe,fire:Ye,on:Rt,off:oe,messagesRegistered:pe,errorsRegistered:Ne,languagesRegistered:Nt,tabsRegistered:qt,stepsRegistered:tn}},props:{schema:{type:Object,required:!1,default:null},name:{type:String,required:!1,default:null,private:!0},tabs:{type:Object,required:!1,default:null},steps:{type:Object,required:!1,default:null},stepsControls:{type:Boolean,required:!1,default:null,"@default":!0},validateOn:{type:String,required:!1,default:null},displayErrors:{type:Boolean,required:!1,default:null},displayMessages:{type:Boolean,required:!1,default:null},messages:{type:Object,required:!1,default:null},endpoint:{type:[String,Boolean,Function],required:!1,default:null},method:{type:String,required:!1,default:null},prepare:{type:Function,required:!1,default:null},formKey:{type:[String,Number],required:!1,default:null},formData:{type:Function,required:!1,default:null},value:{type:Object,required:!1,default:void 0},modelValue:{type:Object,required:!1,default:void 0},sync:{type:Boolean,required:!1,default:!1},default:{type:Object,required:!1,default:null},forceNumbers:{required:!1,type:[Boolean],default:null},formatData:{type:Function,required:!1,default:null},formatLoad:{type:Function,required:!1,default:null},loading:{type:Boolean,required:!1,default:null},disabled:{type:Boolean,required:!1,default:null},columns:{type:Object,required:!1,default:null},forceLabels:{type:Boolean,required:!1,default:null},floatPlaceholders:{type:Boolean,required:!1,default:null},size:{required:!1,type:[String],default:null},view:{required:!1,type:[String],default:null},views:{required:!1,type:[Object],default:null},addClasses:{required:!1,type:[Object,Function],default:null},addClass:{required:!1,type:[Array,Object,String,Function],default:null},removeClasses:{required:!1,type:[Object,Function],default:null},removeClass:{required:!1,type:[Array,Object,Function],default:null},replaceClasses:{required:!1,type:[Object,Function],default:null},replaceClass:{required:!1,type:[Object,Function],default:null},overrideClasses:{required:!1,type:[Object,Function],default:null},overrideClass:{required:!1,type:[Array,Object,String,Function],default:null},templates:{type:Object,required:!1,default:null},presets:{required:!1,type:[Array],default:null},multilingual:{type:Boolean,required:!1,default:null},languages:{type:Object,required:!1,default:null},language:{type:String,required:!1,default:null},locale:{type:String,required:!1,default:null},onChange:{required:!1,type:[Function],default:null,private:!0},onReset:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onSubmit:{required:!1,type:[Function],default:null,private:!0},onSuccess:{required:!1,type:[Function],default:null,private:!0},onError:{required:!1,type:[Function],default:null,private:!0},onLanguage:{required:!1,type:[Function],default:null,private:!0},onBeforeMount:{required:!1,type:[Function],default:null,private:!0},onMounted:{required:!1,type:[Function],default:null,private:!0},onBeforeUpdate:{required:!1,type:[Function],default:null,private:!0},onUpdated:{required:!1,type:[Function],default:null,private:!0},onBeforeUnmount:{required:!1,type:[Function],default:null,private:!0},onUnmounted:{required:!1,type:[Function],default:null,private:!0}},render(){return this.template.render.apply(this,arguments)}},baseEach$1=_baseEach,isArrayLike$2=isArrayLike_1;function baseMap$2(a,i){var u=-1,c=isArrayLike$2(a)?Array(a.length):[];return baseEach$1(a,function(d,m,f){c[++u]=i(d,m,f)}),c}var _baseMap=baseMap$2,arrayMap$3=_arrayMap,baseIteratee$5=_baseIteratee,baseMap$1=_baseMap,isArray$4=isArray_1;function map$1(a,i){var u=isArray$4(a)?arrayMap$3:baseMap$1;return u(a,baseIteratee$5(i))}var map_1=map$1,baseGetTag=_baseGetTag,isArray$3=isArray_1,isObjectLike=isObjectLike_1,stringTag="[object String]";function isString$1(a){return typeof a=="string"||!isArray$3(a)&&isObjectLike(a)&&baseGetTag(a)==stringTag}var isString_1=isString$1,reWhitespace=/\s/;function trimmedEndIndex$1(a){for(var i=a.length;i--&&reWhitespace.test(a.charAt(i)););return i}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$2(a){return a&&a.slice(0,trimmedEndIndex(a)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$2,baseIndexOf$2=_baseIndexOf;function charsEndIndex$1(a,i){for(var u=a.length;u--&&baseIndexOf$2(i,a[u],0)>-1;);return u}var _charsEndIndex=charsEndIndex$1,baseIndexOf$1=_baseIndexOf;function charsStartIndex$1(a,i){for(var u=-1,c=a.length;++u<c&&baseIndexOf$1(i,a[u],0)>-1;);return u}var _charsStartIndex=charsStartIndex$1,baseToString$2=_baseToString,baseTrim$1=_baseTrim,castSlice=_castSlice,charsEndIndex=_charsEndIndex,charsStartIndex=_charsStartIndex,stringToArray=_stringToArray,toString$3=toString_1;function trim(a,i,u){if(a=toString$3(a),a&&(u||i===void 0))return baseTrim$1(a);if(!a||!(i=baseToString$2(i)))return a;var c=stringToArray(a),d=stringToArray(i),m=charsStartIndex(c,d),f=charsEndIndex(c,d)+1;return castSlice(c,m,f).join("")}var trim_1=trim,Validator=class{constructor(a,i){var u;this.rule=a,this.attributes=a.attributes||{},this.conditions=a.conditions||[],this.dependents=a.dependents||[],this.element$=i.element$,this.form$=((u=i.element$)===null||u===void 0?void 0:u.form$)||{},this.numeric=i.numeric||!1,this.elementMessages=i.element$.messages,this.invalid=!1,this.pending=!1,this.debouncer=null,this.lastValue=null,this.watchers={},this.dependents.forEach(c=>{watch(computed(()=>get_1(this.form$.data,c)),()=>{this.element$.validated&&(this.name==="nullable"?this.element$.validate():this.revalidate())})}),watch(computed(()=>i.element$.messages),(c,d)=>{isEqual_1(c,d)||(this.elementMessages=i.element$.messages)},{deep:!0}),this.init()}get name(){return this.rule.name}get failing(){return this.invalid}get defaultMessage(){return this.form$.translations.vueform.defaultMessage}get message(){var a,i="";return this.elementMessages[this.name]?i=this.elementMessages[this.name]:this.form$.options.messages[this.name]?i=this.form$.options.messages[this.name]:this.name!=="_class"&&((a=this.form$.translations.validation)===null||a===void 0?void 0:a[this.name])!==void 0?(i=this.form$.translations.validation[this.name],isPlainObject_1(i)&&(i=i[this.messageType])):i=this.defaultMessage,each(map_1(i.match(/:\w+/g),u=>u.replace(":","")),u=>{i=i.replace(":".concat(u),this.messageParams[u])}),each(map_1(i.match(/{[^}]+/g),u=>u.replace("{","")),u=>{i=i.replace("{".concat(u,"}"),this.messageParams[u])}),i}get messageType(){return this.isNumeric?"numeric":this.isFile?"file":this.isArray?"array":"string"}get messageParams(){return{attribute:this.attributeName}}get attributeName(){return this.element$.genericName}get type(){return this.isNumeric?"numeric":this.isFile?"file":this.isArray?"array":"string"}get isNumeric(){return some_1(this.element$.Validators,{name:"numeric"})||some_1(this.element$.Validators,{name:"integer"})}get isNullable(){var a=!1;return each(this.element$.Validators,i=>{if(i.name==="nullable"){if(!i.conditions.length){a=!0;return}a=i.conditions(this.form$,this,this.element$)}}),a}get isFile(){return this.element$.isFileType}get isArray(){return this.element$.isArrayType}get isAsync(){return!1}get debounce(){return this.attributes.debounce?this.attributes.debounce:this.element$.debounce?this.element$.debounce:!1}get debouncing(){return this.debouncer!==null}init(){}validate(a){var i=this;return _asyncToGenerator(function*(){if(a===void 0){var u;a=(u=i.element$)===null||u===void 0?void 0:u.value}if(i.form$.validation){if(i.isNullable&&!i.filled(a)){i.invalid=!1;return}if(i.conditions.length&&!i.conditions(i.form$,i,i.element$)){i.invalid=!1;return}i.debounce&&i.filled(a)?yield i._validateWithDebounce(a):(i.debounce&&i.debouncer&&clearTimeout(i.debouncer),yield i._validate(a))}})()}reset(){this.invalid=!1}watch(a){Array.isArray(a)||(a=[a]),a.forEach(i=>{this.addWatcher(i)})}addWatcher(a){this.watchers[a]||(this.watchers[a]=watch(computed(()=>get_1(this.form$.data,a)),()=>{this.revalidate()}))}revalidate(){this.element$.Validators.forEach(a=>{a.rule.name===this.rule.name&&a.validate()})}watchOther(){this.form$.$nextTick(()=>{this.other$&&this.form$.$watch(()=>{var a;return(a=this.other$)===null||a===void 0?void 0:a.value},()=>{this.element$.validated&&this.element$.validate()})})}size(a){if(this.isNumeric){if(!isNaN(a)){var i=parseFloat(a);return Number.isInteger(i)?parseInt(a):i}return null}else{if(this.isFile)return a?a.size/1e3:0;if(this.isArray)return a.length;if(a===null)return 0;if(a===void 0)return 0;if(a==="")return 0}return String(a).length}filled(a){return a===void 0||a===null&&a!==this.element$.trueValue||a===this.element$.falseValue||this.isNumeric&&trim_1(a)===""||isString_1(a)&&trim_1(a)===""||isArray_1(a)&&a.length<1?!1:!(a instanceof File&&a.name==="")}_validate(a){var i=this;return _asyncToGenerator(function*(){i.isAsync?yield i._validateAsync(a):i._validateSync(a)})()}_validateAsync(a){var i=this;return _asyncToGenerator(function*(){i.lastValue=a,i.pending=!0;var u=yield i.check(a);dataEquals(i.lastValue,a)&&(i.invalid=!u,i.pending=!1)})()}_validateSync(a){this.invalid=!this.check(a)}_validateWithDebounce(a){var i=this;return _asyncToGenerator(function*(){return new Promise((u,c)=>{i.debouncer&&(u(),clearTimeout(i.debouncer)),i.debouncer=setTimeout(_asyncToGenerator(function*(){yield i._validate(a),i.debouncer=null,u()}),i.debounce)})})()}};function last$1(a){var i=a==null?0:a.length;return i?a[i-1]:void 0}var last_1=last$1,baseGet$2=_baseGet,baseSlice=_baseSlice;function parent$1(a,i){return i.length<2?a:baseGet$2(a,baseSlice(i,0,-1))}var _parent=parent$1,castPath$2=_castPath,last=last_1,parent=_parent,toKey=_toKey;function baseUnset$1(a,i){return i=castPath$2(i,a),a=parent(a,i),a==null||delete a[toKey(last(i))]}var _baseUnset=baseUnset$1,isPlainObject=isPlainObject_1;function customOmitClone$1(a){return isPlainObject(a)?void 0:a}var _customOmitClone=customOmitClone$1,baseFlatten$4=_baseFlatten;function flatten$2(a){var i=a==null?0:a.length;return i?baseFlatten$4(a,1):[]}var flatten_1=flatten$2,flatten$1=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$2(a){return setToString(overRest(a,void 0,flatten$1),a+"")}var _flatRest=flatRest$2,arrayMap$2=_arrayMap,baseClone$1=_baseClone,baseUnset=_baseUnset,castPath$1=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest$1=_flatRest,getAllKeysIn=_getAllKeysIn,CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,omit=flatRest$1(function(a,i){var u={};if(a==null)return u;var c=!1;i=arrayMap$2(i,function(m){return m=castPath$1(m,a),c||(c=m.length>1),m}),copyObject(a,getAllKeysIn(a),u),c&&(u=baseClone$1(u,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG$1,customOmitClone));for(var d=i.length;d--;)baseUnset(u,i[d]);return u}),omit_1=omit,baseGet$1=_baseGet,baseSet=_baseSet,castPath=_castPath;function basePickBy$1(a,i,u){for(var c=-1,d=i.length,m={};++c<d;){var f=i[c],v=baseGet$1(a,f);u(v,f)&&baseSet(m,castPath(f,a),v)}return m}var _basePickBy=basePickBy$1,basePickBy=_basePickBy,hasIn=hasIn_1;function basePick$1(a,i){return basePickBy(a,i,function(u,c){return hasIn(a,c)})}var _basePick=basePick$1,basePick=_basePick,flatRest=_flatRest,pick=flatRest(function(a,i){return a==null?{}:basePick(a,i)}),pick_1=pick,SetCache=_SetCache,arrayIncludes=_arrayIncludes,arrayIncludesWith=_arrayIncludesWith,arrayMap$1=_arrayMap,baseUnary$1=_baseUnary,cacheHas=_cacheHas,LARGE_ARRAY_SIZE=200;function baseDifference$2(a,i,u,c){var d=-1,m=arrayIncludes,f=!0,v=a.length,g=[],y=i.length;if(!v)return g;u&&(i=arrayMap$1(i,baseUnary$1(u))),c?(m=arrayIncludesWith,f=!1):i.length>=LARGE_ARRAY_SIZE&&(m=cacheHas,f=!1,i=new SetCache(i));e:for(;++d<v;){var b=a[d],w=u==null?b:u(b);if(b=c||b!==0?b:0,f&&w===w){for(var k=y;k--;)if(i[k]===w)continue e;g.push(b)}else m(i,w,c)||g.push(b)}return g}var _baseDifference=baseDifference$2,baseDifference$1=_baseDifference,baseRest$2=_baseRest,isArrayLikeObject$1=isArrayLikeObject_1,without=baseRest$2(function(a,i){return isArrayLikeObject$1(a)?baseDifference$1(a,i):[]}),without_1=without,flat=flatten;flatten.flatten=flatten;flatten.unflatten=unflatten;function isBuffer(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten(a,i){i=i||{};const u=i.delimiter||".",c=i.maxDepth,d=i.transformKey||keyIdentity,m={};function f(v,g,y){y=y||1,Object.keys(v).forEach(function(b){const w=v[b],k=i.safe&&Array.isArray(w),$=Object.prototype.toString.call(w),S=isBuffer(w),C=$==="[object Object]"||$==="[object Array]",E=g?g+u+d(b):d(b);if(!k&&!S&&C&&Object.keys(w).length&&(!i.maxDepth||y<c))return f(w,E,y+1);m[E]=w})}return f(a),m}function unflatten(a,i){i=i||{};const u=i.delimiter||".",c=i.overwrite||!1,d=i.transformKey||keyIdentity,m={};if(isBuffer(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function v(b){const w=Number(b);return isNaN(w)||b.indexOf(".")!==-1||i.object?b:w}function g(b,w,k){return Object.keys(k).reduce(function($,S){return $[b+u+S]=k[S],$},w)}function y(b){const w=Object.prototype.toString.call(b),k=w==="[object Array]",$=w==="[object Object]";if(b){if(k)return!b.length;if($)return!Object.keys(b).length}else return!0}return a=Object.keys(a).reduce(function(b,w){const k=Object.prototype.toString.call(a[w]);return!(k==="[object Object]"||k==="[object Array]")||y(a[w])?(b[w]=a[w],b):g(w,b,flatten(a[w],i))},{}),Object.keys(a).forEach(function(b){const w=b.split(u).map(d);let k=v(w.shift()),$=v(w[0]),S=m;for(;$!==void 0;){if(k==="__proto__")return;const C=Object.prototype.toString.call(S[k]),E=C==="[object Object]"||C==="[object Array]";if(!c&&!E&&typeof S[k]<"u")return;(c&&!E||!c&&S[k]==null)&&(S[k]=typeof $=="number"&&!i.object?[]:{}),S=S[k],w.length>0&&(k=v(w.shift()),$=v(w[0]))}S[k]=unflatten(a[b],i)}),m}var baseDifference=_baseDifference,baseFlatten$3=_baseFlatten,baseRest$1=_baseRest,isArrayLikeObject=isArrayLikeObject_1,difference=baseRest$1(function(a,i){return isArrayLikeObject(a)?baseDifference(a,baseFlatten$3(i,1,isArrayLikeObject,!0)):[]}),difference_1=difference;function shouldApplyPlugin(a,i){if(!i.apply&&difference_1(Object.keys(i),["config","install"]).length>0)return!0;var u=i.apply;Array.isArray(u)||(u=[u]);var c=!1;return each(u,d=>{if(typeof d=="string"&&d===a)return c=!0,!1;if(typeof d=="object"&&d instanceof RegExp&&a.match(d))return c=!0,!1}),c}var name="@vueform/vueform",version$1="1.9.2",description="Open-Source Form Framework for Vue",homepage="https://vueform.com",license="MIT",authors=[{name:"Adam Berecz",email:"adam@vueform.com"}],sideEffects=["./themes/tailwind/templates/**/*.vue","./themes/vueform/templates/**/*.vue"],main$1="./dist/index.mjs",module$1="./dist/index.mjs",types="./types/index.d.ts",exports={".":{types:"./types/index.d.ts",default:"./dist/index.mjs"},"./core":{types:"./types/index.d.ts",default:"./dist/core.mjs"},"./core.js":{types:"./types/index.d.ts",default:"./dist/core.mjs"},"./element":"./element.mjs","./element.js":"./element.mjs","./plugin":"./plugin.mjs","./plugin.js":"./plugin.mjs","./locales/*.js":"./locales/*/index.mjs","./locales/*":"./locales/*/index.mjs","./src/*":"./src/*","./types/*":"./types/*","./dist/*.js":"./dist/*.mjs","./dist/*":"./dist/*.mjs","./dist/*.css":"./dist/*.css","./tailwind":"./tailwind.js","./tailwind.js":"./tailwind.js","./vite":"./vite.js","./vite.js":"./vite.js","./vite.d.ts":"./vite.d.ts","./tailwind-prefixer":"./tailwind-prefixer.js","./tailwind-prefixer.js":"./tailwind-prefixer.js","./postcss.config":"./postcss.config.js","./postcss.config.js":"./postcss.config.js","./tailwind.config":"./tailwind.config.js","./tailwind.config.js":"./tailwind.config.js","./package.json":"./package.json","./themes/blank/templates/*":"./themes/blank/templates/*","./themes/blank/*":"./themes/blank/*.mjs","./themes/blank/*.js":"./themes/blank/*.mjs","./themes/bootstrap/css/*":"./themes/bootstrap/css/*","./themes/bootstrap/scss/*":"./themes/bootstrap/scss/*","./themes/bootstrap/*":"./themes/bootstrap/*.mjs","./themes/bootstrap/*.js":"./themes/bootstrap/*.mjs","./themes/bootstrap.js":"./themes/bootstrap/index.mjs","./themes/material/css/*":"./themes/material/css/*","./themes/material/scss/*":"./themes/material/scss/*","./themes/material/*":"./themes/material/*.mjs","./themes/material/*.js":"./themes/material/*.mjs","./themes/material.js":"./themes/material/index.mjs","./themes/tailwind/templates/*":"./themes/tailwind/templates/*","./themes/tailwind/*":"./themes/tailwind/*.mjs","./themes/tailwind/*.js":"./themes/tailwind/*.mjs","./themes/tailwind.js":"./themes/tailwind/index.mjs","./themes/tailwind-material/css/*":"./themes/tailwind-material/css/*","./themes/tailwind-material/scss/*":"./themes/tailwind-material/scss/*","./themes/tailwind-material/*":"./themes/tailwind-material/*.mjs","./themes/tailwind-material/*.js":"./themes/tailwind-material/*.mjs","./themes/tailwind-material.js":"./themes/tailwind-material/index.mjs","./themes/vueform/css/*":"./themes/vueform/css/*","./themes/vueform/scss/*":"./themes/vueform/scss/*","./themes/vueform/templates/*":"./themes/vueform/templates/*","./themes/vueform/*":"./themes/vueform/*.mjs","./themes/vueform/*.js":"./themes/vueform/*.mjs","./themes/vueform.js":"./themes/vueform/index.mjs","./themes/*":{types:"./dist/*.d.mts",default:"./themes/*/index.mjs"}},scripts={build:"npm run build3 && npm run build2 && npm run generate",build2:"node ./scripts/pre-build-vue2 && rollup --config build/rollup.vue2.config.js && node ./scripts/post-build-vue2",build3:"rollup --config build/rollup.config.js",test:'npm run generate:elements-base && NODE_OPTIONS="--max_old_space_size=5120 --no-experimental-fetch" VUE=3 jest --config=./tests/jest.config.js',"generate:types":"npx babel-node scripts/generate-types.js --presets @babel/preset-env","generate:common-features":"npx babel-node scripts/generate-common-features.js --presets @babel/preset-env","generate:element-features":"npx babel-node scripts/generate-element-features.js --presets @babel/preset-env","generate:elements-base":"npx babel-node scripts/generate-elements-base.js --presets @babel/preset-env","generate:elements":"npx babel-node scripts/generate-elements.js --presets @babel/preset-env","generate:components":"npx babel-node scripts/generate-components.js --presets @babel/preset-env",generate:"npm run generate:common-features; npm run generate:element-features; npm run generate:elements-base; npm run generate:elements; npm run generate:components; npm run generate:types","fix-locales":"npx babel-node --presets @babel/preset-env ./scripts/fix-locales.js"},devDependencies={"@babel/core":"^7.2.2","@babel/node":"^7.12.10","@babel/preset-env":"^7.3.1","@rollup/plugin-alias":"^5.1.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^22.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@testing-library/jest-dom":"^5.11.5","@vue/compiler-sfc":"^3.0.0","@vue/test-utils":"2.0.0-rc.16",autoprefixer:"^9",autosize:"^6.0.1","babel-core":"^7.0.0-bridge.0","babel-loader":"^8.0.5","core-js":"^3.10.1","css-loader":"^2.1.0",flat:"^5.0.2",flatpickr:"^4.6.13","flush-promises":"^1.0.2","html-loader":"^1.3.2",jest:"^27.3.1","jest-canvas-mock":"^2.3.1","jest-environment-jsdom-sixteen":"^1.0.3","jest-transform-stub":"^2.0.0","json-loader":"^0.5.7",locutus:"^2.0.16","module-alias":"^2.2.3",moxios:"^0.4.0","mutationobserver-shim":"^0.3.7",ncp:"^2.0.0","rollup-plugin-license":"^3.2.0","rollup-plugin-postcss":"^4.0.1","rollup-plugin-terser":"^7.0.2","rollup-plugin-vue":"^6.0.0","rollup-plugin-vue2":"npm:rollup-plugin-vue@^5.1.9","sass-loader":"^7.1.0",sortablejs:"^1.15.0",tailwindcss:"npm:@tailwindcss/postcss7-compat@^2.0.2",vue:"3.3.13","vue-jest":"npm:@vue/vue3-jest@^27.0.0-alpha.1","vue-loader":"^15.10.0","vue-template-compiler":"^2.7.8",vue2:"npm:vue@^2.7.0"},dependencies={"@popperjs/core":"^2.11.8","@vueform/multiselect":"^2.6.3","@vueform/slider":"^2.1.7",lodash:"^4.17.21","@vueform/toggle":"^2.1.3",axios:"^1.5.0",color:"^4.2.3","mini-svg-data-uri":"^1.4.4",moment:"^2.29.4",nouislider:"^15.7.1",sass:"^1.66.1",trix:"^1.0.5",wnumb:"^1.2.0"},packageJson={private:!1,name,version:version$1,description,homepage,license,authors,sideEffects,main:main$1,module:module$1,types,exports,scripts,devDependencies,dependencies},baseFlatten$2=_baseFlatten,map=map_1;function flatMap(a,i){return baseFlatten$2(map(a,i),1)}var flatMap_1=flatMap,normalize$1=function a(i){return i===void 0||typeof i!="string"?i:i.match(/^-*\d+$/)?parseInt(i,10):i.match(/^\d+\.\d+$/)?parseFloat(i):i},parse=a=>{var i=()=>a.split(":")[0],u=()=>{var c=a.split(":");if(c.length<=1)return null;var d={},m=c[0];c.shift();var f=c.join(":");return["regex","not_regex"].indexOf(m)!==-1?(d[0]=f,d):(each(f.split(","),(v,g)=>{var y=v.split("=");y.length<=1?d[g]=normalize$1(v):d[y[0]]=normalize$1(y[1])}),d)};return{name:i(),attributes:u()}};function replaceWildcards(a,i){return i.match(/\.([0-9]+)(?![a-zA-Z]+)/g)&&i.match(/\.([0-9]+)(?![a-zA-Z]+)/g).forEach(u=>{a=a.replace(".*",u)}),a}var baseTrim=_baseTrim,isObject$c=isObject_1,isSymbol$1=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$1(a){if(typeof a=="number")return a;if(isSymbol$1(a))return NAN;if(isObject$c(a)){var i=typeof a.valueOf=="function"?a.valueOf():a;a=isObject$c(i)?i+"":i}if(typeof a!="string")return a===0?a:+a;a=baseTrim(a);var u=reIsBinary.test(a);return u||reIsOctal.test(a)?freeParseInt(a.slice(2),u?2:8):reIsBadHex.test(a)?NAN:+a}var toNumber_1=toNumber$1,toNumber=toNumber_1,INFINITY=1/0,MAX_INTEGER=17976931348623157e292;function toFinite$1(a){if(!a)return a===0?a:0;if(a=toNumber(a),a===INFINITY||a===-INFINITY){var i=a<0?-1:1;return i*MAX_INTEGER}return a===a?a:0}var toFinite_1=toFinite$1,toFinite=toFinite_1;function toInteger$5(a){var i=toFinite(a),u=i%1;return i===i?u?i-u:i:0}var toInteger_1=toInteger$5,baseIndexOf=_baseIndexOf,isArrayLike$1=isArrayLike_1,isString=isString_1,toInteger$4=toInteger_1,values=values_1,nativeMax$2=Math.max;function includes(a,i,u,c){a=isArrayLike$1(a)?a:values(a),u=u&&!c?toInteger$4(u):0;var d=a.length;return u<0&&(u=nativeMax$2(d+u,0)),isString(a)?u<=d&&a.indexOf(i,u)>-1:!!d&&baseIndexOf(a,i,u)>-1}var includes_1=includes;function baseClamp$2(a,i,u){return a===a&&(u!==void 0&&(a=a<=u?a:u),i!==void 0&&(a=a>=i?a:i)),a}var _baseClamp=baseClamp$2,baseClamp$1=_baseClamp,baseToString$1=_baseToString,toInteger$3=toInteger_1,toString$2=toString_1;function startsWith(a,i,u){return a=toString$2(a),u=u==null?0:baseClamp$1(toInteger$3(u),0,a.length),i=baseToString$1(i),a.slice(u,u+i.length)==i}var startsWith_1=startsWith,baseClamp=_baseClamp,baseToString=_baseToString,toInteger$2=toInteger_1,toString$1=toString_1;function endsWith(a,i,u){a=toString$1(a),i=baseToString(i);var c=a.length;u=u===void 0?c:baseClamp(toInteger$2(u),0,c);var d=u;return u-=i.length,u>=0&&a.slice(u,d)==i}var endsWith_1=endsWith;function compare(a,i,u,c){if(!i)return!1;switch(a=Array.isArray(a)?a.map(f=>normalize$1(f)):normalize$1(a),u=Array.isArray(u)?u.map(f=>normalize$1(f)):normalize$1(u),i.toLowerCase()){case">":return isArray_1(a)?a.every(f=>f>u):a>u;case">=":return isArray_1(a)?a.every(f=>f>=u):a>=u;case"<":return isArray_1(a)?a.every(f=>f<u):a<u;case"<=":return isArray_1(a)?a.every(f=>f<=u):a<=u;case"between":return a>u[0]&&a<u[1];case"empty":if(isArray_1(a))return!a.length;if(a&&a instanceof File)return!1;if(a&&typeof a=="object"){var d=Object.values(a);return!d.length||d.every(f=>["",null,void 0].indexOf(f)!==-1)}else return["",null,void 0].indexOf(a)!==-1;case"not_empty":if(isArray_1(a))return!!a.length;if(a&&a instanceof File)return!0;if(a&&typeof a=="object"){var m=Object.values(a);return m.length&&m.some(f=>["",null,void 0].indexOf(f)===-1)}else return["",null,void 0].indexOf(a)===-1;case"==":case"in":return isArray_1(u)?isArray_1(a)?u.length?a.filter(f=>includes_1(u,f)).length>0:!a.length:u.indexOf(a)!==-1:isArray_1(a)?a.indexOf(u)!==-1:a==u;case"!=":case"not_in":return isArray_1(u)?isArray_1(a)?u.length?a.filter(f=>includes_1(u,f)).length==0:!!a.length:u.indexOf(a)===-1:isArray_1(a)?a.indexOf(u)===-1:a!=u;case"today":return isArray_1(a)||(a=[a]),a.length&&a.every(f=>hooks(f,c.valueDateFormat).isSame(hooks(),"day"));case"before":return isArray_1(a)||(a=[a]),a.length&&a.every(f=>{var v=hooks(f,c.valueDateFormat);return v.isValid()&&v.isBefore(hooks(u==="today"?void 0:u),"day")});case"after":return isArray_1(a)||(a=[a]),a.length&&a.every(f=>{var v=hooks(f,c.valueDateFormat);return v.isValid()&&v.isAfter(hooks(u==="today"?void 0:u),"day")});case"^":return startsWith_1(a,u);case"$":return endsWith_1(a,u);case"*":return includes_1(a,u)}}var Factory=class{constructor(a,i){this.form$=i,this.element$=i.el$(a)}get rules(){var a=Object.assign({},this.form$.$vueform.services.validation.rules,this.form$.$vueform.rules);return!a.in&&a.in_&&(a.in=a.in_),a}makeAll(a){var i=this.parseRules(a);return i.length==0?[]:map_1(i,u=>this.make(u))}make(a){var i=typeof a=="function"?a:this.rules[a.name];if(!i)throw new Error("Unknown rule: '".concat(a.name,"'"));return new i(a,{element$:this.element$})}parseRules(a){return isArray_1(a)||(a=a.split("|")),flatMap_1(a,i=>typeof i=="function"?i:this.isConditional(i)?this.parseConditional(i):this.parse(i))}parse(a){return parse(a)}isConditional(a){return isPlainObject_1(a)}parseConditional(a){var i=values_1(a)[0];Array.isArray(i[0])||(i=[i]);var u=_objectSpread2$1(_objectSpread2$1({},parse(keys_1(a)[0])),{},{conditions:(c,d,m)=>i.every(f=>isArray_1(f)?isArray_1(f[0])?f.some(v=>isArray_1(v)?this.createConditionFromArray(v)(c,d,m):f(c,d,m)):this.createConditionFromArray(f)(c,d,m):f(c,d,m)),dependents:[]});return i.forEach(c=>{isArray_1(c)&&(isArray_1(c[0])?c.forEach(d=>{isArray_1(d)&&u.dependents.push(replaceWildcards(d[0],this.element$.path))}):u.dependents.push(replaceWildcards(c[0],this.element$.path)))}),u}createConditionFromArray(a){var i=replaceWildcards(a[0],this.element$.path),u=a.length==3||["empty","not_empty","today"].indexOf(a[1])!==-1?a[1]:"==",c=a.length==3?a[2]:["empty","not_empty","today"].indexOf(a[1])===-1?a[1]:!0;return(d,m,f)=>{var v=get_1(d.requestData,i),g=c;return compare(v,u,g,this.element$)}}};class accepted extends Validator{check(i){return["yes","on","1",1,!0,"true"].indexOf(i)!==-1}}class active_url extends Validator{get isAsync(){return!0}check(i){var u=this;return _asyncToGenerator(function*(){var c=u.form$.$vueform.config.endpoints.activeUrl,d=typeof c!="function"?c.method:null,m;return typeof c=="function"?m=yield c(i,u.element$,u.form$):m=yield u.form$.$vueform.services.axios.request({url:c.url,method:d,[d.toLowerCase()==="get"?"params":"data"]:{url:i}}),m.data})()}}class after extends Validator{get messageParams(){return{attribute:this.attributeName,date:this.date.format(this.format)}}get param(){return this.attributes[0]}get format(){return["date","dates"].indexOf(this.element$.type)!==-1&&this.element$.valueFormat?this.element$.valueFormat:"YYYY-MM-DD"}get otherFormat(){return this.dateType!="element"?this.format:["date","dates"].indexOf(this.other$.type)!==-1&&this.other$.valueFormat?this.other$.valueFormat:this.format}get otherPath(){return this.dateType!="element"?null:this.param}get other$(){return this.dateType!="element"?{}:this.form$.el$(this.param)}get date(){var i="";switch(this.dateType){case"relative":this.param==="today"&&(i=hooks().startOf("day")),this.param==="tomorrow"&&(i=hooks().startOf("day").add(1,"days")),this.param==="yesterday"&&(i=hooks().startOf("day").subtract(1,"days"));break;case"element":i=hooks(this.other$.value,this.otherFormat);break;case"absolute":i=hooks(this.param,this.format);break}return i}get dateType(){return["today","tomorrow","yesterday"].indexOf(this.param)!==-1?"relative":this.form$.el$(this.param)?"element":"absolute"}init(){this.form$.$nextTick(()=>{this.dateType=="element"&&this.watchOther()})}check(i){if(isArray_1(i)){var u=!0;return each(i,c=>{this.checkDate(c)||(u=!1)}),u}return this.checkDate(i)}checkDate(i){return hooks(i,this.format).isAfter(hooks(this.date,this.otherFormat))}}class after_or_equal extends after{checkDate(i){return hooks(i,this.format).isSameOrAfter(hooks(this.date,this.otherFormat))}}class alpha extends Validator{check(i){return/^[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(i)}}class alpha_dash extends Validator{check(i){return/^[0-9-_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(i)}}class alpha_num extends Validator{check(i){return/^[0-9\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(i)}}class array$2 extends Validator{check(i){return isArray_1(i)}}class before extends after{checkDate(i){return hooks(i,this.format).isBefore(hooks(this.date,this.otherFormat))}}class before_or_equal extends after{checkDate(i){return hooks(i,this.format).isSameOrBefore(hooks(this.date,this.otherFormat))}}class between extends Validator{get messageParams(){return{attribute:this.attributeName,min:this.min,max:this.max}}get min(){return this.attributes[0]}get max(){return this.attributes[1]}check(i){if(!i)return!0;var u=this.size(i);return u>=this.min&&u<=this.max}}class boolean$1 extends Validator{check(i){var u=[!0,!1,0,1,"0","1"];return u.indexOf(i)!==-1}}class confirmed extends Validator{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get otherPath(){return"".concat(this.element$.path,"_confirmation")}get other$(){return this.form$.el$(replaceWildcards(this.otherPath,this.element$.path))}init(){this.watchOther()}check(i){return this.filled(this.other$.value)?i==this.other$.value:!0}}var reSpace="[ \\t]+",reSpaceOpt="[ \\t]*",reMeridian="(?:([ap])\\.?m\\.?([\\t ]|$))",reHour24="(2[0-4]|[01]?[0-9])",reHour24lz="([01][0-9]|2[0-4])",reHour12="(0?[1-9]|1[0-2])",reMinute="([0-5]?[0-9])",reMinutelz="([0-5][0-9])",reSecond="(60|[0-5]?[0-9])",reSecondlz="(60|[0-5][0-9])",reFrac="(?:\\.([0-9]+))",reDayfull="sunday|monday|tuesday|wednesday|thursday|friday|saturday",reDayabbr="sun|mon|tue|wed|thu|fri|sat",reDaytext=reDayfull+"|"+reDayabbr+"|weekdays?",reReltextnumber="first|second|third|fourth|fifth|sixth|seventh|eighth?|ninth|tenth|eleventh|twelfth",reReltexttext="next|last|previous|this",reReltextunit="(?:second|sec|minute|min|hour|day|fortnight|forthnight|month|year)s?|weeks|"+reDaytext,reYear="([0-9]{1,4})",reYear2="([0-9]{2})",reYear4="([0-9]{4})",reYear4withSign="([+-]?[0-9]{4})",reMonth="(1[0-2]|0?[0-9])",reMonthlz="(0[0-9]|1[0-2])",reDay="(?:(3[01]|[0-2]?[0-9])(?:st|nd|rd|th)?)",reDaylz="(0[0-9]|[1-2][0-9]|3[01])",reMonthFull="january|february|march|april|may|june|july|august|september|october|november|december",reMonthAbbr="jan|feb|mar|apr|may|jun|jul|aug|sept?|oct|nov|dec",reMonthroman="i[vx]|vi{0,3}|xi{0,2}|i{1,3}",reMonthText="("+reMonthFull+"|"+reMonthAbbr+"|"+reMonthroman+")",reTzCorrection="((?:GMT)?([+-])"+reHour24+":?"+reMinute+"?)",reTzAbbr="\\(?([a-zA-Z]{1,6})\\)?",reDayOfYear="(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])",reWeekOfYear="(0[1-9]|[1-4][0-9]|5[0-3])",reDateNoYear=reMonthText+"[ .\\t-]*"+reDay+"[,.stndrh\\t ]*";function processMeridian(a,i){switch(i=i&&i.toLowerCase(),i){case"a":a+=a===12?-12:0;break;case"p":a+=a!==12?12:0;break}return a}function processYear(a){var i=+a;return a.length<4&&i<100&&(i+=i<70?2e3:1900),i}function lookupMonth(a){return{jan:0,january:0,i:0,feb:1,february:1,ii:1,mar:2,march:2,iii:2,apr:3,april:3,iv:3,may:4,v:4,jun:5,june:5,vi:5,jul:6,july:6,vii:6,aug:7,august:7,viii:7,sep:8,sept:8,september:8,ix:8,oct:9,october:9,x:9,nov:10,november:10,xi:10,dec:11,december:11,xii:11}[a.toLowerCase()]}function lookupWeekday(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u={mon:1,monday:1,tue:2,tuesday:2,wed:3,wednesday:3,thu:4,thursday:4,fri:5,friday:5,sat:6,saturday:6,sun:0,sunday:0};return u[a.toLowerCase()]||i}function lookupRelative(a){var i={last:-1,previous:-1,this:0,first:1,next:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eight:8,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12},u={this:1},c=a.toLowerCase();return{amount:i[c],behavior:u[c]||0}}function processTzCorrection(a,i){var u=/(?:GMT)?([+-])(\d+)(:?)(\d{0,2})/i;if(a=a&&a.match(u),!a)return i;var c=a[1]==="-"?-1:1,d=+a[2],m=+a[4];return!a[4]&&!a[3]&&(m=Math.floor(d%100),d=Math.floor(d/100)),c*(d*60+m)*60}var tzAbbrOffsets={acdt:37800,acst:34200,addt:-7200,adt:-10800,aedt:39600,aest:36e3,ahdt:-32400,ahst:-36e3,akdt:-28800,akst:-32400,amt:-13840,apt:-10800,ast:-14400,awdt:32400,awst:28800,awt:-10800,bdst:7200,bdt:-36e3,bmt:-14309,bst:3600,cast:34200,cat:7200,cddt:-14400,cdt:-18e3,cemt:10800,cest:7200,cet:3600,cmt:-15408,cpt:-18e3,cst:-21600,cwt:-18e3,chst:36e3,dmt:-1521,eat:10800,eddt:-10800,edt:-14400,eest:10800,eet:7200,emt:-26248,ept:-14400,est:-18e3,ewt:-14400,ffmt:-14660,fmt:-4056,gdt:39600,gmt:0,gst:36e3,hdt:-34200,hkst:32400,hkt:28800,hmt:-19776,hpt:-34200,hst:-36e3,hwt:-34200,iddt:14400,idt:10800,imt:25025,ist:7200,jdt:36e3,jmt:8440,jst:32400,kdt:36e3,kmt:5736,kst:30600,lst:9394,mddt:-18e3,mdst:16279,mdt:-21600,mest:7200,met:3600,mmt:9017,mpt:-21600,msd:14400,msk:10800,mst:-25200,mwt:-21600,nddt:-5400,ndt:-9052,npt:-9e3,nst:-12600,nwt:-9e3,nzdt:46800,nzmt:41400,nzst:43200,pddt:-21600,pdt:-25200,pkst:21600,pkt:18e3,plmt:25590,pmt:-13236,ppmt:-17340,ppt:-25200,pst:-28800,pwt:-25200,qmt:-18840,rmt:5794,sast:7200,sdmt:-16800,sjmt:-20173,smt:-13884,sst:-39600,tbmt:10751,tmt:12344,uct:0,utc:0,wast:7200,wat:3600,wemt:7200,west:3600,wet:0,wib:25200,wita:28800,wit:32400,wmt:5040,yddt:-25200,ydt:-28800,ypt:-28800,yst:-32400,ywt:-28800,a:3600,b:7200,c:10800,d:14400,e:18e3,f:21600,g:25200,h:28800,i:32400,k:36e3,l:39600,m:43200,n:-3600,o:-7200,p:-10800,q:-14400,r:-18e3,s:-21600,t:-25200,u:-28800,v:-32400,w:-36e3,x:-39600,y:-43200,z:0},formats$1={yesterday:{regex:/^yesterday/i,name:"yesterday",callback:function a(){return this.rd-=1,this.resetTime()}},now:{regex:/^now/i,name:"now"},noon:{regex:/^noon/i,name:"noon",callback:function a(){return this.resetTime()&&this.time(12,0,0,0)}},midnightOrToday:{regex:/^(midnight|today)/i,name:"midnight | today",callback:function a(){return this.resetTime()}},tomorrow:{regex:/^tomorrow/i,name:"tomorrow",callback:function a(){return this.rd+=1,this.resetTime()}},timestamp:{regex:/^@(-?\d+)/i,name:"timestamp",callback:function a(i,u){return this.rs+=+u,this.y=1970,this.m=0,this.d=1,this.dates=0,this.resetTime()&&this.zone(0)}},firstOrLastDay:{regex:/^(first|last) day of/i,name:"firstdayof | lastdayof",callback:function a(i,u){u.toLowerCase()==="first"?this.firstOrLastDayOfMonth=1:this.firstOrLastDayOfMonth=-1}},backOrFrontOf:{regex:RegExp("^(back|front) of "+reHour24+reSpaceOpt+reMeridian+"?","i"),name:"backof | frontof",callback:function a(i,u,c,d){var m=u.toLowerCase()==="back",f=+c,v=15;return m||(f-=1,v=45),f=processMeridian(f,d),this.resetTime()&&this.time(f,v,0,0)}},weekdayOf:{regex:RegExp("^("+reReltextnumber+"|"+reReltexttext+")"+reSpace+"("+reDayfull+"|"+reDayabbr+")"+reSpace+"of","i"),name:"weekdayof"},mssqltime:{regex:RegExp("^"+reHour12+":"+reMinutelz+":"+reSecondlz+"[:.]([0-9]+)"+reMeridian,"i"),name:"mssqltime",callback:function a(i,u,c,d,m,f){return this.time(processMeridian(+u,f),+c,+d,+m.substr(0,3))}},timeLong12:{regex:RegExp("^"+reHour12+"[:.]"+reMinute+"[:.]"+reSecondlz+reSpaceOpt+reMeridian,"i"),name:"timelong12",callback:function a(i,u,c,d,m){return this.time(processMeridian(+u,m),+c,+d,0)}},timeShort12:{regex:RegExp("^"+reHour12+"[:.]"+reMinutelz+reSpaceOpt+reMeridian,"i"),name:"timeshort12",callback:function a(i,u,c,d){return this.time(processMeridian(+u,d),+c,0,0)}},timeTiny12:{regex:RegExp("^"+reHour12+reSpaceOpt+reMeridian,"i"),name:"timetiny12",callback:function a(i,u,c){return this.time(processMeridian(+u,c),0,0,0)}},soap:{regex:RegExp("^"+reYear4+"-"+reMonthlz+"-"+reDaylz+"T"+reHour24lz+":"+reMinutelz+":"+reSecondlz+reFrac+reTzCorrection+"?","i"),name:"soap",callback:function a(i,u,c,d,m,f,v,g,y){return this.ymd(+u,c-1,+d)&&this.time(+m,+f,+v,+g.substr(0,3))&&this.zone(processTzCorrection(y))}},wddx:{regex:RegExp("^"+reYear4+"-"+reMonth+"-"+reDay+"T"+reHour24+":"+reMinute+":"+reSecond),name:"wddx",callback:function a(i,u,c,d,m,f,v){return this.ymd(+u,c-1,+d)&&this.time(+m,+f,+v,0)}},exif:{regex:RegExp("^"+reYear4+":"+reMonthlz+":"+reDaylz+" "+reHour24lz+":"+reMinutelz+":"+reSecondlz,"i"),name:"exif",callback:function a(i,u,c,d,m,f,v){return this.ymd(+u,c-1,+d)&&this.time(+m,+f,+v,0)}},xmlRpc:{regex:RegExp("^"+reYear4+reMonthlz+reDaylz+"T"+reHour24+":"+reMinutelz+":"+reSecondlz),name:"xmlrpc",callback:function a(i,u,c,d,m,f,v){return this.ymd(+u,c-1,+d)&&this.time(+m,+f,+v,0)}},xmlRpcNoColon:{regex:RegExp("^"+reYear4+reMonthlz+reDaylz+"[Tt]"+reHour24+reMinutelz+reSecondlz),name:"xmlrpcnocolon",callback:function a(i,u,c,d,m,f,v){return this.ymd(+u,c-1,+d)&&this.time(+m,+f,+v,0)}},clf:{regex:RegExp("^"+reDay+"/("+reMonthAbbr+")/"+reYear4+":"+reHour24lz+":"+reMinutelz+":"+reSecondlz+reSpace+reTzCorrection,"i"),name:"clf",callback:function a(i,u,c,d,m,f,v,g){return this.ymd(+d,lookupMonth(c),+u)&&this.time(+m,+f,+v,0)&&this.zone(processTzCorrection(g))}},iso8601long:{regex:RegExp("^t?"+reHour24+"[:.]"+reMinute+"[:.]"+reSecond+reFrac,"i"),name:"iso8601long",callback:function a(i,u,c,d,m){return this.time(+u,+c,+d,+m.substr(0,3))}},dateTextual:{regex:RegExp("^"+reMonthText+"[ .\\t-]*"+reDay+"[,.stndrh\\t ]+"+reYear,"i"),name:"datetextual",callback:function a(i,u,c,d){return this.ymd(processYear(d),lookupMonth(u),+c)}},pointedDate4:{regex:RegExp("^"+reDay+"[.\\t-]"+reMonth+"[.-]"+reYear4),name:"pointeddate4",callback:function a(i,u,c,d){return this.ymd(+d,c-1,+u)}},pointedDate2:{regex:RegExp("^"+reDay+"[.\\t]"+reMonth+"\\."+reYear2),name:"pointeddate2",callback:function a(i,u,c,d){return this.ymd(processYear(d),c-1,+u)}},timeLong24:{regex:RegExp("^t?"+reHour24+"[:.]"+reMinute+"[:.]"+reSecond),name:"timelong24",callback:function a(i,u,c,d){return this.time(+u,+c,+d,0)}},dateNoColon:{regex:RegExp("^"+reYear4+reMonthlz+reDaylz),name:"datenocolon",callback:function a(i,u,c,d){return this.ymd(+u,c-1,+d)}},pgydotd:{regex:RegExp("^"+reYear4+"\\.?"+reDayOfYear),name:"pgydotd",callback:function a(i,u,c){return this.ymd(+u,0,+c)}},timeShort24:{regex:RegExp("^t?"+reHour24+"[:.]"+reMinute,"i"),name:"timeshort24",callback:function a(i,u,c){return this.time(+u,+c,0,0)}},iso8601noColon:{regex:RegExp("^t?"+reHour24lz+reMinutelz+reSecondlz,"i"),name:"iso8601nocolon",callback:function a(i,u,c,d){return this.time(+u,+c,+d,0)}},iso8601dateSlash:{regex:RegExp("^"+reYear4+"/"+reMonthlz+"/"+reDaylz+"/"),name:"iso8601dateslash",callback:function a(i,u,c,d){return this.ymd(+u,c-1,+d)}},dateSlash:{regex:RegExp("^"+reYear4+"/"+reMonth+"/"+reDay),name:"dateslash",callback:function a(i,u,c,d){return this.ymd(+u,c-1,+d)}},american:{regex:RegExp("^"+reMonth+"/"+reDay+"/"+reYear),name:"american",callback:function a(i,u,c,d){return this.ymd(processYear(d),u-1,+c)}},americanShort:{regex:RegExp("^"+reMonth+"/"+reDay),name:"americanshort",callback:function a(i,u,c){return this.ymd(this.y,u-1,+c)}},gnuDateShortOrIso8601date2:{regex:RegExp("^"+reYear+"-"+reMonth+"-"+reDay),name:"gnudateshort | iso8601date2",callback:function a(i,u,c,d){return this.ymd(processYear(u),c-1,+d)}},iso8601date4:{regex:RegExp("^"+reYear4withSign+"-"+reMonthlz+"-"+reDaylz),name:"iso8601date4",callback:function a(i,u,c,d){return this.ymd(+u,c-1,+d)}},gnuNoColon:{regex:RegExp("^t?"+reHour24lz+reMinutelz,"i"),name:"gnunocolon",callback:function a(i,u,c){switch(this.times){case 0:return this.time(+u,+c,0,this.f);case 1:return this.y=u*100+ +c,this.times++,!0;default:return!1}}},gnuDateShorter:{regex:RegExp("^"+reYear4+"-"+reMonth),name:"gnudateshorter",callback:function a(i,u,c){return this.ymd(+u,c-1,1)}},pgTextReverse:{regex:RegExp("^(\\d{3,4}|[4-9]\\d|3[2-9])-("+reMonthAbbr+")-"+reDaylz,"i"),name:"pgtextreverse",callback:function a(i,u,c,d){return this.ymd(processYear(u),lookupMonth(c),+d)}},dateFull:{regex:RegExp("^"+reDay+"[ \\t.-]*"+reMonthText+"[ \\t.-]*"+reYear,"i"),name:"datefull",callback:function a(i,u,c,d){return this.ymd(processYear(d),lookupMonth(c),+u)}},dateNoDay:{regex:RegExp("^"+reMonthText+"[ .\\t-]*"+reYear4,"i"),name:"datenoday",callback:function a(i,u,c){return this.ymd(+c,lookupMonth(u),1)}},dateNoDayRev:{regex:RegExp("^"+reYear4+"[ .\\t-]*"+reMonthText,"i"),name:"datenodayrev",callback:function a(i,u,c){return this.ymd(+u,lookupMonth(c),1)}},pgTextShort:{regex:RegExp("^("+reMonthAbbr+")-"+reDaylz+"-"+reYear,"i"),name:"pgtextshort",callback:function a(i,u,c,d){return this.ymd(processYear(d),lookupMonth(u),+c)}},dateNoYear:{regex:RegExp("^"+reDateNoYear,"i"),name:"datenoyear",callback:function a(i,u,c){return this.ymd(this.y,lookupMonth(u),+c)}},dateNoYearRev:{regex:RegExp("^"+reDay+"[ .\\t-]*"+reMonthText,"i"),name:"datenoyearrev",callback:function a(i,u,c){return this.ymd(this.y,lookupMonth(c),+u)}},isoWeekDay:{regex:RegExp("^"+reYear4+"-?W"+reWeekOfYear+"(?:-?([0-7]))?"),name:"isoweekday | isoweek",callback:function a(i,u,c,d){if(d=d?+d:1,!this.ymd(+u,0,1))return!1;var m=new Date(this.y,this.m,this.d).getDay();m=0-(m>4?m-7:m),this.rd+=m+(c-1)*7+d}},relativeText:{regex:RegExp("^("+reReltextnumber+"|"+reReltexttext+")"+reSpace+"("+reReltextunit+")","i"),name:"relativetext",callback:function a(i,u,c){var d=lookupRelative(u),m=d.amount;switch(c.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=m;break;case"min":case"mins":case"minute":case"minutes":this.ri+=m;break;case"hour":case"hours":this.rh+=m;break;case"day":case"days":this.rd+=m;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=m*14;break;case"week":case"weeks":this.rd+=m*7;break;case"month":case"months":this.rm+=m;break;case"year":case"years":this.ry+=m;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=lookupWeekday(c,7),this.weekdayBehavior=1,this.rd+=(m>0?m-1:m)*7;break}}},relative:{regex:RegExp("^([+-]*)[ \\t]*(\\d+)"+reSpaceOpt+"("+reReltextunit+"|week)","i"),name:"relative",callback:function a(i,u,c,d){var m=u.replace(/[^-]/g,"").length,f=+c*Math.pow(-1,m);switch(d.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=f;break;case"min":case"mins":case"minute":case"minutes":this.ri+=f;break;case"hour":case"hours":this.rh+=f;break;case"day":case"days":this.rd+=f;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=f*14;break;case"week":case"weeks":this.rd+=f*7;break;case"month":case"months":this.rm+=f;break;case"year":case"years":this.ry+=f;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=lookupWeekday(d,7),this.weekdayBehavior=1,this.rd+=(f>0?f-1:f)*7;break}}},dayText:{regex:RegExp("^("+reDaytext+")","i"),name:"daytext",callback:function a(i,u){this.resetTime(),this.weekday=lookupWeekday(u,0),this.weekdayBehavior!==2&&(this.weekdayBehavior=1)}},relativeTextWeek:{regex:RegExp("^("+reReltexttext+")"+reSpace+"week","i"),name:"relativetextweek",callback:function a(i,u){switch(this.weekdayBehavior=2,u.toLowerCase()){case"this":this.rd+=0;break;case"next":this.rd+=7;break;case"last":case"previous":this.rd-=7;break}isNaN(this.weekday)&&(this.weekday=1)}},monthFullOrMonthAbbr:{regex:RegExp("^("+reMonthFull+"|"+reMonthAbbr+")","i"),name:"monthfull | monthabbr",callback:function a(i,u){return this.ymd(this.y,lookupMonth(u),this.d)}},tzCorrection:{regex:RegExp("^"+reTzCorrection,"i"),name:"tzcorrection",callback:function a(i){return this.zone(processTzCorrection(i))}},tzAbbr:{regex:RegExp("^"+reTzAbbr),name:"tzabbr",callback:function a(i,u){var c=tzAbbrOffsets[u.toLowerCase()];return isNaN(c)?!1:this.zone(c)}},ago:{regex:/^ago/i,name:"ago",callback:function a(){this.ry=-this.ry,this.rm=-this.rm,this.rd=-this.rd,this.rh=-this.rh,this.ri=-this.ri,this.rs=-this.rs,this.rf=-this.rf}},year4:{regex:RegExp("^"+reYear4),name:"year4",callback:function a(i,u){return this.y=+u,!0}},whitespace:{regex:/^[ .,\t]+/,name:"whitespace"},dateShortWithTimeLong:{regex:RegExp("^"+reDateNoYear+"t?"+reHour24+"[:.]"+reMinute+"[:.]"+reSecond,"i"),name:"dateshortwithtimelong",callback:function a(i,u,c,d,m,f){return this.ymd(this.y,lookupMonth(u),+c)&&this.time(+d,+m,+f,0)}},dateShortWithTimeLong12:{regex:RegExp("^"+reDateNoYear+reHour12+"[:.]"+reMinute+"[:.]"+reSecondlz+reSpaceOpt+reMeridian,"i"),name:"dateshortwithtimelong12",callback:function a(i,u,c,d,m,f,v){return this.ymd(this.y,lookupMonth(u),+c)&&this.time(processMeridian(+d,v),+m,+f,0)}},dateShortWithTimeShort:{regex:RegExp("^"+reDateNoYear+"t?"+reHour24+"[:.]"+reMinute,"i"),name:"dateshortwithtimeshort",callback:function a(i,u,c,d,m){return this.ymd(this.y,lookupMonth(u),+c)&&this.time(+d,+m,0,0)}},dateShortWithTimeShort12:{regex:RegExp("^"+reDateNoYear+reHour12+"[:.]"+reMinutelz+reSpaceOpt+reMeridian,"i"),name:"dateshortwithtimeshort12",callback:function a(i,u,c,d,m,f){return this.ymd(this.y,lookupMonth(u),+c)&&this.time(processMeridian(+d,f),+m,0,0)}}},resultProto={y:NaN,m:NaN,d:NaN,h:NaN,i:NaN,s:NaN,f:NaN,ry:0,rm:0,rd:0,rh:0,ri:0,rs:0,rf:0,weekday:NaN,weekdayBehavior:0,firstOrLastDayOfMonth:0,z:NaN,dates:0,times:0,zones:0,ymd:function a(i,u,c){return this.dates>0?!1:(this.dates++,this.y=i,this.m=u,this.d=c,!0)},time:function a(i,u,c,d){return this.times>0?!1:(this.times++,this.h=i,this.i=u,this.s=c,this.f=d,!0)},resetTime:function a(){return this.h=0,this.i=0,this.s=0,this.f=0,this.times=0,!0},zone:function a(i){return this.zones<=1?(this.zones++,this.z=i,!0):!1},toDate:function a(i){switch(this.dates&&!this.times&&(this.h=this.i=this.s=this.f=0),isNaN(this.y)&&(this.y=i.getFullYear()),isNaN(this.m)&&(this.m=i.getMonth()),isNaN(this.d)&&(this.d=i.getDate()),isNaN(this.h)&&(this.h=i.getHours()),isNaN(this.i)&&(this.i=i.getMinutes()),isNaN(this.s)&&(this.s=i.getSeconds()),isNaN(this.f)&&(this.f=i.getMilliseconds()),this.firstOrLastDayOfMonth){case 1:this.d=1;break;case-1:this.d=0,this.m+=1;break}if(!isNaN(this.weekday)){var u=new Date(i.getTime());u.setFullYear(this.y,this.m,this.d),u.setHours(this.h,this.i,this.s,this.f);var c=u.getDay();if(this.weekdayBehavior===2)c===0&&this.weekday!==0&&(this.weekday=-6),this.weekday===0&&c!==0&&(this.weekday=7),this.d-=c,this.d+=this.weekday;else{var d=this.weekday-c;(this.rd<0&&d<0||this.rd>=0&&d<=-this.weekdayBehavior)&&(d+=7),this.weekday>=0?this.d+=d:this.d-=7-(Math.abs(this.weekday)-c),this.weekday=NaN}}this.y+=this.ry,this.m+=this.rm,this.d+=this.rd,this.h+=this.rh,this.i+=this.ri,this.s+=this.rs,this.f+=this.rf,this.ry=this.rm=this.rd=0,this.rh=this.ri=this.rs=this.rf=0;var m=new Date(i.getTime());switch(m.setFullYear(this.y,this.m,this.d),m.setHours(this.h,this.i,this.s,this.f),this.firstOrLastDayOfMonth){case 1:m.setDate(1);break;case-1:m.setMonth(m.getMonth()+1,0);break}return!isNaN(this.z)&&m.getTimezoneOffset()!==this.z&&(m.setUTCFullYear(m.getFullYear(),m.getMonth(),m.getDate()),m.setUTCHours(m.getHours(),m.getMinutes(),m.getSeconds()-this.z,m.getMilliseconds())),m}},strtotime=function a(i,u){u==null&&(u=Math.floor(Date.now()/1e3));for(var c=[formats$1.yesterday,formats$1.now,formats$1.noon,formats$1.midnightOrToday,formats$1.tomorrow,formats$1.timestamp,formats$1.firstOrLastDay,formats$1.backOrFrontOf,formats$1.timeTiny12,formats$1.timeShort12,formats$1.timeLong12,formats$1.mssqltime,formats$1.timeShort24,formats$1.timeLong24,formats$1.iso8601long,formats$1.gnuNoColon,formats$1.iso8601noColon,formats$1.americanShort,formats$1.american,formats$1.iso8601date4,formats$1.iso8601dateSlash,formats$1.dateSlash,formats$1.gnuDateShortOrIso8601date2,formats$1.gnuDateShorter,formats$1.dateFull,formats$1.pointedDate4,formats$1.pointedDate2,formats$1.dateNoDay,formats$1.dateNoDayRev,formats$1.dateTextual,formats$1.dateNoYear,formats$1.dateNoYearRev,formats$1.dateNoColon,formats$1.xmlRpc,formats$1.xmlRpcNoColon,formats$1.soap,formats$1.wddx,formats$1.exif,formats$1.pgydotd,formats$1.isoWeekDay,formats$1.pgTextShort,formats$1.pgTextReverse,formats$1.clf,formats$1.year4,formats$1.ago,formats$1.dayText,formats$1.relativeTextWeek,formats$1.relativeText,formats$1.monthFullOrMonthAbbr,formats$1.tzCorrection,formats$1.tzAbbr,formats$1.dateShortWithTimeShort12,formats$1.dateShortWithTimeLong12,formats$1.dateShortWithTimeShort,formats$1.dateShortWithTimeLong,formats$1.relative,formats$1.whitespace],d=Object.create(resultProto);i.length;){for(var m=null,f=null,v=0,g=c.length;v<g;v++){var y=c[v],b=i.match(y.regex);b&&(!m||b[0].length>m[0].length)&&(m=b,f=y)}if(!f||f.callback&&f.callback.apply(d,m)===!1)return!1;i=i.substr(m[0].length),f=null,m=null}return Math.floor(d.toDate(new Date(u*1e3))/1e3)};class date$4 extends Validator{check(i){return!!strtotime(i)}}class date_equals extends Validator{get messageParams(){return{attribute:this.attributeName,date:this.date}}get date(){return this.attributes[0]}check(i){return i===this.date}}class date_format extends Validator{get messageParams(){return{attribute:this.attributeName,format:this.format}}get format(){return this.attributes[0]}check(i){return i&&hooks(i,this.format).format(this.format)===i}}class different extends Validator{get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(replaceWildcards(this.otherPath,this.element$.path))}get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}init(){this.watchOther()}check(i){return!this.filled(i)&&!this.filled(this.other$.value)?!0:i!=this.other$.value}}class digits extends Validator{get messageParams(){return{attribute:this.attributeName,digits:this.digits}}get digits(){return this.attributes[0]}check(i){return/^\d+$/.test(i)&&i.toString().length==this.digits}}class digits_between extends Validator{get messageParams(){return{attribute:this.attributeName,min:this.min,max:this.max}}get min(){return this.attributes[0]}get max(){return this.attributes[1]}check(i){var u=i.toString().length;return/^\d+$/.test(i)&&u>=this.min&&u<=this.max}}class dimensions extends Validator{get isAsync(){return!0}readImage(i){return _asyncToGenerator(function*(){var u=new FileReader;return new Promise((c,d)=>{u.onerror=()=>{temporaryFileReader.abort(),d(new DOMException("File cannot be parsed."))},u.onloadend=m=>{c(m.target.result)},u.readAsDataURL(i)})})()}loadImage(i){var u=this;return _asyncToGenerator(function*(){var c=yield u.readImage(i),d=new Image;return new Promise((m,f)=>{d.onerror=()=>{f(new DOMException("Image could not be loaded."))},d.onload=v=>{m(v.target)},d.src=c})})()}hasAttribute(i){return Object.keys(this.attributes).map(u=>u.toLowerCase()).indexOf(i)!==-1}check(i){var u=this;return _asyncToGenerator(function*(){if(u.isFile&&!i)return!0;if(!u.isFile||!(i instanceof File))return!1;var c=yield u.loadImage(i);if(u.hasAttribute("min_width")&&c.width<u.attributes.min_width||u.hasAttribute("max_width")&&c.width>u.attributes.max_width||u.hasAttribute("min_height")&&c.height<u.attributes.min_height||u.hasAttribute("max_height")&&c.height>u.attributes.max_height||u.hasAttribute("width")&&c.width!=u.attributes.width||u.hasAttribute("height")&&c.height!=u.attributes.height)return!1;if(u.hasAttribute("ratio")){var d=u.attributes.ratio,m=1/(Math.min(c.width,c.height)+1),f=/\//.test(d)?d.split("/")[0]:d,v=/\//.test(d)?d.split("/")[1]:1;if(Math.abs(f/v-c.width/c.height)>m)return!1}return!0})()}}function pregQuote(a,i){return(a+"").replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\"+(i||"")+"-]","g"),"\\$&")}function baseReduce$1(a,i,u,c,d){return d(a,function(m,f,v){u=c?(c=!1,m):i(u,m,f,v)}),u}var _baseReduce=baseReduce$1,arrayReduce=_arrayReduce,baseEach=_baseEach,baseIteratee$4=_baseIteratee,baseReduce=_baseReduce,isArray$2=isArray_1;function reduce(a,i,u){var c=isArray$2(a)?arrayReduce:baseReduce,d=arguments.length<3;return c(a,baseIteratee$4(i),u,d,baseEach)}var reduce_1=reduce,flattenKeys=function a(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return isObject_1(i)?reduce_1(i,(c,d,m)=>merge_1(c,a(d,[...u,m])),{}):{[u.join(".")]:i}};class distinct extends Validator{check(i){var u=this.element$.path,c=u.replace(/\d+(?!\d+)/,"*"),d=u.match(/^[\w-]+/)[0],m={[d]:this.form$.data[d]},f=pregQuote(c,"#").replace("\\*","[^.]+"),v={};return each(flattenKeys(m),(g,y)=>{y!=u&&y.match("^"+f+"$")!==null&&(v[y]=g)}),values_1(v).indexOf(i)===-1}}class email extends Validator{check(i){var u=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return u.test(String(i).toLowerCase())}}class exists extends Validator{get isAsync(){return!0}get requestParams(){var i={};return each(this.attributes,(u,c)=>{var d=c;if(isNaN(c)||(d=u),d!="debounce"){var m=this.form$.el$(d);i[keys_1(i).length]=m&&c!=0?m.value:d}}),i}check(i){var u=this;return _asyncToGenerator(function*(){var c=u.element$.name,d=u.form$.$vueform.config.endpoints.exists,m=typeof d!="function"?d.method:null,f;return typeof d=="function"?f=yield d(i,c,u.requestParams,u.element$,u.form$):(f=yield u.form$.$vueform.services.axios.request({url:d.url,method:m,[m.toLowerCase()==="get"?"params":"data"]:{params:u.requestParams,[c]:i,vueformFieldName:c,value:i,name:c}}),f=f.data),f})()}}class file$5 extends Validator{check(i){return(!i||i instanceof File)&&this.isFile}}class filled extends Validator{check(i){return this.filled(i)}}class gt extends Validator{get messageParams(){return{attribute:this.attributeName,value:this.other$.value!=null?this.size(this.other$.value):0}}get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(replaceWildcards(this.otherPath,this.element$.path))}init(){this.watchOther()}check(i){var u=this.other$.value;return this.compare(i,u)}compare(i,u){var c=this.size(u);return c==0||this.size(i)>c}}class gte extends gt{compare(i,u){var c=this.size(u);return c==0||this.size(i)>=c}}class image extends Validator{check(i){if(this.isFile&&!i)return!0;if(!this.isFile||!(i instanceof File)||!i.name)return!1;var u=i.name.split(".").pop();return["jpg","jpeg","png","gif","bmp","svg","webp"].indexOf(u)!==-1}}class in_ extends Validator{check(i){return values_1(this.attributes).indexOf(normalize$1(String(i).trim()))!==-1}}class in_array extends Validator{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get other$(){return this.form$.el$(replaceWildcards(this.otherPath,this.element$.path))}get otherPath(){var i=this.attributes[0].match(/.*(?=\.\*)/);if(i===null)throw new Error("in_array rule's other attribute should end with .*");return i[0]}init(){this.watchOther()}check(i){var u=this.other$.value;return u?u.indexOf(i)!==-1:!1}}class integer extends Validator{check(i){var u=normalize$1(String(i).trim());return u===parseInt(u,10)}}var checker$1=function a(i){var u=/^(?:(?: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]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/;return u.test(i)};class ipv4 extends Validator{check(i){return checker$1(i)}}var checker=function a(i){var u=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;return u.test(i)};class ipv6 extends Validator{check(i){return checker(i)}}class ip extends Validator{check(i){return checker$1(i)||checker(i)}}function isJson(a){try{JSON.parse(a)}catch{return!1}return!0}class json extends Validator{check(i){return isJson(i)}}class lt extends gt{compare(i,u){var c=this.size(i),d=this.size(u);return d==0&&c==0||this.size(i)<d}}class lte extends gt{compare(i,u){var c=this.size(i),d=this.size(u);return d==0&&c==0||this.size(i)<=d}}let max$1=class extends Validator{get messageParams(){return{attribute:this.attributeName,max:this.max}}get max(){return this.attributes[0]}check(i){return i?this.size(i)<=this.max:!0}};class mimes extends Validator{get messageParams(){return{attribute:this.attributeName,values:this.accepted.join(", ")}}get accepted(){return Object.values(this.attributes).map(i=>i.toLowerCase())}check(i){if(this.isFile&&!i)return!0;if(!this.isFile||!(i instanceof File)||!i.name)return!1;var u=i.name.split(".").pop();return this.accepted.indexOf(u.toLowerCase())!==-1}}class mimetypes extends Validator{get messageParams(){return{attribute:this.attributeName,values:this.accepted.join(", ")}}get accepted(){return Object.values(this.attributes).map(i=>i.toLowerCase())}check(i){return this.isFile&&!i?!0:!this.isFile||!(i instanceof File)||!i.type?!1:this.accepted.indexOf(i.type.toLowerCase())!==-1}}class min$1 extends Validator{get messageParams(){return{attribute:this.attributeName,min:this.min}}get min(){return this.attributes[0]}check(i){return i?this.size(i)>=this.min:!0}}class not_in extends Validator{check(i){return values_1(this.attributes).indexOf(i)===-1}}class not_regex extends Validator{check(i){var u=new RegExp(this.attributes[0].replace(/^\/|\/[^\/]*$/g,""));return!u.test(i)}}class nullable extends Validator{check(i){return!0}}class numeric extends Validator{check(i){return!isNaN(parseFloat(i))&&isFinite(i)&&!/\s/.test(String(i))&&!String(i).match(/^0x[0-9a-f]+$/i)}}class regex extends Validator{check(i){var u=new RegExp(this.attributes[0].replace(/^\/|\/[^\/]*$/g,""));return u.test(i)}}class required extends Validator{check(i){return this.filled(i)}}class same extends Validator{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(replaceWildcards(this.otherPath,this.element$.path))}init(){this.watchOther()}check(i){return!this.filled(i)&&!this.filled(this.other$.value)?!0:i==this.other$.value}}class size extends Validator{get messageParams(){return{attribute:this.attributeName,size:this.size_}}get size_(){return this.attributes[0]}check(i){return i?this.size(i)==this.size_:!0}}class string extends Validator{check(i){return isString_1(i)}}class timezone extends Validator{check(i){try{return Intl.DateTimeFormat(void 0,{timeZone:i}),!0}catch{return!1}}}let unique$1=class extends Validator{get isAsync(){return!0}get requestParams(){var i={};return each(this.attributes,(u,c)=>{var d=c;if(isNaN(c)||(d=u),d!="debounce"){var m=this.form$.el$(d);i[keys_1(i).length]=m&&c!=0?m.value:d}}),i}check(i){var u=this;return _asyncToGenerator(function*(){var c=u.element$.name,d=u.form$.$vueform.config.endpoints.unique,m=typeof d!="function"?d.method:null,f;return typeof d=="function"?f=yield d(i,c,u.requestParams,u.element$,u.form$):(f=yield u.form$.$vueform.services.axios.request({url:d.url,method:m,[m.toLowerCase()==="get"?"params":"data"]:{params:u.requestParams,name:c,value:i}}),f=f.data),f})()}};class url extends Validator{check(i){var u=new RegExp("^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)+(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$","i");return u.test(i)}}class uuid extends Validator{check(i){var u=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/i;return u.test(i)}}var index$2={accepted,active_url,after,after_or_equal,alpha,alpha_dash,alpha_num,array:array$2,before,before_or_equal,between,boolean:boolean$1,confirmed,date:date$4,date_equals,date_format,different,digits,digits_between,dimensions,distinct,email,exists,file:file$5,filled,gt,gte,image,in:in_,in_array,integer,ip,ipv4,ipv6,json,lt,lte,max:max$1,mimes,mimetypes,min:min$1,not_in,not_regex,nullable,numeric,regex,required,same,size,string,timezone,unique:unique$1,url,uuid},rules=Object.freeze({__proto__:null,accepted,active_url,after,after_or_equal,alpha,alpha_dash,alpha_num,array:array$2,before,before_or_equal,between,boolean:boolean$1,confirmed,date:date$4,date_equals,date_format,different,digits,digits_between,dimensions,distinct,email,exists,file:file$5,filled,gt,gte,image,in_,in_array,integer,ip,ipv4,ipv6,json,lt,lte,max:max$1,mimes,mimetypes,min:min$1,not_in,not_regex,nullable,numeric,regex,required,same,size,string,timezone,unique:unique$1,url,uuid,default:index$2}),validation={factory:Factory,rules:{}},arrayPush=_arrayPush,baseFlatten$1=_baseFlatten,copyArray=_copyArray,isArray$1=isArray_1;function concat(){var a=arguments.length;if(!a)return[];for(var i=Array(a-1),u=arguments[0],c=a;c--;)i[c-1]=arguments[c];return arrayPush(isArray$1(u)?copyArray(u):[u],baseFlatten$1(i,1))}var concat_1=concat;function head(a){return a&&a.length?a[0]:void 0}var head_1=head;class messageBag{constructor(i){this.baseErrors=i,this.prepends={errors:[],messages:[]},this.appends={errors:[],messages:[]}}get errors(){return concat_1(this.prepends.errors,this.baseErrors,this.appends.errors)}get messages(){return concat_1(this.prepends.messages,this.appends.messages)}get error(){return head_1(this.errors)}get message(){return head_1(this.messages)}prepend(i,u){u===void 0&&(u="error"),this.prepends[u=="error"?"errors":"messages"].unshift(i)}append(i,u){u===void 0&&(u="error"),this.appends[u=="error"?"errors":"messages"].push(i)}remove(i,u){u===void 0&&(u="any"),["any","error"].indexOf(u)!==-1&&(each(this.prepends.errors,(c,d)=>{c==i&&this.rm("prepends","errors",d)}),each(this.appends.errors,(c,d)=>{c==i&&this.rm("appends","errors",d)})),["any","message"].indexOf(u)!==-1&&(each(this.prepends.messages,(c,d)=>{c==i&&this.rm("prepends","messages",d)}),each(this.appends.messages,(c,d)=>{c==i&&this.rm("appends","messages",d)}))}rm(i,u,c){this[i][u].splice(c,1)}clear(i){i===void 0&&(i="all"),i=="all"?(this.prepends={errors:[],messages:[]},this.appends={errors:[],messages:[]}):(this.prepends[i]=[],this.appends[i]=[])}clearPrepended(i){i===void 0&&(i="all"),i=="all"?this.prepends={errors:[],messages:[]}:this.prepends[i]=[]}clearAppended(i){i===void 0&&(i="all"),i=="all"?this.appends={errors:[],messages:[]}:this.appends[i]=[]}}var e=new Map;function t(a){var i=e.get(a);i&&i.destroy()}function o(a){var i=e.get(a);i&&i.update()}var r=null;typeof window>"u"?((r=function(a){return a}).destroy=function(a){return a},r.update=function(a){return a}):((r=function(a,i){return a&&Array.prototype.forEach.call(a.length?a:[a],function(u){return function(c){if(c&&c.nodeName&&c.nodeName==="TEXTAREA"&&!e.has(c)){var d,m=null,f=window.getComputedStyle(c),v=(d=c.value,function(){y({testForHeightReduction:d===""||!c.value.startsWith(d),restoreTextAlign:null}),d=c.value}),g=(function(w){c.removeEventListener("autosize:destroy",g),c.removeEventListener("autosize:update",b),c.removeEventListener("input",v),window.removeEventListener("resize",b),Object.keys(w).forEach(function(k){return c.style[k]=w[k]}),e.delete(c)}).bind(c,{height:c.style.height,resize:c.style.resize,textAlign:c.style.textAlign,overflowY:c.style.overflowY,overflowX:c.style.overflowX,wordWrap:c.style.wordWrap});c.addEventListener("autosize:destroy",g),c.addEventListener("autosize:update",b),c.addEventListener("input",v),window.addEventListener("resize",b),c.style.overflowX="hidden",c.style.wordWrap="break-word",e.set(c,{destroy:g,update:b}),b()}function y(w){var k,$,S=w.restoreTextAlign,C=S===void 0?null:S,E=w.testForHeightReduction,D=E===void 0||E,A=f.overflowY;if(c.scrollHeight!==0&&(f.resize==="vertical"?c.style.resize="none":f.resize==="both"&&(c.style.resize="horizontal"),D&&(k=function(F){for(var B=[];F&&F.parentNode&&F.parentNode instanceof Element;)F.parentNode.scrollTop&&B.push([F.parentNode,F.parentNode.scrollTop]),F=F.parentNode;return function(){return B.forEach(function(I){var M=I[0],z=I[1];M.style.scrollBehavior="auto",M.scrollTop=z,M.style.scrollBehavior=null})}}(c),c.style.height=""),$=f.boxSizing==="content-box"?c.scrollHeight-(parseFloat(f.paddingTop)+parseFloat(f.paddingBottom)):c.scrollHeight+parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth),f.maxHeight!=="none"&&$>parseFloat(f.maxHeight)?(f.overflowY==="hidden"&&(c.style.overflow="scroll"),$=parseFloat(f.maxHeight)):f.overflowY!=="hidden"&&(c.style.overflow="hidden"),c.style.height=$+"px",C&&(c.style.textAlign=C),k&&k(),m!==$&&(c.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),m=$),A!==f.overflow&&!C)){var O=f.textAlign;f.overflow==="hidden"&&(c.style.textAlign=O==="start"?"end":"start"),y({restoreTextAlign:O,testForHeightReduction:!0})}}function b(){y({testForHeightReduction:!0,restoreTextAlign:null})}}(u)}),a}).destroy=function(a){return a&&Array.prototype.forEach.call(a.length?a:[a],t),a},r.update=function(a){return a&&Array.prototype.forEach.call(a.length?a:[a],o),a});var n=r;class google{constructor(){this.autocomplete=null,this.autocompleteListener=null,this.options={}}init(i,u,c){window.google===void 0||window.google.maps===void 0||window.google.maps.places===void 0||window.google.maps.places.Autocomplete,this.options=c,this.autocomplete=new window.google.maps.places.Autocomplete(i,c),this.autocompleteListener=this.autocomplete.addListener("place_changed",()=>{var d=this.autocomplete.getPlace();u(this.formatValue(d),d)})}destroy(){window.google.maps.event.removeListener(this.autocompleteListener),window.google.maps.event.clearInstanceListeners(this.autocomplete);var i=document.querySelector(".pac-container");i&&i.remove()}formatValue(i){if(!isPlainObject_1(i))return i;var u=i.address_components,c=this.addressComponent(u,"street"),d=this.addressComponent(u,"street_number"),m=null;return c!==null&&(m=c),d!==null&&(m+=(c!==null?" ":"")+d),{country:this.addressComponent(u,"country"),country_code:this.addressComponent(u,"country_code"),state:this.addressComponent(u,"state"),state_code:this.addressComponent(u,"state_code"),city:this.addressComponent(u,"city"),zip:this.addressComponent(u,"zip"),address:m,formatted_address:i.formatted_address||null,lat:i.geometry.location.lat()||null,lng:i.geometry.location.lng()||null}}addressComponent(i,u){var c={country:{field:"country",type:"long_name"},country_code:{field:"country",type:"short_name"},state:{field:"administrative_area_level_1",type:"long_name"},state_code:{field:"administrative_area_level_1",type:"short_name"},city:{field:"locality",type:"long_name"},zip:{field:"postal_code",type:"long_name"},street:{field:"route",type:"long_name"},street_number:{field:"street_number",type:"long_name"}},d=null;return each(i,m=>{if(m.types.indexOf(c[u].field)!==-1){if(["state","state_code"].indexOf(u)!==-1&&this.addressComponent(i,"country_code")!="US")return;d=m[c[u].type]||null}}),d}}class algolia{constructor(){this.places=null,this.options={}}init(i,u,c){if(window.places===void 0)throw new Error("Algolia Places API missing. Please include script in your project from https://community.algolia.com/places/documentation.html#cdn-script or install via npm and set to `window.places`.");this.options=c,this.places=window.places(Object.assign({},{container:i},c)),this.places.on("change",d=>{u(this.formatValue(d.suggestion),d.suggestion)})}destroy(){this.places.destroy()}formatValue(i){return isPlainObject_1(i)?{country:i.country,country_code:i.countryCode?i.countryCode.toUpperCase():null,state:i.countryCode=="us"?i.administrative:null,state_code:i.countryCode=="us"?this.stateCode(i.administrative.toLowerCase()):null,city:i.city,zip:i.postcode,address:i.name,formatted_address:i.value,lat:i.latlng.lat,lng:i.latlng.lng}:i}stateCode(i){var u={AL:"alabama",AK:"alaska",AZ:"arizona",AR:"arkansas",CA:"california",CO:"colorado",CT:"connecticut",DE:"delaware",DC:"district of columbia",FL:"florida",GA:"georgia",HI:"hawaii",ID:"idaho",IL:"illinois",IN:"indiana",IA:"iowa",KS:"kansas",KY:"kentucky",LA:"louisiana",ME:"maine",MD:"maryland",MA:"massachusetts",MI:"michigan",MN:"minnesota",MS:"mississippi",MO:"missouri",MT:"montana",NE:"nebraska",NV:"nevada",NH:"new hampshire",NJ:"new Jersey",NM:"new Mexico",NY:"new york",NC:"north carolina",ND:"north dakota",OH:"ohio",OK:"oklahoma",OR:"oregon",PA:"pennsylvania",RI:"rhode Island",SC:"south carolina",SD:"south dakota",TN:"tennessee",TX:"texas",UT:"utah",VT:"vermont",VA:"virginia",WA:"washington",WV:"west virginia",WI:"wisconsin",WY:"wyoming"};return values_1(u).indexOf(i)===-1?null:keys_1(u)[values_1(u).indexOf(i)]}}var location$4={google,algolia},check=(a,i,u,c)=>{var d=()=>a(u,c),m=g=>{var{conditionPath:y,operator:b,expected:w}=f(g),k=u.el$(y),$=!1;return k&&i&&each(k.conditions,S=>{Array.isArray(S)&&S[0]==i&&($=!0)}),!k||!$&&!k.available?!1:v(k.value,w,b)},f=g=>({conditionPath:i?replaceWildcards(g[0],i):g[0],operator:g.length==3||["empty","not_empty","today"].indexOf(g[1])!==-1?g[1]:"==",expected:g.length==3?g[2]:["empty","not_empty","today"].indexOf(g[1])===-1?g[1]:!0}),v=(g,y,b)=>compare(g,b,y,c);if(typeof a=="function")return d();if(isArray_1(a)&&isArray_1(a[0]))return a.reduce((g,y)=>g||(isArray_1(y[0])?y.reduce((b,w)=>b&&m(w),!0):m(y)),!1);if(isArray_1(a))return m(a);throw new Error("Condition must be a function or an array")},condition={check};class i18n{constructor(i){this.locales=i.locales,this.locale=i.locale,this.fallbackLocale=i.fallbackLocale}$t(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=get_1(this.locales[this.locale],i)||i;return c===i&&(c=get_1(this.locales[this.fallbackLocale],i)||i),each(u,(d,m)=>{c=c.replace(":"+m,d)}),each(u,(d,m)=>{c=c.replace("{"+m+"}",d)}),c}}class Columns{constructor(i,u,c,d){_defineProperty$2(this,"defaultBreakpoint","default"),this.presets=d,this.configPresetColumns=this.serialize(this.columnsFromPresets(i.configPresetColumns)||{}),this.configColumns=this.serialize(i.configColumns||{}),this.formPresetColumns=this.serialize(this.columnsFromPresets(i.formPresetColumns)||{}),this.formColumns=this.serialize(i.formColumns||{}),this.presetColumns=this.serialize(this.columnsFromPresets(i.elementPresetColumns)||{}),this.columns=this.serialize(i.elementColumns||{}),this.hasLabel=u,this.getClass=c,this.cols=this.getCols()}get classes(){return{container:this.getClasses("container"),label:this.getClasses("label"),innerContainer:this.getClasses("innerContainer"),wrapper:this.getClasses("wrapper")}}serialize(i){if(["number","string"].indexOf(typeof i)!==-1)return{[this.defaultBreakpoint]:{container:i}};if(typeof i=="object"&&["container","label","wrapper"].indexOf(Object.keys(i)[0])!==-1){var u={};return each(i,(d,m)=>{["number","string"].indexOf(typeof d)!==-1?(u[this.defaultBreakpoint]===void 0&&(u[this.defaultBreakpoint]={}),u[this.defaultBreakpoint][m]=d):each(d,(f,v)=>{u[v]===void 0&&(u[v]={}),u[v][m]=f})}),u}else{var c={};return each(i,(d,m)=>{["number","string"].indexOf(typeof d)!==-1?(c[m]===void 0&&(c[m]={}),c[m].container=d):c[m]=d}),c}}columnsFromPresets(i){var u;return each(i,c=>{var d=this.presets[c];!d||!d.columns||(u=d.columns)}),u}getNullClass(){return[this.getClass(this.defaultBreakpoint,0)]}getClasses(i){var u=[];return Object.keys(this.cols).forEach(c=>{var d;i==="innerContainer"?(d=this.cols[c].label,d=d>=12||!this.hasLabel?12:12-d):(d=this.cols[c][i],i==="label"&&!this.hasLabel&&(d=0)),d!==void 0&&!isNaN(d)&&u.push(this.getClass(c,d))}),u}getCols(){return merge_1({},{[this.defaultBreakpoint]:{container:12,label:12,wrapper:12}},this.configPresetColumns||{},this.configColumns||{},this.formPresetColumns||{},this.formColumns||{},this.presetColumns||{},this.columns||{})}}var config={env:"development",plugins:[],elements:[],theme:{},templates:{},views:{},size:"md",addClasses:{},removeClasses:{},replaceClasses:{},overrideClasses:{},presets:{},usePresets:[],classHelpers:!1,columns:{},forceLabels:!1,floatPlaceholders:!0,displayErrors:!0,displayMessages:!0,breakpoints:["sm","md","lg","xl","2xl"],languages:{en:"English"},language:"en",locales:{},locale:null,fallbackLocale:"en",orderFrom:1,rules:{},validateOn:"change|step",forceNumbers:!1,endpoints:{submit:{url:"/vueform/process",method:"post"},uploadTempFile:{url:"/vueform/file/upload-temp",method:"post"},removeTempFile:{url:"/vueform/file/remove-temp",method:"post"},removeFile:{url:"/vueform/file/remove",method:"post"},attachment:{url:"/vueform/editor/attachment",method:"post"},activeUrl:{url:"/vueform/validators/active_url",method:"post"},unique:{url:"/vueform/validators/unique",method:"post"},exists:{url:"/vueform/validators/exists",method:"post"}},formData(a){return a.convertFormData(_objectSpread2$1(_objectSpread2$1({},a.requestData),a.formKey?{formKey:a.formKey}:{}))},beforeSend:null,axios:{},locationProvider:"google",services:{algolia:{app_id:"",api_key:""}}};function installer(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:config,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=class{constructor(){this.options={config:omit_1(a,["theme","templates","locales","rules","plugins"]),templates:a.templates||{},components:a.components||{},theme:a.theme||{},rules:_objectSpread2$1(_objectSpread2$1({},u),a.rules||{}),locales:a.locales||{},plugins:a.plugins||[],i18n:null,vueVersion:null,services:{validation,axios,messageBag,autosize:n,location:location$4,condition,columns:Columns},version:packageJson.version}}config(d){each(["theme","templates","locales","rules"],m=>{d[m]!==void 0&&(this.options[m]=Object.assign({},this.options[m],d[m]))}),each(["plugins","components"],m=>{d[m]!==void 0&&(this.options[m]=d[m])}),each(["languages","services","presets","views"],m=>{d[m]!==void 0&&(this.options.config[m]=Object.assign({},this.options.config[m],d[m]))}),each(["addClasses","removeClasses","replaceClasses","overrideClasses"],m=>{d[m]!==void 0&&(this.options.config[m]=typeof d[m]=="function"?d[m]:Object.assign({},this.options.config[m],d[m]))}),each(["endpoints"],m=>{d[m]!==void 0&&(this.options.config[m]=merge_1({},this.options.config[m],d[m]))}),each(["columns","forceLabels","displayErrors","floatPlaceholders","displayErrors","displayMessages","language","locale","fallbackLocale","orderFrom","validateOn","formData","beforeSend","locationProvider","classHelpers","env","usePresets","plugins","size","apiKey","forceNumbers"],m=>{d[m]!==void 0&&(this.options.config[m]=d[m])}),d.elements&&(d.elements.forEach(m=>{i[m.name]=omit_1(m,["render","staticRenderFns","components"])}),d.elements.forEach(m=>{this.options.templates[m.name]===void 0&&(this.options.templates[m.name]=pick_1(m,["render","staticRenderFns","components"]))})),d.axios!==void 0&&(typeof d.axios=="function"?this.options.services.axios=d.axios:this.options.config.axios=d.axios)}registerComponents(d){each(i,(m,f)=>{if(m.register!==!1){var v=_objectSpread2$1({},m);if(v.setup=(b,w)=>{w=Object.assign({},w,{name:ref(f),emits:v.emits});var k=m.setup(b,w);return this.options.plugins.forEach($=>{typeof $=="function"&&($=$()),$=Array.isArray($)?$:[$],$.forEach(S=>{var C=typeof S=="function"?S():S;C.setup&&shouldApplyPlugin(f,C)&&(k=C.setup(b,w,k))})}),k},v.components===void 0){var g,y;v.components=((g=this.options.templates[f])===null||g===void 0?void 0:g.components)||((y=this.options.theme.templates[f])===null||y===void 0?void 0:y.components)||{}}v.render=function(){return this.template.render.apply(this,arguments)},v.staticRenderFns=function(){return this.template.staticRenderFns},this.options.plugins.forEach(b=>{typeof b=="function"&&(b=b()),b=Array.isArray(b)?b:[b],b.forEach(w=>{var k=typeof w=="function"?w():w;each(without_1(Object.keys(k),"setup","apply","config","install"),$=>{if(k[$]&&shouldApplyPlugin(f,k))if(Array.isArray(k[$])){var S=v[$]||[];v[$]=S.concat(k[$])}else isPlainObject_1(k[$])?v[$]=Object.assign({},v[$]||{},k[$]):v[$]=k[$]})})}),d.component(f,v)}})}initAxios(){var d=this.options.services.axios,m=this.options.config.axios,f=flat(this.options.config.axios);Object.keys(f).forEach(v=>{var g=f[v];["onUnauthenticated"].indexOf(v)===-1&&v.indexOf("csrfRequest.")===-1&&set_1(d.defaults,v,g)}),d.interceptors.response.use(v=>v,v=>v.response?new Promise((g,y)=>{var b=v.response,w=b.config;[401,419].indexOf(v.response.status)!==-1?m.csrfRequest&&!w.CSRF?d.request(_objectSpread2$1(_objectSpread2$1({},m.csrfRequest),{},{CSRF:!0})).then(()=>{g(d.request(_objectSpread2$1(_objectSpread2$1({},w),{},{CSRF:!0})))}).catch(k=>{y(k)}):m.onUnauthenticated?m.onUnauthenticated(w):y(v):y(v)}):Promise.reject(v))}initI18n(){this.options.i18n=new i18n({locales:this.options.locales,locale:this.options.config.locale,fallbackLocale:this.options.config.fallbackLocale})}install(d){var m,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=parseInt(d.version.split(".")[0]),g=parseInt(d.version.split(".")[1]);this.options.vueVersion=v;var y=f.plugins||[];y.forEach(k=>{typeof k=="function"&&(k=k()),k=Array.isArray(k)?k:[k],k.forEach($=>{var S=typeof $=="function"?$():$;S.config&&S.config(f)})}),f&&this.config(f),this.options.plugins.forEach(k=>{typeof k=="function"&&(k=k()),k=Array.isArray(k)?k:[k],k.forEach($=>{var S=typeof $=="function"?$():$;S.install&&S.install(d,this.options)})}),typeof a.axios!="function"&&this.initAxios(),this.initI18n(),Object.keys(this.options.components).forEach(k=>{i[k]=this.options.components[k]}),this.registerComponents(d);var b=((m=this.options.theme)===null||m===void 0?void 0:m.templates)||{};Object.keys(b).forEach(k=>{b[k]=markRaw(b[k])});var w=ref(_objectSpread2$1(_objectSpread2$1({},this.options),{},{theme:_objectSpread2$1(_objectSpread2$1({},this.options.theme),{},{templates:b})}));switch(v){case 2:d.config.ignoredElements=["trix-editor"],d.config.unwrapInjectedRef=!0,d.prototype.$vueform||(d.prototype.$vueform=new Proxy(w,{get:(k,$,S)=>k.value[$]})),d.__VUEFORM__||(d.__VUEFORM__=!0,d.mixin({methods:{__:(k,$)=>($||console.warn("DEPRECATED: __ method should be no longer used for translating labels, only if they contain variables. For general translation use form$.translation.TAG instead."),this.options.i18n.$t(k,$))}}));break;case 3:g<3&&(d.config.unwrapInjectedRef=!0),d.config.globalProperties.$vueform=new Proxy(w,{get:(k,$,S)=>k.value[$]}),d.provide("$vueform",w),d.mixin({methods:{$set(k,$,S){k[$]=S},$delete(k,$){delete k[$]},__:(k,$)=>($||console.warn("DEPRECATED: __ method should be no longer used for translating labels, only if they contain variables. For general translation use form$.translation.TAG instead."),this.options.i18n.$t(k,$))}});break}}};return new c}var base$17=function a(i,u,c){var d=inject$1("form$");return{form$:d}},base$16=function a(i,u,c){var d=inject$1("theme");return{theme:d}},base$15=function a(i,u,c){var d=inject$1("Size");return{Size:d}},base$14=function a(i,u,c){var{view:d}=toRefs(i),m=u.name,f=inject$1("Views")||ref({}),v=inject$1("View",ref(void 0)),g=computed(()=>d&&d.value?d.value:f.value[m.value]?f.value[m.value]:v.value);return{View:g}},base$13=function a(i,u,c){var d=u.name,{form$:m}=base$17(),{theme:f}=base$16(),{Size:v}=base$15(),{View:g}=base$14(i,u),y=computed(()=>getCurrentInstance$1().proxy),b=computed(()=>new MergeClasses({component:d.value,component$:y,theme:f.value,config:m.value.$vueform.config,templates:k.value,view:g.value,merge:[m.value.options]})),w=computed(()=>b.value.classes),k=computed(()=>f.value.templates),$=computed(()=>g.value&&k.value["".concat(d.value,"_").concat(g.value)]?k.value["".concat(d.value,"_").concat(g.value)]:k.value[d.value]);return{form$:m,theme:f,Size:v,View:g,classesInstance:b,classes:w,Templates:k,template:$}},FormErrors={name:"FormErrors",props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}=base$13(a,i),b=computed(()=>u.value.formErrors);return{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y,errors:b}}},FormMessages={name:"FormMessages",props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}=base$13(a,i),b=computed(()=>u.value.formMessages);return{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y,messages:b}}},FormLanguages={name:"FormLanguages",props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}=base$13(a,i),b=computed(()=>u.value.selectedLanguage),w=computed(()=>u.value.options.languages),k=S=>{u.value.setLanguage(S)},$=S=>{k(S)};return provide("View",d),{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y,language:b,languages:w,select:k,handleSelect:$}}},FormLanguage={name:"FormLanguage",emits:["select"],props:{language:{type:String,required:!0},code:{type:String,required:!0},view:{required:!1,type:[String],default:void 0}},setup(a,i){var{code:u}=toRefs(a),{form$:c,Size:d,View:m,classesInstance:f,theme:v,classes:g,Templates:y,template:b}=base$13(a,i),w=computed(()=>c.value.selectedLanguage),k=computed(()=>w.value==u.value),$=()=>{i.emit("select",u.value)};return{form$:c,Size:d,View:m,classesInstance:f,theme:v,selectedLanguage:w,selected:k,classes:g,Templates:y,template:b,select:$}}},baseIteratee$3=_baseIteratee,isArrayLike=isArrayLike_1,keys=keys_1;function createFind$2(a){return function(i,u,c){var d=Object(i);if(!isArrayLike(i)){var m=baseIteratee$3(u);i=keys(i),u=function(v){return m(d[v],v,d)}}var f=a(i,u,c);return f>-1?d[m?i[f]:f]:void 0}}var _createFind=createFind$2,baseFindIndex$1=_baseFindIndex,baseIteratee$2=_baseIteratee,toInteger$1=toInteger_1,nativeMax$1=Math.max;function findIndex$1(a,i,u){var c=a==null?0:a.length;if(!c)return-1;var d=u==null?0:toInteger$1(u);return d<0&&(d=nativeMax$1(c+d,0)),baseFindIndex$1(a,baseIteratee$2(i),d)}var findIndex_1=findIndex$1,createFind$1=_createFind,findIndex=findIndex_1,find$1=createFind$1(findIndex),find_1=find$1,baseFindIndex=_baseFindIndex,baseIteratee$1=_baseIteratee,toInteger=toInteger_1,nativeMax=Math.max,nativeMin=Math.min;function findLastIndex$1(a,i,u){var c=a==null?0:a.length;if(!c)return-1;var d=c-1;return u!==void 0&&(d=toInteger(u),d=u<0?nativeMax(c+d,0):nativeMin(d,c-1)),baseFindIndex(a,baseIteratee$1(i),d,!0)}var findLastIndex_1=findLastIndex$1,createFind=_createFind,findLastIndex=findLastIndex_1,findLast=createFind(findLastIndex),findLast_1=findLast,FormTabs={name:"FormTabs",emits:["select"],props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var u=getCurrentInstance$1().proxy,{form$:c,Size:d,View:m,classesInstance:f,theme:v,classes:g,Templates:y,template:b}=base$13(a,i),{events:w,listeners:k,on:$,off:S,fire:C}=base$1a(a,i,{form$:c},{events:i.emits}),E=ref([]),D=ref(!0),A=computed(()=>c.value.elements$),O=computed(()=>c.value.options.tabs),F=computed(()=>{var re={};return each(E.value,ae=>{re[ae.name]=ae}),re}),B=computed(()=>{var re={};return each(F.value,ae=>{ae.visible&&(re[ae.name]=ae)}),re}),I=computed(()=>{var re=find_1(F.value,{active:!0});return re!==void 0?re:{}}),M=computed(()=>find_1(B.value,re=>re.visible)),z=computed(()=>Object.values(B.value).pop()),q=computed(()=>find_1(B.value,re=>re.index>I.value.index&&re.visible)),H=computed(()=>findLast_1(B.value,re=>re.index<I.value.index&&re.visible)),Q=re=>{var ae=B.value[re];ae.select()},j=re=>{var ae=I.value;each(A.value,ye=>{ye.deactivate()}),each(F.value,ye=>{ye.deactivate()}),C("select",re,ae)},ee=re=>find_1(F.value,{name:re}),G=()=>{M.value.select()},J=(re,ae)=>{re.tabs$!==void 0?c.value.$set(re,"tabs$",u):ae(re.$parent,ae)},te=(re,ae)=>{re.tabs$!==void 0?c.value.$set(re,"tabs$",null):ae(re.$parent,ae)};return provide("View",m),watch(A,(re,ae)=>{var ye=difference_1(keys_1(re),keys_1(ae));each(ye,ve=>{A.value[ve].deactivate()})},{deep:!1,lazy:!0}),watch(O,_asyncToGenerator(function*(){yield nextTick(),yield nextTick(),(I.value===void 0||I.value.index===void 0)&&M.value&&M.value.select()}),{deep:!0,lazy:!0}),watch(O,re=>{var ae=[];each(re,(ye,ve)=>{ae.push(E.value[E.value.map(le=>normalize$1(le.name)).indexOf(normalize$1(ve))])}),E.value=ae},{flush:"post"}),onBeforeMount(()=>{J(u.$parent,J)}),onBeforeUnmount(()=>{te(u.$parent,te)}),onMounted(()=>{nextTick(()=>{find_1(F.value,{active:!0})||M.value.select()})}),{form$:c,Size:d,View:m,classesInstance:f,theme:v,tabs:O,elements$:A,tabs$Array:E,events:w,listeners:k,exists:D,classes:g,Templates:y,template:b,tabs$:F,visible$:B,current$:I,first$:M,last$:z,next$:q,previous$:H,goTo:Q,select:j,tab$:ee,reset:G,on:$,off:S,fire:C}}},base$12=function a(i,u,c){var{parent:d,conditions:m}=toRefs(i),f=c.form$,v=c.path||ref(null),g=c.el$||ref(void 0),y=ref(m.value),b=ref({}),w=computed(()=>f.value.conditions?d&&d.value&&d.value.available!==void 0&&!d.value.available?!1:!y.value||!y.value.length?!0:!some_1(y.value,C=>!f.value.$vueform.services.condition.check(C,v.value,f.value,g.value)):!0),k=()=>{y.value=Object.values(b.value).reduce((C,E)=>C.concat(E),m.value)},$=(C,E)=>{b.value[C]=E,k()},S=C=>{delete b.value[C],k()};return{conditionList:y,available:w,additionalConditions:b,updateConditions:k,addConditions:$,removeConditions:S}},list$5=function a(i,u,c){var{conditionList:d,available:m,additionalConditions:f,addConditions:v,removeConditions:g}=base$12(i,u,c),{conditions:y}=toRefs(i),b=c.children$Array,w=()=>{d.value=Object.values(f.value).reduce((k,$)=>k.concat($),y.value),b.value.forEach(k=>{k.updateConditions()})};return{conditionList:d,available:m,updateConditions:w,addConditions:v,removeConditions:g}},object$7=list$5,group$7=list$5,{hasOwnProperty,toString}=Object.prototype;function isNonEmptyString(a){return typeof a=="string"&&a.trim().length>0}function isFunction(a){return typeof a=="function"}function isNonEmptyArray(a){return Array.isArray(a)&&a.length>0}function isNonNullObject(a){return!!a}function isElement$1(a){return isNonNullObject(a)&&a.nodeType===1&&toString.call(a).indexOf("Element")>-1}function isVueComponent(a){return isPlainObject_1(a)&&(isNonEmptyString(a.template)||isFunction(a.render)||isNonEmptyString(a.el)||isElement$1(a.el)||isVueComponent(a.extends)||isNonEmptyArray(a.mixins)&&a.mixins.some(i=>isVueComponent(i)))||typeof a=="function"&&a.prototype&&a.prototype.constructor.name==="VueComponent"}function localize(a,i,u){var c=u.locale$||i.i18n.locale;return c&&a&&typeof a=="object"?(a==null?void 0:a[c])||(a==null?void 0:a[c.toUpperCase()])||(a==null?void 0:a[i.i18n.fallbackLocale])||(a==null?void 0:a[i.i18n.fallbackLocale.toUpperCase()])||(a==null?void 0:a[Object.keys(a)[0]])||"":a}var base$11=function a(i,u,c){var d=c.labelDefinition,m=c.component$||ref(null),f=inject$1("form$"),v=inject$1("config$"),g=computed(()=>d.value),y=computed(()=>typeof g.value=="function"&&(!g.value.prototype||!g.value.prototype.constructor||g.value.prototype.constructor&&g.value.prototype.constructor.name!=="VueComponent")),b=computed(()=>isVueComponent(g.value)),w=computed(()=>{var k=y.value?g.value(m.value):g.value||null;return b.value||(k=localize(k,v.value,f.value)),k});return{label:w,isLabelComponent:b}},FormTab={name:"FormTab",emits:["activate","inactivate"],slots:["default"],props:{name:{type:[String,Number],required:!0},label:{type:[String,Object,Function],required:!1,default:null},elements:{type:[Array],required:!1,default:()=>[]},conditions:{type:[Array],required:!1,default:()=>[]},addClass:{required:!1,type:[Array,Object,String],default:null},removeClass:{required:!1,type:[Array,Object],default:null},replaceClass:{required:!1,type:[Object],default:null},overrideClass:{required:!1,type:[Array,Object,String],default:null},view:{required:!1,type:[String],default:void 0},onActivate:{type:[Function],required:!1,default:null,private:!0},onInactivate:{type:[Function],required:!1,default:null,private:!0}},setup(a,i){var{name:u,label:c,elements:d}=toRefs(a),m=getCurrentInstance$1().proxy,{form$:f,Size:v,View:g,classesInstance:y,theme:b,classes:w,Templates:k,template:$}=base$13(a,i),{available:S,conditionList:C,updateConditions:E}=base$12(a,i,{form$:f}),{isLabelComponent:D,label:A}=base$11(a,i,{component$:f,labelDefinition:c}),{events:O,listeners:F,on:B,off:I,fire:M}=base$1a(a,i,{form$:f},{events:i.emits}),z=ref(!1),q=ref(A.value&&typeof A.value=="object"?markRaw(A.value):A.value),H=computed(()=>f.value.elements$),Q=computed(()=>f.value.tabs$),j=computed(()=>{var ue;return Object.keys((Q==null||(ue=Q.value)===null||ue===void 0?void 0:ue.tabs$)||{}).indexOf(u.value)}),ee=computed(()=>j.value===0),G=computed(()=>Q.value.last$.name===u.value),J=computed(()=>filter_1(H.value,(ue,Ce)=>d.value.indexOf(Ce)!==-1)),te=computed(()=>S.value),re=computed(()=>some_1(J.value,{available:!0,invalid:!0})),ae=computed(()=>f.value.tabs$.tabs$[u.value]),ye=()=>{var ue,Ce;z.value||!((ue=Q.value)!==null&&ue!==void 0&&ue.select)||((Ce=Q.value)===null||Ce===void 0||Ce.select(ae.value),ve())},ve=()=>{z.value||(z.value=!0,each(J.value,ue=>{ue.activate()}),M("activate"))},le=()=>{z.value&&(z.value=!1,each(J.value,ue=>{ue.deactivate()}),M("inactivate"))},Se=()=>{C.value.length!=0&&Object.values(J.value).forEach(ue=>{ue.addConditions("tab",C.value)})},De=()=>{Object.values(J.value).forEach(ue=>{ue.removeConditions("tab")})},At=()=>{De(),Se()},Le=(ue,Ce)=>{ue.tabs$Array?ue.tabs$Array.push(m):Ce(ue.$parent,Ce)},ke=(ue,Ce)=>{ue.tabs$Array?ue.tabs$Array.splice(ue.tabs$Array.map(Te=>normalize$1(Te.name)).indexOf(normalize$1(u.value)),1):Ce(ue.$parent,Ce)};return watch(J,()=>{z.value&&each(J.value,ue=>{ue.activate()})},{deep:!1,lazy:!0}),watch(A,()=>{q.value=A.value&&typeof A.value=="object"?markRaw(A.value):A.value}),watch(C,(ue,Ce)=>{ue!=null&&ue.length?Se():De()}),onMounted(()=>{nextTick(()=>{Se()})}),onBeforeMount(()=>{Le(m.$parent,Le)}),onBeforeUnmount(()=>{De(),ke(m.$parent,ke)}),{form$:f,Size:v,View:g,classesInstance:y,theme:b,elements$:H,index:j,isFirst:ee,isLast:G,active:z,events:O,listeners:F,children$:J,visible:te,invalid:re,classes:w,Templates:k,template:$,available:S,isLabelComponent:D,tabLabel:q,tab$:ae,tabs$:Q,conditionList:C,select:ye,activate:ve,deactivate:le,on:B,off:I,fire:M,addChildConditions:Se,removeChildConditions:De,resetChildConditions:At,updateConditions:E}}},FormSteps={name:"FormSteps",emits:["select","next","previous","finish"],props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var u=getCurrentInstance$1().proxy,{form$:c,Size:d,View:m,classesInstance:f,theme:v,classes:g,Templates:y,template:b}=base$13(a,i),{events:w,listeners:k,on:$,off:S,fire:C}=base$1a(a,i,{form$:c},{events:i.emits}),E=ref([]),D=ref(null),A=ref(!0),O=computed(()=>c.value.options.steps),F=computed(()=>c.value.elements$),B=computed(()=>some_1(Q.value,{pending:!0})),I=computed(()=>some_1(Q.value,{debouncing:!0})),M=computed(()=>some_1(Q.value,{invalid:!0})),z=computed(()=>!some_1(Q.value,{done:!1})),q=computed(()=>B.value||I.value),H=computed(()=>{var We={};return each(E.value,wt=>{We[wt.name]=wt}),We}),Q=computed(()=>{var We={};return each(H.value,wt=>{wt.visible&&(We[wt.name]=wt)}),We}),j=computed(()=>find_1(Q.value,We=>We.visible)),ee=computed(()=>Object.values(Q.value).pop()),G=computed(()=>{var We=find_1(H.value,{active:!0});return We!==void 0?We:{}}),J=computed(()=>find_1(Q.value,We=>We.index>G.value.index&&We.visible)),te=computed(()=>findLast_1(Q.value,We=>We.index<G.value.index&&We.visible)),re=computed(()=>find_1(Q.value,{invalid:!0})),ae=computed(()=>find_1(Q.value,{done:!1})),ye=computed(()=>findLast_1(Q.value,{isDisabled:!1})),ve=computed(()=>{var We=findLast_1(Q.value,{visible:!0});return!G.value||!We?!1:We.index===G.value.index}),le=computed(()=>G.value.index===0),Se=function(wt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ut=Q.value[wt];Ut.enable(),Ut.select(),jt&&nextTick(()=>{ie()})},De=()=>{C("next",J.value),J.value.enable(),J.value.select()},At=()=>{C("previous",te.value),te.value.select()},Le=()=>{each(H.value,We=>{We.complete()})},ke=We=>find_1(Q.value,{name:We}),ue=()=>{each(H.value,We=>{We.uncomplete(),We.disable()}),j.value.enable(),j.value.select()},Ce=()=>{each(H.value,We=>{We.enable()})},Te=function(){var We=_asyncToGenerator(function*(){if(yield c.value.submit(),M.value){re.value.select();return}D.value=watch(M,wt=>{wt&&re.value.select(),D.value()})});return function(){return We.apply(this,arguments)}}(),Pe=We=>{var wt=G.value;each(F.value,jt=>{jt.deactivate()}),each(H.value,jt=>{jt.deactivate()}),C("select",We,wt)},Vt=We=>{each(H.value,wt=>{wt.index<=We&&wt.visible&&wt.enable()})},Ie=()=>{Vt(G.value.index)},ie=()=>{!ye.value&&!j.value||Vt(ye.value!==void 0?ye.value.index:j.value.index)},de=(We,wt)=>{We.steps$!==void 0?c.value.$set(We,"steps$",u):wt(We.$parent,wt)},Fe=(We,wt)=>{We.steps$!==void 0?c.value.$set(We,"steps$",null):wt(We.$parent,wt)};return provide("View",m),watch(F,(We,wt)=>{var jt=difference_1(keys_1(We),keys_1(wt));each(jt,Ut=>{F.value[Ut].deactivate()})},{deep:!1,lazy:!0}),watch(O,()=>{nextTick(()=>{ye.value,G.value.index===void 0&&j.value&&j.value.select()})},{deep:!0,lazy:!0}),watch(O,We=>{var wt=[];each(We,(jt,Ut)=>{wt.push(E.value[E.value.map(Tt=>normalize$1(Tt.name)).indexOf(normalize$1(Ut))])}),E.value=wt},{flush:"post"}),onBeforeMount(()=>{de(u.$parent,de)}),onBeforeUnmount(()=>{Fe(u.$parent,Fe)}),onMounted(()=>{nextTick(()=>{(G.value===void 0||G.value.index===void 0)&&(j.value.enable(),j.value.select()),Ie(),watch(Q,()=>{ie()},{flush:"post"})})}),{form$:c,Size:d,View:m,classesInstance:f,theme:v,steps:O,elements$:F,steps$Array:E,events:w,listeners:k,exists:A,classes:g,Templates:y,template:b,steps$:H,pending:B,debouncing:I,invalid:M,done:z,busy:q,visible$:Q,first$:j,last$:ee,current$:G,next$:J,previous$:te,firstInvalid$:re,firstNonDone$:ae,lastEnabled$:ye,isAtLastStep:ve,isAtFirstStep:le,goTo:Se,next:De,previous:At,complete:Le,step$:ke,reset:ue,enableAllSteps:Ce,submit:Te,select:Pe,enableUntil:Vt,enableUntilCurrent:Ie,enableUntilLastEnabled:ie,on:$,off:S,fire:C}}},FormStepsControls={name:"FormStepsControls",slots:["previous","next","finish"],props:{labels:{type:Boolean,required:!1,default:!0},view:{required:!1,type:[String],default:void 0}},setup(a,i){var{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}=base$13(a,i);return provide("View",d),{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}}},FormStepsControl={name:"FormStepsControl",slots:["default"],props:{type:{type:[String],required:!0},labels:{type:[Boolean],required:!1,default:!0,private:!0},view:{required:!1,type:[String],default:void 0}},setup(a,i){var{type:u,labels:c}=toRefs(a),{form$:d,Size:m,View:f,classesInstance:v,theme:g,classes:y,Templates:b,template:w}=base$13(a,i),k=computed(()=>{if(!c.value)return null;var z=E&&E.value?E.value.labels:null;switch(u.value){case"previous":return z&&z.previous?z.previous:d.value.translations.vueform.steps.previous;case"next":return z&&z.next?z.next:d.value.translations.vueform.steps.next;case"finish":return z&&z.finish?z.finish:z&&z.next?z.next:d.value.translations.vueform.steps.finish}}),{isLabelComponent:$,label:S}=base$11(a,i,{component$:d,labelDefinition:k}),C=computed(()=>d.value.steps$),E=computed(()=>C.value?C.value.current$:void 0),D=computed(()=>{var z=E&&E.value?E.value.buttons:null;switch(u.value){case"previous":return z?z.previous!==!1:!0;case"next":return C.value&&!C.value.isAtLastStep&&(!z||z.next!==!1);case"finish":return C.value&&C.value.isAtLastStep&&(!z||z.finish!==!1)}}),A=computed(()=>{switch(u.value){case"previous":return C.value&&C.value.isAtFirstStep;case"next":return E.value!==void 0&&E.value.index!==void 0&&(E.value.invalid&&d.value.shouldValidateOnChange||E.value.busy||d.value.isLoading);case"finish":return C.value.invalid&&d.value.shouldValidateOnChange||C.value.busy||d.value.submitting||d.value.isDisabled||d.value.isLoading}}),O=computed(()=>u.value==="previous"?!1:d.value.isLoading||d.value.submitting),F=()=>{C.value.previous()},B=function(){var z=_asyncToGenerator(function*(){d.value.shouldValidateOnStep&&(yield E.value.validate()),!E.value.invalid&&(E.value.complete(),C.value.next())});return function(){return z.apply(this,arguments)}}(),I=function(){var z=_asyncToGenerator(function*(){C.value.fire("finish"),C.value.complete(),C.value.submit()});return function(){return z.apply(this,arguments)}}(),M=z=>{switch(u.value){case"previous":F();break;case"next":B(),(z.key==="Enter"||z.key===" ")&&nextTick(()=>{nextTick(()=>{var q,H=E==null||(q=E.value.children$)===null||q===void 0?void 0:q.find(Q=>{var j;return Q.name===(E==null||(j=E.value.elements)===null||j===void 0?void 0:j[0])});H&&H.focus()})});break;case"finish":I();break}};return{form$:d,Size:m,View:f,classesInstance:v,theme:g,steps$:C,classes:y,Templates:b,template:w,visible:D,isDisabled:A,isLoading:O,current$:E,label:S,isLabelComponent:$,previous:F,next:B,finish:I,handleClick:M}}},FormStep={name:"FormStep",emits:["activate","inactivate","enable","disable","complete"],slots:["default"],props:{name:{type:[String,Number],required:!0},label:{type:[String,Object,Function],required:!1,default:null},labels:{type:[Object],required:!1,default:()=>({})},buttons:{type:[Object],required:!1,default:()=>({})},elements:{type:[Array],required:!1,default:()=>[]},conditions:{type:[Array],required:!1,default:()=>[]},addClass:{required:!1,type:[Array,Object,String],default:null},removeClass:{required:!1,type:[Array,Object],default:null},replaceClass:{required:!1,type:[Object],default:null},overrideClass:{required:!1,type:[Array,Object,String],default:null},view:{required:!1,type:[String],default:void 0},onActivate:{type:[Function],required:!1,default:null,private:!0},onInactivate:{type:[Function],required:!1,default:null,private:!0},onDisable:{type:[Function],required:!1,default:null,private:!0},onEnable:{type:[Function],required:!1,default:null,private:!0}},setup(a,i){var{name:u,label:c,elements:d}=toRefs(a),m=getCurrentInstance$1().proxy,{form$:f,Size:v,View:g,classesInstance:y,theme:b,classes:w,Templates:k,template:$}=base$13(a,i),{available:S,conditionList:C,updateConditions:E}=base$12(a,i,{form$:f}),{isLabelComponent:D,label:A}=base$11(a,i,{component$:f,labelDefinition:c}),{events:O,listeners:F,on:B,off:I,fire:M}=base$1a(a,i,{form$:f},{events:i.emits}),z=ref(A.value&&typeof A.value=="object"?markRaw(A.value):A.value),q=ref(!1),H=ref(!0),Q=ref(!1),j=computed(()=>f.value.elements$),ee=computed(()=>f.value.steps$||{}),G=computed(()=>c.value),J=computed(()=>{var Tt;return Object.keys((ee==null||(Tt=ee.value)===null||Tt===void 0?void 0:Tt.steps$)||{}).indexOf(u.value)}),te=computed(()=>J.value===0),re=computed(()=>ee.value.last$.name===u.value),ae=computed(()=>filter_1(j.value,(Tt,Ft)=>d.value.indexOf(Ft)!==-1)),ye=computed(()=>S.value),ve=computed(()=>some_1(ae.value,{available:!0,invalid:!0})),le=computed(()=>some_1(ae.value,{available:!0,pending:!0})),Se=computed(()=>some_1(ae.value,{available:!0,debouncing:!0})),De=computed(()=>!some_1(ae.value,{available:!0,validated:!1})),At=computed(()=>le.value||Se.value),Le=computed(()=>Q.value&&De.value&&!ve.value&&!le.value),ke=computed(()=>{var Tt;return(Tt=f.value.steps$)===null||Tt===void 0?void 0:Tt.steps$[u.value]}),ue=function(){var Tt=_asyncToGenerator(function*(){De.value&&!ve.value&&f.value.shouldValidateOnChange||(yield asyncForEach(ae.value,function(){var Ft=_asyncToGenerator(function*(St){(!St.validated||St.invalid||!f.value.shouldValidateOnChange)&&St.available&&!St.isStatic&&(yield St.validate())});return function(St){return Ft.apply(this,arguments)}}()))});return function(){return Tt.apply(this,arguments)}}(),Ce=()=>{q.value||(q.value=!0,M("activate"))},Te=()=>{q.value&&(q.value=!1,M("inactivate"))},Pe=()=>{H.value&&(H.value=!1,M("enable"))},Vt=()=>{H.value||(H.value=!0,M("disable"))},Ie=()=>{Q.value||(Q.value=!0,M("complete"))},ie=()=>{Q.value=!1},de=()=>{var Tt,Ft;H.value||!((Tt=ee.value)!==null&&Tt!==void 0&&Tt.select)||((Ft=ee.value)===null||Ft===void 0||Ft.select(ke.value),each(ae.value,St=>{St.activate()}),Ce())},Fe=()=>{C.value.length!=0&&Object.values(ae.value).forEach(Tt=>{Tt.addConditions("step",C.value)})},We=()=>{Object.values(ae.value).forEach(Tt=>{Tt.removeConditions("step")})},wt=()=>{We(),Fe()},jt=(Tt,Ft)=>{Tt.steps$Array?Tt.steps$Array.push(m):Ft(Tt.$parent,Ft)},Ut=(Tt,Ft)=>{Tt.steps$Array?Tt.steps$Array.splice(Tt.steps$Array.map(St=>normalize$1(St.name)).indexOf(normalize$1(u.value)),1):Ft(Tt.$parent,Ft)};return watch(ye,Tt=>{Tt&&J.value<f.value.steps$.current$.index&&Pe()}),watch(ae,()=>{q.value&&each(ae.value,Tt=>{Tt.activate()})},{deep:!1,lazy:!0}),watch(A,()=>{z.value=A.value&&typeof A.value=="object"?markRaw(A.value):A.value}),watch(C,(Tt,Ft)=>{Tt!=null&&Tt.length?Fe():We()}),onMounted(()=>{nextTick(()=>{Fe()})}),onBeforeMount(()=>{jt(m.$parent,jt)}),onBeforeUnmount(()=>{We(),Ut(m.$parent,Ut)}),{form$:f,Size:v,View:g,classesInstance:y,theme:b,steps$:ee,elements$:j,active:q,isDisabled:H,isFirst:te,isLast:re,completed:Q,events:O,listeners:F,children$:ae,visible:ye,invalid:ve,pending:le,classes:w,Templates:k,template:$,available:S,baseLabel:G,debouncing:Se,validated:De,busy:At,done:Le,step$:ke,isLabelComponent:D,stepLabel:z,index:J,conditionList:C,validate:ue,activate:Ce,deactivate:Te,enable:Pe,disable:Vt,complete:Ie,uncomplete:ie,select:de,on:B,off:I,fire:M,addChildConditions:Fe,removeChildConditions:We,resetChildConditions:wt,updateConditions:E}}},base$10=function a(i,u,c){var d=m=>"".concat(upperFirst_1(camelCase_1(m.type)),"Element");return{component:d}},FormElements={name:"FormElements",slots:["default"],props:{view:{required:!1,type:[String],default:void 0}},setup(a,i){var{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y}=base$13(a,i),{component:b}=base$10(),w=computed(()=>u.value.options.schema);return{form$:u,Size:c,View:d,classesInstance:m,theme:f,classes:v,Templates:g,template:y,schema:w,component:b}}},base$$=function a(i,u,c){var d=inject$1("el$");return{el$:d}},base$_=function a(i,u,c){var d=u.name,{form$:m}=base$17(),{el$:f}=base$$(),{theme:v}=base$16(),{Size:g}=base$15(),{View:y}=base$14(i,u),b=computed(()=>getCurrentInstance$1().proxy),w=computed(()=>new MergeClasses({component:d.value,component$:b,theme:v.value,config:m.value.$vueform.config,templates:$.value,view:y.value,merge:[m.value.options,f.value]})),k=computed(()=>w.value.classes),$=computed(()=>f.value.Templates),S=computed(()=>y.value&&$.value["".concat(d.value,"_").concat(y.value)]?$.value["".concat(d.value,"_").concat(y.value)]:$.value[d.value]);return{el$:f,form$:m,theme:v,Size:g,View:y,classesInstance:w,classes:k,Templates:$,template:S}},ElementLayout={name:"ElementLayout",slots:["field","label","info","description","before","between","after"],props:{multiple:{type:[Boolean],required:!1,default:!1},view:{type:[String],required:!1,default:void 0}},setup(a,i){var{form$:u,el$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=computed(()=>c.value.visible);return{el$:c,form$:u,Size:d,View:m,classesInstance:f,theme:b,Templates:g,template:y,classes:v,visible:w}}},ElementLayoutInline={name:"ElementLayoutInline",slots:["field","label","info","description","before","between","after"],setup(a,i){var{form$:u,el$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=computed(()=>c.value.visible);return{el$:c,form$:u,Size:d,View:m,classesInstance:f,theme:b,Templates:g,template:y,classes:v,visible:w}}},ElementLoader={name:"ElementLoader",setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i);return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y}}},ElementLabelFloating={name:"ElementLabelFloating",props:{visible:{type:Boolean,default:!1}},setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=inject$1("config$"),k=computed(()=>localize(u.value.floating||(c.value.options.floatPlaceholders?u.value.placeholder:null),w.value,c.value));return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,floating:k}}},ElementLabel={name:"ElementLabel",slots:["default","info"],setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),{label:w,isLabelComponent:k}=base$11(a,i,{labelDefinition:computed(()=>u.value.label),component$:u}),$=computed(()=>u.value.fieldId),S=computed(()=>u.value.labelId),C=computed(()=>u.value.hasLabel),E=computed(()=>{var D,A,O;return!!((D=u.value.slots)!==null&&D!==void 0&&D.label||(A=u.value.$slots)!==null&&A!==void 0&&A.label||c.value.$vueform.vueVersion===2&&(O=u.value.$scopedSlots)!==null&&O!==void 0&&O.label)});return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,label:w,isLabelComponent:k,name:$,id:S,hasLabel:C,isSlot:E}}};function isInViewport(a){var i=a.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth)}var ElementInfo={name:"ElementInfo",slots:["default"],setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=inject$1("config$"),k=ref(u.value.infoPosition),$=computed(()=>localize(u.value.info,w.value,c.value)),S=computed(()=>u.value.infoId),C=computed(()=>{var D,A,O;return!!((D=u.value.slots)!==null&&D!==void 0&&D.info||(A=u.value.$slots)!==null&&A!==void 0&&A.info||c.value.$vueform.vueVersion===2&&(O=u.value.$scopedSlots)!==null&&O!==void 0&&O.info)}),E=function(){var D=_asyncToGenerator(function*(A){if(k.value===u.value.infoPosition){yield nextTick();var O=A.target.querySelector("div");O&&(isInViewport(O)||(k.value="right"),yield nextTick(),isInViewport(O)||(k.value="top"),yield nextTick(),isInViewport(O)||(k.value="left"),yield nextTick(),isInViewport(O)||(k.value="bottom"))}});return function(O){return D.apply(this,arguments)}}();return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,info:$,isSlot:C,position:k,id:S,handleMouseOver:E}}},ElementDescription={name:"ElementDescription",slots:["default"],setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=inject$1("config$"),k=computed(()=>localize(u.value.description,w.value,c.value)),$=computed(()=>u.value.descriptionId),S=computed(()=>{var C,E,D;return!!((C=u.value.slots)!==null&&C!==void 0&&C.description||(E=u.value.$slots)!==null&&E!==void 0&&E.description||c.value.$vueform.vueVersion===2&&(D=u.value.$scopedSlots)!==null&&D!==void 0&&D.description)});return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,description:k,isSlot:S,id:$}}},ElementError={name:"ElementError",setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=computed(()=>u.value.error),k=computed(()=>u.value.errorId);return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,error:w,id:k}}},ElementMessage={name:"ElementMessage",setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),w=computed(()=>u.value.messageBag?u.value.messageBag.message:null);return{el$:u,form$:c,Size:d,View:m,classesInstance:f,theme:b,classes:v,Templates:g,template:y,message:w}}},ElementText={name:"ElementText",slots:["default"],props:{type:{type:String,required:!0}},setup(a,i){var{type:u}=toRefs(a),{el$:c,form$:d,Size:m,View:f,classesInstance:v,classes:g,Templates:y,template:b,theme:w}=base$_(a,i),k=inject$1("config$"),$=computed(()=>localize(c.value[u.value],k.value,d.value)),S=computed(()=>{var C,E,D;return!!((C=c.value.slots)!==null&&C!==void 0&&C[u.value]||(E=c.value.$slots)!==null&&E!==void 0&&E[u.value]||d.value.$vueform.vueVersion===2&&(D=c.value.$scopedSlots)!==null&&D!==void 0&&D[u.value])});return{el$:c,form$:d,Size:m,View:f,classesInstance:v,theme:w,classes:g,Templates:y,template:b,content:$,isSlot:S}}},DragAndDrop={name:"DragAndDrop",emits:["click","drop"],props:{title:{type:String,required:!0},description:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1}},setup(a,i){var{disabled:u}=toRefs(a),{el$:c,form$:d,Size:m,View:f,classesInstance:v,classes:g,Templates:y,template:b,theme:w}=base$_(a,i),k=ref(!1),$=ref(null),S=()=>{i.emit("click")};return onMounted(()=>{each(["drag","dragstart","dragend","dragover","dragenter","dragleave","drop"],C=>{$.value.addEventListener(C,E=>{E.preventDefault(),E.stopPropagation()})}),$.value.addEventListener("drop",C=>{u.value||(i.emit("drop",C),k.value=!1)}),$.value.addEventListener("dragover",C=>{u.value||k.value!==!0&&(k.value=!0)}),$.value.addEventListener("dragleave",C=>{u.value||(k.value=!1)}),$.value.addEventListener("dragend",C=>{u.value||(k.value=!1)})}),{el$:c,form$:d,Size:m,View:f,classesInstance:v,classes:g,Templates:y,template:b,theme:w,dragging:k,area:$,handleClick:S}}},ElementAddon={name:"ElementAddon",slots:["default"],props:{type:{required:!0,type:String}},setup(a,i){var{type:u}=toRefs(a),{form$:c,el$:d,Size:m,View:f,classesInstance:v,classes:g,Templates:y,template:b,theme:w}=base$_(a,i),k=inject$1("config$"),$=computed(()=>d.value.addons[u.value]),S=computed(()=>{var A=C.value?$.value(d.value):$.value||null;return E.value||(A=localize(A,k.value,c.value)),A}),C=computed(()=>typeof $.value=="function"&&(!$.value.prototype||!$.value.prototype.constructor||$.value.prototype.constructor&&$.value.prototype.constructor.name!=="VueComponent")),E=computed(()=>isVueComponent($.value)),D=computed(()=>{var A,O,F;return!!((A=d.value.slots)!==null&&A!==void 0&&A["addon-".concat(u.value)]||(O=d.value.$slots)!==null&&O!==void 0&&O["addon-".concat(u.value)]||c.value.$vueform.vueVersion===2&&(F=d.value.$scopedSlots)!==null&&F!==void 0&&F["addon-".concat(u.value)]||d.value.slots["addon-".concat(u.value)])});return{el$:d,form$:c,theme:w,Size:m,View:f,classesInstance:v,Templates:y,template:b,classes:g,addon:S,isAddonComponent:E,isSlot:D}}},HOOKS=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],defaults$1={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(a){return typeof console<"u"&&console.warn(a)},getWeek:function(a){var i=new Date(a.getTime());i.setHours(0,0,0,0),i.setDate(i.getDate()+3-(i.getDay()+6)%7);var u=new Date(i.getFullYear(),0,4);return 1+Math.round(((i.getTime()-u.getTime())/864e5-3+(u.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},english={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(a){var i=a%100;if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},pad=function(a,i){return i===void 0&&(i=2),("000"+a).slice(i*-1)},int=function(a){return a===!0?1:0};function debounce$1(a,i){var u;return function(){var c=this,d=arguments;clearTimeout(u),u=setTimeout(function(){return a.apply(c,d)},i)}}var arrayify=function(a){return a instanceof Array?a:[a]};function toggleClass$1(a,i,u){if(u===!0)return a.classList.add(i);a.classList.remove(i)}function createElement(a,i,u){var c=window.document.createElement(a);return i=i||"",u=u||"",c.className=i,u!==void 0&&(c.textContent=u),c}function clearNode(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function findParent(a,i){if(i(a))return a;if(a.parentNode)return findParent(a.parentNode,i)}function createNumberInput(a,i){var u=createElement("div","numInputWrapper"),c=createElement("input","numInput "+a),d=createElement("span","arrowUp"),m=createElement("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?c.type="number":(c.type="text",c.pattern="\\d*"),i!==void 0)for(var f in i)c.setAttribute(f,i[f]);return u.appendChild(c),u.appendChild(d),u.appendChild(m),u}function getEventTarget(a){try{if(typeof a.composedPath=="function"){var i=a.composedPath();return i[0]}return a.target}catch{return a.target}}var doNothing=function(){},monthToStr=function(a,i,u){return u.months[i?"shorthand":"longhand"][a]},revFormat={D:doNothing,F:function(a,i,u){a.setMonth(u.months.longhand.indexOf(i))},G:function(a,i){a.setHours((a.getHours()>=12?12:0)+parseFloat(i))},H:function(a,i){a.setHours(parseFloat(i))},J:function(a,i){a.setDate(parseFloat(i))},K:function(a,i,u){a.setHours(a.getHours()%12+12*int(new RegExp(u.amPM[1],"i").test(i)))},M:function(a,i,u){a.setMonth(u.months.shorthand.indexOf(i))},S:function(a,i){a.setSeconds(parseFloat(i))},U:function(a,i){return new Date(parseFloat(i)*1e3)},W:function(a,i,u){var c=parseInt(i),d=new Date(a.getFullYear(),0,2+(c-1)*7,0,0,0,0);return d.setDate(d.getDate()-d.getDay()+u.firstDayOfWeek),d},Y:function(a,i){a.setFullYear(parseFloat(i))},Z:function(a,i){return new Date(i)},d:function(a,i){a.setDate(parseFloat(i))},h:function(a,i){a.setHours((a.getHours()>=12?12:0)+parseFloat(i))},i:function(a,i){a.setMinutes(parseFloat(i))},j:function(a,i){a.setDate(parseFloat(i))},l:doNothing,m:function(a,i){a.setMonth(parseFloat(i)-1)},n:function(a,i){a.setMonth(parseFloat(i)-1)},s:function(a,i){a.setSeconds(parseFloat(i))},u:function(a,i){return new Date(parseFloat(i))},w:doNothing,y:function(a,i){a.setFullYear(2e3+parseFloat(i))}},tokenRegex={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},formats={Z:function(a){return a.toISOString()},D:function(a,i,u){return i.weekdays.shorthand[formats.w(a,i,u)]},F:function(a,i,u){return monthToStr(formats.n(a,i,u)-1,!1,i)},G:function(a,i,u){return pad(formats.h(a,i,u))},H:function(a){return pad(a.getHours())},J:function(a,i){return i.ordinal!==void 0?a.getDate()+i.ordinal(a.getDate()):a.getDate()},K:function(a,i){return i.amPM[int(a.getHours()>11)]},M:function(a,i){return monthToStr(a.getMonth(),!0,i)},S:function(a){return pad(a.getSeconds())},U:function(a){return a.getTime()/1e3},W:function(a,i,u){return u.getWeek(a)},Y:function(a){return pad(a.getFullYear(),4)},d:function(a){return pad(a.getDate())},h:function(a){return a.getHours()%12?a.getHours()%12:12},i:function(a){return pad(a.getMinutes())},j:function(a){return a.getDate()},l:function(a,i){return i.weekdays.longhand[a.getDay()]},m:function(a){return pad(a.getMonth()+1)},n:function(a){return a.getMonth()+1},s:function(a){return a.getSeconds()},u:function(a){return a.getTime()},w:function(a){return a.getDay()},y:function(a){return String(a.getFullYear()).substring(2)}},createDateFormatter=function(a){var i=a.config,u=i===void 0?defaults$1:i,c=a.l10n,d=c===void 0?english:c,m=a.isMobile,f=m===void 0?!1:m;return function(v,g,y){var b=y||d;return u.formatDate!==void 0&&!f?u.formatDate(v,g,b):g.split("").map(function(w,k,$){return formats[w]&&$[k-1]!=="\\"?formats[w](v,b,u):w!=="\\"?w:""}).join("")}},createDateParser=function(a){var i=a.config,u=i===void 0?defaults$1:i,c=a.l10n,d=c===void 0?english:c;return function(m,f,v,g){if(!(m!==0&&!m)){var y=g||d,b,w=m;if(m instanceof Date)b=new Date(m.getTime());else if(typeof m!="string"&&m.toFixed!==void 0)b=new Date(m);else if(typeof m=="string"){var k=f||(u||defaults$1).dateFormat,$=String(m).trim();if($==="today")b=new Date,v=!0;else if(u&&u.parseDate)b=u.parseDate(m,k);else if(/Z$/.test($)||/GMT$/.test($))b=new Date(m);else{for(var S=void 0,C=[],E=0,D=0,A="";E<k.length;E++){var O=k[E],F=O==="\\",B=k[E-1]==="\\"||F;if(tokenRegex[O]&&!B){A+=tokenRegex[O];var I=new RegExp(A).exec(m);I&&(S=!0)&&C[O!=="Y"?"push":"unshift"]({fn:revFormat[O],val:I[++D]})}else F||(A+=".")}b=!u||!u.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),C.forEach(function(M){var z=M.fn,q=M.val;return b=z(b,q,y)||b}),b=S?b:void 0}}if(!(b instanceof Date&&!isNaN(b.getTime()))){u.errorHandler(new Error("Invalid date provided: "+w));return}return v===!0&&b.setHours(0,0,0,0),b}}};function compareDates(a,i,u){return u===void 0&&(u=!0),u!==!1?new Date(a.getTime()).setHours(0,0,0,0)-new Date(i.getTime()).setHours(0,0,0,0):a.getTime()-i.getTime()}var isBetween=function(a,i,u){return a>Math.min(i,u)&&a<Math.max(i,u)},calculateSecondsSinceMidnight=function(a,i,u){return a*3600+i*60+u},parseSeconds=function(a){var i=Math.floor(a/3600),u=(a-i*3600)/60;return[i,u,a-i*3600-u*60]},duration={DAY:864e5};function getDefaultHours(a){var i=a.defaultHour,u=a.defaultMinute,c=a.defaultSeconds;if(a.minDate!==void 0){var d=a.minDate.getHours(),m=a.minDate.getMinutes(),f=a.minDate.getSeconds();i<d&&(i=d),i===d&&u<m&&(u=m),i===d&&u===m&&c<f&&(c=a.minDate.getSeconds())}if(a.maxDate!==void 0){var v=a.maxDate.getHours(),g=a.maxDate.getMinutes();i=Math.min(i,v),i===v&&(u=Math.min(g,u)),i===v&&u===g&&(c=a.maxDate.getSeconds())}return{hours:i,minutes:u,seconds:c}}typeof Object.assign!="function"&&(Object.assign=function(a){for(var i=[],u=1;u<arguments.length;u++)i[u-1]=arguments[u];if(!a)throw TypeError("Cannot convert undefined or null to object");for(var c=function(v){v&&Object.keys(v).forEach(function(g){return a[g]=v[g]})},d=0,m=i;d<m.length;d++){var f=m[d];c(f)}return a});var __assign=function(){return __assign=Object.assign||function(a){for(var i,u=1,c=arguments.length;u<c;u++){i=arguments[u];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(a[d]=i[d])}return a},__assign.apply(this,arguments)},__spreadArrays=function(){for(var a=0,i=0,u=arguments.length;i<u;i++)a+=arguments[i].length;for(var c=Array(a),d=0,i=0;i<u;i++)for(var m=arguments[i],f=0,v=m.length;f<v;f++,d++)c[d]=m[f];return c},DEBOUNCED_CHANGE_MS=300;function FlatpickrInstance(a,i){var u={config:__assign(__assign({},defaults$1),flatpickr.defaultConfig),l10n:english};u.parseDate=createDateParser({config:u.config,l10n:u.l10n}),u._handlers=[],u.pluginElements=[],u.loadedPlugins=[],u._bind=C,u._setHoursFromDate=k,u._positionCalendar=Ut,u.changeMonth=le,u.changeYear=ue,u.clear=Se,u.close=De,u.onMouseOver=Ie,u._createElement=createElement,u.createDay=I,u.destroy=At,u.isEnabled=Ce,u.jumpToDate=A,u.updateValue=Oe,u.open=de,u.redraw=St,u.set=Kt,u.setDate=hn,u.toggle=an;function c(){u.utils={getDaysInMonth:function(oe,pe){return oe===void 0&&(oe=u.currentMonth),pe===void 0&&(pe=u.currentYear),oe===1&&(pe%4===0&&pe%100!==0||pe%400===0)?29:u.l10n.daysInMonth[oe]}}}function d(){u.element=u.input=a,u.isOpen=!1,We(),jt(),zt(),Et(),c(),u.isMobile||B(),D(),(u.selectedDates.length||u.config.noCalendar)&&(u.config.enableTime&&k(u.config.noCalendar?u.latestSelectedDateObj:void 0),Oe(!1)),v();var oe=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!u.isMobile&&oe&&Ut(),sn("onReady")}function m(){var oe;return((oe=u.calendarContainer)===null||oe===void 0?void 0:oe.getRootNode()).activeElement||document.activeElement}function f(oe){return oe.bind(u)}function v(){var oe=u.config;oe.weekNumbers===!1&&oe.showMonths===1||oe.noCalendar!==!0&&window.requestAnimationFrame(function(){if(u.calendarContainer!==void 0&&(u.calendarContainer.style.visibility="hidden",u.calendarContainer.style.display="block"),u.daysContainer!==void 0){var pe=(u.days.offsetWidth+1)*oe.showMonths;u.daysContainer.style.width=pe+"px",u.calendarContainer.style.width=pe+(u.weekWrapper!==void 0?u.weekWrapper.offsetWidth:0)+"px",u.calendarContainer.style.removeProperty("visibility"),u.calendarContainer.style.removeProperty("display")}})}function g(oe){if(u.selectedDates.length===0){var pe=u.config.minDate===void 0||compareDates(new Date,u.config.minDate)>=0?new Date:new Date(u.config.minDate.getTime()),Ne=getDefaultHours(u.config);pe.setHours(Ne.hours,Ne.minutes,Ne.seconds,pe.getMilliseconds()),u.selectedDates=[pe],u.latestSelectedDateObj=pe}oe!==void 0&&oe.type!=="blur"&&Rt(oe);var Nt=u._input.value;w(),Oe(),u._input.value!==Nt&&u._debouncedChange()}function y(oe,pe){return oe%12+12*int(pe===u.l10n.amPM[1])}function b(oe){switch(oe%24){case 0:case 12:return 12;default:return oe%12}}function w(){if(!(u.hourElement===void 0||u.minuteElement===void 0)){var oe=(parseInt(u.hourElement.value.slice(-2),10)||0)%24,pe=(parseInt(u.minuteElement.value,10)||0)%60,Ne=u.secondElement!==void 0?(parseInt(u.secondElement.value,10)||0)%60:0;u.amPM!==void 0&&(oe=y(oe,u.amPM.textContent));var Nt=u.config.minTime!==void 0||u.config.minDate&&u.minDateHasTime&&u.latestSelectedDateObj&&compareDates(u.latestSelectedDateObj,u.config.minDate,!0)===0,qt=u.config.maxTime!==void 0||u.config.maxDate&&u.maxDateHasTime&&u.latestSelectedDateObj&&compareDates(u.latestSelectedDateObj,u.config.maxDate,!0)===0;if(u.config.maxTime!==void 0&&u.config.minTime!==void 0&&u.config.minTime>u.config.maxTime){var tn=calculateSecondsSinceMidnight(u.config.minTime.getHours(),u.config.minTime.getMinutes(),u.config.minTime.getSeconds()),un=calculateSecondsSinceMidnight(u.config.maxTime.getHours(),u.config.maxTime.getMinutes(),u.config.maxTime.getSeconds()),Gt=calculateSecondsSinceMidnight(oe,pe,Ne);if(Gt>un&&Gt<tn){var _n=parseSeconds(tn);oe=_n[0],pe=_n[1],Ne=_n[2]}}else{if(qt){var nn=u.config.maxTime!==void 0?u.config.maxTime:u.config.maxDate;oe=Math.min(oe,nn.getHours()),oe===nn.getHours()&&(pe=Math.min(pe,nn.getMinutes())),pe===nn.getMinutes()&&(Ne=Math.min(Ne,nn.getSeconds()))}if(Nt){var cn=u.config.minTime!==void 0?u.config.minTime:u.config.minDate;oe=Math.max(oe,cn.getHours()),oe===cn.getHours()&&pe<cn.getMinutes()&&(pe=cn.getMinutes()),pe===cn.getMinutes()&&(Ne=Math.max(Ne,cn.getSeconds()))}}$(oe,pe,Ne)}}function k(oe){var pe=oe||u.latestSelectedDateObj;pe&&pe instanceof Date&&$(pe.getHours(),pe.getMinutes(),pe.getSeconds())}function $(oe,pe,Ne){u.latestSelectedDateObj!==void 0&&u.latestSelectedDateObj.setHours(oe%24,pe,Ne||0,0),!(!u.hourElement||!u.minuteElement||u.isMobile)&&(u.hourElement.value=pad(u.config.time_24hr?oe:(12+oe)%12+12*int(oe%12===0)),u.minuteElement.value=pad(pe),u.amPM!==void 0&&(u.amPM.textContent=u.l10n.amPM[int(oe>=12)]),u.secondElement!==void 0&&(u.secondElement.value=pad(Ne)))}function S(oe){var pe=getEventTarget(oe),Ne=parseInt(pe.value)+(oe.delta||0);(Ne/1e3>1||oe.key==="Enter"&&!/[^\d]/.test(Ne.toString()))&&ue(Ne)}function C(oe,pe,Ne,Nt){if(pe instanceof Array)return pe.forEach(function(qt){return C(oe,qt,Ne,Nt)});if(oe instanceof Array)return oe.forEach(function(qt){return C(qt,pe,Ne,Nt)});oe.addEventListener(pe,Ne,Nt),u._handlers.push({remove:function(){return oe.removeEventListener(pe,Ne,Nt)}})}function E(){sn("onChange")}function D(){if(u.config.wrap&&["open","close","toggle","clear"].forEach(function(Ne){Array.prototype.forEach.call(u.element.querySelectorAll("[data-"+Ne+"]"),function(Nt){return C(Nt,"click",u[Ne])})}),u.isMobile){mn();return}var oe=debounce$1(ie,50);if(u._debouncedChange=debounce$1(E,DEBOUNCED_CHANGE_MS),u.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&C(u.daysContainer,"mouseover",function(Ne){u.config.mode==="range"&&Ie(getEventTarget(Ne))}),C(u._input,"keydown",Vt),u.calendarContainer!==void 0&&C(u.calendarContainer,"keydown",Vt),!u.config.inline&&!u.config.static&&C(window,"resize",oe),window.ontouchstart!==void 0?C(window.document,"touchstart",ke):C(window.document,"mousedown",ke),C(window.document,"focus",ke,{capture:!0}),u.config.clickOpens===!0&&(C(u._input,"focus",u.open),C(u._input,"click",u.open)),u.daysContainer!==void 0&&(C(u.monthNav,"click",Ye),C(u.monthNav,["keyup","increment"],S),C(u.daysContainer,"click",$t)),u.timeContainer!==void 0&&u.minuteElement!==void 0&&u.hourElement!==void 0){var pe=function(Ne){return getEventTarget(Ne).select()};C(u.timeContainer,["increment"],g),C(u.timeContainer,"blur",g,{capture:!0}),C(u.timeContainer,"click",O),C([u.hourElement,u.minuteElement],["focus","click"],pe),u.secondElement!==void 0&&C(u.secondElement,"focus",function(){return u.secondElement&&u.secondElement.select()}),u.amPM!==void 0&&C(u.amPM,"click",function(Ne){g(Ne)})}u.config.allowInput&&C(u._input,"blur",Pe)}function A(oe,pe){var Ne=oe!==void 0?u.parseDate(oe):u.latestSelectedDateObj||(u.config.minDate&&u.config.minDate>u.now?u.config.minDate:u.config.maxDate&&u.config.maxDate<u.now?u.config.maxDate:u.now),Nt=u.currentYear,qt=u.currentMonth;try{Ne!==void 0&&(u.currentYear=Ne.getFullYear(),u.currentMonth=Ne.getMonth())}catch(tn){tn.message="Invalid date supplied: "+Ne,u.config.errorHandler(tn)}pe&&u.currentYear!==Nt&&(sn("onYearChange"),ee()),pe&&(u.currentYear!==Nt||u.currentMonth!==qt)&&sn("onMonthChange"),u.redraw()}function O(oe){var pe=getEventTarget(oe);~pe.className.indexOf("arrow")&&F(oe,pe.classList.contains("arrowUp")?1:-1)}function F(oe,pe,Ne){var Nt=oe&&getEventTarget(oe),qt=Ne||Nt&&Nt.parentNode&&Nt.parentNode.firstChild,tn=wn("increment");tn.delta=pe,qt&&qt.dispatchEvent(tn)}function B(){var oe=window.document.createDocumentFragment();if(u.calendarContainer=createElement("div","flatpickr-calendar"),u.calendarContainer.tabIndex=-1,!u.config.noCalendar){if(oe.appendChild(te()),u.innerContainer=createElement("div","flatpickr-innerContainer"),u.config.weekNumbers){var pe=ve(),Ne=pe.weekWrapper,Nt=pe.weekNumbers;u.innerContainer.appendChild(Ne),u.weekNumbers=Nt,u.weekWrapper=Ne}u.rContainer=createElement("div","flatpickr-rContainer"),u.rContainer.appendChild(ae()),u.daysContainer||(u.daysContainer=createElement("div","flatpickr-days"),u.daysContainer.tabIndex=-1),j(),u.rContainer.appendChild(u.daysContainer),u.innerContainer.appendChild(u.rContainer),oe.appendChild(u.innerContainer)}u.config.enableTime&&oe.appendChild(re()),toggleClass$1(u.calendarContainer,"rangeMode",u.config.mode==="range"),toggleClass$1(u.calendarContainer,"animate",u.config.animate===!0),toggleClass$1(u.calendarContainer,"multiMonth",u.config.showMonths>1),u.calendarContainer.appendChild(oe);var qt=u.config.appendTo!==void 0&&u.config.appendTo.nodeType!==void 0;if((u.config.inline||u.config.static)&&(u.calendarContainer.classList.add(u.config.inline?"inline":"static"),u.config.inline&&(!qt&&u.element.parentNode?u.element.parentNode.insertBefore(u.calendarContainer,u._input.nextSibling):u.config.appendTo!==void 0&&u.config.appendTo.appendChild(u.calendarContainer)),u.config.static)){var tn=createElement("div","flatpickr-wrapper");u.element.parentNode&&u.element.parentNode.insertBefore(tn,u.element),tn.appendChild(u.element),u.altInput&&tn.appendChild(u.altInput),tn.appendChild(u.calendarContainer)}!u.config.static&&!u.config.inline&&(u.config.appendTo!==void 0?u.config.appendTo:window.document.body).appendChild(u.calendarContainer)}function I(oe,pe,Ne,Nt){var qt=Ce(pe,!0),tn=createElement("span",oe,pe.getDate().toString());return tn.dateObj=pe,tn.$i=Nt,tn.setAttribute("aria-label",u.formatDate(pe,u.config.ariaDateFormat)),oe.indexOf("hidden")===-1&&compareDates(pe,u.now)===0&&(u.todayDateElem=tn,tn.classList.add("today"),tn.setAttribute("aria-current","date")),qt?(tn.tabIndex=-1,Cn(pe)&&(tn.classList.add("selected"),u.selectedDateElem=tn,u.config.mode==="range"&&(toggleClass$1(tn,"startRange",u.selectedDates[0]&&compareDates(pe,u.selectedDates[0],!0)===0),toggleClass$1(tn,"endRange",u.selectedDates[1]&&compareDates(pe,u.selectedDates[1],!0)===0),oe==="nextMonthDay"&&tn.classList.add("inRange")))):tn.classList.add("flatpickr-disabled"),u.config.mode==="range"&&gn(pe)&&!Cn(pe)&&tn.classList.add("inRange"),u.weekNumbers&&u.config.showMonths===1&&oe!=="prevMonthDay"&&Nt%7===6&&u.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+u.config.getWeek(pe)+"</span>"),sn("onDayCreate",tn),tn}function M(oe){oe.focus(),u.config.mode==="range"&&Ie(oe)}function z(oe){for(var pe=oe>0?0:u.config.showMonths-1,Ne=oe>0?u.config.showMonths:-1,Nt=pe;Nt!=Ne;Nt+=oe)for(var qt=u.daysContainer.children[Nt],tn=oe>0?0:qt.children.length-1,un=oe>0?qt.children.length:-1,Gt=tn;Gt!=un;Gt+=oe){var _n=qt.children[Gt];if(_n.className.indexOf("hidden")===-1&&Ce(_n.dateObj))return _n}}function q(oe,pe){for(var Ne=oe.className.indexOf("Month")===-1?oe.dateObj.getMonth():u.currentMonth,Nt=pe>0?u.config.showMonths:-1,qt=pe>0?1:-1,tn=Ne-u.currentMonth;tn!=Nt;tn+=qt)for(var un=u.daysContainer.children[tn],Gt=Ne-u.currentMonth===tn?oe.$i+pe:pe<0?un.children.length-1:0,_n=un.children.length,nn=Gt;nn>=0&&nn<_n&&nn!=(pe>0?_n:-1);nn+=qt){var cn=un.children[nn];if(cn.className.indexOf("hidden")===-1&&Ce(cn.dateObj)&&Math.abs(oe.$i-nn)>=Math.abs(pe))return M(cn)}u.changeMonth(qt),H(z(qt),0)}function H(oe,pe){var Ne=m(),Nt=Te(Ne||document.body),qt=oe!==void 0?oe:Nt?Ne:u.selectedDateElem!==void 0&&Te(u.selectedDateElem)?u.selectedDateElem:u.todayDateElem!==void 0&&Te(u.todayDateElem)?u.todayDateElem:z(pe>0?1:-1);qt===void 0?u._input.focus():Nt?q(qt,pe):M(qt)}function Q(oe,pe){for(var Ne=(new Date(oe,pe,1).getDay()-u.l10n.firstDayOfWeek+7)%7,Nt=u.utils.getDaysInMonth((pe-1+12)%12,oe),qt=u.utils.getDaysInMonth(pe,oe),tn=window.document.createDocumentFragment(),un=u.config.showMonths>1,Gt=un?"prevMonthDay hidden":"prevMonthDay",_n=un?"nextMonthDay hidden":"nextMonthDay",nn=Nt+1-Ne,cn=0;nn<=Nt;nn++,cn++)tn.appendChild(I("flatpickr-day "+Gt,new Date(oe,pe-1,nn),nn,cn));for(nn=1;nn<=qt;nn++,cn++)tn.appendChild(I("flatpickr-day",new Date(oe,pe,nn),nn,cn));for(var fn=qt+1;fn<=42-Ne&&(u.config.showMonths===1||cn%7!==0);fn++,cn++)tn.appendChild(I("flatpickr-day "+_n,new Date(oe,pe+1,fn%qt),fn,cn));var Bn=createElement("div","dayContainer");return Bn.appendChild(tn),Bn}function j(){if(u.daysContainer!==void 0){clearNode(u.daysContainer),u.weekNumbers&&clearNode(u.weekNumbers);for(var oe=document.createDocumentFragment(),pe=0;pe<u.config.showMonths;pe++){var Ne=new Date(u.currentYear,u.currentMonth,1);Ne.setMonth(u.currentMonth+pe),oe.appendChild(Q(Ne.getFullYear(),Ne.getMonth()))}u.daysContainer.appendChild(oe),u.days=u.daysContainer.firstChild,u.config.mode==="range"&&u.selectedDates.length===1&&Ie()}}function ee(){if(!(u.config.showMonths>1||u.config.monthSelectorType!=="dropdown")){var oe=function(Nt){return u.config.minDate!==void 0&&u.currentYear===u.config.minDate.getFullYear()&&Nt<u.config.minDate.getMonth()?!1:!(u.config.maxDate!==void 0&&u.currentYear===u.config.maxDate.getFullYear()&&Nt>u.config.maxDate.getMonth())};u.monthsDropdownContainer.tabIndex=-1,u.monthsDropdownContainer.innerHTML="";for(var pe=0;pe<12;pe++)if(oe(pe)){var Ne=createElement("option","flatpickr-monthDropdown-month");Ne.value=new Date(u.currentYear,pe).getMonth().toString(),Ne.textContent=monthToStr(pe,u.config.shorthandCurrentMonth,u.l10n),Ne.tabIndex=-1,u.currentMonth===pe&&(Ne.selected=!0),u.monthsDropdownContainer.appendChild(Ne)}}}function G(){var oe=createElement("div","flatpickr-month"),pe=window.document.createDocumentFragment(),Ne;u.config.showMonths>1||u.config.monthSelectorType==="static"?Ne=createElement("span","cur-month"):(u.monthsDropdownContainer=createElement("select","flatpickr-monthDropdown-months"),u.monthsDropdownContainer.setAttribute("aria-label",u.l10n.monthAriaLabel),C(u.monthsDropdownContainer,"change",function(un){var Gt=getEventTarget(un),_n=parseInt(Gt.value,10);u.changeMonth(_n-u.currentMonth),sn("onMonthChange")}),ee(),Ne=u.monthsDropdownContainer);var Nt=createNumberInput("cur-year",{tabindex:"-1"}),qt=Nt.getElementsByTagName("input")[0];qt.setAttribute("aria-label",u.l10n.yearAriaLabel),u.config.minDate&&qt.setAttribute("min",u.config.minDate.getFullYear().toString()),u.config.maxDate&&(qt.setAttribute("max",u.config.maxDate.getFullYear().toString()),qt.disabled=!!u.config.minDate&&u.config.minDate.getFullYear()===u.config.maxDate.getFullYear());var tn=createElement("div","flatpickr-current-month");return tn.appendChild(Ne),tn.appendChild(Nt),pe.appendChild(tn),oe.appendChild(pe),{container:oe,yearElement:qt,monthElement:Ne}}function J(){clearNode(u.monthNav),u.monthNav.appendChild(u.prevMonthNav),u.config.showMonths&&(u.yearElements=[],u.monthElements=[]);for(var oe=u.config.showMonths;oe--;){var pe=G();u.yearElements.push(pe.yearElement),u.monthElements.push(pe.monthElement),u.monthNav.appendChild(pe.container)}u.monthNav.appendChild(u.nextMonthNav)}function te(){return u.monthNav=createElement("div","flatpickr-months"),u.yearElements=[],u.monthElements=[],u.prevMonthNav=createElement("span","flatpickr-prev-month"),u.prevMonthNav.innerHTML=u.config.prevArrow,u.nextMonthNav=createElement("span","flatpickr-next-month"),u.nextMonthNav.innerHTML=u.config.nextArrow,J(),Object.defineProperty(u,"_hidePrevMonthArrow",{get:function(){return u.__hidePrevMonthArrow},set:function(oe){u.__hidePrevMonthArrow!==oe&&(toggleClass$1(u.prevMonthNav,"flatpickr-disabled",oe),u.__hidePrevMonthArrow=oe)}}),Object.defineProperty(u,"_hideNextMonthArrow",{get:function(){return u.__hideNextMonthArrow},set:function(oe){u.__hideNextMonthArrow!==oe&&(toggleClass$1(u.nextMonthNav,"flatpickr-disabled",oe),u.__hideNextMonthArrow=oe)}}),u.currentYearElement=u.yearElements[0],dn(),u.monthNav}function re(){u.calendarContainer.classList.add("hasTime"),u.config.noCalendar&&u.calendarContainer.classList.add("noCalendar");var oe=getDefaultHours(u.config);u.timeContainer=createElement("div","flatpickr-time"),u.timeContainer.tabIndex=-1;var pe=createElement("span","flatpickr-time-separator",":"),Ne=createNumberInput("flatpickr-hour",{"aria-label":u.l10n.hourAriaLabel});u.hourElement=Ne.getElementsByTagName("input")[0];var Nt=createNumberInput("flatpickr-minute",{"aria-label":u.l10n.minuteAriaLabel});if(u.minuteElement=Nt.getElementsByTagName("input")[0],u.hourElement.tabIndex=u.minuteElement.tabIndex=-1,u.hourElement.value=pad(u.latestSelectedDateObj?u.latestSelectedDateObj.getHours():u.config.time_24hr?oe.hours:b(oe.hours)),u.minuteElement.value=pad(u.latestSelectedDateObj?u.latestSelectedDateObj.getMinutes():oe.minutes),u.hourElement.setAttribute("step",u.config.hourIncrement.toString()),u.minuteElement.setAttribute("step",u.config.minuteIncrement.toString()),u.hourElement.setAttribute("min",u.config.time_24hr?"0":"1"),u.hourElement.setAttribute("max",u.config.time_24hr?"23":"12"),u.hourElement.setAttribute("maxlength","2"),u.minuteElement.setAttribute("min","0"),u.minuteElement.setAttribute("max","59"),u.minuteElement.setAttribute("maxlength","2"),u.timeContainer.appendChild(Ne),u.timeContainer.appendChild(pe),u.timeContainer.appendChild(Nt),u.config.time_24hr&&u.timeContainer.classList.add("time24hr"),u.config.enableSeconds){u.timeContainer.classList.add("hasSeconds");var qt=createNumberInput("flatpickr-second");u.secondElement=qt.getElementsByTagName("input")[0],u.secondElement.value=pad(u.latestSelectedDateObj?u.latestSelectedDateObj.getSeconds():oe.seconds),u.secondElement.setAttribute("step",u.minuteElement.getAttribute("step")),u.secondElement.setAttribute("min","0"),u.secondElement.setAttribute("max","59"),u.secondElement.setAttribute("maxlength","2"),u.timeContainer.appendChild(createElement("span","flatpickr-time-separator",":")),u.timeContainer.appendChild(qt)}return u.config.time_24hr||(u.amPM=createElement("span","flatpickr-am-pm",u.l10n.amPM[int((u.latestSelectedDateObj?u.hourElement.value:u.config.defaultHour)>11)]),u.amPM.title=u.l10n.toggleTitle,u.amPM.tabIndex=-1,u.timeContainer.appendChild(u.amPM)),u.timeContainer}function ae(){u.weekdayContainer?clearNode(u.weekdayContainer):u.weekdayContainer=createElement("div","flatpickr-weekdays");for(var oe=u.config.showMonths;oe--;){var pe=createElement("div","flatpickr-weekdaycontainer");u.weekdayContainer.appendChild(pe)}return ye(),u.weekdayContainer}function ye(){if(u.weekdayContainer){var oe=u.l10n.firstDayOfWeek,pe=__spreadArrays(u.l10n.weekdays.shorthand);oe>0&&oe<pe.length&&(pe=__spreadArrays(pe.splice(oe,pe.length),pe.splice(0,oe)));for(var Ne=u.config.showMonths;Ne--;)u.weekdayContainer.children[Ne].innerHTML=`
<span class='flatpickr-weekday'>
`+pe.join("</span><span class='flatpickr-weekday'>")+`
</span>
`}}function ve(){u.calendarContainer.classList.add("hasWeeks");var oe=createElement("div","flatpickr-weekwrapper");oe.appendChild(createElement("span","flatpickr-weekday",u.l10n.weekAbbreviation));var pe=createElement("div","flatpickr-weeks");return oe.appendChild(pe),{weekWrapper:oe,weekNumbers:pe}}function le(oe,pe){pe===void 0&&(pe=!0);var Ne=pe?oe:oe-u.currentMonth;Ne<0&&u._hidePrevMonthArrow===!0||Ne>0&&u._hideNextMonthArrow===!0||(u.currentMonth+=Ne,(u.currentMonth<0||u.currentMonth>11)&&(u.currentYear+=u.currentMonth>11?1:-1,u.currentMonth=(u.currentMonth+12)%12,sn("onYearChange"),ee()),j(),sn("onMonthChange"),dn())}function Se(oe,pe){if(oe===void 0&&(oe=!0),pe===void 0&&(pe=!0),u.input.value="",u.altInput!==void 0&&(u.altInput.value=""),u.mobileInput!==void 0&&(u.mobileInput.value=""),u.selectedDates=[],u.latestSelectedDateObj=void 0,pe===!0&&(u.currentYear=u._initialDate.getFullYear(),u.currentMonth=u._initialDate.getMonth()),u.config.enableTime===!0){var Ne=getDefaultHours(u.config),Nt=Ne.hours,qt=Ne.minutes,tn=Ne.seconds;$(Nt,qt,tn)}u.redraw(),oe&&sn("onChange")}function De(){u.isOpen=!1,u.isMobile||(u.calendarContainer!==void 0&&u.calendarContainer.classList.remove("open"),u._input!==void 0&&u._input.classList.remove("active")),sn("onClose")}function At(){u.config!==void 0&&sn("onDestroy");for(var oe=u._handlers.length;oe--;)u._handlers[oe].remove();if(u._handlers=[],u.mobileInput)u.mobileInput.parentNode&&u.mobileInput.parentNode.removeChild(u.mobileInput),u.mobileInput=void 0;else if(u.calendarContainer&&u.calendarContainer.parentNode)if(u.config.static&&u.calendarContainer.parentNode){var pe=u.calendarContainer.parentNode;if(pe.lastChild&&pe.removeChild(pe.lastChild),pe.parentNode){for(;pe.firstChild;)pe.parentNode.insertBefore(pe.firstChild,pe);pe.parentNode.removeChild(pe)}}else u.calendarContainer.parentNode.removeChild(u.calendarContainer);u.altInput&&(u.input.type="text",u.altInput.parentNode&&u.altInput.parentNode.removeChild(u.altInput),delete u.altInput),u.input&&(u.input.type=u.input._type,u.input.classList.remove("flatpickr-input"),u.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(Ne){try{delete u[Ne]}catch{}})}function Le(oe){return u.calendarContainer.contains(oe)}function ke(oe){if(u.isOpen&&!u.config.inline){var pe=getEventTarget(oe),Ne=Le(pe),Nt=pe===u.input||pe===u.altInput||u.element.contains(pe)||oe.path&&oe.path.indexOf&&(~oe.path.indexOf(u.input)||~oe.path.indexOf(u.altInput)),qt=!Nt&&!Ne&&!Le(oe.relatedTarget),tn=!u.config.ignoredFocusElements.some(function(un){return un.contains(pe)});qt&&tn&&(u.config.allowInput&&u.setDate(u._input.value,!1,u.config.altInput?u.config.altFormat:u.config.dateFormat),u.timeContainer!==void 0&&u.minuteElement!==void 0&&u.hourElement!==void 0&&u.input.value!==""&&u.input.value!==void 0&&g(),u.close(),u.config&&u.config.mode==="range"&&u.selectedDates.length===1&&u.clear(!1))}}function ue(oe){if(!(!oe||u.config.minDate&&oe<u.config.minDate.getFullYear()||u.config.maxDate&&oe>u.config.maxDate.getFullYear())){var pe=oe,Ne=u.currentYear!==pe;u.currentYear=pe||u.currentYear,u.config.maxDate&&u.currentYear===u.config.maxDate.getFullYear()?u.currentMonth=Math.min(u.config.maxDate.getMonth(),u.currentMonth):u.config.minDate&&u.currentYear===u.config.minDate.getFullYear()&&(u.currentMonth=Math.max(u.config.minDate.getMonth(),u.currentMonth)),Ne&&(u.redraw(),sn("onYearChange"),ee())}}function Ce(oe,pe){var Ne;pe===void 0&&(pe=!0);var Nt=u.parseDate(oe,void 0,pe);if(u.config.minDate&&Nt&&compareDates(Nt,u.config.minDate,pe!==void 0?pe:!u.minDateHasTime)<0||u.config.maxDate&&Nt&&compareDates(Nt,u.config.maxDate,pe!==void 0?pe:!u.maxDateHasTime)>0)return!1;if(!u.config.enable&&u.config.disable.length===0)return!0;if(Nt===void 0)return!1;for(var qt=!!u.config.enable,tn=(Ne=u.config.enable)!==null&&Ne!==void 0?Ne:u.config.disable,un=0,Gt=void 0;un<tn.length;un++){if(Gt=tn[un],typeof Gt=="function"&&Gt(Nt))return qt;if(Gt instanceof Date&&Nt!==void 0&&Gt.getTime()===Nt.getTime())return qt;if(typeof Gt=="string"){var _n=u.parseDate(Gt,void 0,!0);return _n&&_n.getTime()===Nt.getTime()?qt:!qt}else if(typeof Gt=="object"&&Nt!==void 0&&Gt.from&&Gt.to&&Nt.getTime()>=Gt.from.getTime()&&Nt.getTime()<=Gt.to.getTime())return qt}return!qt}function Te(oe){return u.daysContainer!==void 0?oe.className.indexOf("hidden")===-1&&oe.className.indexOf("flatpickr-disabled")===-1&&u.daysContainer.contains(oe):!1}function Pe(oe){var pe=oe.target===u._input,Ne=u._input.value.trimEnd()!==bn();pe&&Ne&&!(oe.relatedTarget&&Le(oe.relatedTarget))&&u.setDate(u._input.value,!0,oe.target===u.altInput?u.config.altFormat:u.config.dateFormat)}function Vt(oe){var pe=getEventTarget(oe),Ne=u.config.wrap?a.contains(pe):pe===u._input,Nt=u.config.allowInput,qt=u.isOpen&&(!Nt||!Ne),tn=u.config.inline&&Ne&&!Nt;if(oe.keyCode===13&&Ne){if(Nt)return u.setDate(u._input.value,!0,pe===u.altInput?u.config.altFormat:u.config.dateFormat),u.close(),pe.blur();u.open()}else if(Le(pe)||qt||tn){var un=!!u.timeContainer&&u.timeContainer.contains(pe);switch(oe.keyCode){case 13:un?(oe.preventDefault(),g(),Wt()):$t(oe);break;case 27:oe.preventDefault(),Wt();break;case 8:case 46:Ne&&!u.config.allowInput&&(oe.preventDefault(),u.clear());break;case 37:case 39:if(!un&&!Ne){oe.preventDefault();var Gt=m();if(u.daysContainer!==void 0&&(Nt===!1||Gt&&Te(Gt))){var _n=oe.keyCode===39?1:-1;oe.ctrlKey?(oe.stopPropagation(),le(_n),H(z(1),0)):H(void 0,_n)}}else u.hourElement&&u.hourElement.focus();break;case 38:case 40:oe.preventDefault();var nn=oe.keyCode===40?1:-1;u.daysContainer&&pe.$i!==void 0||pe===u.input||pe===u.altInput?oe.ctrlKey?(oe.stopPropagation(),ue(u.currentYear-nn),H(z(1),0)):un||H(void 0,nn*7):pe===u.currentYearElement?ue(u.currentYear-nn):u.config.enableTime&&(!un&&u.hourElement&&u.hourElement.focus(),g(oe),u._debouncedChange());break;case 9:if(un){var cn=[u.hourElement,u.minuteElement,u.secondElement,u.amPM].concat(u.pluginElements).filter(function(Rn){return Rn}),fn=cn.indexOf(pe);if(fn!==-1){var Bn=cn[fn+(oe.shiftKey?-1:1)];oe.preventDefault(),(Bn||u._input).focus()}}else!u.config.noCalendar&&u.daysContainer&&u.daysContainer.contains(pe)&&oe.shiftKey&&(oe.preventDefault(),u._input.focus());break}}if(u.amPM!==void 0&&pe===u.amPM)switch(oe.key){case u.l10n.amPM[0].charAt(0):case u.l10n.amPM[0].charAt(0).toLowerCase():u.amPM.textContent=u.l10n.amPM[0],w(),Oe();break;case u.l10n.amPM[1].charAt(0):case u.l10n.amPM[1].charAt(0).toLowerCase():u.amPM.textContent=u.l10n.amPM[1],w(),Oe();break}(Ne||Le(pe))&&sn("onKeyDown",oe)}function Ie(oe,pe){if(pe===void 0&&(pe="flatpickr-day"),!(u.selectedDates.length!==1||oe&&(!oe.classList.contains(pe)||oe.classList.contains("flatpickr-disabled")))){for(var Ne=oe?oe.dateObj.getTime():u.days.firstElementChild.dateObj.getTime(),Nt=u.parseDate(u.selectedDates[0],void 0,!0).getTime(),qt=Math.min(Ne,u.selectedDates[0].getTime()),tn=Math.max(Ne,u.selectedDates[0].getTime()),un=!1,Gt=0,_n=0,nn=qt;nn<tn;nn+=duration.DAY)Ce(new Date(nn),!0)||(un=un||nn>qt&&nn<tn,nn<Nt&&(!Gt||nn>Gt)?Gt=nn:nn>Nt&&(!_n||nn<_n)&&(_n=nn));var cn=Array.from(u.rContainer.querySelectorAll("*:nth-child(-n+"+u.config.showMonths+") > ."+pe));cn.forEach(function(fn){var Bn=fn.dateObj,Rn=Bn.getTime(),tr=Gt>0&&Rn<Gt||_n>0&&Rn>_n;if(tr){fn.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Wn){fn.classList.remove(Wn)});return}else if(un&&!tr)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Wn){fn.classList.remove(Wn)}),oe!==void 0&&(oe.classList.add(Ne<=u.selectedDates[0].getTime()?"startRange":"endRange"),Nt<Ne&&Rn===Nt?fn.classList.add("startRange"):Nt>Ne&&Rn===Nt&&fn.classList.add("endRange"),Rn>=Gt&&(_n===0||Rn<=_n)&&isBetween(Rn,Nt,Ne)&&fn.classList.add("inRange"))})}}function ie(){u.isOpen&&!u.config.static&&!u.config.inline&&Ut()}function de(oe,pe){if(pe===void 0&&(pe=u._positionElement),u.isMobile===!0){if(oe){oe.preventDefault();var Ne=getEventTarget(oe);Ne&&Ne.blur()}u.mobileInput!==void 0&&(u.mobileInput.focus(),u.mobileInput.click()),sn("onOpen");return}else if(u._input.disabled||u.config.inline)return;var Nt=u.isOpen;u.isOpen=!0,Nt||(u.calendarContainer.classList.add("open"),u._input.classList.add("active"),sn("onOpen"),Ut(pe)),u.config.enableTime===!0&&u.config.noCalendar===!0&&u.config.allowInput===!1&&(oe===void 0||!u.timeContainer.contains(oe.relatedTarget))&&setTimeout(function(){return u.hourElement.select()},50)}function Fe(oe){return function(pe){var Ne=u.config["_"+oe+"Date"]=u.parseDate(pe,u.config.dateFormat),Nt=u.config["_"+(oe==="min"?"max":"min")+"Date"];Ne!==void 0&&(u[oe==="min"?"minDateHasTime":"maxDateHasTime"]=Ne.getHours()>0||Ne.getMinutes()>0||Ne.getSeconds()>0),u.selectedDates&&(u.selectedDates=u.selectedDates.filter(function(qt){return Ce(qt)}),!u.selectedDates.length&&oe==="min"&&k(Ne),Oe()),u.daysContainer&&(St(),Ne!==void 0?u.currentYearElement[oe]=Ne.getFullYear().toString():u.currentYearElement.removeAttribute(oe),u.currentYearElement.disabled=!!Nt&&Ne!==void 0&&Nt.getFullYear()===Ne.getFullYear())}}function We(){var oe=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],pe=__assign(__assign({},JSON.parse(JSON.stringify(a.dataset||{}))),i),Ne={};u.config.parseDate=pe.parseDate,u.config.formatDate=pe.formatDate,Object.defineProperty(u.config,"enable",{get:function(){return u.config._enable},set:function(cn){u.config._enable=kt(cn)}}),Object.defineProperty(u.config,"disable",{get:function(){return u.config._disable},set:function(cn){u.config._disable=kt(cn)}});var Nt=pe.mode==="time";if(!pe.dateFormat&&(pe.enableTime||Nt)){var qt=flatpickr.defaultConfig.dateFormat||defaults$1.dateFormat;Ne.dateFormat=pe.noCalendar||Nt?"H:i"+(pe.enableSeconds?":S":""):qt+" H:i"+(pe.enableSeconds?":S":"")}if(pe.altInput&&(pe.enableTime||Nt)&&!pe.altFormat){var tn=flatpickr.defaultConfig.altFormat||defaults$1.altFormat;Ne.altFormat=pe.noCalendar||Nt?"h:i"+(pe.enableSeconds?":S K":" K"):tn+(" h:i"+(pe.enableSeconds?":S":"")+" K")}Object.defineProperty(u.config,"minDate",{get:function(){return u.config._minDate},set:Fe("min")}),Object.defineProperty(u.config,"maxDate",{get:function(){return u.config._maxDate},set:Fe("max")});var un=function(cn){return function(fn){u.config[cn==="min"?"_minTime":"_maxTime"]=u.parseDate(fn,"H:i:S")}};Object.defineProperty(u.config,"minTime",{get:function(){return u.config._minTime},set:un("min")}),Object.defineProperty(u.config,"maxTime",{get:function(){return u.config._maxTime},set:un("max")}),pe.mode==="time"&&(u.config.noCalendar=!0,u.config.enableTime=!0),Object.assign(u.config,Ne,pe);for(var Gt=0;Gt<oe.length;Gt++)u.config[oe[Gt]]=u.config[oe[Gt]]===!0||u.config[oe[Gt]]==="true";HOOKS.filter(function(cn){return u.config[cn]!==void 0}).forEach(function(cn){u.config[cn]=arrayify(u.config[cn]||[]).map(f)}),u.isMobile=!u.config.disableMobile&&!u.config.inline&&u.config.mode==="single"&&!u.config.disable.length&&!u.config.enable&&!u.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var Gt=0;Gt<u.config.plugins.length;Gt++){var _n=u.config.plugins[Gt](u)||{};for(var nn in _n)HOOKS.indexOf(nn)>-1?u.config[nn]=arrayify(_n[nn]).map(f).concat(u.config[nn]):typeof pe[nn]>"u"&&(u.config[nn]=_n[nn])}pe.altInputClass||(u.config.altInputClass=wt().className+" "+u.config.altInputClass),sn("onParseConfig")}function wt(){return u.config.wrap?a.querySelector("[data-input]"):a}function jt(){typeof u.config.locale!="object"&&typeof flatpickr.l10ns[u.config.locale]>"u"&&u.config.errorHandler(new Error("flatpickr: invalid locale "+u.config.locale)),u.l10n=__assign(__assign({},flatpickr.l10ns.default),typeof u.config.locale=="object"?u.config.locale:u.config.locale!=="default"?flatpickr.l10ns[u.config.locale]:void 0),tokenRegex.D="("+u.l10n.weekdays.shorthand.join("|")+")",tokenRegex.l="("+u.l10n.weekdays.longhand.join("|")+")",tokenRegex.M="("+u.l10n.months.shorthand.join("|")+")",tokenRegex.F="("+u.l10n.months.longhand.join("|")+")",tokenRegex.K="("+u.l10n.amPM[0]+"|"+u.l10n.amPM[1]+"|"+u.l10n.amPM[0].toLowerCase()+"|"+u.l10n.amPM[1].toLowerCase()+")";var oe=__assign(__assign({},i),JSON.parse(JSON.stringify(a.dataset||{})));oe.time_24hr===void 0&&flatpickr.defaultConfig.time_24hr===void 0&&(u.config.time_24hr=u.l10n.time_24hr),u.formatDate=createDateFormatter(u),u.parseDate=createDateParser({config:u.config,l10n:u.l10n})}function Ut(oe){if(typeof u.config.position=="function")return void u.config.position(u,oe);if(u.calendarContainer!==void 0){sn("onPreCalendarPosition");var pe=oe||u._positionElement,Ne=Array.prototype.reduce.call(u.calendarContainer.children,function(It,pn){return It+pn.offsetHeight},0),Nt=u.calendarContainer.offsetWidth,qt=u.config.position.split(" "),tn=qt[0],un=qt.length>1?qt[1]:null,Gt=pe.getBoundingClientRect(),_n=window.innerHeight-Gt.bottom,nn=tn==="above"||tn!=="below"&&_n<Ne&&Gt.top>Ne,cn=window.pageYOffset+Gt.top+(nn?-Ne-2:pe.offsetHeight+2);if(toggleClass$1(u.calendarContainer,"arrowTop",!nn),toggleClass$1(u.calendarContainer,"arrowBottom",nn),!u.config.inline){var fn=window.pageXOffset+Gt.left,Bn=!1,Rn=!1;un==="center"?(fn-=(Nt-Gt.width)/2,Bn=!0):un==="right"&&(fn-=Nt-Gt.width,Rn=!0),toggleClass$1(u.calendarContainer,"arrowLeft",!Bn&&!Rn),toggleClass$1(u.calendarContainer,"arrowCenter",Bn),toggleClass$1(u.calendarContainer,"arrowRight",Rn);var tr=window.document.body.offsetWidth-(window.pageXOffset+Gt.right),Wn=fn+Nt>window.document.body.offsetWidth,ir=tr+Nt>window.document.body.offsetWidth;if(toggleClass$1(u.calendarContainer,"rightMost",Wn),!u.config.static)if(u.calendarContainer.style.top=cn+"px",!Wn)u.calendarContainer.style.left=fn+"px",u.calendarContainer.style.right="auto";else if(!ir)u.calendarContainer.style.left="auto",u.calendarContainer.style.right=tr+"px";else{var nr=Tt();if(nr===void 0)return;var Kn=window.document.body.offsetWidth,dr=Math.max(0,Kn/2-Nt/2),xr=".flatpickr-calendar.centerMost:before",or=".flatpickr-calendar.centerMost:after",Ir=nr.cssRules.length,he="{left:"+Gt.left+"px;right:auto;}";toggleClass$1(u.calendarContainer,"rightMost",!1),toggleClass$1(u.calendarContainer,"centerMost",!0),nr.insertRule(xr+","+or+he,Ir),u.calendarContainer.style.left=dr+"px",u.calendarContainer.style.right="auto"}}}}function Tt(){for(var oe=null,pe=0;pe<document.styleSheets.length;pe++){var Ne=document.styleSheets[pe];if(Ne.cssRules){try{Ne.cssRules}catch{continue}oe=Ne;break}}return oe??Ft()}function Ft(){var oe=document.createElement("style");return document.head.appendChild(oe),oe.sheet}function St(){u.config.noCalendar||u.isMobile||(ee(),dn(),j())}function Wt(){u._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(u.close,0):u.close()}function $t(oe){oe.preventDefault(),oe.stopPropagation();var pe=function(cn){return cn.classList&&cn.classList.contains("flatpickr-day")&&!cn.classList.contains("flatpickr-disabled")&&!cn.classList.contains("notAllowed")},Ne=findParent(getEventTarget(oe),pe);if(Ne!==void 0){var Nt=Ne,qt=u.latestSelectedDateObj=new Date(Nt.dateObj.getTime()),tn=(qt.getMonth()<u.currentMonth||qt.getMonth()>u.currentMonth+u.config.showMonths-1)&&u.config.mode!=="range";if(u.selectedDateElem=Nt,u.config.mode==="single")u.selectedDates=[qt];else if(u.config.mode==="multiple"){var un=Cn(qt);un?u.selectedDates.splice(parseInt(un),1):u.selectedDates.push(qt)}else u.config.mode==="range"&&(u.selectedDates.length===2&&u.clear(!1,!1),u.latestSelectedDateObj=qt,u.selectedDates.push(qt),compareDates(qt,u.selectedDates[0],!0)!==0&&u.selectedDates.sort(function(cn,fn){return cn.getTime()-fn.getTime()}));if(w(),tn){var Gt=u.currentYear!==qt.getFullYear();u.currentYear=qt.getFullYear(),u.currentMonth=qt.getMonth(),Gt&&(sn("onYearChange"),ee()),sn("onMonthChange")}if(dn(),j(),Oe(),!tn&&u.config.mode!=="range"&&u.config.showMonths===1?M(Nt):u.selectedDateElem!==void 0&&u.hourElement===void 0&&u.selectedDateElem&&u.selectedDateElem.focus(),u.hourElement!==void 0&&u.hourElement!==void 0&&u.hourElement.focus(),u.config.closeOnSelect){var _n=u.config.mode==="single"&&!u.config.enableTime,nn=u.config.mode==="range"&&u.selectedDates.length===2&&!u.config.enableTime;(_n||nn)&&Wt()}E()}}var xt={locale:[jt,ye],showMonths:[J,v,ae],minDate:[A],maxDate:[A],positionElement:[Yt],clickOpens:[function(){u.config.clickOpens===!0?(C(u._input,"focus",u.open),C(u._input,"click",u.open)):(u._input.removeEventListener("focus",u.open),u._input.removeEventListener("click",u.open))}]};function Kt(oe,pe){if(oe!==null&&typeof oe=="object"){Object.assign(u.config,oe);for(var Ne in oe)xt[Ne]!==void 0&&xt[Ne].forEach(function(Nt){return Nt()})}else u.config[oe]=pe,xt[oe]!==void 0?xt[oe].forEach(function(Nt){return Nt()}):HOOKS.indexOf(oe)>-1&&(u.config[oe]=arrayify(pe));u.redraw(),Oe(!0)}function ln(oe,pe){var Ne=[];if(oe instanceof Array)Ne=oe.map(function(Nt){return u.parseDate(Nt,pe)});else if(oe instanceof Date||typeof oe=="number")Ne=[u.parseDate(oe,pe)];else if(typeof oe=="string")switch(u.config.mode){case"single":case"time":Ne=[u.parseDate(oe,pe)];break;case"multiple":Ne=oe.split(u.config.conjunction).map(function(Nt){return u.parseDate(Nt,pe)});break;case"range":Ne=oe.split(u.l10n.rangeSeparator).map(function(Nt){return u.parseDate(Nt,pe)});break}else u.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(oe)));u.selectedDates=u.config.allowInvalidPreload?Ne:Ne.filter(function(Nt){return Nt instanceof Date&&Ce(Nt,!1)}),u.config.mode==="range"&&u.selectedDates.sort(function(Nt,qt){return Nt.getTime()-qt.getTime()})}function hn(oe,pe,Ne){if(pe===void 0&&(pe=!1),Ne===void 0&&(Ne=u.config.dateFormat),oe!==0&&!oe||oe instanceof Array&&oe.length===0)return u.clear(pe);ln(oe,Ne),u.latestSelectedDateObj=u.selectedDates[u.selectedDates.length-1],u.redraw(),A(void 0,pe),k(),u.selectedDates.length===0&&u.clear(!1),Oe(pe),pe&&sn("onChange")}function kt(oe){return oe.slice().map(function(pe){return typeof pe=="string"||typeof pe=="number"||pe instanceof Date?u.parseDate(pe,void 0,!0):pe&&typeof pe=="object"&&pe.from&&pe.to?{from:u.parseDate(pe.from,void 0),to:u.parseDate(pe.to,void 0)}:pe}).filter(function(pe){return pe})}function Et(){u.selectedDates=[],u.now=u.parseDate(u.config.now)||new Date;var oe=u.config.defaultDate||((u.input.nodeName==="INPUT"||u.input.nodeName==="TEXTAREA")&&u.input.placeholder&&u.input.value===u.input.placeholder?null:u.input.value);oe&&ln(oe,u.config.dateFormat),u._initialDate=u.selectedDates.length>0?u.selectedDates[0]:u.config.minDate&&u.config.minDate.getTime()>u.now.getTime()?u.config.minDate:u.config.maxDate&&u.config.maxDate.getTime()<u.now.getTime()?u.config.maxDate:u.now,u.currentYear=u._initialDate.getFullYear(),u.currentMonth=u._initialDate.getMonth(),u.selectedDates.length>0&&(u.latestSelectedDateObj=u.selectedDates[0]),u.config.minTime!==void 0&&(u.config.minTime=u.parseDate(u.config.minTime,"H:i")),u.config.maxTime!==void 0&&(u.config.maxTime=u.parseDate(u.config.maxTime,"H:i")),u.minDateHasTime=!!u.config.minDate&&(u.config.minDate.getHours()>0||u.config.minDate.getMinutes()>0||u.config.minDate.getSeconds()>0),u.maxDateHasTime=!!u.config.maxDate&&(u.config.maxDate.getHours()>0||u.config.maxDate.getMinutes()>0||u.config.maxDate.getSeconds()>0)}function zt(){if(u.input=wt(),!u.input){u.config.errorHandler(new Error("Invalid input element specified"));return}u.input._type=u.input.type,u.input.type="text",u.input.classList.add("flatpickr-input"),u._input=u.input,u.config.altInput&&(u.altInput=createElement(u.input.nodeName,u.config.altInputClass),u._input=u.altInput,u.altInput.placeholder=u.input.placeholder,u.altInput.disabled=u.input.disabled,u.altInput.required=u.input.required,u.altInput.tabIndex=u.input.tabIndex,u.altInput.type="text",u.input.setAttribute("type","hidden"),!u.config.static&&u.input.parentNode&&u.input.parentNode.insertBefore(u.altInput,u.input.nextSibling)),u.config.allowInput||u._input.setAttribute("readonly","readonly"),Yt()}function Yt(){u._positionElement=u.config.positionElement||u._input}function mn(){var oe=u.config.enableTime?u.config.noCalendar?"time":"datetime-local":"date";u.mobileInput=createElement("input",u.input.className+" flatpickr-mobile"),u.mobileInput.tabIndex=1,u.mobileInput.type=oe,u.mobileInput.disabled=u.input.disabled,u.mobileInput.required=u.input.required,u.mobileInput.placeholder=u.input.placeholder,u.mobileFormatStr=oe==="datetime-local"?"Y-m-d\\TH:i:S":oe==="date"?"Y-m-d":"H:i:S",u.selectedDates.length>0&&(u.mobileInput.defaultValue=u.mobileInput.value=u.formatDate(u.selectedDates[0],u.mobileFormatStr)),u.config.minDate&&(u.mobileInput.min=u.formatDate(u.config.minDate,"Y-m-d")),u.config.maxDate&&(u.mobileInput.max=u.formatDate(u.config.maxDate,"Y-m-d")),u.input.getAttribute("step")&&(u.mobileInput.step=String(u.input.getAttribute("step"))),u.input.type="hidden",u.altInput!==void 0&&(u.altInput.type="hidden");try{u.input.parentNode&&u.input.parentNode.insertBefore(u.mobileInput,u.input.nextSibling)}catch{}C(u.mobileInput,"change",function(pe){u.setDate(getEventTarget(pe).value,!1,u.mobileFormatStr),sn("onChange"),sn("onClose")})}function an(oe){if(u.isOpen===!0)return u.close();u.open(oe)}function sn(oe,pe){if(u.config!==void 0){var Ne=u.config[oe];if(Ne!==void 0&&Ne.length>0)for(var Nt=0;Ne[Nt]&&Nt<Ne.length;Nt++)Ne[Nt](u.selectedDates,u.input.value,u,pe);oe==="onChange"&&(u.input.dispatchEvent(wn("change")),u.input.dispatchEvent(wn("input")))}}function wn(oe){var pe=document.createEvent("Event");return pe.initEvent(oe,!0,!0),pe}function Cn(oe){for(var pe=0;pe<u.selectedDates.length;pe++){var Ne=u.selectedDates[pe];if(Ne instanceof Date&&compareDates(Ne,oe)===0)return""+pe}return!1}function gn(oe){return u.config.mode!=="range"||u.selectedDates.length<2?!1:compareDates(oe,u.selectedDates[0])>=0&&compareDates(oe,u.selectedDates[1])<=0}function dn(){u.config.noCalendar||u.isMobile||!u.monthNav||(u.yearElements.forEach(function(oe,pe){var Ne=new Date(u.currentYear,u.currentMonth,1);Ne.setMonth(u.currentMonth+pe),u.config.showMonths>1||u.config.monthSelectorType==="static"?u.monthElements[pe].textContent=monthToStr(Ne.getMonth(),u.config.shorthandCurrentMonth,u.l10n)+" ":u.monthsDropdownContainer.value=Ne.getMonth().toString(),oe.value=Ne.getFullYear().toString()}),u._hidePrevMonthArrow=u.config.minDate!==void 0&&(u.currentYear===u.config.minDate.getFullYear()?u.currentMonth<=u.config.minDate.getMonth():u.currentYear<u.config.minDate.getFullYear()),u._hideNextMonthArrow=u.config.maxDate!==void 0&&(u.currentYear===u.config.maxDate.getFullYear()?u.currentMonth+1>u.config.maxDate.getMonth():u.currentYear>u.config.maxDate.getFullYear()))}function bn(oe){var pe=oe||(u.config.altInput?u.config.altFormat:u.config.dateFormat);return u.selectedDates.map(function(Ne){return u.formatDate(Ne,pe)}).filter(function(Ne,Nt,qt){return u.config.mode!=="range"||u.config.enableTime||qt.indexOf(Ne)===Nt}).join(u.config.mode!=="range"?u.config.conjunction:u.l10n.rangeSeparator)}function Oe(oe){oe===void 0&&(oe=!0),u.mobileInput!==void 0&&u.mobileFormatStr&&(u.mobileInput.value=u.latestSelectedDateObj!==void 0?u.formatDate(u.latestSelectedDateObj,u.mobileFormatStr):""),u.input.value=bn(u.config.dateFormat),u.altInput!==void 0&&(u.altInput.value=bn(u.config.altFormat)),oe!==!1&&sn("onValueUpdate")}function Ye(oe){var pe=getEventTarget(oe),Ne=u.prevMonthNav.contains(pe),Nt=u.nextMonthNav.contains(pe);Ne||Nt?le(Ne?-1:1):u.yearElements.indexOf(pe)>=0?pe.select():pe.classList.contains("arrowUp")?u.changeYear(u.currentYear+1):pe.classList.contains("arrowDown")&&u.changeYear(u.currentYear-1)}function Rt(oe){oe.preventDefault();var pe=oe.type==="keydown",Ne=getEventTarget(oe),Nt=Ne;u.amPM!==void 0&&Ne===u.amPM&&(u.amPM.textContent=u.l10n.amPM[int(u.amPM.textContent===u.l10n.amPM[0])]);var qt=parseFloat(Nt.getAttribute("min")),tn=parseFloat(Nt.getAttribute("max")),un=parseFloat(Nt.getAttribute("step")),Gt=parseInt(Nt.value,10),_n=oe.delta||(pe?oe.which===38?1:-1:0),nn=Gt+un*_n;if(typeof Nt.value<"u"&&Nt.value.length===2){var cn=Nt===u.hourElement,fn=Nt===u.minuteElement;nn<qt?(nn=tn+nn+int(!cn)+(int(cn)&&int(!u.amPM)),fn&&F(void 0,-1,u.hourElement)):nn>tn&&(nn=Nt===u.hourElement?nn-tn-int(!u.amPM):qt,fn&&F(void 0,1,u.hourElement)),u.amPM&&cn&&(un===1?nn+Gt===23:Math.abs(nn-Gt)>un)&&(u.amPM.textContent=u.l10n.amPM[int(u.amPM.textContent===u.l10n.amPM[0])]),Nt.value=pad(nn)}}return d(),u}function _flatpickr(a,i){for(var u=Array.prototype.slice.call(a).filter(function(f){return f instanceof HTMLElement}),c=[],d=0;d<u.length;d++){var m=u[d];try{if(m.getAttribute("data-fp-omit")!==null)continue;m._flatpickr!==void 0&&(m._flatpickr.destroy(),m._flatpickr=void 0),m._flatpickr=FlatpickrInstance(m,i||{}),c.push(m._flatpickr)}catch(f){console.error(f)}}return c.length===1?c[0]:c}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(a){return _flatpickr(this,a)},HTMLElement.prototype.flatpickr=function(a){return _flatpickr([this],a)});var flatpickr=function(a,i){return typeof a=="string"?_flatpickr(window.document.querySelectorAll(a),i):a instanceof Node?_flatpickr([a],i):_flatpickr(a,i)};flatpickr.defaultConfig={};flatpickr.l10ns={en:__assign({},english),default:__assign({},english)};flatpickr.localize=function(a){flatpickr.l10ns.default=__assign(__assign({},flatpickr.l10ns.default),a)};flatpickr.setDefaults=function(a){flatpickr.defaultConfig=__assign(__assign({},flatpickr.defaultConfig),a)};flatpickr.parseDate=createDateParser({});flatpickr.formatDate=createDateFormatter({});flatpickr.compareDates=compareDates;typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(a){return _flatpickr(this,a)});Date.prototype.fp_incr=function(a){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof a=="string"?parseInt(a,10):a))};typeof window<"u"&&(window.flatpickr=flatpickr);var DatepickerWrapper={name:"DatepickerWrapper",emits:["change"],props:{value:{required:!0},options:{type:[Object],required:!0},id:{type:[Number,String],required:!0},placeholder:{type:[Number,String],required:!1},attrs:{required:!1,type:[Object],default:()=>({})}},setup(a,i){var{id:u,options:c,value:d}=toRefs(a),{el$:m,form$:f,Size:v,View:g,classesInstance:y,classes:b,Templates:w,template:k,theme:$}=base$_(a,i),S=getCurrentInstance$1().proxy,C=ref(null),E=ref(null),D=computed(()=>m.value.available),A=computed(()=>{var z,q;return((z=S.$vueform.i18n.locales[S.$vueform.i18n.locale])===null||z===void 0||(z=z.vueform)===null||z===void 0?void 0:z.datepicker)||((q=S.$vueform.i18n.locales[S.$vueform.i18n.fallbackLocale])===null||q===void 0||(q=q.vueform)===null||q===void 0?void 0:q.datepicker)||{}}),O=computed(()=>c.value.mode||"single"),F=computed(()=>{var z={};return each(c.value,(q,H)=>{q!=null&&(z[H]=q)}),z.static=!0,z}),B=z=>{i.emit("change",O.value=="single"?z[0]||null:z)},I=()=>{C.value.input.parentElement.id="datepicker-"+u.value},M=function(){var z=_asyncToGenerator(function*(){E.value||(yield nextTick()),C.value=flatpickr(E.value,Object.assign({},F.value,{onChange:q=>{B(q)},onClose:q=>{q=O.value=="range"&&q.length<2?[]:q,B(q)},parseDate:(q,H)=>hooks(q,H,!0).toDate(),formatDate:(q,H)=>hooks(q).format(H),ariaDateFormat:"MMMM D, YYYY",disableMobile:!0,locale:A.value})),C.value.calendarContainer&&b.value.calendarContainer.forEach(q=>{C.value.calendarContainer.classList.add(q)}),I(),d.value!==null&&C.value.setDate(d.value,!1)});return function(){return z.apply(this,arguments)}}();return watch(d,(z,q)=>{var H;(H=C.value)===null||H===void 0||H.setDate(z,!1)}),watch(u,(z,q)=>{I()},{immediate:!1}),watch(c,(z,q)=>{isEqual_1(z,q)||M()},{deep:!0}),watch([A,D],(z,q)=>{M()},{deep:!0}),onMounted(()=>{M()}),{el$:m,form$:f,Size:v,View:g,classesInstance:y,theme:$,classes:b,Templates:w,template:k,datepicker$:C,input:E,config:F,mode:O,locale:A,update:B,init:M}}},EditorWrapper={name:"EditorWrapper",emits:["input","alert","error","blur"],props:{value:{required:!1,default:null},placeholder:{required:!1,type:[String,Number],default:null},name:{required:!1,type:[String,Number],default:null},id:{required:!1,type:[String,Number],default:null},accept:{required:!1,type:Array,default:()=>[]},acceptMimes:{required:!1,type:Array,default:()=>[]},endpoint:{required:!1,type:[String,Function],default:null},method:{required:!1,type:String,default:"post"},disabled:{required:!1,type:Boolean,default:!1},hideTools:{required:!1,type:[Array],default:()=>[]},attrs:{required:!1,type:[Object],default:()=>({})}},setup(a,i){var{value:u,disabled:c,acceptMimes:d,accept:m,endpoint:f,method:v,attrs:g,placeholder:y,id:b}=toRefs(a),{el$:w,form$:k,Size:$,View:S,classesInstance:C,classes:E,Templates:D,template:A,theme:O}=base$_(a,i),F=ref(null),B=computed(()=>f.value?typeof f.value=="function"?f.value:k.value.$vueform.config.endpoints[f.value]||f.value:typeof k.value.$vueform.config.endpoints.attachment=="function"?k.value.$vueform.config.endpoints.attachment:k.value.$vueform.config.endpoints.attachment.url),I=computed(()=>typeof B.value=="function"?null:f.value&&k.value.$vueform.config.endpoints[f.value]?k.value.$vueform.config.endpoints[f.value]:v.value||k.value.$vueform.config.endpoints.attachment.method),M=computed(()=>h("trix-editor",_objectSpread2$1(_objectSpread2$1({},g.value),{},{placeholder:y.value,disabled:c.value,id:b.value,input:"editor-input-".concat(b.value),ref:"editor$"}))),z=G=>{typeof G=="number"&&(G=String(G)),F.value.editor.loadHTML(G)},q=(G,J)=>{F.value[G]=J},H=()=>{F.value.value==u.value||!F.value.value&&!u.value||i.emit("input",{target:{value:F.value.value}})},Q=G=>{if(c.value){G.preventDefault();return}if(!G.file){G.preventDefault();return}d.value&&d.value.length&&d.value.indexOf(G.file.type)===-1&&(G.preventDefault(),i.emit("alert",k.value.__(k.value.translations.vueform.editor.acceptedMimesError,{mimes:d.value.join(", ")})));var J=G.file.name.split(".").pop();m.value&&m.value.length&&m.value.indexOf(J)===-1&&(G.preventDefault(),i.emit("alert",k.value.__(k.value.translations.vueform.editor.acceptedExtensionsError,{extensions:m.value.join(", ")})))},j=function(){var G=_asyncToGenerator(function*(J){if(J.attachment.file){var te=new FormData;te.append("Content-Type",J.attachment.file.type),te.append("file",J.attachment.file);var re;try{typeof B.value=="function"?re=yield B.value(J.attachment,w.value):(re=yield w.value.$vueform.services.axios.request({url:B.value,method:I.value,[I.value.toLowerCase()==="get"?"params":"data"]:te,onUploadProgress:ae=>{J.attachment.setUploadProgress(Math.round(ae.loaded*100/ae.total))}}),re=re.data),J.attachment.setAttributes({url:re.url,href:re.href})}catch(ae){i.emit("error",ae)}}});return function(te){return G.apply(this,arguments)}}(),ee=()=>{i.emit("blur")};return watch(c,G=>{F.value.contentEditable=!G}),onMounted(()=>{c.value&&(F.value.contentEditable=!1),F.value.addEventListener("trix-change",H),F.value.addEventListener("trix-blur",ee),F.value.addEventListener("trix-file-accept",Q),F.value.addEventListener("trix-attachment-add",j)}),onBeforeUnmount(()=>{var G,J,te,re;(G=F.value)===null||G===void 0||G.removeEventListener("trix-change",H),(J=F.value)===null||J===void 0||J.removeEventListener("trix-blur",ee),(te=F.value)===null||te===void 0||te.removeEventListener("trix-file-accept",Q),(re=F.value)===null||re===void 0||re.removeEventListener("trix-attachment-add",j)}),{el$:w,form$:k,Size:$,View:S,classesInstance:C,resolvedEndpoint:B,editorComponent:M,theme:O,classes:E,Templates:D,template:A,editor$:F,update:z,setOption:q,handleChange:H,handleFileAccept:Q,handleAttachmentAdd:j,handleBlur:ee}}},base$Z=function a(i,u,c){var{label:d}=toRefs(i),m=c.form$,f=c.el$,v=inject$1("config$"),g=computed(()=>{var k,$;return!!(m.value.options.forceLabels||d.value||f.value.slots.label||(k=f.value.$slots)!==null&&k!==void 0&&k.label||m.value.$vueform.vueVersion===2&&($=f.value.$scopedSlots)!==null&&$!==void 0&&$.label)}),y=computed(()=>typeof d.value=="function"&&(!d.value.prototype||!d.value.prototype.constructor||d.value.prototype.constructor&&d.value.prototype.constructor.name!=="VueComponent")),b=computed(()=>isVueComponent(d.value)),w=computed(()=>{var k=y.value?d.value(f.value):d.value||null;return b.value||(k=localize(k,v.value,m.value)),k});return{hasLabel:g,Label:w}},base$Y=function a(i,u,c){var{columns:d,presets:m}=toRefs(i),f=c.form$,v=c.theme,g=c.hasLabel,y=ref(cloneDeep_1(d.value)),b=computed(()=>{var S=f.value.$vueform.config;return new f.value.$vueform.services.columns({configPresetColumns:S.usePresets,configColumns:S.columns,formPresetColumns:f.value.options.presets,formColumns:f.value.options.columns,elementPresetColumns:m.value,elementColumns:y.value},g.value,v.value.columns,S.presets)}),w=computed(()=>b.value.classes),k=computed(()=>b.value.cols),$=S=>{y.value=cloneDeep_1(S)};return watch(d,S=>{y.value=cloneDeep_1(S)},{immediate:!1,deep:!0}),{cols:k,columnsClassesService:b,columnsClasses:w,updateColumns:$}},base$X=function a(i,u,c){var{size:d,view:m,views:f,presets:v}=toRefs(i),g=u.name,y=c.available,b=c.active,w=c.form$,k=c.parent,$=ref(!1),S=computed(()=>y.value&&!$.value&&b.value),C=computed(()=>{var F;return d.value?F=d.value:each(v.value,B=>{var I=w.value.$vueform.config.presets[B];!I||!I.size||(F=I.size)}),F||(k.value?F=k.value.Size:F=w.value.Size),F}),E=computed(()=>m.value?m.value:D.value[g.value]),D=computed(()=>{var F=w.value.Views;return each(v.value,B=>{var I=w.value.$vueform.config.presets[B];!I||!I.views||(F=Object.assign({},F,I.views))}),F=Object.assign({},F,f.value),F}),A=()=>{$.value=!0},O=()=>{$.value=!1};return provide("Size",C),provide("View",E),provide("Views",D),{hidden:$,visible:S,Size:C,View:E,Views:D,hide:A,show:O}},base$W=function a(i,u,c){var{templates:d,presets:m}=toRefs(i),f=u.name,v=c.theme,g=c.View,y=c.form$,b=computed(()=>{var k={};return each(m?m.value:[],$=>{var S=y.value.$vueform.config.presets[$];!S||!S.templates||(k=Object.assign({},k,S.templates))}),_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},v.value.templates),k),d?d.value:{})}),w=computed(()=>g&&g.value&&b.value["".concat(f.value,"_").concat(g.value)]?b.value["".concat(f.value,"_").concat(g.value)]:b.value[f.value]);return{Templates:b,template:w}},base$V=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};toRefs(i);var m=c.el$,f=["label","info","description","before","between","after"],v=["checkbox","radio","option","single-label","multiple-label","tag","no-results","no-options","after-list","before-list","placeholder","group-label","caret","clear","spinner","option","default","addon-before","addon-after"],g=computed(()=>{var b={};return f.filter(w=>d.slots.indexOf(w)!==-1).forEach(w=>{var k=m.value.slots[w]||m.value.slots[camelCase_1(w)];typeof k=="object"&&(k.props&&(Array.isArray(k.props)&&k.props.indexOf("el$")===-1||!Array.isArray(k.props)&&Object.keys(k.props).indexOf("el$")===-1)?Array.isArray(k.props)?k.props.push("el$"):k.props.el$={type:Object,required:!0}:k.props||(k.props=["el$"])),b[w]=k}),b}),y=computed(()=>{var b={};return v.filter(w=>d.slots.indexOf(w)!==-1).forEach(w=>{var k=m.value.slots[w]||m.value.slots[camelCase_1(w)];typeof k=="object"&&(k.props&&(Array.isArray(k.props)&&k.props.indexOf("el$")===-1||!Array.isArray(k.props)&&Object.keys(k.props).indexOf("el$")===-1)?Array.isArray(k.props)?k.props.push("el$"):k.props.el$={type:Object,required:!0}:k.props||(k.props=["el$"])),b[w]=k}),b});return{elementSlots:g,fieldSlots:y}},base$U=function a(i,u,c){var{buttonLabel:d,buttonType:m,href:f,target:v,loading:g,onClick:y,resets:b,submits:w}=toRefs(i),k=c.form$,$=c.isDisabled,S=c.fieldId,C=c.fire,E=c.el$,D=computed(()=>typeof g.value=="function"?g.value(k.value,E.value):w.value&&(k.value.submitting||k.value.preparing||k.value.isLoading)?!0:g.value),A=computed(()=>d.value!==null&&typeof d.value=="object"),O=computed(()=>{var B={id:S.value};switch(m.value){case"anchor":B.href=f.value,B.target=v.value;break;case"button":B.disabled=$.value;break}return D.value&&(B.tabindex=void 0),B}),F=B=>{if(m.value==="anchor"&&!f.value&&B.preventDefault(),$.value||D.value){B.preventDefault();return}b.value&&k.value.reset(),w.value&&k.value.submit(),C("click",k.value,E.value,B)};return{isButtonLabelComponent:A,button:O,isLoading:D,handleClick:F}},base$T=function a(i,u,c){var{layout:d,inline:m}=toRefs(i),f=computed(()=>m.value||!d.value?"ElementLayoutInline":d.value);return{elementLayout:f}},base$S=function a(i,u,c){var{id:d,name:m}=toRefs(i),f=c.parent,v=computed(()=>{var g,y;return d.value||((g=f.value)!==null&&g!==void 0&&g.fieldId?"".concat((y=f.value)===null||y===void 0?void 0:y.fieldId,".").concat(m.value):m.value)});return{fieldId:v}},base$R=function a(i,u,c){var{container:d}=c,m=()=>{var f,v,g=((f=d.value)===null||f===void 0?void 0:f.$el)||d.value;g==null||(v=g.querySelector("a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,[tabindex],[contentEditable=true],trix-editor"))===null||v===void 0||v.focus()};return{focus:m}},editor$1=function a(i,u,c){var{input:d}=c,m=()=>{d.value.editor$.focus()};return{focus:m}},baseClone=_baseClone,CLONE_SYMBOLS_FLAG=4;function clone$1(a){return baseClone(a,CLONE_SYMBOLS_FLAG)}var clone_1=clone$1,base$Q=function a(i,u,c){var{disabled:d}=toRefs(i),m=ref(null),f=computed(()=>d.value&&m.value!==!1||m.value===!0),v=()=>{m.value=!0},g=()=>{m.value=!1};return{localDisabled:m,isDisabled:f,disable:v,enable:g}},checkboxgroup$3=function a(i,u,c){var{disables:d}=toRefs(i),{localDisabled:m,isDisabled:f}=base$Q(i),v=ref([]),g=k=>{isArray_1(k)||(k=[k]);var $=clone_1(v.value);each(k,S=>{S=String(S),$.indexOf(S)===-1&&$.push(S)}),v.value=$},y=k=>{isArray_1(k)||(k=[k]);var $=clone_1(v.value);each(k,S=>{S=String(S);var C=$.indexOf(S);C!==-1&&$.splice(C,1)}),v.value=$},b=()=>{m.value=!0},w=()=>{m.value=!1,v.value=[]};return v.value=map_1(d.value||[],k=>String(k)),{disabledItems:v,isDisabled:f,disableAll:b,enableAll:w,disable:g,enable:y}},button$1=function a(i,u,c){var{disabled:d,submits:m}=toRefs(i),f=c.form$,v=c.el$,g=computed(()=>typeof d.value=="function"?d.value(v.value,f.value):m.value&&(f.value.invalid&&f.value.shouldValidateOnChange||f.value.busy||f.value.isDisabled)?!0:d.value);return{isDisabled:g}},radiogroup$2=checkboxgroup$3,base$P=function a(i,u,c){var d=c.fieldId,m=c.invalid,f=c.isDisabled,v=c.busy,g=computed(()=>"".concat(d.value,"__label")),y=computed(()=>"".concat(d.value,"__description")),b=computed(()=>"".concat(d.value,"__info")),w=computed(()=>"".concat(d.value,"__error")),k=computed(()=>({"aria-labelledby":g.value,"aria-describedby":"".concat(y.value," ").concat(b.value),"aria-invalid":m.value,"aria-errormessage":w.value,"aria-disabled":f==null?void 0:f.value,"aria-busy":v.value}));return{descriptionId:y,labelId:g,infoId:b,errorId:w,aria:k}},checkbox$1=function a(i,u,c){var{text:d}=toRefs(i),{descriptionId:m,labelId:f,infoId:v,errorId:g}=base$P(i,u,c),y=c.invalid,b=c.isDisabled,w=c.busy,k=computed(()=>{var $={"aria-label":d.value,"aria-describedby":"".concat(f.value," ").concat(m.value," ").concat(v.value),"aria-invalid":y.value,"aria-errormessage":g.value,"aria-disabled":b.value,"aria-busy":w.value};return $["aria-label"]||($["aria-labelledby"]=f.value),$});return{descriptionId:m,labelId:f,infoId:v,errorId:g,aria:k}},checkboxgroup$2=function a(i,u,c){var{descriptionId:d,labelId:m,infoId:f,errorId:v}=base$P(i,u,c),g=c.invalid,y=c.isDisabled,b=c.busy,w=computed(()=>({"aria-describedby":"".concat(d.value," ").concat(f.value),"aria-invalid":g.value,"aria-errormessage":v.value,"aria-disabled":y.value,"aria-busy":b.value}));return{descriptionId:d,labelId:m,infoId:f,errorId:v,aria:w}},button=function a(i,u,c){var{descriptionId:d,labelId:m,infoId:f,errorId:v}=base$P(i,u,c),g=c.isDisabled,y=computed(()=>({"aria-labelledby":m.value,"aria-describedby":"".concat(d.value," ").concat(f.value),"aria-disabled":g.value}));return{descriptionId:d,labelId:m,infoId:f,errorId:v,aria:y}},static_$3=function a(i,u,c){var{descriptionId:d,labelId:m,infoId:f,errorId:v}=base$P(i,u,c),g=computed(()=>({"aria-labelledby":m.value,"aria-describedby":"".concat(d.value," ").concat(f.value)}));return{descriptionId:d,labelId:m,infoId:f,errorId:v,aria:g}},radiogroup$1=checkboxgroup$2,radio=checkbox$1,toggle$1=checkbox$1,file$4=checkboxgroup$2,createCaseFirst=_createCaseFirst,lowerFirst=createCaseFirst("toLowerCase"),lowerFirst_1=lowerFirst,base$O=function a(i,u,c){var{name:d}=toRefs(i),m=getCurrentInstance$1(),f=c.form$,v=(y,b)=>{y.children$Array?y.children$Array.push(m.proxy):y.elements$?f.value.$set(y.elements$,d.value,m.proxy):b(y.$parent,b)},g=(y,b)=>{y.children$Array?y.children$Array.splice(y.children$Array.map(w=>normalize$1(w.name)).indexOf(normalize$1(d.value)),1):y.elements$?f.value.$delete(y.elements$,d.value):b(y.$parent,b)};return{assignToParent:v,removeFromParent:g}},base$N=function a(i,u,c){var d=["onBeforeCreate","onCreated"],m={onBeforeMount,onMounted,onBeforeUpdate,onUpdated,onBeforeUnmount,onUnmounted},f=getCurrentInstance$1(),v=c.form$,g=c.fire,{assignToParent:y,removeFromParent:b}=base$O(i,u,{form$:v}),w=ref(null),k=ref(!1),$=ref(!0),S=computed(()=>!1),C=computed(()=>!1),E=computed(()=>!1),D=computed(()=>!1),A=computed(()=>$.value),O=computed(()=>f.proxy),F=()=>{$.value=!0},B=()=>{$.value=!1};return provide("el$",O),onBeforeMount(()=>{y(f.proxy.$parent,y)}),onMounted(()=>{k.value=!0}),onBeforeUnmount(()=>{b(f.proxy.$parent,b)}),Object.values(d).forEach(I=>{g(lowerFirst_1(I.replace("on","")),O.value)}),Object.keys(m).forEach(I=>{m[I](()=>{g(lowerFirst_1(I.replace("on","")),O.value)})}),{el$:O,isStatic:S,isFileType:C,isArrayType:D,isImageType:E,isActive:A,active:$,mounted:k,container:w,activate:F,deactivate:B}},list$4=function a(i,u,c){var{el$:d,isStatic:m,isFileType:f,isImageType:v,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}=base$N(i,u,c),S=computed(()=>!0);return{el$:d,isStatic:m,isFileType:f,isArrayType:S,isImageType:v,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}},file$3=function a(i,u,c){var{view:d}=toRefs(i),{el$:m,isStatic:f,isArrayType:v,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}=base$N(i,u,c),S=computed(()=>!0),C=computed(()=>["gallery","image"].indexOf(d.value)!==-1);return{el$:m,isStatic:f,isFileType:S,isArrayType:v,isImageType:C,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}},static_$2=function a(i,u,c){var{el$:d,isArrayType:m,isFileType:f,isImageType:v,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}=base$N(i,u,c),S=computed(()=>!0);return{el$:d,isStatic:S,isFileType:f,isArrayType:m,isImageType:v,isActive:g,active:y,mounted:b,container:w,activate:k,deactivate:$}},checkboxgroup$1=list$4,dates$5=list$4,multiselect$4=list$4,tags$4=list$4,base$M=function a(i,u,c){var{name:d}=toRefs(i),m=getCurrentInstance$1(),{form$:f}=c,v=computed(()=>{var w=(k,$)=>k&&(f.value.$vueform.vueVersion===3&&k.$options.name&&k.$options.name.match(/^[a-zA-Z\-]*Element$/)||f.value.$vueform.vueVersion===2&&k.hasOwnProperty("el$")&&typeof k.el$!="function")?k.el$:k.$parent?$(k.$parent,$):null;return w(f.value.$vueform.vueVersion===3?m.parent.proxy:m.proxy.$parent,w)}),g=computed(()=>v.value&&v.value.path?v.value.path+"."+d.value:d.value),y=computed(()=>v.value&&v.value.dataPath?v.value.dataPath+"."+d.value:d.value),b=computed(()=>!1);return{parent:v,path:g,dataPath:y,flat:b}},group$6=function a(i,u,c){var{path:d,parent:m}=base$M(i,u,c),f=computed(()=>m.value&&m.value.dataPath?m.value.dataPath:null),v=computed(()=>!0);return{path:d,dataPath:f,flat:v,parent:m}},static_$1=function a(i,u,c){var{path:d,parent:m,flat:f}=base$M(i,u,c);return{path:d,flat:f,parent:m}};function resolveDeps$1(a,i,u){var c=u.deps||{};return u=_objectSpread2$1(_objectSpread2$1({},u),{},{events:i.emits,slots:i.slots}),i.features.forEach(d=>{each(d(a,i,c,u),(m,f)=>{c[f]=m})}),c}var base$L=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=resolveDeps$1(i,u,c);return onMounted(()=>{d.initWatcher&&d.initWatcher(),d.initMessageBag&&d.initMessageBag(),d.initValidation&&d.initValidation()}),_objectSpread2$1({},d)},static_=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=resolveDeps$1(i,u,c);return _objectSpread2$1({},d)},multilingual$8=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=resolveDeps$1(i,u,c);return onMounted(()=>{d.initWatcher(),d.initState(),d.initMessageBag(),d.initValidation()}),_objectSpread2$1({},d)},location$3=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{displayKey:d}=toRefs(i),m=resolveDeps$1(i,u,c);return onMounted(()=>{m.value.value[d.value]&&(m.input.value.value=m.value.value[d.value])}),onMounted(()=>{m.initWatcher(),m.initMessageBag(),m.initValidation()}),_objectSpread2$1({},m)},BaseElement={props:{name:{required:!0,type:[String,Number]},conditions:{required:!1,type:[Array],default:()=>[]},onBeforeCreate:{required:!1,type:[Function],default:null,private:!0},onCreated:{required:!1,type:[Function],default:null,private:!0},onBeforeMount:{required:!1,type:[Function],default:null,private:!0},onMounted:{required:!1,type:[Function],default:null,private:!0},onBeforeUpdate:{required:!1,type:[Function],default:null,private:!0},onUpdated:{required:!1,type:[Function],default:null,private:!0},onBeforeUnmount:{required:!1,type:[Function],default:null,private:!0},onUnmounted:{required:!1,type:[Function],default:null,private:!0}}},HasView={props:{inline:{required:!1,type:[Boolean],default:!1},layout:{required:!1,type:[String,Object,Boolean],default:"ElementLayout",private:!0},addClass:{required:!1,type:[Array,Object,String,Function],default:null},removeClass:{required:!1,type:[Array,Object,Function],default:null},replaceClass:{required:!1,type:[Object,Function],default:null},overrideClass:{required:!1,type:[Array,Object,String,Function],default:null},addClasses:{required:!1,type:[Object,Function],default:()=>({})},replaceClasses:{required:!1,type:[Object,Function],default:()=>({})},removeClasses:{required:!1,type:[Object,Function],default:()=>({})},overrideClasses:{required:!1,type:[Object,Function],default:()=>({})},presets:{required:!1,type:[Array],default:()=>[]},view:{required:!1,type:[String],default:void 0},views:{required:!1,type:[Object],default:()=>({})},size:{required:!1,type:[String],default:void 0},columns:{required:!1,type:[Object,String,Number],default:null},templates:{required:!1,type:[Object],default:()=>({})},description:{required:!1,type:[String,Object],localized:!0,default:null},info:{required:!1,type:[String,Object],localized:!0,default:null},infoPosition:{required:!1,type:[String],default:"right"},label:{required:!1,type:[String,Object,Function],localized:!0,default:null},before:{required:!1,type:[Object,String,Number],localized:!0,default:null},between:{required:!1,type:[Object,String,Number],localized:!0,default:null},after:{required:!1,type:[Object,String,Number],localized:!0,default:null},slots:{required:!1,type:[Object],default:()=>({})}}},ButtonElement={name:"ButtonElement",mixins:[BaseElement,HasView],emits:["click","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"button",private:!0},buttonLabel:{required:!1,type:[String,Object,Function],default:null},buttonType:{required:!1,type:[String],default:"button"},buttonClass:{required:!1,type:[String,Array,Object],default:null},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Function,Boolean],default:!1},loading:{required:!1,type:[Function,Boolean],default:!1},href:{required:!1,type:[String],default:""},target:{required:!1,type:[String],default:null},onClick:{required:!1,type:[Function],default:null,private:!0},resets:{required:!1,type:[Boolean],default:!1},submits:{required:!1,type:[Boolean],default:!1},secondary:{required:!1,type:[Boolean],default:!1},danger:{required:!1,type:[Boolean],default:!1},full:{required:!1,type:[Boolean],default:!1},align:{required:!1,type:[String],default:void 0}},setup(a,i){return i.features=[base$17,base$16,base$T,static_$1,base$1a,static_$2,button$1,base$12,base$Z,base$X,base$W,base$S,base$U,base$18,base$Y,base$V,button,base$R],i.slots=["label","info","description","before","between","after","default"],_objectSpread2$1({},static_(a,i))}},base$K=function a(i,u,c){var d=ref(null);return{input:d}};function baseSortBy$1(a,i){var u=a.length;for(a.sort(i);u--;)a[u]=a[u].value;return a}var _baseSortBy=baseSortBy$1,isSymbol=isSymbol_1;function compareAscending$1(a,i){if(a!==i){var u=a!==void 0,c=a===null,d=a===a,m=isSymbol(a),f=i!==void 0,v=i===null,g=i===i,y=isSymbol(i);if(!v&&!y&&!m&&a>i||m&&f&&g&&!v&&!y||c&&f&&g||!u&&g||!d)return 1;if(!c&&!m&&!y&&a<i||y&&u&&d&&!c&&!m||v&&u&&d||!f&&d||!g)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=_compareAscending;function compareMultiple$1(a,i,u){for(var c=-1,d=a.criteria,m=i.criteria,f=d.length,v=u.length;++c<f;){var g=compareAscending(d[c],m[c]);if(g){if(c>=v)return g;var y=u[c];return g*(y=="desc"?-1:1)}}return a.index-i.index}var _compareMultiple=compareMultiple$1,arrayMap=_arrayMap,baseGet=_baseGet,baseIteratee=_baseIteratee,baseMap=_baseMap,baseSortBy=_baseSortBy,baseUnary=_baseUnary,compareMultiple=_compareMultiple,identity=identity_1,isArray=isArray_1;function baseOrderBy$1(a,i,u){i.length?i=arrayMap(i,function(m){return isArray(m)?function(f){return baseGet(f,m.length===1?m[0]:m)}:m}):i=[identity];var c=-1;i=arrayMap(i,baseUnary(baseIteratee));var d=baseMap(a,function(m,f,v){var g=arrayMap(i,function(y){return y(m)});return{criteria:g,index:++c,value:m}});return baseSortBy(d,function(m,f){return compareMultiple(m,f,u)})}var _baseOrderBy=baseOrderBy$1,baseFlatten=_baseFlatten,baseOrderBy=_baseOrderBy,baseRest=_baseRest,isIterateeCall=_isIterateeCall,sortBy=baseRest(function(a,i){if(a==null)return[];var u=i.length;return u>1&&isIterateeCall(a,i[0],i[1])?i=[]:u>2&&isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),baseOrderBy(a,baseFlatten(i,1),[])}),sortBy_1=sortBy;function checkDateFormat(a,i){!(i instanceof Date)&&hooks(i,a).format(a)!==i&&console.warn('Wrong formatted date. Expected format: "'.concat(a,'", received: "').concat(i,'"'))}var base$J=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{submit:m,formatData:f,formatLoad:v,name:g}=toRefs(i),y=c.form$,b=c.available,w=c.value,k=c.resetValidators,$=c.defaultValue,S=c.nullValue,C=c.resetting,E=z=>{if(d.setValue)return d.setValue(z);w.value=z},D=computed(()=>({[g.value]:w.value})),A=computed(()=>!b.value||!m.value?{}:f.value?f.value(g.value,w.value,y.value):{[g.value]:w.value}),O=function(q){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;E(H&&v.value?v.value(q,y.value):q)},F=z=>{E(z)},B=()=>{E(cloneDeep_1(S.value))},I=()=>{C.value=!0,E(cloneDeep_1($.value)),k()},M=function(){var z=_asyncToGenerator(function*(){});return function(){return z.apply(this,arguments)}}();return{data:D,requestData:A,load:O,update:F,clear:B,reset:I,prepare:M}},text$2=function a(i,u,c){var{submit:d,formatData:m,name:f,forceNumbers:v}=toRefs(i),{load:g,update:y,clear:b,reset:w,prepare:k}=base$J(i,u,c),$=c.form$,S=c.available,C=c.value,E=inject$1("config$"),D=computed(()=>{var B=C.value;return O()&&(B=F(C.value)),{[f.value]:B}}),A=computed(()=>{if(!S.value||!d.value)return{};var B=C.value;return O()&&(B=F(C.value)),m.value?m.value(f.value,B,$.value):{[f.value]:B}}),O=()=>v.value||E.value.config.forceNumbers&&$.value.options.forceNumbers!==!1&&v.value!==!1||$.value.options.forceNumbers&&v.value!==!1,F=B=>{var I=B;return typeof B=="string"&&(/^[-+]?\d+([\.,]\d+)?$/.test(B)?I=parseFloat(B.replace(",",".")):/^[-+]?\d+$/.test(B)&&(I=parseInt(B,10))),I};return{data:D,requestData:A,load:g,update:y,clear:b,reset:w,prepare:k}},select$3=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{resolveOnLoad:m,items:f}=toRefs(i),{data:v,requestData:g,load:y,update:b,clear:w,prepare:k}=base$J(i,u,c),$=c.value,S=c.resetValidators,C=c.defaultValue,E=c.updateItems,D=c.resetting,A=F=>{if(d.setValue)return d.setValue(F);$.value=F},O=()=>{D.value=!0,A(cloneDeep_1(C.value)),S(),typeof f.value=="string"&&m.value!==!1&&E()};return{data:v,requestData:g,load:y,update:b,clear:w,reset:O,prepare:k}},object$6=function a(i,u,c){var{name:d,formatLoad:m,formatData:f,submit:v}=toRefs(i),{data:g}=base$J(i,u,c),y=c.form$,b=c.available,w=c.children$,k=c.children$Array,$=c.resetting,S=computed(()=>{if(!b.value||!v.value)return{};var F={};return each(w.value,B=>{B.isStatic||(F=Object.assign({},F,B.requestData))}),f.value?f.value(d.value,F,y.value):{[d.value]:F}}),C=function(B){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=I&&m.value?m.value(B,y.value):B;each(w.value,z=>{if(!z.isStatic){if(!z.flat&&M[z.name]===void 0){z.clear();return}z.load(z.flat?M:M[z.name],I)}})},E=F=>{each(w.value,B=>{B.isStatic||F[B.name]===void 0&&!B.flat||B.update(B.flat?F:F[B.name])})},D=()=>{each(w.value,F=>{F.isStatic||F.clear()})},A=()=>{$.value=!0,each(w.value,F=>{F.isStatic||F.reset()})},O=function(){var F=_asyncToGenerator(function*(){yield asyncForEach(k.value,function(){var B=_asyncToGenerator(function*(I){I.prepare&&(yield I.prepare())});return function(I){return B.apply(this,arguments)}}())});return function(){return F.apply(this,arguments)}}();return{data:g,requestData:S,load:C,update:E,clear:D,reset:A,prepare:O}},group$5=function a(i,u,c){var{name:d,formatData:m,submit:f}=toRefs(i),{load:v,update:g,clear:y,reset:b,prepare:w}=object$6(i,u,c),k=c.form$,$=c.children$,S=c.available,C=c.value,E=computed(()=>C.value),D=computed(()=>{if(!S.value||!f.value)return{};var A={};return each($.value,O=>{O.isStatic||(A=Object.assign({},A,O.requestData))}),m.value?m.value(d.value,A,k.value):A});return{data:E,requestData:D,load:v,update:g,clear:y,reset:b,prepare:w}},list$3=function a(i,u,c,d){var{name:m,storeOrder:f,formatLoad:v,formatData:g,order:y,submit:b,initial:w,default:k}=toRefs(i),{update:$,clear:S,data:C}=base$J(i,u,c),E=c.form$,D=c.children$,A=c.children$Array,O=c.available,F=c.isDisabled,B=c.value,I=c.orderByName,M=c.refreshOrderStore,z=c.dataPath,q=c.parent,H=c.nullValue,Q=c.defaultValue,j=c.fire,ee=c.resetValidators,G=c.resetting,J=ref(get_1(E.value.model,z.value)),te=computed(()=>q&&q.value?q.value.defaultValue[m.value]:E.value.options.default[m.value]),re=computed(()=>{if(!O.value||!b.value)return{};var Ce=[];return each(D.value,Te=>{var Pe=Te.requestData[Te.name];Pe!==void 0&&Ce.push(Pe)}),g.value?g.value(m.value,Ce,E.value):{[m.value]:Ce}}),ae=computed(()=>Object.keys(B.value||{}).length),ye=function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt=f.value?Object.assign({},Te||{},{[f.value]:Te?Te[f.value]:void 0}):Te;B.value=M(B.value.concat([Vt]));var Ie=B.value.length-1;return j("add",Ie,Vt,B.value),Pe&&nextTick(()=>{A.value[A.value.length-1].focus()}),Ie},ve=Ce=>{B.value=B.value.filter((Te,Pe)=>Pe!==Ce),M(B.value),j("remove",Ce,B.value)},le=function(){var Ce=_asyncToGenerator(function*(Te){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Vt=At(Pe&&v.value?v.value(Te,E.value):Te);S(),yield nextTick();for(var Ie=0;Ie<Vt.length;Ie++)ye();yield nextTick(),each(D.value,(ie,de)=>{ie.load(Vt[de],Pe)})});return function(Pe){return Ce.apply(this,arguments)}}(),Se=()=>{if(G.value=!0,B.value=cloneDeep_1(Q.value),ee(),!B.value.length&&w.value>0){for(var Ce=0;Ce<w.value;Ce++)ye();A.value.forEach(Te=>{Te.reset()})}nextTick(()=>{M(B.value)})},De=function(){var Ce=_asyncToGenerator(function*(){yield asyncForEach(A.value,function(){var Te=_asyncToGenerator(function*(Pe){Pe.prepare&&(yield Pe.prepare())});return function(Pe){return Te.apply(this,arguments)}}())});return function(){return Ce.apply(this,arguments)}}(),At=Ce=>{if(!y.value&&!I.value||!Ce)return Ce;var Te=y.value&&typeof y.value=="string"&&y.value.toUpperCase()=="DESC";return I.value?Ce=Te?sortBy_1(Ce,I.value).reverse():sortBy_1(Ce,I.value):y.value&&(Ce=Te?Ce.sort().reverse():Ce.sort()),Ce},Le=()=>{F.value||ye(void 0,!0)},ke=Ce=>{F.value||ve(Ce)};if(J.value===void 0&&te.value===void 0&&k.value===void 0)if(w.value>0)for(var ue=0;ue<w.value;ue++)ye();else B.value=H.value;else J.value===void 0&&(B.value=Q.value);return{requestData:re,data:C,length:ae,add:ye,remove:ve,load:le,update:$,clear:S,reset:Se,handleAdd:Le,handleRemove:ke,prepare:De}},date$3=function a(i,u,c){var{formatLoad:d}=toRefs(i),{data:m,requestData:f,update:v,clear:g,reset:y,prepare:b}=base$J(i,u,c),w=c.form$,k=c.value,$=c.loadDateFormat,S=function(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=D&&d.value?d.value(E,w.value):E;checkDateFormat($.value,A),k.value=A instanceof Date||!A?A:hooks(A,$.value).toDate()};return{data:m,requestData:f,load:S,update:v,clear:g,reset:y,prepare:b}},dates$4=function a(i,u,c){var{formatLoad:d}=toRefs(i),{data:m,requestData:f,update:v,clear:g,reset:y,prepare:b}=base$J(i,u,c),w=c.form$,k=c.value,$=c.loadDateFormat,S=function(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=D&&d.value?d.value(E,w.value):E;k.value=map_1(A,O=>(checkDateFormat($.value,O),O instanceof Date?O:hooks(O,$.value).toDate()))};return{data:m,requestData:f,load:S,update:v,clear:g,reset:y,prepare:b}},multilingual$7=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{formatLoad:m}=toRefs(i),{data:f,requestData:v,clear:g,reset:y,prepare:b}=base$J(i,u,c,d),w=c.form$,k=c.value,$=c.language,S=c.nullValue,C=A=>{if(d.setValue)return d.setValue(A);k.value=A},E=function(O){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,B=F&&m.value?m.value(O,w.value):O;if(!isPlainObject_1(B))throw new Error("Multilingual element requires an object to load");C(Object.assign({},clone_1(S.value),B))},D=A=>{var O=A;isPlainObject_1(O)||(O={[$.value]:A}),C(Object.assign({},k.value,O))};return{data:f,requestData:v,load:E,update:D,clear:g,reset:y,prepare:b}},editor=function a(i,u,c){var{data:d,requestData:m,load:f,update:v,clear:g,reset:y,prepare:b}=base$J(i,u,c,{setValue:$=>{k.value=$,nextTick(()=>{w.value.update($)})}}),w=c.input,k=c.value;return{data:d,requestData:m,load:f,update:v,clear:g,reset:y,prepare:b}},teditor=function a(i,u,c){var{data:d,requestData:m,load:f,update:v,clear:g,reset:y,prepare:b}=multilingual$7(i,u,c,{setValue:C=>{$.value=C,nextTick(()=>{w.value.update(C[S.value])})}}),w=c.input,k=c.model,$=c.value,S=c.language;return watch(S,()=>{w.value.update(k.value)}),{data:d,requestData:m,load:f,update:v,clear:g,reset:y,prepare:b}},file$2=function a(i,u,c){var{load:d,update:m,clear:f,reset:v,prepare:g}=base$J(i,u,c),{submit:y,formatData:b,name:w}=toRefs(i),k=c.form$,$=c.available,S=c.value,C=computed(()=>{var D,A=S.value;return typeof A=="object"&&(D=A)!==null&&D!==void 0&&D.__file__&&(A=A instanceof File?A:_objectSpread2$1({},A),delete A.__file__),{[w.value]:A}}),E=computed(()=>{var D;if(!$.value||!y.value)return{};var A=S.value;return typeof A=="object"&&(D=A)!==null&&D!==void 0&&D.__file__&&(A=A instanceof File?A:_objectSpread2$1({},A),delete A.__file__),b.value?b.value(w.value,A,k.value):{[w.value]:A}});return{data:C,requestData:E,load:d,update:m,clear:f,reset:v,prepare:g}},multifile$5=function a(i,u,c){var{length:d,add:m,remove:f,load:v,update:g,clear:y,reset:b,handleAdd:w,handleRemove:k,prepare:$}=list$3(i,u,c),{submit:S,formatData:C,name:E}=toRefs(i),D=c.form$,A=c.available,O=c.value,F=c.children$,B=computed(()=>{var M=O.value;return M=M.map(z=>{if(typeof z=="object"&&z!==null&&z!==void 0&&z.__file__){var q=z instanceof File?z:_objectSpread2$1({},z);return delete q.__file__,q}return z}),{[E.value]:M}}),I=computed(()=>{if(!A.value||!S.value)return{};var M=[];return each(F.value,z=>{var q=z.requestData[z.name];if(q!==void 0){var H;if(typeof q=="object"&&(H=q)!==null&&H!==void 0&&H.__file__){var Q=file$2 instanceof File?file$2:_objectSpread2$1({},file$2);delete Q.__file__,q=Q}M.push(q)}}),C.value?C.value(E.value,M,D.value):{[E.value]:M}});return{requestData:I,data:B,length:d,add:m,remove:f,load:v,update:g,clear:y,reset:b,handleAdd:w,handleRemove:k,prepare:$}},multiselect$3=select$3,tags$3=select$3,base$I=function a(i,u,c){var{default:d,name:m}=toRefs(i),f=c.nullValue,v=c.form$,g=c.parent,y=computed(()=>{var b;return g&&g.value&&!g.value.mounted?b=g.value.defaultValue[m.value]:!v.value.mounted&&v.value.options.default[m.value]!==void 0&&(b=v.value.options.default[m.value]),b!==void 0?b instanceof File?new File([b],b.name,b):cloneDeep_1(b):d.value!==void 0?d.value instanceof File?new File([d.value],d.value.name,d.value):cloneDeep_1(d.value):cloneDeep_1(f.value)});return{defaultValue:y}},text$1=function a(i,u,c){var{default:d,name:m}=toRefs(i),f=c.nullValue,v=c.form$,g=c.parent,y=inject$1("config$"),b=computed(()=>{var w;return g&&g.value&&!g.value.mounted?w=g.value.defaultValue[m.value]:!v.value.mounted&&typeof v.value.options.default[m.value]!==void 0&&(w=v.value.options.default[m.value]),w!==void 0?w instanceof File?new File([w],w.name,w):isPlainObject_1(w)?localize(cloneDeep_1(w),y.value,v.value):cloneDeep_1(w):d.value!==void 0?d.value instanceof File?new File([d.value],d.value.name,d.value):isPlainObject_1(d.value)?localize(cloneDeep_1(d.value),y.value,v.value):cloneDeep_1(d.value):cloneDeep_1(f.value)});return{defaultValue:b}},object$5=function a(i,u,c){var{default:d,name:m}=toRefs(i),f=c.nullValue,v=c.form$,g=c.parent,y=computed(()=>{var b;return g&&g.value&&!g.value.mounted?b=g.value.defaultValue[m.value]:!v.value.mounted&&v.value.options.default[m.value]&&(b=v.value.options.default[m.value]),b!==void 0?cloneDeep_1(merge_1({},d.value||f.value,b)):Object.keys(d.value).length>0?cloneDeep_1(d.value):cloneDeep_1(f.value)});return{defaultValue:y}},group$4=function a(i,u,c){var{default:d}=toRefs(i),m=c.form$,f=c.parent,v=computed(()=>{var g={};return f&&f.value&&!f.value.mounted?g=f.value.defaultValue:!m.value.mounted&&m.value.options.default&&(g=m.value.options.default),cloneDeep_1(merge_1({},d.value,g))});return{defaultValue:v}},multilingual$6=function a(i,u,c){var{default:d,name:m}=toRefs(i),f=c.nullValue,v=c.form$,g=c.parent,y=computed(()=>{var b;if(g&&g.value&&!g.value.mounted?b=g.value.defaultValue[m.value]:!v.value.mounted&&v.value.options.default[m.value]&&(b=v.value.options.default[m.value]),b!==void 0)return cloneDeep_1(Object.assign({},clone_1(f.value),b));if(d.value===void 0)return clone_1(f.value);var w=clone_1(d.value);if(!isPlainObject_1(w)){var k={};each(f.value,($,S)=>{k[S]=w}),w=k}return Object.assign({},clone_1(f.value),w)});return{defaultValue:y}},base$H=function a(i,u,c){var{rules:d}=toRefs(i),m=c.form$,f=c.path,v=ref({dirty:!1,validated:!0}),g=ref([]),y=ref({}),b=reactive({}),w=ref(!1),k=computed(()=>d.value),$=computed(()=>v.value.dirty),S=computed(()=>v.value.validated),C=computed(()=>some_1(g.value,{invalid:!0})),E=computed(()=>some_1(g.value,{pending:!0})),D=computed(()=>E.value),A=computed(()=>{var J=[];return each(g.value,te=>{te.failing&&J.push(te.message)}),J}),O=computed(()=>y.value.errors),F=computed(()=>y.value.error||null),B=computed(()=>F.value!==null),I=computed(()=>k.value&&k.value.length>0&&v.value.validated&&!C.value||(!k.value||!k.value.length)&&$.value),M=function(){var J=_asyncToGenerator(function*(){if(k.value&&m.value.validation!==!1){if(w.value){w.value=!1;return}yield asyncForEach(g.value,function(){var te=_asyncToGenerator(function*(re){yield re.validate()});return function(re){return te.apply(this,arguments)}}()),v.value.validated=!0}});return function(){return J.apply(this,arguments)}}(),z=()=>{each(g.value,J=>{J.reset()}),v.value.validated=!k.value},q=()=>{v.value.dirty=!0},H=()=>{v.value.dirty=!1},Q=()=>{y.value&&y.value.clear()},j=()=>{y.value=new m.value.$vueform.services.messageBag(A)},ee=()=>{k.value&&(v.value.validated=!1,b.value=new m.value.$vueform.services.validation.factory(f.value,m.value),g.value=[],each(b.value.makeAll(k.value),J=>{g.value.push(J)}))},G=()=>{ee()};return{state:v,Validators:g,messageBag:y,resetting:w,dirty:$,validated:S,invalid:C,pending:E,busy:D,errors:O,error:F,validationRules:k,isDanger:B,isSuccess:I,validate:M,dirt:q,clean:H,clearMessages:Q,resetValidators:z,initMessageBag:j,initValidation:ee,reinitValidation:G}},text=function a(i,u,c){var{state:d,Validators:m,messageBag:f,resetting:v,dirty:g,validated:y,invalid:b,pending:w,errors:k,error:$,validationRules:S,isDanger:C,isSuccess:E,validate:D,dirt:A,clean:O,clearMessages:F,resetValidators:B,initMessageBag:I,initValidation:M,reinitValidation:z}=base$H(i,u,c),q=computed(()=>some_1(m.value,{debouncing:!0})),H=computed(()=>w.value||q.value);return{state:d,Validators:m,messageBag:f,resetting:v,dirty:g,validated:y,invalid:b,pending:w,debouncing:q,busy:H,errors:k,error:$,validationRules:S,isDanger:C,isSuccess:E,validate:D,dirt:A,clean:O,clearMessages:F,resetValidators:B,initMessageBag:I,initValidation:M,reinitValidation:z}},list$2=function a(i,u,c){var{state:d,Validators:m,messageBag:f,validationRules:v,dirt:g,initValidation:y,resetting:b}=base$H(i,u,c),w=c.form$,k=c.children$,$=computed(()=>some_1(k.value,{available:!0,dirty:!0})||d.value.dirty),S=computed(()=>!some_1(k.value,{available:!0,validated:!1})&&d.value.validated),C=computed(()=>some_1(k.value,{available:!0,invalid:!0})||some_1(m.value,{invalid:!0})),E=computed(()=>some_1(k.value,{available:!0,pending:!0})||some_1(m.value,{pending:!0})),D=computed(()=>some_1(k.value,{available:!0,debouncing:!0})||some_1(m.value,{debouncing:!0})),A=computed(()=>some_1(k.value,{available:!0,busy:!0})||E.value||D.value),O=computed(()=>{var te=[];return each(m.value,re=>{re.failing&&te.push(re.message)}),te}),F=computed(()=>{var te=[];return each(k.value,re=>{!re.available||re.isStatic||each(re.errors,ae=>{te.push(ae)})}),te}),B=computed(()=>O.value.concat(F.value)),I=computed(()=>f.value.errors),M=computed(()=>head_1(O.value)),z=function(){var te=_asyncToGenerator(function*(){if(b.value){b.value=!1;return}yield q(),yield H()});return function(){return te.apply(this,arguments)}}(),q=function(){var te=_asyncToGenerator(function*(){w.value.validation!==!1&&(yield asyncForEach(m.value,function(){var re=_asyncToGenerator(function*(ae){yield ae.validate()});return function(ae){return re.apply(this,arguments)}}()),d.value.validated=!0)});return function(){return te.apply(this,arguments)}}(),H=function(){var te=_asyncToGenerator(function*(){w.value.validation!==!1&&(yield asyncForEach(k.value,function(){var re=_asyncToGenerator(function*(ae){ae.isStatic||(yield ae.validate())});return function(ae){return re.apply(this,arguments)}}()))});return function(){return te.apply(this,arguments)}}(),Q=()=>{each(k.value,te=>{te.isStatic||te.clean()}),d.value.dirty=!1},j=()=>{f.value&&f.value.clear(),each(k.value,te=>{te.isStatic||te.clearMessages()})},ee=()=>{each(k.value,te=>{te.isStatic||te.resetValidators()}),each(m.value,te=>{te.reset()}),d.value.validated=!v.value},G=()=>{f.value=new w.value.$vueform.services.messageBag(B)},J=()=>{y(),each(k.value,te=>{te.isStatic||te.reinitValidation()})};return{state:d,Validators:m,messageBag:f,resetting:b,dirty:$,validated:S,invalid:C,pending:E,debouncing:D,busy:A,validatorErrors:O,childrenErrors:F,errors:I,error:M,validationRules:v,validate:z,validateValidators:q,validateChildren:H,dirt:g,clean:Q,clearMessages:j,resetValidators:ee,initMessageBag:G,initValidation:y,reinitValidation:J}},multilingual$5=function a(i,u,c){var{rules:d}=toRefs(i),m=c.form$,f=c.path,v=c.languages,g=c.language,y=c.value,{messageBag:b,clearMessages:w,resetting:k}=text(i,u,c),$=ref({dirty:{},validated:{}}),S=ref({}),C=computed(()=>{var ve={};return d.value&&each(v.value,le=>{ve[le]=isPlainObject_1(d.value)?d.value[le]||null:d.value}),ve}),E=computed(()=>some_1($.value.dirty,ve=>ve===!0)),D=computed(()=>!some_1($.value.validated,ve=>ve===!1)),A=computed(()=>{var ve=!1;return each(S.value,le=>{some_1(le,{invalid:!0})&&(ve=!0)}),ve}),O=computed(()=>{var ve=!1;return each(S.value,le=>{some_1(le,{pending:!0})&&(ve=!0)}),ve}),F=computed(()=>{var ve=!1;return each(S.value,le=>{some_1(le,{debouncing:!0})&&(ve=!0)}),ve}),B=computed(()=>O.value||F.value),I=computed(()=>{var ve=[];return each(S.value,(le,Se)=>{each(le,De=>{De.failing&&ve.push(De.message+" ("+Se+")")})}),ve}),M=computed(()=>b.value.errors),z=computed(()=>{var ve=null;each(S.value[g.value],Se=>{if(ve!==null)return!1;Se.failing&&(ve=Se.message)});var le=b.value.prepends?b.value.prepends.errors:[];return ve!==null&&(le=concat_1(le,[ve])),le=concat_1(le,b.value.appends?b.value.appends.errors:[]),head_1(le)}),q=computed(()=>z.value!==null&&z.value!==void 0),H=computed(()=>C.value[g.value]&&C.value[g.value].length>0&&$.value.validated[g.value]&&!some_1(S.value[g.value],{invalid:!0})||(!C.value[g.value]||!C.value[g.value].length)&&$.value.dirty[g.value]),Q=function(){var ve=_asyncToGenerator(function*(){if(k.value){k.value=!1;return}yield asyncForEach(v.value,function(){var le=_asyncToGenerator(function*(Se){yield j(Se)});return function(Se){return le.apply(this,arguments)}}())});return function(){return ve.apply(this,arguments)}}(),j=function(){var ve=_asyncToGenerator(function*(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:g.value;m.value.validation!==!1&&S.value[le]&&(yield asyncForEach(S.value[le],function(){var Se=_asyncToGenerator(function*(De){yield De.validate(y.value[le])});return function(De){return Se.apply(this,arguments)}}()),$.value.validated[le]=!0)});return function(){return ve.apply(this,arguments)}}(),ee=()=>{each(v.value,ve=>{each(S.value[ve],le=>{le.reset()}),each(C.value,(le,Se)=>{$.value.validated[Se]=!(le.length>0)})})},G=()=>{$.value.dirty[g.value]=!0},J=()=>{$.value.dirty[g.value]=!1},te=()=>{var ve={},le={};each(v.value,Se=>{ve[Se]=!1}),each(v.value,Se=>{le[Se]=!0}),$.value={dirty:ve,validated:le}},re=()=>{b.value=new m.value.$vueform.services.messageBag(I)},ae=()=>{if(C.value){each(C.value,(le,Se)=>{$.value.validated[Se]=!(le!==null&&le.length>0)});var ve=new m.value.$vueform.services.validation.factory(f.value,m.value);S.value={},each(C.value,(le,Se)=>{le!==null&&(S.value[Se]||(S.value=Object.assign({},S.value,{[Se]:[]})),each(ve.makeAll(le),De=>{S.value[Se].push(De)}))})}},ye=()=>{ae()};return{state:$,Validators:S,messageBag:b,resetting:k,dirty:E,validated:D,invalid:A,pending:O,debouncing:F,busy:B,errors:M,error:z,validationRules:C,isDanger:q,isSuccess:H,validate:Q,validateLanguage:j,dirt:G,clean:J,clearMessages:w,resetValidators:ee,initState:te,initMessageBag:re,initValidation:ae,reinitValidation:ye}},slider$1=function a(i,u,c){var d=c.value,{state:m,Validators:f,messageBag:v,resetting:g,dirty:y,validated:b,invalid:w,pending:k,busy:$,errors:S,error:C,validationRules:E,dirt:D,clean:A,clearMessages:O,resetValidators:F,initMessageBag:B,initValidation:I,reinitValidation:M}=base$H(i,u,c),z=function(){var q=_asyncToGenerator(function*(){if(E.value){if(g.value){g.value=!1;return}isArray_1(d.value)?yield asyncForEach(d.value,function(){var H=_asyncToGenerator(function*(Q){if(yield asyncForEach(f.value,function(){var j=_asyncToGenerator(function*(ee){yield ee.validate(Q)});return function(ee){return j.apply(this,arguments)}}()),w.value)return!1});return function(Q){return H.apply(this,arguments)}}()):yield asyncForEach(f.value,function(){var H=_asyncToGenerator(function*(Q){yield Q.validate(d.value)});return function(Q){return H.apply(this,arguments)}}()),m.value.validated=!0}});return function(){return q.apply(this,arguments)}}();return{state:m,Validators:f,messageBag:v,resetting:g,dirty:y,validated:b,invalid:w,pending:k,busy:$,errors:S,error:C,validationRules:E,validate:z,dirt:D,clean:A,clearMessages:O,resetValidators:F,initMessageBag:B,initValidation:I,reinitValidation:M}},file$1=function a(i,u,c){var d=c.form$,m=c.value,f=c.uploading,v=c.removing,{state:g,Validators:y,messageBag:b,resetting:w,dirty:k,validated:$,invalid:S,pending:C,errors:E,error:D,validationRules:A,dirt:O,clean:F,clearMessages:B,resetValidators:I,initMessageBag:M,initValidation:z,reinitValidation:q}=base$H(i,u,c),H=computed(()=>C.value||f.value||v.value),Q=function(){var j=_asyncToGenerator(function*(){if(A.value&&d.value.validation!==!1){if(w.value){w.value=!1;return}var ee=["min","max","between","size","mimetypes","mimes","dimensions","file","image","gt","gte","lt","lte"];yield asyncForEach(y.value,function(){var G=_asyncToGenerator(function*(J){!(m.value instanceof File)&&m.value&&ee.indexOf(J.name)!==-1||(yield J.validate())});return function(J){return G.apply(this,arguments)}}()),g.value.validated=!0}});return function(){return j.apply(this,arguments)}}();return{state:g,Validators:y,messageBag:b,resetting:w,dirty:k,validated:$,invalid:S,pending:C,busy:H,errors:E,error:D,validationRules:A,validate:Q,dirt:O,clean:F,clearMessages:B,resetValidators:I,initMessageBag:M,initValidation:z,reinitValidation:q}},location$2=function a(i,u,c){var{displayKey:d}=toRefs(i),m=c.form$,f=c.value,{state:v,Validators:g,messageBag:y,resetting:b,dirty:w,validated:k,invalid:$,pending:S,debouncing:C,busy:E,errors:D,error:A,validationRules:O,isSuccess:F,isDanger:B,dirt:I,clean:M,clearMessages:z,resetValidators:q,initMessageBag:H,initValidation:Q,reinitValidation:j}=text(i,u,c),ee=function(){var G=_asyncToGenerator(function*(){if(O.value&&m.value.validation!==!1){if(b.value){b.value=!1;return}yield asyncForEach(g.value,function(){var J=_asyncToGenerator(function*(te){yield te.validate(f.value[d.value])});return function(te){return J.apply(this,arguments)}}()),v.value.validated=!0}});return function(){return G.apply(this,arguments)}}();return{state:v,Validators:g,messageBag:y,resetting:b,dirty:w,validated:k,invalid:$,pending:S,debouncing:C,busy:E,errors:D,error:A,validationRules:O,isSuccess:F,isDanger:B,validate:ee,dirt:I,clean:M,clearMessages:z,resetValidators:q,initMessageBag:H,initValidation:Q,reinitValidation:j}},group$3=list$2,object$4=list$2,base$G=function a(i,u,c){var{name:d,floating:m,placeholder:f,label:v,fieldName:g}=toRefs(i),y=c.form$,b=c.Label,w=inject$1("config$"),k=computed(()=>g&&g.value?localize(g.value,w.value,y.value):v&&v.value?b.value:m&&m.value?localize(m.value,w.value,y.value):f&&f.value&&y.value.options.floatPlaceholders?localize(f.value,w.value,y.value):upperFirst_1(d.value).replace(/_|-/g," "));return{genericName:k}},file=function a(i,u,c){var{name:d,embed:m,label:f,fieldName:v}=toRefs(i),g=c.form$,y=c.Label,b=c.filename||ref(null),w=inject$1("config$"),k=computed(()=>m.value&&b.value?b.value:v&&v.value?localize(v.value,w.value,g.value):f.value?y.value:/^\d+$/.test(d.value)?g.value.translations.vueform.elements.file.defaultName:upperFirst_1(d.value).replace(/_|-/g," "));return{genericName:k}},base$F=function a(i,u,c){var d,m,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{name:v,type:g}=toRefs(i),y=c.parent,b=c.defaultValue,w=c.dataPath,k=c.form$,$=ref(void 0);k.value.isSync?$.value=get_1(k.value.model,w.value):y.value&&["group","object","list","multifile"].indexOf(y.value.type)!==-1&&($.value=y.value.value[v.value]);var S=ref(b.value instanceof File?b.value:cloneDeep_1(b.value)),C=computed({get:((d=f.value)===null||d===void 0?void 0:d.get)||function(){var D;return k.value.isSync?D=get_1(k.value.model,w.value):y.value&&["group","object","list","multifile"].indexOf(y.value.type)!==-1?D=y.value.value[v.value]:D=S.value,D!==void 0?D:b.value instanceof File?b.value:cloneDeep_1(b.value)},set:((m=f.value)===null||m===void 0?void 0:m.set)||function(D){if(k.value.isSync)k.value.updateModel(w.value,D);else if(y.value&&["list","multifile"].indexOf(y.value.type)!==-1){var A=y.value.value.map((O,F)=>F==v.value?D:O);y.value.update(A)}else y.value&&["group","object"].indexOf(y.value.type)!==-1?y.value.value=Object.assign({},y.value.value,{[v.value]:D}):S.value=D}}),E=computed({get(){return C.value},set(D){C.value=D}});return(f.init===void 0||f.init!==!1)&&$.value===void 0&&(C.value=b.value instanceof File?b.value:cloneDeep_1(b.value)),watch(g,()=>{C.value=b.value instanceof File?b.value:cloneDeep_1(b.value)}),{initialValue:$,internalValue:S,value:C,model:E}},list$1=function a(i,u,c){var{initialValue:d,internalValue:m,value:f,model:v}=base$F(i,u,c,{init:!1});return{initialValue:d,internalValue:m,value:f,model:v}},object$3=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{initialValue:m,internalValue:f,value:v}=base$F(i,u,c,{init:!1}),g=c.defaultValue;return(d.init===void 0||d.init!==!1)&&(m.value===void 0?v.value=g.value:v.value=Object.assign({},g.value,v.value)),{internalValue:f,value:v}},group$2=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},m=c.parent,f=c.dataPath,v=c.defaultValue,g=c.children$Array,y=c.form$,b=ref(cloneDeep_1(v.value)),w=computed(d.value||{get(){var k;y.value.isSync?k=f.value?get_1(y.value.model,f.value)||{}:y.value.model:m.value&&["group","object"].indexOf(m.value.type)!==-1?k=m.value.value:k=b.value;var $=g.value.reduce((C,E)=>{if(E.isStatic||!E)return C;var D=[];if(!E.flat)D.push(E.name);else{var A=O=>{O.forEach(F=>{!F.isStatic&&F.flat?A(F.children$Array):F.isStatic||D.push(F.name)})};A(E.children$Array)}return C.concat(D)},[]),S={};return $.forEach(C=>{k[C]!==void 0&&(S[C]=k[C])}),k=S,k!==void 0?k:cloneDeep_1(v.value)},set(k){y.value.isSync?y.value.updateModel(f.value,k):m.value&&["group","object"].indexOf(m.value.type)!==-1?m.value.value=Object.assign({},m.value.value,k):b.value=k}});return{value:w}},multilingual$4=function a(i,u,c){var{value:d}=base$F(i,u,c),m=c.language,f=computed({get(){return d.value[m.value]},set(v){d.value=Object.assign({},d.value,{[m.value]:v})}});return{value:d,model:f}},date$2=function a(i,u,c){var{name:d}=toRefs(i),m=c.parent,f=c.valueDateFormat,v=c.defaultValue,g=c.dataPath,y=c.form$,b=ref(v.value instanceof File?v.value:cloneDeep_1(v.value)),{value:w,initialValue:k}=base$F(i,u,c,{value:{get(){var S;return y.value.isSync?S=get_1(y.value.model,g.value):m.value&&["group","object","list","multifile"].indexOf(m.value.type)!==-1?S=m.value.value[d.value]:S=b.value,S!==void 0?S:v.value instanceof File?v.value:cloneDeep_1(v.value)},set(S){if(!isEmpty_1(S)&&!(S instanceof Date)&&f.value!==!1&&checkDateFormat(f.value,S),S=S&&S instanceof Date&&f.value!==!1?hooks(S).format(f.value):S,y.value.isSync)y.value.updateModel(g.value,S);else if(m.value&&["list","multifile"].indexOf(m.value.type)!==-1){var C=m.value.value.map((E,D)=>D==d.value?S:E);m.value.update(C)}else m.value&&["group","object"].indexOf(m.value.type)!==-1?m.value.value=Object.assign({},m.value.value,{[d.value]:S}):b.value=S}}}),$=computed(()=>w.value instanceof Date||!w.value?w.value:hooks(w.value,f.value).toDate());return{value:w,model:$,initialValue:k,internalValue:b}},dates$3=function a(i,u,c){var{name:d}=toRefs(i),m=c.parent,f=c.valueDateFormat,v=c.defaultValue,g=c.dataPath,y=c.form$,b=ref(v.value instanceof File?v.value:cloneDeep_1(v.value)),{value:w,initialValue:k}=base$F(i,u,c,{value:{get(){var S;return y.value.isSync?S=get_1(y.value.model,g.value):m.value&&["object","list","multifile"].indexOf(m.value.type)!==-1?S=m.value.value[d.value]:S=b.value,S!==void 0?S:v.value instanceof File?v.value:cloneDeep_1(v.value)},set(S){if(Array.isArray(S)||(S=[S]),S=S.map(E=>(!isEmpty_1(E)&&!(E instanceof Date)&&f.value!==!1&&checkDateFormat(f.value,E),E&&E instanceof Date&&f.value!==!1?hooks(E).format(f.value):E)),y.value.isSync)y.value.updateModel(g.value,S);else if(m.value&&["list","multifile"].indexOf(m.value.type)!==-1){var C=m.value.value.map((E,D)=>D==d.value?S:E);m.value.update(C)}else m.value&&["group","object"].indexOf(m.value.type)!==-1?m.value.value=Object.assign({},m.value.value,{[d.value]:S}):b.value=S}}}),$=computed(()=>w.value.map(S=>S instanceof Date||!S?S:hooks(S,f.value).toDate()));return{value:w,model:$,initialValue:k,internalValue:b}},base$E=function a(i,u,c){var d=c.form$,m=c.el$,f=c.fire,v=c.dirt,g=c.validate,y=c.value,b=()=>{watch(y,(w,k)=>{dataEquals(w,k)||(f("change",w,k,m.value),v&&v(),g&&d.value.shouldValidateOnChange&&g())},{immediate:!1,deep:!0})};return{initWatcher:b}},multilingual$3=function a(i,u,c){var d=c.form$,m=c.el$,f=c.fire,v=c.dirt,g=c.value,y=c.language,b=c.validateLanguage,w=()=>{watch(g,(k,$)=>{dataEquals(k,$)||(f("change",k,$,m.value),v&&v(),d.value.shouldValidateOnChange&&b(y.value))},{immediate:!1,deep:!0})};return{initWatcher:w}},list=function a(i,u,c){var d=c.form$,m=c.el$,f=c.fire,v=c.dirt,g=c.validateValidators,y=c.value,b=()=>{watch(y,(w,k)=>{dataEquals(w,k)||(f("change",w,k,m.value),v&&v(),g&&d.value.shouldValidateOnChange&&g())},{immediate:!1,deep:!0})};return{initWatcher:b}},object$2=function a(i,u,c){var d=c.form$,m=c.fire,f=c.value,v=c.el$,g=c.dirt,y=c.validateValidators,b=()=>{watch(f,(w,k)=>{dataEquals(w,k)||(m("change",w,k,v.value),g&&g(),y&&d.value.shouldValidateOnChange&&y())},{immediate:!1,deep:!0})};return{initWatcher:b}},location$1=function a(i,u,c){var{displayKey:d}=toRefs(i),m=c.form$,f=c.el$,v=c.fire,g=c.dirt,y=c.validate,b=c.value,w=c.input,k=()=>{watch(b,($,S)=>{dataEquals($,S)||(v("change",$,S,f.value),g(),w.value.value=w.value&&b.value&&b.value[d.value]!==void 0?b.value[d.value]:"",y&&m.value.shouldValidateOnChange&&y())},{immediate:!1,deep:!0})};return{initWatcher:k}},multifile$4=list,group$1=object$2,base$D=function a(i,u,c){var{text:d}=toRefs(i),m=inject$1("config$"),f=inject$1("form$"),v=computed(()=>localize(d.value,m.value,f.value)||"");return{Text:v}},base$C=function a(i,u,c){var d=computed(()=>null);return{nullValue:d}},array$1=function a(i,u,c){var d=computed(()=>[]);return{nullValue:d}},boolean=function a(i,u,c){var{falseValue:d}=toRefs(i),m=computed(()=>d.value);return{nullValue:m}},min$2=function a(i,u,c){var{min:d,default:m}=toRefs(i),f=computed(()=>m.value!==void 0&&isArray_1(m.value)?m.value.map(v=>d.value):d.value);return{nullValue:f}},object$1=function a(i,u,c){var d=computed(()=>({}));return{nullValue:d}},location$5=function a(i,u,c){var d=computed(()=>({country:null,country_code:null,state:null,state_code:null,city:null,zip:null,address:null,formatted_address:null,lat:null,lng:null}));return{nullValue:d}},multilingual$2=function a(i,u,c){var d=c.languages,m=computed(()=>{var f={};return each(d.value,v=>{f[v]=null}),f});return{nullValue:m}},generic=function a(i,u,c){var d=computed(()=>u.nullValue!==void 0?u.nullValue:null);return{nullValue:d}},base$B=function a(i,u,c){var{trueValue:d,falseValue:m}=toRefs(i),f=c.update,v=()=>{f(d.value)},g=()=>{f(m.value)};return{check:v,uncheck:g}},checkbox=function a(i,u,c){var{trueValue:d,falseValue:m}=toRefs(i),f=c.update,v=()=>{f(d.value)},g=()=>{f(m.value)};return{check:v,uncheck:g}},HasChange={props:{onChange:{required:!1,type:[Function],default:null,private:!0}}},HasData={props:{formatData:{required:!1,type:[Function],default:null},formatLoad:{required:!1,type:[Function],default:null},submit:{required:!1,type:[Boolean],default:!0}}},HasValidation={props:{rules:{required:!1,type:[Array,String,Object],default:null},messages:{required:!1,type:[Object],default:()=>({})},fieldName:{required:!1,type:[String],"@default":"name|label"}}},CheckboxElement={name:"CheckboxElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"checkbox",private:!0},default:{required:!1,type:[String,Boolean,Number],default:void 0},id:{required:!1,type:[String],default:null},text:{required:!1,type:[String,Object],localized:!0,default:null},disabled:{required:!1,type:[Boolean],default:!1},trueValue:{required:!1,type:[Boolean,String,Number],default:!0},falseValue:{required:!1,type:[Boolean,String,Number],default:!1},align:{required:!1,type:[String],default:void 0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,boolean,base$S,base$1a,base$N,base$I,base$12,base$H,base$F,base$J,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,checkbox,checkbox$1,base$E,base$R,base$D],i.slots=["default","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$A=function a(i,u,c){var d=c.value,m=c.resolvedOptions,f=w=>{d.value.indexOf(String(w))===-1&&d.value.indexOf(Number(w))===-1?v(w):g(w)},v=w=>{isArray_1(w)||(w=[w]);var k=clone_1(d.value);each(w,$=>{k.indexOf(String($))===-1&&k.indexOf(Number($))===-1&&k.push($)}),d.value=k},g=w=>{isArray_1(w)||(w=[w]);var k=clone_1(d.value);each(w,$=>{var S=k.indexOf(String($));S===-1&&(S=k.indexOf(Number($))),S!==-1&&k.splice(S,1)}),d.value=k},y=()=>{v(m.value.map(w=>w.value))},b=()=>{g(m.value.map(w=>w.value))};return{toggle:f,check:v,uncheck:g,checkAll:y,uncheckAll:b}},base$z=function a(i,u,c){var{items:d,valueProp:m,labelProp:f,dataKey:v,searchParam:g,clearOnRefetch:y}=toRefs(i),b=c.isNative,w=c.disable,k=c.enable,$=c.input,S=c.value,C=c.nullValue,E=c.path,D=c.el$,A=c.form$,O=inject$1("config$"),F=ref(null),B=ref([]),I=computed(()=>{if(!b.value)return F.value;var G=[];return each(F.value,(J,te)=>{[null,void 0].indexOf(J)===-1&&(Array.isArray(F.value)&&typeof J=="object"?(J[m.value]===void 0&&console.warn("You must define `value` property for each option when using an array of objects options for select element"),G.push({value:J[m.value],label:J[f.value]})):Array.isArray(F.value)?G.push({value:J,label:J}):G.push({value:te,label:J}))}),G.map(J=>_objectSpread2$1(_objectSpread2$1({},J),{},{label:localize(J.label,O.value,A.value)}))}),M=function(){var G=_asyncToGenerator(function*(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!b.value){var te;typeof d.value=="string"&&(F.value=q()),yield(te=$.value)===null||te===void 0?void 0:te.resolveOptions();return}J&&w(),typeof d.value=="string"?yield z():typeof d.value=="function"?yield H():F.value=d.value,J&&k()});return function(){return G.apply(this,arguments)}}(),z=function(){var G=_asyncToGenerator(function*(){try{var J,te=yield ee(d.value,M),re=((J=yield A.value.$vueform.services.axios.get(te))===null||J===void 0?void 0:J.data)||[];v&&v.value&&Object.keys(re).length&&(re=get_1(re,v.value)||[]),F.value=re}catch(ye){F.value=[],console.warn("Couldn't resolve items from ".concat(d.value),ye)}finally{var ae;j(((ae=I.value)===null||ae===void 0?void 0:ae.map(ye=>ye.value))||[])}});return function(){return G.apply(this,arguments)}}(),q=()=>function(){var G=_asyncToGenerator(function*(J){var te=yield ee(d.value,M),re;try{var ae;re=((ae=yield A.value.$vueform.services.axios.get("".concat(te).concat(te.match(/\?/)?"&":"?").concat(g.value,"=").concat(J||"")))===null||ae===void 0?void 0:ae.data)||[],v&&v.value&&Object.keys(re).length&&(re=get_1(re,v.value)||[])}catch(ye){console.error(ye)}finally{setTimeout(()=>{var ye;j(((ye=$.value)===null||ye===void 0||(ye=ye.eo)===null||ye===void 0?void 0:ye.map(ve=>ve[m.value]))||[])},0)}return re});return function(J){return G.apply(this,arguments)}}(),H=function(){var G=_asyncToGenerator(function*(){try{F.value=(yield d.value(D.value))||[]}catch(J){F.value=[],console.warn("Couldn't resolve items from async function",J)}});return function(){return G.apply(this,arguments)}}(),Q=function(){var G=_asyncToGenerator(function*(J,te){typeof d.value=="function"&&b.value?yield H():(!isEqual_1(J,te)||J===void 0&&te===void 0)&&(typeof d.value=="string"&&b.value?yield z():typeof d.value=="string"&&!b.value?F.value=q():F.value=d.value)});return function(te,re){return G.apply(this,arguments)}}(),j=G=>{if(y.value){S.value=cloneDeep_1(C.value);return}!Array.isArray(C.value)&&S.value&&G.indexOf(S.value)===-1?S.value=cloneDeep_1(C.value):Array.isArray(C.value)&&S.value.length&&(S.value=S.value.filter(J=>G.indexOf(J)!==-1))},ee=function(){var G=_asyncToGenerator(function*(J,te){var re=/{([^}]+)}/g,ae=J;if(J.match(re)){yield nextTick(),B.value.forEach(le=>le());for(var ye,ve=function*(){var Se,De=((Se=ye[1].match(/\|'([^']+)/))===null||Se===void 0?void 0:Se[1])||"",At=replaceWildcards(ye[1].match(/^([^|]+)/)[1],E.value),Le=A.value.el$(At),ke=typeof(Le==null?void 0:Le.value)<"u"&&Le.value!==null&&typeof Le.value=="object"?JSON.stringify(Le.value):typeof(Le==null?void 0:Le.value)<"u"&&Le.value!==null?Le.value:De;ae=ae.replace(ye[0],encodeURIComponent(ke)),B.value.push(watch(computed(()=>Le==null?void 0:Le.value),()=>{te()}))};(ye=re.exec(J))!==null;)yield*ve()}return ae});return function(te,re){return G.apply(this,arguments)}}();return{resolveOptions:Q,resolvedOptions:I,updateItems:M,watchers:B,cleanupValue:j,resolveUrlAndSetWatchers:ee}},select$2=function a(i,u,c){var{items:d}=toRefs(i),{resolveOptions:m,resolvedOptions:f,updateItems:v,watchers:g,cleanupValue:y,resolveUrlAndSetWatchers:b}=base$z(i,u,c);return m(),watch(d,m),{resolveOptions:m,resolvedOptions:f,updateItems:v,watchers:g,cleanupValue:y,resolveUrlAndSetWatchers:b}},checkboxgroup=function a(i,u,c){var{items:d}=toRefs(i),{watchers:m,cleanupValue:f,resolveUrlAndSetWatchers:v}=base$z(i,u,c),g=c.disableAll,y=c.enableAll,b=c.el$,w=c.form$,k=inject$1("config$"),$=ref(null),S=computed(()=>{var O=[];return each($.value,(F,B)=>{[null,void 0].indexOf(F)===-1&&(Array.isArray($.value)&&typeof F=="object"?(F.value===void 0&&console.warn("You must define `value` property for each item when using an array of objects options"),O.push(F)):Array.isArray($.value)?O.push({value:F,label:F}):typeof F=="object"?O.push(_objectSpread2$1(_objectSpread2$1({},F),{},{value:B})):O.push({label:F,value:B}))}),O.map(F=>_objectSpread2$1(_objectSpread2$1({},F),{},{label:localize(F.label,k.value,w.value)}))}),C=function(){var O=_asyncToGenerator(function*(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;F&&g(),typeof d.value=="string"?yield E():yield D(),F&&y()});return function(){return O.apply(this,arguments)}}(),E=function(){var O=_asyncToGenerator(function*(){try{var F,B,I=yield v(d.value,C);$.value=((F=yield w.value.$vueform.services.axios.get(I))===null||F===void 0?void 0:F.data)||[],f(((B=S.value)===null||B===void 0?void 0:B.map(M=>M.value))||[])}catch(M){$.value=[],console.warn("Couldn't resolve items from ".concat(d.value),M)}});return function(){return O.apply(this,arguments)}}(),D=function(){var O=_asyncToGenerator(function*(){try{$.value=(yield d.value(b.value))||[]}catch(F){$.value=[],console.warn("Couldn't resolve items from async function",F)}});return function(){return O.apply(this,arguments)}}(),A=function(){var O=_asyncToGenerator(function*(){typeof d.value=="function"?yield D():typeof d.value=="string"?yield E():$.value=d.value});return function(){return O.apply(this,arguments)}}();return A(),watch(d,A),{resolveOptions:A,resolvedOptions:S,updateItems:C,watchers:m,cleanupValue:f,resolveUrlAndSetWatchers:v}},radiogroup=checkboxgroup,multiselect$2=select$2,tags$2=select$2,CheckboxgroupElement={name:"CheckboxgroupElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"checkboxgroup",private:!0},default:{required:!1,type:[Array],default:()=>[]},id:{required:!1,type:[String],default:null},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},disables:{required:!1,type:[Array],default:()=>[]},clearOnRefetch:{type:[Boolean],required:!1,default:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$M,array$1,base$S,base$1a,checkboxgroup$1,checkboxgroup$3,base$I,base$F,checkboxgroup,base$12,base$H,base$A,base$J,base$Z,base$G,base$Y,base$X,base$W,base$18,base$V,checkboxgroup$2,base$E,base$R],i.slots=["checkbox","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$y=function a(i,u,c){var{addons:d,slots:m}=toRefs(i),f=c.el$,v=c.form$,g=computed(()=>{var b,w;return!!(d.value.before||(b=f.value.$slots)!==null&&b!==void 0&&b["addon-before"]||v.value.$vueform.vueVersion===2&&(w=f.value.$scopedSlots)!==null&&w!==void 0&&w["addon-before"]||m.value["addon-before"])}),y=computed(()=>{var b,w;return!!(d.value.after||(b=f.value.$slots)!==null&&b!==void 0&&b["addon-after"]||v.value.$vueform.vueVersion===2&&(w=f.value.$scopedSlots)!==null&&w!==void 0&&w["addon-after"]||m.value["addon-after"])});return{hasAddonBefore:g,hasAddonAfter:y}},base$x=function a(i,u,c){var d=c.value,m=c.nullValue,f=computed(()=>isEqual_1(d.value,m.value)||[void 0,null,""].indexOf(d.value)!==-1);return{empty:f}},multilingual$1=function a(i,u,c){var d=c.value,m=c.nullValue,f=c.language,v=computed(()=>d.value[f.value]==m.value[f.value]||d.value[f.value]==="");return{empty:v}},array=function a(i,u,c){var d=c.value,m=c.nullValue,f=computed(()=>isEqual_1(d.value,m.value)||[void 0,null,""].indexOf(d.value)!==-1||d.value.length==0);return{empty:f}},base$w=function a(i,u,c){var{displayFormat:d,valueFormat:m,loadFormat:f,date:v,time:g,seconds:y,hour24:b}=toRefs(i),w=c.form$,k=computed(()=>{var A;return v.value&&g.value&&y.value&&b.value?A="datetimeSeconds24":v.value&&g.value&&y.value&&!b.value?A="datetimeSeconds12":v.value&&g.value&&!y.value&&b.value?A="datetime24":v.value&&g.value&&!y.value&&!b.value?A="datetime12":!v.value&&g.value&&y.value&&b.value?A="timeSeconds24":!v.value&&g.value&&y.value&&!b.value?A="timeSeconds12":!v.value&&g.value&&!y.value&&b.value?A="time24":!v.value&&g.value&&!y.value&&!b.value?A="time12":A="date",A}),$=computed(()=>w.value.translations.vueform.dateFormats[k.value]),S=computed(()=>{var A={datetimeSeconds24:"YYYY-MM-DD HH:mm:ss",datetimeSeconds12:"YYYY-MM-DD hh:mm:ss a",datetime24:"YYYY-MM-DD HH:mm",datetime12:"YYYY-MM-DD hh:mm a",timeSeconds24:"HH:mm:ss",timeSeconds12:"hh:mm:ss a",time24:"HH:mm",time12:"hh:mm a",date:"YYYY-MM-DD"};return A[k.value]}),C=computed(()=>d.value!==null?d.value:$.value),E=computed(()=>m.value!==null||m.value===!1?m.value:S.value),D=computed(()=>f.value!==null?f.value:S.value);return{displayDateFormat:C,valueDateFormat:E,loadDateFormat:D}},dates$2=function a(i,u,c){var{displayFormat:d,valueFormat:m,loadFormat:f}=toRefs(i),v=c.form$,g=computed(()=>v.value.translations.vueform.dateFormats.date),y=computed(()=>d.value!==null?d.value:g.value),b=computed(()=>m.value!==null||m.value===!1?m.value:g.value),w=computed(()=>f.value!==null?f.value:g.value);return{displayDateFormat:y,valueDateFormat:b,loadDateFormat:w}},base$v=function a(i,u,c){var d=c.value,m=f=>{d.value=f};return{handleChange:m}},base$u=function a(i,u,c){var{floating:d,placeholder:m}=toRefs(i),f=c.form$,v=computed(()=>!!(d.value||m.value&&f.value.options.floatPlaceholders)&&d.value!==!1);return{hasFloating:v}},base$t=function a(i,u,c){var{placeholder:d}=toRefs(i),m=inject$1("config$"),f=inject$1("form$"),v=computed(()=>localize(d.value,m.value,f.value));return{Placeholder:v}},date$1=function a(i,u,c){var{disables:d,min:m,max:f,extendOptions:v,readonly:g,hour24:y,seconds:b,date:w,time:k}=toRefs(i),$=c.isDisabled,S=c.displayDateFormat,C=c.valueDateFormat,E=computed(()=>d.value===void 0?[]:map_1(d.value,M=>(checkDateFormat(C.value,M),M instanceof Date?M:hooks(M,C.value,!0).toDate()))),D=computed(()=>m.value?(checkDateFormat(C.value,m.value),m.value instanceof Date?m.value:hooks(m.value,C.value,!0).toDate()):null),A=computed(()=>f.value?(checkDateFormat(C.value,f.value),f.value instanceof Date?f.value:hooks(f.value,C.value,!0).toDate()):null),O=computed(()=>({dateFormat:S.value,minDate:D.value,maxDate:A.value,disable:E.value,clickOpens:!$.value&&!g.value,time_24hr:y.value,enableTime:k.value,enableSeconds:b.value,noCalendar:!w.value})),F=computed(()=>Object.assign({},O.value,v.value||{})),B=computed(()=>!0),I=computed(()=>!1);return{minDate:D,maxDate:A,disabledDates:E,fieldOptions:F,hasDate:B,hasTime:I}},dates$1=function a(i,u,c){var{mode:d,extendOptions:m,readonly:f}=toRefs(i),{minDate:v,maxDate:g,disabledDates:y}=date$1(i,u,c),b=c.isDisabled,w=c.displayDateFormat,k=computed(()=>({mode:d.value,dateFormat:w.value,minDate:v.value,maxDate:g.value,disable:y.value,clickOpens:!b.value&&!f.value})),$=computed(()=>Object.assign({},k.value,m.value||{})),S=computed(()=>!0),C=computed(()=>!1);return{minDate:v,maxDate:g,disabledDates:y,fieldOptions:$,hasDate:S,hasTime:C}},select$1=function a(i,u,c){var{native:d,extendOptions:m,labelProp:f,trackBy:v,valueProp:g,search:y,limit:b,noOptionsText:w,noResultsText:k,caret:$,object:S,delay:C,minChars:E,resolveOnLoad:D,filterResults:A,clearOnSearch:O,canDeselect:F,canClear:B,openDirection:I,strict:M,closeOnSelect:z,closeOnDeselect:q,autocomplete:H,groups:Q,groupLabel:j,groupOptions:ee,groupHideEmpty:G,inputType:J,create:te,appendNewOption:re,addOptionOn:ae,appendTo:ye,appendToBody:ve}=toRefs(i),le=c.form$,Se=c.isLoading,De=inject$1("config$"),At=computed(()=>d.value&&!y.value),Le=computed(()=>({mode:"single",searchable:y.value||te.value,noOptionsText:w.value||le.value.translations.vueform.multiselect.noOptions,noResultsText:k.value||le.value.translations.vueform.multiselect.noResults,locale:Object.keys(De.value.i18n.locales).length>1?De.value.i18n.locale:null,fallbackLocale:De.value.i18n.fallbackLocale,label:f.value,trackBy:v.value,valueProp:g.value,limit:b.value,caret:$.value,loading:Se.value,object:S.value,delay:C.value,minChars:E.value,resolveOnLoad:D.value,filterResults:A.value,clearOnSearch:O.value,canDeselect:F.value,canClear:B.value,openDirection:I.value,strict:M.value,closeOnSelect:z.value,closeOnDeselect:q.value,autocomplete:H.value,groups:Q.value,groupLabel:j.value,groupOptions:ee.value,groupHideEmpty:G.value,inputType:J.value,createOption:te.value,appendNewOption:re.value,addOptionOn:ae.value,appendTo:ye.value,appendToBody:ve.value})),ke=computed(()=>Object.assign({},Le.value,m.value||{}));return{fieldOptions:ke,isNative:At}},multiselect$1=function a(i,u,c){var{native:d,extendOptions:m,labelProp:f,trackBy:v,valueProp:g,search:y,limit:b,noOptionsText:w,noResultsText:k,caret:$,object:S,delay:C,minChars:E,resolveOnLoad:D,filterResults:A,clearOnSearch:O,clearOnSelect:F,canClear:B,max:I,openDirection:M,strict:z,closeOnSelect:q,closeOnDeselect:H,autocomplete:Q,groups:j,groupLabel:ee,groupOptions:G,groupHideEmpty:J,groupSelect:te,inputType:re,hideSelected:ae,multipleLabel:ye,multipleLabelMultiple:ve,multipleLabelSingle:le,create:Se,appendNewOption:De,addOptionOn:At,appendTo:Le,appendToBody:ke}=toRefs(i),ue=c.form$,Ce=c.isLoading,Te=inject$1("config$"),Pe=computed(()=>d.value&&!y.value),Vt=computed(()=>({mode:"multiple",searchable:y.value||Se.value,noOptionsText:w.value||ue.value.translations.vueform.multiselect.noOptions,noResultsText:k.value||ue.value.translations.vueform.multiselect.noResults,multipleLabel:ye.value||((ie,de)=>ie&&ie.length>1?ve.value?ve.value.replace(":x:",ie.length):ue.value.__(ue.value.translations.vueform.multiselect.multipleLabelMore,{options:ie.length}):le.value||ue.value.translations.vueform.multiselect.multipleLabelOne),locale:Object.keys(Te.value.i18n.locales).length>1?Te.value.i18n.locale:null,fallbackLocale:Te.value.i18n.fallbackLocale,label:f.value,trackBy:v.value,valueProp:g.value,limit:b.value,caret:$.value,loading:Ce.value,object:S.value,delay:C.value,minChars:E.value,resolveOnLoad:D.value,filterResults:A.value,clearOnSearch:O.value,clearOnSelect:F.value,canClear:B.value,max:I.value,openDirection:M.value,strict:z.value,closeOnSelect:q.value,closeOnDeselect:H.value,autocomplete:Q.value,groups:j.value,groupLabel:ee.value,groupOptions:G.value,groupHideEmpty:J.value,groupSelect:te.value,inputType:re.value,hideSelected:ae.value,createOption:Se.value,appendNewOption:De.value,addOptionOn:At.value,appendTo:Le.value,appendToBody:ke.value})),Ie=computed(()=>Object.assign({},Vt.value,m.value||{}));return{fieldOptions:Ie,isNative:Pe}},tags$1=function a(i,u,c){var{extendOptions:d,labelProp:m,trackBy:f,valueProp:v,search:g,limit:y,noOptionsText:b,noResultsText:w,caret:k,object:$,delay:S,minChars:C,resolveOnLoad:E,filterResults:D,clearOnSearch:A,clearOnSelect:O,canClear:F,max:B,showOptions:I,openDirection:M,strict:z,closeOnSelect:q,closeOnDeselect:H,autocomplete:Q,groups:j,groupLabel:ee,groupOptions:G,groupHideEmpty:J,groupSelect:te,inputType:re,hideSelected:ae,create:ye,appendNewOption:ve,addOptionOn:le,breakTags:Se,appendTo:De,appendToBody:At}=toRefs(i),Le=c.form$,ke=c.isLoading,ue=inject$1("config$"),Ce=ref(!1),Te=computed(()=>!1),Pe=computed(()=>({mode:"tags",searchable:g.value||ye.value,noOptionsText:b.value||Le.value.translations.vueform.multiselect.noOptions,noResultsText:w.value||Le.value.translations.vueform.multiselect.noResults,locale:Object.keys(ue.value.i18n.locales).length>1?ue.value.i18n.locale:null,fallbackLocale:ue.value.i18n.fallbackLocale,label:m.value,trackBy:f.value,valueProp:v.value,limit:y.value,caret:k.value,loading:ke.value,object:$.value,delay:S.value,minChars:C.value,resolveOnLoad:E.value,filterResults:D.value,clearOnSearch:A.value,clearOnSelect:O.value,canClear:F.value,max:B.value,showOptions:I.value,openDirection:M.value,strict:z.value,closeOnSelect:q.value,closeOnDeselect:H.value,autocomplete:Q.value,groups:j.value,groupLabel:ee.value,groupOptions:G.value,groupHideEmpty:J.value,groupSelect:te.value,inputType:re.value,hideSelected:ae.value,createOption:ye.value,appendNewOption:ve.value,addOptionOn:le.value,breakTags:Se.value,appendTo:De.value,appendToBody:At.value})),Vt=computed(()=>Object.assign({},Pe.value,d.value||{}));return{native:Ce,fieldOptions:Vt,isNative:Te}},slider=function a(i,u,c){var{min:d,max:m,step:f,tooltips:v,merge:g,format:y,orientation:b,direction:w,extendOptions:k,showTooltip:$,tooltipPosition:S,lazy:C}=toRefs(i),E=c.isDisabled;c.labelId;var D=computed(()=>({min:d.value,max:m.value,step:f.value,tooltips:v.value,merge:g.value,format:y.value,orientation:b.value,direction:w.value,disabled:E.value,showTooltip:$.value,tooltipPosition:S.value,lazy:C.value})),A=computed(()=>Object.assign({},D.value,k.value||{}));return{fieldOptions:A}},toggle=function a(i,u,c){var{labels:d,extendOptions:m,trueValue:f,falseValue:v}=toRefs(i),g=c.isDisabled,y=c.form$,b=inject$1("config$"),w=computed(()=>({disabled:g.value,offLabel:d.value&&localize(d.value.off,b.value,y.value)||"",onLabel:d.value&&localize(d.value.on,b.value,y.value)||"",trueValue:f.value,falseValue:v.value})),k=computed(()=>Object.assign({},w.value,m.value||{}));return{fieldOptions:k}},base$s=function a(i,u,c){var d=c.input,m=ref(!1);return onMounted(()=>{d&&d.value&&d.value.addEventListener&&(d.value.addEventListener("focus",()=>{m.value=!0}),d.value.addEventListener("blur",()=>{m.value=!1}))}),{focused:m}},date=function a(i,u,c){var d=c.input,m=ref(!1);return onMounted(()=>{d.value.input.addEventListener("focus",()=>{m.value=!0}),d.value.input.addEventListener("blur",()=>{m.value=!1})}),{focused:m}},select=function a(i,u,c){var d=c.input,m=c.isNative,f=ref(!1);return onMounted(()=>{m.value?(d.value.addEventListener("focus",()=>{f.value=!0}),d.value.addEventListener("blur",()=>{f.value=!1})):watch(computed(()=>{var v;return(v=d.value)===null||v===void 0?void 0:v.isActive}),v=>{f.value=v})}),{focused:f}},dates=date,multiselect=select,tags=select,DateElement={name:"DateElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"date",private:!0},default:{required:!1,type:[String,Date],default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},displayFormat:{required:!1,type:[String],default:null,"@default":"locale.vueform.dateFormats.*"},valueFormat:{required:!1,type:[String,Boolean],default:null,"@default":"locale.vueform.dateFormats.*"},loadFormat:{required:!1,type:[String],default:null,"@default":"locale.vueform.dateFormats.*"},date:{required:!1,type:[Boolean],default:!0},time:{required:!1,type:[Boolean],default:!1},seconds:{required:!1,type:[Boolean],default:!1},hour24:{required:!1,type:[Boolean],default:!0},min:{required:!1,type:[String,Date],default:null},max:{required:!1,type:[String,Date],default:null},disables:{required:!1,type:[Array],default:()=>[]},extendOptions:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$S,base$u,base$1a,base$N,base$y,base$w,date$1,base$I,base$12,base$H,date$2,date$3,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$v,date,base$P,base$E,base$R,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},base$L(a,i))}},DatesElement={name:"DatesElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"dates",private:!0},default:{required:!1,type:[Array],default:()=>[]},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},displayFormat:{required:!1,type:[String],default:null},valueFormat:{required:!1,type:[String,Boolean],default:null},loadFormat:{required:!1,type:[String,Boolean],default:null},mode:{required:!1,type:[String],default:"multiple"},min:{required:!1,type:[String,Date],default:null},max:{required:!1,type:[String,Date],default:null},disables:{required:!1,type:[Array],default:()=>[]},extendOptions:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,array$1,base$S,base$u,base$1a,dates$5,base$y,dates$2,dates$1,base$I,dates$3,base$12,base$H,dates$4,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$v,dates,base$P,base$E,base$R,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},base$L(a,i))}},base$r=function a(i,u,c){var{embed:d,auto:m,methods:f,urls:v,uploadTempEndpoint:g,removeTempEndpoint:y,removeEndpoint:b,url:w,previewUrl:k,params:$,softRemove:S,view:C}=toRefs(i),E=c.form$,D=c.value,A=c.isDisabled,O=c.validate,F=c.invalid,B=c.path,I=c.axios,M=c.request,z=c.uploading,q=c.input,H=c.update,Q=c.fire,j=c.isImageType,ee=c.removing,G=c.handleError,J=c.el$,te=ref(!1),re=ref(null),ae=ref(0),ye=ref(!1),ve=ref({}),le=computed(()=>{var St=E.value.$vueform.config.endpoints,Wt={uploadTempFile:g.value,removeTempFile:y.value,removeFile:b.value},$t={};return Object.keys(Wt).forEach(xt=>{var Kt=St[xt];v.value[xt]&&(Kt={url:v.value[xt],method:"POST"}),f.value[xt]&&typeof Kt=="object"&&(Kt.method=f.value[xt]),typeof Wt[xt]=="string"&&(St[Wt[xt]]!==void 0?Kt=St[Wt[xt]]:Kt.url=Wt[xt]),Wt[xt]===!1&&(Kt=ln=>ln),typeof Wt[xt]=="function"&&(Kt=Wt[xt]),typeof Wt[xt]=="object"&&(Kt={url:Wt[xt].url||Wt[xt].endpoint||St[xt].url,method:Wt[xt].method||St[xt].method}),$t[xt]=Kt}),$t}),Se=computed(()=>{if(w.value===void 0)return"/";if(w.value===!1)return"";var St=w.value;return St.match(/\/$/)||(St+="/"),!St.match(/^http/)&&!St.match(/^\//)&&(St="/"+St),St}),De=computed(()=>{if(k.value===void 0)return Se.value;var St=k.value;return St.match(/\/$/)||(St+="/"),!St.match(/^http/)&&!St.match(/^\//)&&(St="/"+St),St}),At=computed(()=>D.value===null?0:D.value instanceof File?1:isObject_1(D.value)&&D.value.tmp!==void 0?2:isString_1(D.value)?3:-1),Le=computed(()=>{switch(At.value){case 1:return D.value.name;case 2:return D.value.originalName;case 3:return D.value;default:return null}}),ke=computed(()=>{if(Te.value)return Se.value+Le.value}),ue=computed(()=>{if(Te.value)return De.value+Le.value}),Ce=computed(()=>C.value==="file"?null:Te.value?ue.value:re.value),Te=computed(()=>At.value===3),Pe=computed(()=>At.value>0&&!z.value&&!A.value&&!ye.value&&!ee.value),Vt=computed(()=>At.value===1&&!m.value&&!z.value&&!A.value),Ie=computed(()=>!d.value&&At.value==0),ie=function(){var St=_asyncToGenerator(function*(){if(At.value!==1)throw new Error("No file is selected");if(yield O(),!F.value){M.value=I.value.CancelToken.source();try{var Wt=getFormData(Object.assign({},$.value,{file:D.value,formKey:E.value.options.formKey,path:B.value}));te.value=!1;var $t;if(typeof le.value.uploadTempFile=="function")$t=yield le.value.uploadTempFile(D.value,J.value);else{var xt=le.value.uploadTempFile.method.toLowerCase();$t=yield I.value.request({url:le.value.uploadTempFile.url,method:xt,[xt==="get"?"params":"data"]:Wt,onUploadProgress:Kt=>{ae.value=Math.round(Kt.loaded*100/Kt.total)},cancelToken:M.value.token}),$t=$t.data}$t&&typeof $t=="object"&&($t.__file__=D.value),H($t)}catch(Kt){throw ae.value=0,I.value.isCancel(Kt)||(te.value=!0,G(Kt)),new Error(Kt)}finally{M.value=null}}});return function(){return St.apply(this,arguments)}}(),de=function(){var St=_asyncToGenerator(function*(){ee.value=!0,te.value=!1;try{if(At.value===3&&!S.value){if(!confirm(E.value.translations.vueform.elements.file.removeConfirm))return!1;if(typeof le.value.removeFile=="function")yield le.value.removeFile(D.value,J.value);else{var Wt=le.value.removeFile.method.toLowerCase();yield I.value.request({method:Wt,url:le.value.removeFile.url,[Wt==="get"?"params":"data"]:Object.assign({},$.value,{file:D.value,formKey:E.value.options.formKey,path:B.value})})}}else if(At.value===2&&!S.value)if(typeof le.value.removeTempFile=="function")yield le.value.removeTempFile(D.value,J.value);else{var $t=le.value.removeTempFile.method.toLowerCase();yield I.value.request({method:$t,url:le.value.removeTempFile.url,[$t==="get"?"params":"data"]:Object.assign({},$.value,{file:D.value.tmp,formKey:E.value.options.formKey,path:B.value})})}}catch(xt){G(xt);return}finally{ee.value=!1}H(null),ae.value=0,Q("remove")});return function(){return St.apply(this,arguments)}}(),Fe=function(){var St=_asyncToGenerator(function*(){if(At.value===1){ye.value=!0;try{yield ie()}finally{ye.value=!1}}});return function(){return St.apply(this,arguments)}}(),We=function(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:D.value,$t=new FileReader;$t.onload=xt=>{re.value=xt.target.result},$t.readAsDataURL(Wt)},wt=function(){var St=_asyncToGenerator(function*(Wt){var $t=Wt.target.files[0];q.value.value="",H($t||null),m.value&&(yield ie()),E.value.shouldValidateOnChange&&O()});return function($t){return St.apply(this,arguments)}}(),jt=()=>{A.value||q.value.click()},Ut=()=>{ie()},Tt=()=>{de()},Ft=()=>{M.value!==null&&M.value.cancel()};return ve.value.value=watch(D,St=>{var Wt,$t;if(!St){re.value=null;return}!j.value||C.value==="file"||!(D.value instanceof File)&&!((Wt=D.value)!==null&&Wt!==void 0&&Wt.__file__)||We(D.value instanceof File?D.value:($t=D.value)===null||$t===void 0?void 0:$t.__file__)},{immediate:!0}),ve.value.view=watch(C,St=>{["image","gallery"].indexOf(St)!==-1&&!re.value&&D.value instanceof File&&We()}),D.value instanceof File&&m.value&&nextTick(()=>{ie()}),{hasUploadError:te,base64:re,progress:ae,preparing:ye,endpoints:le,fileUrl:Se,stage:At,filename:Le,link:ke,preview:Ce,uploaded:Te,canRemove:Pe,canUploadTemp:Vt,canSelect:Ie,watchers:ve,uploadTemp:ie,remove:de,prepare:Fe,handleChange:wt,handleClick:jt,handleUploadTemp:Ut,handleRemove:Tt,handleAbort:Ft}},base$q=function a(i,u,c){var d=c.form$,m=ref(null),f=ref(null),v=computed(()=>m.value!==null);return onMounted(()=>{f.value=d.value.$vueform.services.axios}),{request:m,axios:f,uploading:v}};function checkFileType(a,i){return i?(isArray_1(i)||(i=i.split(","),each(i,(u,c)=>{i[c]=u.trim()})),some_1(i,u=>{var c=u.match(/^([^\/]+)\/\*$/);return c?!!new RegExp("^".concat(c[1],"/")).exec(a.type):u==a.type?!0:u==".".concat(a.name.split(".").pop())})):!0}var base$p=function a(i,u,c){var{accept:d,auto:m}=toRefs(i),f=c.update,v=c.isDisabled,g=c.uploadTemp,y=computed(()=>{var w=document.createElement("div");return("draggable"in w||"ondragstart"in w&&"ondrop"in w)&&"FormData"in window&&"FileReader"in window}),b=w=>{if(!v.value){var k=w.dataTransfer.files[0];checkFileType(k,d.value)&&(f(k||null),m.value&&g(),k.value=null)}};return{canDrop:y,handleDrop:b}},multifile$3=function a(i,u,c){var{accept:d}=toRefs(i),{canDrop:m}=base$p(i,u,c),f=c.add,v=c.isDisabled,g=c.isObject,y=c.storeFileName,b=w=>{!w.dataTransfer||!w.dataTransfer.files||w.dataTransfer.files.length==0||v.value||each(w.dataTransfer.files,k=>{checkFileType(k,d.value)&&f(g.value?{[y.value]:k}:k)})};return{canDrop:m,handleDrop:b}},base$o=function a(i,u,c){var d=ref(!1);return{removing:d}},base$n=function a(i,u,c){var d=c.fire;c.listeners;var m=f=>{d("error",f)};return{handleError:m}},FileElement={name:"FileElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","remove","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"file",private:!0},default:{required:!1,type:[String,Object],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},onRemove:{required:!1,type:[Function],default:null,private:!0},onError:{required:!1,type:[Function],default:null,private:!0},view:{type:[String],required:!1,default:"file"},drop:{required:!1,type:[Boolean],default:!1},accept:{required:!1,type:[String,Array],default:null},clickable:{required:!1,type:[Boolean],default:!0},url:{required:!1,type:[String,Boolean],default:"/"},previewUrl:{required:!1,type:[String],default:void 0},auto:{required:!1,type:[Boolean],default:!0},urls:{required:!1,type:[Object],default:()=>({})},methods:{required:!1,type:[Object],default:()=>({})},uploadTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.uploadTempFile"},removeTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeTempFile"},removeEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeFile"},params:{required:!1,type:[Object],default:()=>({})},softRemove:{required:!1,type:[Boolean],default:!1},embed:{type:[Boolean],required:!1,default:!1,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$o,base$S,base$1a,file$3,base$q,base$I,base$12,base$F,file$1,file$2,base$n,base$r,base$p,base$x,base$Z,file,base$X,base$W,base$18,base$Y,base$V,file$4,base$E,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$m=function a(i,u,c){var d=c.model,m=f=>{d.value=f.target.value};return{handleInput:m}},GenericElement={register:!1,name:"GenericElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"",private:!0},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Boolean],default:!1},default:{required:!1,type:[String,Number,Object],default:void 0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,generic,base$S,base$1a,base$N,text$1,base$12,text,base$F,base$J,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$m,base$s,base$P,base$E,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$l=function a(i,u,c){var d=ref([]),m=computed(()=>{var f={};return d.value.forEach(v=>{f[v.name]=v}),f});return{children$Array:d,children$:m}},object=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},m=d.schemaName||"schema",{[m]:f}=toRefs(i),{children$Array:v,children$:g}=base$l(),y=computed(()=>f.value);return f&&watch(f,b=>{var w=[];each(b,(k,$)=>{w.push(v.value[v.value.map(S=>normalize$1(S.name)).indexOf(normalize$1($))])}),v.value=w},{flush:"post",deep:!0}),{children:y,children$Array:v,children$:g}},group=object,GroupElement={name:"GroupElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"group",private:!0},default:{required:!1,type:[Object],default:()=>({})},id:{required:!1,type:[String],default:null},schema:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,group$6,base$S,object$1,base$1a,base$N,group,group$4,base$Z,group$3,group$2,base$10,group$7,base$X,base$W,base$18,base$Y,base$V,group$5,base$P,group$1,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},HiddenElement={name:"HiddenElement",mixins:[BaseElement,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"hidden",private:!0},default:{required:!1,type:[String,Number,Object],default:null},id:{required:!1,type:[String],default:null},meta:{required:!1,type:[Boolean],default:!1}},setup(a,i){return i.features=[base$17,base$16,base$K,base$M,base$C,base$G,base$S,base$W,base$1a,base$N,base$I,base$12,base$H,base$F,base$J,base$x,base$E,base$R],_objectSpread2$1({},base$L(a,i))}};/**!
* Sortable 1.15.2
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function ownKeys(a,i){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);i&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(a,d).enumerable})),u.push.apply(u,c)}return u}function _objectSpread2(a){for(var i=1;i<arguments.length;i++){var u=arguments[i]!=null?arguments[i]:{};i%2?ownKeys(Object(u),!0).forEach(function(c){_defineProperty(a,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(u,c))})}return a}function _typeof(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(i){return typeof i}:_typeof=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(a)}function _defineProperty(a,i,u){return i in a?Object.defineProperty(a,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[i]=u,a}function _extends(){return _extends=Object.assign||function(a){for(var i=1;i<arguments.length;i++){var u=arguments[i];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(a[c]=u[c])}return a},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(a,i){if(a==null)return{};var u={},c=Object.keys(a),d,m;for(m=0;m<c.length;m++)d=c[m],!(i.indexOf(d)>=0)&&(u[d]=a[d]);return u}function _objectWithoutProperties(a,i){if(a==null)return{};var u=_objectWithoutPropertiesLoose(a,i),c,d;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(a);for(d=0;d<m.length;d++)c=m[d],!(i.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(u[c]=a[c])}return u}var version="1.15.2";function userAgent(a){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(a)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(a,i,u){a.addEventListener(i,u,!IE11OrLess&&captureMode)}function off(a,i,u){a.removeEventListener(i,u,!IE11OrLess&&captureMode)}function matches(a,i){if(i){if(i[0]===">"&&(i=i.substring(1)),a)try{if(a.matches)return a.matches(i);if(a.msMatchesSelector)return a.msMatchesSelector(i);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(i)}catch{return!1}return!1}}function getParentOrHost(a){return a.host&&a!==document&&a.host.nodeType?a.host:a.parentNode}function closest$1(a,i,u,c){if(a){u=u||document;do{if(i!=null&&(i[0]===">"?a.parentNode===u&&matches(a,i):matches(a,i))||c&&a===u)return a;if(a===u)break}while(a=getParentOrHost(a))}return null}var R_SPACE=/\s+/g;function toggleClass(a,i,u){if(a&&i)if(a.classList)a.classList[u?"add":"remove"](i);else{var c=(" "+a.className+" ").replace(R_SPACE," ").replace(" "+i+" "," ");a.className=(c+(u?" "+i:"")).replace(R_SPACE," ")}}function css(a,i,u){var c=a&&a.style;if(c){if(u===void 0)return document.defaultView&&document.defaultView.getComputedStyle?u=document.defaultView.getComputedStyle(a,""):a.currentStyle&&(u=a.currentStyle),i===void 0?u:u[i];!(i in c)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),c[i]=u+(typeof u=="string"?"":"px")}}function matrix(a,i){var u="";if(typeof a=="string")u=a;else do{var c=css(a,"transform");c&&c!=="none"&&(u=c+" "+u)}while(!i&&(a=a.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(u)}function find(a,i,u){if(a){var c=a.getElementsByTagName(i),d=0,m=c.length;if(u)for(;d<m;d++)u(c[d],d);return c}return[]}function getWindowScrollingElement(){var a=document.scrollingElement;return a||document.documentElement}function getRect(a,i,u,c,d){if(!(!a.getBoundingClientRect&&a!==window)){var m,f,v,g,y,b,w;if(a!==window&&a.parentNode&&a!==getWindowScrollingElement()?(m=a.getBoundingClientRect(),f=m.top,v=m.left,g=m.bottom,y=m.right,b=m.height,w=m.width):(f=0,v=0,g=window.innerHeight,y=window.innerWidth,b=window.innerHeight,w=window.innerWidth),(i||u)&&a!==window&&(d=d||a.parentNode,!IE11OrLess))do if(d&&d.getBoundingClientRect&&(css(d,"transform")!=="none"||u&&css(d,"position")!=="static")){var k=d.getBoundingClientRect();f-=k.top+parseInt(css(d,"border-top-width")),v-=k.left+parseInt(css(d,"border-left-width")),g=f+m.height,y=v+m.width;break}while(d=d.parentNode);if(c&&a!==window){var $=matrix(d||a),S=$&&$.a,C=$&&$.d;$&&(f/=C,v/=S,w/=S,b/=C,g=f+b,y=v+w)}return{top:f,left:v,bottom:g,right:y,width:w,height:b}}}function isScrolledPast(a,i,u){for(var c=getParentAutoScrollElement(a,!0),d=getRect(a)[i];c;){var m=getRect(c)[u],f=void 0;if(u==="top"||u==="left"?f=d>=m:f=d<=m,!f)return c;if(c===getWindowScrollingElement())break;c=getParentAutoScrollElement(c,!1)}return!1}function getChild(a,i,u,c){for(var d=0,m=0,f=a.children;m<f.length;){if(f[m].style.display!=="none"&&f[m]!==Sortable.ghost&&(c||f[m]!==Sortable.dragged)&&closest$1(f[m],u.draggable,a,!1)){if(d===i)return f[m];d++}m++}return null}function lastChild(a,i){for(var u=a.lastElementChild;u&&(u===Sortable.ghost||css(u,"display")==="none"||i&&!matches(u,i));)u=u.previousElementSibling;return u||null}function index$1(a,i){var u=0;if(!a||!a.parentNode)return-1;for(;a=a.previousElementSibling;)a.nodeName.toUpperCase()!=="TEMPLATE"&&a!==Sortable.clone&&(!i||matches(a,i))&&u++;return u}function getRelativeScrollOffset(a){var i=0,u=0,c=getWindowScrollingElement();if(a)do{var d=matrix(a),m=d.a,f=d.d;i+=a.scrollLeft*m,u+=a.scrollTop*f}while(a!==c&&(a=a.parentNode));return[i,u]}function indexOfObject(a,i){for(var u in a)if(a.hasOwnProperty(u)){for(var c in i)if(i.hasOwnProperty(c)&&i[c]===a[u][c])return Number(u)}return-1}function getParentAutoScrollElement(a,i){if(!a||!a.getBoundingClientRect)return getWindowScrollingElement();var u=a,c=!1;do if(u.clientWidth<u.scrollWidth||u.clientHeight<u.scrollHeight){var d=css(u);if(u.clientWidth<u.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||u.clientHeight<u.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!u.getBoundingClientRect||u===document.body)return getWindowScrollingElement();if(c||i)return u;c=!0}}while(u=u.parentNode);return getWindowScrollingElement()}function extend(a,i){if(a&&i)for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u]);return a}function isRectEqual(a,i){return Math.round(a.top)===Math.round(i.top)&&Math.round(a.left)===Math.round(i.left)&&Math.round(a.height)===Math.round(i.height)&&Math.round(a.width)===Math.round(i.width)}var _throttleTimeout;function throttle(a,i){return function(){if(!_throttleTimeout){var u=arguments,c=this;u.length===1?a.call(c,u[0]):a.apply(c,u),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},i)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(a,i,u){a.scrollLeft+=i,a.scrollTop+=u}function clone(a){var i=window.Polymer,u=window.jQuery||window.Zepto;return i&&i.dom?i.dom(a).cloneNode(!0):u?u(a).clone(!0)[0]:a.cloneNode(!0)}function getChildContainingRectFromElement(a,i,u){var c={};return Array.from(a.children).forEach(function(d){var m,f,v,g;if(!(!closest$1(d,i.draggable,a,!1)||d.animated||d===u)){var y=getRect(d);c.left=Math.min((m=c.left)!==null&&m!==void 0?m:1/0,y.left),c.top=Math.min((f=c.top)!==null&&f!==void 0?f:1/0,y.top),c.right=Math.max((v=c.right)!==null&&v!==void 0?v:-1/0,y.right),c.bottom=Math.max((g=c.bottom)!==null&&g!==void 0?g:-1/0,y.bottom)}}),c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var a=[],i;return{captureAnimationState:function(){if(a=[],!!this.options.animation){var c=[].slice.call(this.el.children);c.forEach(function(d){if(!(css(d,"display")==="none"||d===Sortable.ghost)){a.push({target:d,rect:getRect(d)});var m=_objectSpread2({},a[a.length-1].rect);if(d.thisAnimationDuration){var f=matrix(d,!0);f&&(m.top-=f.f,m.left-=f.e)}d.fromRect=m}})}},addAnimationState:function(c){a.push(c)},removeAnimationState:function(c){a.splice(indexOfObject(a,{target:c}),1)},animateAll:function(c){var d=this;if(!this.options.animation){clearTimeout(i),typeof c=="function"&&c();return}var m=!1,f=0;a.forEach(function(v){var g=0,y=v.target,b=y.fromRect,w=getRect(y),k=y.prevFromRect,$=y.prevToRect,S=v.rect,C=matrix(y,!0);C&&(w.top-=C.f,w.left-=C.e),y.toRect=w,y.thisAnimationDuration&&isRectEqual(k,w)&&!isRectEqual(b,w)&&(S.top-w.top)/(S.left-w.left)===(b.top-w.top)/(b.left-w.left)&&(g=calculateRealTime(S,k,$,d.options)),isRectEqual(w,b)||(y.prevFromRect=b,y.prevToRect=w,g||(g=d.options.animation),d.animate(y,S,w,g)),g&&(m=!0,f=Math.max(f,g),clearTimeout(y.animationResetTimer),y.animationResetTimer=setTimeout(function(){y.animationTime=0,y.prevFromRect=null,y.fromRect=null,y.prevToRect=null,y.thisAnimationDuration=null},g),y.thisAnimationDuration=g)}),clearTimeout(i),m?i=setTimeout(function(){typeof c=="function"&&c()},f):typeof c=="function"&&c(),a=[]},animate:function(c,d,m,f){if(f){css(c,"transition",""),css(c,"transform","");var v=matrix(this.el),g=v&&v.a,y=v&&v.d,b=(d.left-m.left)/(g||1),w=(d.top-m.top)/(y||1);c.animatingX=!!b,c.animatingY=!!w,css(c,"transform","translate3d("+b+"px,"+w+"px,0)"),this.forRepaintDummy=repaint(c),css(c,"transition","transform "+f+"ms"+(this.options.easing?" "+this.options.easing:"")),css(c,"transform","translate3d(0,0,0)"),typeof c.animated=="number"&&clearTimeout(c.animated),c.animated=setTimeout(function(){css(c,"transition",""),css(c,"transform",""),c.animated=!1,c.animatingX=!1,c.animatingY=!1},f)}}}}function repaint(a){return a.offsetWidth}function calculateRealTime(a,i,u,c){return Math.sqrt(Math.pow(i.top-a.top,2)+Math.pow(i.left-a.left,2))/Math.sqrt(Math.pow(i.top-u.top,2)+Math.pow(i.left-u.left,2))*c.animation}var plugins=[],defaults={initializeByDefault:!0},PluginManager={mount:function a(i){for(var u in defaults)defaults.hasOwnProperty(u)&&!(u in i)&&(i[u]=defaults[u]);plugins.forEach(function(c){if(c.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),plugins.push(i)},pluginEvent:function a(i,u,c){var d=this;this.eventCanceled=!1,c.cancel=function(){d.eventCanceled=!0};var m=i+"Global";plugins.forEach(function(f){u[f.pluginName]&&(u[f.pluginName][m]&&u[f.pluginName][m](_objectSpread2({sortable:u},c)),u.options[f.pluginName]&&u[f.pluginName][i]&&u[f.pluginName][i](_objectSpread2({sortable:u},c)))})},initializePlugins:function a(i,u,c,d){plugins.forEach(function(v){var g=v.pluginName;if(!(!i.options[g]&&!v.initializeByDefault)){var y=new v(i,u,i.options);y.sortable=i,y.options=i.options,i[g]=y,_extends(c,y.defaults)}});for(var m in i.options)if(i.options.hasOwnProperty(m)){var f=this.modifyOption(i,m,i.options[m]);typeof f<"u"&&(i.options[m]=f)}},getEventProperties:function a(i,u){var c={};return plugins.forEach(function(d){typeof d.eventProperties=="function"&&_extends(c,d.eventProperties.call(u[d.pluginName],i))}),c},modifyOption:function a(i,u,c){var d;return plugins.forEach(function(m){i[m.pluginName]&&m.optionListeners&&typeof m.optionListeners[u]=="function"&&(d=m.optionListeners[u].call(i[m.pluginName],c))}),d}};function dispatchEvent(a){var i=a.sortable,u=a.rootEl,c=a.name,d=a.targetEl,m=a.cloneEl,f=a.toEl,v=a.fromEl,g=a.oldIndex,y=a.newIndex,b=a.oldDraggableIndex,w=a.newDraggableIndex,k=a.originalEvent,$=a.putSortable,S=a.extraEventProperties;if(i=i||u&&u[expando],!!i){var C,E=i.options,D="on"+c.charAt(0).toUpperCase()+c.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?C=new CustomEvent(c,{bubbles:!0,cancelable:!0}):(C=document.createEvent("Event"),C.initEvent(c,!0,!0)),C.to=f||u,C.from=v||u,C.item=d||u,C.clone=m,C.oldIndex=g,C.newIndex=y,C.oldDraggableIndex=b,C.newDraggableIndex=w,C.originalEvent=k,C.pullMode=$?$.lastPutMode:void 0;var A=_objectSpread2(_objectSpread2({},S),PluginManager.getEventProperties(c,i));for(var O in A)C[O]=A[O];u&&u.dispatchEvent(C),E[D]&&E[D].call(i,C)}}var _excluded=["evt"],pluginEvent=function a(i,u){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=c.evt,m=_objectWithoutProperties(c,_excluded);PluginManager.pluginEvent.bind(Sortable)(i,u,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:d,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(v){_dispatchEvent({sortable:u,name:v,originalEvent:d})}},m))};function _dispatchEvent(a){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},a))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(documentExists){if(IE11OrLess)return!1;var a=document.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"}}(),_detectDirection=function a(i,u){var c=css(i),d=parseInt(c.width)-parseInt(c.paddingLeft)-parseInt(c.paddingRight)-parseInt(c.borderLeftWidth)-parseInt(c.borderRightWidth),m=getChild(i,0,u),f=getChild(i,1,u),v=m&&css(m),g=f&&css(f),y=v&&parseInt(v.marginLeft)+parseInt(v.marginRight)+getRect(m).width,b=g&&parseInt(g.marginLeft)+parseInt(g.marginRight)+getRect(f).width;if(c.display==="flex")return c.flexDirection==="column"||c.flexDirection==="column-reverse"?"vertical":"horizontal";if(c.display==="grid")return c.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(m&&v.float&&v.float!=="none"){var w=v.float==="left"?"left":"right";return f&&(g.clear==="both"||g.clear===w)?"vertical":"horizontal"}return m&&(v.display==="block"||v.display==="flex"||v.display==="table"||v.display==="grid"||y>=d&&c[CSSFloatProperty]==="none"||f&&c[CSSFloatProperty]==="none"&&y+b>d)?"vertical":"horizontal"},_dragElInRowColumn=function a(i,u,c){var d=c?i.left:i.top,m=c?i.right:i.bottom,f=c?i.width:i.height,v=c?u.left:u.top,g=c?u.right:u.bottom,y=c?u.width:u.height;return d===v||m===g||d+f/2===v+y/2},_detectNearestEmptySortable=function a(i,u){var c;return sortables.some(function(d){var m=d[expando].options.emptyInsertThreshold;if(!(!m||lastChild(d))){var f=getRect(d),v=i>=f.left-m&&i<=f.right+m,g=u>=f.top-m&&u<=f.bottom+m;if(v&&g)return c=d}}),c},_prepareGroup=function a(i){function u(m,f){return function(v,g,y,b){var w=v.options.group.name&&g.options.group.name&&v.options.group.name===g.options.group.name;if(m==null&&(f||w))return!0;if(m==null||m===!1)return!1;if(f&&m==="clone")return m;if(typeof m=="function")return u(m(v,g,y,b),f)(v,g,y,b);var k=(f?v:g).options.group.name;return m===!0||typeof m=="string"&&m===k||m.join&&m.indexOf(k)>-1}}var c={},d=i.group;(!d||_typeof(d)!="object")&&(d={name:d}),c.name=d.name,c.checkPull=u(d.pull,!0),c.checkPut=u(d.put),c.revertClone=d.revertClone,i.group=c},_hideGhostForTarget=function a(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","none")},_unhideGhostForTarget=function a(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","")};documentExists&&!ChromeForAndroid&&document.addEventListener("click",function(a){if(ignoreNextClick)return a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function a(i){if(dragEl){i=i.touches?i.touches[0]:i;var u=_detectNearestEmptySortable(i.clientX,i.clientY);if(u){var c={};for(var d in i)i.hasOwnProperty(d)&&(c[d]=i[d]);c.target=c.rootEl=u,c.preventDefault=void 0,c.stopPropagation=void 0,u[expando]._onDragOver(c)}}},_checkOutsideTargetEl=function a(i){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(i.target)};function Sortable(a,i){if(!(a&&a.nodeType&&a.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(a));this.el=a,this.options=i=_extends({},i),a[expando]=this;var u={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(a.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(a,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(f,v){f.setData("Text",v.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,a,u);for(var c in u)!(c in i)&&(i[c]=u[c]);_prepareGroup(i);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=i.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?on(a,"pointerdown",this._onTapStart):(on(a,"mousedown",this._onTapStart),on(a,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(a,"dragover",this),on(a,"dragenter",this)),sortables.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function a(i){!this.el.contains(i)&&i!==this.el&&(lastTarget=null)},_getDirection:function a(i,u){return typeof this.options.direction=="function"?this.options.direction.call(this,i,u,dragEl):this.options.direction},_onTapStart:function a(i){if(i.cancelable){var u=this,c=this.el,d=this.options,m=d.preventOnFilter,f=i.type,v=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,g=(v||i).target,y=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||g,b=d.filter;if(_saveInputCheckedState(c),!dragEl&&!(/mousedown|pointerdown/.test(f)&&i.button!==0||d.disabled)&&!y.isContentEditable&&!(!this.nativeDraggable&&Safari&&g&&g.tagName.toUpperCase()==="SELECT")&&(g=closest$1(g,d.draggable,c,!1),!(g&&g.animated)&&lastDownEl!==g)){if(oldIndex=index$1(g),oldDraggableIndex=index$1(g,d.draggable),typeof b=="function"){if(b.call(this,i,g,this)){_dispatchEvent({sortable:u,rootEl:y,name:"filter",targetEl:g,toEl:c,fromEl:c}),pluginEvent("filter",u,{evt:i}),m&&i.cancelable&&i.preventDefault();return}}else if(b&&(b=b.split(",").some(function(w){if(w=closest$1(y,w.trim(),c,!1),w)return _dispatchEvent({sortable:u,rootEl:w,name:"filter",targetEl:g,fromEl:c,toEl:c}),pluginEvent("filter",u,{evt:i}),!0}),b)){m&&i.cancelable&&i.preventDefault();return}d.handle&&!closest$1(y,d.handle,c,!1)||this._prepareDragStart(i,v,g)}}},_prepareDragStart:function a(i,u,c){var d=this,m=d.el,f=d.options,v=m.ownerDocument,g;if(c&&!dragEl&&c.parentNode===m){var y=getRect(c);if(rootEl=m,dragEl=c,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=c,activeGroup=f.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(u||i).clientX,clientY:(u||i).clientY},tapDistanceLeft=tapEvt.clientX-y.left,tapDistanceTop=tapEvt.clientY-y.top,this._lastX=(u||i).clientX,this._lastY=(u||i).clientY,dragEl.style["will-change"]="all",g=function(){if(pluginEvent("delayEnded",d,{evt:i}),Sortable.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!FireFox&&d.nativeDraggable&&(dragEl.draggable=!0),d._triggerDragStart(i,u),_dispatchEvent({sortable:d,name:"choose",originalEvent:i}),toggleClass(dragEl,f.chosenClass,!0)},f.ignore.split(",").forEach(function(b){find(dragEl,b.trim(),_disableDraggable)}),on(v,"dragover",nearestEmptyInsertDetectEvent),on(v,"mousemove",nearestEmptyInsertDetectEvent),on(v,"touchmove",nearestEmptyInsertDetectEvent),on(v,"mouseup",d._onDrop),on(v,"touchend",d._onDrop),on(v,"touchcancel",d._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:i}),f.delay&&(!f.delayOnTouchOnly||u)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(v,"mouseup",d._disableDelayedDrag),on(v,"touchend",d._disableDelayedDrag),on(v,"touchcancel",d._disableDelayedDrag),on(v,"mousemove",d._delayedDragTouchMoveHandler),on(v,"touchmove",d._delayedDragTouchMoveHandler),f.supportPointer&&on(v,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(g,f.delay)}else g()}},_delayedDragTouchMoveHandler:function a(i){var u=i.touches?i.touches[0]:i;Math.max(Math.abs(u.clientX-this._lastX),Math.abs(u.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function a(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function a(){var i=this.el.ownerDocument;off(i,"mouseup",this._disableDelayedDrag),off(i,"touchend",this._disableDelayedDrag),off(i,"touchcancel",this._disableDelayedDrag),off(i,"mousemove",this._delayedDragTouchMoveHandler),off(i,"touchmove",this._delayedDragTouchMoveHandler),off(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function a(i,u){u=u||i.pointerType=="touch"&&i,!this.nativeDraggable||u?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):u?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function a(i,u){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:u}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var c=this.options;!i&&toggleClass(dragEl,c.dragClass,!1),toggleClass(dragEl,c.ghostClass,!0),Sortable.active=this,i&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:u})}else this._nulling()},_emulateDragOver:function a(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var i=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),u=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),i!==u);)u=i;if(dragEl.parentNode[expando]._isOutsideThisEl(i),u)do{if(u[expando]){var c=void 0;if(c=u[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:i,rootEl:u}),c&&!this.options.dragoverBubble)break}i=u}while(u=u.parentNode);_unhideGhostForTarget()}},_onTouchMove:function a(i){if(tapEvt){var u=this.options,c=u.fallbackTolerance,d=u.fallbackOffset,m=i.touches?i.touches[0]:i,f=ghostEl&&matrix(ghostEl,!0),v=ghostEl&&f&&f.a,g=ghostEl&&f&&f.d,y=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),b=(m.clientX-tapEvt.clientX+d.x)/(v||1)+(y?y[0]-ghostRelativeParentInitialScroll[0]:0)/(v||1),w=(m.clientY-tapEvt.clientY+d.y)/(g||1)+(y?y[1]-ghostRelativeParentInitialScroll[1]:0)/(g||1);if(!Sortable.active&&!awaitingDragStarted){if(c&&Math.max(Math.abs(m.clientX-this._lastX),Math.abs(m.clientY-this._lastY))<c)return;this._onDragStart(i,!0)}if(ghostEl){f?(f.e+=b-(lastDx||0),f.f+=w-(lastDy||0)):f={a:1,b:0,c:0,d:1,e:b,f:w};var k="matrix(".concat(f.a,",").concat(f.b,",").concat(f.c,",").concat(f.d,",").concat(f.e,",").concat(f.f,")");css(ghostEl,"webkitTransform",k),css(ghostEl,"mozTransform",k),css(ghostEl,"msTransform",k),css(ghostEl,"transform",k),lastDx=b,lastDy=w,touchEvt=m}i.cancelable&&i.preventDefault()}},_appendGhost:function a(){if(!ghostEl){var i=this.options.fallbackOnBody?document.body:rootEl,u=getRect(dragEl,!0,PositionGhostAbsolutely,!0,i),c=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=i;css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),u.top+=ghostRelativeParent.scrollTop,u.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,c.ghostClass,!1),toggleClass(ghostEl,c.fallbackClass,!0),toggleClass(ghostEl,c.dragClass,!0),css(ghostEl,"transition",""),css(ghostEl,"transform",""),css(ghostEl,"box-sizing","border-box"),css(ghostEl,"margin",0),css(ghostEl,"top",u.top),css(ghostEl,"left",u.left),css(ghostEl,"width",u.width),css(ghostEl,"height",u.height),css(ghostEl,"opacity","0.8"),css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css(ghostEl,"zIndex","100000"),css(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,i.appendChild(ghostEl),css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function a(i,u){var c=this,d=i.dataTransfer,m=c.options;if(pluginEvent("dragStart",this,{evt:i}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.removeAttribute("id"),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),c.cloneId=_nextTick(function(){pluginEvent("clone",c),!Sortable.eventCanceled&&(c.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),c._hideClone(),_dispatchEvent({sortable:c,name:"clone"}))}),!u&&toggleClass(dragEl,m.dragClass,!0),u?(ignoreNextClick=!0,c._loopId=setInterval(c._emulateDragOver,50)):(off(document,"mouseup",c._onDrop),off(document,"touchend",c._onDrop),off(document,"touchcancel",c._onDrop),d&&(d.effectAllowed="move",m.setData&&m.setData.call(c,d,dragEl)),on(document,"drop",c),css(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,c._dragStartId=_nextTick(c._dragStarted.bind(c,u,i)),on(document,"selectstart",c),moved=!0,Safari&&css(document.body,"user-select","none")},_onDragOver:function a(i){var u=this.el,c=i.target,d,m,f,v=this.options,g=v.group,y=Sortable.active,b=activeGroup===g,w=v.sort,k=putSortable||y,$,S=this,C=!1;if(_silent)return;function E(ae,ye){pluginEvent(ae,S,_objectSpread2({evt:i,isOwner:b,axis:$?"vertical":"horizontal",revert:f,dragRect:d,targetRect:m,canSort:w,fromSortable:k,target:c,completed:A,onMove:function(le,Se){return _onMove(rootEl,u,dragEl,d,le,getRect(le),i,Se)},changed:O},ye))}function D(){E("dragOverAnimationCapture"),S.captureAnimationState(),S!==k&&k.captureAnimationState()}function A(ae){return E("dragOverCompleted",{insertion:ae}),ae&&(b?y._hideClone():y._showClone(S),S!==k&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:y.options.ghostClass,!1),toggleClass(dragEl,v.ghostClass,!0)),putSortable!==S&&S!==Sortable.active?putSortable=S:S===Sortable.active&&putSortable&&(putSortable=null),k===S&&(S._ignoreWhileAnimating=c),S.animateAll(function(){E("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==k&&(k.animateAll(),k._ignoreWhileAnimating=null)),(c===dragEl&&!dragEl.animated||c===u&&!c.animated)&&(lastTarget=null),!v.dragoverBubble&&!i.rootEl&&c!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(i.target),!ae&&nearestEmptyInsertDetectEvent(i)),!v.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),C=!0}function O(){newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,v.draggable),_dispatchEvent({sortable:S,name:"change",toEl:u,newIndex,newDraggableIndex,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),c=closest$1(c,v.draggable,u,!0),E("dragOver"),Sortable.eventCanceled)return C;if(dragEl.contains(i.target)||c.animated&&c.animatingX&&c.animatingY||S._ignoreWhileAnimating===c)return A(!1);if(ignoreNextClick=!1,y&&!v.disabled&&(b?w||(f=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,y,dragEl,i))&&g.checkPut(this,y,dragEl,i))){if($=this._getDirection(i,c)==="vertical",d=getRect(dragEl),E("dragOverValid"),Sortable.eventCanceled)return C;if(f)return parentEl=rootEl,D(),this._hideClone(),E("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),A(!0);var F=lastChild(u,v.draggable);if(!F||_ghostIsLast(i,$,this)&&!F.animated){if(F===dragEl)return A(!1);if(F&&u===i.target&&(c=F),c&&(m=getRect(c)),_onMove(rootEl,u,dragEl,d,c,m,i,!!c)!==!1)return D(),F&&F.nextSibling?u.insertBefore(dragEl,F.nextSibling):u.appendChild(dragEl),parentEl=u,O(),A(!0)}else if(F&&_ghostIsFirst(i,$,this)){var B=getChild(u,0,v,!0);if(B===dragEl)return A(!1);if(c=B,m=getRect(c),_onMove(rootEl,u,dragEl,d,c,m,i,!1)!==!1)return D(),u.insertBefore(dragEl,B),parentEl=u,O(),A(!0)}else if(c.parentNode===u){m=getRect(c);var I=0,M,z=dragEl.parentNode!==u,q=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||d,c.animated&&c.toRect||m,$),H=$?"top":"left",Q=isScrolledPast(c,"top","top")||isScrolledPast(dragEl,"top","top"),j=Q?Q.scrollTop:void 0;lastTarget!==c&&(M=m[H],pastFirstInvertThresh=!1,isCircumstantialInvert=!q&&v.invertSwap||z),I=_getSwapDirection(i,c,m,$,q?1:v.swapThreshold,v.invertedSwapThreshold==null?v.swapThreshold:v.invertedSwapThreshold,isCircumstantialInvert,lastTarget===c);var ee;if(I!==0){var G=index$1(dragEl);do G-=I,ee=parentEl.children[G];while(ee&&(css(ee,"display")==="none"||ee===ghostEl))}if(I===0||ee===c)return A(!1);lastTarget=c,lastDirection=I;var J=c.nextElementSibling,te=!1;te=I===1;var re=_onMove(rootEl,u,dragEl,d,c,m,i,te);if(re!==!1)return(re===1||re===-1)&&(te=re===1),_silent=!0,setTimeout(_unsilent,30),D(),te&&!J?u.appendChild(dragEl):c.parentNode.insertBefore(dragEl,te?J:c),Q&&scrollBy(Q,0,j-Q.scrollTop),parentEl=dragEl.parentNode,M!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(M-getRect(c)[H])),O(),A(!0)}if(u.contains(dragEl))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function a(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function a(){var i=this.el.ownerDocument;off(i,"mouseup",this._onDrop),off(i,"touchend",this._onDrop),off(i,"pointerup",this._onDrop),off(i,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function a(i){var u=this.el,c=this.options;if(newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,c.draggable),pluginEvent("drop",this,{evt:i}),parentEl=dragEl&&dragEl.parentNode,newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,c.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(u,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css(document.body,"user-select",""),css(dragEl,"transform",""),i&&(moved&&(i.cancelable&&i.preventDefault(),!c.dropBubble&&i.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:i}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:i}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:i}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:i}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:i})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:i}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:i})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:i}),this.save()))),this._nulling()},_nulling:function a(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(i){i.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function a(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(i),_globalDragOver(i));break;case"selectstart":i.preventDefault();break}},toArray:function a(){for(var i=[],u,c=this.el.children,d=0,m=c.length,f=this.options;d<m;d++)u=c[d],closest$1(u,f.draggable,this.el,!1)&&i.push(u.getAttribute(f.dataIdAttr)||_generateId(u));return i},sort:function a(i,u){var c={},d=this.el;this.toArray().forEach(function(m,f){var v=d.children[f];closest$1(v,this.options.draggable,d,!1)&&(c[m]=v)},this),u&&this.captureAnimationState(),i.forEach(function(m){c[m]&&(d.removeChild(c[m]),d.appendChild(c[m]))}),u&&this.animateAll()},save:function a(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function a(i,u){return closest$1(i,u||this.options.draggable,this.el,!1)},option:function a(i,u){var c=this.options;if(u===void 0)return c[i];var d=PluginManager.modifyOption(this,i,u);typeof d<"u"?c[i]=d:c[i]=u,i==="group"&&_prepareGroup(c)},destroy:function a(){pluginEvent("destroy",this);var i=this.el;i[expando]=null,off(i,"mousedown",this._onTapStart),off(i,"touchstart",this._onTapStart),off(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(i,"dragover",this),off(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(u){u.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=i=null},_hideClone:function a(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function a(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.cancelable&&a.preventDefault()}function _onMove(a,i,u,c,d,m,f,v){var g,y=a[expando],b=y.options.onMove,w;return window.CustomEvent&&!IE11OrLess&&!Edge?g=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent("move",!0,!0)),g.to=i,g.from=a,g.dragged=u,g.draggedRect=c,g.related=d||i,g.relatedRect=m||getRect(i),g.willInsertAfter=v,g.originalEvent=f,a.dispatchEvent(g),b&&(w=b.call(y,g,f)),w}function _disableDraggable(a){a.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(a,i,u){var c=getRect(getChild(u.el,0,u.options,!0)),d=getChildContainingRectFromElement(u.el,u.options,ghostEl),m=10;return i?a.clientX<d.left-m||a.clientY<c.top&&a.clientX<c.right:a.clientY<d.top-m||a.clientY<c.bottom&&a.clientX<c.left}function _ghostIsLast(a,i,u){var c=getRect(lastChild(u.el,u.options.draggable)),d=getChildContainingRectFromElement(u.el,u.options,ghostEl),m=10;return i?a.clientX>d.right+m||a.clientY>c.bottom&&a.clientX>c.left:a.clientY>d.bottom+m||a.clientX>c.right&&a.clientY>c.top}function _getSwapDirection(a,i,u,c,d,m,f,v){var g=c?a.clientY:a.clientX,y=c?u.height:u.width,b=c?u.top:u.left,w=c?u.bottom:u.right,k=!1;if(!f){if(v&&targetMoveDistance<y*d){if(!pastFirstInvertThresh&&(lastDirection===1?g>b+y*m/2:g<w-y*m/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)k=!0;else if(lastDirection===1?g<b+targetMoveDistance:g>w-targetMoveDistance)return-lastDirection}else if(g>b+y*(1-d)/2&&g<w-y*(1-d)/2)return _getInsertDirection(i)}return k=k||f,k&&(g<b+y*m/2||g>w-y*m/2)?g>b+y/2?1:-1:0}function _getInsertDirection(a){return index$1(dragEl)<index$1(a)?1:-1}function _generateId(a){for(var i=a.tagName+a.className+a.src+a.href+a.textContent,u=i.length,c=0;u--;)c+=i.charCodeAt(u);return c.toString(36)}function _saveInputCheckedState(a){savedInputChecked.length=0;for(var i=a.getElementsByTagName("input"),u=i.length;u--;){var c=i[u];c.checked&&savedInputChecked.push(c)}}function _nextTick(a){return setTimeout(a,0)}function _cancelNextTick(a){return clearTimeout(a)}documentExists&&on(document,"touchmove",function(a){(Sortable.active||awaitingDragStarted)&&a.cancelable&&a.preventDefault()});Sortable.utils={on,off,css,find,is:function a(i,u){return!!closest$1(i,u,i,!1)},extend,throttle,closest:closest$1,toggleClass,clone,index:index$1,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild};Sortable.get=function(a){return a[expando]};Sortable.mount=function(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];i[0].constructor===Array&&(i=i[0]),i.forEach(function(c){if(!c.prototype||!c.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(c));c.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),c.utils)),PluginManager.mount(c)})};Sortable.create=function(a,i){return new Sortable(a,i)};Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function a(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return a.prototype={dragStarted:function(u){var c=u.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):c.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(u){var c=u.originalEvent;!this.options.dragOverBubble&&!c.rootEl&&this._handleAutoScroll(c)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(u){this._handleAutoScroll(u,!0)},_handleAutoScroll:function(u,c){var d=this,m=(u.touches?u.touches[0]:u).clientX,f=(u.touches?u.touches[0]:u).clientY,v=document.elementFromPoint(m,f);if(touchEvt$1=u,c||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(u,this.options,v,c);var g=getParentAutoScrollElement(v,!0);scrolling&&(!pointerElemChangedInterval||m!==lastAutoScrollX||f!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var y=getParentAutoScrollElement(document.elementFromPoint(m,f),!0);y!==g&&(g=y,clearAutoScrolls()),autoScroll(u,d.options,y,c)},10),lastAutoScrollX=m,lastAutoScrollY=f)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(v,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(u,this.options,getParentAutoScrollElement(v,!1),!1)}}},_extends(a,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(a){clearInterval(a.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(a,i,u,c){if(i.scroll){var d=(a.touches?a.touches[0]:a).clientX,m=(a.touches?a.touches[0]:a).clientY,f=i.scrollSensitivity,v=i.scrollSpeed,g=getWindowScrollingElement(),y=!1,b;scrollRootEl!==u&&(scrollRootEl=u,clearAutoScrolls(),scrollEl=i.scroll,b=i.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(u,!0)));var w=0,k=scrollEl;do{var $=k,S=getRect($),C=S.top,E=S.bottom,D=S.left,A=S.right,O=S.width,F=S.height,B=void 0,I=void 0,M=$.scrollWidth,z=$.scrollHeight,q=css($),H=$.scrollLeft,Q=$.scrollTop;$===g?(B=O<M&&(q.overflowX==="auto"||q.overflowX==="scroll"||q.overflowX==="visible"),I=F<z&&(q.overflowY==="auto"||q.overflowY==="scroll"||q.overflowY==="visible")):(B=O<M&&(q.overflowX==="auto"||q.overflowX==="scroll"),I=F<z&&(q.overflowY==="auto"||q.overflowY==="scroll"));var j=B&&(Math.abs(A-d)<=f&&H+O<M)-(Math.abs(D-d)<=f&&!!H),ee=I&&(Math.abs(E-m)<=f&&Q+F<z)-(Math.abs(C-m)<=f&&!!Q);if(!autoScrolls[w])for(var G=0;G<=w;G++)autoScrolls[G]||(autoScrolls[G]={});(autoScrolls[w].vx!=j||autoScrolls[w].vy!=ee||autoScrolls[w].el!==$)&&(autoScrolls[w].el=$,autoScrolls[w].vx=j,autoScrolls[w].vy=ee,clearInterval(autoScrolls[w].pid),(j!=0||ee!=0)&&(y=!0,autoScrolls[w].pid=setInterval((function(){c&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var J=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*v:0,te=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*v:0;typeof b=="function"&&b.call(Sortable.dragged.parentNode[expando],te,J,a,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,te,J)}).bind({layer:w}),24))),w++}while(i.bubbleScroll&&k!==g&&(k=getParentAutoScrollElement(k,!1)));scrolling=y}},30),drop=function a(i){var u=i.originalEvent,c=i.putSortable,d=i.dragEl,m=i.activeSortable,f=i.dispatchSortableEvent,v=i.hideGhostForTarget,g=i.unhideGhostForTarget;if(u){var y=c||m;v();var b=u.changedTouches&&u.changedTouches.length?u.changedTouches[0]:u,w=document.elementFromPoint(b.clientX,b.clientY);g(),y&&!y.el.contains(w)&&(f("spill"),this.onSpill({dragEl:d,putSortable:c}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function a(i){var u=i.oldDraggableIndex;this.startIndex=u},onSpill:function a(i){var u=i.dragEl,c=i.putSortable;this.sortable.captureAnimationState(),c&&c.captureAnimationState();var d=getChild(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(u,d):this.sortable.el.appendChild(u),this.sortable.animateAll(),c&&c.animateAll()},drop};_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function a(i){var u=i.dragEl,c=i.putSortable,d=c||this.sortable;d.captureAnimationState(),u.parentNode&&u.parentNode.removeChild(u),d.animateAll()},drop};_extends(Remove,{pluginName:"removeOnSpill"});Sortable.mount(new AutoScrollPlugin);Sortable.mount(Remove,Revert);var base$k=function a(i,u,c,d){var{sort:m}=toRefs(i),f=c.isDisabled,v=c.fire,g=c.refreshOrderStore,y=c.value,b=c.sorting,w=c.length,k=c.path,$=c.children$Array,S=ref(null),C=ref(null),E=computed(()=>m.value&&!f.value&&w.value&&y.value[0]!==void 0),D=()=>{C.value=new Sortable(S.value,{handle:"[data-handle]",onStart:()=>{b.value=!0},onEnd:O})},A=()=>{var F;(F=C.value)===null||F===void 0||F.destroy(),C.value=null},O=F=>{var{oldIndex:B,newIndex:I,item:M}=F;if(b.value=!1,!(B===I||f.value)){S.value.children[I].remove(),S.value.insertBefore(M,S.value.children[B]);var z=cloneDeep_1(y.value);z.splice(I,0,z.splice(B,1)[0]),y.value=z,g(y.value),v("sort",y.value,B,I,$.value[I])}};return watch(E,(F,B)=>{F===!0&&B===!1?D():F===!1&&B===!0&&A()},{immediate:!1,flush:"post"}),onMounted(()=>{E.value&&D()}),watch(w,F=>{var B;E.value&&(A(),D(),(B=C.value)===null||B===void 0||B.sort(Array.from(Array(F).keys()).reduce((I,M,z)=>(I.push("".concat(k.value,"-").concat(z)),I),[])))},{flush:"post"}),{list:S,sortable:C,isSortable:E,handleSort:O,initSortable:D,destroySortable:A}},base$j=function a(i,u,c){var d=ref(!1);return{sorting:d}},base$i=function a(i,u,c,d){var{storeOrder:m,orderBy:f,order:v}=toRefs(i),g=c.form$,y=c.value,b=ref(g.value.$vueform.config.orderFrom),w=$=>(m.value&&each($,(S,C)=>{S[m.value]=v.value&&v.value.toUpperCase()==="DESC"?$.length-C-(b.value==0?1:0):parseInt(C)+b.value}),$),k=computed(()=>f.value||m.value);return watch(m,($,S)=>{$?w(y.value):each(y.value,(C,E)=>{C[S]=null})},{immediate:!1}),{refreshOrderStore:w,orderByName:k}},multifile$2=function a(i,u,c,d){var{storeOrder:m,orderBy:f}=toRefs(i),{refreshOrderStore:v}=base$i(i,u,c),g=computed(()=>f.value||m.value);return{refreshOrderStore:v,orderByName:g}},base$h=function a(i,u,c){var{object:d,element:m}=toRefs(i),f=computed(()=>v.value?Object.assign({},d.value,{type:"object"}):m.value||{}),v=computed(()=>!!d.value);return{prototype:f,isObject:v}},multifile$1=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{auto:m,object:f,file:v,fields:g,storeFile:y,storeOrder:b,view:w,clickable:k,url:$,previewUrl:S,uploadTempEndpoint:C,removeTempEndpoint:E,removeEndpoint:D,params:A,softRemove:O}=toRefs(i),F=c.isDisabled,B=computed(()=>d.type||"file"),I=computed(()=>y.value?y.value:f.value||keys_1(g.value).length||b.value?"file":null),M=computed(()=>!!f.value||!!b.value||!!keys_1(g.value).length),z=computed(()=>{var q={type:B.value,auto:m.value,view:w.value,layout:w.value==="gallery"?"ElementLayoutInline":"ElementLayout",disabled:F.value,clickable:k.value,url:$.value,previewUrl:S.value,uploadTempEndpoint:C.value,removeTempEndpoint:E.value,removeEndpoint:D.value,params:A.value,softRemove:O.value};return M.value?{type:"object",schema:Object.assign({},{[I.value]:Object.assign({},q,{embed:!0},v.value)},b.value?{[b.value]:{type:"hidden",meta:!0}}:{},g.value)}:Object.assign({},q,v.value)});return{storeFileName:I,isObject:M,prototype:z}},base$g=function a(i,u,c){var{controls:d,sort:m,min:f,max:v,addText:g}=toRefs(i),y=c.isDisabled,b=c.value,w=c.form$,k=computed(()=>!y.value&&(d.value.add||d.value.add===void 0)&&(v.value===-1||v.value>b.value.length)),$=computed(()=>!y.value&&(d.value.remove||d.value.remove===void 0)&&(f.value===-1||f.value<b.value.length)),S=computed(()=>!y.value&&(d.value.sort||d.value.sort===void 0)&&m.value),C=computed(()=>g.value||w.value.translations.vueform.elements.list.add);return{hasAdd:k,hasRemove:$,hasSort:S,addLabel:C}},multifile=function a(i,u,c){var{controls:d,sort:m}=toRefs(i),f=c.isDisabled,v=c.hasUploading,g=computed(()=>d.value.add||d.value.add===void 0),y=computed(()=>!f.value&&(d.value.remove||d.value.remove===void 0)&&!v.value),b=computed(()=>!f.value&&(d.value.sort||d.value.sort===void 0)&&m.value&&!v.value);return{hasAdd:g,hasRemove:y,hasSort:b}},ListElement={name:"ListElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","add","remove","sort","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"list",private:!0},default:{required:!1,type:[Array],default:void 0},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Boolean],default:!1},onAdd:{required:!1,type:[Function],default:null,private:!0},onRemove:{required:!1,type:[Function],default:null,private:!0},onSort:{required:!1,type:[Function],default:null,private:!0},element:{required:!1,type:[Object],default:null},object:{required:!1,type:[Object],default:null},initial:{required:!1,type:[Number],default:1},min:{required:!1,type:[Number],default:-1},max:{required:!1,type:[Number],default:-1},addText:{required:!1,type:[String],default:null,"@default":"locale.elements.list.add"},sort:{required:!1,type:[Boolean],default:!1},controls:{required:!1,type:[Object],default:()=>({add:!0,remove:!0,sort:!0})},storeOrder:{required:!1,type:[String],default:null},order:{required:!1,type:[String],default:null},orderBy:{required:!1,type:[String],default:null}},setup(a,i){return i.features=[base$17,base$16,base$T,base$M,base$S,base$Q,array$1,base$h,base$l,base$j,base$i,base$1a,list$4,base$I,base$Z,base$G,base$10,list$5,list$2,list$1,base$g,array,base$Y,base$X,base$W,base$18,base$V,list$3,base$k,base$P,list,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$f=function a(i,u,c){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{provider:m,extendOptions:f}=toRefs(i),v=c.form$,g=c.value,y=c.clear,b=c.input,w=()=>d.input?d.input.value:b.value,k=ref(null),$=ref({}),S=computed(()=>m.value||v.value.$vueform.config.locationProvider),C=computed(()=>{var F={google:{fields:["geometry","formatted_address","address_components"]},algolia:{type:"address",appId:v.value.$vueform.config.services.algolia.app_id,apiKey:v.value.$vueform.config.services.algolia.api_key,templates:d.templates||{}}};return F[S.value]}),E=computed(()=>Object.assign({},C.value,f.value||{})),D=(F,B)=>{if(d.handleAddressChange){d.handleAddressChange(F,B);return}$.value=B,g.value=F},A=()=>{w().value.length?w().value=g.value.formatted_address:y()},O=()=>{k.value&&k.value.destroy(),k.value=new v.value.$vueform.services.location[S.value],k.value.init(w(),D,E.value)};return watch([S,E],()=>{O()},{deep:!0,immediate:!1}),onMounted(()=>{O()}),{locationService:k,location:$,defaultOptions:C,providerOptions:E,handleAddressChange:D,handleLocationBlur:A,initLocationService:O}},LocationElement={name:"LocationElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"location",private:!0},default:{required:!1,type:[Object],default:()=>({country:null,country_code:null,state:null,state_code:null,city:null,zip:null,address:null,formatted_address:null,lat:null,lng:null})},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},provider:{required:!1,type:[String],default:"google"},displayKey:{required:!1,type:[String],default:"formatted_address"},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,location$5,base$S,base$u,base$1a,base$N,base$y,base$I,base$F,location$2,base$12,base$J,base$f,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$s,base$P,location$1,base$R,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},location$3(a,i))}},base$e=function a(i,u,c){var d=c.isDisabled,m=c.add,f=c.input,v=c.isObject,g=c.storeFileName,y=c.children$,b=computed(()=>some_1(y.value,{available:!0,preparing:!0})),w=computed(()=>some_1(y.value,{uploading:!0})),k=S=>{!S.target||!S.target.files||S.target.files.length==0||d.value||(each(S.target.files,C=>{m(v.value?{[g.value]:C}:C)}),f.value.value="")},$=()=>{d.value||f.value.click()};return{preparing:b,hasUploading:w,handleChange:k,handleClick:$}},MultifileElement={name:"MultifileElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","add","remove","sort","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"multifile",private:!0},default:{required:!1,type:[Array],default:()=>[]},initial:{required:!1,type:[Number],default:0,private:!0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},onAdd:{required:!1,type:[Function],default:null,private:!0},onRemove:{required:!1,type:[Function],default:null,private:!0},onSort:{required:!1,type:[Function],default:null,private:!0},view:{type:[String],required:!1,default:"file"},drop:{required:!1,type:[Boolean],default:!1},sort:{required:!1,type:[Boolean],default:!1},controls:{required:!1,type:[Object],default:()=>({add:!0,remove:!0,sort:!0})},object:{required:!1,type:[Boolean],default:null},storeFile:{required:!1,type:[String],default:"file"},fields:{required:!1,type:[Object],default:()=>({})},storeOrder:{required:!1,type:[String],default:null},order:{required:!1,type:[String],default:null},orderBy:{required:!1,type:[String],default:null},file:{required:!1,type:[Object],default:()=>({})},accept:{required:!1,type:[String,Array],default:null},clickable:{required:!1,type:[Boolean],default:!0},url:{required:!1,type:[String,Boolean],default:"/"},previewUrl:{required:!1,type:[String],default:void 0},auto:{required:!1,type:[Boolean],default:!0},uploadTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.uploadTempFile"},removeTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeTempFile"},removeEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeFile"},params:{required:!1,type:[Object],default:()=>({})},softRemove:{required:!1,type:[Boolean],default:!1}},setup(a,i){return i.features=[base$17,base$16,base$T,base$M,base$Q,array$1,base$l,base$K,base$j,multifile$1,base$S,base$1a,list$4,base$I,base$Z,base$G,list$2,base$F,array,base$10,base$12,base$Y,base$X,base$W,base$V,multifile$2,multifile$5,base$e,multifile,multifile$3,base$18,base$k,base$P,multifile$4,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$d=function a(i,u,c){var d=c.fire,m=c.el$,f=S=>{d("select",S,m.value)},v=S=>{d("deselect",S,m.value)},g=S=>{d("search-change",S,m.value)},y=()=>{d("open",m.value)},b=()=>{d("close",m.value)},w=()=>{d("clear",m.value)},k=S=>{d("paste",S,m.value)},$=S=>{};return{handleSelect:f,handleDeselect:v,handleSearchChange:g,handleOpen:y,handleClose:b,handleClear:w,handlePaste:k,handleTag:$}};function spliceMultiple(a,i){i.sort();for(var u=i.length-1;u>=0;u--)a.splice(i[u],1);return a}var base$c=function a(i,u,c){var d=c.value,m=g=>d.value.indexOf(g)!==-1,f=g=>{isArray_1(g)||(g=[g]);var y=clone_1(d.value);each(g,b=>{m(normalize$1(b))||y.push(b)}),d.value=y},v=g=>{isArray_1(g)||(g=[g]);var y=clone_1(d.value),b=[];each(g,w=>{var k=d.value.indexOf(w);k===-1||b.indexOf(k)!==-1||b.push(k)}),d.value=spliceMultiple(y,b)};return{select:f,deselect:v}},base$b=function a(i,u,c){var{loading:d}=toRefs(i),m=c.pending,f=computed(()=>m.value||d.value);return{isLoading:f}},MultiselectElement={name:"MultiselectElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","select","deselect","search-change","open","close","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"multiselect",private:!0},default:{required:!1,type:[Array],default:()=>[]},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null,native:!1},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},native:{required:!1,type:[Boolean],default:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label",native:!1},valueProp:{type:[String],required:!1,default:"value",native:!1},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1,native:!1},trackBy:{type:[String,Array],required:!1,default:"label",native:!1},strict:{type:[Boolean],required:!1,default:!0,native:!1},multipleLabel:{type:[Function],required:!1,native:!1},multipleLabelSingle:{type:[String],required:!1,native:!1,"@default":"locale.vueform.multiselect.multipleLabelOne"},multipleLabelMultiple:{type:[String],required:!1,native:!1,"@default":"locale.vueform.multiselect.multipleLabelMore"},create:{required:!1,type:[Boolean],default:!1,native:!1},appendNewOption:{type:[Boolean],required:!1,default:!0,native:!1},addOptionOn:{type:[Array],required:!1,default:()=>["enter"],native:!1},object:{type:[Boolean],required:!1,default:!1,native:!1},limit:{type:[Number],required:!1,default:-1,native:!1},max:{type:[Number],required:!1,default:-1,native:!1},groups:{type:[Boolean],required:!1,default:!1,native:!1},groupLabel:{type:[String],required:!1,default:"label",native:!1},groupOptions:{type:[String],required:!1,default:"items",native:!1},groupHideEmpty:{type:[Boolean],required:!1,default:!1,native:!1},groupSelect:{type:[Boolean],required:!1,default:!0,native:!1},openDirection:{type:[String],required:!1,default:"bottom",native:!1},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canClear:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSelect:{type:[Boolean],required:!1,default:!1,native:!1},closeOnSelect:{type:[Boolean],required:!1,default:!0,native:!1},closeOnDeselect:{type:[Boolean],required:!1,default:!1,native:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!0},delay:{type:[Number],required:!1,default:-1,native:!1},minChars:{type:[Number],required:!1,default:0,native:!1},resolveOnLoad:{type:[Boolean],required:!1,default:!0,native:!1},filterResults:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSearch:{type:[Boolean],required:!1,default:!1,native:!1},hideSelected:{type:[Boolean],required:!1,default:!0,native:!1},caret:{type:[Boolean],required:!1,default:!0,native:!1},loading:{type:[Boolean],required:!1,default:!1,native:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0,native:!1},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0,native:!1},autocomplete:{type:[String],required:!1,native:!1},inputType:{type:[String],required:!1,default:"text",native:!1},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,array$1,base$S,base$u,base$1a,multiselect$4,base$I,base$H,base$b,multiselect$1,base$F,multiselect$2,base$12,multiselect$3,array,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$d,base$c,multiselect,base$P,base$E,base$R,base$t],i.slots=["option","multiple-label","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},ObjectElement={name:"ObjectElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","remove","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"object",private:!0},default:{required:!1,type:[Object],default:()=>({})},id:{required:!1,type:[String],default:null},schema:{required:!1,type:[Object],default:()=>({})},embed:{required:!1,type:[Boolean],default:!1},onRemove:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$M,base$S,object$1,base$1a,base$N,object$5,object$3,base$Z,object,base$10,object$7,object$4,base$X,base$W,base$18,base$Y,base$V,object$6,base$P,object$2,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$a=function a(i,u,c){var{radioName:d,radioValue:m}=toRefs(i),f=c.update,v=c.nullValue,g=c.fieldId,y=c.path,b=c.form$,w=ref([]),k=computed(()=>d.value||y.value),$=()=>{f(m.value)},S=()=>{f(v.value)},C=(E,D)=>{D&&b.value.$el.querySelectorAll('input[name="'.concat(D,'"')).forEach((A,O)=>{w.value[O]&&A.removeEventListener("change",w.value[O])}),b.value.$el.querySelectorAll('input[name="'.concat(E,'"')).forEach(A=>{var O=()=>{A.id!=g.value&&f(v.value)};w.value.push(O),A.addEventListener("change",O)})};return onMounted(()=>{C(k.value)}),watch(k,C),{inputName:k,check:$,uncheck:S}},RadioElement={name:"RadioElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"radio",private:!0},default:{required:!1,type:[String,Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},radioName:{required:!1,type:[String],default:null},radioValue:{required:!1,type:[Boolean,String,Number],default:1},text:{required:!1,type:[String,Object],localized:!0,default:null},align:{required:!1,type:[String],default:void 0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$S,base$1a,base$N,base$C,base$I,base$12,base$H,base$F,base$J,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$a,radio,base$E,base$R,base$D],i.slots=["default","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},RadiogroupElement={name:"RadiogroupElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"radiogroup",private:!0},default:{required:!1,type:[String,Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},disables:{required:!1,type:[Array],default:()=>[]},clearOnRefetch:{type:[Boolean],required:!1,default:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$M,base$C,base$S,base$1a,base$N,radiogroup$2,base$I,base$F,radiogroup,base$12,base$H,base$J,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,radiogroup$1,base$E,base$R],i.slots=["radio","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},SelectElement={name:"SelectElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","select","deselect","search-change","open","close","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"select",private:!0},default:{required:!1,type:[String,Number,Object],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},native:{required:!1,type:[Boolean],default:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label"},valueProp:{type:[String],required:!1,default:"value"},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1,native:!1},trackBy:{type:[String,Array],required:!1,default:void 0,native:!1},strict:{type:[Boolean],required:!1,default:!0,native:!1},create:{required:!1,type:[Boolean],default:!1,native:!1},appendNewOption:{type:[Boolean],required:!1,default:!0,native:!1},addOptionOn:{type:[Array],required:!1,default:()=>["enter"],native:!1},object:{type:[Boolean],required:!1,default:!1,native:!1},limit:{type:[Number],required:!1,default:-1,native:!1},groups:{type:[Boolean],required:!1,default:!1,native:!1},groupLabel:{type:[String],required:!1,default:"label",native:!1},groupOptions:{type:[String],required:!1,default:"items",native:!1},groupHideEmpty:{type:[Boolean],required:!1,default:!1,native:!1},openDirection:{type:[String],required:!1,default:"bottom",native:!1},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canDeselect:{type:[Boolean],required:!1,default:!0,native:!1},canClear:{type:[Boolean],required:!1,default:!0,native:!1},closeOnSelect:{type:[Boolean],required:!1,default:!0,native:!1},closeOnDeselect:{type:[Boolean],required:!1,default:!1,native:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!1},delay:{type:[Number],required:!1,default:-1,native:!1},minChars:{type:[Number],required:!1,default:0,native:!1},resolveOnLoad:{type:[Boolean],required:!1,default:!0,native:!1},filterResults:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSearch:{type:[Boolean],required:!1,default:!1,native:!1},caret:{type:[Boolean],required:!1,default:!0,native:!1},truncate:{type:[Boolean],required:!1,default:!0,native:!1},loading:{type:[Boolean],required:!1,default:!1,native:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0,native:!1},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0,native:!1},autocomplete:{type:[String],required:!1,native:!1},inputType:{type:[String],required:!1,default:"text",native:!1},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$S,base$u,base$1a,base$N,base$I,base$H,base$b,select$1,base$F,select$2,base$12,select$3,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$d,select,base$P,base$E,base$R,base$t],i.slots=["option","single-label","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$9=function a(i,u,c){var{lazy:d}=toRefs(i),m=c.value,f=v=>{d.value||(m.value=v)};return{handleUpdate:f}},SliderElement={name:"SliderElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"slider",private:!0},default:{required:!1,type:[Number,Array],default:0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},min:{required:!1,type:[Number],default:0},max:{required:!1,type:[Number],default:100},step:{required:!1,type:[Number],default:1},tooltips:{required:!1,type:[Boolean],default:!0},showTooltip:{required:!1,type:[String],default:"always"},tooltipPosition:{required:!1,type:[String],default:null},merge:{required:!1,type:[Number],default:-1},format:{required:!1,type:[Object,Function],default:null},orientation:{required:!1,type:[String],default:"horizontal"},direction:{required:!1,type:[String],default:"ltr"},lazy:{required:!1,type:[Boolean],default:!0,private:!0},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,min$2,base$S,base$1a,base$N,base$I,slider,base$F,slider$1,base$12,base$J,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$v,base$9,base$P,base$E,base$R],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$8=function a(i,u,c){var{content:d}=toRefs(i),m=c.fieldSlots,f=computed(()=>typeof d.value=="string"),v=computed(()=>{var b,w;return!((b=d.value)!==null&&b!==void 0&&b.render)&&!((w=d.value)!==null&&w!==void 0&&w.template)?d.value:y(d.value)}),g=computed(()=>{var b,w;return!((b=m.value.default)!==null&&b!==void 0&&b.render)&&!((w=m.value.default)!==null&&w!==void 0&&w.template)?m.value.default:y(m.value.default)}),y=b=>(b=_objectSpread2$1({},b),b.props?Array.isArray(b.props)&&b.props.indexOf("el$")===-1?b.props.push("el$"):!Array.isArray(b.props)&&!b.props.el$&&(b.props.el$={type:Object,required:!1,default:()=>({})}):b.props=["el$"],b);return{isHtml:f,componentContent:v,slotContent:g}},StaticElement={name:"StaticElement",mixins:[BaseElement,HasView],emits:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"static",private:!0},id:{required:!1,type:[String],default:null},content:{required:!1,type:[String,Object,Function],default:""},wrap:{required:!1,type:[Boolean],default:!0},tag:{required:!1,type:[String],default:void 0},allowHtml:{required:!1,type:[Boolean],default:!0},href:{required:!1,type:[String],default:void 0},target:{required:!1,type:[String],default:void 0},src:{required:!1,type:[String],default:void 0},alt:{required:!1,type:[String],default:void 0},title:{required:!1,type:[String],default:void 0},width:{required:!1,type:[String],default:void 0},height:{required:!1,type:[String],default:void 0},attrs:{required:!1,type:[Object],default:()=>({})},align:{required:!1,type:[String],default:void 0},top:{required:!1,type:[String,Number],default:0},bottom:{required:!1,type:[String,Number],default:0}},setup(a,i){return i.features=[base$17,base$16,base$T,static_$1,base$1a,static_$2,base$12,base$Z,base$X,base$W,base$18,base$Y,base$V,base$S,static_$3,base$R,base$8],i.slots=["default","label","info","description","before","between","after"],_objectSpread2$1({},static_(a,i))}},base$7=function a(i,u,c){var d=c.fire,m=c.el$,f=v=>{d("tag",v,m.value)};return{handleTag:f}},TagsElement={name:"TagsElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","select","deselect","search-change","open","close","tag","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"tags",private:!0},default:{required:!1,type:[Array],default:()=>[]},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onTag:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label"},valueProp:{type:[String],required:!1,default:"value"},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1},trackBy:{type:[String,Array],required:!1,default:"label"},strict:{type:[Boolean],required:!1,default:!0},breakTags:{type:[Boolean],required:!1,default:!1},create:{required:!1,type:[Boolean],default:!1},appendNewOption:{type:[Boolean],required:!1,default:!0},addOptionOn:{type:[Array],required:!1,default:()=>["enter"]},object:{type:[Boolean],required:!1,default:!1},limit:{type:[Number],required:!1,default:-1},max:{type:[Number],required:!1,default:-1},groups:{type:[Boolean],required:!1,default:!1},groupLabel:{type:[String],required:!1,default:"label"},groupOptions:{type:[String],required:!1,default:"items"},groupHideEmpty:{type:[Boolean],required:!1,default:!1},groupSelect:{type:[Boolean],required:!1,default:!0},openDirection:{type:[String],required:!1,default:"bottom"},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canClear:{type:[Boolean],required:!1,default:!0},clearOnSelect:{type:[Boolean],required:!1,default:!0},closeOnSelect:{type:[Boolean],required:!1,default:!0},closeOnDeselect:{type:[Boolean],required:!1,default:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!1},delay:{type:[Number],required:!1,default:-1},minChars:{type:[Number],required:!1,default:0},resolveOnLoad:{type:[Boolean],required:!1,default:!0},filterResults:{type:[Boolean],required:!1,default:!0},clearOnSearch:{type:[Boolean],required:!1,default:!1},hideSelected:{type:[Boolean],required:!1,default:!0},showOptions:{type:[Boolean],required:!1,default:!0},caret:{type:[Boolean],required:!1,default:!0},loading:{type:[Boolean],required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0},autocomplete:{type:[String],required:!1},inputType:{type:[String],required:!1,default:"text"},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,array$1,base$S,base$u,base$1a,tags$4,base$I,base$H,base$b,tags$1,base$F,tags$2,base$12,tags$3,array,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$d,base$7,base$c,tags,base$P,base$E,base$R,base$t],i.slots=["tag","option","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$6=function a(i,u,c){var{autogrow:d}=toRefs(i),m=c.form$,f=c.input,v=c.value,g=()=>{d.value&&m.value.$vueform.services.autosize.update(f.value)};return watch(d,y=>{y?m.value.$vueform.services.autosize(f.value):m.value.$vueform.services.autosize.destroy(f.value)}),watch(v,()=>{g()}),onMounted(()=>{d.value&&nextTick(()=>{m.value.$vueform.services.autosize(f.value)})}),{autosize:g}},multilingual=function a(i,u,c){var{autosize:d}=base$6(i,u,c),m=c.form$;return onMounted(()=>{m.value.on("language",()=>{d()})}),{autosize:d}},base$5=function a(i,u,c){var d=c.fire,m=c.el$,f=()=>{d("blur",m.value)};return{handleBlur:f}},base$4=function a(i,u,c){var{fire:d,el$:m}=c,f=y=>{d("keydown",y,m.value)},v=y=>{d("keyup",y,m.value)},g=y=>{d("keypress",y,m.value)};return{handleKeydown:f,handleKeyup:v,handleKeypress:g}},TextareaElement={name:"TextareaElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"textarea",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autogrow:{required:!1,type:[Boolean],default:!0},rows:{required:!1,type:[Number],default:3},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$S,base$u,base$1a,base$N,base$y,text$1,base$12,text,base$F,base$J,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$m,base$6,base$s,base$5,base$P,base$E,base$R,base$4,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},base$L(a,i))}},TextElement={name:"TextElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"text",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},inputType:{required:!1,type:[String],default:"text"},forceNumbers:{required:!1,type:[Boolean],default:null},attrs:{required:!1,type:[Object],default:()=>({})},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autocomplete:{required:!1,type:[String,Number],default:null},loading:{type:[Boolean],required:!1,default:!1},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$S,base$u,base$1a,base$N,base$y,text$1,base$12,text,base$b,base$F,text$2,base$x,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$m,base$s,base$5,base$P,base$E,base$R,base$4,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},base$L(a,i))}},ToggleElement={name:"ToggleElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"toggle",private:!0},default:{required:!1,type:[String,Number,Boolean],default:void 0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},text:{required:!1,type:[String,Object],localized:!0,default:null},labels:{required:!1,type:[Object],localized:!0,default:()=>({})},trueValue:{required:!1,type:[Boolean,String,Number],default:!0},falseValue:{required:!1,type:[Boolean,String,Number],default:!1},extendOptions:{required:!1,type:[Object],default:()=>({})},align:{required:!1,type:[String],default:void 0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,boolean,base$S,base$1a,base$N,toggle,base$I,base$12,base$H,base$F,base$J,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$v,base$B,toggle$1,base$E,base$R,base$D],i.slots=["default","label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$3=function a(i,u,c){var{endpoint:d,method:m}=toRefs(i),f=c.form$,v=c.input,g=ref(!1),y=computed(()=>d.value||f.value.$vueform.config.endpoints.attachment.url),b=computed(()=>m.value||f.value.$vueform.config.endpoints.attachment.method);return onMounted(()=>{v.value.editor$.addEventListener("focus",()=>{g.value=!0}),v.value.editor$.addEventListener("blur",()=>{g.value=!1})}),{editorEndpoint:y,editorMethod:b,focused:g}},base$2=function a(i,u,c){var d=c.fire,m=c.listeners,f=v=>{d("alert",v),m.value.alert||alert(v)};return{handleAlert:f}},EditorElement={name:"EditorElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","alert","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"editor",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},onError:{required:!1,type:[Function],default:null,private:!0},onAlert:{required:!1,type:[Function],default:null,private:!0},accept:{required:!1,type:[Array],default:()=>[]},acceptMimes:{required:!1,type:[Array],default:()=>[]},endpoint:{required:!1,type:[String,Function],default:null,"@default":"config.endpoints.attachment.url"},method:{required:!1,type:[String],default:null,"@default":"config.endpoints.attachment.method"},hideTools:{required:!1,type:[Array],default:()=>[]},onBlur:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$C,base$S,base$1a,base$N,text$1,base$12,text,base$F,editor,base$x,base$Z,base$G,base$X,base$W,base$3,base$18,base$Y,base$V,base$m,base$2,base$n,base$5,base$P,base$E,editor$1,base$t],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},base$L(a,i))}},base$1=function a(i,u,c){var d=c.form$,m=computed(()=>d.value.selectedLanguage),f=computed(()=>keys_1(d.value.options.languages));return{language:m,languages:f}},TTextareaElement={name:"TTextareaElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-textarea",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autogrow:{required:!1,type:[Boolean],default:!0},rows:{required:!1,type:[Number],default:3},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$S,base$u,base$1a,base$N,base$y,base$1,multilingual$2,multilingual$6,multilingual$4,base$12,multilingual$5,multilingual$7,multilingual$1,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$m,multilingual,base$s,base$5,base$P,multilingual$3,base$R,base$4,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},multilingual$8(a,i))}},TTextElement={name:"TTextElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-text",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:void 0},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autocomplete:{required:!1,type:[String,Number],default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},inputType:{required:!1,type:[String],default:"text"},attrs:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},loading:{type:[Boolean],required:!1,default:!1},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$S,base$u,base$1a,base$N,base$y,base$1,multilingual$2,multilingual$6,multilingual$4,base$12,multilingual$5,base$b,multilingual$7,multilingual$1,base$Z,base$G,base$X,base$W,base$18,base$Y,base$V,base$m,base$s,base$5,base$P,multilingual$3,base$R,base$4,base$t],i.slots=["label","info","description","before","between","after","addon-before","addon-after"],_objectSpread2$1({},multilingual$8(a,i))}},TEditorElement={name:"TEditorElement",mixins:[BaseElement,HasView,HasChange,HasData,HasValidation],emits:["change","blur","alert","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-editor",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},onError:{required:!1,type:[Function],default:null,private:!0},onAlert:{required:!1,type:[Function],default:null,private:!0},accept:{required:!1,type:[Array],default:null},acceptMimes:{required:!1,type:[Array],default:null},endpoint:{required:!1,type:[String,Function],default:null,"@default":"config.endpoints.attachment.url"},method:{required:!1,type:[String],default:null,"@default":"config.endpoints.attachment.method"},hideTools:{required:!1,type:[Array],default:()=>[]},onBlur:{required:!1,type:[Function],default:null,private:!0}},setup(a,i){return i.features=[base$17,base$16,base$T,base$K,base$M,base$Q,base$S,base$1a,base$N,base$1,multilingual$2,multilingual$6,multilingual$4,base$12,multilingual$5,teditor,multilingual$1,base$Z,base$G,base$X,base$W,base$3,base$18,base$Y,base$V,base$m,base$2,base$n,base$5,base$P,multilingual$3,base$R,base$t],i.slots=["label","info","description","before","between","after"],_objectSpread2$1({},multilingual$8(a,i))}},CheckboxgroupCheckbox={name:"CheckboxgroupCheckbox",props:{item:{type:[Object,String,Number],required:!0},value:{type:[String,Number],required:!0},items:{type:[Object,Array],required:!0},index:{type:[Number],required:!0},attrs:{required:!1,type:[Object],default:()=>({})}},setup(a,i){var{value:u,item:c}=toRefs(a),{el$:d,form$:m,Size:f,View:v,classesInstance:g,classes:y,Templates:b,template:w,theme:k}=base$_(a,i),$=computed(()=>{var A;return d.value.disabledItems.map(O=>String(O)).indexOf(String(u.value))!==-1||d.value.isDisabled||!!((A=c.value)!==null&&A!==void 0&&A.disabled)}),S=computed(()=>d.value.value.indexOf(String(u.value))!==-1||d.value.value.indexOf(Number(u.value))!==-1),C=computed(()=>"".concat(d.value.fieldId,"-").concat(u.value)),E=computed(()=>"".concat(d.value.path,"-").concat(u.value)),D=A=>{if(["ArrowRight","ArrowDown"].indexOf(A.key)!==-1){A.preventDefault();var O=A.target.nextElementSibling;(O==null?void 0:O.getAttribute("role"))==="checkbox"&&O.focus()}else if(["ArrowLeft","ArrowUp"].indexOf(A.key)!==-1){A.preventDefault();var F=A.target.previousElementSibling;(F==null?void 0:F.getAttribute("role"))==="checkbox"&&F.focus()}};return{el$:d,form$:m,Size:f,View:v,classesInstance:g,classes:y,Templates:b,template:w,theme:k,isDisabled:$,id:C,name:E,checked:S,handleKeydown:D}}},base=function a(i,u,c){var d=c.el$,m=c.form$,f=computed(()=>d.value.stage>0),v=computed(()=>d.value.link&&d.value.clickable),g=computed(()=>d.value.hasUploadError),y=computed(()=>d.value.link),b=computed(()=>{var I=d.value.filename&&typeof d.value.filename=="string"?d.value.filename.split("\\").pop().split("/").pop():d.value.filename;return I&&(I=I.split("?")[0]),I}),w=computed(()=>d.value.clickable),k=computed(()=>d.value.stage>1),$=computed(()=>d.value.uploading),S=computed(()=>d.value.progress),C=computed(()=>(d.value.canRemove||d.value.uploading)&&!d.value.isDisabled),E=computed(()=>d.value.canUploadTemp),D=computed(()=>m.value.translations.vueform.elements.file.upload),A=computed(()=>d.value.embed?void 0:d.value.labelId),O=()=>{d.value.uploadTemp()},F=()=>{$.value?d.value.handleAbort():d.value.handleRemove()},B=function(){var I=_asyncToGenerator(function*(M){switch(M.key){case"Backspace":case"Delete":if(F(),!d.value.canSelect)return;yield nextTick(),document.querySelector("#".concat(d.value.fieldId)).focus();break;case"Enter":if(d.value.auto)return;O();break}});return function(z){return I.apply(this,arguments)}}();return{visible:f,hasLink:v,hasError:g,link:y,filename:b,clickable:w,uploaded:k,uploading:$,progress:S,canRemove:C,canUploadTemp:E,uploadText:D,ariaLabelledby:A,upload:O,remove:F,handleKeyup:B}},FilePreview={name:"FilePreview",props:{attrs:{required:!1,type:[Object],default:()=>({})}},setup(a,i){var{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b}=base$_(a,i),{visible:w,hasLink:k,hasError:$,link:S,filename:C,clickable:E,uploaded:D,uploading:A,progress:O,canRemove:F,canUploadTemp:B,uploadText:I,ariaLabelledby:M,upload:z,remove:q,handleKeyup:H}=base(a,i,{el$:u,form$:c}),Q=computed(()=>["image","gallery"].indexOf(u.value.View)!==-1?u.value.preview:null),j=computed(()=>{var G=u.value.embed&&u.value.View!=="gallery"?void 0:C.value;return $.value&&(G?G+=", error":G="error"),G}),ee=computed(()=>u.value.embed&&u.value.View!=="gallery"||D.value||u.value.auto?void 0:I.value);return{el$:u,form$:c,Size:d,View:m,classesInstance:f,classes:v,Templates:g,template:y,theme:b,visible:w,hasLink:k,hasError:$,link:S,filename:C,clickable:E,uploaded:D,uploading:A,progress:O,canRemove:F,canUploadTemp:B,uploadText:I,preview:Q,ariaLabelledby:M,ariaPlaceholder:j,ariaRoledescription:ee,upload:z,remove:q,handleKeyup:H}}},RadiogroupRadio={name:"RadiogroupRadio",props:{item:{type:[Object,String,Number],required:!0},value:{type:[String,Number],required:!0},items:{type:[Object,Array],required:!0},index:{type:[Number],required:!0},attrs:{required:!1,type:[Object],default:()=>({})}},setup(a,i){var{value:u,item:c}=toRefs(a),{el$:d,form$:m,Size:f,View:v,classesInstance:g,classes:y,Templates:b,template:w,theme:k}=base$_(a,i),$=computed(()=>{var A;return d.value.disabledItems.map(O=>String(O)).indexOf(String(u.value))!==-1||d.value.isDisabled||!!((A=c.value)!==null&&A!==void 0&&A.disabled)}),S=computed(()=>d.value.value===String(u.value)||d.value.value===Number(u.value)),C=computed(()=>"".concat(d.value.fieldId,"-").concat(u.value)),E=computed(()=>d.value.path),D=A=>{if(["ArrowRight","ArrowDown"].indexOf(A.key)!==-1){A.preventDefault();var O=A.target.nextElementSibling;(O==null?void 0:O.getAttribute("role"))==="radio"&&O.focus()}else if(["ArrowLeft","ArrowUp"].indexOf(A.key)!==-1){A.preventDefault();var F=A.target.previousElementSibling;(F==null?void 0:F.getAttribute("role"))==="radio"&&F.focus()}};return{el$:d,form$:m,Size:f,View:v,classesInstance:g,classes:y,Templates:b,template:w,theme:k,isDisabled:$,id:C,name:E,checked:S,handleKeydown:D}}},index$3={Vueform:VueformComponent,FormErrors,FormMessages,FormLanguages,FormLanguage,FormTabs,FormTab,FormSteps,FormStepsControls,FormStepsControl,FormStep,FormElements,ElementLayout,ElementLayoutInline,ElementLoader,ElementLabelFloating,ElementLabel,ElementInfo,ElementDescription,ElementError,ElementMessage,ElementText,DragAndDrop,ElementAddon,DatepickerWrapper,EditorWrapper,ButtonElement,CheckboxElement,CheckboxgroupElement,DateElement,DatesElement,FileElement,GenericElement,GroupElement,HiddenElement,ListElement,LocationElement,MultifileElement,MultiselectElement,ObjectElement,RadioElement,RadiogroupElement,SelectElement,SliderElement,StaticElement,TagsElement,TextareaElement,TextElement,ToggleElement,EditorElement,TTextareaElement,TTextElement,TEditorElement,CheckboxgroupCheckbox,FilePreview,RadiogroupRadio},components=Object.freeze({__proto__:null,default:index$3,Vueform:VueformComponent,FormErrors,FormMessages,FormLanguages,FormLanguage,FormTabs,FormTab,FormSteps,FormStepsControls,FormStepsControl,FormStep,FormElements,ElementLayout,ElementLayoutInline,ElementLoader,ElementLabelFloating,ElementLabel,ElementInfo,ElementDescription,ElementError,ElementMessage,ElementText,DragAndDrop,ElementAddon,DatepickerWrapper,EditorWrapper,ButtonElement,CheckboxElement,CheckboxgroupElement,DateElement,DatesElement,FileElement,GenericElement,GroupElement,HiddenElement,ListElement,LocationElement,MultifileElement,MultiselectElement,ObjectElement,RadioElement,RadiogroupElement,SelectElement,SliderElement,StaticElement,TagsElement,TextareaElement,TextElement,ToggleElement,EditorElement,TTextareaElement,TTextElement,TEditorElement,CheckboxgroupCheckbox,FilePreview,RadiogroupRadio});function defineConfig(a){return a}installer(void 0,{Vueform:VueformComponent,FormElements});var vueform$1=installer(void 0,_objectSpread2$1({},components),_objectSpread2$1({},rules));const en={vueform:{elements:{list:{add:"+ Add",remove:"&times;"},file:{defaultName:"File",dndTitle:"Upload file",dndDescription:"Drop file or click here to upload",removeConfirm:"By removing the file it will be permanently deleted. Are you sure to continue?",select:"Select file",upload:"Upload"},multifile:{uploadButton:"Upload files",dndTitle:"Upload files",dndDescription:"Drop files or click here to upload"},gallery:{uploadButton:"Upload images",dndTitle:"Upload images",dndDescription:"Drop images or click here to upload"}},steps:{finish:"Finish",next:"Next",previous:"Previous"},editor:{acceptedMimesError:"Accepted mimes are: :mimes",acceptedExtensionsError:"Accepted extenions are: :extensions"},datepicker:{weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(a){var i=a%100;if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute"},dateFormats:{datetimeSeconds24:"YYYY-MM-DD HH:mm:ss",datetimeSeconds12:"YYYY-MM-DD hh:mm:ss a",datetime24:"YYYY-MM-DD HH:mm",datetime12:"YYYY-MM-DD hh:mm a",timeSeconds24:"HH:mm:ss",timeSeconds12:"hh:mm:ss a",time24:"HH:mm",time12:"hh:mm a",date:"YYYY-MM-DD"},multiselect:{multipleLabelOne:"1 option selected",multipleLabelMore:":options options selected",noResults:"No options found",noOptions:"The list is empty"},defaultMessage:"Invalid field",a11y:{file:{description:"Press Backspace to remove"},list:{remove:"Remove item button"}}},validation:{accepted:"The :attribute must be accepted.",active_url:"The :attribute is not a valid URL.",after:"The :attribute must be a date after :date.",after_or_equal:"The :attribute must be a date after or equal to :date.",alpha:"The :attribute may only contain letters.",alpha_dash:"The :attribute may only contain letters, numbers, dashes and underscores.",alpha_num:"The :attribute may only contain letters and numbers.",array:"The :attribute must be an array.",before:"The :attribute must be a date before :date.",before_or_equal:"The :attribute must be a date before or equal to :date.",between:{numeric:"The :attribute must be between :min and :max.",file:"The :attribute must be between :min and :max kilobytes.",string:"The :attribute must be between :min and :max characters.",array:"The :attribute must have between :min and :max items."},boolean:"The :attribute field must be true or false.",confirmed:"The :attribute confirmation does not match.",date:"The :attribute is not a valid date.",date_format:"The :attribute does not match the format :format.",date_equals:"The :attribute must be equal to :date.",different:"The :attribute and :other must be different.",digits:"The :attribute must be :digits digits.",digits_between:"The :attribute must be between :min and :max digits.",dimensions:"The :attribute has invalid image dimensions.",distinct:"The :attribute field has a duplicate value.",email:"The :attribute must be a valid email address.",exists:"The selected :attribute is invalid.",file:"The :attribute must be a file.",filled:"The :attribute field must have a value.",gt:{numeric:"The :attribute must be greater than :value.",file:"The :attribute must be greater than :value kilobytes.",string:"The :attribute must be greater than :value characters.",array:"The :attribute must have more than :value items."},gte:{numeric:"The :attribute must be greater than or equal :value.",file:"The :attribute must be greater than or equal :value kilobytes.",string:"The :attribute must be greater than or equal :value characters.",array:"The :attribute must have :value items or more."},image:"The :attribute must be an image.",in:"The selected :attribute is invalid.",in_array:"The :attribute field does not exist in :other.",integer:"The :attribute must be an integer.",ip:"The :attribute must be a valid IP address.",ipv4:"The :attribute must be a valid IPv4 address.",ipv6:"The :attribute must be a valid IPv6 address.",json:"The :attribute must be a valid JSON string.",lt:{numeric:"The :attribute must be less than :value.",file:"The :attribute must be less than :value kilobytes.",string:"The :attribute must be less than :value characters.",array:"The :attribute must have less than :value items."},lte:{numeric:"The :attribute must be less than or equal :value.",file:"The :attribute must be less than or equal :value kilobytes.",string:"The :attribute must be less than or equal :value characters.",array:"The :attribute must not have more than :value items."},max:{numeric:"The :attribute may not be greater than :max.",file:"The :attribute may not be greater than :max kilobytes.",string:"The :attribute may not be greater than :max characters.",array:"The :attribute may not have more than :max items."},mimes:"The :attribute must be a file of type: :values.",mimetypes:"The :attribute must be a file of type: :values.",min:{numeric:"The :attribute must be at least :min.",file:"The :attribute must be at least :min kilobytes.",string:"The :attribute must be at least :min characters.",array:"The :attribute must have at least :min items."},not_in:"The selected :attribute is invalid.",not_regex:"The :attribute format is invalid.",numeric:"The :attribute must be a number.",present:"The :attribute field must be present.",regex:"The :attribute format is invalid.",required:"The :attribute field is required.",required_if:"The :attribute field is required when :other is :value.",required_unless:"The :attribute field is required unless :other is in :values.",required_with:"The :attribute field is required when :values is present.",required_with_all:"The :attribute field is required when :values are present.",required_without:"The :attribute field is required when :values is not present.",required_without_all:"The :attribute field is required when none of :values are present.",same:"The :attribute and :other must match.",size:{numeric:"The :attribute must be :size.",file:"The :attribute must be :size kilobytes.",string:"The :attribute must be :size characters.",array:"The :attribute must contain :size items."},string:"The :attribute must be a string.",timezone:"The :attribute must be a valid zone.",unique:"The :attribute has already been taken.",uploaded:"The :attribute failed to upload.",url:"The :attribute format is invalid.",uuid:"The :attribute must be a valid UUID.",remote:"The :attribute field is invalid."}};/*!
* Vueform v1.9.2 (https://github.com/vueform/vueform)
* Copyright (c) 2024 Adam Berecz <adam@vueform.com>
* Licensed under the MIT License
*/var script$20={data(){return{merge:!0,defaultClasses:{form:""}}}};function render$X(a,i,u,c,d,m){const f=resolveComponent("FormElements");return openBlock(),createElementBlock("form",{class:normalizeClass(a.classes.form),onSubmit:i[0]||(i[0]=withModifiers((...v)=>a.submit&&a.submit(...v),["prevent"]))},[renderSlot(a.$slots,"empty",{classes:a.classes},()=>[a.showMessages?(openBlock(),createBlock(resolveDynamicComponent("FormMessages"),{key:0})):createCommentVNode("v-if",!0),a.showErrors?(openBlock(),createBlock(resolveDynamicComponent("FormErrors"),{key:1})):createCommentVNode("v-if",!0),a.showLanguages?(openBlock(),createBlock(resolveDynamicComponent("FormLanguages"),{key:2})):createCommentVNode("v-if",!0),a.showTabs?(openBlock(),createBlock(resolveDynamicComponent("FormTabs"),{key:3})):createCommentVNode("v-if",!0),a.showSteps?(openBlock(),createBlock(resolveDynamicComponent("FormSteps"),{key:4})):createCommentVNode("v-if",!0),createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"default")]),_:3}),a.showStepsControls?(openBlock(),createBlock(resolveDynamicComponent("FormStepsControls"),{key:5})):createCommentVNode("v-if",!0)])],34)}script$20.render=render$X;script$20.__file="themes/blank/templates/Vueform.vue";var script$1$={name:"Vueform",render:script$20.render,data(){return{merge:!0,defaultClasses:{form:""}}}};script$1$.__file="themes/vueform/templates/Vueform.vue";var script$1_={name:"FormErrors",data(){return{merge:!0,defaultClasses:{container:"",error:""}}}};const _hoisted_1$H=["innerHTML"];function render$W(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.errors,(f,v,g)=>(openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.error),innerHTML:f,key:g},null,10,_hoisted_1$H))),128))],2)}script$1_.render=render$W;script$1_.__file="themes/blank/templates/FormErrors.vue";var script$1Z={name:"FormErrors",render:script$1_.render,data(){return{merge:!0,defaultClasses:{container:"vf-errors",container_sm:"vf-errors-sm",container_md:"",container_lg:"vf-errors-lg",error:"",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}};function styleInject(a,i){i===void 0&&(i={});var u=i.insertAt;if(!(!a||typeof document>"u")){var c=document.head||document.getElementsByTagName("head")[0],d=document.createElement("style");d.type="text/css",u==="top"&&c.firstChild?c.insertBefore(d,c.firstChild):c.appendChild(d),d.styleSheet?d.styleSheet.cssText=a:d.appendChild(document.createTextNode(a))}}var css_248z$Y=`.vf-errors {
background: var(--vf-bg-danger);
color: var(--vf-color-danger);
border-radius: var(--vf-radius-input);
margin-bottom: var(--vf-gutter);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
padding: 0.5rem 0.75rem;
}
.vf-errors.vf-errors-sm {
border-radius: var(--vf-radius-input-sm);
margin-bottom: var(--vf-gutter-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
padding: 0.5rem 0.75rem;
}
.vf-errors.vf-errors-lg {
border-radius: var(--vf-radius-input-lg);
margin-bottom: var(--vf-gutter-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
padding: 0.75rem 1rem;
}`;styleInject(css_248z$Y);script$1Z.__file="themes/vueform/templates/FormErrors.vue";var script$1Y={name:"FormMessages",data(){return{merge:!0,defaultClasses:{container:"",message:""}}}};const _hoisted_1$G=["innerHTML"];function render$V(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.messages,(f,v,g)=>(openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.message),innerHTML:f,key:g},null,10,_hoisted_1$G))),128))],2)}script$1Y.render=render$V;script$1Y.__file="themes/blank/templates/FormMessages.vue";var script$1X={name:"FormMessages",render:script$1Y.render,data(){return{merge:!0,defaultClasses:{container:"vf-messages",container_sm:"vf-messages-sm",container_md:"",container_lg:"vf-messages-lg",message:"",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$X=`.vf-messages {
background: var(--vf-bg-success);
color: var(--vf-color-success);
border-radius: var(--vf-radius-input);
margin-bottom: var(--vf-gutter);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
padding: 0.5rem 0.75rem;
}
.vf-messages.vf-messages-sm {
border-radius: var(--vf-radius-input-sm);
margin-bottom: var(--vf-gutter-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
padding: 0.5rem 0.75rem;
}
.vf-messages.vf-messages-lg {
border-radius: var(--vf-radius-input-lg);
margin-bottom: var(--vf-gutter-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
padding: 0.75rem 1rem;
}`;styleInject(css_248z$X);script$1X.__file="themes/vueform/templates/FormMessages.vue";var script$1W={name:"FormLanguages",data(){return{merge:!0,defaultClasses:{container:""}}}};function render$U(a,i,u,c,d,m){const f=resolveComponent("FormLanguage");return openBlock(),createElementBlock("ul",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.languages,(v,g,y)=>(openBlock(),createBlock(f,{language:v,code:g,key:y,onSelect:a.handleSelect},null,8,["language","code","onSelect"]))),128))])],2)}script$1W.render=render$U;script$1W.__file="themes/blank/templates/FormLanguages.vue";var script$1V={name:"FormLanguages",render:script$1W.render,data(){return{merge:!0,defaultClasses:{container:"vf-languages",container_sm:"vf-languages-sm",container_md:"",container_lg:"vf-languages-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$W=`.vf-languages {
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
padding: 0;
margin: 0 0 var(--vf-gutter-lg) 0;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-languages.vf-languages-sm {
margin: 0 0 var(--vf-gutter) 0;
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-languages.vf-languages-lg {
margin: 0 0 var(--vf-gutter-lg) 0;
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}`;styleInject(css_248z$W);script$1V.__file="themes/vueform/templates/FormLanguages.vue";var script$1U={name:"FormLanguage",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};function render$T(a,i,u,c,d,m){return openBlock(),createElementBlock("li",{class:normalizeClass(a.classes.container)},[createBaseVNode("a",{href:"#",class:normalizeClass(a.classes.wrapper),onClick:i[0]||(i[0]=withModifiers((...f)=>a.select&&a.select(...f),["prevent"]))},toDisplayString(a.language),3)],2)}script$1U.render=render$T;script$1U.__file="themes/blank/templates/FormLanguage.vue";var script$1T={name:"FormLanguage",render:script$1U.render,data(){return{merge:!0,defaultClasses:{container:"vf-language",wrapper:"vf-language-wrapper",wrapper_sm:"vf-language-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-language-wrapper-lg",wrapper_active:"vf-language-wrapper-active",wrapper_inactive:"",$wrapper:(a,{selected:i,Size:u})=>[a.wrapper,a[`wrapper_${u}`],i?a.wrapper_active:a.wrapper_inactive]}}}},css_248z$V=`.vf-language {
flex-grow: 1;
flex-shrink: 1;
width: 100%;
}
.vf-language-wrapper {
padding: 0.5rem 1rem;
display: block;
margin-left: 1px;
margin-right: 1px;
text-decoration: none;
border-bottom: 2px solid transparent;
color: var(--vf-color-input);
text-align: center;
}
.vf-language-wrapper:hover {
text-decoration: none;
}
.vf-language-wrapper.vf-language-wrapper-sm {
padding: 0.375rem 0.875rem;
}
.vf-language-wrapper.vf-language-wrapper-lg {
padding: 0.5rem 1rem;
}
.vf-language-wrapper.vf-language-wrapper-active {
border-color: var(--vf-primary);
}
.vf-language-wrapper.vf-language-wrapper-invalid {
border-color: var(--vf-danger);
color: var(--vf-color-danger);
}`;styleInject(css_248z$V);script$1T.__file="themes/vueform/templates/FormLanguage.vue";var script$1S={name:"FormTabs",data(){return{merge:!0,defaultClasses:{container:""}}}};function render$S(a,i,u,c,d,m){const f=resolveComponent("FormTab");return openBlock(),createElementBlock("ul",{class:normalizeClass(a.classes.container),role:"tablist"},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.tabs,(v,g,y)=>(openBlock(),createBlock(f,mergeProps(v,{name:g,index:y,key:g}),null,16,["name","index"]))),128))])],2)}script$1S.render=render$S;script$1S.__file="themes/blank/templates/FormTabs.vue";var script$1R={name:"FormTabs",render:script$1S.render,data(){return{merge:!0,defaultClasses:{container:"vf-tabs",container_sm:"vf-tabs-sm",container_md:"",container_lg:"vf-tabs-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$U=`.vf-tabs {
display: flex;
align-items: flex-end;
list-style: none;
padding: 0;
margin: 0 0 var(--vf-gutter) 0;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-tabs.vf-tabs-sm {
margin: 0 0 var(--vf-gutter) 0;
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-tabs.vf-tabs-lg {
margin: 0 0 var(--vf-gutter-lg) 0;
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}`;styleInject(css_248z$U);script$1R.__file="themes/vueform/templates/FormTabs.vue";var script$1Q={name:"FormTab",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$F=["aria-selected"],_hoisted_2$q={key:0},_hoisted_3$f=["innerHTML"];function render$R(a,i,u,c,d,m){return withDirectives((openBlock(),createElementBlock("li",{class:normalizeClass(a.classes.container)},[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),tabindex:"0",role:"tab","aria-selected":a.active,onClick:i[0]||(i[0]=withModifiers((...f)=>a.select&&a.select(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys(withModifiers((...f)=>a.select&&a.select(...f),["prevent"]),["enter","space"]))},[renderSlot(a.$slots,"default",{},()=>[createCommentVNode(" If label is a component "),a.isLabelComponent?(openBlock(),createElementBlock("span",_hoisted_2$q,[(openBlock(),createBlock(resolveDynamicComponent(a.tabLabel),{form$:a.form$},null,8,["form$"]))])):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is HTML "),createBaseVNode("span",{innerHTML:a.tabLabel},null,8,_hoisted_3$f)],2112))])],42,_hoisted_1$F)],2)),[[vShow,a.visible]])}script$1Q.render=render$R;script$1Q.__file="themes/blank/templates/FormTab.vue";var script$1P={name:"FormTab",render:script$1Q.render,data(){return{merge:!0,defaultClasses:{container:"vf-tab",wrapper:"vf-tab-wrapper",wrapper_active:"vf-tab-wrapper-active",wrapper_inactive:"",wrapper_valid:"",wrapper_invalid:"vf-tab-wrapper-invalid",wrapper_sm:"vf-tab-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-tab-wrapper-lg",$container:(a,{})=>[a.container],$wrapper:(a,{active:i,invalid:u,Size:c})=>[a.wrapper,a[`wrapper_${c}`],i?a.wrapper_active:a.wrapper_inactive,u?a.wrapper_invalid:a.wrapper_valid]}}}},css_248z$T=`.vf-tab-wrapper {
padding: 0.5rem 1rem;
display: block;
margin-left: 1px;
margin-right: 1px;
text-decoration: none;
border-bottom: 2px solid transparent;
color: var(--vf-color-input);
}
.vf-tab-wrapper:hover {
text-decoration: none;
}
.vf-tab-wrapper.vf-tab-wrapper-sm {
padding: 0.375rem 0.875rem;
}
.vf-tab-wrapper.vf-tab-wrapper-lg {
padding: 0.5rem 1rem;
}
.vf-tab-wrapper.vf-tab-wrapper-active {
border-color: var(--vf-primary);
}
.vf-tab-wrapper.vf-tab-wrapper-invalid {
border-color: var(--vf-danger);
color: var(--vf-color-danger);
}`;styleInject(css_248z$T);script$1P.__file="themes/vueform/templates/FormTab.vue";var script$1O={name:"FormSteps",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};function render$Q(a,i,u,c,d,m){const f=resolveComponent("FormStep");return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container),role:"tablist"},[createBaseVNode("ul",{class:normalizeClass(a.classes.wrapper)},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.steps,(v,g)=>(openBlock(),createBlock(f,mergeProps(v,{name:g,key:g}),null,16,["name"]))),128))])],2)],2)}script$1O.render=render$Q;script$1O.__file="themes/blank/templates/FormSteps.vue";var script$1N={name:"FormSteps",render:script$1O.render,data(){return{merge:!0,defaultClasses:{container:"vf-steps-container",container_sm:"vf-steps-container-sm",container_md:"",container_lg:"vf-steps-container-lg",wrapper:"vf-steps-wrapper",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$S=`.vf-steps-container {
width: 100%;
position: relative;
margin: 0 0 var(--vf-gutter-lg) 0;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-steps-container:before {
content: " ";
display: inline-block;
background: var(--vf-bg-passive);
position: absolute;
top: 0.375rem;
left: 0.125rem;
right: 0.125rem;
height: 0.25rem;
}
.vf-steps-container.vf-steps-container-sm {
margin: 0 0 var(--vf-gutter) 0;
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-steps-container.vf-steps-container-lg {
margin: 0 0 var(--vf-gutter-lg) 0;
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-steps-wrapper {
list-style: none;
display: flex;
justify-content: space-between;
padding: 0;
overflow-x: auto;
}`;styleInject(css_248z$S);script$1N.__file="themes/vueform/templates/FormSteps.vue";var script$1M={name:"FormStepsControls",data(){return{merge:!0,defaultClasses:{container:""}}}};function render$P(a,i,u,c,d,m){const f=resolveComponent("FormStepsControl");return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[createVNode(f,{type:"previous",labels:a.labels},{default:withCtx(()=>[renderSlot(a.$slots,"previous")]),_:3},8,["labels"]),createVNode(f,{type:"next",labels:a.labels},{default:withCtx(()=>[renderSlot(a.$slots,"next")]),_:3},8,["labels"]),createVNode(f,{type:"finish",labels:a.labels},{default:withCtx(()=>[renderSlot(a.$slots,"finish")]),_:3},8,["labels"])],2)}script$1M.render=render$P;script$1M.__file="themes/blank/templates/FormStepsControls.vue";var script$1L={name:"FormStepsControls",render:script$1M.render,data(){return{merge:!0,defaultClasses:{container:"vf-steps-controls",container_sm:"vf-steps-controls-sm",container_md:"",container_lg:"vf-steps-controls-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$R=`.vf-steps-controls {
display: flex;
justify-content: space-between;
margin: var(--vf-gutter-lg) 0 0 0;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-steps-controls.vf-steps-controls-sm {
margin: var(--vf-gutter) 0 0 0;
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-md);
}
.vf-steps-controls.vf-steps-controls-lg {
margin: var(--vf-gutter-lg) 0 0 0;
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}`;styleInject(css_248z$R);script$1L.__file="themes/vueform/templates/FormStepsControls.vue";var script$1K={name:"FormStepsControl",data(){return{merge:!0,defaultClasses:{button:""}}}};const _hoisted_1$E=["disabled"],_hoisted_2$p=["innerHTML","disabled"],_hoisted_3$e=["disabled"];function render$O(a,i,u,c,d,m){return openBlock(),createElementBlock(Fragment,null,[createCommentVNode(" If label is a component "),a.visible&&a.label&&a.isLabelComponent?(openBlock(),createElementBlock("button",{key:0,disabled:a.isDisabled,class:normalizeClass(a.classes.button),onClick:i[0]||(i[0]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys(withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]),["enter","space"]))},[(openBlock(),createBlock(resolveDynamicComponent(a.label),{step$:a.current$},null,8,["step$"]))],42,_hoisted_1$E)):a.visible&&a.label?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is HTML "),createBaseVNode("button",{innerHTML:a.label,disabled:a.isDisabled,class:normalizeClass(a.classes.button),onClick:i[2]||(i[2]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"])),onKeypress:i[3]||(i[3]=withKeys(withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]),["enter","space"]))},null,42,_hoisted_2$p)],2112)):a.visible?(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" If label is a slot "),createBaseVNode("button",{disabled:a.isDisabled,class:normalizeClass(a.classes.button),onClick:i[4]||(i[4]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"])),onKeypress:i[5]||(i[5]=withKeys(withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]),["enter","space"]))},[renderSlot(a.$slots,"default")],42,_hoisted_3$e)],2112)):createCommentVNode("v-if",!0)],2112)}script$1K.render=render$O;script$1K.__file="themes/blank/templates/FormStepsControl.vue";var script$1J={name:"FormStepsControl",render:script$1K.render,data(){return{merge:!0,defaultClasses:{button:"vf-btn",button_previous:"",button_previous_enabled:"vf-btn-secondary",button_previous_disabled:"vf-btn-secondary vf-btn-disabled",button_next:"",button_next_enabled:"vf-btn-primary",button_next_disabled:"vf-btn-primary vf-btn-disabled",button_next_loading:"vf-btn-loading vf-btn-loading-primary",button_finish:"",button_finish_enabled:"vf-btn-primary",button_finish_disabled:"vf-btn-primary vf-btn-disabled",button_finish_loading:"vf-btn-loading vf-btn-loading-primary",button_sm:"vf-btn-sm",button_md:"",button_lg:"vf-btn-lg",$button:(a,{isDisabled:i,isLoading:u,type:c,Size:d})=>[a.button,a[`button_${d}`],a[`button_${c}`],i?a[`button_${c}_disabled`]:a[`button_${c}_enabled`],u?a[`button_${c}_loading`]:null]}}}};script$1J.__file="themes/vueform/templates/FormStepsControl.vue";var script$1I={name:"FormStep",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$D=["tabindex","aria-selected"],_hoisted_2$o={key:0},_hoisted_3$d=["innerHTML"];function render$N(a,i,u,c,d,m){return a.visible?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass(a.classes.container)},[createBaseVNode("a",{href:"",class:normalizeClass(a.classes.wrapper),tabindex:a.isDisabled?-1:0,role:"tab","aria-selected":a.active,onClick:i[0]||(i[0]=withModifiers((...f)=>a.select&&a.select(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys(withModifiers((...f)=>a.select&&a.select(...f),["prevent"]),["enter","space"]))},[renderSlot(a.$slots,"default",{},()=>[createCommentVNode(" If label is a component "),a.isLabelComponent?(openBlock(),createElementBlock("span",_hoisted_2$o,[(openBlock(),createBlock(resolveDynamicComponent(a.stepLabel),{form$:a.form$},null,8,["form$"]))])):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is HTML "),createBaseVNode("span",{innerHTML:a.stepLabel},null,8,_hoisted_3$d)],2112))])],42,_hoisted_1$D)],2)):createCommentVNode("v-if",!0)}script$1I.render=render$N;script$1I.__file="themes/blank/templates/FormStep.vue";var script$1H={name:"FormStep",render:script$1I.render,data(){return{merge:!0,defaultClasses:{container:"vf-step",wrapper:"",container_active:"vf-step-active",container_inactive:"",container_invalid:"vf-step-invalid",container_valid:"",container_disabled:"vf-step-disabled",container_enabled:"",container_completed:"vf-step-completed",container_incompleted:"",container_pending:"vf-step-pending",$container:(a,{active:i,isDisabled:u,completed:c,invalid:d,pending:m})=>[a.container,i?a.container_active:a.container_inactive,u?a.container_disabled:a.container_enabled,c?a.container_completed:a.container_incompleted,d?a.container_invalid:a.container_valid,m?a.container_pending:null]}}}},css_248z$Q=`.vf-step {
display: block;
position: relative;
white-space: nowrap;
flex: 1 1;
text-align: center;
padding: 1.25rem 0.625rem 0;
}
.vf-step a {
text-decoration: none !important;
color: inherit;
}
.vf-step a:hover, .vf-step a:focus, .vf-step a:active {
text-decoration: none !important;
color: inherit;
}
.vf-step a:before {
content: " ";
display: inline-block;
width: 1rem;
height: 1rem;
position: absolute;
background: var(--vf-primary);
border-radius: 50%;
left: 50%;
transform: translateX(-50%);
top: 0px;
}
.vf-step a:after {
content: " ";
display: inline-block;
width: 0.5rem;
height: 0.5rem;
position: absolute;
background: #FFFFFF;
border-radius: 50%;
left: calc(50% - 0.25rem);
transform: scale(0);
top: 0.25rem;
transition: transform 0.3s ease-in-out;
}
.vf-step:first-of-type {
padding-left: 0;
text-align: left;
}
.vf-step:first-of-type:before {
display: none;
}
.vf-step:first-of-type:after {
left: 0;
}
.vf-step:first-of-type a:before {
left: 0;
transform: none;
}
.vf-step:first-of-type a:after {
left: 0.25rem;
transform: scale(0);
}
.vf-step:last-of-type {
padding-right: 0;
text-align: right;
}
.vf-step:last-of-type:after {
display: none;
}
.vf-step:last-of-type:before {
right: 0;
}
.vf-step:last-of-type a:before {
right: 0;
left: auto;
left: initial;
transform: none;
}
.vf-step:last-of-type a:after {
left: auto;
left: initial;
transform: scale(0);
right: 0.25rem;
}
.vf-step.vf-step-disabled:before {
background: var(--vf-bg-passive);
left: -100%;
}
.vf-step.vf-step-disabled a {
color: var(--vf-color-passive);
}
.vf-step.vf-step-disabled a:before {
background: var(--vf-bg-passive);
}
.vf-step.vf-step-completed + .vf-step:not(.vf-step-completed):before {
content: " ";
display: inline-block;
background: var(--vf-primary);
position: absolute;
top: 0.375rem;
left: 0px;
right: 50%;
height: 0.25rem;
}
.vf-step.vf-step-completed + .vf-step:last-of-type:before {
right: 0px;
}
.vf-step.vf-step-completed:before {
content: " ";
display: inline-block;
background: var(--vf-primary);
position: absolute;
top: 0.375rem;
left: 0px;
right: 0px;
height: 0.25rem;
}
.vf-step.vf-step-completed a:after {
mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" class="svg-inline--fa fa-check fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>');
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" class="svg-inline--fa fa-check fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>');
mask-size: 0.5rem 0.5rem;
-webkit-mask-size: 0.5rem 0.5rem;
mask-position: 0 0;
-webkit-mask-position: 0 0;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
background-color: var(--vf-color-on-primary);
border-radius: 0;
transform: scale(1);
}
.vf-step.vf-step-active a:after {
mask-image: none;
-webkit-mask-image: none;
background-color: var(--vf-color-on-primary);
top: 0.25rem;
transform: scale(1);
border-radius: 50%;
}
.vf-step.vf-step-invalid a {
color: var(--vf-bg-btn-danger);
}
.vf-step.vf-step-invalid a:before {
background-color: var(--vf-bg-btn-danger);
}
.vf-step.vf-step-invalid a:after {
mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation" class="svg-inline--fa fa-exclamation fa-w-6" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="white" d="M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"></path></svg>');
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation" class="svg-inline--fa fa-exclamation fa-w-6" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="white" d="M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"></path></svg>');
mask-size: 0.5rem 0.5rem;
-webkit-mask-size: 0.5rem 0.5rem;
mask-position: 0 0;
-webkit-mask-position: 0 0;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
background-color: var(--vf-color-btn-danger);
width: 0.5rem;
height: 0.5rem;
top: 0.25rem;
border-radius: 0;
}
.vf-step.vf-step-invalid.vf-step-active a:after {
mask-image: none;
-webkit-mask-image: none;
background-color: var(--vf-color-on-primary);
transform: scale(1);
border-radius: 50%;
}
.vf-step.vf-step-pending a:after {
animation: 1s linear infinite step-loading;
background: var(--vf-color-btn-danger);
top: 0.25rem;
border-radius: 50%;
}
@keyframes step-loading {
0% {
transform: scale(0.5);
}
20% {
transform: scale(1.2);
}
100% {
transform: scale(0.5);
}
}`;styleInject(css_248z$Q);script$1H.__file="themes/vueform/templates/FormStep.vue";var script$1G={name:"FormElements",data(){return{merge:!0,defaultClasses:{container:""}}}};function render$M(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.schema,(f,v)=>(openBlock(),createBlock(resolveDynamicComponent(a.component(f)),mergeProps(f,{name:v,key:v}),null,16,["name"]))),128))])],2)}script$1G.render=render$M;script$1G.__file="themes/blank/templates/FormElements.vue";var script$1F={name:"FormElements",render:script$1G.render,data(){return{merge:!0,defaultClasses:{container:"vf-row",container_sm:"vf-row-sm",container_md:"",container_lg:"vf-row-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$P="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$P);script$1F.__file="themes/vueform/templates/FormElements.vue";var script$1E={name:"ElementLayout",data(){return{merge:!0,defaultClasses:{container:"",outerWrapper:"",innerContainer:"",innerWrapperBefore:"",innerWrapper:"",innerWrapperAfter:""}}}};function render$L(a,i,u,c,d,m){const f=resolveComponent("ElementLabel"),v=resolveComponent("ElementText"),g=resolveComponent("ElementDescription"),y=resolveComponent("ElementError"),b=resolveComponent("ElementMessage");return withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("div",{class:normalizeClass(a.classes.outerWrapper)},[createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"label")]),info:withCtx(()=>[renderSlot(a.$slots,"info")]),_:3}),createBaseVNode("div",{class:normalizeClass(a.classes.innerContainer)},[createBaseVNode("div",{class:normalizeClass(a.classes.innerWrapperBefore)},[createVNode(v,{type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"before")]),_:3})],2),createBaseVNode("div",{class:normalizeClass(a.classes.innerWrapper)},[renderSlot(a.$slots,"element")],2),createBaseVNode("div",{class:normalizeClass(a.classes.innerWrapperAfter)},[createVNode(v,{type:"between"},{default:withCtx(()=>[renderSlot(a.$slots,"between")]),_:3}),createVNode(g,null,{default:withCtx(()=>[renderSlot(a.$slots,"description")]),_:3}),createVNode(y),createVNode(b),createVNode(v,{type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"after")]),_:3})],2)],2)],2)],2)),[[vShow,a.visible]])}script$1E.render=render$L;script$1E.__file="themes/blank/templates/ElementLayout.vue";var script$1D={name:"ElementLayout",render:script$1E.render,data(){return{merge:!0,defaultClasses:{container:"vf-element-layout",container_sm:"vf-element-layout-sm",container_md:"",container_lg:"vf-element-layout-lg",container_error:"vf-element-layout-error",outerWrapper:"vf-element-layout-outer-wrapper",innerContainer:"vf-layout-inner-container",innerWrapperBefore:"vf-layout-inner-wrapper-before",innerWrapper:"vf-layout-inner-wrapper",innerWrapperAfter:"vf-layout-inner-wrapper-after",$container:(a,{el$:i,Size:u})=>[a.container,a[`container_${u}`],i.columnsClasses.container,i.classes.container,!i.isStatic&&i.errors&&i.errors.length?a.container_error:null],$innerContainer:(a,{el$:i})=>[a.innerContainer,i.columnsClasses.innerContainer],$innerWrapper:(a,{el$:i})=>[a.innerWrapper,i.columnsClasses.wrapper]}}}},css_248z$O=`/* Some styles are contained in Vueform.vue */
.vf-element-layout {
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-element-layout.vf-element-layout-sm {
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-element-layout.vf-element-layout-lg {
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-layout-inner-container {
flex: 1 1 0%;
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
}
.vf-layout-inner-container .vf-layout-inner-wrapper,
.vf-layout-inner-container .vf-layout-inner-wrapper-before,
.vf-layout-inner-container .vf-layout-inner-wrapper-after {
padding-left: 0;
padding-right: 0;
}
.vf-layout-inner-wrapper-before,
.vf-layout-inner-wrapper-after {
grid-column: span 12/span 12;
padding-left: var(--vf-gutter);
padding-right: var(--vf-gutter);
}
.vf-element-layout-outer-wrapper {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
}`;styleInject(css_248z$O);script$1D.__file="themes/vueform/templates/ElementLayout.vue";var script$1C={name:"ElementLayoutInline",data(){return{merge:!0,defaultClasses:{container:""}}}};function render$K(a,i,u,c,d,m){const f=resolveComponent("ElementLabel"),v=resolveComponent("ElementText"),g=resolveComponent("ElementDescription"),y=resolveComponent("ElementError"),b=resolveComponent("ElementMessage");return withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(a.classes.container)},[createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"label")]),_:3}),createVNode(v,{type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"before")]),_:3}),renderSlot(a.$slots,"element"),createVNode(v,{type:"between"},{default:withCtx(()=>[renderSlot(a.$slots,"between")]),_:3}),createVNode(g,null,{default:withCtx(()=>[renderSlot(a.$slots,"description")]),_:3}),createVNode(y),createVNode(b),createVNode(v,{type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"after")]),_:3})],2)),[[vShow,a.visible]])}script$1C.render=render$K;script$1C.__file="themes/blank/templates/ElementLayoutInline.vue";var script$1B={name:"ElementLayoutInline",render:script$1C.render,data(){return{merge:!0,defaultClasses:{container:"vf-inline-layout",container_error:"has-error",$container:(a,{el$:i})=>[a.container,!i.isStatic&&i.errors&&i.errors.length?a.container_error:null]}}}},css_248z$N=`.vf-inline-layout {
display: flex;
}`;styleInject(css_248z$N);script$1B.__file="themes/vueform/templates/ElementLayoutInline.vue";var script$1A={name:"ElementLoader",data(){return{merge:!0,defaultClasses:{container:"",loader:""}}}};function render$J(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("span",{class:normalizeClass(a.classes.loader)},null,2)],2)}script$1A.render=render$J;script$1A.__file="themes/blank/templates/ElementLoader.vue";var script$1z={name:"ElementLoader",render:script$1A.render,data(){return{merge:!0,defaultClasses:{container:"vf-element-loader-container",loader:"vf-element-loader",loader_sm:"vf-element-loader-sm",loader_md:"",loader_lg:"vf-element-loader-lg",$loader:(a,{Size:i})=>[a.loader,a[`loader_${i}`]]}}}},css_248z$M=`.vf-element-loader-container {
position: relative;
z-index: 1;
order: 1;
}
.vf-element-loader {
position: absolute;
width: 1rem;
height: 1rem;
display: block;
right: var(--vf-px-input);
top: 50%;
transform: translateY(-50%);
}
.vf-element-loader:before, .vf-element-loader:after {
position: absolute;
content: "";
top: 50%;
left: 50%;
margin: -0.5rem 0 0 -0.5rem;
width: 1rem;
height: 1rem;
border-radius: 100%;
border-color: var(--vf-primary) transparent transparent;
border-style: solid;
border-width: 2px;
box-shadow: 0 0 0 1px transparent;
box-sizing: border-box;
}
.vf-element-loader:before {
animation: vf-element-loader 2.4s infinite cubic-bezier(0.41, 0.26, 0.2, 0.62);
}
.vf-element-loader:after {
animation: vf-element-loader 2.4s infinite cubic-bezier(0.51, 0.09, 0.21, 0.8);
}
.vf-element-loader.vf-element-loader-sm {
right: var(--vf-px-input-sm);
}
.vf-element-loader.vf-element-loader-lg {
right: var(--vf-px-input-lg);
}
@keyframes vf-element-loader {
from {
transform: rotate(0);
}
to {
transform: rotate(2turn);
}
}`;styleInject(css_248z$M);script$1z.__file="themes/vueform/templates/ElementLoader.vue";var script$1y={name:"ElementLabelFloating",data(){return{merge:!0,defaultClasses:{container:"",label:""}}}};const _hoisted_1$C=["innerHTML"];function render$I(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("span",{class:normalizeClass(a.classes.label),innerHTML:a.floating},null,10,_hoisted_1$C)],2)}script$1y.render=render$I;script$1y.__file="themes/blank/templates/ElementLabelFloating.vue";var script$1x={name:"ElementLabelFloating",render:script$1y.render,data(){return{merge:!0,defaultClasses:{container:"vf-floating-wrapper",label:"vf-floating-label",label_enabled:"",label_disabled:"vf-floating-label-disabled",label_danger:"vf-floating-label-danger",label_success:"vf-floating-label-success",label_focused:"vf-floating-label-focus",label_sm:"vf-floating-label-sm",label_md:"",label_lg:"vf-floating-label-lg",label_invisible:"",label_visible:"vf-floating-label-visible",$label:(a,{visible:i,Size:u,el$:c})=>[a.label,a[`label_${u}`],i?a.label_visible:a.label_invisible,c.focused?a.label_focused:null,!c.isDisabled&&!c.isDanger&&!c.isSuccess?a.label_enabled:null,c.isDisabled?a.label_disabled:null,c.isDanger?a.label_danger:null,c.isSuccess?a.label_success:null]}}}},css_248z$L=`.vf-floating-wrapper {
position: relative;
}
.vf-floating-label {
position: absolute;
z-index: 1;
left: var(--vf-px-input);
font-size: 0.6875rem;
background-color: var(--vf-bg-input);
padding: 0 1px;
line-height: 1px;
transition-property: box-shadow, color, background-color, border-color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 200ms;
opacity: 0;
visibility: hidden;
white-space: nowrap;
color: var(--vf-color-floating);
margin-top: var(--vf-floating-top);
}
.vf-floating-label.vf-floating-label-visible {
opacity: 1;
visibility: visible;
}
.vf-floating-label.vf-floating-label-sm {
left: var(--vf-px-input-sm);
margin-top: var(--vf-floating-top-sm);
}
.vf-floating-label.vf-floating-label-lg {
left: var(--vf-px-input-lg);
margin-top: var(--vf-floating-top-lg);
background-color: transparent !important;
}
.vf-floating-label.vf-floating-label-disabled {
background-color: var(--vf-bg-disabled);
}
.vf-floating-label.vf-floating-label-focus {
background-color: var(--vf-bg-input-focus);
color: var(--vf-color-floating-focus);
}
.vf-floating-label.vf-floating-label-danger {
background-color: var(--vf-bg-input-danger);
color: var(--vf-color-floating-danger);
}
.vf-floating-label.vf-floating-label-success {
background-color: var(--vf-bg-input-success);
color: var(--vf-color-floating-success);
}
.vf-input-group .vf-floating-label {
top: calc(var(--vf-border-width-input-t) * -1);
}
[dir=rtl] .vf-floating-label {
left: auto;
right: var(--vf-px-input);
}
[dir=rtl] .vf-floating-label.vf-floating-label-sm {
left: auto;
right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-floating-label.vf-floating-label-lg {
left: auto;
right: var(--vf-px-input-lg);
}`;styleInject(css_248z$L);script$1x.__file="themes/vueform/templates/ElementLabelFloating.vue";var script$1w={name:"ElementLabel",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$B=["for","id"],_hoisted_2$n=["for","id"],_hoisted_3$c=["innerHTML"],_hoisted_4$7=["for","id"],_hoisted_5$5=["for","id"];function render$H(a,i,u,c,d,m){const f=resolveComponent("ElementInfo");return openBlock(),createElementBlock(Fragment,null,[createCommentVNode(" If label is a component "),a.label&&a.isLabelComponent?(openBlock(),createElementBlock("label",{key:0,class:normalizeClass(a.classes.container),for:a.name,id:a.id},[createBaseVNode("span",{class:normalizeClass(a.classes.wrapper)},[a.isLabelComponent?(openBlock(),createBlock(resolveDynamicComponent(a.label),{key:0})):createCommentVNode("v-if",!0)],2),createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"info")]),_:3})],10,_hoisted_1$B)):a.label?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is HTML "),createBaseVNode("label",{class:normalizeClass(a.classes.container),for:a.name,id:a.id},[createBaseVNode("span",{class:normalizeClass(a.classes.wrapper),innerHTML:a.label},null,10,_hoisted_3$c),createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"info")]),_:3})],10,_hoisted_2$n)],2112)):a.isSlot?(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" If label is a slot "),createBaseVNode("label",{class:normalizeClass(a.classes.container),for:a.name,id:a.id},[createBaseVNode("span",{class:normalizeClass(a.classes.wrapper)},[renderSlot(a.$slots,"default")],2),createVNode(f,null,{default:withCtx(()=>[renderSlot(a.$slots,"info")]),_:3})],10,_hoisted_4$7)],2112)):a.hasLabel?(openBlock(),createElementBlock(Fragment,{key:3},[createCommentVNode(" If labels are forced but has no value "),createBaseVNode("label",{class:normalizeClass(a.classes.container),for:a.name,id:a.id},null,10,_hoisted_5$5)],2112)):createCommentVNode("v-if",!0)],2112)}script$1w.render=render$H;script$1w.__file="themes/blank/templates/ElementLabel.vue";var script$1v={name:"ElementLabel",render:script$1w.render,data(){return{merge:!0,defaultClasses:{container:"vf-label",container_sm:"vf-label-sm",container_md:"",container_lg:"vf-label-lg",container_horizontal_sm:"vf-horizontal-label-sm",container_horizontal_md:"vf-horizontal-label",container_horizontal_lg:"vf-horizontal-label-lg",container_vertical_sm:"vf-vertical-label-sm",container_vertical_md:"vf-vertical-label",container_vertical_lg:"vf-vertical-label-lg",wrapper:"",$container:(a,{el$:i,Size:u})=>[a.container,a[`container_${u}`],i.inline?null:i.columnsClasses.label,i.cols.default.label<12?a[`container_horizontal_${u}`]:a[`container_vertical_${u}`],...Object.keys(i.cols).length>1?(i.$vueform.config.breakpoints||["sm","md","lg","xl","2xl"]).map(c=>{var d;return(d=i.cols[c])!=null&&d.label?i.cols[c].label<12?a[`container_horizontal_${u}`].map(m=>`vf-${c}:${m}`).join(" "):a[`container_vertical_${u}`].map(m=>`vf-${c}:${m}`).join(" "):null}):[]]}}}},css_248z$K="/* Styles can be found at scss/_label.scss */";styleInject(css_248z$K);script$1v.__file="themes/vueform/templates/ElementLabel.vue";var script$1u={name:"ElementInfo",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",content:""}}}};const _hoisted_1$A=["id"],_hoisted_2$m=["innerHTML"];function render$G(a,i,u,c,d,m){return a.info||a.isSlot?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.container),onMouseover:i[0]||(i[0]=(...f)=>a.handleMouseOver&&a.handleMouseOver(...f))},[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),id:a.id},[a.isSlot?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.content)},[renderSlot(a.$slots,"default")],2)):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.content),innerHTML:a.info},null,10,_hoisted_2$m))],10,_hoisted_1$A)],34)):createCommentVNode("v-if",!0)}script$1u.render=render$G;script$1u.__file="themes/blank/templates/ElementInfo.vue";var script$1t={name:"ElementInfo",render:script$1u.render,data(){return{merge:!0,defaultClasses:{container:"vf-element-info",wrapper:"vf-element-info-wrapper",wrapper_left:"vf-element-info-wrapper-left",wrapper_right:"vf-element-info-wrapper-right",wrapper_top:"vf-element-info-wrapper-top",wrapper_bottom:"vf-element-info-wrapper-bottom",content:"vf-element-info-content",$wrapper:(a,{position:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$J=`.vf-element-info {
margin-left: 0.25rem;
position: relative;
top: 1px;
cursor: pointer;
}
.vf-element-info:before {
content: "";
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='15px' height='14px' viewBox='0 0 15 14' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M7.40520349,0.18129431 C11.1501134,0.18129431 14.1864373,3.21871306 14.1864373,6.96252814 C14.1864373,10.7085329 11.1501134,13.743762 7.40520349,13.743762 C3.6602936,13.743762 0.62396966,10.7085329 0.62396966,6.96252814 C0.62396966,3.21871306 3.6602936,0.18129431 7.40520349,0.18129431 Z M7.40520349,3.18909964 C6.77093148,3.18909964 6.25676873,3.70326238 6.25676873,4.3375344 C6.25676873,4.97180642 6.77093148,5.48596916 7.40520349,5.48596916 C8.03947551,5.48596916 8.55363825,4.97180642 8.55363825,4.3375344 C8.55363825,3.70326238 8.03947551,3.18909964 7.40520349,3.18909964 Z M8.93644984,10.1343956 L8.93644984,9.47814714 C8.93644984,9.29694183 8.78953094,9.15002293 8.60832562,9.15002293 L8.28020141,9.15002293 L8.28020141,6.41565445 C8.28020141,6.23444913 8.13328251,6.08753023 7.95207719,6.08753023 L6.20208136,6.08753023 C6.02087604,6.08753023 5.87395714,6.23444913 5.87395714,6.41565445 L5.87395714,7.07190288 C5.87395714,7.2531082 6.02087604,7.4000271 6.20208136,7.4000271 L6.53020558,7.4000271 L6.53020558,9.15002293 L6.20208136,9.15002293 C6.02087604,9.15002293 5.87395714,9.29694183 5.87395714,9.47814714 L5.87395714,10.1343956 C5.87395714,10.3156009 6.02087604,10.4625198 6.20208136,10.4625198 L8.60832562,10.4625198 C8.78953094,10.4625198 8.93644984,10.3156009 8.93644984,10.1343956 Z' id='info-circle' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='15px' height='14px' viewBox='0 0 15 14' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M7.40520349,0.18129431 C11.1501134,0.18129431 14.1864373,3.21871306 14.1864373,6.96252814 C14.1864373,10.7085329 11.1501134,13.743762 7.40520349,13.743762 C3.6602936,13.743762 0.62396966,10.7085329 0.62396966,6.96252814 C0.62396966,3.21871306 3.6602936,0.18129431 7.40520349,0.18129431 Z M7.40520349,3.18909964 C6.77093148,3.18909964 6.25676873,3.70326238 6.25676873,4.3375344 C6.25676873,4.97180642 6.77093148,5.48596916 7.40520349,5.48596916 C8.03947551,5.48596916 8.55363825,4.97180642 8.55363825,4.3375344 C8.55363825,3.70326238 8.03947551,3.18909964 7.40520349,3.18909964 Z M8.93644984,10.1343956 L8.93644984,9.47814714 C8.93644984,9.29694183 8.78953094,9.15002293 8.60832562,9.15002293 L8.28020141,9.15002293 L8.28020141,6.41565445 C8.28020141,6.23444913 8.13328251,6.08753023 7.95207719,6.08753023 L6.20208136,6.08753023 C6.02087604,6.08753023 5.87395714,6.23444913 5.87395714,6.41565445 L5.87395714,7.07190288 C5.87395714,7.2531082 6.02087604,7.4000271 6.20208136,7.4000271 L6.53020558,7.4000271 L6.53020558,9.15002293 L6.20208136,9.15002293 C6.02087604,9.15002293 5.87395714,9.29694183 5.87395714,9.47814714 L5.87395714,10.1343956 C5.87395714,10.3156009 6.02087604,10.4625198 6.20208136,10.4625198 L8.60832562,10.4625198 C8.78953094,10.4625198 8.93644984,10.3156009 8.93644984,10.1343956 Z' id='info-circle' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
mask-position: center center;
-webkit-mask-position: center center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-bg-passive);
width: 0.875rem;
height: 0.875rem;
display: inline-block;
}
.vf-element-info:hover .vf-element-info-wrapper {
opacity: 1;
visibility: visible;
}
.vf-element-info-wrapper {
position: absolute;
opacity: 0;
visibility: hidden;
transition: 0.3s;
z-index: 999;
width: 12.5rem;
}
.vf-element-info-wrapper.vf-element-info-wrapper-left {
top: -0.5625rem;
right: 1.375rem;
}
.vf-element-info-wrapper.vf-element-info-wrapper-right {
top: -0.5625rem;
left: 1.375rem;
}
.vf-element-info-wrapper.vf-element-info-wrapper-top {
bottom: 1.375rem;
left: 50%;
transform: translateX(-50%);
}
.vf-element-info-wrapper.vf-element-info-wrapper-bottom {
top: 1.375rem;
left: 50%;
transform: translateX(-50%);
}
.vf-element-info-content {
background: rgba(0, 0, 0, 0.85);
color: #FFFFFF;
border-radius: var(--vf-radius-small);
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
padding: 0.3125rem 0.625rem;
font-style: normal;
display: inline-block;
position: relative;
}
.vf-element-info-content:after {
right: 100%;
top: 0.625rem;
border: solid transparent;
content: "";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(0, 0, 0, 0);
border-right-color: rgba(0, 0, 0, 0.85);
border-width: 5px;
}`;styleInject(css_248z$J);script$1t.__file="themes/vueform/templates/ElementInfo.vue";var script$1s={name:"ElementDescription",data(){return{merge:!0,defaultClasses:{container:""}}}};const _hoisted_1$z=["innerHTML","id"],_hoisted_2$l=["id"];function render$F(a,i,u,c,d,m){return openBlock(),createElementBlock(Fragment,null,[createCommentVNode(" If description is HTML "),a.description?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.container),innerHTML:a.description,id:a.id},null,10,_hoisted_1$z)):a.isSlot?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If description is a slot "),createBaseVNode("div",{class:normalizeClass(a.classes.container),id:a.id},[renderSlot(a.$slots,"default")],10,_hoisted_2$l)],2112)):createCommentVNode("v-if",!0)],2112)}script$1s.render=render$F;script$1s.__file="themes/blank/templates/ElementDescription.vue";var script$1r={name:"ElementDescription",render:script$1s.render,data(){return{merge:!0,defaultClasses:{container:"vf-description",container_sm:"vf-description-sm",container_md:"",container_lg:"vf-description-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$I=`.vf-description {
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
color: var(--vf-color-muted);
margin-top: 0.25rem;
}
.vf-description.vf-description-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
margin-top: 0.125rem;
}
.vf-description.vf-description-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
}`;styleInject(css_248z$I);script$1r.__file="themes/vueform/templates/ElementDescription.vue";var script$1q={name:"ElementError",data(){return{merge:!0,defaultClasses:{container:""}}}};const _hoisted_1$y=["id","innerHTML"];function render$E(a,i,u,c,d,m){return a.error?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.container),id:a.id,"aria-live":"assertive",innerHTML:a.error},null,10,_hoisted_1$y)):createCommentVNode("v-if",!0)}script$1q.render=render$E;script$1q.__file="themes/blank/templates/ElementError.vue";var script$1p={name:"ElementError",render:script$1q.render,data(){return{merge:!0,defaultClasses:{container:"vf-element-error",container_sm:"vf-element-error-sm",container_md:"",container_lg:"vf-element-error-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$H=`.vf-element-error {
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
color: var(--vf-color-danger);
margin-top: 0.25rem;
}
.vf-element-error.vf-element-error-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
margin-top: 0.125rem;
}
.vf-element-error.vf-element-error-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
}`;styleInject(css_248z$H);script$1p.__file="themes/vueform/templates/ElementError.vue";var script$1o={name:"ElementMessage",data(){return{merge:!0,defaultClasses:{container:""}}}};const _hoisted_1$x=["innerHTML"];function render$D(a,i,u,c,d,m){return a.message?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.container),innerHTML:a.message},null,10,_hoisted_1$x)):createCommentVNode("v-if",!0)}script$1o.render=render$D;script$1o.__file="themes/blank/templates/ElementMessage.vue";var script$1n={name:"ElementMessage",render:script$1o.render,data(){return{merge:!0,defaultClasses:{container:"vf-element-message",container_sm:"vf-element-message-sm",container_md:"",container_lg:"vf-element-message-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$G=`.vf-element-message {
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
color: var(--vf-color-success);
margin-top: 0.25rem;
}
.vf-element-message.vf-element-message-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
margin-top: 0.125rem;
}
.vf-element-message.vf-element-message-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
}`;styleInject(css_248z$G);script$1n.__file="themes/vueform/templates/ElementMessage.vue";var script$1m={name:"ElementText",data(){return{merge:!0,defaultClasses:{container:""}}}};const _hoisted_1$w=["innerHTML"];function render$C(a,i,u,c,d,m){return openBlock(),createElementBlock(Fragment,null,[createCommentVNode(" If content is HTML "),a.content?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.container),innerHTML:a.content},null,10,_hoisted_1$w)):a.isSlot?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If content is a slot "),createBaseVNode("div",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default")],2)],2112)):createCommentVNode("v-if",!0)],2112)}script$1m.render=render$C;script$1m.__file="themes/blank/templates/ElementText.vue";var script$1l={name:"ElementText",render:script$1m.render,data(){return{merge:!0,defaultClasses:{container:"",container_before:"",container_between:"",container_after:"",$container:(a,{type:i})=>[a.container,a[`container_${i}`]]}}}};script$1l.__file="themes/vueform/templates/ElementText.vue";var script$1k={name:"ElementAddon",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$v=["innerHTML"];function render$B(a,i,u,c,d,m){return openBlock(),createElementBlock(Fragment,null,[createCommentVNode(" If addon is a component "),a.addon&&a.isAddonComponent?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.container)},[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[(openBlock(),createBlock(resolveDynamicComponent(a.addon)))],2)],2)):a.addon?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If addon is HTML "),createBaseVNode("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),innerHTML:a.addon},null,10,_hoisted_1$v)],2)],2112)):a.isSlot?(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" If addon is a slot "),createBaseVNode("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[renderSlot(a.$slots,"default")],2)],2)],2112)):createCommentVNode("v-if",!0)],2112)}script$1k.render=render$B;script$1k.__file="themes/blank/templates/ElementAddon.vue";var script$1j={name:"ElementAddon",render:script$1k.render,data(){return{merge:!0,defaultClasses:{container:"vf-addon",container_before:"vf-addon-before",container_after:"vf-addon-after",container_sm:"vf-addon-sm",container_md:"",container_lg:"vf-addon-lg",container_before_sm:"",container_before_md:"",container_before_lg:"",container_after_sm:"",container_after_md:"",container_after_lg:"",wrapper:"vf-addon-wrapper",$container:(a,{type:i,Size:u})=>[a.container,a[`container_${u}`],a[`container_${i}`],a[`container_${i}_${u}`]]}}}},css_248z$F=`.vf-addon {
background: var(--vf-bg-addon);
color: var(--vf-color-addon);
border-radius: var(--vf-radius-input);
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 0%;
}
.vf-addon.vf-addon-before {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
padding: 0 var(--vf-space-addon) 0 var(--vf-px-input);
}
.vf-addon.vf-addon-before.vf-addon-sm {
padding: 0 var(--vf-space-addon-sm) 0 var(--vf-px-input-sm);
}
.vf-addon.vf-addon-before.vf-addon-lg {
padding: 0 var(--vf-space-addon-lg) 0 var(--vf-px-input-lg);
}
.vf-addon.vf-addon-after {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
padding: 0 var(--vf-px-input) 0 var(--vf-space-addon);
order: 2;
}
.vf-addon.vf-addon-after.vf-addon-sm {
padding: 0 var(--vf-px-input-sm) 0 var(--vf-space-addon-sm);
}
.vf-addon.vf-addon-after.vf-addon-lg {
padding: 0 var(--vf-px-input-lg) 0 var(--vf-space-addon-lg);
}
.vf-addon-wrapper {
display: flex;
align-items: center;
justify-content: center;
}`;styleInject(css_248z$F);script$1j.__file="themes/vueform/templates/ElementAddon.vue";var script$1i={name:"ButtonElement",data(){return{merge:!0,defaultClasses:{container:"",button:""}}}};const _hoisted_1$u=["tabindex","disabled"],_hoisted_2$k=["innerHTML","tabindex","disabled"],_hoisted_3$b=["tabindex","disabled"],_hoisted_4$6=["tabindex"],_hoisted_5$4=["innerHTML","tabindex"],_hoisted_6$3=["tabindex"];function render$A(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createCommentVNode(" Use `button` tag "),a.buttonType==="button"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" Use it as a component "),a.buttonLabel&&a.isButtonLabelComponent?(openBlock(),createElementBlock("button",mergeProps({key:0},{...a.button,...a.aria},{tabindex:a.isDisabled||a.isLoading?-1:void 0,disabled:a.isDisabled,class:a.classes.button,onClick:i[0]||(i[0]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]))}),[(openBlock(),createBlock(resolveDynamicComponent(a.buttonLabel)))],16,_hoisted_1$u)):a.buttonLabel?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Use it as HTML "),createBaseVNode("button",mergeProps({...a.button,...a.aria},{innerHTML:a.buttonLabel,tabindex:a.isDisabled||a.isLoading?-1:void 0,class:a.classes.button,disabled:a.isDisabled,onClick:i[1]||(i[1]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]))}),null,16,_hoisted_2$k)],2112)):(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" Use it as slot "),createBaseVNode("button",mergeProps({...a.button,...a.aria},{tabindex:a.isDisabled||a.isLoading?-1:void 0,class:a.classes.button,disabled:a.isDisabled,onClick:i[2]||(i[2]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"]))}),[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.default),{el$:a.el$},null,8,["el$"]))])],16,_hoisted_3$b)],2112))],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Use `anchor` tag "),createCommentVNode(" Use it as a component "),a.buttonLabel&&a.isButtonLabelComponent?(openBlock(),createElementBlock("a",mergeProps({key:0},{...a.button,...a.aria},{tabindex:a.isDisabled||a.isLoading?-1:void 0,class:a.classes.button,onClick:i[3]||(i[3]=(...f)=>a.handleClick&&a.handleClick(...f))}),[(openBlock(),createBlock(resolveDynamicComponent(a.buttonLabel)))],16,_hoisted_4$6)):a.buttonLabel?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Use it as HTML "),createBaseVNode("a",mergeProps({...a.button,...a.aria},{innerHTML:a.buttonLabel,tabindex:a.isDisabled||a.isLoading?-1:void 0,class:a.classes.button,onClick:i[4]||(i[4]=(...f)=>a.handleClick&&a.handleClick(...f))}),null,16,_hoisted_5$4)],2112)):(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" Use it as slot "),createBaseVNode("a",mergeProps({...a.button,...a.aria},{tabindex:a.isDisabled||a.isLoading?-1:void 0,class:a.classes.button,onClick:i[5]||(i[5]=(...f)=>a.handleClick&&a.handleClick(...f))}),[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.default),{el$:a.el$},null,8,["el$"]))])],16,_hoisted_6$3)],2112))],64))]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$1i.render=render$A;script$1i.__file="themes/blank/templates/elements/ButtonElement.vue";var script$1h={name:"ButtonElement",render:script$1i.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",button:"vf-btn",button_enabled:"",button_disabled:"vf-btn-disabled",button_loading:"vf-btn-loading",button_loading_primary:"vf-btn-loading-primary",button_loading_secondary:"vf-btn-loading-secondary",button_loading_danger:"vf-btn-loading-danger",button_primary:"vf-btn-primary",button_secondary:"vf-btn-secondary",button_danger:"vf-btn-danger",button_full:"vf-btn-full",button_not_full:"",button_left:"vf-btn-left",button_center:"vf-btn-center",button_right:"vf-btn-right",button_sm:"vf-btn-sm",button_md:"",button_lg:"vf-btn-lg",$button:(a,{isDisabled:i,isLoading:u,buttonClass:c,Size:d,danger:m,secondary:f,full:v,align:g})=>[a.button,m?a.button_danger:null,f?a.button_secondary:null,!m&&!f?a.button_primary:null,a[`button_${d}`],i?a.button_disabled:null,!i&&!u?a.button_enabled:null,u?a.button_loading:null,u&&m?a.button_loading_danger:null,u&&f?a.button_loading_secondary:null,u&&!f&&!m?a.button_loading_primary:null,v?a.button_full:a.button_not_full,g==="left"?a.button_left:null,g==="center"?a.button_center:null,g==="right"?a.button_right:null,c]}}}},css_248z$E="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$E);script$1h.__file="themes/vueform/templates/elements/ButtonElement.vue";var script$1g={name:"CheckboxElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text:""}}}};const _hoisted_1$t=["name","id","true-value","false-value","disabled"],_hoisted_2$j=["innerHTML"];function render$z(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("label",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",mergeProps({type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=f=>a.value=f)},a.aria,{class:a.classes.input,name:a.path,id:a.fieldId,"true-value":a.trueValue,"false-value":a.falseValue,disabled:a.isDisabled,ref:"input"}),null,16,_hoisted_1$t),[[vModelCheckbox,a.value]]),createCommentVNode(" If label is HTML "),a.Text?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.text),innerHTML:a.Text},null,10,_hoisted_2$j)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is slot "),createBaseVNode("span",{class:normalizeClass(a.classes.text)},[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.default),{el$:a.el$},null,8,["el$"]))])],2)],2112))],2)]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$1g.render=render$z;script$1g.__file="themes/blank/templates/elements/CheckboxElement.vue";var script$1f={name:"CheckboxElement",render:script$1g.render,data(){return{merge:!0,defaultClasses:{container:"vf-contains-link",wrapper:"vf-checkbox-wrapper",wrapper_sm:"vf-checkbox-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-checkbox-wrapper-lg",wrapper_left:"vf-checkbox-wrapper-left",wrapper_right:"vf-checkbox-wrapper-right",input:"vf-checkbox",input_enabled:"",input_disabled:"",input_danger:"vf-checkbox-danger",input_sm:"vf-checkbox-sm",input_md:"",input_lg:"vf-checkbox-lg",input_left:"vf-checkbox-left",input_right:"vf-checkbox-right",text:"vf-checkbox-text",text_left:"vf-checkbox-text-left",text_right:"vf-checkbox-text-right",$wrapper:(a,{Size:i,align:u})=>[a.wrapper,a[`wrapper_${i}`],u==="left"?a.wrapper_left:null,u==="right"?a.wrapper_right:null],$input:(a,{isDisabled:i,Size:u,isDanger:c,align:d})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled,!i&&c?a.input_danger:null,d==="left"?a.input_left:null,d==="right"?a.input_right:null],$text:(a,{align:i})=>[a.text,i==="left"?a.text_left:null,i==="right"?a.text_right:null]}}}},css_248z$D="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$D);script$1f.__file="themes/vueform/templates/elements/CheckboxElement.vue";var script$1e={name:"CheckboxgroupElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$s=["aria-labelledby"];function render$y(a,i,u,c,d,m){const f=resolveComponent("CheckboxgroupCheckbox");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),"aria-labelledby":a.labelId,role:"group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.resolvedOptions,(v,g,y)=>(openBlock(),createBlock(f,{items:a.resolvedOptions,index:g,item:v,value:v.value,key:y,attrs:a.aria},{default:withCtx(b=>[renderSlot(a.$slots,"checkbox",mergeProps(b,{el$:a.el$}),()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.checkbox),mergeProps(b,{el$:a.el$}),null,16,["el$"]))])]),_:2},1032,["items","index","item","value","attrs"]))),128))],10,_hoisted_1$s)]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$1e.render=render$y;script$1e.__file="themes/blank/templates/elements/CheckboxgroupElement.vue";var script$1d={name:"CheckboxgroupElement",render:script$1e.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-checkboxgroup-wrapper",wrapper_sm:"vf-checkboxgroup-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-checkboxgroup-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$C=`.vf-checkboxgroup-wrapper {
cursor: pointer;
}
.vf-checkboxgroup-wrapper .vf-checkbox-container {
padding-top: 0;
}`;styleInject(css_248z$C);script$1d.__file="themes/vueform/templates/elements/CheckboxgroupElement.vue";var script$1c={name:"CheckboxgroupElement_tabs",render:script$1e.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-checkboxgroup-tabs-wrapper",wrapper_sm:"vf-checkboxgroup-tabs-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-checkboxgroup-tabs-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$B=`.vf-checkboxgroup-tabs-wrapper {
display: grid;
grid-auto-flow: column;
box-shadow: var(--vf-shadow-input);
border-radius: var(--vf-radius-large);
}
.vf-checkboxgroup-tabs-wrapper.vf-checkboxgroup-tabs-wrapper-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-checkboxgroup-tabs-wrapper.vf-checkboxgroup-tabs-wrapper-lg {
border-radius: var(--vf-radius-large-lg);
}`;styleInject(css_248z$B);script$1c.__file="themes/vueform/templates/elements/CheckboxgroupElement_tabs.vue";var script$1b={name:"CheckboxgroupElement_blocks",render:script$1e.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-checkboxgroup-blocks-wrapper",wrapper_sm:"vf-checkboxgroup-blocks-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-checkboxgroup-blocks-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$A=`.vf-checkboxgroup-blocks-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
box-shadow: var(--vf-shadow-input);
border-radius: var(--vf-radius-large);
}
.vf-checkboxgroup-blocks-wrapper.vf-checkboxgroup-blocks-wrapper-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-checkboxgroup-blocks-wrapper.vf-checkboxgroup-blocks-wrapper-lg {
border-radius: var(--vf-radius-large-lg);
}`;styleInject(css_248z$A);script$1b.__file="themes/vueform/templates/elements/CheckboxgroupElement_blocks.vue";var script$1a={name:"DateElement",data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",inputWrapper:"",input:""}}}};function render$x(a,i,u,c,d,m){const f=resolveComponent("ElementAddon"),v=resolveComponent("ElementLabelFloating"),g=resolveComponent("DatepickerWrapper");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.inputContainer)},[a.hasAddonBefore?(openBlock(),createBlock(f,{key:0,type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-before",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-before"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasAddonAfter?(openBlock(),createBlock(f,{key:1,type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-after",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-after"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasFloating&&!a.empty?(openBlock(),createBlock(v,{key:2,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(a.classes.inputWrapper)},[createVNode(g,{value:a.model,options:a.fieldOptions,id:a.fieldId,class:normalizeClass(a.classes.input),placeholder:a.Placeholder,disabled:a.isDisabled,readonly:a.readonly,attrs:a.aria,onChange:a.handleChange,ref:"input"},null,8,["value","options","id","class","placeholder","disabled","readonly","attrs","onChange"])],2)],2)]),_:2},[renderList(a.elementSlots,(y,b)=>({name:b,fn:withCtx(()=>[renderSlot(a.$slots,b,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(y),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$1a.render=render$x;script$1a.__file="themes/blank/templates/elements/DateElement.vue";var script$19={name:"DateElement",render:script$1a.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",inputWrapper:"vf-datepicker-wrapper",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$z=`/* Some styles are contained in Vueform.vue & DatepickerWrapper.vue */
.vf-datepicker-wrapper {
display: block;
width: 100%;
height: 100%;
}`;styleInject(css_248z$z);script$19.__file="themes/vueform/templates/elements/DateElement.vue";var script$18={name:"DatesElement",render:script$1a.render,staticRenderFns:script$1a.staticRenderFns,data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};script$18.__file="themes/blank/templates/elements/DatesElement.vue";var script$17={name:"DatesElement",render:script$18.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",inputWrapper:"vf-datepicker-wrapper",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$y="/* Some styles are contained in Vueform.vue & DatepickerWrapper.vue */";styleInject(css_248z$y);script$17.__file="themes/vueform/templates/elements/DatesElement.vue";var script$16={name:"FileElement",data(){return{merge:!0,defaultClasses:{container:"",button:""}}}};const _hoisted_1$r=["aria-labelledby","aria-placeholder"],_hoisted_2$i=["id","accept"];function render$w(a,i,u,c,d,m){const f=resolveComponent("DragAndDrop"),v=resolveComponent("FilePreview");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createCommentVNode(" Drag n drop "),a.drop&&a.canDrop&&a.canSelect?(openBlock(),createBlock(f,{key:0,title:a.form$.translations.vueform.elements[a.type].dndTitle,description:a.form$.translations.vueform.elements[a.type].dndDescription,disabled:a.isDisabled,onClick:a.handleClick,onDrop:a.handleDrop},null,8,["title","description","disabled","onClick","onDrop"])):a.canSelect?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Upload button "),createBaseVNode("div",mergeProps(a.aria,{class:a.classes.button,"aria-labelledby":a.labelId,"aria-placeholder":a.form$.translations.vueform.elements[a.type].select,onClick:i[0]||(i[0]=withModifiers((...g)=>a.handleClick&&a.handleClick(...g),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...g)=>a.handleClick&&a.handleClick(...g),["enter","space"])),role:"button",tabindex:"0"}),toDisplayString(a.form$.translations.vueform.elements[a.type].select),17,_hoisted_1$r)],2112)):createCommentVNode("v-if",!0),createCommentVNode(" Hidden file input "),a.canSelect&&!a.isDisabled&&!a.preparing?withDirectives((openBlock(),createElementBlock("input",{key:2,id:a.fieldId,type:"file",accept:a.accept,onChange:i[2]||(i[2]=(...g)=>a.handleChange&&a.handleChange(...g)),ref:"input"},null,40,_hoisted_2$i)),[[vShow,!1]]):createCommentVNode("v-if",!0),createCommentVNode(" Preview "),renderSlot(a.$slots,"preview",{},()=>[(openBlock(),createBlock(v,{key:a.view,attrs:a.aria},null,8,["attrs"]))])]),_:2},[renderList(a.elementSlots,(g,y)=>({name:y,fn:withCtx(()=>[renderSlot(a.$slots,y,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(g),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$16.render=render$w;script$16.__file="themes/blank/templates/elements/FileElement.vue";var script$15={name:"FileElement",render:script$16.render,data(){return{merge:!0,defaultClasses:{container:"vf-file vf-text-type",container_removing:"vf-file-removing",button:"vf-btn vf-btn-secondary",button_enabled:"",button_disabled:"vf-btn-disabled",button_sm:"vf-btn-sm",button_md:"",button_lg:"vf-btn-lg",assertiveText:"vf-assertive-text",$container:(a,{removing:i})=>[a.container,i?a.container_removing:null],$button:(a,{isDisabled:i,preparing:u,Size:c})=>[a.button,a[`button_${c}`],!i&&!u?a.button_enabled:null,i||u?a.button_disabled:null]}}}},css_248z$x="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$x);script$15.__file="themes/vueform/templates/elements/FileElement.vue";var script$14={name:"GroupElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$q=["aria-labelledby"];function render$v(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{multiple:!0,ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),role:"group","aria-labelledby":a.labelId},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.children,(f,v)=>(openBlock(),createBlock(resolveDynamicComponent(a.component(f)),mergeProps(f,{name:v,key:v}),null,16,["name"]))),128))])],10,_hoisted_1$q)]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$14.render=render$v;script$14.__file="themes/blank/templates/elements/GroupElement.vue";var script$13={name:"GroupElement",render:script$14.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-row",wrapper_sm:"vf-row-sm",wrapper_md:"",wrapper_lg:"vf-row-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$w="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$w);script$13.__file="themes/vueform/templates/elements/GroupElement.vue";var script$12={name:"HiddenElement",data(){return{merge:!0,defaultClasses:{}}}};const _hoisted_1$p={key:0,ref:"container"},_hoisted_2$h=["name","id"];function render$u(a,i,u,c,d,m){return a.meta?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$p,[withDirectives(createBaseVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=f=>a.value=f),type:"hidden",name:a.name,id:a.fieldId,ref:"input"},null,8,_hoisted_2$h),[[vModelText,a.value]])],512))}script$12.render=render$u;script$12.__file="themes/blank/templates/elements/HiddenElement.vue";var script$11={name:"HiddenElement",render:script$12.render,data(){return{merge:!0,defaultClasses:{}}}};script$11.__file="themes/vueform/templates/elements/HiddenElement.vue";var script$10={name:"ListElement",data(){return{merge:!0,defaultClasses:{container:"",list:"",listItem:"",handle:"",handleIcon:"",remove:"",removeIcon:"",add:""}}}};const _hoisted_1$o=["aria-labelledby"],_hoisted_2$g=["data-id"],_hoisted_3$a=["aria-roledescription","id","onClick","onKeypress"],_hoisted_4$5=["id","innerHTML"];function render$t(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createCommentVNode(" Sorting container "),createBaseVNode("div",{class:normalizeClass(a.classes.list),role:"list","aria-labelledby":a.labelId,ref:"list"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.value,(f,v)=>(openBlock(),createElementBlock("div",{key:v,class:normalizeClass(a.classes.listItem),role:"listitem","data-id":`${a.path}-${v}`},[renderSlot(a.$slots,"default",{index:v},()=>[a.prototype.type?(openBlock(),createBlock(resolveDynamicComponent(a.component(a.prototype)),mergeProps({key:0},a.prototype,{name:v,key:v}),null,16,["name"])):createCommentVNode("v-if",!0)]),createCommentVNode(" Sort handle "),a.hasSort?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.handle),"data-handle":""},[createBaseVNode("span",{class:normalizeClass(a.classes.handleIcon)},null,2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Remove button "),a.hasRemove?(openBlock(),createElementBlock("div",{key:1,"aria-roledescription":a.form$.translations.vueform.a11y.list.remove,class:normalizeClass(a.classes.remove),id:`${a.path}-${v}-remove-button`,onClick:withModifiers(g=>a.handleRemove(v),["prevent"]),onKeypress:withKeys(g=>a.handleRemove(v),["space","enter"]),role:"button",tabindex:"0"},[createBaseVNode("span",{class:normalizeClass(a.classes.removeIcon)},null,2)],42,_hoisted_3$a)):createCommentVNode("v-if",!0)],10,_hoisted_2$g))),128))],10,_hoisted_1$o),createCommentVNode(" Add button "),a.hasAdd?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.add),id:`${a.fieldId}-add-button`,onClick:i[0]||(i[0]=withModifiers((...f)=>a.handleAdd&&a.handleAdd(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...f)=>a.handleAdd&&a.handleAdd(...f),["enter","space"])),innerHTML:a.addLabel,role:"button",tabindex:"0"},null,42,_hoisted_4$5)):createCommentVNode("v-if",!0)]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$10.render=render$t;script$10.__file="themes/blank/templates/elements/ListElement.vue";var script$$={name:"ListElement",render:script$10.render,data(){return{merge:!0,defaultClasses:{container:"",list:"vf-rowset",list_sm:"vf-rowset-sm",list_md:"",list_lg:"vf-rowset-lg",list_disabled:"vf-list-disabled",list_sorting:"vf-list-sorting",listItem:"vf-row",listItem_sm:"vf-row-sm",listItem_md:"",listItem_lg:"vf-row-lg",handle:"vf-list-handle",handle_sm:"vf-list-handle-sm",handle_md:"",handle_lg:"vf-list-handle-lg",handleIcon:"vf-list-handle-icon",remove:"vf-list-remove",removeIcon:"vf-list-remove-icon",add:"vf-btn vf-btn-primary vf-btn-small vf-btn-list-add",add_sm:"vf-btn-small-sm vf-btn-list-add-sm",add_md:"",add_lg:"vf-btn-small-lg vf-btn-list-add-lg",$list:(a,{isDisabled:i,sorting:u,Size:c})=>[a.list,a[`list_${c}`],i?a.list_disabled:null,u?a.list_sorting:null],$listItem:(a,{Size:i})=>[a.listItem,a[`listItem_${i}`]],$handle:(a,{Size:i})=>[a.handle,a[`handle_${i}`]],$add:(a,{Size:i})=>[a.add,a[`add_${i}`]]}}}},css_248z$v=`/* Some styles are contained in Vueform.vue */
.vf-rowset > .vf-row {
position: relative;
}
.vf-rowset > .vf-row:hover > .vf-list-remove, .vf-rowset > .vf-row:hover > .vf-list-handle {
visibility: visible;
opacity: 1;
}
.vf-rowset.vf-list-sorting > div:hover .vf-list-handle, .vf-rowset.vf-list-sorting > div:hover .vf-list-remove {
visibility: hidden;
opacity: 0;
}
.vf-list-remove, .vf-list-handle {
opacity: 0;
transition: 0.3s;
}
.vf-list-remove span, .vf-list-handle span {
display: flex;
align-items: center;
justify-content: center;
background-repeat: no-repeat;
background-position: center center;
}
.vf-list-remove {
position: absolute;
left: 0;
transform: translateX(-50%) translateY(-50%);
top: 0;
z-index: 999;
background-color: var(--vf-bg-passive);
border-radius: 999px;
transition: 0.15s;
}
.vf-list-remove:hover {
filter: brightness(0.9);
}
.vf-list-remove:focus {
opacity: 1;
}
.vf-list-remove-icon {
display: flex;
width: 1.125rem;
height: 1.125rem;
align-items: center;
justify-content: center;
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.75rem 0.75rem;
-webkit-mask-size: 0.75rem 0.75rem;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
background-color: var(--vf-color-passive);
}
.vf-list-handle {
position: absolute;
left: 0;
transform: translateX(-100%);
top: 0;
cursor: grab;
z-index: 999;
}
.vf-list-handle:active {
cursor: grabbing;
}
.vf-list-handle-icon {
width: var(--vf-min-height-input);
height: var(--vf-min-height-input);
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='11px' height='9px' viewBox='0 0 11 9' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch --%3E%3Ctitle%3Ebars%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M10.0418527,0.894571939 L0.309709821,0.894571939 C0.235791888,0.894571939 0.17578125,0.834156736 0.17578125,0.759740479 L0.17578125,0.220414636 C0.17578125,0.145998379 0.235791888,0.0855831754 0.309709821,0.0855831754 L10.0418527,0.0855831754 C10.1157706,0.0855831754 10.1757812,0.145998379 10.1757812,0.220414636 L10.1757812,0.759740479 C10.1757812,0.834156736 10.1157706,0.894571939 10.0418527,0.894571939 Z M10.0418527,4.8049452 L0.309709821,4.8049452 C0.235791888,4.8049452 0.17578125,4.74453 0.17578125,4.67011374 L0.17578125,4.1307879 C0.17578125,4.05637164 0.235791888,3.99595644 0.309709821,3.99595644 L10.0418527,3.99595644 C10.1157706,3.99595644 10.1757812,4.05637164 10.1757812,4.1307879 L10.1757812,4.67011374 C10.1757812,4.74453 10.1157706,4.8049452 10.0418527,4.8049452 Z M10.0418527,8.80953919 L0.309709821,8.80953919 C0.235791888,8.80953919 0.17578125,8.74912399 0.17578125,8.67470773 L0.17578125,8.13538189 C0.17578125,8.06096563 0.235791888,8.00055043 0.309709821,8.00055043 L10.0418527,8.00055043 C10.1157706,8.00055043 10.1757812,8.06096563 10.1757812,8.13538189 L10.1757812,8.67470773 C10.1757812,8.74912399 10.1157706,8.80953919 10.0418527,8.80953919 Z' id='bars' fill='currentColor' %3E%3C/path%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='11px' height='9px' viewBox='0 0 11 9' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch --%3E%3Ctitle%3Ebars%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M10.0418527,0.894571939 L0.309709821,0.894571939 C0.235791888,0.894571939 0.17578125,0.834156736 0.17578125,0.759740479 L0.17578125,0.220414636 C0.17578125,0.145998379 0.235791888,0.0855831754 0.309709821,0.0855831754 L10.0418527,0.0855831754 C10.1157706,0.0855831754 10.1757812,0.145998379 10.1757812,0.220414636 L10.1757812,0.759740479 C10.1757812,0.834156736 10.1157706,0.894571939 10.0418527,0.894571939 Z M10.0418527,4.8049452 L0.309709821,4.8049452 C0.235791888,4.8049452 0.17578125,4.74453 0.17578125,4.67011374 L0.17578125,4.1307879 C0.17578125,4.05637164 0.235791888,3.99595644 0.309709821,3.99595644 L10.0418527,3.99595644 C10.1157706,3.99595644 10.1757812,4.05637164 10.1757812,4.1307879 L10.1757812,4.67011374 C10.1757812,4.74453 10.1157706,4.8049452 10.0418527,4.8049452 Z M10.0418527,8.80953919 L0.309709821,8.80953919 C0.235791888,8.80953919 0.17578125,8.74912399 0.17578125,8.67470773 L0.17578125,8.13538189 C0.17578125,8.06096563 0.235791888,8.00055043 0.309709821,8.00055043 L10.0418527,8.00055043 C10.1157706,8.00055043 10.1757812,8.06096563 10.1757812,8.13538189 L10.1757812,8.67470773 C10.1757812,8.74912399 10.1157706,8.80953919 10.0418527,8.80953919 Z' id='bars' fill='currentColor' %3E%3C/path%3E%3C/g%3E%3C/svg%3E");
mask-size: 0.7rem 0.7rem;
-webkit-mask-size: 0.7rem 0.7rem;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
background-color: var(--vf-color-passive);
}
.vf-list-handle-sm .vf-list-handle-icon {
width: var(--vf-min-height-input-sm);
height: var(--vf-min-height-input-sm);
}
.vf-list-handle-lg .vf-list-handle-icon {
width: var(--vf-min-height-input-lg);
height: var(--vf-min-height-input-lg);
}
.vf-btn-list-add {
margin-top: var(--vf-gutter);
}
.vf-btn-list-add.vf-btn-list-add-sm {
margin-top: var(--vf-gutter-sm);
}
.vf-btn-list-add.vf-btn-list-add-lg {
margin-top: var(--vf-gutter-lg);
}
.sortable-ghost {
opacity: 0.6;
}`;styleInject(css_248z$v);script$$.__file="themes/vueform/templates/elements/ListElement.vue";var script$_={name:"LocationElement",data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};const _hoisted_1$n=["name","id","placeholder","disabled","readonly","aria-labelledby"];function render$s(a,i,u,c,d,m){const f=resolveComponent("ElementAddon"),v=resolveComponent("ElementLabelFloating");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.inputContainer)},[a.hasAddonBefore?(openBlock(),createBlock(f,{key:0,type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-before",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-before"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasAddonAfter?(openBlock(),createBlock(f,{key:1,type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-after",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-after"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasFloating&&!a.empty?(openBlock(),createBlock(v,{key:2,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({type:"search",name:a.name,id:a.fieldId,class:a.classes.input,placeholder:a.Placeholder,disabled:a.isDisabled,readonly:a.readonly,"aria-labelledby":a.labelId,autocomplete:"off"},a.attrs,{ref:"input",onBlur:i[0]||(i[0]=(...g)=>a.handleLocationBlur&&a.handleLocationBlur(...g))}),null,16,_hoisted_1$n)],2)]),_:2},[renderList(a.elementSlots,(g,y)=>({name:y,fn:withCtx(()=>[renderSlot(a.$slots,y,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(g),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$_.render=render$s;script$_.__file="themes/blank/templates/elements/LocationElement.vue";var script$Z={name:"LocationElement",render:script$_.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$u=`/* Google */
.pac-container {
border-color: var(--vf-border-color-input);
background: var(--vf-bg-input);
}
.pac-item {
display: flex;
align-items: center;
padding: 0.375rem 0.75rem;
border-color: var(--vf-border-color-input);
background: var(--vf-bg-input);
color: var(--vf-color-input);
cursor: pointer;
}
.pac-item > span:last-of-type {
font-size: 0.75rem;
color: var(--vf-color-muted);
}
.pac-item:hover, .pac-item.pac-item-selected {
background: var(--vf-bg-selected);
}
.pac-item-query {
font-size: 0.875rem;
line-height: 1;
margin-right: 0.25rem;
padding-right: 0.25rem;
color: var(--vf-color-input);
}
.pac-icon-marker {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 384 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 384 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'%3e%3c/path%3e%3c/svg%3e");
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
mask-size: contain;
-webkit-mask-size: contain;
background: var(--vf-bg-icon);
width: 0.875rem;
width: 0.875rem;
margin-right: 0.75rem;
margin-top: 0;
padding-top: 1px;
padding-bottom: 1px;
box-sizing: content-box;
flex-shrink: 0;
}
.pac-logo:after {
margin-left: 0.625rem;
margin-right: 0.625rem;
margin-bottom: 0.625rem;
}
.pac-icon, .hdpi .pac-icon {
background-image: none;
}`;styleInject(css_248z$u);script$Z.__file="themes/vueform/templates/elements/LocationElement.vue";var script$Y={name:"MultifileElement",data(){return{merge:!0,defaultClasses:{container:"",list:"",listItem:"",handle:"",handleIcon:"",dnd:"",button:""}}}};const _hoisted_1$m=["aria-labelledby","aria-placeholder"],_hoisted_2$f=["id","accept","disabled"];function render$r(a,i,u,c,d,m){const f=resolveComponent("DragAndDrop");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{multiple:!0,ref:"container"},createSlots({element:withCtx(()=>[createCommentVNode(" Drag n drop "),a.drop&&a.canDrop&&a.hasAdd?(openBlock(),createBlock(f,{key:0,title:a.form$.translations.vueform.elements[a.type].dndTitle,description:a.form$.translations.vueform.elements[a.type].dndDescription,disabled:a.isDisabled,class:normalizeClass(a.classes.dnd),onClick:a.handleClick,onDrop:a.handleDrop},null,8,["title","description","disabled","class","onClick","onDrop"])):a.hasAdd?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Upload button "),createBaseVNode("div",mergeProps(a.aria,{class:a.classes.button,"aria-labelledby":a.labelId,"aria-placeholder":a.form$.translations.vueform.elements.multifile.uploadButton,onClick:i[0]||(i[0]=withModifiers((...v)=>a.handleClick&&a.handleClick(...v),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...v)=>a.handleClick&&a.handleClick(...v),["enter","space"])),role:"button",tabindex:"0"}),toDisplayString(a.form$.translations.vueform.elements.multifile.uploadButton),17,_hoisted_1$m)],2112)):createCommentVNode("v-if",!0),createCommentVNode(" Actual input field "),withDirectives(createBaseVNode("input",{multiple:"",id:a.fieldId,type:"file",onChange:i[2]||(i[2]=(...v)=>a.handleChange&&a.handleChange(...v)),accept:a.accept,disabled:a.isDisabled,ref:"input"},null,40,_hoisted_2$f),[[vShow,!1]]),withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.list),key:`${a.fieldId}-${a.length}`,ref:"list"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.value,(v,g)=>(openBlock(),createElementBlock("div",{key:g,class:normalizeClass(a.classes.listItem)},[a.prototype.type?(openBlock(),createBlock(resolveDynamicComponent(a.component(a.prototype)),mergeProps({key:0},a.prototype,{disabled:!a.hasRemove,embed:!0,name:g,onRemove:y=>a.remove(g)}),null,16,["disabled","name","onRemove"])):createCommentVNode("v-if",!0),createCommentVNode(" Sort handle "),a.hasSort?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.handle),"data-handle":""},[createBaseVNode("span",{class:normalizeClass(a.classes.handleIcon)},null,2)],2)):createCommentVNode("v-if",!0)],2))),128))],2)),[[vShow,!a.empty]])]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$Y.render=render$r;script$Y.__file="themes/blank/templates/elements/MultifileElement.vue";var script$X={name:"MultifileElement",render:script$Y.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",list:"vf-multifile-list",list_sm:"vf-multifile-list-sm",list_md:"",list_lg:"vf-multifile-list-lg",list_file:"vf-multifile-list-file",list_file_sm:"",list_file_md:"",list_file_lg:"",list_image:"vf-multifile-list-image",list_image_sm:"vf-multifile-list-image-sm",list_image_md:"",list_image_lg:"vf-multifile-list-image-lg",list_gallery:"vf-multifile-list-gallery",list_gallery_sm:"vf-multifile-list-gallery-sm",list_gallery_md:"",list_gallery_lg:"vf-multifile-list-gallery-lg",list_disabled:"vf-multifile-list-disabled",list_sorting:"vf-multifile-list-sorting",listItem:"",handle:"",handle_file:"vf-multifile-handle-file",handle_file_sm:"vf-multifile-handle-file-sm",handle_file_md:"",handle_file_lg:"vf-multifile-handle-file-lg",handle_image:"vf-multifile-handle-image",handle_image_sm:"vf-multifile-handle-image-sm",handle_image_md:"",handle_image_lg:"vf-multifile-handle-image-lg",handle_gallery:"vf-multifile-handle-gallery",handle_gallery_sm:"",handle_gallery_md:"",handle_gallery_lg:"",handleIcon:"",handleIcon_file:"vf-multifile-handle-icon-file",handleIcon_image:"vf-multifile-handle-icon-image",handleIcon_gallery:"vf-multifile-handle-icon-gallery",dnd:"",button:"vf-btn vf-btn-secondary",button_enabled:"",button_disabled:"vf-btn-disabled",button_sm:"vf-btn-sm",button_md:"",button_lg:"vf-btn-lg",$list:(a,{isDisabled:i,sorting:u,view:c,Size:d})=>[a.list,a[`list_${d}`],i?a.list_disabled:null,u?a.list_sorting:null,a[`list_${c}`],a[`list_${c}_${d}`]],$handle:(a,{view:i,Size:u})=>[a.handle,a[`handle_${i}`],a[`handle_${i}_${u}`]],$handleIcon:(a,{view:i})=>[a.handleIcon,a[`handleIcon_${i}`]],$button:(a,{isDisabled:i,preparing:u,Size:c})=>[a.button,a[`button_${c}`],!i&&!u?a.button_enabled:null,i||u?a.button_disabled:null]}}}},css_248z$t=`/* Some styles are contained in Vueform.vue */
.vf-multifile-list {
margin-top: var(--vf-gutter);
}
.vf-multifile-list.vf-multifile-list-sm {
margin-top: var(--vf-gutter-sm);
}
.vf-multifile-list.vf-multifile-list-lg {
margin-top: var(--vf-gutter-lg);
}
.vf-multifile-list-file,
.vf-multifile-list-image {
display: grid;
}
.vf-multifile-list-file > .vf-row,
.vf-multifile-list-image > .vf-row {
position: relative;
}
.vf-multifile-list-file > .vf-row:hover .vf-multifile-handle-file,
.vf-multifile-list-file > .vf-row:hover .vf-multifile-handle-image,
.vf-multifile-list-image > .vf-row:hover .vf-multifile-handle-file,
.vf-multifile-list-image > .vf-row:hover .vf-multifile-handle-image {
visibility: visible;
opacity: 1;
}
.vf-multifile-list-file.vf-multifile-list-sorting > div:hover .vf-multifile-handle-file,
.vf-multifile-list-file.vf-multifile-list-sorting > div:hover .vf-multifile-handle-image,
.vf-multifile-list-image.vf-multifile-list-sorting > div:hover .vf-multifile-handle-file,
.vf-multifile-list-image.vf-multifile-list-sorting > div:hover .vf-multifile-handle-image {
visibility: hidden;
opacity: 0;
}
.vf-multifile-list-file {
row-gap: calc(var(--vf-gutter) / 2);
}
.vf-multifile-list-file.vf-multifile-list-file-sm {
row-gap: calc(var(--vf-gutter-sm) / 2);
}
.vf-multifile-list-file.vf-multifile-list-file-lg {
row-gap: calc(var(--vf-gutter-lg) / 2);
}
.vf-multifile-list-image {
row-gap: calc(var(--vf-gutter) / 2);
}
.vf-multifile-list-image.vf-multifile-list-image-sm {
row-gap: calc(var(--vf-gutter-sm) / 2);
}
.vf-multifile-list-image.vf-multifile-list-image-lg {
row-gap: calc(var(--vf-gutter-lg) / 2);
}
.vf-multifile-list-gallery {
display: flex;
flex-wrap: wrap;
gap: calc(var(--vf-gutter) / 2);
}
.vf-multifile-list-gallery.vf-multifile-list-sorting > div:hover .vf-multifile-handle-gallery {
visibility: hidden;
opacity: 0;
}
.vf-multifile-list-gallery > div {
position: relative;
}
.vf-multifile-list-gallery > div:hover .vf-multifile-handle-gallery {
visibility: visible;
opacity: 1;
}
.vf-multifile-handle-file,
.vf-multifile-handle-image {
position: absolute;
left: var(--vf-gutter);
transform: translateX(-100%);
top: 0;
cursor: grab;
visibility: hidden;
opacity: 0;
transition: 0.3s;
}
.vf-multifile-handle-file:active,
.vf-multifile-handle-image:active {
cursor: grabbing;
}
.vf-multifile-handle-icon-file,
.vf-multifile-handle-icon-image {
display: flex;
align-items: center;
justify-content: center;
background-repeat: no-repeat;
background-position: center center;
width: var(--vf-min-height-input);
height: var(--vf-min-height-input);
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='11px' height='9px' viewBox='0 0 11 9' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch --%3E%3Ctitle%3Ebars%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M10.0418527,0.894571939 L0.309709821,0.894571939 C0.235791888,0.894571939 0.17578125,0.834156736 0.17578125,0.759740479 L0.17578125,0.220414636 C0.17578125,0.145998379 0.235791888,0.0855831754 0.309709821,0.0855831754 L10.0418527,0.0855831754 C10.1157706,0.0855831754 10.1757812,0.145998379 10.1757812,0.220414636 L10.1757812,0.759740479 C10.1757812,0.834156736 10.1157706,0.894571939 10.0418527,0.894571939 Z M10.0418527,4.8049452 L0.309709821,4.8049452 C0.235791888,4.8049452 0.17578125,4.74453 0.17578125,4.67011374 L0.17578125,4.1307879 C0.17578125,4.05637164 0.235791888,3.99595644 0.309709821,3.99595644 L10.0418527,3.99595644 C10.1157706,3.99595644 10.1757812,4.05637164 10.1757812,4.1307879 L10.1757812,4.67011374 C10.1757812,4.74453 10.1157706,4.8049452 10.0418527,4.8049452 Z M10.0418527,8.80953919 L0.309709821,8.80953919 C0.235791888,8.80953919 0.17578125,8.74912399 0.17578125,8.67470773 L0.17578125,8.13538189 C0.17578125,8.06096563 0.235791888,8.00055043 0.309709821,8.00055043 L10.0418527,8.00055043 C10.1157706,8.00055043 10.1757812,8.06096563 10.1757812,8.13538189 L10.1757812,8.67470773 C10.1757812,8.74912399 10.1157706,8.80953919 10.0418527,8.80953919 Z' id='bars' fill='currentColor' %3E%3C/path%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='11px' height='9px' viewBox='0 0 11 9' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch --%3E%3Ctitle%3Ebars%3C/title%3E%3Cdesc%3ECreated with Sketch.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M10.0418527,0.894571939 L0.309709821,0.894571939 C0.235791888,0.894571939 0.17578125,0.834156736 0.17578125,0.759740479 L0.17578125,0.220414636 C0.17578125,0.145998379 0.235791888,0.0855831754 0.309709821,0.0855831754 L10.0418527,0.0855831754 C10.1157706,0.0855831754 10.1757812,0.145998379 10.1757812,0.220414636 L10.1757812,0.759740479 C10.1757812,0.834156736 10.1157706,0.894571939 10.0418527,0.894571939 Z M10.0418527,4.8049452 L0.309709821,4.8049452 C0.235791888,4.8049452 0.17578125,4.74453 0.17578125,4.67011374 L0.17578125,4.1307879 C0.17578125,4.05637164 0.235791888,3.99595644 0.309709821,3.99595644 L10.0418527,3.99595644 C10.1157706,3.99595644 10.1757812,4.05637164 10.1757812,4.1307879 L10.1757812,4.67011374 C10.1757812,4.74453 10.1157706,4.8049452 10.0418527,4.8049452 Z M10.0418527,8.80953919 L0.309709821,8.80953919 C0.235791888,8.80953919 0.17578125,8.74912399 0.17578125,8.67470773 L0.17578125,8.13538189 C0.17578125,8.06096563 0.235791888,8.00055043 0.309709821,8.00055043 L10.0418527,8.00055043 C10.1157706,8.00055043 10.1757812,8.06096563 10.1757812,8.13538189 L10.1757812,8.67470773 C10.1757812,8.74912399 10.1157706,8.80953919 10.0418527,8.80953919 Z' id='bars' fill='currentColor' %3E%3C/path%3E%3C/g%3E%3C/svg%3E");
mask-size: 0.7rem 0.7rem;
-webkit-mask-size: 0.7rem 0.7rem;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
background-color: currentColor;
}
.vf-multifile-handle-file.vf-multifile-handle-file-sm .vf-multifile-handle-icon-file {
width: var(--vf-min-height-input-sm);
height: var(--vf-min-height-input-sm);
}
.vf-multifile-handle-file.vf-multifile-handle-file-lg .vf-multifile-handle-icon-file {
width: var(--vf-min-height-input-lg);
height: var(--vf-min-height-input-lg);
}
.vf-multifile-handle-image.vf-multifile-handle-image-sm .vf-multifile-handle-icon-image {
width: var(--vf-min-height-input-sm);
height: var(--vf-min-height-input-sm);
}
.vf-multifile-handle-image.vf-multifile-handle-image-lg .vf-multifile-handle-icon-image {
width: var(--vf-min-height-input-lg);
height: var(--vf-min-height-input-lg);
}
.vf-multifile-handle-gallery {
position: absolute;
cursor: grab;
visibility: hidden;
opacity: 0;
transition: 0.3s;
border-radius: 999px;
left: 0.1875rem;
top: 0.1875rem;
transform: none;
background: var(--vf-gray-200);
}
.vf-multifile-handle-gallery:active {
cursor: grabbing;
}
.vf-multifile-handle-gallery:hover {
background-color: var(--vf-gray-300);
}
.vf-multifile-handle-icon-gallery {
display: flex;
align-items: center;
justify-content: center;
background-repeat: no-repeat;
background-position: center center;
width: 1rem;
height: 1rem;
mask-size: 0.75rem 0.75rem;
-webkit-mask-size: 0.75rem 0.75rem;
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='12px' height='13px' viewBox='0 0 12 13' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='%236B7280' fill-rule='evenodd'%3E%3Cpath d='M7.93929644,10.4886534 L6.22140503,12.2179202 C6.11156489,12.3277374 5.93349525,12.3277374 5.82363223,12.2179202 L4.10576371,10.4886534 C3.99594646,10.3788132 3.99594646,10.2007436 4.10576371,10.0909263 L4.27147376,9.92521629 C4.381291,9.81537616 4.55938354,9.81537616 4.66922367,9.92521629 L5.62409352,10.89137 L5.64753097,10.89137 L5.64753097,6.67528507 L1.43144605,6.67528507 L1.43144605,6.69872252 L2.39762264,7.65359237 C2.50746277,7.76340962 2.50746277,7.94150215 2.39762264,8.05134228 L2.2318897,8.21705233 C2.12207245,8.32686958 1.94400281,8.32686958 1.83416268,8.21705233 L0.104918753,6.49916092 C-0.0048984896,6.38932079 -0.0048984896,6.21125115 0.104918753,6.10138813 L1.83418557,4.38349671 C1.9440257,4.27367947 2.12209534,4.27367947 2.23193547,4.38349671 L2.39766841,4.54922966 C2.50750855,4.6590469 2.50750855,4.83713943 2.39766841,4.94697956 L1.43144605,5.90184942 L1.43144605,5.92528686 L5.64753097,5.92528686 L5.64753097,1.70920194 L5.62409352,1.70920194 L4.66922367,2.67537853 C4.55940642,2.78521867 4.38131389,2.78521867 4.27147376,2.67537853 L4.10576371,2.50964559 C3.99594646,2.39982835 3.99592358,2.2217587 4.10576371,2.11191857 L5.82365512,0.382651762 C5.93349525,0.272834518 6.11156489,0.272834518 6.22142791,0.382651762 L7.93931933,2.11191857 C8.04913657,2.2217587 8.04913657,2.39982835 7.93931933,2.50966848 L7.77358638,2.67540142 C7.66376914,2.78524155 7.48567661,2.78524155 7.37583648,2.67540142 L6.42096662,1.70920194 L6.39752918,1.70920194 L6.39752918,5.92528686 L10.6136141,5.92528686 L10.6136141,5.90184942 L9.64743751,4.94697956 C9.53759737,4.83716232 9.53759737,4.65906979 9.64743751,4.54922966 L9.81317045,4.3835196 C9.92298769,4.27370236 10.1010573,4.27370236 10.2108975,4.3835196 L11.9401643,6.10141102 C12.0500044,6.21125115 12.0499815,6.38932079 11.9401643,6.49918381 L10.2108975,8.21707522 C10.1010573,8.32689246 9.92298769,8.32689246 9.81317045,8.21707522 L9.64743751,8.05136517 C9.53759737,7.94154792 9.53759737,7.76345539 9.64743751,7.65361526 L10.6136141,6.69872252 L10.6136141,6.67528507 L6.39752918,6.67528507 L6.39752918,10.89137 L6.42096662,10.89137 L7.37583648,9.9251934 C7.48565372,9.81535327 7.66374625,9.81535327 7.77358638,9.9251934 L7.93929644,10.0909263 C8.04911368,10.2007207 8.04911368,10.3787903 7.93929644,10.4886534 Z' id='arrows' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='12px' height='13px' viewBox='0 0 12 13' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='%236B7280' fill-rule='evenodd'%3E%3Cpath d='M7.93929644,10.4886534 L6.22140503,12.2179202 C6.11156489,12.3277374 5.93349525,12.3277374 5.82363223,12.2179202 L4.10576371,10.4886534 C3.99594646,10.3788132 3.99594646,10.2007436 4.10576371,10.0909263 L4.27147376,9.92521629 C4.381291,9.81537616 4.55938354,9.81537616 4.66922367,9.92521629 L5.62409352,10.89137 L5.64753097,10.89137 L5.64753097,6.67528507 L1.43144605,6.67528507 L1.43144605,6.69872252 L2.39762264,7.65359237 C2.50746277,7.76340962 2.50746277,7.94150215 2.39762264,8.05134228 L2.2318897,8.21705233 C2.12207245,8.32686958 1.94400281,8.32686958 1.83416268,8.21705233 L0.104918753,6.49916092 C-0.0048984896,6.38932079 -0.0048984896,6.21125115 0.104918753,6.10138813 L1.83418557,4.38349671 C1.9440257,4.27367947 2.12209534,4.27367947 2.23193547,4.38349671 L2.39766841,4.54922966 C2.50750855,4.6590469 2.50750855,4.83713943 2.39766841,4.94697956 L1.43144605,5.90184942 L1.43144605,5.92528686 L5.64753097,5.92528686 L5.64753097,1.70920194 L5.62409352,1.70920194 L4.66922367,2.67537853 C4.55940642,2.78521867 4.38131389,2.78521867 4.27147376,2.67537853 L4.10576371,2.50964559 C3.99594646,2.39982835 3.99592358,2.2217587 4.10576371,2.11191857 L5.82365512,0.382651762 C5.93349525,0.272834518 6.11156489,0.272834518 6.22142791,0.382651762 L7.93931933,2.11191857 C8.04913657,2.2217587 8.04913657,2.39982835 7.93931933,2.50966848 L7.77358638,2.67540142 C7.66376914,2.78524155 7.48567661,2.78524155 7.37583648,2.67540142 L6.42096662,1.70920194 L6.39752918,1.70920194 L6.39752918,5.92528686 L10.6136141,5.92528686 L10.6136141,5.90184942 L9.64743751,4.94697956 C9.53759737,4.83716232 9.53759737,4.65906979 9.64743751,4.54922966 L9.81317045,4.3835196 C9.92298769,4.27370236 10.1010573,4.27370236 10.2108975,4.3835196 L11.9401643,6.10141102 C12.0500044,6.21125115 12.0499815,6.38932079 11.9401643,6.49918381 L10.2108975,8.21707522 C10.1010573,8.32689246 9.92298769,8.32689246 9.81317045,8.21707522 L9.64743751,8.05136517 C9.53759737,7.94154792 9.53759737,7.76345539 9.64743751,7.65361526 L10.6136141,6.69872252 L10.6136141,6.67528507 L6.39752918,6.67528507 L6.39752918,10.89137 L6.42096662,10.89137 L7.37583648,9.9251934 C7.48565372,9.81535327 7.66374625,9.81535327 7.77358638,9.9251934 L7.93929644,10.0909263 C8.04911368,10.2007207 8.04911368,10.3787903 7.93929644,10.4886534 Z' id='arrows' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
background-color: var(--vf-gray-600);
}
.sortable-ghost {
opacity: 0.6;
}`;styleInject(css_248z$t);script$X.__file="themes/vueform/templates/elements/MultifileElement.vue";function isNullish$1(a){return[null,void 0].indexOf(a)!==-1}function useData(a,i,u){const{object:c,valueProp:d,mode:m}=toRefs(a),f=getCurrentInstance$1().proxy,v=u.iv,g=(w,k=!0)=>{v.value=b(w);const $=y(w);i.emit("change",$,f),k&&(i.emit("input",$),i.emit("update:modelValue",$))},y=w=>c.value||isNullish$1(w)?w:Array.isArray(w)?w.map(k=>k[d.value]):w[d.value],b=w=>isNullish$1(w)?m.value==="single"?{}:[]:w;return{update:g}}function useValue$3(a,i){const{value:u,modelValue:c,mode:d,valueProp:m}=toRefs(a),f=ref(d.value!=="single"?[]:{}),v=computed(()=>c&&c.value!==void 0?c.value:u.value),g=computed(()=>d.value==="single"?f.value[m.value]:f.value.map(b=>b[m.value])),y=computed(()=>d.value!=="single"?f.value.map(b=>b[m.value]).join(","):f.value[m.value]);return{iv:f,internalValue:f,ev:v,externalValue:v,textValue:y,plainValue:g}}function useSearch(a,i,u){const{regex:c}=toRefs(a),d=getCurrentInstance$1().proxy,m=u.isOpen,f=u.open,v=ref(null),g=()=>{v.value=""},y=k=>{v.value=k.target.value},b=k=>{if(c&&c.value){let $=c.value;typeof $=="string"&&($=new RegExp($)),k.key.match($)||k.preventDefault()}},w=k=>{if(c&&c.value){let S=(k.clipboardData||window.clipboardData).getData("Text"),C=c.value;typeof C=="string"&&(C=new RegExp(C)),S.split("").every(E=>!!E.match(C))||k.preventDefault()}i.emit("paste",k,d)};return watch(v,k=>{!m.value&&k&&f(),i.emit("search-change",k,d)}),{search:v,clearSearch:g,handleSearchInput:y,handleKeypress:b,handlePaste:w}}function usePointer$1(a,i,u){const{groupSelect:c,mode:d,groups:m,disabledProp:f}=toRefs(a),v=ref(null),g=b=>{b===void 0||b!==null&&b[f.value]||m.value&&b&&b.group&&(d.value==="single"||!c.value)||(v.value=b)};return{pointer:v,setPointer:g,clearPointer:()=>{g(null)}}}function normalize(a,i=!0){return i?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(new RegExp("\\p{Diacritic}","gu"),"")}function isObject(a){return Object.prototype.toString.call(a)==="[object Object]"}function arraysEqual$1(a,i){const u=i.slice().sort();return a.length===i.length&&a.slice().sort().every(function(c,d){return c===u[d]})}function useOptions(a,i,u){const{options:c,mode:d,trackBy:m,limit:f,hideSelected:v,createTag:g,createOption:y,label:b,appendNewTag:w,appendNewOption:k,multipleLabel:$,object:S,loading:C,delay:E,resolveOnLoad:D,minChars:A,filterResults:O,clearOnSearch:F,clearOnSelect:B,valueProp:I,allowAbsent:M,groupLabel:z,canDeselect:q,max:H,strict:Q,closeOnSelect:j,closeOnDeselect:ee,groups:G,reverse:J,infinite:te,groupOptions:re,groupHideEmpty:ae,groupSelect:ye,onCreate:ve,disabledProp:le,searchStart:Se,searchFilter:De}=toRefs(a),At=getCurrentInstance$1().proxy,Le=u.iv,ke=u.ev,ue=u.search,Ce=u.clearSearch,Te=u.update,Pe=u.pointer,Vt=u.setPointer,Ie=u.clearPointer,ie=u.focus,de=u.deactivate,Fe=u.close,We=u.localize,wt=ref([]),jt=ref([]),Ut=ref(!1),Tt=ref(null),Ft=ref(te.value&&f.value===-1?10:f.value),St=computed(()=>g.value||y.value||!1),Wt=computed(()=>w.value!==void 0?w.value:k.value!==void 0?k.value:!0),$t=computed(()=>{if(G.value){let he=ln.value||[],It=[];return he.forEach(pn=>{ir(pn[re.value]).forEach(On=>{It.push(Object.assign({},On,pn[le.value]?{[le.value]:!0}:{}))})}),It}else{let he=ir(jt.value||[]);return wt.value.length&&(he=he.concat(wt.value)),he}}),xt=computed(()=>{let he=$t.value;return J.value&&(he=he.reverse()),an.value.length&&(he=an.value.concat(he)),Wn(he)}),Kt=computed(()=>{let he=xt.value;return Ft.value>0&&(he=he.slice(0,Ft.value)),he}),ln=computed(()=>{if(!G.value)return[];let he=[],It=jt.value||[];return wt.value.length&&he.push({[z.value]:" ",[re.value]:[...wt.value],__CREATE__:!0}),he.concat(It)}),hn=computed(()=>{let he=[...ln.value].map(It=>({...It}));return an.value.length&&(he[0]&&he[0].__CREATE__?he[0][re.value]=[...an.value,...he[0][re.value]]:he=[{[z.value]:" ",[re.value]:[...an.value],__CREATE__:!0}].concat(he)),he}),kt=computed(()=>{if(!G.value)return[];let he=hn.value;return tr((he||[]).map((It,pn)=>{const On=ir(It[re.value]);return{...It,index:pn,group:!0,[re.value]:Wn(On,!1).map(Gn=>Object.assign({},Gn,It[le.value]?{[le.value]:!0}:{})),__VISIBLE__:Wn(On).map(Gn=>Object.assign({},Gn,It[le.value]?{[le.value]:!0}:{}))}}))}),Et=computed(()=>{switch(d.value){case"single":return!isNullish$1(Le.value[I.value]);case"multiple":case"tags":return!isNullish$1(Le.value)&&Le.value.length>0}}),zt=computed(()=>$!==void 0&&$.value!==void 0?$.value(Le.value,At):Le.value&&Le.value.length>1?`${Le.value.length} options selected`:"1 option selected"),Yt=computed(()=>!$t.value.length&&!Ut.value&&!an.value.length),mn=computed(()=>$t.value.length>0&&Kt.value.length==0&&(ue.value&&G.value||!G.value)),an=computed(()=>St.value===!1||!ue.value?[]:fn(ue.value)!==-1?[]:[{[I.value]:ue.value,[sn.value[0]]:ue.value,[b.value]:ue.value,__CREATE__:!0}]),sn=computed(()=>m.value?Array.isArray(m.value)?m.value:[m.value]:[b.value]),wn=computed(()=>{switch(d.value){case"single":return null;case"multiple":case"tags":return[]}}),Cn=computed(()=>C.value||Ut.value),gn=he=>{switch(typeof he!="object"&&(he=cn(he)),d.value){case"single":Te(he);break;case"multiple":case"tags":Te(Le.value.concat(he));break}i.emit("select",bn(he),he,At)},dn=he=>{switch(typeof he!="object"&&(he=cn(he)),d.value){case"single":Rt();break;case"tags":case"multiple":Te(Array.isArray(he)?Le.value.filter(It=>he.map(pn=>pn[I.value]).indexOf(It[I.value])===-1):Le.value.filter(It=>It[I.value]!=he[I.value]));break}i.emit("deselect",bn(he),he,At)},bn=he=>S.value?he:he[I.value],Oe=he=>{dn(he)},Ye=(he,It)=>{if(It.button!==0){It.preventDefault();return}Oe(he)},Rt=()=>{Te(wn.value),i.emit("clear",At)},oe=he=>{if(he.group!==void 0)return d.value==="single"?!1:nn(he[re.value])&&he[re.value].length;switch(d.value){case"single":return!isNullish$1(Le.value)&&Le.value[I.value]==he[I.value];case"tags":case"multiple":return!isNullish$1(Le.value)&&Le.value.map(It=>It[I.value]).indexOf(he[I.value])!==-1}},pe=he=>he[le.value]===!0,Ne=()=>H===void 0||H.value===-1||!Et.value&&H.value>0?!1:Le.value.length>=H.value,Nt=he=>{if(!pe(he)){if(ve&&ve.value&&!oe(he)&&he.__CREATE__&&(he={...he},delete he.__CREATE__,he=ve.value(he,At),he instanceof Promise)){Ut.value=!0,he.then(It=>{Ut.value=!1,qt(It)});return}qt(he)}},qt=he=>{switch(he.__CREATE__&&(he={...he},delete he.__CREATE__),d.value){case"single":if(he&&oe(he)){q.value&&dn(he),ee.value&&(Ie(),Fe());return}he&&un(he),B.value&&Ce(),j.value&&(Ie(),Fe()),he&&gn(he);break;case"multiple":if(he&&oe(he)){dn(he),ee.value&&(Ie(),Fe());return}if(Ne()){i.emit("max",At);return}he&&(un(he),gn(he)),B.value&&Ce(),v.value&&Ie(),j.value&&Fe();break;case"tags":if(he&&oe(he)){dn(he),ee.value&&(Ie(),Fe());return}if(Ne()){i.emit("max",At);return}he&&un(he),B.value&&Ce(),he&&gn(he),v.value&&Ie(),j.value&&Fe();break}j.value||ie()},tn=he=>{if(!(pe(he)||d.value==="single"||!ye.value)){switch(d.value){case"multiple":case"tags":_n(he[re.value])?dn(he[re.value]):gn(he[re.value].filter(It=>Le.value.map(pn=>pn[I.value]).indexOf(It[I.value])===-1).filter(It=>!It[le.value]).filter((It,pn)=>Le.value.length+1+pn<=H.value||H.value===-1)),v.value&&Pe.value&&Vt(kt.value.filter(It=>!It[le.value])[Pe.value.index]);break}j.value&&de()}},un=he=>{cn(he[I.value])===void 0&&St.value&&(i.emit("tag",he[I.value],At),i.emit("option",he[I.value],At),i.emit("create",he[I.value],At),Wt.value&&Rn(he),Ce())},Gt=()=>{d.value!=="single"&&gn(Kt.value.filter(he=>!he.disabled&&!oe(he)))},_n=he=>he.find(It=>!oe(It)&&!It[le.value])===void 0,nn=he=>he.find(It=>!oe(It))===void 0,cn=he=>$t.value[$t.value.map(It=>String(It[I.value])).indexOf(String(he))],fn=he=>$t.value.findIndex(It=>sn.value.some(pn=>(parseInt(It[pn])==It[pn]?parseInt(It[pn]):It[pn])===(parseInt(he)==he?parseInt(he):he))),Bn=he=>["tags","multiple"].indexOf(d.value)!==-1&&v.value&&oe(he),Rn=he=>{wt.value.push(he)},tr=he=>ae.value?he.filter(It=>ue.value?It.__VISIBLE__.length:It[re.value].length):he.filter(It=>ue.value?It.__VISIBLE__.length:!0),Wn=(he,It=!0)=>{let pn=he;if(ue.value&&O.value){let On=De.value;On||(On=(Gn,Ur,Ka)=>sn.value.some(ra=>{let Pr=normalize(We(Gn[ra]),Q.value);return Se.value?Pr.startsWith(normalize(Ur,Q.value)):Pr.indexOf(normalize(Ur,Q.value))!==-1})),pn=pn.filter(Gn=>On(Gn,ue.value,At))}return v.value&&It&&(pn=pn.filter(On=>!Bn(On))),pn},ir=he=>{let It=he;return isObject(It)&&(It=Object.keys(It).map(pn=>{let On=It[pn];return{[I.value]:pn,[sn.value[0]]:On,[b.value]:On}})),It=It.map(pn=>typeof pn=="object"?pn:{[I.value]:pn,[sn.value[0]]:pn,[b.value]:pn}),It},nr=()=>{isNullish$1(ke.value)||(Le.value=or(ke.value))},Kn=he=>(Ut.value=!0,new Promise((It,pn)=>{c.value(ue.value,At).then(On=>{jt.value=On||[],typeof he=="function"&&he(On),Ut.value=!1}).catch(On=>{console.error(On),jt.value=[],Ut.value=!1}).finally(()=>{It()})})),dr=()=>{if(Et.value)if(d.value==="single"){let he=cn(Le.value[I.value]);if(he!==void 0){let It=he[b.value];Le.value[b.value]=It,S.value&&(ke.value[b.value]=It)}}else Le.value.forEach((he,It)=>{let pn=cn(Le.value[It][I.value]);if(pn!==void 0){let On=pn[b.value];Le.value[It][b.value]=On,S.value&&(ke.value[It][b.value]=On)}})},xr=he=>{Kn(he)},or=he=>isNullish$1(he)?d.value==="single"?{}:[]:S.value?he:d.value==="single"?cn(he)||(M.value?{[b.value]:he,[I.value]:he,[sn.value[0]]:he}:{}):he.filter(It=>!!cn(It)||M.value).map(It=>cn(It)||{[b.value]:It,[I.value]:It,[sn.value[0]]:It}),Ir=()=>{Tt.value=watch(ue,he=>{he.length<A.value||!he&&A.value!==0||(Ut.value=!0,F.value&&(jt.value=[]),setTimeout(()=>{he==ue.value&&c.value(ue.value,At).then(It=>{(he==ue.value||!ue.value)&&(jt.value=It,Pe.value=Kt.value.filter(pn=>pn[le.value]!==!0)[0]||null,Ut.value=!1)}).catch(It=>{console.error(It)})},E.value))},{flush:"sync"})};if(d.value!=="single"&&!isNullish$1(ke.value)&&!Array.isArray(ke.value))throw new Error(`v-model must be an array when using "${d.value}" mode`);return c&&typeof c.value=="function"?D.value?Kn(nr):S.value==!0&&nr():(jt.value=c.value,nr()),E.value>-1&&Ir(),watch(E,(he,It)=>{Tt.value&&Tt.value(),he>=0&&Ir()}),watch(ke,he=>{if(isNullish$1(he)){Te(or(he),!1);return}switch(d.value){case"single":(S.value?he[I.value]!=Le.value[I.value]:he!=Le.value[I.value])&&Te(or(he),!1);break;case"multiple":case"tags":arraysEqual$1(S.value?he.map(It=>It[I.value]):he,Le.value.map(It=>It[I.value]))||Te(or(he),!1);break}},{deep:!0}),watch(c,(he,It)=>{typeof a.options=="function"?D.value&&(!It||he&&he.toString()!==It.toString())&&Kn():(jt.value=a.options,Object.keys(Le.value).length||nr(),dr())}),watch(b,dr),watch(f,(he,It)=>{Ft.value=te.value&&he===-1?10:he}),{pfo:xt,fo:Kt,filteredOptions:Kt,hasSelected:Et,multipleLabelText:zt,eo:$t,extendedOptions:$t,eg:ln,extendedGroups:ln,fg:kt,filteredGroups:kt,noOptions:Yt,noResults:mn,resolving:Ut,busy:Cn,offset:Ft,select:gn,deselect:dn,remove:Oe,selectAll:Gt,clear:Rt,isSelected:oe,isDisabled:pe,isMax:Ne,getOption:cn,handleOptionClick:Nt,handleGroupClick:tn,handleTagRemove:Ye,refreshOptions:xr,resolveOptions:Kn,refreshLabels:dr}}function usePointer(a,i,u){const{valueProp:c,showOptions:d,searchable:m,groupLabel:f,groups:v,mode:g,groupSelect:y,disabledProp:b,groupOptions:w}=toRefs(a),k=u.fo,$=u.fg,S=u.handleOptionClick,C=u.handleGroupClick,E=u.search,D=u.pointer,A=u.setPointer,O=u.clearPointer,F=u.multiselect,B=u.isOpen,I=computed(()=>k.value.filter(ke=>!ke[b.value])),M=computed(()=>$.value.filter(ke=>!ke[b.value])),z=computed(()=>g.value!=="single"&&y.value),q=computed(()=>D.value&&D.value.group),H=computed(()=>At(D.value)),Q=computed(()=>{const ke=q.value?D.value:At(D.value),ue=M.value.map(Te=>Te[f.value]).indexOf(ke[f.value]);let Ce=M.value[ue-1];return Ce===void 0&&(Ce=ee.value),Ce}),j=computed(()=>{let ke=M.value.map(ue=>ue.label).indexOf(q.value?D.value[f.value]:At(D.value)[f.value])+1;return M.value.length<=ke&&(ke=0),M.value[ke]}),ee=computed(()=>[...M.value].slice(-1)[0]),G=computed(()=>D.value.__VISIBLE__.filter(ke=>!ke[b.value])[0]),J=computed(()=>{const ke=H.value.__VISIBLE__.filter(ue=>!ue[b.value]);return ke[ke.map(ue=>ue[c.value]).indexOf(D.value[c.value])-1]}),te=computed(()=>{const ke=At(D.value).__VISIBLE__.filter(ue=>!ue[b.value]);return ke[ke.map(ue=>ue[c.value]).indexOf(D.value[c.value])+1]}),re=computed(()=>[...Q.value.__VISIBLE__.filter(ke=>!ke[b.value])].slice(-1)[0]),ae=computed(()=>[...ee.value.__VISIBLE__.filter(ke=>!ke[b.value])].slice(-1)[0]),ye=ke=>D.value&&(!ke.group&&D.value[c.value]===ke[c.value]||ke.group!==void 0&&D.value[f.value]===ke[f.value])?!0:void 0,ve=()=>{A(I.value[0]||null)},le=()=>{!D.value||D.value[b.value]===!0||(q.value?C(D.value):S(D.value))},Se=()=>{if(D.value===null)A((v.value&&z.value?M.value[0].__CREATE__?I.value[0]:M.value[0]:I.value[0])||null);else if(v.value&&z.value){let ke=q.value?G.value:te.value;ke===void 0&&(ke=j.value,ke.__CREATE__&&(ke=ke[w.value][0])),A(ke||null)}else{let ke=I.value.map(ue=>ue[c.value]).indexOf(D.value[c.value])+1;I.value.length<=ke&&(ke=0),A(I.value[ke]||null)}nextTick(()=>{Le()})},De=()=>{if(D.value===null){let ke=I.value[I.value.length-1];v.value&&z.value&&(ke=ae.value,ke===void 0&&(ke=ee.value)),A(ke||null)}else if(v.value&&z.value){let ke=q.value?re.value:J.value;ke===void 0&&(ke=q.value?Q.value:H.value,ke.__CREATE__&&(ke=re.value,ke===void 0&&(ke=Q.value))),A(ke||null)}else{let ke=I.value.map(ue=>ue[c.value]).indexOf(D.value[c.value])-1;ke<0&&(ke=I.value.length-1),A(I.value[ke]||null)}nextTick(()=>{Le()})},At=ke=>M.value.find(ue=>ue.__VISIBLE__.map(Ce=>Ce[c.value]).indexOf(ke[c.value])!==-1),Le=()=>{let ke=F.value.querySelector("[data-pointed]");if(!ke)return;let ue=ke.parentElement.parentElement;v.value&&(ue=q.value?ke.parentElement.parentElement.parentElement:ke.parentElement.parentElement.parentElement.parentElement),ke.offsetTop+ke.offsetHeight>ue.clientHeight+ue.scrollTop&&(ue.scrollTop=ke.offsetTop+ke.offsetHeight-ue.clientHeight),ke.offsetTop<ue.scrollTop&&(ue.scrollTop=ke.offsetTop)};return watch(E,ke=>{m.value&&(ke.length&&d.value?ve():O())}),watch(B,ke=>{if(ke){let ue=F.value.querySelectorAll("[data-selected]")[0];if(!ue)return;let Ce=ue.parentElement.parentElement;nextTick(()=>{Ce.scrollTop>0||(Ce.scrollTop=ue.offsetTop)})}}),{pointer:D,canPointGroups:z,isPointed:ye,setPointerFirst:ve,selectPointer:le,forwardPointer:Se,backwardPointer:De}}function getWindow(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var i=a.ownerDocument;return i&&i.defaultView||window}return a}function isElement(a){var i=getWindow(a).Element;return a instanceof i||a instanceof Element}function isHTMLElement(a){var i=getWindow(a).HTMLElement;return a instanceof i||a instanceof HTMLElement}function isShadowRoot(a){if(typeof ShadowRoot>"u")return!1;var i=getWindow(a).ShadowRoot;return a instanceof i||a instanceof ShadowRoot}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(a,i,u){i===void 0&&(i=!1),u===void 0&&(u=!1);var c=a.getBoundingClientRect(),d=1,m=1;i&&isHTMLElement(a)&&(d=a.offsetWidth>0&&round(c.width)/a.offsetWidth||1,m=a.offsetHeight>0&&round(c.height)/a.offsetHeight||1);var f=isElement(a)?getWindow(a):window,v=f.visualViewport,g=!isLayoutViewport()&&u,y=(c.left+(g&&v?v.offsetLeft:0))/d,b=(c.top+(g&&v?v.offsetTop:0))/m,w=c.width/d,k=c.height/m;return{width:w,height:k,top:b,right:y+w,bottom:b+k,left:y,x:y,y:b}}function getWindowScroll(a){var i=getWindow(a),u=i.pageXOffset,c=i.pageYOffset;return{scrollLeft:u,scrollTop:c}}function getHTMLElementScroll(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function getNodeScroll(a){return a===getWindow(a)||!isHTMLElement(a)?getWindowScroll(a):getHTMLElementScroll(a)}function getNodeName(a){return a?(a.nodeName||"").toLowerCase():null}function getDocumentElement(a){return((isElement(a)?a.ownerDocument:a.document)||window.document).documentElement}function getWindowScrollBarX(a){return getBoundingClientRect(getDocumentElement(a)).left+getWindowScroll(a).scrollLeft}function getComputedStyle$1(a){return getWindow(a).getComputedStyle(a)}function isScrollParent(a){var i=getComputedStyle$1(a),u=i.overflow,c=i.overflowX,d=i.overflowY;return/auto|scroll|overlay|hidden/.test(u+d+c)}function isElementScaled(a){var i=a.getBoundingClientRect(),u=round(i.width)/a.offsetWidth||1,c=round(i.height)/a.offsetHeight||1;return u!==1||c!==1}function getCompositeRect(a,i,u){u===void 0&&(u=!1);var c=isHTMLElement(i),d=isHTMLElement(i)&&isElementScaled(i),m=getDocumentElement(i),f=getBoundingClientRect(a,d,u),v={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(c||!c&&!u)&&((getNodeName(i)!=="body"||isScrollParent(m))&&(v=getNodeScroll(i)),isHTMLElement(i)?(g=getBoundingClientRect(i,!0),g.x+=i.clientLeft,g.y+=i.clientTop):m&&(g.x=getWindowScrollBarX(m))),{x:f.left+v.scrollLeft-g.x,y:f.top+v.scrollTop-g.y,width:f.width,height:f.height}}function getLayoutRect(a){var i=getBoundingClientRect(a),u=a.offsetWidth,c=a.offsetHeight;return Math.abs(i.width-u)<=1&&(u=i.width),Math.abs(i.height-c)<=1&&(c=i.height),{x:a.offsetLeft,y:a.offsetTop,width:u,height:c}}function getParentNode(a){return getNodeName(a)==="html"?a:a.assignedSlot||a.parentNode||(isShadowRoot(a)?a.host:null)||getDocumentElement(a)}function getScrollParent(a){return["html","body","#document"].indexOf(getNodeName(a))>=0?a.ownerDocument.body:isHTMLElement(a)&&isScrollParent(a)?a:getScrollParent(getParentNode(a))}function listScrollParents(a,i){var u;i===void 0&&(i=[]);var c=getScrollParent(a),d=c===((u=a.ownerDocument)==null?void 0:u.body),m=getWindow(c),f=d?[m].concat(m.visualViewport||[],isScrollParent(c)?c:[]):c,v=i.concat(f);return d?v:v.concat(listScrollParents(getParentNode(f)))}function isTableElement(a){return["table","td","th"].indexOf(getNodeName(a))>=0}function getTrueOffsetParent(a){return!isHTMLElement(a)||getComputedStyle$1(a).position==="fixed"?null:a.offsetParent}function getContainingBlock(a){var i=/firefox/i.test(getUAString()),u=/Trident/i.test(getUAString());if(u&&isHTMLElement(a)){var c=getComputedStyle$1(a);if(c.position==="fixed")return null}var d=getParentNode(a);for(isShadowRoot(d)&&(d=d.host);isHTMLElement(d)&&["html","body"].indexOf(getNodeName(d))<0;){var m=getComputedStyle$1(d);if(m.transform!=="none"||m.perspective!=="none"||m.contain==="paint"||["transform","perspective"].indexOf(m.willChange)!==-1||i&&m.willChange==="filter"||i&&m.filter&&m.filter!=="none")return d;d=d.parentNode}return null}function getOffsetParent(a){for(var i=getWindow(a),u=getTrueOffsetParent(a);u&&isTableElement(u)&&getComputedStyle$1(u).position==="static";)u=getTrueOffsetParent(u);return u&&(getNodeName(u)==="html"||getNodeName(u)==="body"&&getComputedStyle$1(u).position==="static")?i:u||getContainingBlock(a)||i}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(a,i){return a.concat([i+"-"+start,i+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(a,i){return a.concat([i,i+"-"+start,i+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function order(a){var i=new Map,u=new Set,c=[];a.forEach(function(m){i.set(m.name,m)});function d(m){u.add(m.name);var f=[].concat(m.requires||[],m.requiresIfExists||[]);f.forEach(function(v){if(!u.has(v)){var g=i.get(v);g&&d(g)}}),c.push(m)}return a.forEach(function(m){u.has(m.name)||d(m)}),c}function orderModifiers(a){var i=order(a);return modifierPhases.reduce(function(u,c){return u.concat(i.filter(function(d){return d.phase===c}))},[])}function debounce(a){var i;return function(){return i||(i=new Promise(function(u){Promise.resolve().then(function(){i=void 0,u(a())})})),i}}function mergeByName(a){var i=a.reduce(function(u,c){var d=u[c.name];return u[c.name]=d?Object.assign({},d,c,{options:Object.assign({},d.options,c.options),data:Object.assign({},d.data,c.data)}):c,u},{});return Object.keys(i).map(function(u){return i[u]})}function getViewportRect(a,i){var u=getWindow(a),c=getDocumentElement(a),d=u.visualViewport,m=c.clientWidth,f=c.clientHeight,v=0,g=0;if(d){m=d.width,f=d.height;var y=isLayoutViewport();(y||!y&&i==="fixed")&&(v=d.offsetLeft,g=d.offsetTop)}return{width:m,height:f,x:v+getWindowScrollBarX(a),y:g}}function getDocumentRect(a){var i,u=getDocumentElement(a),c=getWindowScroll(a),d=(i=a.ownerDocument)==null?void 0:i.body,m=max(u.scrollWidth,u.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),f=max(u.scrollHeight,u.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),v=-c.scrollLeft+getWindowScrollBarX(a),g=-c.scrollTop;return getComputedStyle$1(d||u).direction==="rtl"&&(v+=max(u.clientWidth,d?d.clientWidth:0)-m),{width:m,height:f,x:v,y:g}}function contains(a,i){var u=i.getRootNode&&i.getRootNode();if(a.contains(i))return!0;if(u&&isShadowRoot(u)){var c=i;do{if(c&&a.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function rectToClientRect(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function getInnerBoundingClientRect(a,i){var u=getBoundingClientRect(a,!1,i==="fixed");return u.top=u.top+a.clientTop,u.left=u.left+a.clientLeft,u.bottom=u.top+a.clientHeight,u.right=u.left+a.clientWidth,u.width=a.clientWidth,u.height=a.clientHeight,u.x=u.left,u.y=u.top,u}function getClientRectFromMixedType(a,i,u){return i===viewport?rectToClientRect(getViewportRect(a,u)):isElement(i)?getInnerBoundingClientRect(i,u):rectToClientRect(getDocumentRect(getDocumentElement(a)))}function getClippingParents(a){var i=listScrollParents(getParentNode(a)),u=["absolute","fixed"].indexOf(getComputedStyle$1(a).position)>=0,c=u&&isHTMLElement(a)?getOffsetParent(a):a;return isElement(c)?i.filter(function(d){return isElement(d)&&contains(d,c)&&getNodeName(d)!=="body"}):[]}function getClippingRect(a,i,u,c){var d=i==="clippingParents"?getClippingParents(a):[].concat(i),m=[].concat(d,[u]),f=m[0],v=m.reduce(function(g,y){var b=getClientRectFromMixedType(a,y,c);return g.top=max(b.top,g.top),g.right=min(b.right,g.right),g.bottom=min(b.bottom,g.bottom),g.left=max(b.left,g.left),g},getClientRectFromMixedType(a,f,c));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function getBasePlacement(a){return a.split("-")[0]}function getVariation(a){return a.split("-")[1]}function getMainAxisFromPlacement(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function computeOffsets(a){var i=a.reference,u=a.element,c=a.placement,d=c?getBasePlacement(c):null,m=c?getVariation(c):null,f=i.x+i.width/2-u.width/2,v=i.y+i.height/2-u.height/2,g;switch(d){case top:g={x:f,y:i.y-u.height};break;case bottom:g={x:f,y:i.y+i.height};break;case right:g={x:i.x+i.width,y:v};break;case left:g={x:i.x-u.width,y:v};break;default:g={x:i.x,y:i.y}}var y=d?getMainAxisFromPlacement(d):null;if(y!=null){var b=y==="y"?"height":"width";switch(m){case start:g[y]=g[y]-(i[b]/2-u[b]/2);break;case end:g[y]=g[y]+(i[b]/2-u[b]/2);break}}return g}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(a){return Object.assign({},getFreshSideObject(),a)}function expandToHashMap(a,i){return i.reduce(function(u,c){return u[c]=a,u},{})}function detectOverflow(a,i){i===void 0&&(i={});var u=i,c=u.placement,d=c===void 0?a.placement:c,m=u.strategy,f=m===void 0?a.strategy:m,v=u.boundary,g=v===void 0?clippingParents:v,y=u.rootBoundary,b=y===void 0?viewport:y,w=u.elementContext,k=w===void 0?popper:w,$=u.altBoundary,S=$===void 0?!1:$,C=u.padding,E=C===void 0?0:C,D=mergePaddingObject(typeof E!="number"?E:expandToHashMap(E,basePlacements)),A=k===popper?reference:popper,O=a.rects.popper,F=a.elements[S?A:k],B=getClippingRect(isElement(F)?F:F.contextElement||getDocumentElement(a.elements.popper),g,b,f),I=getBoundingClientRect(a.elements.reference),M=computeOffsets({reference:I,element:O,strategy:"absolute",placement:d}),z=rectToClientRect(Object.assign({},O,M)),q=k===popper?z:I,H={top:B.top-q.top+D.top,bottom:q.bottom-B.bottom+D.bottom,left:B.left-q.left+D.left,right:q.right-B.right+D.right},Q=a.modifiersData.offset;if(k===popper&&Q){var j=Q[d];Object.keys(H).forEach(function(ee){var G=[right,bottom].indexOf(ee)>=0?1:-1,J=[top,bottom].indexOf(ee)>=0?"y":"x";H[ee]+=j[J]*G})}return H}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var a=arguments.length,i=new Array(a),u=0;u<a;u++)i[u]=arguments[u];return!i.some(function(c){return!(c&&typeof c.getBoundingClientRect=="function")})}function popperGenerator(a){a===void 0&&(a={});var i=a,u=i.defaultModifiers,c=u===void 0?[]:u,d=i.defaultOptions,m=d===void 0?DEFAULT_OPTIONS:d;return function(v,g,y){y===void 0&&(y=m);var b={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,m),modifiersData:{},elements:{reference:v,popper:g},attributes:{},styles:{}},w=[],k=!1,$={state:b,setOptions:function(D){var A=typeof D=="function"?D(b.options):D;C(),b.options=Object.assign({},m,b.options,A),b.scrollParents={reference:isElement(v)?listScrollParents(v):v.contextElement?listScrollParents(v.contextElement):[],popper:listScrollParents(g)};var O=orderModifiers(mergeByName([].concat(c,b.options.modifiers)));return b.orderedModifiers=O.filter(function(F){return F.enabled}),S(),$.update()},forceUpdate:function(){if(!k){var D=b.elements,A=D.reference,O=D.popper;if(areValidElements(A,O)){b.rects={reference:getCompositeRect(A,getOffsetParent(O),b.options.strategy==="fixed"),popper:getLayoutRect(O)},b.reset=!1,b.placement=b.options.placement,b.orderedModifiers.forEach(function(H){return b.modifiersData[H.name]=Object.assign({},H.data)});for(var F=0;F<b.orderedModifiers.length;F++){if(b.reset===!0){b.reset=!1,F=-1;continue}var B=b.orderedModifiers[F],I=B.fn,M=B.options,z=M===void 0?{}:M,q=B.name;typeof I=="function"&&(b=I({state:b,options:z,name:q,instance:$})||b)}}}},update:debounce(function(){return new Promise(function(E){$.forceUpdate(),E(b)})}),destroy:function(){C(),k=!0}};if(!areValidElements(v,g))return $;$.setOptions(y).then(function(E){!k&&y.onFirstUpdate&&y.onFirstUpdate(E)});function S(){b.orderedModifiers.forEach(function(E){var D=E.name,A=E.options,O=A===void 0?{}:A,F=E.effect;if(typeof F=="function"){var B=F({state:b,name:D,instance:$,options:O}),I=function(){};w.push(B||I)}})}function C(){w.forEach(function(E){return E()}),w=[]}return $}}var passive={passive:!0};function effect$1(a){var i=a.state,u=a.instance,c=a.options,d=c.scroll,m=d===void 0?!0:d,f=c.resize,v=f===void 0?!0:f,g=getWindow(i.elements.popper),y=[].concat(i.scrollParents.reference,i.scrollParents.popper);return m&&y.forEach(function(b){b.addEventListener("scroll",u.update,passive)}),v&&g.addEventListener("resize",u.update,passive),function(){m&&y.forEach(function(b){b.removeEventListener("scroll",u.update,passive)}),v&&g.removeEventListener("resize",u.update,passive)}}var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function a(){},effect:effect$1,data:{}};function popperOffsets(a){var i=a.state,u=a.name;i.modifiersData[u]=computeOffsets({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}},unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(a,i){var u=a.x,c=a.y,d=i.devicePixelRatio||1;return{x:round(u*d)/d||0,y:round(c*d)/d||0}}function mapToStyles(a){var i,u=a.popper,c=a.popperRect,d=a.placement,m=a.variation,f=a.offsets,v=a.position,g=a.gpuAcceleration,y=a.adaptive,b=a.roundOffsets,w=a.isFixed,k=f.x,$=k===void 0?0:k,S=f.y,C=S===void 0?0:S,E=typeof b=="function"?b({x:$,y:C}):{x:$,y:C};$=E.x,C=E.y;var D=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),O=left,F=top,B=window;if(y){var I=getOffsetParent(u),M="clientHeight",z="clientWidth";if(I===getWindow(u)&&(I=getDocumentElement(u),getComputedStyle$1(I).position!=="static"&&v==="absolute"&&(M="scrollHeight",z="scrollWidth")),I=I,d===top||(d===left||d===right)&&m===end){F=bottom;var q=w&&I===B&&B.visualViewport?B.visualViewport.height:I[M];C-=q-c.height,C*=g?1:-1}if(d===left||(d===top||d===bottom)&&m===end){O=right;var H=w&&I===B&&B.visualViewport?B.visualViewport.width:I[z];$-=H-c.width,$*=g?1:-1}}var Q=Object.assign({position:v},y&&unsetSides),j=b===!0?roundOffsetsByDPR({x:$,y:C},getWindow(u)):{x:$,y:C};if($=j.x,C=j.y,g){var ee;return Object.assign({},Q,(ee={},ee[F]=A?"0":"",ee[O]=D?"0":"",ee.transform=(B.devicePixelRatio||1)<=1?"translate("+$+"px, "+C+"px)":"translate3d("+$+"px, "+C+"px, 0)",ee))}return Object.assign({},Q,(i={},i[F]=A?C+"px":"",i[O]=D?$+"px":"",i.transform="",i))}function computeStyles(a){var i=a.state,u=a.options,c=u.gpuAcceleration,d=c===void 0?!0:c,m=u.adaptive,f=m===void 0?!0:m,v=u.roundOffsets,g=v===void 0?!0:v,y={placement:getBasePlacement(i.placement),variation:getVariation(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:d,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,mapToStyles(Object.assign({},y,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:f,roundOffsets:g})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,mapToStyles(Object.assign({},y,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(a){var i=a.state;Object.keys(i.elements).forEach(function(u){var c=i.styles[u]||{},d=i.attributes[u]||{},m=i.elements[u];!isHTMLElement(m)||!getNodeName(m)||(Object.assign(m.style,c),Object.keys(d).forEach(function(f){var v=d[f];v===!1?m.removeAttribute(f):m.setAttribute(f,v===!0?"":v)}))})}function effect(a){var i=a.state,u={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,u.popper),i.styles=u,i.elements.arrow&&Object.assign(i.elements.arrow.style,u.arrow),function(){Object.keys(i.elements).forEach(function(c){var d=i.elements[c],m=i.attributes[c]||{},f=Object.keys(i.styles.hasOwnProperty(c)?i.styles[c]:u[c]),v=f.reduce(function(g,y){return g[y]="",g},{});!isHTMLElement(d)||!getNodeName(d)||(Object.assign(d.style,v),Object.keys(m).forEach(function(g){d.removeAttribute(g)}))})}}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect,requires:["computeStyles"]},defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1],createPopper=popperGenerator({defaultModifiers});function getAltAxis(a){return a==="x"?"y":"x"}function within(a,i,u){return max(a,min(i,u))}function withinMaxClamp(a,i,u){var c=within(a,i,u);return c>u?u:c}function preventOverflow(a){var i=a.state,u=a.options,c=a.name,d=u.mainAxis,m=d===void 0?!0:d,f=u.altAxis,v=f===void 0?!1:f,g=u.boundary,y=u.rootBoundary,b=u.altBoundary,w=u.padding,k=u.tether,$=k===void 0?!0:k,S=u.tetherOffset,C=S===void 0?0:S,E=detectOverflow(i,{boundary:g,rootBoundary:y,padding:w,altBoundary:b}),D=getBasePlacement(i.placement),A=getVariation(i.placement),O=!A,F=getMainAxisFromPlacement(D),B=getAltAxis(F),I=i.modifiersData.popperOffsets,M=i.rects.reference,z=i.rects.popper,q=typeof C=="function"?C(Object.assign({},i.rects,{placement:i.placement})):C,H=typeof q=="number"?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),Q=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,j={x:0,y:0};if(I){if(m){var ee,G=F==="y"?top:left,J=F==="y"?bottom:right,te=F==="y"?"height":"width",re=I[F],ae=re+E[G],ye=re-E[J],ve=$?-z[te]/2:0,le=A===start?M[te]:z[te],Se=A===start?-z[te]:-M[te],De=i.elements.arrow,At=$&&De?getLayoutRect(De):{width:0,height:0},Le=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:getFreshSideObject(),ke=Le[G],ue=Le[J],Ce=within(0,M[te],At[te]),Te=O?M[te]/2-ve-Ce-ke-H.mainAxis:le-Ce-ke-H.mainAxis,Pe=O?-M[te]/2+ve+Ce+ue+H.mainAxis:Se+Ce+ue+H.mainAxis,Vt=i.elements.arrow&&getOffsetParent(i.elements.arrow),Ie=Vt?F==="y"?Vt.clientTop||0:Vt.clientLeft||0:0,ie=(ee=Q==null?void 0:Q[F])!=null?ee:0,de=re+Te-ie-Ie,Fe=re+Pe-ie,We=within($?min(ae,de):ae,re,$?max(ye,Fe):ye);I[F]=We,j[F]=We-re}if(v){var wt,jt=F==="x"?top:left,Ut=F==="x"?bottom:right,Tt=I[B],Ft=B==="y"?"height":"width",St=Tt+E[jt],Wt=Tt-E[Ut],$t=[top,left].indexOf(D)!==-1,xt=(wt=Q==null?void 0:Q[B])!=null?wt:0,Kt=$t?St:Tt-M[Ft]-z[Ft]-xt+H.altAxis,ln=$t?Tt+M[Ft]+z[Ft]-xt-H.altAxis:Wt,hn=$&&$t?withinMaxClamp(Kt,Tt,ln):within($?Kt:St,Tt,$?ln:Wt);I[B]=hn,j[B]=hn-Tt}i.modifiersData[c]=j}}var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]},hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(a){return a.replace(/left|right|bottom|top/g,function(i){return hash$1[i]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(a){return a.replace(/start|end/g,function(i){return hash[i]})}function computeAutoPlacement(a,i){i===void 0&&(i={});var u=i,c=u.placement,d=u.boundary,m=u.rootBoundary,f=u.padding,v=u.flipVariations,g=u.allowedAutoPlacements,y=g===void 0?placements:g,b=getVariation(c),w=b?v?variationPlacements:variationPlacements.filter(function(S){return getVariation(S)===b}):basePlacements,k=w.filter(function(S){return y.indexOf(S)>=0});k.length===0&&(k=w);var $=k.reduce(function(S,C){return S[C]=detectOverflow(a,{placement:C,boundary:d,rootBoundary:m,padding:f})[getBasePlacement(C)],S},{});return Object.keys($).sort(function(S,C){return $[S]-$[C]})}function getExpandedFallbackPlacements(a){if(getBasePlacement(a)===auto)return[];var i=getOppositePlacement(a);return[getOppositeVariationPlacement(a),i,getOppositeVariationPlacement(i)]}function flip(a){var i=a.state,u=a.options,c=a.name;if(!i.modifiersData[c]._skip){for(var d=u.mainAxis,m=d===void 0?!0:d,f=u.altAxis,v=f===void 0?!0:f,g=u.fallbackPlacements,y=u.padding,b=u.boundary,w=u.rootBoundary,k=u.altBoundary,$=u.flipVariations,S=$===void 0?!0:$,C=u.allowedAutoPlacements,E=i.options.placement,D=getBasePlacement(E),A=D===E,O=g||(A||!S?[getOppositePlacement(E)]:getExpandedFallbackPlacements(E)),F=[E].concat(O).reduce(function(At,Le){return At.concat(getBasePlacement(Le)===auto?computeAutoPlacement(i,{placement:Le,boundary:b,rootBoundary:w,padding:y,flipVariations:S,allowedAutoPlacements:C}):Le)},[]),B=i.rects.reference,I=i.rects.popper,M=new Map,z=!0,q=F[0],H=0;H<F.length;H++){var Q=F[H],j=getBasePlacement(Q),ee=getVariation(Q)===start,G=[top,bottom].indexOf(j)>=0,J=G?"width":"height",te=detectOverflow(i,{placement:Q,boundary:b,rootBoundary:w,altBoundary:k,padding:y}),re=G?ee?right:left:ee?bottom:top;B[J]>I[J]&&(re=getOppositePlacement(re));var ae=getOppositePlacement(re),ye=[];if(m&&ye.push(te[j]<=0),v&&ye.push(te[re]<=0,te[ae]<=0),ye.every(function(At){return At})){q=Q,z=!1;break}M.set(Q,ye)}if(z)for(var ve=S?3:1,le=function(Le){var ke=F.find(function(ue){var Ce=M.get(ue);if(Ce)return Ce.slice(0,Le).every(function(Te){return Te})});if(ke)return q=ke,"break"},Se=ve;Se>0;Se--){var De=le(Se);if(De==="break")break}i.placement!==q&&(i.modifiersData[c]._skip=!0,i.placement=q,i.reset=!0)}}var flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function useDropdown(a,i,u){const{disabled:c,appendTo:d,appendToBody:m,openDirection:f}=toRefs(a),v=getCurrentInstance$1().proxy,g=u.multiselect,y=u.dropdown,b=ref(!1),w=ref(null),k=ref(null),$=computed(()=>d.value||m.value),S=computed(()=>f.value==="top"&&k.value==="bottom"||f.value==="bottom"&&k.value!=="top"?"bottom":"top"),C=()=>{b.value||c.value||(b.value=!0,i.emit("open",v),$.value&&nextTick(()=>{D()}))},E=()=>{b.value&&(b.value=!1,i.emit("close",v))},D=()=>{if(!w.value)return;let O=parseInt(window.getComputedStyle(y.value).borderTopWidth.replace("px","")),F=parseInt(window.getComputedStyle(y.value).borderBottomWidth.replace("px",""));w.value.setOptions(B=>({...B,modifiers:[...B.modifiers,{name:"offset",options:{offset:[0,(S.value==="top"?O:F)*-1]}}]})),w.value.update()},A=O=>{for(;O&&O!==document.body;){if(getComputedStyle(O).position==="fixed")return!0;O=O.parentElement}return!1};return onMounted(()=>{$.value&&(w.value=createPopper(g.value,y.value,{strategy:A(g.value)?"fixed":void 0,placement:f.value,modifiers:[preventOverflow$1,flip$1,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:O})=>{O.styles.popper.width=`${O.rects.reference.width}px`},effect:({state:O})=>{O.elements.popper.style.width=`${O.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:O}){k.value=O.placement}}]}))}),onBeforeUnmount(()=>{!$.value||!w.value||(w.value.destroy(),w.value=null)}),{popper:w,isOpen:b,open:C,close:E,placement:S,updatePopper:D}}function useMultiselect(a,i,u){const{searchable:c,disabled:d,clearOnBlur:m}=toRefs(a),f=u.input,v=u.open,g=u.close,y=u.clearSearch,b=u.isOpen,w=u.wrapper,k=u.tags,$=ref(!1),S=ref(!1),C=computed(()=>c.value||d.value?-1:0),E=()=>{c.value&&f.value.blur(),w.value.blur()},D=()=>{c.value&&!d.value&&f.value.focus()},A=(z=!0)=>{d.value||($.value=!0,z&&v())},O=()=>{$.value=!1,setTimeout(()=>{$.value||(g(),m.value&&y())},1)};return{tabindex:C,isActive:$,mouseClicked:S,blur:E,focus:D,activate:A,deactivate:O,handleFocusIn:z=>{z.target.closest("[data-tags]")&&z.target.nodeName!=="INPUT"||z.target.closest("[data-clear]")||A(S.value)},handleFocusOut:()=>{O()},handleCaretClick:()=>{O(),E()},handleMousedown:z=>{S.value=!0,b.value&&(z.target.isEqualNode(w.value)||z.target.isEqualNode(k.value))?setTimeout(()=>{O()},0):!b.value&&(document.activeElement.isEqualNode(w.value)||document.activeElement.isEqualNode(f.value))&&A(),setTimeout(()=>{S.value=!1},0)}}}function useKeyboard(a,i,u){const{mode:c,addTagOn:d,openDirection:m,searchable:f,showOptions:v,valueProp:g,groups:y,addOptionOn:b,createTag:w,createOption:k,reverse:$}=toRefs(a),S=getCurrentInstance$1().proxy,C=u.iv,E=u.update,D=u.deselect,A=u.search,O=u.setPointer,F=u.selectPointer,B=u.backwardPointer,I=u.forwardPointer,M=u.multiselect,z=u.wrapper,q=u.tags,H=u.isOpen,Q=u.open,j=u.blur,ee=u.fo,G=computed(()=>w.value||k.value||!1),J=computed(()=>d.value!==void 0?d.value:b.value!==void 0?b.value:["enter"]),te=()=>{c.value==="tags"&&!v.value&&G.value&&f.value&&!y.value&&O(ee.value[ee.value.map(ye=>ye[g.value]).indexOf(A.value)])};return{handleKeydown:ye=>{i.emit("keydown",ye,S);let ve,le;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(ye.key)!==-1&&c.value==="tags"&&(ve=[...M.value.querySelectorAll("[data-tags] > *")].filter(Se=>Se!==q.value),le=ve.findIndex(Se=>Se===document.activeElement)),ye.key){case"Backspace":if(c.value==="single"||f.value&&[null,""].indexOf(A.value)===-1||C.value.length===0)return;let Se=C.value.filter(De=>!De.disabled&&De.remove!==!1);Se.length&&D(Se[Se.length-1]);break;case"Enter":if(ye.preventDefault(),ye.keyCode===229)return;if(le!==-1&&le!==void 0){E([...C.value].filter((De,At)=>At!==le)),le===ve.length-1&&(ve.length-1?ve[ve.length-2].focus():f.value?q.value.querySelector("input").focus():z.value.focus());return}if(J.value.indexOf("enter")===-1&&G.value)return;te(),F();break;case" ":if(!G.value&&!f.value){ye.preventDefault(),te(),F();return}if(!G.value)return!1;if(J.value.indexOf("space")===-1&&G.value)return;ye.preventDefault(),te(),F();break;case"Tab":case";":case",":if(J.value.indexOf(ye.key.toLowerCase())===-1||!G.value)return;te(),F(),ye.preventDefault();break;case"Escape":j();break;case"ArrowUp":if(ye.preventDefault(),!v.value)return;H.value||Q(),B();break;case"ArrowDown":if(ye.preventDefault(),!v.value)return;H.value||Q(),I();break;case"ArrowLeft":if(f.value&&q.value&&q.value.querySelector("input").selectionStart||ye.shiftKey||c.value!=="tags"||!C.value||!C.value.length)return;ye.preventDefault(),le===-1?ve[ve.length-1].focus():le>0&&ve[le-1].focus();break;case"ArrowRight":if(le===-1||ye.shiftKey||c.value!=="tags"||!C.value||!C.value.length)return;ye.preventDefault(),ve.length>le+1?ve[le+1].focus():f.value?q.value.querySelector("input").focus():f.value||z.value.focus();break}},handleKeyup:ye=>{i.emit("keyup",ye,S)},preparePointer:te}}function useClasses$2(a,i,u){const{classes:c,disabled:d,showOptions:m,breakTags:f}=toRefs(a),v=u.isOpen,g=u.isPointed,y=u.isSelected,b=u.isDisabled,w=u.isActive,k=u.canPointGroups,$=u.resolving,S=u.fo,C=u.placement,E=computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...c.value})),D=computed(()=>!!(v.value&&m.value&&(!$.value||$.value&&S.value.length)));return{classList:computed(()=>{const O=E.value;return{container:[O.container].concat(d.value?O.containerDisabled:[]).concat(D.value&&C.value==="top"?O.containerOpenTop:[]).concat(D.value&&C.value!=="top"?O.containerOpen:[]).concat(w.value?O.containerActive:[]),wrapper:O.wrapper,spacer:O.spacer,singleLabel:O.singleLabel,singleLabelText:O.singleLabelText,multipleLabel:O.multipleLabel,search:O.search,tags:O.tags,tag:[O.tag].concat(d.value?O.tagDisabled:[]),tagWrapper:[O.tagWrapper,f.value?O.tagWrapperBreak:null],tagDisabled:O.tagDisabled,tagRemove:O.tagRemove,tagRemoveIcon:O.tagRemoveIcon,tagsSearchWrapper:O.tagsSearchWrapper,tagsSearch:O.tagsSearch,tagsSearchCopy:O.tagsSearchCopy,placeholder:O.placeholder,caret:[O.caret].concat(v.value?O.caretOpen:[]),clear:O.clear,clearIcon:O.clearIcon,spinner:O.spinner,inifinite:O.inifinite,inifiniteSpinner:O.inifiniteSpinner,dropdown:[O.dropdown].concat(C.value==="top"?O.dropdownTop:[]).concat(!v.value||!m.value||!D.value?O.dropdownHidden:[]),options:[O.options].concat(C.value==="top"?O.optionsTop:[]),group:O.group,groupLabel:F=>{let B=[O.groupLabel];return g(F)?B.push(y(F)?O.groupLabelSelectedPointed:O.groupLabelPointed):y(F)&&k.value?B.push(b(F)?O.groupLabelSelectedDisabled:O.groupLabelSelected):b(F)&&B.push(O.groupLabelDisabled),k.value&&B.push(O.groupLabelPointable),B},groupOptions:O.groupOptions,option:(F,B)=>{let I=[O.option];return g(F)?I.push(y(F)?O.optionSelectedPointed:O.optionPointed):y(F)?I.push(b(F)?O.optionSelectedDisabled:O.optionSelected):(b(F)||B&&b(B))&&I.push(O.optionDisabled),I},noOptions:O.noOptions,noResults:O.noResults,assist:O.assist,fakeInput:O.fakeInput}}),showDropdown:D}}function useScroll(a,i,u){const{limit:c,infinite:d}=toRefs(a),m=u.isOpen,f=u.offset,v=u.search,g=u.pfo,y=u.eo,b=ref(null),w=ref(null),k=computed(()=>f.value<g.value.length),$=C=>{const{isIntersecting:E,target:D}=C[0];if(E){const A=D.offsetParent,O=A.scrollTop;f.value+=c.value==-1?10:c.value,nextTick(()=>{A.scrollTop=O})}},S=()=>{m.value&&f.value<g.value.length?b.value.observe(w.value):!m.value&&b.value&&b.value.disconnect()};return watch(m,()=>{d.value&&S()}),watch(v,()=>{d.value&&(f.value=c.value,S())},{flush:"post"}),watch(y,()=>{d.value&&S()},{immediate:!1,flush:"post"}),onMounted(()=>{window&&window.IntersectionObserver&&(b.value=new IntersectionObserver($))}),{hasMore:k,infiniteLoader:w}}function useA11y(a,i,u){const{placeholder:c,id:d,valueProp:m,label:f,mode:v,groupLabel:g,aria:y,searchable:b}=toRefs(a),w=u.pointer,k=u.iv,$=u.hasSelected,S=u.multipleLabelText,C=ref(null),E=computed(()=>{let j=[];return d&&d.value&&j.push(d.value),j.push("assist"),j.join("-")}),D=computed(()=>{let j=[];return d&&d.value&&j.push(d.value),j.push("multiselect-options"),j.join("-")}),A=computed(()=>{let j=[];if(d&&d.value&&j.push(d.value),w.value)return j.push(w.value.group?"multiselect-group":"multiselect-option"),j.push(w.value.group?w.value.index:w.value[m.value]),j.join("-")}),O=computed(()=>c.value),F=computed(()=>v.value!=="single"),B=computed(()=>{let j="";return v.value==="single"&&$.value&&(j+=k.value[f.value]),v.value==="multiple"&&$.value&&(j+=S.value),v.value==="tags"&&$.value&&(j+=k.value.map(ee=>ee[f.value]).join(", ")),j}),I=computed(()=>{let j={...y.value};return b.value&&(j["aria-labelledby"]=j["aria-labelledby"]?`${E.value} ${j["aria-labelledby"]}`:E.value,B.value&&j["aria-label"]&&(j["aria-label"]=`${B.value}, ${j["aria-label"]}`)),j}),M=j=>{let ee=[];return d&&d.value&&ee.push(d.value),ee.push("multiselect-option"),ee.push(j[m.value]),ee.join("-")},z=j=>{let ee=[];return d&&d.value&&ee.push(d.value),ee.push("multiselect-group"),ee.push(j.index),ee.join("-")},q=j=>{let ee=[];return ee.push(j),ee.join(" ")},H=j=>{let ee=[];return ee.push(j),ee.join(" ")},Q=j=>`${j} ❎`;return onMounted(()=>{if(d&&d.value&&document&&document.querySelector){let j=document.querySelector(`[for="${d.value}"]`);C.value=j?j.innerText:null}}),{arias:I,ariaLabel:B,ariaAssist:E,ariaControls:D,ariaPlaceholder:O,ariaMultiselectable:F,ariaActiveDescendant:A,ariaOptionId:M,ariaOptionLabel:q,ariaGroupId:z,ariaGroupLabel:H,ariaTagLabel:Q}}function useI18n(a,i,u){const{locale:c,fallbackLocale:d}=toRefs(a);return{localize:f=>!f||typeof f!="object"?f:f&&f[c.value]?f[c.value]:f&&c.value&&f[c.value.toUpperCase()]?f[c.value.toUpperCase()]:f&&f[d.value]?f[d.value]:f&&d.value&&f[d.value.toUpperCase()]?f[d.value.toUpperCase()]:f&&Object.keys(f)[0]?f[Object.keys(f)[0]]:""}}function useRefs(a,i,u){const c=ref(null),d=ref(null),m=ref(null),f=ref(null),v=ref(null);return{multiselect:c,wrapper:d,tags:m,input:f,dropdown:v}}function resolveDeps(a,i,u,c={}){return u.forEach(d=>{d&&(c={...c,...d(a,i,c)})}),c}var script$W={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,i){return resolveDeps(a,i,[useRefs,useI18n,useValue$3,usePointer$1,useDropdown,useSearch,useData,useMultiselect,useOptions,useScroll,usePointer,useKeyboard,useClasses$2,useA11y])},beforeMount(){var a,i;((i=(a=this.$root.constructor)==null?void 0:a.version)!=null&&i.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const _hoisted_1$l=["id","dir"],_hoisted_2$e=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],_hoisted_3$9=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_4$4=["onKeyup","aria-label"],_hoisted_5$3=["onClick"],_hoisted_6$2=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_7$1=["innerHTML"],_hoisted_8$1=["id"],_hoisted_9$1=["id"],_hoisted_10$1=["id","aria-label","aria-selected"],_hoisted_11$1=["data-pointed","onMouseenter","onMousedown"],_hoisted_12$1=["innerHTML"],_hoisted_13$1=["aria-label"],_hoisted_14=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],_hoisted_15=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],_hoisted_16=["innerHTML"],_hoisted_17=["innerHTML"],_hoisted_18=["value"],_hoisted_19=["name","value"],_hoisted_20=["name","value"],_hoisted_21=["id"];function render$q(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{ref:"multiselect",class:normalizeClass(a.classList.container),id:u.searchable?void 0:u.id,dir:u.rtl?"rtl":void 0,onFocusin:i[10]||(i[10]=(...f)=>a.handleFocusIn&&a.handleFocusIn(...f)),onFocusout:i[11]||(i[11]=(...f)=>a.handleFocusOut&&a.handleFocusOut(...f)),onKeyup:i[12]||(i[12]=(...f)=>a.handleKeyup&&a.handleKeyup(...f)),onKeydown:i[13]||(i[13]=(...f)=>a.handleKeydown&&a.handleKeydown(...f))},[createBaseVNode("div",mergeProps({class:a.classList.wrapper,onMousedown:i[9]||(i[9]=(...f)=>a.handleMousedown&&a.handleMousedown(...f)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":u.searchable?void 0:a.ariaControls,"aria-placeholder":u.searchable?void 0:a.ariaPlaceholder,"aria-expanded":u.searchable?void 0:a.isOpen,"aria-activedescendant":u.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":u.searchable?void 0:a.ariaMultiselectable,role:u.searchable?void 0:"combobox"},u.searchable?{}:a.arias),[createCommentVNode(" Search "),u.mode!=="tags"&&u.searchable&&!u.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:u.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:u.autocomplete,id:u.searchable?u.id:void 0,onInput:i[0]||(i[0]=(...f)=>a.handleSearchInput&&a.handleSearchInput(...f)),onKeypress:i[1]||(i[1]=(...f)=>a.handleKeypress&&a.handleKeypress(...f)),onPaste:i[2]||(i[2]=withModifiers((...f)=>a.handlePaste&&a.handlePaste(...f),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...u.attrs,...a.arias}),null,16,_hoisted_3$9)):createCommentVNode("v-if",!0),createCommentVNode(" Tags (with search) "),u.mode=="tags"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classList.tags),"data-tags":""},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.iv,(f,v,g)=>renderSlot(a.$slots,"tag",{option:f,handleTagRemove:a.handleTagRemove,disabled:u.disabled},()=>[(openBlock(),createElementBlock("span",{class:normalizeClass([a.classList.tag,f.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:withKeys(y=>a.handleTagRemove(f,y),["enter"]),key:g,"aria-label":a.ariaTagLabel(a.localize(f[u.label]))},[createBaseVNode("span",{class:normalizeClass(a.classList.tagWrapper)},toDisplayString(a.localize(f[u.label])),3),!u.disabled&&!f.disabled?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classList.tagRemove),onClick:withModifiers(y=>a.handleTagRemove(f,y),["stop"])},[createBaseVNode("span",{class:normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,_hoisted_5$3)):createCommentVNode("v-if",!0)],42,_hoisted_4$4))])),256)),createBaseVNode("div",{class:normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[createCommentVNode(" Used for measuring search width "),createBaseVNode("span",{class:normalizeClass(a.classList.tagsSearchCopy)},toDisplayString(a.search),3),createCommentVNode(" Actual search input "),u.searchable&&!u.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:u.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:u.searchable?u.id:void 0,autocomplete:u.autocomplete,onInput:i[3]||(i[3]=(...f)=>a.handleSearchInput&&a.handleSearchInput(...f)),onKeypress:i[4]||(i[4]=(...f)=>a.handleKeypress&&a.handleKeypress(...f)),onPaste:i[5]||(i[5]=withModifiers((...f)=>a.handlePaste&&a.handlePaste(...f),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...u.attrs,...a.arias}),null,16,_hoisted_6$2)):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Single label "),u.mode=="single"&&a.hasSelected&&!a.search&&a.iv?renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.singleLabel)},[createBaseVNode("span",{class:normalizeClass(a.classList.singleLabelText)},toDisplayString(a.localize(a.iv[u.label])),3)],2)]):createCommentVNode("v-if",!0),createCommentVNode(" Multiple label "),u.mode=="multiple"&&a.hasSelected&&!a.search?renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,_hoisted_7$1)]):createCommentVNode("v-if",!0),createCommentVNode(" Placeholder "),u.placeholder&&!a.hasSelected&&!a.search?renderSlot(a.$slots,"placeholder",{key:4},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.placeholder),"aria-hidden":"true"},toDisplayString(u.placeholder),3)]):createCommentVNode("v-if",!0),createCommentVNode(" Spinner "),u.loading||a.resolving?renderSlot(a.$slots,"spinner",{key:5},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0),createCommentVNode(" Clear "),a.hasSelected&&!u.disabled&&u.canClear&&!a.busy?renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[createBaseVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:normalizeClass(a.classList.clear),onClick:i[6]||(i[6]=(...f)=>a.clear&&a.clear(...f)),onKeyup:i[7]||(i[7]=withKeys((...f)=>a.clear&&a.clear(...f),["enter"]))},[createBaseVNode("span",{class:normalizeClass(a.classList.clearIcon)},null,2)],34)]):createCommentVNode("v-if",!0),createCommentVNode(" Caret "),u.caret&&u.showOptions?renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.caret),onClick:i[8]||(i[8]=(...f)=>a.handleCaretClick&&a.handleCaretClick(...f)),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0)],16,_hoisted_2$e),createCommentVNode(" Options "),(openBlock(),createBlock(Teleport,{to:u.appendTo||"body",disabled:!u.appendToBody&&!u.appendTo},[createBaseVNode("div",{id:`${u.id}-dropdown`,class:normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown"},[renderSlot(a.$slots,"beforelist",{options:a.fo}),createBaseVNode("ul",{class:normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[u.groups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(a.fg,(f,v,g)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.group),key:g,id:a.ariaGroupId(f),"aria-label":a.ariaGroupLabel(a.localize(f[u.groupLabel])),"aria-selected":a.isSelected(f),role:"option"},[f.__CREATE__?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classList.groupLabel(f)),"data-pointed":a.isPointed(f),onMouseenter:y=>a.setPointer(f,v),onMousedown:withModifiers(y=>a.handleGroupClick(f),["prevent"])},[renderSlot(a.$slots,"grouplabel",{group:f,isSelected:a.isSelected,isPointed:a.isPointed},()=>[createBaseVNode("span",{innerHTML:a.localize(f[u.groupLabel])},null,8,_hoisted_12$1)])],42,_hoisted_11$1)),createBaseVNode("ul",{class:normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(f[u.groupLabel])),role:"group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(f.__VISIBLE__,(y,b,w)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.option(y,f)),"data-pointed":a.isPointed(y),"data-selected":a.isSelected(y)||void 0,key:w,onMouseenter:k=>a.setPointer(y),onMousedown:withModifiers(k=>a.handleOptionClick(y),["prevent"]),id:a.ariaOptionId(y),"aria-selected":a.isSelected(y),"aria-label":a.ariaOptionLabel(a.localize(y[u.label])),role:"option"},[renderSlot(a.$slots,"option",{option:y,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[createBaseVNode("span",null,toDisplayString(a.localize(y[u.label])),1)])],42,_hoisted_14))),128))],10,_hoisted_13$1)],10,_hoisted_10$1))),128)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(a.fo,(f,v,g)=>(openBlock(),createElementBlock("li",{class:normalizeClass(a.classList.option(f)),"data-pointed":a.isPointed(f),"data-selected":a.isSelected(f)||void 0,key:g,onMouseenter:y=>a.setPointer(f),onMousedown:withModifiers(y=>a.handleOptionClick(f),["prevent"]),id:a.ariaOptionId(f),"aria-selected":a.isSelected(f),"aria-label":a.ariaOptionLabel(a.localize(f[u.label])),role:"option"},[renderSlot(a.$slots,"option",{option:f,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[createBaseVNode("span",null,toDisplayString(a.localize(f[u.label])),1)])],42,_hoisted_15))),128))],10,_hoisted_9$1),a.noOptions?renderSlot(a.$slots,"nooptions",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.noOptions),innerHTML:a.localize(u.noOptionsText)},null,10,_hoisted_16)]):createCommentVNode("v-if",!0),a.noResults?renderSlot(a.$slots,"noresults",{key:1},()=>[createBaseVNode("div",{class:normalizeClass(a.classList.noResults),innerHTML:a.localize(u.noResultsText)},null,10,_hoisted_17)]):createCommentVNode("v-if",!0),u.infinite&&a.hasMore?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[renderSlot(a.$slots,"infinite",{},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):createCommentVNode("v-if",!0),renderSlot(a.$slots,"afterlist",{options:a.fo})],10,_hoisted_8$1)],8,["to","disabled"])),createCommentVNode(" Hacky input element to show HTML5 required warning "),u.required?(openBlock(),createElementBlock("input",{key:0,class:normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,_hoisted_18)):createCommentVNode("v-if",!0),createCommentVNode(" Native input support "),u.nativeSupport?(openBlock(),createElementBlock(Fragment,{key:1},[u.mode=="single"?(openBlock(),createElementBlock("input",{key:0,type:"hidden",name:u.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,_hoisted_19)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(a.plainValue,(f,v)=>(openBlock(),createElementBlock("input",{type:"hidden",name:`${u.name}[]`,value:f,key:v},null,8,_hoisted_20))),128))],64)):createCommentVNode("v-if",!0),createCommentVNode(" Screen reader assistive text "),u.searchable&&a.hasSelected?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},toDisplayString(a.ariaLabel),11,_hoisted_21)):createCommentVNode("v-if",!0),createCommentVNode(" Create height for empty input "),createBaseVNode("div",{class:normalizeClass(a.classList.spacer)},null,2)],42,_hoisted_1$l)}script$W.render=render$q;script$W.__file="node_modules/@vueform/multiselect/src/Multiselect.vue";var script$V={name:"MultiselectElement",components:{Multiselect:script$W},data(){return{merge:!0,defaultClasses:{container:"",input:"",inputWrapper:"",select:{container:"",containerDisabled:"",containerOpen:"",containerOpenTop:"",containerActive:"",multipleLabel:"",search:"",placeholder:"",caret:"",caretOpen:"",clear:"",clearIcon:"",spinner:"",dropdown:"",dropdownTop:"",dropdownHidden:"",options:"",optionsTop:"",group:"",groupLabel:"",groupLabelPointable:"",groupLabelPointed:"",groupLabelSelected:"",groupLabelDisabled:"",groupLabelSelectedPointed:"",groupLabelSelectedDisabled:"",groupOptions:"",option:"",optionPointed:"",optionSelected:"",optionDisabled:"",optionSelectedPointed:"",optionSelectedDisabled:"",noOptions:"",noResults:"",fakeInput:"",spacer:""}}}}};const _hoisted_1$k=["name","id","disabled"],_hoisted_2$d=["value"];function render$p(a,i,u,c,d,m){const f=resolveComponent("ElementLabelFloating"),v=resolveComponent("Multiselect");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[a.hasFloating&&!a.empty?(openBlock(),createBlock(f,{key:0,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),createCommentVNode(" Native select "),a.isNative?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.inputWrapper)},[withDirectives(createBaseVNode("select",mergeProps({"onUpdate:modelValue":i[0]||(i[0]=g=>a.value=g),class:a.classes.input,name:a.name,id:a.fieldId,multiple:!0,disabled:a.isDisabled},{...a.attrs,...a.aria},{ref:"input"}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.resolvedOptions,(g,y)=>(openBlock(),createElementBlock("option",{value:g.value,key:y},toDisplayString(g.label),9,_hoisted_2$d))),128))],16,_hoisted_1$k),[[vModelSelect,a.value]]),a.placeholder&&a.empty&&!a.isDisabled&&a.type=="select"?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.inputPlaceholder)},toDisplayString(a.placeholder),3)):createCommentVNode("v-if",!0)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" @vueform/multiselect copmonent "),createVNode(v,mergeProps(a.fieldOptions,{modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=g=>a.value=g),classes:a.classes.select,id:a.fieldId,name:a.name,options:a.resolvedOptions,disabled:a.isDisabled,placeholder:a.Placeholder,attrs:a.attrs,aria:a.aria,locale:a.form$.locale$,onSelect:a.handleSelect,onDeselect:a.handleDeselect,onSearchChange:a.handleSearchChange,onTag:a.handleTag,onOpen:a.handleOpen,onClose:a.handleClose,onClear:a.handleClear,onPaste:a.handlePaste,ref:"input"}),createSlots({_:2},[renderList({option:"option",noresults:"no-results",nooptions:"no-options",afterlist:"after-list",beforelist:"before-list",placeholder:"placeholder",grouplabel:"group-label",caret:"caret",clear:"clear",spinner:"spinner",default:"default"},(g,y)=>({name:y,fn:withCtx(b=>[renderSlot(a.$slots,g,mergeProps(b,{el$:a.el$}),()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots[g]),mergeProps(b,{el$:a.el$}),null,16,["el$"]))])])})),a.fieldOptions.mode=="multiple"?{name:"multiplelabel",fn:withCtx(({values:g})=>[renderSlot(a.$slots,"multiple-label",{values:g,el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["multiple-label"]),{values:g,el$:a.el$},null,8,["values","el$"]))])]),key:"0"}:void 0]),1040,["modelValue","classes","id","name","options","disabled","placeholder","attrs","aria","locale","onSelect","onDeselect","onSearchChange","onTag","onOpen","onClose","onClear","onPaste"])],2112))]),_:2},[renderList(a.elementSlots,(g,y)=>({name:y,fn:withCtx(()=>[renderSlot(a.$slots,y,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(g),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$V.render=render$p;script$V.__file="themes/blank/templates/elements/MultiselectElement.vue";var script$U={name:"MultiselectElement",components:{Multiselect:script$W},render:script$V.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",input:"vf-input",input_enabled:"",input_disabled:"",input_success:"vf-input-success",input_danger:"vf-input-danger",input_sm:"vf-input-sm",input_md:"",input_lg:"vf-input-lg",inputWrapper:"",select:{multipleLabel:"vf-multiselect-multiple-label",multipleLabel_sm:"vf-multiselect-multiple-label-sm",multipleLabel_md:"",multipleLabel_lg:"vf-multiselect-multiple-label-lg",multipleLabel_noClear:"vf-multiselect-multiple-label-no-clear",multipleLabel_noCaret:"vf-multiselect-multiple-label-no-caret",container:"vf-multiselect",container_enabled:"",container_disabled:"vf-multiselect-disabled",container_success:"vf-multiselect-success",container_danger:"vf-multiselect-danger",container_sm:"vf-multiselect-sm",container_md:"",container_lg:"vf-multiselect-lg",containerDisabled:"",containerOpen:"vf-multiselect-open",containerOpenTop:"vf-multiselect-open-top",containerActive:"vf-multiselect-active",containerActive_enabled:"",wrapper:"vf-multiselect-wrapper",wrapper_sm:"vf-multiselect-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-multiselect-wrapper-lg",search:"vf-multiselect-search",search_sm:"vf-multiselect-search-sm",search_md:"",search_lg:"vf-multiselect-search-lg",placeholder:"vf-multiselect-placeholder",placeholder_sm:"vf-multiselect-placeholder-sm",placeholder_md:"",placeholder_lg:"vf-multiselect-placeholder-lg",caret:"vf-multiselect-caret",caret_sm:"vf-multiselect-caret-sm",caret_md:"",caret_lg:"vf-multiselect-caret-lg",caretOpen:"vf-multiselect-caret-open",clear:"vf-multiselect-clear",clear_sm:"vf-multiselect-clear-sm",clear_md:"",clear_lg:"vf-multiselect-clear-lg",clearIcon:"vf-multiselect-clear-icon",spinner:"vf-multiselect-spinner",spinner_sm:"vf-multiselect-spinner-sm",spinner_md:"",spinner_lg:"vf-multiselect-spinner-lg",infinite:"vf-multiselect-infinite",infinite_sm:"vf-multiselect-infinite-sm",infinite_md:"",infinite_lg:"vf-multiselect-infinite-lg",infiniteSpinner:"vf-multiselect-infinite-spinner",dropdown:"vf-multiselect-dropdown",dropdown_sm:"vf-multiselect-dropdown-sm",dropdown_md:"",dropdown_lg:"vf-multiselect-dropdown-lg",dropdownTop:"vf-multiselect-dropdown-top",dropdownTop_sm:"vf-multiselect-dropdown-top-sm",dropdownTop_md:"",dropdownTop_lg:"vf-multiselect-dropdown-top-lg",dropdownHidden:"vf-multiselect-dropdown-hidden",options:"vf-multiselect-options",optionsTop:"vf-multiselect-options-top",group:"vf-multiselect-group",groupLabel:"vf-multiselect-group-label",groupLabel_sm:"vf-multiselect-group-label-sm",groupLabel_md:"",groupLabel_lg:"vf-multiselect-group-label-lg",groupLabelPointable:"vf-multiselect-group-label-pointable",groupLabelPointed:"vf-multiselect-group-label-pointed",groupLabelSelected:"vf-multiselect-group-label-selected",groupLabelDisabled:"vf-multiselect-group-label-disabled",groupLabelSelectedPointed:"vf-multiselect-group-label-selected vf-multiselect-group-label-pointed",groupLabelSelectedDisabled:"vf-multiselect-group-label-selected vf-multiselect-group-label-disabled",groupOptions:"vf-multiselect-group-options",option:"vf-multiselect-option",option_sm:"vf-multiselect-option-sm",option_md:"",option_lg:"vf-multiselect-option-lg",optionPointed:"vf-multiselect-option-pointed",optionSelected:"vf-multiselect-option-selected",optionDisabled:"vf-multiselect-option-disabled",optionSelectedPointed:"vf-multiselect-option-selected vf-multiselect-option-pointed",optionSelectedDisabled:"vf-multiselect-option-selected vf-multiselect-option-disabled",noOptions:"vf-multiselect-no-options",noOptions_sm:"vf-multiselect-no-options-sm",noOptions_md:"",noOptions_lg:"vf-multiselect-no-options-lg",noResults:"vf-multiselect-no-results",noResults_sm:"vf-multiselect-no-results-sm",noResults_md:"",noResults_lg:"vf-multiselect-no-results-lg",fakeInput:"vf-multiselect-fake-input",assist:"vf-assistive-text",spacer:"vf-multiselect-spacer",spacer_sm:"vf-multiselect-spacer-sm",spacer_md:"",spacer_lg:"vf-multiselect-spacer-lg",$container:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.container,a.select[`container_${i}`],d?a.select.container_disabled:null,!d&&!c&&!u?a.select.container_enabled:null,!d&&u?a.select.container_danger:null,!d&&c?a.select.container_success:null],$containerActive:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.containerActive,a.select[`container_${i}`],!d&&!c&&!u?a.select.containerActive_enabled:null],$wrapper:(a,{Size:i})=>[a.select.wrapper,a.select[`wrapper_${i}`]],$search:(a,{Size:i})=>[a.select.search,a.select[`search_${i}`]],$placeholder:(a,{Size:i})=>[a.select.placeholder,a.select[`placeholder_${i}`]],$caret:(a,{Size:i})=>[a.select.caret,a.select[`caret_${i}`]],$clear:(a,{Size:i})=>[a.select.clear,a.select[`clear_${i}`]],$spinner:(a,{Size:i})=>[a.select.spinner,a.select[`spinner_${i}`]],$infinite:(a,{Size:i})=>[a.select.infinite,a.select[`infinite_${i}`]],$dropdown:(a,{Size:i})=>[a.select.dropdown,a.select[`dropdown_${i}`]],$dropdownTop:(a,{Size:i})=>[a.select.dropdownTop,a.select[`dropdownTop_${i}`]],$groupLabel:(a,{Size:i})=>[a.select.groupLabel,a.select[`groupLabel_${i}`]],$option:(a,{Size:i})=>[a.select.option,a.select[`option_${i}`]],$spacer:(a,{Size:i})=>[a.select.spacer,a.select[`spacer_${i}`]],$noOptions:(a,{Size:i})=>[a.select.noOptions,a.select[`noOptions_${i}`]],$noResults:(a,{Size:i})=>[a.select.noResults,a.select[`noResults_${i}`]],$multipleLabel:(a,{Size:i,canClear:u,caret:c})=>[a.select.multipleLabel,a.select[`multipleLabel_${i}`],u?null:a.select.multipleLabel_noClear,c?null:a.select.multipleLabel_noCaret]},$input:(a,{isDisabled:i,Size:u,isDanger:c,isSuccess:d})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!d&&!c?a.input_enabled:null,!i&&c?a.input_danger:null,!i&&d?a.input_success:null]}}}},css_248z$s=`/* Some styles are contained in Vueform.vue & SelectElement.vue */
.vf-multiselect-multiple-label {
display: flex;
align-items: center;
height: 100%;
position: absolute;
left: 0;
top: 0;
pointer-events: none;
background: transparent;
padding-left: var(--vf-px-input);
padding-right: calc(var(--vf-px-input) * 2.5 + 20px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-caret, .vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-clear {
padding-right: calc(var(--vf-px-input) * 1.5 + 10px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-right: var(--vf-px-input);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm {
padding-left: var(--vf-px-input-sm);
padding-right: calc(var(--vf-px-input-sm) * 1.5 + 20px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-caret, .vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-clear {
padding-right: calc(var(--vf-px-input-sm) * 1.5 + 10px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-right: var(--vf-px-input-sm);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg {
padding-left: var(--vf-px-input-lg);
padding-right: calc(var(--vf-px-input-lg) * 2.5 + 20px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-caret, .vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-clear {
padding-right: calc(var(--vf-px-input-lg) * 1.5 + 10px);
}
.vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-right: var(--vf-px-input-lg);
}
.vf-floating-wrapper ~ .vf-multiselect-multiple-label,
.vf-floating-wrapper ~ div .vf-multiselect-multiple-label {
padding-top: calc(var(--vf-py-input) + var(--vf-floating-top) / 2);
padding-bottom: calc(var(--vf-py-input) - var(--vf-floating-top) / 2);
}
.vf-floating-wrapper ~ .vf-multiselect-multiple-label-sm,
.vf-floating-wrapper ~ div .vf-multiselect-multiple-label-sm {
padding-top: calc(var(--vf-py-input-sm) + var(--vf-floating-top-sm) / 2);
padding-bottom: calc(var(--vf-py-input-sm) - var(--vf-floating-top-sm) / 2);
}
.vf-floating-wrapper ~ .vf-multiselect-multiple-label-lg,
.vf-floating-wrapper ~ div .vf-multiselect-multiple-label-lg {
padding-top: calc(var(--vf-py-input-lg) + var(--vf-floating-top-lg) / 2);
padding-bottom: calc(var(--vf-py-input-lg) - var(--vf-floating-top-lg) / 2);
}
[dir=rtl] .vf-multiselect-multiple-label {
padding-left: calc(var(--vf-px-input) * 2.5 + 20px);
padding-right: var(--vf-px-input);
left: auto;
right: 0;
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-caret, [dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-clear {
padding-left: calc(var(--vf-px-input) * 1.5 + 10px);
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-left: var(--vf-px-input);
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm {
padding-left: calc(var(--vf-px-input-sm) * 2.5 + 20px);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-caret, [dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-clear {
padding-left: calc(var(--vf-px-input-sm) * 1.5 + 10px);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-sm.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-left: var(--vf-px-input-sm);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg {
padding-left: calc(var(--vf-px-input-lg) * 2.5 + 20px);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-caret, [dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-clear {
padding-left: calc(var(--vf-px-input-lg) * 1.5 + 10px);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-multiple-label.vf-multiselect-multiple-label-lg.vf-multiselect-multiple-label-no-caret.vf-multiselect-multiple-label-no-clear {
padding-left: var(--vf-px-input-lg);
padding-right: var(--vf-px-input-lg);
}`;styleInject(css_248z$s);script$U.__file="themes/vueform/templates/elements/MultiselectElement.vue";var script$T={name:"ObjectElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$j=["aria-labelledby"];function render$o(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{multiple:!0,ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),role:"group","aria-labelledby":a.labelId},[renderSlot(a.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.children,(f,v)=>(openBlock(),createBlock(resolveDynamicComponent(a.component(f)),mergeProps(f,{embed:a.embed,name:v,key:v,onRemove:i[0]||(i[0]=g=>a.$emit("remove",g))}),null,16,["embed","name"]))),128))])],10,_hoisted_1$j)]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$T.render=render$o;script$T.__file="themes/blank/templates/elements/ObjectElement.vue";var script$S={name:"ObjectElement",render:script$T.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-row",wrapper_sm:"vf-row-sm",wrapper_md:"",wrapper_lg:"vf-row-lg",wrapper_embed:"vf-row-embed",$wrapper:(a,{Size:i,embed:u})=>[a.wrapper,a[`wrapper_${i}`],u?a.wrapper_embed:null]}}}},css_248z$r="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$r);script$S.__file="themes/vueform/templates/elements/ObjectElement.vue";var script$R={name:"RadioElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text:""}}}};const _hoisted_1$i=["value","name","id","disabled"],_hoisted_2$c=["innerHTML"];function render$n(a,i,u,c,d,m){return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("label",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",mergeProps({type:"radio","onUpdate:modelValue":i[0]||(i[0]=f=>a.value=f)},a.aria,{value:a.radioValue,class:a.classes.input,name:a.inputName,id:a.fieldId,disabled:a.isDisabled,ref:"input"}),null,16,_hoisted_1$i),[[vModelRadio,a.value]]),createCommentVNode(" If label is HTML "),a.Text?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.text),innerHTML:a.Text},null,10,_hoisted_2$c)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If label is slot "),createBaseVNode("span",{class:normalizeClass(a.classes.text)},[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.default),{el$:a.el$},null,8,["el$"]))])],2)],2112))],2)]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$R.render=render$n;script$R.__file="themes/blank/templates/elements/RadioElement.vue";var script$Q={name:"RadioElement",render:script$R.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-radio-wrapper",wrapper_sm:"vf-radio-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-radio-wrapper-lg",wrapper_left:"vf-radio-wrapper-left",wrapper_right:"vf-radio-wrapper-right",input:"vf-radio",input_enabled:"",input_disabled:"",input_danger:"vf-radio-danger",input_sm:"vf-radio-sm",input_md:"",input_lg:"vf-radio-lg",input_left:"vf-radio-left",input_right:"vf-radio-right",text:"vf-radio-text",text_left:"vf-radio-text-left",text_right:"vf-radio-text-right",$wrapper:(a,{Size:i,align:u})=>[a.wrapper,a[`wrapper_${i}`],u==="left"?a.wrapper_left:null,u==="right"?a.wrapper_right:null],$input:(a,{isDisabled:i,Size:u,isDanger:c,align:d})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled,!i&&c?a.input_danger:null,d==="left"?a.input_left:null,d==="right"?a.input_right:null],$text:(a,{align:i})=>[a.text,i==="left"?a.text_left:null,i==="right"?a.text_right:null]}}}},css_248z$q="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$q);script$Q.__file="themes/vueform/templates/elements/RadioElement.vue";var script$P={name:"RadiogroupElement",data(){return{merge:!0,defaultClasses:{container:"",wrapper:""}}}};const _hoisted_1$h=["aria-labelledby"];function render$m(a,i,u,c,d,m){const f=resolveComponent("RadiogroupRadio");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper),"aria-labelledby":a.labelId,role:"radiogroup"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.resolvedOptions,(v,g,y)=>(openBlock(),createBlock(f,{items:a.resolvedOptions,index:g,item:v,value:v.value,key:y,attrs:a.aria},{default:withCtx(b=>[renderSlot(a.$slots,"radio",mergeProps(b,{el$:a.el$}),()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.radio),mergeProps(b,{el$:a.el$}),null,16,["el$"]))])]),_:2},1032,["items","index","item","value","attrs"]))),128))],10,_hoisted_1$h)]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$P.render=render$m;script$P.__file="themes/blank/templates/elements/RadiogroupElement.vue";var script$O={name:"RadiogroupElement",render:script$P.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-radiogroup-wrapper",wrapper_sm:"vf-radiogroup-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-radiogroup-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$p=`.vf-radiogroup-wrapper {
cursor: pointer;
}
.vf-radiogroup-wrapper .vf-radio-container {
padding-top: 0;
}`;styleInject(css_248z$p);script$O.__file="themes/vueform/templates/elements/RadiogroupElement.vue";var script$N={name:"RadiogroupElement",render:script$P.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-radiogroup-tabs-wrapper",wrapper_sm:"vf-radiogroup-tabs-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-radiogroup-tabs-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$o=`.vf-radiogroup-tabs-wrapper {
display: grid;
grid-auto-flow: column;
box-shadow: var(--vf-shadow-input);
border-radius: var(--vf-radius-large);
}
.vf-radiogroup-tabs-wrapper.vf-radiogroup-tabs-wrapper-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-radiogroup-tabs-wrapper.vf-radiogroup-tabs-wrapper-lg {
border-radius: var(--vf-radius-large-lg);
}`;styleInject(css_248z$o);script$N.__file="themes/vueform/templates/elements/RadiogroupElement_tabs.vue";var script$M={name:"RadiogroupElement",render:script$P.render,data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-radiogroup-blocks-wrapper",wrapper_sm:"vf-radiogroup-blocks-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-radiogroup-blocks-wrapper-lg",$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$n=`.vf-radiogroup-blocks-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
box-shadow: var(--vf-shadow-input);
border-radius: var(--vf-radius-large);
}
.vf-radiogroup-blocks-wrapper.vf-radiogroup-blocks-wrapper-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-radiogroup-blocks-wrapper.vf-radiogroup-blocks-wrapper-lg {
border-radius: var(--vf-radius-large-lg);
}`;styleInject(css_248z$n);script$M.__file="themes/vueform/templates/elements/RadiogroupElement_blocks.vue";var script$L={name:"SelectElement",components:{Multiselect:script$W},data(){return{merge:!0,defaultClasses:{container:"",input:"",inputWrapper:"",inputPlaceholder:"",inputCaret:"",select:{container:"",containerDisabled:"",containerOpen:"",containerOpenTop:"",containerActive:"",singleLabel:"",singleLabelText:"",search:"",placeholder:"",caret:"",caretOpen:"",clear:"",clearIcon:"",spinner:"",dropdown:"",dropdownTop:"",dropdownHidden:"",options:"",optionsTop:"",group:"",groupLabel:"",groupLabelPointable:"",groupLabelPointed:"",groupLabelSelected:"",groupLabelDisabled:"",groupLabelSelectedPointed:"",groupLabelSelectedDisabled:"",groupOptions:"",option:"",optionPointed:"",optionSelected:"",optionDisabled:"",optionSelectedPointed:"",optionSelectedDisabled:"",noOptions:"",noResults:"",fakeInput:"",spacer:""}}}}};const _hoisted_1$g=["name","id","disabled"],_hoisted_2$b=["value"];function render$l(a,i,u,c,d,m){const f=resolveComponent("ElementLabelFloating"),v=resolveComponent("Multiselect");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[a.hasFloating&&!a.empty?(openBlock(),createBlock(f,{key:0,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),createCommentVNode(" Native select "),a.isNative?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.inputWrapper)},[withDirectives(createBaseVNode("select",mergeProps({"onUpdate:modelValue":i[0]||(i[0]=g=>a.value=g),class:a.classes.input,name:a.name,id:a.fieldId,disabled:a.isDisabled},{...a.attrs,...a.aria},{ref:"input"}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.resolvedOptions,(g,y)=>(openBlock(),createElementBlock("option",{value:g.value,key:y},toDisplayString(g.label),9,_hoisted_2$b))),128))],16,_hoisted_1$g),[[vModelSelect,a.value]]),a.placeholder&&a.empty&&!a.isDisabled&&a.type=="select"?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.inputPlaceholder)},toDisplayString(a.placeholder),3)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(a.classes.inputCaret)},null,2)],2)):(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" @vueform/multiselect copmonent "),createVNode(v,mergeProps(a.fieldOptions,{modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=g=>a.value=g),classes:a.classes.select,id:a.fieldId,name:a.name,options:a.resolvedOptions,disabled:a.isDisabled,placeholder:a.Placeholder,attrs:a.attrs,aria:a.aria,locale:a.form$.locale$,onSelect:a.handleSelect,onDeselect:a.handleDeselect,onSearchChange:a.handleSearchChange,onTag:a.handleTag,onOpen:a.handleOpen,onClose:a.handleClose,onClear:a.handleClear,onPaste:a.handlePaste,ref:"input"}),createSlots({_:2},[renderList({option:"option",noresults:"no-results",nooptions:"no-options",afterlist:"after-list",beforelist:"before-list",placeholder:"placeholder",grouplabel:"group-label",caret:"caret",clear:"clear",spinner:"spinner",default:"default"},(g,y)=>({name:y,fn:withCtx(b=>[renderSlot(a.$slots,g,mergeProps(b,{el$:a.el$}),()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots[g]),mergeProps(b,{el$:a.el$}),null,16,["el$"]))])])})),a.fieldOptions.mode=="single"?{name:"singlelabel",fn:withCtx(({value:g})=>[renderSlot(a.$slots,"single-label",{value:g,el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["single-label"]),{value:g,el$:a.el$},null,8,["value","el$"]))])]),key:"0"}:void 0]),1040,["modelValue","classes","id","name","options","disabled","placeholder","attrs","aria","locale","onSelect","onDeselect","onSearchChange","onTag","onOpen","onClose","onClear","onPaste"])],2112))]),_:2},[renderList(a.elementSlots,(g,y)=>({name:y,fn:withCtx(()=>[renderSlot(a.$slots,y,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(g),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$L.render=render$l;script$L.__file="themes/blank/templates/elements/SelectElement.vue";var script$K={name:"SelectElement",render:script$L.render,components:{Multiselect:script$W},data(){return{merge:!0,defaultClasses:{container:"vf-text-type",input:"vf-input vf-native-select",input_enabled:"",input_disabled:"",input_success:"vf-input-success",input_danger:"vf-input-danger",input_sm:"vf-input-sm",input_md:"",input_lg:"vf-input-lg",inputWrapper:"vf-native-select-wrapper",inputWrapper_sm:"vf-native-select-wrapper-sm",inputWrapper_md:"",inputWrapper_lg:"vf-native-select-wrapper-lg",inputPlaceholder:"vf-native-select-placeholder",inputPlaceholder_sm:"vf-native-select-placeholder-sm",inputPlaceholder_md:"",inputPlaceholder_lg:"vf-native-select-placeholder-lg",inputCaret:"vf-native-select-caret",inputCaret_sm:"vf-native-select-caret-sm",inputCaret_md:"",inputCaret_lg:"vf-native-select-caret-lg",select:{singleLabel:"vf-multiselect-single-label",singleLabel_sm:"vf-multiselect-single-label-sm",singleLabel_md:"",singleLabel_lg:"vf-multiselect-single-label-lg",singleLabel_noClear:"vf-multiselect-single-label-no-clear",singleLabel_noCaret:"vf-multiselect-single-label-no-caret",singleLabelText:"vf-multiselect-single-label-text",singleLabelText_truncate:"vf-multiselect-single-label-text-truncate",container:"vf-multiselect",container_enabled:"",container_disabled:"vf-multiselect-disabled",container_success:"vf-multiselect-success",container_danger:"vf-multiselect-danger",container_sm:"vf-multiselect-sm",container_md:"",container_lg:"vf-multiselect-lg",containerDisabled:"",containerOpen:"vf-multiselect-open",containerOpenTop:"vf-multiselect-open-top",containerActive:"vf-multiselect-active",containerActive_enabled:"",wrapper:"vf-multiselect-wrapper",wrapper_sm:"vf-multiselect-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-multiselect-wrapper-lg",search:"vf-multiselect-search",search_sm:"vf-multiselect-search-sm",search_md:"",search_lg:"vf-multiselect-search-lg",placeholder:"vf-multiselect-placeholder",placeholder_sm:"vf-multiselect-placeholder-sm",placeholder_md:"",placeholder_lg:"vf-multiselect-placeholder-lg",caret:"vf-multiselect-caret",caret_sm:"vf-multiselect-caret-sm",caret_md:"",caret_lg:"vf-multiselect-caret-lg",caretOpen:"vf-multiselect-caret-open",clear:"vf-multiselect-clear",clear_sm:"vf-multiselect-clear-sm",clear_md:"",clear_lg:"vf-multiselect-clear-lg",clearIcon:"vf-multiselect-clear-icon",spinner:"vf-multiselect-spinner",spinner_sm:"vf-multiselect-spinner-sm",spinner_md:"",spinner_lg:"vf-multiselect-spinner-lg",infinite:"vf-multiselect-infinite",infinite_sm:"vf-multiselect-infinite-sm",infinite_md:"",infinite_lg:"vf-multiselect-infinite-lg",infiniteSpinner:"vf-multiselect-infinite-spinner",dropdown:"vf-multiselect-dropdown",dropdown_sm:"vf-multiselect-dropdown-sm",dropdown_md:"",dropdown_lg:"vf-multiselect-dropdown-lg",dropdownTop:"vf-multiselect-dropdown-top",dropdownTop_sm:"vf-multiselect-dropdown-top-sm",dropdownTop_md:"",dropdownTop_lg:"vf-multiselect-dropdown-top-lg",dropdownHidden:"vf-multiselect-dropdown-hidden",options:"vf-multiselect-options",optionsTop:"vf-multiselect-options-top",group:"vf-multiselect-group",groupLabel:"vf-multiselect-group-label",groupLabel_sm:"vf-multiselect-group-label-sm",groupLabel_md:"",groupLabel_lg:"vf-multiselect-group-label-lg",groupLabelPointable:"vf-multiselect-group-label-pointable",groupLabelPointed:"vf-multiselect-group-label-pointed",groupLabelSelected:"vf-multiselect-group-label-selected",groupLabelDisabled:"vf-multiselect-group-label-disabled",groupLabelSelectedPointed:"vf-multiselect-group-label-selected vf-multiselect-group-label-pointed",groupLabelSelectedDisabled:"vf-multiselect-group-label-selected vf-multiselect-group-label-disabled",groupOptions:"vf-multiselect-group-options",option:"vf-multiselect-option",option_sm:"vf-multiselect-option-sm",option_md:"",option_lg:"vf-multiselect-option-lg",optionPointed:"vf-multiselect-option-pointed",optionSelected:"vf-multiselect-option-selected",optionDisabled:"vf-multiselect-option-disabled",optionSelectedPointed:"vf-multiselect-option-selected vf-multiselect-option-pointed",optionSelectedDisabled:"vf-multiselect-option-selected vf-multiselect-option-disabled",noOptions:"vf-multiselect-no-options",noOptions_sm:"vf-multiselect-no-options-sm",noOptions_md:"",noOptions_lg:"vf-multiselect-no-options-lg",noResults:"vf-multiselect-no-results",noResults_sm:"vf-multiselect-no-results-sm",noResults_md:"",noResults_lg:"vf-multiselect-no-results-lg",fakeInput:"vf-multiselect-fake-input",assist:"vf-assistive-text",spacer:"vf-multiselect-spacer",spacer_sm:"vf-multiselect-spacer-sm",spacer_md:"",spacer_lg:"vf-multiselect-spacer-lg",$container:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.container,a.select[`container_${i}`],d?a.select.container_disabled:null,!d&&!c&&!u?a.select.container_enabled:null,!d&&u?a.select.container_danger:null,!d&&c?a.select.container_success:null],$containerActive:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.containerActive,a.select[`container_${i}`],!d&&!c&&!u?a.select.containerActive_enabled:null],$wrapper:(a,{Size:i})=>[a.select.wrapper,a.select[`wrapper_${i}`]],$search:(a,{Size:i})=>[a.select.search,a.select[`search_${i}`]],$placeholder:(a,{Size:i})=>[a.select.placeholder,a.select[`placeholder_${i}`]],$caret:(a,{Size:i})=>[a.select.caret,a.select[`caret_${i}`]],$clear:(a,{Size:i})=>[a.select.clear,a.select[`clear_${i}`]],$spinner:(a,{Size:i})=>[a.select.spinner,a.select[`spinner_${i}`]],$infinite:(a,{Size:i})=>[a.select.infinite,a.select[`infinite_${i}`]],$dropdown:(a,{Size:i})=>[a.select.dropdown,a.select[`dropdown_${i}`]],$dropdownTop:(a,{Size:i})=>[a.select.dropdownTop,a.select[`dropdownTop_${i}`]],$groupLabel:(a,{Size:i})=>[a.select.groupLabel,a.select[`groupLabel_${i}`]],$option:(a,{Size:i})=>[a.select.option,a.select[`option_${i}`]],$spacer:(a,{Size:i})=>[a.select.spacer,a.select[`spacer_${i}`]],$noOptions:(a,{Size:i})=>[a.select.noOptions,a.select[`noOptions_${i}`]],$noResults:(a,{Size:i})=>[a.select.noResults,a.select[`noResults_${i}`]],$singleLabel:(a,{Size:i,canClear:u,caret:c})=>[a.select.singleLabel,a.select[`singleLabel_${i}`],u?null:a.select.singleLabel_noClear,c?null:a.select.singleLabel_noCaret],$singleLabelText:(a,{truncate:i})=>[a.select.singleLabelText,i?a.select.singleLabelText_truncate:null]},$input:(a,{isDisabled:i,Size:u,isDanger:c,isSuccess:d,caret:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!d&&!c?a.input_enabled:null,!i&&c?a.input_danger:null,!i&&d?a.input_success:null],$inputWrapper:(a,{Size:i})=>[a.inputWrapper,a[`inputWrapper_${i}`]],$inputPlaceholder:(a,{Size:i})=>[a.inputPlaceholder,a[`inputPlaceholder_${i}`]],$inputCaret:(a,{Size:i})=>[a.inputCaret,a[`inputCaret_${i}`]]}}}},css_248z$m=`.vf-native-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.vf-native-select::-webkit-search-decoration, .vf-native-select::-webkit-search-cancel-button, .vf-native-select::-webkit-search-results-button, .vf-native-select::-webkit-search-results-decoration {
-webkit-appearance: none;
}
.vf-input.vf-native-select {
padding-right: calc(var(--vf-px-input) * 2);
}
.vf-input-sm.vf-native-select {
padding-right: calc(var(--vf-px-input-sm) * 2);
}
.vf-input-lg.vf-native-select {
padding-right: calc(var(--vf-px-input-lg) * 2);
}
.vf-native-select-wrapper {
position: relative;
}
.vf-native-select-wrapper.vf-native-select-wrapper-sm:before {
width: var(--vf-min-height-input-sm);
height: var(--vf-min-height-input-sm);
}
.vf-native-select-wrapper.vf-native-select-wrapper-lg:before {
width: var(--vf-min-height-input-lg);
height: var(--vf-min-height-input-lg);
}
.vf-native-select-placeholder {
position: absolute;
top: 0;
left: var(--vf-px-input);
bottom: 0;
display: flex;
align-items: center;
margin-left: 1px;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
color: var(--vf-color-placeholder);
cursor: default;
pointer-events: none;
}
.vf-native-select-placeholder.vf-native-select-placeholder-sm {
left: var(--vf-px-input-sm);
}
.vf-native-select-placeholder.vf-native-select-placeholder-lg {
left: var(--vf-px-input-lg);
}
.vf-native-select-caret {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center center;
-webkit-mask-position: center center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
background-color: var(--vf-bg-icon);
position: absolute;
right: 0;
top: 50%;
width: 0.625rem;
height: 1rem;
padding: 1px 0;
box-sizing: content-box;
display: inline-block;
pointer-events: none;
transform: translateY(-50%);
transition: transform 150ms ease-in-out;
margin-right: var(--vf-px-input);
}
.vf-native-select-caret.vf-native-select-caret-sm {
margin-right: var(--vf-px-input-sm);
}
.vf-native-select-caret.vf-native-select-caret-lg {
margin-right: var(--vf-px-input-lg);
}
/* @vueform/multiselect styles */
.vf-multiselect {
position: relative;
display: flex;
width: 100%;
margin: 0 auto;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
cursor: pointer;
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
background-color: var(--vf-bg-input);
color: var(--vf-color-input);
border-color: var(--vf-border-color-input);
box-shadow: var(--vf-shadow-input);
min-height: var(--vf-min-height-input);
border-radius: var(--vf-radius-input);
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-style: solid;
}
.vf-multiselect.vf-multiselect-open {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-multiselect.vf-multiselect-open-top {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-multiselect.vf-multiselect-disabled {
cursor: default;
background-color: var(--vf-bg-disabled);
color: var(--vf-color-disabled);
pointer-events: none;
}
.vf-multiselect.vf-multiselect-success {
background-color: var(--vf-bg-input-success);
color: var(--vf-color-input-success);
border-color: var(--vf-border-color-input-success);
}
.vf-multiselect.vf-multiselect-danger {
background-color: var(--vf-bg-input-danger);
color: var(--vf-color-input-danger);
border-color: var(--vf-border-color-input-danger);
}
.vf-multiselect:hover {
box-shadow: var(--vf-shadow-input-hover);
}
.vf-multiselect:hover:not(.vf-multiselect-success):not(.vf-multiselect-danger) {
background-color: var(--vf-bg-input-hover);
color: var(--vf-color-input-hover);
border-color: var(--vf-border-color-input-hover);
}
.vf-multiselect.vf-multiselect-active {
box-shadow: var(--vf-shadow-input-focus);
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-multiselect.vf-multiselect-active:not(.vf-multiselect-success):not(.vf-multiselect-danger) {
border-color: var(--vf-border-color-input-focus);
background-color: var(--vf-bg-input-focus);
color: var(--vf-color-input-focus);
}
.vf-multiselect.vf-multiselect-sm {
min-height: var(--vf-min-height-input-sm);
border-radius: var(--vf-radius-input-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-multiselect.vf-multiselect-lg {
min-height: var(--vf-min-height-input-lg);
border-radius: var(--vf-radius-input-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-multiselect-wrapper {
position: relative;
margin: 0 auto;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
box-sizing: border-box;
cursor: pointer;
outline: none;
min-height: calc(var(--vf-min-height-input) - var(--vf-border-width-input-t) - var(--vf-border-width-input-b));
}
.vf-multiselect-wrapper.vf-multiselect-wrapper-sm {
min-height: calc(var(--vf-min-height-input-sm) - var(--vf-border-width-input-t) - var(--vf-border-width-input-b));
}
.vf-multiselect-wrapper.vf-multiselect-wrapper-lg {
min-height: calc(var(--vf-min-height-input-lg) - var(--vf-border-width-input-t) - var(--vf-border-width-input-b));
}
.vf-multiselect-single-label,
.vf-multiselect-placeholder {
display: flex;
align-items: center;
height: 100%;
position: absolute;
left: 0;
top: 0;
pointer-events: none;
background: transparent;
box-sizing: border-box;
max-width: 100%;
padding-left: var(--vf-px-input);
padding-right: calc(var(--vf-px-input) * 2.5 + 20px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-no-caret, .vf-multiselect-single-label.vf-multiselect-single-label-no-clear {
padding-right: calc(var(--vf-px-input) * 1.5 + 10px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-right: var(--vf-px-input);
}
.vf-multiselect-single-label.vf-multiselect-single-label-sm {
padding-left: var(--vf-px-input-sm);
padding-right: calc(var(--vf-px-input-sm) * 2.5 + 20px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-caret, .vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-clear {
padding-right: calc(var(--vf-px-input-sm) * 1.5 + 10px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-right: var(--vf-px-input-sm);
}
.vf-multiselect-single-label.vf-multiselect-single-label-lg {
padding-left: var(--vf-px-input-lg);
padding-right: calc(var(--vf-px-input-lg) * 2.5 + 20px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-caret, .vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-clear {
padding-right: calc(var(--vf-px-input-lg) * 1.5 + 10px);
}
.vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-right: var(--vf-px-input-lg);
}
.vf-floating-wrapper ~ .vf-multiselect-single-label,
.vf-floating-wrapper ~ div .vf-multiselect-single-label {
padding-top: calc(var(--vf-py-input) + var(--vf-floating-top) / 2);
padding-bottom: calc(var(--vf-py-input) - var(--vf-floating-top) / 2);
}
.vf-floating-wrapper ~ .vf-multiselect-single-label-sm,
.vf-floating-wrapper ~ div .vf-multiselect-single-label-sm {
padding-top: calc(var(--vf-py-input-sm) + var(--vf-floating-top-sm) / 2);
padding-bottom: calc(var(--vf-py-input-sm) - var(--vf-floating-top-sm) / 2);
}
.vf-floating-wrapper ~ .vf-multiselect-single-label-lg,
.vf-floating-wrapper ~ div .vf-multiselect-single-label-lg {
padding-top: calc(var(--vf-py-input-lg) + var(--vf-floating-top-lg) / 2);
padding-bottom: calc(var(--vf-py-input-lg) - var(--vf-floating-top-lg) / 2);
}
.vf-multiselect-placeholder {
color: var(--vf-color-placeholder);
}
.vf-multiselect-placeholder.vf-multiselect-placeholder-sm {
padding-left: var(--vf-px-input-sm);
padding-right: calc(var(--vf-px-input-sm) * 2.5 + 20px);
}
.vf-multiselect-placeholder.vf-multiselect-placeholder-lg {
padding-left: var(--vf-px-input-lg);
padding-right: calc(var(--vf-px-input-lg) * 2.5 + 20px);
}
.vf-multiselect-single-label-text {
overflow: hidden;
display: block;
white-space: nowrap;
max-width: 100%;
}
.vf-multiselect-single-label-text-truncate {
text-overflow: ellipsis;
}
.vf-multiselect-search {
width: 100%;
height: 100%; /* for FF */
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
outline: none;
box-sizing: border-box;
border: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-family: inherit;
background: transparent;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
border-radius: var(--vf-radius-input);
padding-left: var(--vf-px-input);
padding-right: calc(var(--vf-px-input) * 2.5 + 20px);
color: var(--vf-color-input);
}
.vf-multiselect-search::-webkit-search-decoration, .vf-multiselect-search::-webkit-search-cancel-button, .vf-multiselect-search::-webkit-search-results-button, .vf-multiselect-search::-webkit-search-results-decoration {
-webkit-appearance: none;
}
.vf-multiselect-search.vf-multiselect-search-sm {
border-radius: var(--vf-radius-input-sm);
padding-left: var(--vf-px-input-sm);
padding-right: calc(var(--vf-px-input-sm) * 2.5 + 20px);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-multiselect-search.vf-multiselect-search-lg {
border-radius: var(--vf-radius-input-lg);
padding-left: var(--vf-px-input-lg);
padding-right: calc(var(--vf-px-input-lg) * 2.5 + 20px);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-floating-wrapper ~ .vf-multiselect-search-lg,
.vf-floating-wrapper ~ div .vf-multiselect-search-lg,
.vf-floating-wrapper ~ span .vf-multiselect-search-lg {
padding-left: var(--vf-px-input-lg);
padding-right: var(--vf-px-input-lg);
padding-top: calc(var(--vf-py-input-lg) + var(--vf-floating-top-lg) / 2);
padding-bottom: calc(var(--vf-py-input-lg) - var(--vf-floating-top-lg) / 2);
}
.vf-multiselect-spinner {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M456.433 371.72l-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M456.433 371.72l-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-primary);
width: 1rem;
height: 1rem;
margin: 0 var(--vf-px-input) 0 0;
animation: multiselect-spin 1s linear infinite;
flex-shrink: 0;
flex-grow: 0;
}
.vf-multiselect-spinner.vf-multiselect-spinner-sm {
margin: 0 var(--vf-px-input-sm) 0 0;
}
.vf-multiselect-spinner.vf-multiselect-spinner-lg {
margin: 0 var(--vf-px-input-lg) 0 0;
}
.vf-multiselect-inifite {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
height: var(--vf-min-height-input);
}
.vf-multiselect-inifite.vf-multiselect-inifite-sm {
height: var(--vf-min-height-input-sm);
}
.vf-multiselect-inifite.vf-multiselect-inifite-lg {
height: var(--vf-min-height-input-lg);
}
.vf-multiselect-inifite-spinner {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M456.433 371.72l-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M456.433 371.72l-27.79-16.045c-7.192-4.152-10.052-13.136-6.487-20.636 25.82-54.328 23.566-118.602-6.768-171.03-30.265-52.529-84.802-86.621-144.76-91.424C262.35 71.922 256 64.953 256 56.649V24.56c0-9.31 7.916-16.609 17.204-15.96 81.795 5.717 156.412 51.902 197.611 123.408 41.301 71.385 43.99 159.096 8.042 232.792-4.082 8.369-14.361 11.575-22.424 6.92z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-primary);
width: 1rem;
height: 1rem;
animation: multiselect-spin 1s linear infinite;
flex-shrink: 0;
flex-grow: 0;
}
.vf-multiselect-clear {
margin: 0 var(--vf-px-input) 0 0px;
position: relative;
opacity: 1;
transition: 0.3s;
flex-shrink: 0;
flex-grow: 0;
display: flex;
}
.vf-multiselect-clear:hover .vf-multiselect-clear-icon {
opacity: 1;
}
.vf-multiselect-clear.vf-multiselect-clear-sm {
margin: 0 var(--vf-px-input-sm) 0 0px;
}
.vf-multiselect-clear.vf-multiselect-clear-lg {
margin: 0 var(--vf-px-input-lg) 0 0px;
}
.vf-multiselect-clear-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-bg-icon);
width: 0.625rem;
height: 1.125rem;
display: inline-block;
transition: 0.3s;
opacity: 0.5;
}
.vf-multiselect-caret {
transform: rotate(0deg);
transition: 0.3s transform;
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-bg-icon);
width: 0.625rem;
height: 1.125rem;
margin: 0 var(--vf-px-input) 0 0;
position: relative;
flex-shrink: 0;
flex-grow: 0;
pointer-events: none;
}
.vf-multiselect-caret.vf-multiselect-caret-open {
transform: rotate(180deg);
pointer-events: auto;
}
.vf-multiselect-caret.vf-multiselect-caret-sm {
margin: 0 var(--vf-px-input-sm) 0 0;
}
.vf-multiselect-caret.vf-multiselect-caret-lg {
margin: 0 var(--vf-px-input-lg) 0 0;
}
.vf-multiselect-dropdown {
position: absolute;
left: calc(var(--vf-border-width-input-l) * -1);
right: calc(var(--vf-border-width-input-r) * -1);
bottom: 0;
transform: translateY(100%);
border-width: var(--vf-border-width-dropdown);
border-style: solid;
border-color: var(--vf-border-color-input);
margin-top: calc(var(--vf-border-width-input-t) * -1);
max-height: 15rem;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
z-index: 999;
background: var(--vf-bg-input);
display: flex;
flex-direction: column;
border-radius: var(--vf-radius-input);
border-top-left-radius: 0;
border-top-right-radius: 0;
outline: none;
box-shadow: var(--vf-shadow-dropdown);
}
.vf-multiselect-dropdown.vf-multiselect-dropdown-top {
transform: translateY(-100%);
top: 0;
margin-top: 0;
bottom: auto;
border-radius: var(--vf-radius-input);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-multiselect-dropdown.vf-multiselect-dropdown-hidden {
display: none;
}
v .vf-multiselect-dropdown.vf-multiselect-dropdown-sm {
border-radius: var(--vf-radius-input-sm);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
v .vf-multiselect-dropdown.vf-multiselect-dropdown-sm.vf-multiselect-dropdown-top-sm {
border-radius: var(--vf-radius-input-sm);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-multiselect-dropdown.vf-multiselect-dropdown-lg {
border-radius: var(--vf-radius-input-lg);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-multiselect-dropdown.vf-multiselect-dropdown-lg.vf-multiselect-dropdown-top-lg {
border-radius: var(--vf-radius-input-lg);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-multiselect-options {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: column;
color: var(--vf-color-input);
}
.vf-multiselect-group {
padding: 0;
margin: 0;
}
.vf-multiselect-group-label {
font-weight: 600;
color: #374151;
cursor: default;
display: flex;
box-sizing: border-box;
text-decoration: none;
align-items: center;
justify-content: flex-start;
text-align: left;
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
padding: calc(var(--vf-py-input) * 0.5) var(--vf-px-input);
color: var(--vf-color-input);
background: var(--vf-bg-selected);
filter: brightness(0.9);
}
.vf-multiselect-group-label.vf-multiselect-group-label-pointable {
cursor: pointer;
}
.vf-multiselect-group-label.vf-multiselect-group-label-pointed {
filter: brightness(0.95);
}
.vf-multiselect-group-label.vf-multiselect-group-label-selected {
background: var(--vf-primary-darker);
color: var(--vf-color-on-primary);
filter: brightness(1);
}
.vf-multiselect-group-label.vf-multiselect-group-label-disabled {
background: var(--vf-bg-disabled);
color: var(--vf-color-disabled);
cursor: not-allowed;
}
.vf-multiselect-group-label.vf-multiselect-group-label-selected.vf-multiselect-group-label-pointed {
opacity: 0.9;
}
.vf-multiselect-group-label.vf-multiselect-group-label-selected.vf-multiselect-group-label-disabled {
opacity: 0.5;
}
.vf-multiselect-group-label.vf-multiselect-group-label-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
padding: calc(var(--vf-py-input-sm) * 0.5) var(--vf-px-input-sm);
}
.vf-multiselect-group-label.vf-multiselect-group-label-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
padding: calc(var(--vf-py-input-lg) * 0.5) var(--vf-px-input-lg);
}
.vf-multiselect-group-options {
padding: 0;
margin: 0;
}
.vf-multiselect-option {
padding: calc(var(--vf-py-input) + var(--vf-border-width-input-t)) var(--vf-px-input) calc(var(--vf-py-input) + var(--vf-border-width-input-t));
cursor: pointer;
display: flex;
box-sizing: border-box;
text-decoration: none;
align-items: center;
justify-content: flex-start;
text-align: left;
}
.vf-multiselect-option.vf-multiselect-option-pointed {
background: var(--vf-bg-selected);
color: var(--vf-color-input);
}
.vf-multiselect-option.vf-multiselect-option-selected {
background: var(--vf-primary);
color: var(--vf-color-on-primary);
}
.vf-multiselect-option.vf-multiselect-option-disabled {
background: var(--vf-bg-disabled);
color: var(--vf-color-disabled);
cursor: not-allowed;
}
.vf-multiselect-option.vf-multiselect-option-selected.vf-multiselect-option-pointed {
opacity: 0.9;
}
.vf-multiselect-option.vf-multiselect-option-selected.vf-multiselect-option-disabled {
opacity: 0.5;
}
.vf-multiselect-option.vf-multiselect-option-sm {
padding: calc(var(--vf-py-input-sm) + var(--vf-border-width-input-t)) var(--vf-px-input-sm) calc(var(--vf-py-input-sm) + var(--vf-border-width-input-t));
}
.vf-multiselect-option.vf-multiselect-option-lg {
padding: calc(var(--vf-py-input-lg) + var(--vf-border-width-input-t)) var(--vf-px-input-lg) calc(var(--vf-py-input-lg) + var(--vf-border-width-input-t));
}
.vf-multiselect-no-options,
.vf-multiselect-no-results {
padding: var(--vf-py-input) var(--vf-px-input);
color: var(--vf-color-muted);
}
.vf-multiselect-no-options.vf-multiselect-no-options-sm {
padding: var(--vf-py-input-sm) var(--vf-px-input-sm);
}
.vf-multiselect-no-options.vf-multiselect-no-options-lg {
padding: var(--vf-py-input-lg) var(--vf-px-input-lg);
}
.vf-multiselect-no-results.vf-multiselect-no-results-sm {
padding: var(--vf-py-input-sm) var(--vf-px-input-sm);
}
.vf-multiselect-no-results.vf-multiselect-no-results-lg {
padding: var(--vf-py-input-lg) var(--vf-px-input-lg);
}
.vf-multiselect-fake-input {
background: transparent;
position: absolute;
left: 0;
right: 0;
bottom: -1px;
width: 100%;
height: 1px;
border: 0;
padding: 0;
font-size: 0;
outline: none;
}
.vf-multiselect-fake-input:active, .vf-multiselect-fake-input:focus {
outline: none;
}
.vf-multiselect-spacer {
display: none;
}
[dir=rtl] .vf-input.vf-native-select {
padding-right: var(--vf-px-input);
padding-left: calc(var(--vf-px-input) * 2);
}
[dir=rtl] .vf-input-sm.vf-native-select {
padding-right: var(--vf-px-input);
padding-left: calc(var(--vf-px-input-sm) * 2);
}
[dir=rtl] .vf-input-lg.vf-native-select {
padding-right: var(--vf-px-input);
padding-left: calc(var(--vf-px-input-lg) * 2);
}
[dir=rtl] .vf-native-select-placeholder {
left: auto;
right: var(--vf-px-input);
}
[dir=rtl] .vf-native-select-caret {
right: auto;
left: 0;
margin-right: 0;
margin-left: var(--vf-px-input);
}
[dir=rtl] .vf-native-select-caret.vf-native-select-caret-sm {
margin-right: 0;
margin-left: var(--vf-px-input-sm);
}
[dir=rtl] .vf-native-select-caret.vf-native-select-caret-lg {
margin-right: 0;
margin-left: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-single-label {
padding-left: calc(var(--vf-px-input) * 4);
padding-right: var(--vf-px-input);
left: auto;
right: 0;
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-no-caret, [dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-no-clear {
padding-left: calc(var(--vf-px-input) * 2);
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-left: var(--vf-px-input);
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-sm {
padding-left: calc(var(--vf-px-input-sm) * 4);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-caret, [dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-clear {
padding-left: calc(var(--vf-px-input-sm) * 2);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-sm.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-left: var(--vf-px-input-sm);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-lg {
padding-left: calc(var(--vf-px-input-lg) * 4);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-caret, [dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-clear {
padding-left: calc(var(--vf-px-input-lg) * 2);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-single-label.vf-multiselect-single-label-lg.vf-multiselect-single-label-no-caret.vf-multiselect-single-label-no-clear {
padding-left: var(--vf-px-input-lg);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-placeholder {
padding-left: var(--vf-min-height-input);
padding-right: var(--vf-px-input);
left: auto;
right: 0;
}
[dir=rtl] .vf-multiselect-placeholder.vf-multiselect-placeholder-sm {
padding-left: calc(1.25rem + var(--vf-px-input-sm) * 3);
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-placeholder.vf-multiselect-placeholder-lg {
padding-left: calc(1.25rem + var(--vf-px-input-lg) * 3);
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-search {
padding-left: 0;
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-search.vf-multiselect-search-sm {
padding-left: 0;
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-multiselect-search.vf-multiselect-search-lg {
padding-left: 0;
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-spinner {
margin: 0 0 0 var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-caret {
margin: 0 0 0 var(--vf-px-input);
}
[dir=rtl] .vf-multiselect-clear {
padding: 0 0 0 var(--vf-px-input);
}
@keyframes multiselect-spin {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}`;styleInject(css_248z$m);script$K.__file="themes/vueform/templates/elements/SelectElement.vue";function isNullish(a){return[null,void 0,!1].indexOf(a)!==-1}function useValue$2(a,i,u){const{value:c,modelValue:d,min:m}=toRefs(a);let f=d&&d.value!==void 0?d:c;const v=ref(f.value);if(isNullish(f.value)&&(f=ref(m.value)),Array.isArray(f.value)&&f.value.length==0)throw new Error("Slider v-model must not be an empty array");return{value:f,initialValue:v}}function useClasses$1(a,i,u){const{classes:c,showTooltip:d,tooltipPosition:m,orientation:f}=toRefs(a),v=computed(()=>({target:"slider-target",focused:"slider-focused",tooltipFocus:"slider-tooltip-focus",tooltipDrag:"slider-tooltip-drag",ltr:"slider-ltr",rtl:"slider-rtl",horizontal:"slider-horizontal",vertical:"slider-vertical",textDirectionRtl:"slider-txt-dir-rtl",textDirectionLtr:"slider-txt-dir-ltr",base:"slider-base",connects:"slider-connects",connect:"slider-connect",origin:"slider-origin",handle:"slider-handle",handleLower:"slider-handle-lower",handleUpper:"slider-handle-upper",touchArea:"slider-touch-area",tooltip:"slider-tooltip",tooltipTop:"slider-tooltip-top",tooltipBottom:"slider-tooltip-bottom",tooltipLeft:"slider-tooltip-left",tooltipRight:"slider-tooltip-right",tooltipHidden:"slider-tooltip-hidden",active:"slider-active",draggable:"slider-draggable",tap:"slider-state-tap",drag:"slider-state-drag",pips:"slider-pips",pipsHorizontal:"slider-pips-horizontal",pipsVertical:"slider-pips-vertical",marker:"slider-marker",markerHorizontal:"slider-marker-horizontal",markerVertical:"slider-marker-vertical",markerNormal:"slider-marker-normal",markerLarge:"slider-marker-large",markerSub:"slider-marker-sub",value:"slider-value",valueHorizontal:"slider-value-horizontal",valueVertical:"slider-value-vertical",valueNormal:"slider-value-normal",valueLarge:"slider-value-large",valueSub:"slider-value-sub",...c.value}));return{classList:computed(()=>{const y={...v.value};return Object.keys(y).forEach(b=>{y[b]=Array.isArray(y[b])?y[b].filter(w=>w!==null).join(" "):y[b]}),d.value!=="always"&&(y.target+=` ${d.value==="drag"?y.tooltipDrag:y.tooltipFocus}`),f.value==="horizontal"&&(y.tooltip+=m.value==="bottom"?` ${y.tooltipBottom}`:` ${y.tooltipTop}`),f.value==="vertical"&&(y.tooltip+=m.value==="right"?` ${y.tooltipRight}`:` ${y.tooltipLeft}`),y})}}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wNumb={exports:{}};(function(a,i){(function(u){a.exports=u()})(function(){var u=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function c(S){return S.split("").reverse().join("")}function d(S,C){return S.substring(0,C.length)===C}function m(S,C){return S.slice(-1*C.length)===C}function f(S,C,E){if((S[C]||S[E])&&S[C]===S[E])throw new Error(C)}function v(S){return typeof S=="number"&&isFinite(S)}function g(S,C){return S=S.toString().split("e"),S=Math.round(+(S[0]+"e"+(S[1]?+S[1]+C:C))),S=S.toString().split("e"),(+(S[0]+"e"+(S[1]?+S[1]-C:-C))).toFixed(C)}function y(S,C,E,D,A,O,F,B,I,M,z,q){var H=q,Q,j,ee,G="",J="";return O&&(q=O(q)),v(q)?(S!==!1&&parseFloat(q.toFixed(S))===0&&(q=0),q<0&&(Q=!0,q=Math.abs(q)),S!==!1&&(q=g(q,S)),q=q.toString(),q.indexOf(".")!==-1?(j=q.split("."),ee=j[0],E&&(G=E+j[1])):ee=q,C&&(ee=c(ee).match(/.{1,3}/g),ee=c(ee.join(c(C)))),Q&&B&&(J+=B),D&&(J+=D),Q&&I&&(J+=I),J+=ee,J+=G,A&&(J+=A),M&&(J=M(J,H)),J):!1}function b(S,C,E,D,A,O,F,B,I,M,z,q){var H,Q="";return z&&(q=z(q)),!q||typeof q!="string"||(B&&d(q,B)&&(q=q.replace(B,""),H=!0),D&&d(q,D)&&(q=q.replace(D,"")),I&&d(q,I)&&(q=q.replace(I,""),H=!0),A&&m(q,A)&&(q=q.slice(0,-1*A.length)),C&&(q=q.split(C).join("")),E&&(q=q.replace(E,".")),H&&(Q+="-"),Q+=q,Q=Q.replace(/[^0-9\.\-.]/g,""),Q==="")||(Q=Number(Q),F&&(Q=F(Q)),!v(Q))?!1:Q}function w(S){var C,E,D,A={};for(S.suffix===void 0&&(S.suffix=S.postfix),C=0;C<u.length;C+=1)if(E=u[C],D=S[E],D===void 0)E==="negative"&&!A.negativeBefore?A[E]="-":E==="mark"&&A.thousand!=="."?A[E]=".":A[E]=!1;else if(E==="decimals")if(D>=0&&D<8)A[E]=D;else throw new Error(E);else if(E==="encoder"||E==="decoder"||E==="edit"||E==="undo")if(typeof D=="function")A[E]=D;else throw new Error(E);else if(typeof D=="string")A[E]=D;else throw new Error(E);return f(A,"mark","thousand"),f(A,"prefix","negative"),f(A,"prefix","negativeBefore"),A}function k(S,C,E){var D,A=[];for(D=0;D<u.length;D+=1)A.push(S[u[D]]);return A.push(E),C.apply("",A)}function $(S){if(!(this instanceof $))return new $(S);typeof S=="object"&&(S=w(S),this.to=function(C){return k(S,y,C)},this.from=function(C){return k(S,b,C)})}return $})})(wNumb);var wnumb=wNumb.exports;function useTooltip(a,i,u){const{format:c,step:d}=toRefs(a),m=u.value,f=u.classList,v=computed(()=>!c||!c.value?wnumb({decimals:d.value>=0?0:2}):typeof c.value=="function"?{to:c.value}:wnumb({...c.value})),g=computed(()=>Array.isArray(m.value)?m.value.map(b=>v.value):v.value);return{tooltipFormat:v,tooltipsFormat:g,tooltipsMerge:(b,w,k)=>{var $=getComputedStyle(b).direction==="rtl",S=b.noUiSlider.options.direction==="rtl",C=b.noUiSlider.options.orientation==="vertical",E=b.noUiSlider.getTooltips(),D=b.noUiSlider.getOrigins();E.forEach(function(A,O){A&&D[O].appendChild(A)}),b.noUiSlider.on("update",function(A,O,F,B,I){var M=[[]],z=[[]],q=[[]],H=0;E[0]&&(M[0][0]=0,z[0][0]=I[0],q[0][0]=v.value.to(parseFloat(A[0])));for(var Q=1;Q<A.length;Q++)(!E[Q]||A[Q]-A[Q-1]>w)&&(H++,M[H]=[],q[H]=[],z[H]=[]),E[Q]&&(M[H].push(Q),q[H].push(v.value.to(parseFloat(A[Q]))),z[H].push(I[Q]));M.forEach(function(j,ee){for(var G=j.length,J=0;J<G;J++){var te=j[J];if(J===G-1){var re=0;z[ee].forEach(function(le){re+=1e3-le});var ae=C?"bottom":"right",ye=S?0:G-1,ve=1e3-z[ee][ye];re=($&&!C?100:0)+re/G-ve,E[te].innerHTML=q[ee].join(k),E[te].style.display="block",E[te].style[ae]=re+"%",f.value.tooltipHidden.split(" ").forEach(le=>{E[te].classList.contains(le)&&E[te].classList.remove(le)})}else E[te].style.display="none",f.value.tooltipHidden.split(" ").forEach(le=>{E[te].classList.add(le)})}})})}}}var PipsMode;(function(a){a.Range="range",a.Steps="steps",a.Positions="positions",a.Count="count",a.Values="values"})(PipsMode||(PipsMode={}));var PipsType;(function(a){a[a.None=-1]="None",a[a.NoValue=0]="NoValue",a[a.LargeValue=1]="LargeValue",a[a.SmallValue=2]="SmallValue"})(PipsType||(PipsType={}));function isValidFormatter(a){return isValidPartialFormatter(a)&&typeof a.from=="function"}function isValidPartialFormatter(a){return typeof a=="object"&&typeof a.to=="function"}function removeElement(a){a.parentElement.removeChild(a)}function isSet(a){return a!=null}function preventDefault(a){a.preventDefault()}function unique(a){return a.filter(function(i){return this[i]?!1:this[i]=!0},{})}function closest(a,i){return Math.round(a/i)*i}function offset(a,i){var u=a.getBoundingClientRect(),c=a.ownerDocument,d=c.documentElement,m=getPageOffset(c);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(m.x=0),i?u.top+m.y-d.clientTop:u.left+m.x-d.clientLeft}function isNumeric(a){return typeof a=="number"&&!isNaN(a)&&isFinite(a)}function addClassFor(a,i,u){u>0&&(addClass(a,i),setTimeout(function(){removeClass(a,i)},u))}function limit(a){return Math.max(Math.min(a,100),0)}function asArray(a){return Array.isArray(a)?a:[a]}function countDecimals(a){a=String(a);var i=a.split(".");return i.length>1?i[1].length:0}function addClass(a,i){a.classList&&!/\s/.test(i)?a.classList.add(i):a.className+=" "+i}function removeClass(a,i){a.classList&&!/\s/.test(i)?a.classList.remove(i):a.className=a.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," ")}function hasClass(a,i){return a.classList?a.classList.contains(i):new RegExp("\\b"+i+"\\b").test(a.className)}function getPageOffset(a){var i=window.pageXOffset!==void 0,u=(a.compatMode||"")==="CSS1Compat",c=i?window.pageXOffset:u?a.documentElement.scrollLeft:a.body.scrollLeft,d=i?window.pageYOffset:u?a.documentElement.scrollTop:a.body.scrollTop;return{x:c,y:d}}function getActions(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function getSupportsPassive(){var a=!1;try{var i=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("test",null,i)}catch{}return a}function getSupportsTouchActionNone(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function subRangeRatio(a,i){return 100/(i-a)}function fromPercentage(a,i,u){return i*100/(a[u+1]-a[u])}function toPercentage(a,i){return fromPercentage(a,a[0]<0?i+Math.abs(a[0]):i-a[0],0)}function isPercentage(a,i){return i*(a[1]-a[0])/100+a[0]}function getJ(a,i){for(var u=1;a>=i[u];)u+=1;return u}function toStepping(a,i,u){if(u>=a.slice(-1)[0])return 100;var c=getJ(u,a),d=a[c-1],m=a[c],f=i[c-1],v=i[c];return f+toPercentage([d,m],u)/subRangeRatio(f,v)}function fromStepping(a,i,u){if(u>=100)return a.slice(-1)[0];var c=getJ(u,i),d=a[c-1],m=a[c],f=i[c-1],v=i[c];return isPercentage([d,m],(u-f)*subRangeRatio(f,v))}function getStep(a,i,u,c){if(c===100)return c;var d=getJ(c,a),m=a[d-1],f=a[d];return u?c-m>(f-m)/2?f:m:i[d-1]?a[d-1]+closest(c-a[d-1],i[d-1]):c}var Spectrum=function(){function a(i,u,c){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[c||!1],this.xNumSteps=[!1],this.snap=u;var d,m=[];for(Object.keys(i).forEach(function(f){m.push([asArray(i[f]),f])}),m.sort(function(f,v){return f[0][0]-v[0][0]}),d=0;d<m.length;d++)this.handleEntryPoint(m[d][1],m[d][0]);for(this.xNumSteps=this.xSteps.slice(0),d=0;d<this.xNumSteps.length;d++)this.handleStepPoint(d,this.xNumSteps[d])}return a.prototype.getDistance=function(i){for(var u=[],c=0;c<this.xNumSteps.length-1;c++)u[c]=fromPercentage(this.xVal,i,c);return u},a.prototype.getAbsoluteDistance=function(i,u,c){var d=0;if(i<this.xPct[this.xPct.length-1])for(;i>this.xPct[d+1];)d++;else i===this.xPct[this.xPct.length-1]&&(d=this.xPct.length-2);!c&&i===this.xPct[d+1]&&d++,u===null&&(u=[]);var m,f=1,v=u[d],g=0,y=0,b=0,w=0;for(c?m=(i-this.xPct[d])/(this.xPct[d+1]-this.xPct[d]):m=(this.xPct[d+1]-i)/(this.xPct[d+1]-this.xPct[d]);v>0;)g=this.xPct[d+1+w]-this.xPct[d+w],u[d+w]*f+100-m*100>100?(y=g*m,f=(v-100*m)/u[d+w],m=1):(y=u[d+w]*g/100*f,f=0),c?(b=b-y,this.xPct.length+w>=1&&w--):(b=b+y,this.xPct.length-w>=1&&w++),v=u[d+w]*f;return i+b},a.prototype.toStepping=function(i){return i=toStepping(this.xVal,this.xPct,i),i},a.prototype.fromStepping=function(i){return fromStepping(this.xVal,this.xPct,i)},a.prototype.getStep=function(i){return i=getStep(this.xPct,this.xSteps,this.snap,i),i},a.prototype.getDefaultStep=function(i,u,c){var d=getJ(i,this.xPct);return(i===100||u&&i===this.xPct[d-1])&&(d=Math.max(d-1,1)),(this.xVal[d]-this.xVal[d-1])/c},a.prototype.getNearbySteps=function(i){var u=getJ(i,this.xPct);return{stepBefore:{startValue:this.xVal[u-2],step:this.xNumSteps[u-2],highestStep:this.xHighestCompleteStep[u-2]},thisStep:{startValue:this.xVal[u-1],step:this.xNumSteps[u-1],highestStep:this.xHighestCompleteStep[u-1]},stepAfter:{startValue:this.xVal[u],step:this.xNumSteps[u],highestStep:this.xHighestCompleteStep[u]}}},a.prototype.countStepDecimals=function(){var i=this.xNumSteps.map(countDecimals);return Math.max.apply(null,i)},a.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},a.prototype.convert=function(i){return this.getStep(this.toStepping(i))},a.prototype.handleEntryPoint=function(i,u){var c;if(i==="min"?c=0:i==="max"?c=100:c=parseFloat(i),!isNumeric(c)||!isNumeric(u[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(c),this.xVal.push(u[0]);var d=Number(u[1]);c?this.xSteps.push(isNaN(d)?!1:d):isNaN(d)||(this.xSteps[0]=d),this.xHighestCompleteStep.push(0)},a.prototype.handleStepPoint=function(i,u){if(u){if(this.xVal[i]===this.xVal[i+1]){this.xSteps[i]=this.xHighestCompleteStep[i]=this.xVal[i];return}this.xSteps[i]=fromPercentage([this.xVal[i],this.xVal[i+1]],u,0)/subRangeRatio(this.xPct[i],this.xPct[i+1]);var c=(this.xVal[i+1]-this.xVal[i])/this.xNumSteps[i],d=Math.ceil(Number(c.toFixed(3))-1),m=this.xVal[i]+this.xNumSteps[i]*d;this.xHighestCompleteStep[i]=m}},a}(),defaultFormatter={to:function(a){return a===void 0?"":a.toFixed(2)},from:Number},cssClasses={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},INTERNAL_EVENT_NS={tooltips:".__tooltips",aria:".__aria"};function testStep(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'step' is not numeric.");a.singleStep=i}function testKeyboardPageMultiplier(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");a.keyboardPageMultiplier=i}function testKeyboardMultiplier(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");a.keyboardMultiplier=i}function testKeyboardDefaultStep(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");a.keyboardDefaultStep=i}function testRange(a,i){if(typeof i!="object"||Array.isArray(i))throw new Error("noUiSlider: 'range' is not an object.");if(i.min===void 0||i.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");a.spectrum=new Spectrum(i,a.snap||!1,a.singleStep)}function testStart(a,i){if(i=asArray(i),!Array.isArray(i)||!i.length)throw new Error("noUiSlider: 'start' option is incorrect.");a.handles=i.length,a.start=i}function testSnap(a,i){if(typeof i!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");a.snap=i}function testAnimate(a,i){if(typeof i!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");a.animate=i}function testAnimationDuration(a,i){if(typeof i!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");a.animationDuration=i}function testConnect(a,i){var u=[!1],c;if(i==="lower"?i=[!0,!1]:i==="upper"&&(i=[!1,!0]),i===!0||i===!1){for(c=1;c<a.handles;c++)u.push(i);u.push(!1)}else{if(!Array.isArray(i)||!i.length||i.length!==a.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");u=i}a.connect=u}function testOrientation(a,i){switch(i){case"horizontal":a.ort=0;break;case"vertical":a.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function testMargin(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'margin' option must be numeric.");i!==0&&(a.margin=a.spectrum.getDistance(i))}function testLimit(a,i){if(!isNumeric(i))throw new Error("noUiSlider: 'limit' option must be numeric.");if(a.limit=a.spectrum.getDistance(i),!a.limit||a.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function testPadding(a,i){var u;if(!isNumeric(i)&&!Array.isArray(i))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(i)&&!(i.length===2||isNumeric(i[0])||isNumeric(i[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(i!==0){for(Array.isArray(i)||(i=[i,i]),a.padding=[a.spectrum.getDistance(i[0]),a.spectrum.getDistance(i[1])],u=0;u<a.spectrum.xNumSteps.length-1;u++)if(a.padding[0][u]<0||a.padding[1][u]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var c=i[0]+i[1],d=a.spectrum.xVal[0],m=a.spectrum.xVal[a.spectrum.xVal.length-1];if(c/(m-d)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function testDirection(a,i){switch(i){case"ltr":a.dir=0;break;case"rtl":a.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function testBehaviour(a,i){if(typeof i!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var u=i.indexOf("tap")>=0,c=i.indexOf("drag")>=0,d=i.indexOf("fixed")>=0,m=i.indexOf("snap")>=0,f=i.indexOf("hover")>=0,v=i.indexOf("unconstrained")>=0,g=i.indexOf("drag-all")>=0,y=i.indexOf("smooth-steps")>=0;if(d){if(a.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");testMargin(a,a.start[1]-a.start[0])}if(v&&(a.margin||a.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");a.events={tap:u||m,drag:c,dragAll:g,smoothSteps:y,fixed:d,snap:m,hover:f,unconstrained:v}}function testTooltips(a,i){if(i!==!1)if(i===!0||isValidPartialFormatter(i)){a.tooltips=[];for(var u=0;u<a.handles;u++)a.tooltips.push(i)}else{if(i=asArray(i),i.length!==a.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");i.forEach(function(c){if(typeof c!="boolean"&&!isValidPartialFormatter(c))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),a.tooltips=i}}function testHandleAttributes(a,i){if(i.length!==a.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");a.handleAttributes=i}function testAriaFormat(a,i){if(!isValidPartialFormatter(i))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");a.ariaFormat=i}function testFormat(a,i){if(!isValidFormatter(i))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");a.format=i}function testKeyboardSupport(a,i){if(typeof i!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");a.keyboardSupport=i}function testDocumentElement(a,i){a.documentElement=i}function testCssPrefix(a,i){if(typeof i!="string"&&i!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");a.cssPrefix=i}function testCssClasses(a,i){if(typeof i!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof a.cssPrefix=="string"?(a.cssClasses={},Object.keys(i).forEach(function(u){a.cssClasses[u]=a.cssPrefix+i[u]})):a.cssClasses=i}function testOptions(a){var i={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:defaultFormatter,format:defaultFormatter},u={step:{r:!1,t:testStep},keyboardPageMultiplier:{r:!1,t:testKeyboardPageMultiplier},keyboardMultiplier:{r:!1,t:testKeyboardMultiplier},keyboardDefaultStep:{r:!1,t:testKeyboardDefaultStep},start:{r:!0,t:testStart},connect:{r:!0,t:testConnect},direction:{r:!0,t:testDirection},snap:{r:!1,t:testSnap},animate:{r:!1,t:testAnimate},animationDuration:{r:!1,t:testAnimationDuration},range:{r:!0,t:testRange},orientation:{r:!1,t:testOrientation},margin:{r:!1,t:testMargin},limit:{r:!1,t:testLimit},padding:{r:!1,t:testPadding},behaviour:{r:!0,t:testBehaviour},ariaFormat:{r:!1,t:testAriaFormat},format:{r:!1,t:testFormat},tooltips:{r:!1,t:testTooltips},keyboardSupport:{r:!0,t:testKeyboardSupport},documentElement:{r:!1,t:testDocumentElement},cssPrefix:{r:!0,t:testCssPrefix},cssClasses:{r:!0,t:testCssClasses},handleAttributes:{r:!1,t:testHandleAttributes}},c={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};a.format&&!a.ariaFormat&&(a.ariaFormat=a.format),Object.keys(u).forEach(function(g){if(!isSet(a[g])&&c[g]===void 0){if(u[g].r)throw new Error("noUiSlider: '"+g+"' is required.");return}u[g].t(i,isSet(a[g])?a[g]:c[g])}),i.pips=a.pips;var d=document.createElement("div"),m=d.style.msTransform!==void 0,f=d.style.transform!==void 0;i.transformRule=f?"transform":m?"msTransform":"webkitTransform";var v=[["left","top"],["right","bottom"]];return i.style=v[i.dir][i.ort],i}function scope(a,i,u){var c=getActions(),d=getSupportsTouchActionNone(),m=d&&getSupportsPassive(),f=a,v,g,y,b,w,k=i.spectrum,$=[],S=[],C=[],E=0,D={},A=a.ownerDocument,O=i.documentElement||A.documentElement,F=A.body,B=A.dir==="rtl"||i.ort===1?0:100;function I(Oe,Ye){var Rt=A.createElement("div");return Ye&&addClass(Rt,Ye),Oe.appendChild(Rt),Rt}function M(Oe,Ye){var Rt=I(Oe,i.cssClasses.origin),oe=I(Rt,i.cssClasses.handle);if(I(oe,i.cssClasses.touchArea),oe.setAttribute("data-handle",String(Ye)),i.keyboardSupport&&(oe.setAttribute("tabindex","0"),oe.addEventListener("keydown",function(Ne){return We(Ne,Ye)})),i.handleAttributes!==void 0){var pe=i.handleAttributes[Ye];Object.keys(pe).forEach(function(Ne){oe.setAttribute(Ne,pe[Ne])})}return oe.setAttribute("role","slider"),oe.setAttribute("aria-orientation",i.ort?"vertical":"horizontal"),Ye===0?addClass(oe,i.cssClasses.handleLower):Ye===i.handles-1&&addClass(oe,i.cssClasses.handleUpper),Rt.handle=oe,Rt}function z(Oe,Ye){return Ye?I(Oe,i.cssClasses.connect):!1}function q(Oe,Ye){var Rt=I(Ye,i.cssClasses.connects);g=[],y=[],y.push(z(Rt,Oe[0]));for(var oe=0;oe<i.handles;oe++)g.push(M(Ye,oe)),C[oe]=oe,y.push(z(Rt,Oe[oe+1]))}function H(Oe){addClass(Oe,i.cssClasses.target),i.dir===0?addClass(Oe,i.cssClasses.ltr):addClass(Oe,i.cssClasses.rtl),i.ort===0?addClass(Oe,i.cssClasses.horizontal):addClass(Oe,i.cssClasses.vertical);var Ye=getComputedStyle(Oe).direction;return Ye==="rtl"?addClass(Oe,i.cssClasses.textDirectionRtl):addClass(Oe,i.cssClasses.textDirectionLtr),I(Oe,i.cssClasses.base)}function Q(Oe,Ye){return!i.tooltips||!i.tooltips[Ye]?!1:I(Oe.firstChild,i.cssClasses.tooltip)}function j(){return f.hasAttribute("disabled")}function ee(Oe){var Ye=g[Oe];return Ye.hasAttribute("disabled")}function G(Oe){Oe!=null?(g[Oe].setAttribute("disabled",""),g[Oe].handle.removeAttribute("tabindex")):(f.setAttribute("disabled",""),g.forEach(function(Ye){Ye.handle.removeAttribute("tabindex")}))}function J(Oe){Oe!=null?(g[Oe].removeAttribute("disabled"),g[Oe].handle.setAttribute("tabindex","0")):(f.removeAttribute("disabled"),g.forEach(function(Ye){Ye.removeAttribute("disabled"),Ye.handle.setAttribute("tabindex","0")}))}function te(){w&&(Tt("update"+INTERNAL_EVENT_NS.tooltips),w.forEach(function(Oe){Oe&&removeElement(Oe)}),w=null)}function re(){te(),w=g.map(Q),jt("update"+INTERNAL_EVENT_NS.tooltips,function(Oe,Ye,Rt){if(!(!w||!i.tooltips)&&w[Ye]!==!1){var oe=Oe[Ye];i.tooltips[Ye]!==!0&&(oe=i.tooltips[Ye].to(Rt[Ye])),w[Ye].innerHTML=oe}})}function ae(){Tt("update"+INTERNAL_EVENT_NS.aria),jt("update"+INTERNAL_EVENT_NS.aria,function(Oe,Ye,Rt,oe,pe){C.forEach(function(Ne){var Nt=g[Ne],qt=St(S,Ne,0,!0,!0,!0),tn=St(S,Ne,100,!0,!0,!0),un=pe[Ne],Gt=String(i.ariaFormat.to(Rt[Ne]));qt=k.fromStepping(qt).toFixed(1),tn=k.fromStepping(tn).toFixed(1),un=k.fromStepping(un).toFixed(1),Nt.children[0].setAttribute("aria-valuemin",qt),Nt.children[0].setAttribute("aria-valuemax",tn),Nt.children[0].setAttribute("aria-valuenow",un),Nt.children[0].setAttribute("aria-valuetext",Gt)})})}function ye(Oe){if(Oe.mode===PipsMode.Range||Oe.mode===PipsMode.Steps)return k.xVal;if(Oe.mode===PipsMode.Count){if(Oe.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var Ye=Oe.values-1,Rt=100/Ye,oe=[];Ye--;)oe[Ye]=Ye*Rt;return oe.push(100),ve(oe,Oe.stepped)}return Oe.mode===PipsMode.Positions?ve(Oe.values,Oe.stepped):Oe.mode===PipsMode.Values?Oe.stepped?Oe.values.map(function(pe){return k.fromStepping(k.getStep(k.toStepping(pe)))}):Oe.values:[]}function ve(Oe,Ye){return Oe.map(function(Rt){return k.fromStepping(Ye?k.getStep(Rt):Rt)})}function le(Oe){function Ye(un,Gt){return Number((un+Gt).toFixed(7))}var Rt=ye(Oe),oe={},pe=k.xVal[0],Ne=k.xVal[k.xVal.length-1],Nt=!1,qt=!1,tn=0;return Rt=unique(Rt.slice().sort(function(un,Gt){return un-Gt})),Rt[0]!==pe&&(Rt.unshift(pe),Nt=!0),Rt[Rt.length-1]!==Ne&&(Rt.push(Ne),qt=!0),Rt.forEach(function(un,Gt){var _n,nn,cn,fn=un,Bn=Rt[Gt+1],Rn,tr,Wn,ir,nr,Kn,dr,xr=Oe.mode===PipsMode.Steps;for(xr&&(_n=k.xNumSteps[Gt]),_n||(_n=Bn-fn),Bn===void 0&&(Bn=fn),_n=Math.max(_n,1e-7),nn=fn;nn<=Bn;nn=Ye(nn,_n)){for(Rn=k.toStepping(nn),tr=Rn-tn,nr=tr/(Oe.density||1),Kn=Math.round(nr),dr=tr/Kn,cn=1;cn<=Kn;cn+=1)Wn=tn+cn*dr,oe[Wn.toFixed(5)]=[k.fromStepping(Wn),0];ir=Rt.indexOf(nn)>-1?PipsType.LargeValue:xr?PipsType.SmallValue:PipsType.NoValue,!Gt&&Nt&&nn!==Bn&&(ir=0),nn===Bn&&qt||(oe[Rn.toFixed(5)]=[nn,ir]),tn=Rn}}),oe}function Se(Oe,Ye,Rt){var oe,pe,Ne=A.createElement("div"),Nt=(oe={},oe[PipsType.None]="",oe[PipsType.NoValue]=i.cssClasses.valueNormal,oe[PipsType.LargeValue]=i.cssClasses.valueLarge,oe[PipsType.SmallValue]=i.cssClasses.valueSub,oe),qt=(pe={},pe[PipsType.None]="",pe[PipsType.NoValue]=i.cssClasses.markerNormal,pe[PipsType.LargeValue]=i.cssClasses.markerLarge,pe[PipsType.SmallValue]=i.cssClasses.markerSub,pe),tn=[i.cssClasses.valueHorizontal,i.cssClasses.valueVertical],un=[i.cssClasses.markerHorizontal,i.cssClasses.markerVertical];addClass(Ne,i.cssClasses.pips),addClass(Ne,i.ort===0?i.cssClasses.pipsHorizontal:i.cssClasses.pipsVertical);function Gt(nn,cn){var fn=cn===i.cssClasses.value,Bn=fn?tn:un,Rn=fn?Nt:qt;return cn+" "+Bn[i.ort]+" "+Rn[nn]}function _n(nn,cn,fn){if(fn=Ye?Ye(cn,fn):fn,fn!==PipsType.None){var Bn=I(Ne,!1);Bn.className=Gt(fn,i.cssClasses.marker),Bn.style[i.style]=nn+"%",fn>PipsType.NoValue&&(Bn=I(Ne,!1),Bn.className=Gt(fn,i.cssClasses.value),Bn.setAttribute("data-value",String(cn)),Bn.style[i.style]=nn+"%",Bn.innerHTML=String(Rt.to(cn)))}}return Object.keys(Oe).forEach(function(nn){_n(nn,Oe[nn][0],Oe[nn][1])}),Ne}function De(){b&&(removeElement(b),b=null)}function At(Oe){De();var Ye=le(Oe),Rt=Oe.filter,oe=Oe.format||{to:function(pe){return String(Math.round(pe))}};return b=f.appendChild(Se(Ye,Rt,oe)),b}function Le(){var Oe=v.getBoundingClientRect(),Ye="offset"+["Width","Height"][i.ort];return i.ort===0?Oe.width||v[Ye]:Oe.height||v[Ye]}function ke(Oe,Ye,Rt,oe){var pe=function(Nt){var qt=ue(Nt,oe.pageOffset,oe.target||Ye);if(!qt||j()&&!oe.doNotReject||hasClass(f,i.cssClasses.tap)&&!oe.doNotReject||Oe===c.start&&qt.buttons!==void 0&&qt.buttons>1||oe.hover&&qt.buttons)return!1;m||qt.preventDefault(),qt.calcPoint=qt.points[i.ort],Rt(qt,oe)},Ne=[];return Oe.split(" ").forEach(function(Nt){Ye.addEventListener(Nt,pe,m?{passive:!0}:!1),Ne.push([Nt,pe])}),Ne}function ue(Oe,Ye,Rt){var oe=Oe.type.indexOf("touch")===0,pe=Oe.type.indexOf("mouse")===0,Ne=Oe.type.indexOf("pointer")===0,Nt=0,qt=0;if(Oe.type.indexOf("MSPointer")===0&&(Ne=!0),Oe.type==="mousedown"&&!Oe.buttons&&!Oe.touches)return!1;if(oe){var tn=function(_n){var nn=_n.target;return nn===Rt||Rt.contains(nn)||Oe.composed&&Oe.composedPath().shift()===Rt};if(Oe.type==="touchstart"){var un=Array.prototype.filter.call(Oe.touches,tn);if(un.length>1)return!1;Nt=un[0].pageX,qt=un[0].pageY}else{var Gt=Array.prototype.find.call(Oe.changedTouches,tn);if(!Gt)return!1;Nt=Gt.pageX,qt=Gt.pageY}}return Ye=Ye||getPageOffset(A),(pe||Ne)&&(Nt=Oe.clientX+Ye.x,qt=Oe.clientY+Ye.y),Oe.pageOffset=Ye,Oe.points=[Nt,qt],Oe.cursor=pe||Ne,Oe}function Ce(Oe){var Ye=Oe-offset(v,i.ort),Rt=Ye*100/Le();return Rt=limit(Rt),i.dir?100-Rt:Rt}function Te(Oe){var Ye=100,Rt=!1;return g.forEach(function(oe,pe){if(!ee(pe)){var Ne=S[pe],Nt=Math.abs(Ne-Oe),qt=Nt===100&&Ye===100,tn=Nt<Ye,un=Nt<=Ye&&Oe>Ne;(tn||un||qt)&&(Rt=pe,Ye=Nt)}}),Rt}function Pe(Oe,Ye){Oe.type==="mouseout"&&Oe.target.nodeName==="HTML"&&Oe.relatedTarget===null&&Ie(Oe,Ye)}function Vt(Oe,Ye){if(navigator.appVersion.indexOf("MSIE 9")===-1&&Oe.buttons===0&&Ye.buttonsProperty!==0)return Ie(Oe,Ye);var Rt=(i.dir?-1:1)*(Oe.calcPoint-Ye.startCalcPoint),oe=Rt*100/Ye.baseSize;$t(Rt>0,oe,Ye.locations,Ye.handleNumbers,Ye.connect)}function Ie(Oe,Ye){Ye.handle&&(removeClass(Ye.handle,i.cssClasses.active),E-=1),Ye.listeners.forEach(function(Rt){O.removeEventListener(Rt[0],Rt[1])}),E===0&&(removeClass(f,i.cssClasses.drag),ln(),Oe.cursor&&(F.style.cursor="",F.removeEventListener("selectstart",preventDefault))),i.events.smoothSteps&&(Ye.handleNumbers.forEach(function(Rt){hn(Rt,S[Rt],!0,!0,!1,!1)}),Ye.handleNumbers.forEach(function(Rt){Ft("update",Rt)})),Ye.handleNumbers.forEach(function(Rt){Ft("change",Rt),Ft("set",Rt),Ft("end",Rt)})}function ie(Oe,Ye){if(!Ye.handleNumbers.some(ee)){var Rt;if(Ye.handleNumbers.length===1){var oe=g[Ye.handleNumbers[0]];Rt=oe.children[0],E+=1,addClass(Rt,i.cssClasses.active)}Oe.stopPropagation();var pe=[],Ne=ke(c.move,O,Vt,{target:Oe.target,handle:Rt,connect:Ye.connect,listeners:pe,startCalcPoint:Oe.calcPoint,baseSize:Le(),pageOffset:Oe.pageOffset,handleNumbers:Ye.handleNumbers,buttonsProperty:Oe.buttons,locations:S.slice()}),Nt=ke(c.end,O,Ie,{target:Oe.target,handle:Rt,listeners:pe,doNotReject:!0,handleNumbers:Ye.handleNumbers}),qt=ke("mouseout",O,Pe,{target:Oe.target,handle:Rt,listeners:pe,doNotReject:!0,handleNumbers:Ye.handleNumbers});pe.push.apply(pe,Ne.concat(Nt,qt)),Oe.cursor&&(F.style.cursor=getComputedStyle(Oe.target).cursor,g.length>1&&addClass(f,i.cssClasses.drag),F.addEventListener("selectstart",preventDefault,!1)),Ye.handleNumbers.forEach(function(tn){Ft("start",tn)})}}function de(Oe){Oe.stopPropagation();var Ye=Ce(Oe.calcPoint),Rt=Te(Ye);Rt!==!1&&(i.events.snap||addClassFor(f,i.cssClasses.tap,i.animationDuration),hn(Rt,Ye,!0,!0),ln(),Ft("slide",Rt,!0),Ft("update",Rt,!0),i.events.snap?ie(Oe,{handleNumbers:[Rt]}):(Ft("change",Rt,!0),Ft("set",Rt,!0)))}function Fe(Oe){var Ye=Ce(Oe.calcPoint),Rt=k.getStep(Ye),oe=k.fromStepping(Rt);Object.keys(D).forEach(function(pe){pe.split(".")[0]==="hover"&&D[pe].forEach(function(Ne){Ne.call(bn,oe)})})}function We(Oe,Ye){if(j()||ee(Ye))return!1;var Rt=["Left","Right"],oe=["Down","Up"],pe=["PageDown","PageUp"],Ne=["Home","End"];i.dir&&!i.ort?Rt.reverse():i.ort&&!i.dir&&(oe.reverse(),pe.reverse());var Nt=Oe.key.replace("Arrow",""),qt=Nt===pe[0],tn=Nt===pe[1],un=Nt===oe[0]||Nt===Rt[0]||qt,Gt=Nt===oe[1]||Nt===Rt[1]||tn,_n=Nt===Ne[0],nn=Nt===Ne[1];if(!un&&!Gt&&!_n&&!nn)return!0;Oe.preventDefault();var cn;if(Gt||un){var fn=un?0:1,Bn=wn(Ye),Rn=Bn[fn];if(Rn===null)return!1;Rn===!1&&(Rn=k.getDefaultStep(S[Ye],un,i.keyboardDefaultStep)),tn||qt?Rn*=i.keyboardPageMultiplier:Rn*=i.keyboardMultiplier,Rn=Math.max(Rn,1e-7),Rn=(un?-1:1)*Rn,cn=$[Ye]+Rn}else nn?cn=i.spectrum.xVal[i.spectrum.xVal.length-1]:cn=i.spectrum.xVal[0];return hn(Ye,k.toStepping(cn),!0,!0),Ft("slide",Ye),Ft("update",Ye),Ft("change",Ye),Ft("set",Ye),!1}function wt(Oe){Oe.fixed||g.forEach(function(Ye,Rt){ke(c.start,Ye.children[0],ie,{handleNumbers:[Rt]})}),Oe.tap&&ke(c.start,v,de,{}),Oe.hover&&ke(c.move,v,Fe,{hover:!0}),Oe.drag&&y.forEach(function(Ye,Rt){if(!(Ye===!1||Rt===0||Rt===y.length-1)){var oe=g[Rt-1],pe=g[Rt],Ne=[Ye],Nt=[oe,pe],qt=[Rt-1,Rt];addClass(Ye,i.cssClasses.draggable),Oe.fixed&&(Ne.push(oe.children[0]),Ne.push(pe.children[0])),Oe.dragAll&&(Nt=g,qt=C),Ne.forEach(function(tn){ke(c.start,tn,ie,{handles:Nt,handleNumbers:qt,connect:Ye})})}})}function jt(Oe,Ye){D[Oe]=D[Oe]||[],D[Oe].push(Ye),Oe.split(".")[0]==="update"&&g.forEach(function(Rt,oe){Ft("update",oe)})}function Ut(Oe){return Oe===INTERNAL_EVENT_NS.aria||Oe===INTERNAL_EVENT_NS.tooltips}function Tt(Oe){var Ye=Oe&&Oe.split(".")[0],Rt=Ye?Oe.substring(Ye.length):Oe;Object.keys(D).forEach(function(oe){var pe=oe.split(".")[0],Ne=oe.substring(pe.length);(!Ye||Ye===pe)&&(!Rt||Rt===Ne)&&(!Ut(Ne)||Rt===Ne)&&delete D[oe]})}function Ft(Oe,Ye,Rt){Object.keys(D).forEach(function(oe){var pe=oe.split(".")[0];Oe===pe&&D[oe].forEach(function(Ne){Ne.call(bn,$.map(i.format.to),Ye,$.slice(),Rt||!1,S.slice(),bn)})})}function St(Oe,Ye,Rt,oe,pe,Ne,Nt){var qt;return g.length>1&&!i.events.unconstrained&&(oe&&Ye>0&&(qt=k.getAbsoluteDistance(Oe[Ye-1],i.margin,!1),Rt=Math.max(Rt,qt)),pe&&Ye<g.length-1&&(qt=k.getAbsoluteDistance(Oe[Ye+1],i.margin,!0),Rt=Math.min(Rt,qt))),g.length>1&&i.limit&&(oe&&Ye>0&&(qt=k.getAbsoluteDistance(Oe[Ye-1],i.limit,!1),Rt=Math.min(Rt,qt)),pe&&Ye<g.length-1&&(qt=k.getAbsoluteDistance(Oe[Ye+1],i.limit,!0),Rt=Math.max(Rt,qt))),i.padding&&(Ye===0&&(qt=k.getAbsoluteDistance(0,i.padding[0],!1),Rt=Math.max(Rt,qt)),Ye===g.length-1&&(qt=k.getAbsoluteDistance(100,i.padding[1],!0),Rt=Math.min(Rt,qt))),Nt||(Rt=k.getStep(Rt)),Rt=limit(Rt),Rt===Oe[Ye]&&!Ne?!1:Rt}function Wt(Oe,Ye){var Rt=i.ort;return(Rt?Ye:Oe)+", "+(Rt?Oe:Ye)}function $t(Oe,Ye,Rt,oe,pe){var Ne=Rt.slice(),Nt=oe[0],qt=i.events.smoothSteps,tn=[!Oe,Oe],un=[Oe,!Oe];oe=oe.slice(),Oe&&oe.reverse(),oe.length>1?oe.forEach(function(_n,nn){var cn=St(Ne,_n,Ne[_n]+Ye,tn[nn],un[nn],!1,qt);cn===!1?Ye=0:(Ye=cn-Ne[_n],Ne[_n]=cn)}):tn=un=[!0];var Gt=!1;oe.forEach(function(_n,nn){Gt=hn(_n,Rt[_n]+Ye,tn[nn],un[nn],!1,qt)||Gt}),Gt&&(oe.forEach(function(_n){Ft("update",_n),Ft("slide",_n)}),pe!=null&&Ft("drag",Nt))}function xt(Oe,Ye){return i.dir?100-Oe-Ye:Oe}function Kt(Oe,Ye){S[Oe]=Ye,$[Oe]=k.fromStepping(Ye);var Rt=xt(Ye,0)-B,oe="translate("+Wt(Rt+"%","0")+")";g[Oe].style[i.transformRule]=oe,kt(Oe),kt(Oe+1)}function ln(){C.forEach(function(Oe){var Ye=S[Oe]>50?-1:1,Rt=3+(g.length+Ye*Oe);g[Oe].style.zIndex=String(Rt)})}function hn(Oe,Ye,Rt,oe,pe,Ne){return pe||(Ye=St(S,Oe,Ye,Rt,oe,!1,Ne)),Ye===!1?!1:(Kt(Oe,Ye),!0)}function kt(Oe){if(y[Oe]){var Ye=0,Rt=100;Oe!==0&&(Ye=S[Oe-1]),Oe!==y.length-1&&(Rt=S[Oe]);var oe=Rt-Ye,pe="translate("+Wt(xt(Ye,oe)+"%","0")+")",Ne="scale("+Wt(oe/100,"1")+")";y[Oe].style[i.transformRule]=pe+" "+Ne}}function Et(Oe,Ye){return Oe===null||Oe===!1||Oe===void 0||(typeof Oe=="number"&&(Oe=String(Oe)),Oe=i.format.from(Oe),Oe!==!1&&(Oe=k.toStepping(Oe)),Oe===!1||isNaN(Oe))?S[Ye]:Oe}function zt(Oe,Ye,Rt){var oe=asArray(Oe),pe=S[0]===void 0;Ye=Ye===void 0?!0:Ye,i.animate&&!pe&&addClassFor(f,i.cssClasses.tap,i.animationDuration),C.forEach(function(qt){hn(qt,Et(oe[qt],qt),!0,!1,Rt)});var Ne=C.length===1?0:1;if(pe&&k.hasNoSize()&&(Rt=!0,S[0]=0,C.length>1)){var Nt=100/(C.length-1);C.forEach(function(qt){S[qt]=qt*Nt})}for(;Ne<C.length;++Ne)C.forEach(function(qt){hn(qt,S[qt],!0,!0,Rt)});ln(),C.forEach(function(qt){Ft("update",qt),oe[qt]!==null&&Ye&&Ft("set",qt)})}function Yt(Oe){zt(i.start,Oe)}function mn(Oe,Ye,Rt,oe){if(Oe=Number(Oe),!(Oe>=0&&Oe<C.length))throw new Error("noUiSlider: invalid handle number, got: "+Oe);hn(Oe,Et(Ye,Oe),!0,!0,oe),Ft("update",Oe),Rt&&Ft("set",Oe)}function an(Oe){if(Oe===void 0&&(Oe=!1),Oe)return $.length===1?$[0]:$.slice(0);var Ye=$.map(i.format.to);return Ye.length===1?Ye[0]:Ye}function sn(){for(Tt(INTERNAL_EVENT_NS.aria),Tt(INTERNAL_EVENT_NS.tooltips),Object.keys(i.cssClasses).forEach(function(Oe){removeClass(f,i.cssClasses[Oe])});f.firstChild;)f.removeChild(f.firstChild);delete f.noUiSlider}function wn(Oe){var Ye=S[Oe],Rt=k.getNearbySteps(Ye),oe=$[Oe],pe=Rt.thisStep.step,Ne=null;if(i.snap)return[oe-Rt.stepBefore.startValue||null,Rt.stepAfter.startValue-oe||null];pe!==!1&&oe+pe>Rt.stepAfter.startValue&&(pe=Rt.stepAfter.startValue-oe),oe>Rt.thisStep.startValue?Ne=Rt.thisStep.step:Rt.stepBefore.step===!1?Ne=!1:Ne=oe-Rt.stepBefore.highestStep,Ye===100?pe=null:Ye===0&&(Ne=null);var Nt=k.countStepDecimals();return pe!==null&&pe!==!1&&(pe=Number(pe.toFixed(Nt))),Ne!==null&&Ne!==!1&&(Ne=Number(Ne.toFixed(Nt))),[Ne,pe]}function Cn(){return C.map(wn)}function gn(Oe,Ye){var Rt=an(),oe=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];oe.forEach(function(Ne){Oe[Ne]!==void 0&&(u[Ne]=Oe[Ne])});var pe=testOptions(u);oe.forEach(function(Ne){Oe[Ne]!==void 0&&(i[Ne]=pe[Ne])}),k=pe.spectrum,i.margin=pe.margin,i.limit=pe.limit,i.padding=pe.padding,i.pips?At(i.pips):De(),i.tooltips?re():te(),S=[],zt(isSet(Oe.start)?Oe.start:Rt,Ye)}function dn(){v=H(f),q(i.connect,v),wt(i.events),zt(i.start),i.pips&&At(i.pips),i.tooltips&&re(),ae()}dn();var bn={destroy:sn,steps:Cn,on:jt,off:Tt,get:an,set:zt,setHandle:mn,reset:Yt,disable:G,enable:J,__moveHandles:function(Oe,Ye,Rt){$t(Oe,Ye,S,Rt)},options:u,updateOptions:gn,target:f,removePips:De,removeTooltips:te,getPositions:function(){return S.slice()},getTooltips:function(){return w},getOrigins:function(){return g},pips:At};return bn}function initialize(a,i){if(!a||!a.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+a);if(a.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var u=testOptions(i),c=scope(a,u,i);return a.noUiSlider=c,c}var nouislider={__spectrum:Spectrum,cssClasses,create:initialize};function arraysEqual(a,i){if(!Array.isArray(a)||!Array.isArray(i))return!1;const u=i.slice().sort();return a.length===i.length&&a.slice().sort().every(function(c,d){return c===u[d]})}function useSlider(a,i,u){const{orientation:c,direction:d,tooltips:m,step:f,min:v,max:g,merge:y,id:b,disabled:w,options:k,classes:$,format:S,lazy:C,ariaLabelledby:E,aria:D}=toRefs(a),A=u.value,O=u.initialValue,F=u.tooltipsFormat,B=u.tooltipsMerge,I=u.tooltipFormat,M=u.classList,z=ref(null),q=ref(null),H=ref(!1),Q=computed(()=>{let le={cssPrefix:"",cssClasses:M.value,orientation:c.value,direction:d.value,tooltips:m.value?F.value:!1,connect:"lower",start:isNullish(A.value)?v.value:A.value,range:{min:v.value,max:g.value}};if(f.value>0&&(le.step=f.value),Array.isArray(A.value)&&(le.connect=!0),E&&E.value||D&&Object.keys(D.value).length){let Se=Array.isArray(A.value)?A.value:[A.value];le.handleAttributes=Se.map(De=>Object.assign({},D.value,E&&E.value?{"aria-labelledby":E.value}:{}))}return S.value&&(le.ariaFormat=I.value),le}),j=computed(()=>{let le={id:b&&b.value?b.value:void 0};return w.value&&(le.disabled=!0),le}),ee=computed(()=>Array.isArray(A.value)),G=()=>{re(O.value)},J=()=>{let le=q.value.get();return Array.isArray(le)?le.map(Se=>parseFloat(Se)):parseFloat(le)},te=(le,Se=!0)=>{q.value.set(le,Se)},re=le=>{i.emit("input",le),i.emit("update:modelValue",le),i.emit("update",le)},ae=()=>{q.value=nouislider.create(z.value,Object.assign({},Q.value,k.value)),m.value&&ee.value&&y.value>=0&&B(z.value,y.value," - "),q.value.on("set",()=>{const le=J();i.emit("change",le),i.emit("set",le),C.value&&re(le)}),q.value.on("update",()=>{if(!H.value)return;const le=J();if(ee.value&&arraysEqual(A.value,le)||!ee.value&&A.value==le){i.emit("update",le);return}C.value||re(le)}),q.value.on("start",()=>{i.emit("start",J())}),q.value.on("end",()=>{i.emit("end",J())}),q.value.on("slide",()=>{i.emit("slide",J())}),q.value.on("drag",()=>{i.emit("drag",J())}),z.value.querySelectorAll("[data-handle]").forEach(le=>{le.onblur=()=>{z.value&&M.value.focused.split(" ").forEach(Se=>{z.value.classList.remove(Se)})},le.onfocus=()=>{M.value.focused.split(" ").forEach(Se=>{z.value.classList.add(Se)})}}),H.value=!0},ye=()=>{q.value.off(),q.value.destroy(),q.value=null},ve=(le,Se)=>{H.value=!1,ye(),ae()};return onMounted(ae),onUnmounted(ye),watch(ee,ve,{immediate:!1}),watch(v,ve,{immediate:!1}),watch(g,ve,{immediate:!1}),watch(f,ve,{immediate:!1}),watch(c,ve,{immediate:!1}),watch(d,ve,{immediate:!1}),watch(m,ve,{immediate:!1}),watch(y,ve,{immediate:!1}),watch(S,ve,{immediate:!1,deep:!0}),watch(k,ve,{immediate:!1,deep:!0}),watch($,ve,{immediate:!1,deep:!0}),watch(A,(le,Se)=>{Se&&(typeof Se=="object"&&typeof le=="object"&&le&&Object.keys(Se)>Object.keys(le)||typeof Se=="object"&&typeof le!="object"||isNullish(le))&&ve()},{immediate:!1}),watch(A,le=>{if(isNullish(le)){te(v.value,!1);return}let Se=J();ee.value&&!Array.isArray(Se)&&(Se=[Se]),(ee.value&&!arraysEqual(le,Se)||!ee.value&&le!=Se)&&te(le,!1)},{deep:!0}),{slider:z,slider$:q,isRange:ee,sliderProps:j,init:ae,destroy:ye,refresh:ve,update:te,reset:G}}const valueProps$1={value:{validator:function(a){return i=>typeof i=="number"||i instanceof Array||i===null||i===void 0||i===!1},required:!1},modelValue:{validator:function(a){return i=>typeof i=="number"||i instanceof Array||i===null||i===void 0||i===!1},required:!1}};var script$J={name:"Slider",emits:["input","update:modelValue","start","slide","drag","update","change","set","end"],props:{...valueProps$1,id:{type:[String,Number],required:!1},disabled:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},orientation:{type:String,required:!1,default:"horizontal"},direction:{type:String,required:!1,default:"ltr"},tooltips:{type:Boolean,required:!1,default:!0},options:{type:Object,required:!1,default:()=>({})},merge:{type:Number,required:!1,default:-1},format:{type:[Object,Function,Boolean],required:!1,default:null},classes:{type:Object,required:!1,default:()=>({})},showTooltip:{type:String,required:!1,default:"always"},tooltipPosition:{type:String,required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0},ariaLabelledby:{type:String,required:!1,default:void 0},aria:{required:!1,type:Object,default:()=>({})}},setup(a,i){const u=useValue$2(a),c=useClasses$1(a),d=useTooltip(a,i,{value:u.value,classList:c.classList}),m=useSlider(a,i,{value:u.value,initialValue:u.initialValue,tooltipFormat:d.tooltipFormat,tooltipsFormat:d.tooltipsFormat,tooltipsMerge:d.tooltipsMerge,classList:c.classList});return{...c,...d,...m}}};function render$k(a,i,u,c,d,m){return openBlock(),createElementBlock("div",mergeProps(a.sliderProps,{ref:"slider"}),null,16)}script$J.render=render$k;script$J.__file="node_modules/@vueform/slider/src/Slider.vue";var script$I={name:"SliderElement",components:{Slider:script$J},data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",slider:{target:"",focused:"",tooltipFocus:"",tooltipDrag:"",ltr:"",rtl:"",horizontal:"",vertical:"",textDirectionRtl:"",textDirectionLtr:"",base:"",connects:"",connect:"",origin:"",handle:"",touchArea:"",tooltip:"",tooltipTop:"",tooltipBottom:"",tooltipLeft:"",tooltipRight:"",tooltipHidden:"",active:"",draggable:"",tap:"",drag:""}}}}};function render$j(a,i,u,c,d,m){const f=resolveComponent("Slider");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[createCommentVNode(" @vueform/slider component "),createVNode(f,mergeProps({value:a.value,modelValue:a.value},a.fieldOptions,{aria:a.aria,classes:a.classes.slider,id:a.fieldId,ref:"input",onUpdate:a.handleUpdate,onChange:a.handleChange}),null,16,["value","modelValue","aria","classes","id","onUpdate","onChange"])],2)]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$I.render=render$j;script$I.__file="themes/blank/templates/elements/SliderElement.vue";var script$H={name:"SliderElement",render:script$I.render,components:{Slider:script$J},data(){return{merge:!0,defaultClasses:{container:"",wrapper:"vf-slider-wrapper",wrapper_sm:"vf-slider-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-slider-wrapper-lg",slider:{target:"vf-slider-target",target_sm:"vf-slider-target-sm",target_md:"vf-slider-target-md",target_lg:"vf-slider-target-lg",focused:"vf-slider-focused",tooltipFocus:"vf-slider-tooltip-focus",tooltipDrag:"vf-slider-tooltip-drag",ltr:"vf-slider-ltr",rtl:"vf-slider-rtl",horizontal:"vf-slider-horizontal",horizontal_sm:"vf-slider-horizontal-sm",horizontal_md:"vf-slider-horizontal-md",horizontal_lg:"vf-slider-horizontal-lg",vertical:"vf-slider-vertical",vertical_sm:"vf-slider-vertical-sm",vertical_md:"vf-slider-vertical-md",vertical_lg:"vf-slider-vertical-lg",textDirectionRtl:"vf-slider-txt-dir-rtl",textDirectionLtr:"vf-slider-txt-dir-ltr",base:"vf-slider-base",base_sm:"vf-slider-base-sm",base_md:"vf-slider-base-md",base_lg:"vf-slider-base-lg",connects:"vf-slider-connects",connects_sm:"vf-slider-connects-sm",connects_md:"vf-slider-connects-md",connects_lg:"vf-slider-connects-lg",connect:"vf-slider-connect",connect_sm:"vf-slider-connect-sm",connect_md:"vf-slider-connect-md",connect_lg:"vf-slider-connect-lg",origin:"vf-slider-origin",handle:"vf-slider-handle",handle_sm:"vf-slider-handle-sm",handle_md:"vf-slider-handle-md",handle_lg:"vf-slider-handle-lg",handleUpper:"vf-handle-upper",handleLower:"vf-handle-lower",touchArea:"vf-slider-touch-area",tooltip:"vf-slider-tooltip",tooltip_sm:"vf-slider-tooltip-sm",tooltip_md:"vf-slider-tooltip-md",tooltip_lg:"vf-slider-tooltip-lg",tooltipTop:"vf-slider-tooltip-top",tooltipTop_sm:"vf-slider-tooltip-top-sm",tooltipTop_md:"vf-slider-tooltip-top-md",tooltipTop_lg:"vf-slider-tooltip-top-lg",tooltipBottom:"vf-slider-tooltip-bottom",tooltipBottom_sm:"vf-slider-tooltip-bottom-sm",tooltipBottom_md:"vf-slider-tooltip-bottom-md",tooltipBottom_lg:"vf-slider-tooltip-bottom-lg",tooltipLeft:"vf-slider-tooltip-left",tooltipLeft_sm:"vf-slider-tooltip-left-sm",tooltipLeft_md:"vf-slider-tooltip-left-md",tooltipLeft_lg:"vf-slider-tooltip-left-lg",tooltipRight:"vf-slider-tooltip-right",tooltipRight_sm:"vf-slider-tooltip-right-sm",tooltipRight_md:"vf-slider-tooltip-right-md",tooltipRight_lg:"vf-slider-tooltip-right-lg",tooltipHidden:"vf-slider-tooltip-hidden",active:"vf-slider-active",draggable:"vf-slider-draggable",tap:"vf-slider-state-tap",drag:"vf-slider-state-drag",$slider:(a,{Size:i})=>[a.slider.slider,a.slider[`slider_${i}`]],$horizontal:(a,{Size:i})=>[a.slider.horizontal,a.slider[`horizontal_${i}`]],$vertical:(a,{Size:i})=>[a.slider.vertical,a.slider[`vertical_${i}`]],$base:(a,{Size:i})=>[a.slider.base,a.slider[`base_${i}`]],$connects:(a,{Size:i})=>[a.slider.connects,a.slider[`connects_${i}`]],$connect:(a,{Size:i})=>[a.slider.connect,a.slider[`connect_${i}`]],$handle:(a,{Size:i})=>[a.slider.handle,a.slider[`handle_${i}`]],$tooltip:(a,{Size:i})=>[a.slider.tooltip,a.slider[`tooltip_${i}`]],$tooltipTop:(a,{Size:i})=>[a.slider.tooltipTop,a.slider[`tooltipTop_${i}`]],$tooltipBottom:(a,{Size:i})=>[a.slider.tooltipBottom,a.slider[`tooltipBottom_${i}`]],$tooltipLeft:(a,{Size:i})=>[a.slider.tooltipLeft,a.slider[`tooltipLeft_${i}`]],$tooltipRight:(a,{Size:i})=>[a.slider.tooltipRight,a.slider[`tooltipRight_${i}`]]},$wrapper:(a,{Size:i})=>[a.wrapper,a[`wrapper_${i}`]]}}}},css_248z$l=`.vf-slider-wrapper {
margin-top: calc((var(--vf-min-height-input) - var(--vf-slider-height)) / 2);
}
.vf-slider-wrapper.vf-slider-wrapper-sm {
margin-top: calc((var(--vf-min-height-input-sm) - var(--vf-slider-height)) / 2);
margin-bottom: 0.25rem;
}
.vf-slider-wrapper.vf-slider-wrapper-lg {
margin-top: calc((var(--vf-min-height-input-lg) - var(--vf-slider-height)) / 2);
}
/* @vueform/slider styles */
.vf-slider-target,
.vf-slider-target * {
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
touch-action: none;
-moz-user-select: none;
user-select: none;
box-sizing: border-box;
}
.vf-slider-target {
position: relative;
margin: calc((var(--vf-line-height) - var(--vf-slider-height)) / 2) 0;
}
.vf-slider-target[disabled] {
opacity: 0.5;
cursor: not-allowed;
}
.vf-slider-target.vf-slider-target-sm {
margin: calc((var(--vf-line-height-sm) - var(--vf-slider-height-sm)) / 2) 0;
}
.vf-slider-target.vf-slider-target-lg {
margin: calc((var(--vf-line-height-lg) - var(--vf-slider-height-lg)) / 2) 0;
}
.vf-slider-target.vf-slider-horizontal {
height: var(--vf-slider-height);
}
.vf-slider-target.vf-slider-horizontal.vf-slider-horizontal-sm {
height: var(--vf-slider-height-sm);
}
.vf-slider-target.vf-slider-horizontal.vf-slider-horizontal-lg {
height: var(--vf-slider-height-lg);
}
.vf-slider-target.vf-slider-vertical {
width: var(--vf-slider-height);
height: var(--vf-slider-height-vertical);
}
.vf-slider-target.vf-slider-vertical.vf-slider-vertical-sm {
width: var(--vf-slider-height-sm);
height: var(--vf-slider-height-vertical-sm);
}
.vf-slider-target.vf-slider-vertical.vf-slider-vertical-lg {
width: var(--vf-slider-height-lg);
height: var(--vf-slider-height-vertical-lg);
}
.vf-slider-target.vf-slider-state-drag * {
cursor: inherit !important;
}
.vf-slider-base,
.vf-slider-connects {
width: 100%;
height: 100%;
position: relative;
}
.vf-slider-base {
box-shadow: var(--vf-shadow-input);
background-color: var(--vf-bg-passive);
border-radius: var(--vf-radius-slider);
z-index: 1;
}
.vf-slider-base.vf-slider-base-sm {
border-radius: var(--vf-radius-slider-sm);
}
.vf-slider-base.vf-slider-base-lg {
border-radius: var(--vf-radius-slider-lg);
}
.vf-slider-connects {
overflow: hidden;
z-index: 0;
border-radius: var(--vf-radius-slider);
}
.vf-slider-connects.vf-slider-connects-sm {
border-radius: var(--vf-radius-slider-sm);
}
.vf-slider-connects.vf-slider-connects-lg {
border-radius: var(--vf-radius-slider-lg);
}
.vf-slider-connect,
.vf-slider-origin {
will-change: transform;
position: absolute;
z-index: 1;
top: 0;
right: 0;
height: 100%;
width: 100%;
-ms-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
-webkit-transform-style: preserve-3d;
transform-origin: 0 0;
transform-style: flat;
}
.vf-slider-connect {
background: var(--vf-primary);
border-radius: var(--vf-radius-slider);
cursor: pointer;
}
.vf-slider-connect.vf-slider-connect-sm {
border-radius: var(--vf-radius-slider-sm);
}
.vf-slider-connect.vf-slider-connect-lg {
border-radius: var(--vf-radius-slider-lg);
}
[disabled] .vf-slider-connect {
background: var(--vf-slider-connect-bg-disabled);
}
.vf-slider-txt-dir-rtl.vf-slider-horizontal .vf-slider-origin {
left: 0;
right: auto;
}
.vf-slider-vertical .vf-slider-origin {
top: -100%;
width: 0;
}
.vf-slider-horizontal .vf-slider-origin {
height: 0;
}
.vf-slider-state-tap .vf-slider-connect,
.vf-slider-state-tap .vf-slider-origin {
transition: transform 0.3s;
}
.vf-slider-handle {
backface-visibility: hidden;
position: absolute;
width: var(--vf-slider-handle-size);
height: var(--vf-slider-handle-size);
background-color: var(--vf-bg-slider-handle);
border-radius: 999px;
box-shadow: var(--vf-shadow-handles);
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
cursor: grab;
transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.vf-slider-handle:focus {
box-shadow: var(--vf-shadow-handles-focus);
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-slider-handle:hover {
box-shadow: var(--vf-shadow-handles-hover);
}
.vf-slider-handle.vf-slider-handle-sm {
height: var(--vf-slider-handle-size-sm);
width: var(--vf-slider-handle-size-sm);
}
.vf-slider-handle.vf-slider-handle-lg {
height: var(--vf-slider-handle-size-lg);
width: var(--vf-slider-handle-size-lg);
}
.vf-slider-horizontal .vf-slider-handle {
top: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 * -1);
right: calc(var(--vf-slider-handle-size) / 2 * -1);
}
.vf-slider-horizontal .vf-slider-handle.vf-slider-handle-sm {
top: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 * -1);
right: calc(var(--vf-slider-handle-size-sm) / 2 * -1);
}
.vf-slider-horizontal .vf-slider-handle.vf-slider-handle-lg {
top: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 * -1);
right: calc(var(--vf-slider-handle-size-lg) / 2 * -1);
}
.vf-slider-horizontal.vf-slider-txt-dir-rtl .vf-slider-handle {
left: calc(var(--vf-slider-handle-width) / 2 * -1);
right: auto;
}
.vf-slider-horizontal.vf-slider-txt-dir-rtl .vf-slider-handle.vf-slider-handle-sm {
left: calc(var(--vf-slider-handle-width-sm) / 2 * -1);
}
.vf-slider-horizontal.vf-slider-txt-dir-rtl .vf-slider-handle.vf-slider-handle-lg {
left: calc(var(--vf-slider-handle-width-lg) / 2 * -1);
}
.vf-slider-vertical {
width: var(--vf-slider-height);
height: var(--vf-slider-vertical-height);
}
.vf-slider-vertical .vf-slider-handle {
bottom: calc(var(--vf-slider-handle-size) / 2 * -1);
right: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 * -1);
}
.vf-slider-vertical .vf-slider-handle.vf-slider-handle-sm {
bottom: calc(var(--vf-slider-handle-size-sm) / 2 * -1);
right: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 * -1);
}
.vf-slider-vertical .vf-slider-handle.vf-slider-handle-lg {
bottom: calc(var(--vf-slider-handle-size-lg) / 2 * -1);
right: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 * -1);
}
.vf-slider-touch-area {
height: 100%;
width: 100%;
}
.vf-slider-tooltip {
position: absolute;
display: block;
font-weight: 600;
white-space: nowrap;
min-width: 1.25rem;
text-align: center;
border: 1px solid var(--vf-border-color-slider-tooltip);
background: var(--vf-primary);
color: var(--vf-color-on-primary);
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
padding: var(--vf-py-slider-tooltip) var(--vf-px-slider-tooltip);
border-radius: var(--vf-radius-small);
}
.vf-slider-tooltip.vf-slider-tooltip-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
padding: var(--vf-py-slider-tooltip-sm) var(--vf-px-slider-tooltip-sm);
border-radius: var(--vf-radius-small-sm);
}
.vf-slider-tooltip.vf-slider-tooltip-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
padding: var(--vf-py-slider-tooltip-lg) var(--vf-px-slider-tooltip-lg);
border-radius: var(--vf-radius-small-lg);
}
.vf-slider-tooltip-focus .vf-slider-tooltip,
.vf-slider-tooltip-drag .vf-slider-tooltip {
display: none !important;
}
.vf-slider-tooltip-focus.vf-slider-focused .vf-slider-tooltip:not(.vf-slider-tooltip-hidden),
.vf-slider-tooltip-drag.vf-slider-state-drag .vf-slider-tooltip:not(.vf-slider-tooltip-hidden),
.vf-slider-tooltip-drag .vf-slider-active .vf-slider-tooltip {
display: block !important;
}
[disabled].vf-slider-target,
[disabled].vf-slider-handle,
[disabled] .vf-slider-handle {
cursor: not-allowed;
}
.vf-slider-horizontal .vf-slider-tooltip-top {
transform: translate(-50%, 0);
left: 50%;
bottom: calc(var(--vf-slider-handle-size) + var(--vf-slider-tooltip-distance));
}
.vf-slider-horizontal .vf-slider-tooltip-top:before {
content: "";
position: absolute;
left: 50%;
width: 0;
height: 0;
transform: translate(-50%);
bottom: calc(var(--vf-slider-tooltip-arrow-size) * -2);
border: var(--vf-slider-tooltip-arrow-size) solid transparent;
border-top-color: inherit;
}
.vf-slider-horizontal .vf-slider-tooltip-top.vf-slider-tooltip-top-sm {
bottom: calc(var(--vf-slider-handle-size-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-horizontal .vf-slider-tooltip-top.vf-slider-tooltip-top-sm:before {
bottom: calc(var(--vf-slider-tooltip-arrow-size-sm) * -2);
border: var(--vf-slider-tooltip-arrow-size-sm) solid transparent;
border-top-color: inherit;
}
.vf-slider-horizontal .vf-slider-tooltip-top.vf-slider-tooltip-top-lg {
bottom: calc(var(--vf-slider-handle-size-lg) + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-horizontal .vf-slider-tooltip-top.vf-slider-tooltip-top-lg:before {
bottom: calc(var(--vf-slider-tooltip-arrow-size-lg) * -2);
border: var(--vf-slider-tooltip-arrow-size-lg) solid transparent;
border-top-color: inherit;
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-top {
bottom: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 + var(--vf-slider-tooltip-distance));
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-top.vf-slider-tooltip-top-sm {
bottom: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-top.vf-slider-tooltip-top-lg {
bottom: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-horizontal .vf-slider-tooltip-bottom {
transform: translate(-50%, 0);
left: 50%;
top: calc(var(--vf-slider-handle-size) + var(--vf-slider-tooltip-distance));
}
.vf-slider-horizontal .vf-slider-tooltip-bottom:before {
content: "";
position: absolute;
left: 50%;
width: 0;
height: 0;
transform: translate(-50%);
top: calc(var(--vf-slider-tooltip-arrow-size) * -2);
border: var(--vf-slider-tooltip-arrow-size) solid transparent;
border-bottom-color: inherit;
}
.vf-slider-horizontal .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-sm {
top: calc(var(--vf-slider-handle-size-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-horizontal .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-sm:before {
top: calc(var(--vf-slider-tooltip-arrow-size-sm) * -2);
border: var(--vf-slider-tooltip-arrow-size-sm) solid transparent;
border-bottom-color: inherit;
}
.vf-slider-horizontal .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-lg {
top: calc(var(--vf-slider-handle-size-lg) + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-horizontal .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-lg:before {
top: calc(var(--vf-slider-tooltip-arrow-size-lg) * -2);
border: var(--vf-slider-tooltip-arrow-size-lg) solid transparent;
border-bottom-color: inherit;
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-bottom {
top: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 + var(--vf-slider-height) + var(--vf-slider-tooltip-distance));
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-sm {
top: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 + var(--vf-slider-height-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip-bottom.vf-slider-tooltip-bottom-lg {
top: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 + var(--vf-slider-height-lg) + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-vertical .vf-slider-tooltip-left {
transform: translate(0, -50%);
top: 50%;
right: calc(var(--vf-slider-handle-size) + var(--vf-slider-tooltip-distance));
}
.vf-slider-vertical .vf-slider-tooltip-left:before {
content: "";
position: absolute;
top: 50%;
width: 0;
height: 0;
transform: translateY(-50%);
right: calc(var(--vf-slider-tooltip-arrow-size) * -2);
border: var(--vf-slider-tooltip-arrow-size) solid transparent;
border-left-color: inherit;
}
.vf-slider-vertical .vf-slider-tooltip-left.vf-slider-tooltip-left-sm {
right: calc(var(--vf-slider-handle-size-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-vertical .vf-slider-tooltip-left.vf-slider-tooltip-left-sm:before {
right: calc(var(--vf-slider-tooltip-arrow-size-sm) * -2);
border: var(--vf-slider-tooltip-arrow-size-sm) solid transparent;
border-left-color: inherit;
}
.vf-slider-vertical .vf-slider-tooltip-left.vf-slider-tooltip-left-lg {
right: calc(var(--vf-slider-handle-siz-lg) + var(--vf-slider-tooltip-distanc-lg));
}
.vf-slider-vertical .vf-slider-tooltip-left.vf-slider-tooltip-left-lg:before {
right: calc(var(--vf-slider-tooltip-arrow-size-sm) * -2);
border: var(--vf-slider-tooltip-arrow-size-sm) solid transparent;
border-left-color: inherit;
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-left {
right: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 + var(--vf-slider-height) + var(--vf-slider-tooltip-distance));
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-left.vf-slider-tooltip-left-sm {
right: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 + var(--vf-slider-height-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-left.vf-slider-tooltip-left-lg {
right: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 + var(--vf-slider-height-lg) + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-vertical .vf-slider-tooltip-right {
transform: translate(0, -50%);
top: 50%;
left: calc(var(--vf-slider-handle-size) + var(--vf-slider-tooltip-distance));
}
.vf-slider-vertical .vf-slider-tooltip-right:before {
content: "";
position: absolute;
top: 50%;
width: 0;
height: 0;
transform: translateY(-50%);
left: calc(var(--vf-slider-tooltip-arrow-size) * -2);
border: var(--vf-slider-tooltip-arrow-size) solid transparent;
border-right-color: inherit;
}
.vf-slider-vertical .vf-slider-tooltip-right.vf-slider-tooltip-right-sm {
left: calc(var(--vf-slider-handle-size-sm) + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-vertical .vf-slider-tooltip-right.vf-slider-tooltip-right-sm:before {
left: calc(var(--vf-slider-tooltip-arrow-size-sm) * -2);
border: var(--vf-slider-tooltip-arrow-size-sm) solid transparent;
border-right-color: inherit;
}
.vf-slider-vertical .vf-slider-tooltip-right.vf-slider-tooltip-right-lg {
left: calc(var(--vf-slider-handle-size-lg) + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-vertical .vf-slider-tooltip-right.vf-slider-tooltip-right-lg:before {
left: calc(var(--vf-slider-tooltip-arrow-size-lg) * -2);
border: var(--vf-slider-tooltip-arrow-size-lg) solid transparent;
border-right-color: inherit;
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-right {
left: calc((var(--vf-slider-handle-size) - var(--vf-slider-height)) / 2 + var(--vf-slider-tooltip-distance));
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-right.vf-slider-tooltip-right-sm {
left: calc((var(--vf-slider-handle-size-sm) - var(--vf-slider-height-sm)) / 2 + var(--vf-slider-tooltip-distance-sm));
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip-right.vf-slider-tooltip-right-lg {
left: calc((var(--vf-slider-handle-size-lg) - var(--vf-slider-height-lg)) / 2 + var(--vf-slider-tooltip-distance-lg));
}
.vf-slider-horizontal .vf-slider-origin > .vf-slider-tooltip {
transform: translate(50%, 0);
left: auto;
}
.vf-slider-vertical .vf-slider-origin > .vf-slider-tooltip {
transform: translate(0, 50%);
top: auto;
}
.vf-slider-active {
cursor: grabbing;
}
.vf-slider-draggable {
cursor: ew-resize;
}
.vf-slider-vertical .vf-slider-draggable {
cursor: ns-resize;
}`;styleInject(css_248z$l);script$H.__file="themes/vueform/templates/elements/SliderElement.vue";var script$G={name:"StaticElement",data(){return{merge:!0,defaultClasses:{container:"",content:"",tag:""}}}};const _hoisted_1$f=["innerHTML"],_hoisted_2$a=["innerHTML"],_hoisted_3$8=["innerHTML"],_hoisted_4$3=["innerHTML"],_hoisted_5$2=["innerHTML"],_hoisted_6$1=["innerHTML"],_hoisted_7=["innerHTML"],_hoisted_8=["href","target","innerHTML"],_hoisted_9=["href","target"],_hoisted_10=["href","target"],_hoisted_11=["src","alt","title","width","height"],_hoisted_12=["src","alt","title","width","height"],_hoisted_13=["innerHTML"];function render$i(a,i,u,c,d,m){return a.wrap?(openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{key:0,ref:"container"},createSlots({element:withCtx(()=>[createCommentVNode(" If content is HTML "),a.isHtml&&(a.content||["img","hr"].indexOf(a.tag)!==-1)?(openBlock(),createElementBlock(Fragment,{key:0},[!a.tag&&a.allowHtml?(openBlock(),createElementBlock("div",mergeProps({key:0,class:a.classes.content,innerHTML:a.content},a.attrs),null,16,_hoisted_1$f)):createCommentVNode("v-if",!0),!a.tag&&!a.allowHtml?(openBlock(),createElementBlock("div",mergeProps({key:1,class:a.classes.content},a.attrs),toDisplayString(a.content),17)):createCommentVNode("v-if",!0),a.tag==="p"?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("p",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_2$a)):(openBlock(),createElementBlock("p",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="h1"?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("h1",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_3$8)):(openBlock(),createElementBlock("h1",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="h2"?(openBlock(),createElementBlock("div",{key:4,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("h2",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_4$3)):(openBlock(),createElementBlock("h2",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="h3"?(openBlock(),createElementBlock("div",{key:5,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("h3",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_5$2)):(openBlock(),createElementBlock("h3",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="h4"?(openBlock(),createElementBlock("div",{key:6,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("h4",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_6$1)):(openBlock(),createElementBlock("h4",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="blockquote"?(openBlock(),createElementBlock("div",{key:7,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("blockquote",mergeProps({key:0,innerHTML:a.content},a.attrs),null,16,_hoisted_7)):(openBlock(),createElementBlock("blockquote",normalizeProps(mergeProps({key:1},a.attrs)),toDisplayString(a.content),17))],2)):createCommentVNode("v-if",!0),a.tag==="a"?(openBlock(),createElementBlock("div",{key:8,class:normalizeClass(a.classes.tag)},[a.allowHtml?(openBlock(),createElementBlock("a",mergeProps({key:0,href:a.href,target:a.target},a.attrs,{innerHTML:a.content}),null,16,_hoisted_8)):(openBlock(),createElementBlock("a",mergeProps({key:1,href:a.href,target:a.target},a.attrs),toDisplayString(a.content),17,_hoisted_9))],2)):createCommentVNode("v-if",!0),a.tag==="hr"?(openBlock(),createElementBlock("div",{key:9,class:normalizeClass(a.classes.tag)},[createBaseVNode("hr",normalizeProps(guardReactiveProps(a.attrs)),null,16)],2)):createCommentVNode("v-if",!0),a.tag==="img"?(openBlock(),createElementBlock("div",{key:10,class:normalizeClass(a.classes.tag)},[a.href?(openBlock(),createElementBlock("a",{key:0,href:a.href,target:a.target},[createBaseVNode("img",mergeProps({src:a.src,alt:a.alt,title:a.title,width:a.width,height:a.height},a.attrs),null,16,_hoisted_11)],8,_hoisted_10)):(openBlock(),createElementBlock("img",mergeProps({key:1,src:a.src,alt:a.alt,title:a.title,width:a.width,height:a.height},a.attrs),null,16,_hoisted_12))],2)):createCommentVNode("v-if",!0)],64)):a.content?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" If content is component "),(openBlock(),createBlock(resolveDynamicComponent(a.componentContent),{el$:a.el$},null,8,["el$"]))],2112)):(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" If content is a slot "),renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.slotContent),{el$:a.el$},null,8,["el$"]))])],2112))]),_:2},[renderList(a.elementSlots,(f,v)=>({name:v,fn:withCtx(()=>[renderSlot(a.$slots,v,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(f),{el$:a.el$},null,8,["el$"]))])])}))]),1536)):a.content&&a.isHtml?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.content),innerHTML:a.content},null,10,_hoisted_13)):a.content?(openBlock(),createBlock(resolveDynamicComponent(a.componentContent),{key:2,ref:"container"},null,512)):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(a.classes.container),ref:"container"},[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.slotContent),{el$:a.el$},null,8,["el$"]))])],2))}script$G.render=render$i;script$G.__file="themes/blank/templates/elements/StaticElement.vue";var script$F={name:"StaticElement",render:script$G.render,data(){return{merge:!0,defaultClasses:{container:"vf-contains-link",content:"vf-static",content_sm:"vf-static-sm",content_md:"",content_lg:"vf-static-lg",content_top_1:"vf-static-tag-top-1",content_top_2:"vf-static-tag-top-2",content_top_3:"vf-static-tag-top-3",content_bottom_1:"vf-static-tag-bottom-1",content_bottom_2:"vf-static-tag-bottom-2",content_bottom_3:"vf-static-tag-bottom-3",tag:"vf-static-tag",tag_sm:"vf-static-tag-sm",tag_md:"",tag_lg:"vf-static-tag-lg",tag_top_1:"vf-static-tag-top-1",tag_top_2:"vf-static-tag-top-2",tag_top_3:"vf-static-tag-top-3",tag_bottom_1:"vf-static-tag-bottom-1",tag_bottom_2:"vf-static-tag-bottom-2",tag_bottom_3:"vf-static-tag-bottom-3",tag_left:"vf-static-tag-left",tag_center:"vf-static-tag-center",tag_right:"vf-static-tag-right",tag_p:"vf-static-tag-p",tag_h1:"vf-static-tag-h1",tag_h2:"vf-static-tag-h2",tag_h3:"vf-static-tag-h3",tag_h4:"vf-static-tag-h4",tag_blockquote:"vf-static-tag-blockquote",tag_a:"vf-static-tag-a",tag_hr:"vf-static-tag-hr",tag_img:"vf-static-tag-img",$content:(a,{Size:i,top:u,bottom:c})=>[a.content,a[`content_${i}`],u>=1?a[`content_top_${u}`]:null,c>=1?a[`content_bottom_${c}`]:null],$tag:(a,{Size:i,tag:u,align:c,top:d,bottom:m})=>[a.tag,a[`tag_${i}`],a[`tag_${u}`],c==="left"?a.tag_left:null,c==="center"?a.tag_center:null,c==="right"?a.tag_right:null,d>=1?a[`tag_top_${d}`]:null,m>=1?a[`tag_bottom_${m}`]:null]}}}},css_248z$k="/* Styles contained in scss/_static.scss */";styleInject(css_248z$k);script$F.__file="themes/vueform/templates/elements/StaticElement.vue";var script$E={name:"TagsElement",components:{Multiselect:script$W},data(){return{merge:!0,defaultClasses:{container:"",select:{container:"",containerDisabled:"",containerOpen:"",containerOpenTop:"",containerActive:"",search:"",tags:"",tag:"",tagDisabled:"",tagRemove:"",tagRemoveIcon:"",tagsSearchWrapper:"",tagsSearch:"",tagsSearchCopy:"",placeholder:"",caret:"",caretOpen:"",clear:"",clearIcon:"",spinner:"",dropdown:"",dropdownTop:"",dropdownHidden:"",options:"",optionsTop:"",group:"",groupLabel:"",groupLabelPointable:"",groupLabelPointed:"",groupLabelSelected:"",groupLabelDisabled:"",groupLabelSelectedPointed:"",groupLabelSelectedDisabled:"",groupOptions:"",option:"",optionPointed:"",optionSelected:"",optionDisabled:"",optionSelectedPointed:"",optionSelectedDisabled:"",noOptions:"",noResults:"",fakeInput:"",spacer:""}}}}};function render$h(a,i,u,c,d,m){const f=resolveComponent("ElementLabelFloating"),v=resolveComponent("Multiselect");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[a.hasFloating&&!a.empty?(openBlock(),createBlock(f,{key:0,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),createCommentVNode(" @vueform/multiselect copmonent "),createVNode(v,mergeProps(a.fieldOptions,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=g=>a.value=g),classes:a.classes.select,id:a.fieldId,name:a.name,options:a.resolvedOptions,disabled:a.isDisabled,placeholder:a.Placeholder,attrs:a.attrs,aria:a.aria,locale:a.form$.locale$,onSelect:a.handleSelect,onDeselect:a.handleDeselect,onSearchChange:a.handleSearchChange,onTag:a.handleTag,onOpen:a.handleOpen,onClose:a.handleClose,onClear:a.handleClear,onPaste:a.handlePaste,ref:"input"}),createSlots({_:2},[renderList({option:"option",noresults:"no-results",nooptions:"no-options",afterlist:"after-list",beforelist:"before-list",placeholder:"placeholder",grouplabel:"group-label",caret:"caret",clear:"clear",spinner:"spinner",default:"default"},(g,y)=>({name:y,fn:withCtx(b=>[renderSlot(a.$slots,g,mergeProps(b,{el$:a.el$}),()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots[g]),mergeProps(b,{el$:a.el$}),null,16,["el$"]))])])})),a.fieldOptions.mode=="tags"?{name:"tag",fn:withCtx(({option:g,handleTagRemove:y,disabled:b})=>[renderSlot(a.$slots,"tag",{option:g,handleTagRemove:y,disabled:b,el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.tag),{option:g,handleTagRemove:y,disabled:b,el$:a.el$},null,8,["option","handleTagRemove","disabled","el$"]))])]),key:"0"}:void 0]),1040,["modelValue","classes","id","name","options","disabled","placeholder","attrs","aria","locale","onSelect","onDeselect","onSearchChange","onTag","onOpen","onClose","onClear","onPaste"])]),_:2},[renderList(a.elementSlots,(g,y)=>({name:y,fn:withCtx(()=>[renderSlot(a.$slots,y,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(g),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$E.render=render$h;script$E.__file="themes/blank/templates/elements/TagsElement.vue";var script$D={name:"TagsElement",render:script$E.render,components:{Multiselect:script$W},data(){return{merge:!0,defaultClasses:{container:"vf-text-type",select:{tags:"vf-multiselect-tags",tags_sm:"vf-multiselect-tags-sm",tags_md:"",tags_lg:"vf-multiselect-tags-lg",tag:"vf-multiselect-tag",tag_sm:"vf-multiselect-tag-sm",tag_md:"",tag_lg:"vf-multiselect-tag-lg",tagDisabled:"vf-multiselect-tag-disabled",tagDisabled_sm:"",tagDisabled_md:"",tagDisabled_lg:"",tagWrapper:"vf-multiselect-tag-wrapper",tagWrapperBreak:"vf-multiselect-tag-wrapper-break",tagRemove:"vf-multiselect-tag-remove",tagRemove_sm:"vf-multiselect-tag-remove-sm",tagRemove_md:"",tagRemove_lg:"vf-multiselect-tag-remove-lg",tagRemoveIcon:"vf-multiselect-tag-remove-icon",tagsSearchWrapper:"vf-multiselect-tags-search-wrapper",tagsSearchWrapper_sm:"",tagsSearchWrapper_md:"",tagsSearchWrapper_lg:"",tagsSearch:"vf-multiselect-tags-search",tagsSearch_sm:"vf-multiselect-tags-search-sm",tagsSearch_md:"",tagsSearch_lg:"vf-multiselect-tags-search-lg",tagsSearchCopy:"vf-multiselect-tags-search-copy",container:"vf-multiselect",container_enabled:"",container_disabled:"vf-multiselect-disabled",container_success:"vf-multiselect-success",container_danger:"vf-multiselect-danger",container_sm:"vf-multiselect-sm",container_md:"",container_lg:"vf-multiselect-lg",containerDisabled:"",containerOpen:"vf-multiselect-open",containerOpenTop:"vf-multiselect-open-top",containerActive:"vf-multiselect-active",containerActive_enabled:"",wrapper:"vf-multiselect-wrapper",wrapper_sm:"vf-multiselect-wrapper-sm",wrapper_md:"",wrapper_lg:"vf-multiselect-wrapper-lg",search:"vf-multiselect-search",search_sm:"vf-multiselect-search-sm",search_md:"",search_lg:"vf-multiselect-search-lg",placeholder:"vf-multiselect-placeholder",placeholder_sm:"vf-multiselect-placeholder-sm",placeholder_md:"",placeholder_lg:"vf-multiselect-placeholder-lg",caret:"vf-multiselect-caret",caret_sm:"vf-multiselect-caret-sm",caret_md:"",caret_lg:"vf-multiselect-caret-lg",caretOpen:"vf-multiselect-caret-open",clear:"vf-multiselect-clear",clear_sm:"vf-multiselect-clear-sm",clear_md:"",clear_lg:"vf-multiselect-clear-lg",clearIcon:"vf-multiselect-clear-icon",spinner:"vf-multiselect-spinner",spinner_sm:"vf-multiselect-spinner-sm",spinner_md:"",spinner_lg:"vf-multiselect-spinner-lg",infinite:"vf-multiselect-infinite",infinite_sm:"vf-multiselect-infinite-sm",infinite_md:"",infinite_lg:"vf-multiselect-infinite-lg",infiniteSpinner:"vf-multiselect-infinite-spinner",dropdown:"vf-multiselect-dropdown",dropdown_sm:"vf-multiselect-dropdown-sm",dropdown_md:"",dropdown_lg:"vf-multiselect-dropdown-lg",dropdownTop:"vf-multiselect-dropdown-top",dropdownTop_sm:"vf-multiselect-dropdown-top-sm",dropdownTop_md:"",dropdownTop_lg:"vf-multiselect-dropdown-top-lg",dropdownHidden:"vf-multiselect-dropdown-hidden",options:"vf-multiselect-options",optionsTop:"vf-multiselect-options-top",group:"vf-multiselect-group",groupLabel:"vf-multiselect-group-label",groupLabel_sm:"vf-multiselect-group-label-sm",groupLabel_md:"",groupLabel_lg:"vf-multiselect-group-label-lg",groupLabelPointable:"vf-multiselect-group-label-pointable",groupLabelPointed:"vf-multiselect-group-label-pointed",groupLabelSelected:"vf-multiselect-group-label-selected",groupLabelDisabled:"vf-multiselect-group-label-disabled",groupLabelSelectedPointed:"vf-multiselect-group-label-selected vf-multiselect-group-label-pointed",groupLabelSelectedDisabled:"vf-multiselect-group-label-selected vf-multiselect-group-label-disabled",groupOptions:"vf-multiselect-group-options",option:"vf-multiselect-option",option_sm:"vf-multiselect-option-sm",option_md:"",option_lg:"vf-multiselect-option-lg",optionPointed:"vf-multiselect-option-pointed",optionSelected:"vf-multiselect-option-selected",optionDisabled:"vf-multiselect-option-disabled",optionSelectedPointed:"vf-multiselect-option-selected vf-multiselect-option-pointed",optionSelectedDisabled:"vf-multiselect-option-selected vf-multiselect-option-disabled",noOptions:"vf-multiselect-no-options",noOptions_sm:"vf-multiselect-no-options-sm",noOptions_md:"",noOptions_lg:"vf-multiselect-no-options-lg",noResults:"vf-multiselect-no-results",noResults_sm:"vf-multiselect-no-results-sm",noResults_md:"",noResults_lg:"vf-multiselect-no-results-lg",fakeInput:"vf-multiselect-fake-input",assist:"vf-assistive-text",spacer:"vf-multiselect-spacer",spacer_sm:"vf-multiselect-spacer-sm",spacer_md:"",spacer_lg:"vf-multiselect-spacer-lg",$container:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.container,a.select[`container_${i}`],d?a.select.container_disabled:null,!d&&!c&&!u?a.select.container_enabled:null,!d&&u?a.select.container_danger:null,!d&&c?a.select.container_success:null],$containerActive:(a,{Size:i,isDanger:u,isSuccess:c,isDisabled:d})=>[a.select.containerActive,a.select[`container_${i}`],!d&&!c&&!u?a.select.containerActive_enabled:null],$wrapper:(a,{Size:i})=>[a.select.wrapper,a.select[`wrapper_${i}`]],$search:(a,{Size:i})=>[a.select.search,a.select[`search_${i}`]],$placeholder:(a,{Size:i})=>[a.select.placeholder,a.select[`placeholder_${i}`]],$caret:(a,{Size:i})=>[a.select.caret,a.select[`caret_${i}`]],$clear:(a,{Size:i})=>[a.select.clear,a.select[`clear_${i}`]],$spinner:(a,{Size:i})=>[a.select.spinner,a.select[`spinner_${i}`]],$infinite:(a,{Size:i})=>[a.select.infinite,a.select[`infinite_${i}`]],$dropdown:(a,{Size:i})=>[a.select.dropdown,a.select[`dropdown_${i}`]],$dropdownTop:(a,{Size:i})=>[a.select.dropdownTop,a.select[`dropdownTop_${i}`]],$groupLabel:(a,{Size:i})=>[a.select.groupLabel,a.select[`groupLabel_${i}`]],$option:(a,{Size:i})=>[a.select.option,a.select[`option_${i}`]],$spacer:(a,{Size:i})=>[a.select.spacer,a.select[`spacer_${i}`]],$noOptions:(a,{Size:i})=>[a.select.noOptions,a.select[`noOptions_${i}`]],$noResults:(a,{Size:i})=>[a.select.noResults,a.select[`noResults_${i}`]],$tags:(a,{Size:i})=>[a.select.tags,a.select[`tags_${i}`]],$tag:(a,{Size:i})=>[a.select.tag,a.select[`tag_${i}`]],$tagDisabled:(a,{Size:i})=>[a.select.tagDisabled,a.select[`tagDisabled_${i}`]],$tagRemove:(a,{Size:i})=>[a.select.tagRemove,a.select[`tagRemove_${i}`]],$tagsSearchWrapper:(a,{Size:i})=>[a.select.tagsSearchWrapper,a.select[`tagsSearchWrapper_${i}`]],$tagsSearch:(a,{Size:i})=>[a.select.tagsSearch,a.select[`tagsSearch_${i}`]]},$input:(a,{isDisabled:i,Size:u,isDanger:c,isSuccess:d})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!d&&!c?a.input_enabled:null,!i&&c?a.input_danger:null,!i&&d?a.input_success:null],$inputWrapper:(a,{Size:i})=>[a.inputWrapper,a[`inputWrapper_${i}`]]}}}},css_248z$j=`/* Some styles are contained in SelectElement.vue */
.vf-multiselect-tags {
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-wrap: wrap;
margin: var(--vf-space-tags) 0 0;
padding-left: var(--vf-py-input);
align-items: center;
min-width: 0;
}
.vf-multiselect-tags.vf-multiselect-tags-sm {
padding-left: var(--vf-py-input-sm);
}
.vf-multiselect-tags.vf-multiselect-tags-lg {
padding-left: var(--vf-py-input-lg);
}
.vf-floating-wrapper ~ .vf-multiselect-tags,
.vf-floating-wrapper ~ div .vf-multiselect-tags {
padding-left: var(--vf-px-input);
margin: calc(var(--vf-space-tags) + var(--vf-floating-top) + 0.34375rem - 1px) 0 0;
}
.vf-floating-wrapper ~ .vf-multiselect-tags-sm,
.vf-floating-wrapper ~ div .vf-multiselect-tags-sm {
padding-left: var(--vf-px-input-sm);
margin: calc(var(--vf-space-tags-sm) + var(--vf-floating-top-sm) + 0.34375rem - 1px) 0 0;
}
.vf-floating-wrapper ~ .vf-multiselect-tags-lg,
.vf-floating-wrapper ~ div .vf-multiselect-tags-lg {
padding-left: var(--vf-px-input-lg);
margin: calc(var(--vf-space-tags-lg) + var(--vf-floating-top-lg) + 0.34375rem - 1px) 0 0;
}
.vf-multiselect-tag {
background: var(--vf-bg-tag);
color: var(--vf-color-tag);
border-style: solid;
border-width: var(--vf-border-width-tag);
border-color: var(--vf-border-color-tag);
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
font-weight: 600;
padding: var(--vf-py-tag) 0 var(--vf-py-tag) var(--vf-px-tag);
border-radius: var(--vf-radius-tag);
margin-right: var(--vf-space-tags);
margin-bottom: var(--vf-space-tags);
display: flex;
align-items: center;
white-space: nowrap;
min-width: 0;
}
.vf-multiselect-tag.vf-multiselect-tag-disabled {
padding-right: var(--vf-px-tag);
opacity: 0.5;
}
.vf-multiselect-tag.vf-multiselect-tag-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
border-radius: var(--vf-radius-tag-sm);
padding: var(--vf-py-tag-sm) 0 var(--vf-py-tag-sm) var(--vf-px-tag-sm);
}
.vf-multiselect-tag.vf-multiselect-tag-sm.vf-multiselect-tag-disabled {
padding-right: var(--vf-px-tag-sm);
}
.vf-multiselect-tag.vf-multiselect-tag-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
border-radius: var(--vf-radius-tag-lg);
padding: var(--vf-py-tag-lg) 0 var(--vf-py-tag-lg) var(--vf-px-tag-lg);
}
.vf-multiselect-tag.vf-multiselect-tag-lg.vf-multiselect-tag-disabled {
padding-right: var(--vf-px-tag-lg);
}
.vf-multiselect-tag-wrapper {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.vf-multiselect-tag-wrapper-break {
white-space: normal;
word-break: break-all;
}
.vf-multiselect-tag-remove {
display: flex;
align-items: center;
justify-content: center;
padding: 0.25rem;
margin: 0 0.125rem;
border-radius: var(--vf-radius-tag);
}
.vf-multiselect-tag-remove:hover {
background: rgba(0, 0, 0, 0.1);
}
.vf-multiselect-tag-remove.vf-multiselect-tag-remove-sm {
border-radius: var(--vf-radius-tag-sm);
}
.vf-multiselect-tag-remove.vf-multiselect-tag-remove-lg {
border-radius: var(--vf-radius-tag-lg);
}
.vf-multiselect-tag-remove-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-size: contain;
background-color: currentColor;
display: inline-block;
width: 0.75rem;
height: 0.75rem;
}
.vf-multiselect-tags-search-wrapper {
display: inline-block;
position: relative;
margin: 0 var(--vf-space-tags) var(--vf-space-tags);
flex-grow: 1;
flex-shrink: 1;
height: 100%;
max-width: 100%;
}
.vf-multiselect-tags-search-copy {
visibility: hidden;
white-space: pre-wrap;
display: inline-block;
height: 1px;
width: 100%;
}
.vf-multiselect-tags-search {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
padding: 0;
font-size: inherit;
font-family: inherit;
box-sizing: border-box;
width: 100%;
appearance: none;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
background-color: transparent;
padding-right: 0.5rem;
}
.vf-multiselect-tags-search::-webkit-search-decoration, .vf-multiselect-tags-search::-webkit-search-cancel-button, .vf-multiselect-tags-search::-webkit-search-results-button, .vf-multiselect-tags-search::-webkit-search-results-decoration {
-webkit-appearance: none;
}
.vf-multiselect-tags-search.vf-multiselect-tags-search-sm {
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-multiselect-tags-search.vf-multiselect-tags-search-lg {
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
[dir=rtl] .vf-multiselect-tags {
padding-left: 0;
padding-right: var(--vf-py-input);
}
[dir=rtl] .vf-multiselect-tags.vf-multiselect-tags-sm {
padding-right: var(--vf-py-input-sm);
}
[dir=rtl] .vf-multiselect-tags.vf-multiselect-tags-lg {
padding-right: var(--vf-py-input-lg);
}
[dir=rtl] .vf-floating-wrapper ~ .vf-multiselect-tags,
[dir=rtl] .vf-floating-wrapper ~ div .vf-multiselect-tags {
padding-left: 0;
padding-right: var(--vf-px-input);
}
[dir=rtl] .vf-floating-wrapper ~ .vf-multiselect-tags-sm,
[dir=rtl] .vf-floating-wrapper ~ div .vf-multiselect-tags-sm {
padding-left: 0;
padding-right: var(--vf-px-input-sm);
}
[dir=rtl] .vf-floating-wrapper ~ .vf-multiselect-tags-lg,
[dir=rtl] .vf-floating-wrapper ~ div .vf-multiselect-tags-lg {
padding-left: 0;
padding-right: var(--vf-px-input-lg);
}
[dir=rtl] .vf-multiselect-tag {
padding: var(--vf-py-tag) var(--vf-px-tag) var(--vf-py-tag) 0;
margin-right: 0;
margin-left: var(--vf-space-tags);
}
[dir=rtl] .vf-multiselect-tag.is-disabled {
padding-left: ar(--vf-px-tag);
}`;styleInject(css_248z$j);script$D.__file="themes/vueform/templates/elements/TagsElement.vue";var script$C={name:"TextareaElement",data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};const _hoisted_1$e=["value","name","id","placeholder","disabled","readonly","rows","data-autogrow"];function render$g(a,i,u,c,d,m){const f=resolveComponent("ElementAddon"),v=resolveComponent("ElementLabelFloating"),g=resolveComponent("ElementLoader");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.inputContainer)},[a.hasAddonBefore?(openBlock(),createBlock(f,{key:0,type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-before",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-before"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasAddonAfter?(openBlock(),createBlock(f,{key:1,type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-after",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-after"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasFloating&&!a.empty?(openBlock(),createBlock(v,{key:2,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),withDirectives(createVNode(g,null,null,512),[[vShow,a.pending]]),createBaseVNode("textarea",mergeProps({value:a.model,name:a.name,id:a.fieldId,class:a.classes.input,placeholder:a.Placeholder,disabled:a.isDisabled,readonly:a.readonly,rows:a.rows},{...a.attrs,...a.aria},{"data-autogrow":a.autogrow||void 0,onKeydown:i[0]||(i[0]=(...y)=>a.handleKeydown&&a.handleKeydown(...y)),onKeyup:i[1]||(i[1]=(...y)=>a.handleKeyup&&a.handleKeyup(...y)),onKeypress:i[2]||(i[2]=(...y)=>a.handleKeypress&&a.handleKeypress(...y)),onInput:i[3]||(i[3]=(...y)=>a.handleInput&&a.handleInput(...y)),onBlur:i[4]||(i[4]=(...y)=>a.handleBlur&&a.handleBlur(...y)),ref:"input"}),null,16,_hoisted_1$e)],2)]),_:2},[renderList(a.elementSlots,(y,b)=>({name:b,fn:withCtx(()=>[renderSlot(a.$slots,b,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(y),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$C.render=render$g;script$C.__file="themes/blank/templates/elements/TextareaElement.vue";var script$B={name:"TextareaElement",render:script$C.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group vf-input-group-textarea",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$i="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$i);script$B.__file="themes/vueform/templates/elements/TextareaElement.vue";var script$A={name:"TextElement",data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};const _hoisted_1$d=["value","type","name","id","placeholder","autocomplete","disabled","readonly"];function render$f(a,i,u,c,d,m){const f=resolveComponent("ElementAddon"),v=resolveComponent("ElementLabelFloating"),g=resolveComponent("ElementLoader");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.inputContainer)},[a.hasAddonBefore?(openBlock(),createBlock(f,{key:0,type:"before"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-before",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-before"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasAddonAfter?(openBlock(),createBlock(f,{key:1,type:"after"},{default:withCtx(()=>[renderSlot(a.$slots,"addon-after",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots["addon-after"]),{el$:a.el$},null,8,["el$"]))])]),_:3})):createCommentVNode("v-if",!0),a.hasFloating&&!a.empty?(openBlock(),createBlock(v,{key:2,visible:!a.empty},null,8,["visible"])):createCommentVNode("v-if",!0),a.isLoading?(openBlock(),createBlock(g,{key:3})):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({value:a.model,type:a.inputType,name:a.name,id:a.fieldId,class:a.classes.input,placeholder:a.Placeholder,autocomplete:a.autocomplete,disabled:a.isDisabled,readonly:a.readonly},{...a.attrs,...a.aria},{onKeydown:i[0]||(i[0]=(...y)=>a.handleKeydown&&a.handleKeydown(...y)),onKeyup:i[1]||(i[1]=(...y)=>a.handleKeyup&&a.handleKeyup(...y)),onKeypress:i[2]||(i[2]=(...y)=>a.handleKeypress&&a.handleKeypress(...y)),onInput:i[3]||(i[3]=(...y)=>a.handleInput&&a.handleInput(...y)),onSelect:i[4]||(i[4]=(...y)=>a.handleInput&&a.handleInput(...y)),onBlur:i[5]||(i[5]=(...y)=>a.handleBlur&&a.handleBlur(...y)),ref:"input"}),null,16,_hoisted_1$d)],2)]),_:2},[renderList(a.elementSlots,(y,b)=>({name:b,fn:withCtx(()=>[renderSlot(a.$slots,b,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(y),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$A.render=render$f;script$A.__file="themes/blank/templates/elements/TextElement.vue";var script$z={name:"TextElement",render:script$A.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$h="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$h);script$z.__file="themes/vueform/templates/elements/TextElement.vue";function useValue$1(a,i,u){const{value:c,modelValue:d,falseValue:m,trueValue:f,disabled:v}=toRefs(a),g=d&&d.value!==void 0?d:c,y=computed(()=>g.value===f.value),b=C=>{i.emit("input",C),i.emit("update:modelValue",C),i.emit("change",C)},w=()=>{b(f.value)},k=()=>{b(m.value)},$=C=>{b(C.target.checked?f.value:m.value)},S=()=>{v.value||(y.value?k():w())};return[null,void 0,!1,0,"0","off"].indexOf(g.value)!==-1&&[m.value,f.value].indexOf(g.value)===-1&&k(),[!0,1,"1","on"].indexOf(g.value)!==-1&&[m.value,f.value].indexOf(g.value)===-1&&w(),{externalValue:g,checked:y,update:b,check:w,uncheck:k,handleInput:$,handleClick:S}}function useValue(a,i,u){const{trueValue:c,falseValue:d,onLabel:m,offLabel:f}=toRefs(a),v=u.checked,g=u.update;return{label:computed(()=>{let $=v.value?m.value:f.value;return $||($="&nbsp;"),$}),toggle:()=>{g(v.value?d.value:c.value)},on:()=>{g(c.value)},off:()=>{g(d.value)}}}function useClasses(a,i,u){const c=toRefs(a),d=c.disabled,m=u.checked,f=computed(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...c.classes.value}));return{classList:computed(()=>({container:f.value.container,toggle:[f.value.toggle,d.value?m.value?f.value.toggleOnDisabled:f.value.toggleOffDisabled:m.value?f.value.toggleOn:f.value.toggleOff],handle:[f.value.handle,d.value?m.value?f.value.handleOnDisabled:f.value.handleOffDisabled:m.value?f.value.handleOn:f.value.handleOff],label:f.value.label}))}}function useStyle(a,i,u){const{disabled:c}=toRefs(a),d=u.check,m=u.uncheck,f=u.checked;return{handleSpace:()=>{c.value||(f.value?m():d())}}}const valueProps={value:{validator:function(a){return i=>["number","string","boolean"].indexOf(typeof i)!==-1||i===null||i===void 0},required:!1},modelValue:{validator:function(a){return i=>["number","string","boolean"].indexOf(typeof i)!==-1||i===null||i===void 0},required:!1}};var script$y={name:"Toggle",emits:["input","update:modelValue","change"],props:{...valueProps,id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(a,i){const u=useValue$1(a,i),c=useValue(a,i,{checked:u.checked,update:u.update}),d=useClasses(a,i,{checked:u.checked}),m=useStyle(a,i,{check:u.check,uncheck:u.uncheck,checked:u.checked});return{...u,...d,...c,...m}}};const _hoisted_1$c=["tabindex","aria-checked","aria-describedby","aria-labelledby"],_hoisted_2$9=["id","name","value","checked","disabled"],_hoisted_3$7=["innerHTML"],_hoisted_4$2=["checked"];function render$e(a,i,u,c,d,m){return openBlock(),createElementBlock("div",mergeProps({class:a.classList.container,tabindex:u.disabled?void 0:0,"aria-checked":a.checked,"aria-describedby":u.describedby,"aria-labelledby":u.labelledby,role:"switch"},u.aria,{onKeypress:i[1]||(i[1]=withKeys(withModifiers((...f)=>a.handleSpace&&a.handleSpace(...f),["prevent"]),["space"]))}),[withDirectives(createBaseVNode("input",{type:"checkbox",id:u.id,name:u.name,value:u.trueValue,checked:a.checked,disabled:u.disabled},null,8,_hoisted_2$9),[[vShow,!1]]),createBaseVNode("div",{class:normalizeClass(a.classList.toggle),onClick:i[0]||(i[0]=(...f)=>a.handleClick&&a.handleClick(...f))},[createBaseVNode("span",{class:normalizeClass(a.classList.handle)},null,2),renderSlot(a.$slots,"label",{checked:a.checked,classList:a.classList},()=>[createBaseVNode("span",{class:normalizeClass(a.classList.label),innerHTML:a.label},null,10,_hoisted_3$7)]),u.required?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:a.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,_hoisted_4$2)):createCommentVNode("v-if",!0)],2)],16,_hoisted_1$c)}script$y.render=render$e;script$y.__file="node_modules/@vueform/toggle/src/Toggle.vue";var script$x={name:"ToggleElement",components:{Toggle:script$y},data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",toggle:{container:"",toggle:"",toggleOn:"",toggleOff:"",toggleOnDisabled:"",toggleOffDisabled:"",handle:"",handleOn:"",handleOff:"",handleOnDisabled:"",handleOffDisabled:"",label:""},text:""}}}};const _hoisted_1$b=["innerHTML"];function render$d(a,i,u,c,d,m){const f=resolveComponent("Toggle");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[createCommentVNode(" @vueform/toggle component "),createVNode(f,mergeProps({value:a.value,modelValue:a.value},a.fieldOptions,{classes:a.classes.toggle,name:a.name,id:a.fieldId,aria:a.aria,onInput:a.handleChange,ref:"input"}),null,16,["value","modelValue","classes","name","id","aria","onInput"]),a.Text?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.text),innerHTML:a.Text},null,10,_hoisted_1$b)):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.text)},[renderSlot(a.$slots,"default",{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(a.fieldSlots.default),{el$:a.el$},null,8,["el$"]))])],2))],2)]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$x.render=render$d;script$x.__file="themes/blank/templates/elements/ToggleElement.vue";var script$w={name:"ToggleElement",render:script$x.render,components:{Toggle:script$y},data(){return{merge:!0,defaultClasses:{container:"vf-contains-link",wrapper:"vf-toggle-wrapper",wrapper_left:"vf-toggle-wrapper-left",wrapper_right:"vf-toggle-wrapper-right",text:"vf-toggle-text",text_sm:"vf-toggle-text-sm",text_md:"",text_lg:"vf-toggle-text-lg",text_left:"vf-toggle-text-left",text_right:"vf-toggle-text-right",toggle:{container:"vf-toggle-container",container_enabled:"",container_disabled:"vf-toggle-container-disabled",toggle:"vf-toggle",toggle_sm:"vf-toggle-sm",toggle_md:"",toggle_lg:"vf-toggle-lg",toggleOn:"vf-toggle-on",toggleOff:"vf-toggle-off",toggleOnDisabled:"vf-toggle-on-disabled",toggleOffDisabled:"vf-toggle-off-disabled",handle:"vf-toggle-handle",handle_sm:"vf-toggle-handle-sm",handle_md:"",handle_lg:"vf-toggle-handle-lg",handleOn:"vf-toggle-handle-on",handleOff:"vf-toggle-handle-off",handleOnDisabled:"vf-toggle-handle-on-disabled",handleOffDisabled:"vf-toggle-handle-off-disabled",label:"vf-toggle-label",label_sm:"vf-toggle-label-sm",label_md:"",label_lg:"vf-toggle-label-lg",$container:(a,{Size:i,isDisabled:u})=>[a.toggle.container,a.toggle[`container_${i}`],u?a.toggle.container_disabled:a.toggle.container_enabled],$toggle:(a,{Size:i})=>[a.toggle.toggle,a.toggle[`toggle_${i}`]],$handle:(a,{Size:i})=>[a.toggle.handle,a.toggle[`handle_${i}`]],$label:(a,{Size:i})=>[a.toggle.label,a.toggle[`label_${i}`]]},$text:(a,{Size:i,align:u})=>[a.text,a[`text_${i}`],u==="left"?a.text_left:null,u==="right"?a.text_right:null],$wrapper:(a,{align:i})=>[a.wrapper,i==="left"?a.wrapper_left:null,i==="right"?a.wrapper_right:null]}}}},css_248z$g=`.vf-toggle-wrapper {
display: flex;
align-items: flex-start;
width: 100%;
}
.vf-toggle-text {
margin-left: var(--vf-space-checkbox);
}
.vf-toggle-text.vf-toggle-text-sm {
margin-left: var(--vf-space-checkbox-sm);
}
.vf-toggle-text.vf-toggle-text-lg {
margin-left: var(--vf-space-checkbox-lg);
}
/* @vueform/toggle styles */
.vf-toggle-container {
display: inline-block;
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
border-radius: 9999px;
transition: box-shadow 0.15s ease-in-out, color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
box-shadow: var(--vf-shadow-handles);
}
.vf-toggle-container:hover:not(.vf-toggle-container-disabled) {
box-shadow: var(--vf-shadow-handles-hover);
}
.vf-toggle-container:focus {
box-shadow: var(--vf-shadow-handles-focus);
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-toggle-container.vf-toggle-container-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.vf-toggle {
display: flex;
border-radius: 999px;
position: relative;
cursor: pointer;
transition: 0.3s all;
align-items: center;
box-sizing: content-box;
border-width: var(--vf-border-width-toggle);
border-style: solid;
font-size: 0.75rem;
width: var(--vf-toggle-width);
height: var(--vf-toggle-height);
line-height: 1;
}
.vf-toggle.vf-toggle-sm {
width: var(--vf-toggle-width-sm);
height: var(--vf-toggle-height-sm);
font-size: 0.75rem;
}
.vf-toggle.vf-toggle-lg {
width: var(--vf-toggle-width-lg);
height: var(--vf-toggle-height-lg);
font-size: 0.8125rem;
}
.vf-toggle-on {
background: var(--vf-primary);
border-color: var(--vf-primary);
justify-content: flex-start;
color: var(--vf-color-on-primary);
}
.vf-toggle-off {
background: var(--vf-bg-passive);
border-color: var(--vf-bg-passive);
justify-content: flex-end;
color: var(--vf-color-passive);
}
.vf-toggle-on-disabled {
background: var(--vf-primary);
border-color: var(--vf-primary);
justify-content: flex-start;
color: var(--vf-color-on-primary);
}
.vf-toggle-off-disabled {
background: var(--vf-bg-passive);
border-color: var(--vf-bg-passive);
justify-content: flex-end;
color: var(--vf-color-passive);
}
.vf-toggle-handle {
display: inline-block;
background: var(--vf-bg-toggle-handle);
width: var(--vf-toggle-height);
height: var(--vf-toggle-height);
top: 0;
border-radius: 50%;
position: absolute;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.vf-toggle-handle.vf-toggle-handle-sm {
width: var(--vf-toggle-height-sm);
height: var(--vf-toggle-height-sm);
}
.vf-toggle-handle.vf-toggle-handle-lg {
width: var(--vf-toggle-height-lg);
height: var(--vf-toggle-height-lg);
}
.vf-toggle-handle-on {
left: 100%;
transform: translateX(-100%);
}
.vf-toggle-handle-off {
left: 0%;
}
.vf-toggle-handle-on-disabled {
left: 100%;
transform: translateX(-100%);
background: var(--vf-bg-toggle-handle);
}
.vf-toggle-handle-off-disabled {
left: 0%;
background: var(--vf-bg-toggle-handle);
}
.vf-toggle-label {
text-align: center;
width: calc(var(--vf-toggle-width) - var(--vf-toggle-height));
box-sizing: border-box;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.vf-toggle-label.vf-toggle-label-sm {
width: calc(var(--vf-toggle-width-sm) - var(--vf-toggle-height-sm));
}
.vf-toggle-label.vf-toggle-label-lg {
width: calc(var(--vf-toggle-width-lg) - var(--vf-toggle-height-lg));
}
body:not([dir=rtl]) .vf-toggle-wrapper-right {
justify-content: flex-end;
}
body:not([dir=rtl]) .vf-toggle-text-right {
margin-left: 0;
margin-right: var(--vf-space-checkbox);
order: -1;
}
body:not([dir=rtl]) .vf-toggle-text-right.vf-toggle-text-sm {
margin-left: 0;
margin-right: var(--vf-space-checkbox-sm);
}
body:not([dir=rtl]) .vf-toggle-text-right.vf-toggle-text-lg {
margin-left: 0;
margin-right: var(--vf-space-checkbox-lg);
}
body[dir=rtl] .vf-toggle-wrapper-left {
justify-content: flex-end;
}
body[dir=rtl] .vf-toggle-text {
margin-left: 0;
margin-right: var(--vf-space-checkbox);
}
body[dir=rtl] .vf-toggle-text.vf-toggle-text-sm {
margin-left: 0;
margin-right: var(--vf-space-checkbox-sm);
}
body[dir=rtl] .vf-toggle-text.vf-toggle-text-lg {
margin-left: 0;
margin-right: var(--vf-space-checkbox-lg);
}
body[dir=rtl] .vf-toggle-text.vf-toggle-text-left {
margin-right: 0;
margin-left: var(--vf-space-checkbox);
order: -1;
}
body[dir=rtl] .vf-toggle-text.vf-toggle-text-left.vf-toggle-text-sm {
margin-right: 0;
margin-left: var(--vf-space-checkbox-sm);
}
body[dir=rtl] .vf-toggle-text.vf-toggle-text-left.vf-toggle-text-lg {
margin-right: 0;
margin-left: var(--vf-space-checkbox-lg);
}`;styleInject(css_248z$g);script$w.__file="themes/vueform/templates/elements/ToggleElement.vue";var script$v={name:"EditorElement",data(){return{merge:!0,defaultClasses:{container:"",input:""}}}};function render$c(a,i,u,c,d,m){const f=resolveComponent("EditorWrapper");return openBlock(),createBlock(resolveDynamicComponent(a.elementLayout),{ref:"container"},createSlots({element:withCtx(()=>[createVNode(f,{value:a.model,placeholder:a.Placeholder,id:a.fieldId,accept:a.accept,"accept-mimes":a.acceptMimes,endpoint:a.editorEndpoint,method:a.editorMethod,disabled:a.isDisabled,"hide-tools":a.hideTools,class:normalizeClass(a.classes.input),attrs:a.aria,onInput:a.handleInput,onAlert:a.handleAlert,onError:a.handleError,onBlur:a.handleBlur,ref:"input"},null,8,["value","placeholder","id","accept","accept-mimes","endpoint","method","disabled","hide-tools","class","attrs","onInput","onAlert","onError","onBlur"])]),_:2},[renderList(a.elementSlots,(v,g)=>({name:g,fn:withCtx(()=>[renderSlot(a.$slots,g,{el$:a.el$},()=>[(openBlock(),createBlock(resolveDynamicComponent(v),{el$:a.el$},null,8,["el$"]))])])}))]),1536)}script$v.render=render$c;script$v.__file="themes/blank/templates/elements/EditorElement.vue";var script$u={name:"EditorElement",render:script$v.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",input:"vf-editor",input_enabled:"",input_disabled:"vf-editor-disabled",input_success:"vf-editor-success",input_danger:"vf-editor-danger",input_focused:"vf-editor-focused",input_sm:"vf-editor-sm",input_md:"",input_lg:"vf-editor-lg",$input:(a,{isDisabled:i,focused:u,Size:c,isSuccess:d,isDanger:m})=>[a.input,a[`input_${c}`],i?a.input_disabled:null,!i&&!d&&!m?a.input_default:null,!i&&u?a.input_focused:null,!i&&d?a.input_success:null,!i&&m?a.input_danger:null]}}}},css_248z$f=`.vf-editor {
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
border-style: solid;
transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
background-color: var(--vf-bg-input);
color: var(--vf-color-input);
border-color: var(--vf-border-color-input);
box-shadow: var(--vf-shadow-input);
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-radius: var(--vf-radius-input);
}
.vf-editor.vf-editor-disabled {
background-color: var(--vf-bg-disabled);
color: var(--vf-color-disabled);
}
.vf-editor.vf-editor-success {
background-color: var(--vf-bg-input-success);
color: var(--vf-color-input-success);
border-color: var(--vf-border-color-input-success);
}
.vf-editor.vf-editor-danger {
background-color: var(--vf-bg-input-danger);
color: var(--vf-color-input-danger);
border-color: var(--vf-border-color-input-danger);
}
.vf-editor:hover:not(.vf-editor-disabled) {
box-shadow: var(--vf-shadow-input-hover);
}
.vf-editor:hover:not(.vf-editor-disabled):not(.vf-editor-success):not(.vf-editor-danger) {
background-color: var(--vf-bg-input-hover);
color: var(--vf-color-input-hover);
border-color: var(--vf-border-color-input-hover);
}
.vf-editor.vf-editor-focused {
box-shadow: var(--vf-shadow-input-focus);
outline: var(--vf-ring-width) solid var(--vf-ring-color);
border-color: var(--vf-border-color-input-focus);
}
.vf-editor.vf-editor-focused:not(.vf-editor-success):not(.vf-editor-danger), .vf-editor.vf-editor-focused:not(.vf-editor-disabled):not(.vf-editor-success):not(.vf-editor-danger) {
background-color: var(--vf-bg-input-focus);
color: var(--vf-color-input-focus);
}`;styleInject(css_248z$f);script$u.__file="themes/vueform/templates/elements/EditorElement.vue";var script$t={name:"TTextareaElement",render:script$C.render,staticRenderFns:script$C.staticRenderFns,data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};script$t.__file="themes/blank/templates/elements/TTextareaElement.vue";var script$s={name:"TTextareaElement",render:script$t.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group vf-input-group-textarea",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",input:"vf-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$e="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$e);script$s.__file="themes/vueform/templates/elements/TTextareaElement.vue";var script$r={name:"TTextElement",render:script$A.render,staticRenderFns:script$A.staticRenderFns,data(){return{merge:!0,defaultClasses:{container:"",inputContainer:"",input:""}}}};script$r.__file="themes/blank/templates/elements/TTextElement.vue";var script$q={name:"TTextElement",render:script$r.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",inputContainer:"vf-input-group",inputContainer_sm:"vf-input-group-sm",inputContainer_md:"",inputContainer_lg:"vf-input-group-lg",inputContainer_default:"",inputContainer_disabled:"vf-input-group-disabled",inputContainer_focused:"vf-input-group-focused",inputContainer_success:"vf-input-group-success",inputContainer_danger:"vf-input-group-danger",input:"vf-input-field",input_sm:"",input_md:"",input_lg:"",input_enabled:"",input_disabled:"",input_focused:"",input_success:"",input_danger:"",$inputContainer:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.inputContainer,a[`inputContainer_${u}`],i?a.inputContainer_disabled:null,!i&&!c&&!d?a.inputContainer_default:null,!i&&m?a.inputContainer_focused:null,!i&&c?a.inputContainer_success:null,!i&&d?a.inputContainer_danger:null],$input:(a,{isDisabled:i,Size:u,isSuccess:c,isDanger:d,focused:m})=>[a.input,a[`input_${u}`],i?a.input_disabled:null,!i&&!c&&!d&&!m?a.input_enabled:null,!i&&m&&!c&&!d?a.input_focused:null,!i&&d?a.input_danger:null,!i&&c?a.input_success:null]}}}},css_248z$d="/* Some styles are contained in Vueform.vue */";styleInject(css_248z$d);script$q.__file="themes/vueform/templates/elements/TTextElement.vue";var script$p={name:"TEditorElement",render:script$v.render,staticRenderFns:script$v.staticRenderFns,data(){return{merge:!0,defaultClasses:{container:"",input:""}}}};script$p.__file="themes/blank/templates/elements/TEditorElement.vue";var script$o={name:"TEditorElement",render:script$p.render,data(){return{merge:!0,defaultClasses:{container:"vf-text-type",input:"vf-editor",input_enabled:"",input_disabled:"vf-editor-disabled",input_success:"vf-editor-success",input_danger:"vf-editor-danger",input_focused:"vf-editor-focused",input_focused_success:"vf-editor-focused-success",input_focused_danger:"vf-editor-focused-danger",input_sm:"vf-editor-sm",input_md:"",input_lg:"vf-editor-lg",$input:(a,{isDisabled:i,focused:u,Size:c,isSuccess:d,isDanger:m})=>[a.input,a[`input_${c}`],i?a.input_disabled:null,!i&&!d&&!m&&!u?a.input_enabled:null,!i&&m?a.input_danger:null,!i&&d?a.input_success:null,u&&!m&&!d?a.input_focused:null,u&&d?a.input_focused_success:null,u&&m?a.input_focused_danger:null]}}}},css_248z$c="/* Some styles are contained in EditorElement.vue */";styleInject(css_248z$c);script$o.__file="themes/vueform/templates/elements/TEditorElement.vue";var script$n={name:"CheckboxgroupCheckbox",data(){return{merge:!0,defaultClasses:{container:"",input:"",text:""}}}};const _hoisted_1$a=["value","name","id","disabled","aria-label"],_hoisted_2$8=["innerHTML"];function render$b(a,i,u,c,d,m){return openBlock(),createElementBlock("label",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[withDirectives(createBaseVNode("input",mergeProps({type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.model=f)},a.attrs,{value:a.value,class:a.classes.input,name:a.name,id:a.id,disabled:a.isDisabled,"aria-label":a.item.label}),null,16,_hoisted_1$a),[[vModelCheckbox,a.el$.model]]),createBaseVNode("span",{class:normalizeClass(a.classes.text),innerHTML:a.item.label},null,10,_hoisted_2$8)])],2)}script$n.render=render$b;script$n.__file="themes/blank/templates/elements/partials/CheckboxgroupCheckbox.vue";var script$m={name:"CheckboxgroupCheckbox",render:script$n.render,data(){return{merge:!0,defaultClasses:{container:"vf-checkbox-container",input:"vf-checkbox",input_enabled:"",input_disabled:"",input_sm:"vf-checkbox-sm",input_md:"",input_lg:"vf-checkbox-lg",text:"vf-checkbox-text",$input:(a,{isDisabled:i,Size:u})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled]}}}},css_248z$b="/* Some styles are contained in Vueform.vue & CheckboxgroupElement.vue */";styleInject(css_248z$b);script$m.__file="themes/vueform/templates/elements/partials/CheckboxgroupCheckbox.vue";var script$l={name:"CheckboxgroupCheckbox_tabs",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text:""}}}};const _hoisted_1$9=["aria-checked"],_hoisted_2$7=["value","id","name","disabled"],_hoisted_3$6=["innerHTML"];function render$a(a,i,u,c,d,m){return openBlock(),createElementBlock("label",mergeProps(a.attrs,{class:a.classes.container,tabindex:"0",role:"checkbox","aria-checked":a.checked,onKeypress:i[1]||(i[1]=withKeys(withModifiers(f=>a.el$.toggle(a.value),["prevent"]),["space"])),onKeydown:i[2]||(i[2]=(...f)=>a.handleKeydown&&a.handleKeydown(...f))}),[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",{type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.model=f),value:a.value,id:a.id,class:normalizeClass(a.classes.input),name:a.name,disabled:a.isDisabled},null,10,_hoisted_2$7),[[vModelCheckbox,a.el$.model]]),createBaseVNode("span",{class:normalizeClass(a.classes.text),innerHTML:`${a.item.label}`},null,10,_hoisted_3$6)],2)])],16,_hoisted_1$9)}script$l.render=render$a;script$l.__file="themes/blank/templates/elements/partials/CheckboxgroupCheckbox_tabs.vue";var script$k={name:"CheckboxgroupCheckbox_tabs",render:script$l.render,data(){return{merge:!0,defaultClasses:{container:"vf-checkbox-tabs-container",wrapper:"vf-checkbox-tabs",wrapper_not_last:"vf-checkbox-tabs-not-last",wrapper_first:"vf-checkbox-tabs-first",wrapper_first_sm:"vf-checkbox-tabs-first-sm",wrapper_first_md:"",wrapper_first_lg:"vf-checkbox-tabs-first-lg",wrapper_last:"vf-checkbox-tabs-last",wrapper_last_sm:"vf-checkbox-tabs-last-sm",wrapper_last_md:"",wrapper_last_lg:"vf-checkbox-tabs-last-lg",wrapper_selected:"vf-checkbox-tabs-selected",wrapper_unselected:"vf-checkbox-tabs-unselected",wrapper_disabled:"vf-checkbox-tabs-disabled",wrapper_sm:"vf-checkbox-tabs-sm",wrapper_md:"",wrapper_lg:"vf-checkbox-tabs-lg",input:"vf-checkbox-tabs-input",text:"",$wrapper:(a,{index:i,items:u,el$:c,value:d,isDisabled:m,Size:f})=>[a.wrapper,a[`wrapper_${f}`],i<Object.keys(u).length-1?a.wrapper_not_last:null,i===0?a.wrapper_first:null,i===0?a[`wrapper_first_${f}`]:null,i===Object.keys(u).length-1?a.wrapper_last:null,i===Object.keys(u).length-1?a[`wrapper_last_${f}`]:null,c.value.indexOf(d)!==-1?a.wrapper_selected:a.wrapper_unselected,m?a.wrapper_disabled:null]}}}},css_248z$a=`/* Some styles are contained in Vueform.vue & CheckboxgroupElement.vue */
.vf-checkbox-tabs-container {
display: flex;
align-items: flex-start;
cursor: pointer;
}
.vf-checkbox-tabs {
display: flex;
align-items: center;
justify-content: center;
border-style: solid;
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-color: var(--vf-border-color-input);
padding: var(--vf-py-group-tabs) var(--vf-px-group-tabs);
width: 100%;
background: var(--vf-bg-input);
color: var(--vf-color-input);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-checkbox-tabs.vf-checkbox-tabs-not-last {
border-right: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-first {
border-radius: var(--vf-radius-input);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-first.vf-checkbox-tabs-first-sm {
border-radius: var(--vf-radius-input-sm);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-first.vf-checkbox-tabs-first-lg {
border-radius: var(--vf-radius-input-lg);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-last {
border-radius: var(--vf-radius-input-lg);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-last.vf-checkbox-tabs-last-sm {
border-radius: var(--vf-radius-input-sm);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-last.vf-checkbox-tabs-last-lg {
border-radius: var(--vf-radius-input-lg);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-checkbox-tabs.vf-checkbox-tabs-selected {
background-color: var(--vf-primary);
border-color: rgba(0, 0, 0, 0.15);
color: var(--vf-color-on-primary);
}
.vf-checkbox-tabs.vf-checkbox-tabs-unselected {
border-color: var(--vf-border-color-input);
}
.vf-checkbox-tabs.vf-checkbox-tabs-unselected:hover:not(.vf-radio-tabs-disabled) {
background-color: var(--vf-bg-input-hover);
color: var(--vf-color-input-hover);
}
.vf-checkbox-tabs.vf-checkbox-tabs-disabled {
opacity: 0.5;
}
.vf-checkbox-tabs.vf-checkbox-tabs-sm {
padding: var(--vf-py-group-tabs-sm) var(--vf-px-group-tabs-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-checkbox-tabs.vf-checkbox-tabs-lg {
padding: var(--vf-py-group-tabs-lg) var(--vf-px-group-tabs-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-checkbox-tabs-input {
display: none;
}`;styleInject(css_248z$a);script$k.__file="themes/vueform/templates/elements/partials/CheckboxgroupCheckbox_tabs.vue";var script$j={name:"CheckboxgroupCheckbox_tabs",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text_wrapper:"",text:"",description:""}}}};const _hoisted_1$8=["value","name","id","disabled"],_hoisted_2$6=["innerHTML"],_hoisted_3$5=["innerHTML"];function render$9(a,i,u,c,d,m){return openBlock(),createElementBlock("label",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",mergeProps({type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.model=f)},a.attrs,{value:a.value,class:a.classes.input,name:a.name,id:a.id,disabled:a.isDisabled}),null,16,_hoisted_1$8),[[vModelCheckbox,a.el$.model]]),createBaseVNode("div",{class:normalizeClass(a.classes.text_wrapper)},[createBaseVNode("div",{class:normalizeClass(a.classes.text),innerHTML:a.item.label},null,10,_hoisted_2$6),createBaseVNode("div",{class:normalizeClass(a.classes.description),innerHTML:a.item.description},null,10,_hoisted_3$5)],2)],2)])],2)}script$j.render=render$9;script$j.__file="themes/blank/templates/elements/partials/CheckboxgroupCheckbox_blocks.vue";var script$i={name:"CheckboxgroupCheckbox_blocks",render:script$j.render,data(){return{merge:!0,defaultClasses:{container:"vf-checkbox-blocks-container",container_sm:"vf-checkbox-blocks-container-sm",container_md:"",container_lg:"vf-checkbox-blocks-container-lg",wrapper:"vf-checkbox-blocks",wrapper_not_last:"vf-checkbox-blocks-not-last",wrapper_first:"vf-checkbox-blocks-first",wrapper_first_sm:"vf-checkbox-blocks-first-sm",wrapper_first_md:"",wrapper_first_lg:"vf-checkbox-blocks-first-lg",wrapper_last:"vf-checkbox-blocks-last",wrapper_last_sm:"vf-checkbox-blocks-last-sm",wrapper_last_md:"",wrapper_last_lg:"vf-checkbox-blocks-last-lg",wrapper_selected:"vf-checkbox-blocks-selected",wrapper_unselected:"vf-checkbox-blocks-unselected",wrapper_disabled:"vf-checkbox-blocks-disabled",wrapper_sm:"vf-checkbox-blocks-sm",wrapper_md:"",wrapper_lg:"vf-checkbox-blocks-lg",input:"vf-checkbox",input_enabled:"",input_disabled:"",input_sm:"vf-checkbox-sm",input_md:"",input_lg:"vf-checkbox-lg",text_wrapper:"vf-checkbox-blocks-text-wrapper",text:"vf-checkbox-blocks-text",description:"vf-checkbox-blocks-description",description_sm:"vf-checkbox-blocks-description-sm",description_md:"",description_lg:"vf-checkbox-blocks-description-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]],$wrapper:(a,{index:i,items:u,el$:c,value:d,isDisabled:m,Size:f})=>[a.wrapper,a[`wrapper_${f}`],i<Object.keys(u).length-1?a.wrapper_not_last:null,i===0?a.wrapper_first:null,i===0?a[`wrapper_first_${f}`]:null,i===Object.keys(u).length-1?a.wrapper_last:null,i===Object.keys(u).length-1?a[`wrapper_last_${f}`]:null,c.value.indexOf(d)!==-1?a.wrapper_selected:a.wrapper_unselected,m?a.wrapper_disabled:null],$input:(a,{isDisabled:i,Size:u})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled],$description:(a,{Size:i})=>[a.description,a[`description_${i}`]]}}}},css_248z$9=`/* Some styles are contained in Vueform.vue & CheckboxgroupElement.vue */
.vf-checkbox-blocks-container {
display: flex;
align-items: flex-start;
cursor: pointer;
border-radius: var(--vf-radius-large);
}
.vf-checkbox-blocks-container .vf-checkbox {
margin-top: 0;
}
.vf-checkbox-blocks-container.vf-checkbox-blocks-container-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-checkbox-blocks-container.vf-checkbox-blocks-container-lg {
border-radius: var(--vf-radius-large-lg);
}
.vf-checkbox-blocks {
display: flex;
align-items: center;
border-style: solid;
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-color: var(--vf-border-color-input);
width: 100%;
padding: var(--vf-py-group-blocks) var(--vf-px-group-blocks);
color: var(--vf-color-input);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
background: var(--vf-bg-input);
}
.vf-checkbox-blocks.vf-checkbox-blocks-not-last {
border-bottom: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-first {
border-radius: var(--vf-radius-large);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-first.vf-checkbox-blocks-first-sm {
border-radius: var(--vf-radius-large-sm);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-first.vf-checkbox-blocks-first-lg {
border-radius: var(--vf-radius-large-lg);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-last {
border-radius: var(--vf-radius-large);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-last.vf-checkbox-blocks-last-sm {
border-radius: var(--vf-radius-large-sm);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-last.vf-checkbox-blocks-last-lg {
border-radius: var(--vf-radius-large-lg);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-checkbox-blocks.vf-checkbox-blocks-selected {
background-color: var(--vf-bg-selected);
}
.vf-checkbox-blocks.vf-checkbox-blocks-disabled {
opacity: 0.5;
}
.vf-checkbox-blocks.vf-checkbox-blocks-sm {
padding: var(--vf-py-group-blocks-sm) var(--vf-px-group-blocks-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-checkbox-blocks.vf-checkbox-blocks-lg {
padding: var(--vf-py-group-blocks-lg) var(--vf-px-group-blocks-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-checkbox-blocks-text-wrapper {
margin-left: 0.5rem;
}
.vf-checkbox-blocks-description {
color: var(--vf-color-muted);
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
margin-top: -0.125rem;
}
.vf-checkbox-blocks-description.vf-checkbox-blocks-description-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
margin-top: -0.125rem;
}
.vf-checkbox-blocks-description.vf-checkbox-blocks-description-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
margin-top: -0.125rem;
}`;styleInject(css_248z$9);script$i.__file="themes/vueform/templates/elements/partials/CheckboxgroupCheckbox_blocks.vue";var script$h={name:"DragAndDrop",data(){return{merge:!0,defaultClasses:{container:"",icon:"",title:"",description:""}}}};function render$8(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container),onClick:i[0]||(i[0]=withModifiers((...f)=>a.handleClick&&a.handleClick(...f),["prevent"])),ref:"area"},[createBaseVNode("span",{class:normalizeClass(a.classes.icon)},null,2),a.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(a.classes.title)},toDisplayString(a.title),3)):createCommentVNode("v-if",!0),a.description?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.description)},toDisplayString(a.description),3)):createCommentVNode("v-if",!0)],2)}script$h.render=render$8;script$h.__file="themes/blank/templates/elements/partials/DragAndDrop.vue";var script$g={name:"DragAndDrop",render:script$h.render,data(){return{merge:!0,defaultClasses:{container:"vf-dnd",container_sm:"vf-dnd-sm",container_md:"",container_lg:"vf-dnd-lg",container_inactive:"",container_active:"is-active",container_enabled:"",container_disabled:"is-disabled",icon:"vf-dnd-icon-upload",title:"vf-dnd-title",description:"vf-dnd-description",$container:(a,{dragging:i,disabled:u,Size:c})=>[a.container,a[`container_${c}`],i?a.container_active:a.container_inactive,u?a.container_disabled:a.container_enabled]}}}},css_248z$8=`.vf-dnd {
background-color: #FFFFFF;
transition: 0.3s;
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-style: dashed;
border-color: var(--vf-border-color-input);
padding: 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-weight: inherit;
line-height: inherit;
color: inherit;
font-size: inherit;
box-sizing: border-box;
cursor: pointer;
text-align: center;
position: relative;
transition: 0.3s;
background-color: var(--vf-bg-input);
color: var(--vf-color-input);
border-radius: var(--vf-radius-large);
box-shadow: var(--vf-shadow-input);
text-align: center;
}
.vf-dnd.vf-dnd-sm {
border-radius: var(--vf-radius-large);
}
.vf-dnd.is-disabled {
opacity: 0.5;
cursor: not-allowed;
}
.vf-dnd.is-active {
border-color: var(--vf-primary);
}
.vf-dnd-icon-upload {
display: flex;
width: 2.25rem;
height: 2rem;
align-items: center;
justify-content: center;
background: var(--vf-primary);
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='36px' height='32px' viewBox='0 0 36 32' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M35.0499042,20.6125054 C35.656165,21.1750041 35.9999142,21.9687644 35.9999142,22.8000002 L35.9999142,28.9999976 C35.9999142,30.6562437 34.6561674,31.9999905 32.9999213,31.9999905 L2.99999285,31.9999905 C1.3437468,31.9999905 0,30.6562437 0,28.9999976 L0,22.8000002 C0,21.9687644 0.34374918,21.1750041 0.950009942,20.6125054 L6.86247143,15.0687564 C7.01249549,14.9313056 7.24998271,14.9375311 7.39372016,15.0875552 L8.24998033,16.0000286 C8.38749221,16.1500527 8.3812056,16.3875399 8.23124258,16.5312773 L4.52501363,20.0062446 L11.7374598,20.0062446 L13.737455,24.0062351 L22.2624591,24.0062351 L24.2624544,20.0062446 L31.4811871,20.0062446 L27.7749582,16.5312773 C27.6249341,16.3875399 27.612422,16.1500527 27.7561594,16.0000286 L28.606194,15.0875552 C28.7499315,14.9375311 28.9874187,14.925019 29.1374427,15.0687564 L35.0499042,20.6125054 Z M33.9999189,28.9999976 L33.9999189,23.0000119 C33.9999189,22.4500254 33.5499078,22.0000143 32.9999213,22.0000143 L25.4999392,22.0000143 L23.499944,26.0000048 L12.4999702,26.0000048 L10.499975,22.0000143 L2.99999285,22.0000143 C2.45000637,22.0000143 1.99999523,22.4500254 1.99999523,23.0000119 L1.99999523,28.9999976 C1.99999523,29.5499841 2.45000637,29.9999952 2.99999285,29.9999952 L32.9999213,29.9999952 C33.5499078,29.9999952 33.9999189,29.5499841 33.9999189,28.9999976 Z M25.999938,8.00004768 C27.7811838,8.00004768 28.6686939,10.1562925 27.4186968,11.4125151 L19.4187159,19.4124961 C18.6374678,20.1937442 17.368733,20.1937442 16.5874849,19.4124961 L8.58750394,11.4125151 C7.32499474,10.1562925 8.22495598,8.00004768 9.99997616,8.00004768 L13.9999666,8.00004768 L13.9999666,1.50006318 C13.9999666,0.675052941 14.6749528,6.67572021e-05 15.499963,6.67572021e-05 L20.4999511,6.67572021e-05 C21.3249614,6.67572021e-05 21.9999475,0.675052941 21.9999475,1.50006318 L21.9999475,8.00004768 L25.999938,8.00004768 Z M17.9999571,18.0000238 L25.999938,10.0000429 L19.9999523,10.0000429 L19.9999523,2.00006199 L15.9999619,2.00006199 L15.9999619,10.0000429 L9.99997616,10.0000429 L17.9999571,18.0000238 Z' id='inbox-in' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='36px' height='32px' viewBox='0 0 36 32' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M35.0499042,20.6125054 C35.656165,21.1750041 35.9999142,21.9687644 35.9999142,22.8000002 L35.9999142,28.9999976 C35.9999142,30.6562437 34.6561674,31.9999905 32.9999213,31.9999905 L2.99999285,31.9999905 C1.3437468,31.9999905 0,30.6562437 0,28.9999976 L0,22.8000002 C0,21.9687644 0.34374918,21.1750041 0.950009942,20.6125054 L6.86247143,15.0687564 C7.01249549,14.9313056 7.24998271,14.9375311 7.39372016,15.0875552 L8.24998033,16.0000286 C8.38749221,16.1500527 8.3812056,16.3875399 8.23124258,16.5312773 L4.52501363,20.0062446 L11.7374598,20.0062446 L13.737455,24.0062351 L22.2624591,24.0062351 L24.2624544,20.0062446 L31.4811871,20.0062446 L27.7749582,16.5312773 C27.6249341,16.3875399 27.612422,16.1500527 27.7561594,16.0000286 L28.606194,15.0875552 C28.7499315,14.9375311 28.9874187,14.925019 29.1374427,15.0687564 L35.0499042,20.6125054 Z M33.9999189,28.9999976 L33.9999189,23.0000119 C33.9999189,22.4500254 33.5499078,22.0000143 32.9999213,22.0000143 L25.4999392,22.0000143 L23.499944,26.0000048 L12.4999702,26.0000048 L10.499975,22.0000143 L2.99999285,22.0000143 C2.45000637,22.0000143 1.99999523,22.4500254 1.99999523,23.0000119 L1.99999523,28.9999976 C1.99999523,29.5499841 2.45000637,29.9999952 2.99999285,29.9999952 L32.9999213,29.9999952 C33.5499078,29.9999952 33.9999189,29.5499841 33.9999189,28.9999976 Z M25.999938,8.00004768 C27.7811838,8.00004768 28.6686939,10.1562925 27.4186968,11.4125151 L19.4187159,19.4124961 C18.6374678,20.1937442 17.368733,20.1937442 16.5874849,19.4124961 L8.58750394,11.4125151 C7.32499474,10.1562925 8.22495598,8.00004768 9.99997616,8.00004768 L13.9999666,8.00004768 L13.9999666,1.50006318 C13.9999666,0.675052941 14.6749528,6.67572021e-05 15.499963,6.67572021e-05 L20.4999511,6.67572021e-05 C21.3249614,6.67572021e-05 21.9999475,0.675052941 21.9999475,1.50006318 L21.9999475,8.00004768 L25.999938,8.00004768 Z M17.9999571,18.0000238 L25.999938,10.0000429 L19.9999523,10.0000429 L19.9999523,2.00006199 L15.9999619,2.00006199 L15.9999619,10.0000429 L9.99997616,10.0000429 L17.9999571,18.0000238 Z' id='inbox-in' fill='currentColor'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
mask-size: cover;
-webkit-mask-size: cover;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
}
.vf-dnd-title {
font-weight: 600;
margin-top: 0.75rem;
}`;styleInject(css_248z$8);script$g.__file="themes/vueform/templates/elements/partials/DragAndDrop.vue";var script$f={name:"FilePreview",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",file:"",filenameLink:"",filenameStatic:"",actions:"",percent:"",upload:"",progressBar:"",progress:"",warning:"",warningIcon:"",uploaded:"",uploadedIcon:"",remove:"",removeIcon:"",assistiveText:""}}}};const _hoisted_1$7=["aria-labelledby","aria-placeholder","aria-describedby"],_hoisted_2$5=["id"],_hoisted_3$4=["href"];function render$7(a,i,u,c,d,m){return withDirectives((openBlock(),createElementBlock("div",mergeProps({class:a.classes.container},a.attrs,{tabindex:"0",role:"button","aria-labelledby":a.ariaLabelledby,"aria-placeholder":a.ariaPlaceholder,"aria-describedby":`${a.el$.fieldId}-file-description`,onKeyup:i[3]||(i[3]=(...f)=>a.handleKeyup&&a.handleKeyup(...f))}),[createBaseVNode("span",{id:`${a.el$.fieldId}-file-description`,class:normalizeClass(a.classes.assistiveText),"aria-hidden":""},toDisplayString(a.form$.translations.vueform.a11y.file.description),11,_hoisted_2$5),createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[createBaseVNode("div",{class:normalizeClass(a.classes.file)},[createCommentVNode(" Filename "),a.hasLink&&a.clickable?(openBlock(),createElementBlock("a",{key:0,href:a.link,class:normalizeClass(a.classes.filenameLink),target:"_blank",rel:"nofollow noopener"},toDisplayString(a.filename),11,_hoisted_3$4)):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.filenameStatic)},toDisplayString(a.filename),3))],2),createBaseVNode("div",{class:normalizeClass(a.classes.actions)},[createCommentVNode(" Remove "),a.canRemove?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.remove),onClick:i[0]||(i[0]=withModifiers((...f)=>a.remove&&a.remove(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...f)=>a.remove&&a.remove(...f),["enter","space"])),"aria-roledescription":"❎",role:"button",tabindex:"0"},[createBaseVNode("span",{class:normalizeClass(a.classes.removeIcon)},null,2)],34)):createCommentVNode("v-if",!0),createCommentVNode(" Progress "),a.uploading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.percent)},toDisplayString(a.progress)+"%",3)):createCommentVNode("v-if",!0),createCommentVNode(" Error "),a.hasError?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(a.classes.warning)},[createBaseVNode("span",{class:normalizeClass(a.classes.warningIcon)},null,2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Upload button "),a.canUploadTemp?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(a.classes.upload),onClick:i[2]||(i[2]=withModifiers((...f)=>a.upload&&a.upload(...f),["prevent"])),tabindex:"-1"},toDisplayString(a.uploadText),3)):a.el$.stage>1?(openBlock(),createElementBlock(Fragment,{key:4},[createCommentVNode(" Success "),createBaseVNode("span",{class:normalizeClass(a.classes.uploaded)},[createBaseVNode("span",{class:normalizeClass(a.classes.uploadedIcon)},null,2)],2)],2112)):createCommentVNode("v-if",!0)],2)],2),a.uploading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.progressBar)},[createBaseVNode("div",{class:normalizeClass(a.classes.progress),style:normalizeStyle({width:a.progress+"%"})},null,6)],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$7)),[[vShow,a.visible]])}script$f.render=render$7;script$f.__file="themes/blank/templates/elements/partials/FilePreview.vue";var script$e={name:"FilePreview",render:script$f.render,data(){return{merge:!0,defaultClasses:{container:"vf-file-preview",container_sm:"vf-file-preview-sm",container_md:"",container_lg:"vf-file-preview-lg",wrapper:"vf-file-preview-wrapper",file:"vf-file-preview-file",filenameLink:"vf-file-preview-filename-link",filenameStatic:"vf-file-preview-filename",actions:"vf-file-preview-actions",percent:"vf-file-preview-percent",upload:"vf-file-preview-upload",progressBar:"vf-file-preview-progress-bar",progress:"vf-file-preview-progress",warning:"vf-file-preview-warning",warningIcon:"vf-file-preview-warning-icon",uploaded:"vf-file-preview-uploaded",uploadedIcon:"vf-file-preview-uploaded-icon",remove:"vf-file-preview-remove",removeIcon:"vf-file-preview-remove-icon",assistiveText:"vf-assistive-text",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]]}}}},css_248z$7=`.vf-file-preview {
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
min-height: var(--vf-min-height-input);
display: flex;
justify-content: center;
flex-direction: column;
position: relative;
}
.vf-file-preview:hover .vf-file-preview-uploaded,
.vf-file-preview:hover .vf-file-preview-warning,
.vf-file-preview:hover .vf-file-preview-percent {
display: none;
}
.vf-file-preview:hover .vf-file-preview-remove {
display: inline-block;
}
.vf-file-preview.vf-file-preview-sm {
padding-top: calc(var(--vf-py-input-sm) + var(--vf-border-width-input-t));
min-height: var(--vf-min-height-input-sm);
}
.vf-file-preview.vf-file-preview-lg {
padding-top: calc(var(--vf-py-input-lg) + var(--vf-border-width-input-t));
min-height: var(--vf-min-height-input-lg);
}
.vf-file-preview-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}
.vf-file-preview-file {
display: flex;
align-items: center;
}
.vf-file-preview-filename-link {
text-decoration: none;
color: inherit;
}
.vf-file-preview-filename-link:hover, .vf-file-preview-filename-link:focus, .vf-file-preview-filename-link:active {
color: inherit;
}
.vf-file-preview-filename-link:hover {
text-decoration: underline;
}
.vf-file-preview-actions {
display: flex;
align-items: center;
}
.vf-file-preview-upload {
font-size: 0.75rem;
margin-left: 0.5rem;
white-space: nowrap;
padding: 0.0625rem 0.4375rem;
background: var(--vf-primary);
color: var(--vf-color-on-primary);
border-radius: var(--vf-radius-small);
text-decoration: none;
transition: 0.15s;
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
}
.vf-file-preview-upload:hover {
transform: scale(1.05);
}
.vf-file-preview-upload:focus {
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-file-preview-percent {
font-size: 0.875rem;
color: var(--vf-color-muted);
margin-left: 0.375rem;
}
.vf-file-preview-progress-bar {
margin-top: 0.625rem;
border-radius: 0;
height: 0.1875rem;
background: var(--vf-bg-passive);
position: absolute;
bottom: 0;
width: 100%;
}
.vf-file-preview-progress {
border-radius: 0;
height: 100%;
background: var(--vf-primary);
transition: 0.6s ease;
}
.vf-file-preview-warning,
.vf-file-preview-uploaded,
.vf-file-preview-remove {
display: flex;
width: 1rem;
height: 1rem;
align-items: center;
justify-content: center;
border-radius: 999px;
}
.vf-file-preview-warning-icon,
.vf-file-preview-uploaded-icon,
.vf-file-preview-remove-icon {
width: 100%;
height: 100%;
display: block;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
}
.vf-file-preview-remove {
display: none;
margin-left: 0.375rem;
background-color: var(--vf-bg-passive);
transition: 0.15s;
}
.vf-file-preview-remove:hover {
filter: brightness(0.9);
}
.vf-file-preview-remove-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.75rem 0.75rem;
-webkit-mask-size: 0.75rem 0.75rem;
background-color: var(--vf-color-passive);
}
.vf-file-preview-uploaded {
background-color: var(--vf-bg-success);
}
.vf-file-preview-uploaded-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-success);
}
.vf-file-preview-warning {
background-color: var(--vf-bg-danger);
}
.vf-file-preview-warning-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-danger);
}
.vf-file-removing .vf-file-preview {
opacity: 0.6;
}`;styleInject(css_248z$7);script$e.__file="themes/vueform/templates/elements/partials/FilePreview.vue";var script$d={name:"FilePreview_image",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",image:"",img:"",file:"",filenameLink:"",filenameStatic:"",actions:"",percent:"",upload:"",progressBar:"",progress:"",warning:"",warningIcon:"",uploaded:"",uploadedIcon:"",remove:"",removeIcon:""}}}};const _hoisted_1$6=["aria-labelledby","aria-placeholder","aria-describedby"],_hoisted_2$4=["id"],_hoisted_3$3=["href"],_hoisted_4$1=["src","alt","title"],_hoisted_5$1=["src","alt","title"],_hoisted_6=["href"];function render$6(a,i,u,c,d,m){return withDirectives((openBlock(),createElementBlock("div",mergeProps({class:a.classes.container,tabindex:"0",role:"button"},a.attrs,{"aria-labelledby":a.ariaLabelledby,"aria-placeholder":a.ariaPlaceholder,"aria-describedby":`${a.el$.fieldId}-file-description`,onKeyup:i[4]||(i[4]=(...f)=>a.handleKeyup&&a.handleKeyup(...f))}),[createBaseVNode("span",{id:`${a.el$.fieldId}-file-description`,class:normalizeClass(a.classes.assistiveText),"aria-hidden":""},toDisplayString(a.form$.translations.vueform.a11y.file.description),11,_hoisted_2$4),createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[createCommentVNode(" Image "),a.uploaded&&a.hasLink&&a.clickable?(openBlock(),createElementBlock("a",{key:0,href:a.link,class:normalizeClass(a.classes.image),target:"_blank",rel:"nofollow noopener"},[createBaseVNode("img",{class:normalizeClass(a.classes.img),src:a.preview,alt:a.filename,title:a.filename,"aria-hidden":"true"},null,10,_hoisted_4$1)],10,_hoisted_3$3)):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.image)},[createBaseVNode("img",{class:normalizeClass(a.classes.img),src:a.preview,alt:a.filename,title:a.filename,"aria-hidden":"true"},null,10,_hoisted_5$1)],2)),createBaseVNode("div",{class:normalizeClass(a.classes.file)},[createCommentVNode(" Filename "),a.hasLink&&a.clickable?(openBlock(),createElementBlock("a",{key:0,href:a.link,class:normalizeClass(a.classes.filenameLink),target:"_blank",rel:"nofollow noopener"},toDisplayString(a.filename),11,_hoisted_6)):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(a.classes.filenameStatic)},toDisplayString(a.filename),3))],2),createBaseVNode("div",{class:normalizeClass(a.classes.actions)},[createCommentVNode(" Remove "),a.canRemove?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.remove),onClick:i[0]||(i[0]=withModifiers((...f)=>a.remove&&a.remove(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...f)=>a.remove&&a.remove(...f),["enter","space"])),"aria-roledescription":"❎",role:"button",tabindex:"0"},[createBaseVNode("span",{class:normalizeClass(a.classes.removeIcon)},null,2)],34)):createCommentVNode("v-if",!0),createCommentVNode(" Progress "),a.uploading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.percent)},toDisplayString(a.progress)+"%",3)):createCommentVNode("v-if",!0),createCommentVNode(" Error "),a.hasError?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(a.classes.warning)},[createBaseVNode("span",{class:normalizeClass(a.classes.warningIcon)},null,2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Upload button "),a.canUploadTemp?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(a.classes.upload),onClick:i[2]||(i[2]=withModifiers((...f)=>a.upload&&a.upload(...f),["prevent"])),onKeypress:i[3]||(i[3]=withKeys((...f)=>a.upload&&a.upload(...f),["enter","space"])),tabindex:"-1",role:"button"},toDisplayString(a.uploadText),35)):a.el$.stage>1?(openBlock(),createElementBlock(Fragment,{key:4},[createCommentVNode(" Success "),createBaseVNode("span",{class:normalizeClass(a.classes.uploaded)},[createBaseVNode("span",{class:normalizeClass(a.classes.uploadedIcon)},null,2)],2)],2112)):createCommentVNode("v-if",!0)],2)],2),a.uploading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.progressBar)},[createBaseVNode("div",{class:normalizeClass(a.classes.progress),style:normalizeStyle({width:a.progress+"%"})},null,6)],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$6)),[[vShow,a.visible]])}script$d.render=render$6;script$d.__file="themes/blank/templates/elements/partials/FilePreview_image.vue";var script$c={name:"ImagePreview",render:script$d.render,data(){return{merge:!0,defaultClasses:{container:"vf-file-preview-image",wrapper:"vf-file-preview-image-wrapper",image:"vf-file-preview-image-image",image_link:"",image_static:"",image_sm:"vf-file-preview-image-image-sm",image_md:"",image_lg:"vf-file-preview-image-image-lg",img:"vf-file-preview-image-img",img_sm:"vf-file-preview-image-img-sm",img_md:"",img_lg:"vf-file-preview-image-img-lg",file:"vf-file-preview-image-file",filenameLink:"vf-file-preview-image-filename-link",filenameStatic:"vf-file-preview-image-filename",actions:"vf-file-preview-image-actions",percent:"vf-file-preview-image-percent",upload:"vf-file-preview-image-upload",progressBar:"vf-file-preview-image-progress-bar",progressBar_sm:"vf-file-preview-image-progress-bar-sm",progressBar_md:"",progressBar_lg:"vf-file-preview-image-progress-bar-lg",progress:"vf-file-preview-image-progress",warning:"vf-file-preview-image-warning",warningIcon:"vf-file-preview-image-warning-icon",uploaded:"vf-file-preview-image-uploaded",uploadedIcon:"vf-file-preview-image-uploaded-icon",remove:"vf-file-preview-image-remove",removeIcon:"vf-file-preview-image-remove-icon",assistiveText:"vf-assistive-text",$image:(a,{hasLink:i,Size:u})=>[a.image,a[`image_${u}`],i?a.image_link:a.image_static],$img:(a,{Size:i})=>[a.img,a[`img_${i}`]],$progressBar:(a,{Size:i})=>[a.progressBar,a[`progressBar_${i}`]]}}}},css_248z$6=`.vf-file-preview-image {
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
display: flex;
justify-content: flex-start;
flex-direction: row;
position: relative;
}
.vf-file-preview-image:hover .vf-file-preview-image-uploaded,
.vf-file-preview-image:hover .vf-file-preview-image-warning,
.vf-file-preview-image:hover .vf-file-preview-image-percent {
display: none;
}
.vf-file-preview-image:hover .vf-file-preview-image-remove {
display: inline-block;
}
.vf-file-preview-image-image {
display: flex;
align-items: center;
flex: 0 0 auto;
background: var(--vf-bg-passive);
border-radius: var(--vf-radius-image);
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
box-shadow: var(--vf-shadow-input);
}
.vf-file-preview-image-image:focus {
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-file-preview-image-image.vf-file-preview-image-image-sm {
border-radius: var(--vf-radius-image-sm);
}
.vf-file-preview-image-image.vf-file-preview-image-image-lg {
border-radius: var(--vf-radius-image-lg);
}
.vf-file-preview-image-img {
-o-object-fit: cover;
object-fit: cover;
width: var(--vf-min-height-input);
height: var(--vf-min-height-input);
border-radius: var(--vf-radius-image);
border: 0;
}
.vf-file-preview-image-img[src=""], .vf-file-preview-image-img[src="data:"], .vf-file-preview-image-img:not([src]) {
opacity: 0;
}
.vf-file-preview-image-img.vf-file-preview-image-img-sm {
width: var(--vf-min-height-input-sm);
height: var(--vf-min-height-input-sm);
border-radius: var(--vf-radius-image-sm);
}
.vf-file-preview-image-img.vf-file-preview-image-img-lg {
width: var(--vf-min-height-input-lg);
height: var(--vf-min-height-input-lg);
border-radius: var(--vf-radius-image-lg);
}
.vf-file-preview-image-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.vf-file-preview-image-file {
display: flex;
align-items: center;
margin-left: 0.625rem;
flex: 1 1 auto;
}
.vf-file-preview-image-filename-link {
text-decoration: none;
color: inherit;
}
.vf-file-preview-image-filename-link:hover, .vf-file-preview-image-filename-link:focus, .vf-file-preview-image-filename-link:active {
color: inherit;
}
.vf-file-preview-image-filename-link:hover {
text-decoration: underline;
}
.vf-file-preview-image-actions {
display: flex;
align-items: center;
}
.vf-file-preview-image-upload {
font-size: 0.75rem;
margin-left: 0.5rem;
white-space: nowrap;
padding: 0.0625rem 0.4375rem;
background: var(--vf-primary);
color: var(--vf-color-on-primary);
border-radius: var(--vf-radius-small);
text-decoration: none;
transition: 0.15s;
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
}
.vf-file-preview-image-upload:hover {
transform: scale(1.05);
}
.vf-file-preview-image-upload:focus {
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-file-preview-image-percent {
font-size: 0.875rem;
color: var(--vf-color-muted);
margin-left: 0.375rem;
}
.vf-file-preview-image-progress-bar {
margin-top: 0.625rem;
border-radius: 0;
height: 0.1875rem;
background: var(--vf-bg-passive);
position: absolute;
bottom: 0;
left: calc(var(--vf-min-height-input) + 0.625rem);
right: 0;
}
.vf-file-preview-image-progress-bar.vf-file-preview-image-progress-bar-sm {
left: calc(var(--vf-min-height-input-sm) + 0.625rem);
}
.vf-file-preview-image-progress-bar.vf-file-preview-image-progress-bar-lg {
left: calc(var(--vf-min-height-input-lg) + 0.625rem);
}
.vf-file-preview-image-progress {
border-radius: 0;
display: block;
height: 100%;
background: var(--vf-primary);
transition: 0.6s ease;
}
.vf-file-preview-image-warning,
.vf-file-preview-image-uploaded,
.vf-file-preview-image-remove {
display: flex;
width: 1rem;
height: 1rem;
align-items: center;
justify-content: center;
border-radius: 999px;
}
.vf-file-preview-image-warning-icon,
.vf-file-preview-image-uploaded-icon,
.vf-file-preview-image-remove-icon {
width: 100%;
height: 100%;
display: block;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
}
.vf-file-preview-image-remove {
display: none;
margin-left: 0.375rem;
background-color: var(--vf-bg-passive);
transition: 0.15s;
}
.vf-file-preview-image-remove:hover {
filter: brightness(0.9);
}
.vf-file-preview-image-remove-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.75rem 0.75rem;
-webkit-mask-size: 0.75rem 0.75rem;
background-color: var(--vf-color-passive);
}
.vf-file-preview-image-uploaded {
background-color: var(--vf-bg-success);
}
.vf-file-preview-image-uploaded-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-success);
}
.vf-file-preview-image-warning {
background-color: var(--vf-bg-danger);
}
.vf-file-preview-image-warning-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-danger);
}
.vf-file-removing .vf-file-preview-image {
opacity: 0.6;
}`;styleInject(css_248z$6);script$c.__file="themes/vueform/templates/elements/partials/FilePreview_image.vue";var script$b={name:"FilePreview_gallery",data(){return{merge:!0,defaultClasses:{container:"",image:"",img:"",overlay:"",upload:"",progressBar:"",progress:"",warning:"",warningIcon:"",uploaded:"",uploadedIcon:"",remove:"",removeIcon:""}}}};const _hoisted_1$5=["aria-labelledby","aria-placeholder","aria-role","aria-describedby"],_hoisted_2$3=["id"],_hoisted_3$2=["href"],_hoisted_4=["src","alt","title"],_hoisted_5=["src","alt","title"];function render$5(a,i,u,c,d,m){return withDirectives((openBlock(),createElementBlock("div",mergeProps({class:a.classes.container,tabindex:"0",role:"button"},a.attrs,{"aria-labelledby":a.ariaLabelledby,"aria-placeholder":a.ariaPlaceholder,"aria-role":a.ariaRoledescription,"aria-describedby":`${a.el$.fieldId}-file-description`,onKeyup:i[4]||(i[4]=(...f)=>a.handleKeyup&&a.handleKeyup(...f))}),[createBaseVNode("span",{id:`${a.el$.fieldId}-file-description`,class:normalizeClass(a.classes.assistiveText),"aria-hidden":""},toDisplayString(a.form$.translations.vueform.a11y.file.description),11,_hoisted_2$3),createCommentVNode(" Image "),a.uploaded&&a.hasLink&&a.clickable?(openBlock(),createElementBlock("a",{key:0,class:normalizeClass(a.classes.image),href:a.link,target:"_blank",rel:"nofollow noopener"},[createBaseVNode("img",{src:a.preview,class:normalizeClass(a.classes.img),alt:a.filename,title:a.filename,"aria-hidden":"true"},null,10,_hoisted_4)],10,_hoisted_3$2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(a.classes.image)},[createBaseVNode("img",{class:normalizeClass(a.classes.img),src:a.preview,alt:a.filename,title:a.filename,"aria-hidden":"true"},null,10,_hoisted_5)],2)),createCommentVNode(" Overlay "),!a.uploaded&&!a.uploading?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(a.classes.overlay)},[a.canUploadTemp?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(a.classes.upload),onClick:i[0]||(i[0]=withModifiers((...f)=>a.upload&&a.upload(...f),["prevent"])),onKeypress:i[1]||(i[1]=withKeys((...f)=>a.upload&&a.upload(...f),["enter","space"])),tabindex:"-1",role:"button"},toDisplayString(a.uploadText),35)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Error "),a.hasError?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(a.classes.warning)},[createBaseVNode("span",{class:normalizeClass(a.classes.warningIcon)},null,2)],2)):a.el$.stage>1?(openBlock(),createElementBlock(Fragment,{key:4},[createCommentVNode(" Success "),createBaseVNode("span",{class:normalizeClass(a.classes.uploaded)},[createBaseVNode("span",{class:normalizeClass(a.classes.uploadedIcon)},null,2)],2)],2112)):createCommentVNode("v-if",!0),createCommentVNode(" Remove "),a.canRemove?(openBlock(),createElementBlock("div",{key:5,class:normalizeClass(a.classes.remove),onClick:i[2]||(i[2]=withModifiers((...f)=>a.remove&&a.remove(...f),["prevent"])),onKeypress:i[3]||(i[3]=withKeys((...f)=>a.remove&&a.remove(...f),["enter","space"])),"aria-roledescription":"❎",role:"button",tabindex:"0"},[createBaseVNode("span",{class:normalizeClass(a.classes.removeIcon)},null,2)],34)):createCommentVNode("v-if",!0),createCommentVNode(" Progress "),a.uploading?(openBlock(),createElementBlock("div",{key:6,class:normalizeClass(a.classes.progressBar)},[createBaseVNode("div",{class:normalizeClass(a.classes.progress),style:normalizeStyle({width:a.progress+"%"})},null,6)],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$5)),[[vShow,a.visible]])}script$b.render=render$5;script$b.__file="themes/blank/templates/elements/partials/FilePreview_gallery.vue";var script$a={name:"GalleryPreview",render:script$b.render,data(){return{merge:!0,defaultClasses:{container:"vf-file-preview-gallery",container_sm:"vf-file-preview-gallery-sm",container_md:"",container_lg:"vf-file-preview-gallery-lg",image:"vf-file-preview-gallery-image",image_sm:"vf-file-preview-gallery-image-sm",image_md:"",image_lg:"vf-file-preview-gallery-image-lg",image_link:"",image_static:"",img:"vf-file-preview-gallery-img",img_sm:"vf-file-preview-gallery-img-sm",img_md:"",img_lg:"vf-file-preview-gallery-img-lg",overlay:"vf-file-preview-gallery-overlay",overlay_sm:"vf-file-preview-gallery-overlay-sm",overlay_md:"",overlay_lg:"vf-file-preview-gallery-overlay-lg",upload:"vf-file-preview-gallery-upload",progressBar:"vf-file-preview-gallery-progress-bar",progress:"vf-file-preview-gallery-progress",warning:"vf-file-preview-gallery-warning",warningIcon:"vf-file-preview-gallery-warning-icon",uploaded:"vf-file-preview-gallery-uploaded",uploadedIcon:"vf-file-preview-gallery-uploaded-icon",remove:"vf-file-preview-gallery-remove",removeIcon:"vf-file-preview-gallery-remove-icon",assistiveText:"vf-assistive-text",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]],$image:(a,{Size:i})=>[a.image,a[`image_${i}`]],$img:(a,{Size:i})=>[a.img,a[`img_${i}`]],$overlay:(a,{Size:i})=>[a.overlay,a[`overlay_${i}`]]}}}},css_248z$5=`.vf-file-preview-gallery {
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
display: flex;
justify-content: flex-start;
flex-direction: column;
transition: 0.2s background;
width: var(--vf-gallery-size);
height: var(--vf-gallery-size);
position: relative;
}
.vf-file-preview-gallery:hover .vf-file-preview-gallery-overlay {
opacity: 1;
visibility: visible;
}
.vf-file-preview-gallery:hover .vf-file-preview-gallery-remove {
opacity: 1;
visibility: visible;
}
.vf-file-preview-gallery.vf-file-preview-gallery-sm {
width: var(--vf-gallery-size-sm);
height: var(--vf-gallery-size-sm);
}
.vf-file-preview-gallery.vf-file-preview-gallery-lg {
width: var(--vf-gallery-size-lg);
height: var(--vf-gallery-size-lg);
}
.vf-file-preview-gallery-overlay {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.5);
transition: 0.3s;
opacity: 0;
visibility: hidden;
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
padding: 0.75rem;
border-radius: var(--vf-radius-gallery);
}
.vf-file-preview-gallery-overlay.vf-file-preview-gallery-overlay-sm {
border-radius: var(--vf-radius-gallery-sm);
}
.vf-file-preview-gallery-overlay.vf-file-preview-gallery-overlay-lg {
border-radius: var(--vf-radius-gallery-lg);
}
.vf-file-preview-gallery-upload {
font-size: 0.75rem;
white-space: nowrap;
background: #FFFFFF;
padding: 0.0625rem 0.4375rem;
background: var(--vf-primary);
color: var(--vf-color-on-primary);
border-radius: var(--vf-radius-small);
text-decoration: none;
transition: 0.15s;
outline: 0px solid var(--vf-ring-color);
outline-offset: 0;
}
.vf-file-preview-gallery-upload:hover {
transform: scale(1.05);
}
.vf-file-preview-gallery-upload:focus {
outline: var(--vf-ring-width) solid var(--vf-ring-color);
}
.vf-file-preview-gallery-image {
width: 100%;
height: 100%;
font-size: 0;
background: var(--vf-bg-passive);
border-radius: var(--vf-radius-gallery);
outline: none;
}
.vf-file-preview-gallery-image.vf-file-preview-gallery-image-sm {
border-radius: var(--vf-radius-gallery-sm);
}
.vf-file-preview-gallery-image.vf-file-preview-gallery-image-lg {
border-radius: var(--vf-radius-gallery-lg);
}
.vf-file-preview-gallery-img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
border-radius: var(--vf-radius-gallery);
}
.vf-file-preview-gallery-img[src=""], .vf-file-preview-gallery-img[src="data:"], .vf-file-preview-gallery-img:not([src]) {
opacity: 0;
}
.vf-file-preview-gallery-img.vf-file-preview-gallery-img-sm {
border-radius: var(--vf-radius-gallery-sm);
}
.vf-file-preview-gallery-img.vf-file-preview-gallery-img-lg {
border-radius: var(--vf-radius-gallery-lg);
}
.vf-file-preview-gallery-progress-bar {
border-radius: 0;
height: 0.1875rem;
position: absolute;
left: 0.1875rem;
bottom: 0.1875rem;
z-index: 1;
background: #FFFFFF;
right: 0.1875rem;
}
.vf-file-preview-gallery-progress {
border-radius: 0;
height: 100%;
background: var(--vf-primary);
transition: 0.6s ease;
}
.vf-file-preview-gallery-remove,
.vf-file-preview-gallery-uploaded,
.vf-file-preview-gallery-warning {
display: flex;
width: 1rem;
height: 1rem;
align-items: center;
justify-content: center;
}
.vf-file-preview-gallery-remove-icon,
.vf-file-preview-gallery-uploaded-icon,
.vf-file-preview-gallery-warning-icon {
width: 100%;
height: 100%;
display: block;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
}
.vf-file-preview-gallery-remove {
position: absolute;
right: 0.1875rem;
top: 0.1875rem;
opacity: 0;
visibility: hidden;
background-color: var(--vf-bg-passive);
border-radius: 999px;
transition: 0.15s;
}
.vf-file-preview-gallery-remove:hover {
filter: brightness(0.9);
}
.vf-file-preview-gallery-remove-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.75rem 0.75rem;
-webkit-mask-size: 0.75rem 0.75rem;
background-color: var(--vf-color-passive);
}
.vf-file-preview-gallery-uploaded {
position: absolute;
right: 0.1875rem;
bottom: 0.1875rem;
border-radius: 999px;
background-color: var(--vf-bg-success);
}
.vf-file-preview-gallery-uploaded-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-success);
}
.vf-file-preview-gallery-warning {
position: absolute;
right: 0.1875rem;
bottom: 0.1875rem;
border-radius: 999px;
background-color: var(--vf-bg-danger);
}
.vf-file-preview-gallery-warning-icon {
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 192 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z'%3E%3C/path%3E%3C/svg%3E");
mask-size: 0.625rem 0.625rem;
-webkit-mask-size: 0.625rem 0.625rem;
background-color: var(--vf-color-danger);
}
.vf-file-removing .vf-file-preview-gallery {
opacity: 0.6;
}
.is-sorting .vf-file-preview-gallery:hover .vf-file-preview-gallery-overlay, .vf-gallery.is-disabled .vf-file-preview-gallery:hover .vf-file-preview-gallery-overlay {
opacity: 0;
visibility: hidden;
}
.is-sorting .vf-file-preview-gallery:hover .vf-file-preview-gallery-remove, .vf-gallery.is-disabled .vf-file-preview-gallery:hover .vf-file-preview-gallery-remove {
opacity: 0;
visibility: hidden;
}`;styleInject(css_248z$5);script$a.__file="themes/vueform/templates/elements/partials/FilePreview_gallery.vue";var script$9={name:"RadiogroupRadio",data(){return{merge:!0,defaultClasses:{container:"",input:"",text:""}}}};const _hoisted_1$4=["value","name","id","disabled","aria-label"],_hoisted_2$2=["innerHTML"];function render$4(a,i,u,c,d,m){return openBlock(),createElementBlock("label",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[withDirectives(createBaseVNode("input",mergeProps({type:"radio","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.value=f)},a.attrs,{value:a.value,class:a.classes.input,name:a.name,id:a.id,disabled:a.isDisabled,"aria-label":a.item.label}),null,16,_hoisted_1$4),[[vModelRadio,a.el$.value]]),createBaseVNode("span",{class:normalizeClass(a.classes.text),innerHTML:a.item.label},null,10,_hoisted_2$2)])],2)}script$9.render=render$4;script$9.__file="themes/blank/templates/elements/partials/RadiogroupRadio.vue";var script$8={name:"RadiogroupRadio",render:script$9.render,data(){return{merge:!0,defaultClasses:{container:"vf-radio-container",input:"vf-radio",input_enabled:"",input_disabled:"",input_sm:"vf-radio-sm",input_md:"",input_lg:"vf-radio-lg",text:"vf-radio-text",$input:(a,{isDisabled:i,Size:u})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled]}}}},css_248z$4="/* Some styles are contained in Vueform.vue & RadiogroupElement.vue */";styleInject(css_248z$4);script$8.__file="themes/vueform/templates/elements/partials/RadiogroupRadio.vue";var script$7={name:"CheckboxgroupCheckbox_tabs",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text:""}}}};const _hoisted_1$3=["aria-checked"],_hoisted_2$1=["value","name","id","disabled"],_hoisted_3$1=["innerHTML"];function render$3(a,i,u,c,d,m){return openBlock(),createElementBlock("label",mergeProps(a.attrs,{class:a.classes.container,tabindex:"0",role:"radio","aria-checked":a.checked,onKeypress:i[1]||(i[1]=withKeys(withModifiers(f=>a.el$.update(a.value),["prevent"]),["space"])),onKeydown:i[2]||(i[2]=(...f)=>a.handleKeydown&&a.handleKeydown(...f))}),[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",{type:"radio","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.model=f),value:a.value,class:normalizeClass(a.classes.input),name:a.name,id:a.id,disabled:a.isDisabled},null,10,_hoisted_2$1),[[vModelRadio,a.el$.model]]),createBaseVNode("span",{class:normalizeClass(a.classes.text),innerHTML:`${a.item.label}`},null,10,_hoisted_3$1)],2)])],16,_hoisted_1$3)}script$7.render=render$3;script$7.__file="themes/blank/templates/elements/partials/RadiogroupRadio_tabs.vue";var script$6={name:"RadiogroupRadio_tabs",render:script$7.render,data(){return{merge:!0,defaultClasses:{container:"vf-radio-tabs-container",wrapper:"vf-radio-tabs",wrapper_not_last:"vf-radio-tabs-not-last",wrapper_first:"vf-radio-tabs-first",wrapper_first_sm:"vf-radio-tabs-first-sm",wrapper_first_md:"",wrapper_first_lg:"vf-radio-tabs-first-lg",wrapper_last:"vf-radio-tabs-last",wrapper_last_sm:"vf-radio-tabs-last-sm",wrapper_last_md:"",wrapper_last_lg:"vf-radio-tabs-last-lg",wrapper_selected:"vf-radio-tabs-selected",wrapper_unselected:"vf-radio-tabs-unselected",wrapper_disabled:"vf-radio-tabs-disabled",wrapper_sm:"vf-radio-tabs-sm",wrapper_md:"",wrapper_lg:"vf-radio-tabs-lg",input:"vf-radio-tabs-input",text:"",$wrapper:(a,{index:i,items:u,el$:c,value:d,isDisabled:m,Size:f})=>[a.wrapper,a[`wrapper_${f}`],i<Object.keys(u).length-1?a.wrapper_not_last:null,i===0?a.wrapper_first:null,i===Object.keys(u).length-1?a.wrapper_last:null,c.value==d?a.wrapper_selected:a.wrapper_unselected,m?a.wrapper_disabled:null]}}}},css_248z$3=`/* Some styles are contained in Vueform.vue & RadiogroupElement.vue */
.vf-radio-tabs-container {
display: flex;
align-items: flex-start;
cursor: pointer;
}
.vf-radio-tabs {
display: flex;
align-items: center;
justify-content: center;
border-style: solid;
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-color: var(--vf-border-color-input);
padding: var(--vf-py-group-tabs) var(--vf-px-group-tabs);
width: 100%;
background: var(--vf-bg-input);
color: var(--vf-color-input);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-radio-tabs.vf-radio-tabs-not-last {
border-right: 0;
}
.vf-radio-tabs.vf-radio-tabs-first {
border-radius: var(--vf-radius-input);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-first.vf-radio-tabs-first-sm {
border-radius: var(--vf-radius-input-sm);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-first.vf-radio-tabs-first-lg {
border-radius: var(--vf-radius-input-lg);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-last {
border-radius: var(--vf-radius-input-lg);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-last.vf-radio-tabs-last-sm {
border-radius: var(--vf-radius-input-sm);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-last.vf-radio-tabs-last-lg {
border-radius: var(--vf-radius-input-lg);
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.vf-radio-tabs.vf-radio-tabs-selected {
background-color: var(--vf-primary);
border-color: rgba(0, 0, 0, 0.15);
color: var(--vf-color-on-primary);
}
.vf-radio-tabs.vf-radio-tabs-unselected {
border-color: var(--vf-border-color-input);
}
.vf-radio-tabs.vf-radio-tabs-unselected:hover:not(.vf-radio-tabs-disabled) {
background-color: var(--vf-bg-input-hover);
color: var(--vf-color-input-hover);
}
.vf-radio-tabs.vf-radio-tabs-disabled {
opacity: 0.5;
}
.vf-radio-tabs.vf-radio-tabs-sm {
padding: var(--vf-py-group-tabs-sm) var(--vf-px-group-tabs-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-radio-tabs.vf-radio-tabs-lg {
padding: var(--vf-py-group-tabs-lg) var(--vf-px-group-tabs-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-radio-tabs-input {
display: none;
}`;styleInject(css_248z$3);script$6.__file="themes/vueform/templates/elements/partials/RadiogroupRadio_tabs.vue";var script$5={name:"CheckboxgroupCheckbox_tabs",data(){return{merge:!0,defaultClasses:{container:"",wrapper:"",input:"",text_wrapper:"",text:"",description:""}}}};const _hoisted_1$2=["value","name","id","disabled"],_hoisted_2=["innerHTML"],_hoisted_3=["innerHTML"];function render$2(a,i,u,c,d,m){return openBlock(),createElementBlock("label",{class:normalizeClass(a.classes.container)},[renderSlot(a.$slots,"default",mergeProps({name:a.name},{classes:a.classes,isDisabled:a.isDisabled,id:a.id,item:a.item,value:a.value,items:a.items,index:a.index}),()=>[createBaseVNode("div",{class:normalizeClass(a.classes.wrapper)},[withDirectives(createBaseVNode("input",mergeProps({type:"radio","onUpdate:modelValue":i[0]||(i[0]=f=>a.el$.model=f)},a.attrs,{value:a.value,class:a.classes.input,name:a.name,id:a.id,disabled:a.isDisabled}),null,16,_hoisted_1$2),[[vModelRadio,a.el$.model]]),createBaseVNode("div",{class:normalizeClass(a.classes.text_wrapper)},[createBaseVNode("div",{class:normalizeClass(a.classes.text),innerHTML:a.item.label},null,10,_hoisted_2),createBaseVNode("div",{class:normalizeClass(a.classes.description),innerHTML:a.item.description},null,10,_hoisted_3)],2)],2)])],2)}script$5.render=render$2;script$5.__file="themes/blank/templates/elements/partials/RadiogroupRadio_blocks.vue";var script$4={name:"RadiogroupRadio_blocks",render:script$5.render,data(){return{merge:!0,defaultClasses:{container:"vf-radio-blocks-container",container_sm:"vf-radio-blocks-container-sm",container_md:"",container_lg:"vf-radio-blocks-container-lg",wrapper:"vf-radio-blocks",wrapper_not_last:"vf-radio-blocks-not-last",wrapper_first:"vf-radio-blocks-first",wrapper_first_sm:"vf-radio-blocks-first-sm",wrapper_first_md:"",wrapper_first_lg:"vf-radio-blocks-first-lg",wrapper_last:"vf-radio-blocks-last",wrapper_last_sm:"vf-radio-blocks-last-sm",wrapper_last_md:"",wrapper_last_lg:"vf-radio-blocks-last-lg",wrapper_selected:"vf-radio-blocks-selected",wrapper_unselected:"vf-radio-blocks-unselected",wrapper_disabled:"vf-radio-blocks-disabled",wrapper_sm:"vf-radio-blocks-sm",wrapper_md:"",wrapper_lg:"vf-radio-blocks-lg",input:"vf-radio",input_enabled:"",input_disabled:"",input_sm:"vf-radio-sm",input_md:"",input_lg:"vf-radio-lg",text_wrapper:"vf-radio-blocks-text-wrapper",text:"vf-radio-blocks-text",description:"vf-radio-blocks-description",description_sm:"vf-radio-blocks-description-sm",description_md:"",description_lg:"vf-radio-blocks-description-lg",$container:(a,{Size:i})=>[a.container,a[`container_${i}`]],$wrapper:(a,{index:i,items:u,el$:c,value:d,isDisabled:m,Size:f})=>[a.wrapper,a[`wrapper_${f}`],i<Object.keys(u).length-1?a.wrapper_not_last:null,i===0?a.wrapper_first:null,i===0?a[`wrapper_first_${f}`]:null,i===Object.keys(u).length-1?a.wrapper_last:null,i===Object.keys(u).length-1?a[`wrapper_last_${f}`]:null,c.value==d?a.wrapper_selected:a.wrapper_unselected,m?a.wrapper_disabled:null],$input:(a,{isDisabled:i,Size:u})=>[a.input,a[`input_${u}`],i?a.input_disabled:a.input_enabled],$description:(a,{Size:i})=>[a.description,a[`description_${i}`]]}}}},css_248z$2=`/* Some styles are contained in Vueform.vue & RadiogroupElement.vue */
.vf-radio-blocks-container {
display: flex;
align-items: flex-start;
cursor: pointer;
background: var(--vf-bg-input);
border-radius: var(--vf-radius-large);
}
.vf-radio-blocks-container .vf-radio {
margin-top: 0;
}
.vf-radio-blocks-container.vf-radio-blocks-container-sm {
border-radius: var(--vf-radius-large-sm);
}
.vf-radio-blocks-container.vf-radio-blocks-container-lg {
border-radius: var(--vf-radius-large-lg);
}
.vf-radio-blocks {
display: flex;
align-items: center;
border-style: solid;
border-width: var(--vf-border-width-input-t) var(--vf-border-width-input-r) var(--vf-border-width-input-b) var(--vf-border-width-input-l);
border-color: var(--vf-border-color-input);
width: 100%;
padding: var(--vf-py-group-blocks) var(--vf-px-group-blocks);
background: var(--vf-bg-input);
color: var(--vf-color-input);
font-size: var(--vf-font-size);
line-height: var(--vf-line-height);
letter-spacing: var(--vf-letter-spacing);
}
.vf-radio-blocks.vf-radio-blocks-not-last {
border-bottom: 0;
}
.vf-radio-blocks.vf-radio-blocks-first {
border-radius: var(--vf-radius-large);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-first.vf-radio-blocks-first-sm {
border-radius: var(--vf-radius-large-sm);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-first.vf-radio-blocks-first-lg {
border-radius: var(--vf-radius-large-lg);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-last {
border-radius: var(--vf-radius-large);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-last.vf-radio-blocks-last-sm {
border-radius: var(--vf-radius-large-sm);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-last.vf-radio-blocks-last-lg {
border-radius: var(--vf-radius-large-lg);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.vf-radio-blocks.vf-radio-blocks-selected {
background-color: var(--vf-bg-selected);
}
.vf-radio-blocks.vf-radio-blocks-disabled {
opacity: 0.5;
}
.vf-radio-blocks.vf-radio-blocks-sm {
padding: var(--vf-py-group-blocks-sm) var(--vf-px-group-blocks-sm);
font-size: var(--vf-font-size-sm);
line-height: var(--vf-line-height-sm);
letter-spacing: var(--vf-letter-spacing-sm);
}
.vf-radio-blocks.vf-radio-blocks-lg {
padding: var(--vf-py-group-blocks-lg) var(--vf-px-group-blocks-lg);
font-size: var(--vf-font-size-lg);
line-height: var(--vf-line-height-lg);
letter-spacing: var(--vf-letter-spacing-lg);
}
.vf-radio-blocks-text-wrapper {
margin-left: 0.5rem;
}
.vf-radio-blocks-description {
color: var(--vf-color-muted);
font-size: var(--vf-font-size-small);
line-height: var(--vf-line-height-small);
letter-spacing: var(--vf-letter-spacing-small);
margin-top: -0.125rem;
}
.vf-radio-blocks-description.vf-radio-blocks-description-sm {
font-size: var(--vf-font-size-small-sm);
line-height: var(--vf-line-height-small-sm);
letter-spacing: var(--vf-letter-spacing-small-sm);
margin-top: -0.125rem;
}
.vf-radio-blocks-description.vf-radio-blocks-description-lg {
font-size: var(--vf-font-size-small-lg);
line-height: var(--vf-line-height-small-lg);
letter-spacing: var(--vf-letter-spacing-small-lg);
margin-top: -0.125rem;
}`;styleInject(css_248z$2);script$4.__file="themes/vueform/templates/elements/partials/RadiogroupRadio_blocks.vue";var script$3={name:"DatepickerWrapper",data(){return{merge:!0,defaultClasses:{datepicker:"",calendarContainer:""}}}};const _hoisted_1$1=["id","placeholder"];function render$1(a,i,u,c,d,m){return openBlock(),createElementBlock("input",mergeProps({type:"text",class:a.classes.datepicker,id:a.id,placeholder:a.placeholder},a.attrs,{ref:"input"}),null,16,_hoisted_1$1)}script$3.render=render$1;script$3.__file="themes/blank/templates/wrappers/DatepickerWrapper.vue";var script$2={name:"DatepickerWrapper",render:script$3.render,data(){return{merge:!0,defaultClasses:{datepicker:"",calendarContainer:"flatpickr-calendar-container"}}}},css_248z$1=`.flatpickr-wrapper {
width: 100%;
height: 100%;
}
.flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
box-sizing: border-box;
touch-action: manipulation;
box-shadow: 0 3px 13px rgba(0, 0, 0, 0.08);
color: var(--vf-color-input);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 999;
}
.flatpickr-calendar.animate.open {
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.rightMost {
left: auto;
right: 0;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
box-shadow: -2px 0 0 var(--vf-bg-selected), 5px 0 0 var(--vf-bg-selected);
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid var(--vf-border-color-input);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: "";
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
box-sizing: border-box;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
box-sizing: border-box;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: var(--vf-bg-date-head);
box-sizing: border-box;
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: var(--vf-bg-date-head);
box-sizing: border-box;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: var(--vf-bg-date-head);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: var(--vf-bg-date-head);
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: flex;
}
.flatpickr-months {
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: var(--vf-bg-date-head);
color: var(--vf-color-date-head);
fill: var(--vf-color-date-head);
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
overflow: hidden;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 1;
color: var(--vf-color-date-head);
fill: var(--vf-color-date-head);
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
left: 0;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
right: 0;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: var(--vf-color-date-head);
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
opacity: 1;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
opacity: 0.7;
display: block;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid var(--vf-border-color-input);
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: var(--vf-bg-selected);
}
.numInputWrapper span:active {
background: var(--vf-bg-selected);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid var(--vf-color-input);
top: 26%;
box-sizing: border-box;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid var(--vf-color-input);
top: 40%;
box-sizing: border-box;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: var(--vf-color-input);
}
.numInputWrapper:hover {
background: rgba(0, 0, 0, 0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0, 0, 0, 0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\\0 ;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: var(--vf-color-date-head);
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: var(--vf-color-date-head);
}
.flatpickr-current-month input.cur-year {
background: transparent;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: var(--vf-gray-300);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: var(--vf-bg-date-head);
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0, 0, 0, 0.1);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: var(--vf-bg-date-head);
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: var(--vf-bg-date-head);
text-align: center;
overflow: hidden;
width: 100%;
display: flex;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: flex;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: var(--vf-bg-date-head);
color: var(--vf-color-date-head);
line-height: 1;
margin: 0;
text-align: center;
display: block;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: flex;
align-items: flex-start;
width: 307.875px;
background-color: var(--vf-bg-input);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
box-sizing: border-box;
display: inline-block;
display: flex;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
justify-content: space-around;
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
box-shadow: -1px 0 0 var(--vf-gray-200);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
box-sizing: border-box;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 38px;
margin: 0;
display: inline-block;
position: relative;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: var(--vf-bg-selected);
border-color: var(--vf-bg-selected);
}
.flatpickr-day.today {
border-color: var(--vf-bg-selected);
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: var(--vf-bg-selected);
background: var(--vf-bg-selected);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: var(--vf-primary);
box-shadow: none;
color: #fff;
border-color: var(--vf-primary);
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
box-shadow: -10px 0 0 var(--vf-primary);
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
box-shadow: -5px 0 0 var(--vf-bg-selected), 5px 0 0 var(--vf-bg-selected);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: var(--vf-color-disabled);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: var(--vf-color-disabled);
}
.flatpickr-day.week.selected {
border-radius: 0;
box-shadow: -5px 0 0 var(--vf-primary), 5px 0 0 var(--vf-primary);
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: var(--vf-gray-300);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: flex;
box-sizing: border-box;
overflow: hidden;
background: var(--vf-bg-input);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
box-sizing: border-box;
overflow: hidden;
display: flex;
background: var(--vf-bg-input);
border-radius: 0 0 5px 5px;
color: var(--vf-color-input);
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: var(--vf-color-input);
box-sizing: border-box;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: var(--vf-color-input);
box-sizing: border-box;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
font-size: 14px;
position: relative;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
color: var(--vf-color-input);
background: var(--vf-bg-input);
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
align-self: center;
background: var(--vf-bg-input);
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: var(--vf-bg-selected);
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@keyframes fpFadeInDown {
from {
opacity: 0;
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
span.flatpickr-day.selected {
font-weight: bold;
}`;styleInject(css_248z$1);script$2.__file="themes/vueform/templates/wrappers/DatepickerWrapper.vue";var trix={exports:{}};(function(a){(function(){}).call(commonjsGlobal),(function(){window.Set==null&&(window.Set=function(){function i(){this.clear()}return i.prototype.clear=function(){return this.values=[]},i.prototype.has=function(u){return this.values.indexOf(u)!==-1},i.prototype.add=function(u){return this.has(u)||this.values.push(u),this},i.prototype.delete=function(u){var c;return(c=this.values.indexOf(u))===-1?!1:(this.values.splice(c,1),!0)},i.prototype.forEach=function(){var u;return(u=this.values).forEach.apply(u,arguments)},i}())}).call(commonjsGlobal),function(i){function u(){}function c(S,C){return function(){S.apply(C,arguments)}}function d(S){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");if(typeof S!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],b(S,this)}function m(S,C){for(;S._state===3;)S=S._value;return S._state===0?void S._deferreds.push(C):(S._handled=!0,void k(function(){var E=S._state===1?C.onFulfilled:C.onRejected;if(E===null)return void(S._state===1?f:v)(C.promise,S._value);var D;try{D=E(S._value)}catch(A){return void v(C.promise,A)}f(C.promise,D)}))}function f(S,C){try{if(C===S)throw new TypeError("A promise cannot be resolved with itself.");if(C&&(typeof C=="object"||typeof C=="function")){var E=C.then;if(C instanceof d)return S._state=3,S._value=C,void g(S);if(typeof E=="function")return void b(c(E,C),S)}S._state=1,S._value=C,g(S)}catch(D){v(S,D)}}function v(S,C){S._state=2,S._value=C,g(S)}function g(S){S._state===2&&S._deferreds.length===0&&setTimeout(function(){S._handled||$(S._value)},1);for(var C=0,E=S._deferreds.length;E>C;C++)m(S,S._deferreds[C]);S._deferreds=null}function y(S,C,E){this.onFulfilled=typeof S=="function"?S:null,this.onRejected=typeof C=="function"?C:null,this.promise=E}function b(S,C){var E=!1;try{S(function(D){E||(E=!0,f(C,D))},function(D){E||(E=!0,v(C,D))})}catch(D){if(E)return;E=!0,v(C,D)}}var w=setTimeout,k=typeof setImmediate=="function"&&setImmediate||function(S){w(S,1)},$=function(S){typeof console<"u"&&console&&console.warn("Possible Unhandled Promise Rejection:",S)};d.prototype.catch=function(S){return this.then(null,S)},d.prototype.then=function(S,C){var E=new d(u);return m(this,new y(S,C,E)),E},d.all=function(S){var C=Array.prototype.slice.call(S);return new d(function(E,D){function A(B,I){try{if(I&&(typeof I=="object"||typeof I=="function")){var M=I.then;if(typeof M=="function")return void M.call(I,function(z){A(B,z)},D)}C[B]=I,--O===0&&E(C)}catch(z){D(z)}}if(C.length===0)return E([]);for(var O=C.length,F=0;F<C.length;F++)A(F,C[F])})},d.resolve=function(S){return S&&typeof S=="object"&&S.constructor===d?S:new d(function(C){C(S)})},d.reject=function(S){return new d(function(C,E){E(S)})},d.race=function(S){return new d(function(C,E){for(var D=0,A=S.length;A>D;D++)S[D].then(C,E)})},d._setImmediateFn=function(S){k=S},d._setUnhandledRejectionFn=function(S){$=S},a.exports?a.exports=d:i.Promise||(i.Promise=d)}(commonjsGlobal),(function(){var i=typeof window.customElements=="object",u=typeof document.registerElement=="function",c=i||u;c||(typeof WeakMap>"u"&&function(){var d=Object.defineProperty,m=Date.now()%1e9,f=function(){this.name="__st"+(1e9*Math.random()>>>0)+(m+++"__")};f.prototype={set:function(v,g){var y=v[this.name];return y&&y[0]===v?y[1]=g:d(v,this.name,{value:[v,g],writable:!0}),this},get:function(v){var g;return(g=v[this.name])&&g[0]===v?g[1]:void 0},delete:function(v){var g=v[this.name];return g&&g[0]===v?(g[0]=g[1]=void 0,!0):!1},has:function(v){var g=v[this.name];return g?g[0]===v:!1}},window.WeakMap=f}(),function(d){function m(j){z.push(j),M||(M=!0,O(v))}function f(j){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(j)||j}function v(){M=!1;var j=z;z=[],j.sort(function(G,J){return G.uid_-J.uid_});var ee=!1;j.forEach(function(G){var J=G.takeRecords();g(G),J.length&&(G.callback_(J,G),ee=!0)}),ee&&v()}function g(j){j.nodes_.forEach(function(ee){var G=F.get(ee);G&&G.forEach(function(J){J.observer===j&&J.removeTransientObservers()})})}function y(j,ee){for(var G=j;G;G=G.parentNode){var J=F.get(G);if(J)for(var te=0;te<J.length;te++){var re=J[te],ae=re.options;if(G===j||ae.subtree){var ye=ee(ae);ye&&re.enqueue(ye)}}}}function b(j){this.callback_=j,this.nodes_=[],this.records_=[],this.uid_=++q}function w(j,ee){this.type=j,this.target=ee,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function k(j){var ee=new w(j.type,j.target);return ee.addedNodes=j.addedNodes.slice(),ee.removedNodes=j.removedNodes.slice(),ee.previousSibling=j.previousSibling,ee.nextSibling=j.nextSibling,ee.attributeName=j.attributeName,ee.attributeNamespace=j.attributeNamespace,ee.oldValue=j.oldValue,ee}function $(j,ee){return H=new w(j,ee)}function S(j){return Q||(Q=k(H),Q.oldValue=j,Q)}function C(){H=Q=void 0}function E(j){return j===Q||j===H}function D(j,ee){return j===ee?j:Q&&E(j)?Q:null}function A(j,ee,G){this.observer=j,this.target=ee,this.options=G,this.transientObservedNodes=[]}if(!d.JsMutationObserver){var O,F=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))O=setTimeout;else if(window.setImmediate)O=window.setImmediate;else{var B=[],I=String(Math.random());window.addEventListener("message",function(j){if(j.data===I){var ee=B;B=[],ee.forEach(function(G){G()})}}),O=function(j){B.push(j),window.postMessage(I,"*")}}var M=!1,z=[],q=0;b.prototype={observe:function(j,ee){if(j=f(j),!ee.childList&&!ee.attributes&&!ee.characterData||ee.attributeOldValue&&!ee.attributes||ee.attributeFilter&&ee.attributeFilter.length&&!ee.attributes||ee.characterDataOldValue&&!ee.characterData)throw new SyntaxError;var G=F.get(j);G||F.set(j,G=[]);for(var J,te=0;te<G.length;te++)if(G[te].observer===this){J=G[te],J.removeListeners(),J.options=ee;break}J||(J=new A(this,j,ee),G.push(J),this.nodes_.push(j)),J.addListeners()},disconnect:function(){this.nodes_.forEach(function(j){for(var ee=F.get(j),G=0;G<ee.length;G++){var J=ee[G];if(J.observer===this){J.removeListeners(),ee.splice(G,1);break}}},this),this.records_=[]},takeRecords:function(){var j=this.records_;return this.records_=[],j}};var H,Q;A.prototype={enqueue:function(j){var ee=this.observer.records_,G=ee.length;if(ee.length>0){var J=ee[G-1],te=D(J,j);if(te)return void(ee[G-1]=te)}else m(this.observer);ee[G]=j},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(j){var ee=this.options;ee.attributes&&j.addEventListener("DOMAttrModified",this,!0),ee.characterData&&j.addEventListener("DOMCharacterDataModified",this,!0),ee.childList&&j.addEventListener("DOMNodeInserted",this,!0),(ee.childList||ee.subtree)&&j.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(j){var ee=this.options;ee.attributes&&j.removeEventListener("DOMAttrModified",this,!0),ee.characterData&&j.removeEventListener("DOMCharacterDataModified",this,!0),ee.childList&&j.removeEventListener("DOMNodeInserted",this,!0),(ee.childList||ee.subtree)&&j.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(j){if(j!==this.target){this.addListeners_(j),this.transientObservedNodes.push(j);var ee=F.get(j);ee||F.set(j,ee=[]),ee.push(this)}},removeTransientObservers:function(){var j=this.transientObservedNodes;this.transientObservedNodes=[],j.forEach(function(ee){this.removeListeners_(ee);for(var G=F.get(ee),J=0;J<G.length;J++)if(G[J]===this){G.splice(J,1);break}},this)},handleEvent:function(j){switch(j.stopImmediatePropagation(),j.type){case"DOMAttrModified":var ee=j.attrName,G=j.relatedNode.namespaceURI,J=j.target,Se=new $("attributes",J);Se.attributeName=ee,Se.attributeNamespace=G;var te=j.attrChange===MutationEvent.ADDITION?null:j.prevValue;y(J,function(De){return!De.attributes||De.attributeFilter&&De.attributeFilter.length&&De.attributeFilter.indexOf(ee)===-1&&De.attributeFilter.indexOf(G)===-1?void 0:De.attributeOldValue?S(te):Se});break;case"DOMCharacterDataModified":var J=j.target,Se=$("characterData",J),te=j.prevValue;y(J,function(De){return De.characterData?De.characterDataOldValue?S(te):Se:void 0});break;case"DOMNodeRemoved":this.addTransientObserver(j.target);case"DOMNodeInserted":var re,ae,ye=j.target;j.type==="DOMNodeInserted"?(re=[ye],ae=[]):(re=[],ae=[ye]);var ve=ye.previousSibling,le=ye.nextSibling,Se=$("childList",j.target.parentNode);Se.addedNodes=re,Se.removedNodes=ae,Se.previousSibling=ve,Se.nextSibling=le,y(j.relatedNode,function(De){return De.childList?Se:void 0})}C()}},d.JsMutationObserver=b,d.MutationObserver||(d.MutationObserver=b,b._isPolyfilled=!0)}}(self),function(){if(!window.performance||!window.performance.now){var d=Date.now();window.performance={now:function(){return Date.now()-d}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var y=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return y?function(b){return y(function(){b(performance.now())})}:function(b){return window.setTimeout(b,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(y){clearTimeout(y)}}());var m=function(){var y=document.createEvent("Event");return y.initEvent("foo",!0,!0),y.preventDefault(),y.defaultPrevented}();if(!m){var f=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(f.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var v=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||v&&typeof window.CustomEvent!="function")&&(window.CustomEvent=function(y,b){b=b||{};var w=document.createEvent("CustomEvent");return w.initCustomEvent(y,!!b.bubbles,!!b.cancelable,b.detail),w},window.CustomEvent.prototype=window.Event.prototype),!window.Event||v&&typeof window.Event!="function"){var g=window.Event;window.Event=function(y,b){b=b||{};var w=document.createEvent("Event");return w.initEvent(y,!!b.bubbles,!!b.cancelable),w},window.Event.prototype=g.prototype}}(),window.CustomElements=window.CustomElements||{flags:{}},function(d){var m=d.flags,f=[],v=function(y){f.push(y)},g=function(){f.forEach(function(y){y(d)})};d.addModule=v,d.initializeModules=g,d.hasNative=!!document.registerElement,d.isIE=/Trident/.test(navigator.userAgent),d.useNative=!m.register&&d.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule(function(d){function m(w,k){f(w,function($){return k($)?!0:void v($,k)}),v(w,k)}function f(w,k,$){var S=w.firstElementChild;if(!S)for(S=w.firstChild;S&&S.nodeType!==Node.ELEMENT_NODE;)S=S.nextSibling;for(;S;)k(S,$)!==!0&&f(S,k,$),S=S.nextElementSibling;return null}function v(w,k){for(var $=w.shadowRoot;$;)m($,k),$=$.olderShadowRoot}function g(w,k){y(w,k,[])}function y(w,k,$){if(w=window.wrap(w),!($.indexOf(w)>=0)){$.push(w);for(var S,C=w.querySelectorAll("link[rel="+b+"]"),E=0,D=C.length;D>E&&(S=C[E]);E++)S.import&&y(S.import,k,$);k(w)}}var b=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";d.forDocumentTree=g,d.forSubtree=m}),window.CustomElements.addModule(function(d){function m(G,J){return f(G,J)||v(G,J)}function f(G,J){return d.upgrade(G,J)?!0:void(J&&b(G))}function v(G,J){M(G,function(te){return f(te,J)?!0:void 0})}function g(G){Q.push(G),H||(H=!0,setTimeout(y))}function y(){H=!1;for(var G,J=Q,te=0,re=J.length;re>te&&(G=J[te]);te++)G();Q=[]}function b(G){q?g(function(){w(G)}):w(G)}function w(G){G.__upgraded__&&!G.__attached&&(G.__attached=!0,G.attachedCallback&&G.attachedCallback())}function k(G){$(G),M(G,function(J){$(J)})}function $(G){q?g(function(){S(G)}):S(G)}function S(G){G.__upgraded__&&G.__attached&&(G.__attached=!1,G.detachedCallback&&G.detachedCallback())}function C(G){for(var J=G,te=window.wrap(document);J;){if(J==te)return!0;J=J.parentNode||J.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&J.host}}function E(G){if(G.shadowRoot&&!G.shadowRoot.__watched){I.dom&&console.log("watching shadow-root for: ",G.localName);for(var J=G.shadowRoot;J;)O(J),J=J.olderShadowRoot}}function D(G,J){if(I.dom){var te=J[0];if(te&&te.type==="childList"&&te.addedNodes&&te.addedNodes){for(var re=te.addedNodes[0];re&&re!==document&&!re.host;)re=re.parentNode;var ae=re&&(re.URL||re._URL||re.host&&re.host.localName)||"";ae=ae.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",J.length,ae||"")}var ye=C(G);J.forEach(function(ve){ve.type==="childList"&&(j(ve.addedNodes,function(le){le.localName&&m(le,ye)}),j(ve.removedNodes,function(le){le.localName&&k(le)}))}),I.dom&&console.groupEnd()}function A(G){for(G=window.wrap(G),G||(G=window.wrap(document));G.parentNode;)G=G.parentNode;var J=G.__observer;J&&(D(G,J.takeRecords()),y())}function O(G){if(!G.__observer){var J=new MutationObserver(D.bind(this,G));J.observe(G,{childList:!0,subtree:!0}),G.__observer=J}}function F(G){G=window.wrap(G),I.dom&&console.group("upgradeDocument: ",G.baseURI.split("/").pop());var J=G===window.wrap(document);m(G,J),O(G),I.dom&&console.groupEnd()}function B(G){z(G,F)}var I=d.flags,M=d.forSubtree,z=d.forDocumentTree,q=window.MutationObserver._isPolyfilled&&I["throttle-attached"];d.hasPolyfillMutations=q,d.hasThrottledAttached=q;var H=!1,Q=[],j=Array.prototype.forEach.call.bind(Array.prototype.forEach),ee=Element.prototype.createShadowRoot;ee&&(Element.prototype.createShadowRoot=function(){var G=ee.call(this);return window.CustomElements.watchShadow(this),G}),d.watchShadow=E,d.upgradeDocumentTree=B,d.upgradeDocument=F,d.upgradeSubtree=v,d.upgradeAll=m,d.attached=b,d.takeRecords=A}),window.CustomElements.addModule(function(d){function m(w,k){if(w.localName==="template"&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(w),!w.__upgraded__&&w.nodeType===Node.ELEMENT_NODE){var $=w.getAttribute("is"),S=d.getRegisteredDefinition(w.localName)||d.getRegisteredDefinition($);if(S&&($&&S.tag==w.localName||!$&&!S.extends))return f(w,S,k)}}function f(w,k,$){return b.upgrade&&console.group("upgrade:",w.localName),k.is&&w.setAttribute("is",k.is),v(w,k),w.__upgraded__=!0,y(w),$&&d.attached(w),d.upgradeSubtree(w,$),b.upgrade&&console.groupEnd(),w}function v(w,k){Object.__proto__||g(w,k.prototype,k.native),w.__proto__=k.prototype}function g(w,k,$){for(var S={},C=k;C!==$&&C!==HTMLElement.prototype;){for(var E,D=Object.getOwnPropertyNames(C),A=0;E=D[A];A++)S[E]||(Object.defineProperty(w,E,Object.getOwnPropertyDescriptor(C,E)),S[E]=1);C=Object.getPrototypeOf(C)}}function y(w){w.createdCallback&&w.createdCallback()}var b=d.flags;d.upgrade=m,d.upgradeWithDefinition=f,d.implementPrototype=v}),window.CustomElements.addModule(function(d){function m(G,J){var te=J||{};if(!G)throw new Error("document.registerElement: first argument `name` must not be empty");if(G.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(G)+"'.");if(g(G))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(G)+"'. The type name is invalid.");if($(G))throw new Error("DuplicateDefinitionError: a type with name '"+String(G)+"' is already registered");return te.prototype||(te.prototype=Object.create(HTMLElement.prototype)),te.__name=G.toLowerCase(),te.extends&&(te.extends=te.extends.toLowerCase()),te.lifecycle=te.lifecycle||{},te.ancestry=y(te.extends),b(te),w(te),f(te.prototype),S(te.__name,te),te.ctor=C(te),te.ctor.prototype=te.prototype,te.prototype.constructor=te.ctor,d.ready&&F(document),te.ctor}function f(G){if(!G.setAttribute._polyfilled){var J=G.setAttribute;G.setAttribute=function(re,ae){v.call(this,re,ae,J)};var te=G.removeAttribute;G.removeAttribute=function(re){v.call(this,re,null,te)},G.setAttribute._polyfilled=!0}}function v(G,J,te){G=G.toLowerCase();var re=this.getAttribute(G);te.apply(this,arguments);var ae=this.getAttribute(G);this.attributeChangedCallback&&ae!==re&&this.attributeChangedCallback(G,re,ae)}function g(G){for(var J=0;J<q.length;J++)if(G===q[J])return!0}function y(G){var J=$(G);return J?y(J.extends).concat([J]):[]}function b(G){for(var J,te=G.extends,re=0;J=G.ancestry[re];re++)te=J.is&&J.tag;G.tag=te||G.__name,te&&(G.is=G.__name)}function w(G){if(!Object.__proto__){var J=HTMLElement.prototype;if(G.is){var te=document.createElement(G.tag);J=Object.getPrototypeOf(te)}for(var re,ae=G.prototype,ye=!1;ae;)ae==J&&(ye=!0),re=Object.getPrototypeOf(ae),re&&(ae.__proto__=re),ae=re;ye||console.warn(G.tag+" prototype not found in prototype chain for "+G.is),G.native=J}}function k(G){return I(j(G.tag),G)}function $(G){return G?H[G.toLowerCase()]:void 0}function S(G,J){H[G]=J}function C(G){return function(){return k(G)}}function E(G,J,te){return G===Q?D(J,te):ee(G,J)}function D(G,J){G&&(G=G.toLowerCase()),J&&(J=J.toLowerCase());var te=$(J||G);if(te){if(G==te.tag&&J==te.is)return new te.ctor;if(!J&&!te.is)return new te.ctor}var re;return J?(re=D(G),re.setAttribute("is",J),re):(re=j(G),G.indexOf("-")>=0&&M(re,HTMLElement),re)}function A(G,J){var te=G[J];G[J]=function(){var re=te.apply(this,arguments);return B(re),re}}var O,F=(d.isIE,d.upgradeDocumentTree),B=d.upgradeAll,I=d.upgradeWithDefinition,M=d.implementPrototype,z=d.useNative,q=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],H={},Q="http://www.w3.org/1999/xhtml",j=document.createElement.bind(document),ee=document.createElementNS.bind(document);O=Object.__proto__||z?function(G,J){return G instanceof J}:function(G,J){if(G instanceof J)return!0;for(var te=G;te;){if(te===J.prototype)return!0;te=te.__proto__}return!1},A(Node.prototype,"cloneNode"),A(document,"importNode"),document.registerElement=m,document.createElement=D,document.createElementNS=E,d.registry=H,d.instanceof=O,d.reservedTagList=q,d.getRegisteredDefinition=$,document.register=document.registerElement}),function(d){function m(){y(window.wrap(document)),window.CustomElements.ready=!0;var k=window.requestAnimationFrame||function($){setTimeout($,16)};k(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var f=d.useNative,v=d.initializeModules;if(d.isIE,f){var g=function(){};d.watchShadow=g,d.upgrade=g,d.upgradeAll=g,d.upgradeDocumentTree=g,d.upgradeSubtree=g,d.takeRecords=g,d.instanceof=function(k,$){return k instanceof $}}else v();var y=d.upgradeDocumentTree,b=d.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(k){return k}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(k){k.import&&b(wrap(k.import))}),document.readyState==="complete"||d.flags.eager)m();else if(document.readyState!=="interactive"||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var w=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(w,m)}else m()}(window.CustomElements))}).call(commonjsGlobal),(function(){}).call(commonjsGlobal),(function(){var i=this;(function(){(function(){this.Trix={VERSION:"1.3.1",ZERO_WIDTH_SPACE:"\uFEFF",NON_BREAKING_SPACE:" ",OBJECT_REPLACEMENT_CHARACTER:"",browser:{composesExistingText:/Android.*Chrome/.test(navigator.userAgent),forcesObjectResizing:/Trident.*rv:11/.test(navigator.userAgent),supportsInputEvents:function(){var c,d,m,f;if(typeof InputEvent>"u")return!1;for(f=["data","getTargetRanges","inputType"],c=0,d=f.length;d>c;c++)if(m=f[c],!(m in InputEvent.prototype))return!1;return!0}()},config:{}}}).call(this)}).call(i);var u=i.Trix;(function(){(function(){u.BasicObject=function(){function c(){}var d,m,f;return c.proxyMethod=function(v){var g,y,b,w,k;return b=m(v),g=b.name,w=b.toMethod,k=b.toProperty,y=b.optional,this.prototype[g]=function(){var $,S;return $=w!=null?y?typeof this[w]=="function"?this[w]():void 0:this[w]():k!=null?this[k]:void 0,y?(S=$!=null?$[g]:void 0,S!=null?d.call(S,$,arguments):void 0):(S=$[g],d.call(S,$,arguments))}},m=function(v){var g,y;if(!(y=v.match(f)))throw new Error("can't parse @proxyMethod expression: "+v);return g={name:y[4]},y[2]!=null?g.toMethod=y[1]:g.toProperty=y[1],y[3]!=null&&(g.optional=!0),g},d=Function.prototype.apply,f=/^(.+?)(\(\))?(\?)?\.(.+?)$/,c}()}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Object=function(m){function f(){this.id=++v}var v;return c(f,m),v=0,f.fromJSONString=function(g){return this.fromJSON(JSON.parse(g))},f.prototype.hasSameConstructorAs=function(g){return this.constructor===(g!=null?g.constructor:void 0)},f.prototype.isEqualTo=function(g){return this===g},f.prototype.inspect=function(){var g,y,b;return g=(function(){var w,k,$;k=(w=this.contentsForInspection())!=null?w:{},$=[];for(y in k)b=k[y],$.push(y+"="+b);return $}).call(this),"#<"+this.constructor.name+":"+this.id+(g.length?" "+g.join(", "):"")+">"},f.prototype.contentsForInspection=function(){},f.prototype.toJSONString=function(){return JSON.stringify(this)},f.prototype.toUTF16String=function(){return u.UTF16String.box(this)},f.prototype.getCacheKey=function(){return this.id.toString()},f}(u.BasicObject)}).call(this),(function(){u.extend=function(c){var d,m;for(d in c)m=c[d],this[d]=m;return this}}).call(this),(function(){u.extend({defer:function(c){return setTimeout(c,1)}})}).call(this),(function(){var c,d;u.extend({normalizeSpaces:function(m){return m.replace(RegExp(""+u.ZERO_WIDTH_SPACE,"g"),"").replace(RegExp(""+u.NON_BREAKING_SPACE,"g")," ")},normalizeNewlines:function(m){return m.replace(/\r\n/g,`
`)},breakableWhitespacePattern:RegExp("[^\\S"+u.NON_BREAKING_SPACE+"]"),squishBreakableWhitespace:function(m){return m.replace(RegExp(""+u.breakableWhitespacePattern.source,"g")," ").replace(/\ {2,}/g," ")},summarizeStringChange:function(m,f){var v,g,y,b;return m=u.UTF16String.box(m),f=u.UTF16String.box(f),f.length<m.length?(g=d(m,f),b=g[0],v=g[1]):(y=d(f,m),v=y[0],b=y[1]),{added:v,removed:b}}}),d=function(m,f){var v,g,y,b,w;return m.isEqualTo(f)?["",""]:(g=c(m,f),b=g.utf16String.length,y=b?(w=g.offset,v=m.codepoints.slice(0,w).concat(m.codepoints.slice(w+b)),c(f,u.UTF16String.fromCodepoints(v))):c(f,m),[g.utf16String.toString(),y.utf16String.toString()])},c=function(m,f){var v,g,y;for(v=0,g=m.length,y=f.length;g>v&&m.charAt(v).isEqualTo(f.charAt(v));)v++;for(;g>v+1&&m.charAt(g-1).isEqualTo(f.charAt(y-1));)g--,y--;return{utf16String:m.slice(v,g),offset:v}}}).call(this),(function(){u.extend({copyObject:function(c){var d,m,f;c==null&&(c={}),m={};for(d in c)f=c[d],m[d]=f;return m},objectsAreEqual:function(c,d){var m,f;if(c==null&&(c={}),d==null&&(d={}),Object.keys(c).length!==Object.keys(d).length)return!1;for(m in c)if(f=c[m],f!==d[m])return!1;return!0}})}).call(this),(function(){var c=[].slice;u.extend({arraysAreEqual:function(d,m){var f,v,g,y;if(d==null&&(d=[]),m==null&&(m=[]),d.length!==m.length)return!1;for(v=f=0,g=d.length;g>f;v=++f)if(y=d[v],y!==m[v])return!1;return!0},arrayStartsWith:function(d,m){return d==null&&(d=[]),m==null&&(m=[]),u.arraysAreEqual(d.slice(0,m.length),m)},spliceArray:function(){var d,m,f;return m=arguments[0],d=2<=arguments.length?c.call(arguments,1):[],f=m.slice(0),f.splice.apply(f,d),f},summarizeArrayChange:function(d,m){var f,v,g,y,b,w,k,$,S,C,E;for(d==null&&(d=[]),m==null&&(m=[]),f=[],C=[],g=new Set,y=0,k=d.length;k>y;y++)E=d[y],g.add(E);for(v=new Set,b=0,$=m.length;$>b;b++)E=m[b],v.add(E),g.has(E)||f.push(E);for(w=0,S=d.length;S>w;w++)E=d[w],v.has(E)||C.push(E);return{added:f,removed:C}}})}).call(this),(function(){var c,d,m,f;c=null,d=null,f=null,m=null,u.extend({getAllAttributeNames:function(){return c??(c=u.getTextAttributeNames().concat(u.getBlockAttributeNames()))},getBlockConfig:function(v){return u.config.blockAttributes[v]},getBlockAttributeNames:function(){return d??(d=Object.keys(u.config.blockAttributes))},getTextConfig:function(v){return u.config.textAttributes[v]},getTextAttributeNames:function(){return f??(f=Object.keys(u.config.textAttributes))},getListAttributeNames:function(){var v,g;return m??(m=function(){var y,b;y=u.config.blockAttributes,b=[];for(v in y)g=y[v].listAttribute,g!=null&&b.push(g);return b}())}})}).call(this),(function(){var c,d,m,f,v,g=[].indexOf||function(y){for(var b=0,w=this.length;w>b;b++)if(b in this&&this[b]===y)return b;return-1};c=document.documentElement,d=(m=(f=(v=c.matchesSelector)!=null?v:c.webkitMatchesSelector)!=null?f:c.msMatchesSelector)!=null?m:c.mozMatchesSelector,u.extend({handleEvent:function(y,b){var w,k,$,S,C,E,D,A,O,F,B;return D=b??{},C=D.onElement,S=D.matchingSelector,B=D.withCallback,$=D.inPhase,E=D.preventDefault,O=D.times,w=C??c,A=S,F=$==="capturing",k=function(I){var M;return O!=null&&--O===0&&k.destroy(),M=u.findClosestElementFromNode(I.target,{matchingSelector:A}),M!=null&&(B!=null&&B.call(M,I,M),E)?I.preventDefault():void 0},k.destroy=function(){return w.removeEventListener(y,k,F)},w.addEventListener(y,k,F),k},handleEventOnce:function(y,b){return b==null&&(b={}),b.times=1,u.handleEvent(y,b)},triggerEvent:function(y,b){var w,k,$,S,C,E,D;return D=b??{},E=D.onElement,k=D.bubbles,$=D.cancelable,w=D.attributes,S=E??c,k=k!==!1,$=$!==!1,C=document.createEvent("Events"),C.initEvent(y,k,$),w!=null&&u.extend.call(C,w),S.dispatchEvent(C)},elementMatchesSelector:function(y,b){return(y!=null?y.nodeType:void 0)===1?d.call(y,b):void 0},findClosestElementFromNode:function(y,b){var w,k,$;for(k=b??{},w=k.matchingSelector,$=k.untilNode;y!=null&&y.nodeType!==Node.ELEMENT_NODE;)y=y.parentNode;if(y!=null){if(w==null)return y;if(y.closest&&$==null)return y.closest(w);for(;y&&y!==$;){if(u.elementMatchesSelector(y,w))return y;y=y.parentNode}}},findInnerElement:function(y){for(;y!=null&&y.firstElementChild;)y=y.firstElementChild;return y},innerElementIsActive:function(y){return document.activeElement!==y&&u.elementContainsNode(y,document.activeElement)},elementContainsNode:function(y,b){if(y&&b)for(;b;){if(b===y)return!0;b=b.parentNode}},findNodeFromContainerAndOffset:function(y,b){var w;if(y)return y.nodeType===Node.TEXT_NODE?y:b===0?(w=y.firstChild)!=null?w:y:y.childNodes.item(b-1)},findElementFromContainerAndOffset:function(y,b){var w;return w=u.findNodeFromContainerAndOffset(y,b),u.findClosestElementFromNode(w)},findChildIndexOfNode:function(y){var b;if(y!=null&&y.parentNode){for(b=0;y=y.previousSibling;)b++;return b}},removeNode:function(y){var b;return y!=null&&(b=y.parentNode)!=null?b.removeChild(y):void 0},walkTree:function(y,b){var w,k,$,S,C;return $=b??{},k=$.onlyNodesOfType,S=$.usingFilter,w=$.expandEntityReferences,C=function(){switch(k){case"element":return NodeFilter.SHOW_ELEMENT;case"text":return NodeFilter.SHOW_TEXT;case"comment":return NodeFilter.SHOW_COMMENT;default:return NodeFilter.SHOW_ALL}}(),document.createTreeWalker(y,C,S??null,w===!0)},tagName:function(y){var b;return y!=null&&(b=y.tagName)!=null?b.toLowerCase():void 0},makeElement:function(y,b){var w,k,$,S,C,E,D,A,O,F,B,I,M,z;if(b==null&&(b={}),typeof y=="object"?(b=y,y=b.tagName):b={attributes:b},$=document.createElement(y),b.editable!=null&&(b.attributes==null&&(b.attributes={}),b.attributes.contenteditable=b.editable),b.attributes){O=b.attributes;for(E in O)z=O[E],$.setAttribute(E,z)}if(b.style){F=b.style;for(E in F)z=F[E],$.style[E]=z}if(b.data){B=b.data;for(E in B)z=B[E],$.dataset[E]=z}if(b.className)for(I=b.className.split(" "),S=0,D=I.length;D>S;S++)k=I[S],$.classList.add(k);if(b.textContent&&($.textContent=b.textContent),b.childNodes)for(M=[].concat(b.childNodes),C=0,A=M.length;A>C;C++)w=M[C],$.appendChild(w);return $},getBlockTagNames:function(){var y,b;return u.blockTagNames!=null?u.blockTagNames:u.blockTagNames=function(){var w,k;w=u.config.blockAttributes,k=[];for(y in w)b=w[y].tagName,b&&k.push(b);return k}()},nodeIsBlockContainer:function(y){return u.nodeIsBlockStartComment(y!=null?y.firstChild:void 0)},nodeProbablyIsBlockContainer:function(y){var b,w;return b=u.tagName(y),g.call(u.getBlockTagNames(),b)>=0&&(w=u.tagName(y.firstChild),g.call(u.getBlockTagNames(),w)<0)},nodeIsBlockStart:function(y,b){var w;return w=(b??{strict:!0}).strict,w?u.nodeIsBlockStartComment(y):u.nodeIsBlockStartComment(y)||!u.nodeIsBlockStartComment(y.firstChild)&&u.nodeProbablyIsBlockContainer(y)},nodeIsBlockStartComment:function(y){return u.nodeIsCommentNode(y)&&(y!=null?y.data:void 0)==="block"},nodeIsCommentNode:function(y){return(y!=null?y.nodeType:void 0)===Node.COMMENT_NODE},nodeIsCursorTarget:function(y,b){var w;return w=(b??{}).name,y?u.nodeIsTextNode(y)?y.data===u.ZERO_WIDTH_SPACE?w?y.parentNode.dataset.trixCursorTarget===w:!0:void 0:u.nodeIsCursorTarget(y.firstChild):void 0},nodeIsAttachmentElement:function(y){return u.elementMatchesSelector(y,u.AttachmentView.attachmentSelector)},nodeIsEmptyTextNode:function(y){return u.nodeIsTextNode(y)&&(y!=null?y.data:void 0)===""},nodeIsTextNode:function(y){return(y!=null?y.nodeType:void 0)===Node.TEXT_NODE}})}).call(this),(function(){var c,d,m,f,v;c=u.copyObject,f=u.objectsAreEqual,u.extend({normalizeRange:m=function(g){var y;if(g!=null)return Array.isArray(g)||(g=[g,g]),[d(g[0]),d((y=g[1])!=null?y:g[0])]},rangeIsCollapsed:function(g){var y,b,w;if(g!=null)return b=m(g),w=b[0],y=b[1],v(w,y)},rangesAreEqual:function(g,y){var b,w,k,$,S,C;if(g!=null&&y!=null)return k=m(g),w=k[0],b=k[1],$=m(y),C=$[0],S=$[1],v(w,C)&&v(b,S)}}),d=function(g){return typeof g=="number"?g:c(g)},v=function(g,y){return typeof g=="number"?g===y:f(g,y)}}).call(this),(function(){var c,d,m,f,v,g,y;u.registerElement=function(b,w){var k,$;return w==null&&(w={}),b=b.toLowerCase(),w=y(w),$=g(w),(k=$.defaultCSS)&&(delete $.defaultCSS,f(k,b)),v(b,$)},f=function(b,w){var k;return k=m(w),k.textContent=b.replace(/%t/g,w)},m=function(b){var w,k;return w=document.createElement("style"),w.setAttribute("type","text/css"),w.setAttribute("data-tag-name",b.toLowerCase()),(k=c())&&w.setAttribute("nonce",k),document.head.insertBefore(w,document.head.firstChild),w},c=function(){var b;return(b=d("trix-csp-nonce")||d("csp-nonce"))?b.getAttribute("content"):void 0},d=function(b){return document.head.querySelector("meta[name="+b+"]")},g=function(b){var w,k,$;k={};for(w in b)$=b[w],k[w]=typeof $=="function"?{value:$}:$;return k},y=function(){var b;return b=function(w){var k,$,S,C,E;for(k={},E=["initialize","connect","disconnect"],$=0,C=E.length;C>$;$++)S=E[$],k[S]=w[S],delete w[S];return k},window.customElements?function(w){var k,$,S,C,E;return E=b(w),S=E.initialize,k=E.connect,$=E.disconnect,S&&(C=k,k=function(){return this.initialized||(this.initialized=!0,S.call(this)),C!=null?C.call(this):void 0}),k&&(w.connectedCallback=k),$&&(w.disconnectedCallback=$),w}:function(w){var k,$,S,C;return C=b(w),S=C.initialize,k=C.connect,$=C.disconnect,S&&(w.createdCallback=S),k&&(w.attachedCallback=k),$&&(w.detachedCallback=$),w}}(),v=function(){return window.customElements?function(b,w){var k;return k=function(){return typeof Reflect=="object"?Reflect.construct(HTMLElement,[],k):HTMLElement.apply(this)},Object.setPrototypeOf(k.prototype,HTMLElement.prototype),Object.setPrototypeOf(k,HTMLElement),Object.defineProperties(k.prototype,w),window.customElements.define(b,k),k}:function(b,w){var k,$;return $=Object.create(HTMLElement.prototype,w),k=document.registerElement(b,{prototype:$}),Object.defineProperty($,"constructor",{value:k}),k}}()}).call(this),(function(){var c,d;u.extend({getDOMSelection:function(){var m;return m=window.getSelection(),m.rangeCount>0?m:void 0},getDOMRange:function(){var m,f;return(m=(f=u.getDOMSelection())!=null?f.getRangeAt(0):void 0)&&!c(m)?m:void 0},setDOMRange:function(m){var f;return f=window.getSelection(),f.removeAllRanges(),f.addRange(m),u.selectionChangeObserver.update()}}),c=function(m){return d(m.startContainer)||d(m.endContainer)},d=function(m){return!Object.getPrototypeOf(m)}}).call(this),(function(){var c;c={"application/x-trix-feature-detection":"test"},u.extend({dataTransferIsPlainText:function(d){var m,f,v;return v=d.getData("text/plain"),f=d.getData("text/html"),v&&f?(m=new DOMParser().parseFromString(f,"text/html").body,m.textContent===v?!m.querySelector("*"):void 0):v!=null?v.length:void 0},dataTransferIsWritable:function(d){var m,f;if((d!=null?d.setData:void 0)!=null){for(m in c)if(f=c[m],!function(){try{return d.setData(m,f),d.getData(m)===f}catch{}}())return;return!0}},keyEventIsKeyboardCommand:function(){return/Mac|^iP/.test(navigator.platform)?function(d){return d.metaKey}:function(d){return d.ctrlKey}}()})}).call(this),(function(){u.extend({RTL_PATTERN:/[\u05BE\u05C0\u05C3\u05D0-\u05EA\u05F0-\u05F4\u061B\u061F\u0621-\u063A\u0640-\u064A\u066D\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D5\u06E5\u06E6\u200F\u202B\u202E\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE72\uFE74\uFE76-\uFEFC]/,getDirection:function(){var c,d,m,f;return d=u.makeElement("input",{dir:"auto",name:"x",dirName:"x.dir"}),c=u.makeElement("form"),c.appendChild(d),m=function(){try{return new FormData(c).has(d.dirName)}catch{}}(),f=function(){try{return d.matches(":dir(ltr),:dir(rtl)")}catch{}}(),m?function(v){return d.value=v,new FormData(c).get(d.dirName)}:f?function(v){return d.value=v,d.matches(":dir(rtl)")?"rtl":"ltr"}:function(v){var g;return g=v.trim().charAt(0),u.RTL_PATTERN.test(g)?"rtl":"ltr"}}()})}).call(this),(function(){}).call(this),(function(){var c,d=function(f,v){function g(){this.constructor=f}for(var y in v)m.call(v,y)&&(f[y]=v[y]);return g.prototype=v.prototype,f.prototype=new g,f.__super__=v.prototype,f},m={}.hasOwnProperty;c=u.arraysAreEqual,u.Hash=function(f){function v($){$==null&&($={}),this.values=y($),v.__super__.constructor.apply(this,arguments)}var g,y,b,w,k;return d(v,f),v.fromCommonAttributesOfObjects=function($){var S,C,E,D,A,O;if($==null&&($=[]),!$.length)return new this;for(S=g($[0]),E=S.getKeys(),O=$.slice(1),C=0,D=O.length;D>C;C++)A=O[C],E=S.getKeysCommonToHash(g(A)),S=S.slice(E);return S},v.box=function($){return g($)},v.prototype.add=function($,S){return this.merge(w($,S))},v.prototype.remove=function($){return new u.Hash(y(this.values,$))},v.prototype.get=function($){return this.values[$]},v.prototype.has=function($){return $ in this.values},v.prototype.merge=function($){return new u.Hash(b(this.values,k($)))},v.prototype.slice=function($){var S,C,E,D;for(D={},S=0,E=$.length;E>S;S++)C=$[S],this.has(C)&&(D[C]=this.values[C]);return new u.Hash(D)},v.prototype.getKeys=function(){return Object.keys(this.values)},v.prototype.getKeysCommonToHash=function($){var S,C,E,D,A;for($=g($),D=this.getKeys(),A=[],S=0,E=D.length;E>S;S++)C=D[S],this.values[C]===$.values[C]&&A.push(C);return A},v.prototype.isEqualTo=function($){return c(this.toArray(),g($).toArray())},v.prototype.isEmpty=function(){return this.getKeys().length===0},v.prototype.toArray=function(){var $,S,C;return(this.array!=null?this.array:this.array=(function(){var E;S=[],E=this.values;for($ in E)C=E[$],S.push($,C);return S}).call(this)).slice(0)},v.prototype.toObject=function(){return y(this.values)},v.prototype.toJSON=function(){return this.toObject()},v.prototype.contentsForInspection=function(){return{values:JSON.stringify(this.values)}},w=function($,S){var C;return C={},C[$]=S,C},b=function($,S){var C,E,D;E=y($);for(C in S)D=S[C],E[C]=D;return E},y=function($,S){var C,E,D,A,O;for(A={},O=Object.keys($).sort(),C=0,D=O.length;D>C;C++)E=O[C],E!==S&&(A[E]=$[E]);return A},g=function($){return $ instanceof u.Hash?$:new u.Hash($)},k=function($){return $ instanceof u.Hash?$.values:$},v}(u.Object)}).call(this),(function(){u.ObjectGroup=function(){function c(d,m){var f,v;this.objects=d??[],v=m.depth,f=m.asTree,f&&(this.depth=v,this.objects=this.constructor.groupObjects(this.objects,{asTree:f,depth:this.depth+1}))}return c.groupObjects=function(d,m){var f,v,g,y,b,w,k,$,S;for(d==null&&(d=[]),S=m??{},g=S.depth,f=S.asTree,f&&g==null&&(g=0),$=[],b=0,w=d.length;w>b;b++){if(k=d[b],y){if(typeof k.canBeGrouped=="function"&&k.canBeGrouped(g)&&(typeof(v=y[y.length-1]).canBeGroupedWith=="function"&&v.canBeGroupedWith(k,g))){y.push(k);continue}$.push(new this(y,{depth:g,asTree:f})),y=null}typeof k.canBeGrouped=="function"&&k.canBeGrouped(g)?y=[k]:$.push(k)}return y&&$.push(new this(y,{depth:g,asTree:f})),$},c.prototype.getObjects=function(){return this.objects},c.prototype.getDepth=function(){return this.depth},c.prototype.getCacheKey=function(){var d,m,f,v,g;for(m=["objectGroup"],g=this.getObjects(),d=0,f=g.length;f>d;d++)v=g[d],m.push(v.getCacheKey());return m.join("/")},c}()}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.ObjectMap=function(m){function f(v){var g,y,b,w,k;for(v==null&&(v=[]),this.objects={},b=0,w=v.length;w>b;b++)k=v[b],y=JSON.stringify(k),(g=this.objects)[y]==null&&(g[y]=k)}return c(f,m),f.prototype.find=function(v){var g;return g=JSON.stringify(v),this.objects[g]},f}(u.BasicObject)}).call(this),(function(){u.ElementStore=function(){function c(m){this.reset(m)}var d;return c.prototype.add=function(m){var f;return f=d(m),this.elements[f]=m},c.prototype.remove=function(m){var f,v;return f=d(m),(v=this.elements[f])?(delete this.elements[f],v):void 0},c.prototype.reset=function(m){var f,v,g;for(m==null&&(m=[]),this.elements={},v=0,g=m.length;g>v;v++)f=m[v],this.add(f);return m},d=function(m){return m.dataset.trixStoreKey},c}()}).call(this),(function(){}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Operation=function(m){function f(){return f.__super__.constructor.apply(this,arguments)}return c(f,m),f.prototype.isPerforming=function(){return this.performing===!0},f.prototype.hasPerformed=function(){return this.performed===!0},f.prototype.hasSucceeded=function(){return this.performed&&this.succeeded},f.prototype.hasFailed=function(){return this.performed&&!this.succeeded},f.prototype.getPromise=function(){return this.promise!=null?this.promise:this.promise=new Promise(function(v){return function(g,y){return v.performing=!0,v.perform(function(b,w){return v.succeeded=b,v.performing=!1,v.performed=!0,v.succeeded?g(w):y(w)})}}(this))},f.prototype.perform=function(v){return v(!1)},f.prototype.release=function(){var v;return(v=this.promise)!=null&&typeof v.cancel=="function"&&v.cancel(),this.promise=null,this.performing=null,this.performed=null,this.succeeded=null},f.proxyMethod("getPromise().then"),f.proxyMethod("getPromise().catch"),f}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v,g=function(b,w){function k(){this.constructor=b}for(var $ in w)y.call(w,$)&&(b[$]=w[$]);return k.prototype=w.prototype,b.prototype=new k,b.__super__=w.prototype,b},y={}.hasOwnProperty;u.UTF16String=function(b){function w(k,$){this.ucs2String=k,this.codepoints=$,this.length=this.codepoints.length,this.ucs2Length=this.ucs2String.length}return g(w,b),w.box=function(k){return k==null&&(k=""),k instanceof this?k:this.fromUCS2String(k!=null?k.toString():void 0)},w.fromUCS2String=function(k){return new this(k,f(k))},w.fromCodepoints=function(k){return new this(v(k),k)},w.prototype.offsetToUCS2Offset=function(k){return v(this.codepoints.slice(0,Math.max(0,k))).length},w.prototype.offsetFromUCS2Offset=function(k){return f(this.ucs2String.slice(0,Math.max(0,k))).length},w.prototype.slice=function(){var k;return this.constructor.fromCodepoints((k=this.codepoints).slice.apply(k,arguments))},w.prototype.charAt=function(k){return this.slice(k,k+1)},w.prototype.isEqualTo=function(k){return this.constructor.box(k).ucs2String===this.ucs2String},w.prototype.toJSON=function(){return this.ucs2String},w.prototype.getCacheKey=function(){return this.ucs2String},w.prototype.toString=function(){return this.ucs2String},w}(u.BasicObject),c=(typeof Array.from=="function"?Array.from("👼").length:void 0)===1,d=(typeof" ".codePointAt=="function"?" ".codePointAt(0):void 0)!=null,m=(typeof String.fromCodePoint=="function"?String.fromCodePoint(32,128124):void 0)===" 👼",f=c&&d?function(b){return Array.from(b).map(function(w){return w.codePointAt(0)})}:function(b){var w,k,$,S,C;for(S=[],w=0,$=b.length;$>w;)C=b.charCodeAt(w++),C>=55296&&56319>=C&&$>w&&(k=b.charCodeAt(w++),(64512&k)===56320?C=((1023&C)<<10)+(1023&k)+65536:w--),S.push(C);return S},v=m?function(b){return String.fromCodePoint.apply(String,b)}:function(b){var w,k,$;return w=function(){var S,C,E;for(E=[],S=0,C=b.length;C>S;S++)$=b[S],k="",$>65535&&($-=65536,k+=String.fromCharCode($>>>10&1023|55296),$=56320|1023&$),E.push(k+String.fromCharCode($));return E}(),w.join("")}}).call(this),(function(){}).call(this),(function(){}).call(this),(function(){u.config.lang={attachFiles:"Attach Files",bold:"Bold",bullets:"Bullets",byte:"Byte",bytes:"Bytes",captionPlaceholder:"Add a caption…",code:"Code",heading1:"Heading",indent:"Increase Level",italic:"Italic",link:"Link",numbers:"Numbers",outdent:"Decrease Level",quote:"Quote",redo:"Redo",remove:"Remove",strike:"Strikethrough",undo:"Undo",unlink:"Unlink",url:"URL",urlPlaceholder:"Enter a URL…",GB:"GB",KB:"KB",MB:"MB",PB:"PB",TB:"TB"}}).call(this),(function(){u.config.css={attachment:"attachment",attachmentCaption:"attachment__caption",attachmentCaptionEditor:"attachment__caption-editor",attachmentMetadata:"attachment__metadata",attachmentMetadataContainer:"attachment__metadata-container",attachmentName:"attachment__name",attachmentProgress:"attachment__progress",attachmentSize:"attachment__size",attachmentToolbar:"attachment__toolbar",attachmentGallery:"attachment-gallery"}}).call(this),(function(){var c;u.config.blockAttributes=c={default:{tagName:"div",parse:!1},quote:{tagName:"blockquote",nestable:!0},heading1:{tagName:"h1",terminal:!0,breakOnReturn:!0,group:!1},code:{tagName:"pre",terminal:!0,text:{plaintext:!0}},bulletList:{tagName:"ul",parse:!1},bullet:{tagName:"li",listAttribute:"bulletList",group:!1,nestable:!0,test:function(d){return u.tagName(d.parentNode)===c[this.listAttribute].tagName}},numberList:{tagName:"ol",parse:!1},number:{tagName:"li",listAttribute:"numberList",group:!1,nestable:!0,test:function(d){return u.tagName(d.parentNode)===c[this.listAttribute].tagName}},attachmentGallery:{tagName:"div",exclusive:!0,terminal:!0,parse:!1,group:!1}}}).call(this),(function(){var c,d;c=u.config.lang,d=[c.bytes,c.KB,c.MB,c.GB,c.TB,c.PB],u.config.fileSize={prefix:"IEC",precision:2,formatter:function(m){var f,v,g,y,b;switch(m){case 0:return"0 "+c.bytes;case 1:return"1 "+c.byte;default:return f=(function(){switch(this.prefix){case"SI":return 1e3;case"IEC":return 1024}}).call(this),v=Math.floor(Math.log(m)/Math.log(f)),g=m/Math.pow(f,v),y=g.toFixed(this.precision),b=y.replace(/0*$/,"").replace(/\.$/,""),b+" "+d[v]}}}}).call(this),(function(){u.config.textAttributes={bold:{tagName:"strong",inheritable:!0,parser:function(c){var d;return d=window.getComputedStyle(c),d.fontWeight==="bold"||d.fontWeight>=600}},italic:{tagName:"em",inheritable:!0,parser:function(c){var d;return d=window.getComputedStyle(c),d.fontStyle==="italic"}},href:{groupTagName:"a",parser:function(c){var d,m,f;return d=u.AttachmentView.attachmentSelector,f="a:not("+d+")",(m=u.findClosestElementFromNode(c,{matchingSelector:f}))?m.getAttribute("href"):void 0}},strike:{tagName:"del",inheritable:!0},frozen:{style:{backgroundColor:"highlight"}}}}).call(this),(function(){var c,d,m,f,v;v="[data-trix-serialize=false]",f=["contenteditable","data-trix-id","data-trix-store-key","data-trix-mutable","data-trix-placeholder","tabindex"],d="data-trix-serialized-attributes",m="["+d+"]",c=new RegExp("<!--block-->","g"),u.extend({serializers:{"application/json":function(g){var y;if(g instanceof u.Document)y=g;else{if(!(g instanceof HTMLElement))throw new Error("unserializable object");y=u.Document.fromHTML(g.innerHTML)}return y.toSerializableDocument().toJSONString()},"text/html":function(g){var y,b,w,k,$,S,C,E,D,A,O,F,B,I,M,z,q;if(g instanceof u.Document)k=u.DocumentView.render(g);else{if(!(g instanceof HTMLElement))throw new Error("unserializable object");k=g.cloneNode(!0)}for(I=k.querySelectorAll(v),$=0,D=I.length;D>$;$++)w=I[$],u.removeNode(w);for(S=0,A=f.length;A>S;S++)for(y=f[S],M=k.querySelectorAll("["+y+"]"),C=0,O=M.length;O>C;C++)w=M[C],w.removeAttribute(y);for(z=k.querySelectorAll(m),E=0,F=z.length;F>E;E++){w=z[E];try{b=JSON.parse(w.getAttribute(d)),w.removeAttribute(d);for(B in b)q=b[B],w.setAttribute(B,q)}catch{}}return k.innerHTML.replace(c,"")}},deserializers:{"application/json":function(g){return u.Document.fromJSONString(g)},"text/html":function(g){return u.Document.fromHTML(g)}},serializeToContentType:function(g,y){var b;if(b=u.serializers[y])return b(g);throw new Error("unknown content type: "+y)},deserializeFromContentType:function(g,y){var b;if(b=u.deserializers[y])return b(g);throw new Error("unknown content type: "+y)}})}).call(this),(function(){var c;c=u.config.lang,u.config.toolbar={getDefaultHTML:function(){return`<div class="trix-button-row">
<span class="trix-button-group trix-button-group--text-tools" data-trix-button-group="text-tools">
<button type="button" class="trix-button trix-button--icon trix-button--icon-bold" data-trix-attribute="bold" data-trix-key="b" title="`+c.bold+'" tabindex="-1">'+c.bold+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-italic" data-trix-attribute="italic" data-trix-key="i" title="`+c.italic+'" tabindex="-1">'+c.italic+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-strike" data-trix-attribute="strike" title="`+c.strike+'" tabindex="-1">'+c.strike+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-link" data-trix-attribute="href" data-trix-action="link" data-trix-key="k" title="`+c.link+'" tabindex="-1">'+c.link+`</button>
</span>
<span class="trix-button-group trix-button-group--block-tools" data-trix-button-group="block-tools">
<button type="button" class="trix-button trix-button--icon trix-button--icon-heading-1" data-trix-attribute="heading1" title="`+c.heading1+'" tabindex="-1">'+c.heading1+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-quote" data-trix-attribute="quote" title="`+c.quote+'" tabindex="-1">'+c.quote+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-code" data-trix-attribute="code" title="`+c.code+'" tabindex="-1">'+c.code+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-bullet-list" data-trix-attribute="bullet" title="`+c.bullets+'" tabindex="-1">'+c.bullets+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-number-list" data-trix-attribute="number" title="`+c.numbers+'" tabindex="-1">'+c.numbers+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-decrease-nesting-level" data-trix-action="decreaseNestingLevel" title="`+c.outdent+'" tabindex="-1">'+c.outdent+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-increase-nesting-level" data-trix-action="increaseNestingLevel" title="`+c.indent+'" tabindex="-1">'+c.indent+`</button>
</span>
<span class="trix-button-group trix-button-group--file-tools" data-trix-button-group="file-tools">
<button type="button" class="trix-button trix-button--icon trix-button--icon-attach" data-trix-action="attachFiles" title="`+c.attachFiles+'" tabindex="-1">'+c.attachFiles+`</button>
</span>
<span class="trix-button-group-spacer"></span>
<span class="trix-button-group trix-button-group--history-tools" data-trix-button-group="history-tools">
<button type="button" class="trix-button trix-button--icon trix-button--icon-undo" data-trix-action="undo" data-trix-key="z" title="`+c.undo+'" tabindex="-1">'+c.undo+`</button>
<button type="button" class="trix-button trix-button--icon trix-button--icon-redo" data-trix-action="redo" data-trix-key="shift+z" title="`+c.redo+'" tabindex="-1">'+c.redo+`</button>
</span>
</div>
<div class="trix-dialogs" data-trix-dialogs>
<div class="trix-dialog trix-dialog--link" data-trix-dialog="href" data-trix-dialog-attribute="href">
<div class="trix-dialog__link-fields">
<input type="url" name="href" class="trix-input trix-input--dialog" placeholder="`+c.urlPlaceholder+'" aria-label="'+c.url+`" required data-trix-input>
<div class="trix-button-group">
<input type="button" class="trix-button trix-button--dialog" value="`+c.link+`" data-trix-method="setAttribute">
<input type="button" class="trix-button trix-button--dialog" value="`+c.unlink+`" data-trix-method="removeAttribute">
</div>
</div>
</div>
</div>`}}}).call(this),(function(){u.config.undoInterval=5e3}).call(this),(function(){u.config.attachments={preview:{presentation:"gallery",caption:{name:!0,size:!0}},file:{caption:{size:!0}}}}).call(this),(function(){u.config.keyNames={8:"backspace",9:"tab",13:"return",27:"escape",37:"left",39:"right",46:"delete",68:"d",72:"h",79:"o"}}).call(this),(function(){u.config.input={level2Enabled:!0,getLevel:function(){return this.level2Enabled&&u.browser.supportsInputEvents?2:0},pickFiles:function(c){var d;return d=u.makeElement("input",{type:"file",multiple:!0,hidden:!0,id:this.fileInputId}),d.addEventListener("change",function(){return c(d.files),u.removeNode(d)}),u.removeNode(document.getElementById(this.fileInputId)),document.body.appendChild(d),d.click()},fileInputId:"trix-file-input-"+Date.now().toString(16)}}).call(this),(function(){}).call(this),(function(){u.registerElement("trix-toolbar",{defaultCSS:`%t {
display: block;
}
%t {
white-space: nowrap;
}
%t [data-trix-dialog] {
display: none;
}
%t [data-trix-dialog][data-trix-active] {
display: block;
}
%t [data-trix-dialog] [data-trix-validate]:invalid {
background-color: #ffdddd;
}`,initialize:function(){return this.innerHTML===""?this.innerHTML=u.config.toolbar.getDefaultHTML():void 0}})}).call(this),(function(){var c=function(f,v){function g(){this.constructor=f}for(var y in v)d.call(v,y)&&(f[y]=v[y]);return g.prototype=v.prototype,f.prototype=new g,f.__super__=v.prototype,f},d={}.hasOwnProperty,m=[].indexOf||function(f){for(var v=0,g=this.length;g>v;v++)if(v in this&&this[v]===f)return v;return-1};u.ObjectView=function(f){function v(g,y){this.object=g,this.options=y??{},this.childViews=[],this.rootView=this}return c(v,f),v.prototype.getNodes=function(){var g,y,b,w,k;for(this.nodes==null&&(this.nodes=this.createNodes()),w=this.nodes,k=[],g=0,y=w.length;y>g;g++)b=w[g],k.push(b.cloneNode(!0));return k},v.prototype.invalidate=function(){var g;return this.nodes=null,this.childViews=[],(g=this.parentView)!=null?g.invalidate():void 0},v.prototype.invalidateViewForObject=function(g){var y;return(y=this.findViewForObject(g))!=null?y.invalidate():void 0},v.prototype.findOrCreateCachedChildView=function(g,y){var b;return(b=this.getCachedViewForObject(y))?this.recordChildView(b):(b=this.createChildView.apply(this,arguments),this.cacheViewForObject(b,y)),b},v.prototype.createChildView=function(g,y,b){var w;return b==null&&(b={}),y instanceof u.ObjectGroup&&(b.viewClass=g,g=u.ObjectGroupView),w=new g(y,b),this.recordChildView(w)},v.prototype.recordChildView=function(g){return g.parentView=this,g.rootView=this.rootView,this.childViews.push(g),g},v.prototype.getAllChildViews=function(){var g,y,b,w,k;for(k=[],w=this.childViews,y=0,b=w.length;b>y;y++)g=w[y],k.push(g),k=k.concat(g.getAllChildViews());return k},v.prototype.findElement=function(){return this.findElementForObject(this.object)},v.prototype.findElementForObject=function(g){var y;return(y=g!=null?g.id:void 0)?this.rootView.element.querySelector("[data-trix-id='"+y+"']"):void 0},v.prototype.findViewForObject=function(g){var y,b,w,k;for(w=this.getAllChildViews(),y=0,b=w.length;b>y;y++)if(k=w[y],k.object===g)return k},v.prototype.getViewCache=function(){return this.rootView!==this?this.rootView.getViewCache():this.isViewCachingEnabled()?this.viewCache!=null?this.viewCache:this.viewCache={}:void 0},v.prototype.isViewCachingEnabled=function(){return this.shouldCacheViews!==!1},v.prototype.enableViewCaching=function(){return this.shouldCacheViews=!0},v.prototype.disableViewCaching=function(){return this.shouldCacheViews=!1},v.prototype.getCachedViewForObject=function(g){var y;return(y=this.getViewCache())!=null?y[g.getCacheKey()]:void 0},v.prototype.cacheViewForObject=function(g,y){var b;return(b=this.getViewCache())!=null?b[y.getCacheKey()]=g:void 0},v.prototype.garbageCollectCachedViews=function(){var g,y,b,w,k,$;if(g=this.getViewCache()){$=this.getAllChildViews().concat(this),b=function(){var S,C,E;for(E=[],S=0,C=$.length;C>S;S++)k=$[S],E.push(k.object.getCacheKey());return E}(),w=[];for(y in g)m.call(b,y)<0&&w.push(delete g[y]);return w}},v}(u.BasicObject)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.ObjectGroupView=function(m){function f(){f.__super__.constructor.apply(this,arguments),this.objectGroup=this.object,this.viewClass=this.options.viewClass,delete this.options.viewClass}return c(f,m),f.prototype.getChildViews=function(){var v,g,y,b;if(!this.childViews.length)for(b=this.objectGroup.getObjects(),v=0,g=b.length;g>v;v++)y=b[v],this.findOrCreateCachedChildView(this.viewClass,y,this.options);return this.childViews},f.prototype.createNodes=function(){var v,g,y,b,w,k,$,S,C;for(v=this.createContainerElement(),$=this.getChildViews(),g=0,b=$.length;b>g;g++)for(C=$[g],S=C.getNodes(),y=0,w=S.length;w>y;y++)k=S[y],v.appendChild(k);return[v]},f.prototype.createContainerElement=function(v){return v==null&&(v=this.objectGroup.getDepth()),this.getChildViews()[0].createContainerElement(v)},f}(u.ObjectView)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Controller=function(m){function f(){return f.__super__.constructor.apply(this,arguments)}return c(f,m),f}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v,g,y=function($,S){return function(){return $.apply(S,arguments)}},b=function($,S){function C(){this.constructor=$}for(var E in S)w.call(S,E)&&($[E]=S[E]);return C.prototype=S.prototype,$.prototype=new C,$.__super__=S.prototype,$},w={}.hasOwnProperty,k=[].indexOf||function($){for(var S=0,C=this.length;C>S;S++)if(S in this&&this[S]===$)return S;return-1};c=u.findClosestElementFromNode,m=u.nodeIsEmptyTextNode,d=u.nodeIsBlockStartComment,f=u.normalizeSpaces,v=u.summarizeStringChange,g=u.tagName,u.MutationObserver=function($){function S(O){this.element=O,this.didMutate=y(this.didMutate,this),this.observer=new window.MutationObserver(this.didMutate),this.start()}var C,E,D,A;return b(S,$),E="data-trix-mutable",D="["+E+"]",A={attributes:!0,childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},S.prototype.start=function(){return this.reset(),this.observer.observe(this.element,A)},S.prototype.stop=function(){return this.observer.disconnect()},S.prototype.didMutate=function(O){var F,B;return(F=this.mutations).push.apply(F,this.findSignificantMutations(O)),this.mutations.length?((B=this.delegate)!=null&&typeof B.elementDidMutate=="function"&&B.elementDidMutate(this.getMutationSummary()),this.reset()):void 0},S.prototype.reset=function(){return this.mutations=[]},S.prototype.findSignificantMutations=function(O){var F,B,I,M;for(M=[],F=0,B=O.length;B>F;F++)I=O[F],this.mutationIsSignificant(I)&&M.push(I);return M},S.prototype.mutationIsSignificant=function(O){var F,B,I,M;if(this.nodeIsMutable(O.target))return!1;for(M=this.nodesModifiedByMutation(O),F=0,B=M.length;B>F;F++)if(I=M[F],this.nodeIsSignificant(I))return!0;return!1},S.prototype.nodeIsSignificant=function(O){return O!==this.element&&!this.nodeIsMutable(O)&&!m(O)},S.prototype.nodeIsMutable=function(O){return c(O,{matchingSelector:D})},S.prototype.nodesModifiedByMutation=function(O){var F;switch(F=[],O.type){case"attributes":O.attributeName!==E&&F.push(O.target);break;case"characterData":F.push(O.target.parentNode),F.push(O.target);break;case"childList":F.push.apply(F,O.addedNodes),F.push.apply(F,O.removedNodes)}return F},S.prototype.getMutationSummary=function(){return this.getTextMutationSummary()},S.prototype.getTextMutationSummary=function(){var O,F,B,I,M,z,q,H,Q,j,ee;for(H=this.getTextChangesFromCharacterData(),B=H.additions,M=H.deletions,ee=this.getTextChangesFromChildList(),Q=ee.additions,z=0,q=Q.length;q>z;z++)F=Q[z],k.call(B,F)<0&&B.push(F);return M.push.apply(M,ee.deletions),j={},(O=B.join(""))&&(j.textAdded=O),(I=M.join(""))&&(j.textDeleted=I),j},S.prototype.getMutationsByType=function(O){var F,B,I,M,z;for(M=this.mutations,z=[],F=0,B=M.length;B>F;F++)I=M[F],I.type===O&&z.push(I);return z},S.prototype.getTextChangesFromChildList=function(){var O,F,B,I,M,z,q,H,Q,j,ee;for(O=[],q=[],z=this.getMutationsByType("childList"),F=0,I=z.length;I>F;F++)M=z[F],O.push.apply(O,M.addedNodes),q.push.apply(q,M.removedNodes);return H=O.length===0&&q.length===1&&d(q[0]),H?(j=[],ee=[`
`]):(j=C(O),ee=C(q)),{additions:function(){var G,J,te;for(te=[],B=G=0,J=j.length;J>G;B=++G)Q=j[B],Q!==ee[B]&&te.push(f(Q));return te}(),deletions:function(){var G,J,te;for(te=[],B=G=0,J=ee.length;J>G;B=++G)Q=ee[B],Q!==j[B]&&te.push(f(Q));return te}()}},S.prototype.getTextChangesFromCharacterData=function(){var O,F,B,I,M,z,q,H;return F=this.getMutationsByType("characterData"),F.length&&(H=F[0],B=F[F.length-1],M=f(H.oldValue),I=f(B.target.data),z=v(M,I),O=z.added,q=z.removed),{additions:O?[O]:[],deletions:q?[q]:[]}},C=function(O){var F,B,I,M;for(O==null&&(O=[]),M=[],F=0,B=O.length;B>F;F++)switch(I=O[F],I.nodeType){case Node.TEXT_NODE:M.push(I.data);break;case Node.ELEMENT_NODE:g(I)==="br"?M.push(`
`):M.push.apply(M,C(I.childNodes))}return M},S}(u.BasicObject)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.FileVerificationOperation=function(m){function f(v){this.file=v}return c(f,m),f.prototype.perform=function(v){var g;return g=new FileReader,g.onerror=function(){return v(!1)},g.onload=function(y){return function(){g.onerror=null;try{g.abort()}catch{}return v(!0,y.file)}}(this),g.readAsArrayBuffer(this.file)},f}(u.Operation)}).call(this),(function(){var c,d,m=function(v,g){function y(){this.constructor=v}for(var b in g)f.call(g,b)&&(v[b]=g[b]);return y.prototype=g.prototype,v.prototype=new y,v.__super__=g.prototype,v},f={}.hasOwnProperty;c=u.handleEvent,d=u.innerElementIsActive,u.InputController=function(v){function g(y){var b;this.element=y,this.mutationObserver=new u.MutationObserver(this.element),this.mutationObserver.delegate=this;for(b in this.events)c(b,{onElement:this.element,withCallback:this.handlerFor(b)})}return m(g,v),g.prototype.events={},g.prototype.elementDidMutate=function(){},g.prototype.editorWillSyncDocumentView=function(){return this.mutationObserver.stop()},g.prototype.editorDidSyncDocumentView=function(){return this.mutationObserver.start()},g.prototype.requestRender=function(){var y;return(y=this.delegate)!=null&&typeof y.inputControllerDidRequestRender=="function"?y.inputControllerDidRequestRender():void 0},g.prototype.requestReparse=function(){var y;return(y=this.delegate)!=null&&typeof y.inputControllerDidRequestReparse=="function"&&y.inputControllerDidRequestReparse(),this.requestRender()},g.prototype.attachFiles=function(y){var b,w;return w=function(){var k,$,S;for(S=[],k=0,$=y.length;$>k;k++)b=y[k],S.push(new u.FileVerificationOperation(b));return S}(),Promise.all(w).then(function(k){return function($){return k.handleInput(function(){var S,C;return(S=this.delegate)!=null&&S.inputControllerWillAttachFiles(),(C=this.responder)!=null&&C.insertFiles($),this.requestRender()})}}(this))},g.prototype.handlerFor=function(y){return function(b){return function(w){return w.defaultPrevented?void 0:b.handleInput(function(){return d(this.element)?void 0:(this.eventName=y,this.events[y].call(this,w))})}}(this)},g.prototype.handleInput=function(y){var b,w;try{return(b=this.delegate)!=null&&b.inputControllerWillHandleInput(),y.call(this)}finally{(w=this.delegate)!=null&&w.inputControllerDidHandleInput()}},g.prototype.createLinkHTML=function(y,b){var w;return w=document.createElement("a"),w.href=y,w.textContent=b??y,w.outerHTML},g}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v,g,y,b,w,k,$,S,C=function(A,O){function F(){this.constructor=A}for(var B in O)E.call(O,B)&&(A[B]=O[B]);return F.prototype=O.prototype,A.prototype=new F,A.__super__=O.prototype,A},E={}.hasOwnProperty,D=[].indexOf||function(A){for(var O=0,F=this.length;F>O;O++)if(O in this&&this[O]===A)return O;return-1};w=u.makeElement,k=u.objectsAreEqual,u.tagName,d=u.browser,y=u.keyEventIsKeyboardCommand,f=u.dataTransferIsWritable,m=u.dataTransferIsPlainText,b=u.config.keyNames,u.Level0InputController=function(A){function O(){O.__super__.constructor.apply(this,arguments),this.resetInputSummary()}var F;return C(O,A),F=0,O.prototype.setInputSummary=function(B){var I,M;B==null&&(B={}),this.inputSummary.eventName=this.eventName;for(I in B)M=B[I],this.inputSummary[I]=M;return this.inputSummary},O.prototype.resetInputSummary=function(){return this.inputSummary={}},O.prototype.reset=function(){return this.resetInputSummary(),u.selectionChangeObserver.reset()},O.prototype.elementDidMutate=function(B){var I;return this.isComposing()?(I=this.delegate)!=null&&typeof I.inputControllerDidAllowUnhandledInput=="function"?I.inputControllerDidAllowUnhandledInput():void 0:this.handleInput(function(){return this.mutationIsSignificant(B)&&(this.mutationIsExpected(B)?this.requestRender():this.requestReparse()),this.reset()})},O.prototype.mutationIsExpected=function(B){var I,M,z,q,H,Q,j,ee,G,J;return j=B.textAdded,ee=B.textDeleted,this.inputSummary.preferDocument?!0:(I=j!=null?j===this.inputSummary.textAdded:!this.inputSummary.textAdded,M=ee!=null?this.inputSummary.didDelete:!this.inputSummary.didDelete,G=(j===`
`||j===`
`)&&!I,J=ee===`
`&&!M,Q=G&&!J||J&&!G,Q&&(q=this.getSelectedRange())&&(z=G?j.replace(/\n$/,"").length||-1:(j!=null?j.length:void 0)||1,(H=this.responder)!=null?H.positionIsBlockBreak(q[1]+z):void 0)?!0:I&&M)},O.prototype.mutationIsSignificant=function(B){var I,M,z;return z=Object.keys(B).length>0,I=((M=this.compositionInput)!=null?M.getEndData():void 0)==="",z||!I},O.prototype.events={keydown:function(B){var I,M,z,q,H,Q,j,ee,G;if(this.isComposing()||this.resetInputSummary(),this.inputSummary.didInput=!0,q=b[B.keyCode]){for(M=this.keys,ee=["ctrl","alt","shift","meta"],z=0,Q=ee.length;Q>z;z++)j=ee[z],B[j+"Key"]&&(j==="ctrl"&&(j="control"),M=M!=null?M[j]:void 0);(M!=null?M[q]:void 0)!=null&&(this.setInputSummary({keyName:q}),u.selectionChangeObserver.reset(),M[q].call(this,B))}return y(B)&&(I=String.fromCharCode(B.keyCode).toLowerCase())&&(H=function(){var J,te,re,ae;for(re=["alt","shift"],ae=[],J=0,te=re.length;te>J;J++)j=re[J],B[j+"Key"]&&ae.push(j);return ae}(),H.push(I),(G=this.delegate)!=null?G.inputControllerDidReceiveKeyboardCommand(H):void 0)?B.preventDefault():void 0},keypress:function(B){var I,M,z;if(this.inputSummary.eventName==null&&!B.metaKey&&(!B.ctrlKey||B.altKey))return(z=S(B))?((I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),(M=this.responder)!=null&&M.insertString(z),this.setInputSummary({textAdded:z,didDelete:this.selectionIsExpanded()})):void 0},textInput:function(B){var I,M,z,q;return I=B.data,q=this.inputSummary.textAdded,q&&q!==I&&q.toUpperCase()===I?(M=this.getSelectedRange(),this.setSelectedRange([M[0],M[1]+q.length]),(z=this.responder)!=null&&z.insertString(I),this.setInputSummary({textAdded:I}),this.setSelectedRange(M)):void 0},dragenter:function(B){return B.preventDefault()},dragstart:function(B){var I;return B.target,this.serializeSelectionToDataTransfer(B.dataTransfer),this.draggedRange=this.getSelectedRange(),(I=this.delegate)!=null&&typeof I.inputControllerDidStartDrag=="function"?I.inputControllerDidStartDrag():void 0},dragover:function(B){var I,M;return!this.draggedRange&&!this.canAcceptDataTransfer(B.dataTransfer)||(B.preventDefault(),I={x:B.clientX,y:B.clientY},k(I,this.draggingPoint))?void 0:(this.draggingPoint=I,(M=this.delegate)!=null&&typeof M.inputControllerDidReceiveDragOverPoint=="function"?M.inputControllerDidReceiveDragOverPoint(this.draggingPoint):void 0)},dragend:function(){var B;return(B=this.delegate)!=null&&typeof B.inputControllerDidCancelDrag=="function"&&B.inputControllerDidCancelDrag(),this.draggedRange=null,this.draggingPoint=null},drop:function(B){var I,M,z,q,H,Q,j,ee,G;return B.preventDefault(),z=(H=B.dataTransfer)!=null?H.files:void 0,q={x:B.clientX,y:B.clientY},(Q=this.responder)!=null&&Q.setLocationRangeFromPointRange(q),z!=null&&z.length?this.attachFiles(z):this.draggedRange?((j=this.delegate)!=null&&j.inputControllerWillMoveText(),(ee=this.responder)!=null&&ee.moveTextFromRange(this.draggedRange),this.draggedRange=null,this.requestRender()):(M=B.dataTransfer.getData("application/x-trix-document"))&&(I=u.Document.fromJSONString(M),(G=this.responder)!=null&&G.insertDocument(I),this.requestRender()),this.draggedRange=null,this.draggingPoint=null},cut:function(B){var I,M;return(I=this.responder)!=null&&I.selectionIsExpanded()&&(this.serializeSelectionToDataTransfer(B.clipboardData)&&B.preventDefault(),(M=this.delegate)!=null&&M.inputControllerWillCutText(),this.deleteInDirection("backward"),B.defaultPrevented)?this.requestRender():void 0},copy:function(B){var I;return(I=this.responder)!=null&&I.selectionIsExpanded()&&this.serializeSelectionToDataTransfer(B.clipboardData)?B.preventDefault():void 0},paste:function(B){var I,M,z,q,H,Q,j,ee,G,J,te,re,ae,ye,ve,le,Se,De,At,Le,ke,ue,Ce;return I=(ee=B.clipboardData)!=null?ee:B.testClipboardData,j={clipboard:I},I==null||$(B)?void this.getPastedHTMLUsingHiddenElement(function(Te){return function(Pe){var Vt,Ie,ie;return j.type="text/html",j.html=Pe,(Vt=Te.delegate)!=null&&Vt.inputControllerWillPaste(j),(Ie=Te.responder)!=null&&Ie.insertHTML(j.html),Te.requestRender(),(ie=Te.delegate)!=null?ie.inputControllerDidPaste(j):void 0}}(this)):((q=I.getData("URL"))?(j.type="text/html",Ce=(Q=I.getData("public.url-name"))?u.squishBreakableWhitespace(Q).trim():q,j.html=this.createLinkHTML(q,Ce),(G=this.delegate)!=null&&G.inputControllerWillPaste(j),this.setInputSummary({textAdded:Ce,didDelete:this.selectionIsExpanded()}),(ve=this.responder)!=null&&ve.insertHTML(j.html),this.requestRender(),(le=this.delegate)!=null&&le.inputControllerDidPaste(j)):m(I)?(j.type="text/plain",j.string=I.getData("text/plain"),(Se=this.delegate)!=null&&Se.inputControllerWillPaste(j),this.setInputSummary({textAdded:j.string,didDelete:this.selectionIsExpanded()}),(De=this.responder)!=null&&De.insertString(j.string),this.requestRender(),(At=this.delegate)!=null&&At.inputControllerDidPaste(j)):(H=I.getData("text/html"))?(j.type="text/html",j.html=H,(Le=this.delegate)!=null&&Le.inputControllerWillPaste(j),(ke=this.responder)!=null&&ke.insertHTML(j.html),this.requestRender(),(ue=this.delegate)!=null&&ue.inputControllerDidPaste(j)):D.call(I.types,"Files")>=0&&(z=(J=I.items)!=null&&(te=J[0])!=null&&typeof te.getAsFile=="function"?te.getAsFile():void 0)&&(!z.name&&(M=v(z))&&(z.name="pasted-file-"+ ++F+"."+M),j.type="File",j.file=z,(re=this.delegate)!=null&&re.inputControllerWillAttachFiles(),(ae=this.responder)!=null&&ae.insertFile(j.file),this.requestRender(),(ye=this.delegate)!=null&&ye.inputControllerDidPaste(j)),B.preventDefault())},compositionstart:function(B){return this.getCompositionInput().start(B.data)},compositionupdate:function(B){return this.getCompositionInput().update(B.data)},compositionend:function(B){return this.getCompositionInput().end(B.data)},beforeinput:function(){return this.inputSummary.didInput=!0},input:function(B){return this.inputSummary.didInput=!0,B.stopPropagation()}},O.prototype.keys={backspace:function(B){var I;return(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),this.deleteInDirection("backward",B)},delete:function(B){var I;return(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),this.deleteInDirection("forward",B)},return:function(){var B,I;return this.setInputSummary({preferDocument:!0}),(B=this.delegate)!=null&&B.inputControllerWillPerformTyping(),(I=this.responder)!=null?I.insertLineBreak():void 0},tab:function(B){var I,M;return(I=this.responder)!=null&&I.canIncreaseNestingLevel()?((M=this.responder)!=null&&M.increaseNestingLevel(),this.requestRender(),B.preventDefault()):void 0},left:function(B){var I;return this.selectionIsInCursorTarget()?(B.preventDefault(),(I=this.responder)!=null?I.moveCursorInDirection("backward"):void 0):void 0},right:function(B){var I;return this.selectionIsInCursorTarget()?(B.preventDefault(),(I=this.responder)!=null?I.moveCursorInDirection("forward"):void 0):void 0},control:{d:function(B){var I;return(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),this.deleteInDirection("forward",B)},h:function(B){var I;return(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),this.deleteInDirection("backward",B)},o:function(B){var I,M;return B.preventDefault(),(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),(M=this.responder)!=null&&M.insertString(`
`,{updatePosition:!1}),this.requestRender()}},shift:{return:function(B){var I,M;return(I=this.delegate)!=null&&I.inputControllerWillPerformTyping(),(M=this.responder)!=null&&M.insertString(`
`),this.requestRender(),B.preventDefault()},tab:function(B){var I,M;return(I=this.responder)!=null&&I.canDecreaseNestingLevel()?((M=this.responder)!=null&&M.decreaseNestingLevel(),this.requestRender(),B.preventDefault()):void 0},left:function(B){return this.selectionIsInCursorTarget()?(B.preventDefault(),this.expandSelectionInDirection("backward")):void 0},right:function(B){return this.selectionIsInCursorTarget()?(B.preventDefault(),this.expandSelectionInDirection("forward")):void 0}},alt:{backspace:function(){var B;return this.setInputSummary({preferDocument:!1}),(B=this.delegate)!=null?B.inputControllerWillPerformTyping():void 0}},meta:{backspace:function(){var B;return this.setInputSummary({preferDocument:!1}),(B=this.delegate)!=null?B.inputControllerWillPerformTyping():void 0}}},O.prototype.getCompositionInput=function(){return this.isComposing()?this.compositionInput:this.compositionInput=new c(this)},O.prototype.isComposing=function(){return this.compositionInput!=null&&!this.compositionInput.isEnded()},O.prototype.deleteInDirection=function(B,I){var M;return((M=this.responder)!=null?M.deleteInDirection(B):void 0)!==!1?this.setInputSummary({didDelete:!0}):I?(I.preventDefault(),this.requestRender()):void 0},O.prototype.serializeSelectionToDataTransfer=function(B){var I,M;if(f(B))return I=(M=this.responder)!=null?M.getSelectedDocument().toSerializableDocument():void 0,B.setData("application/x-trix-document",JSON.stringify(I)),B.setData("text/html",u.DocumentView.render(I).innerHTML),B.setData("text/plain",I.toString().replace(/\n$/,"")),!0},O.prototype.canAcceptDataTransfer=function(B){var I,M,z,q,H,Q;for(Q={},q=(z=B!=null?B.types:void 0)!=null?z:[],I=0,M=q.length;M>I;I++)H=q[I],Q[H]=!0;return Q.Files||Q["application/x-trix-document"]||Q["text/html"]||Q["text/plain"]},O.prototype.getPastedHTMLUsingHiddenElement=function(B){var I,M,z;return M=this.getSelectedRange(),z={position:"absolute",left:window.pageXOffset+"px",top:window.pageYOffset+"px",opacity:0},I=w({style:z,tagName:"div",editable:!0}),document.body.appendChild(I),I.focus(),requestAnimationFrame(function(q){return function(){var H;return H=I.innerHTML,u.removeNode(I),q.setSelectedRange(M),B(H)}}(this))},O.proxyMethod("responder?.getSelectedRange"),O.proxyMethod("responder?.setSelectedRange"),O.proxyMethod("responder?.expandSelectionInDirection"),O.proxyMethod("responder?.selectionIsInCursorTarget"),O.proxyMethod("responder?.selectionIsExpanded"),O}(u.InputController),v=function(A){var O,F;return(O=A.type)!=null&&(F=O.match(/\/(\w+)$/))!=null?F[1]:void 0},g=(typeof" ".codePointAt=="function"?" ".codePointAt(0):void 0)!=null,S=function(A){var O;return A.key&&g&&A.key.codePointAt(0)===A.keyCode?A.key:(A.which===null?O=A.keyCode:A.which!==0&&A.charCode!==0&&(O=A.charCode),O!=null&&b[O]!=="escape"?u.UTF16String.fromCodepoints([O]).toString():void 0)},$=function(A){var O,F,B,I,M,z,q,H,Q;if(q=A.clipboardData){if(D.call(q.types,"text/html")>=0){for(H=q.types,B=0,z=H.length;z>B;B++)if(Q=H[B],O=/^CorePasteboardFlavorType/.test(Q),F=/^dyn\./.test(Q)&&q.getData(Q),O||F)return!0;return!1}return I=D.call(q.types,"com.apple.webarchive")>=0,M=D.call(q.types,"com.apple.flat-rtfd")>=0,I||M}},c=function(A){function O(F){var B;this.inputController=F,B=this.inputController,this.responder=B.responder,this.delegate=B.delegate,this.inputSummary=B.inputSummary,this.data={}}return C(O,A),O.prototype.start=function(F){var B,I;return this.data.start=F,this.isSignificant()?(this.inputSummary.eventName==="keypress"&&this.inputSummary.textAdded&&(B=this.responder)!=null&&B.deleteInDirection("left"),this.selectionIsExpanded()||(this.insertPlaceholder(),this.requestRender()),this.range=(I=this.responder)!=null?I.getSelectedRange():void 0):void 0},O.prototype.update=function(F){var B;return this.data.update=F,this.isSignificant()&&(B=this.selectPlaceholder())?(this.forgetPlaceholder(),this.range=B):void 0},O.prototype.end=function(F){var B,I,M,z;return this.data.end=F,this.isSignificant()?(this.forgetPlaceholder(),this.canApplyToDocument()?(this.setInputSummary({preferDocument:!0,didInput:!1}),(B=this.delegate)!=null&&B.inputControllerWillPerformTyping(),(I=this.responder)!=null&&I.setSelectedRange(this.range),(M=this.responder)!=null&&M.insertString(this.data.end),(z=this.responder)!=null?z.setSelectedRange(this.range[0]+this.data.end.length):void 0):this.data.start!=null||this.data.update!=null?(this.requestReparse(),this.inputController.reset()):void 0):this.inputController.reset()},O.prototype.getEndData=function(){return this.data.end},O.prototype.isEnded=function(){return this.getEndData()!=null},O.prototype.isSignificant=function(){return d.composesExistingText?this.inputSummary.didInput:!0},O.prototype.canApplyToDocument=function(){var F,B;return((F=this.data.start)!=null?F.length:void 0)===0&&((B=this.data.end)!=null?B.length:void 0)>0&&this.range!=null},O.proxyMethod("inputController.setInputSummary"),O.proxyMethod("inputController.requestRender"),O.proxyMethod("inputController.requestReparse"),O.proxyMethod("responder?.selectionIsExpanded"),O.proxyMethod("responder?.insertPlaceholder"),O.proxyMethod("responder?.selectPlaceholder"),O.proxyMethod("responder?.forgetPlaceholder"),O}(u.BasicObject)}).call(this),(function(){var c,d,m,f=function(b,w){return function(){return b.apply(w,arguments)}},v=function(b,w){function k(){this.constructor=b}for(var $ in w)g.call(w,$)&&(b[$]=w[$]);return k.prototype=w.prototype,b.prototype=new k,b.__super__=w.prototype,b},g={}.hasOwnProperty,y=[].indexOf||function(b){for(var w=0,k=this.length;k>w;w++)if(w in this&&this[w]===b)return w;return-1};c=u.dataTransferIsPlainText,d=u.keyEventIsKeyboardCommand,m=u.objectsAreEqual,u.Level2InputController=function(b){function w(){return this.render=f(this.render,this),w.__super__.constructor.apply(this,arguments)}var k,$,S,C,E,D;return v(w,b),w.prototype.elementDidMutate=function(){var A;return this.scheduledRender?this.composing&&(A=this.delegate)!=null&&typeof A.inputControllerDidAllowUnhandledInput=="function"?A.inputControllerDidAllowUnhandledInput():void 0:this.reparse()},w.prototype.scheduleRender=function(){return this.scheduledRender!=null?this.scheduledRender:this.scheduledRender=requestAnimationFrame(this.render)},w.prototype.render=function(){var A;return cancelAnimationFrame(this.scheduledRender),this.scheduledRender=null,this.composing||(A=this.delegate)!=null&&A.render(),typeof this.afterRender=="function"&&this.afterRender(),this.afterRender=null},w.prototype.reparse=function(){var A;return(A=this.delegate)!=null?A.reparse():void 0},w.prototype.events={keydown:function(A){var O,F,B,I;if(d(A)){if(O=$(A),(I=this.delegate)!=null?I.inputControllerDidReceiveKeyboardCommand(O):void 0)return A.preventDefault()}else if(B=A.key,A.altKey&&(B+="+Alt"),A.shiftKey&&(B+="+Shift"),F=this.keys[B])return this.withEvent(A,F)},paste:function(A){var O,F,B,I,M,z,q,H,Q;return S(A)?(A.preventDefault(),this.attachFiles(A.clipboardData.files)):C(A)?(A.preventDefault(),F={type:"text/plain",string:A.clipboardData.getData("text/plain")},(B=this.delegate)!=null&&B.inputControllerWillPaste(F),(I=this.responder)!=null&&I.insertString(F.string),this.render(),(M=this.delegate)!=null?M.inputControllerDidPaste(F):void 0):(O=(z=A.clipboardData)!=null?z.getData("URL"):void 0)?(A.preventDefault(),F={type:"text/html",html:this.createLinkHTML(O)},(q=this.delegate)!=null&&q.inputControllerWillPaste(F),(H=this.responder)!=null&&H.insertHTML(F.html),this.render(),(Q=this.delegate)!=null?Q.inputControllerDidPaste(F):void 0):void 0},beforeinput:function(A){var O;return(O=this.inputTypes[A.inputType])?(this.withEvent(A,O),this.scheduleRender()):void 0},input:function(){return u.selectionChangeObserver.reset()},dragstart:function(A){var O,F;return(O=this.responder)!=null&&O.selectionContainsAttachments()?(A.dataTransfer.setData("application/x-trix-dragging",!0),this.dragging={range:(F=this.responder)!=null?F.getSelectedRange():void 0,point:E(A)}):void 0},dragenter:function(A){return k(A)?A.preventDefault():void 0},dragover:function(A){var O,F;if(this.dragging){if(A.preventDefault(),O=E(A),!m(O,this.dragging.point))return this.dragging.point=O,(F=this.responder)!=null?F.setLocationRangeFromPointRange(O):void 0}else if(k(A))return A.preventDefault()},drop:function(A){var O,F,B,I;return this.dragging?(A.preventDefault(),(F=this.delegate)!=null&&F.inputControllerWillMoveText(),(B=this.responder)!=null&&B.moveTextFromRange(this.dragging.range),this.dragging=null,this.scheduleRender()):k(A)?(A.preventDefault(),O=E(A),(I=this.responder)!=null&&I.setLocationRangeFromPointRange(O),this.attachFiles(A.dataTransfer.files)):void 0},dragend:function(){var A;return this.dragging?((A=this.responder)!=null&&A.setSelectedRange(this.dragging.range),this.dragging=null):void 0},compositionend:function(){return this.composing?(this.composing=!1,this.scheduleRender()):void 0}},w.prototype.keys={ArrowLeft:function(){var A,O;return(A=this.responder)!=null&&A.shouldManageMovingCursorInDirection("backward")?(this.event.preventDefault(),(O=this.responder)!=null?O.moveCursorInDirection("backward"):void 0):void 0},ArrowRight:function(){var A,O;return(A=this.responder)!=null&&A.shouldManageMovingCursorInDirection("forward")?(this.event.preventDefault(),(O=this.responder)!=null?O.moveCursorInDirection("forward"):void 0):void 0},Backspace:function(){var A,O,F;return(A=this.responder)!=null&&A.shouldManageDeletingInDirection("backward")?(this.event.preventDefault(),(O=this.delegate)!=null&&O.inputControllerWillPerformTyping(),(F=this.responder)!=null&&F.deleteInDirection("backward"),this.render()):void 0},Tab:function(){var A,O;return(A=this.responder)!=null&&A.canIncreaseNestingLevel()?(this.event.preventDefault(),(O=this.responder)!=null&&O.increaseNestingLevel(),this.render()):void 0},"Tab+Shift":function(){var A,O;return(A=this.responder)!=null&&A.canDecreaseNestingLevel()?(this.event.preventDefault(),(O=this.responder)!=null&&O.decreaseNestingLevel(),this.render()):void 0}},w.prototype.inputTypes={deleteByComposition:function(){return this.deleteInDirection("backward",{recordUndoEntry:!1})},deleteByCut:function(){return this.deleteInDirection("backward")},deleteByDrag:function(){return this.event.preventDefault(),this.withTargetDOMRange(function(){var A;return this.deleteByDragRange=(A=this.responder)!=null?A.getSelectedRange():void 0})},deleteCompositionText:function(){return this.deleteInDirection("backward",{recordUndoEntry:!1})},deleteContent:function(){return this.deleteInDirection("backward")},deleteContentBackward:function(){return this.deleteInDirection("backward")},deleteContentForward:function(){return this.deleteInDirection("forward")},deleteEntireSoftLine:function(){return this.deleteInDirection("forward")},deleteHardLineBackward:function(){return this.deleteInDirection("backward")},deleteHardLineForward:function(){return this.deleteInDirection("forward")},deleteSoftLineBackward:function(){return this.deleteInDirection("backward")},deleteSoftLineForward:function(){return this.deleteInDirection("forward")},deleteWordBackward:function(){return this.deleteInDirection("backward")},deleteWordForward:function(){return this.deleteInDirection("forward")},formatBackColor:function(){return this.activateAttributeIfSupported("backgroundColor",this.event.data)},formatBold:function(){return this.toggleAttributeIfSupported("bold")},formatFontColor:function(){return this.activateAttributeIfSupported("color",this.event.data)},formatFontName:function(){return this.activateAttributeIfSupported("font",this.event.data)},formatIndent:function(){var A;return(A=this.responder)!=null&&A.canIncreaseNestingLevel()?this.withTargetDOMRange(function(){var O;return(O=this.responder)!=null?O.increaseNestingLevel():void 0}):void 0},formatItalic:function(){return this.toggleAttributeIfSupported("italic")},formatJustifyCenter:function(){return this.toggleAttributeIfSupported("justifyCenter")},formatJustifyFull:function(){return this.toggleAttributeIfSupported("justifyFull")},formatJustifyLeft:function(){return this.toggleAttributeIfSupported("justifyLeft")},formatJustifyRight:function(){return this.toggleAttributeIfSupported("justifyRight")},formatOutdent:function(){var A;return(A=this.responder)!=null&&A.canDecreaseNestingLevel()?this.withTargetDOMRange(function(){var O;return(O=this.responder)!=null?O.decreaseNestingLevel():void 0}):void 0},formatRemove:function(){return this.withTargetDOMRange(function(){var A,O,F,B;B=[];for(A in(O=this.responder)!=null?O.getCurrentAttributes():void 0)B.push((F=this.responder)!=null?F.removeCurrentAttribute(A):void 0);return B})},formatSetBlockTextDirection:function(){return this.activateAttributeIfSupported("blockDir",this.event.data)},formatSetInlineTextDirection:function(){return this.activateAttributeIfSupported("textDir",this.event.data)},formatStrikeThrough:function(){return this.toggleAttributeIfSupported("strike")},formatSubscript:function(){return this.toggleAttributeIfSupported("sub")},formatSuperscript:function(){return this.toggleAttributeIfSupported("sup")},formatUnderline:function(){return this.toggleAttributeIfSupported("underline")},historyRedo:function(){var A;return(A=this.delegate)!=null?A.inputControllerWillPerformRedo():void 0},historyUndo:function(){var A;return(A=this.delegate)!=null?A.inputControllerWillPerformUndo():void 0},insertCompositionText:function(){return this.composing=!0,this.insertString(this.event.data)},insertFromComposition:function(){return this.composing=!1,this.insertString(this.event.data)},insertFromDrop:function(){var A,O;return(A=this.deleteByDragRange)?(this.deleteByDragRange=null,(O=this.delegate)!=null&&O.inputControllerWillMoveText(),this.withTargetDOMRange(function(){var F;return(F=this.responder)!=null?F.moveTextFromRange(A):void 0})):void 0},insertFromPaste:function(){var A,O,F,B,I,M,z,q,H,Q,j;return A=this.event.dataTransfer,I={dataTransfer:A},(O=A.getData("URL"))?(this.event.preventDefault(),I.type="text/html",j=(B=A.getData("public.url-name"))?u.squishBreakableWhitespace(B).trim():O,I.html=this.createLinkHTML(O,j),(M=this.delegate)!=null&&M.inputControllerWillPaste(I),this.withTargetDOMRange(function(){var ee;return(ee=this.responder)!=null?ee.insertHTML(I.html):void 0}),this.afterRender=function(ee){return function(){var G;return(G=ee.delegate)!=null?G.inputControllerDidPaste(I):void 0}}(this)):c(A)?(I.type="text/plain",I.string=A.getData("text/plain"),(z=this.delegate)!=null&&z.inputControllerWillPaste(I),this.withTargetDOMRange(function(){var ee;return(ee=this.responder)!=null?ee.insertString(I.string):void 0}),this.afterRender=function(ee){return function(){var G;return(G=ee.delegate)!=null?G.inputControllerDidPaste(I):void 0}}(this)):(F=A.getData("text/html"))?(this.event.preventDefault(),I.type="text/html",I.html=F,(q=this.delegate)!=null&&q.inputControllerWillPaste(I),this.withTargetDOMRange(function(){var ee;return(ee=this.responder)!=null?ee.insertHTML(I.html):void 0}),this.afterRender=function(ee){return function(){var G;return(G=ee.delegate)!=null?G.inputControllerDidPaste(I):void 0}}(this)):(H=A.files)!=null&&H.length?(I.type="File",I.file=A.files[0],(Q=this.delegate)!=null&&Q.inputControllerWillPaste(I),this.withTargetDOMRange(function(){var ee;return(ee=this.responder)!=null?ee.insertFile(I.file):void 0}),this.afterRender=function(ee){return function(){var G;return(G=ee.delegate)!=null?G.inputControllerDidPaste(I):void 0}}(this)):void 0},insertFromYank:function(){return this.insertString(this.event.data)},insertLineBreak:function(){return this.insertString(`
`)},insertLink:function(){return this.activateAttributeIfSupported("href",this.event.data)},insertOrderedList:function(){return this.toggleAttributeIfSupported("number")},insertParagraph:function(){var A;return(A=this.delegate)!=null&&A.inputControllerWillPerformTyping(),this.withTargetDOMRange(function(){var O;return(O=this.responder)!=null?O.insertLineBreak():void 0})},insertReplacementText:function(){return this.insertString(this.event.dataTransfer.getData("text/plain"),{updatePosition:!1})},insertText:function(){var A,O;return this.insertString((A=this.event.data)!=null?A:(O=this.event.dataTransfer)!=null?O.getData("text/plain"):void 0)},insertTranspose:function(){return this.insertString(this.event.data)},insertUnorderedList:function(){return this.toggleAttributeIfSupported("bullet")}},w.prototype.insertString=function(A,O){var F;return A==null&&(A=""),(F=this.delegate)!=null&&F.inputControllerWillPerformTyping(),this.withTargetDOMRange(function(){var B;return(B=this.responder)!=null?B.insertString(A,O):void 0})},w.prototype.toggleAttributeIfSupported=function(A){var O;return y.call(u.getAllAttributeNames(),A)>=0?((O=this.delegate)!=null&&O.inputControllerWillPerformFormatting(A),this.withTargetDOMRange(function(){var F;return(F=this.responder)!=null?F.toggleCurrentAttribute(A):void 0})):void 0},w.prototype.activateAttributeIfSupported=function(A,O){var F;return y.call(u.getAllAttributeNames(),A)>=0?((F=this.delegate)!=null&&F.inputControllerWillPerformFormatting(A),this.withTargetDOMRange(function(){var B;return(B=this.responder)!=null?B.setCurrentAttribute(A,O):void 0})):void 0},w.prototype.deleteInDirection=function(A,O){var F,B,I,M;return I=(O??{recordUndoEntry:!0}).recordUndoEntry,I&&(M=this.delegate)!=null&&M.inputControllerWillPerformTyping(),B=function(z){return function(){var q;return(q=z.responder)!=null?q.deleteInDirection(A):void 0}}(this),(F=this.getTargetDOMRange({minLength:2}))?this.withTargetDOMRange(F,B):B()},w.prototype.withTargetDOMRange=function(A,O){var F;return typeof A=="function"&&(O=A,A=this.getTargetDOMRange()),A?(F=this.responder)!=null?F.withTargetDOMRange(A,O.bind(this)):void 0:(u.selectionChangeObserver.reset(),O.call(this))},w.prototype.getTargetDOMRange=function(A){var O,F,B,I;return B=(A??{minLength:0}).minLength,(I=typeof(O=this.event).getTargetRanges=="function"?O.getTargetRanges():void 0)&&I.length&&(F=D(I[0]),B===0||F.toString().length>=B)?F:void 0},D=function(A){var O;return O=document.createRange(),O.setStart(A.startContainer,A.startOffset),O.setEnd(A.endContainer,A.endOffset),O},w.prototype.withEvent=function(A,O){var F;this.event=A;try{F=O.call(this)}finally{this.event=null}return F},k=function(A){var O,F;return y.call((O=(F=A.dataTransfer)!=null?F.types:void 0)!=null?O:[],"Files")>=0},S=function(A){var O;return(O=A.clipboardData)?y.call(O.types,"Files")>=0&&O.types.length===1&&O.files.length>=1:void 0},C=function(A){var O;return(O=A.clipboardData)?y.call(O.types,"text/plain")>=0&&O.types.length===1:void 0},$=function(A){var O;return O=[],A.altKey&&O.push("alt"),A.shiftKey&&O.push("shift"),O.push(A.key),O},E=function(A){return{x:A.clientX,y:A.clientY}},w}(u.InputController)}).call(this),(function(){var c,d,m,f,v,g,y,b,w=function(S,C){return function(){return S.apply(C,arguments)}},k=function(S,C){function E(){this.constructor=S}for(var D in C)$.call(C,D)&&(S[D]=C[D]);return E.prototype=C.prototype,S.prototype=new E,S.__super__=C.prototype,S},$={}.hasOwnProperty;d=u.defer,m=u.handleEvent,g=u.makeElement,b=u.tagName,y=u.config,v=y.lang,c=y.css,f=y.keyNames,u.AttachmentEditorController=function(S){function C(D,A,O,F){this.attachmentPiece=D,this.element=A,this.container=O,this.options=F??{},this.didBlurCaption=w(this.didBlurCaption,this),this.didChangeCaption=w(this.didChangeCaption,this),this.didInputCaption=w(this.didInputCaption,this),this.didKeyDownCaption=w(this.didKeyDownCaption,this),this.didClickActionButton=w(this.didClickActionButton,this),this.didClickToolbar=w(this.didClickToolbar,this),this.attachment=this.attachmentPiece.attachment,b(this.element)==="a"&&(this.element=this.element.firstChild),this.install()}var E;return k(C,S),E=function(D){return function(){var A;return A=D.apply(this,arguments),A.do(),this.undos==null&&(this.undos=[]),this.undos.push(A.undo)}},C.prototype.install=function(){return this.makeElementMutable(),this.addToolbar(),this.attachment.isPreviewable()?this.installCaptionEditor():void 0},C.prototype.uninstall=function(){var D,A;for(this.savePendingCaption();A=this.undos.pop();)A();return(D=this.delegate)!=null?D.didUninstallAttachmentEditor(this):void 0},C.prototype.savePendingCaption=function(){var D,A,O;return this.pendingCaption!=null?(D=this.pendingCaption,this.pendingCaption=null,D?(A=this.delegate)!=null&&typeof A.attachmentEditorDidRequestUpdatingAttributesForAttachment=="function"?A.attachmentEditorDidRequestUpdatingAttributesForAttachment({caption:D},this.attachment):void 0:(O=this.delegate)!=null&&typeof O.attachmentEditorDidRequestRemovingAttributeForAttachment=="function"?O.attachmentEditorDidRequestRemovingAttributeForAttachment("caption",this.attachment):void 0):void 0},C.prototype.makeElementMutable=E(function(){return{do:function(D){return function(){return D.element.dataset.trixMutable=!0}}(this),undo:function(D){return function(){return delete D.element.dataset.trixMutable}}(this)}}),C.prototype.addToolbar=E(function(){var D;return D=g({tagName:"div",className:c.attachmentToolbar,data:{trixMutable:!0},childNodes:g({tagName:"div",className:"trix-button-row",childNodes:g({tagName:"span",className:"trix-button-group trix-button-group--actions",childNodes:g({tagName:"button",className:"trix-button trix-button--remove",textContent:v.remove,attributes:{title:v.remove},data:{trixAction:"remove"}})})})}),this.attachment.isPreviewable()&&D.appendChild(g({tagName:"div",className:c.attachmentMetadataContainer,childNodes:g({tagName:"span",className:c.attachmentMetadata,childNodes:[g({tagName:"span",className:c.attachmentName,textContent:this.attachment.getFilename(),attributes:{title:this.attachment.getFilename()}}),g({tagName:"span",className:c.attachmentSize,textContent:this.attachment.getFormattedFilesize()})]})})),m("click",{onElement:D,withCallback:this.didClickToolbar}),m("click",{onElement:D,matchingSelector:"[data-trix-action]",withCallback:this.didClickActionButton}),{do:function(A){return function(){return A.element.appendChild(D)}}(this),undo:function(){return function(){return u.removeNode(D)}}()}}),C.prototype.installCaptionEditor=E(function(){var D,A,O,F,B;return F=g({tagName:"textarea",className:c.attachmentCaptionEditor,attributes:{placeholder:v.captionPlaceholder},data:{trixMutable:!0}}),F.value=this.attachmentPiece.getCaption(),B=F.cloneNode(),B.classList.add("trix-autoresize-clone"),B.tabIndex=-1,D=function(){return B.value=F.value,F.style.height=B.scrollHeight+"px"},m("input",{onElement:F,withCallback:D}),m("input",{onElement:F,withCallback:this.didInputCaption}),m("keydown",{onElement:F,withCallback:this.didKeyDownCaption}),m("change",{onElement:F,withCallback:this.didChangeCaption}),m("blur",{onElement:F,withCallback:this.didBlurCaption}),O=this.element.querySelector("figcaption"),A=O.cloneNode(),{do:function(I){return function(){return O.style.display="none",A.appendChild(F),A.appendChild(B),A.classList.add(c.attachmentCaption+"--editing"),O.parentElement.insertBefore(A,O),D(),I.options.editCaption?d(function(){return F.focus()}):void 0}}(this),undo:function(){return u.removeNode(A),O.style.display=null}}}),C.prototype.didClickToolbar=function(D){return D.preventDefault(),D.stopPropagation()},C.prototype.didClickActionButton=function(D){var A;switch(D.target.getAttribute("data-trix-action")){case"remove":return(A=this.delegate)!=null?A.attachmentEditorDidRequestRemovalOfAttachment(this.attachment):void 0}},C.prototype.didKeyDownCaption=function(D){var A;return f[D.keyCode]==="return"?(D.preventDefault(),this.savePendingCaption(),(A=this.delegate)!=null&&typeof A.attachmentEditorDidRequestDeselectingAttachment=="function"?A.attachmentEditorDidRequestDeselectingAttachment(this.attachment):void 0):void 0},C.prototype.didInputCaption=function(D){return this.pendingCaption=D.target.value.replace(/\s/g," ").trim()},C.prototype.didChangeCaption=function(){return this.savePendingCaption()},C.prototype.didBlurCaption=function(){return this.savePendingCaption()},C}(u.BasicObject)}).call(this),(function(){var c,d,m,f=function(g,y){function b(){this.constructor=g}for(var w in y)v.call(y,w)&&(g[w]=y[w]);return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},v={}.hasOwnProperty;m=u.makeElement,c=u.config.css,u.AttachmentView=function(g){function y(){y.__super__.constructor.apply(this,arguments),this.attachment=this.object,this.attachment.uploadProgressDelegate=this,this.attachmentPiece=this.options.piece}var b;return f(y,g),y.attachmentSelector="[data-trix-attachment]",y.prototype.createContentNodes=function(){return[]},y.prototype.createNodes=function(){var w,k,$,S,C,E,D;if(w=S=m({tagName:"figure",className:this.getClassName(),data:this.getData(),editable:!1}),(k=this.getHref())&&(S=m({tagName:"a",editable:!1,attributes:{href:k,tabindex:-1}}),w.appendChild(S)),this.attachment.hasContent())S.innerHTML=this.attachment.getContent();else for(D=this.createContentNodes(),$=0,C=D.length;C>$;$++)E=D[$],S.appendChild(E);return S.appendChild(this.createCaptionElement()),this.attachment.isPending()&&(this.progressElement=m({tagName:"progress",attributes:{class:c.attachmentProgress,value:this.attachment.getUploadProgress(),max:100},data:{trixMutable:!0,trixStoreKey:["progressElement",this.attachment.id].join("/")}}),w.appendChild(this.progressElement)),[b("left"),w,b("right")]},y.prototype.createCaptionElement=function(){var w,k,$,S,C,E,D;return $=m({tagName:"figcaption",className:c.attachmentCaption}),(w=this.attachmentPiece.getCaption())?($.classList.add(c.attachmentCaption+"--edited"),$.textContent=w):(k=this.getCaptionConfig(),k.name&&(S=this.attachment.getFilename()),k.size&&(E=this.attachment.getFormattedFilesize()),S&&(C=m({tagName:"span",className:c.attachmentName,textContent:S}),$.appendChild(C)),E&&(S&&$.appendChild(document.createTextNode(" ")),D=m({tagName:"span",className:c.attachmentSize,textContent:E}),$.appendChild(D))),$},y.prototype.getClassName=function(){var w,k;return k=[c.attachment,c.attachment+"--"+this.attachment.getType()],(w=this.attachment.getExtension())&&k.push(c.attachment+"--"+w),k.join(" ")},y.prototype.getData=function(){var w,k;return k={trixAttachment:JSON.stringify(this.attachment),trixContentType:this.attachment.getContentType(),trixId:this.attachment.id},w=this.attachmentPiece.attributes,w.isEmpty()||(k.trixAttributes=JSON.stringify(w)),this.attachment.isPending()&&(k.trixSerialize=!1),k},y.prototype.getHref=function(){return d(this.attachment.getContent(),"a")?void 0:this.attachment.getHref()},y.prototype.getCaptionConfig=function(){var w,k,$;return $=this.attachment.getType(),w=u.copyObject((k=u.config.attachments[$])!=null?k.caption:void 0),$==="file"&&(w.name=!0),w},y.prototype.findProgressElement=function(){var w;return(w=this.findElement())!=null?w.querySelector("progress"):void 0},b=function(w){return m({tagName:"span",textContent:u.ZERO_WIDTH_SPACE,data:{trixCursorTarget:w,trixSerialize:!1}})},y.prototype.attachmentDidChangeUploadProgress=function(){var w,k;return k=this.attachment.getUploadProgress(),(w=this.findProgressElement())!=null?w.value=k:void 0},y}(u.ObjectView),d=function(g,y){var b;return b=m("div"),b.innerHTML=g??"",b.querySelector(y)}}).call(this),(function(){var c,d=function(f,v){function g(){this.constructor=f}for(var y in v)m.call(v,y)&&(f[y]=v[y]);return g.prototype=v.prototype,f.prototype=new g,f.__super__=v.prototype,f},m={}.hasOwnProperty;c=u.makeElement,u.PreviewableAttachmentView=function(f){function v(){v.__super__.constructor.apply(this,arguments),this.attachment.previewDelegate=this}return d(v,f),v.prototype.createContentNodes=function(){return this.image=c({tagName:"img",attributes:{src:""},data:{trixMutable:!0}}),this.refresh(this.image),[this.image]},v.prototype.createCaptionElement=function(){var g;return g=v.__super__.createCaptionElement.apply(this,arguments),g.textContent||g.setAttribute("data-trix-placeholder",u.config.lang.captionPlaceholder),g},v.prototype.refresh=function(g){var y;return g==null&&(g=(y=this.findElement())!=null?y.querySelector("img"):void 0),g?this.updateAttributesForImage(g):void 0},v.prototype.updateAttributesForImage=function(g){var y,b,w,k,$,S;return $=this.attachment.getURL(),b=this.attachment.getPreviewURL(),g.src=b||$,b===$?g.removeAttribute("data-trix-serialized-attributes"):(w=JSON.stringify({src:$}),g.setAttribute("data-trix-serialized-attributes",w)),S=this.attachment.getWidth(),y=this.attachment.getHeight(),S!=null&&(g.width=S),y!=null&&(g.height=y),k=["imageElement",this.attachment.id,g.src,g.width,g.height].join("/"),g.dataset.trixStoreKey=k},v.prototype.attachmentDidChangeAttributes=function(){return this.refresh(this.image),this.refresh()},v}(u.AttachmentView)}).call(this),(function(){var c,d,m,f=function(g,y){function b(){this.constructor=g}for(var w in y)v.call(y,w)&&(g[w]=y[w]);return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},v={}.hasOwnProperty;m=u.makeElement,c=u.findInnerElement,d=u.getTextConfig,u.PieceView=function(g){function y(){var w;y.__super__.constructor.apply(this,arguments),this.piece=this.object,this.attributes=this.piece.getAttributes(),w=this.options,this.textConfig=w.textConfig,this.context=w.context,this.piece.attachment?this.attachment=this.piece.attachment:this.string=this.piece.toString()}var b;return f(y,g),y.prototype.createNodes=function(){var w,k,$,S,C,E;if(E=this.attachment?this.createAttachmentNodes():this.createStringNodes(),w=this.createElement()){for($=c(w),k=0,S=E.length;S>k;k++)C=E[k],$.appendChild(C);E=[w]}return E},y.prototype.createAttachmentNodes=function(){var w,k;return w=this.attachment.isPreviewable()?u.PreviewableAttachmentView:u.AttachmentView,k=this.createChildView(w,this.piece.attachment,{piece:this.piece}),k.getNodes()},y.prototype.createStringNodes=function(){var w,k,$,S,C,E,D,A,O;if((D=this.textConfig)!=null&&D.plaintext)return[document.createTextNode(this.string)];for(E=[],A=this.string.split(`
`),$=k=0,S=A.length;S>k;$=++k)O=A[$],$>0&&(w=m("br"),E.push(w)),O.length&&(C=document.createTextNode(this.preserveSpaces(O)),E.push(C));return E},y.prototype.createElement=function(){var w,k,$,S,C,E,D,A,O;A={},E=this.attributes;for(S in E)if(O=E[S],(w=d(S))&&(w.tagName&&(C=m(w.tagName),$?($.appendChild(C),$=C):k=$=C),w.styleProperty&&(A[w.styleProperty]=O),w.style)){D=w.style;for(S in D)O=D[S],A[S]=O}if(Object.keys(A).length){k==null&&(k=m("span"));for(S in A)O=A[S],k.style[S]=O}return k},y.prototype.createContainerElement=function(){var w,k,$,S,C;S=this.attributes;for($ in S)if(C=S[$],(k=d($))&&k.groupTagName)return w={},w[$]=C,m(k.groupTagName,w)},b=u.NON_BREAKING_SPACE,y.prototype.preserveSpaces=function(w){return this.context.isLast&&(w=w.replace(/\ $/,b)),w=w.replace(/(\S)\ {3}(\S)/g,"$1 "+b+" $2").replace(/\ {2}/g,b+" ").replace(/\ {2}/g," "+b),(this.context.isFirst||this.context.followsWhitespace)&&(w=w.replace(/^\ /,b)),w},y}(u.ObjectView)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.TextView=function(m){function f(){f.__super__.constructor.apply(this,arguments),this.text=this.object,this.textConfig=this.options.textConfig}var v;return c(f,m),f.prototype.createNodes=function(){var g,y,b,w,k,$,S,C,E,D;for($=[],C=u.ObjectGroup.groupObjects(this.getPieces()),w=C.length-1,b=y=0,k=C.length;k>y;b=++y)S=C[b],g={},b===0&&(g.isFirst=!0),b===w&&(g.isLast=!0),v(E)&&(g.followsWhitespace=!0),D=this.findOrCreateCachedChildView(u.PieceView,S,{textConfig:this.textConfig,context:g}),$.push.apply($,D.getNodes()),E=S;return $},f.prototype.getPieces=function(){var g,y,b,w,k;for(w=this.text.getPieces(),k=[],g=0,y=w.length;y>g;g++)b=w[g],b.hasAttribute("blockBreak")||k.push(b);return k},v=function(g){return/\s$/.test(g!=null?g.toString():void 0)},f}(u.ObjectView)}).call(this),(function(){var c,d,m,f=function(g,y){function b(){this.constructor=g}for(var w in y)v.call(y,w)&&(g[w]=y[w]);return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},v={}.hasOwnProperty;m=u.makeElement,d=u.getBlockConfig,c=u.config.css,u.BlockView=function(g){function y(){y.__super__.constructor.apply(this,arguments),this.block=this.object,this.attributes=this.block.getAttributes()}return f(y,g),y.prototype.createNodes=function(){var b,w,k,$,S,C,E,D,A,O,F;if(w=document.createComment("block"),E=[w],this.block.isEmpty()?E.push(m("br")):(O=(D=d(this.block.getLastAttribute()))!=null?D.text:void 0,F=this.findOrCreateCachedChildView(u.TextView,this.block.text,{textConfig:O}),E.push.apply(E,F.getNodes()),this.shouldAddExtraNewlineElement()&&E.push(m("br"))),this.attributes.length)return E;for(A=u.config.blockAttributes.default.tagName,this.block.isRTL()&&(b={dir:"rtl"}),k=m({tagName:A,attributes:b}),$=0,S=E.length;S>$;$++)C=E[$],k.appendChild(C);return[k]},y.prototype.createContainerElement=function(b){var w,k,$,S,C;return w=this.attributes[b],C=d(w).tagName,b===0&&this.block.isRTL()&&(k={dir:"rtl"}),w==="attachmentGallery"&&(S=this.block.getBlockBreakPosition(),$=c.attachmentGallery+" "+c.attachmentGallery+"--"+S),m({tagName:C,className:$,attributes:k})},y.prototype.shouldAddExtraNewlineElement=function(){return/\n\n$/.test(this.block.toString())},y}(u.ObjectView)}).call(this),(function(){var c,d,m=function(v,g){function y(){this.constructor=v}for(var b in g)f.call(g,b)&&(v[b]=g[b]);return y.prototype=g.prototype,v.prototype=new y,v.__super__=g.prototype,v},f={}.hasOwnProperty;c=u.defer,d=u.makeElement,u.DocumentView=function(v){function g(){g.__super__.constructor.apply(this,arguments),this.element=this.options.element,this.elementStore=new u.ElementStore,this.setDocument(this.object)}var y,b,w;return m(g,v),g.render=function(k){var $,S;return $=d("div"),S=new this(k,{element:$}),S.render(),S.sync(),$},g.prototype.setDocument=function(k){return k.isEqualTo(this.document)?void 0:this.document=this.object=k},g.prototype.render=function(){var k,$,S,C,E,D,A;if(this.childViews=[],this.shadowElement=d("div"),!this.document.isEmpty()){for(E=u.ObjectGroup.groupObjects(this.document.getBlocks(),{asTree:!0}),D=[],k=0,$=E.length;$>k;k++)C=E[k],A=this.findOrCreateCachedChildView(u.BlockView,C),D.push((function(){var O,F,B,I;for(B=A.getNodes(),I=[],O=0,F=B.length;F>O;O++)S=B[O],I.push(this.shadowElement.appendChild(S));return I}).call(this));return D}},g.prototype.isSynced=function(){return y(this.shadowElement,this.element)},g.prototype.sync=function(){var k;for(k=this.createDocumentFragmentForSync();this.element.lastChild;)this.element.removeChild(this.element.lastChild);return this.element.appendChild(k),this.didSync()},g.prototype.didSync=function(){return this.elementStore.reset(b(this.element)),c(function(k){return function(){return k.garbageCollectCachedViews()}}(this))},g.prototype.createDocumentFragmentForSync=function(){var k,$,S,C,E,D,A,O,F,B;for($=document.createDocumentFragment(),O=this.shadowElement.childNodes,S=0,E=O.length;E>S;S++)A=O[S],$.appendChild(A.cloneNode(!0));for(F=b($),C=0,D=F.length;D>C;C++)k=F[C],(B=this.elementStore.remove(k))&&k.parentNode.replaceChild(B,k);return $},b=function(k){return k.querySelectorAll("[data-trix-store-key]")},y=function(k,$){return w(k.innerHTML)===w($.innerHTML)},w=function(k){return k.replace(/&nbsp;/g," ")},g}(u.ObjectView)}).call(this),(function(){var c,d,m,f,v,g=function(w,k){return function(){return w.apply(k,arguments)}},y=function(w,k){function $(){this.constructor=w}for(var S in k)b.call(k,S)&&(w[S]=k[S]);return $.prototype=k.prototype,w.prototype=new $,w.__super__=k.prototype,w},b={}.hasOwnProperty;m=u.findClosestElementFromNode,f=u.handleEvent,v=u.innerElementIsActive,d=u.defer,c=u.AttachmentView.attachmentSelector,u.CompositionController=function(w){function k($,S){this.element=$,this.composition=S,this.didClickAttachment=g(this.didClickAttachment,this),this.didBlur=g(this.didBlur,this),this.didFocus=g(this.didFocus,this),this.documentView=new u.DocumentView(this.composition.document,{element:this.element}),f("focus",{onElement:this.element,withCallback:this.didFocus}),f("blur",{onElement:this.element,withCallback:this.didBlur}),f("click",{onElement:this.element,matchingSelector:"a[contenteditable=false]",preventDefault:!0}),f("mousedown",{onElement:this.element,matchingSelector:c,withCallback:this.didClickAttachment}),f("click",{onElement:this.element,matchingSelector:"a"+c,preventDefault:!0})}return y(k,w),k.prototype.didFocus=function(){var $,S,C;return $=function(E){return function(){var D;return E.focused?void 0:(E.focused=!0,(D=E.delegate)!=null&&typeof D.compositionControllerDidFocus=="function"?D.compositionControllerDidFocus():void 0)}}(this),(S=(C=this.blurPromise)!=null?C.then($):void 0)!=null?S:$()},k.prototype.didBlur=function(){return this.blurPromise=new Promise(function($){return function(S){return d(function(){var C;return v($.element)||($.focused=null,(C=$.delegate)!=null&&typeof C.compositionControllerDidBlur=="function"&&C.compositionControllerDidBlur()),$.blurPromise=null,S()})}}(this))},k.prototype.didClickAttachment=function($,S){var C,E,D;return C=this.findAttachmentForElement(S),E=m($.target,{matchingSelector:"figcaption"})!=null,(D=this.delegate)!=null&&typeof D.compositionControllerDidSelectAttachment=="function"?D.compositionControllerDidSelectAttachment(C,{editCaption:E}):void 0},k.prototype.getSerializableElement=function(){return this.isEditingAttachment()?this.documentView.shadowElement:this.element},k.prototype.render=function(){var $,S,C;return this.revision!==this.composition.revision&&(this.documentView.setDocument(this.composition.document),this.documentView.render(),this.revision=this.composition.revision),this.canSyncDocumentView()&&!this.documentView.isSynced()&&(($=this.delegate)!=null&&typeof $.compositionControllerWillSyncDocumentView=="function"&&$.compositionControllerWillSyncDocumentView(),this.documentView.sync(),(S=this.delegate)!=null&&typeof S.compositionControllerDidSyncDocumentView=="function"&&S.compositionControllerDidSyncDocumentView()),(C=this.delegate)!=null&&typeof C.compositionControllerDidRender=="function"?C.compositionControllerDidRender():void 0},k.prototype.rerenderViewForObject=function($){return this.invalidateViewForObject($),this.render()},k.prototype.invalidateViewForObject=function($){return this.documentView.invalidateViewForObject($)},k.prototype.isViewCachingEnabled=function(){return this.documentView.isViewCachingEnabled()},k.prototype.enableViewCaching=function(){return this.documentView.enableViewCaching()},k.prototype.disableViewCaching=function(){return this.documentView.disableViewCaching()},k.prototype.refreshViewCache=function(){return this.documentView.garbageCollectCachedViews()},k.prototype.isEditingAttachment=function(){return this.attachmentEditor!=null},k.prototype.installAttachmentEditorForAttachment=function($,S){var C,E,D;if(((D=this.attachmentEditor)!=null?D.attachment:void 0)!==$&&(E=this.documentView.findElementForObject($)))return this.uninstallAttachmentEditor(),C=this.composition.document.getAttachmentPieceForAttachment($),this.attachmentEditor=new u.AttachmentEditorController(C,E,this.element,S),this.attachmentEditor.delegate=this},k.prototype.uninstallAttachmentEditor=function(){var $;return($=this.attachmentEditor)!=null?$.uninstall():void 0},k.prototype.didUninstallAttachmentEditor=function(){return this.attachmentEditor=null,this.render()},k.prototype.attachmentEditorDidRequestUpdatingAttributesForAttachment=function($,S){var C;return(C=this.delegate)!=null&&typeof C.compositionControllerWillUpdateAttachment=="function"&&C.compositionControllerWillUpdateAttachment(S),this.composition.updateAttributesForAttachment($,S)},k.prototype.attachmentEditorDidRequestRemovingAttributeForAttachment=function($,S){var C;return(C=this.delegate)!=null&&typeof C.compositionControllerWillUpdateAttachment=="function"&&C.compositionControllerWillUpdateAttachment(S),this.composition.removeAttributeForAttachment($,S)},k.prototype.attachmentEditorDidRequestRemovalOfAttachment=function($){var S;return(S=this.delegate)!=null&&typeof S.compositionControllerDidRequestRemovalOfAttachment=="function"?S.compositionControllerDidRequestRemovalOfAttachment($):void 0},k.prototype.attachmentEditorDidRequestDeselectingAttachment=function($){var S;return(S=this.delegate)!=null&&typeof S.compositionControllerDidRequestDeselectingAttachment=="function"?S.compositionControllerDidRequestDeselectingAttachment($):void 0},k.prototype.canSyncDocumentView=function(){return!this.isEditingAttachment()},k.prototype.findAttachmentForElement=function($){return this.composition.document.getAttachmentById(parseInt($.dataset.trixId,10))},k}(u.BasicObject)}).call(this),(function(){var c,d,m,f=function(y,b){return function(){return y.apply(b,arguments)}},v=function(y,b){function w(){this.constructor=y}for(var k in b)g.call(b,k)&&(y[k]=b[k]);return w.prototype=b.prototype,y.prototype=new w,y.__super__=b.prototype,y},g={}.hasOwnProperty;d=u.handleEvent,m=u.triggerEvent,c=u.findClosestElementFromNode,u.ToolbarController=function(y){function b(I){this.element=I,this.didKeyDownDialogInput=f(this.didKeyDownDialogInput,this),this.didClickDialogButton=f(this.didClickDialogButton,this),this.didClickAttributeButton=f(this.didClickAttributeButton,this),this.didClickActionButton=f(this.didClickActionButton,this),this.attributes={},this.actions={},this.resetDialogInputs(),d("mousedown",{onElement:this.element,matchingSelector:w,withCallback:this.didClickActionButton}),d("mousedown",{onElement:this.element,matchingSelector:$,withCallback:this.didClickAttributeButton}),d("click",{onElement:this.element,matchingSelector:B,preventDefault:!0}),d("click",{onElement:this.element,matchingSelector:S,withCallback:this.didClickDialogButton}),d("keydown",{onElement:this.element,matchingSelector:C,withCallback:this.didKeyDownDialogInput})}var w,k,$,S,C,E,D,A,O,F,B;return v(b,y),$="[data-trix-attribute]",w="[data-trix-action]",B=$+", "+w,E="[data-trix-dialog]",k=E+"[data-trix-active]",S=E+" [data-trix-method]",C=E+" [data-trix-input]",b.prototype.didClickActionButton=function(I,M){var z,q,H;return(q=this.delegate)!=null&&q.toolbarDidClickButton(),I.preventDefault(),z=D(M),this.getDialog(z)?this.toggleDialog(z):(H=this.delegate)!=null?H.toolbarDidInvokeAction(z):void 0},b.prototype.didClickAttributeButton=function(I,M){var z,q,H;return(q=this.delegate)!=null&&q.toolbarDidClickButton(),I.preventDefault(),z=A(M),this.getDialog(z)?this.toggleDialog(z):(H=this.delegate)!=null&&H.toolbarDidToggleAttribute(z),this.refreshAttributeButtons()},b.prototype.didClickDialogButton=function(I,M){var z,q;return z=c(M,{matchingSelector:E}),q=M.getAttribute("data-trix-method"),this[q].call(this,z)},b.prototype.didKeyDownDialogInput=function(I,M){var z,q;return I.keyCode===13&&(I.preventDefault(),z=M.getAttribute("name"),q=this.getDialog(z),this.setAttribute(q)),I.keyCode===27?(I.preventDefault(),this.hideDialog()):void 0},b.prototype.updateActions=function(I){return this.actions=I,this.refreshActionButtons()},b.prototype.refreshActionButtons=function(){return this.eachActionButton(function(I){return function(M,z){return M.disabled=I.actions[z]===!1}}(this))},b.prototype.eachActionButton=function(I){var M,z,q,H,Q;for(H=this.element.querySelectorAll(w),Q=[],z=0,q=H.length;q>z;z++)M=H[z],Q.push(I(M,D(M)));return Q},b.prototype.updateAttributes=function(I){return this.attributes=I,this.refreshAttributeButtons()},b.prototype.refreshAttributeButtons=function(){return this.eachAttributeButton(function(I){return function(M,z){return M.disabled=I.attributes[z]===!1,I.attributes[z]||I.dialogIsVisible(z)?(M.setAttribute("data-trix-active",""),M.classList.add("trix-active")):(M.removeAttribute("data-trix-active"),M.classList.remove("trix-active"))}}(this))},b.prototype.eachAttributeButton=function(I){var M,z,q,H,Q;for(H=this.element.querySelectorAll($),Q=[],z=0,q=H.length;q>z;z++)M=H[z],Q.push(I(M,A(M)));return Q},b.prototype.applyKeyboardCommand=function(I){var M,z,q,H,Q,j,ee;for(Q=JSON.stringify(I.sort()),ee=this.element.querySelectorAll("[data-trix-key]"),H=0,j=ee.length;j>H;H++)if(M=ee[H],q=M.getAttribute("data-trix-key").split("+"),z=JSON.stringify(q.sort()),z===Q)return m("mousedown",{onElement:M}),!0;return!1},b.prototype.dialogIsVisible=function(I){var M;return(M=this.getDialog(I))?M.hasAttribute("data-trix-active"):void 0},b.prototype.toggleDialog=function(I){return this.dialogIsVisible(I)?this.hideDialog():this.showDialog(I)},b.prototype.showDialog=function(I){var M,z,q,H,Q,j,ee,G,J,te;for(this.hideDialog(),(ee=this.delegate)!=null&&ee.toolbarWillShowDialog(),q=this.getDialog(I),q.setAttribute("data-trix-active",""),q.classList.add("trix-active"),G=q.querySelectorAll("input[disabled]"),H=0,j=G.length;j>H;H++)z=G[H],z.removeAttribute("disabled");return(M=A(q))&&(Q=F(q,I))&&(Q.value=(J=this.attributes[M])!=null?J:"",Q.select()),(te=this.delegate)!=null?te.toolbarDidShowDialog(I):void 0},b.prototype.setAttribute=function(I){var M,z,q;return M=A(I),z=F(I,M),z.willValidate&&!z.checkValidity()?(z.setAttribute("data-trix-validate",""),z.classList.add("trix-validate"),z.focus()):((q=this.delegate)!=null&&q.toolbarDidUpdateAttribute(M,z.value),this.hideDialog())},b.prototype.removeAttribute=function(I){var M,z;return M=A(I),(z=this.delegate)!=null&&z.toolbarDidRemoveAttribute(M),this.hideDialog()},b.prototype.hideDialog=function(){var I,M;return(I=this.element.querySelector(k))?(I.removeAttribute("data-trix-active"),I.classList.remove("trix-active"),this.resetDialogInputs(),(M=this.delegate)!=null?M.toolbarDidHideDialog(O(I)):void 0):void 0},b.prototype.resetDialogInputs=function(){var I,M,z,q,H;for(q=this.element.querySelectorAll(C),H=[],I=0,z=q.length;z>I;I++)M=q[I],M.setAttribute("disabled","disabled"),M.removeAttribute("data-trix-validate"),H.push(M.classList.remove("trix-validate"));return H},b.prototype.getDialog=function(I){return this.element.querySelector("[data-trix-dialog="+I+"]")},F=function(I,M){return M==null&&(M=A(I)),I.querySelector("[data-trix-input][name='"+M+"']")},D=function(I){return I.getAttribute("data-trix-action")},A=function(I){var M;return(M=I.getAttribute("data-trix-attribute"))!=null?M:I.getAttribute("data-trix-dialog-attribute")},O=function(I){return I.getAttribute("data-trix-dialog")},b}(u.BasicObject)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.ImagePreloadOperation=function(m){function f(v){this.url=v}return c(f,m),f.prototype.perform=function(v){var g;return g=new Image,g.onload=function(y){return function(){return g.width=y.width=g.naturalWidth,g.height=y.height=g.naturalHeight,v(!0,g)}}(this),g.onerror=function(){return v(!1)},g.src=this.url},f}(u.Operation)}).call(this),(function(){var c=function(f,v){return function(){return f.apply(v,arguments)}},d=function(f,v){function g(){this.constructor=f}for(var y in v)m.call(v,y)&&(f[y]=v[y]);return g.prototype=v.prototype,f.prototype=new g,f.__super__=v.prototype,f},m={}.hasOwnProperty;u.Attachment=function(f){function v(g){g==null&&(g={}),this.releaseFile=c(this.releaseFile,this),v.__super__.constructor.apply(this,arguments),this.attributes=u.Hash.box(g),this.didChangeAttributes()}return d(v,f),v.previewablePattern=/^image(\/(gif|png|jpe?g)|$)/,v.attachmentForFile=function(g){var y,b;return b=this.attributesForFile(g),y=new this(b),y.setFile(g),y},v.attributesForFile=function(g){return new u.Hash({filename:g.name,filesize:g.size,contentType:g.type})},v.fromJSON=function(g){return new this(g)},v.prototype.getAttribute=function(g){return this.attributes.get(g)},v.prototype.hasAttribute=function(g){return this.attributes.has(g)},v.prototype.getAttributes=function(){return this.attributes.toObject()},v.prototype.setAttributes=function(g){var y,b,w;return g==null&&(g={}),y=this.attributes.merge(g),this.attributes.isEqualTo(y)?void 0:(this.attributes=y,this.didChangeAttributes(),(b=this.previewDelegate)!=null&&typeof b.attachmentDidChangeAttributes=="function"&&b.attachmentDidChangeAttributes(this),(w=this.delegate)!=null&&typeof w.attachmentDidChangeAttributes=="function"?w.attachmentDidChangeAttributes(this):void 0)},v.prototype.didChangeAttributes=function(){return this.isPreviewable()?this.preloadURL():void 0},v.prototype.isPending=function(){return this.file!=null&&!(this.getURL()||this.getHref())},v.prototype.isPreviewable=function(){return this.attributes.has("previewable")?this.attributes.get("previewable"):this.constructor.previewablePattern.test(this.getContentType())},v.prototype.getType=function(){return this.hasContent()?"content":this.isPreviewable()?"preview":"file"},v.prototype.getURL=function(){return this.attributes.get("url")},v.prototype.getHref=function(){return this.attributes.get("href")},v.prototype.getFilename=function(){var g;return(g=this.attributes.get("filename"))!=null?g:""},v.prototype.getFilesize=function(){return this.attributes.get("filesize")},v.prototype.getFormattedFilesize=function(){var g;return g=this.attributes.get("filesize"),typeof g=="number"?u.config.fileSize.formatter(g):""},v.prototype.getExtension=function(){var g;return(g=this.getFilename().match(/\.(\w+)$/))!=null?g[1].toLowerCase():void 0},v.prototype.getContentType=function(){return this.attributes.get("contentType")},v.prototype.hasContent=function(){return this.attributes.has("content")},v.prototype.getContent=function(){return this.attributes.get("content")},v.prototype.getWidth=function(){return this.attributes.get("width")},v.prototype.getHeight=function(){return this.attributes.get("height")},v.prototype.getFile=function(){return this.file},v.prototype.setFile=function(g){return this.file=g,this.isPreviewable()?this.preloadFile():void 0},v.prototype.releaseFile=function(){return this.releasePreloadedFile(),this.file=null},v.prototype.getUploadProgress=function(){var g;return(g=this.uploadProgress)!=null?g:0},v.prototype.setUploadProgress=function(g){var y;return this.uploadProgress!==g?(this.uploadProgress=g,(y=this.uploadProgressDelegate)!=null&&typeof y.attachmentDidChangeUploadProgress=="function"?y.attachmentDidChangeUploadProgress(this):void 0):void 0},v.prototype.toJSON=function(){return this.getAttributes()},v.prototype.getCacheKey=function(){return[v.__super__.getCacheKey.apply(this,arguments),this.attributes.getCacheKey(),this.getPreviewURL()].join("/")},v.prototype.getPreviewURL=function(){return this.previewURL||this.preloadingURL},v.prototype.setPreviewURL=function(g){var y,b;return g!==this.getPreviewURL()?(this.previewURL=g,(y=this.previewDelegate)!=null&&typeof y.attachmentDidChangeAttributes=="function"&&y.attachmentDidChangeAttributes(this),(b=this.delegate)!=null&&typeof b.attachmentDidChangePreviewURL=="function"?b.attachmentDidChangePreviewURL(this):void 0):void 0},v.prototype.preloadURL=function(){return this.preload(this.getURL(),this.releaseFile)},v.prototype.preloadFile=function(){return this.file?(this.fileObjectURL=URL.createObjectURL(this.file),this.preload(this.fileObjectURL)):void 0},v.prototype.releasePreloadedFile=function(){return this.fileObjectURL?(URL.revokeObjectURL(this.fileObjectURL),this.fileObjectURL=null):void 0},v.prototype.preload=function(g,y){var b;return g&&g!==this.getPreviewURL()?(this.preloadingURL=g,b=new u.ImagePreloadOperation(g),b.then(function(w){return function(k){var $,S;return S=k.width,$=k.height,w.getWidth()&&w.getHeight()||w.setAttributes({width:S,height:$}),w.preloadingURL=null,w.setPreviewURL(g),typeof y=="function"?y():void 0}}(this)).catch(function(w){return function(){return w.preloadingURL=null,typeof y=="function"?y():void 0}}(this))):void 0},v}(u.Object)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Piece=function(m){function f(v,g){g==null&&(g={}),f.__super__.constructor.apply(this,arguments),this.attributes=u.Hash.box(g)}return c(f,m),f.types={},f.registerType=function(v,g){return g.type=v,this.types[v]=g},f.fromJSON=function(v){var g;return(g=this.types[v.type])?g.fromJSON(v):void 0},f.prototype.copyWithAttributes=function(v){return new this.constructor(this.getValue(),v)},f.prototype.copyWithAdditionalAttributes=function(v){return this.copyWithAttributes(this.attributes.merge(v))},f.prototype.copyWithoutAttribute=function(v){return this.copyWithAttributes(this.attributes.remove(v))},f.prototype.copy=function(){return this.copyWithAttributes(this.attributes)},f.prototype.getAttribute=function(v){return this.attributes.get(v)},f.prototype.getAttributesHash=function(){return this.attributes},f.prototype.getAttributes=function(){return this.attributes.toObject()},f.prototype.getCommonAttributes=function(){var v,g,y;return(y=pieceList.getPieceAtIndex(0))?(v=y.attributes,g=v.getKeys(),pieceList.eachPiece(function(b){return g=v.getKeysCommonToHash(b.attributes),v=v.slice(g)}),v.toObject()):{}},f.prototype.hasAttribute=function(v){return this.attributes.has(v)},f.prototype.hasSameStringValueAsPiece=function(v){return v!=null&&this.toString()===v.toString()},f.prototype.hasSameAttributesAsPiece=function(v){return v!=null&&(this.attributes===v.attributes||this.attributes.isEqualTo(v.attributes))},f.prototype.isBlockBreak=function(){return!1},f.prototype.isEqualTo=function(v){return f.__super__.isEqualTo.apply(this,arguments)||this.hasSameConstructorAs(v)&&this.hasSameStringValueAsPiece(v)&&this.hasSameAttributesAsPiece(v)},f.prototype.isEmpty=function(){return this.length===0},f.prototype.isSerializable=function(){return!0},f.prototype.toJSON=function(){return{type:this.constructor.type,attributes:this.getAttributes()}},f.prototype.contentsForInspection=function(){return{type:this.constructor.type,attributes:this.attributes.inspect()}},f.prototype.canBeGrouped=function(){return this.hasAttribute("href")},f.prototype.canBeGroupedWith=function(v){return this.getAttribute("href")===v.getAttribute("href")},f.prototype.getLength=function(){return this.length},f.prototype.canBeConsolidatedWith=function(){return!1},f}(u.Object)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Piece.registerType("attachment",u.AttachmentPiece=function(m){function f(v){this.attachment=v,f.__super__.constructor.apply(this,arguments),this.length=1,this.ensureAttachmentExclusivelyHasAttribute("href"),this.attachment.hasContent()||this.removeProhibitedAttributes()}return c(f,m),f.fromJSON=function(v){return new this(u.Attachment.fromJSON(v.attachment),v.attributes)},f.permittedAttributes=["caption","presentation"],f.prototype.ensureAttachmentExclusivelyHasAttribute=function(v){return this.hasAttribute(v)?(this.attachment.hasAttribute(v)||this.attachment.setAttributes(this.attributes.slice(v)),this.attributes=this.attributes.remove(v)):void 0},f.prototype.removeProhibitedAttributes=function(){var v;return v=this.attributes.slice(this.constructor.permittedAttributes),v.isEqualTo(this.attributes)?void 0:this.attributes=v},f.prototype.getValue=function(){return this.attachment},f.prototype.isSerializable=function(){return!this.attachment.isPending()},f.prototype.getCaption=function(){var v;return(v=this.attributes.get("caption"))!=null?v:""},f.prototype.isEqualTo=function(v){var g;return f.__super__.isEqualTo.apply(this,arguments)&&this.attachment.id===(v!=null&&(g=v.attachment)!=null?g.id:void 0)},f.prototype.toString=function(){return u.OBJECT_REPLACEMENT_CHARACTER},f.prototype.toJSON=function(){var v;return v=f.__super__.toJSON.apply(this,arguments),v.attachment=this.attachment,v},f.prototype.getCacheKey=function(){return[f.__super__.getCacheKey.apply(this,arguments),this.attachment.getCacheKey()].join("/")},f.prototype.toConsole=function(){return JSON.stringify(this.toString())},f}(u.Piece))}).call(this),(function(){var c,d=function(f,v){function g(){this.constructor=f}for(var y in v)m.call(v,y)&&(f[y]=v[y]);return g.prototype=v.prototype,f.prototype=new g,f.__super__=v.prototype,f},m={}.hasOwnProperty;c=u.normalizeNewlines,u.Piece.registerType("string",u.StringPiece=function(f){function v(g){v.__super__.constructor.apply(this,arguments),this.string=c(g),this.length=this.string.length}return d(v,f),v.fromJSON=function(g){return new this(g.string,g.attributes)},v.prototype.getValue=function(){return this.string},v.prototype.toString=function(){return this.string.toString()},v.prototype.isBlockBreak=function(){return this.toString()===`
`&&this.getAttribute("blockBreak")===!0},v.prototype.toJSON=function(){var g;return g=v.__super__.toJSON.apply(this,arguments),g.string=this.string,g},v.prototype.canBeConsolidatedWith=function(g){return g!=null&&this.hasSameConstructorAs(g)&&this.hasSameAttributesAsPiece(g)},v.prototype.consolidateWith=function(g){return new this.constructor(this.toString()+g.toString(),this.attributes)},v.prototype.splitAtOffset=function(g){var y,b;return g===0?(y=null,b=this):g===this.length?(y=this,b=null):(y=new this.constructor(this.string.slice(0,g),this.attributes),b=new this.constructor(this.string.slice(g),this.attributes)),[y,b]},v.prototype.toConsole=function(){var g;return g=this.string,g.length>15&&(g=g.slice(0,14)+"…"),JSON.stringify(g.toString())},v}(u.Piece))}).call(this),(function(){var c,d=function(v,g){function y(){this.constructor=v}for(var b in g)m.call(g,b)&&(v[b]=g[b]);return y.prototype=g.prototype,v.prototype=new y,v.__super__=g.prototype,v},m={}.hasOwnProperty,f=[].slice;c=u.spliceArray,u.SplittableList=function(v){function g(k){k==null&&(k=[]),g.__super__.constructor.apply(this,arguments),this.objects=k.slice(0),this.length=this.objects.length}var y,b,w;return d(g,v),g.box=function(k){return k instanceof this?k:new this(k)},g.prototype.indexOf=function(k){return this.objects.indexOf(k)},g.prototype.splice=function(){var k;return k=1<=arguments.length?f.call(arguments,0):[],new this.constructor(c.apply(null,[this.objects].concat(f.call(k))))},g.prototype.eachObject=function(k){var $,S,C,E,D,A;for(D=this.objects,A=[],S=$=0,C=D.length;C>$;S=++$)E=D[S],A.push(k(E,S));return A},g.prototype.insertObjectAtIndex=function(k,$){return this.splice($,0,k)},g.prototype.insertSplittableListAtIndex=function(k,$){return this.splice.apply(this,[$,0].concat(f.call(k.objects)))},g.prototype.insertSplittableListAtPosition=function(k,$){var S,C,E;return E=this.splitObjectAtPosition($),C=E[0],S=E[1],new this.constructor(C).insertSplittableListAtIndex(k,S)},g.prototype.editObjectAtIndex=function(k,$){return this.replaceObjectAtIndex($(this.objects[k]),k)},g.prototype.replaceObjectAtIndex=function(k,$){return this.splice($,1,k)},g.prototype.removeObjectAtIndex=function(k){return this.splice(k,1)},g.prototype.getObjectAtIndex=function(k){return this.objects[k]},g.prototype.getSplittableListInRange=function(k){var $,S,C,E;return C=this.splitObjectsAtRange(k),S=C[0],$=C[1],E=C[2],new this.constructor(S.slice($,E+1))},g.prototype.selectSplittableList=function(k){var $,S;return S=(function(){var C,E,D,A;for(D=this.objects,A=[],C=0,E=D.length;E>C;C++)$=D[C],k($)&&A.push($);return A}).call(this),new this.constructor(S)},g.prototype.removeObjectsInRange=function(k){var $,S,C,E;return C=this.splitObjectsAtRange(k),S=C[0],$=C[1],E=C[2],new this.constructor(S).splice($,E-$+1)},g.prototype.transformObjectsInRange=function(k,$){var S,C,E,D,A,O,F;return A=this.splitObjectsAtRange(k),D=A[0],C=A[1],O=A[2],F=function(){var B,I,M;for(M=[],S=B=0,I=D.length;I>B;S=++B)E=D[S],M.push(S>=C&&O>=S?$(E):E);return M}(),new this.constructor(F)},g.prototype.splitObjectsAtRange=function(k){var $,S,C,E,D,A;return E=this.splitObjectAtPosition(w(k)),S=E[0],$=E[1],C=E[2],D=new this.constructor(S).splitObjectAtPosition(y(k)+C),S=D[0],A=D[1],[S,$,A-1]},g.prototype.getObjectAtPosition=function(k){var $,S;return S=this.findIndexAndOffsetAtPosition(k),$=S.index,S.offset,this.objects[$]},g.prototype.splitObjectAtPosition=function(k){var $,S,C,E,D,A,O,F,B,I;return A=this.findIndexAndOffsetAtPosition(k),$=A.index,D=A.offset,E=this.objects.slice(0),$!=null?D===0?(B=$,I=0):(C=this.getObjectAtIndex($),O=C.splitAtOffset(D),S=O[0],F=O[1],E.splice($,1,S,F),B=$+1,I=S.getLength()-D):(B=E.length,I=0),[E,B,I]},g.prototype.consolidate=function(){var k,$,S,C,E,D;for(C=[],E=this.objects[0],D=this.objects.slice(1),k=0,$=D.length;$>k;k++)S=D[k],typeof E.canBeConsolidatedWith=="function"&&E.canBeConsolidatedWith(S)?E=E.consolidateWith(S):(C.push(E),E=S);return E!=null&&C.push(E),new this.constructor(C)},g.prototype.consolidateFromIndexToIndex=function(k,$){var S,C,E;return C=this.objects.slice(0),E=C.slice(k,$+1),S=new this.constructor(E).consolidate().toArray(),this.splice.apply(this,[k,E.length].concat(f.call(S)))},g.prototype.findIndexAndOffsetAtPosition=function(k){var $,S,C,E,D,A,O;for($=0,O=this.objects,C=S=0,E=O.length;E>S;C=++S){if(A=O[C],D=$+A.getLength(),k>=$&&D>k)return{index:C,offset:k-$};$=D}return{index:null,offset:null}},g.prototype.findPositionAtIndexAndOffset=function(k,$){var S,C,E,D,A,O;for(A=0,O=this.objects,S=C=0,E=O.length;E>C;S=++C)if(D=O[S],k>S)A+=D.getLength();else if(S===k){A+=$;break}return A},g.prototype.getEndPosition=function(){var k,$;return this.endPosition!=null?this.endPosition:this.endPosition=(function(){var S,C,E;for($=0,E=this.objects,S=0,C=E.length;C>S;S++)k=E[S],$+=k.getLength();return $}).call(this)},g.prototype.toString=function(){return this.objects.join("")},g.prototype.toArray=function(){return this.objects.slice(0)},g.prototype.toJSON=function(){return this.toArray()},g.prototype.isEqualTo=function(k){return g.__super__.isEqualTo.apply(this,arguments)||b(this.objects,k!=null?k.objects:void 0)},b=function(k,$){var S,C,E,D,A;if($==null&&($=[]),k.length!==$.length)return!1;for(A=!0,C=S=0,E=k.length;E>S;C=++S)D=k[C],A&&!D.isEqualTo($[C])&&(A=!1);return A},g.prototype.contentsForInspection=function(){var k;return{objects:"["+(function(){var $,S,C,E;for(C=this.objects,E=[],$=0,S=C.length;S>$;$++)k=C[$],E.push(k.inspect());return E}).call(this).join(", ")+"]"}},w=function(k){return k[0]},y=function(k){return k[1]},g}(u.Object)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.Text=function(m){function f(v){var g;v==null&&(v=[]),f.__super__.constructor.apply(this,arguments),this.pieceList=new u.SplittableList(function(){var y,b,w;for(w=[],y=0,b=v.length;b>y;y++)g=v[y],g.isEmpty()||w.push(g);return w}())}return c(f,m),f.textForAttachmentWithAttributes=function(v,g){var y;return y=new u.AttachmentPiece(v,g),new this([y])},f.textForStringWithAttributes=function(v,g){var y;return y=new u.StringPiece(v,g),new this([y])},f.fromJSON=function(v){var g,y;return y=function(){var b,w,k;for(k=[],b=0,w=v.length;w>b;b++)g=v[b],k.push(u.Piece.fromJSON(g));return k}(),new this(y)},f.prototype.copy=function(){return this.copyWithPieceList(this.pieceList)},f.prototype.copyWithPieceList=function(v){return new this.constructor(v.consolidate().toArray())},f.prototype.copyUsingObjectMap=function(v){var g,y;return y=(function(){var b,w,k,$,S;for(k=this.getPieces(),S=[],b=0,w=k.length;w>b;b++)g=k[b],S.push(($=v.find(g))!=null?$:g);return S}).call(this),new this.constructor(y)},f.prototype.appendText=function(v){return this.insertTextAtPosition(v,this.getLength())},f.prototype.insertTextAtPosition=function(v,g){return this.copyWithPieceList(this.pieceList.insertSplittableListAtPosition(v.pieceList,g))},f.prototype.removeTextAtRange=function(v){return this.copyWithPieceList(this.pieceList.removeObjectsInRange(v))},f.prototype.replaceTextAtRange=function(v,g){return this.removeTextAtRange(g).insertTextAtPosition(v,g[0])},f.prototype.moveTextFromRangeToPosition=function(v,g){var y,b;if(!(v[0]<=g&&g<=v[1]))return b=this.getTextAtRange(v),y=b.getLength(),v[0]<g&&(g-=y),this.removeTextAtRange(v).insertTextAtPosition(b,g)},f.prototype.addAttributeAtRange=function(v,g,y){var b;return b={},b[v]=g,this.addAttributesAtRange(b,y)},f.prototype.addAttributesAtRange=function(v,g){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(g,function(y){return y.copyWithAdditionalAttributes(v)}))},f.prototype.removeAttributeAtRange=function(v,g){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(g,function(y){return y.copyWithoutAttribute(v)}))},f.prototype.setAttributesAtRange=function(v,g){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(g,function(y){return y.copyWithAttributes(v)}))},f.prototype.getAttributesAtPosition=function(v){var g,y;return(g=(y=this.pieceList.getObjectAtPosition(v))!=null?y.getAttributes():void 0)!=null?g:{}},f.prototype.getCommonAttributes=function(){var v,g;return v=(function(){var y,b,w,k;for(w=this.pieceList.toArray(),k=[],y=0,b=w.length;b>y;y++)g=w[y],k.push(g.getAttributes());return k}).call(this),u.Hash.fromCommonAttributesOfObjects(v).toObject()},f.prototype.getCommonAttributesAtRange=function(v){var g;return(g=this.getTextAtRange(v).getCommonAttributes())!=null?g:{}},f.prototype.getExpandedRangeForAttributeAtOffset=function(v,g){var y,b,w;for(y=w=g,b=this.getLength();y>0&&this.getCommonAttributesAtRange([y-1,w])[v];)y--;for(;b>w&&this.getCommonAttributesAtRange([g,w+1])[v];)w++;return[y,w]},f.prototype.getTextAtRange=function(v){return this.copyWithPieceList(this.pieceList.getSplittableListInRange(v))},f.prototype.getStringAtRange=function(v){return this.pieceList.getSplittableListInRange(v).toString()},f.prototype.getStringAtPosition=function(v){return this.getStringAtRange([v,v+1])},f.prototype.startsWithString=function(v){return this.getStringAtRange([0,v.length])===v},f.prototype.endsWithString=function(v){var g;return g=this.getLength(),this.getStringAtRange([g-v.length,g])===v},f.prototype.getAttachmentPieces=function(){var v,g,y,b,w;for(b=this.pieceList.toArray(),w=[],v=0,g=b.length;g>v;v++)y=b[v],y.attachment!=null&&w.push(y);return w},f.prototype.getAttachments=function(){var v,g,y,b,w;for(b=this.getAttachmentPieces(),w=[],v=0,g=b.length;g>v;v++)y=b[v],w.push(y.attachment);return w},f.prototype.getAttachmentAndPositionById=function(v){var g,y,b,w,k,$;for(w=0,k=this.pieceList.toArray(),g=0,y=k.length;y>g;g++){if(b=k[g],(($=b.attachment)!=null?$.id:void 0)===v)return{attachment:b.attachment,position:w};w+=b.length}return{attachment:null,position:null}},f.prototype.getAttachmentById=function(v){var g,y;return y=this.getAttachmentAndPositionById(v),g=y.attachment,y.position,g},f.prototype.getRangeOfAttachment=function(v){var g,y;return y=this.getAttachmentAndPositionById(v.id),v=y.attachment,g=y.position,v!=null?[g,g+1]:void 0},f.prototype.updateAttributesForAttachment=function(v,g){var y;return(y=this.getRangeOfAttachment(g))?this.addAttributesAtRange(v,y):this},f.prototype.getLength=function(){return this.pieceList.getEndPosition()},f.prototype.isEmpty=function(){return this.getLength()===0},f.prototype.isEqualTo=function(v){var g;return f.__super__.isEqualTo.apply(this,arguments)||(v!=null&&(g=v.pieceList)!=null?g.isEqualTo(this.pieceList):void 0)},f.prototype.isBlockBreak=function(){return this.getLength()===1&&this.pieceList.getObjectAtIndex(0).isBlockBreak()},f.prototype.eachPiece=function(v){return this.pieceList.eachObject(v)},f.prototype.getPieces=function(){return this.pieceList.toArray()},f.prototype.getPieceAtPosition=function(v){return this.pieceList.getObjectAtPosition(v)},f.prototype.contentsForInspection=function(){return{pieceList:this.pieceList.inspect()}},f.prototype.toSerializableText=function(){var v;return v=this.pieceList.selectSplittableList(function(g){return g.isSerializable()}),this.copyWithPieceList(v)},f.prototype.toString=function(){return this.pieceList.toString()},f.prototype.toJSON=function(){return this.pieceList.toJSON()},f.prototype.toConsole=function(){var v;return JSON.stringify((function(){var g,y,b,w;for(b=this.pieceList.toArray(),w=[],g=0,y=b.length;y>g;g++)v=b[g],w.push(JSON.parse(v.toConsole()));return w}).call(this))},f.prototype.getDirection=function(){return u.getDirection(this.toString())},f.prototype.isRTL=function(){return this.getDirection()==="rtl"},f}(u.Object)}).call(this),(function(){var c,d,m,f,v=function(w,k){function $(){this.constructor=w}for(var S in k)g.call(k,S)&&(w[S]=k[S]);return $.prototype=k.prototype,w.prototype=new $,w.__super__=k.prototype,w},g={}.hasOwnProperty,y=[].indexOf||function(w){for(var k=0,$=this.length;$>k;k++)if(k in this&&this[k]===w)return k;return-1},b=[].slice;c=u.arraysAreEqual,f=u.spliceArray,d=u.getBlockConfig,u.getBlockAttributeNames,m=u.getListAttributeNames,u.Block=function(w){function k(I,M){I==null&&(I=new u.Text),M==null&&(M=[]),k.__super__.constructor.apply(this,arguments),this.text=S(I),this.attributes=M}var $,S,C,E,D,A,O,F,B;return v(k,w),k.fromJSON=function(I){var M;return M=u.Text.fromJSON(I.text),new this(M,I.attributes)},k.prototype.isEmpty=function(){return this.text.isBlockBreak()},k.prototype.isEqualTo=function(I){return k.__super__.isEqualTo.apply(this,arguments)||this.text.isEqualTo(I!=null?I.text:void 0)&&c(this.attributes,I!=null?I.attributes:void 0)},k.prototype.copyWithText=function(I){return new this.constructor(I,this.attributes)},k.prototype.copyWithoutText=function(){return this.copyWithText(null)},k.prototype.copyWithAttributes=function(I){return new this.constructor(this.text,I)},k.prototype.copyWithoutAttributes=function(){return this.copyWithAttributes(null)},k.prototype.copyUsingObjectMap=function(I){var M;return this.copyWithText((M=I.find(this.text))?M:this.text.copyUsingObjectMap(I))},k.prototype.addAttribute=function(I){var M;return M=this.attributes.concat(E(I)),this.copyWithAttributes(M)},k.prototype.removeAttribute=function(I){var M,z;return z=d(I).listAttribute,M=A(A(this.attributes,I),z),this.copyWithAttributes(M)},k.prototype.removeLastAttribute=function(){return this.removeAttribute(this.getLastAttribute())},k.prototype.getLastAttribute=function(){return D(this.attributes)},k.prototype.getAttributes=function(){return this.attributes.slice(0)},k.prototype.getAttributeLevel=function(){return this.attributes.length},k.prototype.getAttributeAtLevel=function(I){return this.attributes[I-1]},k.prototype.hasAttribute=function(I){return y.call(this.attributes,I)>=0},k.prototype.hasAttributes=function(){return this.getAttributeLevel()>0},k.prototype.getLastNestableAttribute=function(){return D(this.getNestableAttributes())},k.prototype.getNestableAttributes=function(){var I,M,z,q,H;for(q=this.attributes,H=[],M=0,z=q.length;z>M;M++)I=q[M],d(I).nestable&&H.push(I);return H},k.prototype.getNestingLevel=function(){return this.getNestableAttributes().length},k.prototype.decreaseNestingLevel=function(){var I;return(I=this.getLastNestableAttribute())?this.removeAttribute(I):this},k.prototype.increaseNestingLevel=function(){var I,M,z;return(I=this.getLastNestableAttribute())?(z=this.attributes.lastIndexOf(I),M=f.apply(null,[this.attributes,z+1,0].concat(b.call(E(I)))),this.copyWithAttributes(M)):this},k.prototype.getListItemAttributes=function(){var I,M,z,q,H;for(q=this.attributes,H=[],M=0,z=q.length;z>M;M++)I=q[M],d(I).listAttribute&&H.push(I);return H},k.prototype.isListItem=function(){var I;return(I=d(this.getLastAttribute()))!=null?I.listAttribute:void 0},k.prototype.isTerminalBlock=function(){var I;return(I=d(this.getLastAttribute()))!=null?I.terminal:void 0},k.prototype.breaksOnReturn=function(){var I;return(I=d(this.getLastAttribute()))!=null?I.breakOnReturn:void 0},k.prototype.findLineBreakInDirectionFromPosition=function(I,M){var z,q;return q=this.toString(),z=function(){switch(I){case"forward":return q.indexOf(`
`,M);case"backward":return q.slice(0,M).lastIndexOf(`
`)}}(),z!==-1?z:void 0},k.prototype.contentsForInspection=function(){return{text:this.text.inspect(),attributes:this.attributes}},k.prototype.toString=function(){return this.text.toString()},k.prototype.toJSON=function(){return{text:this.text,attributes:this.attributes}},k.prototype.getDirection=function(){return this.text.getDirection()},k.prototype.isRTL=function(){return this.text.isRTL()},k.prototype.getLength=function(){return this.text.getLength()},k.prototype.canBeConsolidatedWith=function(I){return!this.hasAttributes()&&!I.hasAttributes()&&this.getDirection()===I.getDirection()},k.prototype.consolidateWith=function(I){var M,z;return M=u.Text.textForStringWithAttributes(`
`),z=this.getTextWithoutBlockBreak().appendText(M),this.copyWithText(z.appendText(I.text))},k.prototype.splitAtOffset=function(I){var M,z;return I===0?(M=null,z=this):I===this.getLength()?(M=this,z=null):(M=this.copyWithText(this.text.getTextAtRange([0,I])),z=this.copyWithText(this.text.getTextAtRange([I,this.getLength()]))),[M,z]},k.prototype.getBlockBreakPosition=function(){return this.text.getLength()-1},k.prototype.getTextWithoutBlockBreak=function(){return O(this.text)?this.text.getTextAtRange([0,this.getBlockBreakPosition()]):this.text.copy()},k.prototype.canBeGrouped=function(I){return this.attributes[I]},k.prototype.canBeGroupedWith=function(I,M){var z,q,H,Q;return H=I.getAttributes(),q=H[M],z=this.attributes[M],!(z!==q||d(z).group===!1&&(Q=H[M+1],y.call(m(),Q)<0)||this.getDirection()!==I.getDirection()&&!I.isEmpty())},S=function(I){return I=B(I),I=$(I)},B=function(I){var M,z,q,H,Q,j;return H=!1,j=I.getPieces(),z=2<=j.length?b.call(j,0,M=j.length-1):(M=0,[]),q=j[M++],q==null?I:(z=function(){var ee,G,J;for(J=[],ee=0,G=z.length;G>ee;ee++)Q=z[ee],Q.isBlockBreak()?(H=!0,J.push(F(Q))):J.push(Q);return J}(),H?new u.Text(b.call(z).concat([q])):I)},C=u.Text.textForStringWithAttributes(`
`,{blockBreak:!0}),$=function(I){return O(I)?I:I.appendText(C)},O=function(I){var M,z;return z=I.getLength(),z===0?!1:(M=I.getTextAtRange([z-1,z]),M.isBlockBreak())},F=function(I){return I.copyWithoutAttribute("blockBreak")},E=function(I){var M;return M=d(I).listAttribute,M!=null?[M,I]:[I]},D=function(I){return I.slice(-1)[0]},A=function(I,M){var z;return z=I.lastIndexOf(M),z===-1?I:f(I,z,1)},k}(u.Object)}).call(this),(function(){var c,d,m,f=function(b,w){function k(){this.constructor=b}for(var $ in w)v.call(w,$)&&(b[$]=w[$]);return k.prototype=w.prototype,b.prototype=new k,b.__super__=w.prototype,b},v={}.hasOwnProperty,g=[].indexOf||function(b){for(var w=0,k=this.length;k>w;w++)if(w in this&&this[w]===b)return w;return-1},y=[].slice;d=u.tagName,m=u.walkTree,c=u.nodeIsAttachmentElement,u.HTMLSanitizer=function(b){function w(E,D){var A;A=D??{},this.allowedAttributes=A.allowedAttributes,this.forbiddenProtocols=A.forbiddenProtocols,this.forbiddenElements=A.forbiddenElements,this.allowedAttributes==null&&(this.allowedAttributes=k),this.forbiddenProtocols==null&&(this.forbiddenProtocols=S),this.forbiddenElements==null&&(this.forbiddenElements=$),this.body=C(E)}var k,$,S,C;return f(w,b),k="style href src width height class".split(" "),S="javascript:".split(" "),$="script iframe".split(" "),w.sanitize=function(E,D){var A;return A=new this(E,D),A.sanitize(),A},w.prototype.sanitize=function(){return this.sanitizeElements(),this.normalizeListElementNesting()},w.prototype.getHTML=function(){return this.body.innerHTML},w.prototype.getBody=function(){return this.body},w.prototype.sanitizeElements=function(){var E,D,A,O,F;for(F=m(this.body),O=[];F.nextNode();)switch(A=F.currentNode,A.nodeType){case Node.ELEMENT_NODE:this.elementIsRemovable(A)?O.push(A):this.sanitizeElement(A);break;case Node.COMMENT_NODE:O.push(A)}for(E=0,D=O.length;D>E;E++)A=O[E],u.removeNode(A);return this.body},w.prototype.sanitizeElement=function(E){var D,A,O,F,B;for(E.hasAttribute("href")&&(F=E.protocol,g.call(this.forbiddenProtocols,F)>=0&&E.removeAttribute("href")),B=y.call(E.attributes),D=0,A=B.length;A>D;D++)O=B[D].name,g.call(this.allowedAttributes,O)>=0||O.indexOf("data-trix")===0||E.removeAttribute(O);return E},w.prototype.normalizeListElementNesting=function(){var E,D,A,O,F;for(F=y.call(this.body.querySelectorAll("ul,ol")),E=0,D=F.length;D>E;E++)A=F[E],(O=A.previousElementSibling)&&d(O)==="li"&&O.appendChild(A);return this.body},w.prototype.elementIsRemovable=function(E){return(E!=null?E.nodeType:void 0)===Node.ELEMENT_NODE?this.elementIsForbidden(E)||this.elementIsntSerializable(E):void 0},w.prototype.elementIsForbidden=function(E){var D;return D=d(E),g.call(this.forbiddenElements,D)>=0},w.prototype.elementIsntSerializable=function(E){return E.getAttribute("data-trix-serialize")==="false"&&!c(E)},C=function(E){var D,A,O,F,B;for(E==null&&(E=""),E=E.replace(/<\/html[^>]*>[^]*$/i,"</html>"),D=document.implementation.createHTMLDocument(""),D.documentElement.innerHTML=E,B=D.head.querySelectorAll("style"),O=0,F=B.length;F>O;O++)A=B[O],D.body.appendChild(A);return D.body},w}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v,g,y,b,w,k,$,S=function(D,A){function O(){this.constructor=D}for(var F in A)C.call(A,F)&&(D[F]=A[F]);return O.prototype=A.prototype,D.prototype=new O,D.__super__=A.prototype,D},C={}.hasOwnProperty,E=[].indexOf||function(D){for(var A=0,O=this.length;O>A;A++)if(A in this&&this[A]===D)return A;return-1};c=u.arraysAreEqual,g=u.makeElement,k=u.tagName,v=u.getBlockTagNames,$=u.walkTree,f=u.findClosestElementFromNode,m=u.elementContainsNode,y=u.nodeIsAttachmentElement,b=u.normalizeSpaces,d=u.breakableWhitespacePattern,w=u.squishBreakableWhitespace,u.HTMLParser=function(D){function A(J,te){this.html=J,this.referenceElement=(te??{}).referenceElement,this.blocks=[],this.blockElements=[],this.processedElements=[]}var O,F,B,I,M,z,q,H,Q,j,ee,G;return S(A,D),A.parse=function(J,te){var re;return re=new this(J,te),re.parse(),re},A.prototype.getDocument=function(){return u.Document.fromJSON(this.blocks)},A.prototype.parse=function(){var J,te;try{for(this.createHiddenContainer(),J=u.HTMLSanitizer.sanitize(this.html).getHTML(),this.containerElement.innerHTML=J,te=$(this.containerElement,{usingFilter:q});te.nextNode();)this.processNode(te.currentNode);return this.translateBlockElementMarginsToNewlines()}finally{this.removeHiddenContainer()}},A.prototype.createHiddenContainer=function(){return this.referenceElement?(this.containerElement=this.referenceElement.cloneNode(!1),this.containerElement.removeAttribute("id"),this.containerElement.setAttribute("data-trix-internal",""),this.containerElement.style.display="none",this.referenceElement.parentNode.insertBefore(this.containerElement,this.referenceElement.nextSibling)):(this.containerElement=g({tagName:"div",style:{display:"none"}}),document.body.appendChild(this.containerElement))},A.prototype.removeHiddenContainer=function(){return u.removeNode(this.containerElement)},q=function(J){return k(J)==="style"?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},A.prototype.processNode=function(J){switch(J.nodeType){case Node.TEXT_NODE:if(!this.isInsignificantTextNode(J))return this.appendBlockForTextNode(J),this.processTextNode(J);break;case Node.ELEMENT_NODE:return this.appendBlockForElement(J),this.processElement(J)}},A.prototype.appendBlockForTextNode=function(J){var te,re,ae;return re=J.parentNode,re===this.currentBlockElement&&this.isBlockElement(J.previousSibling)?this.appendStringWithAttributes(`
`):re!==this.containerElement&&!this.isBlockElement(re)||(te=this.getBlockAttributes(re),c(te,(ae=this.currentBlock)!=null?ae.attributes:void 0))?void 0:(this.currentBlock=this.appendBlockForAttributesWithElement(te,re),this.currentBlockElement=re)},A.prototype.appendBlockForElement=function(J){var te,re,ae,ye;if(ae=this.isBlockElement(J),re=m(this.currentBlockElement,J),ae&&!this.isBlockElement(J.firstChild)){if((!this.isInsignificantTextNode(J.firstChild)||!this.isBlockElement(J.firstElementChild))&&(te=this.getBlockAttributes(J),J.firstChild))return re&&c(te,this.currentBlock.attributes)?this.appendStringWithAttributes(`
`):(this.currentBlock=this.appendBlockForAttributesWithElement(te,J),this.currentBlockElement=J)}else if(this.currentBlockElement&&!re&&!ae)return(ye=this.findParentBlockElement(J))?this.appendBlockForElement(ye):(this.currentBlock=this.appendEmptyBlock(),this.currentBlockElement=null)},A.prototype.findParentBlockElement=function(J){var te;for(te=J.parentElement;te&&te!==this.containerElement;){if(this.isBlockElement(te)&&E.call(this.blockElements,te)>=0)return te;te=te.parentElement}return null},A.prototype.processTextNode=function(J){var te,re;return re=J.data,F(J.parentNode)||(re=w(re),ee((te=J.previousSibling)!=null?te.textContent:void 0)&&(re=M(re))),this.appendStringWithAttributes(re,this.getTextAttributes(J.parentNode))},A.prototype.processElement=function(J){var te,re,ae,ye,ve;if(y(J))return te=H(J,"attachment"),Object.keys(te).length&&(ye=this.getTextAttributes(J),this.appendAttachmentWithAttributes(te,ye),J.innerHTML=""),this.processedElements.push(J);switch(k(J)){case"br":return this.isExtraBR(J)||this.isBlockElement(J.nextSibling)||this.appendStringWithAttributes(`
`,this.getTextAttributes(J)),this.processedElements.push(J);case"img":te={url:J.getAttribute("src"),contentType:"image"},ae=I(J);for(re in ae)ve=ae[re],te[re]=ve;return this.appendAttachmentWithAttributes(te,this.getTextAttributes(J)),this.processedElements.push(J);case"tr":if(J.parentNode.firstChild!==J)return this.appendStringWithAttributes(`
`);break;case"td":if(J.parentNode.firstChild!==J)return this.appendStringWithAttributes(" | ")}},A.prototype.appendBlockForAttributesWithElement=function(J,te){var re;return this.blockElements.push(te),re=O(J),this.blocks.push(re),re},A.prototype.appendEmptyBlock=function(){return this.appendBlockForAttributesWithElement([],null)},A.prototype.appendStringWithAttributes=function(J,te){return this.appendPiece(j(J,te))},A.prototype.appendAttachmentWithAttributes=function(J,te){return this.appendPiece(Q(J,te))},A.prototype.appendPiece=function(J){return this.blocks.length===0&&this.appendEmptyBlock(),this.blocks[this.blocks.length-1].text.push(J)},A.prototype.appendStringToTextAtIndex=function(J,te){var re,ae;return ae=this.blocks[te].text,re=ae[ae.length-1],(re!=null?re.type:void 0)==="string"?re.string+=J:ae.push(j(J))},A.prototype.prependStringToTextAtIndex=function(J,te){var re,ae;return ae=this.blocks[te].text,re=ae[0],(re!=null?re.type:void 0)==="string"?re.string=J+re.string:ae.unshift(j(J))},j=function(J,te){var re;return te==null&&(te={}),re="string",J=b(J),{string:J,attributes:te,type:re}},Q=function(J,te){var re;return te==null&&(te={}),re="attachment",{attachment:J,attributes:te,type:re}},O=function(J){var te;return J==null&&(J={}),te=[],{text:te,attributes:J}},A.prototype.getTextAttributes=function(J){var te,re,ae,ye,ve,le,Se,De,At,Le,ke,ue;ae={},At=u.config.textAttributes;for(te in At)if(ve=At[te],ve.tagName&&f(J,{matchingSelector:ve.tagName,untilNode:this.containerElement}))ae[te]=!0;else if(ve.parser){if(ue=ve.parser(J)){for(re=!1,Le=this.findBlockElementAncestors(J),le=0,De=Le.length;De>le;le++)if(ye=Le[le],ve.parser(ye)===ue){re=!0;break}re||(ae[te]=ue)}}else ve.styleProperty&&(ue=J.style[ve.styleProperty])&&(ae[te]=ue);if(y(J)){ke=H(J,"attributes");for(Se in ke)ue=ke[Se],ae[Se]=ue}return ae},A.prototype.getBlockAttributes=function(J){var te,re,ae,ye;for(re=[];J&&J!==this.containerElement;){ye=u.config.blockAttributes;for(te in ye)ae=ye[te],ae.parse!==!1&&k(J)===ae.tagName&&(typeof ae.test=="function"&&ae.test(J)||!ae.test)&&(re.push(te),ae.listAttribute&&re.push(ae.listAttribute));J=J.parentNode}return re.reverse()},A.prototype.findBlockElementAncestors=function(J){var te,re;for(te=[];J&&J!==this.containerElement;)re=k(J),E.call(v(),re)>=0&&te.push(J),J=J.parentNode;return te},H=function(J,te){try{return JSON.parse(J.getAttribute("data-trix-"+te))}catch{return{}}},I=function(J){var te,re,ae;return ae=J.getAttribute("width"),re=J.getAttribute("height"),te={},ae&&(te.width=parseInt(ae,10)),re&&(te.height=parseInt(re,10)),te},A.prototype.isBlockElement=function(J){var te;if((J!=null?J.nodeType:void 0)===Node.ELEMENT_NODE&&!y(J)&&!f(J,{matchingSelector:"td",untilNode:this.containerElement}))return te=k(J),E.call(v(),te)>=0||window.getComputedStyle(J).display==="block"},A.prototype.isInsignificantTextNode=function(J){var te,re,ae;if((J!=null?J.nodeType:void 0)===Node.TEXT_NODE&&G(J.data)&&(re=J.parentNode,ae=J.previousSibling,te=J.nextSibling,(!z(re.previousSibling)||this.isBlockElement(re.previousSibling))&&!F(re)))return!ae||this.isBlockElement(ae)||!te||this.isBlockElement(te)},A.prototype.isExtraBR=function(J){return k(J)==="br"&&this.isBlockElement(J.parentNode)&&J.parentNode.lastChild===J},F=function(J){var te;return te=window.getComputedStyle(J).whiteSpace,te==="pre"||te==="pre-wrap"||te==="pre-line"},z=function(J){return J&&!ee(J.textContent)},A.prototype.translateBlockElementMarginsToNewlines=function(){var J,te,re,ae,ye,ve,le;for(J=this.getMarginOfDefaultBlockElement(),ve=this.blocks,le=[],re=te=0,ae=ve.length;ae>te;re=++te)ve[re],(ye=this.getMarginOfBlockElementAtIndex(re))&&(ye.top>2*J.top&&this.prependStringToTextAtIndex(`
`,re),le.push(ye.bottom>2*J.bottom?this.appendStringToTextAtIndex(`
`,re):void 0));return le},A.prototype.getMarginOfBlockElementAtIndex=function(J){var te,re;return!(te=this.blockElements[J])||!te.textContent||(re=k(te),E.call(v(),re)>=0||E.call(this.processedElements,te)>=0)?void 0:B(te)},A.prototype.getMarginOfDefaultBlockElement=function(){var J;return J=g(u.config.blockAttributes.default.tagName),this.containerElement.appendChild(J),B(J)},B=function(J){var te;return te=window.getComputedStyle(J),te.display==="block"?{top:parseInt(te.marginTop),bottom:parseInt(te.marginBottom)}:void 0},M=function(J){return J.replace(RegExp("^"+d.source+"+"),"")},G=function(J){return RegExp("^"+d.source+"*$").test(J)},ee=function(J){return/\s$/.test(J)},A}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v=function(w,k){function $(){this.constructor=w}for(var S in k)g.call(k,S)&&(w[S]=k[S]);return $.prototype=k.prototype,w.prototype=new $,w.__super__=k.prototype,w},g={}.hasOwnProperty,y=[].slice,b=[].indexOf||function(w){for(var k=0,$=this.length;$>k;k++)if(k in this&&this[k]===w)return k;return-1};c=u.arraysAreEqual,m=u.normalizeRange,f=u.rangeIsCollapsed,d=u.getBlockConfig,u.Document=function(w){function k(S){S==null&&(S=[]),k.__super__.constructor.apply(this,arguments),S.length===0&&(S=[new u.Block]),this.blockList=u.SplittableList.box(S)}var $;return v(k,w),k.fromJSON=function(S){var C,E;return E=function(){var D,A,O;for(O=[],D=0,A=S.length;A>D;D++)C=S[D],O.push(u.Block.fromJSON(C));return O}(),new this(E)},k.fromHTML=function(S,C){return u.HTMLParser.parse(S,C).getDocument()},k.fromString=function(S,C){var E;return E=u.Text.textForStringWithAttributes(S,C),new this([new u.Block(E)])},k.prototype.isEmpty=function(){var S;return this.blockList.length===1&&(S=this.getBlockAtIndex(0),S.isEmpty()&&!S.hasAttributes())},k.prototype.copy=function(S){var C;return S==null&&(S={}),C=S.consolidateBlocks?this.blockList.consolidate().toArray():this.blockList.toArray(),new this.constructor(C)},k.prototype.copyUsingObjectsFromDocument=function(S){var C;return C=new u.ObjectMap(S.getObjects()),this.copyUsingObjectMap(C)},k.prototype.copyUsingObjectMap=function(S){var C,E,D;return E=(function(){var A,O,F,B;for(F=this.getBlocks(),B=[],A=0,O=F.length;O>A;A++)C=F[A],B.push((D=S.find(C))?D:C.copyUsingObjectMap(S));return B}).call(this),new this.constructor(E)},k.prototype.copyWithBaseBlockAttributes=function(S){var C,E,D;return S==null&&(S=[]),D=(function(){var A,O,F,B;for(F=this.getBlocks(),B=[],A=0,O=F.length;O>A;A++)E=F[A],C=S.concat(E.getAttributes()),B.push(E.copyWithAttributes(C));return B}).call(this),new this.constructor(D)},k.prototype.replaceBlock=function(S,C){var E;return E=this.blockList.indexOf(S),E===-1?this:new this.constructor(this.blockList.replaceObjectAtIndex(C,E))},k.prototype.insertDocumentAtRange=function(S,C){var E,D,A,O,F,B,I;return D=S.blockList,F=(C=m(C))[0],B=this.locationFromPosition(F),A=B.index,O=B.offset,I=this,E=this.getBlockAtPosition(F),f(C)&&E.isEmpty()&&!E.hasAttributes()?I=new this.constructor(I.blockList.removeObjectAtIndex(A)):E.getBlockBreakPosition()===O&&F++,I=I.removeTextAtRange(C),new this.constructor(I.blockList.insertSplittableListAtPosition(D,F))},k.prototype.mergeDocumentAtRange=function(S,C){var E,D,A,O,F,B,I,M,z,q,H,Q;return H=(C=m(C))[0],q=this.locationFromPosition(H),D=this.getBlockAtIndex(q.index).getAttributes(),E=S.getBaseBlockAttributes(),Q=D.slice(-E.length),c(E,Q)?(I=D.slice(0,-E.length),B=S.copyWithBaseBlockAttributes(I)):B=S.copy({consolidateBlocks:!0}).copyWithBaseBlockAttributes(D),A=B.getBlockCount(),O=B.getBlockAtIndex(0),c(D,O.getAttributes())?(F=O.getTextWithoutBlockBreak(),z=this.insertTextAtRange(F,C),A>1&&(B=new this.constructor(B.getBlocks().slice(1)),M=H+F.getLength(),z=z.insertDocumentAtRange(B,M))):z=this.insertDocumentAtRange(B,C),z},k.prototype.insertTextAtRange=function(S,C){var E,D,A,O,F;return F=(C=m(C))[0],O=this.locationFromPosition(F),D=O.index,A=O.offset,E=this.removeTextAtRange(C),new this.constructor(E.blockList.editObjectAtIndex(D,function(B){return B.copyWithText(B.text.insertTextAtPosition(S,A))}))},k.prototype.removeTextAtRange=function(S){var C,E,D,A,O,F,B,I,M,z,q,H,Q,j,ee,G,J,te,re,ae,ye;return z=S=m(S),I=z[0],te=z[1],f(S)?this:(q=this.locationRangeFromRange(S),F=q[0],G=q[1],O=F.index,B=F.offset,A=this.getBlockAtIndex(O),ee=G.index,J=G.offset,j=this.getBlockAtIndex(ee),H=te-I===1&&A.getBlockBreakPosition()===B&&j.getBlockBreakPosition()!==J&&j.text.getStringAtPosition(J)===`
`,H?D=this.blockList.editObjectAtIndex(ee,function(ve){return ve.copyWithText(ve.text.removeTextAtRange([J,J+1]))}):(M=A.text.getTextAtRange([0,B]),re=j.text.getTextAtRange([J,j.getLength()]),ae=M.appendText(re),Q=O!==ee&&B===0,ye=Q&&A.getAttributeLevel()>=j.getAttributeLevel(),E=ye?j.copyWithText(ae):A.copyWithText(ae),C=ee+1-O,D=this.blockList.splice(O,C,E)),new this.constructor(D))},k.prototype.moveTextFromRangeToPosition=function(S,C){var E,D,A,O,F,B,I,M,z,q;return B=S=m(S),z=B[0],A=B[1],C>=z&&A>=C?this:(D=this.getDocumentAtRange(S),M=this.removeTextAtRange(S),F=C>z,F&&(C-=D.getLength()),I=D.getBlocks(),O=I[0],E=2<=I.length?y.call(I,1):[],E.length===0?(q=O.getTextWithoutBlockBreak(),F&&(C+=1)):q=O.text,M=M.insertTextAtRange(q,C),E.length===0?M:(D=new this.constructor(E),C+=q.getLength(),M.insertDocumentAtRange(D,C)))},k.prototype.addAttributeAtRange=function(S,C,E){var D;return D=this.blockList,this.eachBlockAtRange(E,function(A,O,F){return D=D.editObjectAtIndex(F,function(){return d(S)?A.addAttribute(S,C):O[0]===O[1]?A:A.copyWithText(A.text.addAttributeAtRange(S,C,O))})}),new this.constructor(D)},k.prototype.addAttribute=function(S,C){var E;return E=this.blockList,this.eachBlock(function(D,A){return E=E.editObjectAtIndex(A,function(){return D.addAttribute(S,C)})}),new this.constructor(E)},k.prototype.removeAttributeAtRange=function(S,C){var E;return E=this.blockList,this.eachBlockAtRange(C,function(D,A,O){return d(S)?E=E.editObjectAtIndex(O,function(){return D.removeAttribute(S)}):A[0]!==A[1]?E=E.editObjectAtIndex(O,function(){return D.copyWithText(D.text.removeAttributeAtRange(S,A))}):void 0}),new this.constructor(E)},k.prototype.updateAttributesForAttachment=function(S,C){var E,D,A;return D=this.getRangeOfAttachment(C)[0],E=this.locationFromPosition(D).index,A=this.getTextAtIndex(E),new this.constructor(this.blockList.editObjectAtIndex(E,function(O){return O.copyWithText(A.updateAttributesForAttachment(S,C))}))},k.prototype.removeAttributeForAttachment=function(S,C){var E;return E=this.getRangeOfAttachment(C),this.removeAttributeAtRange(S,E)},k.prototype.insertBlockBreakAtRange=function(S){var C,E,D,A;return A=(S=m(S))[0],D=this.locationFromPosition(A).offset,E=this.removeTextAtRange(S),D===0&&(C=[new u.Block]),new this.constructor(E.blockList.insertSplittableListAtPosition(new u.SplittableList(C),A))},k.prototype.applyBlockAttributeAtRange=function(S,C,E){var D,A,O,F;return O=this.expandRangeToLineBreaksAndSplitBlocks(E),A=O.document,E=O.range,D=d(S),D.listAttribute?(A=A.removeLastListAttributeAtRange(E,{exceptAttributeName:S}),F=A.convertLineBreaksToBlockBreaksInRange(E),A=F.document,E=F.range):A=D.exclusive?A.removeBlockAttributesAtRange(E):D.terminal?A.removeLastTerminalAttributeAtRange(E):A.consolidateBlocksAtRange(E),A.addAttributeAtRange(S,C,E)},k.prototype.removeLastListAttributeAtRange=function(S,C){var E;return C==null&&(C={}),E=this.blockList,this.eachBlockAtRange(S,function(D,A,O){var F;if((F=D.getLastAttribute())&&d(F).listAttribute&&F!==C.exceptAttributeName)return E=E.editObjectAtIndex(O,function(){return D.removeAttribute(F)})}),new this.constructor(E)},k.prototype.removeLastTerminalAttributeAtRange=function(S){var C;return C=this.blockList,this.eachBlockAtRange(S,function(E,D,A){var O;if((O=E.getLastAttribute())&&d(O).terminal)return C=C.editObjectAtIndex(A,function(){return E.removeAttribute(O)})}),new this.constructor(C)},k.prototype.removeBlockAttributesAtRange=function(S){var C;return C=this.blockList,this.eachBlockAtRange(S,function(E,D,A){return E.hasAttributes()?C=C.editObjectAtIndex(A,function(){return E.copyWithoutAttributes()}):void 0}),new this.constructor(C)},k.prototype.expandRangeToLineBreaksAndSplitBlocks=function(S){var C,E,D,A,O,F,B,I,M;return F=S=m(S),M=F[0],A=F[1],I=this.locationFromPosition(M),D=this.locationFromPosition(A),C=this,B=C.getBlockAtIndex(I.index),(I.offset=B.findLineBreakInDirectionFromPosition("backward",I.offset))!=null&&(O=C.positionFromLocation(I),C=C.insertBlockBreakAtRange([O,O+1]),D.index+=1,D.offset-=C.getBlockAtIndex(I.index).getLength(),I.index+=1),I.offset=0,D.offset===0&&D.index>I.index?(D.index-=1,D.offset=C.getBlockAtIndex(D.index).getBlockBreakPosition()):(E=C.getBlockAtIndex(D.index),E.text.getStringAtRange([D.offset-1,D.offset])===`
`?D.offset-=1:D.offset=E.findLineBreakInDirectionFromPosition("forward",D.offset),D.offset!==E.getBlockBreakPosition()&&(O=C.positionFromLocation(D),C=C.insertBlockBreakAtRange([O,O+1]))),M=C.positionFromLocation(I),A=C.positionFromLocation(D),S=m([M,A]),{document:C,range:S}},k.prototype.convertLineBreaksToBlockBreaksInRange=function(S){var C,E,D;return E=(S=m(S))[0],D=this.getStringAtRange(S).slice(0,-1),C=this,D.replace(/.*?\n/g,function(A){return E+=A.length,C=C.insertBlockBreakAtRange([E-1,E])}),{document:C,range:S}},k.prototype.consolidateBlocksAtRange=function(S){var C,E,D,A,O;return D=S=m(S),O=D[0],E=D[1],A=this.locationFromPosition(O).index,C=this.locationFromPosition(E).index,new this.constructor(this.blockList.consolidateFromIndexToIndex(A,C))},k.prototype.getDocumentAtRange=function(S){var C;return S=m(S),C=this.blockList.getSplittableListInRange(S).toArray(),new this.constructor(C)},k.prototype.getStringAtRange=function(S){var C,E,D;return D=S=m(S),E=D[D.length-1],E!==this.getLength()&&(C=-1),this.getDocumentAtRange(S).toString().slice(0,C)},k.prototype.getBlockAtIndex=function(S){return this.blockList.getObjectAtIndex(S)},k.prototype.getBlockAtPosition=function(S){var C;return C=this.locationFromPosition(S).index,this.getBlockAtIndex(C)},k.prototype.getTextAtIndex=function(S){var C;return(C=this.getBlockAtIndex(S))!=null?C.text:void 0},k.prototype.getTextAtPosition=function(S){var C;return C=this.locationFromPosition(S).index,this.getTextAtIndex(C)},k.prototype.getPieceAtPosition=function(S){var C,E,D;return D=this.locationFromPosition(S),C=D.index,E=D.offset,this.getTextAtIndex(C).getPieceAtPosition(E)},k.prototype.getCharacterAtPosition=function(S){var C,E,D;return D=this.locationFromPosition(S),C=D.index,E=D.offset,this.getTextAtIndex(C).getStringAtRange([E,E+1])},k.prototype.getLength=function(){return this.blockList.getEndPosition()},k.prototype.getBlocks=function(){return this.blockList.toArray()},k.prototype.getBlockCount=function(){return this.blockList.length},k.prototype.getEditCount=function(){return this.editCount},k.prototype.eachBlock=function(S){return this.blockList.eachObject(S)},k.prototype.eachBlockAtRange=function(S,C){var E,D,A,O,F,B,I,M,z,q,H,Q;if(B=S=m(S),H=B[0],A=B[1],q=this.locationFromPosition(H),D=this.locationFromPosition(A),q.index===D.index)return E=this.getBlockAtIndex(q.index),Q=[q.offset,D.offset],C(E,Q,q.index);for(z=[],F=O=I=q.index,M=D.index;M>=I?M>=O:O>=M;F=M>=I?++O:--O)(E=this.getBlockAtIndex(F))?(Q=function(){switch(F){case q.index:return[q.offset,E.text.getLength()];case D.index:return[0,D.offset];default:return[0,E.text.getLength()]}}(),z.push(C(E,Q,F))):z.push(void 0);return z},k.prototype.getCommonAttributesAtRange=function(S){var C,E,D;return E=(S=m(S))[0],f(S)?this.getCommonAttributesAtPosition(E):(D=[],C=[],this.eachBlockAtRange(S,function(A,O){return O[0]!==O[1]?(D.push(A.text.getCommonAttributesAtRange(O)),C.push($(A))):void 0}),u.Hash.fromCommonAttributesOfObjects(D).merge(u.Hash.fromCommonAttributesOfObjects(C)).toObject())},k.prototype.getCommonAttributesAtPosition=function(S){var C,E,D,A,O,F,B,I,M,z;if(M=this.locationFromPosition(S),O=M.index,I=M.offset,D=this.getBlockAtIndex(O),!D)return{};A=$(D),C=D.text.getAttributesAtPosition(I),E=D.text.getAttributesAtPosition(I-1),F=function(){var q,H;q=u.config.textAttributes,H=[];for(B in q)z=q[B],z.inheritable&&H.push(B);return H}();for(B in E)z=E[B],(z===C[B]||b.call(F,B)>=0)&&(A[B]=z);return A},k.prototype.getRangeOfCommonAttributeAtPosition=function(S,C){var E,D,A,O,F,B,I,M,z;return F=this.locationFromPosition(C),A=F.index,O=F.offset,z=this.getTextAtIndex(A),B=z.getExpandedRangeForAttributeAtOffset(S,O),M=B[0],D=B[1],I=this.positionFromLocation({index:A,offset:M}),E=this.positionFromLocation({index:A,offset:D}),m([I,E])},k.prototype.getBaseBlockAttributes=function(){var S,C,E,D,A,O,F;for(S=this.getBlockAtIndex(0).getAttributes(),E=D=1,F=this.getBlockCount();F>=1?F>D:D>F;E=F>=1?++D:--D)C=this.getBlockAtIndex(E).getAttributes(),O=Math.min(S.length,C.length),S=function(){var B,I,M;for(M=[],A=B=0,I=O;(I>=0?I>B:B>I)&&C[A]===S[A];A=I>=0?++B:--B)M.push(C[A]);return M}();return S},$=function(S){var C,E;return E={},(C=S.getLastAttribute())&&(E[C]=!0),E},k.prototype.getAttachmentById=function(S){var C,E,D,A;for(A=this.getAttachments(),E=0,D=A.length;D>E;E++)if(C=A[E],C.id===S)return C},k.prototype.getAttachmentPieces=function(){var S;return S=[],this.blockList.eachObject(function(C){var E;return E=C.text,S=S.concat(E.getAttachmentPieces())}),S},k.prototype.getAttachments=function(){var S,C,E,D,A;for(D=this.getAttachmentPieces(),A=[],S=0,C=D.length;C>S;S++)E=D[S],A.push(E.attachment);return A},k.prototype.getRangeOfAttachment=function(S){var C,E,D,A,O,F,B;for(A=0,O=this.blockList.toArray(),E=C=0,D=O.length;D>C;E=++C){if(F=O[E].text,B=F.getRangeOfAttachment(S))return m([A+B[0],A+B[1]]);A+=F.getLength()}},k.prototype.getLocationRangeOfAttachment=function(S){var C;return C=this.getRangeOfAttachment(S),this.locationRangeFromRange(C)},k.prototype.getAttachmentPieceForAttachment=function(S){var C,E,D,A;for(A=this.getAttachmentPieces(),C=0,E=A.length;E>C;C++)if(D=A[C],D.attachment===S)return D},k.prototype.findRangesForBlockAttribute=function(S){var C,E,D,A,O,F,B;for(O=0,F=[],B=this.getBlocks(),E=0,D=B.length;D>E;E++)C=B[E],A=C.getLength(),C.hasAttribute(S)&&F.push([O,O+A]),O+=A;return F},k.prototype.findRangesForTextAttribute=function(S,C){var E,D,A,O,F,B,I,M,z,q;for(q=(C??{}).withValue,B=0,I=[],M=[],O=function(H){return q!=null?H.getAttribute(S)===q:H.hasAttribute(S)},z=this.getPieces(),E=0,D=z.length;D>E;E++)F=z[E],A=F.getLength(),O(F)&&(I[1]===B?I[1]=B+A:M.push(I=[B,B+A])),B+=A;return M},k.prototype.locationFromPosition=function(S){var C,E;return E=this.blockList.findIndexAndOffsetAtPosition(Math.max(0,S)),E.index!=null?E:(C=this.getBlocks(),{index:C.length-1,offset:C[C.length-1].getLength()})},k.prototype.positionFromLocation=function(S){return this.blockList.findPositionAtIndexAndOffset(S.index,S.offset)},k.prototype.locationRangeFromPosition=function(S){return m(this.locationFromPosition(S))},k.prototype.locationRangeFromRange=function(S){var C,E,D,A;if(S=m(S))return A=S[0],E=S[1],D=this.locationFromPosition(A),C=this.locationFromPosition(E),m([D,C])},k.prototype.rangeFromLocationRange=function(S){var C,E;return S=m(S),C=this.positionFromLocation(S[0]),f(S)||(E=this.positionFromLocation(S[1])),m([C,E])},k.prototype.isEqualTo=function(S){return this.blockList.isEqualTo(S!=null?S.blockList:void 0)},k.prototype.getTexts=function(){var S,C,E,D,A;for(D=this.getBlocks(),A=[],C=0,E=D.length;E>C;C++)S=D[C],A.push(S.text);return A},k.prototype.getPieces=function(){var S,C,E,D,A;for(E=[],D=this.getTexts(),S=0,C=D.length;C>S;S++)A=D[S],E.push.apply(E,A.getPieces());return E},k.prototype.getObjects=function(){return this.getBlocks().concat(this.getTexts()).concat(this.getPieces())},k.prototype.toSerializableDocument=function(){var S;return S=[],this.blockList.eachObject(function(C){return S.push(C.copyWithText(C.text.toSerializableText()))}),new this.constructor(S)},k.prototype.toString=function(){return this.blockList.toString()},k.prototype.toJSON=function(){return this.blockList.toJSON()},k.prototype.toConsole=function(){var S;return JSON.stringify((function(){var C,E,D,A;for(D=this.blockList.toArray(),A=[],C=0,E=D.length;E>C;C++)S=D[C],A.push(JSON.parse(S.text.toConsole()));return A}).call(this))},k}(u.Object)}).call(this),(function(){u.LineBreakInsertion=function(){function c(d){var m;this.composition=d,this.document=this.composition.document,m=this.composition.getSelectedRange(),this.startPosition=m[0],this.endPosition=m[1],this.startLocation=this.document.locationFromPosition(this.startPosition),this.endLocation=this.document.locationFromPosition(this.endPosition),this.block=this.document.getBlockAtIndex(this.endLocation.index),this.breaksOnReturn=this.block.breaksOnReturn(),this.previousCharacter=this.block.text.getStringAtPosition(this.endLocation.offset-1),this.nextCharacter=this.block.text.getStringAtPosition(this.endLocation.offset)}return c.prototype.shouldInsertBlockBreak=function(){return this.block.hasAttributes()&&this.block.isListItem()&&!this.block.isEmpty()?this.startLocation.offset!==0:this.breaksOnReturn&&this.nextCharacter!==`
`},c.prototype.shouldBreakFormattedBlock=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&(this.breaksOnReturn&&this.nextCharacter===`
`||this.previousCharacter===`
`)},c.prototype.shouldDecreaseListLevel=function(){return this.block.hasAttributes()&&this.block.isListItem()&&this.block.isEmpty()},c.prototype.shouldPrependListItem=function(){return this.block.isListItem()&&this.startLocation.offset===0&&!this.block.isEmpty()},c.prototype.shouldRemoveLastBlockAttribute=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&this.block.isEmpty()},c}()}).call(this),(function(){var c,d,m,f,v,g,y,b,w,k,$=function(C,E){function D(){this.constructor=C}for(var A in E)S.call(E,A)&&(C[A]=E[A]);return D.prototype=E.prototype,C.prototype=new D,C.__super__=E.prototype,C},S={}.hasOwnProperty;g=u.normalizeRange,w=u.rangesAreEqual,b=u.rangeIsCollapsed,y=u.objectsAreEqual,c=u.arrayStartsWith,k=u.summarizeArrayChange,m=u.getAllAttributeNames,f=u.getBlockConfig,v=u.getTextConfig,d=u.extend,u.Composition=function(C){function E(){this.document=new u.Document,this.attachments=[],this.currentAttributes={},this.revision=0}var D;return $(E,C),E.prototype.setDocument=function(A){var O;return A.isEqualTo(this.document)?void 0:(this.document=A,this.refreshAttachments(),this.revision++,(O=this.delegate)!=null&&typeof O.compositionDidChangeDocument=="function"?O.compositionDidChangeDocument(A):void 0)},E.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.getSelectedRange()}},E.prototype.loadSnapshot=function(A){var O,F,B,I;return O=A.document,I=A.selectedRange,(F=this.delegate)!=null&&typeof F.compositionWillLoadSnapshot=="function"&&F.compositionWillLoadSnapshot(),this.setDocument(O??new u.Document),this.setSelection(I??[0,0]),(B=this.delegate)!=null&&typeof B.compositionDidLoadSnapshot=="function"?B.compositionDidLoadSnapshot():void 0},E.prototype.insertText=function(A,O){var F,B,I,M;return M=(O??{updatePosition:!0}).updatePosition,B=this.getSelectedRange(),this.setDocument(this.document.insertTextAtRange(A,B)),I=B[0],F=I+A.getLength(),M&&this.setSelection(F),this.notifyDelegateOfInsertionAtRange([I,F])},E.prototype.insertBlock=function(A){var O;return A==null&&(A=new u.Block),O=new u.Document([A]),this.insertDocument(O)},E.prototype.insertDocument=function(A){var O,F,B;return A==null&&(A=new u.Document),F=this.getSelectedRange(),this.setDocument(this.document.insertDocumentAtRange(A,F)),B=F[0],O=B+A.getLength(),this.setSelection(O),this.notifyDelegateOfInsertionAtRange([B,O])},E.prototype.insertString=function(A,O){var F,B;return F=this.getCurrentTextAttributes(),B=u.Text.textForStringWithAttributes(A,F),this.insertText(B,O)},E.prototype.insertBlockBreak=function(){var A,O,F;return O=this.getSelectedRange(),this.setDocument(this.document.insertBlockBreakAtRange(O)),F=O[0],A=F+1,this.setSelection(A),this.notifyDelegateOfInsertionAtRange([F,A])},E.prototype.insertLineBreak=function(){var A,O;return O=new u.LineBreakInsertion(this),O.shouldDecreaseListLevel()?(this.decreaseListLevel(),this.setSelection(O.startPosition)):O.shouldPrependListItem()?(A=new u.Document([O.block.copyWithoutText()]),this.insertDocument(A)):O.shouldInsertBlockBreak()?this.insertBlockBreak():O.shouldRemoveLastBlockAttribute()?this.removeLastBlockAttribute():O.shouldBreakFormattedBlock()?this.breakFormattedBlock(O):this.insertString(`
`)},E.prototype.insertHTML=function(A){var O,F,B,I;return O=u.Document.fromHTML(A),B=this.getSelectedRange(),this.setDocument(this.document.mergeDocumentAtRange(O,B)),I=B[0],F=I+O.getLength()-1,this.setSelection(F),this.notifyDelegateOfInsertionAtRange([I,F])},E.prototype.replaceHTML=function(A){var O,F,B;return O=u.Document.fromHTML(A).copyUsingObjectsFromDocument(this.document),F=this.getLocationRange({strict:!1}),B=this.document.rangeFromLocationRange(F),this.setDocument(O),this.setSelection(B)},E.prototype.insertFile=function(A){return this.insertFiles([A])},E.prototype.insertFiles=function(A){var O,F,B,I,M,z;for(F=[],I=0,M=A.length;M>I;I++)B=A[I],(z=this.delegate)!=null&&z.compositionShouldAcceptFile(B)&&(O=u.Attachment.attachmentForFile(B),F.push(O));return this.insertAttachments(F)},E.prototype.insertAttachment=function(A){return this.insertAttachments([A])},E.prototype.insertAttachments=function(A){var O,F,B,I,M,z,q,H,Q;for(H=new u.Text,I=0,M=A.length;M>I;I++)O=A[I],Q=O.getType(),z=(q=u.config.attachments[Q])!=null?q.presentation:void 0,B=this.getCurrentTextAttributes(),z&&(B.presentation=z),F=u.Text.textForAttachmentWithAttributes(O,B),H=H.appendText(F);return this.insertText(H)},E.prototype.shouldManageDeletingInDirection=function(A){var O;if(O=this.getLocationRange(),b(O)){if(A==="backward"&&O[0].offset===0||this.shouldManageMovingCursorInDirection(A))return!0}else if(O[0].index!==O[1].index)return!0;return!1},E.prototype.deleteInDirection=function(A,O){var F,B,I,M,z,q,H,Q;return M=(O??{}).length,z=this.getLocationRange(),q=this.getSelectedRange(),H=b(q),H?I=A==="backward"&&z[0].offset===0:Q=z[0].index!==z[1].index,I&&this.canDecreaseBlockAttributeLevel()&&(B=this.getBlock(),B.isListItem()?this.decreaseListLevel():this.decreaseBlockAttributeLevel(),this.setSelection(q[0]),B.isEmpty())?!1:(H&&(q=this.getExpandedRangeInDirection(A,{length:M}),A==="backward"&&(F=this.getAttachmentAtRange(q))),F?(this.editAttachment(F),!1):(this.setDocument(this.document.removeTextAtRange(q)),this.setSelection(q[0]),I||Q?!1:void 0))},E.prototype.moveTextFromRange=function(A){var O;return O=this.getSelectedRange()[0],this.setDocument(this.document.moveTextFromRangeToPosition(A,O)),this.setSelection(O)},E.prototype.removeAttachment=function(A){var O;return(O=this.document.getRangeOfAttachment(A))?(this.stopEditingAttachment(),this.setDocument(this.document.removeTextAtRange(O)),this.setSelection(O[0])):void 0},E.prototype.removeLastBlockAttribute=function(){var A,O,F,B;return F=this.getSelectedRange(),B=F[0],O=F[1],A=this.document.getBlockAtPosition(O),this.removeCurrentAttribute(A.getLastAttribute()),this.setSelection(B)},D=" ",E.prototype.insertPlaceholder=function(){return this.placeholderPosition=this.getPosition(),this.insertString(D)},E.prototype.selectPlaceholder=function(){return this.placeholderPosition!=null?(this.setSelectedRange([this.placeholderPosition,this.placeholderPosition+D.length]),this.getSelectedRange()):void 0},E.prototype.forgetPlaceholder=function(){return this.placeholderPosition=null},E.prototype.hasCurrentAttribute=function(A){var O;return O=this.currentAttributes[A],O!=null&&O!==!1},E.prototype.toggleCurrentAttribute=function(A){var O;return(O=!this.currentAttributes[A])?this.setCurrentAttribute(A,O):this.removeCurrentAttribute(A)},E.prototype.canSetCurrentAttribute=function(A){return f(A)?this.canSetCurrentBlockAttribute(A):this.canSetCurrentTextAttribute(A)},E.prototype.canSetCurrentTextAttribute=function(){var A,O,F,B,I;if(O=this.getSelectedDocument()){for(I=O.getAttachments(),F=0,B=I.length;B>F;F++)if(A=I[F],!A.hasContent())return!1;return!0}},E.prototype.canSetCurrentBlockAttribute=function(){var A;if(A=this.getBlock())return!A.isTerminalBlock()},E.prototype.setCurrentAttribute=function(A,O){return f(A)?this.setBlockAttribute(A,O):(this.setTextAttribute(A,O),this.currentAttributes[A]=O,this.notifyDelegateOfCurrentAttributesChange())},E.prototype.setTextAttribute=function(A,O){var F,B,I,M;if(B=this.getSelectedRange())return I=B[0],F=B[1],I!==F?this.setDocument(this.document.addAttributeAtRange(A,O,B)):A==="href"?(M=u.Text.textForStringWithAttributes(O,{href:O}),this.insertText(M)):void 0},E.prototype.setBlockAttribute=function(A,O){var F;if(F=this.getSelectedRange())return this.canSetCurrentAttribute(A)?(this.getBlock(),this.setDocument(this.document.applyBlockAttributeAtRange(A,O,F)),this.setSelection(F)):void 0},E.prototype.removeCurrentAttribute=function(A){return f(A)?(this.removeBlockAttribute(A),this.updateCurrentAttributes()):(this.removeTextAttribute(A),delete this.currentAttributes[A],this.notifyDelegateOfCurrentAttributesChange())},E.prototype.removeTextAttribute=function(A){var O;if(O=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(A,O))},E.prototype.removeBlockAttribute=function(A){var O;if(O=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(A,O))},E.prototype.canDecreaseNestingLevel=function(){var A;return((A=this.getBlock())!=null?A.getNestingLevel():void 0)>0},E.prototype.canIncreaseNestingLevel=function(){var A,O,F;if(A=this.getBlock())return(F=f(A.getLastNestableAttribute()))!=null&&F.listAttribute?(O=this.getPreviousBlock())?c(O.getListItemAttributes(),A.getListItemAttributes()):void 0:A.getNestingLevel()>0},E.prototype.decreaseNestingLevel=function(){var A;if(A=this.getBlock())return this.setDocument(this.document.replaceBlock(A,A.decreaseNestingLevel()))},E.prototype.increaseNestingLevel=function(){var A;if(A=this.getBlock())return this.setDocument(this.document.replaceBlock(A,A.increaseNestingLevel()))},E.prototype.canDecreaseBlockAttributeLevel=function(){var A;return((A=this.getBlock())!=null?A.getAttributeLevel():void 0)>0},E.prototype.decreaseBlockAttributeLevel=function(){var A,O;return(A=(O=this.getBlock())!=null?O.getLastAttribute():void 0)?this.removeCurrentAttribute(A):void 0},E.prototype.decreaseListLevel=function(){var A,O,F,B,I,M;for(M=this.getSelectedRange()[0],I=this.document.locationFromPosition(M).index,F=I,A=this.getBlock().getAttributeLevel();(O=this.document.getBlockAtIndex(F+1))&&O.isListItem()&&O.getAttributeLevel()>A;)F++;return M=this.document.positionFromLocation({index:I,offset:0}),B=this.document.positionFromLocation({index:F,offset:0}),this.setDocument(this.document.removeLastListAttributeAtRange([M,B]))},E.prototype.updateCurrentAttributes=function(){var A,O,F,B,I,M;if(M=this.getSelectedRange({ignoreLock:!0})){for(O=this.document.getCommonAttributesAtRange(M),I=m(),F=0,B=I.length;B>F;F++)A=I[F],O[A]||this.canSetCurrentAttribute(A)||(O[A]=!1);if(!y(O,this.currentAttributes))return this.currentAttributes=O,this.notifyDelegateOfCurrentAttributesChange()}},E.prototype.getCurrentAttributes=function(){return d.call({},this.currentAttributes)},E.prototype.getCurrentTextAttributes=function(){var A,O,F,B;A={},F=this.currentAttributes;for(O in F)B=F[O],B!==!1&&v(O)&&(A[O]=B);return A},E.prototype.freezeSelection=function(){return this.setCurrentAttribute("frozen",!0)},E.prototype.thawSelection=function(){return this.removeCurrentAttribute("frozen")},E.prototype.hasFrozenSelection=function(){return this.hasCurrentAttribute("frozen")},E.proxyMethod("getSelectionManager().getPointRange"),E.proxyMethod("getSelectionManager().setLocationRangeFromPointRange"),E.proxyMethod("getSelectionManager().createLocationRangeFromDOMRange"),E.proxyMethod("getSelectionManager().locationIsCursorTarget"),E.proxyMethod("getSelectionManager().selectionIsExpanded"),E.proxyMethod("delegate?.getSelectionManager"),E.prototype.setSelection=function(A){var O,F;return O=this.document.locationRangeFromRange(A),(F=this.delegate)!=null?F.compositionDidRequestChangingSelectionToLocationRange(O):void 0},E.prototype.getSelectedRange=function(){var A;return(A=this.getLocationRange())?this.document.rangeFromLocationRange(A):void 0},E.prototype.setSelectedRange=function(A){var O;return O=this.document.locationRangeFromRange(A),this.getSelectionManager().setLocationRange(O)},E.prototype.getPosition=function(){var A;return(A=this.getLocationRange())?this.document.positionFromLocation(A[0]):void 0},E.prototype.getLocationRange=function(A){var O,F;return(O=(F=this.targetLocationRange)!=null?F:this.getSelectionManager().getLocationRange(A))!=null?O:g({index:0,offset:0})},E.prototype.withTargetLocationRange=function(A,O){var F;this.targetLocationRange=A;try{F=O()}finally{this.targetLocationRange=null}return F},E.prototype.withTargetRange=function(A,O){var F;return F=this.document.locationRangeFromRange(A),this.withTargetLocationRange(F,O)},E.prototype.withTargetDOMRange=function(A,O){var F;return F=this.createLocationRangeFromDOMRange(A,{strict:!1}),this.withTargetLocationRange(F,O)},E.prototype.getExpandedRangeInDirection=function(A,O){var F,B,I,M;return B=(O??{}).length,I=this.getSelectedRange(),M=I[0],F=I[1],A==="backward"?B?M-=B:M=this.translateUTF16PositionFromOffset(M,-1):B?F+=B:F=this.translateUTF16PositionFromOffset(F,1),g([M,F])},E.prototype.shouldManageMovingCursorInDirection=function(A){var O;return this.editingAttachment?!0:(O=this.getExpandedRangeInDirection(A),this.getAttachmentAtRange(O)!=null)},E.prototype.moveCursorInDirection=function(A){var O,F,B,I;return this.editingAttachment?B=this.document.getRangeOfAttachment(this.editingAttachment):(I=this.getSelectedRange(),B=this.getExpandedRangeInDirection(A),F=!w(I,B)),this.setSelectedRange(A==="backward"?B[0]:B[1]),F&&(O=this.getAttachmentAtRange(B))?this.editAttachment(O):void 0},E.prototype.expandSelectionInDirection=function(A,O){var F,B;return F=(O??{}).length,B=this.getExpandedRangeInDirection(A,{length:F}),this.setSelectedRange(B)},E.prototype.expandSelectionForEditing=function(){return this.hasCurrentAttribute("href")?this.expandSelectionAroundCommonAttribute("href"):void 0},E.prototype.expandSelectionAroundCommonAttribute=function(A){var O,F;return O=this.getPosition(),F=this.document.getRangeOfCommonAttributeAtPosition(A,O),this.setSelectedRange(F)},E.prototype.selectionContainsAttachments=function(){var A;return((A=this.getSelectedAttachments())!=null?A.length:void 0)>0},E.prototype.selectionIsInCursorTarget=function(){return this.editingAttachment||this.positionIsCursorTarget(this.getPosition())},E.prototype.positionIsCursorTarget=function(A){var O;return(O=this.document.locationFromPosition(A))?this.locationIsCursorTarget(O):void 0},E.prototype.positionIsBlockBreak=function(A){var O;return(O=this.document.getPieceAtPosition(A))!=null?O.isBlockBreak():void 0},E.prototype.getSelectedDocument=function(){var A;return(A=this.getSelectedRange())?this.document.getDocumentAtRange(A):void 0},E.prototype.getSelectedAttachments=function(){var A;return(A=this.getSelectedDocument())!=null?A.getAttachments():void 0},E.prototype.getAttachments=function(){return this.attachments.slice(0)},E.prototype.refreshAttachments=function(){var A,O,F,B,I,M,z,q,H,Q,j,ee;for(F=this.document.getAttachments(),q=k(this.attachments,F),A=q.added,j=q.removed,this.attachments=F,B=0,M=j.length;M>B;B++)O=j[B],O.delegate=null,(H=this.delegate)!=null&&typeof H.compositionDidRemoveAttachment=="function"&&H.compositionDidRemoveAttachment(O);for(ee=[],I=0,z=A.length;z>I;I++)O=A[I],O.delegate=this,ee.push((Q=this.delegate)!=null&&typeof Q.compositionDidAddAttachment=="function"?Q.compositionDidAddAttachment(O):void 0);return ee},E.prototype.attachmentDidChangeAttributes=function(A){var O;return this.revision++,(O=this.delegate)!=null&&typeof O.compositionDidEditAttachment=="function"?O.compositionDidEditAttachment(A):void 0},E.prototype.attachmentDidChangePreviewURL=function(A){var O;return this.revision++,(O=this.delegate)!=null&&typeof O.compositionDidChangeAttachmentPreviewURL=="function"?O.compositionDidChangeAttachmentPreviewURL(A):void 0},E.prototype.editAttachment=function(A,O){var F;if(A!==this.editingAttachment)return this.stopEditingAttachment(),this.editingAttachment=A,(F=this.delegate)!=null&&typeof F.compositionDidStartEditingAttachment=="function"?F.compositionDidStartEditingAttachment(this.editingAttachment,O):void 0},E.prototype.stopEditingAttachment=function(){var A;if(this.editingAttachment)return(A=this.delegate)!=null&&typeof A.compositionDidStopEditingAttachment=="function"&&A.compositionDidStopEditingAttachment(this.editingAttachment),this.editingAttachment=null},E.prototype.updateAttributesForAttachment=function(A,O){return this.setDocument(this.document.updateAttributesForAttachment(A,O))},E.prototype.removeAttributeForAttachment=function(A,O){return this.setDocument(this.document.removeAttributeForAttachment(A,O))},E.prototype.breakFormattedBlock=function(A){var O,F,B,I,M;return F=A.document,O=A.block,I=A.startPosition,M=[I-1,I],O.getBlockBreakPosition()===A.startLocation.offset?(O.breaksOnReturn()&&A.nextCharacter===`
`?I+=1:F=F.removeTextAtRange(M),M=[I,I]):A.nextCharacter===`
`?A.previousCharacter===`
`?M=[I-1,I+1]:(M=[I,I+1],I+=1):A.startLocation.offset-1!==0&&(I+=1),B=new u.Document([O.removeLastAttribute().copyWithoutText()]),this.setDocument(F.insertDocumentAtRange(B,M)),this.setSelection(I)},E.prototype.getPreviousBlock=function(){var A,O;return(O=this.getLocationRange())&&(A=O[0].index,A>0)?this.document.getBlockAtIndex(A-1):void 0},E.prototype.getBlock=function(){var A;return(A=this.getLocationRange())?this.document.getBlockAtIndex(A[0].index):void 0},E.prototype.getAttachmentAtRange=function(A){var O;return O=this.document.getDocumentAtRange(A),O.toString()===u.OBJECT_REPLACEMENT_CHARACTER+`
`?O.getAttachments()[0]:void 0},E.prototype.notifyDelegateOfCurrentAttributesChange=function(){var A;return(A=this.delegate)!=null&&typeof A.compositionDidChangeCurrentAttributes=="function"?A.compositionDidChangeCurrentAttributes(this.currentAttributes):void 0},E.prototype.notifyDelegateOfInsertionAtRange=function(A){var O;return(O=this.delegate)!=null&&typeof O.compositionDidPerformInsertionAtRange=="function"?O.compositionDidPerformInsertionAtRange(A):void 0},E.prototype.translateUTF16PositionFromOffset=function(A,O){var F,B;return B=this.document.toUTF16String(),F=B.offsetFromUCS2Offset(A),B.offsetToUCS2Offset(F+O)},E}(u.BasicObject)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.UndoManager=function(m){function f(g){this.composition=g,this.undoEntries=[],this.redoEntries=[]}var v;return c(f,m),f.prototype.recordUndoEntry=function(g,y){var b,w,k,$,S;return $=y??{},w=$.context,b=$.consolidatable,k=this.undoEntries.slice(-1)[0],b&&v(k,g,w)?void 0:(S=this.createEntry({description:g,context:w}),this.undoEntries.push(S),this.redoEntries=[])},f.prototype.undo=function(){var g,y;return(y=this.undoEntries.pop())?(g=this.createEntry(y),this.redoEntries.push(g),this.composition.loadSnapshot(y.snapshot)):void 0},f.prototype.redo=function(){var g,y;return(g=this.redoEntries.pop())?(y=this.createEntry(g),this.undoEntries.push(y),this.composition.loadSnapshot(g.snapshot)):void 0},f.prototype.canUndo=function(){return this.undoEntries.length>0},f.prototype.canRedo=function(){return this.redoEntries.length>0},f.prototype.createEntry=function(g){var y,b,w;return w=g??{},b=w.description,y=w.context,{description:b!=null?b.toString():void 0,context:JSON.stringify(y),snapshot:this.composition.getSnapshot()}},v=function(g,y,b){return(g!=null?g.description:void 0)===(y!=null?y.toString():void 0)&&(g!=null?g.context:void 0)===JSON.stringify(b)},f}(u.BasicObject)}).call(this),(function(){var c;u.attachmentGalleryFilter=function(d){var m;return m=new c(d),m.perform(),m.getSnapshot()},c=function(){function d(g){this.document=g.document,this.selectedRange=g.selectedRange}var m,f,v;return m="attachmentGallery",f="presentation",v="gallery",d.prototype.perform=function(){return this.removeBlockAttribute(),this.applyBlockAttribute()},d.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.selectedRange}},d.prototype.removeBlockAttribute=function(){var g,y,b,w,k;for(w=this.findRangesOfBlocks(),k=[],g=0,y=w.length;y>g;g++)b=w[g],k.push(this.document=this.document.removeAttributeAtRange(m,b));return k},d.prototype.applyBlockAttribute=function(){var g,y,b,w,k,$;for(b=0,k=this.findRangesOfPieces(),$=[],g=0,y=k.length;y>g;g++)w=k[g],w[1]-w[0]>1&&(w[0]+=b,w[1]+=b,this.document.getCharacterAtPosition(w[1])!==`
`&&(this.document=this.document.insertBlockBreakAtRange(w[1]),w[1]<this.selectedRange[1]&&this.moveSelectedRangeForward(),w[1]++,b++),w[0]!==0&&this.document.getCharacterAtPosition(w[0]-1)!==`
`&&(this.document=this.document.insertBlockBreakAtRange(w[0]),w[0]<this.selectedRange[0]&&this.moveSelectedRangeForward(),w[0]++,b++),$.push(this.document=this.document.applyBlockAttributeAtRange(m,!0,w)));return $},d.prototype.findRangesOfBlocks=function(){return this.document.findRangesForBlockAttribute(m)},d.prototype.findRangesOfPieces=function(){return this.document.findRangesForTextAttribute(f,{withValue:v})},d.prototype.moveSelectedRangeForward=function(){return this.selectedRange[0]+=1,this.selectedRange[1]+=1},d}()}).call(this),(function(){var c=function(d,m){return function(){return d.apply(m,arguments)}};u.Editor=function(){function d(f,v,g){this.composition=f,this.selectionManager=v,this.element=g,this.insertFiles=c(this.insertFiles,this),this.undoManager=new u.UndoManager(this.composition),this.filters=m.slice(0)}var m;return m=[u.attachmentGalleryFilter],d.prototype.loadDocument=function(f){return this.loadSnapshot({document:f,selectedRange:[0,0]})},d.prototype.loadHTML=function(f){return f==null&&(f=""),this.loadDocument(u.Document.fromHTML(f,{referenceElement:this.element}))},d.prototype.loadJSON=function(f){var v,g;return v=f.document,g=f.selectedRange,v=u.Document.fromJSON(v),this.loadSnapshot({document:v,selectedRange:g})},d.prototype.loadSnapshot=function(f){return this.undoManager=new u.UndoManager(this.composition),this.composition.loadSnapshot(f)},d.prototype.getDocument=function(){return this.composition.document},d.prototype.getSelectedDocument=function(){return this.composition.getSelectedDocument()},d.prototype.getSnapshot=function(){return this.composition.getSnapshot()},d.prototype.toJSON=function(){return this.getSnapshot()},d.prototype.deleteInDirection=function(f){return this.composition.deleteInDirection(f)},d.prototype.insertAttachment=function(f){return this.composition.insertAttachment(f)},d.prototype.insertAttachments=function(f){return this.composition.insertAttachments(f)},d.prototype.insertDocument=function(f){return this.composition.insertDocument(f)},d.prototype.insertFile=function(f){return this.composition.insertFile(f)},d.prototype.insertFiles=function(f){return this.composition.insertFiles(f)},d.prototype.insertHTML=function(f){return this.composition.insertHTML(f)},d.prototype.insertString=function(f){return this.composition.insertString(f)},d.prototype.insertText=function(f){return this.composition.insertText(f)},d.prototype.insertLineBreak=function(){return this.composition.insertLineBreak()},d.prototype.getSelectedRange=function(){return this.composition.getSelectedRange()},d.prototype.getPosition=function(){return this.composition.getPosition()},d.prototype.getClientRectAtPosition=function(f){var v;return v=this.getDocument().locationRangeFromRange([f,f+1]),this.selectionManager.getClientRectAtLocationRange(v)},d.prototype.expandSelectionInDirection=function(f){return this.composition.expandSelectionInDirection(f)},d.prototype.moveCursorInDirection=function(f){return this.composition.moveCursorInDirection(f)},d.prototype.setSelectedRange=function(f){return this.composition.setSelectedRange(f)},d.prototype.activateAttribute=function(f,v){return v==null&&(v=!0),this.composition.setCurrentAttribute(f,v)},d.prototype.attributeIsActive=function(f){return this.composition.hasCurrentAttribute(f)},d.prototype.canActivateAttribute=function(f){return this.composition.canSetCurrentAttribute(f)},d.prototype.deactivateAttribute=function(f){return this.composition.removeCurrentAttribute(f)},d.prototype.canDecreaseNestingLevel=function(){return this.composition.canDecreaseNestingLevel()},d.prototype.canIncreaseNestingLevel=function(){return this.composition.canIncreaseNestingLevel()},d.prototype.decreaseNestingLevel=function(){return this.canDecreaseNestingLevel()?this.composition.decreaseNestingLevel():void 0},d.prototype.increaseNestingLevel=function(){return this.canIncreaseNestingLevel()?this.composition.increaseNestingLevel():void 0},d.prototype.canRedo=function(){return this.undoManager.canRedo()},d.prototype.canUndo=function(){return this.undoManager.canUndo()},d.prototype.recordUndoEntry=function(f,v){var g,y,b;return b=v??{},y=b.context,g=b.consolidatable,this.undoManager.recordUndoEntry(f,{context:y,consolidatable:g})},d.prototype.redo=function(){return this.canRedo()?this.undoManager.redo():void 0},d.prototype.undo=function(){return this.canUndo()?this.undoManager.undo():void 0},d}()}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.ManagedAttachment=function(m){function f(v,g){var y;this.attachmentManager=v,this.attachment=g,y=this.attachment,this.id=y.id,this.file=y.file}return c(f,m),f.prototype.remove=function(){return this.attachmentManager.requestRemovalOfAttachment(this.attachment)},f.proxyMethod("attachment.getAttribute"),f.proxyMethod("attachment.hasAttribute"),f.proxyMethod("attachment.setAttribute"),f.proxyMethod("attachment.getAttributes"),f.proxyMethod("attachment.setAttributes"),f.proxyMethod("attachment.isPending"),f.proxyMethod("attachment.isPreviewable"),f.proxyMethod("attachment.getURL"),f.proxyMethod("attachment.getHref"),f.proxyMethod("attachment.getFilename"),f.proxyMethod("attachment.getFilesize"),f.proxyMethod("attachment.getFormattedFilesize"),f.proxyMethod("attachment.getExtension"),f.proxyMethod("attachment.getContentType"),f.proxyMethod("attachment.getFile"),f.proxyMethod("attachment.setFile"),f.proxyMethod("attachment.releaseFile"),f.proxyMethod("attachment.getUploadProgress"),f.proxyMethod("attachment.setUploadProgress"),f}(u.BasicObject)}).call(this),(function(){var c=function(m,f){function v(){this.constructor=m}for(var g in f)d.call(f,g)&&(m[g]=f[g]);return v.prototype=f.prototype,m.prototype=new v,m.__super__=f.prototype,m},d={}.hasOwnProperty;u.AttachmentManager=function(m){function f(v){var g,y,b;for(v==null&&(v=[]),this.managedAttachments={},y=0,b=v.length;b>y;y++)g=v[y],this.manageAttachment(g)}return c(f,m),f.prototype.getAttachments=function(){var v,g,y,b;y=this.managedAttachments,b=[];for(g in y)v=y[g],b.push(v);return b},f.prototype.manageAttachment=function(v){var g,y;return(g=this.managedAttachments)[y=v.id]!=null?g[y]:g[y]=new u.ManagedAttachment(this,v)},f.prototype.attachmentIsManaged=function(v){return v.id in this.managedAttachments},f.prototype.requestRemovalOfAttachment=function(v){var g;return this.attachmentIsManaged(v)&&(g=this.delegate)!=null&&typeof g.attachmentManagerDidRequestRemovalOfAttachment=="function"?g.attachmentManagerDidRequestRemovalOfAttachment(v):void 0},f.prototype.unmanageAttachment=function(v){var g;return g=this.managedAttachments[v.id],delete this.managedAttachments[v.id],g},f}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v,g,y,b,w,k,$;c=u.elementContainsNode,d=u.findChildIndexOfNode,v=u.nodeIsBlockStart,g=u.nodeIsBlockStartComment,f=u.nodeIsBlockContainer,y=u.nodeIsCursorTarget,b=u.nodeIsEmptyTextNode,w=u.nodeIsTextNode,m=u.nodeIsAttachmentElement,k=u.tagName,$=u.walkTree,u.LocationMapper=function(){function S(O){this.element=O}var C,E,D,A;return S.prototype.findLocationFromContainerAndOffset=function(O,F,B){var I,M,z,q,H,Q,j;for(Q=(B??{strict:!0}).strict,M=0,z=!1,q={index:0,offset:0},(I=this.findAttachmentElementParentForNode(O))&&(O=I.parentNode,F=d(I)),j=$(this.element,{usingFilter:D});j.nextNode();){if(H=j.currentNode,H===O&&w(O)){y(H)||(q.offset+=F);break}if(H.parentNode===O){if(M++===F)break}else if(!c(O,H)&&M>0)break;v(H,{strict:Q})?(z&&q.index++,q.offset=0,z=!0):q.offset+=E(H)}return q},S.prototype.findContainerAndOffsetFromLocation=function(O){var F,B,I,M,z;if(O.index===0&&O.offset===0){for(F=this.element,M=0;F.firstChild;)if(F=F.firstChild,f(F)){M=1;break}return[F,M]}if(z=this.findNodeAndOffsetFromLocation(O),B=z[0],I=z[1],B){if(w(B))E(B)===0?(F=B.parentNode.parentNode,M=d(B.parentNode),y(B,{name:"right"})&&M++):(F=B,M=O.offset-I);else{if(F=B.parentNode,!v(B.previousSibling)&&!f(F))for(;B===F.lastChild&&(B=F,F=F.parentNode,!f(F)););M=d(B),O.offset!==0&&M++}return[F,M]}},S.prototype.findNodeAndOffsetFromLocation=function(O){var F,B,I,M,z,q,H,Q;for(H=0,Q=this.getSignificantNodesForIndex(O.index),B=0,I=Q.length;I>B;B++){if(F=Q[B],M=E(F),O.offset<=H+M)if(w(F)){if(z=F,q=H,O.offset===q&&y(z))break}else z||(z=F,q=H);if(H+=M,H>O.offset)break}return[z,q]},S.prototype.findAttachmentElementParentForNode=function(O){for(;O&&O!==this.element;){if(m(O))return O;O=O.parentNode}},S.prototype.getSignificantNodesForIndex=function(O){var F,B,I,M,z;for(I=[],z=$(this.element,{usingFilter:C}),M=!1;z.nextNode();)if(B=z.currentNode,g(B)){if(typeof F<"u"&&F!==null?F++:F=0,F===O)M=!0;else if(M)break}else M&&I.push(B);return I},E=function(O){var F;return O.nodeType===Node.TEXT_NODE?y(O)?0:(F=O.textContent,F.length):k(O)==="br"||m(O)?1:0},C=function(O){return A(O)===NodeFilter.FILTER_ACCEPT?D(O):NodeFilter.FILTER_REJECT},A=function(O){return b(O)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},D=function(O){return m(O.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},S}()}).call(this),(function(){var c,d,m=[].slice;c=u.getDOMRange,d=u.setDOMRange,u.PointMapper=function(){function f(){}return f.prototype.createDOMRangeFromPoint=function(v){var g,y,b,w,k,$,S,C;if(S=v.x,C=v.y,document.caretPositionFromPoint)return k=document.caretPositionFromPoint(S,C),b=k.offsetNode,y=k.offset,g=document.createRange(),g.setStart(b,y),g;if(document.caretRangeFromPoint)return document.caretRangeFromPoint(S,C);if(document.body.createTextRange){w=c();try{$=document.body.createTextRange(),$.moveToPoint(S,C),$.select()}catch{}return g=c(),d(w),g}},f.prototype.getClientRectsForDOMRange=function(v){var g,y,b;return y=m.call(v.getClientRects()),b=y[0],g=y[y.length-1],[b,g]},f}()}).call(this),(function(){var c,d=function(g,y){return function(){return g.apply(y,arguments)}},m=function(g,y){function b(){this.constructor=g}for(var w in y)f.call(y,w)&&(g[w]=y[w]);return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},f={}.hasOwnProperty,v=[].indexOf||function(g){for(var y=0,b=this.length;b>y;y++)if(y in this&&this[y]===g)return y;return-1};c=u.getDOMRange,u.SelectionChangeObserver=function(g){function y(){this.run=d(this.run,this),this.update=d(this.update,this),this.selectionManagers=[]}var b;return m(y,g),y.prototype.start=function(){return this.started?void 0:(this.started=!0,"onselectionchange"in document?document.addEventListener("selectionchange",this.update,!0):this.run())},y.prototype.stop=function(){return this.started?(this.started=!1,document.removeEventListener("selectionchange",this.update,!0)):void 0},y.prototype.registerSelectionManager=function(w){return v.call(this.selectionManagers,w)<0?(this.selectionManagers.push(w),this.start()):void 0},y.prototype.unregisterSelectionManager=function(w){var k;return this.selectionManagers=(function(){var $,S,C,E;for(C=this.selectionManagers,E=[],$=0,S=C.length;S>$;$++)k=C[$],k!==w&&E.push(k);return E}).call(this),this.selectionManagers.length===0?this.stop():void 0},y.prototype.notifySelectionManagersOfSelectionChange=function(){var w,k,$,S,C;for($=this.selectionManagers,S=[],w=0,k=$.length;k>w;w++)C=$[w],S.push(C.selectionDidChange());return S},y.prototype.update=function(){var w;return w=c(),b(w,this.domRange)?void 0:(this.domRange=w,this.notifySelectionManagersOfSelectionChange())},y.prototype.reset=function(){return this.domRange=null,this.update()},y.prototype.run=function(){return this.started?(this.update(),requestAnimationFrame(this.run)):void 0},b=function(w,k){return(w!=null?w.startContainer:void 0)===(k!=null?k.startContainer:void 0)&&(w!=null?w.startOffset:void 0)===(k!=null?k.startOffset:void 0)&&(w!=null?w.endContainer:void 0)===(k!=null?k.endContainer:void 0)&&(w!=null?w.endOffset:void 0)===(k!=null?k.endOffset:void 0)},y}(u.BasicObject),u.selectionChangeObserver==null&&(u.selectionChangeObserver=new u.SelectionChangeObserver)}).call(this),(function(){var c,d,m,f,v,g,y,b,w,k,$=function(E,D){return function(){return E.apply(D,arguments)}},S=function(E,D){function A(){this.constructor=E}for(var O in D)C.call(D,O)&&(E[O]=D[O]);return A.prototype=D.prototype,E.prototype=new A,E.__super__=D.prototype,E},C={}.hasOwnProperty;m=u.getDOMSelection,d=u.getDOMRange,k=u.setDOMRange,c=u.elementContainsNode,g=u.nodeIsCursorTarget,v=u.innerElementIsActive,f=u.handleEvent,y=u.normalizeRange,b=u.rangeIsCollapsed,w=u.rangesAreEqual,u.SelectionManager=function(E){function D(A){this.element=A,this.selectionDidChange=$(this.selectionDidChange,this),this.didMouseDown=$(this.didMouseDown,this),this.locationMapper=new u.LocationMapper(this.element),this.pointMapper=new u.PointMapper,this.lockCount=0,f("mousedown",{onElement:this.element,withCallback:this.didMouseDown})}return S(D,E),D.prototype.getLocationRange=function(A){var O;return A==null&&(A={}),A.strict===!1?this.createLocationRangeFromDOMRange(d(),{strict:!1}):A.ignoreLock?this.currentLocationRange:(O=this.lockedLocationRange)!=null?O:this.currentLocationRange},D.prototype.setLocationRange=function(A){var O;if(!this.lockedLocationRange)return A=y(A),(O=this.createDOMRangeFromLocationRange(A))?(k(O),this.updateCurrentLocationRange(A)):void 0},D.prototype.setLocationRangeFromPointRange=function(A){var O,F;return A=y(A),F=this.getLocationAtPoint(A[0]),O=this.getLocationAtPoint(A[1]),this.setLocationRange([F,O])},D.prototype.getClientRectAtLocationRange=function(A){var O;return(O=this.createDOMRangeFromLocationRange(A))?this.getClientRectsForDOMRange(O)[1]:void 0},D.prototype.locationIsCursorTarget=function(A){var O,F;return F=this.findNodeAndOffsetFromLocation(A),O=F[0],F[1],g(O)},D.prototype.lock=function(){return this.lockCount++===0?(this.updateCurrentLocationRange(),this.lockedLocationRange=this.getLocationRange()):void 0},D.prototype.unlock=function(){var A;return--this.lockCount===0&&(A=this.lockedLocationRange,this.lockedLocationRange=null,A!=null)?this.setLocationRange(A):void 0},D.prototype.clearSelection=function(){var A;return(A=m())!=null?A.removeAllRanges():void 0},D.prototype.selectionIsCollapsed=function(){var A;return((A=d())!=null?A.collapsed:void 0)===!0},D.prototype.selectionIsExpanded=function(){return!this.selectionIsCollapsed()},D.prototype.createLocationRangeFromDOMRange=function(A,O){var F,B;if(A!=null&&this.domRangeWithinElement(A)&&(B=this.findLocationFromContainerAndOffset(A.startContainer,A.startOffset,O)))return A.collapsed||(F=this.findLocationFromContainerAndOffset(A.endContainer,A.endOffset,O)),y([B,F])},D.proxyMethod("locationMapper.findLocationFromContainerAndOffset"),D.proxyMethod("locationMapper.findContainerAndOffsetFromLocation"),D.proxyMethod("locationMapper.findNodeAndOffsetFromLocation"),D.proxyMethod("pointMapper.createDOMRangeFromPoint"),D.proxyMethod("pointMapper.getClientRectsForDOMRange"),D.prototype.didMouseDown=function(){return this.pauseTemporarily()},D.prototype.pauseTemporarily=function(){var A,O,F,B;return this.paused=!0,O=function(I){return function(){var M,z,q;for(I.paused=!1,clearTimeout(B),z=0,q=F.length;q>z;z++)M=F[z],M.destroy();return c(document,I.element)?I.selectionDidChange():void 0}}(this),B=setTimeout(O,200),F=function(){var I,M,z,q;for(z=["mousemove","keydown"],q=[],I=0,M=z.length;M>I;I++)A=z[I],q.push(f(A,{onElement:document,withCallback:O}));return q}()},D.prototype.selectionDidChange=function(){return this.paused||v(this.element)?void 0:this.updateCurrentLocationRange()},D.prototype.updateCurrentLocationRange=function(A){var O;return(A??(A=this.createLocationRangeFromDOMRange(d())))&&!w(A,this.currentLocationRange)?(this.currentLocationRange=A,(O=this.delegate)!=null&&typeof O.locationRangeDidChange=="function"?O.locationRangeDidChange(this.currentLocationRange.slice(0)):void 0):void 0},D.prototype.createDOMRangeFromLocationRange=function(A){var O,F,B,I;return B=this.findContainerAndOffsetFromLocation(A[0]),F=b(A)?B:(I=this.findContainerAndOffsetFromLocation(A[1]))!=null?I:B,B!=null&&F!=null?(O=document.createRange(),O.setStart.apply(O,B),O.setEnd.apply(O,F),O):void 0},D.prototype.getLocationAtPoint=function(A){var O,F;return(O=this.createDOMRangeFromPoint(A))&&(F=this.createLocationRangeFromDOMRange(O))!=null?F[0]:void 0},D.prototype.domRangeWithinElement=function(A){return A.collapsed?c(this.element,A.startContainer):c(this.element,A.startContainer)&&c(this.element,A.endContainer)},D}(u.BasicObject)}).call(this),(function(){var c,d,m,f,v=function(b,w){function k(){this.constructor=b}for(var $ in w)g.call(w,$)&&(b[$]=w[$]);return k.prototype=w.prototype,b.prototype=new k,b.__super__=w.prototype,b},g={}.hasOwnProperty,y=[].slice;m=u.rangeIsCollapsed,f=u.rangesAreEqual,d=u.objectsAreEqual,c=u.getBlockConfig,u.EditorController=function(b){function w($){var S,C;this.editorElement=$.editorElement,S=$.document,C=$.html,this.selectionManager=new u.SelectionManager(this.editorElement),this.selectionManager.delegate=this,this.composition=new u.Composition,this.composition.delegate=this,this.attachmentManager=new u.AttachmentManager(this.composition.getAttachments()),this.attachmentManager.delegate=this,this.inputController=new u["Level"+u.config.input.getLevel()+"InputController"](this.editorElement),this.inputController.delegate=this,this.inputController.responder=this.composition,this.compositionController=new u.CompositionController(this.editorElement,this.composition),this.compositionController.delegate=this,this.toolbarController=new u.ToolbarController(this.editorElement.toolbarElement),this.toolbarController.delegate=this,this.editor=new u.Editor(this.composition,this.selectionManager,this.editorElement),S!=null?this.editor.loadDocument(S):this.editor.loadHTML(C)}var k;return v(w,b),w.prototype.registerSelectionManager=function(){return u.selectionChangeObserver.registerSelectionManager(this.selectionManager)},w.prototype.unregisterSelectionManager=function(){return u.selectionChangeObserver.unregisterSelectionManager(this.selectionManager)},w.prototype.render=function(){return this.compositionController.render()},w.prototype.reparse=function(){return this.composition.replaceHTML(this.editorElement.innerHTML)},w.prototype.compositionDidChangeDocument=function(){return this.notifyEditorElement("document-change"),this.handlingInput?void 0:this.render()},w.prototype.compositionDidChangeCurrentAttributes=function($){return this.currentAttributes=$,this.toolbarController.updateAttributes(this.currentAttributes),this.updateCurrentActions(),this.notifyEditorElement("attributes-change",{attributes:this.currentAttributes})},w.prototype.compositionDidPerformInsertionAtRange=function($){return this.pasting?this.pastedRange=$:void 0},w.prototype.compositionShouldAcceptFile=function($){return this.notifyEditorElement("file-accept",{file:$})},w.prototype.compositionDidAddAttachment=function($){var S;return S=this.attachmentManager.manageAttachment($),this.notifyEditorElement("attachment-add",{attachment:S})},w.prototype.compositionDidEditAttachment=function($){var S;return this.compositionController.rerenderViewForObject($),S=this.attachmentManager.manageAttachment($),this.notifyEditorElement("attachment-edit",{attachment:S}),this.notifyEditorElement("change")},w.prototype.compositionDidChangeAttachmentPreviewURL=function($){return this.compositionController.invalidateViewForObject($),this.notifyEditorElement("change")},w.prototype.compositionDidRemoveAttachment=function($){var S;return S=this.attachmentManager.unmanageAttachment($),this.notifyEditorElement("attachment-remove",{attachment:S})},w.prototype.compositionDidStartEditingAttachment=function($,S){return this.attachmentLocationRange=this.composition.document.getLocationRangeOfAttachment($),this.compositionController.installAttachmentEditorForAttachment($,S),this.selectionManager.setLocationRange(this.attachmentLocationRange)},w.prototype.compositionDidStopEditingAttachment=function(){return this.compositionController.uninstallAttachmentEditor(),this.attachmentLocationRange=null},w.prototype.compositionDidRequestChangingSelectionToLocationRange=function($){return!this.loadingSnapshot||this.isFocused()?(this.requestedLocationRange=$,this.compositionRevisionWhenLocationRangeRequested=this.composition.revision,this.handlingInput?void 0:this.render()):void 0},w.prototype.compositionWillLoadSnapshot=function(){return this.loadingSnapshot=!0},w.prototype.compositionDidLoadSnapshot=function(){return this.compositionController.refreshViewCache(),this.render(),this.loadingSnapshot=!1},w.prototype.getSelectionManager=function(){return this.selectionManager},w.proxyMethod("getSelectionManager().setLocationRange"),w.proxyMethod("getSelectionManager().getLocationRange"),w.prototype.attachmentManagerDidRequestRemovalOfAttachment=function($){return this.removeAttachment($)},w.prototype.compositionControllerWillSyncDocumentView=function(){return this.inputController.editorWillSyncDocumentView(),this.selectionManager.lock(),this.selectionManager.clearSelection()},w.prototype.compositionControllerDidSyncDocumentView=function(){return this.inputController.editorDidSyncDocumentView(),this.selectionManager.unlock(),this.updateCurrentActions(),this.notifyEditorElement("sync")},w.prototype.compositionControllerDidRender=function(){return this.requestedLocationRange!=null&&(this.compositionRevisionWhenLocationRangeRequested===this.composition.revision&&this.selectionManager.setLocationRange(this.requestedLocationRange),this.requestedLocationRange=null,this.compositionRevisionWhenLocationRangeRequested=null),this.renderedCompositionRevision!==this.composition.revision&&(this.runEditorFilters(),this.composition.updateCurrentAttributes(),this.notifyEditorElement("render")),this.renderedCompositionRevision=this.composition.revision},w.prototype.compositionControllerDidFocus=function(){return this.isFocusedInvisibly()&&this.setLocationRange({index:0,offset:0}),this.toolbarController.hideDialog(),this.notifyEditorElement("focus")},w.prototype.compositionControllerDidBlur=function(){return this.notifyEditorElement("blur")},w.prototype.compositionControllerDidSelectAttachment=function($,S){return this.toolbarController.hideDialog(),this.composition.editAttachment($,S)},w.prototype.compositionControllerDidRequestDeselectingAttachment=function($){var S,C;return S=(C=this.attachmentLocationRange)!=null?C:this.composition.document.getLocationRangeOfAttachment($),this.selectionManager.setLocationRange(S[1])},w.prototype.compositionControllerWillUpdateAttachment=function($){return this.editor.recordUndoEntry("Edit Attachment",{context:$.id,consolidatable:!0})},w.prototype.compositionControllerDidRequestRemovalOfAttachment=function($){return this.removeAttachment($)},w.prototype.inputControllerWillHandleInput=function(){return this.handlingInput=!0,this.requestedRender=!1},w.prototype.inputControllerDidRequestRender=function(){return this.requestedRender=!0},w.prototype.inputControllerDidHandleInput=function(){return this.handlingInput=!1,this.requestedRender?(this.requestedRender=!1,this.render()):void 0},w.prototype.inputControllerDidAllowUnhandledInput=function(){return this.notifyEditorElement("change")},w.prototype.inputControllerDidRequestReparse=function(){return this.reparse()},w.prototype.inputControllerWillPerformTyping=function(){return this.recordTypingUndoEntry()},w.prototype.inputControllerWillPerformFormatting=function($){return this.recordFormattingUndoEntry($)},w.prototype.inputControllerWillCutText=function(){return this.editor.recordUndoEntry("Cut")},w.prototype.inputControllerWillPaste=function($){return this.editor.recordUndoEntry("Paste"),this.pasting=!0,this.notifyEditorElement("before-paste",{paste:$})},w.prototype.inputControllerDidPaste=function($){return $.range=this.pastedRange,this.pastedRange=null,this.pasting=null,this.notifyEditorElement("paste",{paste:$})},w.prototype.inputControllerWillMoveText=function(){return this.editor.recordUndoEntry("Move")},w.prototype.inputControllerWillAttachFiles=function(){return this.editor.recordUndoEntry("Drop Files")},w.prototype.inputControllerWillPerformUndo=function(){return this.editor.undo()},w.prototype.inputControllerWillPerformRedo=function(){return this.editor.redo()},w.prototype.inputControllerDidReceiveKeyboardCommand=function($){return this.toolbarController.applyKeyboardCommand($)},w.prototype.inputControllerDidStartDrag=function(){return this.locationRangeBeforeDrag=this.selectionManager.getLocationRange()},w.prototype.inputControllerDidReceiveDragOverPoint=function($){return this.selectionManager.setLocationRangeFromPointRange($)},w.prototype.inputControllerDidCancelDrag=function(){return this.selectionManager.setLocationRange(this.locationRangeBeforeDrag),this.locationRangeBeforeDrag=null},w.prototype.locationRangeDidChange=function($){return this.composition.updateCurrentAttributes(),this.updateCurrentActions(),this.attachmentLocationRange&&!f(this.attachmentLocationRange,$)&&this.composition.stopEditingAttachment(),this.notifyEditorElement("selection-change")},w.prototype.toolbarDidClickButton=function(){return this.getLocationRange()?void 0:this.setLocationRange({index:0,offset:0})},w.prototype.toolbarDidInvokeAction=function($){return this.invokeAction($)},w.prototype.toolbarDidToggleAttribute=function($){return this.recordFormattingUndoEntry($),this.composition.toggleCurrentAttribute($),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},w.prototype.toolbarDidUpdateAttribute=function($,S){return this.recordFormattingUndoEntry($),this.composition.setCurrentAttribute($,S),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},w.prototype.toolbarDidRemoveAttribute=function($){return this.recordFormattingUndoEntry($),this.composition.removeCurrentAttribute($),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},w.prototype.toolbarWillShowDialog=function(){return this.composition.expandSelectionForEditing(),this.freezeSelection()},w.prototype.toolbarDidShowDialog=function($){return this.notifyEditorElement("toolbar-dialog-show",{dialogName:$})},w.prototype.toolbarDidHideDialog=function($){return this.thawSelection(),this.editorElement.focus(),this.notifyEditorElement("toolbar-dialog-hide",{dialogName:$})},w.prototype.freezeSelection=function(){return this.selectionFrozen?void 0:(this.selectionManager.lock(),this.composition.freezeSelection(),this.selectionFrozen=!0,this.render())},w.prototype.thawSelection=function(){return this.selectionFrozen?(this.composition.thawSelection(),this.selectionManager.unlock(),this.selectionFrozen=!1,this.render()):void 0},w.prototype.actions={undo:{test:function(){return this.editor.canUndo()},perform:function(){return this.editor.undo()}},redo:{test:function(){return this.editor.canRedo()},perform:function(){return this.editor.redo()}},link:{test:function(){return this.editor.canActivateAttribute("href")}},increaseNestingLevel:{test:function(){return this.editor.canIncreaseNestingLevel()},perform:function(){return this.editor.increaseNestingLevel()&&this.render()}},decreaseNestingLevel:{test:function(){return this.editor.canDecreaseNestingLevel()},perform:function(){return this.editor.decreaseNestingLevel()&&this.render()}},attachFiles:{test:function(){return!0},perform:function(){return u.config.input.pickFiles(this.editor.insertFiles)}}},w.prototype.canInvokeAction=function($){var S,C;return this.actionIsExternal($)?!0:!!((S=this.actions[$])!=null&&(C=S.test)!=null&&C.call(this))},w.prototype.invokeAction=function($){var S,C;return this.actionIsExternal($)?this.notifyEditorElement("action-invoke",{actionName:$}):(S=this.actions[$])!=null&&(C=S.perform)!=null?C.call(this):void 0},w.prototype.actionIsExternal=function($){return/^x-./.test($)},w.prototype.getCurrentActions=function(){var $,S;S={};for($ in this.actions)S[$]=this.canInvokeAction($);return S},w.prototype.updateCurrentActions=function(){var $;return $=this.getCurrentActions(),d($,this.currentActions)?void 0:(this.currentActions=$,this.toolbarController.updateActions(this.currentActions),this.notifyEditorElement("actions-change",{actions:this.currentActions}))},w.prototype.runEditorFilters=function(){var $,S,C,E,D,A,O,F;for(F=this.composition.getSnapshot(),D=this.editor.filters,C=0,E=D.length;E>C;C++)S=D[C],$=F.document,O=F.selectedRange,F=(A=S.call(this.editor,F))!=null?A:{},F.document==null&&(F.document=$),F.selectedRange==null&&(F.selectedRange=O);return k(F,this.composition.getSnapshot())?void 0:this.composition.loadSnapshot(F)},k=function($,S){return f($.selectedRange,S.selectedRange)&&$.document.isEqualTo(S.document)},w.prototype.updateInputElement=function(){var $,S;return $=this.compositionController.getSerializableElement(),S=u.serializeToContentType($,"text/html"),this.editorElement.setInputElementValue(S)},w.prototype.notifyEditorElement=function($,S){switch($){case"document-change":this.documentChangedSinceLastRender=!0;break;case"render":this.documentChangedSinceLastRender&&(this.documentChangedSinceLastRender=!1,this.notifyEditorElement("change"));break;case"change":case"attachment-add":case"attachment-edit":case"attachment-remove":this.updateInputElement()}return this.editorElement.notify($,S)},w.prototype.removeAttachment=function($){return this.editor.recordUndoEntry("Delete Attachment"),this.composition.removeAttachment($),this.render()},w.prototype.recordFormattingUndoEntry=function($){var S,C;return S=c($),C=this.selectionManager.getLocationRange(),S||!m(C)?this.editor.recordUndoEntry("Formatting",{context:this.getUndoContext(),consolidatable:!0}):void 0},w.prototype.recordTypingUndoEntry=function(){return this.editor.recordUndoEntry("Typing",{context:this.getUndoContext(this.currentAttributes),consolidatable:!0})},w.prototype.getUndoContext=function(){var $;return $=1<=arguments.length?y.call(arguments,0):[],[this.getLocationContext(),this.getTimeContext()].concat(y.call($))},w.prototype.getLocationContext=function(){var $;return $=this.selectionManager.getLocationRange(),m($)?$[0].index:$},w.prototype.getTimeContext=function(){return u.config.undoInterval>0?Math.floor(new Date().getTime()/u.config.undoInterval):0},w.prototype.isFocused=function(){var $;return this.editorElement===(($=this.editorElement.ownerDocument)!=null?$.activeElement:void 0)},w.prototype.isFocusedInvisibly=function(){return this.isFocused()&&!this.getLocationRange()},w}(u.Controller)}).call(this),(function(){var c,d,m,f,v,g,y,b=[].indexOf||function(w){for(var k=0,$=this.length;$>k;k++)if(k in this&&this[k]===w)return k;return-1};d=u.browser,g=u.makeElement,y=u.triggerEvent,f=u.handleEvent,v=u.handleEventOnce,m=u.findClosestElementFromNode,c=u.AttachmentView.attachmentSelector,u.registerElement("trix-editor",function(){var w,k,$,S,C,E,D,A,O;return D=0,k=function(F){return!document.querySelector(":focus")&&F.hasAttribute("autofocus")&&document.querySelector("[autofocus]")===F?F.focus():void 0},A=function(F){return F.hasAttribute("contenteditable")?void 0:(F.setAttribute("contenteditable",""),v("focus",{onElement:F,withCallback:function(){return $(F)}}))},$=function(F){return C(F),O(F)},C=function(F){return typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("enableObjectResizing")?(document.execCommand("enableObjectResizing",!1,!1),f("mscontrolselect",{onElement:F,preventDefault:!0})):void 0},O=function(){var F;return typeof document.queryCommandSupported=="function"&&document.queryCommandSupported("DefaultParagraphSeparator")&&(F=u.config.blockAttributes.default.tagName,F==="div"||F==="p")?document.execCommand("DefaultParagraphSeparator",!1,F):void 0},w=function(F){return F.hasAttribute("role")?void 0:F.setAttribute("role","textbox")},E=function(F){var B;if(!F.hasAttribute("aria-label")&&!F.hasAttribute("aria-labelledby"))return(B=function(){var I,M,z;return z=function(){var q,H,Q,j;for(Q=F.labels,j=[],q=0,H=Q.length;H>q;q++)I=Q[q],I.contains(F)||j.push(I.textContent);return j}(),(M=z.join(" "))?F.setAttribute("aria-label",M):F.removeAttribute("aria-label")})(),f("focus",{onElement:F,withCallback:B})},S=function(){return d.forcesObjectResizing?{display:"inline",width:"auto"}:{display:"inline-block",width:"1px"}}(),{defaultCSS:`%t {
display: block;
}
%t:empty:not(:focus)::before {
content: attr(placeholder);
color: graytext;
cursor: text;
pointer-events: none;
}
%t a[contenteditable=false] {
cursor: text;
}
%t img {
max-width: 100%;
height: auto;
}
%t `+c+` figcaption textarea {
resize: none;
}
%t `+c+` figcaption textarea.trix-autoresize-clone {
position: absolute;
left: -9999px;
max-height: 0px;
}
%t `+c+` figcaption[data-trix-placeholder]:empty::before {
content: attr(data-trix-placeholder);
color: graytext;
}
%t [data-trix-cursor-target] {
display: `+S.display+` !important;
width: `+S.width+` !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
}
%t [data-trix-cursor-target=left] {
vertical-align: top !important;
margin-left: -1px !important;
}
%t [data-trix-cursor-target=right] {
vertical-align: bottom !important;
margin-right: -1px !important;
}`,trixId:{get:function(){return this.hasAttribute("trix-id")?this.getAttribute("trix-id"):(this.setAttribute("trix-id",++D),this.trixId)}},labels:{get:function(){var F,B,I;return B=[],this.id&&this.ownerDocument&&B.push.apply(B,this.ownerDocument.querySelectorAll("label[for='"+this.id+"']")),(F=m(this,{matchingSelector:"label"}))&&((I=F.control)===this||I===null)&&B.push(F),B}},toolbarElement:{get:function(){var F,B,I;return this.hasAttribute("toolbar")?(B=this.ownerDocument)!=null?B.getElementById(this.getAttribute("toolbar")):void 0:this.parentNode?(I="trix-toolbar-"+this.trixId,this.setAttribute("toolbar",I),F=g("trix-toolbar",{id:I}),this.parentNode.insertBefore(F,this),F):void 0}},inputElement:{get:function(){var F,B,I;return this.hasAttribute("input")?(I=this.ownerDocument)!=null?I.getElementById(this.getAttribute("input")):void 0:this.parentNode?(B="trix-input-"+this.trixId,this.setAttribute("input",B),F=g("input",{type:"hidden",id:B}),this.parentNode.insertBefore(F,this.nextElementSibling),F):void 0}},editor:{get:function(){var F;return(F=this.editorController)!=null?F.editor:void 0}},name:{get:function(){var F;return(F=this.inputElement)!=null?F.name:void 0}},value:{get:function(){var F;return(F=this.inputElement)!=null?F.value:void 0},set:function(F){var B;return this.defaultValue=F,(B=this.editor)!=null?B.loadHTML(this.defaultValue):void 0}},notify:function(F,B){return this.editorController?y("trix-"+F,{onElement:this,attributes:B}):void 0},setInputElementValue:function(F){var B;return(B=this.inputElement)!=null?B.value=F:void 0},initialize:function(){return this.hasAttribute("data-trix-internal")?void 0:(A(this),w(this),E(this))},connect:function(){return this.hasAttribute("data-trix-internal")?void 0:(this.editorController||(y("trix-before-initialize",{onElement:this}),this.editorController=new u.EditorController({editorElement:this,html:this.defaultValue=this.value}),requestAnimationFrame(function(F){return function(){return y("trix-initialize",{onElement:F})}}(this))),this.editorController.registerSelectionManager(),this.registerResetListener(),this.registerClickListener(),k(this))},disconnect:function(){var F;return(F=this.editorController)!=null&&F.unregisterSelectionManager(),this.unregisterResetListener(),this.unregisterClickListener()},registerResetListener:function(){return this.resetListener=this.resetBubbled.bind(this),window.addEventListener("reset",this.resetListener,!1)},unregisterResetListener:function(){return window.removeEventListener("reset",this.resetListener,!1)},registerClickListener:function(){return this.clickListener=this.clickBubbled.bind(this),window.addEventListener("click",this.clickListener,!1)},unregisterClickListener:function(){return window.removeEventListener("click",this.clickListener,!1)},resetBubbled:function(F){var B;if(!F.defaultPrevented&&F.target===((B=this.inputElement)!=null?B.form:void 0))return this.reset()},clickBubbled:function(F){var B;if(!(F.defaultPrevented||this.contains(F.target)||!(B=m(F.target,{matchingSelector:"label"}))||b.call(this.labels,B)<0))return this.focus()},reset:function(){return this.value=this.defaultValue}}}())}).call(this),(function(){}).call(this)}).call(this),a.exports&&(a.exports=u)}).call(commonjsGlobal)})(trix);var script$1={name:"EditorWrapper",data(){return{merge:!0,defaultClasses:{container:""}}}};const _hoisted_1=["id","value"];function render(a,i,u,c,d,m){return openBlock(),createElementBlock("div",{class:normalizeClass(a.classes.container)},[createBaseVNode("input",{id:`editor-input-${a.id}`,value:a.value,type:"hidden"},null,8,_hoisted_1),(openBlock(),createBlock(resolveDynamicComponent(a.editorComponent)))],2)}script$1.render=render;script$1.__file="themes/blank/templates/wrappers/EditorWrapper.vue";var script={name:"EditorWrapper",render:script$1.render,data(){return{merge:!0,defaultClasses:{container:"",container_hideBold:"vf-editor-hide-bold",container_hideItalic:"vf-editor-hide-italic",container_hideStrike:"vf-editor-hide-strike",container_hideLink:"vf-editor-hide-link",container_hideHeading:"vf-editor-hide-heading",container_hideQuote:"vf-editor-hide-quote",container_hideCode:"vf-editor-hide-code",container_hideBulletList:"vf-editor-hide-bullet-list",container_hideNumberList:"vf-editor-hide-number-list",container_hideDecreaseNesting:"vf-editor-hide-decrease-nesting",container_hideIncreaseNesting:"vf-editor-hide-increase-nesting",container_hideAttach:"vf-editor-hide-attach",container_hideUndo:"vf-editor-hide-undo",container_hideRedo:"vf-editor-hide-redo",$container:(a,{hideTools:i})=>[a.container].concat(i.map(u=>a[`container_hide${u.split("-").map(c=>c.charAt(0).toUpperCase()+c.slice(1)).join("")}`]))}}}},css_248z=`@charset "UTF-8";
trix-toolbar {
padding: 0.5rem 0.375rem;
border-radius: 0.25rem;
flex-wrap: wrap;
}
trix-toolbar .trix-button-row {
display: block;
margin-bottom: -0.25rem;
flex-wrap: nowrap;
justify-content: space-between;
overflow-x: auto;
}
trix-toolbar .trix-button-group {
display: inline;
}
trix-toolbar .trix-button-group-spacer {
display: hidden;
flex-grow: 1;
}
trix-toolbar .trix-button {
position: relative;
margin-bottom: 0.25rem;
color: var(--vf-bg-icon);
padding-left: 0.5rem;
padding-right: 0.5rem;
outline: none;
border-radius: 0.25rem;
white-space: nowrap;
float: left;
border: 0;
background: none;
}
trix-toolbar .trix-button.trix-active {
background-color: var(--vf-bg-selected);
filter: brightness(0.9);
}
trix-toolbar .trix-button:not(.trix-active):hover {
background-color: var(--vf-bg-selected);
}
.is-disabled trix-toolbar .trix-button:not(.trix-active):hover {
background: transparent;
cursor: default;
}
trix-toolbar .trix-button:not(:disabled) {
cursor: pointer;
}
.is-disabled trix-toolbar .trix-button {
cursor: default;
pointer-events: none;
}
trix-toolbar .trix-button--icon {
width: 2.5rem;
height: 1.5rem;
font-size: 0.75rem;
line-height: 1rem;
text-indent: -9999px;
}
trix-toolbar .trix-button--icon::before {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
display: inline-block;
content: "";
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
mask-size: contain;
-webkit-mask-size: contain;
background-color: var(--vf-bg-icon);
top: 0.125rem;
bottom: 0.125rem;
margin-top: 0.125rem;
margin-bottom: 0.125rem;
}
trix-toolbar .trix-button--icon.trix-active::before {
opacity: 1;
}
trix-toolbar .trix-button--icon:disabled::before {
opacity: 0.4;
}
trix-toolbar .trix-button--icon-attach::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M67.508 468.467c-58.005-58.013-58.016-151.92 0-209.943l225.011-225.04c44.643-44.645 117.279-44.645 161.92 0 44.743 44.749 44.753 117.186 0 161.944l-189.465 189.49c-31.41 31.413-82.518 31.412-113.926.001-31.479-31.482-31.49-82.453 0-113.944L311.51 110.491c4.687-4.687 12.286-4.687 16.972 0l16.967 16.971c4.685 4.686 4.685 12.283 0 16.969L184.983 304.917c-12.724 12.724-12.73 33.328 0 46.058 12.696 12.697 33.356 12.699 46.054-.001l189.465-189.489c25.987-25.989 25.994-68.06.001-94.056-25.931-25.934-68.119-25.932-94.049 0l-225.01 225.039c-39.249 39.252-39.258 102.795-.001 142.057 39.285 39.29 102.885 39.287 142.162-.028A739446.174 739446.174 0 0 1 439.497 238.49c4.686-4.687 12.282-4.684 16.969.004l16.967 16.971c4.685 4.686 4.689 12.279.004 16.965a755654.128 755654.128 0 0 0-195.881 195.996c-58.034 58.092-152.004 58.093-210.048.041z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M67.508 468.467c-58.005-58.013-58.016-151.92 0-209.943l225.011-225.04c44.643-44.645 117.279-44.645 161.92 0 44.743 44.749 44.753 117.186 0 161.944l-189.465 189.49c-31.41 31.413-82.518 31.412-113.926.001-31.479-31.482-31.49-82.453 0-113.944L311.51 110.491c4.687-4.687 12.286-4.687 16.972 0l16.967 16.971c4.685 4.686 4.685 12.283 0 16.969L184.983 304.917c-12.724 12.724-12.73 33.328 0 46.058 12.696 12.697 33.356 12.699 46.054-.001l189.465-189.489c25.987-25.989 25.994-68.06.001-94.056-25.931-25.934-68.119-25.932-94.049 0l-225.01 225.039c-39.249 39.252-39.258 102.795-.001 142.057 39.285 39.29 102.885 39.287 142.162-.028A739446.174 739446.174 0 0 1 439.497 238.49c4.686-4.687 12.282-4.684 16.969.004l16.967 16.971c4.685 4.686 4.689 12.279.004 16.965a755654.128 755654.128 0 0 0-195.881 195.996c-58.034 58.092-152.004 58.093-210.048.041z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-bold::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 384 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M333.49 238a122 122 0 0 0 27-65.21C367.87 96.49 308 32 233.42 32H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h31.87v288H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h209.32c70.8 0 134.14-51.75 141-122.4 4.74-48.45-16.39-92.06-50.83-119.6zM145.66 112h87.76a48 48 0 0 1 0 96h-87.76zm87.76 288h-87.76V288h87.76a56 56 0 0 1 0 112z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 384 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M333.49 238a122 122 0 0 0 27-65.21C367.87 96.49 308 32 233.42 32H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h31.87v288H34a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h209.32c70.8 0 134.14-51.75 141-122.4 4.74-48.45-16.39-92.06-50.83-119.6zM145.66 112h87.76a48 48 0 0 1 0 96h-87.76zm87.76 288h-87.76V288h87.76a56 56 0 0 1 0 112z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-italic::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M320 48v32a16 16 0 0 1-16 16h-62.76l-80 320H208a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h62.76l80-320H112a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M320 48v32a16 16 0 0 1-16 16h-62.76l-80 320H208a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h62.76l80-320H112a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-link::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M314.222 197.78c51.091 51.091 54.377 132.287 9.75 187.16-6.242 7.73-2.784 3.865-84.94 86.02-54.696 54.696-143.266 54.745-197.99 0-54.711-54.69-54.734-143.255 0-197.99 32.773-32.773 51.835-51.899 63.409-63.457 7.463-7.452 20.331-2.354 20.486 8.192a173.31 173.31 0 0 0 4.746 37.828c.966 4.029-.272 8.269-3.202 11.198L80.632 312.57c-32.755 32.775-32.887 85.892 0 118.8 32.775 32.755 85.892 32.887 118.8 0l75.19-75.2c32.718-32.725 32.777-86.013 0-118.79a83.722 83.722 0 0 0-22.814-16.229c-4.623-2.233-7.182-7.25-6.561-12.346 1.356-11.122 6.296-21.885 14.815-30.405l4.375-4.375c3.625-3.626 9.177-4.594 13.76-2.294 12.999 6.524 25.187 15.211 36.025 26.049zM470.958 41.04c-54.724-54.745-143.294-54.696-197.99 0-82.156 82.156-78.698 78.29-84.94 86.02-44.627 54.873-41.341 136.069 9.75 187.16 10.838 10.838 23.026 19.525 36.025 26.049 4.582 2.3 10.134 1.331 13.76-2.294l4.375-4.375c8.52-8.519 13.459-19.283 14.815-30.405.621-5.096-1.938-10.113-6.561-12.346a83.706 83.706 0 0 1-22.814-16.229c-32.777-32.777-32.718-86.065 0-118.79l75.19-75.2c32.908-32.887 86.025-32.755 118.8 0 32.887 32.908 32.755 86.025 0 118.8l-45.848 45.84c-2.93 2.929-4.168 7.169-3.202 11.198a173.31 173.31 0 0 1 4.746 37.828c.155 10.546 13.023 15.644 20.486 8.192 11.574-11.558 30.636-30.684 63.409-63.457 54.733-54.735 54.71-143.3-.001-197.991z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M314.222 197.78c51.091 51.091 54.377 132.287 9.75 187.16-6.242 7.73-2.784 3.865-84.94 86.02-54.696 54.696-143.266 54.745-197.99 0-54.711-54.69-54.734-143.255 0-197.99 32.773-32.773 51.835-51.899 63.409-63.457 7.463-7.452 20.331-2.354 20.486 8.192a173.31 173.31 0 0 0 4.746 37.828c.966 4.029-.272 8.269-3.202 11.198L80.632 312.57c-32.755 32.775-32.887 85.892 0 118.8 32.775 32.755 85.892 32.887 118.8 0l75.19-75.2c32.718-32.725 32.777-86.013 0-118.79a83.722 83.722 0 0 0-22.814-16.229c-4.623-2.233-7.182-7.25-6.561-12.346 1.356-11.122 6.296-21.885 14.815-30.405l4.375-4.375c3.625-3.626 9.177-4.594 13.76-2.294 12.999 6.524 25.187 15.211 36.025 26.049zM470.958 41.04c-54.724-54.745-143.294-54.696-197.99 0-82.156 82.156-78.698 78.29-84.94 86.02-44.627 54.873-41.341 136.069 9.75 187.16 10.838 10.838 23.026 19.525 36.025 26.049 4.582 2.3 10.134 1.331 13.76-2.294l4.375-4.375c8.52-8.519 13.459-19.283 14.815-30.405.621-5.096-1.938-10.113-6.561-12.346a83.706 83.706 0 0 1-22.814-16.229c-32.777-32.777-32.718-86.065 0-118.79l75.19-75.2c32.908-32.887 86.025-32.755 118.8 0 32.887 32.908 32.755 86.025 0 118.8l-45.848 45.84c-2.93 2.929-4.168 7.169-3.202 11.198a173.31 173.31 0 0 1 4.746 37.828c.155 10.546 13.023 15.644 20.486 8.192 11.574-11.558 30.636-30.684 63.409-63.457 54.733-54.735 54.71-143.3-.001-197.991z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-strike::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M496 224H293.9l-87.17-26.83A43.55 43.55 0 0 1 219.55 112h66.79A49.89 49.89 0 0 1 331 139.58a16 16 0 0 0 21.46 7.15l42.94-21.47a16 16 0 0 0 7.16-21.46l-.53-1A128 128 0 0 0 287.51 32h-68a123.68 123.68 0 0 0-123 135.64c2 20.89 10.1 39.83 21.78 56.36H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h480a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-180.24 96A43 43 0 0 1 336 356.45 43.59 43.59 0 0 1 292.45 400h-66.79A49.89 49.89 0 0 1 181 372.42a16 16 0 0 0-21.46-7.15l-42.94 21.47a16 16 0 0 0-7.16 21.46l.53 1A128 128 0 0 0 224.49 480h68a123.68 123.68 0 0 0 123-135.64 114.25 114.25 0 0 0-5.34-24.36z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M496 224H293.9l-87.17-26.83A43.55 43.55 0 0 1 219.55 112h66.79A49.89 49.89 0 0 1 331 139.58a16 16 0 0 0 21.46 7.15l42.94-21.47a16 16 0 0 0 7.16-21.46l-.53-1A128 128 0 0 0 287.51 32h-68a123.68 123.68 0 0 0-123 135.64c2 20.89 10.1 39.83 21.78 56.36H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h480a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-180.24 96A43 43 0 0 1 336 356.45 43.59 43.59 0 0 1 292.45 400h-66.79A49.89 49.89 0 0 1 181 372.42a16 16 0 0 0-21.46-7.15l-42.94 21.47a16 16 0 0 0-7.16 21.46l.53 1A128 128 0 0 0 224.49 480h68a123.68 123.68 0 0 0 123-135.64 114.25 114.25 0 0 0-5.34-24.36z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-quote::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'%3e%3c/path%3e%3c/svg%3e");
top: 0.25rem;
bottom: 0.25rem;
margin-top: 1px;
margin-bottom: 1px;
}
trix-toolbar .trix-button--icon-heading-1::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M448 96v320h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H320a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V288H160v128h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V96H32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16h-32v128h192V96h-32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M448 96v320h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H320a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V288H160v128h32a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h32V96H32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16h-32v128h192V96h-32a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16z'%3e%3c/path%3e%3c/svg%3e");
}
trix-toolbar .trix-button--icon-code::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 640 304' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M165.9%2c291.3 L209.4%2c244.9 C214%2c240 213.7%2c232.2 208.6%2c227.7 L118%2c148 L208.6%2c68.3 C213.7%2c63.8 214.1%2c56 209.4%2c51.1 L165.9%2c4.7 C161.4%2c-0.1 153.8%2c-0.4 148.9%2c4.2 L4.8%2c139.2 C-0.3%2c143.9 -0.3%2c152 4.8%2c156.7 L148.9%2c291.8 C153.8%2c296.4 161.4%2c296.2 165.9%2c291.3 Z M493.1%2c291.9 L637.2%2c156.8 C642.3%2c152.1 642.3%2c144 637.2%2c139.3 L493.1%2c4.1 C488.3%2c-0.4 480.7%2c-0.2 476.1%2c4.6 L432.6%2c51 C428%2c55.9 428.3%2c63.7 433.4%2c68.2 L524%2c148 L433.4%2c227.7 C428.3%2c232.2 427.9%2c240 432.6%2c244.9 L476.1%2c291.3 C480.6%2c296.2 488.2%2c296.4 493.1%2c291.9 Z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 640 304' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M165.9%2c291.3 L209.4%2c244.9 C214%2c240 213.7%2c232.2 208.6%2c227.7 L118%2c148 L208.6%2c68.3 C213.7%2c63.8 214.1%2c56 209.4%2c51.1 L165.9%2c4.7 C161.4%2c-0.1 153.8%2c-0.4 148.9%2c4.2 L4.8%2c139.2 C-0.3%2c143.9 -0.3%2c152 4.8%2c156.7 L148.9%2c291.8 C153.8%2c296.4 161.4%2c296.2 165.9%2c291.3 Z M493.1%2c291.9 L637.2%2c156.8 C642.3%2c152.1 642.3%2c144 637.2%2c139.3 L493.1%2c4.1 C488.3%2c-0.4 480.7%2c-0.2 476.1%2c4.6 L432.6%2c51 C428%2c55.9 428.3%2c63.7 433.4%2c68.2 L524%2c148 L433.4%2c227.7 C428.3%2c232.2 427.9%2c240 432.6%2c244.9 L476.1%2c291.3 C480.6%2c296.2 488.2%2c296.4 493.1%2c291.9 Z'%3e%3c/path%3e%3c/svg%3e");
top: 0.375rem;
bottom: 0.375rem;
margin-top: 1px;
margin-bottom: 1px;
}
trix-toolbar .trix-button--icon-bullet-list::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z'%3e%3c/path%3e%3c/svg%3e");
margin-top: 1px;
margin-bottom: 1px;
}
trix-toolbar .trix-button--icon-number-list::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M61.77 401l17.5-20.15a19.92 19.92 0 0 0 5.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h22.83a157.41 157.41 0 0 0-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.29 7.88 12.25 7.88h4.73c10.33 0 15.94 2.44 15.94 9.09 0 4.72-4.2 8.22-14.36 8.22a41.54 41.54 0 0 1-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.72 6.13-3.19 11.72 2.63 15.94 7.71 4.69 20.38 9.44 37 9.44 34.16 0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 224H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM16 160h64a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H64V40a8 8 0 0 0-8-8H32a8 8 0 0 0-7.14 4.42l-8 16A8 8 0 0 0 24 64h8v64H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8zm-3.91 160H80a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H41.32c3.29-10.29 48.34-18.68 48.34-56.44 0-29.06-25-39.56-44.47-39.56-21.36 0-33.8 10-40.46 18.75-4.37 5.59-3 10.84 2.8 15.37l8.58 6.88c5.61 4.56 11 2.47 16.12-2.44a13.44 13.44 0 0 1 9.46-3.84c3.33 0 9.28 1.56 9.28 8.75C51 248.19 0 257.31 0 304.59v4C0 316 5.08 320 12.09 320z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M61.77 401l17.5-20.15a19.92 19.92 0 0 0 5.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h22.83a157.41 157.41 0 0 0-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.29 7.88 12.25 7.88h4.73c10.33 0 15.94 2.44 15.94 9.09 0 4.72-4.2 8.22-14.36 8.22a41.54 41.54 0 0 1-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.72 6.13-3.19 11.72 2.63 15.94 7.71 4.69 20.38 9.44 37 9.44 34.16 0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 224H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM16 160h64a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H64V40a8 8 0 0 0-8-8H32a8 8 0 0 0-7.14 4.42l-8 16A8 8 0 0 0 24 64h8v64H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8zm-3.91 160H80a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H41.32c3.29-10.29 48.34-18.68 48.34-56.44 0-29.06-25-39.56-44.47-39.56-21.36 0-33.8 10-40.46 18.75-4.37 5.59-3 10.84 2.8 15.37l8.58 6.88c5.61 4.56 11 2.47 16.12-2.44a13.44 13.44 0 0 1 9.46-3.84c3.33 0 9.28 1.56 9.28 8.75C51 248.19 0 257.31 0 304.59v4C0 316 5.08 320 12.09 320z'%3e%3c/path%3e%3c/svg%3e");
margin-top: 1px;
margin-bottom: 1px;
}
trix-toolbar .trix-button--icon-undo::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z'%3e%3c/path%3e%3c/svg%3e");
top: 0.25rem;
bottom: 0.25rem;
}
trix-toolbar .trix-button--icon-redo::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M256.455 8c66.269.119 126.437 26.233 170.859 68.685l35.715-35.715C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.75c-30.864-28.899-70.801-44.907-113.23-45.273-92.398-.798-170.283 73.977-169.484 169.442C88.764 348.009 162.184 424 256 424c41.127 0 79.997-14.678 110.629-41.556 4.743-4.161 11.906-3.908 16.368.553l39.662 39.662c4.872 4.872 4.631 12.815-.482 17.433C378.202 479.813 319.926 504 256 504 119.034 504 8.001 392.967 8 256.002 7.999 119.193 119.646 7.755 256.455 8z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 512 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M256.455 8c66.269.119 126.437 26.233 170.859 68.685l35.715-35.715C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.75c-30.864-28.899-70.801-44.907-113.23-45.273-92.398-.798-170.283 73.977-169.484 169.442C88.764 348.009 162.184 424 256 424c41.127 0 79.997-14.678 110.629-41.556 4.743-4.161 11.906-3.908 16.368.553l39.662 39.662c4.872 4.872 4.631 12.815-.482 17.433C378.202 479.813 319.926 504 256 504 119.034 504 8.001 392.967 8 256.002 7.999 119.193 119.646 7.755 256.455 8z'%3e%3c/path%3e%3c/svg%3e");
top: 0.25rem;
bottom: 0.25rem;
}
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 448 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100.682584%2c116.695158 L4.68258422%2c212.695158 C-1.56086141%2c218.942698 -1.56086141%2c229.067619 4.68258422%2c235.315158 L100.682584%2c331.315158 C110.722584%2c341.335158 127.992584%2c334.215158 127.992584%2c319.995158 L127.992584%2c127.995158 C127.992584%2c113.685158 110.662584%2c106.695158 100.682584%2c116.695158 Z M432%2c384 L16%2c384 C7.163444%2c384 1.082166e-15%2c391.163444 0%2c400 L0%2c432 C1.082166e-15%2c440.836556 7.163444%2c448 16%2c448 L432%2c448 C440.836556%2c448 448%2c440.836556 448%2c432 L448%2c400 C448%2c391.163444 440.836556%2c384 432%2c384 Z M204.83%2c256 C201.426459%2c255.997344 198.161555%2c257.348219 195.754887%2c259.754887 C193.348219%2c262.161555 191.997344%2c265.426459 192%2c268.83 L192%2c307.17 C191.997344%2c310.573541 193.348219%2c313.838445 195.754887%2c316.245113 C198.161555%2c318.651781 201.426459%2c320.002656 204.83%2c320 L435.17%2c320 C438.573541%2c320.002656 441.838445%2c318.651781 444.245113%2c316.245113 C446.651781%2c313.838445 448.002656%2c310.573541 448%2c307.17 L448%2c268.83 C448.002656%2c265.426459 446.651781%2c262.161555 444.245113%2c259.754887 C441.838445%2c257.348219 438.573541%2c255.997344 435.17%2c256 L204.83%2c256 Z M435.17%2c128 L204.83%2c128 C201.426459%2c127.997344 198.161555%2c129.348219 195.754887%2c131.754887 C193.348219%2c134.161555 191.997344%2c137.426459 192%2c140.83 L192%2c179.17 C191.997344%2c182.573541 193.348219%2c185.838445 195.754887%2c188.245113 C198.161555%2c190.651781 201.426459%2c192.002656 204.83%2c192 L435.17%2c192 C438.573541%2c192.002656 441.838445%2c190.651781 444.245113%2c188.245113 C446.651781%2c185.838445 448.002656%2c182.573541 448%2c179.17 L448%2c140.83 C448.002656%2c137.426459 446.651781%2c134.161555 444.245113%2c131.754887 C441.838445%2c129.348219 438.573541%2c127.997344 435.17%2c128 Z M432%2c0 L16%2c0 C7.163444%2c0 1.082166e-15%2c7.163444 0%2c16 L0%2c48 C1.082166e-15%2c56.836556 7.163444%2c64 16%2c64 L432%2c64 C440.836556%2c64 448%2c56.836556 448%2c48 L448%2c16 C448%2c7.163444 440.836556%2c0 432%2c0 Z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 448 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M100.682584%2c116.695158 L4.68258422%2c212.695158 C-1.56086141%2c218.942698 -1.56086141%2c229.067619 4.68258422%2c235.315158 L100.682584%2c331.315158 C110.722584%2c341.335158 127.992584%2c334.215158 127.992584%2c319.995158 L127.992584%2c127.995158 C127.992584%2c113.685158 110.662584%2c106.695158 100.682584%2c116.695158 Z M432%2c384 L16%2c384 C7.163444%2c384 1.082166e-15%2c391.163444 0%2c400 L0%2c432 C1.082166e-15%2c440.836556 7.163444%2c448 16%2c448 L432%2c448 C440.836556%2c448 448%2c440.836556 448%2c432 L448%2c400 C448%2c391.163444 440.836556%2c384 432%2c384 Z M204.83%2c256 C201.426459%2c255.997344 198.161555%2c257.348219 195.754887%2c259.754887 C193.348219%2c262.161555 191.997344%2c265.426459 192%2c268.83 L192%2c307.17 C191.997344%2c310.573541 193.348219%2c313.838445 195.754887%2c316.245113 C198.161555%2c318.651781 201.426459%2c320.002656 204.83%2c320 L435.17%2c320 C438.573541%2c320.002656 441.838445%2c318.651781 444.245113%2c316.245113 C446.651781%2c313.838445 448.002656%2c310.573541 448%2c307.17 L448%2c268.83 C448.002656%2c265.426459 446.651781%2c262.161555 444.245113%2c259.754887 C441.838445%2c257.348219 438.573541%2c255.997344 435.17%2c256 L204.83%2c256 Z M435.17%2c128 L204.83%2c128 C201.426459%2c127.997344 198.161555%2c129.348219 195.754887%2c131.754887 C193.348219%2c134.161555 191.997344%2c137.426459 192%2c140.83 L192%2c179.17 C191.997344%2c182.573541 193.348219%2c185.838445 195.754887%2c188.245113 C198.161555%2c190.651781 201.426459%2c192.002656 204.83%2c192 L435.17%2c192 C438.573541%2c192.002656 441.838445%2c190.651781 444.245113%2c188.245113 C446.651781%2c185.838445 448.002656%2c182.573541 448%2c179.17 L448%2c140.83 C448.002656%2c137.426459 446.651781%2c134.161555 444.245113%2c131.754887 C441.838445%2c129.348219 438.573541%2c127.997344 435.17%2c128 Z M432%2c0 L16%2c0 C7.163444%2c0 1.082166e-15%2c7.163444 0%2c16 L0%2c48 C1.082166e-15%2c56.836556 7.163444%2c64 16%2c64 L432%2c64 C440.836556%2c64 448%2c56.836556 448%2c48 L448%2c16 C448%2c7.163444 440.836556%2c0 432%2c0 Z'%3e%3c/path%3e%3c/svg%3e");
margin-bottom: 0;
}
trix-toolbar .trix-button--icon-increase-nesting-level::before {
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 448 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27.31 363.3l96-96a16 16 0 0 0 0-22.62l-96-96C17.27 138.66 0 145.78 0 160v192c0 14.31 17.33 21.3 27.31 11.3zM432 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-128H204.83A12.82 12.82 0 0 0 192 300.83v38.34A12.82 12.82 0 0 0 204.83 352h230.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288zm0-128H204.83A12.82 12.82 0 0 0 192 172.83v38.34A12.82 12.82 0 0 0 204.83 224h230.34A12.82 12.82 0 0 0 448 211.17v-38.34A12.82 12.82 0 0 0 435.17 160zM432 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 448 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27.31 363.3l96-96a16 16 0 0 0 0-22.62l-96-96C17.27 138.66 0 145.78 0 160v192c0 14.31 17.33 21.3 27.31 11.3zM432 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-128H204.83A12.82 12.82 0 0 0 192 300.83v38.34A12.82 12.82 0 0 0 204.83 352h230.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288zm0-128H204.83A12.82 12.82 0 0 0 192 172.83v38.34A12.82 12.82 0 0 0 204.83 224h230.34A12.82 12.82 0 0 0 448 211.17v-38.34A12.82 12.82 0 0 0 435.17 160zM432 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z'%3e%3c/path%3e%3c/svg%3e");
margin-top: 1px;
margin-bottom: 1px;
}
trix-toolbar .trix-dialogs {
position: relative;
}
trix-toolbar .trix-dialog {
position: absolute;
top: 0;
left: 0;
right: 0;
font-size: 0.75rem;
line-height: 1rem;
padding: 1rem 0.625rem;
background-color: var(--vf-bg-input);
box-shadow: 0 0px 15px 0px rgba(0, 0, 0, 0.3);
margin-top: 0.375rem;
border-radius: 0.25rem;
z-index: 2;
}
trix-toolbar .trix-input--dialog {
padding: 0.375rem 0.75rem;
border: 1px solid var(--vf-border-color-input);
border-radius: 0.25rem;
margin-right: 0.5rem;
font-size: 0.75rem;
line-height: 1rem;
background: var(--vf-bg-input);
color: var(--vf-color-input);
}
trix-toolbar .trix-input--dialog:focus {
outline: var(--vf-ring-width) solid var(--vf-ring-color) !important;
}
trix-toolbar .trix-input--dialog.validate:invalid {
border-color: var(--vf-color-danger);
}
trix-toolbar .trix-button--dialog {
padding: 0.5rem;
border-left-width: 1px;
border-color: var(--vf-border-color-input);
background-color: transparent;
border-radius: 0;
}
trix-toolbar .trix-button--dialog:not(.trix-active):hover {
background-color: transparent;
}
trix-toolbar .trix-button--dialog:first-of-type {
border: 0;
}
trix-toolbar .trix-dialog--link {
max-width: 36rem;
}
trix-toolbar .trix-dialog__link-fields {
display: flex;
align-items: center;
width: 100%;
}
trix-toolbar .trix-dialog__link-fields .trix-input {
flex: 1 1 0%;
}
trix-toolbar .trix-dialog__link-fields .trix-button-group {
flex-grow: 0;
flex-shrink: 0;
}
trix-editor {
padding-left: var(--vf-px-input);
padding-right: var(--vf-px-input);
padding-bottom: var(--vf-py-input);
border-radius: var(--vf-radius-large);
outline: none;
min-height: 6rem;
}
trix-editor:empty:not(:focus)::before {
color: var(--vf-color-placeholder);
}
trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection,
trix-editor [data-trix-mutable] ::-moz-selection {
background-image: none;
}
trix-editor [data-trix-mutable]::-moz-selection, trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
background-image: none;
}
trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection,
trix-editor [data-trix-mutable] ::selection {
background-image: none;
}
trix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection {
background: highlight;
}
trix-editor [data-trix-mutable].attachment__caption-editor:focus::selection {
background: highlight;
}
trix-editor [data-trix-mutable].attachment.attachment--file {
background-color: var(--vf-bg-selected);
}
trix-editor [data-trix-mutable].attachment img {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
trix-editor .attachment {
position: relative;
}
trix-editor .attachment:hover {
cursor: default;
}
trix-editor .attachment--preview .attachment__caption:hover {
cursor: text;
}
trix-editor .attachment__progress {
position: absolute;
z-index: 1;
height: 1.25rem;
top: 50%;
left: 0;
transform: translateY(-0.625rem);
width: 100%;
padding-left: 1rem;
padding-right: 1rem;
opacity: 0.2;
transition-property: opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
trix-editor .attachment__progress[value="100"] {
opacity: 0;
}
trix-editor .attachment__caption-editor {
display: inline-block;
padding: 0;
margin: 0;
font-size: 0.875rem;
line-height: 1.25rem;
text-align: center;
vertical-align: top;
width: 100%;
border-width: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
background: var(--vf-bg-input);
color: var(--vf-color-input);
font-family: inherit;
}
trix-editor .attachment__toolbar {
position: absolute;
top: 0;
left: 0;
z-index: 1;
transform: translateY(-50%);
text-align: center;
width: 100%;
}
trix-editor .trix-button-group {
display: inline-flex;
}
trix-editor .trix-button {
position: relative;
padding-top: 0;
padding-bottom: 0;
padding-left: 0.75rem;
padding-right: 0.75rem;
margin: 0;
background-color: transparent;
color: var(--vf-bg-icon);
font-size: 0.875rem;
line-height: 1.25rem;
white-space: nowrap;
border-radius: 0;
border-width: 0;
outline: 0;
}
trix-editor .trix-button:not(:disabled) {
cursor: pointer;
}
trix-editor .trix-button--remove {
display: inline-block;
overflow-x: hidden;
padding: 0;
background-color: var(--vf-bg-input);
line-height: 1.75rem;
border-color: var(--vf-color-selected);
border-radius: 9999px;
border-width: 1px;
border-style: solid;
outline: 0;
text-indent: -9999px;
width: 24px;
height: 24px;
}
trix-editor .trix-button--remove:hover {
background-color: var(--vf-bg-selected);
}
trix-editor .trix-button--remove::before {
content: "";
display: inline-block;
position: absolute;
top: 0.125rem;
right: 0.125rem;
bottom: 0.125rem;
left: 0.125rem;
background-color: var(--vf-color-input);
opacity: 0.7;
background-position: center;
background-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-position: center center;
-webkit-mask-position: center center;
mask-size: contain;
-webkit-mask-size: contain;
mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z'%3e%3c/path%3e%3c/svg%3e");
-webkit-mask-image: url("data:image/svg+xml,%3csvg viewBox='0 0 320 512' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z'%3e%3c/path%3e%3c/svg%3e");
}
trix-editor .attachment__metadata-container {
position: relative;
}
trix-editor .attachment__metadata {
position: absolute;
top: 1rem;
left: 50%;
padding-top: 0.125rem;
padding-bottom: 0.125rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
background-color: #000000;
opacity: 0.7;
transform: translateX(-50%);
color: #ffffff;
font-size: 0.875rem;
line-height: 1.25rem;
border-radius: 0.25rem;
}
trix-editor .attachment__metadata .attachment__name {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: bottom;
white-space: nowrap;
max-width: 100%;
}
trix-editor .attachment__metadata .attachment__size {
margin-left: 0.25rem;
white-space: nowrap;
}
.trix-content h1,
trix-editor h1 {
font-size: 1.875rem;
line-height: 2.25rem;
font-weight: 700;
line-height: 1.25;
}
.trix-content a,
trix-editor a {
color: var(--vf-primary);
}
.trix-content ul,
trix-editor ul {
padding-left: 2.5rem;
list-style-type: disc;
}
.trix-content [dir=rtl] ul,
trix-editor [dir=rtl] ul {
padding-right: 2.5rem;
list-style-type: disc;
}
.trix-content ol,
trix-editor ol {
padding-left: 2.5rem;
list-style-type: decimal;
}
.trix-content [dir=rtl] ol,
trix-editor [dir=rtl] ol {
padding-right: 2.5rem;
list-style-type: decimal;
}
.trix-content blockquote,
trix-editor blockquote {
padding-left: 0.625rem;
border-left-width: 4px;
border-color: var(--vf-gray-300);
border-left-style: solid;
margin: 0;
}
.trix-content [dir=rtl] blockquote,
.trix-content blockquote[dir=rtl],
trix-editor [dir=rtl] blockquote,
trix-editor blockquote[dir=rtl] {
padding-left: 0.625rem;
border-left-width: 4px;
border-color: var(--vf-gray-300);
}
.trix-content pre,
trix-editor pre {
display: inline-block;
overscroll-behavior-x: auto;
padding: 0.5rem;
background-color: var(--vf-gray-50);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 0.875rem;
line-height: 1.25rem;
vertical-align: top;
white-space: pre;
width: 100%;
}
.trix-content img,
trix-editor img {
max-width: 100%;
height: auto;
}
.trix-content .attachment__caption,
trix-editor .attachment__caption {
font-size: 0.875rem;
line-height: 1.25rem;
text-align: center;
}
.trix-content .attachment__caption .attachment__name + .attachment__size::before,
trix-editor .attachment__caption .attachment__name + .attachment__size::before {
content: " · ";
}
.trix-content * {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.trix-content .attachment {
display: inline-block;
position: relative;
max-width: 100%;
}
.trix-content .attachment a {
text-decoration: none;
}
.trix-content .attachment--preview {
text-align: center;
width: 100%;
}
.trix-content .attachment--preview .attachment__caption {
color: var(--vf-gray-500);
font-size: 0.875rem;
line-height: 1.25rem;
}
.trix-content .attachment--file {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
padding-left: 1rem;
padding-right: 1rem;
margin: 0.125rem;
margin-top: 0;
color: var(--vf-gray-700);
line-height: 1;
border-radius: 0.25rem;
border-width: 1px;
border-color: var(--vf-gray-300);
}
.trix-content .attachment-gallery {
display: flex;
position: relative;
display: flex;
flex-wrap: wrap;
}
.trix-content .attachment-gallery .attachment {
padding-top: 0;
padding-bottom: 0;
padding-left: 0.5rem;
padding-right: 0.5rem;
flex-grow: 1;
flex-shrink: 0;
width: 33.333333%;
}
.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
width: 50%;
}
.trix-content .attachment__progress {
display: none;
}
.vf-editor-sm trix-editor {
padding-left: var(--vf-px-input-sm);
padding-right: var(--vf-px-input-sm);
padding-bottom: var(--vf-py-input-sm);
border-radius: var(--vf-radius-large-sm);
min-height: 5rem;
}
.vf-editor-sm .trix-content h1,
.vf-editor-sm trix-editor h1 {
font-size: 1.625rem;
font-weight: 700;
line-height: 1.25;
}
.vf-editor-sm trix-toolbar {
padding: var(--vf-py-input-sm) var(--vf-py-input-sm);
}
.vf-editor-sm trix-toolbar .trix-button--icon {
width: 2.25rem;
}
.vf-editor-lg trix-editor {
padding-left: var(--vf-px-input-lg);
padding-right: var(--vf-px-input-lg);
padding-bottom: var(--vf-py-input-lg);
border-radius: var(--vf-radius-large-lg);
}
.vf-editor-disabled trix-toolbar {
pointer-events: none;
}
.vf-editor-hide-bold .trix-button--icon-bold {
display: none;
}
.vf-editor-hide-italic .trix-button--icon-italic {
display: none;
}
.vf-editor-hide-strike .trix-button--icon-strike {
display: none;
}
.vf-editor-hide-link .trix-button--icon-link {
display: none;
}
.vf-editor-hide-heading .trix-button--icon-heading-1 {
display: none;
}
.vf-editor-hide-quote .trix-button--icon-quote {
display: none;
}
.vf-editor-hide-code .trix-button--icon-code {
display: none;
}
.vf-editor-hide-bullet-list .trix-button--icon-bullet-list {
display: none;
}
.vf-editor-hide-number-list .trix-button--icon-number-list {
display: none;
}
.vf-editor-hide-decrease-nesting .trix-button--icon-decrease-nesting-level {
display: none;
}
.vf-editor-hide-increase-nesting .trix-button--icon-increase-nesting-level {
display: none;
}
.vf-editor-hide-attach .trix-button--icon-attach {
display: none;
}
.vf-editor-hide-undo .trix-button--icon-undo {
display: none;
}
.vf-editor-hide-redo .trix-button--icon-redo {
display: none;
}
.dark .trix-content blockquote,
.dark trix-editor blockquote {
border-color: var(--vf-dark-700);
}
.dark .trix-content pre,
.dark trix-editor pre {
background-color: var(--vf-dark-900);
}`;styleInject(css_248z);script.__file="themes/vueform/templates/wrappers/EditorWrapper.vue";function columns(a,i){switch(a){case"default":return"vf-col-".concat(i);default:return"vf-col-".concat(a,"-").concat(i)}}var classes={},index={templates:{Vueform:script$1$,FormErrors:script$1Z,FormMessages:script$1X,FormLanguages:script$1V,FormLanguage:script$1T,FormTabs:script$1R,FormTab:script$1P,FormSteps:script$1N,FormStepsControls:script$1L,FormStepsControl:script$1J,FormStep:script$1H,FormElements:script$1F,ElementLayout:script$1D,ElementLayoutInline:script$1B,ElementLoader:script$1z,ElementLabelFloating:script$1x,ElementLabel:script$1v,ElementInfo:script$1t,ElementDescription:script$1r,ElementError:script$1p,ElementMessage:script$1n,ElementText:script$1l,ElementAddon:script$1j,ButtonElement:script$1h,CheckboxElement:script$1f,CheckboxgroupElement:script$1d,CheckboxgroupElement_tabs:script$1c,CheckboxgroupElement_blocks:script$1b,DateElement:script$19,DatesElement:script$17,FileElement:script$15,GroupElement:script$13,HiddenElement:script$11,ListElement:script$$,LocationElement:script$Z,MultifileElement:script$X,MultiselectElement:script$U,ObjectElement:script$S,RadioElement:script$Q,RadiogroupElement:script$O,RadiogroupElement_tabs:script$N,RadiogroupElement_blocks:script$M,SelectElement:script$K,SliderElement:script$H,StaticElement:script$F,TagsElement:script$D,TextareaElement:script$B,TextElement:script$z,ToggleElement:script$w,EditorElement:script$u,TTextareaElement:script$s,TTextElement:script$q,TEditorElement:script$o,CheckboxgroupCheckbox:script$m,CheckboxgroupCheckbox_tabs:script$k,CheckboxgroupCheckbox_blocks:script$i,DragAndDrop:script$g,FilePreview:script$e,FilePreview_image:script$c,FilePreview_gallery:script$a,RadiogroupRadio:script$8,RadiogroupRadio_tabs:script$6,RadiogroupRadio_blocks:script$4,DatepickerWrapper:script$2,EditorWrapper:script},classes,columns};const vueform={theme:index,locales:{en},locale:"en",overrideClasses:{ElementAddon:{container:"vf-addon ps-0 pe-0"}}},_sfc_main=defineComponent$1({name:"SearchPage",components:{ModelSelect:_sfc_main$6,RecipeCard:_sfc_main$n},data(){return{test:{text:String}}},mounted(){},methods:{testApi:function(){const a=new ApiApi;a.apiMealPlanList().then(i=>{i.length>0&&i[0].id!=null&&a.apiMealPlanUpdate({id:i[0].id,mealPlanRequest:i[0]})})}}});function _sfc_render(a,i,u,c,d,m){return openBlock(),createBlock(VContainer,null,{default:withCtx(()=>[createVNode(VBtn,{onClick:a.testApi},{default:withCtx(()=>[createTextVNode("Test API")]),_:1},8,["onClick"])]),_:1})}const SearchPage=_export_sfc(_sfc_main,[["render",_sfc_render]]),routes=[{path:"/",component:StartPage,name:"view_home"},{path:"/search",component:SearchPage,name:"view_search"},{path:"/shopping",component:_sfc_main$r,name:"view_shopping"},{path:"/mealplan",component:_sfc_main$1,name:"view_mealplan"},{path:"/books",component:_sfc_main$r,name:"view_books"},{path:"/recipe/:id",component:RecipeViewPage,name:"view_recipe",props:!0},{path:"/recipe/edit/:recipe_id",component:RecipeEditPage,name:"edit_recipe",props:!0}],router=createRouter({history:createWebHashHistory(),routes}),app=createApp(_sfc_main$t);app.use(createPinia());app.use(vuetify);app.use(router);app.use(luxonPlugin);app.use(vueform$1,vueform);app.use(mavonEditor);app.mount("#app")});export default Tv();