mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
30 lines
532 KiB
JavaScript
30 lines
532 KiB
JavaScript
var ov=Object.defineProperty;var av=(e,t,n)=>t in e?ov(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ai=(e,t,n)=>(av(e,typeof t!="symbol"?t+"":t,n),n);/**
|
||
* @vue/shared v3.4.19
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Bl(e,t){const n=new Set(e.split(","));return t?i=>n.has(i.toLowerCase()):i=>n.has(i)}const We={},Xi=[],Ht=()=>{},sv=()=>!1,Ya=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$l=e=>e.startsWith("onUpdate:"),ot=Object.assign,Ml=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lv=Object.prototype.hasOwnProperty,xe=(e,t)=>lv.call(e,t),ce=Array.isArray,Qi=e=>Xa(e)==="[object Map]",tp=e=>Xa(e)==="[object Set]",ye=e=>typeof e=="function",et=e=>typeof e=="string",dr=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",np=e=>(ze(e)||ye(e))&&ye(e.then)&&ye(e.catch),ip=Object.prototype.toString,Xa=e=>ip.call(e),uv=e=>Xa(e).slice(8,-1),rp=e=>Xa(e)==="[object Object]",Vl=e=>et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zr=Bl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qa=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cv=/-(\w)/g,Yt=Qa(e=>e.replace(cv,(t,n)=>n?n.toUpperCase():"")),dv=/\B([A-Z])/g,fr=Qa(e=>e.replace(dv,"-$1").toLowerCase()),Fn=Qa(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rs=Qa(e=>e?`on${Fn(e)}`:""),ii=(e,t)=>!Object.is(e,t),_s=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},va=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},fv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pv=e=>{const t=et(e)?Number(e):NaN;return isNaN(t)?e:t};let nc;const op=()=>nc||(nc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ql(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],r=et(i)?vv(i):ql(i);if(r)for(const o in r)t[o]=r[o]}return t}else if(et(e)||ze(e))return e}const hv=/;(?![^(]*\))/g,mv=/:([^]+)/,gv=/\/\*[^]*?\*\//g;function vv(e){const t={};return e.replace(gv,"").split(hv).forEach(n=>{if(n){const i=n.split(mv);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function zl(e){let t="";if(et(e))t=e;else if(ce(e))for(let n=0;n<e.length;n++){const i=zl(e[n]);i&&(t+=i+" ")}else if(ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wv=Bl(yv);function ap(e){return!!e||e===""}const Fe=e=>et(e)?e:e==null?"":ce(e)||ze(e)&&(e.toString===ip||!ye(e.toString))?JSON.stringify(e,sp,2):String(e),sp=(e,t)=>t&&t.__v_isRef?sp(e,t.value):Qi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,r],o)=>(n[ks(i,o)+" =>"]=r,n),{})}:tp(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ks(n))}:dr(t)?ks(t):ze(t)&&!ce(t)&&!rp(t)?String(t):t,ks=(e,t="")=>{var n;return dr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.19
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Ot;class lp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!t&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ot;try{return Ot=this,t()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function ja(e){return new lp(e)}function bv(e,t=Ot){t&&t.active&&t.effects.push(e)}function Sv(){return Ot}function cn(e){Ot&&Ot.cleanups.push(e)}let bi;class Hl{constructor(t,n,i,r){this.fn=t,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,bv(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ii();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Cv(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xi()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ti,n=bi;try{return ti=!0,bi=this,this._runnings++,ic(this),this.fn()}finally{rc(this),this._runnings--,bi=n,ti=t}}stop(){var t;this.active&&(ic(this),rc(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cv(e){return e.value}function ic(e){e._trackId++,e._depsLength=0}function rc(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)up(e.deps[t],e);e.deps.length=e._depsLength}}function up(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let ti=!0,il=0;const cp=[];function Ii(){cp.push(ti),ti=!1}function xi(){const e=cp.pop();ti=e===void 0?!0:e}function Wl(){il++}function Jl(){for(il--;!il&&rl.length;)rl.shift()()}function dp(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const i=e.deps[e._depsLength];i!==t?(i&&up(i,e),e.deps[e._depsLength++]=t):e._depsLength++}}const rl=[];function fp(e,t,n){Wl();for(const i of e.keys()){let r;i._dirtyLevel<t&&(r??(r=e.get(i)===i._trackId))&&(i._shouldSchedule||(i._shouldSchedule=i._dirtyLevel===0),i._dirtyLevel=t),i._shouldSchedule&&(r??(r=e.get(i)===i._trackId))&&(i.trigger(),(!i._runnings||i.allowRecurse)&&i._dirtyLevel!==2&&(i._shouldSchedule=!1,i.scheduler&&rl.push(i.scheduler)))}Jl()}const pp=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ya=new WeakMap,Si=Symbol(""),ol=Symbol("");function Tt(e,t,n){if(ti&&bi){let i=ya.get(e);i||ya.set(e,i=new Map);let r=i.get(n);r||i.set(n,r=pp(()=>i.delete(n))),dp(bi,r)}}function In(e,t,n,i,r,o){const a=ya.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ce(e)){const l=Number(i);a.forEach((u,c)=>{(c==="length"||!dr(c)&&c>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ce(e)?Vl(n)&&s.push(a.get("length")):(s.push(a.get(Si)),Qi(e)&&s.push(a.get(ol)));break;case"delete":ce(e)||(s.push(a.get(Si)),Qi(e)&&s.push(a.get(ol)));break;case"set":Qi(e)&&s.push(a.get(Si));break}Wl();for(const l of s)l&&fp(l,4);Jl()}function Rv(e,t){var n;return(n=ya.get(e))==null?void 0:n.get(t)}const _v=Bl("__proto__,__v_isRef,__isVue"),hp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dr)),oc=kv();function kv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Te(this);for(let o=0,a=this.length;o<a;o++)Tt(i,"get",o+"");const r=i[t](...n);return r===-1||r===!1?i[t](...n.map(Te)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ii(),Wl();const i=Te(this)[t].apply(this,n);return Jl(),xi(),i}}),e}function Tv(e){const t=Te(this);return Tt(t,"has",e),t.hasOwnProperty(e)}class mp{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return i===(r?o?$v:wp:o?yp:vp).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const a=ce(t);if(!r){if(a&&xe(oc,n))return Reflect.get(oc,n,i);if(n==="hasOwnProperty")return Tv}const s=Reflect.get(t,n,i);return(dr(n)?hp.has(n):_v(n))||(r||Tt(t,"get",n),o)?s:nt(s)?a&&Vl(n)?s:s.value:ze(s)?r?ko(s):ht(s):s}}class gp extends mp{constructor(t=!1){super(!1,t)}set(t,n,i,r){let o=t[n];if(!this._shallow){const l=ir(o);if(!wa(i)&&!ir(i)&&(o=Te(o),i=Te(i)),!ce(t)&&nt(o)&&!nt(i))return l?!1:(o.value=i,!0)}const a=ce(t)&&Vl(n)?Number(n)<t.length:xe(t,n),s=Reflect.set(t,n,i,r);return t===Te(r)&&(a?ii(i,o)&&In(t,"set",n,i):In(t,"add",n,i)),s}deleteProperty(t,n){const i=xe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&i&&In(t,"delete",n,void 0),r}has(t,n){const i=Reflect.has(t,n);return(!dr(n)||!hp.has(n))&&Tt(t,"has",n),i}ownKeys(t){return Tt(t,"iterate",ce(t)?"length":Si),Reflect.ownKeys(t)}}class Ev extends mp{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Iv=new gp,xv=new Ev,Av=new gp(!0),Gl=e=>e,es=e=>Reflect.getPrototypeOf(e);function Vo(e,t,n=!1,i=!1){e=e.__v_raw;const r=Te(e),o=Te(t);n||(ii(t,o)&&Tt(r,"get",t),Tt(r,"get",o));const{has:a}=es(r),s=i?Gl:n?Xl:ao;if(a.call(r,t))return s(e.get(t));if(a.call(r,o))return s(e.get(o));e!==r&&e.get(t)}function qo(e,t=!1){const n=this.__v_raw,i=Te(n),r=Te(e);return t||(ii(e,r)&&Tt(i,"has",e),Tt(i,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function zo(e,t=!1){return e=e.__v_raw,!t&&Tt(Te(e),"iterate",Si),Reflect.get(e,"size",e)}function ac(e){e=Te(e);const t=Te(this);return es(t).has.call(t,e)||(t.add(e),In(t,"add",e,e)),this}function sc(e,t){t=Te(t);const n=Te(this),{has:i,get:r}=es(n);let o=i.call(n,e);o||(e=Te(e),o=i.call(n,e));const a=r.call(n,e);return n.set(e,t),o?ii(t,a)&&In(n,"set",e,t):In(n,"add",e,t),this}function lc(e){const t=Te(this),{has:n,get:i}=es(t);let r=n.call(t,e);r||(e=Te(e),r=n.call(t,e)),i&&i.call(t,e);const o=t.delete(e);return r&&In(t,"delete",e,void 0),o}function uc(){const e=Te(this),t=e.size!==0,n=e.clear();return t&&In(e,"clear",void 0,void 0),n}function Ho(e,t){return function(i,r){const o=this,a=o.__v_raw,s=Te(a),l=t?Gl:e?Xl:ao;return!e&&Tt(s,"iterate",Si),a.forEach((u,c)=>i.call(r,l(u),l(c),o))}}function Wo(e,t,n){return function(...i){const r=this.__v_raw,o=Te(r),a=Qi(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=r[e](...i),c=n?Gl:t?Xl:ao;return!t&&Tt(o,"iterate",l?ol:Si),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Vn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ov(){const e={get(o){return Vo(this,o)},get size(){return zo(this)},has:qo,add:ac,set:sc,delete:lc,clear:uc,forEach:Ho(!1,!1)},t={get(o){return Vo(this,o,!1,!0)},get size(){return zo(this)},has:qo,add:ac,set:sc,delete:lc,clear:uc,forEach:Ho(!1,!0)},n={get(o){return Vo(this,o,!0)},get size(){return zo(this,!0)},has(o){return qo.call(this,o,!0)},add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear"),forEach:Ho(!0,!1)},i={get(o){return Vo(this,o,!0,!0)},get size(){return zo(this,!0)},has(o){return qo.call(this,o,!0)},add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear"),forEach:Ho(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Wo(o,!1,!1),n[o]=Wo(o,!0,!1),t[o]=Wo(o,!1,!0),i[o]=Wo(o,!0,!0)}),[e,n,t,i]}const[Lv,Pv,Uv,Fv]=Ov();function Kl(e,t){const n=t?e?Fv:Uv:e?Pv:Lv;return(i,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(xe(n,r)&&r in i?n:i,r,o)}const Dv={get:Kl(!1,!1)},Nv={get:Kl(!1,!0)},Bv={get:Kl(!0,!1)},vp=new WeakMap,yp=new WeakMap,wp=new WeakMap,$v=new WeakMap;function Mv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vv(e){return e.__v_skip||!Object.isExtensible(e)?0:Mv(uv(e))}function ht(e){return ir(e)?e:Zl(e,!1,Iv,Dv,vp)}function bp(e){return Zl(e,!1,Av,Nv,yp)}function ko(e){return Zl(e,!0,xv,Bv,wp)}function Zl(e,t,n,i,r){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const a=Vv(e);if(a===0)return e;const s=new Proxy(e,a===2?i:n);return r.set(e,s),s}function ji(e){return ir(e)?ji(e.__v_raw):!!(e&&e.__v_isReactive)}function ir(e){return!!(e&&e.__v_isReadonly)}function wa(e){return!!(e&&e.__v_isShallow)}function Sp(e){return ji(e)||ir(e)}function Te(e){const t=e&&e.__v_raw;return t?Te(t):e}function Yl(e){return Object.isExtensible(e)&&va(e,"__v_skip",!0),e}const ao=e=>ze(e)?ht(e):e,Xl=e=>ze(e)?ko(e):e;class Cp{constructor(t,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Hl(()=>t(this._value),()=>ua(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const t=Te(this);return(!t._cacheable||t.effect.dirty)&&ii(t._value,t._value=t.effect.run())&&ua(t,4),Rp(t),t.effect._dirtyLevel>=2&&ua(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function qv(e,t,n=!1){let i,r;const o=ye(e);return o?(i=e,r=Ht):(i=e.get,r=e.set),new Cp(i,r,o||!r,n)}function Rp(e){var t;ti&&bi&&(e=Te(e),dp(bi,(t=e.dep)!=null?t:e.dep=pp(()=>e.dep=void 0,e instanceof Cp?e:void 0)))}function ua(e,t=4,n){e=Te(e);const i=e.dep;i&&fp(i,t)}function nt(e){return!!(e&&e.__v_isRef===!0)}function Se(e){return _p(e,!1)}function be(e){return _p(e,!0)}function _p(e,t){return nt(e)?e:new zv(e,t)}class zv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Te(t),this._value=n?t:ao(t)}get value(){return Rp(this),this._value}set value(t){const n=this.__v_isShallow||wa(t)||ir(t);t=n?t:Te(t),ii(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ao(t),ua(this,4))}}function bt(e){return nt(e)?e.value:e}const Hv={get:(e,t,n)=>bt(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return nt(r)&&!nt(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function kp(e){return ji(e)?e:new Proxy(e,Hv)}function Ql(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=Tp(e,n);return t}class Wv{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Rv(Te(this._object),this._key)}}class Jv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ve(e,t,n){return nt(e)?e:ye(e)?new Jv(e):ze(e)&&arguments.length>1?Tp(e,t,n):Se(e)}function Tp(e,t,n){const i=e[t];return nt(i)?i:new Wv(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.19
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function ni(e,t,n,i){try{return i?e(...i):e()}catch(r){ts(r,t,n)}}function Gt(e,t,n,i){if(ye(e)){const o=ni(e,t,n,i);return o&&np(o)&&o.catch(a=>{ts(a,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(Gt(e[o],t,n,i));return r}function ts(e,t,n,i=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const u=o.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,a,s)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){ni(l,null,10,[e,a,s]);return}}Gv(e,n,r,i)}function Gv(e,t,n,i=!0){console.error(e)}let so=!1,al=!1;const mt=[];let gn=0;const er=[];let Gn=null,pi=0;const Ep=Promise.resolve();let jl=null;function vt(e){const t=jl||Ep;return e?t.then(this?e.bind(this):e):t}function Kv(e){let t=gn+1,n=mt.length;for(;t<n;){const i=t+n>>>1,r=mt[i],o=lo(r);o<e||o===e&&r.pre?t=i+1:n=i}return t}function eu(e){(!mt.length||!mt.includes(e,so&&e.allowRecurse?gn+1:gn))&&(e.id==null?mt.push(e):mt.splice(Kv(e.id),0,e),Ip())}function Ip(){!so&&!al&&(al=!0,jl=Ep.then(Ap))}function Zv(e){const t=mt.indexOf(e);t>gn&&mt.splice(t,1)}function Yv(e){ce(e)?er.push(...e):(!Gn||!Gn.includes(e,e.allowRecurse?pi+1:pi))&&er.push(e),Ip()}function cc(e,t,n=so?gn+1:0){for(;n<mt.length;n++){const i=mt[n];if(i&&i.pre){if(e&&i.id!==e.uid)continue;mt.splice(n,1),n--,i()}}}function xp(e){if(er.length){const t=[...new Set(er)].sort((n,i)=>lo(n)-lo(i));if(er.length=0,Gn){Gn.push(...t);return}for(Gn=t,pi=0;pi<Gn.length;pi++)Gn[pi]();Gn=null,pi=0}}const lo=e=>e.id==null?1/0:e.id,Xv=(e,t)=>{const n=lo(e)-lo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ap(e){al=!1,so=!0,mt.sort(Xv);try{for(gn=0;gn<mt.length;gn++){const t=mt[gn];t&&t.active!==!1&&ni(t,null,14)}}finally{gn=0,mt.length=0,xp(),so=!1,jl=null,(mt.length||er.length)&&Ap()}}function Qv(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||We;let r=n;const o=t.startsWith("update:"),a=o&&t.slice(7);if(a&&a in i){const c=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=i[c]||We;f&&(r=n.map(h=>et(h)?h.trim():h)),d&&(r=n.map(fv))}let s,l=i[s=Rs(t)]||i[s=Rs(Yt(t))];!l&&o&&(l=i[s=Rs(fr(t))]),l&&Gt(l,e,6,r);const u=i[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Gt(u,e,6,r)}}function Op(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(r!==void 0)return r;const o=e.emits;let a={},s=!1;if(!ye(e)){const l=u=>{const c=Op(u,t,!0);c&&(s=!0,ot(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(ze(e)&&i.set(e,null),null):(ce(o)?o.forEach(l=>a[l]=null):ot(a,o),ze(e)&&i.set(e,a),a)}function ns(e,t){return!e||!Ya(t)?!1:(t=t.slice(2).replace(/Once$/,""),xe(e,t[0].toLowerCase()+t.slice(1))||xe(e,fr(t))||xe(e,t))}let st=null,Lp=null;function ba(e){const t=st;return st=e,Lp=e&&e.type.__scopeId||null,t}function q(e,t=st,n){if(!t||e._n)return e;const i=(...r)=>{i._d&&_c(-1);const o=ba(t);let a;try{a=e(...r)}finally{ba(o),i._d&&_c(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function Ts(e){const{type:t,vnode:n,proxy:i,withProxy:r,props:o,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:h,ctx:m,inheritAttrs:g}=e;let S,R;const k=ba(e);try{if(n.shapeFlag&4){const P=r||i,L=P;S=mn(c.call(L,P,d,o,h,f,m)),R=l}else{const P=t;S=mn(P.length>1?P(o,{attrs:l,slots:s,emit:u}):P(o,null)),R=t.props?l:jv(l)}}catch(P){eo.length=0,ts(P,e,1),S=p(Kt)}let I=S;if(R&&g!==!1){const P=Object.keys(R),{shapeFlag:L}=I;P.length&&L&7&&(a&&P.some($l)&&(R=ey(R,a)),I=On(I,R))}return n.dirs&&(I=On(I),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),S=I,ba(k),S}const jv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ya(n))&&((t||(t={}))[n]=e[n]);return t},ey=(e,t)=>{const n={};for(const i in e)(!$l(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function ty(e,t,n){const{props:i,children:r,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?dc(i,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const f=c[d];if(a[f]!==i[f]&&!ns(u,f))return!0}}}else return(r||s)&&(!s||!s.$stable)?!0:i===a?!1:i?a?dc(i,a,u):!0:!!a;return!1}function dc(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(t[o]!==e[o]&&!ns(n,o))return!0}return!1}function ny({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const tu="components",iy="directives";function Pt(e,t){return nu(tu,e,!0,t)||e}const Pp=Symbol.for("v-ndc");function ry(e){return et(e)?nu(tu,e,!1)||e:e||Pp}function Ai(e){return nu(iy,e)}function nu(e,t,n=!0,i=!1){const r=st||ft;if(r){const o=r.type;if(e===tu){const s=Zy(o,!1);if(s&&(s===t||s===Yt(t)||s===Fn(Yt(t))))return o}const a=fc(r[e]||o[e],t)||fc(r.appContext[e],t);return!a&&i?o:a}}function fc(e,t){return e&&(e[t]||e[Yt(t)]||e[Fn(Yt(t))])}const oy=e=>e.__isSuspense;function ay(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):Yv(e)}const sy=Symbol.for("v-scx"),ly=()=>Je(sy);function Dn(e,t){return iu(e,null,t)}const Jo={};function we(e,t,n){return iu(e,t,n)}function iu(e,t,{immediate:n,deep:i,flush:r,once:o,onTrack:a,onTrigger:s}=We){if(t&&o){const T=t;t=(...E)=>{T(...E),L()}}const l=ft,u=T=>i===!0?T:gi(T,i===!1?1:void 0);let c,d=!1,f=!1;if(nt(e)?(c=()=>e.value,d=wa(e)):ji(e)?(c=()=>u(e),d=!0):ce(e)?(f=!0,d=e.some(T=>ji(T)||wa(T)),c=()=>e.map(T=>{if(nt(T))return T.value;if(ji(T))return u(T);if(ye(T))return ni(T,l,2)})):ye(e)?t?c=()=>ni(e,l,2):c=()=>(h&&h(),Gt(e,l,3,[m])):c=Ht,t&&i){const T=c;c=()=>gi(T())}let h,m=T=>{h=I.onStop=()=>{ni(T,l,4),h=I.onStop=void 0}},g;if(as)if(m=Ht,t?n&&Gt(t,l,3,[c(),f?[]:void 0,m]):c(),r==="sync"){const T=ly();g=T.__watcherHandles||(T.__watcherHandles=[])}else return Ht;let S=f?new Array(e.length).fill(Jo):Jo;const R=()=>{if(!(!I.active||!I.dirty))if(t){const T=I.run();(i||d||(f?T.some((E,x)=>ii(E,S[x])):ii(T,S)))&&(h&&h(),Gt(t,l,3,[T,S===Jo?void 0:f&&S[0]===Jo?[]:S,m]),S=T)}else I.run()};R.allowRecurse=!!t;let k;r==="sync"?k=R:r==="post"?k=()=>Rt(R,l&&l.suspense):(R.pre=!0,l&&(R.id=l.uid),k=()=>eu(R));const I=new Hl(c,Ht,k),P=Sv(),L=()=>{I.stop(),P&&Ml(P.effects,I)};return t?n?R():S=I.run():r==="post"?Rt(I.run.bind(I),l&&l.suspense):I.run(),g&&g.push(L),L}function uy(e,t,n){const i=this.proxy,r=et(e)?e.includes(".")?Up(i,e):()=>i[e]:e.bind(i,i);let o;ye(t)?o=t:(o=t.handler,n=t);const a=Eo(this),s=iu(r,o.bind(i),n);return a(),s}function Up(e,t){const n=t.split(".");return()=>{let i=e;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function gi(e,t,n=0,i){if(!ze(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(i=i||new Set,i.has(e))return e;if(i.add(e),nt(e))gi(e.value,t,n,i);else if(ce(e))for(let r=0;r<e.length;r++)gi(e[r],t,n,i);else if(tp(e)||Qi(e))e.forEach(r=>{gi(r,t,n,i)});else if(rp(e))for(const r in e)gi(e[r],t,n,i);return e}function Xt(e,t){if(st===null)return e;const n=ss(st)||st.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,s,l=We]=t[r];o&&(ye(o)&&(o={mounted:o,updated:o}),o.deep&&gi(a),i.push({dir:o,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function si(e,t,n,i){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];o&&(s.oldValue=o[a].value);let l=s.dir[i];l&&(Ii(),Gt(l,n,8,[e.el,s,e,t]),xi())}}const Kn=Symbol("_leaveCb"),Go=Symbol("_enterCb");function Fp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn(()=>{e.isMounted=!0}),dn(()=>{e.isUnmounting=!0}),e}const Vt=[Function,Array],Dp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Vt,onEnter:Vt,onAfterEnter:Vt,onEnterCancelled:Vt,onBeforeLeave:Vt,onLeave:Vt,onAfterLeave:Vt,onLeaveCancelled:Vt,onBeforeAppear:Vt,onAppear:Vt,onAfterAppear:Vt,onAppearCancelled:Vt},cy={name:"BaseTransition",props:Dp,setup(e,{slots:t}){const n=cu(),i=Fp();let r;return()=>{const o=t.default&&ru(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const g of o)if(g.type!==Kt){a=g;break}}const s=Te(e),{mode:l}=s;if(i.isLeaving)return Es(a);const u=pc(a);if(!u)return Es(a);const c=uo(u,s,i,n);co(u,c);const d=n.subTree,f=d&&pc(d);let h=!1;const{getTransitionKey:m}=u.type;if(m){const g=m();r===void 0?r=g:g!==r&&(r=g,h=!0)}if(f&&f.type!==Kt&&(!hi(u,f)||h)){const g=uo(f,s,i,n);if(co(f,g),l==="out-in")return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Es(a);l==="in-out"&&u.type!==Kt&&(g.delayLeave=(S,R,k)=>{const I=Np(i,f);I[String(f.key)]=f,S[Kn]=()=>{R(),S[Kn]=void 0,delete c.delayedLeave},c.delayedLeave=k})}return a}}},dy=cy;function Np(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function uo(e,t,n,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:S,onAfterAppear:R,onAppearCancelled:k}=t,I=String(e.key),P=Np(n,e),L=(x,N)=>{x&&Gt(x,i,9,N)},T=(x,N)=>{const $=N[1];L(x,N),ce(x)?x.every(W=>W.length<=1)&&$():x.length<=1&&$()},E={mode:o,persisted:a,beforeEnter(x){let N=s;if(!n.isMounted)if(r)N=g||s;else return;x[Kn]&&x[Kn](!0);const $=P[I];$&&hi(e,$)&&$.el[Kn]&&$.el[Kn](),L(N,[x])},enter(x){let N=l,$=u,W=c;if(!n.isMounted)if(r)N=S||l,$=R||u,W=k||c;else return;let O=!1;const F=x[Go]=V=>{O||(O=!0,V?L(W,[x]):L($,[x]),E.delayedLeave&&E.delayedLeave(),x[Go]=void 0)};N?T(N,[x,F]):F()},leave(x,N){const $=String(e.key);if(x[Go]&&x[Go](!0),n.isUnmounting)return N();L(d,[x]);let W=!1;const O=x[Kn]=F=>{W||(W=!0,N(),F?L(m,[x]):L(h,[x]),x[Kn]=void 0,P[$]===e&&delete P[$])};P[$]=e,f?T(f,[x,O]):O()},clone(x){return uo(x,t,n,i)}};return E}function Es(e){if(is(e))return e=On(e),e.children=null,e}function pc(e){return is(e)?e.children?e.children[0]:void 0:e}function co(e,t){e.shapeFlag&6&&e.component?co(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ru(e,t=!1,n){let i=[],r=0;for(let o=0;o<e.length;o++){let a=e[o];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===_e?(a.patchFlag&128&&r++,i=i.concat(ru(a.children,t,s))):(t||a.type!==Kt)&&i.push(s!=null?On(a,{key:s}):a)}if(r>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function pt(e,t){return ye(e)?ot({name:e.name},t,{setup:e}):e}const Yr=e=>!!e.type.__asyncLoader,is=e=>e.type.__isKeepAlive;function Bp(e,t){Mp(e,"a",t)}function $p(e,t){Mp(e,"da",t)}function Mp(e,t,n=ft){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(rs(t,i,n),n){let r=n.parent;for(;r&&r.parent;)is(r.parent.vnode)&&fy(i,t,n,r),r=r.parent}}function fy(e,t,n,i){const r=rs(t,e,i,!0);qp(()=>{Ml(i[t],r)},n)}function rs(e,t,n=ft,i=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Ii();const s=Eo(n),l=Gt(t,n,e,a);return s(),xi(),l});return i?r.unshift(o):r.push(o),o}}const Nn=e=>(t,n=ft)=>(!as||e==="sp")&&rs(e,(...i)=>t(...i),n),ou=Nn("bm"),Bn=Nn("m"),py=Nn("bu"),Vp=Nn("u"),dn=Nn("bum"),qp=Nn("um"),hy=Nn("sp"),my=Nn("rtg"),gy=Nn("rtc");function vy(e,t=ft){rs("ec",e,t)}function Oi(e,t,n,i){let r;const o=n&&n[i];if(ce(e)||et(e)){r=new Array(e.length);for(let a=0,s=e.length;a<s;a++)r[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,o&&o[a])}else if(ze(e))if(e[Symbol.iterator])r=Array.from(e,(a,s)=>t(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const u=a[s];r[s]=t(e[u],u,s,o&&o[s])}}else r=[];return n&&(n[i]=r),r}function zp(e,t,n={},i,r){if(st.isCE||st.parent&&Yr(st.parent)&&st.parent.isCE)return t!=="default"&&(n.name=t),p("slot",n,i&&i());let o=e[t];o&&o._c&&(o._d=!1),de();const a=o&&Hp(o(n)),s=Me(_e,{key:n.key||a&&a.key||`_${t}`},a||(i?i():[]),a&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Hp(e){return e.some(t=>Ca(t)?!(t.type===Kt||t.type===_e&&!Hp(t.children)):!0)?e:null}const sl=e=>e?nh(e)?ss(e)||e.proxy:sl(e.parent):null,Xr=ot(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>sl(e.parent),$root:e=>sl(e.root),$emit:e=>e.emit,$options:e=>au(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,eu(e.update)}),$nextTick:e=>e.n||(e.n=vt.bind(e.proxy)),$watch:e=>uy.bind(e)}),Is=(e,t)=>e!==We&&!e.__isScriptSetup&&xe(e,t),yy={get({_:e},t){const{ctx:n,setupState:i,data:r,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Is(i,t))return a[t]=1,i[t];if(r!==We&&xe(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&xe(u,t))return a[t]=3,o[t];if(n!==We&&xe(n,t))return a[t]=4,n[t];ll&&(a[t]=0)}}const c=Xr[t];let d,f;if(c)return t==="$attrs"&&Tt(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==We&&xe(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,xe(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:r,ctx:o}=e;return Is(r,t)?(r[t]=n,!0):i!==We&&xe(i,t)?(i[t]=n,!0):xe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:o}},a){let s;return!!n[a]||e!==We&&xe(e,a)||Is(t,a)||(s=o[0])&&xe(s,a)||xe(i,a)||xe(Xr,a)||xe(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:xe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hc(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ll=!0;function wy(e){const t=au(e),n=e.proxy,i=e.ctx;ll=!1,t.beforeCreate&&mc(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:g,deactivated:S,beforeDestroy:R,beforeUnmount:k,destroyed:I,unmounted:P,render:L,renderTracked:T,renderTriggered:E,errorCaptured:x,serverPrefetch:N,expose:$,inheritAttrs:W,components:O,directives:F,filters:V}=t;if(u&&by(u,i,null),a)for(const ne in a){const ee=a[ne];ye(ee)&&(i[ne]=ee.bind(n))}if(r){const ne=r.call(n,n);ze(ne)&&(e.data=ht(ne))}if(ll=!0,o)for(const ne in o){const ee=o[ne],Ae=ye(ee)?ee.bind(n,n):ye(ee.get)?ee.get.bind(n,n):Ht,Ne=!ye(ee)&&ye(ee.set)?ee.set.bind(n):Ht,X=C({get:Ae,set:Ne});Object.defineProperty(i,ne,{enumerable:!0,configurable:!0,get:()=>X.value,set:ie=>X.value=ie})}if(s)for(const ne in s)Wp(s[ne],i,n,ne);if(l){const ne=ye(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(ee=>{Ft(ee,ne[ee])})}c&&mc(c,e,"c");function se(ne,ee){ce(ee)?ee.forEach(Ae=>ne(Ae.bind(n))):ee&&ne(ee.bind(n))}if(se(ou,d),se(Bn,f),se(py,h),se(Vp,m),se(Bp,g),se($p,S),se(vy,x),se(gy,T),se(my,E),se(dn,k),se(qp,P),se(hy,N),ce($))if($.length){const ne=e.exposed||(e.exposed={});$.forEach(ee=>{Object.defineProperty(ne,ee,{get:()=>n[ee],set:Ae=>n[ee]=Ae})})}else e.exposed||(e.exposed={});L&&e.render===Ht&&(e.render=L),W!=null&&(e.inheritAttrs=W),O&&(e.components=O),F&&(e.directives=F)}function by(e,t,n=Ht){ce(e)&&(e=ul(e));for(const i in e){const r=e[i];let o;ze(r)?"default"in r?o=Je(r.from||i,r.default,!0):o=Je(r.from||i):o=Je(r),nt(o)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[i]=o}}function mc(e,t,n){Gt(ce(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Wp(e,t,n,i){const r=i.includes(".")?Up(n,i):()=>n[i];if(et(e)){const o=t[e];ye(o)&&we(r,o)}else if(ye(e))we(r,e.bind(n));else if(ze(e))if(ce(e))e.forEach(o=>Wp(o,t,n,i));else{const o=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(o)&&we(r,o,e)}}function au(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!r.length&&!n&&!i?l=t:(l={},r.length&&r.forEach(u=>Sa(l,u,a,!0)),Sa(l,t,a)),ze(t)&&o.set(t,l),l}function Sa(e,t,n,i=!1){const{mixins:r,extends:o}=t;o&&Sa(e,o,n,!0),r&&r.forEach(a=>Sa(e,a,n,!0));for(const a in t)if(!(i&&a==="expose")){const s=Sy[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Sy={data:gc,props:vc,emits:vc,methods:qr,computed:qr,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:qr,directives:qr,watch:Ry,provide:gc,inject:Cy};function gc(e,t){return t?e?function(){return ot(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function Cy(e,t){return qr(ul(e),ul(t))}function ul(e){if(ce(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wt(e,t){return e?[...new Set([].concat(e,t))]:t}function qr(e,t){return e?ot(Object.create(null),e,t):t}function vc(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:ot(Object.create(null),hc(e),hc(t??{})):t}function Ry(e,t){if(!e)return t;if(!t)return e;const n=ot(Object.create(null),e);for(const i in t)n[i]=wt(e[i],t[i]);return n}function Jp(){return{app:null,config:{isNativeTag:sv,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 _y=0;function ky(e,t){return function(i,r=null){ye(i)||(i=ot({},i)),r!=null&&!ze(r)&&(r=null);const o=Jp(),a=new WeakSet;let s=!1;const l=o.app={_uid:_y++,_component:i,_props:r,_container:null,_context:o,_instance:null,version:Xy,get config(){return o.config},set config(u){},use(u,...c){return a.has(u)||(u&&ye(u.install)?(a.add(u),u.install(l,...c)):ye(u)&&(a.add(u),u(l,...c))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,c){return c?(o.components[u]=c,l):o.components[u]},directive(u,c){return c?(o.directives[u]=c,l):o.directives[u]},mount(u,c,d){if(!s){const f=p(i,r);return f.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),c&&t?t(f,u):e(f,u,d),s=!0,l._container=u,u.__vue_app__=l,ss(f.component)||f.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return o.provides[u]=c,l},runWithContext(u){const c=Qr;Qr=l;try{return u()}finally{Qr=c}}};return l}}let Qr=null;function Ft(e,t){if(ft){let n=ft.provides;const i=ft.parent&&ft.parent.provides;i===n&&(n=ft.provides=Object.create(i)),n[e]=t}}function Je(e,t,n=!1){const i=ft||st;if(i||Qr){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:Qr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ye(t)?t.call(i&&i.proxy):t}}function Ty(e,t,n,i=!1){const r={},o={};va(o,os,1),e.propsDefaults=Object.create(null),Gp(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=i?r:bp(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ey(e,t,n,i){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,s=Te(r),[l]=e.propsOptions;let u=!1;if((i||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let f=c[d];if(ns(e.emitsOptions,f))continue;const h=t[f];if(l)if(xe(o,f))h!==o[f]&&(o[f]=h,u=!0);else{const m=Yt(f);r[m]=cl(l,s,m,h,e,!1)}else h!==o[f]&&(o[f]=h,u=!0)}}}else{Gp(e,t,r,o)&&(u=!0);let c;for(const d in s)(!t||!xe(t,d)&&((c=fr(d))===d||!xe(t,c)))&&(l?n&&(n[d]!==void 0||n[c]!==void 0)&&(r[d]=cl(l,s,d,void 0,e,!0)):delete r[d]);if(o!==s)for(const d in o)(!t||!xe(t,d))&&(delete o[d],u=!0)}u&&In(e,"set","$attrs")}function Gp(e,t,n,i){const[r,o]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(Zr(l))continue;const u=t[l];let c;r&&xe(r,c=Yt(l))?!o||!o.includes(c)?n[c]=u:(s||(s={}))[c]=u:ns(e.emitsOptions,l)||(!(l in i)||u!==i[l])&&(i[l]=u,a=!0)}if(o){const l=Te(n),u=s||We;for(let c=0;c<o.length;c++){const d=o[c];n[d]=cl(r,l,d,u[d],e,!xe(u,d))}}return a}function cl(e,t,n,i,r,o){const a=e[n];if(a!=null){const s=xe(a,"default");if(s&&i===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&ye(l)){const{propsDefaults:u}=r;if(n in u)i=u[n];else{const c=Eo(r);i=u[n]=l.call(null,t),c()}}else i=l}a[0]&&(o&&!s?i=!1:a[1]&&(i===""||i===fr(n))&&(i=!0))}return i}function Kp(e,t,n=!1){const i=t.propsCache,r=i.get(e);if(r)return r;const o=e.props,a={},s=[];let l=!1;if(!ye(e)){const c=d=>{l=!0;const[f,h]=Kp(d,t,!0);ot(a,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ze(e)&&i.set(e,Xi),Xi;if(ce(o))for(let c=0;c<o.length;c++){const d=Yt(o[c]);yc(d)&&(a[d]=We)}else if(o)for(const c in o){const d=Yt(c);if(yc(d)){const f=o[c],h=a[d]=ce(f)||ye(f)?{type:f}:ot({},f);if(h){const m=Sc(Boolean,h.type),g=Sc(String,h.type);h[0]=m>-1,h[1]=g<0||m<g,(m>-1||xe(h,"default"))&&s.push(d)}}}const u=[a,s];return ze(e)&&i.set(e,u),u}function yc(e){return e[0]!=="$"&&!Zr(e)}function wc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function bc(e,t){return wc(e)===wc(t)}function Sc(e,t){return ce(t)?t.findIndex(n=>bc(n,e)):ye(t)&&bc(t,e)?0:-1}const Zp=e=>e[0]==="_"||e==="$stable",su=e=>ce(e)?e.map(mn):[mn(e)],Iy=(e,t,n)=>{if(t._n)return t;const i=q((...r)=>su(t(...r)),n);return i._c=!1,i},Yp=(e,t,n)=>{const i=e._ctx;for(const r in e){if(Zp(r))continue;const o=e[r];if(ye(o))t[r]=Iy(r,o,i);else if(o!=null){const a=su(o);t[r]=()=>a}}},Xp=(e,t)=>{const n=su(t);e.slots.default=()=>n},xy=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Te(t),va(t,"_",n)):Yp(t,e.slots={})}else e.slots={},t&&Xp(e,t);va(e.slots,os,1)},Ay=(e,t,n)=>{const{vnode:i,slots:r}=e;let o=!0,a=We;if(i.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:(ot(r,t),!n&&s===1&&delete r._):(o=!t.$stable,Yp(t,r)),a=t}else t&&(Xp(e,t),a={default:1});if(o)for(const s in r)!Zp(s)&&a[s]==null&&delete r[s]};function dl(e,t,n,i,r=!1){if(ce(e)){e.forEach((f,h)=>dl(f,t&&(ce(t)?t[h]:t),n,i,r));return}if(Yr(i)&&!r)return;const o=i.shapeFlag&4?ss(i.component)||i.component.proxy:i.el,a=r?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===We?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(et(u)?(c[u]=null,xe(d,u)&&(d[u]=null)):nt(u)&&(u.value=null)),ye(l))ni(l,s,12,[a,c]);else{const f=et(l),h=nt(l);if(f||h){const m=()=>{if(e.f){const g=f?xe(d,l)?d[l]:c[l]:l.value;r?ce(g)&&Ml(g,o):ce(g)?g.includes(o)||g.push(o):f?(c[l]=[o],xe(d,l)&&(d[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else f?(c[l]=a,xe(d,l)&&(d[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(m.id=-1,Rt(m,n)):m()}}}const Rt=ay;function Oy(e){return Ly(e)}function Ly(e,t){const n=op();n.__VUE__=!0;const{insert:i,remove:r,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Ht,insertStaticContent:m}=e,g=(v,b,A,B=null,D=null,H=null,Y=void 0,z=null,G=!!b.dynamicChildren)=>{if(v===b)return;v&&!hi(v,b)&&(B=U(v),ie(v,D,H,!0),v=null),b.patchFlag===-2&&(G=!1,b.dynamicChildren=null);const{type:M,ref:j,shapeFlag:ue}=b;switch(M){case To:S(v,b,A,B);break;case Kt:R(v,b,A,B);break;case As:v==null&&k(b,A,B,Y);break;case _e:O(v,b,A,B,D,H,Y,z,G);break;default:ue&1?L(v,b,A,B,D,H,Y,z,G):ue&6?F(v,b,A,B,D,H,Y,z,G):(ue&64||ue&128)&&M.process(v,b,A,B,D,H,Y,z,G,te)}j!=null&&D&&dl(j,v&&v.ref,H,b||v,!b)},S=(v,b,A,B)=>{if(v==null)i(b.el=s(b.children),A,B);else{const D=b.el=v.el;b.children!==v.children&&u(D,b.children)}},R=(v,b,A,B)=>{v==null?i(b.el=l(b.children||""),A,B):b.el=v.el},k=(v,b,A,B)=>{[v.el,v.anchor]=m(v.children,b,A,B,v.el,v.anchor)},I=({el:v,anchor:b},A,B)=>{let D;for(;v&&v!==b;)D=f(v),i(v,A,B),v=D;i(b,A,B)},P=({el:v,anchor:b})=>{let A;for(;v&&v!==b;)A=f(v),r(v),v=A;r(b)},L=(v,b,A,B,D,H,Y,z,G)=>{b.type==="svg"?Y="svg":b.type==="math"&&(Y="mathml"),v==null?T(b,A,B,D,H,Y,z,G):N(v,b,D,H,Y,z,G)},T=(v,b,A,B,D,H,Y,z)=>{let G,M;const{props:j,shapeFlag:ue,transition:re,dirs:me}=v;if(G=v.el=a(v.type,H,j&&j.is,j),ue&8?c(G,v.children):ue&16&&x(v.children,G,null,B,D,xs(v,H),Y,z),me&&si(v,null,B,"created"),E(G,v,v.scopeId,Y,B),j){for(const Be in j)Be!=="value"&&!Zr(Be)&&o(G,Be,null,j[Be],H,v.children,B,D,Oe);"value"in j&&o(G,"value",null,j.value,H),(M=j.onVnodeBeforeMount)&&hn(M,B,v)}me&&si(v,null,B,"beforeMount");const ke=Py(D,re);ke&&re.beforeEnter(G),i(G,b,A),((M=j&&j.onVnodeMounted)||ke||me)&&Rt(()=>{M&&hn(M,B,v),ke&&re.enter(G),me&&si(v,null,B,"mounted")},D)},E=(v,b,A,B,D)=>{if(A&&h(v,A),B)for(let H=0;H<B.length;H++)h(v,B[H]);if(D){let H=D.subTree;if(b===H){const Y=D.vnode;E(v,Y,Y.scopeId,Y.slotScopeIds,D.parent)}}},x=(v,b,A,B,D,H,Y,z,G=0)=>{for(let M=G;M<v.length;M++){const j=v[M]=z?Zn(v[M]):mn(v[M]);g(null,j,b,A,B,D,H,Y,z)}},N=(v,b,A,B,D,H,Y)=>{const z=b.el=v.el;let{patchFlag:G,dynamicChildren:M,dirs:j}=b;G|=v.patchFlag&16;const ue=v.props||We,re=b.props||We;let me;if(A&&li(A,!1),(me=re.onVnodeBeforeUpdate)&&hn(me,A,b,v),j&&si(b,v,A,"beforeUpdate"),A&&li(A,!0),M?$(v.dynamicChildren,M,z,A,B,xs(b,D),H):Y||ee(v,b,z,null,A,B,xs(b,D),H,!1),G>0){if(G&16)W(z,b,ue,re,A,B,D);else if(G&2&&ue.class!==re.class&&o(z,"class",null,re.class,D),G&4&&o(z,"style",ue.style,re.style,D),G&8){const ke=b.dynamicProps;for(let Be=0;Be<ke.length;Be++){const Ke=ke[Be],ut=ue[Ke],jt=re[Ke];(jt!==ut||Ke==="value")&&o(z,Ke,ut,jt,D,v.children,A,B,Oe)}}G&1&&v.children!==b.children&&c(z,b.children)}else!Y&&M==null&&W(z,b,ue,re,A,B,D);((me=re.onVnodeUpdated)||j)&&Rt(()=>{me&&hn(me,A,b,v),j&&si(b,v,A,"updated")},B)},$=(v,b,A,B,D,H,Y)=>{for(let z=0;z<b.length;z++){const G=v[z],M=b[z],j=G.el&&(G.type===_e||!hi(G,M)||G.shapeFlag&70)?d(G.el):A;g(G,M,j,null,B,D,H,Y,!0)}},W=(v,b,A,B,D,H,Y)=>{if(A!==B){if(A!==We)for(const z in A)!Zr(z)&&!(z in B)&&o(v,z,A[z],null,Y,b.children,D,H,Oe);for(const z in B){if(Zr(z))continue;const G=B[z],M=A[z];G!==M&&z!=="value"&&o(v,z,M,G,Y,b.children,D,H,Oe)}"value"in B&&o(v,"value",A.value,B.value,Y)}},O=(v,b,A,B,D,H,Y,z,G)=>{const M=b.el=v?v.el:s(""),j=b.anchor=v?v.anchor:s("");let{patchFlag:ue,dynamicChildren:re,slotScopeIds:me}=b;me&&(z=z?z.concat(me):me),v==null?(i(M,A,B),i(j,A,B),x(b.children||[],A,j,D,H,Y,z,G)):ue>0&&ue&64&&re&&v.dynamicChildren?($(v.dynamicChildren,re,A,D,H,Y,z),(b.key!=null||D&&b===D.subTree)&&lu(v,b,!0)):ee(v,b,A,j,D,H,Y,z,G)},F=(v,b,A,B,D,H,Y,z,G)=>{b.slotScopeIds=z,v==null?b.shapeFlag&512?D.ctx.activate(b,A,B,Y,G):V(b,A,B,D,H,Y,G):ae(v,b,G)},V=(v,b,A,B,D,H,Y)=>{const z=v.component=Hy(v,B,D);if(is(v)&&(z.ctx.renderer=te),Wy(z),z.asyncDep){if(D&&D.registerDep(z,se),!v.el){const G=z.subTree=p(Kt);R(null,G,b,A)}}else se(z,v,b,A,D,H,Y)},ae=(v,b,A)=>{const B=b.component=v.component;if(ty(v,b,A))if(B.asyncDep&&!B.asyncResolved){ne(B,b,A);return}else B.next=b,Zv(B.update),B.effect.dirty=!0,B.update();else b.el=v.el,B.vnode=b},se=(v,b,A,B,D,H,Y)=>{const z=()=>{if(v.isMounted){let{next:j,bu:ue,u:re,parent:me,vnode:ke}=v;{const Di=Qp(v);if(Di){j&&(j.el=ke.el,ne(v,j,Y)),Di.asyncDep.then(()=>{v.isUnmounted||z()});return}}let Be=j,Ke;li(v,!1),j?(j.el=ke.el,ne(v,j,Y)):j=ke,ue&&_s(ue),(Ke=j.props&&j.props.onVnodeBeforeUpdate)&&hn(Ke,me,j,ke),li(v,!0);const ut=Ts(v),jt=v.subTree;v.subTree=ut,g(jt,ut,d(jt.el),U(jt),v,D,H),j.el=ut.el,Be===null&&ny(v,ut.el),re&&Rt(re,D),(Ke=j.props&&j.props.onVnodeUpdated)&&Rt(()=>hn(Ke,me,j,ke),D)}else{let j;const{el:ue,props:re}=b,{bm:me,m:ke,parent:Be}=v,Ke=Yr(b);if(li(v,!1),me&&_s(me),!Ke&&(j=re&&re.onVnodeBeforeMount)&&hn(j,Be,b),li(v,!0),ue&&Ge){const ut=()=>{v.subTree=Ts(v),Ge(ue,v.subTree,v,D,null)};Ke?b.type.__asyncLoader().then(()=>!v.isUnmounted&&ut()):ut()}else{const ut=v.subTree=Ts(v);g(null,ut,A,B,v,D,H),b.el=ut.el}if(ke&&Rt(ke,D),!Ke&&(j=re&&re.onVnodeMounted)){const ut=b;Rt(()=>hn(j,Be,ut),D)}(b.shapeFlag&256||Be&&Yr(Be.vnode)&&Be.vnode.shapeFlag&256)&&v.a&&Rt(v.a,D),v.isMounted=!0,b=A=B=null}},G=v.effect=new Hl(z,Ht,()=>eu(M),v.scope),M=v.update=()=>{G.dirty&&G.run()};M.id=v.uid,li(v,!0),M()},ne=(v,b,A)=>{b.component=v;const B=v.vnode.props;v.vnode=b,v.next=null,Ey(v,b.props,B,A),Ay(v,b.children,A),Ii(),cc(v),xi()},ee=(v,b,A,B,D,H,Y,z,G=!1)=>{const M=v&&v.children,j=v?v.shapeFlag:0,ue=b.children,{patchFlag:re,shapeFlag:me}=b;if(re>0){if(re&128){Ne(M,ue,A,B,D,H,Y,z,G);return}else if(re&256){Ae(M,ue,A,B,D,H,Y,z,G);return}}me&8?(j&16&&Oe(M,D,H),ue!==M&&c(A,ue)):j&16?me&16?Ne(M,ue,A,B,D,H,Y,z,G):Oe(M,D,H,!0):(j&8&&c(A,""),me&16&&x(ue,A,B,D,H,Y,z,G))},Ae=(v,b,A,B,D,H,Y,z,G)=>{v=v||Xi,b=b||Xi;const M=v.length,j=b.length,ue=Math.min(M,j);let re;for(re=0;re<ue;re++){const me=b[re]=G?Zn(b[re]):mn(b[re]);g(v[re],me,A,null,D,H,Y,z,G)}M>j?Oe(v,D,H,!0,!1,ue):x(b,A,B,D,H,Y,z,G,ue)},Ne=(v,b,A,B,D,H,Y,z,G)=>{let M=0;const j=b.length;let ue=v.length-1,re=j-1;for(;M<=ue&&M<=re;){const me=v[M],ke=b[M]=G?Zn(b[M]):mn(b[M]);if(hi(me,ke))g(me,ke,A,null,D,H,Y,z,G);else break;M++}for(;M<=ue&&M<=re;){const me=v[ue],ke=b[re]=G?Zn(b[re]):mn(b[re]);if(hi(me,ke))g(me,ke,A,null,D,H,Y,z,G);else break;ue--,re--}if(M>ue){if(M<=re){const me=re+1,ke=me<j?b[me].el:B;for(;M<=re;)g(null,b[M]=G?Zn(b[M]):mn(b[M]),A,ke,D,H,Y,z,G),M++}}else if(M>re)for(;M<=ue;)ie(v[M],D,H,!0),M++;else{const me=M,ke=M,Be=new Map;for(M=ke;M<=re;M++){const xt=b[M]=G?Zn(b[M]):mn(b[M]);xt.key!=null&&Be.set(xt.key,M)}let Ke,ut=0;const jt=re-ke+1;let Di=!1,ju=0;const Rr=new Array(jt);for(M=0;M<jt;M++)Rr[M]=0;for(M=me;M<=ue;M++){const xt=v[M];if(ut>=jt){ie(xt,D,H,!0);continue}let pn;if(xt.key!=null)pn=Be.get(xt.key);else for(Ke=ke;Ke<=re;Ke++)if(Rr[Ke-ke]===0&&hi(xt,b[Ke])){pn=Ke;break}pn===void 0?ie(xt,D,H,!0):(Rr[pn-ke]=M+1,pn>=ju?ju=pn:Di=!0,g(xt,b[pn],A,null,D,H,Y,z,G),ut++)}const ec=Di?Uy(Rr):Xi;for(Ke=ec.length-1,M=jt-1;M>=0;M--){const xt=ke+M,pn=b[xt],tc=xt+1<j?b[xt+1].el:B;Rr[M]===0?g(null,pn,A,tc,D,H,Y,z,G):Di&&(Ke<0||M!==ec[Ke]?X(pn,A,tc,2):Ke--)}}},X=(v,b,A,B,D=null)=>{const{el:H,type:Y,transition:z,children:G,shapeFlag:M}=v;if(M&6){X(v.component.subTree,b,A,B);return}if(M&128){v.suspense.move(b,A,B);return}if(M&64){Y.move(v,b,A,te);return}if(Y===_e){i(H,b,A);for(let ue=0;ue<G.length;ue++)X(G[ue],b,A,B);i(v.anchor,b,A);return}if(Y===As){I(v,b,A);return}if(B!==2&&M&1&&z)if(B===0)z.beforeEnter(H),i(H,b,A),Rt(()=>z.enter(H),D);else{const{leave:ue,delayLeave:re,afterLeave:me}=z,ke=()=>i(H,b,A),Be=()=>{ue(H,()=>{ke(),me&&me()})};re?re(H,ke,Be):Be()}else i(H,b,A)},ie=(v,b,A,B=!1,D=!1)=>{const{type:H,props:Y,ref:z,children:G,dynamicChildren:M,shapeFlag:j,patchFlag:ue,dirs:re}=v;if(z!=null&&dl(z,null,A,v,!0),j&256){b.ctx.deactivate(v);return}const me=j&1&&re,ke=!Yr(v);let Be;if(ke&&(Be=Y&&Y.onVnodeBeforeUnmount)&&hn(Be,b,v),j&6)yt(v.component,A,B);else{if(j&128){v.suspense.unmount(A,B);return}me&&si(v,null,b,"beforeUnmount"),j&64?v.type.remove(v,b,A,D,te,B):M&&(H!==_e||ue>0&&ue&64)?Oe(M,b,A,!1,!0):(H===_e&&ue&384||!D&&j&16)&&Oe(G,b,A),B&&he(v)}(ke&&(Be=Y&&Y.onVnodeUnmounted)||me)&&Rt(()=>{Be&&hn(Be,b,v),me&&si(v,null,b,"unmounted")},A)},he=v=>{const{type:b,el:A,anchor:B,transition:D}=v;if(b===_e){Xe(A,B);return}if(b===As){P(v);return}const H=()=>{r(A),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(v.shapeFlag&1&&D&&!D.persisted){const{leave:Y,delayLeave:z}=D,G=()=>Y(A,H);z?z(v.el,H,G):G()}else H()},Xe=(v,b)=>{let A;for(;v!==b;)A=f(v),r(v),v=A;r(b)},yt=(v,b,A)=>{const{bum:B,scope:D,update:H,subTree:Y,um:z}=v;B&&_s(B),D.stop(),H&&(H.active=!1,ie(Y,v,b,A)),z&&Rt(z,b),Rt(()=>{v.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Oe=(v,b,A,B=!1,D=!1,H=0)=>{for(let Y=H;Y<v.length;Y++)ie(v[Y],b,A,B,D)},U=v=>v.shapeFlag&6?U(v.component.subTree):v.shapeFlag&128?v.suspense.next():f(v.anchor||v.el);let Q=!1;const Z=(v,b,A)=>{v==null?b._vnode&&ie(b._vnode,null,null,!0):g(b._vnode||null,v,b,null,null,null,A),Q||(Q=!0,cc(),xp(),Q=!1),b._vnode=v},te={p:g,um:ie,m:X,r:he,mt:V,mc:x,pc:ee,pbc:$,n:U,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(te)),{render:Z,hydrate:Ue,createApp:ky(Z,Ue)}}function xs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function li({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Py(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lu(e,t,n=!1){const i=e.children,r=t.children;if(ce(i)&&ce(r))for(let o=0;o<i.length;o++){const a=i[o];let s=r[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=r[o]=Zn(r[o]),s.el=a.el),n||lu(a,s)),s.type===To&&(s.el=a.el)}}function Uy(e){const t=e.slice(),n=[0];let i,r,o,a,s;const l=e.length;for(i=0;i<l;i++){const u=e[i];if(u!==0){if(r=n[n.length-1],e[r]<u){t[i]=r,n.push(i);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,e[n[s]]<u?o=s+1:a=s;u<e[n[o]]&&(o>0&&(t[i]=n[o-1]),n[o]=i)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Qp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qp(t)}const Fy=e=>e.__isTeleport,jr=e=>e&&(e.disabled||e.disabled===""),Cc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Rc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fl=(e,t)=>{const n=e&&e.to;return et(n)?t?t(n):null:n},Dy={name:"Teleport",__isTeleport:!0,process(e,t,n,i,r,o,a,s,l,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:g,createComment:S}}=u,R=jr(t.props);let{shapeFlag:k,children:I,dynamicChildren:P}=t;if(e==null){const L=t.el=g(""),T=t.anchor=g("");h(L,n,i),h(T,n,i);const E=t.target=fl(t.props,m),x=t.targetAnchor=g("");E&&(h(x,E),a==="svg"||Cc(E)?a="svg":(a==="mathml"||Rc(E))&&(a="mathml"));const N=($,W)=>{k&16&&c(I,$,W,r,o,a,s,l)};R?N(n,T):E&&N(E,x)}else{t.el=e.el;const L=t.anchor=e.anchor,T=t.target=e.target,E=t.targetAnchor=e.targetAnchor,x=jr(e.props),N=x?n:T,$=x?L:E;if(a==="svg"||Cc(T)?a="svg":(a==="mathml"||Rc(T))&&(a="mathml"),P?(f(e.dynamicChildren,P,N,r,o,a,s),lu(e,t,!0)):l||d(e,t,N,$,r,o,a,s,!1),R)x?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ko(t,n,L,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=fl(t.props,m);W&&Ko(t,W,null,u,0)}else x&&Ko(t,T,E,u,1)}jp(t)},remove(e,t,n,i,{um:r,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&o(c),a&&o(u),s&16){const h=a||!jr(f);for(let m=0;m<l.length;m++){const g=l[m];r(g,t,n,h,!!g.dynamicChildren)}}},move:Ko,hydrate:Ny};function Ko(e,t,n,{o:{insert:i},m:r},o=2){o===0&&i(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:c}=e,d=o===2;if(d&&i(a,t,n),(!d||jr(c))&&l&16)for(let f=0;f<u.length;f++)r(u[f],t,n,2);d&&i(s,t,n)}function Ny(e,t,n,i,r,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const c=t.target=fl(t.props,l);if(c){const d=c._lpa||c.firstChild;if(t.shapeFlag&16)if(jr(t.props))t.anchor=u(a(e),t,s(e),n,i,r,o),t.targetAnchor=d;else{t.anchor=a(e);let f=d;for(;f;)if(f=a(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(d,t,c,n,i,r,o)}jp(t)}return t.anchor&&a(t.anchor)}const By=Dy;function jp(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const _e=Symbol.for("v-fgt"),To=Symbol.for("v-txt"),Kt=Symbol.for("v-cmt"),As=Symbol.for("v-stc"),eo=[];let an=null;function de(e=!1){eo.push(an=e?null:[])}function $y(){eo.pop(),an=eo[eo.length-1]||null}let fo=1;function _c(e){fo+=e}function eh(e){return e.dynamicChildren=fo>0?an||Xi:null,$y(),fo>0&&an&&an.push(e),e}function at(e,t,n,i,r,o){return eh(Ee(e,t,n,i,r,o,!0))}function Me(e,t,n,i,r){return eh(p(e,t,n,i,r,!0))}function Ca(e){return e?e.__v_isVNode===!0:!1}function hi(e,t){return e.type===t.type&&e.key===t.key}const os="__vInternal",th=({key:e})=>e??null,ca=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?et(e)||nt(e)||ye(e)?{i:st,r:e,k:t,f:!!n}:e:null);function Ee(e,t=null,n=null,i=0,r=null,o=e===_e?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&th(t),ref:t&&ca(t),scopeId:Lp,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:st};return s?(uu(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=et(n)?8:16),fo>0&&!a&&an&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&an.push(l),l}const p=My;function My(e,t=null,n=null,i=0,r=null,o=!1){if((!e||e===Pp)&&(e=Kt),Ca(e)){const s=On(e,t,!0);return n&&uu(s,n),fo>0&&!o&&an&&(s.shapeFlag&6?an[an.indexOf(e)]=s:an.push(s)),s.patchFlag|=-2,s}if(Yy(e)&&(e=e.__vccOpts),t){t=Vy(t);let{class:s,style:l}=t;s&&!et(s)&&(t.class=zl(s)),ze(l)&&(Sp(l)&&!ce(l)&&(l=ot({},l)),t.style=ql(l))}const a=et(e)?1:oy(e)?128:Fy(e)?64:ze(e)?4:ye(e)?2:0;return Ee(e,t,n,i,r,a,o,!0)}function Vy(e){return e?Sp(e)||os in e?ot({},e):e:null}function On(e,t,n=!1){const{props:i,ref:r,patchFlag:o,children:a}=e,s=t?Pe(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&th(s),ref:t&&t.ref?n&&r?ce(r)?r.concat(ca(t)):[r,ca(t)]:ca(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&On(e.ssContent),ssFallback:e.ssFallback&&On(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ve(e=" ",t=0){return p(To,null,e,t)}function kt(e="",t=!1){return t?(de(),Me(Kt,null,e)):p(Kt,null,e)}function mn(e){return e==null||typeof e=="boolean"?p(Kt):ce(e)?p(_e,null,e.slice()):typeof e=="object"?Zn(e):p(To,null,String(e))}function Zn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:On(e)}function uu(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),uu(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(os in t)?t._ctx=st:r===3&&st&&(st.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:st},n=32):(t=String(t),i&64?(n=16,t=[Ve(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pe(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const r in i)if(r==="class")t.class!==i.class&&(t.class=zl([t.class,i.class]));else if(r==="style")t.style=ql([t.style,i.style]);else if(Ya(r)){const o=t[r],a=i[r];a&&o!==a&&!(ce(o)&&o.includes(a))&&(t[r]=o?[].concat(o,a):a)}else r!==""&&(t[r]=i[r])}return t}function hn(e,t,n,i=null){Gt(e,t,7,[n,i])}const qy=Jp();let zy=0;function Hy(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||qy,o={uid:zy++,vnode:e,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new lp(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kp(i,r),emitsOptions:Op(i,r),emit:null,emitted:null,propsDefaults:We,inheritAttrs:i.inheritAttrs,ctx:We,data:We,props:We,attrs:We,slots:We,refs:We,setupState:We,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Qv.bind(null,o),e.ce&&e.ce(o),o}let ft=null;const cu=()=>ft||st;let Ra,pl;{const e=op(),t=(n,i)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(i),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Ra=t("__VUE_INSTANCE_SETTERS__",n=>ft=n),pl=t("__VUE_SSR_SETTERS__",n=>as=n)}const Eo=e=>{const t=ft;return Ra(e),e.scope.on(),()=>{e.scope.off(),Ra(t)}},kc=()=>{ft&&ft.scope.off(),Ra(null)};function nh(e){return e.vnode.shapeFlag&4}let as=!1;function Wy(e,t=!1){t&&pl(t);const{props:n,children:i}=e.vnode,r=nh(e);Ty(e,n,r,t),xy(e,i);const o=r?Jy(e,t):void 0;return t&&pl(!1),o}function Jy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yl(new Proxy(e.ctx,yy));const{setup:i}=n;if(i){const r=e.setupContext=i.length>1?Ky(e):null,o=Eo(e);Ii();const a=ni(i,e,0,[e.props,r]);if(xi(),o(),np(a)){if(a.then(kc,kc),t)return a.then(s=>{Tc(e,s,t)}).catch(s=>{ts(s,e,0)});e.asyncDep=a}else Tc(e,a,t)}else ih(e,t)}function Tc(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=kp(t)),ih(e,n)}let Ec;function ih(e,t,n){const i=e.type;if(!e.render){if(!t&&Ec&&!i.render){const r=i.template||au(e).template;if(r){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=i,u=ot(ot({isCustomElement:o,delimiters:s},a),l);i.render=Ec(r,u)}}e.render=i.render||Ht}{const r=Eo(e);Ii();try{wy(e)}finally{xi(),r()}}}function Gy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Tt(e,"get","$attrs"),t[n]}}))}function Ky(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Gy(e)},slots:e.slots,emit:e.emit,expose:t}}function ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(kp(Yl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xr)return Xr[n](e)},has(t,n){return n in t||n in Xr}}))}function Zy(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function Yy(e){return ye(e)&&"__vccOpts"in e}const C=(e,t)=>qv(e,t,as);function bn(e,t,n){const i=arguments.length;return i===2?ze(t)&&!ce(t)?Ca(t)?p(e,null,[t]):p(e,t):p(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Ca(n)&&(n=[n]),p(e,t,n))}const Xy="3.4.19";/**
|
||
* @vue/runtime-dom v3.4.19
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Qy="http://www.w3.org/2000/svg",jy="http://www.w3.org/1998/Math/MathML",Yn=typeof document<"u"?document:null,Ic=Yn&&Yn.createElement("template"),ew={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r=t==="svg"?Yn.createElementNS(Qy,e):t==="mathml"?Yn.createElementNS(jy,e):Yn.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ic.innerHTML=i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e;const s=Ic.content;if(i==="svg"||i==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qn="transition",_r="animation",rr=Symbol("_vtc"),Ln=(e,{slots:t})=>bn(dy,oh(e),t);Ln.displayName="Transition";const rh={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},tw=Ln.props=ot({},Dp,rh),ui=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},xc=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function oh(e){const t={};for(const O in e)O in rh||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=nw(r),g=m&&m[0],S=m&&m[1],{onBeforeEnter:R,onEnter:k,onEnterCancelled:I,onLeave:P,onLeaveCancelled:L,onBeforeAppear:T=R,onAppear:E=k,onAppearCancelled:x=I}=t,N=(O,F,V)=>{Jn(O,F?c:s),Jn(O,F?u:a),V&&V()},$=(O,F)=>{O._isLeaving=!1,Jn(O,d),Jn(O,h),Jn(O,f),F&&F()},W=O=>(F,V)=>{const ae=O?E:k,se=()=>N(F,O,V);ui(ae,[F,se]),Ac(()=>{Jn(F,O?l:o),Tn(F,O?c:s),xc(ae)||Oc(F,i,g,se)})};return ot(t,{onBeforeEnter(O){ui(R,[O]),Tn(O,o),Tn(O,a)},onBeforeAppear(O){ui(T,[O]),Tn(O,l),Tn(O,u)},onEnter:W(!1),onAppear:W(!0),onLeave(O,F){O._isLeaving=!0;const V=()=>$(O,F);Tn(O,d),sh(),Tn(O,f),Ac(()=>{O._isLeaving&&(Jn(O,d),Tn(O,h),xc(P)||Oc(O,i,S,V))}),ui(P,[O,V])},onEnterCancelled(O){N(O,!1),ui(I,[O])},onAppearCancelled(O){N(O,!0),ui(x,[O])},onLeaveCancelled(O){$(O),ui(L,[O])}})}function nw(e){if(e==null)return null;if(ze(e))return[Os(e.enter),Os(e.leave)];{const t=Os(e);return[t,t]}}function Os(e){return pv(e)}function Tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rr]||(e[rr]=new Set)).add(t)}function Jn(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[rr];n&&(n.delete(t),n.size||(e[rr]=void 0))}function Ac(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let iw=0;function Oc(e,t,n,i){const r=e._endId=++iw,o=()=>{r===e._endId&&i()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=ah(e,t);if(!a)return i();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),o()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},s+1),e.addEventListener(u,f)}function ah(e,t){const n=window.getComputedStyle(e),i=m=>(n[m]||"").split(", "),r=i(`${qn}Delay`),o=i(`${qn}Duration`),a=Lc(r,o),s=i(`${_r}Delay`),l=i(`${_r}Duration`),u=Lc(s,l);let c=null,d=0,f=0;t===qn?a>0&&(c=qn,d=a,f=o.length):t===_r?u>0&&(c=_r,d=u,f=l.length):(d=Math.max(a,u),c=d>0?a>u?qn:_r:null,f=c?c===qn?o.length:l.length:0);const h=c===qn&&/\b(transform|all)(,|$)/.test(i(`${qn}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function Lc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>Pc(n)+Pc(e[i])))}function Pc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sh(){return document.body.offsetHeight}function rw(e,t,n){const i=e[rr];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const po=Symbol("_vod"),pr={beforeMount(e,{value:t},{transition:n}){e[po]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t==!n&&(e.style.display===e[po]||!t)||(i?t?(i.beforeEnter(e),kr(e,!0),i.enter(e)):i.leave(e,()=>{kr(e,!1)}):kr(e,t))},beforeUnmount(e,{value:t}){kr(e,t)}};function kr(e,t){e.style.display=t?e[po]:"none"}const ow=Symbol(""),aw=/(^|;)\s*display\s*:/;function sw(e,t,n){const i=e.style,r=et(n),o=i.display;let a=!1;if(n&&!r){if(t&&!et(t))for(const s in t)n[s]==null&&hl(i,s,"");for(const s in n)s==="display"&&(a=!0),hl(i,s,n[s])}else if(r){if(t!==n){const s=i[ow];s&&(n+=";"+s),i.cssText=n,a=aw.test(n)}}else t&&e.removeAttribute("style");po in e&&(e[po]=a?i.display:"",i.display=o)}const Uc=/\s*!important$/;function hl(e,t,n){if(ce(n))n.forEach(i=>hl(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=lw(e,t);Uc.test(n)?e.setProperty(fr(i),n.replace(Uc,""),"important"):e[i]=n}}const Fc=["Webkit","Moz","ms"],Ls={};function lw(e,t){const n=Ls[t];if(n)return n;let i=Yt(t);if(i!=="filter"&&i in e)return Ls[t]=i;i=Fn(i);for(let r=0;r<Fc.length;r++){const o=Fc[r]+i;if(o in e)return Ls[t]=o}return t}const Dc="http://www.w3.org/1999/xlink";function uw(e,t,n,i,r){if(i&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Dc,t.slice(6,t.length)):e.setAttributeNS(Dc,t,n);else{const o=wv(t);n==null||o&&!ap(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function cw(e,t,n,i,r,o,a){if(t==="innerHTML"||t==="textContent"){i&&a(i,r,o),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const u=s==="OPTION"?e.getAttribute("value"):e.value,c=n??"";u!==c&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=ap(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function dw(e,t,n,i){e.addEventListener(t,n,i)}function fw(e,t,n,i){e.removeEventListener(t,n,i)}const Nc=Symbol("_vei");function pw(e,t,n,i,r=null){const o=e[Nc]||(e[Nc]={}),a=o[t];if(i&&a)a.value=i;else{const[s,l]=hw(t);if(i){const u=o[t]=vw(i,r);dw(e,s,u,l)}else a&&(fw(e,s,a,l),o[t]=void 0)}}const Bc=/(?:Once|Passive|Capture)$/;function hw(e){let t;if(Bc.test(e)){t={};let i;for(;i=e.match(Bc);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):fr(e.slice(2)),t]}let Ps=0;const mw=Promise.resolve(),gw=()=>Ps||(mw.then(()=>Ps=0),Ps=Date.now());function vw(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Gt(yw(i,n.value),t,5,[i])};return n.value=e,n.attached=gw(),n}function yw(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const $c=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ww=(e,t,n,i,r,o,a,s,l)=>{const u=r==="svg";t==="class"?rw(e,i,u):t==="style"?sw(e,n,i):Ya(t)?$l(t)||pw(e,t,n,i,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bw(e,t,i,u))?cw(e,t,i,o,a,s,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),uw(e,t,i,u))};function bw(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&$c(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return $c(t)&&et(n)?!1:t in e}const lh=new WeakMap,uh=new WeakMap,_a=Symbol("_moveCb"),Mc=Symbol("_enterCb"),ch={name:"TransitionGroup",props:ot({},tw,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cu(),i=Fp();let r,o;return Vp(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Tw(r[0].el,n.vnode.el,a))return;r.forEach(Rw),r.forEach(_w);const s=r.filter(kw);sh(),s.forEach(l=>{const u=l.el,c=u.style;Tn(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[_a]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[_a]=null,Jn(u,a))};u.addEventListener("transitionend",d)})}),()=>{const a=Te(e),s=oh(a);let l=a.tag||_e;r=o,o=t.default?ru(t.default()):[];for(let u=0;u<o.length;u++){const c=o[u];c.key!=null&&co(c,uo(c,s,i,n))}if(r)for(let u=0;u<r.length;u++){const c=r[u];co(c,uo(c,s,i,n)),lh.set(c,c.el.getBoundingClientRect())}return p(l,null,o)}}},Sw=e=>delete e.mode;ch.props;const Cw=ch;function Rw(e){const t=e.el;t[_a]&&t[_a](),t[Mc]&&t[Mc]()}function _w(e){uh.set(e,e.el.getBoundingClientRect())}function kw(e){const t=lh.get(e),n=uh.get(e),i=t.left-n.left,r=t.top-n.top;if(i||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${i}px,${r}px)`,o.transitionDuration="0s",e}}function Tw(e,t,n){const i=e.cloneNode(),r=e[rr];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&i.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&i.classList.add(s)),i.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(i);const{hasTransform:a}=ah(i);return o.removeChild(i),a}const Ew=ot({patchProp:ww},ew);let Vc;function Iw(){return Vc||(Vc=Oy(Ew))}const xw=(...e)=>{const t=Iw().createApp(...e),{mount:n}=t;return t.mount=i=>{const r=Ow(i);if(!r)return;const o=t._component;!ye(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,Aw(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Aw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ow(e){return et(e)?document.querySelector(e):e}/*!
|
||
* vue-router v4.2.5
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Vi=typeof window<"u";function Lw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const De=Object.assign;function Us(e,t){const n={};for(const i in t){const r=t[i];n[i]=ln(r)?r.map(e):e(r)}return n}const to=()=>{},ln=Array.isArray,Pw=/\/$/,Uw=e=>e.replace(Pw,"");function Fs(e,t,n="/"){let i,r={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(i=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),r=e(o)),s>-1&&(i=i||t.slice(0,s),a=t.slice(s,t.length)),i=Bw(i??t,n),{fullPath:i+(o&&"?")+o+a,path:i,query:r,hash:a}}function Fw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dw(e,t,n){const i=t.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&or(t.matched[i],n.matched[r])&&dh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nw(e[n],t[n]))return!1;return!0}function Nw(e,t){return ln(e)?zc(e,t):ln(t)?zc(t,e):e===t}function zc(e,t){return ln(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function Bw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let o=n.length-1,a,s;for(a=0;a<i.length;a++)if(s=i[a],s!==".")if(s==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+i.slice(a-(a===i.length?1:0)).join("/")}var ho;(function(e){e.pop="pop",e.push="push"})(ho||(ho={}));var no;(function(e){e.back="back",e.forward="forward",e.unknown=""})(no||(no={}));function $w(e){if(!e)if(Vi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uw(e)}const Mw=/^[^#]+#/;function Vw(e,t){return e.replace(Mw,"#")+t}function qw(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const ls=()=>({left:window.pageXOffset,top:window.pageYOffset});function zw(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qw(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Hc(e,t){return(history.state?history.state.position-t:-1)+e}const ml=new Map;function Hw(e,t){ml.set(e,t)}function Ww(e){const t=ml.get(e);return ml.delete(e),t}let Jw=()=>location.protocol+"//"+location.host;function fh(e,t){const{pathname:n,search:i,hash:r}=t,o=e.indexOf("#");if(o>-1){let s=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),qc(l,"")}return qc(n,e)+i+r}function Gw(e,t,n,i){let r=[],o=[],a=null;const s=({state:f})=>{const h=fh(e,location),m=n.value,g=t.value;let S=0;if(f){if(n.value=h,t.value=f,a&&a===m){a=null;return}S=g?f.position-g.position:0}else i(h);r.forEach(R=>{R(n.value,m,{delta:S,type:ho.pop,direction:S?S>0?no.forward:no.back:no.unknown})})};function l(){a=n.value}function u(f){r.push(f);const h=()=>{const m=r.indexOf(f);m>-1&&r.splice(m,1)};return o.push(h),h}function c(){const{history:f}=window;f.state&&f.replaceState(De({},f.state,{scroll:ls()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Wc(e,t,n,i=!1,r=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:r?ls():null}}function Kw(e){const{history:t,location:n}=window,i={value:fh(e,n)},r={value:t.state};r.value||o(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Jw()+e+l;try{t[c?"replaceState":"pushState"](u,"",f),r.value=u}catch(h){console.error(h),n[c?"replace":"assign"](f)}}function a(l,u){const c=De({},t.state,Wc(r.value.back,l,r.value.forward,!0),u,{position:r.value.position});o(l,c,!0),i.value=l}function s(l,u){const c=De({},r.value,t.state,{forward:l,scroll:ls()});o(c.current,c,!0);const d=De({},Wc(i.value,l,null),{position:c.position+1},u);o(l,d,!1),i.value=l}return{location:i,state:r,push:s,replace:a}}function Zw(e){e=$w(e);const t=Kw(e),n=Gw(e,t.state,t.location,t.replace);function i(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=De({location:"",base:e,go:i,createHref:Vw.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Yw(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Zw(e)}function Xw(e){return typeof e=="string"||e&&typeof e=="object"}function ph(e){return typeof e=="string"||typeof e=="symbol"}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hh=Symbol("");var Jc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Jc||(Jc={}));function ar(e,t){return De(new Error,{type:e,[hh]:!0},t)}function kn(e,t){return e instanceof Error&&hh in e&&(t==null||!!(e.type&t))}const Gc="[^/]+?",Qw={sensitive:!1,strict:!1,start:!0,end:!0},jw=/[.+*?^${}()[\]/\\]/g;function e0(e,t){const n=De({},Qw,t),i=[];let r=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let d=0;d<u.length;d++){const f=u[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(jw,"\\$&"),h+=40;else if(f.type===1){const{value:m,repeatable:g,optional:S,regexp:R}=f;o.push({name:m,repeatable:g,optional:S});const k=R||Gc;if(k!==Gc){h+=10;try{new RegExp(`(${k})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${m}" (${k}): `+P.message)}}let I=g?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;d||(I=S&&u.length<2?`(?:/${I})`:"/"+I),S&&(I+="?"),r+=I,h+=20,S&&(h+=-8),g&&(h+=-20),k===".*"&&(h+=-50)}c.push(h)}i.push(c)}if(n.strict&&n.end){const u=i.length-1;i[u][i[u].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function s(u){const c=u.match(a),d={};if(!c)return null;for(let f=1;f<c.length;f++){const h=c[f]||"",m=o[f-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function l(u){let c="",d=!1;for(const f of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const h of f)if(h.type===0)c+=h.value;else if(h.type===1){const{value:m,repeatable:g,optional:S}=h,R=m in u?u[m]:"";if(ln(R)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const k=ln(R)?R.join("/"):R;if(!k)if(S)f.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);c+=k}}return c||"/"}return{re:a,score:i,keys:o,parse:s,stringify:l}}function t0(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function n0(e,t){let n=0;const i=e.score,r=t.score;for(;n<i.length&&n<r.length;){const o=t0(i[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-i.length)===1){if(Kc(i))return 1;if(Kc(r))return-1}return r.length-i.length}function Kc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const i0={type:0,value:""},r0=/[a-zA-Z0-9_]/;function o0(e){if(!e)return[[]];if(e==="/")return[[i0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,i=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let s=0,l,u="",c="";function d(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==2){i=n,n=4;continue}switch(n){case 0:l==="/"?(u&&d(),a()):l===":"?(d(),n=1):f();break;case 4:f(),n=i;break;case 1:l==="("?n=2:r0.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),a(),r}function a0(e,t,n){const i=e0(o0(e.path),n),r=De(i,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function s0(e,t){const n=[],i=new Map;t=Xc({strict:!1,end:!0,sensitive:!1},t);function r(c){return i.get(c)}function o(c,d,f){const h=!f,m=l0(c);m.aliasOf=f&&f.record;const g=Xc(t,c),S=[m];if("alias"in c){const I=typeof c.alias=="string"?[c.alias]:c.alias;for(const P of I)S.push(De({},m,{components:f?f.record.components:m.components,path:P,aliasOf:f?f.record:m}))}let R,k;for(const I of S){const{path:P}=I;if(d&&P[0]!=="/"){const L=d.record.path,T=L[L.length-1]==="/"?"":"/";I.path=d.record.path+(P&&T+P)}if(R=a0(I,d,g),f?f.alias.push(R):(k=k||R,k!==R&&k.alias.push(R),h&&c.name&&!Yc(R)&&a(c.name)),m.children){const L=m.children;for(let T=0;T<L.length;T++)o(L[T],R,f&&f.children[T])}f=f||R,(R.record.components&&Object.keys(R.record.components).length||R.record.name||R.record.redirect)&&l(R)}return k?()=>{a(k)}:to}function a(c){if(ph(c)){const d=i.get(c);d&&(i.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&i.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return n}function l(c){let d=0;for(;d<n.length&&n0(c,n[d])>=0&&(c.record.path!==n[d].record.path||!mh(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!Yc(c)&&i.set(c.record.name,c)}function u(c,d){let f,h={},m,g;if("name"in c&&c.name){if(f=i.get(c.name),!f)throw ar(1,{location:c});g=f.record.name,h=De(Zc(d.params,f.keys.filter(k=>!k.optional).map(k=>k.name)),c.params&&Zc(c.params,f.keys.map(k=>k.name))),m=f.stringify(h)}else if("path"in c)m=c.path,f=n.find(k=>k.re.test(m)),f&&(h=f.parse(m),g=f.record.name);else{if(f=d.name?i.get(d.name):n.find(k=>k.re.test(d.path)),!f)throw ar(1,{location:c,currentLocation:d});g=f.record.name,h=De({},d.params,c.params),m=f.stringify(h)}const S=[];let R=f;for(;R;)S.unshift(R.record),R=R.parent;return{name:g,path:m,params:h,matched:S,meta:c0(S)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Zc(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function l0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:u0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function u0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Yc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function c0(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Xc(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function mh(e,t){return t.children.some(n=>n===e||mh(e,n))}const gh=/#/g,d0=/&/g,f0=/\//g,p0=/=/g,h0=/\?/g,vh=/\+/g,m0=/%5B/g,g0=/%5D/g,yh=/%5E/g,v0=/%60/g,wh=/%7B/g,y0=/%7C/g,bh=/%7D/g,w0=/%20/g;function du(e){return encodeURI(""+e).replace(y0,"|").replace(m0,"[").replace(g0,"]")}function b0(e){return du(e).replace(wh,"{").replace(bh,"}").replace(yh,"^")}function gl(e){return du(e).replace(vh,"%2B").replace(w0,"+").replace(gh,"%23").replace(d0,"%26").replace(v0,"`").replace(wh,"{").replace(bh,"}").replace(yh,"^")}function S0(e){return gl(e).replace(p0,"%3D")}function C0(e){return du(e).replace(gh,"%23").replace(h0,"%3F")}function R0(e){return e==null?"":C0(e).replace(f0,"%2F")}function ka(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function _0(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<i.length;++r){const o=i[r].replace(vh," "),a=o.indexOf("="),s=ka(a<0?o:o.slice(0,a)),l=a<0?null:ka(o.slice(a+1));if(s in t){let u=t[s];ln(u)||(u=t[s]=[u]),u.push(l)}else t[s]=l}return t}function Qc(e){let t="";for(let n in e){const i=e[n];if(n=S0(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(ln(i)?i.map(o=>o&&gl(o)):[i&&gl(i)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function k0(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=ln(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return t}const T0=Symbol(""),jc=Symbol(""),fu=Symbol(""),Sh=Symbol(""),vl=Symbol("");function Tr(){let e=[];function t(i){return e.push(i),()=>{const r=e.indexOf(i);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Xn(e,t,n,i,r){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(ar(4,{from:n,to:t})):d instanceof Error?s(d):Xw(d)?s(ar(2,{from:t,to:d})):(o&&i.enterCallbacks[r]===o&&typeof d=="function"&&o.push(d),a())},u=e.call(i&&i.instances[r],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function Ds(e,t,n,i){const r=[];for(const o of e)for(const a in o.components){let s=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(E0(s)){const u=(s.__vccOpts||s)[t];u&&r.push(Xn(u,n,i,o,a))}else{let l=s();r.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const c=Lw(u)?u.default:u;o.components[a]=c;const f=(c.__vccOpts||c)[t];return f&&Xn(f,n,i,o,a)()}))}}return r}function E0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ed(e){const t=Je(fu),n=Je(Sh),i=C(()=>t.resolve(bt(e.to))),r=C(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(or.bind(null,c));if(f>-1)return f;const h=td(l[u-2]);return u>1&&td(c)===h&&d[d.length-1].path!==h?d.findIndex(or.bind(null,l[u-2])):f}),o=C(()=>r.value>-1&&O0(n.params,i.value.params)),a=C(()=>r.value>-1&&r.value===n.matched.length-1&&dh(n.params,i.value.params));function s(l={}){return A0(l)?t[bt(e.replace)?"replace":"push"](bt(e.to)).catch(to):Promise.resolve()}return{route:i,href:C(()=>i.value.href),isActive:o,isExactActive:a,navigate:s}}const I0=pt({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:ed,setup(e,{slots:t}){const n=ht(ed(e)),{options:i}=Je(fu),r=C(()=>({[nd(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[nd(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:bn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),x0=I0;function A0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function O0(e,t){for(const n in t){const i=t[n],r=e[n];if(typeof i=="string"){if(i!==r)return!1}else if(!ln(r)||r.length!==i.length||i.some((o,a)=>o!==r[a]))return!1}return!0}function td(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nd=(e,t,n)=>e??t??n,L0=pt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Je(vl),r=C(()=>e.route||i.value),o=Je(jc,0),a=C(()=>{let u=bt(o);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=C(()=>r.value.matched[a.value]);Ft(jc,C(()=>a.value+1)),Ft(T0,s),Ft(vl,r);const l=Se();return we(()=>[l.value,s.value,e.name],([u,c,d],[f,h,m])=>{c&&(c.instances[d]=u,h&&h!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!or(c,h)||!f)&&(c.enterCallbacks[d]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=s.value,f=d&&d.components[c];if(!f)return id(n.default,{Component:f,route:u});const h=d.props[c],m=h?h===!0?u.params:typeof h=="function"?h(u):h:null,S=bn(f,De({},m,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return id(n.default,{Component:S,route:u})||S}}});function id(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const P0=L0;function U0(e){const t=s0(e.routes,e),n=e.parseQuery||_0,i=e.stringifyQuery||Qc,r=e.history,o=Tr(),a=Tr(),s=Tr(),l=be(zn);let u=zn;Vi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Us.bind(null,U=>""+U),d=Us.bind(null,R0),f=Us.bind(null,ka);function h(U,Q){let Z,te;return ph(U)?(Z=t.getRecordMatcher(U),te=Q):te=U,t.addRoute(te,Z)}function m(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(U=>U.record)}function S(U){return!!t.getRecordMatcher(U)}function R(U,Q){if(Q=De({},Q||l.value),typeof U=="string"){const b=Fs(n,U,Q.path),A=t.resolve({path:b.path},Q),B=r.createHref(b.fullPath);return De(b,A,{params:f(A.params),hash:ka(b.hash),redirectedFrom:void 0,href:B})}let Z;if("path"in U)Z=De({},U,{path:Fs(n,U.path,Q.path).path});else{const b=De({},U.params);for(const A in b)b[A]==null&&delete b[A];Z=De({},U,{params:d(b)}),Q.params=d(Q.params)}const te=t.resolve(Z,Q),Ue=U.hash||"";te.params=c(f(te.params));const Ge=Fw(i,De({},U,{hash:b0(Ue),path:te.path})),v=r.createHref(Ge);return De({fullPath:Ge,hash:Ue,query:i===Qc?k0(U.query):U.query||{}},te,{redirectedFrom:void 0,href:v})}function k(U){return typeof U=="string"?Fs(n,U,l.value.path):De({},U)}function I(U,Q){if(u!==U)return ar(8,{from:Q,to:U})}function P(U){return E(U)}function L(U){return P(De(k(U),{replace:!0}))}function T(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:Z}=Q;let te=typeof Z=="function"?Z(U):Z;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=k(te):{path:te},te.params={}),De({query:U.query,hash:U.hash,params:"path"in te?{}:U.params},te)}}function E(U,Q){const Z=u=R(U),te=l.value,Ue=U.state,Ge=U.force,v=U.replace===!0,b=T(Z);if(b)return E(De(k(b),{state:typeof b=="object"?De({},Ue,b.state):Ue,force:Ge,replace:v}),Q||Z);const A=Z;A.redirectedFrom=Q;let B;return!Ge&&Dw(i,te,Z)&&(B=ar(16,{to:A,from:te}),X(te,te,!0,!1)),(B?Promise.resolve(B):$(A,te)).catch(D=>kn(D)?kn(D,2)?D:Ne(D):ee(D,A,te)).then(D=>{if(D){if(kn(D,2))return E(De({replace:v},k(D.to),{state:typeof D.to=="object"?De({},Ue,D.to.state):Ue,force:Ge}),Q||A)}else D=O(A,te,!0,v,Ue);return W(A,te,D),D})}function x(U,Q){const Z=I(U,Q);return Z?Promise.reject(Z):Promise.resolve()}function N(U){const Q=Xe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function $(U,Q){let Z;const[te,Ue,Ge]=F0(U,Q);Z=Ds(te.reverse(),"beforeRouteLeave",U,Q);for(const b of te)b.leaveGuards.forEach(A=>{Z.push(Xn(A,U,Q))});const v=x.bind(null,U,Q);return Z.push(v),Oe(Z).then(()=>{Z=[];for(const b of o.list())Z.push(Xn(b,U,Q));return Z.push(v),Oe(Z)}).then(()=>{Z=Ds(Ue,"beforeRouteUpdate",U,Q);for(const b of Ue)b.updateGuards.forEach(A=>{Z.push(Xn(A,U,Q))});return Z.push(v),Oe(Z)}).then(()=>{Z=[];for(const b of Ge)if(b.beforeEnter)if(ln(b.beforeEnter))for(const A of b.beforeEnter)Z.push(Xn(A,U,Q));else Z.push(Xn(b.beforeEnter,U,Q));return Z.push(v),Oe(Z)}).then(()=>(U.matched.forEach(b=>b.enterCallbacks={}),Z=Ds(Ge,"beforeRouteEnter",U,Q),Z.push(v),Oe(Z))).then(()=>{Z=[];for(const b of a.list())Z.push(Xn(b,U,Q));return Z.push(v),Oe(Z)}).catch(b=>kn(b,8)?b:Promise.reject(b))}function W(U,Q,Z){s.list().forEach(te=>N(()=>te(U,Q,Z)))}function O(U,Q,Z,te,Ue){const Ge=I(U,Q);if(Ge)return Ge;const v=Q===zn,b=Vi?history.state:{};Z&&(te||v?r.replace(U.fullPath,De({scroll:v&&b&&b.scroll},Ue)):r.push(U.fullPath,Ue)),l.value=U,X(U,Q,Z,v),Ne()}let F;function V(){F||(F=r.listen((U,Q,Z)=>{if(!yt.listening)return;const te=R(U),Ue=T(te);if(Ue){E(De(Ue,{replace:!0}),te).catch(to);return}u=te;const Ge=l.value;Vi&&Hw(Hc(Ge.fullPath,Z.delta),ls()),$(te,Ge).catch(v=>kn(v,12)?v:kn(v,2)?(E(v.to,te).then(b=>{kn(b,20)&&!Z.delta&&Z.type===ho.pop&&r.go(-1,!1)}).catch(to),Promise.reject()):(Z.delta&&r.go(-Z.delta,!1),ee(v,te,Ge))).then(v=>{v=v||O(te,Ge,!1),v&&(Z.delta&&!kn(v,8)?r.go(-Z.delta,!1):Z.type===ho.pop&&kn(v,20)&&r.go(-1,!1)),W(te,Ge,v)}).catch(to)}))}let ae=Tr(),se=Tr(),ne;function ee(U,Q,Z){Ne(U);const te=se.list();return te.length?te.forEach(Ue=>Ue(U,Q,Z)):console.error(U),Promise.reject(U)}function Ae(){return ne&&l.value!==zn?Promise.resolve():new Promise((U,Q)=>{ae.add([U,Q])})}function Ne(U){return ne||(ne=!U,V(),ae.list().forEach(([Q,Z])=>U?Z(U):Q()),ae.reset()),U}function X(U,Q,Z,te){const{scrollBehavior:Ue}=e;if(!Vi||!Ue)return Promise.resolve();const Ge=!Z&&Ww(Hc(U.fullPath,0))||(te||!Z)&&history.state&&history.state.scroll||null;return vt().then(()=>Ue(U,Q,Ge)).then(v=>v&&zw(v)).catch(v=>ee(v,U,Q))}const ie=U=>r.go(U);let he;const Xe=new Set,yt={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,hasRoute:S,getRoutes:g,resolve:R,options:e,push:P,replace:L,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:se.add,isReady:Ae,install(U){const Q=this;U.component("RouterLink",x0),U.component("RouterView",P0),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>bt(l)}),Vi&&!he&&l.value===zn&&(he=!0,P(r.location).catch(Ue=>{}));const Z={};for(const Ue in zn)Object.defineProperty(Z,Ue,{get:()=>l.value[Ue],enumerable:!0});U.provide(fu,Q),U.provide(Sh,bp(Z)),U.provide(vl,l);const te=U.unmount;Xe.add(U),U.unmount=function(){Xe.delete(U),Xe.size<1&&(u=zn,F&&F(),F=null,l.value=zn,he=!1,ne=!1),te()}}};function Oe(U){return U.reduce((Q,Z)=>Q.then(()=>N(Z)),Promise.resolve())}return yt}function F0(e,t){const n=[],i=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const s=t.matched[a];s&&(e.matched.find(u=>or(u,s))?i.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>or(u,l))||r.push(l))}return[n,i,r]}var D0=!1;/*!
|
||
* pinia v2.1.7
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const N0=Symbol();var rd;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rd||(rd={}));function B0(){const e=ja(!0),t=e.run(()=>Se({}));let n=[],i=[];const r=Yl({install(o){r._a=o,o.provide(N0,r),o.config.globalProperties.$pinia=r,i.forEach(a=>n.push(a)),i=[]},use(o){return!this._a&&!D0?i.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}let $0=typeof window<"u"?localStorage.getItem("BASE_PATH")||"":location.protocol+"//"+location.host;class M0{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:$0}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Ch}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const V0=new M0,Za=class Za{constructor(t=V0){ai(this,"middleware");ai(this,"fetchApi",async(t,n)=>{let i={url:t,init:n};for(const o of this.middleware)o.pre&&(i=await o.pre({fetch:this.fetchApi,...i})||i);let r;try{r=await(this.configuration.fetchApi||fetch)(i.url,i.init)}catch(o){for(const a of this.middleware)a.onError&&(r=await a.onError({fetch:this.fetchApi,url:i.url,init:i.init,error:o,response:r?r.clone():void 0})||r);if(r===void 0)throw o instanceof Error?new W0(o,"The request failed and the interceptors did not return an alternative response"):o}for(const o of this.middleware)o.post&&(r=await o.post({fetch:this.fetchApi,url:i.url,init:i.init,response:r.clone()})||r);return r});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(i=>({pre:i}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(i=>({post:i}));return this.withMiddleware(...n)}isJsonMime(t){return t?Za.jsonRegex.test(t):!1}async request(t,n){const{url:i,init:r}=await this.createFetchParams(t,n),o=await this.fetchApi(i,r);if(o&&o.status>=200&&o.status<300)return o;throw new H0(o,"Response returned an error code")}getCookie(t){let n=null;if(document.cookie&&document.cookie!==""){const i=document.cookie.split(";");for(let r=0;r<i.length;r++){const o=i[r].trim();if(o.substring(0,t.length+1)===t+"="){n=decodeURIComponent(o.substring(t.length+1));break}}}return n}async createFetchParams(t,n){let i=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(i+="?"+this.configuration.queryParamsStringify(t.query));const r=Object.assign({},this.configuration.headers,t.headers,{"X-CSRFToken":this.getCookie("csrftoken")});Object.keys(r).forEach(c=>r[c]===void 0?delete r[c]:{});const o=typeof n=="function"?n:async()=>n,a={method:t.method,headers:r,body:t.body,credentials:this.configuration.credentials},s={...a,...await o({init:a,context:t})};let l;z0(s.body)||s.body instanceof URLSearchParams||q0(s.body)?l=s.body:this.isJsonMime(r["Content-Type"])?l=JSON.stringify(s.body):l=s.body;const u={...s,body:l};return{url:i,init:u}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};ai(Za,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let yl=Za;function q0(e){return typeof Blob<"u"&&e instanceof Blob}function z0(e){return typeof FormData<"u"&&e instanceof FormData}class H0 extends Error{constructor(n,i){super(i);ai(this,"name","ResponseError");this.response=n}}class W0 extends Error{constructor(n,i){super(i);ai(this,"name","FetchError");this.cause=n}}class w extends Error{constructor(n,i){super(i);ai(this,"name","RequiredError");this.field=n}}function y(e,t){const n=e[t];return n!=null}function Ch(e,t=""){return Object.keys(e).map(n=>Rh(n,e[n],t)).filter(n=>n.length>0).join("&")}function Rh(e,t,n=""){const i=n+(n.length?`[${e}]`:e);if(t instanceof Array){const r=t.map(o=>encodeURIComponent(String(o))).join(`&${encodeURIComponent(i)}=`);return`${encodeURIComponent(i)}=${r}`}if(t instanceof Set){const r=Array.from(t);return Rh(e,r,n)}return t instanceof Date?`${encodeURIComponent(i)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?Ch(t,i):`${encodeURIComponent(i)}=${encodeURIComponent(String(t))}`}function Zo(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class _{constructor(t,n=i=>i){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class Re{constructor(t){this.raw=t}async value(){}}function Er(e){return J0(e)}function J0(e,t){return e==null?e:{id:e.id,token:e.token,expires:new Date(e.expires),scope:y(e,"scope")?e.scope:void 0,created:new Date(e.created),updated:new Date(e.updated)}}function od(e){if(e!==void 0)return e===null?null:{expires:e.expires.toISOString(),scope:e.scope}}function G0(e){return K0(e)}function K0(e,t){return e}function zr(e){return Z0(e)}function Z0(e,t){return e==null?e:{id:e.id,type:G0(e.type),name:y(e,"name")?e.name:void 0,description:y(e,"description")?e.description:void 0,param1:y(e,"param_1")?e.param_1:void 0,param2:y(e,"param_2")?e.param_2:void 0,param3:y(e,"param_3")?e.param_3:void 0,order:y(e,"order")?e.order:void 0,disabled:y(e,"disabled")?e.disabled:void 0,createdBy:e.created_by}}function ad(e){if(e!==void 0)return e===null?null:{type:e.type,name:e.name,description:e.description,param_1:e.param1,param_2:e.param2,param_3:e.param3,order:e.order,disabled:e.disabled}}function Yo(e){return Y0(e)}function Y0(e,t){return e==null?e:{id:e.id,url:y(e,"url")?e.url:void 0,html:e.html,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function sd(e){if(e!==void 0)return e===null?null:{url:e.url,html:e.html}}function X0(e){return Q0(e)}function Q0(e,t){return e==null?e:{id:e.id,url:y(e,"url")?e.url:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function Ir(e){return j0(e)}function j0(e,t){return e==null?e:{id:e.id,name:e.name,url:y(e,"url")?e.url:void 0,token:y(e,"token")?e.token:void 0,todoEntity:y(e,"todo_entity")?e.todo_entity:void 0,enabled:y(e,"enabled")?e.enabled:void 0,onShoppingListEntryCreatedEnabled:y(e,"on_shopping_list_entry_created_enabled")?e.on_shopping_list_entry_created_enabled:void 0,onShoppingListEntryUpdatedEnabled:y(e,"on_shopping_list_entry_updated_enabled")?e.on_shopping_list_entry_updated_enabled:void 0,onShoppingListEntryDeletedEnabled:y(e,"on_shopping_list_entry_deleted_enabled")?e.on_shopping_list_entry_deleted_enabled:void 0,createdBy:e.created_by}}function ld(e){if(e!==void 0)return e===null?null:{name:e.name,url:e.url,token:e.token,todo_entity:e.todoEntity,enabled:e.enabled,on_shopping_list_entry_created_enabled:e.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:e.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:e.onShoppingListEntryDeletedEnabled}}function Zt(e){return eb(e)}function eb(e,t){return e==null?e:{id:e.id,username:e.username,firstName:y(e,"first_name")?e.first_name:void 0,lastName:y(e,"last_name")?e.last_name:void 0,displayName:e.display_name}}function wn(e){if(e!==void 0)return e===null?null:{first_name:e.firstName,last_name:e.lastName}}function Hr(e){return tb(e)}function tb(e,t){return e==null?e:{id:e.id,recipe:e.recipe,servings:y(e,"servings")?e.servings:void 0,rating:y(e,"rating")?e.rating:void 0,comment:y(e,"comment")?e.comment:void 0,createdBy:Zt(e.created_by),createdAt:y(e,"created_at")?new Date(e.created_at):void 0,updatedAt:new Date(e.updated_at)}}function ud(e){if(e!==void 0)return e===null?null:{recipe:e.recipe,servings:e.servings,rating:e.rating,comment:e.comment,created_at:e.createdAt===void 0?void 0:e.createdAt.toISOString()}}function Wi(e){return nb(e)}function nb(e,t){return e==null?e:{id:e.id,name:e.name,search:e.search,shared:y(e,"shared")?e.shared.map(Zt):void 0,createdBy:e.created_by}}function Ta(e){if(e!==void 0)return e===null?null:{name:e.name,search:e.search,shared:e.shared===void 0?void 0:e.shared.map(wn)}}function ib(e){return rb(e)}function rb(e,t){return e}function Wr(e){return ob(e)}function ob(e,t){return e==null?e:{id:e.id,type:e.type,msg:y(e,"msg")?e.msg:void 0,running:y(e,"running")?e.running:void 0,totalRecipes:y(e,"total_recipes")?e.total_recipes:void 0,exportedRecipes:y(e,"exported_recipes")?e.exported_recipes:void 0,cacheDuration:y(e,"cache_duration")?e.cache_duration:void 0,possiblyNotExpired:y(e,"possibly_not_expired")?e.possibly_not_expired:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function cd(e){if(e!==void 0)return e===null?null:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,exported_recipes:e.exportedRecipes,cache_duration:e.cacheDuration,possibly_not_expired:e.possiblyNotExpired}}function mo(e){return ab(e)}function ab(e,t){return e==null?e:{id:e.id,name:y(e,"name")?e.name:void 0,field:y(e,"field")?e.field:void 0}}function go(e){if(e!==void 0)return e===null?null:{name:e.name,field:e.field}}function sb(e){return lb(e)}function lb(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:y(e,"plural_name")?e.plural_name:void 0}}function _h(e){if(e!==void 0)return e===null?null:{name:e.name,plural_name:e.pluralName}}function qi(e){return ub(e)}function ub(e,t){return e==null?e:{id:y(e,"id")?e.id:void 0,name:e.name,unit:y(e,"unit")?e.unit:void 0,description:y(e,"description")?e.description:void 0,order:y(e,"order")?e.order:void 0,openDataSlug:y(e,"open_data_slug")?e.open_data_slug:void 0,fdcId:y(e,"fdc_id")?e.fdc_id:void 0}}function Ea(e){if(e!==void 0)return e===null?null:{id:e.id,name:e.name,unit:e.unit,description:e.description,order:e.order,open_data_slug:e.openDataSlug,fdc_id:e.fdcId}}function mi(e){return cb(e)}function cb(e,t){return e==null?e:{id:e.id,propertyAmount:e.property_amount,propertyType:qi(e.property_type)}}function sr(e){if(e!==void 0)return e===null?null:{property_amount:e.propertyAmount,property_type:Ea(e.propertyType)}}function kh(e){return db(e)}function db(e,t){return e==null?e:{id:e.id,name:e.name,url:e.url}}function Th(e){if(e!==void 0)return e===null?null:{name:e.name}}function Qn(e){return fb(e)}function fb(e,t){return e==null?e:{id:e.id,name:e.name,description:y(e,"description")?e.description:void 0}}function Ci(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description}}function rn(e){return pb(e)}function pb(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:y(e,"plural_name")?e.plural_name:void 0,description:y(e,"description")?e.description:void 0,baseUnit:y(e,"base_unit")?e.base_unit:void 0,openDataSlug:y(e,"open_data_slug")?e.open_data_slug:void 0}}function Dt(e){if(e!==void 0)return e===null?null:{name:e.name,plural_name:e.pluralName,description:e.description,base_unit:e.baseUnit,open_data_slug:e.openDataSlug}}function nn(e){return hb(e)}function hb(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:y(e,"plural_name")?e.plural_name:void 0,description:y(e,"description")?e.description:void 0,shopping:e.shopping,recipe:y(e,"recipe")?kh(e.recipe):void 0,url:y(e,"url")?e.url:void 0,properties:y(e,"properties")?e.properties===null?null:e.properties.map(mi):void 0,propertiesFoodAmount:y(e,"properties_food_amount")?e.properties_food_amount:void 0,propertiesFoodUnit:y(e,"properties_food_unit")?rn(e.properties_food_unit):void 0,fdcId:y(e,"fdc_id")?e.fdc_id:void 0,foodOnhand:y(e,"food_onhand")?e.food_onhand:void 0,supermarketCategory:y(e,"supermarket_category")?Qn(e.supermarket_category):void 0,parent:e.parent,numchild:e.numchild,inheritFields:y(e,"inherit_fields")?e.inherit_fields===null?null:e.inherit_fields.map(mo):void 0,fullName:e.full_name,ignoreShopping:y(e,"ignore_shopping")?e.ignore_shopping:void 0,substitute:y(e,"substitute")?e.substitute===null?null:e.substitute.map(sb):void 0,substituteSiblings:y(e,"substitute_siblings")?e.substitute_siblings:void 0,substituteChildren:y(e,"substitute_children")?e.substitute_children:void 0,substituteOnhand:e.substitute_onhand,childInheritFields:y(e,"child_inherit_fields")?e.child_inherit_fields===null?null:e.child_inherit_fields.map(mo):void 0,openDataSlug:y(e,"open_data_slug")?e.open_data_slug:void 0}}function on(e){if(e!==void 0)return e===null?null:{name:e.name,plural_name:e.pluralName,description:e.description,recipe:Th(e.recipe),url:e.url,properties:e.properties===void 0?void 0:e.properties===null?null:e.properties.map(sr),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:Dt(e.propertiesFoodUnit),fdc_id:e.fdcId,food_onhand:e.foodOnhand,supermarket_category:Ci(e.supermarketCategory),inherit_fields:e.inheritFields===void 0?void 0:e.inheritFields===null?null:e.inheritFields.map(go),ignore_shopping:e.ignoreShopping,substitute:e.substitute===void 0?void 0:e.substitute===null?null:e.substitute.map(_h),substitute_siblings:e.substituteSiblings,substitute_children:e.substituteChildren,child_inherit_fields:e.childInheritFields===void 0?void 0:e.childInheritFields===null?null:e.childInheritFields.map(go),open_data_slug:e.openDataSlug}}function Ia(e){return mb(e)}function mb(e,t){return e==null?e:{id:e.id,name:e.name}}function pu(e){if(e!==void 0)return e===null?null:{name:e.name}}function En(e){return gb(e)}function gb(e,t){return e==null?e:{id:e.id,name:e.name,label:e.label,description:y(e,"description")?e.description:void 0,parent:e.parent,numchild:e.numchild,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),fullName:e.full_name}}function Ji(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description}}function Jr(e){return vb(e)}function vb(e,t){return e==null?e:{id:e.id,type:e.type,msg:y(e,"msg")?e.msg:void 0,running:y(e,"running")?e.running:void 0,keyword:En(e.keyword),totalRecipes:y(e,"total_recipes")?e.total_recipes:void 0,importedRecipes:y(e,"imported_recipes")?e.imported_recipes:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function dd(e){if(e!==void 0)return e===null?null:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function Gi(e){return yb(e)}function yb(e,t){return e==null?e:{id:e.id,food:nn(e.food),unit:rn(e.unit),amount:e.amount,conversions:e.conversions,note:y(e,"note")?e.note:void 0,order:y(e,"order")?e.order:void 0,isHeader:y(e,"is_header")?e.is_header:void 0,noAmount:y(e,"no_amount")?e.no_amount:void 0,originalText:y(e,"original_text")?e.original_text:void 0,usedInRecipes:e.used_in_recipes,alwaysUsePluralUnit:y(e,"always_use_plural_unit")?e.always_use_plural_unit:void 0,alwaysUsePluralFood:y(e,"always_use_plural_food")?e.always_use_plural_food:void 0}}function xa(e){if(e!==void 0)return e===null?null:{food:on(e.food),unit:Dt(e.unit),amount:e.amount,note:e.note,order:e.order,is_header:e.isHeader,no_amount:e.noAmount,original_text:e.originalText,always_use_plural_unit:e.alwaysUsePluralUnit,always_use_plural_food:e.alwaysUsePluralFood}}function xr(e){return wb(e)}function wb(e,t){return e==null?e:{id:e.id,uuid:e.uuid,email:y(e,"email")?e.email:void 0,group:Ia(e.group),validUntil:y(e,"valid_until")?new Date(e.valid_until):void 0,usedBy:y(e,"used_by")?e.used_by:void 0,reusable:y(e,"reusable")?e.reusable:void 0,internalNote:y(e,"internal_note")?e.internal_note:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function fd(e){if(e!==void 0)return e===null?null:{email:e.email,group:pu(e.group),valid_until:e.validUntil===void 0?void 0:e.validUntil.toISOString().substring(0,10),used_by:e.usedBy,reusable:e.reusable,internal_note:e.internalNote}}function bb(e){return Sb(e)}function Sb(e,t){return e==null?e:{id:e.id,label:e.label}}function Cb(e){if(e!==void 0)return e===null?null:{}}function zi(e){return Rb(e)}function Rb(e,t){return e==null?e:{id:e.id,name:e.name,order:y(e,"order")?e.order:void 0,color:y(e,"color")?e.color:void 0,_default:y(e,"default")?e.default:void 0,createdBy:e.created_by}}function Aa(e){if(e!==void 0)return e===null?null:{name:e.name,order:e.order,color:e.color,default:e._default}}function Eh(e){return _b(e)}function _b(e,t){return e==null?e:{id:e.id,name:e.name,description:y(e,"description")?e.description:void 0,image:e.image,keywords:e.keywords.map(bb),workingTime:y(e,"working_time")?e.working_time:void 0,waitingTime:y(e,"waiting_time")?e.waiting_time:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),internal:y(e,"internal")?e.internal:void 0,servings:y(e,"servings")?e.servings:void 0,servingsText:y(e,"servings_text")?e.servings_text:void 0,rating:y(e,"rating")?e.rating:void 0,lastCooked:y(e,"last_cooked")?e.last_cooked===null?null:new Date(e.last_cooked):void 0,_new:e.new,recent:e.recent}}function Ih(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,keywords:e.keywords.map(Cb),working_time:e.workingTime,waiting_time:e.waitingTime,internal:e.internal,servings:e.servings,servings_text:e.servingsText,rating:e.rating,last_cooked:e.lastCooked===void 0?void 0:e.lastCooked===null?null:e.lastCooked.toISOString()}}function Ar(e){return kb(e)}function kb(e,t){return e==null?e:{id:e.id,title:y(e,"title")?e.title:void 0,recipe:y(e,"recipe")?Eh(e.recipe):void 0,servings:e.servings,note:y(e,"note")?e.note:void 0,noteMarkdown:e.note_markdown,fromDate:new Date(e.from_date),toDate:y(e,"to_date")?new Date(e.to_date):void 0,mealType:zi(e.meal_type),createdBy:e.created_by,shared:y(e,"shared")?e.shared===null?null:e.shared.map(Zt):void 0,recipeName:e.recipe_name,mealTypeName:e.meal_type_name,shopping:e.shopping}}function pd(e){if(e!==void 0)return e===null?null:{title:e.title,recipe:Ih(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate.toISOString().substring(0,10),to_date:e.toDate===void 0?void 0:e.toDate.toISOString().substring(0,10),meal_type:Aa(e.mealType),shared:e.shared===void 0?void 0:e.shared===null?null:e.shared.map(wn)}}function Tb(e){return Eb(e)}function Eb(e,t){return e}function Ib(e){return xb(e)}function xb(e,t){return e==null?e:{id:e.id,carbohydrates:e.carbohydrates,fats:e.fats,proteins:e.proteins,calories:e.calories,source:y(e,"source")?e.source:void 0}}function xh(e){if(e!==void 0)return e===null?null:{carbohydrates:e.carbohydrates,fats:e.fats,proteins:e.proteins,calories:e.calories,source:e.source}}function Ab(e){return Ob(e)}function Ob(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(zr):void 0}}function Lb(e){return Pb(e)}function Pb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Hr):void 0}}function Ub(e){return Fb(e)}function Fb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Wi):void 0}}function Db(e){return Nb(e)}function Nb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Wr):void 0}}function Bb(e){return $b(e)}function $b(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(nn):void 0}}function Mb(e){return Vb(e)}function Vb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Jr):void 0}}function qb(e){return zb(e)}function zb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Gi):void 0}}function Hb(e){return Wb(e)}function Wb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(En):void 0}}function Jb(e){return Gb(e)}function Gb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Eh):void 0}}function zt(e){return Kb(e)}function Kb(e,t){return e==null?e:{id:e.id,name:e.name,fileDownload:e.file_download,preview:e.preview}}function At(e){if(e!==void 0)return e===null?null:{name:e.name}}function Ki(e){return Zb(e)}function Zb(e,t){return e==null?e:{id:e.id,name:y(e,"name")?e.name:void 0,instruction:y(e,"instruction")?e.instruction:void 0,ingredients:e.ingredients.map(Gi),instructionsMarkdown:e.instructions_markdown,time:y(e,"time")?e.time:void 0,order:y(e,"order")?e.order:void 0,showAsHeader:y(e,"show_as_header")?e.show_as_header:void 0,file:y(e,"file")?zt(e.file):void 0,stepRecipe:y(e,"step_recipe")?e.step_recipe:void 0,stepRecipeData:e.step_recipe_data,numrecipe:e.numrecipe,showIngredientsTable:y(e,"show_ingredients_table")?e.show_ingredients_table:void 0}}function Oa(e){if(e!==void 0)return e===null?null:{name:e.name,instruction:e.instruction,ingredients:e.ingredients.map(xa),time:e.time,order:e.order,show_as_header:e.showAsHeader,file:At(e.file),step_recipe:e.stepRecipe,show_ingredients_table:e.showIngredientsTable}}function Yb(e){return Xb(e)}function Xb(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Ki):void 0}}function Zi(e){return Qb(e)}function Qb(e,t){return e==null?e:{id:e.id,category:Qn(e.category),supermarket:e.supermarket,order:y(e,"order")?e.order:void 0}}function hd(e){if(e!==void 0)return e===null?null:{category:Ci(e.category),supermarket:e.supermarket,order:e.order}}function jb(e){return eS(e)}function eS(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Zi):void 0}}function Ah(e){return tS(e)}function tS(e,t){return e==null?e:{id:e.id,sync:e.sync,status:e.status,msg:y(e,"msg")?e.msg:void 0,createdAt:new Date(e.created_at)}}function nS(e){return iS(e)}function iS(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Ah):void 0}}function rS(e){return oS(e)}function oS(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(rn):void 0}}function wl(e){return aS(e)}function aS(e,t){return e==null?e:{id:e.id,user:Zt(e.user),space:e.space,groups:e.groups.map(Ia),active:y(e,"active")?e.active:void 0,internalNote:y(e,"internal_note")?e.internal_note:void 0,inviteLink:e.invite_link,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function sS(e){return lS(e)}function lS(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(wl):void 0}}function Gr(e){return uS(e)}function uS(e,t){return e==null?e:{id:e.id,recipe:e.recipe,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function md(e){if(e!==void 0)return e===null?null:{recipe:e.recipe}}function cS(e){return dS(e)}function dS(e,t){return e==null?e:{count:y(e,"count")?e.count:void 0,next:y(e,"next")?e.next:void 0,previous:y(e,"previous")?e.previous:void 0,results:y(e,"results")?e.results.map(Gr):void 0}}function fS(e){if(e!==void 0)return e===null?null:{expires:e.expires===void 0?void 0:e.expires.toISOString(),scope:e.scope}}function pS(e){if(e!==void 0)return e===null?null:{type:e.type,name:e.name,description:e.description,param_1:e.param1,param_2:e.param2,param_3:e.param3,order:e.order,disabled:e.disabled}}function hS(e){if(e!==void 0)return e===null?null:{url:e.url,html:e.html}}function mS(e){if(e!==void 0)return e===null?null:{name:e.name,url:e.url,token:e.token,todo_entity:e.todoEntity,enabled:e.enabled,on_shopping_list_entry_created_enabled:e.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:e.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:e.onShoppingListEntryDeletedEnabled}}function gS(e){if(e!==void 0)return e===null?null:{recipe:e.recipe,servings:e.servings,rating:e.rating,comment:e.comment,created_at:e.createdAt===void 0?void 0:e.createdAt.toISOString()}}function vS(e){if(e!==void 0)return e===null?null:{name:e.name,search:e.search,shared:e.shared===void 0?void 0:e.shared.map(wn)}}function yS(e){if(e!==void 0)return e===null?null:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,exported_recipes:e.exportedRecipes,cache_duration:e.cacheDuration,possibly_not_expired:e.possiblyNotExpired}}function wS(e){if(e!==void 0)return e===null?null:{name:e.name,plural_name:e.pluralName,description:e.description,recipe:Th(e.recipe),url:e.url,properties:e.properties===void 0?void 0:e.properties===null?null:e.properties.map(sr),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:Dt(e.propertiesFoodUnit),fdc_id:e.fdcId,food_onhand:e.foodOnhand,supermarket_category:Ci(e.supermarketCategory),inherit_fields:e.inheritFields===void 0?void 0:e.inheritFields===null?null:e.inheritFields.map(go),ignore_shopping:e.ignoreShopping,substitute:e.substitute===void 0?void 0:e.substitute===null?null:e.substitute.map(_h),substitute_siblings:e.substituteSiblings,substitute_children:e.substituteChildren,child_inherit_fields:e.childInheritFields===void 0?void 0:e.childInheritFields===null?null:e.childInheritFields.map(go),open_data_slug:e.openDataSlug}}function bS(e){if(e!==void 0)return e===null?null:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function SS(e){if(e!==void 0)return e===null?null:{food:on(e.food),unit:Dt(e.unit),amount:e.amount,note:e.note,order:e.order,is_header:e.isHeader,no_amount:e.noAmount,original_text:e.originalText,always_use_plural_unit:e.alwaysUsePluralUnit,always_use_plural_food:e.alwaysUsePluralFood}}function CS(e){if(e!==void 0)return e===null?null:{email:e.email,group:pu(e.group),valid_until:e.validUntil===void 0?void 0:e.validUntil.toISOString().substring(0,10),used_by:e.usedBy,reusable:e.reusable,internal_note:e.internalNote}}function RS(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description}}function _S(e){if(e!==void 0)return e===null?null:{title:e.title,recipe:Ih(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate===void 0?void 0:e.fromDate.toISOString().substring(0,10),to_date:e.toDate===void 0?void 0:e.toDate.toISOString().substring(0,10),meal_type:Aa(e.mealType),shared:e.shared===void 0?void 0:e.shared===null?null:e.shared.map(wn)}}function kS(e){if(e!==void 0)return e===null?null:{name:e.name,order:e.order,color:e.color,default:e._default}}function TS(e){if(e!==void 0)return e===null?null:{property_amount:e.propertyAmount,property_type:Ea(e.propertyType)}}function ES(e){if(e!==void 0)return e===null?null:{id:e.id,name:e.name,unit:e.unit,description:e.description,order:e.order,open_data_slug:e.openDataSlug,fdc_id:e.fdcId}}function IS(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,keywords:e.keywords===void 0?void 0:e.keywords.map(Ji),steps:e.steps===void 0?void 0:e.steps.map(Oa),working_time:e.workingTime,waiting_time:e.waitingTime,source_url:e.sourceUrl,internal:e.internal,show_ingredient_overview:e.showIngredientOverview,nutrition:xh(e.nutrition),properties:e.properties===void 0?void 0:e.properties.map(sr),servings:e.servings,file_path:e.filePath,servings_text:e.servingsText,private:e._private,shared:e.shared===void 0?void 0:e.shared.map(wn)}}function xS(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,shared:e.shared===void 0?void 0:e.shared.map(wn),filter:Ta(e.filter),order:e.order}}function AS(e){if(e!==void 0)return e===null?null:{book:e.book,recipe:e.recipe}}function Hi(e){return OS(e)}function OS(e,t){return e==null?e:{id:e.id,recipeName:e.recipe_name,name:e.name,recipe:y(e,"recipe")?e.recipe:void 0,mealplan:y(e,"mealplan")?e.mealplan:void 0,servings:e.servings,mealplanNote:e.mealplan_note,mealplanFromDate:new Date(e.mealplan_from_date),mealplanType:e.mealplan_type}}function gd(e){if(e!==void 0)return e===null?null:{recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function LS(e){if(e!==void 0)return e===null?null:{list_recipe:e.listRecipe,food:on(e.food),unit:Dt(e.unit),amount:e.amount,order:e.order,checked:e.checked,completed_at:e.completedAt===void 0?void 0:e.completedAt===null?null:e.completedAt.toISOString(),delay_until:e.delayUntil===void 0?void 0:e.delayUntil===null?null:e.delayUntil.toISOString()}}function PS(e){if(e!==void 0)return e===null?null:{recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function US(e){return FS(e)}function FS(e,t){return e}function DS(e){return NS(e)}function NS(e,t){return e}function BS(e){if(e!==void 0)return e===null?null:{name:e.name,message:e.message,food_inherit:e.foodInherit===void 0?void 0:e.foodInherit.map(go),image:At(e.image),nav_logo:At(e.navLogo),space_theme:e.spaceTheme,custom_space_theme:At(e.customSpaceTheme),nav_bg_color:e.navBgColor,nav_text_color:e.navTextColor,logo_color_32:At(e.logoColor32),logo_color_128:At(e.logoColor128),logo_color_144:At(e.logoColor144),logo_color_180:At(e.logoColor180),logo_color_192:At(e.logoColor192),logo_color_512:At(e.logoColor512),logo_color_svg:At(e.logoColorSvg)}}function $S(e){if(e!==void 0)return e===null?null:{name:e.name,instruction:e.instruction,ingredients:e.ingredients===void 0?void 0:e.ingredients.map(xa),time:e.time,order:e.order,show_as_header:e.showAsHeader,file:At(e.file),step_recipe:e.stepRecipe,show_ingredients_table:e.showIngredientsTable}}function MS(e){if(e!==void 0)return e===null?null:{name:e.name,method:e.method,username:e.username,password:e.password,token:e.token}}function VS(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function qS(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description}}function zS(e){if(e!==void 0)return e===null?null:{category:Ci(e.category),supermarket:e.supermarket,order:e.order}}function HS(e){if(e!==void 0)return e===null?null:{storage:e.storage,path:e.path,active:e.active,last_checked:e.lastChecked===void 0?void 0:e.lastChecked===null?null:e.lastChecked.toISOString()}}function WS(e){if(e!==void 0)return e===null?null:{name:e.name,plural_name:e.pluralName,description:e.description,base_unit:e.baseUnit,open_data_slug:e.openDataSlug}}function JS(e){if(e!==void 0)return e===null?null:{base_amount:e.baseAmount,base_unit:Dt(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:Dt(e.convertedUnit),food:on(e.food),open_data_slug:e.openDataSlug}}function GS(e){if(e!==void 0)return e===null?null:{first_name:e.firstName,last_name:e.lastName}}function KS(e){return ZS(e)}function ZS(e,t){return e}function YS(e){return XS(e)}function XS(e,t){return e}function QS(e){if(e!==void 0)return e===null?null:{user:e.user,image:At(e.image),theme:e.theme,nav_bg_color:e.navBgColor,nav_text_color:e.navTextColor,nav_show_logo:e.navShowLogo,default_unit:e.defaultUnit,default_page:e.defaultPage,use_fractions:e.useFractions,use_kj:e.useKj,plan_share:e.planShare===void 0?void 0:e.planShare===null?null:e.planShare.map(wn),nav_sticky:e.navSticky,ingredient_decimals:e.ingredientDecimals,comments:e.comments,shopping_auto_sync:e.shoppingAutoSync,mealplan_autoadd_shopping:e.mealplanAutoaddShopping,default_delay:e.defaultDelay,mealplan_autoinclude_related:e.mealplanAutoincludeRelated,mealplan_autoexclude_onhand:e.mealplanAutoexcludeOnhand,shopping_share:e.shoppingShare===void 0?void 0:e.shoppingShare===null?null:e.shoppingShare.map(wn),shopping_recent_days:e.shoppingRecentDays,csv_delim:e.csvDelim,csv_prefix:e.csvPrefix,filter_to_supermarket:e.filterToSupermarket,shopping_add_onhand:e.shoppingAddOnhand,left_handed:e.leftHanded,show_step_ingredients:e.showStepIngredients}}function jS(e){if(e!==void 0)return e===null?null:{groups:e.groups===void 0?void 0:e.groups.map(pu),active:e.active,internal_note:e.internalNote}}function eC(e){if(e!==void 0)return e===null?null:{recipe:e.recipe}}function Xo(e){return tC(e)}function tC(e,t){return e==null?e:{id:e.id,name:e.name,description:y(e,"description")?e.description:void 0,image:e.image,keywords:y(e,"keywords")?e.keywords.map(En):void 0,steps:e.steps.map(Ki),workingTime:y(e,"working_time")?e.working_time:void 0,waitingTime:y(e,"waiting_time")?e.waiting_time:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),sourceUrl:y(e,"source_url")?e.source_url:void 0,internal:y(e,"internal")?e.internal:void 0,showIngredientOverview:y(e,"show_ingredient_overview")?e.show_ingredient_overview:void 0,nutrition:y(e,"nutrition")?Ib(e.nutrition):void 0,properties:y(e,"properties")?e.properties.map(mi):void 0,foodProperties:e.food_properties,servings:y(e,"servings")?e.servings:void 0,filePath:y(e,"file_path")?e.file_path:void 0,servingsText:y(e,"servings_text")?e.servings_text:void 0,rating:e.rating,lastCooked:e.last_cooked===null?null:new Date(e.last_cooked),_private:y(e,"private")?e.private:void 0,shared:y(e,"shared")?e.shared.map(Zt):void 0}}function vd(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,keywords:e.keywords===void 0?void 0:e.keywords.map(Ji),steps:e.steps.map(Oa),working_time:e.workingTime,waiting_time:e.waitingTime,source_url:e.sourceUrl,internal:e.internal,show_ingredient_overview:e.showIngredientOverview,nutrition:xh(e.nutrition),properties:e.properties===void 0?void 0:e.properties.map(sr),servings:e.servings,file_path:e.filePath,servings_text:e.servingsText,private:e._private,shared:e.shared===void 0?void 0:e.shared.map(wn)}}function Or(e){return nC(e)}function nC(e,t){return e==null?e:{id:e.id,name:e.name,description:y(e,"description")?e.description:void 0,shared:e.shared.map(Zt),createdBy:e.created_by,filter:y(e,"filter")?Wi(e.filter):void 0,order:y(e,"order")?e.order:void 0}}function yd(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,shared:e.shared.map(wn),filter:Ta(e.filter),order:e.order}}function Lr(e){return iC(e)}function iC(e,t){return e==null?e:{id:e.id,book:e.book,bookContent:e.book_content,recipe:e.recipe,recipeContent:e.recipe_content}}function wd(e){if(e!==void 0)return e===null?null:{book:e.book,recipe:e.recipe}}function rC(e){return oC(e)}function oC(e,t){return e==null?e:{id:e.id,name:e.name,image:y(e,"image")?e.image:void 0}}function aC(e){return sC(e)}function sC(e,t){return e==null?e:{image:y(e,"image")?e.image:void 0,imageUrl:y(e,"image_url")?e.image_url:void 0}}function lC(e){return uC(e)}function uC(e,t){return e==null?e:{id:e.id,listRecipe:y(e,"list_recipe")?e.list_recipe:void 0,ingredients:y(e,"ingredients")?e.ingredients:void 0,servings:y(e,"servings")?e.servings:void 0}}function cC(e){if(e!==void 0)return e===null?null:{list_recipe:e.listRecipe,ingredients:e.ingredients,servings:e.servings}}function Pr(e){return dC(e)}function dC(e,t){return e==null?e:{id:e.id,listRecipe:y(e,"list_recipe")?e.list_recipe:void 0,food:nn(e.food),unit:y(e,"unit")?rn(e.unit):void 0,amount:e.amount,order:y(e,"order")?e.order:void 0,checked:y(e,"checked")?e.checked:void 0,recipeMealplan:Hi(e.recipe_mealplan),createdBy:Zt(e.created_by),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),completedAt:y(e,"completed_at")?e.completed_at===null?null:new Date(e.completed_at):void 0,delayUntil:y(e,"delay_until")?e.delay_until===null?null:new Date(e.delay_until):void 0}}function bd(e){if(e!==void 0)return e===null?null:{list_recipe:e.listRecipe,food:on(e.food),unit:Dt(e.unit),amount:e.amount,order:e.order,checked:e.checked,completed_at:e.completedAt===void 0?void 0:e.completedAt===null?null:e.completedAt.toISOString(),delay_until:e.delayUntil===void 0?void 0:e.delayUntil===null?null:e.delayUntil.toISOString()}}function fC(e){return pC(e)}function pC(e,t){return e==null?e:{ids:e.ids,checked:e.checked}}function hC(e){if(e!==void 0)return e===null?null:{ids:e.ids,checked:e.checked}}function Ns(e){return mC(e)}function mC(e,t){return e==null?e:{id:e.id,name:y(e,"name")?e.name:void 0,createdBy:e.created_by,createdAt:new Date(e.created_at),message:y(e,"message")?e.message:void 0,maxRecipes:e.max_recipes,maxFileStorageMb:e.max_file_storage_mb,maxUsers:e.max_users,allowSharing:e.allow_sharing,demo:e.demo,foodInherit:e.food_inherit.map(mo),userCount:e.user_count,recipeCount:e.recipe_count,fileSizeMb:e.file_size_mb,image:y(e,"image")?zt(e.image):void 0,navLogo:y(e,"nav_logo")?zt(e.nav_logo):void 0,spaceTheme:y(e,"space_theme")?DS(e.space_theme):void 0,customSpaceTheme:y(e,"custom_space_theme")?zt(e.custom_space_theme):void 0,navBgColor:y(e,"nav_bg_color")?e.nav_bg_color:void 0,navTextColor:y(e,"nav_text_color")?US(e.nav_text_color):void 0,logoColor32:y(e,"logo_color_32")?zt(e.logo_color_32):void 0,logoColor128:y(e,"logo_color_128")?zt(e.logo_color_128):void 0,logoColor144:y(e,"logo_color_144")?zt(e.logo_color_144):void 0,logoColor180:y(e,"logo_color_180")?zt(e.logo_color_180):void 0,logoColor192:y(e,"logo_color_192")?zt(e.logo_color_192):void 0,logoColor512:y(e,"logo_color_512")?zt(e.logo_color_512):void 0,logoColorSvg:y(e,"logo_color_svg")?zt(e.logo_color_svg):void 0}}function Ur(e){return gC(e)}function gC(e,t){return e==null?e:{id:e.id,name:e.name,method:y(e,"method")?Tb(e.method):void 0,username:y(e,"username")?e.username:void 0,password:y(e,"password")?e.password:void 0,token:y(e,"token")?e.token:void 0,createdBy:e.created_by}}function Sd(e){if(e!==void 0)return e===null?null:{name:e.name,method:e.method,username:e.username,password:e.password,token:e.token}}function Fr(e){return vC(e)}function vC(e,t){return e==null?e:{id:e.id,name:e.name,description:y(e,"description")?e.description:void 0,categoryToSupermarket:e.category_to_supermarket.map(Zi),openDataSlug:y(e,"open_data_slug")?e.open_data_slug:void 0}}function Cd(e){if(e!==void 0)return e===null?null:{name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function Dr(e){return yC(e)}function yC(e,t){return e==null?e:{id:e.id,storage:e.storage,path:y(e,"path")?e.path:void 0,active:y(e,"active")?e.active:void 0,lastChecked:y(e,"last_checked")?e.last_checked===null?null:new Date(e.last_checked):void 0,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function Rd(e){if(e!==void 0)return e===null?null:{storage:e.storage,path:e.path,active:e.active,last_checked:e.lastChecked===void 0?void 0:e.lastChecked===null?null:e.lastChecked.toISOString()}}function Nr(e){return wC(e)}function wC(e,t){return e==null?e:{id:e.id,name:e.name,baseAmount:e.base_amount,baseUnit:rn(e.base_unit),convertedAmount:e.converted_amount,convertedUnit:rn(e.converted_unit),food:y(e,"food")?nn(e.food):void 0,openDataSlug:y(e,"open_data_slug")?e.open_data_slug:void 0}}function _d(e){if(e!==void 0)return e===null?null:{base_amount:e.baseAmount,base_unit:Dt(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:Dt(e.convertedUnit),food:on(e.food),open_data_slug:e.openDataSlug}}function Br(e){return bC(e)}function bC(e,t){return e==null?e:{id:e.id,name:e.name,file:e.file,fileDownload:e.file_download,preview:e.preview,fileSizeKb:e.file_size_kb}}function Bs(e){return SC(e)}function SC(e,t){return e==null?e:{user:e.user,image:y(e,"image")?zt(e.image):void 0,theme:y(e,"theme")?KS(e.theme):void 0,navBgColor:y(e,"nav_bg_color")?e.nav_bg_color:void 0,navTextColor:y(e,"nav_text_color")?YS(e.nav_text_color):void 0,navShowLogo:y(e,"nav_show_logo")?e.nav_show_logo:void 0,defaultUnit:y(e,"default_unit")?e.default_unit:void 0,defaultPage:y(e,"default_page")?ib(e.default_page):void 0,useFractions:y(e,"use_fractions")?e.use_fractions:void 0,useKj:y(e,"use_kj")?e.use_kj:void 0,planShare:y(e,"plan_share")?e.plan_share===null?null:e.plan_share.map(Zt):void 0,navSticky:y(e,"nav_sticky")?e.nav_sticky:void 0,ingredientDecimals:y(e,"ingredient_decimals")?e.ingredient_decimals:void 0,comments:y(e,"comments")?e.comments:void 0,shoppingAutoSync:y(e,"shopping_auto_sync")?e.shopping_auto_sync:void 0,mealplanAutoaddShopping:y(e,"mealplan_autoadd_shopping")?e.mealplan_autoadd_shopping:void 0,foodInheritDefault:e.food_inherit_default,defaultDelay:y(e,"default_delay")?e.default_delay:void 0,mealplanAutoincludeRelated:y(e,"mealplan_autoinclude_related")?e.mealplan_autoinclude_related:void 0,mealplanAutoexcludeOnhand:y(e,"mealplan_autoexclude_onhand")?e.mealplan_autoexclude_onhand:void 0,shoppingShare:y(e,"shopping_share")?e.shopping_share===null?null:e.shopping_share.map(Zt):void 0,shoppingRecentDays:y(e,"shopping_recent_days")?e.shopping_recent_days:void 0,csvDelim:y(e,"csv_delim")?e.csv_delim:void 0,csvPrefix:y(e,"csv_prefix")?e.csv_prefix:void 0,filterToSupermarket:y(e,"filter_to_supermarket")?e.filter_to_supermarket:void 0,shoppingAddOnhand:y(e,"shopping_add_onhand")?e.shopping_add_onhand:void 0,leftHanded:y(e,"left_handed")?e.left_handed:void 0,showStepIngredients:y(e,"show_step_ingredients")?e.show_step_ingredients:void 0,foodChildrenExist:e.food_children_exist}}class us extends yl{async apiAccessTokenCreateRaw(t,n){if(t.accessToken===null||t.accessToken===void 0)throw new w("accessToken","Required parameter requestParameters.accessToken was null or undefined when calling apiAccessTokenCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/access-token/",method:"POST",headers:r,query:i,body:od(t.accessToken)},n);return new _(o,a=>Er(a))}async apiAccessTokenCreate(t,n){return await(await this.apiAccessTokenCreateRaw(t,n)).value()}async apiAccessTokenDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAccessTokenDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiAccessTokenDestroy(t,n){await this.apiAccessTokenDestroyRaw(t,n)}async apiAccessTokenListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/access-token/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Er))}async apiAccessTokenList(t){return await(await this.apiAccessTokenListRaw(t)).value()}async apiAccessTokenPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAccessTokenPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:fS(t.patchedAccessToken)},n);return new _(o,a=>Er(a))}async apiAccessTokenPartialUpdate(t,n){return await(await this.apiAccessTokenPartialUpdateRaw(t,n)).value()}async apiAccessTokenRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAccessTokenRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Er(a))}async apiAccessTokenRetrieve(t,n){return await(await this.apiAccessTokenRetrieveRaw(t,n)).value()}async apiAccessTokenUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAccessTokenUpdate.");if(t.accessToken===null||t.accessToken===void 0)throw new w("accessToken","Required parameter requestParameters.accessToken was null or undefined when calling apiAccessTokenUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:od(t.accessToken)},n);return new _(o,a=>Er(a))}async apiAccessTokenUpdate(t,n){return await(await this.apiAccessTokenUpdateRaw(t,n)).value()}async apiAutoPlanCreateRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/auto-plan/",method:"POST",headers:i,query:n},t);return new Re(r)}async apiAutoPlanCreate(t){await this.apiAutoPlanCreateRaw(t)}async apiAutomationCreateRaw(t,n){if(t.automation===null||t.automation===void 0)throw new w("automation","Required parameter requestParameters.automation was null or undefined when calling apiAutomationCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/",method:"POST",headers:r,query:i,body:ad(t.automation)},n);return new _(o,a=>zr(a))}async apiAutomationCreate(t,n){return await(await this.apiAutomationCreateRaw(t,n)).value()}async apiAutomationDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAutomationDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiAutomationDestroy(t,n){await this.apiAutomationDestroyRaw(t,n)}async apiAutomationListRaw(t,n){const i={};t.automationType!==void 0&&(i.automation_type=t.automationType),t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/",method:"GET",headers:r,query:i},n);return new _(o,a=>Ab(a))}async apiAutomationList(t={},n){return await(await this.apiAutomationListRaw(t,n)).value()}async apiAutomationPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAutomationPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:pS(t.patchedAutomation)},n);return new _(o,a=>zr(a))}async apiAutomationPartialUpdate(t,n){return await(await this.apiAutomationPartialUpdateRaw(t,n)).value()}async apiAutomationRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAutomationRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>zr(a))}async apiAutomationRetrieve(t,n){return await(await this.apiAutomationRetrieveRaw(t,n)).value()}async apiAutomationUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiAutomationUpdate.");if(t.automation===null||t.automation===void 0)throw new w("automation","Required parameter requestParameters.automation was null or undefined when calling apiAutomationUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:ad(t.automation)},n);return new _(o,a=>zr(a))}async apiAutomationUpdate(t,n){return await(await this.apiAutomationUpdateRaw(t,n)).value()}async apiBookmarkletImportCreateRaw(t,n){if(t.bookmarkletImport===null||t.bookmarkletImport===void 0)throw new w("bookmarkletImport","Required parameter requestParameters.bookmarkletImport was null or undefined when calling apiBookmarkletImportCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/bookmarklet-import/",method:"POST",headers:r,query:i,body:sd(t.bookmarkletImport)},n);return new _(o,a=>Yo(a))}async apiBookmarkletImportCreate(t,n){return await(await this.apiBookmarkletImportCreateRaw(t,n)).value()}async apiBookmarkletImportDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiBookmarkletImportDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiBookmarkletImportDestroy(t,n){await this.apiBookmarkletImportDestroyRaw(t,n)}async apiBookmarkletImportListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/bookmarklet-import/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(X0))}async apiBookmarkletImportList(t){return await(await this.apiBookmarkletImportListRaw(t)).value()}async apiBookmarkletImportPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiBookmarkletImportPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:hS(t.patchedBookmarkletImport)},n);return new _(o,a=>Yo(a))}async apiBookmarkletImportPartialUpdate(t,n){return await(await this.apiBookmarkletImportPartialUpdateRaw(t,n)).value()}async apiBookmarkletImportRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiBookmarkletImportRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Yo(a))}async apiBookmarkletImportRetrieve(t,n){return await(await this.apiBookmarkletImportRetrieveRaw(t,n)).value()}async apiBookmarkletImportUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiBookmarkletImportUpdate.");if(t.bookmarkletImport===null||t.bookmarkletImport===void 0)throw new w("bookmarkletImport","Required parameter requestParameters.bookmarkletImport was null or undefined when calling apiBookmarkletImportUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:sd(t.bookmarkletImport)},n);return new _(o,a=>Yo(a))}async apiBookmarkletImportUpdate(t,n){return await(await this.apiBookmarkletImportUpdateRaw(t,n)).value()}async apiConnectorConfigCreateRaw(t,n){if(t.connectorConfigConfig===null||t.connectorConfigConfig===void 0)throw new w("connectorConfigConfig","Required parameter requestParameters.connectorConfigConfig was null or undefined when calling apiConnectorConfigCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/connector-config/",method:"POST",headers:r,query:i,body:ld(t.connectorConfigConfig)},n);return new _(o,a=>Ir(a))}async apiConnectorConfigCreate(t,n){return await(await this.apiConnectorConfigCreateRaw(t,n)).value()}async apiConnectorConfigDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiConnectorConfigDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiConnectorConfigDestroy(t,n){await this.apiConnectorConfigDestroyRaw(t,n)}async apiConnectorConfigListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/connector-config/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Ir))}async apiConnectorConfigList(t){return await(await this.apiConnectorConfigListRaw(t)).value()}async apiConnectorConfigPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiConnectorConfigPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:mS(t.patchedConnectorConfigConfig)},n);return new _(o,a=>Ir(a))}async apiConnectorConfigPartialUpdate(t,n){return await(await this.apiConnectorConfigPartialUpdateRaw(t,n)).value()}async apiConnectorConfigRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiConnectorConfigRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ir(a))}async apiConnectorConfigRetrieve(t,n){return await(await this.apiConnectorConfigRetrieveRaw(t,n)).value()}async apiConnectorConfigUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiConnectorConfigUpdate.");if(t.connectorConfigConfig===null||t.connectorConfigConfig===void 0)throw new w("connectorConfigConfig","Required parameter requestParameters.connectorConfigConfig was null or undefined when calling apiConnectorConfigUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:ld(t.connectorConfigConfig)},n);return new _(o,a=>Ir(a))}async apiConnectorConfigUpdate(t,n){return await(await this.apiConnectorConfigUpdateRaw(t,n)).value()}async apiCookLogCreateRaw(t,n){if(t.cookLog===null||t.cookLog===void 0)throw new w("cookLog","Required parameter requestParameters.cookLog was null or undefined when calling apiCookLogCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/",method:"POST",headers:r,query:i,body:ud(t.cookLog)},n);return new _(o,a=>Hr(a))}async apiCookLogCreate(t,n){return await(await this.apiCookLogCreateRaw(t,n)).value()}async apiCookLogDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCookLogDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiCookLogDestroy(t,n){await this.apiCookLogDestroyRaw(t,n)}async apiCookLogListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/",method:"GET",headers:r,query:i},n);return new _(o,a=>Lb(a))}async apiCookLogList(t={},n){return await(await this.apiCookLogListRaw(t,n)).value()}async apiCookLogPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCookLogPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:gS(t.patchedCookLog)},n);return new _(o,a=>Hr(a))}async apiCookLogPartialUpdate(t,n){return await(await this.apiCookLogPartialUpdateRaw(t,n)).value()}async apiCookLogRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCookLogRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Hr(a))}async apiCookLogRetrieve(t,n){return await(await this.apiCookLogRetrieveRaw(t,n)).value()}async apiCookLogUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCookLogUpdate.");if(t.cookLog===null||t.cookLog===void 0)throw new w("cookLog","Required parameter requestParameters.cookLog was null or undefined when calling apiCookLogUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:ud(t.cookLog)},n);return new _(o,a=>Hr(a))}async apiCookLogUpdate(t,n){return await(await this.apiCookLogUpdateRaw(t,n)).value()}async apiCustomFilterCreateRaw(t,n){if(t.customFilter===null||t.customFilter===void 0)throw new w("customFilter","Required parameter requestParameters.customFilter was null or undefined when calling apiCustomFilterCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/",method:"POST",headers:r,query:i,body:Ta(t.customFilter)},n);return new _(o,a=>Wi(a))}async apiCustomFilterCreate(t,n){return await(await this.apiCustomFilterCreateRaw(t,n)).value()}async apiCustomFilterDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCustomFilterDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiCustomFilterDestroy(t,n){await this.apiCustomFilterDestroyRaw(t,n)}async apiCustomFilterListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/",method:"GET",headers:r,query:i},n);return new _(o,a=>Ub(a))}async apiCustomFilterList(t={},n){return await(await this.apiCustomFilterListRaw(t,n)).value()}async apiCustomFilterPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCustomFilterPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:vS(t.patchedCustomFilter)},n);return new _(o,a=>Wi(a))}async apiCustomFilterPartialUpdate(t,n){return await(await this.apiCustomFilterPartialUpdateRaw(t,n)).value()}async apiCustomFilterRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCustomFilterRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Wi(a))}async apiCustomFilterRetrieve(t,n){return await(await this.apiCustomFilterRetrieveRaw(t,n)).value()}async apiCustomFilterUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiCustomFilterUpdate.");if(t.customFilter===null||t.customFilter===void 0)throw new w("customFilter","Required parameter requestParameters.customFilter was null or undefined when calling apiCustomFilterUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Ta(t.customFilter)},n);return new _(o,a=>Wi(a))}async apiCustomFilterUpdate(t,n){return await(await this.apiCustomFilterUpdateRaw(t,n)).value()}async apiDownloadFileRetrieveRaw(t,n){if(t.fileId===null||t.fileId===void 0)throw new w("fileId","Required parameter requestParameters.fileId was null or undefined when calling apiDownloadFileRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/download-file/{file_id}/".replace("{file_id}",encodeURIComponent(String(t.fileId))),method:"GET",headers:r,query:i},n);return new Re(o)}async apiDownloadFileRetrieve(t,n){await this.apiDownloadFileRetrieveRaw(t,n)}async apiExportLogCreateRaw(t,n){if(t.exportLog===null||t.exportLog===void 0)throw new w("exportLog","Required parameter requestParameters.exportLog was null or undefined when calling apiExportLogCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/",method:"POST",headers:r,query:i,body:cd(t.exportLog)},n);return new _(o,a=>Wr(a))}async apiExportLogCreate(t,n){return await(await this.apiExportLogCreateRaw(t,n)).value()}async apiExportLogDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiExportLogDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiExportLogDestroy(t,n){await this.apiExportLogDestroyRaw(t,n)}async apiExportLogListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/",method:"GET",headers:r,query:i},n);return new _(o,a=>Db(a))}async apiExportLogList(t={},n){return await(await this.apiExportLogListRaw(t,n)).value()}async apiExportLogPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiExportLogPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:yS(t.patchedExportLog)},n);return new _(o,a=>Wr(a))}async apiExportLogPartialUpdate(t,n){return await(await this.apiExportLogPartialUpdateRaw(t,n)).value()}async apiExportLogRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiExportLogRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Wr(a))}async apiExportLogRetrieve(t,n){return await(await this.apiExportLogRetrieveRaw(t,n)).value()}async apiExportLogUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiExportLogUpdate.");if(t.exportLog===null||t.exportLog===void 0)throw new w("exportLog","Required parameter requestParameters.exportLog was null or undefined when calling apiExportLogUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:cd(t.exportLog)},n);return new _(o,a=>Wr(a))}async apiExportLogUpdate(t,n){return await(await this.apiExportLogUpdateRaw(t,n)).value()}async apiFoodCreateRaw(t,n){if(t.food===null||t.food===void 0)throw new w("food","Required parameter requestParameters.food was null or undefined when calling apiFoodCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/",method:"POST",headers:r,query:i,body:on(t.food)},n);return new _(o,a=>nn(a))}async apiFoodCreate(t,n){return await(await this.apiFoodCreateRaw(t,n)).value()}async apiFoodDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiFoodDestroy(t,n){await this.apiFoodDestroyRaw(t,n)}async apiFoodFdcCreateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodFdcCreate.");if(t.food===null||t.food===void 0)throw new w("food","Required parameter requestParameters.food was null or undefined when calling apiFoodFdcCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/fdc/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:r,query:i,body:on(t.food)},n);return new _(o,a=>nn(a))}async apiFoodFdcCreate(t,n){return await(await this.apiFoodFdcCreateRaw(t,n)).value()}async apiFoodInheritFieldListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/food-inherit-field/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(mo))}async apiFoodInheritFieldList(t){return await(await this.apiFoodInheritFieldListRaw(t)).value()}async apiFoodInheritFieldRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodInheritFieldRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-inherit-field/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>mo(a))}async apiFoodInheritFieldRetrieve(t,n){return await(await this.apiFoodInheritFieldRetrieveRaw(t,n)).value()}async apiFoodListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/",method:"GET",headers:r,query:i},n);return new _(o,a=>Bb(a))}async apiFoodList(t={},n){return await(await this.apiFoodListRaw(t,n)).value()}async apiFoodMergeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodMergeUpdate.");if(t.target===null||t.target===void 0)throw new w("target","Required parameter requestParameters.target was null or undefined when calling apiFoodMergeUpdate.");if(t.food===null||t.food===void 0)throw new w("food","Required parameter requestParameters.food was null or undefined when calling apiFoodMergeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:r,query:i,body:on(t.food)},n);return new _(o,a=>nn(a))}async apiFoodMergeUpdate(t,n){return await(await this.apiFoodMergeUpdateRaw(t,n)).value()}async apiFoodMoveUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodMoveUpdate.");if(t.parent===null||t.parent===void 0)throw new w("parent","Required parameter requestParameters.parent was null or undefined when calling apiFoodMoveUpdate.");if(t.food===null||t.food===void 0)throw new w("food","Required parameter requestParameters.food was null or undefined when calling apiFoodMoveUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{parent}",encodeURIComponent(String(t.parent))),method:"PUT",headers:r,query:i,body:on(t.food)},n);return new _(o,a=>nn(a))}async apiFoodMoveUpdate(t,n){return await(await this.apiFoodMoveUpdateRaw(t,n)).value()}async apiFoodPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:wS(t.patchedFood)},n);return new _(o,a=>nn(a))}async apiFoodPartialUpdate(t,n){return await(await this.apiFoodPartialUpdateRaw(t,n)).value()}async apiFoodPropertyCreateRaw(t,n){if(t.property===null||t.property===void 0)throw new w("property","Required parameter requestParameters.property was null or undefined when calling apiFoodPropertyCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property/",method:"POST",headers:r,query:i,body:sr(t.property)},n);return new _(o,a=>mi(a))}async apiFoodPropertyCreate(t,n){return await(await this.apiFoodPropertyCreateRaw(t,n)).value()}async apiFoodPropertyDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiFoodPropertyDestroy(t,n){await this.apiFoodPropertyDestroyRaw(t,n)}async apiFoodPropertyListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/food-property/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(mi))}async apiFoodPropertyList(t){return await(await this.apiFoodPropertyListRaw(t)).value()}async apiFoodPropertyPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:TS(t.patchedProperty)},n);return new _(o,a=>mi(a))}async apiFoodPropertyPartialUpdate(t,n){return await(await this.apiFoodPropertyPartialUpdateRaw(t,n)).value()}async apiFoodPropertyRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>mi(a))}async apiFoodPropertyRetrieve(t,n){return await(await this.apiFoodPropertyRetrieveRaw(t,n)).value()}async apiFoodPropertyTypeCreateRaw(t,n){if(t.propertyType===null||t.propertyType===void 0)throw new w("propertyType","Required parameter requestParameters.propertyType was null or undefined when calling apiFoodPropertyTypeCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property-type/",method:"POST",headers:r,query:i,body:Ea(t.propertyType)},n);return new _(o,a=>qi(a))}async apiFoodPropertyTypeCreate(t,n){return await(await this.apiFoodPropertyTypeCreateRaw(t,n)).value()}async apiFoodPropertyTypeDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyTypeDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiFoodPropertyTypeDestroy(t,n){await this.apiFoodPropertyTypeDestroyRaw(t,n)}async apiFoodPropertyTypeListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/food-property-type/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(qi))}async apiFoodPropertyTypeList(t){return await(await this.apiFoodPropertyTypeListRaw(t)).value()}async apiFoodPropertyTypePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyTypePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:ES(t.patchedPropertyType)},n);return new _(o,a=>qi(a))}async apiFoodPropertyTypePartialUpdate(t,n){return await(await this.apiFoodPropertyTypePartialUpdateRaw(t,n)).value()}async apiFoodPropertyTypeRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyTypeRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>qi(a))}async apiFoodPropertyTypeRetrieve(t,n){return await(await this.apiFoodPropertyTypeRetrieveRaw(t,n)).value()}async apiFoodPropertyTypeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyTypeUpdate.");if(t.propertyType===null||t.propertyType===void 0)throw new w("propertyType","Required parameter requestParameters.propertyType was null or undefined when calling apiFoodPropertyTypeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Ea(t.propertyType)},n);return new _(o,a=>qi(a))}async apiFoodPropertyTypeUpdate(t,n){return await(await this.apiFoodPropertyTypeUpdateRaw(t,n)).value()}async apiFoodPropertyUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodPropertyUpdate.");if(t.property===null||t.property===void 0)throw new w("property","Required parameter requestParameters.property was null or undefined when calling apiFoodPropertyUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:sr(t.property)},n);return new _(o,a=>mi(a))}async apiFoodPropertyUpdate(t,n){return await(await this.apiFoodPropertyUpdateRaw(t,n)).value()}async apiFoodRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>nn(a))}async apiFoodRetrieve(t,n){return await(await this.apiFoodRetrieveRaw(t,n)).value()}async apiFoodUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiFoodUpdate.");if(t.food===null||t.food===void 0)throw new w("food","Required parameter requestParameters.food was null or undefined when calling apiFoodUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:on(t.food)},n);return new _(o,a=>nn(a))}async apiFoodUpdate(t,n){return await(await this.apiFoodUpdateRaw(t,n)).value()}async apiGroupListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/group/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Ia))}async apiGroupList(t){return await(await this.apiGroupListRaw(t)).value()}async apiGroupRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiGroupRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/group/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ia(a))}async apiGroupRetrieve(t,n){return await(await this.apiGroupRetrieveRaw(t,n)).value()}async apiImportCreateRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/import/",method:"POST",headers:i,query:n},t);return new Re(r)}async apiImportCreate(t){await this.apiImportCreateRaw(t)}async apiImportLogCreateRaw(t,n){if(t.importLog===null||t.importLog===void 0)throw new w("importLog","Required parameter requestParameters.importLog was null or undefined when calling apiImportLogCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/",method:"POST",headers:r,query:i,body:dd(t.importLog)},n);return new _(o,a=>Jr(a))}async apiImportLogCreate(t,n){return await(await this.apiImportLogCreateRaw(t,n)).value()}async apiImportLogDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiImportLogDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiImportLogDestroy(t,n){await this.apiImportLogDestroyRaw(t,n)}async apiImportLogListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/",method:"GET",headers:r,query:i},n);return new _(o,a=>Mb(a))}async apiImportLogList(t={},n){return await(await this.apiImportLogListRaw(t,n)).value()}async apiImportLogPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiImportLogPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:bS(t.patchedImportLog)},n);return new _(o,a=>Jr(a))}async apiImportLogPartialUpdate(t,n){return await(await this.apiImportLogPartialUpdateRaw(t,n)).value()}async apiImportLogRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiImportLogRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Jr(a))}async apiImportLogRetrieve(t,n){return await(await this.apiImportLogRetrieveRaw(t,n)).value()}async apiImportLogUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiImportLogUpdate.");if(t.importLog===null||t.importLog===void 0)throw new w("importLog","Required parameter requestParameters.importLog was null or undefined when calling apiImportLogUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:dd(t.importLog)},n);return new _(o,a=>Jr(a))}async apiImportLogUpdate(t,n){return await(await this.apiImportLogUpdateRaw(t,n)).value()}async apiIngredientCreateRaw(t,n){if(t.ingredient===null||t.ingredient===void 0)throw new w("ingredient","Required parameter requestParameters.ingredient was null or undefined when calling apiIngredientCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/",method:"POST",headers:r,query:i,body:xa(t.ingredient)},n);return new _(o,a=>Gi(a))}async apiIngredientCreate(t,n){return await(await this.apiIngredientCreateRaw(t,n)).value()}async apiIngredientDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiIngredientDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiIngredientDestroy(t,n){await this.apiIngredientDestroyRaw(t,n)}async apiIngredientListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/",method:"GET",headers:r,query:i},n);return new _(o,a=>qb(a))}async apiIngredientList(t={},n){return await(await this.apiIngredientListRaw(t,n)).value()}async apiIngredientPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiIngredientPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:SS(t.patchedIngredient)},n);return new _(o,a=>Gi(a))}async apiIngredientPartialUpdate(t,n){return await(await this.apiIngredientPartialUpdateRaw(t,n)).value()}async apiIngredientRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiIngredientRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Gi(a))}async apiIngredientRetrieve(t,n){return await(await this.apiIngredientRetrieveRaw(t,n)).value()}async apiIngredientUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiIngredientUpdate.");if(t.ingredient===null||t.ingredient===void 0)throw new w("ingredient","Required parameter requestParameters.ingredient was null or undefined when calling apiIngredientUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:xa(t.ingredient)},n);return new _(o,a=>Gi(a))}async apiIngredientUpdate(t,n){return await(await this.apiIngredientUpdateRaw(t,n)).value()}async apiInviteLinkCreateRaw(t,n){if(t.inviteLink===null||t.inviteLink===void 0)throw new w("inviteLink","Required parameter requestParameters.inviteLink was null or undefined when calling apiInviteLinkCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/",method:"POST",headers:r,query:i,body:fd(t.inviteLink)},n);return new _(o,a=>xr(a))}async apiInviteLinkCreate(t,n){return await(await this.apiInviteLinkCreateRaw(t,n)).value()}async apiInviteLinkDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiInviteLinkDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiInviteLinkDestroy(t,n){await this.apiInviteLinkDestroyRaw(t,n)}async apiInviteLinkListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(xr))}async apiInviteLinkList(t={},n){return await(await this.apiInviteLinkListRaw(t,n)).value()}async apiInviteLinkPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiInviteLinkPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:CS(t.patchedInviteLink)},n);return new _(o,a=>xr(a))}async apiInviteLinkPartialUpdate(t,n){return await(await this.apiInviteLinkPartialUpdateRaw(t,n)).value()}async apiInviteLinkRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiInviteLinkRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>xr(a))}async apiInviteLinkRetrieve(t,n){return await(await this.apiInviteLinkRetrieveRaw(t,n)).value()}async apiInviteLinkUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiInviteLinkUpdate.");if(t.inviteLink===null||t.inviteLink===void 0)throw new w("inviteLink","Required parameter requestParameters.inviteLink was null or undefined when calling apiInviteLinkUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:fd(t.inviteLink)},n);return new _(o,a=>xr(a))}async apiInviteLinkUpdate(t,n){return await(await this.apiInviteLinkUpdateRaw(t,n)).value()}async apiKeywordCreateRaw(t,n){if(t.keyword===null||t.keyword===void 0)throw new w("keyword","Required parameter requestParameters.keyword was null or undefined when calling apiKeywordCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/",method:"POST",headers:r,query:i,body:Ji(t.keyword)},n);return new _(o,a=>En(a))}async apiKeywordCreate(t,n){return await(await this.apiKeywordCreateRaw(t,n)).value()}async apiKeywordDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiKeywordDestroy(t,n){await this.apiKeywordDestroyRaw(t,n)}async apiKeywordListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/",method:"GET",headers:r,query:i},n);return new _(o,a=>Hb(a))}async apiKeywordList(t={},n){return await(await this.apiKeywordListRaw(t,n)).value()}async apiKeywordMergeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordMergeUpdate.");if(t.target===null||t.target===void 0)throw new w("target","Required parameter requestParameters.target was null or undefined when calling apiKeywordMergeUpdate.");if(t.keyword===null||t.keyword===void 0)throw new w("keyword","Required parameter requestParameters.keyword was null or undefined when calling apiKeywordMergeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:r,query:i,body:Ji(t.keyword)},n);return new _(o,a=>En(a))}async apiKeywordMergeUpdate(t,n){return await(await this.apiKeywordMergeUpdateRaw(t,n)).value()}async apiKeywordMoveUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordMoveUpdate.");if(t.parent===null||t.parent===void 0)throw new w("parent","Required parameter requestParameters.parent was null or undefined when calling apiKeywordMoveUpdate.");if(t.keyword===null||t.keyword===void 0)throw new w("keyword","Required parameter requestParameters.keyword was null or undefined when calling apiKeywordMoveUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{parent}",encodeURIComponent(String(t.parent))),method:"PUT",headers:r,query:i,body:Ji(t.keyword)},n);return new _(o,a=>En(a))}async apiKeywordMoveUpdate(t,n){return await(await this.apiKeywordMoveUpdateRaw(t,n)).value()}async apiKeywordPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:RS(t.patchedKeyword)},n);return new _(o,a=>En(a))}async apiKeywordPartialUpdate(t,n){return await(await this.apiKeywordPartialUpdateRaw(t,n)).value()}async apiKeywordRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>En(a))}async apiKeywordRetrieve(t,n){return await(await this.apiKeywordRetrieveRaw(t,n)).value()}async apiKeywordUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiKeywordUpdate.");if(t.keyword===null||t.keyword===void 0)throw new w("keyword","Required parameter requestParameters.keyword was null or undefined when calling apiKeywordUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Ji(t.keyword)},n);return new _(o,a=>En(a))}async apiKeywordUpdate(t,n){return await(await this.apiKeywordUpdateRaw(t,n)).value()}async apiMealPlanCreateRaw(t,n){if(t.mealPlan===null||t.mealPlan===void 0)throw new w("mealPlan","Required parameter requestParameters.mealPlan was null or undefined when calling apiMealPlanCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/",method:"POST",headers:r,query:i,body:pd(t.mealPlan)},n);return new _(o,a=>Ar(a))}async apiMealPlanCreate(t,n){return await(await this.apiMealPlanCreateRaw(t,n)).value()}async apiMealPlanDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealPlanDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiMealPlanDestroy(t,n){await this.apiMealPlanDestroyRaw(t,n)}async apiMealPlanListRaw(t,n){const i={};t.fromDate!==void 0&&(i.from_date=t.fromDate),t.mealType!==void 0&&(i.meal_type=t.mealType),t.toDate!==void 0&&(i.to_date=t.toDate);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Ar))}async apiMealPlanList(t={},n){return await(await this.apiMealPlanListRaw(t,n)).value()}async apiMealPlanPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealPlanPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:_S(t.patchedMealPlan)},n);return new _(o,a=>Ar(a))}async apiMealPlanPartialUpdate(t,n){return await(await this.apiMealPlanPartialUpdateRaw(t,n)).value()}async apiMealPlanRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealPlanRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ar(a))}async apiMealPlanRetrieve(t,n){return await(await this.apiMealPlanRetrieveRaw(t,n)).value()}async apiMealPlanUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealPlanUpdate.");if(t.mealPlan===null||t.mealPlan===void 0)throw new w("mealPlan","Required parameter requestParameters.mealPlan was null or undefined when calling apiMealPlanUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:pd(t.mealPlan)},n);return new _(o,a=>Ar(a))}async apiMealPlanUpdate(t,n){return await(await this.apiMealPlanUpdateRaw(t,n)).value()}async apiMealTypeCreateRaw(t,n){if(t.mealType===null||t.mealType===void 0)throw new w("mealType","Required parameter requestParameters.mealType was null or undefined when calling apiMealTypeCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-type/",method:"POST",headers:r,query:i,body:Aa(t.mealType)},n);return new _(o,a=>zi(a))}async apiMealTypeCreate(t,n){return await(await this.apiMealTypeCreateRaw(t,n)).value()}async apiMealTypeDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealTypeDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiMealTypeDestroy(t,n){await this.apiMealTypeDestroyRaw(t,n)}async apiMealTypeListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/meal-type/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(zi))}async apiMealTypeList(t){return await(await this.apiMealTypeListRaw(t)).value()}async apiMealTypePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealTypePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:kS(t.patchedMealType)},n);return new _(o,a=>zi(a))}async apiMealTypePartialUpdate(t,n){return await(await this.apiMealTypePartialUpdateRaw(t,n)).value()}async apiMealTypeRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealTypeRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>zi(a))}async apiMealTypeRetrieve(t,n){return await(await this.apiMealTypeRetrieveRaw(t,n)).value()}async apiMealTypeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiMealTypeUpdate.");if(t.mealType===null||t.mealType===void 0)throw new w("mealType","Required parameter requestParameters.mealType was null or undefined when calling apiMealTypeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Aa(t.mealType)},n);return new _(o,a=>zi(a))}async apiMealTypeUpdate(t,n){return await(await this.apiMealTypeUpdateRaw(t,n)).value()}async apiRecipeBookCreateRaw(t,n){if(t.recipeBook===null||t.recipeBook===void 0)throw new w("recipeBook","Required parameter requestParameters.recipeBook was null or undefined when calling apiRecipeBookCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/",method:"POST",headers:r,query:i,body:yd(t.recipeBook)},n);return new _(o,a=>Or(a))}async apiRecipeBookCreate(t,n){return await(await this.apiRecipeBookCreateRaw(t,n)).value()}async apiRecipeBookDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiRecipeBookDestroy(t,n){await this.apiRecipeBookDestroyRaw(t,n)}async apiRecipeBookEntryCreateRaw(t,n){if(t.recipeBookEntry===null||t.recipeBookEntry===void 0)throw new w("recipeBookEntry","Required parameter requestParameters.recipeBookEntry was null or undefined when calling apiRecipeBookEntryCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book-entry/",method:"POST",headers:r,query:i,body:wd(t.recipeBookEntry)},n);return new _(o,a=>Lr(a))}async apiRecipeBookEntryCreate(t,n){return await(await this.apiRecipeBookEntryCreateRaw(t,n)).value()}async apiRecipeBookEntryDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookEntryDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiRecipeBookEntryDestroy(t,n){await this.apiRecipeBookEntryDestroyRaw(t,n)}async apiRecipeBookEntryListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/recipe-book-entry/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Lr))}async apiRecipeBookEntryList(t){return await(await this.apiRecipeBookEntryListRaw(t)).value()}async apiRecipeBookEntryPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookEntryPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:AS(t.patchedRecipeBookEntry)},n);return new _(o,a=>Lr(a))}async apiRecipeBookEntryPartialUpdate(t,n){return await(await this.apiRecipeBookEntryPartialUpdateRaw(t,n)).value()}async apiRecipeBookEntryRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookEntryRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Lr(a))}async apiRecipeBookEntryRetrieve(t,n){return await(await this.apiRecipeBookEntryRetrieveRaw(t,n)).value()}async apiRecipeBookEntryUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookEntryUpdate.");if(t.recipeBookEntry===null||t.recipeBookEntry===void 0)throw new w("recipeBookEntry","Required parameter requestParameters.recipeBookEntry was null or undefined when calling apiRecipeBookEntryUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:wd(t.recipeBookEntry)},n);return new _(o,a=>Lr(a))}async apiRecipeBookEntryUpdate(t,n){return await(await this.apiRecipeBookEntryUpdateRaw(t,n)).value()}async apiRecipeBookListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Or))}async apiRecipeBookList(t={},n){return await(await this.apiRecipeBookListRaw(t,n)).value()}async apiRecipeBookPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:xS(t.patchedRecipeBook)},n);return new _(o,a=>Or(a))}async apiRecipeBookPartialUpdate(t,n){return await(await this.apiRecipeBookPartialUpdateRaw(t,n)).value()}async apiRecipeBookRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Or(a))}async apiRecipeBookRetrieve(t,n){return await(await this.apiRecipeBookRetrieveRaw(t,n)).value()}async apiRecipeBookUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeBookUpdate.");if(t.recipeBook===null||t.recipeBook===void 0)throw new w("recipeBook","Required parameter requestParameters.recipeBook was null or undefined when calling apiRecipeBookUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:yd(t.recipeBook)},n);return new _(o,a=>Or(a))}async apiRecipeBookUpdate(t,n){return await(await this.apiRecipeBookUpdateRaw(t,n)).value()}async apiRecipeCreateRaw(t,n){if(t.recipe===null||t.recipe===void 0)throw new w("recipe","Required parameter requestParameters.recipe was null or undefined when calling apiRecipeCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/",method:"POST",headers:r,query:i,body:vd(t.recipe)},n);return new _(o,a=>Xo(a))}async apiRecipeCreate(t,n){return await(await this.apiRecipeCreateRaw(t,n)).value()}async apiRecipeDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiRecipeDestroy(t,n){await this.apiRecipeDestroyRaw(t,n)}async apiRecipeFlatListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/recipe/flat/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(rC))}async apiRecipeFlatList(t){return await(await this.apiRecipeFlatListRaw(t)).value()}async apiRecipeFromSourceCreateRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/recipe-from-source/",method:"POST",headers:i,query:n},t);return new Re(r)}async apiRecipeFromSourceCreate(t){await this.apiRecipeFromSourceCreateRaw(t)}async apiRecipeImageUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeImageUpdate.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password)),Zo([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.image!==void 0&&a.append("image",t.image),t.imageUrl!==void 0&&a.append("image_url",t.imageUrl);const s=await this.request({path:"/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:a},n);return new _(s,l=>aC(l))}async apiRecipeImageUpdate(t,n){return await(await this.apiRecipeImageUpdateRaw(t,n)).value()}async apiRecipeListRaw(t,n){const i={};t.books!==void 0&&(i.books=t.books),t.booksAnd!==void 0&&(i.books_and=t.booksAnd),t.booksAndNot!==void 0&&(i.books_and_not=t.booksAndNot),t.booksOr!==void 0&&(i.books_or=t.booksOr),t.booksOrNot!==void 0&&(i.books_or_not=t.booksOrNot),t.cookedon!==void 0&&(i.cookedon=t.cookedon),t.createdon!==void 0&&(i.createdon=t.createdon),t.foods!==void 0&&(i.foods=t.foods),t.foodsAnd!==void 0&&(i.foods_and=t.foodsAnd),t.foodsAndNot!==void 0&&(i.foods_and_not=t.foodsAndNot),t.foodsOr!==void 0&&(i.foods_or=t.foodsOr),t.foodsOrNot!==void 0&&(i.foods_or_not=t.foodsOrNot),t.internal!==void 0&&(i.internal=t.internal),t.keywords!==void 0&&(i.keywords=t.keywords),t.keywordsAnd!==void 0&&(i.keywords_and=t.keywordsAnd),t.keywordsAndNot!==void 0&&(i.keywords_and_not=t.keywordsAndNot),t.keywordsOr!==void 0&&(i.keywords_or=t.keywordsOr),t.keywordsOrNot!==void 0&&(i.keywords_or_not=t.keywordsOrNot),t.makenow!==void 0&&(i.makenow=t.makenow),t._new!==void 0&&(i.new=t._new),t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.rating!==void 0&&(i.rating=t.rating),t.timescooked!==void 0&&(i.timescooked=t.timescooked),t.units!==void 0&&(i.units=t.units),t.updatedon!==void 0&&(i.updatedon=t.updatedon),t.viewedon!==void 0&&(i.viewedon=t.viewedon);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/",method:"GET",headers:r,query:i},n);return new _(o,a=>Jb(a))}async apiRecipeList(t={},n){return await(await this.apiRecipeListRaw(t,n)).value()}async apiRecipePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:IS(t.patchedRecipe)},n);return new _(o,a=>Xo(a))}async apiRecipePartialUpdate(t,n){return await(await this.apiRecipePartialUpdateRaw(t,n)).value()}async apiRecipeRelatedRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeRelatedRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/related/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>kh(a))}async apiRecipeRelatedRetrieve(t,n){return await(await this.apiRecipeRelatedRetrieveRaw(t,n)).value()}async apiRecipeRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Xo(a))}async apiRecipeRetrieve(t,n){return await(await this.apiRecipeRetrieveRaw(t,n)).value()}async apiRecipeShoppingUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeShoppingUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/shopping/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:cC(t.recipeShoppingUpdate)},n);return new _(o,a=>lC(a))}async apiRecipeShoppingUpdate(t,n){return await(await this.apiRecipeShoppingUpdateRaw(t,n)).value()}async apiRecipeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiRecipeUpdate.");if(t.recipe===null||t.recipe===void 0)throw new w("recipe","Required parameter requestParameters.recipe was null or undefined when calling apiRecipeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:vd(t.recipe)},n);return new _(o,a=>Xo(a))}async apiRecipeUpdate(t,n){return await(await this.apiRecipeUpdateRaw(t,n)).value()}async apiResetFoodInheritanceRetrieveRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/reset-food-inheritance/",method:"GET",headers:i,query:n},t);return new Re(r)}async apiResetFoodInheritanceRetrieve(t){await this.apiResetFoodInheritanceRetrieveRaw(t)}async apiShareLinkRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShareLinkRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/share-link/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new Re(o)}async apiShareLinkRetrieve(t,n){await this.apiShareLinkRetrieveRaw(t,n)}async apiShoppingListEntryBulkCreateRaw(t,n){if(t.shoppingListEntryBulk===null||t.shoppingListEntryBulk===void 0)throw new w("shoppingListEntryBulk","Required parameter requestParameters.shoppingListEntryBulk was null or undefined when calling apiShoppingListEntryBulkCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/bulk/",method:"POST",headers:r,query:i,body:hC(t.shoppingListEntryBulk)},n);return new _(o,a=>fC(a))}async apiShoppingListEntryBulkCreate(t,n){return await(await this.apiShoppingListEntryBulkCreateRaw(t,n)).value()}async apiShoppingListEntryCreateRaw(t,n){if(t.shoppingListEntry===null||t.shoppingListEntry===void 0)throw new w("shoppingListEntry","Required parameter requestParameters.shoppingListEntry was null or undefined when calling apiShoppingListEntryCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/",method:"POST",headers:r,query:i,body:bd(t.shoppingListEntry)},n);return new _(o,a=>Pr(a))}async apiShoppingListEntryCreate(t,n){return await(await this.apiShoppingListEntryCreateRaw(t,n)).value()}async apiShoppingListEntryDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListEntryDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiShoppingListEntryDestroy(t,n){await this.apiShoppingListEntryDestroyRaw(t,n)}async apiShoppingListEntryListRaw(t,n){const i={};t.checked!==void 0&&(i.checked=t.checked),t.id!==void 0&&(i.id=t.id),t.supermarket!==void 0&&(i.supermarket=t.supermarket);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Pr))}async apiShoppingListEntryList(t={},n){return await(await this.apiShoppingListEntryListRaw(t,n)).value()}async apiShoppingListEntryPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListEntryPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:LS(t.patchedShoppingListEntry)},n);return new _(o,a=>Pr(a))}async apiShoppingListEntryPartialUpdate(t,n){return await(await this.apiShoppingListEntryPartialUpdateRaw(t,n)).value()}async apiShoppingListEntryRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListEntryRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Pr(a))}async apiShoppingListEntryRetrieve(t,n){return await(await this.apiShoppingListEntryRetrieveRaw(t,n)).value()}async apiShoppingListEntryUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListEntryUpdate.");if(t.shoppingListEntry===null||t.shoppingListEntry===void 0)throw new w("shoppingListEntry","Required parameter requestParameters.shoppingListEntry was null or undefined when calling apiShoppingListEntryUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:bd(t.shoppingListEntry)},n);return new _(o,a=>Pr(a))}async apiShoppingListEntryUpdate(t,n){return await(await this.apiShoppingListEntryUpdateRaw(t,n)).value()}async apiShoppingListRecipeCreateRaw(t,n){if(t.shoppingListRecipe===null||t.shoppingListRecipe===void 0)throw new w("shoppingListRecipe","Required parameter requestParameters.shoppingListRecipe was null or undefined when calling apiShoppingListRecipeCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-recipe/",method:"POST",headers:r,query:i,body:gd(t.shoppingListRecipe)},n);return new _(o,a=>Hi(a))}async apiShoppingListRecipeCreate(t,n){return await(await this.apiShoppingListRecipeCreateRaw(t,n)).value()}async apiShoppingListRecipeDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListRecipeDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiShoppingListRecipeDestroy(t,n){await this.apiShoppingListRecipeDestroyRaw(t,n)}async apiShoppingListRecipeListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/shopping-list-recipe/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Hi))}async apiShoppingListRecipeList(t){return await(await this.apiShoppingListRecipeListRaw(t)).value()}async apiShoppingListRecipePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListRecipePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:PS(t.patchedShoppingListRecipe)},n);return new _(o,a=>Hi(a))}async apiShoppingListRecipePartialUpdate(t,n){return await(await this.apiShoppingListRecipePartialUpdateRaw(t,n)).value()}async apiShoppingListRecipeRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListRecipeRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Hi(a))}async apiShoppingListRecipeRetrieve(t,n){return await(await this.apiShoppingListRecipeRetrieveRaw(t,n)).value()}async apiShoppingListRecipeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiShoppingListRecipeUpdate.");if(t.shoppingListRecipe===null||t.shoppingListRecipe===void 0)throw new w("shoppingListRecipe","Required parameter requestParameters.shoppingListRecipe was null or undefined when calling apiShoppingListRecipeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:gd(t.shoppingListRecipe)},n);return new _(o,a=>Hi(a))}async apiShoppingListRecipeUpdate(t,n){return await(await this.apiShoppingListRecipeUpdateRaw(t,n)).value()}async apiSpaceListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/space/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Ns))}async apiSpaceList(t){return await(await this.apiSpaceListRaw(t)).value()}async apiSpacePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSpacePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:BS(t.patchedSpace)},n);return new _(o,a=>Ns(a))}async apiSpacePartialUpdate(t,n){return await(await this.apiSpacePartialUpdateRaw(t,n)).value()}async apiSpaceRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSpaceRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ns(a))}async apiSpaceRetrieve(t,n){return await(await this.apiSpaceRetrieveRaw(t,n)).value()}async apiStepCreateRaw(t,n){if(t.step===null||t.step===void 0)throw new w("step","Required parameter requestParameters.step was null or undefined when calling apiStepCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/",method:"POST",headers:r,query:i,body:Oa(t.step)},n);return new _(o,a=>Ki(a))}async apiStepCreate(t,n){return await(await this.apiStepCreateRaw(t,n)).value()}async apiStepDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStepDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiStepDestroy(t,n){await this.apiStepDestroyRaw(t,n)}async apiStepListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize),t.query!==void 0&&(i.query=t.query),t.recipe!==void 0&&(i.recipe=t.recipe);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/",method:"GET",headers:r,query:i},n);return new _(o,a=>Yb(a))}async apiStepList(t={},n){return await(await this.apiStepListRaw(t,n)).value()}async apiStepPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStepPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:$S(t.patchedStep)},n);return new _(o,a=>Ki(a))}async apiStepPartialUpdate(t,n){return await(await this.apiStepPartialUpdateRaw(t,n)).value()}async apiStepRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStepRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ki(a))}async apiStepRetrieve(t,n){return await(await this.apiStepRetrieveRaw(t,n)).value()}async apiStepUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStepUpdate.");if(t.step===null||t.step===void 0)throw new w("step","Required parameter requestParameters.step was null or undefined when calling apiStepUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Oa(t.step)},n);return new _(o,a=>Ki(a))}async apiStepUpdate(t,n){return await(await this.apiStepUpdateRaw(t,n)).value()}async apiStorageCreateRaw(t,n){if(t.storage===null||t.storage===void 0)throw new w("storage","Required parameter requestParameters.storage was null or undefined when calling apiStorageCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/storage/",method:"POST",headers:r,query:i,body:Sd(t.storage)},n);return new _(o,a=>Ur(a))}async apiStorageCreate(t,n){return await(await this.apiStorageCreateRaw(t,n)).value()}async apiStorageDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStorageDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiStorageDestroy(t,n){await this.apiStorageDestroyRaw(t,n)}async apiStorageListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/storage/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Ur))}async apiStorageList(t){return await(await this.apiStorageListRaw(t)).value()}async apiStoragePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStoragePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:MS(t.patchedStorage)},n);return new _(o,a=>Ur(a))}async apiStoragePartialUpdate(t,n){return await(await this.apiStoragePartialUpdateRaw(t,n)).value()}async apiStorageRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStorageRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ur(a))}async apiStorageRetrieve(t,n){return await(await this.apiStorageRetrieveRaw(t,n)).value()}async apiStorageUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiStorageUpdate.");if(t.storage===null||t.storage===void 0)throw new w("storage","Required parameter requestParameters.storage was null or undefined when calling apiStorageUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Sd(t.storage)},n);return new _(o,a=>Ur(a))}async apiStorageUpdate(t,n){return await(await this.apiStorageUpdateRaw(t,n)).value()}async apiSupermarketCategoryCreateRaw(t,n){if(t.supermarketCategory===null||t.supermarketCategory===void 0)throw new w("supermarketCategory","Required parameter requestParameters.supermarketCategory was null or undefined when calling apiSupermarketCategoryCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/",method:"POST",headers:r,query:i,body:Ci(t.supermarketCategory)},n);return new _(o,a=>Qn(a))}async apiSupermarketCategoryCreate(t,n){return await(await this.apiSupermarketCategoryCreateRaw(t,n)).value()}async apiSupermarketCategoryDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiSupermarketCategoryDestroy(t,n){await this.apiSupermarketCategoryDestroyRaw(t,n)}async apiSupermarketCategoryListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/supermarket-category/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Qn))}async apiSupermarketCategoryList(t){return await(await this.apiSupermarketCategoryListRaw(t)).value()}async apiSupermarketCategoryMergeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryMergeUpdate.");if(t.target===null||t.target===void 0)throw new w("target","Required parameter requestParameters.target was null or undefined when calling apiSupermarketCategoryMergeUpdate.");if(t.supermarketCategory===null||t.supermarketCategory===void 0)throw new w("supermarketCategory","Required parameter requestParameters.supermarketCategory was null or undefined when calling apiSupermarketCategoryMergeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:r,query:i,body:Ci(t.supermarketCategory)},n);return new _(o,a=>Qn(a))}async apiSupermarketCategoryMergeUpdate(t,n){return await(await this.apiSupermarketCategoryMergeUpdateRaw(t,n)).value()}async apiSupermarketCategoryPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:qS(t.patchedSupermarketCategory)},n);return new _(o,a=>Qn(a))}async apiSupermarketCategoryPartialUpdate(t,n){return await(await this.apiSupermarketCategoryPartialUpdateRaw(t,n)).value()}async apiSupermarketCategoryRelationCreateRaw(t,n){if(t.supermarketCategoryRelation===null||t.supermarketCategoryRelation===void 0)throw new w("supermarketCategoryRelation","Required parameter requestParameters.supermarketCategoryRelation was null or undefined when calling apiSupermarketCategoryRelationCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/",method:"POST",headers:r,query:i,body:hd(t.supermarketCategoryRelation)},n);return new _(o,a=>Zi(a))}async apiSupermarketCategoryRelationCreate(t,n){return await(await this.apiSupermarketCategoryRelationCreateRaw(t,n)).value()}async apiSupermarketCategoryRelationDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryRelationDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiSupermarketCategoryRelationDestroy(t,n){await this.apiSupermarketCategoryRelationDestroyRaw(t,n)}async apiSupermarketCategoryRelationListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/",method:"GET",headers:r,query:i},n);return new _(o,a=>jb(a))}async apiSupermarketCategoryRelationList(t={},n){return await(await this.apiSupermarketCategoryRelationListRaw(t,n)).value()}async apiSupermarketCategoryRelationPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryRelationPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:zS(t.patchedSupermarketCategoryRelation)},n);return new _(o,a=>Zi(a))}async apiSupermarketCategoryRelationPartialUpdate(t,n){return await(await this.apiSupermarketCategoryRelationPartialUpdateRaw(t,n)).value()}async apiSupermarketCategoryRelationRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryRelationRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Zi(a))}async apiSupermarketCategoryRelationRetrieve(t,n){return await(await this.apiSupermarketCategoryRelationRetrieveRaw(t,n)).value()}async apiSupermarketCategoryRelationUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryRelationUpdate.");if(t.supermarketCategoryRelation===null||t.supermarketCategoryRelation===void 0)throw new w("supermarketCategoryRelation","Required parameter requestParameters.supermarketCategoryRelation was null or undefined when calling apiSupermarketCategoryRelationUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:hd(t.supermarketCategoryRelation)},n);return new _(o,a=>Zi(a))}async apiSupermarketCategoryRelationUpdate(t,n){return await(await this.apiSupermarketCategoryRelationUpdateRaw(t,n)).value()}async apiSupermarketCategoryRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Qn(a))}async apiSupermarketCategoryRetrieve(t,n){return await(await this.apiSupermarketCategoryRetrieveRaw(t,n)).value()}async apiSupermarketCategoryUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketCategoryUpdate.");if(t.supermarketCategory===null||t.supermarketCategory===void 0)throw new w("supermarketCategory","Required parameter requestParameters.supermarketCategory was null or undefined when calling apiSupermarketCategoryUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Ci(t.supermarketCategory)},n);return new _(o,a=>Qn(a))}async apiSupermarketCategoryUpdate(t,n){return await(await this.apiSupermarketCategoryUpdateRaw(t,n)).value()}async apiSupermarketCreateRaw(t,n){if(t.supermarket===null||t.supermarket===void 0)throw new w("supermarket","Required parameter requestParameters.supermarket was null or undefined when calling apiSupermarketCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/",method:"POST",headers:r,query:i,body:Cd(t.supermarket)},n);return new _(o,a=>Fr(a))}async apiSupermarketCreate(t,n){return await(await this.apiSupermarketCreateRaw(t,n)).value()}async apiSupermarketDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiSupermarketDestroy(t,n){await this.apiSupermarketDestroyRaw(t,n)}async apiSupermarketListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Fr))}async apiSupermarketList(t={},n){return await(await this.apiSupermarketListRaw(t,n)).value()}async apiSupermarketPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:VS(t.patchedSupermarket)},n);return new _(o,a=>Fr(a))}async apiSupermarketPartialUpdate(t,n){return await(await this.apiSupermarketPartialUpdateRaw(t,n)).value()}async apiSupermarketRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Fr(a))}async apiSupermarketRetrieve(t,n){return await(await this.apiSupermarketRetrieveRaw(t,n)).value()}async apiSupermarketUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSupermarketUpdate.");if(t.supermarket===null||t.supermarket===void 0)throw new w("supermarket","Required parameter requestParameters.supermarket was null or undefined when calling apiSupermarketUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Cd(t.supermarket)},n);return new _(o,a=>Fr(a))}async apiSupermarketUpdate(t,n){return await(await this.apiSupermarketUpdateRaw(t,n)).value()}async apiSwitchActiveSpaceRetrieveRaw(t,n){if(t.spaceId===null||t.spaceId===void 0)throw new w("spaceId","Required parameter requestParameters.spaceId was null or undefined when calling apiSwitchActiveSpaceRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/switch-active-space/{space_id}/".replace("{space_id}",encodeURIComponent(String(t.spaceId))),method:"GET",headers:r,query:i},n);return new Re(o)}async apiSwitchActiveSpaceRetrieve(t,n){await this.apiSwitchActiveSpaceRetrieveRaw(t,n)}async apiSyncCreateRaw(t,n){if(t.sync===null||t.sync===void 0)throw new w("sync","Required parameter requestParameters.sync was null or undefined when calling apiSyncCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync/",method:"POST",headers:r,query:i,body:Rd(t.sync)},n);return new _(o,a=>Dr(a))}async apiSyncCreate(t,n){return await(await this.apiSyncCreateRaw(t,n)).value()}async apiSyncDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSyncDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiSyncDestroy(t,n){await this.apiSyncDestroyRaw(t,n)}async apiSyncListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/sync/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Dr))}async apiSyncList(t){return await(await this.apiSyncListRaw(t)).value()}async apiSyncLogListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync-log/",method:"GET",headers:r,query:i},n);return new _(o,a=>nS(a))}async apiSyncLogList(t={},n){return await(await this.apiSyncLogListRaw(t,n)).value()}async apiSyncLogRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSyncLogRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Ah(a))}async apiSyncLogRetrieve(t,n){return await(await this.apiSyncLogRetrieveRaw(t,n)).value()}async apiSyncPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSyncPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:HS(t.patchedSync)},n);return new _(o,a=>Dr(a))}async apiSyncPartialUpdate(t,n){return await(await this.apiSyncPartialUpdateRaw(t,n)).value()}async apiSyncRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSyncRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Dr(a))}async apiSyncRetrieve(t,n){return await(await this.apiSyncRetrieveRaw(t,n)).value()}async apiSyncUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiSyncUpdate.");if(t.sync===null||t.sync===void 0)throw new w("sync","Required parameter requestParameters.sync was null or undefined when calling apiSyncUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Rd(t.sync)},n);return new _(o,a=>Dr(a))}async apiSyncUpdate(t,n){return await(await this.apiSyncUpdateRaw(t,n)).value()}async apiUnitConversionCreateRaw(t,n){if(t.unitConversion===null||t.unitConversion===void 0)throw new w("unitConversion","Required parameter requestParameters.unitConversion was null or undefined when calling apiUnitConversionCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/",method:"POST",headers:r,query:i,body:_d(t.unitConversion)},n);return new _(o,a=>Nr(a))}async apiUnitConversionCreate(t,n){return await(await this.apiUnitConversionCreateRaw(t,n)).value()}async apiUnitConversionDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitConversionDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiUnitConversionDestroy(t,n){await this.apiUnitConversionDestroyRaw(t,n)}async apiUnitConversionListRaw(t,n){const i={};t.foodId!==void 0&&(i.food_id=t.foodId);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Nr))}async apiUnitConversionList(t={},n){return await(await this.apiUnitConversionListRaw(t,n)).value()}async apiUnitConversionPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitConversionPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:JS(t.patchedUnitConversion)},n);return new _(o,a=>Nr(a))}async apiUnitConversionPartialUpdate(t,n){return await(await this.apiUnitConversionPartialUpdateRaw(t,n)).value()}async apiUnitConversionRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitConversionRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Nr(a))}async apiUnitConversionRetrieve(t,n){return await(await this.apiUnitConversionRetrieveRaw(t,n)).value()}async apiUnitConversionUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitConversionUpdate.");if(t.unitConversion===null||t.unitConversion===void 0)throw new w("unitConversion","Required parameter requestParameters.unitConversion was null or undefined when calling apiUnitConversionUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:_d(t.unitConversion)},n);return new _(o,a=>Nr(a))}async apiUnitConversionUpdate(t,n){return await(await this.apiUnitConversionUpdateRaw(t,n)).value()}async apiUnitCreateRaw(t,n){if(t.unit===null||t.unit===void 0)throw new w("unit","Required parameter requestParameters.unit was null or undefined when calling apiUnitCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/",method:"POST",headers:r,query:i,body:Dt(t.unit)},n);return new _(o,a=>rn(a))}async apiUnitCreate(t,n){return await(await this.apiUnitCreateRaw(t,n)).value()}async apiUnitDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiUnitDestroy(t,n){await this.apiUnitDestroyRaw(t,n)}async apiUnitListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/",method:"GET",headers:r,query:i},n);return new _(o,a=>rS(a))}async apiUnitList(t={},n){return await(await this.apiUnitListRaw(t,n)).value()}async apiUnitMergeUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitMergeUpdate.");if(t.target===null||t.target===void 0)throw new w("target","Required parameter requestParameters.target was null or undefined when calling apiUnitMergeUpdate.");if(t.unit===null||t.unit===void 0)throw new w("unit","Required parameter requestParameters.unit was null or undefined when calling apiUnitMergeUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:r,query:i,body:Dt(t.unit)},n);return new _(o,a=>rn(a))}async apiUnitMergeUpdate(t,n){return await(await this.apiUnitMergeUpdateRaw(t,n)).value()}async apiUnitPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:WS(t.patchedUnit)},n);return new _(o,a=>rn(a))}async apiUnitPartialUpdate(t,n){return await(await this.apiUnitPartialUpdateRaw(t,n)).value()}async apiUnitRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>rn(a))}async apiUnitRetrieve(t,n){return await(await this.apiUnitRetrieveRaw(t,n)).value()}async apiUnitUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUnitUpdate.");if(t.unit===null||t.unit===void 0)throw new w("unit","Required parameter requestParameters.unit was null or undefined when calling apiUnitUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:Dt(t.unit)},n);return new _(o,a=>rn(a))}async apiUnitUpdate(t,n){return await(await this.apiUnitUpdateRaw(t,n)).value()}async apiUserFileCreateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserFileCreate.");if(t.name===null||t.name===void 0)throw new w("name","Required parameter requestParameters.name was null or undefined when calling apiUserFileCreate.");if(t.file===null||t.file===void 0)throw new w("file","Required parameter requestParameters.file was null or undefined when calling apiUserFileCreate.");if(t.fileDownload===null||t.fileDownload===void 0)throw new w("fileDownload","Required parameter requestParameters.fileDownload was null or undefined when calling apiUserFileCreate.");if(t.preview===null||t.preview===void 0)throw new w("preview","Required parameter requestParameters.preview was null or undefined when calling apiUserFileCreate.");if(t.fileSizeKb===null||t.fileSizeKb===void 0)throw new w("fileSizeKb","Required parameter requestParameters.fileSizeKb was null or undefined when calling apiUserFileCreate.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password)),Zo([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id!==void 0&&a.append("id",t.id),t.name!==void 0&&a.append("name",t.name),t.file!==void 0&&a.append("file",t.file),t.fileDownload!==void 0&&a.append("file_download",t.fileDownload),t.preview!==void 0&&a.append("preview",t.preview),t.fileSizeKb!==void 0&&a.append("file_size_kb",t.fileSizeKb);const s=await this.request({path:"/api/user-file/",method:"POST",headers:r,query:i,body:a},n);return new _(s,l=>Br(l))}async apiUserFileCreate(t,n){return await(await this.apiUserFileCreateRaw(t,n)).value()}async apiUserFileDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserFileDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiUserFileDestroy(t,n){await this.apiUserFileDestroyRaw(t,n)}async apiUserFileListRaw(t,n){const i={};t.limit!==void 0&&(i.limit=t.limit),t.query!==void 0&&(i.query=t.query),t.random!==void 0&&(i.random=t.random),t.updatedAt!==void 0&&(i.updated_at=t.updatedAt);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-file/",method:"GET",headers:r,query:i},n);return new _(o,a=>a.map(Br))}async apiUserFileList(t={},n){return await(await this.apiUserFileListRaw(t,n)).value()}async apiUserFilePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserFilePartialUpdate.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password)),Zo([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id2!==void 0&&a.append("id",t.id2),t.name!==void 0&&a.append("name",t.name),t.file!==void 0&&a.append("file",t.file),t.fileDownload!==void 0&&a.append("file_download",t.fileDownload),t.preview!==void 0&&a.append("preview",t.preview),t.fileSizeKb!==void 0&&a.append("file_size_kb",t.fileSizeKb);const s=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:a},n);return new _(s,l=>Br(l))}async apiUserFilePartialUpdate(t,n){return await(await this.apiUserFilePartialUpdateRaw(t,n)).value()}async apiUserFileRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserFileRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Br(a))}async apiUserFileRetrieve(t,n){return await(await this.apiUserFileRetrieveRaw(t,n)).value()}async apiUserFileUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserFileUpdate.");if(t.id2===null||t.id2===void 0)throw new w("id2","Required parameter requestParameters.id2 was null or undefined when calling apiUserFileUpdate.");if(t.name===null||t.name===void 0)throw new w("name","Required parameter requestParameters.name was null or undefined when calling apiUserFileUpdate.");if(t.file===null||t.file===void 0)throw new w("file","Required parameter requestParameters.file was null or undefined when calling apiUserFileUpdate.");if(t.fileDownload===null||t.fileDownload===void 0)throw new w("fileDownload","Required parameter requestParameters.fileDownload was null or undefined when calling apiUserFileUpdate.");if(t.preview===null||t.preview===void 0)throw new w("preview","Required parameter requestParameters.preview was null or undefined when calling apiUserFileUpdate.");if(t.fileSizeKb===null||t.fileSizeKb===void 0)throw new w("fileSizeKb","Required parameter requestParameters.fileSizeKb was null or undefined when calling apiUserFileUpdate.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password)),Zo([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id2!==void 0&&a.append("id",t.id2),t.name!==void 0&&a.append("name",t.name),t.file!==void 0&&a.append("file",t.file),t.fileDownload!==void 0&&a.append("file_download",t.fileDownload),t.preview!==void 0&&a.append("preview",t.preview),t.fileSizeKb!==void 0&&a.append("file_size_kb",t.fileSizeKb);const s=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:a},n);return new _(s,l=>Br(l))}async apiUserFileUpdate(t,n){return await(await this.apiUserFileUpdateRaw(t,n)).value()}async apiUserListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/user/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Zt))}async apiUserList(t){return await(await this.apiUserListRaw(t)).value()}async apiUserPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:GS(t.patchedUser)},n);return new _(o,a=>Zt(a))}async apiUserPartialUpdate(t,n){return await(await this.apiUserPartialUpdateRaw(t,n)).value()}async apiUserPreferenceListRaw(t){const n={},i={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(i.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const r=await this.request({path:"/api/user-preference/",method:"GET",headers:i,query:n},t);return new _(r,o=>o.map(Bs))}async apiUserPreferenceList(t){return await(await this.apiUserPreferenceListRaw(t)).value()}async apiUserPreferencePartialUpdateRaw(t,n){if(t.user===null||t.user===void 0)throw new w("user","Required parameter requestParameters.user was null or undefined when calling apiUserPreferencePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"PATCH",headers:r,query:i,body:QS(t.patchedUserPreference)},n);return new _(o,a=>Bs(a))}async apiUserPreferencePartialUpdate(t,n){return await(await this.apiUserPreferencePartialUpdateRaw(t,n)).value()}async apiUserPreferenceRetrieveRaw(t,n){if(t.user===null||t.user===void 0)throw new w("user","Required parameter requestParameters.user was null or undefined when calling apiUserPreferenceRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"GET",headers:r,query:i},n);return new _(o,a=>Bs(a))}async apiUserPreferenceRetrieve(t,n){return await(await this.apiUserPreferenceRetrieveRaw(t,n)).value()}async apiUserRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Zt(a))}async apiUserRetrieve(t,n){return await(await this.apiUserRetrieveRaw(t,n)).value()}async apiUserSpaceDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserSpaceDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiUserSpaceDestroy(t,n){await this.apiUserSpaceDestroyRaw(t,n)}async apiUserSpaceListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-space/",method:"GET",headers:r,query:i},n);return new _(o,a=>sS(a))}async apiUserSpaceList(t={},n){return await(await this.apiUserSpaceListRaw(t,n)).value()}async apiUserSpacePartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserSpacePartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:jS(t.patchedUserSpace)},n);return new _(o,a=>wl(a))}async apiUserSpacePartialUpdate(t,n){return await(await this.apiUserSpacePartialUpdateRaw(t,n)).value()}async apiUserSpaceRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiUserSpaceRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>wl(a))}async apiUserSpaceRetrieve(t,n){return await(await this.apiUserSpaceRetrieveRaw(t,n)).value()}async apiViewLogCreateRaw(t,n){if(t.viewLog===null||t.viewLog===void 0)throw new w("viewLog","Required parameter requestParameters.viewLog was null or undefined when calling apiViewLogCreate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/",method:"POST",headers:r,query:i,body:md(t.viewLog)},n);return new _(o,a=>Gr(a))}async apiViewLogCreate(t,n){return await(await this.apiViewLogCreateRaw(t,n)).value()}async apiViewLogDestroyRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiViewLogDestroy.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:r,query:i},n);return new Re(o)}async apiViewLogDestroy(t,n){await this.apiViewLogDestroyRaw(t,n)}async apiViewLogListRaw(t,n){const i={};t.page!==void 0&&(i.page=t.page),t.pageSize!==void 0&&(i.page_size=t.pageSize);const r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/",method:"GET",headers:r,query:i},n);return new _(o,a=>cS(a))}async apiViewLogList(t={},n){return await(await this.apiViewLogListRaw(t,n)).value()}async apiViewLogPartialUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiViewLogPartialUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:r,query:i,body:eC(t.patchedViewLog)},n);return new _(o,a=>Gr(a))}async apiViewLogPartialUpdate(t,n){return await(await this.apiViewLogPartialUpdateRaw(t,n)).value()}async apiViewLogRetrieveRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiViewLogRetrieve.");const i={},r={};this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:r,query:i},n);return new _(o,a=>Gr(a))}async apiViewLogRetrieve(t,n){return await(await this.apiViewLogRetrieveRaw(t,n)).value()}async apiViewLogUpdateRaw(t,n){if(t.id===null||t.id===void 0)throw new w("id","Required parameter requestParameters.id was null or undefined when calling apiViewLogUpdate.");if(t.viewLog===null||t.viewLog===void 0)throw new w("viewLog","Required parameter requestParameters.viewLog was null or undefined when calling apiViewLogUpdate.");const i={},r={};r["Content-Type"]="application/json",this.configuration&&(this.configuration.username!==void 0||this.configuration.password!==void 0)&&(r.Authorization="Basic "+btoa(this.configuration.username+":"+this.configuration.password));const o=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:r,query:i,body:md(t.viewLog)},n);return new _(o,a=>Gr(a))}async apiViewLogUpdate(t,n){return await(await this.apiViewLogUpdateRaw(t,n)).value()}}const CC=pt({name:"GlobalSearchDialog",props:{},watch:{dialog:function(e){setTimeout(()=>{if(e){let t=document.getElementById("id_global_search_input");t!=null&&t.focus()}},20)},search_query:function(e){this.selected_result>=this.search_results.length&&(this.selected_result=this.search_results.length-1)}},data(){return{dialog:!1,recipes:[],flat_recipes:[],search_query:null,selected_result:0}},computed:{search_results:function(){let e=[];return this.search_query!=""&&this.search_query!=null?(e.push({name:this.search_query,icon:"fas fa-search",suffix:"Advanced Search"}),this.flat_recipes.filter(t=>t.name.toLowerCase().includes(this.search_query.toLowerCase())).slice(0,10).forEach(t=>{e.push({name:t.name,image:t.image,recipe_id:t.id})})):this.flat_recipes.slice(0,5).forEach(t=>{e.push({name:t.name,image:t.image,recipe_id:t.id})}),e}},mounted(){window.addEventListener("keydown",t=>{t.key=="ArrowUp"&&(this.selected_result=Math.max(0,this.selected_result-1)),t.key=="ArrowDown"&&(this.selected_result=Math.min(this.search_results.length,this.selected_result+1)),t.key=="Enter"&&this.goToSelectedRecipe()}),new us().apiRecipeFlatList().then(t=>{this.flat_recipes=t})},methods:{cardVariant(e){return this.selected_result==e?"tonal":"elevated"},goToSelectedRecipe(){this.dialog=!1;let e=this.search_results[this.selected_result];e.recipe_id!=null&&this.$router.push({name:"view_recipe",params:{id:e.recipe_id}})}}}),Ct=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Ye=typeof window<"u",hu=Ye&&"IntersectionObserver"in window,RC=Ye&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function _C(e,t,n){const i=t.length-1;if(i<0)return e===void 0?n:e;for(let r=0;r<i;r++){if(e==null)return n;e=e[t[r]]}return e==null||e[t[i]]===void 0?n:e[t[i]]}function cs(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(i=>cs(e[i],t[i]))}function kd(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),_C(e,t.split("."),n))}function mu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,i)=>t+i)}function le(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function La(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Pa(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const Td=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 $s(e,t){return t.every(n=>e.hasOwnProperty(n))}function Oh(e,t){const n={},i=new Set(Object.keys(e));for(const r of t)i.has(r)&&(n[r]=e[r]);return n}function Ed(e,t,n){const i=Object.create(null),r=Object.create(null);for(const o in e)t.some(a=>a instanceof RegExp?a.test(o):a===o)&&!(n!=null&&n.some(a=>a===o))?i[o]=e[o]:r[o]=e[o];return[i,r]}function gu(e,t){const n={...e};return t.forEach(i=>delete n[i]),n}const Lh=/^on[^a-z]/,vu=e=>Lh.test(e),kC=["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"];function TC(e){const[t,n]=Ed(e,[Lh]),i=gu(t,kC),[r,o]=Ed(n,["class","style","id",/^data-/]);return Object.assign(r,t),Object.assign(o,i),[r,o]}function io(e){return e==null?[]:Array.isArray(e)?e:[e]}function lr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Id(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function xd(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function EC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let i=0;for(;i<e.length;)n.push(e.substr(i,t)),i+=t;return n}function Ut(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const r in e)i[r]=e[r];for(const r in t){const o=e[r],a=t[r];if(La(o)&&La(a)){i[r]=Ut(o,a,n);continue}if(Array.isArray(o)&&Array.isArray(a)&&n){i[r]=n(o,a);continue}i[r]=a}return i}function Ph(e){return e.map(t=>t.type===_e?Ph(t.children):t).flat()}function Ri(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ri.cache.has(e))return Ri.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ri.cache.set(e,t),t}Ri.cache=new Map;function ro(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>ro(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>ro(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return ro(e,t.component.subTree).flat(1)}return[]}function yu(e){const t=ht({}),n=C(e);return Dn(()=>{for(const i in n.value)t[i]=n.value[i]},{flush:"sync"}),Ql(t)}function Ua(e,t){return e.includes(t)}function Uh(e){return e[2].toLowerCase()+e.slice(3)}const xn=()=>[Function,Array];function Ad(e,t){return t="on"+Fn(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function IC(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(Array.isArray(e))for(const r of e)r(...n);else typeof e=="function"&&e(...n)}function Fh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(i=>`${i}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function xC(e,t){if(!(Ye&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function AC(e,t){if(!Ye||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}const Dh=["top","bottom"],OC=["start","end","left","right"];function bl(e,t){let[n,i]=e.split(" ");return i||(i=Ua(Dh,n)?"start":Ua(OC,n)?"top":"center"),{side:Od(n,t),align:Od(i,t)}}function Od(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Ms(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Vs(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Ld(e){return{side:e.align,align:e.side}}function Pd(e){return Ua(Dh,e.side)?"y":"x"}class _i{constructor(t){let{x:n,y:i,width:r,height:o}=t;this.x=n,this.y=i,this.width=r,this.height=o}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 Ud(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Nh(e){return Array.isArray(e)?new _i({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function wu(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),i=n.transform;if(i){let r,o,a,s,l;if(i.startsWith("matrix3d("))r=i.slice(9,-1).split(/, /),o=+r[0],a=+r[5],s=+r[12],l=+r[13];else if(i.startsWith("matrix("))r=i.slice(7,-1).split(/, /),o=+r[0],a=+r[3],s=+r[4],l=+r[5];else return new _i(t);const u=n.transformOrigin,c=t.x-s-(1-o)*parseFloat(u),d=t.y-l-(1-a)*parseFloat(u.slice(u.indexOf(" ")+1)),f=o?t.width/o:e.offsetWidth+1,h=a?t.height/a:e.offsetHeight+1;return new _i({x:c,y:d,width:f,height:h})}else return new _i(t)}function vi(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let i;try{i=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof i.finished>"u"&&(i.finished=new Promise(r=>{i.onfinish=()=>{r(i)}})),i}const da=new WeakMap;function LC(e,t){Object.keys(t).forEach(n=>{if(vu(n)){const i=Uh(n),r=da.get(e);if(t[n]==null)r==null||r.forEach(o=>{const[a,s]=o;a===i&&(e.removeEventListener(i,s),r.delete(o))});else if(!r||![...r].some(o=>o[0]===i&&o[1]===t[n])){e.addEventListener(i,t[n]);const o=r||new Set;o.add([i,t[n]]),da.has(e)||da.set(e,o)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function PC(e,t){Object.keys(t).forEach(n=>{if(vu(n)){const i=Uh(n),r=da.get(e);r==null||r.forEach(o=>{const[a,s]=o;a===i&&(e.removeEventListener(i,s),r.delete(o))})}else e.removeAttribute(n)})}const Ni=2.4,Fd=.2126729,Dd=.7151522,Nd=.072175,UC=.55,FC=.58,DC=.57,NC=.62,Qo=.03,Bd=1.45,BC=5e-4,$C=1.25,MC=1.25,$d=.078,Md=12.82051282051282,jo=.06,Vd=.001;function qd(e,t){const n=(e.r/255)**Ni,i=(e.g/255)**Ni,r=(e.b/255)**Ni,o=(t.r/255)**Ni,a=(t.g/255)**Ni,s=(t.b/255)**Ni;let l=n*Fd+i*Dd+r*Nd,u=o*Fd+a*Dd+s*Nd;if(l<=Qo&&(l+=(Qo-l)**Bd),u<=Qo&&(u+=(Qo-u)**Bd),Math.abs(u-l)<BC)return 0;let c;if(u>l){const d=(u**UC-l**FC)*$C;c=d<Vd?0:d<$d?d-d*Md*jo:d-jo}else{const d=(u**NC-l**DC)*MC;c=d>-Vd?0:d>-$d?d-d*Md*jo:d+jo}return c*100}const Fa=.20689655172413793,VC=e=>e>Fa**3?Math.cbrt(e):e/(3*Fa**2)+4/29,qC=e=>e>Fa?e**3:3*Fa**2*(e-4/29);function Bh(e){const t=VC,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function $h(e){const t=qC,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const zC=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],HC=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,WC=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],JC=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Mh(e){const t=Array(3),n=HC,i=zC;for(let r=0;r<3;++r)t[r]=Math.round(lr(n(i[r][0]*e[0]+i[r][1]*e[1]+i[r][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function bu(e){let{r:t,g:n,b:i}=e;const r=[0,0,0],o=JC,a=WC;t=o(t/255),n=o(n/255),i=o(i/255);for(let s=0;s<3;++s)r[s]=a[s][0]*t+a[s][1]*n+a[s][2]*i;return r}function Sl(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function GC(e){return Sl(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const zd=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,KC={rgb:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),rgba:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),hsl:(e,t,n,i)=>Hd({h:e,s:t,l:n,a:i}),hsla:(e,t,n,i)=>Hd({h:e,s:t,l:n,a:i}),hsv:(e,t,n,i)=>vo({h:e,s:t,v:n,a:i}),hsva:(e,t,n,i)=>vo({h:e,s:t,v:n,a:i})};function vn(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&zd.test(e)){const{groups:t}=e.match(zd),{fn:n,values:i}=t,r=i.split(/,\s*/).map(o=>o.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(o)/100:parseFloat(o));return KC[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),YC(t)}else if(typeof e=="object"){if($s(e,["r","g","b"]))return e;if($s(e,["h","s","l"]))return vo(Vh(e));if($s(e,["h","s","v"]))return vo(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
|
||
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function vo(e){const{h:t,s:n,v:i,a:r}=e,o=s=>{const l=(s+t/60)%6;return i-i*n*Math.max(Math.min(l,4-l,1),0)},a=[o(5),o(3),o(1)].map(s=>Math.round(s*255));return{r:a[0],g:a[1],b:a[2],a:r}}function Hd(e){return vo(Vh(e))}function Vh(e){const{h:t,s:n,l:i,a:r}=e,o=i+n*Math.min(i,1-i),a=o===0?0:2-2*i/o;return{h:t,s:a,v:o,a:r}}function ea(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function ZC(e){let{r:t,g:n,b:i,a:r}=e;return`#${[ea(t),ea(n),ea(i),r!==void 0?ea(Math.round(r*255)):""].join("")}`}function YC(e){e=XC(e);let[t,n,i,r]=EC(e,2).map(o=>parseInt(o,16));return r=r===void 0?r:r/255,{r:t,g:n,b:i,a:r}}function XC(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Id(Id(e,6),8,"F")),e}function QC(e,t){const n=Bh(bu(e));return n[0]=n[0]+t*10,Mh($h(n))}function jC(e,t){const n=Bh(bu(e));return n[0]=n[0]-t*10,Mh($h(n))}function eR(e){const t=vn(e);return bu(t)[1]}function qh(e){const t=Math.abs(qd(vn(0),vn(e)));return Math.abs(qd(vn(16777215),vn(e)))>Math.min(t,50)?"#fff":"#000"}function J(e,t){return n=>Object.keys(e).reduce((i,r)=>{const a=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?i[r]={...a,default:n[r]}:i[r]=a,t&&!i[r].source&&(i[r].source=t),i},{})}const Ce=J({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function hr(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=J(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(i){return Oh(i,t)},e.props._as=String,e.setup=function(i,r){const o=Cu();if(!o.value)return e._setup(i,r);const{props:a,provideSubDefaults:s}=uR(i,i._as??e.name,o),l=e._setup(a,r);return s(),l}}return e}function oe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?hr:pt)(t)}function Io(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return oe()({name:n??Fn(Yt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Ce()},setup(i,r){let{slots:o}=r;return()=>{var a;return bn(i.tag,{class:[e,i.class],style:i.style},(a=o.default)==null?void 0:a.call(o))}}})}function zh(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const yo="cubic-bezier(0.4, 0, 0.2, 1)",tR="cubic-bezier(0.0, 0, 0.2, 1)",nR="cubic-bezier(0.4, 0, 1, 1)";function dt(e,t){const n=cu();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Sn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=dt(e).type;return Ri((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Hh=0,fa=new WeakMap;function $n(){const e=dt("getUid");if(fa.has(e))return fa.get(e);{const t=Hh++;return fa.set(e,t),t}}$n.reset=()=>{Hh=0,fa=new WeakMap};function iR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?rR(e):Su(e))return e;e=e.parentElement}return document.scrollingElement}function Da(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Su(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Su(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function rR(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function oR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function aR(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function pe(e){const t=dt("useRender");t.render=e}const ur=Symbol.for("vuetify:defaults");function sR(e){return Se(e)}function Cu(){const e=Je(ur);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Cn(e,t){const n=Cu(),i=Se(e),r=C(()=>{if(bt(t==null?void 0:t.disabled))return n.value;const a=bt(t==null?void 0:t.scoped),s=bt(t==null?void 0:t.reset),l=bt(t==null?void 0:t.root);if(i.value==null&&!(a||s||l))return n.value;let u=Ut(i.value,{prev:n.value});if(a)return u;if(s||l){const c=Number(s||1/0);for(let d=0;d<=c&&!(!u||!("prev"in u));d++)u=u.prev;return u&&typeof l=="string"&&l in u&&(u=Ut(Ut(u,{prev:u}),u[l])),u}return u.prev?Ut(u.prev,u):u});return Ft(ur,r),r}function lR(e,t){var n,i;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((i=e.props)==null?void 0:i[Ri(t)])<"u"}function uR(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Cu();const i=dt("useDefaults");if(t=t??i.type.name??i.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=C(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),o=new Proxy(e,{get(l,u){var d,f,h,m;const c=Reflect.get(l,u);return u==="class"||u==="style"?[(d=r.value)==null?void 0:d[u],c].filter(g=>g!=null):typeof u=="string"&&!lR(i.vnode,u)?((f=r.value)==null?void 0:f[u])??((m=(h=n.value)==null?void 0:h.global)==null?void 0:m[u])??c:c}}),a=be();Dn(()=>{if(r.value){const l=Object.entries(r.value).filter(u=>{let[c]=u;return c.startsWith(c[0].toUpperCase())});a.value=l.length?Object.fromEntries(l):void 0}else a.value=void 0});function s(){const l=oR(ur,i);Ft(ur,C(()=>a.value?Ut((l==null?void 0:l.value)??{},a.value):l==null?void 0:l.value))}return{props:o,provideSubDefaults:s}}const cR=J({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ct=oe(!1)({name:"VDefaultsProvider",props:cR(),setup(e,t){let{slots:n}=t;const{defaults:i,disabled:r,reset:o,root:a,scoped:s}=Ql(e);return Cn(i,{reset:o,root:a,scoped:s,disabled:r}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}});function Ru(e){return yu(()=>{const t=[],n={};if(e.value.background)if(Sl(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&GC(e.value.background)){const i=vn(e.value.background);if(i.a==null||i.a===1){const r=qh(i);n.color=r,n.caretColor=r}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Sl(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Pn(e,t){const n=C(()=>({text:nt(e)?e.value:t?e[t]:null})),{colorClasses:i,colorStyles:r}=Ru(n);return{textColorClasses:i,textColorStyles:r}}function Qt(e,t){const n=C(()=>({background:nt(e)?e.value:t?e[t]:null})),{colorClasses:i,colorStyles:r}=Ru(n);return{backgroundColorClasses:i,backgroundColorStyles:r}}const dR={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",eyeDropper:"mdi-eyedropper"},fR={component:e=>bn(_u,{...e,class:"mdi"})},qe=[String,Function,Object,Array],Cl=Symbol.for("vuetify:icons"),ds=J({icon:{type:qe},tag:{type:String,required:!0}},"icon"),Wd=oe()({name:"VComponentIcon",props:ds(),setup(e,t){let{slots:n}=t;return()=>{const i=e.icon;return p(e.tag,null,{default:()=>{var r;return[e.icon?p(i,null,null):(r=n.default)==null?void 0:r.call(n)]}})}}}),Wh=hr({name:"VSvgIcon",inheritAttrs:!1,props:ds(),setup(e,t){let{attrs:n}=t;return()=>p(e.tag,Pe(n,{style:null}),{default:()=>[p("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(i=>Array.isArray(i)?p("path",{d:i[0],"fill-opacity":i[1]},null):p("path",{d:i},null)):p("path",{d:e.icon},null)])]})}});hr({name:"VLigatureIcon",props:ds(),setup(e){return()=>p(e.tag,null,{default:()=>[e.icon]})}});const _u=hr({name:"VClassIcon",props:ds(),setup(e){return()=>p(e.tag,{class:e.icon},null)}}),pR={svg:{component:Wh},class:{component:_u}};function hR(e){return Ut({defaultSet:"mdi",sets:{...pR,mdi:fR},aliases:{...dR,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"}},e)}const mR=e=>{const t=Je(Cl);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:C(()=>{var l;const i=bt(e);if(!i)return{component:Wd};let r=i;if(typeof r=="string"&&(r=r.trim(),r.startsWith("$")&&(r=(l=t.aliases)==null?void 0:l[r.slice(1)])),!r)throw new Error(`Could not find aliased icon "${i}"`);if(Array.isArray(r))return{component:Wh,icon:r};if(typeof r!="string")return{component:Wd,icon:r};const o=Object.keys(t.sets).find(u=>typeof r=="string"&&r.startsWith(`${u}:`)),a=o?r.slice(o.length+1):r;return{component:t.sets[o??t.defaultSet].component,icon:a}})}},gR=["x-small","small","default","large","x-large"],oi=J({size:{type:[String,Number],default:"default"}},"size");function mr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return yu(()=>{let n,i;return Ua(gR,e.size)?n=`${t}--size-${e.size}`:e.size&&(i={width:le(e.size),height:le(e.size)}),{sizeClasses:n,sizeStyles:i}})}const He=J({tag:{type:String,default:"div"}},"tag"),wo=Symbol.for("vuetify:theme"),it=J({theme:String},"theme");function Jd(){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 vR(){var i,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jd();const t=Jd();if(!e)return{...t,isDisabled:!0};const n={};for(const[o,a]of Object.entries(e.themes??{})){const s=a.dark||o==="dark"?(i=t.themes)==null?void 0:i.dark:(r=t.themes)==null?void 0:r.light;n[o]=Ut(s,a)}return Ut(t,{...e,themes:n})}function yR(e){const t=vR(e),n=Se(t.defaultTheme),i=Se(t.themes),r=C(()=>{const c={};for(const[d,f]of Object.entries(i.value)){const h=c[d]={...f,colors:{...f.colors}};if(t.variations)for(const m of t.variations.colors){const g=h.colors[m];if(g)for(const S of["lighten","darken"]){const R=S==="lighten"?QC:jC;for(const k of mu(t.variations[S],1))h.colors[`${m}-${S}-${k}`]=ZC(R(vn(g),k))}}for(const m of Object.keys(h.colors)){if(/^on-[a-z]/.test(m)||h.colors[`on-${m}`])continue;const g=`on-${m}`,S=vn(h.colors[m]);h.colors[g]=qh(S)}}return c}),o=C(()=>r.value[n.value]),a=C(()=>{const c=[];o.value.dark&&ci(c,":root",["color-scheme: dark"]),ci(c,":root",Gd(o.value));for(const[m,g]of Object.entries(r.value))ci(c,`.v-theme--${m}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...Gd(g)]);const d=[],f=[],h=new Set(Object.values(r.value).flatMap(m=>Object.keys(m.colors)));for(const m of h)/^on-[a-z]/.test(m)?ci(f,`.${m}`,[`color: rgb(var(--v-theme-${m})) !important`]):(ci(d,`.bg-${m}`,[`--v-theme-overlay-multiplier: var(--v-theme-${m}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${m})) !important`,`color: rgb(var(--v-theme-on-${m})) !important`]),ci(f,`.text-${m}`,[`color: rgb(var(--v-theme-${m})) !important`]),ci(f,`.border-${m}`,[`--v-border-color: var(--v-theme-${m})`]));return c.push(...d,...f),c.map((m,g)=>g===0?m:` ${m}`).join("")});function s(){return{style:[{children:a.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(c){if(t.isDisabled)return;const d=c._context.provides.usehead;if(d)if(d.push){const h=d.push(s);Ye&&we(a,()=>{h.patch(s)})}else Ye?(d.addHeadObjs(C(s)),Dn(()=>d.updateDOM())):d.addHeadObjs(s());else{let m=function(){if(typeof document<"u"&&!h){const g=document.createElement("style");g.type="text/css",g.id="vuetify-theme-stylesheet",t.cspNonce&&g.setAttribute("nonce",t.cspNonce),h=g,document.head.appendChild(h)}h&&(h.innerHTML=a.value)};var f=m;let h=Ye?document.getElementById("vuetify-theme-stylesheet"):null;Ye?we(a,m,{immediate:!0}):m()}}const u=C(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:i,current:o,computedThemes:r,themeClasses:u,styles:a,global:{name:n,current:o}}}function lt(e){dt("provideTheme");const t=Je(wo,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=C(()=>e.theme??t.name.value),i=C(()=>t.themes.value[n.value]),r=C(()=>t.isDisabled?void 0:`v-theme--${n.value}`),o={...t,name:n,current:i,themeClasses:r};return Ft(wo,o),o}function wR(){dt("useTheme");const e=Je(wo,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function ci(e,t,n){e.push(`${t} {
|
||
`,...n.map(i=>` ${i};
|
||
`),`}
|
||
`)}function Gd(e){const t=e.dark?2:1,n=e.dark?1:2,i=[];for(const[r,o]of Object.entries(e.colors)){const a=vn(o);i.push(`--v-theme-${r}: ${a.r},${a.g},${a.b}`),r.startsWith("on-")||i.push(`--v-theme-${r}-overlay-multiplier: ${eR(o)>.18?t:n}`)}for(const[r,o]of Object.entries(e.variables)){const a=typeof o=="string"&&o.startsWith("#")?vn(o):void 0,s=a?`${a.r}, ${a.g}, ${a.b}`:void 0;i.push(`--v-${r}: ${s??o}`)}return i}const bR=J({color:String,start:Boolean,end:Boolean,icon:qe,...Ce(),...oi(),...He({tag:"i"}),...it()},"VIcon"),Qe=oe()({name:"VIcon",props:bR(),setup(e,t){let{attrs:n,slots:i}=t;const r=Se(),{themeClasses:o}=lt(e),{iconData:a}=mR(C(()=>r.value||e.icon)),{sizeClasses:s}=mr(e),{textColorClasses:l,textColorStyles:u}=Pn(ve(e,"color"));return pe(()=>{var d,f;const c=(d=i.default)==null?void 0:d.call(i);return c&&(r.value=(f=Ph(c).filter(h=>h.type===To&&h.children&&typeof h.children=="string")[0])==null?void 0:f.children),p(a.value.component,{tag:e.tag,icon:a.value.icon,class:["v-icon","notranslate",o.value,s.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[s.value?void 0:{fontSize:le(e.size),height:le(e.size),width:le(e.size)},u.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[c]})}),{}}}),Li=J({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Pi(e){return{dimensionStyles:C(()=>({height:le(e.height),maxHeight:le(e.maxHeight),maxWidth:le(e.maxWidth),minHeight:le(e.minHeight),minWidth:le(e.minWidth),width:le(e.width)}))}}function SR(e){return{aspectStyles:C(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const Jh=J({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Ce(),...Li()},"VResponsive"),Kd=oe()({name:"VResponsive",props:Jh(),setup(e,t){let{slots:n}=t;const{aspectStyles:i}=SR(e),{dimensionStyles:r}=Pi(e);return pe(()=>{var o;return p("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[r.value,e.style]},[p("div",{class:"v-responsive__sizer",style:i.value},null),(o=n.additional)==null?void 0:o.call(n),n.default&&p("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),Et=J({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Bt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return{roundedClasses:C(()=>{const i=nt(e)?e.value:e.rounded,r=[];if(i===!0||i==="")r.push(`${t}--rounded`);else if(typeof i=="string"||i===0)for(const o of String(i).split(" "))r.push(`rounded-${o}`);return r})}}const fs=J({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),yi=(e,t)=>{let{slots:n}=t;const{transition:i,disabled:r,...o}=e,{component:a=Ln,...s}=typeof i=="object"?i:{};return bn(a,Pe(typeof i=="string"?{name:r?"":i}:s,o,{disabled:r}),n)};function CR(e,t){if(!hu)return;const n=t.modifiers||{},i=t.value,{handler:r,options:o}=typeof i=="object"?i:{handler:i,options:{}},a=new IntersectionObserver(function(){var d;let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const u=(d=e._observe)==null?void 0:d[t.instance.$.uid];if(!u)return;const c=s.some(f=>f.isIntersecting);r&&(!n.quiet||u.init)&&(!n.once||c||u.init)&&r(c,s,l),c&&n.once?Gh(e,t):u.init=!0},o);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:a},a.observe(e)}function Gh(e,t){var i;const n=(i=e._observe)==null?void 0:i[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const RR={mounted:CR,unmounted:Gh},Kh=RR,_R=J({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,...Jh(),...Ce(),...Et(),...fs()},"VImg"),gr=oe()({name:"VImg",directives:{intersect:Kh},props:_R(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:i}=t;const{backgroundColorClasses:r,backgroundColorStyles:o}=Qt(ve(e,"color")),{roundedClasses:a}=Bt(e),s=dt("VImg"),l=be(""),u=Se(),c=be(e.eager?"loading":"idle"),d=be(),f=be(),h=C(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),m=C(()=>h.value.aspect||d.value/f.value||0);we(()=>e.src,()=>{g(c.value!=="idle")}),we(m,(O,F)=>{!O&&F&&u.value&&P(u.value)}),ou(()=>g());function g(O){if(!(e.eager&&O)&&!(hu&&!O&&!e.eager)){if(c.value="loading",h.value.lazySrc){const F=new Image;F.src=h.value.lazySrc,P(F,null)}h.value.src&&vt(()=>{var F;n("loadstart",((F=u.value)==null?void 0:F.currentSrc)||h.value.src),setTimeout(()=>{var V;if(!s.isUnmounted)if((V=u.value)!=null&&V.complete){if(u.value.naturalWidth||R(),c.value==="error")return;m.value||P(u.value,null),c.value==="loading"&&S()}else m.value||P(u.value),k()})})}}function S(){var O;s.isUnmounted||(k(),P(u.value),c.value="loaded",n("load",((O=u.value)==null?void 0:O.currentSrc)||h.value.src))}function R(){var O;s.isUnmounted||(c.value="error",n("error",((O=u.value)==null?void 0:O.currentSrc)||h.value.src))}function k(){const O=u.value;O&&(l.value=O.currentSrc||O.src)}let I=-1;dn(()=>{clearTimeout(I)});function P(O){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const V=()=>{if(clearTimeout(I),s.isUnmounted)return;const{naturalHeight:ae,naturalWidth:se}=O;ae||se?(d.value=se,f.value=ae):!O.complete&&c.value==="loading"&&F!=null?I=window.setTimeout(V,F):(O.currentSrc.endsWith(".svg")||O.currentSrc.startsWith("data:image/svg+xml"))&&(d.value=1,f.value=1)};V()}const L=C(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),T=()=>{var V;if(!h.value.src||c.value==="idle")return null;const O=p("img",{class:["v-img__img",L.value],style:{objectPosition:e.position},src:h.value.src,srcset:h.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:u,onLoad:S,onError:R},null),F=(V=i.sources)==null?void 0:V.call(i);return p(yi,{transition:e.transition,appear:!0},{default:()=>[Xt(F?p("picture",{class:"v-img__picture"},[F,O]):O,[[pr,c.value==="loaded"]])]})},E=()=>p(yi,{transition:e.transition},{default:()=>[h.value.lazySrc&&c.value!=="loaded"&&p("img",{class:["v-img__img","v-img__img--preload",L.value],style:{objectPosition:e.position},src:h.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),x=()=>i.placeholder?p(yi,{transition:e.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!i.error)&&p("div",{class:"v-img__placeholder"},[i.placeholder()])]}):null,N=()=>i.error?p(yi,{transition:e.transition,appear:!0},{default:()=>[c.value==="error"&&p("div",{class:"v-img__error"},[i.error()])]}):null,$=()=>e.gradient?p("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,W=be(!1);{const O=we(m,F=>{F&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{W.value=!0})}),O())})}return pe(()=>{const O=Kd.filterProps(e);return Xt(p(Kd,Pe({class:["v-img",{"v-img--booting":!W.value},r.value,a.value,e.class],style:[{width:le(e.width==="auto"?d.value:e.width)},o.value,e.style]},O,{aspectRatio:m.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>p(_e,null,[p(T,null,null),p(E,null,null),p($,null,null),p(x,null,null),p(N,null,null)]),default:i.default}),[[Ai("intersect"),{handler:g,options:e.options},null,{once:!0}]])}),{currentSrc:l,image:u,state:c,naturalWidth:d,naturalHeight:f}}}),kR=[null,"default","comfortable","compact"],$t=J({density:{type:String,default:"default",validator:e=>kR.includes(e)}},"density");function fn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return{densityClasses:C(()=>`${t}--density-${e.density}`)}}const TR=["elevated","flat","tonal","outlined","text","plain"];function xo(e,t){return p(_e,null,[e&&p("span",{key:"overlay",class:`${t}__overlay`},null),p("span",{key:"underlay",class:`${t}__underlay`},null)])}const Ui=J({color:String,variant:{type:String,default:"elevated",validator:e=>TR.includes(e)}},"variant");function Ao(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();const n=C(()=>{const{variant:o}=bt(e);return`${t}--variant-${o}`}),{colorClasses:i,colorStyles:r}=Ru(C(()=>{const{variant:o,color:a}=bt(e);return{[["elevated","flat"].includes(o)?"background":"text"]:a}}));return{colorClasses:i,colorStyles:r,variantClasses:n}}const ER=J({start:Boolean,end:Boolean,icon:qe,image:String,text:String,...Ce(),...$t(),...Et(),...oi(),...He(),...it(),...Ui({variant:"flat"})},"VAvatar"),bo=oe()({name:"VAvatar",props:ER(),setup(e,t){let{slots:n}=t;const{themeClasses:i}=lt(e),{colorClasses:r,colorStyles:o,variantClasses:a}=Ao(e),{densityClasses:s}=fn(e),{roundedClasses:l}=Bt(e),{sizeClasses:u,sizeStyles:c}=mr(e);return pe(()=>p(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},i.value,r.value,s.value,l.value,u.value,a.value,e.class],style:[o.value,c.value,e.style]},{default:()=>[n.default?p(ct,{key:"content-defaults",defaults:{VImg:{cover:!0,image:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?p(gr,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?p(Qe,{key:"icon",icon:e.icon},null):e.text,xo(!1,"v-avatar")]})),{}}}),vr=J({border:[Boolean,Number,String]},"border");function yr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return{borderClasses:C(()=>{const i=nt(e)?e.value:e.border,r=[];if(i===!0||i==="")r.push(`${t}--border`);else if(typeof i=="string"||i===0)for(const o of String(i).split(" "))r.push(`border-${o}`);return r})}}const Rn=J({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Mn(e){return{elevationClasses:C(()=>{const n=nt(e)?e.value:e.elevation,i=[];return n==null||i.push(`elevation-${n}`),i})}}const Zh=J({divided:Boolean,...vr(),...Ce(),...$t(),...Rn(),...Et(),...He(),...it(),...Ui()},"VBtnGroup"),Na=oe()({name:"VBtnGroup",props:Zh(),setup(e,t){let{slots:n}=t;const{themeClasses:i}=lt(e),{densityClasses:r}=fn(e),{borderClasses:o}=yr(e),{elevationClasses:a}=Mn(e),{roundedClasses:s}=Bt(e);Cn({VBtn:{height:"auto",color:ve(e,"color"),density:ve(e,"density"),flat:!0,variant:ve(e,"variant")}}),pe(()=>p(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},i.value,o.value,r.value,a.value,s.value,e.class],style:e.style},n))}});function Ti(e,t){let n;function i(){n=ja(),n.run(()=>t.length?t(()=>{n==null||n.stop(),i()}):t())}we(e,r=>{r&&!n?i():r||(n==null||n.stop(),n=void 0)},{immediate:!0}),cn(()=>{n==null||n.stop()})}function It(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const o=dt("useProxiedModel"),a=Se(e[t]!==void 0?e[t]:n),s=Ri(t),u=C(s!==t?()=>{var d,f,h,m;return e[t],!!(((d=o.vnode.props)!=null&&d.hasOwnProperty(t)||(f=o.vnode.props)!=null&&f.hasOwnProperty(s))&&((h=o.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)||(m=o.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${s}`)))}:()=>{var d,f;return e[t],!!((d=o.vnode.props)!=null&&d.hasOwnProperty(t)&&((f=o.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${t}`)))});Ti(()=>!u.value,()=>{we(()=>e[t],d=>{a.value=d})});const c=C({get(){const d=e[t];return i(u.value?d:a.value)},set(d){const f=r(d),h=Te(u.value?e[t]:a.value);h===f||i(h)===d||(a.value=f,o==null||o.emit(`update:${t}`,f))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[t]:a.value}),c}const Oo=J({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ku=J({value:null,disabled:Boolean,selectedClass:String},"group-item");function Tu(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const i=dt("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=$n();Ft(Symbol.for(`${t.description}:id`),r);const o=Je(t,null);if(!o){if(!n)return o;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const a=ve(e,"value"),s=C(()=>!!(o.disabled.value||e.disabled));o.register({id:r,value:a,disabled:s},i),dn(()=>{o.unregister(r)});const l=C(()=>o.isSelected(r)),u=C(()=>l.value&&[o.selectedClass.value,e.selectedClass]);return we(l,c=>{i.emit("group:selected",{value:c})}),{id:r,isSelected:l,toggle:()=>o.select(r,!l.value),select:c=>o.select(r,c),selectedClass:u,value:a,disabled:s,group:o}}function Lo(e,t){let n=!1;const i=ht([]),r=It(e,"modelValue",[],f=>f==null?[]:Yh(i,io(f)),f=>{const h=xR(i,f);return e.multiple?h:h[0]}),o=dt("useGroup");function a(f,h){const m=f,g=Symbol.for(`${t.description}:id`),R=ro(g,o==null?void 0:o.vnode).indexOf(h);bt(m.value)==null&&(m.value=R),R>-1?i.splice(R,0,m):i.push(m)}function s(f){if(n)return;l();const h=i.findIndex(m=>m.id===f);i.splice(h,1)}function l(){const f=i.find(h=>!h.disabled);f&&e.mandatory==="force"&&!r.value.length&&(r.value=[f.id])}Bn(()=>{l()}),dn(()=>{n=!0});function u(f,h){const m=i.find(g=>g.id===f);if(!(h&&(m!=null&&m.disabled)))if(e.multiple){const g=r.value.slice(),S=g.findIndex(k=>k===f),R=~S;if(h=h??!R,R&&e.mandatory&&g.length<=1||!R&&e.max!=null&&g.length+1>e.max)return;S<0&&h?g.push(f):S>=0&&!h&&g.splice(S,1),r.value=g}else{const g=r.value.includes(f);if(e.mandatory&&g)return;r.value=h??!g?[f]:[]}}function c(f){if(e.multiple,r.value.length){const h=r.value[0],m=i.findIndex(R=>R.id===h);let g=(m+f)%i.length,S=i[g];for(;S.disabled&&g!==m;)g=(g+f)%i.length,S=i[g];if(S.disabled)return;r.value=[i[g].id]}else{const h=i.find(m=>!m.disabled);h&&(r.value=[h.id])}}const d={register:a,unregister:s,selected:r,select:u,disabled:ve(e,"disabled"),prev:()=>c(i.length-1),next:()=>c(1),isSelected:f=>r.value.includes(f),selectedClass:C(()=>e.selectedClass),items:C(()=>i),getItemIndex:f=>IR(i,f)};return Ft(t,d),d}function IR(e,t){const n=Yh(e,[t]);return n.length?e.findIndex(i=>i.id===n[0]):-1}function Yh(e,t){const n=[];return t.forEach(i=>{const r=e.find(a=>cs(i,a.value)),o=e[i];(r==null?void 0:r.value)!=null?n.push(r.id):o!=null&&n.push(o.id)}),n}function xR(e,t){const n=[];return t.forEach(i=>{const r=e.findIndex(o=>o.id===i);if(~r){const o=e[r];n.push(o.value!=null?o.value:r)}}),n}const Eu=Symbol.for("vuetify:v-btn-toggle"),AR=J({...Zh(),...Oo()},"VBtnToggle");oe()({name:"VBtnToggle",props:AR(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:i,next:r,prev:o,select:a,selected:s}=Lo(e,Eu);return pe(()=>{const l=Na.filterProps(e);return p(Na,Pe({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:i,next:r,prev:o,select:a,selected:s})]}})}),{next:r,prev:o,select:a}}});function Iu(e,t){const n=Se(),i=be(!1);if(hu){const r=new IntersectionObserver(o=>{e==null||e(o,r),i.value=!!o.find(a=>a.isIntersecting)},t);dn(()=>{r.disconnect()}),we(n,(o,a)=>{a&&(r.unobserve(a),i.value=!1),o&&r.observe(o)},{flush:"post"})}return{intersectionRef:n,isIntersecting:i}}function Ba(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=Se(),i=Se();if(Ye){const r=new ResizeObserver(o=>{e==null||e(o,r),o.length&&(t==="content"?i.value=o[0].contentRect:i.value=o[0].target.getBoundingClientRect())});dn(()=>{r.disconnect()}),we(n,(o,a)=>{a&&(r.unobserve(Pa(a)),i.value=void 0),o&&r.observe(Pa(o))},{flush:"post"})}return{resizeRef:n,contentRect:ko(i)}}const OR=J({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},...Ce(),...oi(),...He({tag:"div"}),...it()},"VProgressCircular"),Rl=oe()({name:"VProgressCircular",props:OR(),setup(e,t){let{slots:n}=t;const i=20,r=2*Math.PI*i,o=Se(),{themeClasses:a}=lt(e),{sizeClasses:s,sizeStyles:l}=mr(e),{textColorClasses:u,textColorStyles:c}=Pn(ve(e,"color")),{textColorClasses:d,textColorStyles:f}=Pn(ve(e,"bgColor")),{intersectionRef:h,isIntersecting:m}=Iu(),{resizeRef:g,contentRect:S}=Ba(),R=C(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),k=C(()=>Number(e.width)),I=C(()=>l.value?Number(e.size):S.value?S.value.width:Math.max(k.value,32)),P=C(()=>i/(1-k.value/I.value)*2),L=C(()=>k.value/I.value*P.value),T=C(()=>le((100-R.value)/100*r));return Dn(()=>{h.value=o.value,g.value=o.value}),pe(()=>p(e.tag,{ref:o,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},a.value,s.value,u.value,e.class],style:[l.value,c.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:R.value},{default:()=>[p("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[p("circle",{class:["v-progress-circular__underlay",d.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":L.value,"stroke-dasharray":r,"stroke-dashoffset":0},null),p("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":L.value,"stroke-dasharray":r,"stroke-dashoffset":T.value},null)]),n.default&&p("div",{class:"v-progress-circular__content"},[n.default({value:R.value})])]})),{}}}),LR={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"},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"}},Zd="$vuetify.",Yd=(e,t)=>e.replace(/\{(\d+)\}/g,(n,i)=>String(t[+i])),Xh=(e,t,n)=>function(i){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];if(!i.startsWith(Zd))return Yd(i,o);const s=i.replace(Zd,""),l=e.value&&n.value[e.value],u=t.value&&n.value[t.value];let c=kd(l,s,null);return c||(`${i}${e.value}`,c=kd(u,s,null)),c||(c=i),typeof c!="string"&&(c=i),Yd(c,o)};function Qh(e,t){return(n,i)=>new Intl.NumberFormat([e.value,t.value],i).format(n)}function qs(e,t,n){const i=It(e,t,e[t]??n.value);return i.value=e[t]??n.value,we(n,r=>{e[t]==null&&(i.value=n.value)}),i}function jh(e){return t=>{const n=qs(t,"locale",e.current),i=qs(t,"fallback",e.fallback),r=qs(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:i,messages:r,t:Xh(n,i,r),n:Qh(n,i),provide:jh({current:n,fallback:i,messages:r})}}}function PR(e){const t=be((e==null?void 0:e.locale)??"en"),n=be((e==null?void 0:e.fallback)??"en"),i=Se({en:LR,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:i,t:Xh(t,n,i),n:Qh(t,n),provide:jh({current:t,fallback:n,messages:i})}}const $a=Symbol.for("vuetify:locale");function UR(e){return e.name!=null}function FR(e){const t=e!=null&&e.adapter&&UR(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:PR(e),n=NR(t,e);return{...t,...n}}function Po(){const e=Je($a);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function DR(){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 NR(e,t){const n=Se((t==null?void 0:t.rtl)??DR()),i=C(()=>n.value[e.current.value]??!1);return{isRtl:i,rtl:n,rtlClasses:C(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function _n(){const e=Je($a);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Xd={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ps=J({location:String},"location");function hs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:i}=_n();return{locationStyles:C(()=>{if(!e.location)return{};const{side:o,align:a}=bl(e.location.split(" ").length>1?e.location:`${e.location} center`,i.value);function s(u){return n?n(u):0}const l={};return o!=="center"&&(t?l[Xd[o]]=`calc(100% - ${s(o)}px)`:l[o]=0),a!=="center"?t?l[Xd[a]]=`calc(100% - ${s(a)}px)`:l[a]=0:(o==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[o]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[o]),l})}}const BR=J({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,...Ce(),...ps({location:"top"}),...Et(),...He(),...it()},"VProgressLinear"),$R=oe()({name:"VProgressLinear",props:BR(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=It(e,"modelValue"),{isRtl:r,rtlClasses:o}=_n(),{themeClasses:a}=lt(e),{locationStyles:s}=hs(e),{textColorClasses:l,textColorStyles:u}=Pn(e,"color"),{backgroundColorClasses:c,backgroundColorStyles:d}=Qt(C(()=>e.bgColor||e.color)),{backgroundColorClasses:f,backgroundColorStyles:h}=Qt(e,"color"),{roundedClasses:m}=Bt(e),{intersectionRef:g,isIntersecting:S}=Iu(),R=C(()=>parseInt(e.max,10)),k=C(()=>parseInt(e.height,10)),I=C(()=>parseFloat(e.bufferValue)/R.value*100),P=C(()=>parseFloat(i.value)/R.value*100),L=C(()=>r.value!==e.reverse),T=C(()=>e.indeterminate?"fade-transition":"slide-x-transition"),E=C(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function x(N){if(!g.value)return;const{left:$,right:W,width:O}=g.value.getBoundingClientRect(),F=L.value?O-N.clientX+(W-O):N.clientX-$;i.value=Math.round(F/O*R.value)}return pe(()=>p(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&S.value,"v-progress-linear--reverse":L.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},m.value,a.value,o.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?le(k.value):0,"--v-progress-linear-height":le(k.value),...s.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:P.value,onClick:e.clickable&&x},{default:()=>[e.stream&&p("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...u.value,[L.value?"left":"right"]:le(-k.value),borderTop:`${le(k.value/2)} dotted`,opacity:E.value,top:`calc(50% - ${le(k.value/4)})`,width:le(100-I.value,"%"),"--v-progress-linear-stream-to":le(k.value*(L.value?1:-1))}},null),p("div",{class:["v-progress-linear__background",c.value],style:[d.value,{opacity:E.value,width:le(e.stream?I.value:100,"%")}]},null),p(Ln,{name:T.value},{default:()=>[e.indeterminate?p("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(N=>p("div",{key:N,class:["v-progress-linear__indeterminate",N,f.value],style:h.value},null))]):p("div",{class:["v-progress-linear__determinate",f.value],style:[h.value,{width:le(P.value,"%")}]},null)]}),n.default&&p("div",{class:"v-progress-linear__content"},[n.default({value:P.value,buffer:I.value})])]})),{}}}),xu=J({loading:[Boolean,String]},"loader");function Au(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return{loaderClasses:C(()=>({[`${t}--loading`]:e.loading}))}}function em(e,t){var i;let{slots:n}=t;return p("div",{class:`${e.name}__loader`},[((i=n.default)==null?void 0:i.call(n,{color:e.color,isActive:e.active}))||p($R,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const MR=["static","relative","fixed","absolute","sticky"],Ou=J({position:{type:String,validator:e=>MR.includes(e)}},"position");function Lu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();return{positionClasses:C(()=>e.position?`${t}--${e.position}`:void 0)}}function VR(){const e=dt("useRoute");return C(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function qR(){var e,t;return(t=(e=dt("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Pu(e,t){const n=ry("RouterLink"),i=C(()=>!!(e.href||e.to)),r=C(()=>(i==null?void 0:i.value)||Ad(t,"click")||Ad(e,"click"));if(typeof n=="string")return{isLink:i,isClickable:r,href:ve(e,"href")};const o=e.to?n.useLink(e):void 0,a=VR();return{isLink:i,isClickable:r,route:o==null?void 0:o.route,navigate:o==null?void 0:o.navigate,isActive:o&&C(()=>{var s,l,u;return e.exact?a.value?((u=o.isExactActive)==null?void 0:u.value)&&cs(o.route.value.query,a.value.query):(l=o.isExactActive)==null?void 0:l.value:(s=o.isActive)==null?void 0:s.value}),href:C(()=>e.to?o==null?void 0:o.route.value.href:e.href)}}const Uu=J({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let zs=!1;function zR(e,t){let n=!1,i,r;Ye&&(vt(()=>{window.addEventListener("popstate",o),i=e==null?void 0:e.beforeEach((a,s,l)=>{zs?n?t(l):l():setTimeout(()=>n?t(l):l()),zs=!0}),r=e==null?void 0:e.afterEach(()=>{zs=!1})}),cn(()=>{window.removeEventListener("popstate",o),i==null||i(),r==null||r()}));function o(a){var s;(s=a.state)!=null&&s.replaced||(n=!0,setTimeout(()=>n=!1))}}function HR(e,t){we(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&vt(()=>{t(!0)})},{immediate:!0})}const _l=Symbol("rippleStop"),WR=80;function Qd(e,t){e.style.transform=t,e.style.webkitTransform=t}function kl(e){return e.constructor.name==="TouchEvent"}function tm(e){return e.constructor.name==="KeyboardEvent"}const JR=function(e,t){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=0,r=0;if(!tm(e)){const f=t.getBoundingClientRect(),h=kl(e)?e.touches[e.touches.length-1]:e;i=h.clientX-f.left,r=h.clientY-f.top}let o=0,a=.3;(d=t._ripple)!=null&&d.circle?(a=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt((i-o)**2+(r-o)**2)/4):o=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const s=`${(t.clientWidth-o*2)/2}px`,l=`${(t.clientHeight-o*2)/2}px`,u=n.center?s:`${i-o}px`,c=n.center?l:`${r-o}px`;return{radius:o,scale:a,x:u,y:c,centerX:s,centerY:l}},Ma={show(e,t){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=t==null?void 0:t._ripple)!=null&&h.enabled))return;const i=document.createElement("span"),r=document.createElement("span");i.appendChild(r),i.className="v-ripple__container",n.class&&(i.className+=` ${n.class}`);const{radius:o,scale:a,x:s,y:l,centerX:u,centerY:c}=JR(e,t,n),d=`${o*2}px`;r.className="v-ripple__animation",r.style.width=d,r.style.height=d,t.appendChild(i);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Qd(r,`translate(${s}, ${l}) scale3d(${a},${a},${a})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Qd(r,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const i=performance.now()-Number(n.dataset.activated),r=Math.max(250-i,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var s;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=n.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(n.parentNode)},300)},r)}};function nm(e){return typeof e>"u"||!!e}function So(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[_l])){if(e[_l]=!0,kl(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||tm(e),n._ripple.class&&(t.class=n._ripple.class),kl(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Ma.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var i;(i=n==null?void 0:n._ripple)!=null&&i.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},WR)}else Ma.show(e,n,t)}}function jd(e){e[_l]=!0}function Lt(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Lt(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Ma.hide(t)}}function im(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Co=!1;function rm(e){!Co&&(e.keyCode===Td.enter||e.keyCode===Td.space)&&(Co=!0,So(e))}function om(e){Co=!1,Lt(e)}function am(e){Co&&(Co=!1,Lt(e))}function sm(e,t,n){const{value:i,modifiers:r}=t,o=nm(i);if(o||Ma.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=o,e._ripple.centered=r.center,e._ripple.circle=r.circle,La(i)&&i.class&&(e._ripple.class=i.class),o&&!n){if(r.stop){e.addEventListener("touchstart",jd,{passive:!0}),e.addEventListener("mousedown",jd);return}e.addEventListener("touchstart",So,{passive:!0}),e.addEventListener("touchend",Lt,{passive:!0}),e.addEventListener("touchmove",im,{passive:!0}),e.addEventListener("touchcancel",Lt),e.addEventListener("mousedown",So),e.addEventListener("mouseup",Lt),e.addEventListener("mouseleave",Lt),e.addEventListener("keydown",rm),e.addEventListener("keyup",om),e.addEventListener("blur",am),e.addEventListener("dragstart",Lt,{passive:!0})}else!o&&n&&lm(e)}function lm(e){e.removeEventListener("mousedown",So),e.removeEventListener("touchstart",So),e.removeEventListener("touchend",Lt),e.removeEventListener("touchmove",im),e.removeEventListener("touchcancel",Lt),e.removeEventListener("mouseup",Lt),e.removeEventListener("mouseleave",Lt),e.removeEventListener("keydown",rm),e.removeEventListener("keyup",om),e.removeEventListener("dragstart",Lt),e.removeEventListener("blur",am)}function GR(e,t){sm(e,t,!1)}function KR(e){delete e._ripple,lm(e)}function ZR(e,t){if(t.value===t.oldValue)return;const n=nm(t.oldValue);sm(e,t,n)}const ms={mounted:GR,unmounted:KR,updated:ZR},um=J({active:{type:Boolean,default:void 0},symbol:{type:null,default:Eu},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:qe,appendIcon:qe,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...vr(),...Ce(),...$t(),...Li(),...Rn(),...ku(),...xu(),...ps(),...Ou(),...Et(),...Uu(),...oi(),...He({tag:"button"}),...it(),...Ui({variant:"elevated"})},"VBtn"),je=oe()({name:"VBtn",directives:{Ripple:ms},props:um(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:i}=t;const{themeClasses:r}=lt(e),{borderClasses:o}=yr(e),{colorClasses:a,colorStyles:s,variantClasses:l}=Ao(e),{densityClasses:u}=fn(e),{dimensionStyles:c}=Pi(e),{elevationClasses:d}=Mn(e),{loaderClasses:f}=Au(e),{locationStyles:h}=hs(e),{positionClasses:m}=Lu(e),{roundedClasses:g}=Bt(e),{sizeClasses:S,sizeStyles:R}=mr(e),k=Tu(e,e.symbol,!1),I=Pu(e,n),P=C(()=>{var N;return e.active!==void 0?e.active:I.isLink.value?(N=I.isActive)==null?void 0:N.value:k==null?void 0:k.isSelected.value}),L=C(()=>(k==null?void 0:k.disabled.value)||e.disabled),T=C(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),E=C(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function x(N){var $;L.value||I.isLink.value&&(N.metaKey||N.ctrlKey||N.shiftKey||N.button!==0||n.target==="_blank")||(($=I.navigate)==null||$.call(I,N),k==null||k.toggle())}return HR(I,k==null?void 0:k.select),pe(()=>{var V,ae;const N=I.isLink.value?"a":e.tag,$=!!(e.prependIcon||i.prepend),W=!!(e.appendIcon||i.append),O=!!(e.icon&&e.icon!==!0),F=(k==null?void 0:k.isSelected.value)&&(!I.isLink.value||((V=I.isActive)==null?void 0:V.value))||!k||((ae=I.isActive)==null?void 0:ae.value);return Xt(p(N,{type:N==="a"?void 0:"button",class:["v-btn",k==null?void 0:k.selectedClass.value,{"v-btn--active":P.value,"v-btn--block":e.block,"v-btn--disabled":L.value,"v-btn--elevated":T.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},r.value,o.value,F?a.value:void 0,u.value,d.value,f.value,m.value,g.value,S.value,l.value,e.class],style:[F?s.value:void 0,c.value,h.value,R.value,e.style],disabled:L.value||void 0,href:I.href.value,onClick:x,value:E.value},{default:()=>{var se;return[xo(!0,"v-btn"),!e.icon&&$&&p("span",{key:"prepend",class:"v-btn__prepend"},[i.prepend?p(ct,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},i.prepend):p(Qe,{key:"prepend-icon",icon:e.prependIcon},null)]),p("span",{class:"v-btn__content","data-no-activator":""},[!i.default&&O?p(Qe,{key:"content-icon",icon:e.icon},null):p(ct,{key:"content-defaults",disabled:!O,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var ne;return[((ne=i.default)==null?void 0:ne.call(i))??e.text]}})]),!e.icon&&W&&p("span",{key:"append",class:"v-btn__append"},[i.append?p(ct,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},i.append):p(Qe,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&p("span",{key:"loader",class:"v-btn__loader"},[((se=i.loader)==null?void 0:se.call(i))??p(Rl,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Ai("ripple"),!L.value&&e.ripple,null]])}),{group:k}}}),cm=oe()({name:"VCardActions",props:Ce(),setup(e,t){let{slots:n}=t;return Cn({VBtn:{slim:!0,variant:"text"}}),pe(()=>{var i;return p("div",{class:["v-card-actions",e.class],style:e.style},[(i=n.default)==null?void 0:i.call(n)])}),{}}}),dm=Io("v-card-subtitle"),Uo=Io("v-card-title"),YR=J({appendAvatar:String,appendIcon:qe,prependAvatar:String,prependIcon:qe,subtitle:[String,Number],title:[String,Number],...Ce(),...$t()},"VCardItem"),fm=oe()({name:"VCardItem",props:YR(),setup(e,t){let{slots:n}=t;return pe(()=>{var u;const i=!!(e.prependAvatar||e.prependIcon),r=!!(i||n.prepend),o=!!(e.appendAvatar||e.appendIcon),a=!!(o||n.append),s=!!(e.title!=null||n.title),l=!!(e.subtitle!=null||n.subtitle);return p("div",{class:["v-card-item",e.class],style:e.style},[r&&p("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?p(ct,{key:"prepend-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):p(_e,null,[e.prependAvatar&&p(bo,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&p(Qe,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),p("div",{class:"v-card-item__content"},[s&&p(Uo,{key:"title"},{default:()=>{var c;return[((c=n.title)==null?void 0:c.call(n))??e.title]}}),l&&p(dm,{key:"subtitle"},{default:()=>{var c;return[((c=n.subtitle)==null?void 0:c.call(n))??e.subtitle]}}),(u=n.default)==null?void 0:u.call(n)]),a&&p("div",{key:"append",class:"v-card-item__append"},[n.append?p(ct,{key:"append-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):p(_e,null,[e.appendIcon&&p(Qe,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&p(bo,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),ri=Io("v-card-text"),XR=J({appendAvatar:String,appendIcon:qe,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:qe,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...vr(),...Ce(),...$t(),...Li(),...Rn(),...xu(),...ps(),...Ou(),...Et(),...Uu(),...He(),...it(),...Ui({variant:"elevated"})},"VCard"),An=oe()({name:"VCard",directives:{Ripple:ms},props:XR(),setup(e,t){let{attrs:n,slots:i}=t;const{themeClasses:r}=lt(e),{borderClasses:o}=yr(e),{colorClasses:a,colorStyles:s,variantClasses:l}=Ao(e),{densityClasses:u}=fn(e),{dimensionStyles:c}=Pi(e),{elevationClasses:d}=Mn(e),{loaderClasses:f}=Au(e),{locationStyles:h}=hs(e),{positionClasses:m}=Lu(e),{roundedClasses:g}=Bt(e),S=Pu(e,n),R=C(()=>e.link!==!1&&S.isLink.value),k=C(()=>!e.disabled&&e.link!==!1&&(e.link||S.isClickable.value));return pe(()=>{const I=R.value?"a":e.tag,P=!!(i.title||e.title!=null),L=!!(i.subtitle||e.subtitle!=null),T=P||L,E=!!(i.append||e.appendAvatar||e.appendIcon),x=!!(i.prepend||e.prependAvatar||e.prependIcon),N=!!(i.image||e.image),$=T||x||E,W=!!(i.text||e.text!=null);return Xt(p(I,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":k.value},r.value,o.value,a.value,u.value,d.value,f.value,m.value,g.value,l.value,e.class],style:[s.value,c.value,h.value,e.style],href:S.href.value,onClick:k.value&&S.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var O;return[N&&p("div",{key:"image",class:"v-card__image"},[i.image?p(ct,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},i.image):p(gr,{key:"image-img",cover:!0,src:e.image},null)]),p(em,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:i.loader}),$&&p(fm,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:i.item,prepend:i.prepend,title:i.title,subtitle:i.subtitle,append:i.append}),W&&p(ri,{key:"text"},{default:()=>{var F;return[((F=i.text)==null?void 0:F.call(i))??e.text]}}),(O=i.default)==null?void 0:O.call(i),i.actions&&p(cm,null,{default:i.actions}),xo(k.value,"v-card")]}}),[[Ai("ripple"),k.value&&e.ripple]])}),{}}}),QR=J({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Mt(e,t,n){return oe()({name:e,props:QR({mode:n,origin:t}),setup(i,r){let{slots:o}=r;const a={onBeforeEnter(s){i.origin&&(s.style.transformOrigin=i.origin)},onLeave(s){if(i.leaveAbsolute){const{offsetTop:l,offsetLeft:u,offsetWidth:c,offsetHeight:d}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${l}px`,s.style.left=`${u}px`,s.style.width=`${c}px`,s.style.height=`${d}px`}i.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(i.leaveAbsolute&&(s!=null&&s._transitionInitialStyles)){const{position:l,top:u,left:c,width:d,height:f}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=l||"",s.style.top=u||"",s.style.left=c||"",s.style.width=d||"",s.style.height=f||""}}};return()=>{const s=i.group?Cw:Ln;return bn(s,{name:i.disabled?"":e,css:!i.disabled,...i.group?void 0:{mode:i.mode},...i.disabled?{}:a},o.default)}}})}function pm(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return oe()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup(i,r){let{slots:o}=r;return()=>bn(Ln,{name:i.disabled?"":e,css:!i.disabled,...i.disabled?{}:t},o.default)}})}function hm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",i=Yt(`offset-${n}`);return{onBeforeEnter(a){a._parent=a.parentNode,a._initialStyle={transition:a.style.transition,overflow:a.style.overflow,[n]:a.style[n]}},onEnter(a){const s=a._initialStyle;a.style.setProperty("transition","none","important"),a.style.overflow="hidden";const l=`${a[i]}px`;a.style[n]="0",a.offsetHeight,a.style.transition=s.transition,e&&a._parent&&a._parent.classList.add(e),requestAnimationFrame(()=>{a.style[n]=l})},onAfterEnter:o,onEnterCancelled:o,onLeave(a){a._initialStyle={transition:"",overflow:a.style.overflow,[n]:a.style[n]},a.style.overflow="hidden",a.style[n]=`${a[i]}px`,a.offsetHeight,requestAnimationFrame(()=>a.style[n]="0")},onAfterLeave:r,onLeaveCancelled:r};function r(a){e&&a._parent&&a._parent.classList.remove(e),o(a)}function o(a){const s=a._initialStyle[n];a.style.overflow=a._initialStyle.overflow,s!=null&&(a.style[n]=s),delete a._initialStyle}}const jR=J({target:[Object,Array]},"v-dialog-transition"),e_=oe()({name:"VDialogTransition",props:jR(),setup(e,t){let{slots:n}=t;const i={onBeforeEnter(r){r.style.pointerEvents="none",r.style.visibility="hidden"},async onEnter(r,o){var f;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),r.style.visibility="";const{x:a,y:s,sx:l,sy:u,speed:c}=tf(e.target,r),d=vi(r,[{transform:`translate(${a}px, ${s}px) scale(${l}, ${u})`,opacity:0},{}],{duration:225*c,easing:tR});(f=ef(r))==null||f.forEach(h=>{vi(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*c,easing:yo})}),d.finished.then(()=>o())},onAfterEnter(r){r.style.removeProperty("pointer-events")},onBeforeLeave(r){r.style.pointerEvents="none"},async onLeave(r,o){var f;await new Promise(h=>requestAnimationFrame(h));const{x:a,y:s,sx:l,sy:u,speed:c}=tf(e.target,r);vi(r,[{},{transform:`translate(${a}px, ${s}px) scale(${l}, ${u})`,opacity:0}],{duration:125*c,easing:nR}).finished.then(()=>o()),(f=ef(r))==null||f.forEach(h=>{vi(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*c,easing:yo})})},onAfterLeave(r){r.style.removeProperty("pointer-events")}};return()=>e.target?p(Ln,Pe({name:"dialog-transition"},i,{css:!1}),n):p(Ln,{name:"dialog-transition"},n)}});function ef(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function tf(e,t){const n=Nh(e),i=wu(t),[r,o]=getComputedStyle(t).transformOrigin.split(" ").map(R=>parseFloat(R)),[a,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;a==="left"||s==="left"?l-=n.width/2:(a==="right"||s==="right")&&(l+=n.width/2);let u=n.top+n.height/2;a==="top"||s==="top"?u-=n.height/2:(a==="bottom"||s==="bottom")&&(u+=n.height/2);const c=n.width/i.width,d=n.height/i.height,f=Math.max(1,c,d),h=c/f||0,m=d/f||0,g=i.width*i.height/(window.innerWidth*window.innerHeight),S=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(r+i.left),y:u-(o+i.top),sx:h,sy:m,speed:S}}Mt("fab-transition","center center","out-in");Mt("dialog-bottom-transition");Mt("dialog-top-transition");const nf=Mt("fade-transition");Mt("scale-transition");Mt("scroll-x-transition");Mt("scroll-x-reverse-transition");Mt("scroll-y-transition");Mt("scroll-y-reverse-transition");Mt("slide-x-transition");Mt("slide-x-reverse-transition");const mm=Mt("slide-y-transition");Mt("slide-y-reverse-transition");const gm=pm("expand-transition",hm()),vm=pm("expand-x-transition",hm("",!0));function Hs(e,t){return{x:e.x+t.x,y:e.y+t.y}}function t_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rf(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:i}=e,r=i==="left"?0:i==="center"?t.width/2:i==="right"?t.width:i,o=n==="top"?0:n==="bottom"?t.height:n;return Hs({x:r,y:o},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:i}=e,r=n==="left"?0:n==="right"?t.width:n,o=i==="top"?0:i==="center"?t.height/2:i==="bottom"?t.height:i;return Hs({x:r,y:o},t)}return Hs({x:t.width/2,y:t.height/2},t)}const ym={static:r_,connected:a_},n_=J({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in ym},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function i_(e,t){const n=Se({}),i=Se();Ye&&Ti(()=>!!(t.isActive.value&&e.locationStrategy),o=>{var a,s;we(()=>e.locationStrategy,o),cn(()=>{window.removeEventListener("resize",r),i.value=void 0}),window.addEventListener("resize",r,{passive:!0}),typeof e.locationStrategy=="function"?i.value=(a=e.locationStrategy(t,e,n))==null?void 0:a.updateLocation:i.value=(s=ym[e.locationStrategy](t,e,n))==null?void 0:s.updateLocation});function r(o){var a;(a=i.value)==null||a.call(i,o)}return{contentStyles:n,updateLocation:i}}function r_(){}function o_(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=wu(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function a_(e,t,n){(Array.isArray(e.target.value)||aR(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:r,preferredOrigin:o}=yu(()=>{const m=bl(t.location,e.isRtl.value),g=t.origin==="overlap"?m:t.origin==="auto"?Ms(m):bl(t.origin,e.isRtl.value);return m.side===g.side&&m.align===Vs(g).align?{preferredAnchor:Ld(m),preferredOrigin:Ld(g)}:{preferredAnchor:m,preferredOrigin:g}}),[a,s,l,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(m=>C(()=>{const g=parseFloat(t[m]);return isNaN(g)?1/0:g})),c=C(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const m=t.offset.split(" ").map(parseFloat);return m.length<2&&m.push(0),m}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1;const f=new ResizeObserver(()=>{d&&h()});we([e.target,e.contentEl],(m,g)=>{let[S,R]=m,[k,I]=g;k&&!Array.isArray(k)&&f.unobserve(k),S&&!Array.isArray(S)&&f.observe(S),I&&f.unobserve(I),R&&f.observe(R)},{immediate:!0}),cn(()=>{f.disconnect()});function h(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;const m=Nh(e.target.value),g=o_(e.contentEl.value,e.isRtl.value),S=Da(e.contentEl.value),R=12;S.length||(S.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const k=S.reduce((W,O)=>{const F=O.getBoundingClientRect(),V=new _i({x:O===document.documentElement?0:F.x,y:O===document.documentElement?0:F.y,width:O.clientWidth,height:O.clientHeight});return W?new _i({x:Math.max(W.left,V.left),y:Math.max(W.top,V.top),width:Math.min(W.right,V.right)-Math.max(W.left,V.left),height:Math.min(W.bottom,V.bottom)-Math.max(W.top,V.top)}):V},void 0);k.x+=R,k.y+=R,k.width-=R*2,k.height-=R*2;let I={anchor:r.value,origin:o.value};function P(W){const O=new _i(g),F=rf(W.anchor,m),V=rf(W.origin,O);let{x:ae,y:se}=t_(F,V);switch(W.anchor.side){case"top":se-=c.value[0];break;case"bottom":se+=c.value[0];break;case"left":ae-=c.value[0];break;case"right":ae+=c.value[0];break}switch(W.anchor.align){case"top":se-=c.value[1];break;case"bottom":se+=c.value[1];break;case"left":ae-=c.value[1];break;case"right":ae+=c.value[1];break}return O.x+=ae,O.y+=se,O.width=Math.min(O.width,l.value),O.height=Math.min(O.height,u.value),{overflows:Ud(O,k),x:ae,y:se}}let L=0,T=0;const E={x:0,y:0},x={x:!1,y:!1};let N=-1;for(;!(N++>10);){const{x:W,y:O,overflows:F}=P(I);L+=W,T+=O,g.x+=W,g.y+=O;{const V=Pd(I.anchor),ae=F.x.before||F.x.after,se=F.y.before||F.y.after;let ne=!1;if(["x","y"].forEach(ee=>{if(ee==="x"&&ae&&!x.x||ee==="y"&&se&&!x.y){const Ae={anchor:{...I.anchor},origin:{...I.origin}},Ne=ee==="x"?V==="y"?Vs:Ms:V==="y"?Ms:Vs;Ae.anchor=Ne(Ae.anchor),Ae.origin=Ne(Ae.origin);const{overflows:X}=P(Ae);(X[ee].before<=F[ee].before&&X[ee].after<=F[ee].after||X[ee].before+X[ee].after<(F[ee].before+F[ee].after)/2)&&(I=Ae,ne=x[ee]=!0)}}),ne)continue}F.x.before&&(L+=F.x.before,g.x+=F.x.before),F.x.after&&(L-=F.x.after,g.x-=F.x.after),F.y.before&&(T+=F.y.before,g.y+=F.y.before),F.y.after&&(T-=F.y.after,g.y-=F.y.after);{const V=Ud(g,k);E.x=k.width-V.x.before-V.x.after,E.y=k.height-V.y.before-V.y.after,L+=V.x.before,g.x+=V.x.before,T+=V.y.before,g.y+=V.y.before}break}const $=Pd(I.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${I.anchor.side} ${I.anchor.align}`,transformOrigin:`${I.origin.side} ${I.origin.align}`,top:le(Ws(T)),left:e.isRtl.value?void 0:le(Ws(L)),right:e.isRtl.value?le(Ws(-L)):void 0,minWidth:le($==="y"?Math.min(a.value,m.width):a.value),maxWidth:le(of(lr(E.x,a.value===1/0?0:a.value,l.value))),maxHeight:le(of(lr(E.y,s.value===1/0?0:s.value,u.value)))}),{available:E,contentBox:g}}return we(()=>[r.value,o.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>h()),vt(()=>{const m=h();if(!m)return;const{available:g,contentBox:S}=m;S.height>g.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function Ws(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function of(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Tl=!0;const Va=[];function s_(e){!Tl||Va.length?(Va.push(e),El()):(Tl=!1,e(),El())}let af=-1;function El(){cancelAnimationFrame(af),af=requestAnimationFrame(()=>{const e=Va.shift();e&&e(),Va.length?El():Tl=!0})}const pa={none:null,close:c_,block:d_,reposition:f_},l_=J({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in pa}},"VOverlay-scroll-strategies");function u_(e,t){if(!Ye)return;let n;Dn(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=ja(),await vt(),n.active&&n.run(()=>{var i;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(i=pa[e.scrollStrategy])==null||i.call(pa,t,e,n)}))}),cn(()=>{n==null||n.stop()})}function c_(e){function t(n){e.isActive.value=!1}wm(e.targetEl.value??e.contentEl.value,t)}function d_(e,t){var a;const n=(a=e.root.value)==null?void 0:a.offsetParent,i=[...new Set([...Da(e.targetEl.value,t.contained?n:void 0),...Da(e.contentEl.value,t.contained?n:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,o=(s=>Su(s)&&s)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),i.forEach((s,l)=>{s.style.setProperty("--v-body-scroll-x",le(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",le(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",le(r)),s.classList.add("v-overlay-scroll-blocked")}),cn(()=>{i.forEach((s,l)=>{const u=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(s.style.getPropertyValue("--v-body-scroll-y")),d=s.style.scrollBehavior;s.style.scrollBehavior="auto",s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-u,s.scrollTop=-c,s.style.scrollBehavior=d}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function f_(e,t,n){let i=!1,r=-1,o=-1;function a(s){s_(()=>{var c,d;const l=performance.now();(d=(c=e.updateLocation).value)==null||d.call(c,s),i=(performance.now()-l)/(1e3/60)>2})}o=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{n.run(()=>{wm(e.targetEl.value??e.contentEl.value,s=>{i?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{a(s)})})):a(s)})})}),cn(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(o),cancelAnimationFrame(r)})}function wm(e,t){const n=[document,...Da(e)];n.forEach(i=>{i.addEventListener("scroll",t,{passive:!0})}),cn(()=>{n.forEach(i=>{i.removeEventListener("scroll",t)})})}const p_=Symbol.for("vuetify:v-menu"),h_=J({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function m_(e,t){let n=()=>{};function i(a){n==null||n();const s=Number(a?e.openDelay:e.closeDelay);return new Promise(l=>{n=AC(s,()=>{t==null||t(a),l(a)})})}function r(){return i(!0)}function o(){return i(!1)}return{clearDelay:n,runOpenDelay:r,runCloseDelay:o}}const g_=J({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,...h_()},"VOverlay-activator");function v_(e,t){let{isActive:n,isTop:i}=t;const r=dt("useActivator"),o=Se();let a=!1,s=!1,l=!0;const u=C(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),c=C(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!u.value),{runOpenDelay:d,runCloseDelay:f}=m_(e,E=>{E===(e.openOnHover&&a||u.value&&s)&&!(e.openOnHover&&n.value&&!i.value)&&(n.value!==E&&(l=!0),n.value=E)}),h=Se(),m={onClick:E=>{E.stopPropagation(),o.value=E.currentTarget||E.target,n.value||(h.value=[E.clientX,E.clientY]),n.value=!n.value},onMouseenter:E=>{var x;(x=E.sourceCapabilities)!=null&&x.firesTouchEvents||(a=!0,o.value=E.currentTarget||E.target,d())},onMouseleave:E=>{a=!1,f()},onFocus:E=>{xC(E.target,":focus-visible")!==!1&&(s=!0,E.stopPropagation(),o.value=E.currentTarget||E.target,d())},onBlur:E=>{s=!1,E.stopPropagation(),f()}},g=C(()=>{const E={};return c.value&&(E.onClick=m.onClick),e.openOnHover&&(E.onMouseenter=m.onMouseenter,E.onMouseleave=m.onMouseleave),u.value&&(E.onFocus=m.onFocus,E.onBlur=m.onBlur),E}),S=C(()=>{const E={};if(e.openOnHover&&(E.onMouseenter=()=>{a=!0,d()},E.onMouseleave=()=>{a=!1,f()}),u.value&&(E.onFocusin=()=>{s=!0,d()},E.onFocusout=()=>{s=!1,f()}),e.closeOnContentClick){const x=Je(p_,null);E.onClick=()=>{n.value=!1,x==null||x.closeParents()}}return E}),R=C(()=>{const E={};return e.openOnHover&&(E.onMouseenter=()=>{l&&(a=!0,l=!1,d())},E.onMouseleave=()=>{a=!1,f()}),E});we(i,E=>{E&&(e.openOnHover&&!a&&(!u.value||!s)||u.value&&!s&&(!e.openOnHover||!a))&&(n.value=!1)}),we(n,E=>{E||setTimeout(()=>{h.value=void 0})},{flush:"post"});const k=Se();Dn(()=>{k.value&&vt(()=>{o.value=Pa(k.value)})});const I=Se(),P=C(()=>e.target==="cursor"&&h.value?h.value:I.value?Pa(I.value):bm(e.target,r)||o.value),L=C(()=>Array.isArray(P.value)?void 0:P.value);let T;return we(()=>!!e.activator,E=>{E&&Ye?(T=ja(),T.run(()=>{y_(e,r,{activatorEl:o,activatorEvents:g})})):T&&T.stop()},{flush:"post",immediate:!0}),cn(()=>{T==null||T.stop()}),{activatorEl:o,activatorRef:k,target:P,targetEl:L,targetRef:I,activatorEvents:g,contentEvents:S,scrimEvents:R}}function y_(e,t,n){let{activatorEl:i,activatorEvents:r}=n;we(()=>e.activator,(l,u)=>{if(u&&l!==u){const c=s(u);c&&a(c)}l&&vt(()=>o())},{immediate:!0}),we(()=>e.activatorProps,()=>{o()}),cn(()=>{a()});function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&LC(l,Pe(r.value,u))}function a(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&PC(l,Pe(r.value,u))}function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const u=bm(l,t);return i.value=(u==null?void 0:u.nodeType)===Node.ELEMENT_NODE?u:void 0,i.value}}function bm(e,t){var i,r;if(!e)return;let n;if(e==="parent"){let o=(r=(i=t==null?void 0:t.proxy)==null?void 0:i.$el)==null?void 0:r.parentNode;for(;o!=null&&o.hasAttribute("data-no-activator");)o=o.parentNode;n=o}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}const gs=["sm","md","lg","xl","xxl"],Il=Symbol.for("vuetify:display"),sf={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},w_=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sf;return Ut(sf,e)};function lf(e){return Ye&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function uf(e){return Ye&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function cf(e){const t=Ye&&!e?window.navigator.userAgent:"ssr";function n(m){return!!t.match(m)}const i=n(/android/i),r=n(/iphone|ipad|ipod/i),o=n(/cordova/i),a=n(/electron/i),s=n(/chrome/i),l=n(/edge/i),u=n(/firefox/i),c=n(/opera/i),d=n(/win/i),f=n(/mac/i),h=n(/linux/i);return{android:i,ios:r,cordova:o,electron:a,chrome:s,edge:l,firefox:u,opera:c,win:d,mac:f,linux:h,touch:RC,ssr:t==="ssr"}}function b_(e,t){const{thresholds:n,mobileBreakpoint:i}=w_(e),r=be(uf(t)),o=be(cf(t)),a=ht({}),s=be(lf(t));function l(){r.value=uf(),s.value=lf()}function u(){l(),o.value=cf()}return Dn(()=>{const c=s.value<n.sm,d=s.value<n.md&&!c,f=s.value<n.lg&&!(d||c),h=s.value<n.xl&&!(f||d||c),m=s.value<n.xxl&&!(h||f||d||c),g=s.value>=n.xxl,S=c?"xs":d?"sm":f?"md":h?"lg":m?"xl":"xxl",R=typeof i=="number"?i:n[i],k=s.value<R;a.xs=c,a.sm=d,a.md=f,a.lg=h,a.xl=m,a.xxl=g,a.smAndUp=!c,a.mdAndUp=!(c||d),a.lgAndUp=!(c||d||f),a.xlAndUp=!(c||d||f||h),a.smAndDown=!(f||h||m||g),a.mdAndDown=!(h||m||g),a.lgAndDown=!(m||g),a.xlAndDown=!g,a.name=S,a.height=r.value,a.width=s.value,a.mobile=k,a.mobileBreakpoint=i,a.platform=o.value,a.thresholds=n}),Ye&&window.addEventListener("resize",l,{passive:!0}),{...Ql(a),update:u,ssr:!!t}}const S_=J({mobileBreakpoint:[Number,String]},"display");function Sm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();const n=Je(Il);if(!n)throw new Error("Could not find Vuetify display injection");const i=C(()=>{if(!e.mobileBreakpoint)return n.mobile.value;const o=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.value<o}),r=C(()=>t?{[`${t}--mobile`]:i.value}:{});return{...n,displayClasses:r,mobile:i}}function C_(){if(!Ye)return be(!1);const{ssr:e}=Sm();if(e){const t=be(!1);return Bn(()=>{t.value=!0}),t}else return be(!0)}const Fu=J({eager:Boolean},"lazy");function Cm(e,t){const n=be(!1),i=C(()=>n.value||e.eager||t.value);we(t,()=>n.value=!0);function r(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:i,onAfterLeave:r}}function Du(){const t=dt("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const df=Symbol.for("vuetify:stack"),$r=ht([]);function R_(e,t,n){const i=dt("useStack"),r=!n,o=Je(df,void 0),a=ht({activeChildren:new Set});Ft(df,a);const s=be(+t.value);Ti(e,()=>{var d;const c=(d=$r.at(-1))==null?void 0:d[1];s.value=c?c+10:+t.value,r&&$r.push([i.uid,s.value]),o==null||o.activeChildren.add(i.uid),cn(()=>{if(r){const f=Te($r).findIndex(h=>h[0]===i.uid);$r.splice(f,1)}o==null||o.activeChildren.delete(i.uid)})});const l=be(!0);r&&Dn(()=>{var d;const c=((d=$r.at(-1))==null?void 0:d[0])===i.uid;setTimeout(()=>l.value=c)});const u=C(()=>!a.activeChildren.size);return{globalTop:ko(l),localTop:u,stackStyles:C(()=>({zIndex:s.value}))}}function __(e){return{teleportTarget:C(()=>{const n=e.value;if(n===!0||!Ye)return;const i=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(i==null)return;let r=i.querySelector(":scope > .v-overlay-container");return r||(r=document.createElement("div"),r.className="v-overlay-container",i.appendChild(r)),r})}}function k_(){return!0}function Rm(e,t,n){if(!e||_m(e,n)===!1)return!1;const i=zh(t);if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&i.host===e.target)return!1;const r=(typeof n.value=="object"&&n.value.include||(()=>[]))();return r.push(t),!r.some(o=>o==null?void 0:o.contains(e.target))}function _m(e,t){return(typeof t.value=="object"&&t.value.closeConditional||k_)(e)}function T_(e,t,n){const i=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&Rm(e,t,n)&&setTimeout(()=>{_m(e,n)&&i&&i(e)},0)}function ff(e,t){const n=zh(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const E_={mounted(e,t){const n=r=>T_(r,e,t),i=r=>{e._clickOutside.lastMousedownWasOutside=Rm(r,e,t)};ff(e,r=>{r.addEventListener("click",n,!0),r.addEventListener("mousedown",i,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:i}},unmounted(e,t){e._clickOutside&&(ff(e,n=>{var o;if(!n||!((o=e._clickOutside)!=null&&o[t.instance.$.uid]))return;const{onClick:i,onMousedown:r}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",i,!0),n.removeEventListener("mousedown",r,!0)}),delete e._clickOutside[t.instance.$.uid])}};function I_(e){const{modelValue:t,color:n,...i}=e;return p(Ln,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&p("div",Pe({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},i),null)]})}const Nu=J({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},...g_(),...Ce(),...Li(),...Fu(),...n_(),...l_(),...it(),...fs()},"VOverlay"),qa=oe()({name:"VOverlay",directives:{ClickOutside:E_},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Nu()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:i,emit:r}=t;const o=It(e,"modelValue"),a=C({get:()=>o.value,set:he=>{he&&e.disabled||(o.value=he)}}),{teleportTarget:s}=__(C(()=>e.attach||e.contained)),{themeClasses:l}=lt(e),{rtlClasses:u,isRtl:c}=_n(),{hasContent:d,onAfterLeave:f}=Cm(e,a),h=Qt(C(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:m,localTop:g,stackStyles:S}=R_(a,ve(e,"zIndex"),e._disableGlobalStack),{activatorEl:R,activatorRef:k,target:I,targetEl:P,targetRef:L,activatorEvents:T,contentEvents:E,scrimEvents:x}=v_(e,{isActive:a,isTop:g}),{dimensionStyles:N}=Pi(e),$=C_(),{scopeId:W}=Du();we(()=>e.disabled,he=>{he&&(a.value=!1)});const O=Se(),F=Se(),{contentStyles:V,updateLocation:ae}=i_(e,{isRtl:c,contentEl:F,target:I,isActive:a});u_(e,{root:O,contentEl:F,targetEl:P,isActive:a,updateLocation:ae});function se(he){r("click:outside",he),e.persistent?X():a.value=!1}function ne(){return a.value&&m.value}Ye&&we(a,he=>{he?window.addEventListener("keydown",ee):window.removeEventListener("keydown",ee)},{immediate:!0}),dn(()=>{Ye&&window.removeEventListener("keydown",ee)});function ee(he){var Xe,yt;he.key==="Escape"&&m.value&&(e.persistent?X():(a.value=!1,(Xe=F.value)!=null&&Xe.contains(document.activeElement)&&((yt=R.value)==null||yt.focus())))}const Ae=qR();Ti(()=>e.closeOnBack,()=>{zR(Ae,he=>{m.value&&a.value?(he(!1),e.persistent?X():a.value=!1):he()})});const Ne=Se();we(()=>a.value&&(e.absolute||e.contained)&&s.value==null,he=>{if(he){const Xe=iR(O.value);Xe&&Xe!==document.scrollingElement&&(Ne.value=Xe.scrollTop)}});function X(){e.noClickAnimation||F.value&&vi(F.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:yo})}function ie(){f(),r("afterLeave")}return pe(()=>{var he;return p(_e,null,[(he=n.activator)==null?void 0:he.call(n,{isActive:a.value,props:Pe({ref:k,targetRef:L},T.value,e.activatorProps)}),$.value&&d.value&&p(By,{disabled:!s.value,to:s.value},{default:()=>[p("div",Pe({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":a.value,"v-overlay--contained":e.contained},l.value,u.value,e.class],style:[S.value,{"--v-overlay-opacity":e.opacity,top:le(Ne.value)},e.style],ref:O},W,i),[p(I_,Pe({color:h,modelValue:a.value&&!!e.scrim},x.value),null),p(yi,{appear:!0,persisted:!0,transition:e.transition,target:I.value,onAfterLeave:ie},{default:()=>{var Xe;return[Xt(p("div",Pe({ref:F,class:["v-overlay__content",e.contentClass],style:[N.value,V.value]},E.value,e.contentProps),[(Xe=n.default)==null?void 0:Xe.call(n,{isActive:a})]),[[pr,a.value],[Ai("click-outside"),{handler:se,closeConditional:ne,include:()=>[R.value]}]])]}})])]})])}),{activatorEl:R,target:I,animateClick:X,contentEl:F,globalTop:m,localTop:g,updateLocation:ae}}}),Js=Symbol("Forwarded refs");function Gs(e,t){let n=e;for(;n;){const i=Reflect.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function vs(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e[Js]=n,new Proxy(e,{get(r,o){if(Reflect.has(r,o))return Reflect.get(r,o);if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const a of n)if(a.value&&Reflect.has(a.value,o)){const s=Reflect.get(a.value,o);return typeof s=="function"?s.bind(a.value):s}}},has(r,o){if(Reflect.has(r,o))return!0;if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const a of n)if(a.value&&Reflect.has(a.value,o))return!0;return!1},set(r,o,a){if(Reflect.has(r,o))return Reflect.set(r,o,a);if(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,o))return Reflect.set(s.value,o,a);return!1},getOwnPropertyDescriptor(r,o){var s;const a=Reflect.getOwnPropertyDescriptor(r,o);if(a)return a;if(!(typeof o=="symbol"||o.startsWith("$")||o.startsWith("__"))){for(const l of n){if(!l.value)continue;const u=Gs(l.value,o)??("_"in l.value?Gs((s=l.value._)==null?void 0:s.setupState,o):void 0);if(u)return u}for(const l of n){const u=l.value&&l.value[Js];if(!u)continue;const c=u.slice();for(;c.length;){const d=c.shift(),f=Gs(d.value,o);if(f)return f;const h=d.value&&d.value[Js];h&&c.push(...h)}}}}})}const x_=J({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...Nu({origin:"center center",scrollStrategy:"block",transition:{component:e_},zIndex:2400})},"VDialog"),km=oe()({name:"VDialog",props:x_(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=It(e,"modelValue"),{scopeId:r}=Du(),o=Se();function a(l){var d,f;const u=l.relatedTarget,c=l.target;if(u!==c&&((d=o.value)!=null&&d.contentEl)&&((f=o.value)!=null&&f.globalTop)&&![document,o.value.contentEl].includes(c)&&!o.value.contentEl.contains(c)){const h=Fh(o.value.contentEl);if(!h.length)return;const m=h[0],g=h[h.length-1];u===m?g.focus():m.focus()}}Ye&&we(()=>i.value&&e.retainFocus,l=>{l?document.addEventListener("focusin",a):document.removeEventListener("focusin",a)},{immediate:!0}),we(i,async l=>{var u,c;await vt(),l?(u=o.value.contentEl)==null||u.focus({preventScroll:!0}):(c=o.value.activatorEl)==null||c.focus({preventScroll:!0})});const s=C(()=>Pe({"aria-haspopup":"dialog","aria-expanded":String(i.value)},e.activatorProps));return pe(()=>{const l=qa.filterProps(e);return p(qa,Pe({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:i.value,"onUpdate:modelValue":u=>i.value=u,"aria-modal":"true",activatorProps:s.value,role:"dialog"},r),{activator:n.activator,default:function(){for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return p(ct,{root:"VDialog"},{default:()=>{var f;return[(f=n.default)==null?void 0:f.call(n,...c)]}})}})}),vs({},o)}}),A_=J({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Ce(),...it()},"VDivider"),O_=oe()({name:"VDivider",props:A_(),setup(e,t){let{attrs:n}=t;const{themeClasses:i}=lt(e),{textColorClasses:r,textColorStyles:o}=Pn(ve(e,"color")),a=C(()=>{const s={};return e.length&&(s[e.vertical?"maxHeight":"maxWidth"]=le(e.length)),e.thickness&&(s[e.vertical?"borderRightWidth":"borderTopWidth"]=le(e.thickness)),s});return pe(()=>p("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},i.value,r.value,e.class],style:[a.value,o.value,e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)),{}}}),L_=J({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Ce(),...fs({transition:{component:mm}})},"VCounter"),P_=oe()({name:"VCounter",functional:!0,props:L_(),setup(e,t){let{slots:n}=t;const i=C(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return pe(()=>p(yi,{transition:e.transition},{default:()=>[Xt(p("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:i.value,max:e.max,value:e.value}):i.value]),[[pr,e.active]])]})),{}}}),U_=J({text:String,onClick:xn(),...Ce(),...it()},"VLabel"),Tm=oe()({name:"VLabel",props:U_(),setup(e,t){let{slots:n}=t;return pe(()=>{var i;return p("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(i=n.default)==null?void 0:i.call(n)])}),{}}}),F_=J({floating:Boolean,...Ce()},"VFieldLabel"),ta=oe()({name:"VFieldLabel",props:F_(),setup(e,t){let{slots:n}=t;return pe(()=>p(Tm,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}});function Em(e){const{t}=Po();function n(i){let{name:r}=i;const o={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[r],a=e[`onClick:${r}`],s=a&&o?t(`$vuetify.input.${o}`,e.label??""):void 0;return p(Qe,{icon:e[`${r}Icon`],"aria-label":s,onClick:a},null)}return{InputIcon:n}}const Im=J({focused:Boolean,"onUpdate:focused":xn()},"focus");function xm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn();const n=It(e,"focused"),i=C(()=>({[`${t}--focused`]:n.value}));function r(){n.value=!0}function o(){n.value=!1}return{focusClasses:i,isFocused:n,focus:r,blur:o}}const D_=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Am=J({appendInnerIcon:qe,bgColor:String,clearable:Boolean,clearIcon:{type:qe,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:qe,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>D_.includes(e)},"onClick:clear":xn(),"onClick:appendInner":xn(),"onClick:prependInner":xn(),...Ce(),...xu(),...Et(),...it()},"VField"),Om=oe()({name:"VField",inheritAttrs:!1,props:{id:String,...Im(),...Am()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:i,slots:r}=t;const{themeClasses:o}=lt(e),{loaderClasses:a}=Au(e),{focusClasses:s,isFocused:l,focus:u,blur:c}=xm(e),{InputIcon:d}=Em(e),{roundedClasses:f}=Bt(e),{rtlClasses:h}=_n(),m=C(()=>e.dirty||e.active),g=C(()=>!e.singleLine&&!!(e.label||r.label)),S=$n(),R=C(()=>e.id||`input-${S}`),k=C(()=>`${R.value}-messages`),I=Se(),P=Se(),L=Se(),T=C(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:E,backgroundColorStyles:x}=Qt(ve(e,"bgColor")),{textColorClasses:N,textColorStyles:$}=Pn(C(()=>e.error||e.disabled?void 0:m.value&&l.value?e.color:e.baseColor));we(m,F=>{if(g.value){const V=I.value.$el,ae=P.value.$el;requestAnimationFrame(()=>{const se=wu(V),ne=ae.getBoundingClientRect(),ee=ne.x-se.x,Ae=ne.y-se.y-(se.height/2-ne.height/2),Ne=ne.width/.75,X=Math.abs(Ne-se.width)>1?{maxWidth:le(Ne)}:void 0,ie=getComputedStyle(V),he=getComputedStyle(ae),Xe=parseFloat(ie.transitionDuration)*1e3||150,yt=parseFloat(he.getPropertyValue("--v-field-label-scale")),Oe=he.getPropertyValue("color");V.style.visibility="visible",ae.style.visibility="hidden",vi(V,{transform:`translate(${ee}px, ${Ae}px) scale(${yt})`,color:Oe,...X},{duration:Xe,easing:yo,direction:F?"normal":"reverse"}).finished.then(()=>{V.style.removeProperty("visibility"),ae.style.removeProperty("visibility")})})}},{flush:"post"});const W=C(()=>({isActive:m,isFocused:l,controlRef:L,blur:c,focus:u}));function O(F){F.target!==document.activeElement&&F.preventDefault()}return pe(()=>{var ee,Ae,Ne;const F=e.variant==="outlined",V=r["prepend-inner"]||e.prependInnerIcon,ae=!!(e.clearable||r.clear),se=!!(r["append-inner"]||e.appendInnerIcon||ae),ne=()=>r.label?r.label({...W.value,label:e.label,props:{for:R.value}}):e.label;return p("div",Pe({class:["v-field",{"v-field--active":m.value,"v-field--appended":se,"v-field--center-affix":e.centerAffix??!T.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":V,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!ne(),[`v-field--variant-${e.variant}`]:!0},o.value,E.value,s.value,a.value,f.value,h.value,e.class],style:[x.value,e.style],onClick:O},n),[p("div",{class:"v-field__overlay"},null),p(em,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:r.loader}),V&&p("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&p(d,{key:"prepend-icon",name:"prependInner"},null),(ee=r["prepend-inner"])==null?void 0:ee.call(r,W.value)]),p("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&p(ta,{key:"floating-label",ref:P,class:[N.value],floating:!0,for:R.value,style:$.value},{default:()=>[ne()]}),p(ta,{ref:I,for:R.value},{default:()=>[ne()]}),(Ae=r.default)==null?void 0:Ae.call(r,{...W.value,props:{id:R.value,class:"v-field__input","aria-describedby":k.value},focus:u,blur:c})]),ae&&p(vm,{key:"clear"},{default:()=>[Xt(p("div",{class:"v-field__clearable",onMousedown:X=>{X.preventDefault(),X.stopPropagation()}},[r.clear?r.clear():p(d,{name:"clear"},null)]),[[pr,e.dirty]])]}),se&&p("div",{key:"append",class:"v-field__append-inner"},[(Ne=r["append-inner"])==null?void 0:Ne.call(r,W.value),e.appendInnerIcon&&p(d,{key:"append-icon",name:"appendInner"},null)]),p("div",{class:["v-field__outline",N.value],style:$.value},[F&&p(_e,null,[p("div",{class:"v-field__outline__start"},null),g.value&&p("div",{class:"v-field__outline__notch"},[p(ta,{ref:P,floating:!0,for:R.value},{default:()=>[ne()]})]),p("div",{class:"v-field__outline__end"},null)]),T.value&&g.value&&p(ta,{ref:P,floating:!0,for:R.value},{default:()=>[ne()]})])])}),{controlRef:L}}});function N_(e){const t=Object.keys(Om.props).filter(n=>!vu(n)&&n!=="class"&&n!=="style");return Oh(e,t)}const B_=J({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Ce(),...fs({transition:{component:mm,leaveAbsolute:!0,group:!0}})},"VMessages"),$_=oe()({name:"VMessages",props:B_(),setup(e,t){let{slots:n}=t;const i=C(()=>io(e.messages)),{textColorClasses:r,textColorStyles:o}=Pn(C(()=>e.color));return pe(()=>p(yi,{transition:e.transition,tag:"div",class:["v-messages",r.value,e.class],style:[o.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&i.value.map((a,s)=>p("div",{class:"v-messages__message",key:`${s}-${i.value}`},[n.message?n.message({message:a}):a]))]})),{}}}),M_=Symbol.for("vuetify:form");function V_(){return Je(M_,null)}const q_=J({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,...Im()},"validation");function z_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Sn(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$n();const i=It(e,"modelValue"),r=C(()=>e.validationValue===void 0?i.value:e.validationValue),o=V_(),a=Se([]),s=be(!0),l=C(()=>!!(io(i.value===""?null:i.value).length||io(r.value===""?null:r.value).length)),u=C(()=>!!(e.disabled??(o==null?void 0:o.isDisabled.value))),c=C(()=>!!(e.readonly??(o==null?void 0:o.isReadonly.value))),d=C(()=>{var P;return(P=e.errorMessages)!=null&&P.length?io(e.errorMessages).concat(a.value).slice(0,Math.max(0,+e.maxErrors)):a.value}),f=C(()=>{let P=(e.validateOn??(o==null?void 0:o.validateOn.value))||"input";P==="lazy"&&(P="input lazy");const L=new Set((P==null?void 0:P.split(" "))??[]);return{blur:L.has("blur")||L.has("input"),input:L.has("input"),submit:L.has("submit"),lazy:L.has("lazy")}}),h=C(()=>{var P;return e.error||(P=e.errorMessages)!=null&&P.length?!1:e.rules.length?s.value?a.value.length||f.value.lazy?null:!0:!a.value.length:!0}),m=be(!1),g=C(()=>({[`${t}--error`]:h.value===!1,[`${t}--dirty`]:l.value,[`${t}--disabled`]:u.value,[`${t}--readonly`]:c.value})),S=C(()=>e.name??bt(n));ou(()=>{o==null||o.register({id:S.value,validate:I,reset:R,resetValidation:k})}),dn(()=>{o==null||o.unregister(S.value)}),Bn(async()=>{f.value.lazy||await I(!0),o==null||o.update(S.value,h.value,d.value)}),Ti(()=>f.value.input,()=>{we(r,()=>{if(r.value!=null)I();else if(e.focused){const P=we(()=>e.focused,L=>{L||I(),P()})}})}),Ti(()=>f.value.blur,()=>{we(()=>e.focused,P=>{P||I()})}),we([h,d],()=>{o==null||o.update(S.value,h.value,d.value)});function R(){i.value=null,vt(k)}function k(){s.value=!0,f.value.lazy?a.value=[]:I(!0)}async function I(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const L=[];m.value=!0;for(const T of e.rules){if(L.length>=+(e.maxErrors??1))break;const x=await(typeof T=="function"?T:()=>T)(r.value);if(x!==!0){if(x!==!1&&typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}L.push(x||"")}}return a.value=L,m.value=!1,s.value=P,a.value}return{errorMessages:d,isDirty:l,isDisabled:u,isReadonly:c,isPristine:s,isValid:h,isValidating:m,reset:R,resetValidation:k,validate:I,validationClasses:g}}const Lm=J({id:String,appendIcon:qe,centerAffix:{type:Boolean,default:!0},prependIcon:qe,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":xn(),"onClick:append":xn(),...Ce(),...$t(),...q_()},"VInput"),pf=oe()({name:"VInput",props:{...Lm()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:i,emit:r}=t;const{densityClasses:o}=fn(e),{rtlClasses:a}=_n(),{InputIcon:s}=Em(e),l=$n(),u=C(()=>e.id||`input-${l}`),c=C(()=>`${u.value}-messages`),{errorMessages:d,isDirty:f,isDisabled:h,isReadonly:m,isPristine:g,isValid:S,isValidating:R,reset:k,resetValidation:I,validate:P,validationClasses:L}=z_(e,"v-input",u),T=C(()=>({id:u,messagesId:c,isDirty:f,isDisabled:h,isReadonly:m,isPristine:g,isValid:S,isValidating:R,reset:k,resetValidation:I,validate:P})),E=C(()=>{var x;return(x=e.errorMessages)!=null&&x.length||!g.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return pe(()=>{var O,F,V,ae;const x=!!(i.prepend||e.prependIcon),N=!!(i.append||e.appendIcon),$=E.value.length>0,W=!e.hideDetails||e.hideDetails==="auto"&&($||!!i.details);return p("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},o.value,a.value,L.value,e.class],style:e.style},[x&&p("div",{key:"prepend",class:"v-input__prepend"},[(O=i.prepend)==null?void 0:O.call(i,T.value),e.prependIcon&&p(s,{key:"prepend-icon",name:"prepend"},null)]),i.default&&p("div",{class:"v-input__control"},[(F=i.default)==null?void 0:F.call(i,T.value)]),N&&p("div",{key:"append",class:"v-input__append"},[e.appendIcon&&p(s,{key:"append-icon",name:"append"},null),(V=i.append)==null?void 0:V.call(i,T.value)]),W&&p("div",{class:"v-input__details"},[p($_,{id:c.value,active:$,messages:E.value},{message:i.message}),(ae=i.details)==null?void 0:ae.call(i,T.value)])])}),{reset:k,resetValidation:I,validate:P,isValid:S,errorMessages:d}}}),H_=["color","file","time","date","datetime-local","week","month"],W_=J({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,...Lm(),...Am()},"VTextField"),Pm=oe()({name:"VTextField",directives:{Intersect:Kh},inheritAttrs:!1,props:W_(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:i,slots:r}=t;const o=It(e,"modelValue"),{isFocused:a,focus:s,blur:l}=xm(e),u=C(()=>typeof e.counterValue=="function"?e.counterValue(o.value):typeof e.counterValue=="number"?e.counterValue:(o.value??"").toString().length),c=C(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=C(()=>["plain","underlined"].includes(e.variant));function f(T,E){var x,N;!e.autofocus||!T||(N=(x=E[0].target)==null?void 0:x.focus)==null||N.call(x)}const h=Se(),m=Se(),g=Se(),S=C(()=>H_.includes(e.type)||e.persistentPlaceholder||a.value||e.active);function R(){var T;g.value!==document.activeElement&&((T=g.value)==null||T.focus()),a.value||s()}function k(T){i("mousedown:control",T),T.target!==g.value&&(R(),T.preventDefault())}function I(T){R(),i("click:control",T)}function P(T){T.stopPropagation(),R(),vt(()=>{o.value=null,IC(e["onClick:clear"],T)})}function L(T){var x;const E=T.target;if(o.value=E.value,(x=e.modelModifiers)!=null&&x.trim&&["text","search","password","tel","url"].includes(e.type)){const N=[E.selectionStart,E.selectionEnd];vt(()=>{E.selectionStart=N[0],E.selectionEnd=N[1]})}}return pe(()=>{const T=!!(r.counter||e.counter!==!1&&e.counter!=null),E=!!(T||r.details),[x,N]=TC(n),{modelValue:$,...W}=pf.filterProps(e),O=N_(e);return p(pf,Pe({ref:h,modelValue:o.value,"onUpdate:modelValue":F=>o.value=F,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},x,W,{centerAffix:!d.value,focused:a.value}),{...r,default:F=>{let{id:V,isDisabled:ae,isDirty:se,isReadonly:ne,isValid:ee}=F;return p(Om,Pe({ref:m,onMousedown:k,onClick:I,"onClick:clear":P,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},O,{id:V.value,active:S.value||se.value,dirty:se.value||e.dirty,disabled:ae.value,focused:a.value,error:ee.value===!1}),{...r,default:Ae=>{let{props:{class:Ne,...X}}=Ae;const ie=Xt(p("input",Pe({ref:g,value:o.value,onInput:L,autofocus:e.autofocus,readonly:ne.value,disabled:ae.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:R,onBlur:l},X,N),null),[[Ai("intersect"),{handler:f},null,{once:!0}]]);return p(_e,null,[e.prefix&&p("span",{class:"v-text-field__prefix"},[p("span",{class:"v-text-field__prefix__text"},[e.prefix])]),r.default?p("div",{class:Ne,"data-no-activator":""},[r.default(),ie]):On(ie,{class:Ne}),e.suffix&&p("span",{class:"v-text-field__suffix"},[p("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:E?F=>{var V;return p(_e,null,[(V=r.details)==null?void 0:V.call(r,F),T&&p(_e,null,[p("span",null,null),p(P_,{active:e.persistentCounter||a.value,value:u.value,max:c.value},r.counter)])])}:void 0})}),vs({},h,m,g)}}),J_=Ee("i",{class:"fas fa-search mr-1"},null,-1);function G_(e,t,n,i,r,o){return de(),Me(km,{width:"90%","max-width":"800px",activator:"parent",modelValue:e.dialog,"onUpdate:modelValue":t[2]||(t[2]=a=>e.dialog=a),location:"id_dialog_anchor","location-strategy":"connected"},{activator:q(({props:a})=>[zp(e.$slots,"activator",{},()=>[p(je,Pe(a,{size:"small",density:"default",variant:"outlined"}),{default:q(()=>[J_,Ve(" Search")]),_:2},1040)])]),default:q(({isActive:a})=>[p(An,null,{default:q(()=>[p(ri,{class:"pb-0"},{default:q(()=>[p(Pm,{id:"id_global_search_input",modelValue:e.search_query,"onUpdate:modelValue":t[0]||(t[0]=s=>e.search_query=s),autocomplete:"off",clearable:"",placeholder:"Search","prepend-inner-icon":"fas fa-search",variant:"solo"},null,8,["modelValue"])]),_:1}),p(O_),p(ri,null,{default:q(()=>[(de(!0),at(_e,null,Oi(e.search_results,(s,l)=>(de(),Me(An,{variant:e.cardVariant(l),hover:"",class:"mt-1",onClick:u=>e.selected_result=l},{default:q(()=>[p(Uo,{onClick:t[1]||(t[1]=u=>e.goToSelectedRecipe())},{default:q(()=>[s.image?(de(),Me(bo,{key:0,image:s.image},null,8,["image"])):kt("",!0),s.icon?(de(),Me(Qe,{key:1,icon:s.icon},null,8,["icon"])):kt("",!0),Ve(" "+Fe(s.name),1)]),_:2},1024)]),_:2},1032,["variant","onClick"]))),256))]),_:1})]),_:1})]),_:3},8,["modelValue"])}const Um=Ct(CC,[["render",G_]]),K_=pt({components:{GlobalSearchDialog:Um},mixins:[],data(){return{drawer:!0,rail:!0}},mounted(){},methods:{}}),Z_="/static/vue3/assets/brand_logo-D4X97p3N.svg",za=Symbol.for("vuetify:layout"),Fm=Symbol.for("vuetify:layout-item"),hf=1e3,Y_=J({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Dm=J({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function X_(){const e=Je(za);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Nm(e){const t=Je(za);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${$n()}`,i=dt("useLayoutItem");Ft(Fm,{id:n});const r=be(!1);$p(()=>r.value=!0),Bp(()=>r.value=!1);const{layoutItemStyles:o,layoutItemScrimStyles:a}=t.register(i,{...e,active:C(()=>r.value?!1:e.active.value),id:n});return dn(()=>t.unregister(n)),{layoutItemStyles:o,layoutRect:t.layoutRect,layoutItemScrimStyles:a}}const Q_=(e,t,n,i)=>{let r={top:0,left:0,right:0,bottom:0};const o=[{id:"",layer:{...r}}];for(const a of e){const s=t.get(a),l=n.get(a),u=i.get(a);if(!s||!l||!u)continue;const c={...r,[s.value]:parseInt(r[s.value],10)+(u.value?parseInt(l.value,10):0)};o.push({id:a,layer:c}),r=c}return o};function j_(e){const t=Je(za,null),n=C(()=>t?t.rootZIndex.value-100:hf),i=Se([]),r=ht(new Map),o=ht(new Map),a=ht(new Map),s=ht(new Map),l=ht(new Map),{resizeRef:u,contentRect:c}=Ba(),d=C(()=>{const T=new Map,E=e.overlaps??[];for(const x of E.filter(N=>N.includes(":"))){const[N,$]=x.split(":");if(!i.value.includes(N)||!i.value.includes($))continue;const W=r.get(N),O=r.get($),F=o.get(N),V=o.get($);!W||!O||!F||!V||(T.set($,{position:W.value,amount:parseInt(F.value,10)}),T.set(N,{position:O.value,amount:-parseInt(V.value,10)}))}return T}),f=C(()=>{const T=[...new Set([...a.values()].map(x=>x.value))].sort((x,N)=>x-N),E=[];for(const x of T){const N=i.value.filter($=>{var W;return((W=a.get($))==null?void 0:W.value)===x});E.push(...N)}return Q_(E,r,o,s)}),h=C(()=>!Array.from(l.values()).some(T=>T.value)),m=C(()=>f.value[f.value.length-1].layer),g=C(()=>({"--v-layout-left":le(m.value.left),"--v-layout-right":le(m.value.right),"--v-layout-top":le(m.value.top),"--v-layout-bottom":le(m.value.bottom),...h.value?void 0:{transition:"none"}})),S=C(()=>f.value.slice(1).map((T,E)=>{let{id:x}=T;const{layer:N}=f.value[E],$=o.get(x),W=r.get(x);return{id:x,...N,size:Number($.value),position:W.value}})),R=T=>S.value.find(E=>E.id===T),k=dt("createLayout"),I=be(!1);Bn(()=>{I.value=!0}),Ft(za,{register:(T,E)=>{let{id:x,order:N,position:$,layoutSize:W,elementSize:O,active:F,disableTransitions:V,absolute:ae}=E;a.set(x,N),r.set(x,$),o.set(x,W),s.set(x,F),V&&l.set(x,V);const ne=ro(Fm,k==null?void 0:k.vnode).indexOf(T);ne>-1?i.value.splice(ne,0,x):i.value.push(x);const ee=C(()=>S.value.findIndex(ie=>ie.id===x)),Ae=C(()=>n.value+f.value.length*2-ee.value*2),Ne=C(()=>{const ie=$.value==="left"||$.value==="right",he=$.value==="right",Xe=$.value==="bottom",yt={[$.value]:0,zIndex:Ae.value,transform:`translate${ie?"X":"Y"}(${(F.value?0:-110)*(he||Xe?-1:1)}%)`,position:ae.value||n.value!==hf?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!I.value)return yt;const Oe=S.value[ee.value];if(!Oe)throw new Error(`[Vuetify] Could not find layout item "${x}"`);const U=d.value.get(x);return U&&(Oe[U.position]+=U.amount),{...yt,height:ie?`calc(100% - ${Oe.top}px - ${Oe.bottom}px)`:O.value?`${O.value}px`:void 0,left:he?void 0:`${Oe.left}px`,right:he?`${Oe.right}px`:void 0,top:$.value!=="bottom"?`${Oe.top}px`:void 0,bottom:$.value!=="top"?`${Oe.bottom}px`:void 0,width:ie?O.value?`${O.value}px`:void 0:`calc(100% - ${Oe.left}px - ${Oe.right}px)`}}),X=C(()=>({zIndex:Ae.value-1}));return{layoutItemStyles:Ne,layoutItemScrimStyles:X,zIndex:Ae}},unregister:T=>{a.delete(T),r.delete(T),o.delete(T),s.delete(T),l.delete(T),i.value=i.value.filter(E=>E!==T)},mainRect:m,mainStyles:g,getLayoutItem:R,items:S,layoutRect:c,rootZIndex:n});const P=C(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),L=C(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:P,layoutStyles:L,getLayoutItem:R,items:S,layoutRect:c,layoutRef:u}}const ek=J({...Ce(),...Y_({fullHeight:!0}),...it()},"VApp"),tk=oe()({name:"VApp",props:ek(),setup(e,t){let{slots:n}=t;const i=lt(e),{layoutClasses:r,getLayoutItem:o,items:a,layoutRef:s}=j_(e),{rtlClasses:l}=_n();return pe(()=>{var u;return p("div",{ref:s,class:["v-application",i.themeClasses.value,r.value,l.value,e.class],style:[e.style]},[p("div",{class:"v-application__wrap"},[(u=n.default)==null?void 0:u.call(n)])])}),{getLayoutItem:o,items:a,theme:i}}}),nk=J({text:String,...Ce(),...He()},"VToolbarTitle"),ik=oe()({name:"VToolbarTitle",props:nk(),setup(e,t){let{slots:n}=t;return pe(()=>{const i=!!(n.default||n.text||e.text);return p(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var r;return[i&&p("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(r=n.default)==null?void 0:r.call(n)])]}})}),{}}}),rk=[null,"prominent","default","comfortable","compact"],Bm=J({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>rk.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...vr(),...Ce(),...Rn(),...Et(),...He({tag:"header"}),...it()},"VToolbar"),mf=oe()({name:"VToolbar",props:Bm(),setup(e,t){var h;let{slots:n}=t;const{backgroundColorClasses:i,backgroundColorStyles:r}=Qt(ve(e,"color")),{borderClasses:o}=yr(e),{elevationClasses:a}=Mn(e),{roundedClasses:s}=Bt(e),{themeClasses:l}=lt(e),{rtlClasses:u}=_n(),c=be(!!(e.extended||(h=n.extension)!=null&&h.call(n))),d=C(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=C(()=>c.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Cn({VBtn:{variant:"text"}}),pe(()=>{var R;const m=!!(e.title||n.title),g=!!(n.image||e.image),S=(R=n.extension)==null?void 0:R.call(n);return c.value=!!(e.extended||S),p(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},i.value,o.value,a.value,s.value,l.value,u.value,e.class],style:[r.value,e.style]},{default:()=>[g&&p("div",{key:"image",class:"v-toolbar__image"},[n.image?p(ct,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):p(gr,{key:"image-img",cover:!0,src:e.image},null)]),p(ct,{defaults:{VTabs:{height:le(d.value)}}},{default:()=>{var k,I,P;return[p("div",{class:"v-toolbar__content",style:{height:le(d.value)}},[n.prepend&&p("div",{class:"v-toolbar__prepend"},[(k=n.prepend)==null?void 0:k.call(n)]),m&&p(ik,{key:"title",text:e.title},{text:n.title}),(I=n.default)==null?void 0:I.call(n),n.append&&p("div",{class:"v-toolbar__append"},[(P=n.append)==null?void 0:P.call(n)])])]}}),p(ct,{defaults:{VTabs:{height:le(f.value)}}},{default:()=>[p(gm,null,{default:()=>[c.value&&p("div",{class:"v-toolbar__extension",style:{height:le(f.value)}},[S])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),ok=J({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function ak(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let i=0;const r=Se(null),o=be(0),a=be(0),s=be(0),l=be(!1),u=be(!1),c=C(()=>Number(e.scrollThreshold)),d=C(()=>lr((c.value-o.value)/c.value||0)),f=()=>{const h=r.value;!h||n&&!n.value||(i=o.value,o.value="window"in h?h.pageYOffset:h.scrollTop,u.value=o.value<i,s.value=Math.abs(o.value-c.value))};return we(u,()=>{a.value=a.value||o.value}),we(l,()=>{a.value=0}),Bn(()=>{we(()=>e.scrollTarget,h=>{var g;const m=h?document.querySelector(h):window;m&&m!==r.value&&((g=r.value)==null||g.removeEventListener("scroll",f),r.value=m,r.value.addEventListener("scroll",f,{passive:!0}))},{immediate:!0})}),dn(()=>{var h;(h=r.value)==null||h.removeEventListener("scroll",f)}),n&&we(n,f,{immediate:!0}),{scrollThreshold:c,currentScroll:o,currentThreshold:s,isScrollActive:l,scrollRatio:d,isScrollingUp:u,savedScroll:a}}function Bu(){const e=be(!1);return Bn(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:C(()=>e.value?void 0:{transition:"none !important"}),isBooted:ko(e)}}const sk=J({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Bm(),...Dm(),...ok(),height:{type:[Number,String],default:64}},"VAppBar"),lk=oe()({name:"VAppBar",props:sk(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=Se(),r=It(e,"modelValue"),o=C(()=>{var k;const R=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:R.has("hide"),inverted:R.has("inverted"),collapse:R.has("collapse"),elevate:R.has("elevate"),fadeImage:R.has("fade-image")}}),a=C(()=>{const R=o.value;return R.hide||R.inverted||R.collapse||R.elevate||R.fadeImage||!r.value}),{currentScroll:s,scrollThreshold:l,isScrollingUp:u,scrollRatio:c}=ak(e,{canScroll:a}),d=C(()=>e.collapse||o.value.collapse&&(o.value.inverted?c.value>0:c.value===0)),f=C(()=>e.flat||o.value.elevate&&(o.value.inverted?s.value>0:s.value===0)),h=C(()=>o.value.fadeImage?o.value.inverted?1-c.value:c.value:void 0),m=C(()=>{var I,P;if(o.value.hide&&o.value.inverted)return 0;const R=((I=i.value)==null?void 0:I.contentHeight)??0,k=((P=i.value)==null?void 0:P.extensionHeight)??0;return R+k});Ti(C(()=>!!e.scrollBehavior),()=>{Dn(()=>{o.value.hide?o.value.inverted?r.value=s.value>l.value:r.value=u.value||s.value<l.value:r.value=!0})});const{ssrBootStyles:g}=Bu(),{layoutItemStyles:S}=Nm({id:e.name,order:C(()=>parseInt(e.order,10)),position:ve(e,"location"),layoutSize:m,elementSize:be(void 0),active:r,absolute:ve(e,"absolute")});return pe(()=>{const R=mf.filterProps(e);return p(mf,Pe({ref:i,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...S.value,"--v-toolbar-image-opacity":h.value,height:void 0,...g.value},e.style]},R,{collapse:d.value,flat:f.value}),n)}),{}}}),uk=J({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...vr(),...Ce(),...$t(),...Rn(),...Et(),...Dm({name:"bottom-navigation"}),...He({tag:"header"}),...Oo({modelValue:!0,selectedClass:"v-btn--selected"}),...it()},"VBottomNavigation"),ck=oe()({name:"VBottomNavigation",props:uk(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:i}=wR(),{borderClasses:r}=yr(e),{backgroundColorClasses:o,backgroundColorStyles:a}=Qt(ve(e,"bgColor")),{densityClasses:s}=fn(e),{elevationClasses:l}=Mn(e),{roundedClasses:u}=Bt(e),{ssrBootStyles:c}=Bu(),d=C(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),f=ve(e,"active"),{layoutItemStyles:h}=Nm({id:e.name,order:C(()=>parseInt(e.order,10)),position:C(()=>"bottom"),layoutSize:C(()=>f.value?d.value:0),elementSize:d,active:f,absolute:ve(e,"absolute")});return Lo(e,Eu),Cn({VBtn:{color:ve(e,"color"),density:ve(e,"density"),stacked:C(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),pe(()=>p(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":f.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},i.value,o.value,r.value,s.value,l.value,u.value,e.class],style:[a.value,h.value,{height:le(d.value),transform:`translateY(${le(f.value?0:100,"%")})`},c.value,e.style]},{default:()=>[n.default&&p("div",{class:"v-bottom-navigation__content"},[n.default()])]})),{}}}),dk=J({fluid:{type:Boolean,default:!1},...Ce(),...He()},"VContainer"),Fo=oe()({name:"VContainer",props:dk(),setup(e,t){let{slots:n}=t;const{rtlClasses:i}=_n();return pe(()=>p(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},i.value,e.class],style:e.style},n)),{}}}),$m=gs.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}),Mm=gs.reduce((e,t)=>{const n="offset"+Fn(t);return e[n]={type:[String,Number],default:null},e},{}),Vm=gs.reduce((e,t)=>{const n="order"+Fn(t);return e[n]={type:[String,Number],default:null},e},{}),gf={col:Object.keys($m),offset:Object.keys(Mm),order:Object.keys(Vm)};function fk(e,t,n){let i=e;if(!(n==null||n===!1)){if(t){const r=t.replace(e,"");i+=`-${r}`}return e==="col"&&(i="v-"+i),e==="col"&&(n===""||n===!0)||(i+=`-${n}`),i.toLowerCase()}}const pk=["auto","start","end","center","baseline","stretch"],hk=J({cols:{type:[Boolean,String,Number],default:!1},...$m,offset:{type:[String,Number],default:null},...Mm,order:{type:[String,Number],default:null},...Vm,alignSelf:{type:String,default:null,validator:e=>pk.includes(e)},...Ce(),...He()},"VCol"),yn=oe()({name:"VCol",props:hk(),setup(e,t){let{slots:n}=t;const i=C(()=>{const r=[];let o;for(o in gf)gf[o].forEach(s=>{const l=e[s],u=fk(o,s,l);u&&r.push(u)});const a=r.some(s=>s.startsWith("v-col-"));return r.push({"v-col":!a||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),r});return()=>{var r;return bn(e.tag,{class:[i.value,e.class],style:e.style},(r=n.default)==null?void 0:r.call(n))}}}),$u=["start","end","center"],qm=["space-between","space-around","space-evenly"];function Mu(e,t){return gs.reduce((n,i)=>{const r=e+Fn(i);return n[r]=t(),n},{})}const mk=[...$u,"baseline","stretch"],zm=e=>mk.includes(e),Hm=Mu("align",()=>({type:String,default:null,validator:zm})),gk=[...$u,...qm],Wm=e=>gk.includes(e),Jm=Mu("justify",()=>({type:String,default:null,validator:Wm})),vk=[...$u,...qm,"stretch"],Gm=e=>vk.includes(e),Km=Mu("alignContent",()=>({type:String,default:null,validator:Gm})),vf={align:Object.keys(Hm),justify:Object.keys(Jm),alignContent:Object.keys(Km)},yk={align:"align",justify:"justify",alignContent:"align-content"};function wk(e,t,n){let i=yk[e];if(n!=null){if(t){const r=t.replace(e,"");i+=`-${r}`}return i+=`-${n}`,i.toLowerCase()}}const bk=J({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:zm},...Hm,justify:{type:String,default:null,validator:Wm},...Jm,alignContent:{type:String,default:null,validator:Gm},...Km,...Ce(),...He()},"VRow"),Ei=oe()({name:"VRow",props:bk(),setup(e,t){let{slots:n}=t;const i=C(()=>{const r=[];let o;for(o in vf)vf[o].forEach(a=>{const s=e[a],l=wk(o,a,s);l&&r.push(l)});return r.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),r});return()=>{var r;return bn(e.tag,{class:["v-row",i.value,e.class],style:e.style},(r=n.default)==null?void 0:r.call(n))}}}),Sk=Io("v-spacer","div","VSpacer"),Ck=J({scrollable:Boolean,...Ce(),...He({tag:"main"})},"VMain"),Rk=oe()({name:"VMain",props:Ck(),setup(e,t){let{slots:n}=t;const{mainStyles:i}=X_(),{ssrBootStyles:r}=Bu();return pe(()=>p(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[i.value,r.value,e.style]},{default:()=>{var o,a;return[e.scrollable?p("div",{class:"v-main__scroller"},[(o=n.default)==null?void 0:o.call(n)]):(a=n.default)==null?void 0:a.call(n)]}})),{}}}),_k=Ee("span",null,"Recipes",-1),kk=Ee("span",null,"MealPlan",-1),Tk=Ee("span",null,"Shopping",-1),Ek=Ee("span",null,"Books",-1);function Ik(e,t,n,i,r,o){const a=Pt("global-search-dialog"),s=Pt("router-view");return de(),Me(tk,null,{default:q(()=>[p(lk,{color:"tandoor",flat:"",density:"comfortable"},{default:q(()=>[p(gr,{class:"ms-2",src:Z_}),p(a),p(Sk),p(je,{density:"compact",icon:"fas fa-ellipsis-v"})]),_:1}),p(Rk,null,{default:q(()=>[p(Fo,{class:"pa-0 ma-0 mb-2"},{default:q(()=>[p(s)]),_:1})]),_:1}),p(ck,null,{default:q(()=>[p(je,{value:"recent",to:"/search"},{default:q(()=>[p(Qe,{icon:"fas fa-book"}),_k]),_:1}),p(je,{value:"favorites",to:"/mealplan"},{default:q(()=>[p(Qe,{icon:"fas fa-calendar-alt"}),kk]),_:1}),p(je,{value:"nearby",to:"/shopping"},{default:q(()=>[p(Qe,{icon:"fas fa-shopping-cart"}),Tk]),_:1}),p(je,{value:"nearby",to:"/books"},{default:q(()=>[p(Qe,{icon:"fas fa-book-open"}),Ek]),_:1})]),_:1})]),_:1})}const xk=Ct(K_,[["render",Ik]]);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const Ak={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",eyeDropper:"fas fa-eye-dropper"},Ok={component:_u},xl={"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 Lk(e,t){const n=[];let i=[];const r=Zm(e),o=Ym(e),a=(r.getDay()-xl[t.slice(-2).toUpperCase()]+7)%7,s=(o.getDay()-xl[t.slice(-2).toUpperCase()]+7)%7;for(let l=0;l<a;l++){const u=new Date(r);u.setDate(u.getDate()-(a-l)),i.push(u)}for(let l=1;l<=o.getDate();l++){const u=new Date(e.getFullYear(),e.getMonth(),l);i.push(u),i.length===7&&(n.push(i),i=[])}for(let l=1;l<7-s;l++){const u=new Date(o);u.setDate(u.getDate()+l),i.push(u)}return i.length>0&&n.push(i),n}function Pk(e){const t=new Date(e);for(;t.getDay()!==0;)t.setDate(t.getDate()-1);return t}function Uk(e){const t=new Date(e);for(;t.getDay()!==6;)t.setDate(t.getDate()+1);return t}function Zm(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Ym(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Fk(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const Dk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Xm(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(Dk.test(e))return Fk(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const yf=new Date(2e3,0,2);function Nk(e){const t=xl[e.slice(-2).toUpperCase()];return mu(7).map(n=>{const i=new Date(yf);return i.setDate(yf.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(i)})}function Bk(e,t,n,i){const r=Xm(e)??new Date,o=i==null?void 0:i[t];if(typeof o=="function")return o(r,t,n);let a={};switch(t){case"fullDateWithWeekday":a={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"hours12h":a={hour:"numeric",hour12:!0};break;case"normalDateWithWeekday":a={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":a={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":a={month:"long",day:"numeric"};break;case"monthAndYear":a={month:"long",year:"numeric"};break;case"month":a={month:"long"};break;case"monthShort":a={month:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(r.getDate());case"shortDate":a={year:"2-digit",month:"numeric",day:"numeric"};break;case"weekdayShort":a={weekday:"short"};break;case"year":a={year:"numeric"};break;default:a=o??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,a).format(r)}function $k(e,t){const n=e.toJsDate(t),i=n.getFullYear(),r=xd(String(n.getMonth()+1),2,"0"),o=xd(String(n.getDate()),2,"0");return`${i}-${r}-${o}`}function Mk(e){const[t,n,i]=e.split("-").map(Number);return new Date(t,n-1,i)}function Vk(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function qk(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function zk(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function Hk(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function Wk(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function Jk(e){return e.getFullYear()}function Gk(e){return e.getMonth()}function Kk(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function Zk(e){return e.getHours()}function Yk(e){return e.getMinutes()}function Xk(e){return new Date(e.getFullYear(),0,1)}function Qk(e){return new Date(e.getFullYear(),11,31)}function jk(e,t){return Al(e,t[0])&&tT(e,t[1])}function eT(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Al(e,t){return e.getTime()>t.getTime()}function tT(e,t){return e.getTime()<t.getTime()}function wf(e,t){return e.getTime()===t.getTime()}function nT(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function iT(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function rT(e,t,n){const i=new Date(e),r=new Date(t);return n==="month"?i.getMonth()-r.getMonth()+(i.getFullYear()-r.getFullYear())*12:Math.floor((i.getTime()-r.getTime())/(1e3*60*60*24))}function oT(e,t){const n=new Date(e);return n.setHours(t),n}function aT(e,t){const n=new Date(e);return n.setMinutes(t),n}function sT(e,t){const n=new Date(e);return n.setMonth(t),n}function lT(e,t){const n=new Date(e);return n.setFullYear(t),n}function uT(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function cT(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class dT{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return Xm(t)}toJsDate(t){return t}toISO(t){return $k(this,t)}parseISO(t){return Mk(t)}addMinutes(t,n){return Vk(t,n)}addHours(t,n){return qk(t,n)}addDays(t,n){return zk(t,n)}addWeeks(t,n){return Hk(t,n)}addMonths(t,n){return Wk(t,n)}getWeekArray(t){return Lk(t,this.locale)}startOfWeek(t){return Pk(t)}endOfWeek(t){return Uk(t)}startOfMonth(t){return Zm(t)}endOfMonth(t){return Ym(t)}format(t,n){return Bk(t,n,this.locale,this.formats)}isEqual(t,n){return wf(t,n)}isValid(t){return eT(t)}isWithinRange(t,n){return jk(t,n)}isAfter(t,n){return Al(t,n)}isBefore(t,n){return!Al(t,n)&&!wf(t,n)}isSameDay(t,n){return nT(t,n)}isSameMonth(t,n){return iT(t,n)}setMinutes(t,n){return aT(t,n)}setHours(t,n){return oT(t,n)}setMonth(t,n){return sT(t,n)}setYear(t,n){return lT(t,n)}getDiff(t,n,i){return rT(t,n,i)}getWeekdays(){return Nk(this.locale)}getYear(t){return Jk(t)}getMonth(t){return Gk(t)}getNextMonth(t){return Kk(t)}getHours(t){return Zk(t)}getMinutes(t){return Yk(t)}startOfDay(t){return uT(t)}endOfDay(t){return cT(t)}startOfYear(t){return Xk(t)}endOfYear(t){return Qk(t)}}const fT=Symbol.for("vuetify:date-options"),bf=Symbol.for("vuetify:date-adapter");function pT(e,t){const n=Ut({adapter:dT,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"}},e);return{options:n,instance:hT(n,t)}}function hT(e,t){const n=ht(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return we(t.current,i=>{n.locale=e.locale[i]??i??n.locale}),n}const mT=Symbol.for("vuetify:goto");function gT(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function vT(e,t){return{rtl:t.isRtl,options:Ut(gT(),e)}}function Qm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,i=Ut(t,n),{aliases:r={},components:o={},directives:a={}}=i,s=sR(i.defaults),l=b_(i.display,i.ssr),u=yR(i.theme),c=hR(i.icons),d=FR(i.locale),f=pT(i.date,d),h=vT(i.goTo,d);return{install:g=>{for(const S in a)g.directive(S,a[S]);for(const S in o)g.component(S,o[S]);for(const S in r)g.component(S,hr({...r[S],name:S,aliasName:r[S].name}));if(u.install(g),g.provide(ur,s),g.provide(Il,l),g.provide(wo,u),g.provide(Cl,c),g.provide($a,d),g.provide(fT,f.options),g.provide(bf,f.instance),g.provide(mT,h),Ye&&i.ssr)if(g.$nuxt)g.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:S}=g;g.mount=function(){const R=S(...arguments);return vt(()=>l.update()),g.mount=S,R}}$n.reset(),g.mixin({computed:{$vuetify(){return ht({defaults:Bi.call(this,ur),display:Bi.call(this,Il),theme:Bi.call(this,wo),icons:Bi.call(this,Cl),locale:Bi.call(this,$a),date:Bi.call(this,bf)})}}})},defaults:s,display:l,theme:u,icons:c,locale:d,date:f,goTo:h}}const yT="3.5.4";Qm.version=yT;function Bi(e){var i,r;const t=this.$,n=((i=t.parent)==null?void 0:i.provides)??((r=t.vnode.appContext)==null?void 0:r.provides);if(n&&e in n)return n[e]}const wT=Qm({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:Ak,sets:{fa:Ok}}}),bT=pt({name:"ShoppingListPage",data(){return{tab:1,editing_supermarket_categories:[],editing_supermarket:null,new_supermarket:{entrymode:!1,value:void 0,editmode:void 0},new_category:{entrymode:!1,value:void 0},autosync_id:void 0,new_item:{amount:1,unit:void 0,food:void 0,ingredient:void 0},new_recipe:{id:void 0}}}}),jm=Symbol.for("vuetify:v-tabs"),ST=J({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...gu(um({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ha=oe()({name:"VTab",props:ST(),setup(e,t){let{slots:n,attrs:i}=t;const{textColorClasses:r,textColorStyles:o}=Pn(e,"sliderColor"),a=Se(),s=Se(),l=C(()=>e.direction==="horizontal"),u=C(()=>{var d,f;return((f=(d=a.value)==null?void 0:d.group)==null?void 0:f.isSelected.value)??!1});function c(d){var h,m;let{value:f}=d;if(f){const g=(m=(h=a.value)==null?void 0:h.$el.parentElement)==null?void 0:m.querySelector(".v-tab--selected .v-tab__slider"),S=s.value;if(!g||!S)return;const R=getComputedStyle(g).color,k=g.getBoundingClientRect(),I=S.getBoundingClientRect(),P=l.value?"x":"y",L=l.value?"X":"Y",T=l.value?"right":"bottom",E=l.value?"width":"height",x=k[P],N=I[P],$=x>N?k[T]-I[T]:k[P]-I[P],W=Math.sign($)>0?l.value?"right":"bottom":Math.sign($)<0?l.value?"left":"top":"center",F=(Math.abs($)+(Math.sign($)<0?k[E]:I[E]))/Math.max(k[E],I[E])||0,V=k[E]/I[E]||0,ae=1.5;vi(S,{backgroundColor:[R,"currentcolor"],transform:[`translate${L}(${$}px) scale${L}(${V})`,`translate${L}(${$/ae}px) scale${L}(${(F-1)/ae+1})`,"none"],transformOrigin:Array(3).fill(W)},{duration:225,easing:yo})}}return pe(()=>{const d=je.filterProps(e);return p(je,Pe({symbol:jm,ref:a,class:["v-tab",e.class],style:e.style,tabindex:u.value?0:-1,role:"tab","aria-selected":String(u.value),active:!1},d,i,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":c}),{...n,default:()=>{var f;return p(_e,null,[((f=n.default)==null?void 0:f.call(n))??e.text,!e.hideSlider&&p("div",{ref:s,class:["v-tab__slider",r.value],style:o.value},null)])}})}),vs({},a)}});function Sf(e){const n=Math.abs(e);return Math.sign(e)*(n/((1/.501-2)*(1-n)+1))}function Cf(e){let{selectedElement:t,containerSize:n,contentSize:i,isRtl:r,currentScrollOffset:o,isHorizontal:a}=e;const s=a?t.clientWidth:t.clientHeight,l=a?t.offsetLeft:t.offsetTop,u=r&&a?i-l-s:l,c=n+o,d=s+u,f=s*.4;return u<=o?o=Math.max(u-f,0):c<=d&&(o=Math.min(o-(c-d-f),i-n)),o}function CT(e){let{selectedElement:t,containerSize:n,contentSize:i,isRtl:r,isHorizontal:o}=e;const a=o?t.clientWidth:t.clientHeight,s=o?t.offsetLeft:t.offsetTop,l=r&&o?i-s-a/2-n/2:s+a/2-n/2;return Math.min(i-n,Math.max(0,l))}const RT=Symbol.for("vuetify:v-slide-group"),Vu=J({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:RT},nextIcon:{type:qe,default:"$next"},prevIcon:{type:qe,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Ce(),...S_(),...He(),...Oo({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Ha=oe()({name:"VSlideGroup",props:Vu(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:i}=_n(),{displayClasses:r,mobile:o}=Sm(e),a=Lo(e,e.symbol),s=be(!1),l=be(0),u=be(0),c=be(0),d=C(()=>e.direction==="horizontal"),{resizeRef:f,contentRect:h}=Ba(),{resizeRef:m,contentRect:g}=Ba(),S=C(()=>a.selected.value.length?a.items.value.findIndex(X=>X.id===a.selected.value[0]):-1),R=C(()=>a.selected.value.length?a.items.value.findIndex(X=>X.id===a.selected.value[a.selected.value.length-1]):-1);if(Ye){let X=-1;we(()=>[a.selected.value,h.value,g.value,d.value],()=>{cancelAnimationFrame(X),X=requestAnimationFrame(()=>{if(h.value&&g.value){const ie=d.value?"width":"height";u.value=h.value[ie],c.value=g.value[ie],s.value=u.value+1<c.value}if(S.value>=0&&m.value){const ie=m.value.children[R.value];S.value===0||!s.value?l.value=0:e.centerActive?l.value=CT({selectedElement:ie,containerSize:u.value,contentSize:c.value,isRtl:i.value,isHorizontal:d.value}):s.value&&(l.value=Cf({selectedElement:ie,containerSize:u.value,contentSize:c.value,isRtl:i.value,currentScrollOffset:l.value,isHorizontal:d.value}))}})})}const k=be(!1);let I=0,P=0;function L(X){const ie=d.value?"clientX":"clientY";P=(i.value&&d.value?-1:1)*l.value,I=X.touches[0][ie],k.value=!0}function T(X){if(!s.value)return;const ie=d.value?"clientX":"clientY",he=i.value&&d.value?-1:1;l.value=he*(P+I-X.touches[0][ie])}function E(X){const ie=c.value-u.value;l.value<0||!s.value?l.value=0:l.value>=ie&&(l.value=ie),k.value=!1}function x(){f.value&&(f.value[d.value?"scrollLeft":"scrollTop"]=0)}const N=be(!1);function $(X){if(N.value=!0,!(!s.value||!m.value)){for(const ie of X.composedPath())for(const he of m.value.children)if(he===ie){l.value=Cf({selectedElement:he,containerSize:u.value,contentSize:c.value,isRtl:i.value,currentScrollOffset:l.value,isHorizontal:d.value});return}}}function W(X){N.value=!1}function O(X){var ie;!N.value&&!(X.relatedTarget&&((ie=m.value)!=null&&ie.contains(X.relatedTarget)))&&V()}function F(X){m.value&&(d.value?X.key==="ArrowRight"?V(i.value?"prev":"next"):X.key==="ArrowLeft"&&V(i.value?"next":"prev"):X.key==="ArrowDown"?V("next"):X.key==="ArrowUp"&&V("prev"),X.key==="Home"?V("first"):X.key==="End"&&V("last"))}function V(X){var ie,he,Xe,yt,Oe;if(m.value)if(!X)(ie=Fh(m.value)[0])==null||ie.focus();else if(X==="next"){const U=(he=m.value.querySelector(":focus"))==null?void 0:he.nextElementSibling;U?U.focus():V("first")}else if(X==="prev"){const U=(Xe=m.value.querySelector(":focus"))==null?void 0:Xe.previousElementSibling;U?U.focus():V("last")}else X==="first"?(yt=m.value.firstElementChild)==null||yt.focus():X==="last"&&((Oe=m.value.lastElementChild)==null||Oe.focus())}function ae(X){const ie=l.value+(X==="prev"?-1:1)*u.value;l.value=lr(ie,0,c.value-u.value)}const se=C(()=>{let X=l.value>c.value-u.value?-(c.value-u.value)+Sf(c.value-u.value-l.value):-l.value;l.value<=0&&(X=Sf(-l.value));const ie=i.value&&d.value?-1:1;return{transform:`translate${d.value?"X":"Y"}(${ie*X}px)`,transition:k.value?"none":"",willChange:k.value?"transform":""}}),ne=C(()=>({next:a.next,prev:a.prev,select:a.select,isSelected:a.isSelected})),ee=C(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!o.value;case!0:return s.value||Math.abs(l.value)>0;case"mobile":return o.value||s.value||Math.abs(l.value)>0;default:return!o.value&&(s.value||Math.abs(l.value)>0)}}),Ae=C(()=>Math.abs(l.value)>0),Ne=C(()=>c.value>Math.abs(l.value)+u.value);return pe(()=>p(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":ee.value,"v-slide-group--is-overflowing":s.value},r.value,e.class],style:e.style,tabindex:N.value||a.selected.value.length?-1:0,onFocus:O},{default:()=>{var X,ie,he;return[ee.value&&p("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Ae.value}],onClick:()=>Ae.value&&ae("prev")},[((X=n.prev)==null?void 0:X.call(n,ne.value))??p(nf,null,{default:()=>[p(Qe,{icon:i.value?e.nextIcon:e.prevIcon},null)]})]),p("div",{key:"container",ref:f,class:"v-slide-group__container",onScroll:x},[p("div",{ref:m,class:"v-slide-group__content",style:se.value,onTouchstartPassive:L,onTouchmovePassive:T,onTouchendPassive:E,onFocusin:$,onFocusout:W,onKeydown:F},[(ie=n.default)==null?void 0:ie.call(n,ne.value)])]),ee.value&&p("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Ne.value}],onClick:()=>Ne.value&&ae("next")},[((he=n.next)==null?void 0:he.call(n,ne.value))??p(nf,null,{default:()=>[p(Qe,{icon:i.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:a.selected,scrollTo:ae,scrollOffset:l,focus:V}}});function _T(e){return e?e.map(t=>La(t)?t:{text:t,value:t}):[]}const kT=J({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,...Vu({mandatory:"force"}),...$t(),...He()},"VTabs"),TT=oe()({name:"VTabs",props:kT(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=It(e,"modelValue"),r=C(()=>_T(e.items)),{densityClasses:o}=fn(e),{backgroundColorClasses:a,backgroundColorStyles:s}=Qt(ve(e,"bgColor"));return Cn({VTab:{color:ve(e,"color"),direction:ve(e,"direction"),stacked:ve(e,"stacked"),fixed:ve(e,"fixedTabs"),sliderColor:ve(e,"sliderColor"),hideSlider:ve(e,"hideSlider")}}),pe(()=>{const l=Ha.filterProps(e);return p(Ha,Pe(l,{modelValue:i.value,"onUpdate:modelValue":u=>i.value=u,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},o.value,a.value,e.class],style:[{"--v-tabs-height":le(e.height)},s.value,e.style],role:"tablist",symbol:jm}),{default:()=>[n.default?n.default():r.value.map(u=>p(ha,Pe(u,{key:u.text}),null))]})}),{}}}),ET=Ee("i",{class:"fas fa-shopping-cart fa-fw"},null,-1);function IT(e,t,n,i,r,o){return de(),Me(TT,null,{default:q(()=>[p(ha,{value:1},{default:q(()=>[ET]),_:1}),p(ha,{value:2},{default:q(()=>[Ve("Super")]),_:1}),p(ha,{value:3},{default:q(()=>[Ve("Super")]),_:1})]),_:1})}const Ks=Ct(bT,[["render",IT]]),xT={name:"KeywordsBar",mixins:[],props:{keywords:Array},computed:{},methods:{}},eg=Symbol.for("vuetify:v-chip-group"),AT=J({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:cs},...Vu(),...Ce(),...Oo({selectedClass:"v-chip--selected"}),...He(),...it(),...Ui({variant:"tonal"})},"VChipGroup");oe()({name:"VChipGroup",props:AT(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:i}=lt(e),{isSelected:r,select:o,next:a,prev:s,selected:l}=Lo(e,eg);return Cn({VChip:{color:ve(e,"color"),disabled:ve(e,"disabled"),filter:ve(e,"filter"),variant:ve(e,"variant")}}),pe(()=>{const u=Ha.filterProps(e);return p(Ha,Pe(u,{class:["v-chip-group",{"v-chip-group--column":e.column},i.value,e.class],style:e.style}),{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:r,select:o,next:a,prev:s,selected:l.value})]}})}),{}}});const OT=J({activeClass:String,appendAvatar:String,appendIcon:qe,closable:Boolean,closeIcon:{type:qe,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:qe,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:xn(),onClickOnce:xn(),...vr(),...Ce(),...$t(),...Rn(),...ku(),...Et(),...Uu(),...oi(),...He({tag:"span"}),...it(),...Ui({variant:"tonal"})},"VChip"),tg=oe()({name:"VChip",directives:{Ripple:ms},props:OT(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:i,slots:r}=t;const{t:o}=Po(),{borderClasses:a}=yr(e),{colorClasses:s,colorStyles:l,variantClasses:u}=Ao(e),{densityClasses:c}=fn(e),{elevationClasses:d}=Mn(e),{roundedClasses:f}=Bt(e),{sizeClasses:h}=mr(e),{themeClasses:m}=lt(e),g=It(e,"modelValue"),S=Tu(e,eg,!1),R=Pu(e,n),k=C(()=>e.link!==!1&&R.isLink.value),I=C(()=>!e.disabled&&e.link!==!1&&(!!S||e.link||R.isClickable.value)),P=C(()=>({"aria-label":o(e.closeLabel),onClick(E){E.stopPropagation(),g.value=!1,i("click:close",E)}}));function L(E){var x;i("click",E),I.value&&((x=R.navigate)==null||x.call(R,E),S==null||S.toggle())}function T(E){(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),L(E))}return()=>{const E=R.isLink.value?"a":e.tag,x=!!(e.appendIcon||e.appendAvatar),N=!!(x||r.append),$=!!(r.close||e.closable),W=!!(r.filter||e.filter)&&S,O=!!(e.prependIcon||e.prependAvatar),F=!!(O||r.prepend),V=!S||S.isSelected.value;return g.value&&Xt(p(E,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":I.value,"v-chip--filter":W,"v-chip--pill":e.pill},m.value,a.value,V?s.value:void 0,c.value,d.value,f.value,h.value,u.value,S==null?void 0:S.selectedClass.value,e.class],style:[V?l.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:R.href.value,tabindex:I.value?0:void 0,onClick:L,onKeydown:I.value&&!k.value&&T},{default:()=>{var ae;return[xo(I.value,"v-chip"),W&&p(vm,{key:"filter"},{default:()=>[Xt(p("div",{class:"v-chip__filter"},[r.filter?p(ct,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},r.filter):p(Qe,{key:"filter-icon",icon:e.filterIcon},null)]),[[pr,S.isSelected.value]])]}),F&&p("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?p(ct,{key:"prepend-defaults",disabled:!O,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},r.prepend):p(_e,null,[e.prependIcon&&p(Qe,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&p(bo,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),p("div",{class:"v-chip__content","data-no-activator":""},[((ae=r.default)==null?void 0:ae.call(r,{isSelected:S==null?void 0:S.isSelected.value,selectedClass:S==null?void 0:S.selectedClass.value,select:S==null?void 0:S.select,toggle:S==null?void 0:S.toggle,value:S==null?void 0:S.value.value,disabled:e.disabled}))??e.text]),N&&p("div",{key:"append",class:"v-chip__append"},[r.append?p(ct,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},r.append):p(_e,null,[e.appendIcon&&p(Qe,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&p(bo,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),$&&p("button",Pe({key:"close",class:"v-chip__close",type:"button"},P.value),[r.close?p(ct,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},r.close):p(Qe,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[Ai("ripple"),I.value&&e.ripple,null]])}}});function LT(e,t,n,i,r,o){return de(!0),at(_e,null,Oi(n.keywords,a=>(de(),Me(tg,{color:"info",size:"x-small"},{default:q(()=>[Ve(Fe(a==null?void 0:a.label),1)]),_:2},1024))),256)}const qu=Ct(xT,[["render",LT]]),PT=pt({name:"RecipeCard",components:{KeywordsComponent:qu},props:{recipe:{},show_keywords:{type:Boolean,required:!1},show_description:{type:Boolean,required:!1}}}),UT=J({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:qe,default:"$ratingEmpty"},fullIcon:{type:qe,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:e=>["top","bottom"].includes(e)},ripple:Boolean,...Ce(),...$t(),...oi(),...He(),...it()},"VRating"),zu=oe()({name:"VRating",props:UT(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{t:i}=Po(),{themeClasses:r}=lt(e),o=It(e,"modelValue"),a=C(()=>lr(parseFloat(o.value),0,+e.length)),s=C(()=>mu(Number(e.length),1)),l=C(()=>s.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),u=be(-1),c=C(()=>l.value.map(g=>{const S=e.hover&&u.value>-1,R=a.value>=g,k=u.value>=g,P=(S?k:R)?e.fullIcon:e.emptyIcon,L=e.activeColor??e.color,T=R||k?L:e.color;return{isFilled:R,isHovered:k,icon:P,color:T}})),d=C(()=>[0,...l.value].map(g=>{function S(){u.value=g}function R(){u.value=-1}function k(){e.disabled||e.readonly||(o.value=a.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?S:void 0,onMouseleave:e.hover?R:void 0,onClick:k}})),f=C(()=>e.name??`v-rating-${$n()}`);function h(g){var x,N;let{value:S,index:R,showStar:k=!0}=g;const{onMouseenter:I,onMouseleave:P,onClick:L}=d.value[R+1],T=`${f.value}-${String(S).replace(".","-")}`,E={color:(x=c.value[R])==null?void 0:x.color,density:e.density,disabled:e.disabled,icon:(N=c.value[R])==null?void 0:N.icon,ripple:e.ripple,size:e.size,variant:"plain"};return p(_e,null,[p("label",{for:T,class:{"v-rating__item--half":e.halfIncrements&&S%1>0,"v-rating__item--full":e.halfIncrements&&S%1===0},onMouseenter:I,onMouseleave:P,onClick:L},[p("span",{class:"v-rating__hidden"},[i(e.itemAriaLabel,S,e.length)]),k?n.item?n.item({...c.value[R],props:E,value:S,index:R,rating:a.value}):p(je,Pe({"aria-label":i(e.itemAriaLabel,S,e.length)},E),null):void 0]),p("input",{class:"v-rating__hidden",name:f.value,id:T,type:"radio",value:S,checked:a.value===S,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function m(g){return n["item-label"]?n["item-label"](g):g.label?p("span",null,[g.label]):p("span",null,[Ve(" ")])}return pe(()=>{var S;const g=!!((S=e.itemLabels)!=null&&S.length)||n["item-label"];return p(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},r.value,e.class],style:e.style},{default:()=>[p(h,{value:0,index:-1,showStar:!1},null),s.value.map((R,k)=>{var I,P;return p("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?m({value:R,index:k,label:(I=e.itemLabels)==null?void 0:I[k]}):void 0,p("div",{class:"v-rating__item"},[e.halfIncrements?p(_e,null,[p(h,{value:R-.5,index:k*2},null),p(h,{value:R,index:k*2+1},null)]):p(h,{value:R,index:k},null)]),g&&e.itemLabelPosition==="bottom"?m({value:R,index:k,label:(P=e.itemLabels)==null?void 0:P[k]}):void 0])})]})}),{}}}),FT={class:"text-grey"};function DT(e,t,n,i,r,o){const a=Pt("KeywordsComponent");return de(),Me(An,{to:`/recipe/${e.recipe.id}`},{default:q(()=>[p(gr,{cover:"",height:"50%",src:e.recipe.image},null,8,["src"]),p(fm,null,{default:q(()=>[p(Uo,null,{default:q(()=>[Ve(Fe(e.recipe.name),1)]),_:1}),e.show_keywords?(de(),Me(dm,{key:0},{default:q(()=>[p(a,{keywords:e.recipe.keywords},null,8,["keywords"])]),_:1})):kt("",!0)]),_:1}),e.show_description?(de(),Me(ri,{key:0},{default:q(()=>[e.recipe.rating?(de(),Me(Ei,{key:0,align:"center",class:"mx-0"},{default:q(()=>[p(zu,{"model-value":e.recipe.rating,color:"amber",density:"compact","half-increments":"",readonly:"",size:"small"},null,8,["model-value"]),Ee("div",FT,Fe(e.recipe.rating),1)]),_:1})):kt("",!0),Ee("div",null,Fe(e.recipe.description),1)]),_:1})):kt("",!0)]),_:1},8,["to"])}const Ol=Ct(PT,[["render",DT]]),NT=pt({name:"HorizontalRecipeScroller",components:{RecipeCard:Ol},props:{title:{type:String,required:!0},recipes:{type:Array,required:!0}},data(){return{scroll_id:Math.random(1e3).toString()}},methods:{scrollList(e,t){const n=document.getElementById(t);n!=null&&(n.scrollLeft=n.scrollLeft+200*(e=="left"?-1:1))}}}),BT=J({color:String,direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},side:{type:String,default:"end",validator:e=>["start","end","both"].includes(e)},mode:{type:String,default:"intersect",validator:e=>["intersect","manual"].includes(e)},margin:[Number,String],loadMoreText:{type:String,default:"$vuetify.infiniteScroll.loadMore"},emptyText:{type:String,default:"$vuetify.infiniteScroll.empty"},...Li(),...He()},"VInfiniteScroll"),Rf=hr({name:"VInfiniteScrollIntersect",props:{side:{type:String,required:!0},rootRef:null,rootMargin:String},emits:{intersect:(e,t)=>!0},setup(e,t){let{emit:n}=t;const{intersectionRef:i,isIntersecting:r}=Iu(o=>{},e.rootMargin?{rootMargin:e.rootMargin}:void 0);return we(r,async o=>{n("intersect",e.side,o)}),pe(()=>p("div",{class:"v-infinite-scroll-intersect",ref:i},[Ve(" ")])),{}}}),$T=oe()({name:"VInfiniteScroll",props:BT(),emits:{load:e=>!0},setup(e,t){let{slots:n,emit:i}=t;const r=Se(),o=be("ok"),a=be("ok"),s=C(()=>le(e.margin)),l=be(!1);function u(L){if(!r.value)return;const T=e.direction==="vertical"?"scrollTop":"scrollLeft";r.value[T]=L}function c(){if(!r.value)return 0;const L=e.direction==="vertical"?"scrollTop":"scrollLeft";return r.value[L]}function d(){if(!r.value)return 0;const L=e.direction==="vertical"?"scrollHeight":"scrollWidth";return r.value[L]}function f(){if(!r.value)return 0;const L=e.direction==="vertical"?"clientHeight":"clientWidth";return r.value[L]}Bn(()=>{r.value&&(e.side==="start"?u(d()):e.side==="both"&&u(d()/2-f()/2))});function h(L,T){L==="start"?o.value=T:L==="end"&&(a.value=T)}function m(L){return L==="start"?o.value:a.value}let g=0;function S(L,T){l.value=T,l.value&&R(L)}function R(L){if(e.mode!=="manual"&&!l.value)return;const T=m(L);if(!r.value||T==="loading")return;g=d(),h(L,"loading");function E(x){h(L,x),vt(()=>{x==="empty"||x==="error"||(x==="ok"&&L==="start"&&u(d()-g+c()),e.mode!=="manual"&&vt(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{R(L)})})})}))})}i("load",{side:L,done:E})}const{t:k}=Po();function I(L,T){var N,$,W,O,F;if(e.side!==L&&e.side!=="both")return;const E=()=>R(L),x={side:L,props:{onClick:E,color:e.color}};return T==="error"?(N=n.error)==null?void 0:N.call(n,x):T==="empty"?(($=n.empty)==null?void 0:$.call(n,x))??p("div",null,[k(e.emptyText)]):e.mode==="manual"?T==="loading"?((W=n.loading)==null?void 0:W.call(n,x))??p(Rl,{indeterminate:!0,color:e.color},null):((O=n["load-more"])==null?void 0:O.call(n,x))??p(je,{variant:"outlined",color:e.color,onClick:E},{default:()=>[k(e.loadMoreText)]}):((F=n.loading)==null?void 0:F.call(n,x))??p(Rl,{indeterminate:!0,color:e.color},null)}const{dimensionStyles:P}=Pi(e);pe(()=>{const L=e.tag,T=e.side==="start"||e.side==="both",E=e.side==="end"||e.side==="both",x=e.mode==="intersect";return p(L,{ref:r,class:["v-infinite-scroll",`v-infinite-scroll--${e.direction}`,{"v-infinite-scroll--start":T,"v-infinite-scroll--end":E}],style:P.value},{default:()=>{var N;return[p("div",{class:"v-infinite-scroll__side"},[I("start",o.value)]),r.value&&T&&x&&p(Rf,{key:"start",side:"start",onIntersect:S,rootRef:r.value,rootMargin:s.value},null),(N=n.default)==null?void 0:N.call(n),r.value&&E&&x&&p(Rf,{key:"end",side:"end",onIntersect:S,rootRef:r.value,rootMargin:s.value},null),p("div",{class:"v-infinite-scroll__side"},[I("end",a.value)])]}})})}}),MT={class:"mr-2"};function VT(e,t,n,i,r,o){const a=Pt("recipe-card");return de(),at(_e,null,[p(Ei,{justify:"space-between"},{default:q(()=>[p(yn,null,{default:q(()=>[Ee("h2",null,Fe(e.title),1)]),_:1}),p(yn,null,{default:q(()=>[p(je,{density:"default",variant:"outlined",size:"x-small",icon:"fas fa-chevron-left",onClick:t[0]||(t[0]=s=>e.scrollList("left",e.scroll_id))}),p(je,{density:"default",variant:"outlined",size:"x-small",icon:"fas fa-chevron-right",onClick:t[1]||(t[1]=s=>e.scrollList("right",e.scroll_id))})]),_:1})]),_:1}),p(Ei,null,{default:q(()=>[p(yn,null,{default:q(()=>[p($T,{direction:"horizontal",mode:"manual",id:e.scroll_id},{"load-more":q(()=>[]),default:q(()=>[(de(!0),at(_e,null,Oi(e.recipes,s=>(de(),at("div",MT,[p(a,{recipe:s,show_description:!1,show_keywords:!1,style:{width:"45vw",height:"30vh"}},null,8,["recipe"])]))),256))]),_:1},8,["id"])]),_:1})]),_:1})],64)}const qT=Ct(NT,[["render",VT]]),zT=pt({name:"RecipeSearchPage",components:{HorizontalRecipeScroller:qT,RecipeCard:Ol,GlobalSearchDialog:Um,RecipeCardComponent:Ol,KeywordsComponent:qu},computed:{},data(){return{recipes:[],items:Array.from({length:50},(e,t)=>t+1),new_recipes:[],high_rated_recipes:[]}},mounted(){const e=new us;e.apiRecipeList({_new:"true"}).then(t=>{t.results!=null&&(this.new_recipes=t.results)}),e.apiRecipeList({rating:4}).then(t=>{t.results!=null&&(this.high_rated_recipes=t.results)})},methods:{}});function HT(e,t,n,i,r,o){const a=Pt("horizontal-recipe-scroller");return de(),Me(Fo,null,{default:q(()=>[p(a,{title:"New Recipes",recipes:e.new_recipes},null,8,["recipes"]),p(a,{title:"Top Rated",recipes:e.high_rated_recipes},null,8,["recipes"])]),_:1})}const WT=Ct(zT,[["render",HT]]),JT=pt({name:"NumberScalerDialog",emits:{change(e){return e}},props:{number:{type:Number,default:0},title:{type:String,default:"Number"}},data(){return{dialog:!1,mutable_number:0}},watch:{number:function(e){this.mutable_number=e}},mounted(){this.mutable_number=this.number},methods:{updateNumber:function(e){e==="half"&&(this.mutable_number=this.number/2),e==="double"&&(this.mutable_number=this.number*2),e==="add"&&(this.mutable_number=this.number+1),e==="sub"&&(this.mutable_number=this.number-1),this.$emit("change",{number:this.mutable_number})}}}),GT=Ee("i",{class:"fas fa-divide"},null,-1),KT=Ee("i",{class:"fas fa-minus"},null,-1),ZT=Ee("i",{class:"fas fa-plus"},null,-1),YT=Ee("i",{class:"fas fa-times"},null,-1);function XT(e,t,n,i,r,o){return de(),Me(km,{width:"500",activator:"parent",modelValue:e.dialog,"onUpdate:modelValue":t[8]||(t[8]=a=>e.dialog=a)},{activator:q(({props:a})=>[zp(e.$slots,"activator",{},()=>[p(je,Pe(a,{text:"Open Dialog"}),null,16)])]),default:q(({isActive:a})=>[p(An,{title:e.title},{default:q(()=>[p(ri,null,{default:q(()=>[Ve(" Change Number ")]),_:1}),p(ri,null,{default:q(()=>[p(Na,{divided:"",color:"primary"},{default:q(()=>[p(je,{onClick:t[0]||(t[0]=s=>e.updateNumber("half"))},{default:q(()=>[GT,Ve(" 2 ")]),_:1}),p(je,{onClick:t[1]||(t[1]=s=>e.updateNumber("sub"))},{default:q(()=>[KT]),_:1}),p(je,{onClick:t[2]||(t[2]=s=>e.updateNumber("prompt"))},{default:q(()=>[Ve(Fe(e.mutable_number),1)]),_:1}),p(je,{onClick:t[3]||(t[3]=s=>e.updateNumber("add"))},{default:q(()=>[ZT]),_:1}),p(je,{onClick:t[4]||(t[4]=s=>e.updateNumber("double"))},{default:q(()=>[YT,Ve(" 2 ")]),_:1})]),_:1}),p(Pm,{type:"number",modelValue:e.mutable_number,"onUpdate:modelValue":t[5]||(t[5]=s=>e.mutable_number=s),modelModifiers:{number:!0},onChange:t[6]||(t[6]=s=>e.updateNumber("set"))},null,8,["modelValue"])]),_:1}),p(cm,null,{default:q(()=>[p(je,{rounded:"",variant:"outlined",onClick:t[7]||(t[7]=s=>e.dialog=!1)},{default:q(()=>[Ve("Close")]),_:1})]),_:1})]),_:1},8,["title"])]),_:3},8,["modelValue"])}const QT=Ct(JT,[["render",XT]]),jT=pt({name:"IngredientsTableRow",props:{ingredient:{type:{},required:!0}},data(){return{show_tooltip:!1}}}),e1=J({id:String,text:String,...gu(Nu({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"),t1=oe()({name:"VTooltip",props:e1(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=It(e,"modelValue"),{scopeId:r}=Du(),o=$n(),a=C(()=>e.id||`v-tooltip-${o}`),s=Se(),l=C(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=C(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),c=C(()=>e.transition?e.transition:i.value?"scale-transition":"fade-transition"),d=C(()=>Pe({"aria-describedby":a.value},e.activatorProps));return pe(()=>{const f=qa.filterProps(e);return p(qa,Pe({ref:s,class:["v-tooltip",e.class],style:e.style,id:a.value},f,{modelValue:i.value,"onUpdate:modelValue":h=>i.value=h,transition:c.value,absolute:!0,location:l.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},r),{activator:n.activator,default:function(){var S;for(var h=arguments.length,m=new Array(h),g=0;g<h;g++)m[g]=arguments[g];return((S=n.default)==null?void 0:S.call(n,...m))??e.text}})}),vs({},s)}}),n1={key:0,colspan:"4"},i1={key:0},r1={key:0};function o1(e,t,n,i,r,o){return de(),at("tr",null,[e.ingredient.isHeader?(de(),at("td",n1,[Ee("b",null,Fe(e.ingredient.note),1)])):(de(),at(_e,{key:1},[Ee("td",null,Fe(e.ingredient.amount),1),Ee("td",null,[e.ingredient.unit!=null?(de(),at("span",i1,Fe(e.ingredient.unit.name),1)):kt("",!0)]),Ee("td",null,[e.ingredient.food!=null?(de(),at("span",r1,Fe(e.ingredient.food.name),1)):kt("",!0)]),Ee("td",null,[e.ingredient.note!=""?(de(),Me(Qe,{key:0,class:"far fa-comment",onClick:t[1]||(t[1]=a=>e.show_tooltip=!e.show_tooltip)},{default:q(()=>[p(t1,{modelValue:e.show_tooltip,"onUpdate:modelValue":t[0]||(t[0]=a=>e.show_tooltip=a),activator:"parent",location:"start"},{default:q(()=>[Ve(Fe(e.ingredient.note),1)]),_:1},8,["modelValue"])]),_:1})):kt("",!0)])],64))])}const ng=Ct(jT,[["render",o1]]),a1=pt({name:"IngredientsTable",components:{IngredientsTableRow:ng},props:{ingredients:{type:Array,default:[]}},mounted(){}}),s1=J({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Ce(),...$t(),...He(),...it()},"VTable"),l1=oe()({name:"VTable",props:s1(),setup(e,t){let{slots:n,emit:i}=t;const{themeClasses:r}=lt(e),{densityClasses:o}=fn(e);return pe(()=>p(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},r.value,o.value,e.class],style:e.style},{default:()=>{var a,s,l;return[(a=n.top)==null?void 0:a.call(n),n.default?p("div",{class:"v-table__wrapper",style:{height:le(e.height)}},[p("table",null,[n.default()])]):(s=n.wrapper)==null?void 0:s.call(n),(l=n.bottom)==null?void 0:l.call(n)]}})),{}}});function u1(e,t,n,i,r,o){const a=Pt("IngredientsTableRow");return e.ingredients.length>0?(de(),Me(l1,{key:0,density:"compact"},{default:q(()=>[Ee("tbody",null,[(de(!0),at(_e,null,Oi(e.ingredients,s=>(de(),Me(a,{ingredient:s,key:s.id},null,8,["ingredient"]))),128))])]),_:1})):kt("",!0)}const Hu=Ct(a1,[["render",u1]]),c1=pt({name:"StepsOverview",components:{IngredientsTable:Hu,IngredientsTableRow:ng},props:{steps:{type:Array,default:[]}}}),Ro=Symbol.for("vuetify:v-expansion-panel"),d1=["default","accordion","inset","popout"],f1=J({color:String,static:Boolean,variant:{type:String,default:"default",validator:e=>d1.includes(e)},readonly:Boolean,...Ce(),...Oo(),...He(),...it()},"VExpansionPanels"),p1=oe()({name:"VExpansionPanels",props:f1(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;Lo(e,Ro);const{themeClasses:i}=lt(e),r=C(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return Cn({VExpansionPanel:{color:ve(e,"color"),readonly:ve(e,"readonly"),static:ve(e,"static")}}),pe(()=>p(e.tag,{class:["v-expansion-panels",i.value,r.value,e.class],style:e.style},n)),{}}}),h1=J({...Ce(),...Fu()},"VExpansionPanelText"),ig=oe()({name:"VExpansionPanelText",props:h1(),setup(e,t){let{slots:n}=t;const i=Je(Ro);if(!i)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:r,onAfterLeave:o}=Cm(e,i.isSelected);return pe(()=>p(gm,{onAfterLeave:o},{default:()=>{var a;return[Xt(p("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&r.value&&p("div",{class:"v-expansion-panel-text__wrapper"},[(a=n.default)==null?void 0:a.call(n)])]),[[pr,i.isSelected.value]])]}})),{}}}),rg=J({color:String,expandIcon:{type:qe,default:"$expand"},collapseIcon:{type:qe,default:"$collapse"},hideActions:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Ce()},"VExpansionPanelTitle"),m1=oe()({name:"VExpansionPanelTitle",directives:{Ripple:ms},props:rg(),setup(e,t){let{slots:n}=t;const i=Je(Ro);if(!i)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:r,backgroundColorStyles:o}=Qt(e,"color"),a=C(()=>({collapseIcon:e.collapseIcon,disabled:i.disabled.value,expanded:i.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return pe(()=>{var s;return Xt(p("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":i.isSelected.value,"v-expansion-panel-title--static":e.static},r.value,e.class],style:[o.value,e.style],type:"button",tabindex:i.disabled.value?-1:void 0,disabled:i.disabled.value,"aria-expanded":i.isSelected.value,onClick:e.readonly?void 0:i.toggle},[p("span",{class:"v-expansion-panel-title__overlay"},null),(s=n.default)==null?void 0:s.call(n,a.value),!e.hideActions&&p("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(a.value):p(Qe,{icon:i.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[Ai("ripple"),e.ripple]])}),{}}}),g1=J({title:String,text:String,bgColor:String,...Ce(),...Rn(),...ku(),...Fu(),...Et(),...He(),...rg()},"VExpansionPanel"),v1=oe()({name:"VExpansionPanel",props:g1(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const i=Tu(e,Ro),{backgroundColorClasses:r,backgroundColorStyles:o}=Qt(e,"bgColor"),{elevationClasses:a}=Mn(e),{roundedClasses:s}=Bt(e),l=C(()=>(i==null?void 0:i.disabled.value)||e.disabled),u=C(()=>i.group.items.value.reduce((f,h,m)=>(i.group.selected.value.includes(h.id)&&f.push(m),f),[])),c=C(()=>{const f=i.group.items.value.findIndex(h=>h.id===i.id);return!i.isSelected.value&&u.value.some(h=>h-f===1)}),d=C(()=>{const f=i.group.items.value.findIndex(h=>h.id===i.id);return!i.isSelected.value&&u.value.some(h=>h-f===-1)});return Ft(Ro,i),Cn({VExpansionPanelText:{eager:ve(e,"eager")},VExpansionPanelTitle:{readonly:ve(e,"readonly")}}),pe(()=>{const f=!!(n.text||e.text),h=!!(n.title||e.title);return p(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":i.isSelected.value,"v-expansion-panel--before-active":c.value,"v-expansion-panel--after-active":d.value,"v-expansion-panel--disabled":l.value},s.value,r.value,e.class],style:[o.value,e.style]},{default:()=>{var m;return[p("div",{class:["v-expansion-panel__shadow",...a.value]},null),h&&p(m1,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[n.title?n.title():e.title]}),f&&p(ig,{key:"text"},{default:()=>[n.text?n.text():e.text]}),(m=n.default)==null?void 0:m.call(n)]}})}),{}}}),y1={key:0};function w1(e,t,n,i,r,o){const a=Pt("IngredientsTable");return de(),Me(p1,null,{default:q(()=>[p(v1,{title:"Steps Overview"},{default:q(()=>[p(ig,null,{default:q(()=>[p(Fo,null,{default:q(()=>[(de(!0),at(_e,null,Oi(e.steps,(s,l)=>(de(),Me(Ei,null,{default:q(()=>[p(yn,{class:"pa-1"},{default:q(()=>[s.showAsHeader?(de(),at("b",y1,Fe(l+1)+". "+Fe(s.name),1)):kt("",!0),p(a,{ingredients:s.ingredients},null,8,["ingredients"])]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})]),_:1})}const b1=Ct(c1,[["render",w1]]);class Fi extends Error{}class S1 extends Fi{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class C1 extends Fi{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class R1 extends Fi{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Yi extends Fi{}class og extends Fi{constructor(t){super(`Invalid unit ${t}`)}}class _t extends Fi{}class Hn extends Fi{constructor(){super("Zone is an abstract class")}}const K="numeric",un="short",Nt="long",Wa={year:K,month:K,day:K},ag={year:K,month:un,day:K},_1={year:K,month:un,day:K,weekday:un},sg={year:K,month:Nt,day:K},lg={year:K,month:Nt,day:K,weekday:Nt},ug={hour:K,minute:K},cg={hour:K,minute:K,second:K},dg={hour:K,minute:K,second:K,timeZoneName:un},fg={hour:K,minute:K,second:K,timeZoneName:Nt},pg={hour:K,minute:K,hourCycle:"h23"},hg={hour:K,minute:K,second:K,hourCycle:"h23"},mg={hour:K,minute:K,second:K,hourCycle:"h23",timeZoneName:un},gg={hour:K,minute:K,second:K,hourCycle:"h23",timeZoneName:Nt},vg={year:K,month:K,day:K,hour:K,minute:K},yg={year:K,month:K,day:K,hour:K,minute:K,second:K},wg={year:K,month:un,day:K,hour:K,minute:K},bg={year:K,month:un,day:K,hour:K,minute:K,second:K},k1={year:K,month:un,day:K,weekday:un,hour:K,minute:K},Sg={year:K,month:Nt,day:K,hour:K,minute:K,timeZoneName:un},Cg={year:K,month:Nt,day:K,hour:K,minute:K,second:K,timeZoneName:un},Rg={year:K,month:Nt,day:K,weekday:Nt,hour:K,minute:K,timeZoneName:Nt},_g={year:K,month:Nt,day:K,weekday:Nt,hour:K,minute:K,second:K,timeZoneName:Nt};class Do{get type(){throw new Hn}get name(){throw new Hn}get ianaName(){return this.name}get isUniversal(){throw new Hn}offsetName(t,n){throw new Hn}formatOffset(t,n){throw new Hn}offset(t){throw new Hn}equals(t){throw new Hn}get isValid(){throw new Hn}}let Zs=null;class ys extends Do{static get instance(){return Zs===null&&(Zs=new ys),Zs}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Pg(t,n,i)}formatOffset(t,n){return oo(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let ma={};function T1(e){return ma[e]||(ma[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ma[e]}const E1={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function I1(e,t){const n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,o,a,s,l,u,c]=i;return[a,r,o,s,l,u,c]}function x1(e,t){const n=e.formatToParts(t),i=[];for(let r=0;r<n.length;r++){const{type:o,value:a}=n[r],s=E1[o];o==="era"?i[s]=a:ge(s)||(i[s]=parseInt(a,10))}return i}let na={};class Un extends Do{static create(t){return na[t]||(na[t]=new Un(t)),na[t]}static resetCache(){na={},ma={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Un.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:i}){return Pg(t,n,i,this.name)}formatOffset(t,n){return oo(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const i=T1(this.name);let[r,o,a,s,l,u,c]=i.formatToParts?x1(i,n):I1(i,n);s==="BC"&&(r=-Math.abs(r)+1);const f=bs({year:r,month:o,day:a,hour:l===24?0:l,minute:u,second:c,millisecond:0});let h=+n;const m=h%1e3;return h-=m>=0?m:1e3+m,(f-h)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let _f={};function A1(e,t={}){const n=JSON.stringify([e,t]);let i=_f[n];return i||(i=new Intl.ListFormat(e,t),_f[n]=i),i}let Ll={};function Pl(e,t={}){const n=JSON.stringify([e,t]);let i=Ll[n];return i||(i=new Intl.DateTimeFormat(e,t),Ll[n]=i),i}let Ul={};function O1(e,t={}){const n=JSON.stringify([e,t]);let i=Ul[n];return i||(i=new Intl.NumberFormat(e,t),Ul[n]=i),i}let Fl={};function L1(e,t={}){const{base:n,...i}=t,r=JSON.stringify([e,i]);let o=Fl[r];return o||(o=new Intl.RelativeTimeFormat(e,t),Fl[r]=o),o}let Kr=null;function P1(){return Kr||(Kr=new Intl.DateTimeFormat().resolvedOptions().locale,Kr)}let kf={};function U1(e){let t=kf[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,kf[e]=t}return t}function F1(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let i,r;try{i=Pl(e).resolvedOptions(),r=e}catch{const l=e.substring(0,n);i=Pl(l).resolvedOptions(),r=l}const{numberingSystem:o,calendar:a}=i;return[r,o,a]}}function D1(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function N1(e){const t=[];for(let n=1;n<=12;n++){const i=fe.utc(2009,n,1);t.push(e(i))}return t}function B1(e){const t=[];for(let n=1;n<=7;n++){const i=fe.utc(2016,11,13+n);t.push(e(i))}return t}function ia(e,t,n,i){const r=e.listingMode();return r==="error"?null:r==="en"?n(t):i(t)}function $1(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class M1{constructor(t,n,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:r,floor:o,...a}=i;if(!n||Object.keys(a).length>0){const s={useGrouping:!1,...i};i.padTo>0&&(s.minimumIntegerDigits=i.padTo),this.inf=O1(t,s)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Ku(t,3);return rt(n,this.padTo)}}}class V1{constructor(t,n,i){this.opts=i,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const a=-1*(t.offset/60),s=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&Un.create(s).valid?(r=s,this.dt=t):(r="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||r,this.dtf=Pl(n,o)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const i=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:i}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class q1{constructor(t,n,i){this.opts={style:"long",...i},!n&&Og()&&(this.rtf=L1(t,i))}format(t,n){return this.rtf?this.rtf.format(t,n):lE(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const z1={firstDay:1,minimalDays:4,weekend:[6,7]};class $e{static fromOpts(t){return $e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,i,r,o=!1){const a=t||tt.defaultLocale,s=a||(o?"en-US":P1()),l=n||tt.defaultNumberingSystem,u=i||tt.defaultOutputCalendar,c=Dl(r)||tt.defaultWeekSettings;return new $e(s,l,u,c,a)}static resetCache(){Kr=null,Ll={},Ul={},Fl={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:i,weekSettings:r}={}){return $e.create(t,n,i,r)}constructor(t,n,i,r,o){const[a,s,l]=F1(t);this.locale=a,this.numberingSystem=n||s||null,this.outputCalendar=i||l||null,this.weekSettings=r,this.intl=D1(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=$1(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:$e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Dl(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return ia(this,t,Dg,()=>{const i=n?{month:t,day:"numeric"}:{month:t},r=n?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=N1(o=>this.extract(o,i,"month"))),this.monthsCache[r][t]})}weekdays(t,n=!1){return ia(this,t,$g,()=>{const i=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=n?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=B1(o=>this.extract(o,i,"weekday"))),this.weekdaysCache[r][t]})}meridiems(){return ia(this,void 0,()=>Mg,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fe.utc(2016,11,13,9),fe.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return ia(this,t,Vg,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[fe.utc(-40,1,1),fe.utc(2017,1,1)].map(i=>this.extract(i,n,"era"))),this.eraCache[t]})}extract(t,n,i){const r=this.dtFormatter(t,n),o=r.formatToParts(),a=o.find(s=>s.type.toLowerCase()===i);return a?a.value:null}numberFormatter(t={}){return new M1(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new V1(t,this.intl,n)}relFormatter(t={}){return new q1(this.intl,this.isEnglish(),t)}listFormatter(t={}){return A1(this.intl,t)}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:Lg()?U1(this.locale):z1}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Ys=null;class St extends Do{static get utcInstance(){return Ys===null&&(Ys=new St(0)),Ys}static instance(t){return t===0?St.utcInstance:new St(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new St(Ss(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${oo(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${oo(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return oo(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class H1 extends Do{constructor(t){super(),this.zoneName=t}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 ei(e,t){if(ge(e)||e===null)return t;if(e instanceof Do)return e;if(G1(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?ys.instance:n==="utc"||n==="gmt"?St.utcInstance:St.parseSpecifier(n)||Un.create(e)}else return ki(e)?St.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new H1(e)}let Tf=()=>Date.now(),Ef="system",If=null,xf=null,Af=null,Of=60,Lf,Pf=null;class tt{static get now(){return Tf}static set now(t){Tf=t}static set defaultZone(t){Ef=t}static get defaultZone(){return ei(Ef,ys.instance)}static get defaultLocale(){return If}static set defaultLocale(t){If=t}static get defaultNumberingSystem(){return xf}static set defaultNumberingSystem(t){xf=t}static get defaultOutputCalendar(){return Af}static set defaultOutputCalendar(t){Af=t}static get defaultWeekSettings(){return Pf}static set defaultWeekSettings(t){Pf=Dl(t)}static get twoDigitCutoffYear(){return Of}static set twoDigitCutoffYear(t){Of=t%100}static get throwOnInvalid(){return Lf}static set throwOnInvalid(t){Lf=t}static resetCaches(){$e.resetCache(),Un.resetCache()}}class sn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kg=[0,31,59,90,120,151,181,212,243,273,304,334],Tg=[0,31,60,91,121,152,182,213,244,274,305,335];function Wt(e,t){return new sn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Wu(e,t,n){const i=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const r=i.getUTCDay();return r===0?7:r}function Eg(e,t,n){return n+(No(e)?Tg:kg)[t-1]}function Ig(e,t){const n=No(e)?Tg:kg,i=n.findIndex(o=>o<t),r=t-n[i];return{month:i+1,day:r}}function Ju(e,t){return(e-t+7)%7+1}function Ja(e,t=4,n=1){const{year:i,month:r,day:o}=e,a=Eg(i,r,o),s=Ju(Wu(i,r,o),n);let l=Math.floor((a-s+14-t)/7),u;return l<1?(u=i-1,l=_o(u,t,n)):l>_o(i,t,n)?(u=i+1,l=1):u=i,{weekYear:u,weekNumber:l,weekday:s,...Cs(e)}}function Uf(e,t=4,n=1){const{weekYear:i,weekNumber:r,weekday:o}=e,a=Ju(Wu(i,1,t),n),s=tr(i);let l=r*7+o-a-7+t,u;l<1?(u=i-1,l+=tr(u)):l>s?(u=i+1,l-=tr(i)):u=i;const{month:c,day:d}=Ig(u,l);return{year:u,month:c,day:d,...Cs(e)}}function Xs(e){const{year:t,month:n,day:i}=e,r=Eg(t,n,i);return{year:t,ordinal:r,...Cs(e)}}function Ff(e){const{year:t,ordinal:n}=e,{month:i,day:r}=Ig(t,n);return{year:t,month:i,day:r,...Cs(e)}}function Df(e,t){if(!ge(e.localWeekday)||!ge(e.localWeekNumber)||!ge(e.localWeekYear)){if(!ge(e.weekday)||!ge(e.weekNumber)||!ge(e.weekYear))throw new Yi("Cannot mix locale-based week fields with ISO-based week fields");return ge(e.localWeekday)||(e.weekday=e.localWeekday),ge(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),ge(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function W1(e,t=4,n=1){const i=ws(e.weekYear),r=Jt(e.weekNumber,1,_o(e.weekYear,t,n)),o=Jt(e.weekday,1,7);return i?r?o?!1:Wt("weekday",e.weekday):Wt("week",e.weekNumber):Wt("weekYear",e.weekYear)}function J1(e){const t=ws(e.year),n=Jt(e.ordinal,1,tr(e.year));return t?n?!1:Wt("ordinal",e.ordinal):Wt("year",e.year)}function xg(e){const t=ws(e.year),n=Jt(e.month,1,12),i=Jt(e.day,1,Ga(e.year,e.month));return t?n?i?!1:Wt("day",e.day):Wt("month",e.month):Wt("year",e.year)}function Ag(e){const{hour:t,minute:n,second:i,millisecond:r}=e,o=Jt(t,0,23)||t===24&&n===0&&i===0&&r===0,a=Jt(n,0,59),s=Jt(i,0,59),l=Jt(r,0,999);return o?a?s?l?!1:Wt("millisecond",r):Wt("second",i):Wt("minute",n):Wt("hour",t)}function ge(e){return typeof e>"u"}function ki(e){return typeof e=="number"}function ws(e){return typeof e=="number"&&e%1===0}function G1(e){return typeof e=="string"}function K1(e){return Object.prototype.toString.call(e)==="[object Date]"}function Og(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Lg(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Z1(e){return Array.isArray(e)?e:[e]}function Nf(e,t,n){if(e.length!==0)return e.reduce((i,r)=>{const o=[t(r),r];return i&&n(i[0],o[0])===i[0]?i:o},null)[1]}function Y1(e,t){return t.reduce((n,i)=>(n[i]=e[i],n),{})}function cr(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Dl(e){if(e==null)return null;if(typeof e!="object")throw new _t("Week settings must be an object");if(!Jt(e.firstDay,1,7)||!Jt(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Jt(t,1,7)))throw new _t("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Jt(e,t,n){return ws(e)&&e>=t&&e<=n}function X1(e,t){return e-t*Math.floor(e/t)}function rt(e,t=2){const n=e<0;let i;return n?i="-"+(""+-e).padStart(t,"0"):i=(""+e).padStart(t,"0"),i}function jn(e){if(!(ge(e)||e===null||e===""))return parseInt(e,10)}function di(e){if(!(ge(e)||e===null||e===""))return parseFloat(e)}function Gu(e){if(!(ge(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Ku(e,t,n=!1){const i=10**t;return(n?Math.trunc:Math.round)(e*i)/i}function No(e){return e%4===0&&(e%100!==0||e%400===0)}function tr(e){return No(e)?366:365}function Ga(e,t){const n=X1(t-1,12)+1,i=e+(t-n)/12;return n===2?No(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function bs(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Bf(e,t,n){return-Ju(Wu(e,1,t),n)+t-1}function _o(e,t=4,n=1){const i=Bf(e,t,n),r=Bf(e+1,t,n);return(tr(e)-i+r)/7}function Nl(e){return e>99?e:e>tt.twoDigitCutoffYear?1900+e:2e3+e}function Pg(e,t,n,i=null){const r=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(o.timeZone=i);const a={timeZoneName:t,...o},s=new Intl.DateTimeFormat(n,a).formatToParts(r).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function Ss(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const i=parseInt(t,10)||0,r=n<0||Object.is(n,-0)?-i:i;return n*60+r}function Ug(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new _t(`Invalid unit value ${e}`);return t}function Ka(e,t){const n={};for(const i in e)if(cr(e,i)){const r=e[i];if(r==null)continue;n[t(i)]=Ug(r)}return n}function oo(e,t){const n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),r=e>=0?"+":"-";switch(t){case"short":return`${r}${rt(n,2)}:${rt(i,2)}`;case"narrow":return`${r}${n}${i>0?`:${i}`:""}`;case"techie":return`${r}${rt(n,2)}${rt(i,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Cs(e){return Y1(e,["hour","minute","second","millisecond"])}const Q1=["January","February","March","April","May","June","July","August","September","October","November","December"],Fg=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],j1=["J","F","M","A","M","J","J","A","S","O","N","D"];function Dg(e){switch(e){case"narrow":return[...j1];case"short":return[...Fg];case"long":return[...Q1];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 Ng=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Bg=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],eE=["M","T","W","T","F","S","S"];function $g(e){switch(e){case"narrow":return[...eE];case"short":return[...Bg];case"long":return[...Ng];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Mg=["AM","PM"],tE=["Before Christ","Anno Domini"],nE=["BC","AD"],iE=["B","A"];function Vg(e){switch(e){case"narrow":return[...iE];case"short":return[...nE];case"long":return[...tE];default:return null}}function rE(e){return Mg[e.hour<12?0:1]}function oE(e,t){return $g(t)[e.weekday-1]}function aE(e,t){return Dg(t)[e.month-1]}function sE(e,t){return Vg(t)[e.year<0?0:1]}function lE(e,t,n="always",i=!1){const r={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."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${r[e][0]}`;case-1:return d?"yesterday":`last ${r[e][0]}`;case 0:return d?"today":`this ${r[e][0]}`}}const a=Object.is(t,-0)||t<0,s=Math.abs(t),l=s===1,u=r[e],c=i?l?u[1]:u[2]||u[1]:l?r[e][0]:e;return a?`${s} ${c} ago`:`in ${s} ${c}`}function $f(e,t){let n="";for(const i of e)i.literal?n+=i.val:n+=t(i.val);return n}const uE={D:Wa,DD:ag,DDD:sg,DDDD:lg,t:ug,tt:cg,ttt:dg,tttt:fg,T:pg,TT:hg,TTT:mg,TTTT:gg,f:vg,ff:wg,fff:Sg,ffff:Rg,F:yg,FF:bg,FFF:Cg,FFFF:_g};class gt{static create(t,n={}){return new gt(t,n)}static parseFormat(t){let n=null,i="",r=!1;const o=[];for(let a=0;a<t.length;a++){const s=t.charAt(a);s==="'"?(i.length>0&&o.push({literal:r||/^\s+$/.test(i),val:i}),n=null,i="",r=!r):r||s===n?i+=s:(i.length>0&&o.push({literal:/^\s+$/.test(i),val:i}),i=s,n=s)}return i.length>0&&o.push({literal:r||/^\s+$/.test(i),val:i}),o}static macroTokenToFormatOpts(t){return uE[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...n}).format()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return rt(t,n);const i={...this.opts};return n>0&&(i.padTo=n),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,n){const i=this.loc.listingMode()==="en",r=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(h,m)=>this.loc.extract(t,h,m),a=h=>t.isOffsetFixed&&t.offset===0&&h.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,h.format):"",s=()=>i?rE(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,m)=>i?aE(t,h):o(m?{month:h}:{month:h,day:"numeric"},"month"),u=(h,m)=>i?oE(t,h):o(m?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),c=h=>{const m=gt.macroTokenToFormatOpts(h);return m?this.formatWithSystemDefault(t,m):h},d=h=>i?sE(t,h):o({era:h},"era"),f=h=>{switch(h){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return s();case"d":return r?o({day:"numeric"},"day"):this.num(t.day);case"dd":return r?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return r?o({month:"numeric"},"month"):this.num(t.month);case"MM":return r?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return r?o({year:"numeric"},"year"):this.num(t.year);case"yy":return r?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return c(h)}};return $f(gt.parseFormat(n),f)}formatDurationFromString(t,n){const i=l=>{switch(l[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}},r=l=>u=>{const c=i(u);return c?this.num(l.get(c),u.length):u},o=gt.parseFormat(n),a=o.reduce((l,{literal:u,val:c})=>u?l:l.concat(c),[]),s=t.shiftTo(...a.map(i).filter(l=>l));return $f(o,r(s))}}const qg=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function wr(...e){const t=e.reduce((n,i)=>n+i.source,"");return RegExp(`^${t}$`)}function br(...e){return t=>e.reduce(([n,i,r],o)=>{const[a,s,l]=o(t,r);return[{...n,...a},s||i,l]},[{},null,1]).slice(0,2)}function Sr(e,...t){if(e==null)return[null,null];for(const[n,i]of t){const r=n.exec(e);if(r)return i(r)}return[null,null]}function zg(...e){return(t,n)=>{const i={};let r;for(r=0;r<e.length;r++)i[e[r]]=jn(t[n+r]);return[i,null,n+r]}}const Hg=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,cE=`(?:${Hg.source}?(?:\\[(${qg.source})\\])?)?`,Zu=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Wg=RegExp(`${Zu.source}${cE}`),Yu=RegExp(`(?:T${Wg.source})?`),dE=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,fE=/(\d{4})-?W(\d\d)(?:-?(\d))?/,pE=/(\d{4})-?(\d{3})/,hE=zg("weekYear","weekNumber","weekDay"),mE=zg("year","ordinal"),gE=/(\d{4})-(\d\d)-(\d\d)/,Jg=RegExp(`${Zu.source} ?(?:${Hg.source}|(${qg.source}))?`),vE=RegExp(`(?: ${Jg.source})?`);function nr(e,t,n){const i=e[t];return ge(i)?n:jn(i)}function yE(e,t){return[{year:nr(e,t),month:nr(e,t+1,1),day:nr(e,t+2,1)},null,t+3]}function Cr(e,t){return[{hours:nr(e,t,0),minutes:nr(e,t+1,0),seconds:nr(e,t+2,0),milliseconds:Gu(e[t+3])},null,t+4]}function Bo(e,t){const n=!e[t]&&!e[t+1],i=Ss(e[t+1],e[t+2]),r=n?null:St.instance(i);return[{},r,t+3]}function $o(e,t){const n=e[t]?Un.create(e[t]):null;return[{},n,t+1]}const wE=RegExp(`^T?${Zu.source}$`),bE=/^-?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 SE(e){const[t,n,i,r,o,a,s,l,u]=e,c=t[0]==="-",d=l&&l[0]==="-",f=(h,m=!1)=>h!==void 0&&(m||h&&c)?-h:h;return[{years:f(di(n)),months:f(di(i)),weeks:f(di(r)),days:f(di(o)),hours:f(di(a)),minutes:f(di(s)),seconds:f(di(l),l==="-0"),milliseconds:f(Gu(u),d)}]}const CE={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 Xu(e,t,n,i,r,o,a){const s={year:t.length===2?Nl(jn(t)):jn(t),month:Fg.indexOf(n)+1,day:jn(i),hour:jn(r),minute:jn(o)};return a&&(s.second=jn(a)),e&&(s.weekday=e.length>3?Ng.indexOf(e)+1:Bg.indexOf(e)+1),s}const RE=/^(?:(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 _E(e){const[,t,n,i,r,o,a,s,l,u,c,d]=e,f=Xu(t,r,i,n,o,a,s);let h;return l?h=CE[l]:u?h=0:h=Ss(c,d),[f,new St(h)]}function kE(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const TE=/^(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$/,EE=/^(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$/,IE=/^(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 Mf(e){const[,t,n,i,r,o,a,s]=e;return[Xu(t,r,i,n,o,a,s),St.utcInstance]}function xE(e){const[,t,n,i,r,o,a,s]=e;return[Xu(t,s,n,i,r,o,a),St.utcInstance]}const AE=wr(dE,Yu),OE=wr(fE,Yu),LE=wr(pE,Yu),PE=wr(Wg),Gg=br(yE,Cr,Bo,$o),UE=br(hE,Cr,Bo,$o),FE=br(mE,Cr,Bo,$o),DE=br(Cr,Bo,$o);function NE(e){return Sr(e,[AE,Gg],[OE,UE],[LE,FE],[PE,DE])}function BE(e){return Sr(kE(e),[RE,_E])}function $E(e){return Sr(e,[TE,Mf],[EE,Mf],[IE,xE])}function ME(e){return Sr(e,[bE,SE])}const VE=br(Cr);function qE(e){return Sr(e,[wE,VE])}const zE=wr(gE,vE),HE=wr(Jg),WE=br(Cr,Bo,$o);function JE(e){return Sr(e,[zE,Gg],[HE,WE])}const Vf="Invalid Duration",Kg={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}},GE={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},...Kg},qt=146097/400,$i=146097/4800,KE={years:{quarters:4,months:12,weeks:qt/7,days:qt,hours:qt*24,minutes:qt*24*60,seconds:qt*24*60*60,milliseconds:qt*24*60*60*1e3},quarters:{months:3,weeks:qt/28,days:qt/4,hours:qt*24/4,minutes:qt*24*60/4,seconds:qt*24*60*60/4,milliseconds:qt*24*60*60*1e3/4},months:{weeks:$i/7,days:$i,hours:$i*24,minutes:$i*24*60,seconds:$i*24*60*60,milliseconds:$i*24*60*60*1e3},...Kg},wi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ZE=wi.slice(0).reverse();function Wn(e,t,n=!1){const i={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Ie(i)}function Zg(e,t){let n=t.milliseconds??0;for(const i of ZE.slice(1))t[i]&&(n+=t[i]*e[i].milliseconds);return n}function qf(e,t){const n=Zg(e,t)<0?-1:1;wi.reduceRight((i,r)=>{if(ge(t[r]))return i;if(i){const o=t[i]*n,a=e[r][i],s=Math.floor(o/a);t[r]+=s*n,t[i]-=s*a*n}return r},null),wi.reduce((i,r)=>{if(ge(t[r]))return i;if(i){const o=t[i]%1;t[i]-=o,t[r]+=o*e[i][r]}return r},null)}function YE(e){const t={};for(const[n,i]of Object.entries(e))i!==0&&(t[n]=i);return t}class Ie{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let i=n?KE:GE;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||$e.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,n){return Ie.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new _t(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Ie({values:Ka(t,Ie.normalizeUnit),loc:$e.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(ki(t))return Ie.fromMillis(t);if(Ie.isDuration(t))return t;if(typeof t=="object")return Ie.fromObject(t);throw new _t(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[i]=ME(t);return i?Ie.fromObject(i,n):Ie.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[i]=qE(t);return i?Ie.fromObject(i,n):Ie.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new _t("need to specify a reason the Duration is invalid");const i=t instanceof sn?t:new sn(t,n);if(tt.throwOnInvalid)throw new R1(i);return new Ie({invalid:i})}static normalizeUnit(t){const n={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"}[t&&t.toLowerCase()];if(!n)throw new og(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const i={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?gt.create(this.loc,i).formatDurationFromString(this,t):Vf}toHuman(t={}){if(!this.isValid)return Vf;const n=wi.map(i=>{const r=this.values[i];return ge(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:i.slice(0,-1)}).format(r)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Ku(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},fe.fromMillis(n,{zone:"UTC"}).toISOTime(t))}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?Zg(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ie.fromDurationLike(t),i={};for(const r of wi)(cr(n.values,r)||cr(this.values,r))&&(i[r]=n.get(r)+this.get(r));return Wn(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const n=Ie.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const i of Object.keys(this.values))n[i]=Ug(t(this.values[i],i));return Wn(this,{values:n},!0)}get(t){return this[Ie.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Ka(t,Ie.normalizeUnit)};return Wn(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:i,matrix:r}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:r,conversionAccuracy:i};return Wn(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return qf(this.matrix,t),Wn(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=YE(this.normalize().shiftToAll().toObject());return Wn(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>Ie.normalizeUnit(a));const n={},i={},r=this.toObject();let o;for(const a of wi)if(t.indexOf(a)>=0){o=a;let s=0;for(const u in i)s+=this.matrix[u][a]*i[u],i[u]=0;ki(r[a])&&(s+=r[a]);const l=Math.trunc(s);n[a]=l,i[a]=(s*1e3-l*1e3)/1e3}else ki(r[a])&&(i[a]=r[a]);for(const a in i)i[a]!==0&&(n[o]+=a===o?i[a]:i[a]/this.matrix[o][a]);return qf(this.matrix,n),Wn(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return Wn(this,{values:t},!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(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(i,r){return i===void 0||i===0?r===void 0||r===0:i===r}for(const i of wi)if(!n(this.values[i],t.values[i]))return!1;return!0}}const Mi="Invalid Interval";function XE(e,t){return!e||!e.isValid?Ze.invalid("missing or invalid start"):!t||!t.isValid?Ze.invalid("missing or invalid end"):t<e?Ze.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Ze{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new _t("need to specify a reason the Interval is invalid");const i=t instanceof sn?t:new sn(t,n);if(tt.throwOnInvalid)throw new C1(i);return new Ze({invalid:i})}static fromDateTimes(t,n){const i=Vr(t),r=Vr(n),o=XE(i,r);return o??new Ze({start:i,end:r})}static after(t,n){const i=Ie.fromDurationLike(n),r=Vr(t);return Ze.fromDateTimes(r,r.plus(i))}static before(t,n){const i=Ie.fromDurationLike(n),r=Vr(t);return Ze.fromDateTimes(r.minus(i),r)}static fromISO(t,n){const[i,r]=(t||"").split("/",2);if(i&&r){let o,a;try{o=fe.fromISO(i,n),a=o.isValid}catch{a=!1}let s,l;try{s=fe.fromISO(r,n),l=s.isValid}catch{l=!1}if(a&&l)return Ze.fromDateTimes(o,s);if(a){const u=Ie.fromISO(r,n);if(u.isValid)return Ze.after(o,u)}else if(l){const u=Ie.fromISO(i,n);if(u.isValid)return Ze.before(s,u)}}return Ze.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.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(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const i=this.start.startOf(t,n);let r;return n!=null&&n.useLocaleWeeks?r=this.end.reconfigure({locale:i.locale}):r=this.end,r=r.startOf(t,n),Math.floor(r.diff(i,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?Ze.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Vr).filter(a=>this.contains(a)).sort((a,s)=>a.toMillis()-s.toMillis()),i=[];let{s:r}=this,o=0;for(;r<this.e;){const a=n[o]||this.e,s=+a>+this.e?this.e:a;i.push(Ze.fromDateTimes(r,s)),r=s,o+=1}return i}splitBy(t){const n=Ie.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:i}=this,r=1,o;const a=[];for(;i<this.e;){const s=this.start.plus(n.mapUnits(l=>l*r));o=+s>+this.e?this.e:s,a.push(Ze.fromDateTimes(i,o)),i=o,r+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return n>=i?null:Ze.fromDateTimes(n,i)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Ze.fromDateTimes(n,i)}static merge(t){const[n,i]=t.sort((r,o)=>r.s-o.s).reduce(([r,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[r,o.union(a)]:[r.concat([o]),a]:[r,a],[[],null]);return i&&n.push(i),n}static xor(t){let n=null,i=0;const r=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...o),s=a.sort((l,u)=>l.time-u.time);for(const l of s)i+=l.type==="s"?1:-1,i===1?n=l.time:(n&&+n!=+l.time&&r.push(Ze.fromDateTimes(n,l.time)),n=null);return Ze.merge(r)}difference(...t){return Ze.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Mi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=Wa,n={}){return this.isValid?gt.create(this.s.loc.clone(n),t).formatInterval(this):Mi}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Mi}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Mi}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Mi}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Mi}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ie.invalid(this.invalidReason)}mapEndpoints(t){return Ze.fromDateTimes(t(this.s),t(this.e))}}class ra{static hasDST(t=tt.defaultZone){const n=fe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Un.isValidZone(t)}static normalizeZone(t){return ei(t,tt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||$e.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||$e.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||$e.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:i=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||$e.create(n,i,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||$e.create(n,i,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:i=null,locObj:r=null}={}){return(r||$e.create(n,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:i=null,locObj:r=null}={}){return(r||$e.create(n,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return $e.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return $e.create(n,null,"gregory").eras(t)}static features(){return{relative:Og(),localeWeek:Lg()}}}function zf(e,t){const n=r=>r.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=n(t)-n(e);return Math.floor(Ie.fromMillis(i).as("days"))}function QE(e,t,n){const i=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const c=zf(l,u);return(c-c%7)/7}],["days",zf]],r={},o=e;let a,s;for(const[l,u]of i)n.indexOf(l)>=0&&(a=l,r[l]=u(e,t),s=o.plus(r),s>t?(r[l]--,e=o.plus(r),e>t&&(s=e,r[l]--,e=o.plus(r))):e=s);return[e,r,s,a]}function jE(e,t,n,i){let[r,o,a,s]=QE(e,t,n);const l=t-r,u=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);u.length===0&&(a<t&&(a=r.plus({[s]:1})),a!==r&&(o[s]=(o[s]||0)+l/(a-r)));const c=Ie.fromObject(o,i);return u.length>0?Ie.fromMillis(l,i).shiftTo(...u).plus(c):c}const Qu={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Hf={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]},eI=Qu.hanidec.replace(/[\[|\]]/g,"").split("");function tI(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(e[n].search(Qu.hanidec)!==-1)t+=eI.indexOf(e[n]);else for(const r in Hf){const[o,a]=Hf[r];i>=o&&i<=a&&(t+=i-o)}}return parseInt(t,10)}else return t}function en({numberingSystem:e},t=""){return new RegExp(`${Qu[e||"latn"]}${t}`)}const nI="missing Intl.DateTimeFormat.formatToParts support";function Le(e,t=n=>n){return{regex:e,deser:([n])=>t(tI(n))}}const iI=" ",Yg=`[ ${iI}]`,Xg=new RegExp(Yg,"g");function rI(e){return e.replace(/\./g,"\\.?").replace(Xg,Yg)}function Wf(e){return e.replace(/\./g,"").replace(Xg," ").toLowerCase()}function tn(e,t){return e===null?null:{regex:RegExp(e.map(rI).join("|")),deser:([n])=>e.findIndex(i=>Wf(n)===Wf(i))+t}}function Jf(e,t){return{regex:e,deser:([,n,i])=>Ss(n,i),groups:t}}function oa(e){return{regex:e,deser:([t])=>t}}function oI(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function aI(e,t){const n=en(t),i=en(t,"{2}"),r=en(t,"{3}"),o=en(t,"{4}"),a=en(t,"{6}"),s=en(t,"{1,2}"),l=en(t,"{1,3}"),u=en(t,"{1,6}"),c=en(t,"{1,9}"),d=en(t,"{2,4}"),f=en(t,"{4,6}"),h=S=>({regex:RegExp(oI(S.val)),deser:([R])=>R,literal:!0}),g=(S=>{if(e.literal)return h(S);switch(S.val){case"G":return tn(t.eras("short"),0);case"GG":return tn(t.eras("long"),0);case"y":return Le(u);case"yy":return Le(d,Nl);case"yyyy":return Le(o);case"yyyyy":return Le(f);case"yyyyyy":return Le(a);case"M":return Le(s);case"MM":return Le(i);case"MMM":return tn(t.months("short",!0),1);case"MMMM":return tn(t.months("long",!0),1);case"L":return Le(s);case"LL":return Le(i);case"LLL":return tn(t.months("short",!1),1);case"LLLL":return tn(t.months("long",!1),1);case"d":return Le(s);case"dd":return Le(i);case"o":return Le(l);case"ooo":return Le(r);case"HH":return Le(i);case"H":return Le(s);case"hh":return Le(i);case"h":return Le(s);case"mm":return Le(i);case"m":return Le(s);case"q":return Le(s);case"qq":return Le(i);case"s":return Le(s);case"ss":return Le(i);case"S":return Le(l);case"SSS":return Le(r);case"u":return oa(c);case"uu":return oa(s);case"uuu":return Le(n);case"a":return tn(t.meridiems(),0);case"kkkk":return Le(o);case"kk":return Le(d,Nl);case"W":return Le(s);case"WW":return Le(i);case"E":case"c":return Le(n);case"EEE":return tn(t.weekdays("short",!1),1);case"EEEE":return tn(t.weekdays("long",!1),1);case"ccc":return tn(t.weekdays("short",!0),1);case"cccc":return tn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Jf(new RegExp(`([+-]${s.source})(?::(${i.source}))?`),2);case"ZZZ":return Jf(new RegExp(`([+-]${s.source})(${i.source})?`),2);case"z":return oa(/[a-z_+-/]{1,256}?/i);case" ":return oa(/[^\S\n\r]/);default:return h(S)}})(e)||{invalidReason:nI};return g.token=e,g}const sI={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 lI(e,t,n){const{type:i,value:r}=e;if(i==="literal"){const l=/^\s+$/.test(r);return{literal:!l,val:l?" ":r}}const o=t[i];let a=i;i==="hour"&&(t.hour12!=null?a=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let s=sI[a];if(typeof s=="object"&&(s=s[o]),s)return{literal:!1,val:s}}function uI(e){return[`^${e.map(n=>n.regex).reduce((n,i)=>`${n}(${i.source})`,"")}$`,e]}function cI(e,t,n){const i=e.match(t);if(i){const r={};let o=1;for(const a in n)if(cr(n,a)){const s=n[a],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(r[s.token.val[0]]=s.deser(i.slice(o,o+l))),o+=l}return[i,r]}else return[i,{}]}function dI(e){const t=o=>{switch(o){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 n=null,i;return ge(e.z)||(n=Un.create(e.z)),ge(e.Z)||(n||(n=new St(e.Z)),i=e.Z),ge(e.q)||(e.M=(e.q-1)*3+1),ge(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),ge(e.u)||(e.S=Gu(e.u)),[Object.keys(e).reduce((o,a)=>{const s=t(a);return s&&(o[s]=e[a]),o},{}),n,i]}let Qs=null;function fI(){return Qs||(Qs=fe.fromMillis(1555555555555)),Qs}function pI(e,t){if(e.literal)return e;const n=gt.macroTokenToFormatOpts(e.val),i=ev(n,t);return i==null||i.includes(void 0)?e:i}function Qg(e,t){return Array.prototype.concat(...e.map(n=>pI(n,t)))}function jg(e,t,n){const i=Qg(gt.parseFormat(n),e),r=i.map(a=>aI(a,e)),o=r.find(a=>a.invalidReason);if(o)return{input:t,tokens:i,invalidReason:o.invalidReason};{const[a,s]=uI(r),l=RegExp(a,"i"),[u,c]=cI(t,l,s),[d,f,h]=c?dI(c):[null,null,void 0];if(cr(c,"a")&&cr(c,"H"))throw new Yi("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:i,regex:l,rawMatches:u,matches:c,result:d,zone:f,specificOffset:h}}}function hI(e,t,n){const{result:i,zone:r,specificOffset:o,invalidReason:a}=jg(e,t,n);return[i,r,o,a]}function ev(e,t){if(!e)return null;const i=gt.create(t,e).dtFormatter(fI()),r=i.formatToParts(),o=i.resolvedOptions();return r.map(a=>lI(a,e,o))}const js="Invalid DateTime",Gf=864e13;function aa(e){return new sn("unsupported zone",`the zone "${e.name}" is not supported`)}function el(e){return e.weekData===null&&(e.weekData=Ja(e.c)),e.weekData}function tl(e){return e.localWeekData===null&&(e.localWeekData=Ja(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function fi(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new fe({...n,...t,old:n})}function tv(e,t,n){let i=e-t*60*1e3;const r=n.offset(i);if(t===r)return[i,t];i-=(r-t)*60*1e3;const o=n.offset(i);return r===o?[i,r]:[e-Math.min(r,o)*60*1e3,Math.max(r,o)]}function sa(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function ga(e,t,n){return tv(bs(e),t,n)}function Kf(e,t){const n=e.o,i=e.c.year+Math.trunc(t.years),r=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:i,month:r,day:Math.min(e.c.day,Ga(i,r))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=Ie.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=bs(o);let[l,u]=tv(s,n,e.zone);return a!==0&&(l+=a,u=e.zone.offset(l)),{ts:l,o:u}}function Mr(e,t,n,i,r,o){const{setZone:a,zone:s}=n;if(e&&Object.keys(e).length!==0||t){const l=t||s,u=fe.fromObject(e,{...n,zone:l,specificOffset:o});return a?u:u.setZone(s)}else return fe.invalid(new sn("unparsable",`the input "${r}" can't be parsed as ${i}`))}function la(e,t,n=!0){return e.isValid?gt.create($e.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nl(e,t){const n=e.c.year>9999||e.c.year<0;let i="";return n&&e.c.year>=0&&(i+="+"),i+=rt(e.c.year,n?6:4),t?(i+="-",i+=rt(e.c.month),i+="-",i+=rt(e.c.day)):(i+=rt(e.c.month),i+=rt(e.c.day)),i}function Zf(e,t,n,i,r,o){let a=rt(e.c.hour);return t?(a+=":",a+=rt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(a+=":")):a+=rt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(a+=rt(e.c.second),(e.c.millisecond!==0||!i)&&(a+=".",a+=rt(e.c.millisecond,3))),r&&(e.isOffsetFixed&&e.offset===0&&!o?a+="Z":e.o<0?(a+="-",a+=rt(Math.trunc(-e.o/60)),a+=":",a+=rt(Math.trunc(-e.o%60))):(a+="+",a+=rt(Math.trunc(e.o/60)),a+=":",a+=rt(Math.trunc(e.o%60)))),o&&(a+="["+e.zone.ianaName+"]"),a}const nv={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},mI={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gI={ordinal:1,hour:0,minute:0,second:0,millisecond:0},iv=["year","month","day","hour","minute","second","millisecond"],vI=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yI=["year","ordinal","hour","minute","second","millisecond"];function wI(e){const t={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"}[e.toLowerCase()];if(!t)throw new og(e);return t}function Yf(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return wI(e)}}function Xf(e,t){const n=ei(t.zone,tt.defaultZone),i=$e.fromObject(t),r=tt.now();let o,a;if(ge(e.year))o=r;else{for(const u of iv)ge(e[u])&&(e[u]=nv[u]);const s=xg(e)||Ag(e);if(s)return fe.invalid(s);const l=n.offset(r);[o,a]=ga(e,l,n)}return new fe({ts:o,zone:n,loc:i,o:a})}function Qf(e,t,n){const i=ge(n.round)?!0:n.round,r=(a,s)=>(a=Ku(a,i||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(a,s)),o=a=>n.calendary?t.hasSame(e,a)?0:t.startOf(a).diff(e.startOf(a),a).get(a):t.diff(e,a).get(a);if(n.unit)return r(o(n.unit),n.unit);for(const a of n.units){const s=o(a);if(Math.abs(s)>=1)return r(s,a)}return r(e>t?-0:0,n.units[n.units.length-1])}function jf(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class fe{constructor(t){const n=t.zone||tt.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new sn("invalid input"):null)||(n.isValid?null:aa(n));this.ts=ge(t.ts)?tt.now():t.ts;let r=null,o=null;if(!i)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[r,o]=[t.old.c,t.old.o];else{const s=n.offset(this.ts);r=sa(this.ts,s),i=Number.isNaN(r.year)?new sn("invalid input"):null,r=i?null:r,o=i?null:s}this._zone=n,this.loc=t.loc||$e.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}static now(){return new fe({})}static local(){const[t,n]=jf(arguments),[i,r,o,a,s,l,u]=n;return Xf({year:i,month:r,day:o,hour:a,minute:s,second:l,millisecond:u},t)}static utc(){const[t,n]=jf(arguments),[i,r,o,a,s,l,u]=n;return t.zone=St.utcInstance,Xf({year:i,month:r,day:o,hour:a,minute:s,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const i=K1(t)?t.valueOf():NaN;if(Number.isNaN(i))return fe.invalid("invalid input");const r=ei(n.zone,tt.defaultZone);return r.isValid?new fe({ts:i,zone:r,loc:$e.fromObject(n)}):fe.invalid(aa(r))}static fromMillis(t,n={}){if(ki(t))return t<-Gf||t>Gf?fe.invalid("Timestamp out of range"):new fe({ts:t,zone:ei(n.zone,tt.defaultZone),loc:$e.fromObject(n)});throw new _t(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(ki(t))return new fe({ts:t*1e3,zone:ei(n.zone,tt.defaultZone),loc:$e.fromObject(n)});throw new _t("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const i=ei(n.zone,tt.defaultZone);if(!i.isValid)return fe.invalid(aa(i));const r=$e.fromObject(n),o=Ka(t,Yf),{minDaysInFirstWeek:a,startOfWeek:s}=Df(o,r),l=tt.now(),u=ge(n.specificOffset)?i.offset(l):n.specificOffset,c=!ge(o.ordinal),d=!ge(o.year),f=!ge(o.month)||!ge(o.day),h=d||f,m=o.weekYear||o.weekNumber;if((h||c)&&m)throw new Yi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&c)throw new Yi("Can't mix ordinal dates with month/day");const g=m||o.weekday&&!h;let S,R,k=sa(l,u);g?(S=vI,R=mI,k=Ja(k,a,s)):c?(S=yI,R=gI,k=Xs(k)):(S=iv,R=nv);let I=!1;for(const $ of S){const W=o[$];ge(W)?I?o[$]=R[$]:o[$]=k[$]:I=!0}const P=g?W1(o,a,s):c?J1(o):xg(o),L=P||Ag(o);if(L)return fe.invalid(L);const T=g?Uf(o,a,s):c?Ff(o):o,[E,x]=ga(T,u,i),N=new fe({ts:E,zone:i,o:x,loc:r});return o.weekday&&h&&t.weekday!==N.weekday?fe.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${N.toISO()}`):N}static fromISO(t,n={}){const[i,r]=NE(t);return Mr(i,r,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[i,r]=BE(t);return Mr(i,r,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[i,r]=$E(t);return Mr(i,r,n,"HTTP",n)}static fromFormat(t,n,i={}){if(ge(t)||ge(n))throw new _t("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:o=null}=i,a=$e.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0}),[s,l,u,c]=hI(a,t,n);return c?fe.invalid(c):Mr(s,l,i,`format ${n}`,t,u)}static fromString(t,n,i={}){return fe.fromFormat(t,n,i)}static fromSQL(t,n={}){const[i,r]=JE(t);return Mr(i,r,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new _t("need to specify a reason the DateTime is invalid");const i=t instanceof sn?t:new sn(t,n);if(tt.throwOnInvalid)throw new S1(i);return new fe({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const i=ev(t,$e.fromObject(n));return i?i.map(r=>r?r.val:null).join(""):null}static expandFormat(t,n={}){return Qg(gt.parseFormat(t),$e.fromObject(n)).map(r=>r.val).join("")}get(t){return this[t]}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?el(this).weekYear:NaN}get weekNumber(){return this.isValid?el(this).weekNumber:NaN}get weekday(){return this.isValid?el(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tl(this).weekday:NaN}get localWeekNumber(){return this.isValid?tl(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tl(this).weekYear:NaN}get ordinal(){return this.isValid?Xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?ra.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ra.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ra.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ra.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 t=864e5,n=6e4,i=bs(this.c),r=this.zone.offset(i-t),o=this.zone.offset(i+t),a=this.zone.offset(i-r*n),s=this.zone.offset(i-o*n);if(a===s)return[this];const l=i-a*n,u=i-s*n,c=sa(l,a),d=sa(u,s);return c.hour===d.hour&&c.minute===d.minute&&c.second===d.second&&c.millisecond===d.millisecond?[fi(this,{ts:l}),fi(this,{ts:u})]:[this]}get isInLeapYear(){return No(this.year)}get daysInMonth(){return Ga(this.year,this.month)}get daysInYear(){return this.isValid?tr(this.year):NaN}get weeksInWeekYear(){return this.isValid?_o(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?_o(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:i,calendar:r}=gt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:i,outputCalendar:r}}toUTC(t=0,n={}){return this.setZone(St.instance(t),n)}toLocal(){return this.setZone(tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:i=!1}={}){if(t=ei(t,tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let r=this.ts;if(n||i){const o=t.offset(this.ts),a=this.toObject();[r]=ga(a,o,t)}return fi(this,{ts:r,zone:t})}else return fe.invalid(aa(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:i}={}){const r=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:i});return fi(this,{loc:r})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Ka(t,Yf),{minDaysInFirstWeek:i,startOfWeek:r}=Df(n,this.loc),o=!ge(n.weekYear)||!ge(n.weekNumber)||!ge(n.weekday),a=!ge(n.ordinal),s=!ge(n.year),l=!ge(n.month)||!ge(n.day),u=s||l,c=n.weekYear||n.weekNumber;if((u||a)&&c)throw new Yi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new Yi("Can't mix ordinal dates with month/day");let d;o?d=Uf({...Ja(this.c,i,r),...n},i,r):ge(n.ordinal)?(d={...this.toObject(),...n},ge(n.day)&&(d.day=Math.min(Ga(d.year,d.month),d.day))):d=Ff({...Xs(this.c),...n});const[f,h]=ga(d,this.o,this.zone);return fi(this,{ts:f,o:h})}plus(t){if(!this.isValid)return this;const n=Ie.fromDurationLike(t);return fi(this,Kf(this,n))}minus(t){if(!this.isValid)return this;const n=Ie.fromDurationLike(t).negate();return fi(this,Kf(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const i={},r=Ie.normalizeUnit(t);switch(r){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0;break}if(r==="weeks")if(n){const o=this.loc.getStartOfWeek(),{weekday:a}=this;a<o&&(i.weekNumber=this.weekNumber-1),i.weekday=o}else i.weekday=1;if(r==="quarters"){const o=Math.ceil(this.month/3);i.month=(o-1)*3+1}return this.set(i)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?gt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):js}toLocaleString(t=Wa,n={}){return this.isValid?gt.create(this.loc.clone(n),t).formatDateTime(this):js}toLocaleParts(t={}){return this.isValid?gt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:i=!1,includeOffset:r=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const a=t==="extended";let s=nl(this,a);return s+="T",s+=Zf(this,a,n,i,r,o),s}toISODate({format:t="extended"}={}){return this.isValid?nl(this,t==="extended"):null}toISOWeekDate(){return la(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:i=!0,includePrefix:r=!1,extendedZone:o=!1,format:a="extended"}={}){return this.isValid?(r?"T":"")+Zf(this,a==="extended",n,t,i,o):null}toRFC2822(){return la(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return la(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?nl(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:i=!0}={}){let r="HH:mm:ss.SSS";return(n||t)&&(i&&(r+=" "),n?r+="z":t&&(r+="ZZ")),la(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():js}[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(t={}){if(!this.isValid)return{};const n={...this.c};return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ie.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...i},o=Z1(n).map(Ie.normalizeUnit),a=t.valueOf()>this.valueOf(),s=a?this:t,l=a?t:this,u=jE(s,l,o,r);return a?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(fe.now(),t,n)}until(t){return this.isValid?Ze.fromDateTimes(this,t):this}hasSame(t,n,i){if(!this.isValid)return!1;const r=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n,i)<=r&&r<=o.endOf(n,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||fe.fromObject({},{zone:this.zone}),i=t.padding?this<n?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(r=t.unit,o=void 0),Qf(n,this.plus(i),{...t,numeric:"always",units:r,unit:o})}toRelativeCalendar(t={}){return this.isValid?Qf(t.base||fe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fe.isDateTime))throw new _t("min requires all arguments be DateTimes");return Nf(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(fe.isDateTime))throw new _t("max requires all arguments be DateTimes");return Nf(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,i={}){const{locale:r=null,numberingSystem:o=null}=i,a=$e.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});return jg(a,t,n)}static fromStringExplain(t,n,i={}){return fe.fromFormatExplain(t,n,i)}static get DATE_SHORT(){return Wa}static get DATE_MED(){return ag}static get DATE_MED_WITH_WEEKDAY(){return _1}static get DATE_FULL(){return sg}static get DATE_HUGE(){return lg}static get TIME_SIMPLE(){return ug}static get TIME_WITH_SECONDS(){return cg}static get TIME_WITH_SHORT_OFFSET(){return dg}static get TIME_WITH_LONG_OFFSET(){return fg}static get TIME_24_SIMPLE(){return pg}static get TIME_24_WITH_SECONDS(){return hg}static get TIME_24_WITH_SHORT_OFFSET(){return mg}static get TIME_24_WITH_LONG_OFFSET(){return gg}static get DATETIME_SHORT(){return vg}static get DATETIME_SHORT_WITH_SECONDS(){return yg}static get DATETIME_MED(){return wg}static get DATETIME_MED_WITH_SECONDS(){return bg}static get DATETIME_MED_WITH_WEEKDAY(){return k1}static get DATETIME_FULL(){return Sg}static get DATETIME_FULL_WITH_SECONDS(){return Cg}static get DATETIME_HUGE(){return Rg}static get DATETIME_HUGE_WITH_SECONDS(){return _g}}function Vr(e){if(fe.isDateTime(e))return e;if(e&&e.valueOf&&ki(e.valueOf()))return fe.fromJSDate(e);if(e&&typeof e=="object")return fe.fromObject(e);throw new _t(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const bI=pt({name:"Step",computed:{timer_color:function(){return this.timer_end!=null&&this.time_now>this.timer_end?"warning":""},remaining_time:function(){return this.timer_end!=null?Ze.fromDateTimes(this.time_now,this.timer_end).length()>0?Ie.fromMillis(Ze.fromDateTimes(this.time_now,this.timer_end).length()).toFormat("hh:mm:ss"):"00:00:00":""},finished_at:function(){return this.timer_end!=null?this.timer_end.toLocaleString(fe.TIME_SIMPLE):""}},components:{IngredientsTable:Hu},props:{step:{type:{},required:!0}},data(){return{timer_end:null,time_now:fe.now()}},mounted(){setInterval(()=>{this.time_now=fe.now()},500)},methods:{startTimer(e){this.timer_end=fe.now().plus({minutes:e})}}}),rv=Io("v-alert-title"),SI=["success","info","warning","error"],CI=J({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:qe,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:e=>SI.includes(e)},...Ce(),...$t(),...Li(),...Rn(),...ps(),...Ou(),...Et(),...He(),...it(),...Ui({variant:"flat"})},"VAlert"),RI=oe()({name:"VAlert",props:CI(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:i}=t;const r=It(e,"modelValue"),o=C(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),a=C(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:s}=lt(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Ao(a),{densityClasses:d}=fn(e),{dimensionStyles:f}=Pi(e),{elevationClasses:h}=Mn(e),{locationStyles:m}=hs(e),{positionClasses:g}=Lu(e),{roundedClasses:S}=Bt(e),{textColorClasses:R,textColorStyles:k}=Pn(ve(e,"borderColor")),{t:I}=Po(),P=C(()=>({"aria-label":I(e.closeLabel),onClick(L){r.value=!1,n("click:close",L)}}));return()=>{const L=!!(i.prepend||o.value),T=!!(i.title||e.title),E=!!(i.close||e.closable);return r.value&&p(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},s.value,l.value,d.value,h.value,g.value,S.value,c.value,e.class],style:[u.value,f.value,m.value,e.style],role:"alert"},{default:()=>{var x,N;return[xo(!1,"v-alert"),e.border&&p("div",{key:"border",class:["v-alert__border",R.value],style:k.value},null),L&&p("div",{key:"prepend",class:"v-alert__prepend"},[i.prepend?p(ct,{key:"prepend-defaults",disabled:!o.value,defaults:{VIcon:{density:e.density,icon:o.value,size:e.prominent?44:28}}},i.prepend):p(Qe,{key:"prepend-icon",density:e.density,icon:o.value,size:e.prominent?44:28},null)]),p("div",{class:"v-alert__content"},[T&&p(rv,{key:"title"},{default:()=>{var $;return[(($=i.title)==null?void 0:$.call(i))??e.title]}}),((x=i.text)==null?void 0:x.call(i))??e.text,(N=i.default)==null?void 0:N.call(i)]),i.append&&p("div",{key:"append",class:"v-alert__append"},[i.append()]),E&&p("div",{key:"close",class:"v-alert__close"},[i.close?p(ct,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var $;return[($=i.close)==null?void 0:$.call(i,{props:P.value})]}}):p(je,Pe({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},P.value),null)])]}})}}}),_I=Ee("i",{class:"fas fa-stopwatch mr-1"},null,-1),kI=Ee("i",{class:"fas fa-check"},null,-1),TI=Ee("i",{class:"fas fa-stopwatch mr-1"},null,-1);function EI(e,t,n,i,r,o){const a=Pt("IngredientsTable");return de(),Me(An,null,{default:q(()=>{var s;return[p(Uo,null,{default:q(()=>[p(Ei,null,{default:q(()=>[p(yn,null,{default:q(()=>[Ve(Fe(e.step.name),1)]),_:1}),p(yn,{class:"text-right"},{default:q(()=>[p(Na,{density:"compact",variant:"tonal"},{default:q(()=>[e.step.time>0?(de(),Me(je,{key:0,size:"small",color:"info",onClick:t[0]||(t[0]=l=>e.startTimer(e.step.time))},{default:q(()=>[_I,Ve(" "+Fe(e.step.time),1)]),_:1})):kt("",!0),p(je,{size:"small",color:"success"},{default:q(()=>[kI]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e.timer_end!=null?(de(),Me(RI,{key:0,color:e.timer_color,closable:"","onClick:close":t[1]||(t[1]=l=>e.timer_end=null)},{default:q(()=>[p(rv,null,{default:q(()=>[TI,Ve(" "+Fe(e.remaining_time),1)]),_:1}),Ve(" Finished at "+Fe(e.finished_at),1)]),_:1},8,["color"])):kt("",!0),p(a,{ingredients:e.step.ingredients},null,8,["ingredients"]),((s=e.step.instruction)==null?void 0:s.length)>0?(de(),Me(ri,{key:1},{default:q(()=>[Ve(Fe(e.step.instruction),1)]),_:1})):kt("",!0)]}),_:1})}const II=Ct(bI,[["render",EI]]),xI=pt({name:"RecipeActivity",props:{recipe:{type:Object,required:!0}},data(){return{cook_logs:[]}},mounted(){new us().listCookLogs({recipe:this.recipe.id}).then(t=>{this.cook_logs=t.results})}}),AI=J({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...Ce(),...$t(),...He(),...it()},"VTimeline"),OI=oe()({name:"VTimeline",props:AI(),setup(e,t){let{slots:n}=t;const{themeClasses:i}=lt(e),{densityClasses:r}=fn(e),{rtlClasses:o}=_n();Cn({VTimelineDivider:{lineColor:ve(e,"lineColor")},VTimelineItem:{density:ve(e,"density"),lineInset:ve(e,"lineInset")}});const a=C(()=>{const l=e.side?e.side:e.density!=="default"?"end":null;return l&&`v-timeline--side-${l}`}),s=C(()=>{const l=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return l;case"start":return l[0];case"end":return l[1];default:return null}});return pe(()=>p(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,s.value,{"v-timeline--inset-line":!!e.lineInset},i.value,r.value,a.value,o.value,e.class],style:[{"--v-timeline-line-thickness":le(e.lineThickness)},e.style]},n)),{}}}),LI=J({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:qe,iconColor:String,lineColor:String,...Ce(),...Et(),...oi(),...Rn()},"VTimelineDivider"),PI=oe()({name:"VTimelineDivider",props:LI(),setup(e,t){let{slots:n}=t;const{sizeClasses:i,sizeStyles:r}=mr(e,"v-timeline-divider__dot"),{backgroundColorStyles:o,backgroundColorClasses:a}=Qt(ve(e,"dotColor")),{roundedClasses:s}=Bt(e,"v-timeline-divider__dot"),{elevationClasses:l}=Mn(e),{backgroundColorClasses:u,backgroundColorStyles:c}=Qt(ve(e,"lineColor"));return pe(()=>p("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[p("div",{class:["v-timeline-divider__before",u.value],style:c.value},null),!e.hideDot&&p("div",{key:"dot",class:["v-timeline-divider__dot",l.value,s.value,i.value],style:r.value},[p("div",{class:["v-timeline-divider__inner-dot",a.value,s.value],style:o.value},[n.default?p(ct,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):p(Qe,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),p("div",{class:["v-timeline-divider__after",u.value],style:c.value},null)])),{}}}),UI=J({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:qe,iconColor:String,lineInset:[Number,String],...Ce(),...Li(),...Rn(),...Et(),...oi(),...He()},"VTimelineItem"),FI=oe()({name:"VTimelineItem",props:UI(),setup(e,t){let{slots:n}=t;const{dimensionStyles:i}=Pi(e),r=be(0),o=Se();return we(o,a=>{var s;a&&(r.value=((s=a.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:s.getBoundingClientRect().width)??0)},{flush:"post"}),pe(()=>{var a,s;return p("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":le(r.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${le(e.lineInset)})`:le(0)},e.style]},[p("div",{class:"v-timeline-item__body",style:i.value},[(a=n.default)==null?void 0:a.call(n)]),p(PI,{ref:o,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),e.density!=="compact"&&p("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((s=n.opposite)==null?void 0:s.call(n))])])}),{}}}),DI=Ee("h2",null,"Activity",-1),NI={key:0};function BI(e,t,n,i,r,o){return de(),Me(Fo,null,{default:q(()=>[p(Ei,null,{default:q(()=>[p(yn,null,{default:q(()=>[DI,p(OI,{side:"end",align:"start"},{default:q(()=>[(de(!0),at(_e,null,Oi(e.cook_logs,a=>(de(),Me(FI,{"dot-color":"grey",size:"xsmall",key:a.id},{default:q(()=>[p(An,null,{default:q(()=>[p(ri,{class:"bg-primary"},{default:q(()=>[Ee("small",null,Fe(a.createdAt)+" by "+Fe(a.createdBy.displayName),1)]),_:2},1024),p(zu,{density:"compact",size:"small",color:"tandoor",modelValue:a.rating,"onUpdate:modelValue":s=>a.rating=s},null,8,["modelValue","onUpdate:modelValue"]),a.servings!=null&&a.servings>0?(de(),at("span",NI,Fe(a.servings)+" "+Fe(e.recipe.servingsText),1)):kt("",!0),Ee("p",null,Fe(a.comment),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}const $I=Ct(xI,[["render",BI]]),MI=pt({name:"RecipeView",components:{RecipeActivity:$I,Step:II,StepsOverview:b1,IngredientsTable:Hu,NumberScalerDialog:QT,KeywordsBar:qu},computed:{},data(){return{}},props:{recipe:{type:Object,required:!0}},mounted(){},methods:{}}),VI=Ee("i",{class:"fas fa-cogs"},null,-1),qI=Ee("br",null,null,-1),zI=Ee("i",{class:"fas fa-hourglass-half"},null,-1),HI=Ee("div",{class:"text-grey"},"Waiting Time",-1),WI=Ee("i",{class:"fas fa-calendar-alt"},null,-1),JI=Ee("br",null,null,-1),GI={class:"text-grey"},KI={key:0},ZI={key:1};function YI(e,t,n,i,r,o){const a=Pt("KeywordsBar"),s=Pt("NumberScalerDialog"),l=Pt("StepsOverview"),u=Pt("Step");return de(),at(_e,null,[p(An,null,{default:q(()=>[p(Uo,null,{default:q(()=>[Ve(Fe(e.recipe.name),1)]),_:1}),p(gr,{"max-height":"25vh",cover:"",lazy:"",src:e.recipe.image},{default:q(()=>{var c;return[p(a,{keywords:(c=e.recipe)==null?void 0:c.keywords},null,8,["keywords"]),p(tg,{size:"small",color:"primary",label:""},{default:q(()=>[p(Qe,{icon:"fas fa-calendar",class:"mr-2"}),Ve(" "+Fe(e.recipe.lastCooked),1)]),_:1}),p(zu,{modelValue:e.recipe.rating,"onUpdate:modelValue":t[0]||(t[0]=d=>e.recipe.rating=d),color:"tandoor"},null,8,["modelValue"])]}),_:1},8,["src"]),p(Fo,null,{default:q(()=>[p(Ei,{class:"text-center text-body-2"},{default:q(()=>[p(yn,{class:"pt-1 pb-1"},{default:q(()=>[VI,Ve(" "+Fe(e.recipe.workingTime)+" min",1),qI,p(Tm,null,{default:q(()=>[Ve("Working Time")]),_:1})]),_:1}),p(yn,{class:"pt-1 pb-1"},{default:q(()=>[Ee("div",null,[zI,Ve(" "+Fe(e.recipe.waitingTime)+" min",1)]),HI]),_:1}),p(yn,{class:"pt-1 pb-1"},{default:q(()=>[p(s,{number:e.recipe.servings,onChange:t[1]||(t[1]=c=>e.recipe.servings=c.number),title:"Servings"},{activator:q(()=>{var c;return[WI,Ve(" "+Fe(e.recipe.servings)+" ",1),JI,Ee("div",GI,[(c=e.recipe)!=null&&c.servingsText?(de(),at("span",KI,Fe(e.recipe.servingsText),1)):(de(),at("span",ZI,"Servings"))])]}),_:1},8,["number"])]),_:1})]),_:1})]),_:1})]),_:1}),p(An,{class:"mt-1"},{default:q(()=>[p(l,{steps:e.recipe.steps},null,8,["steps"])]),_:1}),(de(!0),at(_e,null,Oi(e.recipe.steps,c=>(de(),Me(An,{class:"mt-1",key:c.id},{default:q(()=>[p(u,{step:c},null,8,["step"])]),_:2},1024))),128))],64)}const XI=Ct(MI,[["render",YI]]),QI=pt({name:"RecipeSearchPage",components:{RecipeView:XI},watch:{id:function(e){this.refreshData(e)}},props:{id:{type:String,required:!0}},data(){return{recipe:{}}},mounted(){this.refreshData(this.id)},methods:{refreshData(e){new us().apiRecipeRetrieve({id:Number(e)}).then(n=>{this.recipe=n})}}});function jI(e,t,n,i,r,o){const a=Pt("RecipeView");return de(),Me(a,{recipe:e.recipe},null,8,["recipe"])}const ep=Ct(QI,[["render",jI]]),ex={install:e=>{e.config.globalProperties.$luxon=fe}},tx=[{path:"/",redirect:"/search",name:"index"},{path:"/search",component:WT,name:"view_search"},{path:"/shopping",component:Ks,name:"view_shopping"},{path:"/mealplan",component:Ks,name:"view_mealplan"},{path:"/books",component:Ks,name:"view_books"},{path:"/recipe/:id",component:ep,name:"view_recipe",props:!0},{path:"/recipe/edit/:id",component:ep,name:"edit_recipe",props:!0}],nx=U0({history:Yw(),routes:tx}),Mo=xw(xk);Mo.use(B0());Mo.use(wT);Mo.use(nx);Mo.use(ex);Mo.mount("#app");
|